From 4c1235d384289ed54e096bb5a70c3d49b907041f Mon Sep 17 00:00:00 2001
From: David Catalan <40354404+catalan-adobe@users.noreply.github.com>
Date: Tue, 9 Jul 2024 10:08:36 +0200
Subject: [PATCH] Fix: sync with main branch + adapt section mapping code to
 latest changes (#387)

* fix(deps): update dependency @adobe/helix-importer to v3.4.3 (#368)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(release): 1.51.19 [skip ci]

## [1.51.19](https://github.com/adobe/helix-importer-ui/compare/v1.51.18...v1.51.19) (2024-06-07)

### Bug Fixes

* **deps:** update dependency @adobe/helix-importer to v3.4.3 ([#368](https://github.com/adobe/helix-importer-ui/issues/368)) ([c62cd1f](https://github.com/adobe/helix-importer-ui/commit/c62cd1fa0541a7e7a070d3d7d9c40dbaef1f3fc4))

* fix(deps): update dependency @adobe/helix-importer to v3.4.4 (#369)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(release): 1.51.20 [skip ci]

## [1.51.20](https://github.com/adobe/helix-importer-ui/compare/v1.51.19...v1.51.20) (2024-06-07)

### Bug Fixes

* **deps:** update dependency @adobe/helix-importer to v3.4.4 ([#369](https://github.com/adobe/helix-importer-ui/issues/369)) ([2ab0bbd](https://github.com/adobe/helix-importer-ui/commit/2ab0bbd34e557d257501f5d00e1f23293f22309b))

* chore(deps): update external fixes (#370)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update adobe fixes (#371)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(release): 1.51.21 [skip ci]

## [1.51.21](https://github.com/adobe/helix-importer-ui/compare/v1.51.20...v1.51.21) (2024-06-09)

### Bug Fixes

* **deps:** update adobe fixes ([#371](https://github.com/adobe/helix-importer-ui/issues/371)) ([74595c8](https://github.com/adobe/helix-importer-ui/commit/74595c8bf053e1c772779ee84f959fbd9d678fa7))

* fix(deps): update dependency @adobe/helix-importer to v3.4.6 (#372)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(release): 1.51.22 [skip ci]

## [1.51.22](https://github.com/adobe/helix-importer-ui/compare/v1.51.21...v1.51.22) (2024-06-09)

### Bug Fixes

* **deps:** update dependency @adobe/helix-importer to v3.4.6 ([#372](https://github.com/adobe/helix-importer-ui/issues/372)) ([b3f5849](https://github.com/adobe/helix-importer-ui/commit/b3f5849b838efec91e5837c5dc03da3aad64db9d))

* fix(deps): update dependency @adobe/helix-importer to v3.4.7 (#373)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(release): 1.51.23 [skip ci]

## [1.51.23](https://github.com/adobe/helix-importer-ui/compare/v1.51.22...v1.51.23) (2024-06-09)

### Bug Fixes

* **deps:** update dependency @adobe/helix-importer to v3.4.7 ([#373](https://github.com/adobe/helix-importer-ui/issues/373)) ([0edd45b](https://github.com/adobe/helix-importer-ui/commit/0edd45b45ced03a7ea9b93d4563d06aafdbaaf8f))

* chore(deps): update dependency c8 to v10 (#374)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update external fixes (#379)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(release): 1.51.24 [skip ci]

## [1.51.24](https://github.com/adobe/helix-importer-ui/compare/v1.51.23...v1.51.24) (2024-06-15)

### Bug Fixes

* **deps:** update external fixes ([#379](https://github.com/adobe/helix-importer-ui/issues/379)) ([dedbce8](https://github.com/adobe/helix-importer-ui/commit/dedbce82940bfa0ee720a3c17e55144df1660e02))

* fix(deps): update external fixes (#384)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(release): 1.51.25 [skip ci]

## [1.51.25](https://github.com/adobe/helix-importer-ui/compare/v1.51.24...v1.51.25) (2024-06-22)

### Bug Fixes

* **deps:** update external fixes ([#384](https://github.com/adobe/helix-importer-ui/issues/384)) ([c5302c3](https://github.com/adobe/helix-importer-ui/commit/c5302c3fe597655cc38fae64274efd4379869189))

* fix(deps): update dependency @adobe/helix-importer to v3.4.8 (#385)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(release): 1.51.26 [skip ci]

## [1.51.26](https://github.com/adobe/helix-importer-ui/compare/v1.51.25...v1.51.26) (2024-06-22)

### Bug Fixes

* **deps:** update dependency @adobe/helix-importer to v3.4.8 ([#385](https://github.com/adobe/helix-importer-ui/issues/385)) ([dbcef27](https://github.com/adobe/helix-importer-ui/commit/dbcef2764bb246b3df57f9713f0f151e141bea71))

* fix(deps): update dependency @adobe/helix-importer to v3.4.9 (#386)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(release): 1.51.27 [skip ci]

## [1.51.27](https://github.com/adobe/helix-importer-ui/compare/v1.51.26...v1.51.27) (2024-06-23)

### Bug Fixes

* **deps:** update dependency @adobe/helix-importer to v3.4.9 ([#386](https://github.com/adobe/helix-importer-ui/issues/386)) ([9087858](https://github.com/adobe/helix-importer-ui/commit/9087858a5e2f4430ea70cbb2bebb1eb4df8628e1))

* fix: bring latest changes from main

* chore: typo

* fix: adapt to latest changes

* fix: automated download when in demo tool context

* style(fragment-import): minor style adjustments

* fix(fragment-import): better handle saveAs fields in demo tool context

* feat(fragment-import): add support to enable js via query string parameter

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
---
 CHANGELOG.md                                  |   63 +
 css/fragment-mapping/fragment.mapping.css     |    3 +-
 js/dist/helix-importer.js                     |    2 +-
 js/dist/spectrum-web-components.js            |  490 ++---
 js/import/import.ui.js                        |   44 +-
 js/sections-mapping/import/import.utils.js    |   67 +-
 .../import/sections-mapping.import.js         |    8 +-
 js/sections-mapping/sm.ui.js                  |    1 -
 package-lock.json                             | 1592 +++++++++--------
 package.json                                  |   18 +-
 10 files changed, 1255 insertions(+), 1033 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 26481d38..d46ecb80 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,66 @@
+## [1.51.27](https://github.com/adobe/helix-importer-ui/compare/v1.51.26...v1.51.27) (2024-06-23)
+
+
+### Bug Fixes
+
+* **deps:** update dependency @adobe/helix-importer to v3.4.9 ([#386](https://github.com/adobe/helix-importer-ui/issues/386)) ([9087858](https://github.com/adobe/helix-importer-ui/commit/9087858a5e2f4430ea70cbb2bebb1eb4df8628e1))
+
+## [1.51.26](https://github.com/adobe/helix-importer-ui/compare/v1.51.25...v1.51.26) (2024-06-22)
+
+
+### Bug Fixes
+
+* **deps:** update dependency @adobe/helix-importer to v3.4.8 ([#385](https://github.com/adobe/helix-importer-ui/issues/385)) ([dbcef27](https://github.com/adobe/helix-importer-ui/commit/dbcef2764bb246b3df57f9713f0f151e141bea71))
+
+## [1.51.25](https://github.com/adobe/helix-importer-ui/compare/v1.51.24...v1.51.25) (2024-06-22)
+
+
+### Bug Fixes
+
+* **deps:** update external fixes ([#384](https://github.com/adobe/helix-importer-ui/issues/384)) ([c5302c3](https://github.com/adobe/helix-importer-ui/commit/c5302c3fe597655cc38fae64274efd4379869189))
+
+## [1.51.24](https://github.com/adobe/helix-importer-ui/compare/v1.51.23...v1.51.24) (2024-06-15)
+
+
+### Bug Fixes
+
+* **deps:** update external fixes ([#379](https://github.com/adobe/helix-importer-ui/issues/379)) ([dedbce8](https://github.com/adobe/helix-importer-ui/commit/dedbce82940bfa0ee720a3c17e55144df1660e02))
+
+## [1.51.23](https://github.com/adobe/helix-importer-ui/compare/v1.51.22...v1.51.23) (2024-06-09)
+
+
+### Bug Fixes
+
+* **deps:** update dependency @adobe/helix-importer to v3.4.7 ([#373](https://github.com/adobe/helix-importer-ui/issues/373)) ([0edd45b](https://github.com/adobe/helix-importer-ui/commit/0edd45b45ced03a7ea9b93d4563d06aafdbaaf8f))
+
+## [1.51.22](https://github.com/adobe/helix-importer-ui/compare/v1.51.21...v1.51.22) (2024-06-09)
+
+
+### Bug Fixes
+
+* **deps:** update dependency @adobe/helix-importer to v3.4.6 ([#372](https://github.com/adobe/helix-importer-ui/issues/372)) ([b3f5849](https://github.com/adobe/helix-importer-ui/commit/b3f5849b838efec91e5837c5dc03da3aad64db9d))
+
+## [1.51.21](https://github.com/adobe/helix-importer-ui/compare/v1.51.20...v1.51.21) (2024-06-09)
+
+
+### Bug Fixes
+
+* **deps:** update adobe fixes ([#371](https://github.com/adobe/helix-importer-ui/issues/371)) ([74595c8](https://github.com/adobe/helix-importer-ui/commit/74595c8bf053e1c772779ee84f959fbd9d678fa7))
+
+## [1.51.20](https://github.com/adobe/helix-importer-ui/compare/v1.51.19...v1.51.20) (2024-06-07)
+
+
+### Bug Fixes
+
+* **deps:** update dependency @adobe/helix-importer to v3.4.4 ([#369](https://github.com/adobe/helix-importer-ui/issues/369)) ([2ab0bbd](https://github.com/adobe/helix-importer-ui/commit/2ab0bbd34e557d257501f5d00e1f23293f22309b))
+
+## [1.51.19](https://github.com/adobe/helix-importer-ui/compare/v1.51.18...v1.51.19) (2024-06-07)
+
+
+### Bug Fixes
+
+* **deps:** update dependency @adobe/helix-importer to v3.4.3 ([#368](https://github.com/adobe/helix-importer-ui/issues/368)) ([c62cd1f](https://github.com/adobe/helix-importer-ui/commit/c62cd1fa0541a7e7a070d3d7d9c40dbaef1f3fc4))
+
 ## [1.51.18](https://github.com/adobe/helix-importer-ui/compare/v1.51.17...v1.51.18) (2024-06-05)
 
 
diff --git a/css/fragment-mapping/fragment.mapping.css b/css/fragment-mapping/fragment.mapping.css
index d69a76c6..c2764fe4 100644
--- a/css/fragment-mapping/fragment.mapping.css
+++ b/css/fragment-mapping/fragment.mapping.css
@@ -4,7 +4,6 @@
 /* Fragment-mapping styles */
 .import-fragments #mapping-editor {
   margin-top: 2rem;
-  height: calc(100vh - 232px);
 
   & h2, h3 {
     /* font-family: monospace; */
@@ -54,7 +53,7 @@
     & .sm-fragment {
       padding: 1rem;
       border-left: 25px solid var(--spectrum-global-color-gray-100);
-      border-top: 2px solid var(--spectrum-global-color-static-transparent-white-400);
+      border-top: 2px solid var(--spectrum-global-color-gray-100);
 
       & .sm-fragment-content {
         display: flex;
diff --git a/js/dist/helix-importer.js b/js/dist/helix-importer.js
index 636c6a87..7bed5633 100644
--- a/js/dist/helix-importer.js
+++ b/js/dist/helix-importer.js
@@ -1,2 +1,2 @@
 /*! For license information please see helix-importer.js.LICENSE.txt */
-!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.WebImporter=e():t.WebImporter=e()}(globalThis,(()=>(()=>{var t={7568:(t,e,n)=>{"use strict";const r=e;r.bignum=n(2344),r.define=n(7363).define,r.base=n(9673),r.constants=n(2153),r.decoders=n(2853),r.encoders=n(4669)},7363:(t,e,n)=>{"use strict";const r=n(4669),i=n(2853),o=n(6698);function a(t,e){this.name=t,this.body=e,this.decoders={},this.encoders={}}e.define=function(t,e){return new a(t,e)},a.prototype._createNamed=function(t){const e=this.name;function n(t){this._initNamed(t,e)}return o(n,t),n.prototype._initNamed=function(e,n){t.call(this,e,n)},new n(this)},a.prototype._getDecoder=function(t){return t=t||"der",this.decoders.hasOwnProperty(t)||(this.decoders[t]=this._createNamed(i[t])),this.decoders[t]},a.prototype.decode=function(t,e,n){return this._getDecoder(e).decode(t,n)},a.prototype._getEncoder=function(t){return t=t||"der",this.encoders.hasOwnProperty(t)||(this.encoders[t]=this._createNamed(r[t])),this.encoders[t]},a.prototype.encode=function(t,e,n){return this._getEncoder(e).encode(t,n)}},7227:(t,e,n)=>{"use strict";const r=n(6698),i=n(9220).a,o=n(4774).Buffer;function a(t,e){i.call(this,e),o.isBuffer(t)?(this.base=t,this.offset=0,this.length=t.length):this.error("Input not Buffer")}function s(t,e){if(Array.isArray(t))this.length=0,this.value=t.map((function(t){return s.isEncoderBuffer(t)||(t=new s(t,e)),this.length+=t.length,t}),this);else if("number"==typeof t){if(!(0<=t&&t<=255))return e.error("non-byte EncoderBuffer value");this.value=t,this.length=1}else if("string"==typeof t)this.value=t,this.length=o.byteLength(t);else{if(!o.isBuffer(t))return e.error("Unsupported type: "+typeof t);this.value=t,this.length=t.length}}r(a,i),e.t=a,a.isDecoderBuffer=function(t){return t instanceof a||"object"==typeof t&&o.isBuffer(t.base)&&"DecoderBuffer"===t.constructor.name&&"number"==typeof t.offset&&"number"==typeof t.length&&"function"==typeof t.save&&"function"==typeof t.restore&&"function"==typeof t.isEmpty&&"function"==typeof t.readUInt8&&"function"==typeof t.skip&&"function"==typeof t.raw},a.prototype.save=function(){return{offset:this.offset,reporter:i.prototype.save.call(this)}},a.prototype.restore=function(t){const e=new a(this.base);return e.offset=t.offset,e.length=this.offset,this.offset=t.offset,i.prototype.restore.call(this,t.reporter),e},a.prototype.isEmpty=function(){return this.offset===this.length},a.prototype.readUInt8=function(t){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(t||"DecoderBuffer overrun")},a.prototype.skip=function(t,e){if(!(this.offset+t<=this.length))return this.error(e||"DecoderBuffer overrun");const n=new a(this.base);return n._reporterState=this._reporterState,n.offset=this.offset,n.length=this.offset+t,this.offset+=t,n},a.prototype.raw=function(t){return this.base.slice(t?t.offset:this.offset,this.length)},e.d=s,s.isEncoderBuffer=function(t){return t instanceof s||"object"==typeof t&&"EncoderBuffer"===t.constructor.name&&"number"==typeof t.length&&"function"==typeof t.join},s.prototype.join=function(t,e){return t||(t=o.alloc(this.length)),e||(e=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(n){n.join(t,e),e+=n.length})):("number"==typeof this.value?t[e]=this.value:"string"==typeof this.value?t.write(this.value,e):o.isBuffer(this.value)&&this.value.copy(t,e),e+=this.length)),t}},9673:(t,e,n)=>{"use strict";const r=e;r.Reporter=n(9220).a,r.DecoderBuffer=n(7227).t,r.EncoderBuffer=n(7227).d,r.Node=n(993)},993:(t,e,n)=>{"use strict";const r=n(9220).a,i=n(7227).d,o=n(7227).t,a=n(3349),s=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],l=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(s);function c(t,e,n){const r={};this._baseState=r,r.name=n,r.enc=t,r.parent=e||null,r.children=null,r.tag=null,r.args=null,r.reverseArgs=null,r.choice=null,r.optional=!1,r.any=!1,r.obj=!1,r.use=null,r.useDecoder=null,r.key=null,r.default=null,r.explicit=null,r.implicit=null,r.contains=null,r.parent||(r.children=[],this._wrap())}t.exports=c;const u=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];c.prototype.clone=function(){const t=this._baseState,e={};u.forEach((function(n){e[n]=t[n]}));const n=new this.constructor(e.parent);return n._baseState=e,n},c.prototype._wrap=function(){const t=this._baseState;l.forEach((function(e){this[e]=function(){const n=new this.constructor(this);return t.children.push(n),n[e].apply(n,arguments)}}),this)},c.prototype._init=function(t){const e=this._baseState;a(null===e.parent),t.call(this),e.children=e.children.filter((function(t){return t._baseState.parent===this}),this),a.equal(e.children.length,1,"Root node can have only one child")},c.prototype._useArgs=function(t){const e=this._baseState,n=t.filter((function(t){return t instanceof this.constructor}),this);t=t.filter((function(t){return!(t instanceof this.constructor)}),this),0!==n.length&&(a(null===e.children),e.children=n,n.forEach((function(t){t._baseState.parent=this}),this)),0!==t.length&&(a(null===e.args),e.args=t,e.reverseArgs=t.map((function(t){if("object"!=typeof t||t.constructor!==Object)return t;const e={};return Object.keys(t).forEach((function(n){n==(0|n)&&(n|=0);const r=t[n];e[r]=n})),e})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(t){c.prototype[t]=function(){const e=this._baseState;throw new Error(t+" not implemented for encoding: "+e.enc)}})),s.forEach((function(t){c.prototype[t]=function(){const e=this._baseState,n=Array.prototype.slice.call(arguments);return a(null===e.tag),e.tag=t,this._useArgs(n),this}})),c.prototype.use=function(t){a(t);const e=this._baseState;return a(null===e.use),e.use=t,this},c.prototype.optional=function(){return this._baseState.optional=!0,this},c.prototype.def=function(t){const e=this._baseState;return a(null===e.default),e.default=t,e.optional=!0,this},c.prototype.explicit=function(t){const e=this._baseState;return a(null===e.explicit&&null===e.implicit),e.explicit=t,this},c.prototype.implicit=function(t){const e=this._baseState;return a(null===e.explicit&&null===e.implicit),e.implicit=t,this},c.prototype.obj=function(){const t=this._baseState,e=Array.prototype.slice.call(arguments);return t.obj=!0,0!==e.length&&this._useArgs(e),this},c.prototype.key=function(t){const e=this._baseState;return a(null===e.key),e.key=t,this},c.prototype.any=function(){return this._baseState.any=!0,this},c.prototype.choice=function(t){const e=this._baseState;return a(null===e.choice),e.choice=t,this._useArgs(Object.keys(t).map((function(e){return t[e]}))),this},c.prototype.contains=function(t){const e=this._baseState;return a(null===e.use),e.contains=t,this},c.prototype._decode=function(t,e){const n=this._baseState;if(null===n.parent)return t.wrapResult(n.children[0]._decode(t,e));let r,i=n.default,a=!0,s=null;if(null!==n.key&&(s=t.enterKey(n.key)),n.optional){let r=null;if(null!==n.explicit?r=n.explicit:null!==n.implicit?r=n.implicit:null!==n.tag&&(r=n.tag),null!==r||n.any){if(a=this._peekTag(t,r,n.any),t.isError(a))return a}else{const r=t.save();try{null===n.choice?this._decodeGeneric(n.tag,t,e):this._decodeChoice(t,e),a=!0}catch(t){a=!1}t.restore(r)}}if(n.obj&&a&&(r=t.enterObject()),a){if(null!==n.explicit){const e=this._decodeTag(t,n.explicit);if(t.isError(e))return e;t=e}const r=t.offset;if(null===n.use&&null===n.choice){let e;n.any&&(e=t.save());const r=this._decodeTag(t,null!==n.implicit?n.implicit:n.tag,n.any);if(t.isError(r))return r;n.any?i=t.raw(e):t=r}if(e&&e.track&&null!==n.tag&&e.track(t.path(),r,t.length,"tagged"),e&&e.track&&null!==n.tag&&e.track(t.path(),t.offset,t.length,"content"),n.any||(i=null===n.choice?this._decodeGeneric(n.tag,t,e):this._decodeChoice(t,e)),t.isError(i))return i;if(n.any||null!==n.choice||null===n.children||n.children.forEach((function(n){n._decode(t,e)})),n.contains&&("octstr"===n.tag||"bitstr"===n.tag)){const r=new o(i);i=this._getUse(n.contains,t._reporterState.obj)._decode(r,e)}}return n.obj&&a&&(i=t.leaveObject(r)),null===n.key||null===i&&!0!==a?null!==s&&t.exitKey(s):t.leaveKey(s,n.key,i),i},c.prototype._decodeGeneric=function(t,e,n){const r=this._baseState;return"seq"===t||"set"===t?null:"seqof"===t||"setof"===t?this._decodeList(e,t,r.args[0],n):/str$/.test(t)?this._decodeStr(e,t,n):"objid"===t&&r.args?this._decodeObjid(e,r.args[0],r.args[1],n):"objid"===t?this._decodeObjid(e,null,null,n):"gentime"===t||"utctime"===t?this._decodeTime(e,t,n):"null_"===t?this._decodeNull(e,n):"bool"===t?this._decodeBool(e,n):"objDesc"===t?this._decodeStr(e,t,n):"int"===t||"enum"===t?this._decodeInt(e,r.args&&r.args[0],n):null!==r.use?this._getUse(r.use,e._reporterState.obj)._decode(e,n):e.error("unknown tag: "+t)},c.prototype._getUse=function(t,e){const n=this._baseState;return n.useDecoder=this._use(t,e),a(null===n.useDecoder._baseState.parent),n.useDecoder=n.useDecoder._baseState.children[0],n.implicit!==n.useDecoder._baseState.implicit&&(n.useDecoder=n.useDecoder.clone(),n.useDecoder._baseState.implicit=n.implicit),n.useDecoder},c.prototype._decodeChoice=function(t,e){const n=this._baseState;let r=null,i=!1;return Object.keys(n.choice).some((function(o){const a=t.save(),s=n.choice[o];try{const n=s._decode(t,e);if(t.isError(n))return!1;r={type:o,value:n},i=!0}catch(e){return t.restore(a),!1}return!0}),this),i?r:t.error("Choice not matched")},c.prototype._createEncoderBuffer=function(t){return new i(t,this.reporter)},c.prototype._encode=function(t,e,n){const r=this._baseState;if(null!==r.default&&r.default===t)return;const i=this._encodeValue(t,e,n);return void 0===i||this._skipDefault(i,e,n)?void 0:i},c.prototype._encodeValue=function(t,e,n){const i=this._baseState;if(null===i.parent)return i.children[0]._encode(t,e||new r);let o=null;if(this.reporter=e,i.optional&&void 0===t){if(null===i.default)return;t=i.default}let a=null,s=!1;if(i.any)o=this._createEncoderBuffer(t);else if(i.choice)o=this._encodeChoice(t,e);else if(i.contains)a=this._getUse(i.contains,n)._encode(t,e),s=!0;else if(i.children)a=i.children.map((function(n){if("null_"===n._baseState.tag)return n._encode(null,e,t);if(null===n._baseState.key)return e.error("Child should have a key");const r=e.enterKey(n._baseState.key);if("object"!=typeof t)return e.error("Child expected, but input is not object");const i=n._encode(t[n._baseState.key],e,t);return e.leaveKey(r),i}),this).filter((function(t){return t})),a=this._createEncoderBuffer(a);else if("seqof"===i.tag||"setof"===i.tag){if(!i.args||1!==i.args.length)return e.error("Too many args for : "+i.tag);if(!Array.isArray(t))return e.error("seqof/setof, but data is not Array");const n=this.clone();n._baseState.implicit=null,a=this._createEncoderBuffer(t.map((function(n){const r=this._baseState;return this._getUse(r.args[0],t)._encode(n,e)}),n))}else null!==i.use?o=this._getUse(i.use,n)._encode(t,e):(a=this._encodePrimitive(i.tag,t),s=!0);if(!i.any&&null===i.choice){const t=null!==i.implicit?i.implicit:i.tag,n=null===i.implicit?"universal":"context";null===t?null===i.use&&e.error("Tag could be omitted only for .use()"):null===i.use&&(o=this._encodeComposite(t,s,n,a))}return null!==i.explicit&&(o=this._encodeComposite(i.explicit,!1,"context",o)),o},c.prototype._encodeChoice=function(t,e){const n=this._baseState,r=n.choice[t.type];return r||a(!1,t.type+" not found in "+JSON.stringify(Object.keys(n.choice))),r._encode(t.value,e)},c.prototype._encodePrimitive=function(t,e){const n=this._baseState;if(/str$/.test(t))return this._encodeStr(e,t);if("objid"===t&&n.args)return this._encodeObjid(e,n.reverseArgs[0],n.args[1]);if("objid"===t)return this._encodeObjid(e,null,null);if("gentime"===t||"utctime"===t)return this._encodeTime(e,t);if("null_"===t)return this._encodeNull();if("int"===t||"enum"===t)return this._encodeInt(e,n.args&&n.reverseArgs[0]);if("bool"===t)return this._encodeBool(e);if("objDesc"===t)return this._encodeStr(e,t);throw new Error("Unsupported tag: "+t)},c.prototype._isNumstr=function(t){return/^[0-9 ]*$/.test(t)},c.prototype._isPrintstr=function(t){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(t)}},9220:(t,e,n)=>{"use strict";const r=n(6698);function i(t){this._reporterState={obj:null,path:[],options:t||{},errors:[]}}function o(t,e){this.path=t,this.rethrow(e)}e.a=i,i.prototype.isError=function(t){return t instanceof o},i.prototype.save=function(){const t=this._reporterState;return{obj:t.obj,pathLen:t.path.length}},i.prototype.restore=function(t){const e=this._reporterState;e.obj=t.obj,e.path=e.path.slice(0,t.pathLen)},i.prototype.enterKey=function(t){return this._reporterState.path.push(t)},i.prototype.exitKey=function(t){const e=this._reporterState;e.path=e.path.slice(0,t-1)},i.prototype.leaveKey=function(t,e,n){const r=this._reporterState;this.exitKey(t),null!==r.obj&&(r.obj[e]=n)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){const t=this._reporterState,e=t.obj;return t.obj={},e},i.prototype.leaveObject=function(t){const e=this._reporterState,n=e.obj;return e.obj=t,n},i.prototype.error=function(t){let e;const n=this._reporterState,r=t instanceof o;if(e=r?t:new o(n.path.map((function(t){return"["+JSON.stringify(t)+"]"})).join(""),t.message||t,t.stack),!n.options.partial)throw e;return r||n.errors.push(e),e},i.prototype.wrapResult=function(t){const e=this._reporterState;return e.options.partial?{result:this.isError(t)?null:t,errors:e.errors}:t},r(o,Error),o.prototype.rethrow=function(t){if(this.message=t+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,o),!this.stack)try{throw new Error(this.message)}catch(t){this.stack=t.stack}return this}},4598:(t,e)=>{"use strict";function n(t){const e={};return Object.keys(t).forEach((function(n){(0|n)==n&&(n|=0);const r=t[n];e[r]=n})),e}e.tagClass={0:"universal",1:"application",2:"context",3:"private"},e.tagClassByName=n(e.tagClass),e.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},e.tagByName=n(e.tag)},2153:(t,e,n)=>{"use strict";const r=e;r._reverse=function(t){const e={};return Object.keys(t).forEach((function(n){(0|n)==n&&(n|=0);const r=t[n];e[r]=n})),e},r.der=n(4598)},2010:(t,e,n)=>{"use strict";const r=n(6698),i=n(2344),o=n(7227).t,a=n(993),s=n(4598);function l(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new c,this.tree._init(t.body)}function c(t){a.call(this,"der",t)}function u(t,e){let n=t.readUInt8(e);if(t.isError(n))return n;const r=s.tagClass[n>>6],i=0==(32&n);if(31==(31&n)){let r=n;for(n=0;128==(128&r);){if(r=t.readUInt8(e),t.isError(r))return r;n<<=7,n|=127&r}}else n&=31;return{cls:r,primitive:i,tag:n,tagStr:s.tag[n]}}function h(t,e,n){let r=t.readUInt8(n);if(t.isError(r))return r;if(!e&&128===r)return null;if(0==(128&r))return r;const i=127&r;if(i>4)return t.error("length octect is too long");r=0;for(let e=0;e<i;e++){r<<=8;const e=t.readUInt8(n);if(t.isError(e))return e;r|=e}return r}t.exports=l,l.prototype.decode=function(t,e){return o.isDecoderBuffer(t)||(t=new o(t,e)),this.tree._decode(t,e)},r(c,a),c.prototype._peekTag=function(t,e,n){if(t.isEmpty())return!1;const r=t.save(),i=u(t,'Failed to peek tag: "'+e+'"');return t.isError(i)?i:(t.restore(r),i.tag===e||i.tagStr===e||i.tagStr+"of"===e||n)},c.prototype._decodeTag=function(t,e,n){const r=u(t,'Failed to decode tag of "'+e+'"');if(t.isError(r))return r;let i=h(t,r.primitive,'Failed to get length of "'+e+'"');if(t.isError(i))return i;if(!n&&r.tag!==e&&r.tagStr!==e&&r.tagStr+"of"!==e)return t.error('Failed to match tag: "'+e+'"');if(r.primitive||null!==i)return t.skip(i,'Failed to match body of: "'+e+'"');const o=t.save(),a=this._skipUntilEnd(t,'Failed to skip indefinite length body: "'+this.tag+'"');return t.isError(a)?a:(i=t.offset-o.offset,t.restore(o),t.skip(i,'Failed to match body of: "'+e+'"'))},c.prototype._skipUntilEnd=function(t,e){for(;;){const n=u(t,e);if(t.isError(n))return n;const r=h(t,n.primitive,e);if(t.isError(r))return r;let i;if(i=n.primitive||null!==r?t.skip(r):this._skipUntilEnd(t,e),t.isError(i))return i;if("end"===n.tagStr)break}},c.prototype._decodeList=function(t,e,n,r){const i=[];for(;!t.isEmpty();){const e=this._peekTag(t,"end");if(t.isError(e))return e;const o=n.decode(t,"der",r);if(t.isError(o)&&e)break;i.push(o)}return i},c.prototype._decodeStr=function(t,e){if("bitstr"===e){const e=t.readUInt8();return t.isError(e)?e:{unused:e,data:t.raw()}}if("bmpstr"===e){const e=t.raw();if(e.length%2==1)return t.error("Decoding of string type: bmpstr length mismatch");let n="";for(let t=0;t<e.length/2;t++)n+=String.fromCharCode(e.readUInt16BE(2*t));return n}if("numstr"===e){const e=t.raw().toString("ascii");return this._isNumstr(e)?e:t.error("Decoding of string type: numstr unsupported characters")}if("octstr"===e)return t.raw();if("objDesc"===e)return t.raw();if("printstr"===e){const e=t.raw().toString("ascii");return this._isPrintstr(e)?e:t.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(e)?t.raw().toString():t.error("Decoding of string type: "+e+" unsupported")},c.prototype._decodeObjid=function(t,e,n){let r;const i=[];let o=0,a=0;for(;!t.isEmpty();)a=t.readUInt8(),o<<=7,o|=127&a,0==(128&a)&&(i.push(o),o=0);128&a&&i.push(o);const s=i[0]/40|0,l=i[0]%40;if(r=n?i:[s,l].concat(i.slice(1)),e){let t=e[r.join(" ")];void 0===t&&(t=e[r.join(".")]),void 0!==t&&(r=t)}return r},c.prototype._decodeTime=function(t,e){const n=t.raw().toString();let r,i,o,a,s,l;if("gentime"===e)r=0|n.slice(0,4),i=0|n.slice(4,6),o=0|n.slice(6,8),a=0|n.slice(8,10),s=0|n.slice(10,12),l=0|n.slice(12,14);else{if("utctime"!==e)return t.error("Decoding "+e+" time is not supported yet");r=0|n.slice(0,2),i=0|n.slice(2,4),o=0|n.slice(4,6),a=0|n.slice(6,8),s=0|n.slice(8,10),l=0|n.slice(10,12),r=r<70?2e3+r:1900+r}return Date.UTC(r,i-1,o,a,s,l,0)},c.prototype._decodeNull=function(){return null},c.prototype._decodeBool=function(t){const e=t.readUInt8();return t.isError(e)?e:0!==e},c.prototype._decodeInt=function(t,e){const n=t.raw();let r=new i(n);return e&&(r=e[r.toString(10)]||r),r},c.prototype._use=function(t,e){return"function"==typeof t&&(t=t(e)),t._getDecoder("der").tree}},2853:(t,e,n)=>{"use strict";const r=e;r.der=n(2010),r.pem=n(8903)},8903:(t,e,n)=>{"use strict";const r=n(6698),i=n(4774).Buffer,o=n(2010);function a(t){o.call(this,t),this.enc="pem"}r(a,o),t.exports=a,a.prototype.decode=function(t,e){const n=t.toString().split(/[\r\n]+/g),r=e.label.toUpperCase(),a=/^-----(BEGIN|END) ([^-]+)-----$/;let s=-1,l=-1;for(let t=0;t<n.length;t++){const e=n[t].match(a);if(null!==e&&e[2]===r){if(-1!==s){if("END"!==e[1])break;l=t;break}if("BEGIN"!==e[1])break;s=t}}if(-1===s||-1===l)throw new Error("PEM section not found for: "+r);const c=n.slice(s+1,l).join("");c.replace(/[^a-z0-9+/=]+/gi,"");const u=i.from(c,"base64");return o.prototype.decode.call(this,u,e)}},82:(t,e,n)=>{"use strict";const r=n(6698),i=n(4774).Buffer,o=n(993),a=n(4598);function s(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new l,this.tree._init(t.body)}function l(t){o.call(this,"der",t)}function c(t){return t<10?"0"+t:t}t.exports=s,s.prototype.encode=function(t,e){return this.tree._encode(t,e).join()},r(l,o),l.prototype._encodeComposite=function(t,e,n,r){const o=function(t,e,n,r){let i;if("seqof"===t?t="seq":"setof"===t&&(t="set"),a.tagByName.hasOwnProperty(t))i=a.tagByName[t];else{if("number"!=typeof t||(0|t)!==t)return r.error("Unknown tag: "+t);i=t}return i>=31?r.error("Multi-octet tag encoding unsupported"):(e||(i|=32),i|=a.tagClassByName[n||"universal"]<<6,i)}(t,e,n,this.reporter);if(r.length<128){const t=i.alloc(2);return t[0]=o,t[1]=r.length,this._createEncoderBuffer([t,r])}let s=1;for(let t=r.length;t>=256;t>>=8)s++;const l=i.alloc(2+s);l[0]=o,l[1]=128|s;for(let t=1+s,e=r.length;e>0;t--,e>>=8)l[t]=255&e;return this._createEncoderBuffer([l,r])},l.prototype._encodeStr=function(t,e){if("bitstr"===e)return this._createEncoderBuffer([0|t.unused,t.data]);if("bmpstr"===e){const e=i.alloc(2*t.length);for(let n=0;n<t.length;n++)e.writeUInt16BE(t.charCodeAt(n),2*n);return this._createEncoderBuffer(e)}return"numstr"===e?this._isNumstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===e?this._isPrintstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(e)||"objDesc"===e?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: "+e+" unsupported")},l.prototype._encodeObjid=function(t,e,n){if("string"==typeof t){if(!e)return this.reporter.error("string objid given, but no values map found");if(!e.hasOwnProperty(t))return this.reporter.error("objid not found in values map");t=e[t].split(/[\s.]+/g);for(let e=0;e<t.length;e++)t[e]|=0}else if(Array.isArray(t)){t=t.slice();for(let e=0;e<t.length;e++)t[e]|=0}if(!Array.isArray(t))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(t));if(!n){if(t[1]>=40)return this.reporter.error("Second objid identifier OOB");t.splice(0,2,40*t[0]+t[1])}let r=0;for(let e=0;e<t.length;e++){let n=t[e];for(r++;n>=128;n>>=7)r++}const o=i.alloc(r);let a=o.length-1;for(let e=t.length-1;e>=0;e--){let n=t[e];for(o[a--]=127&n;(n>>=7)>0;)o[a--]=128|127&n}return this._createEncoderBuffer(o)},l.prototype._encodeTime=function(t,e){let n;const r=new Date(t);return"gentime"===e?n=[c(r.getUTCFullYear()),c(r.getUTCMonth()+1),c(r.getUTCDate()),c(r.getUTCHours()),c(r.getUTCMinutes()),c(r.getUTCSeconds()),"Z"].join(""):"utctime"===e?n=[c(r.getUTCFullYear()%100),c(r.getUTCMonth()+1),c(r.getUTCDate()),c(r.getUTCHours()),c(r.getUTCMinutes()),c(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+e+" time is not supported yet"),this._encodeStr(n,"octstr")},l.prototype._encodeNull=function(){return this._createEncoderBuffer("")},l.prototype._encodeInt=function(t,e){if("string"==typeof t){if(!e)return this.reporter.error("String int or enum given, but no values map");if(!e.hasOwnProperty(t))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(t));t=e[t]}if("number"!=typeof t&&!i.isBuffer(t)){const e=t.toArray();!t.sign&&128&e[0]&&e.unshift(0),t=i.from(e)}if(i.isBuffer(t)){let e=t.length;0===t.length&&e++;const n=i.alloc(e);return t.copy(n),0===t.length&&(n[0]=0),this._createEncoderBuffer(n)}if(t<128)return this._createEncoderBuffer(t);if(t<256)return this._createEncoderBuffer([0,t]);let n=1;for(let e=t;e>=256;e>>=8)n++;const r=new Array(n);for(let e=r.length-1;e>=0;e--)r[e]=255&t,t>>=8;return 128&r[0]&&r.unshift(0),this._createEncoderBuffer(i.from(r))},l.prototype._encodeBool=function(t){return this._createEncoderBuffer(t?255:0)},l.prototype._use=function(t,e){return"function"==typeof t&&(t=t(e)),t._getEncoder("der").tree},l.prototype._skipDefault=function(t,e,n){const r=this._baseState;let i;if(null===r.default)return!1;const o=t.join();if(void 0===r.defaultBuffer&&(r.defaultBuffer=this._encodeValue(r.default,e,n).join()),o.length!==r.defaultBuffer.length)return!1;for(i=0;i<o.length;i++)if(o[i]!==r.defaultBuffer[i])return!1;return!0}},4669:(t,e,n)=>{"use strict";const r=e;r.der=n(82),r.pem=n(735)},735:(t,e,n)=>{"use strict";const r=n(6698),i=n(82);function o(t){i.call(this,t),this.enc="pem"}r(o,i),t.exports=o,o.prototype.encode=function(t,e){const n=i.prototype.encode.call(this,t).toString("base64"),r=["-----BEGIN "+e.label+"-----"];for(let t=0;t<n.length;t+=64)r.push(n.slice(t,t+64));return r.push("-----END "+e.label+"-----"),r.join("\n")}},2344:function(t,e,n){!function(t,e){"use strict";function r(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var a;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:n(8982).Buffer}catch(t){}function s(t,e){var n=t.charCodeAt(e);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function l(t,e,n){var r=s(t,n);return n-1>=e&&(r|=s(t,n-1)<<4),r}function c(t,e,n,r){for(var i=0,o=Math.min(t.length,n),a=e;a<o;a++){var s=t.charCodeAt(a)-48;i*=r,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"==typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,n){if("number"==typeof t)return this._initNumber(t,e,n);if("object"==typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),r(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,n):(this._parseBase(t,e,i),"le"===n&&this._initArray(this.toArray(),e,n)))},o.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(r(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initArray=function(t,e,n){if(r("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===n)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,n){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,o=0,a=0;if("be"===n)for(r=t.length-1;r>=e;r-=2)i=l(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(t.length-e)%2==0?e+1:e;r<t.length;r+=2)i=l(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,u=n;u<s;u+=r)l=c(t,u,u+r,e),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==a){var h=1;for(l=c(t,u,t.length,e),u=0;u<a;u++)h*=e;this.imuln(h),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&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},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var u=["","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"],h=[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],f=[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 d(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,l=a/67108864|0;n.words[0]=s;for(var c=1;c<r;c++){for(var u=l>>>26,h=67108863&l,f=Math.min(c,e.length-1),d=Math.max(0,c-t.length+1);d<=f;d++){var p=c-d|0;u+=(a=(i=0|t.words[p])*(o=0|e.words[d])+h)/67108864|0,h=67108863&a}n.words[c]=0|h,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n.strip()}o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],l=(16777215&(s<<i|o)).toString(16);n=0!=(o=s>>>24-i&16777215)||a!==this.length-1?u[6-l.length]+l+n:l+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.toString(16)+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var c=h[t],d=f[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(d).toString(t);n=(p=p.idivn(d)).isZero()?m+n:u[c-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return r(void 0!==a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,l="le"===e,c=new t(o),u=this.clone();if(l){for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),c[s]=a;for(;s<o;s++)c[s]=0}else{for(s=0;s<o-i;s++)c[s]=0;for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),c[o-s-1]=a}return c},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,n=0;return e>=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var n=this._zeroBits(this.words[e]);if(t+=n,26!==n)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return r(0==(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;n<e.length;n++)this.words[n]=this.words[n]&t.words[n];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return r(0==(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;r<n.length;r++)this.words[r]=e.words[r]^n.words[r];if(this!==e)for(;r<e.length;r++)this.words[r]=e.words[r];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return r(0==(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){r("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"==typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,n,r;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o<r.length;o++)e=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<n.length;o++)e=(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a<r.length;a++)o=(e=(0|n.words[a])-(0|r.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<n.length;a++)o=(e=(0|n.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<n.length&&n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this.length=Math.max(this.length,a),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var p=function(t,e,n){var r,i,o,a=t.words,s=e.words,l=n.words,c=0,u=0|a[0],h=8191&u,f=u>>>13,d=0|a[1],p=8191&d,m=d>>>13,g=0|a[2],y=8191&g,w=g>>>13,b=0|a[3],v=8191&b,E=b>>>13,_=0|a[4],A=8191&_,M=_>>>13,T=0|a[5],x=8191&T,S=T>>>13,k=0|a[6],C=8191&k,D=k>>>13,I=0|a[7],R=8191&I,N=I>>>13,O=0|a[8],L=8191&O,P=O>>>13,F=0|a[9],B=8191&F,U=F>>>13,j=0|s[0],H=8191&j,z=j>>>13,q=0|s[1],W=8191&q,G=q>>>13,K=0|s[2],Y=8191&K,V=K>>>13,X=0|s[3],Z=8191&X,$=X>>>13,Q=0|s[4],J=8191&Q,tt=Q>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],lt=8191&st,ct=st>>>13,ut=0|s[8],ht=8191&ut,ft=ut>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;n.negative=t.negative^e.negative,n.length=19;var gt=(c+(r=Math.imul(h,H))|0)+((8191&(i=(i=Math.imul(h,z))+Math.imul(f,H)|0))<<13)|0;c=((o=Math.imul(f,z))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,r=Math.imul(p,H),i=(i=Math.imul(p,z))+Math.imul(m,H)|0,o=Math.imul(m,z);var yt=(c+(r=r+Math.imul(h,W)|0)|0)+((8191&(i=(i=i+Math.imul(h,G)|0)+Math.imul(f,W)|0))<<13)|0;c=((o=o+Math.imul(f,G)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(y,H),i=(i=Math.imul(y,z))+Math.imul(w,H)|0,o=Math.imul(w,z),r=r+Math.imul(p,W)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(m,W)|0,o=o+Math.imul(m,G)|0;var wt=(c+(r=r+Math.imul(h,Y)|0)|0)+((8191&(i=(i=i+Math.imul(h,V)|0)+Math.imul(f,Y)|0))<<13)|0;c=((o=o+Math.imul(f,V)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(v,H),i=(i=Math.imul(v,z))+Math.imul(E,H)|0,o=Math.imul(E,z),r=r+Math.imul(y,W)|0,i=(i=i+Math.imul(y,G)|0)+Math.imul(w,W)|0,o=o+Math.imul(w,G)|0,r=r+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,V)|0;var bt=(c+(r=r+Math.imul(h,Z)|0)|0)+((8191&(i=(i=i+Math.imul(h,$)|0)+Math.imul(f,Z)|0))<<13)|0;c=((o=o+Math.imul(f,$)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(A,H),i=(i=Math.imul(A,z))+Math.imul(M,H)|0,o=Math.imul(M,z),r=r+Math.imul(v,W)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(E,W)|0,o=o+Math.imul(E,G)|0,r=r+Math.imul(y,Y)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(w,Y)|0,o=o+Math.imul(w,V)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,$)|0)+Math.imul(m,Z)|0,o=o+Math.imul(m,$)|0;var vt=(c+(r=r+Math.imul(h,J)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(f,J)|0))<<13)|0;c=((o=o+Math.imul(f,tt)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(x,H),i=(i=Math.imul(x,z))+Math.imul(S,H)|0,o=Math.imul(S,z),r=r+Math.imul(A,W)|0,i=(i=i+Math.imul(A,G)|0)+Math.imul(M,W)|0,o=o+Math.imul(M,G)|0,r=r+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(E,Y)|0,o=o+Math.imul(E,V)|0,r=r+Math.imul(y,Z)|0,i=(i=i+Math.imul(y,$)|0)+Math.imul(w,Z)|0,o=o+Math.imul(w,$)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,J)|0,o=o+Math.imul(m,tt)|0;var Et=(c+(r=r+Math.imul(h,nt)|0)|0)+((8191&(i=(i=i+Math.imul(h,rt)|0)+Math.imul(f,nt)|0))<<13)|0;c=((o=o+Math.imul(f,rt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(C,H),i=(i=Math.imul(C,z))+Math.imul(D,H)|0,o=Math.imul(D,z),r=r+Math.imul(x,W)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(S,W)|0,o=o+Math.imul(S,G)|0,r=r+Math.imul(A,Y)|0,i=(i=i+Math.imul(A,V)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(v,Z)|0,i=(i=i+Math.imul(v,$)|0)+Math.imul(E,Z)|0,o=o+Math.imul(E,$)|0,r=r+Math.imul(y,J)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(m,nt)|0,o=o+Math.imul(m,rt)|0;var _t=(c+(r=r+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(f,ot)|0))<<13)|0;c=((o=o+Math.imul(f,at)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(R,H),i=(i=Math.imul(R,z))+Math.imul(N,H)|0,o=Math.imul(N,z),r=r+Math.imul(C,W)|0,i=(i=i+Math.imul(C,G)|0)+Math.imul(D,W)|0,o=o+Math.imul(D,G)|0,r=r+Math.imul(x,Y)|0,i=(i=i+Math.imul(x,V)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,V)|0,r=r+Math.imul(A,Z)|0,i=(i=i+Math.imul(A,$)|0)+Math.imul(M,Z)|0,o=o+Math.imul(M,$)|0,r=r+Math.imul(v,J)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(E,J)|0,o=o+Math.imul(E,tt)|0,r=r+Math.imul(y,nt)|0,i=(i=i+Math.imul(y,rt)|0)+Math.imul(w,nt)|0,o=o+Math.imul(w,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var At=(c+(r=r+Math.imul(h,lt)|0)|0)+((8191&(i=(i=i+Math.imul(h,ct)|0)+Math.imul(f,lt)|0))<<13)|0;c=((o=o+Math.imul(f,ct)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(L,H),i=(i=Math.imul(L,z))+Math.imul(P,H)|0,o=Math.imul(P,z),r=r+Math.imul(R,W)|0,i=(i=i+Math.imul(R,G)|0)+Math.imul(N,W)|0,o=o+Math.imul(N,G)|0,r=r+Math.imul(C,Y)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(x,Z)|0,i=(i=i+Math.imul(x,$)|0)+Math.imul(S,Z)|0,o=o+Math.imul(S,$)|0,r=r+Math.imul(A,J)|0,i=(i=i+Math.imul(A,tt)|0)+Math.imul(M,J)|0,o=o+Math.imul(M,tt)|0,r=r+Math.imul(v,nt)|0,i=(i=i+Math.imul(v,rt)|0)+Math.imul(E,nt)|0,o=o+Math.imul(E,rt)|0,r=r+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,r=r+Math.imul(p,lt)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(m,lt)|0,o=o+Math.imul(m,ct)|0;var Mt=(c+(r=r+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,ft)|0)+Math.imul(f,ht)|0))<<13)|0;c=((o=o+Math.imul(f,ft)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(B,H),i=(i=Math.imul(B,z))+Math.imul(U,H)|0,o=Math.imul(U,z),r=r+Math.imul(L,W)|0,i=(i=i+Math.imul(L,G)|0)+Math.imul(P,W)|0,o=o+Math.imul(P,G)|0,r=r+Math.imul(R,Y)|0,i=(i=i+Math.imul(R,V)|0)+Math.imul(N,Y)|0,o=o+Math.imul(N,V)|0,r=r+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,$)|0)+Math.imul(D,Z)|0,o=o+Math.imul(D,$)|0,r=r+Math.imul(x,J)|0,i=(i=i+Math.imul(x,tt)|0)+Math.imul(S,J)|0,o=o+Math.imul(S,tt)|0,r=r+Math.imul(A,nt)|0,i=(i=i+Math.imul(A,rt)|0)+Math.imul(M,nt)|0,o=o+Math.imul(M,rt)|0,r=r+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(E,ot)|0,o=o+Math.imul(E,at)|0,r=r+Math.imul(y,lt)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(w,lt)|0,o=o+Math.imul(w,ct)|0,r=r+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,ft)|0)+Math.imul(m,ht)|0,o=o+Math.imul(m,ft)|0;var Tt=(c+(r=r+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,mt)|0)+Math.imul(f,pt)|0))<<13)|0;c=((o=o+Math.imul(f,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(B,W),i=(i=Math.imul(B,G))+Math.imul(U,W)|0,o=Math.imul(U,G),r=r+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(P,Y)|0,o=o+Math.imul(P,V)|0,r=r+Math.imul(R,Z)|0,i=(i=i+Math.imul(R,$)|0)+Math.imul(N,Z)|0,o=o+Math.imul(N,$)|0,r=r+Math.imul(C,J)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(D,J)|0,o=o+Math.imul(D,tt)|0,r=r+Math.imul(x,nt)|0,i=(i=i+Math.imul(x,rt)|0)+Math.imul(S,nt)|0,o=o+Math.imul(S,rt)|0,r=r+Math.imul(A,ot)|0,i=(i=i+Math.imul(A,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,r=r+Math.imul(v,lt)|0,i=(i=i+Math.imul(v,ct)|0)+Math.imul(E,lt)|0,o=o+Math.imul(E,ct)|0,r=r+Math.imul(y,ht)|0,i=(i=i+Math.imul(y,ft)|0)+Math.imul(w,ht)|0,o=o+Math.imul(w,ft)|0;var xt=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(B,Y),i=(i=Math.imul(B,V))+Math.imul(U,Y)|0,o=Math.imul(U,V),r=r+Math.imul(L,Z)|0,i=(i=i+Math.imul(L,$)|0)+Math.imul(P,Z)|0,o=o+Math.imul(P,$)|0,r=r+Math.imul(R,J)|0,i=(i=i+Math.imul(R,tt)|0)+Math.imul(N,J)|0,o=o+Math.imul(N,tt)|0,r=r+Math.imul(C,nt)|0,i=(i=i+Math.imul(C,rt)|0)+Math.imul(D,nt)|0,o=o+Math.imul(D,rt)|0,r=r+Math.imul(x,ot)|0,i=(i=i+Math.imul(x,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,r=r+Math.imul(A,lt)|0,i=(i=i+Math.imul(A,ct)|0)+Math.imul(M,lt)|0,o=o+Math.imul(M,ct)|0,r=r+Math.imul(v,ht)|0,i=(i=i+Math.imul(v,ft)|0)+Math.imul(E,ht)|0,o=o+Math.imul(E,ft)|0;var St=(c+(r=r+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,mt)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,mt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(B,Z),i=(i=Math.imul(B,$))+Math.imul(U,Z)|0,o=Math.imul(U,$),r=r+Math.imul(L,J)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(P,J)|0,o=o+Math.imul(P,tt)|0,r=r+Math.imul(R,nt)|0,i=(i=i+Math.imul(R,rt)|0)+Math.imul(N,nt)|0,o=o+Math.imul(N,rt)|0,r=r+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,r=r+Math.imul(x,lt)|0,i=(i=i+Math.imul(x,ct)|0)+Math.imul(S,lt)|0,o=o+Math.imul(S,ct)|0,r=r+Math.imul(A,ht)|0,i=(i=i+Math.imul(A,ft)|0)+Math.imul(M,ht)|0,o=o+Math.imul(M,ft)|0;var kt=(c+(r=r+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(E,pt)|0))<<13)|0;c=((o=o+Math.imul(E,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(B,J),i=(i=Math.imul(B,tt))+Math.imul(U,J)|0,o=Math.imul(U,tt),r=r+Math.imul(L,nt)|0,i=(i=i+Math.imul(L,rt)|0)+Math.imul(P,nt)|0,o=o+Math.imul(P,rt)|0,r=r+Math.imul(R,ot)|0,i=(i=i+Math.imul(R,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,r=r+Math.imul(C,lt)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(D,lt)|0,o=o+Math.imul(D,ct)|0,r=r+Math.imul(x,ht)|0,i=(i=i+Math.imul(x,ft)|0)+Math.imul(S,ht)|0,o=o+Math.imul(S,ft)|0;var Ct=(c+(r=r+Math.imul(A,pt)|0)|0)+((8191&(i=(i=i+Math.imul(A,mt)|0)+Math.imul(M,pt)|0))<<13)|0;c=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(B,nt),i=(i=Math.imul(B,rt))+Math.imul(U,nt)|0,o=Math.imul(U,rt),r=r+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(P,ot)|0,o=o+Math.imul(P,at)|0,r=r+Math.imul(R,lt)|0,i=(i=i+Math.imul(R,ct)|0)+Math.imul(N,lt)|0,o=o+Math.imul(N,ct)|0,r=r+Math.imul(C,ht)|0,i=(i=i+Math.imul(C,ft)|0)+Math.imul(D,ht)|0,o=o+Math.imul(D,ft)|0;var Dt=(c+(r=r+Math.imul(x,pt)|0)|0)+((8191&(i=(i=i+Math.imul(x,mt)|0)+Math.imul(S,pt)|0))<<13)|0;c=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,r=Math.imul(B,ot),i=(i=Math.imul(B,at))+Math.imul(U,ot)|0,o=Math.imul(U,at),r=r+Math.imul(L,lt)|0,i=(i=i+Math.imul(L,ct)|0)+Math.imul(P,lt)|0,o=o+Math.imul(P,ct)|0,r=r+Math.imul(R,ht)|0,i=(i=i+Math.imul(R,ft)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,ft)|0;var It=(c+(r=r+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,mt)|0)+Math.imul(D,pt)|0))<<13)|0;c=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(B,lt),i=(i=Math.imul(B,ct))+Math.imul(U,lt)|0,o=Math.imul(U,ct),r=r+Math.imul(L,ht)|0,i=(i=i+Math.imul(L,ft)|0)+Math.imul(P,ht)|0,o=o+Math.imul(P,ft)|0;var Rt=(c+(r=r+Math.imul(R,pt)|0)|0)+((8191&(i=(i=i+Math.imul(R,mt)|0)+Math.imul(N,pt)|0))<<13)|0;c=((o=o+Math.imul(N,mt)|0)+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,r=Math.imul(B,ht),i=(i=Math.imul(B,ft))+Math.imul(U,ht)|0,o=Math.imul(U,ft);var Nt=(c+(r=r+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(P,pt)|0))<<13)|0;c=((o=o+Math.imul(P,mt)|0)+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863;var Ot=(c+(r=Math.imul(B,pt))|0)+((8191&(i=(i=Math.imul(B,mt))+Math.imul(U,pt)|0))<<13)|0;return c=((o=Math.imul(U,mt))+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,l[0]=gt,l[1]=yt,l[2]=wt,l[3]=bt,l[4]=vt,l[5]=Et,l[6]=_t,l[7]=At,l[8]=Mt,l[9]=Tt,l[10]=xt,l[11]=St,l[12]=kt,l[13]=Ct,l[14]=Dt,l[15]=It,l[16]=Rt,l[17]=Nt,l[18]=Ot,0!==c&&(l[19]=c,n.length++),n};function m(t,e,n){return(new g).mulp(t,e,n)}function g(t,e){this.x=t,this.y=e}Math.imul||(p=d),o.prototype.mulTo=function(t,e){var n,r=this.length+t.length;return n=10===this.length&&10===t.length?p(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var a=i;i=0;for(var s=67108863&r,l=Math.min(o,e.length-1),c=Math.max(0,o-t.length+1);c<=l;c++){var u=o-c,h=(0|t.words[u])*(0|e.words[c]),f=67108863&h;s=67108863&(f=f+s|0),i+=(a=(a=a+(h/67108864|0)|0)+(f>>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,t,e):m(this,t,e),n},g.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r<t;r++)e[r]=this.revBin(r,n,t);return e},g.prototype.revBin=function(t,e,n){if(0===t||t===n-1)return t;for(var r=0,i=0;i<e;i++)r|=(1&t)<<e-i-1,t>>=1;return r},g.prototype.permute=function(t,e,n,r,i,o){for(var a=0;a<o;a++)r[a]=e[t[a]],i[a]=n[t[a]]},g.prototype.transform=function(t,e,n,r,i,o){this.permute(o,t,e,n,r,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,l=Math.cos(2*Math.PI/s),c=Math.sin(2*Math.PI/s),u=0;u<i;u+=s)for(var h=l,f=c,d=0;d<a;d++){var p=n[u+d],m=r[u+d],g=n[u+d+a],y=r[u+d+a],w=h*g-f*y;y=h*y+f*g,g=w,n[u+d]=p+g,r[u+d]=m+y,n[u+d+a]=p-g,r[u+d+a]=m-y,d!==s&&(w=l*h-c*f,f=l*f+c*h,h=w)}},g.prototype.guessLen13b=function(t,e){var n=1|Math.max(e,t),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},g.prototype.conjugate=function(t,e,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=t[r];t[r]=t[n-r-1],t[n-r-1]=i,i=e[r],e[r]=-e[n-r-1],e[n-r-1]=-i}},g.prototype.normalize13b=function(t,e){for(var n=0,r=0;r<e/2;r++){var i=8192*Math.round(t[2*r+1]/e)+Math.round(t[2*r]/e)+n;t[r]=67108863&i,n=i<67108864?0:i/67108864|0}return t},g.prototype.convert13b=function(t,e,n,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],n[2*a]=8191&o,o>>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)n[a]=0;r(0===o),r(0==(-8192&o))},g.prototype.stub=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=0;return e},g.prototype.mulp=function(t,e,n){var r=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(r),o=this.stub(r),a=new Array(r),s=new Array(r),l=new Array(r),c=new Array(r),u=new Array(r),h=new Array(r),f=n.words;f.length=r,this.convert13b(t.words,t.length,a,r),this.convert13b(e.words,e.length,c,r),this.transform(a,o,s,l,r,i),this.transform(c,o,u,h,r,i);for(var d=0;d<r;d++){var p=s[d]*u[d]-l[d]*h[d];l[d]=s[d]*h[d]+l[d]*u[d],s[d]=p}return this.conjugate(s,l,r),this.transform(s,l,f,o,r,i),this.conjugate(f,o,r),this.normalize13b(f,r),n.negative=t.negative^e.negative,n.length=t.length+e.length,n.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),m(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){r("number"==typeof t),r(t<67108864);for(var e=0,n=0;n<this.length;n++){var i=(0|this.words[n])*t,o=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=o>>>26,this.words[n]=67108863&o}return 0!==e&&(this.words[n]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n<e.length;n++){var r=n/26|0,i=n%26;e[n]=(t.words[r]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r<e.length&&0===e[r];r++,n=n.sqr());if(++r<e.length)for(var i=n.sqr();r<e.length;r++,i=i.sqr())0!==e[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(t){r("number"==typeof t&&t>=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,l=(0|this.words[e])-s<<n;this.words[e]=l|a,a=s>>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return r(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,n){var i;r("number"==typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,l=n;if(i-=a,i=Math.max(0,i),l){for(var c=0;c<a;c++)l.words[c]=this.words[c];l.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var u=0;for(c=this.length-1;c>=0&&(0!==u||c>=i);c--){var h=0|this.words[c];this.words[c]=u<<26-o|h>>>o,u=h&s}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<<e;return!(this.length<=n||!(this.words[n]&i))},o.prototype.imaskn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==e&&n++,this.length=Math.min(n,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return r("number"==typeof t),r(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(r("number"==typeof t),r(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,n){var i,o,a=t.length+n;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+n])+s;var l=(0|t.words[i])*e;s=((o-=67108863&l)>>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)s=(o=(0|this.words[i+n])+s)>>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1];0!=(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,l=r.length-i.length;if("mod"!==e){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var c=0;c<s.length;c++)s.words[c]=0}var u=r.clone()._ishlnsubmul(i,1,l);0===u.negative&&(r=u,s&&(s.words[l]=1));for(var h=l-1;h>=0;h--){var f=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);for(f=Math.min(f/a|0,67108863),r._ishlnsubmul(i,f,h);0!==r.negative;)f--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);s&&(s.words[h]=f)}return s&&s.strip(),r.strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){r(t<=67108863);for(var e=(1<<26)%t,n=0,i=this.length-1;i>=0;i--)n=(e*n+(0|this.words[i]))%t;return n},o.prototype.idivn=function(t){r(t<=67108863);for(var e=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*e;this.words[n]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var u=n.clone(),h=e.clone();!e.isZero();){for(var f=0,d=1;0==(e.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(e.iushrn(f);f-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(u),a.isub(h)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(u),l.isub(h)),s.iushrn(1),l.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(s),a.isub(l)):(n.isub(e),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:n.iushln(c)}},o.prototype._invmp=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),l=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,u=1;0==(e.words[0]&u)&&c<26;++c,u<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var h=0,f=1;0==(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(n.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(s)):(n.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"==typeof t);var e=t%26,n=(t-e)/26,i=1<<e;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,a=n;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)e=1;else{n&&(t=-t),r(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){r<i?e=-1:r>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new A(t)},o.prototype.toRed=function(t){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var y={k256:null,p224:null,p192:null,p25519:null};function w(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(t){if("string"==typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else r(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function M(t){A.call(this,t),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)}w.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},w.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},w.prototype.split=function(t,e){t.iushrn(this.n,0,e)},w.prototype.imulK=function(t){return t.imul(this.k)},i(b,w),b.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i<r;i++)e.words[i]=t.words[i];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&n,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(a&n)<<4|o>>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},b.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n<t.length;n++){var r=0|t.words[n];e+=977*r,t.words[n]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(v,w),i(E,w),i(_,w),_.prototype.imulK=function(t){for(var e=0,n=0;n<t.length;n++){var r=19*(0|t.words[n])+e,i=67108863&r;r>>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(y[t])return y[t];var e;if("k256"===t)e=new b;else if("p224"===t)e=new v;else if("p192"===t)e=new E;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new _}return y[t]=e,e},A.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},A.prototype._verify2=function(t,e){r(0==(t.negative|e.negative),"red works only with positives"),r(t.red&&t.red===e.red,"red works only with red numbers")},A.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},A.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},A.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},A.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},A.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},A.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},A.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},A.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},A.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},A.prototype.isqr=function(t){return this.imul(t,t.clone())},A.prototype.sqr=function(t){return this.mul(t,t)},A.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(r(e%2==1),3===e){var n=this.m.add(new o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,c).cmp(l);)u.redIAdd(l);for(var h=this.pow(u,i),f=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var m=d,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g<p);var y=this.pow(h,new o(1).iushln(p-g-1));f=f.redMul(y),h=y.redSqr(),d=d.redMul(h),p=g}return f},A.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},A.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=t;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],t);var i=n[0],a=0,s=0,l=e.bitLength()%26;for(0===l&&(l=26),r=e.length-1;r>=0;r--){for(var c=e.words[r],u=l-1;u>=0;u--){var h=c>>u&1;i!==n[0]&&(i=this.sqr(i)),0!==h||0!==a?(a<<=1,a|=h,(4==++s||0===r&&0===u)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}l=26}return i},A.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},A.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new M(t)},i(M,A),M.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},M.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},M.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},M.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},M.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t=n.nmd(t),this)},7526:(t,e)=>{"use strict";e.byteLength=function(t){var e=s(t),n=e[0],r=e[1];return 3*(n+r)/4-r},e.toByteArray=function(t){var e,n,o=s(t),a=o[0],l=o[1],c=new i(function(t,e,n){return 3*(e+n)/4-n}(0,a,l)),u=0,h=l>0?a-4:a;for(n=0;n<h;n+=4)e=r[t.charCodeAt(n)]<<18|r[t.charCodeAt(n+1)]<<12|r[t.charCodeAt(n+2)]<<6|r[t.charCodeAt(n+3)],c[u++]=e>>16&255,c[u++]=e>>8&255,c[u++]=255&e;return 2===l&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,c[u++]=255&e),1===l&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,c[u++]=e>>8&255,c[u++]=255&e),c},e.fromByteArray=function(t){for(var e,r=t.length,i=r%3,o=[],a=16383,s=0,c=r-i;s<c;s+=a)o.push(l(t,s,s+a>c?c:s+a));return 1===i?(e=t[r-1],o.push(n[e>>2]+n[e<<4&63]+"==")):2===i&&(e=(t[r-2]<<8)+t[r-1],o.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"=")),o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)n[a]=o[a],r[o.charCodeAt(a)]=a;function s(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function l(t,e,r){for(var i,o,a=[],s=e;s<r;s+=3)i=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),a.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},9404:function(t,e,n){!function(t,e){"use strict";function r(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var a;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:n(7790).Buffer}catch(t){}function s(t,e){var n=t.charCodeAt(e);return n>=48&&n<=57?n-48:n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:void r(!1,"Invalid character in "+t)}function l(t,e,n){var r=s(t,n);return n-1>=e&&(r|=s(t,n-1)<<4),r}function c(t,e,n,i){for(var o=0,a=0,s=Math.min(t.length,n),l=e;l<s;l++){var c=t.charCodeAt(l)-48;o*=i,a=c>=49?c-49+10:c>=17?c-17+10:c,r(c>=0&&a<i,"Invalid character"),o+=a}return o}function u(t,e){t.words=e.words,t.length=e.length,t.negative=e.negative,t.red=e.red}if(o.isBN=function(t){return t instanceof o||null!==t&&"object"==typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,n){if("number"==typeof t)return this._initNumber(t,e,n);if("object"==typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),r(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,n):(this._parseBase(t,e,i),"le"===n&&this._initArray(this.toArray(),e,n)))},o.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(r(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initArray=function(t,e,n){if(r("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===n)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this._strip()},o.prototype._parseHex=function(t,e,n){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,o=0,a=0;if("be"===n)for(r=t.length-1;r>=e;r-=2)i=l(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(t.length-e)%2==0?e+1:e;r<t.length;r+=2)i=l(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this._strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,u=n;u<s;u+=r)l=c(t,u,u+r,e),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==a){var h=1;for(l=c(t,u,t.length,e),u=0;u<a;u++)h*=e;this.imuln(h),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this._strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype._move=function(t){u(t,this)},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype._strip=function(){for(;this.length>1&&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")]=h}catch(t){o.prototype.inspect=h}else o.prototype.inspect=h;function h(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var f=["","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"],d=[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 m(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,l=a/67108864|0;n.words[0]=s;for(var c=1;c<r;c++){for(var u=l>>>26,h=67108863&l,f=Math.min(c,e.length-1),d=Math.max(0,c-t.length+1);d<=f;d++){var p=c-d|0;u+=(a=(i=0|t.words[p])*(o=0|e.words[d])+h)/67108864|0,h=67108863&a}n.words[c]=0|h,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n._strip()}o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],l=(16777215&(s<<i|o)).toString(16);o=s>>>24-i&16777215,(i+=2)>=26&&(i-=26,a--),n=0!==o||a!==this.length-1?f[6-l.length]+l+n:l+n}for(0!==o&&(n=o.toString(16)+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var c=d[t],u=p[t];n="";var h=this.clone();for(h.negative=0;!h.isZero();){var m=h.modrn(u).toString(t);n=(h=h.idivn(u)).isZero()?m+n:f[c-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16,2)},a&&(o.prototype.toBuffer=function(t,e){return this.toArrayLike(a,t,e)}),o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,n){this._strip();var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0");var a=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)}(t,o);return this["_toArrayLike"+("le"===e?"LE":"BE")](a,i),a},o.prototype._toArrayLikeLE=function(t,e){for(var n=0,r=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|r;t[n++]=255&a,n<t.length&&(t[n++]=a>>8&255),n<t.length&&(t[n++]=a>>16&255),6===o?(n<t.length&&(t[n++]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n<t.length)for(t[n++]=r;n<t.length;)t[n++]=0},o.prototype._toArrayLikeBE=function(t,e){for(var n=t.length-1,r=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|r;t[n--]=255&a,n>=0&&(t[n--]=a>>8&255),n>=0&&(t[n--]=a>>16&255),6===o?(n>=0&&(t[n--]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n>=0)for(t[n--]=r;n>=0;)t[n--]=0},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,n=0;return e>=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var n=this._zeroBits(this.words[e]);if(t+=n,26!==n)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this._strip()},o.prototype.ior=function(t){return r(0==(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;n<e.length;n++)this.words[n]=this.words[n]&t.words[n];return this.length=e.length,this._strip()},o.prototype.iand=function(t){return r(0==(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;r<n.length;r++)this.words[r]=e.words[r]^n.words[r];if(this!==e)for(;r<e.length;r++)this.words[r]=e.words[r];return this.length=e.length,this._strip()},o.prototype.ixor=function(t){return r(0==(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){r("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this._strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"==typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<<i:this.words[n]&~(1<<i),this._strip()},o.prototype.iadd=function(t){var e,n,r;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o<r.length;o++)e=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<n.length;o++)e=(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a<r.length;a++)o=(e=(0|n.words[a])-(0|r.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<n.length;a++)o=(e=(0|n.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<n.length&&n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this.length=Math.max(this.length,a),n!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var g=function(t,e,n){var r,i,o,a=t.words,s=e.words,l=n.words,c=0,u=0|a[0],h=8191&u,f=u>>>13,d=0|a[1],p=8191&d,m=d>>>13,g=0|a[2],y=8191&g,w=g>>>13,b=0|a[3],v=8191&b,E=b>>>13,_=0|a[4],A=8191&_,M=_>>>13,T=0|a[5],x=8191&T,S=T>>>13,k=0|a[6],C=8191&k,D=k>>>13,I=0|a[7],R=8191&I,N=I>>>13,O=0|a[8],L=8191&O,P=O>>>13,F=0|a[9],B=8191&F,U=F>>>13,j=0|s[0],H=8191&j,z=j>>>13,q=0|s[1],W=8191&q,G=q>>>13,K=0|s[2],Y=8191&K,V=K>>>13,X=0|s[3],Z=8191&X,$=X>>>13,Q=0|s[4],J=8191&Q,tt=Q>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],lt=8191&st,ct=st>>>13,ut=0|s[8],ht=8191&ut,ft=ut>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;n.negative=t.negative^e.negative,n.length=19;var gt=(c+(r=Math.imul(h,H))|0)+((8191&(i=(i=Math.imul(h,z))+Math.imul(f,H)|0))<<13)|0;c=((o=Math.imul(f,z))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,r=Math.imul(p,H),i=(i=Math.imul(p,z))+Math.imul(m,H)|0,o=Math.imul(m,z);var yt=(c+(r=r+Math.imul(h,W)|0)|0)+((8191&(i=(i=i+Math.imul(h,G)|0)+Math.imul(f,W)|0))<<13)|0;c=((o=o+Math.imul(f,G)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(y,H),i=(i=Math.imul(y,z))+Math.imul(w,H)|0,o=Math.imul(w,z),r=r+Math.imul(p,W)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(m,W)|0,o=o+Math.imul(m,G)|0;var wt=(c+(r=r+Math.imul(h,Y)|0)|0)+((8191&(i=(i=i+Math.imul(h,V)|0)+Math.imul(f,Y)|0))<<13)|0;c=((o=o+Math.imul(f,V)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(v,H),i=(i=Math.imul(v,z))+Math.imul(E,H)|0,o=Math.imul(E,z),r=r+Math.imul(y,W)|0,i=(i=i+Math.imul(y,G)|0)+Math.imul(w,W)|0,o=o+Math.imul(w,G)|0,r=r+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,V)|0;var bt=(c+(r=r+Math.imul(h,Z)|0)|0)+((8191&(i=(i=i+Math.imul(h,$)|0)+Math.imul(f,Z)|0))<<13)|0;c=((o=o+Math.imul(f,$)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(A,H),i=(i=Math.imul(A,z))+Math.imul(M,H)|0,o=Math.imul(M,z),r=r+Math.imul(v,W)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(E,W)|0,o=o+Math.imul(E,G)|0,r=r+Math.imul(y,Y)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(w,Y)|0,o=o+Math.imul(w,V)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,$)|0)+Math.imul(m,Z)|0,o=o+Math.imul(m,$)|0;var vt=(c+(r=r+Math.imul(h,J)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(f,J)|0))<<13)|0;c=((o=o+Math.imul(f,tt)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(x,H),i=(i=Math.imul(x,z))+Math.imul(S,H)|0,o=Math.imul(S,z),r=r+Math.imul(A,W)|0,i=(i=i+Math.imul(A,G)|0)+Math.imul(M,W)|0,o=o+Math.imul(M,G)|0,r=r+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(E,Y)|0,o=o+Math.imul(E,V)|0,r=r+Math.imul(y,Z)|0,i=(i=i+Math.imul(y,$)|0)+Math.imul(w,Z)|0,o=o+Math.imul(w,$)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,J)|0,o=o+Math.imul(m,tt)|0;var Et=(c+(r=r+Math.imul(h,nt)|0)|0)+((8191&(i=(i=i+Math.imul(h,rt)|0)+Math.imul(f,nt)|0))<<13)|0;c=((o=o+Math.imul(f,rt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(C,H),i=(i=Math.imul(C,z))+Math.imul(D,H)|0,o=Math.imul(D,z),r=r+Math.imul(x,W)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(S,W)|0,o=o+Math.imul(S,G)|0,r=r+Math.imul(A,Y)|0,i=(i=i+Math.imul(A,V)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(v,Z)|0,i=(i=i+Math.imul(v,$)|0)+Math.imul(E,Z)|0,o=o+Math.imul(E,$)|0,r=r+Math.imul(y,J)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(m,nt)|0,o=o+Math.imul(m,rt)|0;var _t=(c+(r=r+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(f,ot)|0))<<13)|0;c=((o=o+Math.imul(f,at)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(R,H),i=(i=Math.imul(R,z))+Math.imul(N,H)|0,o=Math.imul(N,z),r=r+Math.imul(C,W)|0,i=(i=i+Math.imul(C,G)|0)+Math.imul(D,W)|0,o=o+Math.imul(D,G)|0,r=r+Math.imul(x,Y)|0,i=(i=i+Math.imul(x,V)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,V)|0,r=r+Math.imul(A,Z)|0,i=(i=i+Math.imul(A,$)|0)+Math.imul(M,Z)|0,o=o+Math.imul(M,$)|0,r=r+Math.imul(v,J)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(E,J)|0,o=o+Math.imul(E,tt)|0,r=r+Math.imul(y,nt)|0,i=(i=i+Math.imul(y,rt)|0)+Math.imul(w,nt)|0,o=o+Math.imul(w,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var At=(c+(r=r+Math.imul(h,lt)|0)|0)+((8191&(i=(i=i+Math.imul(h,ct)|0)+Math.imul(f,lt)|0))<<13)|0;c=((o=o+Math.imul(f,ct)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(L,H),i=(i=Math.imul(L,z))+Math.imul(P,H)|0,o=Math.imul(P,z),r=r+Math.imul(R,W)|0,i=(i=i+Math.imul(R,G)|0)+Math.imul(N,W)|0,o=o+Math.imul(N,G)|0,r=r+Math.imul(C,Y)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(x,Z)|0,i=(i=i+Math.imul(x,$)|0)+Math.imul(S,Z)|0,o=o+Math.imul(S,$)|0,r=r+Math.imul(A,J)|0,i=(i=i+Math.imul(A,tt)|0)+Math.imul(M,J)|0,o=o+Math.imul(M,tt)|0,r=r+Math.imul(v,nt)|0,i=(i=i+Math.imul(v,rt)|0)+Math.imul(E,nt)|0,o=o+Math.imul(E,rt)|0,r=r+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,r=r+Math.imul(p,lt)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(m,lt)|0,o=o+Math.imul(m,ct)|0;var Mt=(c+(r=r+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,ft)|0)+Math.imul(f,ht)|0))<<13)|0;c=((o=o+Math.imul(f,ft)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(B,H),i=(i=Math.imul(B,z))+Math.imul(U,H)|0,o=Math.imul(U,z),r=r+Math.imul(L,W)|0,i=(i=i+Math.imul(L,G)|0)+Math.imul(P,W)|0,o=o+Math.imul(P,G)|0,r=r+Math.imul(R,Y)|0,i=(i=i+Math.imul(R,V)|0)+Math.imul(N,Y)|0,o=o+Math.imul(N,V)|0,r=r+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,$)|0)+Math.imul(D,Z)|0,o=o+Math.imul(D,$)|0,r=r+Math.imul(x,J)|0,i=(i=i+Math.imul(x,tt)|0)+Math.imul(S,J)|0,o=o+Math.imul(S,tt)|0,r=r+Math.imul(A,nt)|0,i=(i=i+Math.imul(A,rt)|0)+Math.imul(M,nt)|0,o=o+Math.imul(M,rt)|0,r=r+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(E,ot)|0,o=o+Math.imul(E,at)|0,r=r+Math.imul(y,lt)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(w,lt)|0,o=o+Math.imul(w,ct)|0,r=r+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,ft)|0)+Math.imul(m,ht)|0,o=o+Math.imul(m,ft)|0;var Tt=(c+(r=r+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,mt)|0)+Math.imul(f,pt)|0))<<13)|0;c=((o=o+Math.imul(f,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(B,W),i=(i=Math.imul(B,G))+Math.imul(U,W)|0,o=Math.imul(U,G),r=r+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(P,Y)|0,o=o+Math.imul(P,V)|0,r=r+Math.imul(R,Z)|0,i=(i=i+Math.imul(R,$)|0)+Math.imul(N,Z)|0,o=o+Math.imul(N,$)|0,r=r+Math.imul(C,J)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(D,J)|0,o=o+Math.imul(D,tt)|0,r=r+Math.imul(x,nt)|0,i=(i=i+Math.imul(x,rt)|0)+Math.imul(S,nt)|0,o=o+Math.imul(S,rt)|0,r=r+Math.imul(A,ot)|0,i=(i=i+Math.imul(A,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,r=r+Math.imul(v,lt)|0,i=(i=i+Math.imul(v,ct)|0)+Math.imul(E,lt)|0,o=o+Math.imul(E,ct)|0,r=r+Math.imul(y,ht)|0,i=(i=i+Math.imul(y,ft)|0)+Math.imul(w,ht)|0,o=o+Math.imul(w,ft)|0;var xt=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(B,Y),i=(i=Math.imul(B,V))+Math.imul(U,Y)|0,o=Math.imul(U,V),r=r+Math.imul(L,Z)|0,i=(i=i+Math.imul(L,$)|0)+Math.imul(P,Z)|0,o=o+Math.imul(P,$)|0,r=r+Math.imul(R,J)|0,i=(i=i+Math.imul(R,tt)|0)+Math.imul(N,J)|0,o=o+Math.imul(N,tt)|0,r=r+Math.imul(C,nt)|0,i=(i=i+Math.imul(C,rt)|0)+Math.imul(D,nt)|0,o=o+Math.imul(D,rt)|0,r=r+Math.imul(x,ot)|0,i=(i=i+Math.imul(x,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,r=r+Math.imul(A,lt)|0,i=(i=i+Math.imul(A,ct)|0)+Math.imul(M,lt)|0,o=o+Math.imul(M,ct)|0,r=r+Math.imul(v,ht)|0,i=(i=i+Math.imul(v,ft)|0)+Math.imul(E,ht)|0,o=o+Math.imul(E,ft)|0;var St=(c+(r=r+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,mt)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,mt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(B,Z),i=(i=Math.imul(B,$))+Math.imul(U,Z)|0,o=Math.imul(U,$),r=r+Math.imul(L,J)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(P,J)|0,o=o+Math.imul(P,tt)|0,r=r+Math.imul(R,nt)|0,i=(i=i+Math.imul(R,rt)|0)+Math.imul(N,nt)|0,o=o+Math.imul(N,rt)|0,r=r+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,r=r+Math.imul(x,lt)|0,i=(i=i+Math.imul(x,ct)|0)+Math.imul(S,lt)|0,o=o+Math.imul(S,ct)|0,r=r+Math.imul(A,ht)|0,i=(i=i+Math.imul(A,ft)|0)+Math.imul(M,ht)|0,o=o+Math.imul(M,ft)|0;var kt=(c+(r=r+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(E,pt)|0))<<13)|0;c=((o=o+Math.imul(E,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(B,J),i=(i=Math.imul(B,tt))+Math.imul(U,J)|0,o=Math.imul(U,tt),r=r+Math.imul(L,nt)|0,i=(i=i+Math.imul(L,rt)|0)+Math.imul(P,nt)|0,o=o+Math.imul(P,rt)|0,r=r+Math.imul(R,ot)|0,i=(i=i+Math.imul(R,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,r=r+Math.imul(C,lt)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(D,lt)|0,o=o+Math.imul(D,ct)|0,r=r+Math.imul(x,ht)|0,i=(i=i+Math.imul(x,ft)|0)+Math.imul(S,ht)|0,o=o+Math.imul(S,ft)|0;var Ct=(c+(r=r+Math.imul(A,pt)|0)|0)+((8191&(i=(i=i+Math.imul(A,mt)|0)+Math.imul(M,pt)|0))<<13)|0;c=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(B,nt),i=(i=Math.imul(B,rt))+Math.imul(U,nt)|0,o=Math.imul(U,rt),r=r+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(P,ot)|0,o=o+Math.imul(P,at)|0,r=r+Math.imul(R,lt)|0,i=(i=i+Math.imul(R,ct)|0)+Math.imul(N,lt)|0,o=o+Math.imul(N,ct)|0,r=r+Math.imul(C,ht)|0,i=(i=i+Math.imul(C,ft)|0)+Math.imul(D,ht)|0,o=o+Math.imul(D,ft)|0;var Dt=(c+(r=r+Math.imul(x,pt)|0)|0)+((8191&(i=(i=i+Math.imul(x,mt)|0)+Math.imul(S,pt)|0))<<13)|0;c=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,r=Math.imul(B,ot),i=(i=Math.imul(B,at))+Math.imul(U,ot)|0,o=Math.imul(U,at),r=r+Math.imul(L,lt)|0,i=(i=i+Math.imul(L,ct)|0)+Math.imul(P,lt)|0,o=o+Math.imul(P,ct)|0,r=r+Math.imul(R,ht)|0,i=(i=i+Math.imul(R,ft)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,ft)|0;var It=(c+(r=r+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,mt)|0)+Math.imul(D,pt)|0))<<13)|0;c=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(B,lt),i=(i=Math.imul(B,ct))+Math.imul(U,lt)|0,o=Math.imul(U,ct),r=r+Math.imul(L,ht)|0,i=(i=i+Math.imul(L,ft)|0)+Math.imul(P,ht)|0,o=o+Math.imul(P,ft)|0;var Rt=(c+(r=r+Math.imul(R,pt)|0)|0)+((8191&(i=(i=i+Math.imul(R,mt)|0)+Math.imul(N,pt)|0))<<13)|0;c=((o=o+Math.imul(N,mt)|0)+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,r=Math.imul(B,ht),i=(i=Math.imul(B,ft))+Math.imul(U,ht)|0,o=Math.imul(U,ft);var Nt=(c+(r=r+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(P,pt)|0))<<13)|0;c=((o=o+Math.imul(P,mt)|0)+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863;var Ot=(c+(r=Math.imul(B,pt))|0)+((8191&(i=(i=Math.imul(B,mt))+Math.imul(U,pt)|0))<<13)|0;return c=((o=Math.imul(U,mt))+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,l[0]=gt,l[1]=yt,l[2]=wt,l[3]=bt,l[4]=vt,l[5]=Et,l[6]=_t,l[7]=At,l[8]=Mt,l[9]=Tt,l[10]=xt,l[11]=St,l[12]=kt,l[13]=Ct,l[14]=Dt,l[15]=It,l[16]=Rt,l[17]=Nt,l[18]=Ot,0!==c&&(l[19]=c,n.length++),n};function y(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var a=i;i=0;for(var s=67108863&r,l=Math.min(o,e.length-1),c=Math.max(0,o-t.length+1);c<=l;c++){var u=o-c,h=(0|t.words[u])*(0|e.words[c]),f=67108863&h;s=67108863&(f=f+s|0),i+=(a=(a=a+(h/67108864|0)|0)+(f>>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n._strip()}function w(t,e,n){return y(t,e,n)}function b(t,e){this.x=t,this.y=e}Math.imul||(g=m),o.prototype.mulTo=function(t,e){var n=this.length+t.length;return 10===this.length&&10===t.length?g(this,t,e):n<63?m(this,t,e):n<1024?y(this,t,e):w(this,t,e)},b.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r<t;r++)e[r]=this.revBin(r,n,t);return e},b.prototype.revBin=function(t,e,n){if(0===t||t===n-1)return t;for(var r=0,i=0;i<e;i++)r|=(1&t)<<e-i-1,t>>=1;return r},b.prototype.permute=function(t,e,n,r,i,o){for(var a=0;a<o;a++)r[a]=e[t[a]],i[a]=n[t[a]]},b.prototype.transform=function(t,e,n,r,i,o){this.permute(o,t,e,n,r,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,l=Math.cos(2*Math.PI/s),c=Math.sin(2*Math.PI/s),u=0;u<i;u+=s)for(var h=l,f=c,d=0;d<a;d++){var p=n[u+d],m=r[u+d],g=n[u+d+a],y=r[u+d+a],w=h*g-f*y;y=h*y+f*g,g=w,n[u+d]=p+g,r[u+d]=m+y,n[u+d+a]=p-g,r[u+d+a]=m-y,d!==s&&(w=l*h-c*f,f=l*f+c*h,h=w)}},b.prototype.guessLen13b=function(t,e){var n=1|Math.max(e,t),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},b.prototype.conjugate=function(t,e,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=t[r];t[r]=t[n-r-1],t[n-r-1]=i,i=e[r],e[r]=-e[n-r-1],e[n-r-1]=-i}},b.prototype.normalize13b=function(t,e){for(var n=0,r=0;r<e/2;r++){var i=8192*Math.round(t[2*r+1]/e)+Math.round(t[2*r]/e)+n;t[r]=67108863&i,n=i<67108864?0:i/67108864|0}return t},b.prototype.convert13b=function(t,e,n,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],n[2*a]=8191&o,o>>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)n[a]=0;r(0===o),r(0==(-8192&o))},b.prototype.stub=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=0;return e},b.prototype.mulp=function(t,e,n){var r=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(r),o=this.stub(r),a=new Array(r),s=new Array(r),l=new Array(r),c=new Array(r),u=new Array(r),h=new Array(r),f=n.words;f.length=r,this.convert13b(t.words,t.length,a,r),this.convert13b(e.words,e.length,c,r),this.transform(a,o,s,l,r,i),this.transform(c,o,u,h,r,i);for(var d=0;d<r;d++){var p=s[d]*u[d]-l[d]*h[d];l[d]=s[d]*h[d]+l[d]*u[d],s[d]=p}return this.conjugate(s,l,r),this.transform(s,l,f,o,r,i),this.conjugate(f,o,r),this.normalize13b(f,r),n.negative=t.negative^e.negative,n.length=t.length+e.length,n._strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),w(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){var e=t<0;e&&(t=-t),r("number"==typeof t),r(t<67108864);for(var n=0,i=0;i<this.length;i++){var o=(0|this.words[i])*t,a=(67108863&o)+(67108863&n);n>>=26,n+=o/67108864|0,n+=a>>>26,this.words[i]=67108863&a}return 0!==n&&(this.words[i]=n,this.length++),e?this.ineg():this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n<e.length;n++){var r=n/26|0,i=n%26;e[n]=t.words[r]>>>i&1}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r<e.length&&0===e[r];r++,n=n.sqr());if(++r<e.length)for(var i=n.sqr();r<e.length;r++,i=i.sqr())0!==e[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(t){r("number"==typeof t&&t>=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,l=(0|this.words[e])-s<<n;this.words[e]=l|a,a=s>>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this._strip()},o.prototype.ishln=function(t){return r(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,n){var i;r("number"==typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,l=n;if(i-=a,i=Math.max(0,i),l){for(var c=0;c<a;c++)l.words[c]=this.words[c];l.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var u=0;for(c=this.length-1;c>=0&&(0!==u||c>=i);c--){var h=0|this.words[c];this.words[c]=u<<26-o|h>>>o,u=h&s}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<<e;return!(this.length<=n||!(this.words[n]&i))},o.prototype.imaskn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==e&&n++,this.length=Math.min(n,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this._strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return r("number"==typeof t),r(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<=t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(r("number"==typeof t),r(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this._strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,n){var i,o,a=t.length+n;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+n])+s;var l=(0|t.words[i])*e;s=((o-=67108863&l)>>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)s=(o=(0|this.words[i+n])+s)>>26,this.words[i+n]=67108863&o;if(0===s)return this._strip();for(r(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1];0!=(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,l=r.length-i.length;if("mod"!==e){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var c=0;c<s.length;c++)s.words[c]=0}var u=r.clone()._ishlnsubmul(i,1,l);0===u.negative&&(r=u,s&&(s.words[l]=1));for(var h=l-1;h>=0;h--){var f=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);for(f=Math.min(f/a|0,67108863),r._ishlnsubmul(i,f,h);0!==r.negative;)f--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);s&&(s.words[h]=f)}return s&&s._strip(),r._strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modrn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modrn=function(t){var e=t<0;e&&(t=-t),r(t<=67108863);for(var n=(1<<26)%t,i=0,o=this.length-1;o>=0;o--)i=(n*i+(0|this.words[o]))%t;return e?-i:i},o.prototype.modn=function(t){return this.modrn(t)},o.prototype.idivn=function(t){var e=t<0;e&&(t=-t),r(t<=67108863);for(var n=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*n;this.words[i]=o/t|0,n=o%t}return this._strip(),e?this.ineg():this},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var u=n.clone(),h=e.clone();!e.isZero();){for(var f=0,d=1;0==(e.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(e.iushrn(f);f-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(u),a.isub(h)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(u),l.isub(h)),s.iushrn(1),l.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(s),a.isub(l)):(n.isub(e),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:n.iushln(c)}},o.prototype._invmp=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),l=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,u=1;0==(e.words[0]&u)&&c<26;++c,u<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var h=0,f=1;0==(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(n.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(s)):(n.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"==typeof t);var e=t%26,n=(t-e)/26,i=1<<e;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,a=n;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this._strip(),this.length>1)e=1;else{n&&(t=-t),r(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){r<i?e=-1:r>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new x(t)},o.prototype.toRed=function(t){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function E(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function _(){E.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function A(){E.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function M(){E.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function T(){E.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function x(t){if("string"==typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else r(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function S(t){x.call(this,t),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)}E.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},E.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},E.prototype.split=function(t,e){t.iushrn(this.n,0,e)},E.prototype.imulK=function(t){return t.imul(this.k)},i(_,E),_.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i<r;i++)e.words[i]=t.words[i];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&n,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(a&n)<<4|o>>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},_.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n<t.length;n++){var r=0|t.words[n];e+=977*r,t.words[n]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(A,E),i(M,E),i(T,E),T.prototype.imulK=function(t){for(var e=0,n=0;n<t.length;n++){var r=19*(0|t.words[n])+e,i=67108863&r;r>>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new _;else if("p224"===t)e=new A;else if("p192"===t)e=new M;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new T}return v[t]=e,e},x.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},x.prototype._verify2=function(t,e){r(0==(t.negative|e.negative),"red works only with positives"),r(t.red&&t.red===e.red,"red works only with red numbers")},x.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(u(t,t.umod(this.m)._forceRed(this)),t)},x.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},x.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},x.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},x.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},x.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},x.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},x.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},x.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},x.prototype.isqr=function(t){return this.imul(t,t.clone())},x.prototype.sqr=function(t){return this.mul(t,t)},x.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(r(e%2==1),3===e){var n=this.m.add(new o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,c).cmp(l);)u.redIAdd(l);for(var h=this.pow(u,i),f=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var m=d,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g<p);var y=this.pow(h,new o(1).iushln(p-g-1));f=f.redMul(y),h=y.redSqr(),d=d.redMul(h),p=g}return f},x.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},x.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=t;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],t);var i=n[0],a=0,s=0,l=e.bitLength()%26;for(0===l&&(l=26),r=e.length-1;r>=0;r--){for(var c=e.words[r],u=l-1;u>=0;u--){var h=c>>u&1;i!==n[0]&&(i=this.sqr(i)),0!==h||0!==a?(a<<=1,a|=h,(4==++s||0===r&&0===u)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}l=26}return i},x.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},x.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new S(t)},i(S,x),S.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},S.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},S.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},S.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},S.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t=n.nmd(t),this)},5037:(t,e,n)=>{var r;function i(t){this.rand=t}if(t.exports=function(t){return r||(r=new i(null)),r.generate(t)},t.exports.Rand=i,i.prototype.generate=function(t){return this._rand(t)},i.prototype._rand=function(t){if(this.rand.getBytes)return this.rand.getBytes(t);for(var e=new Uint8Array(t),n=0;n<e.length;n++)e[n]=this.rand.getByte();return e},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?i.prototype._rand=function(t){var e=new Uint8Array(t);return self.crypto.getRandomValues(e),e}:self.msCrypto&&self.msCrypto.getRandomValues?i.prototype._rand=function(t){var e=new Uint8Array(t);return self.msCrypto.getRandomValues(e),e}:"object"==typeof window&&(i.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var o=n(3776);if("function"!=typeof o.randomBytes)throw new Error("Not supported");i.prototype._rand=function(t){return o.randomBytes(t)}}catch(t){}},462:(t,e,n)=>{var r=n(2861).Buffer;function i(t){r.isBuffer(t)||(t=r.from(t));for(var e=t.length/4|0,n=new Array(e),i=0;i<e;i++)n[i]=t.readUInt32BE(4*i);return n}function o(t){for(;0<t.length;t++)t[0]=0}function a(t,e,n,r,i){for(var o,a,s,l,c=n[0],u=n[1],h=n[2],f=n[3],d=t[0]^e[0],p=t[1]^e[1],m=t[2]^e[2],g=t[3]^e[3],y=4,w=1;w<i;w++)o=c[d>>>24]^u[p>>>16&255]^h[m>>>8&255]^f[255&g]^e[y++],a=c[p>>>24]^u[m>>>16&255]^h[g>>>8&255]^f[255&d]^e[y++],s=c[m>>>24]^u[g>>>16&255]^h[d>>>8&255]^f[255&p]^e[y++],l=c[g>>>24]^u[d>>>16&255]^h[p>>>8&255]^f[255&m]^e[y++],d=o,p=a,m=s,g=l;return o=(r[d>>>24]<<24|r[p>>>16&255]<<16|r[m>>>8&255]<<8|r[255&g])^e[y++],a=(r[p>>>24]<<24|r[m>>>16&255]<<16|r[g>>>8&255]<<8|r[255&d])^e[y++],s=(r[m>>>24]<<24|r[g>>>16&255]<<16|r[d>>>8&255]<<8|r[255&p])^e[y++],l=(r[g>>>24]<<24|r[d>>>16&255]<<16|r[p>>>8&255]<<8|r[255&m])^e[y++],[o>>>=0,a>>>=0,s>>>=0,l>>>=0]}var s=[0,1,2,4,8,16,32,64,128,27,54],l=function(){for(var t=new Array(256),e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;for(var n=[],r=[],i=[[],[],[],[]],o=[[],[],[],[]],a=0,s=0,l=0;l<256;++l){var c=s^s<<1^s<<2^s<<3^s<<4;c=c>>>8^255&c^99,n[a]=c,r[c]=a;var u=t[a],h=t[u],f=t[h],d=257*t[c]^16843008*c;i[0][a]=d<<24|d>>>8,i[1][a]=d<<16|d>>>16,i[2][a]=d<<8|d>>>24,i[3][a]=d,d=16843009*f^65537*h^257*u^16843008*a,o[0][c]=d<<24|d>>>8,o[1][c]=d<<16|d>>>16,o[2][c]=d<<8|d>>>24,o[3][c]=d,0===a?a=s=1:(a=u^t[t[t[f^u]]],s^=t[t[s]])}return{SBOX:n,INV_SBOX:r,SUB_MIX:i,INV_SUB_MIX:o}}();function c(t){this._key=i(t),this._reset()}c.blockSize=16,c.keySize=32,c.prototype.blockSize=c.blockSize,c.prototype.keySize=c.keySize,c.prototype._reset=function(){for(var t=this._key,e=t.length,n=e+6,r=4*(n+1),i=[],o=0;o<e;o++)i[o]=t[o];for(o=e;o<r;o++){var a=i[o-1];o%e==0?(a=a<<8|a>>>24,a=l.SBOX[a>>>24]<<24|l.SBOX[a>>>16&255]<<16|l.SBOX[a>>>8&255]<<8|l.SBOX[255&a],a^=s[o/e|0]<<24):e>6&&o%e==4&&(a=l.SBOX[a>>>24]<<24|l.SBOX[a>>>16&255]<<16|l.SBOX[a>>>8&255]<<8|l.SBOX[255&a]),i[o]=i[o-e]^a}for(var c=[],u=0;u<r;u++){var h=r-u,f=i[h-(u%4?0:4)];c[u]=u<4||h<=4?f:l.INV_SUB_MIX[0][l.SBOX[f>>>24]]^l.INV_SUB_MIX[1][l.SBOX[f>>>16&255]]^l.INV_SUB_MIX[2][l.SBOX[f>>>8&255]]^l.INV_SUB_MIX[3][l.SBOX[255&f]]}this._nRounds=n,this._keySchedule=i,this._invKeySchedule=c},c.prototype.encryptBlockRaw=function(t){return a(t=i(t),this._keySchedule,l.SUB_MIX,l.SBOX,this._nRounds)},c.prototype.encryptBlock=function(t){var e=this.encryptBlockRaw(t),n=r.allocUnsafe(16);return n.writeUInt32BE(e[0],0),n.writeUInt32BE(e[1],4),n.writeUInt32BE(e[2],8),n.writeUInt32BE(e[3],12),n},c.prototype.decryptBlock=function(t){var e=(t=i(t))[1];t[1]=t[3],t[3]=e;var n=a(t,this._invKeySchedule,l.INV_SUB_MIX,l.INV_SBOX,this._nRounds),o=r.allocUnsafe(16);return o.writeUInt32BE(n[0],0),o.writeUInt32BE(n[3],4),o.writeUInt32BE(n[2],8),o.writeUInt32BE(n[1],12),o},c.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},t.exports.AES=c},2356:(t,e,n)=>{var r=n(462),i=n(2861).Buffer,o=n(6168),a=n(6698),s=n(5892),l=n(295),c=n(5122);function u(t,e,n,a){o.call(this);var l=i.alloc(4,0);this._cipher=new r.AES(e);var u=this._cipher.encryptBlock(l);this._ghash=new s(u),n=function(t,e,n){if(12===e.length)return t._finID=i.concat([e,i.from([0,0,0,1])]),i.concat([e,i.from([0,0,0,2])]);var r=new s(n),o=e.length,a=o%16;r.update(e),a&&(a=16-a,r.update(i.alloc(a,0))),r.update(i.alloc(8,0));var l=8*o,u=i.alloc(8);u.writeUIntBE(l,0,8),r.update(u),t._finID=r.state;var h=i.from(t._finID);return c(h),h}(this,n,u),this._prev=i.from(n),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._alen=0,this._len=0,this._mode=t,this._authTag=null,this._called=!1}a(u,o),u.prototype._update=function(t){if(!this._called&&this._alen){var e=16-this._alen%16;e<16&&(e=i.alloc(e,0),this._ghash.update(e))}this._called=!0;var n=this._mode.encrypt(this,t);return this._decrypt?this._ghash.update(t):this._ghash.update(n),this._len+=t.length,n},u.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var t=l(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(t,e){var n=0;t.length!==e.length&&n++;for(var r=Math.min(t.length,e.length),i=0;i<r;++i)n+=t[i]^e[i];return n}(t,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=t,this._cipher.scrub()},u.prototype.getAuthTag=function(){if(this._decrypt||!i.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},u.prototype.setAuthTag=function(t){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=t},u.prototype.setAAD=function(t){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(t),this._alen+=t.length},t.exports=u},1241:(t,e,n)=>{var r=n(5799),i=n(6171),o=n(3219);e.createCipher=e.Cipher=r.createCipher,e.createCipheriv=e.Cipheriv=r.createCipheriv,e.createDecipher=e.Decipher=i.createDecipher,e.createDecipheriv=e.Decipheriv=i.createDecipheriv,e.listCiphers=e.getCiphers=function(){return Object.keys(o)}},6171:(t,e,n)=>{var r=n(2356),i=n(2861).Buffer,o=n(530),a=n(650),s=n(6168),l=n(462),c=n(8078);function u(t,e,n){s.call(this),this._cache=new h,this._last=void 0,this._cipher=new l.AES(e),this._prev=i.from(n),this._mode=t,this._autopadding=!0}function h(){this.cache=i.allocUnsafe(0)}function f(t,e,n){var s=o[t.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof n&&(n=i.from(n)),"GCM"!==s.mode&&n.length!==s.iv)throw new TypeError("invalid iv length "+n.length);if("string"==typeof e&&(e=i.from(e)),e.length!==s.key/8)throw new TypeError("invalid key length "+e.length);return"stream"===s.type?new a(s.module,e,n,!0):"auth"===s.type?new r(s.module,e,n,!0):new u(s.module,e,n)}n(6698)(u,s),u.prototype._update=function(t){var e,n;this._cache.add(t);for(var r=[];e=this._cache.get(this._autopadding);)n=this._mode.decrypt(this,e),r.push(n);return i.concat(r)},u.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return function(t){var e=t[15];if(e<1||e>16)throw new Error("unable to decrypt data");for(var n=-1;++n<e;)if(t[n+(16-e)]!==e)throw new Error("unable to decrypt data");if(16!==e)return t.slice(0,16-e)}(this._mode.decrypt(this,t));if(t)throw new Error("data not multiple of block length")},u.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},h.prototype.add=function(t){this.cache=i.concat([this.cache,t])},h.prototype.get=function(t){var e;if(t){if(this.cache.length>16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e}else if(this.cache.length>=16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e;return null},h.prototype.flush=function(){if(this.cache.length)return this.cache},e.createDecipher=function(t,e){var n=o[t.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var r=c(e,!1,n.key,n.iv);return f(t,r.key,r.iv)},e.createDecipheriv=f},5799:(t,e,n)=>{var r=n(530),i=n(2356),o=n(2861).Buffer,a=n(650),s=n(6168),l=n(462),c=n(8078);function u(t,e,n){s.call(this),this._cache=new f,this._cipher=new l.AES(e),this._prev=o.from(n),this._mode=t,this._autopadding=!0}n(6698)(u,s),u.prototype._update=function(t){var e,n;this._cache.add(t);for(var r=[];e=this._cache.get();)n=this._mode.encrypt(this,e),r.push(n);return o.concat(r)};var h=o.alloc(16,16);function f(){this.cache=o.allocUnsafe(0)}function d(t,e,n){var s=r[t.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof e&&(e=o.from(e)),e.length!==s.key/8)throw new TypeError("invalid key length "+e.length);if("string"==typeof n&&(n=o.from(n)),"GCM"!==s.mode&&n.length!==s.iv)throw new TypeError("invalid iv length "+n.length);return"stream"===s.type?new a(s.module,e,n):"auth"===s.type?new i(s.module,e,n):new u(s.module,e,n)}u.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return t=this._mode.encrypt(this,t),this._cipher.scrub(),t;if(!t.equals(h))throw this._cipher.scrub(),new Error("data not multiple of block length")},u.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},f.prototype.add=function(t){this.cache=o.concat([this.cache,t])},f.prototype.get=function(){if(this.cache.length>15){var t=this.cache.slice(0,16);return this.cache=this.cache.slice(16),t}return null},f.prototype.flush=function(){for(var t=16-this.cache.length,e=o.allocUnsafe(t),n=-1;++n<t;)e.writeUInt8(t,n);return o.concat([this.cache,e])},e.createCipheriv=d,e.createCipher=function(t,e){var n=r[t.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var i=c(e,!1,n.key,n.iv);return d(t,i.key,i.iv)}},5892:(t,e,n)=>{var r=n(2861).Buffer,i=r.alloc(16,0);function o(t){var e=r.allocUnsafe(16);return e.writeUInt32BE(t[0]>>>0,0),e.writeUInt32BE(t[1]>>>0,4),e.writeUInt32BE(t[2]>>>0,8),e.writeUInt32BE(t[3]>>>0,12),e}function a(t){this.h=t,this.state=r.alloc(16,0),this.cache=r.allocUnsafe(0)}a.prototype.ghash=function(t){for(var e=-1;++e<t.length;)this.state[e]^=t[e];this._multiply()},a.prototype._multiply=function(){for(var t,e,n,r=[(t=this.h).readUInt32BE(0),t.readUInt32BE(4),t.readUInt32BE(8),t.readUInt32BE(12)],i=[0,0,0,0],a=-1;++a<128;){for(0!=(this.state[~~(a/8)]&1<<7-a%8)&&(i[0]^=r[0],i[1]^=r[1],i[2]^=r[2],i[3]^=r[3]),n=0!=(1&r[3]),e=3;e>0;e--)r[e]=r[e]>>>1|(1&r[e-1])<<31;r[0]=r[0]>>>1,n&&(r[0]=r[0]^225<<24)}this.state=o(i)},a.prototype.update=function(t){var e;for(this.cache=r.concat([this.cache,t]);this.cache.length>=16;)e=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(e)},a.prototype.final=function(t,e){return this.cache.length&&this.ghash(r.concat([this.cache,i],16)),this.ghash(o([0,t,0,e])),this.state},t.exports=a},5122:t=>{t.exports=function(t){for(var e,n=t.length;n--;){if(255!==(e=t.readUInt8(n))){e++,t.writeUInt8(e,n);break}t.writeUInt8(0,n)}}},2884:(t,e,n)=>{var r=n(295);e.encrypt=function(t,e){var n=r(e,t._prev);return t._prev=t._cipher.encryptBlock(n),t._prev},e.decrypt=function(t,e){var n=t._prev;t._prev=e;var i=t._cipher.decryptBlock(e);return r(i,n)}},6383:(t,e,n)=>{var r=n(2861).Buffer,i=n(295);function o(t,e,n){var o=e.length,a=i(e,t._cache);return t._cache=t._cache.slice(o),t._prev=r.concat([t._prev,n?e:a]),a}e.encrypt=function(t,e,n){for(var i,a=r.allocUnsafe(0);e.length;){if(0===t._cache.length&&(t._cache=t._cipher.encryptBlock(t._prev),t._prev=r.allocUnsafe(0)),!(t._cache.length<=e.length)){a=r.concat([a,o(t,e,n)]);break}i=t._cache.length,a=r.concat([a,o(t,e.slice(0,i),n)]),e=e.slice(i)}return a}},5264:(t,e,n)=>{var r=n(2861).Buffer;function i(t,e,n){for(var r,i,a=-1,s=0;++a<8;)r=e&1<<7-a?128:0,s+=(128&(i=t._cipher.encryptBlock(t._prev)[0]^r))>>a%8,t._prev=o(t._prev,n?r:i);return s}function o(t,e){var n=t.length,i=-1,o=r.allocUnsafe(t.length);for(t=r.concat([t,r.from([e])]);++i<n;)o[i]=t[i]<<1|t[i+1]>>7;return o}e.encrypt=function(t,e,n){for(var o=e.length,a=r.allocUnsafe(o),s=-1;++s<o;)a[s]=i(t,e[s],n);return a}},6975:(t,e,n)=>{var r=n(2861).Buffer;function i(t,e,n){var i=t._cipher.encryptBlock(t._prev)[0]^e;return t._prev=r.concat([t._prev.slice(1),r.from([n?e:i])]),i}e.encrypt=function(t,e,n){for(var o=e.length,a=r.allocUnsafe(o),s=-1;++s<o;)a[s]=i(t,e[s],n);return a}},3053:(t,e,n)=>{var r=n(295),i=n(2861).Buffer,o=n(5122);function a(t){var e=t._cipher.encryptBlockRaw(t._prev);return o(t._prev),e}e.encrypt=function(t,e){var n=Math.ceil(e.length/16),o=t._cache.length;t._cache=i.concat([t._cache,i.allocUnsafe(16*n)]);for(var s=0;s<n;s++){var l=a(t),c=o+16*s;t._cache.writeUInt32BE(l[0],c+0),t._cache.writeUInt32BE(l[1],c+4),t._cache.writeUInt32BE(l[2],c+8),t._cache.writeUInt32BE(l[3],c+12)}var u=t._cache.slice(0,e.length);return t._cache=t._cache.slice(e.length),r(e,u)}},2632:(t,e)=>{e.encrypt=function(t,e){return t._cipher.encryptBlock(e)},e.decrypt=function(t,e){return t._cipher.decryptBlock(e)}},530:(t,e,n)=>{var r={ECB:n(2632),CBC:n(2884),CFB:n(6383),CFB8:n(6975),CFB1:n(5264),OFB:n(6843),CTR:n(3053),GCM:n(3053)},i=n(3219);for(var o in i)i[o].module=r[i[o].mode];t.exports=i},6843:(t,e,n)=>{var r=n(8287).Buffer,i=n(295);function o(t){return t._prev=t._cipher.encryptBlock(t._prev),t._prev}e.encrypt=function(t,e){for(;t._cache.length<e.length;)t._cache=r.concat([t._cache,o(t)]);var n=t._cache.slice(0,e.length);return t._cache=t._cache.slice(e.length),i(e,n)}},650:(t,e,n)=>{var r=n(462),i=n(2861).Buffer,o=n(6168);function a(t,e,n,a){o.call(this),this._cipher=new r.AES(e),this._prev=i.from(n),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._mode=t}n(6698)(a,o),a.prototype._update=function(t){return this._mode.encrypt(this,t,this._decrypt)},a.prototype._final=function(){this._cipher.scrub()},t.exports=a},125:(t,e,n)=>{var r=n(4050),i=n(1241),o=n(530),a=n(2438),s=n(8078);function l(t,e,n){if(t=t.toLowerCase(),o[t])return i.createCipheriv(t,e,n);if(a[t])return new r({key:e,iv:n,mode:t});throw new TypeError("invalid suite type")}function c(t,e,n){if(t=t.toLowerCase(),o[t])return i.createDecipheriv(t,e,n);if(a[t])return new r({key:e,iv:n,mode:t,decrypt:!0});throw new TypeError("invalid suite type")}e.createCipher=e.Cipher=function(t,e){var n,r;if(t=t.toLowerCase(),o[t])n=o[t].key,r=o[t].iv;else{if(!a[t])throw new TypeError("invalid suite type");n=8*a[t].key,r=a[t].iv}var i=s(e,!1,n,r);return l(t,i.key,i.iv)},e.createCipheriv=e.Cipheriv=l,e.createDecipher=e.Decipher=function(t,e){var n,r;if(t=t.toLowerCase(),o[t])n=o[t].key,r=o[t].iv;else{if(!a[t])throw new TypeError("invalid suite type");n=8*a[t].key,r=a[t].iv}var i=s(e,!1,n,r);return c(t,i.key,i.iv)},e.createDecipheriv=e.Decipheriv=c,e.listCiphers=e.getCiphers=function(){return Object.keys(a).concat(i.getCiphers())}},4050:(t,e,n)=>{var r=n(6168),i=n(9560),o=n(6698),a=n(2861).Buffer,s={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};function l(t){r.call(this);var e,n=t.mode.toLowerCase(),i=s[n];e=t.decrypt?"decrypt":"encrypt";var o=t.key;a.isBuffer(o)||(o=a.from(o)),"des-ede"!==n&&"des-ede-cbc"!==n||(o=a.concat([o,o.slice(0,8)]));var l=t.iv;a.isBuffer(l)||(l=a.from(l)),this._des=i.create({key:o,iv:l,type:e})}s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],t.exports=l,o(l,r),l.prototype._update=function(t){return a.from(this._des.update(t))},l.prototype._final=function(){return a.from(this._des.final())}},2438:(t,e)=>{e["des-ecb"]={key:8,iv:0},e["des-cbc"]=e.des={key:8,iv:8},e["des-ede3-cbc"]=e.des3={key:24,iv:8},e["des-ede3"]={key:24,iv:0},e["des-ede-cbc"]={key:16,iv:8},e["des-ede"]={key:16,iv:0}},7332:(t,e,n)=>{var r=n(8287).Buffer,i=n(9404),o=n(3209);function a(t){var e,n=t.modulus.byteLength();do{e=new i(o(n))}while(e.cmp(t.modulus)>=0||!e.umod(t.prime1)||!e.umod(t.prime2));return e}function s(t,e){var n=function(t){var e=a(t);return{blinder:e.toRed(i.mont(t.modulus)).redPow(new i(t.publicExponent)).fromRed(),unblinder:e.invm(t.modulus)}}(e),o=e.modulus.byteLength(),s=new i(t).mul(n.blinder).umod(e.modulus),l=s.toRed(i.mont(e.prime1)),c=s.toRed(i.mont(e.prime2)),u=e.coefficient,h=e.prime1,f=e.prime2,d=l.redPow(e.exponent1).fromRed(),p=c.redPow(e.exponent2).fromRed(),m=d.isub(p).imul(u).umod(h).imul(f);return p.iadd(m).imul(n.unblinder).umod(e.modulus).toArrayLike(r,"be",o)}s.getr=a,t.exports=s},5715:(t,e,n)=>{t.exports=n(2951)},20:(t,e,n)=>{var r=n(2861).Buffer,i=n(7108),o=n(6737),a=n(6698),s=n(5359),l=n(4847),c=n(2951);function u(t){o.Writable.call(this);var e=c[t];if(!e)throw new Error("Unknown message digest");this._hashType=e.hash,this._hash=i(e.hash),this._tag=e.id,this._signType=e.sign}function h(t){o.Writable.call(this);var e=c[t];if(!e)throw new Error("Unknown message digest");this._hash=i(e.hash),this._tag=e.id,this._signType=e.sign}function f(t){return new u(t)}function d(t){return new h(t)}Object.keys(c).forEach((function(t){c[t].id=r.from(c[t].id,"hex"),c[t.toLowerCase()]=c[t]})),a(u,o.Writable),u.prototype._write=function(t,e,n){this._hash.update(t),n()},u.prototype.update=function(t,e){return"string"==typeof t&&(t=r.from(t,e)),this._hash.update(t),this},u.prototype.sign=function(t,e){this.end();var n=this._hash.digest(),r=s(n,t,this._hashType,this._signType,this._tag);return e?r.toString(e):r},a(h,o.Writable),h.prototype._write=function(t,e,n){this._hash.update(t),n()},h.prototype.update=function(t,e){return"string"==typeof t&&(t=r.from(t,e)),this._hash.update(t),this},h.prototype.verify=function(t,e,n){"string"==typeof e&&(e=r.from(e,n)),this.end();var i=this._hash.digest();return l(e,i,t,this._signType,this._tag)},t.exports={Sign:f,Verify:d,createSign:f,createVerify:d}},5359:(t,e,n)=>{var r=n(2861).Buffer,i=n(3507),o=n(7332),a=n(6729).ec,s=n(9404),l=n(8170),c=n(4589);function u(t,e,n,o){if((t=r.from(t.toArray())).length<e.byteLength()){var a=r.alloc(e.byteLength()-t.length);t=r.concat([a,t])}var s=n.length,l=function(t,e){t=(t=h(t,e)).mod(e);var n=r.from(t.toArray());if(n.length<e.byteLength()){var i=r.alloc(e.byteLength()-n.length);n=r.concat([i,n])}return n}(n,e),c=r.alloc(s);c.fill(1);var u=r.alloc(s);return u=i(o,u).update(c).update(r.from([0])).update(t).update(l).digest(),c=i(o,u).update(c).digest(),{k:u=i(o,u).update(c).update(r.from([1])).update(t).update(l).digest(),v:c=i(o,u).update(c).digest()}}function h(t,e){var n=new s(t),r=(t.length<<3)-e.bitLength();return r>0&&n.ishrn(r),n}function f(t,e,n){var o,a;do{for(o=r.alloc(0);8*o.length<t.bitLength();)e.v=i(n,e.k).update(e.v).digest(),o=r.concat([o,e.v]);a=h(o,t),e.k=i(n,e.k).update(e.v).update(r.from([0])).digest(),e.v=i(n,e.k).update(e.v).digest()}while(-1!==a.cmp(t));return a}function d(t,e,n,r){return t.toRed(s.mont(n)).redPow(e).fromRed().mod(r)}t.exports=function(t,e,n,i,p){var m=l(e);if(m.curve){if("ecdsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");return function(t,e){var n=c[e.curve.join(".")];if(!n)throw new Error("unknown curve "+e.curve.join("."));var i=new a(n).keyFromPrivate(e.privateKey).sign(t);return r.from(i.toDER())}(t,m)}if("dsa"===m.type){if("dsa"!==i)throw new Error("wrong private key type");return function(t,e,n){for(var i,o=e.params.priv_key,a=e.params.p,l=e.params.q,c=e.params.g,p=new s(0),m=h(t,l).mod(l),g=!1,y=u(o,l,t,n);!1===g;)p=d(c,i=f(l,y,n),a,l),0===(g=i.invm(l).imul(m.add(o.mul(p))).mod(l)).cmpn(0)&&(g=!1,p=new s(0));return function(t,e){t=t.toArray(),e=e.toArray(),128&t[0]&&(t=[0].concat(t)),128&e[0]&&(e=[0].concat(e));var n=[48,t.length+e.length+4,2,t.length];return n=n.concat(t,[2,e.length],e),r.from(n)}(p,g)}(t,m,n)}if("rsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");t=r.concat([p,t]);for(var g=m.modulus.byteLength(),y=[0,1];t.length+y.length+1<g;)y.push(255);y.push(0);for(var w=-1;++w<t.length;)y.push(t[w]);return o(y,m)},t.exports.getKey=u,t.exports.makeKey=f},4847:(t,e,n)=>{var r=n(2861).Buffer,i=n(9404),o=n(6729).ec,a=n(8170),s=n(4589);function l(t,e){if(t.cmpn(0)<=0)throw new Error("invalid sig");if(t.cmp(e)>=e)throw new Error("invalid sig")}t.exports=function(t,e,n,c,u){var h=a(n);if("ec"===h.type){if("ecdsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");return function(t,e,n){var r=s[n.data.algorithm.curve.join(".")];if(!r)throw new Error("unknown curve "+n.data.algorithm.curve.join("."));var i=new o(r),a=n.data.subjectPrivateKey.data;return i.verify(e,t,a)}(t,e,h)}if("dsa"===h.type){if("dsa"!==c)throw new Error("wrong public key type");return function(t,e,n){var r=n.data.p,o=n.data.q,s=n.data.g,c=n.data.pub_key,u=a.signature.decode(t,"der"),h=u.s,f=u.r;l(h,o),l(f,o);var d=i.mont(r),p=h.invm(o);return 0===s.toRed(d).redPow(new i(e).mul(p).mod(o)).fromRed().mul(c.toRed(d).redPow(f.mul(p).mod(o)).fromRed()).mod(r).mod(o).cmp(f)}(t,e,h)}if("rsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");e=r.concat([u,e]);for(var f=h.modulus.byteLength(),d=[1],p=0;e.length+d.length+2<f;)d.push(255),p++;d.push(0);for(var m=-1;++m<e.length;)d.push(e[m]);d=r.from(d);var g=i.mont(h.modulus);t=(t=new i(t).toRed(g)).redPow(new i(h.publicExponent)),t=r.from(t.fromRed().toArray());var y=p<8?1:0;for(f=Math.min(t.length,d.length),t.length!==d.length&&(y=1),m=-1;++m<f;)y|=t[m]^d[m];return 0===y}},2686:t=>{"use strict";var e={};function n(t,n,r){r||(r=Error);var i=function(t){var e,r;function i(e,r,i){return t.call(this,function(t,e,r){return"string"==typeof n?n:n(t,e,r)}(e,r,i))||this}return r=t,(e=i).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r,i}(r);i.prototype.name=r.name,i.prototype.code=t,e[t]=i}function r(t,e){if(Array.isArray(t)){var n=t.length;return t=t.map((function(t){return String(t)})),n>2?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:2===n?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}n("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),n("ERR_INVALID_ARG_TYPE",(function(t,e,n){var i,o,a,s,l;if("string"==typeof e&&(o="not ",e.substr(0,4)===o)?(i="must not be",e=e.replace(/^not /,"")):i="must be",function(t,e,n){return(void 0===n||n>t.length)&&(n=t.length),t.substring(n-9,n)===e}(t," argument"))a="The ".concat(t," ").concat(i," ").concat(r(e,"type"));else{var c=("number"!=typeof l&&(l=0),l+1>(s=t).length||-1===s.indexOf(".",l)?"argument":"property");a='The "'.concat(t,'" ').concat(c," ").concat(i," ").concat(r(e,"type"))}return a+". Received type ".concat(typeof n)}),TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.F=e},6248:(t,e,n)=>{"use strict";var r=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=c;var i=n(206),o=n(7314);n(6698)(c,i);for(var a=r(o.prototype),s=0;s<a.length;s++){var l=a[s];c.prototype[l]||(c.prototype[l]=o.prototype[l])}function c(t){if(!(this instanceof c))return new c(t);i.call(this,t),o.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",u)))}function u(){this._writableState.ended||{env:{}}.nextTick(h,this)}function h(t){t.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}})},5242:(t,e,n)=>{"use strict";t.exports=i;var r=n(1816);function i(t){if(!(this instanceof i))return new i(t);r.call(this,t)}n(6698)(i,r),i.prototype._transform=function(t,e,n){n(null,t)}},206:(t,e,n)=>{"use strict";var r;t.exports=M,M.ReadableState=A,n(7007).EventEmitter;var i,o=function(t,e){return t.listeners(e).length},a=n(5567),s=n(8287).Buffer,l=(void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},c=n(2668);i=c&&c.debuglog?c.debuglog("stream"):function(){};var u,h,f,d=n(2851),p=n(6278),m=n(7385).getHighWaterMark,g=n(2686).F,y=g.ERR_INVALID_ARG_TYPE,w=g.ERR_STREAM_PUSH_AFTER_EOF,b=g.ERR_METHOD_NOT_IMPLEMENTED,v=g.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n(6698)(M,a);var E=p.errorOrDestroy,_=["error","close","destroy","pause","resume"];function A(t,e,i){r=r||n(6248),t=t||{},"boolean"!=typeof i&&(i=e instanceof r),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=m(this,t,"readableHighWaterMark",i),this.buffer=new d,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!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(u||(u=n(3141).I),this.decoder=new u(t.encoding),this.encoding=t.encoding)}function M(t){if(r=r||n(6248),!(this instanceof M))return new M(t);var e=this instanceof r;this._readableState=new A(t,this,e),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),a.call(this)}function T(t,e,n,r,o){i("readableAddChunk",e);var a,c=t._readableState;if(null===e)c.reading=!1,function(t,e){if(i("onEofChunk"),!e.ended){if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,e.sync?C(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,D(t)))}}(t,c);else if(o||(a=function(t,e){var n,r;return r=e,s.isBuffer(r)||r instanceof l||"string"==typeof e||void 0===e||t.objectMode||(n=new y("chunk",["string","Buffer","Uint8Array"],e)),n}(c,e)),a)E(t,a);else if(c.objectMode||e&&e.length>0)if("string"==typeof e||c.objectMode||Object.getPrototypeOf(e)===s.prototype||(e=function(t){return s.from(t)}(e)),r)c.endEmitted?E(t,new v):x(t,c,e,!0);else if(c.ended)E(t,new w);else{if(c.destroyed)return!1;c.reading=!1,c.decoder&&!n?(e=c.decoder.write(e),c.objectMode||0!==e.length?x(t,c,e,!1):I(t,c)):x(t,c,e,!1)}else r||(c.reading=!1,I(t,c));return!c.ended&&(c.length<c.highWaterMark||0===c.length)}function x(t,e,n,r){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",n)):(e.length+=e.objectMode?1:n.length,r?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&C(t)),I(t,e)}Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),M.prototype.destroy=p.destroy,M.prototype._undestroy=p.undestroy,M.prototype._destroy=function(t,e){e(t)},M.prototype.push=function(t,e){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof t&&((e=e||r.defaultEncoding)!==r.encoding&&(t=s.from(t,e),e=""),n=!0),T(this,t,e,!1,n)},M.prototype.unshift=function(t){return T(this,t,null,!0,!1)},M.prototype.isPaused=function(){return!1===this._readableState.flowing},M.prototype.setEncoding=function(t){u||(u=n(3141).I);var e=new u(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i="";null!==r;)i+=e.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var S=1073741824;function k(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=S?t=S:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function C(t){var e=t._readableState;i("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(i("emitReadable",e.flowing),e.emittedReadable=!0,{env:{}}.nextTick(D,t))}function D(t){var e=t._readableState;i("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,P(t)}function I(t,e){e.readingMore||(e.readingMore=!0,{env:{}}.nextTick(R,t,e))}function R(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length);){var n=e.length;if(i("maybeReadMore read 0"),t.read(0),n===e.length)break}e.readingMore=!1}function N(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function O(t){i("readable nexttick read 0"),t.read(0)}function L(t,e){i("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),P(t),e.flowing&&!e.reading&&t.read(0)}function P(t){var e=t._readableState;for(i("flow",e.flowing);e.flowing&&null!==t.read(););}function F(t,e){return 0===e.length?null:(e.objectMode?n=e.buffer.shift():!t||t>=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):n=e.buffer.consume(t,e.decoder),n);var n}function B(t){var e=t._readableState;i("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,{env:{}}.nextTick(U,e,t))}function U(t,e){if(i("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var n=e._writableState;(!n||n.autoDestroy&&n.finished)&&e.destroy()}}function j(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}M.prototype.read=function(t){i("read",t),t=parseInt(t,10);var e=this._readableState,n=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&((0!==e.highWaterMark?e.length>=e.highWaterMark:e.length>0)||e.ended))return i("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?B(this):C(this),null;if(0===(t=k(t,e))&&e.ended)return 0===e.length&&B(this),null;var r,o=e.needReadable;return i("need readable",o),(0===e.length||e.length-t<e.highWaterMark)&&i("length less than watermark",o=!0),e.ended||e.reading?i("reading or ended",o=!1):o&&(i("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=k(n,e))),null===(r=t>0?F(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&B(this)),null!==r&&this.emit("data",r),r},M.prototype._read=function(t){E(this,new b("_read()"))},M.prototype.pipe=function(t,e){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=t;break;case 1:r.pipes=[r.pipes,t];break;default:r.pipes.push(t)}r.pipesCount+=1,i("pipe count=%d opts=%j",r.pipesCount,e);var a=e&&!1===e.end||t==={env:{}}.stdout||t==={env:{}}.stderr?p:s;function s(){i("onend"),t.end()}r.endEmitted?{env:{}}.nextTick(a):n.once("end",a),t.on("unpipe",(function e(o,a){i("onunpipe"),o===n&&a&&!1===a.hasUnpiped&&(a.hasUnpiped=!0,i("cleanup"),t.removeListener("close",f),t.removeListener("finish",d),t.removeListener("drain",l),t.removeListener("error",h),t.removeListener("unpipe",e),n.removeListener("end",s),n.removeListener("end",p),n.removeListener("data",u),c=!0,!r.awaitDrain||t._writableState&&!t._writableState.needDrain||l())}));var l=function(t){return function(){var e=t._readableState;i("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&o(t,"data")&&(e.flowing=!0,P(t))}}(n);t.on("drain",l);var c=!1;function u(e){i("ondata");var o=t.write(e);i("dest.write",o),!1===o&&((1===r.pipesCount&&r.pipes===t||r.pipesCount>1&&-1!==j(r.pipes,t))&&!c&&(i("false write response, pause",r.awaitDrain),r.awaitDrain++),n.pause())}function h(e){i("onerror",e),p(),t.removeListener("error",h),0===o(t,"error")&&E(t,e)}function f(){t.removeListener("finish",d),p()}function d(){i("onfinish"),t.removeListener("close",f),p()}function p(){i("unpipe"),n.unpipe(t)}return n.on("data",u),function(t,e,n){if("function"==typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}(t,"error",h),t.once("close",f),t.once("finish",d),t.emit("pipe",n),r.flowing||(i("pipe resume"),n.resume()),t},M.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var r=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=j(e.pipes,t);return-1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,n)),this},M.prototype.on=function(t,e){var n=a.prototype.on.call(this,t,e),r=this._readableState;return"data"===t?(r.readableListening=this.listenerCount("readable")>0,!1!==r.flowing&&this.resume()):"readable"===t&&(r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,i("on readable",r.length,r.reading),r.length?C(this):r.reading||{env:{}}.nextTick(O,this))),n},M.prototype.addListener=M.prototype.on,M.prototype.removeListener=function(t,e){var n=a.prototype.removeListener.call(this,t,e);return"readable"===t&&{env:{}}.nextTick(N,this),n},M.prototype.removeAllListeners=function(t){var e=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||{env:{}}.nextTick(N,this),e},M.prototype.resume=function(){var t=this._readableState;return t.flowing||(i("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,{env:{}}.nextTick(L,t,e))}(this,t)),t.paused=!1,this},M.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},M.prototype.wrap=function(t){var e=this,n=this._readableState,r=!1;for(var o in t.on("end",(function(){if(i("wrapped end"),n.decoder&&!n.ended){var t=n.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(o){i("wrapped data"),n.decoder&&(o=n.decoder.write(o)),n.objectMode&&null==o||(n.objectMode||o&&o.length)&&(e.push(o)||(r=!0,t.pause()))})),t)void 0===this[o]&&"function"==typeof t[o]&&(this[o]=function(e){return function(){return t[e].apply(t,arguments)}}(o));for(var a=0;a<_.length;a++)t.on(_[a],this.emit.bind(this,_[a]));return this._read=function(e){i("wrapped _read",e),r&&(r=!1,t.resume())},this},"function"==typeof Symbol&&(M.prototype[Symbol.asyncIterator]=function(){return void 0===h&&(h=n(2485)),h(this)}),Object.defineProperty(M.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(M.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(M.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),M._fromList=F,Object.defineProperty(M.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(M.from=function(t,e){return void 0===f&&(f=n(8591)),f(M,t,e)})},1816:(t,e,n)=>{"use strict";t.exports=u;var r=n(2686).F,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=r.ERR_TRANSFORM_WITH_LENGTH_0,l=n(6248);function c(t,e){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=e&&this.push(e),r(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function u(t){if(!(this instanceof u))return new u(t);l.call(this,t),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",h)}function h(){var t=this;"function"!=typeof this._flush||this._readableState.destroyed?f(this,null,null):this._flush((function(e,n){f(t,e,n)}))}function f(t,e,n){if(e)return t.emit("error",e);if(null!=n&&t.push(n),t._writableState.length)throw new s;if(t._transformState.transforming)throw new a;return t.push(null)}n(6698)(u,l),u.prototype.push=function(t,e){return this._transformState.needTransform=!1,l.prototype.push.call(this,t,e)},u.prototype._transform=function(t,e,n){n(new i("_transform()"))},u.prototype._write=function(t,e,n){var r=this._transformState;if(r.writecb=n,r.writechunk=t,r.writeencoding=e,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},u.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},u.prototype._destroy=function(t,e){l.prototype._destroy.call(this,t,(function(t){e(t)}))}},7314:(t,e,n)=>{"use strict";function r(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,n){var r=t.entry;for(t.entry=null;r;){var i=r.callback;e.pendingcb--,i(undefined),r=r.next}e.corkedRequestsFree.next=t}(e,t)}}var i;t.exports=M,M.WritableState=A;var o,a={deprecate:n(4643)},s=n(5567),l=n(8287).Buffer,c=(void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},u=n(6278),h=n(7385).getHighWaterMark,f=n(2686).F,d=f.ERR_INVALID_ARG_TYPE,p=f.ERR_METHOD_NOT_IMPLEMENTED,m=f.ERR_MULTIPLE_CALLBACK,g=f.ERR_STREAM_CANNOT_PIPE,y=f.ERR_STREAM_DESTROYED,w=f.ERR_STREAM_NULL_VALUES,b=f.ERR_STREAM_WRITE_AFTER_END,v=f.ERR_UNKNOWN_ENCODING,E=u.errorOrDestroy;function _(){}function A(t,e,o){i=i||n(6248),t=t||{},"boolean"!=typeof o&&(o=e instanceof i),this.objectMode=!!t.objectMode,o&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=h(this,t,"writableHighWaterMark",o),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===t.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var n=t._writableState,r=n.sync,i=n.writecb;if("function"!=typeof i)throw new m;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),e)!function(t,e,n,r,i){--e.pendingcb,n?({env:{}}.nextTick(i,r),{env:{}}.nextTick(D,t,e),t._writableState.errorEmitted=!0,E(t,r)):(i(r),t._writableState.errorEmitted=!0,E(t,r),D(t,e))}(t,n,r,e,i);else{var o=k(n)||t.destroyed;o||n.corked||n.bufferProcessing||!n.bufferedRequest||S(t,n),r?{env:{}}.nextTick(x,t,n,o,i):x(t,n,o,i)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}function M(t){var e=this instanceof(i=i||n(6248));if(!e&&!o.call(M,this))return new M(t);this._writableState=new A(t,this,e),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),s.call(this)}function T(t,e,n,r,i,o,a){e.writelen=r,e.writecb=a,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new y("write")):n?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function x(t,e,n,r){n||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,r(),D(t,e)}function S(t,e){e.bufferProcessing=!0;var n=e.bufferedRequest;if(t._writev&&n&&n.next){var i=e.bufferedRequestCount,o=new Array(i),a=e.corkedRequestsFree;a.entry=n;for(var s=0,l=!0;n;)o[s]=n,n.isBuf||(l=!1),n=n.next,s+=1;o.allBuffers=l,T(t,e,!0,e.length,o,"",a.finish),e.pendingcb++,e.lastBufferedRequest=null,a.next?(e.corkedRequestsFree=a.next,a.next=null):e.corkedRequestsFree=new r(e),e.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,u=n.encoding,h=n.callback;if(T(t,e,!1,e.objectMode?1:c.length,c,u,h),n=n.next,e.bufferedRequestCount--,e.writing)break}null===n&&(e.lastBufferedRequest=null)}e.bufferedRequest=n,e.bufferProcessing=!1}function k(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function C(t,e){t._final((function(n){e.pendingcb--,n&&E(t,n),e.prefinished=!0,t.emit("prefinish"),D(t,e)}))}function D(t,e){var n=k(e);if(n&&(function(t,e){e.prefinished||e.finalCalled||("function"!=typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,{env:{}}.nextTick(C,t,e)))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var r=t._readableState;(!r||r.autoDestroy&&r.endEmitted)&&t.destroy()}return n}n(6698)(M,s),A.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(A.prototype,"buffer",{get:a.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(o=Function.prototype[Symbol.hasInstance],Object.defineProperty(M,Symbol.hasInstance,{value:function(t){return!!o.call(this,t)||this===M&&t&&t._writableState instanceof A}})):o=function(t){return t instanceof this},M.prototype.pipe=function(){E(this,new g)},M.prototype.write=function(t,e,n){var r,i=this._writableState,o=!1,a=!i.objectMode&&(r=t,l.isBuffer(r)||r instanceof c);return a&&!l.isBuffer(t)&&(t=function(t){return l.from(t)}(t)),"function"==typeof e&&(n=e,e=null),a?e="buffer":e||(e=i.defaultEncoding),"function"!=typeof n&&(n=_),i.ending?function(t,e){var n=new b;E(t,n),{env:{}}.nextTick(e,n)}(this,n):(a||function(t,e,n,r){var i;return null===n?i=new w:"string"==typeof n||e.objectMode||(i=new d("chunk",["string","Buffer"],n)),!i||(E(t,i),{env:{}}.nextTick(r,i),!1)}(this,i,t,n))&&(i.pendingcb++,o=function(t,e,n,r,i,o){if(!n){var a=function(t,e,n){return t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=l.from(e,n)),e}(e,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=e.objectMode?1:r.length;e.length+=s;var c=e.length<e.highWaterMark;if(c||(e.needDrain=!0),e.writing||e.corked){var u=e.lastBufferedRequest;e.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},u?u.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else T(t,e,!1,s,r,i,o);return c}(this,i,a,t,e,n)),o},M.prototype.cork=function(){this._writableState.corked++},M.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||S(this,t))},M.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new v(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(M.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(M.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),M.prototype._write=function(t,e,n){n(new p("_write()"))},M.prototype._writev=null,M.prototype.end=function(t,e,n){var r=this._writableState;return"function"==typeof t?(n=t,t=null,e=null):"function"==typeof e&&(n=e,e=null),null!=t&&this.write(t,e),r.corked&&(r.corked=1,this.uncork()),r.ending||function(t,e,n){e.ending=!0,D(t,e),n&&(e.finished?{env:{}}.nextTick(n):t.once("finish",n)),e.ended=!0,t.writable=!1}(this,r,n),this},Object.defineProperty(M.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),M.prototype.destroy=u.destroy,M.prototype._undestroy=u.undestroy,M.prototype._destroy=function(t,e){e(t)}},2485:(t,e,n)=>{"use strict";var r;function i(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(3532),a=Symbol("lastResolve"),s=Symbol("lastReject"),l=Symbol("error"),c=Symbol("ended"),u=Symbol("lastPromise"),h=Symbol("handlePromise"),f=Symbol("stream");function d(t,e){return{value:t,done:e}}function p(t){var e=t[a];if(null!==e){var n=t[f].read();null!==n&&(t[u]=null,t[a]=null,t[s]=null,e(d(n,!1)))}}function m(t){({env:{}}).nextTick(p,t)}var g=Object.getPrototypeOf((function(){})),y=Object.setPrototypeOf((i(r={get stream(){return this[f]},next:function(){var t=this,e=this[l];if(null!==e)return Promise.reject(e);if(this[c])return Promise.resolve(d(void 0,!0));if(this[f].destroyed)return new Promise((function(e,n){({env:{}}).nextTick((function(){t[l]?n(t[l]):e(d(void 0,!0))}))}));var n,r=this[u];if(r)n=new Promise(function(t,e){return function(n,r){t.then((function(){e[c]?n(d(void 0,!0)):e[h](n,r)}),r)}}(r,this));else{var i=this[f].read();if(null!==i)return Promise.resolve(d(i,!1));n=new Promise(this[h])}return this[u]=n,n}},Symbol.asyncIterator,(function(){return this})),i(r,"return",(function(){var t=this;return new Promise((function(e,n){t[f].destroy(null,(function(t){t?n(t):e(d(void 0,!0))}))}))})),r),g);t.exports=function(t){var e,n=Object.create(y,(i(e={},f,{value:t,writable:!0}),i(e,a,{value:null,writable:!0}),i(e,s,{value:null,writable:!0}),i(e,l,{value:null,writable:!0}),i(e,c,{value:t._readableState.endEmitted,writable:!0}),i(e,h,{value:function(t,e){var r=n[f].read();r?(n[u]=null,n[a]=null,n[s]=null,t(d(r,!1))):(n[a]=t,n[s]=e)},writable:!0}),e));return n[u]=null,o(t,(function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=n[s];return null!==e&&(n[u]=null,n[a]=null,n[s]=null,e(t)),void(n[l]=t)}var r=n[a];null!==r&&(n[u]=null,n[a]=null,n[s]=null,r(d(void 0,!0))),n[c]=!0})),t.on("readable",m.bind(null,n)),n}},2851:(t,e,n)=>{"use strict";function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){o(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function o(t,e,n){return(e=s(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,s(r.key),r)}}function s(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}var l=n(8287).Buffer,c=n(1638).inspect,u=c&&c.custom||"inspect";t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}var e,n;return e=t,(n=[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,n=""+e.data;e=e.next;)n+=t+e.data;return n}},{key:"concat",value:function(t){if(0===this.length)return l.alloc(0);for(var e,n,r,i=l.allocUnsafe(t>>>0),o=this.head,a=0;o;)e=o.data,n=i,r=a,l.prototype.copy.call(e,n,r),a+=o.data.length,o=o.next;return i}},{key:"consume",value:function(t,e){var n;return t<this.head.data.length?(n=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):n=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var e=this.head,n=1,r=e.data;for(t-=r.length;e=e.next;){var i=e.data,o=t>i.length?i.length:t;if(o===i.length?r+=i:r+=i.slice(0,t),0==(t-=o)){o===i.length?(++n,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(t){var e=l.allocUnsafe(t),n=this.head,r=1;for(n.data.copy(e),t-=n.data.length;n=n.next;){var i=n.data,o=t>i.length?i.length:t;if(i.copy(e,e.length-t,0,o),0==(t-=o)){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,e}},{key:u,value:function(t,e){return c(this,i(i({},e),{},{depth:0,customInspect:!1}))}}])&&a(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),t}()},6278:t=>{"use strict";function e(t,e){r(t,e),n(t)}function n(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function r(t,e){t.emit("error",e)}t.exports={destroy:function(t,i){var o=this,a=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return a||s?(i?i(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,{env:{}}.nextTick(r,this,t)):{env:{}}.nextTick(r,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!i&&t?o._writableState?o._writableState.errorEmitted?{env:{}}.nextTick(n,o):(o._writableState.errorEmitted=!0,{env:{}}.nextTick(e,o,t)):{env:{}}.nextTick(e,o,t):i?({env:{}}.nextTick(n,o),i(t)):{env:{}}.nextTick(n,o)})),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(t,e){var n=t._readableState,r=t._writableState;n&&n.autoDestroy||r&&r.autoDestroy?t.destroy(e):t.emit("error",e)}}},3532:(t,e,n)=>{"use strict";var r=n(2686).F.ERR_STREAM_PREMATURE_CLOSE;function i(){}t.exports=function t(e,n,o){if("function"==typeof n)return t(e,null,n);n||(n={}),o=function(t){var e=!1;return function(){if(!e){e=!0;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.apply(this,r)}}}(o||i);var a=n.readable||!1!==n.readable&&e.readable,s=n.writable||!1!==n.writable&&e.writable,l=function(){e.writable||u()},c=e._writableState&&e._writableState.finished,u=function(){s=!1,c=!0,a||o.call(e)},h=e._readableState&&e._readableState.endEmitted,f=function(){a=!1,h=!0,s||o.call(e)},d=function(t){o.call(e,t)},p=function(){var t;return a&&!h?(e._readableState&&e._readableState.ended||(t=new r),o.call(e,t)):s&&!c?(e._writableState&&e._writableState.ended||(t=new r),o.call(e,t)):void 0},m=function(){e.req.on("finish",u)};return function(t){return t.setHeader&&"function"==typeof t.abort}(e)?(e.on("complete",u),e.on("abort",p),e.req?m():e.on("request",m)):s&&!e._writableState&&(e.on("end",l),e.on("close",l)),e.on("end",f),e.on("finish",u),!1!==n.error&&e.on("error",d),e.on("close",p),function(){e.removeListener("complete",u),e.removeListener("abort",p),e.removeListener("request",m),e.req&&e.req.removeListener("finish",u),e.removeListener("end",l),e.removeListener("close",l),e.removeListener("finish",u),e.removeListener("end",f),e.removeListener("error",d),e.removeListener("close",p)}}},8591:t=>{t.exports=function(){throw new Error("Readable.from is not available in the browser")}},3440:(t,e,n)=>{"use strict";var r,i=n(2686).F,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(t){if(t)throw t}function l(t){t()}function c(t,e){return t.pipe(e)}t.exports=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var u,h=function(t){return t.length?"function"!=typeof t[t.length-1]?s:t.pop():s}(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new o("streams");var f=e.map((function(t,i){var o=i<e.length-1;return function(t,e,i,o){o=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(o);var s=!1;t.on("close",(function(){s=!0})),void 0===r&&(r=n(3532)),r(t,{readable:e,writable:i},(function(t){if(t)return o(t);s=!0,o()}));var l=!1;return function(e){if(!s&&!l)return l=!0,function(t){return t.setHeader&&"function"==typeof t.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void o(e||new a("pipe"))}}(t,o,i>0,(function(t){u||(u=t),t&&f.forEach(l),o||(f.forEach(l),h(u))}))}));return e.reduce(c)}},7385:(t,e,n)=>{"use strict";var r=n(2686).F.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(t,e,n,i){var o=function(t,e,n){return null!=t.highWaterMark?t.highWaterMark:e?t[n]:null}(e,i,n);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new r(i?n:"highWaterMark",o);return Math.floor(o)}return t.objectMode?16:16384}}},5567:(t,e,n)=>{t.exports=n(7007).EventEmitter},6737:(t,e,n)=>{(e=t.exports=n(206)).Stream=e,e.Readable=e,e.Writable=n(7314),e.Duplex=n(6248),e.Transform=n(1816),e.PassThrough=n(5242),e.finished=n(3532),e.pipeline=n(3440)},295:(t,e,n)=>{var r=n(8287).Buffer;t.exports=function(t,e){for(var n=Math.min(t.length,e.length),i=new r(n),o=0;o<n;++o)i[o]=t[o]^e[o];return i}},8287:(t,e,n)=>{"use strict";const r=n(7526),i=n(251),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=l,e.SlowBuffer=function(t){return+t!=t&&(t=0),l.alloc(+t)},e.INSPECT_MAX_BYTES=50;const a=2147483647;function s(t){if(t>a)throw new RangeError('The value "'+t+'" is invalid for option "size"');const e=new Uint8Array(t);return Object.setPrototypeOf(e,l.prototype),e}function l(t,e,n){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return h(t)}return c(t,e,n)}function c(t,e,n){if("string"==typeof t)return function(t,e){if("string"==typeof e&&""!==e||(e="utf8"),!l.isEncoding(e))throw new TypeError("Unknown encoding: "+e);const n=0|m(t,e);let r=s(n);const i=r.write(t,e);return i!==n&&(r=r.slice(0,i)),r}(t,e);if(ArrayBuffer.isView(t))return function(t){if(X(t,Uint8Array)){const e=new Uint8Array(t);return d(e.buffer,e.byteOffset,e.byteLength)}return f(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(X(t,ArrayBuffer)||t&&X(t.buffer,ArrayBuffer))return d(t,e,n);if("undefined"!=typeof SharedArrayBuffer&&(X(t,SharedArrayBuffer)||t&&X(t.buffer,SharedArrayBuffer)))return d(t,e,n);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=t.valueOf&&t.valueOf();if(null!=r&&r!==t)return l.from(r,e,n);const i=function(t){if(l.isBuffer(t)){const e=0|p(t.length),n=s(e);return 0===n.length||t.copy(n,0,0,e),n}return void 0!==t.length?"number"!=typeof t.length||Z(t.length)?s(0):f(t):"Buffer"===t.type&&Array.isArray(t.data)?f(t.data):void 0}(t);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return l.from(t[Symbol.toPrimitive]("string"),e,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function u(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function h(t){return u(t),s(t<0?0:0|p(t))}function f(t){const e=t.length<0?0:0|p(t.length),n=s(e);for(let r=0;r<e;r+=1)n[r]=255&t[r];return n}function d(t,e,n){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(n||0))throw new RangeError('"length" is outside of buffer bounds');let r;return r=void 0===e&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,e):new Uint8Array(t,e,n),Object.setPrototypeOf(r,l.prototype),r}function p(t){if(t>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|t}function m(t,e){if(l.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||X(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);const n=t.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Y(t).length;default:if(i)return r?-1:K(t).length;e=(""+e).toLowerCase(),i=!0}}function g(t,e,n){let r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return D(this,e,n);case"utf8":case"utf-8":return x(this,e,n);case"ascii":return k(this,e,n);case"latin1":case"binary":return C(this,e,n);case"base64":return T(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function y(t,e,n){const r=t[e];t[e]=t[n],t[n]=r}function w(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),Z(n=+n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=l.from(e,r)),l.isBuffer(e))return 0===e.length?-1:b(t,e,n,r,i);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):b(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function b(t,e,n,r,i){let o,a=1,s=t.length,l=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){let r=-1;for(o=n;o<s;o++)if(c(t,o)===c(e,-1===r?0:o-r)){if(-1===r&&(r=o),o-r+1===l)return r*a}else-1!==r&&(o-=o-r),r=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){let n=!0;for(let r=0;r<l;r++)if(c(t,o+r)!==c(e,r)){n=!1;break}if(n)return o}return-1}function v(t,e,n,r){n=Number(n)||0;const i=t.length-n;r?(r=Number(r))>i&&(r=i):r=i;const o=e.length;let a;for(r>o/2&&(r=o/2),a=0;a<r;++a){const r=parseInt(e.substr(2*a,2),16);if(Z(r))return a;t[n+a]=r}return a}function E(t,e,n,r){return V(K(e,t.length-n),t,n,r)}function _(t,e,n,r){return V(function(t){const e=[];for(let n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,r)}function A(t,e,n,r){return V(Y(e),t,n,r)}function M(t,e,n,r){return V(function(t,e){let n,r,i;const o=[];for(let a=0;a<t.length&&!((e-=2)<0);++a)n=t.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function T(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function x(t,e,n){n=Math.min(t.length,n);const r=[];let i=e;for(;i<n;){const e=t[i];let o=null,a=e>239?4:e>223?3:e>191?2:1;if(i+a<=n){let n,r,s,l;switch(a){case 1:e<128&&(o=e);break;case 2:n=t[i+1],128==(192&n)&&(l=(31&e)<<6|63&n,l>127&&(o=l));break;case 3:n=t[i+1],r=t[i+2],128==(192&n)&&128==(192&r)&&(l=(15&e)<<12|(63&n)<<6|63&r,l>2047&&(l<55296||l>57343)&&(o=l));break;case 4:n=t[i+1],r=t[i+2],s=t[i+3],128==(192&n)&&128==(192&r)&&128==(192&s)&&(l=(15&e)<<18|(63&n)<<12|(63&r)<<6|63&s,l>65535&&l<1114112&&(o=l))}}null===o?(o=65533,a=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=a}return function(t){const e=t.length;if(e<=S)return String.fromCharCode.apply(String,t);let n="",r=0;for(;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=S));return n}(r)}e.kMaxLength=a,l.TYPED_ARRAY_SUPPORT=function(){try{const t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),l.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(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(t,e,n){return c(t,e,n)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(t,e,n){return function(t,e,n){return u(t),t<=0?s(t):void 0!==e?"string"==typeof n?s(t).fill(e,n):s(t).fill(e):s(t)}(t,e,n)},l.allocUnsafe=function(t){return h(t)},l.allocUnsafeSlow=function(t){return h(t)},l.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==l.prototype},l.compare=function(t,e){if(X(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),X(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(t)||!l.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;let n=t.length,r=e.length;for(let i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},l.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return l.alloc(0);let n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;const r=l.allocUnsafe(e);let i=0;for(n=0;n<t.length;++n){let e=t[n];if(X(e,Uint8Array))i+e.length>r.length?(l.isBuffer(e)||(e=l.from(e)),e.copy(r,i)):Uint8Array.prototype.set.call(r,e,i);else{if(!l.isBuffer(e))throw new TypeError('"list" argument must be an Array of Buffers');e.copy(r,i)}i+=e.length}return r},l.byteLength=m,l.prototype._isBuffer=!0,l.prototype.swap16=function(){const t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;e<t;e+=2)y(this,e,e+1);return this},l.prototype.swap32=function(){const t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let e=0;e<t;e+=4)y(this,e,e+3),y(this,e+1,e+2);return this},l.prototype.swap64=function(){const t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let e=0;e<t;e+=8)y(this,e,e+7),y(this,e+1,e+6),y(this,e+2,e+5),y(this,e+3,e+4);return this},l.prototype.toString=function(){const t=this.length;return 0===t?"":0===arguments.length?x(this,0,t):g.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(t){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===l.compare(this,t)},l.prototype.inspect=function(){let t="";const n=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(t+=" ... "),"<Buffer "+t+">"},o&&(l.prototype[o]=l.prototype.inspect),l.prototype.compare=function(t,e,n,r,i){if(X(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;let o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(e>>>=0);const s=Math.min(o,a),c=this.slice(r,i),u=t.slice(e,n);for(let t=0;t<s;++t)if(c[t]!==u[t]){o=c[t],a=u[t];break}return o<a?-1:a<o?1:0},l.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},l.prototype.indexOf=function(t,e,n){return w(this,t,e,n,!0)},l.prototype.lastIndexOf=function(t,e,n){return w(this,t,e,n,!1)},l.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let o=!1;for(;;)switch(r){case"hex":return v(this,t,e,n);case"utf8":case"utf-8":return E(this,t,e,n);case"ascii":case"latin1":case"binary":return _(this,t,e,n);case"base64":return A(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const S=4096;function k(t,e,n){let r="";n=Math.min(t.length,n);for(let i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function C(t,e,n){let r="";n=Math.min(t.length,n);for(let i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function D(t,e,n){const r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);let i="";for(let r=e;r<n;++r)i+=$[t[r]];return i}function I(t,e,n){const r=t.slice(e,n);let i="";for(let t=0;t<r.length-1;t+=2)i+=String.fromCharCode(r[t]+256*r[t+1]);return i}function R(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function N(t,e,n,r,i,o){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function O(t,e,n,r,i){z(e,r,i,t,n,7);let o=Number(e&BigInt(4294967295));t[n++]=o,o>>=8,t[n++]=o,o>>=8,t[n++]=o,o>>=8,t[n++]=o;let a=Number(e>>BigInt(32)&BigInt(4294967295));return t[n++]=a,a>>=8,t[n++]=a,a>>=8,t[n++]=a,a>>=8,t[n++]=a,n}function L(t,e,n,r,i){z(e,r,i,t,n,7);let o=Number(e&BigInt(4294967295));t[n+7]=o,o>>=8,t[n+6]=o,o>>=8,t[n+5]=o,o>>=8,t[n+4]=o;let a=Number(e>>BigInt(32)&BigInt(4294967295));return t[n+3]=a,a>>=8,t[n+2]=a,a>>=8,t[n+1]=a,a>>=8,t[n]=a,n+8}function P(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function F(t,e,n,r,o){return e=+e,n>>>=0,o||P(t,0,n,4),i.write(t,e,n,r,23,4),n+4}function B(t,e,n,r,o){return e=+e,n>>>=0,o||P(t,0,n,8),i.write(t,e,n,r,52,8),n+8}l.prototype.slice=function(t,e){const n=this.length;(t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t);const r=this.subarray(t,e);return Object.setPrototypeOf(r,l.prototype),r},l.prototype.readUintLE=l.prototype.readUIntLE=function(t,e,n){t>>>=0,e>>>=0,n||R(t,e,this.length);let r=this[t],i=1,o=0;for(;++o<e&&(i*=256);)r+=this[t+o]*i;return r},l.prototype.readUintBE=l.prototype.readUIntBE=function(t,e,n){t>>>=0,e>>>=0,n||R(t,e,this.length);let r=this[t+--e],i=1;for(;e>0&&(i*=256);)r+=this[t+--e]*i;return r},l.prototype.readUint8=l.prototype.readUInt8=function(t,e){return t>>>=0,e||R(t,1,this.length),this[t]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(t,e){return t>>>=0,e||R(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(t,e){return t>>>=0,e||R(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(t,e){return t>>>=0,e||R(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(t,e){return t>>>=0,e||R(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readBigUInt64LE=Q((function(t){q(t>>>=0,"offset");const e=this[t],n=this[t+7];void 0!==e&&void 0!==n||W(t,this.length-8);const r=e+256*this[++t]+65536*this[++t]+this[++t]*2**24,i=this[++t]+256*this[++t]+65536*this[++t]+n*2**24;return BigInt(r)+(BigInt(i)<<BigInt(32))})),l.prototype.readBigUInt64BE=Q((function(t){q(t>>>=0,"offset");const e=this[t],n=this[t+7];void 0!==e&&void 0!==n||W(t,this.length-8);const r=e*2**24+65536*this[++t]+256*this[++t]+this[++t],i=this[++t]*2**24+65536*this[++t]+256*this[++t]+n;return(BigInt(r)<<BigInt(32))+BigInt(i)})),l.prototype.readIntLE=function(t,e,n){t>>>=0,e>>>=0,n||R(t,e,this.length);let r=this[t],i=1,o=0;for(;++o<e&&(i*=256);)r+=this[t+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*e)),r},l.prototype.readIntBE=function(t,e,n){t>>>=0,e>>>=0,n||R(t,e,this.length);let r=e,i=1,o=this[t+--r];for(;r>0&&(i*=256);)o+=this[t+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},l.prototype.readInt8=function(t,e){return t>>>=0,e||R(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},l.prototype.readInt16LE=function(t,e){t>>>=0,e||R(t,2,this.length);const n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(t,e){t>>>=0,e||R(t,2,this.length);const n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(t,e){return t>>>=0,e||R(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,e){return t>>>=0,e||R(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readBigInt64LE=Q((function(t){q(t>>>=0,"offset");const e=this[t],n=this[t+7];void 0!==e&&void 0!==n||W(t,this.length-8);const r=this[t+4]+256*this[t+5]+65536*this[t+6]+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(e+256*this[++t]+65536*this[++t]+this[++t]*2**24)})),l.prototype.readBigInt64BE=Q((function(t){q(t>>>=0,"offset");const e=this[t],n=this[t+7];void 0!==e&&void 0!==n||W(t,this.length-8);const r=(e<<24)+65536*this[++t]+256*this[++t]+this[++t];return(BigInt(r)<<BigInt(32))+BigInt(this[++t]*2**24+65536*this[++t]+256*this[++t]+n)})),l.prototype.readFloatLE=function(t,e){return t>>>=0,e||R(t,4,this.length),i.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,e){return t>>>=0,e||R(t,4,this.length),i.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,e){return t>>>=0,e||R(t,8,this.length),i.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,e){return t>>>=0,e||R(t,8,this.length),i.read(this,t,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(t,e,n,r){t=+t,e>>>=0,n>>>=0,r||N(this,t,e,n,Math.pow(2,8*n)-1,0);let i=1,o=0;for(this[e]=255&t;++o<n&&(i*=256);)this[e+o]=t/i&255;return e+n},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(t,e,n,r){t=+t,e>>>=0,n>>>=0,r||N(this,t,e,n,Math.pow(2,8*n)-1,0);let i=n-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+n},l.prototype.writeUint8=l.prototype.writeUInt8=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,1,255,0),this[e]=255&t,e+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},l.prototype.writeBigUInt64LE=Q((function(t,e=0){return O(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeBigUInt64BE=Q((function(t,e=0){return L(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e>>>=0,!r){const r=Math.pow(2,8*n-1);N(this,t,e,n,r-1,-r)}let i=0,o=1,a=0;for(this[e]=255&t;++i<n&&(o*=256);)t<0&&0===a&&0!==this[e+i-1]&&(a=1),this[e+i]=(t/o>>0)-a&255;return e+n},l.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e>>>=0,!r){const r=Math.pow(2,8*n-1);N(this,t,e,n,r-1,-r)}let i=n-1,o=1,a=0;for(this[e+i]=255&t;--i>=0&&(o*=256);)t<0&&0===a&&0!==this[e+i+1]&&(a=1),this[e+i]=(t/o>>0)-a&255;return e+n},l.prototype.writeInt8=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},l.prototype.writeInt16LE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},l.prototype.writeInt16BE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},l.prototype.writeInt32LE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},l.prototype.writeInt32BE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},l.prototype.writeBigInt64LE=Q((function(t,e=0){return O(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeBigInt64BE=Q((function(t,e=0){return L(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeFloatLE=function(t,e,n){return F(this,t,e,!0,n)},l.prototype.writeFloatBE=function(t,e,n){return F(this,t,e,!1,n)},l.prototype.writeDoubleLE=function(t,e,n){return B(this,t,e,!0,n)},l.prototype.writeDoubleBE=function(t,e,n){return B(this,t,e,!1,n)},l.prototype.copy=function(t,e,n,r){if(!l.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);const i=r-n;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,n,r):Uint8Array.prototype.set.call(t,this.subarray(n,r),e),i},l.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===t.length){const e=t.charCodeAt(0);("utf8"===r&&e<128||"latin1"===r)&&(t=e)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;let i;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(i=e;i<n;++i)this[i]=t;else{const o=l.isBuffer(t)?t:l.from(t,r),a=o.length;if(0===a)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<n-e;++i)this[i+e]=o[i%a]}return this};const U={};function j(t,e,n){U[t]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${t}]`,this.stack,delete this.name}get code(){return t}set code(t){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:t,writable:!0})}toString(){return`${this.name} [${t}]: ${this.message}`}}}function H(t){let e="",n=t.length;const r="-"===t[0]?1:0;for(;n>=r+4;n-=3)e=`_${t.slice(n-3,n)}${e}`;return`${t.slice(0,n)}${e}`}function z(t,e,n,r,i,o){if(t>n||t<e){const r="bigint"==typeof e?"n":"";let i;throw i=o>3?0===e||e===BigInt(0)?`>= 0${r} and < 2${r} ** ${8*(o+1)}${r}`:`>= -(2${r} ** ${8*(o+1)-1}${r}) and < 2 ** ${8*(o+1)-1}${r}`:`>= ${e}${r} and <= ${n}${r}`,new U.ERR_OUT_OF_RANGE("value",i,t)}!function(t,e,n){q(e,"offset"),void 0!==t[e]&&void 0!==t[e+n]||W(e,t.length-(n+1))}(r,i,o)}function q(t,e){if("number"!=typeof t)throw new U.ERR_INVALID_ARG_TYPE(e,"number",t)}function W(t,e,n){if(Math.floor(t)!==t)throw q(t,n),new U.ERR_OUT_OF_RANGE(n||"offset","an integer",t);if(e<0)throw new U.ERR_BUFFER_OUT_OF_BOUNDS;throw new U.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${e}`,t)}j("ERR_BUFFER_OUT_OF_BOUNDS",(function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),j("ERR_INVALID_ARG_TYPE",(function(t,e){return`The "${t}" argument must be of type number. Received type ${typeof e}`}),TypeError),j("ERR_OUT_OF_RANGE",(function(t,e,n){let r=`The value of "${t}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>2**32?i=H(String(n)):"bigint"==typeof n&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=H(i)),i+="n"),r+=` It must be ${e}. Received ${i}`,r}),RangeError);const G=/[^+/0-9A-Za-z-_]/g;function K(t,e){let n;e=e||1/0;const r=t.length;let i=null;const o=[];for(let a=0;a<r;++a){if(n=t.charCodeAt(a),n>55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Y(t){return r.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(G,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function V(t,e,n,r){let i;for(i=0;i<r&&!(i+n>=e.length||i>=t.length);++i)e[i+n]=t[i];return i}function X(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function Z(t){return t!=t}const $=function(){const t="0123456789abcdef",e=new Array(256);for(let n=0;n<16;++n){const r=16*n;for(let i=0;i<16;++i)e[r+i]=t[n]+t[i]}return e}();function Q(t){return"undefined"==typeof BigInt?J:t}function J(){throw new Error("BigInt not supported")}},8075:(t,e,n)=>{"use strict";var r=n(453),i=n(487),o=i(r("String.prototype.indexOf"));t.exports=function(t,e){var n=r(t,!!e);return"function"==typeof n&&o(t,".prototype.")>-1?i(n):n}},487:(t,e,n)=>{"use strict";var r=n(6743),i=n(453),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||r.call(a,o),l=i("%Object.getOwnPropertyDescriptor%",!0),c=i("%Object.defineProperty%",!0),u=i("%Math.max%");if(c)try{c({},"a",{value:1})}catch(t){c=null}t.exports=function(t){var e=s(r,a,arguments);return l&&c&&l(e,"length").configurable&&c(e,"length",{value:1+u(0,t.length-(arguments.length-1))}),e};var h=function(){return s(r,o,arguments)};c?c(t.exports,"apply",{value:h}):t.exports.apply=h},6168:(t,e,n)=>{var r=n(2861).Buffer,i=n(8310).Transform,o=n(3141).I;function a(t){i.call(this),this.hashMode="string"==typeof t,this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}n(6698)(a,i),a.prototype.update=function(t,e,n){"string"==typeof t&&(t=r.from(t,e));var i=this._update(t);return this.hashMode?this:(n&&(i=this._toString(i,n)),i)},a.prototype.setAutoPadding=function(){},a.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},a.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},a.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},a.prototype._transform=function(t,e,n){var r;try{this.hashMode?this._update(t):this.push(this._update(t))}catch(t){r=t}finally{n(r)}},a.prototype._flush=function(t){var e;try{this.push(this.__final())}catch(t){e=t}t(e)},a.prototype._finalOrDigest=function(t){var e=this.__final()||r.alloc(0);return t&&(e=this._toString(e,t,!0)),e},a.prototype._toString=function(t,e,n){if(this._decoder||(this._decoder=new o(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var r=this._decoder.write(t);return n&&(r+=this._decoder.end()),r},t.exports=a},1324:(t,e,n)=>{var r=n(8287).Buffer,i=n(6729),o=n(2801);t.exports=function(t){return new s(t)};var a={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function s(t){this.curveType=a[t],this.curveType||(this.curveType={name:t}),this.curve=new i.ec(this.curveType.name),this.keys=void 0}function l(t,e,n){Array.isArray(t)||(t=t.toArray());var i=new r(t);if(n&&i.length<n){var o=new r(n-i.length);o.fill(0),i=r.concat([o,i])}return e?i.toString(e):i}a.p224=a.secp224r1,a.p256=a.secp256r1=a.prime256v1,a.p192=a.secp192r1=a.prime192v1,a.p384=a.secp384r1,a.p521=a.secp521r1,s.prototype.generateKeys=function(t,e){return this.keys=this.curve.genKeyPair(),this.getPublicKey(t,e)},s.prototype.computeSecret=function(t,e,n){return e=e||"utf8",r.isBuffer(t)||(t=new r(t,e)),l(this.curve.keyFromPublic(t).getPublic().mul(this.keys.getPrivate()).getX(),n,this.curveType.byteLength)},s.prototype.getPublicKey=function(t,e){var n=this.keys.getPublic("compressed"===e,!0);return"hybrid"===e&&(n[n.length-1]%2?n[0]=7:n[0]=6),l(n,t)},s.prototype.getPrivateKey=function(t){return l(this.keys.getPrivate(),t)},s.prototype.setPublicKey=function(t,e){return e=e||"utf8",r.isBuffer(t)||(t=new r(t,e)),this.keys._importPublic(t),this},s.prototype.setPrivateKey=function(t,e){e=e||"utf8",r.isBuffer(t)||(t=new r(t,e));var n=new o(t);return n=n.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(n),this}},2801:function(t,e,n){!function(t,e){"use strict";function r(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var a;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:n(7965).Buffer}catch(t){}function s(t,e){var n=t.charCodeAt(e);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function l(t,e,n){var r=s(t,n);return n-1>=e&&(r|=s(t,n-1)<<4),r}function c(t,e,n,r){for(var i=0,o=Math.min(t.length,n),a=e;a<o;a++){var s=t.charCodeAt(a)-48;i*=r,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"==typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,n){if("number"==typeof t)return this._initNumber(t,e,n);if("object"==typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),r(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,n):(this._parseBase(t,e,i),"le"===n&&this._initArray(this.toArray(),e,n)))},o.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(r(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initArray=function(t,e,n){if(r("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===n)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,n){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,o=0,a=0;if("be"===n)for(r=t.length-1;r>=e;r-=2)i=l(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(t.length-e)%2==0?e+1:e;r<t.length;r+=2)i=l(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,u=n;u<s;u+=r)l=c(t,u,u+r,e),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==a){var h=1;for(l=c(t,u,t.length,e),u=0;u<a;u++)h*=e;this.imuln(h),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&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},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var u=["","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"],h=[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],f=[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 d(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,l=a/67108864|0;n.words[0]=s;for(var c=1;c<r;c++){for(var u=l>>>26,h=67108863&l,f=Math.min(c,e.length-1),d=Math.max(0,c-t.length+1);d<=f;d++){var p=c-d|0;u+=(a=(i=0|t.words[p])*(o=0|e.words[d])+h)/67108864|0,h=67108863&a}n.words[c]=0|h,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n.strip()}o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],l=(16777215&(s<<i|o)).toString(16);n=0!=(o=s>>>24-i&16777215)||a!==this.length-1?u[6-l.length]+l+n:l+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.toString(16)+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var c=h[t],d=f[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(d).toString(t);n=(p=p.idivn(d)).isZero()?m+n:u[c-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return r(void 0!==a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,l="le"===e,c=new t(o),u=this.clone();if(l){for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),c[s]=a;for(;s<o;s++)c[s]=0}else{for(s=0;s<o-i;s++)c[s]=0;for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),c[o-s-1]=a}return c},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,n=0;return e>=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var n=this._zeroBits(this.words[e]);if(t+=n,26!==n)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return r(0==(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;n<e.length;n++)this.words[n]=this.words[n]&t.words[n];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return r(0==(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;r<n.length;r++)this.words[r]=e.words[r]^n.words[r];if(this!==e)for(;r<e.length;r++)this.words[r]=e.words[r];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return r(0==(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){r("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"==typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,n,r;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o<r.length;o++)e=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<n.length;o++)e=(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a<r.length;a++)o=(e=(0|n.words[a])-(0|r.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<n.length;a++)o=(e=(0|n.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<n.length&&n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this.length=Math.max(this.length,a),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var p=function(t,e,n){var r,i,o,a=t.words,s=e.words,l=n.words,c=0,u=0|a[0],h=8191&u,f=u>>>13,d=0|a[1],p=8191&d,m=d>>>13,g=0|a[2],y=8191&g,w=g>>>13,b=0|a[3],v=8191&b,E=b>>>13,_=0|a[4],A=8191&_,M=_>>>13,T=0|a[5],x=8191&T,S=T>>>13,k=0|a[6],C=8191&k,D=k>>>13,I=0|a[7],R=8191&I,N=I>>>13,O=0|a[8],L=8191&O,P=O>>>13,F=0|a[9],B=8191&F,U=F>>>13,j=0|s[0],H=8191&j,z=j>>>13,q=0|s[1],W=8191&q,G=q>>>13,K=0|s[2],Y=8191&K,V=K>>>13,X=0|s[3],Z=8191&X,$=X>>>13,Q=0|s[4],J=8191&Q,tt=Q>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],lt=8191&st,ct=st>>>13,ut=0|s[8],ht=8191&ut,ft=ut>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;n.negative=t.negative^e.negative,n.length=19;var gt=(c+(r=Math.imul(h,H))|0)+((8191&(i=(i=Math.imul(h,z))+Math.imul(f,H)|0))<<13)|0;c=((o=Math.imul(f,z))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,r=Math.imul(p,H),i=(i=Math.imul(p,z))+Math.imul(m,H)|0,o=Math.imul(m,z);var yt=(c+(r=r+Math.imul(h,W)|0)|0)+((8191&(i=(i=i+Math.imul(h,G)|0)+Math.imul(f,W)|0))<<13)|0;c=((o=o+Math.imul(f,G)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(y,H),i=(i=Math.imul(y,z))+Math.imul(w,H)|0,o=Math.imul(w,z),r=r+Math.imul(p,W)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(m,W)|0,o=o+Math.imul(m,G)|0;var wt=(c+(r=r+Math.imul(h,Y)|0)|0)+((8191&(i=(i=i+Math.imul(h,V)|0)+Math.imul(f,Y)|0))<<13)|0;c=((o=o+Math.imul(f,V)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(v,H),i=(i=Math.imul(v,z))+Math.imul(E,H)|0,o=Math.imul(E,z),r=r+Math.imul(y,W)|0,i=(i=i+Math.imul(y,G)|0)+Math.imul(w,W)|0,o=o+Math.imul(w,G)|0,r=r+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,V)|0;var bt=(c+(r=r+Math.imul(h,Z)|0)|0)+((8191&(i=(i=i+Math.imul(h,$)|0)+Math.imul(f,Z)|0))<<13)|0;c=((o=o+Math.imul(f,$)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(A,H),i=(i=Math.imul(A,z))+Math.imul(M,H)|0,o=Math.imul(M,z),r=r+Math.imul(v,W)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(E,W)|0,o=o+Math.imul(E,G)|0,r=r+Math.imul(y,Y)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(w,Y)|0,o=o+Math.imul(w,V)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,$)|0)+Math.imul(m,Z)|0,o=o+Math.imul(m,$)|0;var vt=(c+(r=r+Math.imul(h,J)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(f,J)|0))<<13)|0;c=((o=o+Math.imul(f,tt)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(x,H),i=(i=Math.imul(x,z))+Math.imul(S,H)|0,o=Math.imul(S,z),r=r+Math.imul(A,W)|0,i=(i=i+Math.imul(A,G)|0)+Math.imul(M,W)|0,o=o+Math.imul(M,G)|0,r=r+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(E,Y)|0,o=o+Math.imul(E,V)|0,r=r+Math.imul(y,Z)|0,i=(i=i+Math.imul(y,$)|0)+Math.imul(w,Z)|0,o=o+Math.imul(w,$)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,J)|0,o=o+Math.imul(m,tt)|0;var Et=(c+(r=r+Math.imul(h,nt)|0)|0)+((8191&(i=(i=i+Math.imul(h,rt)|0)+Math.imul(f,nt)|0))<<13)|0;c=((o=o+Math.imul(f,rt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(C,H),i=(i=Math.imul(C,z))+Math.imul(D,H)|0,o=Math.imul(D,z),r=r+Math.imul(x,W)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(S,W)|0,o=o+Math.imul(S,G)|0,r=r+Math.imul(A,Y)|0,i=(i=i+Math.imul(A,V)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(v,Z)|0,i=(i=i+Math.imul(v,$)|0)+Math.imul(E,Z)|0,o=o+Math.imul(E,$)|0,r=r+Math.imul(y,J)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(m,nt)|0,o=o+Math.imul(m,rt)|0;var _t=(c+(r=r+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(f,ot)|0))<<13)|0;c=((o=o+Math.imul(f,at)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(R,H),i=(i=Math.imul(R,z))+Math.imul(N,H)|0,o=Math.imul(N,z),r=r+Math.imul(C,W)|0,i=(i=i+Math.imul(C,G)|0)+Math.imul(D,W)|0,o=o+Math.imul(D,G)|0,r=r+Math.imul(x,Y)|0,i=(i=i+Math.imul(x,V)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,V)|0,r=r+Math.imul(A,Z)|0,i=(i=i+Math.imul(A,$)|0)+Math.imul(M,Z)|0,o=o+Math.imul(M,$)|0,r=r+Math.imul(v,J)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(E,J)|0,o=o+Math.imul(E,tt)|0,r=r+Math.imul(y,nt)|0,i=(i=i+Math.imul(y,rt)|0)+Math.imul(w,nt)|0,o=o+Math.imul(w,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var At=(c+(r=r+Math.imul(h,lt)|0)|0)+((8191&(i=(i=i+Math.imul(h,ct)|0)+Math.imul(f,lt)|0))<<13)|0;c=((o=o+Math.imul(f,ct)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(L,H),i=(i=Math.imul(L,z))+Math.imul(P,H)|0,o=Math.imul(P,z),r=r+Math.imul(R,W)|0,i=(i=i+Math.imul(R,G)|0)+Math.imul(N,W)|0,o=o+Math.imul(N,G)|0,r=r+Math.imul(C,Y)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(x,Z)|0,i=(i=i+Math.imul(x,$)|0)+Math.imul(S,Z)|0,o=o+Math.imul(S,$)|0,r=r+Math.imul(A,J)|0,i=(i=i+Math.imul(A,tt)|0)+Math.imul(M,J)|0,o=o+Math.imul(M,tt)|0,r=r+Math.imul(v,nt)|0,i=(i=i+Math.imul(v,rt)|0)+Math.imul(E,nt)|0,o=o+Math.imul(E,rt)|0,r=r+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,r=r+Math.imul(p,lt)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(m,lt)|0,o=o+Math.imul(m,ct)|0;var Mt=(c+(r=r+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,ft)|0)+Math.imul(f,ht)|0))<<13)|0;c=((o=o+Math.imul(f,ft)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(B,H),i=(i=Math.imul(B,z))+Math.imul(U,H)|0,o=Math.imul(U,z),r=r+Math.imul(L,W)|0,i=(i=i+Math.imul(L,G)|0)+Math.imul(P,W)|0,o=o+Math.imul(P,G)|0,r=r+Math.imul(R,Y)|0,i=(i=i+Math.imul(R,V)|0)+Math.imul(N,Y)|0,o=o+Math.imul(N,V)|0,r=r+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,$)|0)+Math.imul(D,Z)|0,o=o+Math.imul(D,$)|0,r=r+Math.imul(x,J)|0,i=(i=i+Math.imul(x,tt)|0)+Math.imul(S,J)|0,o=o+Math.imul(S,tt)|0,r=r+Math.imul(A,nt)|0,i=(i=i+Math.imul(A,rt)|0)+Math.imul(M,nt)|0,o=o+Math.imul(M,rt)|0,r=r+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(E,ot)|0,o=o+Math.imul(E,at)|0,r=r+Math.imul(y,lt)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(w,lt)|0,o=o+Math.imul(w,ct)|0,r=r+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,ft)|0)+Math.imul(m,ht)|0,o=o+Math.imul(m,ft)|0;var Tt=(c+(r=r+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,mt)|0)+Math.imul(f,pt)|0))<<13)|0;c=((o=o+Math.imul(f,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(B,W),i=(i=Math.imul(B,G))+Math.imul(U,W)|0,o=Math.imul(U,G),r=r+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(P,Y)|0,o=o+Math.imul(P,V)|0,r=r+Math.imul(R,Z)|0,i=(i=i+Math.imul(R,$)|0)+Math.imul(N,Z)|0,o=o+Math.imul(N,$)|0,r=r+Math.imul(C,J)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(D,J)|0,o=o+Math.imul(D,tt)|0,r=r+Math.imul(x,nt)|0,i=(i=i+Math.imul(x,rt)|0)+Math.imul(S,nt)|0,o=o+Math.imul(S,rt)|0,r=r+Math.imul(A,ot)|0,i=(i=i+Math.imul(A,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,r=r+Math.imul(v,lt)|0,i=(i=i+Math.imul(v,ct)|0)+Math.imul(E,lt)|0,o=o+Math.imul(E,ct)|0,r=r+Math.imul(y,ht)|0,i=(i=i+Math.imul(y,ft)|0)+Math.imul(w,ht)|0,o=o+Math.imul(w,ft)|0;var xt=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(B,Y),i=(i=Math.imul(B,V))+Math.imul(U,Y)|0,o=Math.imul(U,V),r=r+Math.imul(L,Z)|0,i=(i=i+Math.imul(L,$)|0)+Math.imul(P,Z)|0,o=o+Math.imul(P,$)|0,r=r+Math.imul(R,J)|0,i=(i=i+Math.imul(R,tt)|0)+Math.imul(N,J)|0,o=o+Math.imul(N,tt)|0,r=r+Math.imul(C,nt)|0,i=(i=i+Math.imul(C,rt)|0)+Math.imul(D,nt)|0,o=o+Math.imul(D,rt)|0,r=r+Math.imul(x,ot)|0,i=(i=i+Math.imul(x,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,r=r+Math.imul(A,lt)|0,i=(i=i+Math.imul(A,ct)|0)+Math.imul(M,lt)|0,o=o+Math.imul(M,ct)|0,r=r+Math.imul(v,ht)|0,i=(i=i+Math.imul(v,ft)|0)+Math.imul(E,ht)|0,o=o+Math.imul(E,ft)|0;var St=(c+(r=r+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,mt)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,mt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(B,Z),i=(i=Math.imul(B,$))+Math.imul(U,Z)|0,o=Math.imul(U,$),r=r+Math.imul(L,J)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(P,J)|0,o=o+Math.imul(P,tt)|0,r=r+Math.imul(R,nt)|0,i=(i=i+Math.imul(R,rt)|0)+Math.imul(N,nt)|0,o=o+Math.imul(N,rt)|0,r=r+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,r=r+Math.imul(x,lt)|0,i=(i=i+Math.imul(x,ct)|0)+Math.imul(S,lt)|0,o=o+Math.imul(S,ct)|0,r=r+Math.imul(A,ht)|0,i=(i=i+Math.imul(A,ft)|0)+Math.imul(M,ht)|0,o=o+Math.imul(M,ft)|0;var kt=(c+(r=r+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(E,pt)|0))<<13)|0;c=((o=o+Math.imul(E,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(B,J),i=(i=Math.imul(B,tt))+Math.imul(U,J)|0,o=Math.imul(U,tt),r=r+Math.imul(L,nt)|0,i=(i=i+Math.imul(L,rt)|0)+Math.imul(P,nt)|0,o=o+Math.imul(P,rt)|0,r=r+Math.imul(R,ot)|0,i=(i=i+Math.imul(R,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,r=r+Math.imul(C,lt)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(D,lt)|0,o=o+Math.imul(D,ct)|0,r=r+Math.imul(x,ht)|0,i=(i=i+Math.imul(x,ft)|0)+Math.imul(S,ht)|0,o=o+Math.imul(S,ft)|0;var Ct=(c+(r=r+Math.imul(A,pt)|0)|0)+((8191&(i=(i=i+Math.imul(A,mt)|0)+Math.imul(M,pt)|0))<<13)|0;c=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(B,nt),i=(i=Math.imul(B,rt))+Math.imul(U,nt)|0,o=Math.imul(U,rt),r=r+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(P,ot)|0,o=o+Math.imul(P,at)|0,r=r+Math.imul(R,lt)|0,i=(i=i+Math.imul(R,ct)|0)+Math.imul(N,lt)|0,o=o+Math.imul(N,ct)|0,r=r+Math.imul(C,ht)|0,i=(i=i+Math.imul(C,ft)|0)+Math.imul(D,ht)|0,o=o+Math.imul(D,ft)|0;var Dt=(c+(r=r+Math.imul(x,pt)|0)|0)+((8191&(i=(i=i+Math.imul(x,mt)|0)+Math.imul(S,pt)|0))<<13)|0;c=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,r=Math.imul(B,ot),i=(i=Math.imul(B,at))+Math.imul(U,ot)|0,o=Math.imul(U,at),r=r+Math.imul(L,lt)|0,i=(i=i+Math.imul(L,ct)|0)+Math.imul(P,lt)|0,o=o+Math.imul(P,ct)|0,r=r+Math.imul(R,ht)|0,i=(i=i+Math.imul(R,ft)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,ft)|0;var It=(c+(r=r+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,mt)|0)+Math.imul(D,pt)|0))<<13)|0;c=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(B,lt),i=(i=Math.imul(B,ct))+Math.imul(U,lt)|0,o=Math.imul(U,ct),r=r+Math.imul(L,ht)|0,i=(i=i+Math.imul(L,ft)|0)+Math.imul(P,ht)|0,o=o+Math.imul(P,ft)|0;var Rt=(c+(r=r+Math.imul(R,pt)|0)|0)+((8191&(i=(i=i+Math.imul(R,mt)|0)+Math.imul(N,pt)|0))<<13)|0;c=((o=o+Math.imul(N,mt)|0)+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,r=Math.imul(B,ht),i=(i=Math.imul(B,ft))+Math.imul(U,ht)|0,o=Math.imul(U,ft);var Nt=(c+(r=r+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(P,pt)|0))<<13)|0;c=((o=o+Math.imul(P,mt)|0)+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863;var Ot=(c+(r=Math.imul(B,pt))|0)+((8191&(i=(i=Math.imul(B,mt))+Math.imul(U,pt)|0))<<13)|0;return c=((o=Math.imul(U,mt))+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,l[0]=gt,l[1]=yt,l[2]=wt,l[3]=bt,l[4]=vt,l[5]=Et,l[6]=_t,l[7]=At,l[8]=Mt,l[9]=Tt,l[10]=xt,l[11]=St,l[12]=kt,l[13]=Ct,l[14]=Dt,l[15]=It,l[16]=Rt,l[17]=Nt,l[18]=Ot,0!==c&&(l[19]=c,n.length++),n};function m(t,e,n){return(new g).mulp(t,e,n)}function g(t,e){this.x=t,this.y=e}Math.imul||(p=d),o.prototype.mulTo=function(t,e){var n,r=this.length+t.length;return n=10===this.length&&10===t.length?p(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var a=i;i=0;for(var s=67108863&r,l=Math.min(o,e.length-1),c=Math.max(0,o-t.length+1);c<=l;c++){var u=o-c,h=(0|t.words[u])*(0|e.words[c]),f=67108863&h;s=67108863&(f=f+s|0),i+=(a=(a=a+(h/67108864|0)|0)+(f>>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,t,e):m(this,t,e),n},g.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r<t;r++)e[r]=this.revBin(r,n,t);return e},g.prototype.revBin=function(t,e,n){if(0===t||t===n-1)return t;for(var r=0,i=0;i<e;i++)r|=(1&t)<<e-i-1,t>>=1;return r},g.prototype.permute=function(t,e,n,r,i,o){for(var a=0;a<o;a++)r[a]=e[t[a]],i[a]=n[t[a]]},g.prototype.transform=function(t,e,n,r,i,o){this.permute(o,t,e,n,r,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,l=Math.cos(2*Math.PI/s),c=Math.sin(2*Math.PI/s),u=0;u<i;u+=s)for(var h=l,f=c,d=0;d<a;d++){var p=n[u+d],m=r[u+d],g=n[u+d+a],y=r[u+d+a],w=h*g-f*y;y=h*y+f*g,g=w,n[u+d]=p+g,r[u+d]=m+y,n[u+d+a]=p-g,r[u+d+a]=m-y,d!==s&&(w=l*h-c*f,f=l*f+c*h,h=w)}},g.prototype.guessLen13b=function(t,e){var n=1|Math.max(e,t),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},g.prototype.conjugate=function(t,e,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=t[r];t[r]=t[n-r-1],t[n-r-1]=i,i=e[r],e[r]=-e[n-r-1],e[n-r-1]=-i}},g.prototype.normalize13b=function(t,e){for(var n=0,r=0;r<e/2;r++){var i=8192*Math.round(t[2*r+1]/e)+Math.round(t[2*r]/e)+n;t[r]=67108863&i,n=i<67108864?0:i/67108864|0}return t},g.prototype.convert13b=function(t,e,n,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],n[2*a]=8191&o,o>>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)n[a]=0;r(0===o),r(0==(-8192&o))},g.prototype.stub=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=0;return e},g.prototype.mulp=function(t,e,n){var r=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(r),o=this.stub(r),a=new Array(r),s=new Array(r),l=new Array(r),c=new Array(r),u=new Array(r),h=new Array(r),f=n.words;f.length=r,this.convert13b(t.words,t.length,a,r),this.convert13b(e.words,e.length,c,r),this.transform(a,o,s,l,r,i),this.transform(c,o,u,h,r,i);for(var d=0;d<r;d++){var p=s[d]*u[d]-l[d]*h[d];l[d]=s[d]*h[d]+l[d]*u[d],s[d]=p}return this.conjugate(s,l,r),this.transform(s,l,f,o,r,i),this.conjugate(f,o,r),this.normalize13b(f,r),n.negative=t.negative^e.negative,n.length=t.length+e.length,n.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),m(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){r("number"==typeof t),r(t<67108864);for(var e=0,n=0;n<this.length;n++){var i=(0|this.words[n])*t,o=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=o>>>26,this.words[n]=67108863&o}return 0!==e&&(this.words[n]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n<e.length;n++){var r=n/26|0,i=n%26;e[n]=(t.words[r]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r<e.length&&0===e[r];r++,n=n.sqr());if(++r<e.length)for(var i=n.sqr();r<e.length;r++,i=i.sqr())0!==e[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(t){r("number"==typeof t&&t>=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,l=(0|this.words[e])-s<<n;this.words[e]=l|a,a=s>>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return r(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,n){var i;r("number"==typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,l=n;if(i-=a,i=Math.max(0,i),l){for(var c=0;c<a;c++)l.words[c]=this.words[c];l.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var u=0;for(c=this.length-1;c>=0&&(0!==u||c>=i);c--){var h=0|this.words[c];this.words[c]=u<<26-o|h>>>o,u=h&s}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<<e;return!(this.length<=n||!(this.words[n]&i))},o.prototype.imaskn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==e&&n++,this.length=Math.min(n,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return r("number"==typeof t),r(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(r("number"==typeof t),r(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,n){var i,o,a=t.length+n;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+n])+s;var l=(0|t.words[i])*e;s=((o-=67108863&l)>>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)s=(o=(0|this.words[i+n])+s)>>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1];0!=(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,l=r.length-i.length;if("mod"!==e){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var c=0;c<s.length;c++)s.words[c]=0}var u=r.clone()._ishlnsubmul(i,1,l);0===u.negative&&(r=u,s&&(s.words[l]=1));for(var h=l-1;h>=0;h--){var f=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);for(f=Math.min(f/a|0,67108863),r._ishlnsubmul(i,f,h);0!==r.negative;)f--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);s&&(s.words[h]=f)}return s&&s.strip(),r.strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){r(t<=67108863);for(var e=(1<<26)%t,n=0,i=this.length-1;i>=0;i--)n=(e*n+(0|this.words[i]))%t;return n},o.prototype.idivn=function(t){r(t<=67108863);for(var e=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*e;this.words[n]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var u=n.clone(),h=e.clone();!e.isZero();){for(var f=0,d=1;0==(e.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(e.iushrn(f);f-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(u),a.isub(h)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(u),l.isub(h)),s.iushrn(1),l.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(s),a.isub(l)):(n.isub(e),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:n.iushln(c)}},o.prototype._invmp=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),l=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,u=1;0==(e.words[0]&u)&&c<26;++c,u<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var h=0,f=1;0==(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(n.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(s)):(n.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"==typeof t);var e=t%26,n=(t-e)/26,i=1<<e;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,a=n;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)e=1;else{n&&(t=-t),r(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){r<i?e=-1:r>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new A(t)},o.prototype.toRed=function(t){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var y={k256:null,p224:null,p192:null,p25519:null};function w(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(t){if("string"==typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else r(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function M(t){A.call(this,t),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)}w.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},w.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},w.prototype.split=function(t,e){t.iushrn(this.n,0,e)},w.prototype.imulK=function(t){return t.imul(this.k)},i(b,w),b.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i<r;i++)e.words[i]=t.words[i];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&n,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(a&n)<<4|o>>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},b.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n<t.length;n++){var r=0|t.words[n];e+=977*r,t.words[n]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(v,w),i(E,w),i(_,w),_.prototype.imulK=function(t){for(var e=0,n=0;n<t.length;n++){var r=19*(0|t.words[n])+e,i=67108863&r;r>>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(y[t])return y[t];var e;if("k256"===t)e=new b;else if("p224"===t)e=new v;else if("p192"===t)e=new E;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new _}return y[t]=e,e},A.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},A.prototype._verify2=function(t,e){r(0==(t.negative|e.negative),"red works only with positives"),r(t.red&&t.red===e.red,"red works only with red numbers")},A.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},A.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},A.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},A.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},A.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},A.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},A.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},A.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},A.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},A.prototype.isqr=function(t){return this.imul(t,t.clone())},A.prototype.sqr=function(t){return this.mul(t,t)},A.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(r(e%2==1),3===e){var n=this.m.add(new o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,c).cmp(l);)u.redIAdd(l);for(var h=this.pow(u,i),f=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var m=d,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g<p);var y=this.pow(h,new o(1).iushln(p-g-1));f=f.redMul(y),h=y.redSqr(),d=d.redMul(h),p=g}return f},A.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},A.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=t;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],t);var i=n[0],a=0,s=0,l=e.bitLength()%26;for(0===l&&(l=26),r=e.length-1;r>=0;r--){for(var c=e.words[r],u=l-1;u>=0;u--){var h=c>>u&1;i!==n[0]&&(i=this.sqr(i)),0!==h||0!==a?(a<<=1,a|=h,(4==++s||0===r&&0===u)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}l=26}return i},A.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},A.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new M(t)},i(M,A),M.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},M.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},M.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},M.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},M.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t=n.nmd(t),this)},7108:(t,e,n)=>{"use strict";var r=n(6698),i=n(8276),o=n(6011),a=n(2802),s=n(6168);function l(t){s.call(this,"digest"),this._hash=t}r(l,s),l.prototype._update=function(t){this._hash.update(t)},l.prototype._final=function(){return this._hash.digest()},t.exports=function(t){return"md5"===(t=t.toLowerCase())?new i:"rmd160"===t||"ripemd160"===t?new o:new l(a(t))}},320:(t,e,n)=>{var r=n(8276);t.exports=function(t){return(new r).update(t).digest()}},3507:(t,e,n)=>{"use strict";var r=n(6698),i=n(1800),o=n(6168),a=n(2861).Buffer,s=n(320),l=n(6011),c=n(2802),u=a.alloc(128);function h(t,e){o.call(this,"digest"),"string"==typeof e&&(e=a.from(e));var n="sha512"===t||"sha384"===t?128:64;this._alg=t,this._key=e,e.length>n?e=("rmd160"===t?new l:c(t)).update(e).digest():e.length<n&&(e=a.concat([e,u],n));for(var r=this._ipad=a.allocUnsafe(n),i=this._opad=a.allocUnsafe(n),s=0;s<n;s++)r[s]=54^e[s],i[s]=92^e[s];this._hash="rmd160"===t?new l:c(t),this._hash.update(r)}r(h,o),h.prototype._update=function(t){this._hash.update(t)},h.prototype._final=function(){var t=this._hash.digest();return("rmd160"===this._alg?new l:c(this._alg)).update(this._opad).update(t).digest()},t.exports=function(t,e){return"rmd160"===(t=t.toLowerCase())||"ripemd160"===t?new h("rmd160",e):"md5"===t?new i(s,e):new h(t,e)}},1800:(t,e,n)=>{"use strict";var r=n(6698),i=n(2861).Buffer,o=n(6168),a=i.alloc(128),s=64;function l(t,e){o.call(this,"digest"),"string"==typeof e&&(e=i.from(e)),this._alg=t,this._key=e,e.length>s?e=t(e):e.length<s&&(e=i.concat([e,a],s));for(var n=this._ipad=i.allocUnsafe(s),r=this._opad=i.allocUnsafe(s),l=0;l<s;l++)n[l]=54^e[l],r[l]=92^e[l];this._hash=[n]}r(l,o),l.prototype._update=function(t){this._hash.push(t)},l.prototype._final=function(){var t=this._alg(i.concat(this._hash));return this._alg(i.concat([this._opad,t]))},t.exports=l},1565:(t,e,n)=>{"use strict";e.randomBytes=e.rng=e.pseudoRandomBytes=e.prng=n(3209),e.createHash=e.Hash=n(7108),e.createHmac=e.Hmac=n(3507);var r=n(5715),i=Object.keys(r),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);e.getHashes=function(){return o};var a=n(8396);e.pbkdf2=a.pbkdf2,e.pbkdf2Sync=a.pbkdf2Sync;var s=n(125);e.Cipher=s.Cipher,e.createCipher=s.createCipher,e.Cipheriv=s.Cipheriv,e.createCipheriv=s.createCipheriv,e.Decipher=s.Decipher,e.createDecipher=s.createDecipher,e.Decipheriv=s.Decipheriv,e.createDecipheriv=s.createDecipheriv,e.getCiphers=s.getCiphers,e.listCiphers=s.listCiphers;var l=n(5380);e.DiffieHellmanGroup=l.DiffieHellmanGroup,e.createDiffieHellmanGroup=l.createDiffieHellmanGroup,e.getDiffieHellman=l.getDiffieHellman,e.createDiffieHellman=l.createDiffieHellman,e.DiffieHellman=l.DiffieHellman;var c=n(20);e.createSign=c.createSign,e.Sign=c.Sign,e.createVerify=c.createVerify,e.Verify=c.Verify,e.createECDH=n(1324);var u=n(7168);e.publicEncrypt=u.publicEncrypt,e.privateEncrypt=u.privateEncrypt,e.publicDecrypt=u.publicDecrypt,e.privateDecrypt=u.privateDecrypt;var h=n(6983);e.randomFill=h.randomFill,e.randomFillSync=h.randomFillSync,e.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},e.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},9560:(t,e,n)=>{"use strict";e.utils=n(7626),e.Cipher=n(2808),e.DES=n(2211),e.CBC=n(3389),e.EDE=n(5279)},3389:(t,e,n)=>{"use strict";var r=n(3349),i=n(6698),o={};function a(t){r.equal(t.length,8,"Invalid IV length"),this.iv=new Array(8);for(var e=0;e<this.iv.length;e++)this.iv[e]=t[e]}e.instantiate=function(t){function e(e){t.call(this,e),this._cbcInit()}i(e,t);for(var n=Object.keys(o),r=0;r<n.length;r++){var a=n[r];e.prototype[a]=o[a]}return e.create=function(t){return new e(t)},e},o._cbcInit=function(){var t=new a(this.options.iv);this._cbcState=t},o._update=function(t,e,n,r){var i=this._cbcState,o=this.constructor.super_.prototype,a=i.iv;if("encrypt"===this.type){for(var s=0;s<this.blockSize;s++)a[s]^=t[e+s];for(o._update.call(this,a,0,n,r),s=0;s<this.blockSize;s++)a[s]=n[r+s]}else{for(o._update.call(this,t,e,n,r),s=0;s<this.blockSize;s++)n[r+s]^=a[s];for(s=0;s<this.blockSize;s++)a[s]=t[e+s]}}},2808:(t,e,n)=>{"use strict";var r=n(3349);function i(t){this.options=t,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=!1!==t.padding}t.exports=i,i.prototype._init=function(){},i.prototype.update=function(t){return 0===t.length?[]:"decrypt"===this.type?this._updateDecrypt(t):this._updateEncrypt(t)},i.prototype._buffer=function(t,e){for(var n=Math.min(this.buffer.length-this.bufferOff,t.length-e),r=0;r<n;r++)this.buffer[this.bufferOff+r]=t[e+r];return this.bufferOff+=n,n},i.prototype._flushBuffer=function(t,e){return this._update(this.buffer,0,t,e),this.bufferOff=0,this.blockSize},i.prototype._updateEncrypt=function(t){var e=0,n=0,r=(this.bufferOff+t.length)/this.blockSize|0,i=new Array(r*this.blockSize);0!==this.bufferOff&&(e+=this._buffer(t,e),this.bufferOff===this.buffer.length&&(n+=this._flushBuffer(i,n)));for(var o=t.length-(t.length-e)%this.blockSize;e<o;e+=this.blockSize)this._update(t,e,i,n),n+=this.blockSize;for(;e<t.length;e++,this.bufferOff++)this.buffer[this.bufferOff]=t[e];return i},i.prototype._updateDecrypt=function(t){for(var e=0,n=0,r=Math.ceil((this.bufferOff+t.length)/this.blockSize)-1,i=new Array(r*this.blockSize);r>0;r--)e+=this._buffer(t,e),n+=this._flushBuffer(i,n);return e+=this._buffer(t,e),i},i.prototype.final=function(t){var e,n;return t&&(e=this.update(t)),n="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),e?e.concat(n):n},i.prototype._pad=function(t,e){if(0===e)return!1;for(;e<t.length;)t[e++]=0;return!0},i.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var t=new Array(this.blockSize);return this._update(this.buffer,0,t,0),t},i.prototype._unpad=function(t){return t},i.prototype._finalDecrypt=function(){r.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var t=new Array(this.blockSize);return this._flushBuffer(t,0),this._unpad(t)}},2211:(t,e,n)=>{"use strict";var r=n(3349),i=n(6698),o=n(7626),a=n(2808);function s(){this.tmp=new Array(2),this.keys=null}function l(t){a.call(this,t);var e=new s;this._desState=e,this.deriveKeys(e,t.key)}i(l,a),t.exports=l,l.create=function(t){return new l(t)};var c=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];l.prototype.deriveKeys=function(t,e){t.keys=new Array(32),r.equal(e.length,this.blockSize,"Invalid key length");var n=o.readUInt32BE(e,0),i=o.readUInt32BE(e,4);o.pc1(n,i,t.tmp,0),n=t.tmp[0],i=t.tmp[1];for(var a=0;a<t.keys.length;a+=2){var s=c[a>>>1];n=o.r28shl(n,s),i=o.r28shl(i,s),o.pc2(n,i,t.keys,a)}},l.prototype._update=function(t,e,n,r){var i=this._desState,a=o.readUInt32BE(t,e),s=o.readUInt32BE(t,e+4);o.ip(a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],"encrypt"===this.type?this._encrypt(i,a,s,i.tmp,0):this._decrypt(i,a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],o.writeUInt32BE(n,a,r),o.writeUInt32BE(n,s,r+4)},l.prototype._pad=function(t,e){if(!1===this.padding)return!1;for(var n=t.length-e,r=e;r<t.length;r++)t[r]=n;return!0},l.prototype._unpad=function(t){if(!1===this.padding)return t;for(var e=t[t.length-1],n=t.length-e;n<t.length;n++)r.equal(t[n],e);return t.slice(0,t.length-e)},l.prototype._encrypt=function(t,e,n,r,i){for(var a=e,s=n,l=0;l<t.keys.length;l+=2){var c=t.keys[l],u=t.keys[l+1];o.expand(s,t.tmp,0),c^=t.tmp[0],u^=t.tmp[1];var h=o.substitute(c,u),f=s;s=(a^o.permute(h))>>>0,a=f}o.rip(s,a,r,i)},l.prototype._decrypt=function(t,e,n,r,i){for(var a=n,s=e,l=t.keys.length-2;l>=0;l-=2){var c=t.keys[l],u=t.keys[l+1];o.expand(a,t.tmp,0),c^=t.tmp[0],u^=t.tmp[1];var h=o.substitute(c,u),f=a;a=(s^o.permute(h))>>>0,s=f}o.rip(a,s,r,i)}},5279:(t,e,n)=>{"use strict";var r=n(3349),i=n(6698),o=n(2808),a=n(2211);function s(t,e){r.equal(e.length,24,"Invalid key length");var n=e.slice(0,8),i=e.slice(8,16),o=e.slice(16,24);this.ciphers="encrypt"===t?[a.create({type:"encrypt",key:n}),a.create({type:"decrypt",key:i}),a.create({type:"encrypt",key:o})]:[a.create({type:"decrypt",key:o}),a.create({type:"encrypt",key:i}),a.create({type:"decrypt",key:n})]}function l(t){o.call(this,t);var e=new s(this.type,this.options.key);this._edeState=e}i(l,o),t.exports=l,l.create=function(t){return new l(t)},l.prototype._update=function(t,e,n,r){var i=this._edeState;i.ciphers[0]._update(t,e,n,r),i.ciphers[1]._update(n,r,n,r),i.ciphers[2]._update(n,r,n,r)},l.prototype._pad=a.prototype._pad,l.prototype._unpad=a.prototype._unpad},7626:(t,e)=>{"use strict";e.readUInt32BE=function(t,e){return(t[0+e]<<24|t[1+e]<<16|t[2+e]<<8|t[3+e])>>>0},e.writeUInt32BE=function(t,e,n){t[0+n]=e>>>24,t[1+n]=e>>>16&255,t[2+n]=e>>>8&255,t[3+n]=255&e},e.ip=function(t,e,n,r){for(var i=0,o=0,a=6;a>=0;a-=2){for(var s=0;s<=24;s+=8)i<<=1,i|=e>>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=t>>>s+a&1}for(a=6;a>=0;a-=2){for(s=1;s<=25;s+=8)o<<=1,o|=e>>>s+a&1;for(s=1;s<=25;s+=8)o<<=1,o|=t>>>s+a&1}n[r+0]=i>>>0,n[r+1]=o>>>0},e.rip=function(t,e,n,r){for(var i=0,o=0,a=0;a<4;a++)for(var s=24;s>=0;s-=8)i<<=1,i|=e>>>s+a&1,i<<=1,i|=t>>>s+a&1;for(a=4;a<8;a++)for(s=24;s>=0;s-=8)o<<=1,o|=e>>>s+a&1,o<<=1,o|=t>>>s+a&1;n[r+0]=i>>>0,n[r+1]=o>>>0},e.pc1=function(t,e,n,r){for(var i=0,o=0,a=7;a>=5;a--){for(var s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=t>>s+a&1}for(s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1;for(a=1;a<=3;a++){for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1;for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1}for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1;n[r+0]=i>>>0,n[r+1]=o>>>0},e.r28shl=function(t,e){return t<<e&268435455|t>>>28-e};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];e.pc2=function(t,e,r,i){for(var o=0,a=0,s=n.length>>>1,l=0;l<s;l++)o<<=1,o|=t>>>n[l]&1;for(l=s;l<n.length;l++)a<<=1,a|=e>>>n[l]&1;r[i+0]=o>>>0,r[i+1]=a>>>0},e.expand=function(t,e,n){var r=0,i=0;r=(1&t)<<5|t>>>27;for(var o=23;o>=15;o-=4)r<<=6,r|=t>>>o&63;for(o=11;o>=3;o-=4)i|=t>>>o&63,i<<=6;i|=(31&t)<<1|t>>>31,e[n+0]=r>>>0,e[n+1]=i>>>0};var r=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];e.substitute=function(t,e){for(var n=0,i=0;i<4;i++)n<<=4,n|=r[64*i+(t>>>18-6*i&63)];for(i=0;i<4;i++)n<<=4,n|=r[256+64*i+(e>>>18-6*i&63)];return n>>>0};var i=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];e.permute=function(t){for(var e=0,n=0;n<i.length;n++)e<<=1,e|=t>>>i[n]&1;return e>>>0},e.padSplit=function(t,e,n){for(var r=t.toString(2);r.length<e;)r="0"+r;for(var i=[],o=0;o<e;o+=n)i.push(r.slice(o,o+n));return i.join(" ")}},5380:(t,e,n)=>{var r=n(8287).Buffer,i=n(4934),o=n(3241),a=n(4910),s={binary:!0,hex:!0,base64:!0};e.DiffieHellmanGroup=e.createDiffieHellmanGroup=e.getDiffieHellman=function(t){var e=new r(o[t].prime,"hex"),n=new r(o[t].gen,"hex");return new a(e,n)},e.createDiffieHellman=e.DiffieHellman=function t(e,n,o,l){return r.isBuffer(n)||void 0===s[n]?t(e,"binary",n,o):(n=n||"binary",l=l||"binary",o=o||new r([2]),r.isBuffer(o)||(o=new r(o,l)),"number"==typeof e?new a(i(e,o),o,!0):(r.isBuffer(e)||(e=new r(e,n)),new a(e,o,!0)))}},4910:(t,e,n)=>{var r=n(8287).Buffer,i=n(6473),o=new(n(2244)),a=new i(24),s=new i(11),l=new i(10),c=new i(3),u=new i(7),h=n(4934),f=n(3209);function d(t,e){return e=e||"utf8",r.isBuffer(t)||(t=new r(t,e)),this._pub=new i(t),this}function p(t,e){return e=e||"utf8",r.isBuffer(t)||(t=new r(t,e)),this._priv=new i(t),this}t.exports=g;var m={};function g(t,e,n){this.setGenerator(e),this.__prime=new i(t),this._prime=i.mont(this.__prime),this._primeLen=t.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,n?(this.setPublicKey=d,this.setPrivateKey=p):this._primeCode=8}function y(t,e){var n=new r(t.toArray());return e?n.toString(e):n}Object.defineProperty(g.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(t,e){var n=e.toString("hex"),r=[n,t.toString(16)].join("_");if(r in m)return m[r];var i,f=0;if(t.isEven()||!h.simpleSieve||!h.fermatTest(t)||!o.test(t))return f+=1,f+="02"===n||"05"===n?8:4,m[r]=f,f;switch(o.test(t.shrn(1))||(f+=2),n){case"02":t.mod(a).cmp(s)&&(f+=8);break;case"05":(i=t.mod(l)).cmp(c)&&i.cmp(u)&&(f+=8);break;default:f+=4}return m[r]=f,f}(this.__prime,this.__gen)),this._primeCode}}),g.prototype.generateKeys=function(){return this._priv||(this._priv=new i(f(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},g.prototype.computeSecret=function(t){var e=(t=(t=new i(t)).toRed(this._prime)).redPow(this._priv).fromRed(),n=new r(e.toArray()),o=this.getPrime();if(n.length<o.length){var a=new r(o.length-n.length);a.fill(0),n=r.concat([a,n])}return n},g.prototype.getPublicKey=function(t){return y(this._pub,t)},g.prototype.getPrivateKey=function(t){return y(this._priv,t)},g.prototype.getPrime=function(t){return y(this.__prime,t)},g.prototype.getGenerator=function(t){return y(this._gen,t)},g.prototype.setGenerator=function(t,e){return e=e||"utf8",r.isBuffer(t)||(t=new r(t,e)),this.__gen=t,this._gen=new i(t),this}},4934:(t,e,n)=>{var r=n(3209);t.exports=w,w.simpleSieve=g,w.fermatTest=y;var i=n(6473),o=new i(24),a=new(n(2244)),s=new i(1),l=new i(2),c=new i(5),u=(new i(16),new i(8),new i(10)),h=new i(3),f=(new i(7),new i(11)),d=new i(4),p=(new i(12),null);function m(){if(null!==p)return p;var t=[];t[0]=2;for(var e=1,n=3;n<1048576;n+=2){for(var r=Math.ceil(Math.sqrt(n)),i=0;i<e&&t[i]<=r&&n%t[i]!=0;i++);e!==i&&t[i]<=r||(t[e++]=n)}return p=t,t}function g(t){for(var e=m(),n=0;n<e.length;n++)if(0===t.modn(e[n]))return 0===t.cmpn(e[n]);return!0}function y(t){var e=i.mont(t);return 0===l.toRed(e).redPow(t.subn(1)).fromRed().cmpn(1)}function w(t,e){if(t<16)return new i(2===e||5===e?[140,123]:[140,39]);var n,p;for(e=new i(e);;){for(n=new i(r(Math.ceil(t/8)));n.bitLength()>t;)n.ishrn(1);if(n.isEven()&&n.iadd(s),n.testn(1)||n.iadd(l),e.cmp(l)){if(!e.cmp(c))for(;n.mod(u).cmp(h);)n.iadd(d)}else for(;n.mod(o).cmp(f);)n.iadd(d);if(g(p=n.shrn(1))&&g(n)&&y(p)&&y(n)&&a.test(p)&&a.test(n))return n}}},6473:function(t,e,n){!function(t,e){"use strict";function r(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var a;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:n(6089).Buffer}catch(t){}function s(t,e){var n=t.charCodeAt(e);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function l(t,e,n){var r=s(t,n);return n-1>=e&&(r|=s(t,n-1)<<4),r}function c(t,e,n,r){for(var i=0,o=Math.min(t.length,n),a=e;a<o;a++){var s=t.charCodeAt(a)-48;i*=r,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"==typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,n){if("number"==typeof t)return this._initNumber(t,e,n);if("object"==typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),r(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,n):(this._parseBase(t,e,i),"le"===n&&this._initArray(this.toArray(),e,n)))},o.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(r(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initArray=function(t,e,n){if(r("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===n)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,n){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,o=0,a=0;if("be"===n)for(r=t.length-1;r>=e;r-=2)i=l(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(t.length-e)%2==0?e+1:e;r<t.length;r+=2)i=l(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,u=n;u<s;u+=r)l=c(t,u,u+r,e),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==a){var h=1;for(l=c(t,u,t.length,e),u=0;u<a;u++)h*=e;this.imuln(h),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&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},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var u=["","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"],h=[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],f=[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 d(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,l=a/67108864|0;n.words[0]=s;for(var c=1;c<r;c++){for(var u=l>>>26,h=67108863&l,f=Math.min(c,e.length-1),d=Math.max(0,c-t.length+1);d<=f;d++){var p=c-d|0;u+=(a=(i=0|t.words[p])*(o=0|e.words[d])+h)/67108864|0,h=67108863&a}n.words[c]=0|h,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n.strip()}o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],l=(16777215&(s<<i|o)).toString(16);n=0!=(o=s>>>24-i&16777215)||a!==this.length-1?u[6-l.length]+l+n:l+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.toString(16)+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var c=h[t],d=f[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(d).toString(t);n=(p=p.idivn(d)).isZero()?m+n:u[c-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return r(void 0!==a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,l="le"===e,c=new t(o),u=this.clone();if(l){for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),c[s]=a;for(;s<o;s++)c[s]=0}else{for(s=0;s<o-i;s++)c[s]=0;for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),c[o-s-1]=a}return c},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,n=0;return e>=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var n=this._zeroBits(this.words[e]);if(t+=n,26!==n)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return r(0==(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;n<e.length;n++)this.words[n]=this.words[n]&t.words[n];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return r(0==(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;r<n.length;r++)this.words[r]=e.words[r]^n.words[r];if(this!==e)for(;r<e.length;r++)this.words[r]=e.words[r];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return r(0==(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){r("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"==typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,n,r;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o<r.length;o++)e=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<n.length;o++)e=(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a<r.length;a++)o=(e=(0|n.words[a])-(0|r.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<n.length;a++)o=(e=(0|n.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<n.length&&n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this.length=Math.max(this.length,a),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var p=function(t,e,n){var r,i,o,a=t.words,s=e.words,l=n.words,c=0,u=0|a[0],h=8191&u,f=u>>>13,d=0|a[1],p=8191&d,m=d>>>13,g=0|a[2],y=8191&g,w=g>>>13,b=0|a[3],v=8191&b,E=b>>>13,_=0|a[4],A=8191&_,M=_>>>13,T=0|a[5],x=8191&T,S=T>>>13,k=0|a[6],C=8191&k,D=k>>>13,I=0|a[7],R=8191&I,N=I>>>13,O=0|a[8],L=8191&O,P=O>>>13,F=0|a[9],B=8191&F,U=F>>>13,j=0|s[0],H=8191&j,z=j>>>13,q=0|s[1],W=8191&q,G=q>>>13,K=0|s[2],Y=8191&K,V=K>>>13,X=0|s[3],Z=8191&X,$=X>>>13,Q=0|s[4],J=8191&Q,tt=Q>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],lt=8191&st,ct=st>>>13,ut=0|s[8],ht=8191&ut,ft=ut>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;n.negative=t.negative^e.negative,n.length=19;var gt=(c+(r=Math.imul(h,H))|0)+((8191&(i=(i=Math.imul(h,z))+Math.imul(f,H)|0))<<13)|0;c=((o=Math.imul(f,z))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,r=Math.imul(p,H),i=(i=Math.imul(p,z))+Math.imul(m,H)|0,o=Math.imul(m,z);var yt=(c+(r=r+Math.imul(h,W)|0)|0)+((8191&(i=(i=i+Math.imul(h,G)|0)+Math.imul(f,W)|0))<<13)|0;c=((o=o+Math.imul(f,G)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(y,H),i=(i=Math.imul(y,z))+Math.imul(w,H)|0,o=Math.imul(w,z),r=r+Math.imul(p,W)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(m,W)|0,o=o+Math.imul(m,G)|0;var wt=(c+(r=r+Math.imul(h,Y)|0)|0)+((8191&(i=(i=i+Math.imul(h,V)|0)+Math.imul(f,Y)|0))<<13)|0;c=((o=o+Math.imul(f,V)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(v,H),i=(i=Math.imul(v,z))+Math.imul(E,H)|0,o=Math.imul(E,z),r=r+Math.imul(y,W)|0,i=(i=i+Math.imul(y,G)|0)+Math.imul(w,W)|0,o=o+Math.imul(w,G)|0,r=r+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,V)|0;var bt=(c+(r=r+Math.imul(h,Z)|0)|0)+((8191&(i=(i=i+Math.imul(h,$)|0)+Math.imul(f,Z)|0))<<13)|0;c=((o=o+Math.imul(f,$)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(A,H),i=(i=Math.imul(A,z))+Math.imul(M,H)|0,o=Math.imul(M,z),r=r+Math.imul(v,W)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(E,W)|0,o=o+Math.imul(E,G)|0,r=r+Math.imul(y,Y)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(w,Y)|0,o=o+Math.imul(w,V)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,$)|0)+Math.imul(m,Z)|0,o=o+Math.imul(m,$)|0;var vt=(c+(r=r+Math.imul(h,J)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(f,J)|0))<<13)|0;c=((o=o+Math.imul(f,tt)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(x,H),i=(i=Math.imul(x,z))+Math.imul(S,H)|0,o=Math.imul(S,z),r=r+Math.imul(A,W)|0,i=(i=i+Math.imul(A,G)|0)+Math.imul(M,W)|0,o=o+Math.imul(M,G)|0,r=r+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(E,Y)|0,o=o+Math.imul(E,V)|0,r=r+Math.imul(y,Z)|0,i=(i=i+Math.imul(y,$)|0)+Math.imul(w,Z)|0,o=o+Math.imul(w,$)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,J)|0,o=o+Math.imul(m,tt)|0;var Et=(c+(r=r+Math.imul(h,nt)|0)|0)+((8191&(i=(i=i+Math.imul(h,rt)|0)+Math.imul(f,nt)|0))<<13)|0;c=((o=o+Math.imul(f,rt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(C,H),i=(i=Math.imul(C,z))+Math.imul(D,H)|0,o=Math.imul(D,z),r=r+Math.imul(x,W)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(S,W)|0,o=o+Math.imul(S,G)|0,r=r+Math.imul(A,Y)|0,i=(i=i+Math.imul(A,V)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(v,Z)|0,i=(i=i+Math.imul(v,$)|0)+Math.imul(E,Z)|0,o=o+Math.imul(E,$)|0,r=r+Math.imul(y,J)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(m,nt)|0,o=o+Math.imul(m,rt)|0;var _t=(c+(r=r+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(f,ot)|0))<<13)|0;c=((o=o+Math.imul(f,at)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(R,H),i=(i=Math.imul(R,z))+Math.imul(N,H)|0,o=Math.imul(N,z),r=r+Math.imul(C,W)|0,i=(i=i+Math.imul(C,G)|0)+Math.imul(D,W)|0,o=o+Math.imul(D,G)|0,r=r+Math.imul(x,Y)|0,i=(i=i+Math.imul(x,V)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,V)|0,r=r+Math.imul(A,Z)|0,i=(i=i+Math.imul(A,$)|0)+Math.imul(M,Z)|0,o=o+Math.imul(M,$)|0,r=r+Math.imul(v,J)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(E,J)|0,o=o+Math.imul(E,tt)|0,r=r+Math.imul(y,nt)|0,i=(i=i+Math.imul(y,rt)|0)+Math.imul(w,nt)|0,o=o+Math.imul(w,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var At=(c+(r=r+Math.imul(h,lt)|0)|0)+((8191&(i=(i=i+Math.imul(h,ct)|0)+Math.imul(f,lt)|0))<<13)|0;c=((o=o+Math.imul(f,ct)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(L,H),i=(i=Math.imul(L,z))+Math.imul(P,H)|0,o=Math.imul(P,z),r=r+Math.imul(R,W)|0,i=(i=i+Math.imul(R,G)|0)+Math.imul(N,W)|0,o=o+Math.imul(N,G)|0,r=r+Math.imul(C,Y)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(x,Z)|0,i=(i=i+Math.imul(x,$)|0)+Math.imul(S,Z)|0,o=o+Math.imul(S,$)|0,r=r+Math.imul(A,J)|0,i=(i=i+Math.imul(A,tt)|0)+Math.imul(M,J)|0,o=o+Math.imul(M,tt)|0,r=r+Math.imul(v,nt)|0,i=(i=i+Math.imul(v,rt)|0)+Math.imul(E,nt)|0,o=o+Math.imul(E,rt)|0,r=r+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,r=r+Math.imul(p,lt)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(m,lt)|0,o=o+Math.imul(m,ct)|0;var Mt=(c+(r=r+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,ft)|0)+Math.imul(f,ht)|0))<<13)|0;c=((o=o+Math.imul(f,ft)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(B,H),i=(i=Math.imul(B,z))+Math.imul(U,H)|0,o=Math.imul(U,z),r=r+Math.imul(L,W)|0,i=(i=i+Math.imul(L,G)|0)+Math.imul(P,W)|0,o=o+Math.imul(P,G)|0,r=r+Math.imul(R,Y)|0,i=(i=i+Math.imul(R,V)|0)+Math.imul(N,Y)|0,o=o+Math.imul(N,V)|0,r=r+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,$)|0)+Math.imul(D,Z)|0,o=o+Math.imul(D,$)|0,r=r+Math.imul(x,J)|0,i=(i=i+Math.imul(x,tt)|0)+Math.imul(S,J)|0,o=o+Math.imul(S,tt)|0,r=r+Math.imul(A,nt)|0,i=(i=i+Math.imul(A,rt)|0)+Math.imul(M,nt)|0,o=o+Math.imul(M,rt)|0,r=r+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(E,ot)|0,o=o+Math.imul(E,at)|0,r=r+Math.imul(y,lt)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(w,lt)|0,o=o+Math.imul(w,ct)|0,r=r+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,ft)|0)+Math.imul(m,ht)|0,o=o+Math.imul(m,ft)|0;var Tt=(c+(r=r+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,mt)|0)+Math.imul(f,pt)|0))<<13)|0;c=((o=o+Math.imul(f,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(B,W),i=(i=Math.imul(B,G))+Math.imul(U,W)|0,o=Math.imul(U,G),r=r+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(P,Y)|0,o=o+Math.imul(P,V)|0,r=r+Math.imul(R,Z)|0,i=(i=i+Math.imul(R,$)|0)+Math.imul(N,Z)|0,o=o+Math.imul(N,$)|0,r=r+Math.imul(C,J)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(D,J)|0,o=o+Math.imul(D,tt)|0,r=r+Math.imul(x,nt)|0,i=(i=i+Math.imul(x,rt)|0)+Math.imul(S,nt)|0,o=o+Math.imul(S,rt)|0,r=r+Math.imul(A,ot)|0,i=(i=i+Math.imul(A,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,r=r+Math.imul(v,lt)|0,i=(i=i+Math.imul(v,ct)|0)+Math.imul(E,lt)|0,o=o+Math.imul(E,ct)|0,r=r+Math.imul(y,ht)|0,i=(i=i+Math.imul(y,ft)|0)+Math.imul(w,ht)|0,o=o+Math.imul(w,ft)|0;var xt=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(B,Y),i=(i=Math.imul(B,V))+Math.imul(U,Y)|0,o=Math.imul(U,V),r=r+Math.imul(L,Z)|0,i=(i=i+Math.imul(L,$)|0)+Math.imul(P,Z)|0,o=o+Math.imul(P,$)|0,r=r+Math.imul(R,J)|0,i=(i=i+Math.imul(R,tt)|0)+Math.imul(N,J)|0,o=o+Math.imul(N,tt)|0,r=r+Math.imul(C,nt)|0,i=(i=i+Math.imul(C,rt)|0)+Math.imul(D,nt)|0,o=o+Math.imul(D,rt)|0,r=r+Math.imul(x,ot)|0,i=(i=i+Math.imul(x,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,r=r+Math.imul(A,lt)|0,i=(i=i+Math.imul(A,ct)|0)+Math.imul(M,lt)|0,o=o+Math.imul(M,ct)|0,r=r+Math.imul(v,ht)|0,i=(i=i+Math.imul(v,ft)|0)+Math.imul(E,ht)|0,o=o+Math.imul(E,ft)|0;var St=(c+(r=r+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,mt)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,mt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(B,Z),i=(i=Math.imul(B,$))+Math.imul(U,Z)|0,o=Math.imul(U,$),r=r+Math.imul(L,J)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(P,J)|0,o=o+Math.imul(P,tt)|0,r=r+Math.imul(R,nt)|0,i=(i=i+Math.imul(R,rt)|0)+Math.imul(N,nt)|0,o=o+Math.imul(N,rt)|0,r=r+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,r=r+Math.imul(x,lt)|0,i=(i=i+Math.imul(x,ct)|0)+Math.imul(S,lt)|0,o=o+Math.imul(S,ct)|0,r=r+Math.imul(A,ht)|0,i=(i=i+Math.imul(A,ft)|0)+Math.imul(M,ht)|0,o=o+Math.imul(M,ft)|0;var kt=(c+(r=r+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(E,pt)|0))<<13)|0;c=((o=o+Math.imul(E,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(B,J),i=(i=Math.imul(B,tt))+Math.imul(U,J)|0,o=Math.imul(U,tt),r=r+Math.imul(L,nt)|0,i=(i=i+Math.imul(L,rt)|0)+Math.imul(P,nt)|0,o=o+Math.imul(P,rt)|0,r=r+Math.imul(R,ot)|0,i=(i=i+Math.imul(R,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,r=r+Math.imul(C,lt)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(D,lt)|0,o=o+Math.imul(D,ct)|0,r=r+Math.imul(x,ht)|0,i=(i=i+Math.imul(x,ft)|0)+Math.imul(S,ht)|0,o=o+Math.imul(S,ft)|0;var Ct=(c+(r=r+Math.imul(A,pt)|0)|0)+((8191&(i=(i=i+Math.imul(A,mt)|0)+Math.imul(M,pt)|0))<<13)|0;c=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(B,nt),i=(i=Math.imul(B,rt))+Math.imul(U,nt)|0,o=Math.imul(U,rt),r=r+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(P,ot)|0,o=o+Math.imul(P,at)|0,r=r+Math.imul(R,lt)|0,i=(i=i+Math.imul(R,ct)|0)+Math.imul(N,lt)|0,o=o+Math.imul(N,ct)|0,r=r+Math.imul(C,ht)|0,i=(i=i+Math.imul(C,ft)|0)+Math.imul(D,ht)|0,o=o+Math.imul(D,ft)|0;var Dt=(c+(r=r+Math.imul(x,pt)|0)|0)+((8191&(i=(i=i+Math.imul(x,mt)|0)+Math.imul(S,pt)|0))<<13)|0;c=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,r=Math.imul(B,ot),i=(i=Math.imul(B,at))+Math.imul(U,ot)|0,o=Math.imul(U,at),r=r+Math.imul(L,lt)|0,i=(i=i+Math.imul(L,ct)|0)+Math.imul(P,lt)|0,o=o+Math.imul(P,ct)|0,r=r+Math.imul(R,ht)|0,i=(i=i+Math.imul(R,ft)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,ft)|0;var It=(c+(r=r+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,mt)|0)+Math.imul(D,pt)|0))<<13)|0;c=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(B,lt),i=(i=Math.imul(B,ct))+Math.imul(U,lt)|0,o=Math.imul(U,ct),r=r+Math.imul(L,ht)|0,i=(i=i+Math.imul(L,ft)|0)+Math.imul(P,ht)|0,o=o+Math.imul(P,ft)|0;var Rt=(c+(r=r+Math.imul(R,pt)|0)|0)+((8191&(i=(i=i+Math.imul(R,mt)|0)+Math.imul(N,pt)|0))<<13)|0;c=((o=o+Math.imul(N,mt)|0)+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,r=Math.imul(B,ht),i=(i=Math.imul(B,ft))+Math.imul(U,ht)|0,o=Math.imul(U,ft);var Nt=(c+(r=r+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(P,pt)|0))<<13)|0;c=((o=o+Math.imul(P,mt)|0)+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863;var Ot=(c+(r=Math.imul(B,pt))|0)+((8191&(i=(i=Math.imul(B,mt))+Math.imul(U,pt)|0))<<13)|0;return c=((o=Math.imul(U,mt))+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,l[0]=gt,l[1]=yt,l[2]=wt,l[3]=bt,l[4]=vt,l[5]=Et,l[6]=_t,l[7]=At,l[8]=Mt,l[9]=Tt,l[10]=xt,l[11]=St,l[12]=kt,l[13]=Ct,l[14]=Dt,l[15]=It,l[16]=Rt,l[17]=Nt,l[18]=Ot,0!==c&&(l[19]=c,n.length++),n};function m(t,e,n){return(new g).mulp(t,e,n)}function g(t,e){this.x=t,this.y=e}Math.imul||(p=d),o.prototype.mulTo=function(t,e){var n,r=this.length+t.length;return n=10===this.length&&10===t.length?p(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var a=i;i=0;for(var s=67108863&r,l=Math.min(o,e.length-1),c=Math.max(0,o-t.length+1);c<=l;c++){var u=o-c,h=(0|t.words[u])*(0|e.words[c]),f=67108863&h;s=67108863&(f=f+s|0),i+=(a=(a=a+(h/67108864|0)|0)+(f>>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,t,e):m(this,t,e),n},g.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r<t;r++)e[r]=this.revBin(r,n,t);return e},g.prototype.revBin=function(t,e,n){if(0===t||t===n-1)return t;for(var r=0,i=0;i<e;i++)r|=(1&t)<<e-i-1,t>>=1;return r},g.prototype.permute=function(t,e,n,r,i,o){for(var a=0;a<o;a++)r[a]=e[t[a]],i[a]=n[t[a]]},g.prototype.transform=function(t,e,n,r,i,o){this.permute(o,t,e,n,r,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,l=Math.cos(2*Math.PI/s),c=Math.sin(2*Math.PI/s),u=0;u<i;u+=s)for(var h=l,f=c,d=0;d<a;d++){var p=n[u+d],m=r[u+d],g=n[u+d+a],y=r[u+d+a],w=h*g-f*y;y=h*y+f*g,g=w,n[u+d]=p+g,r[u+d]=m+y,n[u+d+a]=p-g,r[u+d+a]=m-y,d!==s&&(w=l*h-c*f,f=l*f+c*h,h=w)}},g.prototype.guessLen13b=function(t,e){var n=1|Math.max(e,t),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},g.prototype.conjugate=function(t,e,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=t[r];t[r]=t[n-r-1],t[n-r-1]=i,i=e[r],e[r]=-e[n-r-1],e[n-r-1]=-i}},g.prototype.normalize13b=function(t,e){for(var n=0,r=0;r<e/2;r++){var i=8192*Math.round(t[2*r+1]/e)+Math.round(t[2*r]/e)+n;t[r]=67108863&i,n=i<67108864?0:i/67108864|0}return t},g.prototype.convert13b=function(t,e,n,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],n[2*a]=8191&o,o>>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)n[a]=0;r(0===o),r(0==(-8192&o))},g.prototype.stub=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=0;return e},g.prototype.mulp=function(t,e,n){var r=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(r),o=this.stub(r),a=new Array(r),s=new Array(r),l=new Array(r),c=new Array(r),u=new Array(r),h=new Array(r),f=n.words;f.length=r,this.convert13b(t.words,t.length,a,r),this.convert13b(e.words,e.length,c,r),this.transform(a,o,s,l,r,i),this.transform(c,o,u,h,r,i);for(var d=0;d<r;d++){var p=s[d]*u[d]-l[d]*h[d];l[d]=s[d]*h[d]+l[d]*u[d],s[d]=p}return this.conjugate(s,l,r),this.transform(s,l,f,o,r,i),this.conjugate(f,o,r),this.normalize13b(f,r),n.negative=t.negative^e.negative,n.length=t.length+e.length,n.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),m(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){r("number"==typeof t),r(t<67108864);for(var e=0,n=0;n<this.length;n++){var i=(0|this.words[n])*t,o=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=o>>>26,this.words[n]=67108863&o}return 0!==e&&(this.words[n]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n<e.length;n++){var r=n/26|0,i=n%26;e[n]=(t.words[r]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r<e.length&&0===e[r];r++,n=n.sqr());if(++r<e.length)for(var i=n.sqr();r<e.length;r++,i=i.sqr())0!==e[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(t){r("number"==typeof t&&t>=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,l=(0|this.words[e])-s<<n;this.words[e]=l|a,a=s>>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return r(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,n){var i;r("number"==typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,l=n;if(i-=a,i=Math.max(0,i),l){for(var c=0;c<a;c++)l.words[c]=this.words[c];l.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var u=0;for(c=this.length-1;c>=0&&(0!==u||c>=i);c--){var h=0|this.words[c];this.words[c]=u<<26-o|h>>>o,u=h&s}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<<e;return!(this.length<=n||!(this.words[n]&i))},o.prototype.imaskn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==e&&n++,this.length=Math.min(n,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return r("number"==typeof t),r(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(r("number"==typeof t),r(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,n){var i,o,a=t.length+n;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+n])+s;var l=(0|t.words[i])*e;s=((o-=67108863&l)>>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)s=(o=(0|this.words[i+n])+s)>>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1];0!=(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,l=r.length-i.length;if("mod"!==e){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var c=0;c<s.length;c++)s.words[c]=0}var u=r.clone()._ishlnsubmul(i,1,l);0===u.negative&&(r=u,s&&(s.words[l]=1));for(var h=l-1;h>=0;h--){var f=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);for(f=Math.min(f/a|0,67108863),r._ishlnsubmul(i,f,h);0!==r.negative;)f--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);s&&(s.words[h]=f)}return s&&s.strip(),r.strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){r(t<=67108863);for(var e=(1<<26)%t,n=0,i=this.length-1;i>=0;i--)n=(e*n+(0|this.words[i]))%t;return n},o.prototype.idivn=function(t){r(t<=67108863);for(var e=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*e;this.words[n]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var u=n.clone(),h=e.clone();!e.isZero();){for(var f=0,d=1;0==(e.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(e.iushrn(f);f-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(u),a.isub(h)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(u),l.isub(h)),s.iushrn(1),l.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(s),a.isub(l)):(n.isub(e),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:n.iushln(c)}},o.prototype._invmp=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),l=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,u=1;0==(e.words[0]&u)&&c<26;++c,u<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var h=0,f=1;0==(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(n.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(s)):(n.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"==typeof t);var e=t%26,n=(t-e)/26,i=1<<e;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,a=n;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)e=1;else{n&&(t=-t),r(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){r<i?e=-1:r>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new A(t)},o.prototype.toRed=function(t){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var y={k256:null,p224:null,p192:null,p25519:null};function w(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(t){if("string"==typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else r(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function M(t){A.call(this,t),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)}w.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},w.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},w.prototype.split=function(t,e){t.iushrn(this.n,0,e)},w.prototype.imulK=function(t){return t.imul(this.k)},i(b,w),b.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i<r;i++)e.words[i]=t.words[i];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&n,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(a&n)<<4|o>>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},b.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n<t.length;n++){var r=0|t.words[n];e+=977*r,t.words[n]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(v,w),i(E,w),i(_,w),_.prototype.imulK=function(t){for(var e=0,n=0;n<t.length;n++){var r=19*(0|t.words[n])+e,i=67108863&r;r>>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(y[t])return y[t];var e;if("k256"===t)e=new b;else if("p224"===t)e=new v;else if("p192"===t)e=new E;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new _}return y[t]=e,e},A.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},A.prototype._verify2=function(t,e){r(0==(t.negative|e.negative),"red works only with positives"),r(t.red&&t.red===e.red,"red works only with red numbers")},A.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},A.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},A.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},A.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},A.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},A.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},A.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},A.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},A.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},A.prototype.isqr=function(t){return this.imul(t,t.clone())},A.prototype.sqr=function(t){return this.mul(t,t)},A.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(r(e%2==1),3===e){var n=this.m.add(new o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,c).cmp(l);)u.redIAdd(l);for(var h=this.pow(u,i),f=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var m=d,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g<p);var y=this.pow(h,new o(1).iushln(p-g-1));f=f.redMul(y),h=y.redSqr(),d=d.redMul(h),p=g}return f},A.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},A.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=t;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],t);var i=n[0],a=0,s=0,l=e.bitLength()%26;for(0===l&&(l=26),r=e.length-1;r>=0;r--){for(var c=e.words[r],u=l-1;u>=0;u--){var h=c>>u&1;i!==n[0]&&(i=this.sqr(i)),0!==h||0!==a?(a<<=1,a|=h,(4==++s||0===r&&0===u)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}l=26}return i},A.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},A.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new M(t)},i(M,A),M.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},M.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},M.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},M.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},M.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t=n.nmd(t),this)},2838:function(t){t.exports=function(){"use strict";const{entries:t,setPrototypeOf:e,isFrozen:n,getPrototypeOf:r,getOwnPropertyDescriptor:i}=Object;let{freeze:o,seal:a,create:s}=Object,{apply:l,construct:c}="undefined"!=typeof Reflect&&Reflect;o||(o=function(t){return t}),a||(a=function(t){return t}),l||(l=function(t,e,n){return t.apply(e,n)}),c||(c=function(t,e){return new t(...e)});const u=A(Array.prototype.forEach),h=A(Array.prototype.pop),f=A(Array.prototype.push),d=A(String.prototype.toLowerCase),p=A(String.prototype.toString),m=A(String.prototype.match),g=A(String.prototype.replace),y=A(String.prototype.indexOf),w=A(String.prototype.trim),b=A(Object.prototype.hasOwnProperty),v=A(RegExp.prototype.test),E=(_=TypeError,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return c(_,e)});var _;function A(t){return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return l(t,e,r)}}function M(t,r){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d;e&&e(t,null);let o=r.length;for(;o--;){let e=r[o];if("string"==typeof e){const t=i(e);t!==e&&(n(r)||(r[o]=t),e=t)}t[e]=!0}return t}function T(t){for(let e=0;e<t.length;e++)b(t,e)||(t[e]=null);return t}function x(e){const n=s(null);for(const[r,i]of t(e))b(e,r)&&(Array.isArray(i)?n[r]=T(i):i&&"object"==typeof i&&i.constructor===Object?n[r]=x(i):n[r]=i);return n}function S(t,e){for(;null!==t;){const n=i(t,e);if(n){if(n.get)return A(n.get);if("function"==typeof n.value)return A(n.value)}t=r(t)}return function(){return null}}const k=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),C=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),D=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),I=o(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),R=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),N=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),O=o(["#text"]),L=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),P=o(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),F=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),B=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),U=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),j=a(/<%[\w\W]*|[\w\W]*%>/gm),H=a(/\${[\w\W]*}/gm),z=a(/^data-[\-\w.\u00B7-\uFFFF]/),q=a(/^aria-[\-\w]+$/),W=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),G=a(/^(?:\w+script|data):/i),K=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Y=a(/^html$/i),V=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var X=Object.freeze({__proto__:null,MUSTACHE_EXPR:U,ERB_EXPR:j,TMPLIT_EXPR:H,DATA_ATTR:z,ARIA_ATTR:q,IS_ALLOWED_URI:W,IS_SCRIPT_OR_DATA:G,ATTR_WHITESPACE:K,DOCTYPE_NAME:Y,CUSTOM_ELEMENT:V});const Z=1,$=3,Q=7,J=8,tt=9,et=function(){return"undefined"==typeof window?null:window};return function e(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:et();const r=t=>e(t);if(r.version="3.1.5",r.removed=[],!n||!n.document||n.document.nodeType!==tt)return r.isSupported=!1,r;let{document:i}=n;const a=i,l=a.currentScript,{DocumentFragment:c,HTMLTemplateElement:_,Node:A,Element:T,NodeFilter:U,NamedNodeMap:j=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:H,DOMParser:z,trustedTypes:q}=n,G=T.prototype,K=S(G,"cloneNode"),V=S(G,"nextSibling"),nt=S(G,"childNodes"),rt=S(G,"parentNode");if("function"==typeof _){const t=i.createElement("template");t.content&&t.content.ownerDocument&&(i=t.content.ownerDocument)}let it,ot="";const{implementation:at,createNodeIterator:st,createDocumentFragment:lt,getElementsByTagName:ct}=i,{importNode:ut}=a;let ht={};r.isSupported="function"==typeof t&&"function"==typeof rt&&at&&void 0!==at.createHTMLDocument;const{MUSTACHE_EXPR:ft,ERB_EXPR:dt,TMPLIT_EXPR:pt,DATA_ATTR:mt,ARIA_ATTR:gt,IS_SCRIPT_OR_DATA:yt,ATTR_WHITESPACE:wt,CUSTOM_ELEMENT:bt}=X;let{IS_ALLOWED_URI:vt}=X,Et=null;const _t=M({},[...k,...C,...D,...R,...O]);let At=null;const Mt=M({},[...L,...P,...F,...B]);let Tt=Object.seal(s(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),xt=null,St=null,kt=!0,Ct=!0,Dt=!1,It=!0,Rt=!1,Nt=!0,Ot=!1,Lt=!1,Pt=!1,Ft=!1,Bt=!1,Ut=!1,jt=!0,Ht=!1,zt=!0,qt=!1,Wt={},Gt=null;const Kt=M({},["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"]);let Yt=null;const Vt=M({},["audio","video","img","source","image","track"]);let Xt=null;const Zt=M({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),$t="http://www.w3.org/1998/Math/MathML",Qt="http://www.w3.org/2000/svg",Jt="http://www.w3.org/1999/xhtml";let te=Jt,ee=!1,ne=null;const re=M({},[$t,Qt,Jt],p);let ie=null;const oe=["application/xhtml+xml","text/html"];let ae=null,se=null;const le=i.createElement("form"),ce=function(t){return t instanceof RegExp||t instanceof Function},ue=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!se||se!==t){if(t&&"object"==typeof t||(t={}),t=x(t),ie=-1===oe.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,ae="application/xhtml+xml"===ie?p:d,Et=b(t,"ALLOWED_TAGS")?M({},t.ALLOWED_TAGS,ae):_t,At=b(t,"ALLOWED_ATTR")?M({},t.ALLOWED_ATTR,ae):Mt,ne=b(t,"ALLOWED_NAMESPACES")?M({},t.ALLOWED_NAMESPACES,p):re,Xt=b(t,"ADD_URI_SAFE_ATTR")?M(x(Zt),t.ADD_URI_SAFE_ATTR,ae):Zt,Yt=b(t,"ADD_DATA_URI_TAGS")?M(x(Vt),t.ADD_DATA_URI_TAGS,ae):Vt,Gt=b(t,"FORBID_CONTENTS")?M({},t.FORBID_CONTENTS,ae):Kt,xt=b(t,"FORBID_TAGS")?M({},t.FORBID_TAGS,ae):{},St=b(t,"FORBID_ATTR")?M({},t.FORBID_ATTR,ae):{},Wt=!!b(t,"USE_PROFILES")&&t.USE_PROFILES,kt=!1!==t.ALLOW_ARIA_ATTR,Ct=!1!==t.ALLOW_DATA_ATTR,Dt=t.ALLOW_UNKNOWN_PROTOCOLS||!1,It=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Rt=t.SAFE_FOR_TEMPLATES||!1,Nt=!1!==t.SAFE_FOR_XML,Ot=t.WHOLE_DOCUMENT||!1,Ft=t.RETURN_DOM||!1,Bt=t.RETURN_DOM_FRAGMENT||!1,Ut=t.RETURN_TRUSTED_TYPE||!1,Pt=t.FORCE_BODY||!1,jt=!1!==t.SANITIZE_DOM,Ht=t.SANITIZE_NAMED_PROPS||!1,zt=!1!==t.KEEP_CONTENT,qt=t.IN_PLACE||!1,vt=t.ALLOWED_URI_REGEXP||W,te=t.NAMESPACE||Jt,Tt=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&ce(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Tt.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ce(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Tt.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Tt.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Rt&&(Ct=!1),Bt&&(Ft=!0),Wt&&(Et=M({},O),At=[],!0===Wt.html&&(M(Et,k),M(At,L)),!0===Wt.svg&&(M(Et,C),M(At,P),M(At,B)),!0===Wt.svgFilters&&(M(Et,D),M(At,P),M(At,B)),!0===Wt.mathMl&&(M(Et,R),M(At,F),M(At,B))),t.ADD_TAGS&&(Et===_t&&(Et=x(Et)),M(Et,t.ADD_TAGS,ae)),t.ADD_ATTR&&(At===Mt&&(At=x(At)),M(At,t.ADD_ATTR,ae)),t.ADD_URI_SAFE_ATTR&&M(Xt,t.ADD_URI_SAFE_ATTR,ae),t.FORBID_CONTENTS&&(Gt===Kt&&(Gt=x(Gt)),M(Gt,t.FORBID_CONTENTS,ae)),zt&&(Et["#text"]=!0),Ot&&M(Et,["html","head","body"]),Et.table&&(M(Et,["tbody"]),delete xt.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw E('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw E('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');it=t.TRUSTED_TYPES_POLICY,ot=it.createHTML("")}else void 0===it&&(it=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(n=e.getAttribute(r));const i="dompurify"+(n?"#"+n:"");try{return t.createPolicy(i,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+i+" could not be created."),null}}(q,l)),null!==it&&"string"==typeof ot&&(ot=it.createHTML(""));o&&o(t),se=t}},he=M({},["mi","mo","mn","ms","mtext"]),fe=M({},["foreignobject","annotation-xml"]),de=M({},["title","style","font","a","script"]),pe=M({},[...C,...D,...I]),me=M({},[...R,...N]),ge=function(t){f(r.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){t.remove()}},ye=function(t,e){try{f(r.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){f(r.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!At[t])if(Ft||Bt)try{ge(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},we=function(t){let e=null,n=null;if(Pt)t="<remove></remove>"+t;else{const e=m(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===ie&&te===Jt&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const r=it?it.createHTML(t):t;if(te===Jt)try{e=(new z).parseFromString(r,ie)}catch(t){}if(!e||!e.documentElement){e=at.createDocument(te,"template",null);try{e.documentElement.innerHTML=ee?ot:r}catch(t){}}const o=e.body||e.documentElement;return t&&n&&o.insertBefore(i.createTextNode(n),o.childNodes[0]||null),te===Jt?ct.call(e,Ot?"html":"body")[0]:Ot?e.documentElement:o},be=function(t){return st.call(t.ownerDocument||t,t,U.SHOW_ELEMENT|U.SHOW_COMMENT|U.SHOW_TEXT|U.SHOW_PROCESSING_INSTRUCTION|U.SHOW_CDATA_SECTION,null)},ve=function(t){return t instanceof H&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof j)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},Ee=function(t){return"function"==typeof A&&t instanceof A},_e=function(t,e,n){ht[t]&&u(ht[t],(t=>{t.call(r,e,n,se)}))},Ae=function(t){let e=null;if(_e("beforeSanitizeElements",t,null),ve(t))return ge(t),!0;const n=ae(t.nodeName);if(_e("uponSanitizeElement",t,{tagName:n,allowedTags:Et}),t.hasChildNodes()&&!Ee(t.firstElementChild)&&v(/<[/\w]/g,t.innerHTML)&&v(/<[/\w]/g,t.textContent))return ge(t),!0;if(t.nodeType===Q)return ge(t),!0;if(Nt&&t.nodeType===J&&v(/<[/\w]/g,t.data))return ge(t),!0;if(!Et[n]||xt[n]){if(!xt[n]&&Te(n)){if(Tt.tagNameCheck instanceof RegExp&&v(Tt.tagNameCheck,n))return!1;if(Tt.tagNameCheck instanceof Function&&Tt.tagNameCheck(n))return!1}if(zt&&!Gt[n]){const e=rt(t)||t.parentNode,n=nt(t)||t.childNodes;if(n&&e)for(let r=n.length-1;r>=0;--r){const i=K(n[r],!0);i.__removalCount=(t.__removalCount||0)+1,e.insertBefore(i,V(t))}}return ge(t),!0}return t instanceof T&&!function(t){let e=rt(t);e&&e.tagName||(e={namespaceURI:te,tagName:"template"});const n=d(t.tagName),r=d(e.tagName);return!!ne[t.namespaceURI]&&(t.namespaceURI===Qt?e.namespaceURI===Jt?"svg"===n:e.namespaceURI===$t?"svg"===n&&("annotation-xml"===r||he[r]):Boolean(pe[n]):t.namespaceURI===$t?e.namespaceURI===Jt?"math"===n:e.namespaceURI===Qt?"math"===n&&fe[r]:Boolean(me[n]):t.namespaceURI===Jt?!(e.namespaceURI===Qt&&!fe[r])&&!(e.namespaceURI===$t&&!he[r])&&!me[n]&&(de[n]||!pe[n]):!("application/xhtml+xml"!==ie||!ne[t.namespaceURI]))}(t)?(ge(t),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!v(/<\/no(script|embed|frames)/i,t.innerHTML)?(Rt&&t.nodeType===$&&(e=t.textContent,u([ft,dt,pt],(t=>{e=g(e,t," ")})),t.textContent!==e&&(f(r.removed,{element:t.cloneNode()}),t.textContent=e)),_e("afterSanitizeElements",t,null),!1):(ge(t),!0)},Me=function(t,e,n){if(jt&&("id"===e||"name"===e)&&(n in i||n in le))return!1;if(Ct&&!St[e]&&v(mt,e));else if(kt&&v(gt,e));else if(!At[e]||St[e]){if(!(Te(t)&&(Tt.tagNameCheck instanceof RegExp&&v(Tt.tagNameCheck,t)||Tt.tagNameCheck instanceof Function&&Tt.tagNameCheck(t))&&(Tt.attributeNameCheck instanceof RegExp&&v(Tt.attributeNameCheck,e)||Tt.attributeNameCheck instanceof Function&&Tt.attributeNameCheck(e))||"is"===e&&Tt.allowCustomizedBuiltInElements&&(Tt.tagNameCheck instanceof RegExp&&v(Tt.tagNameCheck,n)||Tt.tagNameCheck instanceof Function&&Tt.tagNameCheck(n))))return!1}else if(Xt[e]);else if(v(vt,g(n,wt,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==y(n,"data:")||!Yt[t])if(Dt&&!v(yt,g(n,wt,"")));else if(n)return!1;return!0},Te=function(t){return"annotation-xml"!==t&&m(t,bt)},xe=function(t){_e("beforeSanitizeAttributes",t,null);const{attributes:e}=t;if(!e)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:At};let i=e.length;for(;i--;){const o=e[i],{name:a,namespaceURI:s,value:l}=o,c=ae(a);let f="value"===a?l:w(l);if(n.attrName=c,n.attrValue=f,n.keepAttr=!0,n.forceKeepAttr=void 0,_e("uponSanitizeAttribute",t,n),f=n.attrValue,n.forceKeepAttr)continue;if(ye(a,t),!n.keepAttr)continue;if(!It&&v(/\/>/i,f)){ye(a,t);continue}if(Nt&&v(/((--!?|])>)|<\/(style|title)/i,f)){ye(a,t);continue}Rt&&u([ft,dt,pt],(t=>{f=g(f,t," ")}));const d=ae(t.nodeName);if(Me(d,c,f)){if(!Ht||"id"!==c&&"name"!==c||(ye(a,t),f="user-content-"+f),it&&"object"==typeof q&&"function"==typeof q.getAttributeType)if(s);else switch(q.getAttributeType(d,c)){case"TrustedHTML":f=it.createHTML(f);break;case"TrustedScriptURL":f=it.createScriptURL(f)}try{s?t.setAttributeNS(s,a,f):t.setAttribute(a,f),ve(t)?ge(t):h(r.removed)}catch(t){}}}_e("afterSanitizeAttributes",t,null)},Se=function t(e){let n=null;const r=be(e);for(_e("beforeSanitizeShadowDOM",e,null);n=r.nextNode();)_e("uponSanitizeShadowNode",n,null),Ae(n)||(n.content instanceof c&&t(n.content),xe(n));_e("afterSanitizeShadowDOM",e,null)};return r.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,i=null,o=null,s=null;if(ee=!t,ee&&(t="\x3c!--\x3e"),"string"!=typeof t&&!Ee(t)){if("function"!=typeof t.toString)throw E("toString is not a function");if("string"!=typeof(t=t.toString()))throw E("dirty is not a string, aborting")}if(!r.isSupported)return t;if(Lt||ue(e),r.removed=[],"string"==typeof t&&(qt=!1),qt){if(t.nodeName){const e=ae(t.nodeName);if(!Et[e]||xt[e])throw E("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof A)n=we("\x3c!----\x3e"),i=n.ownerDocument.importNode(t,!0),i.nodeType===Z&&"BODY"===i.nodeName||"HTML"===i.nodeName?n=i:n.appendChild(i);else{if(!Ft&&!Rt&&!Ot&&-1===t.indexOf("<"))return it&&Ut?it.createHTML(t):t;if(n=we(t),!n)return Ft?null:Ut?ot:""}n&&Pt&&ge(n.firstChild);const l=be(qt?t:n);for(;o=l.nextNode();)Ae(o)||(o.content instanceof c&&Se(o.content),xe(o));if(qt)return t;if(Ft){if(Bt)for(s=lt.call(n.ownerDocument);n.firstChild;)s.appendChild(n.firstChild);else s=n;return(At.shadowroot||At.shadowrootmode)&&(s=ut.call(a,s,!0)),s}let h=Ot?n.outerHTML:n.innerHTML;return Ot&&Et["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&v(Y,n.ownerDocument.doctype.name)&&(h="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+h),Rt&&u([ft,dt,pt],(t=>{h=g(h,t," ")})),it&&Ut?it.createHTML(h):h},r.setConfig=function(){ue(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Lt=!0},r.clearConfig=function(){se=null,Lt=!1},r.isValidAttribute=function(t,e,n){se||ue({});const r=ae(t),i=ae(e);return Me(r,i,n)},r.addHook=function(t,e){"function"==typeof e&&(ht[t]=ht[t]||[],f(ht[t],e))},r.removeHook=function(t){if(ht[t])return h(ht[t])},r.removeHooks=function(t){ht[t]&&(ht[t]=[])},r.removeAllHooks=function(){ht={}},r}()}()},6729:(t,e,n)=>{"use strict";var r=e;r.version=n(1636).rE,r.utils=n(7011),r.rand=n(5037),r.curve=n(894),r.curves=n(480),r.ec=n(7447),r.eddsa=n(8650)},6677:(t,e,n)=>{"use strict";var r=n(8490),i=n(7011),o=i.getNAF,a=i.getJSF,s=i.assert;function l(t,e){this.type=t,this.p=new r(e.p,16),this.red=e.prime?r.red(e.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=e.n&&new r(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function c(t,e){this.curve=t,this.type=e,this.precomputed=null}t.exports=l,l.prototype.point=function(){throw new Error("Not implemented")},l.prototype.validate=function(){throw new Error("Not implemented")},l.prototype._fixedNafMul=function(t,e){s(t.precomputed);var n=t._getDoubles(),r=o(e,1,this._bitLength),i=(1<<n.step+1)-(n.step%2==0?2:1);i/=3;var a,l,c=[];for(a=0;a<r.length;a+=n.step){l=0;for(var u=a+n.step-1;u>=a;u--)l=(l<<1)+r[u];c.push(l)}for(var h=this.jpoint(null,null,null),f=this.jpoint(null,null,null),d=i;d>0;d--){for(a=0;a<c.length;a++)(l=c[a])===d?f=f.mixedAdd(n.points[a]):l===-d&&(f=f.mixedAdd(n.points[a].neg()));h=h.add(f)}return h.toP()},l.prototype._wnafMul=function(t,e){var n=4,r=t._getNAFPoints(n);n=r.wnd;for(var i=r.points,a=o(e,n,this._bitLength),l=this.jpoint(null,null,null),c=a.length-1;c>=0;c--){for(var u=0;c>=0&&0===a[c];c--)u++;if(c>=0&&u++,l=l.dblp(u),c<0)break;var h=a[c];s(0!==h),l="affine"===t.type?h>0?l.mixedAdd(i[h-1>>1]):l.mixedAdd(i[-h-1>>1].neg()):h>0?l.add(i[h-1>>1]):l.add(i[-h-1>>1].neg())}return"affine"===t.type?l.toP():l},l.prototype._wnafMulAdd=function(t,e,n,r,i){var s,l,c,u=this._wnafT1,h=this._wnafT2,f=this._wnafT3,d=0;for(s=0;s<r;s++){var p=(c=e[s])._getNAFPoints(t);u[s]=p.wnd,h[s]=p.points}for(s=r-1;s>=1;s-=2){var m=s-1,g=s;if(1===u[m]&&1===u[g]){var y=[e[m],null,null,e[g]];0===e[m].y.cmp(e[g].y)?(y[1]=e[m].add(e[g]),y[2]=e[m].toJ().mixedAdd(e[g].neg())):0===e[m].y.cmp(e[g].y.redNeg())?(y[1]=e[m].toJ().mixedAdd(e[g]),y[2]=e[m].add(e[g].neg())):(y[1]=e[m].toJ().mixedAdd(e[g]),y[2]=e[m].toJ().mixedAdd(e[g].neg()));var w=[-3,-1,-5,-7,0,7,5,1,3],b=a(n[m],n[g]);for(d=Math.max(b[0].length,d),f[m]=new Array(d),f[g]=new Array(d),l=0;l<d;l++){var v=0|b[0][l],E=0|b[1][l];f[m][l]=w[3*(v+1)+(E+1)],f[g][l]=0,h[m]=y}}else f[m]=o(n[m],u[m],this._bitLength),f[g]=o(n[g],u[g],this._bitLength),d=Math.max(f[m].length,d),d=Math.max(f[g].length,d)}var _=this.jpoint(null,null,null),A=this._wnafT4;for(s=d;s>=0;s--){for(var M=0;s>=0;){var T=!0;for(l=0;l<r;l++)A[l]=0|f[l][s],0!==A[l]&&(T=!1);if(!T)break;M++,s--}if(s>=0&&M++,_=_.dblp(M),s<0)break;for(l=0;l<r;l++){var x=A[l];0!==x&&(x>0?c=h[l][x-1>>1]:x<0&&(c=h[l][-x-1>>1].neg()),_="affine"===c.type?_.mixedAdd(c):_.add(c))}}for(s=0;s<r;s++)h[s]=null;return i?_:_.toP()},l.BasePoint=c,c.prototype.eq=function(){throw new Error("Not implemented")},c.prototype.validate=function(){return this.curve.validate(this)},l.prototype.decodePoint=function(t,e){t=i.toArray(t,e);var n=this.p.byteLength();if((4===t[0]||6===t[0]||7===t[0])&&t.length-1==2*n)return 6===t[0]?s(t[t.length-1]%2==0):7===t[0]&&s(t[t.length-1]%2==1),this.point(t.slice(1,1+n),t.slice(1+n,1+2*n));if((2===t[0]||3===t[0])&&t.length-1===n)return this.pointFromX(t.slice(1,1+n),3===t[0]);throw new Error("Unknown point format")},c.prototype.encodeCompressed=function(t){return this.encode(t,!0)},c.prototype._encode=function(t){var e=this.curve.p.byteLength(),n=this.getX().toArray("be",e);return t?[this.getY().isEven()?2:3].concat(n):[4].concat(n,this.getY().toArray("be",e))},c.prototype.encode=function(t,e){return i.encode(this._encode(e),t)},c.prototype.precompute=function(t){if(this.precomputed)return this;var e={doubles:null,naf:null,beta:null};return e.naf=this._getNAFPoints(8),e.doubles=this._getDoubles(4,t),e.beta=this._getBeta(),this.precomputed=e,this},c.prototype._hasDoubles=function(t){if(!this.precomputed)return!1;var e=this.precomputed.doubles;return!!e&&e.points.length>=Math.ceil((t.bitLength()+1)/e.step)},c.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],r=this,i=0;i<e;i+=t){for(var o=0;o<t;o++)r=r.dbl();n.push(r)}return{step:t,points:n}},c.prototype._getNAFPoints=function(t){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var e=[this],n=(1<<t)-1,r=1===n?null:this.dbl(),i=1;i<n;i++)e[i]=e[i-1].add(r);return{wnd:t,points:e}},c.prototype._getBeta=function(){return null},c.prototype.dblp=function(t){for(var e=this,n=0;n<t;n++)e=e.dbl();return e}},1298:(t,e,n)=>{"use strict";var r=n(7011),i=n(8490),o=n(6698),a=n(6677),s=r.assert;function l(t){this.twisted=1!=(0|t.a),this.mOneA=this.twisted&&-1==(0|t.a),this.extended=this.mOneA,a.call(this,"edwards",t),this.a=new i(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|t.c)}function c(t,e,n,r,o){a.BasePoint.call(this,t,"projective"),null===e&&null===n&&null===r?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(e,16),this.y=new i(n,16),this.z=r?new i(r,16):this.curve.one,this.t=o&&new i(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(l,a),t.exports=l,l.prototype._mulA=function(t){return this.mOneA?t.redNeg():this.a.redMul(t)},l.prototype._mulC=function(t){return this.oneC?t:this.c.redMul(t)},l.prototype.jpoint=function(t,e,n,r){return this.point(t,e,n,r)},l.prototype.pointFromX=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr(),r=this.c2.redSub(this.a.redMul(n)),o=this.one.redSub(this.c2.redMul(this.d).redMul(n)),a=r.redMul(o.redInvm()),s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");var l=s.fromRed().isOdd();return(e&&!l||!e&&l)&&(s=s.redNeg()),this.point(t,s)},l.prototype.pointFromY=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr(),r=n.redSub(this.c2),o=n.redMul(this.d).redMul(this.c2).redSub(this.a),a=r.redMul(o.redInvm());if(0===a.cmp(this.zero)){if(e)throw new Error("invalid point");return this.point(this.zero,t)}var s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");return s.fromRed().isOdd()!==e&&(s=s.redNeg()),this.point(s,t)},l.prototype.validate=function(t){if(t.isInfinity())return!0;t.normalize();var e=t.x.redSqr(),n=t.y.redSqr(),r=e.redMul(this.a).redAdd(n),i=this.c2.redMul(this.one.redAdd(this.d.redMul(e).redMul(n)));return 0===r.cmp(i)},o(c,a.BasePoint),l.prototype.pointFromJSON=function(t){return c.fromJSON(this,t)},l.prototype.point=function(t,e,n,r){return new c(this,t,e,n,r)},c.fromJSON=function(t,e){return new c(t,e[0],e[1],e[2])},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},c.prototype._extDbl=function(){var t=this.x.redSqr(),e=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var r=this.curve._mulA(t),i=this.x.redAdd(this.y).redSqr().redISub(t).redISub(e),o=r.redAdd(e),a=o.redSub(n),s=r.redSub(e),l=i.redMul(a),c=o.redMul(s),u=i.redMul(s),h=a.redMul(o);return this.curve.point(l,c,h,u)},c.prototype._projDbl=function(){var t,e,n,r,i,o,a=this.x.redAdd(this.y).redSqr(),s=this.x.redSqr(),l=this.y.redSqr();if(this.curve.twisted){var c=(r=this.curve._mulA(s)).redAdd(l);this.zOne?(t=a.redSub(s).redSub(l).redMul(c.redSub(this.curve.two)),e=c.redMul(r.redSub(l)),n=c.redSqr().redSub(c).redSub(c)):(i=this.z.redSqr(),o=c.redSub(i).redISub(i),t=a.redSub(s).redISub(l).redMul(o),e=c.redMul(r.redSub(l)),n=c.redMul(o))}else r=s.redAdd(l),i=this.curve._mulC(this.z).redSqr(),o=r.redSub(i).redSub(i),t=this.curve._mulC(a.redISub(r)).redMul(o),e=this.curve._mulC(r).redMul(s.redISub(l)),n=r.redMul(o);return this.curve.point(t,e,n)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},c.prototype._extAdd=function(t){var e=this.y.redSub(this.x).redMul(t.y.redSub(t.x)),n=this.y.redAdd(this.x).redMul(t.y.redAdd(t.x)),r=this.t.redMul(this.curve.dd).redMul(t.t),i=this.z.redMul(t.z.redAdd(t.z)),o=n.redSub(e),a=i.redSub(r),s=i.redAdd(r),l=n.redAdd(e),c=o.redMul(a),u=s.redMul(l),h=o.redMul(l),f=a.redMul(s);return this.curve.point(c,u,f,h)},c.prototype._projAdd=function(t){var e,n,r=this.z.redMul(t.z),i=r.redSqr(),o=this.x.redMul(t.x),a=this.y.redMul(t.y),s=this.curve.d.redMul(o).redMul(a),l=i.redSub(s),c=i.redAdd(s),u=this.x.redAdd(this.y).redMul(t.x.redAdd(t.y)).redISub(o).redISub(a),h=r.redMul(l).redMul(u);return this.curve.twisted?(e=r.redMul(c).redMul(a.redSub(this.curve._mulA(o))),n=l.redMul(c)):(e=r.redMul(c).redMul(a.redSub(o)),n=this.curve._mulC(l).redMul(c)),this.curve.point(h,e,n)},c.prototype.add=function(t){return this.isInfinity()?t:t.isInfinity()?this:this.curve.extended?this._extAdd(t):this._projAdd(t)},c.prototype.mul=function(t){return this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve._wnafMul(this,t)},c.prototype.mulAdd=function(t,e,n){return this.curve._wnafMulAdd(1,[this,e],[t,n],2,!1)},c.prototype.jmulAdd=function(t,e,n){return this.curve._wnafMulAdd(1,[this,e],[t,n],2,!0)},c.prototype.normalize=function(){if(this.zOne)return this;var t=this.z.redInvm();return this.x=this.x.redMul(t),this.y=this.y.redMul(t),this.t&&(this.t=this.t.redMul(t)),this.z=this.curve.one,this.zOne=!0,this},c.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()},c.prototype.getY=function(){return this.normalize(),this.y.fromRed()},c.prototype.eq=function(t){return this===t||0===this.getX().cmp(t.getX())&&0===this.getY().cmp(t.getY())},c.prototype.eqXToP=function(t){var e=t.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(e))return!0;for(var n=t.clone(),r=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(e.redIAdd(r),0===this.x.cmp(e))return!0}},c.prototype.toP=c.prototype.normalize,c.prototype.mixedAdd=c.prototype.add},894:(t,e,n)=>{"use strict";var r=e;r.base=n(6677),r.short=n(9188),r.mont=n(370),r.edwards=n(1298)},370:(t,e,n)=>{"use strict";var r=n(8490),i=n(6698),o=n(6677),a=n(7011);function s(t){o.call(this,"mont",t),this.a=new r(t.a,16).toRed(this.red),this.b=new r(t.b,16).toRed(this.red),this.i4=new r(4).toRed(this.red).redInvm(),this.two=new r(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function l(t,e,n){o.BasePoint.call(this,t,"projective"),null===e&&null===n?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new r(e,16),this.z=new r(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(s,o),t.exports=s,s.prototype.validate=function(t){var e=t.normalize().x,n=e.redSqr(),r=n.redMul(e).redAdd(n.redMul(this.a)).redAdd(e);return 0===r.redSqrt().redSqr().cmp(r)},i(l,o.BasePoint),s.prototype.decodePoint=function(t,e){return this.point(a.toArray(t,e),1)},s.prototype.point=function(t,e){return new l(this,t,e)},s.prototype.pointFromJSON=function(t){return l.fromJSON(this,t)},l.prototype.precompute=function(){},l.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},l.fromJSON=function(t,e){return new l(t,e[0],e[1]||t.one)},l.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},l.prototype.dbl=function(){var t=this.x.redAdd(this.z).redSqr(),e=this.x.redSub(this.z).redSqr(),n=t.redSub(e),r=t.redMul(e),i=n.redMul(e.redAdd(this.curve.a24.redMul(n)));return this.curve.point(r,i)},l.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.diffAdd=function(t,e){var n=this.x.redAdd(this.z),r=this.x.redSub(this.z),i=t.x.redAdd(t.z),o=t.x.redSub(t.z).redMul(n),a=i.redMul(r),s=e.z.redMul(o.redAdd(a).redSqr()),l=e.x.redMul(o.redISub(a).redSqr());return this.curve.point(s,l)},l.prototype.mul=function(t){for(var e=t.clone(),n=this,r=this.curve.point(null,null),i=[];0!==e.cmpn(0);e.iushrn(1))i.push(e.andln(1));for(var o=i.length-1;o>=0;o--)0===i[o]?(n=n.diffAdd(r,this),r=r.dbl()):(r=n.diffAdd(r,this),n=n.dbl());return r},l.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.eq=function(t){return 0===this.getX().cmp(t.getX())},l.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},9188:(t,e,n)=>{"use strict";var r=n(7011),i=n(8490),o=n(6698),a=n(6677),s=r.assert;function l(t){a.call(this,"short",t),this.a=new i(t.a,16).toRed(this.red),this.b=new i(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function c(t,e,n,r){a.BasePoint.call(this,t,"affine"),null===e&&null===n?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(e,16),this.y=new i(n,16),r&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function u(t,e,n,r){a.BasePoint.call(this,t,"jacobian"),null===e&&null===n&&null===r?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(e,16),this.y=new i(n,16),this.z=new i(r,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}o(l,a),t.exports=l,l.prototype._getEndomorphism=function(t){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var e,n;if(t.beta)e=new i(t.beta,16).toRed(this.red);else{var r=this._getEndoRoots(this.p);e=(e=r[0].cmp(r[1])<0?r[0]:r[1]).toRed(this.red)}if(t.lambda)n=new i(t.lambda,16);else{var o=this._getEndoRoots(this.n);0===this.g.mul(o[0]).x.cmp(this.g.x.redMul(e))?n=o[0]:(n=o[1],s(0===this.g.mul(n).x.cmp(this.g.x.redMul(e))))}return{beta:e,lambda:n,basis:t.basis?t.basis.map((function(t){return{a:new i(t.a,16),b:new i(t.b,16)}})):this._getEndoBasis(n)}}},l.prototype._getEndoRoots=function(t){var e=t===this.p?this.red:i.mont(t),n=new i(2).toRed(e).redInvm(),r=n.redNeg(),o=new i(3).toRed(e).redNeg().redSqrt().redMul(n);return[r.redAdd(o).fromRed(),r.redSub(o).fromRed()]},l.prototype._getEndoBasis=function(t){for(var e,n,r,o,a,s,l,c,u,h=this.n.ushrn(Math.floor(this.n.bitLength()/2)),f=t,d=this.n.clone(),p=new i(1),m=new i(0),g=new i(0),y=new i(1),w=0;0!==f.cmpn(0);){var b=d.div(f);c=d.sub(b.mul(f)),u=g.sub(b.mul(p));var v=y.sub(b.mul(m));if(!r&&c.cmp(h)<0)e=l.neg(),n=p,r=c.neg(),o=u;else if(r&&2==++w)break;l=c,d=f,f=c,g=p,p=u,y=m,m=v}a=c.neg(),s=u;var E=r.sqr().add(o.sqr());return a.sqr().add(s.sqr()).cmp(E)>=0&&(a=e,s=n),r.negative&&(r=r.neg(),o=o.neg()),a.negative&&(a=a.neg(),s=s.neg()),[{a:r,b:o},{a,b:s}]},l.prototype._endoSplit=function(t){var e=this.endo.basis,n=e[0],r=e[1],i=r.b.mul(t).divRound(this.n),o=n.b.neg().mul(t).divRound(this.n),a=i.mul(n.a),s=o.mul(r.a),l=i.mul(n.b),c=o.mul(r.b);return{k1:t.sub(a).sub(s),k2:l.add(c).neg()}},l.prototype.pointFromX=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var o=r.fromRed().isOdd();return(e&&!o||!e&&o)&&(r=r.redNeg()),this.point(t,r)},l.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,n=t.y,r=this.a.redMul(e),i=e.redSqr().redMul(e).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(i).cmpn(0)},l.prototype._endoWnafMulAdd=function(t,e,n){for(var r=this._endoWnafT1,i=this._endoWnafT2,o=0;o<t.length;o++){var a=this._endoSplit(e[o]),s=t[o],l=s._getBeta();a.k1.negative&&(a.k1.ineg(),s=s.neg(!0)),a.k2.negative&&(a.k2.ineg(),l=l.neg(!0)),r[2*o]=s,r[2*o+1]=l,i[2*o]=a.k1,i[2*o+1]=a.k2}for(var c=this._wnafMulAdd(1,r,i,2*o,n),u=0;u<2*o;u++)r[u]=null,i[u]=null;return c},o(c,a.BasePoint),l.prototype.point=function(t,e,n){return new c(this,t,e,n)},l.prototype.pointFromJSON=function(t,e){return c.fromJSON(this,t,e)},c.prototype._getBeta=function(){if(this.curve.endo){var t=this.precomputed;if(t&&t.beta)return t.beta;var e=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(t){var n=this.curve,r=function(t){return n.point(t.x.redMul(n.endo.beta),t.y)};t.beta=e,e.precomputed={beta:null,naf:t.naf&&{wnd:t.naf.wnd,points:t.naf.points.map(r)},doubles:t.doubles&&{step:t.doubles.step,points:t.doubles.points.map(r)}}}return e}},c.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},c.fromJSON=function(t,e,n){"string"==typeof e&&(e=JSON.parse(e));var r=t.point(e[0],e[1],n);if(!e[2])return r;function i(e){return t.point(e[0],e[1],n)}var o=e[2];return r.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[r].concat(o.doubles.points.map(i))},naf:o.naf&&{wnd:o.naf.wnd,points:[r].concat(o.naf.points.map(i))}},r},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return this.inf},c.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(0===this.x.cmp(t.x))return this.curve.point(null,null);var e=this.y.redSub(t.y);0!==e.cmpn(0)&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var n=e.redSqr().redISub(this.x).redISub(t.x),r=e.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},c.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var e=this.curve.a,n=this.x.redSqr(),r=t.redInvm(),i=n.redAdd(n).redIAdd(n).redIAdd(e).redMul(r),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},c.prototype.getX=function(){return this.x.fromRed()},c.prototype.getY=function(){return this.y.fromRed()},c.prototype.mul=function(t){return t=new i(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},c.prototype.mulAdd=function(t,e,n){var r=[this,e],i=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},c.prototype.jmulAdd=function(t,e,n){var r=[this,e],i=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},c.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},c.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var n=this.precomputed,r=function(t){return t.neg()};e.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}return e},c.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},o(u,a.BasePoint),l.prototype.jpoint=function(t,e,n){return new u(this,t,e,n)},u.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),n=this.x.redMul(e),r=this.y.redMul(e).redMul(t);return this.curve.point(n,r)},u.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},u.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),n=this.z.redSqr(),r=this.x.redMul(e),i=t.x.redMul(n),o=this.y.redMul(e.redMul(t.z)),a=t.y.redMul(n.redMul(this.z)),s=r.redSub(i),l=o.redSub(a);if(0===s.cmpn(0))return 0!==l.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),u=c.redMul(s),h=r.redMul(c),f=l.redSqr().redIAdd(u).redISub(h).redISub(h),d=l.redMul(h.redISub(f)).redISub(o.redMul(u)),p=this.z.redMul(t.z).redMul(s);return this.curve.jpoint(f,d,p)},u.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),n=this.x,r=t.x.redMul(e),i=this.y,o=t.y.redMul(e).redMul(this.z),a=n.redSub(r),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=a.redSqr(),c=l.redMul(a),u=n.redMul(l),h=s.redSqr().redIAdd(c).redISub(u).redISub(u),f=s.redMul(u.redISub(h)).redISub(i.redMul(c)),d=this.z.redMul(a);return this.curve.jpoint(h,f,d)},u.prototype.dblp=function(t){if(0===t)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var e;if(this.curve.zeroA||this.curve.threeA){var n=this;for(e=0;e<t;e++)n=n.dbl();return n}var r=this.curve.a,i=this.curve.tinv,o=this.x,a=this.y,s=this.z,l=s.redSqr().redSqr(),c=a.redAdd(a);for(e=0;e<t;e++){var u=o.redSqr(),h=c.redSqr(),f=h.redSqr(),d=u.redAdd(u).redIAdd(u).redIAdd(r.redMul(l)),p=o.redMul(h),m=d.redSqr().redISub(p.redAdd(p)),g=p.redISub(m),y=d.redMul(g);y=y.redIAdd(y).redISub(f);var w=c.redMul(s);e+1<t&&(l=l.redMul(f)),o=m,s=w,c=y}return this.curve.jpoint(o,c.redMul(i),s)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},u.prototype._zeroDbl=function(){var t,e,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(r).redISub(o);a=a.redIAdd(a);var s=r.redAdd(r).redIAdd(r),l=s.redSqr().redISub(a).redISub(a),c=o.redIAdd(o);c=(c=c.redIAdd(c)).redIAdd(c),t=l,e=s.redMul(a.redISub(l)).redISub(c),n=this.y.redAdd(this.y)}else{var u=this.x.redSqr(),h=this.y.redSqr(),f=h.redSqr(),d=this.x.redAdd(h).redSqr().redISub(u).redISub(f);d=d.redIAdd(d);var p=u.redAdd(u).redIAdd(u),m=p.redSqr(),g=f.redIAdd(f);g=(g=g.redIAdd(g)).redIAdd(g),t=m.redISub(d).redISub(d),e=p.redMul(d.redISub(t)).redISub(g),n=(n=this.y.redMul(this.z)).redIAdd(n)}return this.curve.jpoint(t,e,n)},u.prototype._threeDbl=function(){var t,e,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(r).redISub(o);a=a.redIAdd(a);var s=r.redAdd(r).redIAdd(r).redIAdd(this.curve.a),l=s.redSqr().redISub(a).redISub(a);t=l;var c=o.redIAdd(o);c=(c=c.redIAdd(c)).redIAdd(c),e=s.redMul(a.redISub(l)).redISub(c),n=this.y.redAdd(this.y)}else{var u=this.z.redSqr(),h=this.y.redSqr(),f=this.x.redMul(h),d=this.x.redSub(u).redMul(this.x.redAdd(u));d=d.redAdd(d).redIAdd(d);var p=f.redIAdd(f),m=(p=p.redIAdd(p)).redAdd(p);t=d.redSqr().redISub(m),n=this.y.redAdd(this.z).redSqr().redISub(h).redISub(u);var g=h.redSqr();g=(g=(g=g.redIAdd(g)).redIAdd(g)).redIAdd(g),e=d.redMul(p.redISub(t)).redISub(g)}return this.curve.jpoint(t,e,n)},u.prototype._dbl=function(){var t=this.curve.a,e=this.x,n=this.y,r=this.z,i=r.redSqr().redSqr(),o=e.redSqr(),a=n.redSqr(),s=o.redAdd(o).redIAdd(o).redIAdd(t.redMul(i)),l=e.redAdd(e),c=(l=l.redIAdd(l)).redMul(a),u=s.redSqr().redISub(c.redAdd(c)),h=c.redISub(u),f=a.redSqr();f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var d=s.redMul(h).redISub(f),p=n.redAdd(n).redMul(r);return this.curve.jpoint(u,d,p)},u.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var t=this.x.redSqr(),e=this.y.redSqr(),n=this.z.redSqr(),r=e.redSqr(),i=t.redAdd(t).redIAdd(t),o=i.redSqr(),a=this.x.redAdd(e).redSqr().redISub(t).redISub(r),s=(a=(a=(a=a.redIAdd(a)).redAdd(a).redIAdd(a)).redISub(o)).redSqr(),l=r.redIAdd(r);l=(l=(l=l.redIAdd(l)).redIAdd(l)).redIAdd(l);var c=i.redIAdd(a).redSqr().redISub(o).redISub(s).redISub(l),u=e.redMul(c);u=(u=u.redIAdd(u)).redIAdd(u);var h=this.x.redMul(s).redISub(u);h=(h=h.redIAdd(h)).redIAdd(h);var f=this.y.redMul(c.redMul(l.redISub(c)).redISub(a.redMul(s)));f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var d=this.z.redAdd(a).redSqr().redISub(n).redISub(s);return this.curve.jpoint(h,f,d)},u.prototype.mul=function(t,e){return t=new i(t,e),this.curve._wnafMul(this,t)},u.prototype.eq=function(t){if("affine"===t.type)return this.eq(t.toJ());if(this===t)return!0;var e=this.z.redSqr(),n=t.z.redSqr();if(0!==this.x.redMul(n).redISub(t.x.redMul(e)).cmpn(0))return!1;var r=e.redMul(this.z),i=n.redMul(t.z);return 0===this.y.redMul(i).redISub(t.y.redMul(r)).cmpn(0)},u.prototype.eqXToP=function(t){var e=this.z.redSqr(),n=t.toRed(this.curve.red).redMul(e);if(0===this.x.cmp(n))return!0;for(var r=t.clone(),i=this.curve.redN.redMul(e);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(i),0===this.x.cmp(n))return!0}},u.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},480:(t,e,n)=>{"use strict";var r,i=e,o=n(7952),a=n(894),s=n(7011).assert;function l(t){"short"===t.type?this.curve=new a.short(t):"edwards"===t.type?this.curve=new a.edwards(t):this.curve=new a.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function c(t,e){Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:function(){var n=new l(e);return Object.defineProperty(i,t,{configurable:!0,enumerable:!0,value:n}),n}})}i.PresetCurve=l,c("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),c("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),c("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),c("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),c("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),c("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),c("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=n(4011)}catch(t){r=void 0}c("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})},7447:(t,e,n)=>{"use strict";var r=n(8490),i=n(2723),o=n(7011),a=n(480),s=n(5037),l=o.assert,c=n(1200),u=n(8545);function h(t){if(!(this instanceof h))return new h(t);"string"==typeof t&&(l(Object.prototype.hasOwnProperty.call(a,t),"Unknown curve "+t),t=a[t]),t instanceof a.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}t.exports=h,h.prototype.keyPair=function(t){return new c(this,t)},h.prototype.keyFromPrivate=function(t,e){return c.fromPrivate(this,t,e)},h.prototype.keyFromPublic=function(t,e){return c.fromPublic(this,t,e)},h.prototype.genKeyPair=function(t){t||(t={});for(var e=new i({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||s(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),o=this.n.sub(new r(2));;){var a=new r(e.generate(n));if(!(a.cmp(o)>0))return a.iaddn(1),this.keyFromPrivate(a)}},h.prototype._truncateToN=function(t,e){var n=8*t.byteLength()-this.n.bitLength();return n>0&&(t=t.ushrn(n)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},h.prototype.sign=function(t,e,n,o){"object"==typeof n&&(o=n,n=null),o||(o={}),e=this.keyFromPrivate(e,n),t=this._truncateToN(new r(t,16));for(var a=this.n.byteLength(),s=e.getPrivate().toArray("be",a),l=t.toArray("be",a),c=new i({hash:this.hash,entropy:s,nonce:l,pers:o.pers,persEnc:o.persEnc||"utf8"}),h=this.n.sub(new r(1)),f=0;;f++){var d=o.k?o.k(f):new r(c.generate(this.n.byteLength()));if(!((d=this._truncateToN(d,!0)).cmpn(1)<=0||d.cmp(h)>=0)){var p=this.g.mul(d);if(!p.isInfinity()){var m=p.getX(),g=m.umod(this.n);if(0!==g.cmpn(0)){var y=d.invm(this.n).mul(g.mul(e.getPrivate()).iadd(t));if(0!==(y=y.umod(this.n)).cmpn(0)){var w=(p.getY().isOdd()?1:0)|(0!==m.cmp(g)?2:0);return o.canonical&&y.cmp(this.nh)>0&&(y=this.n.sub(y),w^=1),new u({r:g,s:y,recoveryParam:w})}}}}}},h.prototype.verify=function(t,e,n,i){t=this._truncateToN(new r(t,16)),n=this.keyFromPublic(n,i);var o=(e=new u(e,"hex")).r,a=e.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var s,l=a.invm(this.n),c=l.mul(t).umod(this.n),h=l.mul(o).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(c,n.getPublic(),h)).isInfinity()&&s.eqXToP(o):!(s=this.g.mulAdd(c,n.getPublic(),h)).isInfinity()&&0===s.getX().umod(this.n).cmp(o)},h.prototype.recoverPubKey=function(t,e,n,i){l((3&n)===n,"The recovery param is more than two bits"),e=new u(e,i);var o=this.n,a=new r(t),s=e.r,c=e.s,h=1&n,f=n>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&f)throw new Error("Unable to find sencond key candinate");s=f?this.curve.pointFromX(s.add(this.curve.n),h):this.curve.pointFromX(s,h);var d=e.r.invm(o),p=o.sub(a).mul(d).umod(o),m=c.mul(d).umod(o);return this.g.mulAdd(p,s,m)},h.prototype.getKeyRecoveryParam=function(t,e,n,r){if(null!==(e=new u(e,r)).recoveryParam)return e.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(t,e,i)}catch(t){continue}if(o.eq(n))return i}throw new Error("Unable to find valid recovery factor")}},1200:(t,e,n)=>{"use strict";var r=n(8490),i=n(7011).assert;function o(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}t.exports=o,o.fromPublic=function(t,e,n){return e instanceof o?e:new o(t,{pub:e,pubEnc:n})},o.fromPrivate=function(t,e,n){return e instanceof o?e:new o(t,{priv:e,privEnc:n})},o.prototype.validate=function(){var t=this.getPublic();return t.isInfinity()?{result:!1,reason:"Invalid public key"}:t.validate()?t.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},o.prototype.getPublic=function(t,e){return"string"==typeof t&&(e=t,t=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),e?this.pub.encode(e,t):this.pub},o.prototype.getPrivate=function(t){return"hex"===t?this.priv.toString(16,2):this.priv},o.prototype._importPrivate=function(t,e){this.priv=new r(t,e||16),this.priv=this.priv.umod(this.ec.curve.n)},o.prototype._importPublic=function(t,e){if(t.x||t.y)return"mont"===this.ec.curve.type?i(t.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||i(t.x&&t.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(t.x,t.y));this.pub=this.ec.curve.decodePoint(t,e)},o.prototype.derive=function(t){return t.validate()||i(t.validate(),"public point not validated"),t.mul(this.priv).getX()},o.prototype.sign=function(t,e,n){return this.ec.sign(t,this,e,n)},o.prototype.verify=function(t,e){return this.ec.verify(t,e,this)},o.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},8545:(t,e,n)=>{"use strict";var r=n(8490),i=n(7011),o=i.assert;function a(t,e){if(t instanceof a)return t;this._importDER(t,e)||(o(t.r&&t.s,"Signature without r or s"),this.r=new r(t.r,16),this.s=new r(t.s,16),void 0===t.recoveryParam?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}function s(){this.place=0}function l(t,e){var n=t[e.place++];if(!(128&n))return n;var r=15&n;if(0===r||r>4)return!1;for(var i=0,o=0,a=e.place;o<r;o++,a++)i<<=8,i|=t[a],i>>>=0;return!(i<=127)&&(e.place=a,i)}function c(t){for(var e=0,n=t.length-1;!t[e]&&!(128&t[e+1])&&e<n;)e++;return 0===e?t:t.slice(e)}function u(t,e){if(e<128)t.push(e);else{var n=1+(Math.log(e)/Math.LN2>>>3);for(t.push(128|n);--n;)t.push(e>>>(n<<3)&255);t.push(e)}}t.exports=a,a.prototype._importDER=function(t,e){t=i.toArray(t,e);var n=new s;if(48!==t[n.place++])return!1;var o=l(t,n);if(!1===o)return!1;if(o+n.place!==t.length)return!1;if(2!==t[n.place++])return!1;var a=l(t,n);if(!1===a)return!1;var c=t.slice(n.place,a+n.place);if(n.place+=a,2!==t[n.place++])return!1;var u=l(t,n);if(!1===u)return!1;if(t.length!==u+n.place)return!1;var h=t.slice(n.place,u+n.place);if(0===c[0]){if(!(128&c[1]))return!1;c=c.slice(1)}if(0===h[0]){if(!(128&h[1]))return!1;h=h.slice(1)}return this.r=new r(c),this.s=new r(h),this.recoveryParam=null,!0},a.prototype.toDER=function(t){var e=this.r.toArray(),n=this.s.toArray();for(128&e[0]&&(e=[0].concat(e)),128&n[0]&&(n=[0].concat(n)),e=c(e),n=c(n);!(n[0]||128&n[1]);)n=n.slice(1);var r=[2];u(r,e.length),(r=r.concat(e)).push(2),u(r,n.length);var o=r.concat(n),a=[48];return u(a,o.length),a=a.concat(o),i.encode(a,t)}},8650:(t,e,n)=>{"use strict";var r=n(7952),i=n(480),o=n(7011),a=o.assert,s=o.parseBytes,l=n(6661),c=n(220);function u(t){if(a("ed25519"===t,"only tested with ed25519 so far"),!(this instanceof u))return new u(t);t=i[t].curve,this.curve=t,this.g=t.g,this.g.precompute(t.n.bitLength()+1),this.pointClass=t.point().constructor,this.encodingLength=Math.ceil(t.n.bitLength()/8),this.hash=r.sha512}t.exports=u,u.prototype.sign=function(t,e){t=s(t);var n=this.keyFromSecret(e),r=this.hashInt(n.messagePrefix(),t),i=this.g.mul(r),o=this.encodePoint(i),a=this.hashInt(o,n.pubBytes(),t).mul(n.priv()),l=r.add(a).umod(this.curve.n);return this.makeSignature({R:i,S:l,Rencoded:o})},u.prototype.verify=function(t,e,n){t=s(t),e=this.makeSignature(e);var r=this.keyFromPublic(n),i=this.hashInt(e.Rencoded(),r.pubBytes(),t),o=this.g.mul(e.S());return e.R().add(r.pub().mul(i)).eq(o)},u.prototype.hashInt=function(){for(var t=this.hash(),e=0;e<arguments.length;e++)t.update(arguments[e]);return o.intFromLE(t.digest()).umod(this.curve.n)},u.prototype.keyFromPublic=function(t){return l.fromPublic(this,t)},u.prototype.keyFromSecret=function(t){return l.fromSecret(this,t)},u.prototype.makeSignature=function(t){return t instanceof c?t:new c(this,t)},u.prototype.encodePoint=function(t){var e=t.getY().toArray("le",this.encodingLength);return e[this.encodingLength-1]|=t.getX().isOdd()?128:0,e},u.prototype.decodePoint=function(t){var e=(t=o.parseBytes(t)).length-1,n=t.slice(0,e).concat(-129&t[e]),r=0!=(128&t[e]),i=o.intFromLE(n);return this.curve.pointFromY(i,r)},u.prototype.encodeInt=function(t){return t.toArray("le",this.encodingLength)},u.prototype.decodeInt=function(t){return o.intFromLE(t)},u.prototype.isPoint=function(t){return t instanceof this.pointClass}},6661:(t,e,n)=>{"use strict";var r=n(7011),i=r.assert,o=r.parseBytes,a=r.cachedProperty;function s(t,e){this.eddsa=t,this._secret=o(e.secret),t.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=o(e.pub)}s.fromPublic=function(t,e){return e instanceof s?e:new s(t,{pub:e})},s.fromSecret=function(t,e){return e instanceof s?e:new s(t,{secret:e})},s.prototype.secret=function(){return this._secret},a(s,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),a(s,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),a(s,"privBytes",(function(){var t=this.eddsa,e=this.hash(),n=t.encodingLength-1,r=e.slice(0,t.encodingLength);return r[0]&=248,r[n]&=127,r[n]|=64,r})),a(s,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),a(s,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),a(s,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),s.prototype.sign=function(t){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(t,this)},s.prototype.verify=function(t,e){return this.eddsa.verify(t,e,this)},s.prototype.getSecret=function(t){return i(this._secret,"KeyPair is public only"),r.encode(this.secret(),t)},s.prototype.getPublic=function(t){return r.encode(this.pubBytes(),t)},t.exports=s},220:(t,e,n)=>{"use strict";var r=n(8490),i=n(7011),o=i.assert,a=i.cachedProperty,s=i.parseBytes;function l(t,e){this.eddsa=t,"object"!=typeof e&&(e=s(e)),Array.isArray(e)&&(e={R:e.slice(0,t.encodingLength),S:e.slice(t.encodingLength)}),o(e.R&&e.S,"Signature without R or S"),t.isPoint(e.R)&&(this._R=e.R),e.S instanceof r&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}a(l,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),a(l,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),a(l,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),a(l,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),l.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},l.prototype.toHex=function(){return i.encode(this.toBytes(),"hex").toUpperCase()},t.exports=l},4011:t=>{t.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},7011:(t,e,n)=>{"use strict";var r=e,i=n(8490),o=n(3349),a=n(4367);r.assert=o,r.toArray=a.toArray,r.zero2=a.zero2,r.toHex=a.toHex,r.encode=a.encode,r.getNAF=function(t,e,n){var r=new Array(Math.max(t.bitLength(),n)+1);r.fill(0);for(var i=1<<e+1,o=t.clone(),a=0;a<r.length;a++){var s,l=o.andln(i-1);o.isOdd()?(s=l>(i>>1)-1?(i>>1)-l:l,o.isubn(s)):s=0,r[a]=s,o.iushrn(1)}return r},r.getJSF=function(t,e){var n=[[],[]];t=t.clone(),e=e.clone();for(var r,i=0,o=0;t.cmpn(-i)>0||e.cmpn(-o)>0;){var a,s,l=t.andln(3)+i&3,c=e.andln(3)+o&3;3===l&&(l=-1),3===c&&(c=-1),a=0==(1&l)?0:3!=(r=t.andln(7)+i&7)&&5!==r||2!==c?l:-l,n[0].push(a),s=0==(1&c)?0:3!=(r=e.andln(7)+o&7)&&5!==r||2!==l?c:-c,n[1].push(s),2*i===a+1&&(i=1-i),2*o===s+1&&(o=1-o),t.iushrn(1),e.iushrn(1)}return n},r.cachedProperty=function(t,e,n){var r="_"+e;t.prototype[e]=function(){return void 0!==this[r]?this[r]:this[r]=n.call(this)}},r.parseBytes=function(t){return"string"==typeof t?r.toArray(t,"hex"):t},r.intFromLE=function(t){return new i(t,"hex","le")}},8490:function(t,e,n){!function(t,e){"use strict";function r(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var a;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:n(9368).Buffer}catch(t){}function s(t,e){var n=t.charCodeAt(e);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function l(t,e,n){var r=s(t,n);return n-1>=e&&(r|=s(t,n-1)<<4),r}function c(t,e,n,r){for(var i=0,o=Math.min(t.length,n),a=e;a<o;a++){var s=t.charCodeAt(a)-48;i*=r,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"==typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,n){if("number"==typeof t)return this._initNumber(t,e,n);if("object"==typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),r(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,n):(this._parseBase(t,e,i),"le"===n&&this._initArray(this.toArray(),e,n)))},o.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(r(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initArray=function(t,e,n){if(r("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===n)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,n){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,o=0,a=0;if("be"===n)for(r=t.length-1;r>=e;r-=2)i=l(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(t.length-e)%2==0?e+1:e;r<t.length;r+=2)i=l(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,u=n;u<s;u+=r)l=c(t,u,u+r,e),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==a){var h=1;for(l=c(t,u,t.length,e),u=0;u<a;u++)h*=e;this.imuln(h),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&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},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var u=["","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"],h=[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],f=[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 d(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,l=a/67108864|0;n.words[0]=s;for(var c=1;c<r;c++){for(var u=l>>>26,h=67108863&l,f=Math.min(c,e.length-1),d=Math.max(0,c-t.length+1);d<=f;d++){var p=c-d|0;u+=(a=(i=0|t.words[p])*(o=0|e.words[d])+h)/67108864|0,h=67108863&a}n.words[c]=0|h,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n.strip()}o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],l=(16777215&(s<<i|o)).toString(16);n=0!=(o=s>>>24-i&16777215)||a!==this.length-1?u[6-l.length]+l+n:l+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.toString(16)+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var c=h[t],d=f[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(d).toString(t);n=(p=p.idivn(d)).isZero()?m+n:u[c-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return r(void 0!==a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,l="le"===e,c=new t(o),u=this.clone();if(l){for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),c[s]=a;for(;s<o;s++)c[s]=0}else{for(s=0;s<o-i;s++)c[s]=0;for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),c[o-s-1]=a}return c},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,n=0;return e>=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var n=this._zeroBits(this.words[e]);if(t+=n,26!==n)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return r(0==(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;n<e.length;n++)this.words[n]=this.words[n]&t.words[n];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return r(0==(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;r<n.length;r++)this.words[r]=e.words[r]^n.words[r];if(this!==e)for(;r<e.length;r++)this.words[r]=e.words[r];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return r(0==(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){r("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"==typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,n,r;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o<r.length;o++)e=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<n.length;o++)e=(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a<r.length;a++)o=(e=(0|n.words[a])-(0|r.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<n.length;a++)o=(e=(0|n.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<n.length&&n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this.length=Math.max(this.length,a),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var p=function(t,e,n){var r,i,o,a=t.words,s=e.words,l=n.words,c=0,u=0|a[0],h=8191&u,f=u>>>13,d=0|a[1],p=8191&d,m=d>>>13,g=0|a[2],y=8191&g,w=g>>>13,b=0|a[3],v=8191&b,E=b>>>13,_=0|a[4],A=8191&_,M=_>>>13,T=0|a[5],x=8191&T,S=T>>>13,k=0|a[6],C=8191&k,D=k>>>13,I=0|a[7],R=8191&I,N=I>>>13,O=0|a[8],L=8191&O,P=O>>>13,F=0|a[9],B=8191&F,U=F>>>13,j=0|s[0],H=8191&j,z=j>>>13,q=0|s[1],W=8191&q,G=q>>>13,K=0|s[2],Y=8191&K,V=K>>>13,X=0|s[3],Z=8191&X,$=X>>>13,Q=0|s[4],J=8191&Q,tt=Q>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],lt=8191&st,ct=st>>>13,ut=0|s[8],ht=8191&ut,ft=ut>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;n.negative=t.negative^e.negative,n.length=19;var gt=(c+(r=Math.imul(h,H))|0)+((8191&(i=(i=Math.imul(h,z))+Math.imul(f,H)|0))<<13)|0;c=((o=Math.imul(f,z))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,r=Math.imul(p,H),i=(i=Math.imul(p,z))+Math.imul(m,H)|0,o=Math.imul(m,z);var yt=(c+(r=r+Math.imul(h,W)|0)|0)+((8191&(i=(i=i+Math.imul(h,G)|0)+Math.imul(f,W)|0))<<13)|0;c=((o=o+Math.imul(f,G)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(y,H),i=(i=Math.imul(y,z))+Math.imul(w,H)|0,o=Math.imul(w,z),r=r+Math.imul(p,W)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(m,W)|0,o=o+Math.imul(m,G)|0;var wt=(c+(r=r+Math.imul(h,Y)|0)|0)+((8191&(i=(i=i+Math.imul(h,V)|0)+Math.imul(f,Y)|0))<<13)|0;c=((o=o+Math.imul(f,V)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(v,H),i=(i=Math.imul(v,z))+Math.imul(E,H)|0,o=Math.imul(E,z),r=r+Math.imul(y,W)|0,i=(i=i+Math.imul(y,G)|0)+Math.imul(w,W)|0,o=o+Math.imul(w,G)|0,r=r+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,V)|0;var bt=(c+(r=r+Math.imul(h,Z)|0)|0)+((8191&(i=(i=i+Math.imul(h,$)|0)+Math.imul(f,Z)|0))<<13)|0;c=((o=o+Math.imul(f,$)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(A,H),i=(i=Math.imul(A,z))+Math.imul(M,H)|0,o=Math.imul(M,z),r=r+Math.imul(v,W)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(E,W)|0,o=o+Math.imul(E,G)|0,r=r+Math.imul(y,Y)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(w,Y)|0,o=o+Math.imul(w,V)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,$)|0)+Math.imul(m,Z)|0,o=o+Math.imul(m,$)|0;var vt=(c+(r=r+Math.imul(h,J)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(f,J)|0))<<13)|0;c=((o=o+Math.imul(f,tt)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(x,H),i=(i=Math.imul(x,z))+Math.imul(S,H)|0,o=Math.imul(S,z),r=r+Math.imul(A,W)|0,i=(i=i+Math.imul(A,G)|0)+Math.imul(M,W)|0,o=o+Math.imul(M,G)|0,r=r+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(E,Y)|0,o=o+Math.imul(E,V)|0,r=r+Math.imul(y,Z)|0,i=(i=i+Math.imul(y,$)|0)+Math.imul(w,Z)|0,o=o+Math.imul(w,$)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,J)|0,o=o+Math.imul(m,tt)|0;var Et=(c+(r=r+Math.imul(h,nt)|0)|0)+((8191&(i=(i=i+Math.imul(h,rt)|0)+Math.imul(f,nt)|0))<<13)|0;c=((o=o+Math.imul(f,rt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(C,H),i=(i=Math.imul(C,z))+Math.imul(D,H)|0,o=Math.imul(D,z),r=r+Math.imul(x,W)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(S,W)|0,o=o+Math.imul(S,G)|0,r=r+Math.imul(A,Y)|0,i=(i=i+Math.imul(A,V)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(v,Z)|0,i=(i=i+Math.imul(v,$)|0)+Math.imul(E,Z)|0,o=o+Math.imul(E,$)|0,r=r+Math.imul(y,J)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(m,nt)|0,o=o+Math.imul(m,rt)|0;var _t=(c+(r=r+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(f,ot)|0))<<13)|0;c=((o=o+Math.imul(f,at)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(R,H),i=(i=Math.imul(R,z))+Math.imul(N,H)|0,o=Math.imul(N,z),r=r+Math.imul(C,W)|0,i=(i=i+Math.imul(C,G)|0)+Math.imul(D,W)|0,o=o+Math.imul(D,G)|0,r=r+Math.imul(x,Y)|0,i=(i=i+Math.imul(x,V)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,V)|0,r=r+Math.imul(A,Z)|0,i=(i=i+Math.imul(A,$)|0)+Math.imul(M,Z)|0,o=o+Math.imul(M,$)|0,r=r+Math.imul(v,J)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(E,J)|0,o=o+Math.imul(E,tt)|0,r=r+Math.imul(y,nt)|0,i=(i=i+Math.imul(y,rt)|0)+Math.imul(w,nt)|0,o=o+Math.imul(w,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var At=(c+(r=r+Math.imul(h,lt)|0)|0)+((8191&(i=(i=i+Math.imul(h,ct)|0)+Math.imul(f,lt)|0))<<13)|0;c=((o=o+Math.imul(f,ct)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(L,H),i=(i=Math.imul(L,z))+Math.imul(P,H)|0,o=Math.imul(P,z),r=r+Math.imul(R,W)|0,i=(i=i+Math.imul(R,G)|0)+Math.imul(N,W)|0,o=o+Math.imul(N,G)|0,r=r+Math.imul(C,Y)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(x,Z)|0,i=(i=i+Math.imul(x,$)|0)+Math.imul(S,Z)|0,o=o+Math.imul(S,$)|0,r=r+Math.imul(A,J)|0,i=(i=i+Math.imul(A,tt)|0)+Math.imul(M,J)|0,o=o+Math.imul(M,tt)|0,r=r+Math.imul(v,nt)|0,i=(i=i+Math.imul(v,rt)|0)+Math.imul(E,nt)|0,o=o+Math.imul(E,rt)|0,r=r+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,r=r+Math.imul(p,lt)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(m,lt)|0,o=o+Math.imul(m,ct)|0;var Mt=(c+(r=r+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,ft)|0)+Math.imul(f,ht)|0))<<13)|0;c=((o=o+Math.imul(f,ft)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(B,H),i=(i=Math.imul(B,z))+Math.imul(U,H)|0,o=Math.imul(U,z),r=r+Math.imul(L,W)|0,i=(i=i+Math.imul(L,G)|0)+Math.imul(P,W)|0,o=o+Math.imul(P,G)|0,r=r+Math.imul(R,Y)|0,i=(i=i+Math.imul(R,V)|0)+Math.imul(N,Y)|0,o=o+Math.imul(N,V)|0,r=r+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,$)|0)+Math.imul(D,Z)|0,o=o+Math.imul(D,$)|0,r=r+Math.imul(x,J)|0,i=(i=i+Math.imul(x,tt)|0)+Math.imul(S,J)|0,o=o+Math.imul(S,tt)|0,r=r+Math.imul(A,nt)|0,i=(i=i+Math.imul(A,rt)|0)+Math.imul(M,nt)|0,o=o+Math.imul(M,rt)|0,r=r+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(E,ot)|0,o=o+Math.imul(E,at)|0,r=r+Math.imul(y,lt)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(w,lt)|0,o=o+Math.imul(w,ct)|0,r=r+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,ft)|0)+Math.imul(m,ht)|0,o=o+Math.imul(m,ft)|0;var Tt=(c+(r=r+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,mt)|0)+Math.imul(f,pt)|0))<<13)|0;c=((o=o+Math.imul(f,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(B,W),i=(i=Math.imul(B,G))+Math.imul(U,W)|0,o=Math.imul(U,G),r=r+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(P,Y)|0,o=o+Math.imul(P,V)|0,r=r+Math.imul(R,Z)|0,i=(i=i+Math.imul(R,$)|0)+Math.imul(N,Z)|0,o=o+Math.imul(N,$)|0,r=r+Math.imul(C,J)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(D,J)|0,o=o+Math.imul(D,tt)|0,r=r+Math.imul(x,nt)|0,i=(i=i+Math.imul(x,rt)|0)+Math.imul(S,nt)|0,o=o+Math.imul(S,rt)|0,r=r+Math.imul(A,ot)|0,i=(i=i+Math.imul(A,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,r=r+Math.imul(v,lt)|0,i=(i=i+Math.imul(v,ct)|0)+Math.imul(E,lt)|0,o=o+Math.imul(E,ct)|0,r=r+Math.imul(y,ht)|0,i=(i=i+Math.imul(y,ft)|0)+Math.imul(w,ht)|0,o=o+Math.imul(w,ft)|0;var xt=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(B,Y),i=(i=Math.imul(B,V))+Math.imul(U,Y)|0,o=Math.imul(U,V),r=r+Math.imul(L,Z)|0,i=(i=i+Math.imul(L,$)|0)+Math.imul(P,Z)|0,o=o+Math.imul(P,$)|0,r=r+Math.imul(R,J)|0,i=(i=i+Math.imul(R,tt)|0)+Math.imul(N,J)|0,o=o+Math.imul(N,tt)|0,r=r+Math.imul(C,nt)|0,i=(i=i+Math.imul(C,rt)|0)+Math.imul(D,nt)|0,o=o+Math.imul(D,rt)|0,r=r+Math.imul(x,ot)|0,i=(i=i+Math.imul(x,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,r=r+Math.imul(A,lt)|0,i=(i=i+Math.imul(A,ct)|0)+Math.imul(M,lt)|0,o=o+Math.imul(M,ct)|0,r=r+Math.imul(v,ht)|0,i=(i=i+Math.imul(v,ft)|0)+Math.imul(E,ht)|0,o=o+Math.imul(E,ft)|0;var St=(c+(r=r+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,mt)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,mt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(B,Z),i=(i=Math.imul(B,$))+Math.imul(U,Z)|0,o=Math.imul(U,$),r=r+Math.imul(L,J)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(P,J)|0,o=o+Math.imul(P,tt)|0,r=r+Math.imul(R,nt)|0,i=(i=i+Math.imul(R,rt)|0)+Math.imul(N,nt)|0,o=o+Math.imul(N,rt)|0,r=r+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,r=r+Math.imul(x,lt)|0,i=(i=i+Math.imul(x,ct)|0)+Math.imul(S,lt)|0,o=o+Math.imul(S,ct)|0,r=r+Math.imul(A,ht)|0,i=(i=i+Math.imul(A,ft)|0)+Math.imul(M,ht)|0,o=o+Math.imul(M,ft)|0;var kt=(c+(r=r+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(E,pt)|0))<<13)|0;c=((o=o+Math.imul(E,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(B,J),i=(i=Math.imul(B,tt))+Math.imul(U,J)|0,o=Math.imul(U,tt),r=r+Math.imul(L,nt)|0,i=(i=i+Math.imul(L,rt)|0)+Math.imul(P,nt)|0,o=o+Math.imul(P,rt)|0,r=r+Math.imul(R,ot)|0,i=(i=i+Math.imul(R,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,r=r+Math.imul(C,lt)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(D,lt)|0,o=o+Math.imul(D,ct)|0,r=r+Math.imul(x,ht)|0,i=(i=i+Math.imul(x,ft)|0)+Math.imul(S,ht)|0,o=o+Math.imul(S,ft)|0;var Ct=(c+(r=r+Math.imul(A,pt)|0)|0)+((8191&(i=(i=i+Math.imul(A,mt)|0)+Math.imul(M,pt)|0))<<13)|0;c=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(B,nt),i=(i=Math.imul(B,rt))+Math.imul(U,nt)|0,o=Math.imul(U,rt),r=r+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(P,ot)|0,o=o+Math.imul(P,at)|0,r=r+Math.imul(R,lt)|0,i=(i=i+Math.imul(R,ct)|0)+Math.imul(N,lt)|0,o=o+Math.imul(N,ct)|0,r=r+Math.imul(C,ht)|0,i=(i=i+Math.imul(C,ft)|0)+Math.imul(D,ht)|0,o=o+Math.imul(D,ft)|0;var Dt=(c+(r=r+Math.imul(x,pt)|0)|0)+((8191&(i=(i=i+Math.imul(x,mt)|0)+Math.imul(S,pt)|0))<<13)|0;c=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,r=Math.imul(B,ot),i=(i=Math.imul(B,at))+Math.imul(U,ot)|0,o=Math.imul(U,at),r=r+Math.imul(L,lt)|0,i=(i=i+Math.imul(L,ct)|0)+Math.imul(P,lt)|0,o=o+Math.imul(P,ct)|0,r=r+Math.imul(R,ht)|0,i=(i=i+Math.imul(R,ft)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,ft)|0;var It=(c+(r=r+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,mt)|0)+Math.imul(D,pt)|0))<<13)|0;c=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(B,lt),i=(i=Math.imul(B,ct))+Math.imul(U,lt)|0,o=Math.imul(U,ct),r=r+Math.imul(L,ht)|0,i=(i=i+Math.imul(L,ft)|0)+Math.imul(P,ht)|0,o=o+Math.imul(P,ft)|0;var Rt=(c+(r=r+Math.imul(R,pt)|0)|0)+((8191&(i=(i=i+Math.imul(R,mt)|0)+Math.imul(N,pt)|0))<<13)|0;c=((o=o+Math.imul(N,mt)|0)+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,r=Math.imul(B,ht),i=(i=Math.imul(B,ft))+Math.imul(U,ht)|0,o=Math.imul(U,ft);var Nt=(c+(r=r+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(P,pt)|0))<<13)|0;c=((o=o+Math.imul(P,mt)|0)+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863;var Ot=(c+(r=Math.imul(B,pt))|0)+((8191&(i=(i=Math.imul(B,mt))+Math.imul(U,pt)|0))<<13)|0;return c=((o=Math.imul(U,mt))+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,l[0]=gt,l[1]=yt,l[2]=wt,l[3]=bt,l[4]=vt,l[5]=Et,l[6]=_t,l[7]=At,l[8]=Mt,l[9]=Tt,l[10]=xt,l[11]=St,l[12]=kt,l[13]=Ct,l[14]=Dt,l[15]=It,l[16]=Rt,l[17]=Nt,l[18]=Ot,0!==c&&(l[19]=c,n.length++),n};function m(t,e,n){return(new g).mulp(t,e,n)}function g(t,e){this.x=t,this.y=e}Math.imul||(p=d),o.prototype.mulTo=function(t,e){var n,r=this.length+t.length;return n=10===this.length&&10===t.length?p(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var a=i;i=0;for(var s=67108863&r,l=Math.min(o,e.length-1),c=Math.max(0,o-t.length+1);c<=l;c++){var u=o-c,h=(0|t.words[u])*(0|e.words[c]),f=67108863&h;s=67108863&(f=f+s|0),i+=(a=(a=a+(h/67108864|0)|0)+(f>>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,t,e):m(this,t,e),n},g.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r<t;r++)e[r]=this.revBin(r,n,t);return e},g.prototype.revBin=function(t,e,n){if(0===t||t===n-1)return t;for(var r=0,i=0;i<e;i++)r|=(1&t)<<e-i-1,t>>=1;return r},g.prototype.permute=function(t,e,n,r,i,o){for(var a=0;a<o;a++)r[a]=e[t[a]],i[a]=n[t[a]]},g.prototype.transform=function(t,e,n,r,i,o){this.permute(o,t,e,n,r,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,l=Math.cos(2*Math.PI/s),c=Math.sin(2*Math.PI/s),u=0;u<i;u+=s)for(var h=l,f=c,d=0;d<a;d++){var p=n[u+d],m=r[u+d],g=n[u+d+a],y=r[u+d+a],w=h*g-f*y;y=h*y+f*g,g=w,n[u+d]=p+g,r[u+d]=m+y,n[u+d+a]=p-g,r[u+d+a]=m-y,d!==s&&(w=l*h-c*f,f=l*f+c*h,h=w)}},g.prototype.guessLen13b=function(t,e){var n=1|Math.max(e,t),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},g.prototype.conjugate=function(t,e,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=t[r];t[r]=t[n-r-1],t[n-r-1]=i,i=e[r],e[r]=-e[n-r-1],e[n-r-1]=-i}},g.prototype.normalize13b=function(t,e){for(var n=0,r=0;r<e/2;r++){var i=8192*Math.round(t[2*r+1]/e)+Math.round(t[2*r]/e)+n;t[r]=67108863&i,n=i<67108864?0:i/67108864|0}return t},g.prototype.convert13b=function(t,e,n,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],n[2*a]=8191&o,o>>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)n[a]=0;r(0===o),r(0==(-8192&o))},g.prototype.stub=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=0;return e},g.prototype.mulp=function(t,e,n){var r=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(r),o=this.stub(r),a=new Array(r),s=new Array(r),l=new Array(r),c=new Array(r),u=new Array(r),h=new Array(r),f=n.words;f.length=r,this.convert13b(t.words,t.length,a,r),this.convert13b(e.words,e.length,c,r),this.transform(a,o,s,l,r,i),this.transform(c,o,u,h,r,i);for(var d=0;d<r;d++){var p=s[d]*u[d]-l[d]*h[d];l[d]=s[d]*h[d]+l[d]*u[d],s[d]=p}return this.conjugate(s,l,r),this.transform(s,l,f,o,r,i),this.conjugate(f,o,r),this.normalize13b(f,r),n.negative=t.negative^e.negative,n.length=t.length+e.length,n.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),m(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){r("number"==typeof t),r(t<67108864);for(var e=0,n=0;n<this.length;n++){var i=(0|this.words[n])*t,o=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=o>>>26,this.words[n]=67108863&o}return 0!==e&&(this.words[n]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n<e.length;n++){var r=n/26|0,i=n%26;e[n]=(t.words[r]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r<e.length&&0===e[r];r++,n=n.sqr());if(++r<e.length)for(var i=n.sqr();r<e.length;r++,i=i.sqr())0!==e[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(t){r("number"==typeof t&&t>=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,l=(0|this.words[e])-s<<n;this.words[e]=l|a,a=s>>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return r(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,n){var i;r("number"==typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,l=n;if(i-=a,i=Math.max(0,i),l){for(var c=0;c<a;c++)l.words[c]=this.words[c];l.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var u=0;for(c=this.length-1;c>=0&&(0!==u||c>=i);c--){var h=0|this.words[c];this.words[c]=u<<26-o|h>>>o,u=h&s}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<<e;return!(this.length<=n||!(this.words[n]&i))},o.prototype.imaskn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==e&&n++,this.length=Math.min(n,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return r("number"==typeof t),r(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(r("number"==typeof t),r(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,n){var i,o,a=t.length+n;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+n])+s;var l=(0|t.words[i])*e;s=((o-=67108863&l)>>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)s=(o=(0|this.words[i+n])+s)>>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1];0!=(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,l=r.length-i.length;if("mod"!==e){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var c=0;c<s.length;c++)s.words[c]=0}var u=r.clone()._ishlnsubmul(i,1,l);0===u.negative&&(r=u,s&&(s.words[l]=1));for(var h=l-1;h>=0;h--){var f=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);for(f=Math.min(f/a|0,67108863),r._ishlnsubmul(i,f,h);0!==r.negative;)f--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);s&&(s.words[h]=f)}return s&&s.strip(),r.strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){r(t<=67108863);for(var e=(1<<26)%t,n=0,i=this.length-1;i>=0;i--)n=(e*n+(0|this.words[i]))%t;return n},o.prototype.idivn=function(t){r(t<=67108863);for(var e=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*e;this.words[n]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var u=n.clone(),h=e.clone();!e.isZero();){for(var f=0,d=1;0==(e.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(e.iushrn(f);f-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(u),a.isub(h)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(u),l.isub(h)),s.iushrn(1),l.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(s),a.isub(l)):(n.isub(e),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:n.iushln(c)}},o.prototype._invmp=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),l=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,u=1;0==(e.words[0]&u)&&c<26;++c,u<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var h=0,f=1;0==(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(n.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(s)):(n.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"==typeof t);var e=t%26,n=(t-e)/26,i=1<<e;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,a=n;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)e=1;else{n&&(t=-t),r(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){r<i?e=-1:r>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new A(t)},o.prototype.toRed=function(t){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var y={k256:null,p224:null,p192:null,p25519:null};function w(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(t){if("string"==typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else r(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function M(t){A.call(this,t),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)}w.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},w.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},w.prototype.split=function(t,e){t.iushrn(this.n,0,e)},w.prototype.imulK=function(t){return t.imul(this.k)},i(b,w),b.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i<r;i++)e.words[i]=t.words[i];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&n,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(a&n)<<4|o>>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},b.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n<t.length;n++){var r=0|t.words[n];e+=977*r,t.words[n]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(v,w),i(E,w),i(_,w),_.prototype.imulK=function(t){for(var e=0,n=0;n<t.length;n++){var r=19*(0|t.words[n])+e,i=67108863&r;r>>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(y[t])return y[t];var e;if("k256"===t)e=new b;else if("p224"===t)e=new v;else if("p192"===t)e=new E;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new _}return y[t]=e,e},A.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},A.prototype._verify2=function(t,e){r(0==(t.negative|e.negative),"red works only with positives"),r(t.red&&t.red===e.red,"red works only with red numbers")},A.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},A.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},A.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},A.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},A.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},A.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},A.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},A.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},A.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},A.prototype.isqr=function(t){return this.imul(t,t.clone())},A.prototype.sqr=function(t){return this.mul(t,t)},A.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(r(e%2==1),3===e){var n=this.m.add(new o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,c).cmp(l);)u.redIAdd(l);for(var h=this.pow(u,i),f=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var m=d,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g<p);var y=this.pow(h,new o(1).iushln(p-g-1));f=f.redMul(y),h=y.redSqr(),d=d.redMul(h),p=g}return f},A.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},A.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=t;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],t);var i=n[0],a=0,s=0,l=e.bitLength()%26;for(0===l&&(l=26),r=e.length-1;r>=0;r--){for(var c=e.words[r],u=l-1;u>=0;u--){var h=c>>u&1;i!==n[0]&&(i=this.sqr(i)),0!==h||0!==a?(a<<=1,a|=h,(4==++s||0===r&&0===u)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}l=26}return i},A.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},A.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new M(t)},i(M,A),M.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},M.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},M.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},M.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},M.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t=n.nmd(t),this)},7007:t=>{"use strict";var e,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(t,e,n){return Function.prototype.apply.call(t,e,n)};e=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var i=Number.isNaN||function(t){return t!=t};function o(){o.init.call(this)}t.exports=o,t.exports.once=function(t,e){return new Promise((function(n,r){function i(n){t.removeListener(e,o),r(n)}function o(){"function"==typeof t.removeListener&&t.removeListener("error",i),n([].slice.call(arguments))}m(t,e,o,{once:!0}),"error"!==e&&function(t,e,n){"function"==typeof t.on&&m(t,"error",e,{once:!0})}(t,i)}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function l(t){return void 0===t._maxListeners?o.defaultMaxListeners:t._maxListeners}function c(t,e,n,r){var i,o,a,c;if(s(n),void 0===(o=t._events)?(o=t._events=Object.create(null),t._eventsCount=0):(void 0!==o.newListener&&(t.emit("newListener",e,n.listener?n.listener:n),o=t._events),a=o[e]),void 0===a)a=o[e]=n,++t._eventsCount;else if("function"==typeof a?a=o[e]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=l(t))>0&&a.length>i&&!a.warned){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=t,u.type=e,u.count=a.length,c=u,console&&console.warn&&console.warn(c)}return t}function u(){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 h(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=u.bind(r);return i.listener=n,r.wrapFn=i,i}function f(t,e,n){var r=t._events;if(void 0===r)return[];var i=r[e];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}(i):p(i,i.length)}function d(t){var e=this._events;if(void 0!==e){var n=e[t];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function p(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t[r];return n}function m(t,e,n,r){if("function"==typeof t.on)r.once?t.once(e,n):t.on(e,n);else{if("function"!=typeof t.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t);t.addEventListener(e,(function i(o){r.once&&t.removeEventListener(e,i),n(o)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(t){if("number"!=typeof t||t<0||i(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");a=t}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||i(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},o.prototype.getMaxListeners=function(){return l(this)},o.prototype.emit=function(t){for(var e=[],n=1;n<arguments.length;n++)e.push(arguments[n]);var i="error"===t,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var a;if(e.length>0&&(a=e[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=o[t];if(void 0===l)return!1;if("function"==typeof l)r(l,this,e);else{var c=l.length,u=p(l,c);for(n=0;n<c;++n)r(u[n],this,e)}return!0},o.prototype.addListener=function(t,e){return c(this,t,e,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(t,e){return c(this,t,e,!0)},o.prototype.once=function(t,e){return s(e),this.on(t,h(this,t,e)),this},o.prototype.prependOnceListener=function(t,e){return s(e),this.prependListener(t,h(this,t,e)),this},o.prototype.removeListener=function(t,e){var n,r,i,o,a;if(s(e),void 0===(r=this._events))return this;if(void 0===(n=r[t]))return this;if(n===e||n.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete r[t],r.removeListener&&this.emit("removeListener",t,n.listener||e));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===e||n[o].listener===e){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(n,i),1===n.length&&(r[t]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",t,a||e)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(t){var e,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[t]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=n[t]))this.removeListener(t,e);else if(void 0!==e)for(r=e.length-1;r>=0;r--)this.removeListener(t,e[r]);return this},o.prototype.listeners=function(t){return f(this,t,!0)},o.prototype.rawListeners=function(t){return f(this,t,!1)},o.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):d.call(t,e)},o.prototype.listenerCount=d,o.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]}},8078:(t,e,n)=>{var r=n(2861).Buffer,i=n(8276);t.exports=function(t,e,n,o){if(r.isBuffer(t)||(t=r.from(t,"binary")),e&&(r.isBuffer(e)||(e=r.from(e,"binary")),8!==e.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var a=n/8,s=r.alloc(a),l=r.alloc(o||0),c=r.alloc(0);a>0||o>0;){var u=new i;u.update(c),u.update(t),e&&u.update(e),c=u.digest();var h=0;if(a>0){var f=s.length-a;h=Math.min(a,c.length),c.copy(s,f,0,h),a-=h}if(h<c.length&&o>0){var d=l.length-o,p=Math.min(o,c.length-h);c.copy(l,d,h,h+p),o-=p}}return c.fill(0),{key:s,iv:l}}},2849:t=>{"use strict";var e=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(t){return"function"==typeof Array.isArray?Array.isArray(t):"[object Array]"===n.call(t)},a=function(t){if(!t||"[object Object]"!==n.call(t))return!1;var r,i=e.call(t,"constructor"),o=t.constructor&&t.constructor.prototype&&e.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!i&&!o)return!1;for(r in t);return void 0===r||e.call(t,r)},s=function(t,e){r&&"__proto__"===e.name?r(t,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):t[e.name]=e.newValue},l=function(t,n){if("__proto__"===n){if(!e.call(t,n))return;if(i)return i(t,n).value}return t[n]};t.exports=function t(){var e,n,r,i,c,u,h=arguments[0],f=1,d=arguments.length,p=!1;for("boolean"==typeof h&&(p=h,h=arguments[1]||{},f=2),(null==h||"object"!=typeof h&&"function"!=typeof h)&&(h={});f<d;++f)if(null!=(e=arguments[f]))for(n in e)r=l(h,n),h!==(i=l(e,n))&&(p&&i&&(a(i)||(c=o(i)))?(c?(c=!1,u=r&&o(r)?r:[]):u=r&&a(r)?r:{},s(h,{name:n,newValue:t(p,u,i)})):void 0!==i&&s(h,{name:n,newValue:i}));return h}},9353:t=>{"use strict";var e=Object.prototype.toString,n=Math.max,r=function(t,e){for(var n=[],r=0;r<t.length;r+=1)n[r]=t[r];for(var i=0;i<e.length;i+=1)n[i+t.length]=e[i];return n};t.exports=function(t){var i=this;if("function"!=typeof i||"[object Function]"!==e.apply(i))throw new TypeError("Function.prototype.bind called on incompatible "+i);for(var o,a=function(t,e){for(var n=[],r=1,i=0;r<t.length;r+=1,i+=1)n[i]=t[r];return n}(arguments),s=n(0,i.length-a.length),l=[],c=0;c<s;c++)l[c]="$"+c;if(o=Function("binder","return function ("+function(t,e){for(var n="",r=0;r<t.length;r+=1)n+=t[r],r+1<t.length&&(n+=",");return n}(l)+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var e=i.apply(this,r(a,arguments));return Object(e)===e?e:this}return i.apply(t,r(a,arguments))})),i.prototype){var u=function(){};u.prototype=i.prototype,o.prototype=new u,u.prototype=null}return o}},6743:(t,e,n)=>{"use strict";var r=n(9353);t.exports=Function.prototype.bind||r},453:(t,e,n)=>{"use strict";var r,i=SyntaxError,o=Function,a=TypeError,s=function(t){try{return o('"use strict"; return ('+t+").constructor;")()}catch(t){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(t){l=null}var c=function(){throw new a},u=l?function(){try{return c}catch(t){try{return l(arguments,"callee").get}catch(t){return c}}}():c,h=n(4039)(),f=n(24)(),d=Object.getPrototypeOf||(f?function(t){return t.__proto__}:null),p={},m="undefined"!=typeof Uint8Array&&d?d(Uint8Array):r,g={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":h&&d?d([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":p,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":h&&d?d(d([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&h&&d?d((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&h&&d?d((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":h&&d?d(""[Symbol.iterator]()):r,"%Symbol%":h?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":u,"%TypedArray%":m,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};if(d)try{null.error}catch(t){var y=d(d(t));g["%Error.prototype%"]=y}var w=function t(e){var n;if("%AsyncFunction%"===e)n=s("async function () {}");else if("%GeneratorFunction%"===e)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===e)n=s("async function* () {}");else if("%AsyncGenerator%"===e){var r=t("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===e){var i=t("%AsyncGenerator%");i&&d&&(n=d(i.prototype))}return g[e]=n,n},b={"%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"]},v=n(6743),E=n(9030),_=v.call(Function.call,Array.prototype.concat),A=v.call(Function.apply,Array.prototype.splice),M=v.call(Function.call,String.prototype.replace),T=v.call(Function.call,String.prototype.slice),x=v.call(Function.call,RegExp.prototype.exec),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,k=/\\(\\)?/g,C=function(t,e){var n,r=t;if(E(b,r)&&(r="%"+(n=b[r])[0]+"%"),E(g,r)){var o=g[r];if(o===p&&(o=w(r)),void 0===o&&!e)throw new a("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new i("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new a('"allowMissing" argument must be a boolean');if(null===x(/^%?[^%]*%?$/,t))throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(t){var e=T(t,0,1),n=T(t,-1);if("%"===e&&"%"!==n)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==e)throw new i("invalid intrinsic syntax, expected opening `%`");var r=[];return M(t,S,(function(t,e,n,i){r[r.length]=n?M(i,k,"$1"):e||t})),r}(t),r=n.length>0?n[0]:"",o=C("%"+r+"%",e),s=o.name,c=o.value,u=!1,h=o.alias;h&&(r=h[0],A(n,_([0,1],h)));for(var f=1,d=!0;f<n.length;f+=1){var p=n[f],m=T(p,0,1),y=T(p,-1);if(('"'===m||"'"===m||"`"===m||'"'===y||"'"===y||"`"===y)&&m!==y)throw new i("property names with quotes must have matching quotes");if("constructor"!==p&&d||(u=!0),E(g,s="%"+(r+="."+p)+"%"))c=g[s];else if(null!=c){if(!(p in c)){if(!e)throw new a("base intrinsic for "+t+" exists, but the property is not available.");return}if(l&&f+1>=n.length){var w=l(c,p);c=(d=!!w)&&"get"in w&&!("originalValue"in w.get)?w.get:c[p]}else d=E(c,p),c=c[p];d&&!u&&(g[s]=c)}}return c}},24:t=>{"use strict";var e={foo:{}},n=Object;t.exports=function(){return{__proto__:e}.foo===e.foo&&!({__proto__:null}instanceof n)}},4039:(t,e,n)=>{"use strict";var r="undefined"!=typeof Symbol&&Symbol,i=n(1333);t.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&i()}},1333:t=>{"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),n=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var r=Object.getOwnPropertySymbols(t);if(1!==r.length||r[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(t,e);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},9030:(t,e,n)=>{"use strict";var r=n(6743);t.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},4729:(t,e,n)=>{"use strict";var r=n(2861).Buffer,i=n(1603).Transform;function o(t){i.call(this),this._block=r.allocUnsafe(t),this._blockSize=t,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}n(6698)(o,i),o.prototype._transform=function(t,e,n){var r=null;try{this.update(t,e)}catch(t){r=t}n(r)},o.prototype._flush=function(t){var e=null;try{this.push(this.digest())}catch(t){e=t}t(e)},o.prototype.update=function(t,e){if(function(t,e){if(!r.isBuffer(t)&&"string"!=typeof t)throw new TypeError("Data must be a string or a buffer")}(t),this._finalized)throw new Error("Digest already called");r.isBuffer(t)||(t=r.from(t,e));for(var n=this._block,i=0;this._blockOffset+t.length-i>=this._blockSize;){for(var o=this._blockOffset;o<this._blockSize;)n[o++]=t[i++];this._update(),this._blockOffset=0}for(;i<t.length;)n[this._blockOffset++]=t[i++];for(var a=0,s=8*t.length;s>0;++a)this._length[a]+=s,(s=this._length[a]/4294967296|0)>0&&(this._length[a]-=4294967296*s);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();void 0!==t&&(e=e.toString(t)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return e},o.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=o},2260:t=>{"use strict";var e={};function n(t,n,r){r||(r=Error);var i=function(t){var e,r;function i(e,r,i){return t.call(this,function(t,e,r){return"string"==typeof n?n:n(t,e,r)}(e,r,i))||this}return r=t,(e=i).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r,i}(r);i.prototype.name=r.name,i.prototype.code=t,e[t]=i}function r(t,e){if(Array.isArray(t)){var n=t.length;return t=t.map((function(t){return String(t)})),n>2?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:2===n?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}n("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),n("ERR_INVALID_ARG_TYPE",(function(t,e,n){var i,o,a,s,l;if("string"==typeof e&&(o="not ",e.substr(0,4)===o)?(i="must not be",e=e.replace(/^not /,"")):i="must be",function(t,e,n){return(void 0===n||n>t.length)&&(n=t.length),t.substring(n-9,n)===e}(t," argument"))a="The ".concat(t," ").concat(i," ").concat(r(e,"type"));else{var c=("number"!=typeof l&&(l=0),l+1>(s=t).length||-1===s.indexOf(".",l)?"argument":"property");a='The "'.concat(t,'" ').concat(c," ").concat(i," ").concat(r(e,"type"))}return a+". Received type ".concat(typeof n)}),TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.F=e},2818:(t,e,n)=>{"use strict";var r=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=c;var i=n(6736),o=n(2192);n(6698)(c,i);for(var a=r(o.prototype),s=0;s<a.length;s++){var l=a[s];c.prototype[l]||(c.prototype[l]=o.prototype[l])}function c(t){if(!(this instanceof c))return new c(t);i.call(this,t),o.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",u)))}function u(){this._writableState.ended||{env:{}}.nextTick(h,this)}function h(t){t.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}})},5860:(t,e,n)=>{"use strict";t.exports=i;var r=n(3054);function i(t){if(!(this instanceof i))return new i(t);r.call(this,t)}n(6698)(i,r),i.prototype._transform=function(t,e,n){n(null,t)}},6736:(t,e,n)=>{"use strict";var r;t.exports=M,M.ReadableState=A,n(7007).EventEmitter;var i,o=function(t,e){return t.listeners(e).length},a=n(1181),s=n(8287).Buffer,l=(void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},c=n(2382);i=c&&c.debuglog?c.debuglog("stream"):function(){};var u,h,f,d=n(2389),p=n(1468),m=n(8775).getHighWaterMark,g=n(2260).F,y=g.ERR_INVALID_ARG_TYPE,w=g.ERR_STREAM_PUSH_AFTER_EOF,b=g.ERR_METHOD_NOT_IMPLEMENTED,v=g.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n(6698)(M,a);var E=p.errorOrDestroy,_=["error","close","destroy","pause","resume"];function A(t,e,i){r=r||n(2818),t=t||{},"boolean"!=typeof i&&(i=e instanceof r),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=m(this,t,"readableHighWaterMark",i),this.buffer=new d,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!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(u||(u=n(3141).I),this.decoder=new u(t.encoding),this.encoding=t.encoding)}function M(t){if(r=r||n(2818),!(this instanceof M))return new M(t);var e=this instanceof r;this._readableState=new A(t,this,e),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),a.call(this)}function T(t,e,n,r,o){i("readableAddChunk",e);var a,c=t._readableState;if(null===e)c.reading=!1,function(t,e){if(i("onEofChunk"),!e.ended){if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,e.sync?C(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,D(t)))}}(t,c);else if(o||(a=function(t,e){var n,r;return r=e,s.isBuffer(r)||r instanceof l||"string"==typeof e||void 0===e||t.objectMode||(n=new y("chunk",["string","Buffer","Uint8Array"],e)),n}(c,e)),a)E(t,a);else if(c.objectMode||e&&e.length>0)if("string"==typeof e||c.objectMode||Object.getPrototypeOf(e)===s.prototype||(e=function(t){return s.from(t)}(e)),r)c.endEmitted?E(t,new v):x(t,c,e,!0);else if(c.ended)E(t,new w);else{if(c.destroyed)return!1;c.reading=!1,c.decoder&&!n?(e=c.decoder.write(e),c.objectMode||0!==e.length?x(t,c,e,!1):I(t,c)):x(t,c,e,!1)}else r||(c.reading=!1,I(t,c));return!c.ended&&(c.length<c.highWaterMark||0===c.length)}function x(t,e,n,r){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",n)):(e.length+=e.objectMode?1:n.length,r?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&C(t)),I(t,e)}Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),M.prototype.destroy=p.destroy,M.prototype._undestroy=p.undestroy,M.prototype._destroy=function(t,e){e(t)},M.prototype.push=function(t,e){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof t&&((e=e||r.defaultEncoding)!==r.encoding&&(t=s.from(t,e),e=""),n=!0),T(this,t,e,!1,n)},M.prototype.unshift=function(t){return T(this,t,null,!0,!1)},M.prototype.isPaused=function(){return!1===this._readableState.flowing},M.prototype.setEncoding=function(t){u||(u=n(3141).I);var e=new u(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i="";null!==r;)i+=e.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var S=1073741824;function k(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=S?t=S:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function C(t){var e=t._readableState;i("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(i("emitReadable",e.flowing),e.emittedReadable=!0,{env:{}}.nextTick(D,t))}function D(t){var e=t._readableState;i("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,P(t)}function I(t,e){e.readingMore||(e.readingMore=!0,{env:{}}.nextTick(R,t,e))}function R(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length);){var n=e.length;if(i("maybeReadMore read 0"),t.read(0),n===e.length)break}e.readingMore=!1}function N(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function O(t){i("readable nexttick read 0"),t.read(0)}function L(t,e){i("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),P(t),e.flowing&&!e.reading&&t.read(0)}function P(t){var e=t._readableState;for(i("flow",e.flowing);e.flowing&&null!==t.read(););}function F(t,e){return 0===e.length?null:(e.objectMode?n=e.buffer.shift():!t||t>=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):n=e.buffer.consume(t,e.decoder),n);var n}function B(t){var e=t._readableState;i("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,{env:{}}.nextTick(U,e,t))}function U(t,e){if(i("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var n=e._writableState;(!n||n.autoDestroy&&n.finished)&&e.destroy()}}function j(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}M.prototype.read=function(t){i("read",t),t=parseInt(t,10);var e=this._readableState,n=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&((0!==e.highWaterMark?e.length>=e.highWaterMark:e.length>0)||e.ended))return i("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?B(this):C(this),null;if(0===(t=k(t,e))&&e.ended)return 0===e.length&&B(this),null;var r,o=e.needReadable;return i("need readable",o),(0===e.length||e.length-t<e.highWaterMark)&&i("length less than watermark",o=!0),e.ended||e.reading?i("reading or ended",o=!1):o&&(i("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=k(n,e))),null===(r=t>0?F(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&B(this)),null!==r&&this.emit("data",r),r},M.prototype._read=function(t){E(this,new b("_read()"))},M.prototype.pipe=function(t,e){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=t;break;case 1:r.pipes=[r.pipes,t];break;default:r.pipes.push(t)}r.pipesCount+=1,i("pipe count=%d opts=%j",r.pipesCount,e);var a=e&&!1===e.end||t==={env:{}}.stdout||t==={env:{}}.stderr?p:s;function s(){i("onend"),t.end()}r.endEmitted?{env:{}}.nextTick(a):n.once("end",a),t.on("unpipe",(function e(o,a){i("onunpipe"),o===n&&a&&!1===a.hasUnpiped&&(a.hasUnpiped=!0,i("cleanup"),t.removeListener("close",f),t.removeListener("finish",d),t.removeListener("drain",l),t.removeListener("error",h),t.removeListener("unpipe",e),n.removeListener("end",s),n.removeListener("end",p),n.removeListener("data",u),c=!0,!r.awaitDrain||t._writableState&&!t._writableState.needDrain||l())}));var l=function(t){return function(){var e=t._readableState;i("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&o(t,"data")&&(e.flowing=!0,P(t))}}(n);t.on("drain",l);var c=!1;function u(e){i("ondata");var o=t.write(e);i("dest.write",o),!1===o&&((1===r.pipesCount&&r.pipes===t||r.pipesCount>1&&-1!==j(r.pipes,t))&&!c&&(i("false write response, pause",r.awaitDrain),r.awaitDrain++),n.pause())}function h(e){i("onerror",e),p(),t.removeListener("error",h),0===o(t,"error")&&E(t,e)}function f(){t.removeListener("finish",d),p()}function d(){i("onfinish"),t.removeListener("close",f),p()}function p(){i("unpipe"),n.unpipe(t)}return n.on("data",u),function(t,e,n){if("function"==typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}(t,"error",h),t.once("close",f),t.once("finish",d),t.emit("pipe",n),r.flowing||(i("pipe resume"),n.resume()),t},M.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var r=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=j(e.pipes,t);return-1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,n)),this},M.prototype.on=function(t,e){var n=a.prototype.on.call(this,t,e),r=this._readableState;return"data"===t?(r.readableListening=this.listenerCount("readable")>0,!1!==r.flowing&&this.resume()):"readable"===t&&(r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,i("on readable",r.length,r.reading),r.length?C(this):r.reading||{env:{}}.nextTick(O,this))),n},M.prototype.addListener=M.prototype.on,M.prototype.removeListener=function(t,e){var n=a.prototype.removeListener.call(this,t,e);return"readable"===t&&{env:{}}.nextTick(N,this),n},M.prototype.removeAllListeners=function(t){var e=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||{env:{}}.nextTick(N,this),e},M.prototype.resume=function(){var t=this._readableState;return t.flowing||(i("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,{env:{}}.nextTick(L,t,e))}(this,t)),t.paused=!1,this},M.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},M.prototype.wrap=function(t){var e=this,n=this._readableState,r=!1;for(var o in t.on("end",(function(){if(i("wrapped end"),n.decoder&&!n.ended){var t=n.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(o){i("wrapped data"),n.decoder&&(o=n.decoder.write(o)),n.objectMode&&null==o||(n.objectMode||o&&o.length)&&(e.push(o)||(r=!0,t.pause()))})),t)void 0===this[o]&&"function"==typeof t[o]&&(this[o]=function(e){return function(){return t[e].apply(t,arguments)}}(o));for(var a=0;a<_.length;a++)t.on(_[a],this.emit.bind(this,_[a]));return this._read=function(e){i("wrapped _read",e),r&&(r=!1,t.resume())},this},"function"==typeof Symbol&&(M.prototype[Symbol.asyncIterator]=function(){return void 0===h&&(h=n(4743)),h(this)}),Object.defineProperty(M.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(M.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(M.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),M._fromList=F,Object.defineProperty(M.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(M.from=function(t,e){return void 0===f&&(f=n(5049)),f(M,t,e)})},3054:(t,e,n)=>{"use strict";t.exports=u;var r=n(2260).F,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=r.ERR_TRANSFORM_WITH_LENGTH_0,l=n(2818);function c(t,e){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=e&&this.push(e),r(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function u(t){if(!(this instanceof u))return new u(t);l.call(this,t),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",h)}function h(){var t=this;"function"!=typeof this._flush||this._readableState.destroyed?f(this,null,null):this._flush((function(e,n){f(t,e,n)}))}function f(t,e,n){if(e)return t.emit("error",e);if(null!=n&&t.push(n),t._writableState.length)throw new s;if(t._transformState.transforming)throw new a;return t.push(null)}n(6698)(u,l),u.prototype.push=function(t,e){return this._transformState.needTransform=!1,l.prototype.push.call(this,t,e)},u.prototype._transform=function(t,e,n){n(new i("_transform()"))},u.prototype._write=function(t,e,n){var r=this._transformState;if(r.writecb=n,r.writechunk=t,r.writeencoding=e,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},u.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},u.prototype._destroy=function(t,e){l.prototype._destroy.call(this,t,(function(t){e(t)}))}},2192:(t,e,n)=>{"use strict";function r(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,n){var r=t.entry;for(t.entry=null;r;){var i=r.callback;e.pendingcb--,i(undefined),r=r.next}e.corkedRequestsFree.next=t}(e,t)}}var i;t.exports=M,M.WritableState=A;var o,a={deprecate:n(4643)},s=n(1181),l=n(8287).Buffer,c=(void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},u=n(1468),h=n(8775).getHighWaterMark,f=n(2260).F,d=f.ERR_INVALID_ARG_TYPE,p=f.ERR_METHOD_NOT_IMPLEMENTED,m=f.ERR_MULTIPLE_CALLBACK,g=f.ERR_STREAM_CANNOT_PIPE,y=f.ERR_STREAM_DESTROYED,w=f.ERR_STREAM_NULL_VALUES,b=f.ERR_STREAM_WRITE_AFTER_END,v=f.ERR_UNKNOWN_ENCODING,E=u.errorOrDestroy;function _(){}function A(t,e,o){i=i||n(2818),t=t||{},"boolean"!=typeof o&&(o=e instanceof i),this.objectMode=!!t.objectMode,o&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=h(this,t,"writableHighWaterMark",o),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===t.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var n=t._writableState,r=n.sync,i=n.writecb;if("function"!=typeof i)throw new m;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),e)!function(t,e,n,r,i){--e.pendingcb,n?({env:{}}.nextTick(i,r),{env:{}}.nextTick(D,t,e),t._writableState.errorEmitted=!0,E(t,r)):(i(r),t._writableState.errorEmitted=!0,E(t,r),D(t,e))}(t,n,r,e,i);else{var o=k(n)||t.destroyed;o||n.corked||n.bufferProcessing||!n.bufferedRequest||S(t,n),r?{env:{}}.nextTick(x,t,n,o,i):x(t,n,o,i)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}function M(t){var e=this instanceof(i=i||n(2818));if(!e&&!o.call(M,this))return new M(t);this._writableState=new A(t,this,e),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),s.call(this)}function T(t,e,n,r,i,o,a){e.writelen=r,e.writecb=a,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new y("write")):n?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function x(t,e,n,r){n||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,r(),D(t,e)}function S(t,e){e.bufferProcessing=!0;var n=e.bufferedRequest;if(t._writev&&n&&n.next){var i=e.bufferedRequestCount,o=new Array(i),a=e.corkedRequestsFree;a.entry=n;for(var s=0,l=!0;n;)o[s]=n,n.isBuf||(l=!1),n=n.next,s+=1;o.allBuffers=l,T(t,e,!0,e.length,o,"",a.finish),e.pendingcb++,e.lastBufferedRequest=null,a.next?(e.corkedRequestsFree=a.next,a.next=null):e.corkedRequestsFree=new r(e),e.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,u=n.encoding,h=n.callback;if(T(t,e,!1,e.objectMode?1:c.length,c,u,h),n=n.next,e.bufferedRequestCount--,e.writing)break}null===n&&(e.lastBufferedRequest=null)}e.bufferedRequest=n,e.bufferProcessing=!1}function k(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function C(t,e){t._final((function(n){e.pendingcb--,n&&E(t,n),e.prefinished=!0,t.emit("prefinish"),D(t,e)}))}function D(t,e){var n=k(e);if(n&&(function(t,e){e.prefinished||e.finalCalled||("function"!=typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,{env:{}}.nextTick(C,t,e)))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var r=t._readableState;(!r||r.autoDestroy&&r.endEmitted)&&t.destroy()}return n}n(6698)(M,s),A.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(A.prototype,"buffer",{get:a.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(o=Function.prototype[Symbol.hasInstance],Object.defineProperty(M,Symbol.hasInstance,{value:function(t){return!!o.call(this,t)||this===M&&t&&t._writableState instanceof A}})):o=function(t){return t instanceof this},M.prototype.pipe=function(){E(this,new g)},M.prototype.write=function(t,e,n){var r,i=this._writableState,o=!1,a=!i.objectMode&&(r=t,l.isBuffer(r)||r instanceof c);return a&&!l.isBuffer(t)&&(t=function(t){return l.from(t)}(t)),"function"==typeof e&&(n=e,e=null),a?e="buffer":e||(e=i.defaultEncoding),"function"!=typeof n&&(n=_),i.ending?function(t,e){var n=new b;E(t,n),{env:{}}.nextTick(e,n)}(this,n):(a||function(t,e,n,r){var i;return null===n?i=new w:"string"==typeof n||e.objectMode||(i=new d("chunk",["string","Buffer"],n)),!i||(E(t,i),{env:{}}.nextTick(r,i),!1)}(this,i,t,n))&&(i.pendingcb++,o=function(t,e,n,r,i,o){if(!n){var a=function(t,e,n){return t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=l.from(e,n)),e}(e,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=e.objectMode?1:r.length;e.length+=s;var c=e.length<e.highWaterMark;if(c||(e.needDrain=!0),e.writing||e.corked){var u=e.lastBufferedRequest;e.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},u?u.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else T(t,e,!1,s,r,i,o);return c}(this,i,a,t,e,n)),o},M.prototype.cork=function(){this._writableState.corked++},M.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||S(this,t))},M.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new v(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(M.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(M.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),M.prototype._write=function(t,e,n){n(new p("_write()"))},M.prototype._writev=null,M.prototype.end=function(t,e,n){var r=this._writableState;return"function"==typeof t?(n=t,t=null,e=null):"function"==typeof e&&(n=e,e=null),null!=t&&this.write(t,e),r.corked&&(r.corked=1,this.uncork()),r.ending||function(t,e,n){e.ending=!0,D(t,e),n&&(e.finished?{env:{}}.nextTick(n):t.once("finish",n)),e.ended=!0,t.writable=!1}(this,r,n),this},Object.defineProperty(M.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),M.prototype.destroy=u.destroy,M.prototype._undestroy=u.undestroy,M.prototype._destroy=function(t,e){e(t)}},4743:(t,e,n)=>{"use strict";var r;function i(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(5826),a=Symbol("lastResolve"),s=Symbol("lastReject"),l=Symbol("error"),c=Symbol("ended"),u=Symbol("lastPromise"),h=Symbol("handlePromise"),f=Symbol("stream");function d(t,e){return{value:t,done:e}}function p(t){var e=t[a];if(null!==e){var n=t[f].read();null!==n&&(t[u]=null,t[a]=null,t[s]=null,e(d(n,!1)))}}function m(t){({env:{}}).nextTick(p,t)}var g=Object.getPrototypeOf((function(){})),y=Object.setPrototypeOf((i(r={get stream(){return this[f]},next:function(){var t=this,e=this[l];if(null!==e)return Promise.reject(e);if(this[c])return Promise.resolve(d(void 0,!0));if(this[f].destroyed)return new Promise((function(e,n){({env:{}}).nextTick((function(){t[l]?n(t[l]):e(d(void 0,!0))}))}));var n,r=this[u];if(r)n=new Promise(function(t,e){return function(n,r){t.then((function(){e[c]?n(d(void 0,!0)):e[h](n,r)}),r)}}(r,this));else{var i=this[f].read();if(null!==i)return Promise.resolve(d(i,!1));n=new Promise(this[h])}return this[u]=n,n}},Symbol.asyncIterator,(function(){return this})),i(r,"return",(function(){var t=this;return new Promise((function(e,n){t[f].destroy(null,(function(t){t?n(t):e(d(void 0,!0))}))}))})),r),g);t.exports=function(t){var e,n=Object.create(y,(i(e={},f,{value:t,writable:!0}),i(e,a,{value:null,writable:!0}),i(e,s,{value:null,writable:!0}),i(e,l,{value:null,writable:!0}),i(e,c,{value:t._readableState.endEmitted,writable:!0}),i(e,h,{value:function(t,e){var r=n[f].read();r?(n[u]=null,n[a]=null,n[s]=null,t(d(r,!1))):(n[a]=t,n[s]=e)},writable:!0}),e));return n[u]=null,o(t,(function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=n[s];return null!==e&&(n[u]=null,n[a]=null,n[s]=null,e(t)),void(n[l]=t)}var r=n[a];null!==r&&(n[u]=null,n[a]=null,n[s]=null,r(d(void 0,!0))),n[c]=!0})),t.on("readable",m.bind(null,n)),n}},2389:(t,e,n)=>{"use strict";function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){o(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function o(t,e,n){return(e=s(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,s(r.key),r)}}function s(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}var l=n(8287).Buffer,c=n(8460).inspect,u=c&&c.custom||"inspect";t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}var e,n;return e=t,(n=[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,n=""+e.data;e=e.next;)n+=t+e.data;return n}},{key:"concat",value:function(t){if(0===this.length)return l.alloc(0);for(var e,n,r,i=l.allocUnsafe(t>>>0),o=this.head,a=0;o;)e=o.data,n=i,r=a,l.prototype.copy.call(e,n,r),a+=o.data.length,o=o.next;return i}},{key:"consume",value:function(t,e){var n;return t<this.head.data.length?(n=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):n=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var e=this.head,n=1,r=e.data;for(t-=r.length;e=e.next;){var i=e.data,o=t>i.length?i.length:t;if(o===i.length?r+=i:r+=i.slice(0,t),0==(t-=o)){o===i.length?(++n,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(t){var e=l.allocUnsafe(t),n=this.head,r=1;for(n.data.copy(e),t-=n.data.length;n=n.next;){var i=n.data,o=t>i.length?i.length:t;if(i.copy(e,e.length-t,0,o),0==(t-=o)){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,e}},{key:u,value:function(t,e){return c(this,i(i({},e),{},{depth:0,customInspect:!1}))}}])&&a(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),t}()},1468:t=>{"use strict";function e(t,e){r(t,e),n(t)}function n(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function r(t,e){t.emit("error",e)}t.exports={destroy:function(t,i){var o=this,a=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return a||s?(i?i(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,{env:{}}.nextTick(r,this,t)):{env:{}}.nextTick(r,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!i&&t?o._writableState?o._writableState.errorEmitted?{env:{}}.nextTick(n,o):(o._writableState.errorEmitted=!0,{env:{}}.nextTick(e,o,t)):{env:{}}.nextTick(e,o,t):i?({env:{}}.nextTick(n,o),i(t)):{env:{}}.nextTick(n,o)})),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(t,e){var n=t._readableState,r=t._writableState;n&&n.autoDestroy||r&&r.autoDestroy?t.destroy(e):t.emit("error",e)}}},5826:(t,e,n)=>{"use strict";var r=n(2260).F.ERR_STREAM_PREMATURE_CLOSE;function i(){}t.exports=function t(e,n,o){if("function"==typeof n)return t(e,null,n);n||(n={}),o=function(t){var e=!1;return function(){if(!e){e=!0;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.apply(this,r)}}}(o||i);var a=n.readable||!1!==n.readable&&e.readable,s=n.writable||!1!==n.writable&&e.writable,l=function(){e.writable||u()},c=e._writableState&&e._writableState.finished,u=function(){s=!1,c=!0,a||o.call(e)},h=e._readableState&&e._readableState.endEmitted,f=function(){a=!1,h=!0,s||o.call(e)},d=function(t){o.call(e,t)},p=function(){var t;return a&&!h?(e._readableState&&e._readableState.ended||(t=new r),o.call(e,t)):s&&!c?(e._writableState&&e._writableState.ended||(t=new r),o.call(e,t)):void 0},m=function(){e.req.on("finish",u)};return function(t){return t.setHeader&&"function"==typeof t.abort}(e)?(e.on("complete",u),e.on("abort",p),e.req?m():e.on("request",m)):s&&!e._writableState&&(e.on("end",l),e.on("close",l)),e.on("end",f),e.on("finish",u),!1!==n.error&&e.on("error",d),e.on("close",p),function(){e.removeListener("complete",u),e.removeListener("abort",p),e.removeListener("request",m),e.req&&e.req.removeListener("finish",u),e.removeListener("end",l),e.removeListener("close",l),e.removeListener("finish",u),e.removeListener("end",f),e.removeListener("error",d),e.removeListener("close",p)}}},5049:t=>{t.exports=function(){throw new Error("Readable.from is not available in the browser")}},9434:(t,e,n)=>{"use strict";var r,i=n(2260).F,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(t){if(t)throw t}function l(t){t()}function c(t,e){return t.pipe(e)}t.exports=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var u,h=function(t){return t.length?"function"!=typeof t[t.length-1]?s:t.pop():s}(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new o("streams");var f=e.map((function(t,i){var o=i<e.length-1;return function(t,e,i,o){o=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(o);var s=!1;t.on("close",(function(){s=!0})),void 0===r&&(r=n(5826)),r(t,{readable:e,writable:i},(function(t){if(t)return o(t);s=!0,o()}));var l=!1;return function(e){if(!s&&!l)return l=!0,function(t){return t.setHeader&&"function"==typeof t.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void o(e||new a("pipe"))}}(t,o,i>0,(function(t){u||(u=t),t&&f.forEach(l),o||(f.forEach(l),h(u))}))}));return e.reduce(c)}},8775:(t,e,n)=>{"use strict";var r=n(2260).F.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(t,e,n,i){var o=function(t,e,n){return null!=t.highWaterMark?t.highWaterMark:e?t[n]:null}(e,i,n);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new r(i?n:"highWaterMark",o);return Math.floor(o)}return t.objectMode?16:16384}}},1181:(t,e,n)=>{t.exports=n(7007).EventEmitter},1603:(t,e,n)=>{(e=t.exports=n(6736)).Stream=e,e.Readable=e,e.Writable=n(2192),e.Duplex=n(2818),e.Transform=n(3054),e.PassThrough=n(5860),e.finished=n(5826),e.pipeline=n(9434)},7952:(t,e,n)=>{var r=e;r.utils=n(7426),r.common=n(6166),r.sha=n(6229),r.ripemd=n(6784),r.hmac=n(8948),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},6166:(t,e,n)=>{"use strict";var r=n(7426),i=n(3349);function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}e.BlockHash=o,o.prototype.update=function(t,e){if(t=r.toArray(t,e),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){var n=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-n,t.length),0===this.pending.length&&(this.pending=null),t=r.join32(t,0,t.length-n,this.endian);for(var i=0;i<t.length;i+=this._delta32)this._update(t,i,i+this._delta32)}return this},o.prototype.digest=function(t){return this.update(this._pad()),i(null===this.pending),this._digest(t)},o.prototype._pad=function(){var t=this.pendingTotal,e=this._delta8,n=e-(t+this.padLength)%e,r=new Array(n+this.padLength);r[0]=128;for(var i=1;i<n;i++)r[i]=0;if(t<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)r[i++]=0;r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=t>>>24&255,r[i++]=t>>>16&255,r[i++]=t>>>8&255,r[i++]=255&t}else for(r[i++]=255&t,r[i++]=t>>>8&255,r[i++]=t>>>16&255,r[i++]=t>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,o=8;o<this.padLength;o++)r[i++]=0;return r}},8948:(t,e,n)=>{"use strict";var r=n(7426),i=n(3349);function o(t,e,n){if(!(this instanceof o))return new o(t,e,n);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(e,n))}t.exports=o,o.prototype._init=function(t){t.length>this.blockSize&&(t=(new this.Hash).update(t).digest()),i(t.length<=this.blockSize);for(var e=t.length;e<this.blockSize;e++)t.push(0);for(e=0;e<t.length;e++)t[e]^=54;for(this.inner=(new this.Hash).update(t),e=0;e<t.length;e++)t[e]^=106;this.outer=(new this.Hash).update(t)},o.prototype.update=function(t,e){return this.inner.update(t,e),this},o.prototype.digest=function(t){return this.outer.update(this.inner.digest()),this.outer.digest(t)}},6784:(t,e,n)=>{"use strict";var r=n(7426),i=n(6166),o=r.rotl32,a=r.sum32,s=r.sum32_3,l=r.sum32_4,c=i.BlockHash;function u(){if(!(this instanceof u))return new u;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function h(t,e,n,r){return t<=15?e^n^r:t<=31?e&n|~e&r:t<=47?(e|~n)^r:t<=63?e&r|n&~r:e^(n|~r)}function f(t){return t<=15?0:t<=31?1518500249:t<=47?1859775393:t<=63?2400959708:2840853838}function d(t){return t<=15?1352829926:t<=31?1548603684:t<=47?1836072691:t<=63?2053994217:0}r.inherits(u,c),e.ripemd160=u,u.blockSize=512,u.outSize=160,u.hmacStrength=192,u.padLength=64,u.prototype._update=function(t,e){for(var n=this.h[0],r=this.h[1],i=this.h[2],c=this.h[3],u=this.h[4],w=n,b=r,v=i,E=c,_=u,A=0;A<80;A++){var M=a(o(l(n,h(A,r,i,c),t[p[A]+e],f(A)),g[A]),u);n=u,u=c,c=o(i,10),i=r,r=M,M=a(o(l(w,h(79-A,b,v,E),t[m[A]+e],d(A)),y[A]),_),w=_,_=E,E=o(v,10),v=b,b=M}M=s(this.h[1],i,E),this.h[1]=s(this.h[2],c,_),this.h[2]=s(this.h[3],u,w),this.h[3]=s(this.h[4],n,b),this.h[4]=s(this.h[0],r,v),this.h[0]=M},u.prototype._digest=function(t){return"hex"===t?r.toHex32(this.h,"little"):r.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],m=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],g=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],y=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},6229:(t,e,n)=>{"use strict";e.sha1=n(3917),e.sha224=n(7714),e.sha256=n(2287),e.sha384=n(1911),e.sha512=n(7766)},3917:(t,e,n)=>{"use strict";var r=n(7426),i=n(6166),o=n(6225),a=r.rotl32,s=r.sum32,l=r.sum32_5,c=o.ft_1,u=i.BlockHash,h=[1518500249,1859775393,2400959708,3395469782];function f(){if(!(this instanceof f))return new f;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(f,u),t.exports=f,f.blockSize=512,f.outSize=160,f.hmacStrength=80,f.padLength=64,f.prototype._update=function(t,e){for(var n=this.W,r=0;r<16;r++)n[r]=t[e+r];for(;r<n.length;r++)n[r]=a(n[r-3]^n[r-8]^n[r-14]^n[r-16],1);var i=this.h[0],o=this.h[1],u=this.h[2],f=this.h[3],d=this.h[4];for(r=0;r<n.length;r++){var p=~~(r/20),m=l(a(i,5),c(p,o,u,f),d,n[r],h[p]);d=f,f=u,u=a(o,30),o=i,i=m}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],u),this.h[3]=s(this.h[3],f),this.h[4]=s(this.h[4],d)},f.prototype._digest=function(t){return"hex"===t?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},7714:(t,e,n)=>{"use strict";var r=n(7426),i=n(2287);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(o,i),t.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(t){return"hex"===t?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}},2287:(t,e,n)=>{"use strict";var r=n(7426),i=n(6166),o=n(6225),a=n(3349),s=r.sum32,l=r.sum32_4,c=r.sum32_5,u=o.ch32,h=o.maj32,f=o.s0_256,d=o.s1_256,p=o.g0_256,m=o.g1_256,g=i.BlockHash,y=[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];function w(){if(!(this instanceof w))return new w;g.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=y,this.W=new Array(64)}r.inherits(w,g),t.exports=w,w.blockSize=512,w.outSize=256,w.hmacStrength=192,w.padLength=64,w.prototype._update=function(t,e){for(var n=this.W,r=0;r<16;r++)n[r]=t[e+r];for(;r<n.length;r++)n[r]=l(m(n[r-2]),n[r-7],p(n[r-15]),n[r-16]);var i=this.h[0],o=this.h[1],g=this.h[2],y=this.h[3],w=this.h[4],b=this.h[5],v=this.h[6],E=this.h[7];for(a(this.k.length===n.length),r=0;r<n.length;r++){var _=c(E,d(w),u(w,b,v),this.k[r],n[r]),A=s(f(i),h(i,o,g));E=v,v=b,b=w,w=s(y,_),y=g,g=o,o=i,i=s(_,A)}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],g),this.h[3]=s(this.h[3],y),this.h[4]=s(this.h[4],w),this.h[5]=s(this.h[5],b),this.h[6]=s(this.h[6],v),this.h[7]=s(this.h[7],E)},w.prototype._digest=function(t){return"hex"===t?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},1911:(t,e,n)=>{"use strict";var r=n(7426),i=n(7766);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}r.inherits(o,i),t.exports=o,o.blockSize=1024,o.outSize=384,o.hmacStrength=192,o.padLength=128,o.prototype._digest=function(t){return"hex"===t?r.toHex32(this.h.slice(0,12),"big"):r.split32(this.h.slice(0,12),"big")}},7766:(t,e,n)=>{"use strict";var r=n(7426),i=n(6166),o=n(3349),a=r.rotr64_hi,s=r.rotr64_lo,l=r.shr64_hi,c=r.shr64_lo,u=r.sum64,h=r.sum64_hi,f=r.sum64_lo,d=r.sum64_4_hi,p=r.sum64_4_lo,m=r.sum64_5_hi,g=r.sum64_5_lo,y=i.BlockHash,w=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function b(){if(!(this instanceof b))return new b;y.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=w,this.W=new Array(160)}function v(t,e,n,r,i){var o=t&n^~t&i;return o<0&&(o+=4294967296),o}function E(t,e,n,r,i,o){var a=e&r^~e&o;return a<0&&(a+=4294967296),a}function _(t,e,n,r,i){var o=t&n^t&i^n&i;return o<0&&(o+=4294967296),o}function A(t,e,n,r,i,o){var a=e&r^e&o^r&o;return a<0&&(a+=4294967296),a}function M(t,e){var n=a(t,e,28)^a(e,t,2)^a(e,t,7);return n<0&&(n+=4294967296),n}function T(t,e){var n=s(t,e,28)^s(e,t,2)^s(e,t,7);return n<0&&(n+=4294967296),n}function x(t,e){var n=s(t,e,14)^s(t,e,18)^s(e,t,9);return n<0&&(n+=4294967296),n}function S(t,e){var n=a(t,e,1)^a(t,e,8)^l(t,e,7);return n<0&&(n+=4294967296),n}function k(t,e){var n=s(t,e,1)^s(t,e,8)^c(t,e,7);return n<0&&(n+=4294967296),n}function C(t,e){var n=s(t,e,19)^s(e,t,29)^c(t,e,6);return n<0&&(n+=4294967296),n}r.inherits(b,y),t.exports=b,b.blockSize=1024,b.outSize=512,b.hmacStrength=192,b.padLength=128,b.prototype._prepareBlock=function(t,e){for(var n=this.W,r=0;r<32;r++)n[r]=t[e+r];for(;r<n.length;r+=2){var i=(g=n[r-4],y=n[r-3],w=void 0,(w=a(g,y,19)^a(y,g,29)^l(g,y,6))<0&&(w+=4294967296),w),o=C(n[r-4],n[r-3]),s=n[r-14],c=n[r-13],u=S(n[r-30],n[r-29]),h=k(n[r-30],n[r-29]),f=n[r-32],m=n[r-31];n[r]=d(i,o,s,c,u,h,f,m),n[r+1]=p(i,o,s,c,u,h,f,m)}var g,y,w},b.prototype._update=function(t,e){this._prepareBlock(t,e);var n,r,i,s=this.W,l=this.h[0],c=this.h[1],d=this.h[2],p=this.h[3],y=this.h[4],w=this.h[5],b=this.h[6],S=this.h[7],k=this.h[8],C=this.h[9],D=this.h[10],I=this.h[11],R=this.h[12],N=this.h[13],O=this.h[14],L=this.h[15];o(this.k.length===s.length);for(var P=0;P<s.length;P+=2){var F=O,B=L,U=(i=void 0,(i=a(n=k,r=C,14)^a(n,r,18)^a(r,n,9))<0&&(i+=4294967296),i),j=x(k,C),H=v(k,0,D,0,R),z=E(0,C,0,I,0,N),q=this.k[P],W=this.k[P+1],G=s[P],K=s[P+1],Y=m(F,B,U,j,H,z,q,W,G,K),V=g(F,B,U,j,H,z,q,W,G,K);F=M(l,c),B=T(l,c),U=_(l,0,d,0,y),j=A(0,c,0,p,0,w);var X=h(F,B,U,j),Z=f(F,B,U,j);O=R,L=N,R=D,N=I,D=k,I=C,k=h(b,S,Y,V),C=f(S,S,Y,V),b=y,S=w,y=d,w=p,d=l,p=c,l=h(Y,V,X,Z),c=f(Y,V,X,Z)}u(this.h,0,l,c),u(this.h,2,d,p),u(this.h,4,y,w),u(this.h,6,b,S),u(this.h,8,k,C),u(this.h,10,D,I),u(this.h,12,R,N),u(this.h,14,O,L)},b.prototype._digest=function(t){return"hex"===t?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},6225:(t,e,n)=>{"use strict";var r=n(7426).rotr32;function i(t,e,n){return t&e^~t&n}function o(t,e,n){return t&e^t&n^e&n}function a(t,e,n){return t^e^n}e.ft_1=function(t,e,n,r){return 0===t?i(e,n,r):1===t||3===t?a(e,n,r):2===t?o(e,n,r):void 0},e.ch32=i,e.maj32=o,e.p32=a,e.s0_256=function(t){return r(t,2)^r(t,13)^r(t,22)},e.s1_256=function(t){return r(t,6)^r(t,11)^r(t,25)},e.g0_256=function(t){return r(t,7)^r(t,18)^t>>>3},e.g1_256=function(t){return r(t,17)^r(t,19)^t>>>10}},7426:(t,e,n)=>{"use strict";var r=n(3349),i=n(6698);function o(t,e){return 55296==(64512&t.charCodeAt(e))&&!(e<0||e+1>=t.length)&&56320==(64512&t.charCodeAt(e+1))}function a(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function s(t){return 1===t.length?"0"+t:t}function l(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}e.inherits=i,e.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if("string"==typeof t)if(e){if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),i=0;i<t.length;i+=2)n.push(parseInt(t[i]+t[i+1],16))}else for(var r=0,i=0;i<t.length;i++){var a=t.charCodeAt(i);a<128?n[r++]=a:a<2048?(n[r++]=a>>6|192,n[r++]=63&a|128):o(t,i)?(a=65536+((1023&a)<<10)+(1023&t.charCodeAt(++i)),n[r++]=a>>18|240,n[r++]=a>>12&63|128,n[r++]=a>>6&63|128,n[r++]=63&a|128):(n[r++]=a>>12|224,n[r++]=a>>6&63|128,n[r++]=63&a|128)}else for(i=0;i<t.length;i++)n[i]=0|t[i];return n},e.toHex=function(t){for(var e="",n=0;n<t.length;n++)e+=s(t[n].toString(16));return e},e.htonl=a,e.toHex32=function(t,e){for(var n="",r=0;r<t.length;r++){var i=t[r];"little"===e&&(i=a(i)),n+=l(i.toString(16))}return n},e.zero2=s,e.zero8=l,e.join32=function(t,e,n,i){var o=n-e;r(o%4==0);for(var a=new Array(o/4),s=0,l=e;s<a.length;s++,l+=4){var c;c="big"===i?t[l]<<24|t[l+1]<<16|t[l+2]<<8|t[l+3]:t[l+3]<<24|t[l+2]<<16|t[l+1]<<8|t[l],a[s]=c>>>0}return a},e.split32=function(t,e){for(var n=new Array(4*t.length),r=0,i=0;r<t.length;r++,i+=4){var o=t[r];"big"===e?(n[i]=o>>>24,n[i+1]=o>>>16&255,n[i+2]=o>>>8&255,n[i+3]=255&o):(n[i+3]=o>>>24,n[i+2]=o>>>16&255,n[i+1]=o>>>8&255,n[i]=255&o)}return n},e.rotr32=function(t,e){return t>>>e|t<<32-e},e.rotl32=function(t,e){return t<<e|t>>>32-e},e.sum32=function(t,e){return t+e>>>0},e.sum32_3=function(t,e,n){return t+e+n>>>0},e.sum32_4=function(t,e,n,r){return t+e+n+r>>>0},e.sum32_5=function(t,e,n,r,i){return t+e+n+r+i>>>0},e.sum64=function(t,e,n,r){var i=t[e],o=r+t[e+1]>>>0,a=(o<r?1:0)+n+i;t[e]=a>>>0,t[e+1]=o},e.sum64_hi=function(t,e,n,r){return(e+r>>>0<e?1:0)+t+n>>>0},e.sum64_lo=function(t,e,n,r){return e+r>>>0},e.sum64_4_hi=function(t,e,n,r,i,o,a,s){var l=0,c=e;return l+=(c=c+r>>>0)<e?1:0,l+=(c=c+o>>>0)<o?1:0,t+n+i+a+(l+=(c=c+s>>>0)<s?1:0)>>>0},e.sum64_4_lo=function(t,e,n,r,i,o,a,s){return e+r+o+s>>>0},e.sum64_5_hi=function(t,e,n,r,i,o,a,s,l,c){var u=0,h=e;return u+=(h=h+r>>>0)<e?1:0,u+=(h=h+o>>>0)<o?1:0,u+=(h=h+s>>>0)<s?1:0,t+n+i+a+l+(u+=(h=h+c>>>0)<c?1:0)>>>0},e.sum64_5_lo=function(t,e,n,r,i,o,a,s,l,c){return e+r+o+s+c>>>0},e.rotr64_hi=function(t,e,n){return(e<<32-n|t>>>n)>>>0},e.rotr64_lo=function(t,e,n){return(t<<32-n|e>>>n)>>>0},e.shr64_hi=function(t,e,n){return t>>>n},e.shr64_lo=function(t,e,n){return(t<<32-n|e>>>n)>>>0}},2723:(t,e,n)=>{"use strict";var r=n(7952),i=n(4367),o=n(3349);function a(t){if(!(this instanceof a))return new a(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=i.toArray(t.entropy,t.entropyEnc||"hex"),n=i.toArray(t.nonce,t.nonceEnc||"hex"),r=i.toArray(t.pers,t.persEnc||"hex");o(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,n,r)}t.exports=a,a.prototype._init=function(t,e,n){var r=t.concat(e).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(r),this._reseed=1,this.reseedInterval=281474976710656},a.prototype._hmac=function(){return new r.hmac(this.hash,this.K)},a.prototype._update=function(t){var e=this._hmac().update(this.V).update([0]);t&&(e=e.update(t)),this.K=e.digest(),this.V=this._hmac().update(this.V).digest(),t&&(this.K=this._hmac().update(this.V).update([1]).update(t).digest(),this.V=this._hmac().update(this.V).digest())},a.prototype.reseed=function(t,e,n,r){"string"!=typeof e&&(r=n,n=e,e=null),t=i.toArray(t,e),n=i.toArray(n,r),o(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(n||[])),this._reseed=1},a.prototype.generate=function(t,e,n,r){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof e&&(r=n,n=e,e=null),n&&(n=i.toArray(n,r||"hex"),this._update(n));for(var o=[];o.length<t;)this.V=this._hmac().update(this.V).digest(),o=o.concat(this.V);var a=o.slice(0,t);return this._update(n),this._reseed++,i.encode(a,e)}},251:(t,e)=>{e.read=function(t,e,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,c=l>>1,u=-7,h=n?i-1:0,f=n?-1:1,d=t[e+h];for(h+=f,o=d&(1<<-u)-1,d>>=-u,u+=s;u>0;o=256*o+t[e+h],h+=f,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+t[e+h],h+=f,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),o-=c}return(d?-1:1)*a*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var a,s,l,c=8*o-i-1,u=(1<<c)-1,h=u>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=u):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),(e+=a+h>=1?f/l:f*Math.pow(2,1-h))*l>=2&&(a++,l/=2),a+h>=u?(s=0,a=u):a+h>=1?(s=(e*l-1)*Math.pow(2,i),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;t[n+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;t[n+d]=255&a,d+=p,a/=256,c-=8);t[n+d-p]|=128*m}},2647:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.detector=void 0;const r=n(5147),i=Object.keys(r.typeHandlers),o={56:"psd",66:"bmp",68:"dds",71:"gif",73:"tiff",77:"tiff",82:"webp",105:"icns",137:"png",255:"jpg"};e.detector=function(t){const e=t[0];if(e in o){const n=o[e];if(n&&r.typeHandlers[n].validate(t))return n}return i.find((e=>r.typeHandlers[e].validate(t)))}},5949:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.types=e.setConcurrency=e.disableTypes=e.disableFS=e.imageSize=void 0;const r=n(8306),i=n(7975),o=n(9792),a=n(5147),s=n(2647),l=524288,c=new o.default({concurrency:100,autostart:!0}),u={disabledFS:!1,disabledTypes:[]};function h(t,e){const n=(0,s.detector)(t);if(void 0!==n){if(u.disabledTypes.indexOf(n)>-1)throw new TypeError("disabled file type: "+n);if(n in a.typeHandlers){const r=a.typeHandlers[n].calculate(t,e);if(void 0!==r)return r.type=r.type??n,r}}throw new TypeError("unsupported file type: "+n+" (file: "+e+")")}function f(t,e){if(t instanceof Uint8Array)return h(t);if("string"!=typeof t||u.disabledFS)throw new TypeError("invalid invocation. input should be a Uint8Array");const n=i.resolve(t);if("function"!=typeof e){const t=function(t){const e=r.openSync(t,"r");try{const{size:t}=r.fstatSync(e);if(t<=0)throw new Error("Empty file");const n=Math.min(t,l),i=new Uint8Array(n);return r.readSync(e,i,0,n,0),i}finally{r.closeSync(e)}}(n);return h(t,n)}c.push((()=>async function(t){const e=await r.promises.open(t,"r");try{const{size:t}=await e.stat();if(t<=0)throw new Error("Empty file");const n=Math.min(t,l),r=new Uint8Array(n);return await e.read(r,0,n,0),r}finally{await e.close()}}(n).then((t=>({env:{}}.nextTick(e,null,h(t,n))))).catch(e)))}t.exports=e=f,e.default=f,e.imageSize=f,e.disableFS=t=>{u.disabledFS=t},e.disableTypes=t=>{u.disabledTypes=t},e.setConcurrency=t=>{c.concurrency=t},e.types=Object.keys(a.typeHandlers)},9648:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BMP=void 0;const r=n(8470);e.BMP={validate:t=>"BM"===(0,r.toUTF8String)(t,0,2),calculate:t=>({height:Math.abs((0,r.readInt32LE)(t,22)),width:(0,r.readUInt32LE)(t,18)})}},941:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CUR=void 0;const r=n(4270),i=n(8470);e.CUR={validate(t){const e=(0,i.readUInt16LE)(t,0),n=(0,i.readUInt16LE)(t,4);return 0===e&&0!==n&&2===(0,i.readUInt16LE)(t,2)},calculate:t=>r.ICO.calculate(t)}},7562:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DDS=void 0;const r=n(8470);e.DDS={validate:t=>542327876===(0,r.readUInt32LE)(t,0),calculate:t=>({height:(0,r.readUInt32LE)(t,12),width:(0,r.readUInt32LE)(t,16)})}},7857:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GIF=void 0;const r=n(8470),i=/^GIF8[79]a/;e.GIF={validate:t=>i.test((0,r.toUTF8String)(t,0,6)),calculate:t=>({height:(0,r.readUInt16LE)(t,8),width:(0,r.readUInt16LE)(t,6)})}},8259:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HEIF=void 0;const r=n(8470),i={avif:"avif",mif1:"heif",msf1:"heif",heic:"heic",heix:"heic",hevc:"heic",hevx:"heic"};e.HEIF={validate(t){const e=(0,r.toUTF8String)(t,4,8),n=(0,r.toUTF8String)(t,8,12);return"ftyp"===e&&n in i},calculate(t){const e=(0,r.findBox)(t,"meta",0),n=e&&(0,r.findBox)(t,"iprp",e.offset+12),i=n&&(0,r.findBox)(t,"ipco",n.offset+8),o=i&&(0,r.findBox)(t,"ispe",i.offset+8);if(o)return{height:(0,r.readUInt32BE)(t,o.offset+16),width:(0,r.readUInt32BE)(t,o.offset+12),type:(0,r.toUTF8String)(t,8,12)};throw new TypeError("Invalid HEIF, no size found")}}},4280:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ICNS=void 0;const r=n(8470),i={ICON:32,"ICN#":32,"icm#":16,icm4:16,icm8:16,"ics#":16,ics4:16,ics8:16,is32:16,s8mk:16,icp4:16,icl4:32,icl8:32,il32:32,l8mk:32,icp5:32,ic11:32,ich4:48,ich8:48,ih32:48,h8mk:48,icp6:64,ic12:32,it32:128,t8mk:128,ic07:128,ic08:256,ic13:256,ic09:512,ic14:512,ic10:1024};function o(t,e){const n=e+4;return[(0,r.toUTF8String)(t,e,n),(0,r.readUInt32BE)(t,n)]}function a(t){const e=i[t];return{width:e,height:e,type:t}}e.ICNS={validate:t=>"icns"===(0,r.toUTF8String)(t,0,4),calculate(t){const e=t.length,n=(0,r.readUInt32BE)(t,4);let i=8,s=o(t,i),l=a(s[0]);if(i+=s[1],i===n)return l;const c={height:l.height,images:[l],width:l.width};for(;i<n&&i<e;)s=o(t,i),l=a(s[0]),i+=s[1],c.images.push(l);return c}}},4270:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ICO=void 0;const r=n(8470);function i(t,e){const n=t[e];return 0===n?256:n}function o(t,e){const n=6+16*e;return{height:i(t,n+1),width:i(t,n)}}e.ICO={validate(t){const e=(0,r.readUInt16LE)(t,0),n=(0,r.readUInt16LE)(t,4);return 0===e&&0!==n&&1===(0,r.readUInt16LE)(t,2)},calculate(t){const e=(0,r.readUInt16LE)(t,4),n=o(t,0);if(1===e)return n;const i=[n];for(let n=1;n<e;n+=1)i.push(o(t,n));return{height:n.height,images:i,width:n.width}}}},5147:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.typeHandlers=void 0;const r=n(9648),i=n(941),o=n(7562),a=n(7857),s=n(8259),l=n(4280),c=n(4270),u=n(4262),h=n(3879),f=n(3068),d=n(4782),p=n(8628),m=n(54),g=n(3564),y=n(7961),w=n(239),b=n(6004),v=n(2093);e.typeHandlers={bmp:r.BMP,cur:i.CUR,dds:o.DDS,gif:a.GIF,heif:s.HEIF,icns:l.ICNS,ico:c.ICO,j2c:u.J2C,jp2:h.JP2,jpg:f.JPG,ktx:d.KTX,png:p.PNG,pnm:m.PNM,psd:g.PSD,svg:y.SVG,tga:w.TGA,tiff:b.TIFF,webp:v.WEBP}},4262:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.J2C=void 0;const r=n(8470);e.J2C={validate:t=>"ff4fff51"===(0,r.toHexString)(t,0,4),calculate:t=>({height:(0,r.readUInt32BE)(t,12),width:(0,r.readUInt32BE)(t,8)})}},3879:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.JP2=void 0;const r=n(8470);e.JP2={validate(t){if(1783636e3!==(0,r.readUInt32BE)(t,4)||(0,r.readUInt32BE)(t,0)<1)return!1;const e=(0,r.findBox)(t,"ftyp",0);return!!e&&1718909296===(0,r.readUInt32BE)(t,e.offset+4)},calculate(t){const e=(0,r.findBox)(t,"jp2h",0),n=e&&(0,r.findBox)(t,"ihdr",e.offset+8);if(n)return{height:(0,r.readUInt32BE)(t,n.offset+8),width:(0,r.readUInt32BE)(t,n.offset+12)};throw new TypeError("Unsupported JPEG 2000 format")}}},3068:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.JPG=void 0;const r=n(8470);function i(t){return"45786966"===(0,r.toHexString)(t,2,6)}function o(t,e){return{height:(0,r.readUInt16BE)(t,e),width:(0,r.readUInt16BE)(t,e+2)}}function a(t,e){const n=t.slice(2,e),i=(0,r.toHexString)(n,6,8),o="4d4d"===i;if(o||"4949"===i)return function(t,e){const n=(0,r.readUInt)(t,16,14,e);for(let i=0;i<n;i++){const n=16+12*i,o=n+12;if(n>t.length)return;const a=t.slice(n,o);if(274===(0,r.readUInt)(a,16,0,e)){if(3!==(0,r.readUInt)(a,16,2,e))return;if(1!==(0,r.readUInt)(a,32,4,e))return;return(0,r.readUInt)(a,16,8,e)}}}(n,o)}function s(t,e){if(e>t.length)throw new TypeError("Corrupt JPG, exceeded buffer limits")}e.JPG={validate:t=>"ffd8"===(0,r.toHexString)(t,0,2),calculate(t){let e,n;for(t=t.slice(4);t.length;){const l=(0,r.readUInt16BE)(t,0);if(255===t[l]){if(i(t)&&(e=a(t,l)),s(t,l),n=t[l+1],192===n||193===n||194===n){const n=o(t,l+5);return e?{height:n.height,orientation:e,width:n.width}:n}t=t.slice(l+2)}else t=t.slice(1)}throw new TypeError("Invalid JPG, no size found")}}},4782:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.KTX=void 0;const r=n(8470);e.KTX={validate:t=>{const e=(0,r.toUTF8String)(t,1,7);return["KTX 11","KTX 20"].includes(e)},calculate:t=>{const e=49===t[5]?"ktx":"ktx2",n="ktx"===e?36:20;return{height:(0,r.readUInt32LE)(t,n+4),width:(0,r.readUInt32LE)(t,n),type:e}}}},8628:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PNG=void 0;const r=n(8470),i="CgBI";e.PNG={validate(t){if("PNG\r\n\n"===(0,r.toUTF8String)(t,1,8)){let e=(0,r.toUTF8String)(t,12,16);if(e===i&&(e=(0,r.toUTF8String)(t,28,32)),"IHDR"!==e)throw new TypeError("Invalid PNG");return!0}return!1},calculate:t=>(0,r.toUTF8String)(t,12,16)===i?{height:(0,r.readUInt32BE)(t,36),width:(0,r.readUInt32BE)(t,32)}:{height:(0,r.readUInt32BE)(t,20),width:(0,r.readUInt32BE)(t,16)}}},54:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PNM=void 0;const r=n(8470),i={P1:"pbm/ascii",P2:"pgm/ascii",P3:"ppm/ascii",P4:"pbm",P5:"pgm",P6:"ppm",P7:"pam",PF:"pfm"},o={default:t=>{let e=[];for(;t.length>0;){const n=t.shift();if("#"!==n[0]){e=n.split(" ");break}}if(2===e.length)return{height:parseInt(e[1],10),width:parseInt(e[0],10)};throw new TypeError("Invalid PNM")},pam:t=>{const e={};for(;t.length>0;){const n=t.shift();if(n.length>16||n.charCodeAt(0)>128)continue;const[r,i]=n.split(" ");if(r&&i&&(e[r.toLowerCase()]=parseInt(i,10)),e.height&&e.width)break}if(e.height&&e.width)return{height:e.height,width:e.width};throw new TypeError("Invalid PAM")}};e.PNM={validate:t=>(0,r.toUTF8String)(t,0,2)in i,calculate(t){const e=(0,r.toUTF8String)(t,0,2),n=i[e],a=(0,r.toUTF8String)(t,3).split(/[\r\n]+/);return(o[n]||o.default)(a)}}},3564:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PSD=void 0;const r=n(8470);e.PSD={validate:t=>"8BPS"===(0,r.toUTF8String)(t,0,4),calculate:t=>({height:(0,r.readUInt32BE)(t,14),width:(0,r.readUInt32BE)(t,18)})}},7961:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SVG=void 0;const r=n(8470),i=/<svg\s([^>"']|"[^"]*"|'[^']*')*>/,o={height:/\sheight=(['"])([^%]+?)\1/,root:i,viewbox:/\sviewBox=(['"])(.+?)\1/i,width:/\swidth=(['"])([^%]+?)\1/},a=2.54,s={in:96,cm:96/a,em:16,ex:8,m:96/a*100,mm:96/a/10,pc:96/72/12,pt:96/72,px:1},l=new RegExp(`^([0-9.]+(?:e\\d+)?)(${Object.keys(s).join("|")})?$`);function c(t){const e=l.exec(t);if(e)return Math.round(Number(e[1])*(s[e[2]]||1))}function u(t){const e=t.split(" ");return{height:c(e[3]),width:c(e[2])}}e.SVG={validate:t=>i.test((0,r.toUTF8String)(t,0,1e3)),calculate(t){const e=(0,r.toUTF8String)(t).match(o.root);if(e){const t=function(t){const e=t.match(o.width),n=t.match(o.height),r=t.match(o.viewbox);return{height:n&&c(n[2]),viewbox:r&&u(r[2]),width:e&&c(e[2])}}(e[0]);if(t.width&&t.height)return function(t){return{height:t.height,width:t.width}}(t);if(t.viewbox)return function(t,e){const n=e.width/e.height;return t.width?{height:Math.floor(t.width/n),width:t.width}:t.height?{height:t.height,width:Math.floor(t.height*n)}:{height:e.height,width:e.width}}(t,t.viewbox)}throw new TypeError("Invalid SVG")}}},239:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TGA=void 0;const r=n(8470);e.TGA={validate:t=>0===(0,r.readUInt16LE)(t,0)&&0===(0,r.readUInt16LE)(t,4),calculate:t=>({height:(0,r.readUInt16LE)(t,14),width:(0,r.readUInt16LE)(t,12)})}},6004:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TIFF=void 0;const r=n(236),i=n(8470);function o(t,e){const n=(0,i.readUInt)(t,16,8,e);return((0,i.readUInt)(t,16,10,e)<<16)+n}function a(t){if(t.length>24)return t.slice(12)}const s=["49492a00","4d4d002a"];e.TIFF={validate:t=>s.includes((0,i.toHexString)(t,0,4)),calculate(t,e){if(!e)throw new TypeError("Tiff doesn't support buffer");const n="BE"===function(t){const e=(0,i.toUTF8String)(t,0,2);return"II"===e?"LE":"MM"===e?"BE":void 0}(t),s=function(t,e,n){const o=(0,i.readUInt)(t,32,4,n);let a=1024;const s=r.statSync(e).size;o+a>s&&(a=s-o-10);const l=new Uint8Array(a),c=r.openSync(e,"r");return r.readSync(c,l,0,a,o),r.closeSync(c),l.slice(2)}(t,e,n),l=function(t,e){const n={};let r=t;for(;r&&r.length;){const t=(0,i.readUInt)(r,16,0,e),s=(0,i.readUInt)(r,16,2,e),l=(0,i.readUInt)(r,32,4,e);if(0===t)break;1!==l||3!==s&&4!==s||(n[t]=o(r,e)),r=a(r)}return n}(s,n),c=l[256],u=l[257];if(!c||!u)throw new TypeError("Invalid Tiff. Missing tags");return{height:u,width:c}}}},8470:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findBox=e.readUInt=e.readUInt32LE=e.readUInt32BE=e.readInt32LE=e.readUInt24LE=e.readUInt16LE=e.readUInt16BE=e.readInt16LE=e.toHexString=e.toUTF8String=void 0;const n=new TextDecoder;e.toUTF8String=(t,e=0,r=t.length)=>n.decode(t.slice(e,r)),e.toHexString=(t,e=0,n=t.length)=>t.slice(e,n).reduce(((t,e)=>t+("0"+e.toString(16)).slice(-2)),""),e.readInt16LE=(t,e=0)=>{const n=t[e]+256*t[e+1];return n|131070*(32768&n)},e.readUInt16BE=(t,e=0)=>256*t[e]+t[e+1],e.readUInt16LE=(t,e=0)=>t[e]+256*t[e+1],e.readUInt24LE=(t,e=0)=>t[e]+256*t[e+1]+65536*t[e+2],e.readInt32LE=(t,e=0)=>t[e]+256*t[e+1]+65536*t[e+2]+(t[e+3]<<24),e.readUInt32BE=(t,e=0)=>t[e]*2**24+65536*t[e+1]+256*t[e+2]+t[e+3],e.readUInt32LE=(t,e=0)=>t[e]+256*t[e+1]+65536*t[e+2]+t[e+3]*2**24;const r={readUInt16BE:e.readUInt16BE,readUInt16LE:e.readUInt16LE,readUInt32BE:e.readUInt32BE,readUInt32LE:e.readUInt32LE};function i(t,n){if(t.length-n<4)return;const r=(0,e.readUInt32BE)(t,n);return t.length-n<r?void 0:{name:(0,e.toUTF8String)(t,4+n,8+n),offset:n,size:r}}e.readUInt=function(t,e,n,i){return n=n||0,r["readUInt"+e+(i?"BE":"LE")](t,n)},e.findBox=function(t,e,n){for(;n<t.length;){const r=i(t,n);if(!r)break;if(r.name===e)return r;n+=r.size}}},2093:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WEBP=void 0;const r=n(8470);e.WEBP={validate(t){const e="RIFF"===(0,r.toUTF8String)(t,0,4),n="WEBP"===(0,r.toUTF8String)(t,8,12),i="VP8"===(0,r.toUTF8String)(t,12,15);return e&&n&&i},calculate(t){const e=(0,r.toUTF8String)(t,12,16);if(t=t.slice(20,30),"VP8X"===e){const e=t[0];if(0==(192&e)&&0==(1&e))return function(t){return{height:1+(0,r.readUInt24LE)(t,7),width:1+(0,r.readUInt24LE)(t,4)}}(t);throw new TypeError("Invalid WebP")}if("VP8 "===e&&47!==t[0])return function(t){return{height:16383&(0,r.readInt16LE)(t,8),width:16383&(0,r.readInt16LE)(t,6)}}(t);const n=(0,r.toHexString)(t,3,6);if("VP8L"===e&&"9d012a"!==n)return function(t){return{height:1+((15&t[4])<<10|t[3]<<2|(192&t[2])>>6),width:1+((63&t[2])<<8|t[1])}}(t);throw new TypeError("Invalid WebP")}}},6698:t=>{"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},7079:(t,e,n)=>{t=n.nmd(t);var r="__lodash_hash_undefined__",i=1,o=2,a=1/0,s=9007199254740991,l="[object Arguments]",c="[object Array]",u="[object Boolean]",h="[object Date]",f="[object Error]",d="[object Function]",p="[object GeneratorFunction]",m="[object Map]",g="[object Number]",y="[object Object]",w="[object Promise]",b="[object RegExp]",v="[object Set]",E="[object String]",_="[object Symbol]",A="[object WeakMap]",M="[object ArrayBuffer]",T="[object DataView]",x="[object Float32Array]",S="[object Float64Array]",k="[object Int8Array]",C="[object Int16Array]",D="[object Int32Array]",I="[object Uint8Array]",R="[object Uint8ClampedArray]",N="[object Uint16Array]",O="[object Uint32Array]",L=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,P=/^\w*$/,F=/^\./,B=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,U=/\\(\\)?/g,j=/\w*$/,H=/^\[object .+?Constructor\]$/,z=/^(?:0|[1-9]\d*)$/,q={};q[x]=q[S]=q[k]=q[C]=q[D]=q[I]=q[R]=q[N]=q[O]=!0,q[l]=q[c]=q[M]=q[u]=q[T]=q[h]=q[f]=q[d]=q[m]=q[g]=q[y]=q[b]=q[v]=q[E]=q[A]=!1;var W={};W[l]=W[c]=W[M]=W[T]=W[u]=W[h]=W[x]=W[S]=W[k]=W[C]=W[D]=W[m]=W[g]=W[y]=W[b]=W[v]=W[E]=W[_]=W[I]=W[R]=W[N]=W[O]=!0,W[f]=W[d]=W[A]=!1;var G="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,K="object"==typeof self&&self&&self.Object===Object&&self,Y=G||K||Function("return this")(),V=e&&!e.nodeType&&e,X=V&&t&&!t.nodeType&&t,Z=X&&X.exports===V,$=Z&&G.process,Q=function(){try{return $&&$.binding("util")}catch(t){}}(),J=Q&&Q.isTypedArray;function tt(t,e){return t.set(e[0],e[1]),t}function et(t,e){return t.add(e),t}function nt(t,e,n,r){var i=-1,o=t?t.length:0;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function rt(t,e){for(var n=-1,r=t?t.length:0;++n<r;)if(e(t[n],n,t))return!0;return!1}function it(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function ot(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function at(t,e){return function(n){return t(e(n))}}function st(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var lt,ct=Array.prototype,ut=Function.prototype,ht=Object.prototype,ft=Y["__core-js_shared__"],dt=(lt=/[^.]+$/.exec(ft&&ft.keys&&ft.keys.IE_PROTO||""))?"Symbol(src)_1."+lt:"",pt=ut.toString,mt=ht.hasOwnProperty,gt=ht.toString,yt=RegExp("^"+pt.call(mt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),wt=Z?Y.Buffer:void 0,bt=Y.Symbol,vt=Y.Uint8Array,Et=at(Object.getPrototypeOf,Object),_t=Object.create,At=ht.propertyIsEnumerable,Mt=ct.splice,Tt=Object.getOwnPropertySymbols,xt=wt?wt.isBuffer:void 0,St=at(Object.keys,Object),kt=ie(Y,"DataView"),Ct=ie(Y,"Map"),Dt=ie(Y,"Promise"),It=ie(Y,"Set"),Rt=ie(Y,"WeakMap"),Nt=ie(Object,"create"),Ot=pe(kt),Lt=pe(Ct),Pt=pe(Dt),Ft=pe(It),Bt=pe(Rt),Ut=bt?bt.prototype:void 0,jt=Ut?Ut.valueOf:void 0,Ht=Ut?Ut.toString:void 0;function zt(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function qt(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Wt(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Gt(t){var e=-1,n=t?t.length:0;for(this.__data__=new Wt;++e<n;)this.add(t[e])}function Kt(t){this.__data__=new qt(t)}function Yt(t,e,n){var r=t[e];mt.call(t,e)&&ge(r,n)&&(void 0!==n||e in t)||(t[e]=n)}function Vt(t,e){for(var n=t.length;n--;)if(ge(t[n][0],e))return n;return-1}function Xt(t,e,n,r,i,o,a){var s;if(r&&(s=o?r(t,i,o,a):r(t)),void 0!==s)return s;if(!Ae(t))return t;var c=we(t);if(c){if(s=function(t){var e=t.length,n=t.constructor(e);return e&&"string"==typeof t[0]&&mt.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!e)return function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}(t,s)}else{var f=ae(t),w=f==d||f==p;if(ve(t))return function(t,e){if(e)return t.slice();var n=new t.constructor(t.length);return t.copy(n),n}(t,e);if(f==y||f==l||w&&!o){if(it(t))return o?t:{};if(s=function(t){return"function"!=typeof t.constructor||ce(t)?{}:Ae(e=Et(t))?_t(e):{};var e}(w?{}:t),!e)return function(t,e){return ee(t,oe(t),e)}(t,function(t,e){return t&&ee(e,ke(e),t)}(s,t))}else{if(!W[f])return o?t:{};s=function(t,e,n,r){var i,o=t.constructor;switch(e){case M:return te(t);case u:case h:return new o(+t);case T:return function(t,e){var n=e?te(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,r);case x:case S:case k:case C:case D:case I:case R:case N:case O:return function(t,e){var n=e?te(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}(t,r);case m:return function(t,e,n){return nt(e?n(ot(t),!0):ot(t),tt,new t.constructor)}(t,r,n);case g:case E:return new o(t);case b:return function(t){var e=new t.constructor(t.source,j.exec(t));return e.lastIndex=t.lastIndex,e}(t);case v:return function(t,e,n){return nt(e?n(st(t),!0):st(t),et,new t.constructor)}(t,r,n);case _:return i=t,jt?Object(jt.call(i)):{}}}(t,f,Xt,e)}}a||(a=new Kt);var A=a.get(t);if(A)return A;if(a.set(t,s),!c)var L=n?function(t){return function(t,e,n){var r=e(t);return we(t)?r:function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}(r,n(t))}(t,ke,oe)}(t):ke(t);return function(t,e){for(var n=-1,r=t?t.length:0;++n<r&&!1!==e(t[n],n););}(L||t,(function(i,o){L&&(i=t[o=i]),Yt(s,o,Xt(i,e,n,r,o,t,a))})),s}function Zt(t,e){for(var n=0,r=(e=le(e,t)?[e]:Jt(e)).length;null!=t&&n<r;)t=t[de(e[n++])];return n&&n==r?t:void 0}function $t(t,e){return null!=t&&e in Object(t)}function Qt(t,e,n,r,a){return t===e||(null==t||null==e||!Ae(t)&&!Me(e)?t!=t&&e!=e:function(t,e,n,r,a,s){var d=we(t),p=we(e),w=c,A=c;d||(w=(w=ae(t))==l?y:w),p||(A=(A=ae(e))==l?y:A);var x=w==y&&!it(t),S=A==y&&!it(e),k=w==A;if(k&&!x)return s||(s=new Kt),d||Se(t)?ne(t,e,n,r,a,s):function(t,e,n,r,a,s,l){switch(n){case T:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case M:return!(t.byteLength!=e.byteLength||!r(new vt(t),new vt(e)));case u:case h:case g:return ge(+t,+e);case f:return t.name==e.name&&t.message==e.message;case b:case E:return t==e+"";case m:var c=ot;case v:var d=s&o;if(c||(c=st),t.size!=e.size&&!d)return!1;var p=l.get(t);if(p)return p==e;s|=i,l.set(t,e);var y=ne(c(t),c(e),r,a,s,l);return l.delete(t),y;case _:if(jt)return jt.call(t)==jt.call(e)}return!1}(t,e,w,n,r,a,s);if(!(a&o)){var C=x&&mt.call(t,"__wrapped__"),D=S&&mt.call(e,"__wrapped__");if(C||D){var I=C?t.value():t,R=D?e.value():e;return s||(s=new Kt),n(I,R,r,a,s)}}return!!k&&(s||(s=new Kt),function(t,e,n,r,i,a){var s=i&o,l=ke(t),c=l.length;if(c!=ke(e).length&&!s)return!1;for(var u=c;u--;){var h=l[u];if(!(s?h in e:mt.call(e,h)))return!1}var f=a.get(t);if(f&&a.get(e))return f==e;var d=!0;a.set(t,e),a.set(e,t);for(var p=s;++u<c;){var m=t[h=l[u]],g=e[h];if(r)var y=s?r(g,m,h,e,t,a):r(m,g,h,t,e,a);if(!(void 0===y?m===g||n(m,g,r,i,a):y)){d=!1;break}p||(p="constructor"==h)}if(d&&!p){var w=t.constructor,b=e.constructor;w==b||!("constructor"in t)||!("constructor"in e)||"function"==typeof w&&w instanceof w&&"function"==typeof b&&b instanceof b||(d=!1)}return a.delete(t),a.delete(e),d}(t,e,n,r,a,s))}(t,e,Qt,n,r,a))}function Jt(t){return we(t)?t:fe(t)}function te(t){var e=new t.constructor(t.byteLength);return new vt(e).set(new vt(t)),e}function ee(t,e,n,r){n||(n={});for(var i=-1,o=e.length;++i<o;){var a=e[i],s=r?r(n[a],t[a],a,n,t):void 0;Yt(n,a,void 0===s?t[a]:s)}return n}function ne(t,e,n,r,a,s){var l=a&o,c=t.length,u=e.length;if(c!=u&&!(l&&u>c))return!1;var h=s.get(t);if(h&&s.get(e))return h==e;var f=-1,d=!0,p=a&i?new Gt:void 0;for(s.set(t,e),s.set(e,t);++f<c;){var m=t[f],g=e[f];if(r)var y=l?r(g,m,f,e,t,s):r(m,g,f,t,e,s);if(void 0!==y){if(y)continue;d=!1;break}if(p){if(!rt(e,(function(t,e){if(!p.has(e)&&(m===t||n(m,t,r,a,s)))return p.add(e)}))){d=!1;break}}else if(m!==g&&!n(m,g,r,a,s)){d=!1;break}}return s.delete(t),s.delete(e),d}function re(t,e){var n,r,i=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function ie(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return function(t){return!(!Ae(t)||(e=t,dt&&dt in e))&&(Ee(t)||it(t)?yt:H).test(pe(t));var e}(n)?n:void 0}zt.prototype.clear=function(){this.__data__=Nt?Nt(null):{}},zt.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},zt.prototype.get=function(t){var e=this.__data__;if(Nt){var n=e[t];return n===r?void 0:n}return mt.call(e,t)?e[t]:void 0},zt.prototype.has=function(t){var e=this.__data__;return Nt?void 0!==e[t]:mt.call(e,t)},zt.prototype.set=function(t,e){return this.__data__[t]=Nt&&void 0===e?r:e,this},qt.prototype.clear=function(){this.__data__=[]},qt.prototype.delete=function(t){var e=this.__data__,n=Vt(e,t);return!(n<0||(n==e.length-1?e.pop():Mt.call(e,n,1),0))},qt.prototype.get=function(t){var e=this.__data__,n=Vt(e,t);return n<0?void 0:e[n][1]},qt.prototype.has=function(t){return Vt(this.__data__,t)>-1},qt.prototype.set=function(t,e){var n=this.__data__,r=Vt(n,t);return r<0?n.push([t,e]):n[r][1]=e,this},Wt.prototype.clear=function(){this.__data__={hash:new zt,map:new(Ct||qt),string:new zt}},Wt.prototype.delete=function(t){return re(this,t).delete(t)},Wt.prototype.get=function(t){return re(this,t).get(t)},Wt.prototype.has=function(t){return re(this,t).has(t)},Wt.prototype.set=function(t,e){return re(this,t).set(t,e),this},Gt.prototype.add=Gt.prototype.push=function(t){return this.__data__.set(t,r),this},Gt.prototype.has=function(t){return this.__data__.has(t)},Kt.prototype.clear=function(){this.__data__=new qt},Kt.prototype.delete=function(t){return this.__data__.delete(t)},Kt.prototype.get=function(t){return this.__data__.get(t)},Kt.prototype.has=function(t){return this.__data__.has(t)},Kt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof qt){var r=n.__data__;if(!Ct||r.length<199)return r.push([t,e]),this;n=this.__data__=new Wt(r)}return n.set(t,e),this};var oe=Tt?at(Tt,Object):function(){return[]},ae=function(t){return gt.call(t)};function se(t,e){return!!(e=null==e?s:e)&&("number"==typeof t||z.test(t))&&t>-1&&t%1==0&&t<e}function le(t,e){if(we(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Te(t))||P.test(t)||!L.test(t)||null!=e&&t in Object(e)}function ce(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||ht)}function ue(t){return t==t&&!Ae(t)}function he(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}(kt&&ae(new kt(new ArrayBuffer(1)))!=T||Ct&&ae(new Ct)!=m||Dt&&ae(Dt.resolve())!=w||It&&ae(new It)!=v||Rt&&ae(new Rt)!=A)&&(ae=function(t){var e=gt.call(t),n=e==y?t.constructor:void 0,r=n?pe(n):void 0;if(r)switch(r){case Ot:return T;case Lt:return m;case Pt:return w;case Ft:return v;case Bt:return A}return e});var fe=me((function(t){var e;t=null==(e=t)?"":function(t){if("string"==typeof t)return t;if(Te(t))return Ht?Ht.call(t):"";var e=t+"";return"0"==e&&1/t==-a?"-0":e}(e);var n=[];return F.test(t)&&n.push(""),t.replace(B,(function(t,e,r,i){n.push(r?i.replace(U,"$1"):e||t)})),n}));function de(t){if("string"==typeof t||Te(t))return t;var e=t+"";return"0"==e&&1/t==-a?"-0":e}function pe(t){if(null!=t){try{return pt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function me(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(me.Cache||Wt),n}function ge(t,e){return t===e||t!=t&&e!=e}function ye(t){return function(t){return Me(t)&&be(t)}(t)&&mt.call(t,"callee")&&(!At.call(t,"callee")||gt.call(t)==l)}me.Cache=Wt;var we=Array.isArray;function be(t){return null!=t&&_e(t.length)&&!Ee(t)}var ve=xt||function(){return!1};function Ee(t){var e=Ae(t)?gt.call(t):"";return e==d||e==p}function _e(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=s}function Ae(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Me(t){return!!t&&"object"==typeof t}function Te(t){return"symbol"==typeof t||Me(t)&&gt.call(t)==_}var xe,Se=J?(xe=J,function(t){return xe(t)}):function(t){return Me(t)&&_e(t.length)&&!!q[gt.call(t)]};function ke(t){return be(t)?function(t,e){var n=we(t)||ye(t)?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],r=n.length,i=!!r;for(var o in t)!e&&!mt.call(t,o)||i&&("length"==o||se(o,r))||n.push(o);return n}(t):function(t){if(!ce(t))return St(t);var e=[];for(var n in Object(t))mt.call(t,n)&&"constructor"!=n&&e.push(n);return e}(t)}function Ce(t){return t}t.exports=function(t){return"function"==typeof(e="function"==typeof t?t:Xt(t,!0))?e:null==e?Ce:"object"==typeof e?we(e)?(a=e[0],s=e[1],le(a)&&ue(s)?he(de(a),s):function(t){var e=function(t,e,n){var r=null==t?void 0:Zt(t,e);return void 0===r?void 0:r}(t,a);return void 0===e&&e===s?function(t,e){return null!=t&&function(t,e,n){for(var r,i=-1,o=(e=le(e,t)?[e]:Jt(e)).length;++i<o;){var a=de(e[i]);if(!(r=null!=t&&n(t,a)))break;t=t[a]}return r||!!(o=t?t.length:0)&&_e(o)&&se(a,o)&&(we(t)||ye(t))}(t,e,$t)}(t,a):Qt(s,e,void 0,i|o)}):1==(r=function(t){for(var e=ke(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,ue(i)]}return e}(n=e)).length&&r[0][2]?he(r[0][0],r[0][1]):function(t){return t===n||function(t,e,n,r){var a=n.length,s=a;if(null==t)return!s;for(t=Object(t);a--;){var l=n[a];if(l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++a<s;){var c=(l=n[a])[0],u=t[c],h=l[1];if(l[2]){if(void 0===u&&!(c in t))return!1}else{var f,d=new Kt;if(!(void 0===f?Qt(h,u,r,i|o,d):f))return!1}}return!0}(t,0,r)}:function(t){return le(t)?(e=de(t),function(t){return null==t?void 0:t[e]}):function(t){return function(e){return Zt(e,t)}}(t);var e}(e);var e,n,r,a,s}},8276:(t,e,n)=>{"use strict";var r=n(6698),i=n(4729),o=n(2861).Buffer,a=new Array(16);function s(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function l(t,e){return t<<e|t>>>32-e}function c(t,e,n,r,i,o,a){return l(t+(e&n|~e&r)+i+o|0,a)+e|0}function u(t,e,n,r,i,o,a){return l(t+(e&r|n&~r)+i+o|0,a)+e|0}function h(t,e,n,r,i,o,a){return l(t+(e^n^r)+i+o|0,a)+e|0}function f(t,e,n,r,i,o,a){return l(t+(n^(e|~r))+i+o|0,a)+e|0}r(s,i),s.prototype._update=function(){for(var t=a,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);var n=this._a,r=this._b,i=this._c,o=this._d;n=c(n,r,i,o,t[0],3614090360,7),o=c(o,n,r,i,t[1],3905402710,12),i=c(i,o,n,r,t[2],606105819,17),r=c(r,i,o,n,t[3],3250441966,22),n=c(n,r,i,o,t[4],4118548399,7),o=c(o,n,r,i,t[5],1200080426,12),i=c(i,o,n,r,t[6],2821735955,17),r=c(r,i,o,n,t[7],4249261313,22),n=c(n,r,i,o,t[8],1770035416,7),o=c(o,n,r,i,t[9],2336552879,12),i=c(i,o,n,r,t[10],4294925233,17),r=c(r,i,o,n,t[11],2304563134,22),n=c(n,r,i,o,t[12],1804603682,7),o=c(o,n,r,i,t[13],4254626195,12),i=c(i,o,n,r,t[14],2792965006,17),n=u(n,r=c(r,i,o,n,t[15],1236535329,22),i,o,t[1],4129170786,5),o=u(o,n,r,i,t[6],3225465664,9),i=u(i,o,n,r,t[11],643717713,14),r=u(r,i,o,n,t[0],3921069994,20),n=u(n,r,i,o,t[5],3593408605,5),o=u(o,n,r,i,t[10],38016083,9),i=u(i,o,n,r,t[15],3634488961,14),r=u(r,i,o,n,t[4],3889429448,20),n=u(n,r,i,o,t[9],568446438,5),o=u(o,n,r,i,t[14],3275163606,9),i=u(i,o,n,r,t[3],4107603335,14),r=u(r,i,o,n,t[8],1163531501,20),n=u(n,r,i,o,t[13],2850285829,5),o=u(o,n,r,i,t[2],4243563512,9),i=u(i,o,n,r,t[7],1735328473,14),n=h(n,r=u(r,i,o,n,t[12],2368359562,20),i,o,t[5],4294588738,4),o=h(o,n,r,i,t[8],2272392833,11),i=h(i,o,n,r,t[11],1839030562,16),r=h(r,i,o,n,t[14],4259657740,23),n=h(n,r,i,o,t[1],2763975236,4),o=h(o,n,r,i,t[4],1272893353,11),i=h(i,o,n,r,t[7],4139469664,16),r=h(r,i,o,n,t[10],3200236656,23),n=h(n,r,i,o,t[13],681279174,4),o=h(o,n,r,i,t[0],3936430074,11),i=h(i,o,n,r,t[3],3572445317,16),r=h(r,i,o,n,t[6],76029189,23),n=h(n,r,i,o,t[9],3654602809,4),o=h(o,n,r,i,t[12],3873151461,11),i=h(i,o,n,r,t[15],530742520,16),n=f(n,r=h(r,i,o,n,t[2],3299628645,23),i,o,t[0],4096336452,6),o=f(o,n,r,i,t[7],1126891415,10),i=f(i,o,n,r,t[14],2878612391,15),r=f(r,i,o,n,t[5],4237533241,21),n=f(n,r,i,o,t[12],1700485571,6),o=f(o,n,r,i,t[3],2399980690,10),i=f(i,o,n,r,t[10],4293915773,15),r=f(r,i,o,n,t[1],2240044497,21),n=f(n,r,i,o,t[8],1873313359,6),o=f(o,n,r,i,t[15],4264355552,10),i=f(i,o,n,r,t[6],2734768916,15),r=f(r,i,o,n,t[13],1309151649,21),n=f(n,r,i,o,t[4],4149444226,6),o=f(o,n,r,i,t[11],3174756917,10),i=f(i,o,n,r,t[2],718787259,15),r=f(r,i,o,n,t[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+r|0,this._c=this._c+i|0,this._d=this._d+o|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=o.allocUnsafe(16);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t},t.exports=s},2244:(t,e,n)=>{var r=n(1158),i=n(5037);function o(t){this.rand=t||new i.Rand}t.exports=o,o.create=function(t){return new o(t)},o.prototype._randbelow=function(t){var e=t.bitLength(),n=Math.ceil(e/8);do{var i=new r(this.rand.generate(n))}while(i.cmp(t)>=0);return i},o.prototype._randrange=function(t,e){var n=e.sub(t);return t.add(this._randbelow(n))},o.prototype.test=function(t,e,n){var i=t.bitLength(),o=r.mont(t),a=new r(1).toRed(o);e||(e=Math.max(1,i/48|0));for(var s=t.subn(1),l=0;!s.testn(l);l++);for(var c=t.shrn(l),u=s.toRed(o);e>0;e--){var h=this._randrange(new r(2),s);n&&n(h);var f=h.toRed(o).redPow(c);if(0!==f.cmp(a)&&0!==f.cmp(u)){for(var d=1;d<l;d++){if(0===(f=f.redSqr()).cmp(a))return!1;if(0===f.cmp(u))break}if(d===l)return!1}}return!0},o.prototype.getDivisor=function(t,e){var n=t.bitLength(),i=r.mont(t),o=new r(1).toRed(i);e||(e=Math.max(1,n/48|0));for(var a=t.subn(1),s=0;!a.testn(s);s++);for(var l=t.shrn(s),c=a.toRed(i);e>0;e--){var u=this._randrange(new r(2),a),h=t.gcd(u);if(0!==h.cmpn(1))return h;var f=u.toRed(i).redPow(l);if(0!==f.cmp(o)&&0!==f.cmp(c)){for(var d=1;d<s;d++){if(0===(f=f.redSqr()).cmp(o))return f.fromRed().subn(1).gcd(t);if(0===f.cmp(c))break}if(d===s)return(f=f.redSqr()).fromRed().subn(1).gcd(t)}}return!1}},1158:function(t,e,n){!function(t,e){"use strict";function r(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var a;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:n(4688).Buffer}catch(t){}function s(t,e){var n=t.charCodeAt(e);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function l(t,e,n){var r=s(t,n);return n-1>=e&&(r|=s(t,n-1)<<4),r}function c(t,e,n,r){for(var i=0,o=Math.min(t.length,n),a=e;a<o;a++){var s=t.charCodeAt(a)-48;i*=r,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"==typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,n){if("number"==typeof t)return this._initNumber(t,e,n);if("object"==typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),r(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,n):(this._parseBase(t,e,i),"le"===n&&this._initArray(this.toArray(),e,n)))},o.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(r(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initArray=function(t,e,n){if(r("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===n)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,n){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,o=0,a=0;if("be"===n)for(r=t.length-1;r>=e;r-=2)i=l(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(t.length-e)%2==0?e+1:e;r<t.length;r+=2)i=l(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,u=n;u<s;u+=r)l=c(t,u,u+r,e),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==a){var h=1;for(l=c(t,u,t.length,e),u=0;u<a;u++)h*=e;this.imuln(h),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&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},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var u=["","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"],h=[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],f=[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 d(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,l=a/67108864|0;n.words[0]=s;for(var c=1;c<r;c++){for(var u=l>>>26,h=67108863&l,f=Math.min(c,e.length-1),d=Math.max(0,c-t.length+1);d<=f;d++){var p=c-d|0;u+=(a=(i=0|t.words[p])*(o=0|e.words[d])+h)/67108864|0,h=67108863&a}n.words[c]=0|h,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n.strip()}o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],l=(16777215&(s<<i|o)).toString(16);n=0!=(o=s>>>24-i&16777215)||a!==this.length-1?u[6-l.length]+l+n:l+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.toString(16)+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var c=h[t],d=f[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(d).toString(t);n=(p=p.idivn(d)).isZero()?m+n:u[c-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return r(void 0!==a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,l="le"===e,c=new t(o),u=this.clone();if(l){for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),c[s]=a;for(;s<o;s++)c[s]=0}else{for(s=0;s<o-i;s++)c[s]=0;for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),c[o-s-1]=a}return c},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,n=0;return e>=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var n=this._zeroBits(this.words[e]);if(t+=n,26!==n)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return r(0==(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;n<e.length;n++)this.words[n]=this.words[n]&t.words[n];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return r(0==(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;r<n.length;r++)this.words[r]=e.words[r]^n.words[r];if(this!==e)for(;r<e.length;r++)this.words[r]=e.words[r];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return r(0==(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){r("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"==typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,n,r;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o<r.length;o++)e=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<n.length;o++)e=(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a<r.length;a++)o=(e=(0|n.words[a])-(0|r.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<n.length;a++)o=(e=(0|n.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<n.length&&n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this.length=Math.max(this.length,a),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var p=function(t,e,n){var r,i,o,a=t.words,s=e.words,l=n.words,c=0,u=0|a[0],h=8191&u,f=u>>>13,d=0|a[1],p=8191&d,m=d>>>13,g=0|a[2],y=8191&g,w=g>>>13,b=0|a[3],v=8191&b,E=b>>>13,_=0|a[4],A=8191&_,M=_>>>13,T=0|a[5],x=8191&T,S=T>>>13,k=0|a[6],C=8191&k,D=k>>>13,I=0|a[7],R=8191&I,N=I>>>13,O=0|a[8],L=8191&O,P=O>>>13,F=0|a[9],B=8191&F,U=F>>>13,j=0|s[0],H=8191&j,z=j>>>13,q=0|s[1],W=8191&q,G=q>>>13,K=0|s[2],Y=8191&K,V=K>>>13,X=0|s[3],Z=8191&X,$=X>>>13,Q=0|s[4],J=8191&Q,tt=Q>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],lt=8191&st,ct=st>>>13,ut=0|s[8],ht=8191&ut,ft=ut>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;n.negative=t.negative^e.negative,n.length=19;var gt=(c+(r=Math.imul(h,H))|0)+((8191&(i=(i=Math.imul(h,z))+Math.imul(f,H)|0))<<13)|0;c=((o=Math.imul(f,z))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,r=Math.imul(p,H),i=(i=Math.imul(p,z))+Math.imul(m,H)|0,o=Math.imul(m,z);var yt=(c+(r=r+Math.imul(h,W)|0)|0)+((8191&(i=(i=i+Math.imul(h,G)|0)+Math.imul(f,W)|0))<<13)|0;c=((o=o+Math.imul(f,G)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(y,H),i=(i=Math.imul(y,z))+Math.imul(w,H)|0,o=Math.imul(w,z),r=r+Math.imul(p,W)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(m,W)|0,o=o+Math.imul(m,G)|0;var wt=(c+(r=r+Math.imul(h,Y)|0)|0)+((8191&(i=(i=i+Math.imul(h,V)|0)+Math.imul(f,Y)|0))<<13)|0;c=((o=o+Math.imul(f,V)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(v,H),i=(i=Math.imul(v,z))+Math.imul(E,H)|0,o=Math.imul(E,z),r=r+Math.imul(y,W)|0,i=(i=i+Math.imul(y,G)|0)+Math.imul(w,W)|0,o=o+Math.imul(w,G)|0,r=r+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,V)|0;var bt=(c+(r=r+Math.imul(h,Z)|0)|0)+((8191&(i=(i=i+Math.imul(h,$)|0)+Math.imul(f,Z)|0))<<13)|0;c=((o=o+Math.imul(f,$)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(A,H),i=(i=Math.imul(A,z))+Math.imul(M,H)|0,o=Math.imul(M,z),r=r+Math.imul(v,W)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(E,W)|0,o=o+Math.imul(E,G)|0,r=r+Math.imul(y,Y)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(w,Y)|0,o=o+Math.imul(w,V)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,$)|0)+Math.imul(m,Z)|0,o=o+Math.imul(m,$)|0;var vt=(c+(r=r+Math.imul(h,J)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(f,J)|0))<<13)|0;c=((o=o+Math.imul(f,tt)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(x,H),i=(i=Math.imul(x,z))+Math.imul(S,H)|0,o=Math.imul(S,z),r=r+Math.imul(A,W)|0,i=(i=i+Math.imul(A,G)|0)+Math.imul(M,W)|0,o=o+Math.imul(M,G)|0,r=r+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(E,Y)|0,o=o+Math.imul(E,V)|0,r=r+Math.imul(y,Z)|0,i=(i=i+Math.imul(y,$)|0)+Math.imul(w,Z)|0,o=o+Math.imul(w,$)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,J)|0,o=o+Math.imul(m,tt)|0;var Et=(c+(r=r+Math.imul(h,nt)|0)|0)+((8191&(i=(i=i+Math.imul(h,rt)|0)+Math.imul(f,nt)|0))<<13)|0;c=((o=o+Math.imul(f,rt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(C,H),i=(i=Math.imul(C,z))+Math.imul(D,H)|0,o=Math.imul(D,z),r=r+Math.imul(x,W)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(S,W)|0,o=o+Math.imul(S,G)|0,r=r+Math.imul(A,Y)|0,i=(i=i+Math.imul(A,V)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(v,Z)|0,i=(i=i+Math.imul(v,$)|0)+Math.imul(E,Z)|0,o=o+Math.imul(E,$)|0,r=r+Math.imul(y,J)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(m,nt)|0,o=o+Math.imul(m,rt)|0;var _t=(c+(r=r+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(f,ot)|0))<<13)|0;c=((o=o+Math.imul(f,at)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(R,H),i=(i=Math.imul(R,z))+Math.imul(N,H)|0,o=Math.imul(N,z),r=r+Math.imul(C,W)|0,i=(i=i+Math.imul(C,G)|0)+Math.imul(D,W)|0,o=o+Math.imul(D,G)|0,r=r+Math.imul(x,Y)|0,i=(i=i+Math.imul(x,V)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,V)|0,r=r+Math.imul(A,Z)|0,i=(i=i+Math.imul(A,$)|0)+Math.imul(M,Z)|0,o=o+Math.imul(M,$)|0,r=r+Math.imul(v,J)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(E,J)|0,o=o+Math.imul(E,tt)|0,r=r+Math.imul(y,nt)|0,i=(i=i+Math.imul(y,rt)|0)+Math.imul(w,nt)|0,o=o+Math.imul(w,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var At=(c+(r=r+Math.imul(h,lt)|0)|0)+((8191&(i=(i=i+Math.imul(h,ct)|0)+Math.imul(f,lt)|0))<<13)|0;c=((o=o+Math.imul(f,ct)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(L,H),i=(i=Math.imul(L,z))+Math.imul(P,H)|0,o=Math.imul(P,z),r=r+Math.imul(R,W)|0,i=(i=i+Math.imul(R,G)|0)+Math.imul(N,W)|0,o=o+Math.imul(N,G)|0,r=r+Math.imul(C,Y)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(x,Z)|0,i=(i=i+Math.imul(x,$)|0)+Math.imul(S,Z)|0,o=o+Math.imul(S,$)|0,r=r+Math.imul(A,J)|0,i=(i=i+Math.imul(A,tt)|0)+Math.imul(M,J)|0,o=o+Math.imul(M,tt)|0,r=r+Math.imul(v,nt)|0,i=(i=i+Math.imul(v,rt)|0)+Math.imul(E,nt)|0,o=o+Math.imul(E,rt)|0,r=r+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,r=r+Math.imul(p,lt)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(m,lt)|0,o=o+Math.imul(m,ct)|0;var Mt=(c+(r=r+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,ft)|0)+Math.imul(f,ht)|0))<<13)|0;c=((o=o+Math.imul(f,ft)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(B,H),i=(i=Math.imul(B,z))+Math.imul(U,H)|0,o=Math.imul(U,z),r=r+Math.imul(L,W)|0,i=(i=i+Math.imul(L,G)|0)+Math.imul(P,W)|0,o=o+Math.imul(P,G)|0,r=r+Math.imul(R,Y)|0,i=(i=i+Math.imul(R,V)|0)+Math.imul(N,Y)|0,o=o+Math.imul(N,V)|0,r=r+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,$)|0)+Math.imul(D,Z)|0,o=o+Math.imul(D,$)|0,r=r+Math.imul(x,J)|0,i=(i=i+Math.imul(x,tt)|0)+Math.imul(S,J)|0,o=o+Math.imul(S,tt)|0,r=r+Math.imul(A,nt)|0,i=(i=i+Math.imul(A,rt)|0)+Math.imul(M,nt)|0,o=o+Math.imul(M,rt)|0,r=r+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(E,ot)|0,o=o+Math.imul(E,at)|0,r=r+Math.imul(y,lt)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(w,lt)|0,o=o+Math.imul(w,ct)|0,r=r+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,ft)|0)+Math.imul(m,ht)|0,o=o+Math.imul(m,ft)|0;var Tt=(c+(r=r+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,mt)|0)+Math.imul(f,pt)|0))<<13)|0;c=((o=o+Math.imul(f,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(B,W),i=(i=Math.imul(B,G))+Math.imul(U,W)|0,o=Math.imul(U,G),r=r+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(P,Y)|0,o=o+Math.imul(P,V)|0,r=r+Math.imul(R,Z)|0,i=(i=i+Math.imul(R,$)|0)+Math.imul(N,Z)|0,o=o+Math.imul(N,$)|0,r=r+Math.imul(C,J)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(D,J)|0,o=o+Math.imul(D,tt)|0,r=r+Math.imul(x,nt)|0,i=(i=i+Math.imul(x,rt)|0)+Math.imul(S,nt)|0,o=o+Math.imul(S,rt)|0,r=r+Math.imul(A,ot)|0,i=(i=i+Math.imul(A,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,r=r+Math.imul(v,lt)|0,i=(i=i+Math.imul(v,ct)|0)+Math.imul(E,lt)|0,o=o+Math.imul(E,ct)|0,r=r+Math.imul(y,ht)|0,i=(i=i+Math.imul(y,ft)|0)+Math.imul(w,ht)|0,o=o+Math.imul(w,ft)|0;var xt=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(B,Y),i=(i=Math.imul(B,V))+Math.imul(U,Y)|0,o=Math.imul(U,V),r=r+Math.imul(L,Z)|0,i=(i=i+Math.imul(L,$)|0)+Math.imul(P,Z)|0,o=o+Math.imul(P,$)|0,r=r+Math.imul(R,J)|0,i=(i=i+Math.imul(R,tt)|0)+Math.imul(N,J)|0,o=o+Math.imul(N,tt)|0,r=r+Math.imul(C,nt)|0,i=(i=i+Math.imul(C,rt)|0)+Math.imul(D,nt)|0,o=o+Math.imul(D,rt)|0,r=r+Math.imul(x,ot)|0,i=(i=i+Math.imul(x,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,r=r+Math.imul(A,lt)|0,i=(i=i+Math.imul(A,ct)|0)+Math.imul(M,lt)|0,o=o+Math.imul(M,ct)|0,r=r+Math.imul(v,ht)|0,i=(i=i+Math.imul(v,ft)|0)+Math.imul(E,ht)|0,o=o+Math.imul(E,ft)|0;var St=(c+(r=r+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,mt)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,mt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(B,Z),i=(i=Math.imul(B,$))+Math.imul(U,Z)|0,o=Math.imul(U,$),r=r+Math.imul(L,J)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(P,J)|0,o=o+Math.imul(P,tt)|0,r=r+Math.imul(R,nt)|0,i=(i=i+Math.imul(R,rt)|0)+Math.imul(N,nt)|0,o=o+Math.imul(N,rt)|0,r=r+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,r=r+Math.imul(x,lt)|0,i=(i=i+Math.imul(x,ct)|0)+Math.imul(S,lt)|0,o=o+Math.imul(S,ct)|0,r=r+Math.imul(A,ht)|0,i=(i=i+Math.imul(A,ft)|0)+Math.imul(M,ht)|0,o=o+Math.imul(M,ft)|0;var kt=(c+(r=r+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(E,pt)|0))<<13)|0;c=((o=o+Math.imul(E,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(B,J),i=(i=Math.imul(B,tt))+Math.imul(U,J)|0,o=Math.imul(U,tt),r=r+Math.imul(L,nt)|0,i=(i=i+Math.imul(L,rt)|0)+Math.imul(P,nt)|0,o=o+Math.imul(P,rt)|0,r=r+Math.imul(R,ot)|0,i=(i=i+Math.imul(R,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,r=r+Math.imul(C,lt)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(D,lt)|0,o=o+Math.imul(D,ct)|0,r=r+Math.imul(x,ht)|0,i=(i=i+Math.imul(x,ft)|0)+Math.imul(S,ht)|0,o=o+Math.imul(S,ft)|0;var Ct=(c+(r=r+Math.imul(A,pt)|0)|0)+((8191&(i=(i=i+Math.imul(A,mt)|0)+Math.imul(M,pt)|0))<<13)|0;c=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(B,nt),i=(i=Math.imul(B,rt))+Math.imul(U,nt)|0,o=Math.imul(U,rt),r=r+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(P,ot)|0,o=o+Math.imul(P,at)|0,r=r+Math.imul(R,lt)|0,i=(i=i+Math.imul(R,ct)|0)+Math.imul(N,lt)|0,o=o+Math.imul(N,ct)|0,r=r+Math.imul(C,ht)|0,i=(i=i+Math.imul(C,ft)|0)+Math.imul(D,ht)|0,o=o+Math.imul(D,ft)|0;var Dt=(c+(r=r+Math.imul(x,pt)|0)|0)+((8191&(i=(i=i+Math.imul(x,mt)|0)+Math.imul(S,pt)|0))<<13)|0;c=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,r=Math.imul(B,ot),i=(i=Math.imul(B,at))+Math.imul(U,ot)|0,o=Math.imul(U,at),r=r+Math.imul(L,lt)|0,i=(i=i+Math.imul(L,ct)|0)+Math.imul(P,lt)|0,o=o+Math.imul(P,ct)|0,r=r+Math.imul(R,ht)|0,i=(i=i+Math.imul(R,ft)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,ft)|0;var It=(c+(r=r+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,mt)|0)+Math.imul(D,pt)|0))<<13)|0;c=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(B,lt),i=(i=Math.imul(B,ct))+Math.imul(U,lt)|0,o=Math.imul(U,ct),r=r+Math.imul(L,ht)|0,i=(i=i+Math.imul(L,ft)|0)+Math.imul(P,ht)|0,o=o+Math.imul(P,ft)|0;var Rt=(c+(r=r+Math.imul(R,pt)|0)|0)+((8191&(i=(i=i+Math.imul(R,mt)|0)+Math.imul(N,pt)|0))<<13)|0;c=((o=o+Math.imul(N,mt)|0)+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,r=Math.imul(B,ht),i=(i=Math.imul(B,ft))+Math.imul(U,ht)|0,o=Math.imul(U,ft);var Nt=(c+(r=r+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(P,pt)|0))<<13)|0;c=((o=o+Math.imul(P,mt)|0)+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863;var Ot=(c+(r=Math.imul(B,pt))|0)+((8191&(i=(i=Math.imul(B,mt))+Math.imul(U,pt)|0))<<13)|0;return c=((o=Math.imul(U,mt))+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,l[0]=gt,l[1]=yt,l[2]=wt,l[3]=bt,l[4]=vt,l[5]=Et,l[6]=_t,l[7]=At,l[8]=Mt,l[9]=Tt,l[10]=xt,l[11]=St,l[12]=kt,l[13]=Ct,l[14]=Dt,l[15]=It,l[16]=Rt,l[17]=Nt,l[18]=Ot,0!==c&&(l[19]=c,n.length++),n};function m(t,e,n){return(new g).mulp(t,e,n)}function g(t,e){this.x=t,this.y=e}Math.imul||(p=d),o.prototype.mulTo=function(t,e){var n,r=this.length+t.length;return n=10===this.length&&10===t.length?p(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var a=i;i=0;for(var s=67108863&r,l=Math.min(o,e.length-1),c=Math.max(0,o-t.length+1);c<=l;c++){var u=o-c,h=(0|t.words[u])*(0|e.words[c]),f=67108863&h;s=67108863&(f=f+s|0),i+=(a=(a=a+(h/67108864|0)|0)+(f>>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,t,e):m(this,t,e),n},g.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r<t;r++)e[r]=this.revBin(r,n,t);return e},g.prototype.revBin=function(t,e,n){if(0===t||t===n-1)return t;for(var r=0,i=0;i<e;i++)r|=(1&t)<<e-i-1,t>>=1;return r},g.prototype.permute=function(t,e,n,r,i,o){for(var a=0;a<o;a++)r[a]=e[t[a]],i[a]=n[t[a]]},g.prototype.transform=function(t,e,n,r,i,o){this.permute(o,t,e,n,r,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,l=Math.cos(2*Math.PI/s),c=Math.sin(2*Math.PI/s),u=0;u<i;u+=s)for(var h=l,f=c,d=0;d<a;d++){var p=n[u+d],m=r[u+d],g=n[u+d+a],y=r[u+d+a],w=h*g-f*y;y=h*y+f*g,g=w,n[u+d]=p+g,r[u+d]=m+y,n[u+d+a]=p-g,r[u+d+a]=m-y,d!==s&&(w=l*h-c*f,f=l*f+c*h,h=w)}},g.prototype.guessLen13b=function(t,e){var n=1|Math.max(e,t),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},g.prototype.conjugate=function(t,e,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=t[r];t[r]=t[n-r-1],t[n-r-1]=i,i=e[r],e[r]=-e[n-r-1],e[n-r-1]=-i}},g.prototype.normalize13b=function(t,e){for(var n=0,r=0;r<e/2;r++){var i=8192*Math.round(t[2*r+1]/e)+Math.round(t[2*r]/e)+n;t[r]=67108863&i,n=i<67108864?0:i/67108864|0}return t},g.prototype.convert13b=function(t,e,n,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],n[2*a]=8191&o,o>>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)n[a]=0;r(0===o),r(0==(-8192&o))},g.prototype.stub=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=0;return e},g.prototype.mulp=function(t,e,n){var r=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(r),o=this.stub(r),a=new Array(r),s=new Array(r),l=new Array(r),c=new Array(r),u=new Array(r),h=new Array(r),f=n.words;f.length=r,this.convert13b(t.words,t.length,a,r),this.convert13b(e.words,e.length,c,r),this.transform(a,o,s,l,r,i),this.transform(c,o,u,h,r,i);for(var d=0;d<r;d++){var p=s[d]*u[d]-l[d]*h[d];l[d]=s[d]*h[d]+l[d]*u[d],s[d]=p}return this.conjugate(s,l,r),this.transform(s,l,f,o,r,i),this.conjugate(f,o,r),this.normalize13b(f,r),n.negative=t.negative^e.negative,n.length=t.length+e.length,n.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),m(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){r("number"==typeof t),r(t<67108864);for(var e=0,n=0;n<this.length;n++){var i=(0|this.words[n])*t,o=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=o>>>26,this.words[n]=67108863&o}return 0!==e&&(this.words[n]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n<e.length;n++){var r=n/26|0,i=n%26;e[n]=(t.words[r]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r<e.length&&0===e[r];r++,n=n.sqr());if(++r<e.length)for(var i=n.sqr();r<e.length;r++,i=i.sqr())0!==e[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(t){r("number"==typeof t&&t>=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,l=(0|this.words[e])-s<<n;this.words[e]=l|a,a=s>>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return r(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,n){var i;r("number"==typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,l=n;if(i-=a,i=Math.max(0,i),l){for(var c=0;c<a;c++)l.words[c]=this.words[c];l.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var u=0;for(c=this.length-1;c>=0&&(0!==u||c>=i);c--){var h=0|this.words[c];this.words[c]=u<<26-o|h>>>o,u=h&s}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<<e;return!(this.length<=n||!(this.words[n]&i))},o.prototype.imaskn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==e&&n++,this.length=Math.min(n,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return r("number"==typeof t),r(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(r("number"==typeof t),r(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,n){var i,o,a=t.length+n;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+n])+s;var l=(0|t.words[i])*e;s=((o-=67108863&l)>>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)s=(o=(0|this.words[i+n])+s)>>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1];0!=(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,l=r.length-i.length;if("mod"!==e){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var c=0;c<s.length;c++)s.words[c]=0}var u=r.clone()._ishlnsubmul(i,1,l);0===u.negative&&(r=u,s&&(s.words[l]=1));for(var h=l-1;h>=0;h--){var f=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);for(f=Math.min(f/a|0,67108863),r._ishlnsubmul(i,f,h);0!==r.negative;)f--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);s&&(s.words[h]=f)}return s&&s.strip(),r.strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){r(t<=67108863);for(var e=(1<<26)%t,n=0,i=this.length-1;i>=0;i--)n=(e*n+(0|this.words[i]))%t;return n},o.prototype.idivn=function(t){r(t<=67108863);for(var e=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*e;this.words[n]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var u=n.clone(),h=e.clone();!e.isZero();){for(var f=0,d=1;0==(e.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(e.iushrn(f);f-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(u),a.isub(h)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(u),l.isub(h)),s.iushrn(1),l.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(s),a.isub(l)):(n.isub(e),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:n.iushln(c)}},o.prototype._invmp=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),l=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,u=1;0==(e.words[0]&u)&&c<26;++c,u<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var h=0,f=1;0==(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(n.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(s)):(n.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"==typeof t);var e=t%26,n=(t-e)/26,i=1<<e;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,a=n;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)e=1;else{n&&(t=-t),r(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){r<i?e=-1:r>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new A(t)},o.prototype.toRed=function(t){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var y={k256:null,p224:null,p192:null,p25519:null};function w(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(t){if("string"==typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else r(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function M(t){A.call(this,t),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)}w.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},w.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},w.prototype.split=function(t,e){t.iushrn(this.n,0,e)},w.prototype.imulK=function(t){return t.imul(this.k)},i(b,w),b.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i<r;i++)e.words[i]=t.words[i];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&n,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(a&n)<<4|o>>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},b.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n<t.length;n++){var r=0|t.words[n];e+=977*r,t.words[n]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(v,w),i(E,w),i(_,w),_.prototype.imulK=function(t){for(var e=0,n=0;n<t.length;n++){var r=19*(0|t.words[n])+e,i=67108863&r;r>>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(y[t])return y[t];var e;if("k256"===t)e=new b;else if("p224"===t)e=new v;else if("p192"===t)e=new E;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new _}return y[t]=e,e},A.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},A.prototype._verify2=function(t,e){r(0==(t.negative|e.negative),"red works only with positives"),r(t.red&&t.red===e.red,"red works only with red numbers")},A.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},A.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},A.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},A.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},A.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},A.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},A.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},A.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},A.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},A.prototype.isqr=function(t){return this.imul(t,t.clone())},A.prototype.sqr=function(t){return this.mul(t,t)},A.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(r(e%2==1),3===e){var n=this.m.add(new o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,c).cmp(l);)u.redIAdd(l);for(var h=this.pow(u,i),f=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var m=d,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g<p);var y=this.pow(h,new o(1).iushln(p-g-1));f=f.redMul(y),h=y.redSqr(),d=d.redMul(h),p=g}return f},A.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},A.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=t;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],t);var i=n[0],a=0,s=0,l=e.bitLength()%26;for(0===l&&(l=26),r=e.length-1;r>=0;r--){for(var c=e.words[r],u=l-1;u>=0;u--){var h=c>>u&1;i!==n[0]&&(i=this.sqr(i)),0!==h||0!==a?(a<<=1,a|=h,(4==++s||0===r&&0===u)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}l=26}return i},A.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},A.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new M(t)},i(M,A),M.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},M.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},M.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},M.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},M.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t=n.nmd(t),this)},3349:t=>{function e(t,e){if(!t)throw new Error(e||"Assertion failed")}t.exports=e,e.equal=function(t,e,n){if(t!=e)throw new Error(n||"Assertion failed: "+t+" != "+e)}},4367:(t,e)=>{"use strict";var n=e;function r(t){return 1===t.length?"0"+t:t}function i(t){for(var e="",n=0;n<t.length;n++)e+=r(t[n].toString(16));return e}n.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if("string"!=typeof t){for(var r=0;r<t.length;r++)n[r]=0|t[r];return n}if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),r=0;r<t.length;r+=2)n.push(parseInt(t[r]+t[r+1],16));else for(r=0;r<t.length;r++){var i=t.charCodeAt(r),o=i>>8,a=255&i;o?n.push(o,a):n.push(a)}return n},n.zero2=r,n.toHex=i,n.encode=function(t,e){return"hex"===e?i(t):t}},8859:(t,e,n)=>{var r="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&i&&"function"==typeof i.get?i.get:null,a=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=s&&l&&"function"==typeof l.get?l.get:null,u=s&&Set.prototype.forEach,h="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,m=Object.prototype.toString,g=Function.prototype.toString,y=String.prototype.match,w=String.prototype.slice,b=String.prototype.replace,v=String.prototype.toUpperCase,E=String.prototype.toLowerCase,_=RegExp.prototype.test,A=Array.prototype.concat,M=Array.prototype.join,T=Array.prototype.slice,x=Math.floor,S="function"==typeof BigInt?BigInt.prototype.valueOf:null,k=Object.getOwnPropertySymbols,C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,D="function"==typeof Symbol&&"object"==typeof Symbol.iterator,I="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,R=Object.prototype.propertyIsEnumerable,N=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function O(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||_.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var r=t<0?-x(-t):x(t);if(r!==t){var i=String(r),o=w.call(e,i.length+1);return b.call(i,n,"$&_")+"."+b.call(b.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(e,n,"$&_")}var L=n(2634),P=L.custom,F=z(P)?P:null;function B(t,e,n){var r="double"===(n.quoteStyle||e)?'"':"'";return r+t+r}function U(t){return b.call(String(t),/"/g,"&quot;")}function j(t){return!("[object Array]"!==G(t)||I&&"object"==typeof t&&I in t)}function H(t){return!("[object RegExp]"!==G(t)||I&&"object"==typeof t&&I in t)}function z(t){if(D)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!C)return!1;try{return C.call(t),!0}catch(t){}return!1}t.exports=function t(e,n,r,i){var s=n||{};if(W(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(W(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=!W(s,"customInspect")||s.customInspect;if("boolean"!=typeof l&&"symbol"!==l)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(W(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(W(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var m=s.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return Y(e,s);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var v=String(e);return m?O(e,v):v}if("bigint"==typeof e){var _=String(e)+"n";return m?O(e,_):_}var x=void 0===s.depth?5:s.depth;if(void 0===r&&(r=0),r>=x&&x>0&&"object"==typeof e)return j(e)?"[Array]":"[Object]";var k,P=function(t,e){var n;if("\t"===t.indent)n="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;n=M.call(Array(t.indent+1)," ")}return{base:n,prev:M.call(Array(e+1),n)}}(s,r);if(void 0===i)i=[];else if(K(i,e)>=0)return"[Circular]";function q(e,n,o){if(n&&(i=T.call(i)).push(n),o){var a={depth:s.depth};return W(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),t(e,a,r+1,i)}return t(e,s,r+1,i)}if("function"==typeof e&&!H(e)){var V=function(t){if(t.name)return t.name;var e=y.call(g.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),tt=J(e,q);return"[Function"+(V?": "+V:" (anonymous)")+"]"+(tt.length>0?" { "+M.call(tt,", ")+" }":"")}if(z(e)){var et=D?b.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):C.call(e);return"object"!=typeof e||D?et:X(et)}if((k=e)&&"object"==typeof k&&("undefined"!=typeof HTMLElement&&k instanceof HTMLElement||"string"==typeof k.nodeName&&"function"==typeof k.getAttribute)){for(var nt="<"+E.call(String(e.nodeName)),rt=e.attributes||[],it=0;it<rt.length;it++)nt+=" "+rt[it].name+"="+B(U(rt[it].value),"double",s);return nt+=">",e.childNodes&&e.childNodes.length&&(nt+="..."),nt+"</"+E.call(String(e.nodeName))+">"}if(j(e)){if(0===e.length)return"[]";var ot=J(e,q);return P&&!function(t){for(var e=0;e<t.length;e++)if(K(t[e],"\n")>=0)return!1;return!0}(ot)?"["+Q(ot,P)+"]":"[ "+M.call(ot,", ")+" ]"}if(function(t){return!("[object Error]"!==G(t)||I&&"object"==typeof t&&I in t)}(e)){var at=J(e,q);return"cause"in Error.prototype||!("cause"in e)||R.call(e,"cause")?0===at.length?"["+String(e)+"]":"{ ["+String(e)+"] "+M.call(at,", ")+" }":"{ ["+String(e)+"] "+M.call(A.call("[cause]: "+q(e.cause),at),", ")+" }"}if("object"==typeof e&&l){if(F&&"function"==typeof e[F]&&L)return L(e,{depth:x-r});if("symbol"!==l&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!o||!t||"object"!=typeof t)return!1;try{o.call(t);try{c.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var st=[];return a&&a.call(e,(function(t,n){st.push(q(n,e,!0)+" => "+q(t,e))})),$("Map",o.call(e),st,P)}if(function(t){if(!c||!t||"object"!=typeof t)return!1;try{c.call(t);try{o.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var lt=[];return u&&u.call(e,(function(t){lt.push(q(t,e))})),$("Set",c.call(e),lt,P)}if(function(t){if(!h||!t||"object"!=typeof t)return!1;try{h.call(t,h);try{f.call(t,f)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return Z("WeakMap");if(function(t){if(!f||!t||"object"!=typeof t)return!1;try{f.call(t,f);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return Z("WeakSet");if(function(t){if(!d||!t||"object"!=typeof t)return!1;try{return d.call(t),!0}catch(t){}return!1}(e))return Z("WeakRef");if(function(t){return!("[object Number]"!==G(t)||I&&"object"==typeof t&&I in t)}(e))return X(q(Number(e)));if(function(t){if(!t||"object"!=typeof t||!S)return!1;try{return S.call(t),!0}catch(t){}return!1}(e))return X(q(S.call(e)));if(function(t){return!("[object Boolean]"!==G(t)||I&&"object"==typeof t&&I in t)}(e))return X(p.call(e));if(function(t){return!("[object String]"!==G(t)||I&&"object"==typeof t&&I in t)}(e))return X(q(String(e)));if(!function(t){return!("[object Date]"!==G(t)||I&&"object"==typeof t&&I in t)}(e)&&!H(e)){var ct=J(e,q),ut=N?N(e)===Object.prototype:e instanceof Object||e.constructor===Object,ht=e instanceof Object?"":"null prototype",ft=!ut&&I&&Object(e)===e&&I in e?w.call(G(e),8,-1):ht?"Object":"",dt=(ut||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(ft||ht?"["+M.call(A.call([],ft||[],ht||[]),": ")+"] ":"");return 0===ct.length?dt+"{}":P?dt+"{"+Q(ct,P)+"}":dt+"{ "+M.call(ct,", ")+" }"}return String(e)};var q=Object.prototype.hasOwnProperty||function(t){return t in this};function W(t,e){return q.call(t,e)}function G(t){return m.call(t)}function K(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}function Y(t,e){if(t.length>e.maxStringLength){var n=t.length-e.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return Y(w.call(t,0,e.maxStringLength),e)+r}return B(b.call(b.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,V),"single",e)}function V(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+v.call(e.toString(16))}function X(t){return"Object("+t+")"}function Z(t){return t+" { ? }"}function $(t,e,n,r){return t+" ("+e+") {"+(r?Q(n,r):M.call(n,", "))+"}"}function Q(t,e){if(0===t.length)return"";var n="\n"+e.prev+e.base;return n+M.call(t,","+n)+"\n"+e.prev}function J(t,e){var n=j(t),r=[];if(n){r.length=t.length;for(var i=0;i<t.length;i++)r[i]=W(t,i)?e(t[i],t):""}var o,a="function"==typeof k?k(t):[];if(D){o={};for(var s=0;s<a.length;s++)o["$"+a[s]]=a[s]}for(var l in t)W(t,l)&&(n&&String(Number(l))===l&&l<t.length||D&&o["$"+l]instanceof Symbol||(_.call(/[^\w$]/,l)?r.push(e(l,t)+": "+e(t[l],t)):r.push(l+": "+e(t[l],t))));if("function"==typeof k)for(var c=0;c<a.length;c++)R.call(t,a[c])&&r.push("["+e(a[c])+"]: "+e(t[a[c]],t));return r}},1072:(t,e)=>{},1137:(t,e,n)=>{"use strict";var r=n(7568);e.certificate=n(6413);var i=r.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));e.RSAPrivateKey=i;var o=r.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));e.RSAPublicKey=o;var a=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())}));e.PublicKey=a;var s=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),l=r.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(s),this.key("subjectPrivateKey").octstr())}));e.PrivateKey=l;var c=r.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));e.EncryptedPrivateKey=c;var u=r.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));e.DSAPrivateKey=u,e.DSAparam=r.define("DSAparam",(function(){this.int()}));var h=r.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(f),this.key("publicKey").optional().explicit(1).bitstr())}));e.ECPrivateKey=h;var f=r.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));e.signature=r.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},6413:(t,e,n)=>{"use strict";var r=n(7568),i=r.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),o=r.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),a=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),s=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())})),l=r.define("RelativeDistinguishedName",(function(){this.setof(o)})),c=r.define("RDNSequence",(function(){this.seqof(l)})),u=r.define("Name",(function(){this.choice({rdnSequence:this.use(c)})})),h=r.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))})),f=r.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),d=r.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(a),this.key("issuer").use(u),this.key("validity").use(h),this.key("subject").use(u),this.key("subjectPublicKeyInfo").use(s),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(f).optional())})),p=r.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(d),this.key("signatureAlgorithm").use(a),this.key("signatureValue").bitstr())}));t.exports=p},4101:(t,e,n)=>{var r=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,a=n(8078),s=n(1241),l=n(2861).Buffer;t.exports=function(t,e){var n,c=t.toString(),u=c.match(r);if(u){var h="aes"+u[1],f=l.from(u[2],"hex"),d=l.from(u[3].replace(/[\r\n]/g,""),"base64"),p=a(e,f.slice(0,8),parseInt(u[1],10)).key,m=[],g=s.createDecipheriv(h,p,f);m.push(g.update(d)),m.push(g.final()),n=l.concat(m)}else{var y=c.match(o);n=l.from(y[2].replace(/[\r\n]/g,""),"base64")}return{tag:c.match(i)[1],data:n}}},8170:(t,e,n)=>{var r=n(1137),i=n(5579),o=n(4101),a=n(1241),s=n(8396),l=n(2861).Buffer;function c(t){var e;"object"!=typeof t||l.isBuffer(t)||(e=t.passphrase,t=t.key),"string"==typeof t&&(t=l.from(t));var n,c,u=o(t,e),h=u.tag,f=u.data;switch(h){case"CERTIFICATE":c=r.certificate.decode(f,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(c||(c=r.PublicKey.decode(f,"der")),n=c.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPublicKey.decode(c.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return c.subjectPrivateKey=c.subjectPublicKey,{type:"ec",data:c};case"1.2.840.10040.4.1":return c.algorithm.params.pub_key=r.DSAparam.decode(c.subjectPublicKey.data,"der"),{type:"dsa",data:c.algorithm.params};default:throw new Error("unknown key id "+n)}case"ENCRYPTED PRIVATE KEY":f=function(t,e){var n=t.algorithm.decrypt.kde.kdeparams.salt,r=parseInt(t.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=i[t.algorithm.decrypt.cipher.algo.join(".")],c=t.algorithm.decrypt.cipher.iv,u=t.subjectPrivateKey,h=parseInt(o.split("-")[1],10)/8,f=s.pbkdf2Sync(e,n,r,h,"sha1"),d=a.createDecipheriv(o,f,c),p=[];return p.push(d.update(u)),p.push(d.final()),l.concat(p)}(f=r.EncryptedPrivateKey.decode(f,"der"),e);case"PRIVATE KEY":switch(n=(c=r.PrivateKey.decode(f,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPrivateKey.decode(c.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:c.algorithm.curve,privateKey:r.ECPrivateKey.decode(c.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return c.algorithm.params.priv_key=r.DSAparam.decode(c.subjectPrivateKey,"der"),{type:"dsa",params:c.algorithm.params};default:throw new Error("unknown key id "+n)}case"RSA PUBLIC KEY":return r.RSAPublicKey.decode(f,"der");case"RSA PRIVATE KEY":return r.RSAPrivateKey.decode(f,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:r.DSAPrivateKey.decode(f,"der")};case"EC PRIVATE KEY":return{curve:(f=r.ECPrivateKey.decode(f,"der")).parameters.value,privateKey:f.privateKey};default:throw new Error("unknown key type "+h)}}t.exports=c,c.signature=r.signature},7975:t=>{"use strict";function e(t){if("string"!=typeof t)throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}function n(t,e){for(var n,r="",i=0,o=-1,a=0,s=0;s<=t.length;++s){if(s<t.length)n=t.charCodeAt(s);else{if(47===n)break;n=47}if(47===n){if(o===s-1||1===a);else if(o!==s-1&&2===a){if(r.length<2||2!==i||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2))if(r.length>2){var l=r.lastIndexOf("/");if(l!==r.length-1){-1===l?(r="",i=0):i=(r=r.slice(0,l)).length-1-r.lastIndexOf("/"),o=s,a=0;continue}}else if(2===r.length||1===r.length){r="",i=0,o=s,a=0;continue}e&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+t.slice(o+1,s):r=t.slice(o+1,s),i=s-o-1;o=s,a=0}else 46===n&&-1!==a?++a:a=-1}return r}var r={resolve:function(){for(var t,r="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var a;o>=0?a=arguments[o]:(void 0===t&&(t={env:{}}.cwd()),a=t),e(a),0!==a.length&&(r=a+"/"+r,i=47===a.charCodeAt(0))}return r=n(r,!i),i?r.length>0?"/"+r:"/":r.length>0?r:"."},normalize:function(t){if(e(t),0===t.length)return".";var r=47===t.charCodeAt(0),i=47===t.charCodeAt(t.length-1);return 0!==(t=n(t,!r)).length||r||(t="."),t.length>0&&i&&(t+="/"),r?"/"+t:t},isAbsolute:function(t){return e(t),t.length>0&&47===t.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var t,n=0;n<arguments.length;++n){var i=arguments[n];e(i),i.length>0&&(void 0===t?t=i:t+="/"+i)}return void 0===t?".":r.normalize(t)},relative:function(t,n){if(e(t),e(n),t===n)return"";if((t=r.resolve(t))===(n=r.resolve(n)))return"";for(var i=1;i<t.length&&47===t.charCodeAt(i);++i);for(var o=t.length,a=o-i,s=1;s<n.length&&47===n.charCodeAt(s);++s);for(var l=n.length-s,c=a<l?a:l,u=-1,h=0;h<=c;++h){if(h===c){if(l>c){if(47===n.charCodeAt(s+h))return n.slice(s+h+1);if(0===h)return n.slice(s+h)}else a>c&&(47===t.charCodeAt(i+h)?u=h:0===h&&(u=0));break}var f=t.charCodeAt(i+h);if(f!==n.charCodeAt(s+h))break;47===f&&(u=h)}var d="";for(h=i+u+1;h<=o;++h)h!==o&&47!==t.charCodeAt(h)||(0===d.length?d+="..":d+="/..");return d.length>0?d+n.slice(s+u):(s+=u,47===n.charCodeAt(s)&&++s,n.slice(s))},_makeLong:function(t){return t},dirname:function(t){if(e(t),0===t.length)return".";for(var n=t.charCodeAt(0),r=47===n,i=-1,o=!0,a=t.length-1;a>=1;--a)if(47===(n=t.charCodeAt(a))){if(!o){i=a;break}}else o=!1;return-1===i?r?"/":".":r&&1===i?"//":t.slice(0,i)},basename:function(t,n){if(void 0!==n&&"string"!=typeof n)throw new TypeError('"ext" argument must be a string');e(t);var r,i=0,o=-1,a=!0;if(void 0!==n&&n.length>0&&n.length<=t.length){if(n.length===t.length&&n===t)return"";var s=n.length-1,l=-1;for(r=t.length-1;r>=0;--r){var c=t.charCodeAt(r);if(47===c){if(!a){i=r+1;break}}else-1===l&&(a=!1,l=r+1),s>=0&&(c===n.charCodeAt(s)?-1==--s&&(o=r):(s=-1,o=l))}return i===o?o=l:-1===o&&(o=t.length),t.slice(i,o)}for(r=t.length-1;r>=0;--r)if(47===t.charCodeAt(r)){if(!a){i=r+1;break}}else-1===o&&(a=!1,o=r+1);return-1===o?"":t.slice(i,o)},extname:function(t){e(t);for(var n=-1,r=0,i=-1,o=!0,a=0,s=t.length-1;s>=0;--s){var l=t.charCodeAt(s);if(47!==l)-1===i&&(o=!1,i=s+1),46===l?-1===n?n=s:1!==a&&(a=1):-1!==n&&(a=-1);else if(!o){r=s+1;break}}return-1===n||-1===i||0===a||1===a&&n===i-1&&n===r+1?"":t.slice(n,i)},format:function(t){if(null===t||"object"!=typeof t)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return function(t,e){var n=e.dir||e.root,r=e.base||(e.name||"")+(e.ext||"");return n?n===e.root?n+r:n+"/"+r:r}(0,t)},parse:function(t){e(t);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===t.length)return n;var r,i=t.charCodeAt(0),o=47===i;o?(n.root="/",r=1):r=0;for(var a=-1,s=0,l=-1,c=!0,u=t.length-1,h=0;u>=r;--u)if(47!==(i=t.charCodeAt(u)))-1===l&&(c=!1,l=u+1),46===i?-1===a?a=u:1!==h&&(h=1):-1!==a&&(h=-1);else if(!c){s=u+1;break}return-1===a||-1===l||0===h||1===h&&a===l-1&&a===s+1?-1!==l&&(n.base=n.name=0===s&&o?t.slice(1,l):t.slice(s,l)):(0===s&&o?(n.name=t.slice(1,a),n.base=t.slice(1,l)):(n.name=t.slice(s,a),n.base=t.slice(s,l)),n.ext=t.slice(a,l)),s>0?n.dir=t.slice(0,s-1):o&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,t.exports=r},8396:(t,e,n)=>{e.pbkdf2=n(3832),e.pbkdf2Sync=n(1352)},3832:(t,e,n)=>{var r,i,o=n(2861).Buffer,a=n(4196),s=n(2455),l=n(1352),c=n(3382),u=n.g.crypto&&n.g.crypto.subtle,h={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},f=[];function d(){return i||(i=n.g.process&&n.g.process.nextTick?n.g.process.nextTick:n.g.queueMicrotask?n.g.queueMicrotask:n.g.setImmediate?n.g.setImmediate:n.g.setTimeout)}function p(t,e,n,r,i){return u.importKey("raw",t,{name:"PBKDF2"},!1,["deriveBits"]).then((function(t){return u.deriveBits({name:"PBKDF2",salt:e,iterations:n,hash:{name:i}},t,r<<3)})).then((function(t){return o.from(t)}))}t.exports=function(t,e,i,m,g,y){"function"==typeof g&&(y=g,g=void 0);var w=h[(g=g||"sha1").toLowerCase()];if(w&&"function"==typeof n.g.Promise){if(a(i,m),t=c(t,s,"Password"),e=c(e,s,"Salt"),"function"!=typeof y)throw new Error("No callback provided to pbkdf2");!function(t,e){t.then((function(t){d()((function(){e(null,t)}))}),(function(t){d()((function(){e(t)}))}))}(function(t){if(n.g.process&&!n.g.process.browser)return Promise.resolve(!1);if(!u||!u.importKey||!u.deriveBits)return Promise.resolve(!1);if(void 0!==f[t])return f[t];var e=p(r=r||o.alloc(8),r,10,128,t).then((function(){return!0})).catch((function(){return!1}));return f[t]=e,e}(w).then((function(n){return n?p(t,e,i,m,w):l(t,e,i,m,g)})),y)}else d()((function(){var n;try{n=l(t,e,i,m,g)}catch(t){return y(t)}y(null,n)}))}},2455:(t,e,n)=>{var r;r=n.g.process&&n.g.process.browser?"utf-8":n.g.process&&n.g.process.version?parseInt({env:{}}.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":"utf-8",t.exports=r},4196:t=>{var e=Math.pow(2,30)-1;t.exports=function(t,n){if("number"!=typeof t)throw new TypeError("Iterations not a number");if(t<0)throw new TypeError("Bad iterations");if("number"!=typeof n)throw new TypeError("Key length not a number");if(n<0||n>e||n!=n)throw new TypeError("Bad key length")}},1352:(t,e,n)=>{var r=n(320),i=n(6011),o=n(2802),a=n(2861).Buffer,s=n(4196),l=n(2455),c=n(3382),u=a.alloc(128),h={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function f(t,e,n){var s=function(t){return"rmd160"===t||"ripemd160"===t?function(t){return(new i).update(t).digest()}:"md5"===t?r:function(e){return o(t).update(e).digest()}}(t),l="sha512"===t||"sha384"===t?128:64;e.length>l?e=s(e):e.length<l&&(e=a.concat([e,u],l));for(var c=a.allocUnsafe(l+h[t]),f=a.allocUnsafe(l+h[t]),d=0;d<l;d++)c[d]=54^e[d],f[d]=92^e[d];var p=a.allocUnsafe(l+n+4);c.copy(p,0,0,l),this.ipad1=p,this.ipad2=c,this.opad=f,this.alg=t,this.blocksize=l,this.hash=s,this.size=h[t]}f.prototype.run=function(t,e){return t.copy(e,this.blocksize),this.hash(e).copy(this.opad,this.blocksize),this.hash(this.opad)},t.exports=function(t,e,n,r,i){s(n,r);var o=new f(i=i||"sha1",t=c(t,l,"Password"),(e=c(e,l,"Salt")).length),u=a.allocUnsafe(r),d=a.allocUnsafe(e.length+4);e.copy(d,0,0,e.length);for(var p=0,m=h[i],g=Math.ceil(r/m),y=1;y<=g;y++){d.writeUInt32BE(y,e.length);for(var w=o.run(d,o.ipad1),b=w,v=1;v<n;v++){b=o.run(b,o.ipad2);for(var E=0;E<m;E++)w[E]^=b[E]}w.copy(u,p),p+=m}return u}},3382:(t,e,n)=>{var r=n(2861).Buffer;t.exports=function(t,e,n){if(r.isBuffer(t))return t;if("string"==typeof t)return r.from(t,e);if(ArrayBuffer.isView(t))return r.from(t.buffer);throw new TypeError(n+" must be a string, a Buffer, a typed array or a DataView")}},7168:(t,e,n)=>{e.publicEncrypt=n(8902),e.privateDecrypt=n(7362),e.privateEncrypt=function(t,n){return e.publicEncrypt(t,n,!0)},e.publicDecrypt=function(t,n){return e.privateDecrypt(t,n,!0)}},8206:(t,e,n)=>{var r=n(7108),i=n(2861).Buffer;function o(t){var e=i.allocUnsafe(4);return e.writeUInt32BE(t,0),e}t.exports=function(t,e){for(var n,a=i.alloc(0),s=0;a.length<e;)n=o(s++),a=i.concat([a,r("sha1").update(t).update(n).digest()]);return a.slice(0,e)}},2509:function(t,e,n){!function(t,e){"use strict";function r(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var a;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:n(1069).Buffer}catch(t){}function s(t,e){var n=t.charCodeAt(e);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function l(t,e,n){var r=s(t,n);return n-1>=e&&(r|=s(t,n-1)<<4),r}function c(t,e,n,r){for(var i=0,o=Math.min(t.length,n),a=e;a<o;a++){var s=t.charCodeAt(a)-48;i*=r,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"==typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,n){if("number"==typeof t)return this._initNumber(t,e,n);if("object"==typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),r(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,n):(this._parseBase(t,e,i),"le"===n&&this._initArray(this.toArray(),e,n)))},o.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(r(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initArray=function(t,e,n){if(r("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===n)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,n){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,o=0,a=0;if("be"===n)for(r=t.length-1;r>=e;r-=2)i=l(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(t.length-e)%2==0?e+1:e;r<t.length;r+=2)i=l(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,u=n;u<s;u+=r)l=c(t,u,u+r,e),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==a){var h=1;for(l=c(t,u,t.length,e),u=0;u<a;u++)h*=e;this.imuln(h),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&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},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var u=["","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"],h=[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],f=[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 d(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,l=a/67108864|0;n.words[0]=s;for(var c=1;c<r;c++){for(var u=l>>>26,h=67108863&l,f=Math.min(c,e.length-1),d=Math.max(0,c-t.length+1);d<=f;d++){var p=c-d|0;u+=(a=(i=0|t.words[p])*(o=0|e.words[d])+h)/67108864|0,h=67108863&a}n.words[c]=0|h,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n.strip()}o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],l=(16777215&(s<<i|o)).toString(16);n=0!=(o=s>>>24-i&16777215)||a!==this.length-1?u[6-l.length]+l+n:l+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.toString(16)+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var c=h[t],d=f[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(d).toString(t);n=(p=p.idivn(d)).isZero()?m+n:u[c-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return r(void 0!==a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,l="le"===e,c=new t(o),u=this.clone();if(l){for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),c[s]=a;for(;s<o;s++)c[s]=0}else{for(s=0;s<o-i;s++)c[s]=0;for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),c[o-s-1]=a}return c},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,n=0;return e>=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var n=this._zeroBits(this.words[e]);if(t+=n,26!==n)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return r(0==(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;n<e.length;n++)this.words[n]=this.words[n]&t.words[n];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return r(0==(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;r<n.length;r++)this.words[r]=e.words[r]^n.words[r];if(this!==e)for(;r<e.length;r++)this.words[r]=e.words[r];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return r(0==(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){r("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"==typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,n,r;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o<r.length;o++)e=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<n.length;o++)e=(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a<r.length;a++)o=(e=(0|n.words[a])-(0|r.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<n.length;a++)o=(e=(0|n.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<n.length&&n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this.length=Math.max(this.length,a),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var p=function(t,e,n){var r,i,o,a=t.words,s=e.words,l=n.words,c=0,u=0|a[0],h=8191&u,f=u>>>13,d=0|a[1],p=8191&d,m=d>>>13,g=0|a[2],y=8191&g,w=g>>>13,b=0|a[3],v=8191&b,E=b>>>13,_=0|a[4],A=8191&_,M=_>>>13,T=0|a[5],x=8191&T,S=T>>>13,k=0|a[6],C=8191&k,D=k>>>13,I=0|a[7],R=8191&I,N=I>>>13,O=0|a[8],L=8191&O,P=O>>>13,F=0|a[9],B=8191&F,U=F>>>13,j=0|s[0],H=8191&j,z=j>>>13,q=0|s[1],W=8191&q,G=q>>>13,K=0|s[2],Y=8191&K,V=K>>>13,X=0|s[3],Z=8191&X,$=X>>>13,Q=0|s[4],J=8191&Q,tt=Q>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],lt=8191&st,ct=st>>>13,ut=0|s[8],ht=8191&ut,ft=ut>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;n.negative=t.negative^e.negative,n.length=19;var gt=(c+(r=Math.imul(h,H))|0)+((8191&(i=(i=Math.imul(h,z))+Math.imul(f,H)|0))<<13)|0;c=((o=Math.imul(f,z))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,r=Math.imul(p,H),i=(i=Math.imul(p,z))+Math.imul(m,H)|0,o=Math.imul(m,z);var yt=(c+(r=r+Math.imul(h,W)|0)|0)+((8191&(i=(i=i+Math.imul(h,G)|0)+Math.imul(f,W)|0))<<13)|0;c=((o=o+Math.imul(f,G)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(y,H),i=(i=Math.imul(y,z))+Math.imul(w,H)|0,o=Math.imul(w,z),r=r+Math.imul(p,W)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(m,W)|0,o=o+Math.imul(m,G)|0;var wt=(c+(r=r+Math.imul(h,Y)|0)|0)+((8191&(i=(i=i+Math.imul(h,V)|0)+Math.imul(f,Y)|0))<<13)|0;c=((o=o+Math.imul(f,V)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(v,H),i=(i=Math.imul(v,z))+Math.imul(E,H)|0,o=Math.imul(E,z),r=r+Math.imul(y,W)|0,i=(i=i+Math.imul(y,G)|0)+Math.imul(w,W)|0,o=o+Math.imul(w,G)|0,r=r+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,V)|0;var bt=(c+(r=r+Math.imul(h,Z)|0)|0)+((8191&(i=(i=i+Math.imul(h,$)|0)+Math.imul(f,Z)|0))<<13)|0;c=((o=o+Math.imul(f,$)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(A,H),i=(i=Math.imul(A,z))+Math.imul(M,H)|0,o=Math.imul(M,z),r=r+Math.imul(v,W)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(E,W)|0,o=o+Math.imul(E,G)|0,r=r+Math.imul(y,Y)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(w,Y)|0,o=o+Math.imul(w,V)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,$)|0)+Math.imul(m,Z)|0,o=o+Math.imul(m,$)|0;var vt=(c+(r=r+Math.imul(h,J)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(f,J)|0))<<13)|0;c=((o=o+Math.imul(f,tt)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(x,H),i=(i=Math.imul(x,z))+Math.imul(S,H)|0,o=Math.imul(S,z),r=r+Math.imul(A,W)|0,i=(i=i+Math.imul(A,G)|0)+Math.imul(M,W)|0,o=o+Math.imul(M,G)|0,r=r+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(E,Y)|0,o=o+Math.imul(E,V)|0,r=r+Math.imul(y,Z)|0,i=(i=i+Math.imul(y,$)|0)+Math.imul(w,Z)|0,o=o+Math.imul(w,$)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,J)|0,o=o+Math.imul(m,tt)|0;var Et=(c+(r=r+Math.imul(h,nt)|0)|0)+((8191&(i=(i=i+Math.imul(h,rt)|0)+Math.imul(f,nt)|0))<<13)|0;c=((o=o+Math.imul(f,rt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(C,H),i=(i=Math.imul(C,z))+Math.imul(D,H)|0,o=Math.imul(D,z),r=r+Math.imul(x,W)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(S,W)|0,o=o+Math.imul(S,G)|0,r=r+Math.imul(A,Y)|0,i=(i=i+Math.imul(A,V)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(v,Z)|0,i=(i=i+Math.imul(v,$)|0)+Math.imul(E,Z)|0,o=o+Math.imul(E,$)|0,r=r+Math.imul(y,J)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(m,nt)|0,o=o+Math.imul(m,rt)|0;var _t=(c+(r=r+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(f,ot)|0))<<13)|0;c=((o=o+Math.imul(f,at)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(R,H),i=(i=Math.imul(R,z))+Math.imul(N,H)|0,o=Math.imul(N,z),r=r+Math.imul(C,W)|0,i=(i=i+Math.imul(C,G)|0)+Math.imul(D,W)|0,o=o+Math.imul(D,G)|0,r=r+Math.imul(x,Y)|0,i=(i=i+Math.imul(x,V)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,V)|0,r=r+Math.imul(A,Z)|0,i=(i=i+Math.imul(A,$)|0)+Math.imul(M,Z)|0,o=o+Math.imul(M,$)|0,r=r+Math.imul(v,J)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(E,J)|0,o=o+Math.imul(E,tt)|0,r=r+Math.imul(y,nt)|0,i=(i=i+Math.imul(y,rt)|0)+Math.imul(w,nt)|0,o=o+Math.imul(w,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var At=(c+(r=r+Math.imul(h,lt)|0)|0)+((8191&(i=(i=i+Math.imul(h,ct)|0)+Math.imul(f,lt)|0))<<13)|0;c=((o=o+Math.imul(f,ct)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(L,H),i=(i=Math.imul(L,z))+Math.imul(P,H)|0,o=Math.imul(P,z),r=r+Math.imul(R,W)|0,i=(i=i+Math.imul(R,G)|0)+Math.imul(N,W)|0,o=o+Math.imul(N,G)|0,r=r+Math.imul(C,Y)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(x,Z)|0,i=(i=i+Math.imul(x,$)|0)+Math.imul(S,Z)|0,o=o+Math.imul(S,$)|0,r=r+Math.imul(A,J)|0,i=(i=i+Math.imul(A,tt)|0)+Math.imul(M,J)|0,o=o+Math.imul(M,tt)|0,r=r+Math.imul(v,nt)|0,i=(i=i+Math.imul(v,rt)|0)+Math.imul(E,nt)|0,o=o+Math.imul(E,rt)|0,r=r+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,r=r+Math.imul(p,lt)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(m,lt)|0,o=o+Math.imul(m,ct)|0;var Mt=(c+(r=r+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,ft)|0)+Math.imul(f,ht)|0))<<13)|0;c=((o=o+Math.imul(f,ft)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(B,H),i=(i=Math.imul(B,z))+Math.imul(U,H)|0,o=Math.imul(U,z),r=r+Math.imul(L,W)|0,i=(i=i+Math.imul(L,G)|0)+Math.imul(P,W)|0,o=o+Math.imul(P,G)|0,r=r+Math.imul(R,Y)|0,i=(i=i+Math.imul(R,V)|0)+Math.imul(N,Y)|0,o=o+Math.imul(N,V)|0,r=r+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,$)|0)+Math.imul(D,Z)|0,o=o+Math.imul(D,$)|0,r=r+Math.imul(x,J)|0,i=(i=i+Math.imul(x,tt)|0)+Math.imul(S,J)|0,o=o+Math.imul(S,tt)|0,r=r+Math.imul(A,nt)|0,i=(i=i+Math.imul(A,rt)|0)+Math.imul(M,nt)|0,o=o+Math.imul(M,rt)|0,r=r+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(E,ot)|0,o=o+Math.imul(E,at)|0,r=r+Math.imul(y,lt)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(w,lt)|0,o=o+Math.imul(w,ct)|0,r=r+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,ft)|0)+Math.imul(m,ht)|0,o=o+Math.imul(m,ft)|0;var Tt=(c+(r=r+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,mt)|0)+Math.imul(f,pt)|0))<<13)|0;c=((o=o+Math.imul(f,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(B,W),i=(i=Math.imul(B,G))+Math.imul(U,W)|0,o=Math.imul(U,G),r=r+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(P,Y)|0,o=o+Math.imul(P,V)|0,r=r+Math.imul(R,Z)|0,i=(i=i+Math.imul(R,$)|0)+Math.imul(N,Z)|0,o=o+Math.imul(N,$)|0,r=r+Math.imul(C,J)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(D,J)|0,o=o+Math.imul(D,tt)|0,r=r+Math.imul(x,nt)|0,i=(i=i+Math.imul(x,rt)|0)+Math.imul(S,nt)|0,o=o+Math.imul(S,rt)|0,r=r+Math.imul(A,ot)|0,i=(i=i+Math.imul(A,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,r=r+Math.imul(v,lt)|0,i=(i=i+Math.imul(v,ct)|0)+Math.imul(E,lt)|0,o=o+Math.imul(E,ct)|0,r=r+Math.imul(y,ht)|0,i=(i=i+Math.imul(y,ft)|0)+Math.imul(w,ht)|0,o=o+Math.imul(w,ft)|0;var xt=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(B,Y),i=(i=Math.imul(B,V))+Math.imul(U,Y)|0,o=Math.imul(U,V),r=r+Math.imul(L,Z)|0,i=(i=i+Math.imul(L,$)|0)+Math.imul(P,Z)|0,o=o+Math.imul(P,$)|0,r=r+Math.imul(R,J)|0,i=(i=i+Math.imul(R,tt)|0)+Math.imul(N,J)|0,o=o+Math.imul(N,tt)|0,r=r+Math.imul(C,nt)|0,i=(i=i+Math.imul(C,rt)|0)+Math.imul(D,nt)|0,o=o+Math.imul(D,rt)|0,r=r+Math.imul(x,ot)|0,i=(i=i+Math.imul(x,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,r=r+Math.imul(A,lt)|0,i=(i=i+Math.imul(A,ct)|0)+Math.imul(M,lt)|0,o=o+Math.imul(M,ct)|0,r=r+Math.imul(v,ht)|0,i=(i=i+Math.imul(v,ft)|0)+Math.imul(E,ht)|0,o=o+Math.imul(E,ft)|0;var St=(c+(r=r+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,mt)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,mt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(B,Z),i=(i=Math.imul(B,$))+Math.imul(U,Z)|0,o=Math.imul(U,$),r=r+Math.imul(L,J)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(P,J)|0,o=o+Math.imul(P,tt)|0,r=r+Math.imul(R,nt)|0,i=(i=i+Math.imul(R,rt)|0)+Math.imul(N,nt)|0,o=o+Math.imul(N,rt)|0,r=r+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,r=r+Math.imul(x,lt)|0,i=(i=i+Math.imul(x,ct)|0)+Math.imul(S,lt)|0,o=o+Math.imul(S,ct)|0,r=r+Math.imul(A,ht)|0,i=(i=i+Math.imul(A,ft)|0)+Math.imul(M,ht)|0,o=o+Math.imul(M,ft)|0;var kt=(c+(r=r+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(E,pt)|0))<<13)|0;c=((o=o+Math.imul(E,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(B,J),i=(i=Math.imul(B,tt))+Math.imul(U,J)|0,o=Math.imul(U,tt),r=r+Math.imul(L,nt)|0,i=(i=i+Math.imul(L,rt)|0)+Math.imul(P,nt)|0,o=o+Math.imul(P,rt)|0,r=r+Math.imul(R,ot)|0,i=(i=i+Math.imul(R,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,r=r+Math.imul(C,lt)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(D,lt)|0,o=o+Math.imul(D,ct)|0,r=r+Math.imul(x,ht)|0,i=(i=i+Math.imul(x,ft)|0)+Math.imul(S,ht)|0,o=o+Math.imul(S,ft)|0;var Ct=(c+(r=r+Math.imul(A,pt)|0)|0)+((8191&(i=(i=i+Math.imul(A,mt)|0)+Math.imul(M,pt)|0))<<13)|0;c=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(B,nt),i=(i=Math.imul(B,rt))+Math.imul(U,nt)|0,o=Math.imul(U,rt),r=r+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(P,ot)|0,o=o+Math.imul(P,at)|0,r=r+Math.imul(R,lt)|0,i=(i=i+Math.imul(R,ct)|0)+Math.imul(N,lt)|0,o=o+Math.imul(N,ct)|0,r=r+Math.imul(C,ht)|0,i=(i=i+Math.imul(C,ft)|0)+Math.imul(D,ht)|0,o=o+Math.imul(D,ft)|0;var Dt=(c+(r=r+Math.imul(x,pt)|0)|0)+((8191&(i=(i=i+Math.imul(x,mt)|0)+Math.imul(S,pt)|0))<<13)|0;c=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,r=Math.imul(B,ot),i=(i=Math.imul(B,at))+Math.imul(U,ot)|0,o=Math.imul(U,at),r=r+Math.imul(L,lt)|0,i=(i=i+Math.imul(L,ct)|0)+Math.imul(P,lt)|0,o=o+Math.imul(P,ct)|0,r=r+Math.imul(R,ht)|0,i=(i=i+Math.imul(R,ft)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,ft)|0;var It=(c+(r=r+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,mt)|0)+Math.imul(D,pt)|0))<<13)|0;c=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(B,lt),i=(i=Math.imul(B,ct))+Math.imul(U,lt)|0,o=Math.imul(U,ct),r=r+Math.imul(L,ht)|0,i=(i=i+Math.imul(L,ft)|0)+Math.imul(P,ht)|0,o=o+Math.imul(P,ft)|0;var Rt=(c+(r=r+Math.imul(R,pt)|0)|0)+((8191&(i=(i=i+Math.imul(R,mt)|0)+Math.imul(N,pt)|0))<<13)|0;c=((o=o+Math.imul(N,mt)|0)+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,r=Math.imul(B,ht),i=(i=Math.imul(B,ft))+Math.imul(U,ht)|0,o=Math.imul(U,ft);var Nt=(c+(r=r+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(P,pt)|0))<<13)|0;c=((o=o+Math.imul(P,mt)|0)+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863;var Ot=(c+(r=Math.imul(B,pt))|0)+((8191&(i=(i=Math.imul(B,mt))+Math.imul(U,pt)|0))<<13)|0;return c=((o=Math.imul(U,mt))+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,l[0]=gt,l[1]=yt,l[2]=wt,l[3]=bt,l[4]=vt,l[5]=Et,l[6]=_t,l[7]=At,l[8]=Mt,l[9]=Tt,l[10]=xt,l[11]=St,l[12]=kt,l[13]=Ct,l[14]=Dt,l[15]=It,l[16]=Rt,l[17]=Nt,l[18]=Ot,0!==c&&(l[19]=c,n.length++),n};function m(t,e,n){return(new g).mulp(t,e,n)}function g(t,e){this.x=t,this.y=e}Math.imul||(p=d),o.prototype.mulTo=function(t,e){var n,r=this.length+t.length;return n=10===this.length&&10===t.length?p(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var a=i;i=0;for(var s=67108863&r,l=Math.min(o,e.length-1),c=Math.max(0,o-t.length+1);c<=l;c++){var u=o-c,h=(0|t.words[u])*(0|e.words[c]),f=67108863&h;s=67108863&(f=f+s|0),i+=(a=(a=a+(h/67108864|0)|0)+(f>>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,t,e):m(this,t,e),n},g.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r<t;r++)e[r]=this.revBin(r,n,t);return e},g.prototype.revBin=function(t,e,n){if(0===t||t===n-1)return t;for(var r=0,i=0;i<e;i++)r|=(1&t)<<e-i-1,t>>=1;return r},g.prototype.permute=function(t,e,n,r,i,o){for(var a=0;a<o;a++)r[a]=e[t[a]],i[a]=n[t[a]]},g.prototype.transform=function(t,e,n,r,i,o){this.permute(o,t,e,n,r,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,l=Math.cos(2*Math.PI/s),c=Math.sin(2*Math.PI/s),u=0;u<i;u+=s)for(var h=l,f=c,d=0;d<a;d++){var p=n[u+d],m=r[u+d],g=n[u+d+a],y=r[u+d+a],w=h*g-f*y;y=h*y+f*g,g=w,n[u+d]=p+g,r[u+d]=m+y,n[u+d+a]=p-g,r[u+d+a]=m-y,d!==s&&(w=l*h-c*f,f=l*f+c*h,h=w)}},g.prototype.guessLen13b=function(t,e){var n=1|Math.max(e,t),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},g.prototype.conjugate=function(t,e,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=t[r];t[r]=t[n-r-1],t[n-r-1]=i,i=e[r],e[r]=-e[n-r-1],e[n-r-1]=-i}},g.prototype.normalize13b=function(t,e){for(var n=0,r=0;r<e/2;r++){var i=8192*Math.round(t[2*r+1]/e)+Math.round(t[2*r]/e)+n;t[r]=67108863&i,n=i<67108864?0:i/67108864|0}return t},g.prototype.convert13b=function(t,e,n,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],n[2*a]=8191&o,o>>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)n[a]=0;r(0===o),r(0==(-8192&o))},g.prototype.stub=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=0;return e},g.prototype.mulp=function(t,e,n){var r=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(r),o=this.stub(r),a=new Array(r),s=new Array(r),l=new Array(r),c=new Array(r),u=new Array(r),h=new Array(r),f=n.words;f.length=r,this.convert13b(t.words,t.length,a,r),this.convert13b(e.words,e.length,c,r),this.transform(a,o,s,l,r,i),this.transform(c,o,u,h,r,i);for(var d=0;d<r;d++){var p=s[d]*u[d]-l[d]*h[d];l[d]=s[d]*h[d]+l[d]*u[d],s[d]=p}return this.conjugate(s,l,r),this.transform(s,l,f,o,r,i),this.conjugate(f,o,r),this.normalize13b(f,r),n.negative=t.negative^e.negative,n.length=t.length+e.length,n.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),m(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){r("number"==typeof t),r(t<67108864);for(var e=0,n=0;n<this.length;n++){var i=(0|this.words[n])*t,o=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=o>>>26,this.words[n]=67108863&o}return 0!==e&&(this.words[n]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n<e.length;n++){var r=n/26|0,i=n%26;e[n]=(t.words[r]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r<e.length&&0===e[r];r++,n=n.sqr());if(++r<e.length)for(var i=n.sqr();r<e.length;r++,i=i.sqr())0!==e[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(t){r("number"==typeof t&&t>=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,l=(0|this.words[e])-s<<n;this.words[e]=l|a,a=s>>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return r(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,n){var i;r("number"==typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,l=n;if(i-=a,i=Math.max(0,i),l){for(var c=0;c<a;c++)l.words[c]=this.words[c];l.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var u=0;for(c=this.length-1;c>=0&&(0!==u||c>=i);c--){var h=0|this.words[c];this.words[c]=u<<26-o|h>>>o,u=h&s}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<<e;return!(this.length<=n||!(this.words[n]&i))},o.prototype.imaskn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==e&&n++,this.length=Math.min(n,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return r("number"==typeof t),r(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(r("number"==typeof t),r(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,n){var i,o,a=t.length+n;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+n])+s;var l=(0|t.words[i])*e;s=((o-=67108863&l)>>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)s=(o=(0|this.words[i+n])+s)>>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1];0!=(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,l=r.length-i.length;if("mod"!==e){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var c=0;c<s.length;c++)s.words[c]=0}var u=r.clone()._ishlnsubmul(i,1,l);0===u.negative&&(r=u,s&&(s.words[l]=1));for(var h=l-1;h>=0;h--){var f=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);for(f=Math.min(f/a|0,67108863),r._ishlnsubmul(i,f,h);0!==r.negative;)f--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);s&&(s.words[h]=f)}return s&&s.strip(),r.strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){r(t<=67108863);for(var e=(1<<26)%t,n=0,i=this.length-1;i>=0;i--)n=(e*n+(0|this.words[i]))%t;return n},o.prototype.idivn=function(t){r(t<=67108863);for(var e=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*e;this.words[n]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var u=n.clone(),h=e.clone();!e.isZero();){for(var f=0,d=1;0==(e.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(e.iushrn(f);f-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(u),a.isub(h)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(u),l.isub(h)),s.iushrn(1),l.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(s),a.isub(l)):(n.isub(e),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:n.iushln(c)}},o.prototype._invmp=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),l=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,u=1;0==(e.words[0]&u)&&c<26;++c,u<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var h=0,f=1;0==(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(n.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(s)):(n.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"==typeof t);var e=t%26,n=(t-e)/26,i=1<<e;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,a=n;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)e=1;else{n&&(t=-t),r(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){r<i?e=-1:r>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new A(t)},o.prototype.toRed=function(t){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var y={k256:null,p224:null,p192:null,p25519:null};function w(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(t){if("string"==typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else r(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function M(t){A.call(this,t),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)}w.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},w.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},w.prototype.split=function(t,e){t.iushrn(this.n,0,e)},w.prototype.imulK=function(t){return t.imul(this.k)},i(b,w),b.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i<r;i++)e.words[i]=t.words[i];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&n,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(a&n)<<4|o>>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},b.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n<t.length;n++){var r=0|t.words[n];e+=977*r,t.words[n]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(v,w),i(E,w),i(_,w),_.prototype.imulK=function(t){for(var e=0,n=0;n<t.length;n++){var r=19*(0|t.words[n])+e,i=67108863&r;r>>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(y[t])return y[t];var e;if("k256"===t)e=new b;else if("p224"===t)e=new v;else if("p192"===t)e=new E;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new _}return y[t]=e,e},A.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},A.prototype._verify2=function(t,e){r(0==(t.negative|e.negative),"red works only with positives"),r(t.red&&t.red===e.red,"red works only with red numbers")},A.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},A.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},A.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},A.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},A.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},A.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},A.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},A.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},A.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},A.prototype.isqr=function(t){return this.imul(t,t.clone())},A.prototype.sqr=function(t){return this.mul(t,t)},A.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(r(e%2==1),3===e){var n=this.m.add(new o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,c).cmp(l);)u.redIAdd(l);for(var h=this.pow(u,i),f=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var m=d,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g<p);var y=this.pow(h,new o(1).iushln(p-g-1));f=f.redMul(y),h=y.redSqr(),d=d.redMul(h),p=g}return f},A.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},A.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=t;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],t);var i=n[0],a=0,s=0,l=e.bitLength()%26;for(0===l&&(l=26),r=e.length-1;r>=0;r--){for(var c=e.words[r],u=l-1;u>=0;u--){var h=c>>u&1;i!==n[0]&&(i=this.sqr(i)),0!==h||0!==a?(a<<=1,a|=h,(4==++s||0===r&&0===u)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}l=26}return i},A.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},A.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new M(t)},i(M,A),M.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},M.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},M.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},M.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},M.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t=n.nmd(t),this)},7362:(t,e,n)=>{var r=n(8170),i=n(8206),o=n(2061),a=n(2509),s=n(7332),l=n(7108),c=n(9247),u=n(2861).Buffer;t.exports=function(t,e,n){var h;h=t.padding?t.padding:n?1:4;var f,d=r(t),p=d.modulus.byteLength();if(e.length>p||new a(e).cmp(d.modulus)>=0)throw new Error("decryption error");f=n?c(new a(e),d):s(e,d);var m=u.alloc(p-f.length);if(f=u.concat([m,f],p),4===h)return function(t,e){var n=t.modulus.byteLength(),r=l("sha1").update(u.alloc(0)).digest(),a=r.length;if(0!==e[0])throw new Error("decryption error");var s=e.slice(1,a+1),c=e.slice(a+1),h=o(s,i(c,a)),f=o(c,i(h,n-a-1));if(function(t,e){t=u.from(t),e=u.from(e);var n=0,r=t.length;t.length!==e.length&&(n++,r=Math.min(t.length,e.length));for(var i=-1;++i<r;)n+=t[i]^e[i];return n}(r,f.slice(0,a)))throw new Error("decryption error");for(var d=a;0===f[d];)d++;if(1!==f[d++])throw new Error("decryption error");return f.slice(d)}(d,f);if(1===h)return function(t,e,n){for(var r=e.slice(0,2),i=2,o=0;0!==e[i++];)if(i>=e.length){o++;break}var a=e.slice(2,i-1);if(("0002"!==r.toString("hex")&&!n||"0001"!==r.toString("hex")&&n)&&o++,a.length<8&&o++,o)throw new Error("decryption error");return e.slice(i)}(0,f,n);if(3===h)return f;throw new Error("unknown padding")}},8902:(t,e,n)=>{var r=n(8170),i=n(3209),o=n(7108),a=n(8206),s=n(2061),l=n(2509),c=n(9247),u=n(7332),h=n(2861).Buffer;t.exports=function(t,e,n){var f;f=t.padding?t.padding:n?1:4;var d,p=r(t);if(4===f)d=function(t,e){var n=t.modulus.byteLength(),r=e.length,c=o("sha1").update(h.alloc(0)).digest(),u=c.length,f=2*u;if(r>n-f-2)throw new Error("message too long");var d=h.alloc(n-r-f-2),p=n-u-1,m=i(u),g=s(h.concat([c,d,h.alloc(1,1),e],p),a(m,p)),y=s(m,a(g,u));return new l(h.concat([h.alloc(1),y,g],n))}(p,e);else if(1===f)d=function(t,e,n){var r,o=e.length,a=t.modulus.byteLength();if(o>a-11)throw new Error("message too long");return r=n?h.alloc(a-o-3,255):function(t){for(var e,n=h.allocUnsafe(t),r=0,o=i(2*t),a=0;r<t;)a===o.length&&(o=i(2*t),a=0),(e=o[a++])&&(n[r++]=e);return n}(a-o-3),new l(h.concat([h.from([0,n?1:2]),r,h.alloc(1),e],a))}(p,e,n);else{if(3!==f)throw new Error("unknown padding");if((d=new l(e)).cmp(p.modulus)>=0)throw new Error("data too long for modulus")}return n?u(d,p):c(d,p)}},9247:(t,e,n)=>{var r=n(2509),i=n(2861).Buffer;t.exports=function(t,e){return i.from(t.toRed(r.mont(e.modulus)).redPow(new r(e.publicExponent)).fromRed().toArray())}},2061:t=>{t.exports=function(t,e){for(var n=t.length,r=-1;++r<n;)t[r]^=e[r];return t}},4765:t=>{"use strict";var e=String.prototype.replace,n=/%20/g,r="RFC3986";t.exports={default:r,formatters:{RFC1738:function(t){return e.call(t,n,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:r}},5373:(t,e,n)=>{"use strict";var r=n(8636),i=n(2642),o=n(4765);t.exports={formats:o,parse:i,stringify:r}},2642:(t,e,n)=>{"use strict";var r=n(7720),i=Object.prototype.hasOwnProperty,o=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},l=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},c=function(t,e,n,r){if(t){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(o),c=s?o.slice(0,s.index):o,u=[];if(c){if(!n.plainObjects&&i.call(Object.prototype,c)&&!n.allowPrototypes)return;u.push(c)}for(var h=0;n.depth>0&&null!==(s=a.exec(o))&&h<n.depth;){if(h+=1,!n.plainObjects&&i.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(s[1])}return s&&u.push("["+o.slice(s.index)+"]"),function(t,e,n,r){for(var i=r?e:l(e,n),o=t.length-1;o>=0;--o){var a,s=t[o];if("[]"===s&&n.parseArrays)a=[].concat(i);else{a=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(c,10);n.parseArrays||""!==c?!isNaN(u)&&s!==c&&String(u)===c&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(a=[])[u]=i:"__proto__"!==c&&(a[c]=i):a={0:i}}i=a}return i}(u,e,n,r)}};t.exports=function(t,e){var n=function(t){if(!t)return a;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?a.charset:t.charset;return{allowDots:void 0===t.allowDots?a.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:a.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:a.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:a.comma,decoder:"function"==typeof t.decoder?t.decoder:a.decoder,delimiter:"string"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:a.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:a.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:a.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:a.strictNullHandling}}(e);if(""===t||null==t)return n.plainObjects?Object.create(null):{};for(var u="string"==typeof t?function(t,e){var n,c={__proto__:null},u=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,h=e.parameterLimit===1/0?void 0:e.parameterLimit,f=u.split(e.delimiter,h),d=-1,p=e.charset;if(e.charsetSentinel)for(n=0;n<f.length;++n)0===f[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[n]?p="utf-8":"utf8=%26%2310003%3B"===f[n]&&(p="iso-8859-1"),d=n,n=f.length);for(n=0;n<f.length;++n)if(n!==d){var m,g,y=f[n],w=y.indexOf("]="),b=-1===w?y.indexOf("="):w+1;-1===b?(m=e.decoder(y,a.decoder,p,"key"),g=e.strictNullHandling?null:""):(m=e.decoder(y.slice(0,b),a.decoder,p,"key"),g=r.maybeMap(l(y.slice(b+1),e),(function(t){return e.decoder(t,a.decoder,p,"value")}))),g&&e.interpretNumericEntities&&"iso-8859-1"===p&&(g=s(g)),y.indexOf("[]=")>-1&&(g=o(g)?[g]:g),i.call(c,m)?c[m]=r.combine(c[m],g):c[m]=g}return c}(t,n):t,h=n.plainObjects?Object.create(null):{},f=Object.keys(u),d=0;d<f.length;++d){var p=f[d],m=c(p,u[p],n,"string"==typeof t);h=r.merge(h,m,n)}return!0===n.allowSparse?h:r.compact(h)}},8636:(t,e,n)=>{"use strict";var r=n(920),i=n(7720),o=n(4765),a=Object.prototype.hasOwnProperty,s={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},l=Array.isArray,c=Array.prototype.push,u=function(t,e){c.apply(t,l(e)?e:[e])},h=Date.prototype.toISOString,f=o.default,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:i.encode,encodeValuesOnly:!1,format:f,formatter:o.formatters[f],indices:!1,serializeDate:function(t){return h.call(t)},skipNulls:!1,strictNullHandling:!1},p={},m=function t(e,n,o,a,s,c,h,f,m,g,y,w,b,v,E,_){for(var A,M=e,T=_,x=0,S=!1;void 0!==(T=T.get(p))&&!S;){var k=T.get(e);if(x+=1,void 0!==k){if(k===x)throw new RangeError("Cyclic object value");S=!0}void 0===T.get(p)&&(x=0)}if("function"==typeof f?M=f(n,M):M instanceof Date?M=y(M):"comma"===o&&l(M)&&(M=i.maybeMap(M,(function(t){return t instanceof Date?y(t):t}))),null===M){if(s)return h&&!v?h(n,d.encoder,E,"key",w):n;M=""}if("string"==typeof(A=M)||"number"==typeof A||"boolean"==typeof A||"symbol"==typeof A||"bigint"==typeof A||i.isBuffer(M))return h?[b(v?n:h(n,d.encoder,E,"key",w))+"="+b(h(M,d.encoder,E,"value",w))]:[b(n)+"="+b(String(M))];var C,D=[];if(void 0===M)return D;if("comma"===o&&l(M))v&&h&&(M=i.maybeMap(M,h)),C=[{value:M.length>0?M.join(",")||null:void 0}];else if(l(f))C=f;else{var I=Object.keys(M);C=m?I.sort(m):I}for(var R=a&&l(M)&&1===M.length?n+"[]":n,N=0;N<C.length;++N){var O=C[N],L="object"==typeof O&&void 0!==O.value?O.value:M[O];if(!c||null!==L){var P=l(M)?"function"==typeof o?o(R,O):R:R+(g?"."+O:"["+O+"]");_.set(e,x);var F=r();F.set(p,_),u(D,t(L,P,o,a,s,c,"comma"===o&&v&&l(M)?null:h,f,m,g,y,w,b,v,E,F))}}return D};t.exports=function(t,e){var n,i=t,c=function(t){if(!t)return d;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||d.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==t.format){if(!a.call(o.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var r=o.formatters[n],i=d.filter;return("function"==typeof t.filter||l(t.filter))&&(i=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:d.addQueryPrefix,allowDots:void 0===t.allowDots?d.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:d.charsetSentinel,delimiter:void 0===t.delimiter?d.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:d.encode,encoder:"function"==typeof t.encoder?t.encoder:d.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:d.encodeValuesOnly,filter:i,format:n,formatter:r,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:d.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:d.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:d.strictNullHandling}}(e);"function"==typeof c.filter?i=(0,c.filter)("",i):l(c.filter)&&(n=c.filter);var h,f=[];if("object"!=typeof i||null===i)return"";h=e&&e.arrayFormat in s?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var p=s[h];if(e&&"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var g="comma"===p&&e&&e.commaRoundTrip;n||(n=Object.keys(i)),c.sort&&n.sort(c.sort);for(var y=r(),w=0;w<n.length;++w){var b=n[w];c.skipNulls&&null===i[b]||u(f,m(i[b],b,p,g,c.strictNullHandling,c.skipNulls,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.format,c.formatter,c.encodeValuesOnly,c.charset,y))}var v=f.join(c.delimiter),E=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?E+="utf8=%26%2310003%3B&":E+="utf8=%E2%9C%93&"),v.length>0?E+v:""}},7720:(t,e,n)=>{"use strict";var r=n(4765),i=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),s=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},r=0;r<t.length;++r)void 0!==t[r]&&(n[r]=t[r]);return n};t.exports={arrayToObject:s,assign:function(t,e){return Object.keys(e).reduce((function(t,n){return t[n]=e[n],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],r=0;r<e.length;++r)for(var i=e[r],a=i.obj[i.prop],s=Object.keys(a),l=0;l<s.length;++l){var c=s[l],u=a[c];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(e.push({obj:a,prop:c}),n.push(u))}return function(t){for(;t.length>1;){var e=t.pop(),n=e.obj[e.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&r.push(n[i]);e.obj[e.prop]=r}}}(e),t},decode:function(t,e,n){var r=t.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(t){return r}},encode:function(t,e,n,i,o){if(0===t.length)return t;var s=t;if("symbol"==typeof t?s=Symbol.prototype.toString.call(t):"string"!=typeof t&&(s=String(t)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var l="",c=0;c<s.length;++c){var u=s.charCodeAt(c);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||o===r.RFC1738&&(40===u||41===u)?l+=s.charAt(c):u<128?l+=a[u]:u<2048?l+=a[192|u>>6]+a[128|63&u]:u<55296||u>=57344?l+=a[224|u>>12]+a[128|u>>6&63]+a[128|63&u]:(c+=1,u=65536+((1023&u)<<10|1023&s.charCodeAt(c)),l+=a[240|u>>18]+a[128|u>>12&63]+a[128|u>>6&63]+a[128|63&u])}return l},isBuffer:function(t){return!(!t||"object"!=typeof t||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(o(t)){for(var n=[],r=0;r<t.length;r+=1)n.push(e(t[r]));return n}return e(t)},merge:function t(e,n,r){if(!n)return e;if("object"!=typeof n){if(o(e))e.push(n);else{if(!e||"object"!=typeof e)return[e,n];(r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(e[n]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(n);var a=e;return o(e)&&!o(n)&&(a=s(e,r)),o(e)&&o(n)?(n.forEach((function(n,o){if(i.call(e,o)){var a=e[o];a&&"object"==typeof a&&n&&"object"==typeof n?e[o]=t(a,n,r):e.push(n)}else e[o]=n})),e):Object.keys(n).reduce((function(e,o){var a=n[o];return i.call(e,o)?e[o]=t(e[o],a,r):e[o]=a,e}),a)}}},9792:(t,e,n)=>{var r=n(6698),i=n(7007).EventEmitter;function o(t){if(!(this instanceof o))return new o(t);i.call(this),t=t||{},this.concurrency=t.concurrency||1/0,this.timeout=t.timeout||0,this.autostart=t.autostart||!1,this.results=t.results||null,this.pending=0,this.session=0,this.running=!1,this.jobs=[],this.timers={}}function a(){for(var t in this.timers){var e=this.timers[t];delete this.timers[t],clearTimeout(e)}}function s(t){var e=this;function n(t){e.end(t)}this.on("error",n),this.on("end",(function r(i){e.removeListener("error",n),e.removeListener("end",r),t(i,this.results)}))}function l(t){this.session++,this.running=!1,this.emit("end",t)}t.exports=o,t.exports.default=o,r(o,i),["pop","shift","indexOf","lastIndexOf"].forEach((function(t){o.prototype[t]=function(){return Array.prototype[t].apply(this.jobs,arguments)}})),o.prototype.slice=function(t,e){return this.jobs=this.jobs.slice(t,e),this},o.prototype.reverse=function(){return this.jobs.reverse(),this},["push","unshift","splice"].forEach((function(t){o.prototype[t]=function(){var e=Array.prototype[t].apply(this.jobs,arguments);return this.autostart&&this.start(),e}})),Object.defineProperty(o.prototype,"length",{get:function(){return this.pending+this.jobs.length}}),o.prototype.start=function(t){if(t&&s.call(this,t),this.running=!0,!(this.pending>=this.concurrency))if(0!==this.jobs.length){var e=this,n=this.jobs.shift(),r=!0,i=this.session,o=null,a=!1,c=null,u=n.hasOwnProperty("timeout")?n.timeout:this.timeout;u&&(o=setTimeout((function(){a=!0,e.listeners("timeout").length>0?e.emit("timeout",f,n):f()}),u),this.timers[o]=o),this.results&&(c=this.results.length,this.results[c]=null),this.pending++,e.emit("start",n);var h=n(f);h&&h.then&&"function"==typeof h.then&&h.then((function(t){return f(null,t)})).catch((function(t){return f(t||!0)})),this.running&&this.jobs.length>0&&this.start()}else 0===this.pending&&l.call(this);function f(t,s){r&&e.session===i&&(r=!1,e.pending--,null!==o&&(delete e.timers[o],clearTimeout(o)),t?e.emit("error",t,n):!1===a&&(null!==c&&(e.results[c]=Array.prototype.slice.call(arguments,1)),e.emit("success",s,n)),e.session===i&&(0===e.pending&&0===e.jobs.length?l.call(e):e.running&&e.start()))}},o.prototype.stop=function(){this.running=!1},o.prototype.end=function(t){a.call(this),this.jobs.length=0,this.pending=0,l.call(this,t)}},3209:(t,e,n)=>{"use strict";var r=65536,i=n(2861).Buffer,o=n.g.crypto||n.g.msCrypto;o&&o.getRandomValues?t.exports=function(t,e){if(t>4294967295)throw new RangeError("requested too many random bytes");var n=i.allocUnsafe(t);if(t>0)if(t>r)for(var a=0;a<t;a+=r)o.getRandomValues(n.slice(a,a+r));else o.getRandomValues(n);return"function"==typeof e?{env:{}}.nextTick((function(){e(null,n)})):n}:t.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},6983:(t,e,n)=>{"use strict";function r(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var i=n(2861),o=n(3209),a=i.Buffer,s=i.kMaxLength,l=n.g.crypto||n.g.msCrypto,c=Math.pow(2,32)-1;function u(t,e){if("number"!=typeof t||t!=t)throw new TypeError("offset must be a number");if(t>c||t<0)throw new TypeError("offset must be a uint32");if(t>s||t>e)throw new RangeError("offset out of range")}function h(t,e,n){if("number"!=typeof t||t!=t)throw new TypeError("size must be a number");if(t>c||t<0)throw new TypeError("size must be a uint32");if(t+e>n||t>s)throw new RangeError("buffer too small")}function f(t,e,n,r){if({env:{}}.browser){var i=t.buffer,a=new Uint8Array(i,e,n);return l.getRandomValues(a),r?void{env:{}}.nextTick((function(){r(null,t)})):t}if(!r)return o(n).copy(t,e),t;o(n,(function(n,i){if(n)return r(n);i.copy(t,e),r(null,t)}))}l&&l.getRandomValues||!{env:{}}.browser?(e.randomFill=function(t,e,r,i){if(!(a.isBuffer(t)||t instanceof n.g.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof e)i=e,e=0,r=t.length;else if("function"==typeof r)i=r,r=t.length-e;else if("function"!=typeof i)throw new TypeError('"cb" argument must be a function');return u(e,t.length),h(r,e,t.length),f(t,e,r,i)},e.randomFillSync=function(t,e,r){if(void 0===e&&(e=0),!(a.isBuffer(t)||t instanceof n.g.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return u(e,t.length),void 0===r&&(r=t.length-e),h(r,e,t.length),f(t,e,r)}):(e.randomFill=r,e.randomFillSync=r)},6011:(t,e,n)=>{"use strict";var r=n(8287).Buffer,i=n(6698),o=n(4729),a=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],l=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],c=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],u=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],h=[0,1518500249,1859775393,2400959708,2840853838],f=[1352829926,1548603684,1836072691,2053994217,0];function d(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(t,e){return t<<e|t>>>32-e}function m(t,e,n,r,i,o,a,s){return p(t+(e^n^r)+o+a|0,s)+i|0}function g(t,e,n,r,i,o,a,s){return p(t+(e&n|~e&r)+o+a|0,s)+i|0}function y(t,e,n,r,i,o,a,s){return p(t+((e|~n)^r)+o+a|0,s)+i|0}function w(t,e,n,r,i,o,a,s){return p(t+(e&r|n&~r)+o+a|0,s)+i|0}function b(t,e,n,r,i,o,a,s){return p(t+(e^(n|~r))+o+a|0,s)+i|0}i(d,o),d.prototype._update=function(){for(var t=a,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);for(var n=0|this._a,r=0|this._b,i=0|this._c,o=0|this._d,d=0|this._e,v=0|this._a,E=0|this._b,_=0|this._c,A=0|this._d,M=0|this._e,T=0;T<80;T+=1){var x,S;T<16?(x=m(n,r,i,o,d,t[s[T]],h[0],c[T]),S=b(v,E,_,A,M,t[l[T]],f[0],u[T])):T<32?(x=g(n,r,i,o,d,t[s[T]],h[1],c[T]),S=w(v,E,_,A,M,t[l[T]],f[1],u[T])):T<48?(x=y(n,r,i,o,d,t[s[T]],h[2],c[T]),S=y(v,E,_,A,M,t[l[T]],f[2],u[T])):T<64?(x=w(n,r,i,o,d,t[s[T]],h[3],c[T]),S=g(v,E,_,A,M,t[l[T]],f[3],u[T])):(x=b(n,r,i,o,d,t[s[T]],h[4],c[T]),S=m(v,E,_,A,M,t[l[T]],f[4],u[T])),n=d,d=o,o=p(i,10),i=r,r=x,v=M,M=A,A=p(_,10),_=E,E=S}var k=this._b+i+A|0;this._b=this._c+o+M|0,this._c=this._d+d+v|0,this._d=this._e+n+E|0,this._e=this._a+r+_|0,this._a=k},d.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=r.alloc?r.alloc(20):new r(20);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t.writeInt32LE(this._e,16),t},t.exports=d},2861:(t,e,n)=>{var r=n(8287),i=r.Buffer;function o(t,e){for(var n in t)e[n]=t[n]}function a(t,e,n){return i(t,e,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(o(r,e),e.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(t,e,n){if("number"==typeof t)throw new TypeError("Argument must not be a number");return i(t,e,n)},a.alloc=function(t,e,n){if("number"!=typeof t)throw new TypeError("Argument must be a number");var r=i(t);return void 0!==e?"string"==typeof n?r.fill(e,n):r.fill(e):r.fill(0),r},a.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return i(t)},a.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return r.SlowBuffer(t)}},4774:(t,e,n)=>{"use strict";var r,i=n(8287),o=i.Buffer,a={};for(r in i)i.hasOwnProperty(r)&&"SlowBuffer"!==r&&"Buffer"!==r&&(a[r]=i[r]);var s=a.Buffer={};for(r in o)o.hasOwnProperty(r)&&"allocUnsafe"!==r&&"allocUnsafeSlow"!==r&&(s[r]=o[r]);if(a.Buffer.prototype=o.prototype,s.from&&s.from!==Uint8Array.from||(s.from=function(t,e,n){if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof t);if(t&&void 0===t.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);return o(t,e,n)}),s.alloc||(s.alloc=function(t,e,n){if("number"!=typeof t)throw new TypeError('The "size" argument must be of type number. Received type '+typeof t);if(t<0||t>=2*(1<<30))throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=o(t);return e&&0!==e.length?"string"==typeof n?r.fill(e,n):r.fill(e):r.fill(0),r}),!a.kStringMaxLength)try{a.kStringMaxLength={env:{}}.binding("buffer").kStringMaxLength}catch(t){}a.constants||(a.constants={MAX_LENGTH:a.kMaxLength},a.kStringMaxLength&&(a.constants.MAX_STRING_LENGTH=a.kStringMaxLength)),t.exports=a},392:(t,e,n)=>{var r=n(2861).Buffer;function i(t,e){this._block=r.alloc(t),this._finalSize=e,this._blockSize=t,this._len=0}i.prototype.update=function(t,e){"string"==typeof t&&(e=e||"utf8",t=r.from(t,e));for(var n=this._block,i=this._blockSize,o=t.length,a=this._len,s=0;s<o;){for(var l=a%i,c=Math.min(o-s,i-l),u=0;u<c;u++)n[l+u]=t[s+u];s+=c,(a+=c)%i==0&&this._update(n)}return this._len+=o,this},i.prototype.digest=function(t){var e=this._len%this._blockSize;this._block[e]=128,this._block.fill(0,e+1),e>=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,i=(n-r)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var o=this._hash();return t?o.toString(t):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=i},2802:(t,e,n)=>{var r=t.exports=function(t){t=t.toLowerCase();var e=r[t];if(!e)throw new Error(t+" is not supported (we accept pull requests)");return new e};r.sha=n(7816),r.sha1=n(3737),r.sha224=n(6710),r.sha256=n(4107),r.sha384=n(2827),r.sha512=n(2890)},7816:(t,e,n)=>{var r=n(6698),i=n(392),o=n(2861).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function l(){this.init(),this._w=s,i.call(this,64,56)}function c(t){return t<<30|t>>>2}function u(t,e,n,r){return 0===t?e&n|~e&r:2===t?e&n|e&r|n&r:e^n^r}r(l,i),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(t){for(var e,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,l=0|this._e,h=0;h<16;++h)n[h]=t.readInt32BE(4*h);for(;h<80;++h)n[h]=n[h-3]^n[h-8]^n[h-14]^n[h-16];for(var f=0;f<80;++f){var d=~~(f/20),p=0|((e=r)<<5|e>>>27)+u(d,i,o,s)+l+n[f]+a[d];l=s,s=o,o=c(i),i=r,r=p}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=l+this._e|0},l.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=l},3737:(t,e,n)=>{var r=n(6698),i=n(392),o=n(2861).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function l(){this.init(),this._w=s,i.call(this,64,56)}function c(t){return t<<5|t>>>27}function u(t){return t<<30|t>>>2}function h(t,e,n,r){return 0===t?e&n|~e&r:2===t?e&n|e&r|n&r:e^n^r}r(l,i),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(t){for(var e,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,l=0|this._e,f=0;f<16;++f)n[f]=t.readInt32BE(4*f);for(;f<80;++f)n[f]=(e=n[f-3]^n[f-8]^n[f-14]^n[f-16])<<1|e>>>31;for(var d=0;d<80;++d){var p=~~(d/20),m=c(r)+h(p,i,o,s)+l+n[d]+a[p]|0;l=s,s=o,o=u(i),i=r,r=m}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=l+this._e|0},l.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=l},6710:(t,e,n)=>{var r=n(6698),i=n(4107),o=n(392),a=n(2861).Buffer,s=new Array(64);function l(){this.init(),this._w=s,o.call(this,64,56)}r(l,i),l.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},l.prototype._hash=function(){var t=a.allocUnsafe(28);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t},t.exports=l},4107:(t,e,n)=>{var r=n(6698),i=n(392),o=n(2861).Buffer,a=[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],s=new Array(64);function l(){this.init(),this._w=s,i.call(this,64,56)}function c(t,e,n){return n^t&(e^n)}function u(t,e,n){return t&e|n&(t|e)}function h(t){return(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function f(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function d(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}r(l,i),l.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},l.prototype._update=function(t){for(var e,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,l=0|this._e,p=0|this._f,m=0|this._g,g=0|this._h,y=0;y<16;++y)n[y]=t.readInt32BE(4*y);for(;y<64;++y)n[y]=0|(((e=n[y-2])>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)+n[y-7]+d(n[y-15])+n[y-16];for(var w=0;w<64;++w){var b=g+f(l)+c(l,p,m)+a[w]+n[w]|0,v=h(r)+u(r,i,o)|0;g=m,m=p,p=l,l=s+b|0,s=o,o=i,i=r,r=b+v|0}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=l+this._e|0,this._f=p+this._f|0,this._g=m+this._g|0,this._h=g+this._h|0},l.prototype._hash=function(){var t=o.allocUnsafe(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},t.exports=l},2827:(t,e,n)=>{var r=n(6698),i=n(2890),o=n(392),a=n(2861).Buffer,s=new Array(160);function l(){this.init(),this._w=s,o.call(this,128,112)}r(l,i),l.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},l.prototype._hash=function(){var t=a.allocUnsafe(48);function e(e,n,r){t.writeInt32BE(e,r),t.writeInt32BE(n,r+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),t},t.exports=l},2890:(t,e,n)=>{var r=n(6698),i=n(392),o=n(2861).Buffer,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function l(){this.init(),this._w=s,i.call(this,128,112)}function c(t,e,n){return n^t&(e^n)}function u(t,e,n){return t&e|n&(t|e)}function h(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function f(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function d(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function p(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function m(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function g(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function y(t,e){return t>>>0<e>>>0?1:0}r(l,i),l.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},l.prototype._update=function(t){for(var e=this._w,n=0|this._ah,r=0|this._bh,i=0|this._ch,o=0|this._dh,s=0|this._eh,l=0|this._fh,w=0|this._gh,b=0|this._hh,v=0|this._al,E=0|this._bl,_=0|this._cl,A=0|this._dl,M=0|this._el,T=0|this._fl,x=0|this._gl,S=0|this._hl,k=0;k<32;k+=2)e[k]=t.readInt32BE(4*k),e[k+1]=t.readInt32BE(4*k+4);for(;k<160;k+=2){var C=e[k-30],D=e[k-30+1],I=d(C,D),R=p(D,C),N=m(C=e[k-4],D=e[k-4+1]),O=g(D,C),L=e[k-14],P=e[k-14+1],F=e[k-32],B=e[k-32+1],U=R+P|0,j=I+L+y(U,R)|0;j=(j=j+N+y(U=U+O|0,O)|0)+F+y(U=U+B|0,B)|0,e[k]=j,e[k+1]=U}for(var H=0;H<160;H+=2){j=e[H],U=e[H+1];var z=u(n,r,i),q=u(v,E,_),W=h(n,v),G=h(v,n),K=f(s,M),Y=f(M,s),V=a[H],X=a[H+1],Z=c(s,l,w),$=c(M,T,x),Q=S+Y|0,J=b+K+y(Q,S)|0;J=(J=(J=J+Z+y(Q=Q+$|0,$)|0)+V+y(Q=Q+X|0,X)|0)+j+y(Q=Q+U|0,U)|0;var tt=G+q|0,et=W+z+y(tt,G)|0;b=w,S=x,w=l,x=T,l=s,T=M,s=o+J+y(M=A+Q|0,A)|0,o=i,A=_,i=r,_=E,r=n,E=v,n=J+et+y(v=Q+tt|0,Q)|0}this._al=this._al+v|0,this._bl=this._bl+E|0,this._cl=this._cl+_|0,this._dl=this._dl+A|0,this._el=this._el+M|0,this._fl=this._fl+T|0,this._gl=this._gl+x|0,this._hl=this._hl+S|0,this._ah=this._ah+n+y(this._al,v)|0,this._bh=this._bh+r+y(this._bl,E)|0,this._ch=this._ch+i+y(this._cl,_)|0,this._dh=this._dh+o+y(this._dl,A)|0,this._eh=this._eh+s+y(this._el,M)|0,this._fh=this._fh+l+y(this._fl,T)|0,this._gh=this._gh+w+y(this._gl,x)|0,this._hh=this._hh+b+y(this._hl,S)|0},l.prototype._hash=function(){var t=o.allocUnsafe(64);function e(e,n,r){t.writeInt32BE(e,r),t.writeInt32BE(n,r+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t},t.exports=l},920:(t,e,n)=>{"use strict";var r=n(453),i=n(8075),o=n(8859),a=r("%TypeError%"),s=r("%WeakMap%",!0),l=r("%Map%",!0),c=i("WeakMap.prototype.get",!0),u=i("WeakMap.prototype.set",!0),h=i("WeakMap.prototype.has",!0),f=i("Map.prototype.get",!0),d=i("Map.prototype.set",!0),p=i("Map.prototype.has",!0),m=function(t,e){for(var n,r=t;null!==(n=r.next);r=n)if(n.key===e)return r.next=n.next,n.next=t.next,t.next=n,n};t.exports=function(){var t,e,n,r={assert:function(t){if(!r.has(t))throw new a("Side channel does not contain "+o(t))},get:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(t)return c(t,r)}else if(l){if(e)return f(e,r)}else if(n)return function(t,e){var n=m(t,e);return n&&n.value}(n,r)},has:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(t)return h(t,r)}else if(l){if(e)return p(e,r)}else if(n)return function(t,e){return!!m(t,e)}(n,r);return!1},set:function(r,i){s&&r&&("object"==typeof r||"function"==typeof r)?(t||(t=new s),u(t,r,i)):l?(e||(e=new l),d(e,r,i)):(n||(n={key:{},next:null}),function(t,e,n){var r=m(t,e);r?r.value=n:t.next={key:e,next:t.next,value:n}}(n,r,i))}};return r}},8310:(t,e,n)=>{t.exports=i;var r=n(7007).EventEmitter;function i(){r.call(this)}n(6698)(i,r),i.Readable=n(6891),i.Writable=n(1999),i.Duplex=n(8101),i.Transform=n(9083),i.PassThrough=n(3681),i.finished=n(4257),i.pipeline=n(5267),i.Stream=i,i.prototype.pipe=function(t,e){var n=this;function i(e){t.writable&&!1===t.write(e)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",i),t.on("drain",o),t._isStdio||e&&!1===e.end||(n.on("end",s),n.on("close",l));var a=!1;function s(){a||(a=!0,t.end())}function l(){a||(a=!0,"function"==typeof t.destroy&&t.destroy())}function c(t){if(u(),0===r.listenerCount(this,"error"))throw t}function u(){n.removeListener("data",i),t.removeListener("drain",o),n.removeListener("end",s),n.removeListener("close",l),n.removeListener("error",c),t.removeListener("error",c),n.removeListener("end",u),n.removeListener("close",u),t.removeListener("close",u)}return n.on("error",c),t.on("error",c),n.on("end",u),n.on("close",u),t.on("close",u),t.emit("pipe",n),t}},2463:t=>{"use strict";var e={};function n(t,n,r){r||(r=Error);var i=function(t){var e,r;function i(e,r,i){return t.call(this,function(t,e,r){return"string"==typeof n?n:n(t,e,r)}(e,r,i))||this}return r=t,(e=i).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r,i}(r);i.prototype.name=r.name,i.prototype.code=t,e[t]=i}function r(t,e){if(Array.isArray(t)){var n=t.length;return t=t.map((function(t){return String(t)})),n>2?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:2===n?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}n("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),n("ERR_INVALID_ARG_TYPE",(function(t,e,n){var i,o,a,s,l;if("string"==typeof e&&(o="not ",e.substr(0,4)===o)?(i="must not be",e=e.replace(/^not /,"")):i="must be",function(t,e,n){return(void 0===n||n>t.length)&&(n=t.length),t.substring(n-9,n)===e}(t," argument"))a="The ".concat(t," ").concat(i," ").concat(r(e,"type"));else{var c=("number"!=typeof l&&(l=0),l+1>(s=t).length||-1===s.indexOf(".",l)?"argument":"property");a='The "'.concat(t,'" ').concat(c," ").concat(i," ").concat(r(e,"type"))}return a+". Received type ".concat(typeof n)}),TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.F=e},8101:(t,e,n)=>{"use strict";var r=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=c;var i=n(6891),o=n(1999);n(6698)(c,i);for(var a=r(o.prototype),s=0;s<a.length;s++){var l=a[s];c.prototype[l]||(c.prototype[l]=o.prototype[l])}function c(t){if(!(this instanceof c))return new c(t);i.call(this,t),o.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",u)))}function u(){this._writableState.ended||{env:{}}.nextTick(h,this)}function h(t){t.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}})},3681:(t,e,n)=>{"use strict";t.exports=i;var r=n(9083);function i(t){if(!(this instanceof i))return new i(t);r.call(this,t)}n(6698)(i,r),i.prototype._transform=function(t,e,n){n(null,t)}},6891:(t,e,n)=>{"use strict";var r;t.exports=M,M.ReadableState=A,n(7007).EventEmitter;var i,o=function(t,e){return t.listeners(e).length},a=n(1396),s=n(8287).Buffer,l=(void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},c=n(7199);i=c&&c.debuglog?c.debuglog("stream"):function(){};var u,h,f,d=n(1766),p=n(4347),m=n(6644).getHighWaterMark,g=n(2463).F,y=g.ERR_INVALID_ARG_TYPE,w=g.ERR_STREAM_PUSH_AFTER_EOF,b=g.ERR_METHOD_NOT_IMPLEMENTED,v=g.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n(6698)(M,a);var E=p.errorOrDestroy,_=["error","close","destroy","pause","resume"];function A(t,e,i){r=r||n(8101),t=t||{},"boolean"!=typeof i&&(i=e instanceof r),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=m(this,t,"readableHighWaterMark",i),this.buffer=new d,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!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(u||(u=n(3141).I),this.decoder=new u(t.encoding),this.encoding=t.encoding)}function M(t){if(r=r||n(8101),!(this instanceof M))return new M(t);var e=this instanceof r;this._readableState=new A(t,this,e),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),a.call(this)}function T(t,e,n,r,o){i("readableAddChunk",e);var a,c=t._readableState;if(null===e)c.reading=!1,function(t,e){if(i("onEofChunk"),!e.ended){if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,e.sync?C(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,D(t)))}}(t,c);else if(o||(a=function(t,e){var n,r;return r=e,s.isBuffer(r)||r instanceof l||"string"==typeof e||void 0===e||t.objectMode||(n=new y("chunk",["string","Buffer","Uint8Array"],e)),n}(c,e)),a)E(t,a);else if(c.objectMode||e&&e.length>0)if("string"==typeof e||c.objectMode||Object.getPrototypeOf(e)===s.prototype||(e=function(t){return s.from(t)}(e)),r)c.endEmitted?E(t,new v):x(t,c,e,!0);else if(c.ended)E(t,new w);else{if(c.destroyed)return!1;c.reading=!1,c.decoder&&!n?(e=c.decoder.write(e),c.objectMode||0!==e.length?x(t,c,e,!1):I(t,c)):x(t,c,e,!1)}else r||(c.reading=!1,I(t,c));return!c.ended&&(c.length<c.highWaterMark||0===c.length)}function x(t,e,n,r){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",n)):(e.length+=e.objectMode?1:n.length,r?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&C(t)),I(t,e)}Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),M.prototype.destroy=p.destroy,M.prototype._undestroy=p.undestroy,M.prototype._destroy=function(t,e){e(t)},M.prototype.push=function(t,e){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof t&&((e=e||r.defaultEncoding)!==r.encoding&&(t=s.from(t,e),e=""),n=!0),T(this,t,e,!1,n)},M.prototype.unshift=function(t){return T(this,t,null,!0,!1)},M.prototype.isPaused=function(){return!1===this._readableState.flowing},M.prototype.setEncoding=function(t){u||(u=n(3141).I);var e=new u(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i="";null!==r;)i+=e.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var S=1073741824;function k(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=S?t=S:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function C(t){var e=t._readableState;i("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(i("emitReadable",e.flowing),e.emittedReadable=!0,{env:{}}.nextTick(D,t))}function D(t){var e=t._readableState;i("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,P(t)}function I(t,e){e.readingMore||(e.readingMore=!0,{env:{}}.nextTick(R,t,e))}function R(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length);){var n=e.length;if(i("maybeReadMore read 0"),t.read(0),n===e.length)break}e.readingMore=!1}function N(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function O(t){i("readable nexttick read 0"),t.read(0)}function L(t,e){i("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),P(t),e.flowing&&!e.reading&&t.read(0)}function P(t){var e=t._readableState;for(i("flow",e.flowing);e.flowing&&null!==t.read(););}function F(t,e){return 0===e.length?null:(e.objectMode?n=e.buffer.shift():!t||t>=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):n=e.buffer.consume(t,e.decoder),n);var n}function B(t){var e=t._readableState;i("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,{env:{}}.nextTick(U,e,t))}function U(t,e){if(i("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var n=e._writableState;(!n||n.autoDestroy&&n.finished)&&e.destroy()}}function j(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}M.prototype.read=function(t){i("read",t),t=parseInt(t,10);var e=this._readableState,n=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&((0!==e.highWaterMark?e.length>=e.highWaterMark:e.length>0)||e.ended))return i("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?B(this):C(this),null;if(0===(t=k(t,e))&&e.ended)return 0===e.length&&B(this),null;var r,o=e.needReadable;return i("need readable",o),(0===e.length||e.length-t<e.highWaterMark)&&i("length less than watermark",o=!0),e.ended||e.reading?i("reading or ended",o=!1):o&&(i("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=k(n,e))),null===(r=t>0?F(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&B(this)),null!==r&&this.emit("data",r),r},M.prototype._read=function(t){E(this,new b("_read()"))},M.prototype.pipe=function(t,e){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=t;break;case 1:r.pipes=[r.pipes,t];break;default:r.pipes.push(t)}r.pipesCount+=1,i("pipe count=%d opts=%j",r.pipesCount,e);var a=e&&!1===e.end||t==={env:{}}.stdout||t==={env:{}}.stderr?p:s;function s(){i("onend"),t.end()}r.endEmitted?{env:{}}.nextTick(a):n.once("end",a),t.on("unpipe",(function e(o,a){i("onunpipe"),o===n&&a&&!1===a.hasUnpiped&&(a.hasUnpiped=!0,i("cleanup"),t.removeListener("close",f),t.removeListener("finish",d),t.removeListener("drain",l),t.removeListener("error",h),t.removeListener("unpipe",e),n.removeListener("end",s),n.removeListener("end",p),n.removeListener("data",u),c=!0,!r.awaitDrain||t._writableState&&!t._writableState.needDrain||l())}));var l=function(t){return function(){var e=t._readableState;i("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&o(t,"data")&&(e.flowing=!0,P(t))}}(n);t.on("drain",l);var c=!1;function u(e){i("ondata");var o=t.write(e);i("dest.write",o),!1===o&&((1===r.pipesCount&&r.pipes===t||r.pipesCount>1&&-1!==j(r.pipes,t))&&!c&&(i("false write response, pause",r.awaitDrain),r.awaitDrain++),n.pause())}function h(e){i("onerror",e),p(),t.removeListener("error",h),0===o(t,"error")&&E(t,e)}function f(){t.removeListener("finish",d),p()}function d(){i("onfinish"),t.removeListener("close",f),p()}function p(){i("unpipe"),n.unpipe(t)}return n.on("data",u),function(t,e,n){if("function"==typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}(t,"error",h),t.once("close",f),t.once("finish",d),t.emit("pipe",n),r.flowing||(i("pipe resume"),n.resume()),t},M.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var r=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=j(e.pipes,t);return-1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,n)),this},M.prototype.on=function(t,e){var n=a.prototype.on.call(this,t,e),r=this._readableState;return"data"===t?(r.readableListening=this.listenerCount("readable")>0,!1!==r.flowing&&this.resume()):"readable"===t&&(r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,i("on readable",r.length,r.reading),r.length?C(this):r.reading||{env:{}}.nextTick(O,this))),n},M.prototype.addListener=M.prototype.on,M.prototype.removeListener=function(t,e){var n=a.prototype.removeListener.call(this,t,e);return"readable"===t&&{env:{}}.nextTick(N,this),n},M.prototype.removeAllListeners=function(t){var e=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||{env:{}}.nextTick(N,this),e},M.prototype.resume=function(){var t=this._readableState;return t.flowing||(i("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,{env:{}}.nextTick(L,t,e))}(this,t)),t.paused=!1,this},M.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},M.prototype.wrap=function(t){var e=this,n=this._readableState,r=!1;for(var o in t.on("end",(function(){if(i("wrapped end"),n.decoder&&!n.ended){var t=n.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(o){i("wrapped data"),n.decoder&&(o=n.decoder.write(o)),n.objectMode&&null==o||(n.objectMode||o&&o.length)&&(e.push(o)||(r=!0,t.pause()))})),t)void 0===this[o]&&"function"==typeof t[o]&&(this[o]=function(e){return function(){return t[e].apply(t,arguments)}}(o));for(var a=0;a<_.length;a++)t.on(_[a],this.emit.bind(this,_[a]));return this._read=function(e){i("wrapped _read",e),r&&(r=!1,t.resume())},this},"function"==typeof Symbol&&(M.prototype[Symbol.asyncIterator]=function(){return void 0===h&&(h=n(5034)),h(this)}),Object.defineProperty(M.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(M.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(M.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),M._fromList=F,Object.defineProperty(M.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(M.from=function(t,e){return void 0===f&&(f=n(968)),f(M,t,e)})},9083:(t,e,n)=>{"use strict";t.exports=u;var r=n(2463).F,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=r.ERR_TRANSFORM_WITH_LENGTH_0,l=n(8101);function c(t,e){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=e&&this.push(e),r(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function u(t){if(!(this instanceof u))return new u(t);l.call(this,t),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",h)}function h(){var t=this;"function"!=typeof this._flush||this._readableState.destroyed?f(this,null,null):this._flush((function(e,n){f(t,e,n)}))}function f(t,e,n){if(e)return t.emit("error",e);if(null!=n&&t.push(n),t._writableState.length)throw new s;if(t._transformState.transforming)throw new a;return t.push(null)}n(6698)(u,l),u.prototype.push=function(t,e){return this._transformState.needTransform=!1,l.prototype.push.call(this,t,e)},u.prototype._transform=function(t,e,n){n(new i("_transform()"))},u.prototype._write=function(t,e,n){var r=this._transformState;if(r.writecb=n,r.writechunk=t,r.writeencoding=e,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},u.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},u.prototype._destroy=function(t,e){l.prototype._destroy.call(this,t,(function(t){e(t)}))}},1999:(t,e,n)=>{"use strict";function r(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,n){var r=t.entry;for(t.entry=null;r;){var i=r.callback;e.pendingcb--,i(undefined),r=r.next}e.corkedRequestsFree.next=t}(e,t)}}var i;t.exports=M,M.WritableState=A;var o,a={deprecate:n(4643)},s=n(1396),l=n(8287).Buffer,c=(void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},u=n(4347),h=n(6644).getHighWaterMark,f=n(2463).F,d=f.ERR_INVALID_ARG_TYPE,p=f.ERR_METHOD_NOT_IMPLEMENTED,m=f.ERR_MULTIPLE_CALLBACK,g=f.ERR_STREAM_CANNOT_PIPE,y=f.ERR_STREAM_DESTROYED,w=f.ERR_STREAM_NULL_VALUES,b=f.ERR_STREAM_WRITE_AFTER_END,v=f.ERR_UNKNOWN_ENCODING,E=u.errorOrDestroy;function _(){}function A(t,e,o){i=i||n(8101),t=t||{},"boolean"!=typeof o&&(o=e instanceof i),this.objectMode=!!t.objectMode,o&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=h(this,t,"writableHighWaterMark",o),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===t.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var n=t._writableState,r=n.sync,i=n.writecb;if("function"!=typeof i)throw new m;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),e)!function(t,e,n,r,i){--e.pendingcb,n?({env:{}}.nextTick(i,r),{env:{}}.nextTick(D,t,e),t._writableState.errorEmitted=!0,E(t,r)):(i(r),t._writableState.errorEmitted=!0,E(t,r),D(t,e))}(t,n,r,e,i);else{var o=k(n)||t.destroyed;o||n.corked||n.bufferProcessing||!n.bufferedRequest||S(t,n),r?{env:{}}.nextTick(x,t,n,o,i):x(t,n,o,i)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}function M(t){var e=this instanceof(i=i||n(8101));if(!e&&!o.call(M,this))return new M(t);this._writableState=new A(t,this,e),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),s.call(this)}function T(t,e,n,r,i,o,a){e.writelen=r,e.writecb=a,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new y("write")):n?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function x(t,e,n,r){n||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,r(),D(t,e)}function S(t,e){e.bufferProcessing=!0;var n=e.bufferedRequest;if(t._writev&&n&&n.next){var i=e.bufferedRequestCount,o=new Array(i),a=e.corkedRequestsFree;a.entry=n;for(var s=0,l=!0;n;)o[s]=n,n.isBuf||(l=!1),n=n.next,s+=1;o.allBuffers=l,T(t,e,!0,e.length,o,"",a.finish),e.pendingcb++,e.lastBufferedRequest=null,a.next?(e.corkedRequestsFree=a.next,a.next=null):e.corkedRequestsFree=new r(e),e.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,u=n.encoding,h=n.callback;if(T(t,e,!1,e.objectMode?1:c.length,c,u,h),n=n.next,e.bufferedRequestCount--,e.writing)break}null===n&&(e.lastBufferedRequest=null)}e.bufferedRequest=n,e.bufferProcessing=!1}function k(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function C(t,e){t._final((function(n){e.pendingcb--,n&&E(t,n),e.prefinished=!0,t.emit("prefinish"),D(t,e)}))}function D(t,e){var n=k(e);if(n&&(function(t,e){e.prefinished||e.finalCalled||("function"!=typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,{env:{}}.nextTick(C,t,e)))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var r=t._readableState;(!r||r.autoDestroy&&r.endEmitted)&&t.destroy()}return n}n(6698)(M,s),A.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(A.prototype,"buffer",{get:a.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(o=Function.prototype[Symbol.hasInstance],Object.defineProperty(M,Symbol.hasInstance,{value:function(t){return!!o.call(this,t)||this===M&&t&&t._writableState instanceof A}})):o=function(t){return t instanceof this},M.prototype.pipe=function(){E(this,new g)},M.prototype.write=function(t,e,n){var r,i=this._writableState,o=!1,a=!i.objectMode&&(r=t,l.isBuffer(r)||r instanceof c);return a&&!l.isBuffer(t)&&(t=function(t){return l.from(t)}(t)),"function"==typeof e&&(n=e,e=null),a?e="buffer":e||(e=i.defaultEncoding),"function"!=typeof n&&(n=_),i.ending?function(t,e){var n=new b;E(t,n),{env:{}}.nextTick(e,n)}(this,n):(a||function(t,e,n,r){var i;return null===n?i=new w:"string"==typeof n||e.objectMode||(i=new d("chunk",["string","Buffer"],n)),!i||(E(t,i),{env:{}}.nextTick(r,i),!1)}(this,i,t,n))&&(i.pendingcb++,o=function(t,e,n,r,i,o){if(!n){var a=function(t,e,n){return t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=l.from(e,n)),e}(e,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=e.objectMode?1:r.length;e.length+=s;var c=e.length<e.highWaterMark;if(c||(e.needDrain=!0),e.writing||e.corked){var u=e.lastBufferedRequest;e.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},u?u.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else T(t,e,!1,s,r,i,o);return c}(this,i,a,t,e,n)),o},M.prototype.cork=function(){this._writableState.corked++},M.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||S(this,t))},M.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new v(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(M.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(M.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),M.prototype._write=function(t,e,n){n(new p("_write()"))},M.prototype._writev=null,M.prototype.end=function(t,e,n){var r=this._writableState;return"function"==typeof t?(n=t,t=null,e=null):"function"==typeof e&&(n=e,e=null),null!=t&&this.write(t,e),r.corked&&(r.corked=1,this.uncork()),r.ending||function(t,e,n){e.ending=!0,D(t,e),n&&(e.finished?{env:{}}.nextTick(n):t.once("finish",n)),e.ended=!0,t.writable=!1}(this,r,n),this},Object.defineProperty(M.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),M.prototype.destroy=u.destroy,M.prototype._undestroy=u.undestroy,M.prototype._destroy=function(t,e){e(t)}},5034:(t,e,n)=>{"use strict";var r;function i(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(4257),a=Symbol("lastResolve"),s=Symbol("lastReject"),l=Symbol("error"),c=Symbol("ended"),u=Symbol("lastPromise"),h=Symbol("handlePromise"),f=Symbol("stream");function d(t,e){return{value:t,done:e}}function p(t){var e=t[a];if(null!==e){var n=t[f].read();null!==n&&(t[u]=null,t[a]=null,t[s]=null,e(d(n,!1)))}}function m(t){({env:{}}).nextTick(p,t)}var g=Object.getPrototypeOf((function(){})),y=Object.setPrototypeOf((i(r={get stream(){return this[f]},next:function(){var t=this,e=this[l];if(null!==e)return Promise.reject(e);if(this[c])return Promise.resolve(d(void 0,!0));if(this[f].destroyed)return new Promise((function(e,n){({env:{}}).nextTick((function(){t[l]?n(t[l]):e(d(void 0,!0))}))}));var n,r=this[u];if(r)n=new Promise(function(t,e){return function(n,r){t.then((function(){e[c]?n(d(void 0,!0)):e[h](n,r)}),r)}}(r,this));else{var i=this[f].read();if(null!==i)return Promise.resolve(d(i,!1));n=new Promise(this[h])}return this[u]=n,n}},Symbol.asyncIterator,(function(){return this})),i(r,"return",(function(){var t=this;return new Promise((function(e,n){t[f].destroy(null,(function(t){t?n(t):e(d(void 0,!0))}))}))})),r),g);t.exports=function(t){var e,n=Object.create(y,(i(e={},f,{value:t,writable:!0}),i(e,a,{value:null,writable:!0}),i(e,s,{value:null,writable:!0}),i(e,l,{value:null,writable:!0}),i(e,c,{value:t._readableState.endEmitted,writable:!0}),i(e,h,{value:function(t,e){var r=n[f].read();r?(n[u]=null,n[a]=null,n[s]=null,t(d(r,!1))):(n[a]=t,n[s]=e)},writable:!0}),e));return n[u]=null,o(t,(function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=n[s];return null!==e&&(n[u]=null,n[a]=null,n[s]=null,e(t)),void(n[l]=t)}var r=n[a];null!==r&&(n[u]=null,n[a]=null,n[s]=null,r(d(void 0,!0))),n[c]=!0})),t.on("readable",m.bind(null,n)),n}},1766:(t,e,n)=>{"use strict";function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){o(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function o(t,e,n){return(e=s(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,s(r.key),r)}}function s(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}var l=n(8287).Buffer,c=n(3779).inspect,u=c&&c.custom||"inspect";t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}var e,n;return e=t,(n=[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,n=""+e.data;e=e.next;)n+=t+e.data;return n}},{key:"concat",value:function(t){if(0===this.length)return l.alloc(0);for(var e,n,r,i=l.allocUnsafe(t>>>0),o=this.head,a=0;o;)e=o.data,n=i,r=a,l.prototype.copy.call(e,n,r),a+=o.data.length,o=o.next;return i}},{key:"consume",value:function(t,e){var n;return t<this.head.data.length?(n=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):n=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var e=this.head,n=1,r=e.data;for(t-=r.length;e=e.next;){var i=e.data,o=t>i.length?i.length:t;if(o===i.length?r+=i:r+=i.slice(0,t),0==(t-=o)){o===i.length?(++n,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(t){var e=l.allocUnsafe(t),n=this.head,r=1;for(n.data.copy(e),t-=n.data.length;n=n.next;){var i=n.data,o=t>i.length?i.length:t;if(i.copy(e,e.length-t,0,o),0==(t-=o)){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,e}},{key:u,value:function(t,e){return c(this,i(i({},e),{},{depth:0,customInspect:!1}))}}])&&a(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),t}()},4347:t=>{"use strict";function e(t,e){r(t,e),n(t)}function n(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function r(t,e){t.emit("error",e)}t.exports={destroy:function(t,i){var o=this,a=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return a||s?(i?i(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,{env:{}}.nextTick(r,this,t)):{env:{}}.nextTick(r,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!i&&t?o._writableState?o._writableState.errorEmitted?{env:{}}.nextTick(n,o):(o._writableState.errorEmitted=!0,{env:{}}.nextTick(e,o,t)):{env:{}}.nextTick(e,o,t):i?({env:{}}.nextTick(n,o),i(t)):{env:{}}.nextTick(n,o)})),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(t,e){var n=t._readableState,r=t._writableState;n&&n.autoDestroy||r&&r.autoDestroy?t.destroy(e):t.emit("error",e)}}},4257:(t,e,n)=>{"use strict";var r=n(2463).F.ERR_STREAM_PREMATURE_CLOSE;function i(){}t.exports=function t(e,n,o){if("function"==typeof n)return t(e,null,n);n||(n={}),o=function(t){var e=!1;return function(){if(!e){e=!0;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.apply(this,r)}}}(o||i);var a=n.readable||!1!==n.readable&&e.readable,s=n.writable||!1!==n.writable&&e.writable,l=function(){e.writable||u()},c=e._writableState&&e._writableState.finished,u=function(){s=!1,c=!0,a||o.call(e)},h=e._readableState&&e._readableState.endEmitted,f=function(){a=!1,h=!0,s||o.call(e)},d=function(t){o.call(e,t)},p=function(){var t;return a&&!h?(e._readableState&&e._readableState.ended||(t=new r),o.call(e,t)):s&&!c?(e._writableState&&e._writableState.ended||(t=new r),o.call(e,t)):void 0},m=function(){e.req.on("finish",u)};return function(t){return t.setHeader&&"function"==typeof t.abort}(e)?(e.on("complete",u),e.on("abort",p),e.req?m():e.on("request",m)):s&&!e._writableState&&(e.on("end",l),e.on("close",l)),e.on("end",f),e.on("finish",u),!1!==n.error&&e.on("error",d),e.on("close",p),function(){e.removeListener("complete",u),e.removeListener("abort",p),e.removeListener("request",m),e.req&&e.req.removeListener("finish",u),e.removeListener("end",l),e.removeListener("close",l),e.removeListener("finish",u),e.removeListener("end",f),e.removeListener("error",d),e.removeListener("close",p)}}},968:t=>{t.exports=function(){throw new Error("Readable.from is not available in the browser")}},5267:(t,e,n)=>{"use strict";var r,i=n(2463).F,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(t){if(t)throw t}function l(t){t()}function c(t,e){return t.pipe(e)}t.exports=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var u,h=function(t){return t.length?"function"!=typeof t[t.length-1]?s:t.pop():s}(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new o("streams");var f=e.map((function(t,i){var o=i<e.length-1;return function(t,e,i,o){o=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(o);var s=!1;t.on("close",(function(){s=!0})),void 0===r&&(r=n(4257)),r(t,{readable:e,writable:i},(function(t){if(t)return o(t);s=!0,o()}));var l=!1;return function(e){if(!s&&!l)return l=!0,function(t){return t.setHeader&&"function"==typeof t.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void o(e||new a("pipe"))}}(t,o,i>0,(function(t){u||(u=t),t&&f.forEach(l),o||(f.forEach(l),h(u))}))}));return e.reduce(c)}},6644:(t,e,n)=>{"use strict";var r=n(2463).F.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(t,e,n,i){var o=function(t,e,n){return null!=t.highWaterMark?t.highWaterMark:e?t[n]:null}(e,i,n);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new r(i?n:"highWaterMark",o);return Math.floor(o)}return t.objectMode?16:16384}}},1396:(t,e,n)=>{t.exports=n(7007).EventEmitter},3141:(t,e,n)=>{"use strict";var r=n(2861).Buffer,i=r.isEncoding||function(t){switch((t=""+t)&&t.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(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){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 t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!=typeof e&&(r.isEncoding===i||!i(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=l,this.end=c,e=4;break;case"utf8":this.fillLast=s,e=4;break;case"base64":this.text=u,this.end=h,e=3;break;default:return this.write=f,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(e)}function a(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function s(t){var e=this.lastTotal-this.lastNeed,n=function(t,e,n){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==n?n:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function l(t,e){if((t.length-e)%2==0){var n=t.toString("utf16le",e);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function c(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,n)}return e}function u(t,e){var n=(t.length-e)%3;return 0===n?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function h(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function f(t){return t.toString(this.encoding)}function d(t){return t&&t.length?this.write(t):""}e.I=o,o.prototype.write=function(t){if(0===t.length)return"";var e,n;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<t.length?e?e+this.text(t,n):this.text(t,n):e||""},o.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e},o.prototype.text=function(t,e){var n=function(t,e,n){var r=e.length-1;if(r<n)return 0;var i=a(e[r]);return i>=0?(i>0&&(t.lastNeed=i-1),i):--r<n||-2===i?0:(i=a(e[r]))>=0?(i>0&&(t.lastNeed=i-2),i):--r<n||-2===i?0:(i=a(e[r]))>=0?(i>0&&(2===i?i=0:t.lastNeed=i-3),i):0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var r=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,r),t.toString("utf8",e,r)},o.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},1270:function(t,e,n){var r;t=n.nmd(t),function(i){e&&e.nodeType,t&&t.nodeType;var o="object"==typeof n.g&&n.g;o.global!==o&&o.window!==o&&o.self;var a,s=2147483647,l=36,c=26,u=38,h=700,f=/^xn--/,d=/[^\x20-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,m={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},g=l-1,y=Math.floor,w=String.fromCharCode;function b(t){throw new RangeError(m[t])}function v(t,e){for(var n=t.length,r=[];n--;)r[n]=e(t[n]);return r}function E(t,e){var n=t.split("@"),r="";return n.length>1&&(r=n[0]+"@",t=n[1]),r+v((t=t.replace(p,".")).split("."),e).join(".")}function _(t){for(var e,n,r=[],i=0,o=t.length;i<o;)(e=t.charCodeAt(i++))>=55296&&e<=56319&&i<o?56320==(64512&(n=t.charCodeAt(i++)))?r.push(((1023&e)<<10)+(1023&n)+65536):(r.push(e),i--):r.push(e);return r}function A(t){return v(t,(function(t){var e="";return t>65535&&(e+=w((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+w(t)})).join("")}function M(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function T(t,e,n){var r=0;for(t=n?y(t/h):t>>1,t+=y(t/e);t>g*c>>1;r+=l)t=y(t/g);return y(r+(g+1)*t/(t+u))}function x(t){var e,n,r,i,o,a,u,h,f,d,p,m=[],g=t.length,w=0,v=128,E=72;for((n=t.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)t.charCodeAt(r)>=128&&b("not-basic"),m.push(t.charCodeAt(r));for(i=n>0?n+1:0;i<g;){for(o=w,a=1,u=l;i>=g&&b("invalid-input"),((h=(p=t.charCodeAt(i++))-48<10?p-22:p-65<26?p-65:p-97<26?p-97:l)>=l||h>y((s-w)/a))&&b("overflow"),w+=h*a,!(h<(f=u<=E?1:u>=E+c?c:u-E));u+=l)a>y(s/(d=l-f))&&b("overflow"),a*=d;E=T(w-o,e=m.length+1,0==o),y(w/e)>s-v&&b("overflow"),v+=y(w/e),w%=e,m.splice(w++,0,v)}return A(m)}function S(t){var e,n,r,i,o,a,u,h,f,d,p,m,g,v,E,A=[];for(m=(t=_(t)).length,e=128,n=0,o=72,a=0;a<m;++a)(p=t[a])<128&&A.push(w(p));for(r=i=A.length,i&&A.push("-");r<m;){for(u=s,a=0;a<m;++a)(p=t[a])>=e&&p<u&&(u=p);for(u-e>y((s-n)/(g=r+1))&&b("overflow"),n+=(u-e)*g,e=u,a=0;a<m;++a)if((p=t[a])<e&&++n>s&&b("overflow"),p==e){for(h=n,f=l;!(h<(d=f<=o?1:f>=o+c?c:f-o));f+=l)E=h-d,v=l-d,A.push(w(M(d+E%v,0))),h=y(E/v);A.push(w(M(h,0))),o=T(n,g,r==i),n=0,++r}++n,++e}return A.join("")}a={version:"1.4.1",ucs2:{decode:_,encode:A},decode:x,encode:S,toASCII:function(t){return E(t,(function(t){return d.test(t)?"xn--"+S(t):t}))},toUnicode:function(t){return E(t,(function(t){return f.test(t)?x(t.slice(4).toLowerCase()):t}))}},void 0===(r=function(){return a}.call(e,n,e,t))||(t.exports=r)}()},8835:(t,e,n)=>{"use strict";var r=n(1270);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(l),u=["%","/","?",";","#"].concat(c),h=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=n(5373);function w(t,e,n){if(t&&"object"==typeof t&&t instanceof i)return t;var r=new i;return r.parse(t,e,n),r}i.prototype.parse=function(t,e,n){if("string"!=typeof t)throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var i=t.indexOf("?"),a=-1!==i&&i<t.indexOf("#")?"?":"#",l=t.split(a);l[0]=l[0].replace(/\\/g,"/");var w=t=l.join(a);if(w=w.trim(),!n&&1===t.split("#").length){var b=s.exec(w);if(b)return this.path=w,this.href=w,this.pathname=b[1],b[2]?(this.search=b[2],this.query=e?y.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var v=o.exec(w);if(v){var E=(v=v[0]).toLowerCase();this.protocol=E,w=w.substr(v.length)}if(n||v||w.match(/^\/\/[^@/]+@[^@/]+/)){var _="//"===w.substr(0,2);!_||v&&m[v]||(w=w.substr(2),this.slashes=!0)}if(!m[v]&&(_||v&&!g[v])){for(var A,M,T=-1,x=0;x<h.length;x++)-1!==(S=w.indexOf(h[x]))&&(-1===T||S<T)&&(T=S);for(-1!==(M=-1===T?w.lastIndexOf("@"):w.lastIndexOf("@",T))&&(A=w.slice(0,M),w=w.slice(M+1),this.auth=decodeURIComponent(A)),T=-1,x=0;x<u.length;x++){var S;-1!==(S=w.indexOf(u[x]))&&(-1===T||S<T)&&(T=S)}-1===T&&(T=w.length),this.host=w.slice(0,T),w=w.slice(T),this.parseHost(),this.hostname=this.hostname||"";var k="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!k)for(var C=this.hostname.split(/\./),D=(x=0,C.length);x<D;x++){var I=C[x];if(I&&!I.match(f)){for(var R="",N=0,O=I.length;N<O;N++)I.charCodeAt(N)>127?R+="x":R+=I[N];if(!R.match(f)){var L=C.slice(0,x),P=C.slice(x+1),F=I.match(d);F&&(L.push(F[1]),P.unshift(F[2])),P.length&&(w="/"+P.join(".")+w),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),k||(this.hostname=r.toASCII(this.hostname));var B=this.port?":"+this.port:"",U=this.hostname||"";this.host=U+B,this.href+=this.host,k&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==w[0]&&(w="/"+w))}if(!p[E])for(x=0,D=c.length;x<D;x++){var j=c[x];if(-1!==w.indexOf(j)){var H=encodeURIComponent(j);H===j&&(H=escape(j)),w=w.split(j).join(H)}}var z=w.indexOf("#");-1!==z&&(this.hash=w.substr(z),w=w.slice(0,z));var q=w.indexOf("?");if(-1!==q?(this.search=w.substr(q),this.query=w.substr(q+1),e&&(this.query=y.parse(this.query)),w=w.slice(0,q)):e&&(this.search="",this.query={}),w&&(this.pathname=w),g[E]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){B=this.pathname||"";var W=this.search||"";this.path=B+W}return this.href=this.format(),this},i.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,o="";this.host?i=t+this.host:this.hostname&&(i=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&"object"==typeof this.query&&Object.keys(this.query).length&&(o=y.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var a=this.search||o&&"?"+o||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||g[e])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),e+i+(n=n.replace(/[?#]/g,(function(t){return encodeURIComponent(t)})))+(a=a.replace("#","%23"))+r},i.prototype.resolve=function(t){return this.resolveObject(w(t,!1,!0)).format()},i.prototype.resolveObject=function(t){if("string"==typeof t){var e=new i;e.parse(t,!1,!0),t=e}for(var n=new i,r=Object.keys(this),o=0;o<r.length;o++){var a=r[o];n[a]=this[a]}if(n.hash=t.hash,""===t.href)return n.href=n.format(),n;if(t.slashes&&!t.protocol){for(var s=Object.keys(t),l=0;l<s.length;l++){var c=s[l];"protocol"!==c&&(n[c]=t[c])}return g[n.protocol]&&n.hostname&&!n.pathname&&(n.pathname="/",n.path=n.pathname),n.href=n.format(),n}if(t.protocol&&t.protocol!==n.protocol){if(!g[t.protocol]){for(var u=Object.keys(t),h=0;h<u.length;h++){var f=u[h];n[f]=t[f]}return n.href=n.format(),n}if(n.protocol=t.protocol,t.host||m[t.protocol])n.pathname=t.pathname;else{for(var d=(t.pathname||"").split("/");d.length&&!(t.host=d.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==d[0]&&d.unshift(""),d.length<2&&d.unshift(""),n.pathname=d.join("/")}if(n.search=t.search,n.query=t.query,n.host=t.host||"",n.auth=t.auth,n.hostname=t.hostname||t.host,n.port=t.port,n.pathname||n.search){var p=n.pathname||"",y=n.search||"";n.path=p+y}return n.slashes=n.slashes||t.slashes,n.href=n.format(),n}var w=n.pathname&&"/"===n.pathname.charAt(0),b=t.host||t.pathname&&"/"===t.pathname.charAt(0),v=b||w||n.host&&t.pathname,E=v,_=n.pathname&&n.pathname.split("/")||[],A=(d=t.pathname&&t.pathname.split("/")||[],n.protocol&&!g[n.protocol]);if(A&&(n.hostname="",n.port=null,n.host&&(""===_[0]?_[0]=n.host:_.unshift(n.host)),n.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===d[0]?d[0]=t.host:d.unshift(t.host)),t.host=null),v=v&&(""===d[0]||""===_[0])),b)n.host=t.host||""===t.host?t.host:n.host,n.hostname=t.hostname||""===t.hostname?t.hostname:n.hostname,n.search=t.search,n.query=t.query,_=d;else if(d.length)_||(_=[]),_.pop(),_=_.concat(d),n.search=t.search,n.query=t.query;else if(null!=t.search)return A&&(n.host=_.shift(),n.hostname=n.host,(k=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=k.shift(),n.hostname=k.shift(),n.host=n.hostname)),n.search=t.search,n.query=t.query,null===n.pathname&&null===n.search||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!_.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var M=_.slice(-1)[0],T=(n.host||t.host||_.length>1)&&("."===M||".."===M)||""===M,x=0,S=_.length;S>=0;S--)"."===(M=_[S])?_.splice(S,1):".."===M?(_.splice(S,1),x++):x&&(_.splice(S,1),x--);if(!v&&!E)for(;x--;x)_.unshift("..");!v||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),T&&"/"!==_.join("/").substr(-1)&&_.push("");var k,C=""===_[0]||_[0]&&"/"===_[0].charAt(0);return A&&(n.hostname=C?"":_.length?_.shift():"",n.host=n.hostname,(k=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=k.shift(),n.hostname=k.shift(),n.host=n.hostname)),(v=v||n.host&&_.length)&&!C&&_.unshift(""),_.length>0?n.pathname=_.join("/"):(n.pathname=null,n.path=null),null===n.pathname&&null===n.search||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var t=this.host,e=a.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)},e.parse=w,e.resolve=function(t,e){return w(t,!1,!0).resolve(e)},e.resolveObject=function(t,e){return t?w(t,!1,!0).resolveObject(e):e},e.format=function(t){return"string"==typeof t&&(t=w(t)),t instanceof i?t.format():i.prototype.format.call(t)},e.Url=i},4643:(t,e,n)=>{function r(t){try{if(!n.g.localStorage)return!1}catch(t){return!1}var e=n.g.localStorage[t];return null!=e&&"true"===String(e).toLowerCase()}t.exports=function(t,e){if(r("noDeprecation"))return t;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(e);r("traceDeprecation")?console.trace(e):console.warn(e),n=!0}return t.apply(this,arguments)}}},5252:()=>{},9887:()=>{},7422:()=>{},8982:()=>{},7790:()=>{},3776:()=>{},1638:()=>{},2668:()=>{},7965:()=>{},6089:()=>{},9368:()=>{},8460:()=>{},2382:()=>{},236:()=>{},8306:()=>{},4688:()=>{},2634:()=>{},1069:()=>{},3779:()=>{},7199:()=>{},4767:(t,e,n)=>{var r=n(8287).Buffer;t.exports={context:()=>({fetch:async(t,e)=>{const n=await fetch(t,e);return n.buffer=async()=>r.from(await n.arrayBuffer()),n},reset:()=>{}})}},3219:t=>{"use strict";t.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},2951:t=>{"use strict";t.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},4589:t=>{"use strict";t.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},3241:t=>{"use strict";t.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},1636:t=>{"use strict";t.exports={rE:"6.5.4"}},5579:t=>{"use strict";t.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={id:r,loaded:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var r={};return(()=>{"use strict";n.r(r),n.d(r,{Blocks:()=>DM,CellUtils:()=>eT,DOMUtils:()=>EM,FileUtils:()=>_M,Loader:()=>IM,Transformer:()=>iT,html2docx:()=>Cx,html2md:()=>kx,md2html:()=>xx,rules:()=>zM});var t={};n.r(t),n.d(t,{boolean:()=>H,booleanish:()=>z,commaOrSpaceSeparated:()=>Y,commaSeparated:()=>K,number:()=>W,overloadedBoolean:()=>q,spaceSeparated:()=>G});var e={};n.r(e),n.d(e,{attentionMarkers:()=>Sw,contentInitial:()=>Ew,disable:()=>kw,document:()=>vw,flow:()=>Aw,flowInitial:()=>_w,insideSpan:()=>xw,string:()=>Mw,text:()=>Tw});var i=n(7975);function o(t){if(t)throw t}var a=n(2849);function s(t){if("object"!=typeof t||null===t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)}function l(t){return t&&"object"==typeof t?"position"in t||"type"in t?u(t.position):"start"in t||"end"in t?u(t):"line"in t||"column"in t?c(t):"":""}function c(t){return h(t&&t.line)+":"+h(t&&t.column)}function u(t){return c(t&&t.start)+"-"+c(t&&t.end)}function h(t){return t&&"number"==typeof t?t:1}class f extends Error{constructor(t,e,n){super(),"string"==typeof e&&(n=e,e=void 0);let r="",i={},o=!1;if(e&&(i="line"in e&&"column"in e||"start"in e&&"end"in e?{place:e}:"type"in e?{ancestors:[e],place:e.position}:{...e}),"string"==typeof t?r=t:!i.cause&&t&&(o=!0,r=t.message,i.cause=t),!i.ruleId&&!i.source&&"string"==typeof n){const t=n.indexOf(":");-1===t?i.ruleId=n:(i.source=n.slice(0,t),i.ruleId=n.slice(t+1))}if(!i.place&&i.ancestors&&i.ancestors){const t=i.ancestors[i.ancestors.length-1];t&&(i.place=t.position)}const a=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=a?a.line:void 0,this.name=l(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=o&&i.cause&&"string"==typeof i.cause.stack?i.cause.stack:"",this.actual,this.expected,this.note,this.url}}f.prototype.file="",f.prototype.name="",f.prototype.reason="",f.prototype.message="",f.prototype.stack="",f.prototype.column=void 0,f.prototype.line=void 0,f.prototype.ancestors=void 0,f.prototype.cause=void 0,f.prototype.fatal=void 0,f.prototype.place=void 0,f.prototype.ruleId=void 0,f.prototype.source=void 0;const d=function(t,e){if(void 0!==e&&"string"!=typeof e)throw new TypeError('"ext" argument must be a string');w(t);let n,r=0,i=-1,o=t.length;if(void 0===e||0===e.length||e.length>t.length){for(;o--;)if(47===t.codePointAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":t.slice(r,i)}if(e===t)return"";let a=-1,s=e.length-1;for(;o--;)if(47===t.codePointAt(o)){if(n){r=o+1;break}}else a<0&&(n=!0,a=o+1),s>-1&&(t.codePointAt(o)===e.codePointAt(s--)?s<0&&(i=o):(s=-1,i=a));return r===i?i=a:i<0&&(i=t.length),t.slice(r,i)},p=function(t){if(w(t),0===t.length)return".";let e,n=-1,r=t.length;for(;--r;)if(47===t.codePointAt(r)){if(e){n=r;break}}else e||(e=!0);return n<0?47===t.codePointAt(0)?"/":".":1===n&&47===t.codePointAt(0)?"//":t.slice(0,n)},m=function(t){w(t);let e,n=t.length,r=-1,i=0,o=-1,a=0;for(;n--;){const s=t.codePointAt(n);if(47!==s)r<0&&(e=!0,r=n+1),46===s?o<0?o=n:1!==a&&(a=1):o>-1&&(a=-1);else if(e){i=n+1;break}}return o<0||r<0||0===a||1===a&&o===r-1&&o===i+1?"":t.slice(o,r)},g=function(...t){let e,n=-1;for(;++n<t.length;)w(t[n]),t[n]&&(e=void 0===e?t[n]:e+"/"+t[n]);return void 0===e?".":function(t){w(t);const e=47===t.codePointAt(0);let n=function(t,e){let n,r,i="",o=0,a=-1,s=0,l=-1;for(;++l<=t.length;){if(l<t.length)n=t.codePointAt(l);else{if(47===n)break;n=47}if(47===n){if(a===l-1||1===s);else if(a!==l-1&&2===s){if(i.length<2||2!==o||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2))if(i.length>2){if(r=i.lastIndexOf("/"),r!==i.length-1){r<0?(i="",o=0):(i=i.slice(0,r),o=i.length-1-i.lastIndexOf("/")),a=l,s=0;continue}}else if(i.length>0){i="",o=0,a=l,s=0;continue}e&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+t.slice(a+1,l):i=t.slice(a+1,l),o=l-a-1;a=l,s=0}else 46===n&&s>-1?s++:s=-1}return i}(t,!e);return 0!==n.length||e||(n="."),n.length>0&&47===t.codePointAt(t.length-1)&&(n+="/"),e?"/"+n:n}(e)},y="/";function w(t){if("string"!=typeof t)throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}const b=function(){return"/"};function v(t){return Boolean(null!==t&&"object"==typeof t&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&void 0===t.auth)}const E=["history","path","basename","stem","extname","dirname"];class _{constructor(t){let e;e=t?v(t)?{path:t}:"string"==typeof t||function(t){return Boolean(t&&"object"==typeof t&&"byteLength"in t&&"byteOffset"in t)}(t)?{value:t}:t:{},this.cwd=b(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n,r=-1;for(;++r<E.length;){const t=E[r];t in e&&void 0!==e[t]&&null!==e[t]&&(this[t]="history"===t?[...e[t]]:e[t])}for(n in e)E.includes(n)||(this[n]=e[n])}get basename(){return"string"==typeof this.path?d(this.path):void 0}set basename(t){M(t,"basename"),A(t,"basename"),this.path=g(this.dirname||"",t)}get dirname(){return"string"==typeof this.path?p(this.path):void 0}set dirname(t){T(this.basename,"dirname"),this.path=g(t||"",this.basename)}get extname(){return"string"==typeof this.path?m(this.path):void 0}set extname(t){if(A(t,"extname"),T(this.dirname,"extname"),t){if(46!==t.codePointAt(0))throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=g(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){v(t)&&(t=function(t){if("string"==typeof t)t=new URL(t);else if(!v(t)){const e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if("file:"!==t.protocol){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return function(t){if(""!==t.hostname){const t=new TypeError('File URL host must be "localhost" or empty on darwin');throw t.code="ERR_INVALID_FILE_URL_HOST",t}const e=t.pathname;let n=-1;for(;++n<e.length;)if(37===e.codePointAt(n)&&50===e.codePointAt(n+1)){const t=e.codePointAt(n+2);if(70===t||102===t){const t=new TypeError("File URL path must not include encoded / characters");throw t.code="ERR_INVALID_FILE_URL_PATH",t}}return decodeURIComponent(e)}(t)}(t)),M(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return"string"==typeof this.path?d(this.path,this.extname):void 0}set stem(t){M(t,"stem"),A(t,"stem"),this.path=g(this.dirname||"",t+(this.extname||""))}fail(t,e,n){const r=this.message(t,e,n);throw r.fatal=!0,r}info(t,e,n){const r=this.message(t,e,n);return r.fatal=void 0,r}message(t,e,n){const r=new f(t,e,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(t){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(t||void 0).decode(this.value)}}function A(t,e){if(t&&t.includes(y))throw new Error("`"+e+"` cannot be a path: did not expect `"+y+"`")}function M(t,e){if(!t)throw new Error("`"+e+"` cannot be empty")}function T(t,e){if(!t)throw new Error("Setting `"+e+"` requires `path` to be set too")}const x=function(t){const e=this.constructor.prototype,n=e[t],r=function(){return n.apply(r,arguments)};Object.setPrototypeOf(r,e);const i=Object.getOwnPropertyNames(n);for(const t of i){const e=Object.getOwnPropertyDescriptor(n,t);e&&Object.defineProperty(r,t,e)}return r},S={}.hasOwnProperty;class k extends x{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){const t=[],e={run:function(...e){let n=-1;const r=e.pop();if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r);!function i(o,...a){const s=t[++n];let l=-1;if(o)r(o);else{for(;++l<e.length;)null!==a[l]&&void 0!==a[l]||(a[l]=e[l]);e=a,s?function(t,e){let n;return function(...e){const o=t.length>e.length;let a;o&&e.push(r);try{a=t.apply(this,e)}catch(t){if(o&&n)throw t;return r(t)}o||(a instanceof Promise?a.then(i,r):a instanceof Error?r(a):i(a))};function r(t,...r){n||(n=!0,e(t,...r))}function i(t){r(null,t)}}(s,i)(...a):r(null,...a)}}(null,...e)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return t.push(n),e}};return e}()}copy(){const t=new k;let e=-1;for(;++e<this.attachers.length;){const n=this.attachers[e];t.use(...n)}return t.data(a(!0,{},this.namespace)),t}data(t,e){return"string"==typeof t?2===arguments.length?(R("data",this.frozen),this.namespace[t]=e,this):S.call(this.namespace,t)&&this.namespace[t]||void 0:t?(R("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[e,...n]=this.attachers[this.freezeIndex];if(!1===n[0])continue;!0===n[0]&&(n[0]=void 0);const r=e.call(t,...n);"function"==typeof r&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const e=L(t),n=this.parser||this.Parser;return D("parse",n),n(String(e),e)}process(t,e){const n=this;return this.freeze(),D("process",this.parser||this.Parser),I("process",this.compiler||this.Compiler),e?r(void 0,e):new Promise(r);function r(r,i){const o=L(t),a=n.parse(o);function s(t,n){t||!n?i(t):r?r(n):e(void 0,n)}n.run(a,o,(function(t,e,r){if(t||!e||!r)return s(t);const i=e,o=n.stringify(i,r);!function(t){return"string"==typeof t||function(t){return Boolean(t&&"object"==typeof t&&"byteLength"in t&&"byteOffset"in t)}(t)}(o)?r.result=o:r.value=o,s(t,r)}))}}processSync(t){let e,n=!1;return this.freeze(),D("processSync",this.parser||this.Parser),I("processSync",this.compiler||this.Compiler),this.process(t,(function(t,r){n=!0,o(t),e=r})),O("processSync","process",n),e}run(t,e,n){N(t),this.freeze();const r=this.transformers;return n||"function"!=typeof e||(n=e,e=void 0),n?i(void 0,n):new Promise(i);function i(i,o){const a=L(e);r.run(t,a,(function(e,r,a){const s=r||t;e?o(e):i?i(s):n(void 0,s,a)}))}}runSync(t,e){let n,r=!1;return this.run(t,e,(function(t,e){o(t),n=e,r=!0})),O("runSync","run",r),n}stringify(t,e){this.freeze();const n=L(e),r=this.compiler||this.Compiler;return I("stringify",r),N(t),r(t,n)}use(t,...e){const n=this.attachers,r=this.namespace;if(R("use",this.frozen),null==t);else if("function"==typeof t)c(t,e);else{if("object"!=typeof t)throw new TypeError("Expected usable value, not `"+t+"`");Array.isArray(t)?l(t):o(t)}return this;function i(t){if("function"==typeof t)c(t,[]);else{if("object"!=typeof t)throw new TypeError("Expected usable value, not `"+t+"`");if(Array.isArray(t)){const[e,...n]=t;c(e,n)}else o(t)}}function o(t){if(!("plugins"in t)&&!("settings"in t))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");l(t.plugins),t.settings&&(r.settings=a(!0,r.settings,t.settings))}function l(t){let e=-1;if(null==t);else{if(!Array.isArray(t))throw new TypeError("Expected a list of plugins, not `"+t+"`");for(;++e<t.length;)i(t[e])}}function c(t,e){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===t){i=r;break}if(-1===i)n.push([t,...e]);else if(e.length>0){let[r,...o]=e;const l=n[i][1];s(l)&&s(r)&&(r=a(!0,l,r)),n[i]=[t,r,...o]}}}}const C=(new k).freeze();function D(t,e){if("function"!=typeof e)throw new TypeError("Cannot `"+t+"` without `parser`")}function I(t,e){if("function"!=typeof e)throw new TypeError("Cannot `"+t+"` without `compiler`")}function R(t,e){if(e)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function N(t){if(!s(t)||"string"!=typeof t.type)throw new TypeError("Expected node, got `"+t+"`")}function O(t,e,n){if(!n)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function L(t){return function(t){return Boolean(t&&"object"==typeof t&&"message"in t&&"messages"in t)}(t)?t:new _(t)}class P{constructor(t,e,n){this.property=t,this.normal=e,n&&(this.space=n)}}function F(t,e){const n={},r={};let i=-1;for(;++i<t.length;)Object.assign(n,t[i].property),Object.assign(r,t[i].normal);return new P(n,r,e)}function B(t){return t.toLowerCase()}P.prototype.property={},P.prototype.normal={},P.prototype.space=null;class U{constructor(t,e){this.property=t,this.attribute=e}}U.prototype.space=null,U.prototype.boolean=!1,U.prototype.booleanish=!1,U.prototype.overloadedBoolean=!1,U.prototype.number=!1,U.prototype.commaSeparated=!1,U.prototype.spaceSeparated=!1,U.prototype.commaOrSpaceSeparated=!1,U.prototype.mustUseProperty=!1,U.prototype.defined=!1;let j=0;const H=V(),z=V(),q=V(),W=V(),G=V(),K=V(),Y=V();function V(){return 2**++j}const X=Object.keys(t);class Z extends U{constructor(e,n,r,i){let o=-1;if(super(e,n),$(this,"space",i),"number"==typeof r)for(;++o<X.length;){const e=X[o];$(this,X[o],(r&t[e])===t[e])}}}function $(t,e,n){n&&(t[e]=n)}Z.prototype.defined=!0;const Q={}.hasOwnProperty;function J(t){const e={},n={};let r;for(r in t.properties)if(Q.call(t.properties,r)){const i=t.properties[r],o=new Z(r,t.transform(t.attributes||{},r),i,t.space);t.mustUseProperty&&t.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),e[r]=o,n[B(r)]=r,n[B(o.attribute)]=r}return new P(e,n,t.space)}const tt=J({space:"xlink",transform:(t,e)=>"xlink:"+e.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),et=J({space:"xml",transform:(t,e)=>"xml:"+e.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function nt(t,e){return e in t?t[e]:e}function rt(t,e){return nt(t,e.toLowerCase())}const it=J({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:rt,properties:{xmlns:null,xmlnsXLink:null}}),ot=J({transform:(t,e)=>"role"===e?e:"aria-"+e.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:z,ariaAutoComplete:null,ariaBusy:z,ariaChecked:z,ariaColCount:W,ariaColIndex:W,ariaColSpan:W,ariaControls:G,ariaCurrent:null,ariaDescribedBy:G,ariaDetails:null,ariaDisabled:z,ariaDropEffect:G,ariaErrorMessage:null,ariaExpanded:z,ariaFlowTo:G,ariaGrabbed:z,ariaHasPopup:null,ariaHidden:z,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:G,ariaLevel:W,ariaLive:null,ariaModal:z,ariaMultiLine:z,ariaMultiSelectable:z,ariaOrientation:null,ariaOwns:G,ariaPlaceholder:null,ariaPosInSet:W,ariaPressed:z,ariaReadOnly:z,ariaRelevant:null,ariaRequired:z,ariaRoleDescription:G,ariaRowCount:W,ariaRowIndex:W,ariaRowSpan:W,ariaSelected:z,ariaSetSize:W,ariaSort:null,ariaValueMax:W,ariaValueMin:W,ariaValueNow:W,ariaValueText:null,role:null}}),at=J({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:rt,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:K,acceptCharset:G,accessKey:G,action:null,allow:null,allowFullScreen:H,allowPaymentRequest:H,allowUserMedia:H,alt:null,as:null,async:H,autoCapitalize:null,autoComplete:G,autoFocus:H,autoPlay:H,blocking:G,capture:H,charSet:null,checked:H,cite:null,className:G,cols:W,colSpan:null,content:null,contentEditable:z,controls:H,controlsList:G,coords:W|K,crossOrigin:null,data:null,dateTime:null,decoding:null,default:H,defer:H,dir:null,dirName:null,disabled:H,download:q,draggable:z,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:H,formTarget:null,headers:G,height:W,hidden:H,high:W,href:null,hrefLang:null,htmlFor:G,httpEquiv:G,id:null,imageSizes:null,imageSrcSet:null,inert:H,inputMode:null,integrity:null,is:null,isMap:H,itemId:null,itemProp:G,itemRef:G,itemScope:H,itemType:G,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:H,low:W,manifest:null,max:null,maxLength:W,media:null,method:null,min:null,minLength:W,multiple:H,muted:H,name:null,nonce:null,noModule:H,noValidate:H,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:H,optimum:W,pattern:null,ping:G,placeholder:null,playsInline:H,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:H,referrerPolicy:null,rel:G,required:H,reversed:H,rows:W,rowSpan:W,sandbox:G,scope:null,scoped:H,seamless:H,selected:H,shape:null,size:W,sizes:null,slot:null,span:W,spellCheck:z,src:null,srcDoc:null,srcLang:null,srcSet:null,start:W,step:null,style:null,tabIndex:W,target:null,title:null,translate:null,type:null,typeMustMatch:H,useMap:null,value:z,width:W,wrap:null,align:null,aLink:null,archive:G,axis:null,background:null,bgColor:null,border:W,borderColor:null,bottomMargin:W,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:H,declare:H,event:null,face:null,frame:null,frameBorder:null,hSpace:W,leftMargin:W,link:null,longDesc:null,lowSrc:null,marginHeight:W,marginWidth:W,noResize:H,noHref:H,noShade:H,noWrap:H,object:null,profile:null,prompt:null,rev:null,rightMargin:W,rules:null,scheme:null,scrolling:z,standby:null,summary:null,text:null,topMargin:W,valueType:null,version:null,vAlign:null,vLink:null,vSpace:W,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:H,disableRemotePlayback:H,prefix:null,property:null,results:W,security:null,unselectable:null}}),st=J({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:nt,properties:{about:Y,accentHeight:W,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:W,amplitude:W,arabicForm:null,ascent:W,attributeName:null,attributeType:null,azimuth:W,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:W,by:null,calcMode:null,capHeight:W,className:G,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:W,diffuseConstant:W,direction:null,display:null,dur:null,divisor:W,dominantBaseline:null,download:H,dx:null,dy:null,edgeMode:null,editable:null,elevation:W,enableBackground:null,end:null,event:null,exponent:W,externalResourcesRequired:null,fill:null,fillOpacity:W,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:K,g2:K,glyphName:K,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:W,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:W,horizOriginX:W,horizOriginY:W,id:null,ideographic:W,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:W,k:W,k1:W,k2:W,k3:W,k4:W,kernelMatrix:Y,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:W,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:W,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:W,overlineThickness:W,paintOrder:null,panose1:null,path:null,pathLength:W,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:G,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:W,pointsAtY:W,pointsAtZ:W,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Y,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Y,rev:Y,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Y,requiredFeatures:Y,requiredFonts:Y,requiredFormats:Y,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:W,specularExponent:W,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:W,strikethroughThickness:W,string:null,stroke:null,strokeDashArray:Y,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:W,strokeOpacity:W,strokeWidth:null,style:null,surfaceScale:W,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Y,tabIndex:W,tableValues:null,target:null,targetX:W,targetY:W,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Y,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:W,underlineThickness:W,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:W,values:null,vAlphabetic:W,vMathematical:W,vectorEffect:null,vHanging:W,vIdeographic:W,version:null,vertAdvY:W,vertOriginX:W,vertOriginY:W,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:W,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),lt=F([et,tt,it,ot,at],"html"),ct=F([et,tt,it,ot,st],"svg");function ut(t){const e=[],n=String(t||"");let r=n.indexOf(","),i=0,o=!1;for(;!o;){-1===r&&(r=n.length,o=!0);const t=n.slice(i,r).trim();!t&&o||e.push(t),i=r+1,r=n.indexOf(",",i)}return e}function ht(t,e){const n=e||{};return(""===t[t.length-1]?[...t,""]:t).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}const ft=/[#.]/g,dt=/^data[-\w.:]+$/i,pt=/-[a-z]/g,mt=/[A-Z]/g;function gt(t,e){const n=B(e);let r=e,i=U;if(n in t.normal)return t.property[t.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&dt.test(e)){if("-"===e.charAt(4)){const t=e.slice(5).replace(pt,wt);r="data"+t.charAt(0).toUpperCase()+t.slice(1)}else{const t=e.slice(4);if(!pt.test(t)){let n=t.replace(mt,yt);"-"!==n.charAt(0)&&(n="-"+n),e="data"+n}}i=Z}return new i(r,e)}function yt(t){return"-"+t.toLowerCase()}function wt(t){return t.charAt(1).toUpperCase()}function bt(t){const e=String(t||"").trim();return e?e.split(/[ \t\n\r\f]+/g):[]}function vt(t){return t.join(" ").trim()}const Et=new Set(["button","menu","reset","submit"]),_t={}.hasOwnProperty;function At(t,e,n){const r=n&&function(t){const e={};let n=-1;for(;++n<t.length;)e[t[n].toLowerCase()]=t[n];return e}(n);return function(n,i,...o){let a,s=-1;if(null==n){a={type:"root",children:[]};const t=i;o.unshift(t)}else if(a=function(t,e){const n=t||"",r={};let i,o,a=0;for(;a<n.length;){ft.lastIndex=a;const t=ft.exec(n),e=n.slice(a,t?t.index:n.length);e&&(i?"#"===i?r.id=e:Array.isArray(r.className)?r.className.push(e):r.className=[e]:o=e,a+=e.length),t&&(i=t[0],a++)}return{type:"element",tagName:o||e||"div",properties:r,children:[]}}(n,e),a.tagName=a.tagName.toLowerCase(),r&&_t.call(r,a.tagName)&&(a.tagName=r[a.tagName]),function(t,e){return null!=t&&"object"==typeof t&&!Array.isArray(t)&&("input"===e||!t.type||"string"!=typeof t.type||(!("children"in t)||!Array.isArray(t.children))&&("button"===e?Et.has(t.type.toLowerCase()):!("value"in t)))}(i,a.tagName)){let e;for(e in i)_t.call(i,e)&&Mt(t,a.properties,e,i[e])}else o.unshift(i);for(;++s<o.length;)Tt(a.children,o[s]);return"element"===a.type&&"template"===a.tagName&&(a.content={type:"root",children:a.children},a.children=[]),a}}function Mt(t,e,n,r){const i=gt(t,n);let o,a=-1;if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;o=r}else o="boolean"==typeof r?r:"string"==typeof r?i.spaceSeparated?bt(r):i.commaSeparated?ut(r):i.commaOrSpaceSeparated?bt(ut(r).join(" ")):xt(i,i.property,r):Array.isArray(r)?r.concat():"style"===i.property?function(t){const e=[];let n;for(n in t)_t.call(t,n)&&e.push([n,t[n]].join(": "));return e.join("; ")}(r):String(r);if(Array.isArray(o)){const t=[];for(;++a<o.length;){const e=xt(i,i.property,o[a]);t[a]=e}o=t}if("className"===i.property&&Array.isArray(e.className)){const t=o;o=e.className.concat(t)}e[i.property]=o}}function Tt(t,e){let n=-1;if(null==e);else if("string"==typeof e||"number"==typeof e)t.push({type:"text",value:String(e)});else if(Array.isArray(e))for(;++n<e.length;)Tt(t,e[n]);else{if("object"!=typeof e||!("type"in e))throw new Error("Expected node, nodes, or string, got `"+e+"`");"root"===e.type?Tt(t,e.children):t.push(e)}}function xt(t,e,n){if("string"==typeof n){if(t.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((t.boolean||t.overloadedBoolean)&&(""===n||B(n)===B(e)))return!0}return n}const St=At(lt,"div"),kt=At(ct,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]),Ct=/\r?\n|\r/g,Dt={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},It={}.hasOwnProperty,Rt=Object.prototype;function Nt(t,e){const n=e||{};return Ot({file:n.file||void 0,location:!1,schema:"svg"===n.space?ct:lt,verbose:n.verbose||!1},t)}function Ot(t,e){let n;switch(e.nodeName){case"#comment":{const r=e;return n={type:"comment",value:r.data},Pt(t,r,n),n}case"#document":case"#document-fragment":{const r=e,i="mode"in r&&("quirks"===r.mode||"limited-quirks"===r.mode);if(n={type:"root",children:Lt(t,e.childNodes),data:{quirksMode:i}},t.file&&t.location){const e=String(t.file),r=function(t){const e=String(t),n=[];for(Ct.lastIndex=0;Ct.test(e);)n.push(Ct.lastIndex);return n.push(e.length+1),{toPoint:function(t){let e=-1;if("number"==typeof t&&t>-1&&t<n[n.length-1])for(;++e<n.length;)if(n[e]>t)return{line:e+1,column:t-(e>0?n[e-1]:0)+1,offset:t}},toOffset:function(t){const e=t&&t.line,r=t&&t.column;if("number"==typeof e&&"number"==typeof r&&!Number.isNaN(e)&&!Number.isNaN(r)&&e-1 in n){const t=(n[e-2]||0)+r-1||0;if(t>-1&&t<n[n.length-1])return t}}}}(e),i=r.toPoint(0),o=r.toPoint(e.length);n.position={start:i,end:o}}return n}case"#documentType":return n={type:"doctype"},Pt(t,e,n),n;case"#text":{const r=e;return n={type:"text",value:r.value},Pt(t,r,n),n}default:return n=function(t,e){const n=t.schema;t.schema=e.namespaceURI===Dt.svg?ct:lt;let r=-1;const i={};for(;++r<e.attrs.length;){const t=e.attrs[r],n=(t.prefix?t.prefix+":":"")+t.name;It.call(Rt,n)||(i[n]=t.value)}const o=("svg"===t.schema.space?kt:St)(e.tagName,i,Lt(t,e.childNodes));if(Pt(t,e,o),"template"===o.tagName){const n=e,r=n.sourceCodeLocation,i=r&&r.startTag&&Ft(r.startTag),a=r&&r.endTag&&Ft(r.endTag),s=Ot(t,n.content);i&&a&&t.file&&(s.position={start:i.end,end:a.start}),o.content=s}return t.schema=n,o}(t,e),n}}function Lt(t,e){let n=-1;const r=[];for(;++n<e.length;){const i=Ot(t,e[n]);r.push(i)}return r}function Pt(t,e,n){if("sourceCodeLocation"in e&&e.sourceCodeLocation&&t.file){const r=function(t,e,n){const r=Ft(n);if("element"===e.type){const i=e.children[e.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),t.verbose){const r={};let i;if(n.attrs)for(i in n.attrs)It.call(n.attrs,i)&&(r[gt(t.schema,i).property]=Ft(n.attrs[i]));n.startTag;const o=Ft(n.startTag),a=n.endTag?Ft(n.endTag):void 0,s={opening:o};a&&(s.closing=a),s.properties=r,e.data={position:s}}}return r}(t,n,e.sourceCodeLocation);r&&(t.location=!0,n.position=r)}}function Ft(t){const e=Bt({line:t.startLine,column:t.startCol,offset:t.startOffset}),n=Bt({line:t.endLine,column:t.endCol,offset:t.endOffset});return e||n?{start:e,end:n}:void 0}function Bt(t){return t.line&&t.column?t:void 0}const Ut=new Set([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]),jt="�";var Ht;!function(t){t[t.EOF=-1]="EOF",t[t.NULL=0]="NULL",t[t.TABULATION=9]="TABULATION",t[t.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",t[t.LINE_FEED=10]="LINE_FEED",t[t.FORM_FEED=12]="FORM_FEED",t[t.SPACE=32]="SPACE",t[t.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",t[t.QUOTATION_MARK=34]="QUOTATION_MARK",t[t.NUMBER_SIGN=35]="NUMBER_SIGN",t[t.AMPERSAND=38]="AMPERSAND",t[t.APOSTROPHE=39]="APOSTROPHE",t[t.HYPHEN_MINUS=45]="HYPHEN_MINUS",t[t.SOLIDUS=47]="SOLIDUS",t[t.DIGIT_0=48]="DIGIT_0",t[t.DIGIT_9=57]="DIGIT_9",t[t.SEMICOLON=59]="SEMICOLON",t[t.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",t[t.EQUALS_SIGN=61]="EQUALS_SIGN",t[t.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",t[t.QUESTION_MARK=63]="QUESTION_MARK",t[t.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",t[t.LATIN_CAPITAL_F=70]="LATIN_CAPITAL_F",t[t.LATIN_CAPITAL_X=88]="LATIN_CAPITAL_X",t[t.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",t[t.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",t[t.GRAVE_ACCENT=96]="GRAVE_ACCENT",t[t.LATIN_SMALL_A=97]="LATIN_SMALL_A",t[t.LATIN_SMALL_F=102]="LATIN_SMALL_F",t[t.LATIN_SMALL_X=120]="LATIN_SMALL_X",t[t.LATIN_SMALL_Z=122]="LATIN_SMALL_Z",t[t.REPLACEMENT_CHARACTER=65533]="REPLACEMENT_CHARACTER"}(Ht=Ht||(Ht={}));const zt="[CDATA[",qt="doctype",Wt="script";function Gt(t){return t>=55296&&t<=57343}function Kt(t){return 32!==t&&10!==t&&13!==t&&9!==t&&12!==t&&t>=1&&t<=31||t>=127&&t<=159}function Yt(t){return t>=64976&&t<=65007||Ut.has(t)}var Vt,Xt;!function(t){t.controlCharacterInInputStream="control-character-in-input-stream",t.noncharacterInInputStream="noncharacter-in-input-stream",t.surrogateInInputStream="surrogate-in-input-stream",t.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",t.endTagWithAttributes="end-tag-with-attributes",t.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",t.unexpectedSolidusInTag="unexpected-solidus-in-tag",t.unexpectedNullCharacter="unexpected-null-character",t.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",t.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",t.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",t.missingEndTagName="missing-end-tag-name",t.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",t.unknownNamedCharacterReference="unknown-named-character-reference",t.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",t.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",t.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",t.eofBeforeTagName="eof-before-tag-name",t.eofInTag="eof-in-tag",t.missingAttributeValue="missing-attribute-value",t.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",t.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",t.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",t.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",t.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",t.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",t.missingDoctypePublicIdentifier="missing-doctype-public-identifier",t.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",t.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",t.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",t.cdataInHtmlContent="cdata-in-html-content",t.incorrectlyOpenedComment="incorrectly-opened-comment",t.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",t.eofInDoctype="eof-in-doctype",t.nestedComment="nested-comment",t.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",t.eofInComment="eof-in-comment",t.incorrectlyClosedComment="incorrectly-closed-comment",t.eofInCdata="eof-in-cdata",t.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",t.nullCharacterReference="null-character-reference",t.surrogateCharacterReference="surrogate-character-reference",t.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",t.controlCharacterReference="control-character-reference",t.noncharacterCharacterReference="noncharacter-character-reference",t.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",t.missingDoctypeName="missing-doctype-name",t.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",t.duplicateAttribute="duplicate-attribute",t.nonConformingDoctype="non-conforming-doctype",t.missingDoctype="missing-doctype",t.misplacedDoctype="misplaced-doctype",t.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",t.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",t.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",t.openElementsLeftAfterEof="open-elements-left-after-eof",t.abandonedHeadElementChild="abandoned-head-element-child",t.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",t.nestedNoscriptInHead="nested-noscript-in-head",t.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"}(Vt=Vt||(Vt={}));class Zt{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t){const{line:e,col:n,offset:r}=this;return{code:t,startLine:e,endLine:e,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const e=this.html.charCodeAt(this.pos+1);if(function(t){return t>=56320&&t<=57343}(e))return this.pos++,this._addGap(),1024*(t-55296)+9216+e}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,Ht.EOF;return this._err(Vt.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,e){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=e}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,e){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(e)return this.html.startsWith(t,this.pos);for(let e=0;e<t.length;e++)if((32|this.html.charCodeAt(this.pos+e))!==t.charCodeAt(e))return!1;return!0}peek(t){const e=this.pos+t;if(e>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Ht.EOF;const n=this.html.charCodeAt(e);return n===Ht.CARRIAGE_RETURN?Ht.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Ht.EOF;let t=this.html.charCodeAt(this.pos);return t===Ht.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,Ht.LINE_FEED):t===Ht.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Gt(t)&&(t=this._processSurrogate(t)),null===this.handler.onParseError||t>31&&t<127||t===Ht.LINE_FEED||t===Ht.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){Kt(t)?this._err(Vt.controlCharacterInInputStream):Yt(t)&&this._err(Vt.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}function $t(t,e){for(let n=t.attrs.length-1;n>=0;n--)if(t.attrs[n].name===e)return t.attrs[n].value;return null}!function(t){t[t.CHARACTER=0]="CHARACTER",t[t.NULL_CHARACTER=1]="NULL_CHARACTER",t[t.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",t[t.START_TAG=3]="START_TAG",t[t.END_TAG=4]="END_TAG",t[t.COMMENT=5]="COMMENT",t[t.DOCTYPE=6]="DOCTYPE",t[t.EOF=7]="EOF",t[t.HIBERNATION=8]="HIBERNATION"}(Xt=Xt||(Xt={}));const Qt=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((t=>t.charCodeAt(0)))),Jt=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((t=>t.charCodeAt(0))));var te;const ee=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),ne=null!==(te=String.fromCodePoint)&&void 0!==te?te:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),e+=String.fromCharCode(t),e};var re,ie,oe,ae,se,le,ce,ue,he,fe;function de(t){return t>=re.ZERO&&t<=re.NINE}function pe(t){return t>=re.UPPER_A&&t<=re.UPPER_F||t>=re.LOWER_A&&t<=re.LOWER_F}function me(t){return t===re.EQUALS||function(t){return t>=re.UPPER_A&&t<=re.UPPER_Z||t>=re.LOWER_A&&t<=re.LOWER_Z||de(t)}(t)}!function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"}(re||(re={})),function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"}(ie||(ie={})),function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"}(oe||(oe={})),function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"}(ae||(ae={}));class ge{constructor(t,e,n){this.decodeTree=t,this.emitCodePoint=e,this.errors=n,this.state=oe.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=ae.Strict}startEntity(t){this.decodeMode=t,this.state=oe.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,e){switch(this.state){case oe.EntityStart:return t.charCodeAt(e)===re.NUM?(this.state=oe.NumericStart,this.consumed+=1,this.stateNumericStart(t,e+1)):(this.state=oe.NamedEntity,this.stateNamedEntity(t,e));case oe.NumericStart:return this.stateNumericStart(t,e);case oe.NumericDecimal:return this.stateNumericDecimal(t,e);case oe.NumericHex:return this.stateNumericHex(t,e);case oe.NamedEntity:return this.stateNamedEntity(t,e)}}stateNumericStart(t,e){return e>=t.length?-1:(32|t.charCodeAt(e))===re.LOWER_X?(this.state=oe.NumericHex,this.consumed+=1,this.stateNumericHex(t,e+1)):(this.state=oe.NumericDecimal,this.stateNumericDecimal(t,e))}addToNumericResult(t,e,n,r){if(e!==n){const i=n-e;this.result=this.result*Math.pow(r,i)+parseInt(t.substr(e,i),r),this.consumed+=i}}stateNumericHex(t,e){const n=e;for(;e<t.length;){const r=t.charCodeAt(e);if(!de(r)&&!pe(r))return this.addToNumericResult(t,n,e,16),this.emitNumericEntity(r,3);e+=1}return this.addToNumericResult(t,n,e,16),-1}stateNumericDecimal(t,e){const n=e;for(;e<t.length;){const r=t.charCodeAt(e);if(!de(r))return this.addToNumericResult(t,n,e,10),this.emitNumericEntity(r,2);e+=1}return this.addToNumericResult(t,n,e,10),-1}emitNumericEntity(t,e){var n;if(this.consumed<=e)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===re.SEMI)this.consumed+=1;else if(this.decodeMode===ae.Strict)return 0;return this.emitCodePoint(function(t){var e;return t>=55296&&t<=57343||t>1114111?65533:null!==(e=ee.get(t))&&void 0!==e?e:t}(this.result),this.consumed),this.errors&&(t!==re.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,e){const{decodeTree:n}=this;let r=n[this.treeIndex],i=(r&ie.VALUE_LENGTH)>>14;for(;e<t.length;e++,this.excess++){const o=t.charCodeAt(e);if(this.treeIndex=we(n,r,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return 0===this.result||this.decodeMode===ae.Attribute&&(0===i||me(o))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&ie.VALUE_LENGTH)>>14,0!==i){if(o===re.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==ae.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:e,decodeTree:n}=this,r=(n[e]&ie.VALUE_LENGTH)>>14;return this.emitNamedEntityData(e,r,this.consumed),null===(t=this.errors)||void 0===t||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,e,n){const{decodeTree:r}=this;return this.emitCodePoint(1===e?r[t]&~ie.VALUE_LENGTH:r[t+1],n),3===e&&this.emitCodePoint(r[t+2],n),n}end(){var t;switch(this.state){case oe.NamedEntity:return 0===this.result||this.decodeMode===ae.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case oe.NumericDecimal:return this.emitNumericEntity(0,2);case oe.NumericHex:return this.emitNumericEntity(0,3);case oe.NumericStart:return null===(t=this.errors)||void 0===t||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case oe.EntityStart:return 0}}}function ye(t){let e="";const n=new ge(t,(t=>e+=ne(t)));return function(t,r){let i=0,o=0;for(;(o=t.indexOf("&",o))>=0;){e+=t.slice(i,o),n.startEntity(r);const a=n.write(t,o+1);if(a<0){i=o+n.end();break}i=o+a,o=0===a?i+1:i}const a=e+t.slice(i);return e="",a}}function we(t,e,n,r){const i=(e&ie.BRANCH_LENGTH)>>7,o=e&ie.JUMP_TABLE;if(0===i)return 0!==o&&r===o?n:-1;if(o){const e=r-o;return e<0||e>=i?-1:t[n+e]-1}let a=n,s=a+i-1;for(;a<=s;){const e=a+s>>>1,n=t[e];if(n<r)a=e+1;else{if(!(n>r))return t[e+i];s=e-1}}return-1}ye(Qt),ye(Jt),(fe=se=se||(se={})).HTML="http://www.w3.org/1999/xhtml",fe.MATHML="http://www.w3.org/1998/Math/MathML",fe.SVG="http://www.w3.org/2000/svg",fe.XLINK="http://www.w3.org/1999/xlink",fe.XML="http://www.w3.org/XML/1998/namespace",fe.XMLNS="http://www.w3.org/2000/xmlns/",function(t){t.TYPE="type",t.ACTION="action",t.ENCODING="encoding",t.PROMPT="prompt",t.NAME="name",t.COLOR="color",t.FACE="face",t.SIZE="size"}(le=le||(le={})),function(t){t.NO_QUIRKS="no-quirks",t.QUIRKS="quirks",t.LIMITED_QUIRKS="limited-quirks"}(ce=ce||(ce={})),function(t){t.A="a",t.ADDRESS="address",t.ANNOTATION_XML="annotation-xml",t.APPLET="applet",t.AREA="area",t.ARTICLE="article",t.ASIDE="aside",t.B="b",t.BASE="base",t.BASEFONT="basefont",t.BGSOUND="bgsound",t.BIG="big",t.BLOCKQUOTE="blockquote",t.BODY="body",t.BR="br",t.BUTTON="button",t.CAPTION="caption",t.CENTER="center",t.CODE="code",t.COL="col",t.COLGROUP="colgroup",t.DD="dd",t.DESC="desc",t.DETAILS="details",t.DIALOG="dialog",t.DIR="dir",t.DIV="div",t.DL="dl",t.DT="dt",t.EM="em",t.EMBED="embed",t.FIELDSET="fieldset",t.FIGCAPTION="figcaption",t.FIGURE="figure",t.FONT="font",t.FOOTER="footer",t.FOREIGN_OBJECT="foreignObject",t.FORM="form",t.FRAME="frame",t.FRAMESET="frameset",t.H1="h1",t.H2="h2",t.H3="h3",t.H4="h4",t.H5="h5",t.H6="h6",t.HEAD="head",t.HEADER="header",t.HGROUP="hgroup",t.HR="hr",t.HTML="html",t.I="i",t.IMG="img",t.IMAGE="image",t.INPUT="input",t.IFRAME="iframe",t.KEYGEN="keygen",t.LABEL="label",t.LI="li",t.LINK="link",t.LISTING="listing",t.MAIN="main",t.MALIGNMARK="malignmark",t.MARQUEE="marquee",t.MATH="math",t.MENU="menu",t.META="meta",t.MGLYPH="mglyph",t.MI="mi",t.MO="mo",t.MN="mn",t.MS="ms",t.MTEXT="mtext",t.NAV="nav",t.NOBR="nobr",t.NOFRAMES="noframes",t.NOEMBED="noembed",t.NOSCRIPT="noscript",t.OBJECT="object",t.OL="ol",t.OPTGROUP="optgroup",t.OPTION="option",t.P="p",t.PARAM="param",t.PLAINTEXT="plaintext",t.PRE="pre",t.RB="rb",t.RP="rp",t.RT="rt",t.RTC="rtc",t.RUBY="ruby",t.S="s",t.SCRIPT="script",t.SECTION="section",t.SELECT="select",t.SOURCE="source",t.SMALL="small",t.SPAN="span",t.STRIKE="strike",t.STRONG="strong",t.STYLE="style",t.SUB="sub",t.SUMMARY="summary",t.SUP="sup",t.TABLE="table",t.TBODY="tbody",t.TEMPLATE="template",t.TEXTAREA="textarea",t.TFOOT="tfoot",t.TD="td",t.TH="th",t.THEAD="thead",t.TITLE="title",t.TR="tr",t.TRACK="track",t.TT="tt",t.U="u",t.UL="ul",t.SVG="svg",t.VAR="var",t.WBR="wbr",t.XMP="xmp"}(ue=ue||(ue={})),function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.A=1]="A",t[t.ADDRESS=2]="ADDRESS",t[t.ANNOTATION_XML=3]="ANNOTATION_XML",t[t.APPLET=4]="APPLET",t[t.AREA=5]="AREA",t[t.ARTICLE=6]="ARTICLE",t[t.ASIDE=7]="ASIDE",t[t.B=8]="B",t[t.BASE=9]="BASE",t[t.BASEFONT=10]="BASEFONT",t[t.BGSOUND=11]="BGSOUND",t[t.BIG=12]="BIG",t[t.BLOCKQUOTE=13]="BLOCKQUOTE",t[t.BODY=14]="BODY",t[t.BR=15]="BR",t[t.BUTTON=16]="BUTTON",t[t.CAPTION=17]="CAPTION",t[t.CENTER=18]="CENTER",t[t.CODE=19]="CODE",t[t.COL=20]="COL",t[t.COLGROUP=21]="COLGROUP",t[t.DD=22]="DD",t[t.DESC=23]="DESC",t[t.DETAILS=24]="DETAILS",t[t.DIALOG=25]="DIALOG",t[t.DIR=26]="DIR",t[t.DIV=27]="DIV",t[t.DL=28]="DL",t[t.DT=29]="DT",t[t.EM=30]="EM",t[t.EMBED=31]="EMBED",t[t.FIELDSET=32]="FIELDSET",t[t.FIGCAPTION=33]="FIGCAPTION",t[t.FIGURE=34]="FIGURE",t[t.FONT=35]="FONT",t[t.FOOTER=36]="FOOTER",t[t.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",t[t.FORM=38]="FORM",t[t.FRAME=39]="FRAME",t[t.FRAMESET=40]="FRAMESET",t[t.H1=41]="H1",t[t.H2=42]="H2",t[t.H3=43]="H3",t[t.H4=44]="H4",t[t.H5=45]="H5",t[t.H6=46]="H6",t[t.HEAD=47]="HEAD",t[t.HEADER=48]="HEADER",t[t.HGROUP=49]="HGROUP",t[t.HR=50]="HR",t[t.HTML=51]="HTML",t[t.I=52]="I",t[t.IMG=53]="IMG",t[t.IMAGE=54]="IMAGE",t[t.INPUT=55]="INPUT",t[t.IFRAME=56]="IFRAME",t[t.KEYGEN=57]="KEYGEN",t[t.LABEL=58]="LABEL",t[t.LI=59]="LI",t[t.LINK=60]="LINK",t[t.LISTING=61]="LISTING",t[t.MAIN=62]="MAIN",t[t.MALIGNMARK=63]="MALIGNMARK",t[t.MARQUEE=64]="MARQUEE",t[t.MATH=65]="MATH",t[t.MENU=66]="MENU",t[t.META=67]="META",t[t.MGLYPH=68]="MGLYPH",t[t.MI=69]="MI",t[t.MO=70]="MO",t[t.MN=71]="MN",t[t.MS=72]="MS",t[t.MTEXT=73]="MTEXT",t[t.NAV=74]="NAV",t[t.NOBR=75]="NOBR",t[t.NOFRAMES=76]="NOFRAMES",t[t.NOEMBED=77]="NOEMBED",t[t.NOSCRIPT=78]="NOSCRIPT",t[t.OBJECT=79]="OBJECT",t[t.OL=80]="OL",t[t.OPTGROUP=81]="OPTGROUP",t[t.OPTION=82]="OPTION",t[t.P=83]="P",t[t.PARAM=84]="PARAM",t[t.PLAINTEXT=85]="PLAINTEXT",t[t.PRE=86]="PRE",t[t.RB=87]="RB",t[t.RP=88]="RP",t[t.RT=89]="RT",t[t.RTC=90]="RTC",t[t.RUBY=91]="RUBY",t[t.S=92]="S",t[t.SCRIPT=93]="SCRIPT",t[t.SECTION=94]="SECTION",t[t.SELECT=95]="SELECT",t[t.SOURCE=96]="SOURCE",t[t.SMALL=97]="SMALL",t[t.SPAN=98]="SPAN",t[t.STRIKE=99]="STRIKE",t[t.STRONG=100]="STRONG",t[t.STYLE=101]="STYLE",t[t.SUB=102]="SUB",t[t.SUMMARY=103]="SUMMARY",t[t.SUP=104]="SUP",t[t.TABLE=105]="TABLE",t[t.TBODY=106]="TBODY",t[t.TEMPLATE=107]="TEMPLATE",t[t.TEXTAREA=108]="TEXTAREA",t[t.TFOOT=109]="TFOOT",t[t.TD=110]="TD",t[t.TH=111]="TH",t[t.THEAD=112]="THEAD",t[t.TITLE=113]="TITLE",t[t.TR=114]="TR",t[t.TRACK=115]="TRACK",t[t.TT=116]="TT",t[t.U=117]="U",t[t.UL=118]="UL",t[t.SVG=119]="SVG",t[t.VAR=120]="VAR",t[t.WBR=121]="WBR",t[t.XMP=122]="XMP"}(he=he||(he={}));const be=new Map([[ue.A,he.A],[ue.ADDRESS,he.ADDRESS],[ue.ANNOTATION_XML,he.ANNOTATION_XML],[ue.APPLET,he.APPLET],[ue.AREA,he.AREA],[ue.ARTICLE,he.ARTICLE],[ue.ASIDE,he.ASIDE],[ue.B,he.B],[ue.BASE,he.BASE],[ue.BASEFONT,he.BASEFONT],[ue.BGSOUND,he.BGSOUND],[ue.BIG,he.BIG],[ue.BLOCKQUOTE,he.BLOCKQUOTE],[ue.BODY,he.BODY],[ue.BR,he.BR],[ue.BUTTON,he.BUTTON],[ue.CAPTION,he.CAPTION],[ue.CENTER,he.CENTER],[ue.CODE,he.CODE],[ue.COL,he.COL],[ue.COLGROUP,he.COLGROUP],[ue.DD,he.DD],[ue.DESC,he.DESC],[ue.DETAILS,he.DETAILS],[ue.DIALOG,he.DIALOG],[ue.DIR,he.DIR],[ue.DIV,he.DIV],[ue.DL,he.DL],[ue.DT,he.DT],[ue.EM,he.EM],[ue.EMBED,he.EMBED],[ue.FIELDSET,he.FIELDSET],[ue.FIGCAPTION,he.FIGCAPTION],[ue.FIGURE,he.FIGURE],[ue.FONT,he.FONT],[ue.FOOTER,he.FOOTER],[ue.FOREIGN_OBJECT,he.FOREIGN_OBJECT],[ue.FORM,he.FORM],[ue.FRAME,he.FRAME],[ue.FRAMESET,he.FRAMESET],[ue.H1,he.H1],[ue.H2,he.H2],[ue.H3,he.H3],[ue.H4,he.H4],[ue.H5,he.H5],[ue.H6,he.H6],[ue.HEAD,he.HEAD],[ue.HEADER,he.HEADER],[ue.HGROUP,he.HGROUP],[ue.HR,he.HR],[ue.HTML,he.HTML],[ue.I,he.I],[ue.IMG,he.IMG],[ue.IMAGE,he.IMAGE],[ue.INPUT,he.INPUT],[ue.IFRAME,he.IFRAME],[ue.KEYGEN,he.KEYGEN],[ue.LABEL,he.LABEL],[ue.LI,he.LI],[ue.LINK,he.LINK],[ue.LISTING,he.LISTING],[ue.MAIN,he.MAIN],[ue.MALIGNMARK,he.MALIGNMARK],[ue.MARQUEE,he.MARQUEE],[ue.MATH,he.MATH],[ue.MENU,he.MENU],[ue.META,he.META],[ue.MGLYPH,he.MGLYPH],[ue.MI,he.MI],[ue.MO,he.MO],[ue.MN,he.MN],[ue.MS,he.MS],[ue.MTEXT,he.MTEXT],[ue.NAV,he.NAV],[ue.NOBR,he.NOBR],[ue.NOFRAMES,he.NOFRAMES],[ue.NOEMBED,he.NOEMBED],[ue.NOSCRIPT,he.NOSCRIPT],[ue.OBJECT,he.OBJECT],[ue.OL,he.OL],[ue.OPTGROUP,he.OPTGROUP],[ue.OPTION,he.OPTION],[ue.P,he.P],[ue.PARAM,he.PARAM],[ue.PLAINTEXT,he.PLAINTEXT],[ue.PRE,he.PRE],[ue.RB,he.RB],[ue.RP,he.RP],[ue.RT,he.RT],[ue.RTC,he.RTC],[ue.RUBY,he.RUBY],[ue.S,he.S],[ue.SCRIPT,he.SCRIPT],[ue.SECTION,he.SECTION],[ue.SELECT,he.SELECT],[ue.SOURCE,he.SOURCE],[ue.SMALL,he.SMALL],[ue.SPAN,he.SPAN],[ue.STRIKE,he.STRIKE],[ue.STRONG,he.STRONG],[ue.STYLE,he.STYLE],[ue.SUB,he.SUB],[ue.SUMMARY,he.SUMMARY],[ue.SUP,he.SUP],[ue.TABLE,he.TABLE],[ue.TBODY,he.TBODY],[ue.TEMPLATE,he.TEMPLATE],[ue.TEXTAREA,he.TEXTAREA],[ue.TFOOT,he.TFOOT],[ue.TD,he.TD],[ue.TH,he.TH],[ue.THEAD,he.THEAD],[ue.TITLE,he.TITLE],[ue.TR,he.TR],[ue.TRACK,he.TRACK],[ue.TT,he.TT],[ue.U,he.U],[ue.UL,he.UL],[ue.SVG,he.SVG],[ue.VAR,he.VAR],[ue.WBR,he.WBR],[ue.XMP,he.XMP]]);function ve(t){var e;return null!==(e=be.get(t))&&void 0!==e?e:he.UNKNOWN}const Ee=he,_e={[se.HTML]:new Set([Ee.ADDRESS,Ee.APPLET,Ee.AREA,Ee.ARTICLE,Ee.ASIDE,Ee.BASE,Ee.BASEFONT,Ee.BGSOUND,Ee.BLOCKQUOTE,Ee.BODY,Ee.BR,Ee.BUTTON,Ee.CAPTION,Ee.CENTER,Ee.COL,Ee.COLGROUP,Ee.DD,Ee.DETAILS,Ee.DIR,Ee.DIV,Ee.DL,Ee.DT,Ee.EMBED,Ee.FIELDSET,Ee.FIGCAPTION,Ee.FIGURE,Ee.FOOTER,Ee.FORM,Ee.FRAME,Ee.FRAMESET,Ee.H1,Ee.H2,Ee.H3,Ee.H4,Ee.H5,Ee.H6,Ee.HEAD,Ee.HEADER,Ee.HGROUP,Ee.HR,Ee.HTML,Ee.IFRAME,Ee.IMG,Ee.INPUT,Ee.LI,Ee.LINK,Ee.LISTING,Ee.MAIN,Ee.MARQUEE,Ee.MENU,Ee.META,Ee.NAV,Ee.NOEMBED,Ee.NOFRAMES,Ee.NOSCRIPT,Ee.OBJECT,Ee.OL,Ee.P,Ee.PARAM,Ee.PLAINTEXT,Ee.PRE,Ee.SCRIPT,Ee.SECTION,Ee.SELECT,Ee.SOURCE,Ee.STYLE,Ee.SUMMARY,Ee.TABLE,Ee.TBODY,Ee.TD,Ee.TEMPLATE,Ee.TEXTAREA,Ee.TFOOT,Ee.TH,Ee.THEAD,Ee.TITLE,Ee.TR,Ee.TRACK,Ee.UL,Ee.WBR,Ee.XMP]),[se.MATHML]:new Set([Ee.MI,Ee.MO,Ee.MN,Ee.MS,Ee.MTEXT,Ee.ANNOTATION_XML]),[se.SVG]:new Set([Ee.TITLE,Ee.FOREIGN_OBJECT,Ee.DESC]),[se.XLINK]:new Set,[se.XML]:new Set,[se.XMLNS]:new Set};function Ae(t){return t===Ee.H1||t===Ee.H2||t===Ee.H3||t===Ee.H4||t===Ee.H5||t===Ee.H6}new Set([ue.STYLE,ue.SCRIPT,ue.XMP,ue.IFRAME,ue.NOEMBED,ue.NOFRAMES,ue.PLAINTEXT]);const Me=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);var Te;!function(t){t[t.DATA=0]="DATA",t[t.RCDATA=1]="RCDATA",t[t.RAWTEXT=2]="RAWTEXT",t[t.SCRIPT_DATA=3]="SCRIPT_DATA",t[t.PLAINTEXT=4]="PLAINTEXT",t[t.TAG_OPEN=5]="TAG_OPEN",t[t.END_TAG_OPEN=6]="END_TAG_OPEN",t[t.TAG_NAME=7]="TAG_NAME",t[t.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",t[t.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",t[t.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",t[t.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",t[t.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",t[t.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",t[t.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",t[t.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",t[t.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",t[t.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",t[t.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",t[t.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",t[t.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",t[t.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",t[t.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",t[t.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",t[t.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",t[t.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",t[t.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",t[t.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",t[t.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",t[t.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",t[t.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",t[t.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",t[t.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",t[t.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",t[t.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",t[t.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",t[t.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",t[t.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",t[t.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",t[t.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",t[t.BOGUS_COMMENT=40]="BOGUS_COMMENT",t[t.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",t[t.COMMENT_START=42]="COMMENT_START",t[t.COMMENT_START_DASH=43]="COMMENT_START_DASH",t[t.COMMENT=44]="COMMENT",t[t.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",t[t.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",t[t.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",t[t.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",t[t.COMMENT_END_DASH=49]="COMMENT_END_DASH",t[t.COMMENT_END=50]="COMMENT_END",t[t.COMMENT_END_BANG=51]="COMMENT_END_BANG",t[t.DOCTYPE=52]="DOCTYPE",t[t.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",t[t.DOCTYPE_NAME=54]="DOCTYPE_NAME",t[t.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",t[t.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",t[t.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",t[t.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",t[t.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",t[t.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",t[t.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",t[t.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",t[t.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",t[t.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",t[t.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",t[t.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",t[t.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",t[t.CDATA_SECTION=68]="CDATA_SECTION",t[t.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",t[t.CDATA_SECTION_END=70]="CDATA_SECTION_END",t[t.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",t[t.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",t[t.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",t[t.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",t[t.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",t[t.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",t[t.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",t[t.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"}(Te||(Te={}));const xe={DATA:Te.DATA,RCDATA:Te.RCDATA,RAWTEXT:Te.RAWTEXT,SCRIPT_DATA:Te.SCRIPT_DATA,PLAINTEXT:Te.PLAINTEXT,CDATA_SECTION:Te.CDATA_SECTION};function Se(t){return t>=Ht.DIGIT_0&&t<=Ht.DIGIT_9}function ke(t){return t>=Ht.LATIN_CAPITAL_A&&t<=Ht.LATIN_CAPITAL_Z}function Ce(t){return function(t){return t>=Ht.LATIN_SMALL_A&&t<=Ht.LATIN_SMALL_Z}(t)||ke(t)}function De(t){return Ce(t)||Se(t)}function Ie(t){return t>=Ht.LATIN_CAPITAL_A&&t<=Ht.LATIN_CAPITAL_F}function Re(t){return t>=Ht.LATIN_SMALL_A&&t<=Ht.LATIN_SMALL_F}function Ne(t){return t+32}function Oe(t){return t===Ht.SPACE||t===Ht.LINE_FEED||t===Ht.TABULATION||t===Ht.FORM_FEED}function Le(t){return Oe(t)||t===Ht.SOLIDUS||t===Ht.GREATER_THAN_SIGN}class Pe{constructor(t,e){this.options=t,this.handler=e,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=Te.DATA,this.returnState=Te.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Zt(e),this.currentLocation=this.getCurrentLocation(-1)}_err(t){var e,n;null===(n=(e=this.handler).onParseError)||void 0===n||n.call(e,this.preprocessor.getError(t))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==t||t())}write(t,e,n){this.active=!0,this.preprocessor.write(t,e),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(t){this.consumedAfterSnapshot-=t,this.preprocessor.retreat(t)}_reconsumeInState(t,e){this.state=t,this._callState(e)}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let e=0;e<t;e++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,e){return!!this.preprocessor.startsWith(t,e)&&(this._advanceBy(t.length-1),!0)}_createStartTagToken(){this.currentToken={type:Xt.START_TAG,tagName:"",tagID:he.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Xt.END_TAG,tagName:"",tagID:he.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:Xt.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:Xt.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,e){this.currentCharacterToken={type:t,chars:e,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,e;const n=this.currentToken;null===$t(n,this.currentAttr.name)?(n.attrs.push(this.currentAttr),n.location&&this.currentLocation&&((null!==(t=(e=n.location).attrs)&&void 0!==t?t:e.attrs=Object.create(null))[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue())):this._err(Vt.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=ve(t.tagName),t.type===Xt.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(Vt.endTagWithAttributes),t.selfClosing&&this._err(Vt.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case Xt.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case Xt.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case Xt.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:Xt.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,e){if(this.currentCharacterToken){if(this.currentCharacterToken.type===t)return void(this.currentCharacterToken.chars+=e);this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk()}this._createCharacterToken(t,e)}_emitCodePoint(t){const e=Oe(t)?Xt.WHITESPACE_CHARACTER:t===Ht.NULL?Xt.NULL_CHARACTER:Xt.CHARACTER;this._appendCharToCurrentCharacterToken(e,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(Xt.CHARACTER,t)}_matchNamedCharacterReference(t){let e=null,n=0,r=!1;for(let o=0,a=Qt[0];o>=0&&(o=we(Qt,a,o+1,t),!(o<0));t=this._consume()){n+=1,a=Qt[o];const s=a&ie.VALUE_LENGTH;if(s){const a=(s>>14)-1;if(t!==Ht.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((i=this.preprocessor.peek(1))===Ht.EQUALS_SIGN||De(i))?(e=[Ht.AMPERSAND],o+=a):(e=0===a?[Qt[o]&~ie.VALUE_LENGTH]:1===a?[Qt[++o]]:[Qt[++o],Qt[++o]],n=0,r=t!==Ht.SEMICOLON),0===a){this._consume();break}}}var i;return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(Vt.missingSemicolonAfterCharacterReference),this._unconsume(1),e}_isCharacterReferenceInAttribute(){return this.returnState===Te.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===Te.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===Te.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case Te.DATA:this._stateData(t);break;case Te.RCDATA:this._stateRcdata(t);break;case Te.RAWTEXT:this._stateRawtext(t);break;case Te.SCRIPT_DATA:this._stateScriptData(t);break;case Te.PLAINTEXT:this._statePlaintext(t);break;case Te.TAG_OPEN:this._stateTagOpen(t);break;case Te.END_TAG_OPEN:this._stateEndTagOpen(t);break;case Te.TAG_NAME:this._stateTagName(t);break;case Te.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(t);break;case Te.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(t);break;case Te.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(t);break;case Te.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(t);break;case Te.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(t);break;case Te.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(t);break;case Te.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(t);break;case Te.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(t);break;case Te.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(t);break;case Te.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(t);break;case Te.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(t);break;case Te.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(t);break;case Te.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(t);break;case Te.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(t);break;case Te.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(t);break;case Te.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(t);break;case Te.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(t);break;case Te.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(t);break;case Te.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(t);break;case Te.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(t);break;case Te.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(t);break;case Te.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(t);break;case Te.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(t);break;case Te.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(t);break;case Te.ATTRIBUTE_NAME:this._stateAttributeName(t);break;case Te.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(t);break;case Te.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(t);break;case Te.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(t);break;case Te.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(t);break;case Te.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(t);break;case Te.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(t);break;case Te.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(t);break;case Te.BOGUS_COMMENT:this._stateBogusComment(t);break;case Te.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(t);break;case Te.COMMENT_START:this._stateCommentStart(t);break;case Te.COMMENT_START_DASH:this._stateCommentStartDash(t);break;case Te.COMMENT:this._stateComment(t);break;case Te.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(t);break;case Te.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(t);break;case Te.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(t);break;case Te.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(t);break;case Te.COMMENT_END_DASH:this._stateCommentEndDash(t);break;case Te.COMMENT_END:this._stateCommentEnd(t);break;case Te.COMMENT_END_BANG:this._stateCommentEndBang(t);break;case Te.DOCTYPE:this._stateDoctype(t);break;case Te.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(t);break;case Te.DOCTYPE_NAME:this._stateDoctypeName(t);break;case Te.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(t);break;case Te.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(t);break;case Te.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(t);break;case Te.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(t);break;case Te.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(t);break;case Te.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(t);break;case Te.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break;case Te.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(t);break;case Te.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(t);break;case Te.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(t);break;case Te.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(t);break;case Te.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(t);break;case Te.BOGUS_DOCTYPE:this._stateBogusDoctype(t);break;case Te.CDATA_SECTION:this._stateCdataSection(t);break;case Te.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(t);break;case Te.CDATA_SECTION_END:this._stateCdataSectionEnd(t);break;case Te.CHARACTER_REFERENCE:this._stateCharacterReference(t);break;case Te.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(t);break;case Te.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(t);break;case Te.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(t);break;case Te.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(t);break;case Te.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(t);break;case Te.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(t);break;case Te.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(t);break;default:throw new Error("Unknown state")}}_stateData(t){switch(t){case Ht.LESS_THAN_SIGN:this.state=Te.TAG_OPEN;break;case Ht.AMPERSAND:this.returnState=Te.DATA,this.state=Te.CHARACTER_REFERENCE;break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this._emitCodePoint(t);break;case Ht.EOF:this._emitEOFToken();break;default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case Ht.AMPERSAND:this.returnState=Te.RCDATA,this.state=Te.CHARACTER_REFERENCE;break;case Ht.LESS_THAN_SIGN:this.state=Te.RCDATA_LESS_THAN_SIGN;break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this._emitChars(jt);break;case Ht.EOF:this._emitEOFToken();break;default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case Ht.LESS_THAN_SIGN:this.state=Te.RAWTEXT_LESS_THAN_SIGN;break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this._emitChars(jt);break;case Ht.EOF:this._emitEOFToken();break;default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case Ht.LESS_THAN_SIGN:this.state=Te.SCRIPT_DATA_LESS_THAN_SIGN;break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this._emitChars(jt);break;case Ht.EOF:this._emitEOFToken();break;default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this._emitChars(jt);break;case Ht.EOF:this._emitEOFToken();break;default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Ce(t))this._createStartTagToken(),this.state=Te.TAG_NAME,this._stateTagName(t);else switch(t){case Ht.EXCLAMATION_MARK:this.state=Te.MARKUP_DECLARATION_OPEN;break;case Ht.SOLIDUS:this.state=Te.END_TAG_OPEN;break;case Ht.QUESTION_MARK:this._err(Vt.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=Te.BOGUS_COMMENT,this._stateBogusComment(t);break;case Ht.EOF:this._err(Vt.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(Vt.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=Te.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Ce(t))this._createEndTagToken(),this.state=Te.TAG_NAME,this._stateTagName(t);else switch(t){case Ht.GREATER_THAN_SIGN:this._err(Vt.missingEndTagName),this.state=Te.DATA;break;case Ht.EOF:this._err(Vt.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break;default:this._err(Vt.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=Te.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const e=this.currentToken;switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:this.state=Te.BEFORE_ATTRIBUTE_NAME;break;case Ht.SOLIDUS:this.state=Te.SELF_CLOSING_START_TAG;break;case Ht.GREATER_THAN_SIGN:this.state=Te.DATA,this.emitCurrentTagToken();break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),e.tagName+=jt;break;case Ht.EOF:this._err(Vt.eofInTag),this._emitEOFToken();break;default:e.tagName+=String.fromCodePoint(ke(t)?Ne(t):t)}}_stateRcdataLessThanSign(t){t===Ht.SOLIDUS?this.state=Te.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=Te.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){Ce(t)?(this.state=Te.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=Te.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();switch(this._createEndTagToken(),this.currentToken.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=Te.BEFORE_ATTRIBUTE_NAME,!1;case Ht.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=Te.SELF_CLOSING_START_TAG,!1;case Ht.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=Te.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=Te.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===Ht.SOLIDUS?this.state=Te.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=Te.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){Ce(t)?(this.state=Te.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=Te.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=Te.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case Ht.SOLIDUS:this.state=Te.SCRIPT_DATA_END_TAG_OPEN;break;case Ht.EXCLAMATION_MARK:this.state=Te.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<"),this.state=Te.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){Ce(t)?(this.state=Te.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=Te.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=Te.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===Ht.HYPHEN_MINUS?(this.state=Te.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=Te.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===Ht.HYPHEN_MINUS?(this.state=Te.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=Te.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case Ht.HYPHEN_MINUS:this.state=Te.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case Ht.LESS_THAN_SIGN:this.state=Te.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this._emitChars(jt);break;case Ht.EOF:this._err(Vt.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case Ht.HYPHEN_MINUS:this.state=Te.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case Ht.LESS_THAN_SIGN:this.state=Te.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this.state=Te.SCRIPT_DATA_ESCAPED,this._emitChars(jt);break;case Ht.EOF:this._err(Vt.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Te.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case Ht.HYPHEN_MINUS:this._emitChars("-");break;case Ht.LESS_THAN_SIGN:this.state=Te.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case Ht.GREATER_THAN_SIGN:this.state=Te.SCRIPT_DATA,this._emitChars(">");break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this.state=Te.SCRIPT_DATA_ESCAPED,this._emitChars(jt);break;case Ht.EOF:this._err(Vt.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Te.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===Ht.SOLIDUS?this.state=Te.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Ce(t)?(this._emitChars("<"),this.state=Te.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=Te.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){Ce(t)?(this.state=Te.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=Te.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=Te.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(Wt,!1)&&Le(this.preprocessor.peek(6))){this._emitCodePoint(t);for(let t=0;t<6;t++)this._emitCodePoint(this._consume());this.state=Te.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=Te.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case Ht.HYPHEN_MINUS:this.state=Te.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case Ht.LESS_THAN_SIGN:this.state=Te.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this._emitChars(jt);break;case Ht.EOF:this._err(Vt.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case Ht.HYPHEN_MINUS:this.state=Te.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case Ht.LESS_THAN_SIGN:this.state=Te.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this.state=Te.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(jt);break;case Ht.EOF:this._err(Vt.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Te.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case Ht.HYPHEN_MINUS:this._emitChars("-");break;case Ht.LESS_THAN_SIGN:this.state=Te.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case Ht.GREATER_THAN_SIGN:this.state=Te.SCRIPT_DATA,this._emitChars(">");break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this.state=Te.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(jt);break;case Ht.EOF:this._err(Vt.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Te.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===Ht.SOLIDUS?(this.state=Te.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=Te.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(Wt,!1)&&Le(this.preprocessor.peek(6))){this._emitCodePoint(t);for(let t=0;t<6;t++)this._emitCodePoint(this._consume());this.state=Te.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=Te.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:break;case Ht.SOLIDUS:case Ht.GREATER_THAN_SIGN:case Ht.EOF:this.state=Te.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break;case Ht.EQUALS_SIGN:this._err(Vt.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=Te.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=Te.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:case Ht.SOLIDUS:case Ht.GREATER_THAN_SIGN:case Ht.EOF:this._leaveAttrName(),this.state=Te.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break;case Ht.EQUALS_SIGN:this._leaveAttrName(),this.state=Te.BEFORE_ATTRIBUTE_VALUE;break;case Ht.QUOTATION_MARK:case Ht.APOSTROPHE:case Ht.LESS_THAN_SIGN:this._err(Vt.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this.currentAttr.name+=jt;break;default:this.currentAttr.name+=String.fromCodePoint(ke(t)?Ne(t):t)}}_stateAfterAttributeName(t){switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:break;case Ht.SOLIDUS:this.state=Te.SELF_CLOSING_START_TAG;break;case Ht.EQUALS_SIGN:this.state=Te.BEFORE_ATTRIBUTE_VALUE;break;case Ht.GREATER_THAN_SIGN:this.state=Te.DATA,this.emitCurrentTagToken();break;case Ht.EOF:this._err(Vt.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=Te.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:break;case Ht.QUOTATION_MARK:this.state=Te.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case Ht.APOSTROPHE:this.state=Te.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case Ht.GREATER_THAN_SIGN:this._err(Vt.missingAttributeValue),this.state=Te.DATA,this.emitCurrentTagToken();break;default:this.state=Te.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case Ht.QUOTATION_MARK:this.state=Te.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case Ht.AMPERSAND:this.returnState=Te.ATTRIBUTE_VALUE_DOUBLE_QUOTED,this.state=Te.CHARACTER_REFERENCE;break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this.currentAttr.value+=jt;break;case Ht.EOF:this._err(Vt.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case Ht.APOSTROPHE:this.state=Te.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case Ht.AMPERSAND:this.returnState=Te.ATTRIBUTE_VALUE_SINGLE_QUOTED,this.state=Te.CHARACTER_REFERENCE;break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this.currentAttr.value+=jt;break;case Ht.EOF:this._err(Vt.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:this._leaveAttrValue(),this.state=Te.BEFORE_ATTRIBUTE_NAME;break;case Ht.AMPERSAND:this.returnState=Te.ATTRIBUTE_VALUE_UNQUOTED,this.state=Te.CHARACTER_REFERENCE;break;case Ht.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=Te.DATA,this.emitCurrentTagToken();break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this.currentAttr.value+=jt;break;case Ht.QUOTATION_MARK:case Ht.APOSTROPHE:case Ht.LESS_THAN_SIGN:case Ht.EQUALS_SIGN:case Ht.GRAVE_ACCENT:this._err(Vt.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break;case Ht.EOF:this._err(Vt.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:this._leaveAttrValue(),this.state=Te.BEFORE_ATTRIBUTE_NAME;break;case Ht.SOLIDUS:this._leaveAttrValue(),this.state=Te.SELF_CLOSING_START_TAG;break;case Ht.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=Te.DATA,this.emitCurrentTagToken();break;case Ht.EOF:this._err(Vt.eofInTag),this._emitEOFToken();break;default:this._err(Vt.missingWhitespaceBetweenAttributes),this.state=Te.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case Ht.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=Te.DATA,this.emitCurrentTagToken();break;case Ht.EOF:this._err(Vt.eofInTag),this._emitEOFToken();break;default:this._err(Vt.unexpectedSolidusInTag),this.state=Te.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const e=this.currentToken;switch(t){case Ht.GREATER_THAN_SIGN:this.state=Te.DATA,this.emitCurrentComment(e);break;case Ht.EOF:this.emitCurrentComment(e),this._emitEOFToken();break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),e.data+=jt;break;default:e.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch("--",!0)?(this._createCommentToken(3),this.state=Te.COMMENT_START):this._consumeSequenceIfMatch(qt,!1)?(this.currentLocation=this.getCurrentLocation(8),this.state=Te.DOCTYPE):this._consumeSequenceIfMatch(zt,!0)?this.inForeignNode?this.state=Te.CDATA_SECTION:(this._err(Vt.cdataInHtmlContent),this._createCommentToken(8),this.currentToken.data="[CDATA[",this.state=Te.BOGUS_COMMENT):this._ensureHibernation()||(this._err(Vt.incorrectlyOpenedComment),this._createCommentToken(2),this.state=Te.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case Ht.HYPHEN_MINUS:this.state=Te.COMMENT_START_DASH;break;case Ht.GREATER_THAN_SIGN:{this._err(Vt.abruptClosingOfEmptyComment),this.state=Te.DATA;const t=this.currentToken;this.emitCurrentComment(t);break}default:this.state=Te.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const e=this.currentToken;switch(t){case Ht.HYPHEN_MINUS:this.state=Te.COMMENT_END;break;case Ht.GREATER_THAN_SIGN:this._err(Vt.abruptClosingOfEmptyComment),this.state=Te.DATA,this.emitCurrentComment(e);break;case Ht.EOF:this._err(Vt.eofInComment),this.emitCurrentComment(e),this._emitEOFToken();break;default:e.data+="-",this.state=Te.COMMENT,this._stateComment(t)}}_stateComment(t){const e=this.currentToken;switch(t){case Ht.HYPHEN_MINUS:this.state=Te.COMMENT_END_DASH;break;case Ht.LESS_THAN_SIGN:e.data+="<",this.state=Te.COMMENT_LESS_THAN_SIGN;break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),e.data+=jt;break;case Ht.EOF:this._err(Vt.eofInComment),this.emitCurrentComment(e),this._emitEOFToken();break;default:e.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const e=this.currentToken;switch(t){case Ht.EXCLAMATION_MARK:e.data+="!",this.state=Te.COMMENT_LESS_THAN_SIGN_BANG;break;case Ht.LESS_THAN_SIGN:e.data+="<";break;default:this.state=Te.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===Ht.HYPHEN_MINUS?this.state=Te.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=Te.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===Ht.HYPHEN_MINUS?this.state=Te.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=Te.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==Ht.GREATER_THAN_SIGN&&t!==Ht.EOF&&this._err(Vt.nestedComment),this.state=Te.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const e=this.currentToken;switch(t){case Ht.HYPHEN_MINUS:this.state=Te.COMMENT_END;break;case Ht.EOF:this._err(Vt.eofInComment),this.emitCurrentComment(e),this._emitEOFToken();break;default:e.data+="-",this.state=Te.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const e=this.currentToken;switch(t){case Ht.GREATER_THAN_SIGN:this.state=Te.DATA,this.emitCurrentComment(e);break;case Ht.EXCLAMATION_MARK:this.state=Te.COMMENT_END_BANG;break;case Ht.HYPHEN_MINUS:e.data+="-";break;case Ht.EOF:this._err(Vt.eofInComment),this.emitCurrentComment(e),this._emitEOFToken();break;default:e.data+="--",this.state=Te.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const e=this.currentToken;switch(t){case Ht.HYPHEN_MINUS:e.data+="--!",this.state=Te.COMMENT_END_DASH;break;case Ht.GREATER_THAN_SIGN:this._err(Vt.incorrectlyClosedComment),this.state=Te.DATA,this.emitCurrentComment(e);break;case Ht.EOF:this._err(Vt.eofInComment),this.emitCurrentComment(e),this._emitEOFToken();break;default:e.data+="--!",this.state=Te.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:this.state=Te.BEFORE_DOCTYPE_NAME;break;case Ht.GREATER_THAN_SIGN:this.state=Te.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break;case Ht.EOF:{this._err(Vt.eofInDoctype),this._createDoctypeToken(null);const t=this.currentToken;t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(Vt.missingWhitespaceBeforeDoctypeName),this.state=Te.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(ke(t))this._createDoctypeToken(String.fromCharCode(Ne(t))),this.state=Te.DOCTYPE_NAME;else switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this._createDoctypeToken(jt),this.state=Te.DOCTYPE_NAME;break;case Ht.GREATER_THAN_SIGN:{this._err(Vt.missingDoctypeName),this._createDoctypeToken(null);const t=this.currentToken;t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Te.DATA;break}case Ht.EOF:{this._err(Vt.eofInDoctype),this._createDoctypeToken(null);const t=this.currentToken;t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=Te.DOCTYPE_NAME}}_stateDoctypeName(t){const e=this.currentToken;switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:this.state=Te.AFTER_DOCTYPE_NAME;break;case Ht.GREATER_THAN_SIGN:this.state=Te.DATA,this.emitCurrentDoctype(e);break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),e.name+=jt;break;case Ht.EOF:this._err(Vt.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:e.name+=String.fromCodePoint(ke(t)?Ne(t):t)}}_stateAfterDoctypeName(t){const e=this.currentToken;switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:break;case Ht.GREATER_THAN_SIGN:this.state=Te.DATA,this.emitCurrentDoctype(e);break;case Ht.EOF:this._err(Vt.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:this._consumeSequenceIfMatch("public",!1)?this.state=Te.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch("system",!1)?this.state=Te.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(Vt.invalidCharacterSequenceAfterDoctypeName),e.forceQuirks=!0,this.state=Te.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const e=this.currentToken;switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:this.state=Te.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case Ht.QUOTATION_MARK:this._err(Vt.missingWhitespaceAfterDoctypePublicKeyword),e.publicId="",this.state=Te.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case Ht.APOSTROPHE:this._err(Vt.missingWhitespaceAfterDoctypePublicKeyword),e.publicId="",this.state=Te.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case Ht.GREATER_THAN_SIGN:this._err(Vt.missingDoctypePublicIdentifier),e.forceQuirks=!0,this.state=Te.DATA,this.emitCurrentDoctype(e);break;case Ht.EOF:this._err(Vt.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:this._err(Vt.missingQuoteBeforeDoctypePublicIdentifier),e.forceQuirks=!0,this.state=Te.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const e=this.currentToken;switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:break;case Ht.QUOTATION_MARK:e.publicId="",this.state=Te.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case Ht.APOSTROPHE:e.publicId="",this.state=Te.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case Ht.GREATER_THAN_SIGN:this._err(Vt.missingDoctypePublicIdentifier),e.forceQuirks=!0,this.state=Te.DATA,this.emitCurrentDoctype(e);break;case Ht.EOF:this._err(Vt.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:this._err(Vt.missingQuoteBeforeDoctypePublicIdentifier),e.forceQuirks=!0,this.state=Te.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const e=this.currentToken;switch(t){case Ht.QUOTATION_MARK:this.state=Te.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),e.publicId+=jt;break;case Ht.GREATER_THAN_SIGN:this._err(Vt.abruptDoctypePublicIdentifier),e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=Te.DATA;break;case Ht.EOF:this._err(Vt.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:e.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const e=this.currentToken;switch(t){case Ht.APOSTROPHE:this.state=Te.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),e.publicId+=jt;break;case Ht.GREATER_THAN_SIGN:this._err(Vt.abruptDoctypePublicIdentifier),e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=Te.DATA;break;case Ht.EOF:this._err(Vt.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:e.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const e=this.currentToken;switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:this.state=Te.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case Ht.GREATER_THAN_SIGN:this.state=Te.DATA,this.emitCurrentDoctype(e);break;case Ht.QUOTATION_MARK:this._err(Vt.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),e.systemId="",this.state=Te.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case Ht.APOSTROPHE:this._err(Vt.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),e.systemId="",this.state=Te.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case Ht.EOF:this._err(Vt.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:this._err(Vt.missingQuoteBeforeDoctypeSystemIdentifier),e.forceQuirks=!0,this.state=Te.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const e=this.currentToken;switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:break;case Ht.GREATER_THAN_SIGN:this.emitCurrentDoctype(e),this.state=Te.DATA;break;case Ht.QUOTATION_MARK:e.systemId="",this.state=Te.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case Ht.APOSTROPHE:e.systemId="",this.state=Te.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case Ht.EOF:this._err(Vt.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:this._err(Vt.missingQuoteBeforeDoctypeSystemIdentifier),e.forceQuirks=!0,this.state=Te.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const e=this.currentToken;switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:this.state=Te.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case Ht.QUOTATION_MARK:this._err(Vt.missingWhitespaceAfterDoctypeSystemKeyword),e.systemId="",this.state=Te.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case Ht.APOSTROPHE:this._err(Vt.missingWhitespaceAfterDoctypeSystemKeyword),e.systemId="",this.state=Te.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case Ht.GREATER_THAN_SIGN:this._err(Vt.missingDoctypeSystemIdentifier),e.forceQuirks=!0,this.state=Te.DATA,this.emitCurrentDoctype(e);break;case Ht.EOF:this._err(Vt.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:this._err(Vt.missingQuoteBeforeDoctypeSystemIdentifier),e.forceQuirks=!0,this.state=Te.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const e=this.currentToken;switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:break;case Ht.QUOTATION_MARK:e.systemId="",this.state=Te.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case Ht.APOSTROPHE:e.systemId="",this.state=Te.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case Ht.GREATER_THAN_SIGN:this._err(Vt.missingDoctypeSystemIdentifier),e.forceQuirks=!0,this.state=Te.DATA,this.emitCurrentDoctype(e);break;case Ht.EOF:this._err(Vt.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:this._err(Vt.missingQuoteBeforeDoctypeSystemIdentifier),e.forceQuirks=!0,this.state=Te.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const e=this.currentToken;switch(t){case Ht.QUOTATION_MARK:this.state=Te.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),e.systemId+=jt;break;case Ht.GREATER_THAN_SIGN:this._err(Vt.abruptDoctypeSystemIdentifier),e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=Te.DATA;break;case Ht.EOF:this._err(Vt.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:e.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const e=this.currentToken;switch(t){case Ht.APOSTROPHE:this.state=Te.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),e.systemId+=jt;break;case Ht.GREATER_THAN_SIGN:this._err(Vt.abruptDoctypeSystemIdentifier),e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=Te.DATA;break;case Ht.EOF:this._err(Vt.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:e.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const e=this.currentToken;switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:break;case Ht.GREATER_THAN_SIGN:this.emitCurrentDoctype(e),this.state=Te.DATA;break;case Ht.EOF:this._err(Vt.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:this._err(Vt.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=Te.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const e=this.currentToken;switch(t){case Ht.GREATER_THAN_SIGN:this.emitCurrentDoctype(e),this.state=Te.DATA;break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter);break;case Ht.EOF:this.emitCurrentDoctype(e),this._emitEOFToken()}}_stateCdataSection(t){switch(t){case Ht.RIGHT_SQUARE_BRACKET:this.state=Te.CDATA_SECTION_BRACKET;break;case Ht.EOF:this._err(Vt.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===Ht.RIGHT_SQUARE_BRACKET?this.state=Te.CDATA_SECTION_END:(this._emitChars("]"),this.state=Te.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case Ht.GREATER_THAN_SIGN:this.state=Te.DATA;break;case Ht.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=Te.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(t){t===Ht.NUMBER_SIGN?this.state=Te.NUMERIC_CHARACTER_REFERENCE:De(t)?(this.state=Te.NAMED_CHARACTER_REFERENCE,this._stateNamedCharacterReference(t)):(this._flushCodePointConsumedAsCharacterReference(Ht.AMPERSAND),this._reconsumeInState(this.returnState,t))}_stateNamedCharacterReference(t){const e=this._matchNamedCharacterReference(t);if(this._ensureHibernation());else if(e){for(let t=0;t<e.length;t++)this._flushCodePointConsumedAsCharacterReference(e[t]);this.state=this.returnState}else this._flushCodePointConsumedAsCharacterReference(Ht.AMPERSAND),this.state=Te.AMBIGUOUS_AMPERSAND}_stateAmbiguousAmpersand(t){De(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===Ht.SEMICOLON&&this._err(Vt.unknownNamedCharacterReference),this._reconsumeInState(this.returnState,t))}_stateNumericCharacterReference(t){this.charRefCode=0,t===Ht.LATIN_SMALL_X||t===Ht.LATIN_CAPITAL_X?this.state=Te.HEXADEMICAL_CHARACTER_REFERENCE_START:Se(t)?(this.state=Te.DECIMAL_CHARACTER_REFERENCE,this._stateDecimalCharacterReference(t)):(this._err(Vt.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(Ht.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(Ht.NUMBER_SIGN),this._reconsumeInState(this.returnState,t))}_stateHexademicalCharacterReferenceStart(t){!function(t){return Se(t)||Ie(t)||Re(t)}(t)?(this._err(Vt.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(Ht.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(Ht.NUMBER_SIGN),this._unconsume(2),this.state=this.returnState):(this.state=Te.HEXADEMICAL_CHARACTER_REFERENCE,this._stateHexademicalCharacterReference(t))}_stateHexademicalCharacterReference(t){Ie(t)?this.charRefCode=16*this.charRefCode+t-55:Re(t)?this.charRefCode=16*this.charRefCode+t-87:Se(t)?this.charRefCode=16*this.charRefCode+t-48:t===Ht.SEMICOLON?this.state=Te.NUMERIC_CHARACTER_REFERENCE_END:(this._err(Vt.missingSemicolonAfterCharacterReference),this.state=Te.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(t))}_stateDecimalCharacterReference(t){Se(t)?this.charRefCode=10*this.charRefCode+t-48:t===Ht.SEMICOLON?this.state=Te.NUMERIC_CHARACTER_REFERENCE_END:(this._err(Vt.missingSemicolonAfterCharacterReference),this.state=Te.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(t))}_stateNumericCharacterReferenceEnd(t){if(this.charRefCode===Ht.NULL)this._err(Vt.nullCharacterReference),this.charRefCode=Ht.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(Vt.characterReferenceOutsideUnicodeRange),this.charRefCode=Ht.REPLACEMENT_CHARACTER;else if(Gt(this.charRefCode))this._err(Vt.surrogateCharacterReference),this.charRefCode=Ht.REPLACEMENT_CHARACTER;else if(Yt(this.charRefCode))this._err(Vt.noncharacterCharacterReference);else if(Kt(this.charRefCode)||this.charRefCode===Ht.CARRIAGE_RETURN){this._err(Vt.controlCharacterReference);const t=Me.get(this.charRefCode);void 0!==t&&(this.charRefCode=t)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,t)}}const Fe=new Set([he.DD,he.DT,he.LI,he.OPTGROUP,he.OPTION,he.P,he.RB,he.RP,he.RT,he.RTC]),Be=new Set([...Fe,he.CAPTION,he.COLGROUP,he.TBODY,he.TD,he.TFOOT,he.TH,he.THEAD,he.TR]),Ue=new Map([[he.APPLET,se.HTML],[he.CAPTION,se.HTML],[he.HTML,se.HTML],[he.MARQUEE,se.HTML],[he.OBJECT,se.HTML],[he.TABLE,se.HTML],[he.TD,se.HTML],[he.TEMPLATE,se.HTML],[he.TH,se.HTML],[he.ANNOTATION_XML,se.MATHML],[he.MI,se.MATHML],[he.MN,se.MATHML],[he.MO,se.MATHML],[he.MS,se.MATHML],[he.MTEXT,se.MATHML],[he.DESC,se.SVG],[he.FOREIGN_OBJECT,se.SVG],[he.TITLE,se.SVG]]),je=[he.H1,he.H2,he.H3,he.H4,he.H5,he.H6],He=[he.TR,he.TEMPLATE,he.HTML],ze=[he.TBODY,he.TFOOT,he.THEAD,he.TEMPLATE,he.HTML],qe=[he.TABLE,he.TEMPLATE,he.HTML],We=[he.TD,he.TH];class Ge{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,e,n){this.treeAdapter=e,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=he.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===he.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===se.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,e){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=e,this.currentTagId=e,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,e,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,e){const n=this._indexOf(t);this.items[n]=e,n===this.stackTop&&(this.current=e)}insertAfter(t,e,n){const r=this._indexOf(t)+1;this.items.splice(r,0,e),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(t){let e=this.stackTop+1;do{e=this.tagIDs.lastIndexOf(t,e-1)}while(e>0&&this.treeAdapter.getNamespaceURI(this.items[e])!==se.HTML);this.shortenToLength(e<0?0:e)}shortenToLength(t){for(;this.stackTop>=t;){const e=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,this.stackTop<t)}}popUntilElementPopped(t){const e=this._indexOf(t);this.shortenToLength(e<0?0:e)}popUntilPopped(t,e){const n=this._indexOfTagNames(t,e);this.shortenToLength(n<0?0:n)}popUntilNumberedHeaderPopped(){this.popUntilPopped(je,se.HTML)}popUntilTableCellPopped(){this.popUntilPopped(We,se.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,e){for(let n=this.stackTop;n>=0;n--)if(t.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===e)return n;return-1}clearBackTo(t,e){const n=this._indexOfTagNames(t,e);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(qe,se.HTML)}clearBackToTableBodyContext(){this.clearBackTo(ze,se.HTML)}clearBackToTableRowContext(){this.clearBackTo(He,se.HTML)}remove(t){const e=this._indexOf(t);e>=0&&(e===this.stackTop?this.pop():(this.items.splice(e,1),this.tagIDs.splice(e,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===he.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const e=this._indexOf(t)-1;return e>=0?this.items[e]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===he.HTML}hasInScope(t){for(let e=this.stackTop;e>=0;e--){const n=this.tagIDs[e],r=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===t&&r===se.HTML)return!0;if(Ue.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const e=this.tagIDs[t],n=this.treeAdapter.getNamespaceURI(this.items[t]);if(Ae(e)&&n===se.HTML)return!0;if(Ue.get(e)===n)return!1}return!0}hasInListItemScope(t){for(let e=this.stackTop;e>=0;e--){const n=this.tagIDs[e],r=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===t&&r===se.HTML)return!0;if((n===he.UL||n===he.OL)&&r===se.HTML||Ue.get(n)===r)return!1}return!0}hasInButtonScope(t){for(let e=this.stackTop;e>=0;e--){const n=this.tagIDs[e],r=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===t&&r===se.HTML)return!0;if(n===he.BUTTON&&r===se.HTML||Ue.get(n)===r)return!1}return!0}hasInTableScope(t){for(let e=this.stackTop;e>=0;e--){const n=this.tagIDs[e];if(this.treeAdapter.getNamespaceURI(this.items[e])===se.HTML){if(n===t)return!0;if(n===he.TABLE||n===he.TEMPLATE||n===he.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--){const e=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===se.HTML){if(e===he.TBODY||e===he.THEAD||e===he.TFOOT)return!0;if(e===he.TABLE||e===he.HTML)return!1}}return!0}hasInSelectScope(t){for(let e=this.stackTop;e>=0;e--){const n=this.tagIDs[e];if(this.treeAdapter.getNamespaceURI(this.items[e])===se.HTML){if(n===t)return!0;if(n!==he.OPTION&&n!==he.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;Fe.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;Be.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==t&&Be.has(this.currentTagId);)this.pop()}}var Ke;!function(t){t[t.Marker=0]="Marker",t[t.Element=1]="Element"}(Ke=Ke||(Ke={}));const Ye={type:Ke.Marker};class Ve{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,e){const n=[],r=e.length,i=this.treeAdapter.getTagName(t),o=this.treeAdapter.getNamespaceURI(t);for(let t=0;t<this.entries.length;t++){const e=this.entries[t];if(e.type===Ke.Marker)break;const{element:a}=e;if(this.treeAdapter.getTagName(a)===i&&this.treeAdapter.getNamespaceURI(a)===o){const e=this.treeAdapter.getAttrList(a);e.length===r&&n.push({idx:t,attrs:e})}}return n}_ensureNoahArkCondition(t){if(this.entries.length<3)return;const e=this.treeAdapter.getAttrList(t),n=this._getNoahArkConditionCandidates(t,e);if(n.length<3)return;const r=new Map(e.map((t=>[t.name,t.value])));let i=0;for(let t=0;t<n.length;t++){const e=n[t];e.attrs.every((t=>r.get(t.name)===t.value))&&(i+=1,i>=3&&this.entries.splice(e.idx,1))}}insertMarker(){this.entries.unshift(Ye)}pushElement(t,e){this._ensureNoahArkCondition(t),this.entries.unshift({type:Ke.Element,element:t,token:e})}insertElementAfterBookmark(t,e){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:Ke.Element,element:t,token:e})}removeEntry(t){const e=this.entries.indexOf(t);e>=0&&this.entries.splice(e,1)}clearToLastMarker(){const t=this.entries.indexOf(Ye);t>=0?this.entries.splice(0,t+1):this.entries.length=0}getElementEntryInScopeWithTagName(t){const e=this.entries.find((e=>e.type===Ke.Marker||this.treeAdapter.getTagName(e.element)===t));return e&&e.type===Ke.Element?e:null}getElementEntry(t){return this.entries.find((e=>e.type===Ke.Element&&e.element===t))}}function Xe(t){return{nodeName:"#text",value:t,parentNode:null}}const Ze={createDocument:()=>({nodeName:"#document",mode:ce.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(t,e,n)=>({nodeName:t,tagName:t,attrs:n,namespaceURI:e,childNodes:[],parentNode:null}),createCommentNode:t=>({nodeName:"#comment",data:t,parentNode:null}),appendChild(t,e){t.childNodes.push(e),e.parentNode=t},insertBefore(t,e,n){const r=t.childNodes.indexOf(n);t.childNodes.splice(r,0,e),e.parentNode=t},setTemplateContent(t,e){t.content=e},getTemplateContent:t=>t.content,setDocumentType(t,e,n,r){const i=t.childNodes.find((t=>"#documentType"===t.nodeName));if(i)i.name=e,i.publicId=n,i.systemId=r;else{const i={nodeName:"#documentType",name:e,publicId:n,systemId:r,parentNode:null};Ze.appendChild(t,i)}},setDocumentMode(t,e){t.mode=e},getDocumentMode:t=>t.mode,detachNode(t){if(t.parentNode){const e=t.parentNode.childNodes.indexOf(t);t.parentNode.childNodes.splice(e,1),t.parentNode=null}},insertText(t,e){if(t.childNodes.length>0){const n=t.childNodes[t.childNodes.length-1];if(Ze.isTextNode(n))return void(n.value+=e)}Ze.appendChild(t,Xe(e))},insertTextBefore(t,e,n){const r=t.childNodes[t.childNodes.indexOf(n)-1];r&&Ze.isTextNode(r)?r.value+=e:Ze.insertBefore(t,Xe(e),n)},adoptAttributes(t,e){const n=new Set(t.attrs.map((t=>t.name)));for(let r=0;r<e.length;r++)n.has(e[r].name)||t.attrs.push(e[r])},getFirstChild:t=>t.childNodes[0],getChildNodes:t=>t.childNodes,getParentNode:t=>t.parentNode,getAttrList:t=>t.attrs,getTagName:t=>t.tagName,getNamespaceURI:t=>t.namespaceURI,getTextNodeContent:t=>t.value,getCommentNodeContent:t=>t.data,getDocumentTypeNodeName:t=>t.name,getDocumentTypeNodePublicId:t=>t.publicId,getDocumentTypeNodeSystemId:t=>t.systemId,isTextNode:t=>"#text"===t.nodeName,isCommentNode:t=>"#comment"===t.nodeName,isDocumentTypeNode:t=>"#documentType"===t.nodeName,isElementNode:t=>Object.prototype.hasOwnProperty.call(t,"tagName"),setNodeSourceCodeLocation(t,e){t.sourceCodeLocation=e},getNodeSourceCodeLocation:t=>t.sourceCodeLocation,updateNodeSourceCodeLocation(t,e){t.sourceCodeLocation={...t.sourceCodeLocation,...e}}},$e="html",Qe=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],Je=[...Qe,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],tn=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),en=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],nn=[...en,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function rn(t,e){return e.some((e=>t.startsWith(e)))}const on="text/html",an="application/xhtml+xml",sn="definitionurl",ln="definitionURL",cn=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((t=>[t.toLowerCase(),t]))),un=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:se.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:se.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:se.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:se.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:se.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:se.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:se.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:se.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:se.XML}],["xml:space",{prefix:"xml",name:"space",namespace:se.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:se.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:se.XMLNS}]]),hn=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((t=>[t.toLowerCase(),t]))),fn=new Set([he.B,he.BIG,he.BLOCKQUOTE,he.BODY,he.BR,he.CENTER,he.CODE,he.DD,he.DIV,he.DL,he.DT,he.EM,he.EMBED,he.H1,he.H2,he.H3,he.H4,he.H5,he.H6,he.HEAD,he.HR,he.I,he.IMG,he.LI,he.LISTING,he.MENU,he.META,he.NOBR,he.OL,he.P,he.PRE,he.RUBY,he.S,he.SMALL,he.SPAN,he.STRONG,he.STRIKE,he.SUB,he.SUP,he.TABLE,he.TT,he.U,he.UL,he.VAR]);function dn(t){for(let e=0;e<t.attrs.length;e++)if(t.attrs[e].name===sn){t.attrs[e].name=ln;break}}function pn(t){for(let e=0;e<t.attrs.length;e++){const n=cn.get(t.attrs[e].name);null!=n&&(t.attrs[e].name=n)}}function mn(t){for(let e=0;e<t.attrs.length;e++){const n=un.get(t.attrs[e].name);n&&(t.attrs[e].prefix=n.prefix,t.attrs[e].name=n.name,t.attrs[e].namespace=n.namespace)}}const gn="hidden",yn=8,wn=3;var bn;!function(t){t[t.INITIAL=0]="INITIAL",t[t.BEFORE_HTML=1]="BEFORE_HTML",t[t.BEFORE_HEAD=2]="BEFORE_HEAD",t[t.IN_HEAD=3]="IN_HEAD",t[t.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",t[t.AFTER_HEAD=5]="AFTER_HEAD",t[t.IN_BODY=6]="IN_BODY",t[t.TEXT=7]="TEXT",t[t.IN_TABLE=8]="IN_TABLE",t[t.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",t[t.IN_CAPTION=10]="IN_CAPTION",t[t.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",t[t.IN_TABLE_BODY=12]="IN_TABLE_BODY",t[t.IN_ROW=13]="IN_ROW",t[t.IN_CELL=14]="IN_CELL",t[t.IN_SELECT=15]="IN_SELECT",t[t.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",t[t.IN_TEMPLATE=17]="IN_TEMPLATE",t[t.AFTER_BODY=18]="AFTER_BODY",t[t.IN_FRAMESET=19]="IN_FRAMESET",t[t.AFTER_FRAMESET=20]="AFTER_FRAMESET",t[t.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",t[t.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"}(bn||(bn={}));const vn={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},En=new Set([he.TABLE,he.TBODY,he.TFOOT,he.THEAD,he.TR]),_n={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Ze,onParseError:null};class An{constructor(t,e,n=null,r=null){this.fragmentContext=n,this.scriptHandler=r,this.currentToken=null,this.stopped=!1,this.insertionMode=bn.INITIAL,this.originalInsertionMode=bn.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={..._n,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=null!=e?e:this.treeAdapter.createDocument(),this.tokenizer=new Pe(this.options,this),this.activeFormattingElements=new Ve(this.treeAdapter),this.fragmentContextID=n?ve(this.treeAdapter.getTagName(n)):he.UNKNOWN,this._setContextModes(null!=n?n:this.document,this.fragmentContextID),this.openElements=new Ge(this.document,this.treeAdapter,this)}static parse(t,e){const n=new this(e);return n.tokenizer.write(t,!0),n.document}static getFragmentParser(t,e){const n={..._n,...e};null!=t||(t=n.treeAdapter.createElement(ue.TEMPLATE,se.HTML,[]));const r=n.treeAdapter.createElement("documentmock",se.HTML,[]),i=new this(n,r,t);return i.fragmentContextID===he.TEMPLATE&&i.tmplInsertionModeStack.unshift(bn.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),e=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,e),e}_err(t,e,n){var r;if(!this.onParseError)return;const i=null!==(r=t.location)&&void 0!==r?r:vn,o={code:e,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:n?i.startLine:i.endLine,endCol:n?i.startCol:i.endCol,endOffset:n?i.startOffset:i.endOffset};this.onParseError(o)}onItemPush(t,e,n){var r,i;null===(i=(r=this.treeAdapter).onItemPush)||void 0===i||i.call(r,t),n&&this.openElements.stackTop>0&&this._setContextModes(t,e)}onItemPop(t,e){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,t,this.openElements.current),e){let t,e;0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,e=this.fragmentContextID):({current:t,currentTagId:e}=this.openElements),this._setContextModes(t,e)}}_setContextModes(t,e){const n=t===this.document||this.treeAdapter.getNamespaceURI(t)===se.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(e,t)}_switchToTextParsing(t,e){this._insertElement(t,se.HTML),this.tokenizer.state=e,this.originalInsertionMode=this.insertionMode,this.insertionMode=bn.TEXT}switchToPlaintextParsing(){this.insertionMode=bn.TEXT,this.originalInsertionMode=bn.IN_BODY,this.tokenizer.state=xe.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===ue.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===se.HTML)switch(this.fragmentContextID){case he.TITLE:case he.TEXTAREA:this.tokenizer.state=xe.RCDATA;break;case he.STYLE:case he.XMP:case he.IFRAME:case he.NOEMBED:case he.NOFRAMES:case he.NOSCRIPT:this.tokenizer.state=xe.RAWTEXT;break;case he.SCRIPT:this.tokenizer.state=xe.SCRIPT_DATA;break;case he.PLAINTEXT:this.tokenizer.state=xe.PLAINTEXT}}_setDocumentType(t){const e=t.name||"",n=t.publicId||"",r=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,e,n,r),t.location){const e=this.treeAdapter.getChildNodes(this.document).find((t=>this.treeAdapter.isDocumentTypeNode(t)));e&&this.treeAdapter.setNodeSourceCodeLocation(e,t.location)}}_attachElementToTree(t,e){if(this.options.sourceCodeLocationInfo){const n=e&&{...e,startTag:e};this.treeAdapter.setNodeSourceCodeLocation(t,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const e=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(e,t)}}_appendElement(t,e){const n=this.treeAdapter.createElement(t.tagName,e,t.attrs);this._attachElementToTree(n,t.location)}_insertElement(t,e){const n=this.treeAdapter.createElement(t.tagName,e,t.attrs);this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID)}_insertFakeElement(t,e){const n=this.treeAdapter.createElement(t,se.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,e)}_insertTemplate(t){const e=this.treeAdapter.createElement(t.tagName,se.HTML,t.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(e,n),this._attachElementToTree(e,t.location),this.openElements.push(e,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(ue.HTML,se.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,he.HTML)}_appendCommentNode(t,e){const n=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(e,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,t.location)}_insertCharacters(t){let e,n;if(this._shouldFosterParentOnInsertion()?(({parent:e,beforeElement:n}=this._findFosterParentingLocation()),n?this.treeAdapter.insertTextBefore(e,t.chars,n):this.treeAdapter.insertText(e,t.chars)):(e=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(e,t.chars)),!t.location)return;const r=this.treeAdapter.getChildNodes(e),i=n?r.lastIndexOf(n):r.length,o=r[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(o)){const{endLine:e,endCol:n,endOffset:r}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(o,{endLine:e,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}_adoptNodes(t,e){for(let n=this.treeAdapter.getFirstChild(t);n;n=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(e,n)}_setEndLocation(t,e){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&e.location){const n=e.location,r=this.treeAdapter.getTagName(t),i=e.type===Xt.END_TAG&&r===e.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,i)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let e,n;return 0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,n=this.fragmentContextID):({current:e,currentTagId:n}=this.openElements),(t.tagID!==he.SVG||this.treeAdapter.getTagName(e)!==ue.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(e)!==se.MATHML)&&(this.tokenizer.inForeignNode||(t.tagID===he.MGLYPH||t.tagID===he.MALIGNMARK)&&!this._isIntegrationPoint(n,e,se.HTML))}_processToken(t){switch(t.type){case Xt.CHARACTER:this.onCharacter(t);break;case Xt.NULL_CHARACTER:this.onNullCharacter(t);break;case Xt.COMMENT:this.onComment(t);break;case Xt.DOCTYPE:this.onDoctype(t);break;case Xt.START_TAG:this._processStartTag(t);break;case Xt.END_TAG:this.onEndTag(t);break;case Xt.EOF:this.onEof(t);break;case Xt.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(t)}}_isIntegrationPoint(t,e,n){return function(t,e,n,r){return(!r||r===se.HTML)&&function(t,e,n){if(e===se.MATHML&&t===he.ANNOTATION_XML)for(let t=0;t<n.length;t++)if(n[t].name===le.ENCODING){const e=n[t].value.toLowerCase();return e===on||e===an}return e===se.SVG&&(t===he.FOREIGN_OBJECT||t===he.DESC||t===he.TITLE)}(t,e,n)||(!r||r===se.MATHML)&&function(t,e){return e===se.MATHML&&(t===he.MI||t===he.MO||t===he.MN||t===he.MS||t===he.MTEXT)}(t,e)}(t,this.treeAdapter.getNamespaceURI(e),this.treeAdapter.getAttrList(e),n)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const e=this.activeFormattingElements.entries.findIndex((t=>t.type===Ke.Marker||this.openElements.contains(t.element)));for(let n=e<0?t-1:e-1;n>=0;n--){const t=this.activeFormattingElements.entries[n];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=bn.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(he.P),this.openElements.popUntilTagNamePopped(he.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(0===t&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case he.TR:return void(this.insertionMode=bn.IN_ROW);case he.TBODY:case he.THEAD:case he.TFOOT:return void(this.insertionMode=bn.IN_TABLE_BODY);case he.CAPTION:return void(this.insertionMode=bn.IN_CAPTION);case he.COLGROUP:return void(this.insertionMode=bn.IN_COLUMN_GROUP);case he.TABLE:return void(this.insertionMode=bn.IN_TABLE);case he.BODY:return void(this.insertionMode=bn.IN_BODY);case he.FRAMESET:return void(this.insertionMode=bn.IN_FRAMESET);case he.SELECT:return void this._resetInsertionModeForSelect(t);case he.TEMPLATE:return void(this.insertionMode=this.tmplInsertionModeStack[0]);case he.HTML:return void(this.insertionMode=this.headElement?bn.AFTER_HEAD:bn.BEFORE_HEAD);case he.TD:case he.TH:if(t>0)return void(this.insertionMode=bn.IN_CELL);break;case he.HEAD:if(t>0)return void(this.insertionMode=bn.IN_HEAD)}this.insertionMode=bn.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let e=t-1;e>0;e--){const t=this.openElements.tagIDs[e];if(t===he.TEMPLATE)break;if(t===he.TABLE)return void(this.insertionMode=bn.IN_SELECT_IN_TABLE)}this.insertionMode=bn.IN_SELECT}_isElementCausesFosterParenting(t){return En.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const e=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case he.TEMPLATE:if(this.treeAdapter.getNamespaceURI(e)===se.HTML)return{parent:this.treeAdapter.getTemplateContent(e),beforeElement:null};break;case he.TABLE:{const n=this.treeAdapter.getParentNode(e);return n?{parent:n,beforeElement:e}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const e=this._findFosterParentingLocation();e.beforeElement?this.treeAdapter.insertBefore(e.parent,t,e.beforeElement):this.treeAdapter.appendChild(e.parent,t)}_isSpecialElement(t,e){const n=this.treeAdapter.getNamespaceURI(t);return _e[n].has(e)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(t,e){t._insertCharacters(e),t.framesetOk=!1}(this,t);else switch(this.insertionMode){case bn.INITIAL:Nn(this,t);break;case bn.BEFORE_HTML:On(this,t);break;case bn.BEFORE_HEAD:Ln(this,t);break;case bn.IN_HEAD:Bn(this,t);break;case bn.IN_HEAD_NO_SCRIPT:Un(this,t);break;case bn.AFTER_HEAD:jn(this,t);break;case bn.IN_BODY:case bn.IN_CAPTION:case bn.IN_CELL:case bn.IN_TEMPLATE:qn(this,t);break;case bn.TEXT:case bn.IN_SELECT:case bn.IN_SELECT_IN_TABLE:this._insertCharacters(t);break;case bn.IN_TABLE:case bn.IN_TABLE_BODY:case bn.IN_ROW:Qn(this,t);break;case bn.IN_TABLE_TEXT:rr(this,t);break;case bn.IN_COLUMN_GROUP:sr(this,t);break;case bn.AFTER_BODY:gr(this,t);break;case bn.AFTER_AFTER_BODY:yr(this,t)}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(t,e){e.chars=jt,t._insertCharacters(e)}(this,t);else switch(this.insertionMode){case bn.INITIAL:Nn(this,t);break;case bn.BEFORE_HTML:On(this,t);break;case bn.BEFORE_HEAD:Ln(this,t);break;case bn.IN_HEAD:Bn(this,t);break;case bn.IN_HEAD_NO_SCRIPT:Un(this,t);break;case bn.AFTER_HEAD:jn(this,t);break;case bn.TEXT:this._insertCharacters(t);break;case bn.IN_TABLE:case bn.IN_TABLE_BODY:case bn.IN_ROW:Qn(this,t);break;case bn.IN_COLUMN_GROUP:sr(this,t);break;case bn.AFTER_BODY:gr(this,t);break;case bn.AFTER_AFTER_BODY:yr(this,t)}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML)In(this,t);else switch(this.insertionMode){case bn.INITIAL:case bn.BEFORE_HTML:case bn.BEFORE_HEAD:case bn.IN_HEAD:case bn.IN_HEAD_NO_SCRIPT:case bn.AFTER_HEAD:case bn.IN_BODY:case bn.IN_TABLE:case bn.IN_CAPTION:case bn.IN_COLUMN_GROUP:case bn.IN_TABLE_BODY:case bn.IN_ROW:case bn.IN_CELL:case bn.IN_SELECT:case bn.IN_SELECT_IN_TABLE:case bn.IN_TEMPLATE:case bn.IN_FRAMESET:case bn.AFTER_FRAMESET:In(this,t);break;case bn.IN_TABLE_TEXT:ir(this,t);break;case bn.AFTER_BODY:!function(t,e){t._appendCommentNode(e,t.openElements.items[0])}(this,t);break;case bn.AFTER_AFTER_BODY:case bn.AFTER_AFTER_FRAMESET:!function(t,e){t._appendCommentNode(e,t.document)}(this,t)}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case bn.INITIAL:!function(t,e){t._setDocumentType(e);const n=e.forceQuirks?ce.QUIRKS:function(t){if(t.name!==$e)return ce.QUIRKS;const{systemId:e}=t;if(e&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===e.toLowerCase())return ce.QUIRKS;let{publicId:n}=t;if(null!==n){if(n=n.toLowerCase(),tn.has(n))return ce.QUIRKS;let t=null===e?Je:Qe;if(rn(n,t))return ce.QUIRKS;if(t=null===e?en:nn,rn(n,t))return ce.LIMITED_QUIRKS}return ce.NO_QUIRKS}(e);(function(t){return t.name===$e&&null===t.publicId&&(null===t.systemId||"about:legacy-compat"===t.systemId)})(e)||t._err(e,Vt.nonConformingDoctype),t.treeAdapter.setDocumentMode(t.document,n),t.insertionMode=bn.BEFORE_HTML}(this,t);break;case bn.BEFORE_HEAD:case bn.IN_HEAD:case bn.IN_HEAD_NO_SCRIPT:case bn.AFTER_HEAD:this._err(t,Vt.misplacedDoctype);break;case bn.IN_TABLE_TEXT:ir(this,t)}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,Vt.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?function(t,e){if(function(t){const e=t.tagID;return e===he.FONT&&t.attrs.some((({name:t})=>t===le.COLOR||t===le.SIZE||t===le.FACE))||fn.has(e)}(e))wr(t),t._startTagOutsideForeignContent(e);else{const n=t._getAdjustedCurrentElement(),r=t.treeAdapter.getNamespaceURI(n);r===se.MATHML?dn(e):r===se.SVG&&(function(t){const e=hn.get(t.tagName);null!=e&&(t.tagName=e,t.tagID=ve(t.tagName))}(e),pn(e)),mn(e),e.selfClosing?t._appendElement(e,r):t._insertElement(e,r),e.ackSelfClosing=!0}}(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case bn.INITIAL:Nn(this,t);break;case bn.BEFORE_HTML:!function(t,e){e.tagID===he.HTML?(t._insertElement(e,se.HTML),t.insertionMode=bn.BEFORE_HEAD):On(t,e)}(this,t);break;case bn.BEFORE_HEAD:!function(t,e){switch(e.tagID){case he.HTML:Vn(t,e);break;case he.HEAD:t._insertElement(e,se.HTML),t.headElement=t.openElements.current,t.insertionMode=bn.IN_HEAD;break;default:Ln(t,e)}}(this,t);break;case bn.IN_HEAD:Pn(this,t);break;case bn.IN_HEAD_NO_SCRIPT:!function(t,e){switch(e.tagID){case he.HTML:Vn(t,e);break;case he.BASEFONT:case he.BGSOUND:case he.HEAD:case he.LINK:case he.META:case he.NOFRAMES:case he.STYLE:Pn(t,e);break;case he.NOSCRIPT:t._err(e,Vt.nestedNoscriptInHead);break;default:Un(t,e)}}(this,t);break;case bn.AFTER_HEAD:!function(t,e){switch(e.tagID){case he.HTML:Vn(t,e);break;case he.BODY:t._insertElement(e,se.HTML),t.framesetOk=!1,t.insertionMode=bn.IN_BODY;break;case he.FRAMESET:t._insertElement(e,se.HTML),t.insertionMode=bn.IN_FRAMESET;break;case he.BASE:case he.BASEFONT:case he.BGSOUND:case he.LINK:case he.META:case he.NOFRAMES:case he.SCRIPT:case he.STYLE:case he.TEMPLATE:case he.TITLE:t._err(e,Vt.abandonedHeadElementChild),t.openElements.push(t.headElement,he.HEAD),Pn(t,e),t.openElements.remove(t.headElement);break;case he.HEAD:t._err(e,Vt.misplacedStartTagForHeadElement);break;default:jn(t,e)}}(this,t);break;case bn.IN_BODY:Vn(this,t);break;case bn.IN_TABLE:Jn(this,t);break;case bn.IN_TABLE_TEXT:ir(this,t);break;case bn.IN_CAPTION:!function(t,e){const n=e.tagID;or.has(n)?t.openElements.hasInTableScope(he.CAPTION)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(he.CAPTION),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=bn.IN_TABLE,Jn(t,e)):Vn(t,e)}(this,t);break;case bn.IN_COLUMN_GROUP:ar(this,t);break;case bn.IN_TABLE_BODY:lr(this,t);break;case bn.IN_ROW:ur(this,t);break;case bn.IN_CELL:!function(t,e){const n=e.tagID;or.has(n)?(t.openElements.hasInTableScope(he.TD)||t.openElements.hasInTableScope(he.TH))&&(t._closeTableCell(),ur(t,e)):Vn(t,e)}(this,t);break;case bn.IN_SELECT:fr(this,t);break;case bn.IN_SELECT_IN_TABLE:!function(t,e){const n=e.tagID;n===he.CAPTION||n===he.TABLE||n===he.TBODY||n===he.TFOOT||n===he.THEAD||n===he.TR||n===he.TD||n===he.TH?(t.openElements.popUntilTagNamePopped(he.SELECT),t._resetInsertionMode(),t._processStartTag(e)):fr(t,e)}(this,t);break;case bn.IN_TEMPLATE:!function(t,e){switch(e.tagID){case he.BASE:case he.BASEFONT:case he.BGSOUND:case he.LINK:case he.META:case he.NOFRAMES:case he.SCRIPT:case he.STYLE:case he.TEMPLATE:case he.TITLE:Pn(t,e);break;case he.CAPTION:case he.COLGROUP:case he.TBODY:case he.TFOOT:case he.THEAD:t.tmplInsertionModeStack[0]=bn.IN_TABLE,t.insertionMode=bn.IN_TABLE,Jn(t,e);break;case he.COL:t.tmplInsertionModeStack[0]=bn.IN_COLUMN_GROUP,t.insertionMode=bn.IN_COLUMN_GROUP,ar(t,e);break;case he.TR:t.tmplInsertionModeStack[0]=bn.IN_TABLE_BODY,t.insertionMode=bn.IN_TABLE_BODY,lr(t,e);break;case he.TD:case he.TH:t.tmplInsertionModeStack[0]=bn.IN_ROW,t.insertionMode=bn.IN_ROW,ur(t,e);break;default:t.tmplInsertionModeStack[0]=bn.IN_BODY,t.insertionMode=bn.IN_BODY,Vn(t,e)}}(this,t);break;case bn.AFTER_BODY:!function(t,e){e.tagID===he.HTML?Vn(t,e):gr(t,e)}(this,t);break;case bn.IN_FRAMESET:!function(t,e){switch(e.tagID){case he.HTML:Vn(t,e);break;case he.FRAMESET:t._insertElement(e,se.HTML);break;case he.FRAME:t._appendElement(e,se.HTML),e.ackSelfClosing=!0;break;case he.NOFRAMES:Pn(t,e)}}(this,t);break;case bn.AFTER_FRAMESET:!function(t,e){switch(e.tagID){case he.HTML:Vn(t,e);break;case he.NOFRAMES:Pn(t,e)}}(this,t);break;case bn.AFTER_AFTER_BODY:!function(t,e){e.tagID===he.HTML?Vn(t,e):yr(t,e)}(this,t);break;case bn.AFTER_AFTER_FRAMESET:!function(t,e){switch(e.tagID){case he.HTML:Vn(t,e);break;case he.NOFRAMES:Pn(t,e)}}(this,t)}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?function(t,e){if(e.tagID===he.P||e.tagID===he.BR)return wr(t),void t._endTagOutsideForeignContent(e);for(let n=t.openElements.stackTop;n>0;n--){const r=t.openElements.items[n];if(t.treeAdapter.getNamespaceURI(r)===se.HTML){t._endTagOutsideForeignContent(e);break}const i=t.treeAdapter.getTagName(r);if(i.toLowerCase()===e.tagName){e.tagName=i,t.openElements.shortenToLength(n);break}}}(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case bn.INITIAL:Nn(this,t);break;case bn.BEFORE_HTML:!function(t,e){const n=e.tagID;n!==he.HTML&&n!==he.HEAD&&n!==he.BODY&&n!==he.BR||On(t,e)}(this,t);break;case bn.BEFORE_HEAD:!function(t,e){const n=e.tagID;n===he.HEAD||n===he.BODY||n===he.HTML||n===he.BR?Ln(t,e):t._err(e,Vt.endTagWithoutMatchingOpenElement)}(this,t);break;case bn.IN_HEAD:!function(t,e){switch(e.tagID){case he.HEAD:t.openElements.pop(),t.insertionMode=bn.AFTER_HEAD;break;case he.BODY:case he.BR:case he.HTML:Bn(t,e);break;case he.TEMPLATE:Fn(t,e);break;default:t._err(e,Vt.endTagWithoutMatchingOpenElement)}}(this,t);break;case bn.IN_HEAD_NO_SCRIPT:!function(t,e){switch(e.tagID){case he.NOSCRIPT:t.openElements.pop(),t.insertionMode=bn.IN_HEAD;break;case he.BR:Un(t,e);break;default:t._err(e,Vt.endTagWithoutMatchingOpenElement)}}(this,t);break;case bn.AFTER_HEAD:!function(t,e){switch(e.tagID){case he.BODY:case he.HTML:case he.BR:jn(t,e);break;case he.TEMPLATE:Fn(t,e);break;default:t._err(e,Vt.endTagWithoutMatchingOpenElement)}}(this,t);break;case bn.IN_BODY:Zn(this,t);break;case bn.TEXT:!function(t,e){var n;e.tagID===he.SCRIPT&&(null===(n=t.scriptHandler)||void 0===n||n.call(t,t.openElements.current)),t.openElements.pop(),t.insertionMode=t.originalInsertionMode}(this,t);break;case bn.IN_TABLE:tr(this,t);break;case bn.IN_TABLE_TEXT:ir(this,t);break;case bn.IN_CAPTION:!function(t,e){const n=e.tagID;switch(n){case he.CAPTION:case he.TABLE:t.openElements.hasInTableScope(he.CAPTION)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(he.CAPTION),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=bn.IN_TABLE,n===he.TABLE&&tr(t,e));break;case he.BODY:case he.COL:case he.COLGROUP:case he.HTML:case he.TBODY:case he.TD:case he.TFOOT:case he.TH:case he.THEAD:case he.TR:break;default:Zn(t,e)}}(this,t);break;case bn.IN_COLUMN_GROUP:!function(t,e){switch(e.tagID){case he.COLGROUP:t.openElements.currentTagId===he.COLGROUP&&(t.openElements.pop(),t.insertionMode=bn.IN_TABLE);break;case he.TEMPLATE:Fn(t,e);break;case he.COL:break;default:sr(t,e)}}(this,t);break;case bn.IN_TABLE_BODY:cr(this,t);break;case bn.IN_ROW:hr(this,t);break;case bn.IN_CELL:!function(t,e){const n=e.tagID;switch(n){case he.TD:case he.TH:t.openElements.hasInTableScope(n)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(n),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=bn.IN_ROW);break;case he.TABLE:case he.TBODY:case he.TFOOT:case he.THEAD:case he.TR:t.openElements.hasInTableScope(n)&&(t._closeTableCell(),hr(t,e));break;case he.BODY:case he.CAPTION:case he.COL:case he.COLGROUP:case he.HTML:break;default:Zn(t,e)}}(this,t);break;case bn.IN_SELECT:dr(this,t);break;case bn.IN_SELECT_IN_TABLE:!function(t,e){const n=e.tagID;n===he.CAPTION||n===he.TABLE||n===he.TBODY||n===he.TFOOT||n===he.THEAD||n===he.TR||n===he.TD||n===he.TH?t.openElements.hasInTableScope(n)&&(t.openElements.popUntilTagNamePopped(he.SELECT),t._resetInsertionMode(),t.onEndTag(e)):dr(t,e)}(this,t);break;case bn.IN_TEMPLATE:!function(t,e){e.tagID===he.TEMPLATE&&Fn(t,e)}(this,t);break;case bn.AFTER_BODY:mr(this,t);break;case bn.IN_FRAMESET:!function(t,e){e.tagID!==he.FRAMESET||t.openElements.isRootHtmlElementCurrent()||(t.openElements.pop(),t.fragmentContext||t.openElements.currentTagId===he.FRAMESET||(t.insertionMode=bn.AFTER_FRAMESET))}(this,t);break;case bn.AFTER_FRAMESET:!function(t,e){e.tagID===he.HTML&&(t.insertionMode=bn.AFTER_AFTER_FRAMESET)}(this,t);break;case bn.AFTER_AFTER_BODY:yr(this,t)}}onEof(t){switch(this.insertionMode){case bn.INITIAL:Nn(this,t);break;case bn.BEFORE_HTML:On(this,t);break;case bn.BEFORE_HEAD:Ln(this,t);break;case bn.IN_HEAD:Bn(this,t);break;case bn.IN_HEAD_NO_SCRIPT:Un(this,t);break;case bn.AFTER_HEAD:jn(this,t);break;case bn.IN_BODY:case bn.IN_TABLE:case bn.IN_CAPTION:case bn.IN_COLUMN_GROUP:case bn.IN_TABLE_BODY:case bn.IN_ROW:case bn.IN_CELL:case bn.IN_SELECT:case bn.IN_SELECT_IN_TABLE:$n(this,t);break;case bn.TEXT:!function(t,e){t._err(e,Vt.eofInElementThatCanContainOnlyText),t.openElements.pop(),t.insertionMode=t.originalInsertionMode,t.onEof(e)}(this,t);break;case bn.IN_TABLE_TEXT:ir(this,t);break;case bn.IN_TEMPLATE:pr(this,t);break;case bn.AFTER_BODY:case bn.IN_FRAMESET:case bn.AFTER_FRAMESET:case bn.AFTER_AFTER_BODY:case bn.AFTER_AFTER_FRAMESET:Rn(this,t)}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===Ht.LINE_FEED)){if(1===t.chars.length)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode)this._insertCharacters(t);else switch(this.insertionMode){case bn.IN_HEAD:case bn.IN_HEAD_NO_SCRIPT:case bn.AFTER_HEAD:case bn.TEXT:case bn.IN_COLUMN_GROUP:case bn.IN_SELECT:case bn.IN_SELECT_IN_TABLE:case bn.IN_FRAMESET:case bn.AFTER_FRAMESET:this._insertCharacters(t);break;case bn.IN_BODY:case bn.IN_CAPTION:case bn.IN_CELL:case bn.IN_TEMPLATE:case bn.AFTER_BODY:case bn.AFTER_AFTER_BODY:case bn.AFTER_AFTER_FRAMESET:zn(this,t);break;case bn.IN_TABLE:case bn.IN_TABLE_BODY:case bn.IN_ROW:Qn(this,t);break;case bn.IN_TABLE_TEXT:nr(this,t)}}}function Mn(t,e){let n=t.activeFormattingElements.getElementEntryInScopeWithTagName(e.tagName);return n?t.openElements.contains(n.element)?t.openElements.hasInScope(e.tagID)||(n=null):(t.activeFormattingElements.removeEntry(n),n=null):Xn(t,e),n}function Tn(t,e){let n=null,r=t.openElements.stackTop;for(;r>=0;r--){const i=t.openElements.items[r];if(i===e.element)break;t._isSpecialElement(i,t.openElements.tagIDs[r])&&(n=i)}return n||(t.openElements.shortenToLength(r<0?0:r),t.activeFormattingElements.removeEntry(e)),n}function xn(t,e,n){let r=e,i=t.openElements.getCommonAncestor(e);for(let o=0,a=i;a!==n;o++,a=i){i=t.openElements.getCommonAncestor(a);const n=t.activeFormattingElements.getElementEntry(a),s=n&&o>=wn;!n||s?(s&&t.activeFormattingElements.removeEntry(n),t.openElements.remove(a)):(a=Sn(t,n),r===e&&(t.activeFormattingElements.bookmark=n),t.treeAdapter.detachNode(r),t.treeAdapter.appendChild(a,r),r=a)}return r}function Sn(t,e){const n=t.treeAdapter.getNamespaceURI(e.element),r=t.treeAdapter.createElement(e.token.tagName,n,e.token.attrs);return t.openElements.replace(e.element,r),e.element=r,r}function kn(t,e,n){const r=ve(t.treeAdapter.getTagName(e));if(t._isElementCausesFosterParenting(r))t._fosterParentElement(n);else{const i=t.treeAdapter.getNamespaceURI(e);r===he.TEMPLATE&&i===se.HTML&&(e=t.treeAdapter.getTemplateContent(e)),t.treeAdapter.appendChild(e,n)}}function Cn(t,e,n){const r=t.treeAdapter.getNamespaceURI(n.element),{token:i}=n,o=t.treeAdapter.createElement(i.tagName,r,i.attrs);t._adoptNodes(e,o),t.treeAdapter.appendChild(e,o),t.activeFormattingElements.insertElementAfterBookmark(o,i),t.activeFormattingElements.removeEntry(n),t.openElements.remove(n.element),t.openElements.insertAfter(e,o,i.tagID)}function Dn(t,e){for(let n=0;n<yn;n++){const n=Mn(t,e);if(!n)break;const r=Tn(t,n);if(!r)break;t.activeFormattingElements.bookmark=n;const i=xn(t,r,n.element),o=t.openElements.getCommonAncestor(n.element);t.treeAdapter.detachNode(i),o&&kn(t,o,i),Cn(t,r,n)}}function In(t,e){t._appendCommentNode(e,t.openElements.currentTmplContentOrNode)}function Rn(t,e){if(t.stopped=!0,e.location){const n=t.fragmentContext?0:2;for(let r=t.openElements.stackTop;r>=n;r--)t._setEndLocation(t.openElements.items[r],e);if(!t.fragmentContext&&t.openElements.stackTop>=0){const n=t.openElements.items[0],r=t.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(t._setEndLocation(n,e),t.openElements.stackTop>=1)){const n=t.openElements.items[1],r=t.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&t._setEndLocation(n,e)}}}}function Nn(t,e){t._err(e,Vt.missingDoctype,!0),t.treeAdapter.setDocumentMode(t.document,ce.QUIRKS),t.insertionMode=bn.BEFORE_HTML,t._processToken(e)}function On(t,e){t._insertFakeRootElement(),t.insertionMode=bn.BEFORE_HEAD,t._processToken(e)}function Ln(t,e){t._insertFakeElement(ue.HEAD,he.HEAD),t.headElement=t.openElements.current,t.insertionMode=bn.IN_HEAD,t._processToken(e)}function Pn(t,e){switch(e.tagID){case he.HTML:Vn(t,e);break;case he.BASE:case he.BASEFONT:case he.BGSOUND:case he.LINK:case he.META:t._appendElement(e,se.HTML),e.ackSelfClosing=!0;break;case he.TITLE:t._switchToTextParsing(e,xe.RCDATA);break;case he.NOSCRIPT:t.options.scriptingEnabled?t._switchToTextParsing(e,xe.RAWTEXT):(t._insertElement(e,se.HTML),t.insertionMode=bn.IN_HEAD_NO_SCRIPT);break;case he.NOFRAMES:case he.STYLE:t._switchToTextParsing(e,xe.RAWTEXT);break;case he.SCRIPT:t._switchToTextParsing(e,xe.SCRIPT_DATA);break;case he.TEMPLATE:t._insertTemplate(e),t.activeFormattingElements.insertMarker(),t.framesetOk=!1,t.insertionMode=bn.IN_TEMPLATE,t.tmplInsertionModeStack.unshift(bn.IN_TEMPLATE);break;case he.HEAD:t._err(e,Vt.misplacedStartTagForHeadElement);break;default:Bn(t,e)}}function Fn(t,e){t.openElements.tmplCount>0?(t.openElements.generateImpliedEndTagsThoroughly(),t.openElements.currentTagId!==he.TEMPLATE&&t._err(e,Vt.closingOfElementWithOpenChildElements),t.openElements.popUntilTagNamePopped(he.TEMPLATE),t.activeFormattingElements.clearToLastMarker(),t.tmplInsertionModeStack.shift(),t._resetInsertionMode()):t._err(e,Vt.endTagWithoutMatchingOpenElement)}function Bn(t,e){t.openElements.pop(),t.insertionMode=bn.AFTER_HEAD,t._processToken(e)}function Un(t,e){const n=e.type===Xt.EOF?Vt.openElementsLeftAfterEof:Vt.disallowedContentInNoscriptInHead;t._err(e,n),t.openElements.pop(),t.insertionMode=bn.IN_HEAD,t._processToken(e)}function jn(t,e){t._insertFakeElement(ue.BODY,he.BODY),t.insertionMode=bn.IN_BODY,Hn(t,e)}function Hn(t,e){switch(e.type){case Xt.CHARACTER:qn(t,e);break;case Xt.WHITESPACE_CHARACTER:zn(t,e);break;case Xt.COMMENT:In(t,e);break;case Xt.START_TAG:Vn(t,e);break;case Xt.END_TAG:Zn(t,e);break;case Xt.EOF:$n(t,e)}}function zn(t,e){t._reconstructActiveFormattingElements(),t._insertCharacters(e)}function qn(t,e){t._reconstructActiveFormattingElements(),t._insertCharacters(e),t.framesetOk=!1}function Wn(t,e){t._reconstructActiveFormattingElements(),t._appendElement(e,se.HTML),t.framesetOk=!1,e.ackSelfClosing=!0}function Gn(t){const e=$t(t,le.TYPE);return null!=e&&e.toLowerCase()===gn}function Kn(t,e){t._switchToTextParsing(e,xe.RAWTEXT)}function Yn(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,se.HTML)}function Vn(t,e){switch(e.tagID){case he.I:case he.S:case he.B:case he.U:case he.EM:case he.TT:case he.BIG:case he.CODE:case he.FONT:case he.SMALL:case he.STRIKE:case he.STRONG:!function(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,se.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}(t,e);break;case he.A:!function(t,e){const n=t.activeFormattingElements.getElementEntryInScopeWithTagName(ue.A);n&&(Dn(t,e),t.openElements.remove(n.element),t.activeFormattingElements.removeEntry(n)),t._reconstructActiveFormattingElements(),t._insertElement(e,se.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}(t,e);break;case he.H1:case he.H2:case he.H3:case he.H4:case he.H5:case he.H6:!function(t,e){t.openElements.hasInButtonScope(he.P)&&t._closePElement(),Ae(t.openElements.currentTagId)&&t.openElements.pop(),t._insertElement(e,se.HTML)}(t,e);break;case he.P:case he.DL:case he.OL:case he.UL:case he.DIV:case he.DIR:case he.NAV:case he.MAIN:case he.MENU:case he.ASIDE:case he.CENTER:case he.FIGURE:case he.FOOTER:case he.HEADER:case he.HGROUP:case he.DIALOG:case he.DETAILS:case he.ADDRESS:case he.ARTICLE:case he.SECTION:case he.SUMMARY:case he.FIELDSET:case he.BLOCKQUOTE:case he.FIGCAPTION:!function(t,e){t.openElements.hasInButtonScope(he.P)&&t._closePElement(),t._insertElement(e,se.HTML)}(t,e);break;case he.LI:case he.DD:case he.DT:!function(t,e){t.framesetOk=!1;const n=e.tagID;for(let e=t.openElements.stackTop;e>=0;e--){const r=t.openElements.tagIDs[e];if(n===he.LI&&r===he.LI||(n===he.DD||n===he.DT)&&(r===he.DD||r===he.DT)){t.openElements.generateImpliedEndTagsWithExclusion(r),t.openElements.popUntilTagNamePopped(r);break}if(r!==he.ADDRESS&&r!==he.DIV&&r!==he.P&&t._isSpecialElement(t.openElements.items[e],r))break}t.openElements.hasInButtonScope(he.P)&&t._closePElement(),t._insertElement(e,se.HTML)}(t,e);break;case he.BR:case he.IMG:case he.WBR:case he.AREA:case he.EMBED:case he.KEYGEN:Wn(t,e);break;case he.HR:!function(t,e){t.openElements.hasInButtonScope(he.P)&&t._closePElement(),t._appendElement(e,se.HTML),t.framesetOk=!1,e.ackSelfClosing=!0}(t,e);break;case he.RB:case he.RTC:!function(t,e){t.openElements.hasInScope(he.RUBY)&&t.openElements.generateImpliedEndTags(),t._insertElement(e,se.HTML)}(t,e);break;case he.RT:case he.RP:!function(t,e){t.openElements.hasInScope(he.RUBY)&&t.openElements.generateImpliedEndTagsWithExclusion(he.RTC),t._insertElement(e,se.HTML)}(t,e);break;case he.PRE:case he.LISTING:!function(t,e){t.openElements.hasInButtonScope(he.P)&&t._closePElement(),t._insertElement(e,se.HTML),t.skipNextNewLine=!0,t.framesetOk=!1}(t,e);break;case he.XMP:!function(t,e){t.openElements.hasInButtonScope(he.P)&&t._closePElement(),t._reconstructActiveFormattingElements(),t.framesetOk=!1,t._switchToTextParsing(e,xe.RAWTEXT)}(t,e);break;case he.SVG:!function(t,e){t._reconstructActiveFormattingElements(),pn(e),mn(e),e.selfClosing?t._appendElement(e,se.SVG):t._insertElement(e,se.SVG),e.ackSelfClosing=!0}(t,e);break;case he.HTML:!function(t,e){0===t.openElements.tmplCount&&t.treeAdapter.adoptAttributes(t.openElements.items[0],e.attrs)}(t,e);break;case he.BASE:case he.LINK:case he.META:case he.STYLE:case he.TITLE:case he.SCRIPT:case he.BGSOUND:case he.BASEFONT:case he.TEMPLATE:Pn(t,e);break;case he.BODY:!function(t,e){const n=t.openElements.tryPeekProperlyNestedBodyElement();n&&0===t.openElements.tmplCount&&(t.framesetOk=!1,t.treeAdapter.adoptAttributes(n,e.attrs))}(t,e);break;case he.FORM:!function(t,e){const n=t.openElements.tmplCount>0;t.formElement&&!n||(t.openElements.hasInButtonScope(he.P)&&t._closePElement(),t._insertElement(e,se.HTML),n||(t.formElement=t.openElements.current))}(t,e);break;case he.NOBR:!function(t,e){t._reconstructActiveFormattingElements(),t.openElements.hasInScope(he.NOBR)&&(Dn(t,e),t._reconstructActiveFormattingElements()),t._insertElement(e,se.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}(t,e);break;case he.MATH:!function(t,e){t._reconstructActiveFormattingElements(),dn(e),mn(e),e.selfClosing?t._appendElement(e,se.MATHML):t._insertElement(e,se.MATHML),e.ackSelfClosing=!0}(t,e);break;case he.TABLE:!function(t,e){t.treeAdapter.getDocumentMode(t.document)!==ce.QUIRKS&&t.openElements.hasInButtonScope(he.P)&&t._closePElement(),t._insertElement(e,se.HTML),t.framesetOk=!1,t.insertionMode=bn.IN_TABLE}(t,e);break;case he.INPUT:!function(t,e){t._reconstructActiveFormattingElements(),t._appendElement(e,se.HTML),Gn(e)||(t.framesetOk=!1),e.ackSelfClosing=!0}(t,e);break;case he.PARAM:case he.TRACK:case he.SOURCE:!function(t,e){t._appendElement(e,se.HTML),e.ackSelfClosing=!0}(t,e);break;case he.IMAGE:!function(t,e){e.tagName=ue.IMG,e.tagID=he.IMG,Wn(t,e)}(t,e);break;case he.BUTTON:!function(t,e){t.openElements.hasInScope(he.BUTTON)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(he.BUTTON)),t._reconstructActiveFormattingElements(),t._insertElement(e,se.HTML),t.framesetOk=!1}(t,e);break;case he.APPLET:case he.OBJECT:case he.MARQUEE:!function(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,se.HTML),t.activeFormattingElements.insertMarker(),t.framesetOk=!1}(t,e);break;case he.IFRAME:!function(t,e){t.framesetOk=!1,t._switchToTextParsing(e,xe.RAWTEXT)}(t,e);break;case he.SELECT:!function(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,se.HTML),t.framesetOk=!1,t.insertionMode=t.insertionMode===bn.IN_TABLE||t.insertionMode===bn.IN_CAPTION||t.insertionMode===bn.IN_TABLE_BODY||t.insertionMode===bn.IN_ROW||t.insertionMode===bn.IN_CELL?bn.IN_SELECT_IN_TABLE:bn.IN_SELECT}(t,e);break;case he.OPTION:case he.OPTGROUP:!function(t,e){t.openElements.currentTagId===he.OPTION&&t.openElements.pop(),t._reconstructActiveFormattingElements(),t._insertElement(e,se.HTML)}(t,e);break;case he.NOEMBED:Kn(t,e);break;case he.FRAMESET:!function(t,e){const n=t.openElements.tryPeekProperlyNestedBodyElement();t.framesetOk&&n&&(t.treeAdapter.detachNode(n),t.openElements.popAllUpToHtmlElement(),t._insertElement(e,se.HTML),t.insertionMode=bn.IN_FRAMESET)}(t,e);break;case he.TEXTAREA:!function(t,e){t._insertElement(e,se.HTML),t.skipNextNewLine=!0,t.tokenizer.state=xe.RCDATA,t.originalInsertionMode=t.insertionMode,t.framesetOk=!1,t.insertionMode=bn.TEXT}(t,e);break;case he.NOSCRIPT:t.options.scriptingEnabled?Kn(t,e):Yn(t,e);break;case he.PLAINTEXT:!function(t,e){t.openElements.hasInButtonScope(he.P)&&t._closePElement(),t._insertElement(e,se.HTML),t.tokenizer.state=xe.PLAINTEXT}(t,e);break;case he.COL:case he.TH:case he.TD:case he.TR:case he.HEAD:case he.FRAME:case he.TBODY:case he.TFOOT:case he.THEAD:case he.CAPTION:case he.COLGROUP:break;default:Yn(t,e)}}function Xn(t,e){const n=e.tagName,r=e.tagID;for(let e=t.openElements.stackTop;e>0;e--){const i=t.openElements.items[e],o=t.openElements.tagIDs[e];if(r===o&&(r!==he.UNKNOWN||t.treeAdapter.getTagName(i)===n)){t.openElements.generateImpliedEndTagsWithExclusion(r),t.openElements.stackTop>=e&&t.openElements.shortenToLength(e);break}if(t._isSpecialElement(i,o))break}}function Zn(t,e){switch(e.tagID){case he.A:case he.B:case he.I:case he.S:case he.U:case he.EM:case he.TT:case he.BIG:case he.CODE:case he.FONT:case he.NOBR:case he.SMALL:case he.STRIKE:case he.STRONG:Dn(t,e);break;case he.P:!function(t){t.openElements.hasInButtonScope(he.P)||t._insertFakeElement(ue.P,he.P),t._closePElement()}(t);break;case he.DL:case he.UL:case he.OL:case he.DIR:case he.DIV:case he.NAV:case he.PRE:case he.MAIN:case he.MENU:case he.ASIDE:case he.BUTTON:case he.CENTER:case he.FIGURE:case he.FOOTER:case he.HEADER:case he.HGROUP:case he.DIALOG:case he.ADDRESS:case he.ARTICLE:case he.DETAILS:case he.SECTION:case he.SUMMARY:case he.LISTING:case he.FIELDSET:case he.BLOCKQUOTE:case he.FIGCAPTION:!function(t,e){const n=e.tagID;t.openElements.hasInScope(n)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(n))}(t,e);break;case he.LI:!function(t){t.openElements.hasInListItemScope(he.LI)&&(t.openElements.generateImpliedEndTagsWithExclusion(he.LI),t.openElements.popUntilTagNamePopped(he.LI))}(t);break;case he.DD:case he.DT:!function(t,e){const n=e.tagID;t.openElements.hasInScope(n)&&(t.openElements.generateImpliedEndTagsWithExclusion(n),t.openElements.popUntilTagNamePopped(n))}(t,e);break;case he.H1:case he.H2:case he.H3:case he.H4:case he.H5:case he.H6:!function(t){t.openElements.hasNumberedHeaderInScope()&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilNumberedHeaderPopped())}(t);break;case he.BR:!function(t){t._reconstructActiveFormattingElements(),t._insertFakeElement(ue.BR,he.BR),t.openElements.pop(),t.framesetOk=!1}(t);break;case he.BODY:!function(t,e){if(t.openElements.hasInScope(he.BODY)&&(t.insertionMode=bn.AFTER_BODY,t.options.sourceCodeLocationInfo)){const n=t.openElements.tryPeekProperlyNestedBodyElement();n&&t._setEndLocation(n,e)}}(t,e);break;case he.HTML:!function(t,e){t.openElements.hasInScope(he.BODY)&&(t.insertionMode=bn.AFTER_BODY,mr(t,e))}(t,e);break;case he.FORM:!function(t){const e=t.openElements.tmplCount>0,{formElement:n}=t;e||(t.formElement=null),(n||e)&&t.openElements.hasInScope(he.FORM)&&(t.openElements.generateImpliedEndTags(),e?t.openElements.popUntilTagNamePopped(he.FORM):n&&t.openElements.remove(n))}(t);break;case he.APPLET:case he.OBJECT:case he.MARQUEE:!function(t,e){const n=e.tagID;t.openElements.hasInScope(n)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(n),t.activeFormattingElements.clearToLastMarker())}(t,e);break;case he.TEMPLATE:Fn(t,e);break;default:Xn(t,e)}}function $n(t,e){t.tmplInsertionModeStack.length>0?pr(t,e):Rn(t,e)}function Qn(t,e){if(En.has(t.openElements.currentTagId))switch(t.pendingCharacterTokens.length=0,t.hasNonWhitespacePendingCharacterToken=!1,t.originalInsertionMode=t.insertionMode,t.insertionMode=bn.IN_TABLE_TEXT,e.type){case Xt.CHARACTER:rr(t,e);break;case Xt.WHITESPACE_CHARACTER:nr(t,e)}else er(t,e)}function Jn(t,e){switch(e.tagID){case he.TD:case he.TH:case he.TR:!function(t,e){t.openElements.clearBackToTableContext(),t._insertFakeElement(ue.TBODY,he.TBODY),t.insertionMode=bn.IN_TABLE_BODY,lr(t,e)}(t,e);break;case he.STYLE:case he.SCRIPT:case he.TEMPLATE:Pn(t,e);break;case he.COL:!function(t,e){t.openElements.clearBackToTableContext(),t._insertFakeElement(ue.COLGROUP,he.COLGROUP),t.insertionMode=bn.IN_COLUMN_GROUP,ar(t,e)}(t,e);break;case he.FORM:!function(t,e){t.formElement||0!==t.openElements.tmplCount||(t._insertElement(e,se.HTML),t.formElement=t.openElements.current,t.openElements.pop())}(t,e);break;case he.TABLE:!function(t,e){t.openElements.hasInTableScope(he.TABLE)&&(t.openElements.popUntilTagNamePopped(he.TABLE),t._resetInsertionMode(),t._processStartTag(e))}(t,e);break;case he.TBODY:case he.TFOOT:case he.THEAD:!function(t,e){t.openElements.clearBackToTableContext(),t._insertElement(e,se.HTML),t.insertionMode=bn.IN_TABLE_BODY}(t,e);break;case he.INPUT:!function(t,e){Gn(e)?t._appendElement(e,se.HTML):er(t,e),e.ackSelfClosing=!0}(t,e);break;case he.CAPTION:!function(t,e){t.openElements.clearBackToTableContext(),t.activeFormattingElements.insertMarker(),t._insertElement(e,se.HTML),t.insertionMode=bn.IN_CAPTION}(t,e);break;case he.COLGROUP:!function(t,e){t.openElements.clearBackToTableContext(),t._insertElement(e,se.HTML),t.insertionMode=bn.IN_COLUMN_GROUP}(t,e);break;default:er(t,e)}}function tr(t,e){switch(e.tagID){case he.TABLE:t.openElements.hasInTableScope(he.TABLE)&&(t.openElements.popUntilTagNamePopped(he.TABLE),t._resetInsertionMode());break;case he.TEMPLATE:Fn(t,e);break;case he.BODY:case he.CAPTION:case he.COL:case he.COLGROUP:case he.HTML:case he.TBODY:case he.TD:case he.TFOOT:case he.TH:case he.THEAD:case he.TR:break;default:er(t,e)}}function er(t,e){const n=t.fosterParentingEnabled;t.fosterParentingEnabled=!0,Hn(t,e),t.fosterParentingEnabled=n}function nr(t,e){t.pendingCharacterTokens.push(e)}function rr(t,e){t.pendingCharacterTokens.push(e),t.hasNonWhitespacePendingCharacterToken=!0}function ir(t,e){let n=0;if(t.hasNonWhitespacePendingCharacterToken)for(;n<t.pendingCharacterTokens.length;n++)er(t,t.pendingCharacterTokens[n]);else for(;n<t.pendingCharacterTokens.length;n++)t._insertCharacters(t.pendingCharacterTokens[n]);t.insertionMode=t.originalInsertionMode,t._processToken(e)}const or=new Set([he.CAPTION,he.COL,he.COLGROUP,he.TBODY,he.TD,he.TFOOT,he.TH,he.THEAD,he.TR]);function ar(t,e){switch(e.tagID){case he.HTML:Vn(t,e);break;case he.COL:t._appendElement(e,se.HTML),e.ackSelfClosing=!0;break;case he.TEMPLATE:Pn(t,e);break;default:sr(t,e)}}function sr(t,e){t.openElements.currentTagId===he.COLGROUP&&(t.openElements.pop(),t.insertionMode=bn.IN_TABLE,t._processToken(e))}function lr(t,e){switch(e.tagID){case he.TR:t.openElements.clearBackToTableBodyContext(),t._insertElement(e,se.HTML),t.insertionMode=bn.IN_ROW;break;case he.TH:case he.TD:t.openElements.clearBackToTableBodyContext(),t._insertFakeElement(ue.TR,he.TR),t.insertionMode=bn.IN_ROW,ur(t,e);break;case he.CAPTION:case he.COL:case he.COLGROUP:case he.TBODY:case he.TFOOT:case he.THEAD:t.openElements.hasTableBodyContextInTableScope()&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=bn.IN_TABLE,Jn(t,e));break;default:Jn(t,e)}}function cr(t,e){const n=e.tagID;switch(e.tagID){case he.TBODY:case he.TFOOT:case he.THEAD:t.openElements.hasInTableScope(n)&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=bn.IN_TABLE);break;case he.TABLE:t.openElements.hasTableBodyContextInTableScope()&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=bn.IN_TABLE,tr(t,e));break;case he.BODY:case he.CAPTION:case he.COL:case he.COLGROUP:case he.HTML:case he.TD:case he.TH:case he.TR:break;default:tr(t,e)}}function ur(t,e){switch(e.tagID){case he.TH:case he.TD:t.openElements.clearBackToTableRowContext(),t._insertElement(e,se.HTML),t.insertionMode=bn.IN_CELL,t.activeFormattingElements.insertMarker();break;case he.CAPTION:case he.COL:case he.COLGROUP:case he.TBODY:case he.TFOOT:case he.THEAD:case he.TR:t.openElements.hasInTableScope(he.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=bn.IN_TABLE_BODY,lr(t,e));break;default:Jn(t,e)}}function hr(t,e){switch(e.tagID){case he.TR:t.openElements.hasInTableScope(he.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=bn.IN_TABLE_BODY);break;case he.TABLE:t.openElements.hasInTableScope(he.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=bn.IN_TABLE_BODY,cr(t,e));break;case he.TBODY:case he.TFOOT:case he.THEAD:(t.openElements.hasInTableScope(e.tagID)||t.openElements.hasInTableScope(he.TR))&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=bn.IN_TABLE_BODY,cr(t,e));break;case he.BODY:case he.CAPTION:case he.COL:case he.COLGROUP:case he.HTML:case he.TD:case he.TH:break;default:tr(t,e)}}function fr(t,e){switch(e.tagID){case he.HTML:Vn(t,e);break;case he.OPTION:t.openElements.currentTagId===he.OPTION&&t.openElements.pop(),t._insertElement(e,se.HTML);break;case he.OPTGROUP:t.openElements.currentTagId===he.OPTION&&t.openElements.pop(),t.openElements.currentTagId===he.OPTGROUP&&t.openElements.pop(),t._insertElement(e,se.HTML);break;case he.INPUT:case he.KEYGEN:case he.TEXTAREA:case he.SELECT:t.openElements.hasInSelectScope(he.SELECT)&&(t.openElements.popUntilTagNamePopped(he.SELECT),t._resetInsertionMode(),e.tagID!==he.SELECT&&t._processStartTag(e));break;case he.SCRIPT:case he.TEMPLATE:Pn(t,e)}}function dr(t,e){switch(e.tagID){case he.OPTGROUP:t.openElements.stackTop>0&&t.openElements.currentTagId===he.OPTION&&t.openElements.tagIDs[t.openElements.stackTop-1]===he.OPTGROUP&&t.openElements.pop(),t.openElements.currentTagId===he.OPTGROUP&&t.openElements.pop();break;case he.OPTION:t.openElements.currentTagId===he.OPTION&&t.openElements.pop();break;case he.SELECT:t.openElements.hasInSelectScope(he.SELECT)&&(t.openElements.popUntilTagNamePopped(he.SELECT),t._resetInsertionMode());break;case he.TEMPLATE:Fn(t,e)}}function pr(t,e){t.openElements.tmplCount>0?(t.openElements.popUntilTagNamePopped(he.TEMPLATE),t.activeFormattingElements.clearToLastMarker(),t.tmplInsertionModeStack.shift(),t._resetInsertionMode(),t.onEof(e)):Rn(t,e)}function mr(t,e){var n;if(e.tagID===he.HTML){if(t.fragmentContext||(t.insertionMode=bn.AFTER_AFTER_BODY),t.options.sourceCodeLocationInfo&&t.openElements.tagIDs[0]===he.HTML){t._setEndLocation(t.openElements.items[0],e);const r=t.openElements.items[1];r&&!(null===(n=t.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)&&t._setEndLocation(r,e)}}else gr(t,e)}function gr(t,e){t.insertionMode=bn.IN_BODY,Hn(t,e)}function yr(t,e){t.insertionMode=bn.IN_BODY,Hn(t,e)}function wr(t){for(;t.treeAdapter.getNamespaceURI(t.openElements.current)!==se.HTML&&!t._isIntegrationPoint(t.openElements.currentTagId,t.openElements.current);)t.openElements.pop()}const br=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]);function vr(t,e){return function(n){let r,i=0,o="";for(;r=t.exec(n);)i!==r.index&&(o+=n.substring(i,r.index)),o+=e.get(r[0].charCodeAt(0)),i=r.index+1;return o+n.substring(i)}}function Er(t,e){return An.parse(t,e)}function _r(t,e,n){"string"==typeof t&&(n=e,e=t,t=null);const r=An.getFragmentParser(t,n);return r.tokenizer.write(e,!0),r.getFragment()}String.prototype.codePointAt,vr(/[&<>'"]/g,br),vr(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),vr(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]])),new Set([ue.AREA,ue.BASE,ue.BASEFONT,ue.BGSOUND,ue.BR,ue.COL,ue.EMBED,ue.FRAME,ue.HR,ue.IMG,ue.INPUT,ue.KEYGEN,ue.LINK,ue.META,ue.PARAM,ue.SOURCE,ue.TRACK,ue.WBR]);const Ar={abandonedHeadElementChild:{reason:"Unexpected metadata element after head",description:"Unexpected element after head. Expected the element before `</head>`",url:!1},abruptClosingOfEmptyComment:{reason:"Unexpected abruptly closed empty comment",description:"Unexpected `>` or `->`. Expected `--\x3e` to close comments"},abruptDoctypePublicIdentifier:{reason:"Unexpected abruptly closed public identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the public identifier"},abruptDoctypeSystemIdentifier:{reason:"Unexpected abruptly closed system identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the identifier identifier"},absenceOfDigitsInNumericCharacterReference:{reason:"Unexpected non-digit at start of numeric character reference",description:"Unexpected `%c`. Expected `[0-9]` for decimal references or `[0-9a-fA-F]` for hexadecimal references"},cdataInHtmlContent:{reason:"Unexpected CDATA section in HTML",description:"Unexpected `<![CDATA[` in HTML. Remove it, use a comment, or encode special characters instead"},characterReferenceOutsideUnicodeRange:{reason:"Unexpected too big numeric character reference",description:"Unexpectedly high character reference. Expected character references to be at most hexadecimal 10ffff (or decimal 1114111)"},closingOfElementWithOpenChildElements:{reason:"Unexpected closing tag with open child elements",description:"Unexpectedly closing tag. Expected other tags to be closed first",url:!1},controlCharacterInInputStream:{reason:"Unexpected control character",description:"Unexpected control character `%x`. Expected a non-control code point, 0x00, or ASCII whitespace"},controlCharacterReference:{reason:"Unexpected control character reference",description:"Unexpectedly control character in reference. Expected a non-control code point, 0x00, or ASCII whitespace"},disallowedContentInNoscriptInHead:{reason:"Disallowed content inside `<noscript>` in `<head>`",description:"Unexpected text character `%c`. Only use text in `<noscript>`s in `<body>`",url:!1},duplicateAttribute:{reason:"Unexpected duplicate attribute",description:"Unexpectedly double attribute. Expected attributes to occur only once"},endTagWithAttributes:{reason:"Unexpected attribute on closing tag",description:"Unexpected attribute. Expected `>` instead"},endTagWithTrailingSolidus:{reason:"Unexpected slash at end of closing tag",description:"Unexpected `%c-1`. Expected `>` instead"},endTagWithoutMatchingOpenElement:{reason:"Unexpected unopened end tag",description:"Unexpected end tag. Expected no end tag or another end tag",url:!1},eofBeforeTagName:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected tag name instead"},eofInCdata:{reason:"Unexpected end of file in CDATA",description:"Unexpected end of file. Expected `]]>` to close the CDATA"},eofInComment:{reason:"Unexpected end of file in comment",description:"Unexpected end of file. Expected `--\x3e` to close the comment"},eofInDoctype:{reason:"Unexpected end of file in doctype",description:"Unexpected end of file. Expected a valid doctype (such as `<!doctype html>`)"},eofInElementThatCanContainOnlyText:{reason:"Unexpected end of file in element that can only contain text",description:"Unexpected end of file. Expected text or a closing tag",url:!1},eofInScriptHtmlCommentLikeText:{reason:"Unexpected end of file in comment inside script",description:"Unexpected end of file. Expected `--\x3e` to close the comment"},eofInTag:{reason:"Unexpected end of file in tag",description:"Unexpected end of file. Expected `>` to close the tag"},incorrectlyClosedComment:{reason:"Incorrectly closed comment",description:"Unexpected `%c-1`. Expected `--\x3e` to close the comment"},incorrectlyOpenedComment:{reason:"Incorrectly opened comment",description:"Unexpected `%c`. Expected `\x3c!--` to open the comment"},invalidCharacterSequenceAfterDoctypeName:{reason:"Invalid sequence after doctype name",description:"Unexpected sequence at `%c`. Expected `public` or `system`"},invalidFirstCharacterOfTagName:{reason:"Invalid first character in tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},misplacedDoctype:{reason:"Misplaced doctype",description:"Unexpected doctype. Expected doctype before head",url:!1},misplacedStartTagForHeadElement:{reason:"Misplaced `<head>` start tag",description:"Unexpected start tag `<head>`. Expected `<head>` directly after doctype",url:!1},missingAttributeValue:{reason:"Missing attribute value",description:"Unexpected `%c-1`. Expected an attribute value or no `%c-1` instead"},missingDoctype:{reason:"Missing doctype before other content",description:"Expected a `<!doctype html>` before anything else",url:!1},missingDoctypeName:{reason:"Missing doctype name",description:"Unexpected doctype end at `%c`. Expected `html` instead"},missingDoctypePublicIdentifier:{reason:"Missing public identifier in doctype",description:"Unexpected `%c`. Expected identifier for `public` instead"},missingDoctypeSystemIdentifier:{reason:"Missing system identifier in doctype",description:'Unexpected `%c`. Expected identifier for `system` instead (suggested: `"about:legacy-compat"`)'},missingEndTagName:{reason:"Missing name in end tag",description:"Unexpected `%c`. Expected an ASCII letter instead"},missingQuoteBeforeDoctypePublicIdentifier:{reason:"Missing quote before public identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingQuoteBeforeDoctypeSystemIdentifier:{reason:"Missing quote before system identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingSemicolonAfterCharacterReference:{reason:"Missing semicolon after character reference",description:"Unexpected `%c`. Expected `;` instead"},missingWhitespaceAfterDoctypePublicKeyword:{reason:"Missing whitespace after public identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceAfterDoctypeSystemKeyword:{reason:"Missing whitespace after system identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBeforeDoctypeName:{reason:"Missing whitespace before doctype name",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenAttributes:{reason:"Missing whitespace between attributes",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:{reason:"Missing whitespace between public and system identifiers in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},nestedComment:{reason:"Unexpected nested comment",description:"Unexpected `\x3c!--`. Expected `--\x3e`"},nestedNoscriptInHead:{reason:"Unexpected nested `<noscript>` in `<head>`",description:"Unexpected `<noscript>`. Expected a closing tag or a meta element",url:!1},nonConformingDoctype:{reason:"Unexpected non-conforming doctype declaration",description:'Expected `<!doctype html>` or `<!doctype html system "about:legacy-compat">`',url:!1},nonVoidHtmlElementStartTagWithTrailingSolidus:{reason:"Unexpected trailing slash on start tag of non-void element",description:"Unexpected `/`. Expected `>` instead"},noncharacterCharacterReference:{reason:"Unexpected noncharacter code point referenced by character reference",description:"Unexpected code point. Do not use noncharacters in HTML"},noncharacterInInputStream:{reason:"Unexpected noncharacter character",description:"Unexpected code point `%x`. Do not use noncharacters in HTML"},nullCharacterReference:{reason:"Unexpected NULL character referenced by character reference",description:"Unexpected code point. Do not use NULL characters in HTML"},openElementsLeftAfterEof:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected closing tag instead",url:!1},surrogateCharacterReference:{reason:"Unexpected surrogate character referenced by character reference",description:"Unexpected code point. Do not use lone surrogate characters in HTML"},surrogateInInputStream:{reason:"Unexpected surrogate character",description:"Unexpected code point `%x`. Do not use lone surrogate characters in HTML"},unexpectedCharacterAfterDoctypeSystemIdentifier:{reason:"Invalid character after system identifier in doctype",description:"Unexpected character at `%c`. Expected `>`"},unexpectedCharacterInAttributeName:{reason:"Unexpected character in attribute name",description:"Unexpected `%c`. Expected whitespace, `/`, `>`, `=`, or probably an ASCII letter"},unexpectedCharacterInUnquotedAttributeValue:{reason:"Unexpected character in unquoted attribute value",description:"Unexpected `%c`. Quote the attribute value to include it"},unexpectedEqualsSignBeforeAttributeName:{reason:"Unexpected equals sign before attribute name",description:"Unexpected `%c`. Add an attribute name before it"},unexpectedNullCharacter:{reason:"Unexpected NULL character",description:"Unexpected code point `%x`. Do not use NULL characters in HTML"},unexpectedQuestionMarkInsteadOfTagName:{reason:"Unexpected question mark instead of tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},unexpectedSolidusInTag:{reason:"Unexpected slash in tag",description:"Unexpected `%c-1`. Expected it followed by `>` or in a quoted attribute value"},unknownNamedCharacterReference:{reason:"Unexpected unknown named character reference",description:"Unexpected character reference. Expected known named character references"}},Mr="https://html.spec.whatwg.org/multipage/parsing.html#parse-error-",Tr=/-[a-z]/g,xr=/%c(?:([-+])(\d+))?/g,Sr=/%x/g,kr={2:!0,1:!1,0:null},Cr={};function Dr(t){return t.charAt(1).toUpperCase()}function Ir(t){const{emitParseErrors:e,...n}={...this.data("settings"),...t};this.parser=function(t,r){return function(t,e){const n=e||Cr,r=n.onerror,i=t instanceof _?t:new _(t),o=n.fragment?_r:Er,a=String(i),s=o(a,{sourceCodeLocationInfo:!0,onParseError:n.onerror?function(t){const e=t.code,o=function(t){return t.replace(Tr,Dr)}(e),s=n[o],l=null==s||s,c="number"==typeof l?l:l?1:0;if(c){const n=Ar[o],a=new f(u(n.reason),{place:{start:{line:t.startLine,column:t.startCol,offset:t.startOffset},end:{line:t.endLine,column:t.endCol,offset:t.endOffset}},ruleId:e,source:"hast-util-from-html"});i.path&&(a.file=i.path,a.name=i.path+":"+a.name),a.fatal=kr[c],a.note=u(n.description),a.url=!1===n.url?void 0:Mr+e,r(a)}function u(e){return e.replace(xr,(function(e,n,r){const i=(r?Number.parseInt(r,10):0)*("-"===n?-1:1);return"`"===(o=a.charAt(t.startOffset+i))?"` ` `":o;var o})).replace(Sr,(function(){return"0x"+a.charCodeAt(t.startOffset).toString(16).toUpperCase()}))}}:null,scriptingEnabled:!1});return Nt(s,{file:i,space:n.space,verbose:n.verbose})}(t,{...n,onerror:e?function(t){r.path&&(t.name=r.path+":"+t.name,t.file=r.path),r.messages.push(t)}:void 0})}}const Rr="object"==typeof self?self:globalThis,Nr=t=>((t,e)=>{const n=(e,n)=>(t.set(n,e),e),r=i=>{if(t.has(i))return t.get(i);const[o,a]=e[i];switch(o){case 0:case-1:return n(a,i);case 1:{const t=n([],i);for(const e of a)t.push(r(e));return t}case 2:{const t=n({},i);for(const[e,n]of a)t[r(e)]=r(n);return t}case 3:return n(new Date(a),i);case 4:{const{source:t,flags:e}=a;return n(new RegExp(t,e),i)}case 5:{const t=n(new Map,i);for(const[e,n]of a)t.set(r(e),r(n));return t}case 6:{const t=n(new Set,i);for(const e of a)t.add(r(e));return t}case 7:{const{name:t,message:e}=a;return n(new Rr[t](e),i)}case 8:return n(BigInt(a),i);case"BigInt":return n(Object(BigInt(a)),i)}return n(new Rr[o](a),i)};return r})(new Map,t)(0),Or="",{toString:Lr}={},{keys:Pr}=Object,Fr=t=>{const e=typeof t;if("object"!==e||!t)return[0,e];const n=Lr.call(t).slice(8,-1);switch(n){case"Array":return[1,Or];case"Object":return[2,Or];case"Date":return[3,Or];case"RegExp":return[4,Or];case"Map":return[5,Or];case"Set":return[6,Or]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},Br=([t,e])=>0===t&&("function"===e||"symbol"===e),Ur=(t,{json:e,lossy:n}={})=>{const r=[];return((t,e,n,r)=>{const i=(t,e)=>{const i=r.push(t)-1;return n.set(e,i),i},o=r=>{if(n.has(r))return n.get(r);let[a,s]=Fr(r);switch(a){case 0:{let e=r;switch(s){case"bigint":a=8,e=r.toString();break;case"function":case"symbol":if(t)throw new TypeError("unable to serialize "+s);e=null;break;case"undefined":return i([-1],r)}return i([a,e],r)}case 1:{if(s)return i([s,[...r]],r);const t=[],e=i([a,t],r);for(const e of r)t.push(o(e));return e}case 2:{if(s)switch(s){case"BigInt":return i([s,r.toString()],r);case"Boolean":case"Number":case"String":return i([s,r.valueOf()],r)}if(e&&"toJSON"in r)return o(r.toJSON());const n=[],l=i([a,n],r);for(const e of Pr(r))!t&&Br(Fr(r[e]))||n.push([o(e),o(r[e])]);return l}case 3:return i([a,r.toISOString()],r);case 4:{const{source:t,flags:e}=r;return i([a,{source:t,flags:e}],r)}case 5:{const e=[],n=i([a,e],r);for(const[n,i]of r)(t||!Br(Fr(n))&&!Br(Fr(i)))&&e.push([o(n),o(i)]);return n}case 6:{const e=[],n=i([a,e],r);for(const n of r)!t&&Br(Fr(n))||e.push(o(n));return n}}const{message:l}=r;return i([a,{name:s,message:l}],r)};return o})(!(e||n),!!e,new Map,r)(t),r},jr="function"==typeof structuredClone?(t,e)=>e&&("json"in e||"lossy"in e)?Nr(Ur(t,e)):structuredClone(t):(t,e)=>Nr(Ur(t,e)),Hr=function(t,e,n,r,i){const o=zr(e);if(null!=n&&("number"!=typeof n||n<0||n===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite `index`");if(!(null==r||r.type&&r.children))throw new Error("Expected valid `parent`");if(null==n!=(null==r))throw new Error("Expected both `index` and `parent`");return!!Gr(t)&&o.call(i,t,n,r)},zr=function(t){if(null==t)return Wr;if("string"==typeof t)return e=t,qr((function(t){return t.tagName===e}));var e;if("object"==typeof t)return function(t){const e=[];let n=-1;for(;++n<t.length;)e[n]=zr(t[n]);return qr((function(...t){let n=-1;for(;++n<e.length;)if(e[n].apply(this,t))return!0;return!1}))}(t);if("function"==typeof t)return qr(t);throw new Error("Expected function, string, or array as `test`")};function qr(t){return function(e,n,r){return Boolean(Gr(e)&&t.call(this,e,"number"==typeof n?n:void 0,r||void 0))}}function Wr(t){return Boolean(t&&"object"==typeof t&&"type"in t&&"element"===t.type&&"tagName"in t&&"string"==typeof t.tagName)}function Gr(t){return null!==t&&"object"==typeof t&&"type"in t&&"tagName"in t}const Kr=zr((function(t){return"audio"===t.tagName||"canvas"===t.tagName||"embed"===t.tagName||"iframe"===t.tagName||"img"===t.tagName||"math"===t.tagName||"object"===t.tagName||"picture"===t.tagName||"svg"===t.tagName||"video"===t.tagName})),Yr=/[ \t\n\f\r]/g;function Vr(t){return"object"==typeof t?"text"===t.type&&Xr(t.value):Xr(t)}function Xr(t){return""===t.replace(Yr,"")}const Zr=function(t){if(null==t)return Qr;if("function"==typeof t)return $r(t);if("object"==typeof t)return Array.isArray(t)?function(t){const e=[];let n=-1;for(;++n<t.length;)e[n]=Zr(t[n]);return $r((function(...t){let n=-1;for(;++n<e.length;)if(e[n].apply(this,t))return!0;return!1}))}(t):function(t){const e=t;return $r((function(n){const r=n;let i;for(i in t)if(r[i]!==e[i])return!1;return!0}))}(t);if("string"==typeof t)return e=t,$r((function(t){return t&&t.type===e}));var e;throw new Error("Expected function, string, or object as test")};function $r(t){return function(e,n,r){return Boolean(function(t){return null!==t&&"object"==typeof t&&"type"in t}(e)&&t.call(this,e,"number"==typeof n?n:void 0,r||void 0))}}function Qr(){return!0}const Jr=["address","article","aside","blockquote","body","br","caption","center","col","colgroup","dd","dialog","dir","div","dl","dt","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","legend","li","li","listing","main","menu","nav","ol","optgroup","option","p","plaintext","pre","section","summary","table","tbody","td","td","tfoot","th","th","thead","tr","ul","wbr","xmp"],ti=["button","input","select","textarea"],ei=["area","base","basefont","dialog","datalist","head","link","meta","noembed","noframes","param","rp","script","source","style","template","track","title"],ni={},ri=Zr(["doctype","comment"]);function ii(t){const e=function(t){return function(e){return String(e).replace(/[\t\n\v\f\r ]+/g,t)}}((t||ni).newlines?fi:di);return function(t){oi(t,{collapse:e,whitespace:"normal"})}}function oi(t,e){if("children"in t){const n={...e};return("root"===t.type||ci(t))&&(n.before=!0,n.after=!0),n.whitespace=function(t,e){if("tagName"in t&&t.properties)switch(t.tagName){case"listing":case"plaintext":case"script":case"style":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return t.properties.wrap?"pre-wrap":"pre";case"td":case"th":return t.properties.noWrap?"nowrap":e.whitespace;case"textarea":return"pre-wrap"}return e.whitespace}(t,e),function(t,e){let n=e.before;const r=e.after,i=t.children;let o=i.length,a=-1;for(;++a<o;){const t=oi(i[a],{...e,after:ai(i,a,r),before:n});t.remove?(i.splice(a,1),a--,o--):t.ignore||(n=t.stripAtStart),li(i[a])&&(n=!1)}return{ignore:!1,stripAtStart:Boolean(n||r),remove:!1}}(t,n)}if("text"===t.type){if("normal"===e.whitespace)return function(t,e){const n=e.collapse(t.value),r={ignore:!1,stripAtStart:!1,remove:!1};let i=0,o=n.length;return e.before&&hi(n.charAt(0))&&i++,i!==o&&hi(n.charAt(o-1))&&(e.after?o--:r.stripAtStart=!0),i===o?r.remove=!0:t.value=n.slice(i,o),r}(t,e);"nowrap"===e.whitespace&&(t.value=e.collapse(t.value))}return{ignore:ri(t),stripAtStart:!1,remove:!1}}function ai(t,e,n){for(;++e<t.length;){const n=t[e];let r=si(n);if(void 0===r&&"children"in n&&!ui(n)&&(r=ai(n.children,-1)),"boolean"==typeof r)return r}return n}function si(t){if("element"===t.type){if(li(t))return!1;if(ci(t))return!0}else if("text"===t.type){if(!Vr(t))return!1}else if(!ri(t))return!1}function li(t){return Kr(t)||Hr(t,ti)}function ci(t){return Hr(t,Jr)}function ui(t){return Boolean("element"===t.type&&t.properties.hidden)||ri(t)||Hr(t,ei)}function hi(t){return" "===t||"\n"===t}function fi(t){const e=/\r?\n|\r/.exec(t);return e?e[0]:" "}function di(){return" "}const pi=[],mi=!0,gi=!1,yi="skip";function wi(t,e,n,r){let i;"function"==typeof e&&"function"!=typeof n?(r=n,n=e):i=e;const o=Zr(i),a=r?-1:1;!function t(i,s,l){const c=i&&"object"==typeof i?i:{};if("string"==typeof c.type){const t="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(u,"name",{value:"node ("+i.type+(t?"<"+t+">":"")+")"})}return u;function u(){let c,u,h,f=pi;if((!e||o(i,s,l[l.length-1]||void 0))&&(f=function(t){return Array.isArray(t)?t:"number"==typeof t?[mi,t]:null==t?pi:[t]}(n(i,l)),f[0]===gi))return f;if("children"in i&&i.children){const e=i;if(e.children&&f[0]!==yi)for(u=(r?e.children.length:-1)+a,h=l.concat(e);u>-1&&u<e.children.length;){const n=e.children[u];if(c=t(n,u,h)(),c[0]===gi)return c;u="number"==typeof c[1]?c[1]:u+a}}return f}}(t,void 0,[])()}function bi(t,e,n,r){let i,o,a;"function"==typeof e&&"function"!=typeof n?(o=void 0,a=e,i=n):(o=e,a=n,i=r),wi(t,o,(function(t,e){const n=e[e.length-1],r=n?n.children.indexOf(t):void 0;return a(t,r,n)}),i)}const vi=_i("end"),Ei=_i("start");function _i(t){return function(e){const n=e&&e.position&&e.position[t]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function Ai(t){const e=Ei(t),n=vi(t);if(e&&n)return{start:e,end:n}}const Mi=function(t,e,n){const r=Zr(n);if(!t||!t.type||!t.children)throw new Error("Expected parent node");if("number"==typeof e){if(e<0||e===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if((e=t.children.indexOf(e))<0)throw new Error("Expected child node or index");for(;++e<t.children.length;)if(r(t.children[e],e,t))return t.children[e]},Ti=/\n/g,xi=/[\t ]+/g,Si=zr("br"),ki=zr((function(t){return"td"===t.tagName||"th"===t.tagName})),Ci=zr("p"),Di=zr("tr"),Ii=zr(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",function(t){return Boolean((t.properties||{}).hidden)},function(t){return"dialog"===t.tagName&&!(t.properties||{}).open}]),Ri=zr(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function Ni(t,e={}){const n="children"in t?t.children:[],r=Ri(t),i=Fi(t,{whitespace:e.whitespace||"normal",breakBefore:!1,breakAfter:!1}),o=[];"text"!==t.type&&"comment"!==t.type||o.push(...Li(t,{whitespace:i,breakBefore:!0,breakAfter:!0}));let a=-1;for(;++a<n.length;)o.push(...Oi(n[a],t,{whitespace:i,breakBefore:a?void 0:r,breakAfter:a<n.length-1?Si(n[a+1]):r}));const s=[];let l;for(a=-1;++a<o.length;){const t=o[a];"number"==typeof t?void 0!==l&&t>l&&(l=t):t&&(void 0!==l&&l>-1&&s.push("\n".repeat(l)||" "),l=-1,s.push(t))}return s.join("")}function Oi(t,e,n){return"element"===t.type?function(t,e,n){const r=Fi(t,n),i=t.children||[];let o,a,s=-1,l=[];if(Ii(t))return l;for(Si(t)||Di(t)&&Mi(e,t,Di)?a="\n":Ci(t)?(o=2,a=2):Ri(t)&&(o=1,a=1);++s<i.length;)l=l.concat(Oi(i[s],t,{whitespace:r,breakBefore:s?void 0:o,breakAfter:s<i.length-1?Si(i[s+1]):a}));return ki(t)&&Mi(e,t,ki)&&l.push("\t"),o&&l.unshift(o),a&&l.push(a),l}(t,e,n):"text"===t.type?"normal"===n.whitespace?Li(t,n):function(t){return[String(t.value)]}(t):[]}function Li(t,e){const n=String(t.value),r=[],i=[];let o=0;for(;o<=n.length;){Ti.lastIndex=o;const t=Ti.exec(n),i=t&&"index"in t?t.index:n.length;r.push(Pi(n.slice(o,i).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),0!==o||e.breakBefore,i!==n.length||e.breakAfter)),o=i+1}let a,s=-1;for(;++s<r.length;)8203===r[s].charCodeAt(r[s].length-1)||s<r.length-1&&8203===r[s+1].charCodeAt(0)?(i.push(r[s]),a=void 0):r[s]?("number"==typeof a&&i.push(a),i.push(r[s]),a=0):0!==s&&s!==r.length-1||i.push(0);return i}function Pi(t,e,n){const r=[];let i,o=0;for(;o<t.length;){xi.lastIndex=o;const n=xi.exec(t);i=n?n.index:t.length,o||i||!n||e||r.push(""),o!==i&&r.push(t.slice(o,i)),o=n?i+n[0].length:i}return o===i||n||r.push(""),r.join(" ")}function Fi(t,e){if("element"===t.type){const n=t.properties||{};switch(t.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return n.wrap?"pre-wrap":"pre";case"td":case"th":return n.noWrap?"nowrap":e.whitespace;case"textarea":return"pre-wrap"}}return e.whitespace}function Bi(t){const e=String(t);let n=e.length;for(;n>0;){const t=e.codePointAt(n-1);if(void 0===t||10!==t&&13!==t)break;n--}return e.slice(0,n)}function Ui(t,e){const n=e.children;let r,i,o=-1;if("pre"===e.tagName)for(;++o<n.length;){const t=n[o];if("element"===t.type&&"code"===t.tagName&&t.properties&&t.properties.className&&Array.isArray(t.properties.className)){r=t.properties.className;break}}if(r)for(o=-1;++o<r.length;)if("language-"===String(r[o]).slice(0,9)){i=String(r[o]).slice(9);break}const a={type:"code",lang:i||null,meta:null,value:Bi(Ni(e))};return t.patch(e,a),a}function ji(t,e){const n={type:"delete",children:t.all(e)};return t.patch(e,n),n}function Hi(t){let e=-1;if(t.length>1)for(;++e<t.length;)if(t[e].spread)return!0;return!1}function zi(t,e){const n=t.all({type:"root",children:e}),r=t.toSpecificContent(n,qi);return 0===r.length?[]:1===r.length?r[0].children:[{type:"list",ordered:!1,start:null,spread:Hi(r),children:r}]}function qi(){return{type:"listItem",spread:!1,checked:null,children:[]}}function Wi(t,e){const n={type:"emphasis",children:t.all(e)};return t.patch(e,n),n}function Gi(t,e){const n={type:"heading",depth:Number(e.tagName.charAt(1))||1,children:t.all(e)};return t.patch(e,n),n}function Ki(t,e){const n=e.properties||{},r={type:"image",url:t.resolve(String(n.src||"")||null),title:n.title?String(n.title):null,alt:n.alt?String(n.alt):""};return t.patch(e,r),r}function Yi(t,e){const n={type:"inlineCode",value:Ni(e)};return t.patch(e,n),n}function Vi(t,e){const n=[],r=[],i=e||t.properties||{},o=Xi(t),a=Math.min(Number.parseInt(String(i.size),10),0)||(i.multiple?4:1);let s=-1;for(;++s<o.length;){const t=o[s];t&&t.properties&&t.properties.selected&&n.push(t)}const l=n.length>0?n:o,c=l.length>a?a:l.length;for(s=-1;++s<c;){const t=l[s],e=t.properties||{},n=Ni(t),i=n||String(e.label||""),o=String(e.value||"")||n;r.push([o,i===o?void 0:i])}return r}function Xi(t){const e=[];let n=-1;for(;++n<t.children.length;){const r=t.children[n];"children"in r&&Array.isArray(r.children)&&e.push(...Xi(r)),"element"!==r.type||"option"!==r.tagName||r.properties&&r.properties.disabled||e.push(r)}return e}const Zi={}.hasOwnProperty,$i=new Set(["pingback","prefetch","stylesheet"]),Qi=zr(["a","abbr","area","b","bdi","bdo","br","button","cite","code","data","datalist","del","dfn","em","i","input","ins","kbd","keygen","label","map","mark","meter","noscript","output","progress","q","ruby","s","samp","script","select","small","span","strong","sub","sup","template","textarea","time","u","var","wbr"]),Ji=zr("meta");function to(t){return Boolean("text"===t.type||Qi(t)||Kr(t)||function(t){if("element"!==t.type||"link"!==t.tagName)return!1;if(t.properties.itemProp)return!0;const e=t.properties.rel;let n=-1;if(!Array.isArray(e)||0===e.length)return!1;for(;++n<e.length;)if(!$i.has(String(e[n])))return!1;return!0}(t)||Ji(t)&&function(t,e){const n="element"===t.type&&Zi.call(t.properties,e)&&t.properties[e];return null!=n&&!1!==n}(t,"itemProp"))}function eo(t,e){const{rest:n,checkbox:r}=ro(e),i=r?Boolean(r.properties.checked):null,o={type:"listItem",spread:no(n),checked:i,children:t.toFlow(t.all(n))};return t.patch(e,o),o}function no(t){let e=-1,n=!1;for(;++e<t.children.length;){const r=t.children[e];if("element"===r.type){if(to(r))continue;if("p"===r.tagName||n||no(r))return!0;n=!0}}return!1}function ro(t){const e=t.children[0];if(e&&"element"===e.type&&"input"===e.tagName&&e.properties&&("checkbox"===e.properties.type||"radio"===e.properties.type))return{checkbox:e,rest:{...t,children:t.children.slice(1)}};if(e&&"element"===e.type&&"p"===e.tagName){const{checkbox:n,rest:r}=ro(e);if(n)return{checkbox:n,rest:{...t,children:[r,...t.children.slice(1)]}}}return{checkbox:void 0,rest:t}}function io(t,e){const n="ol"===e.tagName,r=t.toSpecificContent(t.all(e),oo);let i=null;n&&(i=e.properties&&e.properties.start?Number.parseInt(String(e.properties.start),10):1);const o={type:"list",ordered:n,start:i,spread:Hi(r),children:r};return t.patch(e,o),o}function oo(){return{type:"listItem",spread:!1,checked:null,children:[]}}const ao={};function so(t,e){const n=e||ao;return lo(t,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function lo(t,e,n){if(function(t){return Boolean(t&&"object"==typeof t)}(t)){if("value"in t)return"html"!==t.type||n?t.value:"";if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return co(t.children,e,n)}return Array.isArray(t)?co(t,e,n):""}function co(t,e,n){const r=[];let i=-1;for(;++i<t.length;)r[i]=lo(t[i],e,n);return r.join("")}const uo=Zr(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function ho(t){let e=-1;for(;++e<t.length;){const n=t[e];if(!go(n)||"children"in n&&ho(n.children))return!0}return!1}function fo(t){return mo(t,(function(t){return t.every((function(t){return"text"===t.type&&Vr(t.value)}))?[]:[{type:"paragraph",children:t}]}),(function(t){return t}))}function po(t){return mo(t.children,(function(e){const n=yo(t);return n.children=e,[n]}),(function(e){if("children"in e&&"children"in t){const n=yo(t),r=yo(e);return n.children=e.children,r.children.push(n),r}return{...e}}))}function mo(t,e,n){const r=function(t){const e=[];let n=-1;for(;++n<t.length;){const r=t[n];"delete"!==r.type&&"link"!==r.type||!ho(r.children)?e.push(r):e.push(...po(r))}return e}(t),i=[];let o=[],a=-1;for(;++a<r.length;){const t=r[a];go(t)?o.push(t):(o.length>0&&(i.push(...e(o)),o=[]),i.push(n(t)))}return o.length>0&&(i.push(...e(o)),o=[]),i}function go(t){const e=t.data&&t.data.hName;return e?to({type:"element",tagName:e,properties:{},children:[]}):uo(t)}function yo(t){return jr({...t,children:[]})}function wo(t,e){const n=e.properties||{},r="video"===e.tagName?String(n.poster||""):"";let i=String(n.src||""),o=-1,a=!1,s=t.all(e);if(bi({type:"root",children:s},(function(t){if("link"===t.type)return a=!0,gi})),a||ho(s))return s;for(;!i&&++o<e.children.length;){const t=e.children[o];"element"===t.type&&"source"===t.tagName&&t.properties&&(i=String(t.properties.src||""))}if(r){const n={type:"image",title:null,url:t.resolve(r),alt:so(s)};t.patch(e,n),s=[n]}const l=s,c={type:"link",title:n.title?String(n.title):null,url:t.resolve(i),children:l};return t.patch(e,c),c}function bo(t,e){const n=t.all(e);if(n.length>0){const r={type:"paragraph",children:n};return t.patch(e,r),r}}const vo=['"'];function Eo(t,e){const n={type:"strong",children:t.all(e)};return t.patch(e,n),n}function _o(t,e){const n={type:"tableCell",children:t.all(e)};if(t.patch(e,n),e.properties){const t=e.properties.rowSpan,r=e.properties.colSpan;if(t||r){const e=n.data||(n.data={});t&&(e.hastUtilToMdastTemporaryRowSpan=t),r&&(e.hastUtilToMdastTemporaryColSpan=r)}}return n}function Ao(){return{type:"tableCell",children:[]}}function Mo(){return{type:"tableCell",children:[]}}function To(){return{type:"tableRow",children:[]}}const xo={comment:function(t,e){const n={type:"html",value:"\x3c!--"+e.value+"--\x3e"};return t.patch(e,n),n},doctype:Do,root:function(t,e){let n=t.all(e);(t.options.document||ho(n))&&(n=fo(n));const r={type:"root",children:n};return t.patch(e,r),r},text:function(t,e){const n={type:"text",value:e.value};return t.patch(e,n),n}},So={applet:Do,area:Do,basefont:Do,bgsound:Do,caption:Do,col:Do,colgroup:Do,command:Do,content:Do,datalist:Do,dialog:Do,element:Do,embed:Do,frame:Do,frameset:Do,isindex:Do,keygen:Do,link:Do,math:Do,menu:Do,menuitem:Do,meta:Do,nextid:Do,noembed:Do,noframes:Do,optgroup:Do,option:Do,param:Do,script:Do,shadow:Do,source:Do,spacer:Do,style:Do,svg:Do,template:Do,title:Do,track:Do,abbr:ko,acronym:ko,bdi:ko,bdo:ko,big:ko,blink:ko,button:ko,canvas:ko,cite:ko,data:ko,details:ko,dfn:ko,font:ko,ins:ko,label:ko,map:ko,marquee:ko,meter:ko,nobr:ko,noscript:ko,object:ko,output:ko,progress:ko,rb:ko,rbc:ko,rp:ko,rt:ko,rtc:ko,ruby:ko,slot:ko,small:ko,span:ko,sup:ko,sub:ko,tbody:ko,tfoot:ko,thead:ko,time:ko,address:Co,article:Co,aside:Co,body:Co,center:Co,div:Co,fieldset:Co,figcaption:Co,figure:Co,form:Co,footer:Co,header:Co,hgroup:Co,html:Co,legend:Co,main:Co,multicol:Co,nav:Co,picture:Co,section:Co,a:function(t,e){const n=e.properties||{},r=t.all(e),i={type:"link",url:t.resolve(String(n.href||"")||null),title:n.title?String(n.title):null,children:r};return t.patch(e,i),i},audio:wo,b:Eo,base:function(t,e){t.baseFound||(t.frozenBaseUrl=String(e.properties&&e.properties.href||"")||void 0,t.baseFound=!0)},blockquote:function(t,e){const n={type:"blockquote",children:t.toFlow(t.all(e))};return t.patch(e,n),n},br:function(t,e){const n={type:"break"};return t.patch(e,n),n},code:Yi,dir:io,dl:function(t,e){const n=[],r=[];let i=-1;for(;++i<e.children.length;){const t=e.children[i];"element"===t.type&&"div"===t.tagName?n.push(...t.children):n.push(t)}let o={definitions:[],titles:[]};for(i=-1;++i<n.length;){const t=n[i];if("element"===t.type&&"dt"===t.tagName){const e=n[i-1];e&&"element"===e.type&&"dd"===e.tagName&&(r.push(o),o={definitions:[],titles:[]}),o.titles.push(t)}else o.definitions.push(t)}r.push(o),i=-1;const a=[];for(;++i<r.length;){const e=[...zi(t,r[i].titles),...zi(t,r[i].definitions)];e.length>0&&a.push({type:"listItem",spread:e.length>1,checked:null,children:e})}if(a.length>0){const n={type:"list",ordered:!1,start:null,spread:Hi(a),children:a};return t.patch(e,n),n}},dt:eo,dd:eo,del:ji,em:Wi,h1:Gi,h2:Gi,h3:Gi,h4:Gi,h5:Gi,h6:Gi,hr:function(t,e){const n={type:"thematicBreak"};return t.patch(e,n),n},i:Wi,iframe:function(t,e){const n=e.properties||{},r=String(n.src||""),i=String(n.title||"");if(r&&i){const n={type:"link",title:null,url:t.resolve(r),children:[{type:"text",value:i}]};return t.patch(e,n),n}},img:Ki,image:Ki,input:function(t,e){const n=e.properties||{},r=String(n.value||n.placeholder||"");if(n.disabled||"hidden"===n.type||"file"===n.type)return;if("checkbox"===n.type||"radio"===n.type){const r={type:"text",value:n.checked?t.options.checked||"[x]":t.options.unchecked||"[ ]"};return t.patch(e,r),r}if("image"===n.type){const i=n.alt||r;if(i){const r={type:"image",url:t.resolve(String(n.src||"")||null),title:String(n.title||"")||null,alt:String(i)};return t.patch(e,r),r}return}let i=[];if(r)i=[[r,void 0]];else if("button"!==n.type&&"file"!==n.type&&"password"!==n.type&&"reset"!==n.type&&"submit"!==n.type&&n.list){const e=String(n.list),r=t.elementById.get(e);r&&"datalist"===r.tagName&&(i=Vi(r,n))}if(0===i.length)return;if("password"===n.type&&(i[0]=["•".repeat(i[0][0].length),void 0]),"email"===n.type||"url"===n.type){const e=[];let r=-1;for(;++r<i.length;){const o=t.resolve(i[r][0]),a={type:"link",title:null,url:"email"===n.type?"mailto:"+o:o,children:[{type:"text",value:i[r][1]||o}]};e.push(a),r!==i.length-1&&e.push({type:"text",value:", "})}return e}const o=[];let a=-1;for(;++a<i.length;)o.push(i[a][1]?i[a][1]+" ("+i[a][0]+")":i[a][0]);const s={type:"text",value:o.join(", ")};return t.patch(e,s),s},kbd:Yi,li:eo,listing:Ui,mark:Wi,ol:io,p:bo,plaintext:Ui,pre:Ui,q:function(t,e){const n=t.options.quotes||vo;t.qNesting++;const r=t.all(e);t.qNesting--;const i=n[t.qNesting%n.length],o=r[0],a=r[r.length-1],s=i.charAt(0),l=i.length>1?i.charAt(1):i;return o&&"text"===o.type?o.value=s+o.value:r.unshift({type:"text",value:s}),a&&"text"===a.type?a.value+=l:r.push({type:"text",value:l}),r},s:ji,samp:Yi,select:function(t,e){const n=Vi(e);let r=-1;const i=[];for(;++r<n.length;){const t=n[r];i.push(t[1]?t[1]+" ("+t[0]+")":t[0])}if(i.length>0){const n={type:"text",value:i.join(", ")};return t.patch(e,n),n}},strike:ji,strong:Eo,summary:bo,table:function(t,e){if(t.inTable){const n={type:"text",value:Ni(e)};return t.patch(e,n),n}t.inTable=!0;const{align:n,headless:r}=function(t){const e={align:[null],headless:!0};let n=0,r=0;return bi(t,(function(i){if("element"===i.type){if("table"===i.tagName&&t!==i)return yi;if("th"!==i.tagName&&"td"!==i.tagName||!i.properties)"thead"===i.tagName?e.headless=!1:"tr"===i.tagName&&(n++,r=0);else{if(!e.align[r]){const t=String(i.properties.align||"")||null;"center"!==t&&"left"!==t&&"right"!==t&&null!==t||(e.align[r]=t)}e.headless&&n<2&&"th"===i.tagName&&(e.headless=!1),r++}}})),e}(e),i=t.toSpecificContent(t.all(e),To);r&&i.unshift({type:"tableRow",children:[]});let o=-1;for(;++o<i.length;){const e=i[o],n=t.toSpecificContent(e.children,Mo);e.children=n}let a=1;for(o=-1;++o<i.length;){const t=i[o].children;let e=-1;for(;++e<t.length;){const n=t[e];if(n.data){const t=n.data,r=Number.parseInt(String(t.hastUtilToMdastTemporaryColSpan),10)||1,a=Number.parseInt(String(t.hastUtilToMdastTemporaryRowSpan),10)||1;if(r>1||a>1){let t=o-1;for(;++t<o+a;){let n=e-1;for(;++n<e+r&&i[t];){const r=[];t===o&&n===e||r.push({type:"tableCell",children:[]}),i[t].children.splice(n,0,...r)}}}"hastUtilToMdastTemporaryColSpan"in n.data&&delete n.data.hastUtilToMdastTemporaryColSpan,"hastUtilToMdastTemporaryRowSpan"in n.data&&delete n.data.hastUtilToMdastTemporaryRowSpan,0===Object.keys(n.data).length&&delete n.data}}t.length>a&&(a=t.length)}for(o=-1;++o<i.length;){const t=i[o].children;let e=t.length-1;for(;++e<a;)t.push({type:"tableCell",children:[]})}let s=n.length-1;for(;++s<a;)n.push(null);t.inTable=!1;const l={type:"table",align:n,children:i};return t.patch(e,l),l},td:_o,textarea:function(t,e){const n={type:"text",value:Ni(e)};return t.patch(e,n),n},th:_o,tr:function(t,e){const n={type:"tableRow",children:t.toSpecificContent(t.all(e),Ao)};return t.patch(e,n),n},tt:Yi,u:Wi,ul:io,var:Yi,video:wo,wbr:function(t,e){const n={type:"text",value:"​"};return t.patch(e,n),n},xmp:Ui};function ko(t,e){return t.all(e)}function Co(t,e){return t.toFlow(t.all(e))}function Do(){}const Io={}.hasOwnProperty;function Ro(t){const e=t.children||[],n=[];let r=-1;for(;++r<e.length;){const i=e[r],o=this.one(i,t);Array.isArray(o)?n.push(...o):o&&n.push(o)}let i=0,o=n.length;for(;i<o&&"break"===n[i].type;)i++;for(;o>i&&"break"===n[o-1].type;)o--;return 0===i&&o===n.length?n:n.slice(i,o)}function No(t,e){if("element"===t.type){if(t.properties&&"ignore"===t.properties.dataMdast)return;if(Io.call(this.handlers,t.tagName))return this.handlers[t.tagName](this,t,e)||void 0}else if(Io.call(this.nodeHandlers,t.type))return this.nodeHandlers[t.type](this,t,e)||void 0;if("value"in t&&"string"==typeof t.value){const e={type:"text",value:t.value};return this.patch(t,e),e}if("children"in t)return this.all(t)}function Oo(t,e){t.position&&(e.position=Ai(t))}function Lo(t){const e=this.frozenBaseUrl;return null==t?"":e?String(new URL(t,e)):t}function Po(t){return fo(t)}function Fo(t,e){const n=e(),r=[];let i=[],o=-1;for(;++o<t.length;){const e=t[o];if(a(e))i.length>0&&(e.children.unshift(...i),i=[]),r.push(e);else{const t=e;i.push(t)}}if(i.length>0){let t=r[r.length-1];t||(t=e(),r.push(t)),t.children.push(...i),i=[]}return r;function a(t){return t.type===n.type}}const Bo={};function Uo(t,e){const n=jr(t),r=e||Bo,i=ii({newlines:!0===r.newlines}),o=function(t){return{all:Ro,baseFound:!1,elementById:new Map,frozenBaseUrl:void 0,handlers:{...So,...t.handlers},inTable:!1,nodeHandlers:{...xo,...t.nodeHandlers},one:No,options:t,patch:Oo,qNesting:0,resolve:Lo,toFlow:Po,toSpecificContent:Fo}}(r);let a;i(n),bi(n,(function(t){if(t&&"element"===t.type&&t.properties){const e=String(t.properties.id||"")||void 0;e&&!o.elementById.has(e)&&o.elementById.set(e,t)}}));const s=o.one(n,void 0);return a=s?Array.isArray(s)?{type:"root",children:s}:s:{type:"root",children:[]},bi(a,(function(t,e,n){if("text"===t.type&&void 0!==e&&n){const r=n.children[e-1];if(r&&r.type===t.type)return r.value+=t.value,n.children.splice(e,1),r.position&&t.position&&(r.position.end=t.position.end),e-1;if(t.value=t.value.replace(/[\t ]*(\r?\n|\r)[\t ]*/,"$1"),!n||"heading"!==n.type&&"paragraph"!==n.type&&"root"!==n.type||(e||(t.value=t.value.replace(/^[\t ]+/,"")),e===n.children.length-1&&(t.value=t.value.replace(/[\t ]+$/,""))),!t.value)return n.children.splice(e,1),e}})),a}const jo={}.hasOwnProperty;function Ho(t,e){const n=e||{};function r(e,...n){let i=r.invalid;const o=r.handlers;if(e&&jo.call(e,t)){const n=String(e[t]);i=jo.call(o,n)?o[n]:r.unknown}if(i)return i.call(this,e,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const zo={}.hasOwnProperty;function qo(t,e){let n,r=-1;if(e.extensions)for(;++r<e.extensions.length;)qo(t,e.extensions[r]);for(n in e)if(zo.call(e,n))switch(n){case"extensions":break;case"unsafe":case"join":i=t[n],(o=e[n])&&i.push(...o);break;case"handlers":Wo(t[n],e[n]);break;default:t.options[n]=e[n]}var i,o;return t}function Wo(t,e){e&&Object.assign(t,e)}function Go(t,e,n){return">"+(n?"":" ")+t}function Ko(t,e){return Yo(t,e.inConstruct,!0)&&!Yo(t,e.notInConstruct,!1)}function Yo(t,e,n){if("string"==typeof e&&(e=[e]),!e||0===e.length)return n;let r=-1;for(;++r<e.length;)if(t.includes(e[r]))return!0;return!1}function Vo(t,e,n,r){let i=-1;for(;++i<n.unsafe.length;)if("\n"===n.unsafe[i].character&&Ko(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return"\\\n"}function Xo(t,e){return Boolean(!1===e.options.fences&&t.value&&!t.lang&&/[^ \r\n]/.test(t.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(t.value))}function Zo(t,e,n){return(n?"":"    ")+t}function $o(t){const e=t.options.quote||'"';if('"'!==e&&"'"!==e)throw new Error("Cannot serialize title with `"+e+"` for `options.quote`, expected `\"`, or `'`");return e}function Qo(t,e,n,r){const i=function(t){const e=t.options.emphasis||"*";if("*"!==e&&"_"!==e)throw new Error("Cannot serialize emphasis with `"+e+"` for `options.emphasis`, expected `*`, or `_`");return e}(n),o=n.enter("emphasis"),a=n.createTracker(r);let s=a.move(i);return s+=a.move(n.containerPhrasing(t,{before:s,after:i,...a.current()})),s+=a.move(i),o(),s}function Jo(t,e){let n=!1;return bi(t,(function(t){if("value"in t&&/\r?\n|\r/.test(t.value)||"break"===t.type)return n=!0,gi})),Boolean((!t.depth||t.depth<3)&&so(t)&&(e.options.setext||n))}function ta(t){return t.value||""}function ea(t,e,n,r){const i=$o(n),o='"'===i?"Quote":"Apostrophe",a=n.enter("image");let s=n.enter("label");const l=n.createTracker(r);let c=l.move("![");return c+=l.move(n.safe(t.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),s(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(t.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(t.url,{before:c,after:t.title?" ":")",...l.current()}))),s(),t.title&&(s=n.enter(`title${o}`),c+=l.move(" "+i),c+=l.move(n.safe(t.title,{before:c,after:i,...l.current()})),c+=l.move(i),s()),c+=l.move(")"),a(),c}function na(t,e,n,r){const i=t.referenceType,o=n.enter("imageReference");let a=n.enter("label");const s=n.createTracker(r);let l=s.move("![");const c=n.safe(t.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),a();const u=n.stack;n.stack=[],a=n.enter("reference");const h=n.safe(n.associationId(t),{before:l,after:"]",...s.current()});return a(),n.stack=u,o(),"full"!==i&&c&&c===h?"shortcut"===i?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(h+"]"),l}function ra(t,e,n){let r=t.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<n.unsafe.length;){const t=n.unsafe[o],e=n.compilePattern(t);let i;if(t.atBreak)for(;i=e.exec(r);){let t=i.index;10===r.charCodeAt(t)&&13===r.charCodeAt(t-1)&&t--,r=r.slice(0,t)+" "+r.slice(i.index+1)}}return i+r+i}function ia(t,e){const n=so(t);return Boolean(!e.options.resourceLink&&t.url&&!t.title&&t.children&&1===t.children.length&&"text"===t.children[0].type&&(n===t.url||"mailto:"+n===t.url)&&/^[a-z][a-z+.-]+:/i.test(t.url)&&!/[\0- <>\u007F]/.test(t.url))}function oa(t,e,n,r){const i=$o(n),o='"'===i?"Quote":"Apostrophe",a=n.createTracker(r);let s,l;if(ia(t,n)){const e=n.stack;n.stack=[],s=n.enter("autolink");let r=a.move("<");return r+=a.move(n.containerPhrasing(t,{before:r,after:">",...a.current()})),r+=a.move(">"),s(),n.stack=e,r}s=n.enter("link"),l=n.enter("label");let c=a.move("[");return c+=a.move(n.containerPhrasing(t,{before:c,after:"](",...a.current()})),c+=a.move("]("),l(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(l=n.enter("destinationLiteral"),c+=a.move("<"),c+=a.move(n.safe(t.url,{before:c,after:">",...a.current()})),c+=a.move(">")):(l=n.enter("destinationRaw"),c+=a.move(n.safe(t.url,{before:c,after:t.title?" ":")",...a.current()}))),l(),t.title&&(l=n.enter(`title${o}`),c+=a.move(" "+i),c+=a.move(n.safe(t.title,{before:c,after:i,...a.current()})),c+=a.move(i),l()),c+=a.move(")"),s(),c}function aa(t,e,n,r){const i=t.referenceType,o=n.enter("linkReference");let a=n.enter("label");const s=n.createTracker(r);let l=s.move("[");const c=n.containerPhrasing(t,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),a();const u=n.stack;n.stack=[],a=n.enter("reference");const h=n.safe(n.associationId(t),{before:l,after:"]",...s.current()});return a(),n.stack=u,o(),"full"!==i&&c&&c===h?"shortcut"===i?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(h+"]"),l}function sa(t){const e=t.options.bullet||"*";if("*"!==e&&"+"!==e&&"-"!==e)throw new Error("Cannot serialize items with `"+e+"` for `options.bullet`, expected `*`, `+`, or `-`");return e}function la(t){const e=t.options.rule||"*";if("*"!==e&&"-"!==e&&"_"!==e)throw new Error("Cannot serialize rules with `"+e+"` for `options.rule`, expected `*`, `-`, or `_`");return e}function ca(t,e,n,r){const i=function(t){const e=t.options.strong||"*";if("*"!==e&&"_"!==e)throw new Error("Cannot serialize strong with `"+e+"` for `options.strong`, expected `*`, or `_`");return e}(n),o=n.enter("strong"),a=n.createTracker(r);let s=a.move(i+i);return s+=a.move(n.containerPhrasing(t,{before:s,after:i,...a.current()})),s+=a.move(i+i),o(),s}Qo.peek=function(t,e,n){return n.options.emphasis||"*"},ta.peek=function(){return"<"},ea.peek=function(){return"!"},na.peek=function(){return"!"},ra.peek=function(){return"`"},oa.peek=function(t,e,n){return ia(t,n)?"<":"["},aa.peek=function(){return"["},ca.peek=function(t,e,n){return n.options.strong||"*"};const ua={blockquote:function(t,e,n,r){const i=n.enter("blockquote"),o=n.createTracker(r);o.move("> "),o.shift(2);const a=n.indentLines(n.containerFlow(t,o.current()),Go);return i(),a},break:Vo,code:function(t,e,n,r){const i=function(t){const e=t.options.fence||"`";if("`"!==e&&"~"!==e)throw new Error("Cannot serialize code with `"+e+"` for `options.fence`, expected `` ` `` or `~`");return e}(n),o=t.value||"",a="`"===i?"GraveAccent":"Tilde";if(Xo(t,n)){const t=n.enter("codeIndented"),e=n.indentLines(o,Zo);return t(),e}const s=n.createTracker(r),l=i.repeat(Math.max(function(t,e){const n=String(t);let r=n.indexOf(e),i=r,o=0,a=0;if("string"!=typeof e)throw new TypeError("Expected substring");for(;-1!==r;)r===i?++o>a&&(a=o):o=1,i=r+e.length,r=n.indexOf(e,i);return a}(o,i)+1,3)),c=n.enter("codeFenced");let u=s.move(l);if(t.lang){const e=n.enter(`codeFencedLang${a}`);u+=s.move(n.safe(t.lang,{before:u,after:" ",encode:["`"],...s.current()})),e()}if(t.lang&&t.meta){const e=n.enter(`codeFencedMeta${a}`);u+=s.move(" "),u+=s.move(n.safe(t.meta,{before:u,after:"\n",encode:["`"],...s.current()})),e()}return u+=s.move("\n"),o&&(u+=s.move(o+"\n")),u+=s.move(l),c(),u},definition:function(t,e,n,r){const i=$o(n),o='"'===i?"Quote":"Apostrophe",a=n.enter("definition");let s=n.enter("label");const l=n.createTracker(r);let c=l.move("[");return c+=l.move(n.safe(n.associationId(t),{before:c,after:"]",...l.current()})),c+=l.move("]: "),s(),!t.url||/[\0- \u007F]/.test(t.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(t.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(t.url,{before:c,after:t.title?" ":"\n",...l.current()}))),s(),t.title&&(s=n.enter(`title${o}`),c+=l.move(" "+i),c+=l.move(n.safe(t.title,{before:c,after:i,...l.current()})),c+=l.move(i),s()),a(),c},emphasis:Qo,hardBreak:Vo,heading:function(t,e,n,r){const i=Math.max(Math.min(6,t.depth||1),1),o=n.createTracker(r);if(Jo(t,n)){const e=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(t,{...o.current(),before:"\n",after:"\n"});return r(),e(),a+"\n"+(1===i?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}const a="#".repeat(i),s=n.enter("headingAtx"),l=n.enter("phrasing");o.move(a+" ");let c=n.containerPhrasing(t,{before:"# ",after:"\n",...o.current()});return/^[\t ]/.test(c)&&(c="&#x"+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),c=c?a+" "+c:a,n.options.closeAtx&&(c+=" "+a),l(),s(),c},html:ta,image:ea,imageReference:na,inlineCode:ra,link:oa,linkReference:aa,list:function(t,e,n,r){const i=n.enter("list"),o=n.bulletCurrent;let a=t.ordered?function(t){const e=t.options.bulletOrdered||".";if("."!==e&&")"!==e)throw new Error("Cannot serialize items with `"+e+"` for `options.bulletOrdered`, expected `.` or `)`");return e}(n):sa(n);const s=t.ordered?"."===a?")":".":function(t){const e=sa(t),n=t.options.bulletOther;if(!n)return"*"===e?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===e)throw new Error("Expected `bullet` (`"+e+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n);let l=!(!e||!n.bulletLastUsed)&&a===n.bulletLastUsed;if(!t.ordered){const e=t.children?t.children[0]:void 0;if("*"!==a&&"-"!==a||!e||e.children&&e.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),la(n)===a&&e){let e=-1;for(;++e<t.children.length;){const n=t.children[e];if(n&&"listItem"===n.type&&n.children&&n.children[0]&&"thematicBreak"===n.children[0].type){l=!0;break}}}}l&&(a=s),n.bulletCurrent=a;const c=n.containerFlow(t,r);return n.bulletLastUsed=a,n.bulletCurrent=o,i(),c},listItem:function(t,e,n,r){const i=function(t){const e=t.options.listItemIndent||"one";if("tab"!==e&&"one"!==e&&"mixed"!==e)throw new Error("Cannot serialize items with `"+e+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return e}(n);let o=n.bulletCurrent||sa(n);e&&"list"===e.type&&e.ordered&&(o=("number"==typeof e.start&&e.start>-1?e.start:1)+(!1===n.options.incrementListMarker?0:e.children.indexOf(t))+o);let a=o.length+1;("tab"===i||"mixed"===i&&(e&&"list"===e.type&&e.spread||t.spread))&&(a=4*Math.ceil(a/4));const s=n.createTracker(r);s.move(o+" ".repeat(a-o.length)),s.shift(a);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(t,s.current()),(function(t,e,n){return e?(n?"":" ".repeat(a))+t:(n?o:o+" ".repeat(a-o.length))+t}));return l(),c},paragraph:function(t,e,n,r){const i=n.enter("paragraph"),o=n.enter("phrasing"),a=n.containerPhrasing(t,r);return o(),i(),a},root:function(t,e,n,r){return(t.children.some((function(t){return uo(t)}))?n.containerPhrasing:n.containerFlow).call(n,t,r)},strong:ca,text:function(t,e,n,r){return n.safe(t.value,r)},thematicBreak:function(t,e,n){const r=(la(n)+(n.options.ruleSpaces?" ":"")).repeat(function(t){const e=t.options.ruleRepetition||3;if(e<3)throw new Error("Cannot serialize rules with repetition `"+e+"` for `options.ruleRepetition`, expected `3` or more");return e}(n));return n.options.ruleSpaces?r.slice(0,-1):r}},ha=[function(t,e,n,r){if("code"===e.type&&Xo(e,r)&&("list"===t.type||t.type===e.type&&Xo(t,r)))return!1;if("spread"in n&&"boolean"==typeof n.spread){if("paragraph"===t.type&&(t.type===e.type||"definition"===e.type||"heading"===e.type&&Jo(e,r)))return;return n.spread?1:0}}],fa=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],da=[{character:"\t",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"\t",before:"[\\r\\n]",inConstruct:"phrasing"},{character:"\t",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:"\n",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:fa},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:"(?:[\r\n]|$)"},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:fa},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:"(?:[ \t\r\n*])"},{character:"*",inConstruct:"phrasing",notInConstruct:fa},{atBreak:!0,character:"+",after:"(?:[ \t\r\n])"},{atBreak:!0,character:"-",after:"(?:[ \t\r\n-])"},{atBreak:!0,before:"\\d+",character:".",after:"(?:[ \t\r\n]|$)"},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:fa},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:fa},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:fa},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:fa},{atBreak:!0,character:"~"}],pa=document.createElement("i");function ma(t){const e="&"+t+";";pa.innerHTML=e;const n=pa.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===t)&&n!==e&&n}function ga(t,e){const n=Number.parseInt(t,e);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"�":String.fromCharCode(n)}const ya=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function wa(t){return t.replace(ya,ba)}function ba(t,e,n){if(e)return e;if(35===n.charCodeAt(0)){const t=n.charCodeAt(1),e=120===t||88===t;return ga(n.slice(e?2:1),e?16:10)}return ma(n)||t}function va(t){return t.label||!t.identifier?t.label||"":wa(t.identifier)}function Ea(t){if(!t._compiled){const e=(t.atBreak?"[\\r\\n][\\t ]*":"")+(t.before?"(?:"+t.before+")":"");t._compiled=new RegExp((e?"("+e+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(t.character)?"\\":"")+t.character+(t.after?"(?:"+t.after+")":""),"g")}return t._compiled}function _a(t,e,n,r){let i=r.join.length;for(;i--;){const o=r.join[i](t,e,n,r);if(!0===o||1===o)break;if("number"==typeof o)return"\n".repeat(1+o);if(!1===o)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}const Aa=/\r?\n|\r/g;function Ma(t,e){const n=[];let r,i=0,o=0;for(;r=Aa.exec(t);)a(t.slice(i,r.index)),n.push(r[0]),i=r.index+r[0].length,o++;return a(t.slice(i)),n.join("");function a(t){n.push(e(t,o,!t))}}function Ta(t,e){return t-e}function xa(t,e){const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],i=[],o=t+e;let a,s=-1,l=0;for(;a=n.exec(o);)r.push(a.index);for(;++s<r.length;)l!==r[s]&&i.push(t.slice(l,r[s])),i.push("\\"),l=r[s];return i.push(t.slice(l)),i.join("")}function Sa(t){const e=t||{},n=e.now||{};let r=e.lineShift||0,i=n.line||1,o=n.column||1;return{move:function(t){const e=t||"",n=e.split(/\r?\n|\r/g),a=n[n.length-1];return i+=n.length-1,o=1===n.length?o+a.length:1+a.length+r,e},current:function(){return{now:{line:i,column:o},lineShift:r}},shift:function(t){r+=t}}}function ka(t,e={}){const n={enter:function(t){return n.stack.push(t),function(){n.stack.pop()}},indentLines:Ma,associationId:va,containerPhrasing:Ra,containerFlow:Na,createTracker:Sa,compilePattern:Ea,safe:Oa,stack:[],unsafe:[...da],join:[...ha],handlers:{...ua},options:{},indexStack:[],handle:void 0};qo(n,e),n.options.tightDefinitions&&n.join.push(Ia),n.handle=Ho("type",{invalid:Ca,unknown:Da,handlers:n.handlers});let r=n.handle(t,void 0,n,{before:"\n",after:"\n",now:{line:1,column:1},lineShift:0});return r&&10!==r.charCodeAt(r.length-1)&&13!==r.charCodeAt(r.length-1)&&(r+="\n"),r}function Ca(t){throw new Error("Cannot handle value `"+t+"`, expected node")}function Da(t){throw new Error("Cannot handle unknown node `"+t.type+"`")}function Ia(t,e){if("definition"===t.type&&t.type===e.type)return 0}function Ra(t,e){return function(t,e,n){const r=e.indexStack,i=t.children||[],o=[];let a=-1,s=n.before;r.push(-1);let l=e.createTracker(n);for(;++a<i.length;){const c=i[a];let u;if(r[r.length-1]=a,a+1<i.length){let n=e.handle.handlers[i[a+1].type];n&&n.peek&&(n=n.peek),u=n?n(i[a+1],t,e,{before:"",after:"",...l.current()}).charAt(0):""}else u=n.after;o.length>0&&("\r"===s||"\n"===s)&&"html"===c.type&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),s=" ",l=e.createTracker(n),l.move(o.join(""))),o.push(l.move(e.handle(c,t,e,{...l.current(),before:s,after:u}))),s=o[o.length-1].slice(-1)}return r.pop(),o.join("")}(t,this,e)}function Na(t,e){return function(t,e,n){const r=e.indexStack,i=t.children||[],o=e.createTracker(n),a=[];let s=-1;for(r.push(-1);++s<i.length;){const n=i[s];r[r.length-1]=s,a.push(o.move(e.handle(n,t,e,{before:"\n",after:"\n",...o.current()}))),"list"!==n.type&&(e.bulletLastUsed=void 0),s<i.length-1&&a.push(o.move(_a(n,i[s+1],t,e)))}return r.pop(),a.join("")}(t,this,e)}function Oa(t,e){return function(t,e,n){const r=(n.before||"")+(e||"")+(n.after||""),i=[],o=[],a={};let s=-1;for(;++s<t.unsafe.length;){const e=t.unsafe[s];if(!Ko(t.stack,e))continue;const n=t.compilePattern(e);let o;for(;o=n.exec(r);){const t="before"in e||Boolean(e.atBreak),n="after"in e,r=o.index+(t?o[1].length:0);i.includes(r)?(a[r].before&&!t&&(a[r].before=!1),a[r].after&&!n&&(a[r].after=!1)):(i.push(r),a[r]={before:t,after:n})}}i.sort(Ta);let l=n.before?n.before.length:0;const c=r.length-(n.after?n.after.length:0);for(s=-1;++s<i.length;){const t=i[s];t<l||t>=c||t+1<c&&i[s+1]===t+1&&a[t].after&&!a[t+1].before&&!a[t+1].after||i[s-1]===t-1&&a[t].before&&!a[t-1].before&&!a[t-1].after||(l!==t&&o.push(xa(r.slice(l,t),"\\")),l=t,!/[!-/:-@[-`{-~]/.test(r.charAt(t))||n.encode&&n.encode.includes(r.charAt(t))?(o.push("&#x"+r.charCodeAt(t).toString(16).toUpperCase()+";"),l++):o.push("\\"))}return o.push(xa(r.slice(l,c),n.after)),o.join("")}(this,t,e)}function La(t){const e=this;e.compiler=function(n){return ka(n,{...e.data("settings"),...t,extensions:e.data("toMarkdownExtensions")||[]})}}var Pa=n(5252),Fa=n(7422),Ba=n(8835),Ua=n(8287).Buffer,ja=Object.defineProperty,Ha=Object.defineProperties,za=Object.getOwnPropertyDescriptors,qa=Object.getOwnPropertySymbols,Wa=Object.prototype.hasOwnProperty,Ga=Object.prototype.propertyIsEnumerable,Ka=(t,e,n)=>e in t?ja(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ya=(t,e)=>{for(var n in e||(e={}))Wa.call(e,n)&&Ka(t,n,e[n]);if(qa)for(var n of qa(e))Ga.call(e,n)&&Ka(t,n,e[n]);return t},Va=(t,e)=>Ha(t,za(e)),Xa=(t,e,n)=>(Ka(t,"symbol"!=typeof e?e+"":e,n),n),Za=(t,e,n)=>new Promise(((r,i)=>{var o=t=>{try{s(n.next(t))}catch(t){i(t)}},a=t=>{try{s(n.throw(t))}catch(t){i(t)}},s=t=>t.done?r(t.value):Promise.resolve(t.value).then(o,a);s((n=n.apply(t,e)).next())}));class $a{constructor(t){Xa(this,"rootKey"),this.rootKey=t}}const Qa=Object.seal({});class Ja extends $a{constructor(t){super(t),Xa(this,"root"),this.root=new Array}prepForXml(t){var e;t.stack.push(this);const n=this.root.map((e=>e instanceof $a?e.prepForXml(t):e)).filter((t=>void 0!==t));return t.stack.pop(),{[this.rootKey]:n.length?1===n.length&&(null==(e=n[0])?void 0:e._attr)?n[0]:n:Qa}}addChildElement(t){return this.root.push(t),this}}class ts extends Ja{prepForXml(t){const e=super.prepForXml(t);if(e&&("object"!=typeof e[this.rootKey]||Object.keys(e[this.rootKey]).length))return e}}class es extends $a{constructor(t){super("_attr"),Xa(this,"xmlKeys"),this.root=t}prepForXml(t){const e={};return Object.keys(this.root).forEach((t=>{const n=this.root[t];if(void 0!==n){const r=this.xmlKeys&&this.xmlKeys[t]||t;e[r]=n}})),{_attr:e}}}class ns extends $a{constructor(t){super("_attr"),this.root=t}prepForXml(t){const e=Object.values(this.root).filter((({value:t})=>void 0!==t)).reduce(((t,{key:e,value:n})=>Va(Ya({},t),{[e]:n})),{});return{_attr:e}}}class rs extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{val:"w:val",color:"w:color",fill:"w:fill",space:"w:space",sz:"w:sz",type:"w:type",rsidR:"w:rsidR",rsidRPr:"w:rsidRPr",rsidSect:"w:rsidSect",w:"w:w",h:"w:h",top:"w:top",right:"w:right",bottom:"w:bottom",left:"w:left",header:"w:header",footer:"w:footer",gutter:"w:gutter",linePitch:"w:linePitch",pos:"w:pos"})}}var is="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function os(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var as,ss={},ls={exports:{}},cs="object"==typeof Reflect?Reflect:null,us=cs&&"function"==typeof cs.apply?cs.apply:function(t,e,n){return Function.prototype.apply.call(t,e,n)};as=cs&&"function"==typeof cs.ownKeys?cs.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var hs=Number.isNaN||function(t){return t!=t};function fs(){fs.init.call(this)}ls.exports=fs,ls.exports.once=function(t,e){return new Promise((function(n,r){function i(n){t.removeListener(e,o),r(n)}function o(){"function"==typeof t.removeListener&&t.removeListener("error",i),n([].slice.call(arguments))}_s(t,e,o,{once:!0}),"error"!==e&&function(t,e,n){"function"==typeof t.on&&_s(t,"error",e,{once:!0})}(t,i)}))},fs.EventEmitter=fs,fs.prototype._events=void 0,fs.prototype._eventsCount=0,fs.prototype._maxListeners=void 0;var ds=10;function ps(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function ms(t){return void 0===t._maxListeners?fs.defaultMaxListeners:t._maxListeners}function gs(t,e,n,r){var i,o,a,s;if(ps(n),void 0===(o=t._events)?(o=t._events=Object.create(null),t._eventsCount=0):(void 0!==o.newListener&&(t.emit("newListener",e,n.listener?n.listener:n),o=t._events),a=o[e]),void 0===a)a=o[e]=n,++t._eventsCount;else if("function"==typeof a?a=o[e]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=ms(t))>0&&a.length>i&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=t,l.type=e,l.count=a.length,s=l,console&&console.warn&&console.warn(s)}return t}function ys(){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 ws(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=ys.bind(r);return i.listener=n,r.wrapFn=i,i}function bs(t,e,n){var r=t._events;if(void 0===r)return[];var i=r[e];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}(i):Es(i,i.length)}function vs(t){var e=this._events;if(void 0!==e){var n=e[t];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function Es(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t[r];return n}function _s(t,e,n,r){if("function"==typeof t.on)r.once?t.once(e,n):t.on(e,n);else{if("function"!=typeof t.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t);t.addEventListener(e,(function i(o){r.once&&t.removeEventListener(e,i),n(o)}))}}Object.defineProperty(fs,"defaultMaxListeners",{enumerable:!0,get:function(){return ds},set:function(t){if("number"!=typeof t||t<0||hs(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");ds=t}}),fs.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},fs.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||hs(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},fs.prototype.getMaxListeners=function(){return ms(this)},fs.prototype.emit=function(t){for(var e=[],n=1;n<arguments.length;n++)e.push(arguments[n]);var r="error"===t,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var o;if(e.length>0&&(o=e[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var s=i[t];if(void 0===s)return!1;if("function"==typeof s)us(s,this,e);else{var l=s.length,c=Es(s,l);for(n=0;n<l;++n)us(c[n],this,e)}return!0},fs.prototype.addListener=function(t,e){return gs(this,t,e,!1)},fs.prototype.on=fs.prototype.addListener,fs.prototype.prependListener=function(t,e){return gs(this,t,e,!0)},fs.prototype.once=function(t,e){return ps(e),this.on(t,ws(this,t,e)),this},fs.prototype.prependOnceListener=function(t,e){return ps(e),this.prependListener(t,ws(this,t,e)),this},fs.prototype.removeListener=function(t,e){var n,r,i,o,a;if(ps(e),void 0===(r=this._events))return this;if(void 0===(n=r[t]))return this;if(n===e||n.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete r[t],r.removeListener&&this.emit("removeListener",t,n.listener||e));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===e||n[o].listener===e){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(n,i),1===n.length&&(r[t]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",t,a||e)}return this},fs.prototype.off=fs.prototype.removeListener,fs.prototype.removeAllListeners=function(t){var e,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[t]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=n[t]))this.removeListener(t,e);else if(void 0!==e)for(r=e.length-1;r>=0;r--)this.removeListener(t,e[r]);return this},fs.prototype.listeners=function(t){return bs(this,t,!0)},fs.prototype.rawListeners=function(t){return bs(this,t,!1)},fs.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):vs.call(t,e)},fs.prototype.listenerCount=vs,fs.prototype.eventNames=function(){return this._eventsCount>0?as(this._events):[]};var As=ls.exports,Ms={exports:{}};"function"==typeof Object.create?Ms.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Ms.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}};var Ts=Ms.exports;function xs(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Ss,ks,Cs={exports:{}},Ds=Cs.exports={};function Is(){throw new Error("setTimeout has not been defined")}function Rs(){throw new Error("clearTimeout has not been defined")}function Ns(t){if(Ss===setTimeout)return setTimeout(t,0);if((Ss===Is||!Ss)&&setTimeout)return Ss=setTimeout,setTimeout(t,0);try{return Ss(t,0)}catch(e){try{return Ss.call(null,t,0)}catch(e){return Ss.call(this,t,0)}}}!function(){try{Ss="function"==typeof setTimeout?setTimeout:Is}catch(t){Ss=Is}try{ks="function"==typeof clearTimeout?clearTimeout:Rs}catch(t){ks=Rs}}();var Os,Ls=[],Ps=!1,Fs=-1;function Bs(){Ps&&Os&&(Ps=!1,Os.length?Ls=Os.concat(Ls):Fs=-1,Ls.length&&Us())}function Us(){if(!Ps){var t=Ns(Bs);Ps=!0;for(var e=Ls.length;e;){for(Os=Ls,Ls=[];++Fs<e;)Os&&Os[Fs].run();Fs=-1,e=Ls.length}Os=null,Ps=!1,function(t){if(ks===clearTimeout)return clearTimeout(t);if((ks===Rs||!ks)&&clearTimeout)return ks=clearTimeout,clearTimeout(t);try{return ks(t)}catch(e){try{return ks.call(null,t)}catch(e){return ks.call(this,t)}}}(t)}}function js(t,e){this.fun=t,this.array=e}function Hs(){}Ds.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];Ls.push(new js(t,e)),1!==Ls.length||Ps||Ns(Us)},js.prototype.run=function(){this.fun.apply(null,this.array)},Ds.title="browser",Ds.browser=!0,Ds.env={},Ds.argv=[],Ds.version="",Ds.versions={},Ds.on=Hs,Ds.addListener=Hs,Ds.once=Hs,Ds.off=Hs,Ds.removeListener=Hs,Ds.removeAllListeners=Hs,Ds.emit=Hs,Ds.prependListener=Hs,Ds.prependOnceListener=Hs,Ds.listeners=function(t){return[]},Ds.binding=function(t){throw new Error("process.binding is not supported")},Ds.cwd=function(){return"/"},Ds.chdir=function(t){throw new Error("process.chdir is not supported")},Ds.umask=function(){return 0};const zs=xs(Cs.exports);var qs,Ws;function Gs(){return Ws?qs:(Ws=1,qs=As.EventEmitter)}var Ks,Ys,Vs,Xs={},Zs={},$s={};function Qs(){return Vs||(Vs=1,function(t){var e=function(){if(Ks)return Zs;Ks=1,Zs.byteLength=function(t){var e=o(t),n=e[0],r=e[1];return 3*(n+r)/4-r},Zs.toByteArray=function(t){var r,i,a=o(t),s=a[0],l=a[1],c=new n(function(t,e,n){return 3*(e+n)/4-n}(0,s,l)),u=0,h=l>0?s-4:s;for(i=0;i<h;i+=4)r=e[t.charCodeAt(i)]<<18|e[t.charCodeAt(i+1)]<<12|e[t.charCodeAt(i+2)]<<6|e[t.charCodeAt(i+3)],c[u++]=r>>16&255,c[u++]=r>>8&255,c[u++]=255&r;return 2===l&&(r=e[t.charCodeAt(i)]<<2|e[t.charCodeAt(i+1)]>>4,c[u++]=255&r),1===l&&(r=e[t.charCodeAt(i)]<<10|e[t.charCodeAt(i+1)]<<4|e[t.charCodeAt(i+2)]>>2,c[u++]=r>>8&255,c[u++]=255&r),c},Zs.fromByteArray=function(e){for(var n,r=e.length,i=r%3,o=[],s=16383,l=0,c=r-i;l<c;l+=s)o.push(a(e,l,l+s>c?c:l+s));return 1===i?(n=e[r-1],o.push(t[n>>2]+t[n<<4&63]+"==")):2===i&&(n=(e[r-2]<<8)+e[r-1],o.push(t[n>>10]+t[n>>4&63]+t[n<<2&63]+"=")),o.join("")};for(var t=[],e=[],n="undefined"!=typeof Uint8Array?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0;i<64;++i)t[i]=r[i],e[r.charCodeAt(i)]=i;function o(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function a(e,n,r){for(var i,o,a=[],s=n;s<r;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(t[(o=i)>>18&63]+t[o>>12&63]+t[o>>6&63]+t[63&o]);return a.join("")}return e["-".charCodeAt(0)]=62,e["_".charCodeAt(0)]=63,Zs}(),n=(Ys||(Ys=1,$s.read=function(t,e,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,c=l>>1,u=-7,h=n?i-1:0,f=n?-1:1,d=t[e+h];for(h+=f,o=d&(1<<-u)-1,d>>=-u,u+=s;u>0;o=256*o+t[e+h],h+=f,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+t[e+h],h+=f,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),o-=c}return(d?-1:1)*a*Math.pow(2,o-r)},$s.write=function(t,e,n,r,i,o){var a,s,l,c=8*o-i-1,u=(1<<c)-1,h=u>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=u):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),(e+=a+h>=1?f/l:f*Math.pow(2,1-h))*l>=2&&(a++,l/=2),a+h>=u?(s=0,a=u):a+h>=1?(s=(e*l-1)*Math.pow(2,i),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;t[n+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;t[n+d]=255&a,d+=p,a/=256,c-=8);t[n+d-p]|=128*m}),$s),r="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=a,t.SlowBuffer=function(t){return+t!=t&&(t=0),a.alloc(+t)},t.INSPECT_MAX_BYTES=50;var i=2147483647;function o(t){if(t>i)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,a.prototype),e}function a(t,e,n){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return c(t)}return s(t,e,n)}function s(t,e,n){if("string"==typeof t)return function(t,e){if("string"==typeof e&&""!==e||(e="utf8"),!a.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var n=0|d(t,e),r=o(n),i=r.write(t,e);return i!==n&&(r=r.slice(0,i)),r}(t,e);if(ArrayBuffer.isView(t))return function(t){if(U(t,Uint8Array)){var e=new Uint8Array(t);return h(e.buffer,e.byteOffset,e.byteLength)}return u(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(U(t,ArrayBuffer)||t&&U(t.buffer,ArrayBuffer))return h(t,e,n);if("undefined"!=typeof SharedArrayBuffer&&(U(t,SharedArrayBuffer)||t&&U(t.buffer,SharedArrayBuffer)))return h(t,e,n);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=t.valueOf&&t.valueOf();if(null!=r&&r!==t)return a.from(r,e,n);var i=function(t){if(a.isBuffer(t)){var e=0|f(t.length),n=o(e);return 0===n.length||t.copy(n,0,0,e),n}return void 0!==t.length?"number"!=typeof t.length||j(t.length)?o(0):u(t):"Buffer"===t.type&&Array.isArray(t.data)?u(t.data):void 0}(t);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return a.from(t[Symbol.toPrimitive]("string"),e,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function l(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function c(t){return l(t),o(t<0?0:0|f(t))}function u(t){for(var e=t.length<0?0:0|f(t.length),n=o(e),r=0;r<e;r+=1)n[r]=255&t[r];return n}function h(t,e,n){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(n||0))throw new RangeError('"length" is outside of buffer bounds');var r;return r=void 0===e&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,e):new Uint8Array(t,e,n),Object.setPrototypeOf(r,a.prototype),r}function f(t){if(t>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|t}function d(t,e){if(a.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||U(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var n=t.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return P(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return F(t).length;default:if(i)return r?-1:P(t).length;e=(""+e).toLowerCase(),i=!0}}function p(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return k(this,e,n);case"utf8":case"utf-8":return M(this,e,n);case"ascii":return x(this,e,n);case"latin1":case"binary":return S(this,e,n);case"base64":return A(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function m(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function g(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),j(n=+n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=a.from(e,r)),a.isBuffer(e))return 0===e.length?-1:y(t,e,n,r,i);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):y(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function y(t,e,n,r,i){var o,a=1,s=t.length,l=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var u=-1;for(o=n;o<s;o++)if(c(t,o)===c(e,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===l)return u*a}else-1!==u&&(o-=o-u),u=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){for(var h=!0,f=0;f<l;f++)if(c(t,o+f)!==c(e,f)){h=!1;break}if(h)return o}return-1}function w(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=e.length;r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(e.substr(2*a,2),16);if(j(s))return a;t[n+a]=s}return a}function b(t,e,n,r){return B(P(e,t.length-n),t,n,r)}function v(t,e,n,r){return B(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,r)}function E(t,e,n,r){return B(F(e),t,n,r)}function _(t,e,n,r){return B(function(t,e){for(var n,r,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=(n=t.charCodeAt(a))>>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function A(t,n,r){return 0===n&&r===t.length?e.fromByteArray(t):e.fromByteArray(t.slice(n,r))}function M(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i<n;){var o,a,s,l,c=t[i],u=null,h=c>239?4:c>223?3:c>191?2:1;if(i+h<=n)switch(h){case 1:c<128&&(u=c);break;case 2:128==(192&(o=t[i+1]))&&(l=(31&c)<<6|63&o)>127&&(u=l);break;case 3:o=t[i+1],a=t[i+2],128==(192&o)&&128==(192&a)&&(l=(15&c)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(l=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,h=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=h}return function(t){var e=t.length;if(e<=T)return String.fromCharCode.apply(String,t);for(var n="",r=0;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=T));return n}(r)}t.kMaxLength=i,a.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){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(t,e,n){return s(t,e,n)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(t,e,n){return function(t,e,n){return l(t),t<=0?o(t):void 0!==e?"string"==typeof n?o(t).fill(e,n):o(t).fill(e):o(t)}(t,e,n)},a.allocUnsafe=function(t){return c(t)},a.allocUnsafeSlow=function(t){return c(t)},a.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==a.prototype},a.compare=function(t,e){if(U(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),U(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(t)||!a.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},a.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return a.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=a.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var o=t[n];if(U(o,Uint8Array))i+o.length>r.length?a.from(o).copy(r,i):Uint8Array.prototype.set.call(r,o,i);else{if(!a.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i)}i+=o.length}return r},a.byteLength=d,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)m(this,e,e+1);return this},a.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)m(this,e,e+3),m(this,e+1,e+2);return this},a.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)m(this,e,e+7),m(this,e+1,e+6),m(this,e+2,e+5),m(this,e+3,e+4);return this},a.prototype.toString=function(){var t=this.length;return 0===t?"":0===arguments.length?M(this,0,t):p.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(t){if(!a.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===a.compare(this,t)},a.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},r&&(a.prototype[r]=a.prototype.inspect),a.prototype.compare=function(t,e,n,r,i){if(U(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(r>>>=0),s=(n>>>=0)-(e>>>=0),l=Math.min(o,s),c=this.slice(r,i),u=t.slice(e,n),h=0;h<l;++h)if(c[h]!==u[h]){o=c[h],s=u[h];break}return o<s?-1:s<o?1:0},a.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},a.prototype.indexOf=function(t,e,n){return g(this,t,e,n,!0)},a.prototype.lastIndexOf=function(t,e,n){return g(this,t,e,n,!1)},a.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return w(this,t,e,n);case"utf8":case"utf-8":return b(this,t,e,n);case"ascii":case"latin1":case"binary":return v(this,t,e,n);case"base64":return E(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var T=4096;function x(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function S(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function k(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=e;o<n;++o)i+=H[t[o]];return i}function C(t,e,n){for(var r=t.slice(e,n),i="",o=0;o<r.length-1;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function D(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function I(t,e,n,r,i,o){if(!a.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function R(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function N(t,e,r,i,o){return e=+e,r>>>=0,o||R(t,0,r,4),n.write(t,e,r,i,23,4),r+4}function O(t,e,r,i,o){return e=+e,r>>>=0,o||R(t,0,r,8),n.write(t,e,r,i,52,8),r+8}a.prototype.slice=function(t,e){var n=this.length;(t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t);var r=this.subarray(t,e);return Object.setPrototypeOf(r,a.prototype),r},a.prototype.readUintLE=a.prototype.readUIntLE=function(t,e,n){t>>>=0,e>>>=0,n||D(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r},a.prototype.readUintBE=a.prototype.readUIntBE=function(t,e,n){t>>>=0,e>>>=0,n||D(t,e,this.length);for(var r=this[t+--e],i=1;e>0&&(i*=256);)r+=this[t+--e]*i;return r},a.prototype.readUint8=a.prototype.readUInt8=function(t,e){return t>>>=0,e||D(t,1,this.length),this[t]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(t,e){return t>>>=0,e||D(t,2,this.length),this[t]|this[t+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(t,e){return t>>>=0,e||D(t,2,this.length),this[t]<<8|this[t+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(t,e){return t>>>=0,e||D(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(t,e){return t>>>=0,e||D(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},a.prototype.readIntLE=function(t,e,n){t>>>=0,e>>>=0,n||D(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*e)),r},a.prototype.readIntBE=function(t,e,n){t>>>=0,e>>>=0,n||D(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},a.prototype.readInt8=function(t,e){return t>>>=0,e||D(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},a.prototype.readInt16LE=function(t,e){t>>>=0,e||D(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt16BE=function(t,e){t>>>=0,e||D(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt32LE=function(t,e){return t>>>=0,e||D(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},a.prototype.readInt32BE=function(t,e){return t>>>=0,e||D(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},a.prototype.readFloatLE=function(t,e){return t>>>=0,e||D(t,4,this.length),n.read(this,t,!0,23,4)},a.prototype.readFloatBE=function(t,e){return t>>>=0,e||D(t,4,this.length),n.read(this,t,!1,23,4)},a.prototype.readDoubleLE=function(t,e){return t>>>=0,e||D(t,8,this.length),n.read(this,t,!0,52,8)},a.prototype.readDoubleBE=function(t,e){return t>>>=0,e||D(t,8,this.length),n.read(this,t,!1,52,8)},a.prototype.writeUintLE=a.prototype.writeUIntLE=function(t,e,n,r){t=+t,e>>>=0,n>>>=0,r||I(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o<n&&(i*=256);)this[e+o]=t/i&255;return e+n},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(t,e,n,r){t=+t,e>>>=0,n>>>=0,r||I(this,t,e,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+n},a.prototype.writeUint8=a.prototype.writeUInt8=function(t,e,n){return t=+t,e>>>=0,n||I(this,t,e,1,255,0),this[e]=255&t,e+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(t,e,n){return t=+t,e>>>=0,n||I(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(t,e,n){return t=+t,e>>>=0,n||I(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(t,e,n){return t=+t,e>>>=0,n||I(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(t,e,n){return t=+t,e>>>=0,n||I(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},a.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e>>>=0,!r){var i=Math.pow(2,8*n-1);I(this,t,e,n,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o<n&&(a*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},a.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e>>>=0,!r){var i=Math.pow(2,8*n-1);I(this,t,e,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},a.prototype.writeInt8=function(t,e,n){return t=+t,e>>>=0,n||I(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},a.prototype.writeInt16LE=function(t,e,n){return t=+t,e>>>=0,n||I(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},a.prototype.writeInt16BE=function(t,e,n){return t=+t,e>>>=0,n||I(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},a.prototype.writeInt32LE=function(t,e,n){return t=+t,e>>>=0,n||I(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},a.prototype.writeInt32BE=function(t,e,n){return t=+t,e>>>=0,n||I(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},a.prototype.writeFloatLE=function(t,e,n){return N(this,t,e,!0,n)},a.prototype.writeFloatBE=function(t,e,n){return N(this,t,e,!1,n)},a.prototype.writeDoubleLE=function(t,e,n){return O(this,t,e,!0,n)},a.prototype.writeDoubleBE=function(t,e,n){return O(this,t,e,!1,n)},a.prototype.copy=function(t,e,n,r){if(!a.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i=r-n;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,n,r):Uint8Array.prototype.set.call(t,this.subarray(n,r),e),i},a.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===t.length){var i=t.charCodeAt(0);("utf8"===r&&i<128||"latin1"===r)&&(t=i)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var o;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(o=e;o<n;++o)this[o]=t;else{var s=a.isBuffer(t)?t:a.from(t,r),l=s.length;if(0===l)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(o=0;o<n-e;++o)this[o+e]=s[o%l]}return this};var L=/[^+/0-9A-Za-z-_]/g;function P(t,e){var n;e=e||1/0;for(var r=t.length,i=null,o=[],a=0;a<r;++a){if((n=t.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function F(t){return e.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(L,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function B(t,e,n,r){for(var i=0;i<r&&!(i+n>=e.length||i>=t.length);++i)e[i+n]=t[i];return i}function U(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function j(t){return t!=t}var H=function(){for(var t="0123456789abcdef",e=new Array(256),n=0;n<16;++n)for(var r=16*n,i=0;i<16;++i)e[r+i]=t[n]+t[i];return e}()}(Xs)),Xs}var Js,tl,el,nl,rl,il,ol,al,sl,ll,cl,ul,hl,fl,dl,pl,ml={},gl={};function yl(){return tl?Js:(tl=1,Js=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),n=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var r=Object.getOwnPropertySymbols(t);if(1!==r.length||r[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(t,e);if(42!==i.value||!0!==i.enumerable)return!1}return!0})}function wl(){if(nl)return el;nl=1;var t=yl();return el=function(){return t()&&!!Symbol.toStringTag}}function bl(){if(ul)return cl;ul=1;var t=function(){if(ll)return sl;ll=1;var t=Object.prototype.toString,e=Math.max,n=function(t,e){for(var n=[],r=0;r<t.length;r+=1)n[r]=t[r];for(var i=0;i<e.length;i+=1)n[i+t.length]=e[i];return n};return sl=function(r){var i=this;if("function"!=typeof i||"[object Function]"!==t.apply(i))throw new TypeError("Function.prototype.bind called on incompatible "+i);for(var o,a=function(t,e){for(var n=[],r=1,i=0;r<t.length;r+=1,i+=1)n[i]=t[r];return n}(arguments),s=e(0,i.length-a.length),l=[],c=0;c<s;c++)l[c]="$"+c;if(o=Function("binder","return function ("+function(t,e){for(var n="",r=0;r<t.length;r+=1)n+=t[r],r+1<t.length&&(n+=",");return n}(l)+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var t=i.apply(this,n(a,arguments));return Object(t)===t?t:this}return i.apply(r,n(a,arguments))})),i.prototype){var u=function(){};u.prototype=i.prototype,o.prototype=new u,u.prototype=null}return o},sl}();return cl=Function.prototype.bind||t}function vl(){if(pl)return dl;var t;pl=1;var e=SyntaxError,n=Function,r=TypeError,i=function(t){try{return n('"use strict"; return ('+t+").constructor;")()}catch(t){}},o=Object.getOwnPropertyDescriptor;if(o)try{o({},"")}catch(t){o=null}var a=function(){throw new r},s=o?function(){try{return a}catch(t){try{return o(arguments,"callee").get}catch(t){return a}}}():a,l=function(){if(il)return rl;il=1;var t="undefined"!=typeof Symbol&&Symbol,e=yl();return rl=function(){return"function"==typeof t&&"function"==typeof Symbol&&"symbol"==typeof t("foo")&&"symbol"==typeof Symbol("bar")&&e()}}()(),c=function(){if(al)return ol;al=1;var t={foo:{}},e=Object;return ol=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof e)}}()(),u=Object.getPrototypeOf||(c?function(t){return t.__proto__}:null),h={},f="undefined"!=typeof Uint8Array&&u?u(Uint8Array):t,d={"%AggregateError%":"undefined"==typeof AggregateError?t:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?t:ArrayBuffer,"%ArrayIteratorPrototype%":l&&u?u([][Symbol.iterator]()):t,"%AsyncFromSyncIteratorPrototype%":t,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"==typeof Atomics?t:Atomics,"%BigInt%":"undefined"==typeof BigInt?t:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?t:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?t:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?t:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?t:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?t:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?t:FinalizationRegistry,"%Function%":n,"%GeneratorFunction%":h,"%Int8Array%":"undefined"==typeof Int8Array?t:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?t:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?t:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":l&&u?u(u([][Symbol.iterator]())):t,"%JSON%":"object"==typeof JSON?JSON:t,"%Map%":"undefined"==typeof Map?t:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&l&&u?u((new Map)[Symbol.iterator]()):t,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?t:Promise,"%Proxy%":"undefined"==typeof Proxy?t:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?t:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?t:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&l&&u?u((new Set)[Symbol.iterator]()):t,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?t:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":l&&u?u(""[Symbol.iterator]()):t,"%Symbol%":l?Symbol:t,"%SyntaxError%":e,"%ThrowTypeError%":s,"%TypedArray%":f,"%TypeError%":r,"%Uint8Array%":"undefined"==typeof Uint8Array?t:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?t:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?t:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?t:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?t:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?t:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?t:WeakSet};if(u)try{null.error}catch(t){var p=u(u(t));d["%Error.prototype%"]=p}var m=function t(e){var n;if("%AsyncFunction%"===e)n=i("async function () {}");else if("%GeneratorFunction%"===e)n=i("function* () {}");else if("%AsyncGeneratorFunction%"===e)n=i("async function* () {}");else if("%AsyncGenerator%"===e){var r=t("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&u&&(n=u(o.prototype))}return d[e]=n,n},g={"%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"]},y=bl(),w=function(){if(fl)return hl;fl=1;var t=Function.prototype.call,e=Object.prototype.hasOwnProperty,n=bl();return hl=n.call(t,e)}(),b=y.call(Function.call,Array.prototype.concat),v=y.call(Function.apply,Array.prototype.splice),E=y.call(Function.call,String.prototype.replace),_=y.call(Function.call,String.prototype.slice),A=y.call(Function.call,RegExp.prototype.exec),M=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,T=/\\(\\)?/g,x=function(t,n){var i,o=t;if(w(g,o)&&(o="%"+(i=g[o])[0]+"%"),w(d,o)){var a=d[o];if(a===h&&(a=m(o)),void 0===a&&!n)throw new r("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:o,value:a}}throw new e("intrinsic "+t+" does not exist!")};return dl=function(t,n){if("string"!=typeof t||0===t.length)throw new r("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof n)throw new r('"allowMissing" argument must be a boolean');if(null===A(/^%?[^%]*%?$/,t))throw new e("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=function(t){var n=_(t,0,1),r=_(t,-1);if("%"===n&&"%"!==r)throw new e("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==n)throw new e("invalid intrinsic syntax, expected opening `%`");var i=[];return E(t,M,(function(t,e,n,r){i[i.length]=n?E(r,T,"$1"):e||t})),i}(t),a=i.length>0?i[0]:"",s=x("%"+a+"%",n),l=s.name,c=s.value,u=!1,h=s.alias;h&&(a=h[0],v(i,b([0,1],h)));for(var f=1,p=!0;f<i.length;f+=1){var m=i[f],g=_(m,0,1),y=_(m,-1);if(('"'===g||"'"===g||"`"===g||'"'===y||"'"===y||"`"===y)&&g!==y)throw new e("property names with quotes must have matching quotes");if("constructor"!==m&&p||(u=!0),w(d,l="%"+(a+="."+m)+"%"))c=d[l];else if(null!=c){if(!(m in c)){if(!n)throw new r("base intrinsic for "+t+" exists, but the property is not available.");return}if(o&&f+1>=i.length){var S=o(c,m);c=(p=!!S)&&"get"in S&&!("originalValue"in S.get)?S.get:c[m]}else p=w(c,m),c=c[m];p&&!u&&(d[l]=c)}}return c},dl}var El,_l,Al,Ml,Tl,xl,Sl,kl,Cl,Dl,Il,Rl,Nl,Ol,Ll,Pl,Fl,Bl,Ul,jl,Hl,zl,ql,Wl,Gl,Kl,Yl,Vl,Xl,Zl,$l,Ql,Jl,tc={exports:{}};function ec(){if(_l)return El;_l=1;var t=vl()("%Object.defineProperty%",!0),e=function(){if(t)try{return t({},"a",{value:1}),!0}catch(t){return!1}return!1};return e.hasArrayLengthDefineBug=function(){if(!e())return null;try{return 1!==t([],"length",{value:1}).length}catch(t){return!0}},El=e}function nc(){if(Ml)return Al;Ml=1;var t=vl()("%Object.getOwnPropertyDescriptor%",!0);if(t)try{t([],"length")}catch(e){t=null}return Al=t}function rc(){return Cl||(Cl=1,function(t){var e=bl(),n=vl(),r=function(){if(kl)return Sl;kl=1;var t=vl(),e=function(){if(xl)return Tl;xl=1;var t=ec()(),e=vl(),n=t&&e("%Object.defineProperty%",!0);if(n)try{n({},"a",{value:1})}catch(t){n=!1}var r=e("%SyntaxError%"),i=e("%TypeError%"),o=nc();return Tl=function(t,e,a){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new i("`obj` must be an object or a function`");if("string"!=typeof e&&"symbol"!=typeof e)throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new i("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],h=!!o&&o(t,e);if(n)n(t,e,{configurable:null===c&&h?h.configurable:!c,enumerable:null===s&&h?h.enumerable:!s,value:a,writable:null===l&&h?h.writable:!l});else{if(!u&&(s||l||c))throw new r("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[e]=a}},Tl}(),n=ec()(),r=nc(),i=t("%TypeError%"),o=t("%Math.floor%");return Sl=function(t,a){if("function"!=typeof t)throw new i("`fn` is not a function");if("number"!=typeof a||a<0||a>4294967295||o(a)!==a)throw new i("`length` must be a positive 32-bit integer");var s=arguments.length>2&&!!arguments[2],l=!0,c=!0;if("length"in t&&r){var u=r(t,"length");u&&!u.configurable&&(l=!1),u&&!u.writable&&(c=!1)}return(l||c||!s)&&(n?e(t,"length",a,!0,!0):e(t,"length",a)),t},Sl}(),i=n("%TypeError%"),o=n("%Function.prototype.apply%"),a=n("%Function.prototype.call%"),s=n("%Reflect.apply%",!0)||e.call(a,o),l=n("%Object.defineProperty%",!0),c=n("%Math.max%");if(l)try{l({},"a",{value:1})}catch(t){l=null}t.exports=function(t){if("function"!=typeof t)throw new i("a function is required");var n=s(e,a,arguments);return r(n,1+c(0,t.length-(arguments.length-1)),!0)};var u=function(){return s(e,o,arguments)};l?l(t.exports,"apply",{value:u}):t.exports.apply=u}(tc)),tc.exports}function ic(){if(Il)return Dl;Il=1;var t=vl(),e=rc(),n=e(t("String.prototype.indexOf"));return Dl=function(r,i){var o=t(r,!!i);return"function"==typeof o&&n(r,".prototype.")>-1?e(o):o}}function oc(){if(ql)return zl;ql=1;var t=function(){if(Ul)return Bl;Ul=1;var t=function(){if(Fl)return Pl;Fl=1;var t,e,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 e}}),e={},r((function(){throw 42}),null,t)}catch(t){t!==e&&(r=null)}else r=null;var i=/^\s*class\b/,o=function(t){try{var e=n.call(t);return i.test(e)}catch(t){return!1}},a=function(t){try{return!o(t)&&(n.call(t),!0)}catch(t){return!1}},s=Object.prototype.toString,l="function"==typeof Symbol&&!!Symbol.toStringTag,c=!(0 in[,]),u=function(){return!1};if("object"==typeof document){var h=document.all;s.call(h)===s.call(document.all)&&(u=function(t){if((c||!t)&&(void 0===t||"object"==typeof t))try{var e=s.call(t);return("[object HTMLAllCollection]"===e||"[object HTML document.all class]"===e||"[object HTMLCollection]"===e||"[object Object]"===e)&&null==t("")}catch(t){}return!1})}return Pl=r?function(n){if(u(n))return!0;if(!n)return!1;if("function"!=typeof n&&"object"!=typeof n)return!1;try{r(n,null,t)}catch(t){if(t!==e)return!1}return!o(n)&&a(n)}:function(t){if(u(t))return!0;if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;if(l)return a(t);if(o(t))return!1;var e=s.call(t);return!("[object Function]"!==e&&"[object GeneratorFunction]"!==e&&!/^\[object HTML/.test(e))&&a(t)},Pl}(),e=Object.prototype.toString,n=Object.prototype.hasOwnProperty;return Bl=function(r,i,o){if(!t(i))throw new TypeError("iterator must be a function");var a;arguments.length>=3&&(a=o),"[object Array]"===e.call(r)?function(t,e,r){for(var i=0,o=t.length;i<o;i++)n.call(t,i)&&(null==r?e(t[i],i,t):e.call(r,t[i],i,t))}(r,i,a):"string"==typeof r?function(t,e,n){for(var r=0,i=t.length;r<i;r++)null==n?e(t.charAt(r),r,t):e.call(n,t.charAt(r),r,t)}(r,i,a):function(t,e,r){for(var i in t)n.call(t,i)&&(null==r?e(t[i],i,t):e.call(r,t[i],i,t))}(r,i,a)},Bl}(),e=function(){if(Hl)return jl;Hl=1;var t=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],e="undefined"==typeof globalThis?is:globalThis;return jl=function(){for(var n=[],r=0;r<t.length;r++)"function"==typeof e[t[r]]&&(n[n.length]=t[r]);return n},jl}(),n=rc(),r=ic(),i=nc(),o=r("Object.prototype.toString"),a=wl()(),s="undefined"==typeof globalThis?is:globalThis,l=e(),c=r("String.prototype.slice"),u=Object.getPrototypeOf,h=r("Array.prototype.indexOf",!0)||function(t,e){for(var n=0;n<t.length;n+=1)if(t[n]===e)return n;return-1},f={__proto__:null};return t(l,a&&i&&u?function(t){var e=new s[t];if(Symbol.toStringTag in e){var r=u(e),o=i(r,Symbol.toStringTag);if(!o){var a=u(r);o=i(a,Symbol.toStringTag)}f["$"+t]=n(o.get)}}:function(t){var e=new s[t],r=e.slice||e.set;r&&(f["$"+t]=n(r))}),zl=function(e){if(!e||"object"!=typeof e)return!1;if(!a){var n=c(o(e),8,-1);return h(l,n)>-1?n:"Object"===n&&function(e){var n=!1;return t(f,(function(t,r){if(!n)try{t(e),n=c(r,1)}catch(t){}})),n}(e)}return i?function(e){var n=!1;return t(f,(function(t,r){if(!n)try{"$"+t(e)===r&&(n=c(r,1))}catch(t){}})),n}(e):null},zl}function ac(){return Kl||(Kl=1,function(t){var e=function(){if(Nl)return Rl;Nl=1;var t=wl()(),e=ic()("Object.prototype.toString"),n=function(n){return!(t&&n&&"object"==typeof n&&Symbol.toStringTag in n)&&"[object Arguments]"===e(n)},r=function(t){return!!n(t)||null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Array]"!==e(t)&&"[object Function]"===e(t.callee)},i=function(){return n(arguments)}();return n.isLegacyArguments=r,Rl=i?n:r}(),n=function(){if(Ll)return Ol;Ll=1;var t,e=Object.prototype.toString,n=Function.prototype.toString,r=/^\s*(?:function)?\*/,i=wl()(),o=Object.getPrototypeOf;return Ol=function(a){if("function"!=typeof a)return!1;if(r.test(n.call(a)))return!0;if(!i)return"[object GeneratorFunction]"===e.call(a);if(!o)return!1;if(void 0===t){var s=function(){if(!i)return!1;try{return Function("return function*() {}")()}catch(t){}}();t=!!s&&o(s)}return o(a)===t}}(),r=oc(),i=function(){if(Gl)return Wl;Gl=1;var t=oc();return Wl=function(e){return!!t(e)},Wl}();function o(t){return t.call.bind(t)}var a="undefined"!=typeof BigInt,s="undefined"!=typeof Symbol,l=o(Object.prototype.toString),c=o(Number.prototype.valueOf),u=o(String.prototype.valueOf),h=o(Boolean.prototype.valueOf);if(a)var f=o(BigInt.prototype.valueOf);if(s)var d=o(Symbol.prototype.valueOf);function p(t,e){if("object"!=typeof t)return!1;try{return e(t),!0}catch(t){return!1}}function m(t){return"[object Map]"===l(t)}function g(t){return"[object Set]"===l(t)}function y(t){return"[object WeakMap]"===l(t)}function w(t){return"[object WeakSet]"===l(t)}function b(t){return"[object ArrayBuffer]"===l(t)}function v(t){return"undefined"!=typeof ArrayBuffer&&(b.working?b(t):t instanceof ArrayBuffer)}function E(t){return"[object DataView]"===l(t)}function _(t){return"undefined"!=typeof DataView&&(E.working?E(t):t instanceof DataView)}t.isArgumentsObject=e,t.isGeneratorFunction=n,t.isTypedArray=i,t.isPromise=function(t){return"undefined"!=typeof Promise&&t instanceof Promise||null!==t&&"object"==typeof t&&"function"==typeof t.then&&"function"==typeof t.catch},t.isArrayBufferView=function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):i(t)||_(t)},t.isUint8Array=function(t){return"Uint8Array"===r(t)},t.isUint8ClampedArray=function(t){return"Uint8ClampedArray"===r(t)},t.isUint16Array=function(t){return"Uint16Array"===r(t)},t.isUint32Array=function(t){return"Uint32Array"===r(t)},t.isInt8Array=function(t){return"Int8Array"===r(t)},t.isInt16Array=function(t){return"Int16Array"===r(t)},t.isInt32Array=function(t){return"Int32Array"===r(t)},t.isFloat32Array=function(t){return"Float32Array"===r(t)},t.isFloat64Array=function(t){return"Float64Array"===r(t)},t.isBigInt64Array=function(t){return"BigInt64Array"===r(t)},t.isBigUint64Array=function(t){return"BigUint64Array"===r(t)},m.working="undefined"!=typeof Map&&m(new Map),t.isMap=function(t){return"undefined"!=typeof Map&&(m.working?m(t):t instanceof Map)},g.working="undefined"!=typeof Set&&g(new Set),t.isSet=function(t){return"undefined"!=typeof Set&&(g.working?g(t):t instanceof Set)},y.working="undefined"!=typeof WeakMap&&y(new WeakMap),t.isWeakMap=function(t){return"undefined"!=typeof WeakMap&&(y.working?y(t):t instanceof WeakMap)},w.working="undefined"!=typeof WeakSet&&w(new WeakSet),t.isWeakSet=function(t){return w(t)},b.working="undefined"!=typeof ArrayBuffer&&b(new ArrayBuffer),t.isArrayBuffer=v,E.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&E(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=_;var A="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function M(t){return"[object SharedArrayBuffer]"===l(t)}function T(t){return void 0!==A&&(void 0===M.working&&(M.working=M(new A)),M.working?M(t):t instanceof A)}function x(t){return p(t,c)}function S(t){return p(t,u)}function k(t){return p(t,h)}function C(t){return a&&p(t,f)}function D(t){return s&&p(t,d)}t.isSharedArrayBuffer=T,t.isAsyncFunction=function(t){return"[object AsyncFunction]"===l(t)},t.isMapIterator=function(t){return"[object Map Iterator]"===l(t)},t.isSetIterator=function(t){return"[object Set Iterator]"===l(t)},t.isGeneratorObject=function(t){return"[object Generator]"===l(t)},t.isWebAssemblyCompiledModule=function(t){return"[object WebAssembly.Module]"===l(t)},t.isNumberObject=x,t.isStringObject=S,t.isBooleanObject=k,t.isBigIntObject=C,t.isSymbolObject=D,t.isBoxedPrimitive=function(t){return x(t)||S(t)||k(t)||C(t)||D(t)},t.isAnyArrayBuffer=function(t){return"undefined"!=typeof Uint8Array&&(v(t)||T(t))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))}(gl)),gl}function sc(){return Xl||(Xl=1,function(t){var e=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),n={},r=0;r<e.length;r++)n[e[r]]=Object.getOwnPropertyDescriptor(t,e[r]);return n},n=/%[sdj%]/g;t.format=function(t){if(!g(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(a(arguments[r]));return e.join(" ")}r=1;for(var i=arguments,o=i.length,s=String(t).replace(n,(function(t){if("%%"===t)return"%";if(r>=o)return t;switch(t){case"%s":return String(i[r++]);case"%d":return Number(i[r++]);case"%j":try{return JSON.stringify(i[r++])}catch(t){return"[Circular]"}default:return t}})),l=i[r];r<o;l=i[++r])p(l)||!b(l)?s+=" "+l:s+=" "+a(l);return s},t.deprecate=function(e,n){if(void 0!==zs&&!0===zs.noDeprecation)return e;if(void 0===zs)return function(){return t.deprecate(e,n).apply(this,arguments)};var r=!1;return function(){if(!r){if(zs.throwDeprecation)throw new Error(n);zs.traceDeprecation?console.trace(n):console.error(n),r=!0}return e.apply(this,arguments)}};var r={},i=/^$/;if(zs.env.NODE_DEBUG){var o=zs.env.NODE_DEBUG;o=o.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),i=new RegExp("^"+o+"$","i")}function a(e,n){var r={seen:[],stylize:l};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),d(n)?r.showHidden=n:n&&t._extend(r,n),y(r.showHidden)&&(r.showHidden=!1),y(r.depth)&&(r.depth=2),y(r.colors)&&(r.colors=!1),y(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=s),c(r,e,r.depth)}function s(t,e){var n=a.styles[e];return n?"["+a.colors[n][0]+"m"+t+"["+a.colors[n][1]+"m":t}function l(t,e){return t}function c(e,n,r){if(e.customInspect&&n&&_(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return g(i)||(i=c(e,i,r)),i}var o=function(t,e){if(y(e))return t.stylize("undefined","undefined");if(g(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}return m(e)?t.stylize(""+e,"number"):d(e)?t.stylize(""+e,"boolean"):p(e)?t.stylize("null","null"):void 0}(e,n);if(o)return o;var a=Object.keys(n),s=function(t){var e={};return t.forEach((function(t,n){e[t]=!0})),e}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),E(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return u(n);if(0===a.length){if(_(n)){var l=n.name?": "+n.name:"";return e.stylize("[Function"+l+"]","special")}if(w(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(v(n))return e.stylize(Date.prototype.toString.call(n),"date");if(E(n))return u(n)}var b,A="",M=!1,T=["{","}"];return f(n)&&(M=!0,T=["[","]"]),_(n)&&(A=" [Function"+(n.name?": "+n.name:"")+"]"),w(n)&&(A=" "+RegExp.prototype.toString.call(n)),v(n)&&(A=" "+Date.prototype.toUTCString.call(n)),E(n)&&(A=" "+u(n)),0!==a.length||M&&0!=n.length?r<0?w(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),b=M?function(t,e,n,r,i){for(var o=[],a=0,s=e.length;a<s;++a)x(e,String(a))?o.push(h(t,e,n,r,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(h(t,e,n,r,i,!0))})),o}(e,n,r,s,a):a.map((function(t){return h(e,n,r,s,t,M)})),e.seen.pop(),function(t,e,n){return t.reduce((function(t,e){return e.indexOf("\n"),t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n  ")+" "+n[1]:n[0]+e+" "+t.join(", ")+" "+n[1]}(b,A,T)):T[0]+A+T[1]}function u(t){return"["+Error.prototype.toString.call(t)+"]"}function h(t,e,n,r,i,o){var a,s,l;if((l=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?s=l.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):l.set&&(s=t.stylize("[Setter]","special")),x(r,i)||(a="["+i+"]"),s||(t.seen.indexOf(l.value)<0?(s=p(n)?c(t,l.value,null):c(t,l.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(t){return"  "+t})).join("\n").slice(2):"\n"+s.split("\n").map((function(t){return"   "+t})).join("\n")):s=t.stylize("[Circular]","special")),y(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=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function f(t){return Array.isArray(t)}function d(t){return"boolean"==typeof t}function p(t){return null===t}function m(t){return"number"==typeof t}function g(t){return"string"==typeof t}function y(t){return void 0===t}function w(t){return b(t)&&"[object RegExp]"===A(t)}function b(t){return"object"==typeof t&&null!==t}function v(t){return b(t)&&"[object Date]"===A(t)}function E(t){return b(t)&&("[object Error]"===A(t)||t instanceof Error)}function _(t){return"function"==typeof t}function A(t){return Object.prototype.toString.call(t)}function M(t){return t<10?"0"+t.toString(10):t.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!r[e])if(i.test(e)){var n=zs.pid;r[e]=function(){var r=t.format.apply(t,arguments);console.error("%s %d: %s",e,n,r)}}else r[e]=function(){};return r[e]},t.inspect=a,a.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]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=ac(),t.isArray=f,t.isBoolean=d,t.isNull=p,t.isNullOrUndefined=function(t){return null==t},t.isNumber=m,t.isString=g,t.isSymbol=function(t){return"symbol"==typeof t},t.isUndefined=y,t.isRegExp=w,t.types.isRegExp=w,t.isObject=b,t.isDate=v,t.types.isDate=v,t.isError=E,t.types.isNativeError=E,t.isFunction=_,t.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},t.isBuffer=Vl?Yl:(Vl=1,Yl=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8});var T=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function x(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.log=function(){var e,n;console.log("%s - %s",(n=[M((e=new Date).getHours()),M(e.getMinutes()),M(e.getSeconds())].join(":"),[e.getDate(),T[e.getMonth()],n].join(" ")),t.format.apply(t,arguments))},t.inherits=Ts,t._extend=function(t,e){if(!e||!b(e))return t;for(var n=Object.keys(e),r=n.length;r--;)t[n[r]]=e[n[r]];return t};var S="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function k(t,e){if(!t){var n=new Error("Promise was rejected with a falsy value");n.reason=t,t=n}return e(t)}t.promisify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(S&&t[S]){var n;if("function"!=typeof(n=t[S]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(n,S,{value:n,enumerable:!1,writable:!1,configurable:!0}),n}function n(){for(var e,n,r=new Promise((function(t,r){e=t,n=r})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(t,r){t?n(t):e(r)}));try{t.apply(this,i)}catch(t){n(t)}return r}return Object.setPrototypeOf(n,Object.getPrototypeOf(t)),S&&Object.defineProperty(n,S,{value:n,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(n,e(t))},t.promisify.custom=S,t.callbackify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function n(){for(var e=[],n=0;n<arguments.length;n++)e.push(arguments[n]);var r=e.pop();if("function"!=typeof r)throw new TypeError("The last argument must be of type Function");var i=this,o=function(){return r.apply(i,arguments)};t.apply(this,e).then((function(t){zs.nextTick(o.bind(null,null,t))}),(function(t){zs.nextTick(k.bind(null,t,o))}))}return Object.setPrototypeOf(n,Object.getPrototypeOf(t)),Object.defineProperties(n,e(t)),n}}(ml)),ml}function lc(){if(Jl)return Ql;function t(t,r){n(t,r),e(t)}function e(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function n(t,e){t.emit("error",e)}return Jl=1,Ql={destroy:function(r,i){var o=this,a=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return a||s?(i?i(r):r&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,zs.nextTick(n,this,r)):zs.nextTick(n,this,r)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(r||null,(function(n){!i&&n?o._writableState?o._writableState.errorEmitted?zs.nextTick(e,o):(o._writableState.errorEmitted=!0,zs.nextTick(t,o,n)):zs.nextTick(t,o,n):i?(zs.nextTick(e,o),i(n)):zs.nextTick(e,o)})),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(t,e){var n=t._readableState,r=t._writableState;n&&n.autoDestroy||r&&r.autoDestroy?t.destroy(e):t.emit("error",e)}}}var cc,uc,hc,fc,dc,pc,mc,gc,yc,wc={};function bc(){if(cc)return wc;cc=1;var t={};function e(e,n,r){r||(r=Error);var i=function(t){var e,r;function i(e,r,i){return t.call(this,function(t,e,r){return"string"==typeof n?n:n(t,e,r)}(e,r,i))||this}return r=t,(e=i).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r,i}(r);i.prototype.name=r.name,i.prototype.code=e,t[e]=i}function n(t,e){if(Array.isArray(t)){var n=t.length;return t=t.map((function(t){return String(t)})),n>2?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:2===n?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}return e("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),e("ERR_INVALID_ARG_TYPE",(function(t,e,r){var i,o;if("string"==typeof e&&function(t,e,n){return t.substr(0,4)===e}(e,"not ")?(i="must not be",e=e.replace(/^not /,"")):i="must be",function(t,e,n){return(void 0===n||n>t.length)&&(n=t.length),t.substring(n-9,n)===e}(t," argument"))o="The ".concat(t," ").concat(i," ").concat(n(e,"type"));else{var a=function(t,e,n){return"number"!=typeof n&&(n=0),!(n+1>t.length)&&-1!==t.indexOf(".",n)}(t)?"property":"argument";o='The "'.concat(t,'" ').concat(a," ").concat(i," ").concat(n(e,"type"))}return o+". Received type ".concat(typeof r)}),TypeError),e("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),e("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),e("ERR_STREAM_PREMATURE_CLOSE","Premature close"),e("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),e("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),e("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),e("ERR_STREAM_WRITE_AFTER_END","write after end"),e("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),e("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),e("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),wc.codes=t,wc}function vc(){if(hc)return uc;hc=1;var t=bc().codes.ERR_INVALID_OPT_VALUE;return uc={getHighWaterMark:function(e,n,r,i){var o=function(t,e,n){return null!=t.highWaterMark?t.highWaterMark:e?t[n]:null}(n,i,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new t(i?r:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}}function Ec(){if(dc)return fc;function t(t){try{if(!is.localStorage)return!1}catch(t){return!1}var e=is.localStorage[t];return null!=e&&"true"===String(e).toLowerCase()}return dc=1,fc=function(e,n){if(t("noDeprecation"))return e;var r=!1;return function(){if(!r){if(t("throwDeprecation"))throw new Error(n);t("traceDeprecation")?console.trace(n):console.warn(n),r=!0}return e.apply(this,arguments)}},fc}function _c(){if(mc)return pc;function t(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,n){var r=t.entry;for(t.entry=null;r;){var i=r.callback;e.pendingcb--,i(undefined),r=r.next}e.corkedRequestsFree.next=t}(e,t)}}var e;mc=1,pc=E,E.WritableState=v;var n,r={deprecate:Ec()},i=Gs(),o=Qs().Buffer,a=is.Uint8Array||function(){},s=lc(),l=vc().getHighWaterMark,c=bc().codes,u=c.ERR_INVALID_ARG_TYPE,h=c.ERR_METHOD_NOT_IMPLEMENTED,f=c.ERR_MULTIPLE_CALLBACK,d=c.ERR_STREAM_CANNOT_PIPE,p=c.ERR_STREAM_DESTROYED,m=c.ERR_STREAM_NULL_VALUES,g=c.ERR_STREAM_WRITE_AFTER_END,y=c.ERR_UNKNOWN_ENCODING,w=s.errorOrDestroy;function b(){}function v(n,r,i){e=e||Ac(),n=n||{},"boolean"!=typeof i&&(i=r instanceof e),this.objectMode=!!n.objectMode,i&&(this.objectMode=this.objectMode||!!n.writableObjectMode),this.highWaterMark=l(this,n,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var o=!1===n.decodeStrings;this.decodeStrings=!o,this.defaultEncoding=n.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var n=t._writableState,r=n.sync,i=n.writecb;if("function"!=typeof i)throw new f;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),e)!function(t,e,n,r,i){--e.pendingcb,n?(zs.nextTick(i,r),zs.nextTick(S,t,e),t._writableState.errorEmitted=!0,w(t,r)):(i(r),t._writableState.errorEmitted=!0,w(t,r),S(t,e))}(t,n,r,e,i);else{var o=T(n)||t.destroyed;o||n.corked||n.bufferProcessing||!n.bufferedRequest||M(t,n),r?zs.nextTick(A,t,n,o,i):A(t,n,o,i)}}(r,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==n.emitClose,this.autoDestroy=!!n.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}function E(t){var r=this instanceof(e=e||Ac());if(!r&&!n.call(E,this))return new E(t);this._writableState=new v(t,this,r),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),i.call(this)}function _(t,e,n,r,i,o,a){e.writelen=r,e.writecb=a,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new p("write")):n?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function A(t,e,n,r){n||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,r(),S(t,e)}function M(e,n){n.bufferProcessing=!0;var r=n.bufferedRequest;if(e._writev&&r&&r.next){var i=n.bufferedRequestCount,o=new Array(i),a=n.corkedRequestsFree;a.entry=r;for(var s=0,l=!0;r;)o[s]=r,r.isBuf||(l=!1),r=r.next,s+=1;o.allBuffers=l,_(e,n,!0,n.length,o,"",a.finish),n.pendingcb++,n.lastBufferedRequest=null,a.next?(n.corkedRequestsFree=a.next,a.next=null):n.corkedRequestsFree=new t(n),n.bufferedRequestCount=0}else{for(;r;){var c=r.chunk,u=r.encoding,h=r.callback;if(_(e,n,!1,n.objectMode?1:c.length,c,u,h),r=r.next,n.bufferedRequestCount--,n.writing)break}null===r&&(n.lastBufferedRequest=null)}n.bufferedRequest=r,n.bufferProcessing=!1}function T(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function x(t,e){t._final((function(n){e.pendingcb--,n&&w(t,n),e.prefinished=!0,t.emit("prefinish"),S(t,e)}))}function S(t,e){var n=T(e);if(n&&(function(t,e){e.prefinished||e.finalCalled||("function"!=typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,zs.nextTick(x,t,e)))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var r=t._readableState;(!r||r.autoDestroy&&r.endEmitted)&&t.destroy()}return n}return Ts(E,i),v.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(v.prototype,"buffer",{get:r.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(n=Function.prototype[Symbol.hasInstance],Object.defineProperty(E,Symbol.hasInstance,{value:function(t){return!!n.call(this,t)||this===E&&t&&t._writableState instanceof v}})):n=function(t){return t instanceof this},E.prototype.pipe=function(){w(this,new d)},E.prototype.write=function(t,e,n){var r,i=this._writableState,s=!1,l=!i.objectMode&&(r=t,o.isBuffer(r)||r instanceof a);return l&&!o.isBuffer(t)&&(t=function(t){return o.from(t)}(t)),"function"==typeof e&&(n=e,e=null),l?e="buffer":e||(e=i.defaultEncoding),"function"!=typeof n&&(n=b),i.ending?function(t,e){var n=new g;w(t,n),zs.nextTick(e,n)}(this,n):(l||function(t,e,n,r){var i;return null===n?i=new m:"string"==typeof n||e.objectMode||(i=new u("chunk",["string","Buffer"],n)),!i||(w(t,i),zs.nextTick(r,i),!1)}(this,i,t,n))&&(i.pendingcb++,s=function(t,e,n,r,i,a){if(!n){var s=function(t,e,n){return t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=o.from(e,n)),e}(e,r,i);r!==s&&(n=!0,i="buffer",r=s)}var l=e.objectMode?1:r.length;e.length+=l;var c=e.length<e.highWaterMark;if(c||(e.needDrain=!0),e.writing||e.corked){var u=e.lastBufferedRequest;e.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:a,next:null},u?u.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else _(t,e,!1,l,r,i,a);return c}(this,i,l,t,e,n)),s},E.prototype.cork=function(){this._writableState.corked++},E.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||M(this,t))},E.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new y(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(E.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(E.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),E.prototype._write=function(t,e,n){n(new h("_write()"))},E.prototype._writev=null,E.prototype.end=function(t,e,n){var r=this._writableState;return"function"==typeof t?(n=t,t=null,e=null):"function"==typeof e&&(n=e,e=null),null!=t&&this.write(t,e),r.corked&&(r.corked=1,this.uncork()),r.ending||function(t,e,n){e.ending=!0,S(t,e),n&&(e.finished?zs.nextTick(n):t.once("finish",n)),e.ended=!0,t.writable=!1}(this,r,n),this},Object.defineProperty(E.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),E.prototype.destroy=s.destroy,E.prototype._undestroy=s.undestroy,E.prototype._destroy=function(t,e){e(t)},pc}function Ac(){if(yc)return gc;yc=1;var t=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};gc=a;var e=Gc(),n=_c();Ts(a,e);for(var r=t(n.prototype),i=0;i<r.length;i++){var o=r[i];a.prototype[o]||(a.prototype[o]=n.prototype[o])}function a(t){if(!(this instanceof a))return new a(t);e.call(this,t),n.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",s)))}function s(){this._writableState.ended||zs.nextTick(l,this)}function l(t){t.end()}return Object.defineProperty(a.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(a.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(a.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(a.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}),gc}var Mc,Tc,xc,Sc,kc,Cc,Dc,Ic,Rc,Nc,Oc,Lc,Pc,Fc,Bc,Uc,jc={},Hc={exports:{}};function zc(){if(Tc)return jc;Tc=1;var t=(Mc||(Mc=1,function(t,e){var n=Qs(),r=n.Buffer;function i(t,e){for(var n in t)e[n]=t[n]}function o(t,e,n){return r(t,e,n)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?t.exports=n:(i(n,e),e.Buffer=o),i(r,o),o.from=function(t,e,n){if("number"==typeof t)throw new TypeError("Argument must not be a number");return r(t,e,n)},o.alloc=function(t,e,n){if("number"!=typeof t)throw new TypeError("Argument must be a number");var i=r(t);return void 0!==e?"string"==typeof n?i.fill(e,n):i.fill(e):i.fill(0),i},o.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return r(t)},o.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}}(Hc,Hc.exports)),Hc.exports).Buffer,e=t.isEncoding||function(t){switch((t=""+t)&&t.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 n(n){var r;switch(this.encoding=function(n){var r=function(t){if(!t)return"utf8";for(var e;;)switch(t){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 t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(n);if("string"!=typeof r&&(t.isEncoding===e||!e(n)))throw new Error("Unknown encoding: "+n);return r||n}(n),this.encoding){case"utf16le":this.text=o,this.end=a,r=4;break;case"utf8":this.fillLast=i,r=4;break;case"base64":this.text=s,this.end=l,r=3;break;default:return this.write=c,void(this.end=u)}this.lastNeed=0,this.lastTotal=0,this.lastChar=t.allocUnsafe(r)}function r(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function i(t){var e=this.lastTotal-this.lastNeed,n=function(t,e,n){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==n?n:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function o(t,e){if((t.length-e)%2==0){var n=t.toString("utf16le",e);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function a(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,n)}return e}function s(t,e){var n=(t.length-e)%3;return 0===n?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function l(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function c(t){return t.toString(this.encoding)}function u(t){return t&&t.length?this.write(t):""}return jc.StringDecoder=n,n.prototype.write=function(t){if(0===t.length)return"";var e,n;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<t.length?e?e+this.text(t,n):this.text(t,n):e||""},n.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e},n.prototype.text=function(t,e){var n=function(t,e,n){var i=e.length-1;if(i<n)return 0;var o=r(e[i]);return o>=0?(o>0&&(t.lastNeed=o-1),o):--i<n||-2===o?0:(o=r(e[i]))>=0?(o>0&&(t.lastNeed=o-2),o):--i<n||-2===o?0:(o=r(e[i]))>=0?(o>0&&(2===o?o=0:t.lastNeed=o-3),o):0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var i=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,i),t.toString("utf8",e,i)},n.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length},jc}function qc(){if(Sc)return xc;Sc=1;var t=bc().codes.ERR_STREAM_PREMATURE_CLOSE;function e(){}return xc=function n(r,i,o){if("function"==typeof i)return n(r,null,i);i||(i={}),o=function(t){var e=!1;return function(){if(!e){e=!0;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.apply(this,r)}}}(o||e);var a=i.readable||!1!==i.readable&&r.readable,s=i.writable||!1!==i.writable&&r.writable,l=function(){r.writable||u()},c=r._writableState&&r._writableState.finished,u=function(){s=!1,c=!0,a||o.call(r)},h=r._readableState&&r._readableState.endEmitted,f=function(){a=!1,h=!0,s||o.call(r)},d=function(t){o.call(r,t)},p=function(){var e;return a&&!h?(r._readableState&&r._readableState.ended||(e=new t),o.call(r,e)):s&&!c?(r._writableState&&r._writableState.ended||(e=new t),o.call(r,e)):void 0},m=function(){r.req.on("finish",u)};return function(t){return t.setHeader&&"function"==typeof t.abort}(r)?(r.on("complete",u),r.on("abort",p),r.req?m():r.on("request",m)):s&&!r._writableState&&(r.on("end",l),r.on("close",l)),r.on("end",f),r.on("finish",u),!1!==i.error&&r.on("error",d),r.on("close",p),function(){r.removeListener("complete",u),r.removeListener("abort",p),r.removeListener("request",m),r.req&&r.req.removeListener("finish",u),r.removeListener("end",l),r.removeListener("close",l),r.removeListener("finish",u),r.removeListener("end",f),r.removeListener("error",d),r.removeListener("close",p)}},xc}function Wc(){if(Cc)return kc;var t;function e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Cc=1;var n=qc(),r=Symbol("lastResolve"),i=Symbol("lastReject"),o=Symbol("error"),a=Symbol("ended"),s=Symbol("lastPromise"),l=Symbol("handlePromise"),c=Symbol("stream");function u(t,e){return{value:t,done:e}}function h(t){var e=t[r];if(null!==e){var n=t[c].read();null!==n&&(t[s]=null,t[r]=null,t[i]=null,e(u(n,!1)))}}function f(t){zs.nextTick(h,t)}var d=Object.getPrototypeOf((function(){})),p=Object.setPrototypeOf((e(t={get stream(){return this[c]},next:function(){var t=this,e=this[o];if(null!==e)return Promise.reject(e);if(this[a])return Promise.resolve(u(void 0,!0));if(this[c].destroyed)return new Promise((function(e,n){zs.nextTick((function(){t[o]?n(t[o]):e(u(void 0,!0))}))}));var n,r=this[s];if(r)n=new Promise(function(t,e){return function(n,r){t.then((function(){e[a]?n(u(void 0,!0)):e[l](n,r)}),r)}}(r,this));else{var i=this[c].read();if(null!==i)return Promise.resolve(u(i,!1));n=new Promise(this[l])}return this[s]=n,n}},Symbol.asyncIterator,(function(){return this})),e(t,"return",(function(){var t=this;return new Promise((function(e,n){t[c].destroy(null,(function(t){t?n(t):e(u(void 0,!0))}))}))})),t),d);return kc=function(t){var h,d=Object.create(p,(e(h={},c,{value:t,writable:!0}),e(h,r,{value:null,writable:!0}),e(h,i,{value:null,writable:!0}),e(h,o,{value:null,writable:!0}),e(h,a,{value:t._readableState.endEmitted,writable:!0}),e(h,l,{value:function(t,e){var n=d[c].read();n?(d[s]=null,d[r]=null,d[i]=null,t(u(n,!1))):(d[r]=t,d[i]=e)},writable:!0}),h));return d[s]=null,n(t,(function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=d[i];return null!==e&&(d[s]=null,d[r]=null,d[i]=null,e(t)),void(d[o]=t)}var n=d[r];null!==n&&(d[s]=null,d[r]=null,d[i]=null,n(u(void 0,!0))),d[a]=!0})),t.on("readable",f.bind(null,d)),d}}function Gc(){if(Nc)return Rc;var t;Nc=1,Rc=E,E.ReadableState=v,As.EventEmitter;var e,n=function(t,e){return t.listeners(e).length},r=Gs(),i=Qs().Buffer,o=is.Uint8Array||function(){},a=sc();e=a&&a.debuglog?a.debuglog("stream"):function(){};var s,l,c,u=function(){if($l)return Zl;function t(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function n(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}$l=1;var r=Qs().Buffer,i=sc().inspect,o=i&&i.custom||"inspect";function a(t,e,n){r.prototype.copy.call(t,e,n)}return Zl=function(){function s(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),this.head=null,this.tail=null,this.length=0}var l;return l=[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,n=""+e.data;e=e.next;)n+=t+e.data;return n}},{key:"concat",value:function(t){if(0===this.length)return r.alloc(0);for(var e=r.allocUnsafe(t>>>0),n=this.head,i=0;n;)a(n.data,e,i),i+=n.data.length,n=n.next;return e}},{key:"consume",value:function(t,e){var n;return t<this.head.data.length?(n=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):n=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var e=this.head,n=1,r=e.data;for(t-=r.length;e=e.next;){var i=e.data,o=t>i.length?i.length:t;if(o===i.length?r+=i:r+=i.slice(0,t),0==(t-=o)){o===i.length?(++n,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(t){var e=r.allocUnsafe(t),n=this.head,i=1;for(n.data.copy(e),t-=n.data.length;n=n.next;){var o=n.data,a=t>o.length?o.length:t;if(o.copy(e,e.length-t,0,a),0==(t-=a)){a===o.length?(++i,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=o.slice(a));break}++i}return this.length-=i,e}},{key:o,value:function(n,r){return i(this,function(n){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?t(Object(i),!0).forEach((function(t){e(n,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):t(Object(i)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))}))}return n}({},r,{depth:0,customInspect:!1}))}}],l&&n(s.prototype,l),s}(),Zl}(),h=lc(),f=vc().getHighWaterMark,d=bc().codes,p=d.ERR_INVALID_ARG_TYPE,m=d.ERR_STREAM_PUSH_AFTER_EOF,g=d.ERR_METHOD_NOT_IMPLEMENTED,y=d.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;Ts(E,r);var w=h.errorOrDestroy,b=["error","close","destroy","pause","resume"];function v(e,n,r){t=t||Ac(),e=e||{},"boolean"!=typeof r&&(r=n instanceof t),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=f(this,e,"readableHighWaterMark",r),this.buffer=new u,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&&(s||(s=zc().StringDecoder),this.decoder=new s(e.encoding),this.encoding=e.encoding)}function E(e){if(t=t||Ac(),!(this instanceof E))return new E(e);var n=this instanceof t;this._readableState=new v(e,this,n),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),r.call(this)}function _(t,n,r,a,s){e("readableAddChunk",n);var l,c=t._readableState;if(null===n)c.reading=!1,function(t,n){if(e("onEofChunk"),!n.ended){if(n.decoder){var r=n.decoder.end();r&&r.length&&(n.buffer.push(r),n.length+=n.objectMode?1:r.length)}n.ended=!0,n.sync?x(t):(n.needReadable=!1,n.emittedReadable||(n.emittedReadable=!0,S(t)))}}(t,c);else if(s||(l=function(t,e){var n,r;return r=e,i.isBuffer(r)||r instanceof o||"string"==typeof e||void 0===e||t.objectMode||(n=new p("chunk",["string","Buffer","Uint8Array"],e)),n}(c,n)),l)w(t,l);else if(c.objectMode||n&&n.length>0)if("string"==typeof n||c.objectMode||Object.getPrototypeOf(n)===i.prototype||(n=function(t){return i.from(t)}(n)),a)c.endEmitted?w(t,new y):A(t,c,n,!0);else if(c.ended)w(t,new m);else{if(c.destroyed)return!1;c.reading=!1,c.decoder&&!r?(n=c.decoder.write(n),c.objectMode||0!==n.length?A(t,c,n,!1):k(t,c)):A(t,c,n,!1)}else a||(c.reading=!1,k(t,c));return!c.ended&&(c.length<c.highWaterMark||0===c.length)}function A(t,e,n,r){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",n)):(e.length+=e.objectMode?1:n.length,r?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&x(t)),k(t,e)}Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),E.prototype.destroy=h.destroy,E.prototype._undestroy=h.undestroy,E.prototype._destroy=function(t,e){e(t)},E.prototype.push=function(t,e){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof t&&((e=e||r.defaultEncoding)!==r.encoding&&(t=i.from(t,e),e=""),n=!0),_(this,t,e,!1,n)},E.prototype.unshift=function(t){return _(this,t,null,!0,!1)},E.prototype.isPaused=function(){return!1===this._readableState.flowing},E.prototype.setEncoding=function(t){s||(s=zc().StringDecoder);var e=new s(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,r="";null!==n;)r+=e.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==r&&this._readableState.buffer.push(r),this._readableState.length=r.length,this};var M=1073741824;function T(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=M?t=M:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function x(t){var n=t._readableState;e("emitReadable",n.needReadable,n.emittedReadable),n.needReadable=!1,n.emittedReadable||(e("emitReadable",n.flowing),n.emittedReadable=!0,zs.nextTick(S,t))}function S(t){var n=t._readableState;e("emitReadable_",n.destroyed,n.length,n.ended),n.destroyed||!n.length&&!n.ended||(t.emit("readable"),n.emittedReadable=!1),n.needReadable=!n.flowing&&!n.ended&&n.length<=n.highWaterMark,N(t)}function k(t,e){e.readingMore||(e.readingMore=!0,zs.nextTick(C,t,e))}function C(t,n){for(;!n.reading&&!n.ended&&(n.length<n.highWaterMark||n.flowing&&0===n.length);){var r=n.length;if(e("maybeReadMore read 0"),t.read(0),r===n.length)break}n.readingMore=!1}function D(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function I(t){e("readable nexttick read 0"),t.read(0)}function R(t,n){e("resume",n.reading),n.reading||t.read(0),n.resumeScheduled=!1,t.emit("resume"),N(t),n.flowing&&!n.reading&&t.read(0)}function N(t){var n=t._readableState;for(e("flow",n.flowing);n.flowing&&null!==t.read(););}function O(t,e){return 0===e.length?null:(e.objectMode?n=e.buffer.shift():!t||t>=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):n=e.buffer.consume(t,e.decoder),n);var n}function L(t){var n=t._readableState;e("endReadable",n.endEmitted),n.endEmitted||(n.ended=!0,zs.nextTick(P,n,t))}function P(t,n){if(e("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,n.readable=!1,n.emit("end"),t.autoDestroy)){var r=n._writableState;(!r||r.autoDestroy&&r.finished)&&n.destroy()}}function F(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}return E.prototype.read=function(t){e("read",t),t=parseInt(t,10);var n=this._readableState,r=t;if(0!==t&&(n.emittedReadable=!1),0===t&&n.needReadable&&((0!==n.highWaterMark?n.length>=n.highWaterMark:n.length>0)||n.ended))return e("read: emitReadable",n.length,n.ended),0===n.length&&n.ended?L(this):x(this),null;if(0===(t=T(t,n))&&n.ended)return 0===n.length&&L(this),null;var i,o=n.needReadable;return e("need readable",o),(0===n.length||n.length-t<n.highWaterMark)&&e("length less than watermark",o=!0),n.ended||n.reading?e("reading or ended",o=!1):o&&(e("do read"),n.reading=!0,n.sync=!0,0===n.length&&(n.needReadable=!0),this._read(n.highWaterMark),n.sync=!1,n.reading||(t=T(r,n))),null===(i=t>0?O(t,n):null)?(n.needReadable=n.length<=n.highWaterMark,t=0):(n.length-=t,n.awaitDrain=0),0===n.length&&(n.ended||(n.needReadable=!0),r!==t&&n.ended&&L(this)),null!==i&&this.emit("data",i),i},E.prototype._read=function(t){w(this,new g("_read()"))},E.prototype.pipe=function(t,r){var i=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=t;break;case 1:o.pipes=[o.pipes,t];break;default:o.pipes.push(t)}o.pipesCount+=1,e("pipe count=%d opts=%j",o.pipesCount,r);var a=r&&!1===r.end||t===zs.stdout||t===zs.stderr?p:s;function s(){e("onend"),t.end()}o.endEmitted?zs.nextTick(a):i.once("end",a),t.on("unpipe",(function n(r,a){e("onunpipe"),r===i&&a&&!1===a.hasUnpiped&&(a.hasUnpiped=!0,e("cleanup"),t.removeListener("close",f),t.removeListener("finish",d),t.removeListener("drain",l),t.removeListener("error",h),t.removeListener("unpipe",n),i.removeListener("end",s),i.removeListener("end",p),i.removeListener("data",u),c=!0,!o.awaitDrain||t._writableState&&!t._writableState.needDrain||l())}));var l=function(t){return function(){var r=t._readableState;e("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,0===r.awaitDrain&&n(t,"data")&&(r.flowing=!0,N(t))}}(i);t.on("drain",l);var c=!1;function u(n){e("ondata");var r=t.write(n);e("dest.write",r),!1===r&&((1===o.pipesCount&&o.pipes===t||o.pipesCount>1&&-1!==F(o.pipes,t))&&!c&&(e("false write response, pause",o.awaitDrain),o.awaitDrain++),i.pause())}function h(r){e("onerror",r),p(),t.removeListener("error",h),0===n(t,"error")&&w(t,r)}function f(){t.removeListener("finish",d),p()}function d(){e("onfinish"),t.removeListener("close",f),p()}function p(){e("unpipe"),i.unpipe(t)}return i.on("data",u),function(t,e,n){if("function"==typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}(t,"error",h),t.once("close",f),t.once("finish",d),t.emit("pipe",i),o.flowing||(e("pipe resume"),i.resume()),t},E.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var r=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=F(e.pipes,t);return-1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,n)),this},E.prototype.on=function(t,n){var i=r.prototype.on.call(this,t,n),o=this._readableState;return"data"===t?(o.readableListening=this.listenerCount("readable")>0,!1!==o.flowing&&this.resume()):"readable"===t&&(o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,e("on readable",o.length,o.reading),o.length?x(this):o.reading||zs.nextTick(I,this))),i},E.prototype.addListener=E.prototype.on,E.prototype.removeListener=function(t,e){var n=r.prototype.removeListener.call(this,t,e);return"readable"===t&&zs.nextTick(D,this),n},E.prototype.removeAllListeners=function(t){var e=r.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||zs.nextTick(D,this),e},E.prototype.resume=function(){var t=this._readableState;return t.flowing||(e("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,zs.nextTick(R,t,e))}(this,t)),t.paused=!1,this},E.prototype.pause=function(){return e("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(e("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},E.prototype.wrap=function(t){var n=this,r=this._readableState,i=!1;for(var o in t.on("end",(function(){if(e("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&n.push(t)}n.push(null)})),t.on("data",(function(o){e("wrapped data"),r.decoder&&(o=r.decoder.write(o)),r.objectMode&&null==o||(r.objectMode||o&&o.length)&&(n.push(o)||(i=!0,t.pause()))})),t)void 0===this[o]&&"function"==typeof t[o]&&(this[o]=function(e){return function(){return t[e].apply(t,arguments)}}(o));for(var a=0;a<b.length;a++)t.on(b[a],this.emit.bind(this,b[a]));return this._read=function(n){e("wrapped _read",n),i&&(i=!1,t.resume())},this},"function"==typeof Symbol&&(E.prototype[Symbol.asyncIterator]=function(){return void 0===l&&(l=Wc()),l(this)}),Object.defineProperty(E.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(E.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(E.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),E._fromList=O,Object.defineProperty(E.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(E.from=function(t,e){return void 0===c&&(c=Ic?Dc:(Ic=1,Dc=function(){throw new Error("Readable.from is not available in the browser")})),c(E,t,e)}),Rc}function Kc(){if(Lc)return Oc;Lc=1,Oc=s;var t=bc().codes,e=t.ERR_METHOD_NOT_IMPLEMENTED,n=t.ERR_MULTIPLE_CALLBACK,r=t.ERR_TRANSFORM_ALREADY_TRANSFORMING,i=t.ERR_TRANSFORM_WITH_LENGTH_0,o=Ac();function a(t,e){var r=this._transformState;r.transforming=!1;var i=r.writecb;if(null===i)return this.emit("error",new n);r.writechunk=null,r.writecb=null,null!=e&&this.push(e),i(t);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function s(t){if(!(this instanceof s))return new s(t);o.call(this,t),this._transformState={afterTransform:a.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",l)}function l(){var t=this;"function"!=typeof this._flush||this._readableState.destroyed?c(this,null,null):this._flush((function(e,n){c(t,e,n)}))}function c(t,e,n){if(e)return t.emit("error",e);if(null!=n&&t.push(n),t._writableState.length)throw new i;if(t._transformState.transforming)throw new r;return t.push(null)}return Ts(s,o),s.prototype.push=function(t,e){return this._transformState.needTransform=!1,o.prototype.push.call(this,t,e)},s.prototype._transform=function(t,n,r){r(new e("_transform()"))},s.prototype._write=function(t,e,n){var r=this._transformState;if(r.writecb=n,r.writechunk=t,r.writeencoding=e,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},s.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},s.prototype._destroy=function(t,e){o.prototype._destroy.call(this,t,(function(t){e(t)}))},Oc}var Yc=Xc,Vc=As.EventEmitter;function Xc(){Vc.call(this)}Ts(Xc,Vc),Xc.Readable=Gc(),Xc.Writable=_c(),Xc.Duplex=Ac(),Xc.Transform=Kc(),Xc.PassThrough=function(){if(Fc)return Pc;Fc=1,Pc=e;var t=Kc();function e(n){if(!(this instanceof e))return new e(n);t.call(this,n)}return Ts(e,t),e.prototype._transform=function(t,e,n){n(null,t)},Pc}(),Xc.finished=qc(),Xc.pipeline=function(){if(Uc)return Bc;var t;Uc=1;var e=bc().codes,n=e.ERR_MISSING_ARGS,r=e.ERR_STREAM_DESTROYED;function i(t){if(t)throw t}function o(t){t()}function a(t,e){return t.pipe(e)}return Bc=function(){for(var e=arguments.length,s=new Array(e),l=0;l<e;l++)s[l]=arguments[l];var c,u=function(t){return t.length?"function"!=typeof t[t.length-1]?i:t.pop():i}(s);if(Array.isArray(s[0])&&(s=s[0]),s.length<2)throw new n("streams");var h=s.map((function(e,n){var i=n<s.length-1;return function(e,n,i,o){o=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(o);var a=!1;e.on("close",(function(){a=!0})),void 0===t&&(t=qc()),t(e,{readable:n,writable:i},(function(t){if(t)return o(t);a=!0,o()}));var s=!1;return function(t){if(!a&&!s)return s=!0,function(t){return t.setHeader&&"function"==typeof t.abort}(e)?e.abort():"function"==typeof e.destroy?e.destroy():void o(t||new r("pipe"))}}(e,i,n>0,(function(t){c||(c=t),t&&h.forEach(o),i||(h.forEach(o),u(c))}))}));return s.reduce(a)},Bc}(),Xc.Stream=Xc,Xc.prototype.pipe=function(t,e){var n=this;function r(e){t.writable&&!1===t.write(e)&&n.pause&&n.pause()}function i(){n.readable&&n.resume&&n.resume()}n.on("data",r),t.on("drain",i),t._isStdio||e&&!1===e.end||(n.on("end",a),n.on("close",s));var o=!1;function a(){o||(o=!0,t.end())}function s(){o||(o=!0,"function"==typeof t.destroy&&t.destroy())}function l(t){if(c(),0===Vc.listenerCount(this,"error"))throw t}function c(){n.removeListener("data",r),t.removeListener("drain",i),n.removeListener("end",a),n.removeListener("close",s),n.removeListener("error",l),t.removeListener("error",l),n.removeListener("end",c),n.removeListener("close",c),t.removeListener("close",c)}return n.on("error",l),t.on("error",l),n.on("end",c),n.on("close",c),t.on("close",c),t.emit("pipe",n),t},function(t){!function(t){t.parser=function(t,e){return new r(t,e)},t.SAXParser=r,t.SAXStream=o,t.createStream=function(t,e){return new o(t,e)},t.MAX_BUFFER_LENGTH=65536;var e,n=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function r(e,i){if(!(this instanceof r))return new r(e,i);var o=this;!function(t){for(var e=0,r=n.length;e<r;e++)t[n[e]]=""}(o),o.q=o.c="",o.bufferCheckPosition=t.MAX_BUFFER_LENGTH,o.opt=i||{},o.opt.lowercase=o.opt.lowercase||o.opt.lowercasetags,o.looseCase=o.opt.lowercase?"toLowerCase":"toUpperCase",o.tags=[],o.closed=o.closedRoot=o.sawRoot=!1,o.tag=o.error=null,o.strict=!!e,o.noscript=!(!e&&!o.opt.noscript),o.state=v.BEGIN,o.strictEntities=o.opt.strictEntities,o.ENTITIES=o.strictEntities?Object.create(t.XML_ENTITIES):Object.create(t.ENTITIES),o.attribList=[],o.opt.xmlns&&(o.ns=Object.create(u)),o.trackPosition=!1!==o.opt.position,o.trackPosition&&(o.position=o.line=o.column=0),_(o,"onready")}t.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(t){function e(){}return e.prototype=t,new e}),Object.keys||(Object.keys=function(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}),r.prototype={end:function(){S(this)},write:function(e){var r=this;if(this.error)throw this.error;if(r.closed)return x(r,"Cannot write after close. Assign an onready handler.");if(null===e)return S(r);"object"==typeof e&&(e=e.toString());for(var i=0,o="";o=P(e,i++),r.c=o,o;)switch(r.trackPosition&&(r.position++,"\n"===o?(r.line++,r.column=0):r.column++),r.state){case v.BEGIN:if(r.state=v.BEGIN_WHITESPACE,"\ufeff"===o)continue;L(r,o);continue;case v.BEGIN_WHITESPACE:L(r,o);continue;case v.TEXT:if(r.sawRoot&&!r.closedRoot){for(var l=i-1;o&&"<"!==o&&"&"!==o;)(o=P(e,i++))&&r.trackPosition&&(r.position++,"\n"===o?(r.line++,r.column=0):r.column++);r.textNode+=e.substring(l,i-1)}"<"!==o||r.sawRoot&&r.closedRoot&&!r.strict?(m(o)||r.sawRoot&&!r.closedRoot||k(r,"Text data outside of root node."),"&"===o?r.state=v.TEXT_ENTITY:r.textNode+=o):(r.state=v.OPEN_WAKA,r.startTagPosition=r.position);continue;case v.SCRIPT:"<"===o?r.state=v.SCRIPT_ENDING:r.script+=o;continue;case v.SCRIPT_ENDING:"/"===o?r.state=v.CLOSE_TAG:(r.script+="<"+o,r.state=v.SCRIPT);continue;case v.OPEN_WAKA:if("!"===o)r.state=v.SGML_DECL,r.sgmlDecl="";else if(m(o));else if(w(h,o))r.state=v.OPEN_TAG,r.tagName=o;else if("/"===o)r.state=v.CLOSE_TAG,r.tagName="";else if("?"===o)r.state=v.PROC_INST,r.procInstName=r.procInstBody="";else{if(k(r,"Unencoded <"),r.startTagPosition+1<r.position){var c=r.position-r.startTagPosition;o=new Array(c).join(" ")+o}r.textNode+="<"+o,r.state=v.TEXT}continue;case v.SGML_DECL:(r.sgmlDecl+o).toUpperCase()===a?(A(r,"onopencdata"),r.state=v.CDATA,r.sgmlDecl="",r.cdata=""):r.sgmlDecl+o==="--"?(r.state=v.COMMENT,r.comment="",r.sgmlDecl=""):(r.sgmlDecl+o).toUpperCase()===s?(r.state=v.DOCTYPE,(r.doctype||r.sawRoot)&&k(r,"Inappropriately located doctype declaration"),r.doctype="",r.sgmlDecl=""):">"===o?(A(r,"onsgmldeclaration",r.sgmlDecl),r.sgmlDecl="",r.state=v.TEXT):g(o)?(r.state=v.SGML_DECL_QUOTED,r.sgmlDecl+=o):r.sgmlDecl+=o;continue;case v.SGML_DECL_QUOTED:o===r.q&&(r.state=v.SGML_DECL,r.q=""),r.sgmlDecl+=o;continue;case v.DOCTYPE:">"===o?(r.state=v.TEXT,A(r,"ondoctype",r.doctype),r.doctype=!0):(r.doctype+=o,"["===o?r.state=v.DOCTYPE_DTD:g(o)&&(r.state=v.DOCTYPE_QUOTED,r.q=o));continue;case v.DOCTYPE_QUOTED:r.doctype+=o,o===r.q&&(r.q="",r.state=v.DOCTYPE);continue;case v.DOCTYPE_DTD:r.doctype+=o,"]"===o?r.state=v.DOCTYPE:g(o)&&(r.state=v.DOCTYPE_DTD_QUOTED,r.q=o);continue;case v.DOCTYPE_DTD_QUOTED:r.doctype+=o,o===r.q&&(r.state=v.DOCTYPE_DTD,r.q="");continue;case v.COMMENT:"-"===o?r.state=v.COMMENT_ENDING:r.comment+=o;continue;case v.COMMENT_ENDING:"-"===o?(r.state=v.COMMENT_ENDED,r.comment=T(r.opt,r.comment),r.comment&&A(r,"oncomment",r.comment),r.comment=""):(r.comment+="-"+o,r.state=v.COMMENT);continue;case v.COMMENT_ENDED:">"!==o?(k(r,"Malformed comment"),r.comment+="--"+o,r.state=v.COMMENT):r.state=v.TEXT;continue;case v.CDATA:"]"===o?r.state=v.CDATA_ENDING:r.cdata+=o;continue;case v.CDATA_ENDING:"]"===o?r.state=v.CDATA_ENDING_2:(r.cdata+="]"+o,r.state=v.CDATA);continue;case v.CDATA_ENDING_2:">"===o?(r.cdata&&A(r,"oncdata",r.cdata),A(r,"onclosecdata"),r.cdata="",r.state=v.TEXT):"]"===o?r.cdata+="]":(r.cdata+="]]"+o,r.state=v.CDATA);continue;case v.PROC_INST:"?"===o?r.state=v.PROC_INST_ENDING:m(o)?r.state=v.PROC_INST_BODY:r.procInstName+=o;continue;case v.PROC_INST_BODY:if(!r.procInstBody&&m(o))continue;"?"===o?r.state=v.PROC_INST_ENDING:r.procInstBody+=o;continue;case v.PROC_INST_ENDING:">"===o?(A(r,"onprocessinginstruction",{name:r.procInstName,body:r.procInstBody}),r.procInstName=r.procInstBody="",r.state=v.TEXT):(r.procInstBody+="?"+o,r.state=v.PROC_INST_BODY);continue;case v.OPEN_TAG:w(f,o)?r.tagName+=o:(C(r),">"===o?R(r):"/"===o?r.state=v.OPEN_TAG_SLASH:(m(o)||k(r,"Invalid character in tag name"),r.state=v.ATTRIB));continue;case v.OPEN_TAG_SLASH:">"===o?(R(r,!0),N(r)):(k(r,"Forward-slash in opening tag not followed by >"),r.state=v.ATTRIB);continue;case v.ATTRIB:if(m(o))continue;">"===o?R(r):"/"===o?r.state=v.OPEN_TAG_SLASH:w(h,o)?(r.attribName=o,r.attribValue="",r.state=v.ATTRIB_NAME):k(r,"Invalid attribute name");continue;case v.ATTRIB_NAME:"="===o?r.state=v.ATTRIB_VALUE:">"===o?(k(r,"Attribute without value"),r.attribValue=r.attribName,I(r),R(r)):m(o)?r.state=v.ATTRIB_NAME_SAW_WHITE:w(f,o)?r.attribName+=o:k(r,"Invalid attribute name");continue;case v.ATTRIB_NAME_SAW_WHITE:if("="===o)r.state=v.ATTRIB_VALUE;else{if(m(o))continue;k(r,"Attribute without value"),r.tag.attributes[r.attribName]="",r.attribValue="",A(r,"onattribute",{name:r.attribName,value:""}),r.attribName="",">"===o?R(r):w(h,o)?(r.attribName=o,r.state=v.ATTRIB_NAME):(k(r,"Invalid attribute name"),r.state=v.ATTRIB)}continue;case v.ATTRIB_VALUE:if(m(o))continue;g(o)?(r.q=o,r.state=v.ATTRIB_VALUE_QUOTED):(k(r,"Unquoted attribute value"),r.state=v.ATTRIB_VALUE_UNQUOTED,r.attribValue=o);continue;case v.ATTRIB_VALUE_QUOTED:if(o!==r.q){"&"===o?r.state=v.ATTRIB_VALUE_ENTITY_Q:r.attribValue+=o;continue}I(r),r.q="",r.state=v.ATTRIB_VALUE_CLOSED;continue;case v.ATTRIB_VALUE_CLOSED:m(o)?r.state=v.ATTRIB:">"===o?R(r):"/"===o?r.state=v.OPEN_TAG_SLASH:w(h,o)?(k(r,"No whitespace between attributes"),r.attribName=o,r.attribValue="",r.state=v.ATTRIB_NAME):k(r,"Invalid attribute name");continue;case v.ATTRIB_VALUE_UNQUOTED:if(!y(o)){"&"===o?r.state=v.ATTRIB_VALUE_ENTITY_U:r.attribValue+=o;continue}I(r),">"===o?R(r):r.state=v.ATTRIB;continue;case v.CLOSE_TAG:if(r.tagName)">"===o?N(r):w(f,o)?r.tagName+=o:r.script?(r.script+="</"+r.tagName,r.tagName="",r.state=v.SCRIPT):(m(o)||k(r,"Invalid tagname in closing tag"),r.state=v.CLOSE_TAG_SAW_WHITE);else{if(m(o))continue;b(h,o)?r.script?(r.script+="</"+o,r.state=v.SCRIPT):k(r,"Invalid tagname in closing tag."):r.tagName=o}continue;case v.CLOSE_TAG_SAW_WHITE:if(m(o))continue;">"===o?N(r):k(r,"Invalid characters in closing tag");continue;case v.TEXT_ENTITY:case v.ATTRIB_VALUE_ENTITY_Q:case v.ATTRIB_VALUE_ENTITY_U:var u,E;switch(r.state){case v.TEXT_ENTITY:u=v.TEXT,E="textNode";break;case v.ATTRIB_VALUE_ENTITY_Q:u=v.ATTRIB_VALUE_QUOTED,E="attribValue";break;case v.ATTRIB_VALUE_ENTITY_U:u=v.ATTRIB_VALUE_UNQUOTED,E="attribValue"}";"===o?(r[E]+=O(r),r.entity="",r.state=u):w(r.entity.length?p:d,o)?r.entity+=o:(k(r,"Invalid character in entity name"),r[E]+="&"+r.entity+o,r.entity="",r.state=u);continue;default:throw new Error(r,"Unknown state: "+r.state)}return r.position>=r.bufferCheckPosition&&function(e){for(var r=Math.max(t.MAX_BUFFER_LENGTH,10),i=0,o=0,a=n.length;o<a;o++){var s=e[n[o]].length;if(s>r)switch(n[o]){case"textNode":M(e);break;case"cdata":A(e,"oncdata",e.cdata),e.cdata="";break;case"script":A(e,"onscript",e.script),e.script="";break;default:x(e,"Max buffer length exceeded: "+n[o])}i=Math.max(i,s)}var l=t.MAX_BUFFER_LENGTH-i;e.bufferCheckPosition=l+e.position}(r),r},resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){var t;M(t=this),""!==t.cdata&&(A(t,"oncdata",t.cdata),t.cdata=""),""!==t.script&&(A(t,"onscript",t.script),t.script="")}};try{e=Yc.Stream}catch(t){e=function(){}}var i=t.EVENTS.filter((function(t){return"error"!==t&&"end"!==t}));function o(t,n){if(!(this instanceof o))return new o(t,n);e.apply(this),this._parser=new r(t,n),this.writable=!0,this.readable=!0;var a=this;this._parser.onend=function(){a.emit("end")},this._parser.onerror=function(t){a.emit("error",t),a._parser.error=null},this._decoder=null,i.forEach((function(t){Object.defineProperty(a,"on"+t,{get:function(){return a._parser["on"+t]},set:function(e){if(!e)return a.removeAllListeners(t),a._parser["on"+t]=e,e;a.on(t,e)},enumerable:!0,configurable:!1})}))}o.prototype=Object.create(e.prototype,{constructor:{value:o}}),o.prototype.write=function(t){if("function"==typeof Ua&&"function"==typeof Ua.isBuffer&&Ua.isBuffer(t)){if(!this._decoder){var e=zc().StringDecoder;this._decoder=new e("utf8")}t=this._decoder.write(t)}return this._parser.write(t.toString()),this.emit("data",t),!0},o.prototype.end=function(t){return t&&t.length&&this.write(t),this._parser.end(),!0},o.prototype.on=function(t,n){var r=this;return r._parser["on"+t]||-1===i.indexOf(t)||(r._parser["on"+t]=function(){var e=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);e.splice(0,0,t),r.emit.apply(r,e)}),e.prototype.on.call(r,t,n)};var a="[CDATA[",s="DOCTYPE",l="http://www.w3.org/XML/1998/namespace",c="http://www.w3.org/2000/xmlns/",u={xml:l,xmlns:c},h=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,f=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,d=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,p=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function m(t){return" "===t||"\n"===t||"\r"===t||"\t"===t}function g(t){return'"'===t||"'"===t}function y(t){return">"===t||m(t)}function w(t,e){return t.test(e)}function b(t,e){return!w(t,e)}var v=0;for(var E in t.STATE={BEGIN:v++,BEGIN_WHITESPACE:v++,TEXT:v++,TEXT_ENTITY:v++,OPEN_WAKA:v++,SGML_DECL:v++,SGML_DECL_QUOTED:v++,DOCTYPE:v++,DOCTYPE_QUOTED:v++,DOCTYPE_DTD:v++,DOCTYPE_DTD_QUOTED:v++,COMMENT_STARTING:v++,COMMENT:v++,COMMENT_ENDING:v++,COMMENT_ENDED:v++,CDATA:v++,CDATA_ENDING:v++,CDATA_ENDING_2:v++,PROC_INST:v++,PROC_INST_BODY:v++,PROC_INST_ENDING:v++,OPEN_TAG:v++,OPEN_TAG_SLASH:v++,ATTRIB:v++,ATTRIB_NAME:v++,ATTRIB_NAME_SAW_WHITE:v++,ATTRIB_VALUE:v++,ATTRIB_VALUE_QUOTED:v++,ATTRIB_VALUE_CLOSED:v++,ATTRIB_VALUE_UNQUOTED:v++,ATTRIB_VALUE_ENTITY_Q:v++,ATTRIB_VALUE_ENTITY_U:v++,CLOSE_TAG:v++,CLOSE_TAG_SAW_WHITE:v++,SCRIPT:v++,SCRIPT_ENDING:v++},t.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},t.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(t.ENTITIES).forEach((function(e){var n=t.ENTITIES[e],r="number"==typeof n?String.fromCharCode(n):n;t.ENTITIES[e]=r})),t.STATE)t.STATE[t.STATE[E]]=E;function _(t,e,n){t[e]&&t[e](n)}function A(t,e,n){t.textNode&&M(t),_(t,e,n)}function M(t){t.textNode=T(t.opt,t.textNode),t.textNode&&_(t,"ontext",t.textNode),t.textNode=""}function T(t,e){return t.trim&&(e=e.trim()),t.normalize&&(e=e.replace(/\s+/g," ")),e}function x(t,e){return M(t),t.trackPosition&&(e+="\nLine: "+t.line+"\nColumn: "+t.column+"\nChar: "+t.c),e=new Error(e),t.error=e,_(t,"onerror",e),t}function S(t){return t.sawRoot&&!t.closedRoot&&k(t,"Unclosed root tag"),t.state!==v.BEGIN&&t.state!==v.BEGIN_WHITESPACE&&t.state!==v.TEXT&&x(t,"Unexpected end"),M(t),t.c="",t.closed=!0,_(t,"onend"),r.call(t,t.strict,t.opt),t}function k(t,e){if("object"!=typeof t||!(t instanceof r))throw new Error("bad call to strictFail");t.strict&&x(t,e)}function C(t){t.strict||(t.tagName=t.tagName[t.looseCase]());var e=t.tags[t.tags.length-1]||t,n=t.tag={name:t.tagName,attributes:{}};t.opt.xmlns&&(n.ns=e.ns),t.attribList.length=0,A(t,"onopentagstart",n)}function D(t,e){var n=t.indexOf(":")<0?["",t]:t.split(":"),r=n[0],i=n[1];return e&&"xmlns"===t&&(r="xmlns",i=""),{prefix:r,local:i}}function I(t){if(t.strict||(t.attribName=t.attribName[t.looseCase]()),-1!==t.attribList.indexOf(t.attribName)||t.tag.attributes.hasOwnProperty(t.attribName))t.attribName=t.attribValue="";else{if(t.opt.xmlns){var e=D(t.attribName,!0),n=e.prefix,r=e.local;if("xmlns"===n)if("xml"===r&&t.attribValue!==l)k(t,"xml: prefix must be bound to "+l+"\nActual: "+t.attribValue);else if("xmlns"===r&&t.attribValue!==c)k(t,"xmlns: prefix must be bound to "+c+"\nActual: "+t.attribValue);else{var i=t.tag,o=t.tags[t.tags.length-1]||t;i.ns===o.ns&&(i.ns=Object.create(o.ns)),i.ns[r]=t.attribValue}t.attribList.push([t.attribName,t.attribValue])}else t.tag.attributes[t.attribName]=t.attribValue,A(t,"onattribute",{name:t.attribName,value:t.attribValue});t.attribName=t.attribValue=""}}function R(t,e){if(t.opt.xmlns){var n=t.tag,r=D(t.tagName);n.prefix=r.prefix,n.local=r.local,n.uri=n.ns[r.prefix]||"",n.prefix&&!n.uri&&(k(t,"Unbound namespace prefix: "+JSON.stringify(t.tagName)),n.uri=r.prefix);var i=t.tags[t.tags.length-1]||t;n.ns&&i.ns!==n.ns&&Object.keys(n.ns).forEach((function(e){A(t,"onopennamespace",{prefix:e,uri:n.ns[e]})}));for(var o=0,a=t.attribList.length;o<a;o++){var s=t.attribList[o],l=s[0],c=s[1],u=D(l,!0),h=u.prefix,f=u.local,d=""===h?"":n.ns[h]||"",p={name:l,value:c,prefix:h,local:f,uri:d};h&&"xmlns"!==h&&!d&&(k(t,"Unbound namespace prefix: "+JSON.stringify(h)),p.uri=h),t.tag.attributes[l]=p,A(t,"onattribute",p)}t.attribList.length=0}t.tag.isSelfClosing=!!e,t.sawRoot=!0,t.tags.push(t.tag),A(t,"onopentag",t.tag),e||(t.noscript||"script"!==t.tagName.toLowerCase()?t.state=v.TEXT:t.state=v.SCRIPT,t.tag=null,t.tagName=""),t.attribName=t.attribValue="",t.attribList.length=0}function N(t){if(!t.tagName)return k(t,"Weird empty close tag."),t.textNode+="</>",void(t.state=v.TEXT);if(t.script){if("script"!==t.tagName)return t.script+="</"+t.tagName+">",t.tagName="",void(t.state=v.SCRIPT);A(t,"onscript",t.script),t.script=""}var e=t.tags.length,n=t.tagName;t.strict||(n=n[t.looseCase]());for(var r=n;e--&&t.tags[e].name!==r;)k(t,"Unexpected close tag");if(e<0)return k(t,"Unmatched closing tag: "+t.tagName),t.textNode+="</"+t.tagName+">",void(t.state=v.TEXT);t.tagName=n;for(var i=t.tags.length;i-- >e;){var o=t.tag=t.tags.pop();t.tagName=t.tag.name,A(t,"onclosetag",t.tagName);var a={};for(var s in o.ns)a[s]=o.ns[s];var l=t.tags[t.tags.length-1]||t;t.opt.xmlns&&o.ns!==l.ns&&Object.keys(o.ns).forEach((function(e){var n=o.ns[e];A(t,"onclosenamespace",{prefix:e,uri:n})}))}0===e&&(t.closedRoot=!0),t.tagName=t.attribValue=t.attribName="",t.attribList.length=0,t.state=v.TEXT}function O(t){var e,n=t.entity,r=n.toLowerCase(),i="";return t.ENTITIES[n]?t.ENTITIES[n]:t.ENTITIES[r]?t.ENTITIES[r]:("#"===(n=r).charAt(0)&&("x"===n.charAt(1)?(n=n.slice(2),i=(e=parseInt(n,16)).toString(16)):(n=n.slice(1),i=(e=parseInt(n,10)).toString(10))),n=n.replace(/^0+/,""),isNaN(e)||i.toLowerCase()!==n?(k(t,"Invalid character entity"),"&"+t.entity+";"):String.fromCodePoint(e))}function L(t,e){"<"===e?(t.state=v.OPEN_WAKA,t.startTagPosition=t.position):m(e)||(k(t,"Non-whitespace before first tag."),t.textNode=e,t.state=v.TEXT)}function P(t,e){var n="";return e<t.length&&(n=t.charAt(e)),n}v=t.STATE,String.fromCodePoint||function(){var t=String.fromCharCode,e=Math.floor,n=function(){var n,r,i=[],o=-1,a=arguments.length;if(!a)return"";for(var s="";++o<a;){var l=Number(arguments[o]);if(!isFinite(l)||l<0||l>1114111||e(l)!==l)throw RangeError("Invalid code point: "+l);l<=65535?i.push(l):(n=55296+((l-=65536)>>10),r=l%1024+56320,i.push(n,r)),(o+1===a||i.length>16384)&&(s+=t.apply(null,i),i.length=0)}return s};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:n,configurable:!0,writable:!0}):String.fromCodePoint=n}()}(t)}(ss);var Zc,$c,Qc=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)},Jc=Qc,tu={copyOptions:function(t){var e,n={};for(e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n},ensureFlagExists:function(t,e){t in e&&"boolean"==typeof e[t]||(e[t]=!1)},ensureSpacesExists:function(t){(!("spaces"in t)||"number"!=typeof t.spaces&&"string"!=typeof t.spaces)&&(t.spaces=0)},ensureAlwaysArrayExists:function(t){"alwaysArray"in t&&("boolean"==typeof t.alwaysArray||Jc(t.alwaysArray))||(t.alwaysArray=!1)},ensureKeyExists:function(t,e){t+"Key"in e&&"string"==typeof e[t+"Key"]||(e[t+"Key"]=e.compact?"_"+t:t)},checkFnExists:function(t,e){return t+"Fn"in e}},eu=ss,nu=tu,ru=Qc;function iu(t){var e=Number(t);if(!isNaN(e))return e;var n=t.toLowerCase();return"true"===n||"false"!==n&&t}function ou(t,e){var n;if(Zc.compact){if(!$c[Zc[t+"Key"]]&&(ru(Zc.alwaysArray)?-1!==Zc.alwaysArray.indexOf(Zc[t+"Key"]):Zc.alwaysArray)&&($c[Zc[t+"Key"]]=[]),$c[Zc[t+"Key"]]&&!ru($c[Zc[t+"Key"]])&&($c[Zc[t+"Key"]]=[$c[Zc[t+"Key"]]]),t+"Fn"in Zc&&"string"==typeof e&&(e=Zc[t+"Fn"](e,$c)),"instruction"===t&&("instructionFn"in Zc||"instructionNameFn"in Zc))for(n in e)if(e.hasOwnProperty(n))if("instructionFn"in Zc)e[n]=Zc.instructionFn(e[n],n,$c);else{var r=e[n];delete e[n],e[Zc.instructionNameFn(n,r,$c)]=r}ru($c[Zc[t+"Key"]])?$c[Zc[t+"Key"]].push(e):$c[Zc[t+"Key"]]=e}else{$c[Zc.elementsKey]||($c[Zc.elementsKey]=[]);var i={};if(i[Zc.typeKey]=t,"instruction"===t){for(n in e)if(e.hasOwnProperty(n))break;i[Zc.nameKey]="instructionNameFn"in Zc?Zc.instructionNameFn(n,e,$c):n,Zc.instructionHasAttributes?(i[Zc.attributesKey]=e[n][Zc.attributesKey],"instructionFn"in Zc&&(i[Zc.attributesKey]=Zc.instructionFn(i[Zc.attributesKey],n,$c))):("instructionFn"in Zc&&(e[n]=Zc.instructionFn(e[n],n,$c)),i[Zc.instructionKey]=e[n])}else t+"Fn"in Zc&&(e=Zc[t+"Fn"](e,$c)),i[Zc[t+"Key"]]=e;Zc.addParent&&(i[Zc.parentKey]=$c),$c[Zc.elementsKey].push(i)}}function au(t){var e;if("attributesFn"in Zc&&t&&(t=Zc.attributesFn(t,$c)),(Zc.trim||"attributeValueFn"in Zc||"attributeNameFn"in Zc||Zc.nativeTypeAttributes)&&t)for(e in t)if(t.hasOwnProperty(e)&&(Zc.trim&&(t[e]=t[e].trim()),Zc.nativeTypeAttributes&&(t[e]=iu(t[e])),"attributeValueFn"in Zc&&(t[e]=Zc.attributeValueFn(t[e],e,$c)),"attributeNameFn"in Zc)){var n=t[e];delete t[e],t[Zc.attributeNameFn(e,t[e],$c)]=n}return t}function su(t){var e={};if(t.body&&("xml"===t.name.toLowerCase()||Zc.instructionHasAttributes)){for(var n,r=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g;null!==(n=r.exec(t.body));)e[n[1]]=n[2]||n[3]||n[4];e=au(e)}if("xml"===t.name.toLowerCase()){if(Zc.ignoreDeclaration)return;$c[Zc.declarationKey]={},Object.keys(e).length&&($c[Zc.declarationKey][Zc.attributesKey]=e),Zc.addParent&&($c[Zc.declarationKey][Zc.parentKey]=$c)}else{if(Zc.ignoreInstruction)return;Zc.trim&&(t.body=t.body.trim());var i={};Zc.instructionHasAttributes&&Object.keys(e).length?(i[t.name]={},i[t.name][Zc.attributesKey]=e):i[t.name]=t.body,ou("instruction",i)}}function lu(t,e){var n;if("object"==typeof t&&(e=t.attributes,t=t.name),e=au(e),"elementNameFn"in Zc&&(t=Zc.elementNameFn(t,$c)),Zc.compact){var r;if(n={},!Zc.ignoreAttributes&&e&&Object.keys(e).length)for(r in n[Zc.attributesKey]={},e)e.hasOwnProperty(r)&&(n[Zc.attributesKey][r]=e[r]);!(t in $c)&&(ru(Zc.alwaysArray)?-1!==Zc.alwaysArray.indexOf(t):Zc.alwaysArray)&&($c[t]=[]),$c[t]&&!ru($c[t])&&($c[t]=[$c[t]]),ru($c[t])?$c[t].push(n):$c[t]=n}else $c[Zc.elementsKey]||($c[Zc.elementsKey]=[]),(n={})[Zc.typeKey]="element",n[Zc.nameKey]=t,!Zc.ignoreAttributes&&e&&Object.keys(e).length&&(n[Zc.attributesKey]=e),Zc.alwaysChildren&&(n[Zc.elementsKey]=[]),$c[Zc.elementsKey].push(n);n[Zc.parentKey]=$c,$c=n}function cu(t){Zc.ignoreText||(t.trim()||Zc.captureSpacesBetweenElements)&&(Zc.trim&&(t=t.trim()),Zc.nativeType&&(t=iu(t)),Zc.sanitize&&(t=t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")),ou("text",t))}function uu(t){Zc.ignoreComment||(Zc.trim&&(t=t.trim()),ou("comment",t))}function hu(t){var e=$c[Zc.parentKey];Zc.addParent||delete $c[Zc.parentKey],$c=e}function fu(t){Zc.ignoreCdata||(Zc.trim&&(t=t.trim()),ou("cdata",t))}function du(t){Zc.ignoreDoctype||(t=t.replace(/^ /,""),Zc.trim&&(t=t.trim()),ou("doctype",t))}function pu(t){t.note=t}var mu=function(t,e){var n=eu.parser(!0,{}),r={};if($c=r,Zc=function(t){return Zc=nu.copyOptions(t),nu.ensureFlagExists("ignoreDeclaration",Zc),nu.ensureFlagExists("ignoreInstruction",Zc),nu.ensureFlagExists("ignoreAttributes",Zc),nu.ensureFlagExists("ignoreText",Zc),nu.ensureFlagExists("ignoreComment",Zc),nu.ensureFlagExists("ignoreCdata",Zc),nu.ensureFlagExists("ignoreDoctype",Zc),nu.ensureFlagExists("compact",Zc),nu.ensureFlagExists("alwaysChildren",Zc),nu.ensureFlagExists("addParent",Zc),nu.ensureFlagExists("trim",Zc),nu.ensureFlagExists("nativeType",Zc),nu.ensureFlagExists("nativeTypeAttributes",Zc),nu.ensureFlagExists("sanitize",Zc),nu.ensureFlagExists("instructionHasAttributes",Zc),nu.ensureFlagExists("captureSpacesBetweenElements",Zc),nu.ensureAlwaysArrayExists(Zc),nu.ensureKeyExists("declaration",Zc),nu.ensureKeyExists("instruction",Zc),nu.ensureKeyExists("attributes",Zc),nu.ensureKeyExists("text",Zc),nu.ensureKeyExists("comment",Zc),nu.ensureKeyExists("cdata",Zc),nu.ensureKeyExists("doctype",Zc),nu.ensureKeyExists("type",Zc),nu.ensureKeyExists("name",Zc),nu.ensureKeyExists("elements",Zc),nu.ensureKeyExists("parent",Zc),nu.checkFnExists("doctype",Zc),nu.checkFnExists("instruction",Zc),nu.checkFnExists("cdata",Zc),nu.checkFnExists("comment",Zc),nu.checkFnExists("text",Zc),nu.checkFnExists("instructionName",Zc),nu.checkFnExists("elementName",Zc),nu.checkFnExists("attributeName",Zc),nu.checkFnExists("attributeValue",Zc),nu.checkFnExists("attributes",Zc),Zc}(e),n.opt={strictEntities:!0},n.onopentag=lu,n.ontext=cu,n.oncomment=uu,n.onclosetag=hu,n.onerror=pu,n.oncdata=fu,n.ondoctype=du,n.onprocessinginstruction=su,n.write(t).close(),r[Zc.elementsKey]){var i=r[Zc.elementsKey];delete r[Zc.elementsKey],r[Zc.elementsKey]=i,delete r.text}return r};var gu=mu;const yu=t=>{switch(t.type){case void 0:case"element":const e=new bu(t.name,t.attributes),n=t.elements||[];for(const t of n){const n=yu(t);void 0!==n&&e.push(n)}return e;case"text":return t.text;default:return}};class wu extends es{}class bu extends Ja{static fromXmlString(t){const e=gu(t,{compact:!1});return yu(e)}constructor(t,e){super(t),e&&this.root.push(new wu(e))}push(t){this.root.push(t)}}class vu extends Ja{constructor(t){super(""),this._attr=t}prepForXml(t){return{_attr:this._attr}}}class Eu extends Ja{constructor(t,e){super(t),e&&(this.root=e.root)}}const _u=t=>{if(isNaN(t))throw new Error(`Invalid value '${t}' specified. Must be an integer.`);return Math.floor(t)},Au=t=>{const e=_u(t);if(e<0)throw new Error(`Invalid value '${t}' specified. Must be a positive integer.`);return e},Mu=(t,e)=>{const n=2*e;if(t.length!==n||isNaN(Number(`0x${t}`)))throw new Error(`Invalid hex value '${t}'. Expected ${n} digit hex value`);return t},Tu=t=>Mu(t,1),xu=t=>{const e=t.slice(-2),n=t.substring(0,t.length-2);return`${Number(n)}${e}`},Su=t=>{const e=xu(t);if(parseFloat(e)<0)throw new Error(`Invalid value '${e}' specified. Expected a positive number.`);return e},ku=t=>{if("auto"===t)return t;const e="#"===t.charAt(0)?t.substring(1):t;return Mu(e,3)},Cu=t=>"string"==typeof t?xu(t):_u(t),Du=t=>"string"==typeof t?Su(t):Au(t),Iu=t=>"string"==typeof t?Su(t):Au(t),Ru=Au,Nu=Au;class Ou extends Ja{constructor(t,e=!0){super(t),!0!==e&&this.root.push(new rs({val:e}))}}class Lu extends Ja{constructor(t,e){super(t),this.root.push(new rs({val:Du(e)}))}}class Pu extends Ja{constructor(t,e){super(t),this.root.push(new rs({val:e}))}}const Fu=(t,e)=>new Hu({name:t,attributes:{value:{key:"w:val",value:e}}});class Bu extends Ja{constructor(t,e){super(t),this.root.push(new rs({val:e}))}}class Uu extends Ja{constructor(t,e){super(t),this.root.push(new rs({val:e}))}}class ju extends Ja{constructor(t,e){super(t),this.root.push(e)}}class Hu extends Ja{constructor({name:t,attributes:e,children:n}){super(t),e&&this.root.push(new ns(e)),n&&this.root.push(...n)}}const zu="start",qu="left";class Wu extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{val:"w:val"})}}class Gu extends Ja{constructor(t){super("w:jc"),this.root.push(new Wu({val:t}))}}class Ku extends Ja{constructor(t,{color:e,size:n,space:r,style:i}){super(t),this.root.push(new Yu({style:i,color:void 0===e?void 0:ku(e),size:void 0===n?void 0:Ru(n),space:void 0===r?void 0:Nu(r)}))}}class Yu extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{style:"w:val",color:"w:color",size:"w:sz",space:"w:space"})}}const Vu="single";class Xu extends ts{constructor(t){super("w:pBdr"),t.top&&this.root.push(new Ku("w:top",t.top)),t.bottom&&this.root.push(new Ku("w:bottom",t.bottom)),t.left&&this.root.push(new Ku("w:left",t.left)),t.right&&this.root.push(new Ku("w:right",t.right))}}class Zu extends Ja{constructor(){super("w:pBdr");const t=new Ku("w:bottom",{color:"auto",space:1,style:Vu,size:6});this.root.push(t)}}class $u extends Ja{constructor({start:t,end:e,left:n,right:r,hanging:i,firstLine:o}){super("w:ind"),this.root.push(new ns({start:{key:"w:start",value:void 0===t?void 0:Cu(t)},end:{key:"w:end",value:void 0===e?void 0:Cu(e)},left:{key:"w:left",value:void 0===n?void 0:Cu(n)},right:{key:"w:right",value:void 0===r?void 0:Cu(r)},hanging:{key:"w:hanging",value:void 0===i?void 0:Iu(i)},firstLine:{key:"w:firstLine",value:void 0===o?void 0:Iu(o)}}))}}let Qu=class extends Ja{constructor(){super("w:br")}};class Ju extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{type:"w:fldCharType",dirty:"w:dirty"})}}class th extends Ja{constructor(t){super("w:fldChar"),this.root.push(new Ju({type:"begin",dirty:t}))}}class eh extends Ja{constructor(t){super("w:fldChar"),this.root.push(new Ju({type:"separate",dirty:t}))}}class nh extends Ja{constructor(t){super("w:fldChar"),this.root.push(new Ju({type:"end",dirty:t}))}}const rh="preserve";class ih extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{space:"xml:space"})}}class oh extends Ja{constructor(){super("w:instrText"),this.root.push(new ih({space:rh})),this.root.push("PAGE")}}class ah extends Ja{constructor(){super("w:instrText"),this.root.push(new ih({space:rh})),this.root.push("NUMPAGES")}}class sh extends Ja{constructor(){super("w:instrText"),this.root.push(new ih({space:rh})),this.root.push("SECTIONPAGES")}}class lh extends Ja{constructor(){super("w:instrText"),this.root.push(new ih({space:rh})),this.root.push("SECTION")}}class ch extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{fill:"w:fill",color:"w:color",type:"w:val"})}}class uh extends Ja{constructor({fill:t,color:e,type:n}){super("w:shd"),this.root.push(new ch({fill:void 0===t?void 0:ku(t),color:void 0===e?void 0:ku(e),type:n}))}}class hh extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{id:"w:id",author:"w:author",date:"w:date"})}}class fh extends Ja{constructor(t){super("w:em"),this.root.push(new rs({val:t}))}}class dh extends fh{constructor(t="dot"){super(t)}}class ph extends Ja{constructor(t){super("w:spacing"),this.root.push(new rs({val:Cu(t)}))}}class mh extends Ja{constructor(t){super("w:color"),this.root.push(new rs({val:ku(t)}))}}class gh extends Ja{constructor(t){super("w:highlight"),this.root.push(new rs({val:t}))}}class yh extends Ja{constructor(t){super("w:highlightCs"),this.root.push(new rs({val:t}))}}class wh extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{ascii:"w:ascii",cs:"w:cs",eastAsia:"w:eastAsia",hAnsi:"w:hAnsi",hint:"w:hint"})}}class bh extends Ja{constructor(t,e){if(super("w:rFonts"),"string"==typeof t){const n=t;this.root.push(new wh({ascii:n,cs:n,eastAsia:n,hAnsi:n,hint:e}))}else{const e=t;this.root.push(new wh(e))}}}let vh=class extends Ja{constructor(t){super("w:vertAlign"),this.root.push(new rs({val:t}))}};class Eh extends vh{constructor(){super("superscript")}}class _h extends vh{constructor(){super("subscript")}}const Ah="single";class Mh extends Ja{constructor(t=Ah,e){super("w:u"),this.root.push(new rs({val:t,color:void 0===e?void 0:ku(e)}))}}class Th extends ts{constructor(t){var e,n;if(super("w:rPr"),!t)return;void 0!==t.noProof&&this.push(new Ou("w:noProof",t.noProof)),void 0!==t.bold&&this.push(new Ou("w:b",t.bold)),(void 0===t.boldComplexScript&&void 0!==t.bold||t.boldComplexScript)&&this.push(new Ou("w:bCs",null!=(e=t.boldComplexScript)?e:t.bold)),void 0!==t.italics&&this.push(new Ou("w:i",t.italics)),(void 0===t.italicsComplexScript&&void 0!==t.italics||t.italicsComplexScript)&&this.push(new Ou("w:iCs",null!=(n=t.italicsComplexScript)?n:t.italics)),t.underline&&this.push(new Mh(t.underline.type,t.underline.color)),t.effect&&this.push(new Pu("w:effect",t.effect)),t.emphasisMark&&this.push(new dh(t.emphasisMark.type)),t.color&&this.push(new mh(t.color)),t.kern&&this.push(new Lu("w:kern",t.kern)),t.position&&this.push(new Pu("w:position",t.position)),void 0!==t.size&&this.push(new Lu("w:sz",t.size));const r=void 0===t.sizeComplexScript||!0===t.sizeComplexScript?t.size:t.sizeComplexScript;r&&this.push(new Lu("w:szCs",r)),void 0!==t.rightToLeft&&this.push(new Ou("w:rtl",t.rightToLeft)),void 0!==t.smallCaps?this.push(new Ou("w:smallCaps",t.smallCaps)):void 0!==t.allCaps&&this.push(new Ou("w:caps",t.allCaps)),void 0!==t.strike&&this.push(new Ou("w:strike",t.strike)),void 0!==t.doubleStrike&&this.push(new Ou("w:dstrike",t.doubleStrike)),t.subScript&&this.push(new _h),t.superScript&&this.push(new Eh),t.style&&this.push(new Pu("w:rStyle",t.style)),t.font&&("string"==typeof t.font?this.push(new bh(t.font)):"name"in t.font?this.push(new bh(t.font.name,t.font.hint)):this.push(new bh(t.font))),t.highlight&&this.push(new gh(t.highlight));const i=void 0===t.highlightComplexScript||!0===t.highlightComplexScript?t.highlight:t.highlightComplexScript;i&&this.push(new yh(i)),t.characterSpacing&&this.push(new ph(t.characterSpacing)),void 0!==t.emboss&&this.push(new Ou("w:emboss",t.emboss)),void 0!==t.imprint&&this.push(new Ou("w:imprint",t.imprint)),t.shading&&this.push(new uh(t.shading)),t.revision&&this.push(new xh(t.revision)),t.border&&this.push(new Ku("w:bdr",t.border)),void 0!==t.snapToGrid&&this.push(new Ou("w:snapToGrid",t.snapToGrid)),t.vanish&&this.push(new Ou("w:vanish",t.vanish)),t.specVanish&&this.push(new Ou("w:specVanish",t.vanish)),void 0!==t.scale&&this.push(new Bu("w:w",t.scale)),t.language&&this.push((t=>new Hu({name:"w:lang",attributes:{value:{key:"w:val",value:t.value},eastAsia:{key:"w:eastAsia",value:t.eastAsia},bidirectional:{key:"w:bidi",value:t.bidirectional}}}))(t.language)),t.math&&this.push(new Ou("w:oMath",t.math))}push(t){this.root.push(t)}}class xh extends Ja{constructor(t){super("w:rPrChange"),this.root.push(new hh({id:t.id,author:t.author,date:t.date})),this.addChildElement(new Th(t))}}class Sh extends Ja{constructor(t){var e;return super("w:t"),"string"==typeof t?(this.root.push(new ih({space:rh})),this.root.push(t),this):(this.root.push(new ih({space:null!=(e=t.space)?e:"default"})),this.root.push(t.text),this)}}class kh extends Ja{constructor(t){if(super("w:r"),Xa(this,"properties"),this.properties=new Th(t),this.root.push(this.properties),t.break)for(let e=0;e<t.break;e++)this.root.push(new Qu);if(t.children)for(const e of t.children)if("string"!=typeof e)this.root.push(e);else switch(e){case"CURRENT":this.root.push(new th),this.root.push(new oh),this.root.push(new eh),this.root.push(new nh);break;case"TOTAL_PAGES":this.root.push(new th),this.root.push(new ah),this.root.push(new eh),this.root.push(new nh);break;case"TOTAL_PAGES_IN_SECTION":this.root.push(new th),this.root.push(new sh),this.root.push(new eh),this.root.push(new nh);break;case"SECTION":this.root.push(new th),this.root.push(new lh),this.root.push(new eh),this.root.push(new nh);break;default:this.root.push(new Sh(e))}else t.text&&this.root.push(new Sh(t.text))}}class Ch extends kh{constructor(t){if("string"==typeof t)return super({}),this.root.push(new Sh(t)),this;super(t)}}const Dh=t=>Math.floor(t/25.4*72*20),Ih=t=>Math.floor(72*t*20),Rh=(t=0)=>{let e=t;return()=>++e},Nh=()=>((t=21)=>{let e="",n=t;for(;n--;)e+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return e})().toLowerCase(),Oh=t=>((t,e=21)=>(n=e)=>{let r="",i=n;for(;i--;)r+=t[Math.random()*t.length|0];return r})("1234567890abcdef",t)();class Lh extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{x:"x",y:"y"})}}class Ph extends Ja{constructor(){super("wp:simplePos"),this.root.push(new Lh({x:0,y:0}))}}class Fh extends Ja{constructor(t){super("wp:align"),this.root.push(t)}}class Bh extends Ja{constructor(t){super("wp:posOffset"),this.root.push(t.toString())}}class Uh extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{relativeFrom:"relativeFrom"})}}class jh extends Ja{constructor(t){if(super("wp:positionH"),this.root.push(new Uh({relativeFrom:t.relative||"page"})),t.align)this.root.push(new Fh(t.align));else{if(void 0===t.offset)throw new Error("There is no configuration provided for floating position (Align or offset)");this.root.push(new Bh(t.offset))}}}class Hh extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{relativeFrom:"relativeFrom"})}}class zh extends Ja{constructor(t){if(super("wp:positionV"),this.root.push(new Hh({relativeFrom:t.relative||"page"})),t.align)this.root.push(new Fh(t.align));else{if(void 0===t.offset)throw new Error("There is no configuration provided for floating position (Align or offset)");this.root.push(new Bh(t.offset))}}}class qh extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{uri:"uri"})}}class Wh extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{embed:"r:embed",cstate:"cstate"})}}class Gh extends Ja{constructor(t){super("a:blip"),this.root.push(new Wh({embed:`rId{${t.fileName}}`,cstate:"none"}))}}class Kh extends Ja{constructor(){super("a:srcRect")}}class Yh extends Ja{constructor(){super("a:fillRect")}}class Vh extends Ja{constructor(){super("a:stretch"),this.root.push(new Yh)}}class Xh extends Ja{constructor(t){super("pic:blipFill"),this.root.push(new Gh(t)),this.root.push(new Kh),this.root.push(new Vh)}}class Zh extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{noChangeAspect:"noChangeAspect",noChangeArrowheads:"noChangeArrowheads"})}}class $h extends Ja{constructor(){super("a:picLocks"),this.root.push(new Zh({noChangeAspect:1,noChangeArrowheads:1}))}}class Qh extends Ja{constructor(){super("pic:cNvPicPr"),this.root.push(new $h)}}const Jh=(t,e)=>new Hu({name:"a:hlinkClick",attributes:Va(Ya({},e?{xmlns:{key:"xmlns:a",value:"http://schemas.openxmlformats.org/drawingml/2006/main"}}:{}),{id:{key:"r:id",value:`rId${t}`}})});class tf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{id:"id",name:"name",descr:"descr"})}}class ef extends Ja{constructor(){super("pic:cNvPr"),this.root.push(new tf({id:0,name:"",descr:""}))}prepForXml(t){for(let e=t.stack.length-1;e>=0;e--){const n=t.stack[e];if(n instanceof sd){this.root.push(Jh(n.linkId,!1));break}}return super.prepForXml(t)}}class nf extends Ja{constructor(){super("pic:nvPicPr"),this.root.push(new ef),this.root.push(new Qh)}}class rf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{xmlns:"xmlns:pic"})}}class of extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{cx:"cx",cy:"cy"})}}class af extends Ja{constructor(t,e){super("a:ext"),Xa(this,"attributes"),this.attributes=new of({cx:t,cy:e}),this.root.push(this.attributes)}}class sf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{x:"x",y:"y"})}}class lf extends Ja{constructor(){super("a:off"),this.root.push(new sf({x:0,y:0}))}}class cf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{flipVertical:"flipV",flipHorizontal:"flipH",rotation:"rot"})}}class uf extends Ja{constructor(t){var e,n;super("a:xfrm"),Xa(this,"extents"),this.root.push(new cf({flipVertical:null==(e=t.flip)?void 0:e.vertical,flipHorizontal:null==(n=t.flip)?void 0:n.horizontal,rotation:t.rotation})),this.extents=new af(t.emus.x,t.emus.y),this.root.push(new lf),this.root.push(this.extents)}}const hf=()=>new Hu({name:"a:noFill"}),ff=t=>new Hu({name:"a:schemeClr",attributes:{value:{key:"val",value:t.value}}}),df=t=>new Hu({name:"a:srgbClr",attributes:{value:{key:"val",value:t.value}}}),pf=t=>new Hu({name:"a:solidFill",children:["rgb"===t.type?df(t):ff(t)]});class mf extends Ja{constructor(){super("a:avLst")}}class gf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{prst:"prst"})}}class yf extends Ja{constructor(){super("a:prstGeom"),this.root.push(new gf({prst:"rect"})),this.root.push(new mf)}}class wf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{bwMode:"bwMode"})}}class bf extends Ja{constructor({outline:t,transform:e}){var n;super("pic:spPr"),Xa(this,"form"),this.root.push(new wf({bwMode:"auto"})),this.form=new uf(e),this.root.push(this.form),this.root.push(new yf),t&&(this.root.push(hf()),this.root.push(new Hu({name:"a:ln",attributes:{width:{key:"w",value:(n=t).width},cap:{key:"cap",value:n.cap},compoundLine:{key:"cmpd",value:n.compoundLine},align:{key:"algn",value:n.align}},children:["noFill"===n.type?hf():"rgb"===n.solidFillType?pf({type:"rgb",value:n.value}):pf({type:"scheme",value:n.value})]})))}}class vf extends Ja{constructor({mediaData:t,transform:e,outline:n}){super("pic:pic"),this.root.push(new rf({xmlns:"http://schemas.openxmlformats.org/drawingml/2006/picture"})),this.root.push(new nf),this.root.push(new Xh(t)),this.root.push(new bf({transform:e,outline:n}))}}class Ef extends Ja{constructor({mediaData:t,transform:e,outline:n}){super("a:graphicData"),Xa(this,"pic"),this.root.push(new qh({uri:"http://schemas.openxmlformats.org/drawingml/2006/picture"})),this.pic=new vf({mediaData:t,transform:e,outline:n}),this.root.push(this.pic)}}class _f extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{a:"xmlns:a"})}}class Af extends Ja{constructor({mediaData:t,transform:e,outline:n}){super("a:graphic"),Xa(this,"data"),this.root.push(new _f({a:"http://schemas.openxmlformats.org/drawingml/2006/main"})),this.data=new Ef({mediaData:t,transform:e,outline:n}),this.root.push(this.data)}}class Mf extends Ja{constructor(){super("wp:wrapNone")}}class Tf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{distT:"distT",distB:"distB",distL:"distL",distR:"distR",wrapText:"wrapText"})}}class xf extends Ja{constructor(t,e={top:0,bottom:0,left:0,right:0}){super("wp:wrapSquare"),this.root.push(new Tf({wrapText:t.side||"bothSides",distT:e.top,distB:e.bottom,distL:e.left,distR:e.right}))}}class Sf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{distT:"distT",distB:"distB"})}}class kf extends Ja{constructor(t={top:0,bottom:0}){super("wp:wrapTight"),this.root.push(new Sf({distT:t.top,distB:t.bottom}))}}class Cf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{distT:"distT",distB:"distB"})}}class Df extends Ja{constructor(t={top:0,bottom:0}){super("wp:wrapTopAndBottom"),this.root.push(new Cf({distT:t.top,distB:t.bottom}))}}class If extends Ja{constructor({name:t,description:e,title:n}={name:"",description:"",title:""}){super("wp:docPr"),Xa(this,"docPropertiesUniqueNumericId",Rh()),this.root.push(new ns({id:{key:"id",value:this.docPropertiesUniqueNumericId()},name:{key:"name",value:t},description:{key:"descr",value:e},title:{key:"title",value:n}}))}prepForXml(t){for(let e=t.stack.length-1;e>=0;e--){const n=t.stack[e];if(n instanceof sd){this.root.push(Jh(n.linkId,!0));break}}return super.prepForXml(t)}}const Rf=({top:t,right:e,bottom:n,left:r})=>new Hu({name:"wp:effectExtent",attributes:{top:{key:"t",value:t},right:{key:"r",value:e},bottom:{key:"b",value:n},left:{key:"l",value:r}}});class Nf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{cx:"cx",cy:"cy"})}}class Of extends Ja{constructor(t,e){super("wp:extent"),Xa(this,"attributes"),this.attributes=new Nf({cx:t,cy:e}),this.root.push(this.attributes)}}class Lf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{xmlns:"xmlns:a",noChangeAspect:"noChangeAspect"})}}class Pf extends Ja{constructor(){super("a:graphicFrameLocks"),this.root.push(new Lf({xmlns:"http://schemas.openxmlformats.org/drawingml/2006/main",noChangeAspect:1}))}}class Ff extends Ja{constructor(){super("wp:cNvGraphicFramePr"),this.root.push(new Pf)}}class Bf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{distT:"distT",distB:"distB",distL:"distL",distR:"distR",allowOverlap:"allowOverlap",behindDoc:"behindDoc",layoutInCell:"layoutInCell",locked:"locked",relativeHeight:"relativeHeight",simplePos:"simplePos"})}}class Uf extends Ja{constructor({mediaData:t,transform:e,drawingOptions:n}){super("wp:anchor");const r=Ya({allowOverlap:!0,behindDocument:!1,lockAnchor:!1,layoutInCell:!0,verticalPosition:{},horizontalPosition:{}},n.floating);if(this.root.push(new Bf({distT:r.margins&&r.margins.top||0,distB:r.margins&&r.margins.bottom||0,distL:r.margins&&r.margins.left||0,distR:r.margins&&r.margins.right||0,simplePos:"0",allowOverlap:!0===r.allowOverlap?"1":"0",behindDoc:!0===r.behindDocument?"1":"0",locked:!0===r.lockAnchor?"1":"0",layoutInCell:!0===r.layoutInCell?"1":"0",relativeHeight:r.zIndex?r.zIndex:e.emus.y})),this.root.push(new Ph),this.root.push(new jh(r.horizontalPosition)),this.root.push(new zh(r.verticalPosition)),this.root.push(new Of(e.emus.x,e.emus.y)),this.root.push(Rf({top:0,right:0,bottom:0,left:0})),void 0!==n.floating&&void 0!==n.floating.wrap)switch(n.floating.wrap.type){case 1:this.root.push(new xf(n.floating.wrap,n.floating.margins));break;case 2:this.root.push(new kf(n.floating.margins));break;case 3:this.root.push(new Df(n.floating.margins));break;default:this.root.push(new Mf)}else this.root.push(new Mf);this.root.push(new If(n.docProperties)),this.root.push(new Ff),this.root.push(new Af({mediaData:t,transform:e,outline:n.outline}))}}class jf extends Ja{constructor(t,e={}){super("w:drawing"),e.floating?this.root.push(new Uf({mediaData:t,transform:t.transformation,drawingOptions:e})):this.root.push((({mediaData:t,transform:e,docProperties:n,outline:r})=>{var i,o,a,s;return new Hu({name:"wp:inline",attributes:{distanceTop:{key:"distT",value:0},distanceBottom:{key:"distB",value:0},distanceLeft:{key:"distL",value:0},distanceRight:{key:"distR",value:0}},children:[new Of(e.emus.x,e.emus.y),Rf(r?{top:2*(null!=(i=r.width)?i:9525),right:2*(null!=(o=r.width)?o:9525),bottom:2*(null!=(a=r.width)?a:9525),left:2*(null!=(s=r.width)?s:9525)}:{top:0,right:0,bottom:0,left:0}),new If(n),new Ff,new Af({mediaData:t,transform:e,outline:r})]})})({mediaData:t,transform:t.transformation,docProperties:e.docProperties,outline:e.outline}))}}class Hf extends kh{constructor(t){super({}),Xa(this,"key",`${Nh()}.png`),Xa(this,"imageData");const e="string"==typeof t.data?this.convertDataURIToBinary(t.data):t.data;this.imageData={stream:e,fileName:this.key,transformation:{pixels:{x:Math.round(t.transformation.width),y:Math.round(t.transformation.height)},emus:{x:Math.round(9525*t.transformation.width),y:Math.round(9525*t.transformation.height)},flip:t.transformation.flip,rotation:t.transformation.rotation?6e4*t.transformation.rotation:void 0}};const n=new jf(this.imageData,{floating:t.floating,docProperties:t.altText,outline:t.outline});this.root.push(n)}prepForXml(t){return t.file.Media.addImage(this.key,this.imageData),super.prepForXml(t)}convertDataURIToBinary(t){if("function"==typeof atob){const e=";base64,",n=t.indexOf(e),r=-1===n?0:n+e.length;return new Uint8Array(atob(t.substring(r)).split("").map((t=>t.charCodeAt(0))))}return new(require("buffer").Buffer)(t,"base64")}}class zf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{id:"w:id",initials:"w:initials",author:"w:author",date:"w:date"})}}class qf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{"xmlns:cx":"xmlns:cx","xmlns:cx1":"xmlns:cx1","xmlns:cx2":"xmlns:cx2","xmlns:cx3":"xmlns:cx3","xmlns:cx4":"xmlns:cx4","xmlns:cx5":"xmlns:cx5","xmlns:cx6":"xmlns:cx6","xmlns:cx7":"xmlns:cx7","xmlns:cx8":"xmlns:cx8","xmlns:mc":"xmlns:mc","xmlns:aink":"xmlns:aink","xmlns:am3d":"xmlns:am3d","xmlns:o":"xmlns:o","xmlns:r":"xmlns:r","xmlns:m":"xmlns:m","xmlns:v":"xmlns:v","xmlns:wp14":"xmlns:wp14","xmlns:wp":"xmlns:wp","xmlns:w10":"xmlns:w10","xmlns:w":"xmlns:w","xmlns:w14":"xmlns:w14","xmlns:w15":"xmlns:w15","xmlns:w16cex":"xmlns:w16cex","xmlns:w16cid":"xmlns:w16cid","xmlns:w16":"xmlns:w16","xmlns:w16sdtdh":"xmlns:w16sdtdh","xmlns:w16se":"xmlns:w16se","xmlns:wpg":"xmlns:wpg","xmlns:wpi":"xmlns:wpi","xmlns:wne":"xmlns:wne","xmlns:wps":"xmlns:wps"})}}class Wf extends Ja{constructor({id:t,initials:e,author:n,date:r=new Date,children:i}){super("w:comment"),this.root.push(new zf({id:t,initials:e,author:n,date:r.toISOString()}));for(const t of i)this.root.push(t)}}class Gf extends Ja{constructor({children:t}){super("w:comments"),this.root.push(new qf({"xmlns:cx":"http://schemas.microsoft.com/office/drawing/2014/chartex","xmlns:cx1":"http://schemas.microsoft.com/office/drawing/2015/9/8/chartex","xmlns:cx2":"http://schemas.microsoft.com/office/drawing/2015/10/21/chartex","xmlns:cx3":"http://schemas.microsoft.com/office/drawing/2016/5/9/chartex","xmlns:cx4":"http://schemas.microsoft.com/office/drawing/2016/5/10/chartex","xmlns:cx5":"http://schemas.microsoft.com/office/drawing/2016/5/11/chartex","xmlns:cx6":"http://schemas.microsoft.com/office/drawing/2016/5/12/chartex","xmlns:cx7":"http://schemas.microsoft.com/office/drawing/2016/5/13/chartex","xmlns:cx8":"http://schemas.microsoft.com/office/drawing/2016/5/14/chartex","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","xmlns:aink":"http://schemas.microsoft.com/office/drawing/2016/ink","xmlns:am3d":"http://schemas.microsoft.com/office/drawing/2017/model3d","xmlns:o":"urn:schemas-microsoft-com:office:office","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:m":"http://schemas.openxmlformats.org/officeDocument/2006/math","xmlns:v":"urn:schemas-microsoft-com:vml","xmlns:wp14":"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing","xmlns:wp":"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing","xmlns:w10":"urn:schemas-microsoft-com:office:word","xmlns:w":"http://schemas.openxmlformats.org/wordprocessingml/2006/main","xmlns:w14":"http://schemas.microsoft.com/office/word/2010/wordml","xmlns:w15":"http://schemas.microsoft.com/office/word/2012/wordml","xmlns:w16cex":"http://schemas.microsoft.com/office/word/2018/wordml/cex","xmlns:w16cid":"http://schemas.microsoft.com/office/word/2016/wordml/cid","xmlns:w16":"http://schemas.microsoft.com/office/word/2018/wordml","xmlns:w16sdtdh":"http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash","xmlns:w16se":"http://schemas.microsoft.com/office/word/2015/wordml/symex","xmlns:wpg":"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup","xmlns:wpi":"http://schemas.microsoft.com/office/word/2010/wordprocessingInk","xmlns:wne":"http://schemas.microsoft.com/office/word/2006/wordml","xmlns:wps":"http://schemas.microsoft.com/office/word/2010/wordprocessingShape"}));for(const e of t)this.root.push(new Wf(e))}}class Kf extends Ja{constructor(){super("w:pageBreakBefore")}}const Yf="auto";class Vf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{after:"w:after",before:"w:before",line:"w:line",lineRule:"w:lineRule"})}}class Xf extends Ja{constructor(t){super("w:spacing"),this.root.push(new Vf(t))}}let Zf=class extends Ja{constructor(t){super("w:pStyle"),this.root.push(new rs({val:t}))}};class $f extends Ja{constructor(t){super("w:tabs");for(const e of t)this.root.push(new Jf(e))}}class Qf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{val:"w:val",pos:"w:pos",leader:"w:leader"})}}class Jf extends Ja{constructor({type:t,position:e,leader:n}){super("w:tab"),this.root.push(new Qf({val:t,pos:e,leader:n}))}}class td extends Ja{constructor(t,e){super("w:numPr"),this.root.push(new ed(e)),this.root.push(new nd(t))}}class ed extends Ja{constructor(t){if(super("w:ilvl"),t>9)throw new Error("Level cannot be greater than 9. Read more here: https://answers.microsoft.com/en-us/msoffice/forum/all/does-word-support-more-than-9-list-levels/d130fdcd-1781-446d-8c84-c6c79124e4d7");this.root.push(new rs({val:t}))}}class nd extends Ja{constructor(t){super("w:numId"),this.root.push(new rs({val:"string"==typeof t?`{${t}}`:t}))}}class rd extends Ja{constructor(){super(...arguments),Xa(this,"fileChild",Symbol())}}class id extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{id:"Id",type:"Type",target:"Target",targetMode:"TargetMode"})}}class od extends Ja{constructor(t,e,n,r){super("Relationship"),this.root.push(new id({id:t,type:e,target:n,targetMode:r}))}}class ad extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{id:"r:id",history:"w:history",anchor:"w:anchor"})}}class sd extends Ja{constructor(t,e,n){super("w:hyperlink"),Xa(this,"linkId"),this.linkId=e;const r={history:1,anchor:n||void 0,id:n?void 0:`rId${this.linkId}`},i=new ad(r);this.root.push(i),t.forEach((t=>{this.root.push(t)}))}}class ld extends sd{constructor(t){super(t.children,Nh(),t.anchor)}}class cd extends Ja{constructor(t){super("w:externalHyperlink"),this.options=t}}class ud extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{id:"w:id",name:"w:name"})}}class hd extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{id:"w:id"})}}class fd{constructor(t){Xa(this,"bookmarkUniqueNumericId",Rh()),Xa(this,"start"),Xa(this,"children"),Xa(this,"end");const e=this.bookmarkUniqueNumericId();this.start=new dd(t.id,e),this.children=t.children,this.end=new pd(e)}}class dd extends Ja{constructor(t,e){super("w:bookmarkStart");const n=new ud({name:t,id:e});this.root.push(n)}}class pd extends Ja{constructor(t){super("w:bookmarkEnd");const e=new hd({id:t});this.root.push(e)}}class md extends Ja{constructor(t){super("w:outlineLvl"),this.level=t,this.root.push(new rs({val:t}))}}class gd extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{verticalAlign:"w:val"})}}class yd extends Ja{constructor(t){super("w:vAlign"),this.root.push(new gd({verticalAlign:t}))}}const wd="default";class bd extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{type:"w:type",id:"r:id"})}}class vd extends Ja{constructor(t,e){super(t),this.root.push(new bd({type:e.type||wd,id:`rId${e.id}`}))}}class Ed extends Ja{constructor({space:t,count:e,separate:n,equalWidth:r,children:i}){super("w:cols"),this.root.push(new ns({space:{key:"w:space",value:void 0===t?void 0:Iu(t)},count:{key:"w:num",value:void 0===e?void 0:_u(e)},separate:{key:"w:sep",value:n},equalWidth:{key:"w:equalWidth",value:r}})),!r&&i&&i.forEach((t=>this.addChildElement(t)))}}class _d extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{type:"w:type",linePitch:"w:linePitch",charSpace:"w:charSpace"})}}class Ad extends Ja{constructor(t,e,n){super("w:docGrid"),this.root.push(new _d({type:n,linePitch:_u(t),charSpace:e?_u(e):void 0}))}}class Md extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{display:"w:display",offsetFrom:"w:offsetFrom",zOrder:"w:zOrder"})}}class Td extends ts{constructor(t){if(super("w:pgBorders"),!t)return this;t.pageBorders?this.root.push(new Md({display:t.pageBorders.display,offsetFrom:t.pageBorders.offsetFrom,zOrder:t.pageBorders.zOrder})):this.root.push(new Md({})),t.pageBorderTop&&this.root.push(new Ku("w:top",t.pageBorderTop)),t.pageBorderLeft&&this.root.push(new Ku("w:left",t.pageBorderLeft)),t.pageBorderBottom&&this.root.push(new Ku("w:bottom",t.pageBorderBottom)),t.pageBorderRight&&this.root.push(new Ku("w:right",t.pageBorderRight))}}class xd extends Ja{constructor(t,e,n,r,i,o,a){super("w:pgMar"),this.root.push(new ns({top:{key:"w:top",value:Cu(t)},right:{key:"w:right",value:Iu(e)},bottom:{key:"w:bottom",value:Cu(n)},left:{key:"w:left",value:Iu(r)},header:{key:"w:header",value:Iu(i)},footer:{key:"w:footer",value:Iu(o)},gutter:{key:"w:gutter",value:Iu(a)}}))}}class Sd extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{start:"w:start",formatType:"w:fmt",separator:"w:chapSep"})}}class kd extends Ja{constructor({start:t,formatType:e,separator:n}){super("w:pgNumType"),this.root.push(new Sd({start:void 0===t?void 0:_u(t),formatType:e,separator:n}))}}class Cd extends Ja{constructor(t,e,n){super("w:pgSz");const r="landscape"===n,i=Iu(t),o=Iu(e);this.root.push(new ns({width:{key:"w:w",value:r?o:i},height:{key:"w:h",value:r?i:o},orientation:{key:"w:orient",value:n}}))}}class Dd extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{val:"w:val"})}}class Id extends Ja{constructor(t){super("w:textDirection"),this.root.push(new Dd({val:t}))}}class Rd extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{val:"w:val"})}}class Nd extends Ja{constructor(t){super("w:type"),this.root.push(new Rd({val:t}))}}class Od extends Ja{constructor({page:{size:{width:t=11906,height:e=16838,orientation:n="portrait"}={},margin:{top:r=1440,right:i=1440,bottom:o=1440,left:a=1440,header:s=708,footer:l=708,gutter:c=0}={},pageNumbers:u={},borders:h,textDirection:f}={},grid:{linePitch:d=360,charSpace:p,type:m}={},headerWrapperGroup:g={},footerWrapperGroup:y={},lineNumbers:w,titlePage:b,verticalAlign:v,column:E,type:_}={}){super("w:sectPr"),this.addHeaderFooterGroup("w:headerReference",g),this.addHeaderFooterGroup("w:footerReference",y),_&&this.root.push(new Nd(_)),this.root.push(new Cd(t,e,n)),this.root.push(new xd(r,i,o,a,s,l,c)),h&&this.root.push(new Td(h)),w&&this.root.push((({countBy:t,start:e,restart:n,distance:r})=>new Hu({name:"w:lnNumType",attributes:{countBy:{key:"w:countBy",value:void 0===t?void 0:_u(t)},start:{key:"w:start",value:void 0===e?void 0:_u(e)},restart:{key:"w:restart",value:n},distance:{key:"w:distance",value:void 0===r?void 0:Iu(r)}}}))(w)),this.root.push(new kd(u)),E&&this.root.push(new Ed(E)),v&&this.root.push(new yd(v)),void 0!==b&&this.root.push(new Ou("w:titlePg",b)),f&&this.root.push(new Id(f)),this.root.push(new Ad(d,p,m))}addHeaderFooterGroup(t,e){e.default&&this.root.push(new vd(t,{type:wd,id:e.default.View.ReferenceId})),e.first&&this.root.push(new vd(t,{type:"first",id:e.first.View.ReferenceId})),e.even&&this.root.push(new vd(t,{type:"even",id:e.even.View.ReferenceId}))}}class Ld extends Ja{constructor(){super("w:body"),Xa(this,"sections",[])}addSection(t){const e=this.sections.pop();this.root.push(this.createSectionParagraph(e)),this.sections.push(new Od(t))}prepForXml(t){return 1===this.sections.length&&(this.root.splice(0,1),this.root.push(this.sections.pop())),super.prepForXml(t)}push(t){this.root.push(t)}createSectionParagraph(t){const e=new Kd({}),n=new Gd({});return n.push(t),e.addChildElement(n),e}}class Pd extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable",cp:"xmlns:cp",dc:"xmlns:dc",dcterms:"xmlns:dcterms",dcmitype:"xmlns:dcmitype",xsi:"xmlns:xsi",type:"xsi:type",cx:"xmlns:cx",cx1:"xmlns:cx1",cx2:"xmlns:cx2",cx3:"xmlns:cx3",cx4:"xmlns:cx4",cx5:"xmlns:cx5",cx6:"xmlns:cx6",cx7:"xmlns:cx7",cx8:"xmlns:cx8",aink:"xmlns:aink",am3d:"xmlns:am3d",w16cex:"xmlns:w16cex",w16cid:"xmlns:w16cid",w16:"xmlns:w16",w16sdtdh:"xmlns:w16sdtdh",w16se:"xmlns:w16se"})}}class Fd extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{color:"w:color",themeColor:"w:themeColor",themeShade:"w:themeShade",themeTint:"w:themeTint"})}}class Bd extends Ja{constructor(t){super("w:background"),this.root.push(new Fd({color:void 0===t.color?void 0:ku(t.color),themeColor:t.themeColor,themeShade:void 0===t.themeShade?void 0:Tu(t.themeShade),themeTint:void 0===t.themeTint?void 0:Tu(t.themeTint)}))}}class Ud extends Ja{constructor(t){super("w:document"),Xa(this,"body"),this.root.push(new Pd({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",cx:"http://schemas.microsoft.com/office/drawing/2014/chartex",cx1:"http://schemas.microsoft.com/office/drawing/2015/9/8/chartex",cx2:"http://schemas.microsoft.com/office/drawing/2015/10/21/chartex",cx3:"http://schemas.microsoft.com/office/drawing/2016/5/9/chartex",cx4:"http://schemas.microsoft.com/office/drawing/2016/5/10/chartex",cx5:"http://schemas.microsoft.com/office/drawing/2016/5/11/chartex",cx6:"http://schemas.microsoft.com/office/drawing/2016/5/12/chartex",cx7:"http://schemas.microsoft.com/office/drawing/2016/5/13/chartex",cx8:"http://schemas.microsoft.com/office/drawing/2016/5/14/chartex",aink:"http://schemas.microsoft.com/office/drawing/2016/ink",am3d:"http://schemas.microsoft.com/office/drawing/2017/model3d",w16cex:"http://schemas.microsoft.com/office/word/2018/wordml/cex",w16cid:"http://schemas.microsoft.com/office/word/2016/wordml/cid",w16:"http://schemas.microsoft.com/office/word/2018/wordml",w16sdtdh:"http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash",w16se:"http://schemas.microsoft.com/office/word/2015/wordml/symex",Ignorable:"w14 w15 wp14"})),this.body=new Ld,t.background&&this.root.push(new Bd(t.background)),this.root.push(this.body)}add(t){return this.body.push(t),this}get Body(){return this.body}}class jd extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{xmlns:"xmlns"})}}class Hd extends Ja{constructor(){super("Relationships"),this.root.push(new jd({xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"}))}createRelationship(t,e,n,r){const i=new od(`rId${t}`,e,n,r);return this.root.push(i),i}get RelationshipCount(){return this.root.length-1}}class zd{constructor(t){Xa(this,"document"),Xa(this,"relationships"),this.document=new Ud(t),this.relationships=new Hd}get View(){return this.document}get Relationships(){return this.relationships}}class qd extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{val:"w:val"})}}class Wd extends Ja{constructor(){super("w:wordWrap"),this.root.push(new qd({val:0}))}}class Gd extends ts{constructor(t){var e,n;if(super("w:pPr"),Xa(this,"numberingReferences",[]),!t)return this;t.heading&&this.push(new Zf(t.heading)),t.bullet&&this.push(new Zf("ListParagraph")),t.numbering&&(t.style||t.heading||t.numbering.custom||this.push(new Zf("ListParagraph"))),t.style&&this.push(new Zf(t.style)),void 0!==t.keepNext&&this.push(new Ou("w:keepNext",t.keepNext)),void 0!==t.keepLines&&this.push(new Ou("w:keepLines",t.keepLines)),t.pageBreakBefore&&this.push(new Kf),t.frame&&this.push((t=>{var e,n;return new Hu({name:"w:framePr",attributes:{anchorLock:{key:"w:anchorLock",value:t.anchorLock},dropCap:{key:"w:dropCap",value:t.dropCap},width:{key:"w:w",value:t.width},height:{key:"w:h",value:t.height},x:{key:"w:x",value:t.position?t.position.x:void 0},y:{key:"w:y",value:t.position?t.position.y:void 0},anchorHorizontal:{key:"w:hAnchor",value:t.anchor.horizontal},anchorVertical:{key:"w:vAnchor",value:t.anchor.vertical},spaceHorizontal:{key:"w:hSpace",value:null==(e=t.space)?void 0:e.horizontal},spaceVertical:{key:"w:vSpace",value:null==(n=t.space)?void 0:n.vertical},rule:{key:"w:hRule",value:t.rule},alignmentX:{key:"w:xAlign",value:t.alignment?t.alignment.x:void 0},alignmentY:{key:"w:yAlign",value:t.alignment?t.alignment.y:void 0},lines:{key:"w:lines",value:t.lines},wrap:{key:"w:wrap",value:t.wrap}}})})(t.frame)),void 0!==t.widowControl&&this.push(new Ou("w:widowControl",t.widowControl)),t.bullet&&this.push(new td(1,t.bullet.level)),t.numbering&&(this.numberingReferences.push({reference:t.numbering.reference,instance:null!=(e=t.numbering.instance)?e:0}),this.push(new td(`${t.numbering.reference}-${null!=(n=t.numbering.instance)?n:0}`,t.numbering.level))),t.border&&this.push(new Xu(t.border)),t.thematicBreak&&this.push(new Zu),t.shading&&this.push(new uh(t.shading)),t.wordWrap&&this.push(new Wd),t.overflowPunctuation&&this.push(new Ou("w:overflowPunct",t.overflowPunctuation));const r=[...void 0!==t.rightTabStop?[{type:"right",position:t.rightTabStop}]:[],...t.tabStops?t.tabStops:[],...void 0!==t.leftTabStop?[{type:"left",position:t.leftTabStop}]:[]];r.length>0&&this.push(new $f(r)),void 0!==t.bidirectional&&this.push(new Ou("w:bidi",t.bidirectional)),t.spacing&&this.push(new Xf(t.spacing)),t.indent&&this.push(new $u(t.indent)),void 0!==t.contextualSpacing&&this.push(new Ou("w:contextualSpacing",t.contextualSpacing)),t.alignment&&this.push(new Gu(t.alignment)),void 0!==t.outlineLevel&&this.push(new md(t.outlineLevel)),void 0!==t.suppressLineNumbers&&this.push(new Ou("w:suppressLineNumbers",t.suppressLineNumbers)),void 0!==t.autoSpaceEastAsianText&&this.push(new Ou("w:autoSpaceDN",t.autoSpaceEastAsianText)),t.run&&this.push(new Th(t.run))}push(t){this.root.push(t)}prepForXml(t){if(t.viewWrapper instanceof zd)for(const e of this.numberingReferences)t.file.Numbering.createConcreteNumberingInstance(e.reference,e.instance);return super.prepForXml(t)}}class Kd extends rd{constructor(t){if(super("w:p"),Xa(this,"properties"),"string"==typeof t)return this.properties=new Gd({}),this.root.push(this.properties),this.root.push(new Ch(t)),this;if(this.properties=new Gd(t),this.root.push(this.properties),t.text&&this.root.push(new Ch(t.text)),t.children)for(const e of t.children)if(e instanceof fd){this.root.push(e.start);for(const t of e.children)this.root.push(t);this.root.push(e.end)}else this.root.push(e)}prepForXml(t){for(const e of this.root)if(e instanceof cd){const n=this.root.indexOf(e),r=new sd(e.options.children,Nh());t.viewWrapper.Relationships.createRelationship(r.linkId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",e.options.link,"External"),this.root[n]=r}return super.prepForXml(t)}addRunToFront(t){return this.root.splice(1,0,t),this}}class Yd extends Ja{constructor(t){super("w:tblGrid");for(const e of t)this.root.push(new Vd(e))}}class Vd extends Ja{constructor(t){super("w:gridCol"),void 0!==t&&this.root.push(new ns({width:{key:"w:w",value:Iu(t)}}))}}class Xd extends ts{constructor(t,{marginUnitType:e=Zd.DXA,top:n,left:r,bottom:i,right:o}){super(t),void 0!==n&&this.root.push(new $d("w:top",{type:e,size:n})),void 0!==r&&this.root.push(new $d("w:left",{type:e,size:r})),void 0!==i&&this.root.push(new $d("w:bottom",{type:e,size:i})),void 0!==o&&this.root.push(new $d("w:right",{type:e,size:o}))}}const Zd={AUTO:"auto",DXA:"dxa",NIL:"nil",PERCENTAGE:"pct"};class $d extends Ja{constructor(t,{type:e=Zd.AUTO,size:n}){super(t);let r=n;var i;e===Zd.PERCENTAGE&&"number"==typeof n&&(r=`${n}%`),this.root.push(new ns({type:{key:"w:type",value:e},size:{key:"w:w",value:(i=r,"number"==typeof i?_u(i):"%"===i.slice(-1)?(t=>{const e=t.substring(0,t.length-1);return`${Number(e)}%`})(i):xu(i))}}))}}class Qd extends ts{constructor(t){super("w:tcBorders"),t.top&&this.root.push(new Ku("w:top",t.top)),t.start&&this.root.push(new Ku("w:start",t.start)),t.left&&this.root.push(new Ku("w:left",t.left)),t.bottom&&this.root.push(new Ku("w:bottom",t.bottom)),t.end&&this.root.push(new Ku("w:end",t.end)),t.right&&this.root.push(new Ku("w:right",t.right))}}class Jd extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{val:"w:val"})}}class tp extends Ja{constructor(t){super("w:gridSpan"),this.root.push(new Jd({val:_u(t)}))}}class ep extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{val:"w:val"})}}class np extends Ja{constructor(t){super("w:vMerge"),this.root.push(new ep({val:t}))}}class rp extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{val:"w:val"})}}class ip extends Ja{constructor(t){super("w:textDirection"),this.root.push(new rp({val:t}))}}class op extends ts{constructor(t){super("w:tcPr"),t.width&&this.root.push(new $d("w:tcW",t.width)),t.columnSpan&&this.root.push(new tp(t.columnSpan)),t.verticalMerge?this.root.push(new np(t.verticalMerge)):t.rowSpan&&t.rowSpan>1&&this.root.push(new np("restart")),t.borders&&this.root.push(new Qd(t.borders)),t.shading&&this.root.push(new uh(t.shading)),t.margins&&this.root.push(new Xd("w:tcMar",t.margins)),t.textDirection&&this.root.push(new ip(t.textDirection)),t.verticalAlign&&this.root.push(new yd(t.verticalAlign))}}class ap extends Ja{constructor(t){super("w:tc"),this.options=t,this.root.push(new op(t));for(const e of t.children)this.root.push(e)}prepForXml(t){return this.root[this.root.length-1]instanceof Kd||this.root.push(new Kd({})),super.prepForXml(t)}}const sp={style:"none",size:0,color:"auto"},lp={style:Vu,size:4,color:"auto"};class cp extends Ja{constructor(t){super("w:tblBorders"),t.top?this.root.push(new Ku("w:top",t.top)):this.root.push(new Ku("w:top",lp)),t.left?this.root.push(new Ku("w:left",t.left)):this.root.push(new Ku("w:left",lp)),t.bottom?this.root.push(new Ku("w:bottom",t.bottom)):this.root.push(new Ku("w:bottom",lp)),t.right?this.root.push(new Ku("w:right",t.right)):this.root.push(new Ku("w:right",lp)),t.insideHorizontal?this.root.push(new Ku("w:insideH",t.insideHorizontal)):this.root.push(new Ku("w:insideH",lp)),t.insideVertical?this.root.push(new Ku("w:insideV",t.insideVertical)):this.root.push(new Ku("w:insideV",lp))}}Xa(cp,"NONE",{top:sp,bottom:sp,left:sp,right:sp,insideHorizontal:sp,insideVertical:sp});class up extends Ja{constructor({horizontalAnchor:t,verticalAnchor:e,absoluteHorizontalPosition:n,relativeHorizontalPosition:r,absoluteVerticalPosition:i,relativeVerticalPosition:o,bottomFromText:a,topFromText:s,leftFromText:l,rightFromText:c,overlap:u}){super("w:tblpPr"),this.root.push(new ns({leftFromText:{key:"w:leftFromText",value:void 0===l?void 0:Iu(l)},rightFromText:{key:"w:rightFromText",value:void 0===c?void 0:Iu(c)},topFromText:{key:"w:topFromText",value:void 0===s?void 0:Iu(s)},bottomFromText:{key:"w:bottomFromText",value:void 0===a?void 0:Iu(a)},absoluteHorizontalPosition:{key:"w:tblpX",value:void 0===n?void 0:Cu(n)},absoluteVerticalPosition:{key:"w:tblpY",value:void 0===i?void 0:Cu(i)},horizontalAnchor:{key:"w:horzAnchor",value:void 0===t?void 0:t},relativeHorizontalPosition:{key:"w:tblpXSpec",value:r},relativeVerticalPosition:{key:"w:tblpYSpec",value:o},verticalAnchor:{key:"w:vertAnchor",value:e}})),u&&this.root.push(new Uu("w:tblOverlap",u))}}class hp extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{type:"w:type"})}}class fp extends Ja{constructor(t){super("w:tblLayout"),this.root.push(new hp({type:t}))}}class dp extends ts{constructor(t){super("w:tblPr"),t.style&&this.root.push(new Pu("w:tblStyle",t.style)),t.float&&this.root.push(new up(t.float)),void 0!==t.visuallyRightToLeft&&this.root.push(new Ou("w:bidiVisual",t.visuallyRightToLeft)),t.width&&this.root.push(new $d("w:tblW",t.width)),t.alignment&&this.root.push(new Gu(t.alignment)),t.indent&&this.root.push(new $d("w:tblInd",t.indent)),t.borders&&this.root.push(new cp(t.borders)),t.shading&&this.root.push(new uh(t.shading)),t.layout&&this.root.push(new fp(t.layout)),t.cellMargin&&this.root.push(new Xd("w:tblCellMar",t.cellMargin))}}class pp extends rd{constructor({rows:t,width:e,columnWidths:n=Array(Math.max(...t.map((t=>t.CellCount)))).fill(100),margins:r,indent:i,float:o,layout:a,style:s,borders:l,alignment:c,visuallyRightToLeft:u}){super("w:tbl"),this.root.push(new dp({borders:null!=l?l:{},width:null!=e?e:{size:100},indent:i,float:o,layout:a,style:s,alignment:c,cellMargin:r,visuallyRightToLeft:u})),this.root.push(new Yd(n));for(const e of t)this.root.push(e);t.forEach(((e,n)=>{if(n===t.length-1)return;let r=0;e.cells.forEach((e=>{if(e.options.rowSpan&&e.options.rowSpan>1){const i=new ap({rowSpan:e.options.rowSpan-1,columnSpan:e.options.columnSpan,borders:e.options.borders,children:[],verticalMerge:"continue"});t[n+1].addCellToColumnIndex(i,r)}r+=e.options.columnSpan||1}))}))}}class mp extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{value:"w:val",rule:"w:hRule"})}}class gp extends Ja{constructor(t,e){super("w:trHeight"),this.root.push(new mp({value:Iu(t),rule:e}))}}class yp extends ts{constructor(t){super("w:trPr"),void 0!==t.cantSplit&&this.root.push(new Ou("w:cantSplit",t.cantSplit)),void 0!==t.tableHeader&&this.root.push(new Ou("w:tblHeader",t.tableHeader)),t.height&&this.root.push(new gp(t.height.value,t.height.rule))}}class wp extends Ja{constructor(t){super("w:tr"),this.options=t,this.root.push(new yp(t));for(const e of t.children)this.root.push(e)}get CellCount(){return this.options.children.length}get cells(){return this.root.filter((t=>t instanceof ap))}addCellToIndex(t,e){this.root.splice(e+1,0,t)}addCellToColumnIndex(t,e){const n=this.columnIndexToRootIndex(e,!0);this.addCellToIndex(t,n-1)}rootIndexToColumnIndex(t){if(t<1||t>=this.root.length)throw new Error("cell 'rootIndex' should between 1 to "+(this.root.length-1));let e=0;for(let n=1;n<t;n++)e+=this.root[n].options.columnSpan||1;return e}columnIndexToRootIndex(t,e=!1){if(t<0)throw new Error("cell 'columnIndex' should not less than zero");let n=0,r=1;for(;n<=t;){if(r>=this.root.length){if(e)return this.root.length;throw new Error("cell 'columnIndex' should not great than "+(n-1))}const t=this.root[r];r+=1,n+=t&&t.options.columnSpan||1}return r-1}}class bp extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{xmlns:"xmlns",vt:"xmlns:vt"})}}class vp extends Ja{constructor(){super("Properties"),this.root.push(new bp({xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"}))}}class Ep extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{xmlns:"xmlns"})}}class _p extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{contentType:"ContentType",extension:"Extension"})}}class Ap extends Ja{constructor(t,e){super("Default"),this.root.push(new _p({contentType:t,extension:e}))}}class Mp extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{contentType:"ContentType",partName:"PartName"})}}class Tp extends Ja{constructor(t,e){super("Override"),this.root.push(new Mp({contentType:t,partName:e}))}}class xp extends Ja{constructor(){super("Types"),this.root.push(new Ep({xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"})),this.root.push(new Ap("image/png","png")),this.root.push(new Ap("image/jpeg","jpeg")),this.root.push(new Ap("image/jpeg","jpg")),this.root.push(new Ap("image/bmp","bmp")),this.root.push(new Ap("image/gif","gif")),this.root.push(new Ap("application/vnd.openxmlformats-package.relationships+xml","rels")),this.root.push(new Ap("application/xml","xml")),this.root.push(new Ap("application/vnd.openxmlformats-officedocument.obfuscatedFont","odttf")),this.root.push(new Tp("application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml","/word/document.xml")),this.root.push(new Tp("application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml","/word/styles.xml")),this.root.push(new Tp("application/vnd.openxmlformats-package.core-properties+xml","/docProps/core.xml")),this.root.push(new Tp("application/vnd.openxmlformats-officedocument.custom-properties+xml","/docProps/custom.xml")),this.root.push(new Tp("application/vnd.openxmlformats-officedocument.extended-properties+xml","/docProps/app.xml")),this.root.push(new Tp("application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml","/word/numbering.xml")),this.root.push(new Tp("application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml","/word/footnotes.xml")),this.root.push(new Tp("application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml","/word/settings.xml")),this.root.push(new Tp("application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml","/word/comments.xml")),this.root.push(new Tp("application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml","/word/fontTable.xml"))}addFooter(t){this.root.push(new Tp("application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml",`/word/footer${t}.xml`))}addHeader(t){this.root.push(new Tp("application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml",`/word/header${t}.xml`))}}class Sp extends Ja{constructor(t){super("cp:coreProperties"),this.root.push(new Pd({cp:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",xsi:"http://www.w3.org/2001/XMLSchema-instance"})),t.title&&this.root.push(new ju("dc:title",t.title)),t.subject&&this.root.push(new ju("dc:subject",t.subject)),t.creator&&this.root.push(new ju("dc:creator",t.creator)),t.keywords&&this.root.push(new ju("cp:keywords",t.keywords)),t.description&&this.root.push(new ju("dc:description",t.description)),t.lastModifiedBy&&this.root.push(new ju("cp:lastModifiedBy",t.lastModifiedBy)),t.revision&&this.root.push(new ju("cp:revision",String(t.revision))),this.root.push(new kp("dcterms:created")),this.root.push(new kp("dcterms:modified"))}}class kp extends Ja{constructor(t){super(t),this.root.push(new Pd({type:"dcterms:W3CDTF"})),this.root.push((new Date).toISOString())}}class Cp extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{xmlns:"xmlns",vt:"xmlns:vt"})}}class Dp extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{fmtid:"fmtid",pid:"pid",name:"name"})}}class Ip extends Ja{constructor(t,e){super("property"),this.root.push(new Dp({fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:t.toString(),name:e.name})),this.root.push(new Rp(e.value))}}class Rp extends Ja{constructor(t){super("vt:lpwstr"),this.root.push(t)}}class Np extends Ja{constructor(t){super("Properties"),Xa(this,"nextId"),Xa(this,"properties",[]),this.root.push(new Cp({xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"})),this.nextId=2;for(const e of t)this.addCustomProperty(e)}prepForXml(t){return this.properties.forEach((t=>this.root.push(t))),super.prepForXml(t)}addCustomProperty(t){this.properties.push(new Ip(this.nextId++,t))}}class Op extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",cp:"xmlns:cp",dc:"xmlns:dc",dcterms:"xmlns:dcterms",dcmitype:"xmlns:dcmitype",xsi:"xmlns:xsi",type:"xsi:type"})}}let Lp=class extends Eu{constructor(t,e){super("w:ftr",e),Xa(this,"refId"),this.refId=t,e||this.root.push(new Op({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape"}))}get ReferenceId(){return this.refId}add(t){this.root.push(t)}};class Pp{constructor(t,e,n){Xa(this,"footer"),Xa(this,"relationships"),this.media=t,this.footer=new Lp(e,n),this.relationships=new Hd}add(t){this.footer.add(t)}addChildElement(t){this.footer.addChildElement(t)}get View(){return this.footer}get Relationships(){return this.relationships}get Media(){return this.media}}class Fp extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{type:"w:type",id:"w:id"})}}class Bp extends Ja{constructor(){super("w:footnoteRef")}}class Up extends kh{constructor(){super({style:"FootnoteReference"}),this.root.push(new Bp)}}class jp extends Ja{constructor(t){super("w:footnote"),this.root.push(new Fp({type:t.type,id:t.id}));for(let e=0;e<t.children.length;e++){const n=t.children[e];0===e&&n.addRunToFront(new Up),this.root.push(n)}}}class Hp extends Ja{constructor(){super("w:continuationSeparator")}}class zp extends kh{constructor(){super({}),this.root.push(new Hp)}}class qp extends Ja{constructor(){super("w:separator")}}class Wp extends kh{constructor(){super({}),this.root.push(new qp)}}class Gp extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable"})}}class Kp extends Ja{constructor(){super("w:footnotes"),this.root.push(new Gp({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"}));const t=new jp({id:-1,type:"separator",children:[new Kd({spacing:{after:0,line:240,lineRule:Yf},children:[new Wp]})]});this.root.push(t);const e=new jp({id:0,type:"continuationSeparator",children:[new Kd({spacing:{after:0,line:240,lineRule:Yf},children:[new zp]})]});this.root.push(e)}createFootNote(t,e){const n=new jp({id:t,children:e});this.root.push(n)}}class Yp{constructor(){Xa(this,"footnotess"),Xa(this,"relationships"),this.footnotess=new Kp,this.relationships=new Hd}get View(){return this.footnotess}get Relationships(){return this.relationships}}class Vp extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",cp:"xmlns:cp",dc:"xmlns:dc",dcterms:"xmlns:dcterms",dcmitype:"xmlns:dcmitype",xsi:"xmlns:xsi",type:"xsi:type",cx:"xmlns:cx",cx1:"xmlns:cx1",cx2:"xmlns:cx2",cx3:"xmlns:cx3",cx4:"xmlns:cx4",cx5:"xmlns:cx5",cx6:"xmlns:cx6",cx7:"xmlns:cx7",cx8:"xmlns:cx8",w16cid:"xmlns:w16cid",w16se:"xmlns:w16se"})}}let Xp=class extends Eu{constructor(t,e){super("w:hdr",e),Xa(this,"refId"),this.refId=t,e||this.root.push(new Vp({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",cx:"http://schemas.microsoft.com/office/drawing/2014/chartex",cx1:"http://schemas.microsoft.com/office/drawing/2015/9/8/chartex",cx2:"http://schemas.microsoft.com/office/drawing/2015/10/21/chartex",cx3:"http://schemas.microsoft.com/office/drawing/2016/5/9/chartex",cx4:"http://schemas.microsoft.com/office/drawing/2016/5/10/chartex",cx5:"http://schemas.microsoft.com/office/drawing/2016/5/11/chartex",cx6:"http://schemas.microsoft.com/office/drawing/2016/5/12/chartex",cx7:"http://schemas.microsoft.com/office/drawing/2016/5/13/chartex",cx8:"http://schemas.microsoft.com/office/drawing/2016/5/14/chartex",w16cid:"http://schemas.microsoft.com/office/word/2016/wordml/cid",w16se:"http://schemas.microsoft.com/office/word/2015/wordml/symex"}))}get ReferenceId(){return this.refId}add(t){this.root.push(t)}};class Zp{constructor(t,e,n){Xa(this,"header"),Xa(this,"relationships"),this.media=t,this.header=new Xp(e,n),this.relationships=new Hd}add(t){return this.header.add(t),this}addChildElement(t){this.header.addChildElement(t)}get View(){return this.header}get Relationships(){return this.relationships}get Media(){return this.media}}class $p{constructor(){Xa(this,"map"),this.map=new Map}addImage(t,e){this.map.set(t,e)}get Array(){return Array.from(this.map.values())}}const Qp="bullet";class Jp extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{ilvl:"w:ilvl",tentative:"w15:tentative"})}}class tm extends Ja{constructor(t){super("w:numFmt"),this.root.push(new rs({val:t}))}}class em extends Ja{constructor(t){super("w:lvlText"),this.root.push(new rs({val:t}))}}class nm extends Ja{constructor(t){super("w:lvlJc"),this.root.push(new rs({val:t}))}}class rm extends Ja{constructor(t){super("w:suff"),this.root.push(new rs({val:t}))}}class im extends Ja{constructor(){super("w:isLgl")}}class om extends Ja{constructor({level:t,format:e,text:n,alignment:r=zu,start:i=1,style:o,suffix:a,isLegalNumberingStyle:s}){if(super("w:lvl"),Xa(this,"paragraphProperties"),Xa(this,"runProperties"),this.root.push(new Bu("w:start",_u(i))),e&&this.root.push(new tm(e)),a&&this.root.push(new rm(a)),s&&this.root.push(new im),n&&this.root.push(new em(n)),this.root.push(new nm(r)),this.paragraphProperties=new Gd(o&&o.paragraph),this.runProperties=new Th(o&&o.run),this.root.push(this.paragraphProperties),this.root.push(this.runProperties),t>9)throw new Error("Level cannot be greater than 9. Read more here: https://answers.microsoft.com/en-us/msoffice/forum/all/does-word-support-more-than-9-list-levels/d130fdcd-1781-446d-8c84-c6c79124e4d7");this.root.push(new Jp({ilvl:_u(t),tentative:1}))}}class am extends om{}class sm extends Ja{constructor(t){super("w:multiLevelType"),this.root.push(new rs({val:t}))}}class lm extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{abstractNumId:"w:abstractNumId",restartNumberingAfterBreak:"w15:restartNumberingAfterBreak"})}}class cm extends Ja{constructor(t,e){super("w:abstractNum"),Xa(this,"id"),this.root.push(new lm({abstractNumId:_u(t),restartNumberingAfterBreak:0})),this.root.push(new sm("hybridMultilevel")),this.id=t;for(const t of e)this.root.push(new am(t))}}class um extends Ja{constructor(t){super("w:abstractNumId"),this.root.push(new rs({val:t}))}}class hm extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{numId:"w:numId"})}}class fm extends Ja{constructor(t){if(super("w:num"),Xa(this,"numId"),Xa(this,"reference"),Xa(this,"instance"),this.numId=t.numId,this.reference=t.reference,this.instance=t.instance,this.root.push(new hm({numId:_u(t.numId)})),this.root.push(new um(_u(t.abstractNumId))),t.overrideLevels&&t.overrideLevels.length)for(const e of t.overrideLevels)this.root.push(new pm(e.num,e.start))}}class dm extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{ilvl:"w:ilvl"})}}class pm extends Ja{constructor(t,e){super("w:lvlOverride"),this.root.push(new dm({ilvl:t})),void 0!==e&&this.root.push(new gm(e))}}class mm extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{val:"w:val"})}}class gm extends Ja{constructor(t){super("w:startOverride"),this.root.push(new mm({val:t}))}}class ym extends Ja{constructor(t){super("w:numbering"),Xa(this,"abstractNumberingMap",new Map),Xa(this,"concreteNumberingMap",new Map),Xa(this,"referenceConfigMap",new Map),Xa(this,"abstractNumUniqueNumericId",Rh()),Xa(this,"concreteNumUniqueNumericId",Rh(1)),this.root.push(new Pd({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"}));const e=new cm(this.abstractNumUniqueNumericId(),[{level:0,format:Qp,text:"●",alignment:qu,style:{paragraph:{indent:{left:Ih(.5),hanging:Ih(.25)}}}},{level:1,format:Qp,text:"○",alignment:qu,style:{paragraph:{indent:{left:Ih(1),hanging:Ih(.25)}}}},{level:2,format:Qp,text:"■",alignment:qu,style:{paragraph:{indent:{left:2160,hanging:Ih(.25)}}}},{level:3,format:Qp,text:"●",alignment:qu,style:{paragraph:{indent:{left:2880,hanging:Ih(.25)}}}},{level:4,format:Qp,text:"○",alignment:qu,style:{paragraph:{indent:{left:3600,hanging:Ih(.25)}}}},{level:5,format:Qp,text:"■",alignment:qu,style:{paragraph:{indent:{left:4320,hanging:Ih(.25)}}}},{level:6,format:Qp,text:"●",alignment:qu,style:{paragraph:{indent:{left:5040,hanging:Ih(.25)}}}},{level:7,format:Qp,text:"●",alignment:qu,style:{paragraph:{indent:{left:5760,hanging:Ih(.25)}}}},{level:8,format:Qp,text:"●",alignment:qu,style:{paragraph:{indent:{left:6480,hanging:Ih(.25)}}}}]);this.concreteNumberingMap.set("default-bullet-numbering",new fm({numId:1,abstractNumId:e.id,reference:"default-bullet-numbering",instance:0,overrideLevels:[{num:0,start:1}]})),this.abstractNumberingMap.set("default-bullet-numbering",e);for(const e of t.config)this.abstractNumberingMap.set(e.reference,new cm(this.abstractNumUniqueNumericId(),e.levels)),this.referenceConfigMap.set(e.reference,e.levels)}prepForXml(t){for(const t of this.abstractNumberingMap.values())this.root.push(t);for(const t of this.concreteNumberingMap.values())this.root.push(t);return super.prepForXml(t)}createConcreteNumberingInstance(t,e){const n=this.abstractNumberingMap.get(t);if(!n)return;const r=`${t}-${e}`;if(this.concreteNumberingMap.has(r))return;const i=this.referenceConfigMap.get(t),o=i&&i[0].start,a={numId:this.concreteNumUniqueNumericId(),abstractNumId:n.id,reference:t,instance:e,overrideLevels:[o&&Number.isInteger(o)?{num:0,start:o}:{num:0,start:1}]};this.concreteNumberingMap.set(r,new fm(a))}get ConcreteNumbering(){return Array.from(this.concreteNumberingMap.values())}get ReferenceConfig(){return Array.from(this.referenceConfigMap.values())}}class wm extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{version:"w:val",name:"w:name",uri:"w:uri"})}}class bm extends Ja{constructor(t){super("w:compatSetting"),this.root.push(new wm({version:t,uri:"http://schemas.microsoft.com/office/word",name:"compatibilityMode"}))}}class vm extends Ja{constructor(t){super("w:compat"),t.version&&this.root.push(new bm(t.version)),t.useSingleBorderforContiguousCells&&this.root.push(new Ou("w:useSingleBorderforContiguousCells",t.useSingleBorderforContiguousCells)),t.wordPerfectJustification&&this.root.push(new Ou("w:wpJustification",t.wordPerfectJustification)),t.noTabStopForHangingIndent&&this.root.push(new Ou("w:noTabHangInd",t.noTabStopForHangingIndent)),t.noLeading&&this.root.push(new Ou("w:noLeading",t.noLeading)),t.spaceForUnderline&&this.root.push(new Ou("w:spaceForUL",t.spaceForUnderline)),t.noColumnBalance&&this.root.push(new Ou("w:noColumnBalance",t.noColumnBalance)),t.balanceSingleByteDoubleByteWidth&&this.root.push(new Ou("w:balanceSingleByteDoubleByteWidth",t.balanceSingleByteDoubleByteWidth)),t.noExtraLineSpacing&&this.root.push(new Ou("w:noExtraLineSpacing",t.noExtraLineSpacing)),t.doNotLeaveBackslashAlone&&this.root.push(new Ou("w:doNotLeaveBackslashAlone",t.doNotLeaveBackslashAlone)),t.underlineTrailingSpaces&&this.root.push(new Ou("w:ulTrailSpace",t.underlineTrailingSpaces)),t.doNotExpandShiftReturn&&this.root.push(new Ou("w:doNotExpandShiftReturn",t.doNotExpandShiftReturn)),t.spacingInWholePoints&&this.root.push(new Ou("w:spacingInWholePoints",t.spacingInWholePoints)),t.lineWrapLikeWord6&&this.root.push(new Ou("w:lineWrapLikeWord6",t.lineWrapLikeWord6)),t.printBodyTextBeforeHeader&&this.root.push(new Ou("w:printBodyTextBeforeHeader",t.printBodyTextBeforeHeader)),t.printColorsBlack&&this.root.push(new Ou("w:printColBlack",t.printColorsBlack)),t.spaceWidth&&this.root.push(new Ou("w:wpSpaceWidth",t.spaceWidth)),t.showBreaksInFrames&&this.root.push(new Ou("w:showBreaksInFrames",t.showBreaksInFrames)),t.subFontBySize&&this.root.push(new Ou("w:subFontBySize",t.subFontBySize)),t.suppressBottomSpacing&&this.root.push(new Ou("w:suppressBottomSpacing",t.suppressBottomSpacing)),t.suppressTopSpacing&&this.root.push(new Ou("w:suppressTopSpacing",t.suppressTopSpacing)),t.suppressSpacingAtTopOfPage&&this.root.push(new Ou("w:suppressSpacingAtTopOfPage",t.suppressSpacingAtTopOfPage)),t.suppressTopSpacingWP&&this.root.push(new Ou("w:suppressTopSpacingWP",t.suppressTopSpacingWP)),t.suppressSpBfAfterPgBrk&&this.root.push(new Ou("w:suppressSpBfAfterPgBrk",t.suppressSpBfAfterPgBrk)),t.swapBordersFacingPages&&this.root.push(new Ou("w:swapBordersFacingPages",t.swapBordersFacingPages)),t.convertMailMergeEsc&&this.root.push(new Ou("w:convMailMergeEsc",t.convertMailMergeEsc)),t.truncateFontHeightsLikeWP6&&this.root.push(new Ou("w:truncateFontHeightsLikeWP6",t.truncateFontHeightsLikeWP6)),t.macWordSmallCaps&&this.root.push(new Ou("w:mwSmallCaps",t.macWordSmallCaps)),t.usePrinterMetrics&&this.root.push(new Ou("w:usePrinterMetrics",t.usePrinterMetrics)),t.doNotSuppressParagraphBorders&&this.root.push(new Ou("w:doNotSuppressParagraphBorders",t.doNotSuppressParagraphBorders)),t.wrapTrailSpaces&&this.root.push(new Ou("w:wrapTrailSpaces",t.wrapTrailSpaces)),t.footnoteLayoutLikeWW8&&this.root.push(new Ou("w:footnoteLayoutLikeWW8",t.footnoteLayoutLikeWW8)),t.shapeLayoutLikeWW8&&this.root.push(new Ou("w:shapeLayoutLikeWW8",t.shapeLayoutLikeWW8)),t.alignTablesRowByRow&&this.root.push(new Ou("w:alignTablesRowByRow",t.alignTablesRowByRow)),t.forgetLastTabAlignment&&this.root.push(new Ou("w:forgetLastTabAlignment",t.forgetLastTabAlignment)),t.adjustLineHeightInTable&&this.root.push(new Ou("w:adjustLineHeightInTable",t.adjustLineHeightInTable)),t.autoSpaceLikeWord95&&this.root.push(new Ou("w:autoSpaceLikeWord95",t.autoSpaceLikeWord95)),t.noSpaceRaiseLower&&this.root.push(new Ou("w:noSpaceRaiseLower",t.noSpaceRaiseLower)),t.doNotUseHTMLParagraphAutoSpacing&&this.root.push(new Ou("w:doNotUseHTMLParagraphAutoSpacing",t.doNotUseHTMLParagraphAutoSpacing)),t.layoutRawTableWidth&&this.root.push(new Ou("w:layoutRawTableWidth",t.layoutRawTableWidth)),t.layoutTableRowsApart&&this.root.push(new Ou("w:layoutTableRowsApart",t.layoutTableRowsApart)),t.useWord97LineBreakRules&&this.root.push(new Ou("w:useWord97LineBreakRules",t.useWord97LineBreakRules)),t.doNotBreakWrappedTables&&this.root.push(new Ou("w:doNotBreakWrappedTables",t.doNotBreakWrappedTables)),t.doNotSnapToGridInCell&&this.root.push(new Ou("w:doNotSnapToGridInCell",t.doNotSnapToGridInCell)),t.selectFieldWithFirstOrLastCharacter&&this.root.push(new Ou("w:selectFldWithFirstOrLastChar",t.selectFieldWithFirstOrLastCharacter)),t.applyBreakingRules&&this.root.push(new Ou("w:applyBreakingRules",t.applyBreakingRules)),t.doNotWrapTextWithPunctuation&&this.root.push(new Ou("w:doNotWrapTextWithPunct",t.doNotWrapTextWithPunctuation)),t.doNotUseEastAsianBreakRules&&this.root.push(new Ou("w:doNotUseEastAsianBreakRules",t.doNotUseEastAsianBreakRules)),t.useWord2002TableStyleRules&&this.root.push(new Ou("w:useWord2002TableStyleRules",t.useWord2002TableStyleRules)),t.growAutofit&&this.root.push(new Ou("w:growAutofit",t.growAutofit)),t.useFELayout&&this.root.push(new Ou("w:useFELayout",t.useFELayout)),t.useNormalStyleForList&&this.root.push(new Ou("w:useNormalStyleForList",t.useNormalStyleForList)),t.doNotUseIndentAsNumberingTabStop&&this.root.push(new Ou("w:doNotUseIndentAsNumberingTabStop",t.doNotUseIndentAsNumberingTabStop)),t.useAlternateEastAsianLineBreakRules&&this.root.push(new Ou("w:useAltKinsokuLineBreakRules",t.useAlternateEastAsianLineBreakRules)),t.allowSpaceOfSameStyleInTable&&this.root.push(new Ou("w:allowSpaceOfSameStyleInTable",t.allowSpaceOfSameStyleInTable)),t.doNotSuppressIndentation&&this.root.push(new Ou("w:doNotSuppressIndentation",t.doNotSuppressIndentation)),t.doNotAutofitConstrainedTables&&this.root.push(new Ou("w:doNotAutofitConstrainedTables",t.doNotAutofitConstrainedTables)),t.autofitToFirstFixedWidthCell&&this.root.push(new Ou("w:autofitToFirstFixedWidthCell",t.autofitToFirstFixedWidthCell)),t.underlineTabInNumberingList&&this.root.push(new Ou("w:underlineTabInNumList",t.underlineTabInNumberingList)),t.displayHangulFixedWidth&&this.root.push(new Ou("w:displayHangulFixedWidth",t.displayHangulFixedWidth)),t.splitPgBreakAndParaMark&&this.root.push(new Ou("w:splitPgBreakAndParaMark",t.splitPgBreakAndParaMark)),t.doNotVerticallyAlignCellWithSp&&this.root.push(new Ou("w:doNotVertAlignCellWithSp",t.doNotVerticallyAlignCellWithSp)),t.doNotBreakConstrainedForcedTable&&this.root.push(new Ou("w:doNotBreakConstrainedForcedTable",t.doNotBreakConstrainedForcedTable)),t.ignoreVerticalAlignmentInTextboxes&&this.root.push(new Ou("w:doNotVertAlignInTxbx",t.ignoreVerticalAlignmentInTextboxes)),t.useAnsiKerningPairs&&this.root.push(new Ou("w:useAnsiKerningPairs",t.useAnsiKerningPairs)),t.cachedColumnBalance&&this.root.push(new Ou("w:cachedColBalance",t.cachedColumnBalance))}}class Em extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable"})}}class _m extends Ja{constructor(t){var e,n,r,i;super("w:settings"),this.root.push(new Em({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"})),this.root.push(new Ou("w:displayBackgroundShape",!0)),void 0!==t.trackRevisions&&this.root.push(new Ou("w:trackRevisions",t.trackRevisions)),void 0!==t.evenAndOddHeaders&&this.root.push(new Ou("w:evenAndOddHeaders",t.evenAndOddHeaders)),void 0!==t.updateFields&&this.root.push(new Ou("w:updateFields",t.updateFields)),void 0!==t.defaultTabStop&&this.root.push(new Bu("w:defaultTabStop",t.defaultTabStop)),this.root.push(new vm(Va(Ya({},null!=(e=t.compatibility)?e:{}),{version:null!=(i=null!=(r=null==(n=t.compatibility)?void 0:n.version)?r:t.compatibilityModeVersion)?i:15})))}}class Am extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{val:"w:val"})}}class Mm extends Ja{constructor(t){super("w:name"),this.root.push(new Am({val:t}))}}class Tm extends Ja{constructor(t){super("w:uiPriority"),this.root.push(new Am({val:_u(t)}))}}class xm extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{type:"w:type",styleId:"w:styleId",default:"w:default",customStyle:"w:customStyle"})}}class Sm extends Ja{constructor(t,e){super("w:style"),this.root.push(new xm(t)),e.name&&this.root.push(new Mm(e.name)),e.basedOn&&this.root.push(new Pu("w:basedOn",e.basedOn)),e.next&&this.root.push(new Pu("w:next",e.next)),e.link&&this.root.push(new Pu("w:link",e.link)),void 0!==e.uiPriority&&this.root.push(new Tm(e.uiPriority)),void 0!==e.semiHidden&&this.root.push(new Ou("w:semiHidden",e.semiHidden)),void 0!==e.unhideWhenUsed&&this.root.push(new Ou("w:unhideWhenUsed",e.unhideWhenUsed)),void 0!==e.quickFormat&&this.root.push(new Ou("w:qFormat",e.quickFormat))}}class km extends Sm{constructor(t){super({type:"paragraph",styleId:t.id},t),Xa(this,"paragraphProperties"),Xa(this,"runProperties"),this.paragraphProperties=new Gd(t.paragraph),this.runProperties=new Th(t.run),this.root.push(this.paragraphProperties),this.root.push(this.runProperties)}}class Cm extends Sm{constructor(t){super({type:"character",styleId:t.id},Ya({uiPriority:99,unhideWhenUsed:!0},t)),Xa(this,"runProperties"),this.runProperties=new Th(t.run),this.root.push(this.runProperties)}}class Dm extends km{constructor(t){super(Ya({basedOn:"Normal",next:"Normal",quickFormat:!0},t))}}class Im extends Dm{constructor(t){super(Ya({id:"Title",name:"Title"},t))}}class Rm extends Dm{constructor(t){super(Ya({id:"Heading1",name:"Heading 1"},t))}}class Nm extends Dm{constructor(t){super(Ya({id:"Heading2",name:"Heading 2"},t))}}class Om extends Dm{constructor(t){super(Ya({id:"Heading3",name:"Heading 3"},t))}}class Lm extends Dm{constructor(t){super(Ya({id:"Heading4",name:"Heading 4"},t))}}class Pm extends Dm{constructor(t){super(Ya({id:"Heading5",name:"Heading 5"},t))}}class Fm extends Dm{constructor(t){super(Ya({id:"Heading6",name:"Heading 6"},t))}}class Bm extends Dm{constructor(t){super(Ya({id:"Strong",name:"Strong"},t))}}class Um extends km{constructor(t){super(Ya({id:"ListParagraph",name:"List Paragraph",basedOn:"Normal",quickFormat:!0},t))}}class jm extends km{constructor(t){super(Ya({id:"FootnoteText",name:"footnote text",link:"FootnoteTextChar",basedOn:"Normal",uiPriority:99,semiHidden:!0,unhideWhenUsed:!0,paragraph:{spacing:{after:0,line:240,lineRule:Yf}},run:{size:20}},t))}}class Hm extends Cm{constructor(t){super(Ya({id:"FootnoteReference",name:"footnote reference",basedOn:"DefaultParagraphFont",semiHidden:!0,run:{superScript:!0}},t))}}class zm extends Cm{constructor(t){super(Ya({id:"FootnoteTextChar",name:"Footnote Text Char",basedOn:"DefaultParagraphFont",link:"FootnoteText",semiHidden:!0,run:{size:20}},t))}}class qm extends Cm{constructor(t){super(Ya({id:"Hyperlink",name:"Hyperlink",basedOn:"DefaultParagraphFont",run:{color:"0563C1",underline:{type:Ah}}},t))}}class Wm extends Ja{constructor(t){if(super("w:styles"),t.initialStyles&&this.root.push(t.initialStyles),t.importedStyles)for(const e of t.importedStyles)this.root.push(e);if(t.paragraphStyles)for(const e of t.paragraphStyles)this.root.push(new km(e));if(t.characterStyles)for(const e of t.characterStyles)this.root.push(new Cm(e))}}class Gm extends Ja{constructor(t){super("w:pPrDefault"),this.root.push(new Gd(t))}}class Km extends Ja{constructor(t){super("w:rPrDefault"),this.root.push(new Th(t))}}class Ym extends Ja{constructor(t){super("w:docDefaults"),Xa(this,"runPropertiesDefaults"),Xa(this,"paragraphPropertiesDefaults"),this.runPropertiesDefaults=new Km(t.run),this.paragraphPropertiesDefaults=new Gm(t.paragraph),this.root.push(this.runPropertiesDefaults),this.root.push(this.paragraphPropertiesDefaults)}}class Vm{newInstance(t){const e=gu(t,{compact:!1});let n;for(const t of e.elements||[])"w:styles"===t.name&&(n=t);if(void 0===n)throw new Error("can not find styles element");const r=n.elements||[];return new Wm({initialStyles:new vu(n.attributes),importedStyles:r.map((t=>yu(t)))})}}class Xm{newInstance(t={}){var e;return{initialStyles:new Pd({mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",Ignorable:"w14 w15"}),importedStyles:[new Ym(null!=(e=t.document)?e:{}),new Im(Ya({run:{size:56}},t.title)),new Rm(Ya({run:{color:"2E74B5",size:32}},t.heading1)),new Nm(Ya({run:{color:"2E74B5",size:26}},t.heading2)),new Om(Ya({run:{color:"1F4D78",size:24}},t.heading3)),new Lm(Ya({run:{color:"2E74B5",italics:!0}},t.heading4)),new Pm(Ya({run:{color:"2E74B5"}},t.heading5)),new Fm(Ya({run:{color:"1F4D78"}},t.heading6)),new Bm(Ya({run:{bold:!0}},t.strong)),new Um(t.listParagraph||{}),new qm(t.hyperlink||{}),new Hm(t.footnoteReference||{}),new jm(t.footnoteText||{}),new zm(t.footnoteTextChar||{})]}}}const Zm=({id:t,fontKey:e,subsetted:n},r)=>new Hu({name:r,attributes:Ya({id:{key:"r:id",value:t}},e?{fontKey:{key:"w:fontKey",value:`{${e}}`}}:{}),children:[...n?[new Ou("w:subsetted",n)]:[]]});class $m{constructor(t){var e;Xa(this,"fontTable"),Xa(this,"relationships"),Xa(this,"fontOptionsWithKey",[]),this.options=t,this.fontOptionsWithKey=t.map((t=>Va(Ya({},t),{fontKey:`${Oh(8)}-${Oh(4)}-${Oh(4)}-${Oh(4)}-${Oh(12)}`}))),this.fontTable=(e=this.fontOptionsWithKey,new Hu({name:"w:fonts",attributes:{mc:{key:"xmlns:mc",value:"http://schemas.openxmlformats.org/markup-compatibility/2006"},r:{key:"xmlns:r",value:"http://schemas.openxmlformats.org/officeDocument/2006/relationships"},w:{key:"xmlns:w",value:"http://schemas.openxmlformats.org/wordprocessingml/2006/main"},w14:{key:"xmlns:w14",value:"http://schemas.microsoft.com/office/word/2010/wordml"},w15:{key:"xmlns:w15",value:"http://schemas.microsoft.com/office/word/2012/wordml"},w16cex:{key:"xmlns:w16cex",value:"http://schemas.microsoft.com/office/word/2018/wordml/cex"},w16cid:{key:"xmlns:w16cid",value:"http://schemas.microsoft.com/office/word/2016/wordml/cid"},w16:{key:"xmlns:w16",value:"http://schemas.microsoft.com/office/word/2018/wordml"},w16sdtdh:{key:"xmlns:w16sdtdh",value:"http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash"},w16se:{key:"xmlns:w16se",value:"http://schemas.microsoft.com/office/word/2015/wordml/symex"},Ignorable:{key:"mc:Ignorable",value:"w14 w15 w16se w16cid w16 w16cex w16sdtdh"}},children:e.map(((t,e)=>(({name:t,index:e,fontKey:n,characterSet:r})=>(({name:t,altName:e,panose1:n,charset:r,family:i,notTrueType:o,pitch:a,sig:s,embedRegular:l,embedBold:c,embedItalic:u,embedBoldItalic:h})=>new Hu({name:"w:font",attributes:{name:{key:"w:name",value:t}},children:[...e?[Fu("w:altName",e)]:[],...n?[Fu("w:panose1",n)]:[],...r?[Fu("w:charset",r)]:[],...i?[Fu("w:family",i)]:[],...o?[new Ou("w:notTrueType",o)]:[],...a?[Fu("w:pitch",a)]:[],...s?[new Hu({name:"w:sig",attributes:{usb0:{key:"w:usb0",value:s.usb0},usb1:{key:"w:usb1",value:s.usb1},usb2:{key:"w:usb2",value:s.usb2},usb3:{key:"w:usb3",value:s.usb3},csb0:{key:"w:csb0",value:s.csb0},csb1:{key:"w:csb1",value:s.csb1}}})]:[],...l?[Zm(l,"w:embedRegular")]:[],...c?[Zm(c,"w:embedBold")]:[],...u?[Zm(u,"w:embedItalic")]:[],...h?[Zm(h,"w:embedBoldItalic")]:[]]}))({name:t,sig:{usb0:"E0002AFF",usb1:"C000247B",usb2:"00000009",usb3:"00000000",csb0:"000001FF",csb1:"00000000"},charset:r,family:"auto",pitch:"variable",embedRegular:{fontKey:n,id:`rId${e}`}}))({name:t.name,index:e+1,fontKey:t.fontKey})))})),this.relationships=new Hd;for(let e=0;e<t.length;e++)this.relationships.createRelationship(e+1,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/font",`fonts/${t[e].name}.odttf`)}get View(){return this.fontTable}get Relationships(){return this.relationships}}class Qm{constructor(t){var e,n,r,i,o,a,s,l;if(Xa(this,"currentRelationshipId",1),Xa(this,"documentWrapper"),Xa(this,"headers",[]),Xa(this,"footers",[]),Xa(this,"coreProperties"),Xa(this,"numbering"),Xa(this,"media"),Xa(this,"fileRelationships"),Xa(this,"footnotesWrapper"),Xa(this,"settings"),Xa(this,"contentTypes"),Xa(this,"customProperties"),Xa(this,"appProperties"),Xa(this,"styles"),Xa(this,"comments"),Xa(this,"fontWrapper"),this.coreProperties=new Sp(Va(Ya({},t),{creator:null!=(e=t.creator)?e:"Un-named",revision:null!=(n=t.revision)?n:1,lastModifiedBy:null!=(r=t.lastModifiedBy)?r:"Un-named"})),this.numbering=new ym(t.numbering?t.numbering:{config:[]}),this.comments=new Gf(null!=(i=t.comments)?i:{children:[]}),this.fileRelationships=new Hd,this.customProperties=new Np(null!=(o=t.customProperties)?o:[]),this.appProperties=new vp,this.footnotesWrapper=new Yp,this.contentTypes=new xp,this.documentWrapper=new zd({background:t.background}),this.settings=new _m({compatibilityModeVersion:t.compatabilityModeVersion,compatibility:t.compatibility,evenAndOddHeaders:!!t.evenAndOddHeaderAndFooters,trackRevisions:null==(a=t.features)?void 0:a.trackRevisions,updateFields:null==(s=t.features)?void 0:s.updateFields,defaultTabStop:t.defaultTabStop}),this.media=new $p,t.externalStyles){const e=new Vm;this.styles=e.newInstance(t.externalStyles)}else if(t.styles){const e=(new Xm).newInstance(t.styles.default);this.styles=new Wm(Ya(Ya({},e),t.styles))}else{const t=new Xm;this.styles=new Wm(t.newInstance())}this.addDefaultRelationships();for(const e of t.sections)this.addSection(e);if(t.footnotes)for(const e in t.footnotes)this.footnotesWrapper.View.createFootNote(parseFloat(e),t.footnotes[e].children);this.fontWrapper=new $m(null!=(l=t.fonts)?l:[])}addSection({headers:t={},footers:e={},children:n,properties:r}){this.documentWrapper.View.Body.addSection(Va(Ya({},r),{headerWrapperGroup:{default:t.default?this.createHeader(t.default):void 0,first:t.first?this.createHeader(t.first):void 0,even:t.even?this.createHeader(t.even):void 0},footerWrapperGroup:{default:e.default?this.createFooter(e.default):void 0,first:e.first?this.createFooter(e.first):void 0,even:e.even?this.createFooter(e.even):void 0}}));for(const t of n)this.documentWrapper.View.add(t)}createHeader(t){const e=new Zp(this.media,this.currentRelationshipId++);for(const n of t.options.children)e.add(n);return this.addHeaderToDocument(e),e}createFooter(t){const e=new Pp(this.media,this.currentRelationshipId++);for(const n of t.options.children)e.add(n);return this.addFooterToDocument(e),e}addHeaderToDocument(t,e=wd){this.headers.push({header:t,type:e}),this.documentWrapper.Relationships.createRelationship(t.View.ReferenceId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/header",`header${this.headers.length}.xml`),this.contentTypes.addHeader(this.headers.length)}addFooterToDocument(t,e=wd){this.footers.push({footer:t,type:e}),this.documentWrapper.Relationships.createRelationship(t.View.ReferenceId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer",`footer${this.footers.length}.xml`),this.contentTypes.addFooter(this.footers.length)}addDefaultRelationships(){this.fileRelationships.createRelationship(1,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument","word/document.xml"),this.fileRelationships.createRelationship(2,"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties","docProps/core.xml"),this.fileRelationships.createRelationship(3,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties","docProps/app.xml"),this.fileRelationships.createRelationship(4,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties","docProps/custom.xml"),this.documentWrapper.Relationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles","styles.xml"),this.documentWrapper.Relationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering","numbering.xml"),this.documentWrapper.Relationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes","footnotes.xml"),this.documentWrapper.Relationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings","settings.xml"),this.documentWrapper.Relationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments","comments.xml")}get Document(){return this.documentWrapper}get Styles(){return this.styles}get CoreProperties(){return this.coreProperties}get Numbering(){return this.numbering}get Media(){return this.media}get FileRelationships(){return this.fileRelationships}get Headers(){return this.headers.map((t=>t.header))}get Footers(){return this.footers.map((t=>t.footer))}get ContentTypes(){return this.contentTypes}get CustomProperties(){return this.customProperties}get AppProperties(){return this.appProperties}get FootNotes(){return this.footnotesWrapper}get Settings(){return this.settings}get Comments(){return this.comments}get FontTable(){return this.fontWrapper}}function Jm(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var tg={exports:{}};!function(t,e){t.exports=function t(e,n,r){function i(a,s){if(!n[a]){if(!e[a]){if(!s&&Jm)return Jm(a);if(o)return o(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[a]={exports:{}};e[a][0].call(c.exports,(function(t){return i(e[a][1][t]||t)}),c,c.exports,t,e,n,r)}return n[a].exports}for(var o=Jm,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(t,e,n){var r=t("./utils"),i=t("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(t){for(var e,n,i,a,s,l,c,u=[],h=0,f=t.length,d=f,p="string"!==r.getTypeOf(t);h<t.length;)d=f-h,i=p?(e=t[h++],n=h<f?t[h++]:0,h<f?t[h++]:0):(e=t.charCodeAt(h++),n=h<f?t.charCodeAt(h++):0,h<f?t.charCodeAt(h++):0),a=e>>2,s=(3&e)<<4|n>>4,l=1<d?(15&n)<<2|i>>6:64,c=2<d?63&i:64,u.push(o.charAt(a)+o.charAt(s)+o.charAt(l)+o.charAt(c));return u.join("")},n.decode=function(t){var e,n,r,a,s,l,c=0,u=0,h="data:";if(t.substr(0,5)===h)throw new Error("Invalid base64 input, it looks like a data url.");var f,d=3*(t=t.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(t.charAt(t.length-1)===o.charAt(64)&&d--,t.charAt(t.length-2)===o.charAt(64)&&d--,d%1!=0)throw new Error("Invalid base64 input, bad content length.");for(f=i.uint8array?new Uint8Array(0|d):new Array(0|d);c<t.length;)e=o.indexOf(t.charAt(c++))<<2|(a=o.indexOf(t.charAt(c++)))>>4,n=(15&a)<<4|(s=o.indexOf(t.charAt(c++)))>>2,r=(3&s)<<6|(l=o.indexOf(t.charAt(c++))),f[u++]=e,64!==s&&(f[u++]=n),64!==l&&(f[u++]=r);return f}},{"./support":30,"./utils":32}],2:[function(t,e,n){var r=t("./external"),i=t("./stream/DataWorker"),o=t("./stream/Crc32Probe"),a=t("./stream/DataLengthProbe");function s(t,e,n,r,i){this.compressedSize=t,this.uncompressedSize=e,this.crc32=n,this.compression=r,this.compressedContent=i}s.prototype={getContentWorker:function(){var t=new i(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),e=this;return t.on("end",(function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),t},getCompressedWorker:function(){return new i(r.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(t,e,n){return t.pipe(new o).pipe(new a("uncompressedSize")).pipe(e.compressWorker(n)).pipe(new a("compressedSize")).withStreamInfo("compression",e)},e.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,e,n){var r=t("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(){return new r("STORE compression")},uncompressWorker:function(){return new r("STORE decompression")}},n.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,e,n){var r=t("./utils"),i=function(){for(var t,e=[],n=0;n<256;n++){t=n;for(var r=0;r<8;r++)t=1&t?3988292384^t>>>1:t>>>1;e[n]=t}return e}();e.exports=function(t,e){return void 0!==t&&t.length?"string"!==r.getTypeOf(t)?function(t,e,n,r){var o=i,a=0+n;t^=-1;for(var s=0;s<a;s++)t=t>>>8^o[255&(t^e[s])];return-1^t}(0|e,t,t.length):function(t,e,n,r){var o=i,a=0+n;t^=-1;for(var s=0;s<a;s++)t=t>>>8^o[255&(t^e.charCodeAt(s))];return-1^t}(0|e,t,t.length):0}},{"./utils":32}],5:[function(t,e,n){n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(t,e,n){var r;r="undefined"!=typeof Promise?Promise:t("lie"),e.exports={Promise:r}},{lie:37}],7:[function(t,e,n){var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=t("pako"),o=t("./utils"),a=t("./stream/GenericWorker"),s=r?"uint8array":"array";function l(t,e){a.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}n.magic="\b\0",o.inherits(l,a),l.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(s,t.data),!1)},l.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(e){t.push({data:e,meta:t.meta})}},n.compressWorker=function(t){return new l("Deflate",t)},n.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(t,e,n){function r(t,e){var n,r="";for(n=0;n<e;n++)r+=String.fromCharCode(255&t),t>>>=8;return r}function i(t,e,n,i,a,u){var h,f,d=t.file,p=t.compression,m=u!==s.utf8encode,g=o.transformTo("string",u(d.name)),y=o.transformTo("string",s.utf8encode(d.name)),w=d.comment,b=o.transformTo("string",u(w)),v=o.transformTo("string",s.utf8encode(w)),E=y.length!==d.name.length,_=v.length!==w.length,A="",M="",T="",x=d.dir,S=d.date,k={crc32:0,compressedSize:0,uncompressedSize:0};e&&!n||(k.crc32=t.crc32,k.compressedSize=t.compressedSize,k.uncompressedSize=t.uncompressedSize);var C=0;e&&(C|=8),m||!E&&!_||(C|=2048);var D,I,R=0,N=0;x&&(R|=16),"UNIX"===a?(N=798,R|=(I=D=d.unixPermissions,D||(I=x?16893:33204),(65535&I)<<16)):(N=20,R|=function(t){return 63&(t||0)}(d.dosPermissions)),h=S.getUTCHours(),h<<=6,h|=S.getUTCMinutes(),h<<=5,h|=S.getUTCSeconds()/2,f=S.getUTCFullYear()-1980,f<<=4,f|=S.getUTCMonth()+1,f<<=5,f|=S.getUTCDate(),E&&(M=r(1,1)+r(l(g),4)+y,A+="up"+r(M.length,2)+M),_&&(T=r(1,1)+r(l(b),4)+v,A+="uc"+r(T.length,2)+T);var O="";return O+="\n\0",O+=r(C,2),O+=p.magic,O+=r(h,2),O+=r(f,2),O+=r(k.crc32,4),O+=r(k.compressedSize,4),O+=r(k.uncompressedSize,4),O+=r(g.length,2),O+=r(A.length,2),{fileRecord:c.LOCAL_FILE_HEADER+O+g+A,dirRecord:c.CENTRAL_FILE_HEADER+r(N,2)+O+r(b.length,2)+"\0\0\0\0"+r(R,4)+r(i,4)+g+A+b}}var o=t("../utils"),a=t("../stream/GenericWorker"),s=t("../utf8"),l=t("../crc32"),c=t("../signature");function u(t,e,n,r){a.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}o.inherits(u,a),u.prototype.push=function(t){var e=t.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,a.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:n?(e+100*(n-r-1))/n:100}}))},u.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var n=i(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(t){this.accumulate=!1;var e,n=this.streamFiles&&!t.file.dir,o=i(t,n,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(o.dirRecord),n)this.push({data:(e=t,c.DATA_DESCRIPTOR+r(e.crc32,4)+r(e.compressedSize,4)+r(e.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:o.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e<this.dirRecords.length;e++)this.push({data:this.dirRecords[e],meta:{percent:100}});var n,i,a,s,l,u,h=this.bytesWritten-t,f=(n=this.dirRecords.length,i=h,a=t,s=this.zipComment,l=this.encodeFileName,u=o.transformTo("string",l(s)),c.CENTRAL_DIRECTORY_END+"\0\0\0\0"+r(n,2)+r(n,2)+r(i,4)+r(a,4)+r(u.length,2)+u);this.push({data:f,meta:{percent:100}})},u.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},u.prototype.registerPrevious=function(t){this._sources.push(t);var e=this;return t.on("data",(function(t){e.processChunk(t)})),t.on("end",(function(){e.closedSource(e.previous.streamInfo),e._sources.length?e.prepareNextSource():e.end()})),t.on("error",(function(t){e.error(t)})),this},u.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},u.prototype.error=function(t){var e=this._sources;if(!a.prototype.error.call(this,t))return!1;for(var n=0;n<e.length;n++)try{e[n].error(t)}catch(t){}return!0},u.prototype.lock=function(){a.prototype.lock.call(this);for(var t=this._sources,e=0;e<t.length;e++)t[e].lock()},e.exports=u},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(t,e,n){var r=t("../compressions"),i=t("./ZipFileWorker");n.generateWorker=function(t,e,n){var o=new i(e.streamFiles,n,e.platform,e.encodeFileName),a=0;try{t.forEach((function(t,n){a++;var i=function(t,e){var n=t||e,i=r[n];if(!i)throw new Error(n+" is not a valid compression method !");return i}(n.options.compression,e.compression),s=n.options.compressionOptions||e.compressionOptions||{},l=n.dir,c=n.date;n._compressWorker(i,s).withStreamInfo("file",{name:t,dir:l,date:c,comment:n.comment||"",unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(o)})),o.entriesCount=a}catch(t){o.error(t)}return o}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(t,e,n){function r(){if(!(this instanceof r))return new r;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var t=new r;for(var e in this)"function"!=typeof this[e]&&(t[e]=this[e]);return t}}(r.prototype=t("./object")).loadAsync=t("./load"),r.support=t("./support"),r.defaults=t("./defaults"),r.version="3.10.1",r.loadAsync=function(t,e){return(new r).loadAsync(t,e)},r.external=t("./external"),e.exports=r},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(t,e,n){var r=t("./utils"),i=t("./external"),o=t("./utf8"),a=t("./zipEntries"),s=t("./stream/Crc32Probe"),l=t("./nodejsUtils");function c(t){return new i.Promise((function(e,n){var r=t.decompressed.getContentWorker().pipe(new s);r.on("error",(function(t){n(t)})).on("end",(function(){r.streamInfo.crc32!==t.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):e()})).resume()}))}e.exports=function(t,e){var n=this;return e=r.extend(e||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:o.utf8decode}),l.isNode&&l.isStream(t)?i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):r.prepareContent("the loaded zip file",t,!0,e.optimizedBinaryString,e.base64).then((function(t){var n=new a(e);return n.load(t),n})).then((function(t){var n=[i.Promise.resolve(t)],r=t.files;if(e.checkCRC32)for(var o=0;o<r.length;o++)n.push(c(r[o]));return i.Promise.all(n)})).then((function(t){for(var i=t.shift(),o=i.files,a=0;a<o.length;a++){var s=o[a],l=s.fileNameStr,c=r.resolve(s.fileNameStr);n.file(c,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:e.createFolders}),s.dir||(n.file(c).unsafeOriginalName=l)}return i.zipComment.length&&(n.comment=i.zipComment),n}))}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(t,e,n){var r=t("../utils"),i=t("../stream/GenericWorker");function o(t,e){i.call(this,"Nodejs stream input adapter for "+t),this._upstreamEnded=!1,this._bindStream(e)}r.inherits(o,i),o.prototype._bindStream=function(t){var e=this;(this._stream=t).pause(),t.on("data",(function(t){e.push({data:t,meta:{percent:0}})})).on("error",(function(t){e.isPaused?this.generatedError=t:e.error(t)})).on("end",(function(){e.isPaused?e._upstreamEnded=!0:e.end()}))},o.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},e.exports=o},{"../stream/GenericWorker":28,"../utils":32}],13:[function(t,e,n){var r=t("readable-stream").Readable;function i(t,e,n){r.call(this,e),this._helper=t;var i=this;t.on("data",(function(t,e){i.push(t)||i._helper.pause(),n&&n(e)})).on("error",(function(t){i.emit("error",t)})).on("end",(function(){i.push(null)}))}t("../utils").inherits(i,r),i.prototype._read=function(){this._helper.resume()},e.exports=i},{"../utils":32,"readable-stream":16}],14:[function(t,e,n){e.exports={isNode:void 0!==Ua,newBufferFrom:function(t,e){if(Ua.from&&Ua.from!==Uint8Array.from)return Ua.from(t,e);if("number"==typeof t)throw new Error('The "data" argument must not be a number');return new Ua(t,e)},allocBuffer:function(t){if(Ua.alloc)return Ua.alloc(t);var e=new Ua(t);return e.fill(0),e},isBuffer:function(t){return Ua.isBuffer(t)},isStream:function(t){return t&&"function"==typeof t.on&&"function"==typeof t.pause&&"function"==typeof t.resume}}},{}],15:[function(t,e,n){function r(t,e,n){var r,i=o.getTypeOf(e),s=o.extend(n||{},l);s.date=s.date||new Date,null!==s.compression&&(s.compression=s.compression.toUpperCase()),"string"==typeof s.unixPermissions&&(s.unixPermissions=parseInt(s.unixPermissions,8)),s.unixPermissions&&16384&s.unixPermissions&&(s.dir=!0),s.dosPermissions&&16&s.dosPermissions&&(s.dir=!0),s.dir&&(t=m(t)),s.createFolders&&(r=p(t))&&g.call(this,r,!0);var h="string"===i&&!1===s.binary&&!1===s.base64;n&&void 0!==n.binary||(s.binary=!h),(e instanceof c&&0===e.uncompressedSize||s.dir||!e||0===e.length)&&(s.base64=!1,s.binary=!0,e="",s.compression="STORE",i="string");var y;y=e instanceof c||e instanceof a?e:f.isNode&&f.isStream(e)?new d(t,e):o.prepareContent(t,e,s.binary,s.optimizedBinaryString,s.base64);var w=new u(t,y,s);this.files[t]=w}var i=t("./utf8"),o=t("./utils"),a=t("./stream/GenericWorker"),s=t("./stream/StreamHelper"),l=t("./defaults"),c=t("./compressedObject"),u=t("./zipObject"),h=t("./generate"),f=t("./nodejsUtils"),d=t("./nodejs/NodejsStreamInputAdapter"),p=function(t){"/"===t.slice(-1)&&(t=t.substring(0,t.length-1));var e=t.lastIndexOf("/");return 0<e?t.substring(0,e):""},m=function(t){return"/"!==t.slice(-1)&&(t+="/"),t},g=function(t,e){return e=void 0!==e?e:l.createFolders,t=m(t),this.files[t]||r.call(this,t,null,{dir:!0,createFolders:e}),this.files[t]};function y(t){return"[object RegExp]"===Object.prototype.toString.call(t)}var w={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(t){var e,n,r;for(e in this.files)r=this.files[e],(n=e.slice(this.root.length,e.length))&&e.slice(0,this.root.length)===this.root&&t(n,r)},filter:function(t){var e=[];return this.forEach((function(n,r){t(n,r)&&e.push(r)})),e},file:function(t,e,n){if(1!==arguments.length)return t=this.root+t,r.call(this,t,e,n),this;if(y(t)){var i=t;return this.filter((function(t,e){return!e.dir&&i.test(t)}))}var o=this.files[this.root+t];return o&&!o.dir?o:null},folder:function(t){if(!t)return this;if(y(t))return this.filter((function(e,n){return n.dir&&t.test(e)}));var e=this.root+t,n=g.call(this,e),r=this.clone();return r.root=n.name,r},remove:function(t){t=this.root+t;var e=this.files[t];if(e||("/"!==t.slice(-1)&&(t+="/"),e=this.files[t]),e&&!e.dir)delete this.files[t];else for(var n=this.filter((function(e,n){return n.name.slice(0,t.length)===t})),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(t){var e,n={};try{if((n=o.extend(t||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:i.utf8encode})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),"binarystring"===n.type&&(n.type="string"),!n.type)throw new Error("No output type specified.");o.checkSupport(n.type),"darwin"!==n.platform&&"freebsd"!==n.platform&&"linux"!==n.platform&&"sunos"!==n.platform||(n.platform="UNIX"),"win32"===n.platform&&(n.platform="DOS");var r=n.comment||this.comment||"";e=h.generateWorker(this,n,r)}catch(t){(e=new a("error")).error(t)}return new s(e,n.type||"string",n.mimeType)},generateAsync:function(t,e){return this.generateInternalStream(t).accumulate(e)},generateNodeStream:function(t,e){return(t=t||{}).type||(t.type="nodebuffer"),this.generateInternalStream(t).toNodejsStream(e)}};e.exports=w},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(t,e,n){e.exports=t("stream")},{stream:void 0}],17:[function(t,e,n){var r=t("./DataReader");function i(t){r.call(this,t);for(var e=0;e<this.data.length;e++)t[e]=255&t[e]}t("../utils").inherits(i,r),i.prototype.byteAt=function(t){return this.data[this.zero+t]},i.prototype.lastIndexOfSignature=function(t){for(var e=t.charCodeAt(0),n=t.charCodeAt(1),r=t.charCodeAt(2),i=t.charCodeAt(3),o=this.length-4;0<=o;--o)if(this.data[o]===e&&this.data[o+1]===n&&this.data[o+2]===r&&this.data[o+3]===i)return o-this.zero;return-1},i.prototype.readAndCheckSignature=function(t){var e=t.charCodeAt(0),n=t.charCodeAt(1),r=t.charCodeAt(2),i=t.charCodeAt(3),o=this.readData(4);return e===o[0]&&n===o[1]&&r===o[2]&&i===o[3]},i.prototype.readData=function(t){if(this.checkOffset(t),0===t)return[];var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=i},{"../utils":32,"./DataReader":18}],18:[function(t,e,n){var r=t("../utils");function i(t){this.data=t,this.length=t.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length<this.zero+t||t<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+t+"). Corrupted zip ?")},setIndex:function(t){this.checkIndex(t),this.index=t},skip:function(t){this.setIndex(this.index+t)},byteAt:function(){},readInt:function(t){var e,n=0;for(this.checkOffset(t),e=this.index+t-1;e>=this.index;e--)n=(n<<8)+this.byteAt(e);return this.index+=t,n},readString:function(t){return r.transformTo("string",this.readData(t))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=i},{"../utils":32}],19:[function(t,e,n){var r=t("./Uint8ArrayReader");function i(t){r.call(this,t)}t("../utils").inherits(i,r),i.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,e,n){var r=t("./DataReader");function i(t){r.call(this,t)}t("../utils").inherits(i,r),i.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},i.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},i.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},i.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=i},{"../utils":32,"./DataReader":18}],21:[function(t,e,n){var r=t("./ArrayReader");function i(t){r.call(this,t)}t("../utils").inherits(i,r),i.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(t,e,n){var r=t("../utils"),i=t("../support"),o=t("./ArrayReader"),a=t("./StringReader"),s=t("./NodeBufferReader"),l=t("./Uint8ArrayReader");e.exports=function(t){var e=r.getTypeOf(t);return r.checkSupport(e),"string"!==e||i.uint8array?"nodebuffer"===e?new s(t):i.uint8array?new l(r.transformTo("uint8array",t)):new o(r.transformTo("array",t)):new a(t)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,e,n){n.LOCAL_FILE_HEADER="PK",n.CENTRAL_FILE_HEADER="PK",n.CENTRAL_DIRECTORY_END="PK",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",n.ZIP64_CENTRAL_DIRECTORY_END="PK",n.DATA_DESCRIPTOR="PK\b"},{}],24:[function(t,e,n){var r=t("./GenericWorker"),i=t("../utils");function o(t){r.call(this,"ConvertWorker to "+t),this.destType=t}i.inherits(o,r),o.prototype.processChunk=function(t){this.push({data:i.transformTo(this.destType,t.data),meta:t.meta})},e.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(t,e,n){var r=t("./GenericWorker"),i=t("../crc32");function o(){r.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(o,r),o.prototype.processChunk=function(t){this.streamInfo.crc32=i(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,e,n){var r=t("../utils"),i=t("./GenericWorker");function o(t){i.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}r.inherits(o,i),o.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}i.prototype.processChunk.call(this,t)},e.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(t,e,n){var r=t("../utils"),i=t("./GenericWorker");function o(t){i.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then((function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=r.getTypeOf(t),e.isPaused||e._tickAndRepeat()}),(function(t){e.error(t)}))}r.inherits(o,i),o.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,r.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(r.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,e);break;case"uint8array":t=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(t,e,n){function r(t){this.name=t||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}r.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var n=0;n<this._listeners[t].length;n++)this._listeners[t][n].call(this,e)},pipe:function(t){return t.registerPrevious(this)},registerPrevious:function(t){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=t.streamInfo,this.mergeStreamInfo(),this.previous=t;var e=this;return t.on("data",(function(t){e.processChunk(t)})),t.on("end",(function(){e.end()})),t.on("error",(function(t){e.error(t)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var t=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),t=!0),this.previous&&this.previous.resume(),!t},flush:function(){},processChunk:function(t){this.push(t)},withStreamInfo:function(t,e){return this.extraStreamInfo[t]=e,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var t in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,t)&&(this.streamInfo[t]=this.extraStreamInfo[t])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var t="Worker "+this.name;return this.previous?this.previous+" -> "+t:t}},e.exports=r},{}],29:[function(t,e,n){var r=t("../utils"),i=t("./ConvertWorker"),o=t("./GenericWorker"),a=t("../base64"),s=t("../support"),l=t("../external"),c=null;if(s.nodestream)try{c=t("../nodejs/NodejsStreamOutputAdapter")}catch(t){}function u(t,e,n){var a=e;switch(e){case"blob":case"arraybuffer":a="uint8array";break;case"base64":a="string"}try{this._internalType=a,this._outputType=e,this._mimeType=n,r.checkSupport(a),this._worker=t.pipe(new i(a)),t.lock()}catch(t){this._worker=new o("error"),this._worker.error(t)}}u.prototype={accumulate:function(t){return function(t,e){return new l.Promise((function(n,i){var o=[],s=t._internalType,l=t._outputType,c=t._mimeType;t.on("data",(function(t,n){o.push(t),e&&e(n)})).on("error",(function(t){o=[],i(t)})).on("end",(function(){try{var t=function(t,e,n){switch(t){case"blob":return r.newBlob(r.transformTo("arraybuffer",e),n);case"base64":return a.encode(e);default:return r.transformTo(t,e)}}(l,function(t,e){var n,r=0,i=null,o=0;for(n=0;n<e.length;n++)o+=e[n].length;switch(t){case"string":return e.join("");case"array":return Array.prototype.concat.apply([],e);case"uint8array":for(i=new Uint8Array(o),n=0;n<e.length;n++)i.set(e[n],r),r+=e[n].length;return i;case"nodebuffer":return Ua.concat(e);default:throw new Error("concat : unsupported type '"+t+"'")}}(s,o),c);n(t)}catch(t){i(t)}o=[]})).resume()}))}(this,t)},on:function(t,e){var n=this;return"data"===t?this._worker.on(t,(function(t){e.call(n,t.data,t.meta)})):this._worker.on(t,(function(){r.delay(e,arguments,n)})),this},resume:function(){return r.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(t){if(r.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new c(this,{objectMode:"nodebuffer"!==this._outputType},t)}},e.exports=u},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(t,e,n){if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,n.nodebuffer=void 0!==Ua,n.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)n.blob=!1;else{var r=new ArrayBuffer(0);try{n.blob=0===new Blob([r],{type:"application/zip"}).size}catch(t){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);i.append(r),n.blob=0===i.getBlob("application/zip").size}catch(t){n.blob=!1}}}try{n.nodestream=!!t("readable-stream").Readable}catch(t){n.nodestream=!1}},{"readable-stream":16}],31:[function(t,e,n){for(var r=t("./utils"),i=t("./support"),o=t("./nodejsUtils"),a=t("./stream/GenericWorker"),s=new Array(256),l=0;l<256;l++)s[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;function c(){a.call(this,"utf-8 decode"),this.leftOver=null}function u(){a.call(this,"utf-8 encode")}s[254]=s[254]=1,n.utf8encode=function(t){return i.nodebuffer?o.newBufferFrom(t,"utf-8"):function(t){var e,n,r,o,a,s=t.length,l=0;for(o=0;o<s;o++)55296==(64512&(n=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(r=t.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),l+=n<128?1:n<2048?2:n<65536?3:4;for(e=i.uint8array?new Uint8Array(l):new Array(l),o=a=0;a<l;o++)55296==(64512&(n=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(r=t.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),n<128?e[a++]=n:(n<2048?e[a++]=192|n>>>6:(n<65536?e[a++]=224|n>>>12:(e[a++]=240|n>>>18,e[a++]=128|n>>>12&63),e[a++]=128|n>>>6&63),e[a++]=128|63&n);return e}(t)},n.utf8decode=function(t){return i.nodebuffer?r.transformTo("nodebuffer",t).toString("utf-8"):function(t){var e,n,i,o,a=t.length,l=new Array(2*a);for(e=n=0;e<a;)if((i=t[e++])<128)l[n++]=i;else if(4<(o=s[i]))l[n++]=65533,e+=o-1;else{for(i&=2===o?31:3===o?15:7;1<o&&e<a;)i=i<<6|63&t[e++],o--;1<o?l[n++]=65533:i<65536?l[n++]=i:(i-=65536,l[n++]=55296|i>>10&1023,l[n++]=56320|1023&i)}return l.length!==n&&(l.subarray?l=l.subarray(0,n):l.length=n),r.applyFromCharCode(l)}(t=r.transformTo(i.uint8array?"uint8array":"array",t))},r.inherits(c,a),c.prototype.processChunk=function(t){var e=r.transformTo(i.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var o=e;(e=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),e.set(o,this.leftOver.length)}else e=this.leftOver.concat(e);this.leftOver=null}var a=function(t,e){var n;for((e=e||t.length)>t.length&&(e=t.length),n=e-1;0<=n&&128==(192&t[n]);)n--;return n<0||0===n?e:n+s[t[n]]>e?n:e}(e),l=e;a!==e.length&&(i.uint8array?(l=e.subarray(0,a),this.leftOver=e.subarray(a,e.length)):(l=e.slice(0,a),this.leftOver=e.slice(a,e.length))),this.push({data:n.utf8decode(l),meta:t.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=c,r.inherits(u,a),u.prototype.processChunk=function(t){this.push({data:n.utf8encode(t.data),meta:t.meta})},n.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,e,n){var r=t("./support"),i=t("./base64"),o=t("./nodejsUtils"),a=t("./external");function s(t){return t}function l(t,e){for(var n=0;n<t.length;++n)e[n]=255&t.charCodeAt(n);return e}t("setimmediate"),n.newBlob=function(t,e){n.checkSupport("blob");try{return new Blob([t],{type:e})}catch(n){try{var r=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return r.append(t),r.getBlob(e)}catch(t){throw new Error("Bug : can't construct the Blob.")}}};var c={stringifyByChunk:function(t,e,n){var r=[],i=0,o=t.length;if(o<=n)return String.fromCharCode.apply(null,t);for(;i<o;)"array"===e||"nodebuffer"===e?r.push(String.fromCharCode.apply(null,t.slice(i,Math.min(i+n,o)))):r.push(String.fromCharCode.apply(null,t.subarray(i,Math.min(i+n,o)))),i+=n;return r.join("")},stringifyByChar:function(t){for(var e="",n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return e},applyCanBeUsed:{uint8array:function(){try{return r.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(t){return!1}}(),nodebuffer:function(){try{return r.nodebuffer&&1===String.fromCharCode.apply(null,o.allocBuffer(1)).length}catch(t){return!1}}()}};function u(t){var e=65536,r=n.getTypeOf(t),i=!0;if("uint8array"===r?i=c.applyCanBeUsed.uint8array:"nodebuffer"===r&&(i=c.applyCanBeUsed.nodebuffer),i)for(;1<e;)try{return c.stringifyByChunk(t,r,e)}catch(t){e=Math.floor(e/2)}return c.stringifyByChar(t)}function h(t,e){for(var n=0;n<t.length;n++)e[n]=t[n];return e}n.applyFromCharCode=u;var f={};f.string={string:s,array:function(t){return l(t,new Array(t.length))},arraybuffer:function(t){return f.string.uint8array(t).buffer},uint8array:function(t){return l(t,new Uint8Array(t.length))},nodebuffer:function(t){return l(t,o.allocBuffer(t.length))}},f.array={string:u,array:s,arraybuffer:function(t){return new Uint8Array(t).buffer},uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return o.newBufferFrom(t)}},f.arraybuffer={string:function(t){return u(new Uint8Array(t))},array:function(t){return h(new Uint8Array(t),new Array(t.byteLength))},arraybuffer:s,uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return o.newBufferFrom(new Uint8Array(t))}},f.uint8array={string:u,array:function(t){return h(t,new Array(t.length))},arraybuffer:function(t){return t.buffer},uint8array:s,nodebuffer:function(t){return o.newBufferFrom(t)}},f.nodebuffer={string:u,array:function(t){return h(t,new Array(t.length))},arraybuffer:function(t){return f.nodebuffer.uint8array(t).buffer},uint8array:function(t){return h(t,new Uint8Array(t.length))},nodebuffer:s},n.transformTo=function(t,e){if(e=e||"",!t)return e;n.checkSupport(t);var r=n.getTypeOf(e);return f[r][t](e)},n.resolve=function(t){for(var e=t.split("/"),n=[],r=0;r<e.length;r++){var i=e[r];"."===i||""===i&&0!==r&&r!==e.length-1||(".."===i?n.pop():n.push(i))}return n.join("/")},n.getTypeOf=function(t){return"string"==typeof t?"string":"[object Array]"===Object.prototype.toString.call(t)?"array":r.nodebuffer&&o.isBuffer(t)?"nodebuffer":r.uint8array&&t instanceof Uint8Array?"uint8array":r.arraybuffer&&t instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(t){if(!r[t.toLowerCase()])throw new Error(t+" is not supported by this platform")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(t){var e,n,r="";for(n=0;n<(t||"").length;n++)r+="\\x"+((e=t.charCodeAt(n))<16?"0":"")+e.toString(16).toUpperCase();return r},n.delay=function(t,e,n){setImmediate((function(){t.apply(n||null,e||[])}))},n.inherits=function(t,e){function n(){}n.prototype=e.prototype,t.prototype=new n},n.extend=function(){var t,e,n={};for(t=0;t<arguments.length;t++)for(e in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],e)&&void 0===n[e]&&(n[e]=arguments[t][e]);return n},n.prepareContent=function(t,e,o,s,c){return a.Promise.resolve(e).then((function(t){return r.blob&&(t instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(t)))&&"undefined"!=typeof FileReader?new a.Promise((function(e,n){var r=new FileReader;r.onload=function(t){e(t.target.result)},r.onerror=function(t){n(t.target.error)},r.readAsArrayBuffer(t)})):t})).then((function(e){var u,h=n.getTypeOf(e);return h?("arraybuffer"===h?e=n.transformTo("uint8array",e):"string"===h&&(c?e=i.decode(e):o&&!0!==s&&(e=l(u=e,r.uint8array?new Uint8Array(u.length):new Array(u.length)))),e):a.Promise.reject(new Error("Can't read the data of '"+t+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(t,e,n){var r=t("./reader/readerFor"),i=t("./utils"),o=t("./signature"),a=t("./zipEntry"),s=t("./support");function l(t){this.files=[],this.loadOptions=t}l.prototype={checkSignature:function(t){if(!this.reader.readAndCheckSignature(t)){this.reader.index-=4;var e=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+i.pretty(e)+", expected "+i.pretty(t)+")")}},isSignature:function(t,e){var n=this.reader.index;this.reader.setIndex(t);var r=this.reader.readString(4)===e;return this.reader.setIndex(n),r},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var t=this.reader.readData(this.zipCommentLength),e=s.uint8array?"uint8array":"array",n=i.transformTo(e,t);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var t,e,n,r=this.zip64EndOfCentralSize-44;0<r;)t=this.reader.readInt(2),e=this.reader.readInt(4),n=this.reader.readData(e),this.zip64ExtensibleData[t]={id:t,length:e,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var t,e;for(t=0;t<this.files.length;t++)e=this.files[t],this.reader.setIndex(e.localHeaderOffset),this.checkSignature(o.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var t;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER);)(t=new a({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(t);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var t=this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END);if(t<0)throw this.isSignature(0,o.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(t);var e=t;if(this.checkSignature(o.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(t=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(t),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,o.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var r=e-n;if(0<r)this.isSignature(e,o.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw new Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},prepareReader:function(t){this.reader=r(t)},load:function(t){this.prepareReader(t),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},e.exports=l},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(t,e,n){var r=t("./reader/readerFor"),i=t("./utils"),o=t("./compressedObject"),a=t("./crc32"),s=t("./utf8"),l=t("./compressions"),c=t("./support");function u(t,e){this.options=t,this.loadOptions=e}u.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(t){var e,n;if(t.skip(22),this.fileNameLength=t.readInt(2),n=t.readInt(2),this.fileName=t.readData(this.fileNameLength),t.skip(n),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(e=function(t){for(var e in l)if(Object.prototype.hasOwnProperty.call(l,e)&&l[e].magic===t)return l[e];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new o(this.compressedSize,this.uncompressedSize,this.crc32,e,t.readData(this.compressedSize))},readCentralPart:function(t){this.versionMadeBy=t.readInt(2),t.skip(2),this.bitFlag=t.readInt(2),this.compressionMethod=t.readString(2),this.date=t.readDate(),this.crc32=t.readInt(4),this.compressedSize=t.readInt(4),this.uncompressedSize=t.readInt(4);var e=t.readInt(2);if(this.extraFieldsLength=t.readInt(2),this.fileCommentLength=t.readInt(2),this.diskNumberStart=t.readInt(2),this.internalFileAttributes=t.readInt(2),this.externalFileAttributes=t.readInt(4),this.localHeaderOffset=t.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");t.skip(e),this.readExtraFields(t),this.parseZIP64ExtraField(t),this.fileComment=t.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var t=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var t=r(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(t){var e,n,r,i=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4<i;)e=t.readInt(2),n=t.readInt(2),r=t.readData(n),this.extraFields[e]={id:e,length:n,value:r};t.setIndex(i)},handleUTF8:function(){var t=c.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var e=this.findExtraFieldUnicodePath();if(null!==e)this.fileNameStr=e;else{var n=i.transformTo(t,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(null!==r)this.fileCommentStr=r;else{var o=i.transformTo(t,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var t=this.extraFields[28789];if(t){var e=r(t.value);return 1!==e.readInt(1)||a(this.fileName)!==e.readInt(4)?null:s.utf8decode(e.readData(t.length-5))}return null},findExtraFieldUnicodeComment:function(){var t=this.extraFields[25461];if(t){var e=r(t.value);return 1!==e.readInt(1)||a(this.fileComment)!==e.readInt(4)?null:s.utf8decode(e.readData(t.length-5))}return null}},e.exports=u},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(t,e,n){function r(t,e,n){this.name=t,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=e,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}}var i=t("./stream/StreamHelper"),o=t("./stream/DataWorker"),a=t("./utf8"),s=t("./compressedObject"),l=t("./stream/GenericWorker");r.prototype={internalStream:function(t){var e=null,n="string";try{if(!t)throw new Error("No output type specified.");var r="string"===(n=t.toLowerCase())||"text"===n;"binarystring"!==n&&"text"!==n||(n="string"),e=this._decompressWorker();var o=!this._dataBinary;o&&!r&&(e=e.pipe(new a.Utf8EncodeWorker)),!o&&r&&(e=e.pipe(new a.Utf8DecodeWorker))}catch(t){(e=new l("error")).error(t)}return new i(e,n,"")},async:function(t,e){return this.internalStream(t).accumulate(e)},nodeStream:function(t,e){return this.internalStream(t||"nodebuffer").toNodejsStream(e)},_compressWorker:function(t,e){if(this._data instanceof s&&this._data.compression.magic===t.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new a.Utf8EncodeWorker)),s.createWorkerFrom(n,t,e)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof l?this._data:new o(this._data)}};for(var c=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],u=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},h=0;h<c.length;h++)r.prototype[c[h]]=u;e.exports=r},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(t,e,n){(function(t){var n,r,i=t.MutationObserver||t.WebKitMutationObserver;if(i){var o=0,a=new i(u),s=t.document.createTextNode("");a.observe(s,{characterData:!0}),n=function(){s.data=o=++o%2}}else if(t.setImmediate||void 0===t.MessageChannel)n="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var e=t.document.createElement("script");e.onreadystatechange=function(){u(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},t.document.documentElement.appendChild(e)}:function(){setTimeout(u,0)};else{var l=new t.MessageChannel;l.port1.onmessage=u,n=function(){l.port2.postMessage(0)}}var c=[];function u(){var t,e;r=!0;for(var n=c.length;n;){for(e=c,c=[],t=-1;++t<n;)e[t]();n=c.length}r=!1}e.exports=function(t){1!==c.push(t)||r||n()}}).call(this,void 0!==is?is:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(t,e,n){var r=t("immediate");function i(){}var o={},a=["REJECTED"],s=["FULFILLED"],l=["PENDING"];function c(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,t!==i&&d(this,t)}function u(t,e,n){this.promise=t,"function"==typeof e&&(this.onFulfilled=e,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function h(t,e,n){r((function(){var r;try{r=e(n)}catch(e){return o.reject(t,e)}r===t?o.reject(t,new TypeError("Cannot resolve promise with itself")):o.resolve(t,r)}))}function f(t){var e=t&&t.then;if(t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof e)return function(){e.apply(t,arguments)}}function d(t,e){var n=!1;function r(e){n||(n=!0,o.reject(t,e))}function i(e){n||(n=!0,o.resolve(t,e))}var a=p((function(){e(i,r)}));"error"===a.status&&r(a.value)}function p(t,e){var n={};try{n.value=t(e),n.status="success"}catch(t){n.status="error",n.value=t}return n}(e.exports=c).prototype.finally=function(t){if("function"!=typeof t)return this;var e=this.constructor;return this.then((function(n){return e.resolve(t()).then((function(){return n}))}),(function(n){return e.resolve(t()).then((function(){throw n}))}))},c.prototype.catch=function(t){return this.then(null,t)},c.prototype.then=function(t,e){if("function"!=typeof t&&this.state===s||"function"!=typeof e&&this.state===a)return this;var n=new this.constructor(i);return this.state!==l?h(n,this.state===s?t:e,this.outcome):this.queue.push(new u(n,t,e)),n},u.prototype.callFulfilled=function(t){o.resolve(this.promise,t)},u.prototype.otherCallFulfilled=function(t){h(this.promise,this.onFulfilled,t)},u.prototype.callRejected=function(t){o.reject(this.promise,t)},u.prototype.otherCallRejected=function(t){h(this.promise,this.onRejected,t)},o.resolve=function(t,e){var n=p(f,e);if("error"===n.status)return o.reject(t,n.value);var r=n.value;if(r)d(t,r);else{t.state=s,t.outcome=e;for(var i=-1,a=t.queue.length;++i<a;)t.queue[i].callFulfilled(e)}return t},o.reject=function(t,e){t.state=a,t.outcome=e;for(var n=-1,r=t.queue.length;++n<r;)t.queue[n].callRejected(e);return t},c.resolve=function(t){return t instanceof this?t:o.resolve(new this(i),t)},c.reject=function(t){var e=new this(i);return o.reject(e,t)},c.all=function(t){var e=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var n=t.length,r=!1;if(!n)return this.resolve([]);for(var a=new Array(n),s=0,l=-1,c=new this(i);++l<n;)u(t[l],l);return c;function u(t,i){e.resolve(t).then((function(t){a[i]=t,++s!==n||r||(r=!0,o.resolve(c,a))}),(function(t){r||(r=!0,o.reject(c,t))}))}},c.race=function(t){if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var e=t.length,n=!1;if(!e)return this.resolve([]);for(var r,a=-1,s=new this(i);++a<e;)r=t[a],this.resolve(r).then((function(t){n||(n=!0,o.resolve(s,t))}),(function(t){n||(n=!0,o.reject(s,t))}));return s}},{immediate:36}],38:[function(t,e,n){var r={};(0,t("./lib/utils/common").assign)(r,t("./lib/deflate"),t("./lib/inflate"),t("./lib/zlib/constants")),e.exports=r},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(t,e,n){var r=t("./zlib/deflate"),i=t("./utils/common"),o=t("./utils/strings"),a=t("./zlib/messages"),s=t("./zlib/zstream"),l=Object.prototype.toString,c=0,u=-1,h=0,f=8;function d(t){if(!(this instanceof d))return new d(t);this.options=i.assign({level:u,method:f,chunkSize:16384,windowBits:15,memLevel:8,strategy:h,to:""},t||{});var e=this.options;e.raw&&0<e.windowBits?e.windowBits=-e.windowBits:e.gzip&&0<e.windowBits&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(n!==c)throw new Error(a[n]);if(e.header&&r.deflateSetHeader(this.strm,e.header),e.dictionary){var p;if(p="string"==typeof e.dictionary?o.string2buf(e.dictionary):"[object ArrayBuffer]"===l.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,(n=r.deflateSetDictionary(this.strm,p))!==c)throw new Error(a[n]);this._dict_set=!0}}function p(t,e){var n=new d(e);if(n.push(t,!0),n.err)throw n.msg||a[n.err];return n.result}d.prototype.push=function(t,e){var n,a,s=this.strm,u=this.options.chunkSize;if(this.ended)return!1;a=e===~~e?e:!0===e?4:0,"string"==typeof t?s.input=o.string2buf(t):"[object ArrayBuffer]"===l.call(t)?s.input=new Uint8Array(t):s.input=t,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new i.Buf8(u),s.next_out=0,s.avail_out=u),1!==(n=r.deflate(s,a))&&n!==c)return this.onEnd(n),!(this.ended=!0);0!==s.avail_out&&(0!==s.avail_in||4!==a&&2!==a)||("string"===this.options.to?this.onData(o.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((0<s.avail_in||0===s.avail_out)&&1!==n);return 4===a?(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===c):2!==a||(this.onEnd(c),!(s.avail_out=0))},d.prototype.onData=function(t){this.chunks.push(t)},d.prototype.onEnd=function(t){t===c&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},n.Deflate=d,n.deflate=p,n.deflateRaw=function(t,e){return(e=e||{}).raw=!0,p(t,e)},n.gzip=function(t,e){return(e=e||{}).gzip=!0,p(t,e)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(t,e,n){var r=t("./zlib/inflate"),i=t("./utils/common"),o=t("./utils/strings"),a=t("./zlib/constants"),s=t("./zlib/messages"),l=t("./zlib/zstream"),c=t("./zlib/gzheader"),u=Object.prototype.toString;function h(t){if(!(this instanceof h))return new h(t);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&0<=e.windowBits&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(0<=e.windowBits&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),15<e.windowBits&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,e.windowBits);if(n!==a.Z_OK)throw new Error(s[n]);this.header=new c,r.inflateGetHeader(this.strm,this.header)}function f(t,e){var n=new h(e);if(n.push(t,!0),n.err)throw n.msg||s[n.err];return n.result}h.prototype.push=function(t,e){var n,s,l,c,h,f,d=this.strm,p=this.options.chunkSize,m=this.options.dictionary,g=!1;if(this.ended)return!1;s=e===~~e?e:!0===e?a.Z_FINISH:a.Z_NO_FLUSH,"string"==typeof t?d.input=o.binstring2buf(t):"[object ArrayBuffer]"===u.call(t)?d.input=new Uint8Array(t):d.input=t,d.next_in=0,d.avail_in=d.input.length;do{if(0===d.avail_out&&(d.output=new i.Buf8(p),d.next_out=0,d.avail_out=p),(n=r.inflate(d,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&m&&(f="string"==typeof m?o.string2buf(m):"[object ArrayBuffer]"===u.call(m)?new Uint8Array(m):m,n=r.inflateSetDictionary(this.strm,f)),n===a.Z_BUF_ERROR&&!0===g&&(n=a.Z_OK,g=!1),n!==a.Z_STREAM_END&&n!==a.Z_OK)return this.onEnd(n),!(this.ended=!0);d.next_out&&(0!==d.avail_out&&n!==a.Z_STREAM_END&&(0!==d.avail_in||s!==a.Z_FINISH&&s!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(l=o.utf8border(d.output,d.next_out),c=d.next_out-l,h=o.buf2string(d.output,l),d.next_out=c,d.avail_out=p-c,c&&i.arraySet(d.output,d.output,l,c,0),this.onData(h)):this.onData(i.shrinkBuf(d.output,d.next_out)))),0===d.avail_in&&0===d.avail_out&&(g=!0)}while((0<d.avail_in||0===d.avail_out)&&n!==a.Z_STREAM_END);return n===a.Z_STREAM_END&&(s=a.Z_FINISH),s===a.Z_FINISH?(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===a.Z_OK):s!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),!(d.avail_out=0))},h.prototype.onData=function(t){this.chunks.push(t)},h.prototype.onEnd=function(t){t===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},n.Inflate=h,n.inflate=f,n.inflateRaw=function(t,e){return(e=e||{}).raw=!0,f(t,e)},n.ungzip=f},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(t,e,n){var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;n.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var n=e.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var r in n)n.hasOwnProperty(r)&&(t[r]=n[r])}}return t},n.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var i={arraySet:function(t,e,n,r,i){if(e.subarray&&t.subarray)t.set(e.subarray(n,n+r),i);else for(var o=0;o<r;o++)t[i+o]=e[n+o]},flattenChunks:function(t){var e,n,r,i,o,a;for(e=r=0,n=t.length;e<n;e++)r+=t[e].length;for(a=new Uint8Array(r),e=i=0,n=t.length;e<n;e++)o=t[e],a.set(o,i),i+=o.length;return a}},o={arraySet:function(t,e,n,r,i){for(var o=0;o<r;o++)t[i+o]=e[n+o]},flattenChunks:function(t){return[].concat.apply([],t)}};n.setTyped=function(t){t?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,i)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,o))},n.setTyped(r)},{}],42:[function(t,e,n){var r=t("./common"),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(t){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){o=!1}for(var a=new r.Buf8(256),s=0;s<256;s++)a[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function l(t,e){if(e<65537&&(t.subarray&&o||!t.subarray&&i))return String.fromCharCode.apply(null,r.shrinkBuf(t,e));for(var n="",a=0;a<e;a++)n+=String.fromCharCode(t[a]);return n}a[254]=a[254]=1,n.string2buf=function(t){var e,n,i,o,a,s=t.length,l=0;for(o=0;o<s;o++)55296==(64512&(n=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=t.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),l+=n<128?1:n<2048?2:n<65536?3:4;for(e=new r.Buf8(l),o=a=0;a<l;o++)55296==(64512&(n=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=t.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),n<128?e[a++]=n:(n<2048?e[a++]=192|n>>>6:(n<65536?e[a++]=224|n>>>12:(e[a++]=240|n>>>18,e[a++]=128|n>>>12&63),e[a++]=128|n>>>6&63),e[a++]=128|63&n);return e},n.buf2binstring=function(t){return l(t,t.length)},n.binstring2buf=function(t){for(var e=new r.Buf8(t.length),n=0,i=e.length;n<i;n++)e[n]=t.charCodeAt(n);return e},n.buf2string=function(t,e){var n,r,i,o,s=e||t.length,c=new Array(2*s);for(n=r=0;n<s;)if((i=t[n++])<128)c[r++]=i;else if(4<(o=a[i]))c[r++]=65533,n+=o-1;else{for(i&=2===o?31:3===o?15:7;1<o&&n<s;)i=i<<6|63&t[n++],o--;1<o?c[r++]=65533:i<65536?c[r++]=i:(i-=65536,c[r++]=55296|i>>10&1023,c[r++]=56320|1023&i)}return l(c,r)},n.utf8border=function(t,e){var n;for((e=e||t.length)>t.length&&(e=t.length),n=e-1;0<=n&&128==(192&t[n]);)n--;return n<0||0===n?e:n+a[t[n]]>e?n:e}},{"./common":41}],43:[function(t,e,n){e.exports=function(t,e,n,r){for(var i=65535&t|0,o=t>>>16&65535|0,a=0;0!==n;){for(n-=a=2e3<n?2e3:n;o=o+(i=i+e[r++]|0)|0,--a;);i%=65521,o%=65521}return i|o<<16|0}},{}],44:[function(t,e,n){e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(t,e,n){var r=function(){for(var t,e=[],n=0;n<256;n++){t=n;for(var r=0;r<8;r++)t=1&t?3988292384^t>>>1:t>>>1;e[n]=t}return e}();e.exports=function(t,e,n,i){var o=r,a=i+n;t^=-1;for(var s=i;s<a;s++)t=t>>>8^o[255&(t^e[s])];return-1^t}},{}],46:[function(t,e,n){var r,i=t("../utils/common"),o=t("./trees"),a=t("./adler32"),s=t("./crc32"),l=t("./messages"),c=0,u=0,h=-2,f=2,d=8,p=286,m=30,g=19,y=2*p+1,w=15,b=3,v=258,E=v+b+1,_=42,A=113;function M(t,e){return t.msg=l[e],e}function T(t){return(t<<1)-(4<t?9:0)}function x(t){for(var e=t.length;0<=--e;)t[e]=0}function S(t){var e=t.state,n=e.pending;n>t.avail_out&&(n=t.avail_out),0!==n&&(i.arraySet(t.output,e.pending_buf,e.pending_out,n,t.next_out),t.next_out+=n,e.pending_out+=n,t.total_out+=n,t.avail_out-=n,e.pending-=n,0===e.pending&&(e.pending_out=0))}function k(t,e){o._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,S(t.strm)}function C(t,e){t.pending_buf[t.pending++]=e}function D(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function I(t,e){var n,r,i=t.max_chain_length,o=t.strstart,a=t.prev_length,s=t.nice_match,l=t.strstart>t.w_size-E?t.strstart-(t.w_size-E):0,c=t.window,u=t.w_mask,h=t.prev,f=t.strstart+v,d=c[o+a-1],p=c[o+a];t.prev_length>=t.good_match&&(i>>=2),s>t.lookahead&&(s=t.lookahead);do{if(c[(n=e)+a]===p&&c[n+a-1]===d&&c[n]===c[o]&&c[++n]===c[o+1]){o+=2,n++;do{}while(c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&o<f);if(r=v-(f-o),o=f-v,a<r){if(t.match_start=e,s<=(a=r))break;d=c[o+a-1],p=c[o+a]}}}while((e=h[e&u])>l&&0!=--i);return a<=t.lookahead?a:t.lookahead}function R(t){var e,n,r,o,l,c,u,h,f,d,p=t.w_size;do{if(o=t.window_size-t.lookahead-t.strstart,t.strstart>=p+(p-E)){for(i.arraySet(t.window,t.window,p,p,0),t.match_start-=p,t.strstart-=p,t.block_start-=p,e=n=t.hash_size;r=t.head[--e],t.head[e]=p<=r?r-p:0,--n;);for(e=n=p;r=t.prev[--e],t.prev[e]=p<=r?r-p:0,--n;);o+=p}if(0===t.strm.avail_in)break;if(c=t.strm,u=t.window,h=t.strstart+t.lookahead,d=void 0,(f=o)<(d=c.avail_in)&&(d=f),n=0===d?0:(c.avail_in-=d,i.arraySet(u,c.input,c.next_in,d,h),1===c.state.wrap?c.adler=a(c.adler,u,d,h):2===c.state.wrap&&(c.adler=s(c.adler,u,d,h)),c.next_in+=d,c.total_in+=d,d),t.lookahead+=n,t.lookahead+t.insert>=b)for(l=t.strstart-t.insert,t.ins_h=t.window[l],t.ins_h=(t.ins_h<<t.hash_shift^t.window[l+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[l+b-1])&t.hash_mask,t.prev[l&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=l,l++,t.insert--,!(t.lookahead+t.insert<b)););}while(t.lookahead<E&&0!==t.strm.avail_in)}function N(t,e){for(var n,r;;){if(t.lookahead<E){if(R(t),t.lookahead<E&&e===c)return 1;if(0===t.lookahead)break}if(n=0,t.lookahead>=b&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+b-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==n&&t.strstart-n<=t.w_size-E&&(t.match_length=I(t,n)),t.match_length>=b)if(r=o._tr_tally(t,t.strstart-t.match_start,t.match_length-b),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=b){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+b-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart,0!=--t.match_length;);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else r=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(r&&(k(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<b-1?t.strstart:b-1,4===e?(k(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(k(t,!1),0===t.strm.avail_out)?1:2}function O(t,e){for(var n,r,i;;){if(t.lookahead<E){if(R(t),t.lookahead<E&&e===c)return 1;if(0===t.lookahead)break}if(n=0,t.lookahead>=b&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+b-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=b-1,0!==n&&t.prev_length<t.max_lazy_match&&t.strstart-n<=t.w_size-E&&(t.match_length=I(t,n),t.match_length<=5&&(1===t.strategy||t.match_length===b&&4096<t.strstart-t.match_start)&&(t.match_length=b-1)),t.prev_length>=b&&t.match_length<=t.prev_length){for(i=t.strstart+t.lookahead-b,r=o._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-b),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=i&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+b-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!=--t.prev_length;);if(t.match_available=0,t.match_length=b-1,t.strstart++,r&&(k(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((r=o._tr_tally(t,0,t.window[t.strstart-1]))&&k(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(r=o._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<b-1?t.strstart:b-1,4===e?(k(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(k(t,!1),0===t.strm.avail_out)?1:2}function L(t,e,n,r,i){this.good_length=t,this.max_lazy=e,this.nice_length=n,this.max_chain=r,this.func=i}function P(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=d,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(2*y),this.dyn_dtree=new i.Buf16(2*(2*m+1)),this.bl_tree=new i.Buf16(2*(2*g+1)),x(this.dyn_ltree),x(this.dyn_dtree),x(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(w+1),this.heap=new i.Buf16(2*p+1),x(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*p+1),x(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function F(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=f,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?_:A,t.adler=2===e.wrap?0:1,e.last_flush=c,o._tr_init(e),u):M(t,h)}function B(t){var e,n=F(t);return n===u&&((e=t.state).window_size=2*e.w_size,x(e.head),e.max_lazy_match=r[e.level].max_lazy,e.good_match=r[e.level].good_length,e.nice_match=r[e.level].nice_length,e.max_chain_length=r[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=b-1,e.match_available=0,e.ins_h=0),n}function U(t,e,n,r,o,a){if(!t)return h;var s=1;if(-1===e&&(e=6),r<0?(s=0,r=-r):15<r&&(s=2,r-=16),o<1||9<o||n!==d||r<8||15<r||e<0||9<e||a<0||4<a)return M(t,h);8===r&&(r=9);var l=new P;return(t.state=l).strm=t,l.wrap=s,l.gzhead=null,l.w_bits=r,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=o+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+b-1)/b),l.window=new i.Buf8(2*l.w_size),l.head=new i.Buf16(l.hash_size),l.prev=new i.Buf16(l.w_size),l.lit_bufsize=1<<o+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new i.Buf8(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=e,l.strategy=a,l.method=n,B(t)}r=[new L(0,0,0,0,(function(t,e){var n=65535;for(n>t.pending_buf_size-5&&(n=t.pending_buf_size-5);;){if(t.lookahead<=1){if(R(t),0===t.lookahead&&e===c)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var r=t.block_start+n;if((0===t.strstart||t.strstart>=r)&&(t.lookahead=t.strstart-r,t.strstart=r,k(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-E&&(k(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(k(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(k(t,!1),t.strm.avail_out),1)})),new L(4,4,8,4,N),new L(4,5,16,8,N),new L(4,6,32,32,N),new L(4,4,16,16,O),new L(8,16,32,32,O),new L(8,16,128,128,O),new L(8,32,128,256,O),new L(32,128,258,1024,O),new L(32,258,258,4096,O)],n.deflateInit=function(t,e){return U(t,e,d,15,8,0)},n.deflateInit2=U,n.deflateReset=B,n.deflateResetKeep=F,n.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?h:(t.state.gzhead=e,u):h},n.deflate=function(t,e){var n,i,a,l;if(!t||!t.state||5<e||e<0)return t?M(t,h):h;if(i=t.state,!t.output||!t.input&&0!==t.avail_in||666===i.status&&4!==e)return M(t,0===t.avail_out?-5:h);if(i.strm=t,n=i.last_flush,i.last_flush=e,i.status===_)if(2===i.wrap)t.adler=0,C(i,31),C(i,139),C(i,8),i.gzhead?(C(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),C(i,255&i.gzhead.time),C(i,i.gzhead.time>>8&255),C(i,i.gzhead.time>>16&255),C(i,i.gzhead.time>>24&255),C(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),C(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(C(i,255&i.gzhead.extra.length),C(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(t.adler=s(t.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(C(i,0),C(i,0),C(i,0),C(i,0),C(i,0),C(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),C(i,3),i.status=A);else{var f=d+(i.w_bits-8<<4)<<8;f|=(2<=i.strategy||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(f|=32),f+=31-f%31,i.status=A,D(i,f),0!==i.strstart&&(D(i,t.adler>>>16),D(i,65535&t.adler)),t.adler=1}if(69===i.status)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),S(t),a=i.pending,i.pending!==i.pending_buf_size));)C(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),S(t),a=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,C(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),0===l&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),S(t),a=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,C(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),0===l&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&S(t),i.pending+2<=i.pending_buf_size&&(C(i,255&t.adler),C(i,t.adler>>8&255),t.adler=0,i.status=A)):i.status=A),0!==i.pending){if(S(t),0===t.avail_out)return i.last_flush=-1,u}else if(0===t.avail_in&&T(e)<=T(n)&&4!==e)return M(t,-5);if(666===i.status&&0!==t.avail_in)return M(t,-5);if(0!==t.avail_in||0!==i.lookahead||e!==c&&666!==i.status){var p=2===i.strategy?function(t,e){for(var n;;){if(0===t.lookahead&&(R(t),0===t.lookahead)){if(e===c)return 1;break}if(t.match_length=0,n=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,n&&(k(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(k(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(k(t,!1),0===t.strm.avail_out)?1:2}(i,e):3===i.strategy?function(t,e){for(var n,r,i,a,s=t.window;;){if(t.lookahead<=v){if(R(t),t.lookahead<=v&&e===c)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=b&&0<t.strstart&&(r=s[i=t.strstart-1])===s[++i]&&r===s[++i]&&r===s[++i]){a=t.strstart+v;do{}while(r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&i<a);t.match_length=v-(a-i),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=b?(n=o._tr_tally(t,1,t.match_length-b),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(n=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),n&&(k(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(k(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(k(t,!1),0===t.strm.avail_out)?1:2}(i,e):r[i.level].func(i,e);if(3!==p&&4!==p||(i.status=666),1===p||3===p)return 0===t.avail_out&&(i.last_flush=-1),u;if(2===p&&(1===e?o._tr_align(i):5!==e&&(o._tr_stored_block(i,0,0,!1),3===e&&(x(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),S(t),0===t.avail_out))return i.last_flush=-1,u}return 4!==e?u:i.wrap<=0?1:(2===i.wrap?(C(i,255&t.adler),C(i,t.adler>>8&255),C(i,t.adler>>16&255),C(i,t.adler>>24&255),C(i,255&t.total_in),C(i,t.total_in>>8&255),C(i,t.total_in>>16&255),C(i,t.total_in>>24&255)):(D(i,t.adler>>>16),D(i,65535&t.adler)),S(t),0<i.wrap&&(i.wrap=-i.wrap),0!==i.pending?u:1)},n.deflateEnd=function(t){var e;return t&&t.state?(e=t.state.status)!==_&&69!==e&&73!==e&&91!==e&&103!==e&&e!==A&&666!==e?M(t,h):(t.state=null,e===A?M(t,-3):u):h},n.deflateSetDictionary=function(t,e){var n,r,o,s,l,c,f,d,p=e.length;if(!t||!t.state)return h;if(2===(s=(n=t.state).wrap)||1===s&&n.status!==_||n.lookahead)return h;for(1===s&&(t.adler=a(t.adler,e,p,0)),n.wrap=0,p>=n.w_size&&(0===s&&(x(n.head),n.strstart=0,n.block_start=0,n.insert=0),d=new i.Buf8(n.w_size),i.arraySet(d,e,p-n.w_size,n.w_size,0),e=d,p=n.w_size),l=t.avail_in,c=t.next_in,f=t.input,t.avail_in=p,t.next_in=0,t.input=e,R(n);n.lookahead>=b;){for(r=n.strstart,o=n.lookahead-(b-1);n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+b-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++,--o;);n.strstart=r,n.lookahead=b-1,R(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=b-1,n.match_available=0,t.next_in=c,t.input=f,t.avail_in=l,n.wrap=s,u},n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(t,e,n){e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(t,e,n){e.exports=function(t,e){var n,r,i,o,a,s,l,c,u,h,f,d,p,m,g,y,w,b,v,E,_,A,M,T,x;n=t.state,r=t.next_in,T=t.input,i=r+(t.avail_in-5),o=t.next_out,x=t.output,a=o-(e-t.avail_out),s=o+(t.avail_out-257),l=n.dmax,c=n.wsize,u=n.whave,h=n.wnext,f=n.window,d=n.hold,p=n.bits,m=n.lencode,g=n.distcode,y=(1<<n.lenbits)-1,w=(1<<n.distbits)-1;t:do{p<15&&(d+=T[r++]<<p,p+=8,d+=T[r++]<<p,p+=8),b=m[d&y];e:for(;;){if(d>>>=v=b>>>24,p-=v,0==(v=b>>>16&255))x[o++]=65535&b;else{if(!(16&v)){if(0==(64&v)){b=m[(65535&b)+(d&(1<<v)-1)];continue e}if(32&v){n.mode=12;break t}t.msg="invalid literal/length code",n.mode=30;break t}E=65535&b,(v&=15)&&(p<v&&(d+=T[r++]<<p,p+=8),E+=d&(1<<v)-1,d>>>=v,p-=v),p<15&&(d+=T[r++]<<p,p+=8,d+=T[r++]<<p,p+=8),b=g[d&w];n:for(;;){if(d>>>=v=b>>>24,p-=v,!(16&(v=b>>>16&255))){if(0==(64&v)){b=g[(65535&b)+(d&(1<<v)-1)];continue n}t.msg="invalid distance code",n.mode=30;break t}if(_=65535&b,p<(v&=15)&&(d+=T[r++]<<p,(p+=8)<v&&(d+=T[r++]<<p,p+=8)),l<(_+=d&(1<<v)-1)){t.msg="invalid distance too far back",n.mode=30;break t}if(d>>>=v,p-=v,(v=o-a)<_){if(u<(v=_-v)&&n.sane){t.msg="invalid distance too far back",n.mode=30;break t}if(M=f,(A=0)===h){if(A+=c-v,v<E){for(E-=v;x[o++]=f[A++],--v;);A=o-_,M=x}}else if(h<v){if(A+=c+h-v,(v-=h)<E){for(E-=v;x[o++]=f[A++],--v;);if(A=0,h<E){for(E-=v=h;x[o++]=f[A++],--v;);A=o-_,M=x}}}else if(A+=h-v,v<E){for(E-=v;x[o++]=f[A++],--v;);A=o-_,M=x}for(;2<E;)x[o++]=M[A++],x[o++]=M[A++],x[o++]=M[A++],E-=3;E&&(x[o++]=M[A++],1<E&&(x[o++]=M[A++]))}else{for(A=o-_;x[o++]=x[A++],x[o++]=x[A++],x[o++]=x[A++],2<(E-=3););E&&(x[o++]=x[A++],1<E&&(x[o++]=x[A++]))}break}}break}}while(r<i&&o<s);r-=E=p>>3,d&=(1<<(p-=E<<3))-1,t.next_in=r,t.next_out=o,t.avail_in=r<i?i-r+5:5-(r-i),t.avail_out=o<s?s-o+257:257-(o-s),n.hold=d,n.bits=p}},{}],49:[function(t,e,n){var r=t("../utils/common"),i=t("./adler32"),o=t("./crc32"),a=t("./inffast"),s=t("./inftrees"),l=0,c=-2,u=1,h=852,f=592;function d(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function p(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function m(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=u,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new r.Buf32(h),e.distcode=e.distdyn=new r.Buf32(f),e.sane=1,e.back=-1,l):c}function g(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,m(t)):c}function y(t,e){var n,r;return t&&t.state?(r=t.state,e<0?(n=0,e=-e):(n=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15<e)?c:(null!==r.window&&r.wbits!==e&&(r.window=null),r.wrap=n,r.wbits=e,g(t))):c}function w(t,e){var n,r;return t?(r=new p,(t.state=r).window=null,(n=y(t,e))!==l&&(t.state=null),n):c}var b,v,E=!0;function _(t){if(E){var e;for(b=new r.Buf32(512),v=new r.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(s(1,t.lens,0,288,b,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;s(2,t.lens,0,32,v,0,t.work,{bits:5}),E=!1}t.lencode=b,t.lenbits=9,t.distcode=v,t.distbits=5}function A(t,e,n,i){var o,a=t.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new r.Buf8(a.wsize)),i>=a.wsize?(r.arraySet(a.window,e,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(i<(o=a.wsize-a.wnext)&&(o=i),r.arraySet(a.window,e,n-i,o,a.wnext),(i-=o)?(r.arraySet(a.window,e,n-i,i,0),a.wnext=i,a.whave=a.wsize):(a.wnext+=o,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=o))),0}n.inflateReset=g,n.inflateReset2=y,n.inflateResetKeep=m,n.inflateInit=function(t){return w(t,15)},n.inflateInit2=w,n.inflate=function(t,e){var n,h,f,p,m,g,y,w,b,v,E,M,T,x,S,k,C,D,I,R,N,O,L,P,F=0,B=new r.Buf8(4),U=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return c;12===(n=t.state).mode&&(n.mode=13),m=t.next_out,f=t.output,y=t.avail_out,p=t.next_in,h=t.input,g=t.avail_in,w=n.hold,b=n.bits,v=g,E=y,O=l;t:for(;;)switch(n.mode){case u:if(0===n.wrap){n.mode=13;break}for(;b<16;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}if(2&n.wrap&&35615===w){B[n.check=0]=255&w,B[1]=w>>>8&255,n.check=o(n.check,B,2,0),b=w=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&w)<<8)+(w>>8))%31){t.msg="incorrect header check",n.mode=30;break}if(8!=(15&w)){t.msg="unknown compression method",n.mode=30;break}if(b-=4,N=8+(15&(w>>>=4)),0===n.wbits)n.wbits=N;else if(N>n.wbits){t.msg="invalid window size",n.mode=30;break}n.dmax=1<<N,t.adler=n.check=1,n.mode=512&w?10:12,b=w=0;break;case 2:for(;b<16;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}if(n.flags=w,8!=(255&n.flags)){t.msg="unknown compression method",n.mode=30;break}if(57344&n.flags){t.msg="unknown header flags set",n.mode=30;break}n.head&&(n.head.text=w>>8&1),512&n.flags&&(B[0]=255&w,B[1]=w>>>8&255,n.check=o(n.check,B,2,0)),b=w=0,n.mode=3;case 3:for(;b<32;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}n.head&&(n.head.time=w),512&n.flags&&(B[0]=255&w,B[1]=w>>>8&255,B[2]=w>>>16&255,B[3]=w>>>24&255,n.check=o(n.check,B,4,0)),b=w=0,n.mode=4;case 4:for(;b<16;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}n.head&&(n.head.xflags=255&w,n.head.os=w>>8),512&n.flags&&(B[0]=255&w,B[1]=w>>>8&255,n.check=o(n.check,B,2,0)),b=w=0,n.mode=5;case 5:if(1024&n.flags){for(;b<16;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}n.length=w,n.head&&(n.head.extra_len=w),512&n.flags&&(B[0]=255&w,B[1]=w>>>8&255,n.check=o(n.check,B,2,0)),b=w=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(g<(M=n.length)&&(M=g),M&&(n.head&&(N=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,h,p,M,N)),512&n.flags&&(n.check=o(n.check,h,M,p)),g-=M,p+=M,n.length-=M),n.length))break t;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===g)break t;for(M=0;N=h[p+M++],n.head&&N&&n.length<65536&&(n.head.name+=String.fromCharCode(N)),N&&M<g;);if(512&n.flags&&(n.check=o(n.check,h,M,p)),g-=M,p+=M,N)break t}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===g)break t;for(M=0;N=h[p+M++],n.head&&N&&n.length<65536&&(n.head.comment+=String.fromCharCode(N)),N&&M<g;);if(512&n.flags&&(n.check=o(n.check,h,M,p)),g-=M,p+=M,N)break t}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;b<16;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}if(w!==(65535&n.check)){t.msg="header crc mismatch",n.mode=30;break}b=w=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),t.adler=n.check=0,n.mode=12;break;case 10:for(;b<32;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}t.adler=n.check=d(w),b=w=0,n.mode=11;case 11:if(0===n.havedict)return t.next_out=m,t.avail_out=y,t.next_in=p,t.avail_in=g,n.hold=w,n.bits=b,2;t.adler=n.check=1,n.mode=12;case 12:if(5===e||6===e)break t;case 13:if(n.last){w>>>=7&b,b-=7&b,n.mode=27;break}for(;b<3;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}switch(n.last=1&w,b-=1,3&(w>>>=1)){case 0:n.mode=14;break;case 1:if(_(n),n.mode=20,6!==e)break;w>>>=2,b-=2;break t;case 2:n.mode=17;break;case 3:t.msg="invalid block type",n.mode=30}w>>>=2,b-=2;break;case 14:for(w>>>=7&b,b-=7&b;b<32;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}if((65535&w)!=(w>>>16^65535)){t.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&w,b=w=0,n.mode=15,6===e)break t;case 15:n.mode=16;case 16:if(M=n.length){if(g<M&&(M=g),y<M&&(M=y),0===M)break t;r.arraySet(f,h,p,M,m),g-=M,p+=M,y-=M,m+=M,n.length-=M;break}n.mode=12;break;case 17:for(;b<14;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}if(n.nlen=257+(31&w),w>>>=5,b-=5,n.ndist=1+(31&w),w>>>=5,b-=5,n.ncode=4+(15&w),w>>>=4,b-=4,286<n.nlen||30<n.ndist){t.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;b<3;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}n.lens[U[n.have++]]=7&w,w>>>=3,b-=3}for(;n.have<19;)n.lens[U[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,L={bits:n.lenbits},O=s(0,n.lens,0,19,n.lencode,0,n.work,L),n.lenbits=L.bits,O){t.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;k=(F=n.lencode[w&(1<<n.lenbits)-1])>>>16&255,C=65535&F,!((S=F>>>24)<=b);){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}if(C<16)w>>>=S,b-=S,n.lens[n.have++]=C;else{if(16===C){for(P=S+2;b<P;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}if(w>>>=S,b-=S,0===n.have){t.msg="invalid bit length repeat",n.mode=30;break}N=n.lens[n.have-1],M=3+(3&w),w>>>=2,b-=2}else if(17===C){for(P=S+3;b<P;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}b-=S,N=0,M=3+(7&(w>>>=S)),w>>>=3,b-=3}else{for(P=S+7;b<P;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}b-=S,N=0,M=11+(127&(w>>>=S)),w>>>=7,b-=7}if(n.have+M>n.nlen+n.ndist){t.msg="invalid bit length repeat",n.mode=30;break}for(;M--;)n.lens[n.have++]=N}}if(30===n.mode)break;if(0===n.lens[256]){t.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,L={bits:n.lenbits},O=s(1,n.lens,0,n.nlen,n.lencode,0,n.work,L),n.lenbits=L.bits,O){t.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,L={bits:n.distbits},O=s(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,L),n.distbits=L.bits,O){t.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===e)break t;case 20:n.mode=21;case 21:if(6<=g&&258<=y){t.next_out=m,t.avail_out=y,t.next_in=p,t.avail_in=g,n.hold=w,n.bits=b,a(t,E),m=t.next_out,f=t.output,y=t.avail_out,p=t.next_in,h=t.input,g=t.avail_in,w=n.hold,b=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;k=(F=n.lencode[w&(1<<n.lenbits)-1])>>>16&255,C=65535&F,!((S=F>>>24)<=b);){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}if(k&&0==(240&k)){for(D=S,I=k,R=C;k=(F=n.lencode[R+((w&(1<<D+I)-1)>>D)])>>>16&255,C=65535&F,!(D+(S=F>>>24)<=b);){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}w>>>=D,b-=D,n.back+=D}if(w>>>=S,b-=S,n.back+=S,n.length=C,0===k){n.mode=26;break}if(32&k){n.back=-1,n.mode=12;break}if(64&k){t.msg="invalid literal/length code",n.mode=30;break}n.extra=15&k,n.mode=22;case 22:if(n.extra){for(P=n.extra;b<P;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}n.length+=w&(1<<n.extra)-1,w>>>=n.extra,b-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;k=(F=n.distcode[w&(1<<n.distbits)-1])>>>16&255,C=65535&F,!((S=F>>>24)<=b);){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}if(0==(240&k)){for(D=S,I=k,R=C;k=(F=n.distcode[R+((w&(1<<D+I)-1)>>D)])>>>16&255,C=65535&F,!(D+(S=F>>>24)<=b);){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}w>>>=D,b-=D,n.back+=D}if(w>>>=S,b-=S,n.back+=S,64&k){t.msg="invalid distance code",n.mode=30;break}n.offset=C,n.extra=15&k,n.mode=24;case 24:if(n.extra){for(P=n.extra;b<P;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}n.offset+=w&(1<<n.extra)-1,w>>>=n.extra,b-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){t.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===y)break t;if(M=E-y,n.offset>M){if((M=n.offset-M)>n.whave&&n.sane){t.msg="invalid distance too far back",n.mode=30;break}T=M>n.wnext?(M-=n.wnext,n.wsize-M):n.wnext-M,M>n.length&&(M=n.length),x=n.window}else x=f,T=m-n.offset,M=n.length;for(y<M&&(M=y),y-=M,n.length-=M;f[m++]=x[T++],--M;);0===n.length&&(n.mode=21);break;case 26:if(0===y)break t;f[m++]=n.length,y--,n.mode=21;break;case 27:if(n.wrap){for(;b<32;){if(0===g)break t;g--,w|=h[p++]<<b,b+=8}if(E-=y,t.total_out+=E,n.total+=E,E&&(t.adler=n.check=n.flags?o(n.check,f,E,m-E):i(n.check,f,E,m-E)),E=y,(n.flags?w:d(w))!==n.check){t.msg="incorrect data check",n.mode=30;break}b=w=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;b<32;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}if(w!==(4294967295&n.total)){t.msg="incorrect length check",n.mode=30;break}b=w=0}n.mode=29;case 29:O=1;break t;case 30:O=-3;break t;case 31:return-4;default:return c}return t.next_out=m,t.avail_out=y,t.next_in=p,t.avail_in=g,n.hold=w,n.bits=b,(n.wsize||E!==t.avail_out&&n.mode<30&&(n.mode<27||4!==e))&&A(t,t.output,t.next_out,E-t.avail_out)?(n.mode=31,-4):(v-=t.avail_in,E-=t.avail_out,t.total_in+=v,t.total_out+=E,n.total+=E,n.wrap&&E&&(t.adler=n.check=n.flags?o(n.check,f,E,t.next_out-E):i(n.check,f,E,t.next_out-E)),t.data_type=n.bits+(n.last?64:0)+(12===n.mode?128:0)+(20===n.mode||15===n.mode?256:0),(0==v&&0===E||4===e)&&O===l&&(O=-5),O)},n.inflateEnd=function(t){if(!t||!t.state)return c;var e=t.state;return e.window&&(e.window=null),t.state=null,l},n.inflateGetHeader=function(t,e){var n;return t&&t.state?0==(2&(n=t.state).wrap)?c:((n.head=e).done=!1,l):c},n.inflateSetDictionary=function(t,e){var n,r=e.length;return t&&t.state?0!==(n=t.state).wrap&&11!==n.mode?c:11===n.mode&&i(1,e,r,0)!==n.check?-3:A(t,e,r,r)?(n.mode=31,-4):(n.havedict=1,l):c},n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(t,e,n){var r=t("../utils/common"),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(t,e,n,l,c,u,h,f){var d,p,m,g,y,w,b,v,E,_=f.bits,A=0,M=0,T=0,x=0,S=0,k=0,C=0,D=0,I=0,R=0,N=null,O=0,L=new r.Buf16(16),P=new r.Buf16(16),F=null,B=0;for(A=0;A<=15;A++)L[A]=0;for(M=0;M<l;M++)L[e[n+M]]++;for(S=_,x=15;1<=x&&0===L[x];x--);if(x<S&&(S=x),0===x)return c[u++]=20971520,c[u++]=20971520,f.bits=1,0;for(T=1;T<x&&0===L[T];T++);for(S<T&&(S=T),A=D=1;A<=15;A++)if(D<<=1,(D-=L[A])<0)return-1;if(0<D&&(0===t||1!==x))return-1;for(P[1]=0,A=1;A<15;A++)P[A+1]=P[A]+L[A];for(M=0;M<l;M++)0!==e[n+M]&&(h[P[e[n+M]]++]=M);if(w=0===t?(N=F=h,19):1===t?(N=i,O-=257,F=o,B-=257,256):(N=a,F=s,-1),A=T,y=u,C=M=R=0,m=-1,g=(I=1<<(k=S))-1,1===t&&852<I||2===t&&592<I)return 1;for(;;){for(b=A-C,E=h[M]<w?(v=0,h[M]):h[M]>w?(v=F[B+h[M]],N[O+h[M]]):(v=96,0),d=1<<A-C,T=p=1<<k;c[y+(R>>C)+(p-=d)]=b<<24|v<<16|E|0,0!==p;);for(d=1<<A-1;R&d;)d>>=1;if(0!==d?(R&=d-1,R+=d):R=0,M++,0==--L[A]){if(A===x)break;A=e[n+h[M]]}if(S<A&&(R&g)!==m){for(0===C&&(C=S),y+=T,D=1<<(k=A-C);k+C<x&&!((D-=L[k+C])<=0);)k++,D<<=1;if(I+=1<<k,1===t&&852<I||2===t&&592<I)return 1;c[m=R&g]=S<<24|k<<16|y-u|0}}return 0!==R&&(c[y+R]=A-C<<24|64<<16|0),f.bits=S,0}},{"../utils/common":41}],51:[function(t,e,n){e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(t,e,n){var r=t("../utils/common");function i(t){for(var e=t.length;0<=--e;)t[e]=0}var o=256,a=286,s=30,l=15,c=16,u=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],h=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],f=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],d=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],p=new Array(576);i(p);var m=new Array(60);i(m);var g=new Array(512);i(g);var y=new Array(256);i(y);var w=new Array(29);i(w);var b,v,E,_=new Array(s);function A(t,e,n,r,i){this.static_tree=t,this.extra_bits=e,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=t&&t.length}function M(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function T(t){return t<256?g[t]:g[256+(t>>>7)]}function x(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function S(t,e,n){t.bi_valid>c-n?(t.bi_buf|=e<<t.bi_valid&65535,x(t,t.bi_buf),t.bi_buf=e>>c-t.bi_valid,t.bi_valid+=n-c):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=n)}function k(t,e,n){S(t,n[2*e],n[2*e+1])}function C(t,e){for(var n=0;n|=1&t,t>>>=1,n<<=1,0<--e;);return n>>>1}function D(t,e,n){var r,i,o=new Array(l+1),a=0;for(r=1;r<=l;r++)o[r]=a=a+n[r-1]<<1;for(i=0;i<=e;i++){var s=t[2*i+1];0!==s&&(t[2*i]=C(o[s]++,s))}}function I(t){var e;for(e=0;e<a;e++)t.dyn_ltree[2*e]=0;for(e=0;e<s;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function R(t){8<t.bi_valid?x(t,t.bi_buf):0<t.bi_valid&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function N(t,e,n,r){var i=2*e,o=2*n;return t[i]<t[o]||t[i]===t[o]&&r[e]<=r[n]}function O(t,e,n){for(var r=t.heap[n],i=n<<1;i<=t.heap_len&&(i<t.heap_len&&N(e,t.heap[i+1],t.heap[i],t.depth)&&i++,!N(e,r,t.heap[i],t.depth));)t.heap[n]=t.heap[i],n=i,i<<=1;t.heap[n]=r}function L(t,e,n){var r,i,a,s,l=0;if(0!==t.last_lit)for(;r=t.pending_buf[t.d_buf+2*l]<<8|t.pending_buf[t.d_buf+2*l+1],i=t.pending_buf[t.l_buf+l],l++,0===r?k(t,i,e):(k(t,(a=y[i])+o+1,e),0!==(s=u[a])&&S(t,i-=w[a],s),k(t,a=T(--r),n),0!==(s=h[a])&&S(t,r-=_[a],s)),l<t.last_lit;);k(t,256,e)}function P(t,e){var n,r,i,o=e.dyn_tree,a=e.stat_desc.static_tree,s=e.stat_desc.has_stree,c=e.stat_desc.elems,u=-1;for(t.heap_len=0,t.heap_max=573,n=0;n<c;n++)0!==o[2*n]?(t.heap[++t.heap_len]=u=n,t.depth[n]=0):o[2*n+1]=0;for(;t.heap_len<2;)o[2*(i=t.heap[++t.heap_len]=u<2?++u:0)]=1,t.depth[i]=0,t.opt_len--,s&&(t.static_len-=a[2*i+1]);for(e.max_code=u,n=t.heap_len>>1;1<=n;n--)O(t,o,n);for(i=c;n=t.heap[1],t.heap[1]=t.heap[t.heap_len--],O(t,o,1),r=t.heap[1],t.heap[--t.heap_max]=n,t.heap[--t.heap_max]=r,o[2*i]=o[2*n]+o[2*r],t.depth[i]=(t.depth[n]>=t.depth[r]?t.depth[n]:t.depth[r])+1,o[2*n+1]=o[2*r+1]=i,t.heap[1]=i++,O(t,o,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1],function(t,e){var n,r,i,o,a,s,c=e.dyn_tree,u=e.max_code,h=e.stat_desc.static_tree,f=e.stat_desc.has_stree,d=e.stat_desc.extra_bits,p=e.stat_desc.extra_base,m=e.stat_desc.max_length,g=0;for(o=0;o<=l;o++)t.bl_count[o]=0;for(c[2*t.heap[t.heap_max]+1]=0,n=t.heap_max+1;n<573;n++)m<(o=c[2*c[2*(r=t.heap[n])+1]+1]+1)&&(o=m,g++),c[2*r+1]=o,u<r||(t.bl_count[o]++,a=0,p<=r&&(a=d[r-p]),s=c[2*r],t.opt_len+=s*(o+a),f&&(t.static_len+=s*(h[2*r+1]+a)));if(0!==g){do{for(o=m-1;0===t.bl_count[o];)o--;t.bl_count[o]--,t.bl_count[o+1]+=2,t.bl_count[m]--,g-=2}while(0<g);for(o=m;0!==o;o--)for(r=t.bl_count[o];0!==r;)u<(i=t.heap[--n])||(c[2*i+1]!==o&&(t.opt_len+=(o-c[2*i+1])*c[2*i],c[2*i+1]=o),r--)}}(t,e),D(o,u,t.bl_count)}function F(t,e,n){var r,i,o=-1,a=e[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),e[2*(n+1)+1]=65535,r=0;r<=n;r++)i=a,a=e[2*(r+1)+1],++s<l&&i===a||(s<c?t.bl_tree[2*i]+=s:0!==i?(i!==o&&t.bl_tree[2*i]++,t.bl_tree[32]++):s<=10?t.bl_tree[34]++:t.bl_tree[36]++,o=i,c=(s=0)===a?(l=138,3):i===a?(l=6,3):(l=7,4))}function B(t,e,n){var r,i,o=-1,a=e[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),r=0;r<=n;r++)if(i=a,a=e[2*(r+1)+1],!(++s<l&&i===a)){if(s<c)for(;k(t,i,t.bl_tree),0!=--s;);else 0!==i?(i!==o&&(k(t,i,t.bl_tree),s--),k(t,16,t.bl_tree),S(t,s-3,2)):s<=10?(k(t,17,t.bl_tree),S(t,s-3,3)):(k(t,18,t.bl_tree),S(t,s-11,7));o=i,c=(s=0)===a?(l=138,3):i===a?(l=6,3):(l=7,4)}}i(_);var U=!1;function j(t,e,n,i){var o,a,s;S(t,0+(i?1:0),3),a=e,s=n,R(o=t),x(o,s),x(o,~s),r.arraySet(o.pending_buf,o.window,a,s,o.pending),o.pending+=s}n._tr_init=function(t){U||(function(){var t,e,n,r,i,o=new Array(l+1);for(r=n=0;r<28;r++)for(w[r]=n,t=0;t<1<<u[r];t++)y[n++]=r;for(y[n-1]=r,r=i=0;r<16;r++)for(_[r]=i,t=0;t<1<<h[r];t++)g[i++]=r;for(i>>=7;r<s;r++)for(_[r]=i<<7,t=0;t<1<<h[r]-7;t++)g[256+i++]=r;for(e=0;e<=l;e++)o[e]=0;for(t=0;t<=143;)p[2*t+1]=8,t++,o[8]++;for(;t<=255;)p[2*t+1]=9,t++,o[9]++;for(;t<=279;)p[2*t+1]=7,t++,o[7]++;for(;t<=287;)p[2*t+1]=8,t++,o[8]++;for(D(p,287,o),t=0;t<s;t++)m[2*t+1]=5,m[2*t]=C(t,5);b=new A(p,u,257,a,l),v=new A(m,h,0,s,l),E=new A(new Array(0),f,0,19,7)}(),U=!0),t.l_desc=new M(t.dyn_ltree,b),t.d_desc=new M(t.dyn_dtree,v),t.bl_desc=new M(t.bl_tree,E),t.bi_buf=0,t.bi_valid=0,I(t)},n._tr_stored_block=j,n._tr_flush_block=function(t,e,n,r){var i,a,s=0;0<t.level?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,n=4093624447;for(e=0;e<=31;e++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<o;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),P(t,t.l_desc),P(t,t.d_desc),s=function(t){var e;for(F(t,t.dyn_ltree,t.l_desc.max_code),F(t,t.dyn_dtree,t.d_desc.max_code),P(t,t.bl_desc),e=18;3<=e&&0===t.bl_tree[2*d[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),i=t.opt_len+3+7>>>3,(a=t.static_len+3+7>>>3)<=i&&(i=a)):i=a=n+5,n+4<=i&&-1!==e?j(t,e,n,r):4===t.strategy||a===i?(S(t,2+(r?1:0),3),L(t,p,m)):(S(t,4+(r?1:0),3),function(t,e,n,r){var i;for(S(t,e-257,5),S(t,n-1,5),S(t,r-4,4),i=0;i<r;i++)S(t,t.bl_tree[2*d[i]+1],3);B(t,t.dyn_ltree,e-1),B(t,t.dyn_dtree,n-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,s+1),L(t,t.dyn_ltree,t.dyn_dtree)),I(t),r&&R(t)},n._tr_tally=function(t,e,n){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(y[n]+o+1)]++,t.dyn_dtree[2*T(e)]++),t.last_lit===t.lit_bufsize-1},n._tr_align=function(t){var e;S(t,2,3),k(t,256,p),16===(e=t).bi_valid?(x(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}},{"../utils/common":41}],53:[function(t,e,n){e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(t,e,n){(function(t){!function(t,e){if(!t.setImmediate){var n,r,i,o,a=1,s={},l=!1,c=t.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(t);u=u&&u.setTimeout?u:t,n="[object process]"==={}.toString.call(t.process)?function(t){zs.nextTick((function(){f(t)}))}:function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?(o="setImmediate$"+Math.random()+"$",t.addEventListener?t.addEventListener("message",d,!1):t.attachEvent("onmessage",d),function(e){t.postMessage(o+e,"*")}):t.MessageChannel?((i=new MessageChannel).port1.onmessage=function(t){f(t.data)},function(t){i.port2.postMessage(t)}):c&&"onreadystatechange"in c.createElement("script")?(r=c.documentElement,function(t){var e=c.createElement("script");e.onreadystatechange=function(){f(t),e.onreadystatechange=null,r.removeChild(e),e=null},r.appendChild(e)}):function(t){setTimeout(f,0,t)},u.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),r=0;r<e.length;r++)e[r]=arguments[r+1];var i={callback:t,args:e};return s[a]=i,n(a),a++},u.clearImmediate=h}function h(t){delete s[t]}function f(t){if(l)setTimeout(f,0,t);else{var n=s[t];if(n){l=!0;try{!function(t){var n=t.callback,r=t.args;switch(r.length){case 0:n();break;case 1:n(r[0]);break;case 2:n(r[0],r[1]);break;case 3:n(r[0],r[1],r[2]);break;default:n.apply(e,r)}}(n)}finally{h(t),l=!1}}}}function d(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(o)&&f(+e.data.slice(o.length))}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,void 0!==is?is:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[10])(10)}(tg);const eg=os(tg.exports);var ng={exports:{}},rg={"&":"&amp;",'"':"&quot;","'":"&apos;","<":"&lt;",">":"&gt;"},ig=function(t){return t&&t.replace?t.replace(/([&"<>'])/g,(function(t,e){return rg[e]})):t},og=Yc.Stream;function ag(t,e,n){n=n||0;var r,i,o=(r=e,new Array(n||0).join(r||"")),a=t;if("object"==typeof t&&(a=t[i=Object.keys(t)[0]])&&a._elem)return a._elem.name=i,a._elem.icount=n,a._elem.indent=e,a._elem.indents=o,a._elem.interrupt=a,a._elem;var s,l=[],c=[];function u(t){Object.keys(t).forEach((function(e){l.push(function(t,e){return t+'="'+ig(e)+'"'}(e,t[e]))}))}switch(typeof a){case"object":if(null===a)break;a._attr&&u(a._attr),a._cdata&&c.push(("<![CDATA["+a._cdata).replace(/\]\]>/g,"]]]]><![CDATA[>")+"]]>"),a.forEach&&(s=!1,c.push(""),a.forEach((function(t){"object"==typeof t?"_attr"==Object.keys(t)[0]?u(t._attr):c.push(ag(t,e,n+1)):(c.pop(),s=!0,c.push(ig(t)))})),s||c.push(""));break;default:c.push(ig(a))}return{name:i,interrupt:!1,attributes:l,content:c,icount:n,indents:o,indent:e}}function sg(t,e,n){if("object"!=typeof e)return t(!1,e);var r=e.interrupt?1:e.content.length;function i(){for(;e.content.length;){var i=e.content.shift();if(void 0!==i){if(o(i))return;sg(t,i)}}t(!1,(r>1?e.indents:"")+(e.name?"</"+e.name+">":"")+(e.indent&&!n?"\n":"")),n&&n()}function o(e){return!!e.interrupt&&(e.interrupt.append=t,e.interrupt.end=i,e.interrupt=!1,t(!0),!0)}if(t(!1,e.indents+(e.name?"<"+e.name:"")+(e.attributes.length?" "+e.attributes.join(" "):"")+(r?e.name?">":"":e.name?"/>":"")+(e.indent&&r>1?"\n":"")),!r)return t(!1,e.indent?"\n":"");o(e)||i()}ng.exports=function(t,e){"object"!=typeof e&&(e={indent:e});var n,r,i=e.stream?new og:null,o="",a=!1,s=e.indent?!0===e.indent?"    ":e.indent:"",l=!0;function c(t){l?zs.nextTick(t):t()}function u(t,e){if(void 0!==e&&(o+=e),t&&!a&&(i=i||new og,a=!0),t&&a){var n=o;c((function(){i.emit("data",n)})),o=""}}function h(t,e){sg(u,ag(t,s,s?1:0),e)}function f(){if(i){var t=o;c((function(){i.emit("data",t),i.emit("end"),i.readable=!1,i.emit("close")}))}}return c((function(){l=!1})),e.declaration&&(r={version:"1.0",encoding:(n=e.declaration).encoding||"UTF-8"},n.standalone&&(r.standalone=n.standalone),h({"?xml":{_attr:r}}),o=o.replace("/>","?>")),t&&t.forEach?t.forEach((function(e,n){var r;n+1===t.length&&(r=f),h(e,r)})):h(t,f),i?(i.readable=!0,i):o},ng.exports.element=ng.exports.Element=function(){var t={_elem:ag(Array.prototype.slice.call(arguments)),push:function(t){if(!this.append)throw new Error("not assigned to a parent!");var e=this,n=this._elem.indent;sg(this.append,ag(t,n,this._elem.icount+(n?1:0)),(function(){e.append(!0)}))},close:function(t){void 0!==t&&this.push(t),this.end&&this.end()}};return t};const lg=os(ng.exports),cg=(t,e)=>{const n=e.replace(/-/g,"");if(32!==n.length)throw new Error(`Error: Cannot extract GUID from font filename: ${e}`);const r=n.replace(/(..)/g,"$1 ").trim().split(" ").map((t=>parseInt(t,16)));r.reverse();const i=t.slice(0,32).map(((t,e)=>t^r[e%r.length]));return Ua.concat([t.slice(0,0),i,t.slice(32)])};class ug{format(t,e={stack:[]}){const n=t.prepForXml(e);if(n)return n;throw Error("XMLComponent did not format correctly")}}class hg{replace(t,e,n){let r=t;return e.forEach(((t,e)=>{r=r.replace(new RegExp(`{${t.fileName}}`,"g"),(n+e).toString())})),r}getMediaData(t,e){return e.Array.filter((e=>t.search(`{${e.fileName}}`)>0))}}class fg{replace(t,e){let n=t;for(const t of e)n=n.replace(new RegExp(`{${t.reference}-${t.instance}}`,"g"),t.numId.toString());return n}}const dg=t=>!0===t?"  ":!1===t?void 0:t;class pg{static toString(t,e){return Za(this,null,(function*(){const n=this.compiler.compile(t,dg(e));return yield n.generateAsync({type:"string",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})}))}static toBuffer(t,e){return Za(this,null,(function*(){const n=this.compiler.compile(t,dg(e));return yield n.generateAsync({type:"nodebuffer",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})}))}static toBase64String(t,e){return Za(this,null,(function*(){const n=this.compiler.compile(t,dg(e));return yield n.generateAsync({type:"base64",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})}))}static toBlob(t,e){return Za(this,null,(function*(){const n=this.compiler.compile(t,dg(e));return yield n.generateAsync({type:"blob",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})}))}static toStream(t,e){const n=new Yc.Stream;return this.compiler.compile(t,dg(e)).generateAsync({type:"nodebuffer",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"}).then((t=>{n.emit("data",t),n.emit("end")})),n}}function mg(){}async function gg(t,e){const n=e.children||[];let r=[];for(const i of n){const n=t.handlers[i.type]||mg,o=await n(t,i,e,r);o&&(r=r.concat(o))}return r}function yg(t){return async(e,n)=>{"string"==typeof t&&(t={[t]:!0}),Object.assign(e.style,t);const r=await gg(e,n);return Object.keys(t).forEach((t=>{delete e.style[t]})),r}}Xa(pg,"compiler",new class{constructor(){Xa(this,"formatter"),Xa(this,"imageReplacer"),Xa(this,"numberingReplacer"),this.formatter=new ug,this.imageReplacer=new hg,this.numberingReplacer=new fg}compile(t,e){const n=new eg,r=this.xmlifyFile(t,e),i=new Map(Object.entries(r));for(const[,t]of i)if(Array.isArray(t))for(const e of t)n.file(e.path,e.data);else n.file(t.path,t.data);for(const{stream:e,fileName:r}of t.Media.Array)n.file(`word/media/${r}`,e);for(const{data:e,name:r,fontKey:i}of t.FontTable.fontOptionsWithKey){const[t]=r.split(".");n.file(`word/fonts/${t}.odttf`,cg(e,i))}return n}xmlifyFile(t,e){const n=t.Document.Relationships.RelationshipCount+1,r=lg(this.formatter.format(t.Document.View,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{standalone:"yes",encoding:"UTF-8"}}),i=this.imageReplacer.getMediaData(r,t.Media);return{Relationships:{data:(()=>(i.forEach(((e,r)=>{t.Document.Relationships.createRelationship(n+r,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${e.fileName}`)})),lg(this.formatter.format(t.Document.Relationships,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}})))(),path:"word/_rels/document.xml.rels"},Document:{data:(()=>{const e=this.imageReplacer.replace(r,i,n);return this.numberingReplacer.replace(e,t.Numbering.ConcreteNumbering)})(),path:"word/document.xml"},Styles:{data:(()=>{const n=lg(this.formatter.format(t.Styles,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{standalone:"yes",encoding:"UTF-8"}});return this.numberingReplacer.replace(n,t.Numbering.ConcreteNumbering)})(),path:"word/styles.xml"},Properties:{data:lg(this.formatter.format(t.CoreProperties,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/core.xml"},Numbering:{data:lg(this.formatter.format(t.Numbering,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/numbering.xml"},FileRelationships:{data:lg(this.formatter.format(t.FileRelationships,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}}),path:"_rels/.rels"},HeaderRelationships:t.Headers.map(((n,r)=>{const i=lg(this.formatter.format(n.View,{viewWrapper:n,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}});return this.imageReplacer.getMediaData(i,t.Media).forEach(((t,e)=>{n.Relationships.createRelationship(e,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${t.fileName}`)})),{data:lg(this.formatter.format(n.Relationships,{viewWrapper:n,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}}),path:`word/_rels/header${r+1}.xml.rels`}})),FooterRelationships:t.Footers.map(((n,r)=>{const i=lg(this.formatter.format(n.View,{viewWrapper:n,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}});return this.imageReplacer.getMediaData(i,t.Media).forEach(((t,e)=>{n.Relationships.createRelationship(e,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${t.fileName}`)})),{data:lg(this.formatter.format(n.Relationships,{viewWrapper:n,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}}),path:`word/_rels/footer${r+1}.xml.rels`}})),Headers:t.Headers.map(((n,r)=>{const i=lg(this.formatter.format(n.View,{viewWrapper:n,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}}),o=this.imageReplacer.getMediaData(i,t.Media),a=this.imageReplacer.replace(i,o,0);return{data:this.numberingReplacer.replace(a,t.Numbering.ConcreteNumbering),path:`word/header${r+1}.xml`}})),Footers:t.Footers.map(((n,r)=>{const i=lg(this.formatter.format(n.View,{viewWrapper:n,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}}),o=this.imageReplacer.getMediaData(i,t.Media),a=this.imageReplacer.replace(i,o,0);return{data:this.numberingReplacer.replace(a,t.Numbering.ConcreteNumbering),path:`word/footer${r+1}.xml`}})),ContentTypes:{data:lg(this.formatter.format(t.ContentTypes,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}}),path:"[Content_Types].xml"},CustomProperties:{data:lg(this.formatter.format(t.CustomProperties,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/custom.xml"},AppProperties:{data:lg(this.formatter.format(t.AppProperties,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/app.xml"},FootNotes:{data:lg(this.formatter.format(t.FootNotes.View,{viewWrapper:t.FootNotes,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}}),path:"word/footnotes.xml"},FootNotesRelationships:{data:lg(this.formatter.format(t.FootNotes.Relationships,{viewWrapper:t.FootNotes,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}}),path:"word/_rels/footnotes.xml.rels"},Settings:{data:lg(this.formatter.format(t.Settings,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/settings.xml"},Comments:{data:lg(this.formatter.format(t.Comments,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/comments.xml"},FontTable:{data:lg(this.formatter.format(t.FontTable.View,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/fontTable.xml"},FontTableRelationships:{data:(()=>lg(this.formatter.format(t.FontTable.Relationships,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}}))(),path:"word/_rels/fontTable.xml.rels"}}}}),new ug,new ug,new hg;const wg=["Heading1","Heading2","Heading3","Heading4","Heading5","Heading6"];function bg(t,e){const n=e.split("/");let r=t;for(;r&&n.length;){const t=n.shift();r=r.root.find((e=>e.rootKey===t))}return r}const vg={width:5943600,height:1828800},Eg={width:1828800,height:914400},_g={left:null,right:"right",center:"center",justify:"both",distribute:"distribute"},Ag={top:"top",middle:"center",bottom:"bottom"};async function Mg(t,e,n,r){e.alignment=_g[e.align||t.table.align?.[r.length]];const i=await gg(t,e),o=[];let a=[];for(let t=0;t<i.length;t+=1){const n=i[t];n instanceof Kd||n instanceof pp?(a.length&&o.push(new Kd({alignment:e.alignment,children:a})),o.push(n),a=[]):a.push(n)}a.length&&o.push(new Kd({alignment:e.alignment,children:a}));const s=function(t){for(const e of Object.keys(t))void 0!==t[e]&&null!==t[e]||delete t[e];return t}({children:o,verticalAlign:Ag[e.valign],columnSpan:e.data?.colSpan??e.colSpan,rowSpan:e.data?.rowSpan??e.rowSpan});return n.tableHeader&&(s.shading={fill:"F4CCCD",type:"clear",color:"auto"}),new ap(s)}const Tg={blockquote:async(t,e)=>{t.paragraphStyle="Quote";const n=await gg(t,e);return delete t.paragraphStyle,n},bookmark:async function(t,e){const n=await gg(t,e);return new fd({id:e.anchor,children:n})},break:function(){return new Ch({text:"",break:1})},code:function(t,e,n){const r=e.value.split("\n").map(((t,e)=>new Ch({text:t,break:e>0?1:0})));return new Kd({children:r,style:"CodeBlock",alignment:n.alignment})},delete:yg("strike"),emphasis:yg("italics"),gridTable:async function(t,e){let n=1;const r=[];for(const t of function*(t){for(const e of t.children)if("gtRow"===e.type)yield e;else for(const t of e.children)yield t}(e)){let e=r.shift()||0;for(const n of t.children){const t=Number.parseInt(n.data?.rowSpan||"1",10),i=Number.parseInt(n.data?.colSpan||"1",10);if(e+=i,t>1)for(let e=0;e<t-1;e+=1)r[e]=(r[e]||0)+i}n=Math.max(n,e)}const i=t.table;t.table={width:i?.columnWidth||9360,align:e.align||[]},t.table.columnWidth=n?t.table.width/n:t.table.width;const o=new Array(n).fill(Math.round(t.table.columnWidth)),a=await gg(t,e);return t.table=i,[new pp({style:"PageBlock",rows:a,columnWidths:o,width:{size:100,type:Zd.PERCENTAGE}}),new Kd([])]},gtBody:gg,gtCell:Mg,gtFooter:gg,gtHeader:gg,gtRow:async function(t,e,n){const r=await gg(t,e);return new wp({children:r,tableHeader:"gtHeader"===n.type||void 0})},heading:async function(t,e,n){const r=await gg(t,e);return e.anchor&&r.unshift(new fd({id:e.anchor,children:[]})),new Kd({heading:wg[e.depth-1],children:r,alignment:n.alignment})},html:function(t,e,n){if("\x3c!----\x3e"===e.value)return;const r=new Ch({color:"ff0000",text:e.value});return"paragraph"===n.type?r:new Kd({children:[r]})},image:async function(t,e){const{data:n}=e;if(!n)return;let r=9525*n.dimensions.width,i=9525*n.dimensions.height;const o=t.tableAlign?Eg:vg;r>o.width&&(i=Math.round(o.width*i/r),r=o.width),i>o.height&&(r=Math.round(o.height*r/i),i=o.height);const a={stream:n.buffer,fileName:n.key,transformation:{pixels:{x:Math.round(n.dimensions.width),y:Math.round(n.dimensions.height)},emus:{x:r,y:i}}},s=new jf(a,{floating:!1,docProperties:{title:e.title||"",description:e.alt||"",name:e.title||e.alt||""}}),l=new Hf({data:n.buffer,transformation:n.dimensions}),c=bg(l,"w:drawing"),u=l.root.indexOf(c);u>=0&&l.root.splice(u,1),l.root.push(s),l.key=n.key,l.imageData=a;class h extends Ja{constructor(t){super("asvg:svgBlip"),this.imageData=t,this.addChildElement(new es({"xmlns:asvg":"http://schemas.microsoft.com/office/drawing/2016/SVG/main","r:embed":`rId{${t.fileName}}`}))}prepForXml(t){return this.imageData.stream&&t.file.Media.addImage(this.imageData.fileName,this.imageData),t.file.contentTypes.root.find((t=>"Default"===t.rootKey&&("svg"===t.root[0].root.extension||"svg"===t.root[0].root.Extension)))||t.file.contentTypes.root.push(new Ja("Default").addChildElement(new es({ContentType:"image/svg+xml",Extension:"svg"}))),super.prepForXml(t)}}if("image/svg"===n.originalType){const t=new Hf({data:n.originalBuffer,transformation:n.dimensions});t.imageData.fileName=n.svgKey;const e=bg(s,"wp:inline/a:graphic/a:graphicData/pic:pic/pic:blipFill");bg(e,"a:blip").addChildElement(new Ja("a:extLst").addChildElement(new Ja("a:ext").addChildElement(new es({uri:"{28A0092B-C50C-407E-A947-70E740481C1C}"})).addChildElement(new Ja("a14:useLocalDpi").addChildElement(new es({"xmlns:a14":"http://schemas.microsoft.com/office/drawing/2010/main",val:"0"})))).addChildElement(new Ja("a:ext").addChildElement(new es({uri:"{96DAC541-7B7A-43D3-8B79-37D633B846F1}"})).addChildElement(new h(t.imageData))))}return l},inlineCode:function(t,e){return new Ch({text:e.value,style:"InlineCode"})},link:async function(t,e){const n=[];t.style.style="Hyperlink";const r=await gg(t,e);if(r.findIndex((t=>t instanceof Hf))>=0)for(const r of await gg(t,e))r instanceof Hf?n.push(r,new Ch({text:"",break:1}),new cd({children:[new Ch({text:e.url,style:"Hyperlink"})],link:e.url}),new Ch({text:"",break:1})):n.push(new cd({children:[r],link:e.url}));else e.url.startsWith("#")?n.push(new ld({children:r,anchor:e.anchor})):n.push(new cd({children:r,link:e.url}));return delete t.style.style,n},list:async function(t,e){const{ordered:n,start:r}=e;t.listLevel+=1;let i=t.lists[t.listLevel];i||(i={level:t.listLevel,number:r||1,instance:1},t.lists[t.listLevel]=i),r&&r<i.number&&(i.number=r,i.instance+=1),i.numbering=n?"default-numbering":"default-bullets";const o=await gg(t,e);return t.listLevel-=1,o},listItem:function(t,e){return gg(t,e)},paragraph:async function(t,e,n){t.style={};for(let t=0;t<e.children.length;t+=1){const n=e.children[t];"paragraph"===n.type&&e.children.splice(t,1,...n.children)}const r={children:await gg(t,e),alignment:n.alignment};if(t.listLevel>=0){const e=t.lists[t.listLevel];e.numbering?(r.numbering={reference:e.numbering,level:e.level,instance:e.instance},e.number+=1):r.bullet={level:e.level}}else t.paragraphStyle&&(r.style=t.paragraphStyle);return new Kd(r)},root:function(t,e){return gg(t,e)},strong:yg("bold"),subscript:yg("subScript"),superscript:yg("superScript"),table:async function(t,e){let n=e.maxCols;e.children.length>0&&(e.children[0].tableHeader=!0,n||(n=e.children[0].children.length));const r=t.table;t.table={width:r?.columnWidth||9360,align:e.align||[]},t.table.columnWidth=n?t.table.width/n:t.table.width;const i=new Array(n).fill(Math.round(t.table.columnWidth)),o=await gg(t,e);return t.table=r,[new pp({style:"PageBlock",rows:o,columnWidths:i,width:{size:100,type:Zd.PERCENTAGE}}),new Kd([])]},tableCell:Mg,tableRow:async function(t,e){const n=await gg(t,e);return new wp({children:n})},text:function(t,e){return new Ch({...t.style,text:e.value.replace(/\s+/g," ")})},thematicBreak:function(){return new Kd({text:"---",spacing:{before:250,after:250}})},underline:yg("underline")},xg={config:[{reference:"default-numbering",levels:function(){const t=[],e=["decimal","lowerLetter","lowerRoman"],n=[".","",""];for(let r=0;r<6;r+=1)t.push({level:r,format:e[r%3],text:`%${r+1}${n[r%3]}`,alignment:zu,style:{paragraph:{indent:{left:Dh(10*(r+1)),hanging:Dh(5)}}}});return t}()},{reference:"default-bullets",levels:function(){const t=[];for(let e=0;e<6;e+=1)t.push({level:e,format:Qp,text:"-",alignment:zu,style:{paragraph:{indent:{left:Dh(5*(e+1)),hanging:Dh(5)}}}});return t}()}]};function Sg(t){const e=[];let n;if(t.forEach((t=>{"tableRow"===t.type?(n&&(t.children=n.concat(t.children),n=void 0),e.push(t)):(n||(n=[]),n.push(t))})),n){const t=e[e.length-1];t.children=t.children.concat(n)}return e.forEach((t=>{t.children=function(t){const e=[];let n;if(t.forEach((t=>{"tableCell"===t.type?(n&&(t.children=n.concat(t.children),n=void 0),e.push(t)):(n||(n=[]),n.push(t))})),n){let t=e[e.length-1];t||(t={type:"tableCell",children:[]},e.push(t)),t.children=t.children.concat(n)}return e}(t.children)})),e}function kg(t,e){const n={type:"table",children:Sg(t.all(e)),align:[],maxCols:0},r=[];for(const t of n.children){t.numCols=r.shift()||0;for(const e of t.children){const i=Number.parseInt(e.data?.rowSpan||"1",10),o=Number.parseInt(e.data?.colSpan||"1",10);if(e.data?.align&&!n.align[t.numCols]&&(n.align[t.numCols]=e.data.align),t.numCols+=o,i>1)for(let t=0;t<i-1;t+=1)r[t]=(r[t]||0)+o}n.maxCols=Math.max(n.maxCols,t.numCols)}for(const t of n.children){for(let e=t.numCols;e<n.maxCols;e+=1)t.children.push({type:"tableCell",children:[]});delete t.numCols}return n}function Cg(t,e){const n=t.wrapText;t.wrapText=!1;const r={type:"tableCell",children:t.all(e)};if(t.patch(e,r),e.properties?.rowSpan||e.properties?.colSpan||e.properties?.align){const t=r.data||(r.data={});e.properties.rowSpan&&(t.rowSpan=e.properties.rowSpan),e.properties.colSpan&&(t.colSpan=e.properties.colSpan),e.properties.align&&(t.align=e.properties.align)}return t.wrapText=n,r}function Dg(t){return(e,n)=>{const r={type:t,children:e.all(n)};return e.patch(n,r),r}}function Ig(t,e){const n=e.properties||{},r=t.all(e),i={type:"link",url:t.resolve(String(n.href||"")||null),title:n.title?String(n.title):null,anchor:n.name??n.id,children:r};return t.patch(e,i),i}function Rg(t){if(!t.children)return t;for(let e=0;e<t.children.length;e+=1){const n=t.children[e];"paragraph"===n.type?(t.children.splice(e,1,...n.children),e+=n.children.length-1):t.children[e]=Rg(n)}return t}function Ng(t){return["paragraph","underline","subscript","superscript","heading","emphasis","strong","link","linkReference","tableCell","delete","footnote"].includes(t.type)}var Og=n(1565),Lg=n(4767),Pg=n(5949);const Fg={"application/prs.cww":["cww"],"application/prs.xsf+xml":["xsf"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["*xfdf"],"application/vnd.age":["age"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["*fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["*mpp","mpt"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.pwg-xhtml-print+xml":["xhtm"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml","uo"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["*prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["*sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["*aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif","btf"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.cld":["cld"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.pytha.pyox":["pyo","pyox"],"model/vnd.sap.vds":["vds"],"model/vnd.usda":["usda"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.familysearch.gedcom":["ged"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]};Object.freeze(Fg);const Bg=Fg,Ug={"application/andrew-inset":["ez"],"application/appinstaller":["appinstaller"],"application/applixware":["aw"],"application/appx":["appx"],"application/appxbundle":["appxbundle"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/automationml-aml+xml":["aml"],"application/automationml-amlx+zip":["amlx"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cpl+xml":["cpl"],"application/cu-seeme":["cu"],"application/cwl":["cwl"],"application/dash+xml":["mpd"],"application/dash-patch+xml":["mpp"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdf":["fdf"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["*js"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/media-policy-dataset+xml":["mpf"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["*mp4","*mpg4","mp4s","m4p"],"application/msix":["msix"],"application/msixbundle":["msixbundle"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-keys":["asc"],"application/pgp-signature":["sig","*asc"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/sql":["sql"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/watcherinfo+xml":["wif"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xfdf":["xfdf"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/aac":["adts","aac"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avci":["avci"],"image/avcs":["avcs"],"image/avif":["avif"],"image/bmp":["bmp","dib"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/dpx":["dpx"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm","jpgm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/jt":["jt"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/prc":["prc"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/u3d":["u3d"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/javascript":["js","mjs"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["md","markdown"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/wgsl":["wgsl"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","*jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]};Object.freeze(Ug);const jg=Ug;var Hg,zg,qg,Wg=function(t,e,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(t):r?r.value:e.get(t)};Hg=new WeakMap,zg=new WeakMap,qg=new WeakMap;const Gg=new class{constructor(...t){Hg.set(this,new Map),zg.set(this,new Map),qg.set(this,new Map);for(const e of t)this.define(e)}define(t,e=!1){for(let[n,r]of Object.entries(t)){n=n.toLowerCase(),r=r.map((t=>t.toLowerCase())),Wg(this,qg,"f").has(n)||Wg(this,qg,"f").set(n,new Set);const t=Wg(this,qg,"f").get(n);let i=!0;for(let o of r){const r=o.startsWith("*");if(o=r?o.slice(1):o,t?.add(o),i&&Wg(this,zg,"f").set(n,o),i=!1,r)continue;const a=Wg(this,Hg,"f").get(o);if(a&&a!=n&&!e)throw new Error(`"${n} -> ${o}" conflicts with "${a} -> ${o}". Pass \`force=true\` to override this definition.`);Wg(this,Hg,"f").set(o,n)}}return this}getType(t){if("string"!=typeof t)return null;const e=t.replace(/^.*[/\\]/,"").toLowerCase(),n=e.replace(/^.*\./,"").toLowerCase(),r=e.length<t.length;return n.length<e.length-1||!r?Wg(this,Hg,"f").get(n)??null:null}getExtension(t){return"string"!=typeof t?null:(t=t?.split?.(";")[0],(t&&Wg(this,zg,"f").get(t.trim().toLowerCase()))??null)}getAllExtensions(t){return"string"!=typeof t?null:Wg(this,qg,"f").get(t.toLowerCase())??null}_freeze(){this.define=()=>{throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances")},Object.freeze(this);for(const t of Wg(this,qg,"f").values())Object.freeze(t);return this}_getTestState(){return{types:Wg(this,Hg,"f"),extensions:Wg(this,zg,"f")}}}(jg,Bg)._freeze();var Kg=n(8287).Buffer;const Yg=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g;Object.hasOwnProperty;class Vg{constructor(){this.occurrences={}}slug(t){let e=function(t,e){return"string"!=typeof t?"":(e||(t=t.toLowerCase()),t.replace(Yg,"").replace(/ /g,"-"))}(t).replace(/^\d+-+/,"");const n=e;for(;e in this.occurrences;)this.occurrences[n]+=1,e=`${n}-${this.occurrences[n]}`;return this.occurrences[e]=0,e}}var Xg=n(8287).Buffer;async function Zg(t,e={}){const{log:n=console,resourceLoader:r,image2png:o}=e;let{stylesXML:a=null}=e;const s={handlers:Tg,style:{},paragraphStyle:"",images:{},listLevel:-1,lists:[],log:n,image2png:o,resourceLoader:r};t=function(t){const e=[];return bi(t,((t,n,r)=>{const{children:i=[]}=r||{};if("html"===t.type){let a=i.length-1;for(;a>=n&&"html"!==i[a].type;)a-=1;let s=t.value;a>n&&i.splice(n+1,a-n).forEach((t=>{"html"===t.type||"text"===t.type?s+=t.value:(s+=`<markdown idx="${e.length}">foo</markdown>`,e.push(t))})),Ng(r)&&(s=`<p>${s}</p>`);const l=Uo(C().use(Ir,{fragment:!0}).parse(s),{document:!1,handlers:{...So,a:Ig,u:Dg("underline"),sub:Dg("subscript"),sup:Dg("superscript"),table:kg,markdown:(o=e,(t,e)=>{const{idx:n}=e.properties;return o[+n]}),th:Cg,td:Cg}});if(e.length=0,Ng(r))Rg(l);else{let t;for(let e=0;e<l.children.length;e+=1){const n=l.children[e];"underline"===n.type||"subscript"===n.type||"superscript"===n.type?(Rg(n),t?(t.children.push(n),l.children.splice(e,1),e-=1):(t={type:"paragraph",children:[n]},l.children.splice(e,1,t))):t=null}}return i.splice(n,1,...l.children),n+l.children.length}var o;return bi.CONTINUE})),t}(t),await async function(t,e){const{log:n,resourceLoader:r,image2png:i}=t,o={}.HELIX_FETCH_FORCE_HTTP1?(0,Lg.h1)():(0,Lg.context)(),{fetch:a}=o,s=[];bi(e,(t=>("image"===t.type&&t.url&&s.push(t),bi.CONTINUE)));let l=0;await async function(t,e,n=8){if("object"!=typeof t)throw Error("invalid queue argument: iterable expected");const r=[],i=[],o=n=>{const o=e(n,t,i);o?.then?(r.push(o),o.then((t=>{void 0!==t&&i.push(t)})).catch((()=>{})).finally((()=>{r.splice(r.indexOf(o),1)}))):void 0!==o&&i.push(o)},a=Array.isArray(t)?function*(t){for(;t.length;)yield t.shift()}(t):t;if(!a||!("next"in a))throw Error("invalid queue argument: iterable expected");for await(const t of a){for(;r.length>=n;)await Promise.race(r);o(t)}return await Promise.all(r),i}(s,(async e=>{try{const o=Og.createHash("sha1").update(e.url).digest("hex");if(e.data=t.images[o],e.data)return;const s=String(l).padStart(2," ");let c;l+=1;let u,h,f,d="application/octet-stream",p={width:100,height:100};if(e.url.startsWith("data:")){const[t,r]=e.url.substring(5).split(","),[i,o]=t.split(";");if("base64"!==o)return void n.warn(`[${s}] Error decoding data url. unknown encoding: ${o}`);c=Kg.from(r,"base64"),d=i}else{n.info(`[${s}] GET ${e.url}`);let t=a;if(e.url.startsWith("res:")){if(!r)return void n.warn(`[${s}] Error loading image ${e.url}. resource loader missing.`);t=r.fetch.bind(r)}const i=await t(e.url);if(!i.ok){const t=await i.text();return void n.error(`[${s}] ${i.status} ${t}`)}c=await i.buffer(),d=i.headers.get("content-type"),n.info(`[${s}] ${i.status} ${function(t,e=2){if(0===t)return"0   ";const n=e<0?0:e,r=Math.floor(Math.log(t)/Math.log(1024));return`${parseFloat((t/1024**r).toFixed(n))} ${["  ","KB","MB","GB","TB","PB","EB","ZB","YB"][r]}`}(c.length).padStart(10)} ${d}`)}try{p=Pg(c),d=Gg.getType(p.type)}catch(t){u=!0,n.warn(`[${s}] Error detecting dimensions: ${t} ${d}`)}if(u||(u="application/octet-stream"===d||d.startsWith("image/")&&"image/png"!==d&&"image/jpg"!==d&&"image/jpeg"!==d&&"image/gif"!==d),u&&i)try{const t=await i({src:e.url,data:c,type:d});t&&(h=c,f=d,c=t.data,d=t.type,p={width:t.width,height:t.height})}catch(t){n.warn(`[${s}] Error to convert to png`,t)}const m=Gg.getExtension(d);e.data={ext:m,key:`${o}.${m}`,buffer:c,originalBuffer:h,type:d,originalType:f,dimensions:p},t.images[o]=e.data}catch(t){n.error(`Cannot download image ${e.url}: ${t.message}`)}}),8),o.reset()}(s,t),await function(t){const e={},n=new Vg,r=t=>{let n=e[t];return n||(n={links:[],heading:null,bookmark:null},e[t]=n),n};bi(t,(t=>{if("link"===t.type&&t.url.startsWith("#"))r(t.url).links.push(t),"#"===t.url&&(t.anchor="_top");else if("link"===t.type&&t.anchor)t.type="bookmark",r(`#${t.anchor}`).bookmark=t;else if("heading"===t.type){const e=`#${n.slug(so(t))}`;r(e).heading=t}return bi.CONTINUE}));const i={};Object.keys(e).forEach((t=>{const n=e[t];if(n.heading){let t=`_${so(n.heading).split(/\s+/).slice(0,3).join("_")}`.substring(0,36);const e=t;for(;t in i;)i[e]+=1,t=`${e}${i[e]}`;i[t]=0,n.heading.anchor=t;for(const e of n.links)e.anchor=t}else if(n.bookmark){const{anchor:t}=n.bookmark;for(const e of n.links)e.anchor=t}}))}(t);const l=await gg(s,t);if(!a){const t=Ba.fileURLToPath?i.dirname(Ba.fileURLToPath("file:///C:/git/iaas/arumsey/tools/importer/helix-importer-ui/node_modules/@adobe/helix-md2docx/src/mdast2docx/index.js")):"./";a=await(0,Fa.readFile)(i.resolve(t,"template","word","styles.xml"),"utf-8")}const c=new Qm({numbering:xg,externalStyles:a,sections:[{children:l}]}),u=c.numbering.concreteNumberingMap.get("default-bullet-numbering");u.root[0].root.numId=1,u.numId=1;for(const t of c.numbering.abstractNumberingMap.values())t.root.forEach((t=>{if("w:lvl"!==t.rootKey)return;const e=bg(t,"w:lvlJc");if(e){const n=t.root.indexOf(e);t.root.splice(n,1),t.root.push(e)}}));let h=await pg.toBuffer(c);return h instanceof Uint8Array&&(h=Xg.from(h)),h}function $g(t,e,n,r){const i=t.length;let o,a=0;if(e=e<0?-e>i?0:i+e:e>i?i:e,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(e,n),t.splice(...o);else for(n&&t.splice(e,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(e,0),t.splice(...o),a+=1e4,e+=1e4}function Qg(t,e){return t.length>0?($g(t,t.length,0,e),t):e}function Jg(t){const e={};let n,r,i,o,a,s,l,c=-1;for(;++c<t.length;){for(;c in e;)c=e[c];if(n=t[c],c&&"chunkFlow"===n[1].type&&"listItemPrefix"===t[c-1][1].type&&(s=n[1]._tokenizer.events,i=0,i<s.length&&"lineEndingBlank"===s[i][1].type&&(i+=2),i<s.length&&"content"===s[i][1].type))for(;++i<s.length&&"content"!==s[i][1].type;)"chunkText"===s[i][1].type&&(s[i][1]._isInFirstContentOfListItem=!0,i++);if("enter"===n[0])n[1].contentType&&(Object.assign(e,ty(t,c)),c=e[c],l=!0);else if(n[1]._container){for(i=c,r=void 0;i--&&(o=t[i],"lineEnding"===o[1].type||"lineEndingBlank"===o[1].type);)"enter"===o[0]&&(r&&(t[r][1].type="lineEndingBlank"),o[1].type="lineEnding",r=i);r&&(n[1].end=Object.assign({},t[r][1].start),a=t.slice(r,c),a.unshift(n),$g(t,r,c-r+1,a))}}return!l}function ty(t,e){const n=t[e][1],r=t[e][2];let i=e-1;const o=[],a=n._tokenizer||r.parser[n.contentType](n.start),s=a.events,l=[],c={};let u,h,f=-1,d=n,p=0,m=0;const g=[m];for(;d;){for(;t[++i][1]!==d;);o.push(i),d._tokenizer||(u=r.sliceStream(d),d.next||u.push(null),h&&a.defineSkip(d.start),d._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(u),d._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),h=d,d=d.next}for(d=n;++f<s.length;)"exit"===s[f][0]&&"enter"===s[f-1][0]&&s[f][1].type===s[f-1][1].type&&s[f][1].start.line!==s[f][1].end.line&&(m=f+1,g.push(m),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(a.events=[],d?(d._tokenizer=void 0,d.previous=void 0):g.pop(),f=g.length;f--;){const e=s.slice(g[f],g[f+1]),n=o.pop();l.unshift([n,n+e.length-1]),$g(t,n,2,e)}for(f=-1;++f<l.length;)c[p+l[f][0]]=p+l[f][1],p+=l[f][1]-l[f][0]-1;return c}function ey(t){for(;!Jg(t););return t}const ny={}.hasOwnProperty;function ry(t){const e={};let n=-1;for(;++n<t.length;)iy(e,t[n]);return e}function iy(t,e){let n;for(n in e){const r=(ny.call(t,n)?t[n]:void 0)||(t[n]={}),i=e[n];let o;if(i)for(o in i){ny.call(r,o)||(r[o]=[]);const t=i[o];oy(r[o],Array.isArray(t)?t:t?[t]:[])}}}function oy(t,e){let n=-1;const r=[];for(;++n<e.length;)("after"===e[n].add?t:r).push(e[n]);$g(t,0,0,r)}const ay=wy(/[A-Za-z]/),sy=wy(/[\dA-Za-z]/),ly=wy(/[#-'*+\--9=?A-Z^-~]/);function cy(t){return null!==t&&(t<32||127===t)}const uy=wy(/\d/),hy=wy(/[\dA-Fa-f]/),fy=wy(/[!-/:-@[-`{-~]/);function dy(t){return null!==t&&t<-2}function py(t){return null!==t&&(t<0||32===t)}function my(t){return-2===t||-1===t||32===t}const gy=wy(/\p{P}|\p{S}/u),yy=wy(/\s/);function wy(t){return function(e){return null!==e&&e>-1&&t.test(String.fromCharCode(e))}}function by(t,e,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return function(r){return my(r)?(t.enter(n),a(r)):e(r)};function a(r){return my(r)&&o++<i?(t.consume(r),a):(t.exit(n),e(r))}}const vy={tokenize:function(t){const e=t.attempt(this.parser.constructs.contentInitial,(function(n){if(null!==n)return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),by(t,e,"linePrefix");t.consume(n)}),(function(e){return t.enter("paragraph"),r(e)}));let n;return e;function r(e){const r=t.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,i(e)}function i(e){return null===e?(t.exit("chunkText"),t.exit("paragraph"),void t.consume(e)):dy(e)?(t.consume(e),t.exit("chunkText"),r):(t.consume(e),i)}}},Ey={tokenize:function(t){const e=this,n=[];let r,i,o,a=0;return s;function s(r){if(a<n.length){const i=n[a];return e.containerState=i[1],t.attempt(i[0].continuation,l,c)(r)}return c(r)}function l(t){if(a++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,r&&w();const n=e.events.length;let i,o=n;for(;o--;)if("exit"===e.events[o][0]&&"chunkFlow"===e.events[o][1].type){i=e.events[o][1].end;break}y(a);let s=n;for(;s<e.events.length;)e.events[s][1].end=Object.assign({},i),s++;return $g(e.events,o+1,0,e.events.slice(n)),e.events.length=s,c(t)}return s(t)}function c(i){if(a===n.length){if(!r)return f(i);if(r.currentConstruct&&r.currentConstruct.concrete)return p(i);e.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return e.containerState={},t.check(_y,u,h)(i)}function u(t){return r&&w(),y(a),f(t)}function h(t){return e.parser.lazy[e.now().line]=a!==n.length,o=e.now().offset,p(t)}function f(n){return e.containerState={},t.attempt(_y,d,p)(n)}function d(t){return a++,n.push([e.currentConstruct,e.containerState]),f(t)}function p(n){return null===n?(r&&w(),y(0),void t.consume(n)):(r=r||e.parser.flow(e.now()),t.enter("chunkFlow",{contentType:"flow",previous:i,_tokenizer:r}),m(n))}function m(n){return null===n?(g(t.exit("chunkFlow"),!0),y(0),void t.consume(n)):dy(n)?(t.consume(n),g(t.exit("chunkFlow")),a=0,e.interrupt=void 0,s):(t.consume(n),m)}function g(t,n){const s=e.sliceStream(t);if(n&&s.push(null),t.previous=i,i&&(i.next=t),i=t,r.defineSkip(t.start),r.write(s),e.parser.lazy[t.start.line]){let t=r.events.length;for(;t--;)if(r.events[t][1].start.offset<o&&(!r.events[t][1].end||r.events[t][1].end.offset>o))return;const n=e.events.length;let i,s,l=n;for(;l--;)if("exit"===e.events[l][0]&&"chunkFlow"===e.events[l][1].type){if(i){s=e.events[l][1].end;break}i=!0}for(y(a),t=n;t<e.events.length;)e.events[t][1].end=Object.assign({},s),t++;$g(e.events,l+1,0,e.events.slice(n)),e.events.length=t}}function y(r){let i=n.length;for(;i-- >r;){const r=n[i];e.containerState=r[1],r[0].exit.call(e,t)}n.length=r}function w(){r.write([null]),i=void 0,r=void 0,e.containerState._closeFlow=void 0}}},_y={tokenize:function(t,e,n){return by(t,t.attempt(this.parser.constructs.document,e,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},Ay={tokenize:function(t,e,n){return function(e){return my(e)?by(t,r,"linePrefix")(e):r(e)};function r(t){return null===t||dy(t)?e(t):n(t)}},partial:!0},My={tokenize:function(t,e){let n;return function(e){return t.enter("content"),n=t.enter("chunkContent",{contentType:"content"}),r(e)};function r(e){return null===e?i(e):dy(e)?t.check(Ty,o,i)(e):(t.consume(e),r)}function i(n){return t.exit("chunkContent"),t.exit("content"),e(n)}function o(e){return t.consume(e),t.exit("chunkContent"),n.next=t.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(t){return Jg(t),t}},Ty={tokenize:function(t,e,n){const r=this;return function(e){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),by(t,i,"linePrefix")};function i(i){if(null===i||dy(i))return n(i);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?e(i):t.interrupt(r.parser.constructs.flow,n,e)(i)}},partial:!0},xy={tokenize:function(t){const e=this,n=t.attempt(Ay,(function(r){if(null!==r)return t.enter("lineEndingBlank"),t.consume(r),t.exit("lineEndingBlank"),e.currentConstruct=void 0,n;t.consume(r)}),t.attempt(this.parser.constructs.flowInitial,r,by(t,t.attempt(this.parser.constructs.flow,r,t.attempt(My,r)),"linePrefix")));return n;function r(r){if(null!==r)return t.enter("lineEnding"),t.consume(r),t.exit("lineEnding"),e.currentConstruct=void 0,n;t.consume(r)}}},Sy={resolveAll:Iy()},ky=Dy("string"),Cy=Dy("text");function Dy(t){return{tokenize:function(e){const n=this,r=this.parser.constructs[t],i=e.attempt(r,o,a);return o;function o(t){return l(t)?i(t):a(t)}function a(t){if(null!==t)return e.enter("data"),e.consume(t),s;e.consume(t)}function s(t){return l(t)?(e.exit("data"),i(t)):(e.consume(t),s)}function l(t){if(null===t)return!0;const e=r[t];let i=-1;if(e)for(;++i<e.length;){const t=e[i];if(!t.previous||t.previous.call(n,n.previous))return!0}return!1}},resolveAll:Iy("text"===t?Ry:void 0)}}function Iy(t){return function(e,n){let r,i=-1;for(;++i<=e.length;)void 0===r?e[i]&&"data"===e[i][1].type&&(r=i,i++):e[i]&&"data"===e[i][1].type||(i!==r+2&&(e[r][1].end=e[i-1][1].end,e.splice(r+2,i-r-2),i=r+2),r=void 0);return t?t(e,n):e}}function Ry(t,e){let n=0;for(;++n<=t.length;)if((n===t.length||"lineEnding"===t[n][1].type)&&"data"===t[n-1][1].type){const r=t[n-1][1],i=e.sliceStream(r);let o,a=i.length,s=-1,l=0;for(;a--;){const t=i[a];if("string"==typeof t){for(s=t.length;32===t.charCodeAt(s-1);)l++,s--;if(s)break;s=-1}else if(-2===t)o=!0,l++;else if(-1!==t){a++;break}}if(l){const i={type:n===t.length||o||l<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-l,offset:r.end.offset-l,_index:r.start._index+a,_bufferIndex:a?s:r.start._bufferIndex+s},end:Object.assign({},r.end)};r.end=Object.assign({},i.start),r.start.offset===r.end.offset?Object.assign(r,i):(t.splice(n,0,["enter",i,e],["exit",i,e]),n+=2)}n++}return t}function Ny(t,e,n){const r=[];let i=-1;for(;++i<t.length;){const o=t[i].resolveAll;o&&!r.includes(o)&&(e=o(e,n),r.push(o))}return e}function Oy(t,e,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},o=[];let a=[],s=[],l=!0;const c={consume:function(t){dy(t)?(r.line++,r.column=1,r.offset+=-3===t?2:1,b()):-1!==t&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=t,l=!0},enter:function(t,e){const n=e||{};return n.type=t,n.start=p(),u.events.push(["enter",n,u]),s.push(n),n},exit:function(t){const e=s.pop();return e.end=p(),u.events.push(["exit",e,u]),e},attempt:y((function(t,e){w(t,e.from)})),check:y(g),interrupt:y(g,{interrupt:!0})},u={previous:null,code:null,containerState:{},events:[],parser:t,sliceStream:d,sliceSerialize:function(t,e){return function(t,e){let n=-1;const r=[];let i;for(;++n<t.length;){const o=t[n];let a;if("string"==typeof o)a=o;else switch(o){case-5:a="\r";break;case-4:a="\n";break;case-3:a="\r\n";break;case-2:a=e?" ":"\t";break;case-1:if(!e&&i)continue;a=" ";break;default:a=String.fromCharCode(o)}i=-2===o,r.push(a)}return r.join("")}(d(t),e)},now:p,defineSkip:function(t){i[t.line]=t.column,b()},write:function(t){return a=Qg(a,t),function(){let t;for(;r._index<a.length;){const e=a[r._index];if("string"==typeof e)for(t=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===t&&r._bufferIndex<e.length;)m(e.charCodeAt(r._bufferIndex));else m(e)}}(),null!==a[a.length-1]?[]:(w(e,0),u.events=Ny(o,u.events,u),u.events)}};let h,f=e.tokenize.call(u,c);return e.resolveAll&&o.push(e),u;function d(t){return function(t,e){const n=e.start._index,r=e.start._bufferIndex,i=e.end._index,o=e.end._bufferIndex;let a;if(n===i)a=[t[n].slice(r,o)];else{if(a=t.slice(n,i),r>-1){const t=a[0];"string"==typeof t?a[0]=t.slice(r):a.shift()}o>0&&a.push(t[i].slice(0,o))}return a}(a,t)}function p(){const{line:t,column:e,offset:n,_index:i,_bufferIndex:o}=r;return{line:t,column:e,offset:n,_index:i,_bufferIndex:o}}function m(t){l=void 0,h=t,f=f(t)}function g(t,e){e.restore()}function y(t,e){return function(n,i,o){let a,h,f,d;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):function(t){return function(e){const n=null!==e&&t[e],r=null!==e&&t.null;return m([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(e)}}(n);function m(t){return a=t,h=0,0===t.length?o:g(t[h])}function g(t){return function(n){return d=function(){const t=p(),e=u.previous,n=u.currentConstruct,i=u.events.length,o=Array.from(s);return{restore:function(){r=t,u.previous=e,u.currentConstruct=n,u.events.length=i,s=o,b()},from:i}}(),f=t,t.partial||(u.currentConstruct=t),t.name&&u.parser.constructs.disable.null.includes(t.name)?w():t.tokenize.call(e?Object.assign(Object.create(u),e):u,c,y,w)(n)}}function y(e){return l=!0,t(f,d),i}function w(t){return l=!0,d.restore(),++h<a.length?g(a[h]):o}}}function w(t,e){t.resolveAll&&!o.includes(t)&&o.push(t),t.resolve&&$g(u.events,e,u.events.length-e,t.resolve(u.events.slice(e),u)),t.resolveTo&&(u.events=t.resolveTo(u.events,u))}function b(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}const Ly={name:"thematicBreak",tokenize:function(t,e,n){let r,i=0;return function(e){return t.enter("thematicBreak"),function(t){return r=t,o(t)}(e)};function o(o){return o===r?(t.enter("thematicBreakSequence"),a(o)):i>=3&&(null===o||dy(o))?(t.exit("thematicBreak"),e(o)):n(o)}function a(e){return e===r?(t.consume(e),i++,a):(t.exit("thematicBreakSequence"),my(e)?by(t,o,"whitespace")(e):o(e))}}},Py={name:"list",tokenize:function(t,e,n){const r=this,i=r.events[r.events.length-1];let o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,a=0;return function(e){const i=r.containerState.type||(42===e||43===e||45===e?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||e===r.containerState.marker:uy(e)){if(r.containerState.type||(r.containerState.type=i,t.enter(i,{_container:!0})),"listUnordered"===i)return t.enter("listItemPrefix"),42===e||45===e?t.check(Ly,n,l)(e):l(e);if(!r.interrupt||49===e)return t.enter("listItemPrefix"),t.enter("listItemValue"),s(e)}return n(e)};function s(e){return uy(e)&&++a<10?(t.consume(e),s):(!r.interrupt||a<2)&&(r.containerState.marker?e===r.containerState.marker:41===e||46===e)?(t.exit("listItemValue"),l(e)):n(e)}function l(e){return t.enter("listItemMarker"),t.consume(e),t.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||e,t.check(Ay,r.interrupt?n:c,t.attempt(Fy,h,u))}function c(t){return r.containerState.initialBlankLine=!0,o++,h(t)}function u(e){return my(e)?(t.enter("listItemPrefixWhitespace"),t.consume(e),t.exit("listItemPrefixWhitespace"),h):n(e)}function h(n){return r.containerState.size=o+r.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(n)}},continuation:{tokenize:function(t,e,n){const r=this;return r.containerState._closeFlow=void 0,t.check(Ay,(function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,by(t,e,"listItemIndent",r.containerState.size+1)(n)}),(function(n){return r.containerState.furtherBlankLines||!my(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,t.attempt(By,e,i)(n))}));function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,by(t,t.attempt(Py,e,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(t){t.exit(this.containerState.type)}},Fy={tokenize:function(t,e,n){const r=this;return by(t,(function(t){const i=r.events[r.events.length-1];return!my(t)&&i&&"listItemPrefixWhitespace"===i[1].type?e(t):n(t)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},By={tokenize:function(t,e,n){const r=this;return by(t,(function(t){const i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?e(t):n(t)}),"listItemIndent",r.containerState.size+1)},partial:!0},Uy={name:"blockQuote",tokenize:function(t,e,n){const r=this;return function(e){if(62===e){const n=r.containerState;return n.open||(t.enter("blockQuote",{_container:!0}),n.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(e),t.exit("blockQuoteMarker"),i}return n(e)};function i(n){return my(n)?(t.enter("blockQuotePrefixWhitespace"),t.consume(n),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),e):(t.exit("blockQuotePrefix"),e(n))}},continuation:{tokenize:function(t,e,n){const r=this;return function(e){return my(e)?by(t,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):i(e)};function i(r){return t.attempt(Uy,e,n)(r)}}},exit:function(t){t.exit("blockQuote")}};function jy(t,e,n,r,i,o,a,s,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return function(e){return 60===e?(t.enter(r),t.enter(i),t.enter(o),t.consume(e),t.exit(o),h):null===e||32===e||41===e||cy(e)?n(e):(t.enter(r),t.enter(a),t.enter(s),t.enter("chunkString",{contentType:"string"}),p(e))};function h(n){return 62===n?(t.enter(o),t.consume(n),t.exit(o),t.exit(i),t.exit(r),e):(t.enter(s),t.enter("chunkString",{contentType:"string"}),f(n))}function f(e){return 62===e?(t.exit("chunkString"),t.exit(s),h(e)):null===e||60===e||dy(e)?n(e):(t.consume(e),92===e?d:f)}function d(e){return 60===e||62===e||92===e?(t.consume(e),f):f(e)}function p(i){return u||null!==i&&41!==i&&!py(i)?u<c&&40===i?(t.consume(i),u++,p):41===i?(t.consume(i),u--,p):null===i||32===i||40===i||cy(i)?n(i):(t.consume(i),92===i?m:p):(t.exit("chunkString"),t.exit(s),t.exit(a),t.exit(r),e(i))}function m(e){return 40===e||41===e||92===e?(t.consume(e),p):p(e)}}function Hy(t,e,n,r,i,o){const a=this;let s,l=0;return function(e){return t.enter(r),t.enter(i),t.consume(e),t.exit(i),t.enter(o),c};function c(h){return l>999||null===h||91===h||93===h&&!s||94===h&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs?n(h):93===h?(t.exit(o),t.enter(i),t.consume(h),t.exit(i),t.exit(r),e):dy(h)?(t.enter("lineEnding"),t.consume(h),t.exit("lineEnding"),c):(t.enter("chunkString",{contentType:"string"}),u(h))}function u(e){return null===e||91===e||93===e||dy(e)||l++>999?(t.exit("chunkString"),c(e)):(t.consume(e),s||(s=!my(e)),92===e?h:u)}function h(e){return 91===e||92===e||93===e?(t.consume(e),l++,u):u(e)}}function zy(t,e,n,r,i,o){let a;return function(e){return 34===e||39===e||40===e?(t.enter(r),t.enter(i),t.consume(e),t.exit(i),a=40===e?41:e,s):n(e)};function s(n){return n===a?(t.enter(i),t.consume(n),t.exit(i),t.exit(r),e):(t.enter(o),l(n))}function l(e){return e===a?(t.exit(o),s(a)):null===e?n(e):dy(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),by(t,l,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),c(e))}function c(e){return e===a||null===e||dy(e)?(t.exit("chunkString"),l(e)):(t.consume(e),92===e?u:c)}function u(e){return e===a||92===e?(t.consume(e),c):c(e)}}function qy(t,e){let n;return function r(i){return dy(i)?(t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),n=!0,r):my(i)?by(t,r,n?"linePrefix":"lineSuffix")(i):e(i)}}function Wy(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Gy={name:"definition",tokenize:function(t,e,n){const r=this;let i;return function(e){return t.enter("definition"),function(e){return Hy.call(r,t,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(e)}(e)};function o(e){return i=Wy(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===e?(t.enter("definitionMarker"),t.consume(e),t.exit("definitionMarker"),a):n(e)}function a(e){return py(e)?qy(t,s)(e):s(e)}function s(e){return jy(t,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(e)}function l(e){return t.attempt(Ky,c,c)(e)}function c(e){return my(e)?by(t,u,"whitespace")(e):u(e)}function u(o){return null===o||dy(o)?(t.exit("definition"),r.parser.defined.push(i),e(o)):n(o)}}},Ky={tokenize:function(t,e,n){return function(e){return py(e)?qy(t,r)(e):n(e)};function r(e){return zy(t,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(e)}function i(e){return my(e)?by(t,o,"whitespace")(e):o(e)}function o(t){return null===t||dy(t)?e(t):n(t)}},partial:!0},Yy={name:"codeIndented",tokenize:function(t,e,n){const r=this;return function(e){return t.enter("codeIndented"),by(t,i,"linePrefix",5)(e)};function i(t){const e=r.events[r.events.length-1];return e&&"linePrefix"===e[1].type&&e[2].sliceSerialize(e[1],!0).length>=4?o(t):n(t)}function o(e){return null===e?s(e):dy(e)?t.attempt(Vy,o,s)(e):(t.enter("codeFlowValue"),a(e))}function a(e){return null===e||dy(e)?(t.exit("codeFlowValue"),o(e)):(t.consume(e),a)}function s(n){return t.exit("codeIndented"),e(n)}}},Vy={tokenize:function(t,e,n){const r=this;return i;function i(e){return r.parser.lazy[r.now().line]?n(e):dy(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),i):by(t,o,"linePrefix",5)(e)}function o(t){const o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?e(t):dy(t)?i(t):n(t)}},partial:!0},Xy={name:"headingAtx",tokenize:function(t,e,n){let r=0;return function(e){return t.enter("atxHeading"),function(e){return t.enter("atxHeadingSequence"),i(e)}(e)};function i(e){return 35===e&&r++<6?(t.consume(e),i):null===e||py(e)?(t.exit("atxHeadingSequence"),o(e)):n(e)}function o(n){return 35===n?(t.enter("atxHeadingSequence"),a(n)):null===n||dy(n)?(t.exit("atxHeading"),e(n)):my(n)?by(t,o,"whitespace")(n):(t.enter("atxHeadingText"),s(n))}function a(e){return 35===e?(t.consume(e),a):(t.exit("atxHeadingSequence"),o(e))}function s(e){return null===e||35===e||py(e)?(t.exit("atxHeadingText"),o(e)):(t.consume(e),s)}},resolve:function(t,e){let n,r,i=t.length-2,o=3;return"whitespace"===t[o][1].type&&(o+=2),i-2>o&&"whitespace"===t[i][1].type&&(i-=2),"atxHeadingSequence"===t[i][1].type&&(o===i-1||i-4>o&&"whitespace"===t[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:t[o][1].start,end:t[i][1].end},r={type:"chunkText",start:t[o][1].start,end:t[i][1].end,contentType:"text"},$g(t,o,i-o+1,[["enter",n,e],["enter",r,e],["exit",r,e],["exit",n,e]])),t}},Zy={name:"setextUnderline",tokenize:function(t,e,n){const r=this;let i;return function(e){let a,s=r.events.length;for(;s--;)if("lineEnding"!==r.events[s][1].type&&"linePrefix"!==r.events[s][1].type&&"content"!==r.events[s][1].type){a="paragraph"===r.events[s][1].type;break}return r.parser.lazy[r.now().line]||!r.interrupt&&!a?n(e):(t.enter("setextHeadingLine"),i=e,function(e){return t.enter("setextHeadingLineSequence"),o(e)}(e))};function o(e){return e===i?(t.consume(e),o):(t.exit("setextHeadingLineSequence"),my(e)?by(t,a,"lineSuffix")(e):a(e))}function a(r){return null===r||dy(r)?(t.exit("setextHeadingLine"),e(r)):n(r)}},resolveTo:function(t,e){let n,r,i,o=t.length;for(;o--;)if("enter"===t[o][0]){if("content"===t[o][1].type){n=o;break}"paragraph"===t[o][1].type&&(r=o)}else"content"===t[o][1].type&&t.splice(o,1),i||"definition"!==t[o][1].type||(i=o);const a={type:"setextHeading",start:Object.assign({},t[r][1].start),end:Object.assign({},t[t.length-1][1].end)};return t[r][1].type="setextHeadingText",i?(t.splice(r,0,["enter",a,e]),t.splice(i+1,0,["exit",t[n][1],e]),t[n][1].end=Object.assign({},t[i][1].end)):t[n][1]=a,t.push(["exit",a,e]),t}},$y=["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","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Qy=["pre","script","style","textarea"],Jy={name:"htmlFlow",tokenize:function(t,e,n){const r=this;let i,o,a,s,l;return function(e){return function(e){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(e),c}(e)};function c(s){return 33===s?(t.consume(s),u):47===s?(t.consume(s),o=!0,d):63===s?(t.consume(s),i=3,r.interrupt?e:O):ay(s)?(t.consume(s),a=String.fromCharCode(s),p):n(s)}function u(o){return 45===o?(t.consume(o),i=2,h):91===o?(t.consume(o),i=5,s=0,f):ay(o)?(t.consume(o),i=4,r.interrupt?e:O):n(o)}function h(i){return 45===i?(t.consume(i),r.interrupt?e:O):n(i)}function f(i){return i==="CDATA[".charCodeAt(s++)?(t.consume(i),6===s?r.interrupt?e:x:f):n(i)}function d(e){return ay(e)?(t.consume(e),a=String.fromCharCode(e),p):n(e)}function p(s){if(null===s||47===s||62===s||py(s)){const l=47===s,c=a.toLowerCase();return l||o||!Qy.includes(c)?$y.includes(a.toLowerCase())?(i=6,l?(t.consume(s),m):r.interrupt?e(s):x(s)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):o?g(s):y(s)):(i=1,r.interrupt?e(s):x(s))}return 45===s||sy(s)?(t.consume(s),a+=String.fromCharCode(s),p):n(s)}function m(i){return 62===i?(t.consume(i),r.interrupt?e:x):n(i)}function g(e){return my(e)?(t.consume(e),g):M(e)}function y(e){return 47===e?(t.consume(e),M):58===e||95===e||ay(e)?(t.consume(e),w):my(e)?(t.consume(e),y):M(e)}function w(e){return 45===e||46===e||58===e||95===e||sy(e)?(t.consume(e),w):b(e)}function b(e){return 61===e?(t.consume(e),v):my(e)?(t.consume(e),b):y(e)}function v(e){return null===e||60===e||61===e||62===e||96===e?n(e):34===e||39===e?(t.consume(e),l=e,E):my(e)?(t.consume(e),v):_(e)}function E(e){return e===l?(t.consume(e),l=null,A):null===e||dy(e)?n(e):(t.consume(e),E)}function _(e){return null===e||34===e||39===e||47===e||60===e||61===e||62===e||96===e||py(e)?b(e):(t.consume(e),_)}function A(t){return 47===t||62===t||my(t)?y(t):n(t)}function M(e){return 62===e?(t.consume(e),T):n(e)}function T(e){return null===e||dy(e)?x(e):my(e)?(t.consume(e),T):n(e)}function x(e){return 45===e&&2===i?(t.consume(e),D):60===e&&1===i?(t.consume(e),I):62===e&&4===i?(t.consume(e),L):63===e&&3===i?(t.consume(e),O):93===e&&5===i?(t.consume(e),N):!dy(e)||6!==i&&7!==i?null===e||dy(e)?(t.exit("htmlFlowData"),S(e)):(t.consume(e),x):(t.exit("htmlFlowData"),t.check(tw,P,S)(e))}function S(e){return t.check(ew,k,P)(e)}function k(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),C}function C(e){return null===e||dy(e)?S(e):(t.enter("htmlFlowData"),x(e))}function D(e){return 45===e?(t.consume(e),O):x(e)}function I(e){return 47===e?(t.consume(e),a="",R):x(e)}function R(e){if(62===e){const n=a.toLowerCase();return Qy.includes(n)?(t.consume(e),L):x(e)}return ay(e)&&a.length<8?(t.consume(e),a+=String.fromCharCode(e),R):x(e)}function N(e){return 93===e?(t.consume(e),O):x(e)}function O(e){return 62===e?(t.consume(e),L):45===e&&2===i?(t.consume(e),O):x(e)}function L(e){return null===e||dy(e)?(t.exit("htmlFlowData"),P(e)):(t.consume(e),L)}function P(n){return t.exit("htmlFlow"),e(n)}},resolveTo:function(t){let e=t.length;for(;e--&&("enter"!==t[e][0]||"htmlFlow"!==t[e][1].type););return e>1&&"linePrefix"===t[e-2][1].type&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2)),t},concrete:!0},tw={tokenize:function(t,e,n){return function(r){return t.enter("lineEnding"),t.consume(r),t.exit("lineEnding"),t.attempt(Ay,e,n)}},partial:!0},ew={tokenize:function(t,e,n){const r=this;return function(e){return dy(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),i):n(e)};function i(t){return r.parser.lazy[r.now().line]?n(t):e(t)}},partial:!0},nw={tokenize:function(t,e,n){const r=this;return function(e){return null===e?n(e):(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),i)};function i(t){return r.parser.lazy[r.now().line]?n(t):e(t)}},partial:!0},rw={name:"codeFenced",tokenize:function(t,e,n){const r=this,i={tokenize:function(t,e,n){let i=0;return function(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),a};function a(e){return t.enter("codeFencedFence"),my(e)?by(t,l,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):l(e)}function l(e){return e===o?(t.enter("codeFencedFenceSequence"),c(e)):n(e)}function c(e){return e===o?(i++,t.consume(e),c):i>=s?(t.exit("codeFencedFenceSequence"),my(e)?by(t,u,"whitespace")(e):u(e)):n(e)}function u(r){return null===r||dy(r)?(t.exit("codeFencedFence"),e(r)):n(r)}},partial:!0};let o,a=0,s=0;return function(e){return function(e){const n=r.events[r.events.length-1];return a=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,o=e,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),l(e)}(e)};function l(e){return e===o?(s++,t.consume(e),l):s<3?n(e):(t.exit("codeFencedFenceSequence"),my(e)?by(t,c,"whitespace")(e):c(e))}function c(n){return null===n||dy(n)?(t.exit("codeFencedFence"),r.interrupt?e(n):t.check(nw,d,w)(n)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),u(n))}function u(e){return null===e||dy(e)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),c(e)):my(e)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),by(t,h,"whitespace")(e)):96===e&&e===o?n(e):(t.consume(e),u)}function h(e){return null===e||dy(e)?c(e):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),f(e))}function f(e){return null===e||dy(e)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),c(e)):96===e&&e===o?n(e):(t.consume(e),f)}function d(e){return t.attempt(i,w,p)(e)}function p(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),m}function m(e){return a>0&&my(e)?by(t,g,"linePrefix",a+1)(e):g(e)}function g(e){return null===e||dy(e)?t.check(nw,d,w)(e):(t.enter("codeFlowValue"),y(e))}function y(e){return null===e||dy(e)?(t.exit("codeFlowValue"),g(e)):(t.consume(e),y)}function w(n){return t.exit("codeFenced"),e(n)}},concrete:!0},iw={name:"characterReference",tokenize:function(t,e,n){const r=this;let i,o,a=0;return function(e){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(e),t.exit("characterReferenceMarker"),s};function s(e){return 35===e?(t.enter("characterReferenceMarkerNumeric"),t.consume(e),t.exit("characterReferenceMarkerNumeric"),l):(t.enter("characterReferenceValue"),i=31,o=sy,c(e))}function l(e){return 88===e||120===e?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(e),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),i=6,o=hy,c):(t.enter("characterReferenceValue"),i=7,o=uy,c(e))}function c(s){if(59===s&&a){const i=t.exit("characterReferenceValue");return o!==sy||ma(r.sliceSerialize(i))?(t.enter("characterReferenceMarker"),t.consume(s),t.exit("characterReferenceMarker"),t.exit("characterReference"),e):n(s)}return o(s)&&a++<i?(t.consume(s),c):n(s)}}},ow={name:"characterEscape",tokenize:function(t,e,n){return function(e){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(e),t.exit("escapeMarker"),r};function r(r){return fy(r)?(t.enter("characterEscapeValue"),t.consume(r),t.exit("characterEscapeValue"),t.exit("characterEscape"),e):n(r)}}},aw={name:"lineEnding",tokenize:function(t,e){return function(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),by(t,e,"linePrefix")}}},sw={name:"labelEnd",tokenize:function(t,e,n){const r=this;let i,o,a=r.events.length;for(;a--;)if(("labelImage"===r.events[a][1].type||"labelLink"===r.events[a][1].type)&&!r.events[a][1]._balanced){i=r.events[a][1];break}return function(e){return i?i._inactive?u(e):(o=r.parser.defined.includes(Wy(r.sliceSerialize({start:i.end,end:r.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelEnd"),s):n(e)};function s(e){return 40===e?t.attempt(lw,c,o?c:u)(e):91===e?t.attempt(cw,c,o?l:u)(e):o?c(e):u(e)}function l(e){return t.attempt(uw,c,u)(e)}function c(t){return e(t)}function u(t){return i._balanced=!0,n(t)}},resolveTo:function(t,e){let n,r,i,o,a=t.length,s=0;for(;a--;)if(n=t[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===t[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===t[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(i=a);const l={type:"labelLink"===t[r][1].type?"link":"image",start:Object.assign({},t[r][1].start),end:Object.assign({},t[t.length-1][1].end)},c={type:"label",start:Object.assign({},t[r][1].start),end:Object.assign({},t[i][1].end)},u={type:"labelText",start:Object.assign({},t[r+s+2][1].end),end:Object.assign({},t[i-2][1].start)};return o=[["enter",l,e],["enter",c,e]],o=Qg(o,t.slice(r+1,r+s+3)),o=Qg(o,[["enter",u,e]]),o=Qg(o,Ny(e.parser.constructs.insideSpan.null,t.slice(r+s+4,i-3),e)),o=Qg(o,[["exit",u,e],t[i-2],t[i-1],["exit",c,e]]),o=Qg(o,t.slice(i+1)),o=Qg(o,[["exit",l,e]]),$g(t,r,t.length,o),t},resolveAll:function(t){let e=-1;for(;++e<t.length;){const n=t[e][1];"labelImage"!==n.type&&"labelLink"!==n.type&&"labelEnd"!==n.type||(t.splice(e+1,"labelImage"===n.type?4:2),n.type="data",e++)}return t}},lw={tokenize:function(t,e,n){return function(e){return t.enter("resource"),t.enter("resourceMarker"),t.consume(e),t.exit("resourceMarker"),r};function r(e){return py(e)?qy(t,i)(e):i(e)}function i(e){return 41===e?c(e):jy(t,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(e)}function o(e){return py(e)?qy(t,s)(e):c(e)}function a(t){return n(t)}function s(e){return 34===e||39===e||40===e?zy(t,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(e):c(e)}function l(e){return py(e)?qy(t,c)(e):c(e)}function c(r){return 41===r?(t.enter("resourceMarker"),t.consume(r),t.exit("resourceMarker"),t.exit("resource"),e):n(r)}}},cw={tokenize:function(t,e,n){const r=this;return function(e){return Hy.call(r,t,i,o,"reference","referenceMarker","referenceString")(e)};function i(t){return r.parser.defined.includes(Wy(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?e(t):n(t)}function o(t){return n(t)}}},uw={tokenize:function(t,e,n){return function(e){return t.enter("reference"),t.enter("referenceMarker"),t.consume(e),t.exit("referenceMarker"),r};function r(r){return 93===r?(t.enter("referenceMarker"),t.consume(r),t.exit("referenceMarker"),t.exit("reference"),e):n(r)}}},hw={name:"labelStartImage",tokenize:function(t,e,n){const r=this;return function(e){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(e),t.exit("labelImageMarker"),i};function i(e){return 91===e?(t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelImage"),o):n(e)}function o(t){return 94===t&&"_hiddenFootnoteSupport"in r.parser.constructs?n(t):e(t)}},resolveAll:sw.resolveAll};function fw(t){return null===t||py(t)||yy(t)?1:gy(t)?2:void 0}const dw={name:"attention",tokenize:function(t,e){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=fw(r);let o;return function(e){return o=e,t.enter("attentionSequence"),a(e)};function a(s){if(s===o)return t.consume(s),a;const l=t.exit("attentionSequence"),c=fw(s),u=!c||2===c&&i||n.includes(s),h=!i||2===i&&c||n.includes(r);return l._open=Boolean(42===o?u:u&&(i||!h)),l._close=Boolean(42===o?h:h&&(c||!u)),e(s)}},resolveAll:function(t,e){let n,r,i,o,a,s,l,c,u=-1;for(;++u<t.length;)if("enter"===t[u][0]&&"attentionSequence"===t[u][1].type&&t[u][1]._close)for(n=u;n--;)if("exit"===t[n][0]&&"attentionSequence"===t[n][1].type&&t[n][1]._open&&e.sliceSerialize(t[n][1]).charCodeAt(0)===e.sliceSerialize(t[u][1]).charCodeAt(0)){if((t[n][1]._close||t[u][1]._open)&&(t[u][1].end.offset-t[u][1].start.offset)%3&&!((t[n][1].end.offset-t[n][1].start.offset+t[u][1].end.offset-t[u][1].start.offset)%3))continue;s=t[n][1].end.offset-t[n][1].start.offset>1&&t[u][1].end.offset-t[u][1].start.offset>1?2:1;const h=Object.assign({},t[n][1].end),f=Object.assign({},t[u][1].start);pw(h,-s),pw(f,s),o={type:s>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},t[n][1].end)},a={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[u][1].start),end:f},i={type:s>1?"strongText":"emphasisText",start:Object.assign({},t[n][1].end),end:Object.assign({},t[u][1].start)},r={type:s>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},a.end)},t[n][1].end=Object.assign({},o.start),t[u][1].start=Object.assign({},a.end),l=[],t[n][1].end.offset-t[n][1].start.offset&&(l=Qg(l,[["enter",t[n][1],e],["exit",t[n][1],e]])),l=Qg(l,[["enter",r,e],["enter",o,e],["exit",o,e],["enter",i,e]]),l=Qg(l,Ny(e.parser.constructs.insideSpan.null,t.slice(n+1,u),e)),l=Qg(l,[["exit",i,e],["enter",a,e],["exit",a,e],["exit",r,e]]),t[u][1].end.offset-t[u][1].start.offset?(c=2,l=Qg(l,[["enter",t[u][1],e],["exit",t[u][1],e]])):c=0,$g(t,n-1,u-n+3,l),u=n+l.length-c-2;break}for(u=-1;++u<t.length;)"attentionSequence"===t[u][1].type&&(t[u][1].type="data");return t}};function pw(t,e){t.column+=e,t.offset+=e,t._bufferIndex+=e}const mw={name:"autolink",tokenize:function(t,e,n){let r=0;return function(e){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(e),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),i};function i(e){return ay(e)?(t.consume(e),o):l(e)}function o(t){return 43===t||45===t||46===t||sy(t)?(r=1,a(t)):l(t)}function a(e){return 58===e?(t.consume(e),r=0,s):(43===e||45===e||46===e||sy(e))&&r++<32?(t.consume(e),a):(r=0,l(e))}function s(r){return 62===r?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(r),t.exit("autolinkMarker"),t.exit("autolink"),e):null===r||32===r||60===r||cy(r)?n(r):(t.consume(r),s)}function l(e){return 64===e?(t.consume(e),c):ly(e)?(t.consume(e),l):n(e)}function c(t){return sy(t)?u(t):n(t)}function u(n){return 46===n?(t.consume(n),r=0,c):62===n?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(n),t.exit("autolinkMarker"),t.exit("autolink"),e):h(n)}function h(e){if((45===e||sy(e))&&r++<63){const n=45===e?h:u;return t.consume(e),n}return n(e)}}},gw={name:"htmlText",tokenize:function(t,e,n){const r=this;let i,o,a;return function(e){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(e),s};function s(e){return 33===e?(t.consume(e),l):47===e?(t.consume(e),v):63===e?(t.consume(e),w):ay(e)?(t.consume(e),A):n(e)}function l(e){return 45===e?(t.consume(e),c):91===e?(t.consume(e),o=0,d):ay(e)?(t.consume(e),y):n(e)}function c(e){return 45===e?(t.consume(e),f):n(e)}function u(e){return null===e?n(e):45===e?(t.consume(e),h):dy(e)?(a=u,R(e)):(t.consume(e),u)}function h(e){return 45===e?(t.consume(e),f):u(e)}function f(t){return 62===t?I(t):45===t?h(t):u(t)}function d(e){return e==="CDATA[".charCodeAt(o++)?(t.consume(e),6===o?p:d):n(e)}function p(e){return null===e?n(e):93===e?(t.consume(e),m):dy(e)?(a=p,R(e)):(t.consume(e),p)}function m(e){return 93===e?(t.consume(e),g):p(e)}function g(e){return 62===e?I(e):93===e?(t.consume(e),g):p(e)}function y(e){return null===e||62===e?I(e):dy(e)?(a=y,R(e)):(t.consume(e),y)}function w(e){return null===e?n(e):63===e?(t.consume(e),b):dy(e)?(a=w,R(e)):(t.consume(e),w)}function b(t){return 62===t?I(t):w(t)}function v(e){return ay(e)?(t.consume(e),E):n(e)}function E(e){return 45===e||sy(e)?(t.consume(e),E):_(e)}function _(e){return dy(e)?(a=_,R(e)):my(e)?(t.consume(e),_):I(e)}function A(e){return 45===e||sy(e)?(t.consume(e),A):47===e||62===e||py(e)?M(e):n(e)}function M(e){return 47===e?(t.consume(e),I):58===e||95===e||ay(e)?(t.consume(e),T):dy(e)?(a=M,R(e)):my(e)?(t.consume(e),M):I(e)}function T(e){return 45===e||46===e||58===e||95===e||sy(e)?(t.consume(e),T):x(e)}function x(e){return 61===e?(t.consume(e),S):dy(e)?(a=x,R(e)):my(e)?(t.consume(e),x):M(e)}function S(e){return null===e||60===e||61===e||62===e||96===e?n(e):34===e||39===e?(t.consume(e),i=e,k):dy(e)?(a=S,R(e)):my(e)?(t.consume(e),S):(t.consume(e),C)}function k(e){return e===i?(t.consume(e),i=void 0,D):null===e?n(e):dy(e)?(a=k,R(e)):(t.consume(e),k)}function C(e){return null===e||34===e||39===e||60===e||61===e||96===e?n(e):47===e||62===e||py(e)?M(e):(t.consume(e),C)}function D(t){return 47===t||62===t||py(t)?M(t):n(t)}function I(r){return 62===r?(t.consume(r),t.exit("htmlTextData"),t.exit("htmlText"),e):n(r)}function R(e){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),N}function N(e){return my(e)?by(t,O,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):O(e)}function O(e){return t.enter("htmlTextData"),a(e)}}},yw={name:"labelStartLink",tokenize:function(t,e,n){const r=this;return function(e){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelLink"),i};function i(t){return 94===t&&"_hiddenFootnoteSupport"in r.parser.constructs?n(t):e(t)}},resolveAll:sw.resolveAll},ww={name:"hardBreakEscape",tokenize:function(t,e,n){return function(e){return t.enter("hardBreakEscape"),t.consume(e),r};function r(r){return dy(r)?(t.exit("hardBreakEscape"),e(r)):n(r)}}},bw={name:"codeText",tokenize:function(t,e,n){let r,i,o=0;return function(e){return t.enter("codeText"),t.enter("codeTextSequence"),a(e)};function a(e){return 96===e?(t.consume(e),o++,a):(t.exit("codeTextSequence"),s(e))}function s(e){return null===e?n(e):32===e?(t.enter("space"),t.consume(e),t.exit("space"),s):96===e?(i=t.enter("codeTextSequence"),r=0,c(e)):dy(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),s):(t.enter("codeTextData"),l(e))}function l(e){return null===e||32===e||96===e||dy(e)?(t.exit("codeTextData"),s(e)):(t.consume(e),l)}function c(n){return 96===n?(t.consume(n),r++,c):r===o?(t.exit("codeTextSequence"),t.exit("codeText"),e(n)):(i.type="codeTextData",l(n))}},resolve:function(t){let e,n,r=t.length-4,i=3;if(!("lineEnding"!==t[i][1].type&&"space"!==t[i][1].type||"lineEnding"!==t[r][1].type&&"space"!==t[r][1].type))for(e=i;++e<r;)if("codeTextData"===t[e][1].type){t[i][1].type="codeTextPadding",t[r][1].type="codeTextPadding",i+=2,r-=2;break}for(e=i-1,r++;++e<=r;)void 0===n?e!==r&&"lineEnding"!==t[e][1].type&&(n=e):e!==r&&"lineEnding"!==t[e][1].type||(t[n][1].type="codeTextData",e!==n+2&&(t[n][1].end=t[e-1][1].end,t.splice(n+2,e-n-2),r-=e-n-2,e=n+2),n=void 0);return t},previous:function(t){return 96!==t||"characterEscape"===this.events[this.events.length-1][1].type}},vw={42:Py,43:Py,45:Py,48:Py,49:Py,50:Py,51:Py,52:Py,53:Py,54:Py,55:Py,56:Py,57:Py,62:Uy},Ew={91:Gy},_w={[-2]:Yy,[-1]:Yy,32:Yy},Aw={35:Xy,42:Ly,45:[Zy,Ly],60:Jy,61:Zy,95:Ly,96:rw,126:rw},Mw={38:iw,92:ow},Tw={[-5]:aw,[-4]:aw,[-3]:aw,33:hw,38:iw,42:dw,60:[mw,gw],91:yw,92:[ww,ow],93:sw,95:dw,96:bw},xw={null:[dw,Sy]},Sw={null:[42,95]},kw={null:[]};function Cw(t){const n={defined:[],lazy:{},constructs:ry([e,...(t||{}).extensions||[]]),content:r(vy),document:r(Ey),flow:r(xy),string:r(ky),text:r(Cy)};return n;function r(t){return function(e){return Oy(n,t,e)}}}const Dw=/[\0\t\n\r]/g;function Iw(){let t,e=1,n="",r=!0;return function(i,o,a){const s=[];let l,c,u,h,f;for(i=n+("string"==typeof i?i.toString():new TextDecoder(o||void 0).decode(i)),u=0,n="",r&&(65279===i.charCodeAt(0)&&u++,r=void 0);u<i.length;){if(Dw.lastIndex=u,l=Dw.exec(i),h=l&&void 0!==l.index?l.index:i.length,f=i.charCodeAt(h),!l){n=i.slice(u);break}if(10===f&&u===h&&t)s.push(-3),t=void 0;else switch(t&&(s.push(-5),t=void 0),u<h&&(s.push(i.slice(u,h)),e+=h-u),f){case 0:s.push(65533),e++;break;case 9:for(c=4*Math.ceil(e/4),s.push(-2);e++<c;)s.push(-1);break;case 10:s.push(-4),e=1;break;default:t=!0,e=1}u=h+1}return a&&(t&&s.push(-5),n&&s.push(n),s.push(null)),s}}const Rw={}.hasOwnProperty;function Nw(t,e,n){return"string"!=typeof e&&(n=e,e=void 0),function(t){const e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(b),autolinkProtocol:h,autolinkEmail:h,atxHeading:i(g),blockQuote:i((function(){return{type:"blockquote",children:[]}})),characterEscape:h,characterReference:h,codeFenced:i(m),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:i(m,o),codeText:i((function(){return{type:"inlineCode",value:""}}),o),codeTextData:h,data:h,codeFlowValue:h,definition:i((function(){return{type:"definition",identifier:"",label:null,title:null,url:""}})),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:i((function(){return{type:"emphasis",children:[]}})),hardBreakEscape:i(y),hardBreakTrailing:i(y),htmlFlow:i(w,o),htmlFlowData:h,htmlText:i(w,o),htmlTextData:h,image:i((function(){return{type:"image",title:null,url:"",alt:null}})),label:o,link:i(b),listItem:i((function(t){return{type:"listItem",spread:t._spread,checked:null,children:[]}})),listItemValue:function(t){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(t),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:i(v,(function(){this.data.expectingFirstListItemValue=!0})),listUnordered:i(v),paragraph:i((function(){return{type:"paragraph",children:[]}})),reference:function(){this.data.referenceType="collapsed"},referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:i(g),strong:i((function(){return{type:"strong",children:[]}})),thematicBreak:i((function(){return{type:"thematicBreak"}}))},exit:{atxHeading:s(),atxHeadingSequence:function(t){const e=this.stack[this.stack.length-1];if(!e.depth){const n=this.sliceSerialize(t).length;e.depth=n}},autolink:s(),autolinkEmail:function(t){f.call(this,t),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(t)},autolinkProtocol:function(t){f.call(this,t),this.stack[this.stack.length-1].url=this.sliceSerialize(t)},blockQuote:s(),characterEscapeValue:f,characterReferenceMarkerHexadecimal:p,characterReferenceMarkerNumeric:p,characterReferenceValue:function(t){const e=this.sliceSerialize(t),n=this.data.characterReferenceType;let r;n?(r=ga(e,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0):r=ma(e);const i=this.stack.pop();i.value+=r,i.position.end=Ow(t.end)},codeFenced:s((function(){const t=this.resume();this.stack[this.stack.length-1].value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0})),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){const t=this.resume();this.stack[this.stack.length-1].lang=t},codeFencedFenceMeta:function(){const t=this.resume();this.stack[this.stack.length-1].meta=t},codeFlowValue:f,codeIndented:s((function(){const t=this.resume();this.stack[this.stack.length-1].value=t.replace(/(\r?\n|\r)$/g,"")})),codeText:s((function(){const t=this.resume();this.stack[this.stack.length-1].value=t})),codeTextData:f,data:f,definition:s(),definitionDestinationString:function(){const t=this.resume();this.stack[this.stack.length-1].url=t},definitionLabelString:function(t){const e=this.resume(),n=this.stack[this.stack.length-1];n.label=e,n.identifier=Wy(this.sliceSerialize(t)).toLowerCase()},definitionTitleString:function(){const t=this.resume();this.stack[this.stack.length-1].title=t},emphasis:s(),hardBreakEscape:s(d),hardBreakTrailing:s(d),htmlFlow:s((function(){const t=this.resume();this.stack[this.stack.length-1].value=t})),htmlFlowData:f,htmlText:s((function(){const t=this.resume();this.stack[this.stack.length-1].value=t})),htmlTextData:f,image:s((function(){const t=this.stack[this.stack.length-1];if(this.data.inReference){const e=this.data.referenceType||"shortcut";t.type+="Reference",t.referenceType=e,delete t.url,delete t.title}else delete t.identifier,delete t.label;this.data.referenceType=void 0})),label:function(){const t=this.stack[this.stack.length-1],e=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){const e=t.children;n.children=e}else n.alt=e},labelText:function(t){const e=this.sliceSerialize(t),n=this.stack[this.stack.length-2];n.label=wa(e),n.identifier=Wy(e).toLowerCase()},lineEnding:function(t){const n=this.stack[this.stack.length-1];if(this.data.atHardBreak)return n.children[n.children.length-1].position.end=Ow(t.end),void(this.data.atHardBreak=void 0);!this.data.setextHeadingSlurpLineEnding&&e.canContainEols.includes(n.type)&&(h.call(this,t),f.call(this,t))},link:s((function(){const t=this.stack[this.stack.length-1];if(this.data.inReference){const e=this.data.referenceType||"shortcut";t.type+="Reference",t.referenceType=e,delete t.url,delete t.title}else delete t.identifier,delete t.label;this.data.referenceType=void 0})),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:function(t){const e=this.resume(),n=this.stack[this.stack.length-1];n.label=e,n.identifier=Wy(this.sliceSerialize(t)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){const t=this.resume();this.stack[this.stack.length-1].url=t},resourceTitleString:function(){const t=this.resume();this.stack[this.stack.length-1].title=t},resource:function(){this.data.inReference=void 0},setextHeading:s((function(){this.data.setextHeadingSlurpLineEnding=void 0})),setextHeadingLineSequence:function(t){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(t).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:s(),thematicBreak:s()}};Lw(e,(t||{}).mdastExtensions||[]);const n={};return function(t){let i={type:"root",children:[]};const s={stack:[i],tokenStack:[],config:e,enter:a,exit:c,buffer:o,resume:u,data:n},l=[];let h=-1;for(;++h<t.length;)"listOrdered"!==t[h][1].type&&"listUnordered"!==t[h][1].type||("enter"===t[h][0]?l.push(h):h=r(t,l.pop(),h));for(h=-1;++h<t.length;){const n=e[t[h][0]];Rw.call(n,t[h][1].type)&&n[t[h][1].type].call(Object.assign({sliceSerialize:t[h][2].sliceSerialize},s),t[h][1])}if(s.tokenStack.length>0){const t=s.tokenStack[s.tokenStack.length-1];(t[1]||Fw).call(s,void 0,t[0])}for(i.position={start:Ow(t.length>0?t[0][1].start:{line:1,column:1,offset:0}),end:Ow(t.length>0?t[t.length-2][1].end:{line:1,column:1,offset:0})},h=-1;++h<e.transforms.length;)i=e.transforms[h](i)||i;return i};function r(t,e,n){let r,i,o,a,s=e-1,l=-1,c=!1;for(;++s<=n;){const e=t[s];switch(e[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===e[0]?l++:l--,a=void 0;break;case"lineEndingBlank":"enter"===e[0]&&(!r||a||l||o||(o=s),a=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:a=void 0}if(!l&&"enter"===e[0]&&"listItemPrefix"===e[1].type||-1===l&&"exit"===e[0]&&("listUnordered"===e[1].type||"listOrdered"===e[1].type)){if(r){let a=s;for(i=void 0;a--;){const e=t[a];if("lineEnding"===e[1].type||"lineEndingBlank"===e[1].type){if("exit"===e[0])continue;i&&(t[i][1].type="lineEndingBlank",c=!0),e[1].type="lineEnding",i=a}else if("linePrefix"!==e[1].type&&"blockQuotePrefix"!==e[1].type&&"blockQuotePrefixWhitespace"!==e[1].type&&"blockQuoteMarker"!==e[1].type&&"listItemIndent"!==e[1].type)break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?t[i][1].start:e[1].end),t.splice(i||s,0,["exit",r,e[2]]),s++,n++}if("listItemPrefix"===e[1].type){const i={type:"listItem",_spread:!1,start:Object.assign({},e[1].start),end:void 0};r=i,t.splice(s,0,["enter",i,e[2]]),s++,n++,o=void 0,a=!0}}}return t[e][1]._spread=c,n}function i(t,e){return function(n){a.call(this,t(n),n),e&&e.call(this,n)}}function o(){this.stack.push({type:"fragment",children:[]})}function a(t,e,n){this.stack[this.stack.length-1].children.push(t),this.stack.push(t),this.tokenStack.push([e,n]),t.position={start:Ow(e.start),end:void 0}}function s(t){return function(e){t&&t.call(this,e),c.call(this,e)}}function c(t,e){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+t.type+"` ("+l({start:t.start,end:t.end})+"): it’s not open");r[0].type!==t.type&&(e?e.call(this,t,r[0]):(r[1]||Fw).call(this,t,r[0])),n.position.end=Ow(t.end)}function u(){return so(this.stack.pop())}function h(t){const e=this.stack[this.stack.length-1].children;let n=e[e.length-1];n&&"text"===n.type||(n={type:"text",value:""},n.position={start:Ow(t.start),end:void 0},e.push(n)),this.stack.push(n)}function f(t){const e=this.stack.pop();e.value+=this.sliceSerialize(t),e.position.end=Ow(t.end)}function d(){this.data.atHardBreak=!0}function p(t){this.data.characterReferenceType=t.type}function m(){return{type:"code",lang:null,meta:null,value:""}}function g(){return{type:"heading",depth:0,children:[]}}function y(){return{type:"break"}}function w(){return{type:"html",value:""}}function b(){return{type:"link",title:null,url:"",children:[]}}function v(t){return{type:"list",ordered:"listOrdered"===t.type,start:null,spread:t._spread,children:[]}}}(n)(ey(Cw(n).document().write(Iw()(t,e,!0))))}function Ow(t){return{line:t.line,column:t.column,offset:t.offset}}function Lw(t,e){let n=-1;for(;++n<e.length;){const r=e[n];Array.isArray(r)?Lw(t,r):Pw(t,r)}}function Pw(t,e){let n;for(n in e)if(Rw.call(e,n))switch(n){case"canContainEols":{const r=e[n];r&&t[n].push(...r);break}case"transforms":{const r=e[n];r&&t[n].push(...r);break}case"enter":case"exit":{const r=e[n];r&&Object.assign(t[n],r);break}}}function Fw(t,e){throw t?new Error("Cannot close `"+t.type+"` ("+l({start:t.start,end:t.end})+"): a different token (`"+e.type+"`, "+l({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+l({start:e.start,end:e.end})+") is still open")}function Bw(t){const e=this;e.parser=function(n){return Nw(n,{...e.data("settings"),...t,extensions:e.data("micromarkExtensions")||[],mdastExtensions:e.data("fromMarkdownExtensions")||[]})}}function Uw(t,e){const n=String(t);if("string"!=typeof e)throw new TypeError("Expected character");let r=0,i=n.indexOf(e);for(;-1!==i;)r++,i=n.indexOf(e,i+e.length);return r}function jw(t){return"string"==typeof t?new RegExp(function(t){if("string"!=typeof t)throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(t),"g"):t}function Hw(t){return"function"==typeof t?t:function(){return t}}const zw="phrasing",qw=["autolink","link","image","label"];function Ww(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function Gw(t){this.config.enter.autolinkProtocol.call(this,t)}function Kw(t){this.config.exit.autolinkProtocol.call(this,t)}function Yw(t){this.config.exit.data.call(this,t);const e=this.stack[this.stack.length-1];e.type,e.url="http://"+this.sliceSerialize(t)}function Vw(t){this.config.exit.autolinkEmail.call(this,t)}function Xw(t){this.exit(t)}function Zw(t){!function(t,e,n){const r=Zr((n||{}).ignore||[]),i=function(t){const e=[];if(!Array.isArray(t))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!t[0]||Array.isArray(t[0])?t:[t];let r=-1;for(;++r<n.length;){const t=n[r];e.push([jw(t[0]),Hw(t[1])])}return e}(e);let o=-1;for(;++o<i.length;)wi(t,"text",a);function a(t,e){let n,a=-1;for(;++a<e.length;){const t=e[a],i=n?n.children:void 0;if(r(t,i?i.indexOf(t):void 0,n))return;n=t}if(n)return function(t,e){const n=e[e.length-1],r=i[o][0],a=i[o][1];let s=0;const l=n.children.indexOf(t);let c=!1,u=[];r.lastIndex=0;let h=r.exec(t.value);for(;h;){const n=h.index,i={index:h.index,input:h.input,stack:[...e,t]};let o=a(...h,i);if("string"==typeof o&&(o=o.length>0?{type:"text",value:o}:void 0),!1===o?r.lastIndex=n+1:(s!==n&&u.push({type:"text",value:t.value.slice(s,n)}),Array.isArray(o)?u.push(...o):o&&u.push(o),s=n+h[0].length,c=!0),!r.global)break;h=r.exec(t.value)}return c?(s<t.value.length&&u.push({type:"text",value:t.value.slice(s)}),n.children.splice(l,1,...u)):u=[t],l+u.length}(t,e)}}(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,$w],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,Qw]],{ignore:["link","linkReference"]})}function $w(t,e,n,r,i){let o="";if(!Jw(i))return!1;if(/^w/i.test(e)&&(n=e+n,e="",o="http://"),!function(t){const e=t.split(".");return!(e.length<2||e[e.length-1]&&(/_/.test(e[e.length-1])||!/[a-zA-Z\d]/.test(e[e.length-1]))||e[e.length-2]&&(/_/.test(e[e.length-2])||!/[a-zA-Z\d]/.test(e[e.length-2])))}(n))return!1;const a=function(t){const e=/[!"&'),.:;<>?\]}]+$/.exec(t);if(!e)return[t,void 0];t=t.slice(0,e.index);let n=e[0],r=n.indexOf(")");const i=Uw(t,"(");let o=Uw(t,")");for(;-1!==r&&i>o;)t+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[t,n]}(n+r);if(!a[0])return!1;const s={type:"link",title:null,url:o+e+a[0],children:[{type:"text",value:e+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function Qw(t,e,n,r){return!(!Jw(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+e+"@"+n,children:[{type:"text",value:e+"@"+n}]}}function Jw(t,e){const n=t.input.charCodeAt(t.index-1);return(0===t.index||yy(n)||gy(n))&&(!e||47!==n)}function tb(){return{enter:{gfmFootnoteDefinition:nb,gfmFootnoteDefinitionLabelString:rb,gfmFootnoteCall:ab,gfmFootnoteCallString:sb},exit:{gfmFootnoteDefinition:ob,gfmFootnoteDefinitionLabelString:ib,gfmFootnoteCall:cb,gfmFootnoteCallString:lb}}}function eb(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:hb,footnoteReference:ub}}}function nb(t){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},t)}function rb(){this.buffer()}function ib(t){const e=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=e,n.identifier=Wy(this.sliceSerialize(t)).toLowerCase()}function ob(t){this.exit(t)}function ab(t){this.enter({type:"footnoteReference",identifier:"",label:""},t)}function sb(){this.buffer()}function lb(t){const e=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=e,n.identifier=Wy(this.sliceSerialize(t)).toLowerCase()}function cb(t){this.exit(t)}function ub(t,e,n,r){const i=n.createTracker(r);let o=i.move("[^");const a=n.enter("footnoteReference"),s=n.enter("reference");return o+=i.move(n.safe(n.associationId(t),{...i.current(),before:o,after:"]"})),s(),a(),o+=i.move("]"),o}function hb(t,e,n,r){const i=n.createTracker(r);let o=i.move("[^");const a=n.enter("footnoteDefinition"),s=n.enter("label");return o+=i.move(n.safe(n.associationId(t),{...i.current(),before:o,after:"]"})),s(),o+=i.move("]:"+(t.children&&t.children.length>0?" ":"")),i.shift(4),o+=i.move(n.indentLines(n.containerFlow(t,i.current()),fb)),a(),o}function fb(t,e,n){return 0===e?t:(n?"":"    ")+t}ub.peek=function(){return"["};const db=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function pb(){return{canContainEols:["delete"],enter:{strikethrough:gb},exit:{strikethrough:yb}}}function mb(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:db}],handlers:{delete:wb}}}function gb(t){this.enter({type:"delete",children:[]},t)}function yb(t){this.exit(t)}function wb(t,e,n,r){const i=n.createTracker(r),o=n.enter("strikethrough");let a=i.move("~~");return a+=n.containerPhrasing(t,{...i.current(),before:a,after:"~"}),a+=i.move("~~"),o(),a}function bb(t){return null==t?"":String(t)}function vb(t){return t.length}function Eb(t){const e="string"==typeof t?t.codePointAt(0):0;return 67===e||99===e?99:76===e||108===e?108:82===e||114===e?114:0}function _b(){return{enter:{table:Ab,tableData:Sb,tableHeader:Sb,tableRow:Tb},exit:{codeText:kb,table:Mb,tableData:xb,tableHeader:xb,tableRow:xb}}}function Ab(t){const e=t._align;this.enter({type:"table",align:e.map((function(t){return"none"===t?null:t})),children:[]},t),this.data.inTable=!0}function Mb(t){this.exit(t),this.data.inTable=void 0}function Tb(t){this.enter({type:"tableRow",children:[]},t)}function xb(t){this.exit(t)}function Sb(t){this.enter({type:"tableCell",children:[]},t)}function kb(t){let e=this.resume();this.data.inTable&&(e=e.replace(/\\([\\|])/g,Cb));const n=this.stack[this.stack.length-1];n.type,n.value=e,this.exit(t)}function Cb(t,e){return"|"===e?e:t}function Db(t){const e=t||{},n=e.tableCellPadding,r=e.tablePipeAlign,i=e.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(t,e,n){let r=ua.inlineCode(t,e,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r},table:function(t,e,n,r){return s(function(t,e,n){const r=t.children;let i=-1;const o=[],a=e.enter("table");for(;++i<r.length;)o[i]=l(r[i],e,n);return a(),o}(t,n,r),t.align)},tableCell:a,tableRow:function(t,e,n,r){const i=s([l(t,n,r)]);return i.slice(0,i.indexOf("\n"))}}};function a(t,e,n,r){const i=n.enter("tableCell"),a=n.enter("phrasing"),s=n.containerPhrasing(t,{...r,before:o,after:o});return a(),i(),s}function s(t,e){return function(t,e={}){const n=(e.align||[]).concat(),r=e.stringLength||vb,i=[],o=[],a=[],s=[];let l=0,c=-1;for(;++c<t.length;){const n=[],i=[];let u=-1;for(t[c].length>l&&(l=t[c].length);++u<t[c].length;){const o=bb(t[c][u]);if(!1!==e.alignDelimiters){const t=r(o);i[u]=t,(void 0===s[u]||t>s[u])&&(s[u]=t)}n.push(o)}o[c]=n,a[c]=i}let u=-1;if("object"==typeof n&&"length"in n)for(;++u<l;)i[u]=Eb(n[u]);else{const t=Eb(n);for(;++u<l;)i[u]=t}u=-1;const h=[],f=[];for(;++u<l;){const t=i[u];let n="",r="";99===t?(n=":",r=":"):108===t?n=":":114===t&&(r=":");let o=!1===e.alignDelimiters?1:Math.max(1,s[u]-n.length-r.length);const a=n+"-".repeat(o)+r;!1!==e.alignDelimiters&&(o=n.length+o+r.length,o>s[u]&&(s[u]=o),f[u]=o),h[u]=a}o.splice(1,0,h),a.splice(1,0,f),c=-1;const d=[];for(;++c<o.length;){const t=o[c],n=a[c];u=-1;const r=[];for(;++u<l;){const o=t[u]||"";let a="",c="";if(!1!==e.alignDelimiters){const t=s[u]-(n[u]||0),e=i[u];114===e?a=" ".repeat(t):99===e?t%2?(a=" ".repeat(t/2+.5),c=" ".repeat(t/2-.5)):(a=" ".repeat(t/2),c=a):c=" ".repeat(t)}!1===e.delimiterStart||u||r.push("|"),!1===e.padding||!1===e.alignDelimiters&&""===o||!1===e.delimiterStart&&!u||r.push(" "),!1!==e.alignDelimiters&&r.push(a),r.push(o),!1!==e.alignDelimiters&&r.push(c),!1!==e.padding&&r.push(" "),!1===e.delimiterEnd&&u===l-1||r.push("|")}d.push(!1===e.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return d.join("\n")}(t,{align:e,alignDelimiters:r,padding:n,stringLength:i})}function l(t,e,n){const r=t.children;let i=-1;const o=[],s=e.enter("tableRow");for(;++i<r.length;)o[i]=a(r[i],0,e,n);return s(),o}}function Ib(){return{exit:{taskListCheckValueChecked:Nb,taskListCheckValueUnchecked:Nb,paragraph:Ob}}}function Rb(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Lb}}}function Nb(t){const e=this.stack[this.stack.length-2];e.type,e.checked="taskListCheckValueChecked"===t.type}function Ob(t){const e=this.stack[this.stack.length-2];if(e&&"listItem"===e.type&&"boolean"==typeof e.checked){const t=this.stack[this.stack.length-1];t.type;const n=t.children[0];if(n&&"text"===n.type){const r=e.children;let i,o=-1;for(;++o<r.length;){const t=r[o];if("paragraph"===t.type){i=t;break}}i===t&&(n.value=n.value.slice(1),0===n.value.length?t.children.shift():t.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,t.position.start=Object.assign({},n.position.start)))}}this.exit(t)}function Lb(t,e,n,r){const i=t.children[0],o="boolean"==typeof t.checked&&i&&"paragraph"===i.type,a="["+(t.checked?"x":" ")+"] ",s=n.createTracker(r);o&&s.move(a);let l=ua.listItem(t,e,n,{...r,...s.current()});return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(t){return t+a}))),l}wb.peek=function(){return"~"};const Pb={tokenize:function(t,e,n){let r=0;return function e(o){return(87===o||119===o)&&r<3?(r++,t.consume(o),e):46===o&&3===r?(t.consume(o),i):n(o)};function i(t){return null===t?n(t):e(t)}},partial:!0},Fb={tokenize:function(t,e,n){let r,i,o;return a;function a(e){return 46===e||95===e?t.check(Ub,l,s)(e):null===e||py(e)||yy(e)||45!==e&&gy(e)?l(e):(o=!0,t.consume(e),a)}function s(e){return 95===e?r=!0:(i=r,r=void 0),t.consume(e),a}function l(t){return i||r||!o?n(t):e(t)}},partial:!0},Bb={tokenize:function(t,e){let n=0,r=0;return i;function i(a){return 40===a?(n++,t.consume(a),i):41===a&&r<n?o(a):33===a||34===a||38===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||60===a||63===a||93===a||95===a||126===a?t.check(Ub,e,o)(a):null===a||py(a)||yy(a)?e(a):(t.consume(a),i)}function o(e){return 41===e&&r++,t.consume(e),i}},partial:!0},Ub={tokenize:function(t,e,n){return r;function r(a){return 33===a||34===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||63===a||95===a||126===a?(t.consume(a),r):38===a?(t.consume(a),o):93===a?(t.consume(a),i):60===a||null===a||py(a)||yy(a)?e(a):n(a)}function i(t){return null===t||40===t||91===t||py(t)||yy(t)?e(t):r(t)}function o(t){return ay(t)?a(t):n(t)}function a(e){return 59===e?(t.consume(e),r):ay(e)?(t.consume(e),a):n(e)}},partial:!0},jb={tokenize:function(t,e,n){return function(e){return t.consume(e),r};function r(t){return sy(t)?n(t):e(t)}},partial:!0},Hb={tokenize:function(t,e,n){const r=this;return function(e){return 87!==e&&119!==e||!Kb.call(r,r.previous)||Zb(r.events)?n(e):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(Pb,t.attempt(Fb,t.attempt(Bb,i),n),n)(e))};function i(n){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),e(n)}},previous:Kb},zb={tokenize:function(t,e,n){const r=this;let i="",o=!1;return function(e){return 72!==e&&104!==e||!Yb.call(r,r.previous)||Zb(r.events)?n(e):(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),i+=String.fromCodePoint(e),t.consume(e),a)};function a(e){if(ay(e)&&i.length<5)return i+=String.fromCodePoint(e),t.consume(e),a;if(58===e){const n=i.toLowerCase();if("http"===n||"https"===n)return t.consume(e),s}return n(e)}function s(e){return 47===e?(t.consume(e),o?l:(o=!0,s)):n(e)}function l(e){return null===e||cy(e)||py(e)||yy(e)||gy(e)?n(e):t.attempt(Fb,t.attempt(Bb,c),n)(e)}function c(n){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),e(n)}},previous:Yb},qb={tokenize:function(t,e,n){const r=this;let i,o;return function(e){return Xb(e)&&Vb.call(r,r.previous)&&!Zb(r.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),a(e)):n(e)};function a(e){return Xb(e)?(t.consume(e),a):64===e?(t.consume(e),s):n(e)}function s(e){return 46===e?t.check(jb,c,l)(e):45===e||95===e||sy(e)?(o=!0,t.consume(e),s):c(e)}function l(e){return t.consume(e),i=!0,s}function c(a){return o&&i&&ay(r.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),e(a)):n(a)}},previous:Vb},Wb={};let Gb=48;for(;Gb<123;)Wb[Gb]=qb,Gb++,58===Gb?Gb=65:91===Gb&&(Gb=97);function Kb(t){return null===t||40===t||42===t||95===t||91===t||93===t||126===t||py(t)}function Yb(t){return!ay(t)}function Vb(t){return!(47===t||Xb(t))}function Xb(t){return 43===t||45===t||46===t||95===t||sy(t)}function Zb(t){let e=t.length,n=!1;for(;e--;){const r=t[e][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return t.length>0&&!n&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}Wb[43]=qb,Wb[45]=qb,Wb[46]=qb,Wb[95]=qb,Wb[72]=[qb,zb],Wb[104]=[qb,zb],Wb[87]=[qb,Hb],Wb[119]=[qb,Hb];const $b={tokenize:function(t,e,n){const r=this;return by(t,(function(t){const i=r.events[r.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?e(t):n(t)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function Qb(){return{document:{91:{tokenize:nv,continuation:{tokenize:rv},exit:iv}},text:{91:{tokenize:ev},93:{add:"after",tokenize:Jb,resolveTo:tv}}}}function Jb(t,e,n){const r=this;let i=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;i--;){const t=r.events[i][1];if("labelImage"===t.type){a=t;break}if("gfmFootnoteCall"===t.type||"labelLink"===t.type||"label"===t.type||"image"===t.type||"link"===t.type)break}return function(i){if(!a||!a._balanced)return n(i);const s=Wy(r.sliceSerialize({start:a.end,end:r.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(i),t.exit("gfmFootnoteCallLabelMarker"),e(i)):n(i)}}function tv(t,e){let n,r=t.length;for(;r--;)if("labelImage"===t[r][1].type&&"enter"===t[r][0]){n=t[r][1];break}t[r+1][1].type="data",t[r+3][1].type="gfmFootnoteCallLabelMarker";const i={type:"gfmFootnoteCall",start:Object.assign({},t[r+3][1].start),end:Object.assign({},t[t.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},t[r+3][1].end),end:Object.assign({},t[r+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},t[t.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},l=[t[r+1],t[r+2],["enter",i,e],t[r+3],t[r+4],["enter",o,e],["exit",o,e],["enter",a,e],["enter",s,e],["exit",s,e],["exit",a,e],t[t.length-2],t[t.length-1],["exit",i,e]];return t.splice(r,t.length-r+1,...l),t}function ev(t,e,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,a=0;return function(e){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(e),t.exit("gfmFootnoteCallLabelMarker"),s};function s(e){return 94!==e?n(e):(t.enter("gfmFootnoteCallMarker"),t.consume(e),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",l)}function l(s){if(a>999||93===s&&!o||null===s||91===s||py(s))return n(s);if(93===s){t.exit("chunkString");const o=t.exit("gfmFootnoteCallString");return i.includes(Wy(r.sliceSerialize(o)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(s),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),e):n(s)}return py(s)||(o=!0),a++,t.consume(s),92===s?c:l}function c(e){return 91===e||92===e||93===e?(t.consume(e),a++,l):l(e)}}function nv(t,e,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,a,s=0;return function(e){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(e),t.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(e){return 94===e?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(e),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",c):n(e)}function c(e){if(s>999||93===e&&!a||null===e||91===e||py(e))return n(e);if(93===e){t.exit("chunkString");const n=t.exit("gfmFootnoteDefinitionLabelString");return o=Wy(r.sliceSerialize(n)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(e),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),h}return py(e)||(a=!0),s++,t.consume(e),92===e?u:c}function u(e){return 91===e||92===e||93===e?(t.consume(e),s++,c):c(e)}function h(e){return 58===e?(t.enter("definitionMarker"),t.consume(e),t.exit("definitionMarker"),i.includes(o)||i.push(o),by(t,f,"gfmFootnoteDefinitionWhitespace")):n(e)}function f(t){return e(t)}}function rv(t,e,n){return t.check(Ay,e,t.attempt($b,e,n))}function iv(t){t.exit("gfmFootnoteDefinition")}function ov(t){let e=(t||{}).singleTilde;const n={tokenize:function(t,n,r){const i=this.previous,o=this.events;let a=0;return function(e){return 126===i&&"characterEscape"!==o[o.length-1][1].type?r(e):(t.enter("strikethroughSequenceTemporary"),s(e))};function s(o){const l=fw(i);if(126===o)return a>1?r(o):(t.consume(o),a++,s);if(a<2&&!e)return r(o);const c=t.exit("strikethroughSequenceTemporary"),u=fw(o);return c._open=!u||2===u&&Boolean(l),c._close=!l||2===l&&Boolean(u),n(o)}},resolveAll:function(t,e){let n=-1;for(;++n<t.length;)if("enter"===t[n][0]&&"strikethroughSequenceTemporary"===t[n][1].type&&t[n][1]._close){let r=n;for(;r--;)if("exit"===t[r][0]&&"strikethroughSequenceTemporary"===t[r][1].type&&t[r][1]._open&&t[n][1].end.offset-t[n][1].start.offset==t[r][1].end.offset-t[r][1].start.offset){t[n][1].type="strikethroughSequence",t[r][1].type="strikethroughSequence";const i={type:"strikethrough",start:Object.assign({},t[r][1].start),end:Object.assign({},t[n][1].end)},o={type:"strikethroughText",start:Object.assign({},t[r][1].end),end:Object.assign({},t[n][1].start)},a=[["enter",i,e],["enter",t[r][1],e],["exit",t[r][1],e],["enter",o,e]],s=e.parser.constructs.insideSpan.null;s&&$g(a,a.length,0,Ny(s,t.slice(r+1,n),e)),$g(a,a.length,0,[["exit",o,e],["enter",t[n][1],e],["exit",t[n][1],e],["exit",i,e]]),$g(t,r-1,n-r+3,a),n=r+a.length-2;break}}for(n=-1;++n<t.length;)"strikethroughSequenceTemporary"===t[n][1].type&&(t[n][1].type="data");return t}};return null==e&&(e=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}class av{constructor(){this.map=[]}add(t,e,n){!function(t,e,n,r){let i=0;if(0!==n||0!==r.length){for(;i<t.map.length;){if(t.map[i][0]===e)return t.map[i][1]+=n,void t.map[i][2].push(...r);i+=1}t.map.push([e,n,r])}}(this,t,e,n)}consume(t){if(this.map.sort((function(t,e){return t[0]-e[0]})),0===this.map.length)return;let e=this.map.length;const n=[];for(;e>0;)e-=1,n.push(t.slice(this.map[e][0]+this.map[e][1]),this.map[e][2]),t.length=this.map[e][0];n.push([...t]),t.length=0;let r=n.pop();for(;r;)t.push(...r),r=n.pop();this.map.length=0}}function sv(t,e){let n=!1;const r=[];for(;e<t.length;){const i=t[e];if(n){if("enter"===i[0])"tableContent"===i[1].type&&r.push("tableDelimiterMarker"===t[e+1][1].type?"left":"none");else if("tableContent"===i[1].type){if("tableDelimiterMarker"===t[e-1][1].type){const t=r.length-1;r[t]="left"===r[t]?"center":"right"}}else if("tableDelimiterRow"===i[1].type)break}else"enter"===i[0]&&"tableDelimiterRow"===i[1].type&&(n=!0);e+=1}return r}function lv(){return{flow:{null:{tokenize:cv,resolveAll:uv}}}}function cv(t,e,n){const r=this;let i,o=0,a=0;return function(t){let e=r.events.length-1;for(;e>-1;){const t=r.events[e][1].type;if("lineEnding"!==t&&"linePrefix"!==t)break;e--}const i=e>-1?r.events[e][1].type:null,o="tableHead"===i||"tableRow"===i?v:s;return o===v&&r.parser.lazy[r.now().line]?n(t):o(t)};function s(e){return t.enter("tableHead"),t.enter("tableRow"),function(t){return 124===t||(i=!0,a+=1),l(t)}(e)}function l(e){return null===e?n(e):dy(e)?a>1?(a=0,r.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),h):n(e):my(e)?by(t,l,"whitespace")(e):(a+=1,i&&(i=!1,o+=1),124===e?(t.enter("tableCellDivider"),t.consume(e),t.exit("tableCellDivider"),i=!0,l):(t.enter("data"),c(e)))}function c(e){return null===e||124===e||py(e)?(t.exit("data"),l(e)):(t.consume(e),92===e?u:c)}function u(e){return 92===e||124===e?(t.consume(e),c):c(e)}function h(e){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(e):(t.enter("tableDelimiterRow"),i=!1,my(e)?by(t,f,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):f(e))}function f(e){return 45===e||58===e?p(e):124===e?(i=!0,t.enter("tableCellDivider"),t.consume(e),t.exit("tableCellDivider"),d):b(e)}function d(e){return my(e)?by(t,p,"whitespace")(e):p(e)}function p(e){return 58===e?(a+=1,i=!0,t.enter("tableDelimiterMarker"),t.consume(e),t.exit("tableDelimiterMarker"),m):45===e?(a+=1,m(e)):null===e||dy(e)?w(e):b(e)}function m(e){return 45===e?(t.enter("tableDelimiterFiller"),g(e)):b(e)}function g(e){return 45===e?(t.consume(e),g):58===e?(i=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(e),t.exit("tableDelimiterMarker"),y):(t.exit("tableDelimiterFiller"),y(e))}function y(e){return my(e)?by(t,w,"whitespace")(e):w(e)}function w(n){return 124===n?f(n):(null===n||dy(n))&&i&&o===a?(t.exit("tableDelimiterRow"),t.exit("tableHead"),e(n)):b(n)}function b(t){return n(t)}function v(e){return t.enter("tableRow"),E(e)}function E(n){return 124===n?(t.enter("tableCellDivider"),t.consume(n),t.exit("tableCellDivider"),E):null===n||dy(n)?(t.exit("tableRow"),e(n)):my(n)?by(t,E,"whitespace")(n):(t.enter("data"),_(n))}function _(e){return null===e||124===e||py(e)?(t.exit("data"),E(e)):(t.consume(e),92===e?A:_)}function A(e){return 92===e||124===e?(t.consume(e),_):_(e)}}function uv(t,e){let n,r,i,o=-1,a=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,h=0;const f=new av;for(;++o<t.length;){const d=t[o],p=d[1];"enter"===d[0]?"tableHead"===p.type?(u=!1,0!==h&&(fv(f,e,h,n,r),r=void 0,h=0),n={type:"table",start:Object.assign({},p.start),end:Object.assign({},p.end)},f.add(o,0,[["enter",n,e]])):"tableRow"===p.type||"tableDelimiterRow"===p.type?(a=!0,i=void 0,l=[0,0,0,0],c=[0,o+1,0,0],u&&(u=!1,r={type:"tableBody",start:Object.assign({},p.start),end:Object.assign({},p.end)},f.add(o,0,[["enter",r,e]])),s="tableDelimiterRow"===p.type?2:r?3:1):!s||"data"!==p.type&&"tableDelimiterMarker"!==p.type&&"tableDelimiterFiller"!==p.type?"tableCellDivider"===p.type&&(a?a=!1:(0!==l[1]&&(c[0]=c[1],i=hv(f,e,l,s,void 0,i)),l=c,c=[l[1],o,0,0])):(a=!1,0===c[2]&&(0!==l[1]&&(c[0]=c[1],i=hv(f,e,l,s,void 0,i),l=[0,0,0,0]),c[2]=o)):"tableHead"===p.type?(u=!0,h=o):"tableRow"===p.type||"tableDelimiterRow"===p.type?(h=o,0!==l[1]?(c[0]=c[1],i=hv(f,e,l,s,o,i)):0!==c[1]&&(i=hv(f,e,c,s,o,i)),s=0):!s||"data"!==p.type&&"tableDelimiterMarker"!==p.type&&"tableDelimiterFiller"!==p.type||(c[3]=o)}for(0!==h&&fv(f,e,h,n,r),f.consume(e.events),o=-1;++o<e.events.length;){const t=e.events[o];"enter"===t[0]&&"table"===t[1].type&&(t[1]._align=sv(e.events,o))}return t}function hv(t,e,n,r,i,o){const a=1===r?"tableHeader":2===r?"tableDelimiter":"tableData";0!==n[0]&&(o.end=Object.assign({},dv(e.events,n[0])),t.add(n[0],0,[["exit",o,e]]));const s=dv(e.events,n[1]);if(o={type:a,start:Object.assign({},s),end:Object.assign({},s)},t.add(n[1],0,[["enter",o,e]]),0!==n[2]){const i=dv(e.events,n[2]),o=dv(e.events,n[3]),a={type:"tableContent",start:Object.assign({},i),end:Object.assign({},o)};if(t.add(n[2],0,[["enter",a,e]]),2!==r){const r=e.events[n[2]],i=e.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){const e=n[2]+1,r=n[3]-n[2]-1;t.add(e,r,[])}}t.add(n[3]+1,0,[["exit",a,e]])}return void 0!==i&&(o.end=Object.assign({},dv(e.events,i)),t.add(i,0,[["exit",o,e]]),o=void 0),o}function fv(t,e,n,r,i){const o=[],a=dv(e.events,n);i&&(i.end=Object.assign({},a),o.push(["exit",i,e])),r.end=Object.assign({},a),o.push(["exit",r,e]),t.add(n+1,0,o)}function dv(t,e){const n=t[e],r="enter"===n[0]?"start":"end";return n[1][r]}const pv={tokenize:function(t,e,n){const r=this;return function(e){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(e),t.exit("taskListCheckMarker"),i):n(e)};function i(e){return py(e)?(t.enter("taskListCheckValueUnchecked"),t.consume(e),t.exit("taskListCheckValueUnchecked"),o):88===e||120===e?(t.enter("taskListCheckValueChecked"),t.consume(e),t.exit("taskListCheckValueChecked"),o):n(e)}function o(e){return 93===e?(t.enter("taskListCheckMarker"),t.consume(e),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),a):n(e)}function a(r){return dy(r)?e(r):my(r)?t.check({tokenize:gv},e,n)(r):n(r)}}};function mv(){return{text:{91:pv}}}function gv(t,e,n){return by(t,(function(t){return null===t?n(t):e(t)}),"whitespace")}const yv={};function wv(t){const e=t||yv,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),o=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(function(t){return ry([{text:Wb},Qb(),ov(t),lv(),mv()])}(e)),i.push([{transforms:[Zw],enter:{literalAutolink:Ww,literalAutolinkEmail:Gw,literalAutolinkHttp:Gw,literalAutolinkWww:Gw},exit:{literalAutolink:Xw,literalAutolinkEmail:Vw,literalAutolinkHttp:Kw,literalAutolinkWww:Yw}},tb(),pb(),_b(),Ib()]),o.push(function(t){return{extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:zw,notInConstruct:qw},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:zw,notInConstruct:qw},{character:":",before:"[ps]",after:"\\/",inConstruct:zw,notInConstruct:qw}]},eb(),mb(),Db(t),Rb()]}}(e))}var bv=n(7079);function vv(t){return"strong"===t||"emphasis"===t||"delete"===t||"superscript"===t||"subscript"===t||"underline"===t}function Ev(t){return"superscript"===t||"subscript"===t}const _v=["delete","strong","emphasis","link","underline","subscript","superscript"];function Av(t){if(t.children)for(let e=0;e<t.children.length;e+=1){let n=t.children[e],r=_v.indexOf(n.type);if(r>=0){const i=[];for(;r>=0;)i.push({node:n,key:r}),n=1===n.children?.length?n.children[0]:null,r=n?_v.indexOf(n?.type):-1;if(i.length>1){const n=i[i.length-1].node.children;i.sort(((t,e)=>t.key-e.key));for(let t=0;t<i.length-1;t+=1)i[t].node.children=[i[t+1].node];i[i.length-1].node.children=n,t.children[e]=i[0].node}Av(i[i.length-1].node)}else Av(n)}}function Mv(t){bi(t,((t,e,n)=>{const{children:r=[]}=n||{},{children:i=[]}=t;if(vv(t.type)){for(;r[e+1]?.type===t.type;)i.push(...r[e+1].children),r.splice(e+1,1);if(!i.length)return r.splice(e,1),e-1}return mi}))}function Tv(t){const{children:e,type:n}=t;if("text"===n)return!t.value;if(!e)return!1;for(let t=0;t<e.length;t+=1)Tv(e[t])&&(e.splice(t,1),t-=1);return!("paragraph"!==n&&!vv(n))&&0===e.length}function xv(t){return Mv(t),Tv(t),Av(t),Mv(t),function(t){bi(t,((t,e,n)=>{const{children:r=[]}=n||{},{children:i=[]}=t;if(vv(t.type)){const o=i[i.length-1];if("text"===o?.type){const t=o.value.trimEnd();if(t||i.pop(),t!==o.value){const n={type:"text",value:o.value.substring(t.length)};if(!i.length)return r[e]=n,e;o.value=t,r.splice(e+1,0,n)}}const a=i[0];if("text"===a?.type){const t=a.value.trimStart();if(t!==a.value){const o={type:"text",value:a.value.substring(0,a.value.length-t.length)};a.value=t,t||i.shift(),vv(n.type)||(r.splice(e,0,o),e+=1)}}const s=r[e-1];if("text"===s?.type&&!Ev(t.type)){const t=s.value.charCodeAt(s.value.length-1);fy(t)||my(t)||gy(t)||(s.value+=" ")}const l=r[e+1];if(i.length&&"text"===l?.type&&!Ev(t.type)){const t=l.value.charCodeAt(0);fy(t)||my(t)||gy(t)||(l.value=` ${l.value}`)}}return mi}))}(t),function(t){bi(t,((t,e,n)=>{const{children:r=[]}=n||{};if("text"===t.type){for(;"text"===r[e+1]?.type;)t.value+=r[e+1].value,r.splice(e+1,1);if(e===r.length-1&&(t.value=t.value.trimEnd()),"break"===r[e+1]?.type&&(t.value=t.value.trimEnd()),0===e&&"paragraph"===n?.type&&(t.value=t.value.trimStart()),!t.value)return r.splice(e,1),e-1}if("break"===t.type){if(e===r.length-1)return r.splice(e,1),e-1;delete t.value}return mi}))}(t),Tv(t),t}function Sv(t={}){const e=this.data();function n(t,n){(e[t]?e[t]:e[t]=[]).push(n)}n("micromarkExtensions",function(t){return ry([Qb(),ov(t),lv(),mv()])}(t)),n("fromMarkdownExtensions",[tb(),pb(),_b(),Ib()]),n("toMarkdownExtensions",function(t){return{extensions:[eb(),mb(),Db(t),Rb()]}}(t))}function kv(t){return null==t}var Cv={isNothing:kv,isObject:function(t){return"object"==typeof t&&null!==t},toArray:function(t){return Array.isArray(t)?t:kv(t)?[]:[t]},repeat:function(t,e){var n,r="";for(n=0;n<e;n+=1)r+=t;return r},isNegativeZero:function(t){return 0===t&&Number.NEGATIVE_INFINITY===1/t},extend:function(t,e){var n,r,i,o;if(e)for(n=0,r=(o=Object.keys(e)).length;n<r;n+=1)t[i=o[n]]=e[i];return t}};function Dv(t,e){var n="",r=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(n+='in "'+t.mark.name+'" '),n+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!e&&t.mark.snippet&&(n+="\n\n"+t.mark.snippet),r+" "+n):r}function Iv(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=Dv(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}Iv.prototype=Object.create(Error.prototype),Iv.prototype.constructor=Iv,Iv.prototype.toString=function(t){return this.name+": "+Dv(this,t)};var Rv=Iv;function Nv(t,e,n,r,i){var o="",a="",s=Math.floor(i/2)-1;return r-e>s&&(e=r-s+(o=" ... ").length),n-r>s&&(n=r+s-(a=" ...").length),{str:o+t.slice(e,n).replace(/\t/g,"→")+a,pos:r-e+o.length}}function Ov(t,e){return Cv.repeat(" ",e-t.length)+t}var Lv=function(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),"number"!=typeof e.indent&&(e.indent=1),"number"!=typeof e.linesBefore&&(e.linesBefore=3),"number"!=typeof e.linesAfter&&(e.linesAfter=2);for(var n,r=/\r?\n|\r|\0/g,i=[0],o=[],a=-1;n=r.exec(t.buffer);)o.push(n.index),i.push(n.index+n[0].length),t.position<=n.index&&a<0&&(a=i.length-2);a<0&&(a=i.length-1);var s,l,c="",u=Math.min(t.line+e.linesAfter,o.length).toString().length,h=e.maxLength-(e.indent+u+3);for(s=1;s<=e.linesBefore&&!(a-s<0);s++)l=Nv(t.buffer,i[a-s],o[a-s],t.position-(i[a]-i[a-s]),h),c=Cv.repeat(" ",e.indent)+Ov((t.line-s+1).toString(),u)+" | "+l.str+"\n"+c;for(l=Nv(t.buffer,i[a],o[a],t.position,h),c+=Cv.repeat(" ",e.indent)+Ov((t.line+1).toString(),u)+" | "+l.str+"\n",c+=Cv.repeat("-",e.indent+u+3+l.pos)+"^\n",s=1;s<=e.linesAfter&&!(a+s>=o.length);s++)l=Nv(t.buffer,i[a+s],o[a+s],t.position-(i[a]-i[a+s]),h),c+=Cv.repeat(" ",e.indent)+Ov((t.line+s+1).toString(),u)+" | "+l.str+"\n";return c.replace(/\n$/,"")},Pv=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],Fv=["scalar","sequence","mapping"],Bv=function(t,e){if(e=e||{},Object.keys(e).forEach((function(e){if(-1===Pv.indexOf(e))throw new Rv('Unknown option "'+e+'" is met in definition of "'+t+'" YAML type.')})),this.options=e,this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(t){return t},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.representName=e.representName||null,this.defaultStyle=e.defaultStyle||null,this.multi=e.multi||!1,this.styleAliases=function(t){var e={};return null!==t&&Object.keys(t).forEach((function(n){t[n].forEach((function(t){e[String(t)]=n}))})),e}(e.styleAliases||null),-1===Fv.indexOf(this.kind))throw new Rv('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')};function Uv(t,e){var n=[];return t[e].forEach((function(t){var e=n.length;n.forEach((function(n,r){n.tag===t.tag&&n.kind===t.kind&&n.multi===t.multi&&(e=r)})),n[e]=t})),n}function jv(t){return this.extend(t)}jv.prototype.extend=function(t){var e=[],n=[];if(t instanceof Bv)n.push(t);else if(Array.isArray(t))n=n.concat(t);else{if(!t||!Array.isArray(t.implicit)&&!Array.isArray(t.explicit))throw new Rv("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");t.implicit&&(e=e.concat(t.implicit)),t.explicit&&(n=n.concat(t.explicit))}e.forEach((function(t){if(!(t instanceof Bv))throw new Rv("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(t.loadKind&&"scalar"!==t.loadKind)throw new Rv("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(t.multi)throw new Rv("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")})),n.forEach((function(t){if(!(t instanceof Bv))throw new Rv("Specified list of YAML types (or a single Type object) contains a non-Type object.")}));var r=Object.create(jv.prototype);return r.implicit=(this.implicit||[]).concat(e),r.explicit=(this.explicit||[]).concat(n),r.compiledImplicit=Uv(r,"implicit"),r.compiledExplicit=Uv(r,"explicit"),r.compiledTypeMap=function(){var t,e,n={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function r(t){t.multi?(n.multi[t.kind].push(t),n.multi.fallback.push(t)):n[t.kind][t.tag]=n.fallback[t.tag]=t}for(t=0,e=arguments.length;t<e;t+=1)arguments[t].forEach(r);return n}(r.compiledImplicit,r.compiledExplicit),r};var Hv=jv,zv=new Bv("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return null!==t?t:""}}),qv=new Bv("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return null!==t?t:[]}}),Wv=new Bv("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return null!==t?t:{}}}),Gv=new Hv({explicit:[zv,qv,Wv]}),Kv=new Bv("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(t){if(null===t)return!0;var e=t.length;return 1===e&&"~"===t||4===e&&("null"===t||"Null"===t||"NULL"===t)},construct:function(){return null},predicate:function(t){return null===t},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}),Yv=new Bv("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(t){if(null===t)return!1;var e=t.length;return 4===e&&("true"===t||"True"===t||"TRUE"===t)||5===e&&("false"===t||"False"===t||"FALSE"===t)},construct:function(t){return"true"===t||"True"===t||"TRUE"===t},predicate:function(t){return"[object Boolean]"===Object.prototype.toString.call(t)},represent:{lowercase:function(t){return t?"true":"false"},uppercase:function(t){return t?"TRUE":"FALSE"},camelcase:function(t){return t?"True":"False"}},defaultStyle:"lowercase"});function Vv(t){return 48<=t&&t<=55}function Xv(t){return 48<=t&&t<=57}var Zv=new Bv("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(t){if(null===t)return!1;var e,n,r=t.length,i=0,o=!1;if(!r)return!1;if("-"!==(e=t[i])&&"+"!==e||(e=t[++i]),"0"===e){if(i+1===r)return!0;if("b"===(e=t[++i])){for(i++;i<r;i++)if("_"!==(e=t[i])){if("0"!==e&&"1"!==e)return!1;o=!0}return o&&"_"!==e}if("x"===e){for(i++;i<r;i++)if("_"!==(e=t[i])){if(!(48<=(n=t.charCodeAt(i))&&n<=57||65<=n&&n<=70||97<=n&&n<=102))return!1;o=!0}return o&&"_"!==e}if("o"===e){for(i++;i<r;i++)if("_"!==(e=t[i])){if(!Vv(t.charCodeAt(i)))return!1;o=!0}return o&&"_"!==e}}if("_"===e)return!1;for(;i<r;i++)if("_"!==(e=t[i])){if(!Xv(t.charCodeAt(i)))return!1;o=!0}return!(!o||"_"===e)},construct:function(t){var e,n=t,r=1;if(-1!==n.indexOf("_")&&(n=n.replace(/_/g,"")),"-"!==(e=n[0])&&"+"!==e||("-"===e&&(r=-1),e=(n=n.slice(1))[0]),"0"===n)return 0;if("0"===e){if("b"===n[1])return r*parseInt(n.slice(2),2);if("x"===n[1])return r*parseInt(n.slice(2),16);if("o"===n[1])return r*parseInt(n.slice(2),8)}return r*parseInt(n,10)},predicate:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&t%1==0&&!Cv.isNegativeZero(t)},represent:{binary:function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),$v=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),Qv=/^[-+]?[0-9]+e/,Jv=new Bv("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(t){return null!==t&&!(!$v.test(t)||"_"===t[t.length-1])},construct:function(t){var e,n;return n="-"===(e=t.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),".inf"===e?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===e?NaN:n*parseFloat(e,10)},predicate:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||Cv.isNegativeZero(t))},represent:function(t,e){var n;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(Cv.isNegativeZero(t))return"-0.0";return n=t.toString(10),Qv.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"}),tE=Gv.extend({implicit:[Kv,Yv,Zv,Jv]}),eE=tE,nE=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),rE=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"),iE=new Bv("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(t){return null!==t&&(null!==nE.exec(t)||null!==rE.exec(t))},construct:function(t){var e,n,r,i,o,a,s,l,c=0,u=null;if(null===(e=nE.exec(t))&&(e=rE.exec(t)),null===e)throw new Error("Date resolve error");if(n=+e[1],r=+e[2]-1,i=+e[3],!e[4])return new Date(Date.UTC(n,r,i));if(o=+e[4],a=+e[5],s=+e[6],e[7]){for(c=e[7].slice(0,3);c.length<3;)c+="0";c=+c}return e[9]&&(u=6e4*(60*+e[10]+ +(e[11]||0)),"-"===e[9]&&(u=-u)),l=new Date(Date.UTC(n,r,i,o,a,s,c)),u&&l.setTime(l.getTime()-u),l},instanceOf:Date,represent:function(t){return t.toISOString()}}),oE=new Bv("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(t){return"<<"===t||null===t}}),aE="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r",sE=new Bv("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(t){if(null===t)return!1;var e,n,r=0,i=t.length,o=aE;for(n=0;n<i;n++)if(!((e=o.indexOf(t.charAt(n)))>64)){if(e<0)return!1;r+=6}return r%8==0},construct:function(t){var e,n,r=t.replace(/[\r\n=]/g,""),i=r.length,o=aE,a=0,s=[];for(e=0;e<i;e++)e%4==0&&e&&(s.push(a>>16&255),s.push(a>>8&255),s.push(255&a)),a=a<<6|o.indexOf(r.charAt(e));return 0==(n=i%4*6)?(s.push(a>>16&255),s.push(a>>8&255),s.push(255&a)):18===n?(s.push(a>>10&255),s.push(a>>2&255)):12===n&&s.push(a>>4&255),new Uint8Array(s)},predicate:function(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)},represent:function(t){var e,n,r="",i=0,o=t.length,a=aE;for(e=0;e<o;e++)e%3==0&&e&&(r+=a[i>>18&63],r+=a[i>>12&63],r+=a[i>>6&63],r+=a[63&i]),i=(i<<8)+t[e];return 0==(n=o%3)?(r+=a[i>>18&63],r+=a[i>>12&63],r+=a[i>>6&63],r+=a[63&i]):2===n?(r+=a[i>>10&63],r+=a[i>>4&63],r+=a[i<<2&63],r+=a[64]):1===n&&(r+=a[i>>2&63],r+=a[i<<4&63],r+=a[64],r+=a[64]),r}}),lE=Object.prototype.hasOwnProperty,cE=Object.prototype.toString,uE=new Bv("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(t){if(null===t)return!0;var e,n,r,i,o,a=[],s=t;for(e=0,n=s.length;e<n;e+=1){if(r=s[e],o=!1,"[object Object]"!==cE.call(r))return!1;for(i in r)if(lE.call(r,i)){if(o)return!1;o=!0}if(!o)return!1;if(-1!==a.indexOf(i))return!1;a.push(i)}return!0},construct:function(t){return null!==t?t:[]}}),hE=Object.prototype.toString,fE=new Bv("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(t){if(null===t)return!0;var e,n,r,i,o,a=t;for(o=new Array(a.length),e=0,n=a.length;e<n;e+=1){if(r=a[e],"[object Object]"!==hE.call(r))return!1;if(1!==(i=Object.keys(r)).length)return!1;o[e]=[i[0],r[i[0]]]}return!0},construct:function(t){if(null===t)return[];var e,n,r,i,o,a=t;for(o=new Array(a.length),e=0,n=a.length;e<n;e+=1)r=a[e],i=Object.keys(r),o[e]=[i[0],r[i[0]]];return o}}),dE=Object.prototype.hasOwnProperty,pE=new Bv("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(t){if(null===t)return!0;var e,n=t;for(e in n)if(dE.call(n,e)&&null!==n[e])return!1;return!0},construct:function(t){return null!==t?t:{}}}),mE=eE.extend({implicit:[iE,oE],explicit:[sE,uE,fE,pE]}),gE=Object.prototype.hasOwnProperty,yE=1,wE=2,bE=3,vE=4,EE=1,_E=2,AE=3,ME=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,TE=/[\x85\u2028\u2029]/,xE=/[,\[\]\{\}]/,SE=/^(?:!|!!|![a-z\-]+!)$/i,kE=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function CE(t){return Object.prototype.toString.call(t)}function DE(t){return 10===t||13===t}function IE(t){return 9===t||32===t}function RE(t){return 9===t||32===t||10===t||13===t}function NE(t){return 44===t||91===t||93===t||123===t||125===t}function OE(t){var e;return 48<=t&&t<=57?t-48:97<=(e=32|t)&&e<=102?e-97+10:-1}function LE(t){return 48===t?"\0":97===t?"":98===t?"\b":116===t||9===t?"\t":110===t?"\n":118===t?"\v":102===t?"\f":114===t?"\r":101===t?"":32===t?" ":34===t?'"':47===t?"/":92===t?"\\":78===t?"…":95===t?" ":76===t?"\u2028":80===t?"\u2029":""}function PE(t){return t<=65535?String.fromCharCode(t):String.fromCharCode(55296+(t-65536>>10),56320+(t-65536&1023))}for(var FE=new Array(256),BE=new Array(256),UE=0;UE<256;UE++)FE[UE]=LE(UE)?1:0,BE[UE]=LE(UE);function jE(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||mE,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function HE(t,e){var n={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return n.snippet=Lv(n),new Rv(e,n)}function zE(t,e){throw HE(t,e)}function qE(t,e){t.onWarning&&t.onWarning.call(null,HE(t,e))}var WE={YAML:function(t,e,n){var r,i,o;null!==t.version&&zE(t,"duplication of %YAML directive"),1!==n.length&&zE(t,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&zE(t,"ill-formed argument of the YAML directive"),i=parseInt(r[1],10),o=parseInt(r[2],10),1!==i&&zE(t,"unacceptable YAML version of the document"),t.version=n[0],t.checkLineBreaks=o<2,1!==o&&2!==o&&qE(t,"unsupported YAML version of the document")},TAG:function(t,e,n){var r,i;2!==n.length&&zE(t,"TAG directive accepts exactly two arguments"),r=n[0],i=n[1],SE.test(r)||zE(t,"ill-formed tag handle (first argument) of the TAG directive"),gE.call(t.tagMap,r)&&zE(t,'there is a previously declared suffix for "'+r+'" tag handle'),kE.test(i)||zE(t,"ill-formed tag prefix (second argument) of the TAG directive");try{i=decodeURIComponent(i)}catch(e){zE(t,"tag prefix is malformed: "+i)}t.tagMap[r]=i}};function GE(t,e,n,r){var i,o,a,s;if(e<n){if(s=t.input.slice(e,n),r)for(i=0,o=s.length;i<o;i+=1)9===(a=s.charCodeAt(i))||32<=a&&a<=1114111||zE(t,"expected valid JSON character");else ME.test(s)&&zE(t,"the stream contains non-printable characters");t.result+=s}}function KE(t,e,n,r){var i,o,a,s;for(Cv.isObject(n)||zE(t,"cannot merge mappings; the provided source object is unacceptable"),a=0,s=(i=Object.keys(n)).length;a<s;a+=1)o=i[a],gE.call(e,o)||(e[o]=n[o],r[o]=!0)}function YE(t,e,n,r,i,o,a,s,l){var c,u;if(Array.isArray(i))for(c=0,u=(i=Array.prototype.slice.call(i)).length;c<u;c+=1)Array.isArray(i[c])&&zE(t,"nested arrays are not supported inside keys"),"object"==typeof i&&"[object Object]"===CE(i[c])&&(i[c]="[object Object]");if("object"==typeof i&&"[object Object]"===CE(i)&&(i="[object Object]"),i=String(i),null===e&&(e={}),"tag:yaml.org,2002:merge"===r)if(Array.isArray(o))for(c=0,u=o.length;c<u;c+=1)KE(t,e,o[c],n);else KE(t,e,o,n);else t.json||gE.call(n,i)||!gE.call(e,i)||(t.line=a||t.line,t.lineStart=s||t.lineStart,t.position=l||t.position,zE(t,"duplicated mapping key")),"__proto__"===i?Object.defineProperty(e,i,{configurable:!0,enumerable:!0,writable:!0,value:o}):e[i]=o,delete n[i];return e}function VE(t){var e;10===(e=t.input.charCodeAt(t.position))?t.position++:13===e?(t.position++,10===t.input.charCodeAt(t.position)&&t.position++):zE(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function XE(t,e,n){for(var r=0,i=t.input.charCodeAt(t.position);0!==i;){for(;IE(i);)9===i&&-1===t.firstTabInLine&&(t.firstTabInLine=t.position),i=t.input.charCodeAt(++t.position);if(e&&35===i)do{i=t.input.charCodeAt(++t.position)}while(10!==i&&13!==i&&0!==i);if(!DE(i))break;for(VE(t),i=t.input.charCodeAt(t.position),r++,t.lineIndent=0;32===i;)t.lineIndent++,i=t.input.charCodeAt(++t.position)}return-1!==n&&0!==r&&t.lineIndent<n&&qE(t,"deficient indentation"),r}function ZE(t){var e,n=t.position;return!(45!==(e=t.input.charCodeAt(n))&&46!==e||e!==t.input.charCodeAt(n+1)||e!==t.input.charCodeAt(n+2)||(n+=3,0!==(e=t.input.charCodeAt(n))&&!RE(e)))}function $E(t,e){1===e?t.result+=" ":e>1&&(t.result+=Cv.repeat("\n",e-1))}function QE(t,e){var n,r,i=t.tag,o=t.anchor,a=[],s=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=a),r=t.input.charCodeAt(t.position);0!==r&&(-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,zE(t,"tab characters must not be used in indentation")),45===r)&&RE(t.input.charCodeAt(t.position+1));)if(s=!0,t.position++,XE(t,!0,-1)&&t.lineIndent<=e)a.push(null),r=t.input.charCodeAt(t.position);else if(n=t.line,e_(t,e,bE,!1,!0),a.push(t.result),XE(t,!0,-1),r=t.input.charCodeAt(t.position),(t.line===n||t.lineIndent>e)&&0!==r)zE(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break;return!!s&&(t.tag=i,t.anchor=o,t.kind="sequence",t.result=a,!0)}function JE(t){var e,n,r,i,o=!1,a=!1;if(33!==(i=t.input.charCodeAt(t.position)))return!1;if(null!==t.tag&&zE(t,"duplication of a tag property"),60===(i=t.input.charCodeAt(++t.position))?(o=!0,i=t.input.charCodeAt(++t.position)):33===i?(a=!0,n="!!",i=t.input.charCodeAt(++t.position)):n="!",e=t.position,o){do{i=t.input.charCodeAt(++t.position)}while(0!==i&&62!==i);t.position<t.length?(r=t.input.slice(e,t.position),i=t.input.charCodeAt(++t.position)):zE(t,"unexpected end of the stream within a verbatim tag")}else{for(;0!==i&&!RE(i);)33===i&&(a?zE(t,"tag suffix cannot contain exclamation marks"):(n=t.input.slice(e-1,t.position+1),SE.test(n)||zE(t,"named tag handle cannot contain such characters"),a=!0,e=t.position+1)),i=t.input.charCodeAt(++t.position);r=t.input.slice(e,t.position),xE.test(r)&&zE(t,"tag suffix cannot contain flow indicator characters")}r&&!kE.test(r)&&zE(t,"tag name cannot contain such characters: "+r);try{r=decodeURIComponent(r)}catch(e){zE(t,"tag name is malformed: "+r)}return o?t.tag=r:gE.call(t.tagMap,n)?t.tag=t.tagMap[n]+r:"!"===n?t.tag="!"+r:"!!"===n?t.tag="tag:yaml.org,2002:"+r:zE(t,'undeclared tag handle "'+n+'"'),!0}function t_(t){var e,n;if(38!==(n=t.input.charCodeAt(t.position)))return!1;for(null!==t.anchor&&zE(t,"duplication of an anchor property"),n=t.input.charCodeAt(++t.position),e=t.position;0!==n&&!RE(n)&&!NE(n);)n=t.input.charCodeAt(++t.position);return t.position===e&&zE(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function e_(t,e,n,r,i){var o,a,s,l,c,u,h,f,d,p=1,m=!1,g=!1;if(null!==t.listener&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,o=a=s=vE===n||bE===n,r&&XE(t,!0,-1)&&(m=!0,t.lineIndent>e?p=1:t.lineIndent===e?p=0:t.lineIndent<e&&(p=-1)),1===p)for(;JE(t)||t_(t);)XE(t,!0,-1)?(m=!0,s=o,t.lineIndent>e?p=1:t.lineIndent===e?p=0:t.lineIndent<e&&(p=-1)):s=!1;if(s&&(s=m||i),1!==p&&vE!==n||(f=yE===n||wE===n?e:e+1,d=t.position-t.lineStart,1===p?s&&(QE(t,d)||function(t,e,n){var r,i,o,a,s,l,c,u=t.tag,h=t.anchor,f={},d=Object.create(null),p=null,m=null,g=null,y=!1,w=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=f),c=t.input.charCodeAt(t.position);0!==c;){if(y||-1===t.firstTabInLine||(t.position=t.firstTabInLine,zE(t,"tab characters must not be used in indentation")),r=t.input.charCodeAt(t.position+1),o=t.line,63!==c&&58!==c||!RE(r)){if(a=t.line,s=t.lineStart,l=t.position,!e_(t,n,wE,!1,!0))break;if(t.line===o){for(c=t.input.charCodeAt(t.position);IE(c);)c=t.input.charCodeAt(++t.position);if(58===c)RE(c=t.input.charCodeAt(++t.position))||zE(t,"a whitespace character is expected after the key-value separator within a block mapping"),y&&(YE(t,f,d,p,m,null,a,s,l),p=m=g=null),w=!0,y=!1,i=!1,p=t.tag,m=t.result;else{if(!w)return t.tag=u,t.anchor=h,!0;zE(t,"can not read an implicit mapping pair; a colon is missed")}}else{if(!w)return t.tag=u,t.anchor=h,!0;zE(t,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===c?(y&&(YE(t,f,d,p,m,null,a,s,l),p=m=g=null),w=!0,y=!0,i=!0):y?(y=!1,i=!0):zE(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,c=r;if((t.line===o||t.lineIndent>e)&&(y&&(a=t.line,s=t.lineStart,l=t.position),e_(t,e,vE,!0,i)&&(y?m=t.result:g=t.result),y||(YE(t,f,d,p,m,g,a,s,l),p=m=g=null),XE(t,!0,-1),c=t.input.charCodeAt(t.position)),(t.line===o||t.lineIndent>e)&&0!==c)zE(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return y&&YE(t,f,d,p,m,null,a,s,l),w&&(t.tag=u,t.anchor=h,t.kind="mapping",t.result=f),w}(t,d,f))||function(t,e){var n,r,i,o,a,s,l,c,u,h,f,d,p=!0,m=t.tag,g=t.anchor,y=Object.create(null);if(91===(d=t.input.charCodeAt(t.position)))a=93,c=!1,o=[];else{if(123!==d)return!1;a=125,c=!0,o={}}for(null!==t.anchor&&(t.anchorMap[t.anchor]=o),d=t.input.charCodeAt(++t.position);0!==d;){if(XE(t,!0,e),(d=t.input.charCodeAt(t.position))===a)return t.position++,t.tag=m,t.anchor=g,t.kind=c?"mapping":"sequence",t.result=o,!0;p?44===d&&zE(t,"expected the node content, but found ','"):zE(t,"missed comma between flow collection entries"),f=null,s=l=!1,63===d&&RE(t.input.charCodeAt(t.position+1))&&(s=l=!0,t.position++,XE(t,!0,e)),n=t.line,r=t.lineStart,i=t.position,e_(t,e,yE,!1,!0),h=t.tag,u=t.result,XE(t,!0,e),d=t.input.charCodeAt(t.position),!l&&t.line!==n||58!==d||(s=!0,d=t.input.charCodeAt(++t.position),XE(t,!0,e),e_(t,e,yE,!1,!0),f=t.result),c?YE(t,o,y,h,u,f,n,r,i):s?o.push(YE(t,null,y,h,u,f,n,r,i)):o.push(u),XE(t,!0,e),44===(d=t.input.charCodeAt(t.position))?(p=!0,d=t.input.charCodeAt(++t.position)):p=!1}zE(t,"unexpected end of the stream within a flow collection")}(t,f)?g=!0:(a&&function(t,e){var n,r,i,o,a,s=EE,l=!1,c=!1,u=e,h=0,f=!1;if(124===(o=t.input.charCodeAt(t.position)))r=!1;else{if(62!==o)return!1;r=!0}for(t.kind="scalar",t.result="";0!==o;)if(43===(o=t.input.charCodeAt(++t.position))||45===o)EE===s?s=43===o?AE:_E:zE(t,"repeat of a chomping mode identifier");else{if(!((i=48<=(a=o)&&a<=57?a-48:-1)>=0))break;0===i?zE(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):c?zE(t,"repeat of an indentation width identifier"):(u=e+i-1,c=!0)}if(IE(o)){do{o=t.input.charCodeAt(++t.position)}while(IE(o));if(35===o)do{o=t.input.charCodeAt(++t.position)}while(!DE(o)&&0!==o)}for(;0!==o;){for(VE(t),t.lineIndent=0,o=t.input.charCodeAt(t.position);(!c||t.lineIndent<u)&&32===o;)t.lineIndent++,o=t.input.charCodeAt(++t.position);if(!c&&t.lineIndent>u&&(u=t.lineIndent),DE(o))h++;else{if(t.lineIndent<u){s===AE?t.result+=Cv.repeat("\n",l?1+h:h):s===EE&&l&&(t.result+="\n");break}for(r?IE(o)?(f=!0,t.result+=Cv.repeat("\n",l?1+h:h)):f?(f=!1,t.result+=Cv.repeat("\n",h+1)):0===h?l&&(t.result+=" "):t.result+=Cv.repeat("\n",h):t.result+=Cv.repeat("\n",l?1+h:h),l=!0,c=!0,h=0,n=t.position;!DE(o)&&0!==o;)o=t.input.charCodeAt(++t.position);GE(t,n,t.position,!1)}}return!0}(t,f)||function(t,e){var n,r,i;if(39!==(n=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,r=i=t.position;0!==(n=t.input.charCodeAt(t.position));)if(39===n){if(GE(t,r,t.position,!0),39!==(n=t.input.charCodeAt(++t.position)))return!0;r=t.position,t.position++,i=t.position}else DE(n)?(GE(t,r,i,!0),$E(t,XE(t,!1,e)),r=i=t.position):t.position===t.lineStart&&ZE(t)?zE(t,"unexpected end of the document within a single quoted scalar"):(t.position++,i=t.position);zE(t,"unexpected end of the stream within a single quoted scalar")}(t,f)||function(t,e){var n,r,i,o,a,s,l;if(34!==(s=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,n=r=t.position;0!==(s=t.input.charCodeAt(t.position));){if(34===s)return GE(t,n,t.position,!0),t.position++,!0;if(92===s){if(GE(t,n,t.position,!0),DE(s=t.input.charCodeAt(++t.position)))XE(t,!1,e);else if(s<256&&FE[s])t.result+=BE[s],t.position++;else if((a=120===(l=s)?2:117===l?4:85===l?8:0)>0){for(i=a,o=0;i>0;i--)(a=OE(s=t.input.charCodeAt(++t.position)))>=0?o=(o<<4)+a:zE(t,"expected hexadecimal character");t.result+=PE(o),t.position++}else zE(t,"unknown escape sequence");n=r=t.position}else DE(s)?(GE(t,n,r,!0),$E(t,XE(t,!1,e)),n=r=t.position):t.position===t.lineStart&&ZE(t)?zE(t,"unexpected end of the document within a double quoted scalar"):(t.position++,r=t.position)}zE(t,"unexpected end of the stream within a double quoted scalar")}(t,f)?g=!0:function(t){var e,n,r;if(42!==(r=t.input.charCodeAt(t.position)))return!1;for(r=t.input.charCodeAt(++t.position),e=t.position;0!==r&&!RE(r)&&!NE(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&zE(t,"name of an alias node must contain at least one character"),n=t.input.slice(e,t.position),gE.call(t.anchorMap,n)||zE(t,'unidentified alias "'+n+'"'),t.result=t.anchorMap[n],XE(t,!0,-1),!0}(t)?(g=!0,null===t.tag&&null===t.anchor||zE(t,"alias node should not have any properties")):function(t,e,n){var r,i,o,a,s,l,c,u,h=t.kind,f=t.result;if(RE(u=t.input.charCodeAt(t.position))||NE(u)||35===u||38===u||42===u||33===u||124===u||62===u||39===u||34===u||37===u||64===u||96===u)return!1;if((63===u||45===u)&&(RE(r=t.input.charCodeAt(t.position+1))||n&&NE(r)))return!1;for(t.kind="scalar",t.result="",i=o=t.position,a=!1;0!==u;){if(58===u){if(RE(r=t.input.charCodeAt(t.position+1))||n&&NE(r))break}else if(35===u){if(RE(t.input.charCodeAt(t.position-1)))break}else{if(t.position===t.lineStart&&ZE(t)||n&&NE(u))break;if(DE(u)){if(s=t.line,l=t.lineStart,c=t.lineIndent,XE(t,!1,-1),t.lineIndent>=e){a=!0,u=t.input.charCodeAt(t.position);continue}t.position=o,t.line=s,t.lineStart=l,t.lineIndent=c;break}}a&&(GE(t,i,o,!1),$E(t,t.line-s),i=o=t.position,a=!1),IE(u)||(o=t.position+1),u=t.input.charCodeAt(++t.position)}return GE(t,i,o,!1),!!t.result||(t.kind=h,t.result=f,!1)}(t,f,yE===n)&&(g=!0,null===t.tag&&(t.tag="?")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===p&&(g=s&&QE(t,d))),null===t.tag)null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);else if("?"===t.tag){for(null!==t.result&&"scalar"!==t.kind&&zE(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"'),l=0,c=t.implicitTypes.length;l<c;l+=1)if((h=t.implicitTypes[l]).resolve(t.result)){t.result=h.construct(t.result),t.tag=h.tag,null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);break}}else if("!"!==t.tag){if(gE.call(t.typeMap[t.kind||"fallback"],t.tag))h=t.typeMap[t.kind||"fallback"][t.tag];else for(h=null,l=0,c=(u=t.typeMap.multi[t.kind||"fallback"]).length;l<c;l+=1)if(t.tag.slice(0,u[l].tag.length)===u[l].tag){h=u[l];break}h||zE(t,"unknown tag !<"+t.tag+">"),null!==t.result&&h.kind!==t.kind&&zE(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+h.kind+'", not "'+t.kind+'"'),h.resolve(t.result,t.tag)?(t.result=h.construct(t.result,t.tag),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):zE(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),null!==t.tag||null!==t.anchor||g}function n_(t){var e,n,r,i,o=t.position,a=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);0!==(i=t.input.charCodeAt(t.position))&&(XE(t,!0,-1),i=t.input.charCodeAt(t.position),!(t.lineIndent>0||37!==i));){for(a=!0,i=t.input.charCodeAt(++t.position),e=t.position;0!==i&&!RE(i);)i=t.input.charCodeAt(++t.position);for(r=[],(n=t.input.slice(e,t.position)).length<1&&zE(t,"directive name must not be less than one character in length");0!==i;){for(;IE(i);)i=t.input.charCodeAt(++t.position);if(35===i){do{i=t.input.charCodeAt(++t.position)}while(0!==i&&!DE(i));break}if(DE(i))break;for(e=t.position;0!==i&&!RE(i);)i=t.input.charCodeAt(++t.position);r.push(t.input.slice(e,t.position))}0!==i&&VE(t),gE.call(WE,n)?WE[n](t,n,r):qE(t,'unknown document directive "'+n+'"')}XE(t,!0,-1),0===t.lineIndent&&45===t.input.charCodeAt(t.position)&&45===t.input.charCodeAt(t.position+1)&&45===t.input.charCodeAt(t.position+2)?(t.position+=3,XE(t,!0,-1)):a&&zE(t,"directives end mark is expected"),e_(t,t.lineIndent-1,vE,!1,!0),XE(t,!0,-1),t.checkLineBreaks&&TE.test(t.input.slice(o,t.position))&&qE(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&ZE(t)?46===t.input.charCodeAt(t.position)&&(t.position+=3,XE(t,!0,-1)):t.position<t.length-1&&zE(t,"end of the stream or a document separator is expected")}function r_(t,e){e=e||{},0!==(t=String(t)).length&&(10!==t.charCodeAt(t.length-1)&&13!==t.charCodeAt(t.length-1)&&(t+="\n"),65279===t.charCodeAt(0)&&(t=t.slice(1)));var n=new jE(t,e),r=t.indexOf("\0");for(-1!==r&&(n.position=r,zE(n,"null byte is not allowed in input")),n.input+="\0";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)n_(n);return n.documents}var i_={loadAll:function(t,e,n){null!==e&&"object"==typeof e&&void 0===n&&(n=e,e=null);var r=r_(t,n);if("function"!=typeof e)return r;for(var i=0,o=r.length;i<o;i+=1)e(r[i])},load:function(t,e){var n=r_(t,e);if(0!==n.length){if(1===n.length)return n[0];throw new Rv("expected a single document in the stream, but found more")}}},o_=Object.prototype.toString,a_=Object.prototype.hasOwnProperty,s_=65279,l_=9,c_=10,u_=13,h_=32,f_=33,d_=34,p_=35,m_=37,g_=38,y_=39,w_=42,b_=44,v_=45,E_=58,__=61,A_=62,M_=63,T_=64,x_=91,S_=93,k_=96,C_=123,D_=124,I_=125,R_={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},N_=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],O_=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function L_(t){var e,n,r;if(e=t.toString(16).toUpperCase(),t<=255)n="x",r=2;else if(t<=65535)n="u",r=4;else{if(!(t<=4294967295))throw new Rv("code point within a string may not be greater than 0xFFFFFFFF");n="U",r=8}return"\\"+n+Cv.repeat("0",r-e.length)+e}var P_=2;function F_(t){this.schema=t.schema||mE,this.indent=Math.max(1,t.indent||2),this.noArrayIndent=t.noArrayIndent||!1,this.skipInvalid=t.skipInvalid||!1,this.flowLevel=Cv.isNothing(t.flowLevel)?-1:t.flowLevel,this.styleMap=function(t,e){var n,r,i,o,a,s,l;if(null===e)return{};for(n={},i=0,o=(r=Object.keys(e)).length;i<o;i+=1)a=r[i],s=String(e[a]),"!!"===a.slice(0,2)&&(a="tag:yaml.org,2002:"+a.slice(2)),(l=t.compiledTypeMap.fallback[a])&&a_.call(l.styleAliases,s)&&(s=l.styleAliases[s]),n[a]=s;return n}(this.schema,t.styles||null),this.sortKeys=t.sortKeys||!1,this.lineWidth=t.lineWidth||80,this.noRefs=t.noRefs||!1,this.noCompatMode=t.noCompatMode||!1,this.condenseFlow=t.condenseFlow||!1,this.quotingType='"'===t.quotingType?P_:1,this.forceQuotes=t.forceQuotes||!1,this.replacer="function"==typeof t.replacer?t.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function B_(t,e){for(var n,r=Cv.repeat(" ",e),i=0,o=-1,a="",s=t.length;i<s;)-1===(o=t.indexOf("\n",i))?(n=t.slice(i),i=s):(n=t.slice(i,o+1),i=o+1),n.length&&"\n"!==n&&(a+=r),a+=n;return a}function U_(t,e){return"\n"+Cv.repeat(" ",t.indent*e)}function j_(t){return t===h_||t===l_}function H_(t){return 32<=t&&t<=126||161<=t&&t<=55295&&8232!==t&&8233!==t||57344<=t&&t<=65533&&t!==s_||65536<=t&&t<=1114111}function z_(t){return H_(t)&&t!==s_&&t!==u_&&t!==c_}function q_(t,e,n){var r=z_(t),i=r&&!j_(t);return(n?r:r&&t!==b_&&t!==x_&&t!==S_&&t!==C_&&t!==I_)&&t!==p_&&!(e===E_&&!i)||z_(e)&&!j_(e)&&t===p_||e===E_&&i}function W_(t,e){var n,r=t.charCodeAt(e);return r>=55296&&r<=56319&&e+1<t.length&&(n=t.charCodeAt(e+1))>=56320&&n<=57343?1024*(r-55296)+n-56320+65536:r}function G_(t){return/^\n* /.test(t)}var K_=1,Y_=2,V_=3,X_=4,Z_=5;function $_(t,e,n,r,i){t.dump=function(){if(0===e.length)return t.quotingType===P_?'""':"''";if(!t.noCompatMode&&(-1!==N_.indexOf(e)||O_.test(e)))return t.quotingType===P_?'"'+e+'"':"'"+e+"'";var o=t.indent*Math.max(1,n),a=-1===t.lineWidth?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-o),s=r||t.flowLevel>-1&&n>=t.flowLevel;switch(function(t,e,n,r,i,o,a,s){var l,c,u=0,h=null,f=!1,d=!1,p=-1!==r,m=-1,g=H_(c=W_(t,0))&&c!==s_&&!j_(c)&&c!==v_&&c!==M_&&c!==E_&&c!==b_&&c!==x_&&c!==S_&&c!==C_&&c!==I_&&c!==p_&&c!==g_&&c!==w_&&c!==f_&&c!==D_&&c!==__&&c!==A_&&c!==y_&&c!==d_&&c!==m_&&c!==T_&&c!==k_&&function(t){return!j_(t)&&t!==E_}(W_(t,t.length-1));if(e||a)for(l=0;l<t.length;u>=65536?l+=2:l++){if(!H_(u=W_(t,l)))return Z_;g=g&&q_(u,h,s),h=u}else{for(l=0;l<t.length;u>=65536?l+=2:l++){if((u=W_(t,l))===c_)f=!0,p&&(d=d||l-m-1>r&&" "!==t[m+1],m=l);else if(!H_(u))return Z_;g=g&&q_(u,h,s),h=u}d=d||p&&l-m-1>r&&" "!==t[m+1]}return f||d?n>9&&G_(t)?Z_:a?o===P_?Z_:Y_:d?X_:V_:!g||a||i(t)?o===P_?Z_:Y_:K_}(e,s,t.indent,a,(function(e){return function(t,e){var n,r;for(n=0,r=t.implicitTypes.length;n<r;n+=1)if(t.implicitTypes[n].resolve(e))return!0;return!1}(t,e)}),t.quotingType,t.forceQuotes&&!r,i)){case K_:return e;case Y_:return"'"+e.replace(/'/g,"''")+"'";case V_:return"|"+Q_(e,t.indent)+J_(B_(e,o));case X_:return">"+Q_(e,t.indent)+J_(B_(function(t,e){for(var n,r,i,o=/(\n+)([^\n]*)/g,a=(i=-1!==(i=t.indexOf("\n"))?i:t.length,o.lastIndex=i,tA(t.slice(0,i),e)),s="\n"===t[0]||" "===t[0];r=o.exec(t);){var l=r[1],c=r[2];n=" "===c[0],a+=l+(s||n||""===c?"":"\n")+tA(c,e),s=n}return a}(e,a),o));case Z_:return'"'+function(t){for(var e,n="",r=0,i=0;i<t.length;r>=65536?i+=2:i++)r=W_(t,i),!(e=R_[r])&&H_(r)?(n+=t[i],r>=65536&&(n+=t[i+1])):n+=e||L_(r);return n}(e)+'"';default:throw new Rv("impossible error: invalid scalar style")}}()}function Q_(t,e){var n=G_(t)?String(e):"",r="\n"===t[t.length-1];return n+(!r||"\n"!==t[t.length-2]&&"\n"!==t?r?"":"-":"+")+"\n"}function J_(t){return"\n"===t[t.length-1]?t.slice(0,-1):t}function tA(t,e){if(""===t||" "===t[0])return t;for(var n,r,i=/ [^ ]/g,o=0,a=0,s=0,l="";n=i.exec(t);)(s=n.index)-o>e&&(r=a>o?a:s,l+="\n"+t.slice(o,r),o=r+1),a=s;return l+="\n",t.length-o>e&&a>o?l+=t.slice(o,a)+"\n"+t.slice(a+1):l+=t.slice(o),l.slice(1)}function eA(t,e,n,r){var i,o,a,s="",l=t.tag;for(i=0,o=n.length;i<o;i+=1)a=n[i],t.replacer&&(a=t.replacer.call(n,String(i),a)),(rA(t,e+1,a,!0,!0,!1,!0)||void 0===a&&rA(t,e+1,null,!0,!0,!1,!0))&&(r&&""===s||(s+=U_(t,e)),t.dump&&c_===t.dump.charCodeAt(0)?s+="-":s+="- ",s+=t.dump);t.tag=l,t.dump=s||"[]"}function nA(t,e,n){var r,i,o,a,s,l;for(o=0,a=(i=n?t.explicitTypes:t.implicitTypes).length;o<a;o+=1)if(((s=i[o]).instanceOf||s.predicate)&&(!s.instanceOf||"object"==typeof e&&e instanceof s.instanceOf)&&(!s.predicate||s.predicate(e))){if(n?s.multi&&s.representName?t.tag=s.representName(e):t.tag=s.tag:t.tag="?",s.represent){if(l=t.styleMap[s.tag]||s.defaultStyle,"[object Function]"===o_.call(s.represent))r=s.represent(e,l);else{if(!a_.call(s.represent,l))throw new Rv("!<"+s.tag+'> tag resolver accepts not "'+l+'" style');r=s.represent[l](e,l)}t.dump=r}return!0}return!1}function rA(t,e,n,r,i,o,a){t.tag=null,t.dump=n,nA(t,n,!1)||nA(t,n,!0);var s,l=o_.call(t.dump),c=r;r&&(r=t.flowLevel<0||t.flowLevel>e);var u,h,f="[object Object]"===l||"[object Array]"===l;if(f&&(h=-1!==(u=t.duplicates.indexOf(n))),(null!==t.tag&&"?"!==t.tag||h||2!==t.indent&&e>0)&&(i=!1),h&&t.usedDuplicates[u])t.dump="*ref_"+u;else{if(f&&h&&!t.usedDuplicates[u]&&(t.usedDuplicates[u]=!0),"[object Object]"===l)r&&0!==Object.keys(t.dump).length?(function(t,e,n,r){var i,o,a,s,l,c,u="",h=t.tag,f=Object.keys(n);if(!0===t.sortKeys)f.sort();else if("function"==typeof t.sortKeys)f.sort(t.sortKeys);else if(t.sortKeys)throw new Rv("sortKeys must be a boolean or a function");for(i=0,o=f.length;i<o;i+=1)c="",r&&""===u||(c+=U_(t,e)),s=n[a=f[i]],t.replacer&&(s=t.replacer.call(n,a,s)),rA(t,e+1,a,!0,!0,!0)&&((l=null!==t.tag&&"?"!==t.tag||t.dump&&t.dump.length>1024)&&(t.dump&&c_===t.dump.charCodeAt(0)?c+="?":c+="? "),c+=t.dump,l&&(c+=U_(t,e)),rA(t,e+1,s,!0,l)&&(t.dump&&c_===t.dump.charCodeAt(0)?c+=":":c+=": ",u+=c+=t.dump));t.tag=h,t.dump=u||"{}"}(t,e,t.dump,i),h&&(t.dump="&ref_"+u+t.dump)):(function(t,e,n){var r,i,o,a,s,l="",c=t.tag,u=Object.keys(n);for(r=0,i=u.length;r<i;r+=1)s="",""!==l&&(s+=", "),t.condenseFlow&&(s+='"'),a=n[o=u[r]],t.replacer&&(a=t.replacer.call(n,o,a)),rA(t,e,o,!1,!1)&&(t.dump.length>1024&&(s+="? "),s+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),rA(t,e,a,!1,!1)&&(l+=s+=t.dump));t.tag=c,t.dump="{"+l+"}"}(t,e,t.dump),h&&(t.dump="&ref_"+u+" "+t.dump));else if("[object Array]"===l)r&&0!==t.dump.length?(t.noArrayIndent&&!a&&e>0?eA(t,e-1,t.dump,i):eA(t,e,t.dump,i),h&&(t.dump="&ref_"+u+t.dump)):(function(t,e,n){var r,i,o,a="",s=t.tag;for(r=0,i=n.length;r<i;r+=1)o=n[r],t.replacer&&(o=t.replacer.call(n,String(r),o)),(rA(t,e,o,!1,!1)||void 0===o&&rA(t,e,null,!1,!1))&&(""!==a&&(a+=","+(t.condenseFlow?"":" ")),a+=t.dump);t.tag=s,t.dump="["+a+"]"}(t,e,t.dump),h&&(t.dump="&ref_"+u+" "+t.dump));else{if("[object String]"!==l){if("[object Undefined]"===l)return!1;if(t.skipInvalid)return!1;throw new Rv("unacceptable kind of an object to dump "+l)}"?"!==t.tag&&$_(t,t.dump,e,o,c)}null!==t.tag&&"?"!==t.tag&&(s=encodeURI("!"===t.tag[0]?t.tag.slice(1):t.tag).replace(/!/g,"%21"),s="!"===t.tag[0]?"!"+s:"tag:yaml.org,2002:"===s.slice(0,18)?"!!"+s.slice(18):"!<"+s+">",t.dump=s+" "+t.dump)}return!0}function iA(t,e){var n,r,i=[],o=[];for(oA(t,i,o),n=0,r=o.length;n<r;n+=1)e.duplicates.push(i[o[n]]);e.usedDuplicates=new Array(r)}function oA(t,e,n){var r,i,o;if(null!==t&&"object"==typeof t)if(-1!==(i=e.indexOf(t)))-1===n.indexOf(i)&&n.push(i);else if(e.push(t),Array.isArray(t))for(i=0,o=t.length;i<o;i+=1)oA(t[i],e,n);else for(i=0,o=(r=Object.keys(t)).length;i<o;i+=1)oA(t[r[i]],e,n)}function aA(t,e){return function(){throw new Error("Function yaml."+t+" is removed in js-yaml 4. Use yaml."+e+" instead, which is now safe by default.")}}const sA={Type:Bv,Schema:Hv,FAILSAFE_SCHEMA:Gv,JSON_SCHEMA:tE,CORE_SCHEMA:eE,DEFAULT_SCHEMA:mE,load:i_.load,loadAll:i_.loadAll,dump:function(t,e){var n=new F_(e=e||{});n.noRefs||iA(t,n);var r=t;return n.replacer&&(r=n.replacer.call({"":r},"",r)),rA(n,0,r,!0,!0)?n.dump+"\n":""},YAMLException:Rv,types:{binary:sE,float:Jv,map:Wv,null:Kv,pairs:fE,set:pE,timestamp:iE,bool:Yv,int:Zv,merge:oE,omap:uE,seq:qv,str:zv},safeLoad:aA("safeLoad","load"),safeLoadAll:aA("safeLoadAll","loadAll"),safeDump:aA("safeDump","dump")},lA="yaml";function cA(t){this.enter({type:lA,value:"",payload:{}},t),this.buffer()}function uA(t){return function(e){const n=this.resume(),r=this.stack[this.stack.length-1];r.payload=sA.load(n),t.yamlDump?r.value=sA.dump(r.payload):delete r.value,this.exit(e)}}function hA(t){this.config.enter.data.call(this,t),this.config.exit.data.call(this,t)}const fA={carriageReturn:-5,lineFeed:-4,carriageReturnLineFeed:-3,horizontalTab:-2,virtualSpace:-1,eof:null,nul:0,soh:1,stx:2,etx:3,eot:4,enq:5,ack:6,bel:7,bs:8,ht:9,lf:10,vt:11,ff:12,cr:13,so:14,si:15,dle:16,dc1:17,dc2:18,dc3:19,dc4:20,nak:21,syn:22,etb:23,can:24,em:25,sub:26,esc:27,fs:28,gs:29,rs:30,us:31,space:32,exclamationMark:33,quotationMark:34,numberSign:35,dollarSign:36,percentSign:37,ampersand:38,apostrophe:39,leftParenthesis:40,rightParenthesis:41,asterisk:42,plusSign:43,comma:44,dash:45,dot:46,slash:47,digit0:48,digit1:49,digit2:50,digit3:51,digit4:52,digit5:53,digit6:54,digit7:55,digit8:56,digit9:57,colon:58,semicolon:59,lessThan:60,equalsTo:61,greaterThan:62,questionMark:63,atSign:64,uppercaseA:65,uppercaseB:66,uppercaseC:67,uppercaseD:68,uppercaseE:69,uppercaseF:70,uppercaseG:71,uppercaseH:72,uppercaseI:73,uppercaseJ:74,uppercaseK:75,uppercaseL:76,uppercaseM:77,uppercaseN:78,uppercaseO:79,uppercaseP:80,uppercaseQ:81,uppercaseR:82,uppercaseS:83,uppercaseT:84,uppercaseU:85,uppercaseV:86,uppercaseW:87,uppercaseX:88,uppercaseY:89,uppercaseZ:90,leftSquareBracket:91,backslash:92,rightSquareBracket:93,caret:94,underscore:95,graveAccent:96,lowercaseA:97,lowercaseB:98,lowercaseC:99,lowercaseD:100,lowercaseE:101,lowercaseF:102,lowercaseG:103,lowercaseH:104,lowercaseI:105,lowercaseJ:106,lowercaseK:107,lowercaseL:108,lowercaseM:109,lowercaseN:110,lowercaseO:111,lowercaseP:112,lowercaseQ:113,lowercaseR:114,lowercaseS:115,lowercaseT:116,lowercaseU:117,lowercaseV:118,lowercaseW:119,lowercaseX:120,lowercaseY:121,lowercaseZ:122,leftCurlyBrace:123,verticalBar:124,rightCurlyBrace:125,tilde:126,del:127,byteOrderMarker:65279,replacementCharacter:65533},dA={data:"data",whitespace:"whitespace",lineEnding:"lineEnding",lineEndingBlank:"lineEndingBlank",linePrefix:"linePrefix",lineSuffix:"lineSuffix",atxHeading:"atxHeading",atxHeadingSequence:"atxHeadingSequence",atxHeadingText:"atxHeadingText",autolink:"autolink",autolinkEmail:"autolinkEmail",autolinkMarker:"autolinkMarker",autolinkProtocol:"autolinkProtocol",characterEscape:"characterEscape",characterEscapeValue:"characterEscapeValue",characterReference:"characterReference",characterReferenceMarker:"characterReferenceMarker",characterReferenceMarkerNumeric:"characterReferenceMarkerNumeric",characterReferenceMarkerHexadecimal:"characterReferenceMarkerHexadecimal",characterReferenceValue:"characterReferenceValue",codeFenced:"codeFenced",codeFencedFence:"codeFencedFence",codeFencedFenceSequence:"codeFencedFenceSequence",codeFencedFenceInfo:"codeFencedFenceInfo",codeFencedFenceMeta:"codeFencedFenceMeta",codeFlowValue:"codeFlowValue",codeIndented:"codeIndented",codeText:"codeText",codeTextData:"codeTextData",codeTextPadding:"codeTextPadding",codeTextSequence:"codeTextSequence",content:"content",definition:"definition",definitionDestination:"definitionDestination",definitionDestinationLiteral:"definitionDestinationLiteral",definitionDestinationLiteralMarker:"definitionDestinationLiteralMarker",definitionDestinationRaw:"definitionDestinationRaw",definitionDestinationString:"definitionDestinationString",definitionLabel:"definitionLabel",definitionLabelMarker:"definitionLabelMarker",definitionLabelString:"definitionLabelString",definitionMarker:"definitionMarker",definitionTitle:"definitionTitle",definitionTitleMarker:"definitionTitleMarker",definitionTitleString:"definitionTitleString",emphasis:"emphasis",emphasisSequence:"emphasisSequence",emphasisText:"emphasisText",escapeMarker:"escapeMarker",hardBreakEscape:"hardBreakEscape",hardBreakTrailing:"hardBreakTrailing",htmlFlow:"htmlFlow",htmlFlowData:"htmlFlowData",htmlText:"htmlText",htmlTextData:"htmlTextData",image:"image",label:"label",labelText:"labelText",labelLink:"labelLink",labelImage:"labelImage",labelMarker:"labelMarker",labelImageMarker:"labelImageMarker",labelEnd:"labelEnd",link:"link",paragraph:"paragraph",reference:"reference",referenceMarker:"referenceMarker",referenceString:"referenceString",resource:"resource",resourceDestination:"resourceDestination",resourceDestinationLiteral:"resourceDestinationLiteral",resourceDestinationLiteralMarker:"resourceDestinationLiteralMarker",resourceDestinationRaw:"resourceDestinationRaw",resourceDestinationString:"resourceDestinationString",resourceMarker:"resourceMarker",resourceTitle:"resourceTitle",resourceTitleMarker:"resourceTitleMarker",resourceTitleString:"resourceTitleString",setextHeading:"setextHeading",setextHeadingText:"setextHeadingText",setextHeadingLine:"setextHeadingLine",setextHeadingLineSequence:"setextHeadingLineSequence",strong:"strong",strongSequence:"strongSequence",strongText:"strongText",thematicBreak:"thematicBreak",thematicBreakSequence:"thematicBreakSequence",blockQuote:"blockQuote",blockQuotePrefix:"blockQuotePrefix",blockQuoteMarker:"blockQuoteMarker",blockQuotePrefixWhitespace:"blockQuotePrefixWhitespace",listOrdered:"listOrdered",listUnordered:"listUnordered",listItemIndent:"listItemIndent",listItemMarker:"listItemMarker",listItemPrefix:"listItemPrefix",listItemPrefixWhitespace:"listItemPrefixWhitespace",listItemValue:"listItemValue",chunkDocument:"chunkDocument",chunkContent:"chunkContent",chunkFlow:"chunkFlow",chunkText:"chunkText",chunkString:"chunkString"},pA=t=>null!=t?t.constructor:t;function mA(t){const e="yamlValue",n="yamlFence",r="yamlSequence",{errorHandler:i}=t,o={tokenize:function(t,e,i){let o=0;return function(e){return e===fA.dash?(t.enter(n),t.enter(r),a(e)):i(e)};function a(e){return 3===o?(t.exit(r),my(e)?(t.enter(dA.whitespace),s(e)):l(e)):e===fA.dash?(t.consume(e),o+=1,a):i(e)}function s(e){return my(e)?(t.consume(e),s):(t.exit(dA.whitespace),l(e))}function l(r){return r===fA.eof||dy(r)?(t.exit(n),e(r)):i(r)}},partial:!0};return{tokenize:function(t,n,r){const s=this;let l,c=!1;return function(e){const n=s.now();if(1!==n.column)return r(e);l=n.line;const{events:i}=s;for(let t=i.length-1;t>=0;t-=1){const{type:n}=i[t][1];if("lineEndingBlank"===n)break;if("lineEnding"!==n)return r(e)}return t.enter(lA),t.attempt(o,d,r)(e)};function u(n){return c=!0,n===fA.eof||dy(n)?d(n):(t.enter(e),h(n))}function h(n){return n===fA.eof||dy(n)?(t.exit(e),d(n)):(my(n)||(c=!1),t.consume(n),h)}function f(e){const o=t.exit(lA);let l=s.sliceSerialize(o).trim();return l=l.substring(4,l.length-3).trim(),function(t,e){try{const n=sA.load(t);let r=pA(n);return r===Object||(r===String||r===Number||e&&(Array.isArray(n)&&(r="Array"),e(`Found ambiguous frontmatter block: Block contains valid yaml, but it's data type is "${r}" instead of Object. Make sure your yaml blocks contain only key-value pairs at the root level!`,t)),!1)}catch(t){return e&&e(t),!1}}(l,i)?e===fA.eof?n(e):t.check({tokenize:a,partial:!0},n,r)(e):r(e)}function d(e){if(e===fA.eof)return r(e);if(c){if(1==s.now().line-l)return r(e);if(1!==l)return r(e)}return t.enter(dA.lineEnding),t.consume(e),t.exit(dA.lineEnding),t.attempt(o,f,u)}}};function a(t,e,n){let r=!1;return function(e){return t.enter(dA.lineEnding),t.consume(e),t.exit(dA.lineEnding),i};function i(o){return o===fA.eof||dy(o)?e(o):my(o)?(r||(t.enter(dA.whitespace),r=!0),t.consume(o),i):(r&&t.exit(dA.whitespace),n(o))}}}function gA(t){const e=this.data();function n(t,n){e[t]?e[t].push(n):e[t]=[n]}n("micromarkExtensions",function(t={}){return{flow:{[fA.dash]:[mA(t)]}}}(t)),n("fromMarkdownExtensions",function(t={}){return{enter:{[lA]:cA},exit:{[lA]:uA(t),yamlValue:hA}}}(t)),n("toMarkdownExtensions",{handlers:{[lA]:t=>`---\n${t.value.trim()}\n---`}})}const yA="gridTable",wA="gtHeader",bA="gtBody",vA="gtFooter",EA="gtRow",_A="gtCell",AA="gtRowLine",MA="gtGridDivider",TA="cellDivider",xA={[fA.lowercaseV]:"bottom",[fA.lowercaseX]:"middle",[fA.caret]:"top"},SA={flow:{[fA.plusSign]:function(){return{tokenize:function(e,n,r){const i=[0];let o=0,a=0,s=0,l=null,c="",u="";return function(t){return e.enter(yA)._cols=i,e.enter(bA),h(t)};function h(t){return l=e.enter(AA),e.enter(TA),e.consume(t),e.exit(TA),s=0,a=0,f}function f(t){return c="",u="",t===fA.dash||t===fA.equalsTo||t===fA.colon||t===fA.greaterThan?(e.enter(MA)._colStart=s,s+=1,t===fA.colon?c="left":t===fA.greaterThan&&(c="justify"),e.consume(t),g):t===fA.eof||dy(t)?m(t):(e.enter(_A)._colStart=s,s+=1,e.consume(t),my(t)?d:w)}function d(t){return t===fA.eof||dy(t)?(e.exit(_A)._discard=!0,m(t)):my(t)?(s+=1,e.consume(t),d):w(t)}function p(t){return o<3?r(t):(e.exit(bA),e.exit(yA),n(t))}function m(n){return 0===a?r(n):(e.exit(AA),o+=1,n===fA.eof?p(n):e.check({tokenize:t},(t=>(e.enter(dA.lineEnding),e.consume(t),e.exit(dA.lineEnding),h)),p)(n))}function g(t){if(s+=1,t===fA.dash||t===fA.equalsTo)return l._type||(l._type=t),e.consume(t),g;if(t===fA.colon){if(c){if("left"!==c)return r(t);c="center"}else c="right";return e.consume(t),y}return t===fA.lessThan?"justify"!==c?r(t):(e.consume(t),y):xA[t]?u?r(t):(u=xA[t],e.consume(t),g):t===fA.plusSign||t===fA.verticalBar?(s-=1,y(t)):r(t)}function y(t){if(t!==fA.plusSign&&t!==fA.verticalBar)return r(t);l._type||(l._type=t.dash),s+=1,i.indexOf(s)<0&&(i.push(s),i.sort(((t,e)=>t-e)));const n=e.exit(MA);return n._colEnd=s,n._align=c,n._valign=u,e.enter(TA),e.consume(t),e.exit(TA),a+=1,f}function w(t){return s+=1,t===fA.verticalBar||t===fA.plusSign?i.indexOf(s)>=0?(e.exit(_A)._colEnd=s,e.enter(TA),e.consume(t),e.exit(TA),a+=1,f):(e.consume(t),w):t===fA.eof?r(t):(e.consume(t),t===fA.backslash?b:w)}function b(t){return t===fA.backslash||t===fA.verticalBar||t===fA.plusSign?(s+=1,e.consume(t),w):w(t)}},resolve:function(t,e){return t=function(t,e){const n=[];let r=-1;for(let i=0;i<t.length;i+=1){const[o,a]=t[i],{type:s}=a;if(s===bA)if("enter"===o)r=i;else{let[o,s]=n;const l=a;if(o>r+1){const n={type:wA,start:l.start,end:t[o][1].end};l.start=n.end,t[r][1]=n,t.splice(o,0,["exit",n,e],["enter",l,e]),i+=2,s+=2}if(s){const n={type:vA,start:t[s][1].start,end:l.end};l.end=n.start,t.splice(s,0,["exit",l,e],["enter",n,e]),i+=2,t[i][1]=n}}else s===AA&&"enter"===o&&a._type===fA.equalsTo&&n.push(i)}return t}(t=t.filter((([,t])=>!t._discard)),e),t},resolveAll:function(t,e){const{defined:n}=e.parser;for(const[e,r]of t)"enter"===e&&r.type===yA&&(r._definitions=n);return t},concrete:!0};function t(t,e,n){function r(t){return t===fA.plusSign||t===fA.verticalBar?e(t):n(t)}return function(e){return t.enter(dA.lineEnding),t.consume(e),t.exit(dA.lineEnding),r}}}()}};function kA(t){const e=[];let n=-1,r=0,i=0;for(;++n<t.length;){const o=t.charCodeAt(n);let a="";if(37===o&&sy(t.charCodeAt(n+1))&&sy(t.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){const e=t.charCodeAt(n+1);o<56320&&e>56319&&e<57344?(a=String.fromCharCode(o,e),i=1):a="�"}else a=String.fromCharCode(o);a&&(e.push(t.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return e.join("")+t.slice(r)}function CA(t){return function(){this.getData("tableInfo").type=t}}CA("thead"),CA("tbody"),CA("tfoot");const DA={}.hasOwnProperty;function IA(t,e,n){return"string"!=typeof e&&(n=e,e=void 0),function(t){const e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(b),autolinkProtocol:h,autolinkEmail:h,atxHeading:i(g),blockQuote:i((function(){return{type:"blockquote",children:[]}})),characterEscape:h,characterReference:h,codeFenced:i(m),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:i(m,o),codeText:i((function(){return{type:"inlineCode",value:""}}),o),codeTextData:h,data:h,codeFlowValue:h,definition:i((function(){return{type:"definition",identifier:"",label:null,title:null,url:""}})),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:i((function(){return{type:"emphasis",children:[]}})),hardBreakEscape:i(y),hardBreakTrailing:i(y),htmlFlow:i(w,o),htmlFlowData:h,htmlText:i(w,o),htmlTextData:h,image:i((function(){return{type:"image",title:null,url:"",alt:null}})),label:o,link:i(b),listItem:i((function(t){return{type:"listItem",spread:t._spread,checked:null,children:[]}})),listItemValue:function(t){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(t),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:i(v,(function(){this.data.expectingFirstListItemValue=!0})),listUnordered:i(v),paragraph:i((function(){return{type:"paragraph",children:[]}})),reference:function(){this.data.referenceType="collapsed"},referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:i(g),strong:i((function(){return{type:"strong",children:[]}})),thematicBreak:i((function(){return{type:"thematicBreak"}}))},exit:{atxHeading:s(),atxHeadingSequence:function(t){const e=this.stack[this.stack.length-1];if(!e.depth){const n=this.sliceSerialize(t).length;e.depth=n}},autolink:s(),autolinkEmail:function(t){f.call(this,t),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(t)},autolinkProtocol:function(t){f.call(this,t),this.stack[this.stack.length-1].url=this.sliceSerialize(t)},blockQuote:s(),characterEscapeValue:f,characterReferenceMarkerHexadecimal:p,characterReferenceMarkerNumeric:p,characterReferenceValue:function(t){const e=this.sliceSerialize(t),n=this.data.characterReferenceType;let r;n?(r=ga(e,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0):r=ma(e);this.stack[this.stack.length-1].value+=r},characterReference:function(t){this.stack.pop().position.end=RA(t.end)},codeFenced:s((function(){const t=this.resume();this.stack[this.stack.length-1].value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0})),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){const t=this.resume();this.stack[this.stack.length-1].lang=t},codeFencedFenceMeta:function(){const t=this.resume();this.stack[this.stack.length-1].meta=t},codeFlowValue:f,codeIndented:s((function(){const t=this.resume();this.stack[this.stack.length-1].value=t.replace(/(\r?\n|\r)$/g,"")})),codeText:s((function(){const t=this.resume();this.stack[this.stack.length-1].value=t})),codeTextData:f,data:f,definition:s(),definitionDestinationString:function(){const t=this.resume();this.stack[this.stack.length-1].url=t},definitionLabelString:function(t){const e=this.resume(),n=this.stack[this.stack.length-1];n.label=e,n.identifier=Wy(this.sliceSerialize(t)).toLowerCase()},definitionTitleString:function(){const t=this.resume();this.stack[this.stack.length-1].title=t},emphasis:s(),hardBreakEscape:s(d),hardBreakTrailing:s(d),htmlFlow:s((function(){const t=this.resume();this.stack[this.stack.length-1].value=t})),htmlFlowData:f,htmlText:s((function(){const t=this.resume();this.stack[this.stack.length-1].value=t})),htmlTextData:f,image:s((function(){const t=this.stack[this.stack.length-1];if(this.data.inReference){const e=this.data.referenceType||"shortcut";t.type+="Reference",t.referenceType=e,delete t.url,delete t.title}else delete t.identifier,delete t.label;this.data.referenceType=void 0})),label:function(){const t=this.stack[this.stack.length-1],e=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){const e=t.children;n.children=e}else n.alt=e},labelText:function(t){const e=this.sliceSerialize(t),n=this.stack[this.stack.length-2];n.label=wa(e),n.identifier=Wy(e).toLowerCase()},lineEnding:function(t){const n=this.stack[this.stack.length-1];if(this.data.atHardBreak)return n.children[n.children.length-1].position.end=RA(t.end),void(this.data.atHardBreak=void 0);!this.data.setextHeadingSlurpLineEnding&&e.canContainEols.includes(n.type)&&(h.call(this,t),f.call(this,t))},link:s((function(){const t=this.stack[this.stack.length-1];if(this.data.inReference){const e=this.data.referenceType||"shortcut";t.type+="Reference",t.referenceType=e,delete t.url,delete t.title}else delete t.identifier,delete t.label;this.data.referenceType=void 0})),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:function(t){const e=this.resume(),n=this.stack[this.stack.length-1];n.label=e,n.identifier=Wy(this.sliceSerialize(t)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){const t=this.resume();this.stack[this.stack.length-1].url=t},resourceTitleString:function(){const t=this.resume();this.stack[this.stack.length-1].title=t},resource:function(){this.data.inReference=void 0},setextHeading:s((function(){this.data.setextHeadingSlurpLineEnding=void 0})),setextHeadingLineSequence:function(t){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(t).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:s(),thematicBreak:s()}};NA(e,(t||{}).mdastExtensions||[]);const n={};return function(t){let i={type:"root",children:[]};const s={stack:[i],tokenStack:[],config:e,enter:a,exit:c,buffer:o,resume:u,data:n},l=[];let h=-1;for(;++h<t.length;)"listOrdered"!==t[h][1].type&&"listUnordered"!==t[h][1].type||("enter"===t[h][0]?l.push(h):h=r(t,l.pop(),h));for(h=-1;++h<t.length;){const n=e[t[h][0]];DA.call(n,t[h][1].type)&&n[t[h][1].type].call(Object.assign({sliceSerialize:t[h][2].sliceSerialize},s),t[h][1])}if(s.tokenStack.length>0){const t=s.tokenStack[s.tokenStack.length-1];(t[1]||LA).call(s,void 0,t[0])}for(i.position={start:RA(t.length>0?t[0][1].start:{line:1,column:1,offset:0}),end:RA(t.length>0?t[t.length-2][1].end:{line:1,column:1,offset:0})},h=-1;++h<e.transforms.length;)i=e.transforms[h](i)||i;return i};function r(t,e,n){let r,i,o,a,s=e-1,l=-1,c=!1;for(;++s<=n;){const e=t[s];switch(e[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===e[0]?l++:l--,a=void 0;break;case"lineEndingBlank":"enter"===e[0]&&(!r||a||l||o||(o=s),a=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:a=void 0}if(!l&&"enter"===e[0]&&"listItemPrefix"===e[1].type||-1===l&&"exit"===e[0]&&("listUnordered"===e[1].type||"listOrdered"===e[1].type)){if(r){let a=s;for(i=void 0;a--;){const e=t[a];if("lineEnding"===e[1].type||"lineEndingBlank"===e[1].type){if("exit"===e[0])continue;i&&(t[i][1].type="lineEndingBlank",c=!0),e[1].type="lineEnding",i=a}else if("linePrefix"!==e[1].type&&"blockQuotePrefix"!==e[1].type&&"blockQuotePrefixWhitespace"!==e[1].type&&"blockQuoteMarker"!==e[1].type&&"listItemIndent"!==e[1].type)break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?t[i][1].start:e[1].end),t.splice(i||s,0,["exit",r,e[2]]),s++,n++}if("listItemPrefix"===e[1].type){const i={type:"listItem",_spread:!1,start:Object.assign({},e[1].start),end:void 0};r=i,t.splice(s,0,["enter",i,e[2]]),s++,n++,o=void 0,a=!0}}}return t[e][1]._spread=c,n}function i(t,e){return function(n){a.call(this,t(n),n),e&&e.call(this,n)}}function o(){this.stack.push({type:"fragment",children:[]})}function a(t,e,n){this.stack[this.stack.length-1].children.push(t),this.stack.push(t),this.tokenStack.push([e,n]),t.position={start:RA(e.start),end:void 0}}function s(t){return function(e){t&&t.call(this,e),c.call(this,e)}}function c(t,e){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+t.type+"` ("+l({start:t.start,end:t.end})+"): it’s not open");r[0].type!==t.type&&(e?e.call(this,t,r[0]):(r[1]||LA).call(this,t,r[0])),n.position.end=RA(t.end)}function u(){return so(this.stack.pop())}function h(t){const e=this.stack[this.stack.length-1].children;let n=e[e.length-1];n&&"text"===n.type||(n={type:"text",value:""},n.position={start:RA(t.start),end:void 0},e.push(n)),this.stack.push(n)}function f(t){const e=this.stack.pop();e.value+=this.sliceSerialize(t),e.position.end=RA(t.end)}function d(){this.data.atHardBreak=!0}function p(t){this.data.characterReferenceType=t.type}function m(){return{type:"code",lang:null,meta:null,value:""}}function g(){return{type:"heading",depth:0,children:[]}}function y(){return{type:"break"}}function w(){return{type:"html",value:""}}function b(){return{type:"link",title:null,url:"",children:[]}}function v(t){return{type:"list",ordered:"listOrdered"===t.type,start:null,spread:t._spread,children:[]}}}(n)(ey(Cw(n).document().write(Iw()(t,e,!0))))}function RA(t){return{line:t.line,column:t.column,offset:t.offset}}function NA(t,e){let n=-1;for(;++n<e.length;){const r=e[n];Array.isArray(r)?NA(t,r):OA(t,r)}}function OA(t,e){let n;for(n in e)if(DA.call(e,n))switch(n){case"canContainEols":{const r=e[n];r&&t[n].push(...r);break}case"transforms":{const r=e[n];r&&t[n].push(...r);break}case"enter":case"exit":{const r=e[n];r&&Object.assign(t[n],r);break}}}function LA(t,e){throw t?new Error("Cannot close `"+t.type+"` ("+l({start:t.start,end:t.end})+"): a different token (`"+e.type+"`, "+l({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+l({start:e.start,end:e.end})+") is still open")}function PA(t){bi(t,(t=>("inlineCode"!==t.type&&"code"!==t.type||(t.value=t.value.replace(/\\([+|])/gm,"$1")),"code"===t.type&&(t.value=t.value.replace(/\u0083 ?\n/gmu,"")),mi)))}function FA(t){for(;t.length>0&&t[t.length-1].match(/^\s*$/);)t.pop();const e=t.filter((t=>!t.match(/^\s*$/))).map((t=>t.match(/^ */)[0].length)).reduce(((t,e)=>Math.min(e,t)),1/0);return t.map((t=>t.substring(e).trimEnd()))}function BA(t,e){const n=t.cols.indexOf(e._colStart);return t.cols.indexOf(e._colEnd)-n}function UA(t){this.enter({type:yA,children:[]},t),this.data.tableInfo={cols:t._cols,colPos:0,allCells:[],pendingCells:[],cells:[],dividers:[],definitions:t._definitions}}function jA(t){let{processor:e}=t;return e||(e={data:e=>"micromarkExtensions"===e?t.extensions:"fromMarkdownExtensions"===e?t.mdastExtensions:void 0}),function(t){const{tableInfo:n}=this.data;for(const t of n.allCells){const{node:r,lines:i,colSpan:o,rowSpan:a,align:s,valign:l}=t,c=FA(i),u=new Set;for(const t of n.definitions){const e=`[${t.toLowerCase()}]`;i.find((t=>t.indexOf(e)>=0))&&(c.push(""),c.push(`[${t}]: dummy`),u.add(t))}const h=IA(c.join("\n"),{extensions:e.data("micromarkExtensions"),mdastExtensions:e.data("fromMarkdownExtensions")});for(let t=0;t<h.children.length;t+=1){const e=h.children[t];"definition"===e.type&&u.has(e.label)&&(h.children.splice(t,1),t-=1)}PA(h),r.children=h.children,o>1&&(r.colSpan=o),a>1&&(r.rowSpan=a),s&&(r.align=s),l&&(r.valign=l)}this.exit(t)}}function HA(t){this.enter({type:t.type,children:[]},t)}function zA(){this.buffer()}function qA(t){this.config.enter.data.call(this,t),this.config.exit.data.call(this,t);const e=this.resume(),{tableInfo:n}=this.data,r=BA(n,t);let i=n.pendingCells[n.colPos];if(n.isDivider&&(i||(i=n.cells[n.colPos],n.pendingCells[n.colPos]=i),i&&(i.rowSpan+=1)),i)return i.lines.push(e),void(n.colPos+=r);if(i=n.cells[n.colPos],!i){const t=n.dividers[n.colPos];i={rowSpan:1,colSpan:r,align:t?._align,valign:t?._valign,node:{type:_A},lines:[]},n.cells[n.colPos]=i,n.allCells.push(i)}i.lines.push(e),n.colPos+=r}function WA(t){const{tableInfo:e}=this.data;let n=BA(e,t);for(;n>0;)n-=1,e.pendingCells[e.colPos]=null,e.dividers[e.colPos]=t,e.colPos+=1}function GA(t){const e=this.data.tableInfo;e.isDivider=t._type,e.colPos=0,e.isDivider&&(e.dividers=[])}function KA(t){const e={type:EA,start:{line:0,column:0,offset:0},end:{line:0,column:0,offset:0}};this.enter({type:EA,children:[]},e);for(const e of t.cells)if(e){const t={type:_A,start:{line:0,column:0,offset:0},end:{line:0,column:0,offset:0}};this.enter(e.node,t),this.exit(t)}this.exit(e),t.cells=[]}function YA(t){const{tableInfo:e}=this.data;e.cells.length&&(KA.call(this,e),e.pendingCells=[]),this.exit(t)}function VA(){const{tableInfo:t}=this.data;t.isDivider&&t.cells.length&&KA.call(this,t)}const XA={break:!0,delete:!0,emphasis:!0,footnote:!0,footnoteReference:!0,image:!0,imageReference:!0,inlineCode:!0,inlineMath:!0,link:!0,linkReference:!0,strong:!0,subscript:!0,superscript:!0,text:!0,underline:!0},ZA={paragraph:!0,delete:!0,emphasis:!0,inlineCode:!0,strong:!0,subscript:!0,superscript:!0,underline:!0},{text:$A,inlineCode:QA,code:JA}=ua;function*tM(t,e){const n=t/e;let r=n,i=0;for(let t=0;t<e-1;t+=1)yield[Math.round(r-i),t],i=Math.round(r),r+=n;yield[Math.round(t-i),e-1]}function eM(t,e,n){let r=0;for(let i=0;i<n.colSpan;i+=1)r+=t[e+i].width;return r}function nM(t,e,n,r){const i={...t,value:t.value.replace(/[ \t\v\r\n]/g," ")};let o=$A(i,e,n,r);const{lineWidth:a}=n.options;if(a&&o.length>a){if(n.stack.includes("headingAtx"))return o;const t=[],e=o.split(" ");let i=r.now.column-1,s=[];for(let n of e){const e=n.length;i+e>a&&s.length>0&&(t.push(s.join(" ")),s=[],i=0),0===s.length&&n.match(/^\d+\./)&&(n=n.replace(".","\\.")),0===s.length&&"-"===n&&(n="\\-"),s.push(n),i+=e+1}s.length&&t.push(s.join(" ")),o=t.join("\n")}return o}nM.peek=$A;class rM{constructor(){Object.assign(this,{lastRow:null,rows:[],headerSize:0,footerSize:0,opts:{width:120,minCellWidth:12}})}addHeaderRow(t){this.addRow(t,this.headerSize),this.headerSize+=1}addRow(t,e=this.rows.length-this.footerSize){const n={height:0,cells:[]};this.rows.splice(e,0,n),this.lastRow=this.rows[this.rows.length-1];for(const e of t)this.addCell(e,n)}addFooterRow(t){this.addRow(t,this.rows.length),this.footerSize+=1}addCell(t,e){this.lastRow||(this.lastRow={height:0,cells:[]},this.rows.push(this.lastRow)),(e=e||this.lastRow).cells.push(t);for(let n=1;n<t.colSpan;n+=1)e.cells.push({align:t.align})}renderCell(t,e,n){const r=e.options.lineWidth;e.options.lineWidth=n-3,e.options.minLineWidth=this.opts.minCellWidth;const i=e.enter(_A),o=e.enter("phrasing");var a;bi(a=t.tree,((t,e,n)=>{const{children:r=[]}=n||{};if("text"===t.type&&(e===r.length-1&&(t.value=t.value.trimEnd()),"break"===r[e+1]?.type&&(t.value=t.value.trimEnd()),0===e&&"paragraph"===n?.type&&(t.value=t.value.trimStart()),!t.value))return r.splice(e,1),e-1;if("break"===t.type){if(e===r.length-1)return r.splice(e,1),e-1;delete t.value}return mi})),function t(e){const{children:n,type:r}=e;if("text"===r)return!e.value;if(!n)return!1;for(let e=0;e<n.length;e+=1)t(n[e])&&(n.splice(e,1),e-=1);return!!ZA[r]&&0===n.length}(a),t.tree.children.every((t=>XA[t.type]))&&(t.tree.children=[{type:"paragraph",children:t.tree.children}]);const s=e.containerFlow(t.tree,{before:"\n",after:"\n",now:{line:1,column:1},lineShift:0}).split("\n");delete e.bulletLastUsed,o(),i(),e.options.lineWidth=r,t.lines=s,t.height=s.length,t.width=0;const l=["    ","   ","  "," "];for(let e=0;e<s.length;e+=1){let n=s[e],r=n.indexOf("\t");if(r>=0){do{n=n.substring(0,r)+l[r%4]+n.substring(r+1),r=n.indexOf("\t",r+1)}while(r>=0);s[e]=n}t.width=Math.max(t.width,n.length)}return t.value=s.join("\n"),t.width+=3,t}toMarkdown(t){let e=0;const n=[];for(let t=0;t<this.rows.length;t+=1){const r=this.rows[t];for(let i=0;i<r.cells.length;i+=1){let o=n[i];o||(o={width:3},n[i]=o);const a=r.cells[i];if(a.tree&&(e=Math.max(e,i+1)),a.rowSpan>1)for(let e=1;e<a.rowSpan;e+=1){const n=e+t,r=new Array(a.colSpan).fill({});r[0]={linked:a},this.rows[n].cells.splice(i,0,...r)}}}if(n.length>e){n.length=e;for(const{cells:t}of this.rows)if(t.length>e){t.length=e;let n=t.length-1;for(;n>=0&&!t[n].tree;)n-=1;n>=0&&(t[n].colSpan=e-n)}}if(0===n.length)return"";const r=n.length;for(const t of this.rows)for(let e=t.cells.length;e<r;e+=1)t.cells.push({tree:{type:"root",children:[]},colSpan:1,rowSpan:1});for(const[t,e]of tM(this.opts.width,r))n[e].maxWidth=t;for(const e of this.rows)for(let r=0;r<e.cells.length;r+=1){const i=e.cells[r];if(i.tree){let e=0;for(let t=0;t<i.colSpan;t+=1)e+=n[r+t].maxWidth;this.renderCell(i,t,e);for(const[t,e]of tM(i.width,i.colSpan)){const i=n[r+e];i.width=Math.max(i.width,t)}i.valign&&(n[r].width=Math.max(4,n[r].width))}}for(const e of this.rows){e.minHeight=0,e.height=0;for(let r=0;r<e.cells.length;r+=1){const i=e.cells[r];if(i.tree){const o=eM(n,r,i);if(o>=i.width)if(this.renderCell(i,t,o),i.width>o)for(const[t,e]of tM(i.width,i.colSpan)){const i=n[r+e];i.width=Math.max(i.width,t)}else i.width=o;1===i.rowSpan&&(e.height=Math.max(e.height,i.height))}}}for(let t=0;t<this.rows.length;t+=1){const e=this.rows[t];for(let n=0;n<e.cells.length;n+=1){const r=e.cells[n];if(r.rowSpan>1){const e=Math.max(r.rowSpan,r.height-r.rowSpan+1);for(const[n,i]of tM(e,r.rowSpan))this.rows[t+i].height=Math.max(this.rows[t+i].height,n)}}}const i={left:{b:":",e:"",len:1},right:{b:"",e:":",len:1},center:{b:":",e:":",len:2},justify:{b:">",e:"<",len:2},top:"^",bottom:"v",middle:"x"},o=[],a=this.headerSize?this.headerSize:this.footerSize?0:-1,s=this.rows.length-this.footerSize;for(let t=0;t<this.rows.length;t+=1){const e=this.rows[t],r=[],l=t===a||t===s?"=":"-";let c,u=0,h=null,f=null;const d=()=>{if(f){const t=Math.floor((u-1)/2);r.push(l.repeat(t)),r.push(f),r.push(l.repeat(u-t-1))}else r.push(l.repeat(u))},p=()=>{u&&(h?(u-=h.len,r.push(h.b),d(),r.push(h.e)):d(),u=0)};for(let o=0;o<e.cells.length;o+=1){let a="+";0===o&&t>0&&(a="+"),0===t&&o>0&&(a="+");const s=e.cells[o],l=n[o];if(s.tree)p(),r.push(a),u=l.width-1,h=i[s.align],f=i[s.valign];else if(s.linked){p();const t=eM(n,o,s.linked),e=s.linked.lines.shift()||"";r.push(`| ${e.padEnd(t-3," ")} `),o+=s.linked.colSpan-1}else u+=l.width;c=s}p();let m=c?.linked?"|":"+";0===t&&(m="+"),o.push(`${r.join("")}${m}`);for(let t=0;t<e.height;t+=1){const r=[];for(let i=0;i<e.cells.length;i+=1){let o=e.cells[i];if(o.linked&&(o=o.linked),o.tree){const a=eM(n,i,o);let s="";(!o.valign||"top"===o.valign||"middle"===o.valign&&t>=Math.floor(e.height-o.height)/2||"bottom"===o.valign&&t>=e.height-o.height)&&(s=o.lines.shift()||""),r.push(`| ${s.padEnd(a-3," ")} `)}}o.push(`${r.join("")}|`)}}const l=this.rows.length===this.headerSize?"=":"-",c=[],u=this.rows[this.rows.length-1];for(let t=0;t<n.length;t+=1){const e=n[t],r=u.cells[t];let i=r.tree||r.linked?"+":l;0===t&&(i="+"),c.push(`${i}${l.repeat(e.width-1)}`)}return o.push(`${c.join("")}+`),o.join("\n")}}function iM(t){return t.gridTables[t.gridTables.length-1]}function oM(t,e,n,r){return{tree:{type:"root",children:t.children},colSpan:t.colSpan||1,rowSpan:t.rowSpan||1,align:t.align,valign:t.valign}}function aM(t,e,n,r){const i=[];for(const e of t.children)e.type===_A&&i.push(oM(e));return i}function sM(t,e,n,r){const i=iM(n);for(const e of t.children)e.type===EA&&i.addHeaderRow(aM(e))}function lM(t,e,n,r){const i=iM(n);for(const e of t.children)e.type===EA&&i.addRow(aM(e))}function cM(t,e,n,r){const i=iM(n);for(const e of t.children)e.type===EA&&i.addFooterRow(aM(e))}function uM(t,e,n,r){const i=n.enter(yA),o=function(t,e){return t.gridTables||(t.gridTables=[]),t.gridTables.push(e),e}(n,new rM);for(const e of t.children)e.type===wA?sM(e,0,n):e.type===bA?lM(e,0,n):e.type===vA?cM(e,0,n):e.type===EA?o.addRow(aM(e)):e.type===_A&&o.addCell(oM(e));return i(),function(t){return t.gridTables.pop()}(n).toMarkdown(n)}function hM(t,e,n){let r=JA(t,e,n);if(n.stack.includes(_A)){r=r.replace(/[|+]/gm,"\\$&");const t=Math.min(256,Math.max(150,n.options.lineWidth));if(r.length>t){const e=[];for(let n of r.split("\n")){for(;n.length>t;)e.push(`${n.substring(0,t)}ƒ`),n=n.substring(t);e.push(n)}r=e.join("\n")}}return r}function fM(t,e,n){let r=QA(t,e,n);return n.stack.includes(_A)&&(r=r.replace(/[|+]/g,"\\$&")),r}function dM(t,e,n){const r=[];for(const i of e.children)if(i.type===_A){const e={};for(const t of["colSpan","rowSpan","align","valign"])t in i&&(e[t]=i[t]);1===i.children?.length&&"paragraph"===i.children[0].type&&(i.children=i.children[0].children);const o={type:"element",tagName:n,properties:e,children:t.all(i)};t.patch(i,o),r.push(o),bi(o,(t=>"code"===t.tagName?yi:("text"===t.type&&(t.value=t.value.replace(/\r?\n/gm," ")),mi)))}const i={type:"element",tagName:"tr",children:r,properties:{}};return t.patch(e,i),i}function pM(t,e,n){const r=[];for(const i of e.children)i.type===EA&&r.push(dM(t,i,n));return r}function mM(t={}){const{noHeader:e}=t;return function(t,n){let r,i=[],o=[],a=[];for(const e of n.children)e.type===wA?i=pM(t,e,"th"):e.type===bA?o=pM(t,e,"td"):e.type===vA?a=pM(t,e,"td"):e.type===EA&&o.push(dM(t,e,"td"));e&&0===a.length?r=[...i,...o]:(r=[],i.length&&r.push({type:"element",tagName:"thead",children:i,properties:{}}),o.length&&r.push({type:"element",tagName:"tbody",children:o,properties:{}}),a.length&&r.push({type:"element",tagName:"tfoot",children:a,properties:{}}));const s={type:"element",tagName:"table",children:r,properties:{}};return t.patch(n,s),s}}function gM(t={}){const e=this.data();function n(t,n){e[t]?e[t].push(n):e[t]=[n]}const r={processor:this,...t};n("micromarkExtensions",SA),n("fromMarkdownExtensions",function(t={}){return{enter:{[yA]:UA,[wA]:HA,[bA]:HA,[vA]:HA,[_A]:zA,[MA]:WA,[AA]:GA},exit:{[yA]:jA(t),[wA]:YA,[bA]:YA,[vA]:YA,[_A]:qA,[AA]:VA}}}(r)),n("toMarkdownExtensions",{unsafe:[{character:"|",inConstruct:_A},{character:"+",inConstruct:_A}],handlers:{text:nM,gridTable:uM,inlineCode:fM,code:hM}})}function yM(t){return(e,n)=>({type:t,children:e.all(n)})}function wM(t,e,n){const r={align:"align",valign:"valign",rowspan:"rowSpan",colspan:"colSpan"};"th"===e.tagName&&(n.hasHeaderCell=!0);const i={};if(e.properties)for(const[t,n]of Object.entries(e.properties)){const e=t.toLowerCase();e in r&&(i[r[e]]=n)}return{type:_A,children:t.all(e),...i}}hM.peek=JA;const bM={table:function(t,e){let n=t.all(e);if(!n.find((({type:t})=>t===wA))){const t=[],e=[],r=n=>{n.hasHeaderCell?t.push(n):e.push(n),delete n.hasHeaderCell};for(const t of n)t.type===EA?r(t):t.children.forEach(r);n=[],t.length&&n.push({type:wA,children:t}),e.length&&n.push({type:bA,children:e})}return{type:yA,children:n}},thead:yM(wA),tbody:yM(bA),tfoot:yM(vA),tr:function(t,e){return{type:EA,children:t.all(e),hasHeaderCell:e.hasHeaderCell}},td:wM,th:wM};class vM{static async asyncForEach(t,e){for(let n=0;n<t.length;n+=1)await e(t[n],n,t)}}class EM{static EMPTY_TAGS_TO_PRESERVE=["img","video","iframe","div","picture"];static fragment(t,e){const n=t.createElement("template");return n.innerHTML=e,n.content}static reviewInlineElement(t,e){let n=[...t.querySelectorAll(e)];for(let t=n.length-1;t>=0;t-=1){const e=n[t];""!==e.textContent||e.querySelector(EM.EMPTY_TAGS_TO_PRESERVE.join(","))?e.innerHTML=e.innerHTML.replace(/&nbsp;/gm," "):e.remove()}n=[...t.querySelectorAll(e)];for(let t=n.length-1;t>=0;t-=1){const r=n[t];if(r.nextSibling&&" "===r.nextSibling.textContent){const t=r.nextSibling.nextSibling;t&&t.tagName&&t.tagName.toLowerCase()===e&&(r.nextSibling.remove(),r.innerHTML=`${r.innerHTML} `)}}n=[...t.querySelectorAll(e)];for(let r=n.length-1;r>=0;r-=1){const i=n[r];if("."===i.innerHTML||". "===i.innerHTML||":"===i.innerHTML||": "===i.innerHTML)i.replaceWith(EM.fragment(t,i.innerHTML));else{const{innerHTML:t}=i;if(i.previousSibling){const n=i.previousSibling;!n.tagName||n.tagName.toLowerCase()!==e||n.href&&n.href!==i.href||(i.hasChildNodes()?[...i.childNodes].forEach((t=>{n.append(t)})):n.append(t),i.remove())}}}n=[...t.querySelectorAll(e)];for(let e=n.length-1;e>=0;e-=1){const r=n[e];let{innerHTML:i}=r;i&&(i.lastIndexOf(" ")===i.length-1&&(r.innerHTML=i.slice(0,i.length-1),({innerHTML:i}=r),r.after(EM.fragment(t,"<span> </span>"))),0===i.indexOf(" ")&&(r.innerHTML=i.slice(1),r.before(EM.fragment(t,"<span> </span>"))))}}static reviewParagraphs(t){const e=[...t.querySelectorAll("p")];for(let t=e.length-1;t>=0;t-=1){const n=e[t];""!==n.textContent&&" "!==n.textContent&&"&nbsp;"!==n.textContent&&(160!==n.textContent.charCodeAt(0)||1!==n.textContent.length)||n.querySelector(EM.EMPTY_TAGS_TO_PRESERVE.join(","))?n.innerHTML=n.innerHTML.replace(/&nbsp;/gm," "):n.remove()}}static reviewHeadings(t){const e=[...t.querySelectorAll("h1, h2, h3, h4, h5, h6")];for(let t=e.length-1;t>=0;t-=1){const n=e[t];n.innerHTML=n.innerHTML.replace(/<strong>|<\\strong>/gm,""),""===n.innerHTML&&n.remove()}}static remove(t,e){e.forEach((e=>{t.querySelectorAll(e).forEach((t=>t.remove()))}))}static removeComments(t){t.body.innerHTML=t.body.innerHTML.replace(/(>\s*)<!--(?!>)[\S\s]*?-->/gm,"$1").replace(/<!--(?!>)[\S\s]*?-->/gm,"")}static removeSpans(t){t.querySelectorAll("span").forEach((e=>{e.querySelector("img")||0!==e.classList.length||e.id||e.getAttribute("style")||(""===e.textContent?e.remove():e.replaceWith(EM.fragment(t,e.innerHTML)))}))}static replaceByCaptions(t,e){e.forEach((e=>{t.querySelectorAll(e).forEach((e=>{const n=e.textContent.trim();e.parentNode.insertBefore(EM.fragment(t,`<p><em>${n}</em></p>`),e),e.remove()}))}))}static createTable(t,e){const n=e.createElement("table");let r=0;return t.forEach(((t,i)=>{const o=e.createElement("tr");r=Math.max(r,t.length),t.forEach((t=>{const n=e.createElement(0===i?"th":"td");"string"==typeof t?n.innerHTML=t:Array.isArray(t)?n.append(...t):n.append(t),o.appendChild(n)})),n.appendChild(o)})),n.querySelectorAll("tr").forEach((t=>{const e=Array.from(t.querySelectorAll("td, th"));e.length<r&&e[e.length-1].setAttribute("colspan",r-e.length+1)})),n}static generateEmbed(t,e){return EM.fragment(t,`<table><tr><th>Embed</th></tr><tr><td><a href="${e}">${e}</a></td></tr></table>`)}static replaceEmbeds(t){t.querySelectorAll("iframe").forEach((e=>{const n=e.getAttribute("src"),r=e.getAttribute("data-src")||n;r&&e.after(EM.generateEmbed(t,r)),e.remove()})),t.querySelectorAll("video").forEach((e=>{let n="Video";e.autoplay&&(n="Animation");const r=EM.fragment(t,`<table><tr><th>${n}</th></tr><tr><td>${e.outerHTML}</td></tr></table>`);e.replaceWith(r)}))}static removeNoscripts(t){return t.replace(/<noscript>((.|\n)*?)<\/noscript>/gm,"")}static encodeImagesForTable(t){t.querySelectorAll("img").forEach((t=>{t.closest("table")&&t.title&&-1!==t.title.indexOf("|")&&(t.title=t.title.replace(/\|/gm,"\\|"))}))}static replaceBackgroundByImg(t,e){const n=EM.getImgFromBackground(t,e);return n?(t.replaceWith(n),n):t}static getImgFromBackground(t,e){const n=t?.getAttribute("style")?.split(";");if(n){n.forEach((e=>{const n=e.split(":"),r=n.shift(),i=n.join(":").trim();if("background-image"===r){const e=i.replace(/\s/g,"").split(",").shift();t.style.backgroundImage=e}}));const r=t.style.backgroundImage;if(r&&"none"!==r.toLowerCase()){const t=r.replace(/url\(/gm,"").replace(/'/gm,"").replace(/"/gm,"").replace(/\)/gm,""),n=e.createElement("img");return n.src=t,n}}return null}static async waitForElement(t,e,n=5e3,r=250){return new Promise(((i,o)=>{const a=new Date,s=setInterval((()=>{e.querySelector(t)?(clearInterval(s),i()):new Date-a>n&&(clearInterval(s),o())}),r)}))}static getDataUrlFromB64Img(t){try{const e=t.split(","),n=e[0].split(":")[1],r=atob(e[1]),i=new Uint8Array(r.length);for(let t=0;t<r.length;t+=1)i[t]=r.charCodeAt(t);const o=new Blob([i],{type:n});return URL.createObjectURL(o)}catch(e){return console.error(`get data url from a base64 image (${t}):`,e),null}}}class _M{static sanitizeFilename(t){return t?decodeURIComponent(t).toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,""):""}static sanitizePath(t){if(!t)return"";const e=t.split(".").pop(),n=e!==t?t.substring(0,t.lastIndexOf(".")):t;let r="";return n.split("/").forEach((t=>{""!==t&&(r+=`/${_M.sanitizeFilename(t)}`)})),e!==t&&(r+=`.${e}`),r}}class AM{static replaceSrcInMarkdown=(t,e,n)=>decodeURI(e)!==e?t.replace(new RegExp(`\\(${decodeURI(e).replace(".","\\.")}\\)`,"gm"),`(${n})`):t.replace(new RegExp(`\\(${e.replace(".","\\.").replace("?","\\?")}\\)`,"gm"),`(${n})`);static cleanupMarkdown(t){let e=t;if(e){for(let t=0;t<20;t+=1){let n=`${t}`;t<10&&(n=`0${t}`);const r=String.fromCodePoint(parseInt(`00${n}`,16)),i=new RegExp(`\\u00${n}`,"g"),o=[r.length].map((()=>" ")).join("");e=e.replace(i,o)}e=e.replace(/\u00A0/gm," ")}return e}}function MM(t){const e=`<${t}>`,n=`</${t}>`;return(t,r,i,o)=>{const a=i.enter("html"),s=i.createTracker(o);let l=s.move(e);return l+=s.move(i.containerPhrasing(t,{before:l,after:e,...s.current()})),l+=s.move(n),a(),l}}function TM(t){const e=this.data();!function(t,n){e[t]?e[t].push(n):e[t]=[n]}("toMarkdownExtensions",{handlers:{subscript:MM("sub"),superscript:MM("sup"),underline:MM("u")}})}class xM{static createDocumentFromString(t){try{return(new DOMParser).parseFromString(t,"text/html")}catch(t){throw new Error("Unable to parse HTML using default createDocumentFromString function and global DOMParser. Please provide a custom createDocumentFromString.")}}}function SM(t,e,n){const r={type:t,children:e.all(n)};return e.patch(n,r),r}class kM{params;logger;useCache;constructor(t){this.params=t,this.params.createDocumentFromString||(this.params.createDocumentFromString=xM.createDocumentFromString),this.logger=t.logger||console,this.useCache=!!t.cache}async convertToDocx(t,e){const n=await async function(t,e){const n=C().use(Bw,{position:!1}).use(wv).use(gA).use(gM).parse(t);return function(t){const e=new Map;bi(t,((t,n,r)=>("definition"===t.type&&e.set(t.identifier,{node:t,parent:r,refCount:0}),mi))),bi(t,(t=>{if("imageReference"===t.type||"linkReference"===t.type){const{identifier:n}=t,r=e.get(n);r&&(r.refCount+=1,t.url=r.node.url,r.node.title&&(t.title=r.node.title),t.type="imageReference"===t.type?"image":"link",delete t.identifier,delete t.referenceType)}return mi}));for(const t of e.values())if(t.refCount){const e=t.parent.children.indexOf(t.node);t.parent.children.splice(e,1)}}(n),Zg(n,e)}(e,{log:this.logger,...this.params.mdast2docxOptions});return this.params.storageHandler.put(t,n)}async createMarkdown(t,e){const{name:n}=t,{directory:r}=t,o=_M.sanitizeFilename(n);this.logger.log(`Computing Markdown for ${r}/${o}`);const a=t.document.innerHTML,s=Uo(await C().use(Ir,{emitParseErrors:!0}).parse(a),{handlers:{...So,u:(t,e)=>SM("underline",t,e),sub:(t,e)=>SM("subscript",t,e),sup:(t,e)=>SM("superscript",t,e),...bM}});var l;await function(t,e={}){const{imageHandling:n="after"}=e;return bi(t,((t,e,r)=>{const{children:i=[]}=r||{},{children:o=[]}=t;let a=e+1;if("heading"===t.type){for(let t=0;t<o.length;t+=1){const r=o[t];if("image"===r.type){const s={type:"paragraph",children:[r]};o.splice(t,1),t-=1,t<0&&"after"!==n||"before"===n?(i.splice(e,0,s),e+=1,a+=1):(i.splice(a,0,s),a+=1)}}for(;"break"===o[0]?.type;)o.shift();let t=o.length-1;for(;"break"===o[t]?.type;)o.pop(),t-=1;for(let t=0;t<o.length;t+=1)"break"===o[t].type&&(o[t]={type:"html",value:"<br>"});return o.length||(i.splice(e,1),e-=1),e+1}return e+1})),t}(s),await function(t){return bi(t,((t,e,n)=>{const{children:r=[]}=t;if("link"===t.type&&1===r.length){const[i]=r;if("emphasis"===i.type||"strong"===i.type||"delete"===i.type){for(let t=1;t<i.children.length;t+=1)"text"===i.children[t].type&&"text"===i.children[t-1].type&&(i.children[t-1].value+=i.children[t].value,i.children.splice(t,1),t-=1);t.children=i.children,n.children[e]=i,i.children=[t];const r=function(t,e){if(!t)throw new Error("unist-util-find requires a tree to search");if(!e)throw new Error("unist-util-find requires a condition");const n=bv(e);let r;return bi(t,(function(t){if(n(t))return r=t,!1})),r}(t,(t=>"text"===t.type));if(r){const t=r.value.trimEnd();t!==r.value&&(r.value=t,n.children.splice(e+1,0,{type:"text",value:" "}))}}}else if("link"===t.type&&r.length>1){for(;"break"===r[0]?.type;){const t=r.shift();n.children.splice(e,0,t),e+=1}let t=r.length-1;for(;"break"===r[t]?.type;){const i=r.pop();n.children.splice(e+1,0,i),t-=1}for(let t=0;t<r.length;t+=1)"break"===r[t].type&&(r[t]={type:"html",value:"<br>"});return e+1}return mi})),t}(s),await xv(s),await(l=s,bi(l,((t,e,n)=>{const{children:r}=n||{};return"text"!==t.type||0!==e&&"break"!==r[e-1].type||!t.value.startsWith("    ")||(t.value=t.value.replace(/^\s+/," ")),mi})),l),await function(t){const e=new Map,n=[];return bi(t,(t=>{if("image"===t.type){const{url:r,alt:i="",title:o=""}=t,a=`${r}\n${o}`;let s=e.get(a);if(!s){s=`image${e.size}`,e.set(a,s);const t={type:"definition",identifier:s,url:r};o&&(t.title=o.replace(/[\r\n ]+/gm," ").trim()),n.push(t)}delete t.title,t.type="imageReference",t.identifier=s,t.referenceType="full",t.alt=i.replace(/[\r\n ]+/gm," ").trim()}return mi})),t.children.push(...n),t}(s);let c=await C().use(La,{strong:"*",emphasis:"_",bullet:"-",fence:"`",fences:!0,incrementListMarker:!0,rule:"-",ruleRepetition:3,ruleSpaces:!1}).use(gM).use(Sv).use(TM).stringify(s);const{document:u}=t,h=[];return u.querySelectorAll("img").forEach((t=>{const{src:e}=t;t.classList.contains("hlx-embed")||!e||""===e||-1===c.indexOf(e)&&-1===c.indexOf(decodeURI(e))||h.push({url:e,append:"#image.png"})})),u.querySelectorAll("a").forEach((t=>{const{href:n}=t;try{if(n&&""!==n&&-1!==c.indexOf(n)||-1!==c.indexOf(decodeURI(n))){const t=new URL(n,e);".mp4"===i.extname(t.href)&&h.push({url:n,append:"#image.mp4"})}}catch(t){this.logger.warn(`Invalid link in the page - ${n}`,t)}})),u.querySelectorAll("video source").forEach((t=>{const{src:n}=t;if(n&&""!==n&&-1!==c.indexOf(n)||-1!==c.indexOf(decodeURI(n)))try{const r=new URL(n,e);if(".mp4"===i.extname(r.href)){const e=t.parentNode.getAttribute("poster");e&&h.push({url:e}),h.push({url:n,append:"#image.mp4"})}}catch(t){this.logger.warn(`Invalid video in the page: ${n}`,t)}})),h.forEach((t=>{const n=new URL(decodeURI(t.url),e);c=AM.replaceSrcInMarkdown(c,t.url,n.toString())})),t.prepend&&(c=t.prepend+c),c=this.postProcessMD(c),{path:i.join(r,o),content:c}}cleanup(t){EM.remove(t,["script","hr"]),EM.removeComments(t),EM.removeSpans(t)}preProcess(t){this.cleanup(t),EM.reviewHeadings(t),EM.reviewParagraphs(t),["b","a","big","code","em","i","label","s","small","strong","sub","sup","u","var"].forEach((e=>EM.reviewInlineElement(t,e)));const e=[];t.querySelectorAll("u > a, u > span > a").forEach((t=>{const n=t.closest("u");n.before(t),e.push(n)})),e.forEach((t=>t.remove())),t.querySelectorAll("img").forEach((t=>{let e=t.getAttribute("src");const n=t.getAttribute("data-src");if(!e&&n&&t.setAttribute("src",n),n&&e&&0===e.indexOf("data:")&&t.setAttribute("src",n),e=t.getAttribute("src"),!e||0===e.indexOf("data:")){const e=EM.getDataUrlFromB64Img(t.src);e?t.setAttribute("src",e):t.remove()}const r=t.getAttribute("alt"),i=t.getAttribute("title");i&&i===r&&t.removeAttribute("title")}))}postProcess(t){EM.encodeImagesForTable(t)}postProcessMD(t){return AM.cleanupMarkdown(t)}async download(t){const e=e=>i.resolve(e,`${new URL(t).pathname.replace(/^\/+|\/+$/g,"").replace(/\//gm,"_")}.html`);if(this.useCache){const t=e(this.params.cache);if(await Pa.exists(t))return Pa.readFile(t)}const n=await this.fetch(t);if(n.ok){const t=await n.text();if(this.useCache){const n=e(this.params.cache);await Pa.mkdirs(i.dirname(n)),await Pa.writeFile(n,t)}return t}throw this.logger.error(`${t}: Invalid response`,n),new Error(`${t}: Invalid response - ${n.statusText}`)}async get(t){const e=await this.download(t);if(e){const t=EM.removeNoscripts(e.toString());return{document:this.params.createDocumentFromString(t),html:e}}return null}async import(t,e){const n=(new Date).getTime(),{document:r,html:i}=await this.get(t),o=[];if(r){this.preProcess(r);const n=await this.process(r,t,e,i);this.postProcess(r),n&&await vM.asyncForEach(n,(async e=>{if(e.document){const n=await this.createMarkdown(e,t);if(e.source=t,e.path=n.path,e.markdown=n.content,!this.params.skipMDFileCreation){const t=`${n.path}.md`;await this.params.storageHandler.put(t,n.content),this.logger.log(`MD file created: ${t}`),e.md=t}if(!this.params.skipDocxConversion){const t=`${n.path}.docx`;await this.convertToDocx(t,n.content),e.docx=t}}o.push(e)}))}return this.logger.log(""),this.logger.log(`${t}: Process took ${((new Date).getTime()-n)/1e3}s.`),o}fetch(){}process(){}}function CM(t,e){const n=t&&t.includes(":")?"property":"name";return[...e.head.querySelectorAll(`meta[${n}="${t}"]`)].map((t=>t.content)).join(", ")||""}n(9887);class DM{static createBlock(t,{name:e,variants:n=[],cells:r}){const i=n.length?[`${DM.computeBlockName(e)} (${n.join(", ")})`]:[DM.computeBlockName(e)];let o=r;return Array.isArray(r)||(o=Object.entries(r).map((([e,n])=>{let r=[];return r=Array.isArray(n)?n.map((e=>{const n=t.createElement("p");return n.innerHTML=e,n})):[n],[e,r]}))),EM.createTable([i,...o],t)}static getMetadataBlock(t,e){return DM.createBlock(t,{name:"Metadata",cells:e})}static getMetadata(t){const e={},n=t.querySelector("title");n&&(e.Title=n.textContent.replace(/[\n\t]/gm,""));const r=CM("description",t);r&&(e.Description=r);const i=CM("og:image",t);if(i){const n=t.createElement("img");n.src=i,e.Image=n;const r=CM("og:image:alt",t);r&&(n.alt=r)}const o=CM("og:title",t);o&&o!==e.Title&&(e.Title?e["og:title"]=o:e.Title=o);const a=CM("og:description",t);a&&a!==e.Description&&(e.Description?e["og:description"]=a:e.Description=a);const s=CM("twitter:title",t);s&&s!==e.Title&&(e.Title?e["twitter:title"]=s:e.Title=s);const l=CM("twitter:description",t);l&&l!==e.Description&&(e.Description?e["twitter:description"]=l:e.Description=l);const c=CM("twitter:image",t);if(c&&c!==i){const n=t.createElement("img");n.src=c,e["twitter:image"]=n;const r=CM("twitter:image:alt",t);r&&(n.alt=r)}return e}static computeBlockName(t){return t.replace(/-/g," ").replace(/\s(.)/g,(t=>t.toUpperCase())).replace(/^(.)/g,(t=>t.toUpperCase()))}static convertBlocksToTables(t,e){t.querySelectorAll("main > div:nth-child(4) > div[class]").forEach((t=>{const n=[[DM.computeBlockName(t.className)]],r=t.querySelectorAll(":scope > div");r&&r.forEach((t=>{const e=t.querySelectorAll(":scope > div");if(e&&e.length>0){const t=[];e.forEach((e=>{if("DIV"===e.nodeName){const n=[];Array.from(e.childNodes).forEach((t=>n.push(t))),t.push(n)}})),n.push(t)}else n.push([t.innerHTML])}));const i=EM.createTable(n,e);t.replaceWith(i)}))}}n(1072);class IM{static async waitForElement(t,e,n=5e3,r=250){return new Promise(((i,o)=>{const a=new Date,s=setInterval((()=>{e.querySelector(t)?(clearInterval(s),i()):new Date-a>n&&(clearInterval(s),o())}),r)}))}}class RM{document;name;directory;prepend;extra;constructor(t,e,n,r,i){this.name=t,this.directory=e,this.document=n,this.prepend=r,this.extra=i}}class NM{storage={};logger;constructor(t){this.logger=t||console}async put(t,e){this.logger.log("MemoryHandler#put",t,e),this.storage[t]=e}async get(t){return this.logger.log("MemoryHandler#get",t),this.storage[t]}async exists(t){return this.logger.log("MemoryHandler#exists",t),!!this.storage[t]}}function OM(t,e){const n=DM.getMetadata(e);if(Object.keys(n).length>0){const r=DM.getMetadataBlock(e,n);t.append(r)}return n}function LM(t,e,n){[...t.querySelectorAll("img")].forEach((t=>{const r=t.getAttribute("src");if(r)try{if(r.startsWith("./")||r.startsWith("/")||r.startsWith("../")){const n=new URL(r,e);t.src=n.toString()}else if(n){const i=new URL(r),o=new URL(n);if(i.host===o.host){const n=new URL(e),r=new URL(`${i.pathname}${i.search}${i.hash}`,`${n.protocol}//${n.host}`);t.src=r.toString()}}}catch(e){console.log(`Unable to adjust image URL ${t.src} - removing image`),t.remove()}}))}function PM(t,e){[...t.querySelectorAll("img")].forEach((t=>{const n=t.getAttribute("src");if(n&&n.endsWith(".svg")){const r=e.createElement("span"),i=n.split("/").pop().split(".")[0].toLowerCase().trim().replace(/[^a-z0-9]/g,"-");i&&(r.innerHTML=`:${i}:`,t.replaceWith(r))}}))}function FM(t,e){[...t.querySelectorAll('[style*="background-image: url"]')].forEach((t=>{const n=EM.getImgFromBackground(t,e);t.prepend(n),t.style.removeProperty("background-image")}))}async function BM({url:t,document:e,html:n,params:r={}}){const i=e.body;return EM.remove(i,["header",".header","nav",".nav","footer",".footer","iframe","noscript"]),OM(i,e),FM(i,e),LM(i,t,r.originalURL),PM(i,e),i}async function UM({url:t,document:e,html:n,params:r}){let i=new URL(t).pathname;return i.endsWith("/")&&(i=`${i}index`),decodeURIComponent(i).toLowerCase().replace(/\.html$/,"").replace(/[^a-z0-9/]/gm,"-")}async function jM(t,e,n,r={toMd:!0,toDocx:!1},o={}){const a=n||{};a.transform||(a.transformDOM||(a.transformDOM=BM),a.generateDocumentPath||(a.generateDocumentPath=UM)),a.preprocess&&await a.preprocess({url:t,document:e,html:e.documentElement.outerHTML,params:o}),!1!==r.setBackgroundImagesFromCSS&&function(t){const e=t.querySelectorAll("body, header, footer, div, span, section, main"),n=t.defaultView?.getComputedStyle;n&&e.forEach((t=>{const e=n(t);e["background-image"]&&"none"!==e["background-image"].toLowerCase()&&(t.style["background-image"]=e["background-image"])}))}(e);const s=e.documentElement.outerHTML,l={debug:()=>{},info:()=>{},log:()=>{},warn:(...t)=>console.warn(...t),error:(...t)=>console.error(...t)},c=new NM(l),u=new class extends kM{async get(){return{document:e,html:s}}async process(e){if(a.transform){let n=await a.transform({url:t,document:e,html:s,params:o});if(!n)return null;const r=[];return Array.isArray(n)||(n=[n]),n.forEach((t=>{const e=i.basename(t.path),n=i.dirname(t.path),o={};t.element?o.html=t.element.outerHTML:t.from&&(o.from=t.from),t.report&&(o.report=t.report);const a=new RM(e,n,t.element,null,o);r.push(a)})),r}{let n=await a.transformDOM({url:t,document:e,html:s,params:o});n=n||e.body;let r=await a.generateDocumentPath({url:t,document:e,html:s,params:o});r||(r=await UM({url:t,document:e}));const l=i.basename(r),c=i.dirname(r);return[new RM(l,c,n,null,{html:n.outerHTML})]}}}({storageHandler:c,skipDocxConversion:!r.toDocx,skipMDFileCreation:!r.toMd,logger:l,mdast2docxOptions:{stylesXML:r.docxStylesXML,image2png:r.image2png},createDocumentFromString:r.createDocumentFromString}),h=await u.import(t),f=async t=>{const e={};if(t.extra&&t.extra.html&&(e.html=t.extra.html),t.extra.from&&(e.from=t.extra.from),t.extra.report&&(e.report=t.extra.report),e.path=i.resolve(t.directory,t.name),r.toMd&&t.md){const n=await c.get(t.md);e.md=n}if(r.toDocx&&t.docx){const n=await c.get(t.docx);e.docx=n}return e};if(1===h.length)return f(h[0]);{const t=[];return await vM.asyncForEach(h,(async e=>{t.push(await f(e))})),t}}const HM=(t,e)=>e?.createDocumentFromString?e.createDocumentFromString(t):xM.createDocumentFromString(t),zM={createMetadata:OM,adjustImageUrls:LM,convertIcons:PM,transformBackgroundImages:FM};function qM(t,{params:{cells:e}}){let n=e;return"string"==typeof e&&(n=[...t.querySelectorAll(e)]),Array.isArray(n)?WebImporter.CellUtils.buildBlockCells(t,n):"object"==typeof n?WebImporter.CellUtils.buildBlockConfig(t,n):[]}function WM(t,e,n=null){let r=n;Number.isInteger(n)&&(r=t=>t===n);let i="";const o=[];t.querySelectorAll("*").forEach((t=>{const n=function(t,e,n=!1){const r=e.getElementsByTagName("*"),i=[];for(;t&&1===t.nodeType;t=t.parentNode)if(n)if(t.hasAttribute("id")){let e=0;for(let n=0;n<r.length&&(r[n].hasAttribute("id")&&r[n].id===t.id&&e++,!(e>1));n++);if(1===e)return i.unshift(`id("${t.getAttribute("id")}")`),i.join("/");i.unshift(`${t.localName.toLowerCase()}[@id="${t.getAttribute("id")}"]`)}else t.hasAttribute("class")&&i.unshift(`${t.localName.toLowerCase()}[@class="${[...t.classList].join(" ").trim()}"]`);else{let e,n=1;for(e=t.previousSibling;e;e=e.previousSibling)e.localName===t.localName&&(n+=1);i.unshift(`${t.localName.toLowerCase()}[${n}]`)}return i.length?`/${i.join("/")}`:null}(t,e),r=n.substring(0,n.lastIndexOf("["));o[r]?o[r].push(t):o[r]=[t]}));for(const t in o)if(r(o[t].length)){i=t;break}return!i&&r(t.children.length)?[...t.children]:o[i]||null}const GM={metadata:function(t,{document:e,params:{cells:n={}}}){const r={...WebImporter.Blocks.getMetadata(e)||{},...qM(e,{params:{cells:n}})};return Object.entries(r).forEach((([t,e])=>{if("Image"===t){const[t]=e.src.split(",");e.src=t}(function(t){if("string"!=typeof t)return!1;const e=new Date(t);return!Number.isNaN(Number(e))})(e)&&(r[t]=new Date(e).toISOString().slice(0,10))})),r},columns:function(t,{document:e,params:{cells:n}}){return t.querySelectorAll("script, style").forEach((t=>t.remove())),t.querySelectorAll("div").forEach((t=>{t.querySelector("img, svg, iframe")||0!==t.textContent.replaceAll("\n","").trim().length||t.remove()})),n?qM(t,{params:{cells:n}}):[WM(t,e,(t=>t>1))]},carousel:function(t,{params:{cells:e}}){const n=qM(t,{params:{cells:e}})||[],r=t.querySelectorAll("img");if(1===r.length&&0===r[0].children.length)return[[r[0]]];const i=function(t){if(0===t.length)return null;if(1===t.length)return t[0];const e=document.createRange();return e.setStart(t[0],0),e.setEnd(t[t.length-1],t[t.length-1].childNodes.length),e.commonAncestorContainer}(r),o=[...r].map((t=>{const e=[...[...i.children].find((e=>e.contains(t))).children].filter((e=>!e.contains(t)));return[t,e]}));return[...n,...o]},text:function(t){let e=[...t.childNodes].map((t=>{let e="";return t.nodeType===Node.TEXT_NODE?(e=t.textContent.trim(),0===e.length?null:[e]):null})).filter((t=>t));return 0===e.length&&(e=[...t.children].map((t=>{const e=t.innerText.trim();return e.length>0?[e]:null})).filter((t=>t))),e},block:qM},KM=GM;var YM=n(2838);const VM="::text",XM=/\{\{(.+?)}}/g,ZM=/\[([^=]*?)]$/;function $M(t){try{return document.querySelector(t),!0}catch(t){return!1}}function QM(t){return ZM.test(t)}function JM(t,e){const{useText:n,childIndex:r,useSiblingText:i,selector:o}=e,[,a]=o.match(ZM)||[];if(!n&&a)return t.getAttribute(a);if(r&&!Number.isNaN(r)){const e=[...t.childNodes].filter((t=>t.nodeType===Node.TEXT_NODE));return e[r-1]?.textContent||""}return i?t.nextSibling.textContent:t.textContent||t.content||""}function tT(t,e,n={}){if(!e)return;let r=e;return Array.isArray(r)||(r=[r]),r.map((e=>{const{selector:r,useText:i,...o}=function(t=""){const e=new RegExp(`${VM}(?::nth-child\\((?<nthChild>\\d+)\\))?$`),n=e.test(t),[,r]=t.match(e)||[];let i=t.replace(e,"");const o=n&&i.endsWith("+ ");return i=i.replace(/\+ \*$/,""),{selector:i.trim(),useText:n,useSiblingText:o,childIndex:parseInt(r,10)}}(e),a=r;if(a&&$M(a)){let e=[...t.querySelectorAll(a)].map((t=>{if(0===t.childNodes.length||i||QM(a)||n.replace){let e=JM(t,{useText:i,...o,selector:a});const{replace:r,split:s}=n;if(r){const[t,n=""]=r;e=e.replace(new RegExp(t),n).trim()}if(s){const[t,n=0]=s,r=e.split(t).filter((t=>t));r.length>n&&(e=r[n])}return e?e.replace(/^\s+|\s+$/g,""):e}return t}));return e.length<=1&&([e=a]=e),e}let s=e.replace(XM,((e,n)=>{const r=n.trim();if($M(r)){const e=t.querySelector(r);return QM(r)?JM(e,{selector:r}):e?.innerHTML||""}return r}));return s=YM.sanitize(s),t.ownerDocument.createRange().createContextualFragment(s)}))}class eT{static buildBlockConfig(t,e){const n={};return Object.entries(e).forEach((([e,r])=>{let i=r,o={};if(Array.isArray(r)){const[,e,n]=r.find((([e])=>t.querySelector(e)))||[];i=e,o=n||{}}const a=tT(t,i,o);if(void 0!==a){const r=(t.ownerDocument||t).createElement("p");r.append(...a),n[e]=r}})),n}static buildBlockCells(t,e){return e.map((e=>{return n=e,("object"==typeof HTMLElement?n instanceof HTMLElement:n&&"object"==typeof n&&1===n.nodeType&&"string"==typeof n.nodeName)?[e]:Array.isArray(e)?e.map((e=>tT(t,e))):tT(t,e);var n})).filter((t=>t.some((t=>Array.isArray(t)?t.length>0:t))))}static isEmpty(t){return Array.isArray(t)?0===t.length:"object"==typeof t&&null!==t&&0===Object.keys(t).length}static isValidCSSSelector(t){return $M(t)}static isTextSelector(t=""){return t.includes(VM)||!1}static getSearchSelector(t=""){const[,e]=t.match(new RegExp(`${VM}\\((.*?)\\)`));return{selector:t.replace(new RegExp(`${VM}\\((.*)\\)`),"").trim(),search:e}}}const nT=["style","source","script","noscript","iframe"];function rT(t,e=[]){WebImporter.DOMUtils.remove(t,e.filter((t=>!eT.isTextSelector(t)))),e.filter(eT.isTextSelector).forEach((e=>{const{selector:n,search:r}=eT.getSearchSelector(e);[...t.querySelectorAll(n)].flatMap((t=>[...t.childNodes])).filter((t=>t.nodeType===Node.TEXT_NODE&&t.textContent.trim()===r)).forEach((t=>t.remove()))}))}class iT{static transform(t,e){const{document:n}=e,{root:r="main",cleanup:{ignore:i=nT,start:o=[],end:a=[]},blocks:s=[]}=t,l=n.querySelector(r)||n.body;return rT(l,o),s.forEach((t=>{const{type:r,variants:i,selectors:o,parse:a,insertMode:s="replace",params:c={}}=t,u=a||KM[r]||KM.block;((o?o.filter(eT.isValidCSSSelector):[]).length?o.reduce(((t,e)=>[...t,...l.querySelectorAll(e)]),[]):[l]).forEach((t=>{const o={...e.params,...c};let a=u.call(this,t,{...e,params:o});if(Array.isArray(a)&&(a=a.filter((t=>t))),!eT.isEmpty(a)){const e=WebImporter.Blocks.createBlock(n,{name:WebImporter.Blocks.computeBlockName(r),variants:i,cells:a});e&&("append"===s?l.append(e):"prepend"===s?l.prepend(e):t.replaceWith(e))}}))})),rT(l,a),WebImporter.DOMUtils.remove(l,i),l}}function oT(t,e){const n=[{type:"text",value:"↩"}];return e>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(e)}]}),n}function aT(t,e){return"Back to reference "+(t+1)+(e>1?"-"+e:"")}function sT(t,e){const n=e.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(e.label||e.identifier)+"]"),"imageReference"===e.type)return[{type:"text",value:"!["+e.alt+r}];const i=t.all(e),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift({type:"text",value:"["});const a=i[i.length-1];return a&&"text"===a.type?a.value+=r:i.push({type:"text",value:r}),i}function lT(t){const e=t.spread;return null==e?t.children.length>1:e}const cT=9,uT=32;function hT(t){const e=String(t),n=/\r?\n|\r/g;let r=n.exec(e),i=0;const o=[];for(;r;)o.push(fT(e.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(e);return o.push(fT(e.slice(i),i>0,!1)),o.join("")}function fT(t,e,n){let r=0,i=t.length;if(e){let e=t.codePointAt(r);for(;e===cT||e===uT;)r++,e=t.codePointAt(r)}if(n){let e=t.codePointAt(i-1);for(;e===cT||e===uT;)i--,e=t.codePointAt(i-1)}return i>r?t.slice(r,i):""}const dT={blockquote:function(t,e){const n={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(e),!0)};return t.patch(e,n),t.applyData(e,n)},break:function(t,e){const n={type:"element",tagName:"br",properties:{},children:[]};return t.patch(e,n),[t.applyData(e,n),{type:"text",value:"\n"}]},code:function(t,e){const n=e.value?e.value+"\n":"",r={};e.lang&&(r.className=["language-"+e.lang]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return e.meta&&(i.data={meta:e.meta}),t.patch(e,i),i=t.applyData(e,i),i={type:"element",tagName:"pre",properties:{},children:[i]},t.patch(e,i),i},delete:function(t,e){const n={type:"element",tagName:"del",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},emphasis:function(t,e){const n={type:"element",tagName:"em",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},footnoteReference:function(t,e){const n="string"==typeof t.options.clobberPrefix?t.options.clobberPrefix:"user-content-",r=String(e.identifier).toUpperCase(),i=kA(r.toLowerCase()),o=t.footnoteOrder.indexOf(r);let a,s=t.footnoteCounts.get(r);void 0===s?(s=0,t.footnoteOrder.push(r),a=t.footnoteOrder.length):a=o+1,s+=1,t.footnoteCounts.set(r,s);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};t.patch(e,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return t.patch(e,c),t.applyData(e,c)},heading:function(t,e){const n={type:"element",tagName:"h"+e.depth,properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},html:function(t,e){if(t.options.allowDangerousHtml){const n={type:"raw",value:e.value};return t.patch(e,n),t.applyData(e,n)}},imageReference:function(t,e){const n=String(e.identifier).toUpperCase(),r=t.definitionById.get(n);if(!r)return sT(t,e);const i={src:kA(r.url||""),alt:e.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);const o={type:"element",tagName:"img",properties:i,children:[]};return t.patch(e,o),t.applyData(e,o)},image:function(t,e){const n={src:kA(e.url)};null!==e.alt&&void 0!==e.alt&&(n.alt=e.alt),null!==e.title&&void 0!==e.title&&(n.title=e.title);const r={type:"element",tagName:"img",properties:n,children:[]};return t.patch(e,r),t.applyData(e,r)},inlineCode:function(t,e){const n={type:"text",value:e.value.replace(/\r?\n|\r/g," ")};t.patch(e,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return t.patch(e,r),t.applyData(e,r)},linkReference:function(t,e){const n=String(e.identifier).toUpperCase(),r=t.definitionById.get(n);if(!r)return sT(t,e);const i={href:kA(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);const o={type:"element",tagName:"a",properties:i,children:t.all(e)};return t.patch(e,o),t.applyData(e,o)},link:function(t,e){const n={href:kA(e.url)};null!==e.title&&void 0!==e.title&&(n.title=e.title);const r={type:"element",tagName:"a",properties:n,children:t.all(e)};return t.patch(e,r),t.applyData(e,r)},listItem:function(t,e,n){const r=t.all(e),i=n?function(t){let e=!1;if("list"===t.type){e=t.spread||!1;const n=t.children;let r=-1;for(;!e&&++r<n.length;)e=lT(n[r])}return e}(n):lT(e),o={},a=[];if("boolean"==typeof e.checked){const t=r[0];let n;t&&"element"===t.type&&"p"===t.tagName?n=t:(n={type:"element",tagName:"p",properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:e.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const t=r[s];(i||0!==s||"element"!==t.type||"p"!==t.tagName)&&a.push({type:"text",value:"\n"}),"element"!==t.type||"p"!==t.tagName||i?a.push(t):a.push(...t.children)}const l=r[r.length-1];l&&(i||"element"!==l.type||"p"!==l.tagName)&&a.push({type:"text",value:"\n"});const c={type:"element",tagName:"li",properties:o,children:a};return t.patch(e,c),t.applyData(e,c)},list:function(t,e){const n={},r=t.all(e);let i=-1;for("number"==typeof e.start&&1!==e.start&&(n.start=e.start);++i<r.length;){const t=r[i];if("element"===t.type&&"li"===t.tagName&&t.properties&&Array.isArray(t.properties.className)&&t.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const o={type:"element",tagName:e.ordered?"ol":"ul",properties:n,children:t.wrap(r,!0)};return t.patch(e,o),t.applyData(e,o)},paragraph:function(t,e){const n={type:"element",tagName:"p",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},root:function(t,e){const n={type:"root",children:t.wrap(t.all(e))};return t.patch(e,n),t.applyData(e,n)},strong:function(t,e){const n={type:"element",tagName:"strong",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},table:function(t,e){const n=t.all(e),r=n.shift(),i=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:t.wrap([r],!0)};t.patch(e.children[0],n),i.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:t.wrap(n,!0)},o=Ei(e.children[1]),a=vi(e.children[e.children.length-1]);o&&a&&(r.position={start:o,end:a}),i.push(r)}const o={type:"element",tagName:"table",properties:{},children:t.wrap(i,!0)};return t.patch(e,o),t.applyData(e,o)},tableCell:function(t,e){const n={type:"element",tagName:"td",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},tableRow:function(t,e,n){const r=n?n.children:void 0,i=0===(r?r.indexOf(e):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,a=o?o.length:e.children.length;let s=-1;const l=[];for(;++s<a;){const n=e.children[s],r={},a=o?o[s]:void 0;a&&(r.align=a);let c={type:"element",tagName:i,properties:r,children:[]};n&&(c.children=t.all(n),t.patch(n,c),c=t.applyData(n,c)),l.push(c)}const c={type:"element",tagName:"tr",properties:{},children:t.wrap(l,!0)};return t.patch(e,c),t.applyData(e,c)},text:function(t,e){const n={type:"text",value:hT(String(e.value))};return t.patch(e,n),t.applyData(e,n)},thematicBreak:function(t,e){const n={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(e,n),t.applyData(e,n)},toml:pT,yaml:pT,definition:pT,footnoteDefinition:pT};function pT(){}const mT={}.hasOwnProperty,gT={};function yT(t,e){t.position&&(e.position=Ai(t))}function wT(t,e){let n=e;if(t&&t.data){const e=t.data.hName,r=t.data.hChildren,i=t.data.hProperties;"string"==typeof e&&("element"===n.type?n.tagName=e:n={type:"element",tagName:e,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&i&&Object.assign(n.properties,jr(i)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function bT(t,e){const n=e.data||{},r=!("value"in e)||mT.call(n,"hProperties")||mT.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:t.all(e)}:{type:"text",value:e.value};return t.patch(e,r),t.applyData(e,r)}function vT(t,e){const n=[];let r=-1;for(e&&n.push({type:"text",value:"\n"});++r<t.length;)r&&n.push({type:"text",value:"\n"}),n.push(t[r]);return e&&t.length>0&&n.push({type:"text",value:"\n"}),n}function ET(t){let e=0,n=t.charCodeAt(e);for(;9===n||32===n;)e++,n=t.charCodeAt(e);return t.slice(e)}function _T(t,e){const n=function(t,e){const n=e||gT,r=new Map,i=new Map,o=new Map,a={...dT,...n.handlers},s={all:function(t){const e=[];if("children"in t){const n=t.children;let r=-1;for(;++r<n.length;){const i=s.one(n[r],t);if(i){if(r&&"break"===n[r-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=ET(i.value)),!Array.isArray(i)&&"element"===i.type)){const t=i.children[0];t&&"text"===t.type&&(t.value=ET(t.value))}Array.isArray(i)?e.push(...i):e.push(i)}}}return e},applyData:wT,definitionById:r,footnoteById:i,footnoteCounts:o,footnoteOrder:[],handlers:a,one:function(t,e){const n=t.type,r=s.handlers[n];if(mT.call(s.handlers,n)&&r)return r(s,t,e);if(s.options.passThrough&&s.options.passThrough.includes(n)){if("children"in t){const{children:e,...n}=t,r=jr(n);return r.children=s.all(t),r}return jr(t)}return(s.options.unknownHandler||bT)(s,t,e)},options:n,patch:yT,wrap:vT};return bi(t,(function(t){if("definition"===t.type||"footnoteDefinition"===t.type){const e="definition"===t.type?r:i,n=String(t.identifier).toUpperCase();e.has(n)||e.set(n,t)}})),s}(t,e),r=n.one(t,void 0),i=function(t){const e="string"==typeof t.options.clobberPrefix?t.options.clobberPrefix:"user-content-",n=t.options.footnoteBackContent||oT,r=t.options.footnoteBackLabel||aT,i=t.options.footnoteLabel||"Footnotes",o=t.options.footnoteLabelTagName||"h2",a=t.options.footnoteLabelProperties||{className:["sr-only"]},s=[];let l=-1;for(;++l<t.footnoteOrder.length;){const i=t.footnoteById.get(t.footnoteOrder[l]);if(!i)continue;const o=t.all(i),a=String(i.identifier).toUpperCase(),c=kA(a.toLowerCase());let u=0;const h=[],f=t.footnoteCounts.get(a);for(;void 0!==f&&++u<=f;){h.length>0&&h.push({type:"text",value:" "});let t="string"==typeof n?n:n(l,u);"string"==typeof t&&(t={type:"text",value:t}),h.push({type:"element",tagName:"a",properties:{href:"#"+e+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,u),className:["data-footnote-backref"]},children:Array.isArray(t)?t:[t]})}const d=o[o.length-1];if(d&&"element"===d.type&&"p"===d.tagName){const t=d.children[d.children.length-1];t&&"text"===t.type?t.value+=" ":d.children.push({type:"text",value:" "}),d.children.push(...h)}else o.push(...h);const p={type:"element",tagName:"li",properties:{id:e+"fn-"+c},children:t.wrap(o,!0)};t.patch(i,p),s.push(p)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...jr(a),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:t.wrap(s,!0)},{type:"text",value:"\n"}]}}(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&o.children.push({type:"text",value:"\n"},i),o}const AT={},MT={}.hasOwnProperty,TT=Ho("type",{handlers:{root:function(t,e){const n={nodeName:"#document",mode:(t.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=ST(t.children,n,e),kT(t,n),n},element:function(t,e){const n=e;let r=n;"element"===t.type&&"svg"===t.tagName.toLowerCase()&&"html"===n.space&&(r=ct);const i=[];let o;if(t.properties)for(o in t.properties)if("children"!==o&&MT.call(t.properties,o)){const e=xT(r,o,t.properties[o]);e&&i.push(e)}const a=r.space,s={nodeName:t.tagName,tagName:t.tagName,attrs:i,namespaceURI:Dt[a],childNodes:[],parentNode:null};return s.childNodes=ST(t.children,s,r),kT(t,s),"template"===t.tagName&&t.content&&(s.content=function(t,e){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=ST(t.children,n,e),kT(t,n),n}(t.content,r)),s},text:function(t){const e={nodeName:"#text",value:t.value,parentNode:null};return kT(t,e),e},comment:function(t){const e={nodeName:"#comment",data:t.value,parentNode:null};return kT(t,e),e},doctype:function(t){const e={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return kT(t,e),e}}});function xT(t,e,n){const r=gt(t,e);if(!1===n||null==n||"number"==typeof n&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?ht(n):vt(n));const i={name:r.attribute,value:!0===n?"":String(n)};if(r.space&&"html"!==r.space&&"svg"!==r.space){const t=i.name.indexOf(":");t<0?i.prefix="":(i.name=i.name.slice(t+1),i.prefix=r.attribute.slice(0,t)),i.namespace=Dt[r.space]}return i}function ST(t,e,n){let r=-1;const i=[];if(t)for(;++r<t.length;){const o=TT(t[r],n);o.parentNode=e,i.push(o)}return i}function kT(t,e){const n=t.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,e.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const CT=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],DT=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),IT={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function RT(t,e){const n=function(t){const e="root"===t.type?t.children[0]:t;return Boolean(e&&("doctype"===e.type||"element"===e.type&&"html"===e.tagName.toLowerCase()))}(t),r=Ho("type",{handlers:{root:OT,element:LT,text:PT,comment:BT,doctype:FT,raw:UT},unknown:jT}),i={parser:n?new An(IT):An.getFragmentParser(void 0,IT),handle(t){r(t,i)},stitches:!1,options:e||{}};r(t,i),HT(i,Ei());const o=Nt(n?i.parser.document:i.parser.getFragment(),{file:i.options.file});return i.stitches&&bi(o,"comment",(function(t,e,n){const r=t;if(r.value.stitch&&n&&void 0!==e)return n.children[e]=r.value.stitch,e})),"root"===o.type&&1===o.children.length&&o.children[0].type===t.type?o.children[0]:o}function NT(t,e){let n=-1;if(t)for(;++n<t.length;)e.handle(t[n])}function OT(t,e){NT(t.children,e)}function LT(t,e){!function(t,e){const n=t.tagName.toLowerCase();if(e.parser.tokenizer.state===xe.PLAINTEXT)return;HT(e,Ei(t));const r=e.parser.openElements.current;let i="namespaceURI"in r?r.namespaceURI:Dt.html;i===Dt.html&&"svg"===n&&(i=Dt.svg);const o=function(t,e){const n=(e||AT).space;return TT(t,"svg"===n?ct:lt)}({...t,children:[]},{space:i===Dt.svg?"svg":"html"}),a={type:Xt.START_TAG,tagName:n,tagID:ve(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in o?o.attrs:[],location:qT(t)};e.parser.currentToken=a,e.parser._processToken(e.parser.currentToken),e.parser.tokenizer.lastStartTagName=n}(t,e),NT(t.children,e),function(t,e){const n=t.tagName.toLowerCase();if(!e.parser.tokenizer.inForeignNode&&CT.includes(n))return;if(e.parser.tokenizer.state===xe.PLAINTEXT)return;HT(e,vi(t));const r={type:Xt.END_TAG,tagName:n,tagID:ve(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:qT(t)};e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken),n!==e.parser.tokenizer.lastStartTagName||e.parser.tokenizer.state!==xe.RCDATA&&e.parser.tokenizer.state!==xe.RAWTEXT&&e.parser.tokenizer.state!==xe.SCRIPT_DATA||(e.parser.tokenizer.state=xe.DATA)}(t,e)}function PT(t,e){const n={type:Xt.CHARACTER,chars:t.value,location:qT(t)};HT(e,Ei(t)),e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)}function FT(t,e){const n={type:Xt.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:qT(t)};HT(e,Ei(t)),e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)}function BT(t,e){const n=t.value,r={type:Xt.COMMENT,data:n,location:qT(t)};HT(e,Ei(t)),e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken)}function UT(t,e){if(e.parser.tokenizer.preprocessor.html="",e.parser.tokenizer.preprocessor.pos=-1,e.parser.tokenizer.preprocessor.lastGapPos=-2,e.parser.tokenizer.preprocessor.gapStack=[],e.parser.tokenizer.preprocessor.skipNextNewLine=!1,e.parser.tokenizer.preprocessor.lastChunkWritten=!1,e.parser.tokenizer.preprocessor.endOfChunkHit=!1,e.parser.tokenizer.preprocessor.isEol=!1,zT(e,Ei(t)),e.parser.tokenizer.write(t.value,!1),e.parser.tokenizer._runParsingLoop(),72===e.parser.tokenizer.state||78===e.parser.tokenizer.state){e.parser.tokenizer.preprocessor.lastChunkWritten=!0;const t=e.parser.tokenizer._consume();e.parser.tokenizer._callState(t)}}function jT(t,e){const n=t;if(!e.options.passThrough||!e.options.passThrough.includes(n.type)){let t="";throw DT.has(n.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+t)}!function(t,e){e.stitches=!0;const n=function(t){return jr("children"in t?{...t,children:[]}:t)}(t);if("children"in t&&"children"in n){const r=RT({type:"root",children:t.children},e.options);n.children=r.children}BT({type:"comment",value:{stitch:n}},e)}(n,e)}function HT(t,e){zT(t,e);const n=t.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=t.parser.tokenizer.preprocessor.line,n.location.endCol=t.parser.tokenizer.preprocessor.col+1,n.location.endOffset=t.parser.tokenizer.preprocessor.offset+1,t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)),t.parser.tokenizer.paused=!1,t.parser.tokenizer.inLoop=!1,t.parser.tokenizer.active=!1,t.parser.tokenizer.returnState=xe.DATA,t.parser.tokenizer.charRefCode=-1,t.parser.tokenizer.consumedAfterSnapshot=-1,t.parser.tokenizer.currentLocation=null,t.parser.tokenizer.currentCharacterToken=null,t.parser.tokenizer.currentToken=null,t.parser.tokenizer.currentAttr={name:"",value:""}}function zT(t,e){if(e&&void 0!==e.offset){const n={startLine:e.line,startCol:e.column,startOffset:e.offset,endLine:-1,endCol:-1,endOffset:-1};t.parser.tokenizer.preprocessor.lineStartPos=1-e.column,t.parser.tokenizer.preprocessor.droppedBufferSize=e.offset,t.parser.tokenizer.preprocessor.line=e.line,t.parser.tokenizer.currentLocation=n}}function qT(t){const e=Ei(t)||{line:void 0,column:void 0,offset:void 0},n=vi(t)||{line:void 0,column:void 0,offset:void 0};return{startLine:e.line,startCol:e.column,startOffset:e.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}const WT=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],GT={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},KT=["cent","copy","divide","gt","lt","not","para","times"],YT={}.hasOwnProperty,VT={};let XT;for(XT in GT)YT.call(GT,XT)&&(VT[GT[XT]]=XT);function ZT(t,e,n){let r,i=function(t,e,n){const r="&#x"+t.toString(16).toUpperCase();return n&&e&&!/[\dA-Fa-f]/.test(String.fromCharCode(e))?r:r+";"}(t,e,n.omitOptionalSemicolons);if((n.useNamedReferences||n.useShortestReferences)&&(r=function(t,e,n,r){const i=String.fromCharCode(t);if(YT.call(VT,i)){const t=VT[i],o="&"+t;return n&&WT.includes(t)&&!KT.includes(t)&&(!r||e&&61!==e&&/[^\da-z]/i.test(String.fromCharCode(e)))?o:o+";"}return""}(t,e,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!r)&&n.useShortestReferences){const r=function(t,e,n){const r="&#"+String(t);return n&&e&&!/\d/.test(String.fromCharCode(e))?r:r+";"}(t,e,n.omitOptionalSemicolons);r.length<i.length&&(i=r)}return r&&(!n.useShortestReferences||r.length<i.length)?r:i}function $T(t,e){return function(t,e){return t=t.replace(e.subset?function(t){const e=[];let n=-1;for(;++n<t.length;)e.push(t[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+e.join("|")+")","g")}(e.subset):/["&'<>`]/g,n),e.subset||e.escapeOnly?t:t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,(function(t,n,r){return e.format(1024*(t.charCodeAt(0)-55296)+t.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),e)})).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,n);function n(t,n,r){return e.format(t.charCodeAt(0),r.charCodeAt(n+1),e)}}(t,Object.assign({format:ZT},e))}const QT=/^>|^->|<!--|-->|--!>|<!-$/g,JT=[">"],tx=["<",">"],ex=ix(1),nx=ix(-1),rx=[];function ix(t){return function(e,n,r){const i=e?e.children:rx;let o=(n||0)+t,a=i[o];if(!r)for(;a&&Vr(a);)o+=t,a=i[o];return a}}const ox={}.hasOwnProperty;function ax(t){return function(e,n,r){return ox.call(t,e.tagName)&&t[e.tagName](e,n,r)}}const sx=ax({body:function(t,e,n){const r=ex(n,e);return!r||"comment"!==r.type},caption:lx,colgroup:lx,dd:function(t,e,n){const r=ex(n,e);return!r||"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName)},dt:function(t,e,n){const r=ex(n,e);return Boolean(r&&"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName))},head:lx,html:function(t,e,n){const r=ex(n,e);return!r||"comment"!==r.type},li:function(t,e,n){const r=ex(n,e);return!r||"element"===r.type&&"li"===r.tagName},optgroup:function(t,e,n){const r=ex(n,e);return!r||"element"===r.type&&"optgroup"===r.tagName},option:function(t,e,n){const r=ex(n,e);return!r||"element"===r.type&&("option"===r.tagName||"optgroup"===r.tagName)},p:function(t,e,n){const r=ex(n,e);return r?"element"===r.type&&("address"===r.tagName||"article"===r.tagName||"aside"===r.tagName||"blockquote"===r.tagName||"details"===r.tagName||"div"===r.tagName||"dl"===r.tagName||"fieldset"===r.tagName||"figcaption"===r.tagName||"figure"===r.tagName||"footer"===r.tagName||"form"===r.tagName||"h1"===r.tagName||"h2"===r.tagName||"h3"===r.tagName||"h4"===r.tagName||"h5"===r.tagName||"h6"===r.tagName||"header"===r.tagName||"hgroup"===r.tagName||"hr"===r.tagName||"main"===r.tagName||"menu"===r.tagName||"nav"===r.tagName||"ol"===r.tagName||"p"===r.tagName||"pre"===r.tagName||"section"===r.tagName||"table"===r.tagName||"ul"===r.tagName):!n||!("element"===n.type&&("a"===n.tagName||"audio"===n.tagName||"del"===n.tagName||"ins"===n.tagName||"map"===n.tagName||"noscript"===n.tagName||"video"===n.tagName))},rp:cx,rt:cx,tbody:function(t,e,n){const r=ex(n,e);return!r||"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName)},td:ux,tfoot:function(t,e,n){return!ex(n,e)},th:ux,thead:function(t,e,n){const r=ex(n,e);return Boolean(r&&"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName))},tr:function(t,e,n){const r=ex(n,e);return!r||"element"===r.type&&"tr"===r.tagName}});function lx(t,e,n){const r=ex(n,e,!0);return!r||"comment"!==r.type&&!("text"===r.type&&Vr(r.value.charAt(0)))}function cx(t,e,n){const r=ex(n,e);return!r||"element"===r.type&&("rp"===r.tagName||"rt"===r.tagName)}function ux(t,e,n){const r=ex(n,e);return!r||"element"===r.type&&("td"===r.tagName||"th"===r.tagName)}const hx=ax({body:function(t){const e=ex(t,-1,!0);return!(e&&("comment"===e.type||"text"===e.type&&Vr(e.value.charAt(0))||"element"===e.type&&("meta"===e.tagName||"link"===e.tagName||"script"===e.tagName||"style"===e.tagName||"template"===e.tagName)))},colgroup:function(t,e,n){const r=nx(n,e),i=ex(t,-1,!0);return!(n&&r&&"element"===r.type&&"colgroup"===r.tagName&&sx(r,n.children.indexOf(r),n))&&Boolean(i&&"element"===i.type&&"col"===i.tagName)},head:function(t){const e=t.children,n=[];let r=-1;for(;++r<e.length;){const t=e[r];if("element"===t.type&&("title"===t.tagName||"base"===t.tagName)){if(n.includes(t.tagName))return!1;n.push(t.tagName)}}return e.length>0},html:function(t){const e=ex(t,-1);return!e||"comment"!==e.type},tbody:function(t,e,n){const r=nx(n,e),i=ex(t,-1);return(!n||!r||"element"!==r.type||"thead"!==r.tagName&&"tbody"!==r.tagName||!sx(r,n.children.indexOf(r),n))&&Boolean(i&&"element"===i.type&&"tr"===i.tagName)}}),fx={name:[["\t\n\f\r &/=>".split(""),"\t\n\f\r \"&'/=>`".split("")],["\0\t\n\f\r \"&'/<=>".split(""),"\0\t\n\f\r \"&'/<=>`".split("")]],unquoted:[["\t\n\f\r &>".split(""),"\0\t\n\f\r \"&'<=>`".split("")],["\0\t\n\f\r \"&'<=>`".split(""),"\0\t\n\f\r \"&'<=>`".split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function dx(t,e,n){const r=gt(t.schema,e),i=t.settings.allowParseErrors&&"html"===t.schema.space?0:1,o=t.settings.allowDangerousCharacters?0:1;let a,s=t.quote;if(!r.overloadedBoolean||n!==r.attribute&&""!==n?(r.boolean||r.overloadedBoolean&&"string"!=typeof n)&&(n=Boolean(n)):n=!0,null==n||!1===n||"number"==typeof n&&Number.isNaN(n))return"";const l=$T(r.attribute,Object.assign({},t.settings.characterReferences,{subset:fx.name[i][o]}));return!0===n?l:(n=Array.isArray(n)?(r.commaSeparated?ht:vt)(n,{padLeft:!t.settings.tightCommaSeparatedLists}):String(n),t.settings.collapseEmptyAttributes&&!n?l:(t.settings.preferUnquoted&&(a=$T(n,Object.assign({},t.settings.characterReferences,{attribute:!0,subset:fx.unquoted[i][o]}))),a!==n&&(t.settings.quoteSmart&&Uw(n,s)>Uw(n,t.alternative)&&(s=t.alternative),a=s+$T(n,Object.assign({},t.settings.characterReferences,{subset:("'"===s?fx.single:fx.double)[i][o],attribute:!0}))+s),l+(a?"="+a:a)))}const px=["<","&"];function mx(t,e,n,r){return!n||"element"!==n.type||"script"!==n.tagName&&"style"!==n.tagName?$T(t.value,Object.assign({},r.settings.characterReferences,{subset:px})):t.value}const gx=Ho("type",{invalid:function(t){throw new Error("Expected node, not `"+t+"`")},unknown:function(t){throw new Error("Cannot compile unknown node `"+t.type+"`")},handlers:{comment:function(t,e,n,r){return r.settings.bogusComments?"<?"+$T(t.value,Object.assign({},r.settings.characterReferences,{subset:JT}))+">":"\x3c!--"+t.value.replace(QT,(function(t){return $T(t,Object.assign({},r.settings.characterReferences,{subset:tx}))}))+"--\x3e"},doctype:function(t,e,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"},element:function(t,e,n,r){const i=r.schema,o="svg"!==i.space&&r.settings.omitOptionalTags;let a="svg"===i.space?r.settings.closeEmptyElements:r.settings.voids.includes(t.tagName.toLowerCase());const s=[];let l;"html"===i.space&&"svg"===t.tagName&&(r.schema=ct);const c=function(t,e){const n=[];let r,i=-1;if(e)for(r in e)if(null!==e[r]&&void 0!==e[r]){const i=dx(t,r,e[r]);i&&n.push(i)}for(;++i<n.length;){const e=t.settings.tightAttributes?n[i].charAt(n[i].length-1):void 0;i!==n.length-1&&'"'!==e&&"'"!==e&&(n[i]+=" ")}return n.join("")}(r,t.properties),u=r.all("html"===i.space&&"template"===t.tagName?t.content:t);return r.schema=i,u&&(a=!1),!c&&o&&hx(t,e,n)||(s.push("<",t.tagName,c?" "+c:""),a&&("svg"===i.space||r.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!r.settings.tightSelfClosing||"/"===l||l&&'"'!==l&&"'"!==l)&&s.push(" "),s.push("/")),s.push(">")),s.push(u),a||o&&sx(t,e,n)||s.push("</"+t.tagName+">"),s.join("")},raw:function(t,e,n,r){return r.settings.allowDangerousHtml?t.value:mx(t,0,n,r)},root:function(t,e,n,r){return r.all(t)},text:mx}}),yx={},wx={},bx=[];function vx(t,e,n){return gx(t,e,n,this)}function Ex(t){const e=[],n=t&&t.children||bx;let r=-1;for(;++r<n.length;)e[r]=this.one(n[r],r,t);return e.join("")}const _x=["pre","script","style","textarea"],Ax={},Mx=ii({newlines:!0});function Tx(t,e){return"root"===t.type||"element"===t.type&&(e||Hr(t,"script")||Kr(t)||!to(t))}function xx(t){const e=_T(C().use(Bw).use(wv).use(gM).parse(t),{handlers:{...dT,[yA]:mM()},allowDangerousHtml:!0});return RT(e),function(t){const e=Ax;let n=e.indent||2,r=e.indentInitial;return"number"==typeof n&&(n=" ".repeat(n)),null==r&&(r=!0),function(t){let e;Mx(t),wi(t,(function(t,o){let a=-1;if(!("children"in t))return;if(Hr(t,"head")&&(e=!0),e&&Hr(t,"body")&&(e=void 0),Hr(t,_x))return yi;const s=t.children;let l,c=o.length;if(0===s.length||!Tx(t,e))return;for(r||c--;++a<s.length;){const t=s[a];"text"!==t.type&&"comment"!==t.type||(t.value.includes("\n")&&(l=!0),t.value=t.value.replace(/ *\n/g,"$&"+String(n).repeat(c)))}const u=[];let h;for(a=-1;++a<s.length;){const t=s[a];(Tx(t,e)||l&&!a)&&(i(u,c,t),l=!0),h=t,u.push(t)}h&&(l||Tx(h,e))&&(Vr(h)&&(u.pop(),h=u[u.length-1]),i(u,c-1)),t.children=u}))};function i(t,e,r){const i=t[t.length-1],a=(o(i&&Vr(i)?t[t.length-2]:i)&&o(r)?"\n\n":"\n")+String(n).repeat(Math.max(e,0));i&&"text"===i.type?i.value=Vr(i)?a:i.value+a:t.push({type:"text",value:a})}function o(t){return Boolean(t&&"element"===t.type&&e.blanks&&e.blanks.length>0&&e.blanks.includes(t.tagName))}}()(e),function(t,e){const n={upperDoctype:!0}||yx,r=n.quote||'"',i='"'===r?"'":'"';if('"'!==r&&"'"!==r)throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:vx,all:Ex,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||CT,characterReferences:n.characterReferences||wx,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:"svg"===n.space?ct:lt,quote:r,alternative:i}.one(Array.isArray(t)?{type:"root",children:t}:t,void 0,void 0)}(e)}const Sx={docxStylesXML:'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n<w:styles\r\n    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"\r\n    xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"\r\n    xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"\r\n    xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml"\r\n    xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml"\r\n    xmlns:w16cex="http://schemas.microsoft.com/office/word/2018/wordml/cex"\r\n    xmlns:w16cid="http://schemas.microsoft.com/office/word/2016/wordml/cid"\r\n    xmlns:w16="http://schemas.microsoft.com/office/word/2018/wordml"\r\n    xmlns:w16sdtdh="http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash"\r\n    xmlns:w16se="http://schemas.microsoft.com/office/word/2015/wordml/symex"\r\n    mc:Ignorable="w14 w15 w16se w16cid w16 w16cex w16sdtdh">\r\n  <w:docDefaults>\r\n    <w:rPrDefault>\r\n      <w:rPr>\r\n        <w:rFonts\r\n            w:ascii="Arial"\r\n            w:eastAsia="Arial"\r\n            w:hAnsi="Arial"\r\n            w:cs="Arial"/>\r\n        <w:sz w:val="22"/>\r\n        <w:szCs w:val="22"/>\r\n        <w:lang\r\n            w:val="en"\r\n            w:eastAsia="en-GB"\r\n            w:bidi="ar-SA"/>\r\n      </w:rPr>\r\n    </w:rPrDefault>\r\n    <w:pPrDefault>\r\n      <w:pPr>\r\n        <w:spacing\r\n            w:line="276"\r\n            w:lineRule="auto"/>\r\n      </w:pPr>\r\n    </w:pPrDefault>\r\n  </w:docDefaults>\r\n  <w:latentStyles\r\n      w:defLockedState="0"\r\n      w:defUIPriority="99"\r\n      w:defSemiHidden="0"\r\n      w:defUnhideWhenUsed="0"\r\n      w:defQFormat="0"\r\n      w:count="376">\r\n    <w:lsdException\r\n        w:name="Normal"\r\n        w:uiPriority="0"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="heading 1"\r\n        w:uiPriority="9"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="heading 2"\r\n        w:semiHidden="1"\r\n        w:uiPriority="9"\r\n        w:unhideWhenUsed="1"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="heading 3"\r\n        w:semiHidden="1"\r\n        w:uiPriority="9"\r\n        w:unhideWhenUsed="1"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="heading 4"\r\n        w:semiHidden="1"\r\n        w:uiPriority="9"\r\n        w:unhideWhenUsed="1"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="heading 5"\r\n        w:semiHidden="1"\r\n        w:uiPriority="9"\r\n        w:unhideWhenUsed="1"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="heading 6"\r\n        w:semiHidden="1"\r\n        w:uiPriority="9"\r\n        w:unhideWhenUsed="1"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="heading 7"\r\n        w:semiHidden="1"\r\n        w:uiPriority="9"\r\n        w:unhideWhenUsed="1"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="heading 8"\r\n        w:semiHidden="1"\r\n        w:uiPriority="9"\r\n        w:unhideWhenUsed="1"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="heading 9"\r\n        w:semiHidden="1"\r\n        w:uiPriority="9"\r\n        w:unhideWhenUsed="1"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="index 1"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="index 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="index 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="index 4"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="index 5"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="index 6"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="index 7"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="index 8"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="index 9"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="toc 1"\r\n        w:semiHidden="1"\r\n        w:uiPriority="39"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="toc 2"\r\n        w:semiHidden="1"\r\n        w:uiPriority="39"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="toc 3"\r\n        w:semiHidden="1"\r\n        w:uiPriority="39"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="toc 4"\r\n        w:semiHidden="1"\r\n        w:uiPriority="39"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="toc 5"\r\n        w:semiHidden="1"\r\n        w:uiPriority="39"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="toc 6"\r\n        w:semiHidden="1"\r\n        w:uiPriority="39"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="toc 7"\r\n        w:semiHidden="1"\r\n        w:uiPriority="39"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="toc 8"\r\n        w:semiHidden="1"\r\n        w:uiPriority="39"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="toc 9"\r\n        w:semiHidden="1"\r\n        w:uiPriority="39"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Normal Indent"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="footnote text"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="annotation text"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="header"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="footer"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="index heading"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="caption"\r\n        w:semiHidden="1"\r\n        w:uiPriority="35"\r\n        w:unhideWhenUsed="1"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="table of figures"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="envelope address"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="envelope return"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="footnote reference"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="annotation reference"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="line number"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="page number"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="endnote reference"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="endnote text"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="table of authorities"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="macro"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="toa heading"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List Bullet"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List Number"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List 4"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List 5"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List Bullet 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List Bullet 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List Bullet 4"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List Bullet 5"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List Number 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List Number 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List Number 4"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List Number 5"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Title"\r\n        w:uiPriority="10"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="Closing"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Signature"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Default Paragraph Font"\r\n        w:semiHidden="1"\r\n        w:uiPriority="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Body Text"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Body Text Indent"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List Continue"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List Continue 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List Continue 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List Continue 4"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List Continue 5"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Message Header"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Subtitle"\r\n        w:uiPriority="11"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="Salutation"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Date"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Body Text First Indent"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Body Text First Indent 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Note Heading"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Body Text 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Body Text 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Body Text Indent 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Body Text Indent 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Block Text"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Hyperlink"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="FollowedHyperlink"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Strong"\r\n        w:uiPriority="22"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="Emphasis"\r\n        w:uiPriority="20"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="Document Map"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Plain Text"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="E-mail Signature"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="HTML Top of Form"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="HTML Bottom of Form"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Normal (Web)"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="HTML Acronym"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="HTML Address"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="HTML Cite"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="HTML Code"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="HTML Definition"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="HTML Keyboard"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="HTML Preformatted"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="HTML Sample"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="HTML Typewriter"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="HTML Variable"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Normal Table"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="annotation subject"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="No List"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Outline List 1"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Outline List 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Outline List 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Simple 1"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Simple 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Simple 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Classic 1"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Classic 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Classic 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Classic 4"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Colorful 1"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Colorful 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Colorful 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Columns 1"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Columns 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Columns 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Columns 4"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Columns 5"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Grid 1"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Grid 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Grid 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Grid 4"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Grid 5"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Grid 6"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Grid 7"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Grid 8"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table List 1"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table List 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table List 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table List 4"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table List 5"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table List 6"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table List 7"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table List 8"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table 3D effects 1"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table 3D effects 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table 3D effects 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Contemporary"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Elegant"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Professional"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Subtle 1"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Subtle 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Web 1"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Web 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Web 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Balloon Text"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Grid"\r\n        w:uiPriority="39"/>\r\n    <w:lsdException\r\n        w:name="Table Theme"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Placeholder Text"\r\n        w:semiHidden="1"/>\r\n    <w:lsdException\r\n        w:name="No Spacing"\r\n        w:uiPriority="1"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="Light Shading"\r\n        w:uiPriority="60"/>\r\n    <w:lsdException\r\n        w:name="Light List"\r\n        w:uiPriority="61"/>\r\n    <w:lsdException\r\n        w:name="Light Grid"\r\n        w:uiPriority="62"/>\r\n    <w:lsdException\r\n        w:name="Medium Shading 1"\r\n        w:uiPriority="63"/>\r\n    <w:lsdException\r\n        w:name="Medium Shading 2"\r\n        w:uiPriority="64"/>\r\n    <w:lsdException\r\n        w:name="Medium List 1"\r\n        w:uiPriority="65"/>\r\n    <w:lsdException\r\n        w:name="Medium List 2"\r\n        w:uiPriority="66"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 1"\r\n        w:uiPriority="67"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 2"\r\n        w:uiPriority="68"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 3"\r\n        w:uiPriority="69"/>\r\n    <w:lsdException\r\n        w:name="Dark List"\r\n        w:uiPriority="70"/>\r\n    <w:lsdException\r\n        w:name="Colorful Shading"\r\n        w:uiPriority="71"/>\r\n    <w:lsdException\r\n        w:name="Colorful List"\r\n        w:uiPriority="72"/>\r\n    <w:lsdException\r\n        w:name="Colorful Grid"\r\n        w:uiPriority="73"/>\r\n    <w:lsdException\r\n        w:name="Light Shading Accent 1"\r\n        w:uiPriority="60"/>\r\n    <w:lsdException\r\n        w:name="Light List Accent 1"\r\n        w:uiPriority="61"/>\r\n    <w:lsdException\r\n        w:name="Light Grid Accent 1"\r\n        w:uiPriority="62"/>\r\n    <w:lsdException\r\n        w:name="Medium Shading 1 Accent 1"\r\n        w:uiPriority="63"/>\r\n    <w:lsdException\r\n        w:name="Medium Shading 2 Accent 1"\r\n        w:uiPriority="64"/>\r\n    <w:lsdException\r\n        w:name="Medium List 1 Accent 1"\r\n        w:uiPriority="65"/>\r\n    <w:lsdException\r\n        w:name="Revision"\r\n        w:semiHidden="1"/>\r\n    <w:lsdException\r\n        w:name="List Paragraph"\r\n        w:uiPriority="34"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="Quote"\r\n        w:uiPriority="29"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="Intense Quote"\r\n        w:uiPriority="30"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="Medium List 2 Accent 1"\r\n        w:uiPriority="66"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 1 Accent 1"\r\n        w:uiPriority="67"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 2 Accent 1"\r\n        w:uiPriority="68"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 3 Accent 1"\r\n        w:uiPriority="69"/>\r\n    <w:lsdException\r\n        w:name="Dark List Accent 1"\r\n        w:uiPriority="70"/>\r\n    <w:lsdException\r\n        w:name="Colorful Shading Accent 1"\r\n        w:uiPriority="71"/>\r\n    <w:lsdException\r\n        w:name="Colorful List Accent 1"\r\n        w:uiPriority="72"/>\r\n    <w:lsdException\r\n        w:name="Colorful Grid Accent 1"\r\n        w:uiPriority="73"/>\r\n    <w:lsdException\r\n        w:name="Light Shading Accent 2"\r\n        w:uiPriority="60"/>\r\n    <w:lsdException\r\n        w:name="Light List Accent 2"\r\n        w:uiPriority="61"/>\r\n    <w:lsdException\r\n        w:name="Light Grid Accent 2"\r\n        w:uiPriority="62"/>\r\n    <w:lsdException\r\n        w:name="Medium Shading 1 Accent 2"\r\n        w:uiPriority="63"/>\r\n    <w:lsdException\r\n        w:name="Medium Shading 2 Accent 2"\r\n        w:uiPriority="64"/>\r\n    <w:lsdException\r\n        w:name="Medium List 1 Accent 2"\r\n        w:uiPriority="65"/>\r\n    <w:lsdException\r\n        w:name="Medium List 2 Accent 2"\r\n        w:uiPriority="66"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 1 Accent 2"\r\n        w:uiPriority="67"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 2 Accent 2"\r\n        w:uiPriority="68"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 3 Accent 2"\r\n        w:uiPriority="69"/>\r\n    <w:lsdException\r\n        w:name="Dark List Accent 2"\r\n        w:uiPriority="70"/>\r\n    <w:lsdException\r\n        w:name="Colorful Shading Accent 2"\r\n        w:uiPriority="71"/>\r\n    <w:lsdException\r\n        w:name="Colorful List Accent 2"\r\n        w:uiPriority="72"/>\r\n    <w:lsdException\r\n        w:name="Colorful Grid Accent 2"\r\n        w:uiPriority="73"/>\r\n    <w:lsdException\r\n        w:name="Light Shading Accent 3"\r\n        w:uiPriority="60"/>\r\n    <w:lsdException\r\n        w:name="Light List Accent 3"\r\n        w:uiPriority="61"/>\r\n    <w:lsdException\r\n        w:name="Light Grid Accent 3"\r\n        w:uiPriority="62"/>\r\n    <w:lsdException\r\n        w:name="Medium Shading 1 Accent 3"\r\n        w:uiPriority="63"/>\r\n    <w:lsdException\r\n        w:name="Medium Shading 2 Accent 3"\r\n        w:uiPriority="64"/>\r\n    <w:lsdException\r\n        w:name="Medium List 1 Accent 3"\r\n        w:uiPriority="65"/>\r\n    <w:lsdException\r\n        w:name="Medium List 2 Accent 3"\r\n        w:uiPriority="66"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 1 Accent 3"\r\n        w:uiPriority="67"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 2 Accent 3"\r\n        w:uiPriority="68"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 3 Accent 3"\r\n        w:uiPriority="69"/>\r\n    <w:lsdException\r\n        w:name="Dark List Accent 3"\r\n        w:uiPriority="70"/>\r\n    <w:lsdException\r\n        w:name="Colorful Shading Accent 3"\r\n        w:uiPriority="71"/>\r\n    <w:lsdException\r\n        w:name="Colorful List Accent 3"\r\n        w:uiPriority="72"/>\r\n    <w:lsdException\r\n        w:name="Colorful Grid Accent 3"\r\n        w:uiPriority="73"/>\r\n    <w:lsdException\r\n        w:name="Light Shading Accent 4"\r\n        w:uiPriority="60"/>\r\n    <w:lsdException\r\n        w:name="Light List Accent 4"\r\n        w:uiPriority="61"/>\r\n    <w:lsdException\r\n        w:name="Light Grid Accent 4"\r\n        w:uiPriority="62"/>\r\n    <w:lsdException\r\n        w:name="Medium Shading 1 Accent 4"\r\n        w:uiPriority="63"/>\r\n    <w:lsdException\r\n        w:name="Medium Shading 2 Accent 4"\r\n        w:uiPriority="64"/>\r\n    <w:lsdException\r\n        w:name="Medium List 1 Accent 4"\r\n        w:uiPriority="65"/>\r\n    <w:lsdException\r\n        w:name="Medium List 2 Accent 4"\r\n        w:uiPriority="66"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 1 Accent 4"\r\n        w:uiPriority="67"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 2 Accent 4"\r\n        w:uiPriority="68"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 3 Accent 4"\r\n        w:uiPriority="69"/>\r\n    <w:lsdException\r\n        w:name="Dark List Accent 4"\r\n        w:uiPriority="70"/>\r\n    <w:lsdException\r\n        w:name="Colorful Shading Accent 4"\r\n        w:uiPriority="71"/>\r\n    <w:lsdException\r\n        w:name="Colorful List Accent 4"\r\n        w:uiPriority="72"/>\r\n    <w:lsdException\r\n        w:name="Colorful Grid Accent 4"\r\n        w:uiPriority="73"/>\r\n    <w:lsdException\r\n        w:name="Light Shading Accent 5"\r\n        w:uiPriority="60"/>\r\n    <w:lsdException\r\n        w:name="Light List Accent 5"\r\n        w:uiPriority="61"/>\r\n    <w:lsdException\r\n        w:name="Light Grid Accent 5"\r\n        w:uiPriority="62"/>\r\n    <w:lsdException\r\n        w:name="Medium Shading 1 Accent 5"\r\n        w:uiPriority="63"/>\r\n    <w:lsdException\r\n        w:name="Medium Shading 2 Accent 5"\r\n        w:uiPriority="64"/>\r\n    <w:lsdException\r\n        w:name="Medium List 1 Accent 5"\r\n        w:uiPriority="65"/>\r\n    <w:lsdException\r\n        w:name="Medium List 2 Accent 5"\r\n        w:uiPriority="66"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 1 Accent 5"\r\n        w:uiPriority="67"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 2 Accent 5"\r\n        w:uiPriority="68"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 3 Accent 5"\r\n        w:uiPriority="69"/>\r\n    <w:lsdException\r\n        w:name="Dark List Accent 5"\r\n        w:uiPriority="70"/>\r\n    <w:lsdException\r\n        w:name="Colorful Shading Accent 5"\r\n        w:uiPriority="71"/>\r\n    <w:lsdException\r\n        w:name="Colorful List Accent 5"\r\n        w:uiPriority="72"/>\r\n    <w:lsdException\r\n        w:name="Colorful Grid Accent 5"\r\n        w:uiPriority="73"/>\r\n    <w:lsdException\r\n        w:name="Light Shading Accent 6"\r\n        w:uiPriority="60"/>\r\n    <w:lsdException\r\n        w:name="Light List Accent 6"\r\n        w:uiPriority="61"/>\r\n    <w:lsdException\r\n        w:name="Light Grid Accent 6"\r\n        w:uiPriority="62"/>\r\n    <w:lsdException\r\n        w:name="Medium Shading 1 Accent 6"\r\n        w:uiPriority="63"/>\r\n    <w:lsdException\r\n        w:name="Medium Shading 2 Accent 6"\r\n        w:uiPriority="64"/>\r\n    <w:lsdException\r\n        w:name="Medium List 1 Accent 6"\r\n        w:uiPriority="65"/>\r\n    <w:lsdException\r\n        w:name="Medium List 2 Accent 6"\r\n        w:uiPriority="66"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 1 Accent 6"\r\n        w:uiPriority="67"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 2 Accent 6"\r\n        w:uiPriority="68"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 3 Accent 6"\r\n        w:uiPriority="69"/>\r\n    <w:lsdException\r\n        w:name="Dark List Accent 6"\r\n        w:uiPriority="70"/>\r\n    <w:lsdException\r\n        w:name="Colorful Shading Accent 6"\r\n        w:uiPriority="71"/>\r\n    <w:lsdException\r\n        w:name="Colorful List Accent 6"\r\n        w:uiPriority="72"/>\r\n    <w:lsdException\r\n        w:name="Colorful Grid Accent 6"\r\n        w:uiPriority="73"/>\r\n    <w:lsdException\r\n        w:name="Subtle Emphasis"\r\n        w:uiPriority="19"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="Intense Emphasis"\r\n        w:uiPriority="21"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="Subtle Reference"\r\n        w:uiPriority="31"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="Intense Reference"\r\n        w:uiPriority="32"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="Book Title"\r\n        w:uiPriority="33"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="Bibliography"\r\n        w:semiHidden="1"\r\n        w:uiPriority="37"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="TOC Heading"\r\n        w:semiHidden="1"\r\n        w:uiPriority="39"\r\n        w:unhideWhenUsed="1"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="Plain Table 1"\r\n        w:uiPriority="41"/>\r\n    <w:lsdException\r\n        w:name="Plain Table 2"\r\n        w:uiPriority="42"/>\r\n    <w:lsdException\r\n        w:name="Plain Table 3"\r\n        w:uiPriority="43"/>\r\n    <w:lsdException\r\n        w:name="Plain Table 4"\r\n        w:uiPriority="44"/>\r\n    <w:lsdException\r\n        w:name="Plain Table 5"\r\n        w:uiPriority="45"/>\r\n    <w:lsdException\r\n        w:name="Grid Table Light"\r\n        w:uiPriority="40"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 1 Light"\r\n        w:uiPriority="46"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 2"\r\n        w:uiPriority="47"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 3"\r\n        w:uiPriority="48"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 4"\r\n        w:uiPriority="49"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 5 Dark"\r\n        w:uiPriority="50"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 6 Colorful"\r\n        w:uiPriority="51"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 7 Colorful"\r\n        w:uiPriority="52"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 1 Light Accent 1"\r\n        w:uiPriority="46"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 2 Accent 1"\r\n        w:uiPriority="47"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 3 Accent 1"\r\n        w:uiPriority="48"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 4 Accent 1"\r\n        w:uiPriority="49"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 5 Dark Accent 1"\r\n        w:uiPriority="50"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 6 Colorful Accent 1"\r\n        w:uiPriority="51"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 7 Colorful Accent 1"\r\n        w:uiPriority="52"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 1 Light Accent 2"\r\n        w:uiPriority="46"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 2 Accent 2"\r\n        w:uiPriority="47"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 3 Accent 2"\r\n        w:uiPriority="48"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 4 Accent 2"\r\n        w:uiPriority="49"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 5 Dark Accent 2"\r\n        w:uiPriority="50"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 6 Colorful Accent 2"\r\n        w:uiPriority="51"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 7 Colorful Accent 2"\r\n        w:uiPriority="52"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 1 Light Accent 3"\r\n        w:uiPriority="46"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 2 Accent 3"\r\n        w:uiPriority="47"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 3 Accent 3"\r\n        w:uiPriority="48"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 4 Accent 3"\r\n        w:uiPriority="49"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 5 Dark Accent 3"\r\n        w:uiPriority="50"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 6 Colorful Accent 3"\r\n        w:uiPriority="51"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 7 Colorful Accent 3"\r\n        w:uiPriority="52"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 1 Light Accent 4"\r\n        w:uiPriority="46"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 2 Accent 4"\r\n        w:uiPriority="47"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 3 Accent 4"\r\n        w:uiPriority="48"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 4 Accent 4"\r\n        w:uiPriority="49"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 5 Dark Accent 4"\r\n        w:uiPriority="50"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 6 Colorful Accent 4"\r\n        w:uiPriority="51"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 7 Colorful Accent 4"\r\n        w:uiPriority="52"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 1 Light Accent 5"\r\n        w:uiPriority="46"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 2 Accent 5"\r\n        w:uiPriority="47"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 3 Accent 5"\r\n        w:uiPriority="48"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 4 Accent 5"\r\n        w:uiPriority="49"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 5 Dark Accent 5"\r\n        w:uiPriority="50"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 6 Colorful Accent 5"\r\n        w:uiPriority="51"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 7 Colorful Accent 5"\r\n        w:uiPriority="52"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 1 Light Accent 6"\r\n        w:uiPriority="46"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 2 Accent 6"\r\n        w:uiPriority="47"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 3 Accent 6"\r\n        w:uiPriority="48"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 4 Accent 6"\r\n        w:uiPriority="49"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 5 Dark Accent 6"\r\n        w:uiPriority="50"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 6 Colorful Accent 6"\r\n        w:uiPriority="51"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 7 Colorful Accent 6"\r\n        w:uiPriority="52"/>\r\n    <w:lsdException\r\n        w:name="List Table 1 Light"\r\n        w:uiPriority="46"/>\r\n    <w:lsdException\r\n        w:name="List Table 2"\r\n        w:uiPriority="47"/>\r\n    <w:lsdException\r\n        w:name="List Table 3"\r\n        w:uiPriority="48"/>\r\n    <w:lsdException\r\n        w:name="List Table 4"\r\n        w:uiPriority="49"/>\r\n    <w:lsdException\r\n        w:name="List Table 5 Dark"\r\n        w:uiPriority="50"/>\r\n    <w:lsdException\r\n        w:name="List Table 6 Colorful"\r\n        w:uiPriority="51"/>\r\n    <w:lsdException\r\n        w:name="List Table 7 Colorful"\r\n        w:uiPriority="52"/>\r\n    <w:lsdException\r\n        w:name="List Table 1 Light Accent 1"\r\n        w:uiPriority="46"/>\r\n    <w:lsdException\r\n        w:name="List Table 2 Accent 1"\r\n        w:uiPriority="47"/>\r\n    <w:lsdException\r\n        w:name="List Table 3 Accent 1"\r\n        w:uiPriority="48"/>\r\n    <w:lsdException\r\n        w:name="List Table 4 Accent 1"\r\n        w:uiPriority="49"/>\r\n    <w:lsdException\r\n        w:name="List Table 5 Dark Accent 1"\r\n        w:uiPriority="50"/>\r\n    <w:lsdException\r\n        w:name="List Table 6 Colorful Accent 1"\r\n        w:uiPriority="51"/>\r\n    <w:lsdException\r\n        w:name="List Table 7 Colorful Accent 1"\r\n        w:uiPriority="52"/>\r\n    <w:lsdException\r\n        w:name="List Table 1 Light Accent 2"\r\n        w:uiPriority="46"/>\r\n    <w:lsdException\r\n        w:name="List Table 2 Accent 2"\r\n        w:uiPriority="47"/>\r\n    <w:lsdException\r\n        w:name="List Table 3 Accent 2"\r\n        w:uiPriority="48"/>\r\n    <w:lsdException\r\n        w:name="List Table 4 Accent 2"\r\n        w:uiPriority="49"/>\r\n    <w:lsdException\r\n        w:name="List Table 5 Dark Accent 2"\r\n        w:uiPriority="50"/>\r\n    <w:lsdException\r\n        w:name="List Table 6 Colorful Accent 2"\r\n        w:uiPriority="51"/>\r\n    <w:lsdException\r\n        w:name="List Table 7 Colorful Accent 2"\r\n        w:uiPriority="52"/>\r\n    <w:lsdException\r\n        w:name="List Table 1 Light Accent 3"\r\n        w:uiPriority="46"/>\r\n    <w:lsdException\r\n        w:name="List Table 2 Accent 3"\r\n        w:uiPriority="47"/>\r\n    <w:lsdException\r\n        w:name="List Table 3 Accent 3"\r\n        w:uiPriority="48"/>\r\n    <w:lsdException\r\n        w:name="List Table 4 Accent 3"\r\n        w:uiPriority="49"/>\r\n    <w:lsdException\r\n        w:name="List Table 5 Dark Accent 3"\r\n        w:uiPriority="50"/>\r\n    <w:lsdException\r\n        w:name="List Table 6 Colorful Accent 3"\r\n        w:uiPriority="51"/>\r\n    <w:lsdException\r\n        w:name="List Table 7 Colorful Accent 3"\r\n        w:uiPriority="52"/>\r\n    <w:lsdException\r\n        w:name="List Table 1 Light Accent 4"\r\n        w:uiPriority="46"/>\r\n    <w:lsdException\r\n        w:name="List Table 2 Accent 4"\r\n        w:uiPriority="47"/>\r\n    <w:lsdException\r\n        w:name="List Table 3 Accent 4"\r\n        w:uiPriority="48"/>\r\n    <w:lsdException\r\n        w:name="List Table 4 Accent 4"\r\n        w:uiPriority="49"/>\r\n    <w:lsdException\r\n        w:name="List Table 5 Dark Accent 4"\r\n        w:uiPriority="50"/>\r\n    <w:lsdException\r\n        w:name="List Table 6 Colorful Accent 4"\r\n        w:uiPriority="51"/>\r\n    <w:lsdException\r\n        w:name="List Table 7 Colorful Accent 4"\r\n        w:uiPriority="52"/>\r\n    <w:lsdException\r\n        w:name="List Table 1 Light Accent 5"\r\n        w:uiPriority="46"/>\r\n    <w:lsdException\r\n        w:name="List Table 2 Accent 5"\r\n        w:uiPriority="47"/>\r\n    <w:lsdException\r\n        w:name="List Table 3 Accent 5"\r\n        w:uiPriority="48"/>\r\n    <w:lsdException\r\n        w:name="List Table 4 Accent 5"\r\n        w:uiPriority="49"/>\r\n    <w:lsdException\r\n        w:name="List Table 5 Dark Accent 5"\r\n        w:uiPriority="50"/>\r\n    <w:lsdException\r\n        w:name="List Table 6 Colorful Accent 5"\r\n        w:uiPriority="51"/>\r\n    <w:lsdException\r\n        w:name="List Table 7 Colorful Accent 5"\r\n        w:uiPriority="52"/>\r\n    <w:lsdException\r\n        w:name="List Table 1 Light Accent 6"\r\n        w:uiPriority="46"/>\r\n    <w:lsdException\r\n        w:name="List Table 2 Accent 6"\r\n        w:uiPriority="47"/>\r\n    <w:lsdException\r\n        w:name="List Table 3 Accent 6"\r\n        w:uiPriority="48"/>\r\n    <w:lsdException\r\n        w:name="List Table 4 Accent 6"\r\n        w:uiPriority="49"/>\r\n    <w:lsdException\r\n        w:name="List Table 5 Dark Accent 6"\r\n        w:uiPriority="50"/>\r\n    <w:lsdException\r\n        w:name="List Table 6 Colorful Accent 6"\r\n        w:uiPriority="51"/>\r\n    <w:lsdException\r\n        w:name="List Table 7 Colorful Accent 6"\r\n        w:uiPriority="52"/>\r\n    <w:lsdException\r\n        w:name="Mention"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Smart Hyperlink"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Hashtag"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Unresolved Mention"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Smart Link"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n  </w:latentStyles>\r\n  <w:style\r\n      w:type="paragraph"\r\n      w:default="1"\r\n      w:styleId="Normal">\r\n    <w:name w:val="Normal"/>\r\n    <w:qFormat/>\r\n    <w:pPr>\r\n      <w:spacing\r\n          w:before="75"\r\n          w:after="75"/>\r\n    </w:pPr>\r\n  </w:style>\r\n  <w:style\r\n      w:type="paragraph"\r\n      w:styleId="Heading1">\r\n    <w:name w:val="heading 1"/>\r\n    <w:basedOn w:val="Normal"/>\r\n    <w:next w:val="Normal"/>\r\n    <w:uiPriority w:val="9"/>\r\n    <w:qFormat/>\r\n    <w:pPr>\r\n      <w:keepNext/>\r\n      <w:keepLines/>\r\n      <w:spacing\r\n          w:before="400"\r\n          w:after="120"/>\r\n      <w:outlineLvl w:val="0"/>\r\n    </w:pPr>\r\n    <w:rPr>\r\n      <w:sz w:val="40"/>\r\n      <w:szCs w:val="40"/>\r\n    </w:rPr>\r\n  </w:style>\r\n  <w:style\r\n      w:type="paragraph"\r\n      w:styleId="Heading2">\r\n    <w:name w:val="heading 2"/>\r\n    <w:basedOn w:val="Normal"/>\r\n    <w:next w:val="Normal"/>\r\n    <w:uiPriority w:val="9"/>\r\n    <w:unhideWhenUsed/>\r\n    <w:qFormat/>\r\n    <w:pPr>\r\n      <w:keepNext/>\r\n      <w:keepLines/>\r\n      <w:spacing\r\n          w:before="360"\r\n          w:after="120"/>\r\n      <w:outlineLvl w:val="1"/>\r\n    </w:pPr>\r\n    <w:rPr>\r\n      <w:sz w:val="32"/>\r\n      <w:szCs w:val="32"/>\r\n    </w:rPr>\r\n  </w:style>\r\n  <w:style\r\n      w:type="paragraph"\r\n      w:styleId="Heading3">\r\n    <w:name w:val="heading 3"/>\r\n    <w:basedOn w:val="Normal"/>\r\n    <w:next w:val="Normal"/>\r\n    <w:uiPriority w:val="9"/>\r\n    <w:unhideWhenUsed/>\r\n    <w:qFormat/>\r\n    <w:pPr>\r\n      <w:keepNext/>\r\n      <w:keepLines/>\r\n      <w:spacing\r\n          w:before="320"\r\n          w:after="80"/>\r\n      <w:outlineLvl w:val="2"/>\r\n    </w:pPr>\r\n    <w:rPr>\r\n      <w:color w:val="434343"/>\r\n      <w:sz w:val="28"/>\r\n      <w:szCs w:val="28"/>\r\n    </w:rPr>\r\n  </w:style>\r\n  <w:style\r\n      w:type="paragraph"\r\n      w:styleId="Heading4">\r\n    <w:name w:val="heading 4"/>\r\n    <w:basedOn w:val="Normal"/>\r\n    <w:next w:val="Normal"/>\r\n    <w:uiPriority w:val="9"/>\r\n    <w:unhideWhenUsed/>\r\n    <w:qFormat/>\r\n    <w:pPr>\r\n      <w:keepNext/>\r\n      <w:keepLines/>\r\n      <w:spacing\r\n          w:before="280"\r\n          w:after="80"/>\r\n      <w:outlineLvl w:val="3"/>\r\n    </w:pPr>\r\n    <w:rPr>\r\n      <w:color w:val="666666"/>\r\n      <w:sz w:val="24"/>\r\n      <w:szCs w:val="24"/>\r\n    </w:rPr>\r\n  </w:style>\r\n  <w:style\r\n      w:type="paragraph"\r\n      w:styleId="Heading5">\r\n    <w:name w:val="heading 5"/>\r\n    <w:basedOn w:val="Normal"/>\r\n    <w:next w:val="Normal"/>\r\n    <w:uiPriority w:val="9"/>\r\n    <w:unhideWhenUsed/>\r\n    <w:qFormat/>\r\n    <w:pPr>\r\n      <w:keepNext/>\r\n      <w:keepLines/>\r\n      <w:spacing\r\n          w:before="240"\r\n          w:after="80"/>\r\n      <w:outlineLvl w:val="4"/>\r\n    </w:pPr>\r\n    <w:rPr>\r\n      <w:color w:val="666666"/>\r\n    </w:rPr>\r\n  </w:style>\r\n  <w:style\r\n      w:type="paragraph"\r\n      w:styleId="Heading6">\r\n    <w:name w:val="heading 6"/>\r\n    <w:basedOn w:val="Normal"/>\r\n    <w:next w:val="Normal"/>\r\n    <w:uiPriority w:val="9"/>\r\n    <w:unhideWhenUsed/>\r\n    <w:qFormat/>\r\n    <w:pPr>\r\n      <w:keepNext/>\r\n      <w:keepLines/>\r\n      <w:spacing\r\n          w:before="240"\r\n          w:after="80"/>\r\n      <w:outlineLvl w:val="5"/>\r\n    </w:pPr>\r\n    <w:rPr>\r\n      <w:i/>\r\n      <w:color w:val="666666"/>\r\n    </w:rPr>\r\n  </w:style>\r\n  <w:style\r\n      w:type="character"\r\n      w:default="1"\r\n      w:styleId="DefaultParagraphFont">\r\n    <w:name w:val="Default Paragraph Font"/>\r\n    <w:uiPriority w:val="1"/>\r\n    <w:semiHidden/>\r\n    <w:unhideWhenUsed/>\r\n  </w:style>\r\n  <w:style w:type="character" w:styleId="Hyperlink">\r\n    <w:name w:val="Hyperlink"/>\r\n    <w:uiPriority w:val="99"/>\r\n    <w:unhideWhenUsed/>\r\n    <w:rPr>\r\n        <w:color w:val="0563C1"/>\r\n        <w:u w:val="single"/>\r\n    </w:rPr>\r\n  </w:style>\r\n  <w:style\r\n      w:type="numbering"\r\n      w:default="1"\r\n      w:styleId="NoList">\r\n    <w:name w:val="No List"/>\r\n    <w:uiPriority w:val="99"/>\r\n    <w:semiHidden/>\r\n    <w:unhideWhenUsed/>\r\n  </w:style>\r\n  <w:style\r\n      w:type="paragraph"\r\n      w:styleId="Title">\r\n    <w:name w:val="Title"/>\r\n    <w:basedOn w:val="Normal"/>\r\n    <w:next w:val="Normal"/>\r\n    <w:uiPriority w:val="10"/>\r\n    <w:qFormat/>\r\n    <w:pPr>\r\n      <w:keepNext/>\r\n      <w:keepLines/>\r\n      <w:spacing w:after="60"/>\r\n    </w:pPr>\r\n    <w:rPr>\r\n      <w:sz w:val="52"/>\r\n      <w:szCs w:val="52"/>\r\n    </w:rPr>\r\n  </w:style>\r\n  <w:style\r\n      w:type="paragraph"\r\n      w:styleId="Subtitle">\r\n    <w:name w:val="Subtitle"/>\r\n    <w:basedOn w:val="Normal"/>\r\n    <w:next w:val="Normal"/>\r\n    <w:uiPriority w:val="11"/>\r\n    <w:qFormat/>\r\n    <w:pPr>\r\n      <w:keepNext/>\r\n      <w:keepLines/>\r\n      <w:spacing w:after="320"/>\r\n    </w:pPr>\r\n    <w:rPr>\r\n      <w:color w:val="666666"/>\r\n      <w:sz w:val="30"/>\r\n      <w:szCs w:val="30"/>\r\n    </w:rPr>\r\n  </w:style>\r\n  <w:style\r\n      w:type="table"\r\n      w:customStyle="1"\r\n      w:styleId="PageBlock">\r\n    <w:name w:val="PageBlock"/>\r\n    <w:uiPriority w:val="99"/>\r\n    <w:rsid w:val="00C67FF9"/>\r\n    <w:pPr>\r\n      <w:spacing\r\n          w:line="240"\r\n          w:lineRule="auto"/>\r\n    </w:pPr>\r\n    <w:tblPr>\r\n      <w:tblInd\r\n          w:w="0"\r\n          w:type="dxa"/>\r\n      <w:tblBorders>\r\n        <w:top\r\n            w:val="single"\r\n            w:sz="4"\r\n            w:space="0"\r\n            w:color="auto"/>\r\n        <w:left\r\n            w:val="single"\r\n            w:sz="4"\r\n            w:space="0"\r\n            w:color="auto"/>\r\n        <w:bottom\r\n            w:val="single"\r\n            w:sz="4"\r\n            w:space="0"\r\n            w:color="auto"/>\r\n        <w:right\r\n            w:val="single"\r\n            w:sz="4"\r\n            w:space="0"\r\n            w:color="auto"/>\r\n        <w:insideH\r\n            w:val="single"\r\n            w:sz="4"\r\n            w:space="0"\r\n            w:color="auto"/>\r\n        <w:insideV\r\n            w:val="single"\r\n            w:sz="4"\r\n            w:space="0"\r\n            w:color="auto"/>\r\n      </w:tblBorders>\r\n      <w:tblCellMar>\r\n        <w:top\r\n            w:w="113"\r\n            w:type="dxa"/>\r\n        <w:left\r\n            w:w="113"\r\n            w:type="dxa"/>\r\n        <w:bottom\r\n            w:w="113"\r\n            w:type="dxa"/>\r\n        <w:right\r\n            w:w="113"\r\n            w:type="dxa"/>\r\n      </w:tblCellMar>\r\n    </w:tblPr>\r\n    <w:tcPr>\r\n      <w:tcMar>\r\n        <w:top\r\n            w:w="113"\r\n            w:type="dxa"/>\r\n        <w:bottom\r\n            w:w="113"\r\n            w:type="dxa"/>\r\n      </w:tcMar>\r\n    </w:tcPr>\r\n    <w:tblStylePr w:type="firstRow">\r\n      <w:pPr>\r\n        <w:jc w:val="left"/>\r\n      </w:pPr>\r\n      <w:rPr>\r\n        <w:rFonts\r\n            w:ascii="Arial"\r\n            w:hAnsi="Arial"/>\r\n        <w:b/>\r\n        <w:bCs/>\r\n        <w:color w:val="auto"/>\r\n        <w:sz w:val="22"/>\r\n      </w:rPr>\r\n      <w:tblPr/>\r\n      <w:tcPr>\r\n        <w:tcBorders>\r\n          <w:top\r\n              w:val="single"\r\n              w:sz="4"\r\n              w:space="0"\r\n              w:color="auto"/>\r\n          <w:left\r\n              w:val="single"\r\n              w:sz="4"\r\n              w:space="0"\r\n              w:color="auto"/>\r\n          <w:bottom\r\n              w:val="single"\r\n              w:sz="4"\r\n              w:space="0"\r\n              w:color="auto"/>\r\n          <w:right\r\n              w:val="single"\r\n              w:sz="4"\r\n              w:space="0"\r\n              w:color="auto"/>\r\n          <w:insideH\r\n              w:val="single"\r\n              w:sz="4"\r\n              w:space="0"\r\n              w:color="auto"/>\r\n          <w:insideV\r\n              w:val="single"\r\n              w:sz="4"\r\n              w:space="0"\r\n              w:color="auto"/>\r\n          <w:tl2br w:val="nil"/>\r\n          <w:tr2bl w:val="nil"/>\r\n        </w:tcBorders>\r\n        <w:shd\r\n            w:val="clear"\r\n            w:color="auto"\r\n            w:fill="F4CCCD"/>\r\n      </w:tcPr>\r\n    </w:tblStylePr>\r\n  </w:style>\r\n  <w:style\r\n      w:type="character"\r\n      w:styleId="HTMLCode">\r\n    <w:name w:val="HTML Code"/>\r\n    <w:basedOn w:val="DefaultParagraphFont"/>\r\n    <w:uiPriority w:val="99"/>\r\n    <w:unhideWhenUsed/>\r\n    <w:rsid w:val="009F323F"/>\r\n    <w:rPr>\r\n      <w:rFonts\r\n          w:ascii="Consolas"\r\n          w:hAnsi="Consolas"\r\n          w:cs="Consolas"/>\r\n      <w:sz w:val="20"/>\r\n      <w:szCs w:val="20"/>\r\n    </w:rPr>\r\n  </w:style>\r\n  <w:style\r\n      w:type="paragraph"\r\n      w:customStyle="1"\r\n      w:styleId="CodeBlock">\r\n    <w:name w:val="Code Block"/>\r\n    <w:basedOn w:val="Normal"/>\r\n    <w:next w:val="Normal"/>\r\n    <w:qFormat/>\r\n    <w:rsid w:val="00A01F4A"/>\r\n    <w:rPr>\r\n      <w:rFonts\r\n          w:ascii="Courier New"\r\n          w:hAnsi="Courier New"/>\r\n    </w:rPr>\r\n  </w:style>\r\n  <w:style\r\n      w:type="paragraph"\r\n      w:styleId="Quote">\r\n    <w:name w:val="Quote"/>\r\n    <w:basedOn w:val="Normal"/>\r\n    <w:next w:val="Normal"/>\r\n    <w:link w:val="QuoteChar"/>\r\n    <w:uiPriority w:val="29"/>\r\n    <w:qFormat/>\r\n    <w:rsid w:val="009F323F"/>\r\n    <w:pPr>\r\n      <w:spacing\r\n          w:before="200"\r\n          w:after="160"/>\r\n      <w:ind\r\n          w:left="864"\r\n          w:right="864"/>\r\n      <w:jc w:val="center"/>\r\n    </w:pPr>\r\n    <w:rPr>\r\n      <w:i/>\r\n      <w:iCs/>\r\n      <w:color\r\n          w:val="404040"\r\n          w:themeColor="text1"\r\n          w:themeTint="BF"/>\r\n    </w:rPr>\r\n  </w:style>\r\n  <w:style\r\n      w:type="character"\r\n      w:customStyle="1"\r\n      w:styleId="QuoteChar">\r\n    <w:name w:val="Quote Char"/>\r\n    <w:basedOn w:val="DefaultParagraphFont"/>\r\n    <w:link w:val="Quote"/>\r\n    <w:uiPriority w:val="29"/>\r\n    <w:rsid w:val="009F323F"/>\r\n    <w:rPr>\r\n      <w:i/>\r\n      <w:iCs/>\r\n      <w:color\r\n          w:val="404040"\r\n          w:themeColor="text1"\r\n          w:themeTint="BF"/>\r\n    </w:rPr>\r\n  </w:style>\r\n  <w:style\r\n      w:type="character"\r\n      w:customStyle="1"\r\n      w:styleId="InlineCode">\r\n    <w:name w:val="InlineCode"/>\r\n    <w:basedOn w:val="DefaultParagraphFont"/>\r\n    <w:uiPriority w:val="1"/>\r\n    <w:qFormat/>\r\n    <w:rsid w:val="00A01F4A"/>\r\n    <w:rPr>\r\n      <w:rFonts\r\n          w:ascii="Courier New"\r\n          w:hAnsi="Courier New"/>\r\n      <w:color w:val="auto"/>\r\n      <w:sz w:val="22"/>\r\n      <w:bdr\r\n          w:val="none"\r\n          w:sz="0"\r\n          w:space="0"\r\n          w:color="auto"/>\r\n      <w:shd\r\n          w:val="clear"\r\n          w:color="auto"\r\n          w:fill="BFBFBF"\r\n          w:themeFill="background1"\r\n          w:themeFillShade="BF"/>\r\n      <w:lang w:val="en-CH"/>\r\n    </w:rPr>\r\n  </w:style>\r\n</w:styles>',image2png:async({src:t,data:e,type:n})=>{const r=new Image,i=new Blob([e],{type:n});r.src=URL.createObjectURL(i),r.crossOrigin="anonymous",await r.decode();let o=r.naturalWidth,a=r.naturalHeight;if("image/svg+xml"===n){const t=new DOMParser,n=e.toString("utf-8"),i=t.parseFromString(n,"text/html").querySelector("svg"),s=i?.getAttribute("viewBox");if(s){const[,,t,e]=s.split(" ").map(Number);(t>r.naturalWidth||e>r.naturalHeight)&&(o=t,a=e)}}o=Math.round(o),a=Math.round(a);const s=new OffscreenCanvas(o,a),l=s.getContext("2d");try{return l.drawImage(r,0,0),{data:(await s.convertToBlob()).arrayBuffer(),width:o,height:a,type:"image/png"}}catch(e){return console.warn(`Cannot convert image ${t} to png. It might corrupt the Word document and you should probably remove it from the DOM.`),null}}};async function kx(t,e,n,r){return async function(t,e,n,r,i={}){let o=e;return"string"==typeof o&&(o=HM(e,r)),jM(t,o,n,{...r,toMd:!0,toDocx:!1},i)}(t,e,n,Sx,r)}async function Cx(t,e,n,r){return async function(t,e,n,r,i={}){let o=e;return"string"==typeof o&&(o=HM(e,r)),jM(t,o,n,{...r,toMd:!0,toDocx:!0},i)}(t,e,n,Sx,r)}})(),r})()));
\ No newline at end of file
+!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.WebImporter=e():t.WebImporter=e()}(globalThis,(()=>(()=>{var t={7568:(t,e,n)=>{"use strict";const r=e;r.bignum=n(2344),r.define=n(7363).define,r.base=n(9673),r.constants=n(2153),r.decoders=n(2853),r.encoders=n(4669)},7363:(t,e,n)=>{"use strict";const r=n(4669),i=n(2853),o=n(6698);function a(t,e){this.name=t,this.body=e,this.decoders={},this.encoders={}}e.define=function(t,e){return new a(t,e)},a.prototype._createNamed=function(t){const e=this.name;function n(t){this._initNamed(t,e)}return o(n,t),n.prototype._initNamed=function(e,n){t.call(this,e,n)},new n(this)},a.prototype._getDecoder=function(t){return t=t||"der",this.decoders.hasOwnProperty(t)||(this.decoders[t]=this._createNamed(i[t])),this.decoders[t]},a.prototype.decode=function(t,e,n){return this._getDecoder(e).decode(t,n)},a.prototype._getEncoder=function(t){return t=t||"der",this.encoders.hasOwnProperty(t)||(this.encoders[t]=this._createNamed(r[t])),this.encoders[t]},a.prototype.encode=function(t,e,n){return this._getEncoder(e).encode(t,n)}},7227:(t,e,n)=>{"use strict";const r=n(6698),i=n(9220).a,o=n(4774).Buffer;function a(t,e){i.call(this,e),o.isBuffer(t)?(this.base=t,this.offset=0,this.length=t.length):this.error("Input not Buffer")}function s(t,e){if(Array.isArray(t))this.length=0,this.value=t.map((function(t){return s.isEncoderBuffer(t)||(t=new s(t,e)),this.length+=t.length,t}),this);else if("number"==typeof t){if(!(0<=t&&t<=255))return e.error("non-byte EncoderBuffer value");this.value=t,this.length=1}else if("string"==typeof t)this.value=t,this.length=o.byteLength(t);else{if(!o.isBuffer(t))return e.error("Unsupported type: "+typeof t);this.value=t,this.length=t.length}}r(a,i),e.t=a,a.isDecoderBuffer=function(t){return t instanceof a||"object"==typeof t&&o.isBuffer(t.base)&&"DecoderBuffer"===t.constructor.name&&"number"==typeof t.offset&&"number"==typeof t.length&&"function"==typeof t.save&&"function"==typeof t.restore&&"function"==typeof t.isEmpty&&"function"==typeof t.readUInt8&&"function"==typeof t.skip&&"function"==typeof t.raw},a.prototype.save=function(){return{offset:this.offset,reporter:i.prototype.save.call(this)}},a.prototype.restore=function(t){const e=new a(this.base);return e.offset=t.offset,e.length=this.offset,this.offset=t.offset,i.prototype.restore.call(this,t.reporter),e},a.prototype.isEmpty=function(){return this.offset===this.length},a.prototype.readUInt8=function(t){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(t||"DecoderBuffer overrun")},a.prototype.skip=function(t,e){if(!(this.offset+t<=this.length))return this.error(e||"DecoderBuffer overrun");const n=new a(this.base);return n._reporterState=this._reporterState,n.offset=this.offset,n.length=this.offset+t,this.offset+=t,n},a.prototype.raw=function(t){return this.base.slice(t?t.offset:this.offset,this.length)},e.d=s,s.isEncoderBuffer=function(t){return t instanceof s||"object"==typeof t&&"EncoderBuffer"===t.constructor.name&&"number"==typeof t.length&&"function"==typeof t.join},s.prototype.join=function(t,e){return t||(t=o.alloc(this.length)),e||(e=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(n){n.join(t,e),e+=n.length})):("number"==typeof this.value?t[e]=this.value:"string"==typeof this.value?t.write(this.value,e):o.isBuffer(this.value)&&this.value.copy(t,e),e+=this.length)),t}},9673:(t,e,n)=>{"use strict";const r=e;r.Reporter=n(9220).a,r.DecoderBuffer=n(7227).t,r.EncoderBuffer=n(7227).d,r.Node=n(993)},993:(t,e,n)=>{"use strict";const r=n(9220).a,i=n(7227).d,o=n(7227).t,a=n(3349),s=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],l=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(s);function c(t,e,n){const r={};this._baseState=r,r.name=n,r.enc=t,r.parent=e||null,r.children=null,r.tag=null,r.args=null,r.reverseArgs=null,r.choice=null,r.optional=!1,r.any=!1,r.obj=!1,r.use=null,r.useDecoder=null,r.key=null,r.default=null,r.explicit=null,r.implicit=null,r.contains=null,r.parent||(r.children=[],this._wrap())}t.exports=c;const u=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];c.prototype.clone=function(){const t=this._baseState,e={};u.forEach((function(n){e[n]=t[n]}));const n=new this.constructor(e.parent);return n._baseState=e,n},c.prototype._wrap=function(){const t=this._baseState;l.forEach((function(e){this[e]=function(){const n=new this.constructor(this);return t.children.push(n),n[e].apply(n,arguments)}}),this)},c.prototype._init=function(t){const e=this._baseState;a(null===e.parent),t.call(this),e.children=e.children.filter((function(t){return t._baseState.parent===this}),this),a.equal(e.children.length,1,"Root node can have only one child")},c.prototype._useArgs=function(t){const e=this._baseState,n=t.filter((function(t){return t instanceof this.constructor}),this);t=t.filter((function(t){return!(t instanceof this.constructor)}),this),0!==n.length&&(a(null===e.children),e.children=n,n.forEach((function(t){t._baseState.parent=this}),this)),0!==t.length&&(a(null===e.args),e.args=t,e.reverseArgs=t.map((function(t){if("object"!=typeof t||t.constructor!==Object)return t;const e={};return Object.keys(t).forEach((function(n){n==(0|n)&&(n|=0);const r=t[n];e[r]=n})),e})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(t){c.prototype[t]=function(){const e=this._baseState;throw new Error(t+" not implemented for encoding: "+e.enc)}})),s.forEach((function(t){c.prototype[t]=function(){const e=this._baseState,n=Array.prototype.slice.call(arguments);return a(null===e.tag),e.tag=t,this._useArgs(n),this}})),c.prototype.use=function(t){a(t);const e=this._baseState;return a(null===e.use),e.use=t,this},c.prototype.optional=function(){return this._baseState.optional=!0,this},c.prototype.def=function(t){const e=this._baseState;return a(null===e.default),e.default=t,e.optional=!0,this},c.prototype.explicit=function(t){const e=this._baseState;return a(null===e.explicit&&null===e.implicit),e.explicit=t,this},c.prototype.implicit=function(t){const e=this._baseState;return a(null===e.explicit&&null===e.implicit),e.implicit=t,this},c.prototype.obj=function(){const t=this._baseState,e=Array.prototype.slice.call(arguments);return t.obj=!0,0!==e.length&&this._useArgs(e),this},c.prototype.key=function(t){const e=this._baseState;return a(null===e.key),e.key=t,this},c.prototype.any=function(){return this._baseState.any=!0,this},c.prototype.choice=function(t){const e=this._baseState;return a(null===e.choice),e.choice=t,this._useArgs(Object.keys(t).map((function(e){return t[e]}))),this},c.prototype.contains=function(t){const e=this._baseState;return a(null===e.use),e.contains=t,this},c.prototype._decode=function(t,e){const n=this._baseState;if(null===n.parent)return t.wrapResult(n.children[0]._decode(t,e));let r,i=n.default,a=!0,s=null;if(null!==n.key&&(s=t.enterKey(n.key)),n.optional){let r=null;if(null!==n.explicit?r=n.explicit:null!==n.implicit?r=n.implicit:null!==n.tag&&(r=n.tag),null!==r||n.any){if(a=this._peekTag(t,r,n.any),t.isError(a))return a}else{const r=t.save();try{null===n.choice?this._decodeGeneric(n.tag,t,e):this._decodeChoice(t,e),a=!0}catch(t){a=!1}t.restore(r)}}if(n.obj&&a&&(r=t.enterObject()),a){if(null!==n.explicit){const e=this._decodeTag(t,n.explicit);if(t.isError(e))return e;t=e}const r=t.offset;if(null===n.use&&null===n.choice){let e;n.any&&(e=t.save());const r=this._decodeTag(t,null!==n.implicit?n.implicit:n.tag,n.any);if(t.isError(r))return r;n.any?i=t.raw(e):t=r}if(e&&e.track&&null!==n.tag&&e.track(t.path(),r,t.length,"tagged"),e&&e.track&&null!==n.tag&&e.track(t.path(),t.offset,t.length,"content"),n.any||(i=null===n.choice?this._decodeGeneric(n.tag,t,e):this._decodeChoice(t,e)),t.isError(i))return i;if(n.any||null!==n.choice||null===n.children||n.children.forEach((function(n){n._decode(t,e)})),n.contains&&("octstr"===n.tag||"bitstr"===n.tag)){const r=new o(i);i=this._getUse(n.contains,t._reporterState.obj)._decode(r,e)}}return n.obj&&a&&(i=t.leaveObject(r)),null===n.key||null===i&&!0!==a?null!==s&&t.exitKey(s):t.leaveKey(s,n.key,i),i},c.prototype._decodeGeneric=function(t,e,n){const r=this._baseState;return"seq"===t||"set"===t?null:"seqof"===t||"setof"===t?this._decodeList(e,t,r.args[0],n):/str$/.test(t)?this._decodeStr(e,t,n):"objid"===t&&r.args?this._decodeObjid(e,r.args[0],r.args[1],n):"objid"===t?this._decodeObjid(e,null,null,n):"gentime"===t||"utctime"===t?this._decodeTime(e,t,n):"null_"===t?this._decodeNull(e,n):"bool"===t?this._decodeBool(e,n):"objDesc"===t?this._decodeStr(e,t,n):"int"===t||"enum"===t?this._decodeInt(e,r.args&&r.args[0],n):null!==r.use?this._getUse(r.use,e._reporterState.obj)._decode(e,n):e.error("unknown tag: "+t)},c.prototype._getUse=function(t,e){const n=this._baseState;return n.useDecoder=this._use(t,e),a(null===n.useDecoder._baseState.parent),n.useDecoder=n.useDecoder._baseState.children[0],n.implicit!==n.useDecoder._baseState.implicit&&(n.useDecoder=n.useDecoder.clone(),n.useDecoder._baseState.implicit=n.implicit),n.useDecoder},c.prototype._decodeChoice=function(t,e){const n=this._baseState;let r=null,i=!1;return Object.keys(n.choice).some((function(o){const a=t.save(),s=n.choice[o];try{const n=s._decode(t,e);if(t.isError(n))return!1;r={type:o,value:n},i=!0}catch(e){return t.restore(a),!1}return!0}),this),i?r:t.error("Choice not matched")},c.prototype._createEncoderBuffer=function(t){return new i(t,this.reporter)},c.prototype._encode=function(t,e,n){const r=this._baseState;if(null!==r.default&&r.default===t)return;const i=this._encodeValue(t,e,n);return void 0===i||this._skipDefault(i,e,n)?void 0:i},c.prototype._encodeValue=function(t,e,n){const i=this._baseState;if(null===i.parent)return i.children[0]._encode(t,e||new r);let o=null;if(this.reporter=e,i.optional&&void 0===t){if(null===i.default)return;t=i.default}let a=null,s=!1;if(i.any)o=this._createEncoderBuffer(t);else if(i.choice)o=this._encodeChoice(t,e);else if(i.contains)a=this._getUse(i.contains,n)._encode(t,e),s=!0;else if(i.children)a=i.children.map((function(n){if("null_"===n._baseState.tag)return n._encode(null,e,t);if(null===n._baseState.key)return e.error("Child should have a key");const r=e.enterKey(n._baseState.key);if("object"!=typeof t)return e.error("Child expected, but input is not object");const i=n._encode(t[n._baseState.key],e,t);return e.leaveKey(r),i}),this).filter((function(t){return t})),a=this._createEncoderBuffer(a);else if("seqof"===i.tag||"setof"===i.tag){if(!i.args||1!==i.args.length)return e.error("Too many args for : "+i.tag);if(!Array.isArray(t))return e.error("seqof/setof, but data is not Array");const n=this.clone();n._baseState.implicit=null,a=this._createEncoderBuffer(t.map((function(n){const r=this._baseState;return this._getUse(r.args[0],t)._encode(n,e)}),n))}else null!==i.use?o=this._getUse(i.use,n)._encode(t,e):(a=this._encodePrimitive(i.tag,t),s=!0);if(!i.any&&null===i.choice){const t=null!==i.implicit?i.implicit:i.tag,n=null===i.implicit?"universal":"context";null===t?null===i.use&&e.error("Tag could be omitted only for .use()"):null===i.use&&(o=this._encodeComposite(t,s,n,a))}return null!==i.explicit&&(o=this._encodeComposite(i.explicit,!1,"context",o)),o},c.prototype._encodeChoice=function(t,e){const n=this._baseState,r=n.choice[t.type];return r||a(!1,t.type+" not found in "+JSON.stringify(Object.keys(n.choice))),r._encode(t.value,e)},c.prototype._encodePrimitive=function(t,e){const n=this._baseState;if(/str$/.test(t))return this._encodeStr(e,t);if("objid"===t&&n.args)return this._encodeObjid(e,n.reverseArgs[0],n.args[1]);if("objid"===t)return this._encodeObjid(e,null,null);if("gentime"===t||"utctime"===t)return this._encodeTime(e,t);if("null_"===t)return this._encodeNull();if("int"===t||"enum"===t)return this._encodeInt(e,n.args&&n.reverseArgs[0]);if("bool"===t)return this._encodeBool(e);if("objDesc"===t)return this._encodeStr(e,t);throw new Error("Unsupported tag: "+t)},c.prototype._isNumstr=function(t){return/^[0-9 ]*$/.test(t)},c.prototype._isPrintstr=function(t){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(t)}},9220:(t,e,n)=>{"use strict";const r=n(6698);function i(t){this._reporterState={obj:null,path:[],options:t||{},errors:[]}}function o(t,e){this.path=t,this.rethrow(e)}e.a=i,i.prototype.isError=function(t){return t instanceof o},i.prototype.save=function(){const t=this._reporterState;return{obj:t.obj,pathLen:t.path.length}},i.prototype.restore=function(t){const e=this._reporterState;e.obj=t.obj,e.path=e.path.slice(0,t.pathLen)},i.prototype.enterKey=function(t){return this._reporterState.path.push(t)},i.prototype.exitKey=function(t){const e=this._reporterState;e.path=e.path.slice(0,t-1)},i.prototype.leaveKey=function(t,e,n){const r=this._reporterState;this.exitKey(t),null!==r.obj&&(r.obj[e]=n)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){const t=this._reporterState,e=t.obj;return t.obj={},e},i.prototype.leaveObject=function(t){const e=this._reporterState,n=e.obj;return e.obj=t,n},i.prototype.error=function(t){let e;const n=this._reporterState,r=t instanceof o;if(e=r?t:new o(n.path.map((function(t){return"["+JSON.stringify(t)+"]"})).join(""),t.message||t,t.stack),!n.options.partial)throw e;return r||n.errors.push(e),e},i.prototype.wrapResult=function(t){const e=this._reporterState;return e.options.partial?{result:this.isError(t)?null:t,errors:e.errors}:t},r(o,Error),o.prototype.rethrow=function(t){if(this.message=t+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,o),!this.stack)try{throw new Error(this.message)}catch(t){this.stack=t.stack}return this}},4598:(t,e)=>{"use strict";function n(t){const e={};return Object.keys(t).forEach((function(n){(0|n)==n&&(n|=0);const r=t[n];e[r]=n})),e}e.tagClass={0:"universal",1:"application",2:"context",3:"private"},e.tagClassByName=n(e.tagClass),e.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},e.tagByName=n(e.tag)},2153:(t,e,n)=>{"use strict";const r=e;r._reverse=function(t){const e={};return Object.keys(t).forEach((function(n){(0|n)==n&&(n|=0);const r=t[n];e[r]=n})),e},r.der=n(4598)},2010:(t,e,n)=>{"use strict";const r=n(6698),i=n(2344),o=n(7227).t,a=n(993),s=n(4598);function l(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new c,this.tree._init(t.body)}function c(t){a.call(this,"der",t)}function u(t,e){let n=t.readUInt8(e);if(t.isError(n))return n;const r=s.tagClass[n>>6],i=0==(32&n);if(31==(31&n)){let r=n;for(n=0;128==(128&r);){if(r=t.readUInt8(e),t.isError(r))return r;n<<=7,n|=127&r}}else n&=31;return{cls:r,primitive:i,tag:n,tagStr:s.tag[n]}}function h(t,e,n){let r=t.readUInt8(n);if(t.isError(r))return r;if(!e&&128===r)return null;if(0==(128&r))return r;const i=127&r;if(i>4)return t.error("length octect is too long");r=0;for(let e=0;e<i;e++){r<<=8;const e=t.readUInt8(n);if(t.isError(e))return e;r|=e}return r}t.exports=l,l.prototype.decode=function(t,e){return o.isDecoderBuffer(t)||(t=new o(t,e)),this.tree._decode(t,e)},r(c,a),c.prototype._peekTag=function(t,e,n){if(t.isEmpty())return!1;const r=t.save(),i=u(t,'Failed to peek tag: "'+e+'"');return t.isError(i)?i:(t.restore(r),i.tag===e||i.tagStr===e||i.tagStr+"of"===e||n)},c.prototype._decodeTag=function(t,e,n){const r=u(t,'Failed to decode tag of "'+e+'"');if(t.isError(r))return r;let i=h(t,r.primitive,'Failed to get length of "'+e+'"');if(t.isError(i))return i;if(!n&&r.tag!==e&&r.tagStr!==e&&r.tagStr+"of"!==e)return t.error('Failed to match tag: "'+e+'"');if(r.primitive||null!==i)return t.skip(i,'Failed to match body of: "'+e+'"');const o=t.save(),a=this._skipUntilEnd(t,'Failed to skip indefinite length body: "'+this.tag+'"');return t.isError(a)?a:(i=t.offset-o.offset,t.restore(o),t.skip(i,'Failed to match body of: "'+e+'"'))},c.prototype._skipUntilEnd=function(t,e){for(;;){const n=u(t,e);if(t.isError(n))return n;const r=h(t,n.primitive,e);if(t.isError(r))return r;let i;if(i=n.primitive||null!==r?t.skip(r):this._skipUntilEnd(t,e),t.isError(i))return i;if("end"===n.tagStr)break}},c.prototype._decodeList=function(t,e,n,r){const i=[];for(;!t.isEmpty();){const e=this._peekTag(t,"end");if(t.isError(e))return e;const o=n.decode(t,"der",r);if(t.isError(o)&&e)break;i.push(o)}return i},c.prototype._decodeStr=function(t,e){if("bitstr"===e){const e=t.readUInt8();return t.isError(e)?e:{unused:e,data:t.raw()}}if("bmpstr"===e){const e=t.raw();if(e.length%2==1)return t.error("Decoding of string type: bmpstr length mismatch");let n="";for(let t=0;t<e.length/2;t++)n+=String.fromCharCode(e.readUInt16BE(2*t));return n}if("numstr"===e){const e=t.raw().toString("ascii");return this._isNumstr(e)?e:t.error("Decoding of string type: numstr unsupported characters")}if("octstr"===e)return t.raw();if("objDesc"===e)return t.raw();if("printstr"===e){const e=t.raw().toString("ascii");return this._isPrintstr(e)?e:t.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(e)?t.raw().toString():t.error("Decoding of string type: "+e+" unsupported")},c.prototype._decodeObjid=function(t,e,n){let r;const i=[];let o=0,a=0;for(;!t.isEmpty();)a=t.readUInt8(),o<<=7,o|=127&a,0==(128&a)&&(i.push(o),o=0);128&a&&i.push(o);const s=i[0]/40|0,l=i[0]%40;if(r=n?i:[s,l].concat(i.slice(1)),e){let t=e[r.join(" ")];void 0===t&&(t=e[r.join(".")]),void 0!==t&&(r=t)}return r},c.prototype._decodeTime=function(t,e){const n=t.raw().toString();let r,i,o,a,s,l;if("gentime"===e)r=0|n.slice(0,4),i=0|n.slice(4,6),o=0|n.slice(6,8),a=0|n.slice(8,10),s=0|n.slice(10,12),l=0|n.slice(12,14);else{if("utctime"!==e)return t.error("Decoding "+e+" time is not supported yet");r=0|n.slice(0,2),i=0|n.slice(2,4),o=0|n.slice(4,6),a=0|n.slice(6,8),s=0|n.slice(8,10),l=0|n.slice(10,12),r=r<70?2e3+r:1900+r}return Date.UTC(r,i-1,o,a,s,l,0)},c.prototype._decodeNull=function(){return null},c.prototype._decodeBool=function(t){const e=t.readUInt8();return t.isError(e)?e:0!==e},c.prototype._decodeInt=function(t,e){const n=t.raw();let r=new i(n);return e&&(r=e[r.toString(10)]||r),r},c.prototype._use=function(t,e){return"function"==typeof t&&(t=t(e)),t._getDecoder("der").tree}},2853:(t,e,n)=>{"use strict";const r=e;r.der=n(2010),r.pem=n(8903)},8903:(t,e,n)=>{"use strict";const r=n(6698),i=n(4774).Buffer,o=n(2010);function a(t){o.call(this,t),this.enc="pem"}r(a,o),t.exports=a,a.prototype.decode=function(t,e){const n=t.toString().split(/[\r\n]+/g),r=e.label.toUpperCase(),a=/^-----(BEGIN|END) ([^-]+)-----$/;let s=-1,l=-1;for(let t=0;t<n.length;t++){const e=n[t].match(a);if(null!==e&&e[2]===r){if(-1!==s){if("END"!==e[1])break;l=t;break}if("BEGIN"!==e[1])break;s=t}}if(-1===s||-1===l)throw new Error("PEM section not found for: "+r);const c=n.slice(s+1,l).join("");c.replace(/[^a-z0-9+/=]+/gi,"");const u=i.from(c,"base64");return o.prototype.decode.call(this,u,e)}},82:(t,e,n)=>{"use strict";const r=n(6698),i=n(4774).Buffer,o=n(993),a=n(4598);function s(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new l,this.tree._init(t.body)}function l(t){o.call(this,"der",t)}function c(t){return t<10?"0"+t:t}t.exports=s,s.prototype.encode=function(t,e){return this.tree._encode(t,e).join()},r(l,o),l.prototype._encodeComposite=function(t,e,n,r){const o=function(t,e,n,r){let i;if("seqof"===t?t="seq":"setof"===t&&(t="set"),a.tagByName.hasOwnProperty(t))i=a.tagByName[t];else{if("number"!=typeof t||(0|t)!==t)return r.error("Unknown tag: "+t);i=t}return i>=31?r.error("Multi-octet tag encoding unsupported"):(e||(i|=32),i|=a.tagClassByName[n||"universal"]<<6,i)}(t,e,n,this.reporter);if(r.length<128){const t=i.alloc(2);return t[0]=o,t[1]=r.length,this._createEncoderBuffer([t,r])}let s=1;for(let t=r.length;t>=256;t>>=8)s++;const l=i.alloc(2+s);l[0]=o,l[1]=128|s;for(let t=1+s,e=r.length;e>0;t--,e>>=8)l[t]=255&e;return this._createEncoderBuffer([l,r])},l.prototype._encodeStr=function(t,e){if("bitstr"===e)return this._createEncoderBuffer([0|t.unused,t.data]);if("bmpstr"===e){const e=i.alloc(2*t.length);for(let n=0;n<t.length;n++)e.writeUInt16BE(t.charCodeAt(n),2*n);return this._createEncoderBuffer(e)}return"numstr"===e?this._isNumstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===e?this._isPrintstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(e)||"objDesc"===e?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: "+e+" unsupported")},l.prototype._encodeObjid=function(t,e,n){if("string"==typeof t){if(!e)return this.reporter.error("string objid given, but no values map found");if(!e.hasOwnProperty(t))return this.reporter.error("objid not found in values map");t=e[t].split(/[\s.]+/g);for(let e=0;e<t.length;e++)t[e]|=0}else if(Array.isArray(t)){t=t.slice();for(let e=0;e<t.length;e++)t[e]|=0}if(!Array.isArray(t))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(t));if(!n){if(t[1]>=40)return this.reporter.error("Second objid identifier OOB");t.splice(0,2,40*t[0]+t[1])}let r=0;for(let e=0;e<t.length;e++){let n=t[e];for(r++;n>=128;n>>=7)r++}const o=i.alloc(r);let a=o.length-1;for(let e=t.length-1;e>=0;e--){let n=t[e];for(o[a--]=127&n;(n>>=7)>0;)o[a--]=128|127&n}return this._createEncoderBuffer(o)},l.prototype._encodeTime=function(t,e){let n;const r=new Date(t);return"gentime"===e?n=[c(r.getUTCFullYear()),c(r.getUTCMonth()+1),c(r.getUTCDate()),c(r.getUTCHours()),c(r.getUTCMinutes()),c(r.getUTCSeconds()),"Z"].join(""):"utctime"===e?n=[c(r.getUTCFullYear()%100),c(r.getUTCMonth()+1),c(r.getUTCDate()),c(r.getUTCHours()),c(r.getUTCMinutes()),c(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+e+" time is not supported yet"),this._encodeStr(n,"octstr")},l.prototype._encodeNull=function(){return this._createEncoderBuffer("")},l.prototype._encodeInt=function(t,e){if("string"==typeof t){if(!e)return this.reporter.error("String int or enum given, but no values map");if(!e.hasOwnProperty(t))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(t));t=e[t]}if("number"!=typeof t&&!i.isBuffer(t)){const e=t.toArray();!t.sign&&128&e[0]&&e.unshift(0),t=i.from(e)}if(i.isBuffer(t)){let e=t.length;0===t.length&&e++;const n=i.alloc(e);return t.copy(n),0===t.length&&(n[0]=0),this._createEncoderBuffer(n)}if(t<128)return this._createEncoderBuffer(t);if(t<256)return this._createEncoderBuffer([0,t]);let n=1;for(let e=t;e>=256;e>>=8)n++;const r=new Array(n);for(let e=r.length-1;e>=0;e--)r[e]=255&t,t>>=8;return 128&r[0]&&r.unshift(0),this._createEncoderBuffer(i.from(r))},l.prototype._encodeBool=function(t){return this._createEncoderBuffer(t?255:0)},l.prototype._use=function(t,e){return"function"==typeof t&&(t=t(e)),t._getEncoder("der").tree},l.prototype._skipDefault=function(t,e,n){const r=this._baseState;let i;if(null===r.default)return!1;const o=t.join();if(void 0===r.defaultBuffer&&(r.defaultBuffer=this._encodeValue(r.default,e,n).join()),o.length!==r.defaultBuffer.length)return!1;for(i=0;i<o.length;i++)if(o[i]!==r.defaultBuffer[i])return!1;return!0}},4669:(t,e,n)=>{"use strict";const r=e;r.der=n(82),r.pem=n(735)},735:(t,e,n)=>{"use strict";const r=n(6698),i=n(82);function o(t){i.call(this,t),this.enc="pem"}r(o,i),t.exports=o,o.prototype.encode=function(t,e){const n=i.prototype.encode.call(this,t).toString("base64"),r=["-----BEGIN "+e.label+"-----"];for(let t=0;t<n.length;t+=64)r.push(n.slice(t,t+64));return r.push("-----END "+e.label+"-----"),r.join("\n")}},2344:function(t,e,n){!function(t,e){"use strict";function r(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var a;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:n(8982).Buffer}catch(t){}function s(t,e){var n=t.charCodeAt(e);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function l(t,e,n){var r=s(t,n);return n-1>=e&&(r|=s(t,n-1)<<4),r}function c(t,e,n,r){for(var i=0,o=Math.min(t.length,n),a=e;a<o;a++){var s=t.charCodeAt(a)-48;i*=r,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"==typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,n){if("number"==typeof t)return this._initNumber(t,e,n);if("object"==typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),r(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,n):(this._parseBase(t,e,i),"le"===n&&this._initArray(this.toArray(),e,n)))},o.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(r(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initArray=function(t,e,n){if(r("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===n)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,n){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,o=0,a=0;if("be"===n)for(r=t.length-1;r>=e;r-=2)i=l(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(t.length-e)%2==0?e+1:e;r<t.length;r+=2)i=l(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,u=n;u<s;u+=r)l=c(t,u,u+r,e),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==a){var h=1;for(l=c(t,u,t.length,e),u=0;u<a;u++)h*=e;this.imuln(h),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&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},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var u=["","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"],h=[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],f=[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 d(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,l=a/67108864|0;n.words[0]=s;for(var c=1;c<r;c++){for(var u=l>>>26,h=67108863&l,f=Math.min(c,e.length-1),d=Math.max(0,c-t.length+1);d<=f;d++){var p=c-d|0;u+=(a=(i=0|t.words[p])*(o=0|e.words[d])+h)/67108864|0,h=67108863&a}n.words[c]=0|h,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n.strip()}o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],l=(16777215&(s<<i|o)).toString(16);n=0!=(o=s>>>24-i&16777215)||a!==this.length-1?u[6-l.length]+l+n:l+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.toString(16)+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var c=h[t],d=f[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(d).toString(t);n=(p=p.idivn(d)).isZero()?m+n:u[c-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return r(void 0!==a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,l="le"===e,c=new t(o),u=this.clone();if(l){for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),c[s]=a;for(;s<o;s++)c[s]=0}else{for(s=0;s<o-i;s++)c[s]=0;for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),c[o-s-1]=a}return c},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,n=0;return e>=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var n=this._zeroBits(this.words[e]);if(t+=n,26!==n)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return r(0==(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;n<e.length;n++)this.words[n]=this.words[n]&t.words[n];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return r(0==(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;r<n.length;r++)this.words[r]=e.words[r]^n.words[r];if(this!==e)for(;r<e.length;r++)this.words[r]=e.words[r];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return r(0==(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){r("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"==typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,n,r;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o<r.length;o++)e=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<n.length;o++)e=(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a<r.length;a++)o=(e=(0|n.words[a])-(0|r.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<n.length;a++)o=(e=(0|n.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<n.length&&n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this.length=Math.max(this.length,a),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var p=function(t,e,n){var r,i,o,a=t.words,s=e.words,l=n.words,c=0,u=0|a[0],h=8191&u,f=u>>>13,d=0|a[1],p=8191&d,m=d>>>13,g=0|a[2],y=8191&g,w=g>>>13,b=0|a[3],v=8191&b,E=b>>>13,_=0|a[4],A=8191&_,M=_>>>13,T=0|a[5],x=8191&T,S=T>>>13,k=0|a[6],C=8191&k,D=k>>>13,I=0|a[7],R=8191&I,N=I>>>13,O=0|a[8],L=8191&O,P=O>>>13,F=0|a[9],B=8191&F,U=F>>>13,j=0|s[0],H=8191&j,z=j>>>13,q=0|s[1],W=8191&q,G=q>>>13,K=0|s[2],Y=8191&K,V=K>>>13,X=0|s[3],Z=8191&X,$=X>>>13,Q=0|s[4],J=8191&Q,tt=Q>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],lt=8191&st,ct=st>>>13,ut=0|s[8],ht=8191&ut,ft=ut>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;n.negative=t.negative^e.negative,n.length=19;var gt=(c+(r=Math.imul(h,H))|0)+((8191&(i=(i=Math.imul(h,z))+Math.imul(f,H)|0))<<13)|0;c=((o=Math.imul(f,z))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,r=Math.imul(p,H),i=(i=Math.imul(p,z))+Math.imul(m,H)|0,o=Math.imul(m,z);var yt=(c+(r=r+Math.imul(h,W)|0)|0)+((8191&(i=(i=i+Math.imul(h,G)|0)+Math.imul(f,W)|0))<<13)|0;c=((o=o+Math.imul(f,G)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(y,H),i=(i=Math.imul(y,z))+Math.imul(w,H)|0,o=Math.imul(w,z),r=r+Math.imul(p,W)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(m,W)|0,o=o+Math.imul(m,G)|0;var wt=(c+(r=r+Math.imul(h,Y)|0)|0)+((8191&(i=(i=i+Math.imul(h,V)|0)+Math.imul(f,Y)|0))<<13)|0;c=((o=o+Math.imul(f,V)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(v,H),i=(i=Math.imul(v,z))+Math.imul(E,H)|0,o=Math.imul(E,z),r=r+Math.imul(y,W)|0,i=(i=i+Math.imul(y,G)|0)+Math.imul(w,W)|0,o=o+Math.imul(w,G)|0,r=r+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,V)|0;var bt=(c+(r=r+Math.imul(h,Z)|0)|0)+((8191&(i=(i=i+Math.imul(h,$)|0)+Math.imul(f,Z)|0))<<13)|0;c=((o=o+Math.imul(f,$)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(A,H),i=(i=Math.imul(A,z))+Math.imul(M,H)|0,o=Math.imul(M,z),r=r+Math.imul(v,W)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(E,W)|0,o=o+Math.imul(E,G)|0,r=r+Math.imul(y,Y)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(w,Y)|0,o=o+Math.imul(w,V)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,$)|0)+Math.imul(m,Z)|0,o=o+Math.imul(m,$)|0;var vt=(c+(r=r+Math.imul(h,J)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(f,J)|0))<<13)|0;c=((o=o+Math.imul(f,tt)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(x,H),i=(i=Math.imul(x,z))+Math.imul(S,H)|0,o=Math.imul(S,z),r=r+Math.imul(A,W)|0,i=(i=i+Math.imul(A,G)|0)+Math.imul(M,W)|0,o=o+Math.imul(M,G)|0,r=r+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(E,Y)|0,o=o+Math.imul(E,V)|0,r=r+Math.imul(y,Z)|0,i=(i=i+Math.imul(y,$)|0)+Math.imul(w,Z)|0,o=o+Math.imul(w,$)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,J)|0,o=o+Math.imul(m,tt)|0;var Et=(c+(r=r+Math.imul(h,nt)|0)|0)+((8191&(i=(i=i+Math.imul(h,rt)|0)+Math.imul(f,nt)|0))<<13)|0;c=((o=o+Math.imul(f,rt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(C,H),i=(i=Math.imul(C,z))+Math.imul(D,H)|0,o=Math.imul(D,z),r=r+Math.imul(x,W)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(S,W)|0,o=o+Math.imul(S,G)|0,r=r+Math.imul(A,Y)|0,i=(i=i+Math.imul(A,V)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(v,Z)|0,i=(i=i+Math.imul(v,$)|0)+Math.imul(E,Z)|0,o=o+Math.imul(E,$)|0,r=r+Math.imul(y,J)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(m,nt)|0,o=o+Math.imul(m,rt)|0;var _t=(c+(r=r+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(f,ot)|0))<<13)|0;c=((o=o+Math.imul(f,at)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(R,H),i=(i=Math.imul(R,z))+Math.imul(N,H)|0,o=Math.imul(N,z),r=r+Math.imul(C,W)|0,i=(i=i+Math.imul(C,G)|0)+Math.imul(D,W)|0,o=o+Math.imul(D,G)|0,r=r+Math.imul(x,Y)|0,i=(i=i+Math.imul(x,V)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,V)|0,r=r+Math.imul(A,Z)|0,i=(i=i+Math.imul(A,$)|0)+Math.imul(M,Z)|0,o=o+Math.imul(M,$)|0,r=r+Math.imul(v,J)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(E,J)|0,o=o+Math.imul(E,tt)|0,r=r+Math.imul(y,nt)|0,i=(i=i+Math.imul(y,rt)|0)+Math.imul(w,nt)|0,o=o+Math.imul(w,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var At=(c+(r=r+Math.imul(h,lt)|0)|0)+((8191&(i=(i=i+Math.imul(h,ct)|0)+Math.imul(f,lt)|0))<<13)|0;c=((o=o+Math.imul(f,ct)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(L,H),i=(i=Math.imul(L,z))+Math.imul(P,H)|0,o=Math.imul(P,z),r=r+Math.imul(R,W)|0,i=(i=i+Math.imul(R,G)|0)+Math.imul(N,W)|0,o=o+Math.imul(N,G)|0,r=r+Math.imul(C,Y)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(x,Z)|0,i=(i=i+Math.imul(x,$)|0)+Math.imul(S,Z)|0,o=o+Math.imul(S,$)|0,r=r+Math.imul(A,J)|0,i=(i=i+Math.imul(A,tt)|0)+Math.imul(M,J)|0,o=o+Math.imul(M,tt)|0,r=r+Math.imul(v,nt)|0,i=(i=i+Math.imul(v,rt)|0)+Math.imul(E,nt)|0,o=o+Math.imul(E,rt)|0,r=r+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,r=r+Math.imul(p,lt)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(m,lt)|0,o=o+Math.imul(m,ct)|0;var Mt=(c+(r=r+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,ft)|0)+Math.imul(f,ht)|0))<<13)|0;c=((o=o+Math.imul(f,ft)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(B,H),i=(i=Math.imul(B,z))+Math.imul(U,H)|0,o=Math.imul(U,z),r=r+Math.imul(L,W)|0,i=(i=i+Math.imul(L,G)|0)+Math.imul(P,W)|0,o=o+Math.imul(P,G)|0,r=r+Math.imul(R,Y)|0,i=(i=i+Math.imul(R,V)|0)+Math.imul(N,Y)|0,o=o+Math.imul(N,V)|0,r=r+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,$)|0)+Math.imul(D,Z)|0,o=o+Math.imul(D,$)|0,r=r+Math.imul(x,J)|0,i=(i=i+Math.imul(x,tt)|0)+Math.imul(S,J)|0,o=o+Math.imul(S,tt)|0,r=r+Math.imul(A,nt)|0,i=(i=i+Math.imul(A,rt)|0)+Math.imul(M,nt)|0,o=o+Math.imul(M,rt)|0,r=r+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(E,ot)|0,o=o+Math.imul(E,at)|0,r=r+Math.imul(y,lt)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(w,lt)|0,o=o+Math.imul(w,ct)|0,r=r+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,ft)|0)+Math.imul(m,ht)|0,o=o+Math.imul(m,ft)|0;var Tt=(c+(r=r+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,mt)|0)+Math.imul(f,pt)|0))<<13)|0;c=((o=o+Math.imul(f,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(B,W),i=(i=Math.imul(B,G))+Math.imul(U,W)|0,o=Math.imul(U,G),r=r+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(P,Y)|0,o=o+Math.imul(P,V)|0,r=r+Math.imul(R,Z)|0,i=(i=i+Math.imul(R,$)|0)+Math.imul(N,Z)|0,o=o+Math.imul(N,$)|0,r=r+Math.imul(C,J)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(D,J)|0,o=o+Math.imul(D,tt)|0,r=r+Math.imul(x,nt)|0,i=(i=i+Math.imul(x,rt)|0)+Math.imul(S,nt)|0,o=o+Math.imul(S,rt)|0,r=r+Math.imul(A,ot)|0,i=(i=i+Math.imul(A,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,r=r+Math.imul(v,lt)|0,i=(i=i+Math.imul(v,ct)|0)+Math.imul(E,lt)|0,o=o+Math.imul(E,ct)|0,r=r+Math.imul(y,ht)|0,i=(i=i+Math.imul(y,ft)|0)+Math.imul(w,ht)|0,o=o+Math.imul(w,ft)|0;var xt=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(B,Y),i=(i=Math.imul(B,V))+Math.imul(U,Y)|0,o=Math.imul(U,V),r=r+Math.imul(L,Z)|0,i=(i=i+Math.imul(L,$)|0)+Math.imul(P,Z)|0,o=o+Math.imul(P,$)|0,r=r+Math.imul(R,J)|0,i=(i=i+Math.imul(R,tt)|0)+Math.imul(N,J)|0,o=o+Math.imul(N,tt)|0,r=r+Math.imul(C,nt)|0,i=(i=i+Math.imul(C,rt)|0)+Math.imul(D,nt)|0,o=o+Math.imul(D,rt)|0,r=r+Math.imul(x,ot)|0,i=(i=i+Math.imul(x,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,r=r+Math.imul(A,lt)|0,i=(i=i+Math.imul(A,ct)|0)+Math.imul(M,lt)|0,o=o+Math.imul(M,ct)|0,r=r+Math.imul(v,ht)|0,i=(i=i+Math.imul(v,ft)|0)+Math.imul(E,ht)|0,o=o+Math.imul(E,ft)|0;var St=(c+(r=r+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,mt)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,mt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(B,Z),i=(i=Math.imul(B,$))+Math.imul(U,Z)|0,o=Math.imul(U,$),r=r+Math.imul(L,J)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(P,J)|0,o=o+Math.imul(P,tt)|0,r=r+Math.imul(R,nt)|0,i=(i=i+Math.imul(R,rt)|0)+Math.imul(N,nt)|0,o=o+Math.imul(N,rt)|0,r=r+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,r=r+Math.imul(x,lt)|0,i=(i=i+Math.imul(x,ct)|0)+Math.imul(S,lt)|0,o=o+Math.imul(S,ct)|0,r=r+Math.imul(A,ht)|0,i=(i=i+Math.imul(A,ft)|0)+Math.imul(M,ht)|0,o=o+Math.imul(M,ft)|0;var kt=(c+(r=r+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(E,pt)|0))<<13)|0;c=((o=o+Math.imul(E,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(B,J),i=(i=Math.imul(B,tt))+Math.imul(U,J)|0,o=Math.imul(U,tt),r=r+Math.imul(L,nt)|0,i=(i=i+Math.imul(L,rt)|0)+Math.imul(P,nt)|0,o=o+Math.imul(P,rt)|0,r=r+Math.imul(R,ot)|0,i=(i=i+Math.imul(R,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,r=r+Math.imul(C,lt)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(D,lt)|0,o=o+Math.imul(D,ct)|0,r=r+Math.imul(x,ht)|0,i=(i=i+Math.imul(x,ft)|0)+Math.imul(S,ht)|0,o=o+Math.imul(S,ft)|0;var Ct=(c+(r=r+Math.imul(A,pt)|0)|0)+((8191&(i=(i=i+Math.imul(A,mt)|0)+Math.imul(M,pt)|0))<<13)|0;c=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(B,nt),i=(i=Math.imul(B,rt))+Math.imul(U,nt)|0,o=Math.imul(U,rt),r=r+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(P,ot)|0,o=o+Math.imul(P,at)|0,r=r+Math.imul(R,lt)|0,i=(i=i+Math.imul(R,ct)|0)+Math.imul(N,lt)|0,o=o+Math.imul(N,ct)|0,r=r+Math.imul(C,ht)|0,i=(i=i+Math.imul(C,ft)|0)+Math.imul(D,ht)|0,o=o+Math.imul(D,ft)|0;var Dt=(c+(r=r+Math.imul(x,pt)|0)|0)+((8191&(i=(i=i+Math.imul(x,mt)|0)+Math.imul(S,pt)|0))<<13)|0;c=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,r=Math.imul(B,ot),i=(i=Math.imul(B,at))+Math.imul(U,ot)|0,o=Math.imul(U,at),r=r+Math.imul(L,lt)|0,i=(i=i+Math.imul(L,ct)|0)+Math.imul(P,lt)|0,o=o+Math.imul(P,ct)|0,r=r+Math.imul(R,ht)|0,i=(i=i+Math.imul(R,ft)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,ft)|0;var It=(c+(r=r+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,mt)|0)+Math.imul(D,pt)|0))<<13)|0;c=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(B,lt),i=(i=Math.imul(B,ct))+Math.imul(U,lt)|0,o=Math.imul(U,ct),r=r+Math.imul(L,ht)|0,i=(i=i+Math.imul(L,ft)|0)+Math.imul(P,ht)|0,o=o+Math.imul(P,ft)|0;var Rt=(c+(r=r+Math.imul(R,pt)|0)|0)+((8191&(i=(i=i+Math.imul(R,mt)|0)+Math.imul(N,pt)|0))<<13)|0;c=((o=o+Math.imul(N,mt)|0)+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,r=Math.imul(B,ht),i=(i=Math.imul(B,ft))+Math.imul(U,ht)|0,o=Math.imul(U,ft);var Nt=(c+(r=r+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(P,pt)|0))<<13)|0;c=((o=o+Math.imul(P,mt)|0)+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863;var Ot=(c+(r=Math.imul(B,pt))|0)+((8191&(i=(i=Math.imul(B,mt))+Math.imul(U,pt)|0))<<13)|0;return c=((o=Math.imul(U,mt))+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,l[0]=gt,l[1]=yt,l[2]=wt,l[3]=bt,l[4]=vt,l[5]=Et,l[6]=_t,l[7]=At,l[8]=Mt,l[9]=Tt,l[10]=xt,l[11]=St,l[12]=kt,l[13]=Ct,l[14]=Dt,l[15]=It,l[16]=Rt,l[17]=Nt,l[18]=Ot,0!==c&&(l[19]=c,n.length++),n};function m(t,e,n){return(new g).mulp(t,e,n)}function g(t,e){this.x=t,this.y=e}Math.imul||(p=d),o.prototype.mulTo=function(t,e){var n,r=this.length+t.length;return n=10===this.length&&10===t.length?p(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var a=i;i=0;for(var s=67108863&r,l=Math.min(o,e.length-1),c=Math.max(0,o-t.length+1);c<=l;c++){var u=o-c,h=(0|t.words[u])*(0|e.words[c]),f=67108863&h;s=67108863&(f=f+s|0),i+=(a=(a=a+(h/67108864|0)|0)+(f>>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,t,e):m(this,t,e),n},g.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r<t;r++)e[r]=this.revBin(r,n,t);return e},g.prototype.revBin=function(t,e,n){if(0===t||t===n-1)return t;for(var r=0,i=0;i<e;i++)r|=(1&t)<<e-i-1,t>>=1;return r},g.prototype.permute=function(t,e,n,r,i,o){for(var a=0;a<o;a++)r[a]=e[t[a]],i[a]=n[t[a]]},g.prototype.transform=function(t,e,n,r,i,o){this.permute(o,t,e,n,r,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,l=Math.cos(2*Math.PI/s),c=Math.sin(2*Math.PI/s),u=0;u<i;u+=s)for(var h=l,f=c,d=0;d<a;d++){var p=n[u+d],m=r[u+d],g=n[u+d+a],y=r[u+d+a],w=h*g-f*y;y=h*y+f*g,g=w,n[u+d]=p+g,r[u+d]=m+y,n[u+d+a]=p-g,r[u+d+a]=m-y,d!==s&&(w=l*h-c*f,f=l*f+c*h,h=w)}},g.prototype.guessLen13b=function(t,e){var n=1|Math.max(e,t),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},g.prototype.conjugate=function(t,e,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=t[r];t[r]=t[n-r-1],t[n-r-1]=i,i=e[r],e[r]=-e[n-r-1],e[n-r-1]=-i}},g.prototype.normalize13b=function(t,e){for(var n=0,r=0;r<e/2;r++){var i=8192*Math.round(t[2*r+1]/e)+Math.round(t[2*r]/e)+n;t[r]=67108863&i,n=i<67108864?0:i/67108864|0}return t},g.prototype.convert13b=function(t,e,n,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],n[2*a]=8191&o,o>>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)n[a]=0;r(0===o),r(0==(-8192&o))},g.prototype.stub=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=0;return e},g.prototype.mulp=function(t,e,n){var r=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(r),o=this.stub(r),a=new Array(r),s=new Array(r),l=new Array(r),c=new Array(r),u=new Array(r),h=new Array(r),f=n.words;f.length=r,this.convert13b(t.words,t.length,a,r),this.convert13b(e.words,e.length,c,r),this.transform(a,o,s,l,r,i),this.transform(c,o,u,h,r,i);for(var d=0;d<r;d++){var p=s[d]*u[d]-l[d]*h[d];l[d]=s[d]*h[d]+l[d]*u[d],s[d]=p}return this.conjugate(s,l,r),this.transform(s,l,f,o,r,i),this.conjugate(f,o,r),this.normalize13b(f,r),n.negative=t.negative^e.negative,n.length=t.length+e.length,n.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),m(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){r("number"==typeof t),r(t<67108864);for(var e=0,n=0;n<this.length;n++){var i=(0|this.words[n])*t,o=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=o>>>26,this.words[n]=67108863&o}return 0!==e&&(this.words[n]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n<e.length;n++){var r=n/26|0,i=n%26;e[n]=(t.words[r]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r<e.length&&0===e[r];r++,n=n.sqr());if(++r<e.length)for(var i=n.sqr();r<e.length;r++,i=i.sqr())0!==e[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(t){r("number"==typeof t&&t>=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,l=(0|this.words[e])-s<<n;this.words[e]=l|a,a=s>>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return r(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,n){var i;r("number"==typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,l=n;if(i-=a,i=Math.max(0,i),l){for(var c=0;c<a;c++)l.words[c]=this.words[c];l.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var u=0;for(c=this.length-1;c>=0&&(0!==u||c>=i);c--){var h=0|this.words[c];this.words[c]=u<<26-o|h>>>o,u=h&s}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<<e;return!(this.length<=n||!(this.words[n]&i))},o.prototype.imaskn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==e&&n++,this.length=Math.min(n,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return r("number"==typeof t),r(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(r("number"==typeof t),r(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,n){var i,o,a=t.length+n;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+n])+s;var l=(0|t.words[i])*e;s=((o-=67108863&l)>>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)s=(o=(0|this.words[i+n])+s)>>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1];0!=(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,l=r.length-i.length;if("mod"!==e){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var c=0;c<s.length;c++)s.words[c]=0}var u=r.clone()._ishlnsubmul(i,1,l);0===u.negative&&(r=u,s&&(s.words[l]=1));for(var h=l-1;h>=0;h--){var f=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);for(f=Math.min(f/a|0,67108863),r._ishlnsubmul(i,f,h);0!==r.negative;)f--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);s&&(s.words[h]=f)}return s&&s.strip(),r.strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){r(t<=67108863);for(var e=(1<<26)%t,n=0,i=this.length-1;i>=0;i--)n=(e*n+(0|this.words[i]))%t;return n},o.prototype.idivn=function(t){r(t<=67108863);for(var e=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*e;this.words[n]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var u=n.clone(),h=e.clone();!e.isZero();){for(var f=0,d=1;0==(e.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(e.iushrn(f);f-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(u),a.isub(h)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(u),l.isub(h)),s.iushrn(1),l.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(s),a.isub(l)):(n.isub(e),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:n.iushln(c)}},o.prototype._invmp=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),l=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,u=1;0==(e.words[0]&u)&&c<26;++c,u<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var h=0,f=1;0==(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(n.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(s)):(n.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"==typeof t);var e=t%26,n=(t-e)/26,i=1<<e;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,a=n;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)e=1;else{n&&(t=-t),r(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){r<i?e=-1:r>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new A(t)},o.prototype.toRed=function(t){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var y={k256:null,p224:null,p192:null,p25519:null};function w(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(t){if("string"==typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else r(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function M(t){A.call(this,t),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)}w.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},w.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},w.prototype.split=function(t,e){t.iushrn(this.n,0,e)},w.prototype.imulK=function(t){return t.imul(this.k)},i(b,w),b.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i<r;i++)e.words[i]=t.words[i];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&n,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(a&n)<<4|o>>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},b.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n<t.length;n++){var r=0|t.words[n];e+=977*r,t.words[n]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(v,w),i(E,w),i(_,w),_.prototype.imulK=function(t){for(var e=0,n=0;n<t.length;n++){var r=19*(0|t.words[n])+e,i=67108863&r;r>>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(y[t])return y[t];var e;if("k256"===t)e=new b;else if("p224"===t)e=new v;else if("p192"===t)e=new E;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new _}return y[t]=e,e},A.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},A.prototype._verify2=function(t,e){r(0==(t.negative|e.negative),"red works only with positives"),r(t.red&&t.red===e.red,"red works only with red numbers")},A.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},A.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},A.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},A.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},A.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},A.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},A.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},A.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},A.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},A.prototype.isqr=function(t){return this.imul(t,t.clone())},A.prototype.sqr=function(t){return this.mul(t,t)},A.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(r(e%2==1),3===e){var n=this.m.add(new o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,c).cmp(l);)u.redIAdd(l);for(var h=this.pow(u,i),f=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var m=d,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g<p);var y=this.pow(h,new o(1).iushln(p-g-1));f=f.redMul(y),h=y.redSqr(),d=d.redMul(h),p=g}return f},A.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},A.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=t;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],t);var i=n[0],a=0,s=0,l=e.bitLength()%26;for(0===l&&(l=26),r=e.length-1;r>=0;r--){for(var c=e.words[r],u=l-1;u>=0;u--){var h=c>>u&1;i!==n[0]&&(i=this.sqr(i)),0!==h||0!==a?(a<<=1,a|=h,(4==++s||0===r&&0===u)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}l=26}return i},A.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},A.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new M(t)},i(M,A),M.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},M.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},M.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},M.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},M.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t=n.nmd(t),this)},7526:(t,e)=>{"use strict";e.byteLength=function(t){var e=s(t),n=e[0],r=e[1];return 3*(n+r)/4-r},e.toByteArray=function(t){var e,n,o=s(t),a=o[0],l=o[1],c=new i(function(t,e,n){return 3*(e+n)/4-n}(0,a,l)),u=0,h=l>0?a-4:a;for(n=0;n<h;n+=4)e=r[t.charCodeAt(n)]<<18|r[t.charCodeAt(n+1)]<<12|r[t.charCodeAt(n+2)]<<6|r[t.charCodeAt(n+3)],c[u++]=e>>16&255,c[u++]=e>>8&255,c[u++]=255&e;return 2===l&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,c[u++]=255&e),1===l&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,c[u++]=e>>8&255,c[u++]=255&e),c},e.fromByteArray=function(t){for(var e,r=t.length,i=r%3,o=[],a=16383,s=0,c=r-i;s<c;s+=a)o.push(l(t,s,s+a>c?c:s+a));return 1===i?(e=t[r-1],o.push(n[e>>2]+n[e<<4&63]+"==")):2===i&&(e=(t[r-2]<<8)+t[r-1],o.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"=")),o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)n[a]=o[a],r[o.charCodeAt(a)]=a;function s(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function l(t,e,r){for(var i,o,a=[],s=e;s<r;s+=3)i=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),a.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},9404:function(t,e,n){!function(t,e){"use strict";function r(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var a;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:n(7790).Buffer}catch(t){}function s(t,e){var n=t.charCodeAt(e);return n>=48&&n<=57?n-48:n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:void r(!1,"Invalid character in "+t)}function l(t,e,n){var r=s(t,n);return n-1>=e&&(r|=s(t,n-1)<<4),r}function c(t,e,n,i){for(var o=0,a=0,s=Math.min(t.length,n),l=e;l<s;l++){var c=t.charCodeAt(l)-48;o*=i,a=c>=49?c-49+10:c>=17?c-17+10:c,r(c>=0&&a<i,"Invalid character"),o+=a}return o}function u(t,e){t.words=e.words,t.length=e.length,t.negative=e.negative,t.red=e.red}if(o.isBN=function(t){return t instanceof o||null!==t&&"object"==typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,n){if("number"==typeof t)return this._initNumber(t,e,n);if("object"==typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),r(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,n):(this._parseBase(t,e,i),"le"===n&&this._initArray(this.toArray(),e,n)))},o.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(r(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initArray=function(t,e,n){if(r("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===n)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this._strip()},o.prototype._parseHex=function(t,e,n){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,o=0,a=0;if("be"===n)for(r=t.length-1;r>=e;r-=2)i=l(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(t.length-e)%2==0?e+1:e;r<t.length;r+=2)i=l(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this._strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,u=n;u<s;u+=r)l=c(t,u,u+r,e),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==a){var h=1;for(l=c(t,u,t.length,e),u=0;u<a;u++)h*=e;this.imuln(h),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this._strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype._move=function(t){u(t,this)},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype._strip=function(){for(;this.length>1&&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")]=h}catch(t){o.prototype.inspect=h}else o.prototype.inspect=h;function h(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var f=["","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"],d=[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 m(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,l=a/67108864|0;n.words[0]=s;for(var c=1;c<r;c++){for(var u=l>>>26,h=67108863&l,f=Math.min(c,e.length-1),d=Math.max(0,c-t.length+1);d<=f;d++){var p=c-d|0;u+=(a=(i=0|t.words[p])*(o=0|e.words[d])+h)/67108864|0,h=67108863&a}n.words[c]=0|h,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n._strip()}o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],l=(16777215&(s<<i|o)).toString(16);o=s>>>24-i&16777215,(i+=2)>=26&&(i-=26,a--),n=0!==o||a!==this.length-1?f[6-l.length]+l+n:l+n}for(0!==o&&(n=o.toString(16)+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var c=d[t],u=p[t];n="";var h=this.clone();for(h.negative=0;!h.isZero();){var m=h.modrn(u).toString(t);n=(h=h.idivn(u)).isZero()?m+n:f[c-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16,2)},a&&(o.prototype.toBuffer=function(t,e){return this.toArrayLike(a,t,e)}),o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,n){this._strip();var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0");var a=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)}(t,o);return this["_toArrayLike"+("le"===e?"LE":"BE")](a,i),a},o.prototype._toArrayLikeLE=function(t,e){for(var n=0,r=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|r;t[n++]=255&a,n<t.length&&(t[n++]=a>>8&255),n<t.length&&(t[n++]=a>>16&255),6===o?(n<t.length&&(t[n++]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n<t.length)for(t[n++]=r;n<t.length;)t[n++]=0},o.prototype._toArrayLikeBE=function(t,e){for(var n=t.length-1,r=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|r;t[n--]=255&a,n>=0&&(t[n--]=a>>8&255),n>=0&&(t[n--]=a>>16&255),6===o?(n>=0&&(t[n--]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n>=0)for(t[n--]=r;n>=0;)t[n--]=0},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,n=0;return e>=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var n=this._zeroBits(this.words[e]);if(t+=n,26!==n)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this._strip()},o.prototype.ior=function(t){return r(0==(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;n<e.length;n++)this.words[n]=this.words[n]&t.words[n];return this.length=e.length,this._strip()},o.prototype.iand=function(t){return r(0==(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;r<n.length;r++)this.words[r]=e.words[r]^n.words[r];if(this!==e)for(;r<e.length;r++)this.words[r]=e.words[r];return this.length=e.length,this._strip()},o.prototype.ixor=function(t){return r(0==(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){r("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this._strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"==typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<<i:this.words[n]&~(1<<i),this._strip()},o.prototype.iadd=function(t){var e,n,r;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o<r.length;o++)e=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<n.length;o++)e=(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a<r.length;a++)o=(e=(0|n.words[a])-(0|r.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<n.length;a++)o=(e=(0|n.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<n.length&&n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this.length=Math.max(this.length,a),n!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var g=function(t,e,n){var r,i,o,a=t.words,s=e.words,l=n.words,c=0,u=0|a[0],h=8191&u,f=u>>>13,d=0|a[1],p=8191&d,m=d>>>13,g=0|a[2],y=8191&g,w=g>>>13,b=0|a[3],v=8191&b,E=b>>>13,_=0|a[4],A=8191&_,M=_>>>13,T=0|a[5],x=8191&T,S=T>>>13,k=0|a[6],C=8191&k,D=k>>>13,I=0|a[7],R=8191&I,N=I>>>13,O=0|a[8],L=8191&O,P=O>>>13,F=0|a[9],B=8191&F,U=F>>>13,j=0|s[0],H=8191&j,z=j>>>13,q=0|s[1],W=8191&q,G=q>>>13,K=0|s[2],Y=8191&K,V=K>>>13,X=0|s[3],Z=8191&X,$=X>>>13,Q=0|s[4],J=8191&Q,tt=Q>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],lt=8191&st,ct=st>>>13,ut=0|s[8],ht=8191&ut,ft=ut>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;n.negative=t.negative^e.negative,n.length=19;var gt=(c+(r=Math.imul(h,H))|0)+((8191&(i=(i=Math.imul(h,z))+Math.imul(f,H)|0))<<13)|0;c=((o=Math.imul(f,z))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,r=Math.imul(p,H),i=(i=Math.imul(p,z))+Math.imul(m,H)|0,o=Math.imul(m,z);var yt=(c+(r=r+Math.imul(h,W)|0)|0)+((8191&(i=(i=i+Math.imul(h,G)|0)+Math.imul(f,W)|0))<<13)|0;c=((o=o+Math.imul(f,G)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(y,H),i=(i=Math.imul(y,z))+Math.imul(w,H)|0,o=Math.imul(w,z),r=r+Math.imul(p,W)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(m,W)|0,o=o+Math.imul(m,G)|0;var wt=(c+(r=r+Math.imul(h,Y)|0)|0)+((8191&(i=(i=i+Math.imul(h,V)|0)+Math.imul(f,Y)|0))<<13)|0;c=((o=o+Math.imul(f,V)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(v,H),i=(i=Math.imul(v,z))+Math.imul(E,H)|0,o=Math.imul(E,z),r=r+Math.imul(y,W)|0,i=(i=i+Math.imul(y,G)|0)+Math.imul(w,W)|0,o=o+Math.imul(w,G)|0,r=r+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,V)|0;var bt=(c+(r=r+Math.imul(h,Z)|0)|0)+((8191&(i=(i=i+Math.imul(h,$)|0)+Math.imul(f,Z)|0))<<13)|0;c=((o=o+Math.imul(f,$)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(A,H),i=(i=Math.imul(A,z))+Math.imul(M,H)|0,o=Math.imul(M,z),r=r+Math.imul(v,W)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(E,W)|0,o=o+Math.imul(E,G)|0,r=r+Math.imul(y,Y)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(w,Y)|0,o=o+Math.imul(w,V)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,$)|0)+Math.imul(m,Z)|0,o=o+Math.imul(m,$)|0;var vt=(c+(r=r+Math.imul(h,J)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(f,J)|0))<<13)|0;c=((o=o+Math.imul(f,tt)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(x,H),i=(i=Math.imul(x,z))+Math.imul(S,H)|0,o=Math.imul(S,z),r=r+Math.imul(A,W)|0,i=(i=i+Math.imul(A,G)|0)+Math.imul(M,W)|0,o=o+Math.imul(M,G)|0,r=r+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(E,Y)|0,o=o+Math.imul(E,V)|0,r=r+Math.imul(y,Z)|0,i=(i=i+Math.imul(y,$)|0)+Math.imul(w,Z)|0,o=o+Math.imul(w,$)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,J)|0,o=o+Math.imul(m,tt)|0;var Et=(c+(r=r+Math.imul(h,nt)|0)|0)+((8191&(i=(i=i+Math.imul(h,rt)|0)+Math.imul(f,nt)|0))<<13)|0;c=((o=o+Math.imul(f,rt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(C,H),i=(i=Math.imul(C,z))+Math.imul(D,H)|0,o=Math.imul(D,z),r=r+Math.imul(x,W)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(S,W)|0,o=o+Math.imul(S,G)|0,r=r+Math.imul(A,Y)|0,i=(i=i+Math.imul(A,V)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(v,Z)|0,i=(i=i+Math.imul(v,$)|0)+Math.imul(E,Z)|0,o=o+Math.imul(E,$)|0,r=r+Math.imul(y,J)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(m,nt)|0,o=o+Math.imul(m,rt)|0;var _t=(c+(r=r+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(f,ot)|0))<<13)|0;c=((o=o+Math.imul(f,at)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(R,H),i=(i=Math.imul(R,z))+Math.imul(N,H)|0,o=Math.imul(N,z),r=r+Math.imul(C,W)|0,i=(i=i+Math.imul(C,G)|0)+Math.imul(D,W)|0,o=o+Math.imul(D,G)|0,r=r+Math.imul(x,Y)|0,i=(i=i+Math.imul(x,V)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,V)|0,r=r+Math.imul(A,Z)|0,i=(i=i+Math.imul(A,$)|0)+Math.imul(M,Z)|0,o=o+Math.imul(M,$)|0,r=r+Math.imul(v,J)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(E,J)|0,o=o+Math.imul(E,tt)|0,r=r+Math.imul(y,nt)|0,i=(i=i+Math.imul(y,rt)|0)+Math.imul(w,nt)|0,o=o+Math.imul(w,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var At=(c+(r=r+Math.imul(h,lt)|0)|0)+((8191&(i=(i=i+Math.imul(h,ct)|0)+Math.imul(f,lt)|0))<<13)|0;c=((o=o+Math.imul(f,ct)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(L,H),i=(i=Math.imul(L,z))+Math.imul(P,H)|0,o=Math.imul(P,z),r=r+Math.imul(R,W)|0,i=(i=i+Math.imul(R,G)|0)+Math.imul(N,W)|0,o=o+Math.imul(N,G)|0,r=r+Math.imul(C,Y)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(x,Z)|0,i=(i=i+Math.imul(x,$)|0)+Math.imul(S,Z)|0,o=o+Math.imul(S,$)|0,r=r+Math.imul(A,J)|0,i=(i=i+Math.imul(A,tt)|0)+Math.imul(M,J)|0,o=o+Math.imul(M,tt)|0,r=r+Math.imul(v,nt)|0,i=(i=i+Math.imul(v,rt)|0)+Math.imul(E,nt)|0,o=o+Math.imul(E,rt)|0,r=r+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,r=r+Math.imul(p,lt)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(m,lt)|0,o=o+Math.imul(m,ct)|0;var Mt=(c+(r=r+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,ft)|0)+Math.imul(f,ht)|0))<<13)|0;c=((o=o+Math.imul(f,ft)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(B,H),i=(i=Math.imul(B,z))+Math.imul(U,H)|0,o=Math.imul(U,z),r=r+Math.imul(L,W)|0,i=(i=i+Math.imul(L,G)|0)+Math.imul(P,W)|0,o=o+Math.imul(P,G)|0,r=r+Math.imul(R,Y)|0,i=(i=i+Math.imul(R,V)|0)+Math.imul(N,Y)|0,o=o+Math.imul(N,V)|0,r=r+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,$)|0)+Math.imul(D,Z)|0,o=o+Math.imul(D,$)|0,r=r+Math.imul(x,J)|0,i=(i=i+Math.imul(x,tt)|0)+Math.imul(S,J)|0,o=o+Math.imul(S,tt)|0,r=r+Math.imul(A,nt)|0,i=(i=i+Math.imul(A,rt)|0)+Math.imul(M,nt)|0,o=o+Math.imul(M,rt)|0,r=r+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(E,ot)|0,o=o+Math.imul(E,at)|0,r=r+Math.imul(y,lt)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(w,lt)|0,o=o+Math.imul(w,ct)|0,r=r+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,ft)|0)+Math.imul(m,ht)|0,o=o+Math.imul(m,ft)|0;var Tt=(c+(r=r+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,mt)|0)+Math.imul(f,pt)|0))<<13)|0;c=((o=o+Math.imul(f,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(B,W),i=(i=Math.imul(B,G))+Math.imul(U,W)|0,o=Math.imul(U,G),r=r+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(P,Y)|0,o=o+Math.imul(P,V)|0,r=r+Math.imul(R,Z)|0,i=(i=i+Math.imul(R,$)|0)+Math.imul(N,Z)|0,o=o+Math.imul(N,$)|0,r=r+Math.imul(C,J)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(D,J)|0,o=o+Math.imul(D,tt)|0,r=r+Math.imul(x,nt)|0,i=(i=i+Math.imul(x,rt)|0)+Math.imul(S,nt)|0,o=o+Math.imul(S,rt)|0,r=r+Math.imul(A,ot)|0,i=(i=i+Math.imul(A,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,r=r+Math.imul(v,lt)|0,i=(i=i+Math.imul(v,ct)|0)+Math.imul(E,lt)|0,o=o+Math.imul(E,ct)|0,r=r+Math.imul(y,ht)|0,i=(i=i+Math.imul(y,ft)|0)+Math.imul(w,ht)|0,o=o+Math.imul(w,ft)|0;var xt=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(B,Y),i=(i=Math.imul(B,V))+Math.imul(U,Y)|0,o=Math.imul(U,V),r=r+Math.imul(L,Z)|0,i=(i=i+Math.imul(L,$)|0)+Math.imul(P,Z)|0,o=o+Math.imul(P,$)|0,r=r+Math.imul(R,J)|0,i=(i=i+Math.imul(R,tt)|0)+Math.imul(N,J)|0,o=o+Math.imul(N,tt)|0,r=r+Math.imul(C,nt)|0,i=(i=i+Math.imul(C,rt)|0)+Math.imul(D,nt)|0,o=o+Math.imul(D,rt)|0,r=r+Math.imul(x,ot)|0,i=(i=i+Math.imul(x,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,r=r+Math.imul(A,lt)|0,i=(i=i+Math.imul(A,ct)|0)+Math.imul(M,lt)|0,o=o+Math.imul(M,ct)|0,r=r+Math.imul(v,ht)|0,i=(i=i+Math.imul(v,ft)|0)+Math.imul(E,ht)|0,o=o+Math.imul(E,ft)|0;var St=(c+(r=r+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,mt)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,mt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(B,Z),i=(i=Math.imul(B,$))+Math.imul(U,Z)|0,o=Math.imul(U,$),r=r+Math.imul(L,J)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(P,J)|0,o=o+Math.imul(P,tt)|0,r=r+Math.imul(R,nt)|0,i=(i=i+Math.imul(R,rt)|0)+Math.imul(N,nt)|0,o=o+Math.imul(N,rt)|0,r=r+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,r=r+Math.imul(x,lt)|0,i=(i=i+Math.imul(x,ct)|0)+Math.imul(S,lt)|0,o=o+Math.imul(S,ct)|0,r=r+Math.imul(A,ht)|0,i=(i=i+Math.imul(A,ft)|0)+Math.imul(M,ht)|0,o=o+Math.imul(M,ft)|0;var kt=(c+(r=r+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(E,pt)|0))<<13)|0;c=((o=o+Math.imul(E,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(B,J),i=(i=Math.imul(B,tt))+Math.imul(U,J)|0,o=Math.imul(U,tt),r=r+Math.imul(L,nt)|0,i=(i=i+Math.imul(L,rt)|0)+Math.imul(P,nt)|0,o=o+Math.imul(P,rt)|0,r=r+Math.imul(R,ot)|0,i=(i=i+Math.imul(R,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,r=r+Math.imul(C,lt)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(D,lt)|0,o=o+Math.imul(D,ct)|0,r=r+Math.imul(x,ht)|0,i=(i=i+Math.imul(x,ft)|0)+Math.imul(S,ht)|0,o=o+Math.imul(S,ft)|0;var Ct=(c+(r=r+Math.imul(A,pt)|0)|0)+((8191&(i=(i=i+Math.imul(A,mt)|0)+Math.imul(M,pt)|0))<<13)|0;c=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(B,nt),i=(i=Math.imul(B,rt))+Math.imul(U,nt)|0,o=Math.imul(U,rt),r=r+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(P,ot)|0,o=o+Math.imul(P,at)|0,r=r+Math.imul(R,lt)|0,i=(i=i+Math.imul(R,ct)|0)+Math.imul(N,lt)|0,o=o+Math.imul(N,ct)|0,r=r+Math.imul(C,ht)|0,i=(i=i+Math.imul(C,ft)|0)+Math.imul(D,ht)|0,o=o+Math.imul(D,ft)|0;var Dt=(c+(r=r+Math.imul(x,pt)|0)|0)+((8191&(i=(i=i+Math.imul(x,mt)|0)+Math.imul(S,pt)|0))<<13)|0;c=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,r=Math.imul(B,ot),i=(i=Math.imul(B,at))+Math.imul(U,ot)|0,o=Math.imul(U,at),r=r+Math.imul(L,lt)|0,i=(i=i+Math.imul(L,ct)|0)+Math.imul(P,lt)|0,o=o+Math.imul(P,ct)|0,r=r+Math.imul(R,ht)|0,i=(i=i+Math.imul(R,ft)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,ft)|0;var It=(c+(r=r+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,mt)|0)+Math.imul(D,pt)|0))<<13)|0;c=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(B,lt),i=(i=Math.imul(B,ct))+Math.imul(U,lt)|0,o=Math.imul(U,ct),r=r+Math.imul(L,ht)|0,i=(i=i+Math.imul(L,ft)|0)+Math.imul(P,ht)|0,o=o+Math.imul(P,ft)|0;var Rt=(c+(r=r+Math.imul(R,pt)|0)|0)+((8191&(i=(i=i+Math.imul(R,mt)|0)+Math.imul(N,pt)|0))<<13)|0;c=((o=o+Math.imul(N,mt)|0)+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,r=Math.imul(B,ht),i=(i=Math.imul(B,ft))+Math.imul(U,ht)|0,o=Math.imul(U,ft);var Nt=(c+(r=r+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(P,pt)|0))<<13)|0;c=((o=o+Math.imul(P,mt)|0)+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863;var Ot=(c+(r=Math.imul(B,pt))|0)+((8191&(i=(i=Math.imul(B,mt))+Math.imul(U,pt)|0))<<13)|0;return c=((o=Math.imul(U,mt))+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,l[0]=gt,l[1]=yt,l[2]=wt,l[3]=bt,l[4]=vt,l[5]=Et,l[6]=_t,l[7]=At,l[8]=Mt,l[9]=Tt,l[10]=xt,l[11]=St,l[12]=kt,l[13]=Ct,l[14]=Dt,l[15]=It,l[16]=Rt,l[17]=Nt,l[18]=Ot,0!==c&&(l[19]=c,n.length++),n};function y(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var a=i;i=0;for(var s=67108863&r,l=Math.min(o,e.length-1),c=Math.max(0,o-t.length+1);c<=l;c++){var u=o-c,h=(0|t.words[u])*(0|e.words[c]),f=67108863&h;s=67108863&(f=f+s|0),i+=(a=(a=a+(h/67108864|0)|0)+(f>>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n._strip()}function w(t,e,n){return y(t,e,n)}function b(t,e){this.x=t,this.y=e}Math.imul||(g=m),o.prototype.mulTo=function(t,e){var n=this.length+t.length;return 10===this.length&&10===t.length?g(this,t,e):n<63?m(this,t,e):n<1024?y(this,t,e):w(this,t,e)},b.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r<t;r++)e[r]=this.revBin(r,n,t);return e},b.prototype.revBin=function(t,e,n){if(0===t||t===n-1)return t;for(var r=0,i=0;i<e;i++)r|=(1&t)<<e-i-1,t>>=1;return r},b.prototype.permute=function(t,e,n,r,i,o){for(var a=0;a<o;a++)r[a]=e[t[a]],i[a]=n[t[a]]},b.prototype.transform=function(t,e,n,r,i,o){this.permute(o,t,e,n,r,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,l=Math.cos(2*Math.PI/s),c=Math.sin(2*Math.PI/s),u=0;u<i;u+=s)for(var h=l,f=c,d=0;d<a;d++){var p=n[u+d],m=r[u+d],g=n[u+d+a],y=r[u+d+a],w=h*g-f*y;y=h*y+f*g,g=w,n[u+d]=p+g,r[u+d]=m+y,n[u+d+a]=p-g,r[u+d+a]=m-y,d!==s&&(w=l*h-c*f,f=l*f+c*h,h=w)}},b.prototype.guessLen13b=function(t,e){var n=1|Math.max(e,t),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},b.prototype.conjugate=function(t,e,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=t[r];t[r]=t[n-r-1],t[n-r-1]=i,i=e[r],e[r]=-e[n-r-1],e[n-r-1]=-i}},b.prototype.normalize13b=function(t,e){for(var n=0,r=0;r<e/2;r++){var i=8192*Math.round(t[2*r+1]/e)+Math.round(t[2*r]/e)+n;t[r]=67108863&i,n=i<67108864?0:i/67108864|0}return t},b.prototype.convert13b=function(t,e,n,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],n[2*a]=8191&o,o>>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)n[a]=0;r(0===o),r(0==(-8192&o))},b.prototype.stub=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=0;return e},b.prototype.mulp=function(t,e,n){var r=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(r),o=this.stub(r),a=new Array(r),s=new Array(r),l=new Array(r),c=new Array(r),u=new Array(r),h=new Array(r),f=n.words;f.length=r,this.convert13b(t.words,t.length,a,r),this.convert13b(e.words,e.length,c,r),this.transform(a,o,s,l,r,i),this.transform(c,o,u,h,r,i);for(var d=0;d<r;d++){var p=s[d]*u[d]-l[d]*h[d];l[d]=s[d]*h[d]+l[d]*u[d],s[d]=p}return this.conjugate(s,l,r),this.transform(s,l,f,o,r,i),this.conjugate(f,o,r),this.normalize13b(f,r),n.negative=t.negative^e.negative,n.length=t.length+e.length,n._strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),w(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){var e=t<0;e&&(t=-t),r("number"==typeof t),r(t<67108864);for(var n=0,i=0;i<this.length;i++){var o=(0|this.words[i])*t,a=(67108863&o)+(67108863&n);n>>=26,n+=o/67108864|0,n+=a>>>26,this.words[i]=67108863&a}return 0!==n&&(this.words[i]=n,this.length++),e?this.ineg():this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n<e.length;n++){var r=n/26|0,i=n%26;e[n]=t.words[r]>>>i&1}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r<e.length&&0===e[r];r++,n=n.sqr());if(++r<e.length)for(var i=n.sqr();r<e.length;r++,i=i.sqr())0!==e[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(t){r("number"==typeof t&&t>=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,l=(0|this.words[e])-s<<n;this.words[e]=l|a,a=s>>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this._strip()},o.prototype.ishln=function(t){return r(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,n){var i;r("number"==typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,l=n;if(i-=a,i=Math.max(0,i),l){for(var c=0;c<a;c++)l.words[c]=this.words[c];l.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var u=0;for(c=this.length-1;c>=0&&(0!==u||c>=i);c--){var h=0|this.words[c];this.words[c]=u<<26-o|h>>>o,u=h&s}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<<e;return!(this.length<=n||!(this.words[n]&i))},o.prototype.imaskn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==e&&n++,this.length=Math.min(n,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this._strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return r("number"==typeof t),r(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<=t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(r("number"==typeof t),r(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this._strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,n){var i,o,a=t.length+n;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+n])+s;var l=(0|t.words[i])*e;s=((o-=67108863&l)>>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)s=(o=(0|this.words[i+n])+s)>>26,this.words[i+n]=67108863&o;if(0===s)return this._strip();for(r(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1];0!=(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,l=r.length-i.length;if("mod"!==e){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var c=0;c<s.length;c++)s.words[c]=0}var u=r.clone()._ishlnsubmul(i,1,l);0===u.negative&&(r=u,s&&(s.words[l]=1));for(var h=l-1;h>=0;h--){var f=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);for(f=Math.min(f/a|0,67108863),r._ishlnsubmul(i,f,h);0!==r.negative;)f--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);s&&(s.words[h]=f)}return s&&s._strip(),r._strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modrn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modrn=function(t){var e=t<0;e&&(t=-t),r(t<=67108863);for(var n=(1<<26)%t,i=0,o=this.length-1;o>=0;o--)i=(n*i+(0|this.words[o]))%t;return e?-i:i},o.prototype.modn=function(t){return this.modrn(t)},o.prototype.idivn=function(t){var e=t<0;e&&(t=-t),r(t<=67108863);for(var n=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*n;this.words[i]=o/t|0,n=o%t}return this._strip(),e?this.ineg():this},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var u=n.clone(),h=e.clone();!e.isZero();){for(var f=0,d=1;0==(e.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(e.iushrn(f);f-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(u),a.isub(h)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(u),l.isub(h)),s.iushrn(1),l.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(s),a.isub(l)):(n.isub(e),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:n.iushln(c)}},o.prototype._invmp=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),l=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,u=1;0==(e.words[0]&u)&&c<26;++c,u<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var h=0,f=1;0==(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(n.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(s)):(n.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"==typeof t);var e=t%26,n=(t-e)/26,i=1<<e;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,a=n;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this._strip(),this.length>1)e=1;else{n&&(t=-t),r(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){r<i?e=-1:r>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new x(t)},o.prototype.toRed=function(t){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function E(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function _(){E.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function A(){E.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function M(){E.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function T(){E.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function x(t){if("string"==typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else r(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function S(t){x.call(this,t),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)}E.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},E.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},E.prototype.split=function(t,e){t.iushrn(this.n,0,e)},E.prototype.imulK=function(t){return t.imul(this.k)},i(_,E),_.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i<r;i++)e.words[i]=t.words[i];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&n,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(a&n)<<4|o>>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},_.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n<t.length;n++){var r=0|t.words[n];e+=977*r,t.words[n]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(A,E),i(M,E),i(T,E),T.prototype.imulK=function(t){for(var e=0,n=0;n<t.length;n++){var r=19*(0|t.words[n])+e,i=67108863&r;r>>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new _;else if("p224"===t)e=new A;else if("p192"===t)e=new M;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new T}return v[t]=e,e},x.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},x.prototype._verify2=function(t,e){r(0==(t.negative|e.negative),"red works only with positives"),r(t.red&&t.red===e.red,"red works only with red numbers")},x.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(u(t,t.umod(this.m)._forceRed(this)),t)},x.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},x.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},x.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},x.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},x.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},x.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},x.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},x.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},x.prototype.isqr=function(t){return this.imul(t,t.clone())},x.prototype.sqr=function(t){return this.mul(t,t)},x.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(r(e%2==1),3===e){var n=this.m.add(new o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,c).cmp(l);)u.redIAdd(l);for(var h=this.pow(u,i),f=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var m=d,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g<p);var y=this.pow(h,new o(1).iushln(p-g-1));f=f.redMul(y),h=y.redSqr(),d=d.redMul(h),p=g}return f},x.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},x.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=t;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],t);var i=n[0],a=0,s=0,l=e.bitLength()%26;for(0===l&&(l=26),r=e.length-1;r>=0;r--){for(var c=e.words[r],u=l-1;u>=0;u--){var h=c>>u&1;i!==n[0]&&(i=this.sqr(i)),0!==h||0!==a?(a<<=1,a|=h,(4==++s||0===r&&0===u)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}l=26}return i},x.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},x.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new S(t)},i(S,x),S.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},S.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},S.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},S.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},S.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t=n.nmd(t),this)},5037:(t,e,n)=>{var r;function i(t){this.rand=t}if(t.exports=function(t){return r||(r=new i(null)),r.generate(t)},t.exports.Rand=i,i.prototype.generate=function(t){return this._rand(t)},i.prototype._rand=function(t){if(this.rand.getBytes)return this.rand.getBytes(t);for(var e=new Uint8Array(t),n=0;n<e.length;n++)e[n]=this.rand.getByte();return e},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?i.prototype._rand=function(t){var e=new Uint8Array(t);return self.crypto.getRandomValues(e),e}:self.msCrypto&&self.msCrypto.getRandomValues?i.prototype._rand=function(t){var e=new Uint8Array(t);return self.msCrypto.getRandomValues(e),e}:"object"==typeof window&&(i.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var o=n(3776);if("function"!=typeof o.randomBytes)throw new Error("Not supported");i.prototype._rand=function(t){return o.randomBytes(t)}}catch(t){}},462:(t,e,n)=>{var r=n(2861).Buffer;function i(t){r.isBuffer(t)||(t=r.from(t));for(var e=t.length/4|0,n=new Array(e),i=0;i<e;i++)n[i]=t.readUInt32BE(4*i);return n}function o(t){for(;0<t.length;t++)t[0]=0}function a(t,e,n,r,i){for(var o,a,s,l,c=n[0],u=n[1],h=n[2],f=n[3],d=t[0]^e[0],p=t[1]^e[1],m=t[2]^e[2],g=t[3]^e[3],y=4,w=1;w<i;w++)o=c[d>>>24]^u[p>>>16&255]^h[m>>>8&255]^f[255&g]^e[y++],a=c[p>>>24]^u[m>>>16&255]^h[g>>>8&255]^f[255&d]^e[y++],s=c[m>>>24]^u[g>>>16&255]^h[d>>>8&255]^f[255&p]^e[y++],l=c[g>>>24]^u[d>>>16&255]^h[p>>>8&255]^f[255&m]^e[y++],d=o,p=a,m=s,g=l;return o=(r[d>>>24]<<24|r[p>>>16&255]<<16|r[m>>>8&255]<<8|r[255&g])^e[y++],a=(r[p>>>24]<<24|r[m>>>16&255]<<16|r[g>>>8&255]<<8|r[255&d])^e[y++],s=(r[m>>>24]<<24|r[g>>>16&255]<<16|r[d>>>8&255]<<8|r[255&p])^e[y++],l=(r[g>>>24]<<24|r[d>>>16&255]<<16|r[p>>>8&255]<<8|r[255&m])^e[y++],[o>>>=0,a>>>=0,s>>>=0,l>>>=0]}var s=[0,1,2,4,8,16,32,64,128,27,54],l=function(){for(var t=new Array(256),e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;for(var n=[],r=[],i=[[],[],[],[]],o=[[],[],[],[]],a=0,s=0,l=0;l<256;++l){var c=s^s<<1^s<<2^s<<3^s<<4;c=c>>>8^255&c^99,n[a]=c,r[c]=a;var u=t[a],h=t[u],f=t[h],d=257*t[c]^16843008*c;i[0][a]=d<<24|d>>>8,i[1][a]=d<<16|d>>>16,i[2][a]=d<<8|d>>>24,i[3][a]=d,d=16843009*f^65537*h^257*u^16843008*a,o[0][c]=d<<24|d>>>8,o[1][c]=d<<16|d>>>16,o[2][c]=d<<8|d>>>24,o[3][c]=d,0===a?a=s=1:(a=u^t[t[t[f^u]]],s^=t[t[s]])}return{SBOX:n,INV_SBOX:r,SUB_MIX:i,INV_SUB_MIX:o}}();function c(t){this._key=i(t),this._reset()}c.blockSize=16,c.keySize=32,c.prototype.blockSize=c.blockSize,c.prototype.keySize=c.keySize,c.prototype._reset=function(){for(var t=this._key,e=t.length,n=e+6,r=4*(n+1),i=[],o=0;o<e;o++)i[o]=t[o];for(o=e;o<r;o++){var a=i[o-1];o%e==0?(a=a<<8|a>>>24,a=l.SBOX[a>>>24]<<24|l.SBOX[a>>>16&255]<<16|l.SBOX[a>>>8&255]<<8|l.SBOX[255&a],a^=s[o/e|0]<<24):e>6&&o%e==4&&(a=l.SBOX[a>>>24]<<24|l.SBOX[a>>>16&255]<<16|l.SBOX[a>>>8&255]<<8|l.SBOX[255&a]),i[o]=i[o-e]^a}for(var c=[],u=0;u<r;u++){var h=r-u,f=i[h-(u%4?0:4)];c[u]=u<4||h<=4?f:l.INV_SUB_MIX[0][l.SBOX[f>>>24]]^l.INV_SUB_MIX[1][l.SBOX[f>>>16&255]]^l.INV_SUB_MIX[2][l.SBOX[f>>>8&255]]^l.INV_SUB_MIX[3][l.SBOX[255&f]]}this._nRounds=n,this._keySchedule=i,this._invKeySchedule=c},c.prototype.encryptBlockRaw=function(t){return a(t=i(t),this._keySchedule,l.SUB_MIX,l.SBOX,this._nRounds)},c.prototype.encryptBlock=function(t){var e=this.encryptBlockRaw(t),n=r.allocUnsafe(16);return n.writeUInt32BE(e[0],0),n.writeUInt32BE(e[1],4),n.writeUInt32BE(e[2],8),n.writeUInt32BE(e[3],12),n},c.prototype.decryptBlock=function(t){var e=(t=i(t))[1];t[1]=t[3],t[3]=e;var n=a(t,this._invKeySchedule,l.INV_SUB_MIX,l.INV_SBOX,this._nRounds),o=r.allocUnsafe(16);return o.writeUInt32BE(n[0],0),o.writeUInt32BE(n[3],4),o.writeUInt32BE(n[2],8),o.writeUInt32BE(n[1],12),o},c.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},t.exports.AES=c},2356:(t,e,n)=>{var r=n(462),i=n(2861).Buffer,o=n(6168),a=n(6698),s=n(5892),l=n(295),c=n(5122);function u(t,e,n,a){o.call(this);var l=i.alloc(4,0);this._cipher=new r.AES(e);var u=this._cipher.encryptBlock(l);this._ghash=new s(u),n=function(t,e,n){if(12===e.length)return t._finID=i.concat([e,i.from([0,0,0,1])]),i.concat([e,i.from([0,0,0,2])]);var r=new s(n),o=e.length,a=o%16;r.update(e),a&&(a=16-a,r.update(i.alloc(a,0))),r.update(i.alloc(8,0));var l=8*o,u=i.alloc(8);u.writeUIntBE(l,0,8),r.update(u),t._finID=r.state;var h=i.from(t._finID);return c(h),h}(this,n,u),this._prev=i.from(n),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._alen=0,this._len=0,this._mode=t,this._authTag=null,this._called=!1}a(u,o),u.prototype._update=function(t){if(!this._called&&this._alen){var e=16-this._alen%16;e<16&&(e=i.alloc(e,0),this._ghash.update(e))}this._called=!0;var n=this._mode.encrypt(this,t);return this._decrypt?this._ghash.update(t):this._ghash.update(n),this._len+=t.length,n},u.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var t=l(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(t,e){var n=0;t.length!==e.length&&n++;for(var r=Math.min(t.length,e.length),i=0;i<r;++i)n+=t[i]^e[i];return n}(t,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=t,this._cipher.scrub()},u.prototype.getAuthTag=function(){if(this._decrypt||!i.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},u.prototype.setAuthTag=function(t){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=t},u.prototype.setAAD=function(t){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(t),this._alen+=t.length},t.exports=u},1241:(t,e,n)=>{var r=n(5799),i=n(6171),o=n(3219);e.createCipher=e.Cipher=r.createCipher,e.createCipheriv=e.Cipheriv=r.createCipheriv,e.createDecipher=e.Decipher=i.createDecipher,e.createDecipheriv=e.Decipheriv=i.createDecipheriv,e.listCiphers=e.getCiphers=function(){return Object.keys(o)}},6171:(t,e,n)=>{var r=n(2356),i=n(2861).Buffer,o=n(530),a=n(650),s=n(6168),l=n(462),c=n(8078);function u(t,e,n){s.call(this),this._cache=new h,this._last=void 0,this._cipher=new l.AES(e),this._prev=i.from(n),this._mode=t,this._autopadding=!0}function h(){this.cache=i.allocUnsafe(0)}function f(t,e,n){var s=o[t.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof n&&(n=i.from(n)),"GCM"!==s.mode&&n.length!==s.iv)throw new TypeError("invalid iv length "+n.length);if("string"==typeof e&&(e=i.from(e)),e.length!==s.key/8)throw new TypeError("invalid key length "+e.length);return"stream"===s.type?new a(s.module,e,n,!0):"auth"===s.type?new r(s.module,e,n,!0):new u(s.module,e,n)}n(6698)(u,s),u.prototype._update=function(t){var e,n;this._cache.add(t);for(var r=[];e=this._cache.get(this._autopadding);)n=this._mode.decrypt(this,e),r.push(n);return i.concat(r)},u.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return function(t){var e=t[15];if(e<1||e>16)throw new Error("unable to decrypt data");for(var n=-1;++n<e;)if(t[n+(16-e)]!==e)throw new Error("unable to decrypt data");if(16!==e)return t.slice(0,16-e)}(this._mode.decrypt(this,t));if(t)throw new Error("data not multiple of block length")},u.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},h.prototype.add=function(t){this.cache=i.concat([this.cache,t])},h.prototype.get=function(t){var e;if(t){if(this.cache.length>16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e}else if(this.cache.length>=16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e;return null},h.prototype.flush=function(){if(this.cache.length)return this.cache},e.createDecipher=function(t,e){var n=o[t.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var r=c(e,!1,n.key,n.iv);return f(t,r.key,r.iv)},e.createDecipheriv=f},5799:(t,e,n)=>{var r=n(530),i=n(2356),o=n(2861).Buffer,a=n(650),s=n(6168),l=n(462),c=n(8078);function u(t,e,n){s.call(this),this._cache=new f,this._cipher=new l.AES(e),this._prev=o.from(n),this._mode=t,this._autopadding=!0}n(6698)(u,s),u.prototype._update=function(t){var e,n;this._cache.add(t);for(var r=[];e=this._cache.get();)n=this._mode.encrypt(this,e),r.push(n);return o.concat(r)};var h=o.alloc(16,16);function f(){this.cache=o.allocUnsafe(0)}function d(t,e,n){var s=r[t.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof e&&(e=o.from(e)),e.length!==s.key/8)throw new TypeError("invalid key length "+e.length);if("string"==typeof n&&(n=o.from(n)),"GCM"!==s.mode&&n.length!==s.iv)throw new TypeError("invalid iv length "+n.length);return"stream"===s.type?new a(s.module,e,n):"auth"===s.type?new i(s.module,e,n):new u(s.module,e,n)}u.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return t=this._mode.encrypt(this,t),this._cipher.scrub(),t;if(!t.equals(h))throw this._cipher.scrub(),new Error("data not multiple of block length")},u.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},f.prototype.add=function(t){this.cache=o.concat([this.cache,t])},f.prototype.get=function(){if(this.cache.length>15){var t=this.cache.slice(0,16);return this.cache=this.cache.slice(16),t}return null},f.prototype.flush=function(){for(var t=16-this.cache.length,e=o.allocUnsafe(t),n=-1;++n<t;)e.writeUInt8(t,n);return o.concat([this.cache,e])},e.createCipheriv=d,e.createCipher=function(t,e){var n=r[t.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var i=c(e,!1,n.key,n.iv);return d(t,i.key,i.iv)}},5892:(t,e,n)=>{var r=n(2861).Buffer,i=r.alloc(16,0);function o(t){var e=r.allocUnsafe(16);return e.writeUInt32BE(t[0]>>>0,0),e.writeUInt32BE(t[1]>>>0,4),e.writeUInt32BE(t[2]>>>0,8),e.writeUInt32BE(t[3]>>>0,12),e}function a(t){this.h=t,this.state=r.alloc(16,0),this.cache=r.allocUnsafe(0)}a.prototype.ghash=function(t){for(var e=-1;++e<t.length;)this.state[e]^=t[e];this._multiply()},a.prototype._multiply=function(){for(var t,e,n,r=[(t=this.h).readUInt32BE(0),t.readUInt32BE(4),t.readUInt32BE(8),t.readUInt32BE(12)],i=[0,0,0,0],a=-1;++a<128;){for(0!=(this.state[~~(a/8)]&1<<7-a%8)&&(i[0]^=r[0],i[1]^=r[1],i[2]^=r[2],i[3]^=r[3]),n=0!=(1&r[3]),e=3;e>0;e--)r[e]=r[e]>>>1|(1&r[e-1])<<31;r[0]=r[0]>>>1,n&&(r[0]=r[0]^225<<24)}this.state=o(i)},a.prototype.update=function(t){var e;for(this.cache=r.concat([this.cache,t]);this.cache.length>=16;)e=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(e)},a.prototype.final=function(t,e){return this.cache.length&&this.ghash(r.concat([this.cache,i],16)),this.ghash(o([0,t,0,e])),this.state},t.exports=a},5122:t=>{t.exports=function(t){for(var e,n=t.length;n--;){if(255!==(e=t.readUInt8(n))){e++,t.writeUInt8(e,n);break}t.writeUInt8(0,n)}}},2884:(t,e,n)=>{var r=n(295);e.encrypt=function(t,e){var n=r(e,t._prev);return t._prev=t._cipher.encryptBlock(n),t._prev},e.decrypt=function(t,e){var n=t._prev;t._prev=e;var i=t._cipher.decryptBlock(e);return r(i,n)}},6383:(t,e,n)=>{var r=n(2861).Buffer,i=n(295);function o(t,e,n){var o=e.length,a=i(e,t._cache);return t._cache=t._cache.slice(o),t._prev=r.concat([t._prev,n?e:a]),a}e.encrypt=function(t,e,n){for(var i,a=r.allocUnsafe(0);e.length;){if(0===t._cache.length&&(t._cache=t._cipher.encryptBlock(t._prev),t._prev=r.allocUnsafe(0)),!(t._cache.length<=e.length)){a=r.concat([a,o(t,e,n)]);break}i=t._cache.length,a=r.concat([a,o(t,e.slice(0,i),n)]),e=e.slice(i)}return a}},5264:(t,e,n)=>{var r=n(2861).Buffer;function i(t,e,n){for(var r,i,a=-1,s=0;++a<8;)r=e&1<<7-a?128:0,s+=(128&(i=t._cipher.encryptBlock(t._prev)[0]^r))>>a%8,t._prev=o(t._prev,n?r:i);return s}function o(t,e){var n=t.length,i=-1,o=r.allocUnsafe(t.length);for(t=r.concat([t,r.from([e])]);++i<n;)o[i]=t[i]<<1|t[i+1]>>7;return o}e.encrypt=function(t,e,n){for(var o=e.length,a=r.allocUnsafe(o),s=-1;++s<o;)a[s]=i(t,e[s],n);return a}},6975:(t,e,n)=>{var r=n(2861).Buffer;function i(t,e,n){var i=t._cipher.encryptBlock(t._prev)[0]^e;return t._prev=r.concat([t._prev.slice(1),r.from([n?e:i])]),i}e.encrypt=function(t,e,n){for(var o=e.length,a=r.allocUnsafe(o),s=-1;++s<o;)a[s]=i(t,e[s],n);return a}},3053:(t,e,n)=>{var r=n(295),i=n(2861).Buffer,o=n(5122);function a(t){var e=t._cipher.encryptBlockRaw(t._prev);return o(t._prev),e}e.encrypt=function(t,e){var n=Math.ceil(e.length/16),o=t._cache.length;t._cache=i.concat([t._cache,i.allocUnsafe(16*n)]);for(var s=0;s<n;s++){var l=a(t),c=o+16*s;t._cache.writeUInt32BE(l[0],c+0),t._cache.writeUInt32BE(l[1],c+4),t._cache.writeUInt32BE(l[2],c+8),t._cache.writeUInt32BE(l[3],c+12)}var u=t._cache.slice(0,e.length);return t._cache=t._cache.slice(e.length),r(e,u)}},2632:(t,e)=>{e.encrypt=function(t,e){return t._cipher.encryptBlock(e)},e.decrypt=function(t,e){return t._cipher.decryptBlock(e)}},530:(t,e,n)=>{var r={ECB:n(2632),CBC:n(2884),CFB:n(6383),CFB8:n(6975),CFB1:n(5264),OFB:n(6843),CTR:n(3053),GCM:n(3053)},i=n(3219);for(var o in i)i[o].module=r[i[o].mode];t.exports=i},6843:(t,e,n)=>{var r=n(8287).Buffer,i=n(295);function o(t){return t._prev=t._cipher.encryptBlock(t._prev),t._prev}e.encrypt=function(t,e){for(;t._cache.length<e.length;)t._cache=r.concat([t._cache,o(t)]);var n=t._cache.slice(0,e.length);return t._cache=t._cache.slice(e.length),i(e,n)}},650:(t,e,n)=>{var r=n(462),i=n(2861).Buffer,o=n(6168);function a(t,e,n,a){o.call(this),this._cipher=new r.AES(e),this._prev=i.from(n),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._mode=t}n(6698)(a,o),a.prototype._update=function(t){return this._mode.encrypt(this,t,this._decrypt)},a.prototype._final=function(){this._cipher.scrub()},t.exports=a},125:(t,e,n)=>{var r=n(4050),i=n(1241),o=n(530),a=n(2438),s=n(8078);function l(t,e,n){if(t=t.toLowerCase(),o[t])return i.createCipheriv(t,e,n);if(a[t])return new r({key:e,iv:n,mode:t});throw new TypeError("invalid suite type")}function c(t,e,n){if(t=t.toLowerCase(),o[t])return i.createDecipheriv(t,e,n);if(a[t])return new r({key:e,iv:n,mode:t,decrypt:!0});throw new TypeError("invalid suite type")}e.createCipher=e.Cipher=function(t,e){var n,r;if(t=t.toLowerCase(),o[t])n=o[t].key,r=o[t].iv;else{if(!a[t])throw new TypeError("invalid suite type");n=8*a[t].key,r=a[t].iv}var i=s(e,!1,n,r);return l(t,i.key,i.iv)},e.createCipheriv=e.Cipheriv=l,e.createDecipher=e.Decipher=function(t,e){var n,r;if(t=t.toLowerCase(),o[t])n=o[t].key,r=o[t].iv;else{if(!a[t])throw new TypeError("invalid suite type");n=8*a[t].key,r=a[t].iv}var i=s(e,!1,n,r);return c(t,i.key,i.iv)},e.createDecipheriv=e.Decipheriv=c,e.listCiphers=e.getCiphers=function(){return Object.keys(a).concat(i.getCiphers())}},4050:(t,e,n)=>{var r=n(6168),i=n(9560),o=n(6698),a=n(2861).Buffer,s={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};function l(t){r.call(this);var e,n=t.mode.toLowerCase(),i=s[n];e=t.decrypt?"decrypt":"encrypt";var o=t.key;a.isBuffer(o)||(o=a.from(o)),"des-ede"!==n&&"des-ede-cbc"!==n||(o=a.concat([o,o.slice(0,8)]));var l=t.iv;a.isBuffer(l)||(l=a.from(l)),this._des=i.create({key:o,iv:l,type:e})}s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],t.exports=l,o(l,r),l.prototype._update=function(t){return a.from(this._des.update(t))},l.prototype._final=function(){return a.from(this._des.final())}},2438:(t,e)=>{e["des-ecb"]={key:8,iv:0},e["des-cbc"]=e.des={key:8,iv:8},e["des-ede3-cbc"]=e.des3={key:24,iv:8},e["des-ede3"]={key:24,iv:0},e["des-ede-cbc"]={key:16,iv:8},e["des-ede"]={key:16,iv:0}},7332:(t,e,n)=>{var r=n(8287).Buffer,i=n(9404),o=n(3209);function a(t){var e,n=t.modulus.byteLength();do{e=new i(o(n))}while(e.cmp(t.modulus)>=0||!e.umod(t.prime1)||!e.umod(t.prime2));return e}function s(t,e){var n=function(t){var e=a(t);return{blinder:e.toRed(i.mont(t.modulus)).redPow(new i(t.publicExponent)).fromRed(),unblinder:e.invm(t.modulus)}}(e),o=e.modulus.byteLength(),s=new i(t).mul(n.blinder).umod(e.modulus),l=s.toRed(i.mont(e.prime1)),c=s.toRed(i.mont(e.prime2)),u=e.coefficient,h=e.prime1,f=e.prime2,d=l.redPow(e.exponent1).fromRed(),p=c.redPow(e.exponent2).fromRed(),m=d.isub(p).imul(u).umod(h).imul(f);return p.iadd(m).imul(n.unblinder).umod(e.modulus).toArrayLike(r,"be",o)}s.getr=a,t.exports=s},5715:(t,e,n)=>{t.exports=n(2951)},20:(t,e,n)=>{var r=n(2861).Buffer,i=n(7108),o=n(6737),a=n(6698),s=n(5359),l=n(4847),c=n(2951);function u(t){o.Writable.call(this);var e=c[t];if(!e)throw new Error("Unknown message digest");this._hashType=e.hash,this._hash=i(e.hash),this._tag=e.id,this._signType=e.sign}function h(t){o.Writable.call(this);var e=c[t];if(!e)throw new Error("Unknown message digest");this._hash=i(e.hash),this._tag=e.id,this._signType=e.sign}function f(t){return new u(t)}function d(t){return new h(t)}Object.keys(c).forEach((function(t){c[t].id=r.from(c[t].id,"hex"),c[t.toLowerCase()]=c[t]})),a(u,o.Writable),u.prototype._write=function(t,e,n){this._hash.update(t),n()},u.prototype.update=function(t,e){return"string"==typeof t&&(t=r.from(t,e)),this._hash.update(t),this},u.prototype.sign=function(t,e){this.end();var n=this._hash.digest(),r=s(n,t,this._hashType,this._signType,this._tag);return e?r.toString(e):r},a(h,o.Writable),h.prototype._write=function(t,e,n){this._hash.update(t),n()},h.prototype.update=function(t,e){return"string"==typeof t&&(t=r.from(t,e)),this._hash.update(t),this},h.prototype.verify=function(t,e,n){"string"==typeof e&&(e=r.from(e,n)),this.end();var i=this._hash.digest();return l(e,i,t,this._signType,this._tag)},t.exports={Sign:f,Verify:d,createSign:f,createVerify:d}},5359:(t,e,n)=>{var r=n(2861).Buffer,i=n(3507),o=n(7332),a=n(6729).ec,s=n(9404),l=n(8170),c=n(4589);function u(t,e,n,o){if((t=r.from(t.toArray())).length<e.byteLength()){var a=r.alloc(e.byteLength()-t.length);t=r.concat([a,t])}var s=n.length,l=function(t,e){t=(t=h(t,e)).mod(e);var n=r.from(t.toArray());if(n.length<e.byteLength()){var i=r.alloc(e.byteLength()-n.length);n=r.concat([i,n])}return n}(n,e),c=r.alloc(s);c.fill(1);var u=r.alloc(s);return u=i(o,u).update(c).update(r.from([0])).update(t).update(l).digest(),c=i(o,u).update(c).digest(),{k:u=i(o,u).update(c).update(r.from([1])).update(t).update(l).digest(),v:c=i(o,u).update(c).digest()}}function h(t,e){var n=new s(t),r=(t.length<<3)-e.bitLength();return r>0&&n.ishrn(r),n}function f(t,e,n){var o,a;do{for(o=r.alloc(0);8*o.length<t.bitLength();)e.v=i(n,e.k).update(e.v).digest(),o=r.concat([o,e.v]);a=h(o,t),e.k=i(n,e.k).update(e.v).update(r.from([0])).digest(),e.v=i(n,e.k).update(e.v).digest()}while(-1!==a.cmp(t));return a}function d(t,e,n,r){return t.toRed(s.mont(n)).redPow(e).fromRed().mod(r)}t.exports=function(t,e,n,i,p){var m=l(e);if(m.curve){if("ecdsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");return function(t,e){var n=c[e.curve.join(".")];if(!n)throw new Error("unknown curve "+e.curve.join("."));var i=new a(n).keyFromPrivate(e.privateKey).sign(t);return r.from(i.toDER())}(t,m)}if("dsa"===m.type){if("dsa"!==i)throw new Error("wrong private key type");return function(t,e,n){for(var i,o=e.params.priv_key,a=e.params.p,l=e.params.q,c=e.params.g,p=new s(0),m=h(t,l).mod(l),g=!1,y=u(o,l,t,n);!1===g;)p=d(c,i=f(l,y,n),a,l),0===(g=i.invm(l).imul(m.add(o.mul(p))).mod(l)).cmpn(0)&&(g=!1,p=new s(0));return function(t,e){t=t.toArray(),e=e.toArray(),128&t[0]&&(t=[0].concat(t)),128&e[0]&&(e=[0].concat(e));var n=[48,t.length+e.length+4,2,t.length];return n=n.concat(t,[2,e.length],e),r.from(n)}(p,g)}(t,m,n)}if("rsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");t=r.concat([p,t]);for(var g=m.modulus.byteLength(),y=[0,1];t.length+y.length+1<g;)y.push(255);y.push(0);for(var w=-1;++w<t.length;)y.push(t[w]);return o(y,m)},t.exports.getKey=u,t.exports.makeKey=f},4847:(t,e,n)=>{var r=n(2861).Buffer,i=n(9404),o=n(6729).ec,a=n(8170),s=n(4589);function l(t,e){if(t.cmpn(0)<=0)throw new Error("invalid sig");if(t.cmp(e)>=e)throw new Error("invalid sig")}t.exports=function(t,e,n,c,u){var h=a(n);if("ec"===h.type){if("ecdsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");return function(t,e,n){var r=s[n.data.algorithm.curve.join(".")];if(!r)throw new Error("unknown curve "+n.data.algorithm.curve.join("."));var i=new o(r),a=n.data.subjectPrivateKey.data;return i.verify(e,t,a)}(t,e,h)}if("dsa"===h.type){if("dsa"!==c)throw new Error("wrong public key type");return function(t,e,n){var r=n.data.p,o=n.data.q,s=n.data.g,c=n.data.pub_key,u=a.signature.decode(t,"der"),h=u.s,f=u.r;l(h,o),l(f,o);var d=i.mont(r),p=h.invm(o);return 0===s.toRed(d).redPow(new i(e).mul(p).mod(o)).fromRed().mul(c.toRed(d).redPow(f.mul(p).mod(o)).fromRed()).mod(r).mod(o).cmp(f)}(t,e,h)}if("rsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");e=r.concat([u,e]);for(var f=h.modulus.byteLength(),d=[1],p=0;e.length+d.length+2<f;)d.push(255),p++;d.push(0);for(var m=-1;++m<e.length;)d.push(e[m]);d=r.from(d);var g=i.mont(h.modulus);t=(t=new i(t).toRed(g)).redPow(new i(h.publicExponent)),t=r.from(t.fromRed().toArray());var y=p<8?1:0;for(f=Math.min(t.length,d.length),t.length!==d.length&&(y=1),m=-1;++m<f;)y|=t[m]^d[m];return 0===y}},2686:t=>{"use strict";var e={};function n(t,n,r){r||(r=Error);var i=function(t){var e,r;function i(e,r,i){return t.call(this,function(t,e,r){return"string"==typeof n?n:n(t,e,r)}(e,r,i))||this}return r=t,(e=i).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r,i}(r);i.prototype.name=r.name,i.prototype.code=t,e[t]=i}function r(t,e){if(Array.isArray(t)){var n=t.length;return t=t.map((function(t){return String(t)})),n>2?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:2===n?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}n("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),n("ERR_INVALID_ARG_TYPE",(function(t,e,n){var i,o,a,s,l;if("string"==typeof e&&(o="not ",e.substr(0,4)===o)?(i="must not be",e=e.replace(/^not /,"")):i="must be",function(t,e,n){return(void 0===n||n>t.length)&&(n=t.length),t.substring(n-9,n)===e}(t," argument"))a="The ".concat(t," ").concat(i," ").concat(r(e,"type"));else{var c=("number"!=typeof l&&(l=0),l+1>(s=t).length||-1===s.indexOf(".",l)?"argument":"property");a='The "'.concat(t,'" ').concat(c," ").concat(i," ").concat(r(e,"type"))}return a+". Received type ".concat(typeof n)}),TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.F=e},6248:(t,e,n)=>{"use strict";var r=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=c;var i=n(206),o=n(7314);n(6698)(c,i);for(var a=r(o.prototype),s=0;s<a.length;s++){var l=a[s];c.prototype[l]||(c.prototype[l]=o.prototype[l])}function c(t){if(!(this instanceof c))return new c(t);i.call(this,t),o.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",u)))}function u(){this._writableState.ended||{env:{}}.nextTick(h,this)}function h(t){t.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}})},5242:(t,e,n)=>{"use strict";t.exports=i;var r=n(1816);function i(t){if(!(this instanceof i))return new i(t);r.call(this,t)}n(6698)(i,r),i.prototype._transform=function(t,e,n){n(null,t)}},206:(t,e,n)=>{"use strict";var r;t.exports=M,M.ReadableState=A,n(7007).EventEmitter;var i,o=function(t,e){return t.listeners(e).length},a=n(5567),s=n(8287).Buffer,l=(void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},c=n(2668);i=c&&c.debuglog?c.debuglog("stream"):function(){};var u,h,f,d=n(2851),p=n(6278),m=n(7385).getHighWaterMark,g=n(2686).F,y=g.ERR_INVALID_ARG_TYPE,w=g.ERR_STREAM_PUSH_AFTER_EOF,b=g.ERR_METHOD_NOT_IMPLEMENTED,v=g.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n(6698)(M,a);var E=p.errorOrDestroy,_=["error","close","destroy","pause","resume"];function A(t,e,i){r=r||n(6248),t=t||{},"boolean"!=typeof i&&(i=e instanceof r),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=m(this,t,"readableHighWaterMark",i),this.buffer=new d,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!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(u||(u=n(3141).I),this.decoder=new u(t.encoding),this.encoding=t.encoding)}function M(t){if(r=r||n(6248),!(this instanceof M))return new M(t);var e=this instanceof r;this._readableState=new A(t,this,e),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),a.call(this)}function T(t,e,n,r,o){i("readableAddChunk",e);var a,c=t._readableState;if(null===e)c.reading=!1,function(t,e){if(i("onEofChunk"),!e.ended){if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,e.sync?C(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,D(t)))}}(t,c);else if(o||(a=function(t,e){var n,r;return r=e,s.isBuffer(r)||r instanceof l||"string"==typeof e||void 0===e||t.objectMode||(n=new y("chunk",["string","Buffer","Uint8Array"],e)),n}(c,e)),a)E(t,a);else if(c.objectMode||e&&e.length>0)if("string"==typeof e||c.objectMode||Object.getPrototypeOf(e)===s.prototype||(e=function(t){return s.from(t)}(e)),r)c.endEmitted?E(t,new v):x(t,c,e,!0);else if(c.ended)E(t,new w);else{if(c.destroyed)return!1;c.reading=!1,c.decoder&&!n?(e=c.decoder.write(e),c.objectMode||0!==e.length?x(t,c,e,!1):I(t,c)):x(t,c,e,!1)}else r||(c.reading=!1,I(t,c));return!c.ended&&(c.length<c.highWaterMark||0===c.length)}function x(t,e,n,r){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",n)):(e.length+=e.objectMode?1:n.length,r?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&C(t)),I(t,e)}Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),M.prototype.destroy=p.destroy,M.prototype._undestroy=p.undestroy,M.prototype._destroy=function(t,e){e(t)},M.prototype.push=function(t,e){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof t&&((e=e||r.defaultEncoding)!==r.encoding&&(t=s.from(t,e),e=""),n=!0),T(this,t,e,!1,n)},M.prototype.unshift=function(t){return T(this,t,null,!0,!1)},M.prototype.isPaused=function(){return!1===this._readableState.flowing},M.prototype.setEncoding=function(t){u||(u=n(3141).I);var e=new u(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i="";null!==r;)i+=e.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var S=1073741824;function k(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=S?t=S:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function C(t){var e=t._readableState;i("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(i("emitReadable",e.flowing),e.emittedReadable=!0,{env:{}}.nextTick(D,t))}function D(t){var e=t._readableState;i("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,P(t)}function I(t,e){e.readingMore||(e.readingMore=!0,{env:{}}.nextTick(R,t,e))}function R(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length);){var n=e.length;if(i("maybeReadMore read 0"),t.read(0),n===e.length)break}e.readingMore=!1}function N(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function O(t){i("readable nexttick read 0"),t.read(0)}function L(t,e){i("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),P(t),e.flowing&&!e.reading&&t.read(0)}function P(t){var e=t._readableState;for(i("flow",e.flowing);e.flowing&&null!==t.read(););}function F(t,e){return 0===e.length?null:(e.objectMode?n=e.buffer.shift():!t||t>=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):n=e.buffer.consume(t,e.decoder),n);var n}function B(t){var e=t._readableState;i("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,{env:{}}.nextTick(U,e,t))}function U(t,e){if(i("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var n=e._writableState;(!n||n.autoDestroy&&n.finished)&&e.destroy()}}function j(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}M.prototype.read=function(t){i("read",t),t=parseInt(t,10);var e=this._readableState,n=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&((0!==e.highWaterMark?e.length>=e.highWaterMark:e.length>0)||e.ended))return i("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?B(this):C(this),null;if(0===(t=k(t,e))&&e.ended)return 0===e.length&&B(this),null;var r,o=e.needReadable;return i("need readable",o),(0===e.length||e.length-t<e.highWaterMark)&&i("length less than watermark",o=!0),e.ended||e.reading?i("reading or ended",o=!1):o&&(i("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=k(n,e))),null===(r=t>0?F(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&B(this)),null!==r&&this.emit("data",r),r},M.prototype._read=function(t){E(this,new b("_read()"))},M.prototype.pipe=function(t,e){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=t;break;case 1:r.pipes=[r.pipes,t];break;default:r.pipes.push(t)}r.pipesCount+=1,i("pipe count=%d opts=%j",r.pipesCount,e);var a=e&&!1===e.end||t==={env:{}}.stdout||t==={env:{}}.stderr?p:s;function s(){i("onend"),t.end()}r.endEmitted?{env:{}}.nextTick(a):n.once("end",a),t.on("unpipe",(function e(o,a){i("onunpipe"),o===n&&a&&!1===a.hasUnpiped&&(a.hasUnpiped=!0,i("cleanup"),t.removeListener("close",f),t.removeListener("finish",d),t.removeListener("drain",l),t.removeListener("error",h),t.removeListener("unpipe",e),n.removeListener("end",s),n.removeListener("end",p),n.removeListener("data",u),c=!0,!r.awaitDrain||t._writableState&&!t._writableState.needDrain||l())}));var l=function(t){return function(){var e=t._readableState;i("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&o(t,"data")&&(e.flowing=!0,P(t))}}(n);t.on("drain",l);var c=!1;function u(e){i("ondata");var o=t.write(e);i("dest.write",o),!1===o&&((1===r.pipesCount&&r.pipes===t||r.pipesCount>1&&-1!==j(r.pipes,t))&&!c&&(i("false write response, pause",r.awaitDrain),r.awaitDrain++),n.pause())}function h(e){i("onerror",e),p(),t.removeListener("error",h),0===o(t,"error")&&E(t,e)}function f(){t.removeListener("finish",d),p()}function d(){i("onfinish"),t.removeListener("close",f),p()}function p(){i("unpipe"),n.unpipe(t)}return n.on("data",u),function(t,e,n){if("function"==typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}(t,"error",h),t.once("close",f),t.once("finish",d),t.emit("pipe",n),r.flowing||(i("pipe resume"),n.resume()),t},M.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var r=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=j(e.pipes,t);return-1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,n)),this},M.prototype.on=function(t,e){var n=a.prototype.on.call(this,t,e),r=this._readableState;return"data"===t?(r.readableListening=this.listenerCount("readable")>0,!1!==r.flowing&&this.resume()):"readable"===t&&(r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,i("on readable",r.length,r.reading),r.length?C(this):r.reading||{env:{}}.nextTick(O,this))),n},M.prototype.addListener=M.prototype.on,M.prototype.removeListener=function(t,e){var n=a.prototype.removeListener.call(this,t,e);return"readable"===t&&{env:{}}.nextTick(N,this),n},M.prototype.removeAllListeners=function(t){var e=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||{env:{}}.nextTick(N,this),e},M.prototype.resume=function(){var t=this._readableState;return t.flowing||(i("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,{env:{}}.nextTick(L,t,e))}(this,t)),t.paused=!1,this},M.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},M.prototype.wrap=function(t){var e=this,n=this._readableState,r=!1;for(var o in t.on("end",(function(){if(i("wrapped end"),n.decoder&&!n.ended){var t=n.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(o){i("wrapped data"),n.decoder&&(o=n.decoder.write(o)),n.objectMode&&null==o||(n.objectMode||o&&o.length)&&(e.push(o)||(r=!0,t.pause()))})),t)void 0===this[o]&&"function"==typeof t[o]&&(this[o]=function(e){return function(){return t[e].apply(t,arguments)}}(o));for(var a=0;a<_.length;a++)t.on(_[a],this.emit.bind(this,_[a]));return this._read=function(e){i("wrapped _read",e),r&&(r=!1,t.resume())},this},"function"==typeof Symbol&&(M.prototype[Symbol.asyncIterator]=function(){return void 0===h&&(h=n(2485)),h(this)}),Object.defineProperty(M.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(M.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(M.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),M._fromList=F,Object.defineProperty(M.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(M.from=function(t,e){return void 0===f&&(f=n(8591)),f(M,t,e)})},1816:(t,e,n)=>{"use strict";t.exports=u;var r=n(2686).F,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=r.ERR_TRANSFORM_WITH_LENGTH_0,l=n(6248);function c(t,e){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=e&&this.push(e),r(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function u(t){if(!(this instanceof u))return new u(t);l.call(this,t),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",h)}function h(){var t=this;"function"!=typeof this._flush||this._readableState.destroyed?f(this,null,null):this._flush((function(e,n){f(t,e,n)}))}function f(t,e,n){if(e)return t.emit("error",e);if(null!=n&&t.push(n),t._writableState.length)throw new s;if(t._transformState.transforming)throw new a;return t.push(null)}n(6698)(u,l),u.prototype.push=function(t,e){return this._transformState.needTransform=!1,l.prototype.push.call(this,t,e)},u.prototype._transform=function(t,e,n){n(new i("_transform()"))},u.prototype._write=function(t,e,n){var r=this._transformState;if(r.writecb=n,r.writechunk=t,r.writeencoding=e,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},u.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},u.prototype._destroy=function(t,e){l.prototype._destroy.call(this,t,(function(t){e(t)}))}},7314:(t,e,n)=>{"use strict";function r(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,n){var r=t.entry;for(t.entry=null;r;){var i=r.callback;e.pendingcb--,i(undefined),r=r.next}e.corkedRequestsFree.next=t}(e,t)}}var i;t.exports=M,M.WritableState=A;var o,a={deprecate:n(4643)},s=n(5567),l=n(8287).Buffer,c=(void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},u=n(6278),h=n(7385).getHighWaterMark,f=n(2686).F,d=f.ERR_INVALID_ARG_TYPE,p=f.ERR_METHOD_NOT_IMPLEMENTED,m=f.ERR_MULTIPLE_CALLBACK,g=f.ERR_STREAM_CANNOT_PIPE,y=f.ERR_STREAM_DESTROYED,w=f.ERR_STREAM_NULL_VALUES,b=f.ERR_STREAM_WRITE_AFTER_END,v=f.ERR_UNKNOWN_ENCODING,E=u.errorOrDestroy;function _(){}function A(t,e,o){i=i||n(6248),t=t||{},"boolean"!=typeof o&&(o=e instanceof i),this.objectMode=!!t.objectMode,o&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=h(this,t,"writableHighWaterMark",o),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===t.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var n=t._writableState,r=n.sync,i=n.writecb;if("function"!=typeof i)throw new m;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),e)!function(t,e,n,r,i){--e.pendingcb,n?({env:{}}.nextTick(i,r),{env:{}}.nextTick(D,t,e),t._writableState.errorEmitted=!0,E(t,r)):(i(r),t._writableState.errorEmitted=!0,E(t,r),D(t,e))}(t,n,r,e,i);else{var o=k(n)||t.destroyed;o||n.corked||n.bufferProcessing||!n.bufferedRequest||S(t,n),r?{env:{}}.nextTick(x,t,n,o,i):x(t,n,o,i)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}function M(t){var e=this instanceof(i=i||n(6248));if(!e&&!o.call(M,this))return new M(t);this._writableState=new A(t,this,e),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),s.call(this)}function T(t,e,n,r,i,o,a){e.writelen=r,e.writecb=a,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new y("write")):n?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function x(t,e,n,r){n||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,r(),D(t,e)}function S(t,e){e.bufferProcessing=!0;var n=e.bufferedRequest;if(t._writev&&n&&n.next){var i=e.bufferedRequestCount,o=new Array(i),a=e.corkedRequestsFree;a.entry=n;for(var s=0,l=!0;n;)o[s]=n,n.isBuf||(l=!1),n=n.next,s+=1;o.allBuffers=l,T(t,e,!0,e.length,o,"",a.finish),e.pendingcb++,e.lastBufferedRequest=null,a.next?(e.corkedRequestsFree=a.next,a.next=null):e.corkedRequestsFree=new r(e),e.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,u=n.encoding,h=n.callback;if(T(t,e,!1,e.objectMode?1:c.length,c,u,h),n=n.next,e.bufferedRequestCount--,e.writing)break}null===n&&(e.lastBufferedRequest=null)}e.bufferedRequest=n,e.bufferProcessing=!1}function k(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function C(t,e){t._final((function(n){e.pendingcb--,n&&E(t,n),e.prefinished=!0,t.emit("prefinish"),D(t,e)}))}function D(t,e){var n=k(e);if(n&&(function(t,e){e.prefinished||e.finalCalled||("function"!=typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,{env:{}}.nextTick(C,t,e)))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var r=t._readableState;(!r||r.autoDestroy&&r.endEmitted)&&t.destroy()}return n}n(6698)(M,s),A.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(A.prototype,"buffer",{get:a.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(o=Function.prototype[Symbol.hasInstance],Object.defineProperty(M,Symbol.hasInstance,{value:function(t){return!!o.call(this,t)||this===M&&t&&t._writableState instanceof A}})):o=function(t){return t instanceof this},M.prototype.pipe=function(){E(this,new g)},M.prototype.write=function(t,e,n){var r,i=this._writableState,o=!1,a=!i.objectMode&&(r=t,l.isBuffer(r)||r instanceof c);return a&&!l.isBuffer(t)&&(t=function(t){return l.from(t)}(t)),"function"==typeof e&&(n=e,e=null),a?e="buffer":e||(e=i.defaultEncoding),"function"!=typeof n&&(n=_),i.ending?function(t,e){var n=new b;E(t,n),{env:{}}.nextTick(e,n)}(this,n):(a||function(t,e,n,r){var i;return null===n?i=new w:"string"==typeof n||e.objectMode||(i=new d("chunk",["string","Buffer"],n)),!i||(E(t,i),{env:{}}.nextTick(r,i),!1)}(this,i,t,n))&&(i.pendingcb++,o=function(t,e,n,r,i,o){if(!n){var a=function(t,e,n){return t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=l.from(e,n)),e}(e,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=e.objectMode?1:r.length;e.length+=s;var c=e.length<e.highWaterMark;if(c||(e.needDrain=!0),e.writing||e.corked){var u=e.lastBufferedRequest;e.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},u?u.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else T(t,e,!1,s,r,i,o);return c}(this,i,a,t,e,n)),o},M.prototype.cork=function(){this._writableState.corked++},M.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||S(this,t))},M.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new v(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(M.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(M.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),M.prototype._write=function(t,e,n){n(new p("_write()"))},M.prototype._writev=null,M.prototype.end=function(t,e,n){var r=this._writableState;return"function"==typeof t?(n=t,t=null,e=null):"function"==typeof e&&(n=e,e=null),null!=t&&this.write(t,e),r.corked&&(r.corked=1,this.uncork()),r.ending||function(t,e,n){e.ending=!0,D(t,e),n&&(e.finished?{env:{}}.nextTick(n):t.once("finish",n)),e.ended=!0,t.writable=!1}(this,r,n),this},Object.defineProperty(M.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),M.prototype.destroy=u.destroy,M.prototype._undestroy=u.undestroy,M.prototype._destroy=function(t,e){e(t)}},2485:(t,e,n)=>{"use strict";var r;function i(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(3532),a=Symbol("lastResolve"),s=Symbol("lastReject"),l=Symbol("error"),c=Symbol("ended"),u=Symbol("lastPromise"),h=Symbol("handlePromise"),f=Symbol("stream");function d(t,e){return{value:t,done:e}}function p(t){var e=t[a];if(null!==e){var n=t[f].read();null!==n&&(t[u]=null,t[a]=null,t[s]=null,e(d(n,!1)))}}function m(t){({env:{}}).nextTick(p,t)}var g=Object.getPrototypeOf((function(){})),y=Object.setPrototypeOf((i(r={get stream(){return this[f]},next:function(){var t=this,e=this[l];if(null!==e)return Promise.reject(e);if(this[c])return Promise.resolve(d(void 0,!0));if(this[f].destroyed)return new Promise((function(e,n){({env:{}}).nextTick((function(){t[l]?n(t[l]):e(d(void 0,!0))}))}));var n,r=this[u];if(r)n=new Promise(function(t,e){return function(n,r){t.then((function(){e[c]?n(d(void 0,!0)):e[h](n,r)}),r)}}(r,this));else{var i=this[f].read();if(null!==i)return Promise.resolve(d(i,!1));n=new Promise(this[h])}return this[u]=n,n}},Symbol.asyncIterator,(function(){return this})),i(r,"return",(function(){var t=this;return new Promise((function(e,n){t[f].destroy(null,(function(t){t?n(t):e(d(void 0,!0))}))}))})),r),g);t.exports=function(t){var e,n=Object.create(y,(i(e={},f,{value:t,writable:!0}),i(e,a,{value:null,writable:!0}),i(e,s,{value:null,writable:!0}),i(e,l,{value:null,writable:!0}),i(e,c,{value:t._readableState.endEmitted,writable:!0}),i(e,h,{value:function(t,e){var r=n[f].read();r?(n[u]=null,n[a]=null,n[s]=null,t(d(r,!1))):(n[a]=t,n[s]=e)},writable:!0}),e));return n[u]=null,o(t,(function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=n[s];return null!==e&&(n[u]=null,n[a]=null,n[s]=null,e(t)),void(n[l]=t)}var r=n[a];null!==r&&(n[u]=null,n[a]=null,n[s]=null,r(d(void 0,!0))),n[c]=!0})),t.on("readable",m.bind(null,n)),n}},2851:(t,e,n)=>{"use strict";function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){o(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function o(t,e,n){return(e=s(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,s(r.key),r)}}function s(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}var l=n(8287).Buffer,c=n(1638).inspect,u=c&&c.custom||"inspect";t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}var e,n;return e=t,(n=[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,n=""+e.data;e=e.next;)n+=t+e.data;return n}},{key:"concat",value:function(t){if(0===this.length)return l.alloc(0);for(var e,n,r,i=l.allocUnsafe(t>>>0),o=this.head,a=0;o;)e=o.data,n=i,r=a,l.prototype.copy.call(e,n,r),a+=o.data.length,o=o.next;return i}},{key:"consume",value:function(t,e){var n;return t<this.head.data.length?(n=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):n=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var e=this.head,n=1,r=e.data;for(t-=r.length;e=e.next;){var i=e.data,o=t>i.length?i.length:t;if(o===i.length?r+=i:r+=i.slice(0,t),0==(t-=o)){o===i.length?(++n,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(t){var e=l.allocUnsafe(t),n=this.head,r=1;for(n.data.copy(e),t-=n.data.length;n=n.next;){var i=n.data,o=t>i.length?i.length:t;if(i.copy(e,e.length-t,0,o),0==(t-=o)){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,e}},{key:u,value:function(t,e){return c(this,i(i({},e),{},{depth:0,customInspect:!1}))}}])&&a(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),t}()},6278:t=>{"use strict";function e(t,e){r(t,e),n(t)}function n(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function r(t,e){t.emit("error",e)}t.exports={destroy:function(t,i){var o=this,a=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return a||s?(i?i(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,{env:{}}.nextTick(r,this,t)):{env:{}}.nextTick(r,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!i&&t?o._writableState?o._writableState.errorEmitted?{env:{}}.nextTick(n,o):(o._writableState.errorEmitted=!0,{env:{}}.nextTick(e,o,t)):{env:{}}.nextTick(e,o,t):i?({env:{}}.nextTick(n,o),i(t)):{env:{}}.nextTick(n,o)})),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(t,e){var n=t._readableState,r=t._writableState;n&&n.autoDestroy||r&&r.autoDestroy?t.destroy(e):t.emit("error",e)}}},3532:(t,e,n)=>{"use strict";var r=n(2686).F.ERR_STREAM_PREMATURE_CLOSE;function i(){}t.exports=function t(e,n,o){if("function"==typeof n)return t(e,null,n);n||(n={}),o=function(t){var e=!1;return function(){if(!e){e=!0;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.apply(this,r)}}}(o||i);var a=n.readable||!1!==n.readable&&e.readable,s=n.writable||!1!==n.writable&&e.writable,l=function(){e.writable||u()},c=e._writableState&&e._writableState.finished,u=function(){s=!1,c=!0,a||o.call(e)},h=e._readableState&&e._readableState.endEmitted,f=function(){a=!1,h=!0,s||o.call(e)},d=function(t){o.call(e,t)},p=function(){var t;return a&&!h?(e._readableState&&e._readableState.ended||(t=new r),o.call(e,t)):s&&!c?(e._writableState&&e._writableState.ended||(t=new r),o.call(e,t)):void 0},m=function(){e.req.on("finish",u)};return function(t){return t.setHeader&&"function"==typeof t.abort}(e)?(e.on("complete",u),e.on("abort",p),e.req?m():e.on("request",m)):s&&!e._writableState&&(e.on("end",l),e.on("close",l)),e.on("end",f),e.on("finish",u),!1!==n.error&&e.on("error",d),e.on("close",p),function(){e.removeListener("complete",u),e.removeListener("abort",p),e.removeListener("request",m),e.req&&e.req.removeListener("finish",u),e.removeListener("end",l),e.removeListener("close",l),e.removeListener("finish",u),e.removeListener("end",f),e.removeListener("error",d),e.removeListener("close",p)}}},8591:t=>{t.exports=function(){throw new Error("Readable.from is not available in the browser")}},3440:(t,e,n)=>{"use strict";var r,i=n(2686).F,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(t){if(t)throw t}function l(t){t()}function c(t,e){return t.pipe(e)}t.exports=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var u,h=function(t){return t.length?"function"!=typeof t[t.length-1]?s:t.pop():s}(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new o("streams");var f=e.map((function(t,i){var o=i<e.length-1;return function(t,e,i,o){o=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(o);var s=!1;t.on("close",(function(){s=!0})),void 0===r&&(r=n(3532)),r(t,{readable:e,writable:i},(function(t){if(t)return o(t);s=!0,o()}));var l=!1;return function(e){if(!s&&!l)return l=!0,function(t){return t.setHeader&&"function"==typeof t.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void o(e||new a("pipe"))}}(t,o,i>0,(function(t){u||(u=t),t&&f.forEach(l),o||(f.forEach(l),h(u))}))}));return e.reduce(c)}},7385:(t,e,n)=>{"use strict";var r=n(2686).F.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(t,e,n,i){var o=function(t,e,n){return null!=t.highWaterMark?t.highWaterMark:e?t[n]:null}(e,i,n);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new r(i?n:"highWaterMark",o);return Math.floor(o)}return t.objectMode?16:16384}}},5567:(t,e,n)=>{t.exports=n(7007).EventEmitter},6737:(t,e,n)=>{(e=t.exports=n(206)).Stream=e,e.Readable=e,e.Writable=n(7314),e.Duplex=n(6248),e.Transform=n(1816),e.PassThrough=n(5242),e.finished=n(3532),e.pipeline=n(3440)},295:(t,e,n)=>{var r=n(8287).Buffer;t.exports=function(t,e){for(var n=Math.min(t.length,e.length),i=new r(n),o=0;o<n;++o)i[o]=t[o]^e[o];return i}},8287:(t,e,n)=>{"use strict";const r=n(7526),i=n(251),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=l,e.SlowBuffer=function(t){return+t!=t&&(t=0),l.alloc(+t)},e.INSPECT_MAX_BYTES=50;const a=2147483647;function s(t){if(t>a)throw new RangeError('The value "'+t+'" is invalid for option "size"');const e=new Uint8Array(t);return Object.setPrototypeOf(e,l.prototype),e}function l(t,e,n){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return h(t)}return c(t,e,n)}function c(t,e,n){if("string"==typeof t)return function(t,e){if("string"==typeof e&&""!==e||(e="utf8"),!l.isEncoding(e))throw new TypeError("Unknown encoding: "+e);const n=0|m(t,e);let r=s(n);const i=r.write(t,e);return i!==n&&(r=r.slice(0,i)),r}(t,e);if(ArrayBuffer.isView(t))return function(t){if(X(t,Uint8Array)){const e=new Uint8Array(t);return d(e.buffer,e.byteOffset,e.byteLength)}return f(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(X(t,ArrayBuffer)||t&&X(t.buffer,ArrayBuffer))return d(t,e,n);if("undefined"!=typeof SharedArrayBuffer&&(X(t,SharedArrayBuffer)||t&&X(t.buffer,SharedArrayBuffer)))return d(t,e,n);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=t.valueOf&&t.valueOf();if(null!=r&&r!==t)return l.from(r,e,n);const i=function(t){if(l.isBuffer(t)){const e=0|p(t.length),n=s(e);return 0===n.length||t.copy(n,0,0,e),n}return void 0!==t.length?"number"!=typeof t.length||Z(t.length)?s(0):f(t):"Buffer"===t.type&&Array.isArray(t.data)?f(t.data):void 0}(t);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return l.from(t[Symbol.toPrimitive]("string"),e,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function u(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function h(t){return u(t),s(t<0?0:0|p(t))}function f(t){const e=t.length<0?0:0|p(t.length),n=s(e);for(let r=0;r<e;r+=1)n[r]=255&t[r];return n}function d(t,e,n){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(n||0))throw new RangeError('"length" is outside of buffer bounds');let r;return r=void 0===e&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,e):new Uint8Array(t,e,n),Object.setPrototypeOf(r,l.prototype),r}function p(t){if(t>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|t}function m(t,e){if(l.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||X(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);const n=t.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Y(t).length;default:if(i)return r?-1:K(t).length;e=(""+e).toLowerCase(),i=!0}}function g(t,e,n){let r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return D(this,e,n);case"utf8":case"utf-8":return x(this,e,n);case"ascii":return k(this,e,n);case"latin1":case"binary":return C(this,e,n);case"base64":return T(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function y(t,e,n){const r=t[e];t[e]=t[n],t[n]=r}function w(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),Z(n=+n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=l.from(e,r)),l.isBuffer(e))return 0===e.length?-1:b(t,e,n,r,i);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):b(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function b(t,e,n,r,i){let o,a=1,s=t.length,l=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){let r=-1;for(o=n;o<s;o++)if(c(t,o)===c(e,-1===r?0:o-r)){if(-1===r&&(r=o),o-r+1===l)return r*a}else-1!==r&&(o-=o-r),r=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){let n=!0;for(let r=0;r<l;r++)if(c(t,o+r)!==c(e,r)){n=!1;break}if(n)return o}return-1}function v(t,e,n,r){n=Number(n)||0;const i=t.length-n;r?(r=Number(r))>i&&(r=i):r=i;const o=e.length;let a;for(r>o/2&&(r=o/2),a=0;a<r;++a){const r=parseInt(e.substr(2*a,2),16);if(Z(r))return a;t[n+a]=r}return a}function E(t,e,n,r){return V(K(e,t.length-n),t,n,r)}function _(t,e,n,r){return V(function(t){const e=[];for(let n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,r)}function A(t,e,n,r){return V(Y(e),t,n,r)}function M(t,e,n,r){return V(function(t,e){let n,r,i;const o=[];for(let a=0;a<t.length&&!((e-=2)<0);++a)n=t.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function T(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function x(t,e,n){n=Math.min(t.length,n);const r=[];let i=e;for(;i<n;){const e=t[i];let o=null,a=e>239?4:e>223?3:e>191?2:1;if(i+a<=n){let n,r,s,l;switch(a){case 1:e<128&&(o=e);break;case 2:n=t[i+1],128==(192&n)&&(l=(31&e)<<6|63&n,l>127&&(o=l));break;case 3:n=t[i+1],r=t[i+2],128==(192&n)&&128==(192&r)&&(l=(15&e)<<12|(63&n)<<6|63&r,l>2047&&(l<55296||l>57343)&&(o=l));break;case 4:n=t[i+1],r=t[i+2],s=t[i+3],128==(192&n)&&128==(192&r)&&128==(192&s)&&(l=(15&e)<<18|(63&n)<<12|(63&r)<<6|63&s,l>65535&&l<1114112&&(o=l))}}null===o?(o=65533,a=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=a}return function(t){const e=t.length;if(e<=S)return String.fromCharCode.apply(String,t);let n="",r=0;for(;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=S));return n}(r)}e.kMaxLength=a,l.TYPED_ARRAY_SUPPORT=function(){try{const t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),l.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(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(t,e,n){return c(t,e,n)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(t,e,n){return function(t,e,n){return u(t),t<=0?s(t):void 0!==e?"string"==typeof n?s(t).fill(e,n):s(t).fill(e):s(t)}(t,e,n)},l.allocUnsafe=function(t){return h(t)},l.allocUnsafeSlow=function(t){return h(t)},l.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==l.prototype},l.compare=function(t,e){if(X(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),X(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(t)||!l.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;let n=t.length,r=e.length;for(let i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},l.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return l.alloc(0);let n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;const r=l.allocUnsafe(e);let i=0;for(n=0;n<t.length;++n){let e=t[n];if(X(e,Uint8Array))i+e.length>r.length?(l.isBuffer(e)||(e=l.from(e)),e.copy(r,i)):Uint8Array.prototype.set.call(r,e,i);else{if(!l.isBuffer(e))throw new TypeError('"list" argument must be an Array of Buffers');e.copy(r,i)}i+=e.length}return r},l.byteLength=m,l.prototype._isBuffer=!0,l.prototype.swap16=function(){const t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;e<t;e+=2)y(this,e,e+1);return this},l.prototype.swap32=function(){const t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let e=0;e<t;e+=4)y(this,e,e+3),y(this,e+1,e+2);return this},l.prototype.swap64=function(){const t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let e=0;e<t;e+=8)y(this,e,e+7),y(this,e+1,e+6),y(this,e+2,e+5),y(this,e+3,e+4);return this},l.prototype.toString=function(){const t=this.length;return 0===t?"":0===arguments.length?x(this,0,t):g.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(t){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===l.compare(this,t)},l.prototype.inspect=function(){let t="";const n=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(t+=" ... "),"<Buffer "+t+">"},o&&(l.prototype[o]=l.prototype.inspect),l.prototype.compare=function(t,e,n,r,i){if(X(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;let o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(e>>>=0);const s=Math.min(o,a),c=this.slice(r,i),u=t.slice(e,n);for(let t=0;t<s;++t)if(c[t]!==u[t]){o=c[t],a=u[t];break}return o<a?-1:a<o?1:0},l.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},l.prototype.indexOf=function(t,e,n){return w(this,t,e,n,!0)},l.prototype.lastIndexOf=function(t,e,n){return w(this,t,e,n,!1)},l.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let o=!1;for(;;)switch(r){case"hex":return v(this,t,e,n);case"utf8":case"utf-8":return E(this,t,e,n);case"ascii":case"latin1":case"binary":return _(this,t,e,n);case"base64":return A(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const S=4096;function k(t,e,n){let r="";n=Math.min(t.length,n);for(let i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function C(t,e,n){let r="";n=Math.min(t.length,n);for(let i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function D(t,e,n){const r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);let i="";for(let r=e;r<n;++r)i+=$[t[r]];return i}function I(t,e,n){const r=t.slice(e,n);let i="";for(let t=0;t<r.length-1;t+=2)i+=String.fromCharCode(r[t]+256*r[t+1]);return i}function R(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function N(t,e,n,r,i,o){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function O(t,e,n,r,i){z(e,r,i,t,n,7);let o=Number(e&BigInt(4294967295));t[n++]=o,o>>=8,t[n++]=o,o>>=8,t[n++]=o,o>>=8,t[n++]=o;let a=Number(e>>BigInt(32)&BigInt(4294967295));return t[n++]=a,a>>=8,t[n++]=a,a>>=8,t[n++]=a,a>>=8,t[n++]=a,n}function L(t,e,n,r,i){z(e,r,i,t,n,7);let o=Number(e&BigInt(4294967295));t[n+7]=o,o>>=8,t[n+6]=o,o>>=8,t[n+5]=o,o>>=8,t[n+4]=o;let a=Number(e>>BigInt(32)&BigInt(4294967295));return t[n+3]=a,a>>=8,t[n+2]=a,a>>=8,t[n+1]=a,a>>=8,t[n]=a,n+8}function P(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function F(t,e,n,r,o){return e=+e,n>>>=0,o||P(t,0,n,4),i.write(t,e,n,r,23,4),n+4}function B(t,e,n,r,o){return e=+e,n>>>=0,o||P(t,0,n,8),i.write(t,e,n,r,52,8),n+8}l.prototype.slice=function(t,e){const n=this.length;(t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t);const r=this.subarray(t,e);return Object.setPrototypeOf(r,l.prototype),r},l.prototype.readUintLE=l.prototype.readUIntLE=function(t,e,n){t>>>=0,e>>>=0,n||R(t,e,this.length);let r=this[t],i=1,o=0;for(;++o<e&&(i*=256);)r+=this[t+o]*i;return r},l.prototype.readUintBE=l.prototype.readUIntBE=function(t,e,n){t>>>=0,e>>>=0,n||R(t,e,this.length);let r=this[t+--e],i=1;for(;e>0&&(i*=256);)r+=this[t+--e]*i;return r},l.prototype.readUint8=l.prototype.readUInt8=function(t,e){return t>>>=0,e||R(t,1,this.length),this[t]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(t,e){return t>>>=0,e||R(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(t,e){return t>>>=0,e||R(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(t,e){return t>>>=0,e||R(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(t,e){return t>>>=0,e||R(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readBigUInt64LE=Q((function(t){q(t>>>=0,"offset");const e=this[t],n=this[t+7];void 0!==e&&void 0!==n||W(t,this.length-8);const r=e+256*this[++t]+65536*this[++t]+this[++t]*2**24,i=this[++t]+256*this[++t]+65536*this[++t]+n*2**24;return BigInt(r)+(BigInt(i)<<BigInt(32))})),l.prototype.readBigUInt64BE=Q((function(t){q(t>>>=0,"offset");const e=this[t],n=this[t+7];void 0!==e&&void 0!==n||W(t,this.length-8);const r=e*2**24+65536*this[++t]+256*this[++t]+this[++t],i=this[++t]*2**24+65536*this[++t]+256*this[++t]+n;return(BigInt(r)<<BigInt(32))+BigInt(i)})),l.prototype.readIntLE=function(t,e,n){t>>>=0,e>>>=0,n||R(t,e,this.length);let r=this[t],i=1,o=0;for(;++o<e&&(i*=256);)r+=this[t+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*e)),r},l.prototype.readIntBE=function(t,e,n){t>>>=0,e>>>=0,n||R(t,e,this.length);let r=e,i=1,o=this[t+--r];for(;r>0&&(i*=256);)o+=this[t+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},l.prototype.readInt8=function(t,e){return t>>>=0,e||R(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},l.prototype.readInt16LE=function(t,e){t>>>=0,e||R(t,2,this.length);const n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(t,e){t>>>=0,e||R(t,2,this.length);const n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(t,e){return t>>>=0,e||R(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,e){return t>>>=0,e||R(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readBigInt64LE=Q((function(t){q(t>>>=0,"offset");const e=this[t],n=this[t+7];void 0!==e&&void 0!==n||W(t,this.length-8);const r=this[t+4]+256*this[t+5]+65536*this[t+6]+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(e+256*this[++t]+65536*this[++t]+this[++t]*2**24)})),l.prototype.readBigInt64BE=Q((function(t){q(t>>>=0,"offset");const e=this[t],n=this[t+7];void 0!==e&&void 0!==n||W(t,this.length-8);const r=(e<<24)+65536*this[++t]+256*this[++t]+this[++t];return(BigInt(r)<<BigInt(32))+BigInt(this[++t]*2**24+65536*this[++t]+256*this[++t]+n)})),l.prototype.readFloatLE=function(t,e){return t>>>=0,e||R(t,4,this.length),i.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,e){return t>>>=0,e||R(t,4,this.length),i.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,e){return t>>>=0,e||R(t,8,this.length),i.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,e){return t>>>=0,e||R(t,8,this.length),i.read(this,t,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(t,e,n,r){t=+t,e>>>=0,n>>>=0,r||N(this,t,e,n,Math.pow(2,8*n)-1,0);let i=1,o=0;for(this[e]=255&t;++o<n&&(i*=256);)this[e+o]=t/i&255;return e+n},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(t,e,n,r){t=+t,e>>>=0,n>>>=0,r||N(this,t,e,n,Math.pow(2,8*n)-1,0);let i=n-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+n},l.prototype.writeUint8=l.prototype.writeUInt8=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,1,255,0),this[e]=255&t,e+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},l.prototype.writeBigUInt64LE=Q((function(t,e=0){return O(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeBigUInt64BE=Q((function(t,e=0){return L(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e>>>=0,!r){const r=Math.pow(2,8*n-1);N(this,t,e,n,r-1,-r)}let i=0,o=1,a=0;for(this[e]=255&t;++i<n&&(o*=256);)t<0&&0===a&&0!==this[e+i-1]&&(a=1),this[e+i]=(t/o>>0)-a&255;return e+n},l.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e>>>=0,!r){const r=Math.pow(2,8*n-1);N(this,t,e,n,r-1,-r)}let i=n-1,o=1,a=0;for(this[e+i]=255&t;--i>=0&&(o*=256);)t<0&&0===a&&0!==this[e+i+1]&&(a=1),this[e+i]=(t/o>>0)-a&255;return e+n},l.prototype.writeInt8=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},l.prototype.writeInt16LE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},l.prototype.writeInt16BE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},l.prototype.writeInt32LE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},l.prototype.writeInt32BE=function(t,e,n){return t=+t,e>>>=0,n||N(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},l.prototype.writeBigInt64LE=Q((function(t,e=0){return O(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeBigInt64BE=Q((function(t,e=0){return L(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeFloatLE=function(t,e,n){return F(this,t,e,!0,n)},l.prototype.writeFloatBE=function(t,e,n){return F(this,t,e,!1,n)},l.prototype.writeDoubleLE=function(t,e,n){return B(this,t,e,!0,n)},l.prototype.writeDoubleBE=function(t,e,n){return B(this,t,e,!1,n)},l.prototype.copy=function(t,e,n,r){if(!l.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);const i=r-n;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,n,r):Uint8Array.prototype.set.call(t,this.subarray(n,r),e),i},l.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===t.length){const e=t.charCodeAt(0);("utf8"===r&&e<128||"latin1"===r)&&(t=e)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;let i;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(i=e;i<n;++i)this[i]=t;else{const o=l.isBuffer(t)?t:l.from(t,r),a=o.length;if(0===a)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<n-e;++i)this[i+e]=o[i%a]}return this};const U={};function j(t,e,n){U[t]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${t}]`,this.stack,delete this.name}get code(){return t}set code(t){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:t,writable:!0})}toString(){return`${this.name} [${t}]: ${this.message}`}}}function H(t){let e="",n=t.length;const r="-"===t[0]?1:0;for(;n>=r+4;n-=3)e=`_${t.slice(n-3,n)}${e}`;return`${t.slice(0,n)}${e}`}function z(t,e,n,r,i,o){if(t>n||t<e){const r="bigint"==typeof e?"n":"";let i;throw i=o>3?0===e||e===BigInt(0)?`>= 0${r} and < 2${r} ** ${8*(o+1)}${r}`:`>= -(2${r} ** ${8*(o+1)-1}${r}) and < 2 ** ${8*(o+1)-1}${r}`:`>= ${e}${r} and <= ${n}${r}`,new U.ERR_OUT_OF_RANGE("value",i,t)}!function(t,e,n){q(e,"offset"),void 0!==t[e]&&void 0!==t[e+n]||W(e,t.length-(n+1))}(r,i,o)}function q(t,e){if("number"!=typeof t)throw new U.ERR_INVALID_ARG_TYPE(e,"number",t)}function W(t,e,n){if(Math.floor(t)!==t)throw q(t,n),new U.ERR_OUT_OF_RANGE(n||"offset","an integer",t);if(e<0)throw new U.ERR_BUFFER_OUT_OF_BOUNDS;throw new U.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${e}`,t)}j("ERR_BUFFER_OUT_OF_BOUNDS",(function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),j("ERR_INVALID_ARG_TYPE",(function(t,e){return`The "${t}" argument must be of type number. Received type ${typeof e}`}),TypeError),j("ERR_OUT_OF_RANGE",(function(t,e,n){let r=`The value of "${t}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>2**32?i=H(String(n)):"bigint"==typeof n&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=H(i)),i+="n"),r+=` It must be ${e}. Received ${i}`,r}),RangeError);const G=/[^+/0-9A-Za-z-_]/g;function K(t,e){let n;e=e||1/0;const r=t.length;let i=null;const o=[];for(let a=0;a<r;++a){if(n=t.charCodeAt(a),n>55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Y(t){return r.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(G,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function V(t,e,n,r){let i;for(i=0;i<r&&!(i+n>=e.length||i>=t.length);++i)e[i+n]=t[i];return i}function X(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function Z(t){return t!=t}const $=function(){const t="0123456789abcdef",e=new Array(256);for(let n=0;n<16;++n){const r=16*n;for(let i=0;i<16;++i)e[r+i]=t[n]+t[i]}return e}();function Q(t){return"undefined"==typeof BigInt?J:t}function J(){throw new Error("BigInt not supported")}},8075:(t,e,n)=>{"use strict";var r=n(453),i=n(487),o=i(r("String.prototype.indexOf"));t.exports=function(t,e){var n=r(t,!!e);return"function"==typeof n&&o(t,".prototype.")>-1?i(n):n}},487:(t,e,n)=>{"use strict";var r=n(6743),i=n(453),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||r.call(a,o),l=i("%Object.getOwnPropertyDescriptor%",!0),c=i("%Object.defineProperty%",!0),u=i("%Math.max%");if(c)try{c({},"a",{value:1})}catch(t){c=null}t.exports=function(t){var e=s(r,a,arguments);return l&&c&&l(e,"length").configurable&&c(e,"length",{value:1+u(0,t.length-(arguments.length-1))}),e};var h=function(){return s(r,o,arguments)};c?c(t.exports,"apply",{value:h}):t.exports.apply=h},6168:(t,e,n)=>{var r=n(2861).Buffer,i=n(8310).Transform,o=n(3141).I;function a(t){i.call(this),this.hashMode="string"==typeof t,this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}n(6698)(a,i),a.prototype.update=function(t,e,n){"string"==typeof t&&(t=r.from(t,e));var i=this._update(t);return this.hashMode?this:(n&&(i=this._toString(i,n)),i)},a.prototype.setAutoPadding=function(){},a.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},a.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},a.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},a.prototype._transform=function(t,e,n){var r;try{this.hashMode?this._update(t):this.push(this._update(t))}catch(t){r=t}finally{n(r)}},a.prototype._flush=function(t){var e;try{this.push(this.__final())}catch(t){e=t}t(e)},a.prototype._finalOrDigest=function(t){var e=this.__final()||r.alloc(0);return t&&(e=this._toString(e,t,!0)),e},a.prototype._toString=function(t,e,n){if(this._decoder||(this._decoder=new o(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var r=this._decoder.write(t);return n&&(r+=this._decoder.end()),r},t.exports=a},1324:(t,e,n)=>{var r=n(8287).Buffer,i=n(6729),o=n(2801);t.exports=function(t){return new s(t)};var a={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function s(t){this.curveType=a[t],this.curveType||(this.curveType={name:t}),this.curve=new i.ec(this.curveType.name),this.keys=void 0}function l(t,e,n){Array.isArray(t)||(t=t.toArray());var i=new r(t);if(n&&i.length<n){var o=new r(n-i.length);o.fill(0),i=r.concat([o,i])}return e?i.toString(e):i}a.p224=a.secp224r1,a.p256=a.secp256r1=a.prime256v1,a.p192=a.secp192r1=a.prime192v1,a.p384=a.secp384r1,a.p521=a.secp521r1,s.prototype.generateKeys=function(t,e){return this.keys=this.curve.genKeyPair(),this.getPublicKey(t,e)},s.prototype.computeSecret=function(t,e,n){return e=e||"utf8",r.isBuffer(t)||(t=new r(t,e)),l(this.curve.keyFromPublic(t).getPublic().mul(this.keys.getPrivate()).getX(),n,this.curveType.byteLength)},s.prototype.getPublicKey=function(t,e){var n=this.keys.getPublic("compressed"===e,!0);return"hybrid"===e&&(n[n.length-1]%2?n[0]=7:n[0]=6),l(n,t)},s.prototype.getPrivateKey=function(t){return l(this.keys.getPrivate(),t)},s.prototype.setPublicKey=function(t,e){return e=e||"utf8",r.isBuffer(t)||(t=new r(t,e)),this.keys._importPublic(t),this},s.prototype.setPrivateKey=function(t,e){e=e||"utf8",r.isBuffer(t)||(t=new r(t,e));var n=new o(t);return n=n.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(n),this}},2801:function(t,e,n){!function(t,e){"use strict";function r(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var a;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:n(7965).Buffer}catch(t){}function s(t,e){var n=t.charCodeAt(e);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function l(t,e,n){var r=s(t,n);return n-1>=e&&(r|=s(t,n-1)<<4),r}function c(t,e,n,r){for(var i=0,o=Math.min(t.length,n),a=e;a<o;a++){var s=t.charCodeAt(a)-48;i*=r,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"==typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,n){if("number"==typeof t)return this._initNumber(t,e,n);if("object"==typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),r(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,n):(this._parseBase(t,e,i),"le"===n&&this._initArray(this.toArray(),e,n)))},o.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(r(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initArray=function(t,e,n){if(r("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===n)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,n){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,o=0,a=0;if("be"===n)for(r=t.length-1;r>=e;r-=2)i=l(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(t.length-e)%2==0?e+1:e;r<t.length;r+=2)i=l(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,u=n;u<s;u+=r)l=c(t,u,u+r,e),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==a){var h=1;for(l=c(t,u,t.length,e),u=0;u<a;u++)h*=e;this.imuln(h),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&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},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var u=["","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"],h=[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],f=[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 d(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,l=a/67108864|0;n.words[0]=s;for(var c=1;c<r;c++){for(var u=l>>>26,h=67108863&l,f=Math.min(c,e.length-1),d=Math.max(0,c-t.length+1);d<=f;d++){var p=c-d|0;u+=(a=(i=0|t.words[p])*(o=0|e.words[d])+h)/67108864|0,h=67108863&a}n.words[c]=0|h,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n.strip()}o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],l=(16777215&(s<<i|o)).toString(16);n=0!=(o=s>>>24-i&16777215)||a!==this.length-1?u[6-l.length]+l+n:l+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.toString(16)+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var c=h[t],d=f[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(d).toString(t);n=(p=p.idivn(d)).isZero()?m+n:u[c-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return r(void 0!==a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,l="le"===e,c=new t(o),u=this.clone();if(l){for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),c[s]=a;for(;s<o;s++)c[s]=0}else{for(s=0;s<o-i;s++)c[s]=0;for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),c[o-s-1]=a}return c},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,n=0;return e>=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var n=this._zeroBits(this.words[e]);if(t+=n,26!==n)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return r(0==(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;n<e.length;n++)this.words[n]=this.words[n]&t.words[n];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return r(0==(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;r<n.length;r++)this.words[r]=e.words[r]^n.words[r];if(this!==e)for(;r<e.length;r++)this.words[r]=e.words[r];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return r(0==(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){r("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"==typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,n,r;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o<r.length;o++)e=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<n.length;o++)e=(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a<r.length;a++)o=(e=(0|n.words[a])-(0|r.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<n.length;a++)o=(e=(0|n.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<n.length&&n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this.length=Math.max(this.length,a),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var p=function(t,e,n){var r,i,o,a=t.words,s=e.words,l=n.words,c=0,u=0|a[0],h=8191&u,f=u>>>13,d=0|a[1],p=8191&d,m=d>>>13,g=0|a[2],y=8191&g,w=g>>>13,b=0|a[3],v=8191&b,E=b>>>13,_=0|a[4],A=8191&_,M=_>>>13,T=0|a[5],x=8191&T,S=T>>>13,k=0|a[6],C=8191&k,D=k>>>13,I=0|a[7],R=8191&I,N=I>>>13,O=0|a[8],L=8191&O,P=O>>>13,F=0|a[9],B=8191&F,U=F>>>13,j=0|s[0],H=8191&j,z=j>>>13,q=0|s[1],W=8191&q,G=q>>>13,K=0|s[2],Y=8191&K,V=K>>>13,X=0|s[3],Z=8191&X,$=X>>>13,Q=0|s[4],J=8191&Q,tt=Q>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],lt=8191&st,ct=st>>>13,ut=0|s[8],ht=8191&ut,ft=ut>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;n.negative=t.negative^e.negative,n.length=19;var gt=(c+(r=Math.imul(h,H))|0)+((8191&(i=(i=Math.imul(h,z))+Math.imul(f,H)|0))<<13)|0;c=((o=Math.imul(f,z))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,r=Math.imul(p,H),i=(i=Math.imul(p,z))+Math.imul(m,H)|0,o=Math.imul(m,z);var yt=(c+(r=r+Math.imul(h,W)|0)|0)+((8191&(i=(i=i+Math.imul(h,G)|0)+Math.imul(f,W)|0))<<13)|0;c=((o=o+Math.imul(f,G)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(y,H),i=(i=Math.imul(y,z))+Math.imul(w,H)|0,o=Math.imul(w,z),r=r+Math.imul(p,W)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(m,W)|0,o=o+Math.imul(m,G)|0;var wt=(c+(r=r+Math.imul(h,Y)|0)|0)+((8191&(i=(i=i+Math.imul(h,V)|0)+Math.imul(f,Y)|0))<<13)|0;c=((o=o+Math.imul(f,V)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(v,H),i=(i=Math.imul(v,z))+Math.imul(E,H)|0,o=Math.imul(E,z),r=r+Math.imul(y,W)|0,i=(i=i+Math.imul(y,G)|0)+Math.imul(w,W)|0,o=o+Math.imul(w,G)|0,r=r+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,V)|0;var bt=(c+(r=r+Math.imul(h,Z)|0)|0)+((8191&(i=(i=i+Math.imul(h,$)|0)+Math.imul(f,Z)|0))<<13)|0;c=((o=o+Math.imul(f,$)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(A,H),i=(i=Math.imul(A,z))+Math.imul(M,H)|0,o=Math.imul(M,z),r=r+Math.imul(v,W)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(E,W)|0,o=o+Math.imul(E,G)|0,r=r+Math.imul(y,Y)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(w,Y)|0,o=o+Math.imul(w,V)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,$)|0)+Math.imul(m,Z)|0,o=o+Math.imul(m,$)|0;var vt=(c+(r=r+Math.imul(h,J)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(f,J)|0))<<13)|0;c=((o=o+Math.imul(f,tt)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(x,H),i=(i=Math.imul(x,z))+Math.imul(S,H)|0,o=Math.imul(S,z),r=r+Math.imul(A,W)|0,i=(i=i+Math.imul(A,G)|0)+Math.imul(M,W)|0,o=o+Math.imul(M,G)|0,r=r+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(E,Y)|0,o=o+Math.imul(E,V)|0,r=r+Math.imul(y,Z)|0,i=(i=i+Math.imul(y,$)|0)+Math.imul(w,Z)|0,o=o+Math.imul(w,$)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,J)|0,o=o+Math.imul(m,tt)|0;var Et=(c+(r=r+Math.imul(h,nt)|0)|0)+((8191&(i=(i=i+Math.imul(h,rt)|0)+Math.imul(f,nt)|0))<<13)|0;c=((o=o+Math.imul(f,rt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(C,H),i=(i=Math.imul(C,z))+Math.imul(D,H)|0,o=Math.imul(D,z),r=r+Math.imul(x,W)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(S,W)|0,o=o+Math.imul(S,G)|0,r=r+Math.imul(A,Y)|0,i=(i=i+Math.imul(A,V)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(v,Z)|0,i=(i=i+Math.imul(v,$)|0)+Math.imul(E,Z)|0,o=o+Math.imul(E,$)|0,r=r+Math.imul(y,J)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(m,nt)|0,o=o+Math.imul(m,rt)|0;var _t=(c+(r=r+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(f,ot)|0))<<13)|0;c=((o=o+Math.imul(f,at)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(R,H),i=(i=Math.imul(R,z))+Math.imul(N,H)|0,o=Math.imul(N,z),r=r+Math.imul(C,W)|0,i=(i=i+Math.imul(C,G)|0)+Math.imul(D,W)|0,o=o+Math.imul(D,G)|0,r=r+Math.imul(x,Y)|0,i=(i=i+Math.imul(x,V)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,V)|0,r=r+Math.imul(A,Z)|0,i=(i=i+Math.imul(A,$)|0)+Math.imul(M,Z)|0,o=o+Math.imul(M,$)|0,r=r+Math.imul(v,J)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(E,J)|0,o=o+Math.imul(E,tt)|0,r=r+Math.imul(y,nt)|0,i=(i=i+Math.imul(y,rt)|0)+Math.imul(w,nt)|0,o=o+Math.imul(w,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var At=(c+(r=r+Math.imul(h,lt)|0)|0)+((8191&(i=(i=i+Math.imul(h,ct)|0)+Math.imul(f,lt)|0))<<13)|0;c=((o=o+Math.imul(f,ct)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(L,H),i=(i=Math.imul(L,z))+Math.imul(P,H)|0,o=Math.imul(P,z),r=r+Math.imul(R,W)|0,i=(i=i+Math.imul(R,G)|0)+Math.imul(N,W)|0,o=o+Math.imul(N,G)|0,r=r+Math.imul(C,Y)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(x,Z)|0,i=(i=i+Math.imul(x,$)|0)+Math.imul(S,Z)|0,o=o+Math.imul(S,$)|0,r=r+Math.imul(A,J)|0,i=(i=i+Math.imul(A,tt)|0)+Math.imul(M,J)|0,o=o+Math.imul(M,tt)|0,r=r+Math.imul(v,nt)|0,i=(i=i+Math.imul(v,rt)|0)+Math.imul(E,nt)|0,o=o+Math.imul(E,rt)|0,r=r+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,r=r+Math.imul(p,lt)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(m,lt)|0,o=o+Math.imul(m,ct)|0;var Mt=(c+(r=r+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,ft)|0)+Math.imul(f,ht)|0))<<13)|0;c=((o=o+Math.imul(f,ft)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(B,H),i=(i=Math.imul(B,z))+Math.imul(U,H)|0,o=Math.imul(U,z),r=r+Math.imul(L,W)|0,i=(i=i+Math.imul(L,G)|0)+Math.imul(P,W)|0,o=o+Math.imul(P,G)|0,r=r+Math.imul(R,Y)|0,i=(i=i+Math.imul(R,V)|0)+Math.imul(N,Y)|0,o=o+Math.imul(N,V)|0,r=r+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,$)|0)+Math.imul(D,Z)|0,o=o+Math.imul(D,$)|0,r=r+Math.imul(x,J)|0,i=(i=i+Math.imul(x,tt)|0)+Math.imul(S,J)|0,o=o+Math.imul(S,tt)|0,r=r+Math.imul(A,nt)|0,i=(i=i+Math.imul(A,rt)|0)+Math.imul(M,nt)|0,o=o+Math.imul(M,rt)|0,r=r+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(E,ot)|0,o=o+Math.imul(E,at)|0,r=r+Math.imul(y,lt)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(w,lt)|0,o=o+Math.imul(w,ct)|0,r=r+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,ft)|0)+Math.imul(m,ht)|0,o=o+Math.imul(m,ft)|0;var Tt=(c+(r=r+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,mt)|0)+Math.imul(f,pt)|0))<<13)|0;c=((o=o+Math.imul(f,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(B,W),i=(i=Math.imul(B,G))+Math.imul(U,W)|0,o=Math.imul(U,G),r=r+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(P,Y)|0,o=o+Math.imul(P,V)|0,r=r+Math.imul(R,Z)|0,i=(i=i+Math.imul(R,$)|0)+Math.imul(N,Z)|0,o=o+Math.imul(N,$)|0,r=r+Math.imul(C,J)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(D,J)|0,o=o+Math.imul(D,tt)|0,r=r+Math.imul(x,nt)|0,i=(i=i+Math.imul(x,rt)|0)+Math.imul(S,nt)|0,o=o+Math.imul(S,rt)|0,r=r+Math.imul(A,ot)|0,i=(i=i+Math.imul(A,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,r=r+Math.imul(v,lt)|0,i=(i=i+Math.imul(v,ct)|0)+Math.imul(E,lt)|0,o=o+Math.imul(E,ct)|0,r=r+Math.imul(y,ht)|0,i=(i=i+Math.imul(y,ft)|0)+Math.imul(w,ht)|0,o=o+Math.imul(w,ft)|0;var xt=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(B,Y),i=(i=Math.imul(B,V))+Math.imul(U,Y)|0,o=Math.imul(U,V),r=r+Math.imul(L,Z)|0,i=(i=i+Math.imul(L,$)|0)+Math.imul(P,Z)|0,o=o+Math.imul(P,$)|0,r=r+Math.imul(R,J)|0,i=(i=i+Math.imul(R,tt)|0)+Math.imul(N,J)|0,o=o+Math.imul(N,tt)|0,r=r+Math.imul(C,nt)|0,i=(i=i+Math.imul(C,rt)|0)+Math.imul(D,nt)|0,o=o+Math.imul(D,rt)|0,r=r+Math.imul(x,ot)|0,i=(i=i+Math.imul(x,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,r=r+Math.imul(A,lt)|0,i=(i=i+Math.imul(A,ct)|0)+Math.imul(M,lt)|0,o=o+Math.imul(M,ct)|0,r=r+Math.imul(v,ht)|0,i=(i=i+Math.imul(v,ft)|0)+Math.imul(E,ht)|0,o=o+Math.imul(E,ft)|0;var St=(c+(r=r+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,mt)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,mt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(B,Z),i=(i=Math.imul(B,$))+Math.imul(U,Z)|0,o=Math.imul(U,$),r=r+Math.imul(L,J)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(P,J)|0,o=o+Math.imul(P,tt)|0,r=r+Math.imul(R,nt)|0,i=(i=i+Math.imul(R,rt)|0)+Math.imul(N,nt)|0,o=o+Math.imul(N,rt)|0,r=r+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,r=r+Math.imul(x,lt)|0,i=(i=i+Math.imul(x,ct)|0)+Math.imul(S,lt)|0,o=o+Math.imul(S,ct)|0,r=r+Math.imul(A,ht)|0,i=(i=i+Math.imul(A,ft)|0)+Math.imul(M,ht)|0,o=o+Math.imul(M,ft)|0;var kt=(c+(r=r+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(E,pt)|0))<<13)|0;c=((o=o+Math.imul(E,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(B,J),i=(i=Math.imul(B,tt))+Math.imul(U,J)|0,o=Math.imul(U,tt),r=r+Math.imul(L,nt)|0,i=(i=i+Math.imul(L,rt)|0)+Math.imul(P,nt)|0,o=o+Math.imul(P,rt)|0,r=r+Math.imul(R,ot)|0,i=(i=i+Math.imul(R,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,r=r+Math.imul(C,lt)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(D,lt)|0,o=o+Math.imul(D,ct)|0,r=r+Math.imul(x,ht)|0,i=(i=i+Math.imul(x,ft)|0)+Math.imul(S,ht)|0,o=o+Math.imul(S,ft)|0;var Ct=(c+(r=r+Math.imul(A,pt)|0)|0)+((8191&(i=(i=i+Math.imul(A,mt)|0)+Math.imul(M,pt)|0))<<13)|0;c=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(B,nt),i=(i=Math.imul(B,rt))+Math.imul(U,nt)|0,o=Math.imul(U,rt),r=r+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(P,ot)|0,o=o+Math.imul(P,at)|0,r=r+Math.imul(R,lt)|0,i=(i=i+Math.imul(R,ct)|0)+Math.imul(N,lt)|0,o=o+Math.imul(N,ct)|0,r=r+Math.imul(C,ht)|0,i=(i=i+Math.imul(C,ft)|0)+Math.imul(D,ht)|0,o=o+Math.imul(D,ft)|0;var Dt=(c+(r=r+Math.imul(x,pt)|0)|0)+((8191&(i=(i=i+Math.imul(x,mt)|0)+Math.imul(S,pt)|0))<<13)|0;c=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,r=Math.imul(B,ot),i=(i=Math.imul(B,at))+Math.imul(U,ot)|0,o=Math.imul(U,at),r=r+Math.imul(L,lt)|0,i=(i=i+Math.imul(L,ct)|0)+Math.imul(P,lt)|0,o=o+Math.imul(P,ct)|0,r=r+Math.imul(R,ht)|0,i=(i=i+Math.imul(R,ft)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,ft)|0;var It=(c+(r=r+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,mt)|0)+Math.imul(D,pt)|0))<<13)|0;c=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(B,lt),i=(i=Math.imul(B,ct))+Math.imul(U,lt)|0,o=Math.imul(U,ct),r=r+Math.imul(L,ht)|0,i=(i=i+Math.imul(L,ft)|0)+Math.imul(P,ht)|0,o=o+Math.imul(P,ft)|0;var Rt=(c+(r=r+Math.imul(R,pt)|0)|0)+((8191&(i=(i=i+Math.imul(R,mt)|0)+Math.imul(N,pt)|0))<<13)|0;c=((o=o+Math.imul(N,mt)|0)+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,r=Math.imul(B,ht),i=(i=Math.imul(B,ft))+Math.imul(U,ht)|0,o=Math.imul(U,ft);var Nt=(c+(r=r+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(P,pt)|0))<<13)|0;c=((o=o+Math.imul(P,mt)|0)+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863;var Ot=(c+(r=Math.imul(B,pt))|0)+((8191&(i=(i=Math.imul(B,mt))+Math.imul(U,pt)|0))<<13)|0;return c=((o=Math.imul(U,mt))+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,l[0]=gt,l[1]=yt,l[2]=wt,l[3]=bt,l[4]=vt,l[5]=Et,l[6]=_t,l[7]=At,l[8]=Mt,l[9]=Tt,l[10]=xt,l[11]=St,l[12]=kt,l[13]=Ct,l[14]=Dt,l[15]=It,l[16]=Rt,l[17]=Nt,l[18]=Ot,0!==c&&(l[19]=c,n.length++),n};function m(t,e,n){return(new g).mulp(t,e,n)}function g(t,e){this.x=t,this.y=e}Math.imul||(p=d),o.prototype.mulTo=function(t,e){var n,r=this.length+t.length;return n=10===this.length&&10===t.length?p(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var a=i;i=0;for(var s=67108863&r,l=Math.min(o,e.length-1),c=Math.max(0,o-t.length+1);c<=l;c++){var u=o-c,h=(0|t.words[u])*(0|e.words[c]),f=67108863&h;s=67108863&(f=f+s|0),i+=(a=(a=a+(h/67108864|0)|0)+(f>>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,t,e):m(this,t,e),n},g.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r<t;r++)e[r]=this.revBin(r,n,t);return e},g.prototype.revBin=function(t,e,n){if(0===t||t===n-1)return t;for(var r=0,i=0;i<e;i++)r|=(1&t)<<e-i-1,t>>=1;return r},g.prototype.permute=function(t,e,n,r,i,o){for(var a=0;a<o;a++)r[a]=e[t[a]],i[a]=n[t[a]]},g.prototype.transform=function(t,e,n,r,i,o){this.permute(o,t,e,n,r,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,l=Math.cos(2*Math.PI/s),c=Math.sin(2*Math.PI/s),u=0;u<i;u+=s)for(var h=l,f=c,d=0;d<a;d++){var p=n[u+d],m=r[u+d],g=n[u+d+a],y=r[u+d+a],w=h*g-f*y;y=h*y+f*g,g=w,n[u+d]=p+g,r[u+d]=m+y,n[u+d+a]=p-g,r[u+d+a]=m-y,d!==s&&(w=l*h-c*f,f=l*f+c*h,h=w)}},g.prototype.guessLen13b=function(t,e){var n=1|Math.max(e,t),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},g.prototype.conjugate=function(t,e,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=t[r];t[r]=t[n-r-1],t[n-r-1]=i,i=e[r],e[r]=-e[n-r-1],e[n-r-1]=-i}},g.prototype.normalize13b=function(t,e){for(var n=0,r=0;r<e/2;r++){var i=8192*Math.round(t[2*r+1]/e)+Math.round(t[2*r]/e)+n;t[r]=67108863&i,n=i<67108864?0:i/67108864|0}return t},g.prototype.convert13b=function(t,e,n,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],n[2*a]=8191&o,o>>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)n[a]=0;r(0===o),r(0==(-8192&o))},g.prototype.stub=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=0;return e},g.prototype.mulp=function(t,e,n){var r=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(r),o=this.stub(r),a=new Array(r),s=new Array(r),l=new Array(r),c=new Array(r),u=new Array(r),h=new Array(r),f=n.words;f.length=r,this.convert13b(t.words,t.length,a,r),this.convert13b(e.words,e.length,c,r),this.transform(a,o,s,l,r,i),this.transform(c,o,u,h,r,i);for(var d=0;d<r;d++){var p=s[d]*u[d]-l[d]*h[d];l[d]=s[d]*h[d]+l[d]*u[d],s[d]=p}return this.conjugate(s,l,r),this.transform(s,l,f,o,r,i),this.conjugate(f,o,r),this.normalize13b(f,r),n.negative=t.negative^e.negative,n.length=t.length+e.length,n.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),m(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){r("number"==typeof t),r(t<67108864);for(var e=0,n=0;n<this.length;n++){var i=(0|this.words[n])*t,o=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=o>>>26,this.words[n]=67108863&o}return 0!==e&&(this.words[n]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n<e.length;n++){var r=n/26|0,i=n%26;e[n]=(t.words[r]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r<e.length&&0===e[r];r++,n=n.sqr());if(++r<e.length)for(var i=n.sqr();r<e.length;r++,i=i.sqr())0!==e[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(t){r("number"==typeof t&&t>=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,l=(0|this.words[e])-s<<n;this.words[e]=l|a,a=s>>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return r(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,n){var i;r("number"==typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,l=n;if(i-=a,i=Math.max(0,i),l){for(var c=0;c<a;c++)l.words[c]=this.words[c];l.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var u=0;for(c=this.length-1;c>=0&&(0!==u||c>=i);c--){var h=0|this.words[c];this.words[c]=u<<26-o|h>>>o,u=h&s}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<<e;return!(this.length<=n||!(this.words[n]&i))},o.prototype.imaskn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==e&&n++,this.length=Math.min(n,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return r("number"==typeof t),r(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(r("number"==typeof t),r(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,n){var i,o,a=t.length+n;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+n])+s;var l=(0|t.words[i])*e;s=((o-=67108863&l)>>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)s=(o=(0|this.words[i+n])+s)>>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1];0!=(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,l=r.length-i.length;if("mod"!==e){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var c=0;c<s.length;c++)s.words[c]=0}var u=r.clone()._ishlnsubmul(i,1,l);0===u.negative&&(r=u,s&&(s.words[l]=1));for(var h=l-1;h>=0;h--){var f=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);for(f=Math.min(f/a|0,67108863),r._ishlnsubmul(i,f,h);0!==r.negative;)f--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);s&&(s.words[h]=f)}return s&&s.strip(),r.strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){r(t<=67108863);for(var e=(1<<26)%t,n=0,i=this.length-1;i>=0;i--)n=(e*n+(0|this.words[i]))%t;return n},o.prototype.idivn=function(t){r(t<=67108863);for(var e=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*e;this.words[n]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var u=n.clone(),h=e.clone();!e.isZero();){for(var f=0,d=1;0==(e.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(e.iushrn(f);f-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(u),a.isub(h)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(u),l.isub(h)),s.iushrn(1),l.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(s),a.isub(l)):(n.isub(e),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:n.iushln(c)}},o.prototype._invmp=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),l=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,u=1;0==(e.words[0]&u)&&c<26;++c,u<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var h=0,f=1;0==(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(n.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(s)):(n.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"==typeof t);var e=t%26,n=(t-e)/26,i=1<<e;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,a=n;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)e=1;else{n&&(t=-t),r(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){r<i?e=-1:r>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new A(t)},o.prototype.toRed=function(t){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var y={k256:null,p224:null,p192:null,p25519:null};function w(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(t){if("string"==typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else r(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function M(t){A.call(this,t),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)}w.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},w.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},w.prototype.split=function(t,e){t.iushrn(this.n,0,e)},w.prototype.imulK=function(t){return t.imul(this.k)},i(b,w),b.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i<r;i++)e.words[i]=t.words[i];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&n,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(a&n)<<4|o>>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},b.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n<t.length;n++){var r=0|t.words[n];e+=977*r,t.words[n]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(v,w),i(E,w),i(_,w),_.prototype.imulK=function(t){for(var e=0,n=0;n<t.length;n++){var r=19*(0|t.words[n])+e,i=67108863&r;r>>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(y[t])return y[t];var e;if("k256"===t)e=new b;else if("p224"===t)e=new v;else if("p192"===t)e=new E;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new _}return y[t]=e,e},A.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},A.prototype._verify2=function(t,e){r(0==(t.negative|e.negative),"red works only with positives"),r(t.red&&t.red===e.red,"red works only with red numbers")},A.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},A.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},A.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},A.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},A.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},A.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},A.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},A.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},A.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},A.prototype.isqr=function(t){return this.imul(t,t.clone())},A.prototype.sqr=function(t){return this.mul(t,t)},A.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(r(e%2==1),3===e){var n=this.m.add(new o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,c).cmp(l);)u.redIAdd(l);for(var h=this.pow(u,i),f=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var m=d,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g<p);var y=this.pow(h,new o(1).iushln(p-g-1));f=f.redMul(y),h=y.redSqr(),d=d.redMul(h),p=g}return f},A.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},A.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=t;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],t);var i=n[0],a=0,s=0,l=e.bitLength()%26;for(0===l&&(l=26),r=e.length-1;r>=0;r--){for(var c=e.words[r],u=l-1;u>=0;u--){var h=c>>u&1;i!==n[0]&&(i=this.sqr(i)),0!==h||0!==a?(a<<=1,a|=h,(4==++s||0===r&&0===u)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}l=26}return i},A.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},A.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new M(t)},i(M,A),M.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},M.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},M.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},M.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},M.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t=n.nmd(t),this)},7108:(t,e,n)=>{"use strict";var r=n(6698),i=n(8276),o=n(6011),a=n(2802),s=n(6168);function l(t){s.call(this,"digest"),this._hash=t}r(l,s),l.prototype._update=function(t){this._hash.update(t)},l.prototype._final=function(){return this._hash.digest()},t.exports=function(t){return"md5"===(t=t.toLowerCase())?new i:"rmd160"===t||"ripemd160"===t?new o:new l(a(t))}},320:(t,e,n)=>{var r=n(8276);t.exports=function(t){return(new r).update(t).digest()}},3507:(t,e,n)=>{"use strict";var r=n(6698),i=n(1800),o=n(6168),a=n(2861).Buffer,s=n(320),l=n(6011),c=n(2802),u=a.alloc(128);function h(t,e){o.call(this,"digest"),"string"==typeof e&&(e=a.from(e));var n="sha512"===t||"sha384"===t?128:64;this._alg=t,this._key=e,e.length>n?e=("rmd160"===t?new l:c(t)).update(e).digest():e.length<n&&(e=a.concat([e,u],n));for(var r=this._ipad=a.allocUnsafe(n),i=this._opad=a.allocUnsafe(n),s=0;s<n;s++)r[s]=54^e[s],i[s]=92^e[s];this._hash="rmd160"===t?new l:c(t),this._hash.update(r)}r(h,o),h.prototype._update=function(t){this._hash.update(t)},h.prototype._final=function(){var t=this._hash.digest();return("rmd160"===this._alg?new l:c(this._alg)).update(this._opad).update(t).digest()},t.exports=function(t,e){return"rmd160"===(t=t.toLowerCase())||"ripemd160"===t?new h("rmd160",e):"md5"===t?new i(s,e):new h(t,e)}},1800:(t,e,n)=>{"use strict";var r=n(6698),i=n(2861).Buffer,o=n(6168),a=i.alloc(128),s=64;function l(t,e){o.call(this,"digest"),"string"==typeof e&&(e=i.from(e)),this._alg=t,this._key=e,e.length>s?e=t(e):e.length<s&&(e=i.concat([e,a],s));for(var n=this._ipad=i.allocUnsafe(s),r=this._opad=i.allocUnsafe(s),l=0;l<s;l++)n[l]=54^e[l],r[l]=92^e[l];this._hash=[n]}r(l,o),l.prototype._update=function(t){this._hash.push(t)},l.prototype._final=function(){var t=this._alg(i.concat(this._hash));return this._alg(i.concat([this._opad,t]))},t.exports=l},1565:(t,e,n)=>{"use strict";e.randomBytes=e.rng=e.pseudoRandomBytes=e.prng=n(3209),e.createHash=e.Hash=n(7108),e.createHmac=e.Hmac=n(3507);var r=n(5715),i=Object.keys(r),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);e.getHashes=function(){return o};var a=n(8396);e.pbkdf2=a.pbkdf2,e.pbkdf2Sync=a.pbkdf2Sync;var s=n(125);e.Cipher=s.Cipher,e.createCipher=s.createCipher,e.Cipheriv=s.Cipheriv,e.createCipheriv=s.createCipheriv,e.Decipher=s.Decipher,e.createDecipher=s.createDecipher,e.Decipheriv=s.Decipheriv,e.createDecipheriv=s.createDecipheriv,e.getCiphers=s.getCiphers,e.listCiphers=s.listCiphers;var l=n(5380);e.DiffieHellmanGroup=l.DiffieHellmanGroup,e.createDiffieHellmanGroup=l.createDiffieHellmanGroup,e.getDiffieHellman=l.getDiffieHellman,e.createDiffieHellman=l.createDiffieHellman,e.DiffieHellman=l.DiffieHellman;var c=n(20);e.createSign=c.createSign,e.Sign=c.Sign,e.createVerify=c.createVerify,e.Verify=c.Verify,e.createECDH=n(1324);var u=n(7168);e.publicEncrypt=u.publicEncrypt,e.privateEncrypt=u.privateEncrypt,e.publicDecrypt=u.publicDecrypt,e.privateDecrypt=u.privateDecrypt;var h=n(6983);e.randomFill=h.randomFill,e.randomFillSync=h.randomFillSync,e.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},e.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},9560:(t,e,n)=>{"use strict";e.utils=n(7626),e.Cipher=n(2808),e.DES=n(2211),e.CBC=n(3389),e.EDE=n(5279)},3389:(t,e,n)=>{"use strict";var r=n(3349),i=n(6698),o={};function a(t){r.equal(t.length,8,"Invalid IV length"),this.iv=new Array(8);for(var e=0;e<this.iv.length;e++)this.iv[e]=t[e]}e.instantiate=function(t){function e(e){t.call(this,e),this._cbcInit()}i(e,t);for(var n=Object.keys(o),r=0;r<n.length;r++){var a=n[r];e.prototype[a]=o[a]}return e.create=function(t){return new e(t)},e},o._cbcInit=function(){var t=new a(this.options.iv);this._cbcState=t},o._update=function(t,e,n,r){var i=this._cbcState,o=this.constructor.super_.prototype,a=i.iv;if("encrypt"===this.type){for(var s=0;s<this.blockSize;s++)a[s]^=t[e+s];for(o._update.call(this,a,0,n,r),s=0;s<this.blockSize;s++)a[s]=n[r+s]}else{for(o._update.call(this,t,e,n,r),s=0;s<this.blockSize;s++)n[r+s]^=a[s];for(s=0;s<this.blockSize;s++)a[s]=t[e+s]}}},2808:(t,e,n)=>{"use strict";var r=n(3349);function i(t){this.options=t,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=!1!==t.padding}t.exports=i,i.prototype._init=function(){},i.prototype.update=function(t){return 0===t.length?[]:"decrypt"===this.type?this._updateDecrypt(t):this._updateEncrypt(t)},i.prototype._buffer=function(t,e){for(var n=Math.min(this.buffer.length-this.bufferOff,t.length-e),r=0;r<n;r++)this.buffer[this.bufferOff+r]=t[e+r];return this.bufferOff+=n,n},i.prototype._flushBuffer=function(t,e){return this._update(this.buffer,0,t,e),this.bufferOff=0,this.blockSize},i.prototype._updateEncrypt=function(t){var e=0,n=0,r=(this.bufferOff+t.length)/this.blockSize|0,i=new Array(r*this.blockSize);0!==this.bufferOff&&(e+=this._buffer(t,e),this.bufferOff===this.buffer.length&&(n+=this._flushBuffer(i,n)));for(var o=t.length-(t.length-e)%this.blockSize;e<o;e+=this.blockSize)this._update(t,e,i,n),n+=this.blockSize;for(;e<t.length;e++,this.bufferOff++)this.buffer[this.bufferOff]=t[e];return i},i.prototype._updateDecrypt=function(t){for(var e=0,n=0,r=Math.ceil((this.bufferOff+t.length)/this.blockSize)-1,i=new Array(r*this.blockSize);r>0;r--)e+=this._buffer(t,e),n+=this._flushBuffer(i,n);return e+=this._buffer(t,e),i},i.prototype.final=function(t){var e,n;return t&&(e=this.update(t)),n="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),e?e.concat(n):n},i.prototype._pad=function(t,e){if(0===e)return!1;for(;e<t.length;)t[e++]=0;return!0},i.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var t=new Array(this.blockSize);return this._update(this.buffer,0,t,0),t},i.prototype._unpad=function(t){return t},i.prototype._finalDecrypt=function(){r.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var t=new Array(this.blockSize);return this._flushBuffer(t,0),this._unpad(t)}},2211:(t,e,n)=>{"use strict";var r=n(3349),i=n(6698),o=n(7626),a=n(2808);function s(){this.tmp=new Array(2),this.keys=null}function l(t){a.call(this,t);var e=new s;this._desState=e,this.deriveKeys(e,t.key)}i(l,a),t.exports=l,l.create=function(t){return new l(t)};var c=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];l.prototype.deriveKeys=function(t,e){t.keys=new Array(32),r.equal(e.length,this.blockSize,"Invalid key length");var n=o.readUInt32BE(e,0),i=o.readUInt32BE(e,4);o.pc1(n,i,t.tmp,0),n=t.tmp[0],i=t.tmp[1];for(var a=0;a<t.keys.length;a+=2){var s=c[a>>>1];n=o.r28shl(n,s),i=o.r28shl(i,s),o.pc2(n,i,t.keys,a)}},l.prototype._update=function(t,e,n,r){var i=this._desState,a=o.readUInt32BE(t,e),s=o.readUInt32BE(t,e+4);o.ip(a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],"encrypt"===this.type?this._encrypt(i,a,s,i.tmp,0):this._decrypt(i,a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],o.writeUInt32BE(n,a,r),o.writeUInt32BE(n,s,r+4)},l.prototype._pad=function(t,e){if(!1===this.padding)return!1;for(var n=t.length-e,r=e;r<t.length;r++)t[r]=n;return!0},l.prototype._unpad=function(t){if(!1===this.padding)return t;for(var e=t[t.length-1],n=t.length-e;n<t.length;n++)r.equal(t[n],e);return t.slice(0,t.length-e)},l.prototype._encrypt=function(t,e,n,r,i){for(var a=e,s=n,l=0;l<t.keys.length;l+=2){var c=t.keys[l],u=t.keys[l+1];o.expand(s,t.tmp,0),c^=t.tmp[0],u^=t.tmp[1];var h=o.substitute(c,u),f=s;s=(a^o.permute(h))>>>0,a=f}o.rip(s,a,r,i)},l.prototype._decrypt=function(t,e,n,r,i){for(var a=n,s=e,l=t.keys.length-2;l>=0;l-=2){var c=t.keys[l],u=t.keys[l+1];o.expand(a,t.tmp,0),c^=t.tmp[0],u^=t.tmp[1];var h=o.substitute(c,u),f=a;a=(s^o.permute(h))>>>0,s=f}o.rip(a,s,r,i)}},5279:(t,e,n)=>{"use strict";var r=n(3349),i=n(6698),o=n(2808),a=n(2211);function s(t,e){r.equal(e.length,24,"Invalid key length");var n=e.slice(0,8),i=e.slice(8,16),o=e.slice(16,24);this.ciphers="encrypt"===t?[a.create({type:"encrypt",key:n}),a.create({type:"decrypt",key:i}),a.create({type:"encrypt",key:o})]:[a.create({type:"decrypt",key:o}),a.create({type:"encrypt",key:i}),a.create({type:"decrypt",key:n})]}function l(t){o.call(this,t);var e=new s(this.type,this.options.key);this._edeState=e}i(l,o),t.exports=l,l.create=function(t){return new l(t)},l.prototype._update=function(t,e,n,r){var i=this._edeState;i.ciphers[0]._update(t,e,n,r),i.ciphers[1]._update(n,r,n,r),i.ciphers[2]._update(n,r,n,r)},l.prototype._pad=a.prototype._pad,l.prototype._unpad=a.prototype._unpad},7626:(t,e)=>{"use strict";e.readUInt32BE=function(t,e){return(t[0+e]<<24|t[1+e]<<16|t[2+e]<<8|t[3+e])>>>0},e.writeUInt32BE=function(t,e,n){t[0+n]=e>>>24,t[1+n]=e>>>16&255,t[2+n]=e>>>8&255,t[3+n]=255&e},e.ip=function(t,e,n,r){for(var i=0,o=0,a=6;a>=0;a-=2){for(var s=0;s<=24;s+=8)i<<=1,i|=e>>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=t>>>s+a&1}for(a=6;a>=0;a-=2){for(s=1;s<=25;s+=8)o<<=1,o|=e>>>s+a&1;for(s=1;s<=25;s+=8)o<<=1,o|=t>>>s+a&1}n[r+0]=i>>>0,n[r+1]=o>>>0},e.rip=function(t,e,n,r){for(var i=0,o=0,a=0;a<4;a++)for(var s=24;s>=0;s-=8)i<<=1,i|=e>>>s+a&1,i<<=1,i|=t>>>s+a&1;for(a=4;a<8;a++)for(s=24;s>=0;s-=8)o<<=1,o|=e>>>s+a&1,o<<=1,o|=t>>>s+a&1;n[r+0]=i>>>0,n[r+1]=o>>>0},e.pc1=function(t,e,n,r){for(var i=0,o=0,a=7;a>=5;a--){for(var s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=t>>s+a&1}for(s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1;for(a=1;a<=3;a++){for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1;for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1}for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1;n[r+0]=i>>>0,n[r+1]=o>>>0},e.r28shl=function(t,e){return t<<e&268435455|t>>>28-e};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];e.pc2=function(t,e,r,i){for(var o=0,a=0,s=n.length>>>1,l=0;l<s;l++)o<<=1,o|=t>>>n[l]&1;for(l=s;l<n.length;l++)a<<=1,a|=e>>>n[l]&1;r[i+0]=o>>>0,r[i+1]=a>>>0},e.expand=function(t,e,n){var r=0,i=0;r=(1&t)<<5|t>>>27;for(var o=23;o>=15;o-=4)r<<=6,r|=t>>>o&63;for(o=11;o>=3;o-=4)i|=t>>>o&63,i<<=6;i|=(31&t)<<1|t>>>31,e[n+0]=r>>>0,e[n+1]=i>>>0};var r=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];e.substitute=function(t,e){for(var n=0,i=0;i<4;i++)n<<=4,n|=r[64*i+(t>>>18-6*i&63)];for(i=0;i<4;i++)n<<=4,n|=r[256+64*i+(e>>>18-6*i&63)];return n>>>0};var i=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];e.permute=function(t){for(var e=0,n=0;n<i.length;n++)e<<=1,e|=t>>>i[n]&1;return e>>>0},e.padSplit=function(t,e,n){for(var r=t.toString(2);r.length<e;)r="0"+r;for(var i=[],o=0;o<e;o+=n)i.push(r.slice(o,o+n));return i.join(" ")}},5380:(t,e,n)=>{var r=n(8287).Buffer,i=n(4934),o=n(3241),a=n(4910),s={binary:!0,hex:!0,base64:!0};e.DiffieHellmanGroup=e.createDiffieHellmanGroup=e.getDiffieHellman=function(t){var e=new r(o[t].prime,"hex"),n=new r(o[t].gen,"hex");return new a(e,n)},e.createDiffieHellman=e.DiffieHellman=function t(e,n,o,l){return r.isBuffer(n)||void 0===s[n]?t(e,"binary",n,o):(n=n||"binary",l=l||"binary",o=o||new r([2]),r.isBuffer(o)||(o=new r(o,l)),"number"==typeof e?new a(i(e,o),o,!0):(r.isBuffer(e)||(e=new r(e,n)),new a(e,o,!0)))}},4910:(t,e,n)=>{var r=n(8287).Buffer,i=n(6473),o=new(n(2244)),a=new i(24),s=new i(11),l=new i(10),c=new i(3),u=new i(7),h=n(4934),f=n(3209);function d(t,e){return e=e||"utf8",r.isBuffer(t)||(t=new r(t,e)),this._pub=new i(t),this}function p(t,e){return e=e||"utf8",r.isBuffer(t)||(t=new r(t,e)),this._priv=new i(t),this}t.exports=g;var m={};function g(t,e,n){this.setGenerator(e),this.__prime=new i(t),this._prime=i.mont(this.__prime),this._primeLen=t.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,n?(this.setPublicKey=d,this.setPrivateKey=p):this._primeCode=8}function y(t,e){var n=new r(t.toArray());return e?n.toString(e):n}Object.defineProperty(g.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(t,e){var n=e.toString("hex"),r=[n,t.toString(16)].join("_");if(r in m)return m[r];var i,f=0;if(t.isEven()||!h.simpleSieve||!h.fermatTest(t)||!o.test(t))return f+=1,f+="02"===n||"05"===n?8:4,m[r]=f,f;switch(o.test(t.shrn(1))||(f+=2),n){case"02":t.mod(a).cmp(s)&&(f+=8);break;case"05":(i=t.mod(l)).cmp(c)&&i.cmp(u)&&(f+=8);break;default:f+=4}return m[r]=f,f}(this.__prime,this.__gen)),this._primeCode}}),g.prototype.generateKeys=function(){return this._priv||(this._priv=new i(f(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},g.prototype.computeSecret=function(t){var e=(t=(t=new i(t)).toRed(this._prime)).redPow(this._priv).fromRed(),n=new r(e.toArray()),o=this.getPrime();if(n.length<o.length){var a=new r(o.length-n.length);a.fill(0),n=r.concat([a,n])}return n},g.prototype.getPublicKey=function(t){return y(this._pub,t)},g.prototype.getPrivateKey=function(t){return y(this._priv,t)},g.prototype.getPrime=function(t){return y(this.__prime,t)},g.prototype.getGenerator=function(t){return y(this._gen,t)},g.prototype.setGenerator=function(t,e){return e=e||"utf8",r.isBuffer(t)||(t=new r(t,e)),this.__gen=t,this._gen=new i(t),this}},4934:(t,e,n)=>{var r=n(3209);t.exports=w,w.simpleSieve=g,w.fermatTest=y;var i=n(6473),o=new i(24),a=new(n(2244)),s=new i(1),l=new i(2),c=new i(5),u=(new i(16),new i(8),new i(10)),h=new i(3),f=(new i(7),new i(11)),d=new i(4),p=(new i(12),null);function m(){if(null!==p)return p;var t=[];t[0]=2;for(var e=1,n=3;n<1048576;n+=2){for(var r=Math.ceil(Math.sqrt(n)),i=0;i<e&&t[i]<=r&&n%t[i]!=0;i++);e!==i&&t[i]<=r||(t[e++]=n)}return p=t,t}function g(t){for(var e=m(),n=0;n<e.length;n++)if(0===t.modn(e[n]))return 0===t.cmpn(e[n]);return!0}function y(t){var e=i.mont(t);return 0===l.toRed(e).redPow(t.subn(1)).fromRed().cmpn(1)}function w(t,e){if(t<16)return new i(2===e||5===e?[140,123]:[140,39]);var n,p;for(e=new i(e);;){for(n=new i(r(Math.ceil(t/8)));n.bitLength()>t;)n.ishrn(1);if(n.isEven()&&n.iadd(s),n.testn(1)||n.iadd(l),e.cmp(l)){if(!e.cmp(c))for(;n.mod(u).cmp(h);)n.iadd(d)}else for(;n.mod(o).cmp(f);)n.iadd(d);if(g(p=n.shrn(1))&&g(n)&&y(p)&&y(n)&&a.test(p)&&a.test(n))return n}}},6473:function(t,e,n){!function(t,e){"use strict";function r(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var a;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:n(6089).Buffer}catch(t){}function s(t,e){var n=t.charCodeAt(e);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function l(t,e,n){var r=s(t,n);return n-1>=e&&(r|=s(t,n-1)<<4),r}function c(t,e,n,r){for(var i=0,o=Math.min(t.length,n),a=e;a<o;a++){var s=t.charCodeAt(a)-48;i*=r,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"==typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,n){if("number"==typeof t)return this._initNumber(t,e,n);if("object"==typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),r(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,n):(this._parseBase(t,e,i),"le"===n&&this._initArray(this.toArray(),e,n)))},o.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(r(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initArray=function(t,e,n){if(r("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===n)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,n){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,o=0,a=0;if("be"===n)for(r=t.length-1;r>=e;r-=2)i=l(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(t.length-e)%2==0?e+1:e;r<t.length;r+=2)i=l(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,u=n;u<s;u+=r)l=c(t,u,u+r,e),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==a){var h=1;for(l=c(t,u,t.length,e),u=0;u<a;u++)h*=e;this.imuln(h),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&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},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var u=["","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"],h=[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],f=[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 d(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,l=a/67108864|0;n.words[0]=s;for(var c=1;c<r;c++){for(var u=l>>>26,h=67108863&l,f=Math.min(c,e.length-1),d=Math.max(0,c-t.length+1);d<=f;d++){var p=c-d|0;u+=(a=(i=0|t.words[p])*(o=0|e.words[d])+h)/67108864|0,h=67108863&a}n.words[c]=0|h,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n.strip()}o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],l=(16777215&(s<<i|o)).toString(16);n=0!=(o=s>>>24-i&16777215)||a!==this.length-1?u[6-l.length]+l+n:l+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.toString(16)+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var c=h[t],d=f[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(d).toString(t);n=(p=p.idivn(d)).isZero()?m+n:u[c-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return r(void 0!==a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,l="le"===e,c=new t(o),u=this.clone();if(l){for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),c[s]=a;for(;s<o;s++)c[s]=0}else{for(s=0;s<o-i;s++)c[s]=0;for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),c[o-s-1]=a}return c},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,n=0;return e>=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var n=this._zeroBits(this.words[e]);if(t+=n,26!==n)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return r(0==(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;n<e.length;n++)this.words[n]=this.words[n]&t.words[n];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return r(0==(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;r<n.length;r++)this.words[r]=e.words[r]^n.words[r];if(this!==e)for(;r<e.length;r++)this.words[r]=e.words[r];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return r(0==(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){r("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"==typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,n,r;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o<r.length;o++)e=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<n.length;o++)e=(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a<r.length;a++)o=(e=(0|n.words[a])-(0|r.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<n.length;a++)o=(e=(0|n.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<n.length&&n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this.length=Math.max(this.length,a),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var p=function(t,e,n){var r,i,o,a=t.words,s=e.words,l=n.words,c=0,u=0|a[0],h=8191&u,f=u>>>13,d=0|a[1],p=8191&d,m=d>>>13,g=0|a[2],y=8191&g,w=g>>>13,b=0|a[3],v=8191&b,E=b>>>13,_=0|a[4],A=8191&_,M=_>>>13,T=0|a[5],x=8191&T,S=T>>>13,k=0|a[6],C=8191&k,D=k>>>13,I=0|a[7],R=8191&I,N=I>>>13,O=0|a[8],L=8191&O,P=O>>>13,F=0|a[9],B=8191&F,U=F>>>13,j=0|s[0],H=8191&j,z=j>>>13,q=0|s[1],W=8191&q,G=q>>>13,K=0|s[2],Y=8191&K,V=K>>>13,X=0|s[3],Z=8191&X,$=X>>>13,Q=0|s[4],J=8191&Q,tt=Q>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],lt=8191&st,ct=st>>>13,ut=0|s[8],ht=8191&ut,ft=ut>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;n.negative=t.negative^e.negative,n.length=19;var gt=(c+(r=Math.imul(h,H))|0)+((8191&(i=(i=Math.imul(h,z))+Math.imul(f,H)|0))<<13)|0;c=((o=Math.imul(f,z))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,r=Math.imul(p,H),i=(i=Math.imul(p,z))+Math.imul(m,H)|0,o=Math.imul(m,z);var yt=(c+(r=r+Math.imul(h,W)|0)|0)+((8191&(i=(i=i+Math.imul(h,G)|0)+Math.imul(f,W)|0))<<13)|0;c=((o=o+Math.imul(f,G)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(y,H),i=(i=Math.imul(y,z))+Math.imul(w,H)|0,o=Math.imul(w,z),r=r+Math.imul(p,W)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(m,W)|0,o=o+Math.imul(m,G)|0;var wt=(c+(r=r+Math.imul(h,Y)|0)|0)+((8191&(i=(i=i+Math.imul(h,V)|0)+Math.imul(f,Y)|0))<<13)|0;c=((o=o+Math.imul(f,V)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(v,H),i=(i=Math.imul(v,z))+Math.imul(E,H)|0,o=Math.imul(E,z),r=r+Math.imul(y,W)|0,i=(i=i+Math.imul(y,G)|0)+Math.imul(w,W)|0,o=o+Math.imul(w,G)|0,r=r+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,V)|0;var bt=(c+(r=r+Math.imul(h,Z)|0)|0)+((8191&(i=(i=i+Math.imul(h,$)|0)+Math.imul(f,Z)|0))<<13)|0;c=((o=o+Math.imul(f,$)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(A,H),i=(i=Math.imul(A,z))+Math.imul(M,H)|0,o=Math.imul(M,z),r=r+Math.imul(v,W)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(E,W)|0,o=o+Math.imul(E,G)|0,r=r+Math.imul(y,Y)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(w,Y)|0,o=o+Math.imul(w,V)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,$)|0)+Math.imul(m,Z)|0,o=o+Math.imul(m,$)|0;var vt=(c+(r=r+Math.imul(h,J)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(f,J)|0))<<13)|0;c=((o=o+Math.imul(f,tt)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(x,H),i=(i=Math.imul(x,z))+Math.imul(S,H)|0,o=Math.imul(S,z),r=r+Math.imul(A,W)|0,i=(i=i+Math.imul(A,G)|0)+Math.imul(M,W)|0,o=o+Math.imul(M,G)|0,r=r+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(E,Y)|0,o=o+Math.imul(E,V)|0,r=r+Math.imul(y,Z)|0,i=(i=i+Math.imul(y,$)|0)+Math.imul(w,Z)|0,o=o+Math.imul(w,$)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,J)|0,o=o+Math.imul(m,tt)|0;var Et=(c+(r=r+Math.imul(h,nt)|0)|0)+((8191&(i=(i=i+Math.imul(h,rt)|0)+Math.imul(f,nt)|0))<<13)|0;c=((o=o+Math.imul(f,rt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(C,H),i=(i=Math.imul(C,z))+Math.imul(D,H)|0,o=Math.imul(D,z),r=r+Math.imul(x,W)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(S,W)|0,o=o+Math.imul(S,G)|0,r=r+Math.imul(A,Y)|0,i=(i=i+Math.imul(A,V)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(v,Z)|0,i=(i=i+Math.imul(v,$)|0)+Math.imul(E,Z)|0,o=o+Math.imul(E,$)|0,r=r+Math.imul(y,J)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(m,nt)|0,o=o+Math.imul(m,rt)|0;var _t=(c+(r=r+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(f,ot)|0))<<13)|0;c=((o=o+Math.imul(f,at)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(R,H),i=(i=Math.imul(R,z))+Math.imul(N,H)|0,o=Math.imul(N,z),r=r+Math.imul(C,W)|0,i=(i=i+Math.imul(C,G)|0)+Math.imul(D,W)|0,o=o+Math.imul(D,G)|0,r=r+Math.imul(x,Y)|0,i=(i=i+Math.imul(x,V)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,V)|0,r=r+Math.imul(A,Z)|0,i=(i=i+Math.imul(A,$)|0)+Math.imul(M,Z)|0,o=o+Math.imul(M,$)|0,r=r+Math.imul(v,J)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(E,J)|0,o=o+Math.imul(E,tt)|0,r=r+Math.imul(y,nt)|0,i=(i=i+Math.imul(y,rt)|0)+Math.imul(w,nt)|0,o=o+Math.imul(w,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var At=(c+(r=r+Math.imul(h,lt)|0)|0)+((8191&(i=(i=i+Math.imul(h,ct)|0)+Math.imul(f,lt)|0))<<13)|0;c=((o=o+Math.imul(f,ct)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(L,H),i=(i=Math.imul(L,z))+Math.imul(P,H)|0,o=Math.imul(P,z),r=r+Math.imul(R,W)|0,i=(i=i+Math.imul(R,G)|0)+Math.imul(N,W)|0,o=o+Math.imul(N,G)|0,r=r+Math.imul(C,Y)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(x,Z)|0,i=(i=i+Math.imul(x,$)|0)+Math.imul(S,Z)|0,o=o+Math.imul(S,$)|0,r=r+Math.imul(A,J)|0,i=(i=i+Math.imul(A,tt)|0)+Math.imul(M,J)|0,o=o+Math.imul(M,tt)|0,r=r+Math.imul(v,nt)|0,i=(i=i+Math.imul(v,rt)|0)+Math.imul(E,nt)|0,o=o+Math.imul(E,rt)|0,r=r+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,r=r+Math.imul(p,lt)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(m,lt)|0,o=o+Math.imul(m,ct)|0;var Mt=(c+(r=r+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,ft)|0)+Math.imul(f,ht)|0))<<13)|0;c=((o=o+Math.imul(f,ft)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(B,H),i=(i=Math.imul(B,z))+Math.imul(U,H)|0,o=Math.imul(U,z),r=r+Math.imul(L,W)|0,i=(i=i+Math.imul(L,G)|0)+Math.imul(P,W)|0,o=o+Math.imul(P,G)|0,r=r+Math.imul(R,Y)|0,i=(i=i+Math.imul(R,V)|0)+Math.imul(N,Y)|0,o=o+Math.imul(N,V)|0,r=r+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,$)|0)+Math.imul(D,Z)|0,o=o+Math.imul(D,$)|0,r=r+Math.imul(x,J)|0,i=(i=i+Math.imul(x,tt)|0)+Math.imul(S,J)|0,o=o+Math.imul(S,tt)|0,r=r+Math.imul(A,nt)|0,i=(i=i+Math.imul(A,rt)|0)+Math.imul(M,nt)|0,o=o+Math.imul(M,rt)|0,r=r+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(E,ot)|0,o=o+Math.imul(E,at)|0,r=r+Math.imul(y,lt)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(w,lt)|0,o=o+Math.imul(w,ct)|0,r=r+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,ft)|0)+Math.imul(m,ht)|0,o=o+Math.imul(m,ft)|0;var Tt=(c+(r=r+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,mt)|0)+Math.imul(f,pt)|0))<<13)|0;c=((o=o+Math.imul(f,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(B,W),i=(i=Math.imul(B,G))+Math.imul(U,W)|0,o=Math.imul(U,G),r=r+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(P,Y)|0,o=o+Math.imul(P,V)|0,r=r+Math.imul(R,Z)|0,i=(i=i+Math.imul(R,$)|0)+Math.imul(N,Z)|0,o=o+Math.imul(N,$)|0,r=r+Math.imul(C,J)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(D,J)|0,o=o+Math.imul(D,tt)|0,r=r+Math.imul(x,nt)|0,i=(i=i+Math.imul(x,rt)|0)+Math.imul(S,nt)|0,o=o+Math.imul(S,rt)|0,r=r+Math.imul(A,ot)|0,i=(i=i+Math.imul(A,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,r=r+Math.imul(v,lt)|0,i=(i=i+Math.imul(v,ct)|0)+Math.imul(E,lt)|0,o=o+Math.imul(E,ct)|0,r=r+Math.imul(y,ht)|0,i=(i=i+Math.imul(y,ft)|0)+Math.imul(w,ht)|0,o=o+Math.imul(w,ft)|0;var xt=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(B,Y),i=(i=Math.imul(B,V))+Math.imul(U,Y)|0,o=Math.imul(U,V),r=r+Math.imul(L,Z)|0,i=(i=i+Math.imul(L,$)|0)+Math.imul(P,Z)|0,o=o+Math.imul(P,$)|0,r=r+Math.imul(R,J)|0,i=(i=i+Math.imul(R,tt)|0)+Math.imul(N,J)|0,o=o+Math.imul(N,tt)|0,r=r+Math.imul(C,nt)|0,i=(i=i+Math.imul(C,rt)|0)+Math.imul(D,nt)|0,o=o+Math.imul(D,rt)|0,r=r+Math.imul(x,ot)|0,i=(i=i+Math.imul(x,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,r=r+Math.imul(A,lt)|0,i=(i=i+Math.imul(A,ct)|0)+Math.imul(M,lt)|0,o=o+Math.imul(M,ct)|0,r=r+Math.imul(v,ht)|0,i=(i=i+Math.imul(v,ft)|0)+Math.imul(E,ht)|0,o=o+Math.imul(E,ft)|0;var St=(c+(r=r+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,mt)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,mt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(B,Z),i=(i=Math.imul(B,$))+Math.imul(U,Z)|0,o=Math.imul(U,$),r=r+Math.imul(L,J)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(P,J)|0,o=o+Math.imul(P,tt)|0,r=r+Math.imul(R,nt)|0,i=(i=i+Math.imul(R,rt)|0)+Math.imul(N,nt)|0,o=o+Math.imul(N,rt)|0,r=r+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,r=r+Math.imul(x,lt)|0,i=(i=i+Math.imul(x,ct)|0)+Math.imul(S,lt)|0,o=o+Math.imul(S,ct)|0,r=r+Math.imul(A,ht)|0,i=(i=i+Math.imul(A,ft)|0)+Math.imul(M,ht)|0,o=o+Math.imul(M,ft)|0;var kt=(c+(r=r+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(E,pt)|0))<<13)|0;c=((o=o+Math.imul(E,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(B,J),i=(i=Math.imul(B,tt))+Math.imul(U,J)|0,o=Math.imul(U,tt),r=r+Math.imul(L,nt)|0,i=(i=i+Math.imul(L,rt)|0)+Math.imul(P,nt)|0,o=o+Math.imul(P,rt)|0,r=r+Math.imul(R,ot)|0,i=(i=i+Math.imul(R,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,r=r+Math.imul(C,lt)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(D,lt)|0,o=o+Math.imul(D,ct)|0,r=r+Math.imul(x,ht)|0,i=(i=i+Math.imul(x,ft)|0)+Math.imul(S,ht)|0,o=o+Math.imul(S,ft)|0;var Ct=(c+(r=r+Math.imul(A,pt)|0)|0)+((8191&(i=(i=i+Math.imul(A,mt)|0)+Math.imul(M,pt)|0))<<13)|0;c=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(B,nt),i=(i=Math.imul(B,rt))+Math.imul(U,nt)|0,o=Math.imul(U,rt),r=r+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(P,ot)|0,o=o+Math.imul(P,at)|0,r=r+Math.imul(R,lt)|0,i=(i=i+Math.imul(R,ct)|0)+Math.imul(N,lt)|0,o=o+Math.imul(N,ct)|0,r=r+Math.imul(C,ht)|0,i=(i=i+Math.imul(C,ft)|0)+Math.imul(D,ht)|0,o=o+Math.imul(D,ft)|0;var Dt=(c+(r=r+Math.imul(x,pt)|0)|0)+((8191&(i=(i=i+Math.imul(x,mt)|0)+Math.imul(S,pt)|0))<<13)|0;c=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,r=Math.imul(B,ot),i=(i=Math.imul(B,at))+Math.imul(U,ot)|0,o=Math.imul(U,at),r=r+Math.imul(L,lt)|0,i=(i=i+Math.imul(L,ct)|0)+Math.imul(P,lt)|0,o=o+Math.imul(P,ct)|0,r=r+Math.imul(R,ht)|0,i=(i=i+Math.imul(R,ft)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,ft)|0;var It=(c+(r=r+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,mt)|0)+Math.imul(D,pt)|0))<<13)|0;c=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(B,lt),i=(i=Math.imul(B,ct))+Math.imul(U,lt)|0,o=Math.imul(U,ct),r=r+Math.imul(L,ht)|0,i=(i=i+Math.imul(L,ft)|0)+Math.imul(P,ht)|0,o=o+Math.imul(P,ft)|0;var Rt=(c+(r=r+Math.imul(R,pt)|0)|0)+((8191&(i=(i=i+Math.imul(R,mt)|0)+Math.imul(N,pt)|0))<<13)|0;c=((o=o+Math.imul(N,mt)|0)+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,r=Math.imul(B,ht),i=(i=Math.imul(B,ft))+Math.imul(U,ht)|0,o=Math.imul(U,ft);var Nt=(c+(r=r+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(P,pt)|0))<<13)|0;c=((o=o+Math.imul(P,mt)|0)+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863;var Ot=(c+(r=Math.imul(B,pt))|0)+((8191&(i=(i=Math.imul(B,mt))+Math.imul(U,pt)|0))<<13)|0;return c=((o=Math.imul(U,mt))+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,l[0]=gt,l[1]=yt,l[2]=wt,l[3]=bt,l[4]=vt,l[5]=Et,l[6]=_t,l[7]=At,l[8]=Mt,l[9]=Tt,l[10]=xt,l[11]=St,l[12]=kt,l[13]=Ct,l[14]=Dt,l[15]=It,l[16]=Rt,l[17]=Nt,l[18]=Ot,0!==c&&(l[19]=c,n.length++),n};function m(t,e,n){return(new g).mulp(t,e,n)}function g(t,e){this.x=t,this.y=e}Math.imul||(p=d),o.prototype.mulTo=function(t,e){var n,r=this.length+t.length;return n=10===this.length&&10===t.length?p(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var a=i;i=0;for(var s=67108863&r,l=Math.min(o,e.length-1),c=Math.max(0,o-t.length+1);c<=l;c++){var u=o-c,h=(0|t.words[u])*(0|e.words[c]),f=67108863&h;s=67108863&(f=f+s|0),i+=(a=(a=a+(h/67108864|0)|0)+(f>>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,t,e):m(this,t,e),n},g.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r<t;r++)e[r]=this.revBin(r,n,t);return e},g.prototype.revBin=function(t,e,n){if(0===t||t===n-1)return t;for(var r=0,i=0;i<e;i++)r|=(1&t)<<e-i-1,t>>=1;return r},g.prototype.permute=function(t,e,n,r,i,o){for(var a=0;a<o;a++)r[a]=e[t[a]],i[a]=n[t[a]]},g.prototype.transform=function(t,e,n,r,i,o){this.permute(o,t,e,n,r,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,l=Math.cos(2*Math.PI/s),c=Math.sin(2*Math.PI/s),u=0;u<i;u+=s)for(var h=l,f=c,d=0;d<a;d++){var p=n[u+d],m=r[u+d],g=n[u+d+a],y=r[u+d+a],w=h*g-f*y;y=h*y+f*g,g=w,n[u+d]=p+g,r[u+d]=m+y,n[u+d+a]=p-g,r[u+d+a]=m-y,d!==s&&(w=l*h-c*f,f=l*f+c*h,h=w)}},g.prototype.guessLen13b=function(t,e){var n=1|Math.max(e,t),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},g.prototype.conjugate=function(t,e,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=t[r];t[r]=t[n-r-1],t[n-r-1]=i,i=e[r],e[r]=-e[n-r-1],e[n-r-1]=-i}},g.prototype.normalize13b=function(t,e){for(var n=0,r=0;r<e/2;r++){var i=8192*Math.round(t[2*r+1]/e)+Math.round(t[2*r]/e)+n;t[r]=67108863&i,n=i<67108864?0:i/67108864|0}return t},g.prototype.convert13b=function(t,e,n,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],n[2*a]=8191&o,o>>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)n[a]=0;r(0===o),r(0==(-8192&o))},g.prototype.stub=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=0;return e},g.prototype.mulp=function(t,e,n){var r=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(r),o=this.stub(r),a=new Array(r),s=new Array(r),l=new Array(r),c=new Array(r),u=new Array(r),h=new Array(r),f=n.words;f.length=r,this.convert13b(t.words,t.length,a,r),this.convert13b(e.words,e.length,c,r),this.transform(a,o,s,l,r,i),this.transform(c,o,u,h,r,i);for(var d=0;d<r;d++){var p=s[d]*u[d]-l[d]*h[d];l[d]=s[d]*h[d]+l[d]*u[d],s[d]=p}return this.conjugate(s,l,r),this.transform(s,l,f,o,r,i),this.conjugate(f,o,r),this.normalize13b(f,r),n.negative=t.negative^e.negative,n.length=t.length+e.length,n.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),m(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){r("number"==typeof t),r(t<67108864);for(var e=0,n=0;n<this.length;n++){var i=(0|this.words[n])*t,o=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=o>>>26,this.words[n]=67108863&o}return 0!==e&&(this.words[n]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n<e.length;n++){var r=n/26|0,i=n%26;e[n]=(t.words[r]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r<e.length&&0===e[r];r++,n=n.sqr());if(++r<e.length)for(var i=n.sqr();r<e.length;r++,i=i.sqr())0!==e[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(t){r("number"==typeof t&&t>=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,l=(0|this.words[e])-s<<n;this.words[e]=l|a,a=s>>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return r(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,n){var i;r("number"==typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,l=n;if(i-=a,i=Math.max(0,i),l){for(var c=0;c<a;c++)l.words[c]=this.words[c];l.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var u=0;for(c=this.length-1;c>=0&&(0!==u||c>=i);c--){var h=0|this.words[c];this.words[c]=u<<26-o|h>>>o,u=h&s}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<<e;return!(this.length<=n||!(this.words[n]&i))},o.prototype.imaskn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==e&&n++,this.length=Math.min(n,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return r("number"==typeof t),r(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(r("number"==typeof t),r(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,n){var i,o,a=t.length+n;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+n])+s;var l=(0|t.words[i])*e;s=((o-=67108863&l)>>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)s=(o=(0|this.words[i+n])+s)>>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1];0!=(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,l=r.length-i.length;if("mod"!==e){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var c=0;c<s.length;c++)s.words[c]=0}var u=r.clone()._ishlnsubmul(i,1,l);0===u.negative&&(r=u,s&&(s.words[l]=1));for(var h=l-1;h>=0;h--){var f=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);for(f=Math.min(f/a|0,67108863),r._ishlnsubmul(i,f,h);0!==r.negative;)f--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);s&&(s.words[h]=f)}return s&&s.strip(),r.strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){r(t<=67108863);for(var e=(1<<26)%t,n=0,i=this.length-1;i>=0;i--)n=(e*n+(0|this.words[i]))%t;return n},o.prototype.idivn=function(t){r(t<=67108863);for(var e=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*e;this.words[n]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var u=n.clone(),h=e.clone();!e.isZero();){for(var f=0,d=1;0==(e.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(e.iushrn(f);f-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(u),a.isub(h)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(u),l.isub(h)),s.iushrn(1),l.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(s),a.isub(l)):(n.isub(e),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:n.iushln(c)}},o.prototype._invmp=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),l=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,u=1;0==(e.words[0]&u)&&c<26;++c,u<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var h=0,f=1;0==(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(n.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(s)):(n.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"==typeof t);var e=t%26,n=(t-e)/26,i=1<<e;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,a=n;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)e=1;else{n&&(t=-t),r(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){r<i?e=-1:r>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new A(t)},o.prototype.toRed=function(t){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var y={k256:null,p224:null,p192:null,p25519:null};function w(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(t){if("string"==typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else r(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function M(t){A.call(this,t),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)}w.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},w.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},w.prototype.split=function(t,e){t.iushrn(this.n,0,e)},w.prototype.imulK=function(t){return t.imul(this.k)},i(b,w),b.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i<r;i++)e.words[i]=t.words[i];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&n,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(a&n)<<4|o>>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},b.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n<t.length;n++){var r=0|t.words[n];e+=977*r,t.words[n]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(v,w),i(E,w),i(_,w),_.prototype.imulK=function(t){for(var e=0,n=0;n<t.length;n++){var r=19*(0|t.words[n])+e,i=67108863&r;r>>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(y[t])return y[t];var e;if("k256"===t)e=new b;else if("p224"===t)e=new v;else if("p192"===t)e=new E;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new _}return y[t]=e,e},A.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},A.prototype._verify2=function(t,e){r(0==(t.negative|e.negative),"red works only with positives"),r(t.red&&t.red===e.red,"red works only with red numbers")},A.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},A.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},A.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},A.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},A.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},A.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},A.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},A.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},A.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},A.prototype.isqr=function(t){return this.imul(t,t.clone())},A.prototype.sqr=function(t){return this.mul(t,t)},A.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(r(e%2==1),3===e){var n=this.m.add(new o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,c).cmp(l);)u.redIAdd(l);for(var h=this.pow(u,i),f=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var m=d,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g<p);var y=this.pow(h,new o(1).iushln(p-g-1));f=f.redMul(y),h=y.redSqr(),d=d.redMul(h),p=g}return f},A.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},A.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=t;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],t);var i=n[0],a=0,s=0,l=e.bitLength()%26;for(0===l&&(l=26),r=e.length-1;r>=0;r--){for(var c=e.words[r],u=l-1;u>=0;u--){var h=c>>u&1;i!==n[0]&&(i=this.sqr(i)),0!==h||0!==a?(a<<=1,a|=h,(4==++s||0===r&&0===u)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}l=26}return i},A.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},A.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new M(t)},i(M,A),M.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},M.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},M.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},M.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},M.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t=n.nmd(t),this)},2838:function(t){t.exports=function(){"use strict";const{entries:t,setPrototypeOf:e,isFrozen:n,getPrototypeOf:r,getOwnPropertyDescriptor:i}=Object;let{freeze:o,seal:a,create:s}=Object,{apply:l,construct:c}="undefined"!=typeof Reflect&&Reflect;o||(o=function(t){return t}),a||(a=function(t){return t}),l||(l=function(t,e,n){return t.apply(e,n)}),c||(c=function(t,e){return new t(...e)});const u=A(Array.prototype.forEach),h=A(Array.prototype.pop),f=A(Array.prototype.push),d=A(String.prototype.toLowerCase),p=A(String.prototype.toString),m=A(String.prototype.match),g=A(String.prototype.replace),y=A(String.prototype.indexOf),w=A(String.prototype.trim),b=A(Object.prototype.hasOwnProperty),v=A(RegExp.prototype.test),E=(_=TypeError,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return c(_,e)});var _;function A(t){return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return l(t,e,r)}}function M(t,r){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d;e&&e(t,null);let o=r.length;for(;o--;){let e=r[o];if("string"==typeof e){const t=i(e);t!==e&&(n(r)||(r[o]=t),e=t)}t[e]=!0}return t}function T(t){for(let e=0;e<t.length;e++)b(t,e)||(t[e]=null);return t}function x(e){const n=s(null);for(const[r,i]of t(e))b(e,r)&&(Array.isArray(i)?n[r]=T(i):i&&"object"==typeof i&&i.constructor===Object?n[r]=x(i):n[r]=i);return n}function S(t,e){for(;null!==t;){const n=i(t,e);if(n){if(n.get)return A(n.get);if("function"==typeof n.value)return A(n.value)}t=r(t)}return function(){return null}}const k=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),C=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),D=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),I=o(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),R=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),N=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),O=o(["#text"]),L=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),P=o(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),F=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),B=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),U=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),j=a(/<%[\w\W]*|[\w\W]*%>/gm),H=a(/\${[\w\W]*}/gm),z=a(/^data-[\-\w.\u00B7-\uFFFF]/),q=a(/^aria-[\-\w]+$/),W=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),G=a(/^(?:\w+script|data):/i),K=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Y=a(/^html$/i),V=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var X=Object.freeze({__proto__:null,MUSTACHE_EXPR:U,ERB_EXPR:j,TMPLIT_EXPR:H,DATA_ATTR:z,ARIA_ATTR:q,IS_ALLOWED_URI:W,IS_SCRIPT_OR_DATA:G,ATTR_WHITESPACE:K,DOCTYPE_NAME:Y,CUSTOM_ELEMENT:V});const Z=1,$=3,Q=7,J=8,tt=9,et=function(){return"undefined"==typeof window?null:window};return function e(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:et();const r=t=>e(t);if(r.version="3.1.5",r.removed=[],!n||!n.document||n.document.nodeType!==tt)return r.isSupported=!1,r;let{document:i}=n;const a=i,l=a.currentScript,{DocumentFragment:c,HTMLTemplateElement:_,Node:A,Element:T,NodeFilter:U,NamedNodeMap:j=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:H,DOMParser:z,trustedTypes:q}=n,G=T.prototype,K=S(G,"cloneNode"),V=S(G,"nextSibling"),nt=S(G,"childNodes"),rt=S(G,"parentNode");if("function"==typeof _){const t=i.createElement("template");t.content&&t.content.ownerDocument&&(i=t.content.ownerDocument)}let it,ot="";const{implementation:at,createNodeIterator:st,createDocumentFragment:lt,getElementsByTagName:ct}=i,{importNode:ut}=a;let ht={};r.isSupported="function"==typeof t&&"function"==typeof rt&&at&&void 0!==at.createHTMLDocument;const{MUSTACHE_EXPR:ft,ERB_EXPR:dt,TMPLIT_EXPR:pt,DATA_ATTR:mt,ARIA_ATTR:gt,IS_SCRIPT_OR_DATA:yt,ATTR_WHITESPACE:wt,CUSTOM_ELEMENT:bt}=X;let{IS_ALLOWED_URI:vt}=X,Et=null;const _t=M({},[...k,...C,...D,...R,...O]);let At=null;const Mt=M({},[...L,...P,...F,...B]);let Tt=Object.seal(s(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),xt=null,St=null,kt=!0,Ct=!0,Dt=!1,It=!0,Rt=!1,Nt=!0,Ot=!1,Lt=!1,Pt=!1,Ft=!1,Bt=!1,Ut=!1,jt=!0,Ht=!1,zt=!0,qt=!1,Wt={},Gt=null;const Kt=M({},["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"]);let Yt=null;const Vt=M({},["audio","video","img","source","image","track"]);let Xt=null;const Zt=M({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),$t="http://www.w3.org/1998/Math/MathML",Qt="http://www.w3.org/2000/svg",Jt="http://www.w3.org/1999/xhtml";let te=Jt,ee=!1,ne=null;const re=M({},[$t,Qt,Jt],p);let ie=null;const oe=["application/xhtml+xml","text/html"];let ae=null,se=null;const le=i.createElement("form"),ce=function(t){return t instanceof RegExp||t instanceof Function},ue=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!se||se!==t){if(t&&"object"==typeof t||(t={}),t=x(t),ie=-1===oe.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,ae="application/xhtml+xml"===ie?p:d,Et=b(t,"ALLOWED_TAGS")?M({},t.ALLOWED_TAGS,ae):_t,At=b(t,"ALLOWED_ATTR")?M({},t.ALLOWED_ATTR,ae):Mt,ne=b(t,"ALLOWED_NAMESPACES")?M({},t.ALLOWED_NAMESPACES,p):re,Xt=b(t,"ADD_URI_SAFE_ATTR")?M(x(Zt),t.ADD_URI_SAFE_ATTR,ae):Zt,Yt=b(t,"ADD_DATA_URI_TAGS")?M(x(Vt),t.ADD_DATA_URI_TAGS,ae):Vt,Gt=b(t,"FORBID_CONTENTS")?M({},t.FORBID_CONTENTS,ae):Kt,xt=b(t,"FORBID_TAGS")?M({},t.FORBID_TAGS,ae):{},St=b(t,"FORBID_ATTR")?M({},t.FORBID_ATTR,ae):{},Wt=!!b(t,"USE_PROFILES")&&t.USE_PROFILES,kt=!1!==t.ALLOW_ARIA_ATTR,Ct=!1!==t.ALLOW_DATA_ATTR,Dt=t.ALLOW_UNKNOWN_PROTOCOLS||!1,It=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Rt=t.SAFE_FOR_TEMPLATES||!1,Nt=!1!==t.SAFE_FOR_XML,Ot=t.WHOLE_DOCUMENT||!1,Ft=t.RETURN_DOM||!1,Bt=t.RETURN_DOM_FRAGMENT||!1,Ut=t.RETURN_TRUSTED_TYPE||!1,Pt=t.FORCE_BODY||!1,jt=!1!==t.SANITIZE_DOM,Ht=t.SANITIZE_NAMED_PROPS||!1,zt=!1!==t.KEEP_CONTENT,qt=t.IN_PLACE||!1,vt=t.ALLOWED_URI_REGEXP||W,te=t.NAMESPACE||Jt,Tt=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&ce(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Tt.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ce(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Tt.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Tt.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Rt&&(Ct=!1),Bt&&(Ft=!0),Wt&&(Et=M({},O),At=[],!0===Wt.html&&(M(Et,k),M(At,L)),!0===Wt.svg&&(M(Et,C),M(At,P),M(At,B)),!0===Wt.svgFilters&&(M(Et,D),M(At,P),M(At,B)),!0===Wt.mathMl&&(M(Et,R),M(At,F),M(At,B))),t.ADD_TAGS&&(Et===_t&&(Et=x(Et)),M(Et,t.ADD_TAGS,ae)),t.ADD_ATTR&&(At===Mt&&(At=x(At)),M(At,t.ADD_ATTR,ae)),t.ADD_URI_SAFE_ATTR&&M(Xt,t.ADD_URI_SAFE_ATTR,ae),t.FORBID_CONTENTS&&(Gt===Kt&&(Gt=x(Gt)),M(Gt,t.FORBID_CONTENTS,ae)),zt&&(Et["#text"]=!0),Ot&&M(Et,["html","head","body"]),Et.table&&(M(Et,["tbody"]),delete xt.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw E('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw E('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');it=t.TRUSTED_TYPES_POLICY,ot=it.createHTML("")}else void 0===it&&(it=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(n=e.getAttribute(r));const i="dompurify"+(n?"#"+n:"");try{return t.createPolicy(i,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+i+" could not be created."),null}}(q,l)),null!==it&&"string"==typeof ot&&(ot=it.createHTML(""));o&&o(t),se=t}},he=M({},["mi","mo","mn","ms","mtext"]),fe=M({},["foreignobject","annotation-xml"]),de=M({},["title","style","font","a","script"]),pe=M({},[...C,...D,...I]),me=M({},[...R,...N]),ge=function(t){f(r.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){t.remove()}},ye=function(t,e){try{f(r.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){f(r.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!At[t])if(Ft||Bt)try{ge(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},we=function(t){let e=null,n=null;if(Pt)t="<remove></remove>"+t;else{const e=m(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===ie&&te===Jt&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const r=it?it.createHTML(t):t;if(te===Jt)try{e=(new z).parseFromString(r,ie)}catch(t){}if(!e||!e.documentElement){e=at.createDocument(te,"template",null);try{e.documentElement.innerHTML=ee?ot:r}catch(t){}}const o=e.body||e.documentElement;return t&&n&&o.insertBefore(i.createTextNode(n),o.childNodes[0]||null),te===Jt?ct.call(e,Ot?"html":"body")[0]:Ot?e.documentElement:o},be=function(t){return st.call(t.ownerDocument||t,t,U.SHOW_ELEMENT|U.SHOW_COMMENT|U.SHOW_TEXT|U.SHOW_PROCESSING_INSTRUCTION|U.SHOW_CDATA_SECTION,null)},ve=function(t){return t instanceof H&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof j)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},Ee=function(t){return"function"==typeof A&&t instanceof A},_e=function(t,e,n){ht[t]&&u(ht[t],(t=>{t.call(r,e,n,se)}))},Ae=function(t){let e=null;if(_e("beforeSanitizeElements",t,null),ve(t))return ge(t),!0;const n=ae(t.nodeName);if(_e("uponSanitizeElement",t,{tagName:n,allowedTags:Et}),t.hasChildNodes()&&!Ee(t.firstElementChild)&&v(/<[/\w]/g,t.innerHTML)&&v(/<[/\w]/g,t.textContent))return ge(t),!0;if(t.nodeType===Q)return ge(t),!0;if(Nt&&t.nodeType===J&&v(/<[/\w]/g,t.data))return ge(t),!0;if(!Et[n]||xt[n]){if(!xt[n]&&Te(n)){if(Tt.tagNameCheck instanceof RegExp&&v(Tt.tagNameCheck,n))return!1;if(Tt.tagNameCheck instanceof Function&&Tt.tagNameCheck(n))return!1}if(zt&&!Gt[n]){const e=rt(t)||t.parentNode,n=nt(t)||t.childNodes;if(n&&e)for(let r=n.length-1;r>=0;--r){const i=K(n[r],!0);i.__removalCount=(t.__removalCount||0)+1,e.insertBefore(i,V(t))}}return ge(t),!0}return t instanceof T&&!function(t){let e=rt(t);e&&e.tagName||(e={namespaceURI:te,tagName:"template"});const n=d(t.tagName),r=d(e.tagName);return!!ne[t.namespaceURI]&&(t.namespaceURI===Qt?e.namespaceURI===Jt?"svg"===n:e.namespaceURI===$t?"svg"===n&&("annotation-xml"===r||he[r]):Boolean(pe[n]):t.namespaceURI===$t?e.namespaceURI===Jt?"math"===n:e.namespaceURI===Qt?"math"===n&&fe[r]:Boolean(me[n]):t.namespaceURI===Jt?!(e.namespaceURI===Qt&&!fe[r])&&!(e.namespaceURI===$t&&!he[r])&&!me[n]&&(de[n]||!pe[n]):!("application/xhtml+xml"!==ie||!ne[t.namespaceURI]))}(t)?(ge(t),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!v(/<\/no(script|embed|frames)/i,t.innerHTML)?(Rt&&t.nodeType===$&&(e=t.textContent,u([ft,dt,pt],(t=>{e=g(e,t," ")})),t.textContent!==e&&(f(r.removed,{element:t.cloneNode()}),t.textContent=e)),_e("afterSanitizeElements",t,null),!1):(ge(t),!0)},Me=function(t,e,n){if(jt&&("id"===e||"name"===e)&&(n in i||n in le))return!1;if(Ct&&!St[e]&&v(mt,e));else if(kt&&v(gt,e));else if(!At[e]||St[e]){if(!(Te(t)&&(Tt.tagNameCheck instanceof RegExp&&v(Tt.tagNameCheck,t)||Tt.tagNameCheck instanceof Function&&Tt.tagNameCheck(t))&&(Tt.attributeNameCheck instanceof RegExp&&v(Tt.attributeNameCheck,e)||Tt.attributeNameCheck instanceof Function&&Tt.attributeNameCheck(e))||"is"===e&&Tt.allowCustomizedBuiltInElements&&(Tt.tagNameCheck instanceof RegExp&&v(Tt.tagNameCheck,n)||Tt.tagNameCheck instanceof Function&&Tt.tagNameCheck(n))))return!1}else if(Xt[e]);else if(v(vt,g(n,wt,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==y(n,"data:")||!Yt[t])if(Dt&&!v(yt,g(n,wt,"")));else if(n)return!1;return!0},Te=function(t){return"annotation-xml"!==t&&m(t,bt)},xe=function(t){_e("beforeSanitizeAttributes",t,null);const{attributes:e}=t;if(!e)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:At};let i=e.length;for(;i--;){const o=e[i],{name:a,namespaceURI:s,value:l}=o,c=ae(a);let f="value"===a?l:w(l);if(n.attrName=c,n.attrValue=f,n.keepAttr=!0,n.forceKeepAttr=void 0,_e("uponSanitizeAttribute",t,n),f=n.attrValue,n.forceKeepAttr)continue;if(ye(a,t),!n.keepAttr)continue;if(!It&&v(/\/>/i,f)){ye(a,t);continue}if(Nt&&v(/((--!?|])>)|<\/(style|title)/i,f)){ye(a,t);continue}Rt&&u([ft,dt,pt],(t=>{f=g(f,t," ")}));const d=ae(t.nodeName);if(Me(d,c,f)){if(!Ht||"id"!==c&&"name"!==c||(ye(a,t),f="user-content-"+f),it&&"object"==typeof q&&"function"==typeof q.getAttributeType)if(s);else switch(q.getAttributeType(d,c)){case"TrustedHTML":f=it.createHTML(f);break;case"TrustedScriptURL":f=it.createScriptURL(f)}try{s?t.setAttributeNS(s,a,f):t.setAttribute(a,f),ve(t)?ge(t):h(r.removed)}catch(t){}}}_e("afterSanitizeAttributes",t,null)},Se=function t(e){let n=null;const r=be(e);for(_e("beforeSanitizeShadowDOM",e,null);n=r.nextNode();)_e("uponSanitizeShadowNode",n,null),Ae(n)||(n.content instanceof c&&t(n.content),xe(n));_e("afterSanitizeShadowDOM",e,null)};return r.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,i=null,o=null,s=null;if(ee=!t,ee&&(t="\x3c!--\x3e"),"string"!=typeof t&&!Ee(t)){if("function"!=typeof t.toString)throw E("toString is not a function");if("string"!=typeof(t=t.toString()))throw E("dirty is not a string, aborting")}if(!r.isSupported)return t;if(Lt||ue(e),r.removed=[],"string"==typeof t&&(qt=!1),qt){if(t.nodeName){const e=ae(t.nodeName);if(!Et[e]||xt[e])throw E("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof A)n=we("\x3c!----\x3e"),i=n.ownerDocument.importNode(t,!0),i.nodeType===Z&&"BODY"===i.nodeName||"HTML"===i.nodeName?n=i:n.appendChild(i);else{if(!Ft&&!Rt&&!Ot&&-1===t.indexOf("<"))return it&&Ut?it.createHTML(t):t;if(n=we(t),!n)return Ft?null:Ut?ot:""}n&&Pt&&ge(n.firstChild);const l=be(qt?t:n);for(;o=l.nextNode();)Ae(o)||(o.content instanceof c&&Se(o.content),xe(o));if(qt)return t;if(Ft){if(Bt)for(s=lt.call(n.ownerDocument);n.firstChild;)s.appendChild(n.firstChild);else s=n;return(At.shadowroot||At.shadowrootmode)&&(s=ut.call(a,s,!0)),s}let h=Ot?n.outerHTML:n.innerHTML;return Ot&&Et["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&v(Y,n.ownerDocument.doctype.name)&&(h="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+h),Rt&&u([ft,dt,pt],(t=>{h=g(h,t," ")})),it&&Ut?it.createHTML(h):h},r.setConfig=function(){ue(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Lt=!0},r.clearConfig=function(){se=null,Lt=!1},r.isValidAttribute=function(t,e,n){se||ue({});const r=ae(t),i=ae(e);return Me(r,i,n)},r.addHook=function(t,e){"function"==typeof e&&(ht[t]=ht[t]||[],f(ht[t],e))},r.removeHook=function(t){if(ht[t])return h(ht[t])},r.removeHooks=function(t){ht[t]&&(ht[t]=[])},r.removeAllHooks=function(){ht={}},r}()}()},6729:(t,e,n)=>{"use strict";var r=e;r.version=n(1636).rE,r.utils=n(7011),r.rand=n(5037),r.curve=n(894),r.curves=n(480),r.ec=n(7447),r.eddsa=n(8650)},6677:(t,e,n)=>{"use strict";var r=n(8490),i=n(7011),o=i.getNAF,a=i.getJSF,s=i.assert;function l(t,e){this.type=t,this.p=new r(e.p,16),this.red=e.prime?r.red(e.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=e.n&&new r(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function c(t,e){this.curve=t,this.type=e,this.precomputed=null}t.exports=l,l.prototype.point=function(){throw new Error("Not implemented")},l.prototype.validate=function(){throw new Error("Not implemented")},l.prototype._fixedNafMul=function(t,e){s(t.precomputed);var n=t._getDoubles(),r=o(e,1,this._bitLength),i=(1<<n.step+1)-(n.step%2==0?2:1);i/=3;var a,l,c=[];for(a=0;a<r.length;a+=n.step){l=0;for(var u=a+n.step-1;u>=a;u--)l=(l<<1)+r[u];c.push(l)}for(var h=this.jpoint(null,null,null),f=this.jpoint(null,null,null),d=i;d>0;d--){for(a=0;a<c.length;a++)(l=c[a])===d?f=f.mixedAdd(n.points[a]):l===-d&&(f=f.mixedAdd(n.points[a].neg()));h=h.add(f)}return h.toP()},l.prototype._wnafMul=function(t,e){var n=4,r=t._getNAFPoints(n);n=r.wnd;for(var i=r.points,a=o(e,n,this._bitLength),l=this.jpoint(null,null,null),c=a.length-1;c>=0;c--){for(var u=0;c>=0&&0===a[c];c--)u++;if(c>=0&&u++,l=l.dblp(u),c<0)break;var h=a[c];s(0!==h),l="affine"===t.type?h>0?l.mixedAdd(i[h-1>>1]):l.mixedAdd(i[-h-1>>1].neg()):h>0?l.add(i[h-1>>1]):l.add(i[-h-1>>1].neg())}return"affine"===t.type?l.toP():l},l.prototype._wnafMulAdd=function(t,e,n,r,i){var s,l,c,u=this._wnafT1,h=this._wnafT2,f=this._wnafT3,d=0;for(s=0;s<r;s++){var p=(c=e[s])._getNAFPoints(t);u[s]=p.wnd,h[s]=p.points}for(s=r-1;s>=1;s-=2){var m=s-1,g=s;if(1===u[m]&&1===u[g]){var y=[e[m],null,null,e[g]];0===e[m].y.cmp(e[g].y)?(y[1]=e[m].add(e[g]),y[2]=e[m].toJ().mixedAdd(e[g].neg())):0===e[m].y.cmp(e[g].y.redNeg())?(y[1]=e[m].toJ().mixedAdd(e[g]),y[2]=e[m].add(e[g].neg())):(y[1]=e[m].toJ().mixedAdd(e[g]),y[2]=e[m].toJ().mixedAdd(e[g].neg()));var w=[-3,-1,-5,-7,0,7,5,1,3],b=a(n[m],n[g]);for(d=Math.max(b[0].length,d),f[m]=new Array(d),f[g]=new Array(d),l=0;l<d;l++){var v=0|b[0][l],E=0|b[1][l];f[m][l]=w[3*(v+1)+(E+1)],f[g][l]=0,h[m]=y}}else f[m]=o(n[m],u[m],this._bitLength),f[g]=o(n[g],u[g],this._bitLength),d=Math.max(f[m].length,d),d=Math.max(f[g].length,d)}var _=this.jpoint(null,null,null),A=this._wnafT4;for(s=d;s>=0;s--){for(var M=0;s>=0;){var T=!0;for(l=0;l<r;l++)A[l]=0|f[l][s],0!==A[l]&&(T=!1);if(!T)break;M++,s--}if(s>=0&&M++,_=_.dblp(M),s<0)break;for(l=0;l<r;l++){var x=A[l];0!==x&&(x>0?c=h[l][x-1>>1]:x<0&&(c=h[l][-x-1>>1].neg()),_="affine"===c.type?_.mixedAdd(c):_.add(c))}}for(s=0;s<r;s++)h[s]=null;return i?_:_.toP()},l.BasePoint=c,c.prototype.eq=function(){throw new Error("Not implemented")},c.prototype.validate=function(){return this.curve.validate(this)},l.prototype.decodePoint=function(t,e){t=i.toArray(t,e);var n=this.p.byteLength();if((4===t[0]||6===t[0]||7===t[0])&&t.length-1==2*n)return 6===t[0]?s(t[t.length-1]%2==0):7===t[0]&&s(t[t.length-1]%2==1),this.point(t.slice(1,1+n),t.slice(1+n,1+2*n));if((2===t[0]||3===t[0])&&t.length-1===n)return this.pointFromX(t.slice(1,1+n),3===t[0]);throw new Error("Unknown point format")},c.prototype.encodeCompressed=function(t){return this.encode(t,!0)},c.prototype._encode=function(t){var e=this.curve.p.byteLength(),n=this.getX().toArray("be",e);return t?[this.getY().isEven()?2:3].concat(n):[4].concat(n,this.getY().toArray("be",e))},c.prototype.encode=function(t,e){return i.encode(this._encode(e),t)},c.prototype.precompute=function(t){if(this.precomputed)return this;var e={doubles:null,naf:null,beta:null};return e.naf=this._getNAFPoints(8),e.doubles=this._getDoubles(4,t),e.beta=this._getBeta(),this.precomputed=e,this},c.prototype._hasDoubles=function(t){if(!this.precomputed)return!1;var e=this.precomputed.doubles;return!!e&&e.points.length>=Math.ceil((t.bitLength()+1)/e.step)},c.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],r=this,i=0;i<e;i+=t){for(var o=0;o<t;o++)r=r.dbl();n.push(r)}return{step:t,points:n}},c.prototype._getNAFPoints=function(t){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var e=[this],n=(1<<t)-1,r=1===n?null:this.dbl(),i=1;i<n;i++)e[i]=e[i-1].add(r);return{wnd:t,points:e}},c.prototype._getBeta=function(){return null},c.prototype.dblp=function(t){for(var e=this,n=0;n<t;n++)e=e.dbl();return e}},1298:(t,e,n)=>{"use strict";var r=n(7011),i=n(8490),o=n(6698),a=n(6677),s=r.assert;function l(t){this.twisted=1!=(0|t.a),this.mOneA=this.twisted&&-1==(0|t.a),this.extended=this.mOneA,a.call(this,"edwards",t),this.a=new i(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|t.c)}function c(t,e,n,r,o){a.BasePoint.call(this,t,"projective"),null===e&&null===n&&null===r?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(e,16),this.y=new i(n,16),this.z=r?new i(r,16):this.curve.one,this.t=o&&new i(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(l,a),t.exports=l,l.prototype._mulA=function(t){return this.mOneA?t.redNeg():this.a.redMul(t)},l.prototype._mulC=function(t){return this.oneC?t:this.c.redMul(t)},l.prototype.jpoint=function(t,e,n,r){return this.point(t,e,n,r)},l.prototype.pointFromX=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr(),r=this.c2.redSub(this.a.redMul(n)),o=this.one.redSub(this.c2.redMul(this.d).redMul(n)),a=r.redMul(o.redInvm()),s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");var l=s.fromRed().isOdd();return(e&&!l||!e&&l)&&(s=s.redNeg()),this.point(t,s)},l.prototype.pointFromY=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr(),r=n.redSub(this.c2),o=n.redMul(this.d).redMul(this.c2).redSub(this.a),a=r.redMul(o.redInvm());if(0===a.cmp(this.zero)){if(e)throw new Error("invalid point");return this.point(this.zero,t)}var s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");return s.fromRed().isOdd()!==e&&(s=s.redNeg()),this.point(s,t)},l.prototype.validate=function(t){if(t.isInfinity())return!0;t.normalize();var e=t.x.redSqr(),n=t.y.redSqr(),r=e.redMul(this.a).redAdd(n),i=this.c2.redMul(this.one.redAdd(this.d.redMul(e).redMul(n)));return 0===r.cmp(i)},o(c,a.BasePoint),l.prototype.pointFromJSON=function(t){return c.fromJSON(this,t)},l.prototype.point=function(t,e,n,r){return new c(this,t,e,n,r)},c.fromJSON=function(t,e){return new c(t,e[0],e[1],e[2])},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},c.prototype._extDbl=function(){var t=this.x.redSqr(),e=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var r=this.curve._mulA(t),i=this.x.redAdd(this.y).redSqr().redISub(t).redISub(e),o=r.redAdd(e),a=o.redSub(n),s=r.redSub(e),l=i.redMul(a),c=o.redMul(s),u=i.redMul(s),h=a.redMul(o);return this.curve.point(l,c,h,u)},c.prototype._projDbl=function(){var t,e,n,r,i,o,a=this.x.redAdd(this.y).redSqr(),s=this.x.redSqr(),l=this.y.redSqr();if(this.curve.twisted){var c=(r=this.curve._mulA(s)).redAdd(l);this.zOne?(t=a.redSub(s).redSub(l).redMul(c.redSub(this.curve.two)),e=c.redMul(r.redSub(l)),n=c.redSqr().redSub(c).redSub(c)):(i=this.z.redSqr(),o=c.redSub(i).redISub(i),t=a.redSub(s).redISub(l).redMul(o),e=c.redMul(r.redSub(l)),n=c.redMul(o))}else r=s.redAdd(l),i=this.curve._mulC(this.z).redSqr(),o=r.redSub(i).redSub(i),t=this.curve._mulC(a.redISub(r)).redMul(o),e=this.curve._mulC(r).redMul(s.redISub(l)),n=r.redMul(o);return this.curve.point(t,e,n)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},c.prototype._extAdd=function(t){var e=this.y.redSub(this.x).redMul(t.y.redSub(t.x)),n=this.y.redAdd(this.x).redMul(t.y.redAdd(t.x)),r=this.t.redMul(this.curve.dd).redMul(t.t),i=this.z.redMul(t.z.redAdd(t.z)),o=n.redSub(e),a=i.redSub(r),s=i.redAdd(r),l=n.redAdd(e),c=o.redMul(a),u=s.redMul(l),h=o.redMul(l),f=a.redMul(s);return this.curve.point(c,u,f,h)},c.prototype._projAdd=function(t){var e,n,r=this.z.redMul(t.z),i=r.redSqr(),o=this.x.redMul(t.x),a=this.y.redMul(t.y),s=this.curve.d.redMul(o).redMul(a),l=i.redSub(s),c=i.redAdd(s),u=this.x.redAdd(this.y).redMul(t.x.redAdd(t.y)).redISub(o).redISub(a),h=r.redMul(l).redMul(u);return this.curve.twisted?(e=r.redMul(c).redMul(a.redSub(this.curve._mulA(o))),n=l.redMul(c)):(e=r.redMul(c).redMul(a.redSub(o)),n=this.curve._mulC(l).redMul(c)),this.curve.point(h,e,n)},c.prototype.add=function(t){return this.isInfinity()?t:t.isInfinity()?this:this.curve.extended?this._extAdd(t):this._projAdd(t)},c.prototype.mul=function(t){return this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve._wnafMul(this,t)},c.prototype.mulAdd=function(t,e,n){return this.curve._wnafMulAdd(1,[this,e],[t,n],2,!1)},c.prototype.jmulAdd=function(t,e,n){return this.curve._wnafMulAdd(1,[this,e],[t,n],2,!0)},c.prototype.normalize=function(){if(this.zOne)return this;var t=this.z.redInvm();return this.x=this.x.redMul(t),this.y=this.y.redMul(t),this.t&&(this.t=this.t.redMul(t)),this.z=this.curve.one,this.zOne=!0,this},c.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()},c.prototype.getY=function(){return this.normalize(),this.y.fromRed()},c.prototype.eq=function(t){return this===t||0===this.getX().cmp(t.getX())&&0===this.getY().cmp(t.getY())},c.prototype.eqXToP=function(t){var e=t.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(e))return!0;for(var n=t.clone(),r=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(e.redIAdd(r),0===this.x.cmp(e))return!0}},c.prototype.toP=c.prototype.normalize,c.prototype.mixedAdd=c.prototype.add},894:(t,e,n)=>{"use strict";var r=e;r.base=n(6677),r.short=n(9188),r.mont=n(370),r.edwards=n(1298)},370:(t,e,n)=>{"use strict";var r=n(8490),i=n(6698),o=n(6677),a=n(7011);function s(t){o.call(this,"mont",t),this.a=new r(t.a,16).toRed(this.red),this.b=new r(t.b,16).toRed(this.red),this.i4=new r(4).toRed(this.red).redInvm(),this.two=new r(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function l(t,e,n){o.BasePoint.call(this,t,"projective"),null===e&&null===n?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new r(e,16),this.z=new r(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(s,o),t.exports=s,s.prototype.validate=function(t){var e=t.normalize().x,n=e.redSqr(),r=n.redMul(e).redAdd(n.redMul(this.a)).redAdd(e);return 0===r.redSqrt().redSqr().cmp(r)},i(l,o.BasePoint),s.prototype.decodePoint=function(t,e){return this.point(a.toArray(t,e),1)},s.prototype.point=function(t,e){return new l(this,t,e)},s.prototype.pointFromJSON=function(t){return l.fromJSON(this,t)},l.prototype.precompute=function(){},l.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},l.fromJSON=function(t,e){return new l(t,e[0],e[1]||t.one)},l.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},l.prototype.dbl=function(){var t=this.x.redAdd(this.z).redSqr(),e=this.x.redSub(this.z).redSqr(),n=t.redSub(e),r=t.redMul(e),i=n.redMul(e.redAdd(this.curve.a24.redMul(n)));return this.curve.point(r,i)},l.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.diffAdd=function(t,e){var n=this.x.redAdd(this.z),r=this.x.redSub(this.z),i=t.x.redAdd(t.z),o=t.x.redSub(t.z).redMul(n),a=i.redMul(r),s=e.z.redMul(o.redAdd(a).redSqr()),l=e.x.redMul(o.redISub(a).redSqr());return this.curve.point(s,l)},l.prototype.mul=function(t){for(var e=t.clone(),n=this,r=this.curve.point(null,null),i=[];0!==e.cmpn(0);e.iushrn(1))i.push(e.andln(1));for(var o=i.length-1;o>=0;o--)0===i[o]?(n=n.diffAdd(r,this),r=r.dbl()):(r=n.diffAdd(r,this),n=n.dbl());return r},l.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.eq=function(t){return 0===this.getX().cmp(t.getX())},l.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},9188:(t,e,n)=>{"use strict";var r=n(7011),i=n(8490),o=n(6698),a=n(6677),s=r.assert;function l(t){a.call(this,"short",t),this.a=new i(t.a,16).toRed(this.red),this.b=new i(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function c(t,e,n,r){a.BasePoint.call(this,t,"affine"),null===e&&null===n?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(e,16),this.y=new i(n,16),r&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function u(t,e,n,r){a.BasePoint.call(this,t,"jacobian"),null===e&&null===n&&null===r?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(e,16),this.y=new i(n,16),this.z=new i(r,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}o(l,a),t.exports=l,l.prototype._getEndomorphism=function(t){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var e,n;if(t.beta)e=new i(t.beta,16).toRed(this.red);else{var r=this._getEndoRoots(this.p);e=(e=r[0].cmp(r[1])<0?r[0]:r[1]).toRed(this.red)}if(t.lambda)n=new i(t.lambda,16);else{var o=this._getEndoRoots(this.n);0===this.g.mul(o[0]).x.cmp(this.g.x.redMul(e))?n=o[0]:(n=o[1],s(0===this.g.mul(n).x.cmp(this.g.x.redMul(e))))}return{beta:e,lambda:n,basis:t.basis?t.basis.map((function(t){return{a:new i(t.a,16),b:new i(t.b,16)}})):this._getEndoBasis(n)}}},l.prototype._getEndoRoots=function(t){var e=t===this.p?this.red:i.mont(t),n=new i(2).toRed(e).redInvm(),r=n.redNeg(),o=new i(3).toRed(e).redNeg().redSqrt().redMul(n);return[r.redAdd(o).fromRed(),r.redSub(o).fromRed()]},l.prototype._getEndoBasis=function(t){for(var e,n,r,o,a,s,l,c,u,h=this.n.ushrn(Math.floor(this.n.bitLength()/2)),f=t,d=this.n.clone(),p=new i(1),m=new i(0),g=new i(0),y=new i(1),w=0;0!==f.cmpn(0);){var b=d.div(f);c=d.sub(b.mul(f)),u=g.sub(b.mul(p));var v=y.sub(b.mul(m));if(!r&&c.cmp(h)<0)e=l.neg(),n=p,r=c.neg(),o=u;else if(r&&2==++w)break;l=c,d=f,f=c,g=p,p=u,y=m,m=v}a=c.neg(),s=u;var E=r.sqr().add(o.sqr());return a.sqr().add(s.sqr()).cmp(E)>=0&&(a=e,s=n),r.negative&&(r=r.neg(),o=o.neg()),a.negative&&(a=a.neg(),s=s.neg()),[{a:r,b:o},{a,b:s}]},l.prototype._endoSplit=function(t){var e=this.endo.basis,n=e[0],r=e[1],i=r.b.mul(t).divRound(this.n),o=n.b.neg().mul(t).divRound(this.n),a=i.mul(n.a),s=o.mul(r.a),l=i.mul(n.b),c=o.mul(r.b);return{k1:t.sub(a).sub(s),k2:l.add(c).neg()}},l.prototype.pointFromX=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var o=r.fromRed().isOdd();return(e&&!o||!e&&o)&&(r=r.redNeg()),this.point(t,r)},l.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,n=t.y,r=this.a.redMul(e),i=e.redSqr().redMul(e).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(i).cmpn(0)},l.prototype._endoWnafMulAdd=function(t,e,n){for(var r=this._endoWnafT1,i=this._endoWnafT2,o=0;o<t.length;o++){var a=this._endoSplit(e[o]),s=t[o],l=s._getBeta();a.k1.negative&&(a.k1.ineg(),s=s.neg(!0)),a.k2.negative&&(a.k2.ineg(),l=l.neg(!0)),r[2*o]=s,r[2*o+1]=l,i[2*o]=a.k1,i[2*o+1]=a.k2}for(var c=this._wnafMulAdd(1,r,i,2*o,n),u=0;u<2*o;u++)r[u]=null,i[u]=null;return c},o(c,a.BasePoint),l.prototype.point=function(t,e,n){return new c(this,t,e,n)},l.prototype.pointFromJSON=function(t,e){return c.fromJSON(this,t,e)},c.prototype._getBeta=function(){if(this.curve.endo){var t=this.precomputed;if(t&&t.beta)return t.beta;var e=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(t){var n=this.curve,r=function(t){return n.point(t.x.redMul(n.endo.beta),t.y)};t.beta=e,e.precomputed={beta:null,naf:t.naf&&{wnd:t.naf.wnd,points:t.naf.points.map(r)},doubles:t.doubles&&{step:t.doubles.step,points:t.doubles.points.map(r)}}}return e}},c.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},c.fromJSON=function(t,e,n){"string"==typeof e&&(e=JSON.parse(e));var r=t.point(e[0],e[1],n);if(!e[2])return r;function i(e){return t.point(e[0],e[1],n)}var o=e[2];return r.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[r].concat(o.doubles.points.map(i))},naf:o.naf&&{wnd:o.naf.wnd,points:[r].concat(o.naf.points.map(i))}},r},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return this.inf},c.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(0===this.x.cmp(t.x))return this.curve.point(null,null);var e=this.y.redSub(t.y);0!==e.cmpn(0)&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var n=e.redSqr().redISub(this.x).redISub(t.x),r=e.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},c.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var e=this.curve.a,n=this.x.redSqr(),r=t.redInvm(),i=n.redAdd(n).redIAdd(n).redIAdd(e).redMul(r),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},c.prototype.getX=function(){return this.x.fromRed()},c.prototype.getY=function(){return this.y.fromRed()},c.prototype.mul=function(t){return t=new i(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},c.prototype.mulAdd=function(t,e,n){var r=[this,e],i=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},c.prototype.jmulAdd=function(t,e,n){var r=[this,e],i=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},c.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},c.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var n=this.precomputed,r=function(t){return t.neg()};e.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}return e},c.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},o(u,a.BasePoint),l.prototype.jpoint=function(t,e,n){return new u(this,t,e,n)},u.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),n=this.x.redMul(e),r=this.y.redMul(e).redMul(t);return this.curve.point(n,r)},u.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},u.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),n=this.z.redSqr(),r=this.x.redMul(e),i=t.x.redMul(n),o=this.y.redMul(e.redMul(t.z)),a=t.y.redMul(n.redMul(this.z)),s=r.redSub(i),l=o.redSub(a);if(0===s.cmpn(0))return 0!==l.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),u=c.redMul(s),h=r.redMul(c),f=l.redSqr().redIAdd(u).redISub(h).redISub(h),d=l.redMul(h.redISub(f)).redISub(o.redMul(u)),p=this.z.redMul(t.z).redMul(s);return this.curve.jpoint(f,d,p)},u.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),n=this.x,r=t.x.redMul(e),i=this.y,o=t.y.redMul(e).redMul(this.z),a=n.redSub(r),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=a.redSqr(),c=l.redMul(a),u=n.redMul(l),h=s.redSqr().redIAdd(c).redISub(u).redISub(u),f=s.redMul(u.redISub(h)).redISub(i.redMul(c)),d=this.z.redMul(a);return this.curve.jpoint(h,f,d)},u.prototype.dblp=function(t){if(0===t)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var e;if(this.curve.zeroA||this.curve.threeA){var n=this;for(e=0;e<t;e++)n=n.dbl();return n}var r=this.curve.a,i=this.curve.tinv,o=this.x,a=this.y,s=this.z,l=s.redSqr().redSqr(),c=a.redAdd(a);for(e=0;e<t;e++){var u=o.redSqr(),h=c.redSqr(),f=h.redSqr(),d=u.redAdd(u).redIAdd(u).redIAdd(r.redMul(l)),p=o.redMul(h),m=d.redSqr().redISub(p.redAdd(p)),g=p.redISub(m),y=d.redMul(g);y=y.redIAdd(y).redISub(f);var w=c.redMul(s);e+1<t&&(l=l.redMul(f)),o=m,s=w,c=y}return this.curve.jpoint(o,c.redMul(i),s)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},u.prototype._zeroDbl=function(){var t,e,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(r).redISub(o);a=a.redIAdd(a);var s=r.redAdd(r).redIAdd(r),l=s.redSqr().redISub(a).redISub(a),c=o.redIAdd(o);c=(c=c.redIAdd(c)).redIAdd(c),t=l,e=s.redMul(a.redISub(l)).redISub(c),n=this.y.redAdd(this.y)}else{var u=this.x.redSqr(),h=this.y.redSqr(),f=h.redSqr(),d=this.x.redAdd(h).redSqr().redISub(u).redISub(f);d=d.redIAdd(d);var p=u.redAdd(u).redIAdd(u),m=p.redSqr(),g=f.redIAdd(f);g=(g=g.redIAdd(g)).redIAdd(g),t=m.redISub(d).redISub(d),e=p.redMul(d.redISub(t)).redISub(g),n=(n=this.y.redMul(this.z)).redIAdd(n)}return this.curve.jpoint(t,e,n)},u.prototype._threeDbl=function(){var t,e,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(r).redISub(o);a=a.redIAdd(a);var s=r.redAdd(r).redIAdd(r).redIAdd(this.curve.a),l=s.redSqr().redISub(a).redISub(a);t=l;var c=o.redIAdd(o);c=(c=c.redIAdd(c)).redIAdd(c),e=s.redMul(a.redISub(l)).redISub(c),n=this.y.redAdd(this.y)}else{var u=this.z.redSqr(),h=this.y.redSqr(),f=this.x.redMul(h),d=this.x.redSub(u).redMul(this.x.redAdd(u));d=d.redAdd(d).redIAdd(d);var p=f.redIAdd(f),m=(p=p.redIAdd(p)).redAdd(p);t=d.redSqr().redISub(m),n=this.y.redAdd(this.z).redSqr().redISub(h).redISub(u);var g=h.redSqr();g=(g=(g=g.redIAdd(g)).redIAdd(g)).redIAdd(g),e=d.redMul(p.redISub(t)).redISub(g)}return this.curve.jpoint(t,e,n)},u.prototype._dbl=function(){var t=this.curve.a,e=this.x,n=this.y,r=this.z,i=r.redSqr().redSqr(),o=e.redSqr(),a=n.redSqr(),s=o.redAdd(o).redIAdd(o).redIAdd(t.redMul(i)),l=e.redAdd(e),c=(l=l.redIAdd(l)).redMul(a),u=s.redSqr().redISub(c.redAdd(c)),h=c.redISub(u),f=a.redSqr();f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var d=s.redMul(h).redISub(f),p=n.redAdd(n).redMul(r);return this.curve.jpoint(u,d,p)},u.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var t=this.x.redSqr(),e=this.y.redSqr(),n=this.z.redSqr(),r=e.redSqr(),i=t.redAdd(t).redIAdd(t),o=i.redSqr(),a=this.x.redAdd(e).redSqr().redISub(t).redISub(r),s=(a=(a=(a=a.redIAdd(a)).redAdd(a).redIAdd(a)).redISub(o)).redSqr(),l=r.redIAdd(r);l=(l=(l=l.redIAdd(l)).redIAdd(l)).redIAdd(l);var c=i.redIAdd(a).redSqr().redISub(o).redISub(s).redISub(l),u=e.redMul(c);u=(u=u.redIAdd(u)).redIAdd(u);var h=this.x.redMul(s).redISub(u);h=(h=h.redIAdd(h)).redIAdd(h);var f=this.y.redMul(c.redMul(l.redISub(c)).redISub(a.redMul(s)));f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var d=this.z.redAdd(a).redSqr().redISub(n).redISub(s);return this.curve.jpoint(h,f,d)},u.prototype.mul=function(t,e){return t=new i(t,e),this.curve._wnafMul(this,t)},u.prototype.eq=function(t){if("affine"===t.type)return this.eq(t.toJ());if(this===t)return!0;var e=this.z.redSqr(),n=t.z.redSqr();if(0!==this.x.redMul(n).redISub(t.x.redMul(e)).cmpn(0))return!1;var r=e.redMul(this.z),i=n.redMul(t.z);return 0===this.y.redMul(i).redISub(t.y.redMul(r)).cmpn(0)},u.prototype.eqXToP=function(t){var e=this.z.redSqr(),n=t.toRed(this.curve.red).redMul(e);if(0===this.x.cmp(n))return!0;for(var r=t.clone(),i=this.curve.redN.redMul(e);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(i),0===this.x.cmp(n))return!0}},u.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},480:(t,e,n)=>{"use strict";var r,i=e,o=n(7952),a=n(894),s=n(7011).assert;function l(t){"short"===t.type?this.curve=new a.short(t):"edwards"===t.type?this.curve=new a.edwards(t):this.curve=new a.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function c(t,e){Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:function(){var n=new l(e);return Object.defineProperty(i,t,{configurable:!0,enumerable:!0,value:n}),n}})}i.PresetCurve=l,c("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),c("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),c("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),c("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),c("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),c("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),c("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=n(4011)}catch(t){r=void 0}c("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})},7447:(t,e,n)=>{"use strict";var r=n(8490),i=n(2723),o=n(7011),a=n(480),s=n(5037),l=o.assert,c=n(1200),u=n(8545);function h(t){if(!(this instanceof h))return new h(t);"string"==typeof t&&(l(Object.prototype.hasOwnProperty.call(a,t),"Unknown curve "+t),t=a[t]),t instanceof a.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}t.exports=h,h.prototype.keyPair=function(t){return new c(this,t)},h.prototype.keyFromPrivate=function(t,e){return c.fromPrivate(this,t,e)},h.prototype.keyFromPublic=function(t,e){return c.fromPublic(this,t,e)},h.prototype.genKeyPair=function(t){t||(t={});for(var e=new i({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||s(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),o=this.n.sub(new r(2));;){var a=new r(e.generate(n));if(!(a.cmp(o)>0))return a.iaddn(1),this.keyFromPrivate(a)}},h.prototype._truncateToN=function(t,e){var n=8*t.byteLength()-this.n.bitLength();return n>0&&(t=t.ushrn(n)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},h.prototype.sign=function(t,e,n,o){"object"==typeof n&&(o=n,n=null),o||(o={}),e=this.keyFromPrivate(e,n),t=this._truncateToN(new r(t,16));for(var a=this.n.byteLength(),s=e.getPrivate().toArray("be",a),l=t.toArray("be",a),c=new i({hash:this.hash,entropy:s,nonce:l,pers:o.pers,persEnc:o.persEnc||"utf8"}),h=this.n.sub(new r(1)),f=0;;f++){var d=o.k?o.k(f):new r(c.generate(this.n.byteLength()));if(!((d=this._truncateToN(d,!0)).cmpn(1)<=0||d.cmp(h)>=0)){var p=this.g.mul(d);if(!p.isInfinity()){var m=p.getX(),g=m.umod(this.n);if(0!==g.cmpn(0)){var y=d.invm(this.n).mul(g.mul(e.getPrivate()).iadd(t));if(0!==(y=y.umod(this.n)).cmpn(0)){var w=(p.getY().isOdd()?1:0)|(0!==m.cmp(g)?2:0);return o.canonical&&y.cmp(this.nh)>0&&(y=this.n.sub(y),w^=1),new u({r:g,s:y,recoveryParam:w})}}}}}},h.prototype.verify=function(t,e,n,i){t=this._truncateToN(new r(t,16)),n=this.keyFromPublic(n,i);var o=(e=new u(e,"hex")).r,a=e.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var s,l=a.invm(this.n),c=l.mul(t).umod(this.n),h=l.mul(o).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(c,n.getPublic(),h)).isInfinity()&&s.eqXToP(o):!(s=this.g.mulAdd(c,n.getPublic(),h)).isInfinity()&&0===s.getX().umod(this.n).cmp(o)},h.prototype.recoverPubKey=function(t,e,n,i){l((3&n)===n,"The recovery param is more than two bits"),e=new u(e,i);var o=this.n,a=new r(t),s=e.r,c=e.s,h=1&n,f=n>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&f)throw new Error("Unable to find sencond key candinate");s=f?this.curve.pointFromX(s.add(this.curve.n),h):this.curve.pointFromX(s,h);var d=e.r.invm(o),p=o.sub(a).mul(d).umod(o),m=c.mul(d).umod(o);return this.g.mulAdd(p,s,m)},h.prototype.getKeyRecoveryParam=function(t,e,n,r){if(null!==(e=new u(e,r)).recoveryParam)return e.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(t,e,i)}catch(t){continue}if(o.eq(n))return i}throw new Error("Unable to find valid recovery factor")}},1200:(t,e,n)=>{"use strict";var r=n(8490),i=n(7011).assert;function o(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}t.exports=o,o.fromPublic=function(t,e,n){return e instanceof o?e:new o(t,{pub:e,pubEnc:n})},o.fromPrivate=function(t,e,n){return e instanceof o?e:new o(t,{priv:e,privEnc:n})},o.prototype.validate=function(){var t=this.getPublic();return t.isInfinity()?{result:!1,reason:"Invalid public key"}:t.validate()?t.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},o.prototype.getPublic=function(t,e){return"string"==typeof t&&(e=t,t=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),e?this.pub.encode(e,t):this.pub},o.prototype.getPrivate=function(t){return"hex"===t?this.priv.toString(16,2):this.priv},o.prototype._importPrivate=function(t,e){this.priv=new r(t,e||16),this.priv=this.priv.umod(this.ec.curve.n)},o.prototype._importPublic=function(t,e){if(t.x||t.y)return"mont"===this.ec.curve.type?i(t.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||i(t.x&&t.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(t.x,t.y));this.pub=this.ec.curve.decodePoint(t,e)},o.prototype.derive=function(t){return t.validate()||i(t.validate(),"public point not validated"),t.mul(this.priv).getX()},o.prototype.sign=function(t,e,n){return this.ec.sign(t,this,e,n)},o.prototype.verify=function(t,e){return this.ec.verify(t,e,this)},o.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},8545:(t,e,n)=>{"use strict";var r=n(8490),i=n(7011),o=i.assert;function a(t,e){if(t instanceof a)return t;this._importDER(t,e)||(o(t.r&&t.s,"Signature without r or s"),this.r=new r(t.r,16),this.s=new r(t.s,16),void 0===t.recoveryParam?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}function s(){this.place=0}function l(t,e){var n=t[e.place++];if(!(128&n))return n;var r=15&n;if(0===r||r>4)return!1;for(var i=0,o=0,a=e.place;o<r;o++,a++)i<<=8,i|=t[a],i>>>=0;return!(i<=127)&&(e.place=a,i)}function c(t){for(var e=0,n=t.length-1;!t[e]&&!(128&t[e+1])&&e<n;)e++;return 0===e?t:t.slice(e)}function u(t,e){if(e<128)t.push(e);else{var n=1+(Math.log(e)/Math.LN2>>>3);for(t.push(128|n);--n;)t.push(e>>>(n<<3)&255);t.push(e)}}t.exports=a,a.prototype._importDER=function(t,e){t=i.toArray(t,e);var n=new s;if(48!==t[n.place++])return!1;var o=l(t,n);if(!1===o)return!1;if(o+n.place!==t.length)return!1;if(2!==t[n.place++])return!1;var a=l(t,n);if(!1===a)return!1;var c=t.slice(n.place,a+n.place);if(n.place+=a,2!==t[n.place++])return!1;var u=l(t,n);if(!1===u)return!1;if(t.length!==u+n.place)return!1;var h=t.slice(n.place,u+n.place);if(0===c[0]){if(!(128&c[1]))return!1;c=c.slice(1)}if(0===h[0]){if(!(128&h[1]))return!1;h=h.slice(1)}return this.r=new r(c),this.s=new r(h),this.recoveryParam=null,!0},a.prototype.toDER=function(t){var e=this.r.toArray(),n=this.s.toArray();for(128&e[0]&&(e=[0].concat(e)),128&n[0]&&(n=[0].concat(n)),e=c(e),n=c(n);!(n[0]||128&n[1]);)n=n.slice(1);var r=[2];u(r,e.length),(r=r.concat(e)).push(2),u(r,n.length);var o=r.concat(n),a=[48];return u(a,o.length),a=a.concat(o),i.encode(a,t)}},8650:(t,e,n)=>{"use strict";var r=n(7952),i=n(480),o=n(7011),a=o.assert,s=o.parseBytes,l=n(6661),c=n(220);function u(t){if(a("ed25519"===t,"only tested with ed25519 so far"),!(this instanceof u))return new u(t);t=i[t].curve,this.curve=t,this.g=t.g,this.g.precompute(t.n.bitLength()+1),this.pointClass=t.point().constructor,this.encodingLength=Math.ceil(t.n.bitLength()/8),this.hash=r.sha512}t.exports=u,u.prototype.sign=function(t,e){t=s(t);var n=this.keyFromSecret(e),r=this.hashInt(n.messagePrefix(),t),i=this.g.mul(r),o=this.encodePoint(i),a=this.hashInt(o,n.pubBytes(),t).mul(n.priv()),l=r.add(a).umod(this.curve.n);return this.makeSignature({R:i,S:l,Rencoded:o})},u.prototype.verify=function(t,e,n){t=s(t),e=this.makeSignature(e);var r=this.keyFromPublic(n),i=this.hashInt(e.Rencoded(),r.pubBytes(),t),o=this.g.mul(e.S());return e.R().add(r.pub().mul(i)).eq(o)},u.prototype.hashInt=function(){for(var t=this.hash(),e=0;e<arguments.length;e++)t.update(arguments[e]);return o.intFromLE(t.digest()).umod(this.curve.n)},u.prototype.keyFromPublic=function(t){return l.fromPublic(this,t)},u.prototype.keyFromSecret=function(t){return l.fromSecret(this,t)},u.prototype.makeSignature=function(t){return t instanceof c?t:new c(this,t)},u.prototype.encodePoint=function(t){var e=t.getY().toArray("le",this.encodingLength);return e[this.encodingLength-1]|=t.getX().isOdd()?128:0,e},u.prototype.decodePoint=function(t){var e=(t=o.parseBytes(t)).length-1,n=t.slice(0,e).concat(-129&t[e]),r=0!=(128&t[e]),i=o.intFromLE(n);return this.curve.pointFromY(i,r)},u.prototype.encodeInt=function(t){return t.toArray("le",this.encodingLength)},u.prototype.decodeInt=function(t){return o.intFromLE(t)},u.prototype.isPoint=function(t){return t instanceof this.pointClass}},6661:(t,e,n)=>{"use strict";var r=n(7011),i=r.assert,o=r.parseBytes,a=r.cachedProperty;function s(t,e){this.eddsa=t,this._secret=o(e.secret),t.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=o(e.pub)}s.fromPublic=function(t,e){return e instanceof s?e:new s(t,{pub:e})},s.fromSecret=function(t,e){return e instanceof s?e:new s(t,{secret:e})},s.prototype.secret=function(){return this._secret},a(s,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),a(s,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),a(s,"privBytes",(function(){var t=this.eddsa,e=this.hash(),n=t.encodingLength-1,r=e.slice(0,t.encodingLength);return r[0]&=248,r[n]&=127,r[n]|=64,r})),a(s,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),a(s,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),a(s,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),s.prototype.sign=function(t){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(t,this)},s.prototype.verify=function(t,e){return this.eddsa.verify(t,e,this)},s.prototype.getSecret=function(t){return i(this._secret,"KeyPair is public only"),r.encode(this.secret(),t)},s.prototype.getPublic=function(t){return r.encode(this.pubBytes(),t)},t.exports=s},220:(t,e,n)=>{"use strict";var r=n(8490),i=n(7011),o=i.assert,a=i.cachedProperty,s=i.parseBytes;function l(t,e){this.eddsa=t,"object"!=typeof e&&(e=s(e)),Array.isArray(e)&&(e={R:e.slice(0,t.encodingLength),S:e.slice(t.encodingLength)}),o(e.R&&e.S,"Signature without R or S"),t.isPoint(e.R)&&(this._R=e.R),e.S instanceof r&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}a(l,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),a(l,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),a(l,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),a(l,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),l.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},l.prototype.toHex=function(){return i.encode(this.toBytes(),"hex").toUpperCase()},t.exports=l},4011:t=>{t.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},7011:(t,e,n)=>{"use strict";var r=e,i=n(8490),o=n(3349),a=n(4367);r.assert=o,r.toArray=a.toArray,r.zero2=a.zero2,r.toHex=a.toHex,r.encode=a.encode,r.getNAF=function(t,e,n){var r=new Array(Math.max(t.bitLength(),n)+1);r.fill(0);for(var i=1<<e+1,o=t.clone(),a=0;a<r.length;a++){var s,l=o.andln(i-1);o.isOdd()?(s=l>(i>>1)-1?(i>>1)-l:l,o.isubn(s)):s=0,r[a]=s,o.iushrn(1)}return r},r.getJSF=function(t,e){var n=[[],[]];t=t.clone(),e=e.clone();for(var r,i=0,o=0;t.cmpn(-i)>0||e.cmpn(-o)>0;){var a,s,l=t.andln(3)+i&3,c=e.andln(3)+o&3;3===l&&(l=-1),3===c&&(c=-1),a=0==(1&l)?0:3!=(r=t.andln(7)+i&7)&&5!==r||2!==c?l:-l,n[0].push(a),s=0==(1&c)?0:3!=(r=e.andln(7)+o&7)&&5!==r||2!==l?c:-c,n[1].push(s),2*i===a+1&&(i=1-i),2*o===s+1&&(o=1-o),t.iushrn(1),e.iushrn(1)}return n},r.cachedProperty=function(t,e,n){var r="_"+e;t.prototype[e]=function(){return void 0!==this[r]?this[r]:this[r]=n.call(this)}},r.parseBytes=function(t){return"string"==typeof t?r.toArray(t,"hex"):t},r.intFromLE=function(t){return new i(t,"hex","le")}},8490:function(t,e,n){!function(t,e){"use strict";function r(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var a;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:n(9368).Buffer}catch(t){}function s(t,e){var n=t.charCodeAt(e);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function l(t,e,n){var r=s(t,n);return n-1>=e&&(r|=s(t,n-1)<<4),r}function c(t,e,n,r){for(var i=0,o=Math.min(t.length,n),a=e;a<o;a++){var s=t.charCodeAt(a)-48;i*=r,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"==typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,n){if("number"==typeof t)return this._initNumber(t,e,n);if("object"==typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),r(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,n):(this._parseBase(t,e,i),"le"===n&&this._initArray(this.toArray(),e,n)))},o.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(r(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initArray=function(t,e,n){if(r("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===n)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,n){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,o=0,a=0;if("be"===n)for(r=t.length-1;r>=e;r-=2)i=l(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(t.length-e)%2==0?e+1:e;r<t.length;r+=2)i=l(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,u=n;u<s;u+=r)l=c(t,u,u+r,e),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==a){var h=1;for(l=c(t,u,t.length,e),u=0;u<a;u++)h*=e;this.imuln(h),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&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},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var u=["","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"],h=[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],f=[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 d(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,l=a/67108864|0;n.words[0]=s;for(var c=1;c<r;c++){for(var u=l>>>26,h=67108863&l,f=Math.min(c,e.length-1),d=Math.max(0,c-t.length+1);d<=f;d++){var p=c-d|0;u+=(a=(i=0|t.words[p])*(o=0|e.words[d])+h)/67108864|0,h=67108863&a}n.words[c]=0|h,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n.strip()}o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],l=(16777215&(s<<i|o)).toString(16);n=0!=(o=s>>>24-i&16777215)||a!==this.length-1?u[6-l.length]+l+n:l+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.toString(16)+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var c=h[t],d=f[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(d).toString(t);n=(p=p.idivn(d)).isZero()?m+n:u[c-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return r(void 0!==a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,l="le"===e,c=new t(o),u=this.clone();if(l){for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),c[s]=a;for(;s<o;s++)c[s]=0}else{for(s=0;s<o-i;s++)c[s]=0;for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),c[o-s-1]=a}return c},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,n=0;return e>=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var n=this._zeroBits(this.words[e]);if(t+=n,26!==n)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return r(0==(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;n<e.length;n++)this.words[n]=this.words[n]&t.words[n];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return r(0==(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;r<n.length;r++)this.words[r]=e.words[r]^n.words[r];if(this!==e)for(;r<e.length;r++)this.words[r]=e.words[r];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return r(0==(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){r("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"==typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,n,r;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o<r.length;o++)e=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<n.length;o++)e=(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a<r.length;a++)o=(e=(0|n.words[a])-(0|r.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<n.length;a++)o=(e=(0|n.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<n.length&&n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this.length=Math.max(this.length,a),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var p=function(t,e,n){var r,i,o,a=t.words,s=e.words,l=n.words,c=0,u=0|a[0],h=8191&u,f=u>>>13,d=0|a[1],p=8191&d,m=d>>>13,g=0|a[2],y=8191&g,w=g>>>13,b=0|a[3],v=8191&b,E=b>>>13,_=0|a[4],A=8191&_,M=_>>>13,T=0|a[5],x=8191&T,S=T>>>13,k=0|a[6],C=8191&k,D=k>>>13,I=0|a[7],R=8191&I,N=I>>>13,O=0|a[8],L=8191&O,P=O>>>13,F=0|a[9],B=8191&F,U=F>>>13,j=0|s[0],H=8191&j,z=j>>>13,q=0|s[1],W=8191&q,G=q>>>13,K=0|s[2],Y=8191&K,V=K>>>13,X=0|s[3],Z=8191&X,$=X>>>13,Q=0|s[4],J=8191&Q,tt=Q>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],lt=8191&st,ct=st>>>13,ut=0|s[8],ht=8191&ut,ft=ut>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;n.negative=t.negative^e.negative,n.length=19;var gt=(c+(r=Math.imul(h,H))|0)+((8191&(i=(i=Math.imul(h,z))+Math.imul(f,H)|0))<<13)|0;c=((o=Math.imul(f,z))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,r=Math.imul(p,H),i=(i=Math.imul(p,z))+Math.imul(m,H)|0,o=Math.imul(m,z);var yt=(c+(r=r+Math.imul(h,W)|0)|0)+((8191&(i=(i=i+Math.imul(h,G)|0)+Math.imul(f,W)|0))<<13)|0;c=((o=o+Math.imul(f,G)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(y,H),i=(i=Math.imul(y,z))+Math.imul(w,H)|0,o=Math.imul(w,z),r=r+Math.imul(p,W)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(m,W)|0,o=o+Math.imul(m,G)|0;var wt=(c+(r=r+Math.imul(h,Y)|0)|0)+((8191&(i=(i=i+Math.imul(h,V)|0)+Math.imul(f,Y)|0))<<13)|0;c=((o=o+Math.imul(f,V)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(v,H),i=(i=Math.imul(v,z))+Math.imul(E,H)|0,o=Math.imul(E,z),r=r+Math.imul(y,W)|0,i=(i=i+Math.imul(y,G)|0)+Math.imul(w,W)|0,o=o+Math.imul(w,G)|0,r=r+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,V)|0;var bt=(c+(r=r+Math.imul(h,Z)|0)|0)+((8191&(i=(i=i+Math.imul(h,$)|0)+Math.imul(f,Z)|0))<<13)|0;c=((o=o+Math.imul(f,$)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(A,H),i=(i=Math.imul(A,z))+Math.imul(M,H)|0,o=Math.imul(M,z),r=r+Math.imul(v,W)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(E,W)|0,o=o+Math.imul(E,G)|0,r=r+Math.imul(y,Y)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(w,Y)|0,o=o+Math.imul(w,V)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,$)|0)+Math.imul(m,Z)|0,o=o+Math.imul(m,$)|0;var vt=(c+(r=r+Math.imul(h,J)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(f,J)|0))<<13)|0;c=((o=o+Math.imul(f,tt)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(x,H),i=(i=Math.imul(x,z))+Math.imul(S,H)|0,o=Math.imul(S,z),r=r+Math.imul(A,W)|0,i=(i=i+Math.imul(A,G)|0)+Math.imul(M,W)|0,o=o+Math.imul(M,G)|0,r=r+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(E,Y)|0,o=o+Math.imul(E,V)|0,r=r+Math.imul(y,Z)|0,i=(i=i+Math.imul(y,$)|0)+Math.imul(w,Z)|0,o=o+Math.imul(w,$)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,J)|0,o=o+Math.imul(m,tt)|0;var Et=(c+(r=r+Math.imul(h,nt)|0)|0)+((8191&(i=(i=i+Math.imul(h,rt)|0)+Math.imul(f,nt)|0))<<13)|0;c=((o=o+Math.imul(f,rt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(C,H),i=(i=Math.imul(C,z))+Math.imul(D,H)|0,o=Math.imul(D,z),r=r+Math.imul(x,W)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(S,W)|0,o=o+Math.imul(S,G)|0,r=r+Math.imul(A,Y)|0,i=(i=i+Math.imul(A,V)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(v,Z)|0,i=(i=i+Math.imul(v,$)|0)+Math.imul(E,Z)|0,o=o+Math.imul(E,$)|0,r=r+Math.imul(y,J)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(m,nt)|0,o=o+Math.imul(m,rt)|0;var _t=(c+(r=r+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(f,ot)|0))<<13)|0;c=((o=o+Math.imul(f,at)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(R,H),i=(i=Math.imul(R,z))+Math.imul(N,H)|0,o=Math.imul(N,z),r=r+Math.imul(C,W)|0,i=(i=i+Math.imul(C,G)|0)+Math.imul(D,W)|0,o=o+Math.imul(D,G)|0,r=r+Math.imul(x,Y)|0,i=(i=i+Math.imul(x,V)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,V)|0,r=r+Math.imul(A,Z)|0,i=(i=i+Math.imul(A,$)|0)+Math.imul(M,Z)|0,o=o+Math.imul(M,$)|0,r=r+Math.imul(v,J)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(E,J)|0,o=o+Math.imul(E,tt)|0,r=r+Math.imul(y,nt)|0,i=(i=i+Math.imul(y,rt)|0)+Math.imul(w,nt)|0,o=o+Math.imul(w,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var At=(c+(r=r+Math.imul(h,lt)|0)|0)+((8191&(i=(i=i+Math.imul(h,ct)|0)+Math.imul(f,lt)|0))<<13)|0;c=((o=o+Math.imul(f,ct)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(L,H),i=(i=Math.imul(L,z))+Math.imul(P,H)|0,o=Math.imul(P,z),r=r+Math.imul(R,W)|0,i=(i=i+Math.imul(R,G)|0)+Math.imul(N,W)|0,o=o+Math.imul(N,G)|0,r=r+Math.imul(C,Y)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(x,Z)|0,i=(i=i+Math.imul(x,$)|0)+Math.imul(S,Z)|0,o=o+Math.imul(S,$)|0,r=r+Math.imul(A,J)|0,i=(i=i+Math.imul(A,tt)|0)+Math.imul(M,J)|0,o=o+Math.imul(M,tt)|0,r=r+Math.imul(v,nt)|0,i=(i=i+Math.imul(v,rt)|0)+Math.imul(E,nt)|0,o=o+Math.imul(E,rt)|0,r=r+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,r=r+Math.imul(p,lt)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(m,lt)|0,o=o+Math.imul(m,ct)|0;var Mt=(c+(r=r+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,ft)|0)+Math.imul(f,ht)|0))<<13)|0;c=((o=o+Math.imul(f,ft)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(B,H),i=(i=Math.imul(B,z))+Math.imul(U,H)|0,o=Math.imul(U,z),r=r+Math.imul(L,W)|0,i=(i=i+Math.imul(L,G)|0)+Math.imul(P,W)|0,o=o+Math.imul(P,G)|0,r=r+Math.imul(R,Y)|0,i=(i=i+Math.imul(R,V)|0)+Math.imul(N,Y)|0,o=o+Math.imul(N,V)|0,r=r+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,$)|0)+Math.imul(D,Z)|0,o=o+Math.imul(D,$)|0,r=r+Math.imul(x,J)|0,i=(i=i+Math.imul(x,tt)|0)+Math.imul(S,J)|0,o=o+Math.imul(S,tt)|0,r=r+Math.imul(A,nt)|0,i=(i=i+Math.imul(A,rt)|0)+Math.imul(M,nt)|0,o=o+Math.imul(M,rt)|0,r=r+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(E,ot)|0,o=o+Math.imul(E,at)|0,r=r+Math.imul(y,lt)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(w,lt)|0,o=o+Math.imul(w,ct)|0,r=r+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,ft)|0)+Math.imul(m,ht)|0,o=o+Math.imul(m,ft)|0;var Tt=(c+(r=r+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,mt)|0)+Math.imul(f,pt)|0))<<13)|0;c=((o=o+Math.imul(f,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(B,W),i=(i=Math.imul(B,G))+Math.imul(U,W)|0,o=Math.imul(U,G),r=r+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(P,Y)|0,o=o+Math.imul(P,V)|0,r=r+Math.imul(R,Z)|0,i=(i=i+Math.imul(R,$)|0)+Math.imul(N,Z)|0,o=o+Math.imul(N,$)|0,r=r+Math.imul(C,J)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(D,J)|0,o=o+Math.imul(D,tt)|0,r=r+Math.imul(x,nt)|0,i=(i=i+Math.imul(x,rt)|0)+Math.imul(S,nt)|0,o=o+Math.imul(S,rt)|0,r=r+Math.imul(A,ot)|0,i=(i=i+Math.imul(A,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,r=r+Math.imul(v,lt)|0,i=(i=i+Math.imul(v,ct)|0)+Math.imul(E,lt)|0,o=o+Math.imul(E,ct)|0,r=r+Math.imul(y,ht)|0,i=(i=i+Math.imul(y,ft)|0)+Math.imul(w,ht)|0,o=o+Math.imul(w,ft)|0;var xt=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(B,Y),i=(i=Math.imul(B,V))+Math.imul(U,Y)|0,o=Math.imul(U,V),r=r+Math.imul(L,Z)|0,i=(i=i+Math.imul(L,$)|0)+Math.imul(P,Z)|0,o=o+Math.imul(P,$)|0,r=r+Math.imul(R,J)|0,i=(i=i+Math.imul(R,tt)|0)+Math.imul(N,J)|0,o=o+Math.imul(N,tt)|0,r=r+Math.imul(C,nt)|0,i=(i=i+Math.imul(C,rt)|0)+Math.imul(D,nt)|0,o=o+Math.imul(D,rt)|0,r=r+Math.imul(x,ot)|0,i=(i=i+Math.imul(x,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,r=r+Math.imul(A,lt)|0,i=(i=i+Math.imul(A,ct)|0)+Math.imul(M,lt)|0,o=o+Math.imul(M,ct)|0,r=r+Math.imul(v,ht)|0,i=(i=i+Math.imul(v,ft)|0)+Math.imul(E,ht)|0,o=o+Math.imul(E,ft)|0;var St=(c+(r=r+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,mt)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,mt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(B,Z),i=(i=Math.imul(B,$))+Math.imul(U,Z)|0,o=Math.imul(U,$),r=r+Math.imul(L,J)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(P,J)|0,o=o+Math.imul(P,tt)|0,r=r+Math.imul(R,nt)|0,i=(i=i+Math.imul(R,rt)|0)+Math.imul(N,nt)|0,o=o+Math.imul(N,rt)|0,r=r+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,r=r+Math.imul(x,lt)|0,i=(i=i+Math.imul(x,ct)|0)+Math.imul(S,lt)|0,o=o+Math.imul(S,ct)|0,r=r+Math.imul(A,ht)|0,i=(i=i+Math.imul(A,ft)|0)+Math.imul(M,ht)|0,o=o+Math.imul(M,ft)|0;var kt=(c+(r=r+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(E,pt)|0))<<13)|0;c=((o=o+Math.imul(E,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(B,J),i=(i=Math.imul(B,tt))+Math.imul(U,J)|0,o=Math.imul(U,tt),r=r+Math.imul(L,nt)|0,i=(i=i+Math.imul(L,rt)|0)+Math.imul(P,nt)|0,o=o+Math.imul(P,rt)|0,r=r+Math.imul(R,ot)|0,i=(i=i+Math.imul(R,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,r=r+Math.imul(C,lt)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(D,lt)|0,o=o+Math.imul(D,ct)|0,r=r+Math.imul(x,ht)|0,i=(i=i+Math.imul(x,ft)|0)+Math.imul(S,ht)|0,o=o+Math.imul(S,ft)|0;var Ct=(c+(r=r+Math.imul(A,pt)|0)|0)+((8191&(i=(i=i+Math.imul(A,mt)|0)+Math.imul(M,pt)|0))<<13)|0;c=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(B,nt),i=(i=Math.imul(B,rt))+Math.imul(U,nt)|0,o=Math.imul(U,rt),r=r+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(P,ot)|0,o=o+Math.imul(P,at)|0,r=r+Math.imul(R,lt)|0,i=(i=i+Math.imul(R,ct)|0)+Math.imul(N,lt)|0,o=o+Math.imul(N,ct)|0,r=r+Math.imul(C,ht)|0,i=(i=i+Math.imul(C,ft)|0)+Math.imul(D,ht)|0,o=o+Math.imul(D,ft)|0;var Dt=(c+(r=r+Math.imul(x,pt)|0)|0)+((8191&(i=(i=i+Math.imul(x,mt)|0)+Math.imul(S,pt)|0))<<13)|0;c=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,r=Math.imul(B,ot),i=(i=Math.imul(B,at))+Math.imul(U,ot)|0,o=Math.imul(U,at),r=r+Math.imul(L,lt)|0,i=(i=i+Math.imul(L,ct)|0)+Math.imul(P,lt)|0,o=o+Math.imul(P,ct)|0,r=r+Math.imul(R,ht)|0,i=(i=i+Math.imul(R,ft)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,ft)|0;var It=(c+(r=r+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,mt)|0)+Math.imul(D,pt)|0))<<13)|0;c=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(B,lt),i=(i=Math.imul(B,ct))+Math.imul(U,lt)|0,o=Math.imul(U,ct),r=r+Math.imul(L,ht)|0,i=(i=i+Math.imul(L,ft)|0)+Math.imul(P,ht)|0,o=o+Math.imul(P,ft)|0;var Rt=(c+(r=r+Math.imul(R,pt)|0)|0)+((8191&(i=(i=i+Math.imul(R,mt)|0)+Math.imul(N,pt)|0))<<13)|0;c=((o=o+Math.imul(N,mt)|0)+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,r=Math.imul(B,ht),i=(i=Math.imul(B,ft))+Math.imul(U,ht)|0,o=Math.imul(U,ft);var Nt=(c+(r=r+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(P,pt)|0))<<13)|0;c=((o=o+Math.imul(P,mt)|0)+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863;var Ot=(c+(r=Math.imul(B,pt))|0)+((8191&(i=(i=Math.imul(B,mt))+Math.imul(U,pt)|0))<<13)|0;return c=((o=Math.imul(U,mt))+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,l[0]=gt,l[1]=yt,l[2]=wt,l[3]=bt,l[4]=vt,l[5]=Et,l[6]=_t,l[7]=At,l[8]=Mt,l[9]=Tt,l[10]=xt,l[11]=St,l[12]=kt,l[13]=Ct,l[14]=Dt,l[15]=It,l[16]=Rt,l[17]=Nt,l[18]=Ot,0!==c&&(l[19]=c,n.length++),n};function m(t,e,n){return(new g).mulp(t,e,n)}function g(t,e){this.x=t,this.y=e}Math.imul||(p=d),o.prototype.mulTo=function(t,e){var n,r=this.length+t.length;return n=10===this.length&&10===t.length?p(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var a=i;i=0;for(var s=67108863&r,l=Math.min(o,e.length-1),c=Math.max(0,o-t.length+1);c<=l;c++){var u=o-c,h=(0|t.words[u])*(0|e.words[c]),f=67108863&h;s=67108863&(f=f+s|0),i+=(a=(a=a+(h/67108864|0)|0)+(f>>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,t,e):m(this,t,e),n},g.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r<t;r++)e[r]=this.revBin(r,n,t);return e},g.prototype.revBin=function(t,e,n){if(0===t||t===n-1)return t;for(var r=0,i=0;i<e;i++)r|=(1&t)<<e-i-1,t>>=1;return r},g.prototype.permute=function(t,e,n,r,i,o){for(var a=0;a<o;a++)r[a]=e[t[a]],i[a]=n[t[a]]},g.prototype.transform=function(t,e,n,r,i,o){this.permute(o,t,e,n,r,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,l=Math.cos(2*Math.PI/s),c=Math.sin(2*Math.PI/s),u=0;u<i;u+=s)for(var h=l,f=c,d=0;d<a;d++){var p=n[u+d],m=r[u+d],g=n[u+d+a],y=r[u+d+a],w=h*g-f*y;y=h*y+f*g,g=w,n[u+d]=p+g,r[u+d]=m+y,n[u+d+a]=p-g,r[u+d+a]=m-y,d!==s&&(w=l*h-c*f,f=l*f+c*h,h=w)}},g.prototype.guessLen13b=function(t,e){var n=1|Math.max(e,t),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},g.prototype.conjugate=function(t,e,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=t[r];t[r]=t[n-r-1],t[n-r-1]=i,i=e[r],e[r]=-e[n-r-1],e[n-r-1]=-i}},g.prototype.normalize13b=function(t,e){for(var n=0,r=0;r<e/2;r++){var i=8192*Math.round(t[2*r+1]/e)+Math.round(t[2*r]/e)+n;t[r]=67108863&i,n=i<67108864?0:i/67108864|0}return t},g.prototype.convert13b=function(t,e,n,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],n[2*a]=8191&o,o>>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)n[a]=0;r(0===o),r(0==(-8192&o))},g.prototype.stub=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=0;return e},g.prototype.mulp=function(t,e,n){var r=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(r),o=this.stub(r),a=new Array(r),s=new Array(r),l=new Array(r),c=new Array(r),u=new Array(r),h=new Array(r),f=n.words;f.length=r,this.convert13b(t.words,t.length,a,r),this.convert13b(e.words,e.length,c,r),this.transform(a,o,s,l,r,i),this.transform(c,o,u,h,r,i);for(var d=0;d<r;d++){var p=s[d]*u[d]-l[d]*h[d];l[d]=s[d]*h[d]+l[d]*u[d],s[d]=p}return this.conjugate(s,l,r),this.transform(s,l,f,o,r,i),this.conjugate(f,o,r),this.normalize13b(f,r),n.negative=t.negative^e.negative,n.length=t.length+e.length,n.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),m(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){r("number"==typeof t),r(t<67108864);for(var e=0,n=0;n<this.length;n++){var i=(0|this.words[n])*t,o=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=o>>>26,this.words[n]=67108863&o}return 0!==e&&(this.words[n]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n<e.length;n++){var r=n/26|0,i=n%26;e[n]=(t.words[r]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r<e.length&&0===e[r];r++,n=n.sqr());if(++r<e.length)for(var i=n.sqr();r<e.length;r++,i=i.sqr())0!==e[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(t){r("number"==typeof t&&t>=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,l=(0|this.words[e])-s<<n;this.words[e]=l|a,a=s>>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return r(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,n){var i;r("number"==typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,l=n;if(i-=a,i=Math.max(0,i),l){for(var c=0;c<a;c++)l.words[c]=this.words[c];l.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var u=0;for(c=this.length-1;c>=0&&(0!==u||c>=i);c--){var h=0|this.words[c];this.words[c]=u<<26-o|h>>>o,u=h&s}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<<e;return!(this.length<=n||!(this.words[n]&i))},o.prototype.imaskn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==e&&n++,this.length=Math.min(n,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return r("number"==typeof t),r(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(r("number"==typeof t),r(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,n){var i,o,a=t.length+n;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+n])+s;var l=(0|t.words[i])*e;s=((o-=67108863&l)>>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)s=(o=(0|this.words[i+n])+s)>>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1];0!=(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,l=r.length-i.length;if("mod"!==e){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var c=0;c<s.length;c++)s.words[c]=0}var u=r.clone()._ishlnsubmul(i,1,l);0===u.negative&&(r=u,s&&(s.words[l]=1));for(var h=l-1;h>=0;h--){var f=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);for(f=Math.min(f/a|0,67108863),r._ishlnsubmul(i,f,h);0!==r.negative;)f--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);s&&(s.words[h]=f)}return s&&s.strip(),r.strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){r(t<=67108863);for(var e=(1<<26)%t,n=0,i=this.length-1;i>=0;i--)n=(e*n+(0|this.words[i]))%t;return n},o.prototype.idivn=function(t){r(t<=67108863);for(var e=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*e;this.words[n]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var u=n.clone(),h=e.clone();!e.isZero();){for(var f=0,d=1;0==(e.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(e.iushrn(f);f-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(u),a.isub(h)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(u),l.isub(h)),s.iushrn(1),l.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(s),a.isub(l)):(n.isub(e),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:n.iushln(c)}},o.prototype._invmp=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),l=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,u=1;0==(e.words[0]&u)&&c<26;++c,u<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var h=0,f=1;0==(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(n.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(s)):(n.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"==typeof t);var e=t%26,n=(t-e)/26,i=1<<e;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,a=n;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)e=1;else{n&&(t=-t),r(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){r<i?e=-1:r>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new A(t)},o.prototype.toRed=function(t){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var y={k256:null,p224:null,p192:null,p25519:null};function w(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(t){if("string"==typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else r(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function M(t){A.call(this,t),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)}w.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},w.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},w.prototype.split=function(t,e){t.iushrn(this.n,0,e)},w.prototype.imulK=function(t){return t.imul(this.k)},i(b,w),b.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i<r;i++)e.words[i]=t.words[i];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&n,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(a&n)<<4|o>>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},b.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n<t.length;n++){var r=0|t.words[n];e+=977*r,t.words[n]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(v,w),i(E,w),i(_,w),_.prototype.imulK=function(t){for(var e=0,n=0;n<t.length;n++){var r=19*(0|t.words[n])+e,i=67108863&r;r>>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(y[t])return y[t];var e;if("k256"===t)e=new b;else if("p224"===t)e=new v;else if("p192"===t)e=new E;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new _}return y[t]=e,e},A.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},A.prototype._verify2=function(t,e){r(0==(t.negative|e.negative),"red works only with positives"),r(t.red&&t.red===e.red,"red works only with red numbers")},A.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},A.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},A.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},A.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},A.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},A.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},A.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},A.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},A.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},A.prototype.isqr=function(t){return this.imul(t,t.clone())},A.prototype.sqr=function(t){return this.mul(t,t)},A.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(r(e%2==1),3===e){var n=this.m.add(new o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,c).cmp(l);)u.redIAdd(l);for(var h=this.pow(u,i),f=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var m=d,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g<p);var y=this.pow(h,new o(1).iushln(p-g-1));f=f.redMul(y),h=y.redSqr(),d=d.redMul(h),p=g}return f},A.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},A.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=t;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],t);var i=n[0],a=0,s=0,l=e.bitLength()%26;for(0===l&&(l=26),r=e.length-1;r>=0;r--){for(var c=e.words[r],u=l-1;u>=0;u--){var h=c>>u&1;i!==n[0]&&(i=this.sqr(i)),0!==h||0!==a?(a<<=1,a|=h,(4==++s||0===r&&0===u)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}l=26}return i},A.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},A.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new M(t)},i(M,A),M.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},M.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},M.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},M.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},M.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t=n.nmd(t),this)},7007:t=>{"use strict";var e,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(t,e,n){return Function.prototype.apply.call(t,e,n)};e=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var i=Number.isNaN||function(t){return t!=t};function o(){o.init.call(this)}t.exports=o,t.exports.once=function(t,e){return new Promise((function(n,r){function i(n){t.removeListener(e,o),r(n)}function o(){"function"==typeof t.removeListener&&t.removeListener("error",i),n([].slice.call(arguments))}m(t,e,o,{once:!0}),"error"!==e&&function(t,e,n){"function"==typeof t.on&&m(t,"error",e,{once:!0})}(t,i)}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function l(t){return void 0===t._maxListeners?o.defaultMaxListeners:t._maxListeners}function c(t,e,n,r){var i,o,a,c;if(s(n),void 0===(o=t._events)?(o=t._events=Object.create(null),t._eventsCount=0):(void 0!==o.newListener&&(t.emit("newListener",e,n.listener?n.listener:n),o=t._events),a=o[e]),void 0===a)a=o[e]=n,++t._eventsCount;else if("function"==typeof a?a=o[e]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=l(t))>0&&a.length>i&&!a.warned){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=t,u.type=e,u.count=a.length,c=u,console&&console.warn&&console.warn(c)}return t}function u(){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 h(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=u.bind(r);return i.listener=n,r.wrapFn=i,i}function f(t,e,n){var r=t._events;if(void 0===r)return[];var i=r[e];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}(i):p(i,i.length)}function d(t){var e=this._events;if(void 0!==e){var n=e[t];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function p(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t[r];return n}function m(t,e,n,r){if("function"==typeof t.on)r.once?t.once(e,n):t.on(e,n);else{if("function"!=typeof t.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t);t.addEventListener(e,(function i(o){r.once&&t.removeEventListener(e,i),n(o)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(t){if("number"!=typeof t||t<0||i(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");a=t}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||i(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},o.prototype.getMaxListeners=function(){return l(this)},o.prototype.emit=function(t){for(var e=[],n=1;n<arguments.length;n++)e.push(arguments[n]);var i="error"===t,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var a;if(e.length>0&&(a=e[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=o[t];if(void 0===l)return!1;if("function"==typeof l)r(l,this,e);else{var c=l.length,u=p(l,c);for(n=0;n<c;++n)r(u[n],this,e)}return!0},o.prototype.addListener=function(t,e){return c(this,t,e,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(t,e){return c(this,t,e,!0)},o.prototype.once=function(t,e){return s(e),this.on(t,h(this,t,e)),this},o.prototype.prependOnceListener=function(t,e){return s(e),this.prependListener(t,h(this,t,e)),this},o.prototype.removeListener=function(t,e){var n,r,i,o,a;if(s(e),void 0===(r=this._events))return this;if(void 0===(n=r[t]))return this;if(n===e||n.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete r[t],r.removeListener&&this.emit("removeListener",t,n.listener||e));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===e||n[o].listener===e){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(n,i),1===n.length&&(r[t]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",t,a||e)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(t){var e,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[t]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=n[t]))this.removeListener(t,e);else if(void 0!==e)for(r=e.length-1;r>=0;r--)this.removeListener(t,e[r]);return this},o.prototype.listeners=function(t){return f(this,t,!0)},o.prototype.rawListeners=function(t){return f(this,t,!1)},o.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):d.call(t,e)},o.prototype.listenerCount=d,o.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]}},8078:(t,e,n)=>{var r=n(2861).Buffer,i=n(8276);t.exports=function(t,e,n,o){if(r.isBuffer(t)||(t=r.from(t,"binary")),e&&(r.isBuffer(e)||(e=r.from(e,"binary")),8!==e.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var a=n/8,s=r.alloc(a),l=r.alloc(o||0),c=r.alloc(0);a>0||o>0;){var u=new i;u.update(c),u.update(t),e&&u.update(e),c=u.digest();var h=0;if(a>0){var f=s.length-a;h=Math.min(a,c.length),c.copy(s,f,0,h),a-=h}if(h<c.length&&o>0){var d=l.length-o,p=Math.min(o,c.length-h);c.copy(l,d,h,h+p),o-=p}}return c.fill(0),{key:s,iv:l}}},2849:t=>{"use strict";var e=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(t){return"function"==typeof Array.isArray?Array.isArray(t):"[object Array]"===n.call(t)},a=function(t){if(!t||"[object Object]"!==n.call(t))return!1;var r,i=e.call(t,"constructor"),o=t.constructor&&t.constructor.prototype&&e.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!i&&!o)return!1;for(r in t);return void 0===r||e.call(t,r)},s=function(t,e){r&&"__proto__"===e.name?r(t,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):t[e.name]=e.newValue},l=function(t,n){if("__proto__"===n){if(!e.call(t,n))return;if(i)return i(t,n).value}return t[n]};t.exports=function t(){var e,n,r,i,c,u,h=arguments[0],f=1,d=arguments.length,p=!1;for("boolean"==typeof h&&(p=h,h=arguments[1]||{},f=2),(null==h||"object"!=typeof h&&"function"!=typeof h)&&(h={});f<d;++f)if(null!=(e=arguments[f]))for(n in e)r=l(h,n),h!==(i=l(e,n))&&(p&&i&&(a(i)||(c=o(i)))?(c?(c=!1,u=r&&o(r)?r:[]):u=r&&a(r)?r:{},s(h,{name:n,newValue:t(p,u,i)})):void 0!==i&&s(h,{name:n,newValue:i}));return h}},9353:t=>{"use strict";var e=Object.prototype.toString,n=Math.max,r=function(t,e){for(var n=[],r=0;r<t.length;r+=1)n[r]=t[r];for(var i=0;i<e.length;i+=1)n[i+t.length]=e[i];return n};t.exports=function(t){var i=this;if("function"!=typeof i||"[object Function]"!==e.apply(i))throw new TypeError("Function.prototype.bind called on incompatible "+i);for(var o,a=function(t,e){for(var n=[],r=1,i=0;r<t.length;r+=1,i+=1)n[i]=t[r];return n}(arguments),s=n(0,i.length-a.length),l=[],c=0;c<s;c++)l[c]="$"+c;if(o=Function("binder","return function ("+function(t,e){for(var n="",r=0;r<t.length;r+=1)n+=t[r],r+1<t.length&&(n+=",");return n}(l)+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var e=i.apply(this,r(a,arguments));return Object(e)===e?e:this}return i.apply(t,r(a,arguments))})),i.prototype){var u=function(){};u.prototype=i.prototype,o.prototype=new u,u.prototype=null}return o}},6743:(t,e,n)=>{"use strict";var r=n(9353);t.exports=Function.prototype.bind||r},453:(t,e,n)=>{"use strict";var r,i=SyntaxError,o=Function,a=TypeError,s=function(t){try{return o('"use strict"; return ('+t+").constructor;")()}catch(t){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(t){l=null}var c=function(){throw new a},u=l?function(){try{return c}catch(t){try{return l(arguments,"callee").get}catch(t){return c}}}():c,h=n(4039)(),f=n(24)(),d=Object.getPrototypeOf||(f?function(t){return t.__proto__}:null),p={},m="undefined"!=typeof Uint8Array&&d?d(Uint8Array):r,g={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":h&&d?d([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":p,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":h&&d?d(d([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&h&&d?d((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&h&&d?d((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":h&&d?d(""[Symbol.iterator]()):r,"%Symbol%":h?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":u,"%TypedArray%":m,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};if(d)try{null.error}catch(t){var y=d(d(t));g["%Error.prototype%"]=y}var w=function t(e){var n;if("%AsyncFunction%"===e)n=s("async function () {}");else if("%GeneratorFunction%"===e)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===e)n=s("async function* () {}");else if("%AsyncGenerator%"===e){var r=t("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===e){var i=t("%AsyncGenerator%");i&&d&&(n=d(i.prototype))}return g[e]=n,n},b={"%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"]},v=n(6743),E=n(9030),_=v.call(Function.call,Array.prototype.concat),A=v.call(Function.apply,Array.prototype.splice),M=v.call(Function.call,String.prototype.replace),T=v.call(Function.call,String.prototype.slice),x=v.call(Function.call,RegExp.prototype.exec),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,k=/\\(\\)?/g,C=function(t,e){var n,r=t;if(E(b,r)&&(r="%"+(n=b[r])[0]+"%"),E(g,r)){var o=g[r];if(o===p&&(o=w(r)),void 0===o&&!e)throw new a("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new i("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new a('"allowMissing" argument must be a boolean');if(null===x(/^%?[^%]*%?$/,t))throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(t){var e=T(t,0,1),n=T(t,-1);if("%"===e&&"%"!==n)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==e)throw new i("invalid intrinsic syntax, expected opening `%`");var r=[];return M(t,S,(function(t,e,n,i){r[r.length]=n?M(i,k,"$1"):e||t})),r}(t),r=n.length>0?n[0]:"",o=C("%"+r+"%",e),s=o.name,c=o.value,u=!1,h=o.alias;h&&(r=h[0],A(n,_([0,1],h)));for(var f=1,d=!0;f<n.length;f+=1){var p=n[f],m=T(p,0,1),y=T(p,-1);if(('"'===m||"'"===m||"`"===m||'"'===y||"'"===y||"`"===y)&&m!==y)throw new i("property names with quotes must have matching quotes");if("constructor"!==p&&d||(u=!0),E(g,s="%"+(r+="."+p)+"%"))c=g[s];else if(null!=c){if(!(p in c)){if(!e)throw new a("base intrinsic for "+t+" exists, but the property is not available.");return}if(l&&f+1>=n.length){var w=l(c,p);c=(d=!!w)&&"get"in w&&!("originalValue"in w.get)?w.get:c[p]}else d=E(c,p),c=c[p];d&&!u&&(g[s]=c)}}return c}},24:t=>{"use strict";var e={foo:{}},n=Object;t.exports=function(){return{__proto__:e}.foo===e.foo&&!({__proto__:null}instanceof n)}},4039:(t,e,n)=>{"use strict";var r="undefined"!=typeof Symbol&&Symbol,i=n(1333);t.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&i()}},1333:t=>{"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),n=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var r=Object.getOwnPropertySymbols(t);if(1!==r.length||r[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(t,e);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},9030:(t,e,n)=>{"use strict";var r=n(6743);t.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},4729:(t,e,n)=>{"use strict";var r=n(2861).Buffer,i=n(1603).Transform;function o(t){i.call(this),this._block=r.allocUnsafe(t),this._blockSize=t,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}n(6698)(o,i),o.prototype._transform=function(t,e,n){var r=null;try{this.update(t,e)}catch(t){r=t}n(r)},o.prototype._flush=function(t){var e=null;try{this.push(this.digest())}catch(t){e=t}t(e)},o.prototype.update=function(t,e){if(function(t,e){if(!r.isBuffer(t)&&"string"!=typeof t)throw new TypeError("Data must be a string or a buffer")}(t),this._finalized)throw new Error("Digest already called");r.isBuffer(t)||(t=r.from(t,e));for(var n=this._block,i=0;this._blockOffset+t.length-i>=this._blockSize;){for(var o=this._blockOffset;o<this._blockSize;)n[o++]=t[i++];this._update(),this._blockOffset=0}for(;i<t.length;)n[this._blockOffset++]=t[i++];for(var a=0,s=8*t.length;s>0;++a)this._length[a]+=s,(s=this._length[a]/4294967296|0)>0&&(this._length[a]-=4294967296*s);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();void 0!==t&&(e=e.toString(t)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return e},o.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=o},2260:t=>{"use strict";var e={};function n(t,n,r){r||(r=Error);var i=function(t){var e,r;function i(e,r,i){return t.call(this,function(t,e,r){return"string"==typeof n?n:n(t,e,r)}(e,r,i))||this}return r=t,(e=i).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r,i}(r);i.prototype.name=r.name,i.prototype.code=t,e[t]=i}function r(t,e){if(Array.isArray(t)){var n=t.length;return t=t.map((function(t){return String(t)})),n>2?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:2===n?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}n("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),n("ERR_INVALID_ARG_TYPE",(function(t,e,n){var i,o,a,s,l;if("string"==typeof e&&(o="not ",e.substr(0,4)===o)?(i="must not be",e=e.replace(/^not /,"")):i="must be",function(t,e,n){return(void 0===n||n>t.length)&&(n=t.length),t.substring(n-9,n)===e}(t," argument"))a="The ".concat(t," ").concat(i," ").concat(r(e,"type"));else{var c=("number"!=typeof l&&(l=0),l+1>(s=t).length||-1===s.indexOf(".",l)?"argument":"property");a='The "'.concat(t,'" ').concat(c," ").concat(i," ").concat(r(e,"type"))}return a+". Received type ".concat(typeof n)}),TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.F=e},2818:(t,e,n)=>{"use strict";var r=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=c;var i=n(6736),o=n(2192);n(6698)(c,i);for(var a=r(o.prototype),s=0;s<a.length;s++){var l=a[s];c.prototype[l]||(c.prototype[l]=o.prototype[l])}function c(t){if(!(this instanceof c))return new c(t);i.call(this,t),o.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",u)))}function u(){this._writableState.ended||{env:{}}.nextTick(h,this)}function h(t){t.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}})},5860:(t,e,n)=>{"use strict";t.exports=i;var r=n(3054);function i(t){if(!(this instanceof i))return new i(t);r.call(this,t)}n(6698)(i,r),i.prototype._transform=function(t,e,n){n(null,t)}},6736:(t,e,n)=>{"use strict";var r;t.exports=M,M.ReadableState=A,n(7007).EventEmitter;var i,o=function(t,e){return t.listeners(e).length},a=n(1181),s=n(8287).Buffer,l=(void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},c=n(2382);i=c&&c.debuglog?c.debuglog("stream"):function(){};var u,h,f,d=n(2389),p=n(1468),m=n(8775).getHighWaterMark,g=n(2260).F,y=g.ERR_INVALID_ARG_TYPE,w=g.ERR_STREAM_PUSH_AFTER_EOF,b=g.ERR_METHOD_NOT_IMPLEMENTED,v=g.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n(6698)(M,a);var E=p.errorOrDestroy,_=["error","close","destroy","pause","resume"];function A(t,e,i){r=r||n(2818),t=t||{},"boolean"!=typeof i&&(i=e instanceof r),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=m(this,t,"readableHighWaterMark",i),this.buffer=new d,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!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(u||(u=n(3141).I),this.decoder=new u(t.encoding),this.encoding=t.encoding)}function M(t){if(r=r||n(2818),!(this instanceof M))return new M(t);var e=this instanceof r;this._readableState=new A(t,this,e),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),a.call(this)}function T(t,e,n,r,o){i("readableAddChunk",e);var a,c=t._readableState;if(null===e)c.reading=!1,function(t,e){if(i("onEofChunk"),!e.ended){if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,e.sync?C(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,D(t)))}}(t,c);else if(o||(a=function(t,e){var n,r;return r=e,s.isBuffer(r)||r instanceof l||"string"==typeof e||void 0===e||t.objectMode||(n=new y("chunk",["string","Buffer","Uint8Array"],e)),n}(c,e)),a)E(t,a);else if(c.objectMode||e&&e.length>0)if("string"==typeof e||c.objectMode||Object.getPrototypeOf(e)===s.prototype||(e=function(t){return s.from(t)}(e)),r)c.endEmitted?E(t,new v):x(t,c,e,!0);else if(c.ended)E(t,new w);else{if(c.destroyed)return!1;c.reading=!1,c.decoder&&!n?(e=c.decoder.write(e),c.objectMode||0!==e.length?x(t,c,e,!1):I(t,c)):x(t,c,e,!1)}else r||(c.reading=!1,I(t,c));return!c.ended&&(c.length<c.highWaterMark||0===c.length)}function x(t,e,n,r){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",n)):(e.length+=e.objectMode?1:n.length,r?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&C(t)),I(t,e)}Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),M.prototype.destroy=p.destroy,M.prototype._undestroy=p.undestroy,M.prototype._destroy=function(t,e){e(t)},M.prototype.push=function(t,e){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof t&&((e=e||r.defaultEncoding)!==r.encoding&&(t=s.from(t,e),e=""),n=!0),T(this,t,e,!1,n)},M.prototype.unshift=function(t){return T(this,t,null,!0,!1)},M.prototype.isPaused=function(){return!1===this._readableState.flowing},M.prototype.setEncoding=function(t){u||(u=n(3141).I);var e=new u(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i="";null!==r;)i+=e.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var S=1073741824;function k(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=S?t=S:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function C(t){var e=t._readableState;i("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(i("emitReadable",e.flowing),e.emittedReadable=!0,{env:{}}.nextTick(D,t))}function D(t){var e=t._readableState;i("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,P(t)}function I(t,e){e.readingMore||(e.readingMore=!0,{env:{}}.nextTick(R,t,e))}function R(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length);){var n=e.length;if(i("maybeReadMore read 0"),t.read(0),n===e.length)break}e.readingMore=!1}function N(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function O(t){i("readable nexttick read 0"),t.read(0)}function L(t,e){i("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),P(t),e.flowing&&!e.reading&&t.read(0)}function P(t){var e=t._readableState;for(i("flow",e.flowing);e.flowing&&null!==t.read(););}function F(t,e){return 0===e.length?null:(e.objectMode?n=e.buffer.shift():!t||t>=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):n=e.buffer.consume(t,e.decoder),n);var n}function B(t){var e=t._readableState;i("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,{env:{}}.nextTick(U,e,t))}function U(t,e){if(i("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var n=e._writableState;(!n||n.autoDestroy&&n.finished)&&e.destroy()}}function j(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}M.prototype.read=function(t){i("read",t),t=parseInt(t,10);var e=this._readableState,n=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&((0!==e.highWaterMark?e.length>=e.highWaterMark:e.length>0)||e.ended))return i("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?B(this):C(this),null;if(0===(t=k(t,e))&&e.ended)return 0===e.length&&B(this),null;var r,o=e.needReadable;return i("need readable",o),(0===e.length||e.length-t<e.highWaterMark)&&i("length less than watermark",o=!0),e.ended||e.reading?i("reading or ended",o=!1):o&&(i("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=k(n,e))),null===(r=t>0?F(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&B(this)),null!==r&&this.emit("data",r),r},M.prototype._read=function(t){E(this,new b("_read()"))},M.prototype.pipe=function(t,e){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=t;break;case 1:r.pipes=[r.pipes,t];break;default:r.pipes.push(t)}r.pipesCount+=1,i("pipe count=%d opts=%j",r.pipesCount,e);var a=e&&!1===e.end||t==={env:{}}.stdout||t==={env:{}}.stderr?p:s;function s(){i("onend"),t.end()}r.endEmitted?{env:{}}.nextTick(a):n.once("end",a),t.on("unpipe",(function e(o,a){i("onunpipe"),o===n&&a&&!1===a.hasUnpiped&&(a.hasUnpiped=!0,i("cleanup"),t.removeListener("close",f),t.removeListener("finish",d),t.removeListener("drain",l),t.removeListener("error",h),t.removeListener("unpipe",e),n.removeListener("end",s),n.removeListener("end",p),n.removeListener("data",u),c=!0,!r.awaitDrain||t._writableState&&!t._writableState.needDrain||l())}));var l=function(t){return function(){var e=t._readableState;i("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&o(t,"data")&&(e.flowing=!0,P(t))}}(n);t.on("drain",l);var c=!1;function u(e){i("ondata");var o=t.write(e);i("dest.write",o),!1===o&&((1===r.pipesCount&&r.pipes===t||r.pipesCount>1&&-1!==j(r.pipes,t))&&!c&&(i("false write response, pause",r.awaitDrain),r.awaitDrain++),n.pause())}function h(e){i("onerror",e),p(),t.removeListener("error",h),0===o(t,"error")&&E(t,e)}function f(){t.removeListener("finish",d),p()}function d(){i("onfinish"),t.removeListener("close",f),p()}function p(){i("unpipe"),n.unpipe(t)}return n.on("data",u),function(t,e,n){if("function"==typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}(t,"error",h),t.once("close",f),t.once("finish",d),t.emit("pipe",n),r.flowing||(i("pipe resume"),n.resume()),t},M.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var r=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=j(e.pipes,t);return-1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,n)),this},M.prototype.on=function(t,e){var n=a.prototype.on.call(this,t,e),r=this._readableState;return"data"===t?(r.readableListening=this.listenerCount("readable")>0,!1!==r.flowing&&this.resume()):"readable"===t&&(r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,i("on readable",r.length,r.reading),r.length?C(this):r.reading||{env:{}}.nextTick(O,this))),n},M.prototype.addListener=M.prototype.on,M.prototype.removeListener=function(t,e){var n=a.prototype.removeListener.call(this,t,e);return"readable"===t&&{env:{}}.nextTick(N,this),n},M.prototype.removeAllListeners=function(t){var e=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||{env:{}}.nextTick(N,this),e},M.prototype.resume=function(){var t=this._readableState;return t.flowing||(i("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,{env:{}}.nextTick(L,t,e))}(this,t)),t.paused=!1,this},M.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},M.prototype.wrap=function(t){var e=this,n=this._readableState,r=!1;for(var o in t.on("end",(function(){if(i("wrapped end"),n.decoder&&!n.ended){var t=n.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(o){i("wrapped data"),n.decoder&&(o=n.decoder.write(o)),n.objectMode&&null==o||(n.objectMode||o&&o.length)&&(e.push(o)||(r=!0,t.pause()))})),t)void 0===this[o]&&"function"==typeof t[o]&&(this[o]=function(e){return function(){return t[e].apply(t,arguments)}}(o));for(var a=0;a<_.length;a++)t.on(_[a],this.emit.bind(this,_[a]));return this._read=function(e){i("wrapped _read",e),r&&(r=!1,t.resume())},this},"function"==typeof Symbol&&(M.prototype[Symbol.asyncIterator]=function(){return void 0===h&&(h=n(4743)),h(this)}),Object.defineProperty(M.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(M.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(M.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),M._fromList=F,Object.defineProperty(M.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(M.from=function(t,e){return void 0===f&&(f=n(5049)),f(M,t,e)})},3054:(t,e,n)=>{"use strict";t.exports=u;var r=n(2260).F,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=r.ERR_TRANSFORM_WITH_LENGTH_0,l=n(2818);function c(t,e){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=e&&this.push(e),r(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function u(t){if(!(this instanceof u))return new u(t);l.call(this,t),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",h)}function h(){var t=this;"function"!=typeof this._flush||this._readableState.destroyed?f(this,null,null):this._flush((function(e,n){f(t,e,n)}))}function f(t,e,n){if(e)return t.emit("error",e);if(null!=n&&t.push(n),t._writableState.length)throw new s;if(t._transformState.transforming)throw new a;return t.push(null)}n(6698)(u,l),u.prototype.push=function(t,e){return this._transformState.needTransform=!1,l.prototype.push.call(this,t,e)},u.prototype._transform=function(t,e,n){n(new i("_transform()"))},u.prototype._write=function(t,e,n){var r=this._transformState;if(r.writecb=n,r.writechunk=t,r.writeencoding=e,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},u.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},u.prototype._destroy=function(t,e){l.prototype._destroy.call(this,t,(function(t){e(t)}))}},2192:(t,e,n)=>{"use strict";function r(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,n){var r=t.entry;for(t.entry=null;r;){var i=r.callback;e.pendingcb--,i(undefined),r=r.next}e.corkedRequestsFree.next=t}(e,t)}}var i;t.exports=M,M.WritableState=A;var o,a={deprecate:n(4643)},s=n(1181),l=n(8287).Buffer,c=(void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},u=n(1468),h=n(8775).getHighWaterMark,f=n(2260).F,d=f.ERR_INVALID_ARG_TYPE,p=f.ERR_METHOD_NOT_IMPLEMENTED,m=f.ERR_MULTIPLE_CALLBACK,g=f.ERR_STREAM_CANNOT_PIPE,y=f.ERR_STREAM_DESTROYED,w=f.ERR_STREAM_NULL_VALUES,b=f.ERR_STREAM_WRITE_AFTER_END,v=f.ERR_UNKNOWN_ENCODING,E=u.errorOrDestroy;function _(){}function A(t,e,o){i=i||n(2818),t=t||{},"boolean"!=typeof o&&(o=e instanceof i),this.objectMode=!!t.objectMode,o&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=h(this,t,"writableHighWaterMark",o),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===t.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var n=t._writableState,r=n.sync,i=n.writecb;if("function"!=typeof i)throw new m;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),e)!function(t,e,n,r,i){--e.pendingcb,n?({env:{}}.nextTick(i,r),{env:{}}.nextTick(D,t,e),t._writableState.errorEmitted=!0,E(t,r)):(i(r),t._writableState.errorEmitted=!0,E(t,r),D(t,e))}(t,n,r,e,i);else{var o=k(n)||t.destroyed;o||n.corked||n.bufferProcessing||!n.bufferedRequest||S(t,n),r?{env:{}}.nextTick(x,t,n,o,i):x(t,n,o,i)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}function M(t){var e=this instanceof(i=i||n(2818));if(!e&&!o.call(M,this))return new M(t);this._writableState=new A(t,this,e),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),s.call(this)}function T(t,e,n,r,i,o,a){e.writelen=r,e.writecb=a,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new y("write")):n?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function x(t,e,n,r){n||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,r(),D(t,e)}function S(t,e){e.bufferProcessing=!0;var n=e.bufferedRequest;if(t._writev&&n&&n.next){var i=e.bufferedRequestCount,o=new Array(i),a=e.corkedRequestsFree;a.entry=n;for(var s=0,l=!0;n;)o[s]=n,n.isBuf||(l=!1),n=n.next,s+=1;o.allBuffers=l,T(t,e,!0,e.length,o,"",a.finish),e.pendingcb++,e.lastBufferedRequest=null,a.next?(e.corkedRequestsFree=a.next,a.next=null):e.corkedRequestsFree=new r(e),e.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,u=n.encoding,h=n.callback;if(T(t,e,!1,e.objectMode?1:c.length,c,u,h),n=n.next,e.bufferedRequestCount--,e.writing)break}null===n&&(e.lastBufferedRequest=null)}e.bufferedRequest=n,e.bufferProcessing=!1}function k(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function C(t,e){t._final((function(n){e.pendingcb--,n&&E(t,n),e.prefinished=!0,t.emit("prefinish"),D(t,e)}))}function D(t,e){var n=k(e);if(n&&(function(t,e){e.prefinished||e.finalCalled||("function"!=typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,{env:{}}.nextTick(C,t,e)))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var r=t._readableState;(!r||r.autoDestroy&&r.endEmitted)&&t.destroy()}return n}n(6698)(M,s),A.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(A.prototype,"buffer",{get:a.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(o=Function.prototype[Symbol.hasInstance],Object.defineProperty(M,Symbol.hasInstance,{value:function(t){return!!o.call(this,t)||this===M&&t&&t._writableState instanceof A}})):o=function(t){return t instanceof this},M.prototype.pipe=function(){E(this,new g)},M.prototype.write=function(t,e,n){var r,i=this._writableState,o=!1,a=!i.objectMode&&(r=t,l.isBuffer(r)||r instanceof c);return a&&!l.isBuffer(t)&&(t=function(t){return l.from(t)}(t)),"function"==typeof e&&(n=e,e=null),a?e="buffer":e||(e=i.defaultEncoding),"function"!=typeof n&&(n=_),i.ending?function(t,e){var n=new b;E(t,n),{env:{}}.nextTick(e,n)}(this,n):(a||function(t,e,n,r){var i;return null===n?i=new w:"string"==typeof n||e.objectMode||(i=new d("chunk",["string","Buffer"],n)),!i||(E(t,i),{env:{}}.nextTick(r,i),!1)}(this,i,t,n))&&(i.pendingcb++,o=function(t,e,n,r,i,o){if(!n){var a=function(t,e,n){return t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=l.from(e,n)),e}(e,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=e.objectMode?1:r.length;e.length+=s;var c=e.length<e.highWaterMark;if(c||(e.needDrain=!0),e.writing||e.corked){var u=e.lastBufferedRequest;e.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},u?u.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else T(t,e,!1,s,r,i,o);return c}(this,i,a,t,e,n)),o},M.prototype.cork=function(){this._writableState.corked++},M.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||S(this,t))},M.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new v(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(M.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(M.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),M.prototype._write=function(t,e,n){n(new p("_write()"))},M.prototype._writev=null,M.prototype.end=function(t,e,n){var r=this._writableState;return"function"==typeof t?(n=t,t=null,e=null):"function"==typeof e&&(n=e,e=null),null!=t&&this.write(t,e),r.corked&&(r.corked=1,this.uncork()),r.ending||function(t,e,n){e.ending=!0,D(t,e),n&&(e.finished?{env:{}}.nextTick(n):t.once("finish",n)),e.ended=!0,t.writable=!1}(this,r,n),this},Object.defineProperty(M.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),M.prototype.destroy=u.destroy,M.prototype._undestroy=u.undestroy,M.prototype._destroy=function(t,e){e(t)}},4743:(t,e,n)=>{"use strict";var r;function i(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(5826),a=Symbol("lastResolve"),s=Symbol("lastReject"),l=Symbol("error"),c=Symbol("ended"),u=Symbol("lastPromise"),h=Symbol("handlePromise"),f=Symbol("stream");function d(t,e){return{value:t,done:e}}function p(t){var e=t[a];if(null!==e){var n=t[f].read();null!==n&&(t[u]=null,t[a]=null,t[s]=null,e(d(n,!1)))}}function m(t){({env:{}}).nextTick(p,t)}var g=Object.getPrototypeOf((function(){})),y=Object.setPrototypeOf((i(r={get stream(){return this[f]},next:function(){var t=this,e=this[l];if(null!==e)return Promise.reject(e);if(this[c])return Promise.resolve(d(void 0,!0));if(this[f].destroyed)return new Promise((function(e,n){({env:{}}).nextTick((function(){t[l]?n(t[l]):e(d(void 0,!0))}))}));var n,r=this[u];if(r)n=new Promise(function(t,e){return function(n,r){t.then((function(){e[c]?n(d(void 0,!0)):e[h](n,r)}),r)}}(r,this));else{var i=this[f].read();if(null!==i)return Promise.resolve(d(i,!1));n=new Promise(this[h])}return this[u]=n,n}},Symbol.asyncIterator,(function(){return this})),i(r,"return",(function(){var t=this;return new Promise((function(e,n){t[f].destroy(null,(function(t){t?n(t):e(d(void 0,!0))}))}))})),r),g);t.exports=function(t){var e,n=Object.create(y,(i(e={},f,{value:t,writable:!0}),i(e,a,{value:null,writable:!0}),i(e,s,{value:null,writable:!0}),i(e,l,{value:null,writable:!0}),i(e,c,{value:t._readableState.endEmitted,writable:!0}),i(e,h,{value:function(t,e){var r=n[f].read();r?(n[u]=null,n[a]=null,n[s]=null,t(d(r,!1))):(n[a]=t,n[s]=e)},writable:!0}),e));return n[u]=null,o(t,(function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=n[s];return null!==e&&(n[u]=null,n[a]=null,n[s]=null,e(t)),void(n[l]=t)}var r=n[a];null!==r&&(n[u]=null,n[a]=null,n[s]=null,r(d(void 0,!0))),n[c]=!0})),t.on("readable",m.bind(null,n)),n}},2389:(t,e,n)=>{"use strict";function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){o(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function o(t,e,n){return(e=s(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,s(r.key),r)}}function s(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}var l=n(8287).Buffer,c=n(8460).inspect,u=c&&c.custom||"inspect";t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}var e,n;return e=t,(n=[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,n=""+e.data;e=e.next;)n+=t+e.data;return n}},{key:"concat",value:function(t){if(0===this.length)return l.alloc(0);for(var e,n,r,i=l.allocUnsafe(t>>>0),o=this.head,a=0;o;)e=o.data,n=i,r=a,l.prototype.copy.call(e,n,r),a+=o.data.length,o=o.next;return i}},{key:"consume",value:function(t,e){var n;return t<this.head.data.length?(n=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):n=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var e=this.head,n=1,r=e.data;for(t-=r.length;e=e.next;){var i=e.data,o=t>i.length?i.length:t;if(o===i.length?r+=i:r+=i.slice(0,t),0==(t-=o)){o===i.length?(++n,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(t){var e=l.allocUnsafe(t),n=this.head,r=1;for(n.data.copy(e),t-=n.data.length;n=n.next;){var i=n.data,o=t>i.length?i.length:t;if(i.copy(e,e.length-t,0,o),0==(t-=o)){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,e}},{key:u,value:function(t,e){return c(this,i(i({},e),{},{depth:0,customInspect:!1}))}}])&&a(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),t}()},1468:t=>{"use strict";function e(t,e){r(t,e),n(t)}function n(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function r(t,e){t.emit("error",e)}t.exports={destroy:function(t,i){var o=this,a=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return a||s?(i?i(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,{env:{}}.nextTick(r,this,t)):{env:{}}.nextTick(r,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!i&&t?o._writableState?o._writableState.errorEmitted?{env:{}}.nextTick(n,o):(o._writableState.errorEmitted=!0,{env:{}}.nextTick(e,o,t)):{env:{}}.nextTick(e,o,t):i?({env:{}}.nextTick(n,o),i(t)):{env:{}}.nextTick(n,o)})),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(t,e){var n=t._readableState,r=t._writableState;n&&n.autoDestroy||r&&r.autoDestroy?t.destroy(e):t.emit("error",e)}}},5826:(t,e,n)=>{"use strict";var r=n(2260).F.ERR_STREAM_PREMATURE_CLOSE;function i(){}t.exports=function t(e,n,o){if("function"==typeof n)return t(e,null,n);n||(n={}),o=function(t){var e=!1;return function(){if(!e){e=!0;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.apply(this,r)}}}(o||i);var a=n.readable||!1!==n.readable&&e.readable,s=n.writable||!1!==n.writable&&e.writable,l=function(){e.writable||u()},c=e._writableState&&e._writableState.finished,u=function(){s=!1,c=!0,a||o.call(e)},h=e._readableState&&e._readableState.endEmitted,f=function(){a=!1,h=!0,s||o.call(e)},d=function(t){o.call(e,t)},p=function(){var t;return a&&!h?(e._readableState&&e._readableState.ended||(t=new r),o.call(e,t)):s&&!c?(e._writableState&&e._writableState.ended||(t=new r),o.call(e,t)):void 0},m=function(){e.req.on("finish",u)};return function(t){return t.setHeader&&"function"==typeof t.abort}(e)?(e.on("complete",u),e.on("abort",p),e.req?m():e.on("request",m)):s&&!e._writableState&&(e.on("end",l),e.on("close",l)),e.on("end",f),e.on("finish",u),!1!==n.error&&e.on("error",d),e.on("close",p),function(){e.removeListener("complete",u),e.removeListener("abort",p),e.removeListener("request",m),e.req&&e.req.removeListener("finish",u),e.removeListener("end",l),e.removeListener("close",l),e.removeListener("finish",u),e.removeListener("end",f),e.removeListener("error",d),e.removeListener("close",p)}}},5049:t=>{t.exports=function(){throw new Error("Readable.from is not available in the browser")}},9434:(t,e,n)=>{"use strict";var r,i=n(2260).F,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(t){if(t)throw t}function l(t){t()}function c(t,e){return t.pipe(e)}t.exports=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var u,h=function(t){return t.length?"function"!=typeof t[t.length-1]?s:t.pop():s}(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new o("streams");var f=e.map((function(t,i){var o=i<e.length-1;return function(t,e,i,o){o=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(o);var s=!1;t.on("close",(function(){s=!0})),void 0===r&&(r=n(5826)),r(t,{readable:e,writable:i},(function(t){if(t)return o(t);s=!0,o()}));var l=!1;return function(e){if(!s&&!l)return l=!0,function(t){return t.setHeader&&"function"==typeof t.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void o(e||new a("pipe"))}}(t,o,i>0,(function(t){u||(u=t),t&&f.forEach(l),o||(f.forEach(l),h(u))}))}));return e.reduce(c)}},8775:(t,e,n)=>{"use strict";var r=n(2260).F.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(t,e,n,i){var o=function(t,e,n){return null!=t.highWaterMark?t.highWaterMark:e?t[n]:null}(e,i,n);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new r(i?n:"highWaterMark",o);return Math.floor(o)}return t.objectMode?16:16384}}},1181:(t,e,n)=>{t.exports=n(7007).EventEmitter},1603:(t,e,n)=>{(e=t.exports=n(6736)).Stream=e,e.Readable=e,e.Writable=n(2192),e.Duplex=n(2818),e.Transform=n(3054),e.PassThrough=n(5860),e.finished=n(5826),e.pipeline=n(9434)},7952:(t,e,n)=>{var r=e;r.utils=n(7426),r.common=n(6166),r.sha=n(6229),r.ripemd=n(6784),r.hmac=n(8948),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},6166:(t,e,n)=>{"use strict";var r=n(7426),i=n(3349);function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}e.BlockHash=o,o.prototype.update=function(t,e){if(t=r.toArray(t,e),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){var n=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-n,t.length),0===this.pending.length&&(this.pending=null),t=r.join32(t,0,t.length-n,this.endian);for(var i=0;i<t.length;i+=this._delta32)this._update(t,i,i+this._delta32)}return this},o.prototype.digest=function(t){return this.update(this._pad()),i(null===this.pending),this._digest(t)},o.prototype._pad=function(){var t=this.pendingTotal,e=this._delta8,n=e-(t+this.padLength)%e,r=new Array(n+this.padLength);r[0]=128;for(var i=1;i<n;i++)r[i]=0;if(t<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)r[i++]=0;r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=t>>>24&255,r[i++]=t>>>16&255,r[i++]=t>>>8&255,r[i++]=255&t}else for(r[i++]=255&t,r[i++]=t>>>8&255,r[i++]=t>>>16&255,r[i++]=t>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,o=8;o<this.padLength;o++)r[i++]=0;return r}},8948:(t,e,n)=>{"use strict";var r=n(7426),i=n(3349);function o(t,e,n){if(!(this instanceof o))return new o(t,e,n);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(e,n))}t.exports=o,o.prototype._init=function(t){t.length>this.blockSize&&(t=(new this.Hash).update(t).digest()),i(t.length<=this.blockSize);for(var e=t.length;e<this.blockSize;e++)t.push(0);for(e=0;e<t.length;e++)t[e]^=54;for(this.inner=(new this.Hash).update(t),e=0;e<t.length;e++)t[e]^=106;this.outer=(new this.Hash).update(t)},o.prototype.update=function(t,e){return this.inner.update(t,e),this},o.prototype.digest=function(t){return this.outer.update(this.inner.digest()),this.outer.digest(t)}},6784:(t,e,n)=>{"use strict";var r=n(7426),i=n(6166),o=r.rotl32,a=r.sum32,s=r.sum32_3,l=r.sum32_4,c=i.BlockHash;function u(){if(!(this instanceof u))return new u;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function h(t,e,n,r){return t<=15?e^n^r:t<=31?e&n|~e&r:t<=47?(e|~n)^r:t<=63?e&r|n&~r:e^(n|~r)}function f(t){return t<=15?0:t<=31?1518500249:t<=47?1859775393:t<=63?2400959708:2840853838}function d(t){return t<=15?1352829926:t<=31?1548603684:t<=47?1836072691:t<=63?2053994217:0}r.inherits(u,c),e.ripemd160=u,u.blockSize=512,u.outSize=160,u.hmacStrength=192,u.padLength=64,u.prototype._update=function(t,e){for(var n=this.h[0],r=this.h[1],i=this.h[2],c=this.h[3],u=this.h[4],w=n,b=r,v=i,E=c,_=u,A=0;A<80;A++){var M=a(o(l(n,h(A,r,i,c),t[p[A]+e],f(A)),g[A]),u);n=u,u=c,c=o(i,10),i=r,r=M,M=a(o(l(w,h(79-A,b,v,E),t[m[A]+e],d(A)),y[A]),_),w=_,_=E,E=o(v,10),v=b,b=M}M=s(this.h[1],i,E),this.h[1]=s(this.h[2],c,_),this.h[2]=s(this.h[3],u,w),this.h[3]=s(this.h[4],n,b),this.h[4]=s(this.h[0],r,v),this.h[0]=M},u.prototype._digest=function(t){return"hex"===t?r.toHex32(this.h,"little"):r.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],m=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],g=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],y=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},6229:(t,e,n)=>{"use strict";e.sha1=n(3917),e.sha224=n(7714),e.sha256=n(2287),e.sha384=n(1911),e.sha512=n(7766)},3917:(t,e,n)=>{"use strict";var r=n(7426),i=n(6166),o=n(6225),a=r.rotl32,s=r.sum32,l=r.sum32_5,c=o.ft_1,u=i.BlockHash,h=[1518500249,1859775393,2400959708,3395469782];function f(){if(!(this instanceof f))return new f;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(f,u),t.exports=f,f.blockSize=512,f.outSize=160,f.hmacStrength=80,f.padLength=64,f.prototype._update=function(t,e){for(var n=this.W,r=0;r<16;r++)n[r]=t[e+r];for(;r<n.length;r++)n[r]=a(n[r-3]^n[r-8]^n[r-14]^n[r-16],1);var i=this.h[0],o=this.h[1],u=this.h[2],f=this.h[3],d=this.h[4];for(r=0;r<n.length;r++){var p=~~(r/20),m=l(a(i,5),c(p,o,u,f),d,n[r],h[p]);d=f,f=u,u=a(o,30),o=i,i=m}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],u),this.h[3]=s(this.h[3],f),this.h[4]=s(this.h[4],d)},f.prototype._digest=function(t){return"hex"===t?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},7714:(t,e,n)=>{"use strict";var r=n(7426),i=n(2287);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(o,i),t.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(t){return"hex"===t?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}},2287:(t,e,n)=>{"use strict";var r=n(7426),i=n(6166),o=n(6225),a=n(3349),s=r.sum32,l=r.sum32_4,c=r.sum32_5,u=o.ch32,h=o.maj32,f=o.s0_256,d=o.s1_256,p=o.g0_256,m=o.g1_256,g=i.BlockHash,y=[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];function w(){if(!(this instanceof w))return new w;g.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=y,this.W=new Array(64)}r.inherits(w,g),t.exports=w,w.blockSize=512,w.outSize=256,w.hmacStrength=192,w.padLength=64,w.prototype._update=function(t,e){for(var n=this.W,r=0;r<16;r++)n[r]=t[e+r];for(;r<n.length;r++)n[r]=l(m(n[r-2]),n[r-7],p(n[r-15]),n[r-16]);var i=this.h[0],o=this.h[1],g=this.h[2],y=this.h[3],w=this.h[4],b=this.h[5],v=this.h[6],E=this.h[7];for(a(this.k.length===n.length),r=0;r<n.length;r++){var _=c(E,d(w),u(w,b,v),this.k[r],n[r]),A=s(f(i),h(i,o,g));E=v,v=b,b=w,w=s(y,_),y=g,g=o,o=i,i=s(_,A)}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],g),this.h[3]=s(this.h[3],y),this.h[4]=s(this.h[4],w),this.h[5]=s(this.h[5],b),this.h[6]=s(this.h[6],v),this.h[7]=s(this.h[7],E)},w.prototype._digest=function(t){return"hex"===t?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},1911:(t,e,n)=>{"use strict";var r=n(7426),i=n(7766);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}r.inherits(o,i),t.exports=o,o.blockSize=1024,o.outSize=384,o.hmacStrength=192,o.padLength=128,o.prototype._digest=function(t){return"hex"===t?r.toHex32(this.h.slice(0,12),"big"):r.split32(this.h.slice(0,12),"big")}},7766:(t,e,n)=>{"use strict";var r=n(7426),i=n(6166),o=n(3349),a=r.rotr64_hi,s=r.rotr64_lo,l=r.shr64_hi,c=r.shr64_lo,u=r.sum64,h=r.sum64_hi,f=r.sum64_lo,d=r.sum64_4_hi,p=r.sum64_4_lo,m=r.sum64_5_hi,g=r.sum64_5_lo,y=i.BlockHash,w=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function b(){if(!(this instanceof b))return new b;y.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=w,this.W=new Array(160)}function v(t,e,n,r,i){var o=t&n^~t&i;return o<0&&(o+=4294967296),o}function E(t,e,n,r,i,o){var a=e&r^~e&o;return a<0&&(a+=4294967296),a}function _(t,e,n,r,i){var o=t&n^t&i^n&i;return o<0&&(o+=4294967296),o}function A(t,e,n,r,i,o){var a=e&r^e&o^r&o;return a<0&&(a+=4294967296),a}function M(t,e){var n=a(t,e,28)^a(e,t,2)^a(e,t,7);return n<0&&(n+=4294967296),n}function T(t,e){var n=s(t,e,28)^s(e,t,2)^s(e,t,7);return n<0&&(n+=4294967296),n}function x(t,e){var n=s(t,e,14)^s(t,e,18)^s(e,t,9);return n<0&&(n+=4294967296),n}function S(t,e){var n=a(t,e,1)^a(t,e,8)^l(t,e,7);return n<0&&(n+=4294967296),n}function k(t,e){var n=s(t,e,1)^s(t,e,8)^c(t,e,7);return n<0&&(n+=4294967296),n}function C(t,e){var n=s(t,e,19)^s(e,t,29)^c(t,e,6);return n<0&&(n+=4294967296),n}r.inherits(b,y),t.exports=b,b.blockSize=1024,b.outSize=512,b.hmacStrength=192,b.padLength=128,b.prototype._prepareBlock=function(t,e){for(var n=this.W,r=0;r<32;r++)n[r]=t[e+r];for(;r<n.length;r+=2){var i=(g=n[r-4],y=n[r-3],w=void 0,(w=a(g,y,19)^a(y,g,29)^l(g,y,6))<0&&(w+=4294967296),w),o=C(n[r-4],n[r-3]),s=n[r-14],c=n[r-13],u=S(n[r-30],n[r-29]),h=k(n[r-30],n[r-29]),f=n[r-32],m=n[r-31];n[r]=d(i,o,s,c,u,h,f,m),n[r+1]=p(i,o,s,c,u,h,f,m)}var g,y,w},b.prototype._update=function(t,e){this._prepareBlock(t,e);var n,r,i,s=this.W,l=this.h[0],c=this.h[1],d=this.h[2],p=this.h[3],y=this.h[4],w=this.h[5],b=this.h[6],S=this.h[7],k=this.h[8],C=this.h[9],D=this.h[10],I=this.h[11],R=this.h[12],N=this.h[13],O=this.h[14],L=this.h[15];o(this.k.length===s.length);for(var P=0;P<s.length;P+=2){var F=O,B=L,U=(i=void 0,(i=a(n=k,r=C,14)^a(n,r,18)^a(r,n,9))<0&&(i+=4294967296),i),j=x(k,C),H=v(k,0,D,0,R),z=E(0,C,0,I,0,N),q=this.k[P],W=this.k[P+1],G=s[P],K=s[P+1],Y=m(F,B,U,j,H,z,q,W,G,K),V=g(F,B,U,j,H,z,q,W,G,K);F=M(l,c),B=T(l,c),U=_(l,0,d,0,y),j=A(0,c,0,p,0,w);var X=h(F,B,U,j),Z=f(F,B,U,j);O=R,L=N,R=D,N=I,D=k,I=C,k=h(b,S,Y,V),C=f(S,S,Y,V),b=y,S=w,y=d,w=p,d=l,p=c,l=h(Y,V,X,Z),c=f(Y,V,X,Z)}u(this.h,0,l,c),u(this.h,2,d,p),u(this.h,4,y,w),u(this.h,6,b,S),u(this.h,8,k,C),u(this.h,10,D,I),u(this.h,12,R,N),u(this.h,14,O,L)},b.prototype._digest=function(t){return"hex"===t?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},6225:(t,e,n)=>{"use strict";var r=n(7426).rotr32;function i(t,e,n){return t&e^~t&n}function o(t,e,n){return t&e^t&n^e&n}function a(t,e,n){return t^e^n}e.ft_1=function(t,e,n,r){return 0===t?i(e,n,r):1===t||3===t?a(e,n,r):2===t?o(e,n,r):void 0},e.ch32=i,e.maj32=o,e.p32=a,e.s0_256=function(t){return r(t,2)^r(t,13)^r(t,22)},e.s1_256=function(t){return r(t,6)^r(t,11)^r(t,25)},e.g0_256=function(t){return r(t,7)^r(t,18)^t>>>3},e.g1_256=function(t){return r(t,17)^r(t,19)^t>>>10}},7426:(t,e,n)=>{"use strict";var r=n(3349),i=n(6698);function o(t,e){return 55296==(64512&t.charCodeAt(e))&&!(e<0||e+1>=t.length)&&56320==(64512&t.charCodeAt(e+1))}function a(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function s(t){return 1===t.length?"0"+t:t}function l(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}e.inherits=i,e.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if("string"==typeof t)if(e){if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),i=0;i<t.length;i+=2)n.push(parseInt(t[i]+t[i+1],16))}else for(var r=0,i=0;i<t.length;i++){var a=t.charCodeAt(i);a<128?n[r++]=a:a<2048?(n[r++]=a>>6|192,n[r++]=63&a|128):o(t,i)?(a=65536+((1023&a)<<10)+(1023&t.charCodeAt(++i)),n[r++]=a>>18|240,n[r++]=a>>12&63|128,n[r++]=a>>6&63|128,n[r++]=63&a|128):(n[r++]=a>>12|224,n[r++]=a>>6&63|128,n[r++]=63&a|128)}else for(i=0;i<t.length;i++)n[i]=0|t[i];return n},e.toHex=function(t){for(var e="",n=0;n<t.length;n++)e+=s(t[n].toString(16));return e},e.htonl=a,e.toHex32=function(t,e){for(var n="",r=0;r<t.length;r++){var i=t[r];"little"===e&&(i=a(i)),n+=l(i.toString(16))}return n},e.zero2=s,e.zero8=l,e.join32=function(t,e,n,i){var o=n-e;r(o%4==0);for(var a=new Array(o/4),s=0,l=e;s<a.length;s++,l+=4){var c;c="big"===i?t[l]<<24|t[l+1]<<16|t[l+2]<<8|t[l+3]:t[l+3]<<24|t[l+2]<<16|t[l+1]<<8|t[l],a[s]=c>>>0}return a},e.split32=function(t,e){for(var n=new Array(4*t.length),r=0,i=0;r<t.length;r++,i+=4){var o=t[r];"big"===e?(n[i]=o>>>24,n[i+1]=o>>>16&255,n[i+2]=o>>>8&255,n[i+3]=255&o):(n[i+3]=o>>>24,n[i+2]=o>>>16&255,n[i+1]=o>>>8&255,n[i]=255&o)}return n},e.rotr32=function(t,e){return t>>>e|t<<32-e},e.rotl32=function(t,e){return t<<e|t>>>32-e},e.sum32=function(t,e){return t+e>>>0},e.sum32_3=function(t,e,n){return t+e+n>>>0},e.sum32_4=function(t,e,n,r){return t+e+n+r>>>0},e.sum32_5=function(t,e,n,r,i){return t+e+n+r+i>>>0},e.sum64=function(t,e,n,r){var i=t[e],o=r+t[e+1]>>>0,a=(o<r?1:0)+n+i;t[e]=a>>>0,t[e+1]=o},e.sum64_hi=function(t,e,n,r){return(e+r>>>0<e?1:0)+t+n>>>0},e.sum64_lo=function(t,e,n,r){return e+r>>>0},e.sum64_4_hi=function(t,e,n,r,i,o,a,s){var l=0,c=e;return l+=(c=c+r>>>0)<e?1:0,l+=(c=c+o>>>0)<o?1:0,t+n+i+a+(l+=(c=c+s>>>0)<s?1:0)>>>0},e.sum64_4_lo=function(t,e,n,r,i,o,a,s){return e+r+o+s>>>0},e.sum64_5_hi=function(t,e,n,r,i,o,a,s,l,c){var u=0,h=e;return u+=(h=h+r>>>0)<e?1:0,u+=(h=h+o>>>0)<o?1:0,u+=(h=h+s>>>0)<s?1:0,t+n+i+a+l+(u+=(h=h+c>>>0)<c?1:0)>>>0},e.sum64_5_lo=function(t,e,n,r,i,o,a,s,l,c){return e+r+o+s+c>>>0},e.rotr64_hi=function(t,e,n){return(e<<32-n|t>>>n)>>>0},e.rotr64_lo=function(t,e,n){return(t<<32-n|e>>>n)>>>0},e.shr64_hi=function(t,e,n){return t>>>n},e.shr64_lo=function(t,e,n){return(t<<32-n|e>>>n)>>>0}},2723:(t,e,n)=>{"use strict";var r=n(7952),i=n(4367),o=n(3349);function a(t){if(!(this instanceof a))return new a(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=i.toArray(t.entropy,t.entropyEnc||"hex"),n=i.toArray(t.nonce,t.nonceEnc||"hex"),r=i.toArray(t.pers,t.persEnc||"hex");o(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,n,r)}t.exports=a,a.prototype._init=function(t,e,n){var r=t.concat(e).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(r),this._reseed=1,this.reseedInterval=281474976710656},a.prototype._hmac=function(){return new r.hmac(this.hash,this.K)},a.prototype._update=function(t){var e=this._hmac().update(this.V).update([0]);t&&(e=e.update(t)),this.K=e.digest(),this.V=this._hmac().update(this.V).digest(),t&&(this.K=this._hmac().update(this.V).update([1]).update(t).digest(),this.V=this._hmac().update(this.V).digest())},a.prototype.reseed=function(t,e,n,r){"string"!=typeof e&&(r=n,n=e,e=null),t=i.toArray(t,e),n=i.toArray(n,r),o(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(n||[])),this._reseed=1},a.prototype.generate=function(t,e,n,r){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof e&&(r=n,n=e,e=null),n&&(n=i.toArray(n,r||"hex"),this._update(n));for(var o=[];o.length<t;)this.V=this._hmac().update(this.V).digest(),o=o.concat(this.V);var a=o.slice(0,t);return this._update(n),this._reseed++,i.encode(a,e)}},251:(t,e)=>{e.read=function(t,e,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,c=l>>1,u=-7,h=n?i-1:0,f=n?-1:1,d=t[e+h];for(h+=f,o=d&(1<<-u)-1,d>>=-u,u+=s;u>0;o=256*o+t[e+h],h+=f,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+t[e+h],h+=f,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),o-=c}return(d?-1:1)*a*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var a,s,l,c=8*o-i-1,u=(1<<c)-1,h=u>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=u):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),(e+=a+h>=1?f/l:f*Math.pow(2,1-h))*l>=2&&(a++,l/=2),a+h>=u?(s=0,a=u):a+h>=1?(s=(e*l-1)*Math.pow(2,i),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;t[n+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;t[n+d]=255&a,d+=p,a/=256,c-=8);t[n+d-p]|=128*m}},2647:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.detector=void 0;const r=n(5147),i=Object.keys(r.typeHandlers),o={56:"psd",66:"bmp",68:"dds",71:"gif",73:"tiff",77:"tiff",82:"webp",105:"icns",137:"png",255:"jpg"};e.detector=function(t){const e=t[0];if(e in o){const n=o[e];if(n&&r.typeHandlers[n].validate(t))return n}return i.find((e=>r.typeHandlers[e].validate(t)))}},5949:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.types=e.setConcurrency=e.disableTypes=e.disableFS=e.imageSize=void 0;const r=n(8306),i=n(7975),o=n(9792),a=n(5147),s=n(2647),l=524288,c=new o.default({concurrency:100,autostart:!0}),u={disabledFS:!1,disabledTypes:[]};function h(t,e){const n=(0,s.detector)(t);if(void 0!==n){if(u.disabledTypes.indexOf(n)>-1)throw new TypeError("disabled file type: "+n);if(n in a.typeHandlers){const r=a.typeHandlers[n].calculate(t,e);if(void 0!==r)return r.type=r.type??n,r}}throw new TypeError("unsupported file type: "+n+" (file: "+e+")")}function f(t,e){if(t instanceof Uint8Array)return h(t);if("string"!=typeof t||u.disabledFS)throw new TypeError("invalid invocation. input should be a Uint8Array");const n=i.resolve(t);if("function"!=typeof e){const t=function(t){const e=r.openSync(t,"r");try{const{size:t}=r.fstatSync(e);if(t<=0)throw new Error("Empty file");const n=Math.min(t,l),i=new Uint8Array(n);return r.readSync(e,i,0,n,0),i}finally{r.closeSync(e)}}(n);return h(t,n)}c.push((()=>async function(t){const e=await r.promises.open(t,"r");try{const{size:t}=await e.stat();if(t<=0)throw new Error("Empty file");const n=Math.min(t,l),r=new Uint8Array(n);return await e.read(r,0,n,0),r}finally{await e.close()}}(n).then((t=>({env:{}}.nextTick(e,null,h(t,n))))).catch(e)))}t.exports=e=f,e.default=f,e.imageSize=f,e.disableFS=t=>{u.disabledFS=t},e.disableTypes=t=>{u.disabledTypes=t},e.setConcurrency=t=>{c.concurrency=t},e.types=Object.keys(a.typeHandlers)},9648:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BMP=void 0;const r=n(8470);e.BMP={validate:t=>"BM"===(0,r.toUTF8String)(t,0,2),calculate:t=>({height:Math.abs((0,r.readInt32LE)(t,22)),width:(0,r.readUInt32LE)(t,18)})}},941:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CUR=void 0;const r=n(4270),i=n(8470);e.CUR={validate(t){const e=(0,i.readUInt16LE)(t,0),n=(0,i.readUInt16LE)(t,4);return 0===e&&0!==n&&2===(0,i.readUInt16LE)(t,2)},calculate:t=>r.ICO.calculate(t)}},7562:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DDS=void 0;const r=n(8470);e.DDS={validate:t=>542327876===(0,r.readUInt32LE)(t,0),calculate:t=>({height:(0,r.readUInt32LE)(t,12),width:(0,r.readUInt32LE)(t,16)})}},7857:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GIF=void 0;const r=n(8470),i=/^GIF8[79]a/;e.GIF={validate:t=>i.test((0,r.toUTF8String)(t,0,6)),calculate:t=>({height:(0,r.readUInt16LE)(t,8),width:(0,r.readUInt16LE)(t,6)})}},8259:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HEIF=void 0;const r=n(8470),i={avif:"avif",mif1:"heif",msf1:"heif",heic:"heic",heix:"heic",hevc:"heic",hevx:"heic"};e.HEIF={validate(t){const e=(0,r.toUTF8String)(t,4,8),n=(0,r.toUTF8String)(t,8,12);return"ftyp"===e&&n in i},calculate(t){const e=(0,r.findBox)(t,"meta",0),n=e&&(0,r.findBox)(t,"iprp",e.offset+12),i=n&&(0,r.findBox)(t,"ipco",n.offset+8),o=i&&(0,r.findBox)(t,"ispe",i.offset+8);if(o)return{height:(0,r.readUInt32BE)(t,o.offset+16),width:(0,r.readUInt32BE)(t,o.offset+12),type:(0,r.toUTF8String)(t,8,12)};throw new TypeError("Invalid HEIF, no size found")}}},4280:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ICNS=void 0;const r=n(8470),i={ICON:32,"ICN#":32,"icm#":16,icm4:16,icm8:16,"ics#":16,ics4:16,ics8:16,is32:16,s8mk:16,icp4:16,icl4:32,icl8:32,il32:32,l8mk:32,icp5:32,ic11:32,ich4:48,ich8:48,ih32:48,h8mk:48,icp6:64,ic12:32,it32:128,t8mk:128,ic07:128,ic08:256,ic13:256,ic09:512,ic14:512,ic10:1024};function o(t,e){const n=e+4;return[(0,r.toUTF8String)(t,e,n),(0,r.readUInt32BE)(t,n)]}function a(t){const e=i[t];return{width:e,height:e,type:t}}e.ICNS={validate:t=>"icns"===(0,r.toUTF8String)(t,0,4),calculate(t){const e=t.length,n=(0,r.readUInt32BE)(t,4);let i=8,s=o(t,i),l=a(s[0]);if(i+=s[1],i===n)return l;const c={height:l.height,images:[l],width:l.width};for(;i<n&&i<e;)s=o(t,i),l=a(s[0]),i+=s[1],c.images.push(l);return c}}},4270:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ICO=void 0;const r=n(8470);function i(t,e){const n=t[e];return 0===n?256:n}function o(t,e){const n=6+16*e;return{height:i(t,n+1),width:i(t,n)}}e.ICO={validate(t){const e=(0,r.readUInt16LE)(t,0),n=(0,r.readUInt16LE)(t,4);return 0===e&&0!==n&&1===(0,r.readUInt16LE)(t,2)},calculate(t){const e=(0,r.readUInt16LE)(t,4),n=o(t,0);if(1===e)return n;const i=[n];for(let n=1;n<e;n+=1)i.push(o(t,n));return{height:n.height,images:i,width:n.width}}}},5147:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.typeHandlers=void 0;const r=n(9648),i=n(941),o=n(7562),a=n(7857),s=n(8259),l=n(4280),c=n(4270),u=n(4262),h=n(3879),f=n(3068),d=n(4782),p=n(8628),m=n(54),g=n(3564),y=n(7961),w=n(239),b=n(6004),v=n(2093);e.typeHandlers={bmp:r.BMP,cur:i.CUR,dds:o.DDS,gif:a.GIF,heif:s.HEIF,icns:l.ICNS,ico:c.ICO,j2c:u.J2C,jp2:h.JP2,jpg:f.JPG,ktx:d.KTX,png:p.PNG,pnm:m.PNM,psd:g.PSD,svg:y.SVG,tga:w.TGA,tiff:b.TIFF,webp:v.WEBP}},4262:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.J2C=void 0;const r=n(8470);e.J2C={validate:t=>"ff4fff51"===(0,r.toHexString)(t,0,4),calculate:t=>({height:(0,r.readUInt32BE)(t,12),width:(0,r.readUInt32BE)(t,8)})}},3879:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.JP2=void 0;const r=n(8470);e.JP2={validate(t){if(1783636e3!==(0,r.readUInt32BE)(t,4)||(0,r.readUInt32BE)(t,0)<1)return!1;const e=(0,r.findBox)(t,"ftyp",0);return!!e&&1718909296===(0,r.readUInt32BE)(t,e.offset+4)},calculate(t){const e=(0,r.findBox)(t,"jp2h",0),n=e&&(0,r.findBox)(t,"ihdr",e.offset+8);if(n)return{height:(0,r.readUInt32BE)(t,n.offset+8),width:(0,r.readUInt32BE)(t,n.offset+12)};throw new TypeError("Unsupported JPEG 2000 format")}}},3068:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.JPG=void 0;const r=n(8470);function i(t){return"45786966"===(0,r.toHexString)(t,2,6)}function o(t,e){return{height:(0,r.readUInt16BE)(t,e),width:(0,r.readUInt16BE)(t,e+2)}}function a(t,e){const n=t.slice(2,e),i=(0,r.toHexString)(n,6,8),o="4d4d"===i;if(o||"4949"===i)return function(t,e){const n=(0,r.readUInt)(t,16,14,e);for(let i=0;i<n;i++){const n=16+12*i,o=n+12;if(n>t.length)return;const a=t.slice(n,o);if(274===(0,r.readUInt)(a,16,0,e)){if(3!==(0,r.readUInt)(a,16,2,e))return;if(1!==(0,r.readUInt)(a,32,4,e))return;return(0,r.readUInt)(a,16,8,e)}}}(n,o)}function s(t,e){if(e>t.length)throw new TypeError("Corrupt JPG, exceeded buffer limits")}e.JPG={validate:t=>"ffd8"===(0,r.toHexString)(t,0,2),calculate(t){let e,n;for(t=t.slice(4);t.length;){const l=(0,r.readUInt16BE)(t,0);if(255===t[l]){if(i(t)&&(e=a(t,l)),s(t,l),n=t[l+1],192===n||193===n||194===n){const n=o(t,l+5);return e?{height:n.height,orientation:e,width:n.width}:n}t=t.slice(l+2)}else t=t.slice(1)}throw new TypeError("Invalid JPG, no size found")}}},4782:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.KTX=void 0;const r=n(8470);e.KTX={validate:t=>{const e=(0,r.toUTF8String)(t,1,7);return["KTX 11","KTX 20"].includes(e)},calculate:t=>{const e=49===t[5]?"ktx":"ktx2",n="ktx"===e?36:20;return{height:(0,r.readUInt32LE)(t,n+4),width:(0,r.readUInt32LE)(t,n),type:e}}}},8628:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PNG=void 0;const r=n(8470),i="CgBI";e.PNG={validate(t){if("PNG\r\n\n"===(0,r.toUTF8String)(t,1,8)){let e=(0,r.toUTF8String)(t,12,16);if(e===i&&(e=(0,r.toUTF8String)(t,28,32)),"IHDR"!==e)throw new TypeError("Invalid PNG");return!0}return!1},calculate:t=>(0,r.toUTF8String)(t,12,16)===i?{height:(0,r.readUInt32BE)(t,36),width:(0,r.readUInt32BE)(t,32)}:{height:(0,r.readUInt32BE)(t,20),width:(0,r.readUInt32BE)(t,16)}}},54:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PNM=void 0;const r=n(8470),i={P1:"pbm/ascii",P2:"pgm/ascii",P3:"ppm/ascii",P4:"pbm",P5:"pgm",P6:"ppm",P7:"pam",PF:"pfm"},o={default:t=>{let e=[];for(;t.length>0;){const n=t.shift();if("#"!==n[0]){e=n.split(" ");break}}if(2===e.length)return{height:parseInt(e[1],10),width:parseInt(e[0],10)};throw new TypeError("Invalid PNM")},pam:t=>{const e={};for(;t.length>0;){const n=t.shift();if(n.length>16||n.charCodeAt(0)>128)continue;const[r,i]=n.split(" ");if(r&&i&&(e[r.toLowerCase()]=parseInt(i,10)),e.height&&e.width)break}if(e.height&&e.width)return{height:e.height,width:e.width};throw new TypeError("Invalid PAM")}};e.PNM={validate:t=>(0,r.toUTF8String)(t,0,2)in i,calculate(t){const e=(0,r.toUTF8String)(t,0,2),n=i[e],a=(0,r.toUTF8String)(t,3).split(/[\r\n]+/);return(o[n]||o.default)(a)}}},3564:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PSD=void 0;const r=n(8470);e.PSD={validate:t=>"8BPS"===(0,r.toUTF8String)(t,0,4),calculate:t=>({height:(0,r.readUInt32BE)(t,14),width:(0,r.readUInt32BE)(t,18)})}},7961:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SVG=void 0;const r=n(8470),i=/<svg\s([^>"']|"[^"]*"|'[^']*')*>/,o={height:/\sheight=(['"])([^%]+?)\1/,root:i,viewbox:/\sviewBox=(['"])(.+?)\1/i,width:/\swidth=(['"])([^%]+?)\1/},a=2.54,s={in:96,cm:96/a,em:16,ex:8,m:96/a*100,mm:96/a/10,pc:96/72/12,pt:96/72,px:1},l=new RegExp(`^([0-9.]+(?:e\\d+)?)(${Object.keys(s).join("|")})?$`);function c(t){const e=l.exec(t);if(e)return Math.round(Number(e[1])*(s[e[2]]||1))}function u(t){const e=t.split(" ");return{height:c(e[3]),width:c(e[2])}}e.SVG={validate:t=>i.test((0,r.toUTF8String)(t,0,1e3)),calculate(t){const e=(0,r.toUTF8String)(t).match(o.root);if(e){const t=function(t){const e=t.match(o.width),n=t.match(o.height),r=t.match(o.viewbox);return{height:n&&c(n[2]),viewbox:r&&u(r[2]),width:e&&c(e[2])}}(e[0]);if(t.width&&t.height)return function(t){return{height:t.height,width:t.width}}(t);if(t.viewbox)return function(t,e){const n=e.width/e.height;return t.width?{height:Math.floor(t.width/n),width:t.width}:t.height?{height:t.height,width:Math.floor(t.height*n)}:{height:e.height,width:e.width}}(t,t.viewbox)}throw new TypeError("Invalid SVG")}}},239:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TGA=void 0;const r=n(8470);e.TGA={validate:t=>0===(0,r.readUInt16LE)(t,0)&&0===(0,r.readUInt16LE)(t,4),calculate:t=>({height:(0,r.readUInt16LE)(t,14),width:(0,r.readUInt16LE)(t,12)})}},6004:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TIFF=void 0;const r=n(236),i=n(8470);function o(t,e){const n=(0,i.readUInt)(t,16,8,e);return((0,i.readUInt)(t,16,10,e)<<16)+n}function a(t){if(t.length>24)return t.slice(12)}const s=["49492a00","4d4d002a"];e.TIFF={validate:t=>s.includes((0,i.toHexString)(t,0,4)),calculate(t,e){if(!e)throw new TypeError("Tiff doesn't support buffer");const n="BE"===function(t){const e=(0,i.toUTF8String)(t,0,2);return"II"===e?"LE":"MM"===e?"BE":void 0}(t),s=function(t,e,n){const o=(0,i.readUInt)(t,32,4,n);let a=1024;const s=r.statSync(e).size;o+a>s&&(a=s-o-10);const l=new Uint8Array(a),c=r.openSync(e,"r");return r.readSync(c,l,0,a,o),r.closeSync(c),l.slice(2)}(t,e,n),l=function(t,e){const n={};let r=t;for(;r&&r.length;){const t=(0,i.readUInt)(r,16,0,e),s=(0,i.readUInt)(r,16,2,e),l=(0,i.readUInt)(r,32,4,e);if(0===t)break;1!==l||3!==s&&4!==s||(n[t]=o(r,e)),r=a(r)}return n}(s,n),c=l[256],u=l[257];if(!c||!u)throw new TypeError("Invalid Tiff. Missing tags");return{height:u,width:c}}}},8470:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findBox=e.readUInt=e.readUInt32LE=e.readUInt32BE=e.readInt32LE=e.readUInt24LE=e.readUInt16LE=e.readUInt16BE=e.readInt16LE=e.toHexString=e.toUTF8String=void 0;const n=new TextDecoder;e.toUTF8String=(t,e=0,r=t.length)=>n.decode(t.slice(e,r)),e.toHexString=(t,e=0,n=t.length)=>t.slice(e,n).reduce(((t,e)=>t+("0"+e.toString(16)).slice(-2)),""),e.readInt16LE=(t,e=0)=>{const n=t[e]+256*t[e+1];return n|131070*(32768&n)},e.readUInt16BE=(t,e=0)=>256*t[e]+t[e+1],e.readUInt16LE=(t,e=0)=>t[e]+256*t[e+1],e.readUInt24LE=(t,e=0)=>t[e]+256*t[e+1]+65536*t[e+2],e.readInt32LE=(t,e=0)=>t[e]+256*t[e+1]+65536*t[e+2]+(t[e+3]<<24),e.readUInt32BE=(t,e=0)=>t[e]*2**24+65536*t[e+1]+256*t[e+2]+t[e+3],e.readUInt32LE=(t,e=0)=>t[e]+256*t[e+1]+65536*t[e+2]+t[e+3]*2**24;const r={readUInt16BE:e.readUInt16BE,readUInt16LE:e.readUInt16LE,readUInt32BE:e.readUInt32BE,readUInt32LE:e.readUInt32LE};function i(t,n){if(t.length-n<4)return;const r=(0,e.readUInt32BE)(t,n);return t.length-n<r?void 0:{name:(0,e.toUTF8String)(t,4+n,8+n),offset:n,size:r}}e.readUInt=function(t,e,n,i){return n=n||0,r["readUInt"+e+(i?"BE":"LE")](t,n)},e.findBox=function(t,e,n){for(;n<t.length;){const r=i(t,n);if(!r)break;if(r.name===e)return r;n+=r.size}}},2093:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WEBP=void 0;const r=n(8470);e.WEBP={validate(t){const e="RIFF"===(0,r.toUTF8String)(t,0,4),n="WEBP"===(0,r.toUTF8String)(t,8,12),i="VP8"===(0,r.toUTF8String)(t,12,15);return e&&n&&i},calculate(t){const e=(0,r.toUTF8String)(t,12,16);if(t=t.slice(20,30),"VP8X"===e){const e=t[0];if(0==(192&e)&&0==(1&e))return function(t){return{height:1+(0,r.readUInt24LE)(t,7),width:1+(0,r.readUInt24LE)(t,4)}}(t);throw new TypeError("Invalid WebP")}if("VP8 "===e&&47!==t[0])return function(t){return{height:16383&(0,r.readInt16LE)(t,8),width:16383&(0,r.readInt16LE)(t,6)}}(t);const n=(0,r.toHexString)(t,3,6);if("VP8L"===e&&"9d012a"!==n)return function(t){return{height:1+((15&t[4])<<10|t[3]<<2|(192&t[2])>>6),width:1+((63&t[2])<<8|t[1])}}(t);throw new TypeError("Invalid WebP")}}},6698:t=>{"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},7079:(t,e,n)=>{t=n.nmd(t);var r="__lodash_hash_undefined__",i=1,o=2,a=1/0,s=9007199254740991,l="[object Arguments]",c="[object Array]",u="[object Boolean]",h="[object Date]",f="[object Error]",d="[object Function]",p="[object GeneratorFunction]",m="[object Map]",g="[object Number]",y="[object Object]",w="[object Promise]",b="[object RegExp]",v="[object Set]",E="[object String]",_="[object Symbol]",A="[object WeakMap]",M="[object ArrayBuffer]",T="[object DataView]",x="[object Float32Array]",S="[object Float64Array]",k="[object Int8Array]",C="[object Int16Array]",D="[object Int32Array]",I="[object Uint8Array]",R="[object Uint8ClampedArray]",N="[object Uint16Array]",O="[object Uint32Array]",L=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,P=/^\w*$/,F=/^\./,B=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,U=/\\(\\)?/g,j=/\w*$/,H=/^\[object .+?Constructor\]$/,z=/^(?:0|[1-9]\d*)$/,q={};q[x]=q[S]=q[k]=q[C]=q[D]=q[I]=q[R]=q[N]=q[O]=!0,q[l]=q[c]=q[M]=q[u]=q[T]=q[h]=q[f]=q[d]=q[m]=q[g]=q[y]=q[b]=q[v]=q[E]=q[A]=!1;var W={};W[l]=W[c]=W[M]=W[T]=W[u]=W[h]=W[x]=W[S]=W[k]=W[C]=W[D]=W[m]=W[g]=W[y]=W[b]=W[v]=W[E]=W[_]=W[I]=W[R]=W[N]=W[O]=!0,W[f]=W[d]=W[A]=!1;var G="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,K="object"==typeof self&&self&&self.Object===Object&&self,Y=G||K||Function("return this")(),V=e&&!e.nodeType&&e,X=V&&t&&!t.nodeType&&t,Z=X&&X.exports===V,$=Z&&G.process,Q=function(){try{return $&&$.binding("util")}catch(t){}}(),J=Q&&Q.isTypedArray;function tt(t,e){return t.set(e[0],e[1]),t}function et(t,e){return t.add(e),t}function nt(t,e,n,r){var i=-1,o=t?t.length:0;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function rt(t,e){for(var n=-1,r=t?t.length:0;++n<r;)if(e(t[n],n,t))return!0;return!1}function it(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function ot(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function at(t,e){return function(n){return t(e(n))}}function st(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var lt,ct=Array.prototype,ut=Function.prototype,ht=Object.prototype,ft=Y["__core-js_shared__"],dt=(lt=/[^.]+$/.exec(ft&&ft.keys&&ft.keys.IE_PROTO||""))?"Symbol(src)_1."+lt:"",pt=ut.toString,mt=ht.hasOwnProperty,gt=ht.toString,yt=RegExp("^"+pt.call(mt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),wt=Z?Y.Buffer:void 0,bt=Y.Symbol,vt=Y.Uint8Array,Et=at(Object.getPrototypeOf,Object),_t=Object.create,At=ht.propertyIsEnumerable,Mt=ct.splice,Tt=Object.getOwnPropertySymbols,xt=wt?wt.isBuffer:void 0,St=at(Object.keys,Object),kt=ie(Y,"DataView"),Ct=ie(Y,"Map"),Dt=ie(Y,"Promise"),It=ie(Y,"Set"),Rt=ie(Y,"WeakMap"),Nt=ie(Object,"create"),Ot=pe(kt),Lt=pe(Ct),Pt=pe(Dt),Ft=pe(It),Bt=pe(Rt),Ut=bt?bt.prototype:void 0,jt=Ut?Ut.valueOf:void 0,Ht=Ut?Ut.toString:void 0;function zt(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function qt(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Wt(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Gt(t){var e=-1,n=t?t.length:0;for(this.__data__=new Wt;++e<n;)this.add(t[e])}function Kt(t){this.__data__=new qt(t)}function Yt(t,e,n){var r=t[e];mt.call(t,e)&&ge(r,n)&&(void 0!==n||e in t)||(t[e]=n)}function Vt(t,e){for(var n=t.length;n--;)if(ge(t[n][0],e))return n;return-1}function Xt(t,e,n,r,i,o,a){var s;if(r&&(s=o?r(t,i,o,a):r(t)),void 0!==s)return s;if(!Ae(t))return t;var c=we(t);if(c){if(s=function(t){var e=t.length,n=t.constructor(e);return e&&"string"==typeof t[0]&&mt.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!e)return function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}(t,s)}else{var f=ae(t),w=f==d||f==p;if(ve(t))return function(t,e){if(e)return t.slice();var n=new t.constructor(t.length);return t.copy(n),n}(t,e);if(f==y||f==l||w&&!o){if(it(t))return o?t:{};if(s=function(t){return"function"!=typeof t.constructor||ce(t)?{}:Ae(e=Et(t))?_t(e):{};var e}(w?{}:t),!e)return function(t,e){return ee(t,oe(t),e)}(t,function(t,e){return t&&ee(e,ke(e),t)}(s,t))}else{if(!W[f])return o?t:{};s=function(t,e,n,r){var i,o=t.constructor;switch(e){case M:return te(t);case u:case h:return new o(+t);case T:return function(t,e){var n=e?te(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,r);case x:case S:case k:case C:case D:case I:case R:case N:case O:return function(t,e){var n=e?te(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}(t,r);case m:return function(t,e,n){return nt(e?n(ot(t),!0):ot(t),tt,new t.constructor)}(t,r,n);case g:case E:return new o(t);case b:return function(t){var e=new t.constructor(t.source,j.exec(t));return e.lastIndex=t.lastIndex,e}(t);case v:return function(t,e,n){return nt(e?n(st(t),!0):st(t),et,new t.constructor)}(t,r,n);case _:return i=t,jt?Object(jt.call(i)):{}}}(t,f,Xt,e)}}a||(a=new Kt);var A=a.get(t);if(A)return A;if(a.set(t,s),!c)var L=n?function(t){return function(t,e,n){var r=e(t);return we(t)?r:function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}(r,n(t))}(t,ke,oe)}(t):ke(t);return function(t,e){for(var n=-1,r=t?t.length:0;++n<r&&!1!==e(t[n],n););}(L||t,(function(i,o){L&&(i=t[o=i]),Yt(s,o,Xt(i,e,n,r,o,t,a))})),s}function Zt(t,e){for(var n=0,r=(e=le(e,t)?[e]:Jt(e)).length;null!=t&&n<r;)t=t[de(e[n++])];return n&&n==r?t:void 0}function $t(t,e){return null!=t&&e in Object(t)}function Qt(t,e,n,r,a){return t===e||(null==t||null==e||!Ae(t)&&!Me(e)?t!=t&&e!=e:function(t,e,n,r,a,s){var d=we(t),p=we(e),w=c,A=c;d||(w=(w=ae(t))==l?y:w),p||(A=(A=ae(e))==l?y:A);var x=w==y&&!it(t),S=A==y&&!it(e),k=w==A;if(k&&!x)return s||(s=new Kt),d||Se(t)?ne(t,e,n,r,a,s):function(t,e,n,r,a,s,l){switch(n){case T:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case M:return!(t.byteLength!=e.byteLength||!r(new vt(t),new vt(e)));case u:case h:case g:return ge(+t,+e);case f:return t.name==e.name&&t.message==e.message;case b:case E:return t==e+"";case m:var c=ot;case v:var d=s&o;if(c||(c=st),t.size!=e.size&&!d)return!1;var p=l.get(t);if(p)return p==e;s|=i,l.set(t,e);var y=ne(c(t),c(e),r,a,s,l);return l.delete(t),y;case _:if(jt)return jt.call(t)==jt.call(e)}return!1}(t,e,w,n,r,a,s);if(!(a&o)){var C=x&&mt.call(t,"__wrapped__"),D=S&&mt.call(e,"__wrapped__");if(C||D){var I=C?t.value():t,R=D?e.value():e;return s||(s=new Kt),n(I,R,r,a,s)}}return!!k&&(s||(s=new Kt),function(t,e,n,r,i,a){var s=i&o,l=ke(t),c=l.length;if(c!=ke(e).length&&!s)return!1;for(var u=c;u--;){var h=l[u];if(!(s?h in e:mt.call(e,h)))return!1}var f=a.get(t);if(f&&a.get(e))return f==e;var d=!0;a.set(t,e),a.set(e,t);for(var p=s;++u<c;){var m=t[h=l[u]],g=e[h];if(r)var y=s?r(g,m,h,e,t,a):r(m,g,h,t,e,a);if(!(void 0===y?m===g||n(m,g,r,i,a):y)){d=!1;break}p||(p="constructor"==h)}if(d&&!p){var w=t.constructor,b=e.constructor;w==b||!("constructor"in t)||!("constructor"in e)||"function"==typeof w&&w instanceof w&&"function"==typeof b&&b instanceof b||(d=!1)}return a.delete(t),a.delete(e),d}(t,e,n,r,a,s))}(t,e,Qt,n,r,a))}function Jt(t){return we(t)?t:fe(t)}function te(t){var e=new t.constructor(t.byteLength);return new vt(e).set(new vt(t)),e}function ee(t,e,n,r){n||(n={});for(var i=-1,o=e.length;++i<o;){var a=e[i],s=r?r(n[a],t[a],a,n,t):void 0;Yt(n,a,void 0===s?t[a]:s)}return n}function ne(t,e,n,r,a,s){var l=a&o,c=t.length,u=e.length;if(c!=u&&!(l&&u>c))return!1;var h=s.get(t);if(h&&s.get(e))return h==e;var f=-1,d=!0,p=a&i?new Gt:void 0;for(s.set(t,e),s.set(e,t);++f<c;){var m=t[f],g=e[f];if(r)var y=l?r(g,m,f,e,t,s):r(m,g,f,t,e,s);if(void 0!==y){if(y)continue;d=!1;break}if(p){if(!rt(e,(function(t,e){if(!p.has(e)&&(m===t||n(m,t,r,a,s)))return p.add(e)}))){d=!1;break}}else if(m!==g&&!n(m,g,r,a,s)){d=!1;break}}return s.delete(t),s.delete(e),d}function re(t,e){var n,r,i=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function ie(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return function(t){return!(!Ae(t)||(e=t,dt&&dt in e))&&(Ee(t)||it(t)?yt:H).test(pe(t));var e}(n)?n:void 0}zt.prototype.clear=function(){this.__data__=Nt?Nt(null):{}},zt.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},zt.prototype.get=function(t){var e=this.__data__;if(Nt){var n=e[t];return n===r?void 0:n}return mt.call(e,t)?e[t]:void 0},zt.prototype.has=function(t){var e=this.__data__;return Nt?void 0!==e[t]:mt.call(e,t)},zt.prototype.set=function(t,e){return this.__data__[t]=Nt&&void 0===e?r:e,this},qt.prototype.clear=function(){this.__data__=[]},qt.prototype.delete=function(t){var e=this.__data__,n=Vt(e,t);return!(n<0||(n==e.length-1?e.pop():Mt.call(e,n,1),0))},qt.prototype.get=function(t){var e=this.__data__,n=Vt(e,t);return n<0?void 0:e[n][1]},qt.prototype.has=function(t){return Vt(this.__data__,t)>-1},qt.prototype.set=function(t,e){var n=this.__data__,r=Vt(n,t);return r<0?n.push([t,e]):n[r][1]=e,this},Wt.prototype.clear=function(){this.__data__={hash:new zt,map:new(Ct||qt),string:new zt}},Wt.prototype.delete=function(t){return re(this,t).delete(t)},Wt.prototype.get=function(t){return re(this,t).get(t)},Wt.prototype.has=function(t){return re(this,t).has(t)},Wt.prototype.set=function(t,e){return re(this,t).set(t,e),this},Gt.prototype.add=Gt.prototype.push=function(t){return this.__data__.set(t,r),this},Gt.prototype.has=function(t){return this.__data__.has(t)},Kt.prototype.clear=function(){this.__data__=new qt},Kt.prototype.delete=function(t){return this.__data__.delete(t)},Kt.prototype.get=function(t){return this.__data__.get(t)},Kt.prototype.has=function(t){return this.__data__.has(t)},Kt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof qt){var r=n.__data__;if(!Ct||r.length<199)return r.push([t,e]),this;n=this.__data__=new Wt(r)}return n.set(t,e),this};var oe=Tt?at(Tt,Object):function(){return[]},ae=function(t){return gt.call(t)};function se(t,e){return!!(e=null==e?s:e)&&("number"==typeof t||z.test(t))&&t>-1&&t%1==0&&t<e}function le(t,e){if(we(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Te(t))||P.test(t)||!L.test(t)||null!=e&&t in Object(e)}function ce(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||ht)}function ue(t){return t==t&&!Ae(t)}function he(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}(kt&&ae(new kt(new ArrayBuffer(1)))!=T||Ct&&ae(new Ct)!=m||Dt&&ae(Dt.resolve())!=w||It&&ae(new It)!=v||Rt&&ae(new Rt)!=A)&&(ae=function(t){var e=gt.call(t),n=e==y?t.constructor:void 0,r=n?pe(n):void 0;if(r)switch(r){case Ot:return T;case Lt:return m;case Pt:return w;case Ft:return v;case Bt:return A}return e});var fe=me((function(t){var e;t=null==(e=t)?"":function(t){if("string"==typeof t)return t;if(Te(t))return Ht?Ht.call(t):"";var e=t+"";return"0"==e&&1/t==-a?"-0":e}(e);var n=[];return F.test(t)&&n.push(""),t.replace(B,(function(t,e,r,i){n.push(r?i.replace(U,"$1"):e||t)})),n}));function de(t){if("string"==typeof t||Te(t))return t;var e=t+"";return"0"==e&&1/t==-a?"-0":e}function pe(t){if(null!=t){try{return pt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function me(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(me.Cache||Wt),n}function ge(t,e){return t===e||t!=t&&e!=e}function ye(t){return function(t){return Me(t)&&be(t)}(t)&&mt.call(t,"callee")&&(!At.call(t,"callee")||gt.call(t)==l)}me.Cache=Wt;var we=Array.isArray;function be(t){return null!=t&&_e(t.length)&&!Ee(t)}var ve=xt||function(){return!1};function Ee(t){var e=Ae(t)?gt.call(t):"";return e==d||e==p}function _e(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=s}function Ae(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Me(t){return!!t&&"object"==typeof t}function Te(t){return"symbol"==typeof t||Me(t)&&gt.call(t)==_}var xe,Se=J?(xe=J,function(t){return xe(t)}):function(t){return Me(t)&&_e(t.length)&&!!q[gt.call(t)]};function ke(t){return be(t)?function(t,e){var n=we(t)||ye(t)?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],r=n.length,i=!!r;for(var o in t)!e&&!mt.call(t,o)||i&&("length"==o||se(o,r))||n.push(o);return n}(t):function(t){if(!ce(t))return St(t);var e=[];for(var n in Object(t))mt.call(t,n)&&"constructor"!=n&&e.push(n);return e}(t)}function Ce(t){return t}t.exports=function(t){return"function"==typeof(e="function"==typeof t?t:Xt(t,!0))?e:null==e?Ce:"object"==typeof e?we(e)?(a=e[0],s=e[1],le(a)&&ue(s)?he(de(a),s):function(t){var e=function(t,e,n){var r=null==t?void 0:Zt(t,e);return void 0===r?void 0:r}(t,a);return void 0===e&&e===s?function(t,e){return null!=t&&function(t,e,n){for(var r,i=-1,o=(e=le(e,t)?[e]:Jt(e)).length;++i<o;){var a=de(e[i]);if(!(r=null!=t&&n(t,a)))break;t=t[a]}return r||!!(o=t?t.length:0)&&_e(o)&&se(a,o)&&(we(t)||ye(t))}(t,e,$t)}(t,a):Qt(s,e,void 0,i|o)}):1==(r=function(t){for(var e=ke(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,ue(i)]}return e}(n=e)).length&&r[0][2]?he(r[0][0],r[0][1]):function(t){return t===n||function(t,e,n,r){var a=n.length,s=a;if(null==t)return!s;for(t=Object(t);a--;){var l=n[a];if(l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++a<s;){var c=(l=n[a])[0],u=t[c],h=l[1];if(l[2]){if(void 0===u&&!(c in t))return!1}else{var f,d=new Kt;if(!(void 0===f?Qt(h,u,r,i|o,d):f))return!1}}return!0}(t,0,r)}:function(t){return le(t)?(e=de(t),function(t){return null==t?void 0:t[e]}):function(t){return function(e){return Zt(e,t)}}(t);var e}(e);var e,n,r,a,s}},8276:(t,e,n)=>{"use strict";var r=n(6698),i=n(4729),o=n(2861).Buffer,a=new Array(16);function s(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function l(t,e){return t<<e|t>>>32-e}function c(t,e,n,r,i,o,a){return l(t+(e&n|~e&r)+i+o|0,a)+e|0}function u(t,e,n,r,i,o,a){return l(t+(e&r|n&~r)+i+o|0,a)+e|0}function h(t,e,n,r,i,o,a){return l(t+(e^n^r)+i+o|0,a)+e|0}function f(t,e,n,r,i,o,a){return l(t+(n^(e|~r))+i+o|0,a)+e|0}r(s,i),s.prototype._update=function(){for(var t=a,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);var n=this._a,r=this._b,i=this._c,o=this._d;n=c(n,r,i,o,t[0],3614090360,7),o=c(o,n,r,i,t[1],3905402710,12),i=c(i,o,n,r,t[2],606105819,17),r=c(r,i,o,n,t[3],3250441966,22),n=c(n,r,i,o,t[4],4118548399,7),o=c(o,n,r,i,t[5],1200080426,12),i=c(i,o,n,r,t[6],2821735955,17),r=c(r,i,o,n,t[7],4249261313,22),n=c(n,r,i,o,t[8],1770035416,7),o=c(o,n,r,i,t[9],2336552879,12),i=c(i,o,n,r,t[10],4294925233,17),r=c(r,i,o,n,t[11],2304563134,22),n=c(n,r,i,o,t[12],1804603682,7),o=c(o,n,r,i,t[13],4254626195,12),i=c(i,o,n,r,t[14],2792965006,17),n=u(n,r=c(r,i,o,n,t[15],1236535329,22),i,o,t[1],4129170786,5),o=u(o,n,r,i,t[6],3225465664,9),i=u(i,o,n,r,t[11],643717713,14),r=u(r,i,o,n,t[0],3921069994,20),n=u(n,r,i,o,t[5],3593408605,5),o=u(o,n,r,i,t[10],38016083,9),i=u(i,o,n,r,t[15],3634488961,14),r=u(r,i,o,n,t[4],3889429448,20),n=u(n,r,i,o,t[9],568446438,5),o=u(o,n,r,i,t[14],3275163606,9),i=u(i,o,n,r,t[3],4107603335,14),r=u(r,i,o,n,t[8],1163531501,20),n=u(n,r,i,o,t[13],2850285829,5),o=u(o,n,r,i,t[2],4243563512,9),i=u(i,o,n,r,t[7],1735328473,14),n=h(n,r=u(r,i,o,n,t[12],2368359562,20),i,o,t[5],4294588738,4),o=h(o,n,r,i,t[8],2272392833,11),i=h(i,o,n,r,t[11],1839030562,16),r=h(r,i,o,n,t[14],4259657740,23),n=h(n,r,i,o,t[1],2763975236,4),o=h(o,n,r,i,t[4],1272893353,11),i=h(i,o,n,r,t[7],4139469664,16),r=h(r,i,o,n,t[10],3200236656,23),n=h(n,r,i,o,t[13],681279174,4),o=h(o,n,r,i,t[0],3936430074,11),i=h(i,o,n,r,t[3],3572445317,16),r=h(r,i,o,n,t[6],76029189,23),n=h(n,r,i,o,t[9],3654602809,4),o=h(o,n,r,i,t[12],3873151461,11),i=h(i,o,n,r,t[15],530742520,16),n=f(n,r=h(r,i,o,n,t[2],3299628645,23),i,o,t[0],4096336452,6),o=f(o,n,r,i,t[7],1126891415,10),i=f(i,o,n,r,t[14],2878612391,15),r=f(r,i,o,n,t[5],4237533241,21),n=f(n,r,i,o,t[12],1700485571,6),o=f(o,n,r,i,t[3],2399980690,10),i=f(i,o,n,r,t[10],4293915773,15),r=f(r,i,o,n,t[1],2240044497,21),n=f(n,r,i,o,t[8],1873313359,6),o=f(o,n,r,i,t[15],4264355552,10),i=f(i,o,n,r,t[6],2734768916,15),r=f(r,i,o,n,t[13],1309151649,21),n=f(n,r,i,o,t[4],4149444226,6),o=f(o,n,r,i,t[11],3174756917,10),i=f(i,o,n,r,t[2],718787259,15),r=f(r,i,o,n,t[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+r|0,this._c=this._c+i|0,this._d=this._d+o|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=o.allocUnsafe(16);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t},t.exports=s},2244:(t,e,n)=>{var r=n(1158),i=n(5037);function o(t){this.rand=t||new i.Rand}t.exports=o,o.create=function(t){return new o(t)},o.prototype._randbelow=function(t){var e=t.bitLength(),n=Math.ceil(e/8);do{var i=new r(this.rand.generate(n))}while(i.cmp(t)>=0);return i},o.prototype._randrange=function(t,e){var n=e.sub(t);return t.add(this._randbelow(n))},o.prototype.test=function(t,e,n){var i=t.bitLength(),o=r.mont(t),a=new r(1).toRed(o);e||(e=Math.max(1,i/48|0));for(var s=t.subn(1),l=0;!s.testn(l);l++);for(var c=t.shrn(l),u=s.toRed(o);e>0;e--){var h=this._randrange(new r(2),s);n&&n(h);var f=h.toRed(o).redPow(c);if(0!==f.cmp(a)&&0!==f.cmp(u)){for(var d=1;d<l;d++){if(0===(f=f.redSqr()).cmp(a))return!1;if(0===f.cmp(u))break}if(d===l)return!1}}return!0},o.prototype.getDivisor=function(t,e){var n=t.bitLength(),i=r.mont(t),o=new r(1).toRed(i);e||(e=Math.max(1,n/48|0));for(var a=t.subn(1),s=0;!a.testn(s);s++);for(var l=t.shrn(s),c=a.toRed(i);e>0;e--){var u=this._randrange(new r(2),a),h=t.gcd(u);if(0!==h.cmpn(1))return h;var f=u.toRed(i).redPow(l);if(0!==f.cmp(o)&&0!==f.cmp(c)){for(var d=1;d<s;d++){if(0===(f=f.redSqr()).cmp(o))return f.fromRed().subn(1).gcd(t);if(0===f.cmp(c))break}if(d===s)return(f=f.redSqr()).fromRed().subn(1).gcd(t)}}return!1}},1158:function(t,e,n){!function(t,e){"use strict";function r(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var a;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:n(4688).Buffer}catch(t){}function s(t,e){var n=t.charCodeAt(e);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function l(t,e,n){var r=s(t,n);return n-1>=e&&(r|=s(t,n-1)<<4),r}function c(t,e,n,r){for(var i=0,o=Math.min(t.length,n),a=e;a<o;a++){var s=t.charCodeAt(a)-48;i*=r,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"==typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,n){if("number"==typeof t)return this._initNumber(t,e,n);if("object"==typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),r(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,n):(this._parseBase(t,e,i),"le"===n&&this._initArray(this.toArray(),e,n)))},o.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(r(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initArray=function(t,e,n){if(r("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===n)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,n){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,o=0,a=0;if("be"===n)for(r=t.length-1;r>=e;r-=2)i=l(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(t.length-e)%2==0?e+1:e;r<t.length;r+=2)i=l(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,u=n;u<s;u+=r)l=c(t,u,u+r,e),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==a){var h=1;for(l=c(t,u,t.length,e),u=0;u<a;u++)h*=e;this.imuln(h),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&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},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var u=["","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"],h=[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],f=[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 d(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,l=a/67108864|0;n.words[0]=s;for(var c=1;c<r;c++){for(var u=l>>>26,h=67108863&l,f=Math.min(c,e.length-1),d=Math.max(0,c-t.length+1);d<=f;d++){var p=c-d|0;u+=(a=(i=0|t.words[p])*(o=0|e.words[d])+h)/67108864|0,h=67108863&a}n.words[c]=0|h,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n.strip()}o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],l=(16777215&(s<<i|o)).toString(16);n=0!=(o=s>>>24-i&16777215)||a!==this.length-1?u[6-l.length]+l+n:l+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.toString(16)+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var c=h[t],d=f[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(d).toString(t);n=(p=p.idivn(d)).isZero()?m+n:u[c-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return r(void 0!==a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,l="le"===e,c=new t(o),u=this.clone();if(l){for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),c[s]=a;for(;s<o;s++)c[s]=0}else{for(s=0;s<o-i;s++)c[s]=0;for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),c[o-s-1]=a}return c},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,n=0;return e>=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var n=this._zeroBits(this.words[e]);if(t+=n,26!==n)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return r(0==(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;n<e.length;n++)this.words[n]=this.words[n]&t.words[n];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return r(0==(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;r<n.length;r++)this.words[r]=e.words[r]^n.words[r];if(this!==e)for(;r<e.length;r++)this.words[r]=e.words[r];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return r(0==(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){r("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"==typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,n,r;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o<r.length;o++)e=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<n.length;o++)e=(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a<r.length;a++)o=(e=(0|n.words[a])-(0|r.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<n.length;a++)o=(e=(0|n.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<n.length&&n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this.length=Math.max(this.length,a),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var p=function(t,e,n){var r,i,o,a=t.words,s=e.words,l=n.words,c=0,u=0|a[0],h=8191&u,f=u>>>13,d=0|a[1],p=8191&d,m=d>>>13,g=0|a[2],y=8191&g,w=g>>>13,b=0|a[3],v=8191&b,E=b>>>13,_=0|a[4],A=8191&_,M=_>>>13,T=0|a[5],x=8191&T,S=T>>>13,k=0|a[6],C=8191&k,D=k>>>13,I=0|a[7],R=8191&I,N=I>>>13,O=0|a[8],L=8191&O,P=O>>>13,F=0|a[9],B=8191&F,U=F>>>13,j=0|s[0],H=8191&j,z=j>>>13,q=0|s[1],W=8191&q,G=q>>>13,K=0|s[2],Y=8191&K,V=K>>>13,X=0|s[3],Z=8191&X,$=X>>>13,Q=0|s[4],J=8191&Q,tt=Q>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],lt=8191&st,ct=st>>>13,ut=0|s[8],ht=8191&ut,ft=ut>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;n.negative=t.negative^e.negative,n.length=19;var gt=(c+(r=Math.imul(h,H))|0)+((8191&(i=(i=Math.imul(h,z))+Math.imul(f,H)|0))<<13)|0;c=((o=Math.imul(f,z))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,r=Math.imul(p,H),i=(i=Math.imul(p,z))+Math.imul(m,H)|0,o=Math.imul(m,z);var yt=(c+(r=r+Math.imul(h,W)|0)|0)+((8191&(i=(i=i+Math.imul(h,G)|0)+Math.imul(f,W)|0))<<13)|0;c=((o=o+Math.imul(f,G)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(y,H),i=(i=Math.imul(y,z))+Math.imul(w,H)|0,o=Math.imul(w,z),r=r+Math.imul(p,W)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(m,W)|0,o=o+Math.imul(m,G)|0;var wt=(c+(r=r+Math.imul(h,Y)|0)|0)+((8191&(i=(i=i+Math.imul(h,V)|0)+Math.imul(f,Y)|0))<<13)|0;c=((o=o+Math.imul(f,V)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(v,H),i=(i=Math.imul(v,z))+Math.imul(E,H)|0,o=Math.imul(E,z),r=r+Math.imul(y,W)|0,i=(i=i+Math.imul(y,G)|0)+Math.imul(w,W)|0,o=o+Math.imul(w,G)|0,r=r+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,V)|0;var bt=(c+(r=r+Math.imul(h,Z)|0)|0)+((8191&(i=(i=i+Math.imul(h,$)|0)+Math.imul(f,Z)|0))<<13)|0;c=((o=o+Math.imul(f,$)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(A,H),i=(i=Math.imul(A,z))+Math.imul(M,H)|0,o=Math.imul(M,z),r=r+Math.imul(v,W)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(E,W)|0,o=o+Math.imul(E,G)|0,r=r+Math.imul(y,Y)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(w,Y)|0,o=o+Math.imul(w,V)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,$)|0)+Math.imul(m,Z)|0,o=o+Math.imul(m,$)|0;var vt=(c+(r=r+Math.imul(h,J)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(f,J)|0))<<13)|0;c=((o=o+Math.imul(f,tt)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(x,H),i=(i=Math.imul(x,z))+Math.imul(S,H)|0,o=Math.imul(S,z),r=r+Math.imul(A,W)|0,i=(i=i+Math.imul(A,G)|0)+Math.imul(M,W)|0,o=o+Math.imul(M,G)|0,r=r+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(E,Y)|0,o=o+Math.imul(E,V)|0,r=r+Math.imul(y,Z)|0,i=(i=i+Math.imul(y,$)|0)+Math.imul(w,Z)|0,o=o+Math.imul(w,$)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,J)|0,o=o+Math.imul(m,tt)|0;var Et=(c+(r=r+Math.imul(h,nt)|0)|0)+((8191&(i=(i=i+Math.imul(h,rt)|0)+Math.imul(f,nt)|0))<<13)|0;c=((o=o+Math.imul(f,rt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(C,H),i=(i=Math.imul(C,z))+Math.imul(D,H)|0,o=Math.imul(D,z),r=r+Math.imul(x,W)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(S,W)|0,o=o+Math.imul(S,G)|0,r=r+Math.imul(A,Y)|0,i=(i=i+Math.imul(A,V)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(v,Z)|0,i=(i=i+Math.imul(v,$)|0)+Math.imul(E,Z)|0,o=o+Math.imul(E,$)|0,r=r+Math.imul(y,J)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(m,nt)|0,o=o+Math.imul(m,rt)|0;var _t=(c+(r=r+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(f,ot)|0))<<13)|0;c=((o=o+Math.imul(f,at)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(R,H),i=(i=Math.imul(R,z))+Math.imul(N,H)|0,o=Math.imul(N,z),r=r+Math.imul(C,W)|0,i=(i=i+Math.imul(C,G)|0)+Math.imul(D,W)|0,o=o+Math.imul(D,G)|0,r=r+Math.imul(x,Y)|0,i=(i=i+Math.imul(x,V)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,V)|0,r=r+Math.imul(A,Z)|0,i=(i=i+Math.imul(A,$)|0)+Math.imul(M,Z)|0,o=o+Math.imul(M,$)|0,r=r+Math.imul(v,J)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(E,J)|0,o=o+Math.imul(E,tt)|0,r=r+Math.imul(y,nt)|0,i=(i=i+Math.imul(y,rt)|0)+Math.imul(w,nt)|0,o=o+Math.imul(w,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var At=(c+(r=r+Math.imul(h,lt)|0)|0)+((8191&(i=(i=i+Math.imul(h,ct)|0)+Math.imul(f,lt)|0))<<13)|0;c=((o=o+Math.imul(f,ct)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(L,H),i=(i=Math.imul(L,z))+Math.imul(P,H)|0,o=Math.imul(P,z),r=r+Math.imul(R,W)|0,i=(i=i+Math.imul(R,G)|0)+Math.imul(N,W)|0,o=o+Math.imul(N,G)|0,r=r+Math.imul(C,Y)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(x,Z)|0,i=(i=i+Math.imul(x,$)|0)+Math.imul(S,Z)|0,o=o+Math.imul(S,$)|0,r=r+Math.imul(A,J)|0,i=(i=i+Math.imul(A,tt)|0)+Math.imul(M,J)|0,o=o+Math.imul(M,tt)|0,r=r+Math.imul(v,nt)|0,i=(i=i+Math.imul(v,rt)|0)+Math.imul(E,nt)|0,o=o+Math.imul(E,rt)|0,r=r+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,r=r+Math.imul(p,lt)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(m,lt)|0,o=o+Math.imul(m,ct)|0;var Mt=(c+(r=r+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,ft)|0)+Math.imul(f,ht)|0))<<13)|0;c=((o=o+Math.imul(f,ft)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(B,H),i=(i=Math.imul(B,z))+Math.imul(U,H)|0,o=Math.imul(U,z),r=r+Math.imul(L,W)|0,i=(i=i+Math.imul(L,G)|0)+Math.imul(P,W)|0,o=o+Math.imul(P,G)|0,r=r+Math.imul(R,Y)|0,i=(i=i+Math.imul(R,V)|0)+Math.imul(N,Y)|0,o=o+Math.imul(N,V)|0,r=r+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,$)|0)+Math.imul(D,Z)|0,o=o+Math.imul(D,$)|0,r=r+Math.imul(x,J)|0,i=(i=i+Math.imul(x,tt)|0)+Math.imul(S,J)|0,o=o+Math.imul(S,tt)|0,r=r+Math.imul(A,nt)|0,i=(i=i+Math.imul(A,rt)|0)+Math.imul(M,nt)|0,o=o+Math.imul(M,rt)|0,r=r+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(E,ot)|0,o=o+Math.imul(E,at)|0,r=r+Math.imul(y,lt)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(w,lt)|0,o=o+Math.imul(w,ct)|0,r=r+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,ft)|0)+Math.imul(m,ht)|0,o=o+Math.imul(m,ft)|0;var Tt=(c+(r=r+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,mt)|0)+Math.imul(f,pt)|0))<<13)|0;c=((o=o+Math.imul(f,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(B,W),i=(i=Math.imul(B,G))+Math.imul(U,W)|0,o=Math.imul(U,G),r=r+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(P,Y)|0,o=o+Math.imul(P,V)|0,r=r+Math.imul(R,Z)|0,i=(i=i+Math.imul(R,$)|0)+Math.imul(N,Z)|0,o=o+Math.imul(N,$)|0,r=r+Math.imul(C,J)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(D,J)|0,o=o+Math.imul(D,tt)|0,r=r+Math.imul(x,nt)|0,i=(i=i+Math.imul(x,rt)|0)+Math.imul(S,nt)|0,o=o+Math.imul(S,rt)|0,r=r+Math.imul(A,ot)|0,i=(i=i+Math.imul(A,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,r=r+Math.imul(v,lt)|0,i=(i=i+Math.imul(v,ct)|0)+Math.imul(E,lt)|0,o=o+Math.imul(E,ct)|0,r=r+Math.imul(y,ht)|0,i=(i=i+Math.imul(y,ft)|0)+Math.imul(w,ht)|0,o=o+Math.imul(w,ft)|0;var xt=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(B,Y),i=(i=Math.imul(B,V))+Math.imul(U,Y)|0,o=Math.imul(U,V),r=r+Math.imul(L,Z)|0,i=(i=i+Math.imul(L,$)|0)+Math.imul(P,Z)|0,o=o+Math.imul(P,$)|0,r=r+Math.imul(R,J)|0,i=(i=i+Math.imul(R,tt)|0)+Math.imul(N,J)|0,o=o+Math.imul(N,tt)|0,r=r+Math.imul(C,nt)|0,i=(i=i+Math.imul(C,rt)|0)+Math.imul(D,nt)|0,o=o+Math.imul(D,rt)|0,r=r+Math.imul(x,ot)|0,i=(i=i+Math.imul(x,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,r=r+Math.imul(A,lt)|0,i=(i=i+Math.imul(A,ct)|0)+Math.imul(M,lt)|0,o=o+Math.imul(M,ct)|0,r=r+Math.imul(v,ht)|0,i=(i=i+Math.imul(v,ft)|0)+Math.imul(E,ht)|0,o=o+Math.imul(E,ft)|0;var St=(c+(r=r+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,mt)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,mt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(B,Z),i=(i=Math.imul(B,$))+Math.imul(U,Z)|0,o=Math.imul(U,$),r=r+Math.imul(L,J)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(P,J)|0,o=o+Math.imul(P,tt)|0,r=r+Math.imul(R,nt)|0,i=(i=i+Math.imul(R,rt)|0)+Math.imul(N,nt)|0,o=o+Math.imul(N,rt)|0,r=r+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,r=r+Math.imul(x,lt)|0,i=(i=i+Math.imul(x,ct)|0)+Math.imul(S,lt)|0,o=o+Math.imul(S,ct)|0,r=r+Math.imul(A,ht)|0,i=(i=i+Math.imul(A,ft)|0)+Math.imul(M,ht)|0,o=o+Math.imul(M,ft)|0;var kt=(c+(r=r+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(E,pt)|0))<<13)|0;c=((o=o+Math.imul(E,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(B,J),i=(i=Math.imul(B,tt))+Math.imul(U,J)|0,o=Math.imul(U,tt),r=r+Math.imul(L,nt)|0,i=(i=i+Math.imul(L,rt)|0)+Math.imul(P,nt)|0,o=o+Math.imul(P,rt)|0,r=r+Math.imul(R,ot)|0,i=(i=i+Math.imul(R,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,r=r+Math.imul(C,lt)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(D,lt)|0,o=o+Math.imul(D,ct)|0,r=r+Math.imul(x,ht)|0,i=(i=i+Math.imul(x,ft)|0)+Math.imul(S,ht)|0,o=o+Math.imul(S,ft)|0;var Ct=(c+(r=r+Math.imul(A,pt)|0)|0)+((8191&(i=(i=i+Math.imul(A,mt)|0)+Math.imul(M,pt)|0))<<13)|0;c=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(B,nt),i=(i=Math.imul(B,rt))+Math.imul(U,nt)|0,o=Math.imul(U,rt),r=r+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(P,ot)|0,o=o+Math.imul(P,at)|0,r=r+Math.imul(R,lt)|0,i=(i=i+Math.imul(R,ct)|0)+Math.imul(N,lt)|0,o=o+Math.imul(N,ct)|0,r=r+Math.imul(C,ht)|0,i=(i=i+Math.imul(C,ft)|0)+Math.imul(D,ht)|0,o=o+Math.imul(D,ft)|0;var Dt=(c+(r=r+Math.imul(x,pt)|0)|0)+((8191&(i=(i=i+Math.imul(x,mt)|0)+Math.imul(S,pt)|0))<<13)|0;c=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,r=Math.imul(B,ot),i=(i=Math.imul(B,at))+Math.imul(U,ot)|0,o=Math.imul(U,at),r=r+Math.imul(L,lt)|0,i=(i=i+Math.imul(L,ct)|0)+Math.imul(P,lt)|0,o=o+Math.imul(P,ct)|0,r=r+Math.imul(R,ht)|0,i=(i=i+Math.imul(R,ft)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,ft)|0;var It=(c+(r=r+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,mt)|0)+Math.imul(D,pt)|0))<<13)|0;c=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(B,lt),i=(i=Math.imul(B,ct))+Math.imul(U,lt)|0,o=Math.imul(U,ct),r=r+Math.imul(L,ht)|0,i=(i=i+Math.imul(L,ft)|0)+Math.imul(P,ht)|0,o=o+Math.imul(P,ft)|0;var Rt=(c+(r=r+Math.imul(R,pt)|0)|0)+((8191&(i=(i=i+Math.imul(R,mt)|0)+Math.imul(N,pt)|0))<<13)|0;c=((o=o+Math.imul(N,mt)|0)+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,r=Math.imul(B,ht),i=(i=Math.imul(B,ft))+Math.imul(U,ht)|0,o=Math.imul(U,ft);var Nt=(c+(r=r+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(P,pt)|0))<<13)|0;c=((o=o+Math.imul(P,mt)|0)+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863;var Ot=(c+(r=Math.imul(B,pt))|0)+((8191&(i=(i=Math.imul(B,mt))+Math.imul(U,pt)|0))<<13)|0;return c=((o=Math.imul(U,mt))+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,l[0]=gt,l[1]=yt,l[2]=wt,l[3]=bt,l[4]=vt,l[5]=Et,l[6]=_t,l[7]=At,l[8]=Mt,l[9]=Tt,l[10]=xt,l[11]=St,l[12]=kt,l[13]=Ct,l[14]=Dt,l[15]=It,l[16]=Rt,l[17]=Nt,l[18]=Ot,0!==c&&(l[19]=c,n.length++),n};function m(t,e,n){return(new g).mulp(t,e,n)}function g(t,e){this.x=t,this.y=e}Math.imul||(p=d),o.prototype.mulTo=function(t,e){var n,r=this.length+t.length;return n=10===this.length&&10===t.length?p(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var a=i;i=0;for(var s=67108863&r,l=Math.min(o,e.length-1),c=Math.max(0,o-t.length+1);c<=l;c++){var u=o-c,h=(0|t.words[u])*(0|e.words[c]),f=67108863&h;s=67108863&(f=f+s|0),i+=(a=(a=a+(h/67108864|0)|0)+(f>>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,t,e):m(this,t,e),n},g.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r<t;r++)e[r]=this.revBin(r,n,t);return e},g.prototype.revBin=function(t,e,n){if(0===t||t===n-1)return t;for(var r=0,i=0;i<e;i++)r|=(1&t)<<e-i-1,t>>=1;return r},g.prototype.permute=function(t,e,n,r,i,o){for(var a=0;a<o;a++)r[a]=e[t[a]],i[a]=n[t[a]]},g.prototype.transform=function(t,e,n,r,i,o){this.permute(o,t,e,n,r,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,l=Math.cos(2*Math.PI/s),c=Math.sin(2*Math.PI/s),u=0;u<i;u+=s)for(var h=l,f=c,d=0;d<a;d++){var p=n[u+d],m=r[u+d],g=n[u+d+a],y=r[u+d+a],w=h*g-f*y;y=h*y+f*g,g=w,n[u+d]=p+g,r[u+d]=m+y,n[u+d+a]=p-g,r[u+d+a]=m-y,d!==s&&(w=l*h-c*f,f=l*f+c*h,h=w)}},g.prototype.guessLen13b=function(t,e){var n=1|Math.max(e,t),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},g.prototype.conjugate=function(t,e,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=t[r];t[r]=t[n-r-1],t[n-r-1]=i,i=e[r],e[r]=-e[n-r-1],e[n-r-1]=-i}},g.prototype.normalize13b=function(t,e){for(var n=0,r=0;r<e/2;r++){var i=8192*Math.round(t[2*r+1]/e)+Math.round(t[2*r]/e)+n;t[r]=67108863&i,n=i<67108864?0:i/67108864|0}return t},g.prototype.convert13b=function(t,e,n,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],n[2*a]=8191&o,o>>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)n[a]=0;r(0===o),r(0==(-8192&o))},g.prototype.stub=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=0;return e},g.prototype.mulp=function(t,e,n){var r=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(r),o=this.stub(r),a=new Array(r),s=new Array(r),l=new Array(r),c=new Array(r),u=new Array(r),h=new Array(r),f=n.words;f.length=r,this.convert13b(t.words,t.length,a,r),this.convert13b(e.words,e.length,c,r),this.transform(a,o,s,l,r,i),this.transform(c,o,u,h,r,i);for(var d=0;d<r;d++){var p=s[d]*u[d]-l[d]*h[d];l[d]=s[d]*h[d]+l[d]*u[d],s[d]=p}return this.conjugate(s,l,r),this.transform(s,l,f,o,r,i),this.conjugate(f,o,r),this.normalize13b(f,r),n.negative=t.negative^e.negative,n.length=t.length+e.length,n.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),m(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){r("number"==typeof t),r(t<67108864);for(var e=0,n=0;n<this.length;n++){var i=(0|this.words[n])*t,o=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=o>>>26,this.words[n]=67108863&o}return 0!==e&&(this.words[n]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n<e.length;n++){var r=n/26|0,i=n%26;e[n]=(t.words[r]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r<e.length&&0===e[r];r++,n=n.sqr());if(++r<e.length)for(var i=n.sqr();r<e.length;r++,i=i.sqr())0!==e[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(t){r("number"==typeof t&&t>=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,l=(0|this.words[e])-s<<n;this.words[e]=l|a,a=s>>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return r(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,n){var i;r("number"==typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,l=n;if(i-=a,i=Math.max(0,i),l){for(var c=0;c<a;c++)l.words[c]=this.words[c];l.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var u=0;for(c=this.length-1;c>=0&&(0!==u||c>=i);c--){var h=0|this.words[c];this.words[c]=u<<26-o|h>>>o,u=h&s}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<<e;return!(this.length<=n||!(this.words[n]&i))},o.prototype.imaskn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==e&&n++,this.length=Math.min(n,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return r("number"==typeof t),r(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(r("number"==typeof t),r(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,n){var i,o,a=t.length+n;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+n])+s;var l=(0|t.words[i])*e;s=((o-=67108863&l)>>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)s=(o=(0|this.words[i+n])+s)>>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1];0!=(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,l=r.length-i.length;if("mod"!==e){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var c=0;c<s.length;c++)s.words[c]=0}var u=r.clone()._ishlnsubmul(i,1,l);0===u.negative&&(r=u,s&&(s.words[l]=1));for(var h=l-1;h>=0;h--){var f=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);for(f=Math.min(f/a|0,67108863),r._ishlnsubmul(i,f,h);0!==r.negative;)f--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);s&&(s.words[h]=f)}return s&&s.strip(),r.strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){r(t<=67108863);for(var e=(1<<26)%t,n=0,i=this.length-1;i>=0;i--)n=(e*n+(0|this.words[i]))%t;return n},o.prototype.idivn=function(t){r(t<=67108863);for(var e=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*e;this.words[n]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var u=n.clone(),h=e.clone();!e.isZero();){for(var f=0,d=1;0==(e.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(e.iushrn(f);f-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(u),a.isub(h)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(u),l.isub(h)),s.iushrn(1),l.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(s),a.isub(l)):(n.isub(e),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:n.iushln(c)}},o.prototype._invmp=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),l=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,u=1;0==(e.words[0]&u)&&c<26;++c,u<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var h=0,f=1;0==(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(n.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(s)):(n.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"==typeof t);var e=t%26,n=(t-e)/26,i=1<<e;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,a=n;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)e=1;else{n&&(t=-t),r(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){r<i?e=-1:r>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new A(t)},o.prototype.toRed=function(t){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var y={k256:null,p224:null,p192:null,p25519:null};function w(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(t){if("string"==typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else r(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function M(t){A.call(this,t),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)}w.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},w.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},w.prototype.split=function(t,e){t.iushrn(this.n,0,e)},w.prototype.imulK=function(t){return t.imul(this.k)},i(b,w),b.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i<r;i++)e.words[i]=t.words[i];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&n,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(a&n)<<4|o>>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},b.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n<t.length;n++){var r=0|t.words[n];e+=977*r,t.words[n]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(v,w),i(E,w),i(_,w),_.prototype.imulK=function(t){for(var e=0,n=0;n<t.length;n++){var r=19*(0|t.words[n])+e,i=67108863&r;r>>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(y[t])return y[t];var e;if("k256"===t)e=new b;else if("p224"===t)e=new v;else if("p192"===t)e=new E;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new _}return y[t]=e,e},A.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},A.prototype._verify2=function(t,e){r(0==(t.negative|e.negative),"red works only with positives"),r(t.red&&t.red===e.red,"red works only with red numbers")},A.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},A.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},A.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},A.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},A.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},A.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},A.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},A.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},A.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},A.prototype.isqr=function(t){return this.imul(t,t.clone())},A.prototype.sqr=function(t){return this.mul(t,t)},A.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(r(e%2==1),3===e){var n=this.m.add(new o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,c).cmp(l);)u.redIAdd(l);for(var h=this.pow(u,i),f=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var m=d,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g<p);var y=this.pow(h,new o(1).iushln(p-g-1));f=f.redMul(y),h=y.redSqr(),d=d.redMul(h),p=g}return f},A.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},A.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=t;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],t);var i=n[0],a=0,s=0,l=e.bitLength()%26;for(0===l&&(l=26),r=e.length-1;r>=0;r--){for(var c=e.words[r],u=l-1;u>=0;u--){var h=c>>u&1;i!==n[0]&&(i=this.sqr(i)),0!==h||0!==a?(a<<=1,a|=h,(4==++s||0===r&&0===u)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}l=26}return i},A.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},A.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new M(t)},i(M,A),M.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},M.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},M.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},M.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},M.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t=n.nmd(t),this)},3349:t=>{function e(t,e){if(!t)throw new Error(e||"Assertion failed")}t.exports=e,e.equal=function(t,e,n){if(t!=e)throw new Error(n||"Assertion failed: "+t+" != "+e)}},4367:(t,e)=>{"use strict";var n=e;function r(t){return 1===t.length?"0"+t:t}function i(t){for(var e="",n=0;n<t.length;n++)e+=r(t[n].toString(16));return e}n.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if("string"!=typeof t){for(var r=0;r<t.length;r++)n[r]=0|t[r];return n}if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),r=0;r<t.length;r+=2)n.push(parseInt(t[r]+t[r+1],16));else for(r=0;r<t.length;r++){var i=t.charCodeAt(r),o=i>>8,a=255&i;o?n.push(o,a):n.push(a)}return n},n.zero2=r,n.toHex=i,n.encode=function(t,e){return"hex"===e?i(t):t}},8859:(t,e,n)=>{var r="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&i&&"function"==typeof i.get?i.get:null,a=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=s&&l&&"function"==typeof l.get?l.get:null,u=s&&Set.prototype.forEach,h="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,m=Object.prototype.toString,g=Function.prototype.toString,y=String.prototype.match,w=String.prototype.slice,b=String.prototype.replace,v=String.prototype.toUpperCase,E=String.prototype.toLowerCase,_=RegExp.prototype.test,A=Array.prototype.concat,M=Array.prototype.join,T=Array.prototype.slice,x=Math.floor,S="function"==typeof BigInt?BigInt.prototype.valueOf:null,k=Object.getOwnPropertySymbols,C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,D="function"==typeof Symbol&&"object"==typeof Symbol.iterator,I="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,R=Object.prototype.propertyIsEnumerable,N=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function O(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||_.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var r=t<0?-x(-t):x(t);if(r!==t){var i=String(r),o=w.call(e,i.length+1);return b.call(i,n,"$&_")+"."+b.call(b.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(e,n,"$&_")}var L=n(2634),P=L.custom,F=z(P)?P:null;function B(t,e,n){var r="double"===(n.quoteStyle||e)?'"':"'";return r+t+r}function U(t){return b.call(String(t),/"/g,"&quot;")}function j(t){return!("[object Array]"!==G(t)||I&&"object"==typeof t&&I in t)}function H(t){return!("[object RegExp]"!==G(t)||I&&"object"==typeof t&&I in t)}function z(t){if(D)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!C)return!1;try{return C.call(t),!0}catch(t){}return!1}t.exports=function t(e,n,r,i){var s=n||{};if(W(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(W(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=!W(s,"customInspect")||s.customInspect;if("boolean"!=typeof l&&"symbol"!==l)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(W(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(W(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var m=s.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return Y(e,s);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var v=String(e);return m?O(e,v):v}if("bigint"==typeof e){var _=String(e)+"n";return m?O(e,_):_}var x=void 0===s.depth?5:s.depth;if(void 0===r&&(r=0),r>=x&&x>0&&"object"==typeof e)return j(e)?"[Array]":"[Object]";var k,P=function(t,e){var n;if("\t"===t.indent)n="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;n=M.call(Array(t.indent+1)," ")}return{base:n,prev:M.call(Array(e+1),n)}}(s,r);if(void 0===i)i=[];else if(K(i,e)>=0)return"[Circular]";function q(e,n,o){if(n&&(i=T.call(i)).push(n),o){var a={depth:s.depth};return W(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),t(e,a,r+1,i)}return t(e,s,r+1,i)}if("function"==typeof e&&!H(e)){var V=function(t){if(t.name)return t.name;var e=y.call(g.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),tt=J(e,q);return"[Function"+(V?": "+V:" (anonymous)")+"]"+(tt.length>0?" { "+M.call(tt,", ")+" }":"")}if(z(e)){var et=D?b.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):C.call(e);return"object"!=typeof e||D?et:X(et)}if((k=e)&&"object"==typeof k&&("undefined"!=typeof HTMLElement&&k instanceof HTMLElement||"string"==typeof k.nodeName&&"function"==typeof k.getAttribute)){for(var nt="<"+E.call(String(e.nodeName)),rt=e.attributes||[],it=0;it<rt.length;it++)nt+=" "+rt[it].name+"="+B(U(rt[it].value),"double",s);return nt+=">",e.childNodes&&e.childNodes.length&&(nt+="..."),nt+"</"+E.call(String(e.nodeName))+">"}if(j(e)){if(0===e.length)return"[]";var ot=J(e,q);return P&&!function(t){for(var e=0;e<t.length;e++)if(K(t[e],"\n")>=0)return!1;return!0}(ot)?"["+Q(ot,P)+"]":"[ "+M.call(ot,", ")+" ]"}if(function(t){return!("[object Error]"!==G(t)||I&&"object"==typeof t&&I in t)}(e)){var at=J(e,q);return"cause"in Error.prototype||!("cause"in e)||R.call(e,"cause")?0===at.length?"["+String(e)+"]":"{ ["+String(e)+"] "+M.call(at,", ")+" }":"{ ["+String(e)+"] "+M.call(A.call("[cause]: "+q(e.cause),at),", ")+" }"}if("object"==typeof e&&l){if(F&&"function"==typeof e[F]&&L)return L(e,{depth:x-r});if("symbol"!==l&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!o||!t||"object"!=typeof t)return!1;try{o.call(t);try{c.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var st=[];return a&&a.call(e,(function(t,n){st.push(q(n,e,!0)+" => "+q(t,e))})),$("Map",o.call(e),st,P)}if(function(t){if(!c||!t||"object"!=typeof t)return!1;try{c.call(t);try{o.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var lt=[];return u&&u.call(e,(function(t){lt.push(q(t,e))})),$("Set",c.call(e),lt,P)}if(function(t){if(!h||!t||"object"!=typeof t)return!1;try{h.call(t,h);try{f.call(t,f)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return Z("WeakMap");if(function(t){if(!f||!t||"object"!=typeof t)return!1;try{f.call(t,f);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return Z("WeakSet");if(function(t){if(!d||!t||"object"!=typeof t)return!1;try{return d.call(t),!0}catch(t){}return!1}(e))return Z("WeakRef");if(function(t){return!("[object Number]"!==G(t)||I&&"object"==typeof t&&I in t)}(e))return X(q(Number(e)));if(function(t){if(!t||"object"!=typeof t||!S)return!1;try{return S.call(t),!0}catch(t){}return!1}(e))return X(q(S.call(e)));if(function(t){return!("[object Boolean]"!==G(t)||I&&"object"==typeof t&&I in t)}(e))return X(p.call(e));if(function(t){return!("[object String]"!==G(t)||I&&"object"==typeof t&&I in t)}(e))return X(q(String(e)));if(!function(t){return!("[object Date]"!==G(t)||I&&"object"==typeof t&&I in t)}(e)&&!H(e)){var ct=J(e,q),ut=N?N(e)===Object.prototype:e instanceof Object||e.constructor===Object,ht=e instanceof Object?"":"null prototype",ft=!ut&&I&&Object(e)===e&&I in e?w.call(G(e),8,-1):ht?"Object":"",dt=(ut||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(ft||ht?"["+M.call(A.call([],ft||[],ht||[]),": ")+"] ":"");return 0===ct.length?dt+"{}":P?dt+"{"+Q(ct,P)+"}":dt+"{ "+M.call(ct,", ")+" }"}return String(e)};var q=Object.prototype.hasOwnProperty||function(t){return t in this};function W(t,e){return q.call(t,e)}function G(t){return m.call(t)}function K(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}function Y(t,e){if(t.length>e.maxStringLength){var n=t.length-e.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return Y(w.call(t,0,e.maxStringLength),e)+r}return B(b.call(b.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,V),"single",e)}function V(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+v.call(e.toString(16))}function X(t){return"Object("+t+")"}function Z(t){return t+" { ? }"}function $(t,e,n,r){return t+" ("+e+") {"+(r?Q(n,r):M.call(n,", "))+"}"}function Q(t,e){if(0===t.length)return"";var n="\n"+e.prev+e.base;return n+M.call(t,","+n)+"\n"+e.prev}function J(t,e){var n=j(t),r=[];if(n){r.length=t.length;for(var i=0;i<t.length;i++)r[i]=W(t,i)?e(t[i],t):""}var o,a="function"==typeof k?k(t):[];if(D){o={};for(var s=0;s<a.length;s++)o["$"+a[s]]=a[s]}for(var l in t)W(t,l)&&(n&&String(Number(l))===l&&l<t.length||D&&o["$"+l]instanceof Symbol||(_.call(/[^\w$]/,l)?r.push(e(l,t)+": "+e(t[l],t)):r.push(l+": "+e(t[l],t))));if("function"==typeof k)for(var c=0;c<a.length;c++)R.call(t,a[c])&&r.push("["+e(a[c])+"]: "+e(t[a[c]],t));return r}},1072:(t,e)=>{},1137:(t,e,n)=>{"use strict";var r=n(7568);e.certificate=n(6413);var i=r.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));e.RSAPrivateKey=i;var o=r.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));e.RSAPublicKey=o;var a=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())}));e.PublicKey=a;var s=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),l=r.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(s),this.key("subjectPrivateKey").octstr())}));e.PrivateKey=l;var c=r.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));e.EncryptedPrivateKey=c;var u=r.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));e.DSAPrivateKey=u,e.DSAparam=r.define("DSAparam",(function(){this.int()}));var h=r.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(f),this.key("publicKey").optional().explicit(1).bitstr())}));e.ECPrivateKey=h;var f=r.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));e.signature=r.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},6413:(t,e,n)=>{"use strict";var r=n(7568),i=r.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),o=r.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),a=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),s=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())})),l=r.define("RelativeDistinguishedName",(function(){this.setof(o)})),c=r.define("RDNSequence",(function(){this.seqof(l)})),u=r.define("Name",(function(){this.choice({rdnSequence:this.use(c)})})),h=r.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))})),f=r.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),d=r.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(a),this.key("issuer").use(u),this.key("validity").use(h),this.key("subject").use(u),this.key("subjectPublicKeyInfo").use(s),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(f).optional())})),p=r.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(d),this.key("signatureAlgorithm").use(a),this.key("signatureValue").bitstr())}));t.exports=p},4101:(t,e,n)=>{var r=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,a=n(8078),s=n(1241),l=n(2861).Buffer;t.exports=function(t,e){var n,c=t.toString(),u=c.match(r);if(u){var h="aes"+u[1],f=l.from(u[2],"hex"),d=l.from(u[3].replace(/[\r\n]/g,""),"base64"),p=a(e,f.slice(0,8),parseInt(u[1],10)).key,m=[],g=s.createDecipheriv(h,p,f);m.push(g.update(d)),m.push(g.final()),n=l.concat(m)}else{var y=c.match(o);n=l.from(y[2].replace(/[\r\n]/g,""),"base64")}return{tag:c.match(i)[1],data:n}}},8170:(t,e,n)=>{var r=n(1137),i=n(5579),o=n(4101),a=n(1241),s=n(8396),l=n(2861).Buffer;function c(t){var e;"object"!=typeof t||l.isBuffer(t)||(e=t.passphrase,t=t.key),"string"==typeof t&&(t=l.from(t));var n,c,u=o(t,e),h=u.tag,f=u.data;switch(h){case"CERTIFICATE":c=r.certificate.decode(f,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(c||(c=r.PublicKey.decode(f,"der")),n=c.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPublicKey.decode(c.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return c.subjectPrivateKey=c.subjectPublicKey,{type:"ec",data:c};case"1.2.840.10040.4.1":return c.algorithm.params.pub_key=r.DSAparam.decode(c.subjectPublicKey.data,"der"),{type:"dsa",data:c.algorithm.params};default:throw new Error("unknown key id "+n)}case"ENCRYPTED PRIVATE KEY":f=function(t,e){var n=t.algorithm.decrypt.kde.kdeparams.salt,r=parseInt(t.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=i[t.algorithm.decrypt.cipher.algo.join(".")],c=t.algorithm.decrypt.cipher.iv,u=t.subjectPrivateKey,h=parseInt(o.split("-")[1],10)/8,f=s.pbkdf2Sync(e,n,r,h,"sha1"),d=a.createDecipheriv(o,f,c),p=[];return p.push(d.update(u)),p.push(d.final()),l.concat(p)}(f=r.EncryptedPrivateKey.decode(f,"der"),e);case"PRIVATE KEY":switch(n=(c=r.PrivateKey.decode(f,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPrivateKey.decode(c.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:c.algorithm.curve,privateKey:r.ECPrivateKey.decode(c.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return c.algorithm.params.priv_key=r.DSAparam.decode(c.subjectPrivateKey,"der"),{type:"dsa",params:c.algorithm.params};default:throw new Error("unknown key id "+n)}case"RSA PUBLIC KEY":return r.RSAPublicKey.decode(f,"der");case"RSA PRIVATE KEY":return r.RSAPrivateKey.decode(f,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:r.DSAPrivateKey.decode(f,"der")};case"EC PRIVATE KEY":return{curve:(f=r.ECPrivateKey.decode(f,"der")).parameters.value,privateKey:f.privateKey};default:throw new Error("unknown key type "+h)}}t.exports=c,c.signature=r.signature},7975:t=>{"use strict";function e(t){if("string"!=typeof t)throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}function n(t,e){for(var n,r="",i=0,o=-1,a=0,s=0;s<=t.length;++s){if(s<t.length)n=t.charCodeAt(s);else{if(47===n)break;n=47}if(47===n){if(o===s-1||1===a);else if(o!==s-1&&2===a){if(r.length<2||2!==i||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2))if(r.length>2){var l=r.lastIndexOf("/");if(l!==r.length-1){-1===l?(r="",i=0):i=(r=r.slice(0,l)).length-1-r.lastIndexOf("/"),o=s,a=0;continue}}else if(2===r.length||1===r.length){r="",i=0,o=s,a=0;continue}e&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+t.slice(o+1,s):r=t.slice(o+1,s),i=s-o-1;o=s,a=0}else 46===n&&-1!==a?++a:a=-1}return r}var r={resolve:function(){for(var t,r="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var a;o>=0?a=arguments[o]:(void 0===t&&(t={env:{}}.cwd()),a=t),e(a),0!==a.length&&(r=a+"/"+r,i=47===a.charCodeAt(0))}return r=n(r,!i),i?r.length>0?"/"+r:"/":r.length>0?r:"."},normalize:function(t){if(e(t),0===t.length)return".";var r=47===t.charCodeAt(0),i=47===t.charCodeAt(t.length-1);return 0!==(t=n(t,!r)).length||r||(t="."),t.length>0&&i&&(t+="/"),r?"/"+t:t},isAbsolute:function(t){return e(t),t.length>0&&47===t.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var t,n=0;n<arguments.length;++n){var i=arguments[n];e(i),i.length>0&&(void 0===t?t=i:t+="/"+i)}return void 0===t?".":r.normalize(t)},relative:function(t,n){if(e(t),e(n),t===n)return"";if((t=r.resolve(t))===(n=r.resolve(n)))return"";for(var i=1;i<t.length&&47===t.charCodeAt(i);++i);for(var o=t.length,a=o-i,s=1;s<n.length&&47===n.charCodeAt(s);++s);for(var l=n.length-s,c=a<l?a:l,u=-1,h=0;h<=c;++h){if(h===c){if(l>c){if(47===n.charCodeAt(s+h))return n.slice(s+h+1);if(0===h)return n.slice(s+h)}else a>c&&(47===t.charCodeAt(i+h)?u=h:0===h&&(u=0));break}var f=t.charCodeAt(i+h);if(f!==n.charCodeAt(s+h))break;47===f&&(u=h)}var d="";for(h=i+u+1;h<=o;++h)h!==o&&47!==t.charCodeAt(h)||(0===d.length?d+="..":d+="/..");return d.length>0?d+n.slice(s+u):(s+=u,47===n.charCodeAt(s)&&++s,n.slice(s))},_makeLong:function(t){return t},dirname:function(t){if(e(t),0===t.length)return".";for(var n=t.charCodeAt(0),r=47===n,i=-1,o=!0,a=t.length-1;a>=1;--a)if(47===(n=t.charCodeAt(a))){if(!o){i=a;break}}else o=!1;return-1===i?r?"/":".":r&&1===i?"//":t.slice(0,i)},basename:function(t,n){if(void 0!==n&&"string"!=typeof n)throw new TypeError('"ext" argument must be a string');e(t);var r,i=0,o=-1,a=!0;if(void 0!==n&&n.length>0&&n.length<=t.length){if(n.length===t.length&&n===t)return"";var s=n.length-1,l=-1;for(r=t.length-1;r>=0;--r){var c=t.charCodeAt(r);if(47===c){if(!a){i=r+1;break}}else-1===l&&(a=!1,l=r+1),s>=0&&(c===n.charCodeAt(s)?-1==--s&&(o=r):(s=-1,o=l))}return i===o?o=l:-1===o&&(o=t.length),t.slice(i,o)}for(r=t.length-1;r>=0;--r)if(47===t.charCodeAt(r)){if(!a){i=r+1;break}}else-1===o&&(a=!1,o=r+1);return-1===o?"":t.slice(i,o)},extname:function(t){e(t);for(var n=-1,r=0,i=-1,o=!0,a=0,s=t.length-1;s>=0;--s){var l=t.charCodeAt(s);if(47!==l)-1===i&&(o=!1,i=s+1),46===l?-1===n?n=s:1!==a&&(a=1):-1!==n&&(a=-1);else if(!o){r=s+1;break}}return-1===n||-1===i||0===a||1===a&&n===i-1&&n===r+1?"":t.slice(n,i)},format:function(t){if(null===t||"object"!=typeof t)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return function(t,e){var n=e.dir||e.root,r=e.base||(e.name||"")+(e.ext||"");return n?n===e.root?n+r:n+"/"+r:r}(0,t)},parse:function(t){e(t);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===t.length)return n;var r,i=t.charCodeAt(0),o=47===i;o?(n.root="/",r=1):r=0;for(var a=-1,s=0,l=-1,c=!0,u=t.length-1,h=0;u>=r;--u)if(47!==(i=t.charCodeAt(u)))-1===l&&(c=!1,l=u+1),46===i?-1===a?a=u:1!==h&&(h=1):-1!==a&&(h=-1);else if(!c){s=u+1;break}return-1===a||-1===l||0===h||1===h&&a===l-1&&a===s+1?-1!==l&&(n.base=n.name=0===s&&o?t.slice(1,l):t.slice(s,l)):(0===s&&o?(n.name=t.slice(1,a),n.base=t.slice(1,l)):(n.name=t.slice(s,a),n.base=t.slice(s,l)),n.ext=t.slice(a,l)),s>0?n.dir=t.slice(0,s-1):o&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,t.exports=r},8396:(t,e,n)=>{e.pbkdf2=n(3832),e.pbkdf2Sync=n(1352)},3832:(t,e,n)=>{var r,i,o=n(2861).Buffer,a=n(4196),s=n(2455),l=n(1352),c=n(3382),u=n.g.crypto&&n.g.crypto.subtle,h={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},f=[];function d(){return i||(i=n.g.process&&n.g.process.nextTick?n.g.process.nextTick:n.g.queueMicrotask?n.g.queueMicrotask:n.g.setImmediate?n.g.setImmediate:n.g.setTimeout)}function p(t,e,n,r,i){return u.importKey("raw",t,{name:"PBKDF2"},!1,["deriveBits"]).then((function(t){return u.deriveBits({name:"PBKDF2",salt:e,iterations:n,hash:{name:i}},t,r<<3)})).then((function(t){return o.from(t)}))}t.exports=function(t,e,i,m,g,y){"function"==typeof g&&(y=g,g=void 0);var w=h[(g=g||"sha1").toLowerCase()];if(w&&"function"==typeof n.g.Promise){if(a(i,m),t=c(t,s,"Password"),e=c(e,s,"Salt"),"function"!=typeof y)throw new Error("No callback provided to pbkdf2");!function(t,e){t.then((function(t){d()((function(){e(null,t)}))}),(function(t){d()((function(){e(t)}))}))}(function(t){if(n.g.process&&!n.g.process.browser)return Promise.resolve(!1);if(!u||!u.importKey||!u.deriveBits)return Promise.resolve(!1);if(void 0!==f[t])return f[t];var e=p(r=r||o.alloc(8),r,10,128,t).then((function(){return!0})).catch((function(){return!1}));return f[t]=e,e}(w).then((function(n){return n?p(t,e,i,m,w):l(t,e,i,m,g)})),y)}else d()((function(){var n;try{n=l(t,e,i,m,g)}catch(t){return y(t)}y(null,n)}))}},2455:(t,e,n)=>{var r;r=n.g.process&&n.g.process.browser?"utf-8":n.g.process&&n.g.process.version?parseInt({env:{}}.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":"utf-8",t.exports=r},4196:t=>{var e=Math.pow(2,30)-1;t.exports=function(t,n){if("number"!=typeof t)throw new TypeError("Iterations not a number");if(t<0)throw new TypeError("Bad iterations");if("number"!=typeof n)throw new TypeError("Key length not a number");if(n<0||n>e||n!=n)throw new TypeError("Bad key length")}},1352:(t,e,n)=>{var r=n(320),i=n(6011),o=n(2802),a=n(2861).Buffer,s=n(4196),l=n(2455),c=n(3382),u=a.alloc(128),h={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function f(t,e,n){var s=function(t){return"rmd160"===t||"ripemd160"===t?function(t){return(new i).update(t).digest()}:"md5"===t?r:function(e){return o(t).update(e).digest()}}(t),l="sha512"===t||"sha384"===t?128:64;e.length>l?e=s(e):e.length<l&&(e=a.concat([e,u],l));for(var c=a.allocUnsafe(l+h[t]),f=a.allocUnsafe(l+h[t]),d=0;d<l;d++)c[d]=54^e[d],f[d]=92^e[d];var p=a.allocUnsafe(l+n+4);c.copy(p,0,0,l),this.ipad1=p,this.ipad2=c,this.opad=f,this.alg=t,this.blocksize=l,this.hash=s,this.size=h[t]}f.prototype.run=function(t,e){return t.copy(e,this.blocksize),this.hash(e).copy(this.opad,this.blocksize),this.hash(this.opad)},t.exports=function(t,e,n,r,i){s(n,r);var o=new f(i=i||"sha1",t=c(t,l,"Password"),(e=c(e,l,"Salt")).length),u=a.allocUnsafe(r),d=a.allocUnsafe(e.length+4);e.copy(d,0,0,e.length);for(var p=0,m=h[i],g=Math.ceil(r/m),y=1;y<=g;y++){d.writeUInt32BE(y,e.length);for(var w=o.run(d,o.ipad1),b=w,v=1;v<n;v++){b=o.run(b,o.ipad2);for(var E=0;E<m;E++)w[E]^=b[E]}w.copy(u,p),p+=m}return u}},3382:(t,e,n)=>{var r=n(2861).Buffer;t.exports=function(t,e,n){if(r.isBuffer(t))return t;if("string"==typeof t)return r.from(t,e);if(ArrayBuffer.isView(t))return r.from(t.buffer);throw new TypeError(n+" must be a string, a Buffer, a typed array or a DataView")}},7168:(t,e,n)=>{e.publicEncrypt=n(8902),e.privateDecrypt=n(7362),e.privateEncrypt=function(t,n){return e.publicEncrypt(t,n,!0)},e.publicDecrypt=function(t,n){return e.privateDecrypt(t,n,!0)}},8206:(t,e,n)=>{var r=n(7108),i=n(2861).Buffer;function o(t){var e=i.allocUnsafe(4);return e.writeUInt32BE(t,0),e}t.exports=function(t,e){for(var n,a=i.alloc(0),s=0;a.length<e;)n=o(s++),a=i.concat([a,r("sha1").update(t).update(n).digest()]);return a.slice(0,e)}},2509:function(t,e,n){!function(t,e){"use strict";function r(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var a;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:n(1069).Buffer}catch(t){}function s(t,e){var n=t.charCodeAt(e);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function l(t,e,n){var r=s(t,n);return n-1>=e&&(r|=s(t,n-1)<<4),r}function c(t,e,n,r){for(var i=0,o=Math.min(t.length,n),a=e;a<o;a++){var s=t.charCodeAt(a)-48;i*=r,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"==typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,n){if("number"==typeof t)return this._initNumber(t,e,n);if("object"==typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),r(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,n):(this._parseBase(t,e,i),"le"===n&&this._initArray(this.toArray(),e,n)))},o.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(r(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initArray=function(t,e,n){if(r("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===n)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,n){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,o=0,a=0;if("be"===n)for(r=t.length-1;r>=e;r-=2)i=l(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(t.length-e)%2==0?e+1:e;r<t.length;r+=2)i=l(t,e,r)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,u=n;u<s;u+=r)l=c(t,u,u+r,e),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==a){var h=1;for(l=c(t,u,t.length,e),u=0;u<a;u++)h*=e;this.imuln(h),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&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},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var u=["","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"],h=[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],f=[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 d(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,l=a/67108864|0;n.words[0]=s;for(var c=1;c<r;c++){for(var u=l>>>26,h=67108863&l,f=Math.min(c,e.length-1),d=Math.max(0,c-t.length+1);d<=f;d++){var p=c-d|0;u+=(a=(i=0|t.words[p])*(o=0|e.words[d])+h)/67108864|0,h=67108863&a}n.words[c]=0|h,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n.strip()}o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],l=(16777215&(s<<i|o)).toString(16);n=0!=(o=s>>>24-i&16777215)||a!==this.length-1?u[6-l.length]+l+n:l+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.toString(16)+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var c=h[t],d=f[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(d).toString(t);n=(p=p.idivn(d)).isZero()?m+n:u[c-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return r(void 0!==a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,l="le"===e,c=new t(o),u=this.clone();if(l){for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),c[s]=a;for(;s<o;s++)c[s]=0}else{for(s=0;s<o-i;s++)c[s]=0;for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),c[o-s-1]=a}return c},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,n=0;return e>=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var n=this._zeroBits(this.words[e]);if(t+=n,26!==n)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return r(0==(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;n<e.length;n++)this.words[n]=this.words[n]&t.words[n];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return r(0==(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;r<n.length;r++)this.words[r]=e.words[r]^n.words[r];if(this!==e)for(;r<e.length;r++)this.words[r]=e.words[r];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return r(0==(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){r("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"==typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,n,r;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o<r.length;o++)e=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<n.length;o++)e=(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a<r.length;a++)o=(e=(0|n.words[a])-(0|r.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<n.length;a++)o=(e=(0|n.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<n.length&&n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this.length=Math.max(this.length,a),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var p=function(t,e,n){var r,i,o,a=t.words,s=e.words,l=n.words,c=0,u=0|a[0],h=8191&u,f=u>>>13,d=0|a[1],p=8191&d,m=d>>>13,g=0|a[2],y=8191&g,w=g>>>13,b=0|a[3],v=8191&b,E=b>>>13,_=0|a[4],A=8191&_,M=_>>>13,T=0|a[5],x=8191&T,S=T>>>13,k=0|a[6],C=8191&k,D=k>>>13,I=0|a[7],R=8191&I,N=I>>>13,O=0|a[8],L=8191&O,P=O>>>13,F=0|a[9],B=8191&F,U=F>>>13,j=0|s[0],H=8191&j,z=j>>>13,q=0|s[1],W=8191&q,G=q>>>13,K=0|s[2],Y=8191&K,V=K>>>13,X=0|s[3],Z=8191&X,$=X>>>13,Q=0|s[4],J=8191&Q,tt=Q>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],lt=8191&st,ct=st>>>13,ut=0|s[8],ht=8191&ut,ft=ut>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;n.negative=t.negative^e.negative,n.length=19;var gt=(c+(r=Math.imul(h,H))|0)+((8191&(i=(i=Math.imul(h,z))+Math.imul(f,H)|0))<<13)|0;c=((o=Math.imul(f,z))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,r=Math.imul(p,H),i=(i=Math.imul(p,z))+Math.imul(m,H)|0,o=Math.imul(m,z);var yt=(c+(r=r+Math.imul(h,W)|0)|0)+((8191&(i=(i=i+Math.imul(h,G)|0)+Math.imul(f,W)|0))<<13)|0;c=((o=o+Math.imul(f,G)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(y,H),i=(i=Math.imul(y,z))+Math.imul(w,H)|0,o=Math.imul(w,z),r=r+Math.imul(p,W)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(m,W)|0,o=o+Math.imul(m,G)|0;var wt=(c+(r=r+Math.imul(h,Y)|0)|0)+((8191&(i=(i=i+Math.imul(h,V)|0)+Math.imul(f,Y)|0))<<13)|0;c=((o=o+Math.imul(f,V)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(v,H),i=(i=Math.imul(v,z))+Math.imul(E,H)|0,o=Math.imul(E,z),r=r+Math.imul(y,W)|0,i=(i=i+Math.imul(y,G)|0)+Math.imul(w,W)|0,o=o+Math.imul(w,G)|0,r=r+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,V)|0;var bt=(c+(r=r+Math.imul(h,Z)|0)|0)+((8191&(i=(i=i+Math.imul(h,$)|0)+Math.imul(f,Z)|0))<<13)|0;c=((o=o+Math.imul(f,$)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(A,H),i=(i=Math.imul(A,z))+Math.imul(M,H)|0,o=Math.imul(M,z),r=r+Math.imul(v,W)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(E,W)|0,o=o+Math.imul(E,G)|0,r=r+Math.imul(y,Y)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(w,Y)|0,o=o+Math.imul(w,V)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,$)|0)+Math.imul(m,Z)|0,o=o+Math.imul(m,$)|0;var vt=(c+(r=r+Math.imul(h,J)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(f,J)|0))<<13)|0;c=((o=o+Math.imul(f,tt)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(x,H),i=(i=Math.imul(x,z))+Math.imul(S,H)|0,o=Math.imul(S,z),r=r+Math.imul(A,W)|0,i=(i=i+Math.imul(A,G)|0)+Math.imul(M,W)|0,o=o+Math.imul(M,G)|0,r=r+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(E,Y)|0,o=o+Math.imul(E,V)|0,r=r+Math.imul(y,Z)|0,i=(i=i+Math.imul(y,$)|0)+Math.imul(w,Z)|0,o=o+Math.imul(w,$)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,J)|0,o=o+Math.imul(m,tt)|0;var Et=(c+(r=r+Math.imul(h,nt)|0)|0)+((8191&(i=(i=i+Math.imul(h,rt)|0)+Math.imul(f,nt)|0))<<13)|0;c=((o=o+Math.imul(f,rt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(C,H),i=(i=Math.imul(C,z))+Math.imul(D,H)|0,o=Math.imul(D,z),r=r+Math.imul(x,W)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(S,W)|0,o=o+Math.imul(S,G)|0,r=r+Math.imul(A,Y)|0,i=(i=i+Math.imul(A,V)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(v,Z)|0,i=(i=i+Math.imul(v,$)|0)+Math.imul(E,Z)|0,o=o+Math.imul(E,$)|0,r=r+Math.imul(y,J)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(m,nt)|0,o=o+Math.imul(m,rt)|0;var _t=(c+(r=r+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(f,ot)|0))<<13)|0;c=((o=o+Math.imul(f,at)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(R,H),i=(i=Math.imul(R,z))+Math.imul(N,H)|0,o=Math.imul(N,z),r=r+Math.imul(C,W)|0,i=(i=i+Math.imul(C,G)|0)+Math.imul(D,W)|0,o=o+Math.imul(D,G)|0,r=r+Math.imul(x,Y)|0,i=(i=i+Math.imul(x,V)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,V)|0,r=r+Math.imul(A,Z)|0,i=(i=i+Math.imul(A,$)|0)+Math.imul(M,Z)|0,o=o+Math.imul(M,$)|0,r=r+Math.imul(v,J)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(E,J)|0,o=o+Math.imul(E,tt)|0,r=r+Math.imul(y,nt)|0,i=(i=i+Math.imul(y,rt)|0)+Math.imul(w,nt)|0,o=o+Math.imul(w,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var At=(c+(r=r+Math.imul(h,lt)|0)|0)+((8191&(i=(i=i+Math.imul(h,ct)|0)+Math.imul(f,lt)|0))<<13)|0;c=((o=o+Math.imul(f,ct)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(L,H),i=(i=Math.imul(L,z))+Math.imul(P,H)|0,o=Math.imul(P,z),r=r+Math.imul(R,W)|0,i=(i=i+Math.imul(R,G)|0)+Math.imul(N,W)|0,o=o+Math.imul(N,G)|0,r=r+Math.imul(C,Y)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(x,Z)|0,i=(i=i+Math.imul(x,$)|0)+Math.imul(S,Z)|0,o=o+Math.imul(S,$)|0,r=r+Math.imul(A,J)|0,i=(i=i+Math.imul(A,tt)|0)+Math.imul(M,J)|0,o=o+Math.imul(M,tt)|0,r=r+Math.imul(v,nt)|0,i=(i=i+Math.imul(v,rt)|0)+Math.imul(E,nt)|0,o=o+Math.imul(E,rt)|0,r=r+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,r=r+Math.imul(p,lt)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(m,lt)|0,o=o+Math.imul(m,ct)|0;var Mt=(c+(r=r+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,ft)|0)+Math.imul(f,ht)|0))<<13)|0;c=((o=o+Math.imul(f,ft)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(B,H),i=(i=Math.imul(B,z))+Math.imul(U,H)|0,o=Math.imul(U,z),r=r+Math.imul(L,W)|0,i=(i=i+Math.imul(L,G)|0)+Math.imul(P,W)|0,o=o+Math.imul(P,G)|0,r=r+Math.imul(R,Y)|0,i=(i=i+Math.imul(R,V)|0)+Math.imul(N,Y)|0,o=o+Math.imul(N,V)|0,r=r+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,$)|0)+Math.imul(D,Z)|0,o=o+Math.imul(D,$)|0,r=r+Math.imul(x,J)|0,i=(i=i+Math.imul(x,tt)|0)+Math.imul(S,J)|0,o=o+Math.imul(S,tt)|0,r=r+Math.imul(A,nt)|0,i=(i=i+Math.imul(A,rt)|0)+Math.imul(M,nt)|0,o=o+Math.imul(M,rt)|0,r=r+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(E,ot)|0,o=o+Math.imul(E,at)|0,r=r+Math.imul(y,lt)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(w,lt)|0,o=o+Math.imul(w,ct)|0,r=r+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,ft)|0)+Math.imul(m,ht)|0,o=o+Math.imul(m,ft)|0;var Tt=(c+(r=r+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,mt)|0)+Math.imul(f,pt)|0))<<13)|0;c=((o=o+Math.imul(f,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(B,W),i=(i=Math.imul(B,G))+Math.imul(U,W)|0,o=Math.imul(U,G),r=r+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(P,Y)|0,o=o+Math.imul(P,V)|0,r=r+Math.imul(R,Z)|0,i=(i=i+Math.imul(R,$)|0)+Math.imul(N,Z)|0,o=o+Math.imul(N,$)|0,r=r+Math.imul(C,J)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(D,J)|0,o=o+Math.imul(D,tt)|0,r=r+Math.imul(x,nt)|0,i=(i=i+Math.imul(x,rt)|0)+Math.imul(S,nt)|0,o=o+Math.imul(S,rt)|0,r=r+Math.imul(A,ot)|0,i=(i=i+Math.imul(A,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,r=r+Math.imul(v,lt)|0,i=(i=i+Math.imul(v,ct)|0)+Math.imul(E,lt)|0,o=o+Math.imul(E,ct)|0,r=r+Math.imul(y,ht)|0,i=(i=i+Math.imul(y,ft)|0)+Math.imul(w,ht)|0,o=o+Math.imul(w,ft)|0;var xt=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(B,Y),i=(i=Math.imul(B,V))+Math.imul(U,Y)|0,o=Math.imul(U,V),r=r+Math.imul(L,Z)|0,i=(i=i+Math.imul(L,$)|0)+Math.imul(P,Z)|0,o=o+Math.imul(P,$)|0,r=r+Math.imul(R,J)|0,i=(i=i+Math.imul(R,tt)|0)+Math.imul(N,J)|0,o=o+Math.imul(N,tt)|0,r=r+Math.imul(C,nt)|0,i=(i=i+Math.imul(C,rt)|0)+Math.imul(D,nt)|0,o=o+Math.imul(D,rt)|0,r=r+Math.imul(x,ot)|0,i=(i=i+Math.imul(x,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,r=r+Math.imul(A,lt)|0,i=(i=i+Math.imul(A,ct)|0)+Math.imul(M,lt)|0,o=o+Math.imul(M,ct)|0,r=r+Math.imul(v,ht)|0,i=(i=i+Math.imul(v,ft)|0)+Math.imul(E,ht)|0,o=o+Math.imul(E,ft)|0;var St=(c+(r=r+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,mt)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,mt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(B,Z),i=(i=Math.imul(B,$))+Math.imul(U,Z)|0,o=Math.imul(U,$),r=r+Math.imul(L,J)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(P,J)|0,o=o+Math.imul(P,tt)|0,r=r+Math.imul(R,nt)|0,i=(i=i+Math.imul(R,rt)|0)+Math.imul(N,nt)|0,o=o+Math.imul(N,rt)|0,r=r+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,r=r+Math.imul(x,lt)|0,i=(i=i+Math.imul(x,ct)|0)+Math.imul(S,lt)|0,o=o+Math.imul(S,ct)|0,r=r+Math.imul(A,ht)|0,i=(i=i+Math.imul(A,ft)|0)+Math.imul(M,ht)|0,o=o+Math.imul(M,ft)|0;var kt=(c+(r=r+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(E,pt)|0))<<13)|0;c=((o=o+Math.imul(E,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(B,J),i=(i=Math.imul(B,tt))+Math.imul(U,J)|0,o=Math.imul(U,tt),r=r+Math.imul(L,nt)|0,i=(i=i+Math.imul(L,rt)|0)+Math.imul(P,nt)|0,o=o+Math.imul(P,rt)|0,r=r+Math.imul(R,ot)|0,i=(i=i+Math.imul(R,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,r=r+Math.imul(C,lt)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(D,lt)|0,o=o+Math.imul(D,ct)|0,r=r+Math.imul(x,ht)|0,i=(i=i+Math.imul(x,ft)|0)+Math.imul(S,ht)|0,o=o+Math.imul(S,ft)|0;var Ct=(c+(r=r+Math.imul(A,pt)|0)|0)+((8191&(i=(i=i+Math.imul(A,mt)|0)+Math.imul(M,pt)|0))<<13)|0;c=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(B,nt),i=(i=Math.imul(B,rt))+Math.imul(U,nt)|0,o=Math.imul(U,rt),r=r+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(P,ot)|0,o=o+Math.imul(P,at)|0,r=r+Math.imul(R,lt)|0,i=(i=i+Math.imul(R,ct)|0)+Math.imul(N,lt)|0,o=o+Math.imul(N,ct)|0,r=r+Math.imul(C,ht)|0,i=(i=i+Math.imul(C,ft)|0)+Math.imul(D,ht)|0,o=o+Math.imul(D,ft)|0;var Dt=(c+(r=r+Math.imul(x,pt)|0)|0)+((8191&(i=(i=i+Math.imul(x,mt)|0)+Math.imul(S,pt)|0))<<13)|0;c=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,r=Math.imul(B,ot),i=(i=Math.imul(B,at))+Math.imul(U,ot)|0,o=Math.imul(U,at),r=r+Math.imul(L,lt)|0,i=(i=i+Math.imul(L,ct)|0)+Math.imul(P,lt)|0,o=o+Math.imul(P,ct)|0,r=r+Math.imul(R,ht)|0,i=(i=i+Math.imul(R,ft)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,ft)|0;var It=(c+(r=r+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,mt)|0)+Math.imul(D,pt)|0))<<13)|0;c=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(B,lt),i=(i=Math.imul(B,ct))+Math.imul(U,lt)|0,o=Math.imul(U,ct),r=r+Math.imul(L,ht)|0,i=(i=i+Math.imul(L,ft)|0)+Math.imul(P,ht)|0,o=o+Math.imul(P,ft)|0;var Rt=(c+(r=r+Math.imul(R,pt)|0)|0)+((8191&(i=(i=i+Math.imul(R,mt)|0)+Math.imul(N,pt)|0))<<13)|0;c=((o=o+Math.imul(N,mt)|0)+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,r=Math.imul(B,ht),i=(i=Math.imul(B,ft))+Math.imul(U,ht)|0,o=Math.imul(U,ft);var Nt=(c+(r=r+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(P,pt)|0))<<13)|0;c=((o=o+Math.imul(P,mt)|0)+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863;var Ot=(c+(r=Math.imul(B,pt))|0)+((8191&(i=(i=Math.imul(B,mt))+Math.imul(U,pt)|0))<<13)|0;return c=((o=Math.imul(U,mt))+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,l[0]=gt,l[1]=yt,l[2]=wt,l[3]=bt,l[4]=vt,l[5]=Et,l[6]=_t,l[7]=At,l[8]=Mt,l[9]=Tt,l[10]=xt,l[11]=St,l[12]=kt,l[13]=Ct,l[14]=Dt,l[15]=It,l[16]=Rt,l[17]=Nt,l[18]=Ot,0!==c&&(l[19]=c,n.length++),n};function m(t,e,n){return(new g).mulp(t,e,n)}function g(t,e){this.x=t,this.y=e}Math.imul||(p=d),o.prototype.mulTo=function(t,e){var n,r=this.length+t.length;return n=10===this.length&&10===t.length?p(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var a=i;i=0;for(var s=67108863&r,l=Math.min(o,e.length-1),c=Math.max(0,o-t.length+1);c<=l;c++){var u=o-c,h=(0|t.words[u])*(0|e.words[c]),f=67108863&h;s=67108863&(f=f+s|0),i+=(a=(a=a+(h/67108864|0)|0)+(f>>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,t,e):m(this,t,e),n},g.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r<t;r++)e[r]=this.revBin(r,n,t);return e},g.prototype.revBin=function(t,e,n){if(0===t||t===n-1)return t;for(var r=0,i=0;i<e;i++)r|=(1&t)<<e-i-1,t>>=1;return r},g.prototype.permute=function(t,e,n,r,i,o){for(var a=0;a<o;a++)r[a]=e[t[a]],i[a]=n[t[a]]},g.prototype.transform=function(t,e,n,r,i,o){this.permute(o,t,e,n,r,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,l=Math.cos(2*Math.PI/s),c=Math.sin(2*Math.PI/s),u=0;u<i;u+=s)for(var h=l,f=c,d=0;d<a;d++){var p=n[u+d],m=r[u+d],g=n[u+d+a],y=r[u+d+a],w=h*g-f*y;y=h*y+f*g,g=w,n[u+d]=p+g,r[u+d]=m+y,n[u+d+a]=p-g,r[u+d+a]=m-y,d!==s&&(w=l*h-c*f,f=l*f+c*h,h=w)}},g.prototype.guessLen13b=function(t,e){var n=1|Math.max(e,t),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},g.prototype.conjugate=function(t,e,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=t[r];t[r]=t[n-r-1],t[n-r-1]=i,i=e[r],e[r]=-e[n-r-1],e[n-r-1]=-i}},g.prototype.normalize13b=function(t,e){for(var n=0,r=0;r<e/2;r++){var i=8192*Math.round(t[2*r+1]/e)+Math.round(t[2*r]/e)+n;t[r]=67108863&i,n=i<67108864?0:i/67108864|0}return t},g.prototype.convert13b=function(t,e,n,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],n[2*a]=8191&o,o>>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)n[a]=0;r(0===o),r(0==(-8192&o))},g.prototype.stub=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=0;return e},g.prototype.mulp=function(t,e,n){var r=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(r),o=this.stub(r),a=new Array(r),s=new Array(r),l=new Array(r),c=new Array(r),u=new Array(r),h=new Array(r),f=n.words;f.length=r,this.convert13b(t.words,t.length,a,r),this.convert13b(e.words,e.length,c,r),this.transform(a,o,s,l,r,i),this.transform(c,o,u,h,r,i);for(var d=0;d<r;d++){var p=s[d]*u[d]-l[d]*h[d];l[d]=s[d]*h[d]+l[d]*u[d],s[d]=p}return this.conjugate(s,l,r),this.transform(s,l,f,o,r,i),this.conjugate(f,o,r),this.normalize13b(f,r),n.negative=t.negative^e.negative,n.length=t.length+e.length,n.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),m(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){r("number"==typeof t),r(t<67108864);for(var e=0,n=0;n<this.length;n++){var i=(0|this.words[n])*t,o=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=o>>>26,this.words[n]=67108863&o}return 0!==e&&(this.words[n]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n<e.length;n++){var r=n/26|0,i=n%26;e[n]=(t.words[r]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r<e.length&&0===e[r];r++,n=n.sqr());if(++r<e.length)for(var i=n.sqr();r<e.length;r++,i=i.sqr())0!==e[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(t){r("number"==typeof t&&t>=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,l=(0|this.words[e])-s<<n;this.words[e]=l|a,a=s>>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return r(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,n){var i;r("number"==typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,l=n;if(i-=a,i=Math.max(0,i),l){for(var c=0;c<a;c++)l.words[c]=this.words[c];l.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var u=0;for(c=this.length-1;c>=0&&(0!==u||c>=i);c--){var h=0|this.words[c];this.words[c]=u<<26-o|h>>>o,u=h&s}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<<e;return!(this.length<=n||!(this.words[n]&i))},o.prototype.imaskn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==e&&n++,this.length=Math.min(n,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return r("number"==typeof t),r(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(r("number"==typeof t),r(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,n){var i,o,a=t.length+n;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+n])+s;var l=(0|t.words[i])*e;s=((o-=67108863&l)>>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)s=(o=(0|this.words[i+n])+s)>>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1];0!=(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,l=r.length-i.length;if("mod"!==e){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var c=0;c<s.length;c++)s.words[c]=0}var u=r.clone()._ishlnsubmul(i,1,l);0===u.negative&&(r=u,s&&(s.words[l]=1));for(var h=l-1;h>=0;h--){var f=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);for(f=Math.min(f/a|0,67108863),r._ishlnsubmul(i,f,h);0!==r.negative;)f--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);s&&(s.words[h]=f)}return s&&s.strip(),r.strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){r(t<=67108863);for(var e=(1<<26)%t,n=0,i=this.length-1;i>=0;i--)n=(e*n+(0|this.words[i]))%t;return n},o.prototype.idivn=function(t){r(t<=67108863);for(var e=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*e;this.words[n]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var u=n.clone(),h=e.clone();!e.isZero();){for(var f=0,d=1;0==(e.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(e.iushrn(f);f-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(u),a.isub(h)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(u),l.isub(h)),s.iushrn(1),l.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(s),a.isub(l)):(n.isub(e),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:n.iushln(c)}},o.prototype._invmp=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),l=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,u=1;0==(e.words[0]&u)&&c<26;++c,u<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var h=0,f=1;0==(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(n.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(s)):(n.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"==typeof t);var e=t%26,n=(t-e)/26,i=1<<e;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,a=n;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)e=1;else{n&&(t=-t),r(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){r<i?e=-1:r>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new A(t)},o.prototype.toRed=function(t){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var y={k256:null,p224:null,p192:null,p25519:null};function w(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(t){if("string"==typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else r(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function M(t){A.call(this,t),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)}w.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},w.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},w.prototype.split=function(t,e){t.iushrn(this.n,0,e)},w.prototype.imulK=function(t){return t.imul(this.k)},i(b,w),b.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i<r;i++)e.words[i]=t.words[i];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&n,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(a&n)<<4|o>>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},b.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n<t.length;n++){var r=0|t.words[n];e+=977*r,t.words[n]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(v,w),i(E,w),i(_,w),_.prototype.imulK=function(t){for(var e=0,n=0;n<t.length;n++){var r=19*(0|t.words[n])+e,i=67108863&r;r>>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(y[t])return y[t];var e;if("k256"===t)e=new b;else if("p224"===t)e=new v;else if("p192"===t)e=new E;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new _}return y[t]=e,e},A.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},A.prototype._verify2=function(t,e){r(0==(t.negative|e.negative),"red works only with positives"),r(t.red&&t.red===e.red,"red works only with red numbers")},A.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},A.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},A.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},A.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},A.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},A.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},A.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},A.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},A.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},A.prototype.isqr=function(t){return this.imul(t,t.clone())},A.prototype.sqr=function(t){return this.mul(t,t)},A.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(r(e%2==1),3===e){var n=this.m.add(new o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,c).cmp(l);)u.redIAdd(l);for(var h=this.pow(u,i),f=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var m=d,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g<p);var y=this.pow(h,new o(1).iushln(p-g-1));f=f.redMul(y),h=y.redSqr(),d=d.redMul(h),p=g}return f},A.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},A.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=t;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],t);var i=n[0],a=0,s=0,l=e.bitLength()%26;for(0===l&&(l=26),r=e.length-1;r>=0;r--){for(var c=e.words[r],u=l-1;u>=0;u--){var h=c>>u&1;i!==n[0]&&(i=this.sqr(i)),0!==h||0!==a?(a<<=1,a|=h,(4==++s||0===r&&0===u)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}l=26}return i},A.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},A.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new M(t)},i(M,A),M.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},M.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},M.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},M.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},M.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t=n.nmd(t),this)},7362:(t,e,n)=>{var r=n(8170),i=n(8206),o=n(2061),a=n(2509),s=n(7332),l=n(7108),c=n(9247),u=n(2861).Buffer;t.exports=function(t,e,n){var h;h=t.padding?t.padding:n?1:4;var f,d=r(t),p=d.modulus.byteLength();if(e.length>p||new a(e).cmp(d.modulus)>=0)throw new Error("decryption error");f=n?c(new a(e),d):s(e,d);var m=u.alloc(p-f.length);if(f=u.concat([m,f],p),4===h)return function(t,e){var n=t.modulus.byteLength(),r=l("sha1").update(u.alloc(0)).digest(),a=r.length;if(0!==e[0])throw new Error("decryption error");var s=e.slice(1,a+1),c=e.slice(a+1),h=o(s,i(c,a)),f=o(c,i(h,n-a-1));if(function(t,e){t=u.from(t),e=u.from(e);var n=0,r=t.length;t.length!==e.length&&(n++,r=Math.min(t.length,e.length));for(var i=-1;++i<r;)n+=t[i]^e[i];return n}(r,f.slice(0,a)))throw new Error("decryption error");for(var d=a;0===f[d];)d++;if(1!==f[d++])throw new Error("decryption error");return f.slice(d)}(d,f);if(1===h)return function(t,e,n){for(var r=e.slice(0,2),i=2,o=0;0!==e[i++];)if(i>=e.length){o++;break}var a=e.slice(2,i-1);if(("0002"!==r.toString("hex")&&!n||"0001"!==r.toString("hex")&&n)&&o++,a.length<8&&o++,o)throw new Error("decryption error");return e.slice(i)}(0,f,n);if(3===h)return f;throw new Error("unknown padding")}},8902:(t,e,n)=>{var r=n(8170),i=n(3209),o=n(7108),a=n(8206),s=n(2061),l=n(2509),c=n(9247),u=n(7332),h=n(2861).Buffer;t.exports=function(t,e,n){var f;f=t.padding?t.padding:n?1:4;var d,p=r(t);if(4===f)d=function(t,e){var n=t.modulus.byteLength(),r=e.length,c=o("sha1").update(h.alloc(0)).digest(),u=c.length,f=2*u;if(r>n-f-2)throw new Error("message too long");var d=h.alloc(n-r-f-2),p=n-u-1,m=i(u),g=s(h.concat([c,d,h.alloc(1,1),e],p),a(m,p)),y=s(m,a(g,u));return new l(h.concat([h.alloc(1),y,g],n))}(p,e);else if(1===f)d=function(t,e,n){var r,o=e.length,a=t.modulus.byteLength();if(o>a-11)throw new Error("message too long");return r=n?h.alloc(a-o-3,255):function(t){for(var e,n=h.allocUnsafe(t),r=0,o=i(2*t),a=0;r<t;)a===o.length&&(o=i(2*t),a=0),(e=o[a++])&&(n[r++]=e);return n}(a-o-3),new l(h.concat([h.from([0,n?1:2]),r,h.alloc(1),e],a))}(p,e,n);else{if(3!==f)throw new Error("unknown padding");if((d=new l(e)).cmp(p.modulus)>=0)throw new Error("data too long for modulus")}return n?u(d,p):c(d,p)}},9247:(t,e,n)=>{var r=n(2509),i=n(2861).Buffer;t.exports=function(t,e){return i.from(t.toRed(r.mont(e.modulus)).redPow(new r(e.publicExponent)).fromRed().toArray())}},2061:t=>{t.exports=function(t,e){for(var n=t.length,r=-1;++r<n;)t[r]^=e[r];return t}},4765:t=>{"use strict";var e=String.prototype.replace,n=/%20/g,r="RFC3986";t.exports={default:r,formatters:{RFC1738:function(t){return e.call(t,n,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:r}},5373:(t,e,n)=>{"use strict";var r=n(8636),i=n(2642),o=n(4765);t.exports={formats:o,parse:i,stringify:r}},2642:(t,e,n)=>{"use strict";var r=n(7720),i=Object.prototype.hasOwnProperty,o=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},l=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},c=function(t,e,n,r){if(t){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(o),c=s?o.slice(0,s.index):o,u=[];if(c){if(!n.plainObjects&&i.call(Object.prototype,c)&&!n.allowPrototypes)return;u.push(c)}for(var h=0;n.depth>0&&null!==(s=a.exec(o))&&h<n.depth;){if(h+=1,!n.plainObjects&&i.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(s[1])}return s&&u.push("["+o.slice(s.index)+"]"),function(t,e,n,r){for(var i=r?e:l(e,n),o=t.length-1;o>=0;--o){var a,s=t[o];if("[]"===s&&n.parseArrays)a=[].concat(i);else{a=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(c,10);n.parseArrays||""!==c?!isNaN(u)&&s!==c&&String(u)===c&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(a=[])[u]=i:"__proto__"!==c&&(a[c]=i):a={0:i}}i=a}return i}(u,e,n,r)}};t.exports=function(t,e){var n=function(t){if(!t)return a;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?a.charset:t.charset;return{allowDots:void 0===t.allowDots?a.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:a.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:a.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:a.comma,decoder:"function"==typeof t.decoder?t.decoder:a.decoder,delimiter:"string"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:a.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:a.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:a.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:a.strictNullHandling}}(e);if(""===t||null==t)return n.plainObjects?Object.create(null):{};for(var u="string"==typeof t?function(t,e){var n,c={__proto__:null},u=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,h=e.parameterLimit===1/0?void 0:e.parameterLimit,f=u.split(e.delimiter,h),d=-1,p=e.charset;if(e.charsetSentinel)for(n=0;n<f.length;++n)0===f[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[n]?p="utf-8":"utf8=%26%2310003%3B"===f[n]&&(p="iso-8859-1"),d=n,n=f.length);for(n=0;n<f.length;++n)if(n!==d){var m,g,y=f[n],w=y.indexOf("]="),b=-1===w?y.indexOf("="):w+1;-1===b?(m=e.decoder(y,a.decoder,p,"key"),g=e.strictNullHandling?null:""):(m=e.decoder(y.slice(0,b),a.decoder,p,"key"),g=r.maybeMap(l(y.slice(b+1),e),(function(t){return e.decoder(t,a.decoder,p,"value")}))),g&&e.interpretNumericEntities&&"iso-8859-1"===p&&(g=s(g)),y.indexOf("[]=")>-1&&(g=o(g)?[g]:g),i.call(c,m)?c[m]=r.combine(c[m],g):c[m]=g}return c}(t,n):t,h=n.plainObjects?Object.create(null):{},f=Object.keys(u),d=0;d<f.length;++d){var p=f[d],m=c(p,u[p],n,"string"==typeof t);h=r.merge(h,m,n)}return!0===n.allowSparse?h:r.compact(h)}},8636:(t,e,n)=>{"use strict";var r=n(920),i=n(7720),o=n(4765),a=Object.prototype.hasOwnProperty,s={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},l=Array.isArray,c=Array.prototype.push,u=function(t,e){c.apply(t,l(e)?e:[e])},h=Date.prototype.toISOString,f=o.default,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:i.encode,encodeValuesOnly:!1,format:f,formatter:o.formatters[f],indices:!1,serializeDate:function(t){return h.call(t)},skipNulls:!1,strictNullHandling:!1},p={},m=function t(e,n,o,a,s,c,h,f,m,g,y,w,b,v,E,_){for(var A,M=e,T=_,x=0,S=!1;void 0!==(T=T.get(p))&&!S;){var k=T.get(e);if(x+=1,void 0!==k){if(k===x)throw new RangeError("Cyclic object value");S=!0}void 0===T.get(p)&&(x=0)}if("function"==typeof f?M=f(n,M):M instanceof Date?M=y(M):"comma"===o&&l(M)&&(M=i.maybeMap(M,(function(t){return t instanceof Date?y(t):t}))),null===M){if(s)return h&&!v?h(n,d.encoder,E,"key",w):n;M=""}if("string"==typeof(A=M)||"number"==typeof A||"boolean"==typeof A||"symbol"==typeof A||"bigint"==typeof A||i.isBuffer(M))return h?[b(v?n:h(n,d.encoder,E,"key",w))+"="+b(h(M,d.encoder,E,"value",w))]:[b(n)+"="+b(String(M))];var C,D=[];if(void 0===M)return D;if("comma"===o&&l(M))v&&h&&(M=i.maybeMap(M,h)),C=[{value:M.length>0?M.join(",")||null:void 0}];else if(l(f))C=f;else{var I=Object.keys(M);C=m?I.sort(m):I}for(var R=a&&l(M)&&1===M.length?n+"[]":n,N=0;N<C.length;++N){var O=C[N],L="object"==typeof O&&void 0!==O.value?O.value:M[O];if(!c||null!==L){var P=l(M)?"function"==typeof o?o(R,O):R:R+(g?"."+O:"["+O+"]");_.set(e,x);var F=r();F.set(p,_),u(D,t(L,P,o,a,s,c,"comma"===o&&v&&l(M)?null:h,f,m,g,y,w,b,v,E,F))}}return D};t.exports=function(t,e){var n,i=t,c=function(t){if(!t)return d;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||d.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==t.format){if(!a.call(o.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var r=o.formatters[n],i=d.filter;return("function"==typeof t.filter||l(t.filter))&&(i=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:d.addQueryPrefix,allowDots:void 0===t.allowDots?d.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:d.charsetSentinel,delimiter:void 0===t.delimiter?d.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:d.encode,encoder:"function"==typeof t.encoder?t.encoder:d.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:d.encodeValuesOnly,filter:i,format:n,formatter:r,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:d.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:d.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:d.strictNullHandling}}(e);"function"==typeof c.filter?i=(0,c.filter)("",i):l(c.filter)&&(n=c.filter);var h,f=[];if("object"!=typeof i||null===i)return"";h=e&&e.arrayFormat in s?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var p=s[h];if(e&&"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var g="comma"===p&&e&&e.commaRoundTrip;n||(n=Object.keys(i)),c.sort&&n.sort(c.sort);for(var y=r(),w=0;w<n.length;++w){var b=n[w];c.skipNulls&&null===i[b]||u(f,m(i[b],b,p,g,c.strictNullHandling,c.skipNulls,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.format,c.formatter,c.encodeValuesOnly,c.charset,y))}var v=f.join(c.delimiter),E=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?E+="utf8=%26%2310003%3B&":E+="utf8=%E2%9C%93&"),v.length>0?E+v:""}},7720:(t,e,n)=>{"use strict";var r=n(4765),i=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),s=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},r=0;r<t.length;++r)void 0!==t[r]&&(n[r]=t[r]);return n};t.exports={arrayToObject:s,assign:function(t,e){return Object.keys(e).reduce((function(t,n){return t[n]=e[n],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],r=0;r<e.length;++r)for(var i=e[r],a=i.obj[i.prop],s=Object.keys(a),l=0;l<s.length;++l){var c=s[l],u=a[c];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(e.push({obj:a,prop:c}),n.push(u))}return function(t){for(;t.length>1;){var e=t.pop(),n=e.obj[e.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&r.push(n[i]);e.obj[e.prop]=r}}}(e),t},decode:function(t,e,n){var r=t.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(t){return r}},encode:function(t,e,n,i,o){if(0===t.length)return t;var s=t;if("symbol"==typeof t?s=Symbol.prototype.toString.call(t):"string"!=typeof t&&(s=String(t)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var l="",c=0;c<s.length;++c){var u=s.charCodeAt(c);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||o===r.RFC1738&&(40===u||41===u)?l+=s.charAt(c):u<128?l+=a[u]:u<2048?l+=a[192|u>>6]+a[128|63&u]:u<55296||u>=57344?l+=a[224|u>>12]+a[128|u>>6&63]+a[128|63&u]:(c+=1,u=65536+((1023&u)<<10|1023&s.charCodeAt(c)),l+=a[240|u>>18]+a[128|u>>12&63]+a[128|u>>6&63]+a[128|63&u])}return l},isBuffer:function(t){return!(!t||"object"!=typeof t||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(o(t)){for(var n=[],r=0;r<t.length;r+=1)n.push(e(t[r]));return n}return e(t)},merge:function t(e,n,r){if(!n)return e;if("object"!=typeof n){if(o(e))e.push(n);else{if(!e||"object"!=typeof e)return[e,n];(r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(e[n]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(n);var a=e;return o(e)&&!o(n)&&(a=s(e,r)),o(e)&&o(n)?(n.forEach((function(n,o){if(i.call(e,o)){var a=e[o];a&&"object"==typeof a&&n&&"object"==typeof n?e[o]=t(a,n,r):e.push(n)}else e[o]=n})),e):Object.keys(n).reduce((function(e,o){var a=n[o];return i.call(e,o)?e[o]=t(e[o],a,r):e[o]=a,e}),a)}}},9792:(t,e,n)=>{var r=n(6698),i=n(7007).EventEmitter;function o(t){if(!(this instanceof o))return new o(t);i.call(this),t=t||{},this.concurrency=t.concurrency||1/0,this.timeout=t.timeout||0,this.autostart=t.autostart||!1,this.results=t.results||null,this.pending=0,this.session=0,this.running=!1,this.jobs=[],this.timers={}}function a(){for(var t in this.timers){var e=this.timers[t];delete this.timers[t],clearTimeout(e)}}function s(t){var e=this;function n(t){e.end(t)}this.on("error",n),this.on("end",(function r(i){e.removeListener("error",n),e.removeListener("end",r),t(i,this.results)}))}function l(t){this.session++,this.running=!1,this.emit("end",t)}t.exports=o,t.exports.default=o,r(o,i),["pop","shift","indexOf","lastIndexOf"].forEach((function(t){o.prototype[t]=function(){return Array.prototype[t].apply(this.jobs,arguments)}})),o.prototype.slice=function(t,e){return this.jobs=this.jobs.slice(t,e),this},o.prototype.reverse=function(){return this.jobs.reverse(),this},["push","unshift","splice"].forEach((function(t){o.prototype[t]=function(){var e=Array.prototype[t].apply(this.jobs,arguments);return this.autostart&&this.start(),e}})),Object.defineProperty(o.prototype,"length",{get:function(){return this.pending+this.jobs.length}}),o.prototype.start=function(t){if(t&&s.call(this,t),this.running=!0,!(this.pending>=this.concurrency))if(0!==this.jobs.length){var e=this,n=this.jobs.shift(),r=!0,i=this.session,o=null,a=!1,c=null,u=n.hasOwnProperty("timeout")?n.timeout:this.timeout;u&&(o=setTimeout((function(){a=!0,e.listeners("timeout").length>0?e.emit("timeout",f,n):f()}),u),this.timers[o]=o),this.results&&(c=this.results.length,this.results[c]=null),this.pending++,e.emit("start",n);var h=n(f);h&&h.then&&"function"==typeof h.then&&h.then((function(t){return f(null,t)})).catch((function(t){return f(t||!0)})),this.running&&this.jobs.length>0&&this.start()}else 0===this.pending&&l.call(this);function f(t,s){r&&e.session===i&&(r=!1,e.pending--,null!==o&&(delete e.timers[o],clearTimeout(o)),t?e.emit("error",t,n):!1===a&&(null!==c&&(e.results[c]=Array.prototype.slice.call(arguments,1)),e.emit("success",s,n)),e.session===i&&(0===e.pending&&0===e.jobs.length?l.call(e):e.running&&e.start()))}},o.prototype.stop=function(){this.running=!1},o.prototype.end=function(t){a.call(this),this.jobs.length=0,this.pending=0,l.call(this,t)}},3209:(t,e,n)=>{"use strict";var r=65536,i=n(2861).Buffer,o=n.g.crypto||n.g.msCrypto;o&&o.getRandomValues?t.exports=function(t,e){if(t>4294967295)throw new RangeError("requested too many random bytes");var n=i.allocUnsafe(t);if(t>0)if(t>r)for(var a=0;a<t;a+=r)o.getRandomValues(n.slice(a,a+r));else o.getRandomValues(n);return"function"==typeof e?{env:{}}.nextTick((function(){e(null,n)})):n}:t.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},6983:(t,e,n)=>{"use strict";function r(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var i=n(2861),o=n(3209),a=i.Buffer,s=i.kMaxLength,l=n.g.crypto||n.g.msCrypto,c=Math.pow(2,32)-1;function u(t,e){if("number"!=typeof t||t!=t)throw new TypeError("offset must be a number");if(t>c||t<0)throw new TypeError("offset must be a uint32");if(t>s||t>e)throw new RangeError("offset out of range")}function h(t,e,n){if("number"!=typeof t||t!=t)throw new TypeError("size must be a number");if(t>c||t<0)throw new TypeError("size must be a uint32");if(t+e>n||t>s)throw new RangeError("buffer too small")}function f(t,e,n,r){if({env:{}}.browser){var i=t.buffer,a=new Uint8Array(i,e,n);return l.getRandomValues(a),r?void{env:{}}.nextTick((function(){r(null,t)})):t}if(!r)return o(n).copy(t,e),t;o(n,(function(n,i){if(n)return r(n);i.copy(t,e),r(null,t)}))}l&&l.getRandomValues||!{env:{}}.browser?(e.randomFill=function(t,e,r,i){if(!(a.isBuffer(t)||t instanceof n.g.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof e)i=e,e=0,r=t.length;else if("function"==typeof r)i=r,r=t.length-e;else if("function"!=typeof i)throw new TypeError('"cb" argument must be a function');return u(e,t.length),h(r,e,t.length),f(t,e,r,i)},e.randomFillSync=function(t,e,r){if(void 0===e&&(e=0),!(a.isBuffer(t)||t instanceof n.g.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return u(e,t.length),void 0===r&&(r=t.length-e),h(r,e,t.length),f(t,e,r)}):(e.randomFill=r,e.randomFillSync=r)},6011:(t,e,n)=>{"use strict";var r=n(8287).Buffer,i=n(6698),o=n(4729),a=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],l=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],c=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],u=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],h=[0,1518500249,1859775393,2400959708,2840853838],f=[1352829926,1548603684,1836072691,2053994217,0];function d(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(t,e){return t<<e|t>>>32-e}function m(t,e,n,r,i,o,a,s){return p(t+(e^n^r)+o+a|0,s)+i|0}function g(t,e,n,r,i,o,a,s){return p(t+(e&n|~e&r)+o+a|0,s)+i|0}function y(t,e,n,r,i,o,a,s){return p(t+((e|~n)^r)+o+a|0,s)+i|0}function w(t,e,n,r,i,o,a,s){return p(t+(e&r|n&~r)+o+a|0,s)+i|0}function b(t,e,n,r,i,o,a,s){return p(t+(e^(n|~r))+o+a|0,s)+i|0}i(d,o),d.prototype._update=function(){for(var t=a,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);for(var n=0|this._a,r=0|this._b,i=0|this._c,o=0|this._d,d=0|this._e,v=0|this._a,E=0|this._b,_=0|this._c,A=0|this._d,M=0|this._e,T=0;T<80;T+=1){var x,S;T<16?(x=m(n,r,i,o,d,t[s[T]],h[0],c[T]),S=b(v,E,_,A,M,t[l[T]],f[0],u[T])):T<32?(x=g(n,r,i,o,d,t[s[T]],h[1],c[T]),S=w(v,E,_,A,M,t[l[T]],f[1],u[T])):T<48?(x=y(n,r,i,o,d,t[s[T]],h[2],c[T]),S=y(v,E,_,A,M,t[l[T]],f[2],u[T])):T<64?(x=w(n,r,i,o,d,t[s[T]],h[3],c[T]),S=g(v,E,_,A,M,t[l[T]],f[3],u[T])):(x=b(n,r,i,o,d,t[s[T]],h[4],c[T]),S=m(v,E,_,A,M,t[l[T]],f[4],u[T])),n=d,d=o,o=p(i,10),i=r,r=x,v=M,M=A,A=p(_,10),_=E,E=S}var k=this._b+i+A|0;this._b=this._c+o+M|0,this._c=this._d+d+v|0,this._d=this._e+n+E|0,this._e=this._a+r+_|0,this._a=k},d.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=r.alloc?r.alloc(20):new r(20);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t.writeInt32LE(this._e,16),t},t.exports=d},2861:(t,e,n)=>{var r=n(8287),i=r.Buffer;function o(t,e){for(var n in t)e[n]=t[n]}function a(t,e,n){return i(t,e,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(o(r,e),e.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(t,e,n){if("number"==typeof t)throw new TypeError("Argument must not be a number");return i(t,e,n)},a.alloc=function(t,e,n){if("number"!=typeof t)throw new TypeError("Argument must be a number");var r=i(t);return void 0!==e?"string"==typeof n?r.fill(e,n):r.fill(e):r.fill(0),r},a.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return i(t)},a.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return r.SlowBuffer(t)}},4774:(t,e,n)=>{"use strict";var r,i=n(8287),o=i.Buffer,a={};for(r in i)i.hasOwnProperty(r)&&"SlowBuffer"!==r&&"Buffer"!==r&&(a[r]=i[r]);var s=a.Buffer={};for(r in o)o.hasOwnProperty(r)&&"allocUnsafe"!==r&&"allocUnsafeSlow"!==r&&(s[r]=o[r]);if(a.Buffer.prototype=o.prototype,s.from&&s.from!==Uint8Array.from||(s.from=function(t,e,n){if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof t);if(t&&void 0===t.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);return o(t,e,n)}),s.alloc||(s.alloc=function(t,e,n){if("number"!=typeof t)throw new TypeError('The "size" argument must be of type number. Received type '+typeof t);if(t<0||t>=2*(1<<30))throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=o(t);return e&&0!==e.length?"string"==typeof n?r.fill(e,n):r.fill(e):r.fill(0),r}),!a.kStringMaxLength)try{a.kStringMaxLength={env:{}}.binding("buffer").kStringMaxLength}catch(t){}a.constants||(a.constants={MAX_LENGTH:a.kMaxLength},a.kStringMaxLength&&(a.constants.MAX_STRING_LENGTH=a.kStringMaxLength)),t.exports=a},392:(t,e,n)=>{var r=n(2861).Buffer;function i(t,e){this._block=r.alloc(t),this._finalSize=e,this._blockSize=t,this._len=0}i.prototype.update=function(t,e){"string"==typeof t&&(e=e||"utf8",t=r.from(t,e));for(var n=this._block,i=this._blockSize,o=t.length,a=this._len,s=0;s<o;){for(var l=a%i,c=Math.min(o-s,i-l),u=0;u<c;u++)n[l+u]=t[s+u];s+=c,(a+=c)%i==0&&this._update(n)}return this._len+=o,this},i.prototype.digest=function(t){var e=this._len%this._blockSize;this._block[e]=128,this._block.fill(0,e+1),e>=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,i=(n-r)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var o=this._hash();return t?o.toString(t):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=i},2802:(t,e,n)=>{var r=t.exports=function(t){t=t.toLowerCase();var e=r[t];if(!e)throw new Error(t+" is not supported (we accept pull requests)");return new e};r.sha=n(7816),r.sha1=n(3737),r.sha224=n(6710),r.sha256=n(4107),r.sha384=n(2827),r.sha512=n(2890)},7816:(t,e,n)=>{var r=n(6698),i=n(392),o=n(2861).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function l(){this.init(),this._w=s,i.call(this,64,56)}function c(t){return t<<30|t>>>2}function u(t,e,n,r){return 0===t?e&n|~e&r:2===t?e&n|e&r|n&r:e^n^r}r(l,i),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(t){for(var e,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,l=0|this._e,h=0;h<16;++h)n[h]=t.readInt32BE(4*h);for(;h<80;++h)n[h]=n[h-3]^n[h-8]^n[h-14]^n[h-16];for(var f=0;f<80;++f){var d=~~(f/20),p=0|((e=r)<<5|e>>>27)+u(d,i,o,s)+l+n[f]+a[d];l=s,s=o,o=c(i),i=r,r=p}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=l+this._e|0},l.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=l},3737:(t,e,n)=>{var r=n(6698),i=n(392),o=n(2861).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function l(){this.init(),this._w=s,i.call(this,64,56)}function c(t){return t<<5|t>>>27}function u(t){return t<<30|t>>>2}function h(t,e,n,r){return 0===t?e&n|~e&r:2===t?e&n|e&r|n&r:e^n^r}r(l,i),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(t){for(var e,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,l=0|this._e,f=0;f<16;++f)n[f]=t.readInt32BE(4*f);for(;f<80;++f)n[f]=(e=n[f-3]^n[f-8]^n[f-14]^n[f-16])<<1|e>>>31;for(var d=0;d<80;++d){var p=~~(d/20),m=c(r)+h(p,i,o,s)+l+n[d]+a[p]|0;l=s,s=o,o=u(i),i=r,r=m}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=l+this._e|0},l.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=l},6710:(t,e,n)=>{var r=n(6698),i=n(4107),o=n(392),a=n(2861).Buffer,s=new Array(64);function l(){this.init(),this._w=s,o.call(this,64,56)}r(l,i),l.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},l.prototype._hash=function(){var t=a.allocUnsafe(28);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t},t.exports=l},4107:(t,e,n)=>{var r=n(6698),i=n(392),o=n(2861).Buffer,a=[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],s=new Array(64);function l(){this.init(),this._w=s,i.call(this,64,56)}function c(t,e,n){return n^t&(e^n)}function u(t,e,n){return t&e|n&(t|e)}function h(t){return(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function f(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function d(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}r(l,i),l.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},l.prototype._update=function(t){for(var e,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,l=0|this._e,p=0|this._f,m=0|this._g,g=0|this._h,y=0;y<16;++y)n[y]=t.readInt32BE(4*y);for(;y<64;++y)n[y]=0|(((e=n[y-2])>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)+n[y-7]+d(n[y-15])+n[y-16];for(var w=0;w<64;++w){var b=g+f(l)+c(l,p,m)+a[w]+n[w]|0,v=h(r)+u(r,i,o)|0;g=m,m=p,p=l,l=s+b|0,s=o,o=i,i=r,r=b+v|0}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=l+this._e|0,this._f=p+this._f|0,this._g=m+this._g|0,this._h=g+this._h|0},l.prototype._hash=function(){var t=o.allocUnsafe(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},t.exports=l},2827:(t,e,n)=>{var r=n(6698),i=n(2890),o=n(392),a=n(2861).Buffer,s=new Array(160);function l(){this.init(),this._w=s,o.call(this,128,112)}r(l,i),l.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},l.prototype._hash=function(){var t=a.allocUnsafe(48);function e(e,n,r){t.writeInt32BE(e,r),t.writeInt32BE(n,r+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),t},t.exports=l},2890:(t,e,n)=>{var r=n(6698),i=n(392),o=n(2861).Buffer,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function l(){this.init(),this._w=s,i.call(this,128,112)}function c(t,e,n){return n^t&(e^n)}function u(t,e,n){return t&e|n&(t|e)}function h(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function f(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function d(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function p(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function m(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function g(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function y(t,e){return t>>>0<e>>>0?1:0}r(l,i),l.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},l.prototype._update=function(t){for(var e=this._w,n=0|this._ah,r=0|this._bh,i=0|this._ch,o=0|this._dh,s=0|this._eh,l=0|this._fh,w=0|this._gh,b=0|this._hh,v=0|this._al,E=0|this._bl,_=0|this._cl,A=0|this._dl,M=0|this._el,T=0|this._fl,x=0|this._gl,S=0|this._hl,k=0;k<32;k+=2)e[k]=t.readInt32BE(4*k),e[k+1]=t.readInt32BE(4*k+4);for(;k<160;k+=2){var C=e[k-30],D=e[k-30+1],I=d(C,D),R=p(D,C),N=m(C=e[k-4],D=e[k-4+1]),O=g(D,C),L=e[k-14],P=e[k-14+1],F=e[k-32],B=e[k-32+1],U=R+P|0,j=I+L+y(U,R)|0;j=(j=j+N+y(U=U+O|0,O)|0)+F+y(U=U+B|0,B)|0,e[k]=j,e[k+1]=U}for(var H=0;H<160;H+=2){j=e[H],U=e[H+1];var z=u(n,r,i),q=u(v,E,_),W=h(n,v),G=h(v,n),K=f(s,M),Y=f(M,s),V=a[H],X=a[H+1],Z=c(s,l,w),$=c(M,T,x),Q=S+Y|0,J=b+K+y(Q,S)|0;J=(J=(J=J+Z+y(Q=Q+$|0,$)|0)+V+y(Q=Q+X|0,X)|0)+j+y(Q=Q+U|0,U)|0;var tt=G+q|0,et=W+z+y(tt,G)|0;b=w,S=x,w=l,x=T,l=s,T=M,s=o+J+y(M=A+Q|0,A)|0,o=i,A=_,i=r,_=E,r=n,E=v,n=J+et+y(v=Q+tt|0,Q)|0}this._al=this._al+v|0,this._bl=this._bl+E|0,this._cl=this._cl+_|0,this._dl=this._dl+A|0,this._el=this._el+M|0,this._fl=this._fl+T|0,this._gl=this._gl+x|0,this._hl=this._hl+S|0,this._ah=this._ah+n+y(this._al,v)|0,this._bh=this._bh+r+y(this._bl,E)|0,this._ch=this._ch+i+y(this._cl,_)|0,this._dh=this._dh+o+y(this._dl,A)|0,this._eh=this._eh+s+y(this._el,M)|0,this._fh=this._fh+l+y(this._fl,T)|0,this._gh=this._gh+w+y(this._gl,x)|0,this._hh=this._hh+b+y(this._hl,S)|0},l.prototype._hash=function(){var t=o.allocUnsafe(64);function e(e,n,r){t.writeInt32BE(e,r),t.writeInt32BE(n,r+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t},t.exports=l},920:(t,e,n)=>{"use strict";var r=n(453),i=n(8075),o=n(8859),a=r("%TypeError%"),s=r("%WeakMap%",!0),l=r("%Map%",!0),c=i("WeakMap.prototype.get",!0),u=i("WeakMap.prototype.set",!0),h=i("WeakMap.prototype.has",!0),f=i("Map.prototype.get",!0),d=i("Map.prototype.set",!0),p=i("Map.prototype.has",!0),m=function(t,e){for(var n,r=t;null!==(n=r.next);r=n)if(n.key===e)return r.next=n.next,n.next=t.next,t.next=n,n};t.exports=function(){var t,e,n,r={assert:function(t){if(!r.has(t))throw new a("Side channel does not contain "+o(t))},get:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(t)return c(t,r)}else if(l){if(e)return f(e,r)}else if(n)return function(t,e){var n=m(t,e);return n&&n.value}(n,r)},has:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(t)return h(t,r)}else if(l){if(e)return p(e,r)}else if(n)return function(t,e){return!!m(t,e)}(n,r);return!1},set:function(r,i){s&&r&&("object"==typeof r||"function"==typeof r)?(t||(t=new s),u(t,r,i)):l?(e||(e=new l),d(e,r,i)):(n||(n={key:{},next:null}),function(t,e,n){var r=m(t,e);r?r.value=n:t.next={key:e,next:t.next,value:n}}(n,r,i))}};return r}},8310:(t,e,n)=>{t.exports=i;var r=n(7007).EventEmitter;function i(){r.call(this)}n(6698)(i,r),i.Readable=n(6891),i.Writable=n(1999),i.Duplex=n(8101),i.Transform=n(9083),i.PassThrough=n(3681),i.finished=n(4257),i.pipeline=n(5267),i.Stream=i,i.prototype.pipe=function(t,e){var n=this;function i(e){t.writable&&!1===t.write(e)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",i),t.on("drain",o),t._isStdio||e&&!1===e.end||(n.on("end",s),n.on("close",l));var a=!1;function s(){a||(a=!0,t.end())}function l(){a||(a=!0,"function"==typeof t.destroy&&t.destroy())}function c(t){if(u(),0===r.listenerCount(this,"error"))throw t}function u(){n.removeListener("data",i),t.removeListener("drain",o),n.removeListener("end",s),n.removeListener("close",l),n.removeListener("error",c),t.removeListener("error",c),n.removeListener("end",u),n.removeListener("close",u),t.removeListener("close",u)}return n.on("error",c),t.on("error",c),n.on("end",u),n.on("close",u),t.on("close",u),t.emit("pipe",n),t}},2463:t=>{"use strict";var e={};function n(t,n,r){r||(r=Error);var i=function(t){var e,r;function i(e,r,i){return t.call(this,function(t,e,r){return"string"==typeof n?n:n(t,e,r)}(e,r,i))||this}return r=t,(e=i).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r,i}(r);i.prototype.name=r.name,i.prototype.code=t,e[t]=i}function r(t,e){if(Array.isArray(t)){var n=t.length;return t=t.map((function(t){return String(t)})),n>2?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:2===n?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}n("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),n("ERR_INVALID_ARG_TYPE",(function(t,e,n){var i,o,a,s,l;if("string"==typeof e&&(o="not ",e.substr(0,4)===o)?(i="must not be",e=e.replace(/^not /,"")):i="must be",function(t,e,n){return(void 0===n||n>t.length)&&(n=t.length),t.substring(n-9,n)===e}(t," argument"))a="The ".concat(t," ").concat(i," ").concat(r(e,"type"));else{var c=("number"!=typeof l&&(l=0),l+1>(s=t).length||-1===s.indexOf(".",l)?"argument":"property");a='The "'.concat(t,'" ').concat(c," ").concat(i," ").concat(r(e,"type"))}return a+". Received type ".concat(typeof n)}),TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.F=e},8101:(t,e,n)=>{"use strict";var r=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=c;var i=n(6891),o=n(1999);n(6698)(c,i);for(var a=r(o.prototype),s=0;s<a.length;s++){var l=a[s];c.prototype[l]||(c.prototype[l]=o.prototype[l])}function c(t){if(!(this instanceof c))return new c(t);i.call(this,t),o.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",u)))}function u(){this._writableState.ended||{env:{}}.nextTick(h,this)}function h(t){t.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}})},3681:(t,e,n)=>{"use strict";t.exports=i;var r=n(9083);function i(t){if(!(this instanceof i))return new i(t);r.call(this,t)}n(6698)(i,r),i.prototype._transform=function(t,e,n){n(null,t)}},6891:(t,e,n)=>{"use strict";var r;t.exports=M,M.ReadableState=A,n(7007).EventEmitter;var i,o=function(t,e){return t.listeners(e).length},a=n(1396),s=n(8287).Buffer,l=(void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},c=n(7199);i=c&&c.debuglog?c.debuglog("stream"):function(){};var u,h,f,d=n(1766),p=n(4347),m=n(6644).getHighWaterMark,g=n(2463).F,y=g.ERR_INVALID_ARG_TYPE,w=g.ERR_STREAM_PUSH_AFTER_EOF,b=g.ERR_METHOD_NOT_IMPLEMENTED,v=g.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n(6698)(M,a);var E=p.errorOrDestroy,_=["error","close","destroy","pause","resume"];function A(t,e,i){r=r||n(8101),t=t||{},"boolean"!=typeof i&&(i=e instanceof r),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=m(this,t,"readableHighWaterMark",i),this.buffer=new d,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!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(u||(u=n(3141).I),this.decoder=new u(t.encoding),this.encoding=t.encoding)}function M(t){if(r=r||n(8101),!(this instanceof M))return new M(t);var e=this instanceof r;this._readableState=new A(t,this,e),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),a.call(this)}function T(t,e,n,r,o){i("readableAddChunk",e);var a,c=t._readableState;if(null===e)c.reading=!1,function(t,e){if(i("onEofChunk"),!e.ended){if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,e.sync?C(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,D(t)))}}(t,c);else if(o||(a=function(t,e){var n,r;return r=e,s.isBuffer(r)||r instanceof l||"string"==typeof e||void 0===e||t.objectMode||(n=new y("chunk",["string","Buffer","Uint8Array"],e)),n}(c,e)),a)E(t,a);else if(c.objectMode||e&&e.length>0)if("string"==typeof e||c.objectMode||Object.getPrototypeOf(e)===s.prototype||(e=function(t){return s.from(t)}(e)),r)c.endEmitted?E(t,new v):x(t,c,e,!0);else if(c.ended)E(t,new w);else{if(c.destroyed)return!1;c.reading=!1,c.decoder&&!n?(e=c.decoder.write(e),c.objectMode||0!==e.length?x(t,c,e,!1):I(t,c)):x(t,c,e,!1)}else r||(c.reading=!1,I(t,c));return!c.ended&&(c.length<c.highWaterMark||0===c.length)}function x(t,e,n,r){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",n)):(e.length+=e.objectMode?1:n.length,r?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&C(t)),I(t,e)}Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),M.prototype.destroy=p.destroy,M.prototype._undestroy=p.undestroy,M.prototype._destroy=function(t,e){e(t)},M.prototype.push=function(t,e){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof t&&((e=e||r.defaultEncoding)!==r.encoding&&(t=s.from(t,e),e=""),n=!0),T(this,t,e,!1,n)},M.prototype.unshift=function(t){return T(this,t,null,!0,!1)},M.prototype.isPaused=function(){return!1===this._readableState.flowing},M.prototype.setEncoding=function(t){u||(u=n(3141).I);var e=new u(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i="";null!==r;)i+=e.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var S=1073741824;function k(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=S?t=S:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function C(t){var e=t._readableState;i("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(i("emitReadable",e.flowing),e.emittedReadable=!0,{env:{}}.nextTick(D,t))}function D(t){var e=t._readableState;i("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,P(t)}function I(t,e){e.readingMore||(e.readingMore=!0,{env:{}}.nextTick(R,t,e))}function R(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length);){var n=e.length;if(i("maybeReadMore read 0"),t.read(0),n===e.length)break}e.readingMore=!1}function N(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function O(t){i("readable nexttick read 0"),t.read(0)}function L(t,e){i("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),P(t),e.flowing&&!e.reading&&t.read(0)}function P(t){var e=t._readableState;for(i("flow",e.flowing);e.flowing&&null!==t.read(););}function F(t,e){return 0===e.length?null:(e.objectMode?n=e.buffer.shift():!t||t>=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):n=e.buffer.consume(t,e.decoder),n);var n}function B(t){var e=t._readableState;i("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,{env:{}}.nextTick(U,e,t))}function U(t,e){if(i("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var n=e._writableState;(!n||n.autoDestroy&&n.finished)&&e.destroy()}}function j(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}M.prototype.read=function(t){i("read",t),t=parseInt(t,10);var e=this._readableState,n=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&((0!==e.highWaterMark?e.length>=e.highWaterMark:e.length>0)||e.ended))return i("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?B(this):C(this),null;if(0===(t=k(t,e))&&e.ended)return 0===e.length&&B(this),null;var r,o=e.needReadable;return i("need readable",o),(0===e.length||e.length-t<e.highWaterMark)&&i("length less than watermark",o=!0),e.ended||e.reading?i("reading or ended",o=!1):o&&(i("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=k(n,e))),null===(r=t>0?F(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&B(this)),null!==r&&this.emit("data",r),r},M.prototype._read=function(t){E(this,new b("_read()"))},M.prototype.pipe=function(t,e){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=t;break;case 1:r.pipes=[r.pipes,t];break;default:r.pipes.push(t)}r.pipesCount+=1,i("pipe count=%d opts=%j",r.pipesCount,e);var a=e&&!1===e.end||t==={env:{}}.stdout||t==={env:{}}.stderr?p:s;function s(){i("onend"),t.end()}r.endEmitted?{env:{}}.nextTick(a):n.once("end",a),t.on("unpipe",(function e(o,a){i("onunpipe"),o===n&&a&&!1===a.hasUnpiped&&(a.hasUnpiped=!0,i("cleanup"),t.removeListener("close",f),t.removeListener("finish",d),t.removeListener("drain",l),t.removeListener("error",h),t.removeListener("unpipe",e),n.removeListener("end",s),n.removeListener("end",p),n.removeListener("data",u),c=!0,!r.awaitDrain||t._writableState&&!t._writableState.needDrain||l())}));var l=function(t){return function(){var e=t._readableState;i("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&o(t,"data")&&(e.flowing=!0,P(t))}}(n);t.on("drain",l);var c=!1;function u(e){i("ondata");var o=t.write(e);i("dest.write",o),!1===o&&((1===r.pipesCount&&r.pipes===t||r.pipesCount>1&&-1!==j(r.pipes,t))&&!c&&(i("false write response, pause",r.awaitDrain),r.awaitDrain++),n.pause())}function h(e){i("onerror",e),p(),t.removeListener("error",h),0===o(t,"error")&&E(t,e)}function f(){t.removeListener("finish",d),p()}function d(){i("onfinish"),t.removeListener("close",f),p()}function p(){i("unpipe"),n.unpipe(t)}return n.on("data",u),function(t,e,n){if("function"==typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}(t,"error",h),t.once("close",f),t.once("finish",d),t.emit("pipe",n),r.flowing||(i("pipe resume"),n.resume()),t},M.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var r=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=j(e.pipes,t);return-1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,n)),this},M.prototype.on=function(t,e){var n=a.prototype.on.call(this,t,e),r=this._readableState;return"data"===t?(r.readableListening=this.listenerCount("readable")>0,!1!==r.flowing&&this.resume()):"readable"===t&&(r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,i("on readable",r.length,r.reading),r.length?C(this):r.reading||{env:{}}.nextTick(O,this))),n},M.prototype.addListener=M.prototype.on,M.prototype.removeListener=function(t,e){var n=a.prototype.removeListener.call(this,t,e);return"readable"===t&&{env:{}}.nextTick(N,this),n},M.prototype.removeAllListeners=function(t){var e=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||{env:{}}.nextTick(N,this),e},M.prototype.resume=function(){var t=this._readableState;return t.flowing||(i("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,{env:{}}.nextTick(L,t,e))}(this,t)),t.paused=!1,this},M.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},M.prototype.wrap=function(t){var e=this,n=this._readableState,r=!1;for(var o in t.on("end",(function(){if(i("wrapped end"),n.decoder&&!n.ended){var t=n.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(o){i("wrapped data"),n.decoder&&(o=n.decoder.write(o)),n.objectMode&&null==o||(n.objectMode||o&&o.length)&&(e.push(o)||(r=!0,t.pause()))})),t)void 0===this[o]&&"function"==typeof t[o]&&(this[o]=function(e){return function(){return t[e].apply(t,arguments)}}(o));for(var a=0;a<_.length;a++)t.on(_[a],this.emit.bind(this,_[a]));return this._read=function(e){i("wrapped _read",e),r&&(r=!1,t.resume())},this},"function"==typeof Symbol&&(M.prototype[Symbol.asyncIterator]=function(){return void 0===h&&(h=n(5034)),h(this)}),Object.defineProperty(M.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(M.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(M.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),M._fromList=F,Object.defineProperty(M.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(M.from=function(t,e){return void 0===f&&(f=n(968)),f(M,t,e)})},9083:(t,e,n)=>{"use strict";t.exports=u;var r=n(2463).F,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=r.ERR_TRANSFORM_WITH_LENGTH_0,l=n(8101);function c(t,e){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=e&&this.push(e),r(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function u(t){if(!(this instanceof u))return new u(t);l.call(this,t),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",h)}function h(){var t=this;"function"!=typeof this._flush||this._readableState.destroyed?f(this,null,null):this._flush((function(e,n){f(t,e,n)}))}function f(t,e,n){if(e)return t.emit("error",e);if(null!=n&&t.push(n),t._writableState.length)throw new s;if(t._transformState.transforming)throw new a;return t.push(null)}n(6698)(u,l),u.prototype.push=function(t,e){return this._transformState.needTransform=!1,l.prototype.push.call(this,t,e)},u.prototype._transform=function(t,e,n){n(new i("_transform()"))},u.prototype._write=function(t,e,n){var r=this._transformState;if(r.writecb=n,r.writechunk=t,r.writeencoding=e,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},u.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},u.prototype._destroy=function(t,e){l.prototype._destroy.call(this,t,(function(t){e(t)}))}},1999:(t,e,n)=>{"use strict";function r(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,n){var r=t.entry;for(t.entry=null;r;){var i=r.callback;e.pendingcb--,i(undefined),r=r.next}e.corkedRequestsFree.next=t}(e,t)}}var i;t.exports=M,M.WritableState=A;var o,a={deprecate:n(4643)},s=n(1396),l=n(8287).Buffer,c=(void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},u=n(4347),h=n(6644).getHighWaterMark,f=n(2463).F,d=f.ERR_INVALID_ARG_TYPE,p=f.ERR_METHOD_NOT_IMPLEMENTED,m=f.ERR_MULTIPLE_CALLBACK,g=f.ERR_STREAM_CANNOT_PIPE,y=f.ERR_STREAM_DESTROYED,w=f.ERR_STREAM_NULL_VALUES,b=f.ERR_STREAM_WRITE_AFTER_END,v=f.ERR_UNKNOWN_ENCODING,E=u.errorOrDestroy;function _(){}function A(t,e,o){i=i||n(8101),t=t||{},"boolean"!=typeof o&&(o=e instanceof i),this.objectMode=!!t.objectMode,o&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=h(this,t,"writableHighWaterMark",o),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===t.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var n=t._writableState,r=n.sync,i=n.writecb;if("function"!=typeof i)throw new m;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),e)!function(t,e,n,r,i){--e.pendingcb,n?({env:{}}.nextTick(i,r),{env:{}}.nextTick(D,t,e),t._writableState.errorEmitted=!0,E(t,r)):(i(r),t._writableState.errorEmitted=!0,E(t,r),D(t,e))}(t,n,r,e,i);else{var o=k(n)||t.destroyed;o||n.corked||n.bufferProcessing||!n.bufferedRequest||S(t,n),r?{env:{}}.nextTick(x,t,n,o,i):x(t,n,o,i)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}function M(t){var e=this instanceof(i=i||n(8101));if(!e&&!o.call(M,this))return new M(t);this._writableState=new A(t,this,e),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),s.call(this)}function T(t,e,n,r,i,o,a){e.writelen=r,e.writecb=a,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new y("write")):n?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function x(t,e,n,r){n||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,r(),D(t,e)}function S(t,e){e.bufferProcessing=!0;var n=e.bufferedRequest;if(t._writev&&n&&n.next){var i=e.bufferedRequestCount,o=new Array(i),a=e.corkedRequestsFree;a.entry=n;for(var s=0,l=!0;n;)o[s]=n,n.isBuf||(l=!1),n=n.next,s+=1;o.allBuffers=l,T(t,e,!0,e.length,o,"",a.finish),e.pendingcb++,e.lastBufferedRequest=null,a.next?(e.corkedRequestsFree=a.next,a.next=null):e.corkedRequestsFree=new r(e),e.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,u=n.encoding,h=n.callback;if(T(t,e,!1,e.objectMode?1:c.length,c,u,h),n=n.next,e.bufferedRequestCount--,e.writing)break}null===n&&(e.lastBufferedRequest=null)}e.bufferedRequest=n,e.bufferProcessing=!1}function k(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function C(t,e){t._final((function(n){e.pendingcb--,n&&E(t,n),e.prefinished=!0,t.emit("prefinish"),D(t,e)}))}function D(t,e){var n=k(e);if(n&&(function(t,e){e.prefinished||e.finalCalled||("function"!=typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,{env:{}}.nextTick(C,t,e)))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var r=t._readableState;(!r||r.autoDestroy&&r.endEmitted)&&t.destroy()}return n}n(6698)(M,s),A.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(A.prototype,"buffer",{get:a.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(o=Function.prototype[Symbol.hasInstance],Object.defineProperty(M,Symbol.hasInstance,{value:function(t){return!!o.call(this,t)||this===M&&t&&t._writableState instanceof A}})):o=function(t){return t instanceof this},M.prototype.pipe=function(){E(this,new g)},M.prototype.write=function(t,e,n){var r,i=this._writableState,o=!1,a=!i.objectMode&&(r=t,l.isBuffer(r)||r instanceof c);return a&&!l.isBuffer(t)&&(t=function(t){return l.from(t)}(t)),"function"==typeof e&&(n=e,e=null),a?e="buffer":e||(e=i.defaultEncoding),"function"!=typeof n&&(n=_),i.ending?function(t,e){var n=new b;E(t,n),{env:{}}.nextTick(e,n)}(this,n):(a||function(t,e,n,r){var i;return null===n?i=new w:"string"==typeof n||e.objectMode||(i=new d("chunk",["string","Buffer"],n)),!i||(E(t,i),{env:{}}.nextTick(r,i),!1)}(this,i,t,n))&&(i.pendingcb++,o=function(t,e,n,r,i,o){if(!n){var a=function(t,e,n){return t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=l.from(e,n)),e}(e,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=e.objectMode?1:r.length;e.length+=s;var c=e.length<e.highWaterMark;if(c||(e.needDrain=!0),e.writing||e.corked){var u=e.lastBufferedRequest;e.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},u?u.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else T(t,e,!1,s,r,i,o);return c}(this,i,a,t,e,n)),o},M.prototype.cork=function(){this._writableState.corked++},M.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||S(this,t))},M.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new v(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(M.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(M.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),M.prototype._write=function(t,e,n){n(new p("_write()"))},M.prototype._writev=null,M.prototype.end=function(t,e,n){var r=this._writableState;return"function"==typeof t?(n=t,t=null,e=null):"function"==typeof e&&(n=e,e=null),null!=t&&this.write(t,e),r.corked&&(r.corked=1,this.uncork()),r.ending||function(t,e,n){e.ending=!0,D(t,e),n&&(e.finished?{env:{}}.nextTick(n):t.once("finish",n)),e.ended=!0,t.writable=!1}(this,r,n),this},Object.defineProperty(M.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),M.prototype.destroy=u.destroy,M.prototype._undestroy=u.undestroy,M.prototype._destroy=function(t,e){e(t)}},5034:(t,e,n)=>{"use strict";var r;function i(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(4257),a=Symbol("lastResolve"),s=Symbol("lastReject"),l=Symbol("error"),c=Symbol("ended"),u=Symbol("lastPromise"),h=Symbol("handlePromise"),f=Symbol("stream");function d(t,e){return{value:t,done:e}}function p(t){var e=t[a];if(null!==e){var n=t[f].read();null!==n&&(t[u]=null,t[a]=null,t[s]=null,e(d(n,!1)))}}function m(t){({env:{}}).nextTick(p,t)}var g=Object.getPrototypeOf((function(){})),y=Object.setPrototypeOf((i(r={get stream(){return this[f]},next:function(){var t=this,e=this[l];if(null!==e)return Promise.reject(e);if(this[c])return Promise.resolve(d(void 0,!0));if(this[f].destroyed)return new Promise((function(e,n){({env:{}}).nextTick((function(){t[l]?n(t[l]):e(d(void 0,!0))}))}));var n,r=this[u];if(r)n=new Promise(function(t,e){return function(n,r){t.then((function(){e[c]?n(d(void 0,!0)):e[h](n,r)}),r)}}(r,this));else{var i=this[f].read();if(null!==i)return Promise.resolve(d(i,!1));n=new Promise(this[h])}return this[u]=n,n}},Symbol.asyncIterator,(function(){return this})),i(r,"return",(function(){var t=this;return new Promise((function(e,n){t[f].destroy(null,(function(t){t?n(t):e(d(void 0,!0))}))}))})),r),g);t.exports=function(t){var e,n=Object.create(y,(i(e={},f,{value:t,writable:!0}),i(e,a,{value:null,writable:!0}),i(e,s,{value:null,writable:!0}),i(e,l,{value:null,writable:!0}),i(e,c,{value:t._readableState.endEmitted,writable:!0}),i(e,h,{value:function(t,e){var r=n[f].read();r?(n[u]=null,n[a]=null,n[s]=null,t(d(r,!1))):(n[a]=t,n[s]=e)},writable:!0}),e));return n[u]=null,o(t,(function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=n[s];return null!==e&&(n[u]=null,n[a]=null,n[s]=null,e(t)),void(n[l]=t)}var r=n[a];null!==r&&(n[u]=null,n[a]=null,n[s]=null,r(d(void 0,!0))),n[c]=!0})),t.on("readable",m.bind(null,n)),n}},1766:(t,e,n)=>{"use strict";function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){o(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function o(t,e,n){return(e=s(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,s(r.key),r)}}function s(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}var l=n(8287).Buffer,c=n(3779).inspect,u=c&&c.custom||"inspect";t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}var e,n;return e=t,(n=[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,n=""+e.data;e=e.next;)n+=t+e.data;return n}},{key:"concat",value:function(t){if(0===this.length)return l.alloc(0);for(var e,n,r,i=l.allocUnsafe(t>>>0),o=this.head,a=0;o;)e=o.data,n=i,r=a,l.prototype.copy.call(e,n,r),a+=o.data.length,o=o.next;return i}},{key:"consume",value:function(t,e){var n;return t<this.head.data.length?(n=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):n=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var e=this.head,n=1,r=e.data;for(t-=r.length;e=e.next;){var i=e.data,o=t>i.length?i.length:t;if(o===i.length?r+=i:r+=i.slice(0,t),0==(t-=o)){o===i.length?(++n,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(t){var e=l.allocUnsafe(t),n=this.head,r=1;for(n.data.copy(e),t-=n.data.length;n=n.next;){var i=n.data,o=t>i.length?i.length:t;if(i.copy(e,e.length-t,0,o),0==(t-=o)){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,e}},{key:u,value:function(t,e){return c(this,i(i({},e),{},{depth:0,customInspect:!1}))}}])&&a(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),t}()},4347:t=>{"use strict";function e(t,e){r(t,e),n(t)}function n(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function r(t,e){t.emit("error",e)}t.exports={destroy:function(t,i){var o=this,a=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return a||s?(i?i(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,{env:{}}.nextTick(r,this,t)):{env:{}}.nextTick(r,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!i&&t?o._writableState?o._writableState.errorEmitted?{env:{}}.nextTick(n,o):(o._writableState.errorEmitted=!0,{env:{}}.nextTick(e,o,t)):{env:{}}.nextTick(e,o,t):i?({env:{}}.nextTick(n,o),i(t)):{env:{}}.nextTick(n,o)})),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(t,e){var n=t._readableState,r=t._writableState;n&&n.autoDestroy||r&&r.autoDestroy?t.destroy(e):t.emit("error",e)}}},4257:(t,e,n)=>{"use strict";var r=n(2463).F.ERR_STREAM_PREMATURE_CLOSE;function i(){}t.exports=function t(e,n,o){if("function"==typeof n)return t(e,null,n);n||(n={}),o=function(t){var e=!1;return function(){if(!e){e=!0;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.apply(this,r)}}}(o||i);var a=n.readable||!1!==n.readable&&e.readable,s=n.writable||!1!==n.writable&&e.writable,l=function(){e.writable||u()},c=e._writableState&&e._writableState.finished,u=function(){s=!1,c=!0,a||o.call(e)},h=e._readableState&&e._readableState.endEmitted,f=function(){a=!1,h=!0,s||o.call(e)},d=function(t){o.call(e,t)},p=function(){var t;return a&&!h?(e._readableState&&e._readableState.ended||(t=new r),o.call(e,t)):s&&!c?(e._writableState&&e._writableState.ended||(t=new r),o.call(e,t)):void 0},m=function(){e.req.on("finish",u)};return function(t){return t.setHeader&&"function"==typeof t.abort}(e)?(e.on("complete",u),e.on("abort",p),e.req?m():e.on("request",m)):s&&!e._writableState&&(e.on("end",l),e.on("close",l)),e.on("end",f),e.on("finish",u),!1!==n.error&&e.on("error",d),e.on("close",p),function(){e.removeListener("complete",u),e.removeListener("abort",p),e.removeListener("request",m),e.req&&e.req.removeListener("finish",u),e.removeListener("end",l),e.removeListener("close",l),e.removeListener("finish",u),e.removeListener("end",f),e.removeListener("error",d),e.removeListener("close",p)}}},968:t=>{t.exports=function(){throw new Error("Readable.from is not available in the browser")}},5267:(t,e,n)=>{"use strict";var r,i=n(2463).F,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(t){if(t)throw t}function l(t){t()}function c(t,e){return t.pipe(e)}t.exports=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var u,h=function(t){return t.length?"function"!=typeof t[t.length-1]?s:t.pop():s}(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new o("streams");var f=e.map((function(t,i){var o=i<e.length-1;return function(t,e,i,o){o=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(o);var s=!1;t.on("close",(function(){s=!0})),void 0===r&&(r=n(4257)),r(t,{readable:e,writable:i},(function(t){if(t)return o(t);s=!0,o()}));var l=!1;return function(e){if(!s&&!l)return l=!0,function(t){return t.setHeader&&"function"==typeof t.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void o(e||new a("pipe"))}}(t,o,i>0,(function(t){u||(u=t),t&&f.forEach(l),o||(f.forEach(l),h(u))}))}));return e.reduce(c)}},6644:(t,e,n)=>{"use strict";var r=n(2463).F.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(t,e,n,i){var o=function(t,e,n){return null!=t.highWaterMark?t.highWaterMark:e?t[n]:null}(e,i,n);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new r(i?n:"highWaterMark",o);return Math.floor(o)}return t.objectMode?16:16384}}},1396:(t,e,n)=>{t.exports=n(7007).EventEmitter},3141:(t,e,n)=>{"use strict";var r=n(2861).Buffer,i=r.isEncoding||function(t){switch((t=""+t)&&t.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(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){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 t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!=typeof e&&(r.isEncoding===i||!i(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=l,this.end=c,e=4;break;case"utf8":this.fillLast=s,e=4;break;case"base64":this.text=u,this.end=h,e=3;break;default:return this.write=f,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(e)}function a(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function s(t){var e=this.lastTotal-this.lastNeed,n=function(t,e,n){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==n?n:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function l(t,e){if((t.length-e)%2==0){var n=t.toString("utf16le",e);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function c(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,n)}return e}function u(t,e){var n=(t.length-e)%3;return 0===n?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function h(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function f(t){return t.toString(this.encoding)}function d(t){return t&&t.length?this.write(t):""}e.I=o,o.prototype.write=function(t){if(0===t.length)return"";var e,n;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<t.length?e?e+this.text(t,n):this.text(t,n):e||""},o.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e},o.prototype.text=function(t,e){var n=function(t,e,n){var r=e.length-1;if(r<n)return 0;var i=a(e[r]);return i>=0?(i>0&&(t.lastNeed=i-1),i):--r<n||-2===i?0:(i=a(e[r]))>=0?(i>0&&(t.lastNeed=i-2),i):--r<n||-2===i?0:(i=a(e[r]))>=0?(i>0&&(2===i?i=0:t.lastNeed=i-3),i):0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var r=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,r),t.toString("utf8",e,r)},o.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},1270:function(t,e,n){var r;t=n.nmd(t),function(i){e&&e.nodeType,t&&t.nodeType;var o="object"==typeof n.g&&n.g;o.global!==o&&o.window!==o&&o.self;var a,s=2147483647,l=36,c=26,u=38,h=700,f=/^xn--/,d=/[^\x20-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,m={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},g=l-1,y=Math.floor,w=String.fromCharCode;function b(t){throw new RangeError(m[t])}function v(t,e){for(var n=t.length,r=[];n--;)r[n]=e(t[n]);return r}function E(t,e){var n=t.split("@"),r="";return n.length>1&&(r=n[0]+"@",t=n[1]),r+v((t=t.replace(p,".")).split("."),e).join(".")}function _(t){for(var e,n,r=[],i=0,o=t.length;i<o;)(e=t.charCodeAt(i++))>=55296&&e<=56319&&i<o?56320==(64512&(n=t.charCodeAt(i++)))?r.push(((1023&e)<<10)+(1023&n)+65536):(r.push(e),i--):r.push(e);return r}function A(t){return v(t,(function(t){var e="";return t>65535&&(e+=w((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+w(t)})).join("")}function M(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function T(t,e,n){var r=0;for(t=n?y(t/h):t>>1,t+=y(t/e);t>g*c>>1;r+=l)t=y(t/g);return y(r+(g+1)*t/(t+u))}function x(t){var e,n,r,i,o,a,u,h,f,d,p,m=[],g=t.length,w=0,v=128,E=72;for((n=t.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)t.charCodeAt(r)>=128&&b("not-basic"),m.push(t.charCodeAt(r));for(i=n>0?n+1:0;i<g;){for(o=w,a=1,u=l;i>=g&&b("invalid-input"),((h=(p=t.charCodeAt(i++))-48<10?p-22:p-65<26?p-65:p-97<26?p-97:l)>=l||h>y((s-w)/a))&&b("overflow"),w+=h*a,!(h<(f=u<=E?1:u>=E+c?c:u-E));u+=l)a>y(s/(d=l-f))&&b("overflow"),a*=d;E=T(w-o,e=m.length+1,0==o),y(w/e)>s-v&&b("overflow"),v+=y(w/e),w%=e,m.splice(w++,0,v)}return A(m)}function S(t){var e,n,r,i,o,a,u,h,f,d,p,m,g,v,E,A=[];for(m=(t=_(t)).length,e=128,n=0,o=72,a=0;a<m;++a)(p=t[a])<128&&A.push(w(p));for(r=i=A.length,i&&A.push("-");r<m;){for(u=s,a=0;a<m;++a)(p=t[a])>=e&&p<u&&(u=p);for(u-e>y((s-n)/(g=r+1))&&b("overflow"),n+=(u-e)*g,e=u,a=0;a<m;++a)if((p=t[a])<e&&++n>s&&b("overflow"),p==e){for(h=n,f=l;!(h<(d=f<=o?1:f>=o+c?c:f-o));f+=l)E=h-d,v=l-d,A.push(w(M(d+E%v,0))),h=y(E/v);A.push(w(M(h,0))),o=T(n,g,r==i),n=0,++r}++n,++e}return A.join("")}a={version:"1.4.1",ucs2:{decode:_,encode:A},decode:x,encode:S,toASCII:function(t){return E(t,(function(t){return d.test(t)?"xn--"+S(t):t}))},toUnicode:function(t){return E(t,(function(t){return f.test(t)?x(t.slice(4).toLowerCase()):t}))}},void 0===(r=function(){return a}.call(e,n,e,t))||(t.exports=r)}()},8835:(t,e,n)=>{"use strict";var r=n(1270);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(l),u=["%","/","?",";","#"].concat(c),h=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=n(5373);function w(t,e,n){if(t&&"object"==typeof t&&t instanceof i)return t;var r=new i;return r.parse(t,e,n),r}i.prototype.parse=function(t,e,n){if("string"!=typeof t)throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var i=t.indexOf("?"),a=-1!==i&&i<t.indexOf("#")?"?":"#",l=t.split(a);l[0]=l[0].replace(/\\/g,"/");var w=t=l.join(a);if(w=w.trim(),!n&&1===t.split("#").length){var b=s.exec(w);if(b)return this.path=w,this.href=w,this.pathname=b[1],b[2]?(this.search=b[2],this.query=e?y.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var v=o.exec(w);if(v){var E=(v=v[0]).toLowerCase();this.protocol=E,w=w.substr(v.length)}if(n||v||w.match(/^\/\/[^@/]+@[^@/]+/)){var _="//"===w.substr(0,2);!_||v&&m[v]||(w=w.substr(2),this.slashes=!0)}if(!m[v]&&(_||v&&!g[v])){for(var A,M,T=-1,x=0;x<h.length;x++)-1!==(S=w.indexOf(h[x]))&&(-1===T||S<T)&&(T=S);for(-1!==(M=-1===T?w.lastIndexOf("@"):w.lastIndexOf("@",T))&&(A=w.slice(0,M),w=w.slice(M+1),this.auth=decodeURIComponent(A)),T=-1,x=0;x<u.length;x++){var S;-1!==(S=w.indexOf(u[x]))&&(-1===T||S<T)&&(T=S)}-1===T&&(T=w.length),this.host=w.slice(0,T),w=w.slice(T),this.parseHost(),this.hostname=this.hostname||"";var k="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!k)for(var C=this.hostname.split(/\./),D=(x=0,C.length);x<D;x++){var I=C[x];if(I&&!I.match(f)){for(var R="",N=0,O=I.length;N<O;N++)I.charCodeAt(N)>127?R+="x":R+=I[N];if(!R.match(f)){var L=C.slice(0,x),P=C.slice(x+1),F=I.match(d);F&&(L.push(F[1]),P.unshift(F[2])),P.length&&(w="/"+P.join(".")+w),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),k||(this.hostname=r.toASCII(this.hostname));var B=this.port?":"+this.port:"",U=this.hostname||"";this.host=U+B,this.href+=this.host,k&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==w[0]&&(w="/"+w))}if(!p[E])for(x=0,D=c.length;x<D;x++){var j=c[x];if(-1!==w.indexOf(j)){var H=encodeURIComponent(j);H===j&&(H=escape(j)),w=w.split(j).join(H)}}var z=w.indexOf("#");-1!==z&&(this.hash=w.substr(z),w=w.slice(0,z));var q=w.indexOf("?");if(-1!==q?(this.search=w.substr(q),this.query=w.substr(q+1),e&&(this.query=y.parse(this.query)),w=w.slice(0,q)):e&&(this.search="",this.query={}),w&&(this.pathname=w),g[E]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){B=this.pathname||"";var W=this.search||"";this.path=B+W}return this.href=this.format(),this},i.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,o="";this.host?i=t+this.host:this.hostname&&(i=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&"object"==typeof this.query&&Object.keys(this.query).length&&(o=y.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var a=this.search||o&&"?"+o||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||g[e])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),e+i+(n=n.replace(/[?#]/g,(function(t){return encodeURIComponent(t)})))+(a=a.replace("#","%23"))+r},i.prototype.resolve=function(t){return this.resolveObject(w(t,!1,!0)).format()},i.prototype.resolveObject=function(t){if("string"==typeof t){var e=new i;e.parse(t,!1,!0),t=e}for(var n=new i,r=Object.keys(this),o=0;o<r.length;o++){var a=r[o];n[a]=this[a]}if(n.hash=t.hash,""===t.href)return n.href=n.format(),n;if(t.slashes&&!t.protocol){for(var s=Object.keys(t),l=0;l<s.length;l++){var c=s[l];"protocol"!==c&&(n[c]=t[c])}return g[n.protocol]&&n.hostname&&!n.pathname&&(n.pathname="/",n.path=n.pathname),n.href=n.format(),n}if(t.protocol&&t.protocol!==n.protocol){if(!g[t.protocol]){for(var u=Object.keys(t),h=0;h<u.length;h++){var f=u[h];n[f]=t[f]}return n.href=n.format(),n}if(n.protocol=t.protocol,t.host||m[t.protocol])n.pathname=t.pathname;else{for(var d=(t.pathname||"").split("/");d.length&&!(t.host=d.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==d[0]&&d.unshift(""),d.length<2&&d.unshift(""),n.pathname=d.join("/")}if(n.search=t.search,n.query=t.query,n.host=t.host||"",n.auth=t.auth,n.hostname=t.hostname||t.host,n.port=t.port,n.pathname||n.search){var p=n.pathname||"",y=n.search||"";n.path=p+y}return n.slashes=n.slashes||t.slashes,n.href=n.format(),n}var w=n.pathname&&"/"===n.pathname.charAt(0),b=t.host||t.pathname&&"/"===t.pathname.charAt(0),v=b||w||n.host&&t.pathname,E=v,_=n.pathname&&n.pathname.split("/")||[],A=(d=t.pathname&&t.pathname.split("/")||[],n.protocol&&!g[n.protocol]);if(A&&(n.hostname="",n.port=null,n.host&&(""===_[0]?_[0]=n.host:_.unshift(n.host)),n.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===d[0]?d[0]=t.host:d.unshift(t.host)),t.host=null),v=v&&(""===d[0]||""===_[0])),b)n.host=t.host||""===t.host?t.host:n.host,n.hostname=t.hostname||""===t.hostname?t.hostname:n.hostname,n.search=t.search,n.query=t.query,_=d;else if(d.length)_||(_=[]),_.pop(),_=_.concat(d),n.search=t.search,n.query=t.query;else if(null!=t.search)return A&&(n.host=_.shift(),n.hostname=n.host,(k=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=k.shift(),n.hostname=k.shift(),n.host=n.hostname)),n.search=t.search,n.query=t.query,null===n.pathname&&null===n.search||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!_.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var M=_.slice(-1)[0],T=(n.host||t.host||_.length>1)&&("."===M||".."===M)||""===M,x=0,S=_.length;S>=0;S--)"."===(M=_[S])?_.splice(S,1):".."===M?(_.splice(S,1),x++):x&&(_.splice(S,1),x--);if(!v&&!E)for(;x--;x)_.unshift("..");!v||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),T&&"/"!==_.join("/").substr(-1)&&_.push("");var k,C=""===_[0]||_[0]&&"/"===_[0].charAt(0);return A&&(n.hostname=C?"":_.length?_.shift():"",n.host=n.hostname,(k=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=k.shift(),n.hostname=k.shift(),n.host=n.hostname)),(v=v||n.host&&_.length)&&!C&&_.unshift(""),_.length>0?n.pathname=_.join("/"):(n.pathname=null,n.path=null),null===n.pathname&&null===n.search||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var t=this.host,e=a.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)},e.parse=w,e.resolve=function(t,e){return w(t,!1,!0).resolve(e)},e.resolveObject=function(t,e){return t?w(t,!1,!0).resolveObject(e):e},e.format=function(t){return"string"==typeof t&&(t=w(t)),t instanceof i?t.format():i.prototype.format.call(t)},e.Url=i},4643:(t,e,n)=>{function r(t){try{if(!n.g.localStorage)return!1}catch(t){return!1}var e=n.g.localStorage[t];return null!=e&&"true"===String(e).toLowerCase()}t.exports=function(t,e){if(r("noDeprecation"))return t;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(e);r("traceDeprecation")?console.trace(e):console.warn(e),n=!0}return t.apply(this,arguments)}}},5252:()=>{},9887:()=>{},7422:()=>{},8982:()=>{},7790:()=>{},3776:()=>{},1638:()=>{},2668:()=>{},7965:()=>{},6089:()=>{},9368:()=>{},8460:()=>{},2382:()=>{},236:()=>{},8306:()=>{},4688:()=>{},2634:()=>{},1069:()=>{},3779:()=>{},7199:()=>{},4767:(t,e,n)=>{var r=n(8287).Buffer;t.exports={context:()=>({fetch:async(t,e)=>{const n=await fetch(t,e);return n.buffer=async()=>r.from(await n.arrayBuffer()),n},reset:()=>{}})}},3219:t=>{"use strict";t.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},2951:t=>{"use strict";t.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},4589:t=>{"use strict";t.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},3241:t=>{"use strict";t.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},1636:t=>{"use strict";t.exports={rE:"6.5.4"}},5579:t=>{"use strict";t.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={id:r,loaded:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var r={};return(()=>{"use strict";n.r(r),n.d(r,{Blocks:()=>DM,CellUtils:()=>eT,DOMUtils:()=>EM,FileUtils:()=>_M,Loader:()=>IM,Transformer:()=>iT,html2docx:()=>Cx,html2md:()=>kx,md2html:()=>xx,rules:()=>zM});var t={};n.r(t),n.d(t,{boolean:()=>H,booleanish:()=>z,commaOrSpaceSeparated:()=>Y,commaSeparated:()=>K,number:()=>W,overloadedBoolean:()=>q,spaceSeparated:()=>G});var e={};n.r(e),n.d(e,{attentionMarkers:()=>Sw,contentInitial:()=>Ew,disable:()=>kw,document:()=>vw,flow:()=>Aw,flowInitial:()=>_w,insideSpan:()=>xw,string:()=>Mw,text:()=>Tw});var i=n(7975);function o(t){if(t)throw t}var a=n(2849);function s(t){if("object"!=typeof t||null===t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)}function l(t){return t&&"object"==typeof t?"position"in t||"type"in t?u(t.position):"start"in t||"end"in t?u(t):"line"in t||"column"in t?c(t):"":""}function c(t){return h(t&&t.line)+":"+h(t&&t.column)}function u(t){return c(t&&t.start)+"-"+c(t&&t.end)}function h(t){return t&&"number"==typeof t?t:1}class f extends Error{constructor(t,e,n){super(),"string"==typeof e&&(n=e,e=void 0);let r="",i={},o=!1;if(e&&(i="line"in e&&"column"in e||"start"in e&&"end"in e?{place:e}:"type"in e?{ancestors:[e],place:e.position}:{...e}),"string"==typeof t?r=t:!i.cause&&t&&(o=!0,r=t.message,i.cause=t),!i.ruleId&&!i.source&&"string"==typeof n){const t=n.indexOf(":");-1===t?i.ruleId=n:(i.source=n.slice(0,t),i.ruleId=n.slice(t+1))}if(!i.place&&i.ancestors&&i.ancestors){const t=i.ancestors[i.ancestors.length-1];t&&(i.place=t.position)}const a=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=a?a.line:void 0,this.name=l(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=o&&i.cause&&"string"==typeof i.cause.stack?i.cause.stack:"",this.actual,this.expected,this.note,this.url}}f.prototype.file="",f.prototype.name="",f.prototype.reason="",f.prototype.message="",f.prototype.stack="",f.prototype.column=void 0,f.prototype.line=void 0,f.prototype.ancestors=void 0,f.prototype.cause=void 0,f.prototype.fatal=void 0,f.prototype.place=void 0,f.prototype.ruleId=void 0,f.prototype.source=void 0;const d=function(t,e){if(void 0!==e&&"string"!=typeof e)throw new TypeError('"ext" argument must be a string');w(t);let n,r=0,i=-1,o=t.length;if(void 0===e||0===e.length||e.length>t.length){for(;o--;)if(47===t.codePointAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":t.slice(r,i)}if(e===t)return"";let a=-1,s=e.length-1;for(;o--;)if(47===t.codePointAt(o)){if(n){r=o+1;break}}else a<0&&(n=!0,a=o+1),s>-1&&(t.codePointAt(o)===e.codePointAt(s--)?s<0&&(i=o):(s=-1,i=a));return r===i?i=a:i<0&&(i=t.length),t.slice(r,i)},p=function(t){if(w(t),0===t.length)return".";let e,n=-1,r=t.length;for(;--r;)if(47===t.codePointAt(r)){if(e){n=r;break}}else e||(e=!0);return n<0?47===t.codePointAt(0)?"/":".":1===n&&47===t.codePointAt(0)?"//":t.slice(0,n)},m=function(t){w(t);let e,n=t.length,r=-1,i=0,o=-1,a=0;for(;n--;){const s=t.codePointAt(n);if(47!==s)r<0&&(e=!0,r=n+1),46===s?o<0?o=n:1!==a&&(a=1):o>-1&&(a=-1);else if(e){i=n+1;break}}return o<0||r<0||0===a||1===a&&o===r-1&&o===i+1?"":t.slice(o,r)},g=function(...t){let e,n=-1;for(;++n<t.length;)w(t[n]),t[n]&&(e=void 0===e?t[n]:e+"/"+t[n]);return void 0===e?".":function(t){w(t);const e=47===t.codePointAt(0);let n=function(t,e){let n,r,i="",o=0,a=-1,s=0,l=-1;for(;++l<=t.length;){if(l<t.length)n=t.codePointAt(l);else{if(47===n)break;n=47}if(47===n){if(a===l-1||1===s);else if(a!==l-1&&2===s){if(i.length<2||2!==o||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2))if(i.length>2){if(r=i.lastIndexOf("/"),r!==i.length-1){r<0?(i="",o=0):(i=i.slice(0,r),o=i.length-1-i.lastIndexOf("/")),a=l,s=0;continue}}else if(i.length>0){i="",o=0,a=l,s=0;continue}e&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+t.slice(a+1,l):i=t.slice(a+1,l),o=l-a-1;a=l,s=0}else 46===n&&s>-1?s++:s=-1}return i}(t,!e);return 0!==n.length||e||(n="."),n.length>0&&47===t.codePointAt(t.length-1)&&(n+="/"),e?"/"+n:n}(e)},y="/";function w(t){if("string"!=typeof t)throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}const b=function(){return"/"};function v(t){return Boolean(null!==t&&"object"==typeof t&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&void 0===t.auth)}const E=["history","path","basename","stem","extname","dirname"];class _{constructor(t){let e;e=t?v(t)?{path:t}:"string"==typeof t||function(t){return Boolean(t&&"object"==typeof t&&"byteLength"in t&&"byteOffset"in t)}(t)?{value:t}:t:{},this.cwd=b(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n,r=-1;for(;++r<E.length;){const t=E[r];t in e&&void 0!==e[t]&&null!==e[t]&&(this[t]="history"===t?[...e[t]]:e[t])}for(n in e)E.includes(n)||(this[n]=e[n])}get basename(){return"string"==typeof this.path?d(this.path):void 0}set basename(t){M(t,"basename"),A(t,"basename"),this.path=g(this.dirname||"",t)}get dirname(){return"string"==typeof this.path?p(this.path):void 0}set dirname(t){T(this.basename,"dirname"),this.path=g(t||"",this.basename)}get extname(){return"string"==typeof this.path?m(this.path):void 0}set extname(t){if(A(t,"extname"),T(this.dirname,"extname"),t){if(46!==t.codePointAt(0))throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=g(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){v(t)&&(t=function(t){if("string"==typeof t)t=new URL(t);else if(!v(t)){const e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if("file:"!==t.protocol){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return function(t){if(""!==t.hostname){const t=new TypeError('File URL host must be "localhost" or empty on darwin');throw t.code="ERR_INVALID_FILE_URL_HOST",t}const e=t.pathname;let n=-1;for(;++n<e.length;)if(37===e.codePointAt(n)&&50===e.codePointAt(n+1)){const t=e.codePointAt(n+2);if(70===t||102===t){const t=new TypeError("File URL path must not include encoded / characters");throw t.code="ERR_INVALID_FILE_URL_PATH",t}}return decodeURIComponent(e)}(t)}(t)),M(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return"string"==typeof this.path?d(this.path,this.extname):void 0}set stem(t){M(t,"stem"),A(t,"stem"),this.path=g(this.dirname||"",t+(this.extname||""))}fail(t,e,n){const r=this.message(t,e,n);throw r.fatal=!0,r}info(t,e,n){const r=this.message(t,e,n);return r.fatal=void 0,r}message(t,e,n){const r=new f(t,e,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(t){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(t||void 0).decode(this.value)}}function A(t,e){if(t&&t.includes(y))throw new Error("`"+e+"` cannot be a path: did not expect `"+y+"`")}function M(t,e){if(!t)throw new Error("`"+e+"` cannot be empty")}function T(t,e){if(!t)throw new Error("Setting `"+e+"` requires `path` to be set too")}const x=function(t){const e=this.constructor.prototype,n=e[t],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,e),r},S={}.hasOwnProperty;class k extends x{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){const t=[],e={run:function(...e){let n=-1;const r=e.pop();if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r);!function i(o,...a){const s=t[++n];let l=-1;if(o)r(o);else{for(;++l<e.length;)null!==a[l]&&void 0!==a[l]||(a[l]=e[l]);e=a,s?function(t,e){let n;return function(...e){const o=t.length>e.length;let a;o&&e.push(r);try{a=t.apply(this,e)}catch(t){if(o&&n)throw t;return r(t)}o||(a instanceof Promise?a.then(i,r):a instanceof Error?r(a):i(a))};function r(t,...r){n||(n=!0,e(t,...r))}function i(t){r(null,t)}}(s,i)(...a):r(null,...a)}}(null,...e)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return t.push(n),e}};return e}()}copy(){const t=new k;let e=-1;for(;++e<this.attachers.length;){const n=this.attachers[e];t.use(...n)}return t.data(a(!0,{},this.namespace)),t}data(t,e){return"string"==typeof t?2===arguments.length?(R("data",this.frozen),this.namespace[t]=e,this):S.call(this.namespace,t)&&this.namespace[t]||void 0:t?(R("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[e,...n]=this.attachers[this.freezeIndex];if(!1===n[0])continue;!0===n[0]&&(n[0]=void 0);const r=e.call(t,...n);"function"==typeof r&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const e=L(t),n=this.parser||this.Parser;return D("parse",n),n(String(e),e)}process(t,e){const n=this;return this.freeze(),D("process",this.parser||this.Parser),I("process",this.compiler||this.Compiler),e?r(void 0,e):new Promise(r);function r(r,i){const o=L(t),a=n.parse(o);function s(t,n){t||!n?i(t):r?r(n):e(void 0,n)}n.run(a,o,(function(t,e,r){if(t||!e||!r)return s(t);const i=e,o=n.stringify(i,r);!function(t){return"string"==typeof t||function(t){return Boolean(t&&"object"==typeof t&&"byteLength"in t&&"byteOffset"in t)}(t)}(o)?r.result=o:r.value=o,s(t,r)}))}}processSync(t){let e,n=!1;return this.freeze(),D("processSync",this.parser||this.Parser),I("processSync",this.compiler||this.Compiler),this.process(t,(function(t,r){n=!0,o(t),e=r})),O("processSync","process",n),e}run(t,e,n){N(t),this.freeze();const r=this.transformers;return n||"function"!=typeof e||(n=e,e=void 0),n?i(void 0,n):new Promise(i);function i(i,o){const a=L(e);r.run(t,a,(function(e,r,a){const s=r||t;e?o(e):i?i(s):n(void 0,s,a)}))}}runSync(t,e){let n,r=!1;return this.run(t,e,(function(t,e){o(t),n=e,r=!0})),O("runSync","run",r),n}stringify(t,e){this.freeze();const n=L(e),r=this.compiler||this.Compiler;return I("stringify",r),N(t),r(t,n)}use(t,...e){const n=this.attachers,r=this.namespace;if(R("use",this.frozen),null==t);else if("function"==typeof t)c(t,e);else{if("object"!=typeof t)throw new TypeError("Expected usable value, not `"+t+"`");Array.isArray(t)?l(t):o(t)}return this;function i(t){if("function"==typeof t)c(t,[]);else{if("object"!=typeof t)throw new TypeError("Expected usable value, not `"+t+"`");if(Array.isArray(t)){const[e,...n]=t;c(e,n)}else o(t)}}function o(t){if(!("plugins"in t)&&!("settings"in t))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");l(t.plugins),t.settings&&(r.settings=a(!0,r.settings,t.settings))}function l(t){let e=-1;if(null==t);else{if(!Array.isArray(t))throw new TypeError("Expected a list of plugins, not `"+t+"`");for(;++e<t.length;)i(t[e])}}function c(t,e){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===t){i=r;break}if(-1===i)n.push([t,...e]);else if(e.length>0){let[r,...o]=e;const l=n[i][1];s(l)&&s(r)&&(r=a(!0,l,r)),n[i]=[t,r,...o]}}}}const C=(new k).freeze();function D(t,e){if("function"!=typeof e)throw new TypeError("Cannot `"+t+"` without `parser`")}function I(t,e){if("function"!=typeof e)throw new TypeError("Cannot `"+t+"` without `compiler`")}function R(t,e){if(e)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function N(t){if(!s(t)||"string"!=typeof t.type)throw new TypeError("Expected node, got `"+t+"`")}function O(t,e,n){if(!n)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function L(t){return function(t){return Boolean(t&&"object"==typeof t&&"message"in t&&"messages"in t)}(t)?t:new _(t)}class P{constructor(t,e,n){this.property=t,this.normal=e,n&&(this.space=n)}}function F(t,e){const n={},r={};let i=-1;for(;++i<t.length;)Object.assign(n,t[i].property),Object.assign(r,t[i].normal);return new P(n,r,e)}function B(t){return t.toLowerCase()}P.prototype.property={},P.prototype.normal={},P.prototype.space=null;class U{constructor(t,e){this.property=t,this.attribute=e}}U.prototype.space=null,U.prototype.boolean=!1,U.prototype.booleanish=!1,U.prototype.overloadedBoolean=!1,U.prototype.number=!1,U.prototype.commaSeparated=!1,U.prototype.spaceSeparated=!1,U.prototype.commaOrSpaceSeparated=!1,U.prototype.mustUseProperty=!1,U.prototype.defined=!1;let j=0;const H=V(),z=V(),q=V(),W=V(),G=V(),K=V(),Y=V();function V(){return 2**++j}const X=Object.keys(t);class Z extends U{constructor(e,n,r,i){let o=-1;if(super(e,n),$(this,"space",i),"number"==typeof r)for(;++o<X.length;){const e=X[o];$(this,X[o],(r&t[e])===t[e])}}}function $(t,e,n){n&&(t[e]=n)}Z.prototype.defined=!0;const Q={}.hasOwnProperty;function J(t){const e={},n={};let r;for(r in t.properties)if(Q.call(t.properties,r)){const i=t.properties[r],o=new Z(r,t.transform(t.attributes||{},r),i,t.space);t.mustUseProperty&&t.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),e[r]=o,n[B(r)]=r,n[B(o.attribute)]=r}return new P(e,n,t.space)}const tt=J({space:"xlink",transform:(t,e)=>"xlink:"+e.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),et=J({space:"xml",transform:(t,e)=>"xml:"+e.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function nt(t,e){return e in t?t[e]:e}function rt(t,e){return nt(t,e.toLowerCase())}const it=J({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:rt,properties:{xmlns:null,xmlnsXLink:null}}),ot=J({transform:(t,e)=>"role"===e?e:"aria-"+e.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:z,ariaAutoComplete:null,ariaBusy:z,ariaChecked:z,ariaColCount:W,ariaColIndex:W,ariaColSpan:W,ariaControls:G,ariaCurrent:null,ariaDescribedBy:G,ariaDetails:null,ariaDisabled:z,ariaDropEffect:G,ariaErrorMessage:null,ariaExpanded:z,ariaFlowTo:G,ariaGrabbed:z,ariaHasPopup:null,ariaHidden:z,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:G,ariaLevel:W,ariaLive:null,ariaModal:z,ariaMultiLine:z,ariaMultiSelectable:z,ariaOrientation:null,ariaOwns:G,ariaPlaceholder:null,ariaPosInSet:W,ariaPressed:z,ariaReadOnly:z,ariaRelevant:null,ariaRequired:z,ariaRoleDescription:G,ariaRowCount:W,ariaRowIndex:W,ariaRowSpan:W,ariaSelected:z,ariaSetSize:W,ariaSort:null,ariaValueMax:W,ariaValueMin:W,ariaValueNow:W,ariaValueText:null,role:null}}),at=J({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:rt,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:K,acceptCharset:G,accessKey:G,action:null,allow:null,allowFullScreen:H,allowPaymentRequest:H,allowUserMedia:H,alt:null,as:null,async:H,autoCapitalize:null,autoComplete:G,autoFocus:H,autoPlay:H,blocking:G,capture:H,charSet:null,checked:H,cite:null,className:G,cols:W,colSpan:null,content:null,contentEditable:z,controls:H,controlsList:G,coords:W|K,crossOrigin:null,data:null,dateTime:null,decoding:null,default:H,defer:H,dir:null,dirName:null,disabled:H,download:q,draggable:z,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:H,formTarget:null,headers:G,height:W,hidden:H,high:W,href:null,hrefLang:null,htmlFor:G,httpEquiv:G,id:null,imageSizes:null,imageSrcSet:null,inert:H,inputMode:null,integrity:null,is:null,isMap:H,itemId:null,itemProp:G,itemRef:G,itemScope:H,itemType:G,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:H,low:W,manifest:null,max:null,maxLength:W,media:null,method:null,min:null,minLength:W,multiple:H,muted:H,name:null,nonce:null,noModule:H,noValidate:H,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:H,optimum:W,pattern:null,ping:G,placeholder:null,playsInline:H,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:H,referrerPolicy:null,rel:G,required:H,reversed:H,rows:W,rowSpan:W,sandbox:G,scope:null,scoped:H,seamless:H,selected:H,shape:null,size:W,sizes:null,slot:null,span:W,spellCheck:z,src:null,srcDoc:null,srcLang:null,srcSet:null,start:W,step:null,style:null,tabIndex:W,target:null,title:null,translate:null,type:null,typeMustMatch:H,useMap:null,value:z,width:W,wrap:null,align:null,aLink:null,archive:G,axis:null,background:null,bgColor:null,border:W,borderColor:null,bottomMargin:W,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:H,declare:H,event:null,face:null,frame:null,frameBorder:null,hSpace:W,leftMargin:W,link:null,longDesc:null,lowSrc:null,marginHeight:W,marginWidth:W,noResize:H,noHref:H,noShade:H,noWrap:H,object:null,profile:null,prompt:null,rev:null,rightMargin:W,rules:null,scheme:null,scrolling:z,standby:null,summary:null,text:null,topMargin:W,valueType:null,version:null,vAlign:null,vLink:null,vSpace:W,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:H,disableRemotePlayback:H,prefix:null,property:null,results:W,security:null,unselectable:null}}),st=J({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:nt,properties:{about:Y,accentHeight:W,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:W,amplitude:W,arabicForm:null,ascent:W,attributeName:null,attributeType:null,azimuth:W,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:W,by:null,calcMode:null,capHeight:W,className:G,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:W,diffuseConstant:W,direction:null,display:null,dur:null,divisor:W,dominantBaseline:null,download:H,dx:null,dy:null,edgeMode:null,editable:null,elevation:W,enableBackground:null,end:null,event:null,exponent:W,externalResourcesRequired:null,fill:null,fillOpacity:W,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:K,g2:K,glyphName:K,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:W,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:W,horizOriginX:W,horizOriginY:W,id:null,ideographic:W,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:W,k:W,k1:W,k2:W,k3:W,k4:W,kernelMatrix:Y,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:W,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:W,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:W,overlineThickness:W,paintOrder:null,panose1:null,path:null,pathLength:W,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:G,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:W,pointsAtY:W,pointsAtZ:W,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Y,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Y,rev:Y,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Y,requiredFeatures:Y,requiredFonts:Y,requiredFormats:Y,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:W,specularExponent:W,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:W,strikethroughThickness:W,string:null,stroke:null,strokeDashArray:Y,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:W,strokeOpacity:W,strokeWidth:null,style:null,surfaceScale:W,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Y,tabIndex:W,tableValues:null,target:null,targetX:W,targetY:W,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Y,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:W,underlineThickness:W,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:W,values:null,vAlphabetic:W,vMathematical:W,vectorEffect:null,vHanging:W,vIdeographic:W,version:null,vertAdvY:W,vertOriginX:W,vertOriginY:W,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:W,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),lt=F([et,tt,it,ot,at],"html"),ct=F([et,tt,it,ot,st],"svg");function ut(t){const e=[],n=String(t||"");let r=n.indexOf(","),i=0,o=!1;for(;!o;){-1===r&&(r=n.length,o=!0);const t=n.slice(i,r).trim();!t&&o||e.push(t),i=r+1,r=n.indexOf(",",i)}return e}function ht(t,e){const n=e||{};return(""===t[t.length-1]?[...t,""]:t).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}const ft=/[#.]/g,dt=/^data[-\w.:]+$/i,pt=/-[a-z]/g,mt=/[A-Z]/g;function gt(t,e){const n=B(e);let r=e,i=U;if(n in t.normal)return t.property[t.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&dt.test(e)){if("-"===e.charAt(4)){const t=e.slice(5).replace(pt,wt);r="data"+t.charAt(0).toUpperCase()+t.slice(1)}else{const t=e.slice(4);if(!pt.test(t)){let n=t.replace(mt,yt);"-"!==n.charAt(0)&&(n="-"+n),e="data"+n}}i=Z}return new i(r,e)}function yt(t){return"-"+t.toLowerCase()}function wt(t){return t.charAt(1).toUpperCase()}function bt(t){const e=String(t||"").trim();return e?e.split(/[ \t\n\r\f]+/g):[]}function vt(t){return t.join(" ").trim()}const Et=new Set(["button","menu","reset","submit"]),_t={}.hasOwnProperty;function At(t,e,n){const r=n&&function(t){const e={};let n=-1;for(;++n<t.length;)e[t[n].toLowerCase()]=t[n];return e}(n);return function(n,i,...o){let a,s=-1;if(null==n){a={type:"root",children:[]};const t=i;o.unshift(t)}else if(a=function(t,e){const n=t||"",r={};let i,o,a=0;for(;a<n.length;){ft.lastIndex=a;const t=ft.exec(n),e=n.slice(a,t?t.index:n.length);e&&(i?"#"===i?r.id=e:Array.isArray(r.className)?r.className.push(e):r.className=[e]:o=e,a+=e.length),t&&(i=t[0],a++)}return{type:"element",tagName:o||e||"div",properties:r,children:[]}}(n,e),a.tagName=a.tagName.toLowerCase(),r&&_t.call(r,a.tagName)&&(a.tagName=r[a.tagName]),function(t,e){return null!=t&&"object"==typeof t&&!Array.isArray(t)&&("input"===e||!t.type||"string"!=typeof t.type||(!("children"in t)||!Array.isArray(t.children))&&("button"===e?Et.has(t.type.toLowerCase()):!("value"in t)))}(i,a.tagName)){let e;for(e in i)_t.call(i,e)&&Mt(t,a.properties,e,i[e])}else o.unshift(i);for(;++s<o.length;)Tt(a.children,o[s]);return"element"===a.type&&"template"===a.tagName&&(a.content={type:"root",children:a.children},a.children=[]),a}}function Mt(t,e,n,r){const i=gt(t,n);let o,a=-1;if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;o=r}else o="boolean"==typeof r?r:"string"==typeof r?i.spaceSeparated?bt(r):i.commaSeparated?ut(r):i.commaOrSpaceSeparated?bt(ut(r).join(" ")):xt(i,i.property,r):Array.isArray(r)?r.concat():"style"===i.property?function(t){const e=[];let n;for(n in t)_t.call(t,n)&&e.push([n,t[n]].join(": "));return e.join("; ")}(r):String(r);if(Array.isArray(o)){const t=[];for(;++a<o.length;){const e=xt(i,i.property,o[a]);t[a]=e}o=t}if("className"===i.property&&Array.isArray(e.className)){const t=o;o=e.className.concat(t)}e[i.property]=o}}function Tt(t,e){let n=-1;if(null==e);else if("string"==typeof e||"number"==typeof e)t.push({type:"text",value:String(e)});else if(Array.isArray(e))for(;++n<e.length;)Tt(t,e[n]);else{if("object"!=typeof e||!("type"in e))throw new Error("Expected node, nodes, or string, got `"+e+"`");"root"===e.type?Tt(t,e.children):t.push(e)}}function xt(t,e,n){if("string"==typeof n){if(t.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((t.boolean||t.overloadedBoolean)&&(""===n||B(n)===B(e)))return!0}return n}const St=At(lt,"div"),kt=At(ct,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]),Ct=/\r?\n|\r/g,Dt={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},It={}.hasOwnProperty,Rt=Object.prototype;function Nt(t,e){const n=e||{};return Ot({file:n.file||void 0,location:!1,schema:"svg"===n.space?ct:lt,verbose:n.verbose||!1},t)}function Ot(t,e){let n;switch(e.nodeName){case"#comment":{const r=e;return n={type:"comment",value:r.data},Pt(t,r,n),n}case"#document":case"#document-fragment":{const r=e,i="mode"in r&&("quirks"===r.mode||"limited-quirks"===r.mode);if(n={type:"root",children:Lt(t,e.childNodes),data:{quirksMode:i}},t.file&&t.location){const e=String(t.file),r=function(t){const e=String(t),n=[];for(Ct.lastIndex=0;Ct.test(e);)n.push(Ct.lastIndex);return n.push(e.length+1),{toPoint:function(t){let e=-1;if("number"==typeof t&&t>-1&&t<n[n.length-1])for(;++e<n.length;)if(n[e]>t)return{line:e+1,column:t-(e>0?n[e-1]:0)+1,offset:t}},toOffset:function(t){const e=t&&t.line,r=t&&t.column;if("number"==typeof e&&"number"==typeof r&&!Number.isNaN(e)&&!Number.isNaN(r)&&e-1 in n){const t=(n[e-2]||0)+r-1||0;if(t>-1&&t<n[n.length-1])return t}}}}(e),i=r.toPoint(0),o=r.toPoint(e.length);n.position={start:i,end:o}}return n}case"#documentType":return n={type:"doctype"},Pt(t,e,n),n;case"#text":{const r=e;return n={type:"text",value:r.value},Pt(t,r,n),n}default:return n=function(t,e){const n=t.schema;t.schema=e.namespaceURI===Dt.svg?ct:lt;let r=-1;const i={};for(;++r<e.attrs.length;){const t=e.attrs[r],n=(t.prefix?t.prefix+":":"")+t.name;It.call(Rt,n)||(i[n]=t.value)}const o=("svg"===t.schema.space?kt:St)(e.tagName,i,Lt(t,e.childNodes));if(Pt(t,e,o),"template"===o.tagName){const n=e,r=n.sourceCodeLocation,i=r&&r.startTag&&Ft(r.startTag),a=r&&r.endTag&&Ft(r.endTag),s=Ot(t,n.content);i&&a&&t.file&&(s.position={start:i.end,end:a.start}),o.content=s}return t.schema=n,o}(t,e),n}}function Lt(t,e){let n=-1;const r=[];for(;++n<e.length;){const i=Ot(t,e[n]);r.push(i)}return r}function Pt(t,e,n){if("sourceCodeLocation"in e&&e.sourceCodeLocation&&t.file){const r=function(t,e,n){const r=Ft(n);if("element"===e.type){const i=e.children[e.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),t.verbose){const r={};let i;if(n.attrs)for(i in n.attrs)It.call(n.attrs,i)&&(r[gt(t.schema,i).property]=Ft(n.attrs[i]));n.startTag;const o=Ft(n.startTag),a=n.endTag?Ft(n.endTag):void 0,s={opening:o};a&&(s.closing=a),s.properties=r,e.data={position:s}}}return r}(t,n,e.sourceCodeLocation);r&&(t.location=!0,n.position=r)}}function Ft(t){const e=Bt({line:t.startLine,column:t.startCol,offset:t.startOffset}),n=Bt({line:t.endLine,column:t.endCol,offset:t.endOffset});return e||n?{start:e,end:n}:void 0}function Bt(t){return t.line&&t.column?t:void 0}const Ut=new Set([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]),jt="�";var Ht;!function(t){t[t.EOF=-1]="EOF",t[t.NULL=0]="NULL",t[t.TABULATION=9]="TABULATION",t[t.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",t[t.LINE_FEED=10]="LINE_FEED",t[t.FORM_FEED=12]="FORM_FEED",t[t.SPACE=32]="SPACE",t[t.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",t[t.QUOTATION_MARK=34]="QUOTATION_MARK",t[t.NUMBER_SIGN=35]="NUMBER_SIGN",t[t.AMPERSAND=38]="AMPERSAND",t[t.APOSTROPHE=39]="APOSTROPHE",t[t.HYPHEN_MINUS=45]="HYPHEN_MINUS",t[t.SOLIDUS=47]="SOLIDUS",t[t.DIGIT_0=48]="DIGIT_0",t[t.DIGIT_9=57]="DIGIT_9",t[t.SEMICOLON=59]="SEMICOLON",t[t.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",t[t.EQUALS_SIGN=61]="EQUALS_SIGN",t[t.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",t[t.QUESTION_MARK=63]="QUESTION_MARK",t[t.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",t[t.LATIN_CAPITAL_F=70]="LATIN_CAPITAL_F",t[t.LATIN_CAPITAL_X=88]="LATIN_CAPITAL_X",t[t.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",t[t.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",t[t.GRAVE_ACCENT=96]="GRAVE_ACCENT",t[t.LATIN_SMALL_A=97]="LATIN_SMALL_A",t[t.LATIN_SMALL_F=102]="LATIN_SMALL_F",t[t.LATIN_SMALL_X=120]="LATIN_SMALL_X",t[t.LATIN_SMALL_Z=122]="LATIN_SMALL_Z",t[t.REPLACEMENT_CHARACTER=65533]="REPLACEMENT_CHARACTER"}(Ht=Ht||(Ht={}));const zt="[CDATA[",qt="doctype",Wt="script";function Gt(t){return t>=55296&&t<=57343}function Kt(t){return 32!==t&&10!==t&&13!==t&&9!==t&&12!==t&&t>=1&&t<=31||t>=127&&t<=159}function Yt(t){return t>=64976&&t<=65007||Ut.has(t)}var Vt,Xt;!function(t){t.controlCharacterInInputStream="control-character-in-input-stream",t.noncharacterInInputStream="noncharacter-in-input-stream",t.surrogateInInputStream="surrogate-in-input-stream",t.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",t.endTagWithAttributes="end-tag-with-attributes",t.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",t.unexpectedSolidusInTag="unexpected-solidus-in-tag",t.unexpectedNullCharacter="unexpected-null-character",t.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",t.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",t.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",t.missingEndTagName="missing-end-tag-name",t.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",t.unknownNamedCharacterReference="unknown-named-character-reference",t.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",t.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",t.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",t.eofBeforeTagName="eof-before-tag-name",t.eofInTag="eof-in-tag",t.missingAttributeValue="missing-attribute-value",t.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",t.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",t.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",t.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",t.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",t.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",t.missingDoctypePublicIdentifier="missing-doctype-public-identifier",t.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",t.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",t.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",t.cdataInHtmlContent="cdata-in-html-content",t.incorrectlyOpenedComment="incorrectly-opened-comment",t.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",t.eofInDoctype="eof-in-doctype",t.nestedComment="nested-comment",t.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",t.eofInComment="eof-in-comment",t.incorrectlyClosedComment="incorrectly-closed-comment",t.eofInCdata="eof-in-cdata",t.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",t.nullCharacterReference="null-character-reference",t.surrogateCharacterReference="surrogate-character-reference",t.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",t.controlCharacterReference="control-character-reference",t.noncharacterCharacterReference="noncharacter-character-reference",t.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",t.missingDoctypeName="missing-doctype-name",t.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",t.duplicateAttribute="duplicate-attribute",t.nonConformingDoctype="non-conforming-doctype",t.missingDoctype="missing-doctype",t.misplacedDoctype="misplaced-doctype",t.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",t.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",t.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",t.openElementsLeftAfterEof="open-elements-left-after-eof",t.abandonedHeadElementChild="abandoned-head-element-child",t.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",t.nestedNoscriptInHead="nested-noscript-in-head",t.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"}(Vt=Vt||(Vt={}));class Zt{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t){const{line:e,col:n,offset:r}=this;return{code:t,startLine:e,endLine:e,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const e=this.html.charCodeAt(this.pos+1);if(function(t){return t>=56320&&t<=57343}(e))return this.pos++,this._addGap(),1024*(t-55296)+9216+e}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,Ht.EOF;return this._err(Vt.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,e){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=e}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,e){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(e)return this.html.startsWith(t,this.pos);for(let e=0;e<t.length;e++)if((32|this.html.charCodeAt(this.pos+e))!==t.charCodeAt(e))return!1;return!0}peek(t){const e=this.pos+t;if(e>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Ht.EOF;const n=this.html.charCodeAt(e);return n===Ht.CARRIAGE_RETURN?Ht.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Ht.EOF;let t=this.html.charCodeAt(this.pos);return t===Ht.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,Ht.LINE_FEED):t===Ht.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Gt(t)&&(t=this._processSurrogate(t)),null===this.handler.onParseError||t>31&&t<127||t===Ht.LINE_FEED||t===Ht.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){Kt(t)?this._err(Vt.controlCharacterInInputStream):Yt(t)&&this._err(Vt.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}function $t(t,e){for(let n=t.attrs.length-1;n>=0;n--)if(t.attrs[n].name===e)return t.attrs[n].value;return null}!function(t){t[t.CHARACTER=0]="CHARACTER",t[t.NULL_CHARACTER=1]="NULL_CHARACTER",t[t.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",t[t.START_TAG=3]="START_TAG",t[t.END_TAG=4]="END_TAG",t[t.COMMENT=5]="COMMENT",t[t.DOCTYPE=6]="DOCTYPE",t[t.EOF=7]="EOF",t[t.HIBERNATION=8]="HIBERNATION"}(Xt=Xt||(Xt={}));const Qt=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((t=>t.charCodeAt(0)))),Jt=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((t=>t.charCodeAt(0))));var te;const ee=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),ne=null!==(te=String.fromCodePoint)&&void 0!==te?te:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),e+=String.fromCharCode(t),e};var re,ie,oe,ae,se,le,ce,ue,he,fe;function de(t){return t>=re.ZERO&&t<=re.NINE}function pe(t){return t>=re.UPPER_A&&t<=re.UPPER_F||t>=re.LOWER_A&&t<=re.LOWER_F}function me(t){return t===re.EQUALS||function(t){return t>=re.UPPER_A&&t<=re.UPPER_Z||t>=re.LOWER_A&&t<=re.LOWER_Z||de(t)}(t)}!function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"}(re||(re={})),function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"}(ie||(ie={})),function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"}(oe||(oe={})),function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"}(ae||(ae={}));class ge{constructor(t,e,n){this.decodeTree=t,this.emitCodePoint=e,this.errors=n,this.state=oe.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=ae.Strict}startEntity(t){this.decodeMode=t,this.state=oe.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,e){switch(this.state){case oe.EntityStart:return t.charCodeAt(e)===re.NUM?(this.state=oe.NumericStart,this.consumed+=1,this.stateNumericStart(t,e+1)):(this.state=oe.NamedEntity,this.stateNamedEntity(t,e));case oe.NumericStart:return this.stateNumericStart(t,e);case oe.NumericDecimal:return this.stateNumericDecimal(t,e);case oe.NumericHex:return this.stateNumericHex(t,e);case oe.NamedEntity:return this.stateNamedEntity(t,e)}}stateNumericStart(t,e){return e>=t.length?-1:(32|t.charCodeAt(e))===re.LOWER_X?(this.state=oe.NumericHex,this.consumed+=1,this.stateNumericHex(t,e+1)):(this.state=oe.NumericDecimal,this.stateNumericDecimal(t,e))}addToNumericResult(t,e,n,r){if(e!==n){const i=n-e;this.result=this.result*Math.pow(r,i)+parseInt(t.substr(e,i),r),this.consumed+=i}}stateNumericHex(t,e){const n=e;for(;e<t.length;){const r=t.charCodeAt(e);if(!de(r)&&!pe(r))return this.addToNumericResult(t,n,e,16),this.emitNumericEntity(r,3);e+=1}return this.addToNumericResult(t,n,e,16),-1}stateNumericDecimal(t,e){const n=e;for(;e<t.length;){const r=t.charCodeAt(e);if(!de(r))return this.addToNumericResult(t,n,e,10),this.emitNumericEntity(r,2);e+=1}return this.addToNumericResult(t,n,e,10),-1}emitNumericEntity(t,e){var n;if(this.consumed<=e)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===re.SEMI)this.consumed+=1;else if(this.decodeMode===ae.Strict)return 0;return this.emitCodePoint(function(t){var e;return t>=55296&&t<=57343||t>1114111?65533:null!==(e=ee.get(t))&&void 0!==e?e:t}(this.result),this.consumed),this.errors&&(t!==re.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,e){const{decodeTree:n}=this;let r=n[this.treeIndex],i=(r&ie.VALUE_LENGTH)>>14;for(;e<t.length;e++,this.excess++){const o=t.charCodeAt(e);if(this.treeIndex=we(n,r,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return 0===this.result||this.decodeMode===ae.Attribute&&(0===i||me(o))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&ie.VALUE_LENGTH)>>14,0!==i){if(o===re.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==ae.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:e,decodeTree:n}=this,r=(n[e]&ie.VALUE_LENGTH)>>14;return this.emitNamedEntityData(e,r,this.consumed),null===(t=this.errors)||void 0===t||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,e,n){const{decodeTree:r}=this;return this.emitCodePoint(1===e?r[t]&~ie.VALUE_LENGTH:r[t+1],n),3===e&&this.emitCodePoint(r[t+2],n),n}end(){var t;switch(this.state){case oe.NamedEntity:return 0===this.result||this.decodeMode===ae.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case oe.NumericDecimal:return this.emitNumericEntity(0,2);case oe.NumericHex:return this.emitNumericEntity(0,3);case oe.NumericStart:return null===(t=this.errors)||void 0===t||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case oe.EntityStart:return 0}}}function ye(t){let e="";const n=new ge(t,(t=>e+=ne(t)));return function(t,r){let i=0,o=0;for(;(o=t.indexOf("&",o))>=0;){e+=t.slice(i,o),n.startEntity(r);const a=n.write(t,o+1);if(a<0){i=o+n.end();break}i=o+a,o=0===a?i+1:i}const a=e+t.slice(i);return e="",a}}function we(t,e,n,r){const i=(e&ie.BRANCH_LENGTH)>>7,o=e&ie.JUMP_TABLE;if(0===i)return 0!==o&&r===o?n:-1;if(o){const e=r-o;return e<0||e>=i?-1:t[n+e]-1}let a=n,s=a+i-1;for(;a<=s;){const e=a+s>>>1,n=t[e];if(n<r)a=e+1;else{if(!(n>r))return t[e+i];s=e-1}}return-1}ye(Qt),ye(Jt),(fe=se=se||(se={})).HTML="http://www.w3.org/1999/xhtml",fe.MATHML="http://www.w3.org/1998/Math/MathML",fe.SVG="http://www.w3.org/2000/svg",fe.XLINK="http://www.w3.org/1999/xlink",fe.XML="http://www.w3.org/XML/1998/namespace",fe.XMLNS="http://www.w3.org/2000/xmlns/",function(t){t.TYPE="type",t.ACTION="action",t.ENCODING="encoding",t.PROMPT="prompt",t.NAME="name",t.COLOR="color",t.FACE="face",t.SIZE="size"}(le=le||(le={})),function(t){t.NO_QUIRKS="no-quirks",t.QUIRKS="quirks",t.LIMITED_QUIRKS="limited-quirks"}(ce=ce||(ce={})),function(t){t.A="a",t.ADDRESS="address",t.ANNOTATION_XML="annotation-xml",t.APPLET="applet",t.AREA="area",t.ARTICLE="article",t.ASIDE="aside",t.B="b",t.BASE="base",t.BASEFONT="basefont",t.BGSOUND="bgsound",t.BIG="big",t.BLOCKQUOTE="blockquote",t.BODY="body",t.BR="br",t.BUTTON="button",t.CAPTION="caption",t.CENTER="center",t.CODE="code",t.COL="col",t.COLGROUP="colgroup",t.DD="dd",t.DESC="desc",t.DETAILS="details",t.DIALOG="dialog",t.DIR="dir",t.DIV="div",t.DL="dl",t.DT="dt",t.EM="em",t.EMBED="embed",t.FIELDSET="fieldset",t.FIGCAPTION="figcaption",t.FIGURE="figure",t.FONT="font",t.FOOTER="footer",t.FOREIGN_OBJECT="foreignObject",t.FORM="form",t.FRAME="frame",t.FRAMESET="frameset",t.H1="h1",t.H2="h2",t.H3="h3",t.H4="h4",t.H5="h5",t.H6="h6",t.HEAD="head",t.HEADER="header",t.HGROUP="hgroup",t.HR="hr",t.HTML="html",t.I="i",t.IMG="img",t.IMAGE="image",t.INPUT="input",t.IFRAME="iframe",t.KEYGEN="keygen",t.LABEL="label",t.LI="li",t.LINK="link",t.LISTING="listing",t.MAIN="main",t.MALIGNMARK="malignmark",t.MARQUEE="marquee",t.MATH="math",t.MENU="menu",t.META="meta",t.MGLYPH="mglyph",t.MI="mi",t.MO="mo",t.MN="mn",t.MS="ms",t.MTEXT="mtext",t.NAV="nav",t.NOBR="nobr",t.NOFRAMES="noframes",t.NOEMBED="noembed",t.NOSCRIPT="noscript",t.OBJECT="object",t.OL="ol",t.OPTGROUP="optgroup",t.OPTION="option",t.P="p",t.PARAM="param",t.PLAINTEXT="plaintext",t.PRE="pre",t.RB="rb",t.RP="rp",t.RT="rt",t.RTC="rtc",t.RUBY="ruby",t.S="s",t.SCRIPT="script",t.SECTION="section",t.SELECT="select",t.SOURCE="source",t.SMALL="small",t.SPAN="span",t.STRIKE="strike",t.STRONG="strong",t.STYLE="style",t.SUB="sub",t.SUMMARY="summary",t.SUP="sup",t.TABLE="table",t.TBODY="tbody",t.TEMPLATE="template",t.TEXTAREA="textarea",t.TFOOT="tfoot",t.TD="td",t.TH="th",t.THEAD="thead",t.TITLE="title",t.TR="tr",t.TRACK="track",t.TT="tt",t.U="u",t.UL="ul",t.SVG="svg",t.VAR="var",t.WBR="wbr",t.XMP="xmp"}(ue=ue||(ue={})),function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.A=1]="A",t[t.ADDRESS=2]="ADDRESS",t[t.ANNOTATION_XML=3]="ANNOTATION_XML",t[t.APPLET=4]="APPLET",t[t.AREA=5]="AREA",t[t.ARTICLE=6]="ARTICLE",t[t.ASIDE=7]="ASIDE",t[t.B=8]="B",t[t.BASE=9]="BASE",t[t.BASEFONT=10]="BASEFONT",t[t.BGSOUND=11]="BGSOUND",t[t.BIG=12]="BIG",t[t.BLOCKQUOTE=13]="BLOCKQUOTE",t[t.BODY=14]="BODY",t[t.BR=15]="BR",t[t.BUTTON=16]="BUTTON",t[t.CAPTION=17]="CAPTION",t[t.CENTER=18]="CENTER",t[t.CODE=19]="CODE",t[t.COL=20]="COL",t[t.COLGROUP=21]="COLGROUP",t[t.DD=22]="DD",t[t.DESC=23]="DESC",t[t.DETAILS=24]="DETAILS",t[t.DIALOG=25]="DIALOG",t[t.DIR=26]="DIR",t[t.DIV=27]="DIV",t[t.DL=28]="DL",t[t.DT=29]="DT",t[t.EM=30]="EM",t[t.EMBED=31]="EMBED",t[t.FIELDSET=32]="FIELDSET",t[t.FIGCAPTION=33]="FIGCAPTION",t[t.FIGURE=34]="FIGURE",t[t.FONT=35]="FONT",t[t.FOOTER=36]="FOOTER",t[t.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",t[t.FORM=38]="FORM",t[t.FRAME=39]="FRAME",t[t.FRAMESET=40]="FRAMESET",t[t.H1=41]="H1",t[t.H2=42]="H2",t[t.H3=43]="H3",t[t.H4=44]="H4",t[t.H5=45]="H5",t[t.H6=46]="H6",t[t.HEAD=47]="HEAD",t[t.HEADER=48]="HEADER",t[t.HGROUP=49]="HGROUP",t[t.HR=50]="HR",t[t.HTML=51]="HTML",t[t.I=52]="I",t[t.IMG=53]="IMG",t[t.IMAGE=54]="IMAGE",t[t.INPUT=55]="INPUT",t[t.IFRAME=56]="IFRAME",t[t.KEYGEN=57]="KEYGEN",t[t.LABEL=58]="LABEL",t[t.LI=59]="LI",t[t.LINK=60]="LINK",t[t.LISTING=61]="LISTING",t[t.MAIN=62]="MAIN",t[t.MALIGNMARK=63]="MALIGNMARK",t[t.MARQUEE=64]="MARQUEE",t[t.MATH=65]="MATH",t[t.MENU=66]="MENU",t[t.META=67]="META",t[t.MGLYPH=68]="MGLYPH",t[t.MI=69]="MI",t[t.MO=70]="MO",t[t.MN=71]="MN",t[t.MS=72]="MS",t[t.MTEXT=73]="MTEXT",t[t.NAV=74]="NAV",t[t.NOBR=75]="NOBR",t[t.NOFRAMES=76]="NOFRAMES",t[t.NOEMBED=77]="NOEMBED",t[t.NOSCRIPT=78]="NOSCRIPT",t[t.OBJECT=79]="OBJECT",t[t.OL=80]="OL",t[t.OPTGROUP=81]="OPTGROUP",t[t.OPTION=82]="OPTION",t[t.P=83]="P",t[t.PARAM=84]="PARAM",t[t.PLAINTEXT=85]="PLAINTEXT",t[t.PRE=86]="PRE",t[t.RB=87]="RB",t[t.RP=88]="RP",t[t.RT=89]="RT",t[t.RTC=90]="RTC",t[t.RUBY=91]="RUBY",t[t.S=92]="S",t[t.SCRIPT=93]="SCRIPT",t[t.SECTION=94]="SECTION",t[t.SELECT=95]="SELECT",t[t.SOURCE=96]="SOURCE",t[t.SMALL=97]="SMALL",t[t.SPAN=98]="SPAN",t[t.STRIKE=99]="STRIKE",t[t.STRONG=100]="STRONG",t[t.STYLE=101]="STYLE",t[t.SUB=102]="SUB",t[t.SUMMARY=103]="SUMMARY",t[t.SUP=104]="SUP",t[t.TABLE=105]="TABLE",t[t.TBODY=106]="TBODY",t[t.TEMPLATE=107]="TEMPLATE",t[t.TEXTAREA=108]="TEXTAREA",t[t.TFOOT=109]="TFOOT",t[t.TD=110]="TD",t[t.TH=111]="TH",t[t.THEAD=112]="THEAD",t[t.TITLE=113]="TITLE",t[t.TR=114]="TR",t[t.TRACK=115]="TRACK",t[t.TT=116]="TT",t[t.U=117]="U",t[t.UL=118]="UL",t[t.SVG=119]="SVG",t[t.VAR=120]="VAR",t[t.WBR=121]="WBR",t[t.XMP=122]="XMP"}(he=he||(he={}));const be=new Map([[ue.A,he.A],[ue.ADDRESS,he.ADDRESS],[ue.ANNOTATION_XML,he.ANNOTATION_XML],[ue.APPLET,he.APPLET],[ue.AREA,he.AREA],[ue.ARTICLE,he.ARTICLE],[ue.ASIDE,he.ASIDE],[ue.B,he.B],[ue.BASE,he.BASE],[ue.BASEFONT,he.BASEFONT],[ue.BGSOUND,he.BGSOUND],[ue.BIG,he.BIG],[ue.BLOCKQUOTE,he.BLOCKQUOTE],[ue.BODY,he.BODY],[ue.BR,he.BR],[ue.BUTTON,he.BUTTON],[ue.CAPTION,he.CAPTION],[ue.CENTER,he.CENTER],[ue.CODE,he.CODE],[ue.COL,he.COL],[ue.COLGROUP,he.COLGROUP],[ue.DD,he.DD],[ue.DESC,he.DESC],[ue.DETAILS,he.DETAILS],[ue.DIALOG,he.DIALOG],[ue.DIR,he.DIR],[ue.DIV,he.DIV],[ue.DL,he.DL],[ue.DT,he.DT],[ue.EM,he.EM],[ue.EMBED,he.EMBED],[ue.FIELDSET,he.FIELDSET],[ue.FIGCAPTION,he.FIGCAPTION],[ue.FIGURE,he.FIGURE],[ue.FONT,he.FONT],[ue.FOOTER,he.FOOTER],[ue.FOREIGN_OBJECT,he.FOREIGN_OBJECT],[ue.FORM,he.FORM],[ue.FRAME,he.FRAME],[ue.FRAMESET,he.FRAMESET],[ue.H1,he.H1],[ue.H2,he.H2],[ue.H3,he.H3],[ue.H4,he.H4],[ue.H5,he.H5],[ue.H6,he.H6],[ue.HEAD,he.HEAD],[ue.HEADER,he.HEADER],[ue.HGROUP,he.HGROUP],[ue.HR,he.HR],[ue.HTML,he.HTML],[ue.I,he.I],[ue.IMG,he.IMG],[ue.IMAGE,he.IMAGE],[ue.INPUT,he.INPUT],[ue.IFRAME,he.IFRAME],[ue.KEYGEN,he.KEYGEN],[ue.LABEL,he.LABEL],[ue.LI,he.LI],[ue.LINK,he.LINK],[ue.LISTING,he.LISTING],[ue.MAIN,he.MAIN],[ue.MALIGNMARK,he.MALIGNMARK],[ue.MARQUEE,he.MARQUEE],[ue.MATH,he.MATH],[ue.MENU,he.MENU],[ue.META,he.META],[ue.MGLYPH,he.MGLYPH],[ue.MI,he.MI],[ue.MO,he.MO],[ue.MN,he.MN],[ue.MS,he.MS],[ue.MTEXT,he.MTEXT],[ue.NAV,he.NAV],[ue.NOBR,he.NOBR],[ue.NOFRAMES,he.NOFRAMES],[ue.NOEMBED,he.NOEMBED],[ue.NOSCRIPT,he.NOSCRIPT],[ue.OBJECT,he.OBJECT],[ue.OL,he.OL],[ue.OPTGROUP,he.OPTGROUP],[ue.OPTION,he.OPTION],[ue.P,he.P],[ue.PARAM,he.PARAM],[ue.PLAINTEXT,he.PLAINTEXT],[ue.PRE,he.PRE],[ue.RB,he.RB],[ue.RP,he.RP],[ue.RT,he.RT],[ue.RTC,he.RTC],[ue.RUBY,he.RUBY],[ue.S,he.S],[ue.SCRIPT,he.SCRIPT],[ue.SECTION,he.SECTION],[ue.SELECT,he.SELECT],[ue.SOURCE,he.SOURCE],[ue.SMALL,he.SMALL],[ue.SPAN,he.SPAN],[ue.STRIKE,he.STRIKE],[ue.STRONG,he.STRONG],[ue.STYLE,he.STYLE],[ue.SUB,he.SUB],[ue.SUMMARY,he.SUMMARY],[ue.SUP,he.SUP],[ue.TABLE,he.TABLE],[ue.TBODY,he.TBODY],[ue.TEMPLATE,he.TEMPLATE],[ue.TEXTAREA,he.TEXTAREA],[ue.TFOOT,he.TFOOT],[ue.TD,he.TD],[ue.TH,he.TH],[ue.THEAD,he.THEAD],[ue.TITLE,he.TITLE],[ue.TR,he.TR],[ue.TRACK,he.TRACK],[ue.TT,he.TT],[ue.U,he.U],[ue.UL,he.UL],[ue.SVG,he.SVG],[ue.VAR,he.VAR],[ue.WBR,he.WBR],[ue.XMP,he.XMP]]);function ve(t){var e;return null!==(e=be.get(t))&&void 0!==e?e:he.UNKNOWN}const Ee=he,_e={[se.HTML]:new Set([Ee.ADDRESS,Ee.APPLET,Ee.AREA,Ee.ARTICLE,Ee.ASIDE,Ee.BASE,Ee.BASEFONT,Ee.BGSOUND,Ee.BLOCKQUOTE,Ee.BODY,Ee.BR,Ee.BUTTON,Ee.CAPTION,Ee.CENTER,Ee.COL,Ee.COLGROUP,Ee.DD,Ee.DETAILS,Ee.DIR,Ee.DIV,Ee.DL,Ee.DT,Ee.EMBED,Ee.FIELDSET,Ee.FIGCAPTION,Ee.FIGURE,Ee.FOOTER,Ee.FORM,Ee.FRAME,Ee.FRAMESET,Ee.H1,Ee.H2,Ee.H3,Ee.H4,Ee.H5,Ee.H6,Ee.HEAD,Ee.HEADER,Ee.HGROUP,Ee.HR,Ee.HTML,Ee.IFRAME,Ee.IMG,Ee.INPUT,Ee.LI,Ee.LINK,Ee.LISTING,Ee.MAIN,Ee.MARQUEE,Ee.MENU,Ee.META,Ee.NAV,Ee.NOEMBED,Ee.NOFRAMES,Ee.NOSCRIPT,Ee.OBJECT,Ee.OL,Ee.P,Ee.PARAM,Ee.PLAINTEXT,Ee.PRE,Ee.SCRIPT,Ee.SECTION,Ee.SELECT,Ee.SOURCE,Ee.STYLE,Ee.SUMMARY,Ee.TABLE,Ee.TBODY,Ee.TD,Ee.TEMPLATE,Ee.TEXTAREA,Ee.TFOOT,Ee.TH,Ee.THEAD,Ee.TITLE,Ee.TR,Ee.TRACK,Ee.UL,Ee.WBR,Ee.XMP]),[se.MATHML]:new Set([Ee.MI,Ee.MO,Ee.MN,Ee.MS,Ee.MTEXT,Ee.ANNOTATION_XML]),[se.SVG]:new Set([Ee.TITLE,Ee.FOREIGN_OBJECT,Ee.DESC]),[se.XLINK]:new Set,[se.XML]:new Set,[se.XMLNS]:new Set};function Ae(t){return t===Ee.H1||t===Ee.H2||t===Ee.H3||t===Ee.H4||t===Ee.H5||t===Ee.H6}new Set([ue.STYLE,ue.SCRIPT,ue.XMP,ue.IFRAME,ue.NOEMBED,ue.NOFRAMES,ue.PLAINTEXT]);const Me=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);var Te;!function(t){t[t.DATA=0]="DATA",t[t.RCDATA=1]="RCDATA",t[t.RAWTEXT=2]="RAWTEXT",t[t.SCRIPT_DATA=3]="SCRIPT_DATA",t[t.PLAINTEXT=4]="PLAINTEXT",t[t.TAG_OPEN=5]="TAG_OPEN",t[t.END_TAG_OPEN=6]="END_TAG_OPEN",t[t.TAG_NAME=7]="TAG_NAME",t[t.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",t[t.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",t[t.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",t[t.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",t[t.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",t[t.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",t[t.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",t[t.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",t[t.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",t[t.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",t[t.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",t[t.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",t[t.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",t[t.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",t[t.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",t[t.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",t[t.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",t[t.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",t[t.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",t[t.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",t[t.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",t[t.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",t[t.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",t[t.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",t[t.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",t[t.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",t[t.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",t[t.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",t[t.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",t[t.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",t[t.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",t[t.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",t[t.BOGUS_COMMENT=40]="BOGUS_COMMENT",t[t.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",t[t.COMMENT_START=42]="COMMENT_START",t[t.COMMENT_START_DASH=43]="COMMENT_START_DASH",t[t.COMMENT=44]="COMMENT",t[t.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",t[t.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",t[t.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",t[t.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",t[t.COMMENT_END_DASH=49]="COMMENT_END_DASH",t[t.COMMENT_END=50]="COMMENT_END",t[t.COMMENT_END_BANG=51]="COMMENT_END_BANG",t[t.DOCTYPE=52]="DOCTYPE",t[t.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",t[t.DOCTYPE_NAME=54]="DOCTYPE_NAME",t[t.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",t[t.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",t[t.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",t[t.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",t[t.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",t[t.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",t[t.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",t[t.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",t[t.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",t[t.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",t[t.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",t[t.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",t[t.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",t[t.CDATA_SECTION=68]="CDATA_SECTION",t[t.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",t[t.CDATA_SECTION_END=70]="CDATA_SECTION_END",t[t.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",t[t.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",t[t.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",t[t.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",t[t.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",t[t.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",t[t.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",t[t.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"}(Te||(Te={}));const xe={DATA:Te.DATA,RCDATA:Te.RCDATA,RAWTEXT:Te.RAWTEXT,SCRIPT_DATA:Te.SCRIPT_DATA,PLAINTEXT:Te.PLAINTEXT,CDATA_SECTION:Te.CDATA_SECTION};function Se(t){return t>=Ht.DIGIT_0&&t<=Ht.DIGIT_9}function ke(t){return t>=Ht.LATIN_CAPITAL_A&&t<=Ht.LATIN_CAPITAL_Z}function Ce(t){return function(t){return t>=Ht.LATIN_SMALL_A&&t<=Ht.LATIN_SMALL_Z}(t)||ke(t)}function De(t){return Ce(t)||Se(t)}function Ie(t){return t>=Ht.LATIN_CAPITAL_A&&t<=Ht.LATIN_CAPITAL_F}function Re(t){return t>=Ht.LATIN_SMALL_A&&t<=Ht.LATIN_SMALL_F}function Ne(t){return t+32}function Oe(t){return t===Ht.SPACE||t===Ht.LINE_FEED||t===Ht.TABULATION||t===Ht.FORM_FEED}function Le(t){return Oe(t)||t===Ht.SOLIDUS||t===Ht.GREATER_THAN_SIGN}class Pe{constructor(t,e){this.options=t,this.handler=e,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=Te.DATA,this.returnState=Te.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Zt(e),this.currentLocation=this.getCurrentLocation(-1)}_err(t){var e,n;null===(n=(e=this.handler).onParseError)||void 0===n||n.call(e,this.preprocessor.getError(t))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==t||t())}write(t,e,n){this.active=!0,this.preprocessor.write(t,e),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(t){this.consumedAfterSnapshot-=t,this.preprocessor.retreat(t)}_reconsumeInState(t,e){this.state=t,this._callState(e)}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let e=0;e<t;e++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,e){return!!this.preprocessor.startsWith(t,e)&&(this._advanceBy(t.length-1),!0)}_createStartTagToken(){this.currentToken={type:Xt.START_TAG,tagName:"",tagID:he.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Xt.END_TAG,tagName:"",tagID:he.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:Xt.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:Xt.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,e){this.currentCharacterToken={type:t,chars:e,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,e;const n=this.currentToken;null===$t(n,this.currentAttr.name)?(n.attrs.push(this.currentAttr),n.location&&this.currentLocation&&((null!==(t=(e=n.location).attrs)&&void 0!==t?t:e.attrs=Object.create(null))[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue())):this._err(Vt.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=ve(t.tagName),t.type===Xt.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(Vt.endTagWithAttributes),t.selfClosing&&this._err(Vt.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case Xt.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case Xt.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case Xt.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:Xt.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,e){if(this.currentCharacterToken){if(this.currentCharacterToken.type===t)return void(this.currentCharacterToken.chars+=e);this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk()}this._createCharacterToken(t,e)}_emitCodePoint(t){const e=Oe(t)?Xt.WHITESPACE_CHARACTER:t===Ht.NULL?Xt.NULL_CHARACTER:Xt.CHARACTER;this._appendCharToCurrentCharacterToken(e,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(Xt.CHARACTER,t)}_matchNamedCharacterReference(t){let e=null,n=0,r=!1;for(let o=0,a=Qt[0];o>=0&&(o=we(Qt,a,o+1,t),!(o<0));t=this._consume()){n+=1,a=Qt[o];const s=a&ie.VALUE_LENGTH;if(s){const a=(s>>14)-1;if(t!==Ht.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((i=this.preprocessor.peek(1))===Ht.EQUALS_SIGN||De(i))?(e=[Ht.AMPERSAND],o+=a):(e=0===a?[Qt[o]&~ie.VALUE_LENGTH]:1===a?[Qt[++o]]:[Qt[++o],Qt[++o]],n=0,r=t!==Ht.SEMICOLON),0===a){this._consume();break}}}var i;return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(Vt.missingSemicolonAfterCharacterReference),this._unconsume(1),e}_isCharacterReferenceInAttribute(){return this.returnState===Te.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===Te.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===Te.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case Te.DATA:this._stateData(t);break;case Te.RCDATA:this._stateRcdata(t);break;case Te.RAWTEXT:this._stateRawtext(t);break;case Te.SCRIPT_DATA:this._stateScriptData(t);break;case Te.PLAINTEXT:this._statePlaintext(t);break;case Te.TAG_OPEN:this._stateTagOpen(t);break;case Te.END_TAG_OPEN:this._stateEndTagOpen(t);break;case Te.TAG_NAME:this._stateTagName(t);break;case Te.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(t);break;case Te.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(t);break;case Te.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(t);break;case Te.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(t);break;case Te.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(t);break;case Te.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(t);break;case Te.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(t);break;case Te.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(t);break;case Te.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(t);break;case Te.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(t);break;case Te.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(t);break;case Te.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(t);break;case Te.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(t);break;case Te.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(t);break;case Te.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(t);break;case Te.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(t);break;case Te.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(t);break;case Te.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(t);break;case Te.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(t);break;case Te.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(t);break;case Te.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(t);break;case Te.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(t);break;case Te.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(t);break;case Te.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(t);break;case Te.ATTRIBUTE_NAME:this._stateAttributeName(t);break;case Te.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(t);break;case Te.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(t);break;case Te.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(t);break;case Te.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(t);break;case Te.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(t);break;case Te.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(t);break;case Te.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(t);break;case Te.BOGUS_COMMENT:this._stateBogusComment(t);break;case Te.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(t);break;case Te.COMMENT_START:this._stateCommentStart(t);break;case Te.COMMENT_START_DASH:this._stateCommentStartDash(t);break;case Te.COMMENT:this._stateComment(t);break;case Te.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(t);break;case Te.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(t);break;case Te.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(t);break;case Te.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(t);break;case Te.COMMENT_END_DASH:this._stateCommentEndDash(t);break;case Te.COMMENT_END:this._stateCommentEnd(t);break;case Te.COMMENT_END_BANG:this._stateCommentEndBang(t);break;case Te.DOCTYPE:this._stateDoctype(t);break;case Te.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(t);break;case Te.DOCTYPE_NAME:this._stateDoctypeName(t);break;case Te.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(t);break;case Te.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(t);break;case Te.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(t);break;case Te.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(t);break;case Te.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(t);break;case Te.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(t);break;case Te.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break;case Te.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(t);break;case Te.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(t);break;case Te.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(t);break;case Te.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(t);break;case Te.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(t);break;case Te.BOGUS_DOCTYPE:this._stateBogusDoctype(t);break;case Te.CDATA_SECTION:this._stateCdataSection(t);break;case Te.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(t);break;case Te.CDATA_SECTION_END:this._stateCdataSectionEnd(t);break;case Te.CHARACTER_REFERENCE:this._stateCharacterReference(t);break;case Te.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(t);break;case Te.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(t);break;case Te.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(t);break;case Te.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(t);break;case Te.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(t);break;case Te.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(t);break;case Te.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(t);break;default:throw new Error("Unknown state")}}_stateData(t){switch(t){case Ht.LESS_THAN_SIGN:this.state=Te.TAG_OPEN;break;case Ht.AMPERSAND:this.returnState=Te.DATA,this.state=Te.CHARACTER_REFERENCE;break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this._emitCodePoint(t);break;case Ht.EOF:this._emitEOFToken();break;default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case Ht.AMPERSAND:this.returnState=Te.RCDATA,this.state=Te.CHARACTER_REFERENCE;break;case Ht.LESS_THAN_SIGN:this.state=Te.RCDATA_LESS_THAN_SIGN;break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this._emitChars(jt);break;case Ht.EOF:this._emitEOFToken();break;default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case Ht.LESS_THAN_SIGN:this.state=Te.RAWTEXT_LESS_THAN_SIGN;break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this._emitChars(jt);break;case Ht.EOF:this._emitEOFToken();break;default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case Ht.LESS_THAN_SIGN:this.state=Te.SCRIPT_DATA_LESS_THAN_SIGN;break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this._emitChars(jt);break;case Ht.EOF:this._emitEOFToken();break;default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this._emitChars(jt);break;case Ht.EOF:this._emitEOFToken();break;default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Ce(t))this._createStartTagToken(),this.state=Te.TAG_NAME,this._stateTagName(t);else switch(t){case Ht.EXCLAMATION_MARK:this.state=Te.MARKUP_DECLARATION_OPEN;break;case Ht.SOLIDUS:this.state=Te.END_TAG_OPEN;break;case Ht.QUESTION_MARK:this._err(Vt.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=Te.BOGUS_COMMENT,this._stateBogusComment(t);break;case Ht.EOF:this._err(Vt.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(Vt.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=Te.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Ce(t))this._createEndTagToken(),this.state=Te.TAG_NAME,this._stateTagName(t);else switch(t){case Ht.GREATER_THAN_SIGN:this._err(Vt.missingEndTagName),this.state=Te.DATA;break;case Ht.EOF:this._err(Vt.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break;default:this._err(Vt.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=Te.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const e=this.currentToken;switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:this.state=Te.BEFORE_ATTRIBUTE_NAME;break;case Ht.SOLIDUS:this.state=Te.SELF_CLOSING_START_TAG;break;case Ht.GREATER_THAN_SIGN:this.state=Te.DATA,this.emitCurrentTagToken();break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),e.tagName+=jt;break;case Ht.EOF:this._err(Vt.eofInTag),this._emitEOFToken();break;default:e.tagName+=String.fromCodePoint(ke(t)?Ne(t):t)}}_stateRcdataLessThanSign(t){t===Ht.SOLIDUS?this.state=Te.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=Te.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){Ce(t)?(this.state=Te.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=Te.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();switch(this._createEndTagToken(),this.currentToken.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=Te.BEFORE_ATTRIBUTE_NAME,!1;case Ht.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=Te.SELF_CLOSING_START_TAG,!1;case Ht.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=Te.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=Te.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===Ht.SOLIDUS?this.state=Te.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=Te.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){Ce(t)?(this.state=Te.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=Te.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=Te.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case Ht.SOLIDUS:this.state=Te.SCRIPT_DATA_END_TAG_OPEN;break;case Ht.EXCLAMATION_MARK:this.state=Te.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<"),this.state=Te.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){Ce(t)?(this.state=Te.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=Te.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=Te.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===Ht.HYPHEN_MINUS?(this.state=Te.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=Te.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===Ht.HYPHEN_MINUS?(this.state=Te.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=Te.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case Ht.HYPHEN_MINUS:this.state=Te.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case Ht.LESS_THAN_SIGN:this.state=Te.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this._emitChars(jt);break;case Ht.EOF:this._err(Vt.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case Ht.HYPHEN_MINUS:this.state=Te.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case Ht.LESS_THAN_SIGN:this.state=Te.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this.state=Te.SCRIPT_DATA_ESCAPED,this._emitChars(jt);break;case Ht.EOF:this._err(Vt.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Te.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case Ht.HYPHEN_MINUS:this._emitChars("-");break;case Ht.LESS_THAN_SIGN:this.state=Te.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case Ht.GREATER_THAN_SIGN:this.state=Te.SCRIPT_DATA,this._emitChars(">");break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this.state=Te.SCRIPT_DATA_ESCAPED,this._emitChars(jt);break;case Ht.EOF:this._err(Vt.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Te.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===Ht.SOLIDUS?this.state=Te.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Ce(t)?(this._emitChars("<"),this.state=Te.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=Te.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){Ce(t)?(this.state=Te.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=Te.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=Te.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(Wt,!1)&&Le(this.preprocessor.peek(6))){this._emitCodePoint(t);for(let t=0;t<6;t++)this._emitCodePoint(this._consume());this.state=Te.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=Te.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case Ht.HYPHEN_MINUS:this.state=Te.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case Ht.LESS_THAN_SIGN:this.state=Te.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this._emitChars(jt);break;case Ht.EOF:this._err(Vt.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case Ht.HYPHEN_MINUS:this.state=Te.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case Ht.LESS_THAN_SIGN:this.state=Te.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this.state=Te.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(jt);break;case Ht.EOF:this._err(Vt.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Te.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case Ht.HYPHEN_MINUS:this._emitChars("-");break;case Ht.LESS_THAN_SIGN:this.state=Te.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case Ht.GREATER_THAN_SIGN:this.state=Te.SCRIPT_DATA,this._emitChars(">");break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this.state=Te.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(jt);break;case Ht.EOF:this._err(Vt.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Te.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===Ht.SOLIDUS?(this.state=Te.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=Te.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(Wt,!1)&&Le(this.preprocessor.peek(6))){this._emitCodePoint(t);for(let t=0;t<6;t++)this._emitCodePoint(this._consume());this.state=Te.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=Te.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:break;case Ht.SOLIDUS:case Ht.GREATER_THAN_SIGN:case Ht.EOF:this.state=Te.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break;case Ht.EQUALS_SIGN:this._err(Vt.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=Te.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=Te.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:case Ht.SOLIDUS:case Ht.GREATER_THAN_SIGN:case Ht.EOF:this._leaveAttrName(),this.state=Te.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break;case Ht.EQUALS_SIGN:this._leaveAttrName(),this.state=Te.BEFORE_ATTRIBUTE_VALUE;break;case Ht.QUOTATION_MARK:case Ht.APOSTROPHE:case Ht.LESS_THAN_SIGN:this._err(Vt.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this.currentAttr.name+=jt;break;default:this.currentAttr.name+=String.fromCodePoint(ke(t)?Ne(t):t)}}_stateAfterAttributeName(t){switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:break;case Ht.SOLIDUS:this.state=Te.SELF_CLOSING_START_TAG;break;case Ht.EQUALS_SIGN:this.state=Te.BEFORE_ATTRIBUTE_VALUE;break;case Ht.GREATER_THAN_SIGN:this.state=Te.DATA,this.emitCurrentTagToken();break;case Ht.EOF:this._err(Vt.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=Te.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:break;case Ht.QUOTATION_MARK:this.state=Te.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case Ht.APOSTROPHE:this.state=Te.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case Ht.GREATER_THAN_SIGN:this._err(Vt.missingAttributeValue),this.state=Te.DATA,this.emitCurrentTagToken();break;default:this.state=Te.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case Ht.QUOTATION_MARK:this.state=Te.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case Ht.AMPERSAND:this.returnState=Te.ATTRIBUTE_VALUE_DOUBLE_QUOTED,this.state=Te.CHARACTER_REFERENCE;break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this.currentAttr.value+=jt;break;case Ht.EOF:this._err(Vt.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case Ht.APOSTROPHE:this.state=Te.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case Ht.AMPERSAND:this.returnState=Te.ATTRIBUTE_VALUE_SINGLE_QUOTED,this.state=Te.CHARACTER_REFERENCE;break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this.currentAttr.value+=jt;break;case Ht.EOF:this._err(Vt.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:this._leaveAttrValue(),this.state=Te.BEFORE_ATTRIBUTE_NAME;break;case Ht.AMPERSAND:this.returnState=Te.ATTRIBUTE_VALUE_UNQUOTED,this.state=Te.CHARACTER_REFERENCE;break;case Ht.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=Te.DATA,this.emitCurrentTagToken();break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this.currentAttr.value+=jt;break;case Ht.QUOTATION_MARK:case Ht.APOSTROPHE:case Ht.LESS_THAN_SIGN:case Ht.EQUALS_SIGN:case Ht.GRAVE_ACCENT:this._err(Vt.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break;case Ht.EOF:this._err(Vt.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:this._leaveAttrValue(),this.state=Te.BEFORE_ATTRIBUTE_NAME;break;case Ht.SOLIDUS:this._leaveAttrValue(),this.state=Te.SELF_CLOSING_START_TAG;break;case Ht.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=Te.DATA,this.emitCurrentTagToken();break;case Ht.EOF:this._err(Vt.eofInTag),this._emitEOFToken();break;default:this._err(Vt.missingWhitespaceBetweenAttributes),this.state=Te.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case Ht.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=Te.DATA,this.emitCurrentTagToken();break;case Ht.EOF:this._err(Vt.eofInTag),this._emitEOFToken();break;default:this._err(Vt.unexpectedSolidusInTag),this.state=Te.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const e=this.currentToken;switch(t){case Ht.GREATER_THAN_SIGN:this.state=Te.DATA,this.emitCurrentComment(e);break;case Ht.EOF:this.emitCurrentComment(e),this._emitEOFToken();break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),e.data+=jt;break;default:e.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch("--",!0)?(this._createCommentToken(3),this.state=Te.COMMENT_START):this._consumeSequenceIfMatch(qt,!1)?(this.currentLocation=this.getCurrentLocation(8),this.state=Te.DOCTYPE):this._consumeSequenceIfMatch(zt,!0)?this.inForeignNode?this.state=Te.CDATA_SECTION:(this._err(Vt.cdataInHtmlContent),this._createCommentToken(8),this.currentToken.data="[CDATA[",this.state=Te.BOGUS_COMMENT):this._ensureHibernation()||(this._err(Vt.incorrectlyOpenedComment),this._createCommentToken(2),this.state=Te.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case Ht.HYPHEN_MINUS:this.state=Te.COMMENT_START_DASH;break;case Ht.GREATER_THAN_SIGN:{this._err(Vt.abruptClosingOfEmptyComment),this.state=Te.DATA;const t=this.currentToken;this.emitCurrentComment(t);break}default:this.state=Te.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const e=this.currentToken;switch(t){case Ht.HYPHEN_MINUS:this.state=Te.COMMENT_END;break;case Ht.GREATER_THAN_SIGN:this._err(Vt.abruptClosingOfEmptyComment),this.state=Te.DATA,this.emitCurrentComment(e);break;case Ht.EOF:this._err(Vt.eofInComment),this.emitCurrentComment(e),this._emitEOFToken();break;default:e.data+="-",this.state=Te.COMMENT,this._stateComment(t)}}_stateComment(t){const e=this.currentToken;switch(t){case Ht.HYPHEN_MINUS:this.state=Te.COMMENT_END_DASH;break;case Ht.LESS_THAN_SIGN:e.data+="<",this.state=Te.COMMENT_LESS_THAN_SIGN;break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),e.data+=jt;break;case Ht.EOF:this._err(Vt.eofInComment),this.emitCurrentComment(e),this._emitEOFToken();break;default:e.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const e=this.currentToken;switch(t){case Ht.EXCLAMATION_MARK:e.data+="!",this.state=Te.COMMENT_LESS_THAN_SIGN_BANG;break;case Ht.LESS_THAN_SIGN:e.data+="<";break;default:this.state=Te.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===Ht.HYPHEN_MINUS?this.state=Te.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=Te.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===Ht.HYPHEN_MINUS?this.state=Te.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=Te.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==Ht.GREATER_THAN_SIGN&&t!==Ht.EOF&&this._err(Vt.nestedComment),this.state=Te.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const e=this.currentToken;switch(t){case Ht.HYPHEN_MINUS:this.state=Te.COMMENT_END;break;case Ht.EOF:this._err(Vt.eofInComment),this.emitCurrentComment(e),this._emitEOFToken();break;default:e.data+="-",this.state=Te.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const e=this.currentToken;switch(t){case Ht.GREATER_THAN_SIGN:this.state=Te.DATA,this.emitCurrentComment(e);break;case Ht.EXCLAMATION_MARK:this.state=Te.COMMENT_END_BANG;break;case Ht.HYPHEN_MINUS:e.data+="-";break;case Ht.EOF:this._err(Vt.eofInComment),this.emitCurrentComment(e),this._emitEOFToken();break;default:e.data+="--",this.state=Te.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const e=this.currentToken;switch(t){case Ht.HYPHEN_MINUS:e.data+="--!",this.state=Te.COMMENT_END_DASH;break;case Ht.GREATER_THAN_SIGN:this._err(Vt.incorrectlyClosedComment),this.state=Te.DATA,this.emitCurrentComment(e);break;case Ht.EOF:this._err(Vt.eofInComment),this.emitCurrentComment(e),this._emitEOFToken();break;default:e.data+="--!",this.state=Te.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:this.state=Te.BEFORE_DOCTYPE_NAME;break;case Ht.GREATER_THAN_SIGN:this.state=Te.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break;case Ht.EOF:{this._err(Vt.eofInDoctype),this._createDoctypeToken(null);const t=this.currentToken;t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(Vt.missingWhitespaceBeforeDoctypeName),this.state=Te.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(ke(t))this._createDoctypeToken(String.fromCharCode(Ne(t))),this.state=Te.DOCTYPE_NAME;else switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),this._createDoctypeToken(jt),this.state=Te.DOCTYPE_NAME;break;case Ht.GREATER_THAN_SIGN:{this._err(Vt.missingDoctypeName),this._createDoctypeToken(null);const t=this.currentToken;t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Te.DATA;break}case Ht.EOF:{this._err(Vt.eofInDoctype),this._createDoctypeToken(null);const t=this.currentToken;t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=Te.DOCTYPE_NAME}}_stateDoctypeName(t){const e=this.currentToken;switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:this.state=Te.AFTER_DOCTYPE_NAME;break;case Ht.GREATER_THAN_SIGN:this.state=Te.DATA,this.emitCurrentDoctype(e);break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),e.name+=jt;break;case Ht.EOF:this._err(Vt.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:e.name+=String.fromCodePoint(ke(t)?Ne(t):t)}}_stateAfterDoctypeName(t){const e=this.currentToken;switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:break;case Ht.GREATER_THAN_SIGN:this.state=Te.DATA,this.emitCurrentDoctype(e);break;case Ht.EOF:this._err(Vt.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:this._consumeSequenceIfMatch("public",!1)?this.state=Te.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch("system",!1)?this.state=Te.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(Vt.invalidCharacterSequenceAfterDoctypeName),e.forceQuirks=!0,this.state=Te.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const e=this.currentToken;switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:this.state=Te.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case Ht.QUOTATION_MARK:this._err(Vt.missingWhitespaceAfterDoctypePublicKeyword),e.publicId="",this.state=Te.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case Ht.APOSTROPHE:this._err(Vt.missingWhitespaceAfterDoctypePublicKeyword),e.publicId="",this.state=Te.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case Ht.GREATER_THAN_SIGN:this._err(Vt.missingDoctypePublicIdentifier),e.forceQuirks=!0,this.state=Te.DATA,this.emitCurrentDoctype(e);break;case Ht.EOF:this._err(Vt.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:this._err(Vt.missingQuoteBeforeDoctypePublicIdentifier),e.forceQuirks=!0,this.state=Te.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const e=this.currentToken;switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:break;case Ht.QUOTATION_MARK:e.publicId="",this.state=Te.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case Ht.APOSTROPHE:e.publicId="",this.state=Te.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case Ht.GREATER_THAN_SIGN:this._err(Vt.missingDoctypePublicIdentifier),e.forceQuirks=!0,this.state=Te.DATA,this.emitCurrentDoctype(e);break;case Ht.EOF:this._err(Vt.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:this._err(Vt.missingQuoteBeforeDoctypePublicIdentifier),e.forceQuirks=!0,this.state=Te.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const e=this.currentToken;switch(t){case Ht.QUOTATION_MARK:this.state=Te.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),e.publicId+=jt;break;case Ht.GREATER_THAN_SIGN:this._err(Vt.abruptDoctypePublicIdentifier),e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=Te.DATA;break;case Ht.EOF:this._err(Vt.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:e.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const e=this.currentToken;switch(t){case Ht.APOSTROPHE:this.state=Te.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),e.publicId+=jt;break;case Ht.GREATER_THAN_SIGN:this._err(Vt.abruptDoctypePublicIdentifier),e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=Te.DATA;break;case Ht.EOF:this._err(Vt.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:e.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const e=this.currentToken;switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:this.state=Te.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case Ht.GREATER_THAN_SIGN:this.state=Te.DATA,this.emitCurrentDoctype(e);break;case Ht.QUOTATION_MARK:this._err(Vt.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),e.systemId="",this.state=Te.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case Ht.APOSTROPHE:this._err(Vt.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),e.systemId="",this.state=Te.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case Ht.EOF:this._err(Vt.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:this._err(Vt.missingQuoteBeforeDoctypeSystemIdentifier),e.forceQuirks=!0,this.state=Te.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const e=this.currentToken;switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:break;case Ht.GREATER_THAN_SIGN:this.emitCurrentDoctype(e),this.state=Te.DATA;break;case Ht.QUOTATION_MARK:e.systemId="",this.state=Te.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case Ht.APOSTROPHE:e.systemId="",this.state=Te.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case Ht.EOF:this._err(Vt.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:this._err(Vt.missingQuoteBeforeDoctypeSystemIdentifier),e.forceQuirks=!0,this.state=Te.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const e=this.currentToken;switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:this.state=Te.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case Ht.QUOTATION_MARK:this._err(Vt.missingWhitespaceAfterDoctypeSystemKeyword),e.systemId="",this.state=Te.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case Ht.APOSTROPHE:this._err(Vt.missingWhitespaceAfterDoctypeSystemKeyword),e.systemId="",this.state=Te.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case Ht.GREATER_THAN_SIGN:this._err(Vt.missingDoctypeSystemIdentifier),e.forceQuirks=!0,this.state=Te.DATA,this.emitCurrentDoctype(e);break;case Ht.EOF:this._err(Vt.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:this._err(Vt.missingQuoteBeforeDoctypeSystemIdentifier),e.forceQuirks=!0,this.state=Te.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const e=this.currentToken;switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:break;case Ht.QUOTATION_MARK:e.systemId="",this.state=Te.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case Ht.APOSTROPHE:e.systemId="",this.state=Te.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case Ht.GREATER_THAN_SIGN:this._err(Vt.missingDoctypeSystemIdentifier),e.forceQuirks=!0,this.state=Te.DATA,this.emitCurrentDoctype(e);break;case Ht.EOF:this._err(Vt.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:this._err(Vt.missingQuoteBeforeDoctypeSystemIdentifier),e.forceQuirks=!0,this.state=Te.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const e=this.currentToken;switch(t){case Ht.QUOTATION_MARK:this.state=Te.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),e.systemId+=jt;break;case Ht.GREATER_THAN_SIGN:this._err(Vt.abruptDoctypeSystemIdentifier),e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=Te.DATA;break;case Ht.EOF:this._err(Vt.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:e.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const e=this.currentToken;switch(t){case Ht.APOSTROPHE:this.state=Te.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter),e.systemId+=jt;break;case Ht.GREATER_THAN_SIGN:this._err(Vt.abruptDoctypeSystemIdentifier),e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=Te.DATA;break;case Ht.EOF:this._err(Vt.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:e.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const e=this.currentToken;switch(t){case Ht.SPACE:case Ht.LINE_FEED:case Ht.TABULATION:case Ht.FORM_FEED:break;case Ht.GREATER_THAN_SIGN:this.emitCurrentDoctype(e),this.state=Te.DATA;break;case Ht.EOF:this._err(Vt.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:this._err(Vt.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=Te.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const e=this.currentToken;switch(t){case Ht.GREATER_THAN_SIGN:this.emitCurrentDoctype(e),this.state=Te.DATA;break;case Ht.NULL:this._err(Vt.unexpectedNullCharacter);break;case Ht.EOF:this.emitCurrentDoctype(e),this._emitEOFToken()}}_stateCdataSection(t){switch(t){case Ht.RIGHT_SQUARE_BRACKET:this.state=Te.CDATA_SECTION_BRACKET;break;case Ht.EOF:this._err(Vt.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===Ht.RIGHT_SQUARE_BRACKET?this.state=Te.CDATA_SECTION_END:(this._emitChars("]"),this.state=Te.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case Ht.GREATER_THAN_SIGN:this.state=Te.DATA;break;case Ht.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=Te.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(t){t===Ht.NUMBER_SIGN?this.state=Te.NUMERIC_CHARACTER_REFERENCE:De(t)?(this.state=Te.NAMED_CHARACTER_REFERENCE,this._stateNamedCharacterReference(t)):(this._flushCodePointConsumedAsCharacterReference(Ht.AMPERSAND),this._reconsumeInState(this.returnState,t))}_stateNamedCharacterReference(t){const e=this._matchNamedCharacterReference(t);if(this._ensureHibernation());else if(e){for(let t=0;t<e.length;t++)this._flushCodePointConsumedAsCharacterReference(e[t]);this.state=this.returnState}else this._flushCodePointConsumedAsCharacterReference(Ht.AMPERSAND),this.state=Te.AMBIGUOUS_AMPERSAND}_stateAmbiguousAmpersand(t){De(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===Ht.SEMICOLON&&this._err(Vt.unknownNamedCharacterReference),this._reconsumeInState(this.returnState,t))}_stateNumericCharacterReference(t){this.charRefCode=0,t===Ht.LATIN_SMALL_X||t===Ht.LATIN_CAPITAL_X?this.state=Te.HEXADEMICAL_CHARACTER_REFERENCE_START:Se(t)?(this.state=Te.DECIMAL_CHARACTER_REFERENCE,this._stateDecimalCharacterReference(t)):(this._err(Vt.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(Ht.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(Ht.NUMBER_SIGN),this._reconsumeInState(this.returnState,t))}_stateHexademicalCharacterReferenceStart(t){!function(t){return Se(t)||Ie(t)||Re(t)}(t)?(this._err(Vt.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(Ht.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(Ht.NUMBER_SIGN),this._unconsume(2),this.state=this.returnState):(this.state=Te.HEXADEMICAL_CHARACTER_REFERENCE,this._stateHexademicalCharacterReference(t))}_stateHexademicalCharacterReference(t){Ie(t)?this.charRefCode=16*this.charRefCode+t-55:Re(t)?this.charRefCode=16*this.charRefCode+t-87:Se(t)?this.charRefCode=16*this.charRefCode+t-48:t===Ht.SEMICOLON?this.state=Te.NUMERIC_CHARACTER_REFERENCE_END:(this._err(Vt.missingSemicolonAfterCharacterReference),this.state=Te.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(t))}_stateDecimalCharacterReference(t){Se(t)?this.charRefCode=10*this.charRefCode+t-48:t===Ht.SEMICOLON?this.state=Te.NUMERIC_CHARACTER_REFERENCE_END:(this._err(Vt.missingSemicolonAfterCharacterReference),this.state=Te.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(t))}_stateNumericCharacterReferenceEnd(t){if(this.charRefCode===Ht.NULL)this._err(Vt.nullCharacterReference),this.charRefCode=Ht.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(Vt.characterReferenceOutsideUnicodeRange),this.charRefCode=Ht.REPLACEMENT_CHARACTER;else if(Gt(this.charRefCode))this._err(Vt.surrogateCharacterReference),this.charRefCode=Ht.REPLACEMENT_CHARACTER;else if(Yt(this.charRefCode))this._err(Vt.noncharacterCharacterReference);else if(Kt(this.charRefCode)||this.charRefCode===Ht.CARRIAGE_RETURN){this._err(Vt.controlCharacterReference);const t=Me.get(this.charRefCode);void 0!==t&&(this.charRefCode=t)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,t)}}const Fe=new Set([he.DD,he.DT,he.LI,he.OPTGROUP,he.OPTION,he.P,he.RB,he.RP,he.RT,he.RTC]),Be=new Set([...Fe,he.CAPTION,he.COLGROUP,he.TBODY,he.TD,he.TFOOT,he.TH,he.THEAD,he.TR]),Ue=new Map([[he.APPLET,se.HTML],[he.CAPTION,se.HTML],[he.HTML,se.HTML],[he.MARQUEE,se.HTML],[he.OBJECT,se.HTML],[he.TABLE,se.HTML],[he.TD,se.HTML],[he.TEMPLATE,se.HTML],[he.TH,se.HTML],[he.ANNOTATION_XML,se.MATHML],[he.MI,se.MATHML],[he.MN,se.MATHML],[he.MO,se.MATHML],[he.MS,se.MATHML],[he.MTEXT,se.MATHML],[he.DESC,se.SVG],[he.FOREIGN_OBJECT,se.SVG],[he.TITLE,se.SVG]]),je=[he.H1,he.H2,he.H3,he.H4,he.H5,he.H6],He=[he.TR,he.TEMPLATE,he.HTML],ze=[he.TBODY,he.TFOOT,he.THEAD,he.TEMPLATE,he.HTML],qe=[he.TABLE,he.TEMPLATE,he.HTML],We=[he.TD,he.TH];class Ge{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,e,n){this.treeAdapter=e,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=he.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===he.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===se.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,e){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=e,this.currentTagId=e,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,e,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,e){const n=this._indexOf(t);this.items[n]=e,n===this.stackTop&&(this.current=e)}insertAfter(t,e,n){const r=this._indexOf(t)+1;this.items.splice(r,0,e),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(t){let e=this.stackTop+1;do{e=this.tagIDs.lastIndexOf(t,e-1)}while(e>0&&this.treeAdapter.getNamespaceURI(this.items[e])!==se.HTML);this.shortenToLength(e<0?0:e)}shortenToLength(t){for(;this.stackTop>=t;){const e=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,this.stackTop<t)}}popUntilElementPopped(t){const e=this._indexOf(t);this.shortenToLength(e<0?0:e)}popUntilPopped(t,e){const n=this._indexOfTagNames(t,e);this.shortenToLength(n<0?0:n)}popUntilNumberedHeaderPopped(){this.popUntilPopped(je,se.HTML)}popUntilTableCellPopped(){this.popUntilPopped(We,se.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,e){for(let n=this.stackTop;n>=0;n--)if(t.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===e)return n;return-1}clearBackTo(t,e){const n=this._indexOfTagNames(t,e);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(qe,se.HTML)}clearBackToTableBodyContext(){this.clearBackTo(ze,se.HTML)}clearBackToTableRowContext(){this.clearBackTo(He,se.HTML)}remove(t){const e=this._indexOf(t);e>=0&&(e===this.stackTop?this.pop():(this.items.splice(e,1),this.tagIDs.splice(e,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===he.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const e=this._indexOf(t)-1;return e>=0?this.items[e]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===he.HTML}hasInScope(t){for(let e=this.stackTop;e>=0;e--){const n=this.tagIDs[e],r=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===t&&r===se.HTML)return!0;if(Ue.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const e=this.tagIDs[t],n=this.treeAdapter.getNamespaceURI(this.items[t]);if(Ae(e)&&n===se.HTML)return!0;if(Ue.get(e)===n)return!1}return!0}hasInListItemScope(t){for(let e=this.stackTop;e>=0;e--){const n=this.tagIDs[e],r=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===t&&r===se.HTML)return!0;if((n===he.UL||n===he.OL)&&r===se.HTML||Ue.get(n)===r)return!1}return!0}hasInButtonScope(t){for(let e=this.stackTop;e>=0;e--){const n=this.tagIDs[e],r=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===t&&r===se.HTML)return!0;if(n===he.BUTTON&&r===se.HTML||Ue.get(n)===r)return!1}return!0}hasInTableScope(t){for(let e=this.stackTop;e>=0;e--){const n=this.tagIDs[e];if(this.treeAdapter.getNamespaceURI(this.items[e])===se.HTML){if(n===t)return!0;if(n===he.TABLE||n===he.TEMPLATE||n===he.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--){const e=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===se.HTML){if(e===he.TBODY||e===he.THEAD||e===he.TFOOT)return!0;if(e===he.TABLE||e===he.HTML)return!1}}return!0}hasInSelectScope(t){for(let e=this.stackTop;e>=0;e--){const n=this.tagIDs[e];if(this.treeAdapter.getNamespaceURI(this.items[e])===se.HTML){if(n===t)return!0;if(n!==he.OPTION&&n!==he.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;Fe.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;Be.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==t&&Be.has(this.currentTagId);)this.pop()}}var Ke;!function(t){t[t.Marker=0]="Marker",t[t.Element=1]="Element"}(Ke=Ke||(Ke={}));const Ye={type:Ke.Marker};class Ve{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,e){const n=[],r=e.length,i=this.treeAdapter.getTagName(t),o=this.treeAdapter.getNamespaceURI(t);for(let t=0;t<this.entries.length;t++){const e=this.entries[t];if(e.type===Ke.Marker)break;const{element:a}=e;if(this.treeAdapter.getTagName(a)===i&&this.treeAdapter.getNamespaceURI(a)===o){const e=this.treeAdapter.getAttrList(a);e.length===r&&n.push({idx:t,attrs:e})}}return n}_ensureNoahArkCondition(t){if(this.entries.length<3)return;const e=this.treeAdapter.getAttrList(t),n=this._getNoahArkConditionCandidates(t,e);if(n.length<3)return;const r=new Map(e.map((t=>[t.name,t.value])));let i=0;for(let t=0;t<n.length;t++){const e=n[t];e.attrs.every((t=>r.get(t.name)===t.value))&&(i+=1,i>=3&&this.entries.splice(e.idx,1))}}insertMarker(){this.entries.unshift(Ye)}pushElement(t,e){this._ensureNoahArkCondition(t),this.entries.unshift({type:Ke.Element,element:t,token:e})}insertElementAfterBookmark(t,e){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:Ke.Element,element:t,token:e})}removeEntry(t){const e=this.entries.indexOf(t);e>=0&&this.entries.splice(e,1)}clearToLastMarker(){const t=this.entries.indexOf(Ye);t>=0?this.entries.splice(0,t+1):this.entries.length=0}getElementEntryInScopeWithTagName(t){const e=this.entries.find((e=>e.type===Ke.Marker||this.treeAdapter.getTagName(e.element)===t));return e&&e.type===Ke.Element?e:null}getElementEntry(t){return this.entries.find((e=>e.type===Ke.Element&&e.element===t))}}function Xe(t){return{nodeName:"#text",value:t,parentNode:null}}const Ze={createDocument:()=>({nodeName:"#document",mode:ce.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(t,e,n)=>({nodeName:t,tagName:t,attrs:n,namespaceURI:e,childNodes:[],parentNode:null}),createCommentNode:t=>({nodeName:"#comment",data:t,parentNode:null}),appendChild(t,e){t.childNodes.push(e),e.parentNode=t},insertBefore(t,e,n){const r=t.childNodes.indexOf(n);t.childNodes.splice(r,0,e),e.parentNode=t},setTemplateContent(t,e){t.content=e},getTemplateContent:t=>t.content,setDocumentType(t,e,n,r){const i=t.childNodes.find((t=>"#documentType"===t.nodeName));if(i)i.name=e,i.publicId=n,i.systemId=r;else{const i={nodeName:"#documentType",name:e,publicId:n,systemId:r,parentNode:null};Ze.appendChild(t,i)}},setDocumentMode(t,e){t.mode=e},getDocumentMode:t=>t.mode,detachNode(t){if(t.parentNode){const e=t.parentNode.childNodes.indexOf(t);t.parentNode.childNodes.splice(e,1),t.parentNode=null}},insertText(t,e){if(t.childNodes.length>0){const n=t.childNodes[t.childNodes.length-1];if(Ze.isTextNode(n))return void(n.value+=e)}Ze.appendChild(t,Xe(e))},insertTextBefore(t,e,n){const r=t.childNodes[t.childNodes.indexOf(n)-1];r&&Ze.isTextNode(r)?r.value+=e:Ze.insertBefore(t,Xe(e),n)},adoptAttributes(t,e){const n=new Set(t.attrs.map((t=>t.name)));for(let r=0;r<e.length;r++)n.has(e[r].name)||t.attrs.push(e[r])},getFirstChild:t=>t.childNodes[0],getChildNodes:t=>t.childNodes,getParentNode:t=>t.parentNode,getAttrList:t=>t.attrs,getTagName:t=>t.tagName,getNamespaceURI:t=>t.namespaceURI,getTextNodeContent:t=>t.value,getCommentNodeContent:t=>t.data,getDocumentTypeNodeName:t=>t.name,getDocumentTypeNodePublicId:t=>t.publicId,getDocumentTypeNodeSystemId:t=>t.systemId,isTextNode:t=>"#text"===t.nodeName,isCommentNode:t=>"#comment"===t.nodeName,isDocumentTypeNode:t=>"#documentType"===t.nodeName,isElementNode:t=>Object.prototype.hasOwnProperty.call(t,"tagName"),setNodeSourceCodeLocation(t,e){t.sourceCodeLocation=e},getNodeSourceCodeLocation:t=>t.sourceCodeLocation,updateNodeSourceCodeLocation(t,e){t.sourceCodeLocation={...t.sourceCodeLocation,...e}}},$e="html",Qe=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],Je=[...Qe,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],tn=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),en=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],nn=[...en,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function rn(t,e){return e.some((e=>t.startsWith(e)))}const on="text/html",an="application/xhtml+xml",sn="definitionurl",ln="definitionURL",cn=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((t=>[t.toLowerCase(),t]))),un=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:se.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:se.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:se.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:se.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:se.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:se.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:se.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:se.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:se.XML}],["xml:space",{prefix:"xml",name:"space",namespace:se.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:se.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:se.XMLNS}]]),hn=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((t=>[t.toLowerCase(),t]))),fn=new Set([he.B,he.BIG,he.BLOCKQUOTE,he.BODY,he.BR,he.CENTER,he.CODE,he.DD,he.DIV,he.DL,he.DT,he.EM,he.EMBED,he.H1,he.H2,he.H3,he.H4,he.H5,he.H6,he.HEAD,he.HR,he.I,he.IMG,he.LI,he.LISTING,he.MENU,he.META,he.NOBR,he.OL,he.P,he.PRE,he.RUBY,he.S,he.SMALL,he.SPAN,he.STRONG,he.STRIKE,he.SUB,he.SUP,he.TABLE,he.TT,he.U,he.UL,he.VAR]);function dn(t){for(let e=0;e<t.attrs.length;e++)if(t.attrs[e].name===sn){t.attrs[e].name=ln;break}}function pn(t){for(let e=0;e<t.attrs.length;e++){const n=cn.get(t.attrs[e].name);null!=n&&(t.attrs[e].name=n)}}function mn(t){for(let e=0;e<t.attrs.length;e++){const n=un.get(t.attrs[e].name);n&&(t.attrs[e].prefix=n.prefix,t.attrs[e].name=n.name,t.attrs[e].namespace=n.namespace)}}const gn="hidden",yn=8,wn=3;var bn;!function(t){t[t.INITIAL=0]="INITIAL",t[t.BEFORE_HTML=1]="BEFORE_HTML",t[t.BEFORE_HEAD=2]="BEFORE_HEAD",t[t.IN_HEAD=3]="IN_HEAD",t[t.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",t[t.AFTER_HEAD=5]="AFTER_HEAD",t[t.IN_BODY=6]="IN_BODY",t[t.TEXT=7]="TEXT",t[t.IN_TABLE=8]="IN_TABLE",t[t.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",t[t.IN_CAPTION=10]="IN_CAPTION",t[t.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",t[t.IN_TABLE_BODY=12]="IN_TABLE_BODY",t[t.IN_ROW=13]="IN_ROW",t[t.IN_CELL=14]="IN_CELL",t[t.IN_SELECT=15]="IN_SELECT",t[t.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",t[t.IN_TEMPLATE=17]="IN_TEMPLATE",t[t.AFTER_BODY=18]="AFTER_BODY",t[t.IN_FRAMESET=19]="IN_FRAMESET",t[t.AFTER_FRAMESET=20]="AFTER_FRAMESET",t[t.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",t[t.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"}(bn||(bn={}));const vn={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},En=new Set([he.TABLE,he.TBODY,he.TFOOT,he.THEAD,he.TR]),_n={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Ze,onParseError:null};class An{constructor(t,e,n=null,r=null){this.fragmentContext=n,this.scriptHandler=r,this.currentToken=null,this.stopped=!1,this.insertionMode=bn.INITIAL,this.originalInsertionMode=bn.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={..._n,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=null!=e?e:this.treeAdapter.createDocument(),this.tokenizer=new Pe(this.options,this),this.activeFormattingElements=new Ve(this.treeAdapter),this.fragmentContextID=n?ve(this.treeAdapter.getTagName(n)):he.UNKNOWN,this._setContextModes(null!=n?n:this.document,this.fragmentContextID),this.openElements=new Ge(this.document,this.treeAdapter,this)}static parse(t,e){const n=new this(e);return n.tokenizer.write(t,!0),n.document}static getFragmentParser(t,e){const n={..._n,...e};null!=t||(t=n.treeAdapter.createElement(ue.TEMPLATE,se.HTML,[]));const r=n.treeAdapter.createElement("documentmock",se.HTML,[]),i=new this(n,r,t);return i.fragmentContextID===he.TEMPLATE&&i.tmplInsertionModeStack.unshift(bn.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),e=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,e),e}_err(t,e,n){var r;if(!this.onParseError)return;const i=null!==(r=t.location)&&void 0!==r?r:vn,o={code:e,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:n?i.startLine:i.endLine,endCol:n?i.startCol:i.endCol,endOffset:n?i.startOffset:i.endOffset};this.onParseError(o)}onItemPush(t,e,n){var r,i;null===(i=(r=this.treeAdapter).onItemPush)||void 0===i||i.call(r,t),n&&this.openElements.stackTop>0&&this._setContextModes(t,e)}onItemPop(t,e){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,t,this.openElements.current),e){let t,e;0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,e=this.fragmentContextID):({current:t,currentTagId:e}=this.openElements),this._setContextModes(t,e)}}_setContextModes(t,e){const n=t===this.document||this.treeAdapter.getNamespaceURI(t)===se.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(e,t)}_switchToTextParsing(t,e){this._insertElement(t,se.HTML),this.tokenizer.state=e,this.originalInsertionMode=this.insertionMode,this.insertionMode=bn.TEXT}switchToPlaintextParsing(){this.insertionMode=bn.TEXT,this.originalInsertionMode=bn.IN_BODY,this.tokenizer.state=xe.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===ue.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===se.HTML)switch(this.fragmentContextID){case he.TITLE:case he.TEXTAREA:this.tokenizer.state=xe.RCDATA;break;case he.STYLE:case he.XMP:case he.IFRAME:case he.NOEMBED:case he.NOFRAMES:case he.NOSCRIPT:this.tokenizer.state=xe.RAWTEXT;break;case he.SCRIPT:this.tokenizer.state=xe.SCRIPT_DATA;break;case he.PLAINTEXT:this.tokenizer.state=xe.PLAINTEXT}}_setDocumentType(t){const e=t.name||"",n=t.publicId||"",r=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,e,n,r),t.location){const e=this.treeAdapter.getChildNodes(this.document).find((t=>this.treeAdapter.isDocumentTypeNode(t)));e&&this.treeAdapter.setNodeSourceCodeLocation(e,t.location)}}_attachElementToTree(t,e){if(this.options.sourceCodeLocationInfo){const n=e&&{...e,startTag:e};this.treeAdapter.setNodeSourceCodeLocation(t,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const e=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(e,t)}}_appendElement(t,e){const n=this.treeAdapter.createElement(t.tagName,e,t.attrs);this._attachElementToTree(n,t.location)}_insertElement(t,e){const n=this.treeAdapter.createElement(t.tagName,e,t.attrs);this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID)}_insertFakeElement(t,e){const n=this.treeAdapter.createElement(t,se.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,e)}_insertTemplate(t){const e=this.treeAdapter.createElement(t.tagName,se.HTML,t.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(e,n),this._attachElementToTree(e,t.location),this.openElements.push(e,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(ue.HTML,se.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,he.HTML)}_appendCommentNode(t,e){const n=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(e,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,t.location)}_insertCharacters(t){let e,n;if(this._shouldFosterParentOnInsertion()?(({parent:e,beforeElement:n}=this._findFosterParentingLocation()),n?this.treeAdapter.insertTextBefore(e,t.chars,n):this.treeAdapter.insertText(e,t.chars)):(e=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(e,t.chars)),!t.location)return;const r=this.treeAdapter.getChildNodes(e),i=n?r.lastIndexOf(n):r.length,o=r[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(o)){const{endLine:e,endCol:n,endOffset:r}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(o,{endLine:e,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}_adoptNodes(t,e){for(let n=this.treeAdapter.getFirstChild(t);n;n=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(e,n)}_setEndLocation(t,e){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&e.location){const n=e.location,r=this.treeAdapter.getTagName(t),i=e.type===Xt.END_TAG&&r===e.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,i)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let e,n;return 0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,n=this.fragmentContextID):({current:e,currentTagId:n}=this.openElements),(t.tagID!==he.SVG||this.treeAdapter.getTagName(e)!==ue.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(e)!==se.MATHML)&&(this.tokenizer.inForeignNode||(t.tagID===he.MGLYPH||t.tagID===he.MALIGNMARK)&&!this._isIntegrationPoint(n,e,se.HTML))}_processToken(t){switch(t.type){case Xt.CHARACTER:this.onCharacter(t);break;case Xt.NULL_CHARACTER:this.onNullCharacter(t);break;case Xt.COMMENT:this.onComment(t);break;case Xt.DOCTYPE:this.onDoctype(t);break;case Xt.START_TAG:this._processStartTag(t);break;case Xt.END_TAG:this.onEndTag(t);break;case Xt.EOF:this.onEof(t);break;case Xt.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(t)}}_isIntegrationPoint(t,e,n){return function(t,e,n,r){return(!r||r===se.HTML)&&function(t,e,n){if(e===se.MATHML&&t===he.ANNOTATION_XML)for(let t=0;t<n.length;t++)if(n[t].name===le.ENCODING){const e=n[t].value.toLowerCase();return e===on||e===an}return e===se.SVG&&(t===he.FOREIGN_OBJECT||t===he.DESC||t===he.TITLE)}(t,e,n)||(!r||r===se.MATHML)&&function(t,e){return e===se.MATHML&&(t===he.MI||t===he.MO||t===he.MN||t===he.MS||t===he.MTEXT)}(t,e)}(t,this.treeAdapter.getNamespaceURI(e),this.treeAdapter.getAttrList(e),n)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const e=this.activeFormattingElements.entries.findIndex((t=>t.type===Ke.Marker||this.openElements.contains(t.element)));for(let n=e<0?t-1:e-1;n>=0;n--){const t=this.activeFormattingElements.entries[n];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=bn.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(he.P),this.openElements.popUntilTagNamePopped(he.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(0===t&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case he.TR:return void(this.insertionMode=bn.IN_ROW);case he.TBODY:case he.THEAD:case he.TFOOT:return void(this.insertionMode=bn.IN_TABLE_BODY);case he.CAPTION:return void(this.insertionMode=bn.IN_CAPTION);case he.COLGROUP:return void(this.insertionMode=bn.IN_COLUMN_GROUP);case he.TABLE:return void(this.insertionMode=bn.IN_TABLE);case he.BODY:return void(this.insertionMode=bn.IN_BODY);case he.FRAMESET:return void(this.insertionMode=bn.IN_FRAMESET);case he.SELECT:return void this._resetInsertionModeForSelect(t);case he.TEMPLATE:return void(this.insertionMode=this.tmplInsertionModeStack[0]);case he.HTML:return void(this.insertionMode=this.headElement?bn.AFTER_HEAD:bn.BEFORE_HEAD);case he.TD:case he.TH:if(t>0)return void(this.insertionMode=bn.IN_CELL);break;case he.HEAD:if(t>0)return void(this.insertionMode=bn.IN_HEAD)}this.insertionMode=bn.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let e=t-1;e>0;e--){const t=this.openElements.tagIDs[e];if(t===he.TEMPLATE)break;if(t===he.TABLE)return void(this.insertionMode=bn.IN_SELECT_IN_TABLE)}this.insertionMode=bn.IN_SELECT}_isElementCausesFosterParenting(t){return En.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const e=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case he.TEMPLATE:if(this.treeAdapter.getNamespaceURI(e)===se.HTML)return{parent:this.treeAdapter.getTemplateContent(e),beforeElement:null};break;case he.TABLE:{const n=this.treeAdapter.getParentNode(e);return n?{parent:n,beforeElement:e}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const e=this._findFosterParentingLocation();e.beforeElement?this.treeAdapter.insertBefore(e.parent,t,e.beforeElement):this.treeAdapter.appendChild(e.parent,t)}_isSpecialElement(t,e){const n=this.treeAdapter.getNamespaceURI(t);return _e[n].has(e)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(t,e){t._insertCharacters(e),t.framesetOk=!1}(this,t);else switch(this.insertionMode){case bn.INITIAL:Nn(this,t);break;case bn.BEFORE_HTML:On(this,t);break;case bn.BEFORE_HEAD:Ln(this,t);break;case bn.IN_HEAD:Bn(this,t);break;case bn.IN_HEAD_NO_SCRIPT:Un(this,t);break;case bn.AFTER_HEAD:jn(this,t);break;case bn.IN_BODY:case bn.IN_CAPTION:case bn.IN_CELL:case bn.IN_TEMPLATE:qn(this,t);break;case bn.TEXT:case bn.IN_SELECT:case bn.IN_SELECT_IN_TABLE:this._insertCharacters(t);break;case bn.IN_TABLE:case bn.IN_TABLE_BODY:case bn.IN_ROW:Qn(this,t);break;case bn.IN_TABLE_TEXT:rr(this,t);break;case bn.IN_COLUMN_GROUP:sr(this,t);break;case bn.AFTER_BODY:gr(this,t);break;case bn.AFTER_AFTER_BODY:yr(this,t)}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(t,e){e.chars=jt,t._insertCharacters(e)}(this,t);else switch(this.insertionMode){case bn.INITIAL:Nn(this,t);break;case bn.BEFORE_HTML:On(this,t);break;case bn.BEFORE_HEAD:Ln(this,t);break;case bn.IN_HEAD:Bn(this,t);break;case bn.IN_HEAD_NO_SCRIPT:Un(this,t);break;case bn.AFTER_HEAD:jn(this,t);break;case bn.TEXT:this._insertCharacters(t);break;case bn.IN_TABLE:case bn.IN_TABLE_BODY:case bn.IN_ROW:Qn(this,t);break;case bn.IN_COLUMN_GROUP:sr(this,t);break;case bn.AFTER_BODY:gr(this,t);break;case bn.AFTER_AFTER_BODY:yr(this,t)}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML)In(this,t);else switch(this.insertionMode){case bn.INITIAL:case bn.BEFORE_HTML:case bn.BEFORE_HEAD:case bn.IN_HEAD:case bn.IN_HEAD_NO_SCRIPT:case bn.AFTER_HEAD:case bn.IN_BODY:case bn.IN_TABLE:case bn.IN_CAPTION:case bn.IN_COLUMN_GROUP:case bn.IN_TABLE_BODY:case bn.IN_ROW:case bn.IN_CELL:case bn.IN_SELECT:case bn.IN_SELECT_IN_TABLE:case bn.IN_TEMPLATE:case bn.IN_FRAMESET:case bn.AFTER_FRAMESET:In(this,t);break;case bn.IN_TABLE_TEXT:ir(this,t);break;case bn.AFTER_BODY:!function(t,e){t._appendCommentNode(e,t.openElements.items[0])}(this,t);break;case bn.AFTER_AFTER_BODY:case bn.AFTER_AFTER_FRAMESET:!function(t,e){t._appendCommentNode(e,t.document)}(this,t)}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case bn.INITIAL:!function(t,e){t._setDocumentType(e);const n=e.forceQuirks?ce.QUIRKS:function(t){if(t.name!==$e)return ce.QUIRKS;const{systemId:e}=t;if(e&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===e.toLowerCase())return ce.QUIRKS;let{publicId:n}=t;if(null!==n){if(n=n.toLowerCase(),tn.has(n))return ce.QUIRKS;let t=null===e?Je:Qe;if(rn(n,t))return ce.QUIRKS;if(t=null===e?en:nn,rn(n,t))return ce.LIMITED_QUIRKS}return ce.NO_QUIRKS}(e);(function(t){return t.name===$e&&null===t.publicId&&(null===t.systemId||"about:legacy-compat"===t.systemId)})(e)||t._err(e,Vt.nonConformingDoctype),t.treeAdapter.setDocumentMode(t.document,n),t.insertionMode=bn.BEFORE_HTML}(this,t);break;case bn.BEFORE_HEAD:case bn.IN_HEAD:case bn.IN_HEAD_NO_SCRIPT:case bn.AFTER_HEAD:this._err(t,Vt.misplacedDoctype);break;case bn.IN_TABLE_TEXT:ir(this,t)}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,Vt.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?function(t,e){if(function(t){const e=t.tagID;return e===he.FONT&&t.attrs.some((({name:t})=>t===le.COLOR||t===le.SIZE||t===le.FACE))||fn.has(e)}(e))wr(t),t._startTagOutsideForeignContent(e);else{const n=t._getAdjustedCurrentElement(),r=t.treeAdapter.getNamespaceURI(n);r===se.MATHML?dn(e):r===se.SVG&&(function(t){const e=hn.get(t.tagName);null!=e&&(t.tagName=e,t.tagID=ve(t.tagName))}(e),pn(e)),mn(e),e.selfClosing?t._appendElement(e,r):t._insertElement(e,r),e.ackSelfClosing=!0}}(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case bn.INITIAL:Nn(this,t);break;case bn.BEFORE_HTML:!function(t,e){e.tagID===he.HTML?(t._insertElement(e,se.HTML),t.insertionMode=bn.BEFORE_HEAD):On(t,e)}(this,t);break;case bn.BEFORE_HEAD:!function(t,e){switch(e.tagID){case he.HTML:Vn(t,e);break;case he.HEAD:t._insertElement(e,se.HTML),t.headElement=t.openElements.current,t.insertionMode=bn.IN_HEAD;break;default:Ln(t,e)}}(this,t);break;case bn.IN_HEAD:Pn(this,t);break;case bn.IN_HEAD_NO_SCRIPT:!function(t,e){switch(e.tagID){case he.HTML:Vn(t,e);break;case he.BASEFONT:case he.BGSOUND:case he.HEAD:case he.LINK:case he.META:case he.NOFRAMES:case he.STYLE:Pn(t,e);break;case he.NOSCRIPT:t._err(e,Vt.nestedNoscriptInHead);break;default:Un(t,e)}}(this,t);break;case bn.AFTER_HEAD:!function(t,e){switch(e.tagID){case he.HTML:Vn(t,e);break;case he.BODY:t._insertElement(e,se.HTML),t.framesetOk=!1,t.insertionMode=bn.IN_BODY;break;case he.FRAMESET:t._insertElement(e,se.HTML),t.insertionMode=bn.IN_FRAMESET;break;case he.BASE:case he.BASEFONT:case he.BGSOUND:case he.LINK:case he.META:case he.NOFRAMES:case he.SCRIPT:case he.STYLE:case he.TEMPLATE:case he.TITLE:t._err(e,Vt.abandonedHeadElementChild),t.openElements.push(t.headElement,he.HEAD),Pn(t,e),t.openElements.remove(t.headElement);break;case he.HEAD:t._err(e,Vt.misplacedStartTagForHeadElement);break;default:jn(t,e)}}(this,t);break;case bn.IN_BODY:Vn(this,t);break;case bn.IN_TABLE:Jn(this,t);break;case bn.IN_TABLE_TEXT:ir(this,t);break;case bn.IN_CAPTION:!function(t,e){const n=e.tagID;or.has(n)?t.openElements.hasInTableScope(he.CAPTION)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(he.CAPTION),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=bn.IN_TABLE,Jn(t,e)):Vn(t,e)}(this,t);break;case bn.IN_COLUMN_GROUP:ar(this,t);break;case bn.IN_TABLE_BODY:lr(this,t);break;case bn.IN_ROW:ur(this,t);break;case bn.IN_CELL:!function(t,e){const n=e.tagID;or.has(n)?(t.openElements.hasInTableScope(he.TD)||t.openElements.hasInTableScope(he.TH))&&(t._closeTableCell(),ur(t,e)):Vn(t,e)}(this,t);break;case bn.IN_SELECT:fr(this,t);break;case bn.IN_SELECT_IN_TABLE:!function(t,e){const n=e.tagID;n===he.CAPTION||n===he.TABLE||n===he.TBODY||n===he.TFOOT||n===he.THEAD||n===he.TR||n===he.TD||n===he.TH?(t.openElements.popUntilTagNamePopped(he.SELECT),t._resetInsertionMode(),t._processStartTag(e)):fr(t,e)}(this,t);break;case bn.IN_TEMPLATE:!function(t,e){switch(e.tagID){case he.BASE:case he.BASEFONT:case he.BGSOUND:case he.LINK:case he.META:case he.NOFRAMES:case he.SCRIPT:case he.STYLE:case he.TEMPLATE:case he.TITLE:Pn(t,e);break;case he.CAPTION:case he.COLGROUP:case he.TBODY:case he.TFOOT:case he.THEAD:t.tmplInsertionModeStack[0]=bn.IN_TABLE,t.insertionMode=bn.IN_TABLE,Jn(t,e);break;case he.COL:t.tmplInsertionModeStack[0]=bn.IN_COLUMN_GROUP,t.insertionMode=bn.IN_COLUMN_GROUP,ar(t,e);break;case he.TR:t.tmplInsertionModeStack[0]=bn.IN_TABLE_BODY,t.insertionMode=bn.IN_TABLE_BODY,lr(t,e);break;case he.TD:case he.TH:t.tmplInsertionModeStack[0]=bn.IN_ROW,t.insertionMode=bn.IN_ROW,ur(t,e);break;default:t.tmplInsertionModeStack[0]=bn.IN_BODY,t.insertionMode=bn.IN_BODY,Vn(t,e)}}(this,t);break;case bn.AFTER_BODY:!function(t,e){e.tagID===he.HTML?Vn(t,e):gr(t,e)}(this,t);break;case bn.IN_FRAMESET:!function(t,e){switch(e.tagID){case he.HTML:Vn(t,e);break;case he.FRAMESET:t._insertElement(e,se.HTML);break;case he.FRAME:t._appendElement(e,se.HTML),e.ackSelfClosing=!0;break;case he.NOFRAMES:Pn(t,e)}}(this,t);break;case bn.AFTER_FRAMESET:!function(t,e){switch(e.tagID){case he.HTML:Vn(t,e);break;case he.NOFRAMES:Pn(t,e)}}(this,t);break;case bn.AFTER_AFTER_BODY:!function(t,e){e.tagID===he.HTML?Vn(t,e):yr(t,e)}(this,t);break;case bn.AFTER_AFTER_FRAMESET:!function(t,e){switch(e.tagID){case he.HTML:Vn(t,e);break;case he.NOFRAMES:Pn(t,e)}}(this,t)}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?function(t,e){if(e.tagID===he.P||e.tagID===he.BR)return wr(t),void t._endTagOutsideForeignContent(e);for(let n=t.openElements.stackTop;n>0;n--){const r=t.openElements.items[n];if(t.treeAdapter.getNamespaceURI(r)===se.HTML){t._endTagOutsideForeignContent(e);break}const i=t.treeAdapter.getTagName(r);if(i.toLowerCase()===e.tagName){e.tagName=i,t.openElements.shortenToLength(n);break}}}(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case bn.INITIAL:Nn(this,t);break;case bn.BEFORE_HTML:!function(t,e){const n=e.tagID;n!==he.HTML&&n!==he.HEAD&&n!==he.BODY&&n!==he.BR||On(t,e)}(this,t);break;case bn.BEFORE_HEAD:!function(t,e){const n=e.tagID;n===he.HEAD||n===he.BODY||n===he.HTML||n===he.BR?Ln(t,e):t._err(e,Vt.endTagWithoutMatchingOpenElement)}(this,t);break;case bn.IN_HEAD:!function(t,e){switch(e.tagID){case he.HEAD:t.openElements.pop(),t.insertionMode=bn.AFTER_HEAD;break;case he.BODY:case he.BR:case he.HTML:Bn(t,e);break;case he.TEMPLATE:Fn(t,e);break;default:t._err(e,Vt.endTagWithoutMatchingOpenElement)}}(this,t);break;case bn.IN_HEAD_NO_SCRIPT:!function(t,e){switch(e.tagID){case he.NOSCRIPT:t.openElements.pop(),t.insertionMode=bn.IN_HEAD;break;case he.BR:Un(t,e);break;default:t._err(e,Vt.endTagWithoutMatchingOpenElement)}}(this,t);break;case bn.AFTER_HEAD:!function(t,e){switch(e.tagID){case he.BODY:case he.HTML:case he.BR:jn(t,e);break;case he.TEMPLATE:Fn(t,e);break;default:t._err(e,Vt.endTagWithoutMatchingOpenElement)}}(this,t);break;case bn.IN_BODY:Zn(this,t);break;case bn.TEXT:!function(t,e){var n;e.tagID===he.SCRIPT&&(null===(n=t.scriptHandler)||void 0===n||n.call(t,t.openElements.current)),t.openElements.pop(),t.insertionMode=t.originalInsertionMode}(this,t);break;case bn.IN_TABLE:tr(this,t);break;case bn.IN_TABLE_TEXT:ir(this,t);break;case bn.IN_CAPTION:!function(t,e){const n=e.tagID;switch(n){case he.CAPTION:case he.TABLE:t.openElements.hasInTableScope(he.CAPTION)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(he.CAPTION),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=bn.IN_TABLE,n===he.TABLE&&tr(t,e));break;case he.BODY:case he.COL:case he.COLGROUP:case he.HTML:case he.TBODY:case he.TD:case he.TFOOT:case he.TH:case he.THEAD:case he.TR:break;default:Zn(t,e)}}(this,t);break;case bn.IN_COLUMN_GROUP:!function(t,e){switch(e.tagID){case he.COLGROUP:t.openElements.currentTagId===he.COLGROUP&&(t.openElements.pop(),t.insertionMode=bn.IN_TABLE);break;case he.TEMPLATE:Fn(t,e);break;case he.COL:break;default:sr(t,e)}}(this,t);break;case bn.IN_TABLE_BODY:cr(this,t);break;case bn.IN_ROW:hr(this,t);break;case bn.IN_CELL:!function(t,e){const n=e.tagID;switch(n){case he.TD:case he.TH:t.openElements.hasInTableScope(n)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(n),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=bn.IN_ROW);break;case he.TABLE:case he.TBODY:case he.TFOOT:case he.THEAD:case he.TR:t.openElements.hasInTableScope(n)&&(t._closeTableCell(),hr(t,e));break;case he.BODY:case he.CAPTION:case he.COL:case he.COLGROUP:case he.HTML:break;default:Zn(t,e)}}(this,t);break;case bn.IN_SELECT:dr(this,t);break;case bn.IN_SELECT_IN_TABLE:!function(t,e){const n=e.tagID;n===he.CAPTION||n===he.TABLE||n===he.TBODY||n===he.TFOOT||n===he.THEAD||n===he.TR||n===he.TD||n===he.TH?t.openElements.hasInTableScope(n)&&(t.openElements.popUntilTagNamePopped(he.SELECT),t._resetInsertionMode(),t.onEndTag(e)):dr(t,e)}(this,t);break;case bn.IN_TEMPLATE:!function(t,e){e.tagID===he.TEMPLATE&&Fn(t,e)}(this,t);break;case bn.AFTER_BODY:mr(this,t);break;case bn.IN_FRAMESET:!function(t,e){e.tagID!==he.FRAMESET||t.openElements.isRootHtmlElementCurrent()||(t.openElements.pop(),t.fragmentContext||t.openElements.currentTagId===he.FRAMESET||(t.insertionMode=bn.AFTER_FRAMESET))}(this,t);break;case bn.AFTER_FRAMESET:!function(t,e){e.tagID===he.HTML&&(t.insertionMode=bn.AFTER_AFTER_FRAMESET)}(this,t);break;case bn.AFTER_AFTER_BODY:yr(this,t)}}onEof(t){switch(this.insertionMode){case bn.INITIAL:Nn(this,t);break;case bn.BEFORE_HTML:On(this,t);break;case bn.BEFORE_HEAD:Ln(this,t);break;case bn.IN_HEAD:Bn(this,t);break;case bn.IN_HEAD_NO_SCRIPT:Un(this,t);break;case bn.AFTER_HEAD:jn(this,t);break;case bn.IN_BODY:case bn.IN_TABLE:case bn.IN_CAPTION:case bn.IN_COLUMN_GROUP:case bn.IN_TABLE_BODY:case bn.IN_ROW:case bn.IN_CELL:case bn.IN_SELECT:case bn.IN_SELECT_IN_TABLE:$n(this,t);break;case bn.TEXT:!function(t,e){t._err(e,Vt.eofInElementThatCanContainOnlyText),t.openElements.pop(),t.insertionMode=t.originalInsertionMode,t.onEof(e)}(this,t);break;case bn.IN_TABLE_TEXT:ir(this,t);break;case bn.IN_TEMPLATE:pr(this,t);break;case bn.AFTER_BODY:case bn.IN_FRAMESET:case bn.AFTER_FRAMESET:case bn.AFTER_AFTER_BODY:case bn.AFTER_AFTER_FRAMESET:Rn(this,t)}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===Ht.LINE_FEED)){if(1===t.chars.length)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode)this._insertCharacters(t);else switch(this.insertionMode){case bn.IN_HEAD:case bn.IN_HEAD_NO_SCRIPT:case bn.AFTER_HEAD:case bn.TEXT:case bn.IN_COLUMN_GROUP:case bn.IN_SELECT:case bn.IN_SELECT_IN_TABLE:case bn.IN_FRAMESET:case bn.AFTER_FRAMESET:this._insertCharacters(t);break;case bn.IN_BODY:case bn.IN_CAPTION:case bn.IN_CELL:case bn.IN_TEMPLATE:case bn.AFTER_BODY:case bn.AFTER_AFTER_BODY:case bn.AFTER_AFTER_FRAMESET:zn(this,t);break;case bn.IN_TABLE:case bn.IN_TABLE_BODY:case bn.IN_ROW:Qn(this,t);break;case bn.IN_TABLE_TEXT:nr(this,t)}}}function Mn(t,e){let n=t.activeFormattingElements.getElementEntryInScopeWithTagName(e.tagName);return n?t.openElements.contains(n.element)?t.openElements.hasInScope(e.tagID)||(n=null):(t.activeFormattingElements.removeEntry(n),n=null):Xn(t,e),n}function Tn(t,e){let n=null,r=t.openElements.stackTop;for(;r>=0;r--){const i=t.openElements.items[r];if(i===e.element)break;t._isSpecialElement(i,t.openElements.tagIDs[r])&&(n=i)}return n||(t.openElements.shortenToLength(r<0?0:r),t.activeFormattingElements.removeEntry(e)),n}function xn(t,e,n){let r=e,i=t.openElements.getCommonAncestor(e);for(let o=0,a=i;a!==n;o++,a=i){i=t.openElements.getCommonAncestor(a);const n=t.activeFormattingElements.getElementEntry(a),s=n&&o>=wn;!n||s?(s&&t.activeFormattingElements.removeEntry(n),t.openElements.remove(a)):(a=Sn(t,n),r===e&&(t.activeFormattingElements.bookmark=n),t.treeAdapter.detachNode(r),t.treeAdapter.appendChild(a,r),r=a)}return r}function Sn(t,e){const n=t.treeAdapter.getNamespaceURI(e.element),r=t.treeAdapter.createElement(e.token.tagName,n,e.token.attrs);return t.openElements.replace(e.element,r),e.element=r,r}function kn(t,e,n){const r=ve(t.treeAdapter.getTagName(e));if(t._isElementCausesFosterParenting(r))t._fosterParentElement(n);else{const i=t.treeAdapter.getNamespaceURI(e);r===he.TEMPLATE&&i===se.HTML&&(e=t.treeAdapter.getTemplateContent(e)),t.treeAdapter.appendChild(e,n)}}function Cn(t,e,n){const r=t.treeAdapter.getNamespaceURI(n.element),{token:i}=n,o=t.treeAdapter.createElement(i.tagName,r,i.attrs);t._adoptNodes(e,o),t.treeAdapter.appendChild(e,o),t.activeFormattingElements.insertElementAfterBookmark(o,i),t.activeFormattingElements.removeEntry(n),t.openElements.remove(n.element),t.openElements.insertAfter(e,o,i.tagID)}function Dn(t,e){for(let n=0;n<yn;n++){const n=Mn(t,e);if(!n)break;const r=Tn(t,n);if(!r)break;t.activeFormattingElements.bookmark=n;const i=xn(t,r,n.element),o=t.openElements.getCommonAncestor(n.element);t.treeAdapter.detachNode(i),o&&kn(t,o,i),Cn(t,r,n)}}function In(t,e){t._appendCommentNode(e,t.openElements.currentTmplContentOrNode)}function Rn(t,e){if(t.stopped=!0,e.location){const n=t.fragmentContext?0:2;for(let r=t.openElements.stackTop;r>=n;r--)t._setEndLocation(t.openElements.items[r],e);if(!t.fragmentContext&&t.openElements.stackTop>=0){const n=t.openElements.items[0],r=t.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(t._setEndLocation(n,e),t.openElements.stackTop>=1)){const n=t.openElements.items[1],r=t.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&t._setEndLocation(n,e)}}}}function Nn(t,e){t._err(e,Vt.missingDoctype,!0),t.treeAdapter.setDocumentMode(t.document,ce.QUIRKS),t.insertionMode=bn.BEFORE_HTML,t._processToken(e)}function On(t,e){t._insertFakeRootElement(),t.insertionMode=bn.BEFORE_HEAD,t._processToken(e)}function Ln(t,e){t._insertFakeElement(ue.HEAD,he.HEAD),t.headElement=t.openElements.current,t.insertionMode=bn.IN_HEAD,t._processToken(e)}function Pn(t,e){switch(e.tagID){case he.HTML:Vn(t,e);break;case he.BASE:case he.BASEFONT:case he.BGSOUND:case he.LINK:case he.META:t._appendElement(e,se.HTML),e.ackSelfClosing=!0;break;case he.TITLE:t._switchToTextParsing(e,xe.RCDATA);break;case he.NOSCRIPT:t.options.scriptingEnabled?t._switchToTextParsing(e,xe.RAWTEXT):(t._insertElement(e,se.HTML),t.insertionMode=bn.IN_HEAD_NO_SCRIPT);break;case he.NOFRAMES:case he.STYLE:t._switchToTextParsing(e,xe.RAWTEXT);break;case he.SCRIPT:t._switchToTextParsing(e,xe.SCRIPT_DATA);break;case he.TEMPLATE:t._insertTemplate(e),t.activeFormattingElements.insertMarker(),t.framesetOk=!1,t.insertionMode=bn.IN_TEMPLATE,t.tmplInsertionModeStack.unshift(bn.IN_TEMPLATE);break;case he.HEAD:t._err(e,Vt.misplacedStartTagForHeadElement);break;default:Bn(t,e)}}function Fn(t,e){t.openElements.tmplCount>0?(t.openElements.generateImpliedEndTagsThoroughly(),t.openElements.currentTagId!==he.TEMPLATE&&t._err(e,Vt.closingOfElementWithOpenChildElements),t.openElements.popUntilTagNamePopped(he.TEMPLATE),t.activeFormattingElements.clearToLastMarker(),t.tmplInsertionModeStack.shift(),t._resetInsertionMode()):t._err(e,Vt.endTagWithoutMatchingOpenElement)}function Bn(t,e){t.openElements.pop(),t.insertionMode=bn.AFTER_HEAD,t._processToken(e)}function Un(t,e){const n=e.type===Xt.EOF?Vt.openElementsLeftAfterEof:Vt.disallowedContentInNoscriptInHead;t._err(e,n),t.openElements.pop(),t.insertionMode=bn.IN_HEAD,t._processToken(e)}function jn(t,e){t._insertFakeElement(ue.BODY,he.BODY),t.insertionMode=bn.IN_BODY,Hn(t,e)}function Hn(t,e){switch(e.type){case Xt.CHARACTER:qn(t,e);break;case Xt.WHITESPACE_CHARACTER:zn(t,e);break;case Xt.COMMENT:In(t,e);break;case Xt.START_TAG:Vn(t,e);break;case Xt.END_TAG:Zn(t,e);break;case Xt.EOF:$n(t,e)}}function zn(t,e){t._reconstructActiveFormattingElements(),t._insertCharacters(e)}function qn(t,e){t._reconstructActiveFormattingElements(),t._insertCharacters(e),t.framesetOk=!1}function Wn(t,e){t._reconstructActiveFormattingElements(),t._appendElement(e,se.HTML),t.framesetOk=!1,e.ackSelfClosing=!0}function Gn(t){const e=$t(t,le.TYPE);return null!=e&&e.toLowerCase()===gn}function Kn(t,e){t._switchToTextParsing(e,xe.RAWTEXT)}function Yn(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,se.HTML)}function Vn(t,e){switch(e.tagID){case he.I:case he.S:case he.B:case he.U:case he.EM:case he.TT:case he.BIG:case he.CODE:case he.FONT:case he.SMALL:case he.STRIKE:case he.STRONG:!function(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,se.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}(t,e);break;case he.A:!function(t,e){const n=t.activeFormattingElements.getElementEntryInScopeWithTagName(ue.A);n&&(Dn(t,e),t.openElements.remove(n.element),t.activeFormattingElements.removeEntry(n)),t._reconstructActiveFormattingElements(),t._insertElement(e,se.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}(t,e);break;case he.H1:case he.H2:case he.H3:case he.H4:case he.H5:case he.H6:!function(t,e){t.openElements.hasInButtonScope(he.P)&&t._closePElement(),Ae(t.openElements.currentTagId)&&t.openElements.pop(),t._insertElement(e,se.HTML)}(t,e);break;case he.P:case he.DL:case he.OL:case he.UL:case he.DIV:case he.DIR:case he.NAV:case he.MAIN:case he.MENU:case he.ASIDE:case he.CENTER:case he.FIGURE:case he.FOOTER:case he.HEADER:case he.HGROUP:case he.DIALOG:case he.DETAILS:case he.ADDRESS:case he.ARTICLE:case he.SECTION:case he.SUMMARY:case he.FIELDSET:case he.BLOCKQUOTE:case he.FIGCAPTION:!function(t,e){t.openElements.hasInButtonScope(he.P)&&t._closePElement(),t._insertElement(e,se.HTML)}(t,e);break;case he.LI:case he.DD:case he.DT:!function(t,e){t.framesetOk=!1;const n=e.tagID;for(let e=t.openElements.stackTop;e>=0;e--){const r=t.openElements.tagIDs[e];if(n===he.LI&&r===he.LI||(n===he.DD||n===he.DT)&&(r===he.DD||r===he.DT)){t.openElements.generateImpliedEndTagsWithExclusion(r),t.openElements.popUntilTagNamePopped(r);break}if(r!==he.ADDRESS&&r!==he.DIV&&r!==he.P&&t._isSpecialElement(t.openElements.items[e],r))break}t.openElements.hasInButtonScope(he.P)&&t._closePElement(),t._insertElement(e,se.HTML)}(t,e);break;case he.BR:case he.IMG:case he.WBR:case he.AREA:case he.EMBED:case he.KEYGEN:Wn(t,e);break;case he.HR:!function(t,e){t.openElements.hasInButtonScope(he.P)&&t._closePElement(),t._appendElement(e,se.HTML),t.framesetOk=!1,e.ackSelfClosing=!0}(t,e);break;case he.RB:case he.RTC:!function(t,e){t.openElements.hasInScope(he.RUBY)&&t.openElements.generateImpliedEndTags(),t._insertElement(e,se.HTML)}(t,e);break;case he.RT:case he.RP:!function(t,e){t.openElements.hasInScope(he.RUBY)&&t.openElements.generateImpliedEndTagsWithExclusion(he.RTC),t._insertElement(e,se.HTML)}(t,e);break;case he.PRE:case he.LISTING:!function(t,e){t.openElements.hasInButtonScope(he.P)&&t._closePElement(),t._insertElement(e,se.HTML),t.skipNextNewLine=!0,t.framesetOk=!1}(t,e);break;case he.XMP:!function(t,e){t.openElements.hasInButtonScope(he.P)&&t._closePElement(),t._reconstructActiveFormattingElements(),t.framesetOk=!1,t._switchToTextParsing(e,xe.RAWTEXT)}(t,e);break;case he.SVG:!function(t,e){t._reconstructActiveFormattingElements(),pn(e),mn(e),e.selfClosing?t._appendElement(e,se.SVG):t._insertElement(e,se.SVG),e.ackSelfClosing=!0}(t,e);break;case he.HTML:!function(t,e){0===t.openElements.tmplCount&&t.treeAdapter.adoptAttributes(t.openElements.items[0],e.attrs)}(t,e);break;case he.BASE:case he.LINK:case he.META:case he.STYLE:case he.TITLE:case he.SCRIPT:case he.BGSOUND:case he.BASEFONT:case he.TEMPLATE:Pn(t,e);break;case he.BODY:!function(t,e){const n=t.openElements.tryPeekProperlyNestedBodyElement();n&&0===t.openElements.tmplCount&&(t.framesetOk=!1,t.treeAdapter.adoptAttributes(n,e.attrs))}(t,e);break;case he.FORM:!function(t,e){const n=t.openElements.tmplCount>0;t.formElement&&!n||(t.openElements.hasInButtonScope(he.P)&&t._closePElement(),t._insertElement(e,se.HTML),n||(t.formElement=t.openElements.current))}(t,e);break;case he.NOBR:!function(t,e){t._reconstructActiveFormattingElements(),t.openElements.hasInScope(he.NOBR)&&(Dn(t,e),t._reconstructActiveFormattingElements()),t._insertElement(e,se.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}(t,e);break;case he.MATH:!function(t,e){t._reconstructActiveFormattingElements(),dn(e),mn(e),e.selfClosing?t._appendElement(e,se.MATHML):t._insertElement(e,se.MATHML),e.ackSelfClosing=!0}(t,e);break;case he.TABLE:!function(t,e){t.treeAdapter.getDocumentMode(t.document)!==ce.QUIRKS&&t.openElements.hasInButtonScope(he.P)&&t._closePElement(),t._insertElement(e,se.HTML),t.framesetOk=!1,t.insertionMode=bn.IN_TABLE}(t,e);break;case he.INPUT:!function(t,e){t._reconstructActiveFormattingElements(),t._appendElement(e,se.HTML),Gn(e)||(t.framesetOk=!1),e.ackSelfClosing=!0}(t,e);break;case he.PARAM:case he.TRACK:case he.SOURCE:!function(t,e){t._appendElement(e,se.HTML),e.ackSelfClosing=!0}(t,e);break;case he.IMAGE:!function(t,e){e.tagName=ue.IMG,e.tagID=he.IMG,Wn(t,e)}(t,e);break;case he.BUTTON:!function(t,e){t.openElements.hasInScope(he.BUTTON)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(he.BUTTON)),t._reconstructActiveFormattingElements(),t._insertElement(e,se.HTML),t.framesetOk=!1}(t,e);break;case he.APPLET:case he.OBJECT:case he.MARQUEE:!function(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,se.HTML),t.activeFormattingElements.insertMarker(),t.framesetOk=!1}(t,e);break;case he.IFRAME:!function(t,e){t.framesetOk=!1,t._switchToTextParsing(e,xe.RAWTEXT)}(t,e);break;case he.SELECT:!function(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,se.HTML),t.framesetOk=!1,t.insertionMode=t.insertionMode===bn.IN_TABLE||t.insertionMode===bn.IN_CAPTION||t.insertionMode===bn.IN_TABLE_BODY||t.insertionMode===bn.IN_ROW||t.insertionMode===bn.IN_CELL?bn.IN_SELECT_IN_TABLE:bn.IN_SELECT}(t,e);break;case he.OPTION:case he.OPTGROUP:!function(t,e){t.openElements.currentTagId===he.OPTION&&t.openElements.pop(),t._reconstructActiveFormattingElements(),t._insertElement(e,se.HTML)}(t,e);break;case he.NOEMBED:Kn(t,e);break;case he.FRAMESET:!function(t,e){const n=t.openElements.tryPeekProperlyNestedBodyElement();t.framesetOk&&n&&(t.treeAdapter.detachNode(n),t.openElements.popAllUpToHtmlElement(),t._insertElement(e,se.HTML),t.insertionMode=bn.IN_FRAMESET)}(t,e);break;case he.TEXTAREA:!function(t,e){t._insertElement(e,se.HTML),t.skipNextNewLine=!0,t.tokenizer.state=xe.RCDATA,t.originalInsertionMode=t.insertionMode,t.framesetOk=!1,t.insertionMode=bn.TEXT}(t,e);break;case he.NOSCRIPT:t.options.scriptingEnabled?Kn(t,e):Yn(t,e);break;case he.PLAINTEXT:!function(t,e){t.openElements.hasInButtonScope(he.P)&&t._closePElement(),t._insertElement(e,se.HTML),t.tokenizer.state=xe.PLAINTEXT}(t,e);break;case he.COL:case he.TH:case he.TD:case he.TR:case he.HEAD:case he.FRAME:case he.TBODY:case he.TFOOT:case he.THEAD:case he.CAPTION:case he.COLGROUP:break;default:Yn(t,e)}}function Xn(t,e){const n=e.tagName,r=e.tagID;for(let e=t.openElements.stackTop;e>0;e--){const i=t.openElements.items[e],o=t.openElements.tagIDs[e];if(r===o&&(r!==he.UNKNOWN||t.treeAdapter.getTagName(i)===n)){t.openElements.generateImpliedEndTagsWithExclusion(r),t.openElements.stackTop>=e&&t.openElements.shortenToLength(e);break}if(t._isSpecialElement(i,o))break}}function Zn(t,e){switch(e.tagID){case he.A:case he.B:case he.I:case he.S:case he.U:case he.EM:case he.TT:case he.BIG:case he.CODE:case he.FONT:case he.NOBR:case he.SMALL:case he.STRIKE:case he.STRONG:Dn(t,e);break;case he.P:!function(t){t.openElements.hasInButtonScope(he.P)||t._insertFakeElement(ue.P,he.P),t._closePElement()}(t);break;case he.DL:case he.UL:case he.OL:case he.DIR:case he.DIV:case he.NAV:case he.PRE:case he.MAIN:case he.MENU:case he.ASIDE:case he.BUTTON:case he.CENTER:case he.FIGURE:case he.FOOTER:case he.HEADER:case he.HGROUP:case he.DIALOG:case he.ADDRESS:case he.ARTICLE:case he.DETAILS:case he.SECTION:case he.SUMMARY:case he.LISTING:case he.FIELDSET:case he.BLOCKQUOTE:case he.FIGCAPTION:!function(t,e){const n=e.tagID;t.openElements.hasInScope(n)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(n))}(t,e);break;case he.LI:!function(t){t.openElements.hasInListItemScope(he.LI)&&(t.openElements.generateImpliedEndTagsWithExclusion(he.LI),t.openElements.popUntilTagNamePopped(he.LI))}(t);break;case he.DD:case he.DT:!function(t,e){const n=e.tagID;t.openElements.hasInScope(n)&&(t.openElements.generateImpliedEndTagsWithExclusion(n),t.openElements.popUntilTagNamePopped(n))}(t,e);break;case he.H1:case he.H2:case he.H3:case he.H4:case he.H5:case he.H6:!function(t){t.openElements.hasNumberedHeaderInScope()&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilNumberedHeaderPopped())}(t);break;case he.BR:!function(t){t._reconstructActiveFormattingElements(),t._insertFakeElement(ue.BR,he.BR),t.openElements.pop(),t.framesetOk=!1}(t);break;case he.BODY:!function(t,e){if(t.openElements.hasInScope(he.BODY)&&(t.insertionMode=bn.AFTER_BODY,t.options.sourceCodeLocationInfo)){const n=t.openElements.tryPeekProperlyNestedBodyElement();n&&t._setEndLocation(n,e)}}(t,e);break;case he.HTML:!function(t,e){t.openElements.hasInScope(he.BODY)&&(t.insertionMode=bn.AFTER_BODY,mr(t,e))}(t,e);break;case he.FORM:!function(t){const e=t.openElements.tmplCount>0,{formElement:n}=t;e||(t.formElement=null),(n||e)&&t.openElements.hasInScope(he.FORM)&&(t.openElements.generateImpliedEndTags(),e?t.openElements.popUntilTagNamePopped(he.FORM):n&&t.openElements.remove(n))}(t);break;case he.APPLET:case he.OBJECT:case he.MARQUEE:!function(t,e){const n=e.tagID;t.openElements.hasInScope(n)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(n),t.activeFormattingElements.clearToLastMarker())}(t,e);break;case he.TEMPLATE:Fn(t,e);break;default:Xn(t,e)}}function $n(t,e){t.tmplInsertionModeStack.length>0?pr(t,e):Rn(t,e)}function Qn(t,e){if(En.has(t.openElements.currentTagId))switch(t.pendingCharacterTokens.length=0,t.hasNonWhitespacePendingCharacterToken=!1,t.originalInsertionMode=t.insertionMode,t.insertionMode=bn.IN_TABLE_TEXT,e.type){case Xt.CHARACTER:rr(t,e);break;case Xt.WHITESPACE_CHARACTER:nr(t,e)}else er(t,e)}function Jn(t,e){switch(e.tagID){case he.TD:case he.TH:case he.TR:!function(t,e){t.openElements.clearBackToTableContext(),t._insertFakeElement(ue.TBODY,he.TBODY),t.insertionMode=bn.IN_TABLE_BODY,lr(t,e)}(t,e);break;case he.STYLE:case he.SCRIPT:case he.TEMPLATE:Pn(t,e);break;case he.COL:!function(t,e){t.openElements.clearBackToTableContext(),t._insertFakeElement(ue.COLGROUP,he.COLGROUP),t.insertionMode=bn.IN_COLUMN_GROUP,ar(t,e)}(t,e);break;case he.FORM:!function(t,e){t.formElement||0!==t.openElements.tmplCount||(t._insertElement(e,se.HTML),t.formElement=t.openElements.current,t.openElements.pop())}(t,e);break;case he.TABLE:!function(t,e){t.openElements.hasInTableScope(he.TABLE)&&(t.openElements.popUntilTagNamePopped(he.TABLE),t._resetInsertionMode(),t._processStartTag(e))}(t,e);break;case he.TBODY:case he.TFOOT:case he.THEAD:!function(t,e){t.openElements.clearBackToTableContext(),t._insertElement(e,se.HTML),t.insertionMode=bn.IN_TABLE_BODY}(t,e);break;case he.INPUT:!function(t,e){Gn(e)?t._appendElement(e,se.HTML):er(t,e),e.ackSelfClosing=!0}(t,e);break;case he.CAPTION:!function(t,e){t.openElements.clearBackToTableContext(),t.activeFormattingElements.insertMarker(),t._insertElement(e,se.HTML),t.insertionMode=bn.IN_CAPTION}(t,e);break;case he.COLGROUP:!function(t,e){t.openElements.clearBackToTableContext(),t._insertElement(e,se.HTML),t.insertionMode=bn.IN_COLUMN_GROUP}(t,e);break;default:er(t,e)}}function tr(t,e){switch(e.tagID){case he.TABLE:t.openElements.hasInTableScope(he.TABLE)&&(t.openElements.popUntilTagNamePopped(he.TABLE),t._resetInsertionMode());break;case he.TEMPLATE:Fn(t,e);break;case he.BODY:case he.CAPTION:case he.COL:case he.COLGROUP:case he.HTML:case he.TBODY:case he.TD:case he.TFOOT:case he.TH:case he.THEAD:case he.TR:break;default:er(t,e)}}function er(t,e){const n=t.fosterParentingEnabled;t.fosterParentingEnabled=!0,Hn(t,e),t.fosterParentingEnabled=n}function nr(t,e){t.pendingCharacterTokens.push(e)}function rr(t,e){t.pendingCharacterTokens.push(e),t.hasNonWhitespacePendingCharacterToken=!0}function ir(t,e){let n=0;if(t.hasNonWhitespacePendingCharacterToken)for(;n<t.pendingCharacterTokens.length;n++)er(t,t.pendingCharacterTokens[n]);else for(;n<t.pendingCharacterTokens.length;n++)t._insertCharacters(t.pendingCharacterTokens[n]);t.insertionMode=t.originalInsertionMode,t._processToken(e)}const or=new Set([he.CAPTION,he.COL,he.COLGROUP,he.TBODY,he.TD,he.TFOOT,he.TH,he.THEAD,he.TR]);function ar(t,e){switch(e.tagID){case he.HTML:Vn(t,e);break;case he.COL:t._appendElement(e,se.HTML),e.ackSelfClosing=!0;break;case he.TEMPLATE:Pn(t,e);break;default:sr(t,e)}}function sr(t,e){t.openElements.currentTagId===he.COLGROUP&&(t.openElements.pop(),t.insertionMode=bn.IN_TABLE,t._processToken(e))}function lr(t,e){switch(e.tagID){case he.TR:t.openElements.clearBackToTableBodyContext(),t._insertElement(e,se.HTML),t.insertionMode=bn.IN_ROW;break;case he.TH:case he.TD:t.openElements.clearBackToTableBodyContext(),t._insertFakeElement(ue.TR,he.TR),t.insertionMode=bn.IN_ROW,ur(t,e);break;case he.CAPTION:case he.COL:case he.COLGROUP:case he.TBODY:case he.TFOOT:case he.THEAD:t.openElements.hasTableBodyContextInTableScope()&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=bn.IN_TABLE,Jn(t,e));break;default:Jn(t,e)}}function cr(t,e){const n=e.tagID;switch(e.tagID){case he.TBODY:case he.TFOOT:case he.THEAD:t.openElements.hasInTableScope(n)&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=bn.IN_TABLE);break;case he.TABLE:t.openElements.hasTableBodyContextInTableScope()&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=bn.IN_TABLE,tr(t,e));break;case he.BODY:case he.CAPTION:case he.COL:case he.COLGROUP:case he.HTML:case he.TD:case he.TH:case he.TR:break;default:tr(t,e)}}function ur(t,e){switch(e.tagID){case he.TH:case he.TD:t.openElements.clearBackToTableRowContext(),t._insertElement(e,se.HTML),t.insertionMode=bn.IN_CELL,t.activeFormattingElements.insertMarker();break;case he.CAPTION:case he.COL:case he.COLGROUP:case he.TBODY:case he.TFOOT:case he.THEAD:case he.TR:t.openElements.hasInTableScope(he.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=bn.IN_TABLE_BODY,lr(t,e));break;default:Jn(t,e)}}function hr(t,e){switch(e.tagID){case he.TR:t.openElements.hasInTableScope(he.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=bn.IN_TABLE_BODY);break;case he.TABLE:t.openElements.hasInTableScope(he.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=bn.IN_TABLE_BODY,cr(t,e));break;case he.TBODY:case he.TFOOT:case he.THEAD:(t.openElements.hasInTableScope(e.tagID)||t.openElements.hasInTableScope(he.TR))&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=bn.IN_TABLE_BODY,cr(t,e));break;case he.BODY:case he.CAPTION:case he.COL:case he.COLGROUP:case he.HTML:case he.TD:case he.TH:break;default:tr(t,e)}}function fr(t,e){switch(e.tagID){case he.HTML:Vn(t,e);break;case he.OPTION:t.openElements.currentTagId===he.OPTION&&t.openElements.pop(),t._insertElement(e,se.HTML);break;case he.OPTGROUP:t.openElements.currentTagId===he.OPTION&&t.openElements.pop(),t.openElements.currentTagId===he.OPTGROUP&&t.openElements.pop(),t._insertElement(e,se.HTML);break;case he.INPUT:case he.KEYGEN:case he.TEXTAREA:case he.SELECT:t.openElements.hasInSelectScope(he.SELECT)&&(t.openElements.popUntilTagNamePopped(he.SELECT),t._resetInsertionMode(),e.tagID!==he.SELECT&&t._processStartTag(e));break;case he.SCRIPT:case he.TEMPLATE:Pn(t,e)}}function dr(t,e){switch(e.tagID){case he.OPTGROUP:t.openElements.stackTop>0&&t.openElements.currentTagId===he.OPTION&&t.openElements.tagIDs[t.openElements.stackTop-1]===he.OPTGROUP&&t.openElements.pop(),t.openElements.currentTagId===he.OPTGROUP&&t.openElements.pop();break;case he.OPTION:t.openElements.currentTagId===he.OPTION&&t.openElements.pop();break;case he.SELECT:t.openElements.hasInSelectScope(he.SELECT)&&(t.openElements.popUntilTagNamePopped(he.SELECT),t._resetInsertionMode());break;case he.TEMPLATE:Fn(t,e)}}function pr(t,e){t.openElements.tmplCount>0?(t.openElements.popUntilTagNamePopped(he.TEMPLATE),t.activeFormattingElements.clearToLastMarker(),t.tmplInsertionModeStack.shift(),t._resetInsertionMode(),t.onEof(e)):Rn(t,e)}function mr(t,e){var n;if(e.tagID===he.HTML){if(t.fragmentContext||(t.insertionMode=bn.AFTER_AFTER_BODY),t.options.sourceCodeLocationInfo&&t.openElements.tagIDs[0]===he.HTML){t._setEndLocation(t.openElements.items[0],e);const r=t.openElements.items[1];r&&!(null===(n=t.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)&&t._setEndLocation(r,e)}}else gr(t,e)}function gr(t,e){t.insertionMode=bn.IN_BODY,Hn(t,e)}function yr(t,e){t.insertionMode=bn.IN_BODY,Hn(t,e)}function wr(t){for(;t.treeAdapter.getNamespaceURI(t.openElements.current)!==se.HTML&&!t._isIntegrationPoint(t.openElements.currentTagId,t.openElements.current);)t.openElements.pop()}const br=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]);function vr(t,e){return function(n){let r,i=0,o="";for(;r=t.exec(n);)i!==r.index&&(o+=n.substring(i,r.index)),o+=e.get(r[0].charCodeAt(0)),i=r.index+1;return o+n.substring(i)}}function Er(t,e){return An.parse(t,e)}function _r(t,e,n){"string"==typeof t&&(n=e,e=t,t=null);const r=An.getFragmentParser(t,n);return r.tokenizer.write(e,!0),r.getFragment()}String.prototype.codePointAt,vr(/[&<>'"]/g,br),vr(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),vr(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]])),new Set([ue.AREA,ue.BASE,ue.BASEFONT,ue.BGSOUND,ue.BR,ue.COL,ue.EMBED,ue.FRAME,ue.HR,ue.IMG,ue.INPUT,ue.KEYGEN,ue.LINK,ue.META,ue.PARAM,ue.SOURCE,ue.TRACK,ue.WBR]);const Ar={abandonedHeadElementChild:{reason:"Unexpected metadata element after head",description:"Unexpected element after head. Expected the element before `</head>`",url:!1},abruptClosingOfEmptyComment:{reason:"Unexpected abruptly closed empty comment",description:"Unexpected `>` or `->`. Expected `--\x3e` to close comments"},abruptDoctypePublicIdentifier:{reason:"Unexpected abruptly closed public identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the public identifier"},abruptDoctypeSystemIdentifier:{reason:"Unexpected abruptly closed system identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the identifier identifier"},absenceOfDigitsInNumericCharacterReference:{reason:"Unexpected non-digit at start of numeric character reference",description:"Unexpected `%c`. Expected `[0-9]` for decimal references or `[0-9a-fA-F]` for hexadecimal references"},cdataInHtmlContent:{reason:"Unexpected CDATA section in HTML",description:"Unexpected `<![CDATA[` in HTML. Remove it, use a comment, or encode special characters instead"},characterReferenceOutsideUnicodeRange:{reason:"Unexpected too big numeric character reference",description:"Unexpectedly high character reference. Expected character references to be at most hexadecimal 10ffff (or decimal 1114111)"},closingOfElementWithOpenChildElements:{reason:"Unexpected closing tag with open child elements",description:"Unexpectedly closing tag. Expected other tags to be closed first",url:!1},controlCharacterInInputStream:{reason:"Unexpected control character",description:"Unexpected control character `%x`. Expected a non-control code point, 0x00, or ASCII whitespace"},controlCharacterReference:{reason:"Unexpected control character reference",description:"Unexpectedly control character in reference. Expected a non-control code point, 0x00, or ASCII whitespace"},disallowedContentInNoscriptInHead:{reason:"Disallowed content inside `<noscript>` in `<head>`",description:"Unexpected text character `%c`. Only use text in `<noscript>`s in `<body>`",url:!1},duplicateAttribute:{reason:"Unexpected duplicate attribute",description:"Unexpectedly double attribute. Expected attributes to occur only once"},endTagWithAttributes:{reason:"Unexpected attribute on closing tag",description:"Unexpected attribute. Expected `>` instead"},endTagWithTrailingSolidus:{reason:"Unexpected slash at end of closing tag",description:"Unexpected `%c-1`. Expected `>` instead"},endTagWithoutMatchingOpenElement:{reason:"Unexpected unopened end tag",description:"Unexpected end tag. Expected no end tag or another end tag",url:!1},eofBeforeTagName:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected tag name instead"},eofInCdata:{reason:"Unexpected end of file in CDATA",description:"Unexpected end of file. Expected `]]>` to close the CDATA"},eofInComment:{reason:"Unexpected end of file in comment",description:"Unexpected end of file. Expected `--\x3e` to close the comment"},eofInDoctype:{reason:"Unexpected end of file in doctype",description:"Unexpected end of file. Expected a valid doctype (such as `<!doctype html>`)"},eofInElementThatCanContainOnlyText:{reason:"Unexpected end of file in element that can only contain text",description:"Unexpected end of file. Expected text or a closing tag",url:!1},eofInScriptHtmlCommentLikeText:{reason:"Unexpected end of file in comment inside script",description:"Unexpected end of file. Expected `--\x3e` to close the comment"},eofInTag:{reason:"Unexpected end of file in tag",description:"Unexpected end of file. Expected `>` to close the tag"},incorrectlyClosedComment:{reason:"Incorrectly closed comment",description:"Unexpected `%c-1`. Expected `--\x3e` to close the comment"},incorrectlyOpenedComment:{reason:"Incorrectly opened comment",description:"Unexpected `%c`. Expected `\x3c!--` to open the comment"},invalidCharacterSequenceAfterDoctypeName:{reason:"Invalid sequence after doctype name",description:"Unexpected sequence at `%c`. Expected `public` or `system`"},invalidFirstCharacterOfTagName:{reason:"Invalid first character in tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},misplacedDoctype:{reason:"Misplaced doctype",description:"Unexpected doctype. Expected doctype before head",url:!1},misplacedStartTagForHeadElement:{reason:"Misplaced `<head>` start tag",description:"Unexpected start tag `<head>`. Expected `<head>` directly after doctype",url:!1},missingAttributeValue:{reason:"Missing attribute value",description:"Unexpected `%c-1`. Expected an attribute value or no `%c-1` instead"},missingDoctype:{reason:"Missing doctype before other content",description:"Expected a `<!doctype html>` before anything else",url:!1},missingDoctypeName:{reason:"Missing doctype name",description:"Unexpected doctype end at `%c`. Expected `html` instead"},missingDoctypePublicIdentifier:{reason:"Missing public identifier in doctype",description:"Unexpected `%c`. Expected identifier for `public` instead"},missingDoctypeSystemIdentifier:{reason:"Missing system identifier in doctype",description:'Unexpected `%c`. Expected identifier for `system` instead (suggested: `"about:legacy-compat"`)'},missingEndTagName:{reason:"Missing name in end tag",description:"Unexpected `%c`. Expected an ASCII letter instead"},missingQuoteBeforeDoctypePublicIdentifier:{reason:"Missing quote before public identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingQuoteBeforeDoctypeSystemIdentifier:{reason:"Missing quote before system identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingSemicolonAfterCharacterReference:{reason:"Missing semicolon after character reference",description:"Unexpected `%c`. Expected `;` instead"},missingWhitespaceAfterDoctypePublicKeyword:{reason:"Missing whitespace after public identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceAfterDoctypeSystemKeyword:{reason:"Missing whitespace after system identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBeforeDoctypeName:{reason:"Missing whitespace before doctype name",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenAttributes:{reason:"Missing whitespace between attributes",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:{reason:"Missing whitespace between public and system identifiers in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},nestedComment:{reason:"Unexpected nested comment",description:"Unexpected `\x3c!--`. Expected `--\x3e`"},nestedNoscriptInHead:{reason:"Unexpected nested `<noscript>` in `<head>`",description:"Unexpected `<noscript>`. Expected a closing tag or a meta element",url:!1},nonConformingDoctype:{reason:"Unexpected non-conforming doctype declaration",description:'Expected `<!doctype html>` or `<!doctype html system "about:legacy-compat">`',url:!1},nonVoidHtmlElementStartTagWithTrailingSolidus:{reason:"Unexpected trailing slash on start tag of non-void element",description:"Unexpected `/`. Expected `>` instead"},noncharacterCharacterReference:{reason:"Unexpected noncharacter code point referenced by character reference",description:"Unexpected code point. Do not use noncharacters in HTML"},noncharacterInInputStream:{reason:"Unexpected noncharacter character",description:"Unexpected code point `%x`. Do not use noncharacters in HTML"},nullCharacterReference:{reason:"Unexpected NULL character referenced by character reference",description:"Unexpected code point. Do not use NULL characters in HTML"},openElementsLeftAfterEof:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected closing tag instead",url:!1},surrogateCharacterReference:{reason:"Unexpected surrogate character referenced by character reference",description:"Unexpected code point. Do not use lone surrogate characters in HTML"},surrogateInInputStream:{reason:"Unexpected surrogate character",description:"Unexpected code point `%x`. Do not use lone surrogate characters in HTML"},unexpectedCharacterAfterDoctypeSystemIdentifier:{reason:"Invalid character after system identifier in doctype",description:"Unexpected character at `%c`. Expected `>`"},unexpectedCharacterInAttributeName:{reason:"Unexpected character in attribute name",description:"Unexpected `%c`. Expected whitespace, `/`, `>`, `=`, or probably an ASCII letter"},unexpectedCharacterInUnquotedAttributeValue:{reason:"Unexpected character in unquoted attribute value",description:"Unexpected `%c`. Quote the attribute value to include it"},unexpectedEqualsSignBeforeAttributeName:{reason:"Unexpected equals sign before attribute name",description:"Unexpected `%c`. Add an attribute name before it"},unexpectedNullCharacter:{reason:"Unexpected NULL character",description:"Unexpected code point `%x`. Do not use NULL characters in HTML"},unexpectedQuestionMarkInsteadOfTagName:{reason:"Unexpected question mark instead of tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},unexpectedSolidusInTag:{reason:"Unexpected slash in tag",description:"Unexpected `%c-1`. Expected it followed by `>` or in a quoted attribute value"},unknownNamedCharacterReference:{reason:"Unexpected unknown named character reference",description:"Unexpected character reference. Expected known named character references"}},Mr="https://html.spec.whatwg.org/multipage/parsing.html#parse-error-",Tr=/-[a-z]/g,xr=/%c(?:([-+])(\d+))?/g,Sr=/%x/g,kr={2:!0,1:!1,0:null},Cr={};function Dr(t){return t.charAt(1).toUpperCase()}function Ir(t){const{emitParseErrors:e,...n}={...this.data("settings"),...t};this.parser=function(t,r){return function(t,e){const n=e||Cr,r=n.onerror,i=t instanceof _?t:new _(t),o=n.fragment?_r:Er,a=String(i),s=o(a,{sourceCodeLocationInfo:!0,onParseError:n.onerror?function(t){const e=t.code,o=function(t){return t.replace(Tr,Dr)}(e),s=n[o],l=null==s||s,c="number"==typeof l?l:l?1:0;if(c){const n=Ar[o],a=new f(u(n.reason),{place:{start:{line:t.startLine,column:t.startCol,offset:t.startOffset},end:{line:t.endLine,column:t.endCol,offset:t.endOffset}},ruleId:e,source:"hast-util-from-html"});i.path&&(a.file=i.path,a.name=i.path+":"+a.name),a.fatal=kr[c],a.note=u(n.description),a.url=!1===n.url?void 0:Mr+e,r(a)}function u(e){return e.replace(xr,(function(e,n,r){const i=(r?Number.parseInt(r,10):0)*("-"===n?-1:1);return"`"===(o=a.charAt(t.startOffset+i))?"` ` `":o;var o})).replace(Sr,(function(){return"0x"+a.charCodeAt(t.startOffset).toString(16).toUpperCase()}))}}:null,scriptingEnabled:!1});return Nt(s,{file:i,space:n.space,verbose:n.verbose})}(t,{...n,onerror:e?function(t){r.path&&(t.name=r.path+":"+t.name,t.file=r.path),r.messages.push(t)}:void 0})}}const Rr="object"==typeof self?self:globalThis,Nr=t=>((t,e)=>{const n=(e,n)=>(t.set(n,e),e),r=i=>{if(t.has(i))return t.get(i);const[o,a]=e[i];switch(o){case 0:case-1:return n(a,i);case 1:{const t=n([],i);for(const e of a)t.push(r(e));return t}case 2:{const t=n({},i);for(const[e,n]of a)t[r(e)]=r(n);return t}case 3:return n(new Date(a),i);case 4:{const{source:t,flags:e}=a;return n(new RegExp(t,e),i)}case 5:{const t=n(new Map,i);for(const[e,n]of a)t.set(r(e),r(n));return t}case 6:{const t=n(new Set,i);for(const e of a)t.add(r(e));return t}case 7:{const{name:t,message:e}=a;return n(new Rr[t](e),i)}case 8:return n(BigInt(a),i);case"BigInt":return n(Object(BigInt(a)),i)}return n(new Rr[o](a),i)};return r})(new Map,t)(0),Or="",{toString:Lr}={},{keys:Pr}=Object,Fr=t=>{const e=typeof t;if("object"!==e||!t)return[0,e];const n=Lr.call(t).slice(8,-1);switch(n){case"Array":return[1,Or];case"Object":return[2,Or];case"Date":return[3,Or];case"RegExp":return[4,Or];case"Map":return[5,Or];case"Set":return[6,Or]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},Br=([t,e])=>0===t&&("function"===e||"symbol"===e),Ur=(t,{json:e,lossy:n}={})=>{const r=[];return((t,e,n,r)=>{const i=(t,e)=>{const i=r.push(t)-1;return n.set(e,i),i},o=r=>{if(n.has(r))return n.get(r);let[a,s]=Fr(r);switch(a){case 0:{let e=r;switch(s){case"bigint":a=8,e=r.toString();break;case"function":case"symbol":if(t)throw new TypeError("unable to serialize "+s);e=null;break;case"undefined":return i([-1],r)}return i([a,e],r)}case 1:{if(s)return i([s,[...r]],r);const t=[],e=i([a,t],r);for(const e of r)t.push(o(e));return e}case 2:{if(s)switch(s){case"BigInt":return i([s,r.toString()],r);case"Boolean":case"Number":case"String":return i([s,r.valueOf()],r)}if(e&&"toJSON"in r)return o(r.toJSON());const n=[],l=i([a,n],r);for(const e of Pr(r))!t&&Br(Fr(r[e]))||n.push([o(e),o(r[e])]);return l}case 3:return i([a,r.toISOString()],r);case 4:{const{source:t,flags:e}=r;return i([a,{source:t,flags:e}],r)}case 5:{const e=[],n=i([a,e],r);for(const[n,i]of r)(t||!Br(Fr(n))&&!Br(Fr(i)))&&e.push([o(n),o(i)]);return n}case 6:{const e=[],n=i([a,e],r);for(const n of r)!t&&Br(Fr(n))||e.push(o(n));return n}}const{message:l}=r;return i([a,{name:s,message:l}],r)};return o})(!(e||n),!!e,new Map,r)(t),r},jr="function"==typeof structuredClone?(t,e)=>e&&("json"in e||"lossy"in e)?Nr(Ur(t,e)):structuredClone(t):(t,e)=>Nr(Ur(t,e)),Hr=function(t,e,n,r,i){const o=zr(e);if(null!=n&&("number"!=typeof n||n<0||n===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite `index`");if(!(null==r||r.type&&r.children))throw new Error("Expected valid `parent`");if(null==n!=(null==r))throw new Error("Expected both `index` and `parent`");return!!Gr(t)&&o.call(i,t,n,r)},zr=function(t){if(null==t)return Wr;if("string"==typeof t)return e=t,qr((function(t){return t.tagName===e}));var e;if("object"==typeof t)return function(t){const e=[];let n=-1;for(;++n<t.length;)e[n]=zr(t[n]);return qr((function(...t){let n=-1;for(;++n<e.length;)if(e[n].apply(this,t))return!0;return!1}))}(t);if("function"==typeof t)return qr(t);throw new Error("Expected function, string, or array as `test`")};function qr(t){return function(e,n,r){return Boolean(Gr(e)&&t.call(this,e,"number"==typeof n?n:void 0,r||void 0))}}function Wr(t){return Boolean(t&&"object"==typeof t&&"type"in t&&"element"===t.type&&"tagName"in t&&"string"==typeof t.tagName)}function Gr(t){return null!==t&&"object"==typeof t&&"type"in t&&"tagName"in t}const Kr=zr((function(t){return"audio"===t.tagName||"canvas"===t.tagName||"embed"===t.tagName||"iframe"===t.tagName||"img"===t.tagName||"math"===t.tagName||"object"===t.tagName||"picture"===t.tagName||"svg"===t.tagName||"video"===t.tagName})),Yr=/[ \t\n\f\r]/g;function Vr(t){return"object"==typeof t?"text"===t.type&&Xr(t.value):Xr(t)}function Xr(t){return""===t.replace(Yr,"")}const Zr=function(t){if(null==t)return Qr;if("function"==typeof t)return $r(t);if("object"==typeof t)return Array.isArray(t)?function(t){const e=[];let n=-1;for(;++n<t.length;)e[n]=Zr(t[n]);return $r((function(...t){let n=-1;for(;++n<e.length;)if(e[n].apply(this,t))return!0;return!1}))}(t):function(t){const e=t;return $r((function(n){const r=n;let i;for(i in t)if(r[i]!==e[i])return!1;return!0}))}(t);if("string"==typeof t)return e=t,$r((function(t){return t&&t.type===e}));var e;throw new Error("Expected function, string, or object as test")};function $r(t){return function(e,n,r){return Boolean(function(t){return null!==t&&"object"==typeof t&&"type"in t}(e)&&t.call(this,e,"number"==typeof n?n:void 0,r||void 0))}}function Qr(){return!0}const Jr=["address","article","aside","blockquote","body","br","caption","center","col","colgroup","dd","dialog","dir","div","dl","dt","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","legend","li","li","listing","main","menu","nav","ol","optgroup","option","p","plaintext","pre","section","summary","table","tbody","td","td","tfoot","th","th","thead","tr","ul","wbr","xmp"],ti=["button","input","select","textarea"],ei=["area","base","basefont","dialog","datalist","head","link","meta","noembed","noframes","param","rp","script","source","style","template","track","title"],ni={},ri=Zr(["doctype","comment"]);function ii(t){const e=function(t){return function(e){return String(e).replace(/[\t\n\v\f\r ]+/g,t)}}((t||ni).newlines?fi:di);return function(t){oi(t,{collapse:e,whitespace:"normal"})}}function oi(t,e){if("children"in t){const n={...e};return("root"===t.type||ci(t))&&(n.before=!0,n.after=!0),n.whitespace=function(t,e){if("tagName"in t&&t.properties)switch(t.tagName){case"listing":case"plaintext":case"script":case"style":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return t.properties.wrap?"pre-wrap":"pre";case"td":case"th":return t.properties.noWrap?"nowrap":e.whitespace;case"textarea":return"pre-wrap"}return e.whitespace}(t,e),function(t,e){let n=e.before;const r=e.after,i=t.children;let o=i.length,a=-1;for(;++a<o;){const t=oi(i[a],{...e,after:ai(i,a,r),before:n});t.remove?(i.splice(a,1),a--,o--):t.ignore||(n=t.stripAtStart),li(i[a])&&(n=!1)}return{ignore:!1,stripAtStart:Boolean(n||r),remove:!1}}(t,n)}if("text"===t.type){if("normal"===e.whitespace)return function(t,e){const n=e.collapse(t.value),r={ignore:!1,stripAtStart:!1,remove:!1};let i=0,o=n.length;return e.before&&hi(n.charAt(0))&&i++,i!==o&&hi(n.charAt(o-1))&&(e.after?o--:r.stripAtStart=!0),i===o?r.remove=!0:t.value=n.slice(i,o),r}(t,e);"nowrap"===e.whitespace&&(t.value=e.collapse(t.value))}return{ignore:ri(t),stripAtStart:!1,remove:!1}}function ai(t,e,n){for(;++e<t.length;){const n=t[e];let r=si(n);if(void 0===r&&"children"in n&&!ui(n)&&(r=ai(n.children,-1)),"boolean"==typeof r)return r}return n}function si(t){if("element"===t.type){if(li(t))return!1;if(ci(t))return!0}else if("text"===t.type){if(!Vr(t))return!1}else if(!ri(t))return!1}function li(t){return Kr(t)||Hr(t,ti)}function ci(t){return Hr(t,Jr)}function ui(t){return Boolean("element"===t.type&&t.properties.hidden)||ri(t)||Hr(t,ei)}function hi(t){return" "===t||"\n"===t}function fi(t){const e=/\r?\n|\r/.exec(t);return e?e[0]:" "}function di(){return" "}const pi=[],mi=!0,gi=!1,yi="skip";function wi(t,e,n,r){let i;"function"==typeof e&&"function"!=typeof n?(r=n,n=e):i=e;const o=Zr(i),a=r?-1:1;!function t(i,s,l){const c=i&&"object"==typeof i?i:{};if("string"==typeof c.type){const t="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(u,"name",{value:"node ("+i.type+(t?"<"+t+">":"")+")"})}return u;function u(){let c,u,h,f=pi;if((!e||o(i,s,l[l.length-1]||void 0))&&(f=function(t){return Array.isArray(t)?t:"number"==typeof t?[mi,t]:null==t?pi:[t]}(n(i,l)),f[0]===gi))return f;if("children"in i&&i.children){const e=i;if(e.children&&f[0]!==yi)for(u=(r?e.children.length:-1)+a,h=l.concat(e);u>-1&&u<e.children.length;){const n=e.children[u];if(c=t(n,u,h)(),c[0]===gi)return c;u="number"==typeof c[1]?c[1]:u+a}}return f}}(t,void 0,[])()}function bi(t,e,n,r){let i,o,a;"function"==typeof e&&"function"!=typeof n?(o=void 0,a=e,i=n):(o=e,a=n,i=r),wi(t,o,(function(t,e){const n=e[e.length-1],r=n?n.children.indexOf(t):void 0;return a(t,r,n)}),i)}const vi=_i("end"),Ei=_i("start");function _i(t){return function(e){const n=e&&e.position&&e.position[t]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function Ai(t){const e=Ei(t),n=vi(t);if(e&&n)return{start:e,end:n}}const Mi=function(t,e,n){const r=Zr(n);if(!t||!t.type||!t.children)throw new Error("Expected parent node");if("number"==typeof e){if(e<0||e===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if((e=t.children.indexOf(e))<0)throw new Error("Expected child node or index");for(;++e<t.children.length;)if(r(t.children[e],e,t))return t.children[e]},Ti=/\n/g,xi=/[\t ]+/g,Si=zr("br"),ki=zr((function(t){return"td"===t.tagName||"th"===t.tagName})),Ci=zr("p"),Di=zr("tr"),Ii=zr(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",function(t){return Boolean((t.properties||{}).hidden)},function(t){return"dialog"===t.tagName&&!(t.properties||{}).open}]),Ri=zr(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function Ni(t,e={}){const n="children"in t?t.children:[],r=Ri(t),i=Fi(t,{whitespace:e.whitespace||"normal",breakBefore:!1,breakAfter:!1}),o=[];"text"!==t.type&&"comment"!==t.type||o.push(...Li(t,{whitespace:i,breakBefore:!0,breakAfter:!0}));let a=-1;for(;++a<n.length;)o.push(...Oi(n[a],t,{whitespace:i,breakBefore:a?void 0:r,breakAfter:a<n.length-1?Si(n[a+1]):r}));const s=[];let l;for(a=-1;++a<o.length;){const t=o[a];"number"==typeof t?void 0!==l&&t>l&&(l=t):t&&(void 0!==l&&l>-1&&s.push("\n".repeat(l)||" "),l=-1,s.push(t))}return s.join("")}function Oi(t,e,n){return"element"===t.type?function(t,e,n){const r=Fi(t,n),i=t.children||[];let o,a,s=-1,l=[];if(Ii(t))return l;for(Si(t)||Di(t)&&Mi(e,t,Di)?a="\n":Ci(t)?(o=2,a=2):Ri(t)&&(o=1,a=1);++s<i.length;)l=l.concat(Oi(i[s],t,{whitespace:r,breakBefore:s?void 0:o,breakAfter:s<i.length-1?Si(i[s+1]):a}));return ki(t)&&Mi(e,t,ki)&&l.push("\t"),o&&l.unshift(o),a&&l.push(a),l}(t,e,n):"text"===t.type?"normal"===n.whitespace?Li(t,n):function(t){return[String(t.value)]}(t):[]}function Li(t,e){const n=String(t.value),r=[],i=[];let o=0;for(;o<=n.length;){Ti.lastIndex=o;const t=Ti.exec(n),i=t&&"index"in t?t.index:n.length;r.push(Pi(n.slice(o,i).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),0!==o||e.breakBefore,i!==n.length||e.breakAfter)),o=i+1}let a,s=-1;for(;++s<r.length;)8203===r[s].charCodeAt(r[s].length-1)||s<r.length-1&&8203===r[s+1].charCodeAt(0)?(i.push(r[s]),a=void 0):r[s]?("number"==typeof a&&i.push(a),i.push(r[s]),a=0):0!==s&&s!==r.length-1||i.push(0);return i}function Pi(t,e,n){const r=[];let i,o=0;for(;o<t.length;){xi.lastIndex=o;const n=xi.exec(t);i=n?n.index:t.length,o||i||!n||e||r.push(""),o!==i&&r.push(t.slice(o,i)),o=n?i+n[0].length:i}return o===i||n||r.push(""),r.join(" ")}function Fi(t,e){if("element"===t.type){const n=t.properties||{};switch(t.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return n.wrap?"pre-wrap":"pre";case"td":case"th":return n.noWrap?"nowrap":e.whitespace;case"textarea":return"pre-wrap"}}return e.whitespace}function Bi(t){const e=String(t);let n=e.length;for(;n>0;){const t=e.codePointAt(n-1);if(void 0===t||10!==t&&13!==t)break;n--}return e.slice(0,n)}function Ui(t,e){const n=e.children;let r,i,o=-1;if("pre"===e.tagName)for(;++o<n.length;){const t=n[o];if("element"===t.type&&"code"===t.tagName&&t.properties&&t.properties.className&&Array.isArray(t.properties.className)){r=t.properties.className;break}}if(r)for(o=-1;++o<r.length;)if("language-"===String(r[o]).slice(0,9)){i=String(r[o]).slice(9);break}const a={type:"code",lang:i||null,meta:null,value:Bi(Ni(e))};return t.patch(e,a),a}function ji(t,e){const n={type:"delete",children:t.all(e)};return t.patch(e,n),n}function Hi(t){let e=-1;if(t.length>1)for(;++e<t.length;)if(t[e].spread)return!0;return!1}function zi(t,e){const n=t.all({type:"root",children:e}),r=t.toSpecificContent(n,qi);return 0===r.length?[]:1===r.length?r[0].children:[{type:"list",ordered:!1,start:null,spread:Hi(r),children:r}]}function qi(){return{type:"listItem",spread:!1,checked:null,children:[]}}function Wi(t,e){const n={type:"emphasis",children:t.all(e)};return t.patch(e,n),n}function Gi(t,e){const n={type:"heading",depth:Number(e.tagName.charAt(1))||1,children:t.all(e)};return t.patch(e,n),n}function Ki(t,e){const n=e.properties||{},r={type:"image",url:t.resolve(String(n.src||"")||null),title:n.title?String(n.title):null,alt:n.alt?String(n.alt):""};return t.patch(e,r),r}function Yi(t,e){const n={type:"inlineCode",value:Ni(e)};return t.patch(e,n),n}function Vi(t,e){const n=[],r=[],i=e||t.properties||{},o=Xi(t),a=Math.min(Number.parseInt(String(i.size),10),0)||(i.multiple?4:1);let s=-1;for(;++s<o.length;){const t=o[s];t&&t.properties&&t.properties.selected&&n.push(t)}const l=n.length>0?n:o,c=l.length>a?a:l.length;for(s=-1;++s<c;){const t=l[s],e=t.properties||{},n=Ni(t),i=n||String(e.label||""),o=String(e.value||"")||n;r.push([o,i===o?void 0:i])}return r}function Xi(t){const e=[];let n=-1;for(;++n<t.children.length;){const r=t.children[n];"children"in r&&Array.isArray(r.children)&&e.push(...Xi(r)),"element"!==r.type||"option"!==r.tagName||r.properties&&r.properties.disabled||e.push(r)}return e}const Zi={}.hasOwnProperty,$i=new Set(["pingback","prefetch","stylesheet"]),Qi=zr(["a","abbr","area","b","bdi","bdo","br","button","cite","code","data","datalist","del","dfn","em","i","input","ins","kbd","keygen","label","map","mark","meter","noscript","output","progress","q","ruby","s","samp","script","select","small","span","strong","sub","sup","template","textarea","time","u","var","wbr"]),Ji=zr("meta");function to(t){return Boolean("text"===t.type||Qi(t)||Kr(t)||function(t){if("element"!==t.type||"link"!==t.tagName)return!1;if(t.properties.itemProp)return!0;const e=t.properties.rel;let n=-1;if(!Array.isArray(e)||0===e.length)return!1;for(;++n<e.length;)if(!$i.has(String(e[n])))return!1;return!0}(t)||Ji(t)&&function(t,e){const n="element"===t.type&&Zi.call(t.properties,e)&&t.properties[e];return null!=n&&!1!==n}(t,"itemProp"))}function eo(t,e){const{rest:n,checkbox:r}=ro(e),i=r?Boolean(r.properties.checked):null,o={type:"listItem",spread:no(n),checked:i,children:t.toFlow(t.all(n))};return t.patch(e,o),o}function no(t){let e=-1,n=!1;for(;++e<t.children.length;){const r=t.children[e];if("element"===r.type){if(to(r))continue;if("p"===r.tagName||n||no(r))return!0;n=!0}}return!1}function ro(t){const e=t.children[0];if(e&&"element"===e.type&&"input"===e.tagName&&e.properties&&("checkbox"===e.properties.type||"radio"===e.properties.type))return{checkbox:e,rest:{...t,children:t.children.slice(1)}};if(e&&"element"===e.type&&"p"===e.tagName){const{checkbox:n,rest:r}=ro(e);if(n)return{checkbox:n,rest:{...t,children:[r,...t.children.slice(1)]}}}return{checkbox:void 0,rest:t}}function io(t,e){const n="ol"===e.tagName,r=t.toSpecificContent(t.all(e),oo);let i=null;n&&(i=e.properties&&e.properties.start?Number.parseInt(String(e.properties.start),10):1);const o={type:"list",ordered:n,start:i,spread:Hi(r),children:r};return t.patch(e,o),o}function oo(){return{type:"listItem",spread:!1,checked:null,children:[]}}const ao={};function so(t,e){const n=e||ao;return lo(t,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function lo(t,e,n){if(function(t){return Boolean(t&&"object"==typeof t)}(t)){if("value"in t)return"html"!==t.type||n?t.value:"";if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return co(t.children,e,n)}return Array.isArray(t)?co(t,e,n):""}function co(t,e,n){const r=[];let i=-1;for(;++i<t.length;)r[i]=lo(t[i],e,n);return r.join("")}const uo=Zr(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function ho(t){let e=-1;for(;++e<t.length;){const n=t[e];if(!go(n)||"children"in n&&ho(n.children))return!0}return!1}function fo(t){return mo(t,(function(t){return t.every((function(t){return"text"===t.type&&Vr(t.value)}))?[]:[{type:"paragraph",children:t}]}),(function(t){return t}))}function po(t){return mo(t.children,(function(e){const n=yo(t);return n.children=e,[n]}),(function(e){if("children"in e&&"children"in t){const n=yo(t),r=yo(e);return n.children=e.children,r.children.push(n),r}return{...e}}))}function mo(t,e,n){const r=function(t){const e=[];let n=-1;for(;++n<t.length;){const r=t[n];"delete"!==r.type&&"link"!==r.type||!ho(r.children)?e.push(r):e.push(...po(r))}return e}(t),i=[];let o=[],a=-1;for(;++a<r.length;){const t=r[a];go(t)?o.push(t):(o.length>0&&(i.push(...e(o)),o=[]),i.push(n(t)))}return o.length>0&&(i.push(...e(o)),o=[]),i}function go(t){const e=t.data&&t.data.hName;return e?to({type:"element",tagName:e,properties:{},children:[]}):uo(t)}function yo(t){return jr({...t,children:[]})}function wo(t,e){const n=e.properties||{},r="video"===e.tagName?String(n.poster||""):"";let i=String(n.src||""),o=-1,a=!1,s=t.all(e);if(bi({type:"root",children:s},(function(t){if("link"===t.type)return a=!0,gi})),a||ho(s))return s;for(;!i&&++o<e.children.length;){const t=e.children[o];"element"===t.type&&"source"===t.tagName&&t.properties&&(i=String(t.properties.src||""))}if(r){const n={type:"image",title:null,url:t.resolve(r),alt:so(s)};t.patch(e,n),s=[n]}const l=s,c={type:"link",title:n.title?String(n.title):null,url:t.resolve(i),children:l};return t.patch(e,c),c}function bo(t,e){const n=t.all(e);if(n.length>0){const r={type:"paragraph",children:n};return t.patch(e,r),r}}const vo=['"'];function Eo(t,e){const n={type:"strong",children:t.all(e)};return t.patch(e,n),n}function _o(t,e){const n={type:"tableCell",children:t.all(e)};if(t.patch(e,n),e.properties){const t=e.properties.rowSpan,r=e.properties.colSpan;if(t||r){const e=n.data||(n.data={});t&&(e.hastUtilToMdastTemporaryRowSpan=t),r&&(e.hastUtilToMdastTemporaryColSpan=r)}}return n}function Ao(){return{type:"tableCell",children:[]}}function Mo(){return{type:"tableCell",children:[]}}function To(){return{type:"tableRow",children:[]}}const xo={comment:function(t,e){const n={type:"html",value:"\x3c!--"+e.value+"--\x3e"};return t.patch(e,n),n},doctype:Do,root:function(t,e){let n=t.all(e);(t.options.document||ho(n))&&(n=fo(n));const r={type:"root",children:n};return t.patch(e,r),r},text:function(t,e){const n={type:"text",value:e.value};return t.patch(e,n),n}},So={applet:Do,area:Do,basefont:Do,bgsound:Do,caption:Do,col:Do,colgroup:Do,command:Do,content:Do,datalist:Do,dialog:Do,element:Do,embed:Do,frame:Do,frameset:Do,isindex:Do,keygen:Do,link:Do,math:Do,menu:Do,menuitem:Do,meta:Do,nextid:Do,noembed:Do,noframes:Do,optgroup:Do,option:Do,param:Do,script:Do,shadow:Do,source:Do,spacer:Do,style:Do,svg:Do,template:Do,title:Do,track:Do,abbr:ko,acronym:ko,bdi:ko,bdo:ko,big:ko,blink:ko,button:ko,canvas:ko,cite:ko,data:ko,details:ko,dfn:ko,font:ko,ins:ko,label:ko,map:ko,marquee:ko,meter:ko,nobr:ko,noscript:ko,object:ko,output:ko,progress:ko,rb:ko,rbc:ko,rp:ko,rt:ko,rtc:ko,ruby:ko,slot:ko,small:ko,span:ko,sup:ko,sub:ko,tbody:ko,tfoot:ko,thead:ko,time:ko,address:Co,article:Co,aside:Co,body:Co,center:Co,div:Co,fieldset:Co,figcaption:Co,figure:Co,form:Co,footer:Co,header:Co,hgroup:Co,html:Co,legend:Co,main:Co,multicol:Co,nav:Co,picture:Co,section:Co,a:function(t,e){const n=e.properties||{},r=t.all(e),i={type:"link",url:t.resolve(String(n.href||"")||null),title:n.title?String(n.title):null,children:r};return t.patch(e,i),i},audio:wo,b:Eo,base:function(t,e){t.baseFound||(t.frozenBaseUrl=String(e.properties&&e.properties.href||"")||void 0,t.baseFound=!0)},blockquote:function(t,e){const n={type:"blockquote",children:t.toFlow(t.all(e))};return t.patch(e,n),n},br:function(t,e){const n={type:"break"};return t.patch(e,n),n},code:Yi,dir:io,dl:function(t,e){const n=[],r=[];let i=-1;for(;++i<e.children.length;){const t=e.children[i];"element"===t.type&&"div"===t.tagName?n.push(...t.children):n.push(t)}let o={definitions:[],titles:[]};for(i=-1;++i<n.length;){const t=n[i];if("element"===t.type&&"dt"===t.tagName){const e=n[i-1];e&&"element"===e.type&&"dd"===e.tagName&&(r.push(o),o={definitions:[],titles:[]}),o.titles.push(t)}else o.definitions.push(t)}r.push(o),i=-1;const a=[];for(;++i<r.length;){const e=[...zi(t,r[i].titles),...zi(t,r[i].definitions)];e.length>0&&a.push({type:"listItem",spread:e.length>1,checked:null,children:e})}if(a.length>0){const n={type:"list",ordered:!1,start:null,spread:Hi(a),children:a};return t.patch(e,n),n}},dt:eo,dd:eo,del:ji,em:Wi,h1:Gi,h2:Gi,h3:Gi,h4:Gi,h5:Gi,h6:Gi,hr:function(t,e){const n={type:"thematicBreak"};return t.patch(e,n),n},i:Wi,iframe:function(t,e){const n=e.properties||{},r=String(n.src||""),i=String(n.title||"");if(r&&i){const n={type:"link",title:null,url:t.resolve(r),children:[{type:"text",value:i}]};return t.patch(e,n),n}},img:Ki,image:Ki,input:function(t,e){const n=e.properties||{},r=String(n.value||n.placeholder||"");if(n.disabled||"hidden"===n.type||"file"===n.type)return;if("checkbox"===n.type||"radio"===n.type){const r={type:"text",value:n.checked?t.options.checked||"[x]":t.options.unchecked||"[ ]"};return t.patch(e,r),r}if("image"===n.type){const i=n.alt||r;if(i){const r={type:"image",url:t.resolve(String(n.src||"")||null),title:String(n.title||"")||null,alt:String(i)};return t.patch(e,r),r}return}let i=[];if(r)i=[[r,void 0]];else if("button"!==n.type&&"file"!==n.type&&"password"!==n.type&&"reset"!==n.type&&"submit"!==n.type&&n.list){const e=String(n.list),r=t.elementById.get(e);r&&"datalist"===r.tagName&&(i=Vi(r,n))}if(0===i.length)return;if("password"===n.type&&(i[0]=["•".repeat(i[0][0].length),void 0]),"email"===n.type||"url"===n.type){const e=[];let r=-1;for(;++r<i.length;){const o=t.resolve(i[r][0]),a={type:"link",title:null,url:"email"===n.type?"mailto:"+o:o,children:[{type:"text",value:i[r][1]||o}]};e.push(a),r!==i.length-1&&e.push({type:"text",value:", "})}return e}const o=[];let a=-1;for(;++a<i.length;)o.push(i[a][1]?i[a][1]+" ("+i[a][0]+")":i[a][0]);const s={type:"text",value:o.join(", ")};return t.patch(e,s),s},kbd:Yi,li:eo,listing:Ui,mark:Wi,ol:io,p:bo,plaintext:Ui,pre:Ui,q:function(t,e){const n=t.options.quotes||vo;t.qNesting++;const r=t.all(e);t.qNesting--;const i=n[t.qNesting%n.length],o=r[0],a=r[r.length-1],s=i.charAt(0),l=i.length>1?i.charAt(1):i;return o&&"text"===o.type?o.value=s+o.value:r.unshift({type:"text",value:s}),a&&"text"===a.type?a.value+=l:r.push({type:"text",value:l}),r},s:ji,samp:Yi,select:function(t,e){const n=Vi(e);let r=-1;const i=[];for(;++r<n.length;){const t=n[r];i.push(t[1]?t[1]+" ("+t[0]+")":t[0])}if(i.length>0){const n={type:"text",value:i.join(", ")};return t.patch(e,n),n}},strike:ji,strong:Eo,summary:bo,table:function(t,e){if(t.inTable){const n={type:"text",value:Ni(e)};return t.patch(e,n),n}t.inTable=!0;const{align:n,headless:r}=function(t){const e={align:[null],headless:!0};let n=0,r=0;return bi(t,(function(i){if("element"===i.type){if("table"===i.tagName&&t!==i)return yi;if("th"!==i.tagName&&"td"!==i.tagName||!i.properties)"thead"===i.tagName?e.headless=!1:"tr"===i.tagName&&(n++,r=0);else{if(!e.align[r]){const t=String(i.properties.align||"")||null;"center"!==t&&"left"!==t&&"right"!==t&&null!==t||(e.align[r]=t)}e.headless&&n<2&&"th"===i.tagName&&(e.headless=!1),r++}}})),e}(e),i=t.toSpecificContent(t.all(e),To);r&&i.unshift({type:"tableRow",children:[]});let o=-1;for(;++o<i.length;){const e=i[o],n=t.toSpecificContent(e.children,Mo);e.children=n}let a=1;for(o=-1;++o<i.length;){const t=i[o].children;let e=-1;for(;++e<t.length;){const n=t[e];if(n.data){const t=n.data,r=Number.parseInt(String(t.hastUtilToMdastTemporaryColSpan),10)||1,a=Number.parseInt(String(t.hastUtilToMdastTemporaryRowSpan),10)||1;if(r>1||a>1){let t=o-1;for(;++t<o+a;){let n=e-1;for(;++n<e+r&&i[t];){const r=[];t===o&&n===e||r.push({type:"tableCell",children:[]}),i[t].children.splice(n,0,...r)}}}"hastUtilToMdastTemporaryColSpan"in n.data&&delete n.data.hastUtilToMdastTemporaryColSpan,"hastUtilToMdastTemporaryRowSpan"in n.data&&delete n.data.hastUtilToMdastTemporaryRowSpan,0===Object.keys(n.data).length&&delete n.data}}t.length>a&&(a=t.length)}for(o=-1;++o<i.length;){const t=i[o].children;let e=t.length-1;for(;++e<a;)t.push({type:"tableCell",children:[]})}let s=n.length-1;for(;++s<a;)n.push(null);t.inTable=!1;const l={type:"table",align:n,children:i};return t.patch(e,l),l},td:_o,textarea:function(t,e){const n={type:"text",value:Ni(e)};return t.patch(e,n),n},th:_o,tr:function(t,e){const n={type:"tableRow",children:t.toSpecificContent(t.all(e),Ao)};return t.patch(e,n),n},tt:Yi,u:Wi,ul:io,var:Yi,video:wo,wbr:function(t,e){const n={type:"text",value:"​"};return t.patch(e,n),n},xmp:Ui};function ko(t,e){return t.all(e)}function Co(t,e){return t.toFlow(t.all(e))}function Do(){}const Io={}.hasOwnProperty;function Ro(t){const e=t.children||[],n=[];let r=-1;for(;++r<e.length;){const i=e[r],o=this.one(i,t);Array.isArray(o)?n.push(...o):o&&n.push(o)}let i=0,o=n.length;for(;i<o&&"break"===n[i].type;)i++;for(;o>i&&"break"===n[o-1].type;)o--;return 0===i&&o===n.length?n:n.slice(i,o)}function No(t,e){if("element"===t.type){if(t.properties&&"ignore"===t.properties.dataMdast)return;if(Io.call(this.handlers,t.tagName))return this.handlers[t.tagName](this,t,e)||void 0}else if(Io.call(this.nodeHandlers,t.type))return this.nodeHandlers[t.type](this,t,e)||void 0;if("value"in t&&"string"==typeof t.value){const e={type:"text",value:t.value};return this.patch(t,e),e}if("children"in t)return this.all(t)}function Oo(t,e){t.position&&(e.position=Ai(t))}function Lo(t){const e=this.frozenBaseUrl;return null==t?"":e?String(new URL(t,e)):t}function Po(t){return fo(t)}function Fo(t,e){const n=e(),r=[];let i=[],o=-1;for(;++o<t.length;){const e=t[o];if(a(e))i.length>0&&(e.children.unshift(...i),i=[]),r.push(e);else{const t=e;i.push(t)}}if(i.length>0){let t=r[r.length-1];t||(t=e(),r.push(t)),t.children.push(...i),i=[]}return r;function a(t){return t.type===n.type}}const Bo={};function Uo(t,e){const n=jr(t),r=e||Bo,i=ii({newlines:!0===r.newlines}),o=function(t){return{all:Ro,baseFound:!1,elementById:new Map,frozenBaseUrl:void 0,handlers:{...So,...t.handlers},inTable:!1,nodeHandlers:{...xo,...t.nodeHandlers},one:No,options:t,patch:Oo,qNesting:0,resolve:Lo,toFlow:Po,toSpecificContent:Fo}}(r);let a;i(n),bi(n,(function(t){if(t&&"element"===t.type&&t.properties){const e=String(t.properties.id||"")||void 0;e&&!o.elementById.has(e)&&o.elementById.set(e,t)}}));const s=o.one(n,void 0);return a=s?Array.isArray(s)?{type:"root",children:s}:s:{type:"root",children:[]},bi(a,(function(t,e,n){if("text"===t.type&&void 0!==e&&n){const r=n.children[e-1];if(r&&r.type===t.type)return r.value+=t.value,n.children.splice(e,1),r.position&&t.position&&(r.position.end=t.position.end),e-1;if(t.value=t.value.replace(/[\t ]*(\r?\n|\r)[\t ]*/,"$1"),!n||"heading"!==n.type&&"paragraph"!==n.type&&"root"!==n.type||(e||(t.value=t.value.replace(/^[\t ]+/,"")),e===n.children.length-1&&(t.value=t.value.replace(/[\t ]+$/,""))),!t.value)return n.children.splice(e,1),e}})),a}const jo={}.hasOwnProperty;function Ho(t,e){const n=e||{};function r(e,...n){let i=r.invalid;const o=r.handlers;if(e&&jo.call(e,t)){const n=String(e[t]);i=jo.call(o,n)?o[n]:r.unknown}if(i)return i.call(this,e,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const zo={}.hasOwnProperty;function qo(t,e){let n,r=-1;if(e.extensions)for(;++r<e.extensions.length;)qo(t,e.extensions[r]);for(n in e)if(zo.call(e,n))switch(n){case"extensions":break;case"unsafe":case"join":i=t[n],(o=e[n])&&i.push(...o);break;case"handlers":Wo(t[n],e[n]);break;default:t.options[n]=e[n]}var i,o;return t}function Wo(t,e){e&&Object.assign(t,e)}function Go(t,e,n){return">"+(n?"":" ")+t}function Ko(t,e){return Yo(t,e.inConstruct,!0)&&!Yo(t,e.notInConstruct,!1)}function Yo(t,e,n){if("string"==typeof e&&(e=[e]),!e||0===e.length)return n;let r=-1;for(;++r<e.length;)if(t.includes(e[r]))return!0;return!1}function Vo(t,e,n,r){let i=-1;for(;++i<n.unsafe.length;)if("\n"===n.unsafe[i].character&&Ko(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return"\\\n"}function Xo(t,e){return Boolean(!1===e.options.fences&&t.value&&!t.lang&&/[^ \r\n]/.test(t.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(t.value))}function Zo(t,e,n){return(n?"":"    ")+t}function $o(t){const e=t.options.quote||'"';if('"'!==e&&"'"!==e)throw new Error("Cannot serialize title with `"+e+"` for `options.quote`, expected `\"`, or `'`");return e}function Qo(t,e,n,r){const i=function(t){const e=t.options.emphasis||"*";if("*"!==e&&"_"!==e)throw new Error("Cannot serialize emphasis with `"+e+"` for `options.emphasis`, expected `*`, or `_`");return e}(n),o=n.enter("emphasis"),a=n.createTracker(r);let s=a.move(i);return s+=a.move(n.containerPhrasing(t,{before:s,after:i,...a.current()})),s+=a.move(i),o(),s}function Jo(t,e){let n=!1;return bi(t,(function(t){if("value"in t&&/\r?\n|\r/.test(t.value)||"break"===t.type)return n=!0,gi})),Boolean((!t.depth||t.depth<3)&&so(t)&&(e.options.setext||n))}function ta(t){return t.value||""}function ea(t,e,n,r){const i=$o(n),o='"'===i?"Quote":"Apostrophe",a=n.enter("image");let s=n.enter("label");const l=n.createTracker(r);let c=l.move("![");return c+=l.move(n.safe(t.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),s(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(t.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(t.url,{before:c,after:t.title?" ":")",...l.current()}))),s(),t.title&&(s=n.enter(`title${o}`),c+=l.move(" "+i),c+=l.move(n.safe(t.title,{before:c,after:i,...l.current()})),c+=l.move(i),s()),c+=l.move(")"),a(),c}function na(t,e,n,r){const i=t.referenceType,o=n.enter("imageReference");let a=n.enter("label");const s=n.createTracker(r);let l=s.move("![");const c=n.safe(t.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),a();const u=n.stack;n.stack=[],a=n.enter("reference");const h=n.safe(n.associationId(t),{before:l,after:"]",...s.current()});return a(),n.stack=u,o(),"full"!==i&&c&&c===h?"shortcut"===i?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(h+"]"),l}function ra(t,e,n){let r=t.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<n.unsafe.length;){const t=n.unsafe[o],e=n.compilePattern(t);let i;if(t.atBreak)for(;i=e.exec(r);){let t=i.index;10===r.charCodeAt(t)&&13===r.charCodeAt(t-1)&&t--,r=r.slice(0,t)+" "+r.slice(i.index+1)}}return i+r+i}function ia(t,e){const n=so(t);return Boolean(!e.options.resourceLink&&t.url&&!t.title&&t.children&&1===t.children.length&&"text"===t.children[0].type&&(n===t.url||"mailto:"+n===t.url)&&/^[a-z][a-z+.-]+:/i.test(t.url)&&!/[\0- <>\u007F]/.test(t.url))}function oa(t,e,n,r){const i=$o(n),o='"'===i?"Quote":"Apostrophe",a=n.createTracker(r);let s,l;if(ia(t,n)){const e=n.stack;n.stack=[],s=n.enter("autolink");let r=a.move("<");return r+=a.move(n.containerPhrasing(t,{before:r,after:">",...a.current()})),r+=a.move(">"),s(),n.stack=e,r}s=n.enter("link"),l=n.enter("label");let c=a.move("[");return c+=a.move(n.containerPhrasing(t,{before:c,after:"](",...a.current()})),c+=a.move("]("),l(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(l=n.enter("destinationLiteral"),c+=a.move("<"),c+=a.move(n.safe(t.url,{before:c,after:">",...a.current()})),c+=a.move(">")):(l=n.enter("destinationRaw"),c+=a.move(n.safe(t.url,{before:c,after:t.title?" ":")",...a.current()}))),l(),t.title&&(l=n.enter(`title${o}`),c+=a.move(" "+i),c+=a.move(n.safe(t.title,{before:c,after:i,...a.current()})),c+=a.move(i),l()),c+=a.move(")"),s(),c}function aa(t,e,n,r){const i=t.referenceType,o=n.enter("linkReference");let a=n.enter("label");const s=n.createTracker(r);let l=s.move("[");const c=n.containerPhrasing(t,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),a();const u=n.stack;n.stack=[],a=n.enter("reference");const h=n.safe(n.associationId(t),{before:l,after:"]",...s.current()});return a(),n.stack=u,o(),"full"!==i&&c&&c===h?"shortcut"===i?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(h+"]"),l}function sa(t){const e=t.options.bullet||"*";if("*"!==e&&"+"!==e&&"-"!==e)throw new Error("Cannot serialize items with `"+e+"` for `options.bullet`, expected `*`, `+`, or `-`");return e}function la(t){const e=t.options.rule||"*";if("*"!==e&&"-"!==e&&"_"!==e)throw new Error("Cannot serialize rules with `"+e+"` for `options.rule`, expected `*`, `-`, or `_`");return e}function ca(t,e,n,r){const i=function(t){const e=t.options.strong||"*";if("*"!==e&&"_"!==e)throw new Error("Cannot serialize strong with `"+e+"` for `options.strong`, expected `*`, or `_`");return e}(n),o=n.enter("strong"),a=n.createTracker(r);let s=a.move(i+i);return s+=a.move(n.containerPhrasing(t,{before:s,after:i,...a.current()})),s+=a.move(i+i),o(),s}Qo.peek=function(t,e,n){return n.options.emphasis||"*"},ta.peek=function(){return"<"},ea.peek=function(){return"!"},na.peek=function(){return"!"},ra.peek=function(){return"`"},oa.peek=function(t,e,n){return ia(t,n)?"<":"["},aa.peek=function(){return"["},ca.peek=function(t,e,n){return n.options.strong||"*"};const ua={blockquote:function(t,e,n,r){const i=n.enter("blockquote"),o=n.createTracker(r);o.move("> "),o.shift(2);const a=n.indentLines(n.containerFlow(t,o.current()),Go);return i(),a},break:Vo,code:function(t,e,n,r){const i=function(t){const e=t.options.fence||"`";if("`"!==e&&"~"!==e)throw new Error("Cannot serialize code with `"+e+"` for `options.fence`, expected `` ` `` or `~`");return e}(n),o=t.value||"",a="`"===i?"GraveAccent":"Tilde";if(Xo(t,n)){const t=n.enter("codeIndented"),e=n.indentLines(o,Zo);return t(),e}const s=n.createTracker(r),l=i.repeat(Math.max(function(t,e){const n=String(t);let r=n.indexOf(e),i=r,o=0,a=0;if("string"!=typeof e)throw new TypeError("Expected substring");for(;-1!==r;)r===i?++o>a&&(a=o):o=1,i=r+e.length,r=n.indexOf(e,i);return a}(o,i)+1,3)),c=n.enter("codeFenced");let u=s.move(l);if(t.lang){const e=n.enter(`codeFencedLang${a}`);u+=s.move(n.safe(t.lang,{before:u,after:" ",encode:["`"],...s.current()})),e()}if(t.lang&&t.meta){const e=n.enter(`codeFencedMeta${a}`);u+=s.move(" "),u+=s.move(n.safe(t.meta,{before:u,after:"\n",encode:["`"],...s.current()})),e()}return u+=s.move("\n"),o&&(u+=s.move(o+"\n")),u+=s.move(l),c(),u},definition:function(t,e,n,r){const i=$o(n),o='"'===i?"Quote":"Apostrophe",a=n.enter("definition");let s=n.enter("label");const l=n.createTracker(r);let c=l.move("[");return c+=l.move(n.safe(n.associationId(t),{before:c,after:"]",...l.current()})),c+=l.move("]: "),s(),!t.url||/[\0- \u007F]/.test(t.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(t.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(t.url,{before:c,after:t.title?" ":"\n",...l.current()}))),s(),t.title&&(s=n.enter(`title${o}`),c+=l.move(" "+i),c+=l.move(n.safe(t.title,{before:c,after:i,...l.current()})),c+=l.move(i),s()),a(),c},emphasis:Qo,hardBreak:Vo,heading:function(t,e,n,r){const i=Math.max(Math.min(6,t.depth||1),1),o=n.createTracker(r);if(Jo(t,n)){const e=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(t,{...o.current(),before:"\n",after:"\n"});return r(),e(),a+"\n"+(1===i?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}const a="#".repeat(i),s=n.enter("headingAtx"),l=n.enter("phrasing");o.move(a+" ");let c=n.containerPhrasing(t,{before:"# ",after:"\n",...o.current()});return/^[\t ]/.test(c)&&(c="&#x"+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),c=c?a+" "+c:a,n.options.closeAtx&&(c+=" "+a),l(),s(),c},html:ta,image:ea,imageReference:na,inlineCode:ra,link:oa,linkReference:aa,list:function(t,e,n,r){const i=n.enter("list"),o=n.bulletCurrent;let a=t.ordered?function(t){const e=t.options.bulletOrdered||".";if("."!==e&&")"!==e)throw new Error("Cannot serialize items with `"+e+"` for `options.bulletOrdered`, expected `.` or `)`");return e}(n):sa(n);const s=t.ordered?"."===a?")":".":function(t){const e=sa(t),n=t.options.bulletOther;if(!n)return"*"===e?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===e)throw new Error("Expected `bullet` (`"+e+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n);let l=!(!e||!n.bulletLastUsed)&&a===n.bulletLastUsed;if(!t.ordered){const e=t.children?t.children[0]:void 0;if("*"!==a&&"-"!==a||!e||e.children&&e.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),la(n)===a&&e){let e=-1;for(;++e<t.children.length;){const n=t.children[e];if(n&&"listItem"===n.type&&n.children&&n.children[0]&&"thematicBreak"===n.children[0].type){l=!0;break}}}}l&&(a=s),n.bulletCurrent=a;const c=n.containerFlow(t,r);return n.bulletLastUsed=a,n.bulletCurrent=o,i(),c},listItem:function(t,e,n,r){const i=function(t){const e=t.options.listItemIndent||"one";if("tab"!==e&&"one"!==e&&"mixed"!==e)throw new Error("Cannot serialize items with `"+e+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return e}(n);let o=n.bulletCurrent||sa(n);e&&"list"===e.type&&e.ordered&&(o=("number"==typeof e.start&&e.start>-1?e.start:1)+(!1===n.options.incrementListMarker?0:e.children.indexOf(t))+o);let a=o.length+1;("tab"===i||"mixed"===i&&(e&&"list"===e.type&&e.spread||t.spread))&&(a=4*Math.ceil(a/4));const s=n.createTracker(r);s.move(o+" ".repeat(a-o.length)),s.shift(a);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(t,s.current()),(function(t,e,n){return e?(n?"":" ".repeat(a))+t:(n?o:o+" ".repeat(a-o.length))+t}));return l(),c},paragraph:function(t,e,n,r){const i=n.enter("paragraph"),o=n.enter("phrasing"),a=n.containerPhrasing(t,r);return o(),i(),a},root:function(t,e,n,r){return(t.children.some((function(t){return uo(t)}))?n.containerPhrasing:n.containerFlow).call(n,t,r)},strong:ca,text:function(t,e,n,r){return n.safe(t.value,r)},thematicBreak:function(t,e,n){const r=(la(n)+(n.options.ruleSpaces?" ":"")).repeat(function(t){const e=t.options.ruleRepetition||3;if(e<3)throw new Error("Cannot serialize rules with repetition `"+e+"` for `options.ruleRepetition`, expected `3` or more");return e}(n));return n.options.ruleSpaces?r.slice(0,-1):r}},ha=[function(t,e,n,r){if("code"===e.type&&Xo(e,r)&&("list"===t.type||t.type===e.type&&Xo(t,r)))return!1;if("spread"in n&&"boolean"==typeof n.spread){if("paragraph"===t.type&&(t.type===e.type||"definition"===e.type||"heading"===e.type&&Jo(e,r)))return;return n.spread?1:0}}],fa=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],da=[{character:"\t",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"\t",before:"[\\r\\n]",inConstruct:"phrasing"},{character:"\t",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:"\n",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:fa},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:"(?:[\r\n]|$)"},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:fa},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:"(?:[ \t\r\n*])"},{character:"*",inConstruct:"phrasing",notInConstruct:fa},{atBreak:!0,character:"+",after:"(?:[ \t\r\n])"},{atBreak:!0,character:"-",after:"(?:[ \t\r\n-])"},{atBreak:!0,before:"\\d+",character:".",after:"(?:[ \t\r\n]|$)"},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:fa},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:fa},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:fa},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:fa},{atBreak:!0,character:"~"}],pa=document.createElement("i");function ma(t){const e="&"+t+";";pa.innerHTML=e;const n=pa.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===t)&&n!==e&&n}function ga(t,e){const n=Number.parseInt(t,e);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"�":String.fromCharCode(n)}const ya=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function wa(t){return t.replace(ya,ba)}function ba(t,e,n){if(e)return e;if(35===n.charCodeAt(0)){const t=n.charCodeAt(1),e=120===t||88===t;return ga(n.slice(e?2:1),e?16:10)}return ma(n)||t}function va(t){return t.label||!t.identifier?t.label||"":wa(t.identifier)}function Ea(t){if(!t._compiled){const e=(t.atBreak?"[\\r\\n][\\t ]*":"")+(t.before?"(?:"+t.before+")":"");t._compiled=new RegExp((e?"("+e+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(t.character)?"\\":"")+t.character+(t.after?"(?:"+t.after+")":""),"g")}return t._compiled}function _a(t,e,n,r){let i=r.join.length;for(;i--;){const o=r.join[i](t,e,n,r);if(!0===o||1===o)break;if("number"==typeof o)return"\n".repeat(1+o);if(!1===o)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}const Aa=/\r?\n|\r/g;function Ma(t,e){const n=[];let r,i=0,o=0;for(;r=Aa.exec(t);)a(t.slice(i,r.index)),n.push(r[0]),i=r.index+r[0].length,o++;return a(t.slice(i)),n.join("");function a(t){n.push(e(t,o,!t))}}function Ta(t,e){return t-e}function xa(t,e){const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],i=[],o=t+e;let a,s=-1,l=0;for(;a=n.exec(o);)r.push(a.index);for(;++s<r.length;)l!==r[s]&&i.push(t.slice(l,r[s])),i.push("\\"),l=r[s];return i.push(t.slice(l)),i.join("")}function Sa(t){const e=t||{},n=e.now||{};let r=e.lineShift||0,i=n.line||1,o=n.column||1;return{move:function(t){const e=t||"",n=e.split(/\r?\n|\r/g),a=n[n.length-1];return i+=n.length-1,o=1===n.length?o+a.length:1+a.length+r,e},current:function(){return{now:{line:i,column:o},lineShift:r}},shift:function(t){r+=t}}}function ka(t,e={}){const n={enter:function(t){return n.stack.push(t),function(){n.stack.pop()}},indentLines:Ma,associationId:va,containerPhrasing:Ra,containerFlow:Na,createTracker:Sa,compilePattern:Ea,safe:Oa,stack:[],unsafe:[...da],join:[...ha],handlers:{...ua},options:{},indexStack:[],handle:void 0};qo(n,e),n.options.tightDefinitions&&n.join.push(Ia),n.handle=Ho("type",{invalid:Ca,unknown:Da,handlers:n.handlers});let r=n.handle(t,void 0,n,{before:"\n",after:"\n",now:{line:1,column:1},lineShift:0});return r&&10!==r.charCodeAt(r.length-1)&&13!==r.charCodeAt(r.length-1)&&(r+="\n"),r}function Ca(t){throw new Error("Cannot handle value `"+t+"`, expected node")}function Da(t){throw new Error("Cannot handle unknown node `"+t.type+"`")}function Ia(t,e){if("definition"===t.type&&t.type===e.type)return 0}function Ra(t,e){return function(t,e,n){const r=e.indexStack,i=t.children||[],o=[];let a=-1,s=n.before;r.push(-1);let l=e.createTracker(n);for(;++a<i.length;){const c=i[a];let u;if(r[r.length-1]=a,a+1<i.length){let n=e.handle.handlers[i[a+1].type];n&&n.peek&&(n=n.peek),u=n?n(i[a+1],t,e,{before:"",after:"",...l.current()}).charAt(0):""}else u=n.after;o.length>0&&("\r"===s||"\n"===s)&&"html"===c.type&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),s=" ",l=e.createTracker(n),l.move(o.join(""))),o.push(l.move(e.handle(c,t,e,{...l.current(),before:s,after:u}))),s=o[o.length-1].slice(-1)}return r.pop(),o.join("")}(t,this,e)}function Na(t,e){return function(t,e,n){const r=e.indexStack,i=t.children||[],o=e.createTracker(n),a=[];let s=-1;for(r.push(-1);++s<i.length;){const n=i[s];r[r.length-1]=s,a.push(o.move(e.handle(n,t,e,{before:"\n",after:"\n",...o.current()}))),"list"!==n.type&&(e.bulletLastUsed=void 0),s<i.length-1&&a.push(o.move(_a(n,i[s+1],t,e)))}return r.pop(),a.join("")}(t,this,e)}function Oa(t,e){return function(t,e,n){const r=(n.before||"")+(e||"")+(n.after||""),i=[],o=[],a={};let s=-1;for(;++s<t.unsafe.length;){const e=t.unsafe[s];if(!Ko(t.stack,e))continue;const n=t.compilePattern(e);let o;for(;o=n.exec(r);){const t="before"in e||Boolean(e.atBreak),n="after"in e,r=o.index+(t?o[1].length:0);i.includes(r)?(a[r].before&&!t&&(a[r].before=!1),a[r].after&&!n&&(a[r].after=!1)):(i.push(r),a[r]={before:t,after:n})}}i.sort(Ta);let l=n.before?n.before.length:0;const c=r.length-(n.after?n.after.length:0);for(s=-1;++s<i.length;){const t=i[s];t<l||t>=c||t+1<c&&i[s+1]===t+1&&a[t].after&&!a[t+1].before&&!a[t+1].after||i[s-1]===t-1&&a[t].before&&!a[t-1].before&&!a[t-1].after||(l!==t&&o.push(xa(r.slice(l,t),"\\")),l=t,!/[!-/:-@[-`{-~]/.test(r.charAt(t))||n.encode&&n.encode.includes(r.charAt(t))?(o.push("&#x"+r.charCodeAt(t).toString(16).toUpperCase()+";"),l++):o.push("\\"))}return o.push(xa(r.slice(l,c),n.after)),o.join("")}(this,t,e)}function La(t){const e=this;e.compiler=function(n){return ka(n,{...e.data("settings"),...t,extensions:e.data("toMarkdownExtensions")||[]})}}var Pa=n(5252),Fa=n(7422),Ba=n(8835),Ua=n(8287).Buffer,ja=Object.defineProperty,Ha=Object.defineProperties,za=Object.getOwnPropertyDescriptors,qa=Object.getOwnPropertySymbols,Wa=Object.prototype.hasOwnProperty,Ga=Object.prototype.propertyIsEnumerable,Ka=(t,e,n)=>e in t?ja(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ya=(t,e)=>{for(var n in e||(e={}))Wa.call(e,n)&&Ka(t,n,e[n]);if(qa)for(var n of qa(e))Ga.call(e,n)&&Ka(t,n,e[n]);return t},Va=(t,e)=>Ha(t,za(e)),Xa=(t,e,n)=>(Ka(t,"symbol"!=typeof e?e+"":e,n),n),Za=(t,e,n)=>new Promise(((r,i)=>{var o=t=>{try{s(n.next(t))}catch(t){i(t)}},a=t=>{try{s(n.throw(t))}catch(t){i(t)}},s=t=>t.done?r(t.value):Promise.resolve(t.value).then(o,a);s((n=n.apply(t,e)).next())}));class $a{constructor(t){Xa(this,"rootKey"),this.rootKey=t}}const Qa=Object.seal({});class Ja extends $a{constructor(t){super(t),Xa(this,"root"),this.root=new Array}prepForXml(t){var e;t.stack.push(this);const n=this.root.map((e=>e instanceof $a?e.prepForXml(t):e)).filter((t=>void 0!==t));return t.stack.pop(),{[this.rootKey]:n.length?1===n.length&&(null==(e=n[0])?void 0:e._attr)?n[0]:n:Qa}}addChildElement(t){return this.root.push(t),this}}class ts extends Ja{prepForXml(t){const e=super.prepForXml(t);if(e&&("object"!=typeof e[this.rootKey]||Object.keys(e[this.rootKey]).length))return e}}class es extends $a{constructor(t){super("_attr"),Xa(this,"xmlKeys"),this.root=t}prepForXml(t){const e={};return Object.keys(this.root).forEach((t=>{const n=this.root[t];if(void 0!==n){const r=this.xmlKeys&&this.xmlKeys[t]||t;e[r]=n}})),{_attr:e}}}class ns extends $a{constructor(t){super("_attr"),this.root=t}prepForXml(t){const e=Object.values(this.root).filter((({value:t})=>void 0!==t)).reduce(((t,{key:e,value:n})=>Va(Ya({},t),{[e]:n})),{});return{_attr:e}}}class rs extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{val:"w:val",color:"w:color",fill:"w:fill",space:"w:space",sz:"w:sz",type:"w:type",rsidR:"w:rsidR",rsidRPr:"w:rsidRPr",rsidSect:"w:rsidSect",w:"w:w",h:"w:h",top:"w:top",right:"w:right",bottom:"w:bottom",left:"w:left",header:"w:header",footer:"w:footer",gutter:"w:gutter",linePitch:"w:linePitch",pos:"w:pos"})}}var is="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function os(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var as,ss={},ls={exports:{}},cs="object"==typeof Reflect?Reflect:null,us=cs&&"function"==typeof cs.apply?cs.apply:function(t,e,n){return Function.prototype.apply.call(t,e,n)};as=cs&&"function"==typeof cs.ownKeys?cs.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var hs=Number.isNaN||function(t){return t!=t};function fs(){fs.init.call(this)}ls.exports=fs,ls.exports.once=function(t,e){return new Promise((function(n,r){function i(n){t.removeListener(e,o),r(n)}function o(){"function"==typeof t.removeListener&&t.removeListener("error",i),n([].slice.call(arguments))}_s(t,e,o,{once:!0}),"error"!==e&&function(t,e,n){"function"==typeof t.on&&_s(t,"error",e,{once:!0})}(t,i)}))},fs.EventEmitter=fs,fs.prototype._events=void 0,fs.prototype._eventsCount=0,fs.prototype._maxListeners=void 0;var ds=10;function ps(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function ms(t){return void 0===t._maxListeners?fs.defaultMaxListeners:t._maxListeners}function gs(t,e,n,r){var i,o,a,s;if(ps(n),void 0===(o=t._events)?(o=t._events=Object.create(null),t._eventsCount=0):(void 0!==o.newListener&&(t.emit("newListener",e,n.listener?n.listener:n),o=t._events),a=o[e]),void 0===a)a=o[e]=n,++t._eventsCount;else if("function"==typeof a?a=o[e]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=ms(t))>0&&a.length>i&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=t,l.type=e,l.count=a.length,s=l,console&&console.warn&&console.warn(s)}return t}function ys(){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 ws(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=ys.bind(r);return i.listener=n,r.wrapFn=i,i}function bs(t,e,n){var r=t._events;if(void 0===r)return[];var i=r[e];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}(i):Es(i,i.length)}function vs(t){var e=this._events;if(void 0!==e){var n=e[t];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function Es(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t[r];return n}function _s(t,e,n,r){if("function"==typeof t.on)r.once?t.once(e,n):t.on(e,n);else{if("function"!=typeof t.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t);t.addEventListener(e,(function i(o){r.once&&t.removeEventListener(e,i),n(o)}))}}Object.defineProperty(fs,"defaultMaxListeners",{enumerable:!0,get:function(){return ds},set:function(t){if("number"!=typeof t||t<0||hs(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");ds=t}}),fs.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},fs.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||hs(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},fs.prototype.getMaxListeners=function(){return ms(this)},fs.prototype.emit=function(t){for(var e=[],n=1;n<arguments.length;n++)e.push(arguments[n]);var r="error"===t,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var o;if(e.length>0&&(o=e[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var s=i[t];if(void 0===s)return!1;if("function"==typeof s)us(s,this,e);else{var l=s.length,c=Es(s,l);for(n=0;n<l;++n)us(c[n],this,e)}return!0},fs.prototype.addListener=function(t,e){return gs(this,t,e,!1)},fs.prototype.on=fs.prototype.addListener,fs.prototype.prependListener=function(t,e){return gs(this,t,e,!0)},fs.prototype.once=function(t,e){return ps(e),this.on(t,ws(this,t,e)),this},fs.prototype.prependOnceListener=function(t,e){return ps(e),this.prependListener(t,ws(this,t,e)),this},fs.prototype.removeListener=function(t,e){var n,r,i,o,a;if(ps(e),void 0===(r=this._events))return this;if(void 0===(n=r[t]))return this;if(n===e||n.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete r[t],r.removeListener&&this.emit("removeListener",t,n.listener||e));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===e||n[o].listener===e){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(n,i),1===n.length&&(r[t]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",t,a||e)}return this},fs.prototype.off=fs.prototype.removeListener,fs.prototype.removeAllListeners=function(t){var e,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[t]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=n[t]))this.removeListener(t,e);else if(void 0!==e)for(r=e.length-1;r>=0;r--)this.removeListener(t,e[r]);return this},fs.prototype.listeners=function(t){return bs(this,t,!0)},fs.prototype.rawListeners=function(t){return bs(this,t,!1)},fs.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):vs.call(t,e)},fs.prototype.listenerCount=vs,fs.prototype.eventNames=function(){return this._eventsCount>0?as(this._events):[]};var As=ls.exports,Ms={exports:{}};"function"==typeof Object.create?Ms.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Ms.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}};var Ts=Ms.exports;function xs(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Ss,ks,Cs={exports:{}},Ds=Cs.exports={};function Is(){throw new Error("setTimeout has not been defined")}function Rs(){throw new Error("clearTimeout has not been defined")}function Ns(t){if(Ss===setTimeout)return setTimeout(t,0);if((Ss===Is||!Ss)&&setTimeout)return Ss=setTimeout,setTimeout(t,0);try{return Ss(t,0)}catch(e){try{return Ss.call(null,t,0)}catch(e){return Ss.call(this,t,0)}}}!function(){try{Ss="function"==typeof setTimeout?setTimeout:Is}catch(t){Ss=Is}try{ks="function"==typeof clearTimeout?clearTimeout:Rs}catch(t){ks=Rs}}();var Os,Ls=[],Ps=!1,Fs=-1;function Bs(){Ps&&Os&&(Ps=!1,Os.length?Ls=Os.concat(Ls):Fs=-1,Ls.length&&Us())}function Us(){if(!Ps){var t=Ns(Bs);Ps=!0;for(var e=Ls.length;e;){for(Os=Ls,Ls=[];++Fs<e;)Os&&Os[Fs].run();Fs=-1,e=Ls.length}Os=null,Ps=!1,function(t){if(ks===clearTimeout)return clearTimeout(t);if((ks===Rs||!ks)&&clearTimeout)return ks=clearTimeout,clearTimeout(t);try{return ks(t)}catch(e){try{return ks.call(null,t)}catch(e){return ks.call(this,t)}}}(t)}}function js(t,e){this.fun=t,this.array=e}function Hs(){}Ds.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];Ls.push(new js(t,e)),1!==Ls.length||Ps||Ns(Us)},js.prototype.run=function(){this.fun.apply(null,this.array)},Ds.title="browser",Ds.browser=!0,Ds.env={},Ds.argv=[],Ds.version="",Ds.versions={},Ds.on=Hs,Ds.addListener=Hs,Ds.once=Hs,Ds.off=Hs,Ds.removeListener=Hs,Ds.removeAllListeners=Hs,Ds.emit=Hs,Ds.prependListener=Hs,Ds.prependOnceListener=Hs,Ds.listeners=function(t){return[]},Ds.binding=function(t){throw new Error("process.binding is not supported")},Ds.cwd=function(){return"/"},Ds.chdir=function(t){throw new Error("process.chdir is not supported")},Ds.umask=function(){return 0};const zs=xs(Cs.exports);var qs,Ws;function Gs(){return Ws?qs:(Ws=1,qs=As.EventEmitter)}var Ks,Ys,Vs,Xs={},Zs={},$s={};function Qs(){return Vs||(Vs=1,function(t){var e=function(){if(Ks)return Zs;Ks=1,Zs.byteLength=function(t){var e=o(t),n=e[0],r=e[1];return 3*(n+r)/4-r},Zs.toByteArray=function(t){var r,i,a=o(t),s=a[0],l=a[1],c=new n(function(t,e,n){return 3*(e+n)/4-n}(0,s,l)),u=0,h=l>0?s-4:s;for(i=0;i<h;i+=4)r=e[t.charCodeAt(i)]<<18|e[t.charCodeAt(i+1)]<<12|e[t.charCodeAt(i+2)]<<6|e[t.charCodeAt(i+3)],c[u++]=r>>16&255,c[u++]=r>>8&255,c[u++]=255&r;return 2===l&&(r=e[t.charCodeAt(i)]<<2|e[t.charCodeAt(i+1)]>>4,c[u++]=255&r),1===l&&(r=e[t.charCodeAt(i)]<<10|e[t.charCodeAt(i+1)]<<4|e[t.charCodeAt(i+2)]>>2,c[u++]=r>>8&255,c[u++]=255&r),c},Zs.fromByteArray=function(e){for(var n,r=e.length,i=r%3,o=[],s=16383,l=0,c=r-i;l<c;l+=s)o.push(a(e,l,l+s>c?c:l+s));return 1===i?(n=e[r-1],o.push(t[n>>2]+t[n<<4&63]+"==")):2===i&&(n=(e[r-2]<<8)+e[r-1],o.push(t[n>>10]+t[n>>4&63]+t[n<<2&63]+"=")),o.join("")};for(var t=[],e=[],n="undefined"!=typeof Uint8Array?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0;i<64;++i)t[i]=r[i],e[r.charCodeAt(i)]=i;function o(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function a(e,n,r){for(var i,o,a=[],s=n;s<r;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(t[(o=i)>>18&63]+t[o>>12&63]+t[o>>6&63]+t[63&o]);return a.join("")}return e["-".charCodeAt(0)]=62,e["_".charCodeAt(0)]=63,Zs}(),n=(Ys||(Ys=1,$s.read=function(t,e,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,c=l>>1,u=-7,h=n?i-1:0,f=n?-1:1,d=t[e+h];for(h+=f,o=d&(1<<-u)-1,d>>=-u,u+=s;u>0;o=256*o+t[e+h],h+=f,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+t[e+h],h+=f,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),o-=c}return(d?-1:1)*a*Math.pow(2,o-r)},$s.write=function(t,e,n,r,i,o){var a,s,l,c=8*o-i-1,u=(1<<c)-1,h=u>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=u):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),(e+=a+h>=1?f/l:f*Math.pow(2,1-h))*l>=2&&(a++,l/=2),a+h>=u?(s=0,a=u):a+h>=1?(s=(e*l-1)*Math.pow(2,i),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;t[n+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;t[n+d]=255&a,d+=p,a/=256,c-=8);t[n+d-p]|=128*m}),$s),r="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=a,t.SlowBuffer=function(t){return+t!=t&&(t=0),a.alloc(+t)},t.INSPECT_MAX_BYTES=50;var i=2147483647;function o(t){if(t>i)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,a.prototype),e}function a(t,e,n){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return c(t)}return s(t,e,n)}function s(t,e,n){if("string"==typeof t)return function(t,e){if("string"==typeof e&&""!==e||(e="utf8"),!a.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var n=0|d(t,e),r=o(n),i=r.write(t,e);return i!==n&&(r=r.slice(0,i)),r}(t,e);if(ArrayBuffer.isView(t))return function(t){if(U(t,Uint8Array)){var e=new Uint8Array(t);return h(e.buffer,e.byteOffset,e.byteLength)}return u(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(U(t,ArrayBuffer)||t&&U(t.buffer,ArrayBuffer))return h(t,e,n);if("undefined"!=typeof SharedArrayBuffer&&(U(t,SharedArrayBuffer)||t&&U(t.buffer,SharedArrayBuffer)))return h(t,e,n);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=t.valueOf&&t.valueOf();if(null!=r&&r!==t)return a.from(r,e,n);var i=function(t){if(a.isBuffer(t)){var e=0|f(t.length),n=o(e);return 0===n.length||t.copy(n,0,0,e),n}return void 0!==t.length?"number"!=typeof t.length||j(t.length)?o(0):u(t):"Buffer"===t.type&&Array.isArray(t.data)?u(t.data):void 0}(t);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return a.from(t[Symbol.toPrimitive]("string"),e,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function l(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function c(t){return l(t),o(t<0?0:0|f(t))}function u(t){for(var e=t.length<0?0:0|f(t.length),n=o(e),r=0;r<e;r+=1)n[r]=255&t[r];return n}function h(t,e,n){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(n||0))throw new RangeError('"length" is outside of buffer bounds');var r;return r=void 0===e&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,e):new Uint8Array(t,e,n),Object.setPrototypeOf(r,a.prototype),r}function f(t){if(t>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|t}function d(t,e){if(a.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||U(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var n=t.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return P(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return F(t).length;default:if(i)return r?-1:P(t).length;e=(""+e).toLowerCase(),i=!0}}function p(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return k(this,e,n);case"utf8":case"utf-8":return M(this,e,n);case"ascii":return x(this,e,n);case"latin1":case"binary":return S(this,e,n);case"base64":return A(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function m(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function g(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),j(n=+n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=a.from(e,r)),a.isBuffer(e))return 0===e.length?-1:y(t,e,n,r,i);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):y(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function y(t,e,n,r,i){var o,a=1,s=t.length,l=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var u=-1;for(o=n;o<s;o++)if(c(t,o)===c(e,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===l)return u*a}else-1!==u&&(o-=o-u),u=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){for(var h=!0,f=0;f<l;f++)if(c(t,o+f)!==c(e,f)){h=!1;break}if(h)return o}return-1}function w(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=e.length;r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(e.substr(2*a,2),16);if(j(s))return a;t[n+a]=s}return a}function b(t,e,n,r){return B(P(e,t.length-n),t,n,r)}function v(t,e,n,r){return B(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,r)}function E(t,e,n,r){return B(F(e),t,n,r)}function _(t,e,n,r){return B(function(t,e){for(var n,r,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=(n=t.charCodeAt(a))>>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function A(t,n,r){return 0===n&&r===t.length?e.fromByteArray(t):e.fromByteArray(t.slice(n,r))}function M(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i<n;){var o,a,s,l,c=t[i],u=null,h=c>239?4:c>223?3:c>191?2:1;if(i+h<=n)switch(h){case 1:c<128&&(u=c);break;case 2:128==(192&(o=t[i+1]))&&(l=(31&c)<<6|63&o)>127&&(u=l);break;case 3:o=t[i+1],a=t[i+2],128==(192&o)&&128==(192&a)&&(l=(15&c)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(l=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,h=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=h}return function(t){var e=t.length;if(e<=T)return String.fromCharCode.apply(String,t);for(var n="",r=0;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=T));return n}(r)}t.kMaxLength=i,a.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){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(t,e,n){return s(t,e,n)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(t,e,n){return function(t,e,n){return l(t),t<=0?o(t):void 0!==e?"string"==typeof n?o(t).fill(e,n):o(t).fill(e):o(t)}(t,e,n)},a.allocUnsafe=function(t){return c(t)},a.allocUnsafeSlow=function(t){return c(t)},a.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==a.prototype},a.compare=function(t,e){if(U(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),U(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(t)||!a.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},a.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return a.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=a.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var o=t[n];if(U(o,Uint8Array))i+o.length>r.length?a.from(o).copy(r,i):Uint8Array.prototype.set.call(r,o,i);else{if(!a.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i)}i+=o.length}return r},a.byteLength=d,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)m(this,e,e+1);return this},a.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)m(this,e,e+3),m(this,e+1,e+2);return this},a.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)m(this,e,e+7),m(this,e+1,e+6),m(this,e+2,e+5),m(this,e+3,e+4);return this},a.prototype.toString=function(){var t=this.length;return 0===t?"":0===arguments.length?M(this,0,t):p.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(t){if(!a.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===a.compare(this,t)},a.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},r&&(a.prototype[r]=a.prototype.inspect),a.prototype.compare=function(t,e,n,r,i){if(U(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(r>>>=0),s=(n>>>=0)-(e>>>=0),l=Math.min(o,s),c=this.slice(r,i),u=t.slice(e,n),h=0;h<l;++h)if(c[h]!==u[h]){o=c[h],s=u[h];break}return o<s?-1:s<o?1:0},a.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},a.prototype.indexOf=function(t,e,n){return g(this,t,e,n,!0)},a.prototype.lastIndexOf=function(t,e,n){return g(this,t,e,n,!1)},a.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return w(this,t,e,n);case"utf8":case"utf-8":return b(this,t,e,n);case"ascii":case"latin1":case"binary":return v(this,t,e,n);case"base64":return E(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var T=4096;function x(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function S(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function k(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=e;o<n;++o)i+=H[t[o]];return i}function C(t,e,n){for(var r=t.slice(e,n),i="",o=0;o<r.length-1;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function D(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function I(t,e,n,r,i,o){if(!a.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function R(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function N(t,e,r,i,o){return e=+e,r>>>=0,o||R(t,0,r,4),n.write(t,e,r,i,23,4),r+4}function O(t,e,r,i,o){return e=+e,r>>>=0,o||R(t,0,r,8),n.write(t,e,r,i,52,8),r+8}a.prototype.slice=function(t,e){var n=this.length;(t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t);var r=this.subarray(t,e);return Object.setPrototypeOf(r,a.prototype),r},a.prototype.readUintLE=a.prototype.readUIntLE=function(t,e,n){t>>>=0,e>>>=0,n||D(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r},a.prototype.readUintBE=a.prototype.readUIntBE=function(t,e,n){t>>>=0,e>>>=0,n||D(t,e,this.length);for(var r=this[t+--e],i=1;e>0&&(i*=256);)r+=this[t+--e]*i;return r},a.prototype.readUint8=a.prototype.readUInt8=function(t,e){return t>>>=0,e||D(t,1,this.length),this[t]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(t,e){return t>>>=0,e||D(t,2,this.length),this[t]|this[t+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(t,e){return t>>>=0,e||D(t,2,this.length),this[t]<<8|this[t+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(t,e){return t>>>=0,e||D(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(t,e){return t>>>=0,e||D(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},a.prototype.readIntLE=function(t,e,n){t>>>=0,e>>>=0,n||D(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*e)),r},a.prototype.readIntBE=function(t,e,n){t>>>=0,e>>>=0,n||D(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},a.prototype.readInt8=function(t,e){return t>>>=0,e||D(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},a.prototype.readInt16LE=function(t,e){t>>>=0,e||D(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt16BE=function(t,e){t>>>=0,e||D(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt32LE=function(t,e){return t>>>=0,e||D(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},a.prototype.readInt32BE=function(t,e){return t>>>=0,e||D(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},a.prototype.readFloatLE=function(t,e){return t>>>=0,e||D(t,4,this.length),n.read(this,t,!0,23,4)},a.prototype.readFloatBE=function(t,e){return t>>>=0,e||D(t,4,this.length),n.read(this,t,!1,23,4)},a.prototype.readDoubleLE=function(t,e){return t>>>=0,e||D(t,8,this.length),n.read(this,t,!0,52,8)},a.prototype.readDoubleBE=function(t,e){return t>>>=0,e||D(t,8,this.length),n.read(this,t,!1,52,8)},a.prototype.writeUintLE=a.prototype.writeUIntLE=function(t,e,n,r){t=+t,e>>>=0,n>>>=0,r||I(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o<n&&(i*=256);)this[e+o]=t/i&255;return e+n},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(t,e,n,r){t=+t,e>>>=0,n>>>=0,r||I(this,t,e,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+n},a.prototype.writeUint8=a.prototype.writeUInt8=function(t,e,n){return t=+t,e>>>=0,n||I(this,t,e,1,255,0),this[e]=255&t,e+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(t,e,n){return t=+t,e>>>=0,n||I(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(t,e,n){return t=+t,e>>>=0,n||I(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(t,e,n){return t=+t,e>>>=0,n||I(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(t,e,n){return t=+t,e>>>=0,n||I(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},a.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e>>>=0,!r){var i=Math.pow(2,8*n-1);I(this,t,e,n,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o<n&&(a*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},a.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e>>>=0,!r){var i=Math.pow(2,8*n-1);I(this,t,e,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},a.prototype.writeInt8=function(t,e,n){return t=+t,e>>>=0,n||I(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},a.prototype.writeInt16LE=function(t,e,n){return t=+t,e>>>=0,n||I(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},a.prototype.writeInt16BE=function(t,e,n){return t=+t,e>>>=0,n||I(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},a.prototype.writeInt32LE=function(t,e,n){return t=+t,e>>>=0,n||I(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},a.prototype.writeInt32BE=function(t,e,n){return t=+t,e>>>=0,n||I(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},a.prototype.writeFloatLE=function(t,e,n){return N(this,t,e,!0,n)},a.prototype.writeFloatBE=function(t,e,n){return N(this,t,e,!1,n)},a.prototype.writeDoubleLE=function(t,e,n){return O(this,t,e,!0,n)},a.prototype.writeDoubleBE=function(t,e,n){return O(this,t,e,!1,n)},a.prototype.copy=function(t,e,n,r){if(!a.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i=r-n;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,n,r):Uint8Array.prototype.set.call(t,this.subarray(n,r),e),i},a.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===t.length){var i=t.charCodeAt(0);("utf8"===r&&i<128||"latin1"===r)&&(t=i)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var o;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(o=e;o<n;++o)this[o]=t;else{var s=a.isBuffer(t)?t:a.from(t,r),l=s.length;if(0===l)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(o=0;o<n-e;++o)this[o+e]=s[o%l]}return this};var L=/[^+/0-9A-Za-z-_]/g;function P(t,e){var n;e=e||1/0;for(var r=t.length,i=null,o=[],a=0;a<r;++a){if((n=t.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function F(t){return e.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(L,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function B(t,e,n,r){for(var i=0;i<r&&!(i+n>=e.length||i>=t.length);++i)e[i+n]=t[i];return i}function U(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function j(t){return t!=t}var H=function(){for(var t="0123456789abcdef",e=new Array(256),n=0;n<16;++n)for(var r=16*n,i=0;i<16;++i)e[r+i]=t[n]+t[i];return e}()}(Xs)),Xs}var Js,tl,el,nl,rl,il,ol,al,sl,ll,cl,ul,hl,fl,dl,pl,ml={},gl={};function yl(){return tl?Js:(tl=1,Js=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),n=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var r=Object.getOwnPropertySymbols(t);if(1!==r.length||r[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(t,e);if(42!==i.value||!0!==i.enumerable)return!1}return!0})}function wl(){if(nl)return el;nl=1;var t=yl();return el=function(){return t()&&!!Symbol.toStringTag}}function bl(){if(ul)return cl;ul=1;var t=function(){if(ll)return sl;ll=1;var t=Object.prototype.toString,e=Math.max,n=function(t,e){for(var n=[],r=0;r<t.length;r+=1)n[r]=t[r];for(var i=0;i<e.length;i+=1)n[i+t.length]=e[i];return n};return sl=function(r){var i=this;if("function"!=typeof i||"[object Function]"!==t.apply(i))throw new TypeError("Function.prototype.bind called on incompatible "+i);for(var o,a=function(t,e){for(var n=[],r=1,i=0;r<t.length;r+=1,i+=1)n[i]=t[r];return n}(arguments),s=e(0,i.length-a.length),l=[],c=0;c<s;c++)l[c]="$"+c;if(o=Function("binder","return function ("+function(t,e){for(var n="",r=0;r<t.length;r+=1)n+=t[r],r+1<t.length&&(n+=",");return n}(l)+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var t=i.apply(this,n(a,arguments));return Object(t)===t?t:this}return i.apply(r,n(a,arguments))})),i.prototype){var u=function(){};u.prototype=i.prototype,o.prototype=new u,u.prototype=null}return o},sl}();return cl=Function.prototype.bind||t}function vl(){if(pl)return dl;var t;pl=1;var e=SyntaxError,n=Function,r=TypeError,i=function(t){try{return n('"use strict"; return ('+t+").constructor;")()}catch(t){}},o=Object.getOwnPropertyDescriptor;if(o)try{o({},"")}catch(t){o=null}var a=function(){throw new r},s=o?function(){try{return a}catch(t){try{return o(arguments,"callee").get}catch(t){return a}}}():a,l=function(){if(il)return rl;il=1;var t="undefined"!=typeof Symbol&&Symbol,e=yl();return rl=function(){return"function"==typeof t&&"function"==typeof Symbol&&"symbol"==typeof t("foo")&&"symbol"==typeof Symbol("bar")&&e()}}()(),c=function(){if(al)return ol;al=1;var t={foo:{}},e=Object;return ol=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof e)}}()(),u=Object.getPrototypeOf||(c?function(t){return t.__proto__}:null),h={},f="undefined"!=typeof Uint8Array&&u?u(Uint8Array):t,d={"%AggregateError%":"undefined"==typeof AggregateError?t:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?t:ArrayBuffer,"%ArrayIteratorPrototype%":l&&u?u([][Symbol.iterator]()):t,"%AsyncFromSyncIteratorPrototype%":t,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"==typeof Atomics?t:Atomics,"%BigInt%":"undefined"==typeof BigInt?t:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?t:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?t:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?t:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?t:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?t:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?t:FinalizationRegistry,"%Function%":n,"%GeneratorFunction%":h,"%Int8Array%":"undefined"==typeof Int8Array?t:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?t:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?t:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":l&&u?u(u([][Symbol.iterator]())):t,"%JSON%":"object"==typeof JSON?JSON:t,"%Map%":"undefined"==typeof Map?t:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&l&&u?u((new Map)[Symbol.iterator]()):t,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?t:Promise,"%Proxy%":"undefined"==typeof Proxy?t:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?t:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?t:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&l&&u?u((new Set)[Symbol.iterator]()):t,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?t:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":l&&u?u(""[Symbol.iterator]()):t,"%Symbol%":l?Symbol:t,"%SyntaxError%":e,"%ThrowTypeError%":s,"%TypedArray%":f,"%TypeError%":r,"%Uint8Array%":"undefined"==typeof Uint8Array?t:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?t:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?t:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?t:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?t:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?t:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?t:WeakSet};if(u)try{null.error}catch(t){var p=u(u(t));d["%Error.prototype%"]=p}var m=function t(e){var n;if("%AsyncFunction%"===e)n=i("async function () {}");else if("%GeneratorFunction%"===e)n=i("function* () {}");else if("%AsyncGeneratorFunction%"===e)n=i("async function* () {}");else if("%AsyncGenerator%"===e){var r=t("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&u&&(n=u(o.prototype))}return d[e]=n,n},g={"%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"]},y=bl(),w=function(){if(fl)return hl;fl=1;var t=Function.prototype.call,e=Object.prototype.hasOwnProperty,n=bl();return hl=n.call(t,e)}(),b=y.call(Function.call,Array.prototype.concat),v=y.call(Function.apply,Array.prototype.splice),E=y.call(Function.call,String.prototype.replace),_=y.call(Function.call,String.prototype.slice),A=y.call(Function.call,RegExp.prototype.exec),M=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,T=/\\(\\)?/g,x=function(t,n){var i,o=t;if(w(g,o)&&(o="%"+(i=g[o])[0]+"%"),w(d,o)){var a=d[o];if(a===h&&(a=m(o)),void 0===a&&!n)throw new r("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:o,value:a}}throw new e("intrinsic "+t+" does not exist!")};return dl=function(t,n){if("string"!=typeof t||0===t.length)throw new r("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof n)throw new r('"allowMissing" argument must be a boolean');if(null===A(/^%?[^%]*%?$/,t))throw new e("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=function(t){var n=_(t,0,1),r=_(t,-1);if("%"===n&&"%"!==r)throw new e("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==n)throw new e("invalid intrinsic syntax, expected opening `%`");var i=[];return E(t,M,(function(t,e,n,r){i[i.length]=n?E(r,T,"$1"):e||t})),i}(t),a=i.length>0?i[0]:"",s=x("%"+a+"%",n),l=s.name,c=s.value,u=!1,h=s.alias;h&&(a=h[0],v(i,b([0,1],h)));for(var f=1,p=!0;f<i.length;f+=1){var m=i[f],g=_(m,0,1),y=_(m,-1);if(('"'===g||"'"===g||"`"===g||'"'===y||"'"===y||"`"===y)&&g!==y)throw new e("property names with quotes must have matching quotes");if("constructor"!==m&&p||(u=!0),w(d,l="%"+(a+="."+m)+"%"))c=d[l];else if(null!=c){if(!(m in c)){if(!n)throw new r("base intrinsic for "+t+" exists, but the property is not available.");return}if(o&&f+1>=i.length){var S=o(c,m);c=(p=!!S)&&"get"in S&&!("originalValue"in S.get)?S.get:c[m]}else p=w(c,m),c=c[m];p&&!u&&(d[l]=c)}}return c},dl}var El,_l,Al,Ml,Tl,xl,Sl,kl,Cl,Dl,Il,Rl,Nl,Ol,Ll,Pl,Fl,Bl,Ul,jl,Hl,zl,ql,Wl,Gl,Kl,Yl,Vl,Xl,Zl,$l,Ql,Jl,tc={exports:{}};function ec(){if(_l)return El;_l=1;var t=vl()("%Object.defineProperty%",!0),e=function(){if(t)try{return t({},"a",{value:1}),!0}catch(t){return!1}return!1};return e.hasArrayLengthDefineBug=function(){if(!e())return null;try{return 1!==t([],"length",{value:1}).length}catch(t){return!0}},El=e}function nc(){if(Ml)return Al;Ml=1;var t=vl()("%Object.getOwnPropertyDescriptor%",!0);if(t)try{t([],"length")}catch(e){t=null}return Al=t}function rc(){return Cl||(Cl=1,function(t){var e=bl(),n=vl(),r=function(){if(kl)return Sl;kl=1;var t=vl(),e=function(){if(xl)return Tl;xl=1;var t=ec()(),e=vl(),n=t&&e("%Object.defineProperty%",!0);if(n)try{n({},"a",{value:1})}catch(t){n=!1}var r=e("%SyntaxError%"),i=e("%TypeError%"),o=nc();return Tl=function(t,e,a){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new i("`obj` must be an object or a function`");if("string"!=typeof e&&"symbol"!=typeof e)throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new i("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],h=!!o&&o(t,e);if(n)n(t,e,{configurable:null===c&&h?h.configurable:!c,enumerable:null===s&&h?h.enumerable:!s,value:a,writable:null===l&&h?h.writable:!l});else{if(!u&&(s||l||c))throw new r("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[e]=a}},Tl}(),n=ec()(),r=nc(),i=t("%TypeError%"),o=t("%Math.floor%");return Sl=function(t,a){if("function"!=typeof t)throw new i("`fn` is not a function");if("number"!=typeof a||a<0||a>4294967295||o(a)!==a)throw new i("`length` must be a positive 32-bit integer");var s=arguments.length>2&&!!arguments[2],l=!0,c=!0;if("length"in t&&r){var u=r(t,"length");u&&!u.configurable&&(l=!1),u&&!u.writable&&(c=!1)}return(l||c||!s)&&(n?e(t,"length",a,!0,!0):e(t,"length",a)),t},Sl}(),i=n("%TypeError%"),o=n("%Function.prototype.apply%"),a=n("%Function.prototype.call%"),s=n("%Reflect.apply%",!0)||e.call(a,o),l=n("%Object.defineProperty%",!0),c=n("%Math.max%");if(l)try{l({},"a",{value:1})}catch(t){l=null}t.exports=function(t){if("function"!=typeof t)throw new i("a function is required");var n=s(e,a,arguments);return r(n,1+c(0,t.length-(arguments.length-1)),!0)};var u=function(){return s(e,o,arguments)};l?l(t.exports,"apply",{value:u}):t.exports.apply=u}(tc)),tc.exports}function ic(){if(Il)return Dl;Il=1;var t=vl(),e=rc(),n=e(t("String.prototype.indexOf"));return Dl=function(r,i){var o=t(r,!!i);return"function"==typeof o&&n(r,".prototype.")>-1?e(o):o}}function oc(){if(ql)return zl;ql=1;var t=function(){if(Ul)return Bl;Ul=1;var t=function(){if(Fl)return Pl;Fl=1;var t,e,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 e}}),e={},r((function(){throw 42}),null,t)}catch(t){t!==e&&(r=null)}else r=null;var i=/^\s*class\b/,o=function(t){try{var e=n.call(t);return i.test(e)}catch(t){return!1}},a=function(t){try{return!o(t)&&(n.call(t),!0)}catch(t){return!1}},s=Object.prototype.toString,l="function"==typeof Symbol&&!!Symbol.toStringTag,c=!(0 in[,]),u=function(){return!1};if("object"==typeof document){var h=document.all;s.call(h)===s.call(document.all)&&(u=function(t){if((c||!t)&&(void 0===t||"object"==typeof t))try{var e=s.call(t);return("[object HTMLAllCollection]"===e||"[object HTML document.all class]"===e||"[object HTMLCollection]"===e||"[object Object]"===e)&&null==t("")}catch(t){}return!1})}return Pl=r?function(n){if(u(n))return!0;if(!n)return!1;if("function"!=typeof n&&"object"!=typeof n)return!1;try{r(n,null,t)}catch(t){if(t!==e)return!1}return!o(n)&&a(n)}:function(t){if(u(t))return!0;if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;if(l)return a(t);if(o(t))return!1;var e=s.call(t);return!("[object Function]"!==e&&"[object GeneratorFunction]"!==e&&!/^\[object HTML/.test(e))&&a(t)},Pl}(),e=Object.prototype.toString,n=Object.prototype.hasOwnProperty;return Bl=function(r,i,o){if(!t(i))throw new TypeError("iterator must be a function");var a;arguments.length>=3&&(a=o),"[object Array]"===e.call(r)?function(t,e,r){for(var i=0,o=t.length;i<o;i++)n.call(t,i)&&(null==r?e(t[i],i,t):e.call(r,t[i],i,t))}(r,i,a):"string"==typeof r?function(t,e,n){for(var r=0,i=t.length;r<i;r++)null==n?e(t.charAt(r),r,t):e.call(n,t.charAt(r),r,t)}(r,i,a):function(t,e,r){for(var i in t)n.call(t,i)&&(null==r?e(t[i],i,t):e.call(r,t[i],i,t))}(r,i,a)},Bl}(),e=function(){if(Hl)return jl;Hl=1;var t=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],e="undefined"==typeof globalThis?is:globalThis;return jl=function(){for(var n=[],r=0;r<t.length;r++)"function"==typeof e[t[r]]&&(n[n.length]=t[r]);return n},jl}(),n=rc(),r=ic(),i=nc(),o=r("Object.prototype.toString"),a=wl()(),s="undefined"==typeof globalThis?is:globalThis,l=e(),c=r("String.prototype.slice"),u=Object.getPrototypeOf,h=r("Array.prototype.indexOf",!0)||function(t,e){for(var n=0;n<t.length;n+=1)if(t[n]===e)return n;return-1},f={__proto__:null};return t(l,a&&i&&u?function(t){var e=new s[t];if(Symbol.toStringTag in e){var r=u(e),o=i(r,Symbol.toStringTag);if(!o){var a=u(r);o=i(a,Symbol.toStringTag)}f["$"+t]=n(o.get)}}:function(t){var e=new s[t],r=e.slice||e.set;r&&(f["$"+t]=n(r))}),zl=function(e){if(!e||"object"!=typeof e)return!1;if(!a){var n=c(o(e),8,-1);return h(l,n)>-1?n:"Object"===n&&function(e){var n=!1;return t(f,(function(t,r){if(!n)try{t(e),n=c(r,1)}catch(t){}})),n}(e)}return i?function(e){var n=!1;return t(f,(function(t,r){if(!n)try{"$"+t(e)===r&&(n=c(r,1))}catch(t){}})),n}(e):null},zl}function ac(){return Kl||(Kl=1,function(t){var e=function(){if(Nl)return Rl;Nl=1;var t=wl()(),e=ic()("Object.prototype.toString"),n=function(n){return!(t&&n&&"object"==typeof n&&Symbol.toStringTag in n)&&"[object Arguments]"===e(n)},r=function(t){return!!n(t)||null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Array]"!==e(t)&&"[object Function]"===e(t.callee)},i=function(){return n(arguments)}();return n.isLegacyArguments=r,Rl=i?n:r}(),n=function(){if(Ll)return Ol;Ll=1;var t,e=Object.prototype.toString,n=Function.prototype.toString,r=/^\s*(?:function)?\*/,i=wl()(),o=Object.getPrototypeOf;return Ol=function(a){if("function"!=typeof a)return!1;if(r.test(n.call(a)))return!0;if(!i)return"[object GeneratorFunction]"===e.call(a);if(!o)return!1;if(void 0===t){var s=function(){if(!i)return!1;try{return Function("return function*() {}")()}catch(t){}}();t=!!s&&o(s)}return o(a)===t}}(),r=oc(),i=function(){if(Gl)return Wl;Gl=1;var t=oc();return Wl=function(e){return!!t(e)},Wl}();function o(t){return t.call.bind(t)}var a="undefined"!=typeof BigInt,s="undefined"!=typeof Symbol,l=o(Object.prototype.toString),c=o(Number.prototype.valueOf),u=o(String.prototype.valueOf),h=o(Boolean.prototype.valueOf);if(a)var f=o(BigInt.prototype.valueOf);if(s)var d=o(Symbol.prototype.valueOf);function p(t,e){if("object"!=typeof t)return!1;try{return e(t),!0}catch(t){return!1}}function m(t){return"[object Map]"===l(t)}function g(t){return"[object Set]"===l(t)}function y(t){return"[object WeakMap]"===l(t)}function w(t){return"[object WeakSet]"===l(t)}function b(t){return"[object ArrayBuffer]"===l(t)}function v(t){return"undefined"!=typeof ArrayBuffer&&(b.working?b(t):t instanceof ArrayBuffer)}function E(t){return"[object DataView]"===l(t)}function _(t){return"undefined"!=typeof DataView&&(E.working?E(t):t instanceof DataView)}t.isArgumentsObject=e,t.isGeneratorFunction=n,t.isTypedArray=i,t.isPromise=function(t){return"undefined"!=typeof Promise&&t instanceof Promise||null!==t&&"object"==typeof t&&"function"==typeof t.then&&"function"==typeof t.catch},t.isArrayBufferView=function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):i(t)||_(t)},t.isUint8Array=function(t){return"Uint8Array"===r(t)},t.isUint8ClampedArray=function(t){return"Uint8ClampedArray"===r(t)},t.isUint16Array=function(t){return"Uint16Array"===r(t)},t.isUint32Array=function(t){return"Uint32Array"===r(t)},t.isInt8Array=function(t){return"Int8Array"===r(t)},t.isInt16Array=function(t){return"Int16Array"===r(t)},t.isInt32Array=function(t){return"Int32Array"===r(t)},t.isFloat32Array=function(t){return"Float32Array"===r(t)},t.isFloat64Array=function(t){return"Float64Array"===r(t)},t.isBigInt64Array=function(t){return"BigInt64Array"===r(t)},t.isBigUint64Array=function(t){return"BigUint64Array"===r(t)},m.working="undefined"!=typeof Map&&m(new Map),t.isMap=function(t){return"undefined"!=typeof Map&&(m.working?m(t):t instanceof Map)},g.working="undefined"!=typeof Set&&g(new Set),t.isSet=function(t){return"undefined"!=typeof Set&&(g.working?g(t):t instanceof Set)},y.working="undefined"!=typeof WeakMap&&y(new WeakMap),t.isWeakMap=function(t){return"undefined"!=typeof WeakMap&&(y.working?y(t):t instanceof WeakMap)},w.working="undefined"!=typeof WeakSet&&w(new WeakSet),t.isWeakSet=function(t){return w(t)},b.working="undefined"!=typeof ArrayBuffer&&b(new ArrayBuffer),t.isArrayBuffer=v,E.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&E(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=_;var A="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function M(t){return"[object SharedArrayBuffer]"===l(t)}function T(t){return void 0!==A&&(void 0===M.working&&(M.working=M(new A)),M.working?M(t):t instanceof A)}function x(t){return p(t,c)}function S(t){return p(t,u)}function k(t){return p(t,h)}function C(t){return a&&p(t,f)}function D(t){return s&&p(t,d)}t.isSharedArrayBuffer=T,t.isAsyncFunction=function(t){return"[object AsyncFunction]"===l(t)},t.isMapIterator=function(t){return"[object Map Iterator]"===l(t)},t.isSetIterator=function(t){return"[object Set Iterator]"===l(t)},t.isGeneratorObject=function(t){return"[object Generator]"===l(t)},t.isWebAssemblyCompiledModule=function(t){return"[object WebAssembly.Module]"===l(t)},t.isNumberObject=x,t.isStringObject=S,t.isBooleanObject=k,t.isBigIntObject=C,t.isSymbolObject=D,t.isBoxedPrimitive=function(t){return x(t)||S(t)||k(t)||C(t)||D(t)},t.isAnyArrayBuffer=function(t){return"undefined"!=typeof Uint8Array&&(v(t)||T(t))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))}(gl)),gl}function sc(){return Xl||(Xl=1,function(t){var e=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),n={},r=0;r<e.length;r++)n[e[r]]=Object.getOwnPropertyDescriptor(t,e[r]);return n},n=/%[sdj%]/g;t.format=function(t){if(!g(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(a(arguments[r]));return e.join(" ")}r=1;for(var i=arguments,o=i.length,s=String(t).replace(n,(function(t){if("%%"===t)return"%";if(r>=o)return t;switch(t){case"%s":return String(i[r++]);case"%d":return Number(i[r++]);case"%j":try{return JSON.stringify(i[r++])}catch(t){return"[Circular]"}default:return t}})),l=i[r];r<o;l=i[++r])p(l)||!b(l)?s+=" "+l:s+=" "+a(l);return s},t.deprecate=function(e,n){if(void 0!==zs&&!0===zs.noDeprecation)return e;if(void 0===zs)return function(){return t.deprecate(e,n).apply(this,arguments)};var r=!1;return function(){if(!r){if(zs.throwDeprecation)throw new Error(n);zs.traceDeprecation?console.trace(n):console.error(n),r=!0}return e.apply(this,arguments)}};var r={},i=/^$/;if(zs.env.NODE_DEBUG){var o=zs.env.NODE_DEBUG;o=o.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),i=new RegExp("^"+o+"$","i")}function a(e,n){var r={seen:[],stylize:l};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),d(n)?r.showHidden=n:n&&t._extend(r,n),y(r.showHidden)&&(r.showHidden=!1),y(r.depth)&&(r.depth=2),y(r.colors)&&(r.colors=!1),y(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=s),c(r,e,r.depth)}function s(t,e){var n=a.styles[e];return n?"["+a.colors[n][0]+"m"+t+"["+a.colors[n][1]+"m":t}function l(t,e){return t}function c(e,n,r){if(e.customInspect&&n&&_(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return g(i)||(i=c(e,i,r)),i}var o=function(t,e){if(y(e))return t.stylize("undefined","undefined");if(g(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}return m(e)?t.stylize(""+e,"number"):d(e)?t.stylize(""+e,"boolean"):p(e)?t.stylize("null","null"):void 0}(e,n);if(o)return o;var a=Object.keys(n),s=function(t){var e={};return t.forEach((function(t,n){e[t]=!0})),e}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),E(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return u(n);if(0===a.length){if(_(n)){var l=n.name?": "+n.name:"";return e.stylize("[Function"+l+"]","special")}if(w(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(v(n))return e.stylize(Date.prototype.toString.call(n),"date");if(E(n))return u(n)}var b,A="",M=!1,T=["{","}"];return f(n)&&(M=!0,T=["[","]"]),_(n)&&(A=" [Function"+(n.name?": "+n.name:"")+"]"),w(n)&&(A=" "+RegExp.prototype.toString.call(n)),v(n)&&(A=" "+Date.prototype.toUTCString.call(n)),E(n)&&(A=" "+u(n)),0!==a.length||M&&0!=n.length?r<0?w(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),b=M?function(t,e,n,r,i){for(var o=[],a=0,s=e.length;a<s;++a)x(e,String(a))?o.push(h(t,e,n,r,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(h(t,e,n,r,i,!0))})),o}(e,n,r,s,a):a.map((function(t){return h(e,n,r,s,t,M)})),e.seen.pop(),function(t,e,n){return t.reduce((function(t,e){return e.indexOf("\n"),t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n  ")+" "+n[1]:n[0]+e+" "+t.join(", ")+" "+n[1]}(b,A,T)):T[0]+A+T[1]}function u(t){return"["+Error.prototype.toString.call(t)+"]"}function h(t,e,n,r,i,o){var a,s,l;if((l=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?s=l.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):l.set&&(s=t.stylize("[Setter]","special")),x(r,i)||(a="["+i+"]"),s||(t.seen.indexOf(l.value)<0?(s=p(n)?c(t,l.value,null):c(t,l.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(t){return"  "+t})).join("\n").slice(2):"\n"+s.split("\n").map((function(t){return"   "+t})).join("\n")):s=t.stylize("[Circular]","special")),y(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=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function f(t){return Array.isArray(t)}function d(t){return"boolean"==typeof t}function p(t){return null===t}function m(t){return"number"==typeof t}function g(t){return"string"==typeof t}function y(t){return void 0===t}function w(t){return b(t)&&"[object RegExp]"===A(t)}function b(t){return"object"==typeof t&&null!==t}function v(t){return b(t)&&"[object Date]"===A(t)}function E(t){return b(t)&&("[object Error]"===A(t)||t instanceof Error)}function _(t){return"function"==typeof t}function A(t){return Object.prototype.toString.call(t)}function M(t){return t<10?"0"+t.toString(10):t.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!r[e])if(i.test(e)){var n=zs.pid;r[e]=function(){var r=t.format.apply(t,arguments);console.error("%s %d: %s",e,n,r)}}else r[e]=function(){};return r[e]},t.inspect=a,a.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]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=ac(),t.isArray=f,t.isBoolean=d,t.isNull=p,t.isNullOrUndefined=function(t){return null==t},t.isNumber=m,t.isString=g,t.isSymbol=function(t){return"symbol"==typeof t},t.isUndefined=y,t.isRegExp=w,t.types.isRegExp=w,t.isObject=b,t.isDate=v,t.types.isDate=v,t.isError=E,t.types.isNativeError=E,t.isFunction=_,t.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},t.isBuffer=Vl?Yl:(Vl=1,Yl=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8});var T=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function x(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.log=function(){var e,n;console.log("%s - %s",(n=[M((e=new Date).getHours()),M(e.getMinutes()),M(e.getSeconds())].join(":"),[e.getDate(),T[e.getMonth()],n].join(" ")),t.format.apply(t,arguments))},t.inherits=Ts,t._extend=function(t,e){if(!e||!b(e))return t;for(var n=Object.keys(e),r=n.length;r--;)t[n[r]]=e[n[r]];return t};var S="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function k(t,e){if(!t){var n=new Error("Promise was rejected with a falsy value");n.reason=t,t=n}return e(t)}t.promisify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(S&&t[S]){var n;if("function"!=typeof(n=t[S]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(n,S,{value:n,enumerable:!1,writable:!1,configurable:!0}),n}function n(){for(var e,n,r=new Promise((function(t,r){e=t,n=r})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(t,r){t?n(t):e(r)}));try{t.apply(this,i)}catch(t){n(t)}return r}return Object.setPrototypeOf(n,Object.getPrototypeOf(t)),S&&Object.defineProperty(n,S,{value:n,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(n,e(t))},t.promisify.custom=S,t.callbackify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function n(){for(var e=[],n=0;n<arguments.length;n++)e.push(arguments[n]);var r=e.pop();if("function"!=typeof r)throw new TypeError("The last argument must be of type Function");var i=this,o=function(){return r.apply(i,arguments)};t.apply(this,e).then((function(t){zs.nextTick(o.bind(null,null,t))}),(function(t){zs.nextTick(k.bind(null,t,o))}))}return Object.setPrototypeOf(n,Object.getPrototypeOf(t)),Object.defineProperties(n,e(t)),n}}(ml)),ml}function lc(){if(Jl)return Ql;function t(t,r){n(t,r),e(t)}function e(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function n(t,e){t.emit("error",e)}return Jl=1,Ql={destroy:function(r,i){var o=this,a=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return a||s?(i?i(r):r&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,zs.nextTick(n,this,r)):zs.nextTick(n,this,r)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(r||null,(function(n){!i&&n?o._writableState?o._writableState.errorEmitted?zs.nextTick(e,o):(o._writableState.errorEmitted=!0,zs.nextTick(t,o,n)):zs.nextTick(t,o,n):i?(zs.nextTick(e,o),i(n)):zs.nextTick(e,o)})),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(t,e){var n=t._readableState,r=t._writableState;n&&n.autoDestroy||r&&r.autoDestroy?t.destroy(e):t.emit("error",e)}}}var cc,uc,hc,fc,dc,pc,mc,gc,yc,wc={};function bc(){if(cc)return wc;cc=1;var t={};function e(e,n,r){r||(r=Error);var i=function(t){var e,r;function i(e,r,i){return t.call(this,function(t,e,r){return"string"==typeof n?n:n(t,e,r)}(e,r,i))||this}return r=t,(e=i).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r,i}(r);i.prototype.name=r.name,i.prototype.code=e,t[e]=i}function n(t,e){if(Array.isArray(t)){var n=t.length;return t=t.map((function(t){return String(t)})),n>2?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:2===n?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}return e("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),e("ERR_INVALID_ARG_TYPE",(function(t,e,r){var i,o;if("string"==typeof e&&function(t,e,n){return t.substr(0,4)===e}(e,"not ")?(i="must not be",e=e.replace(/^not /,"")):i="must be",function(t,e,n){return(void 0===n||n>t.length)&&(n=t.length),t.substring(n-9,n)===e}(t," argument"))o="The ".concat(t," ").concat(i," ").concat(n(e,"type"));else{var a=function(t,e,n){return"number"!=typeof n&&(n=0),!(n+1>t.length)&&-1!==t.indexOf(".",n)}(t)?"property":"argument";o='The "'.concat(t,'" ').concat(a," ").concat(i," ").concat(n(e,"type"))}return o+". Received type ".concat(typeof r)}),TypeError),e("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),e("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),e("ERR_STREAM_PREMATURE_CLOSE","Premature close"),e("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),e("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),e("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),e("ERR_STREAM_WRITE_AFTER_END","write after end"),e("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),e("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),e("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),wc.codes=t,wc}function vc(){if(hc)return uc;hc=1;var t=bc().codes.ERR_INVALID_OPT_VALUE;return uc={getHighWaterMark:function(e,n,r,i){var o=function(t,e,n){return null!=t.highWaterMark?t.highWaterMark:e?t[n]:null}(n,i,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new t(i?r:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}}function Ec(){if(dc)return fc;function t(t){try{if(!is.localStorage)return!1}catch(t){return!1}var e=is.localStorage[t];return null!=e&&"true"===String(e).toLowerCase()}return dc=1,fc=function(e,n){if(t("noDeprecation"))return e;var r=!1;return function(){if(!r){if(t("throwDeprecation"))throw new Error(n);t("traceDeprecation")?console.trace(n):console.warn(n),r=!0}return e.apply(this,arguments)}},fc}function _c(){if(mc)return pc;function t(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,n){var r=t.entry;for(t.entry=null;r;){var i=r.callback;e.pendingcb--,i(undefined),r=r.next}e.corkedRequestsFree.next=t}(e,t)}}var e;mc=1,pc=E,E.WritableState=v;var n,r={deprecate:Ec()},i=Gs(),o=Qs().Buffer,a=is.Uint8Array||function(){},s=lc(),l=vc().getHighWaterMark,c=bc().codes,u=c.ERR_INVALID_ARG_TYPE,h=c.ERR_METHOD_NOT_IMPLEMENTED,f=c.ERR_MULTIPLE_CALLBACK,d=c.ERR_STREAM_CANNOT_PIPE,p=c.ERR_STREAM_DESTROYED,m=c.ERR_STREAM_NULL_VALUES,g=c.ERR_STREAM_WRITE_AFTER_END,y=c.ERR_UNKNOWN_ENCODING,w=s.errorOrDestroy;function b(){}function v(n,r,i){e=e||Ac(),n=n||{},"boolean"!=typeof i&&(i=r instanceof e),this.objectMode=!!n.objectMode,i&&(this.objectMode=this.objectMode||!!n.writableObjectMode),this.highWaterMark=l(this,n,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var o=!1===n.decodeStrings;this.decodeStrings=!o,this.defaultEncoding=n.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var n=t._writableState,r=n.sync,i=n.writecb;if("function"!=typeof i)throw new f;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),e)!function(t,e,n,r,i){--e.pendingcb,n?(zs.nextTick(i,r),zs.nextTick(S,t,e),t._writableState.errorEmitted=!0,w(t,r)):(i(r),t._writableState.errorEmitted=!0,w(t,r),S(t,e))}(t,n,r,e,i);else{var o=T(n)||t.destroyed;o||n.corked||n.bufferProcessing||!n.bufferedRequest||M(t,n),r?zs.nextTick(A,t,n,o,i):A(t,n,o,i)}}(r,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==n.emitClose,this.autoDestroy=!!n.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}function E(t){var r=this instanceof(e=e||Ac());if(!r&&!n.call(E,this))return new E(t);this._writableState=new v(t,this,r),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),i.call(this)}function _(t,e,n,r,i,o,a){e.writelen=r,e.writecb=a,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new p("write")):n?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function A(t,e,n,r){n||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,r(),S(t,e)}function M(e,n){n.bufferProcessing=!0;var r=n.bufferedRequest;if(e._writev&&r&&r.next){var i=n.bufferedRequestCount,o=new Array(i),a=n.corkedRequestsFree;a.entry=r;for(var s=0,l=!0;r;)o[s]=r,r.isBuf||(l=!1),r=r.next,s+=1;o.allBuffers=l,_(e,n,!0,n.length,o,"",a.finish),n.pendingcb++,n.lastBufferedRequest=null,a.next?(n.corkedRequestsFree=a.next,a.next=null):n.corkedRequestsFree=new t(n),n.bufferedRequestCount=0}else{for(;r;){var c=r.chunk,u=r.encoding,h=r.callback;if(_(e,n,!1,n.objectMode?1:c.length,c,u,h),r=r.next,n.bufferedRequestCount--,n.writing)break}null===r&&(n.lastBufferedRequest=null)}n.bufferedRequest=r,n.bufferProcessing=!1}function T(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function x(t,e){t._final((function(n){e.pendingcb--,n&&w(t,n),e.prefinished=!0,t.emit("prefinish"),S(t,e)}))}function S(t,e){var n=T(e);if(n&&(function(t,e){e.prefinished||e.finalCalled||("function"!=typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,zs.nextTick(x,t,e)))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var r=t._readableState;(!r||r.autoDestroy&&r.endEmitted)&&t.destroy()}return n}return Ts(E,i),v.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(v.prototype,"buffer",{get:r.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(n=Function.prototype[Symbol.hasInstance],Object.defineProperty(E,Symbol.hasInstance,{value:function(t){return!!n.call(this,t)||this===E&&t&&t._writableState instanceof v}})):n=function(t){return t instanceof this},E.prototype.pipe=function(){w(this,new d)},E.prototype.write=function(t,e,n){var r,i=this._writableState,s=!1,l=!i.objectMode&&(r=t,o.isBuffer(r)||r instanceof a);return l&&!o.isBuffer(t)&&(t=function(t){return o.from(t)}(t)),"function"==typeof e&&(n=e,e=null),l?e="buffer":e||(e=i.defaultEncoding),"function"!=typeof n&&(n=b),i.ending?function(t,e){var n=new g;w(t,n),zs.nextTick(e,n)}(this,n):(l||function(t,e,n,r){var i;return null===n?i=new m:"string"==typeof n||e.objectMode||(i=new u("chunk",["string","Buffer"],n)),!i||(w(t,i),zs.nextTick(r,i),!1)}(this,i,t,n))&&(i.pendingcb++,s=function(t,e,n,r,i,a){if(!n){var s=function(t,e,n){return t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=o.from(e,n)),e}(e,r,i);r!==s&&(n=!0,i="buffer",r=s)}var l=e.objectMode?1:r.length;e.length+=l;var c=e.length<e.highWaterMark;if(c||(e.needDrain=!0),e.writing||e.corked){var u=e.lastBufferedRequest;e.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:a,next:null},u?u.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else _(t,e,!1,l,r,i,a);return c}(this,i,l,t,e,n)),s},E.prototype.cork=function(){this._writableState.corked++},E.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||M(this,t))},E.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new y(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(E.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(E.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),E.prototype._write=function(t,e,n){n(new h("_write()"))},E.prototype._writev=null,E.prototype.end=function(t,e,n){var r=this._writableState;return"function"==typeof t?(n=t,t=null,e=null):"function"==typeof e&&(n=e,e=null),null!=t&&this.write(t,e),r.corked&&(r.corked=1,this.uncork()),r.ending||function(t,e,n){e.ending=!0,S(t,e),n&&(e.finished?zs.nextTick(n):t.once("finish",n)),e.ended=!0,t.writable=!1}(this,r,n),this},Object.defineProperty(E.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),E.prototype.destroy=s.destroy,E.prototype._undestroy=s.undestroy,E.prototype._destroy=function(t,e){e(t)},pc}function Ac(){if(yc)return gc;yc=1;var t=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};gc=a;var e=Gc(),n=_c();Ts(a,e);for(var r=t(n.prototype),i=0;i<r.length;i++){var o=r[i];a.prototype[o]||(a.prototype[o]=n.prototype[o])}function a(t){if(!(this instanceof a))return new a(t);e.call(this,t),n.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",s)))}function s(){this._writableState.ended||zs.nextTick(l,this)}function l(t){t.end()}return Object.defineProperty(a.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(a.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(a.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(a.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}),gc}var Mc,Tc,xc,Sc,kc,Cc,Dc,Ic,Rc,Nc,Oc,Lc,Pc,Fc,Bc,Uc,jc={},Hc={exports:{}};function zc(){if(Tc)return jc;Tc=1;var t=(Mc||(Mc=1,function(t,e){var n=Qs(),r=n.Buffer;function i(t,e){for(var n in t)e[n]=t[n]}function o(t,e,n){return r(t,e,n)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?t.exports=n:(i(n,e),e.Buffer=o),i(r,o),o.from=function(t,e,n){if("number"==typeof t)throw new TypeError("Argument must not be a number");return r(t,e,n)},o.alloc=function(t,e,n){if("number"!=typeof t)throw new TypeError("Argument must be a number");var i=r(t);return void 0!==e?"string"==typeof n?i.fill(e,n):i.fill(e):i.fill(0),i},o.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return r(t)},o.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}}(Hc,Hc.exports)),Hc.exports).Buffer,e=t.isEncoding||function(t){switch((t=""+t)&&t.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 n(n){var r;switch(this.encoding=function(n){var r=function(t){if(!t)return"utf8";for(var e;;)switch(t){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 t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(n);if("string"!=typeof r&&(t.isEncoding===e||!e(n)))throw new Error("Unknown encoding: "+n);return r||n}(n),this.encoding){case"utf16le":this.text=o,this.end=a,r=4;break;case"utf8":this.fillLast=i,r=4;break;case"base64":this.text=s,this.end=l,r=3;break;default:return this.write=c,void(this.end=u)}this.lastNeed=0,this.lastTotal=0,this.lastChar=t.allocUnsafe(r)}function r(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function i(t){var e=this.lastTotal-this.lastNeed,n=function(t,e,n){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==n?n:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function o(t,e){if((t.length-e)%2==0){var n=t.toString("utf16le",e);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function a(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,n)}return e}function s(t,e){var n=(t.length-e)%3;return 0===n?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function l(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function c(t){return t.toString(this.encoding)}function u(t){return t&&t.length?this.write(t):""}return jc.StringDecoder=n,n.prototype.write=function(t){if(0===t.length)return"";var e,n;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<t.length?e?e+this.text(t,n):this.text(t,n):e||""},n.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e},n.prototype.text=function(t,e){var n=function(t,e,n){var i=e.length-1;if(i<n)return 0;var o=r(e[i]);return o>=0?(o>0&&(t.lastNeed=o-1),o):--i<n||-2===o?0:(o=r(e[i]))>=0?(o>0&&(t.lastNeed=o-2),o):--i<n||-2===o?0:(o=r(e[i]))>=0?(o>0&&(2===o?o=0:t.lastNeed=o-3),o):0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var i=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,i),t.toString("utf8",e,i)},n.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length},jc}function qc(){if(Sc)return xc;Sc=1;var t=bc().codes.ERR_STREAM_PREMATURE_CLOSE;function e(){}return xc=function n(r,i,o){if("function"==typeof i)return n(r,null,i);i||(i={}),o=function(t){var e=!1;return function(){if(!e){e=!0;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.apply(this,r)}}}(o||e);var a=i.readable||!1!==i.readable&&r.readable,s=i.writable||!1!==i.writable&&r.writable,l=function(){r.writable||u()},c=r._writableState&&r._writableState.finished,u=function(){s=!1,c=!0,a||o.call(r)},h=r._readableState&&r._readableState.endEmitted,f=function(){a=!1,h=!0,s||o.call(r)},d=function(t){o.call(r,t)},p=function(){var e;return a&&!h?(r._readableState&&r._readableState.ended||(e=new t),o.call(r,e)):s&&!c?(r._writableState&&r._writableState.ended||(e=new t),o.call(r,e)):void 0},m=function(){r.req.on("finish",u)};return function(t){return t.setHeader&&"function"==typeof t.abort}(r)?(r.on("complete",u),r.on("abort",p),r.req?m():r.on("request",m)):s&&!r._writableState&&(r.on("end",l),r.on("close",l)),r.on("end",f),r.on("finish",u),!1!==i.error&&r.on("error",d),r.on("close",p),function(){r.removeListener("complete",u),r.removeListener("abort",p),r.removeListener("request",m),r.req&&r.req.removeListener("finish",u),r.removeListener("end",l),r.removeListener("close",l),r.removeListener("finish",u),r.removeListener("end",f),r.removeListener("error",d),r.removeListener("close",p)}},xc}function Wc(){if(Cc)return kc;var t;function e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Cc=1;var n=qc(),r=Symbol("lastResolve"),i=Symbol("lastReject"),o=Symbol("error"),a=Symbol("ended"),s=Symbol("lastPromise"),l=Symbol("handlePromise"),c=Symbol("stream");function u(t,e){return{value:t,done:e}}function h(t){var e=t[r];if(null!==e){var n=t[c].read();null!==n&&(t[s]=null,t[r]=null,t[i]=null,e(u(n,!1)))}}function f(t){zs.nextTick(h,t)}var d=Object.getPrototypeOf((function(){})),p=Object.setPrototypeOf((e(t={get stream(){return this[c]},next:function(){var t=this,e=this[o];if(null!==e)return Promise.reject(e);if(this[a])return Promise.resolve(u(void 0,!0));if(this[c].destroyed)return new Promise((function(e,n){zs.nextTick((function(){t[o]?n(t[o]):e(u(void 0,!0))}))}));var n,r=this[s];if(r)n=new Promise(function(t,e){return function(n,r){t.then((function(){e[a]?n(u(void 0,!0)):e[l](n,r)}),r)}}(r,this));else{var i=this[c].read();if(null!==i)return Promise.resolve(u(i,!1));n=new Promise(this[l])}return this[s]=n,n}},Symbol.asyncIterator,(function(){return this})),e(t,"return",(function(){var t=this;return new Promise((function(e,n){t[c].destroy(null,(function(t){t?n(t):e(u(void 0,!0))}))}))})),t),d);return kc=function(t){var h,d=Object.create(p,(e(h={},c,{value:t,writable:!0}),e(h,r,{value:null,writable:!0}),e(h,i,{value:null,writable:!0}),e(h,o,{value:null,writable:!0}),e(h,a,{value:t._readableState.endEmitted,writable:!0}),e(h,l,{value:function(t,e){var n=d[c].read();n?(d[s]=null,d[r]=null,d[i]=null,t(u(n,!1))):(d[r]=t,d[i]=e)},writable:!0}),h));return d[s]=null,n(t,(function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=d[i];return null!==e&&(d[s]=null,d[r]=null,d[i]=null,e(t)),void(d[o]=t)}var n=d[r];null!==n&&(d[s]=null,d[r]=null,d[i]=null,n(u(void 0,!0))),d[a]=!0})),t.on("readable",f.bind(null,d)),d}}function Gc(){if(Nc)return Rc;var t;Nc=1,Rc=E,E.ReadableState=v,As.EventEmitter;var e,n=function(t,e){return t.listeners(e).length},r=Gs(),i=Qs().Buffer,o=is.Uint8Array||function(){},a=sc();e=a&&a.debuglog?a.debuglog("stream"):function(){};var s,l,c,u=function(){if($l)return Zl;function t(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function n(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}$l=1;var r=Qs().Buffer,i=sc().inspect,o=i&&i.custom||"inspect";function a(t,e,n){r.prototype.copy.call(t,e,n)}return Zl=function(){function s(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),this.head=null,this.tail=null,this.length=0}var l;return l=[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,n=""+e.data;e=e.next;)n+=t+e.data;return n}},{key:"concat",value:function(t){if(0===this.length)return r.alloc(0);for(var e=r.allocUnsafe(t>>>0),n=this.head,i=0;n;)a(n.data,e,i),i+=n.data.length,n=n.next;return e}},{key:"consume",value:function(t,e){var n;return t<this.head.data.length?(n=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):n=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var e=this.head,n=1,r=e.data;for(t-=r.length;e=e.next;){var i=e.data,o=t>i.length?i.length:t;if(o===i.length?r+=i:r+=i.slice(0,t),0==(t-=o)){o===i.length?(++n,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(t){var e=r.allocUnsafe(t),n=this.head,i=1;for(n.data.copy(e),t-=n.data.length;n=n.next;){var o=n.data,a=t>o.length?o.length:t;if(o.copy(e,e.length-t,0,a),0==(t-=a)){a===o.length?(++i,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=o.slice(a));break}++i}return this.length-=i,e}},{key:o,value:function(n,r){return i(this,function(n){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?t(Object(i),!0).forEach((function(t){e(n,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):t(Object(i)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))}))}return n}({},r,{depth:0,customInspect:!1}))}}],l&&n(s.prototype,l),s}(),Zl}(),h=lc(),f=vc().getHighWaterMark,d=bc().codes,p=d.ERR_INVALID_ARG_TYPE,m=d.ERR_STREAM_PUSH_AFTER_EOF,g=d.ERR_METHOD_NOT_IMPLEMENTED,y=d.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;Ts(E,r);var w=h.errorOrDestroy,b=["error","close","destroy","pause","resume"];function v(e,n,r){t=t||Ac(),e=e||{},"boolean"!=typeof r&&(r=n instanceof t),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=f(this,e,"readableHighWaterMark",r),this.buffer=new u,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&&(s||(s=zc().StringDecoder),this.decoder=new s(e.encoding),this.encoding=e.encoding)}function E(e){if(t=t||Ac(),!(this instanceof E))return new E(e);var n=this instanceof t;this._readableState=new v(e,this,n),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),r.call(this)}function _(t,n,r,a,s){e("readableAddChunk",n);var l,c=t._readableState;if(null===n)c.reading=!1,function(t,n){if(e("onEofChunk"),!n.ended){if(n.decoder){var r=n.decoder.end();r&&r.length&&(n.buffer.push(r),n.length+=n.objectMode?1:r.length)}n.ended=!0,n.sync?x(t):(n.needReadable=!1,n.emittedReadable||(n.emittedReadable=!0,S(t)))}}(t,c);else if(s||(l=function(t,e){var n,r;return r=e,i.isBuffer(r)||r instanceof o||"string"==typeof e||void 0===e||t.objectMode||(n=new p("chunk",["string","Buffer","Uint8Array"],e)),n}(c,n)),l)w(t,l);else if(c.objectMode||n&&n.length>0)if("string"==typeof n||c.objectMode||Object.getPrototypeOf(n)===i.prototype||(n=function(t){return i.from(t)}(n)),a)c.endEmitted?w(t,new y):A(t,c,n,!0);else if(c.ended)w(t,new m);else{if(c.destroyed)return!1;c.reading=!1,c.decoder&&!r?(n=c.decoder.write(n),c.objectMode||0!==n.length?A(t,c,n,!1):k(t,c)):A(t,c,n,!1)}else a||(c.reading=!1,k(t,c));return!c.ended&&(c.length<c.highWaterMark||0===c.length)}function A(t,e,n,r){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",n)):(e.length+=e.objectMode?1:n.length,r?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&x(t)),k(t,e)}Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),E.prototype.destroy=h.destroy,E.prototype._undestroy=h.undestroy,E.prototype._destroy=function(t,e){e(t)},E.prototype.push=function(t,e){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof t&&((e=e||r.defaultEncoding)!==r.encoding&&(t=i.from(t,e),e=""),n=!0),_(this,t,e,!1,n)},E.prototype.unshift=function(t){return _(this,t,null,!0,!1)},E.prototype.isPaused=function(){return!1===this._readableState.flowing},E.prototype.setEncoding=function(t){s||(s=zc().StringDecoder);var e=new s(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,r="";null!==n;)r+=e.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==r&&this._readableState.buffer.push(r),this._readableState.length=r.length,this};var M=1073741824;function T(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=M?t=M:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function x(t){var n=t._readableState;e("emitReadable",n.needReadable,n.emittedReadable),n.needReadable=!1,n.emittedReadable||(e("emitReadable",n.flowing),n.emittedReadable=!0,zs.nextTick(S,t))}function S(t){var n=t._readableState;e("emitReadable_",n.destroyed,n.length,n.ended),n.destroyed||!n.length&&!n.ended||(t.emit("readable"),n.emittedReadable=!1),n.needReadable=!n.flowing&&!n.ended&&n.length<=n.highWaterMark,N(t)}function k(t,e){e.readingMore||(e.readingMore=!0,zs.nextTick(C,t,e))}function C(t,n){for(;!n.reading&&!n.ended&&(n.length<n.highWaterMark||n.flowing&&0===n.length);){var r=n.length;if(e("maybeReadMore read 0"),t.read(0),r===n.length)break}n.readingMore=!1}function D(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function I(t){e("readable nexttick read 0"),t.read(0)}function R(t,n){e("resume",n.reading),n.reading||t.read(0),n.resumeScheduled=!1,t.emit("resume"),N(t),n.flowing&&!n.reading&&t.read(0)}function N(t){var n=t._readableState;for(e("flow",n.flowing);n.flowing&&null!==t.read(););}function O(t,e){return 0===e.length?null:(e.objectMode?n=e.buffer.shift():!t||t>=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):n=e.buffer.consume(t,e.decoder),n);var n}function L(t){var n=t._readableState;e("endReadable",n.endEmitted),n.endEmitted||(n.ended=!0,zs.nextTick(P,n,t))}function P(t,n){if(e("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,n.readable=!1,n.emit("end"),t.autoDestroy)){var r=n._writableState;(!r||r.autoDestroy&&r.finished)&&n.destroy()}}function F(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}return E.prototype.read=function(t){e("read",t),t=parseInt(t,10);var n=this._readableState,r=t;if(0!==t&&(n.emittedReadable=!1),0===t&&n.needReadable&&((0!==n.highWaterMark?n.length>=n.highWaterMark:n.length>0)||n.ended))return e("read: emitReadable",n.length,n.ended),0===n.length&&n.ended?L(this):x(this),null;if(0===(t=T(t,n))&&n.ended)return 0===n.length&&L(this),null;var i,o=n.needReadable;return e("need readable",o),(0===n.length||n.length-t<n.highWaterMark)&&e("length less than watermark",o=!0),n.ended||n.reading?e("reading or ended",o=!1):o&&(e("do read"),n.reading=!0,n.sync=!0,0===n.length&&(n.needReadable=!0),this._read(n.highWaterMark),n.sync=!1,n.reading||(t=T(r,n))),null===(i=t>0?O(t,n):null)?(n.needReadable=n.length<=n.highWaterMark,t=0):(n.length-=t,n.awaitDrain=0),0===n.length&&(n.ended||(n.needReadable=!0),r!==t&&n.ended&&L(this)),null!==i&&this.emit("data",i),i},E.prototype._read=function(t){w(this,new g("_read()"))},E.prototype.pipe=function(t,r){var i=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=t;break;case 1:o.pipes=[o.pipes,t];break;default:o.pipes.push(t)}o.pipesCount+=1,e("pipe count=%d opts=%j",o.pipesCount,r);var a=r&&!1===r.end||t===zs.stdout||t===zs.stderr?p:s;function s(){e("onend"),t.end()}o.endEmitted?zs.nextTick(a):i.once("end",a),t.on("unpipe",(function n(r,a){e("onunpipe"),r===i&&a&&!1===a.hasUnpiped&&(a.hasUnpiped=!0,e("cleanup"),t.removeListener("close",f),t.removeListener("finish",d),t.removeListener("drain",l),t.removeListener("error",h),t.removeListener("unpipe",n),i.removeListener("end",s),i.removeListener("end",p),i.removeListener("data",u),c=!0,!o.awaitDrain||t._writableState&&!t._writableState.needDrain||l())}));var l=function(t){return function(){var r=t._readableState;e("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,0===r.awaitDrain&&n(t,"data")&&(r.flowing=!0,N(t))}}(i);t.on("drain",l);var c=!1;function u(n){e("ondata");var r=t.write(n);e("dest.write",r),!1===r&&((1===o.pipesCount&&o.pipes===t||o.pipesCount>1&&-1!==F(o.pipes,t))&&!c&&(e("false write response, pause",o.awaitDrain),o.awaitDrain++),i.pause())}function h(r){e("onerror",r),p(),t.removeListener("error",h),0===n(t,"error")&&w(t,r)}function f(){t.removeListener("finish",d),p()}function d(){e("onfinish"),t.removeListener("close",f),p()}function p(){e("unpipe"),i.unpipe(t)}return i.on("data",u),function(t,e,n){if("function"==typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}(t,"error",h),t.once("close",f),t.once("finish",d),t.emit("pipe",i),o.flowing||(e("pipe resume"),i.resume()),t},E.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var r=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=F(e.pipes,t);return-1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,n)),this},E.prototype.on=function(t,n){var i=r.prototype.on.call(this,t,n),o=this._readableState;return"data"===t?(o.readableListening=this.listenerCount("readable")>0,!1!==o.flowing&&this.resume()):"readable"===t&&(o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,e("on readable",o.length,o.reading),o.length?x(this):o.reading||zs.nextTick(I,this))),i},E.prototype.addListener=E.prototype.on,E.prototype.removeListener=function(t,e){var n=r.prototype.removeListener.call(this,t,e);return"readable"===t&&zs.nextTick(D,this),n},E.prototype.removeAllListeners=function(t){var e=r.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||zs.nextTick(D,this),e},E.prototype.resume=function(){var t=this._readableState;return t.flowing||(e("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,zs.nextTick(R,t,e))}(this,t)),t.paused=!1,this},E.prototype.pause=function(){return e("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(e("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},E.prototype.wrap=function(t){var n=this,r=this._readableState,i=!1;for(var o in t.on("end",(function(){if(e("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&n.push(t)}n.push(null)})),t.on("data",(function(o){e("wrapped data"),r.decoder&&(o=r.decoder.write(o)),r.objectMode&&null==o||(r.objectMode||o&&o.length)&&(n.push(o)||(i=!0,t.pause()))})),t)void 0===this[o]&&"function"==typeof t[o]&&(this[o]=function(e){return function(){return t[e].apply(t,arguments)}}(o));for(var a=0;a<b.length;a++)t.on(b[a],this.emit.bind(this,b[a]));return this._read=function(n){e("wrapped _read",n),i&&(i=!1,t.resume())},this},"function"==typeof Symbol&&(E.prototype[Symbol.asyncIterator]=function(){return void 0===l&&(l=Wc()),l(this)}),Object.defineProperty(E.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(E.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(E.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),E._fromList=O,Object.defineProperty(E.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(E.from=function(t,e){return void 0===c&&(c=Ic?Dc:(Ic=1,Dc=function(){throw new Error("Readable.from is not available in the browser")})),c(E,t,e)}),Rc}function Kc(){if(Lc)return Oc;Lc=1,Oc=s;var t=bc().codes,e=t.ERR_METHOD_NOT_IMPLEMENTED,n=t.ERR_MULTIPLE_CALLBACK,r=t.ERR_TRANSFORM_ALREADY_TRANSFORMING,i=t.ERR_TRANSFORM_WITH_LENGTH_0,o=Ac();function a(t,e){var r=this._transformState;r.transforming=!1;var i=r.writecb;if(null===i)return this.emit("error",new n);r.writechunk=null,r.writecb=null,null!=e&&this.push(e),i(t);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function s(t){if(!(this instanceof s))return new s(t);o.call(this,t),this._transformState={afterTransform:a.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",l)}function l(){var t=this;"function"!=typeof this._flush||this._readableState.destroyed?c(this,null,null):this._flush((function(e,n){c(t,e,n)}))}function c(t,e,n){if(e)return t.emit("error",e);if(null!=n&&t.push(n),t._writableState.length)throw new i;if(t._transformState.transforming)throw new r;return t.push(null)}return Ts(s,o),s.prototype.push=function(t,e){return this._transformState.needTransform=!1,o.prototype.push.call(this,t,e)},s.prototype._transform=function(t,n,r){r(new e("_transform()"))},s.prototype._write=function(t,e,n){var r=this._transformState;if(r.writecb=n,r.writechunk=t,r.writeencoding=e,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},s.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},s.prototype._destroy=function(t,e){o.prototype._destroy.call(this,t,(function(t){e(t)}))},Oc}var Yc=Xc,Vc=As.EventEmitter;function Xc(){Vc.call(this)}Ts(Xc,Vc),Xc.Readable=Gc(),Xc.Writable=_c(),Xc.Duplex=Ac(),Xc.Transform=Kc(),Xc.PassThrough=function(){if(Fc)return Pc;Fc=1,Pc=e;var t=Kc();function e(n){if(!(this instanceof e))return new e(n);t.call(this,n)}return Ts(e,t),e.prototype._transform=function(t,e,n){n(null,t)},Pc}(),Xc.finished=qc(),Xc.pipeline=function(){if(Uc)return Bc;var t;Uc=1;var e=bc().codes,n=e.ERR_MISSING_ARGS,r=e.ERR_STREAM_DESTROYED;function i(t){if(t)throw t}function o(t){t()}function a(t,e){return t.pipe(e)}return Bc=function(){for(var e=arguments.length,s=new Array(e),l=0;l<e;l++)s[l]=arguments[l];var c,u=function(t){return t.length?"function"!=typeof t[t.length-1]?i:t.pop():i}(s);if(Array.isArray(s[0])&&(s=s[0]),s.length<2)throw new n("streams");var h=s.map((function(e,n){var i=n<s.length-1;return function(e,n,i,o){o=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(o);var a=!1;e.on("close",(function(){a=!0})),void 0===t&&(t=qc()),t(e,{readable:n,writable:i},(function(t){if(t)return o(t);a=!0,o()}));var s=!1;return function(t){if(!a&&!s)return s=!0,function(t){return t.setHeader&&"function"==typeof t.abort}(e)?e.abort():"function"==typeof e.destroy?e.destroy():void o(t||new r("pipe"))}}(e,i,n>0,(function(t){c||(c=t),t&&h.forEach(o),i||(h.forEach(o),u(c))}))}));return s.reduce(a)},Bc}(),Xc.Stream=Xc,Xc.prototype.pipe=function(t,e){var n=this;function r(e){t.writable&&!1===t.write(e)&&n.pause&&n.pause()}function i(){n.readable&&n.resume&&n.resume()}n.on("data",r),t.on("drain",i),t._isStdio||e&&!1===e.end||(n.on("end",a),n.on("close",s));var o=!1;function a(){o||(o=!0,t.end())}function s(){o||(o=!0,"function"==typeof t.destroy&&t.destroy())}function l(t){if(c(),0===Vc.listenerCount(this,"error"))throw t}function c(){n.removeListener("data",r),t.removeListener("drain",i),n.removeListener("end",a),n.removeListener("close",s),n.removeListener("error",l),t.removeListener("error",l),n.removeListener("end",c),n.removeListener("close",c),t.removeListener("close",c)}return n.on("error",l),t.on("error",l),n.on("end",c),n.on("close",c),t.on("close",c),t.emit("pipe",n),t},function(t){!function(t){t.parser=function(t,e){return new r(t,e)},t.SAXParser=r,t.SAXStream=o,t.createStream=function(t,e){return new o(t,e)},t.MAX_BUFFER_LENGTH=65536;var e,n=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function r(e,i){if(!(this instanceof r))return new r(e,i);var o=this;!function(t){for(var e=0,r=n.length;e<r;e++)t[n[e]]=""}(o),o.q=o.c="",o.bufferCheckPosition=t.MAX_BUFFER_LENGTH,o.opt=i||{},o.opt.lowercase=o.opt.lowercase||o.opt.lowercasetags,o.looseCase=o.opt.lowercase?"toLowerCase":"toUpperCase",o.tags=[],o.closed=o.closedRoot=o.sawRoot=!1,o.tag=o.error=null,o.strict=!!e,o.noscript=!(!e&&!o.opt.noscript),o.state=v.BEGIN,o.strictEntities=o.opt.strictEntities,o.ENTITIES=o.strictEntities?Object.create(t.XML_ENTITIES):Object.create(t.ENTITIES),o.attribList=[],o.opt.xmlns&&(o.ns=Object.create(u)),o.trackPosition=!1!==o.opt.position,o.trackPosition&&(o.position=o.line=o.column=0),_(o,"onready")}t.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(t){function e(){}return e.prototype=t,new e}),Object.keys||(Object.keys=function(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}),r.prototype={end:function(){S(this)},write:function(e){var r=this;if(this.error)throw this.error;if(r.closed)return x(r,"Cannot write after close. Assign an onready handler.");if(null===e)return S(r);"object"==typeof e&&(e=e.toString());for(var i=0,o="";o=P(e,i++),r.c=o,o;)switch(r.trackPosition&&(r.position++,"\n"===o?(r.line++,r.column=0):r.column++),r.state){case v.BEGIN:if(r.state=v.BEGIN_WHITESPACE,"\ufeff"===o)continue;L(r,o);continue;case v.BEGIN_WHITESPACE:L(r,o);continue;case v.TEXT:if(r.sawRoot&&!r.closedRoot){for(var l=i-1;o&&"<"!==o&&"&"!==o;)(o=P(e,i++))&&r.trackPosition&&(r.position++,"\n"===o?(r.line++,r.column=0):r.column++);r.textNode+=e.substring(l,i-1)}"<"!==o||r.sawRoot&&r.closedRoot&&!r.strict?(m(o)||r.sawRoot&&!r.closedRoot||k(r,"Text data outside of root node."),"&"===o?r.state=v.TEXT_ENTITY:r.textNode+=o):(r.state=v.OPEN_WAKA,r.startTagPosition=r.position);continue;case v.SCRIPT:"<"===o?r.state=v.SCRIPT_ENDING:r.script+=o;continue;case v.SCRIPT_ENDING:"/"===o?r.state=v.CLOSE_TAG:(r.script+="<"+o,r.state=v.SCRIPT);continue;case v.OPEN_WAKA:if("!"===o)r.state=v.SGML_DECL,r.sgmlDecl="";else if(m(o));else if(w(h,o))r.state=v.OPEN_TAG,r.tagName=o;else if("/"===o)r.state=v.CLOSE_TAG,r.tagName="";else if("?"===o)r.state=v.PROC_INST,r.procInstName=r.procInstBody="";else{if(k(r,"Unencoded <"),r.startTagPosition+1<r.position){var c=r.position-r.startTagPosition;o=new Array(c).join(" ")+o}r.textNode+="<"+o,r.state=v.TEXT}continue;case v.SGML_DECL:(r.sgmlDecl+o).toUpperCase()===a?(A(r,"onopencdata"),r.state=v.CDATA,r.sgmlDecl="",r.cdata=""):r.sgmlDecl+o==="--"?(r.state=v.COMMENT,r.comment="",r.sgmlDecl=""):(r.sgmlDecl+o).toUpperCase()===s?(r.state=v.DOCTYPE,(r.doctype||r.sawRoot)&&k(r,"Inappropriately located doctype declaration"),r.doctype="",r.sgmlDecl=""):">"===o?(A(r,"onsgmldeclaration",r.sgmlDecl),r.sgmlDecl="",r.state=v.TEXT):g(o)?(r.state=v.SGML_DECL_QUOTED,r.sgmlDecl+=o):r.sgmlDecl+=o;continue;case v.SGML_DECL_QUOTED:o===r.q&&(r.state=v.SGML_DECL,r.q=""),r.sgmlDecl+=o;continue;case v.DOCTYPE:">"===o?(r.state=v.TEXT,A(r,"ondoctype",r.doctype),r.doctype=!0):(r.doctype+=o,"["===o?r.state=v.DOCTYPE_DTD:g(o)&&(r.state=v.DOCTYPE_QUOTED,r.q=o));continue;case v.DOCTYPE_QUOTED:r.doctype+=o,o===r.q&&(r.q="",r.state=v.DOCTYPE);continue;case v.DOCTYPE_DTD:r.doctype+=o,"]"===o?r.state=v.DOCTYPE:g(o)&&(r.state=v.DOCTYPE_DTD_QUOTED,r.q=o);continue;case v.DOCTYPE_DTD_QUOTED:r.doctype+=o,o===r.q&&(r.state=v.DOCTYPE_DTD,r.q="");continue;case v.COMMENT:"-"===o?r.state=v.COMMENT_ENDING:r.comment+=o;continue;case v.COMMENT_ENDING:"-"===o?(r.state=v.COMMENT_ENDED,r.comment=T(r.opt,r.comment),r.comment&&A(r,"oncomment",r.comment),r.comment=""):(r.comment+="-"+o,r.state=v.COMMENT);continue;case v.COMMENT_ENDED:">"!==o?(k(r,"Malformed comment"),r.comment+="--"+o,r.state=v.COMMENT):r.state=v.TEXT;continue;case v.CDATA:"]"===o?r.state=v.CDATA_ENDING:r.cdata+=o;continue;case v.CDATA_ENDING:"]"===o?r.state=v.CDATA_ENDING_2:(r.cdata+="]"+o,r.state=v.CDATA);continue;case v.CDATA_ENDING_2:">"===o?(r.cdata&&A(r,"oncdata",r.cdata),A(r,"onclosecdata"),r.cdata="",r.state=v.TEXT):"]"===o?r.cdata+="]":(r.cdata+="]]"+o,r.state=v.CDATA);continue;case v.PROC_INST:"?"===o?r.state=v.PROC_INST_ENDING:m(o)?r.state=v.PROC_INST_BODY:r.procInstName+=o;continue;case v.PROC_INST_BODY:if(!r.procInstBody&&m(o))continue;"?"===o?r.state=v.PROC_INST_ENDING:r.procInstBody+=o;continue;case v.PROC_INST_ENDING:">"===o?(A(r,"onprocessinginstruction",{name:r.procInstName,body:r.procInstBody}),r.procInstName=r.procInstBody="",r.state=v.TEXT):(r.procInstBody+="?"+o,r.state=v.PROC_INST_BODY);continue;case v.OPEN_TAG:w(f,o)?r.tagName+=o:(C(r),">"===o?R(r):"/"===o?r.state=v.OPEN_TAG_SLASH:(m(o)||k(r,"Invalid character in tag name"),r.state=v.ATTRIB));continue;case v.OPEN_TAG_SLASH:">"===o?(R(r,!0),N(r)):(k(r,"Forward-slash in opening tag not followed by >"),r.state=v.ATTRIB);continue;case v.ATTRIB:if(m(o))continue;">"===o?R(r):"/"===o?r.state=v.OPEN_TAG_SLASH:w(h,o)?(r.attribName=o,r.attribValue="",r.state=v.ATTRIB_NAME):k(r,"Invalid attribute name");continue;case v.ATTRIB_NAME:"="===o?r.state=v.ATTRIB_VALUE:">"===o?(k(r,"Attribute without value"),r.attribValue=r.attribName,I(r),R(r)):m(o)?r.state=v.ATTRIB_NAME_SAW_WHITE:w(f,o)?r.attribName+=o:k(r,"Invalid attribute name");continue;case v.ATTRIB_NAME_SAW_WHITE:if("="===o)r.state=v.ATTRIB_VALUE;else{if(m(o))continue;k(r,"Attribute without value"),r.tag.attributes[r.attribName]="",r.attribValue="",A(r,"onattribute",{name:r.attribName,value:""}),r.attribName="",">"===o?R(r):w(h,o)?(r.attribName=o,r.state=v.ATTRIB_NAME):(k(r,"Invalid attribute name"),r.state=v.ATTRIB)}continue;case v.ATTRIB_VALUE:if(m(o))continue;g(o)?(r.q=o,r.state=v.ATTRIB_VALUE_QUOTED):(k(r,"Unquoted attribute value"),r.state=v.ATTRIB_VALUE_UNQUOTED,r.attribValue=o);continue;case v.ATTRIB_VALUE_QUOTED:if(o!==r.q){"&"===o?r.state=v.ATTRIB_VALUE_ENTITY_Q:r.attribValue+=o;continue}I(r),r.q="",r.state=v.ATTRIB_VALUE_CLOSED;continue;case v.ATTRIB_VALUE_CLOSED:m(o)?r.state=v.ATTRIB:">"===o?R(r):"/"===o?r.state=v.OPEN_TAG_SLASH:w(h,o)?(k(r,"No whitespace between attributes"),r.attribName=o,r.attribValue="",r.state=v.ATTRIB_NAME):k(r,"Invalid attribute name");continue;case v.ATTRIB_VALUE_UNQUOTED:if(!y(o)){"&"===o?r.state=v.ATTRIB_VALUE_ENTITY_U:r.attribValue+=o;continue}I(r),">"===o?R(r):r.state=v.ATTRIB;continue;case v.CLOSE_TAG:if(r.tagName)">"===o?N(r):w(f,o)?r.tagName+=o:r.script?(r.script+="</"+r.tagName,r.tagName="",r.state=v.SCRIPT):(m(o)||k(r,"Invalid tagname in closing tag"),r.state=v.CLOSE_TAG_SAW_WHITE);else{if(m(o))continue;b(h,o)?r.script?(r.script+="</"+o,r.state=v.SCRIPT):k(r,"Invalid tagname in closing tag."):r.tagName=o}continue;case v.CLOSE_TAG_SAW_WHITE:if(m(o))continue;">"===o?N(r):k(r,"Invalid characters in closing tag");continue;case v.TEXT_ENTITY:case v.ATTRIB_VALUE_ENTITY_Q:case v.ATTRIB_VALUE_ENTITY_U:var u,E;switch(r.state){case v.TEXT_ENTITY:u=v.TEXT,E="textNode";break;case v.ATTRIB_VALUE_ENTITY_Q:u=v.ATTRIB_VALUE_QUOTED,E="attribValue";break;case v.ATTRIB_VALUE_ENTITY_U:u=v.ATTRIB_VALUE_UNQUOTED,E="attribValue"}";"===o?(r[E]+=O(r),r.entity="",r.state=u):w(r.entity.length?p:d,o)?r.entity+=o:(k(r,"Invalid character in entity name"),r[E]+="&"+r.entity+o,r.entity="",r.state=u);continue;default:throw new Error(r,"Unknown state: "+r.state)}return r.position>=r.bufferCheckPosition&&function(e){for(var r=Math.max(t.MAX_BUFFER_LENGTH,10),i=0,o=0,a=n.length;o<a;o++){var s=e[n[o]].length;if(s>r)switch(n[o]){case"textNode":M(e);break;case"cdata":A(e,"oncdata",e.cdata),e.cdata="";break;case"script":A(e,"onscript",e.script),e.script="";break;default:x(e,"Max buffer length exceeded: "+n[o])}i=Math.max(i,s)}var l=t.MAX_BUFFER_LENGTH-i;e.bufferCheckPosition=l+e.position}(r),r},resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){var t;M(t=this),""!==t.cdata&&(A(t,"oncdata",t.cdata),t.cdata=""),""!==t.script&&(A(t,"onscript",t.script),t.script="")}};try{e=Yc.Stream}catch(t){e=function(){}}var i=t.EVENTS.filter((function(t){return"error"!==t&&"end"!==t}));function o(t,n){if(!(this instanceof o))return new o(t,n);e.apply(this),this._parser=new r(t,n),this.writable=!0,this.readable=!0;var a=this;this._parser.onend=function(){a.emit("end")},this._parser.onerror=function(t){a.emit("error",t),a._parser.error=null},this._decoder=null,i.forEach((function(t){Object.defineProperty(a,"on"+t,{get:function(){return a._parser["on"+t]},set:function(e){if(!e)return a.removeAllListeners(t),a._parser["on"+t]=e,e;a.on(t,e)},enumerable:!0,configurable:!1})}))}o.prototype=Object.create(e.prototype,{constructor:{value:o}}),o.prototype.write=function(t){if("function"==typeof Ua&&"function"==typeof Ua.isBuffer&&Ua.isBuffer(t)){if(!this._decoder){var e=zc().StringDecoder;this._decoder=new e("utf8")}t=this._decoder.write(t)}return this._parser.write(t.toString()),this.emit("data",t),!0},o.prototype.end=function(t){return t&&t.length&&this.write(t),this._parser.end(),!0},o.prototype.on=function(t,n){var r=this;return r._parser["on"+t]||-1===i.indexOf(t)||(r._parser["on"+t]=function(){var e=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);e.splice(0,0,t),r.emit.apply(r,e)}),e.prototype.on.call(r,t,n)};var a="[CDATA[",s="DOCTYPE",l="http://www.w3.org/XML/1998/namespace",c="http://www.w3.org/2000/xmlns/",u={xml:l,xmlns:c},h=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,f=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,d=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,p=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function m(t){return" "===t||"\n"===t||"\r"===t||"\t"===t}function g(t){return'"'===t||"'"===t}function y(t){return">"===t||m(t)}function w(t,e){return t.test(e)}function b(t,e){return!w(t,e)}var v=0;for(var E in t.STATE={BEGIN:v++,BEGIN_WHITESPACE:v++,TEXT:v++,TEXT_ENTITY:v++,OPEN_WAKA:v++,SGML_DECL:v++,SGML_DECL_QUOTED:v++,DOCTYPE:v++,DOCTYPE_QUOTED:v++,DOCTYPE_DTD:v++,DOCTYPE_DTD_QUOTED:v++,COMMENT_STARTING:v++,COMMENT:v++,COMMENT_ENDING:v++,COMMENT_ENDED:v++,CDATA:v++,CDATA_ENDING:v++,CDATA_ENDING_2:v++,PROC_INST:v++,PROC_INST_BODY:v++,PROC_INST_ENDING:v++,OPEN_TAG:v++,OPEN_TAG_SLASH:v++,ATTRIB:v++,ATTRIB_NAME:v++,ATTRIB_NAME_SAW_WHITE:v++,ATTRIB_VALUE:v++,ATTRIB_VALUE_QUOTED:v++,ATTRIB_VALUE_CLOSED:v++,ATTRIB_VALUE_UNQUOTED:v++,ATTRIB_VALUE_ENTITY_Q:v++,ATTRIB_VALUE_ENTITY_U:v++,CLOSE_TAG:v++,CLOSE_TAG_SAW_WHITE:v++,SCRIPT:v++,SCRIPT_ENDING:v++},t.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},t.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(t.ENTITIES).forEach((function(e){var n=t.ENTITIES[e],r="number"==typeof n?String.fromCharCode(n):n;t.ENTITIES[e]=r})),t.STATE)t.STATE[t.STATE[E]]=E;function _(t,e,n){t[e]&&t[e](n)}function A(t,e,n){t.textNode&&M(t),_(t,e,n)}function M(t){t.textNode=T(t.opt,t.textNode),t.textNode&&_(t,"ontext",t.textNode),t.textNode=""}function T(t,e){return t.trim&&(e=e.trim()),t.normalize&&(e=e.replace(/\s+/g," ")),e}function x(t,e){return M(t),t.trackPosition&&(e+="\nLine: "+t.line+"\nColumn: "+t.column+"\nChar: "+t.c),e=new Error(e),t.error=e,_(t,"onerror",e),t}function S(t){return t.sawRoot&&!t.closedRoot&&k(t,"Unclosed root tag"),t.state!==v.BEGIN&&t.state!==v.BEGIN_WHITESPACE&&t.state!==v.TEXT&&x(t,"Unexpected end"),M(t),t.c="",t.closed=!0,_(t,"onend"),r.call(t,t.strict,t.opt),t}function k(t,e){if("object"!=typeof t||!(t instanceof r))throw new Error("bad call to strictFail");t.strict&&x(t,e)}function C(t){t.strict||(t.tagName=t.tagName[t.looseCase]());var e=t.tags[t.tags.length-1]||t,n=t.tag={name:t.tagName,attributes:{}};t.opt.xmlns&&(n.ns=e.ns),t.attribList.length=0,A(t,"onopentagstart",n)}function D(t,e){var n=t.indexOf(":")<0?["",t]:t.split(":"),r=n[0],i=n[1];return e&&"xmlns"===t&&(r="xmlns",i=""),{prefix:r,local:i}}function I(t){if(t.strict||(t.attribName=t.attribName[t.looseCase]()),-1!==t.attribList.indexOf(t.attribName)||t.tag.attributes.hasOwnProperty(t.attribName))t.attribName=t.attribValue="";else{if(t.opt.xmlns){var e=D(t.attribName,!0),n=e.prefix,r=e.local;if("xmlns"===n)if("xml"===r&&t.attribValue!==l)k(t,"xml: prefix must be bound to "+l+"\nActual: "+t.attribValue);else if("xmlns"===r&&t.attribValue!==c)k(t,"xmlns: prefix must be bound to "+c+"\nActual: "+t.attribValue);else{var i=t.tag,o=t.tags[t.tags.length-1]||t;i.ns===o.ns&&(i.ns=Object.create(o.ns)),i.ns[r]=t.attribValue}t.attribList.push([t.attribName,t.attribValue])}else t.tag.attributes[t.attribName]=t.attribValue,A(t,"onattribute",{name:t.attribName,value:t.attribValue});t.attribName=t.attribValue=""}}function R(t,e){if(t.opt.xmlns){var n=t.tag,r=D(t.tagName);n.prefix=r.prefix,n.local=r.local,n.uri=n.ns[r.prefix]||"",n.prefix&&!n.uri&&(k(t,"Unbound namespace prefix: "+JSON.stringify(t.tagName)),n.uri=r.prefix);var i=t.tags[t.tags.length-1]||t;n.ns&&i.ns!==n.ns&&Object.keys(n.ns).forEach((function(e){A(t,"onopennamespace",{prefix:e,uri:n.ns[e]})}));for(var o=0,a=t.attribList.length;o<a;o++){var s=t.attribList[o],l=s[0],c=s[1],u=D(l,!0),h=u.prefix,f=u.local,d=""===h?"":n.ns[h]||"",p={name:l,value:c,prefix:h,local:f,uri:d};h&&"xmlns"!==h&&!d&&(k(t,"Unbound namespace prefix: "+JSON.stringify(h)),p.uri=h),t.tag.attributes[l]=p,A(t,"onattribute",p)}t.attribList.length=0}t.tag.isSelfClosing=!!e,t.sawRoot=!0,t.tags.push(t.tag),A(t,"onopentag",t.tag),e||(t.noscript||"script"!==t.tagName.toLowerCase()?t.state=v.TEXT:t.state=v.SCRIPT,t.tag=null,t.tagName=""),t.attribName=t.attribValue="",t.attribList.length=0}function N(t){if(!t.tagName)return k(t,"Weird empty close tag."),t.textNode+="</>",void(t.state=v.TEXT);if(t.script){if("script"!==t.tagName)return t.script+="</"+t.tagName+">",t.tagName="",void(t.state=v.SCRIPT);A(t,"onscript",t.script),t.script=""}var e=t.tags.length,n=t.tagName;t.strict||(n=n[t.looseCase]());for(var r=n;e--&&t.tags[e].name!==r;)k(t,"Unexpected close tag");if(e<0)return k(t,"Unmatched closing tag: "+t.tagName),t.textNode+="</"+t.tagName+">",void(t.state=v.TEXT);t.tagName=n;for(var i=t.tags.length;i-- >e;){var o=t.tag=t.tags.pop();t.tagName=t.tag.name,A(t,"onclosetag",t.tagName);var a={};for(var s in o.ns)a[s]=o.ns[s];var l=t.tags[t.tags.length-1]||t;t.opt.xmlns&&o.ns!==l.ns&&Object.keys(o.ns).forEach((function(e){var n=o.ns[e];A(t,"onclosenamespace",{prefix:e,uri:n})}))}0===e&&(t.closedRoot=!0),t.tagName=t.attribValue=t.attribName="",t.attribList.length=0,t.state=v.TEXT}function O(t){var e,n=t.entity,r=n.toLowerCase(),i="";return t.ENTITIES[n]?t.ENTITIES[n]:t.ENTITIES[r]?t.ENTITIES[r]:("#"===(n=r).charAt(0)&&("x"===n.charAt(1)?(n=n.slice(2),i=(e=parseInt(n,16)).toString(16)):(n=n.slice(1),i=(e=parseInt(n,10)).toString(10))),n=n.replace(/^0+/,""),isNaN(e)||i.toLowerCase()!==n?(k(t,"Invalid character entity"),"&"+t.entity+";"):String.fromCodePoint(e))}function L(t,e){"<"===e?(t.state=v.OPEN_WAKA,t.startTagPosition=t.position):m(e)||(k(t,"Non-whitespace before first tag."),t.textNode=e,t.state=v.TEXT)}function P(t,e){var n="";return e<t.length&&(n=t.charAt(e)),n}v=t.STATE,String.fromCodePoint||function(){var t=String.fromCharCode,e=Math.floor,n=function(){var n,r,i=[],o=-1,a=arguments.length;if(!a)return"";for(var s="";++o<a;){var l=Number(arguments[o]);if(!isFinite(l)||l<0||l>1114111||e(l)!==l)throw RangeError("Invalid code point: "+l);l<=65535?i.push(l):(n=55296+((l-=65536)>>10),r=l%1024+56320,i.push(n,r)),(o+1===a||i.length>16384)&&(s+=t.apply(null,i),i.length=0)}return s};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:n,configurable:!0,writable:!0}):String.fromCodePoint=n}()}(t)}(ss);var Zc,$c,Qc=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)},Jc=Qc,tu={copyOptions:function(t){var e,n={};for(e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n},ensureFlagExists:function(t,e){t in e&&"boolean"==typeof e[t]||(e[t]=!1)},ensureSpacesExists:function(t){(!("spaces"in t)||"number"!=typeof t.spaces&&"string"!=typeof t.spaces)&&(t.spaces=0)},ensureAlwaysArrayExists:function(t){"alwaysArray"in t&&("boolean"==typeof t.alwaysArray||Jc(t.alwaysArray))||(t.alwaysArray=!1)},ensureKeyExists:function(t,e){t+"Key"in e&&"string"==typeof e[t+"Key"]||(e[t+"Key"]=e.compact?"_"+t:t)},checkFnExists:function(t,e){return t+"Fn"in e}},eu=ss,nu=tu,ru=Qc;function iu(t){var e=Number(t);if(!isNaN(e))return e;var n=t.toLowerCase();return"true"===n||"false"!==n&&t}function ou(t,e){var n;if(Zc.compact){if(!$c[Zc[t+"Key"]]&&(ru(Zc.alwaysArray)?-1!==Zc.alwaysArray.indexOf(Zc[t+"Key"]):Zc.alwaysArray)&&($c[Zc[t+"Key"]]=[]),$c[Zc[t+"Key"]]&&!ru($c[Zc[t+"Key"]])&&($c[Zc[t+"Key"]]=[$c[Zc[t+"Key"]]]),t+"Fn"in Zc&&"string"==typeof e&&(e=Zc[t+"Fn"](e,$c)),"instruction"===t&&("instructionFn"in Zc||"instructionNameFn"in Zc))for(n in e)if(e.hasOwnProperty(n))if("instructionFn"in Zc)e[n]=Zc.instructionFn(e[n],n,$c);else{var r=e[n];delete e[n],e[Zc.instructionNameFn(n,r,$c)]=r}ru($c[Zc[t+"Key"]])?$c[Zc[t+"Key"]].push(e):$c[Zc[t+"Key"]]=e}else{$c[Zc.elementsKey]||($c[Zc.elementsKey]=[]);var i={};if(i[Zc.typeKey]=t,"instruction"===t){for(n in e)if(e.hasOwnProperty(n))break;i[Zc.nameKey]="instructionNameFn"in Zc?Zc.instructionNameFn(n,e,$c):n,Zc.instructionHasAttributes?(i[Zc.attributesKey]=e[n][Zc.attributesKey],"instructionFn"in Zc&&(i[Zc.attributesKey]=Zc.instructionFn(i[Zc.attributesKey],n,$c))):("instructionFn"in Zc&&(e[n]=Zc.instructionFn(e[n],n,$c)),i[Zc.instructionKey]=e[n])}else t+"Fn"in Zc&&(e=Zc[t+"Fn"](e,$c)),i[Zc[t+"Key"]]=e;Zc.addParent&&(i[Zc.parentKey]=$c),$c[Zc.elementsKey].push(i)}}function au(t){var e;if("attributesFn"in Zc&&t&&(t=Zc.attributesFn(t,$c)),(Zc.trim||"attributeValueFn"in Zc||"attributeNameFn"in Zc||Zc.nativeTypeAttributes)&&t)for(e in t)if(t.hasOwnProperty(e)&&(Zc.trim&&(t[e]=t[e].trim()),Zc.nativeTypeAttributes&&(t[e]=iu(t[e])),"attributeValueFn"in Zc&&(t[e]=Zc.attributeValueFn(t[e],e,$c)),"attributeNameFn"in Zc)){var n=t[e];delete t[e],t[Zc.attributeNameFn(e,t[e],$c)]=n}return t}function su(t){var e={};if(t.body&&("xml"===t.name.toLowerCase()||Zc.instructionHasAttributes)){for(var n,r=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g;null!==(n=r.exec(t.body));)e[n[1]]=n[2]||n[3]||n[4];e=au(e)}if("xml"===t.name.toLowerCase()){if(Zc.ignoreDeclaration)return;$c[Zc.declarationKey]={},Object.keys(e).length&&($c[Zc.declarationKey][Zc.attributesKey]=e),Zc.addParent&&($c[Zc.declarationKey][Zc.parentKey]=$c)}else{if(Zc.ignoreInstruction)return;Zc.trim&&(t.body=t.body.trim());var i={};Zc.instructionHasAttributes&&Object.keys(e).length?(i[t.name]={},i[t.name][Zc.attributesKey]=e):i[t.name]=t.body,ou("instruction",i)}}function lu(t,e){var n;if("object"==typeof t&&(e=t.attributes,t=t.name),e=au(e),"elementNameFn"in Zc&&(t=Zc.elementNameFn(t,$c)),Zc.compact){var r;if(n={},!Zc.ignoreAttributes&&e&&Object.keys(e).length)for(r in n[Zc.attributesKey]={},e)e.hasOwnProperty(r)&&(n[Zc.attributesKey][r]=e[r]);!(t in $c)&&(ru(Zc.alwaysArray)?-1!==Zc.alwaysArray.indexOf(t):Zc.alwaysArray)&&($c[t]=[]),$c[t]&&!ru($c[t])&&($c[t]=[$c[t]]),ru($c[t])?$c[t].push(n):$c[t]=n}else $c[Zc.elementsKey]||($c[Zc.elementsKey]=[]),(n={})[Zc.typeKey]="element",n[Zc.nameKey]=t,!Zc.ignoreAttributes&&e&&Object.keys(e).length&&(n[Zc.attributesKey]=e),Zc.alwaysChildren&&(n[Zc.elementsKey]=[]),$c[Zc.elementsKey].push(n);n[Zc.parentKey]=$c,$c=n}function cu(t){Zc.ignoreText||(t.trim()||Zc.captureSpacesBetweenElements)&&(Zc.trim&&(t=t.trim()),Zc.nativeType&&(t=iu(t)),Zc.sanitize&&(t=t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")),ou("text",t))}function uu(t){Zc.ignoreComment||(Zc.trim&&(t=t.trim()),ou("comment",t))}function hu(t){var e=$c[Zc.parentKey];Zc.addParent||delete $c[Zc.parentKey],$c=e}function fu(t){Zc.ignoreCdata||(Zc.trim&&(t=t.trim()),ou("cdata",t))}function du(t){Zc.ignoreDoctype||(t=t.replace(/^ /,""),Zc.trim&&(t=t.trim()),ou("doctype",t))}function pu(t){t.note=t}var mu=function(t,e){var n=eu.parser(!0,{}),r={};if($c=r,Zc=function(t){return Zc=nu.copyOptions(t),nu.ensureFlagExists("ignoreDeclaration",Zc),nu.ensureFlagExists("ignoreInstruction",Zc),nu.ensureFlagExists("ignoreAttributes",Zc),nu.ensureFlagExists("ignoreText",Zc),nu.ensureFlagExists("ignoreComment",Zc),nu.ensureFlagExists("ignoreCdata",Zc),nu.ensureFlagExists("ignoreDoctype",Zc),nu.ensureFlagExists("compact",Zc),nu.ensureFlagExists("alwaysChildren",Zc),nu.ensureFlagExists("addParent",Zc),nu.ensureFlagExists("trim",Zc),nu.ensureFlagExists("nativeType",Zc),nu.ensureFlagExists("nativeTypeAttributes",Zc),nu.ensureFlagExists("sanitize",Zc),nu.ensureFlagExists("instructionHasAttributes",Zc),nu.ensureFlagExists("captureSpacesBetweenElements",Zc),nu.ensureAlwaysArrayExists(Zc),nu.ensureKeyExists("declaration",Zc),nu.ensureKeyExists("instruction",Zc),nu.ensureKeyExists("attributes",Zc),nu.ensureKeyExists("text",Zc),nu.ensureKeyExists("comment",Zc),nu.ensureKeyExists("cdata",Zc),nu.ensureKeyExists("doctype",Zc),nu.ensureKeyExists("type",Zc),nu.ensureKeyExists("name",Zc),nu.ensureKeyExists("elements",Zc),nu.ensureKeyExists("parent",Zc),nu.checkFnExists("doctype",Zc),nu.checkFnExists("instruction",Zc),nu.checkFnExists("cdata",Zc),nu.checkFnExists("comment",Zc),nu.checkFnExists("text",Zc),nu.checkFnExists("instructionName",Zc),nu.checkFnExists("elementName",Zc),nu.checkFnExists("attributeName",Zc),nu.checkFnExists("attributeValue",Zc),nu.checkFnExists("attributes",Zc),Zc}(e),n.opt={strictEntities:!0},n.onopentag=lu,n.ontext=cu,n.oncomment=uu,n.onclosetag=hu,n.onerror=pu,n.oncdata=fu,n.ondoctype=du,n.onprocessinginstruction=su,n.write(t).close(),r[Zc.elementsKey]){var i=r[Zc.elementsKey];delete r[Zc.elementsKey],r[Zc.elementsKey]=i,delete r.text}return r};var gu=mu;const yu=t=>{switch(t.type){case void 0:case"element":const e=new bu(t.name,t.attributes),n=t.elements||[];for(const t of n){const n=yu(t);void 0!==n&&e.push(n)}return e;case"text":return t.text;default:return}};class wu extends es{}class bu extends Ja{static fromXmlString(t){const e=gu(t,{compact:!1});return yu(e)}constructor(t,e){super(t),e&&this.root.push(new wu(e))}push(t){this.root.push(t)}}class vu extends Ja{constructor(t){super(""),this._attr=t}prepForXml(t){return{_attr:this._attr}}}class Eu extends Ja{constructor(t,e){super(t),e&&(this.root=e.root)}}const _u=t=>{if(isNaN(t))throw new Error(`Invalid value '${t}' specified. Must be an integer.`);return Math.floor(t)},Au=t=>{const e=_u(t);if(e<0)throw new Error(`Invalid value '${t}' specified. Must be a positive integer.`);return e},Mu=(t,e)=>{const n=2*e;if(t.length!==n||isNaN(Number(`0x${t}`)))throw new Error(`Invalid hex value '${t}'. Expected ${n} digit hex value`);return t},Tu=t=>Mu(t,1),xu=t=>{const e=t.slice(-2),n=t.substring(0,t.length-2);return`${Number(n)}${e}`},Su=t=>{const e=xu(t);if(parseFloat(e)<0)throw new Error(`Invalid value '${e}' specified. Expected a positive number.`);return e},ku=t=>{if("auto"===t)return t;const e="#"===t.charAt(0)?t.substring(1):t;return Mu(e,3)},Cu=t=>"string"==typeof t?xu(t):_u(t),Du=t=>"string"==typeof t?Su(t):Au(t),Iu=t=>"string"==typeof t?Su(t):Au(t),Ru=Au,Nu=Au;class Ou extends Ja{constructor(t,e=!0){super(t),!0!==e&&this.root.push(new rs({val:e}))}}class Lu extends Ja{constructor(t,e){super(t),this.root.push(new rs({val:Du(e)}))}}class Pu extends Ja{constructor(t,e){super(t),this.root.push(new rs({val:e}))}}const Fu=(t,e)=>new Hu({name:t,attributes:{value:{key:"w:val",value:e}}});class Bu extends Ja{constructor(t,e){super(t),this.root.push(new rs({val:e}))}}class Uu extends Ja{constructor(t,e){super(t),this.root.push(new rs({val:e}))}}class ju extends Ja{constructor(t,e){super(t),this.root.push(e)}}class Hu extends Ja{constructor({name:t,attributes:e,children:n}){super(t),e&&this.root.push(new ns(e)),n&&this.root.push(...n)}}const zu="start",qu="left";class Wu extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{val:"w:val"})}}class Gu extends Ja{constructor(t){super("w:jc"),this.root.push(new Wu({val:t}))}}class Ku extends Ja{constructor(t,{color:e,size:n,space:r,style:i}){super(t),this.root.push(new Yu({style:i,color:void 0===e?void 0:ku(e),size:void 0===n?void 0:Ru(n),space:void 0===r?void 0:Nu(r)}))}}class Yu extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{style:"w:val",color:"w:color",size:"w:sz",space:"w:space"})}}const Vu="single";class Xu extends ts{constructor(t){super("w:pBdr"),t.top&&this.root.push(new Ku("w:top",t.top)),t.bottom&&this.root.push(new Ku("w:bottom",t.bottom)),t.left&&this.root.push(new Ku("w:left",t.left)),t.right&&this.root.push(new Ku("w:right",t.right))}}class Zu extends Ja{constructor(){super("w:pBdr");const t=new Ku("w:bottom",{color:"auto",space:1,style:Vu,size:6});this.root.push(t)}}class $u extends Ja{constructor({start:t,end:e,left:n,right:r,hanging:i,firstLine:o}){super("w:ind"),this.root.push(new ns({start:{key:"w:start",value:void 0===t?void 0:Cu(t)},end:{key:"w:end",value:void 0===e?void 0:Cu(e)},left:{key:"w:left",value:void 0===n?void 0:Cu(n)},right:{key:"w:right",value:void 0===r?void 0:Cu(r)},hanging:{key:"w:hanging",value:void 0===i?void 0:Iu(i)},firstLine:{key:"w:firstLine",value:void 0===o?void 0:Iu(o)}}))}}let Qu=class extends Ja{constructor(){super("w:br")}};class Ju extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{type:"w:fldCharType",dirty:"w:dirty"})}}class th extends Ja{constructor(t){super("w:fldChar"),this.root.push(new Ju({type:"begin",dirty:t}))}}class eh extends Ja{constructor(t){super("w:fldChar"),this.root.push(new Ju({type:"separate",dirty:t}))}}class nh extends Ja{constructor(t){super("w:fldChar"),this.root.push(new Ju({type:"end",dirty:t}))}}const rh="preserve";class ih extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{space:"xml:space"})}}class oh extends Ja{constructor(){super("w:instrText"),this.root.push(new ih({space:rh})),this.root.push("PAGE")}}class ah extends Ja{constructor(){super("w:instrText"),this.root.push(new ih({space:rh})),this.root.push("NUMPAGES")}}class sh extends Ja{constructor(){super("w:instrText"),this.root.push(new ih({space:rh})),this.root.push("SECTIONPAGES")}}class lh extends Ja{constructor(){super("w:instrText"),this.root.push(new ih({space:rh})),this.root.push("SECTION")}}class ch extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{fill:"w:fill",color:"w:color",type:"w:val"})}}class uh extends Ja{constructor({fill:t,color:e,type:n}){super("w:shd"),this.root.push(new ch({fill:void 0===t?void 0:ku(t),color:void 0===e?void 0:ku(e),type:n}))}}class hh extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{id:"w:id",author:"w:author",date:"w:date"})}}class fh extends Ja{constructor(t){super("w:em"),this.root.push(new rs({val:t}))}}class dh extends fh{constructor(t="dot"){super(t)}}class ph extends Ja{constructor(t){super("w:spacing"),this.root.push(new rs({val:Cu(t)}))}}class mh extends Ja{constructor(t){super("w:color"),this.root.push(new rs({val:ku(t)}))}}class gh extends Ja{constructor(t){super("w:highlight"),this.root.push(new rs({val:t}))}}class yh extends Ja{constructor(t){super("w:highlightCs"),this.root.push(new rs({val:t}))}}class wh extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{ascii:"w:ascii",cs:"w:cs",eastAsia:"w:eastAsia",hAnsi:"w:hAnsi",hint:"w:hint"})}}class bh extends Ja{constructor(t,e){if(super("w:rFonts"),"string"==typeof t){const n=t;this.root.push(new wh({ascii:n,cs:n,eastAsia:n,hAnsi:n,hint:e}))}else{const e=t;this.root.push(new wh(e))}}}let vh=class extends Ja{constructor(t){super("w:vertAlign"),this.root.push(new rs({val:t}))}};class Eh extends vh{constructor(){super("superscript")}}class _h extends vh{constructor(){super("subscript")}}const Ah="single";class Mh extends Ja{constructor(t=Ah,e){super("w:u"),this.root.push(new rs({val:t,color:void 0===e?void 0:ku(e)}))}}class Th extends ts{constructor(t){var e,n;if(super("w:rPr"),!t)return;void 0!==t.noProof&&this.push(new Ou("w:noProof",t.noProof)),void 0!==t.bold&&this.push(new Ou("w:b",t.bold)),(void 0===t.boldComplexScript&&void 0!==t.bold||t.boldComplexScript)&&this.push(new Ou("w:bCs",null!=(e=t.boldComplexScript)?e:t.bold)),void 0!==t.italics&&this.push(new Ou("w:i",t.italics)),(void 0===t.italicsComplexScript&&void 0!==t.italics||t.italicsComplexScript)&&this.push(new Ou("w:iCs",null!=(n=t.italicsComplexScript)?n:t.italics)),t.underline&&this.push(new Mh(t.underline.type,t.underline.color)),t.effect&&this.push(new Pu("w:effect",t.effect)),t.emphasisMark&&this.push(new dh(t.emphasisMark.type)),t.color&&this.push(new mh(t.color)),t.kern&&this.push(new Lu("w:kern",t.kern)),t.position&&this.push(new Pu("w:position",t.position)),void 0!==t.size&&this.push(new Lu("w:sz",t.size));const r=void 0===t.sizeComplexScript||!0===t.sizeComplexScript?t.size:t.sizeComplexScript;r&&this.push(new Lu("w:szCs",r)),void 0!==t.rightToLeft&&this.push(new Ou("w:rtl",t.rightToLeft)),void 0!==t.smallCaps?this.push(new Ou("w:smallCaps",t.smallCaps)):void 0!==t.allCaps&&this.push(new Ou("w:caps",t.allCaps)),void 0!==t.strike&&this.push(new Ou("w:strike",t.strike)),void 0!==t.doubleStrike&&this.push(new Ou("w:dstrike",t.doubleStrike)),t.subScript&&this.push(new _h),t.superScript&&this.push(new Eh),t.style&&this.push(new Pu("w:rStyle",t.style)),t.font&&("string"==typeof t.font?this.push(new bh(t.font)):"name"in t.font?this.push(new bh(t.font.name,t.font.hint)):this.push(new bh(t.font))),t.highlight&&this.push(new gh(t.highlight));const i=void 0===t.highlightComplexScript||!0===t.highlightComplexScript?t.highlight:t.highlightComplexScript;i&&this.push(new yh(i)),t.characterSpacing&&this.push(new ph(t.characterSpacing)),void 0!==t.emboss&&this.push(new Ou("w:emboss",t.emboss)),void 0!==t.imprint&&this.push(new Ou("w:imprint",t.imprint)),t.shading&&this.push(new uh(t.shading)),t.revision&&this.push(new xh(t.revision)),t.border&&this.push(new Ku("w:bdr",t.border)),void 0!==t.snapToGrid&&this.push(new Ou("w:snapToGrid",t.snapToGrid)),t.vanish&&this.push(new Ou("w:vanish",t.vanish)),t.specVanish&&this.push(new Ou("w:specVanish",t.vanish)),void 0!==t.scale&&this.push(new Bu("w:w",t.scale)),t.language&&this.push((t=>new Hu({name:"w:lang",attributes:{value:{key:"w:val",value:t.value},eastAsia:{key:"w:eastAsia",value:t.eastAsia},bidirectional:{key:"w:bidi",value:t.bidirectional}}}))(t.language)),t.math&&this.push(new Ou("w:oMath",t.math))}push(t){this.root.push(t)}}class xh extends Ja{constructor(t){super("w:rPrChange"),this.root.push(new hh({id:t.id,author:t.author,date:t.date})),this.addChildElement(new Th(t))}}class Sh extends Ja{constructor(t){var e;return super("w:t"),"string"==typeof t?(this.root.push(new ih({space:rh})),this.root.push(t),this):(this.root.push(new ih({space:null!=(e=t.space)?e:"default"})),this.root.push(t.text),this)}}class kh extends Ja{constructor(t){if(super("w:r"),Xa(this,"properties"),this.properties=new Th(t),this.root.push(this.properties),t.break)for(let e=0;e<t.break;e++)this.root.push(new Qu);if(t.children)for(const e of t.children)if("string"!=typeof e)this.root.push(e);else switch(e){case"CURRENT":this.root.push(new th),this.root.push(new oh),this.root.push(new eh),this.root.push(new nh);break;case"TOTAL_PAGES":this.root.push(new th),this.root.push(new ah),this.root.push(new eh),this.root.push(new nh);break;case"TOTAL_PAGES_IN_SECTION":this.root.push(new th),this.root.push(new sh),this.root.push(new eh),this.root.push(new nh);break;case"SECTION":this.root.push(new th),this.root.push(new lh),this.root.push(new eh),this.root.push(new nh);break;default:this.root.push(new Sh(e))}else t.text&&this.root.push(new Sh(t.text))}}class Ch extends kh{constructor(t){if("string"==typeof t)return super({}),this.root.push(new Sh(t)),this;super(t)}}const Dh=t=>Math.floor(t/25.4*72*20),Ih=t=>Math.floor(72*t*20),Rh=(t=0)=>{let e=t;return()=>++e},Nh=()=>((t=21)=>{let e="",n=t;for(;n--;)e+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return e})().toLowerCase(),Oh=t=>((t,e=21)=>(n=e)=>{let r="",i=n;for(;i--;)r+=t[Math.random()*t.length|0];return r})("1234567890abcdef",t)();class Lh extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{x:"x",y:"y"})}}class Ph extends Ja{constructor(){super("wp:simplePos"),this.root.push(new Lh({x:0,y:0}))}}class Fh extends Ja{constructor(t){super("wp:align"),this.root.push(t)}}class Bh extends Ja{constructor(t){super("wp:posOffset"),this.root.push(t.toString())}}class Uh extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{relativeFrom:"relativeFrom"})}}class jh extends Ja{constructor(t){if(super("wp:positionH"),this.root.push(new Uh({relativeFrom:t.relative||"page"})),t.align)this.root.push(new Fh(t.align));else{if(void 0===t.offset)throw new Error("There is no configuration provided for floating position (Align or offset)");this.root.push(new Bh(t.offset))}}}class Hh extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{relativeFrom:"relativeFrom"})}}class zh extends Ja{constructor(t){if(super("wp:positionV"),this.root.push(new Hh({relativeFrom:t.relative||"page"})),t.align)this.root.push(new Fh(t.align));else{if(void 0===t.offset)throw new Error("There is no configuration provided for floating position (Align or offset)");this.root.push(new Bh(t.offset))}}}class qh extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{uri:"uri"})}}class Wh extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{embed:"r:embed",cstate:"cstate"})}}class Gh extends Ja{constructor(t){super("a:blip"),this.root.push(new Wh({embed:`rId{${t.fileName}}`,cstate:"none"}))}}class Kh extends Ja{constructor(){super("a:srcRect")}}class Yh extends Ja{constructor(){super("a:fillRect")}}class Vh extends Ja{constructor(){super("a:stretch"),this.root.push(new Yh)}}class Xh extends Ja{constructor(t){super("pic:blipFill"),this.root.push(new Gh(t)),this.root.push(new Kh),this.root.push(new Vh)}}class Zh extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{noChangeAspect:"noChangeAspect",noChangeArrowheads:"noChangeArrowheads"})}}class $h extends Ja{constructor(){super("a:picLocks"),this.root.push(new Zh({noChangeAspect:1,noChangeArrowheads:1}))}}class Qh extends Ja{constructor(){super("pic:cNvPicPr"),this.root.push(new $h)}}const Jh=(t,e)=>new Hu({name:"a:hlinkClick",attributes:Va(Ya({},e?{xmlns:{key:"xmlns:a",value:"http://schemas.openxmlformats.org/drawingml/2006/main"}}:{}),{id:{key:"r:id",value:`rId${t}`}})});class tf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{id:"id",name:"name",descr:"descr"})}}class ef extends Ja{constructor(){super("pic:cNvPr"),this.root.push(new tf({id:0,name:"",descr:""}))}prepForXml(t){for(let e=t.stack.length-1;e>=0;e--){const n=t.stack[e];if(n instanceof sd){this.root.push(Jh(n.linkId,!1));break}}return super.prepForXml(t)}}class nf extends Ja{constructor(){super("pic:nvPicPr"),this.root.push(new ef),this.root.push(new Qh)}}class rf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{xmlns:"xmlns:pic"})}}class of extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{cx:"cx",cy:"cy"})}}class af extends Ja{constructor(t,e){super("a:ext"),Xa(this,"attributes"),this.attributes=new of({cx:t,cy:e}),this.root.push(this.attributes)}}class sf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{x:"x",y:"y"})}}class lf extends Ja{constructor(){super("a:off"),this.root.push(new sf({x:0,y:0}))}}class cf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{flipVertical:"flipV",flipHorizontal:"flipH",rotation:"rot"})}}class uf extends Ja{constructor(t){var e,n;super("a:xfrm"),Xa(this,"extents"),this.root.push(new cf({flipVertical:null==(e=t.flip)?void 0:e.vertical,flipHorizontal:null==(n=t.flip)?void 0:n.horizontal,rotation:t.rotation})),this.extents=new af(t.emus.x,t.emus.y),this.root.push(new lf),this.root.push(this.extents)}}const hf=()=>new Hu({name:"a:noFill"}),ff=t=>new Hu({name:"a:schemeClr",attributes:{value:{key:"val",value:t.value}}}),df=t=>new Hu({name:"a:srgbClr",attributes:{value:{key:"val",value:t.value}}}),pf=t=>new Hu({name:"a:solidFill",children:["rgb"===t.type?df(t):ff(t)]});class mf extends Ja{constructor(){super("a:avLst")}}class gf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{prst:"prst"})}}class yf extends Ja{constructor(){super("a:prstGeom"),this.root.push(new gf({prst:"rect"})),this.root.push(new mf)}}class wf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{bwMode:"bwMode"})}}class bf extends Ja{constructor({outline:t,transform:e}){var n;super("pic:spPr"),Xa(this,"form"),this.root.push(new wf({bwMode:"auto"})),this.form=new uf(e),this.root.push(this.form),this.root.push(new yf),t&&(this.root.push(hf()),this.root.push(new Hu({name:"a:ln",attributes:{width:{key:"w",value:(n=t).width},cap:{key:"cap",value:n.cap},compoundLine:{key:"cmpd",value:n.compoundLine},align:{key:"algn",value:n.align}},children:["noFill"===n.type?hf():"rgb"===n.solidFillType?pf({type:"rgb",value:n.value}):pf({type:"scheme",value:n.value})]})))}}class vf extends Ja{constructor({mediaData:t,transform:e,outline:n}){super("pic:pic"),this.root.push(new rf({xmlns:"http://schemas.openxmlformats.org/drawingml/2006/picture"})),this.root.push(new nf),this.root.push(new Xh(t)),this.root.push(new bf({transform:e,outline:n}))}}class Ef extends Ja{constructor({mediaData:t,transform:e,outline:n}){super("a:graphicData"),Xa(this,"pic"),this.root.push(new qh({uri:"http://schemas.openxmlformats.org/drawingml/2006/picture"})),this.pic=new vf({mediaData:t,transform:e,outline:n}),this.root.push(this.pic)}}class _f extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{a:"xmlns:a"})}}class Af extends Ja{constructor({mediaData:t,transform:e,outline:n}){super("a:graphic"),Xa(this,"data"),this.root.push(new _f({a:"http://schemas.openxmlformats.org/drawingml/2006/main"})),this.data=new Ef({mediaData:t,transform:e,outline:n}),this.root.push(this.data)}}class Mf extends Ja{constructor(){super("wp:wrapNone")}}class Tf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{distT:"distT",distB:"distB",distL:"distL",distR:"distR",wrapText:"wrapText"})}}class xf extends Ja{constructor(t,e={top:0,bottom:0,left:0,right:0}){super("wp:wrapSquare"),this.root.push(new Tf({wrapText:t.side||"bothSides",distT:e.top,distB:e.bottom,distL:e.left,distR:e.right}))}}class Sf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{distT:"distT",distB:"distB"})}}class kf extends Ja{constructor(t={top:0,bottom:0}){super("wp:wrapTight"),this.root.push(new Sf({distT:t.top,distB:t.bottom}))}}class Cf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{distT:"distT",distB:"distB"})}}class Df extends Ja{constructor(t={top:0,bottom:0}){super("wp:wrapTopAndBottom"),this.root.push(new Cf({distT:t.top,distB:t.bottom}))}}class If extends Ja{constructor({name:t,description:e,title:n}={name:"",description:"",title:""}){super("wp:docPr"),Xa(this,"docPropertiesUniqueNumericId",Rh()),this.root.push(new ns({id:{key:"id",value:this.docPropertiesUniqueNumericId()},name:{key:"name",value:t},description:{key:"descr",value:e},title:{key:"title",value:n}}))}prepForXml(t){for(let e=t.stack.length-1;e>=0;e--){const n=t.stack[e];if(n instanceof sd){this.root.push(Jh(n.linkId,!0));break}}return super.prepForXml(t)}}const Rf=({top:t,right:e,bottom:n,left:r})=>new Hu({name:"wp:effectExtent",attributes:{top:{key:"t",value:t},right:{key:"r",value:e},bottom:{key:"b",value:n},left:{key:"l",value:r}}});class Nf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{cx:"cx",cy:"cy"})}}class Of extends Ja{constructor(t,e){super("wp:extent"),Xa(this,"attributes"),this.attributes=new Nf({cx:t,cy:e}),this.root.push(this.attributes)}}class Lf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{xmlns:"xmlns:a",noChangeAspect:"noChangeAspect"})}}class Pf extends Ja{constructor(){super("a:graphicFrameLocks"),this.root.push(new Lf({xmlns:"http://schemas.openxmlformats.org/drawingml/2006/main",noChangeAspect:1}))}}class Ff extends Ja{constructor(){super("wp:cNvGraphicFramePr"),this.root.push(new Pf)}}class Bf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{distT:"distT",distB:"distB",distL:"distL",distR:"distR",allowOverlap:"allowOverlap",behindDoc:"behindDoc",layoutInCell:"layoutInCell",locked:"locked",relativeHeight:"relativeHeight",simplePos:"simplePos"})}}class Uf extends Ja{constructor({mediaData:t,transform:e,drawingOptions:n}){super("wp:anchor");const r=Ya({allowOverlap:!0,behindDocument:!1,lockAnchor:!1,layoutInCell:!0,verticalPosition:{},horizontalPosition:{}},n.floating);if(this.root.push(new Bf({distT:r.margins&&r.margins.top||0,distB:r.margins&&r.margins.bottom||0,distL:r.margins&&r.margins.left||0,distR:r.margins&&r.margins.right||0,simplePos:"0",allowOverlap:!0===r.allowOverlap?"1":"0",behindDoc:!0===r.behindDocument?"1":"0",locked:!0===r.lockAnchor?"1":"0",layoutInCell:!0===r.layoutInCell?"1":"0",relativeHeight:r.zIndex?r.zIndex:e.emus.y})),this.root.push(new Ph),this.root.push(new jh(r.horizontalPosition)),this.root.push(new zh(r.verticalPosition)),this.root.push(new Of(e.emus.x,e.emus.y)),this.root.push(Rf({top:0,right:0,bottom:0,left:0})),void 0!==n.floating&&void 0!==n.floating.wrap)switch(n.floating.wrap.type){case 1:this.root.push(new xf(n.floating.wrap,n.floating.margins));break;case 2:this.root.push(new kf(n.floating.margins));break;case 3:this.root.push(new Df(n.floating.margins));break;default:this.root.push(new Mf)}else this.root.push(new Mf);this.root.push(new If(n.docProperties)),this.root.push(new Ff),this.root.push(new Af({mediaData:t,transform:e,outline:n.outline}))}}class jf extends Ja{constructor(t,e={}){super("w:drawing"),e.floating?this.root.push(new Uf({mediaData:t,transform:t.transformation,drawingOptions:e})):this.root.push((({mediaData:t,transform:e,docProperties:n,outline:r})=>{var i,o,a,s;return new Hu({name:"wp:inline",attributes:{distanceTop:{key:"distT",value:0},distanceBottom:{key:"distB",value:0},distanceLeft:{key:"distL",value:0},distanceRight:{key:"distR",value:0}},children:[new Of(e.emus.x,e.emus.y),Rf(r?{top:2*(null!=(i=r.width)?i:9525),right:2*(null!=(o=r.width)?o:9525),bottom:2*(null!=(a=r.width)?a:9525),left:2*(null!=(s=r.width)?s:9525)}:{top:0,right:0,bottom:0,left:0}),new If(n),new Ff,new Af({mediaData:t,transform:e,outline:r})]})})({mediaData:t,transform:t.transformation,docProperties:e.docProperties,outline:e.outline}))}}class Hf extends kh{constructor(t){super({}),Xa(this,"key",`${Nh()}.png`),Xa(this,"imageData");const e="string"==typeof t.data?this.convertDataURIToBinary(t.data):t.data;this.imageData={stream:e,fileName:this.key,transformation:{pixels:{x:Math.round(t.transformation.width),y:Math.round(t.transformation.height)},emus:{x:Math.round(9525*t.transformation.width),y:Math.round(9525*t.transformation.height)},flip:t.transformation.flip,rotation:t.transformation.rotation?6e4*t.transformation.rotation:void 0}};const n=new jf(this.imageData,{floating:t.floating,docProperties:t.altText,outline:t.outline});this.root.push(n)}prepForXml(t){return t.file.Media.addImage(this.key,this.imageData),super.prepForXml(t)}convertDataURIToBinary(t){if("function"==typeof atob){const e=";base64,",n=t.indexOf(e),r=-1===n?0:n+e.length;return new Uint8Array(atob(t.substring(r)).split("").map((t=>t.charCodeAt(0))))}return new(require("buffer").Buffer)(t,"base64")}}class zf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{id:"w:id",initials:"w:initials",author:"w:author",date:"w:date"})}}class qf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{"xmlns:cx":"xmlns:cx","xmlns:cx1":"xmlns:cx1","xmlns:cx2":"xmlns:cx2","xmlns:cx3":"xmlns:cx3","xmlns:cx4":"xmlns:cx4","xmlns:cx5":"xmlns:cx5","xmlns:cx6":"xmlns:cx6","xmlns:cx7":"xmlns:cx7","xmlns:cx8":"xmlns:cx8","xmlns:mc":"xmlns:mc","xmlns:aink":"xmlns:aink","xmlns:am3d":"xmlns:am3d","xmlns:o":"xmlns:o","xmlns:r":"xmlns:r","xmlns:m":"xmlns:m","xmlns:v":"xmlns:v","xmlns:wp14":"xmlns:wp14","xmlns:wp":"xmlns:wp","xmlns:w10":"xmlns:w10","xmlns:w":"xmlns:w","xmlns:w14":"xmlns:w14","xmlns:w15":"xmlns:w15","xmlns:w16cex":"xmlns:w16cex","xmlns:w16cid":"xmlns:w16cid","xmlns:w16":"xmlns:w16","xmlns:w16sdtdh":"xmlns:w16sdtdh","xmlns:w16se":"xmlns:w16se","xmlns:wpg":"xmlns:wpg","xmlns:wpi":"xmlns:wpi","xmlns:wne":"xmlns:wne","xmlns:wps":"xmlns:wps"})}}class Wf extends Ja{constructor({id:t,initials:e,author:n,date:r=new Date,children:i}){super("w:comment"),this.root.push(new zf({id:t,initials:e,author:n,date:r.toISOString()}));for(const t of i)this.root.push(t)}}class Gf extends Ja{constructor({children:t}){super("w:comments"),this.root.push(new qf({"xmlns:cx":"http://schemas.microsoft.com/office/drawing/2014/chartex","xmlns:cx1":"http://schemas.microsoft.com/office/drawing/2015/9/8/chartex","xmlns:cx2":"http://schemas.microsoft.com/office/drawing/2015/10/21/chartex","xmlns:cx3":"http://schemas.microsoft.com/office/drawing/2016/5/9/chartex","xmlns:cx4":"http://schemas.microsoft.com/office/drawing/2016/5/10/chartex","xmlns:cx5":"http://schemas.microsoft.com/office/drawing/2016/5/11/chartex","xmlns:cx6":"http://schemas.microsoft.com/office/drawing/2016/5/12/chartex","xmlns:cx7":"http://schemas.microsoft.com/office/drawing/2016/5/13/chartex","xmlns:cx8":"http://schemas.microsoft.com/office/drawing/2016/5/14/chartex","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","xmlns:aink":"http://schemas.microsoft.com/office/drawing/2016/ink","xmlns:am3d":"http://schemas.microsoft.com/office/drawing/2017/model3d","xmlns:o":"urn:schemas-microsoft-com:office:office","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:m":"http://schemas.openxmlformats.org/officeDocument/2006/math","xmlns:v":"urn:schemas-microsoft-com:vml","xmlns:wp14":"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing","xmlns:wp":"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing","xmlns:w10":"urn:schemas-microsoft-com:office:word","xmlns:w":"http://schemas.openxmlformats.org/wordprocessingml/2006/main","xmlns:w14":"http://schemas.microsoft.com/office/word/2010/wordml","xmlns:w15":"http://schemas.microsoft.com/office/word/2012/wordml","xmlns:w16cex":"http://schemas.microsoft.com/office/word/2018/wordml/cex","xmlns:w16cid":"http://schemas.microsoft.com/office/word/2016/wordml/cid","xmlns:w16":"http://schemas.microsoft.com/office/word/2018/wordml","xmlns:w16sdtdh":"http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash","xmlns:w16se":"http://schemas.microsoft.com/office/word/2015/wordml/symex","xmlns:wpg":"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup","xmlns:wpi":"http://schemas.microsoft.com/office/word/2010/wordprocessingInk","xmlns:wne":"http://schemas.microsoft.com/office/word/2006/wordml","xmlns:wps":"http://schemas.microsoft.com/office/word/2010/wordprocessingShape"}));for(const e of t)this.root.push(new Wf(e))}}class Kf extends Ja{constructor(){super("w:pageBreakBefore")}}const Yf="auto";class Vf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{after:"w:after",before:"w:before",line:"w:line",lineRule:"w:lineRule"})}}class Xf extends Ja{constructor(t){super("w:spacing"),this.root.push(new Vf(t))}}let Zf=class extends Ja{constructor(t){super("w:pStyle"),this.root.push(new rs({val:t}))}};class $f extends Ja{constructor(t){super("w:tabs");for(const e of t)this.root.push(new Jf(e))}}class Qf extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{val:"w:val",pos:"w:pos",leader:"w:leader"})}}class Jf extends Ja{constructor({type:t,position:e,leader:n}){super("w:tab"),this.root.push(new Qf({val:t,pos:e,leader:n}))}}class td extends Ja{constructor(t,e){super("w:numPr"),this.root.push(new ed(e)),this.root.push(new nd(t))}}class ed extends Ja{constructor(t){if(super("w:ilvl"),t>9)throw new Error("Level cannot be greater than 9. Read more here: https://answers.microsoft.com/en-us/msoffice/forum/all/does-word-support-more-than-9-list-levels/d130fdcd-1781-446d-8c84-c6c79124e4d7");this.root.push(new rs({val:t}))}}class nd extends Ja{constructor(t){super("w:numId"),this.root.push(new rs({val:"string"==typeof t?`{${t}}`:t}))}}class rd extends Ja{constructor(){super(...arguments),Xa(this,"fileChild",Symbol())}}class id extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{id:"Id",type:"Type",target:"Target",targetMode:"TargetMode"})}}class od extends Ja{constructor(t,e,n,r){super("Relationship"),this.root.push(new id({id:t,type:e,target:n,targetMode:r}))}}class ad extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{id:"r:id",history:"w:history",anchor:"w:anchor"})}}class sd extends Ja{constructor(t,e,n){super("w:hyperlink"),Xa(this,"linkId"),this.linkId=e;const r={history:1,anchor:n||void 0,id:n?void 0:`rId${this.linkId}`},i=new ad(r);this.root.push(i),t.forEach((t=>{this.root.push(t)}))}}class ld extends sd{constructor(t){super(t.children,Nh(),t.anchor)}}class cd extends Ja{constructor(t){super("w:externalHyperlink"),this.options=t}}class ud extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{id:"w:id",name:"w:name"})}}class hd extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{id:"w:id"})}}class fd{constructor(t){Xa(this,"bookmarkUniqueNumericId",Rh()),Xa(this,"start"),Xa(this,"children"),Xa(this,"end");const e=this.bookmarkUniqueNumericId();this.start=new dd(t.id,e),this.children=t.children,this.end=new pd(e)}}class dd extends Ja{constructor(t,e){super("w:bookmarkStart");const n=new ud({name:t,id:e});this.root.push(n)}}class pd extends Ja{constructor(t){super("w:bookmarkEnd");const e=new hd({id:t});this.root.push(e)}}class md extends Ja{constructor(t){super("w:outlineLvl"),this.level=t,this.root.push(new rs({val:t}))}}class gd extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{verticalAlign:"w:val"})}}class yd extends Ja{constructor(t){super("w:vAlign"),this.root.push(new gd({verticalAlign:t}))}}const wd="default";class bd extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{type:"w:type",id:"r:id"})}}class vd extends Ja{constructor(t,e){super(t),this.root.push(new bd({type:e.type||wd,id:`rId${e.id}`}))}}class Ed extends Ja{constructor({space:t,count:e,separate:n,equalWidth:r,children:i}){super("w:cols"),this.root.push(new ns({space:{key:"w:space",value:void 0===t?void 0:Iu(t)},count:{key:"w:num",value:void 0===e?void 0:_u(e)},separate:{key:"w:sep",value:n},equalWidth:{key:"w:equalWidth",value:r}})),!r&&i&&i.forEach((t=>this.addChildElement(t)))}}class _d extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{type:"w:type",linePitch:"w:linePitch",charSpace:"w:charSpace"})}}class Ad extends Ja{constructor(t,e,n){super("w:docGrid"),this.root.push(new _d({type:n,linePitch:_u(t),charSpace:e?_u(e):void 0}))}}class Md extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{display:"w:display",offsetFrom:"w:offsetFrom",zOrder:"w:zOrder"})}}class Td extends ts{constructor(t){if(super("w:pgBorders"),!t)return this;t.pageBorders?this.root.push(new Md({display:t.pageBorders.display,offsetFrom:t.pageBorders.offsetFrom,zOrder:t.pageBorders.zOrder})):this.root.push(new Md({})),t.pageBorderTop&&this.root.push(new Ku("w:top",t.pageBorderTop)),t.pageBorderLeft&&this.root.push(new Ku("w:left",t.pageBorderLeft)),t.pageBorderBottom&&this.root.push(new Ku("w:bottom",t.pageBorderBottom)),t.pageBorderRight&&this.root.push(new Ku("w:right",t.pageBorderRight))}}class xd extends Ja{constructor(t,e,n,r,i,o,a){super("w:pgMar"),this.root.push(new ns({top:{key:"w:top",value:Cu(t)},right:{key:"w:right",value:Iu(e)},bottom:{key:"w:bottom",value:Cu(n)},left:{key:"w:left",value:Iu(r)},header:{key:"w:header",value:Iu(i)},footer:{key:"w:footer",value:Iu(o)},gutter:{key:"w:gutter",value:Iu(a)}}))}}class Sd extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{start:"w:start",formatType:"w:fmt",separator:"w:chapSep"})}}class kd extends Ja{constructor({start:t,formatType:e,separator:n}){super("w:pgNumType"),this.root.push(new Sd({start:void 0===t?void 0:_u(t),formatType:e,separator:n}))}}class Cd extends Ja{constructor(t,e,n){super("w:pgSz");const r="landscape"===n,i=Iu(t),o=Iu(e);this.root.push(new ns({width:{key:"w:w",value:r?o:i},height:{key:"w:h",value:r?i:o},orientation:{key:"w:orient",value:n}}))}}class Dd extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{val:"w:val"})}}class Id extends Ja{constructor(t){super("w:textDirection"),this.root.push(new Dd({val:t}))}}class Rd extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{val:"w:val"})}}class Nd extends Ja{constructor(t){super("w:type"),this.root.push(new Rd({val:t}))}}class Od extends Ja{constructor({page:{size:{width:t=11906,height:e=16838,orientation:n="portrait"}={},margin:{top:r=1440,right:i=1440,bottom:o=1440,left:a=1440,header:s=708,footer:l=708,gutter:c=0}={},pageNumbers:u={},borders:h,textDirection:f}={},grid:{linePitch:d=360,charSpace:p,type:m}={},headerWrapperGroup:g={},footerWrapperGroup:y={},lineNumbers:w,titlePage:b,verticalAlign:v,column:E,type:_}={}){super("w:sectPr"),this.addHeaderFooterGroup("w:headerReference",g),this.addHeaderFooterGroup("w:footerReference",y),_&&this.root.push(new Nd(_)),this.root.push(new Cd(t,e,n)),this.root.push(new xd(r,i,o,a,s,l,c)),h&&this.root.push(new Td(h)),w&&this.root.push((({countBy:t,start:e,restart:n,distance:r})=>new Hu({name:"w:lnNumType",attributes:{countBy:{key:"w:countBy",value:void 0===t?void 0:_u(t)},start:{key:"w:start",value:void 0===e?void 0:_u(e)},restart:{key:"w:restart",value:n},distance:{key:"w:distance",value:void 0===r?void 0:Iu(r)}}}))(w)),this.root.push(new kd(u)),E&&this.root.push(new Ed(E)),v&&this.root.push(new yd(v)),void 0!==b&&this.root.push(new Ou("w:titlePg",b)),f&&this.root.push(new Id(f)),this.root.push(new Ad(d,p,m))}addHeaderFooterGroup(t,e){e.default&&this.root.push(new vd(t,{type:wd,id:e.default.View.ReferenceId})),e.first&&this.root.push(new vd(t,{type:"first",id:e.first.View.ReferenceId})),e.even&&this.root.push(new vd(t,{type:"even",id:e.even.View.ReferenceId}))}}class Ld extends Ja{constructor(){super("w:body"),Xa(this,"sections",[])}addSection(t){const e=this.sections.pop();this.root.push(this.createSectionParagraph(e)),this.sections.push(new Od(t))}prepForXml(t){return 1===this.sections.length&&(this.root.splice(0,1),this.root.push(this.sections.pop())),super.prepForXml(t)}push(t){this.root.push(t)}createSectionParagraph(t){const e=new Kd({}),n=new Gd({});return n.push(t),e.addChildElement(n),e}}class Pd extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable",cp:"xmlns:cp",dc:"xmlns:dc",dcterms:"xmlns:dcterms",dcmitype:"xmlns:dcmitype",xsi:"xmlns:xsi",type:"xsi:type",cx:"xmlns:cx",cx1:"xmlns:cx1",cx2:"xmlns:cx2",cx3:"xmlns:cx3",cx4:"xmlns:cx4",cx5:"xmlns:cx5",cx6:"xmlns:cx6",cx7:"xmlns:cx7",cx8:"xmlns:cx8",aink:"xmlns:aink",am3d:"xmlns:am3d",w16cex:"xmlns:w16cex",w16cid:"xmlns:w16cid",w16:"xmlns:w16",w16sdtdh:"xmlns:w16sdtdh",w16se:"xmlns:w16se"})}}class Fd extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{color:"w:color",themeColor:"w:themeColor",themeShade:"w:themeShade",themeTint:"w:themeTint"})}}class Bd extends Ja{constructor(t){super("w:background"),this.root.push(new Fd({color:void 0===t.color?void 0:ku(t.color),themeColor:t.themeColor,themeShade:void 0===t.themeShade?void 0:Tu(t.themeShade),themeTint:void 0===t.themeTint?void 0:Tu(t.themeTint)}))}}class Ud extends Ja{constructor(t){super("w:document"),Xa(this,"body"),this.root.push(new Pd({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",cx:"http://schemas.microsoft.com/office/drawing/2014/chartex",cx1:"http://schemas.microsoft.com/office/drawing/2015/9/8/chartex",cx2:"http://schemas.microsoft.com/office/drawing/2015/10/21/chartex",cx3:"http://schemas.microsoft.com/office/drawing/2016/5/9/chartex",cx4:"http://schemas.microsoft.com/office/drawing/2016/5/10/chartex",cx5:"http://schemas.microsoft.com/office/drawing/2016/5/11/chartex",cx6:"http://schemas.microsoft.com/office/drawing/2016/5/12/chartex",cx7:"http://schemas.microsoft.com/office/drawing/2016/5/13/chartex",cx8:"http://schemas.microsoft.com/office/drawing/2016/5/14/chartex",aink:"http://schemas.microsoft.com/office/drawing/2016/ink",am3d:"http://schemas.microsoft.com/office/drawing/2017/model3d",w16cex:"http://schemas.microsoft.com/office/word/2018/wordml/cex",w16cid:"http://schemas.microsoft.com/office/word/2016/wordml/cid",w16:"http://schemas.microsoft.com/office/word/2018/wordml",w16sdtdh:"http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash",w16se:"http://schemas.microsoft.com/office/word/2015/wordml/symex",Ignorable:"w14 w15 wp14"})),this.body=new Ld,t.background&&this.root.push(new Bd(t.background)),this.root.push(this.body)}add(t){return this.body.push(t),this}get Body(){return this.body}}class jd extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{xmlns:"xmlns"})}}class Hd extends Ja{constructor(){super("Relationships"),this.root.push(new jd({xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"}))}createRelationship(t,e,n,r){const i=new od(`rId${t}`,e,n,r);return this.root.push(i),i}get RelationshipCount(){return this.root.length-1}}class zd{constructor(t){Xa(this,"document"),Xa(this,"relationships"),this.document=new Ud(t),this.relationships=new Hd}get View(){return this.document}get Relationships(){return this.relationships}}class qd extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{val:"w:val"})}}class Wd extends Ja{constructor(){super("w:wordWrap"),this.root.push(new qd({val:0}))}}class Gd extends ts{constructor(t){var e,n;if(super("w:pPr"),Xa(this,"numberingReferences",[]),!t)return this;t.heading&&this.push(new Zf(t.heading)),t.bullet&&this.push(new Zf("ListParagraph")),t.numbering&&(t.style||t.heading||t.numbering.custom||this.push(new Zf("ListParagraph"))),t.style&&this.push(new Zf(t.style)),void 0!==t.keepNext&&this.push(new Ou("w:keepNext",t.keepNext)),void 0!==t.keepLines&&this.push(new Ou("w:keepLines",t.keepLines)),t.pageBreakBefore&&this.push(new Kf),t.frame&&this.push((t=>{var e,n;return new Hu({name:"w:framePr",attributes:{anchorLock:{key:"w:anchorLock",value:t.anchorLock},dropCap:{key:"w:dropCap",value:t.dropCap},width:{key:"w:w",value:t.width},height:{key:"w:h",value:t.height},x:{key:"w:x",value:t.position?t.position.x:void 0},y:{key:"w:y",value:t.position?t.position.y:void 0},anchorHorizontal:{key:"w:hAnchor",value:t.anchor.horizontal},anchorVertical:{key:"w:vAnchor",value:t.anchor.vertical},spaceHorizontal:{key:"w:hSpace",value:null==(e=t.space)?void 0:e.horizontal},spaceVertical:{key:"w:vSpace",value:null==(n=t.space)?void 0:n.vertical},rule:{key:"w:hRule",value:t.rule},alignmentX:{key:"w:xAlign",value:t.alignment?t.alignment.x:void 0},alignmentY:{key:"w:yAlign",value:t.alignment?t.alignment.y:void 0},lines:{key:"w:lines",value:t.lines},wrap:{key:"w:wrap",value:t.wrap}}})})(t.frame)),void 0!==t.widowControl&&this.push(new Ou("w:widowControl",t.widowControl)),t.bullet&&this.push(new td(1,t.bullet.level)),t.numbering&&(this.numberingReferences.push({reference:t.numbering.reference,instance:null!=(e=t.numbering.instance)?e:0}),this.push(new td(`${t.numbering.reference}-${null!=(n=t.numbering.instance)?n:0}`,t.numbering.level))),t.border&&this.push(new Xu(t.border)),t.thematicBreak&&this.push(new Zu),t.shading&&this.push(new uh(t.shading)),t.wordWrap&&this.push(new Wd),t.overflowPunctuation&&this.push(new Ou("w:overflowPunct",t.overflowPunctuation));const r=[...void 0!==t.rightTabStop?[{type:"right",position:t.rightTabStop}]:[],...t.tabStops?t.tabStops:[],...void 0!==t.leftTabStop?[{type:"left",position:t.leftTabStop}]:[]];r.length>0&&this.push(new $f(r)),void 0!==t.bidirectional&&this.push(new Ou("w:bidi",t.bidirectional)),t.spacing&&this.push(new Xf(t.spacing)),t.indent&&this.push(new $u(t.indent)),void 0!==t.contextualSpacing&&this.push(new Ou("w:contextualSpacing",t.contextualSpacing)),t.alignment&&this.push(new Gu(t.alignment)),void 0!==t.outlineLevel&&this.push(new md(t.outlineLevel)),void 0!==t.suppressLineNumbers&&this.push(new Ou("w:suppressLineNumbers",t.suppressLineNumbers)),void 0!==t.autoSpaceEastAsianText&&this.push(new Ou("w:autoSpaceDN",t.autoSpaceEastAsianText)),t.run&&this.push(new Th(t.run))}push(t){this.root.push(t)}prepForXml(t){if(t.viewWrapper instanceof zd)for(const e of this.numberingReferences)t.file.Numbering.createConcreteNumberingInstance(e.reference,e.instance);return super.prepForXml(t)}}class Kd extends rd{constructor(t){if(super("w:p"),Xa(this,"properties"),"string"==typeof t)return this.properties=new Gd({}),this.root.push(this.properties),this.root.push(new Ch(t)),this;if(this.properties=new Gd(t),this.root.push(this.properties),t.text&&this.root.push(new Ch(t.text)),t.children)for(const e of t.children)if(e instanceof fd){this.root.push(e.start);for(const t of e.children)this.root.push(t);this.root.push(e.end)}else this.root.push(e)}prepForXml(t){for(const e of this.root)if(e instanceof cd){const n=this.root.indexOf(e),r=new sd(e.options.children,Nh());t.viewWrapper.Relationships.createRelationship(r.linkId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",e.options.link,"External"),this.root[n]=r}return super.prepForXml(t)}addRunToFront(t){return this.root.splice(1,0,t),this}}class Yd extends Ja{constructor(t){super("w:tblGrid");for(const e of t)this.root.push(new Vd(e))}}class Vd extends Ja{constructor(t){super("w:gridCol"),void 0!==t&&this.root.push(new ns({width:{key:"w:w",value:Iu(t)}}))}}class Xd extends ts{constructor(t,{marginUnitType:e=Zd.DXA,top:n,left:r,bottom:i,right:o}){super(t),void 0!==n&&this.root.push(new $d("w:top",{type:e,size:n})),void 0!==r&&this.root.push(new $d("w:left",{type:e,size:r})),void 0!==i&&this.root.push(new $d("w:bottom",{type:e,size:i})),void 0!==o&&this.root.push(new $d("w:right",{type:e,size:o}))}}const Zd={AUTO:"auto",DXA:"dxa",NIL:"nil",PERCENTAGE:"pct"};class $d extends Ja{constructor(t,{type:e=Zd.AUTO,size:n}){super(t);let r=n;var i;e===Zd.PERCENTAGE&&"number"==typeof n&&(r=`${n}%`),this.root.push(new ns({type:{key:"w:type",value:e},size:{key:"w:w",value:(i=r,"number"==typeof i?_u(i):"%"===i.slice(-1)?(t=>{const e=t.substring(0,t.length-1);return`${Number(e)}%`})(i):xu(i))}}))}}class Qd extends ts{constructor(t){super("w:tcBorders"),t.top&&this.root.push(new Ku("w:top",t.top)),t.start&&this.root.push(new Ku("w:start",t.start)),t.left&&this.root.push(new Ku("w:left",t.left)),t.bottom&&this.root.push(new Ku("w:bottom",t.bottom)),t.end&&this.root.push(new Ku("w:end",t.end)),t.right&&this.root.push(new Ku("w:right",t.right))}}class Jd extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{val:"w:val"})}}class tp extends Ja{constructor(t){super("w:gridSpan"),this.root.push(new Jd({val:_u(t)}))}}class ep extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{val:"w:val"})}}class np extends Ja{constructor(t){super("w:vMerge"),this.root.push(new ep({val:t}))}}class rp extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{val:"w:val"})}}class ip extends Ja{constructor(t){super("w:textDirection"),this.root.push(new rp({val:t}))}}class op extends ts{constructor(t){super("w:tcPr"),t.width&&this.root.push(new $d("w:tcW",t.width)),t.columnSpan&&this.root.push(new tp(t.columnSpan)),t.verticalMerge?this.root.push(new np(t.verticalMerge)):t.rowSpan&&t.rowSpan>1&&this.root.push(new np("restart")),t.borders&&this.root.push(new Qd(t.borders)),t.shading&&this.root.push(new uh(t.shading)),t.margins&&this.root.push(new Xd("w:tcMar",t.margins)),t.textDirection&&this.root.push(new ip(t.textDirection)),t.verticalAlign&&this.root.push(new yd(t.verticalAlign))}}class ap extends Ja{constructor(t){super("w:tc"),this.options=t,this.root.push(new op(t));for(const e of t.children)this.root.push(e)}prepForXml(t){return this.root[this.root.length-1]instanceof Kd||this.root.push(new Kd({})),super.prepForXml(t)}}const sp={style:"none",size:0,color:"auto"},lp={style:Vu,size:4,color:"auto"};class cp extends Ja{constructor(t){super("w:tblBorders"),t.top?this.root.push(new Ku("w:top",t.top)):this.root.push(new Ku("w:top",lp)),t.left?this.root.push(new Ku("w:left",t.left)):this.root.push(new Ku("w:left",lp)),t.bottom?this.root.push(new Ku("w:bottom",t.bottom)):this.root.push(new Ku("w:bottom",lp)),t.right?this.root.push(new Ku("w:right",t.right)):this.root.push(new Ku("w:right",lp)),t.insideHorizontal?this.root.push(new Ku("w:insideH",t.insideHorizontal)):this.root.push(new Ku("w:insideH",lp)),t.insideVertical?this.root.push(new Ku("w:insideV",t.insideVertical)):this.root.push(new Ku("w:insideV",lp))}}Xa(cp,"NONE",{top:sp,bottom:sp,left:sp,right:sp,insideHorizontal:sp,insideVertical:sp});class up extends Ja{constructor({horizontalAnchor:t,verticalAnchor:e,absoluteHorizontalPosition:n,relativeHorizontalPosition:r,absoluteVerticalPosition:i,relativeVerticalPosition:o,bottomFromText:a,topFromText:s,leftFromText:l,rightFromText:c,overlap:u}){super("w:tblpPr"),this.root.push(new ns({leftFromText:{key:"w:leftFromText",value:void 0===l?void 0:Iu(l)},rightFromText:{key:"w:rightFromText",value:void 0===c?void 0:Iu(c)},topFromText:{key:"w:topFromText",value:void 0===s?void 0:Iu(s)},bottomFromText:{key:"w:bottomFromText",value:void 0===a?void 0:Iu(a)},absoluteHorizontalPosition:{key:"w:tblpX",value:void 0===n?void 0:Cu(n)},absoluteVerticalPosition:{key:"w:tblpY",value:void 0===i?void 0:Cu(i)},horizontalAnchor:{key:"w:horzAnchor",value:void 0===t?void 0:t},relativeHorizontalPosition:{key:"w:tblpXSpec",value:r},relativeVerticalPosition:{key:"w:tblpYSpec",value:o},verticalAnchor:{key:"w:vertAnchor",value:e}})),u&&this.root.push(new Uu("w:tblOverlap",u))}}class hp extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{type:"w:type"})}}class fp extends Ja{constructor(t){super("w:tblLayout"),this.root.push(new hp({type:t}))}}class dp extends ts{constructor(t){super("w:tblPr"),t.style&&this.root.push(new Pu("w:tblStyle",t.style)),t.float&&this.root.push(new up(t.float)),void 0!==t.visuallyRightToLeft&&this.root.push(new Ou("w:bidiVisual",t.visuallyRightToLeft)),t.width&&this.root.push(new $d("w:tblW",t.width)),t.alignment&&this.root.push(new Gu(t.alignment)),t.indent&&this.root.push(new $d("w:tblInd",t.indent)),t.borders&&this.root.push(new cp(t.borders)),t.shading&&this.root.push(new uh(t.shading)),t.layout&&this.root.push(new fp(t.layout)),t.cellMargin&&this.root.push(new Xd("w:tblCellMar",t.cellMargin))}}class pp extends rd{constructor({rows:t,width:e,columnWidths:n=Array(Math.max(...t.map((t=>t.CellCount)))).fill(100),margins:r,indent:i,float:o,layout:a,style:s,borders:l,alignment:c,visuallyRightToLeft:u}){super("w:tbl"),this.root.push(new dp({borders:null!=l?l:{},width:null!=e?e:{size:100},indent:i,float:o,layout:a,style:s,alignment:c,cellMargin:r,visuallyRightToLeft:u})),this.root.push(new Yd(n));for(const e of t)this.root.push(e);t.forEach(((e,n)=>{if(n===t.length-1)return;let r=0;e.cells.forEach((e=>{if(e.options.rowSpan&&e.options.rowSpan>1){const i=new ap({rowSpan:e.options.rowSpan-1,columnSpan:e.options.columnSpan,borders:e.options.borders,children:[],verticalMerge:"continue"});t[n+1].addCellToColumnIndex(i,r)}r+=e.options.columnSpan||1}))}))}}class mp extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{value:"w:val",rule:"w:hRule"})}}class gp extends Ja{constructor(t,e){super("w:trHeight"),this.root.push(new mp({value:Iu(t),rule:e}))}}class yp extends ts{constructor(t){super("w:trPr"),void 0!==t.cantSplit&&this.root.push(new Ou("w:cantSplit",t.cantSplit)),void 0!==t.tableHeader&&this.root.push(new Ou("w:tblHeader",t.tableHeader)),t.height&&this.root.push(new gp(t.height.value,t.height.rule))}}class wp extends Ja{constructor(t){super("w:tr"),this.options=t,this.root.push(new yp(t));for(const e of t.children)this.root.push(e)}get CellCount(){return this.options.children.length}get cells(){return this.root.filter((t=>t instanceof ap))}addCellToIndex(t,e){this.root.splice(e+1,0,t)}addCellToColumnIndex(t,e){const n=this.columnIndexToRootIndex(e,!0);this.addCellToIndex(t,n-1)}rootIndexToColumnIndex(t){if(t<1||t>=this.root.length)throw new Error("cell 'rootIndex' should between 1 to "+(this.root.length-1));let e=0;for(let n=1;n<t;n++)e+=this.root[n].options.columnSpan||1;return e}columnIndexToRootIndex(t,e=!1){if(t<0)throw new Error("cell 'columnIndex' should not less than zero");let n=0,r=1;for(;n<=t;){if(r>=this.root.length){if(e)return this.root.length;throw new Error("cell 'columnIndex' should not great than "+(n-1))}const t=this.root[r];r+=1,n+=t&&t.options.columnSpan||1}return r-1}}class bp extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{xmlns:"xmlns",vt:"xmlns:vt"})}}class vp extends Ja{constructor(){super("Properties"),this.root.push(new bp({xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"}))}}class Ep extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{xmlns:"xmlns"})}}class _p extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{contentType:"ContentType",extension:"Extension"})}}class Ap extends Ja{constructor(t,e){super("Default"),this.root.push(new _p({contentType:t,extension:e}))}}class Mp extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{contentType:"ContentType",partName:"PartName"})}}class Tp extends Ja{constructor(t,e){super("Override"),this.root.push(new Mp({contentType:t,partName:e}))}}class xp extends Ja{constructor(){super("Types"),this.root.push(new Ep({xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"})),this.root.push(new Ap("image/png","png")),this.root.push(new Ap("image/jpeg","jpeg")),this.root.push(new Ap("image/jpeg","jpg")),this.root.push(new Ap("image/bmp","bmp")),this.root.push(new Ap("image/gif","gif")),this.root.push(new Ap("application/vnd.openxmlformats-package.relationships+xml","rels")),this.root.push(new Ap("application/xml","xml")),this.root.push(new Ap("application/vnd.openxmlformats-officedocument.obfuscatedFont","odttf")),this.root.push(new Tp("application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml","/word/document.xml")),this.root.push(new Tp("application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml","/word/styles.xml")),this.root.push(new Tp("application/vnd.openxmlformats-package.core-properties+xml","/docProps/core.xml")),this.root.push(new Tp("application/vnd.openxmlformats-officedocument.custom-properties+xml","/docProps/custom.xml")),this.root.push(new Tp("application/vnd.openxmlformats-officedocument.extended-properties+xml","/docProps/app.xml")),this.root.push(new Tp("application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml","/word/numbering.xml")),this.root.push(new Tp("application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml","/word/footnotes.xml")),this.root.push(new Tp("application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml","/word/settings.xml")),this.root.push(new Tp("application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml","/word/comments.xml")),this.root.push(new Tp("application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml","/word/fontTable.xml"))}addFooter(t){this.root.push(new Tp("application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml",`/word/footer${t}.xml`))}addHeader(t){this.root.push(new Tp("application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml",`/word/header${t}.xml`))}}class Sp extends Ja{constructor(t){super("cp:coreProperties"),this.root.push(new Pd({cp:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",xsi:"http://www.w3.org/2001/XMLSchema-instance"})),t.title&&this.root.push(new ju("dc:title",t.title)),t.subject&&this.root.push(new ju("dc:subject",t.subject)),t.creator&&this.root.push(new ju("dc:creator",t.creator)),t.keywords&&this.root.push(new ju("cp:keywords",t.keywords)),t.description&&this.root.push(new ju("dc:description",t.description)),t.lastModifiedBy&&this.root.push(new ju("cp:lastModifiedBy",t.lastModifiedBy)),t.revision&&this.root.push(new ju("cp:revision",String(t.revision))),this.root.push(new kp("dcterms:created")),this.root.push(new kp("dcterms:modified"))}}class kp extends Ja{constructor(t){super(t),this.root.push(new Pd({type:"dcterms:W3CDTF"})),this.root.push((new Date).toISOString())}}class Cp extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{xmlns:"xmlns",vt:"xmlns:vt"})}}class Dp extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{fmtid:"fmtid",pid:"pid",name:"name"})}}class Ip extends Ja{constructor(t,e){super("property"),this.root.push(new Dp({fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:t.toString(),name:e.name})),this.root.push(new Rp(e.value))}}class Rp extends Ja{constructor(t){super("vt:lpwstr"),this.root.push(t)}}class Np extends Ja{constructor(t){super("Properties"),Xa(this,"nextId"),Xa(this,"properties",[]),this.root.push(new Cp({xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"})),this.nextId=2;for(const e of t)this.addCustomProperty(e)}prepForXml(t){return this.properties.forEach((t=>this.root.push(t))),super.prepForXml(t)}addCustomProperty(t){this.properties.push(new Ip(this.nextId++,t))}}class Op extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",cp:"xmlns:cp",dc:"xmlns:dc",dcterms:"xmlns:dcterms",dcmitype:"xmlns:dcmitype",xsi:"xmlns:xsi",type:"xsi:type"})}}let Lp=class extends Eu{constructor(t,e){super("w:ftr",e),Xa(this,"refId"),this.refId=t,e||this.root.push(new Op({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape"}))}get ReferenceId(){return this.refId}add(t){this.root.push(t)}};class Pp{constructor(t,e,n){Xa(this,"footer"),Xa(this,"relationships"),this.media=t,this.footer=new Lp(e,n),this.relationships=new Hd}add(t){this.footer.add(t)}addChildElement(t){this.footer.addChildElement(t)}get View(){return this.footer}get Relationships(){return this.relationships}get Media(){return this.media}}class Fp extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{type:"w:type",id:"w:id"})}}class Bp extends Ja{constructor(){super("w:footnoteRef")}}class Up extends kh{constructor(){super({style:"FootnoteReference"}),this.root.push(new Bp)}}class jp extends Ja{constructor(t){super("w:footnote"),this.root.push(new Fp({type:t.type,id:t.id}));for(let e=0;e<t.children.length;e++){const n=t.children[e];0===e&&n.addRunToFront(new Up),this.root.push(n)}}}class Hp extends Ja{constructor(){super("w:continuationSeparator")}}class zp extends kh{constructor(){super({}),this.root.push(new Hp)}}class qp extends Ja{constructor(){super("w:separator")}}class Wp extends kh{constructor(){super({}),this.root.push(new qp)}}class Gp extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable"})}}class Kp extends Ja{constructor(){super("w:footnotes"),this.root.push(new Gp({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"}));const t=new jp({id:-1,type:"separator",children:[new Kd({spacing:{after:0,line:240,lineRule:Yf},children:[new Wp]})]});this.root.push(t);const e=new jp({id:0,type:"continuationSeparator",children:[new Kd({spacing:{after:0,line:240,lineRule:Yf},children:[new zp]})]});this.root.push(e)}createFootNote(t,e){const n=new jp({id:t,children:e});this.root.push(n)}}class Yp{constructor(){Xa(this,"footnotess"),Xa(this,"relationships"),this.footnotess=new Kp,this.relationships=new Hd}get View(){return this.footnotess}get Relationships(){return this.relationships}}class Vp extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",cp:"xmlns:cp",dc:"xmlns:dc",dcterms:"xmlns:dcterms",dcmitype:"xmlns:dcmitype",xsi:"xmlns:xsi",type:"xsi:type",cx:"xmlns:cx",cx1:"xmlns:cx1",cx2:"xmlns:cx2",cx3:"xmlns:cx3",cx4:"xmlns:cx4",cx5:"xmlns:cx5",cx6:"xmlns:cx6",cx7:"xmlns:cx7",cx8:"xmlns:cx8",w16cid:"xmlns:w16cid",w16se:"xmlns:w16se"})}}let Xp=class extends Eu{constructor(t,e){super("w:hdr",e),Xa(this,"refId"),this.refId=t,e||this.root.push(new Vp({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",cx:"http://schemas.microsoft.com/office/drawing/2014/chartex",cx1:"http://schemas.microsoft.com/office/drawing/2015/9/8/chartex",cx2:"http://schemas.microsoft.com/office/drawing/2015/10/21/chartex",cx3:"http://schemas.microsoft.com/office/drawing/2016/5/9/chartex",cx4:"http://schemas.microsoft.com/office/drawing/2016/5/10/chartex",cx5:"http://schemas.microsoft.com/office/drawing/2016/5/11/chartex",cx6:"http://schemas.microsoft.com/office/drawing/2016/5/12/chartex",cx7:"http://schemas.microsoft.com/office/drawing/2016/5/13/chartex",cx8:"http://schemas.microsoft.com/office/drawing/2016/5/14/chartex",w16cid:"http://schemas.microsoft.com/office/word/2016/wordml/cid",w16se:"http://schemas.microsoft.com/office/word/2015/wordml/symex"}))}get ReferenceId(){return this.refId}add(t){this.root.push(t)}};class Zp{constructor(t,e,n){Xa(this,"header"),Xa(this,"relationships"),this.media=t,this.header=new Xp(e,n),this.relationships=new Hd}add(t){return this.header.add(t),this}addChildElement(t){this.header.addChildElement(t)}get View(){return this.header}get Relationships(){return this.relationships}get Media(){return this.media}}class $p{constructor(){Xa(this,"map"),this.map=new Map}addImage(t,e){this.map.set(t,e)}get Array(){return Array.from(this.map.values())}}const Qp="bullet";class Jp extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{ilvl:"w:ilvl",tentative:"w15:tentative"})}}class tm extends Ja{constructor(t){super("w:numFmt"),this.root.push(new rs({val:t}))}}class em extends Ja{constructor(t){super("w:lvlText"),this.root.push(new rs({val:t}))}}class nm extends Ja{constructor(t){super("w:lvlJc"),this.root.push(new rs({val:t}))}}class rm extends Ja{constructor(t){super("w:suff"),this.root.push(new rs({val:t}))}}class im extends Ja{constructor(){super("w:isLgl")}}class om extends Ja{constructor({level:t,format:e,text:n,alignment:r=zu,start:i=1,style:o,suffix:a,isLegalNumberingStyle:s}){if(super("w:lvl"),Xa(this,"paragraphProperties"),Xa(this,"runProperties"),this.root.push(new Bu("w:start",_u(i))),e&&this.root.push(new tm(e)),a&&this.root.push(new rm(a)),s&&this.root.push(new im),n&&this.root.push(new em(n)),this.root.push(new nm(r)),this.paragraphProperties=new Gd(o&&o.paragraph),this.runProperties=new Th(o&&o.run),this.root.push(this.paragraphProperties),this.root.push(this.runProperties),t>9)throw new Error("Level cannot be greater than 9. Read more here: https://answers.microsoft.com/en-us/msoffice/forum/all/does-word-support-more-than-9-list-levels/d130fdcd-1781-446d-8c84-c6c79124e4d7");this.root.push(new Jp({ilvl:_u(t),tentative:1}))}}class am extends om{}class sm extends Ja{constructor(t){super("w:multiLevelType"),this.root.push(new rs({val:t}))}}class lm extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{abstractNumId:"w:abstractNumId",restartNumberingAfterBreak:"w15:restartNumberingAfterBreak"})}}class cm extends Ja{constructor(t,e){super("w:abstractNum"),Xa(this,"id"),this.root.push(new lm({abstractNumId:_u(t),restartNumberingAfterBreak:0})),this.root.push(new sm("hybridMultilevel")),this.id=t;for(const t of e)this.root.push(new am(t))}}class um extends Ja{constructor(t){super("w:abstractNumId"),this.root.push(new rs({val:t}))}}class hm extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{numId:"w:numId"})}}class fm extends Ja{constructor(t){if(super("w:num"),Xa(this,"numId"),Xa(this,"reference"),Xa(this,"instance"),this.numId=t.numId,this.reference=t.reference,this.instance=t.instance,this.root.push(new hm({numId:_u(t.numId)})),this.root.push(new um(_u(t.abstractNumId))),t.overrideLevels&&t.overrideLevels.length)for(const e of t.overrideLevels)this.root.push(new pm(e.num,e.start))}}class dm extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{ilvl:"w:ilvl"})}}class pm extends Ja{constructor(t,e){super("w:lvlOverride"),this.root.push(new dm({ilvl:t})),void 0!==e&&this.root.push(new gm(e))}}class mm extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{val:"w:val"})}}class gm extends Ja{constructor(t){super("w:startOverride"),this.root.push(new mm({val:t}))}}class ym extends Ja{constructor(t){super("w:numbering"),Xa(this,"abstractNumberingMap",new Map),Xa(this,"concreteNumberingMap",new Map),Xa(this,"referenceConfigMap",new Map),Xa(this,"abstractNumUniqueNumericId",Rh()),Xa(this,"concreteNumUniqueNumericId",Rh(1)),this.root.push(new Pd({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"}));const e=new cm(this.abstractNumUniqueNumericId(),[{level:0,format:Qp,text:"●",alignment:qu,style:{paragraph:{indent:{left:Ih(.5),hanging:Ih(.25)}}}},{level:1,format:Qp,text:"○",alignment:qu,style:{paragraph:{indent:{left:Ih(1),hanging:Ih(.25)}}}},{level:2,format:Qp,text:"■",alignment:qu,style:{paragraph:{indent:{left:2160,hanging:Ih(.25)}}}},{level:3,format:Qp,text:"●",alignment:qu,style:{paragraph:{indent:{left:2880,hanging:Ih(.25)}}}},{level:4,format:Qp,text:"○",alignment:qu,style:{paragraph:{indent:{left:3600,hanging:Ih(.25)}}}},{level:5,format:Qp,text:"■",alignment:qu,style:{paragraph:{indent:{left:4320,hanging:Ih(.25)}}}},{level:6,format:Qp,text:"●",alignment:qu,style:{paragraph:{indent:{left:5040,hanging:Ih(.25)}}}},{level:7,format:Qp,text:"●",alignment:qu,style:{paragraph:{indent:{left:5760,hanging:Ih(.25)}}}},{level:8,format:Qp,text:"●",alignment:qu,style:{paragraph:{indent:{left:6480,hanging:Ih(.25)}}}}]);this.concreteNumberingMap.set("default-bullet-numbering",new fm({numId:1,abstractNumId:e.id,reference:"default-bullet-numbering",instance:0,overrideLevels:[{num:0,start:1}]})),this.abstractNumberingMap.set("default-bullet-numbering",e);for(const e of t.config)this.abstractNumberingMap.set(e.reference,new cm(this.abstractNumUniqueNumericId(),e.levels)),this.referenceConfigMap.set(e.reference,e.levels)}prepForXml(t){for(const t of this.abstractNumberingMap.values())this.root.push(t);for(const t of this.concreteNumberingMap.values())this.root.push(t);return super.prepForXml(t)}createConcreteNumberingInstance(t,e){const n=this.abstractNumberingMap.get(t);if(!n)return;const r=`${t}-${e}`;if(this.concreteNumberingMap.has(r))return;const i=this.referenceConfigMap.get(t),o=i&&i[0].start,a={numId:this.concreteNumUniqueNumericId(),abstractNumId:n.id,reference:t,instance:e,overrideLevels:[o&&Number.isInteger(o)?{num:0,start:o}:{num:0,start:1}]};this.concreteNumberingMap.set(r,new fm(a))}get ConcreteNumbering(){return Array.from(this.concreteNumberingMap.values())}get ReferenceConfig(){return Array.from(this.referenceConfigMap.values())}}class wm extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{version:"w:val",name:"w:name",uri:"w:uri"})}}class bm extends Ja{constructor(t){super("w:compatSetting"),this.root.push(new wm({version:t,uri:"http://schemas.microsoft.com/office/word",name:"compatibilityMode"}))}}class vm extends Ja{constructor(t){super("w:compat"),t.version&&this.root.push(new bm(t.version)),t.useSingleBorderforContiguousCells&&this.root.push(new Ou("w:useSingleBorderforContiguousCells",t.useSingleBorderforContiguousCells)),t.wordPerfectJustification&&this.root.push(new Ou("w:wpJustification",t.wordPerfectJustification)),t.noTabStopForHangingIndent&&this.root.push(new Ou("w:noTabHangInd",t.noTabStopForHangingIndent)),t.noLeading&&this.root.push(new Ou("w:noLeading",t.noLeading)),t.spaceForUnderline&&this.root.push(new Ou("w:spaceForUL",t.spaceForUnderline)),t.noColumnBalance&&this.root.push(new Ou("w:noColumnBalance",t.noColumnBalance)),t.balanceSingleByteDoubleByteWidth&&this.root.push(new Ou("w:balanceSingleByteDoubleByteWidth",t.balanceSingleByteDoubleByteWidth)),t.noExtraLineSpacing&&this.root.push(new Ou("w:noExtraLineSpacing",t.noExtraLineSpacing)),t.doNotLeaveBackslashAlone&&this.root.push(new Ou("w:doNotLeaveBackslashAlone",t.doNotLeaveBackslashAlone)),t.underlineTrailingSpaces&&this.root.push(new Ou("w:ulTrailSpace",t.underlineTrailingSpaces)),t.doNotExpandShiftReturn&&this.root.push(new Ou("w:doNotExpandShiftReturn",t.doNotExpandShiftReturn)),t.spacingInWholePoints&&this.root.push(new Ou("w:spacingInWholePoints",t.spacingInWholePoints)),t.lineWrapLikeWord6&&this.root.push(new Ou("w:lineWrapLikeWord6",t.lineWrapLikeWord6)),t.printBodyTextBeforeHeader&&this.root.push(new Ou("w:printBodyTextBeforeHeader",t.printBodyTextBeforeHeader)),t.printColorsBlack&&this.root.push(new Ou("w:printColBlack",t.printColorsBlack)),t.spaceWidth&&this.root.push(new Ou("w:wpSpaceWidth",t.spaceWidth)),t.showBreaksInFrames&&this.root.push(new Ou("w:showBreaksInFrames",t.showBreaksInFrames)),t.subFontBySize&&this.root.push(new Ou("w:subFontBySize",t.subFontBySize)),t.suppressBottomSpacing&&this.root.push(new Ou("w:suppressBottomSpacing",t.suppressBottomSpacing)),t.suppressTopSpacing&&this.root.push(new Ou("w:suppressTopSpacing",t.suppressTopSpacing)),t.suppressSpacingAtTopOfPage&&this.root.push(new Ou("w:suppressSpacingAtTopOfPage",t.suppressSpacingAtTopOfPage)),t.suppressTopSpacingWP&&this.root.push(new Ou("w:suppressTopSpacingWP",t.suppressTopSpacingWP)),t.suppressSpBfAfterPgBrk&&this.root.push(new Ou("w:suppressSpBfAfterPgBrk",t.suppressSpBfAfterPgBrk)),t.swapBordersFacingPages&&this.root.push(new Ou("w:swapBordersFacingPages",t.swapBordersFacingPages)),t.convertMailMergeEsc&&this.root.push(new Ou("w:convMailMergeEsc",t.convertMailMergeEsc)),t.truncateFontHeightsLikeWP6&&this.root.push(new Ou("w:truncateFontHeightsLikeWP6",t.truncateFontHeightsLikeWP6)),t.macWordSmallCaps&&this.root.push(new Ou("w:mwSmallCaps",t.macWordSmallCaps)),t.usePrinterMetrics&&this.root.push(new Ou("w:usePrinterMetrics",t.usePrinterMetrics)),t.doNotSuppressParagraphBorders&&this.root.push(new Ou("w:doNotSuppressParagraphBorders",t.doNotSuppressParagraphBorders)),t.wrapTrailSpaces&&this.root.push(new Ou("w:wrapTrailSpaces",t.wrapTrailSpaces)),t.footnoteLayoutLikeWW8&&this.root.push(new Ou("w:footnoteLayoutLikeWW8",t.footnoteLayoutLikeWW8)),t.shapeLayoutLikeWW8&&this.root.push(new Ou("w:shapeLayoutLikeWW8",t.shapeLayoutLikeWW8)),t.alignTablesRowByRow&&this.root.push(new Ou("w:alignTablesRowByRow",t.alignTablesRowByRow)),t.forgetLastTabAlignment&&this.root.push(new Ou("w:forgetLastTabAlignment",t.forgetLastTabAlignment)),t.adjustLineHeightInTable&&this.root.push(new Ou("w:adjustLineHeightInTable",t.adjustLineHeightInTable)),t.autoSpaceLikeWord95&&this.root.push(new Ou("w:autoSpaceLikeWord95",t.autoSpaceLikeWord95)),t.noSpaceRaiseLower&&this.root.push(new Ou("w:noSpaceRaiseLower",t.noSpaceRaiseLower)),t.doNotUseHTMLParagraphAutoSpacing&&this.root.push(new Ou("w:doNotUseHTMLParagraphAutoSpacing",t.doNotUseHTMLParagraphAutoSpacing)),t.layoutRawTableWidth&&this.root.push(new Ou("w:layoutRawTableWidth",t.layoutRawTableWidth)),t.layoutTableRowsApart&&this.root.push(new Ou("w:layoutTableRowsApart",t.layoutTableRowsApart)),t.useWord97LineBreakRules&&this.root.push(new Ou("w:useWord97LineBreakRules",t.useWord97LineBreakRules)),t.doNotBreakWrappedTables&&this.root.push(new Ou("w:doNotBreakWrappedTables",t.doNotBreakWrappedTables)),t.doNotSnapToGridInCell&&this.root.push(new Ou("w:doNotSnapToGridInCell",t.doNotSnapToGridInCell)),t.selectFieldWithFirstOrLastCharacter&&this.root.push(new Ou("w:selectFldWithFirstOrLastChar",t.selectFieldWithFirstOrLastCharacter)),t.applyBreakingRules&&this.root.push(new Ou("w:applyBreakingRules",t.applyBreakingRules)),t.doNotWrapTextWithPunctuation&&this.root.push(new Ou("w:doNotWrapTextWithPunct",t.doNotWrapTextWithPunctuation)),t.doNotUseEastAsianBreakRules&&this.root.push(new Ou("w:doNotUseEastAsianBreakRules",t.doNotUseEastAsianBreakRules)),t.useWord2002TableStyleRules&&this.root.push(new Ou("w:useWord2002TableStyleRules",t.useWord2002TableStyleRules)),t.growAutofit&&this.root.push(new Ou("w:growAutofit",t.growAutofit)),t.useFELayout&&this.root.push(new Ou("w:useFELayout",t.useFELayout)),t.useNormalStyleForList&&this.root.push(new Ou("w:useNormalStyleForList",t.useNormalStyleForList)),t.doNotUseIndentAsNumberingTabStop&&this.root.push(new Ou("w:doNotUseIndentAsNumberingTabStop",t.doNotUseIndentAsNumberingTabStop)),t.useAlternateEastAsianLineBreakRules&&this.root.push(new Ou("w:useAltKinsokuLineBreakRules",t.useAlternateEastAsianLineBreakRules)),t.allowSpaceOfSameStyleInTable&&this.root.push(new Ou("w:allowSpaceOfSameStyleInTable",t.allowSpaceOfSameStyleInTable)),t.doNotSuppressIndentation&&this.root.push(new Ou("w:doNotSuppressIndentation",t.doNotSuppressIndentation)),t.doNotAutofitConstrainedTables&&this.root.push(new Ou("w:doNotAutofitConstrainedTables",t.doNotAutofitConstrainedTables)),t.autofitToFirstFixedWidthCell&&this.root.push(new Ou("w:autofitToFirstFixedWidthCell",t.autofitToFirstFixedWidthCell)),t.underlineTabInNumberingList&&this.root.push(new Ou("w:underlineTabInNumList",t.underlineTabInNumberingList)),t.displayHangulFixedWidth&&this.root.push(new Ou("w:displayHangulFixedWidth",t.displayHangulFixedWidth)),t.splitPgBreakAndParaMark&&this.root.push(new Ou("w:splitPgBreakAndParaMark",t.splitPgBreakAndParaMark)),t.doNotVerticallyAlignCellWithSp&&this.root.push(new Ou("w:doNotVertAlignCellWithSp",t.doNotVerticallyAlignCellWithSp)),t.doNotBreakConstrainedForcedTable&&this.root.push(new Ou("w:doNotBreakConstrainedForcedTable",t.doNotBreakConstrainedForcedTable)),t.ignoreVerticalAlignmentInTextboxes&&this.root.push(new Ou("w:doNotVertAlignInTxbx",t.ignoreVerticalAlignmentInTextboxes)),t.useAnsiKerningPairs&&this.root.push(new Ou("w:useAnsiKerningPairs",t.useAnsiKerningPairs)),t.cachedColumnBalance&&this.root.push(new Ou("w:cachedColBalance",t.cachedColumnBalance))}}class Em extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable"})}}class _m extends Ja{constructor(t){var e,n,r,i;super("w:settings"),this.root.push(new Em({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"})),this.root.push(new Ou("w:displayBackgroundShape",!0)),void 0!==t.trackRevisions&&this.root.push(new Ou("w:trackRevisions",t.trackRevisions)),void 0!==t.evenAndOddHeaders&&this.root.push(new Ou("w:evenAndOddHeaders",t.evenAndOddHeaders)),void 0!==t.updateFields&&this.root.push(new Ou("w:updateFields",t.updateFields)),void 0!==t.defaultTabStop&&this.root.push(new Bu("w:defaultTabStop",t.defaultTabStop)),this.root.push(new vm(Va(Ya({},null!=(e=t.compatibility)?e:{}),{version:null!=(i=null!=(r=null==(n=t.compatibility)?void 0:n.version)?r:t.compatibilityModeVersion)?i:15})))}}class Am extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{val:"w:val"})}}class Mm extends Ja{constructor(t){super("w:name"),this.root.push(new Am({val:t}))}}class Tm extends Ja{constructor(t){super("w:uiPriority"),this.root.push(new Am({val:_u(t)}))}}class xm extends es{constructor(){super(...arguments),Xa(this,"xmlKeys",{type:"w:type",styleId:"w:styleId",default:"w:default",customStyle:"w:customStyle"})}}class Sm extends Ja{constructor(t,e){super("w:style"),this.root.push(new xm(t)),e.name&&this.root.push(new Mm(e.name)),e.basedOn&&this.root.push(new Pu("w:basedOn",e.basedOn)),e.next&&this.root.push(new Pu("w:next",e.next)),e.link&&this.root.push(new Pu("w:link",e.link)),void 0!==e.uiPriority&&this.root.push(new Tm(e.uiPriority)),void 0!==e.semiHidden&&this.root.push(new Ou("w:semiHidden",e.semiHidden)),void 0!==e.unhideWhenUsed&&this.root.push(new Ou("w:unhideWhenUsed",e.unhideWhenUsed)),void 0!==e.quickFormat&&this.root.push(new Ou("w:qFormat",e.quickFormat))}}class km extends Sm{constructor(t){super({type:"paragraph",styleId:t.id},t),Xa(this,"paragraphProperties"),Xa(this,"runProperties"),this.paragraphProperties=new Gd(t.paragraph),this.runProperties=new Th(t.run),this.root.push(this.paragraphProperties),this.root.push(this.runProperties)}}class Cm extends Sm{constructor(t){super({type:"character",styleId:t.id},Ya({uiPriority:99,unhideWhenUsed:!0},t)),Xa(this,"runProperties"),this.runProperties=new Th(t.run),this.root.push(this.runProperties)}}class Dm extends km{constructor(t){super(Ya({basedOn:"Normal",next:"Normal",quickFormat:!0},t))}}class Im extends Dm{constructor(t){super(Ya({id:"Title",name:"Title"},t))}}class Rm extends Dm{constructor(t){super(Ya({id:"Heading1",name:"Heading 1"},t))}}class Nm extends Dm{constructor(t){super(Ya({id:"Heading2",name:"Heading 2"},t))}}class Om extends Dm{constructor(t){super(Ya({id:"Heading3",name:"Heading 3"},t))}}class Lm extends Dm{constructor(t){super(Ya({id:"Heading4",name:"Heading 4"},t))}}class Pm extends Dm{constructor(t){super(Ya({id:"Heading5",name:"Heading 5"},t))}}class Fm extends Dm{constructor(t){super(Ya({id:"Heading6",name:"Heading 6"},t))}}class Bm extends Dm{constructor(t){super(Ya({id:"Strong",name:"Strong"},t))}}class Um extends km{constructor(t){super(Ya({id:"ListParagraph",name:"List Paragraph",basedOn:"Normal",quickFormat:!0},t))}}class jm extends km{constructor(t){super(Ya({id:"FootnoteText",name:"footnote text",link:"FootnoteTextChar",basedOn:"Normal",uiPriority:99,semiHidden:!0,unhideWhenUsed:!0,paragraph:{spacing:{after:0,line:240,lineRule:Yf}},run:{size:20}},t))}}class Hm extends Cm{constructor(t){super(Ya({id:"FootnoteReference",name:"footnote reference",basedOn:"DefaultParagraphFont",semiHidden:!0,run:{superScript:!0}},t))}}class zm extends Cm{constructor(t){super(Ya({id:"FootnoteTextChar",name:"Footnote Text Char",basedOn:"DefaultParagraphFont",link:"FootnoteText",semiHidden:!0,run:{size:20}},t))}}class qm extends Cm{constructor(t){super(Ya({id:"Hyperlink",name:"Hyperlink",basedOn:"DefaultParagraphFont",run:{color:"0563C1",underline:{type:Ah}}},t))}}class Wm extends Ja{constructor(t){if(super("w:styles"),t.initialStyles&&this.root.push(t.initialStyles),t.importedStyles)for(const e of t.importedStyles)this.root.push(e);if(t.paragraphStyles)for(const e of t.paragraphStyles)this.root.push(new km(e));if(t.characterStyles)for(const e of t.characterStyles)this.root.push(new Cm(e))}}class Gm extends Ja{constructor(t){super("w:pPrDefault"),this.root.push(new Gd(t))}}class Km extends Ja{constructor(t){super("w:rPrDefault"),this.root.push(new Th(t))}}class Ym extends Ja{constructor(t){super("w:docDefaults"),Xa(this,"runPropertiesDefaults"),Xa(this,"paragraphPropertiesDefaults"),this.runPropertiesDefaults=new Km(t.run),this.paragraphPropertiesDefaults=new Gm(t.paragraph),this.root.push(this.runPropertiesDefaults),this.root.push(this.paragraphPropertiesDefaults)}}class Vm{newInstance(t){const e=gu(t,{compact:!1});let n;for(const t of e.elements||[])"w:styles"===t.name&&(n=t);if(void 0===n)throw new Error("can not find styles element");const r=n.elements||[];return new Wm({initialStyles:new vu(n.attributes),importedStyles:r.map((t=>yu(t)))})}}class Xm{newInstance(t={}){var e;return{initialStyles:new Pd({mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",Ignorable:"w14 w15"}),importedStyles:[new Ym(null!=(e=t.document)?e:{}),new Im(Ya({run:{size:56}},t.title)),new Rm(Ya({run:{color:"2E74B5",size:32}},t.heading1)),new Nm(Ya({run:{color:"2E74B5",size:26}},t.heading2)),new Om(Ya({run:{color:"1F4D78",size:24}},t.heading3)),new Lm(Ya({run:{color:"2E74B5",italics:!0}},t.heading4)),new Pm(Ya({run:{color:"2E74B5"}},t.heading5)),new Fm(Ya({run:{color:"1F4D78"}},t.heading6)),new Bm(Ya({run:{bold:!0}},t.strong)),new Um(t.listParagraph||{}),new qm(t.hyperlink||{}),new Hm(t.footnoteReference||{}),new jm(t.footnoteText||{}),new zm(t.footnoteTextChar||{})]}}}const Zm=({id:t,fontKey:e,subsetted:n},r)=>new Hu({name:r,attributes:Ya({id:{key:"r:id",value:t}},e?{fontKey:{key:"w:fontKey",value:`{${e}}`}}:{}),children:[...n?[new Ou("w:subsetted",n)]:[]]});class $m{constructor(t){var e;Xa(this,"fontTable"),Xa(this,"relationships"),Xa(this,"fontOptionsWithKey",[]),this.options=t,this.fontOptionsWithKey=t.map((t=>Va(Ya({},t),{fontKey:`${Oh(8)}-${Oh(4)}-${Oh(4)}-${Oh(4)}-${Oh(12)}`}))),this.fontTable=(e=this.fontOptionsWithKey,new Hu({name:"w:fonts",attributes:{mc:{key:"xmlns:mc",value:"http://schemas.openxmlformats.org/markup-compatibility/2006"},r:{key:"xmlns:r",value:"http://schemas.openxmlformats.org/officeDocument/2006/relationships"},w:{key:"xmlns:w",value:"http://schemas.openxmlformats.org/wordprocessingml/2006/main"},w14:{key:"xmlns:w14",value:"http://schemas.microsoft.com/office/word/2010/wordml"},w15:{key:"xmlns:w15",value:"http://schemas.microsoft.com/office/word/2012/wordml"},w16cex:{key:"xmlns:w16cex",value:"http://schemas.microsoft.com/office/word/2018/wordml/cex"},w16cid:{key:"xmlns:w16cid",value:"http://schemas.microsoft.com/office/word/2016/wordml/cid"},w16:{key:"xmlns:w16",value:"http://schemas.microsoft.com/office/word/2018/wordml"},w16sdtdh:{key:"xmlns:w16sdtdh",value:"http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash"},w16se:{key:"xmlns:w16se",value:"http://schemas.microsoft.com/office/word/2015/wordml/symex"},Ignorable:{key:"mc:Ignorable",value:"w14 w15 w16se w16cid w16 w16cex w16sdtdh"}},children:e.map(((t,e)=>(({name:t,index:e,fontKey:n,characterSet:r})=>(({name:t,altName:e,panose1:n,charset:r,family:i,notTrueType:o,pitch:a,sig:s,embedRegular:l,embedBold:c,embedItalic:u,embedBoldItalic:h})=>new Hu({name:"w:font",attributes:{name:{key:"w:name",value:t}},children:[...e?[Fu("w:altName",e)]:[],...n?[Fu("w:panose1",n)]:[],...r?[Fu("w:charset",r)]:[],...i?[Fu("w:family",i)]:[],...o?[new Ou("w:notTrueType",o)]:[],...a?[Fu("w:pitch",a)]:[],...s?[new Hu({name:"w:sig",attributes:{usb0:{key:"w:usb0",value:s.usb0},usb1:{key:"w:usb1",value:s.usb1},usb2:{key:"w:usb2",value:s.usb2},usb3:{key:"w:usb3",value:s.usb3},csb0:{key:"w:csb0",value:s.csb0},csb1:{key:"w:csb1",value:s.csb1}}})]:[],...l?[Zm(l,"w:embedRegular")]:[],...c?[Zm(c,"w:embedBold")]:[],...u?[Zm(u,"w:embedItalic")]:[],...h?[Zm(h,"w:embedBoldItalic")]:[]]}))({name:t,sig:{usb0:"E0002AFF",usb1:"C000247B",usb2:"00000009",usb3:"00000000",csb0:"000001FF",csb1:"00000000"},charset:r,family:"auto",pitch:"variable",embedRegular:{fontKey:n,id:`rId${e}`}}))({name:t.name,index:e+1,fontKey:t.fontKey})))})),this.relationships=new Hd;for(let e=0;e<t.length;e++)this.relationships.createRelationship(e+1,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/font",`fonts/${t[e].name}.odttf`)}get View(){return this.fontTable}get Relationships(){return this.relationships}}class Qm{constructor(t){var e,n,r,i,o,a,s,l;if(Xa(this,"currentRelationshipId",1),Xa(this,"documentWrapper"),Xa(this,"headers",[]),Xa(this,"footers",[]),Xa(this,"coreProperties"),Xa(this,"numbering"),Xa(this,"media"),Xa(this,"fileRelationships"),Xa(this,"footnotesWrapper"),Xa(this,"settings"),Xa(this,"contentTypes"),Xa(this,"customProperties"),Xa(this,"appProperties"),Xa(this,"styles"),Xa(this,"comments"),Xa(this,"fontWrapper"),this.coreProperties=new Sp(Va(Ya({},t),{creator:null!=(e=t.creator)?e:"Un-named",revision:null!=(n=t.revision)?n:1,lastModifiedBy:null!=(r=t.lastModifiedBy)?r:"Un-named"})),this.numbering=new ym(t.numbering?t.numbering:{config:[]}),this.comments=new Gf(null!=(i=t.comments)?i:{children:[]}),this.fileRelationships=new Hd,this.customProperties=new Np(null!=(o=t.customProperties)?o:[]),this.appProperties=new vp,this.footnotesWrapper=new Yp,this.contentTypes=new xp,this.documentWrapper=new zd({background:t.background}),this.settings=new _m({compatibilityModeVersion:t.compatabilityModeVersion,compatibility:t.compatibility,evenAndOddHeaders:!!t.evenAndOddHeaderAndFooters,trackRevisions:null==(a=t.features)?void 0:a.trackRevisions,updateFields:null==(s=t.features)?void 0:s.updateFields,defaultTabStop:t.defaultTabStop}),this.media=new $p,t.externalStyles){const e=new Vm;this.styles=e.newInstance(t.externalStyles)}else if(t.styles){const e=(new Xm).newInstance(t.styles.default);this.styles=new Wm(Ya(Ya({},e),t.styles))}else{const t=new Xm;this.styles=new Wm(t.newInstance())}this.addDefaultRelationships();for(const e of t.sections)this.addSection(e);if(t.footnotes)for(const e in t.footnotes)this.footnotesWrapper.View.createFootNote(parseFloat(e),t.footnotes[e].children);this.fontWrapper=new $m(null!=(l=t.fonts)?l:[])}addSection({headers:t={},footers:e={},children:n,properties:r}){this.documentWrapper.View.Body.addSection(Va(Ya({},r),{headerWrapperGroup:{default:t.default?this.createHeader(t.default):void 0,first:t.first?this.createHeader(t.first):void 0,even:t.even?this.createHeader(t.even):void 0},footerWrapperGroup:{default:e.default?this.createFooter(e.default):void 0,first:e.first?this.createFooter(e.first):void 0,even:e.even?this.createFooter(e.even):void 0}}));for(const t of n)this.documentWrapper.View.add(t)}createHeader(t){const e=new Zp(this.media,this.currentRelationshipId++);for(const n of t.options.children)e.add(n);return this.addHeaderToDocument(e),e}createFooter(t){const e=new Pp(this.media,this.currentRelationshipId++);for(const n of t.options.children)e.add(n);return this.addFooterToDocument(e),e}addHeaderToDocument(t,e=wd){this.headers.push({header:t,type:e}),this.documentWrapper.Relationships.createRelationship(t.View.ReferenceId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/header",`header${this.headers.length}.xml`),this.contentTypes.addHeader(this.headers.length)}addFooterToDocument(t,e=wd){this.footers.push({footer:t,type:e}),this.documentWrapper.Relationships.createRelationship(t.View.ReferenceId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer",`footer${this.footers.length}.xml`),this.contentTypes.addFooter(this.footers.length)}addDefaultRelationships(){this.fileRelationships.createRelationship(1,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument","word/document.xml"),this.fileRelationships.createRelationship(2,"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties","docProps/core.xml"),this.fileRelationships.createRelationship(3,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties","docProps/app.xml"),this.fileRelationships.createRelationship(4,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties","docProps/custom.xml"),this.documentWrapper.Relationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles","styles.xml"),this.documentWrapper.Relationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering","numbering.xml"),this.documentWrapper.Relationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes","footnotes.xml"),this.documentWrapper.Relationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings","settings.xml"),this.documentWrapper.Relationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments","comments.xml")}get Document(){return this.documentWrapper}get Styles(){return this.styles}get CoreProperties(){return this.coreProperties}get Numbering(){return this.numbering}get Media(){return this.media}get FileRelationships(){return this.fileRelationships}get Headers(){return this.headers.map((t=>t.header))}get Footers(){return this.footers.map((t=>t.footer))}get ContentTypes(){return this.contentTypes}get CustomProperties(){return this.customProperties}get AppProperties(){return this.appProperties}get FootNotes(){return this.footnotesWrapper}get Settings(){return this.settings}get Comments(){return this.comments}get FontTable(){return this.fontWrapper}}function Jm(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var tg={exports:{}};!function(t,e){t.exports=function t(e,n,r){function i(a,s){if(!n[a]){if(!e[a]){if(!s&&Jm)return Jm(a);if(o)return o(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[a]={exports:{}};e[a][0].call(c.exports,(function(t){return i(e[a][1][t]||t)}),c,c.exports,t,e,n,r)}return n[a].exports}for(var o=Jm,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(t,e,n){var r=t("./utils"),i=t("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(t){for(var e,n,i,a,s,l,c,u=[],h=0,f=t.length,d=f,p="string"!==r.getTypeOf(t);h<t.length;)d=f-h,i=p?(e=t[h++],n=h<f?t[h++]:0,h<f?t[h++]:0):(e=t.charCodeAt(h++),n=h<f?t.charCodeAt(h++):0,h<f?t.charCodeAt(h++):0),a=e>>2,s=(3&e)<<4|n>>4,l=1<d?(15&n)<<2|i>>6:64,c=2<d?63&i:64,u.push(o.charAt(a)+o.charAt(s)+o.charAt(l)+o.charAt(c));return u.join("")},n.decode=function(t){var e,n,r,a,s,l,c=0,u=0,h="data:";if(t.substr(0,5)===h)throw new Error("Invalid base64 input, it looks like a data url.");var f,d=3*(t=t.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(t.charAt(t.length-1)===o.charAt(64)&&d--,t.charAt(t.length-2)===o.charAt(64)&&d--,d%1!=0)throw new Error("Invalid base64 input, bad content length.");for(f=i.uint8array?new Uint8Array(0|d):new Array(0|d);c<t.length;)e=o.indexOf(t.charAt(c++))<<2|(a=o.indexOf(t.charAt(c++)))>>4,n=(15&a)<<4|(s=o.indexOf(t.charAt(c++)))>>2,r=(3&s)<<6|(l=o.indexOf(t.charAt(c++))),f[u++]=e,64!==s&&(f[u++]=n),64!==l&&(f[u++]=r);return f}},{"./support":30,"./utils":32}],2:[function(t,e,n){var r=t("./external"),i=t("./stream/DataWorker"),o=t("./stream/Crc32Probe"),a=t("./stream/DataLengthProbe");function s(t,e,n,r,i){this.compressedSize=t,this.uncompressedSize=e,this.crc32=n,this.compression=r,this.compressedContent=i}s.prototype={getContentWorker:function(){var t=new i(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),e=this;return t.on("end",(function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),t},getCompressedWorker:function(){return new i(r.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(t,e,n){return t.pipe(new o).pipe(new a("uncompressedSize")).pipe(e.compressWorker(n)).pipe(new a("compressedSize")).withStreamInfo("compression",e)},e.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,e,n){var r=t("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(){return new r("STORE compression")},uncompressWorker:function(){return new r("STORE decompression")}},n.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,e,n){var r=t("./utils"),i=function(){for(var t,e=[],n=0;n<256;n++){t=n;for(var r=0;r<8;r++)t=1&t?3988292384^t>>>1:t>>>1;e[n]=t}return e}();e.exports=function(t,e){return void 0!==t&&t.length?"string"!==r.getTypeOf(t)?function(t,e,n,r){var o=i,a=0+n;t^=-1;for(var s=0;s<a;s++)t=t>>>8^o[255&(t^e[s])];return-1^t}(0|e,t,t.length):function(t,e,n,r){var o=i,a=0+n;t^=-1;for(var s=0;s<a;s++)t=t>>>8^o[255&(t^e.charCodeAt(s))];return-1^t}(0|e,t,t.length):0}},{"./utils":32}],5:[function(t,e,n){n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(t,e,n){var r;r="undefined"!=typeof Promise?Promise:t("lie"),e.exports={Promise:r}},{lie:37}],7:[function(t,e,n){var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=t("pako"),o=t("./utils"),a=t("./stream/GenericWorker"),s=r?"uint8array":"array";function l(t,e){a.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}n.magic="\b\0",o.inherits(l,a),l.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(s,t.data),!1)},l.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(e){t.push({data:e,meta:t.meta})}},n.compressWorker=function(t){return new l("Deflate",t)},n.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(t,e,n){function r(t,e){var n,r="";for(n=0;n<e;n++)r+=String.fromCharCode(255&t),t>>>=8;return r}function i(t,e,n,i,a,u){var h,f,d=t.file,p=t.compression,m=u!==s.utf8encode,g=o.transformTo("string",u(d.name)),y=o.transformTo("string",s.utf8encode(d.name)),w=d.comment,b=o.transformTo("string",u(w)),v=o.transformTo("string",s.utf8encode(w)),E=y.length!==d.name.length,_=v.length!==w.length,A="",M="",T="",x=d.dir,S=d.date,k={crc32:0,compressedSize:0,uncompressedSize:0};e&&!n||(k.crc32=t.crc32,k.compressedSize=t.compressedSize,k.uncompressedSize=t.uncompressedSize);var C=0;e&&(C|=8),m||!E&&!_||(C|=2048);var D,I,R=0,N=0;x&&(R|=16),"UNIX"===a?(N=798,R|=(I=D=d.unixPermissions,D||(I=x?16893:33204),(65535&I)<<16)):(N=20,R|=function(t){return 63&(t||0)}(d.dosPermissions)),h=S.getUTCHours(),h<<=6,h|=S.getUTCMinutes(),h<<=5,h|=S.getUTCSeconds()/2,f=S.getUTCFullYear()-1980,f<<=4,f|=S.getUTCMonth()+1,f<<=5,f|=S.getUTCDate(),E&&(M=r(1,1)+r(l(g),4)+y,A+="up"+r(M.length,2)+M),_&&(T=r(1,1)+r(l(b),4)+v,A+="uc"+r(T.length,2)+T);var O="";return O+="\n\0",O+=r(C,2),O+=p.magic,O+=r(h,2),O+=r(f,2),O+=r(k.crc32,4),O+=r(k.compressedSize,4),O+=r(k.uncompressedSize,4),O+=r(g.length,2),O+=r(A.length,2),{fileRecord:c.LOCAL_FILE_HEADER+O+g+A,dirRecord:c.CENTRAL_FILE_HEADER+r(N,2)+O+r(b.length,2)+"\0\0\0\0"+r(R,4)+r(i,4)+g+A+b}}var o=t("../utils"),a=t("../stream/GenericWorker"),s=t("../utf8"),l=t("../crc32"),c=t("../signature");function u(t,e,n,r){a.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}o.inherits(u,a),u.prototype.push=function(t){var e=t.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,a.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:n?(e+100*(n-r-1))/n:100}}))},u.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var n=i(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(t){this.accumulate=!1;var e,n=this.streamFiles&&!t.file.dir,o=i(t,n,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(o.dirRecord),n)this.push({data:(e=t,c.DATA_DESCRIPTOR+r(e.crc32,4)+r(e.compressedSize,4)+r(e.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:o.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e<this.dirRecords.length;e++)this.push({data:this.dirRecords[e],meta:{percent:100}});var n,i,a,s,l,u,h=this.bytesWritten-t,f=(n=this.dirRecords.length,i=h,a=t,s=this.zipComment,l=this.encodeFileName,u=o.transformTo("string",l(s)),c.CENTRAL_DIRECTORY_END+"\0\0\0\0"+r(n,2)+r(n,2)+r(i,4)+r(a,4)+r(u.length,2)+u);this.push({data:f,meta:{percent:100}})},u.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},u.prototype.registerPrevious=function(t){this._sources.push(t);var e=this;return t.on("data",(function(t){e.processChunk(t)})),t.on("end",(function(){e.closedSource(e.previous.streamInfo),e._sources.length?e.prepareNextSource():e.end()})),t.on("error",(function(t){e.error(t)})),this},u.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},u.prototype.error=function(t){var e=this._sources;if(!a.prototype.error.call(this,t))return!1;for(var n=0;n<e.length;n++)try{e[n].error(t)}catch(t){}return!0},u.prototype.lock=function(){a.prototype.lock.call(this);for(var t=this._sources,e=0;e<t.length;e++)t[e].lock()},e.exports=u},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(t,e,n){var r=t("../compressions"),i=t("./ZipFileWorker");n.generateWorker=function(t,e,n){var o=new i(e.streamFiles,n,e.platform,e.encodeFileName),a=0;try{t.forEach((function(t,n){a++;var i=function(t,e){var n=t||e,i=r[n];if(!i)throw new Error(n+" is not a valid compression method !");return i}(n.options.compression,e.compression),s=n.options.compressionOptions||e.compressionOptions||{},l=n.dir,c=n.date;n._compressWorker(i,s).withStreamInfo("file",{name:t,dir:l,date:c,comment:n.comment||"",unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(o)})),o.entriesCount=a}catch(t){o.error(t)}return o}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(t,e,n){function r(){if(!(this instanceof r))return new r;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var t=new r;for(var e in this)"function"!=typeof this[e]&&(t[e]=this[e]);return t}}(r.prototype=t("./object")).loadAsync=t("./load"),r.support=t("./support"),r.defaults=t("./defaults"),r.version="3.10.1",r.loadAsync=function(t,e){return(new r).loadAsync(t,e)},r.external=t("./external"),e.exports=r},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(t,e,n){var r=t("./utils"),i=t("./external"),o=t("./utf8"),a=t("./zipEntries"),s=t("./stream/Crc32Probe"),l=t("./nodejsUtils");function c(t){return new i.Promise((function(e,n){var r=t.decompressed.getContentWorker().pipe(new s);r.on("error",(function(t){n(t)})).on("end",(function(){r.streamInfo.crc32!==t.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):e()})).resume()}))}e.exports=function(t,e){var n=this;return e=r.extend(e||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:o.utf8decode}),l.isNode&&l.isStream(t)?i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):r.prepareContent("the loaded zip file",t,!0,e.optimizedBinaryString,e.base64).then((function(t){var n=new a(e);return n.load(t),n})).then((function(t){var n=[i.Promise.resolve(t)],r=t.files;if(e.checkCRC32)for(var o=0;o<r.length;o++)n.push(c(r[o]));return i.Promise.all(n)})).then((function(t){for(var i=t.shift(),o=i.files,a=0;a<o.length;a++){var s=o[a],l=s.fileNameStr,c=r.resolve(s.fileNameStr);n.file(c,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:e.createFolders}),s.dir||(n.file(c).unsafeOriginalName=l)}return i.zipComment.length&&(n.comment=i.zipComment),n}))}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(t,e,n){var r=t("../utils"),i=t("../stream/GenericWorker");function o(t,e){i.call(this,"Nodejs stream input adapter for "+t),this._upstreamEnded=!1,this._bindStream(e)}r.inherits(o,i),o.prototype._bindStream=function(t){var e=this;(this._stream=t).pause(),t.on("data",(function(t){e.push({data:t,meta:{percent:0}})})).on("error",(function(t){e.isPaused?this.generatedError=t:e.error(t)})).on("end",(function(){e.isPaused?e._upstreamEnded=!0:e.end()}))},o.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},e.exports=o},{"../stream/GenericWorker":28,"../utils":32}],13:[function(t,e,n){var r=t("readable-stream").Readable;function i(t,e,n){r.call(this,e),this._helper=t;var i=this;t.on("data",(function(t,e){i.push(t)||i._helper.pause(),n&&n(e)})).on("error",(function(t){i.emit("error",t)})).on("end",(function(){i.push(null)}))}t("../utils").inherits(i,r),i.prototype._read=function(){this._helper.resume()},e.exports=i},{"../utils":32,"readable-stream":16}],14:[function(t,e,n){e.exports={isNode:void 0!==Ua,newBufferFrom:function(t,e){if(Ua.from&&Ua.from!==Uint8Array.from)return Ua.from(t,e);if("number"==typeof t)throw new Error('The "data" argument must not be a number');return new Ua(t,e)},allocBuffer:function(t){if(Ua.alloc)return Ua.alloc(t);var e=new Ua(t);return e.fill(0),e},isBuffer:function(t){return Ua.isBuffer(t)},isStream:function(t){return t&&"function"==typeof t.on&&"function"==typeof t.pause&&"function"==typeof t.resume}}},{}],15:[function(t,e,n){function r(t,e,n){var r,i=o.getTypeOf(e),s=o.extend(n||{},l);s.date=s.date||new Date,null!==s.compression&&(s.compression=s.compression.toUpperCase()),"string"==typeof s.unixPermissions&&(s.unixPermissions=parseInt(s.unixPermissions,8)),s.unixPermissions&&16384&s.unixPermissions&&(s.dir=!0),s.dosPermissions&&16&s.dosPermissions&&(s.dir=!0),s.dir&&(t=m(t)),s.createFolders&&(r=p(t))&&g.call(this,r,!0);var h="string"===i&&!1===s.binary&&!1===s.base64;n&&void 0!==n.binary||(s.binary=!h),(e instanceof c&&0===e.uncompressedSize||s.dir||!e||0===e.length)&&(s.base64=!1,s.binary=!0,e="",s.compression="STORE",i="string");var y;y=e instanceof c||e instanceof a?e:f.isNode&&f.isStream(e)?new d(t,e):o.prepareContent(t,e,s.binary,s.optimizedBinaryString,s.base64);var w=new u(t,y,s);this.files[t]=w}var i=t("./utf8"),o=t("./utils"),a=t("./stream/GenericWorker"),s=t("./stream/StreamHelper"),l=t("./defaults"),c=t("./compressedObject"),u=t("./zipObject"),h=t("./generate"),f=t("./nodejsUtils"),d=t("./nodejs/NodejsStreamInputAdapter"),p=function(t){"/"===t.slice(-1)&&(t=t.substring(0,t.length-1));var e=t.lastIndexOf("/");return 0<e?t.substring(0,e):""},m=function(t){return"/"!==t.slice(-1)&&(t+="/"),t},g=function(t,e){return e=void 0!==e?e:l.createFolders,t=m(t),this.files[t]||r.call(this,t,null,{dir:!0,createFolders:e}),this.files[t]};function y(t){return"[object RegExp]"===Object.prototype.toString.call(t)}var w={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(t){var e,n,r;for(e in this.files)r=this.files[e],(n=e.slice(this.root.length,e.length))&&e.slice(0,this.root.length)===this.root&&t(n,r)},filter:function(t){var e=[];return this.forEach((function(n,r){t(n,r)&&e.push(r)})),e},file:function(t,e,n){if(1!==arguments.length)return t=this.root+t,r.call(this,t,e,n),this;if(y(t)){var i=t;return this.filter((function(t,e){return!e.dir&&i.test(t)}))}var o=this.files[this.root+t];return o&&!o.dir?o:null},folder:function(t){if(!t)return this;if(y(t))return this.filter((function(e,n){return n.dir&&t.test(e)}));var e=this.root+t,n=g.call(this,e),r=this.clone();return r.root=n.name,r},remove:function(t){t=this.root+t;var e=this.files[t];if(e||("/"!==t.slice(-1)&&(t+="/"),e=this.files[t]),e&&!e.dir)delete this.files[t];else for(var n=this.filter((function(e,n){return n.name.slice(0,t.length)===t})),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(t){var e,n={};try{if((n=o.extend(t||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:i.utf8encode})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),"binarystring"===n.type&&(n.type="string"),!n.type)throw new Error("No output type specified.");o.checkSupport(n.type),"darwin"!==n.platform&&"freebsd"!==n.platform&&"linux"!==n.platform&&"sunos"!==n.platform||(n.platform="UNIX"),"win32"===n.platform&&(n.platform="DOS");var r=n.comment||this.comment||"";e=h.generateWorker(this,n,r)}catch(t){(e=new a("error")).error(t)}return new s(e,n.type||"string",n.mimeType)},generateAsync:function(t,e){return this.generateInternalStream(t).accumulate(e)},generateNodeStream:function(t,e){return(t=t||{}).type||(t.type="nodebuffer"),this.generateInternalStream(t).toNodejsStream(e)}};e.exports=w},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(t,e,n){e.exports=t("stream")},{stream:void 0}],17:[function(t,e,n){var r=t("./DataReader");function i(t){r.call(this,t);for(var e=0;e<this.data.length;e++)t[e]=255&t[e]}t("../utils").inherits(i,r),i.prototype.byteAt=function(t){return this.data[this.zero+t]},i.prototype.lastIndexOfSignature=function(t){for(var e=t.charCodeAt(0),n=t.charCodeAt(1),r=t.charCodeAt(2),i=t.charCodeAt(3),o=this.length-4;0<=o;--o)if(this.data[o]===e&&this.data[o+1]===n&&this.data[o+2]===r&&this.data[o+3]===i)return o-this.zero;return-1},i.prototype.readAndCheckSignature=function(t){var e=t.charCodeAt(0),n=t.charCodeAt(1),r=t.charCodeAt(2),i=t.charCodeAt(3),o=this.readData(4);return e===o[0]&&n===o[1]&&r===o[2]&&i===o[3]},i.prototype.readData=function(t){if(this.checkOffset(t),0===t)return[];var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=i},{"../utils":32,"./DataReader":18}],18:[function(t,e,n){var r=t("../utils");function i(t){this.data=t,this.length=t.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length<this.zero+t||t<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+t+"). Corrupted zip ?")},setIndex:function(t){this.checkIndex(t),this.index=t},skip:function(t){this.setIndex(this.index+t)},byteAt:function(){},readInt:function(t){var e,n=0;for(this.checkOffset(t),e=this.index+t-1;e>=this.index;e--)n=(n<<8)+this.byteAt(e);return this.index+=t,n},readString:function(t){return r.transformTo("string",this.readData(t))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=i},{"../utils":32}],19:[function(t,e,n){var r=t("./Uint8ArrayReader");function i(t){r.call(this,t)}t("../utils").inherits(i,r),i.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,e,n){var r=t("./DataReader");function i(t){r.call(this,t)}t("../utils").inherits(i,r),i.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},i.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},i.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},i.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=i},{"../utils":32,"./DataReader":18}],21:[function(t,e,n){var r=t("./ArrayReader");function i(t){r.call(this,t)}t("../utils").inherits(i,r),i.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(t,e,n){var r=t("../utils"),i=t("../support"),o=t("./ArrayReader"),a=t("./StringReader"),s=t("./NodeBufferReader"),l=t("./Uint8ArrayReader");e.exports=function(t){var e=r.getTypeOf(t);return r.checkSupport(e),"string"!==e||i.uint8array?"nodebuffer"===e?new s(t):i.uint8array?new l(r.transformTo("uint8array",t)):new o(r.transformTo("array",t)):new a(t)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,e,n){n.LOCAL_FILE_HEADER="PK",n.CENTRAL_FILE_HEADER="PK",n.CENTRAL_DIRECTORY_END="PK",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",n.ZIP64_CENTRAL_DIRECTORY_END="PK",n.DATA_DESCRIPTOR="PK\b"},{}],24:[function(t,e,n){var r=t("./GenericWorker"),i=t("../utils");function o(t){r.call(this,"ConvertWorker to "+t),this.destType=t}i.inherits(o,r),o.prototype.processChunk=function(t){this.push({data:i.transformTo(this.destType,t.data),meta:t.meta})},e.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(t,e,n){var r=t("./GenericWorker"),i=t("../crc32");function o(){r.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(o,r),o.prototype.processChunk=function(t){this.streamInfo.crc32=i(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,e,n){var r=t("../utils"),i=t("./GenericWorker");function o(t){i.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}r.inherits(o,i),o.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}i.prototype.processChunk.call(this,t)},e.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(t,e,n){var r=t("../utils"),i=t("./GenericWorker");function o(t){i.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then((function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=r.getTypeOf(t),e.isPaused||e._tickAndRepeat()}),(function(t){e.error(t)}))}r.inherits(o,i),o.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,r.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(r.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,e);break;case"uint8array":t=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(t,e,n){function r(t){this.name=t||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}r.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var n=0;n<this._listeners[t].length;n++)this._listeners[t][n].call(this,e)},pipe:function(t){return t.registerPrevious(this)},registerPrevious:function(t){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=t.streamInfo,this.mergeStreamInfo(),this.previous=t;var e=this;return t.on("data",(function(t){e.processChunk(t)})),t.on("end",(function(){e.end()})),t.on("error",(function(t){e.error(t)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var t=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),t=!0),this.previous&&this.previous.resume(),!t},flush:function(){},processChunk:function(t){this.push(t)},withStreamInfo:function(t,e){return this.extraStreamInfo[t]=e,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var t in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,t)&&(this.streamInfo[t]=this.extraStreamInfo[t])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var t="Worker "+this.name;return this.previous?this.previous+" -> "+t:t}},e.exports=r},{}],29:[function(t,e,n){var r=t("../utils"),i=t("./ConvertWorker"),o=t("./GenericWorker"),a=t("../base64"),s=t("../support"),l=t("../external"),c=null;if(s.nodestream)try{c=t("../nodejs/NodejsStreamOutputAdapter")}catch(t){}function u(t,e,n){var a=e;switch(e){case"blob":case"arraybuffer":a="uint8array";break;case"base64":a="string"}try{this._internalType=a,this._outputType=e,this._mimeType=n,r.checkSupport(a),this._worker=t.pipe(new i(a)),t.lock()}catch(t){this._worker=new o("error"),this._worker.error(t)}}u.prototype={accumulate:function(t){return function(t,e){return new l.Promise((function(n,i){var o=[],s=t._internalType,l=t._outputType,c=t._mimeType;t.on("data",(function(t,n){o.push(t),e&&e(n)})).on("error",(function(t){o=[],i(t)})).on("end",(function(){try{var t=function(t,e,n){switch(t){case"blob":return r.newBlob(r.transformTo("arraybuffer",e),n);case"base64":return a.encode(e);default:return r.transformTo(t,e)}}(l,function(t,e){var n,r=0,i=null,o=0;for(n=0;n<e.length;n++)o+=e[n].length;switch(t){case"string":return e.join("");case"array":return Array.prototype.concat.apply([],e);case"uint8array":for(i=new Uint8Array(o),n=0;n<e.length;n++)i.set(e[n],r),r+=e[n].length;return i;case"nodebuffer":return Ua.concat(e);default:throw new Error("concat : unsupported type '"+t+"'")}}(s,o),c);n(t)}catch(t){i(t)}o=[]})).resume()}))}(this,t)},on:function(t,e){var n=this;return"data"===t?this._worker.on(t,(function(t){e.call(n,t.data,t.meta)})):this._worker.on(t,(function(){r.delay(e,arguments,n)})),this},resume:function(){return r.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(t){if(r.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new c(this,{objectMode:"nodebuffer"!==this._outputType},t)}},e.exports=u},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(t,e,n){if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,n.nodebuffer=void 0!==Ua,n.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)n.blob=!1;else{var r=new ArrayBuffer(0);try{n.blob=0===new Blob([r],{type:"application/zip"}).size}catch(t){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);i.append(r),n.blob=0===i.getBlob("application/zip").size}catch(t){n.blob=!1}}}try{n.nodestream=!!t("readable-stream").Readable}catch(t){n.nodestream=!1}},{"readable-stream":16}],31:[function(t,e,n){for(var r=t("./utils"),i=t("./support"),o=t("./nodejsUtils"),a=t("./stream/GenericWorker"),s=new Array(256),l=0;l<256;l++)s[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;function c(){a.call(this,"utf-8 decode"),this.leftOver=null}function u(){a.call(this,"utf-8 encode")}s[254]=s[254]=1,n.utf8encode=function(t){return i.nodebuffer?o.newBufferFrom(t,"utf-8"):function(t){var e,n,r,o,a,s=t.length,l=0;for(o=0;o<s;o++)55296==(64512&(n=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(r=t.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),l+=n<128?1:n<2048?2:n<65536?3:4;for(e=i.uint8array?new Uint8Array(l):new Array(l),o=a=0;a<l;o++)55296==(64512&(n=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(r=t.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),n<128?e[a++]=n:(n<2048?e[a++]=192|n>>>6:(n<65536?e[a++]=224|n>>>12:(e[a++]=240|n>>>18,e[a++]=128|n>>>12&63),e[a++]=128|n>>>6&63),e[a++]=128|63&n);return e}(t)},n.utf8decode=function(t){return i.nodebuffer?r.transformTo("nodebuffer",t).toString("utf-8"):function(t){var e,n,i,o,a=t.length,l=new Array(2*a);for(e=n=0;e<a;)if((i=t[e++])<128)l[n++]=i;else if(4<(o=s[i]))l[n++]=65533,e+=o-1;else{for(i&=2===o?31:3===o?15:7;1<o&&e<a;)i=i<<6|63&t[e++],o--;1<o?l[n++]=65533:i<65536?l[n++]=i:(i-=65536,l[n++]=55296|i>>10&1023,l[n++]=56320|1023&i)}return l.length!==n&&(l.subarray?l=l.subarray(0,n):l.length=n),r.applyFromCharCode(l)}(t=r.transformTo(i.uint8array?"uint8array":"array",t))},r.inherits(c,a),c.prototype.processChunk=function(t){var e=r.transformTo(i.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var o=e;(e=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),e.set(o,this.leftOver.length)}else e=this.leftOver.concat(e);this.leftOver=null}var a=function(t,e){var n;for((e=e||t.length)>t.length&&(e=t.length),n=e-1;0<=n&&128==(192&t[n]);)n--;return n<0||0===n?e:n+s[t[n]]>e?n:e}(e),l=e;a!==e.length&&(i.uint8array?(l=e.subarray(0,a),this.leftOver=e.subarray(a,e.length)):(l=e.slice(0,a),this.leftOver=e.slice(a,e.length))),this.push({data:n.utf8decode(l),meta:t.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=c,r.inherits(u,a),u.prototype.processChunk=function(t){this.push({data:n.utf8encode(t.data),meta:t.meta})},n.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,e,n){var r=t("./support"),i=t("./base64"),o=t("./nodejsUtils"),a=t("./external");function s(t){return t}function l(t,e){for(var n=0;n<t.length;++n)e[n]=255&t.charCodeAt(n);return e}t("setimmediate"),n.newBlob=function(t,e){n.checkSupport("blob");try{return new Blob([t],{type:e})}catch(n){try{var r=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return r.append(t),r.getBlob(e)}catch(t){throw new Error("Bug : can't construct the Blob.")}}};var c={stringifyByChunk:function(t,e,n){var r=[],i=0,o=t.length;if(o<=n)return String.fromCharCode.apply(null,t);for(;i<o;)"array"===e||"nodebuffer"===e?r.push(String.fromCharCode.apply(null,t.slice(i,Math.min(i+n,o)))):r.push(String.fromCharCode.apply(null,t.subarray(i,Math.min(i+n,o)))),i+=n;return r.join("")},stringifyByChar:function(t){for(var e="",n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return e},applyCanBeUsed:{uint8array:function(){try{return r.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(t){return!1}}(),nodebuffer:function(){try{return r.nodebuffer&&1===String.fromCharCode.apply(null,o.allocBuffer(1)).length}catch(t){return!1}}()}};function u(t){var e=65536,r=n.getTypeOf(t),i=!0;if("uint8array"===r?i=c.applyCanBeUsed.uint8array:"nodebuffer"===r&&(i=c.applyCanBeUsed.nodebuffer),i)for(;1<e;)try{return c.stringifyByChunk(t,r,e)}catch(t){e=Math.floor(e/2)}return c.stringifyByChar(t)}function h(t,e){for(var n=0;n<t.length;n++)e[n]=t[n];return e}n.applyFromCharCode=u;var f={};f.string={string:s,array:function(t){return l(t,new Array(t.length))},arraybuffer:function(t){return f.string.uint8array(t).buffer},uint8array:function(t){return l(t,new Uint8Array(t.length))},nodebuffer:function(t){return l(t,o.allocBuffer(t.length))}},f.array={string:u,array:s,arraybuffer:function(t){return new Uint8Array(t).buffer},uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return o.newBufferFrom(t)}},f.arraybuffer={string:function(t){return u(new Uint8Array(t))},array:function(t){return h(new Uint8Array(t),new Array(t.byteLength))},arraybuffer:s,uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return o.newBufferFrom(new Uint8Array(t))}},f.uint8array={string:u,array:function(t){return h(t,new Array(t.length))},arraybuffer:function(t){return t.buffer},uint8array:s,nodebuffer:function(t){return o.newBufferFrom(t)}},f.nodebuffer={string:u,array:function(t){return h(t,new Array(t.length))},arraybuffer:function(t){return f.nodebuffer.uint8array(t).buffer},uint8array:function(t){return h(t,new Uint8Array(t.length))},nodebuffer:s},n.transformTo=function(t,e){if(e=e||"",!t)return e;n.checkSupport(t);var r=n.getTypeOf(e);return f[r][t](e)},n.resolve=function(t){for(var e=t.split("/"),n=[],r=0;r<e.length;r++){var i=e[r];"."===i||""===i&&0!==r&&r!==e.length-1||(".."===i?n.pop():n.push(i))}return n.join("/")},n.getTypeOf=function(t){return"string"==typeof t?"string":"[object Array]"===Object.prototype.toString.call(t)?"array":r.nodebuffer&&o.isBuffer(t)?"nodebuffer":r.uint8array&&t instanceof Uint8Array?"uint8array":r.arraybuffer&&t instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(t){if(!r[t.toLowerCase()])throw new Error(t+" is not supported by this platform")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(t){var e,n,r="";for(n=0;n<(t||"").length;n++)r+="\\x"+((e=t.charCodeAt(n))<16?"0":"")+e.toString(16).toUpperCase();return r},n.delay=function(t,e,n){setImmediate((function(){t.apply(n||null,e||[])}))},n.inherits=function(t,e){function n(){}n.prototype=e.prototype,t.prototype=new n},n.extend=function(){var t,e,n={};for(t=0;t<arguments.length;t++)for(e in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],e)&&void 0===n[e]&&(n[e]=arguments[t][e]);return n},n.prepareContent=function(t,e,o,s,c){return a.Promise.resolve(e).then((function(t){return r.blob&&(t instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(t)))&&"undefined"!=typeof FileReader?new a.Promise((function(e,n){var r=new FileReader;r.onload=function(t){e(t.target.result)},r.onerror=function(t){n(t.target.error)},r.readAsArrayBuffer(t)})):t})).then((function(e){var u,h=n.getTypeOf(e);return h?("arraybuffer"===h?e=n.transformTo("uint8array",e):"string"===h&&(c?e=i.decode(e):o&&!0!==s&&(e=l(u=e,r.uint8array?new Uint8Array(u.length):new Array(u.length)))),e):a.Promise.reject(new Error("Can't read the data of '"+t+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(t,e,n){var r=t("./reader/readerFor"),i=t("./utils"),o=t("./signature"),a=t("./zipEntry"),s=t("./support");function l(t){this.files=[],this.loadOptions=t}l.prototype={checkSignature:function(t){if(!this.reader.readAndCheckSignature(t)){this.reader.index-=4;var e=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+i.pretty(e)+", expected "+i.pretty(t)+")")}},isSignature:function(t,e){var n=this.reader.index;this.reader.setIndex(t);var r=this.reader.readString(4)===e;return this.reader.setIndex(n),r},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var t=this.reader.readData(this.zipCommentLength),e=s.uint8array?"uint8array":"array",n=i.transformTo(e,t);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var t,e,n,r=this.zip64EndOfCentralSize-44;0<r;)t=this.reader.readInt(2),e=this.reader.readInt(4),n=this.reader.readData(e),this.zip64ExtensibleData[t]={id:t,length:e,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var t,e;for(t=0;t<this.files.length;t++)e=this.files[t],this.reader.setIndex(e.localHeaderOffset),this.checkSignature(o.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var t;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER);)(t=new a({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(t);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var t=this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END);if(t<0)throw this.isSignature(0,o.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(t);var e=t;if(this.checkSignature(o.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(t=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(t),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,o.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var r=e-n;if(0<r)this.isSignature(e,o.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw new Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},prepareReader:function(t){this.reader=r(t)},load:function(t){this.prepareReader(t),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},e.exports=l},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(t,e,n){var r=t("./reader/readerFor"),i=t("./utils"),o=t("./compressedObject"),a=t("./crc32"),s=t("./utf8"),l=t("./compressions"),c=t("./support");function u(t,e){this.options=t,this.loadOptions=e}u.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(t){var e,n;if(t.skip(22),this.fileNameLength=t.readInt(2),n=t.readInt(2),this.fileName=t.readData(this.fileNameLength),t.skip(n),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(e=function(t){for(var e in l)if(Object.prototype.hasOwnProperty.call(l,e)&&l[e].magic===t)return l[e];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new o(this.compressedSize,this.uncompressedSize,this.crc32,e,t.readData(this.compressedSize))},readCentralPart:function(t){this.versionMadeBy=t.readInt(2),t.skip(2),this.bitFlag=t.readInt(2),this.compressionMethod=t.readString(2),this.date=t.readDate(),this.crc32=t.readInt(4),this.compressedSize=t.readInt(4),this.uncompressedSize=t.readInt(4);var e=t.readInt(2);if(this.extraFieldsLength=t.readInt(2),this.fileCommentLength=t.readInt(2),this.diskNumberStart=t.readInt(2),this.internalFileAttributes=t.readInt(2),this.externalFileAttributes=t.readInt(4),this.localHeaderOffset=t.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");t.skip(e),this.readExtraFields(t),this.parseZIP64ExtraField(t),this.fileComment=t.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var t=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var t=r(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(t){var e,n,r,i=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4<i;)e=t.readInt(2),n=t.readInt(2),r=t.readData(n),this.extraFields[e]={id:e,length:n,value:r};t.setIndex(i)},handleUTF8:function(){var t=c.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var e=this.findExtraFieldUnicodePath();if(null!==e)this.fileNameStr=e;else{var n=i.transformTo(t,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(null!==r)this.fileCommentStr=r;else{var o=i.transformTo(t,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var t=this.extraFields[28789];if(t){var e=r(t.value);return 1!==e.readInt(1)||a(this.fileName)!==e.readInt(4)?null:s.utf8decode(e.readData(t.length-5))}return null},findExtraFieldUnicodeComment:function(){var t=this.extraFields[25461];if(t){var e=r(t.value);return 1!==e.readInt(1)||a(this.fileComment)!==e.readInt(4)?null:s.utf8decode(e.readData(t.length-5))}return null}},e.exports=u},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(t,e,n){function r(t,e,n){this.name=t,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=e,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}}var i=t("./stream/StreamHelper"),o=t("./stream/DataWorker"),a=t("./utf8"),s=t("./compressedObject"),l=t("./stream/GenericWorker");r.prototype={internalStream:function(t){var e=null,n="string";try{if(!t)throw new Error("No output type specified.");var r="string"===(n=t.toLowerCase())||"text"===n;"binarystring"!==n&&"text"!==n||(n="string"),e=this._decompressWorker();var o=!this._dataBinary;o&&!r&&(e=e.pipe(new a.Utf8EncodeWorker)),!o&&r&&(e=e.pipe(new a.Utf8DecodeWorker))}catch(t){(e=new l("error")).error(t)}return new i(e,n,"")},async:function(t,e){return this.internalStream(t).accumulate(e)},nodeStream:function(t,e){return this.internalStream(t||"nodebuffer").toNodejsStream(e)},_compressWorker:function(t,e){if(this._data instanceof s&&this._data.compression.magic===t.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new a.Utf8EncodeWorker)),s.createWorkerFrom(n,t,e)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof l?this._data:new o(this._data)}};for(var c=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],u=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},h=0;h<c.length;h++)r.prototype[c[h]]=u;e.exports=r},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(t,e,n){(function(t){var n,r,i=t.MutationObserver||t.WebKitMutationObserver;if(i){var o=0,a=new i(u),s=t.document.createTextNode("");a.observe(s,{characterData:!0}),n=function(){s.data=o=++o%2}}else if(t.setImmediate||void 0===t.MessageChannel)n="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var e=t.document.createElement("script");e.onreadystatechange=function(){u(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},t.document.documentElement.appendChild(e)}:function(){setTimeout(u,0)};else{var l=new t.MessageChannel;l.port1.onmessage=u,n=function(){l.port2.postMessage(0)}}var c=[];function u(){var t,e;r=!0;for(var n=c.length;n;){for(e=c,c=[],t=-1;++t<n;)e[t]();n=c.length}r=!1}e.exports=function(t){1!==c.push(t)||r||n()}}).call(this,void 0!==is?is:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(t,e,n){var r=t("immediate");function i(){}var o={},a=["REJECTED"],s=["FULFILLED"],l=["PENDING"];function c(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,t!==i&&d(this,t)}function u(t,e,n){this.promise=t,"function"==typeof e&&(this.onFulfilled=e,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function h(t,e,n){r((function(){var r;try{r=e(n)}catch(e){return o.reject(t,e)}r===t?o.reject(t,new TypeError("Cannot resolve promise with itself")):o.resolve(t,r)}))}function f(t){var e=t&&t.then;if(t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof e)return function(){e.apply(t,arguments)}}function d(t,e){var n=!1;function r(e){n||(n=!0,o.reject(t,e))}function i(e){n||(n=!0,o.resolve(t,e))}var a=p((function(){e(i,r)}));"error"===a.status&&r(a.value)}function p(t,e){var n={};try{n.value=t(e),n.status="success"}catch(t){n.status="error",n.value=t}return n}(e.exports=c).prototype.finally=function(t){if("function"!=typeof t)return this;var e=this.constructor;return this.then((function(n){return e.resolve(t()).then((function(){return n}))}),(function(n){return e.resolve(t()).then((function(){throw n}))}))},c.prototype.catch=function(t){return this.then(null,t)},c.prototype.then=function(t,e){if("function"!=typeof t&&this.state===s||"function"!=typeof e&&this.state===a)return this;var n=new this.constructor(i);return this.state!==l?h(n,this.state===s?t:e,this.outcome):this.queue.push(new u(n,t,e)),n},u.prototype.callFulfilled=function(t){o.resolve(this.promise,t)},u.prototype.otherCallFulfilled=function(t){h(this.promise,this.onFulfilled,t)},u.prototype.callRejected=function(t){o.reject(this.promise,t)},u.prototype.otherCallRejected=function(t){h(this.promise,this.onRejected,t)},o.resolve=function(t,e){var n=p(f,e);if("error"===n.status)return o.reject(t,n.value);var r=n.value;if(r)d(t,r);else{t.state=s,t.outcome=e;for(var i=-1,a=t.queue.length;++i<a;)t.queue[i].callFulfilled(e)}return t},o.reject=function(t,e){t.state=a,t.outcome=e;for(var n=-1,r=t.queue.length;++n<r;)t.queue[n].callRejected(e);return t},c.resolve=function(t){return t instanceof this?t:o.resolve(new this(i),t)},c.reject=function(t){var e=new this(i);return o.reject(e,t)},c.all=function(t){var e=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var n=t.length,r=!1;if(!n)return this.resolve([]);for(var a=new Array(n),s=0,l=-1,c=new this(i);++l<n;)u(t[l],l);return c;function u(t,i){e.resolve(t).then((function(t){a[i]=t,++s!==n||r||(r=!0,o.resolve(c,a))}),(function(t){r||(r=!0,o.reject(c,t))}))}},c.race=function(t){if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var e=t.length,n=!1;if(!e)return this.resolve([]);for(var r,a=-1,s=new this(i);++a<e;)r=t[a],this.resolve(r).then((function(t){n||(n=!0,o.resolve(s,t))}),(function(t){n||(n=!0,o.reject(s,t))}));return s}},{immediate:36}],38:[function(t,e,n){var r={};(0,t("./lib/utils/common").assign)(r,t("./lib/deflate"),t("./lib/inflate"),t("./lib/zlib/constants")),e.exports=r},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(t,e,n){var r=t("./zlib/deflate"),i=t("./utils/common"),o=t("./utils/strings"),a=t("./zlib/messages"),s=t("./zlib/zstream"),l=Object.prototype.toString,c=0,u=-1,h=0,f=8;function d(t){if(!(this instanceof d))return new d(t);this.options=i.assign({level:u,method:f,chunkSize:16384,windowBits:15,memLevel:8,strategy:h,to:""},t||{});var e=this.options;e.raw&&0<e.windowBits?e.windowBits=-e.windowBits:e.gzip&&0<e.windowBits&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(n!==c)throw new Error(a[n]);if(e.header&&r.deflateSetHeader(this.strm,e.header),e.dictionary){var p;if(p="string"==typeof e.dictionary?o.string2buf(e.dictionary):"[object ArrayBuffer]"===l.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,(n=r.deflateSetDictionary(this.strm,p))!==c)throw new Error(a[n]);this._dict_set=!0}}function p(t,e){var n=new d(e);if(n.push(t,!0),n.err)throw n.msg||a[n.err];return n.result}d.prototype.push=function(t,e){var n,a,s=this.strm,u=this.options.chunkSize;if(this.ended)return!1;a=e===~~e?e:!0===e?4:0,"string"==typeof t?s.input=o.string2buf(t):"[object ArrayBuffer]"===l.call(t)?s.input=new Uint8Array(t):s.input=t,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new i.Buf8(u),s.next_out=0,s.avail_out=u),1!==(n=r.deflate(s,a))&&n!==c)return this.onEnd(n),!(this.ended=!0);0!==s.avail_out&&(0!==s.avail_in||4!==a&&2!==a)||("string"===this.options.to?this.onData(o.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((0<s.avail_in||0===s.avail_out)&&1!==n);return 4===a?(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===c):2!==a||(this.onEnd(c),!(s.avail_out=0))},d.prototype.onData=function(t){this.chunks.push(t)},d.prototype.onEnd=function(t){t===c&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},n.Deflate=d,n.deflate=p,n.deflateRaw=function(t,e){return(e=e||{}).raw=!0,p(t,e)},n.gzip=function(t,e){return(e=e||{}).gzip=!0,p(t,e)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(t,e,n){var r=t("./zlib/inflate"),i=t("./utils/common"),o=t("./utils/strings"),a=t("./zlib/constants"),s=t("./zlib/messages"),l=t("./zlib/zstream"),c=t("./zlib/gzheader"),u=Object.prototype.toString;function h(t){if(!(this instanceof h))return new h(t);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&0<=e.windowBits&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(0<=e.windowBits&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),15<e.windowBits&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,e.windowBits);if(n!==a.Z_OK)throw new Error(s[n]);this.header=new c,r.inflateGetHeader(this.strm,this.header)}function f(t,e){var n=new h(e);if(n.push(t,!0),n.err)throw n.msg||s[n.err];return n.result}h.prototype.push=function(t,e){var n,s,l,c,h,f,d=this.strm,p=this.options.chunkSize,m=this.options.dictionary,g=!1;if(this.ended)return!1;s=e===~~e?e:!0===e?a.Z_FINISH:a.Z_NO_FLUSH,"string"==typeof t?d.input=o.binstring2buf(t):"[object ArrayBuffer]"===u.call(t)?d.input=new Uint8Array(t):d.input=t,d.next_in=0,d.avail_in=d.input.length;do{if(0===d.avail_out&&(d.output=new i.Buf8(p),d.next_out=0,d.avail_out=p),(n=r.inflate(d,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&m&&(f="string"==typeof m?o.string2buf(m):"[object ArrayBuffer]"===u.call(m)?new Uint8Array(m):m,n=r.inflateSetDictionary(this.strm,f)),n===a.Z_BUF_ERROR&&!0===g&&(n=a.Z_OK,g=!1),n!==a.Z_STREAM_END&&n!==a.Z_OK)return this.onEnd(n),!(this.ended=!0);d.next_out&&(0!==d.avail_out&&n!==a.Z_STREAM_END&&(0!==d.avail_in||s!==a.Z_FINISH&&s!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(l=o.utf8border(d.output,d.next_out),c=d.next_out-l,h=o.buf2string(d.output,l),d.next_out=c,d.avail_out=p-c,c&&i.arraySet(d.output,d.output,l,c,0),this.onData(h)):this.onData(i.shrinkBuf(d.output,d.next_out)))),0===d.avail_in&&0===d.avail_out&&(g=!0)}while((0<d.avail_in||0===d.avail_out)&&n!==a.Z_STREAM_END);return n===a.Z_STREAM_END&&(s=a.Z_FINISH),s===a.Z_FINISH?(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===a.Z_OK):s!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),!(d.avail_out=0))},h.prototype.onData=function(t){this.chunks.push(t)},h.prototype.onEnd=function(t){t===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},n.Inflate=h,n.inflate=f,n.inflateRaw=function(t,e){return(e=e||{}).raw=!0,f(t,e)},n.ungzip=f},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(t,e,n){var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;n.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var n=e.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var r in n)n.hasOwnProperty(r)&&(t[r]=n[r])}}return t},n.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var i={arraySet:function(t,e,n,r,i){if(e.subarray&&t.subarray)t.set(e.subarray(n,n+r),i);else for(var o=0;o<r;o++)t[i+o]=e[n+o]},flattenChunks:function(t){var e,n,r,i,o,a;for(e=r=0,n=t.length;e<n;e++)r+=t[e].length;for(a=new Uint8Array(r),e=i=0,n=t.length;e<n;e++)o=t[e],a.set(o,i),i+=o.length;return a}},o={arraySet:function(t,e,n,r,i){for(var o=0;o<r;o++)t[i+o]=e[n+o]},flattenChunks:function(t){return[].concat.apply([],t)}};n.setTyped=function(t){t?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,i)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,o))},n.setTyped(r)},{}],42:[function(t,e,n){var r=t("./common"),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(t){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){o=!1}for(var a=new r.Buf8(256),s=0;s<256;s++)a[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function l(t,e){if(e<65537&&(t.subarray&&o||!t.subarray&&i))return String.fromCharCode.apply(null,r.shrinkBuf(t,e));for(var n="",a=0;a<e;a++)n+=String.fromCharCode(t[a]);return n}a[254]=a[254]=1,n.string2buf=function(t){var e,n,i,o,a,s=t.length,l=0;for(o=0;o<s;o++)55296==(64512&(n=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=t.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),l+=n<128?1:n<2048?2:n<65536?3:4;for(e=new r.Buf8(l),o=a=0;a<l;o++)55296==(64512&(n=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=t.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),n<128?e[a++]=n:(n<2048?e[a++]=192|n>>>6:(n<65536?e[a++]=224|n>>>12:(e[a++]=240|n>>>18,e[a++]=128|n>>>12&63),e[a++]=128|n>>>6&63),e[a++]=128|63&n);return e},n.buf2binstring=function(t){return l(t,t.length)},n.binstring2buf=function(t){for(var e=new r.Buf8(t.length),n=0,i=e.length;n<i;n++)e[n]=t.charCodeAt(n);return e},n.buf2string=function(t,e){var n,r,i,o,s=e||t.length,c=new Array(2*s);for(n=r=0;n<s;)if((i=t[n++])<128)c[r++]=i;else if(4<(o=a[i]))c[r++]=65533,n+=o-1;else{for(i&=2===o?31:3===o?15:7;1<o&&n<s;)i=i<<6|63&t[n++],o--;1<o?c[r++]=65533:i<65536?c[r++]=i:(i-=65536,c[r++]=55296|i>>10&1023,c[r++]=56320|1023&i)}return l(c,r)},n.utf8border=function(t,e){var n;for((e=e||t.length)>t.length&&(e=t.length),n=e-1;0<=n&&128==(192&t[n]);)n--;return n<0||0===n?e:n+a[t[n]]>e?n:e}},{"./common":41}],43:[function(t,e,n){e.exports=function(t,e,n,r){for(var i=65535&t|0,o=t>>>16&65535|0,a=0;0!==n;){for(n-=a=2e3<n?2e3:n;o=o+(i=i+e[r++]|0)|0,--a;);i%=65521,o%=65521}return i|o<<16|0}},{}],44:[function(t,e,n){e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(t,e,n){var r=function(){for(var t,e=[],n=0;n<256;n++){t=n;for(var r=0;r<8;r++)t=1&t?3988292384^t>>>1:t>>>1;e[n]=t}return e}();e.exports=function(t,e,n,i){var o=r,a=i+n;t^=-1;for(var s=i;s<a;s++)t=t>>>8^o[255&(t^e[s])];return-1^t}},{}],46:[function(t,e,n){var r,i=t("../utils/common"),o=t("./trees"),a=t("./adler32"),s=t("./crc32"),l=t("./messages"),c=0,u=0,h=-2,f=2,d=8,p=286,m=30,g=19,y=2*p+1,w=15,b=3,v=258,E=v+b+1,_=42,A=113;function M(t,e){return t.msg=l[e],e}function T(t){return(t<<1)-(4<t?9:0)}function x(t){for(var e=t.length;0<=--e;)t[e]=0}function S(t){var e=t.state,n=e.pending;n>t.avail_out&&(n=t.avail_out),0!==n&&(i.arraySet(t.output,e.pending_buf,e.pending_out,n,t.next_out),t.next_out+=n,e.pending_out+=n,t.total_out+=n,t.avail_out-=n,e.pending-=n,0===e.pending&&(e.pending_out=0))}function k(t,e){o._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,S(t.strm)}function C(t,e){t.pending_buf[t.pending++]=e}function D(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function I(t,e){var n,r,i=t.max_chain_length,o=t.strstart,a=t.prev_length,s=t.nice_match,l=t.strstart>t.w_size-E?t.strstart-(t.w_size-E):0,c=t.window,u=t.w_mask,h=t.prev,f=t.strstart+v,d=c[o+a-1],p=c[o+a];t.prev_length>=t.good_match&&(i>>=2),s>t.lookahead&&(s=t.lookahead);do{if(c[(n=e)+a]===p&&c[n+a-1]===d&&c[n]===c[o]&&c[++n]===c[o+1]){o+=2,n++;do{}while(c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&o<f);if(r=v-(f-o),o=f-v,a<r){if(t.match_start=e,s<=(a=r))break;d=c[o+a-1],p=c[o+a]}}}while((e=h[e&u])>l&&0!=--i);return a<=t.lookahead?a:t.lookahead}function R(t){var e,n,r,o,l,c,u,h,f,d,p=t.w_size;do{if(o=t.window_size-t.lookahead-t.strstart,t.strstart>=p+(p-E)){for(i.arraySet(t.window,t.window,p,p,0),t.match_start-=p,t.strstart-=p,t.block_start-=p,e=n=t.hash_size;r=t.head[--e],t.head[e]=p<=r?r-p:0,--n;);for(e=n=p;r=t.prev[--e],t.prev[e]=p<=r?r-p:0,--n;);o+=p}if(0===t.strm.avail_in)break;if(c=t.strm,u=t.window,h=t.strstart+t.lookahead,d=void 0,(f=o)<(d=c.avail_in)&&(d=f),n=0===d?0:(c.avail_in-=d,i.arraySet(u,c.input,c.next_in,d,h),1===c.state.wrap?c.adler=a(c.adler,u,d,h):2===c.state.wrap&&(c.adler=s(c.adler,u,d,h)),c.next_in+=d,c.total_in+=d,d),t.lookahead+=n,t.lookahead+t.insert>=b)for(l=t.strstart-t.insert,t.ins_h=t.window[l],t.ins_h=(t.ins_h<<t.hash_shift^t.window[l+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[l+b-1])&t.hash_mask,t.prev[l&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=l,l++,t.insert--,!(t.lookahead+t.insert<b)););}while(t.lookahead<E&&0!==t.strm.avail_in)}function N(t,e){for(var n,r;;){if(t.lookahead<E){if(R(t),t.lookahead<E&&e===c)return 1;if(0===t.lookahead)break}if(n=0,t.lookahead>=b&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+b-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==n&&t.strstart-n<=t.w_size-E&&(t.match_length=I(t,n)),t.match_length>=b)if(r=o._tr_tally(t,t.strstart-t.match_start,t.match_length-b),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=b){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+b-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart,0!=--t.match_length;);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else r=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(r&&(k(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<b-1?t.strstart:b-1,4===e?(k(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(k(t,!1),0===t.strm.avail_out)?1:2}function O(t,e){for(var n,r,i;;){if(t.lookahead<E){if(R(t),t.lookahead<E&&e===c)return 1;if(0===t.lookahead)break}if(n=0,t.lookahead>=b&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+b-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=b-1,0!==n&&t.prev_length<t.max_lazy_match&&t.strstart-n<=t.w_size-E&&(t.match_length=I(t,n),t.match_length<=5&&(1===t.strategy||t.match_length===b&&4096<t.strstart-t.match_start)&&(t.match_length=b-1)),t.prev_length>=b&&t.match_length<=t.prev_length){for(i=t.strstart+t.lookahead-b,r=o._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-b),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=i&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+b-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!=--t.prev_length;);if(t.match_available=0,t.match_length=b-1,t.strstart++,r&&(k(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((r=o._tr_tally(t,0,t.window[t.strstart-1]))&&k(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(r=o._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<b-1?t.strstart:b-1,4===e?(k(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(k(t,!1),0===t.strm.avail_out)?1:2}function L(t,e,n,r,i){this.good_length=t,this.max_lazy=e,this.nice_length=n,this.max_chain=r,this.func=i}function P(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=d,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(2*y),this.dyn_dtree=new i.Buf16(2*(2*m+1)),this.bl_tree=new i.Buf16(2*(2*g+1)),x(this.dyn_ltree),x(this.dyn_dtree),x(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(w+1),this.heap=new i.Buf16(2*p+1),x(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*p+1),x(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function F(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=f,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?_:A,t.adler=2===e.wrap?0:1,e.last_flush=c,o._tr_init(e),u):M(t,h)}function B(t){var e,n=F(t);return n===u&&((e=t.state).window_size=2*e.w_size,x(e.head),e.max_lazy_match=r[e.level].max_lazy,e.good_match=r[e.level].good_length,e.nice_match=r[e.level].nice_length,e.max_chain_length=r[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=b-1,e.match_available=0,e.ins_h=0),n}function U(t,e,n,r,o,a){if(!t)return h;var s=1;if(-1===e&&(e=6),r<0?(s=0,r=-r):15<r&&(s=2,r-=16),o<1||9<o||n!==d||r<8||15<r||e<0||9<e||a<0||4<a)return M(t,h);8===r&&(r=9);var l=new P;return(t.state=l).strm=t,l.wrap=s,l.gzhead=null,l.w_bits=r,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=o+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+b-1)/b),l.window=new i.Buf8(2*l.w_size),l.head=new i.Buf16(l.hash_size),l.prev=new i.Buf16(l.w_size),l.lit_bufsize=1<<o+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new i.Buf8(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=e,l.strategy=a,l.method=n,B(t)}r=[new L(0,0,0,0,(function(t,e){var n=65535;for(n>t.pending_buf_size-5&&(n=t.pending_buf_size-5);;){if(t.lookahead<=1){if(R(t),0===t.lookahead&&e===c)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var r=t.block_start+n;if((0===t.strstart||t.strstart>=r)&&(t.lookahead=t.strstart-r,t.strstart=r,k(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-E&&(k(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(k(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(k(t,!1),t.strm.avail_out),1)})),new L(4,4,8,4,N),new L(4,5,16,8,N),new L(4,6,32,32,N),new L(4,4,16,16,O),new L(8,16,32,32,O),new L(8,16,128,128,O),new L(8,32,128,256,O),new L(32,128,258,1024,O),new L(32,258,258,4096,O)],n.deflateInit=function(t,e){return U(t,e,d,15,8,0)},n.deflateInit2=U,n.deflateReset=B,n.deflateResetKeep=F,n.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?h:(t.state.gzhead=e,u):h},n.deflate=function(t,e){var n,i,a,l;if(!t||!t.state||5<e||e<0)return t?M(t,h):h;if(i=t.state,!t.output||!t.input&&0!==t.avail_in||666===i.status&&4!==e)return M(t,0===t.avail_out?-5:h);if(i.strm=t,n=i.last_flush,i.last_flush=e,i.status===_)if(2===i.wrap)t.adler=0,C(i,31),C(i,139),C(i,8),i.gzhead?(C(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),C(i,255&i.gzhead.time),C(i,i.gzhead.time>>8&255),C(i,i.gzhead.time>>16&255),C(i,i.gzhead.time>>24&255),C(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),C(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(C(i,255&i.gzhead.extra.length),C(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(t.adler=s(t.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(C(i,0),C(i,0),C(i,0),C(i,0),C(i,0),C(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),C(i,3),i.status=A);else{var f=d+(i.w_bits-8<<4)<<8;f|=(2<=i.strategy||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(f|=32),f+=31-f%31,i.status=A,D(i,f),0!==i.strstart&&(D(i,t.adler>>>16),D(i,65535&t.adler)),t.adler=1}if(69===i.status)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),S(t),a=i.pending,i.pending!==i.pending_buf_size));)C(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),S(t),a=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,C(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),0===l&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),S(t),a=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,C(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),0===l&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&S(t),i.pending+2<=i.pending_buf_size&&(C(i,255&t.adler),C(i,t.adler>>8&255),t.adler=0,i.status=A)):i.status=A),0!==i.pending){if(S(t),0===t.avail_out)return i.last_flush=-1,u}else if(0===t.avail_in&&T(e)<=T(n)&&4!==e)return M(t,-5);if(666===i.status&&0!==t.avail_in)return M(t,-5);if(0!==t.avail_in||0!==i.lookahead||e!==c&&666!==i.status){var p=2===i.strategy?function(t,e){for(var n;;){if(0===t.lookahead&&(R(t),0===t.lookahead)){if(e===c)return 1;break}if(t.match_length=0,n=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,n&&(k(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(k(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(k(t,!1),0===t.strm.avail_out)?1:2}(i,e):3===i.strategy?function(t,e){for(var n,r,i,a,s=t.window;;){if(t.lookahead<=v){if(R(t),t.lookahead<=v&&e===c)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=b&&0<t.strstart&&(r=s[i=t.strstart-1])===s[++i]&&r===s[++i]&&r===s[++i]){a=t.strstart+v;do{}while(r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&i<a);t.match_length=v-(a-i),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=b?(n=o._tr_tally(t,1,t.match_length-b),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(n=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),n&&(k(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(k(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(k(t,!1),0===t.strm.avail_out)?1:2}(i,e):r[i.level].func(i,e);if(3!==p&&4!==p||(i.status=666),1===p||3===p)return 0===t.avail_out&&(i.last_flush=-1),u;if(2===p&&(1===e?o._tr_align(i):5!==e&&(o._tr_stored_block(i,0,0,!1),3===e&&(x(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),S(t),0===t.avail_out))return i.last_flush=-1,u}return 4!==e?u:i.wrap<=0?1:(2===i.wrap?(C(i,255&t.adler),C(i,t.adler>>8&255),C(i,t.adler>>16&255),C(i,t.adler>>24&255),C(i,255&t.total_in),C(i,t.total_in>>8&255),C(i,t.total_in>>16&255),C(i,t.total_in>>24&255)):(D(i,t.adler>>>16),D(i,65535&t.adler)),S(t),0<i.wrap&&(i.wrap=-i.wrap),0!==i.pending?u:1)},n.deflateEnd=function(t){var e;return t&&t.state?(e=t.state.status)!==_&&69!==e&&73!==e&&91!==e&&103!==e&&e!==A&&666!==e?M(t,h):(t.state=null,e===A?M(t,-3):u):h},n.deflateSetDictionary=function(t,e){var n,r,o,s,l,c,f,d,p=e.length;if(!t||!t.state)return h;if(2===(s=(n=t.state).wrap)||1===s&&n.status!==_||n.lookahead)return h;for(1===s&&(t.adler=a(t.adler,e,p,0)),n.wrap=0,p>=n.w_size&&(0===s&&(x(n.head),n.strstart=0,n.block_start=0,n.insert=0),d=new i.Buf8(n.w_size),i.arraySet(d,e,p-n.w_size,n.w_size,0),e=d,p=n.w_size),l=t.avail_in,c=t.next_in,f=t.input,t.avail_in=p,t.next_in=0,t.input=e,R(n);n.lookahead>=b;){for(r=n.strstart,o=n.lookahead-(b-1);n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+b-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++,--o;);n.strstart=r,n.lookahead=b-1,R(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=b-1,n.match_available=0,t.next_in=c,t.input=f,t.avail_in=l,n.wrap=s,u},n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(t,e,n){e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(t,e,n){e.exports=function(t,e){var n,r,i,o,a,s,l,c,u,h,f,d,p,m,g,y,w,b,v,E,_,A,M,T,x;n=t.state,r=t.next_in,T=t.input,i=r+(t.avail_in-5),o=t.next_out,x=t.output,a=o-(e-t.avail_out),s=o+(t.avail_out-257),l=n.dmax,c=n.wsize,u=n.whave,h=n.wnext,f=n.window,d=n.hold,p=n.bits,m=n.lencode,g=n.distcode,y=(1<<n.lenbits)-1,w=(1<<n.distbits)-1;t:do{p<15&&(d+=T[r++]<<p,p+=8,d+=T[r++]<<p,p+=8),b=m[d&y];e:for(;;){if(d>>>=v=b>>>24,p-=v,0==(v=b>>>16&255))x[o++]=65535&b;else{if(!(16&v)){if(0==(64&v)){b=m[(65535&b)+(d&(1<<v)-1)];continue e}if(32&v){n.mode=12;break t}t.msg="invalid literal/length code",n.mode=30;break t}E=65535&b,(v&=15)&&(p<v&&(d+=T[r++]<<p,p+=8),E+=d&(1<<v)-1,d>>>=v,p-=v),p<15&&(d+=T[r++]<<p,p+=8,d+=T[r++]<<p,p+=8),b=g[d&w];n:for(;;){if(d>>>=v=b>>>24,p-=v,!(16&(v=b>>>16&255))){if(0==(64&v)){b=g[(65535&b)+(d&(1<<v)-1)];continue n}t.msg="invalid distance code",n.mode=30;break t}if(_=65535&b,p<(v&=15)&&(d+=T[r++]<<p,(p+=8)<v&&(d+=T[r++]<<p,p+=8)),l<(_+=d&(1<<v)-1)){t.msg="invalid distance too far back",n.mode=30;break t}if(d>>>=v,p-=v,(v=o-a)<_){if(u<(v=_-v)&&n.sane){t.msg="invalid distance too far back",n.mode=30;break t}if(M=f,(A=0)===h){if(A+=c-v,v<E){for(E-=v;x[o++]=f[A++],--v;);A=o-_,M=x}}else if(h<v){if(A+=c+h-v,(v-=h)<E){for(E-=v;x[o++]=f[A++],--v;);if(A=0,h<E){for(E-=v=h;x[o++]=f[A++],--v;);A=o-_,M=x}}}else if(A+=h-v,v<E){for(E-=v;x[o++]=f[A++],--v;);A=o-_,M=x}for(;2<E;)x[o++]=M[A++],x[o++]=M[A++],x[o++]=M[A++],E-=3;E&&(x[o++]=M[A++],1<E&&(x[o++]=M[A++]))}else{for(A=o-_;x[o++]=x[A++],x[o++]=x[A++],x[o++]=x[A++],2<(E-=3););E&&(x[o++]=x[A++],1<E&&(x[o++]=x[A++]))}break}}break}}while(r<i&&o<s);r-=E=p>>3,d&=(1<<(p-=E<<3))-1,t.next_in=r,t.next_out=o,t.avail_in=r<i?i-r+5:5-(r-i),t.avail_out=o<s?s-o+257:257-(o-s),n.hold=d,n.bits=p}},{}],49:[function(t,e,n){var r=t("../utils/common"),i=t("./adler32"),o=t("./crc32"),a=t("./inffast"),s=t("./inftrees"),l=0,c=-2,u=1,h=852,f=592;function d(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function p(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function m(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=u,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new r.Buf32(h),e.distcode=e.distdyn=new r.Buf32(f),e.sane=1,e.back=-1,l):c}function g(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,m(t)):c}function y(t,e){var n,r;return t&&t.state?(r=t.state,e<0?(n=0,e=-e):(n=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15<e)?c:(null!==r.window&&r.wbits!==e&&(r.window=null),r.wrap=n,r.wbits=e,g(t))):c}function w(t,e){var n,r;return t?(r=new p,(t.state=r).window=null,(n=y(t,e))!==l&&(t.state=null),n):c}var b,v,E=!0;function _(t){if(E){var e;for(b=new r.Buf32(512),v=new r.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(s(1,t.lens,0,288,b,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;s(2,t.lens,0,32,v,0,t.work,{bits:5}),E=!1}t.lencode=b,t.lenbits=9,t.distcode=v,t.distbits=5}function A(t,e,n,i){var o,a=t.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new r.Buf8(a.wsize)),i>=a.wsize?(r.arraySet(a.window,e,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(i<(o=a.wsize-a.wnext)&&(o=i),r.arraySet(a.window,e,n-i,o,a.wnext),(i-=o)?(r.arraySet(a.window,e,n-i,i,0),a.wnext=i,a.whave=a.wsize):(a.wnext+=o,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=o))),0}n.inflateReset=g,n.inflateReset2=y,n.inflateResetKeep=m,n.inflateInit=function(t){return w(t,15)},n.inflateInit2=w,n.inflate=function(t,e){var n,h,f,p,m,g,y,w,b,v,E,M,T,x,S,k,C,D,I,R,N,O,L,P,F=0,B=new r.Buf8(4),U=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return c;12===(n=t.state).mode&&(n.mode=13),m=t.next_out,f=t.output,y=t.avail_out,p=t.next_in,h=t.input,g=t.avail_in,w=n.hold,b=n.bits,v=g,E=y,O=l;t:for(;;)switch(n.mode){case u:if(0===n.wrap){n.mode=13;break}for(;b<16;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}if(2&n.wrap&&35615===w){B[n.check=0]=255&w,B[1]=w>>>8&255,n.check=o(n.check,B,2,0),b=w=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&w)<<8)+(w>>8))%31){t.msg="incorrect header check",n.mode=30;break}if(8!=(15&w)){t.msg="unknown compression method",n.mode=30;break}if(b-=4,N=8+(15&(w>>>=4)),0===n.wbits)n.wbits=N;else if(N>n.wbits){t.msg="invalid window size",n.mode=30;break}n.dmax=1<<N,t.adler=n.check=1,n.mode=512&w?10:12,b=w=0;break;case 2:for(;b<16;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}if(n.flags=w,8!=(255&n.flags)){t.msg="unknown compression method",n.mode=30;break}if(57344&n.flags){t.msg="unknown header flags set",n.mode=30;break}n.head&&(n.head.text=w>>8&1),512&n.flags&&(B[0]=255&w,B[1]=w>>>8&255,n.check=o(n.check,B,2,0)),b=w=0,n.mode=3;case 3:for(;b<32;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}n.head&&(n.head.time=w),512&n.flags&&(B[0]=255&w,B[1]=w>>>8&255,B[2]=w>>>16&255,B[3]=w>>>24&255,n.check=o(n.check,B,4,0)),b=w=0,n.mode=4;case 4:for(;b<16;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}n.head&&(n.head.xflags=255&w,n.head.os=w>>8),512&n.flags&&(B[0]=255&w,B[1]=w>>>8&255,n.check=o(n.check,B,2,0)),b=w=0,n.mode=5;case 5:if(1024&n.flags){for(;b<16;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}n.length=w,n.head&&(n.head.extra_len=w),512&n.flags&&(B[0]=255&w,B[1]=w>>>8&255,n.check=o(n.check,B,2,0)),b=w=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(g<(M=n.length)&&(M=g),M&&(n.head&&(N=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,h,p,M,N)),512&n.flags&&(n.check=o(n.check,h,M,p)),g-=M,p+=M,n.length-=M),n.length))break t;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===g)break t;for(M=0;N=h[p+M++],n.head&&N&&n.length<65536&&(n.head.name+=String.fromCharCode(N)),N&&M<g;);if(512&n.flags&&(n.check=o(n.check,h,M,p)),g-=M,p+=M,N)break t}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===g)break t;for(M=0;N=h[p+M++],n.head&&N&&n.length<65536&&(n.head.comment+=String.fromCharCode(N)),N&&M<g;);if(512&n.flags&&(n.check=o(n.check,h,M,p)),g-=M,p+=M,N)break t}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;b<16;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}if(w!==(65535&n.check)){t.msg="header crc mismatch",n.mode=30;break}b=w=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),t.adler=n.check=0,n.mode=12;break;case 10:for(;b<32;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}t.adler=n.check=d(w),b=w=0,n.mode=11;case 11:if(0===n.havedict)return t.next_out=m,t.avail_out=y,t.next_in=p,t.avail_in=g,n.hold=w,n.bits=b,2;t.adler=n.check=1,n.mode=12;case 12:if(5===e||6===e)break t;case 13:if(n.last){w>>>=7&b,b-=7&b,n.mode=27;break}for(;b<3;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}switch(n.last=1&w,b-=1,3&(w>>>=1)){case 0:n.mode=14;break;case 1:if(_(n),n.mode=20,6!==e)break;w>>>=2,b-=2;break t;case 2:n.mode=17;break;case 3:t.msg="invalid block type",n.mode=30}w>>>=2,b-=2;break;case 14:for(w>>>=7&b,b-=7&b;b<32;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}if((65535&w)!=(w>>>16^65535)){t.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&w,b=w=0,n.mode=15,6===e)break t;case 15:n.mode=16;case 16:if(M=n.length){if(g<M&&(M=g),y<M&&(M=y),0===M)break t;r.arraySet(f,h,p,M,m),g-=M,p+=M,y-=M,m+=M,n.length-=M;break}n.mode=12;break;case 17:for(;b<14;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}if(n.nlen=257+(31&w),w>>>=5,b-=5,n.ndist=1+(31&w),w>>>=5,b-=5,n.ncode=4+(15&w),w>>>=4,b-=4,286<n.nlen||30<n.ndist){t.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;b<3;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}n.lens[U[n.have++]]=7&w,w>>>=3,b-=3}for(;n.have<19;)n.lens[U[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,L={bits:n.lenbits},O=s(0,n.lens,0,19,n.lencode,0,n.work,L),n.lenbits=L.bits,O){t.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;k=(F=n.lencode[w&(1<<n.lenbits)-1])>>>16&255,C=65535&F,!((S=F>>>24)<=b);){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}if(C<16)w>>>=S,b-=S,n.lens[n.have++]=C;else{if(16===C){for(P=S+2;b<P;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}if(w>>>=S,b-=S,0===n.have){t.msg="invalid bit length repeat",n.mode=30;break}N=n.lens[n.have-1],M=3+(3&w),w>>>=2,b-=2}else if(17===C){for(P=S+3;b<P;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}b-=S,N=0,M=3+(7&(w>>>=S)),w>>>=3,b-=3}else{for(P=S+7;b<P;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}b-=S,N=0,M=11+(127&(w>>>=S)),w>>>=7,b-=7}if(n.have+M>n.nlen+n.ndist){t.msg="invalid bit length repeat",n.mode=30;break}for(;M--;)n.lens[n.have++]=N}}if(30===n.mode)break;if(0===n.lens[256]){t.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,L={bits:n.lenbits},O=s(1,n.lens,0,n.nlen,n.lencode,0,n.work,L),n.lenbits=L.bits,O){t.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,L={bits:n.distbits},O=s(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,L),n.distbits=L.bits,O){t.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===e)break t;case 20:n.mode=21;case 21:if(6<=g&&258<=y){t.next_out=m,t.avail_out=y,t.next_in=p,t.avail_in=g,n.hold=w,n.bits=b,a(t,E),m=t.next_out,f=t.output,y=t.avail_out,p=t.next_in,h=t.input,g=t.avail_in,w=n.hold,b=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;k=(F=n.lencode[w&(1<<n.lenbits)-1])>>>16&255,C=65535&F,!((S=F>>>24)<=b);){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}if(k&&0==(240&k)){for(D=S,I=k,R=C;k=(F=n.lencode[R+((w&(1<<D+I)-1)>>D)])>>>16&255,C=65535&F,!(D+(S=F>>>24)<=b);){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}w>>>=D,b-=D,n.back+=D}if(w>>>=S,b-=S,n.back+=S,n.length=C,0===k){n.mode=26;break}if(32&k){n.back=-1,n.mode=12;break}if(64&k){t.msg="invalid literal/length code",n.mode=30;break}n.extra=15&k,n.mode=22;case 22:if(n.extra){for(P=n.extra;b<P;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}n.length+=w&(1<<n.extra)-1,w>>>=n.extra,b-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;k=(F=n.distcode[w&(1<<n.distbits)-1])>>>16&255,C=65535&F,!((S=F>>>24)<=b);){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}if(0==(240&k)){for(D=S,I=k,R=C;k=(F=n.distcode[R+((w&(1<<D+I)-1)>>D)])>>>16&255,C=65535&F,!(D+(S=F>>>24)<=b);){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}w>>>=D,b-=D,n.back+=D}if(w>>>=S,b-=S,n.back+=S,64&k){t.msg="invalid distance code",n.mode=30;break}n.offset=C,n.extra=15&k,n.mode=24;case 24:if(n.extra){for(P=n.extra;b<P;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}n.offset+=w&(1<<n.extra)-1,w>>>=n.extra,b-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){t.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===y)break t;if(M=E-y,n.offset>M){if((M=n.offset-M)>n.whave&&n.sane){t.msg="invalid distance too far back",n.mode=30;break}T=M>n.wnext?(M-=n.wnext,n.wsize-M):n.wnext-M,M>n.length&&(M=n.length),x=n.window}else x=f,T=m-n.offset,M=n.length;for(y<M&&(M=y),y-=M,n.length-=M;f[m++]=x[T++],--M;);0===n.length&&(n.mode=21);break;case 26:if(0===y)break t;f[m++]=n.length,y--,n.mode=21;break;case 27:if(n.wrap){for(;b<32;){if(0===g)break t;g--,w|=h[p++]<<b,b+=8}if(E-=y,t.total_out+=E,n.total+=E,E&&(t.adler=n.check=n.flags?o(n.check,f,E,m-E):i(n.check,f,E,m-E)),E=y,(n.flags?w:d(w))!==n.check){t.msg="incorrect data check",n.mode=30;break}b=w=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;b<32;){if(0===g)break t;g--,w+=h[p++]<<b,b+=8}if(w!==(4294967295&n.total)){t.msg="incorrect length check",n.mode=30;break}b=w=0}n.mode=29;case 29:O=1;break t;case 30:O=-3;break t;case 31:return-4;default:return c}return t.next_out=m,t.avail_out=y,t.next_in=p,t.avail_in=g,n.hold=w,n.bits=b,(n.wsize||E!==t.avail_out&&n.mode<30&&(n.mode<27||4!==e))&&A(t,t.output,t.next_out,E-t.avail_out)?(n.mode=31,-4):(v-=t.avail_in,E-=t.avail_out,t.total_in+=v,t.total_out+=E,n.total+=E,n.wrap&&E&&(t.adler=n.check=n.flags?o(n.check,f,E,t.next_out-E):i(n.check,f,E,t.next_out-E)),t.data_type=n.bits+(n.last?64:0)+(12===n.mode?128:0)+(20===n.mode||15===n.mode?256:0),(0==v&&0===E||4===e)&&O===l&&(O=-5),O)},n.inflateEnd=function(t){if(!t||!t.state)return c;var e=t.state;return e.window&&(e.window=null),t.state=null,l},n.inflateGetHeader=function(t,e){var n;return t&&t.state?0==(2&(n=t.state).wrap)?c:((n.head=e).done=!1,l):c},n.inflateSetDictionary=function(t,e){var n,r=e.length;return t&&t.state?0!==(n=t.state).wrap&&11!==n.mode?c:11===n.mode&&i(1,e,r,0)!==n.check?-3:A(t,e,r,r)?(n.mode=31,-4):(n.havedict=1,l):c},n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(t,e,n){var r=t("../utils/common"),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(t,e,n,l,c,u,h,f){var d,p,m,g,y,w,b,v,E,_=f.bits,A=0,M=0,T=0,x=0,S=0,k=0,C=0,D=0,I=0,R=0,N=null,O=0,L=new r.Buf16(16),P=new r.Buf16(16),F=null,B=0;for(A=0;A<=15;A++)L[A]=0;for(M=0;M<l;M++)L[e[n+M]]++;for(S=_,x=15;1<=x&&0===L[x];x--);if(x<S&&(S=x),0===x)return c[u++]=20971520,c[u++]=20971520,f.bits=1,0;for(T=1;T<x&&0===L[T];T++);for(S<T&&(S=T),A=D=1;A<=15;A++)if(D<<=1,(D-=L[A])<0)return-1;if(0<D&&(0===t||1!==x))return-1;for(P[1]=0,A=1;A<15;A++)P[A+1]=P[A]+L[A];for(M=0;M<l;M++)0!==e[n+M]&&(h[P[e[n+M]]++]=M);if(w=0===t?(N=F=h,19):1===t?(N=i,O-=257,F=o,B-=257,256):(N=a,F=s,-1),A=T,y=u,C=M=R=0,m=-1,g=(I=1<<(k=S))-1,1===t&&852<I||2===t&&592<I)return 1;for(;;){for(b=A-C,E=h[M]<w?(v=0,h[M]):h[M]>w?(v=F[B+h[M]],N[O+h[M]]):(v=96,0),d=1<<A-C,T=p=1<<k;c[y+(R>>C)+(p-=d)]=b<<24|v<<16|E|0,0!==p;);for(d=1<<A-1;R&d;)d>>=1;if(0!==d?(R&=d-1,R+=d):R=0,M++,0==--L[A]){if(A===x)break;A=e[n+h[M]]}if(S<A&&(R&g)!==m){for(0===C&&(C=S),y+=T,D=1<<(k=A-C);k+C<x&&!((D-=L[k+C])<=0);)k++,D<<=1;if(I+=1<<k,1===t&&852<I||2===t&&592<I)return 1;c[m=R&g]=S<<24|k<<16|y-u|0}}return 0!==R&&(c[y+R]=A-C<<24|64<<16|0),f.bits=S,0}},{"../utils/common":41}],51:[function(t,e,n){e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(t,e,n){var r=t("../utils/common");function i(t){for(var e=t.length;0<=--e;)t[e]=0}var o=256,a=286,s=30,l=15,c=16,u=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],h=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],f=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],d=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],p=new Array(576);i(p);var m=new Array(60);i(m);var g=new Array(512);i(g);var y=new Array(256);i(y);var w=new Array(29);i(w);var b,v,E,_=new Array(s);function A(t,e,n,r,i){this.static_tree=t,this.extra_bits=e,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=t&&t.length}function M(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function T(t){return t<256?g[t]:g[256+(t>>>7)]}function x(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function S(t,e,n){t.bi_valid>c-n?(t.bi_buf|=e<<t.bi_valid&65535,x(t,t.bi_buf),t.bi_buf=e>>c-t.bi_valid,t.bi_valid+=n-c):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=n)}function k(t,e,n){S(t,n[2*e],n[2*e+1])}function C(t,e){for(var n=0;n|=1&t,t>>>=1,n<<=1,0<--e;);return n>>>1}function D(t,e,n){var r,i,o=new Array(l+1),a=0;for(r=1;r<=l;r++)o[r]=a=a+n[r-1]<<1;for(i=0;i<=e;i++){var s=t[2*i+1];0!==s&&(t[2*i]=C(o[s]++,s))}}function I(t){var e;for(e=0;e<a;e++)t.dyn_ltree[2*e]=0;for(e=0;e<s;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function R(t){8<t.bi_valid?x(t,t.bi_buf):0<t.bi_valid&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function N(t,e,n,r){var i=2*e,o=2*n;return t[i]<t[o]||t[i]===t[o]&&r[e]<=r[n]}function O(t,e,n){for(var r=t.heap[n],i=n<<1;i<=t.heap_len&&(i<t.heap_len&&N(e,t.heap[i+1],t.heap[i],t.depth)&&i++,!N(e,r,t.heap[i],t.depth));)t.heap[n]=t.heap[i],n=i,i<<=1;t.heap[n]=r}function L(t,e,n){var r,i,a,s,l=0;if(0!==t.last_lit)for(;r=t.pending_buf[t.d_buf+2*l]<<8|t.pending_buf[t.d_buf+2*l+1],i=t.pending_buf[t.l_buf+l],l++,0===r?k(t,i,e):(k(t,(a=y[i])+o+1,e),0!==(s=u[a])&&S(t,i-=w[a],s),k(t,a=T(--r),n),0!==(s=h[a])&&S(t,r-=_[a],s)),l<t.last_lit;);k(t,256,e)}function P(t,e){var n,r,i,o=e.dyn_tree,a=e.stat_desc.static_tree,s=e.stat_desc.has_stree,c=e.stat_desc.elems,u=-1;for(t.heap_len=0,t.heap_max=573,n=0;n<c;n++)0!==o[2*n]?(t.heap[++t.heap_len]=u=n,t.depth[n]=0):o[2*n+1]=0;for(;t.heap_len<2;)o[2*(i=t.heap[++t.heap_len]=u<2?++u:0)]=1,t.depth[i]=0,t.opt_len--,s&&(t.static_len-=a[2*i+1]);for(e.max_code=u,n=t.heap_len>>1;1<=n;n--)O(t,o,n);for(i=c;n=t.heap[1],t.heap[1]=t.heap[t.heap_len--],O(t,o,1),r=t.heap[1],t.heap[--t.heap_max]=n,t.heap[--t.heap_max]=r,o[2*i]=o[2*n]+o[2*r],t.depth[i]=(t.depth[n]>=t.depth[r]?t.depth[n]:t.depth[r])+1,o[2*n+1]=o[2*r+1]=i,t.heap[1]=i++,O(t,o,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1],function(t,e){var n,r,i,o,a,s,c=e.dyn_tree,u=e.max_code,h=e.stat_desc.static_tree,f=e.stat_desc.has_stree,d=e.stat_desc.extra_bits,p=e.stat_desc.extra_base,m=e.stat_desc.max_length,g=0;for(o=0;o<=l;o++)t.bl_count[o]=0;for(c[2*t.heap[t.heap_max]+1]=0,n=t.heap_max+1;n<573;n++)m<(o=c[2*c[2*(r=t.heap[n])+1]+1]+1)&&(o=m,g++),c[2*r+1]=o,u<r||(t.bl_count[o]++,a=0,p<=r&&(a=d[r-p]),s=c[2*r],t.opt_len+=s*(o+a),f&&(t.static_len+=s*(h[2*r+1]+a)));if(0!==g){do{for(o=m-1;0===t.bl_count[o];)o--;t.bl_count[o]--,t.bl_count[o+1]+=2,t.bl_count[m]--,g-=2}while(0<g);for(o=m;0!==o;o--)for(r=t.bl_count[o];0!==r;)u<(i=t.heap[--n])||(c[2*i+1]!==o&&(t.opt_len+=(o-c[2*i+1])*c[2*i],c[2*i+1]=o),r--)}}(t,e),D(o,u,t.bl_count)}function F(t,e,n){var r,i,o=-1,a=e[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),e[2*(n+1)+1]=65535,r=0;r<=n;r++)i=a,a=e[2*(r+1)+1],++s<l&&i===a||(s<c?t.bl_tree[2*i]+=s:0!==i?(i!==o&&t.bl_tree[2*i]++,t.bl_tree[32]++):s<=10?t.bl_tree[34]++:t.bl_tree[36]++,o=i,c=(s=0)===a?(l=138,3):i===a?(l=6,3):(l=7,4))}function B(t,e,n){var r,i,o=-1,a=e[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),r=0;r<=n;r++)if(i=a,a=e[2*(r+1)+1],!(++s<l&&i===a)){if(s<c)for(;k(t,i,t.bl_tree),0!=--s;);else 0!==i?(i!==o&&(k(t,i,t.bl_tree),s--),k(t,16,t.bl_tree),S(t,s-3,2)):s<=10?(k(t,17,t.bl_tree),S(t,s-3,3)):(k(t,18,t.bl_tree),S(t,s-11,7));o=i,c=(s=0)===a?(l=138,3):i===a?(l=6,3):(l=7,4)}}i(_);var U=!1;function j(t,e,n,i){var o,a,s;S(t,0+(i?1:0),3),a=e,s=n,R(o=t),x(o,s),x(o,~s),r.arraySet(o.pending_buf,o.window,a,s,o.pending),o.pending+=s}n._tr_init=function(t){U||(function(){var t,e,n,r,i,o=new Array(l+1);for(r=n=0;r<28;r++)for(w[r]=n,t=0;t<1<<u[r];t++)y[n++]=r;for(y[n-1]=r,r=i=0;r<16;r++)for(_[r]=i,t=0;t<1<<h[r];t++)g[i++]=r;for(i>>=7;r<s;r++)for(_[r]=i<<7,t=0;t<1<<h[r]-7;t++)g[256+i++]=r;for(e=0;e<=l;e++)o[e]=0;for(t=0;t<=143;)p[2*t+1]=8,t++,o[8]++;for(;t<=255;)p[2*t+1]=9,t++,o[9]++;for(;t<=279;)p[2*t+1]=7,t++,o[7]++;for(;t<=287;)p[2*t+1]=8,t++,o[8]++;for(D(p,287,o),t=0;t<s;t++)m[2*t+1]=5,m[2*t]=C(t,5);b=new A(p,u,257,a,l),v=new A(m,h,0,s,l),E=new A(new Array(0),f,0,19,7)}(),U=!0),t.l_desc=new M(t.dyn_ltree,b),t.d_desc=new M(t.dyn_dtree,v),t.bl_desc=new M(t.bl_tree,E),t.bi_buf=0,t.bi_valid=0,I(t)},n._tr_stored_block=j,n._tr_flush_block=function(t,e,n,r){var i,a,s=0;0<t.level?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,n=4093624447;for(e=0;e<=31;e++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<o;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),P(t,t.l_desc),P(t,t.d_desc),s=function(t){var e;for(F(t,t.dyn_ltree,t.l_desc.max_code),F(t,t.dyn_dtree,t.d_desc.max_code),P(t,t.bl_desc),e=18;3<=e&&0===t.bl_tree[2*d[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),i=t.opt_len+3+7>>>3,(a=t.static_len+3+7>>>3)<=i&&(i=a)):i=a=n+5,n+4<=i&&-1!==e?j(t,e,n,r):4===t.strategy||a===i?(S(t,2+(r?1:0),3),L(t,p,m)):(S(t,4+(r?1:0),3),function(t,e,n,r){var i;for(S(t,e-257,5),S(t,n-1,5),S(t,r-4,4),i=0;i<r;i++)S(t,t.bl_tree[2*d[i]+1],3);B(t,t.dyn_ltree,e-1),B(t,t.dyn_dtree,n-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,s+1),L(t,t.dyn_ltree,t.dyn_dtree)),I(t),r&&R(t)},n._tr_tally=function(t,e,n){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(y[n]+o+1)]++,t.dyn_dtree[2*T(e)]++),t.last_lit===t.lit_bufsize-1},n._tr_align=function(t){var e;S(t,2,3),k(t,256,p),16===(e=t).bi_valid?(x(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}},{"../utils/common":41}],53:[function(t,e,n){e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(t,e,n){(function(t){!function(t,e){if(!t.setImmediate){var n,r,i,o,a=1,s={},l=!1,c=t.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(t);u=u&&u.setTimeout?u:t,n="[object process]"==={}.toString.call(t.process)?function(t){zs.nextTick((function(){f(t)}))}:function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?(o="setImmediate$"+Math.random()+"$",t.addEventListener?t.addEventListener("message",d,!1):t.attachEvent("onmessage",d),function(e){t.postMessage(o+e,"*")}):t.MessageChannel?((i=new MessageChannel).port1.onmessage=function(t){f(t.data)},function(t){i.port2.postMessage(t)}):c&&"onreadystatechange"in c.createElement("script")?(r=c.documentElement,function(t){var e=c.createElement("script");e.onreadystatechange=function(){f(t),e.onreadystatechange=null,r.removeChild(e),e=null},r.appendChild(e)}):function(t){setTimeout(f,0,t)},u.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),r=0;r<e.length;r++)e[r]=arguments[r+1];var i={callback:t,args:e};return s[a]=i,n(a),a++},u.clearImmediate=h}function h(t){delete s[t]}function f(t){if(l)setTimeout(f,0,t);else{var n=s[t];if(n){l=!0;try{!function(t){var n=t.callback,r=t.args;switch(r.length){case 0:n();break;case 1:n(r[0]);break;case 2:n(r[0],r[1]);break;case 3:n(r[0],r[1],r[2]);break;default:n.apply(e,r)}}(n)}finally{h(t),l=!1}}}}function d(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(o)&&f(+e.data.slice(o.length))}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,void 0!==is?is:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[10])(10)}(tg);const eg=os(tg.exports);var ng={exports:{}},rg={"&":"&amp;",'"':"&quot;","'":"&apos;","<":"&lt;",">":"&gt;"},ig=function(t){return t&&t.replace?t.replace(/([&"<>'])/g,(function(t,e){return rg[e]})):t},og=Yc.Stream;function ag(t,e,n){n=n||0;var r,i,o=(r=e,new Array(n||0).join(r||"")),a=t;if("object"==typeof t&&(a=t[i=Object.keys(t)[0]])&&a._elem)return a._elem.name=i,a._elem.icount=n,a._elem.indent=e,a._elem.indents=o,a._elem.interrupt=a,a._elem;var s,l=[],c=[];function u(t){Object.keys(t).forEach((function(e){l.push(function(t,e){return t+'="'+ig(e)+'"'}(e,t[e]))}))}switch(typeof a){case"object":if(null===a)break;a._attr&&u(a._attr),a._cdata&&c.push(("<![CDATA["+a._cdata).replace(/\]\]>/g,"]]]]><![CDATA[>")+"]]>"),a.forEach&&(s=!1,c.push(""),a.forEach((function(t){"object"==typeof t?"_attr"==Object.keys(t)[0]?u(t._attr):c.push(ag(t,e,n+1)):(c.pop(),s=!0,c.push(ig(t)))})),s||c.push(""));break;default:c.push(ig(a))}return{name:i,interrupt:!1,attributes:l,content:c,icount:n,indents:o,indent:e}}function sg(t,e,n){if("object"!=typeof e)return t(!1,e);var r=e.interrupt?1:e.content.length;function i(){for(;e.content.length;){var i=e.content.shift();if(void 0!==i){if(o(i))return;sg(t,i)}}t(!1,(r>1?e.indents:"")+(e.name?"</"+e.name+">":"")+(e.indent&&!n?"\n":"")),n&&n()}function o(e){return!!e.interrupt&&(e.interrupt.append=t,e.interrupt.end=i,e.interrupt=!1,t(!0),!0)}if(t(!1,e.indents+(e.name?"<"+e.name:"")+(e.attributes.length?" "+e.attributes.join(" "):"")+(r?e.name?">":"":e.name?"/>":"")+(e.indent&&r>1?"\n":"")),!r)return t(!1,e.indent?"\n":"");o(e)||i()}ng.exports=function(t,e){"object"!=typeof e&&(e={indent:e});var n,r,i=e.stream?new og:null,o="",a=!1,s=e.indent?!0===e.indent?"    ":e.indent:"",l=!0;function c(t){l?zs.nextTick(t):t()}function u(t,e){if(void 0!==e&&(o+=e),t&&!a&&(i=i||new og,a=!0),t&&a){var n=o;c((function(){i.emit("data",n)})),o=""}}function h(t,e){sg(u,ag(t,s,s?1:0),e)}function f(){if(i){var t=o;c((function(){i.emit("data",t),i.emit("end"),i.readable=!1,i.emit("close")}))}}return c((function(){l=!1})),e.declaration&&(r={version:"1.0",encoding:(n=e.declaration).encoding||"UTF-8"},n.standalone&&(r.standalone=n.standalone),h({"?xml":{_attr:r}}),o=o.replace("/>","?>")),t&&t.forEach?t.forEach((function(e,n){var r;n+1===t.length&&(r=f),h(e,r)})):h(t,f),i?(i.readable=!0,i):o},ng.exports.element=ng.exports.Element=function(){var t={_elem:ag(Array.prototype.slice.call(arguments)),push:function(t){if(!this.append)throw new Error("not assigned to a parent!");var e=this,n=this._elem.indent;sg(this.append,ag(t,n,this._elem.icount+(n?1:0)),(function(){e.append(!0)}))},close:function(t){void 0!==t&&this.push(t),this.end&&this.end()}};return t};const lg=os(ng.exports),cg=(t,e)=>{const n=e.replace(/-/g,"");if(32!==n.length)throw new Error(`Error: Cannot extract GUID from font filename: ${e}`);const r=n.replace(/(..)/g,"$1 ").trim().split(" ").map((t=>parseInt(t,16)));r.reverse();const i=t.slice(0,32).map(((t,e)=>t^r[e%r.length]));return Ua.concat([t.slice(0,0),i,t.slice(32)])};class ug{format(t,e={stack:[]}){const n=t.prepForXml(e);if(n)return n;throw Error("XMLComponent did not format correctly")}}class hg{replace(t,e,n){let r=t;return e.forEach(((t,e)=>{r=r.replace(new RegExp(`{${t.fileName}}`,"g"),(n+e).toString())})),r}getMediaData(t,e){return e.Array.filter((e=>t.search(`{${e.fileName}}`)>0))}}class fg{replace(t,e){let n=t;for(const t of e)n=n.replace(new RegExp(`{${t.reference}-${t.instance}}`,"g"),t.numId.toString());return n}}const dg=t=>!0===t?"  ":!1===t?void 0:t;class pg{static toString(t,e){return Za(this,null,(function*(){const n=this.compiler.compile(t,dg(e));return yield n.generateAsync({type:"string",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})}))}static toBuffer(t,e){return Za(this,null,(function*(){const n=this.compiler.compile(t,dg(e));return yield n.generateAsync({type:"nodebuffer",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})}))}static toBase64String(t,e){return Za(this,null,(function*(){const n=this.compiler.compile(t,dg(e));return yield n.generateAsync({type:"base64",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})}))}static toBlob(t,e){return Za(this,null,(function*(){const n=this.compiler.compile(t,dg(e));return yield n.generateAsync({type:"blob",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})}))}static toStream(t,e){const n=new Yc.Stream;return this.compiler.compile(t,dg(e)).generateAsync({type:"nodebuffer",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"}).then((t=>{n.emit("data",t),n.emit("end")})),n}}function mg(){}async function gg(t,e){const n=e.children||[];let r=[];for(const i of n){const n=t.handlers[i.type]||mg,o=await n(t,i,e,r);o&&(r=r.concat(o))}return r}function yg(t){return async(e,n)=>{"string"==typeof t&&(t={[t]:!0}),Object.assign(e.style,t);const r=await gg(e,n);return Object.keys(t).forEach((t=>{delete e.style[t]})),r}}Xa(pg,"compiler",new class{constructor(){Xa(this,"formatter"),Xa(this,"imageReplacer"),Xa(this,"numberingReplacer"),this.formatter=new ug,this.imageReplacer=new hg,this.numberingReplacer=new fg}compile(t,e){const n=new eg,r=this.xmlifyFile(t,e),i=new Map(Object.entries(r));for(const[,t]of i)if(Array.isArray(t))for(const e of t)n.file(e.path,e.data);else n.file(t.path,t.data);for(const{stream:e,fileName:r}of t.Media.Array)n.file(`word/media/${r}`,e);for(const{data:e,name:r,fontKey:i}of t.FontTable.fontOptionsWithKey){const[t]=r.split(".");n.file(`word/fonts/${t}.odttf`,cg(e,i))}return n}xmlifyFile(t,e){const n=t.Document.Relationships.RelationshipCount+1,r=lg(this.formatter.format(t.Document.View,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{standalone:"yes",encoding:"UTF-8"}}),i=this.imageReplacer.getMediaData(r,t.Media);return{Relationships:{data:(()=>(i.forEach(((e,r)=>{t.Document.Relationships.createRelationship(n+r,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${e.fileName}`)})),lg(this.formatter.format(t.Document.Relationships,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}})))(),path:"word/_rels/document.xml.rels"},Document:{data:(()=>{const e=this.imageReplacer.replace(r,i,n);return this.numberingReplacer.replace(e,t.Numbering.ConcreteNumbering)})(),path:"word/document.xml"},Styles:{data:(()=>{const n=lg(this.formatter.format(t.Styles,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{standalone:"yes",encoding:"UTF-8"}});return this.numberingReplacer.replace(n,t.Numbering.ConcreteNumbering)})(),path:"word/styles.xml"},Properties:{data:lg(this.formatter.format(t.CoreProperties,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/core.xml"},Numbering:{data:lg(this.formatter.format(t.Numbering,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/numbering.xml"},FileRelationships:{data:lg(this.formatter.format(t.FileRelationships,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}}),path:"_rels/.rels"},HeaderRelationships:t.Headers.map(((n,r)=>{const i=lg(this.formatter.format(n.View,{viewWrapper:n,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}});return this.imageReplacer.getMediaData(i,t.Media).forEach(((t,e)=>{n.Relationships.createRelationship(e,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${t.fileName}`)})),{data:lg(this.formatter.format(n.Relationships,{viewWrapper:n,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}}),path:`word/_rels/header${r+1}.xml.rels`}})),FooterRelationships:t.Footers.map(((n,r)=>{const i=lg(this.formatter.format(n.View,{viewWrapper:n,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}});return this.imageReplacer.getMediaData(i,t.Media).forEach(((t,e)=>{n.Relationships.createRelationship(e,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${t.fileName}`)})),{data:lg(this.formatter.format(n.Relationships,{viewWrapper:n,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}}),path:`word/_rels/footer${r+1}.xml.rels`}})),Headers:t.Headers.map(((n,r)=>{const i=lg(this.formatter.format(n.View,{viewWrapper:n,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}}),o=this.imageReplacer.getMediaData(i,t.Media),a=this.imageReplacer.replace(i,o,0);return{data:this.numberingReplacer.replace(a,t.Numbering.ConcreteNumbering),path:`word/header${r+1}.xml`}})),Footers:t.Footers.map(((n,r)=>{const i=lg(this.formatter.format(n.View,{viewWrapper:n,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}}),o=this.imageReplacer.getMediaData(i,t.Media),a=this.imageReplacer.replace(i,o,0);return{data:this.numberingReplacer.replace(a,t.Numbering.ConcreteNumbering),path:`word/footer${r+1}.xml`}})),ContentTypes:{data:lg(this.formatter.format(t.ContentTypes,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}}),path:"[Content_Types].xml"},CustomProperties:{data:lg(this.formatter.format(t.CustomProperties,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/custom.xml"},AppProperties:{data:lg(this.formatter.format(t.AppProperties,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/app.xml"},FootNotes:{data:lg(this.formatter.format(t.FootNotes.View,{viewWrapper:t.FootNotes,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}}),path:"word/footnotes.xml"},FootNotesRelationships:{data:lg(this.formatter.format(t.FootNotes.Relationships,{viewWrapper:t.FootNotes,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}}),path:"word/_rels/footnotes.xml.rels"},Settings:{data:lg(this.formatter.format(t.Settings,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/settings.xml"},Comments:{data:lg(this.formatter.format(t.Comments,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/comments.xml"},FontTable:{data:lg(this.formatter.format(t.FontTable.View,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/fontTable.xml"},FontTableRelationships:{data:(()=>lg(this.formatter.format(t.FontTable.Relationships,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}}))(),path:"word/_rels/fontTable.xml.rels"}}}}),new ug,new ug,new hg;const wg=["Heading1","Heading2","Heading3","Heading4","Heading5","Heading6"];function bg(t,e){const n=e.split("/");let r=t;for(;r&&n.length;){const t=n.shift();r=r.root.find((e=>e.rootKey===t))}return r}const vg={width:5943600,height:1828800},Eg={width:1828800,height:914400},_g={left:null,right:"right",center:"center",justify:"both",distribute:"distribute"},Ag={top:"top",middle:"center",bottom:"bottom"};async function Mg(t,e,n,r){e.alignment=_g[e.align||t.table.align?.[r.length]];const i=await gg(t,e),o=[];let a=[];for(let t=0;t<i.length;t+=1){const n=i[t];n instanceof Kd||n instanceof pp?(a.length&&o.push(new Kd({alignment:e.alignment,children:a})),o.push(n),a=[]):a.push(n)}a.length&&o.push(new Kd({alignment:e.alignment,children:a}));const s=function(t){for(const e of Object.keys(t))void 0!==t[e]&&null!==t[e]||delete t[e];return t}({children:o,verticalAlign:Ag[e.valign],columnSpan:e.data?.colSpan??e.colSpan,rowSpan:e.data?.rowSpan??e.rowSpan});return n.tableHeader&&(s.shading={fill:"F4CCCD",type:"clear",color:"auto"}),new ap(s)}const Tg={blockquote:async(t,e)=>{t.paragraphStyle="Quote";const n=await gg(t,e);return delete t.paragraphStyle,n},bookmark:async function(t,e){const n=await gg(t,e);return new fd({id:e.anchor,children:n})},break:function(){return new Ch({text:"",break:1})},code:function(t,e,n){const r=e.value.split("\n").map(((t,e)=>new Ch({text:t,break:e>0?1:0})));return new Kd({children:r,style:"CodeBlock",alignment:n.alignment})},delete:yg("strike"),emphasis:yg("italics"),gridTable:async function(t,e){let n=1;const r=[];for(const t of function*(t){for(const e of t.children)if("gtRow"===e.type)yield e;else for(const t of e.children)yield t}(e)){let e=r.shift()||0;for(const n of t.children){const t=Number.parseInt(n.data?.rowSpan||"1",10),i=Number.parseInt(n.data?.colSpan||"1",10);if(e+=i,t>1)for(let e=0;e<t-1;e+=1)r[e]=(r[e]||0)+i}n=Math.max(n,e)}const i=t.table;t.table={width:i?.columnWidth||9360,align:e.align||[]},t.table.columnWidth=n?t.table.width/n:t.table.width;const o=new Array(n).fill(Math.round(t.table.columnWidth)),a=await gg(t,e);return t.table=i,[new pp({style:"PageBlock",rows:a,columnWidths:o,width:{size:100,type:Zd.PERCENTAGE}}),new Kd([])]},gtBody:gg,gtCell:Mg,gtFooter:gg,gtHeader:gg,gtRow:async function(t,e,n){const r=await gg(t,e);return new wp({children:r,tableHeader:"gtHeader"===n.type||void 0})},heading:async function(t,e,n){const r=await gg(t,e);return e.anchor&&r.unshift(new fd({id:e.anchor,children:[]})),new Kd({heading:wg[e.depth-1],children:r,alignment:n.alignment})},html:function(t,e,n){if("\x3c!----\x3e"===e.value)return;const r=new Ch({color:"ff0000",text:e.value});return"paragraph"===n.type?r:new Kd({children:[r]})},image:async function(t,e){const{data:n}=e;if(!n)return;let r=9525*n.dimensions.width,i=9525*n.dimensions.height;const o=t.tableAlign?Eg:vg;r>o.width&&(i=Math.round(o.width*i/r),r=o.width),i>o.height&&(r=Math.round(o.height*r/i),i=o.height);const a={stream:n.buffer,fileName:n.key,transformation:{pixels:{x:Math.round(n.dimensions.width),y:Math.round(n.dimensions.height)},emus:{x:r,y:i}}},s=new jf(a,{floating:!1,docProperties:{title:e.title||"",description:e.alt||"",name:e.title||e.alt||""}}),l=new Hf({data:n.buffer,transformation:n.dimensions}),c=bg(l,"w:drawing"),u=l.root.indexOf(c);u>=0&&l.root.splice(u,1),l.root.push(s),l.key=n.key,l.imageData=a;class h extends Ja{constructor(t){super("asvg:svgBlip"),this.imageData=t,this.addChildElement(new es({"xmlns:asvg":"http://schemas.microsoft.com/office/drawing/2016/SVG/main","r:embed":`rId{${t.fileName}}`}))}prepForXml(t){return this.imageData.stream&&t.file.Media.addImage(this.imageData.fileName,this.imageData),t.file.contentTypes.root.find((t=>"Default"===t.rootKey&&("svg"===t.root[0].root.extension||"svg"===t.root[0].root.Extension)))||t.file.contentTypes.root.push(new Ja("Default").addChildElement(new es({ContentType:"image/svg+xml",Extension:"svg"}))),super.prepForXml(t)}}if("image/svg"===n.originalType){const t=new Hf({data:n.originalBuffer,transformation:n.dimensions});t.imageData.fileName=n.svgKey;const e=bg(s,"wp:inline/a:graphic/a:graphicData/pic:pic/pic:blipFill");bg(e,"a:blip").addChildElement(new Ja("a:extLst").addChildElement(new Ja("a:ext").addChildElement(new es({uri:"{28A0092B-C50C-407E-A947-70E740481C1C}"})).addChildElement(new Ja("a14:useLocalDpi").addChildElement(new es({"xmlns:a14":"http://schemas.microsoft.com/office/drawing/2010/main",val:"0"})))).addChildElement(new Ja("a:ext").addChildElement(new es({uri:"{96DAC541-7B7A-43D3-8B79-37D633B846F1}"})).addChildElement(new h(t.imageData))))}return l},inlineCode:function(t,e){return new Ch({text:e.value,style:"InlineCode"})},link:async function(t,e){const n=[];t.style.style="Hyperlink";const r=await gg(t,e);if(r.findIndex((t=>t instanceof Hf))>=0)for(const r of await gg(t,e))r instanceof Hf?n.push(r,new Ch({text:"",break:1}),new cd({children:[new Ch({text:e.url,style:"Hyperlink"})],link:e.url}),new Ch({text:"",break:1})):n.push(new cd({children:[r],link:e.url}));else e.url.startsWith("#")?n.push(new ld({children:r,anchor:e.anchor})):n.push(new cd({children:r,link:e.url}));return delete t.style.style,n},list:async function(t,e){const{ordered:n,start:r}=e;t.listLevel+=1;let i=t.lists[t.listLevel];i||(i={level:t.listLevel,number:r||1,instance:1},t.lists[t.listLevel]=i),r&&r<i.number&&(i.number=r,i.instance+=1),i.numbering=n?"default-numbering":"default-bullets";const o=await gg(t,e);return t.listLevel-=1,o},listItem:function(t,e){return gg(t,e)},paragraph:async function(t,e,n){t.style={};for(let t=0;t<e.children.length;t+=1){const n=e.children[t];"paragraph"===n.type&&e.children.splice(t,1,...n.children)}const r={children:await gg(t,e),alignment:n.alignment};if(t.listLevel>=0){const e=t.lists[t.listLevel];e.numbering?(r.numbering={reference:e.numbering,level:e.level,instance:e.instance},e.number+=1):r.bullet={level:e.level}}else t.paragraphStyle&&(r.style=t.paragraphStyle);return new Kd(r)},root:function(t,e){return gg(t,e)},strong:yg("bold"),subscript:yg("subScript"),superscript:yg("superScript"),table:async function(t,e){let n=e.maxCols;e.children.length>0&&(e.children[0].tableHeader=!0,n||(n=e.children[0].children.length));const r=t.table;t.table={width:r?.columnWidth||9360,align:e.align||[]},t.table.columnWidth=n?t.table.width/n:t.table.width;const i=new Array(n).fill(Math.round(t.table.columnWidth)),o=await gg(t,e);return t.table=r,[new pp({style:"PageBlock",rows:o,columnWidths:i,width:{size:100,type:Zd.PERCENTAGE}}),new Kd([])]},tableCell:Mg,tableRow:async function(t,e){const n=await gg(t,e);return new wp({children:n})},text:function(t,e){return new Ch({...t.style,text:e.value.replace(/\s+/g," ")})},thematicBreak:function(){return new Kd({text:"---",spacing:{before:250,after:250}})},underline:yg("underline")},xg={config:[{reference:"default-numbering",levels:function(){const t=[],e=["decimal","lowerLetter","lowerRoman"],n=[".","",""];for(let r=0;r<6;r+=1)t.push({level:r,format:e[r%3],text:`%${r+1}${n[r%3]}`,alignment:zu,style:{paragraph:{indent:{left:Dh(10*(r+1)),hanging:Dh(5)}}}});return t}()},{reference:"default-bullets",levels:function(){const t=[];for(let e=0;e<6;e+=1)t.push({level:e,format:Qp,text:"-",alignment:zu,style:{paragraph:{indent:{left:Dh(5*(e+1)),hanging:Dh(5)}}}});return t}()}]};function Sg(t){const e=[];let n;if(t.forEach((t=>{"tableRow"===t.type?(n&&(t.children=n.concat(t.children),n=void 0),e.push(t)):(n||(n=[]),n.push(t))})),n){const t=e[e.length-1];t.children=t.children.concat(n)}return e.forEach((t=>{t.children=function(t){const e=[];let n;if(t.forEach((t=>{"tableCell"===t.type?(n&&(t.children=n.concat(t.children),n=void 0),e.push(t)):(n||(n=[]),n.push(t))})),n){let t=e[e.length-1];t||(t={type:"tableCell",children:[]},e.push(t)),t.children=t.children.concat(n)}return e}(t.children)})),e}function kg(t,e){const n={type:"table",children:Sg(t.all(e)),align:[],maxCols:0},r=[];for(const t of n.children){t.numCols=r.shift()||0;for(const e of t.children){const i=Number.parseInt(e.data?.rowSpan||"1",10),o=Number.parseInt(e.data?.colSpan||"1",10);if(e.data?.align&&!n.align[t.numCols]&&(n.align[t.numCols]=e.data.align),t.numCols+=o,i>1)for(let t=0;t<i-1;t+=1)r[t]=(r[t]||0)+o}n.maxCols=Math.max(n.maxCols,t.numCols)}for(const t of n.children){for(let e=t.numCols;e<n.maxCols;e+=1)t.children.push({type:"tableCell",children:[]});delete t.numCols}return n}function Cg(t,e){const n=t.wrapText;t.wrapText=!1;const r={type:"tableCell",children:t.all(e)};if(t.patch(e,r),e.properties?.rowSpan||e.properties?.colSpan||e.properties?.align){const t=r.data||(r.data={});e.properties.rowSpan&&(t.rowSpan=e.properties.rowSpan),e.properties.colSpan&&(t.colSpan=e.properties.colSpan),e.properties.align&&(t.align=e.properties.align)}return t.wrapText=n,r}function Dg(t){return(e,n)=>{const r={type:t,children:e.all(n)};return e.patch(n,r),r}}function Ig(t,e){const n=e.properties||{},r=t.all(e),i={type:"link",url:t.resolve(String(n.href||"")||null),title:n.title?String(n.title):null,anchor:n.name??n.id,children:r};return t.patch(e,i),i}function Rg(t){if(!t.children)return t;for(let e=0;e<t.children.length;e+=1){const n=t.children[e];"paragraph"===n.type?(t.children.splice(e,1,...n.children),e+=n.children.length-1):t.children[e]=Rg(n)}return t}function Ng(t){return["paragraph","underline","subscript","superscript","heading","emphasis","strong","link","linkReference","tableCell","delete","footnote"].includes(t.type)}var Og=n(1565),Lg=n(4767),Pg=n(5949);const Fg={"application/prs.cww":["cww"],"application/prs.xsf+xml":["xsf"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["*xfdf"],"application/vnd.age":["age"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["*fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["*mpp","mpt"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.pwg-xhtml-print+xml":["xhtm"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml","uo"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["*prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["*sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["*aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif","btf"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.cld":["cld"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.pytha.pyox":["pyo","pyox"],"model/vnd.sap.vds":["vds"],"model/vnd.usda":["usda"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.familysearch.gedcom":["ged"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]};Object.freeze(Fg);const Bg=Fg,Ug={"application/andrew-inset":["ez"],"application/appinstaller":["appinstaller"],"application/applixware":["aw"],"application/appx":["appx"],"application/appxbundle":["appxbundle"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/automationml-aml+xml":["aml"],"application/automationml-amlx+zip":["amlx"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cpl+xml":["cpl"],"application/cu-seeme":["cu"],"application/cwl":["cwl"],"application/dash+xml":["mpd"],"application/dash-patch+xml":["mpp"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdf":["fdf"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["*js"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/media-policy-dataset+xml":["mpf"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["*mp4","*mpg4","mp4s","m4p"],"application/msix":["msix"],"application/msixbundle":["msixbundle"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-keys":["asc"],"application/pgp-signature":["sig","*asc"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/sql":["sql"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/watcherinfo+xml":["wif"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xfdf":["xfdf"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/aac":["adts","aac"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avci":["avci"],"image/avcs":["avcs"],"image/avif":["avif"],"image/bmp":["bmp","dib"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/dpx":["dpx"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm","jpgm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/jt":["jt"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/prc":["prc"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/u3d":["u3d"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/javascript":["js","mjs"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["md","markdown"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/wgsl":["wgsl"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","*jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]};Object.freeze(Ug);const jg=Ug;var Hg,zg,qg,Wg=function(t,e,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(t):r?r.value:e.get(t)};Hg=new WeakMap,zg=new WeakMap,qg=new WeakMap;const Gg=new class{constructor(...t){Hg.set(this,new Map),zg.set(this,new Map),qg.set(this,new Map);for(const e of t)this.define(e)}define(t,e=!1){for(let[n,r]of Object.entries(t)){n=n.toLowerCase(),r=r.map((t=>t.toLowerCase())),Wg(this,qg,"f").has(n)||Wg(this,qg,"f").set(n,new Set);const t=Wg(this,qg,"f").get(n);let i=!0;for(let o of r){const r=o.startsWith("*");if(o=r?o.slice(1):o,t?.add(o),i&&Wg(this,zg,"f").set(n,o),i=!1,r)continue;const a=Wg(this,Hg,"f").get(o);if(a&&a!=n&&!e)throw new Error(`"${n} -> ${o}" conflicts with "${a} -> ${o}". Pass \`force=true\` to override this definition.`);Wg(this,Hg,"f").set(o,n)}}return this}getType(t){if("string"!=typeof t)return null;const e=t.replace(/^.*[/\\]/,"").toLowerCase(),n=e.replace(/^.*\./,"").toLowerCase(),r=e.length<t.length;return n.length<e.length-1||!r?Wg(this,Hg,"f").get(n)??null:null}getExtension(t){return"string"!=typeof t?null:(t=t?.split?.(";")[0],(t&&Wg(this,zg,"f").get(t.trim().toLowerCase()))??null)}getAllExtensions(t){return"string"!=typeof t?null:Wg(this,qg,"f").get(t.toLowerCase())??null}_freeze(){this.define=()=>{throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances")},Object.freeze(this);for(const t of Wg(this,qg,"f").values())Object.freeze(t);return this}_getTestState(){return{types:Wg(this,Hg,"f"),extensions:Wg(this,zg,"f")}}}(jg,Bg)._freeze();var Kg=n(8287).Buffer;const Yg=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g;Object.hasOwnProperty;class Vg{constructor(){this.occurrences={}}slug(t){let e=function(t,e){return"string"!=typeof t?"":(e||(t=t.toLowerCase()),t.replace(Yg,"").replace(/ /g,"-"))}(t).replace(/^\d+-+/,"");const n=e;for(;e in this.occurrences;)this.occurrences[n]+=1,e=`${n}-${this.occurrences[n]}`;return this.occurrences[e]=0,e}}var Xg=n(8287).Buffer;async function Zg(t,e={}){const{log:n=console,resourceLoader:r,image2png:o}=e;let{stylesXML:a=null}=e;const s={handlers:Tg,style:{},paragraphStyle:"",images:{},listLevel:-1,lists:[],log:n,image2png:o,resourceLoader:r};t=function(t){const e=[];return bi(t,((t,n,r)=>{const{children:i=[]}=r||{};if("html"===t.type){let a=i.length-1;for(;a>=n&&"html"!==i[a].type;)a-=1;let s=t.value;a>n&&i.splice(n+1,a-n).forEach((t=>{"html"===t.type||"text"===t.type?s+=t.value:(s+=`<markdown idx="${e.length}">foo</markdown>`,e.push(t))})),Ng(r)&&(s=`<p>${s}</p>`);const l=Uo(C().use(Ir,{fragment:!0}).parse(s),{document:!1,handlers:{...So,a:Ig,u:Dg("underline"),sub:Dg("subscript"),sup:Dg("superscript"),table:kg,markdown:(o=e,(t,e)=>{const{idx:n}=e.properties;return o[+n]}),th:Cg,td:Cg}});if(e.length=0,Ng(r))Rg(l);else{let t;for(let e=0;e<l.children.length;e+=1){const n=l.children[e];"underline"===n.type||"subscript"===n.type||"superscript"===n.type?(Rg(n),t?(t.children.push(n),l.children.splice(e,1),e-=1):(t={type:"paragraph",children:[n]},l.children.splice(e,1,t))):t=null}}return i.splice(n,1,...l.children),n+l.children.length}var o;return bi.CONTINUE})),t}(t),await async function(t,e){const{log:n,resourceLoader:r,image2png:i}=t,o={}.HELIX_FETCH_FORCE_HTTP1?(0,Lg.h1)():(0,Lg.context)(),{fetch:a}=o,s=[];bi(e,(t=>("image"===t.type&&t.url&&s.push(t),bi.CONTINUE)));let l=0;await async function(t,e,n=8){if("object"!=typeof t)throw Error("invalid queue argument: iterable expected");const r=[],i=[],o=n=>{const o=e(n,t,i);o?.then?(r.push(o),o.then((t=>{void 0!==t&&i.push(t)})).catch((()=>{})).finally((()=>{r.splice(r.indexOf(o),1)}))):void 0!==o&&i.push(o)},a=Array.isArray(t)?function*(t){for(;t.length;)yield t.shift()}(t):t;if(!a||!("next"in a))throw Error("invalid queue argument: iterable expected");for await(const t of a){for(;r.length>=n;)await Promise.race(r);o(t)}return await Promise.all(r),i}(s,(async e=>{try{const o=Og.createHash("sha1").update(e.url).digest("hex");if(e.data=t.images[o],e.data)return;const s=String(l).padStart(2," ");let c;l+=1;let u,h,f,d="application/octet-stream",p={width:100,height:100};if(e.url.startsWith("data:")){const[t,r]=e.url.substring(5).split(","),[i,o]=t.split(";");if("base64"!==o)return void n.warn(`[${s}] Error decoding data url. unknown encoding: ${o}`);c=Kg.from(r,"base64"),d=i}else{n.info(`[${s}] GET ${e.url}`);let t=a;if(e.url.startsWith("res:")){if(!r)return void n.warn(`[${s}] Error loading image ${e.url}. resource loader missing.`);t=r.fetch.bind(r)}const i=await t(e.url);if(!i.ok){const t=await i.text();return void n.error(`[${s}] ${i.status} ${t}`)}c=await i.buffer(),d=i.headers.get("content-type"),n.info(`[${s}] ${i.status} ${function(t,e=2){if(0===t)return"0   ";const n=e<0?0:e,r=Math.floor(Math.log(t)/Math.log(1024));return`${parseFloat((t/1024**r).toFixed(n))} ${["  ","KB","MB","GB","TB","PB","EB","ZB","YB"][r]}`}(c.length).padStart(10)} ${d}`)}try{p=Pg(c),d=Gg.getType(p.type)}catch(t){u=!0,n.warn(`[${s}] Error detecting dimensions: ${t} ${d}`)}if(u||(u="application/octet-stream"===d||d.startsWith("image/")&&"image/png"!==d&&"image/jpg"!==d&&"image/jpeg"!==d&&"image/gif"!==d),u&&i)try{const t=await i({src:e.url,data:c,type:d});t&&(h=c,f=d,c=t.data,d=t.type,p={width:t.width,height:t.height})}catch(t){n.warn(`[${s}] Error to convert to png`,t)}const m=Gg.getExtension(d);e.data={ext:m,key:`${o}.${m}`,buffer:c,originalBuffer:h,type:d,originalType:f,dimensions:p},t.images[o]=e.data}catch(t){n.error(`Cannot download image ${e.url}: ${t.message}`)}}),8),o.reset()}(s,t),await function(t){const e={},n=new Vg,r=t=>{let n=e[t];return n||(n={links:[],heading:null,bookmark:null},e[t]=n),n};bi(t,(t=>{if("link"===t.type&&t.url.startsWith("#"))r(t.url).links.push(t),"#"===t.url&&(t.anchor="_top");else if("link"===t.type&&t.anchor)t.type="bookmark",r(`#${t.anchor}`).bookmark=t;else if("heading"===t.type){const e=`#${n.slug(so(t))}`;r(e).heading=t}return bi.CONTINUE}));const i={};Object.keys(e).forEach((t=>{const n=e[t];if(n.heading){let t=`_${so(n.heading).split(/\s+/).slice(0,3).join("_")}`.substring(0,36);const e=t;for(;t in i;)i[e]+=1,t=`${e}${i[e]}`;i[t]=0,n.heading.anchor=t;for(const e of n.links)e.anchor=t}else if(n.bookmark){const{anchor:t}=n.bookmark;for(const e of n.links)e.anchor=t}}))}(t);const l=await gg(s,t);if(!a){const t=Ba.fileURLToPath?i.dirname(Ba.fileURLToPath("file:///Users/catalan/repos/franklin/adobe/helix-importer-ui/node_modules/@adobe/helix-md2docx/src/mdast2docx/index.js")):"./";a=await(0,Fa.readFile)(i.resolve(t,"template","word","styles.xml"),"utf-8")}const c=new Qm({numbering:xg,externalStyles:a,sections:[{children:l}]}),u=c.numbering.concreteNumberingMap.get("default-bullet-numbering");u.root[0].root.numId=1,u.numId=1;for(const t of c.numbering.abstractNumberingMap.values())t.root.forEach((t=>{if("w:lvl"!==t.rootKey)return;const e=bg(t,"w:lvlJc");if(e){const n=t.root.indexOf(e);t.root.splice(n,1),t.root.push(e)}}));let h=await pg.toBuffer(c);return h instanceof Uint8Array&&(h=Xg.from(h)),h}function $g(t,e,n,r){const i=t.length;let o,a=0;if(e=e<0?-e>i?0:i+e:e>i?i:e,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(e,n),t.splice(...o);else for(n&&t.splice(e,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(e,0),t.splice(...o),a+=1e4,e+=1e4}function Qg(t,e){return t.length>0?($g(t,t.length,0,e),t):e}function Jg(t){const e={};let n,r,i,o,a,s,l,c=-1;for(;++c<t.length;){for(;c in e;)c=e[c];if(n=t[c],c&&"chunkFlow"===n[1].type&&"listItemPrefix"===t[c-1][1].type&&(s=n[1]._tokenizer.events,i=0,i<s.length&&"lineEndingBlank"===s[i][1].type&&(i+=2),i<s.length&&"content"===s[i][1].type))for(;++i<s.length&&"content"!==s[i][1].type;)"chunkText"===s[i][1].type&&(s[i][1]._isInFirstContentOfListItem=!0,i++);if("enter"===n[0])n[1].contentType&&(Object.assign(e,ty(t,c)),c=e[c],l=!0);else if(n[1]._container){for(i=c,r=void 0;i--&&(o=t[i],"lineEnding"===o[1].type||"lineEndingBlank"===o[1].type);)"enter"===o[0]&&(r&&(t[r][1].type="lineEndingBlank"),o[1].type="lineEnding",r=i);r&&(n[1].end=Object.assign({},t[r][1].start),a=t.slice(r,c),a.unshift(n),$g(t,r,c-r+1,a))}}return!l}function ty(t,e){const n=t[e][1],r=t[e][2];let i=e-1;const o=[],a=n._tokenizer||r.parser[n.contentType](n.start),s=a.events,l=[],c={};let u,h,f=-1,d=n,p=0,m=0;const g=[m];for(;d;){for(;t[++i][1]!==d;);o.push(i),d._tokenizer||(u=r.sliceStream(d),d.next||u.push(null),h&&a.defineSkip(d.start),d._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(u),d._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),h=d,d=d.next}for(d=n;++f<s.length;)"exit"===s[f][0]&&"enter"===s[f-1][0]&&s[f][1].type===s[f-1][1].type&&s[f][1].start.line!==s[f][1].end.line&&(m=f+1,g.push(m),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(a.events=[],d?(d._tokenizer=void 0,d.previous=void 0):g.pop(),f=g.length;f--;){const e=s.slice(g[f],g[f+1]),n=o.pop();l.unshift([n,n+e.length-1]),$g(t,n,2,e)}for(f=-1;++f<l.length;)c[p+l[f][0]]=p+l[f][1],p+=l[f][1]-l[f][0]-1;return c}function ey(t){for(;!Jg(t););return t}const ny={}.hasOwnProperty;function ry(t){const e={};let n=-1;for(;++n<t.length;)iy(e,t[n]);return e}function iy(t,e){let n;for(n in e){const r=(ny.call(t,n)?t[n]:void 0)||(t[n]={}),i=e[n];let o;if(i)for(o in i){ny.call(r,o)||(r[o]=[]);const t=i[o];oy(r[o],Array.isArray(t)?t:t?[t]:[])}}}function oy(t,e){let n=-1;const r=[];for(;++n<e.length;)("after"===e[n].add?t:r).push(e[n]);$g(t,0,0,r)}const ay=wy(/[A-Za-z]/),sy=wy(/[\dA-Za-z]/),ly=wy(/[#-'*+\--9=?A-Z^-~]/);function cy(t){return null!==t&&(t<32||127===t)}const uy=wy(/\d/),hy=wy(/[\dA-Fa-f]/),fy=wy(/[!-/:-@[-`{-~]/);function dy(t){return null!==t&&t<-2}function py(t){return null!==t&&(t<0||32===t)}function my(t){return-2===t||-1===t||32===t}const gy=wy(/\p{P}|\p{S}/u),yy=wy(/\s/);function wy(t){return function(e){return null!==e&&e>-1&&t.test(String.fromCharCode(e))}}function by(t,e,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return function(r){return my(r)?(t.enter(n),a(r)):e(r)};function a(r){return my(r)&&o++<i?(t.consume(r),a):(t.exit(n),e(r))}}const vy={tokenize:function(t){const e=t.attempt(this.parser.constructs.contentInitial,(function(n){if(null!==n)return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),by(t,e,"linePrefix");t.consume(n)}),(function(e){return t.enter("paragraph"),r(e)}));let n;return e;function r(e){const r=t.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,i(e)}function i(e){return null===e?(t.exit("chunkText"),t.exit("paragraph"),void t.consume(e)):dy(e)?(t.consume(e),t.exit("chunkText"),r):(t.consume(e),i)}}},Ey={tokenize:function(t){const e=this,n=[];let r,i,o,a=0;return s;function s(r){if(a<n.length){const i=n[a];return e.containerState=i[1],t.attempt(i[0].continuation,l,c)(r)}return c(r)}function l(t){if(a++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,r&&w();const n=e.events.length;let i,o=n;for(;o--;)if("exit"===e.events[o][0]&&"chunkFlow"===e.events[o][1].type){i=e.events[o][1].end;break}y(a);let s=n;for(;s<e.events.length;)e.events[s][1].end=Object.assign({},i),s++;return $g(e.events,o+1,0,e.events.slice(n)),e.events.length=s,c(t)}return s(t)}function c(i){if(a===n.length){if(!r)return f(i);if(r.currentConstruct&&r.currentConstruct.concrete)return p(i);e.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return e.containerState={},t.check(_y,u,h)(i)}function u(t){return r&&w(),y(a),f(t)}function h(t){return e.parser.lazy[e.now().line]=a!==n.length,o=e.now().offset,p(t)}function f(n){return e.containerState={},t.attempt(_y,d,p)(n)}function d(t){return a++,n.push([e.currentConstruct,e.containerState]),f(t)}function p(n){return null===n?(r&&w(),y(0),void t.consume(n)):(r=r||e.parser.flow(e.now()),t.enter("chunkFlow",{contentType:"flow",previous:i,_tokenizer:r}),m(n))}function m(n){return null===n?(g(t.exit("chunkFlow"),!0),y(0),void t.consume(n)):dy(n)?(t.consume(n),g(t.exit("chunkFlow")),a=0,e.interrupt=void 0,s):(t.consume(n),m)}function g(t,n){const s=e.sliceStream(t);if(n&&s.push(null),t.previous=i,i&&(i.next=t),i=t,r.defineSkip(t.start),r.write(s),e.parser.lazy[t.start.line]){let t=r.events.length;for(;t--;)if(r.events[t][1].start.offset<o&&(!r.events[t][1].end||r.events[t][1].end.offset>o))return;const n=e.events.length;let i,s,l=n;for(;l--;)if("exit"===e.events[l][0]&&"chunkFlow"===e.events[l][1].type){if(i){s=e.events[l][1].end;break}i=!0}for(y(a),t=n;t<e.events.length;)e.events[t][1].end=Object.assign({},s),t++;$g(e.events,l+1,0,e.events.slice(n)),e.events.length=t}}function y(r){let i=n.length;for(;i-- >r;){const r=n[i];e.containerState=r[1],r[0].exit.call(e,t)}n.length=r}function w(){r.write([null]),i=void 0,r=void 0,e.containerState._closeFlow=void 0}}},_y={tokenize:function(t,e,n){return by(t,t.attempt(this.parser.constructs.document,e,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},Ay={tokenize:function(t,e,n){return function(e){return my(e)?by(t,r,"linePrefix")(e):r(e)};function r(t){return null===t||dy(t)?e(t):n(t)}},partial:!0},My={tokenize:function(t,e){let n;return function(e){return t.enter("content"),n=t.enter("chunkContent",{contentType:"content"}),r(e)};function r(e){return null===e?i(e):dy(e)?t.check(Ty,o,i)(e):(t.consume(e),r)}function i(n){return t.exit("chunkContent"),t.exit("content"),e(n)}function o(e){return t.consume(e),t.exit("chunkContent"),n.next=t.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(t){return Jg(t),t}},Ty={tokenize:function(t,e,n){const r=this;return function(e){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),by(t,i,"linePrefix")};function i(i){if(null===i||dy(i))return n(i);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?e(i):t.interrupt(r.parser.constructs.flow,n,e)(i)}},partial:!0},xy={tokenize:function(t){const e=this,n=t.attempt(Ay,(function(r){if(null!==r)return t.enter("lineEndingBlank"),t.consume(r),t.exit("lineEndingBlank"),e.currentConstruct=void 0,n;t.consume(r)}),t.attempt(this.parser.constructs.flowInitial,r,by(t,t.attempt(this.parser.constructs.flow,r,t.attempt(My,r)),"linePrefix")));return n;function r(r){if(null!==r)return t.enter("lineEnding"),t.consume(r),t.exit("lineEnding"),e.currentConstruct=void 0,n;t.consume(r)}}},Sy={resolveAll:Iy()},ky=Dy("string"),Cy=Dy("text");function Dy(t){return{tokenize:function(e){const n=this,r=this.parser.constructs[t],i=e.attempt(r,o,a);return o;function o(t){return l(t)?i(t):a(t)}function a(t){if(null!==t)return e.enter("data"),e.consume(t),s;e.consume(t)}function s(t){return l(t)?(e.exit("data"),i(t)):(e.consume(t),s)}function l(t){if(null===t)return!0;const e=r[t];let i=-1;if(e)for(;++i<e.length;){const t=e[i];if(!t.previous||t.previous.call(n,n.previous))return!0}return!1}},resolveAll:Iy("text"===t?Ry:void 0)}}function Iy(t){return function(e,n){let r,i=-1;for(;++i<=e.length;)void 0===r?e[i]&&"data"===e[i][1].type&&(r=i,i++):e[i]&&"data"===e[i][1].type||(i!==r+2&&(e[r][1].end=e[i-1][1].end,e.splice(r+2,i-r-2),i=r+2),r=void 0);return t?t(e,n):e}}function Ry(t,e){let n=0;for(;++n<=t.length;)if((n===t.length||"lineEnding"===t[n][1].type)&&"data"===t[n-1][1].type){const r=t[n-1][1],i=e.sliceStream(r);let o,a=i.length,s=-1,l=0;for(;a--;){const t=i[a];if("string"==typeof t){for(s=t.length;32===t.charCodeAt(s-1);)l++,s--;if(s)break;s=-1}else if(-2===t)o=!0,l++;else if(-1!==t){a++;break}}if(l){const i={type:n===t.length||o||l<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-l,offset:r.end.offset-l,_index:r.start._index+a,_bufferIndex:a?s:r.start._bufferIndex+s},end:Object.assign({},r.end)};r.end=Object.assign({},i.start),r.start.offset===r.end.offset?Object.assign(r,i):(t.splice(n,0,["enter",i,e],["exit",i,e]),n+=2)}n++}return t}function Ny(t,e,n){const r=[];let i=-1;for(;++i<t.length;){const o=t[i].resolveAll;o&&!r.includes(o)&&(e=o(e,n),r.push(o))}return e}function Oy(t,e,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},o=[];let a=[],s=[],l=!0;const c={consume:function(t){dy(t)?(r.line++,r.column=1,r.offset+=-3===t?2:1,b()):-1!==t&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=t,l=!0},enter:function(t,e){const n=e||{};return n.type=t,n.start=p(),u.events.push(["enter",n,u]),s.push(n),n},exit:function(t){const e=s.pop();return e.end=p(),u.events.push(["exit",e,u]),e},attempt:y((function(t,e){w(t,e.from)})),check:y(g),interrupt:y(g,{interrupt:!0})},u={previous:null,code:null,containerState:{},events:[],parser:t,sliceStream:d,sliceSerialize:function(t,e){return function(t,e){let n=-1;const r=[];let i;for(;++n<t.length;){const o=t[n];let a;if("string"==typeof o)a=o;else switch(o){case-5:a="\r";break;case-4:a="\n";break;case-3:a="\r\n";break;case-2:a=e?" ":"\t";break;case-1:if(!e&&i)continue;a=" ";break;default:a=String.fromCharCode(o)}i=-2===o,r.push(a)}return r.join("")}(d(t),e)},now:p,defineSkip:function(t){i[t.line]=t.column,b()},write:function(t){return a=Qg(a,t),function(){let t;for(;r._index<a.length;){const e=a[r._index];if("string"==typeof e)for(t=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===t&&r._bufferIndex<e.length;)m(e.charCodeAt(r._bufferIndex));else m(e)}}(),null!==a[a.length-1]?[]:(w(e,0),u.events=Ny(o,u.events,u),u.events)}};let h,f=e.tokenize.call(u,c);return e.resolveAll&&o.push(e),u;function d(t){return function(t,e){const n=e.start._index,r=e.start._bufferIndex,i=e.end._index,o=e.end._bufferIndex;let a;if(n===i)a=[t[n].slice(r,o)];else{if(a=t.slice(n,i),r>-1){const t=a[0];"string"==typeof t?a[0]=t.slice(r):a.shift()}o>0&&a.push(t[i].slice(0,o))}return a}(a,t)}function p(){const{line:t,column:e,offset:n,_index:i,_bufferIndex:o}=r;return{line:t,column:e,offset:n,_index:i,_bufferIndex:o}}function m(t){l=void 0,h=t,f=f(t)}function g(t,e){e.restore()}function y(t,e){return function(n,i,o){let a,h,f,d;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):function(t){return function(e){const n=null!==e&&t[e],r=null!==e&&t.null;return m([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(e)}}(n);function m(t){return a=t,h=0,0===t.length?o:g(t[h])}function g(t){return function(n){return d=function(){const t=p(),e=u.previous,n=u.currentConstruct,i=u.events.length,o=Array.from(s);return{restore:function(){r=t,u.previous=e,u.currentConstruct=n,u.events.length=i,s=o,b()},from:i}}(),f=t,t.partial||(u.currentConstruct=t),t.name&&u.parser.constructs.disable.null.includes(t.name)?w():t.tokenize.call(e?Object.assign(Object.create(u),e):u,c,y,w)(n)}}function y(e){return l=!0,t(f,d),i}function w(t){return l=!0,d.restore(),++h<a.length?g(a[h]):o}}}function w(t,e){t.resolveAll&&!o.includes(t)&&o.push(t),t.resolve&&$g(u.events,e,u.events.length-e,t.resolve(u.events.slice(e),u)),t.resolveTo&&(u.events=t.resolveTo(u.events,u))}function b(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}const Ly={name:"thematicBreak",tokenize:function(t,e,n){let r,i=0;return function(e){return t.enter("thematicBreak"),function(t){return r=t,o(t)}(e)};function o(o){return o===r?(t.enter("thematicBreakSequence"),a(o)):i>=3&&(null===o||dy(o))?(t.exit("thematicBreak"),e(o)):n(o)}function a(e){return e===r?(t.consume(e),i++,a):(t.exit("thematicBreakSequence"),my(e)?by(t,o,"whitespace")(e):o(e))}}},Py={name:"list",tokenize:function(t,e,n){const r=this,i=r.events[r.events.length-1];let o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,a=0;return function(e){const i=r.containerState.type||(42===e||43===e||45===e?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||e===r.containerState.marker:uy(e)){if(r.containerState.type||(r.containerState.type=i,t.enter(i,{_container:!0})),"listUnordered"===i)return t.enter("listItemPrefix"),42===e||45===e?t.check(Ly,n,l)(e):l(e);if(!r.interrupt||49===e)return t.enter("listItemPrefix"),t.enter("listItemValue"),s(e)}return n(e)};function s(e){return uy(e)&&++a<10?(t.consume(e),s):(!r.interrupt||a<2)&&(r.containerState.marker?e===r.containerState.marker:41===e||46===e)?(t.exit("listItemValue"),l(e)):n(e)}function l(e){return t.enter("listItemMarker"),t.consume(e),t.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||e,t.check(Ay,r.interrupt?n:c,t.attempt(Fy,h,u))}function c(t){return r.containerState.initialBlankLine=!0,o++,h(t)}function u(e){return my(e)?(t.enter("listItemPrefixWhitespace"),t.consume(e),t.exit("listItemPrefixWhitespace"),h):n(e)}function h(n){return r.containerState.size=o+r.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(n)}},continuation:{tokenize:function(t,e,n){const r=this;return r.containerState._closeFlow=void 0,t.check(Ay,(function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,by(t,e,"listItemIndent",r.containerState.size+1)(n)}),(function(n){return r.containerState.furtherBlankLines||!my(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,t.attempt(By,e,i)(n))}));function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,by(t,t.attempt(Py,e,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(t){t.exit(this.containerState.type)}},Fy={tokenize:function(t,e,n){const r=this;return by(t,(function(t){const i=r.events[r.events.length-1];return!my(t)&&i&&"listItemPrefixWhitespace"===i[1].type?e(t):n(t)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},By={tokenize:function(t,e,n){const r=this;return by(t,(function(t){const i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?e(t):n(t)}),"listItemIndent",r.containerState.size+1)},partial:!0},Uy={name:"blockQuote",tokenize:function(t,e,n){const r=this;return function(e){if(62===e){const n=r.containerState;return n.open||(t.enter("blockQuote",{_container:!0}),n.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(e),t.exit("blockQuoteMarker"),i}return n(e)};function i(n){return my(n)?(t.enter("blockQuotePrefixWhitespace"),t.consume(n),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),e):(t.exit("blockQuotePrefix"),e(n))}},continuation:{tokenize:function(t,e,n){const r=this;return function(e){return my(e)?by(t,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):i(e)};function i(r){return t.attempt(Uy,e,n)(r)}}},exit:function(t){t.exit("blockQuote")}};function jy(t,e,n,r,i,o,a,s,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return function(e){return 60===e?(t.enter(r),t.enter(i),t.enter(o),t.consume(e),t.exit(o),h):null===e||32===e||41===e||cy(e)?n(e):(t.enter(r),t.enter(a),t.enter(s),t.enter("chunkString",{contentType:"string"}),p(e))};function h(n){return 62===n?(t.enter(o),t.consume(n),t.exit(o),t.exit(i),t.exit(r),e):(t.enter(s),t.enter("chunkString",{contentType:"string"}),f(n))}function f(e){return 62===e?(t.exit("chunkString"),t.exit(s),h(e)):null===e||60===e||dy(e)?n(e):(t.consume(e),92===e?d:f)}function d(e){return 60===e||62===e||92===e?(t.consume(e),f):f(e)}function p(i){return u||null!==i&&41!==i&&!py(i)?u<c&&40===i?(t.consume(i),u++,p):41===i?(t.consume(i),u--,p):null===i||32===i||40===i||cy(i)?n(i):(t.consume(i),92===i?m:p):(t.exit("chunkString"),t.exit(s),t.exit(a),t.exit(r),e(i))}function m(e){return 40===e||41===e||92===e?(t.consume(e),p):p(e)}}function Hy(t,e,n,r,i,o){const a=this;let s,l=0;return function(e){return t.enter(r),t.enter(i),t.consume(e),t.exit(i),t.enter(o),c};function c(h){return l>999||null===h||91===h||93===h&&!s||94===h&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs?n(h):93===h?(t.exit(o),t.enter(i),t.consume(h),t.exit(i),t.exit(r),e):dy(h)?(t.enter("lineEnding"),t.consume(h),t.exit("lineEnding"),c):(t.enter("chunkString",{contentType:"string"}),u(h))}function u(e){return null===e||91===e||93===e||dy(e)||l++>999?(t.exit("chunkString"),c(e)):(t.consume(e),s||(s=!my(e)),92===e?h:u)}function h(e){return 91===e||92===e||93===e?(t.consume(e),l++,u):u(e)}}function zy(t,e,n,r,i,o){let a;return function(e){return 34===e||39===e||40===e?(t.enter(r),t.enter(i),t.consume(e),t.exit(i),a=40===e?41:e,s):n(e)};function s(n){return n===a?(t.enter(i),t.consume(n),t.exit(i),t.exit(r),e):(t.enter(o),l(n))}function l(e){return e===a?(t.exit(o),s(a)):null===e?n(e):dy(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),by(t,l,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),c(e))}function c(e){return e===a||null===e||dy(e)?(t.exit("chunkString"),l(e)):(t.consume(e),92===e?u:c)}function u(e){return e===a||92===e?(t.consume(e),c):c(e)}}function qy(t,e){let n;return function r(i){return dy(i)?(t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),n=!0,r):my(i)?by(t,r,n?"linePrefix":"lineSuffix")(i):e(i)}}function Wy(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Gy={name:"definition",tokenize:function(t,e,n){const r=this;let i;return function(e){return t.enter("definition"),function(e){return Hy.call(r,t,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(e)}(e)};function o(e){return i=Wy(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===e?(t.enter("definitionMarker"),t.consume(e),t.exit("definitionMarker"),a):n(e)}function a(e){return py(e)?qy(t,s)(e):s(e)}function s(e){return jy(t,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(e)}function l(e){return t.attempt(Ky,c,c)(e)}function c(e){return my(e)?by(t,u,"whitespace")(e):u(e)}function u(o){return null===o||dy(o)?(t.exit("definition"),r.parser.defined.push(i),e(o)):n(o)}}},Ky={tokenize:function(t,e,n){return function(e){return py(e)?qy(t,r)(e):n(e)};function r(e){return zy(t,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(e)}function i(e){return my(e)?by(t,o,"whitespace")(e):o(e)}function o(t){return null===t||dy(t)?e(t):n(t)}},partial:!0},Yy={name:"codeIndented",tokenize:function(t,e,n){const r=this;return function(e){return t.enter("codeIndented"),by(t,i,"linePrefix",5)(e)};function i(t){const e=r.events[r.events.length-1];return e&&"linePrefix"===e[1].type&&e[2].sliceSerialize(e[1],!0).length>=4?o(t):n(t)}function o(e){return null===e?s(e):dy(e)?t.attempt(Vy,o,s)(e):(t.enter("codeFlowValue"),a(e))}function a(e){return null===e||dy(e)?(t.exit("codeFlowValue"),o(e)):(t.consume(e),a)}function s(n){return t.exit("codeIndented"),e(n)}}},Vy={tokenize:function(t,e,n){const r=this;return i;function i(e){return r.parser.lazy[r.now().line]?n(e):dy(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),i):by(t,o,"linePrefix",5)(e)}function o(t){const o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?e(t):dy(t)?i(t):n(t)}},partial:!0},Xy={name:"headingAtx",tokenize:function(t,e,n){let r=0;return function(e){return t.enter("atxHeading"),function(e){return t.enter("atxHeadingSequence"),i(e)}(e)};function i(e){return 35===e&&r++<6?(t.consume(e),i):null===e||py(e)?(t.exit("atxHeadingSequence"),o(e)):n(e)}function o(n){return 35===n?(t.enter("atxHeadingSequence"),a(n)):null===n||dy(n)?(t.exit("atxHeading"),e(n)):my(n)?by(t,o,"whitespace")(n):(t.enter("atxHeadingText"),s(n))}function a(e){return 35===e?(t.consume(e),a):(t.exit("atxHeadingSequence"),o(e))}function s(e){return null===e||35===e||py(e)?(t.exit("atxHeadingText"),o(e)):(t.consume(e),s)}},resolve:function(t,e){let n,r,i=t.length-2,o=3;return"whitespace"===t[o][1].type&&(o+=2),i-2>o&&"whitespace"===t[i][1].type&&(i-=2),"atxHeadingSequence"===t[i][1].type&&(o===i-1||i-4>o&&"whitespace"===t[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:t[o][1].start,end:t[i][1].end},r={type:"chunkText",start:t[o][1].start,end:t[i][1].end,contentType:"text"},$g(t,o,i-o+1,[["enter",n,e],["enter",r,e],["exit",r,e],["exit",n,e]])),t}},Zy={name:"setextUnderline",tokenize:function(t,e,n){const r=this;let i;return function(e){let a,s=r.events.length;for(;s--;)if("lineEnding"!==r.events[s][1].type&&"linePrefix"!==r.events[s][1].type&&"content"!==r.events[s][1].type){a="paragraph"===r.events[s][1].type;break}return r.parser.lazy[r.now().line]||!r.interrupt&&!a?n(e):(t.enter("setextHeadingLine"),i=e,function(e){return t.enter("setextHeadingLineSequence"),o(e)}(e))};function o(e){return e===i?(t.consume(e),o):(t.exit("setextHeadingLineSequence"),my(e)?by(t,a,"lineSuffix")(e):a(e))}function a(r){return null===r||dy(r)?(t.exit("setextHeadingLine"),e(r)):n(r)}},resolveTo:function(t,e){let n,r,i,o=t.length;for(;o--;)if("enter"===t[o][0]){if("content"===t[o][1].type){n=o;break}"paragraph"===t[o][1].type&&(r=o)}else"content"===t[o][1].type&&t.splice(o,1),i||"definition"!==t[o][1].type||(i=o);const a={type:"setextHeading",start:Object.assign({},t[r][1].start),end:Object.assign({},t[t.length-1][1].end)};return t[r][1].type="setextHeadingText",i?(t.splice(r,0,["enter",a,e]),t.splice(i+1,0,["exit",t[n][1],e]),t[n][1].end=Object.assign({},t[i][1].end)):t[n][1]=a,t.push(["exit",a,e]),t}},$y=["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","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Qy=["pre","script","style","textarea"],Jy={name:"htmlFlow",tokenize:function(t,e,n){const r=this;let i,o,a,s,l;return function(e){return function(e){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(e),c}(e)};function c(s){return 33===s?(t.consume(s),u):47===s?(t.consume(s),o=!0,d):63===s?(t.consume(s),i=3,r.interrupt?e:O):ay(s)?(t.consume(s),a=String.fromCharCode(s),p):n(s)}function u(o){return 45===o?(t.consume(o),i=2,h):91===o?(t.consume(o),i=5,s=0,f):ay(o)?(t.consume(o),i=4,r.interrupt?e:O):n(o)}function h(i){return 45===i?(t.consume(i),r.interrupt?e:O):n(i)}function f(i){return i==="CDATA[".charCodeAt(s++)?(t.consume(i),6===s?r.interrupt?e:x:f):n(i)}function d(e){return ay(e)?(t.consume(e),a=String.fromCharCode(e),p):n(e)}function p(s){if(null===s||47===s||62===s||py(s)){const l=47===s,c=a.toLowerCase();return l||o||!Qy.includes(c)?$y.includes(a.toLowerCase())?(i=6,l?(t.consume(s),m):r.interrupt?e(s):x(s)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):o?g(s):y(s)):(i=1,r.interrupt?e(s):x(s))}return 45===s||sy(s)?(t.consume(s),a+=String.fromCharCode(s),p):n(s)}function m(i){return 62===i?(t.consume(i),r.interrupt?e:x):n(i)}function g(e){return my(e)?(t.consume(e),g):M(e)}function y(e){return 47===e?(t.consume(e),M):58===e||95===e||ay(e)?(t.consume(e),w):my(e)?(t.consume(e),y):M(e)}function w(e){return 45===e||46===e||58===e||95===e||sy(e)?(t.consume(e),w):b(e)}function b(e){return 61===e?(t.consume(e),v):my(e)?(t.consume(e),b):y(e)}function v(e){return null===e||60===e||61===e||62===e||96===e?n(e):34===e||39===e?(t.consume(e),l=e,E):my(e)?(t.consume(e),v):_(e)}function E(e){return e===l?(t.consume(e),l=null,A):null===e||dy(e)?n(e):(t.consume(e),E)}function _(e){return null===e||34===e||39===e||47===e||60===e||61===e||62===e||96===e||py(e)?b(e):(t.consume(e),_)}function A(t){return 47===t||62===t||my(t)?y(t):n(t)}function M(e){return 62===e?(t.consume(e),T):n(e)}function T(e){return null===e||dy(e)?x(e):my(e)?(t.consume(e),T):n(e)}function x(e){return 45===e&&2===i?(t.consume(e),D):60===e&&1===i?(t.consume(e),I):62===e&&4===i?(t.consume(e),L):63===e&&3===i?(t.consume(e),O):93===e&&5===i?(t.consume(e),N):!dy(e)||6!==i&&7!==i?null===e||dy(e)?(t.exit("htmlFlowData"),S(e)):(t.consume(e),x):(t.exit("htmlFlowData"),t.check(tw,P,S)(e))}function S(e){return t.check(ew,k,P)(e)}function k(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),C}function C(e){return null===e||dy(e)?S(e):(t.enter("htmlFlowData"),x(e))}function D(e){return 45===e?(t.consume(e),O):x(e)}function I(e){return 47===e?(t.consume(e),a="",R):x(e)}function R(e){if(62===e){const n=a.toLowerCase();return Qy.includes(n)?(t.consume(e),L):x(e)}return ay(e)&&a.length<8?(t.consume(e),a+=String.fromCharCode(e),R):x(e)}function N(e){return 93===e?(t.consume(e),O):x(e)}function O(e){return 62===e?(t.consume(e),L):45===e&&2===i?(t.consume(e),O):x(e)}function L(e){return null===e||dy(e)?(t.exit("htmlFlowData"),P(e)):(t.consume(e),L)}function P(n){return t.exit("htmlFlow"),e(n)}},resolveTo:function(t){let e=t.length;for(;e--&&("enter"!==t[e][0]||"htmlFlow"!==t[e][1].type););return e>1&&"linePrefix"===t[e-2][1].type&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2)),t},concrete:!0},tw={tokenize:function(t,e,n){return function(r){return t.enter("lineEnding"),t.consume(r),t.exit("lineEnding"),t.attempt(Ay,e,n)}},partial:!0},ew={tokenize:function(t,e,n){const r=this;return function(e){return dy(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),i):n(e)};function i(t){return r.parser.lazy[r.now().line]?n(t):e(t)}},partial:!0},nw={tokenize:function(t,e,n){const r=this;return function(e){return null===e?n(e):(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),i)};function i(t){return r.parser.lazy[r.now().line]?n(t):e(t)}},partial:!0},rw={name:"codeFenced",tokenize:function(t,e,n){const r=this,i={tokenize:function(t,e,n){let i=0;return function(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),a};function a(e){return t.enter("codeFencedFence"),my(e)?by(t,l,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):l(e)}function l(e){return e===o?(t.enter("codeFencedFenceSequence"),c(e)):n(e)}function c(e){return e===o?(i++,t.consume(e),c):i>=s?(t.exit("codeFencedFenceSequence"),my(e)?by(t,u,"whitespace")(e):u(e)):n(e)}function u(r){return null===r||dy(r)?(t.exit("codeFencedFence"),e(r)):n(r)}},partial:!0};let o,a=0,s=0;return function(e){return function(e){const n=r.events[r.events.length-1];return a=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,o=e,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),l(e)}(e)};function l(e){return e===o?(s++,t.consume(e),l):s<3?n(e):(t.exit("codeFencedFenceSequence"),my(e)?by(t,c,"whitespace")(e):c(e))}function c(n){return null===n||dy(n)?(t.exit("codeFencedFence"),r.interrupt?e(n):t.check(nw,d,w)(n)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),u(n))}function u(e){return null===e||dy(e)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),c(e)):my(e)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),by(t,h,"whitespace")(e)):96===e&&e===o?n(e):(t.consume(e),u)}function h(e){return null===e||dy(e)?c(e):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),f(e))}function f(e){return null===e||dy(e)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),c(e)):96===e&&e===o?n(e):(t.consume(e),f)}function d(e){return t.attempt(i,w,p)(e)}function p(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),m}function m(e){return a>0&&my(e)?by(t,g,"linePrefix",a+1)(e):g(e)}function g(e){return null===e||dy(e)?t.check(nw,d,w)(e):(t.enter("codeFlowValue"),y(e))}function y(e){return null===e||dy(e)?(t.exit("codeFlowValue"),g(e)):(t.consume(e),y)}function w(n){return t.exit("codeFenced"),e(n)}},concrete:!0},iw={name:"characterReference",tokenize:function(t,e,n){const r=this;let i,o,a=0;return function(e){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(e),t.exit("characterReferenceMarker"),s};function s(e){return 35===e?(t.enter("characterReferenceMarkerNumeric"),t.consume(e),t.exit("characterReferenceMarkerNumeric"),l):(t.enter("characterReferenceValue"),i=31,o=sy,c(e))}function l(e){return 88===e||120===e?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(e),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),i=6,o=hy,c):(t.enter("characterReferenceValue"),i=7,o=uy,c(e))}function c(s){if(59===s&&a){const i=t.exit("characterReferenceValue");return o!==sy||ma(r.sliceSerialize(i))?(t.enter("characterReferenceMarker"),t.consume(s),t.exit("characterReferenceMarker"),t.exit("characterReference"),e):n(s)}return o(s)&&a++<i?(t.consume(s),c):n(s)}}},ow={name:"characterEscape",tokenize:function(t,e,n){return function(e){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(e),t.exit("escapeMarker"),r};function r(r){return fy(r)?(t.enter("characterEscapeValue"),t.consume(r),t.exit("characterEscapeValue"),t.exit("characterEscape"),e):n(r)}}},aw={name:"lineEnding",tokenize:function(t,e){return function(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),by(t,e,"linePrefix")}}},sw={name:"labelEnd",tokenize:function(t,e,n){const r=this;let i,o,a=r.events.length;for(;a--;)if(("labelImage"===r.events[a][1].type||"labelLink"===r.events[a][1].type)&&!r.events[a][1]._balanced){i=r.events[a][1];break}return function(e){return i?i._inactive?u(e):(o=r.parser.defined.includes(Wy(r.sliceSerialize({start:i.end,end:r.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelEnd"),s):n(e)};function s(e){return 40===e?t.attempt(lw,c,o?c:u)(e):91===e?t.attempt(cw,c,o?l:u)(e):o?c(e):u(e)}function l(e){return t.attempt(uw,c,u)(e)}function c(t){return e(t)}function u(t){return i._balanced=!0,n(t)}},resolveTo:function(t,e){let n,r,i,o,a=t.length,s=0;for(;a--;)if(n=t[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===t[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===t[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(i=a);const l={type:"labelLink"===t[r][1].type?"link":"image",start:Object.assign({},t[r][1].start),end:Object.assign({},t[t.length-1][1].end)},c={type:"label",start:Object.assign({},t[r][1].start),end:Object.assign({},t[i][1].end)},u={type:"labelText",start:Object.assign({},t[r+s+2][1].end),end:Object.assign({},t[i-2][1].start)};return o=[["enter",l,e],["enter",c,e]],o=Qg(o,t.slice(r+1,r+s+3)),o=Qg(o,[["enter",u,e]]),o=Qg(o,Ny(e.parser.constructs.insideSpan.null,t.slice(r+s+4,i-3),e)),o=Qg(o,[["exit",u,e],t[i-2],t[i-1],["exit",c,e]]),o=Qg(o,t.slice(i+1)),o=Qg(o,[["exit",l,e]]),$g(t,r,t.length,o),t},resolveAll:function(t){let e=-1;for(;++e<t.length;){const n=t[e][1];"labelImage"!==n.type&&"labelLink"!==n.type&&"labelEnd"!==n.type||(t.splice(e+1,"labelImage"===n.type?4:2),n.type="data",e++)}return t}},lw={tokenize:function(t,e,n){return function(e){return t.enter("resource"),t.enter("resourceMarker"),t.consume(e),t.exit("resourceMarker"),r};function r(e){return py(e)?qy(t,i)(e):i(e)}function i(e){return 41===e?c(e):jy(t,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(e)}function o(e){return py(e)?qy(t,s)(e):c(e)}function a(t){return n(t)}function s(e){return 34===e||39===e||40===e?zy(t,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(e):c(e)}function l(e){return py(e)?qy(t,c)(e):c(e)}function c(r){return 41===r?(t.enter("resourceMarker"),t.consume(r),t.exit("resourceMarker"),t.exit("resource"),e):n(r)}}},cw={tokenize:function(t,e,n){const r=this;return function(e){return Hy.call(r,t,i,o,"reference","referenceMarker","referenceString")(e)};function i(t){return r.parser.defined.includes(Wy(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?e(t):n(t)}function o(t){return n(t)}}},uw={tokenize:function(t,e,n){return function(e){return t.enter("reference"),t.enter("referenceMarker"),t.consume(e),t.exit("referenceMarker"),r};function r(r){return 93===r?(t.enter("referenceMarker"),t.consume(r),t.exit("referenceMarker"),t.exit("reference"),e):n(r)}}},hw={name:"labelStartImage",tokenize:function(t,e,n){const r=this;return function(e){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(e),t.exit("labelImageMarker"),i};function i(e){return 91===e?(t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelImage"),o):n(e)}function o(t){return 94===t&&"_hiddenFootnoteSupport"in r.parser.constructs?n(t):e(t)}},resolveAll:sw.resolveAll};function fw(t){return null===t||py(t)||yy(t)?1:gy(t)?2:void 0}const dw={name:"attention",tokenize:function(t,e){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=fw(r);let o;return function(e){return o=e,t.enter("attentionSequence"),a(e)};function a(s){if(s===o)return t.consume(s),a;const l=t.exit("attentionSequence"),c=fw(s),u=!c||2===c&&i||n.includes(s),h=!i||2===i&&c||n.includes(r);return l._open=Boolean(42===o?u:u&&(i||!h)),l._close=Boolean(42===o?h:h&&(c||!u)),e(s)}},resolveAll:function(t,e){let n,r,i,o,a,s,l,c,u=-1;for(;++u<t.length;)if("enter"===t[u][0]&&"attentionSequence"===t[u][1].type&&t[u][1]._close)for(n=u;n--;)if("exit"===t[n][0]&&"attentionSequence"===t[n][1].type&&t[n][1]._open&&e.sliceSerialize(t[n][1]).charCodeAt(0)===e.sliceSerialize(t[u][1]).charCodeAt(0)){if((t[n][1]._close||t[u][1]._open)&&(t[u][1].end.offset-t[u][1].start.offset)%3&&!((t[n][1].end.offset-t[n][1].start.offset+t[u][1].end.offset-t[u][1].start.offset)%3))continue;s=t[n][1].end.offset-t[n][1].start.offset>1&&t[u][1].end.offset-t[u][1].start.offset>1?2:1;const h=Object.assign({},t[n][1].end),f=Object.assign({},t[u][1].start);pw(h,-s),pw(f,s),o={type:s>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},t[n][1].end)},a={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[u][1].start),end:f},i={type:s>1?"strongText":"emphasisText",start:Object.assign({},t[n][1].end),end:Object.assign({},t[u][1].start)},r={type:s>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},a.end)},t[n][1].end=Object.assign({},o.start),t[u][1].start=Object.assign({},a.end),l=[],t[n][1].end.offset-t[n][1].start.offset&&(l=Qg(l,[["enter",t[n][1],e],["exit",t[n][1],e]])),l=Qg(l,[["enter",r,e],["enter",o,e],["exit",o,e],["enter",i,e]]),l=Qg(l,Ny(e.parser.constructs.insideSpan.null,t.slice(n+1,u),e)),l=Qg(l,[["exit",i,e],["enter",a,e],["exit",a,e],["exit",r,e]]),t[u][1].end.offset-t[u][1].start.offset?(c=2,l=Qg(l,[["enter",t[u][1],e],["exit",t[u][1],e]])):c=0,$g(t,n-1,u-n+3,l),u=n+l.length-c-2;break}for(u=-1;++u<t.length;)"attentionSequence"===t[u][1].type&&(t[u][1].type="data");return t}};function pw(t,e){t.column+=e,t.offset+=e,t._bufferIndex+=e}const mw={name:"autolink",tokenize:function(t,e,n){let r=0;return function(e){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(e),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),i};function i(e){return ay(e)?(t.consume(e),o):l(e)}function o(t){return 43===t||45===t||46===t||sy(t)?(r=1,a(t)):l(t)}function a(e){return 58===e?(t.consume(e),r=0,s):(43===e||45===e||46===e||sy(e))&&r++<32?(t.consume(e),a):(r=0,l(e))}function s(r){return 62===r?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(r),t.exit("autolinkMarker"),t.exit("autolink"),e):null===r||32===r||60===r||cy(r)?n(r):(t.consume(r),s)}function l(e){return 64===e?(t.consume(e),c):ly(e)?(t.consume(e),l):n(e)}function c(t){return sy(t)?u(t):n(t)}function u(n){return 46===n?(t.consume(n),r=0,c):62===n?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(n),t.exit("autolinkMarker"),t.exit("autolink"),e):h(n)}function h(e){if((45===e||sy(e))&&r++<63){const n=45===e?h:u;return t.consume(e),n}return n(e)}}},gw={name:"htmlText",tokenize:function(t,e,n){const r=this;let i,o,a;return function(e){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(e),s};function s(e){return 33===e?(t.consume(e),l):47===e?(t.consume(e),v):63===e?(t.consume(e),w):ay(e)?(t.consume(e),A):n(e)}function l(e){return 45===e?(t.consume(e),c):91===e?(t.consume(e),o=0,d):ay(e)?(t.consume(e),y):n(e)}function c(e){return 45===e?(t.consume(e),f):n(e)}function u(e){return null===e?n(e):45===e?(t.consume(e),h):dy(e)?(a=u,R(e)):(t.consume(e),u)}function h(e){return 45===e?(t.consume(e),f):u(e)}function f(t){return 62===t?I(t):45===t?h(t):u(t)}function d(e){return e==="CDATA[".charCodeAt(o++)?(t.consume(e),6===o?p:d):n(e)}function p(e){return null===e?n(e):93===e?(t.consume(e),m):dy(e)?(a=p,R(e)):(t.consume(e),p)}function m(e){return 93===e?(t.consume(e),g):p(e)}function g(e){return 62===e?I(e):93===e?(t.consume(e),g):p(e)}function y(e){return null===e||62===e?I(e):dy(e)?(a=y,R(e)):(t.consume(e),y)}function w(e){return null===e?n(e):63===e?(t.consume(e),b):dy(e)?(a=w,R(e)):(t.consume(e),w)}function b(t){return 62===t?I(t):w(t)}function v(e){return ay(e)?(t.consume(e),E):n(e)}function E(e){return 45===e||sy(e)?(t.consume(e),E):_(e)}function _(e){return dy(e)?(a=_,R(e)):my(e)?(t.consume(e),_):I(e)}function A(e){return 45===e||sy(e)?(t.consume(e),A):47===e||62===e||py(e)?M(e):n(e)}function M(e){return 47===e?(t.consume(e),I):58===e||95===e||ay(e)?(t.consume(e),T):dy(e)?(a=M,R(e)):my(e)?(t.consume(e),M):I(e)}function T(e){return 45===e||46===e||58===e||95===e||sy(e)?(t.consume(e),T):x(e)}function x(e){return 61===e?(t.consume(e),S):dy(e)?(a=x,R(e)):my(e)?(t.consume(e),x):M(e)}function S(e){return null===e||60===e||61===e||62===e||96===e?n(e):34===e||39===e?(t.consume(e),i=e,k):dy(e)?(a=S,R(e)):my(e)?(t.consume(e),S):(t.consume(e),C)}function k(e){return e===i?(t.consume(e),i=void 0,D):null===e?n(e):dy(e)?(a=k,R(e)):(t.consume(e),k)}function C(e){return null===e||34===e||39===e||60===e||61===e||96===e?n(e):47===e||62===e||py(e)?M(e):(t.consume(e),C)}function D(t){return 47===t||62===t||py(t)?M(t):n(t)}function I(r){return 62===r?(t.consume(r),t.exit("htmlTextData"),t.exit("htmlText"),e):n(r)}function R(e){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),N}function N(e){return my(e)?by(t,O,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):O(e)}function O(e){return t.enter("htmlTextData"),a(e)}}},yw={name:"labelStartLink",tokenize:function(t,e,n){const r=this;return function(e){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelLink"),i};function i(t){return 94===t&&"_hiddenFootnoteSupport"in r.parser.constructs?n(t):e(t)}},resolveAll:sw.resolveAll},ww={name:"hardBreakEscape",tokenize:function(t,e,n){return function(e){return t.enter("hardBreakEscape"),t.consume(e),r};function r(r){return dy(r)?(t.exit("hardBreakEscape"),e(r)):n(r)}}},bw={name:"codeText",tokenize:function(t,e,n){let r,i,o=0;return function(e){return t.enter("codeText"),t.enter("codeTextSequence"),a(e)};function a(e){return 96===e?(t.consume(e),o++,a):(t.exit("codeTextSequence"),s(e))}function s(e){return null===e?n(e):32===e?(t.enter("space"),t.consume(e),t.exit("space"),s):96===e?(i=t.enter("codeTextSequence"),r=0,c(e)):dy(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),s):(t.enter("codeTextData"),l(e))}function l(e){return null===e||32===e||96===e||dy(e)?(t.exit("codeTextData"),s(e)):(t.consume(e),l)}function c(n){return 96===n?(t.consume(n),r++,c):r===o?(t.exit("codeTextSequence"),t.exit("codeText"),e(n)):(i.type="codeTextData",l(n))}},resolve:function(t){let e,n,r=t.length-4,i=3;if(!("lineEnding"!==t[i][1].type&&"space"!==t[i][1].type||"lineEnding"!==t[r][1].type&&"space"!==t[r][1].type))for(e=i;++e<r;)if("codeTextData"===t[e][1].type){t[i][1].type="codeTextPadding",t[r][1].type="codeTextPadding",i+=2,r-=2;break}for(e=i-1,r++;++e<=r;)void 0===n?e!==r&&"lineEnding"!==t[e][1].type&&(n=e):e!==r&&"lineEnding"!==t[e][1].type||(t[n][1].type="codeTextData",e!==n+2&&(t[n][1].end=t[e-1][1].end,t.splice(n+2,e-n-2),r-=e-n-2,e=n+2),n=void 0);return t},previous:function(t){return 96!==t||"characterEscape"===this.events[this.events.length-1][1].type}},vw={42:Py,43:Py,45:Py,48:Py,49:Py,50:Py,51:Py,52:Py,53:Py,54:Py,55:Py,56:Py,57:Py,62:Uy},Ew={91:Gy},_w={[-2]:Yy,[-1]:Yy,32:Yy},Aw={35:Xy,42:Ly,45:[Zy,Ly],60:Jy,61:Zy,95:Ly,96:rw,126:rw},Mw={38:iw,92:ow},Tw={[-5]:aw,[-4]:aw,[-3]:aw,33:hw,38:iw,42:dw,60:[mw,gw],91:yw,92:[ww,ow],93:sw,95:dw,96:bw},xw={null:[dw,Sy]},Sw={null:[42,95]},kw={null:[]};function Cw(t){const n={defined:[],lazy:{},constructs:ry([e,...(t||{}).extensions||[]]),content:r(vy),document:r(Ey),flow:r(xy),string:r(ky),text:r(Cy)};return n;function r(t){return function(e){return Oy(n,t,e)}}}const Dw=/[\0\t\n\r]/g;function Iw(){let t,e=1,n="",r=!0;return function(i,o,a){const s=[];let l,c,u,h,f;for(i=n+("string"==typeof i?i.toString():new TextDecoder(o||void 0).decode(i)),u=0,n="",r&&(65279===i.charCodeAt(0)&&u++,r=void 0);u<i.length;){if(Dw.lastIndex=u,l=Dw.exec(i),h=l&&void 0!==l.index?l.index:i.length,f=i.charCodeAt(h),!l){n=i.slice(u);break}if(10===f&&u===h&&t)s.push(-3),t=void 0;else switch(t&&(s.push(-5),t=void 0),u<h&&(s.push(i.slice(u,h)),e+=h-u),f){case 0:s.push(65533),e++;break;case 9:for(c=4*Math.ceil(e/4),s.push(-2);e++<c;)s.push(-1);break;case 10:s.push(-4),e=1;break;default:t=!0,e=1}u=h+1}return a&&(t&&s.push(-5),n&&s.push(n),s.push(null)),s}}const Rw={}.hasOwnProperty;function Nw(t,e,n){return"string"!=typeof e&&(n=e,e=void 0),function(t){const e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(b),autolinkProtocol:h,autolinkEmail:h,atxHeading:i(g),blockQuote:i((function(){return{type:"blockquote",children:[]}})),characterEscape:h,characterReference:h,codeFenced:i(m),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:i(m,o),codeText:i((function(){return{type:"inlineCode",value:""}}),o),codeTextData:h,data:h,codeFlowValue:h,definition:i((function(){return{type:"definition",identifier:"",label:null,title:null,url:""}})),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:i((function(){return{type:"emphasis",children:[]}})),hardBreakEscape:i(y),hardBreakTrailing:i(y),htmlFlow:i(w,o),htmlFlowData:h,htmlText:i(w,o),htmlTextData:h,image:i((function(){return{type:"image",title:null,url:"",alt:null}})),label:o,link:i(b),listItem:i((function(t){return{type:"listItem",spread:t._spread,checked:null,children:[]}})),listItemValue:function(t){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(t),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:i(v,(function(){this.data.expectingFirstListItemValue=!0})),listUnordered:i(v),paragraph:i((function(){return{type:"paragraph",children:[]}})),reference:function(){this.data.referenceType="collapsed"},referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:i(g),strong:i((function(){return{type:"strong",children:[]}})),thematicBreak:i((function(){return{type:"thematicBreak"}}))},exit:{atxHeading:s(),atxHeadingSequence:function(t){const e=this.stack[this.stack.length-1];if(!e.depth){const n=this.sliceSerialize(t).length;e.depth=n}},autolink:s(),autolinkEmail:function(t){f.call(this,t),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(t)},autolinkProtocol:function(t){f.call(this,t),this.stack[this.stack.length-1].url=this.sliceSerialize(t)},blockQuote:s(),characterEscapeValue:f,characterReferenceMarkerHexadecimal:p,characterReferenceMarkerNumeric:p,characterReferenceValue:function(t){const e=this.sliceSerialize(t),n=this.data.characterReferenceType;let r;n?(r=ga(e,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0):r=ma(e);const i=this.stack.pop();i.value+=r,i.position.end=Ow(t.end)},codeFenced:s((function(){const t=this.resume();this.stack[this.stack.length-1].value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0})),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){const t=this.resume();this.stack[this.stack.length-1].lang=t},codeFencedFenceMeta:function(){const t=this.resume();this.stack[this.stack.length-1].meta=t},codeFlowValue:f,codeIndented:s((function(){const t=this.resume();this.stack[this.stack.length-1].value=t.replace(/(\r?\n|\r)$/g,"")})),codeText:s((function(){const t=this.resume();this.stack[this.stack.length-1].value=t})),codeTextData:f,data:f,definition:s(),definitionDestinationString:function(){const t=this.resume();this.stack[this.stack.length-1].url=t},definitionLabelString:function(t){const e=this.resume(),n=this.stack[this.stack.length-1];n.label=e,n.identifier=Wy(this.sliceSerialize(t)).toLowerCase()},definitionTitleString:function(){const t=this.resume();this.stack[this.stack.length-1].title=t},emphasis:s(),hardBreakEscape:s(d),hardBreakTrailing:s(d),htmlFlow:s((function(){const t=this.resume();this.stack[this.stack.length-1].value=t})),htmlFlowData:f,htmlText:s((function(){const t=this.resume();this.stack[this.stack.length-1].value=t})),htmlTextData:f,image:s((function(){const t=this.stack[this.stack.length-1];if(this.data.inReference){const e=this.data.referenceType||"shortcut";t.type+="Reference",t.referenceType=e,delete t.url,delete t.title}else delete t.identifier,delete t.label;this.data.referenceType=void 0})),label:function(){const t=this.stack[this.stack.length-1],e=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){const e=t.children;n.children=e}else n.alt=e},labelText:function(t){const e=this.sliceSerialize(t),n=this.stack[this.stack.length-2];n.label=wa(e),n.identifier=Wy(e).toLowerCase()},lineEnding:function(t){const n=this.stack[this.stack.length-1];if(this.data.atHardBreak)return n.children[n.children.length-1].position.end=Ow(t.end),void(this.data.atHardBreak=void 0);!this.data.setextHeadingSlurpLineEnding&&e.canContainEols.includes(n.type)&&(h.call(this,t),f.call(this,t))},link:s((function(){const t=this.stack[this.stack.length-1];if(this.data.inReference){const e=this.data.referenceType||"shortcut";t.type+="Reference",t.referenceType=e,delete t.url,delete t.title}else delete t.identifier,delete t.label;this.data.referenceType=void 0})),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:function(t){const e=this.resume(),n=this.stack[this.stack.length-1];n.label=e,n.identifier=Wy(this.sliceSerialize(t)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){const t=this.resume();this.stack[this.stack.length-1].url=t},resourceTitleString:function(){const t=this.resume();this.stack[this.stack.length-1].title=t},resource:function(){this.data.inReference=void 0},setextHeading:s((function(){this.data.setextHeadingSlurpLineEnding=void 0})),setextHeadingLineSequence:function(t){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(t).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:s(),thematicBreak:s()}};Lw(e,(t||{}).mdastExtensions||[]);const n={};return function(t){let i={type:"root",children:[]};const s={stack:[i],tokenStack:[],config:e,enter:a,exit:c,buffer:o,resume:u,data:n},l=[];let h=-1;for(;++h<t.length;)"listOrdered"!==t[h][1].type&&"listUnordered"!==t[h][1].type||("enter"===t[h][0]?l.push(h):h=r(t,l.pop(),h));for(h=-1;++h<t.length;){const n=e[t[h][0]];Rw.call(n,t[h][1].type)&&n[t[h][1].type].call(Object.assign({sliceSerialize:t[h][2].sliceSerialize},s),t[h][1])}if(s.tokenStack.length>0){const t=s.tokenStack[s.tokenStack.length-1];(t[1]||Fw).call(s,void 0,t[0])}for(i.position={start:Ow(t.length>0?t[0][1].start:{line:1,column:1,offset:0}),end:Ow(t.length>0?t[t.length-2][1].end:{line:1,column:1,offset:0})},h=-1;++h<e.transforms.length;)i=e.transforms[h](i)||i;return i};function r(t,e,n){let r,i,o,a,s=e-1,l=-1,c=!1;for(;++s<=n;){const e=t[s];switch(e[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===e[0]?l++:l--,a=void 0;break;case"lineEndingBlank":"enter"===e[0]&&(!r||a||l||o||(o=s),a=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:a=void 0}if(!l&&"enter"===e[0]&&"listItemPrefix"===e[1].type||-1===l&&"exit"===e[0]&&("listUnordered"===e[1].type||"listOrdered"===e[1].type)){if(r){let a=s;for(i=void 0;a--;){const e=t[a];if("lineEnding"===e[1].type||"lineEndingBlank"===e[1].type){if("exit"===e[0])continue;i&&(t[i][1].type="lineEndingBlank",c=!0),e[1].type="lineEnding",i=a}else if("linePrefix"!==e[1].type&&"blockQuotePrefix"!==e[1].type&&"blockQuotePrefixWhitespace"!==e[1].type&&"blockQuoteMarker"!==e[1].type&&"listItemIndent"!==e[1].type)break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?t[i][1].start:e[1].end),t.splice(i||s,0,["exit",r,e[2]]),s++,n++}if("listItemPrefix"===e[1].type){const i={type:"listItem",_spread:!1,start:Object.assign({},e[1].start),end:void 0};r=i,t.splice(s,0,["enter",i,e[2]]),s++,n++,o=void 0,a=!0}}}return t[e][1]._spread=c,n}function i(t,e){return function(n){a.call(this,t(n),n),e&&e.call(this,n)}}function o(){this.stack.push({type:"fragment",children:[]})}function a(t,e,n){this.stack[this.stack.length-1].children.push(t),this.stack.push(t),this.tokenStack.push([e,n]),t.position={start:Ow(e.start),end:void 0}}function s(t){return function(e){t&&t.call(this,e),c.call(this,e)}}function c(t,e){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+t.type+"` ("+l({start:t.start,end:t.end})+"): it’s not open");r[0].type!==t.type&&(e?e.call(this,t,r[0]):(r[1]||Fw).call(this,t,r[0])),n.position.end=Ow(t.end)}function u(){return so(this.stack.pop())}function h(t){const e=this.stack[this.stack.length-1].children;let n=e[e.length-1];n&&"text"===n.type||(n={type:"text",value:""},n.position={start:Ow(t.start),end:void 0},e.push(n)),this.stack.push(n)}function f(t){const e=this.stack.pop();e.value+=this.sliceSerialize(t),e.position.end=Ow(t.end)}function d(){this.data.atHardBreak=!0}function p(t){this.data.characterReferenceType=t.type}function m(){return{type:"code",lang:null,meta:null,value:""}}function g(){return{type:"heading",depth:0,children:[]}}function y(){return{type:"break"}}function w(){return{type:"html",value:""}}function b(){return{type:"link",title:null,url:"",children:[]}}function v(t){return{type:"list",ordered:"listOrdered"===t.type,start:null,spread:t._spread,children:[]}}}(n)(ey(Cw(n).document().write(Iw()(t,e,!0))))}function Ow(t){return{line:t.line,column:t.column,offset:t.offset}}function Lw(t,e){let n=-1;for(;++n<e.length;){const r=e[n];Array.isArray(r)?Lw(t,r):Pw(t,r)}}function Pw(t,e){let n;for(n in e)if(Rw.call(e,n))switch(n){case"canContainEols":{const r=e[n];r&&t[n].push(...r);break}case"transforms":{const r=e[n];r&&t[n].push(...r);break}case"enter":case"exit":{const r=e[n];r&&Object.assign(t[n],r);break}}}function Fw(t,e){throw t?new Error("Cannot close `"+t.type+"` ("+l({start:t.start,end:t.end})+"): a different token (`"+e.type+"`, "+l({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+l({start:e.start,end:e.end})+") is still open")}function Bw(t){const e=this;e.parser=function(n){return Nw(n,{...e.data("settings"),...t,extensions:e.data("micromarkExtensions")||[],mdastExtensions:e.data("fromMarkdownExtensions")||[]})}}function Uw(t,e){const n=String(t);if("string"!=typeof e)throw new TypeError("Expected character");let r=0,i=n.indexOf(e);for(;-1!==i;)r++,i=n.indexOf(e,i+e.length);return r}function jw(t){return"string"==typeof t?new RegExp(function(t){if("string"!=typeof t)throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(t),"g"):t}function Hw(t){return"function"==typeof t?t:function(){return t}}const zw="phrasing",qw=["autolink","link","image","label"];function Ww(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function Gw(t){this.config.enter.autolinkProtocol.call(this,t)}function Kw(t){this.config.exit.autolinkProtocol.call(this,t)}function Yw(t){this.config.exit.data.call(this,t);const e=this.stack[this.stack.length-1];e.type,e.url="http://"+this.sliceSerialize(t)}function Vw(t){this.config.exit.autolinkEmail.call(this,t)}function Xw(t){this.exit(t)}function Zw(t){!function(t,e,n){const r=Zr((n||{}).ignore||[]),i=function(t){const e=[];if(!Array.isArray(t))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!t[0]||Array.isArray(t[0])?t:[t];let r=-1;for(;++r<n.length;){const t=n[r];e.push([jw(t[0]),Hw(t[1])])}return e}(e);let o=-1;for(;++o<i.length;)wi(t,"text",a);function a(t,e){let n,a=-1;for(;++a<e.length;){const t=e[a],i=n?n.children:void 0;if(r(t,i?i.indexOf(t):void 0,n))return;n=t}if(n)return function(t,e){const n=e[e.length-1],r=i[o][0],a=i[o][1];let s=0;const l=n.children.indexOf(t);let c=!1,u=[];r.lastIndex=0;let h=r.exec(t.value);for(;h;){const n=h.index,i={index:h.index,input:h.input,stack:[...e,t]};let o=a(...h,i);if("string"==typeof o&&(o=o.length>0?{type:"text",value:o}:void 0),!1===o?r.lastIndex=n+1:(s!==n&&u.push({type:"text",value:t.value.slice(s,n)}),Array.isArray(o)?u.push(...o):o&&u.push(o),s=n+h[0].length,c=!0),!r.global)break;h=r.exec(t.value)}return c?(s<t.value.length&&u.push({type:"text",value:t.value.slice(s)}),n.children.splice(l,1,...u)):u=[t],l+u.length}(t,e)}}(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,$w],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,Qw]],{ignore:["link","linkReference"]})}function $w(t,e,n,r,i){let o="";if(!Jw(i))return!1;if(/^w/i.test(e)&&(n=e+n,e="",o="http://"),!function(t){const e=t.split(".");return!(e.length<2||e[e.length-1]&&(/_/.test(e[e.length-1])||!/[a-zA-Z\d]/.test(e[e.length-1]))||e[e.length-2]&&(/_/.test(e[e.length-2])||!/[a-zA-Z\d]/.test(e[e.length-2])))}(n))return!1;const a=function(t){const e=/[!"&'),.:;<>?\]}]+$/.exec(t);if(!e)return[t,void 0];t=t.slice(0,e.index);let n=e[0],r=n.indexOf(")");const i=Uw(t,"(");let o=Uw(t,")");for(;-1!==r&&i>o;)t+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[t,n]}(n+r);if(!a[0])return!1;const s={type:"link",title:null,url:o+e+a[0],children:[{type:"text",value:e+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function Qw(t,e,n,r){return!(!Jw(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+e+"@"+n,children:[{type:"text",value:e+"@"+n}]}}function Jw(t,e){const n=t.input.charCodeAt(t.index-1);return(0===t.index||yy(n)||gy(n))&&(!e||47!==n)}function tb(){return{enter:{gfmFootnoteDefinition:nb,gfmFootnoteDefinitionLabelString:rb,gfmFootnoteCall:ab,gfmFootnoteCallString:sb},exit:{gfmFootnoteDefinition:ob,gfmFootnoteDefinitionLabelString:ib,gfmFootnoteCall:cb,gfmFootnoteCallString:lb}}}function eb(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:hb,footnoteReference:ub}}}function nb(t){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},t)}function rb(){this.buffer()}function ib(t){const e=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=e,n.identifier=Wy(this.sliceSerialize(t)).toLowerCase()}function ob(t){this.exit(t)}function ab(t){this.enter({type:"footnoteReference",identifier:"",label:""},t)}function sb(){this.buffer()}function lb(t){const e=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=e,n.identifier=Wy(this.sliceSerialize(t)).toLowerCase()}function cb(t){this.exit(t)}function ub(t,e,n,r){const i=n.createTracker(r);let o=i.move("[^");const a=n.enter("footnoteReference"),s=n.enter("reference");return o+=i.move(n.safe(n.associationId(t),{...i.current(),before:o,after:"]"})),s(),a(),o+=i.move("]"),o}function hb(t,e,n,r){const i=n.createTracker(r);let o=i.move("[^");const a=n.enter("footnoteDefinition"),s=n.enter("label");return o+=i.move(n.safe(n.associationId(t),{...i.current(),before:o,after:"]"})),s(),o+=i.move("]:"+(t.children&&t.children.length>0?" ":"")),i.shift(4),o+=i.move(n.indentLines(n.containerFlow(t,i.current()),fb)),a(),o}function fb(t,e,n){return 0===e?t:(n?"":"    ")+t}ub.peek=function(){return"["};const db=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function pb(){return{canContainEols:["delete"],enter:{strikethrough:gb},exit:{strikethrough:yb}}}function mb(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:db}],handlers:{delete:wb}}}function gb(t){this.enter({type:"delete",children:[]},t)}function yb(t){this.exit(t)}function wb(t,e,n,r){const i=n.createTracker(r),o=n.enter("strikethrough");let a=i.move("~~");return a+=n.containerPhrasing(t,{...i.current(),before:a,after:"~"}),a+=i.move("~~"),o(),a}function bb(t){return null==t?"":String(t)}function vb(t){return t.length}function Eb(t){const e="string"==typeof t?t.codePointAt(0):0;return 67===e||99===e?99:76===e||108===e?108:82===e||114===e?114:0}function _b(){return{enter:{table:Ab,tableData:Sb,tableHeader:Sb,tableRow:Tb},exit:{codeText:kb,table:Mb,tableData:xb,tableHeader:xb,tableRow:xb}}}function Ab(t){const e=t._align;this.enter({type:"table",align:e.map((function(t){return"none"===t?null:t})),children:[]},t),this.data.inTable=!0}function Mb(t){this.exit(t),this.data.inTable=void 0}function Tb(t){this.enter({type:"tableRow",children:[]},t)}function xb(t){this.exit(t)}function Sb(t){this.enter({type:"tableCell",children:[]},t)}function kb(t){let e=this.resume();this.data.inTable&&(e=e.replace(/\\([\\|])/g,Cb));const n=this.stack[this.stack.length-1];n.type,n.value=e,this.exit(t)}function Cb(t,e){return"|"===e?e:t}function Db(t){const e=t||{},n=e.tableCellPadding,r=e.tablePipeAlign,i=e.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(t,e,n){let r=ua.inlineCode(t,e,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r},table:function(t,e,n,r){return s(function(t,e,n){const r=t.children;let i=-1;const o=[],a=e.enter("table");for(;++i<r.length;)o[i]=l(r[i],e,n);return a(),o}(t,n,r),t.align)},tableCell:a,tableRow:function(t,e,n,r){const i=s([l(t,n,r)]);return i.slice(0,i.indexOf("\n"))}}};function a(t,e,n,r){const i=n.enter("tableCell"),a=n.enter("phrasing"),s=n.containerPhrasing(t,{...r,before:o,after:o});return a(),i(),s}function s(t,e){return function(t,e={}){const n=(e.align||[]).concat(),r=e.stringLength||vb,i=[],o=[],a=[],s=[];let l=0,c=-1;for(;++c<t.length;){const n=[],i=[];let u=-1;for(t[c].length>l&&(l=t[c].length);++u<t[c].length;){const o=bb(t[c][u]);if(!1!==e.alignDelimiters){const t=r(o);i[u]=t,(void 0===s[u]||t>s[u])&&(s[u]=t)}n.push(o)}o[c]=n,a[c]=i}let u=-1;if("object"==typeof n&&"length"in n)for(;++u<l;)i[u]=Eb(n[u]);else{const t=Eb(n);for(;++u<l;)i[u]=t}u=-1;const h=[],f=[];for(;++u<l;){const t=i[u];let n="",r="";99===t?(n=":",r=":"):108===t?n=":":114===t&&(r=":");let o=!1===e.alignDelimiters?1:Math.max(1,s[u]-n.length-r.length);const a=n+"-".repeat(o)+r;!1!==e.alignDelimiters&&(o=n.length+o+r.length,o>s[u]&&(s[u]=o),f[u]=o),h[u]=a}o.splice(1,0,h),a.splice(1,0,f),c=-1;const d=[];for(;++c<o.length;){const t=o[c],n=a[c];u=-1;const r=[];for(;++u<l;){const o=t[u]||"";let a="",c="";if(!1!==e.alignDelimiters){const t=s[u]-(n[u]||0),e=i[u];114===e?a=" ".repeat(t):99===e?t%2?(a=" ".repeat(t/2+.5),c=" ".repeat(t/2-.5)):(a=" ".repeat(t/2),c=a):c=" ".repeat(t)}!1===e.delimiterStart||u||r.push("|"),!1===e.padding||!1===e.alignDelimiters&&""===o||!1===e.delimiterStart&&!u||r.push(" "),!1!==e.alignDelimiters&&r.push(a),r.push(o),!1!==e.alignDelimiters&&r.push(c),!1!==e.padding&&r.push(" "),!1===e.delimiterEnd&&u===l-1||r.push("|")}d.push(!1===e.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return d.join("\n")}(t,{align:e,alignDelimiters:r,padding:n,stringLength:i})}function l(t,e,n){const r=t.children;let i=-1;const o=[],s=e.enter("tableRow");for(;++i<r.length;)o[i]=a(r[i],0,e,n);return s(),o}}function Ib(){return{exit:{taskListCheckValueChecked:Nb,taskListCheckValueUnchecked:Nb,paragraph:Ob}}}function Rb(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Lb}}}function Nb(t){const e=this.stack[this.stack.length-2];e.type,e.checked="taskListCheckValueChecked"===t.type}function Ob(t){const e=this.stack[this.stack.length-2];if(e&&"listItem"===e.type&&"boolean"==typeof e.checked){const t=this.stack[this.stack.length-1];t.type;const n=t.children[0];if(n&&"text"===n.type){const r=e.children;let i,o=-1;for(;++o<r.length;){const t=r[o];if("paragraph"===t.type){i=t;break}}i===t&&(n.value=n.value.slice(1),0===n.value.length?t.children.shift():t.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,t.position.start=Object.assign({},n.position.start)))}}this.exit(t)}function Lb(t,e,n,r){const i=t.children[0],o="boolean"==typeof t.checked&&i&&"paragraph"===i.type,a="["+(t.checked?"x":" ")+"] ",s=n.createTracker(r);o&&s.move(a);let l=ua.listItem(t,e,n,{...r,...s.current()});return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(t){return t+a}))),l}wb.peek=function(){return"~"};const Pb={tokenize:function(t,e,n){let r=0;return function e(o){return(87===o||119===o)&&r<3?(r++,t.consume(o),e):46===o&&3===r?(t.consume(o),i):n(o)};function i(t){return null===t?n(t):e(t)}},partial:!0},Fb={tokenize:function(t,e,n){let r,i,o;return a;function a(e){return 46===e||95===e?t.check(Ub,l,s)(e):null===e||py(e)||yy(e)||45!==e&&gy(e)?l(e):(o=!0,t.consume(e),a)}function s(e){return 95===e?r=!0:(i=r,r=void 0),t.consume(e),a}function l(t){return i||r||!o?n(t):e(t)}},partial:!0},Bb={tokenize:function(t,e){let n=0,r=0;return i;function i(a){return 40===a?(n++,t.consume(a),i):41===a&&r<n?o(a):33===a||34===a||38===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||60===a||63===a||93===a||95===a||126===a?t.check(Ub,e,o)(a):null===a||py(a)||yy(a)?e(a):(t.consume(a),i)}function o(e){return 41===e&&r++,t.consume(e),i}},partial:!0},Ub={tokenize:function(t,e,n){return r;function r(a){return 33===a||34===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||63===a||95===a||126===a?(t.consume(a),r):38===a?(t.consume(a),o):93===a?(t.consume(a),i):60===a||null===a||py(a)||yy(a)?e(a):n(a)}function i(t){return null===t||40===t||91===t||py(t)||yy(t)?e(t):r(t)}function o(t){return ay(t)?a(t):n(t)}function a(e){return 59===e?(t.consume(e),r):ay(e)?(t.consume(e),a):n(e)}},partial:!0},jb={tokenize:function(t,e,n){return function(e){return t.consume(e),r};function r(t){return sy(t)?n(t):e(t)}},partial:!0},Hb={tokenize:function(t,e,n){const r=this;return function(e){return 87!==e&&119!==e||!Kb.call(r,r.previous)||Zb(r.events)?n(e):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(Pb,t.attempt(Fb,t.attempt(Bb,i),n),n)(e))};function i(n){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),e(n)}},previous:Kb},zb={tokenize:function(t,e,n){const r=this;let i="",o=!1;return function(e){return 72!==e&&104!==e||!Yb.call(r,r.previous)||Zb(r.events)?n(e):(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),i+=String.fromCodePoint(e),t.consume(e),a)};function a(e){if(ay(e)&&i.length<5)return i+=String.fromCodePoint(e),t.consume(e),a;if(58===e){const n=i.toLowerCase();if("http"===n||"https"===n)return t.consume(e),s}return n(e)}function s(e){return 47===e?(t.consume(e),o?l:(o=!0,s)):n(e)}function l(e){return null===e||cy(e)||py(e)||yy(e)||gy(e)?n(e):t.attempt(Fb,t.attempt(Bb,c),n)(e)}function c(n){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),e(n)}},previous:Yb},qb={tokenize:function(t,e,n){const r=this;let i,o;return function(e){return Xb(e)&&Vb.call(r,r.previous)&&!Zb(r.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),a(e)):n(e)};function a(e){return Xb(e)?(t.consume(e),a):64===e?(t.consume(e),s):n(e)}function s(e){return 46===e?t.check(jb,c,l)(e):45===e||95===e||sy(e)?(o=!0,t.consume(e),s):c(e)}function l(e){return t.consume(e),i=!0,s}function c(a){return o&&i&&ay(r.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),e(a)):n(a)}},previous:Vb},Wb={};let Gb=48;for(;Gb<123;)Wb[Gb]=qb,Gb++,58===Gb?Gb=65:91===Gb&&(Gb=97);function Kb(t){return null===t||40===t||42===t||95===t||91===t||93===t||126===t||py(t)}function Yb(t){return!ay(t)}function Vb(t){return!(47===t||Xb(t))}function Xb(t){return 43===t||45===t||46===t||95===t||sy(t)}function Zb(t){let e=t.length,n=!1;for(;e--;){const r=t[e][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return t.length>0&&!n&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}Wb[43]=qb,Wb[45]=qb,Wb[46]=qb,Wb[95]=qb,Wb[72]=[qb,zb],Wb[104]=[qb,zb],Wb[87]=[qb,Hb],Wb[119]=[qb,Hb];const $b={tokenize:function(t,e,n){const r=this;return by(t,(function(t){const i=r.events[r.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?e(t):n(t)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function Qb(){return{document:{91:{tokenize:nv,continuation:{tokenize:rv},exit:iv}},text:{91:{tokenize:ev},93:{add:"after",tokenize:Jb,resolveTo:tv}}}}function Jb(t,e,n){const r=this;let i=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;i--;){const t=r.events[i][1];if("labelImage"===t.type){a=t;break}if("gfmFootnoteCall"===t.type||"labelLink"===t.type||"label"===t.type||"image"===t.type||"link"===t.type)break}return function(i){if(!a||!a._balanced)return n(i);const s=Wy(r.sliceSerialize({start:a.end,end:r.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(i),t.exit("gfmFootnoteCallLabelMarker"),e(i)):n(i)}}function tv(t,e){let n,r=t.length;for(;r--;)if("labelImage"===t[r][1].type&&"enter"===t[r][0]){n=t[r][1];break}t[r+1][1].type="data",t[r+3][1].type="gfmFootnoteCallLabelMarker";const i={type:"gfmFootnoteCall",start:Object.assign({},t[r+3][1].start),end:Object.assign({},t[t.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},t[r+3][1].end),end:Object.assign({},t[r+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},t[t.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},l=[t[r+1],t[r+2],["enter",i,e],t[r+3],t[r+4],["enter",o,e],["exit",o,e],["enter",a,e],["enter",s,e],["exit",s,e],["exit",a,e],t[t.length-2],t[t.length-1],["exit",i,e]];return t.splice(r,t.length-r+1,...l),t}function ev(t,e,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,a=0;return function(e){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(e),t.exit("gfmFootnoteCallLabelMarker"),s};function s(e){return 94!==e?n(e):(t.enter("gfmFootnoteCallMarker"),t.consume(e),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",l)}function l(s){if(a>999||93===s&&!o||null===s||91===s||py(s))return n(s);if(93===s){t.exit("chunkString");const o=t.exit("gfmFootnoteCallString");return i.includes(Wy(r.sliceSerialize(o)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(s),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),e):n(s)}return py(s)||(o=!0),a++,t.consume(s),92===s?c:l}function c(e){return 91===e||92===e||93===e?(t.consume(e),a++,l):l(e)}}function nv(t,e,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,a,s=0;return function(e){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(e),t.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(e){return 94===e?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(e),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",c):n(e)}function c(e){if(s>999||93===e&&!a||null===e||91===e||py(e))return n(e);if(93===e){t.exit("chunkString");const n=t.exit("gfmFootnoteDefinitionLabelString");return o=Wy(r.sliceSerialize(n)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(e),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),h}return py(e)||(a=!0),s++,t.consume(e),92===e?u:c}function u(e){return 91===e||92===e||93===e?(t.consume(e),s++,c):c(e)}function h(e){return 58===e?(t.enter("definitionMarker"),t.consume(e),t.exit("definitionMarker"),i.includes(o)||i.push(o),by(t,f,"gfmFootnoteDefinitionWhitespace")):n(e)}function f(t){return e(t)}}function rv(t,e,n){return t.check(Ay,e,t.attempt($b,e,n))}function iv(t){t.exit("gfmFootnoteDefinition")}function ov(t){let e=(t||{}).singleTilde;const n={tokenize:function(t,n,r){const i=this.previous,o=this.events;let a=0;return function(e){return 126===i&&"characterEscape"!==o[o.length-1][1].type?r(e):(t.enter("strikethroughSequenceTemporary"),s(e))};function s(o){const l=fw(i);if(126===o)return a>1?r(o):(t.consume(o),a++,s);if(a<2&&!e)return r(o);const c=t.exit("strikethroughSequenceTemporary"),u=fw(o);return c._open=!u||2===u&&Boolean(l),c._close=!l||2===l&&Boolean(u),n(o)}},resolveAll:function(t,e){let n=-1;for(;++n<t.length;)if("enter"===t[n][0]&&"strikethroughSequenceTemporary"===t[n][1].type&&t[n][1]._close){let r=n;for(;r--;)if("exit"===t[r][0]&&"strikethroughSequenceTemporary"===t[r][1].type&&t[r][1]._open&&t[n][1].end.offset-t[n][1].start.offset==t[r][1].end.offset-t[r][1].start.offset){t[n][1].type="strikethroughSequence",t[r][1].type="strikethroughSequence";const i={type:"strikethrough",start:Object.assign({},t[r][1].start),end:Object.assign({},t[n][1].end)},o={type:"strikethroughText",start:Object.assign({},t[r][1].end),end:Object.assign({},t[n][1].start)},a=[["enter",i,e],["enter",t[r][1],e],["exit",t[r][1],e],["enter",o,e]],s=e.parser.constructs.insideSpan.null;s&&$g(a,a.length,0,Ny(s,t.slice(r+1,n),e)),$g(a,a.length,0,[["exit",o,e],["enter",t[n][1],e],["exit",t[n][1],e],["exit",i,e]]),$g(t,r-1,n-r+3,a),n=r+a.length-2;break}}for(n=-1;++n<t.length;)"strikethroughSequenceTemporary"===t[n][1].type&&(t[n][1].type="data");return t}};return null==e&&(e=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}class av{constructor(){this.map=[]}add(t,e,n){!function(t,e,n,r){let i=0;if(0!==n||0!==r.length){for(;i<t.map.length;){if(t.map[i][0]===e)return t.map[i][1]+=n,void t.map[i][2].push(...r);i+=1}t.map.push([e,n,r])}}(this,t,e,n)}consume(t){if(this.map.sort((function(t,e){return t[0]-e[0]})),0===this.map.length)return;let e=this.map.length;const n=[];for(;e>0;)e-=1,n.push(t.slice(this.map[e][0]+this.map[e][1]),this.map[e][2]),t.length=this.map[e][0];n.push([...t]),t.length=0;let r=n.pop();for(;r;)t.push(...r),r=n.pop();this.map.length=0}}function sv(t,e){let n=!1;const r=[];for(;e<t.length;){const i=t[e];if(n){if("enter"===i[0])"tableContent"===i[1].type&&r.push("tableDelimiterMarker"===t[e+1][1].type?"left":"none");else if("tableContent"===i[1].type){if("tableDelimiterMarker"===t[e-1][1].type){const t=r.length-1;r[t]="left"===r[t]?"center":"right"}}else if("tableDelimiterRow"===i[1].type)break}else"enter"===i[0]&&"tableDelimiterRow"===i[1].type&&(n=!0);e+=1}return r}function lv(){return{flow:{null:{tokenize:cv,resolveAll:uv}}}}function cv(t,e,n){const r=this;let i,o=0,a=0;return function(t){let e=r.events.length-1;for(;e>-1;){const t=r.events[e][1].type;if("lineEnding"!==t&&"linePrefix"!==t)break;e--}const i=e>-1?r.events[e][1].type:null,o="tableHead"===i||"tableRow"===i?v:s;return o===v&&r.parser.lazy[r.now().line]?n(t):o(t)};function s(e){return t.enter("tableHead"),t.enter("tableRow"),function(t){return 124===t||(i=!0,a+=1),l(t)}(e)}function l(e){return null===e?n(e):dy(e)?a>1?(a=0,r.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),h):n(e):my(e)?by(t,l,"whitespace")(e):(a+=1,i&&(i=!1,o+=1),124===e?(t.enter("tableCellDivider"),t.consume(e),t.exit("tableCellDivider"),i=!0,l):(t.enter("data"),c(e)))}function c(e){return null===e||124===e||py(e)?(t.exit("data"),l(e)):(t.consume(e),92===e?u:c)}function u(e){return 92===e||124===e?(t.consume(e),c):c(e)}function h(e){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(e):(t.enter("tableDelimiterRow"),i=!1,my(e)?by(t,f,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):f(e))}function f(e){return 45===e||58===e?p(e):124===e?(i=!0,t.enter("tableCellDivider"),t.consume(e),t.exit("tableCellDivider"),d):b(e)}function d(e){return my(e)?by(t,p,"whitespace")(e):p(e)}function p(e){return 58===e?(a+=1,i=!0,t.enter("tableDelimiterMarker"),t.consume(e),t.exit("tableDelimiterMarker"),m):45===e?(a+=1,m(e)):null===e||dy(e)?w(e):b(e)}function m(e){return 45===e?(t.enter("tableDelimiterFiller"),g(e)):b(e)}function g(e){return 45===e?(t.consume(e),g):58===e?(i=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(e),t.exit("tableDelimiterMarker"),y):(t.exit("tableDelimiterFiller"),y(e))}function y(e){return my(e)?by(t,w,"whitespace")(e):w(e)}function w(n){return 124===n?f(n):(null===n||dy(n))&&i&&o===a?(t.exit("tableDelimiterRow"),t.exit("tableHead"),e(n)):b(n)}function b(t){return n(t)}function v(e){return t.enter("tableRow"),E(e)}function E(n){return 124===n?(t.enter("tableCellDivider"),t.consume(n),t.exit("tableCellDivider"),E):null===n||dy(n)?(t.exit("tableRow"),e(n)):my(n)?by(t,E,"whitespace")(n):(t.enter("data"),_(n))}function _(e){return null===e||124===e||py(e)?(t.exit("data"),E(e)):(t.consume(e),92===e?A:_)}function A(e){return 92===e||124===e?(t.consume(e),_):_(e)}}function uv(t,e){let n,r,i,o=-1,a=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,h=0;const f=new av;for(;++o<t.length;){const d=t[o],p=d[1];"enter"===d[0]?"tableHead"===p.type?(u=!1,0!==h&&(fv(f,e,h,n,r),r=void 0,h=0),n={type:"table",start:Object.assign({},p.start),end:Object.assign({},p.end)},f.add(o,0,[["enter",n,e]])):"tableRow"===p.type||"tableDelimiterRow"===p.type?(a=!0,i=void 0,l=[0,0,0,0],c=[0,o+1,0,0],u&&(u=!1,r={type:"tableBody",start:Object.assign({},p.start),end:Object.assign({},p.end)},f.add(o,0,[["enter",r,e]])),s="tableDelimiterRow"===p.type?2:r?3:1):!s||"data"!==p.type&&"tableDelimiterMarker"!==p.type&&"tableDelimiterFiller"!==p.type?"tableCellDivider"===p.type&&(a?a=!1:(0!==l[1]&&(c[0]=c[1],i=hv(f,e,l,s,void 0,i)),l=c,c=[l[1],o,0,0])):(a=!1,0===c[2]&&(0!==l[1]&&(c[0]=c[1],i=hv(f,e,l,s,void 0,i),l=[0,0,0,0]),c[2]=o)):"tableHead"===p.type?(u=!0,h=o):"tableRow"===p.type||"tableDelimiterRow"===p.type?(h=o,0!==l[1]?(c[0]=c[1],i=hv(f,e,l,s,o,i)):0!==c[1]&&(i=hv(f,e,c,s,o,i)),s=0):!s||"data"!==p.type&&"tableDelimiterMarker"!==p.type&&"tableDelimiterFiller"!==p.type||(c[3]=o)}for(0!==h&&fv(f,e,h,n,r),f.consume(e.events),o=-1;++o<e.events.length;){const t=e.events[o];"enter"===t[0]&&"table"===t[1].type&&(t[1]._align=sv(e.events,o))}return t}function hv(t,e,n,r,i,o){const a=1===r?"tableHeader":2===r?"tableDelimiter":"tableData";0!==n[0]&&(o.end=Object.assign({},dv(e.events,n[0])),t.add(n[0],0,[["exit",o,e]]));const s=dv(e.events,n[1]);if(o={type:a,start:Object.assign({},s),end:Object.assign({},s)},t.add(n[1],0,[["enter",o,e]]),0!==n[2]){const i=dv(e.events,n[2]),o=dv(e.events,n[3]),a={type:"tableContent",start:Object.assign({},i),end:Object.assign({},o)};if(t.add(n[2],0,[["enter",a,e]]),2!==r){const r=e.events[n[2]],i=e.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){const e=n[2]+1,r=n[3]-n[2]-1;t.add(e,r,[])}}t.add(n[3]+1,0,[["exit",a,e]])}return void 0!==i&&(o.end=Object.assign({},dv(e.events,i)),t.add(i,0,[["exit",o,e]]),o=void 0),o}function fv(t,e,n,r,i){const o=[],a=dv(e.events,n);i&&(i.end=Object.assign({},a),o.push(["exit",i,e])),r.end=Object.assign({},a),o.push(["exit",r,e]),t.add(n+1,0,o)}function dv(t,e){const n=t[e],r="enter"===n[0]?"start":"end";return n[1][r]}const pv={tokenize:function(t,e,n){const r=this;return function(e){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(e),t.exit("taskListCheckMarker"),i):n(e)};function i(e){return py(e)?(t.enter("taskListCheckValueUnchecked"),t.consume(e),t.exit("taskListCheckValueUnchecked"),o):88===e||120===e?(t.enter("taskListCheckValueChecked"),t.consume(e),t.exit("taskListCheckValueChecked"),o):n(e)}function o(e){return 93===e?(t.enter("taskListCheckMarker"),t.consume(e),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),a):n(e)}function a(r){return dy(r)?e(r):my(r)?t.check({tokenize:gv},e,n)(r):n(r)}}};function mv(){return{text:{91:pv}}}function gv(t,e,n){return by(t,(function(t){return null===t?n(t):e(t)}),"whitespace")}const yv={};function wv(t){const e=t||yv,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),o=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(function(t){return ry([{text:Wb},Qb(),ov(t),lv(),mv()])}(e)),i.push([{transforms:[Zw],enter:{literalAutolink:Ww,literalAutolinkEmail:Gw,literalAutolinkHttp:Gw,literalAutolinkWww:Gw},exit:{literalAutolink:Xw,literalAutolinkEmail:Vw,literalAutolinkHttp:Kw,literalAutolinkWww:Yw}},tb(),pb(),_b(),Ib()]),o.push(function(t){return{extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:zw,notInConstruct:qw},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:zw,notInConstruct:qw},{character:":",before:"[ps]",after:"\\/",inConstruct:zw,notInConstruct:qw}]},eb(),mb(),Db(t),Rb()]}}(e))}var bv=n(7079);function vv(t){return"strong"===t||"emphasis"===t||"delete"===t||"superscript"===t||"subscript"===t||"underline"===t}function Ev(t){return"superscript"===t||"subscript"===t}const _v=["delete","strong","emphasis","link","underline","subscript","superscript"];function Av(t){if(t.children)for(let e=0;e<t.children.length;e+=1){let n=t.children[e],r=_v.indexOf(n.type);if(r>=0){const i=[];for(;r>=0;)i.push({node:n,key:r}),n=1===n.children?.length?n.children[0]:null,r=n?_v.indexOf(n?.type):-1;if(i.length>1){const n=i[i.length-1].node.children;i.sort(((t,e)=>t.key-e.key));for(let t=0;t<i.length-1;t+=1)i[t].node.children=[i[t+1].node];i[i.length-1].node.children=n,t.children[e]=i[0].node}Av(i[i.length-1].node)}else Av(n)}}function Mv(t){bi(t,((t,e,n)=>{const{children:r=[]}=n||{},{children:i=[]}=t;if(vv(t.type)){for(;r[e+1]?.type===t.type;)i.push(...r[e+1].children),r.splice(e+1,1);if(!i.length)return r.splice(e,1),e-1}return mi}))}function Tv(t){const{children:e,type:n}=t;if("text"===n)return!t.value;if(!e)return!1;for(let t=0;t<e.length;t+=1)Tv(e[t])&&(e.splice(t,1),t-=1);return!("paragraph"!==n&&!vv(n))&&0===e.length}function xv(t){return Mv(t),Tv(t),Av(t),Mv(t),function(t){bi(t,((t,e,n)=>{const{children:r=[]}=n||{},{children:i=[]}=t;if(vv(t.type)){const o=i[i.length-1];if("text"===o?.type){const t=o.value.trimEnd();if(t||i.pop(),t!==o.value){const n={type:"text",value:o.value.substring(t.length)};if(!i.length)return r[e]=n,e;o.value=t,r.splice(e+1,0,n)}}const a=i[0];if("text"===a?.type){const t=a.value.trimStart();if(t!==a.value){const o={type:"text",value:a.value.substring(0,a.value.length-t.length)};a.value=t,t||i.shift(),vv(n.type)||(r.splice(e,0,o),e+=1)}}const s=r[e-1];if("text"===s?.type&&!Ev(t.type)){const t=s.value.charCodeAt(s.value.length-1);fy(t)||my(t)||gy(t)||(s.value+=" ")}const l=r[e+1];if(i.length&&"text"===l?.type&&!Ev(t.type)){const t=l.value.charCodeAt(0);fy(t)||my(t)||gy(t)||(l.value=` ${l.value}`)}}return mi}))}(t),function(t){bi(t,((t,e,n)=>{const{children:r=[]}=n||{};if("text"===t.type){for(;"text"===r[e+1]?.type;)t.value+=r[e+1].value,r.splice(e+1,1);if(e===r.length-1&&(t.value=t.value.trimEnd()),"break"===r[e+1]?.type&&(t.value=t.value.trimEnd()),0===e&&"paragraph"===n?.type&&(t.value=t.value.trimStart()),!t.value)return r.splice(e,1),e-1}if("break"===t.type){if(e===r.length-1)return r.splice(e,1),e-1;delete t.value}return mi}))}(t),Tv(t),t}function Sv(t={}){const e=this.data();function n(t,n){(e[t]?e[t]:e[t]=[]).push(n)}n("micromarkExtensions",function(t){return ry([Qb(),ov(t),lv(),mv()])}(t)),n("fromMarkdownExtensions",[tb(),pb(),_b(),Ib()]),n("toMarkdownExtensions",function(t){return{extensions:[eb(),mb(),Db(t),Rb()]}}(t))}function kv(t){return null==t}var Cv={isNothing:kv,isObject:function(t){return"object"==typeof t&&null!==t},toArray:function(t){return Array.isArray(t)?t:kv(t)?[]:[t]},repeat:function(t,e){var n,r="";for(n=0;n<e;n+=1)r+=t;return r},isNegativeZero:function(t){return 0===t&&Number.NEGATIVE_INFINITY===1/t},extend:function(t,e){var n,r,i,o;if(e)for(n=0,r=(o=Object.keys(e)).length;n<r;n+=1)t[i=o[n]]=e[i];return t}};function Dv(t,e){var n="",r=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(n+='in "'+t.mark.name+'" '),n+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!e&&t.mark.snippet&&(n+="\n\n"+t.mark.snippet),r+" "+n):r}function Iv(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=Dv(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}Iv.prototype=Object.create(Error.prototype),Iv.prototype.constructor=Iv,Iv.prototype.toString=function(t){return this.name+": "+Dv(this,t)};var Rv=Iv;function Nv(t,e,n,r,i){var o="",a="",s=Math.floor(i/2)-1;return r-e>s&&(e=r-s+(o=" ... ").length),n-r>s&&(n=r+s-(a=" ...").length),{str:o+t.slice(e,n).replace(/\t/g,"→")+a,pos:r-e+o.length}}function Ov(t,e){return Cv.repeat(" ",e-t.length)+t}var Lv=function(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),"number"!=typeof e.indent&&(e.indent=1),"number"!=typeof e.linesBefore&&(e.linesBefore=3),"number"!=typeof e.linesAfter&&(e.linesAfter=2);for(var n,r=/\r?\n|\r|\0/g,i=[0],o=[],a=-1;n=r.exec(t.buffer);)o.push(n.index),i.push(n.index+n[0].length),t.position<=n.index&&a<0&&(a=i.length-2);a<0&&(a=i.length-1);var s,l,c="",u=Math.min(t.line+e.linesAfter,o.length).toString().length,h=e.maxLength-(e.indent+u+3);for(s=1;s<=e.linesBefore&&!(a-s<0);s++)l=Nv(t.buffer,i[a-s],o[a-s],t.position-(i[a]-i[a-s]),h),c=Cv.repeat(" ",e.indent)+Ov((t.line-s+1).toString(),u)+" | "+l.str+"\n"+c;for(l=Nv(t.buffer,i[a],o[a],t.position,h),c+=Cv.repeat(" ",e.indent)+Ov((t.line+1).toString(),u)+" | "+l.str+"\n",c+=Cv.repeat("-",e.indent+u+3+l.pos)+"^\n",s=1;s<=e.linesAfter&&!(a+s>=o.length);s++)l=Nv(t.buffer,i[a+s],o[a+s],t.position-(i[a]-i[a+s]),h),c+=Cv.repeat(" ",e.indent)+Ov((t.line+s+1).toString(),u)+" | "+l.str+"\n";return c.replace(/\n$/,"")},Pv=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],Fv=["scalar","sequence","mapping"],Bv=function(t,e){if(e=e||{},Object.keys(e).forEach((function(e){if(-1===Pv.indexOf(e))throw new Rv('Unknown option "'+e+'" is met in definition of "'+t+'" YAML type.')})),this.options=e,this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(t){return t},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.representName=e.representName||null,this.defaultStyle=e.defaultStyle||null,this.multi=e.multi||!1,this.styleAliases=function(t){var e={};return null!==t&&Object.keys(t).forEach((function(n){t[n].forEach((function(t){e[String(t)]=n}))})),e}(e.styleAliases||null),-1===Fv.indexOf(this.kind))throw new Rv('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')};function Uv(t,e){var n=[];return t[e].forEach((function(t){var e=n.length;n.forEach((function(n,r){n.tag===t.tag&&n.kind===t.kind&&n.multi===t.multi&&(e=r)})),n[e]=t})),n}function jv(t){return this.extend(t)}jv.prototype.extend=function(t){var e=[],n=[];if(t instanceof Bv)n.push(t);else if(Array.isArray(t))n=n.concat(t);else{if(!t||!Array.isArray(t.implicit)&&!Array.isArray(t.explicit))throw new Rv("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");t.implicit&&(e=e.concat(t.implicit)),t.explicit&&(n=n.concat(t.explicit))}e.forEach((function(t){if(!(t instanceof Bv))throw new Rv("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(t.loadKind&&"scalar"!==t.loadKind)throw new Rv("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(t.multi)throw new Rv("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")})),n.forEach((function(t){if(!(t instanceof Bv))throw new Rv("Specified list of YAML types (or a single Type object) contains a non-Type object.")}));var r=Object.create(jv.prototype);return r.implicit=(this.implicit||[]).concat(e),r.explicit=(this.explicit||[]).concat(n),r.compiledImplicit=Uv(r,"implicit"),r.compiledExplicit=Uv(r,"explicit"),r.compiledTypeMap=function(){var t,e,n={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function r(t){t.multi?(n.multi[t.kind].push(t),n.multi.fallback.push(t)):n[t.kind][t.tag]=n.fallback[t.tag]=t}for(t=0,e=arguments.length;t<e;t+=1)arguments[t].forEach(r);return n}(r.compiledImplicit,r.compiledExplicit),r};var Hv=jv,zv=new Bv("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return null!==t?t:""}}),qv=new Bv("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return null!==t?t:[]}}),Wv=new Bv("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return null!==t?t:{}}}),Gv=new Hv({explicit:[zv,qv,Wv]}),Kv=new Bv("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(t){if(null===t)return!0;var e=t.length;return 1===e&&"~"===t||4===e&&("null"===t||"Null"===t||"NULL"===t)},construct:function(){return null},predicate:function(t){return null===t},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}),Yv=new Bv("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(t){if(null===t)return!1;var e=t.length;return 4===e&&("true"===t||"True"===t||"TRUE"===t)||5===e&&("false"===t||"False"===t||"FALSE"===t)},construct:function(t){return"true"===t||"True"===t||"TRUE"===t},predicate:function(t){return"[object Boolean]"===Object.prototype.toString.call(t)},represent:{lowercase:function(t){return t?"true":"false"},uppercase:function(t){return t?"TRUE":"FALSE"},camelcase:function(t){return t?"True":"False"}},defaultStyle:"lowercase"});function Vv(t){return 48<=t&&t<=55}function Xv(t){return 48<=t&&t<=57}var Zv=new Bv("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(t){if(null===t)return!1;var e,n,r=t.length,i=0,o=!1;if(!r)return!1;if("-"!==(e=t[i])&&"+"!==e||(e=t[++i]),"0"===e){if(i+1===r)return!0;if("b"===(e=t[++i])){for(i++;i<r;i++)if("_"!==(e=t[i])){if("0"!==e&&"1"!==e)return!1;o=!0}return o&&"_"!==e}if("x"===e){for(i++;i<r;i++)if("_"!==(e=t[i])){if(!(48<=(n=t.charCodeAt(i))&&n<=57||65<=n&&n<=70||97<=n&&n<=102))return!1;o=!0}return o&&"_"!==e}if("o"===e){for(i++;i<r;i++)if("_"!==(e=t[i])){if(!Vv(t.charCodeAt(i)))return!1;o=!0}return o&&"_"!==e}}if("_"===e)return!1;for(;i<r;i++)if("_"!==(e=t[i])){if(!Xv(t.charCodeAt(i)))return!1;o=!0}return!(!o||"_"===e)},construct:function(t){var e,n=t,r=1;if(-1!==n.indexOf("_")&&(n=n.replace(/_/g,"")),"-"!==(e=n[0])&&"+"!==e||("-"===e&&(r=-1),e=(n=n.slice(1))[0]),"0"===n)return 0;if("0"===e){if("b"===n[1])return r*parseInt(n.slice(2),2);if("x"===n[1])return r*parseInt(n.slice(2),16);if("o"===n[1])return r*parseInt(n.slice(2),8)}return r*parseInt(n,10)},predicate:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&t%1==0&&!Cv.isNegativeZero(t)},represent:{binary:function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),$v=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),Qv=/^[-+]?[0-9]+e/,Jv=new Bv("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(t){return null!==t&&!(!$v.test(t)||"_"===t[t.length-1])},construct:function(t){var e,n;return n="-"===(e=t.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),".inf"===e?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===e?NaN:n*parseFloat(e,10)},predicate:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||Cv.isNegativeZero(t))},represent:function(t,e){var n;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(Cv.isNegativeZero(t))return"-0.0";return n=t.toString(10),Qv.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"}),tE=Gv.extend({implicit:[Kv,Yv,Zv,Jv]}),eE=tE,nE=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),rE=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"),iE=new Bv("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(t){return null!==t&&(null!==nE.exec(t)||null!==rE.exec(t))},construct:function(t){var e,n,r,i,o,a,s,l,c=0,u=null;if(null===(e=nE.exec(t))&&(e=rE.exec(t)),null===e)throw new Error("Date resolve error");if(n=+e[1],r=+e[2]-1,i=+e[3],!e[4])return new Date(Date.UTC(n,r,i));if(o=+e[4],a=+e[5],s=+e[6],e[7]){for(c=e[7].slice(0,3);c.length<3;)c+="0";c=+c}return e[9]&&(u=6e4*(60*+e[10]+ +(e[11]||0)),"-"===e[9]&&(u=-u)),l=new Date(Date.UTC(n,r,i,o,a,s,c)),u&&l.setTime(l.getTime()-u),l},instanceOf:Date,represent:function(t){return t.toISOString()}}),oE=new Bv("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(t){return"<<"===t||null===t}}),aE="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r",sE=new Bv("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(t){if(null===t)return!1;var e,n,r=0,i=t.length,o=aE;for(n=0;n<i;n++)if(!((e=o.indexOf(t.charAt(n)))>64)){if(e<0)return!1;r+=6}return r%8==0},construct:function(t){var e,n,r=t.replace(/[\r\n=]/g,""),i=r.length,o=aE,a=0,s=[];for(e=0;e<i;e++)e%4==0&&e&&(s.push(a>>16&255),s.push(a>>8&255),s.push(255&a)),a=a<<6|o.indexOf(r.charAt(e));return 0==(n=i%4*6)?(s.push(a>>16&255),s.push(a>>8&255),s.push(255&a)):18===n?(s.push(a>>10&255),s.push(a>>2&255)):12===n&&s.push(a>>4&255),new Uint8Array(s)},predicate:function(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)},represent:function(t){var e,n,r="",i=0,o=t.length,a=aE;for(e=0;e<o;e++)e%3==0&&e&&(r+=a[i>>18&63],r+=a[i>>12&63],r+=a[i>>6&63],r+=a[63&i]),i=(i<<8)+t[e];return 0==(n=o%3)?(r+=a[i>>18&63],r+=a[i>>12&63],r+=a[i>>6&63],r+=a[63&i]):2===n?(r+=a[i>>10&63],r+=a[i>>4&63],r+=a[i<<2&63],r+=a[64]):1===n&&(r+=a[i>>2&63],r+=a[i<<4&63],r+=a[64],r+=a[64]),r}}),lE=Object.prototype.hasOwnProperty,cE=Object.prototype.toString,uE=new Bv("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(t){if(null===t)return!0;var e,n,r,i,o,a=[],s=t;for(e=0,n=s.length;e<n;e+=1){if(r=s[e],o=!1,"[object Object]"!==cE.call(r))return!1;for(i in r)if(lE.call(r,i)){if(o)return!1;o=!0}if(!o)return!1;if(-1!==a.indexOf(i))return!1;a.push(i)}return!0},construct:function(t){return null!==t?t:[]}}),hE=Object.prototype.toString,fE=new Bv("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(t){if(null===t)return!0;var e,n,r,i,o,a=t;for(o=new Array(a.length),e=0,n=a.length;e<n;e+=1){if(r=a[e],"[object Object]"!==hE.call(r))return!1;if(1!==(i=Object.keys(r)).length)return!1;o[e]=[i[0],r[i[0]]]}return!0},construct:function(t){if(null===t)return[];var e,n,r,i,o,a=t;for(o=new Array(a.length),e=0,n=a.length;e<n;e+=1)r=a[e],i=Object.keys(r),o[e]=[i[0],r[i[0]]];return o}}),dE=Object.prototype.hasOwnProperty,pE=new Bv("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(t){if(null===t)return!0;var e,n=t;for(e in n)if(dE.call(n,e)&&null!==n[e])return!1;return!0},construct:function(t){return null!==t?t:{}}}),mE=eE.extend({implicit:[iE,oE],explicit:[sE,uE,fE,pE]}),gE=Object.prototype.hasOwnProperty,yE=1,wE=2,bE=3,vE=4,EE=1,_E=2,AE=3,ME=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,TE=/[\x85\u2028\u2029]/,xE=/[,\[\]\{\}]/,SE=/^(?:!|!!|![a-z\-]+!)$/i,kE=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function CE(t){return Object.prototype.toString.call(t)}function DE(t){return 10===t||13===t}function IE(t){return 9===t||32===t}function RE(t){return 9===t||32===t||10===t||13===t}function NE(t){return 44===t||91===t||93===t||123===t||125===t}function OE(t){var e;return 48<=t&&t<=57?t-48:97<=(e=32|t)&&e<=102?e-97+10:-1}function LE(t){return 48===t?"\0":97===t?"":98===t?"\b":116===t||9===t?"\t":110===t?"\n":118===t?"\v":102===t?"\f":114===t?"\r":101===t?"":32===t?" ":34===t?'"':47===t?"/":92===t?"\\":78===t?"…":95===t?" ":76===t?"\u2028":80===t?"\u2029":""}function PE(t){return t<=65535?String.fromCharCode(t):String.fromCharCode(55296+(t-65536>>10),56320+(t-65536&1023))}for(var FE=new Array(256),BE=new Array(256),UE=0;UE<256;UE++)FE[UE]=LE(UE)?1:0,BE[UE]=LE(UE);function jE(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||mE,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function HE(t,e){var n={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return n.snippet=Lv(n),new Rv(e,n)}function zE(t,e){throw HE(t,e)}function qE(t,e){t.onWarning&&t.onWarning.call(null,HE(t,e))}var WE={YAML:function(t,e,n){var r,i,o;null!==t.version&&zE(t,"duplication of %YAML directive"),1!==n.length&&zE(t,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&zE(t,"ill-formed argument of the YAML directive"),i=parseInt(r[1],10),o=parseInt(r[2],10),1!==i&&zE(t,"unacceptable YAML version of the document"),t.version=n[0],t.checkLineBreaks=o<2,1!==o&&2!==o&&qE(t,"unsupported YAML version of the document")},TAG:function(t,e,n){var r,i;2!==n.length&&zE(t,"TAG directive accepts exactly two arguments"),r=n[0],i=n[1],SE.test(r)||zE(t,"ill-formed tag handle (first argument) of the TAG directive"),gE.call(t.tagMap,r)&&zE(t,'there is a previously declared suffix for "'+r+'" tag handle'),kE.test(i)||zE(t,"ill-formed tag prefix (second argument) of the TAG directive");try{i=decodeURIComponent(i)}catch(e){zE(t,"tag prefix is malformed: "+i)}t.tagMap[r]=i}};function GE(t,e,n,r){var i,o,a,s;if(e<n){if(s=t.input.slice(e,n),r)for(i=0,o=s.length;i<o;i+=1)9===(a=s.charCodeAt(i))||32<=a&&a<=1114111||zE(t,"expected valid JSON character");else ME.test(s)&&zE(t,"the stream contains non-printable characters");t.result+=s}}function KE(t,e,n,r){var i,o,a,s;for(Cv.isObject(n)||zE(t,"cannot merge mappings; the provided source object is unacceptable"),a=0,s=(i=Object.keys(n)).length;a<s;a+=1)o=i[a],gE.call(e,o)||(e[o]=n[o],r[o]=!0)}function YE(t,e,n,r,i,o,a,s,l){var c,u;if(Array.isArray(i))for(c=0,u=(i=Array.prototype.slice.call(i)).length;c<u;c+=1)Array.isArray(i[c])&&zE(t,"nested arrays are not supported inside keys"),"object"==typeof i&&"[object Object]"===CE(i[c])&&(i[c]="[object Object]");if("object"==typeof i&&"[object Object]"===CE(i)&&(i="[object Object]"),i=String(i),null===e&&(e={}),"tag:yaml.org,2002:merge"===r)if(Array.isArray(o))for(c=0,u=o.length;c<u;c+=1)KE(t,e,o[c],n);else KE(t,e,o,n);else t.json||gE.call(n,i)||!gE.call(e,i)||(t.line=a||t.line,t.lineStart=s||t.lineStart,t.position=l||t.position,zE(t,"duplicated mapping key")),"__proto__"===i?Object.defineProperty(e,i,{configurable:!0,enumerable:!0,writable:!0,value:o}):e[i]=o,delete n[i];return e}function VE(t){var e;10===(e=t.input.charCodeAt(t.position))?t.position++:13===e?(t.position++,10===t.input.charCodeAt(t.position)&&t.position++):zE(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function XE(t,e,n){for(var r=0,i=t.input.charCodeAt(t.position);0!==i;){for(;IE(i);)9===i&&-1===t.firstTabInLine&&(t.firstTabInLine=t.position),i=t.input.charCodeAt(++t.position);if(e&&35===i)do{i=t.input.charCodeAt(++t.position)}while(10!==i&&13!==i&&0!==i);if(!DE(i))break;for(VE(t),i=t.input.charCodeAt(t.position),r++,t.lineIndent=0;32===i;)t.lineIndent++,i=t.input.charCodeAt(++t.position)}return-1!==n&&0!==r&&t.lineIndent<n&&qE(t,"deficient indentation"),r}function ZE(t){var e,n=t.position;return!(45!==(e=t.input.charCodeAt(n))&&46!==e||e!==t.input.charCodeAt(n+1)||e!==t.input.charCodeAt(n+2)||(n+=3,0!==(e=t.input.charCodeAt(n))&&!RE(e)))}function $E(t,e){1===e?t.result+=" ":e>1&&(t.result+=Cv.repeat("\n",e-1))}function QE(t,e){var n,r,i=t.tag,o=t.anchor,a=[],s=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=a),r=t.input.charCodeAt(t.position);0!==r&&(-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,zE(t,"tab characters must not be used in indentation")),45===r)&&RE(t.input.charCodeAt(t.position+1));)if(s=!0,t.position++,XE(t,!0,-1)&&t.lineIndent<=e)a.push(null),r=t.input.charCodeAt(t.position);else if(n=t.line,e_(t,e,bE,!1,!0),a.push(t.result),XE(t,!0,-1),r=t.input.charCodeAt(t.position),(t.line===n||t.lineIndent>e)&&0!==r)zE(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break;return!!s&&(t.tag=i,t.anchor=o,t.kind="sequence",t.result=a,!0)}function JE(t){var e,n,r,i,o=!1,a=!1;if(33!==(i=t.input.charCodeAt(t.position)))return!1;if(null!==t.tag&&zE(t,"duplication of a tag property"),60===(i=t.input.charCodeAt(++t.position))?(o=!0,i=t.input.charCodeAt(++t.position)):33===i?(a=!0,n="!!",i=t.input.charCodeAt(++t.position)):n="!",e=t.position,o){do{i=t.input.charCodeAt(++t.position)}while(0!==i&&62!==i);t.position<t.length?(r=t.input.slice(e,t.position),i=t.input.charCodeAt(++t.position)):zE(t,"unexpected end of the stream within a verbatim tag")}else{for(;0!==i&&!RE(i);)33===i&&(a?zE(t,"tag suffix cannot contain exclamation marks"):(n=t.input.slice(e-1,t.position+1),SE.test(n)||zE(t,"named tag handle cannot contain such characters"),a=!0,e=t.position+1)),i=t.input.charCodeAt(++t.position);r=t.input.slice(e,t.position),xE.test(r)&&zE(t,"tag suffix cannot contain flow indicator characters")}r&&!kE.test(r)&&zE(t,"tag name cannot contain such characters: "+r);try{r=decodeURIComponent(r)}catch(e){zE(t,"tag name is malformed: "+r)}return o?t.tag=r:gE.call(t.tagMap,n)?t.tag=t.tagMap[n]+r:"!"===n?t.tag="!"+r:"!!"===n?t.tag="tag:yaml.org,2002:"+r:zE(t,'undeclared tag handle "'+n+'"'),!0}function t_(t){var e,n;if(38!==(n=t.input.charCodeAt(t.position)))return!1;for(null!==t.anchor&&zE(t,"duplication of an anchor property"),n=t.input.charCodeAt(++t.position),e=t.position;0!==n&&!RE(n)&&!NE(n);)n=t.input.charCodeAt(++t.position);return t.position===e&&zE(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function e_(t,e,n,r,i){var o,a,s,l,c,u,h,f,d,p=1,m=!1,g=!1;if(null!==t.listener&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,o=a=s=vE===n||bE===n,r&&XE(t,!0,-1)&&(m=!0,t.lineIndent>e?p=1:t.lineIndent===e?p=0:t.lineIndent<e&&(p=-1)),1===p)for(;JE(t)||t_(t);)XE(t,!0,-1)?(m=!0,s=o,t.lineIndent>e?p=1:t.lineIndent===e?p=0:t.lineIndent<e&&(p=-1)):s=!1;if(s&&(s=m||i),1!==p&&vE!==n||(f=yE===n||wE===n?e:e+1,d=t.position-t.lineStart,1===p?s&&(QE(t,d)||function(t,e,n){var r,i,o,a,s,l,c,u=t.tag,h=t.anchor,f={},d=Object.create(null),p=null,m=null,g=null,y=!1,w=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=f),c=t.input.charCodeAt(t.position);0!==c;){if(y||-1===t.firstTabInLine||(t.position=t.firstTabInLine,zE(t,"tab characters must not be used in indentation")),r=t.input.charCodeAt(t.position+1),o=t.line,63!==c&&58!==c||!RE(r)){if(a=t.line,s=t.lineStart,l=t.position,!e_(t,n,wE,!1,!0))break;if(t.line===o){for(c=t.input.charCodeAt(t.position);IE(c);)c=t.input.charCodeAt(++t.position);if(58===c)RE(c=t.input.charCodeAt(++t.position))||zE(t,"a whitespace character is expected after the key-value separator within a block mapping"),y&&(YE(t,f,d,p,m,null,a,s,l),p=m=g=null),w=!0,y=!1,i=!1,p=t.tag,m=t.result;else{if(!w)return t.tag=u,t.anchor=h,!0;zE(t,"can not read an implicit mapping pair; a colon is missed")}}else{if(!w)return t.tag=u,t.anchor=h,!0;zE(t,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===c?(y&&(YE(t,f,d,p,m,null,a,s,l),p=m=g=null),w=!0,y=!0,i=!0):y?(y=!1,i=!0):zE(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,c=r;if((t.line===o||t.lineIndent>e)&&(y&&(a=t.line,s=t.lineStart,l=t.position),e_(t,e,vE,!0,i)&&(y?m=t.result:g=t.result),y||(YE(t,f,d,p,m,g,a,s,l),p=m=g=null),XE(t,!0,-1),c=t.input.charCodeAt(t.position)),(t.line===o||t.lineIndent>e)&&0!==c)zE(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return y&&YE(t,f,d,p,m,null,a,s,l),w&&(t.tag=u,t.anchor=h,t.kind="mapping",t.result=f),w}(t,d,f))||function(t,e){var n,r,i,o,a,s,l,c,u,h,f,d,p=!0,m=t.tag,g=t.anchor,y=Object.create(null);if(91===(d=t.input.charCodeAt(t.position)))a=93,c=!1,o=[];else{if(123!==d)return!1;a=125,c=!0,o={}}for(null!==t.anchor&&(t.anchorMap[t.anchor]=o),d=t.input.charCodeAt(++t.position);0!==d;){if(XE(t,!0,e),(d=t.input.charCodeAt(t.position))===a)return t.position++,t.tag=m,t.anchor=g,t.kind=c?"mapping":"sequence",t.result=o,!0;p?44===d&&zE(t,"expected the node content, but found ','"):zE(t,"missed comma between flow collection entries"),f=null,s=l=!1,63===d&&RE(t.input.charCodeAt(t.position+1))&&(s=l=!0,t.position++,XE(t,!0,e)),n=t.line,r=t.lineStart,i=t.position,e_(t,e,yE,!1,!0),h=t.tag,u=t.result,XE(t,!0,e),d=t.input.charCodeAt(t.position),!l&&t.line!==n||58!==d||(s=!0,d=t.input.charCodeAt(++t.position),XE(t,!0,e),e_(t,e,yE,!1,!0),f=t.result),c?YE(t,o,y,h,u,f,n,r,i):s?o.push(YE(t,null,y,h,u,f,n,r,i)):o.push(u),XE(t,!0,e),44===(d=t.input.charCodeAt(t.position))?(p=!0,d=t.input.charCodeAt(++t.position)):p=!1}zE(t,"unexpected end of the stream within a flow collection")}(t,f)?g=!0:(a&&function(t,e){var n,r,i,o,a,s=EE,l=!1,c=!1,u=e,h=0,f=!1;if(124===(o=t.input.charCodeAt(t.position)))r=!1;else{if(62!==o)return!1;r=!0}for(t.kind="scalar",t.result="";0!==o;)if(43===(o=t.input.charCodeAt(++t.position))||45===o)EE===s?s=43===o?AE:_E:zE(t,"repeat of a chomping mode identifier");else{if(!((i=48<=(a=o)&&a<=57?a-48:-1)>=0))break;0===i?zE(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):c?zE(t,"repeat of an indentation width identifier"):(u=e+i-1,c=!0)}if(IE(o)){do{o=t.input.charCodeAt(++t.position)}while(IE(o));if(35===o)do{o=t.input.charCodeAt(++t.position)}while(!DE(o)&&0!==o)}for(;0!==o;){for(VE(t),t.lineIndent=0,o=t.input.charCodeAt(t.position);(!c||t.lineIndent<u)&&32===o;)t.lineIndent++,o=t.input.charCodeAt(++t.position);if(!c&&t.lineIndent>u&&(u=t.lineIndent),DE(o))h++;else{if(t.lineIndent<u){s===AE?t.result+=Cv.repeat("\n",l?1+h:h):s===EE&&l&&(t.result+="\n");break}for(r?IE(o)?(f=!0,t.result+=Cv.repeat("\n",l?1+h:h)):f?(f=!1,t.result+=Cv.repeat("\n",h+1)):0===h?l&&(t.result+=" "):t.result+=Cv.repeat("\n",h):t.result+=Cv.repeat("\n",l?1+h:h),l=!0,c=!0,h=0,n=t.position;!DE(o)&&0!==o;)o=t.input.charCodeAt(++t.position);GE(t,n,t.position,!1)}}return!0}(t,f)||function(t,e){var n,r,i;if(39!==(n=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,r=i=t.position;0!==(n=t.input.charCodeAt(t.position));)if(39===n){if(GE(t,r,t.position,!0),39!==(n=t.input.charCodeAt(++t.position)))return!0;r=t.position,t.position++,i=t.position}else DE(n)?(GE(t,r,i,!0),$E(t,XE(t,!1,e)),r=i=t.position):t.position===t.lineStart&&ZE(t)?zE(t,"unexpected end of the document within a single quoted scalar"):(t.position++,i=t.position);zE(t,"unexpected end of the stream within a single quoted scalar")}(t,f)||function(t,e){var n,r,i,o,a,s,l;if(34!==(s=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,n=r=t.position;0!==(s=t.input.charCodeAt(t.position));){if(34===s)return GE(t,n,t.position,!0),t.position++,!0;if(92===s){if(GE(t,n,t.position,!0),DE(s=t.input.charCodeAt(++t.position)))XE(t,!1,e);else if(s<256&&FE[s])t.result+=BE[s],t.position++;else if((a=120===(l=s)?2:117===l?4:85===l?8:0)>0){for(i=a,o=0;i>0;i--)(a=OE(s=t.input.charCodeAt(++t.position)))>=0?o=(o<<4)+a:zE(t,"expected hexadecimal character");t.result+=PE(o),t.position++}else zE(t,"unknown escape sequence");n=r=t.position}else DE(s)?(GE(t,n,r,!0),$E(t,XE(t,!1,e)),n=r=t.position):t.position===t.lineStart&&ZE(t)?zE(t,"unexpected end of the document within a double quoted scalar"):(t.position++,r=t.position)}zE(t,"unexpected end of the stream within a double quoted scalar")}(t,f)?g=!0:function(t){var e,n,r;if(42!==(r=t.input.charCodeAt(t.position)))return!1;for(r=t.input.charCodeAt(++t.position),e=t.position;0!==r&&!RE(r)&&!NE(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&zE(t,"name of an alias node must contain at least one character"),n=t.input.slice(e,t.position),gE.call(t.anchorMap,n)||zE(t,'unidentified alias "'+n+'"'),t.result=t.anchorMap[n],XE(t,!0,-1),!0}(t)?(g=!0,null===t.tag&&null===t.anchor||zE(t,"alias node should not have any properties")):function(t,e,n){var r,i,o,a,s,l,c,u,h=t.kind,f=t.result;if(RE(u=t.input.charCodeAt(t.position))||NE(u)||35===u||38===u||42===u||33===u||124===u||62===u||39===u||34===u||37===u||64===u||96===u)return!1;if((63===u||45===u)&&(RE(r=t.input.charCodeAt(t.position+1))||n&&NE(r)))return!1;for(t.kind="scalar",t.result="",i=o=t.position,a=!1;0!==u;){if(58===u){if(RE(r=t.input.charCodeAt(t.position+1))||n&&NE(r))break}else if(35===u){if(RE(t.input.charCodeAt(t.position-1)))break}else{if(t.position===t.lineStart&&ZE(t)||n&&NE(u))break;if(DE(u)){if(s=t.line,l=t.lineStart,c=t.lineIndent,XE(t,!1,-1),t.lineIndent>=e){a=!0,u=t.input.charCodeAt(t.position);continue}t.position=o,t.line=s,t.lineStart=l,t.lineIndent=c;break}}a&&(GE(t,i,o,!1),$E(t,t.line-s),i=o=t.position,a=!1),IE(u)||(o=t.position+1),u=t.input.charCodeAt(++t.position)}return GE(t,i,o,!1),!!t.result||(t.kind=h,t.result=f,!1)}(t,f,yE===n)&&(g=!0,null===t.tag&&(t.tag="?")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===p&&(g=s&&QE(t,d))),null===t.tag)null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);else if("?"===t.tag){for(null!==t.result&&"scalar"!==t.kind&&zE(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"'),l=0,c=t.implicitTypes.length;l<c;l+=1)if((h=t.implicitTypes[l]).resolve(t.result)){t.result=h.construct(t.result),t.tag=h.tag,null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);break}}else if("!"!==t.tag){if(gE.call(t.typeMap[t.kind||"fallback"],t.tag))h=t.typeMap[t.kind||"fallback"][t.tag];else for(h=null,l=0,c=(u=t.typeMap.multi[t.kind||"fallback"]).length;l<c;l+=1)if(t.tag.slice(0,u[l].tag.length)===u[l].tag){h=u[l];break}h||zE(t,"unknown tag !<"+t.tag+">"),null!==t.result&&h.kind!==t.kind&&zE(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+h.kind+'", not "'+t.kind+'"'),h.resolve(t.result,t.tag)?(t.result=h.construct(t.result,t.tag),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):zE(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),null!==t.tag||null!==t.anchor||g}function n_(t){var e,n,r,i,o=t.position,a=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);0!==(i=t.input.charCodeAt(t.position))&&(XE(t,!0,-1),i=t.input.charCodeAt(t.position),!(t.lineIndent>0||37!==i));){for(a=!0,i=t.input.charCodeAt(++t.position),e=t.position;0!==i&&!RE(i);)i=t.input.charCodeAt(++t.position);for(r=[],(n=t.input.slice(e,t.position)).length<1&&zE(t,"directive name must not be less than one character in length");0!==i;){for(;IE(i);)i=t.input.charCodeAt(++t.position);if(35===i){do{i=t.input.charCodeAt(++t.position)}while(0!==i&&!DE(i));break}if(DE(i))break;for(e=t.position;0!==i&&!RE(i);)i=t.input.charCodeAt(++t.position);r.push(t.input.slice(e,t.position))}0!==i&&VE(t),gE.call(WE,n)?WE[n](t,n,r):qE(t,'unknown document directive "'+n+'"')}XE(t,!0,-1),0===t.lineIndent&&45===t.input.charCodeAt(t.position)&&45===t.input.charCodeAt(t.position+1)&&45===t.input.charCodeAt(t.position+2)?(t.position+=3,XE(t,!0,-1)):a&&zE(t,"directives end mark is expected"),e_(t,t.lineIndent-1,vE,!1,!0),XE(t,!0,-1),t.checkLineBreaks&&TE.test(t.input.slice(o,t.position))&&qE(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&ZE(t)?46===t.input.charCodeAt(t.position)&&(t.position+=3,XE(t,!0,-1)):t.position<t.length-1&&zE(t,"end of the stream or a document separator is expected")}function r_(t,e){e=e||{},0!==(t=String(t)).length&&(10!==t.charCodeAt(t.length-1)&&13!==t.charCodeAt(t.length-1)&&(t+="\n"),65279===t.charCodeAt(0)&&(t=t.slice(1)));var n=new jE(t,e),r=t.indexOf("\0");for(-1!==r&&(n.position=r,zE(n,"null byte is not allowed in input")),n.input+="\0";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)n_(n);return n.documents}var i_={loadAll:function(t,e,n){null!==e&&"object"==typeof e&&void 0===n&&(n=e,e=null);var r=r_(t,n);if("function"!=typeof e)return r;for(var i=0,o=r.length;i<o;i+=1)e(r[i])},load:function(t,e){var n=r_(t,e);if(0!==n.length){if(1===n.length)return n[0];throw new Rv("expected a single document in the stream, but found more")}}},o_=Object.prototype.toString,a_=Object.prototype.hasOwnProperty,s_=65279,l_=9,c_=10,u_=13,h_=32,f_=33,d_=34,p_=35,m_=37,g_=38,y_=39,w_=42,b_=44,v_=45,E_=58,__=61,A_=62,M_=63,T_=64,x_=91,S_=93,k_=96,C_=123,D_=124,I_=125,R_={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},N_=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],O_=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function L_(t){var e,n,r;if(e=t.toString(16).toUpperCase(),t<=255)n="x",r=2;else if(t<=65535)n="u",r=4;else{if(!(t<=4294967295))throw new Rv("code point within a string may not be greater than 0xFFFFFFFF");n="U",r=8}return"\\"+n+Cv.repeat("0",r-e.length)+e}var P_=2;function F_(t){this.schema=t.schema||mE,this.indent=Math.max(1,t.indent||2),this.noArrayIndent=t.noArrayIndent||!1,this.skipInvalid=t.skipInvalid||!1,this.flowLevel=Cv.isNothing(t.flowLevel)?-1:t.flowLevel,this.styleMap=function(t,e){var n,r,i,o,a,s,l;if(null===e)return{};for(n={},i=0,o=(r=Object.keys(e)).length;i<o;i+=1)a=r[i],s=String(e[a]),"!!"===a.slice(0,2)&&(a="tag:yaml.org,2002:"+a.slice(2)),(l=t.compiledTypeMap.fallback[a])&&a_.call(l.styleAliases,s)&&(s=l.styleAliases[s]),n[a]=s;return n}(this.schema,t.styles||null),this.sortKeys=t.sortKeys||!1,this.lineWidth=t.lineWidth||80,this.noRefs=t.noRefs||!1,this.noCompatMode=t.noCompatMode||!1,this.condenseFlow=t.condenseFlow||!1,this.quotingType='"'===t.quotingType?P_:1,this.forceQuotes=t.forceQuotes||!1,this.replacer="function"==typeof t.replacer?t.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function B_(t,e){for(var n,r=Cv.repeat(" ",e),i=0,o=-1,a="",s=t.length;i<s;)-1===(o=t.indexOf("\n",i))?(n=t.slice(i),i=s):(n=t.slice(i,o+1),i=o+1),n.length&&"\n"!==n&&(a+=r),a+=n;return a}function U_(t,e){return"\n"+Cv.repeat(" ",t.indent*e)}function j_(t){return t===h_||t===l_}function H_(t){return 32<=t&&t<=126||161<=t&&t<=55295&&8232!==t&&8233!==t||57344<=t&&t<=65533&&t!==s_||65536<=t&&t<=1114111}function z_(t){return H_(t)&&t!==s_&&t!==u_&&t!==c_}function q_(t,e,n){var r=z_(t),i=r&&!j_(t);return(n?r:r&&t!==b_&&t!==x_&&t!==S_&&t!==C_&&t!==I_)&&t!==p_&&!(e===E_&&!i)||z_(e)&&!j_(e)&&t===p_||e===E_&&i}function W_(t,e){var n,r=t.charCodeAt(e);return r>=55296&&r<=56319&&e+1<t.length&&(n=t.charCodeAt(e+1))>=56320&&n<=57343?1024*(r-55296)+n-56320+65536:r}function G_(t){return/^\n* /.test(t)}var K_=1,Y_=2,V_=3,X_=4,Z_=5;function $_(t,e,n,r,i){t.dump=function(){if(0===e.length)return t.quotingType===P_?'""':"''";if(!t.noCompatMode&&(-1!==N_.indexOf(e)||O_.test(e)))return t.quotingType===P_?'"'+e+'"':"'"+e+"'";var o=t.indent*Math.max(1,n),a=-1===t.lineWidth?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-o),s=r||t.flowLevel>-1&&n>=t.flowLevel;switch(function(t,e,n,r,i,o,a,s){var l,c,u=0,h=null,f=!1,d=!1,p=-1!==r,m=-1,g=H_(c=W_(t,0))&&c!==s_&&!j_(c)&&c!==v_&&c!==M_&&c!==E_&&c!==b_&&c!==x_&&c!==S_&&c!==C_&&c!==I_&&c!==p_&&c!==g_&&c!==w_&&c!==f_&&c!==D_&&c!==__&&c!==A_&&c!==y_&&c!==d_&&c!==m_&&c!==T_&&c!==k_&&function(t){return!j_(t)&&t!==E_}(W_(t,t.length-1));if(e||a)for(l=0;l<t.length;u>=65536?l+=2:l++){if(!H_(u=W_(t,l)))return Z_;g=g&&q_(u,h,s),h=u}else{for(l=0;l<t.length;u>=65536?l+=2:l++){if((u=W_(t,l))===c_)f=!0,p&&(d=d||l-m-1>r&&" "!==t[m+1],m=l);else if(!H_(u))return Z_;g=g&&q_(u,h,s),h=u}d=d||p&&l-m-1>r&&" "!==t[m+1]}return f||d?n>9&&G_(t)?Z_:a?o===P_?Z_:Y_:d?X_:V_:!g||a||i(t)?o===P_?Z_:Y_:K_}(e,s,t.indent,a,(function(e){return function(t,e){var n,r;for(n=0,r=t.implicitTypes.length;n<r;n+=1)if(t.implicitTypes[n].resolve(e))return!0;return!1}(t,e)}),t.quotingType,t.forceQuotes&&!r,i)){case K_:return e;case Y_:return"'"+e.replace(/'/g,"''")+"'";case V_:return"|"+Q_(e,t.indent)+J_(B_(e,o));case X_:return">"+Q_(e,t.indent)+J_(B_(function(t,e){for(var n,r,i,o=/(\n+)([^\n]*)/g,a=(i=-1!==(i=t.indexOf("\n"))?i:t.length,o.lastIndex=i,tA(t.slice(0,i),e)),s="\n"===t[0]||" "===t[0];r=o.exec(t);){var l=r[1],c=r[2];n=" "===c[0],a+=l+(s||n||""===c?"":"\n")+tA(c,e),s=n}return a}(e,a),o));case Z_:return'"'+function(t){for(var e,n="",r=0,i=0;i<t.length;r>=65536?i+=2:i++)r=W_(t,i),!(e=R_[r])&&H_(r)?(n+=t[i],r>=65536&&(n+=t[i+1])):n+=e||L_(r);return n}(e)+'"';default:throw new Rv("impossible error: invalid scalar style")}}()}function Q_(t,e){var n=G_(t)?String(e):"",r="\n"===t[t.length-1];return n+(!r||"\n"!==t[t.length-2]&&"\n"!==t?r?"":"-":"+")+"\n"}function J_(t){return"\n"===t[t.length-1]?t.slice(0,-1):t}function tA(t,e){if(""===t||" "===t[0])return t;for(var n,r,i=/ [^ ]/g,o=0,a=0,s=0,l="";n=i.exec(t);)(s=n.index)-o>e&&(r=a>o?a:s,l+="\n"+t.slice(o,r),o=r+1),a=s;return l+="\n",t.length-o>e&&a>o?l+=t.slice(o,a)+"\n"+t.slice(a+1):l+=t.slice(o),l.slice(1)}function eA(t,e,n,r){var i,o,a,s="",l=t.tag;for(i=0,o=n.length;i<o;i+=1)a=n[i],t.replacer&&(a=t.replacer.call(n,String(i),a)),(rA(t,e+1,a,!0,!0,!1,!0)||void 0===a&&rA(t,e+1,null,!0,!0,!1,!0))&&(r&&""===s||(s+=U_(t,e)),t.dump&&c_===t.dump.charCodeAt(0)?s+="-":s+="- ",s+=t.dump);t.tag=l,t.dump=s||"[]"}function nA(t,e,n){var r,i,o,a,s,l;for(o=0,a=(i=n?t.explicitTypes:t.implicitTypes).length;o<a;o+=1)if(((s=i[o]).instanceOf||s.predicate)&&(!s.instanceOf||"object"==typeof e&&e instanceof s.instanceOf)&&(!s.predicate||s.predicate(e))){if(n?s.multi&&s.representName?t.tag=s.representName(e):t.tag=s.tag:t.tag="?",s.represent){if(l=t.styleMap[s.tag]||s.defaultStyle,"[object Function]"===o_.call(s.represent))r=s.represent(e,l);else{if(!a_.call(s.represent,l))throw new Rv("!<"+s.tag+'> tag resolver accepts not "'+l+'" style');r=s.represent[l](e,l)}t.dump=r}return!0}return!1}function rA(t,e,n,r,i,o,a){t.tag=null,t.dump=n,nA(t,n,!1)||nA(t,n,!0);var s,l=o_.call(t.dump),c=r;r&&(r=t.flowLevel<0||t.flowLevel>e);var u,h,f="[object Object]"===l||"[object Array]"===l;if(f&&(h=-1!==(u=t.duplicates.indexOf(n))),(null!==t.tag&&"?"!==t.tag||h||2!==t.indent&&e>0)&&(i=!1),h&&t.usedDuplicates[u])t.dump="*ref_"+u;else{if(f&&h&&!t.usedDuplicates[u]&&(t.usedDuplicates[u]=!0),"[object Object]"===l)r&&0!==Object.keys(t.dump).length?(function(t,e,n,r){var i,o,a,s,l,c,u="",h=t.tag,f=Object.keys(n);if(!0===t.sortKeys)f.sort();else if("function"==typeof t.sortKeys)f.sort(t.sortKeys);else if(t.sortKeys)throw new Rv("sortKeys must be a boolean or a function");for(i=0,o=f.length;i<o;i+=1)c="",r&&""===u||(c+=U_(t,e)),s=n[a=f[i]],t.replacer&&(s=t.replacer.call(n,a,s)),rA(t,e+1,a,!0,!0,!0)&&((l=null!==t.tag&&"?"!==t.tag||t.dump&&t.dump.length>1024)&&(t.dump&&c_===t.dump.charCodeAt(0)?c+="?":c+="? "),c+=t.dump,l&&(c+=U_(t,e)),rA(t,e+1,s,!0,l)&&(t.dump&&c_===t.dump.charCodeAt(0)?c+=":":c+=": ",u+=c+=t.dump));t.tag=h,t.dump=u||"{}"}(t,e,t.dump,i),h&&(t.dump="&ref_"+u+t.dump)):(function(t,e,n){var r,i,o,a,s,l="",c=t.tag,u=Object.keys(n);for(r=0,i=u.length;r<i;r+=1)s="",""!==l&&(s+=", "),t.condenseFlow&&(s+='"'),a=n[o=u[r]],t.replacer&&(a=t.replacer.call(n,o,a)),rA(t,e,o,!1,!1)&&(t.dump.length>1024&&(s+="? "),s+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),rA(t,e,a,!1,!1)&&(l+=s+=t.dump));t.tag=c,t.dump="{"+l+"}"}(t,e,t.dump),h&&(t.dump="&ref_"+u+" "+t.dump));else if("[object Array]"===l)r&&0!==t.dump.length?(t.noArrayIndent&&!a&&e>0?eA(t,e-1,t.dump,i):eA(t,e,t.dump,i),h&&(t.dump="&ref_"+u+t.dump)):(function(t,e,n){var r,i,o,a="",s=t.tag;for(r=0,i=n.length;r<i;r+=1)o=n[r],t.replacer&&(o=t.replacer.call(n,String(r),o)),(rA(t,e,o,!1,!1)||void 0===o&&rA(t,e,null,!1,!1))&&(""!==a&&(a+=","+(t.condenseFlow?"":" ")),a+=t.dump);t.tag=s,t.dump="["+a+"]"}(t,e,t.dump),h&&(t.dump="&ref_"+u+" "+t.dump));else{if("[object String]"!==l){if("[object Undefined]"===l)return!1;if(t.skipInvalid)return!1;throw new Rv("unacceptable kind of an object to dump "+l)}"?"!==t.tag&&$_(t,t.dump,e,o,c)}null!==t.tag&&"?"!==t.tag&&(s=encodeURI("!"===t.tag[0]?t.tag.slice(1):t.tag).replace(/!/g,"%21"),s="!"===t.tag[0]?"!"+s:"tag:yaml.org,2002:"===s.slice(0,18)?"!!"+s.slice(18):"!<"+s+">",t.dump=s+" "+t.dump)}return!0}function iA(t,e){var n,r,i=[],o=[];for(oA(t,i,o),n=0,r=o.length;n<r;n+=1)e.duplicates.push(i[o[n]]);e.usedDuplicates=new Array(r)}function oA(t,e,n){var r,i,o;if(null!==t&&"object"==typeof t)if(-1!==(i=e.indexOf(t)))-1===n.indexOf(i)&&n.push(i);else if(e.push(t),Array.isArray(t))for(i=0,o=t.length;i<o;i+=1)oA(t[i],e,n);else for(i=0,o=(r=Object.keys(t)).length;i<o;i+=1)oA(t[r[i]],e,n)}function aA(t,e){return function(){throw new Error("Function yaml."+t+" is removed in js-yaml 4. Use yaml."+e+" instead, which is now safe by default.")}}const sA={Type:Bv,Schema:Hv,FAILSAFE_SCHEMA:Gv,JSON_SCHEMA:tE,CORE_SCHEMA:eE,DEFAULT_SCHEMA:mE,load:i_.load,loadAll:i_.loadAll,dump:function(t,e){var n=new F_(e=e||{});n.noRefs||iA(t,n);var r=t;return n.replacer&&(r=n.replacer.call({"":r},"",r)),rA(n,0,r,!0,!0)?n.dump+"\n":""},YAMLException:Rv,types:{binary:sE,float:Jv,map:Wv,null:Kv,pairs:fE,set:pE,timestamp:iE,bool:Yv,int:Zv,merge:oE,omap:uE,seq:qv,str:zv},safeLoad:aA("safeLoad","load"),safeLoadAll:aA("safeLoadAll","loadAll"),safeDump:aA("safeDump","dump")},lA="yaml";function cA(t){this.enter({type:lA,value:"",payload:{}},t),this.buffer()}function uA(t){return function(e){const n=this.resume(),r=this.stack[this.stack.length-1];r.payload=sA.load(n),t.yamlDump?r.value=sA.dump(r.payload):delete r.value,this.exit(e)}}function hA(t){this.config.enter.data.call(this,t),this.config.exit.data.call(this,t)}const fA={carriageReturn:-5,lineFeed:-4,carriageReturnLineFeed:-3,horizontalTab:-2,virtualSpace:-1,eof:null,nul:0,soh:1,stx:2,etx:3,eot:4,enq:5,ack:6,bel:7,bs:8,ht:9,lf:10,vt:11,ff:12,cr:13,so:14,si:15,dle:16,dc1:17,dc2:18,dc3:19,dc4:20,nak:21,syn:22,etb:23,can:24,em:25,sub:26,esc:27,fs:28,gs:29,rs:30,us:31,space:32,exclamationMark:33,quotationMark:34,numberSign:35,dollarSign:36,percentSign:37,ampersand:38,apostrophe:39,leftParenthesis:40,rightParenthesis:41,asterisk:42,plusSign:43,comma:44,dash:45,dot:46,slash:47,digit0:48,digit1:49,digit2:50,digit3:51,digit4:52,digit5:53,digit6:54,digit7:55,digit8:56,digit9:57,colon:58,semicolon:59,lessThan:60,equalsTo:61,greaterThan:62,questionMark:63,atSign:64,uppercaseA:65,uppercaseB:66,uppercaseC:67,uppercaseD:68,uppercaseE:69,uppercaseF:70,uppercaseG:71,uppercaseH:72,uppercaseI:73,uppercaseJ:74,uppercaseK:75,uppercaseL:76,uppercaseM:77,uppercaseN:78,uppercaseO:79,uppercaseP:80,uppercaseQ:81,uppercaseR:82,uppercaseS:83,uppercaseT:84,uppercaseU:85,uppercaseV:86,uppercaseW:87,uppercaseX:88,uppercaseY:89,uppercaseZ:90,leftSquareBracket:91,backslash:92,rightSquareBracket:93,caret:94,underscore:95,graveAccent:96,lowercaseA:97,lowercaseB:98,lowercaseC:99,lowercaseD:100,lowercaseE:101,lowercaseF:102,lowercaseG:103,lowercaseH:104,lowercaseI:105,lowercaseJ:106,lowercaseK:107,lowercaseL:108,lowercaseM:109,lowercaseN:110,lowercaseO:111,lowercaseP:112,lowercaseQ:113,lowercaseR:114,lowercaseS:115,lowercaseT:116,lowercaseU:117,lowercaseV:118,lowercaseW:119,lowercaseX:120,lowercaseY:121,lowercaseZ:122,leftCurlyBrace:123,verticalBar:124,rightCurlyBrace:125,tilde:126,del:127,byteOrderMarker:65279,replacementCharacter:65533},dA={data:"data",whitespace:"whitespace",lineEnding:"lineEnding",lineEndingBlank:"lineEndingBlank",linePrefix:"linePrefix",lineSuffix:"lineSuffix",atxHeading:"atxHeading",atxHeadingSequence:"atxHeadingSequence",atxHeadingText:"atxHeadingText",autolink:"autolink",autolinkEmail:"autolinkEmail",autolinkMarker:"autolinkMarker",autolinkProtocol:"autolinkProtocol",characterEscape:"characterEscape",characterEscapeValue:"characterEscapeValue",characterReference:"characterReference",characterReferenceMarker:"characterReferenceMarker",characterReferenceMarkerNumeric:"characterReferenceMarkerNumeric",characterReferenceMarkerHexadecimal:"characterReferenceMarkerHexadecimal",characterReferenceValue:"characterReferenceValue",codeFenced:"codeFenced",codeFencedFence:"codeFencedFence",codeFencedFenceSequence:"codeFencedFenceSequence",codeFencedFenceInfo:"codeFencedFenceInfo",codeFencedFenceMeta:"codeFencedFenceMeta",codeFlowValue:"codeFlowValue",codeIndented:"codeIndented",codeText:"codeText",codeTextData:"codeTextData",codeTextPadding:"codeTextPadding",codeTextSequence:"codeTextSequence",content:"content",definition:"definition",definitionDestination:"definitionDestination",definitionDestinationLiteral:"definitionDestinationLiteral",definitionDestinationLiteralMarker:"definitionDestinationLiteralMarker",definitionDestinationRaw:"definitionDestinationRaw",definitionDestinationString:"definitionDestinationString",definitionLabel:"definitionLabel",definitionLabelMarker:"definitionLabelMarker",definitionLabelString:"definitionLabelString",definitionMarker:"definitionMarker",definitionTitle:"definitionTitle",definitionTitleMarker:"definitionTitleMarker",definitionTitleString:"definitionTitleString",emphasis:"emphasis",emphasisSequence:"emphasisSequence",emphasisText:"emphasisText",escapeMarker:"escapeMarker",hardBreakEscape:"hardBreakEscape",hardBreakTrailing:"hardBreakTrailing",htmlFlow:"htmlFlow",htmlFlowData:"htmlFlowData",htmlText:"htmlText",htmlTextData:"htmlTextData",image:"image",label:"label",labelText:"labelText",labelLink:"labelLink",labelImage:"labelImage",labelMarker:"labelMarker",labelImageMarker:"labelImageMarker",labelEnd:"labelEnd",link:"link",paragraph:"paragraph",reference:"reference",referenceMarker:"referenceMarker",referenceString:"referenceString",resource:"resource",resourceDestination:"resourceDestination",resourceDestinationLiteral:"resourceDestinationLiteral",resourceDestinationLiteralMarker:"resourceDestinationLiteralMarker",resourceDestinationRaw:"resourceDestinationRaw",resourceDestinationString:"resourceDestinationString",resourceMarker:"resourceMarker",resourceTitle:"resourceTitle",resourceTitleMarker:"resourceTitleMarker",resourceTitleString:"resourceTitleString",setextHeading:"setextHeading",setextHeadingText:"setextHeadingText",setextHeadingLine:"setextHeadingLine",setextHeadingLineSequence:"setextHeadingLineSequence",strong:"strong",strongSequence:"strongSequence",strongText:"strongText",thematicBreak:"thematicBreak",thematicBreakSequence:"thematicBreakSequence",blockQuote:"blockQuote",blockQuotePrefix:"blockQuotePrefix",blockQuoteMarker:"blockQuoteMarker",blockQuotePrefixWhitespace:"blockQuotePrefixWhitespace",listOrdered:"listOrdered",listUnordered:"listUnordered",listItemIndent:"listItemIndent",listItemMarker:"listItemMarker",listItemPrefix:"listItemPrefix",listItemPrefixWhitespace:"listItemPrefixWhitespace",listItemValue:"listItemValue",chunkDocument:"chunkDocument",chunkContent:"chunkContent",chunkFlow:"chunkFlow",chunkText:"chunkText",chunkString:"chunkString"},pA=t=>null!=t?t.constructor:t;function mA(t){const e="yamlValue",n="yamlFence",r="yamlSequence",{errorHandler:i}=t,o={tokenize:function(t,e,i){let o=0;return function(e){return e===fA.dash?(t.enter(n),t.enter(r),a(e)):i(e)};function a(e){return 3===o?(t.exit(r),my(e)?(t.enter(dA.whitespace),s(e)):l(e)):e===fA.dash?(t.consume(e),o+=1,a):i(e)}function s(e){return my(e)?(t.consume(e),s):(t.exit(dA.whitespace),l(e))}function l(r){return r===fA.eof||dy(r)?(t.exit(n),e(r)):i(r)}},partial:!0};return{tokenize:function(t,n,r){const s=this;let l,c=!1;return function(e){const n=s.now();if(1!==n.column)return r(e);l=n.line;const{events:i}=s;for(let t=i.length-1;t>=0;t-=1){const{type:n}=i[t][1];if("lineEndingBlank"===n)break;if("lineEnding"!==n)return r(e)}return t.enter(lA),t.attempt(o,d,r)(e)};function u(n){return c=!0,n===fA.eof||dy(n)?d(n):(t.enter(e),h(n))}function h(n){return n===fA.eof||dy(n)?(t.exit(e),d(n)):(my(n)||(c=!1),t.consume(n),h)}function f(e){const o=t.exit(lA);let l=s.sliceSerialize(o).trim();return l=l.substring(4,l.length-3).trim(),function(t,e){try{const n=sA.load(t);let r=pA(n);return r===Object||(r===String||r===Number||e&&(Array.isArray(n)&&(r="Array"),e(`Found ambiguous frontmatter block: Block contains valid yaml, but it's data type is "${r}" instead of Object. Make sure your yaml blocks contain only key-value pairs at the root level!`,t)),!1)}catch(t){return e&&e(t),!1}}(l,i)?e===fA.eof?n(e):t.check({tokenize:a,partial:!0},n,r)(e):r(e)}function d(e){if(e===fA.eof)return r(e);if(c){if(1==s.now().line-l)return r(e);if(1!==l)return r(e)}return t.enter(dA.lineEnding),t.consume(e),t.exit(dA.lineEnding),t.attempt(o,f,u)}}};function a(t,e,n){let r=!1;return function(e){return t.enter(dA.lineEnding),t.consume(e),t.exit(dA.lineEnding),i};function i(o){return o===fA.eof||dy(o)?e(o):my(o)?(r||(t.enter(dA.whitespace),r=!0),t.consume(o),i):(r&&t.exit(dA.whitespace),n(o))}}}function gA(t){const e=this.data();function n(t,n){e[t]?e[t].push(n):e[t]=[n]}n("micromarkExtensions",function(t={}){return{flow:{[fA.dash]:[mA(t)]}}}(t)),n("fromMarkdownExtensions",function(t={}){return{enter:{[lA]:cA},exit:{[lA]:uA(t),yamlValue:hA}}}(t)),n("toMarkdownExtensions",{handlers:{[lA]:t=>`---\n${t.value.trim()}\n---`}})}const yA="gridTable",wA="gtHeader",bA="gtBody",vA="gtFooter",EA="gtRow",_A="gtCell",AA="gtRowLine",MA="gtGridDivider",TA="cellDivider",xA={[fA.lowercaseV]:"bottom",[fA.lowercaseX]:"middle",[fA.caret]:"top"},SA={flow:{[fA.plusSign]:function(){return{tokenize:function(e,n,r){const i=[0];let o=0,a=0,s=0,l=null,c="",u="";return function(t){return e.enter(yA)._cols=i,e.enter(bA),h(t)};function h(t){return l=e.enter(AA),e.enter(TA),e.consume(t),e.exit(TA),s=0,a=0,f}function f(t){return c="",u="",t===fA.dash||t===fA.equalsTo||t===fA.colon||t===fA.greaterThan?(e.enter(MA)._colStart=s,s+=1,t===fA.colon?c="left":t===fA.greaterThan&&(c="justify"),e.consume(t),g):t===fA.eof||dy(t)?m(t):(e.enter(_A)._colStart=s,s+=1,e.consume(t),my(t)?d:w)}function d(t){return t===fA.eof||dy(t)?(e.exit(_A)._discard=!0,m(t)):my(t)?(s+=1,e.consume(t),d):w(t)}function p(t){return o<3?r(t):(e.exit(bA),e.exit(yA),n(t))}function m(n){return 0===a?r(n):(e.exit(AA),o+=1,n===fA.eof?p(n):e.check({tokenize:t},(t=>(e.enter(dA.lineEnding),e.consume(t),e.exit(dA.lineEnding),h)),p)(n))}function g(t){if(s+=1,t===fA.dash||t===fA.equalsTo)return l._type||(l._type=t),e.consume(t),g;if(t===fA.colon){if(c){if("left"!==c)return r(t);c="center"}else c="right";return e.consume(t),y}return t===fA.lessThan?"justify"!==c?r(t):(e.consume(t),y):xA[t]?u?r(t):(u=xA[t],e.consume(t),g):t===fA.plusSign||t===fA.verticalBar?(s-=1,y(t)):r(t)}function y(t){if(t!==fA.plusSign&&t!==fA.verticalBar)return r(t);l._type||(l._type=t.dash),s+=1,i.indexOf(s)<0&&(i.push(s),i.sort(((t,e)=>t-e)));const n=e.exit(MA);return n._colEnd=s,n._align=c,n._valign=u,e.enter(TA),e.consume(t),e.exit(TA),a+=1,f}function w(t){return s+=1,t===fA.verticalBar||t===fA.plusSign?i.indexOf(s)>=0?(e.exit(_A)._colEnd=s,e.enter(TA),e.consume(t),e.exit(TA),a+=1,f):(e.consume(t),w):t===fA.eof?r(t):(e.consume(t),t===fA.backslash?b:w)}function b(t){return t===fA.backslash||t===fA.verticalBar||t===fA.plusSign?(s+=1,e.consume(t),w):w(t)}},resolve:function(t,e){return t=function(t,e){const n=[];let r=-1;for(let i=0;i<t.length;i+=1){const[o,a]=t[i],{type:s}=a;if(s===bA)if("enter"===o)r=i;else{let[o,s]=n;const l=a;if(o>r+1){const n={type:wA,start:l.start,end:t[o][1].end};l.start=n.end,t[r][1]=n,t.splice(o,0,["exit",n,e],["enter",l,e]),i+=2,s+=2}if(s){const n={type:vA,start:t[s][1].start,end:l.end};l.end=n.start,t.splice(s,0,["exit",l,e],["enter",n,e]),i+=2,t[i][1]=n}}else s===AA&&"enter"===o&&a._type===fA.equalsTo&&n.push(i)}return t}(t=t.filter((([,t])=>!t._discard)),e),t},resolveAll:function(t,e){const{defined:n}=e.parser;for(const[e,r]of t)"enter"===e&&r.type===yA&&(r._definitions=n);return t},concrete:!0};function t(t,e,n){function r(t){return t===fA.plusSign||t===fA.verticalBar?e(t):n(t)}return function(e){return t.enter(dA.lineEnding),t.consume(e),t.exit(dA.lineEnding),r}}}()}};function kA(t){const e=[];let n=-1,r=0,i=0;for(;++n<t.length;){const o=t.charCodeAt(n);let a="";if(37===o&&sy(t.charCodeAt(n+1))&&sy(t.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){const e=t.charCodeAt(n+1);o<56320&&e>56319&&e<57344?(a=String.fromCharCode(o,e),i=1):a="�"}else a=String.fromCharCode(o);a&&(e.push(t.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return e.join("")+t.slice(r)}function CA(t){return function(){this.getData("tableInfo").type=t}}CA("thead"),CA("tbody"),CA("tfoot");const DA={}.hasOwnProperty;function IA(t,e,n){return"string"!=typeof e&&(n=e,e=void 0),function(t){const e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(b),autolinkProtocol:h,autolinkEmail:h,atxHeading:i(g),blockQuote:i((function(){return{type:"blockquote",children:[]}})),characterEscape:h,characterReference:h,codeFenced:i(m),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:i(m,o),codeText:i((function(){return{type:"inlineCode",value:""}}),o),codeTextData:h,data:h,codeFlowValue:h,definition:i((function(){return{type:"definition",identifier:"",label:null,title:null,url:""}})),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:i((function(){return{type:"emphasis",children:[]}})),hardBreakEscape:i(y),hardBreakTrailing:i(y),htmlFlow:i(w,o),htmlFlowData:h,htmlText:i(w,o),htmlTextData:h,image:i((function(){return{type:"image",title:null,url:"",alt:null}})),label:o,link:i(b),listItem:i((function(t){return{type:"listItem",spread:t._spread,checked:null,children:[]}})),listItemValue:function(t){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(t),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:i(v,(function(){this.data.expectingFirstListItemValue=!0})),listUnordered:i(v),paragraph:i((function(){return{type:"paragraph",children:[]}})),reference:function(){this.data.referenceType="collapsed"},referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:i(g),strong:i((function(){return{type:"strong",children:[]}})),thematicBreak:i((function(){return{type:"thematicBreak"}}))},exit:{atxHeading:s(),atxHeadingSequence:function(t){const e=this.stack[this.stack.length-1];if(!e.depth){const n=this.sliceSerialize(t).length;e.depth=n}},autolink:s(),autolinkEmail:function(t){f.call(this,t),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(t)},autolinkProtocol:function(t){f.call(this,t),this.stack[this.stack.length-1].url=this.sliceSerialize(t)},blockQuote:s(),characterEscapeValue:f,characterReferenceMarkerHexadecimal:p,characterReferenceMarkerNumeric:p,characterReferenceValue:function(t){const e=this.sliceSerialize(t),n=this.data.characterReferenceType;let r;n?(r=ga(e,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0):r=ma(e);this.stack[this.stack.length-1].value+=r},characterReference:function(t){this.stack.pop().position.end=RA(t.end)},codeFenced:s((function(){const t=this.resume();this.stack[this.stack.length-1].value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0})),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){const t=this.resume();this.stack[this.stack.length-1].lang=t},codeFencedFenceMeta:function(){const t=this.resume();this.stack[this.stack.length-1].meta=t},codeFlowValue:f,codeIndented:s((function(){const t=this.resume();this.stack[this.stack.length-1].value=t.replace(/(\r?\n|\r)$/g,"")})),codeText:s((function(){const t=this.resume();this.stack[this.stack.length-1].value=t})),codeTextData:f,data:f,definition:s(),definitionDestinationString:function(){const t=this.resume();this.stack[this.stack.length-1].url=t},definitionLabelString:function(t){const e=this.resume(),n=this.stack[this.stack.length-1];n.label=e,n.identifier=Wy(this.sliceSerialize(t)).toLowerCase()},definitionTitleString:function(){const t=this.resume();this.stack[this.stack.length-1].title=t},emphasis:s(),hardBreakEscape:s(d),hardBreakTrailing:s(d),htmlFlow:s((function(){const t=this.resume();this.stack[this.stack.length-1].value=t})),htmlFlowData:f,htmlText:s((function(){const t=this.resume();this.stack[this.stack.length-1].value=t})),htmlTextData:f,image:s((function(){const t=this.stack[this.stack.length-1];if(this.data.inReference){const e=this.data.referenceType||"shortcut";t.type+="Reference",t.referenceType=e,delete t.url,delete t.title}else delete t.identifier,delete t.label;this.data.referenceType=void 0})),label:function(){const t=this.stack[this.stack.length-1],e=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){const e=t.children;n.children=e}else n.alt=e},labelText:function(t){const e=this.sliceSerialize(t),n=this.stack[this.stack.length-2];n.label=wa(e),n.identifier=Wy(e).toLowerCase()},lineEnding:function(t){const n=this.stack[this.stack.length-1];if(this.data.atHardBreak)return n.children[n.children.length-1].position.end=RA(t.end),void(this.data.atHardBreak=void 0);!this.data.setextHeadingSlurpLineEnding&&e.canContainEols.includes(n.type)&&(h.call(this,t),f.call(this,t))},link:s((function(){const t=this.stack[this.stack.length-1];if(this.data.inReference){const e=this.data.referenceType||"shortcut";t.type+="Reference",t.referenceType=e,delete t.url,delete t.title}else delete t.identifier,delete t.label;this.data.referenceType=void 0})),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:function(t){const e=this.resume(),n=this.stack[this.stack.length-1];n.label=e,n.identifier=Wy(this.sliceSerialize(t)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){const t=this.resume();this.stack[this.stack.length-1].url=t},resourceTitleString:function(){const t=this.resume();this.stack[this.stack.length-1].title=t},resource:function(){this.data.inReference=void 0},setextHeading:s((function(){this.data.setextHeadingSlurpLineEnding=void 0})),setextHeadingLineSequence:function(t){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(t).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:s(),thematicBreak:s()}};NA(e,(t||{}).mdastExtensions||[]);const n={};return function(t){let i={type:"root",children:[]};const s={stack:[i],tokenStack:[],config:e,enter:a,exit:c,buffer:o,resume:u,data:n},l=[];let h=-1;for(;++h<t.length;)"listOrdered"!==t[h][1].type&&"listUnordered"!==t[h][1].type||("enter"===t[h][0]?l.push(h):h=r(t,l.pop(),h));for(h=-1;++h<t.length;){const n=e[t[h][0]];DA.call(n,t[h][1].type)&&n[t[h][1].type].call(Object.assign({sliceSerialize:t[h][2].sliceSerialize},s),t[h][1])}if(s.tokenStack.length>0){const t=s.tokenStack[s.tokenStack.length-1];(t[1]||LA).call(s,void 0,t[0])}for(i.position={start:RA(t.length>0?t[0][1].start:{line:1,column:1,offset:0}),end:RA(t.length>0?t[t.length-2][1].end:{line:1,column:1,offset:0})},h=-1;++h<e.transforms.length;)i=e.transforms[h](i)||i;return i};function r(t,e,n){let r,i,o,a,s=e-1,l=-1,c=!1;for(;++s<=n;){const e=t[s];switch(e[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===e[0]?l++:l--,a=void 0;break;case"lineEndingBlank":"enter"===e[0]&&(!r||a||l||o||(o=s),a=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:a=void 0}if(!l&&"enter"===e[0]&&"listItemPrefix"===e[1].type||-1===l&&"exit"===e[0]&&("listUnordered"===e[1].type||"listOrdered"===e[1].type)){if(r){let a=s;for(i=void 0;a--;){const e=t[a];if("lineEnding"===e[1].type||"lineEndingBlank"===e[1].type){if("exit"===e[0])continue;i&&(t[i][1].type="lineEndingBlank",c=!0),e[1].type="lineEnding",i=a}else if("linePrefix"!==e[1].type&&"blockQuotePrefix"!==e[1].type&&"blockQuotePrefixWhitespace"!==e[1].type&&"blockQuoteMarker"!==e[1].type&&"listItemIndent"!==e[1].type)break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?t[i][1].start:e[1].end),t.splice(i||s,0,["exit",r,e[2]]),s++,n++}if("listItemPrefix"===e[1].type){const i={type:"listItem",_spread:!1,start:Object.assign({},e[1].start),end:void 0};r=i,t.splice(s,0,["enter",i,e[2]]),s++,n++,o=void 0,a=!0}}}return t[e][1]._spread=c,n}function i(t,e){return function(n){a.call(this,t(n),n),e&&e.call(this,n)}}function o(){this.stack.push({type:"fragment",children:[]})}function a(t,e,n){this.stack[this.stack.length-1].children.push(t),this.stack.push(t),this.tokenStack.push([e,n]),t.position={start:RA(e.start),end:void 0}}function s(t){return function(e){t&&t.call(this,e),c.call(this,e)}}function c(t,e){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+t.type+"` ("+l({start:t.start,end:t.end})+"): it’s not open");r[0].type!==t.type&&(e?e.call(this,t,r[0]):(r[1]||LA).call(this,t,r[0])),n.position.end=RA(t.end)}function u(){return so(this.stack.pop())}function h(t){const e=this.stack[this.stack.length-1].children;let n=e[e.length-1];n&&"text"===n.type||(n={type:"text",value:""},n.position={start:RA(t.start),end:void 0},e.push(n)),this.stack.push(n)}function f(t){const e=this.stack.pop();e.value+=this.sliceSerialize(t),e.position.end=RA(t.end)}function d(){this.data.atHardBreak=!0}function p(t){this.data.characterReferenceType=t.type}function m(){return{type:"code",lang:null,meta:null,value:""}}function g(){return{type:"heading",depth:0,children:[]}}function y(){return{type:"break"}}function w(){return{type:"html",value:""}}function b(){return{type:"link",title:null,url:"",children:[]}}function v(t){return{type:"list",ordered:"listOrdered"===t.type,start:null,spread:t._spread,children:[]}}}(n)(ey(Cw(n).document().write(Iw()(t,e,!0))))}function RA(t){return{line:t.line,column:t.column,offset:t.offset}}function NA(t,e){let n=-1;for(;++n<e.length;){const r=e[n];Array.isArray(r)?NA(t,r):OA(t,r)}}function OA(t,e){let n;for(n in e)if(DA.call(e,n))switch(n){case"canContainEols":{const r=e[n];r&&t[n].push(...r);break}case"transforms":{const r=e[n];r&&t[n].push(...r);break}case"enter":case"exit":{const r=e[n];r&&Object.assign(t[n],r);break}}}function LA(t,e){throw t?new Error("Cannot close `"+t.type+"` ("+l({start:t.start,end:t.end})+"): a different token (`"+e.type+"`, "+l({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+l({start:e.start,end:e.end})+") is still open")}function PA(t){bi(t,(t=>("inlineCode"!==t.type&&"code"!==t.type||(t.value=t.value.replace(/\\([+|])/gm,"$1")),"code"===t.type&&(t.value=t.value.replace(/\u0083 ?\n/gmu,"")),mi)))}function FA(t){for(;t.length>0&&t[t.length-1].match(/^\s*$/);)t.pop();const e=t.filter((t=>!t.match(/^\s*$/))).map((t=>t.match(/^ */)[0].length)).reduce(((t,e)=>Math.min(e,t)),1/0);return t.map((t=>t.substring(e).trimEnd()))}function BA(t,e){const n=t.cols.indexOf(e._colStart);return t.cols.indexOf(e._colEnd)-n}function UA(t){this.enter({type:yA,children:[]},t),this.data.tableInfo={cols:t._cols,colPos:0,allCells:[],pendingCells:[],cells:[],dividers:[],definitions:t._definitions}}function jA(t){let{processor:e}=t;return e||(e={data:e=>"micromarkExtensions"===e?t.extensions:"fromMarkdownExtensions"===e?t.mdastExtensions:void 0}),function(t){const{tableInfo:n}=this.data;for(const t of n.allCells){const{node:r,lines:i,colSpan:o,rowSpan:a,align:s,valign:l}=t,c=FA(i),u=new Set;for(const t of n.definitions){const e=`[${t.toLowerCase()}]`;i.find((t=>t.indexOf(e)>=0))&&(c.push(""),c.push(`[${t}]: dummy`),u.add(t))}const h=IA(c.join("\n"),{extensions:e.data("micromarkExtensions"),mdastExtensions:e.data("fromMarkdownExtensions")});for(let t=0;t<h.children.length;t+=1){const e=h.children[t];"definition"===e.type&&u.has(e.label)&&(h.children.splice(t,1),t-=1)}PA(h),r.children=h.children,o>1&&(r.colSpan=o),a>1&&(r.rowSpan=a),s&&(r.align=s),l&&(r.valign=l)}this.exit(t)}}function HA(t){this.enter({type:t.type,children:[]},t)}function zA(){this.buffer()}function qA(t){this.config.enter.data.call(this,t),this.config.exit.data.call(this,t);const e=this.resume(),{tableInfo:n}=this.data,r=BA(n,t);let i=n.pendingCells[n.colPos];if(n.isDivider&&(i||(i=n.cells[n.colPos],n.pendingCells[n.colPos]=i),i&&(i.rowSpan+=1)),i)return i.lines.push(e),void(n.colPos+=r);if(i=n.cells[n.colPos],!i){const t=n.dividers[n.colPos];i={rowSpan:1,colSpan:r,align:t?._align,valign:t?._valign,node:{type:_A},lines:[]},n.cells[n.colPos]=i,n.allCells.push(i)}i.lines.push(e),n.colPos+=r}function WA(t){const{tableInfo:e}=this.data;let n=BA(e,t);for(;n>0;)n-=1,e.pendingCells[e.colPos]=null,e.dividers[e.colPos]=t,e.colPos+=1}function GA(t){const e=this.data.tableInfo;e.isDivider=t._type,e.colPos=0,e.isDivider&&(e.dividers=[])}function KA(t){const e={type:EA,start:{line:0,column:0,offset:0},end:{line:0,column:0,offset:0}};this.enter({type:EA,children:[]},e);for(const e of t.cells)if(e){const t={type:_A,start:{line:0,column:0,offset:0},end:{line:0,column:0,offset:0}};this.enter(e.node,t),this.exit(t)}this.exit(e),t.cells=[]}function YA(t){const{tableInfo:e}=this.data;e.cells.length&&(KA.call(this,e),e.pendingCells=[]),this.exit(t)}function VA(){const{tableInfo:t}=this.data;t.isDivider&&t.cells.length&&KA.call(this,t)}const XA={break:!0,delete:!0,emphasis:!0,footnote:!0,footnoteReference:!0,image:!0,imageReference:!0,inlineCode:!0,inlineMath:!0,link:!0,linkReference:!0,strong:!0,subscript:!0,superscript:!0,text:!0,underline:!0},ZA={paragraph:!0,delete:!0,emphasis:!0,inlineCode:!0,strong:!0,subscript:!0,superscript:!0,underline:!0},{text:$A,inlineCode:QA,code:JA}=ua;function*tM(t,e){const n=t/e;let r=n,i=0;for(let t=0;t<e-1;t+=1)yield[Math.round(r-i),t],i=Math.round(r),r+=n;yield[Math.round(t-i),e-1]}function eM(t,e,n){let r=0;for(let i=0;i<n.colSpan;i+=1)r+=t[e+i].width;return r}function nM(t,e,n,r){const i={...t,value:t.value.replace(/[ \t\v\r\n]/g," ")};let o=$A(i,e,n,r);const{lineWidth:a}=n.options;if(a&&o.length>a){if(n.stack.includes("headingAtx"))return o;const t=[],e=o.split(" ");let i=r.now.column-1,s=[];for(let n of e){const e=n.length;i+e>a&&s.length>0&&(t.push(s.join(" ")),s=[],i=0),0===s.length&&n.match(/^\d+\./)&&(n=n.replace(".","\\.")),0===s.length&&"-"===n&&(n="\\-"),s.push(n),i+=e+1}s.length&&t.push(s.join(" ")),o=t.join("\n")}return o}nM.peek=$A;class rM{constructor(){Object.assign(this,{lastRow:null,rows:[],headerSize:0,footerSize:0,opts:{width:120,minCellWidth:12}})}addHeaderRow(t){this.addRow(t,this.headerSize),this.headerSize+=1}addRow(t,e=this.rows.length-this.footerSize){const n={height:0,cells:[]};this.rows.splice(e,0,n),this.lastRow=this.rows[this.rows.length-1];for(const e of t)this.addCell(e,n)}addFooterRow(t){this.addRow(t,this.rows.length),this.footerSize+=1}addCell(t,e){this.lastRow||(this.lastRow={height:0,cells:[]},this.rows.push(this.lastRow)),(e=e||this.lastRow).cells.push(t);for(let n=1;n<t.colSpan;n+=1)e.cells.push({align:t.align})}renderCell(t,e,n){const r=e.options.lineWidth;e.options.lineWidth=n-3,e.options.minLineWidth=this.opts.minCellWidth;const i=e.enter(_A),o=e.enter("phrasing");var a;bi(a=t.tree,((t,e,n)=>{const{children:r=[]}=n||{};if("text"===t.type&&(e===r.length-1&&(t.value=t.value.trimEnd()),"break"===r[e+1]?.type&&(t.value=t.value.trimEnd()),0===e&&"paragraph"===n?.type&&(t.value=t.value.trimStart()),!t.value))return r.splice(e,1),e-1;if("break"===t.type){if(e===r.length-1)return r.splice(e,1),e-1;delete t.value}return mi})),function t(e){const{children:n,type:r}=e;if("text"===r)return!e.value;if(!n)return!1;for(let e=0;e<n.length;e+=1)t(n[e])&&(n.splice(e,1),e-=1);return!!ZA[r]&&0===n.length}(a),t.tree.children.every((t=>XA[t.type]))&&(t.tree.children=[{type:"paragraph",children:t.tree.children}]);const s=e.containerFlow(t.tree,{before:"\n",after:"\n",now:{line:1,column:1},lineShift:0}).split("\n");delete e.bulletLastUsed,o(),i(),e.options.lineWidth=r,t.lines=s,t.height=s.length,t.width=0;const l=["    ","   ","  "," "];for(let e=0;e<s.length;e+=1){let n=s[e],r=n.indexOf("\t");if(r>=0){do{n=n.substring(0,r)+l[r%4]+n.substring(r+1),r=n.indexOf("\t",r+1)}while(r>=0);s[e]=n}t.width=Math.max(t.width,n.length)}return t.value=s.join("\n"),t.width+=3,t}toMarkdown(t){let e=0;const n=[];for(let t=0;t<this.rows.length;t+=1){const r=this.rows[t];for(let i=0;i<r.cells.length;i+=1){let o=n[i];o||(o={width:3},n[i]=o);const a=r.cells[i];if(a.tree&&(e=Math.max(e,i+1)),a.rowSpan>1)for(let e=1;e<a.rowSpan;e+=1){const n=e+t,r=new Array(a.colSpan).fill({});r[0]={linked:a},this.rows[n].cells.splice(i,0,...r)}}}if(n.length>e){n.length=e;for(const{cells:t}of this.rows)if(t.length>e){t.length=e;let n=t.length-1;for(;n>=0&&!t[n].tree;)n-=1;n>=0&&(t[n].colSpan=e-n)}}if(0===n.length)return"";const r=n.length;for(const t of this.rows)for(let e=t.cells.length;e<r;e+=1)t.cells.push({tree:{type:"root",children:[]},colSpan:1,rowSpan:1});for(const[t,e]of tM(this.opts.width,r))n[e].maxWidth=t;for(const e of this.rows)for(let r=0;r<e.cells.length;r+=1){const i=e.cells[r];if(i.tree){let e=0;for(let t=0;t<i.colSpan;t+=1)e+=n[r+t].maxWidth;this.renderCell(i,t,e);for(const[t,e]of tM(i.width,i.colSpan)){const i=n[r+e];i.width=Math.max(i.width,t)}i.valign&&(n[r].width=Math.max(4,n[r].width))}}for(const e of this.rows){e.minHeight=0,e.height=0;for(let r=0;r<e.cells.length;r+=1){const i=e.cells[r];if(i.tree){const o=eM(n,r,i);if(o>=i.width)if(this.renderCell(i,t,o),i.width>o)for(const[t,e]of tM(i.width,i.colSpan)){const i=n[r+e];i.width=Math.max(i.width,t)}else i.width=o;1===i.rowSpan&&(e.height=Math.max(e.height,i.height))}}}for(let t=0;t<this.rows.length;t+=1){const e=this.rows[t];for(let n=0;n<e.cells.length;n+=1){const r=e.cells[n];if(r.rowSpan>1){const e=Math.max(r.rowSpan,r.height-r.rowSpan+1);for(const[n,i]of tM(e,r.rowSpan))this.rows[t+i].height=Math.max(this.rows[t+i].height,n)}}}const i={left:{b:":",e:"",len:1},right:{b:"",e:":",len:1},center:{b:":",e:":",len:2},justify:{b:">",e:"<",len:2},top:"^",bottom:"v",middle:"x"},o=[],a=this.headerSize?this.headerSize:this.footerSize?0:-1,s=this.rows.length-this.footerSize;for(let t=0;t<this.rows.length;t+=1){const e=this.rows[t],r=[],l=t===a||t===s?"=":"-";let c,u=0,h=null,f=null;const d=()=>{if(f){const t=Math.floor((u-1)/2);r.push(l.repeat(t)),r.push(f),r.push(l.repeat(u-t-1))}else r.push(l.repeat(u))},p=()=>{u&&(h?(u-=h.len,r.push(h.b),d(),r.push(h.e)):d(),u=0)};for(let o=0;o<e.cells.length;o+=1){let a="+";0===o&&t>0&&(a="+"),0===t&&o>0&&(a="+");const s=e.cells[o],l=n[o];if(s.tree)p(),r.push(a),u=l.width-1,h=i[s.align],f=i[s.valign];else if(s.linked){p();const t=eM(n,o,s.linked),e=s.linked.lines.shift()||"";r.push(`| ${e.padEnd(t-3," ")} `),o+=s.linked.colSpan-1}else u+=l.width;c=s}p();let m=c?.linked?"|":"+";0===t&&(m="+"),o.push(`${r.join("")}${m}`);for(let t=0;t<e.height;t+=1){const r=[];for(let i=0;i<e.cells.length;i+=1){let o=e.cells[i];if(o.linked&&(o=o.linked),o.tree){const a=eM(n,i,o);let s="";(!o.valign||"top"===o.valign||"middle"===o.valign&&t>=Math.floor(e.height-o.height)/2||"bottom"===o.valign&&t>=e.height-o.height)&&(s=o.lines.shift()||""),r.push(`| ${s.padEnd(a-3," ")} `)}}o.push(`${r.join("")}|`)}}const l=this.rows.length===this.headerSize?"=":"-",c=[],u=this.rows[this.rows.length-1];for(let t=0;t<n.length;t+=1){const e=n[t],r=u.cells[t];let i=r.tree||r.linked?"+":l;0===t&&(i="+"),c.push(`${i}${l.repeat(e.width-1)}`)}return o.push(`${c.join("")}+`),o.join("\n")}}function iM(t){return t.gridTables[t.gridTables.length-1]}function oM(t,e,n,r){return{tree:{type:"root",children:t.children},colSpan:t.colSpan||1,rowSpan:t.rowSpan||1,align:t.align,valign:t.valign}}function aM(t,e,n,r){const i=[];for(const e of t.children)e.type===_A&&i.push(oM(e));return i}function sM(t,e,n,r){const i=iM(n);for(const e of t.children)e.type===EA&&i.addHeaderRow(aM(e))}function lM(t,e,n,r){const i=iM(n);for(const e of t.children)e.type===EA&&i.addRow(aM(e))}function cM(t,e,n,r){const i=iM(n);for(const e of t.children)e.type===EA&&i.addFooterRow(aM(e))}function uM(t,e,n,r){const i=n.enter(yA),o=function(t,e){return t.gridTables||(t.gridTables=[]),t.gridTables.push(e),e}(n,new rM);for(const e of t.children)e.type===wA?sM(e,0,n):e.type===bA?lM(e,0,n):e.type===vA?cM(e,0,n):e.type===EA?o.addRow(aM(e)):e.type===_A&&o.addCell(oM(e));return i(),function(t){return t.gridTables.pop()}(n).toMarkdown(n)}function hM(t,e,n){let r=JA(t,e,n);if(n.stack.includes(_A)){r=r.replace(/[|+]/gm,"\\$&");const t=Math.min(256,Math.max(150,n.options.lineWidth));if(r.length>t){const e=[];for(let n of r.split("\n")){for(;n.length>t;)e.push(`${n.substring(0,t)}ƒ`),n=n.substring(t);e.push(n)}r=e.join("\n")}}return r}function fM(t,e,n){let r=QA(t,e,n);return n.stack.includes(_A)&&(r=r.replace(/[|+]/g,"\\$&")),r}function dM(t,e,n){const r=[];for(const i of e.children)if(i.type===_A){const e={};for(const t of["colSpan","rowSpan","align","valign"])t in i&&(e[t]=i[t]);1===i.children?.length&&"paragraph"===i.children[0].type&&(i.children=i.children[0].children);const o={type:"element",tagName:n,properties:e,children:t.all(i)};t.patch(i,o),r.push(o),bi(o,(t=>"code"===t.tagName?yi:("text"===t.type&&(t.value=t.value.replace(/\r?\n/gm," ")),mi)))}const i={type:"element",tagName:"tr",children:r,properties:{}};return t.patch(e,i),i}function pM(t,e,n){const r=[];for(const i of e.children)i.type===EA&&r.push(dM(t,i,n));return r}function mM(t={}){const{noHeader:e}=t;return function(t,n){let r,i=[],o=[],a=[];for(const e of n.children)e.type===wA?i=pM(t,e,"th"):e.type===bA?o=pM(t,e,"td"):e.type===vA?a=pM(t,e,"td"):e.type===EA&&o.push(dM(t,e,"td"));e&&0===a.length?r=[...i,...o]:(r=[],i.length&&r.push({type:"element",tagName:"thead",children:i,properties:{}}),o.length&&r.push({type:"element",tagName:"tbody",children:o,properties:{}}),a.length&&r.push({type:"element",tagName:"tfoot",children:a,properties:{}}));const s={type:"element",tagName:"table",children:r,properties:{}};return t.patch(n,s),s}}function gM(t={}){const e=this.data();function n(t,n){e[t]?e[t].push(n):e[t]=[n]}const r={processor:this,...t};n("micromarkExtensions",SA),n("fromMarkdownExtensions",function(t={}){return{enter:{[yA]:UA,[wA]:HA,[bA]:HA,[vA]:HA,[_A]:zA,[MA]:WA,[AA]:GA},exit:{[yA]:jA(t),[wA]:YA,[bA]:YA,[vA]:YA,[_A]:qA,[AA]:VA}}}(r)),n("toMarkdownExtensions",{unsafe:[{character:"|",inConstruct:_A},{character:"+",inConstruct:_A}],handlers:{text:nM,gridTable:uM,inlineCode:fM,code:hM}})}function yM(t){return(e,n)=>({type:t,children:e.all(n)})}function wM(t,e,n){const r={align:"align",valign:"valign",rowspan:"rowSpan",colspan:"colSpan"};"th"===e.tagName&&(n.hasHeaderCell=!0);const i={};if(e.properties)for(const[t,n]of Object.entries(e.properties)){const e=t.toLowerCase();e in r&&(i[r[e]]=n)}return{type:_A,children:t.all(e),...i}}hM.peek=JA;const bM={table:function(t,e){let n=t.all(e);if(!n.find((({type:t})=>t===wA))){const t=[],e=[],r=n=>{n.hasHeaderCell?t.push(n):e.push(n),delete n.hasHeaderCell};for(const t of n)t.type===EA?r(t):t.children.forEach(r);n=[],t.length&&n.push({type:wA,children:t}),e.length&&n.push({type:bA,children:e})}return{type:yA,children:n}},thead:yM(wA),tbody:yM(bA),tfoot:yM(vA),tr:function(t,e){return{type:EA,children:t.all(e),hasHeaderCell:e.hasHeaderCell}},td:wM,th:wM};class vM{static async asyncForEach(t,e){for(let n=0;n<t.length;n+=1)await e(t[n],n,t)}}class EM{static EMPTY_TAGS_TO_PRESERVE=["img","video","iframe","div","picture"];static fragment(t,e){const n=t.createElement("template");return n.innerHTML=e,n.content}static reviewInlineElement(t,e){let n=[...t.querySelectorAll(e)];for(let t=n.length-1;t>=0;t-=1){const e=n[t];""!==e.textContent||e.querySelector(EM.EMPTY_TAGS_TO_PRESERVE.join(","))?e.innerHTML=e.innerHTML.replace(/&nbsp;/gm," "):e.remove()}n=[...t.querySelectorAll(e)];for(let t=n.length-1;t>=0;t-=1){const r=n[t];if(r.nextSibling&&" "===r.nextSibling.textContent){const t=r.nextSibling.nextSibling;t&&t.tagName&&t.tagName.toLowerCase()===e&&(r.nextSibling.remove(),r.innerHTML=`${r.innerHTML} `)}}n=[...t.querySelectorAll(e)];for(let r=n.length-1;r>=0;r-=1){const i=n[r];if("."===i.innerHTML||". "===i.innerHTML||":"===i.innerHTML||": "===i.innerHTML)i.replaceWith(EM.fragment(t,i.innerHTML));else{const{innerHTML:t}=i;if(i.previousSibling){const n=i.previousSibling;!n.tagName||n.tagName.toLowerCase()!==e||n.href&&n.href!==i.href||(i.hasChildNodes()?[...i.childNodes].forEach((t=>{n.append(t)})):n.append(t),i.remove())}}}n=[...t.querySelectorAll(e)];for(let e=n.length-1;e>=0;e-=1){const r=n[e];let{innerHTML:i}=r;i&&(i.lastIndexOf(" ")===i.length-1&&(r.innerHTML=i.slice(0,i.length-1),({innerHTML:i}=r),r.after(EM.fragment(t,"<span> </span>"))),0===i.indexOf(" ")&&(r.innerHTML=i.slice(1),r.before(EM.fragment(t,"<span> </span>"))))}}static reviewParagraphs(t){const e=[...t.querySelectorAll("p")];for(let t=e.length-1;t>=0;t-=1){const n=e[t];""!==n.textContent&&" "!==n.textContent&&"&nbsp;"!==n.textContent&&(160!==n.textContent.charCodeAt(0)||1!==n.textContent.length)||n.querySelector(EM.EMPTY_TAGS_TO_PRESERVE.join(","))?n.innerHTML=n.innerHTML.replace(/&nbsp;/gm," "):n.remove()}}static reviewHeadings(t){const e=[...t.querySelectorAll("h1, h2, h3, h4, h5, h6")];for(let t=e.length-1;t>=0;t-=1){const n=e[t];n.innerHTML=n.innerHTML.replace(/<strong>|<\\strong>/gm,""),""===n.innerHTML&&n.remove()}}static remove(t,e){e.forEach((e=>{t.querySelectorAll(e).forEach((t=>t.remove()))}))}static removeComments(t){t.body.innerHTML=t.body.innerHTML.replace(/(>\s*)<!--(?!>)[\S\s]*?-->/gm,"$1").replace(/<!--(?!>)[\S\s]*?-->/gm,"")}static removeSpans(t){t.querySelectorAll("span").forEach((e=>{e.querySelector("img")||0!==e.classList.length||e.id||e.getAttribute("style")||(""===e.textContent?e.remove():e.replaceWith(EM.fragment(t,e.innerHTML)))}))}static replaceByCaptions(t,e){e.forEach((e=>{t.querySelectorAll(e).forEach((e=>{const n=e.textContent.trim();e.parentNode.insertBefore(EM.fragment(t,`<p><em>${n}</em></p>`),e),e.remove()}))}))}static createTable(t,e){const n=e.createElement("table");let r=0;return t.forEach(((t,i)=>{const o=e.createElement("tr");r=Math.max(r,t.length),t.forEach((t=>{const n=e.createElement(0===i?"th":"td");"string"==typeof t?n.innerHTML=t:Array.isArray(t)?n.append(...t):n.append(t),o.appendChild(n)})),n.appendChild(o)})),n.querySelectorAll("tr").forEach((t=>{const e=Array.from(t.querySelectorAll("td, th"));e.length<r&&e[e.length-1].setAttribute("colspan",r-e.length+1)})),n}static generateEmbed(t,e){return EM.fragment(t,`<table><tr><th>Embed</th></tr><tr><td><a href="${e}">${e}</a></td></tr></table>`)}static replaceEmbeds(t){t.querySelectorAll("iframe").forEach((e=>{const n=e.getAttribute("src"),r=e.getAttribute("data-src")||n;r&&e.after(EM.generateEmbed(t,r)),e.remove()})),t.querySelectorAll("video").forEach((e=>{let n="Video";e.autoplay&&(n="Animation");const r=EM.fragment(t,`<table><tr><th>${n}</th></tr><tr><td>${e.outerHTML}</td></tr></table>`);e.replaceWith(r)}))}static removeNoscripts(t){return t.replace(/<noscript>((.|\n)*?)<\/noscript>/gm,"")}static encodeImagesForTable(t){t.querySelectorAll("img").forEach((t=>{t.closest("table")&&t.title&&-1!==t.title.indexOf("|")&&(t.title=t.title.replace(/\|/gm,"\\|"))}))}static replaceBackgroundByImg(t,e){const n=EM.getImgFromBackground(t,e);return n?(t.replaceWith(n),n):t}static getImgFromBackground(t,e){const n=t?.getAttribute("style")?.split(";");if(n){n.forEach((e=>{const n=e.split(":"),r=n.shift(),i=n.join(":").trim();if("background-image"===r){const e=i.replace(/\s/g,"").split(",").shift();t.style.backgroundImage=e}}));const r=t.style.backgroundImage;if(r&&"none"!==r.toLowerCase()){const t=r.replace(/url\(/gm,"").replace(/'/gm,"").replace(/"/gm,"").replace(/\)/gm,""),n=e.createElement("img");return n.src=t,n}}return null}static async waitForElement(t,e,n=5e3,r=250){return new Promise(((i,o)=>{const a=new Date,s=setInterval((()=>{e.querySelector(t)?(clearInterval(s),i()):new Date-a>n&&(clearInterval(s),o())}),r)}))}static getDataUrlFromB64Img(t){try{const e=t.split(","),n=e[0].split(":")[1],r=atob(e[1]),i=new Uint8Array(r.length);for(let t=0;t<r.length;t+=1)i[t]=r.charCodeAt(t);const o=new Blob([i],{type:n});return URL.createObjectURL(o)}catch(e){return console.error(`get data url from a base64 image (${t}):`,e),null}}}class _M{static sanitizeFilename(t){return t?decodeURIComponent(t).toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,""):""}static sanitizePath(t){if(!t)return"";const e=t.split(".").pop(),n=e!==t?t.substring(0,t.lastIndexOf(".")):t;let r="";return n.split("/").forEach((t=>{""!==t&&(r+=`/${_M.sanitizeFilename(t)}`)})),e!==t&&(r+=`.${e}`),r}}class AM{static replaceSrcInMarkdown=(t,e,n)=>decodeURI(e)!==e?t.replace(new RegExp(`\\(${decodeURI(e).replace(".","\\.")}\\)`,"gm"),`(${n})`):t.replace(new RegExp(`\\(${e.replace(".","\\.").replace("?","\\?")}\\)`,"gm"),`(${n})`);static cleanupMarkdown(t){let e=t;if(e){for(let t=0;t<20;t+=1){let n=`${t}`;t<10&&(n=`0${t}`);const r=String.fromCodePoint(parseInt(`00${n}`,16)),i=new RegExp(`\\u00${n}`,"g"),o=[r.length].map((()=>" ")).join("");e=e.replace(i,o)}e=e.replace(/\u00A0/gm," ")}return e}}function MM(t){const e=`<${t}>`,n=`</${t}>`;return(t,r,i,o)=>{const a=i.enter("html"),s=i.createTracker(o);let l=s.move(e);return l+=s.move(i.containerPhrasing(t,{before:l,after:e,...s.current()})),l+=s.move(n),a(),l}}function TM(t){const e=this.data();!function(t,n){e[t]?e[t].push(n):e[t]=[n]}("toMarkdownExtensions",{handlers:{subscript:MM("sub"),superscript:MM("sup"),underline:MM("u")}})}class xM{static createDocumentFromString(t){try{return(new DOMParser).parseFromString(t,"text/html")}catch(t){throw new Error("Unable to parse HTML using default createDocumentFromString function and global DOMParser. Please provide a custom createDocumentFromString.")}}}function SM(t,e,n){const r={type:t,children:e.all(n)};return e.patch(n,r),r}class kM{params;logger;useCache;constructor(t){this.params=t,this.params.createDocumentFromString||(this.params.createDocumentFromString=xM.createDocumentFromString),this.logger=t.logger||console,this.useCache=!!t.cache}async convertToDocx(t,e){const n=await async function(t,e){const n=C().use(Bw,{position:!1}).use(wv).use(gA).use(gM).parse(t);return function(t){const e=new Map;bi(t,((t,n,r)=>("definition"===t.type&&e.set(t.identifier,{node:t,parent:r,refCount:0}),mi))),bi(t,(t=>{if("imageReference"===t.type||"linkReference"===t.type){const{identifier:n}=t,r=e.get(n);r&&(r.refCount+=1,t.url=r.node.url,r.node.title&&(t.title=r.node.title),t.type="imageReference"===t.type?"image":"link",delete t.identifier,delete t.referenceType)}return mi}));for(const t of e.values())if(t.refCount){const e=t.parent.children.indexOf(t.node);t.parent.children.splice(e,1)}}(n),Zg(n,e)}(e,{log:this.logger,...this.params.mdast2docxOptions});return this.params.storageHandler.put(t,n)}async createMarkdown(t,e){const{name:n}=t,{directory:r}=t,o=_M.sanitizeFilename(n);this.logger.log(`Computing Markdown for ${r}/${o}`);const a=t.document.innerHTML,s=Uo(await C().use(Ir,{emitParseErrors:!0}).parse(a),{handlers:{...So,u:(t,e)=>SM("underline",t,e),sub:(t,e)=>SM("subscript",t,e),sup:(t,e)=>SM("superscript",t,e),...bM}});var l;await function(t,e={}){const{imageHandling:n="after"}=e;return bi(t,((t,e,r)=>{const{children:i=[]}=r||{},{children:o=[]}=t;let a=e+1;if("heading"===t.type){for(let t=0;t<o.length;t+=1){const r=o[t];if("image"===r.type){const s={type:"paragraph",children:[r]};o.splice(t,1),t-=1,t<0&&"after"!==n||"before"===n?(i.splice(e,0,s),e+=1,a+=1):(i.splice(a,0,s),a+=1)}}for(;"break"===o[0]?.type;)o.shift();let t=o.length-1;for(;"break"===o[t]?.type;)o.pop(),t-=1;for(let t=0;t<o.length;t+=1)"break"===o[t].type&&(o[t]={type:"html",value:"<br>"});return o.length||(i.splice(e,1),e-=1),e+1}return e+1})),t}(s),await function(t){return bi(t,((t,e,n)=>{const{children:r=[]}=t;if("link"===t.type&&1===r.length){const[i]=r;if("emphasis"===i.type||"strong"===i.type||"delete"===i.type){for(let t=1;t<i.children.length;t+=1)"text"===i.children[t].type&&"text"===i.children[t-1].type&&(i.children[t-1].value+=i.children[t].value,i.children.splice(t,1),t-=1);t.children=i.children,n.children[e]=i,i.children=[t];const r=function(t,e){if(!t)throw new Error("unist-util-find requires a tree to search");if(!e)throw new Error("unist-util-find requires a condition");const n=bv(e);let r;return bi(t,(function(t){if(n(t))return r=t,!1})),r}(t,(t=>"text"===t.type));if(r){const t=r.value.trimEnd();t!==r.value&&(r.value=t,n.children.splice(e+1,0,{type:"text",value:" "}))}}}else if("link"===t.type&&r.length>1){for(;"break"===r[0]?.type;){const t=r.shift();n.children.splice(e,0,t),e+=1}let t=r.length-1;for(;"break"===r[t]?.type;){const i=r.pop();n.children.splice(e+1,0,i),t-=1}for(let t=0;t<r.length;t+=1)"break"===r[t].type&&(r[t]={type:"html",value:"<br>"});return e+1}return mi})),t}(s),await xv(s),await(l=s,bi(l,((t,e,n)=>{const{children:r}=n||{};return"text"!==t.type||0!==e&&"break"!==r[e-1].type||!t.value.startsWith("    ")||(t.value=t.value.replace(/^\s+/," ")),mi})),l),await function(t){const e=new Map,n=[];return bi(t,(t=>{if("image"===t.type){const{url:r,alt:i="",title:o=""}=t,a=`${r}\n${o}`;let s=e.get(a);if(!s){s=`image${e.size}`,e.set(a,s);const t={type:"definition",identifier:s,url:r};o&&(t.title=o.replace(/[\r\n ]+/gm," ").trim()),n.push(t)}delete t.title,t.type="imageReference",t.identifier=s,t.referenceType="full",t.alt=i.replace(/[\r\n ]+/gm," ").trim()}return mi})),t.children.push(...n),t}(s);let c=await C().use(La,{strong:"*",emphasis:"_",bullet:"-",fence:"`",fences:!0,incrementListMarker:!0,rule:"-",ruleRepetition:3,ruleSpaces:!1}).use(gM).use(Sv).use(TM).stringify(s);const{document:u}=t,h=[];return u.querySelectorAll("img").forEach((t=>{const{src:e}=t;t.classList.contains("hlx-embed")||!e||""===e||-1===c.indexOf(e)&&-1===c.indexOf(decodeURI(e))||h.push({url:e,append:"#image.png"})})),u.querySelectorAll("a").forEach((t=>{const{href:n}=t;try{if(n&&""!==n&&-1!==c.indexOf(n)||-1!==c.indexOf(decodeURI(n))){const t=new URL(n,e);".mp4"===i.extname(t.href)&&h.push({url:n,append:"#image.mp4"})}}catch(t){this.logger.warn(`Invalid link in the page - ${n}`,t)}})),u.querySelectorAll("video source").forEach((t=>{const{src:n}=t;if(n&&""!==n&&-1!==c.indexOf(n)||-1!==c.indexOf(decodeURI(n)))try{const r=new URL(n,e);if(".mp4"===i.extname(r.href)){const e=t.parentNode.getAttribute("poster");e&&h.push({url:e}),h.push({url:n,append:"#image.mp4"})}}catch(t){this.logger.warn(`Invalid video in the page: ${n}`,t)}})),h.forEach((t=>{const n=new URL(decodeURI(t.url),e);c=AM.replaceSrcInMarkdown(c,t.url,n.toString())})),t.prepend&&(c=t.prepend+c),c=this.postProcessMD(c),{path:i.join(r,o),content:c}}cleanup(t){EM.remove(t,["script","hr"]),EM.removeComments(t),EM.removeSpans(t)}preProcess(t){this.cleanup(t),EM.reviewHeadings(t),EM.reviewParagraphs(t),["b","a","big","code","em","i","label","s","small","strong","sub","sup","u","var"].forEach((e=>EM.reviewInlineElement(t,e)));const e=[];t.querySelectorAll("u > a, u > span > a").forEach((t=>{const n=t.closest("u");n.before(t),e.push(n)})),e.forEach((t=>t.remove())),t.querySelectorAll("img").forEach((t=>{let e=t.getAttribute("src");const n=t.getAttribute("data-src");if(!e&&n&&t.setAttribute("src",n),n&&e&&0===e.indexOf("data:")&&t.setAttribute("src",n),e=t.getAttribute("src"),!e||0===e.indexOf("data:")){const e=EM.getDataUrlFromB64Img(t.src);e?t.setAttribute("src",e):t.remove()}const r=t.getAttribute("alt"),i=t.getAttribute("title");i&&i===r&&t.removeAttribute("title")}))}postProcess(t){EM.encodeImagesForTable(t)}postProcessMD(t){return AM.cleanupMarkdown(t)}async download(t){const e=e=>i.resolve(e,`${new URL(t).pathname.replace(/^\/+|\/+$/g,"").replace(/\//gm,"_")}.html`);if(this.useCache){const t=e(this.params.cache);if(await Pa.exists(t))return Pa.readFile(t)}const n=await this.fetch(t);if(n.ok){const t=await n.text();if(this.useCache){const n=e(this.params.cache);await Pa.mkdirs(i.dirname(n)),await Pa.writeFile(n,t)}return t}throw this.logger.error(`${t}: Invalid response`,n),new Error(`${t}: Invalid response - ${n.statusText}`)}async get(t){const e=await this.download(t);if(e){const t=EM.removeNoscripts(e.toString());return{document:this.params.createDocumentFromString(t),html:e}}return null}async import(t,e){const n=(new Date).getTime(),{document:r,html:i}=await this.get(t),o=[];if(r){this.preProcess(r);const n=await this.process(r,t,e,i);this.postProcess(r),n&&await vM.asyncForEach(n,(async e=>{if(e.document){const n=await this.createMarkdown(e,t);if(e.source=t,e.path=n.path,e.markdown=n.content,!this.params.skipMDFileCreation){const t=`${n.path}.md`;await this.params.storageHandler.put(t,n.content),this.logger.log(`MD file created: ${t}`),e.md=t}if(!this.params.skipDocxConversion){const t=`${n.path}.docx`;await this.convertToDocx(t,n.content),e.docx=t}}o.push(e)}))}return this.logger.log(""),this.logger.log(`${t}: Process took ${((new Date).getTime()-n)/1e3}s.`),o}fetch(){}process(){}}function CM(t,e){const n=t&&t.includes(":")?"property":"name";return[...e.head.querySelectorAll(`meta[${n}="${t}"]`)].map((t=>t.content)).join(", ")||""}n(9887);class DM{static createBlock(t,{name:e,variants:n=[],cells:r}){const i=n.length?[`${DM.computeBlockName(e)} (${n.join(", ")})`]:[DM.computeBlockName(e)];let o=r;return Array.isArray(r)||(o=Object.entries(r).map((([e,n])=>{let r=[];return r=Array.isArray(n)?n.map((e=>{const n=t.createElement("p");return n.innerHTML=e,n})):[n],[e,r]}))),EM.createTable([i,...o],t)}static getMetadataBlock(t,e){return DM.createBlock(t,{name:"Metadata",cells:e})}static getMetadata(t){const e={},n=t.querySelector("title");n&&(e.Title=n.textContent.replace(/[\n\t]/gm,""));const r=CM("description",t);r&&(e.Description=r);const i=CM("og:image",t);if(i){const n=t.createElement("img");n.src=i,e.Image=n;const r=CM("og:image:alt",t);r&&(n.alt=r)}const o=CM("og:title",t);o&&o!==e.Title&&(e.Title?e["og:title"]=o:e.Title=o);const a=CM("og:description",t);a&&a!==e.Description&&(e.Description?e["og:description"]=a:e.Description=a);const s=CM("twitter:title",t);s&&s!==e.Title&&(e.Title?e["twitter:title"]=s:e.Title=s);const l=CM("twitter:description",t);l&&l!==e.Description&&(e.Description?e["twitter:description"]=l:e.Description=l);const c=CM("twitter:image",t);if(c&&c!==i){const n=t.createElement("img");n.src=c,e["twitter:image"]=n;const r=CM("twitter:image:alt",t);r&&(n.alt=r)}return e}static computeBlockName(t){return t.replace(/-/g," ").replace(/\s(.)/g,(t=>t.toUpperCase())).replace(/^(.)/g,(t=>t.toUpperCase()))}static convertBlocksToTables(t,e){t.querySelectorAll("main > div:nth-child(4) > div[class]").forEach((t=>{const n=[[DM.computeBlockName(t.className)]],r=t.querySelectorAll(":scope > div");r&&r.forEach((t=>{const e=t.querySelectorAll(":scope > div");if(e&&e.length>0){const t=[];e.forEach((e=>{if("DIV"===e.nodeName){const n=[];Array.from(e.childNodes).forEach((t=>n.push(t))),t.push(n)}})),n.push(t)}else n.push([t.innerHTML])}));const i=EM.createTable(n,e);t.replaceWith(i)}))}}n(1072);class IM{static async waitForElement(t,e,n=5e3,r=250){return new Promise(((i,o)=>{const a=new Date,s=setInterval((()=>{e.querySelector(t)?(clearInterval(s),i()):new Date-a>n&&(clearInterval(s),o())}),r)}))}}class RM{document;name;directory;prepend;extra;constructor(t,e,n,r,i){this.name=t,this.directory=e,this.document=n,this.prepend=r,this.extra=i}}class NM{storage={};logger;constructor(t){this.logger=t||console}async put(t,e){this.logger.log("MemoryHandler#put",t,e),this.storage[t]=e}async get(t){return this.logger.log("MemoryHandler#get",t),this.storage[t]}async exists(t){return this.logger.log("MemoryHandler#exists",t),!!this.storage[t]}}function OM(t,e){const n=DM.getMetadata(e);if(Object.keys(n).length>0){const r=DM.getMetadataBlock(e,n);t.append(r)}return n}function LM(t,e,n){[...t.querySelectorAll("img")].forEach((t=>{const r=t.getAttribute("src");if(r)try{if(r.startsWith("./")||r.startsWith("/")||r.startsWith("../")){const n=new URL(r,e);t.src=n.toString()}else if(n){const i=new URL(r),o=new URL(n);if(i.host===o.host){const n=new URL(e),r=new URL(`${i.pathname}${i.search}${i.hash}`,`${n.protocol}//${n.host}`);t.src=r.toString()}}}catch(e){console.log(`Unable to adjust image URL ${t.src} - removing image`),t.remove()}}))}function PM(t,e){[...t.querySelectorAll("img")].forEach((t=>{const n=t.getAttribute("src");if(n&&n.endsWith(".svg")){const r=e.createElement("span"),i=n.split("/").pop().split(".")[0].toLowerCase().trim().replace(/[^a-z0-9]/g,"-");i&&(r.innerHTML=`:${i}:`,t.replaceWith(r))}}))}function FM(t,e){[...t.querySelectorAll('[style*="background-image: url"]')].forEach((t=>{const n=EM.getImgFromBackground(t,e);t.prepend(n),t.style.removeProperty("background-image")}))}async function BM({url:t,document:e,html:n,params:r={}}){const i=e.body;return EM.remove(i,["header",".header","nav",".nav","footer",".footer","iframe","noscript"]),OM(i,e),FM(i,e),LM(i,t,r.originalURL),PM(i,e),i}async function UM({url:t,document:e,html:n,params:r}){let i=new URL(t).pathname;return i.endsWith("/")&&(i=`${i}index`),decodeURIComponent(i).toLowerCase().replace(/\.html$/,"").replace(/[^a-z0-9/]/gm,"-")}async function jM(t,e,n,r={toMd:!0,toDocx:!1},o={}){const a=n||{};a.transform||(a.transformDOM||(a.transformDOM=BM),a.generateDocumentPath||(a.generateDocumentPath=UM)),a.preprocess&&await a.preprocess({url:t,document:e,html:e.documentElement.outerHTML,params:o}),!1!==r.setBackgroundImagesFromCSS&&function(t){const e=t.querySelectorAll("body, header, footer, div, span, section, main"),n=t.defaultView?.getComputedStyle;n&&e.forEach((t=>{const e=n(t);e["background-image"]&&"none"!==e["background-image"].toLowerCase()&&(t.style["background-image"]=e["background-image"])}))}(e);const s=e.documentElement.outerHTML,l={debug:()=>{},info:()=>{},log:()=>{},warn:(...t)=>console.warn(...t),error:(...t)=>console.error(...t)},c=new NM(l),u=new class extends kM{async get(){return{document:e,html:s}}async process(e){if(a.transform){let n=await a.transform({url:t,document:e,html:s,params:o});if(!n)return null;const r=[];return Array.isArray(n)||(n=[n]),n.forEach((t=>{const e=i.basename(t.path),n=i.dirname(t.path),o={};t.element?o.html=t.element.outerHTML:t.from&&(o.from=t.from),t.report&&(o.report=t.report);const a=new RM(e,n,t.element,null,o);r.push(a)})),r}{let n=await a.transformDOM({url:t,document:e,html:s,params:o});n=n||e.body;let r=await a.generateDocumentPath({url:t,document:e,html:s,params:o});r||(r=await UM({url:t,document:e}));const l=i.basename(r),c=i.dirname(r);return[new RM(l,c,n,null,{html:n.outerHTML})]}}}({storageHandler:c,skipDocxConversion:!r.toDocx,skipMDFileCreation:!r.toMd,logger:l,mdast2docxOptions:{stylesXML:r.docxStylesXML,image2png:r.image2png},createDocumentFromString:r.createDocumentFromString}),h=await u.import(t),f=async t=>{const e={};if(t.extra&&t.extra.html&&(e.html=t.extra.html),t.extra.from&&(e.from=t.extra.from),t.extra.report&&(e.report=t.extra.report),e.path=i.resolve(t.directory,t.name),r.toMd&&t.md){const n=await c.get(t.md);e.md=n}if(r.toDocx&&t.docx){const n=await c.get(t.docx);e.docx=n}return e};if(1===h.length)return f(h[0]);{const t=[];return await vM.asyncForEach(h,(async e=>{t.push(await f(e))})),t}}const HM=(t,e)=>e?.createDocumentFromString?e.createDocumentFromString(t):xM.createDocumentFromString(t),zM={createMetadata:OM,adjustImageUrls:LM,convertIcons:PM,transformBackgroundImages:FM};function qM(t,{params:{cells:e}}){let n=e;return"string"==typeof e&&(n=[...t.querySelectorAll(e)]),Array.isArray(n)?WebImporter.CellUtils.buildBlockCells(t,n):"object"==typeof n?WebImporter.CellUtils.buildBlockConfig(t,n):[]}function WM(t,e,n=null){let r=n;Number.isInteger(n)&&(r=t=>t===n);let i="";const o=[];t.querySelectorAll("*").forEach((t=>{const n=function(t,e,n=!1){const r=e.getElementsByTagName("*"),i=[];for(;t&&1===t.nodeType;t=t.parentNode)if(n)if(t.hasAttribute("id")){let e=0;for(let n=0;n<r.length&&(r[n].hasAttribute("id")&&r[n].id===t.id&&e++,!(e>1));n++);if(1===e)return i.unshift(`id("${t.getAttribute("id")}")`),i.join("/");i.unshift(`${t.localName.toLowerCase()}[@id="${t.getAttribute("id")}"]`)}else t.hasAttribute("class")&&i.unshift(`${t.localName.toLowerCase()}[@class="${[...t.classList].join(" ").trim()}"]`);else{let e,n=1;for(e=t.previousSibling;e;e=e.previousSibling)e.localName===t.localName&&(n+=1);i.unshift(`${t.localName.toLowerCase()}[${n}]`)}return i.length?`/${i.join("/")}`:null}(t,e),r=n.substring(0,n.lastIndexOf("["));o[r]?o[r].push(t):o[r]=[t]}));for(const t in o)if(r(o[t].length)){i=t;break}return!i&&r(t.children.length)?[...t.children]:o[i]||null}const GM={metadata:function(t,{document:e,params:{cells:n={}}}){const r={...WebImporter.Blocks.getMetadata(e)||{},...qM(e,{params:{cells:n}})};return Object.entries(r).forEach((([t,e])=>{if("Image"===t){const[t]=e.src.split(",");e.src=t}(function(t){if("string"!=typeof t)return!1;const e=new Date(t);return!Number.isNaN(Number(e))})(e)&&(r[t]=new Date(e).toISOString().slice(0,10))})),r},columns:function(t,{document:e,params:{cells:n}}){return t.querySelectorAll("script, style").forEach((t=>t.remove())),t.querySelectorAll("div").forEach((t=>{t.querySelector("img, svg, iframe")||0!==t.textContent.replaceAll("\n","").trim().length||t.remove()})),n?qM(t,{params:{cells:n}}):[WM(t,e,(t=>t>1))]},carousel:function(t,{params:{cells:e}}){const n=qM(t,{params:{cells:e}})||[],r=t.querySelectorAll("img");if(1===r.length&&0===r[0].children.length)return[[r[0]]];const i=function(t){if(0===t.length)return null;if(1===t.length)return t[0];const e=document.createRange();return e.setStart(t[0],0),e.setEnd(t[t.length-1],t[t.length-1].childNodes.length),e.commonAncestorContainer}(r),o=[...r].map((t=>{const e=[...[...i.children].find((e=>e.contains(t))).children].filter((e=>!e.contains(t)));return[t,e]}));return[...n,...o]},text:function(t){let e=[...t.childNodes].map((t=>{let e="";return t.nodeType===Node.TEXT_NODE?(e=t.textContent.trim(),0===e.length?null:[e]):null})).filter((t=>t));return 0===e.length&&(e=[...t.children].map((t=>{const e=t.innerText.trim();return e.length>0?[e]:null})).filter((t=>t))),e},block:qM},KM=GM;var YM=n(2838);const VM="::text",XM=/\{\{(.+?)}}/g,ZM=/\[([^=]*?)]$/;function $M(t){try{return document.querySelector(t),!0}catch(t){return!1}}function QM(t){return ZM.test(t)}function JM(t,e){const{useText:n,childIndex:r,useSiblingText:i,selector:o}=e,[,a]=o.match(ZM)||[];if(!n&&a)return t.getAttribute(a);if(r&&!Number.isNaN(r)){const e=[...t.childNodes].filter((t=>t.nodeType===Node.TEXT_NODE));return e[r-1]?.textContent||""}return i?t.nextSibling.textContent:t.textContent||t.content||""}function tT(t,e,n={}){if(!e)return;let r=e;return Array.isArray(r)||(r=[r]),r.map((e=>{const{selector:r,useText:i,...o}=function(t=""){const e=new RegExp(`${VM}(?::nth-child\\((?<nthChild>\\d+)\\))?$`),n=e.test(t),[,r]=t.match(e)||[];let i=t.replace(e,"");const o=n&&i.endsWith("+ ");return i=i.replace(/\+ \*$/,""),{selector:i.trim(),useText:n,useSiblingText:o,childIndex:parseInt(r,10)}}(e),a=r;if(a&&$M(a)){let e=[...t.querySelectorAll(a)].map((t=>{if(0===t.childNodes.length||i||QM(a)||n.replace){let e=JM(t,{useText:i,...o,selector:a});const{replace:r,split:s}=n;if(r){const[t,n=""]=r;e=e.replace(new RegExp(t),n).trim()}if(s){const[t,n=0]=s,r=e.split(t).filter((t=>t));r.length>n&&(e=r[n])}return e?e.replace(/^\s+|\s+$/g,""):e}return t}));return e.length<=1&&([e=a]=e),e}let s=e.replace(XM,((e,n)=>{const r=n.trim();if($M(r)){const e=t.querySelector(r);return QM(r)?JM(e,{selector:r}):e?.innerHTML||""}return r}));return s=YM.sanitize(s),t.ownerDocument.createRange().createContextualFragment(s)}))}class eT{static buildBlockConfig(t,e){const n={};return Object.entries(e).forEach((([e,r])=>{let i=r,o={};if(Array.isArray(r)){const[,e,n]=r.find((([e])=>t.querySelector(e)))||[];i=e,o=n||{}}const a=tT(t,i,o);if(void 0!==a){const r=(t.ownerDocument||t).createElement("p");r.append(...a),n[e]=r}})),n}static buildBlockCells(t,e){return e.map((e=>{return n=e,("object"==typeof HTMLElement?n instanceof HTMLElement:n&&"object"==typeof n&&1===n.nodeType&&"string"==typeof n.nodeName)?[e]:Array.isArray(e)?e.map((e=>tT(t,e))):tT(t,e);var n})).filter((t=>t.some((t=>Array.isArray(t)?t.length>0:t))))}static isEmpty(t){return Array.isArray(t)?0===t.length:"object"==typeof t&&null!==t&&0===Object.keys(t).length}static isValidCSSSelector(t){return $M(t)}static isTextSelector(t=""){return t.includes(VM)||!1}static getSearchSelector(t=""){const[,e]=t.match(new RegExp(`${VM}\\((.*?)\\)`));return{selector:t.replace(new RegExp(`${VM}\\((.*)\\)`),"").trim(),search:e}}}const nT=["style","source","script","noscript","iframe"];function rT(t,e=[]){WebImporter.DOMUtils.remove(t,e.filter((t=>!eT.isTextSelector(t)))),e.filter(eT.isTextSelector).forEach((e=>{const{selector:n,search:r}=eT.getSearchSelector(e);[...t.querySelectorAll(n)].flatMap((t=>[...t.childNodes])).filter((t=>t.nodeType===Node.TEXT_NODE&&t.textContent.trim()===r)).forEach((t=>t.remove()))}))}class iT{static transform(t,e){const{document:n}=e,{root:r="main",cleanup:{ignore:i=nT,start:o=[],end:a=[]},blocks:s=[]}=t,l=n.querySelector(r)||n.body;return rT(l,o),s.forEach((t=>{const{type:r,variants:i,selectors:o,parse:a,insertMode:s="replace",params:c={}}=t,u=a||KM[r]||KM.block;((o?o.filter(eT.isValidCSSSelector):[]).length?o.reduce(((t,e)=>[...t,...l.querySelectorAll(e)]),[]):[l]).forEach((t=>{const o={...e.params,...c};let a=u.call(this,t,{...e,params:o});if(Array.isArray(a)&&(a=a.filter((t=>t))),!eT.isEmpty(a)){const e=WebImporter.Blocks.createBlock(n,{name:WebImporter.Blocks.computeBlockName(r),variants:i,cells:a});e&&("append"===s?l.append(e):"prepend"===s?l.prepend(e):t.replaceWith(e))}}))})),rT(l,a),WebImporter.DOMUtils.remove(l,i),l}}function oT(t,e){const n=[{type:"text",value:"↩"}];return e>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(e)}]}),n}function aT(t,e){return"Back to reference "+(t+1)+(e>1?"-"+e:"")}function sT(t,e){const n=e.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(e.label||e.identifier)+"]"),"imageReference"===e.type)return[{type:"text",value:"!["+e.alt+r}];const i=t.all(e),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift({type:"text",value:"["});const a=i[i.length-1];return a&&"text"===a.type?a.value+=r:i.push({type:"text",value:r}),i}function lT(t){const e=t.spread;return null==e?t.children.length>1:e}const cT=9,uT=32;function hT(t){const e=String(t),n=/\r?\n|\r/g;let r=n.exec(e),i=0;const o=[];for(;r;)o.push(fT(e.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(e);return o.push(fT(e.slice(i),i>0,!1)),o.join("")}function fT(t,e,n){let r=0,i=t.length;if(e){let e=t.codePointAt(r);for(;e===cT||e===uT;)r++,e=t.codePointAt(r)}if(n){let e=t.codePointAt(i-1);for(;e===cT||e===uT;)i--,e=t.codePointAt(i-1)}return i>r?t.slice(r,i):""}const dT={blockquote:function(t,e){const n={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(e),!0)};return t.patch(e,n),t.applyData(e,n)},break:function(t,e){const n={type:"element",tagName:"br",properties:{},children:[]};return t.patch(e,n),[t.applyData(e,n),{type:"text",value:"\n"}]},code:function(t,e){const n=e.value?e.value+"\n":"",r={};e.lang&&(r.className=["language-"+e.lang]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return e.meta&&(i.data={meta:e.meta}),t.patch(e,i),i=t.applyData(e,i),i={type:"element",tagName:"pre",properties:{},children:[i]},t.patch(e,i),i},delete:function(t,e){const n={type:"element",tagName:"del",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},emphasis:function(t,e){const n={type:"element",tagName:"em",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},footnoteReference:function(t,e){const n="string"==typeof t.options.clobberPrefix?t.options.clobberPrefix:"user-content-",r=String(e.identifier).toUpperCase(),i=kA(r.toLowerCase()),o=t.footnoteOrder.indexOf(r);let a,s=t.footnoteCounts.get(r);void 0===s?(s=0,t.footnoteOrder.push(r),a=t.footnoteOrder.length):a=o+1,s+=1,t.footnoteCounts.set(r,s);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};t.patch(e,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return t.patch(e,c),t.applyData(e,c)},heading:function(t,e){const n={type:"element",tagName:"h"+e.depth,properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},html:function(t,e){if(t.options.allowDangerousHtml){const n={type:"raw",value:e.value};return t.patch(e,n),t.applyData(e,n)}},imageReference:function(t,e){const n=String(e.identifier).toUpperCase(),r=t.definitionById.get(n);if(!r)return sT(t,e);const i={src:kA(r.url||""),alt:e.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);const o={type:"element",tagName:"img",properties:i,children:[]};return t.patch(e,o),t.applyData(e,o)},image:function(t,e){const n={src:kA(e.url)};null!==e.alt&&void 0!==e.alt&&(n.alt=e.alt),null!==e.title&&void 0!==e.title&&(n.title=e.title);const r={type:"element",tagName:"img",properties:n,children:[]};return t.patch(e,r),t.applyData(e,r)},inlineCode:function(t,e){const n={type:"text",value:e.value.replace(/\r?\n|\r/g," ")};t.patch(e,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return t.patch(e,r),t.applyData(e,r)},linkReference:function(t,e){const n=String(e.identifier).toUpperCase(),r=t.definitionById.get(n);if(!r)return sT(t,e);const i={href:kA(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);const o={type:"element",tagName:"a",properties:i,children:t.all(e)};return t.patch(e,o),t.applyData(e,o)},link:function(t,e){const n={href:kA(e.url)};null!==e.title&&void 0!==e.title&&(n.title=e.title);const r={type:"element",tagName:"a",properties:n,children:t.all(e)};return t.patch(e,r),t.applyData(e,r)},listItem:function(t,e,n){const r=t.all(e),i=n?function(t){let e=!1;if("list"===t.type){e=t.spread||!1;const n=t.children;let r=-1;for(;!e&&++r<n.length;)e=lT(n[r])}return e}(n):lT(e),o={},a=[];if("boolean"==typeof e.checked){const t=r[0];let n;t&&"element"===t.type&&"p"===t.tagName?n=t:(n={type:"element",tagName:"p",properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:e.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const t=r[s];(i||0!==s||"element"!==t.type||"p"!==t.tagName)&&a.push({type:"text",value:"\n"}),"element"!==t.type||"p"!==t.tagName||i?a.push(t):a.push(...t.children)}const l=r[r.length-1];l&&(i||"element"!==l.type||"p"!==l.tagName)&&a.push({type:"text",value:"\n"});const c={type:"element",tagName:"li",properties:o,children:a};return t.patch(e,c),t.applyData(e,c)},list:function(t,e){const n={},r=t.all(e);let i=-1;for("number"==typeof e.start&&1!==e.start&&(n.start=e.start);++i<r.length;){const t=r[i];if("element"===t.type&&"li"===t.tagName&&t.properties&&Array.isArray(t.properties.className)&&t.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const o={type:"element",tagName:e.ordered?"ol":"ul",properties:n,children:t.wrap(r,!0)};return t.patch(e,o),t.applyData(e,o)},paragraph:function(t,e){const n={type:"element",tagName:"p",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},root:function(t,e){const n={type:"root",children:t.wrap(t.all(e))};return t.patch(e,n),t.applyData(e,n)},strong:function(t,e){const n={type:"element",tagName:"strong",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},table:function(t,e){const n=t.all(e),r=n.shift(),i=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:t.wrap([r],!0)};t.patch(e.children[0],n),i.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:t.wrap(n,!0)},o=Ei(e.children[1]),a=vi(e.children[e.children.length-1]);o&&a&&(r.position={start:o,end:a}),i.push(r)}const o={type:"element",tagName:"table",properties:{},children:t.wrap(i,!0)};return t.patch(e,o),t.applyData(e,o)},tableCell:function(t,e){const n={type:"element",tagName:"td",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)},tableRow:function(t,e,n){const r=n?n.children:void 0,i=0===(r?r.indexOf(e):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,a=o?o.length:e.children.length;let s=-1;const l=[];for(;++s<a;){const n=e.children[s],r={},a=o?o[s]:void 0;a&&(r.align=a);let c={type:"element",tagName:i,properties:r,children:[]};n&&(c.children=t.all(n),t.patch(n,c),c=t.applyData(n,c)),l.push(c)}const c={type:"element",tagName:"tr",properties:{},children:t.wrap(l,!0)};return t.patch(e,c),t.applyData(e,c)},text:function(t,e){const n={type:"text",value:hT(String(e.value))};return t.patch(e,n),t.applyData(e,n)},thematicBreak:function(t,e){const n={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(e,n),t.applyData(e,n)},toml:pT,yaml:pT,definition:pT,footnoteDefinition:pT};function pT(){}const mT={}.hasOwnProperty,gT={};function yT(t,e){t.position&&(e.position=Ai(t))}function wT(t,e){let n=e;if(t&&t.data){const e=t.data.hName,r=t.data.hChildren,i=t.data.hProperties;"string"==typeof e&&("element"===n.type?n.tagName=e:n={type:"element",tagName:e,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&i&&Object.assign(n.properties,jr(i)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function bT(t,e){const n=e.data||{},r=!("value"in e)||mT.call(n,"hProperties")||mT.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:t.all(e)}:{type:"text",value:e.value};return t.patch(e,r),t.applyData(e,r)}function vT(t,e){const n=[];let r=-1;for(e&&n.push({type:"text",value:"\n"});++r<t.length;)r&&n.push({type:"text",value:"\n"}),n.push(t[r]);return e&&t.length>0&&n.push({type:"text",value:"\n"}),n}function ET(t){let e=0,n=t.charCodeAt(e);for(;9===n||32===n;)e++,n=t.charCodeAt(e);return t.slice(e)}function _T(t,e){const n=function(t,e){const n=e||gT,r=new Map,i=new Map,o=new Map,a={...dT,...n.handlers},s={all:function(t){const e=[];if("children"in t){const n=t.children;let r=-1;for(;++r<n.length;){const i=s.one(n[r],t);if(i){if(r&&"break"===n[r-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=ET(i.value)),!Array.isArray(i)&&"element"===i.type)){const t=i.children[0];t&&"text"===t.type&&(t.value=ET(t.value))}Array.isArray(i)?e.push(...i):e.push(i)}}}return e},applyData:wT,definitionById:r,footnoteById:i,footnoteCounts:o,footnoteOrder:[],handlers:a,one:function(t,e){const n=t.type,r=s.handlers[n];if(mT.call(s.handlers,n)&&r)return r(s,t,e);if(s.options.passThrough&&s.options.passThrough.includes(n)){if("children"in t){const{children:e,...n}=t,r=jr(n);return r.children=s.all(t),r}return jr(t)}return(s.options.unknownHandler||bT)(s,t,e)},options:n,patch:yT,wrap:vT};return bi(t,(function(t){if("definition"===t.type||"footnoteDefinition"===t.type){const e="definition"===t.type?r:i,n=String(t.identifier).toUpperCase();e.has(n)||e.set(n,t)}})),s}(t,e),r=n.one(t,void 0),i=function(t){const e="string"==typeof t.options.clobberPrefix?t.options.clobberPrefix:"user-content-",n=t.options.footnoteBackContent||oT,r=t.options.footnoteBackLabel||aT,i=t.options.footnoteLabel||"Footnotes",o=t.options.footnoteLabelTagName||"h2",a=t.options.footnoteLabelProperties||{className:["sr-only"]},s=[];let l=-1;for(;++l<t.footnoteOrder.length;){const i=t.footnoteById.get(t.footnoteOrder[l]);if(!i)continue;const o=t.all(i),a=String(i.identifier).toUpperCase(),c=kA(a.toLowerCase());let u=0;const h=[],f=t.footnoteCounts.get(a);for(;void 0!==f&&++u<=f;){h.length>0&&h.push({type:"text",value:" "});let t="string"==typeof n?n:n(l,u);"string"==typeof t&&(t={type:"text",value:t}),h.push({type:"element",tagName:"a",properties:{href:"#"+e+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,u),className:["data-footnote-backref"]},children:Array.isArray(t)?t:[t]})}const d=o[o.length-1];if(d&&"element"===d.type&&"p"===d.tagName){const t=d.children[d.children.length-1];t&&"text"===t.type?t.value+=" ":d.children.push({type:"text",value:" "}),d.children.push(...h)}else o.push(...h);const p={type:"element",tagName:"li",properties:{id:e+"fn-"+c},children:t.wrap(o,!0)};t.patch(i,p),s.push(p)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...jr(a),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:t.wrap(s,!0)},{type:"text",value:"\n"}]}}(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&o.children.push({type:"text",value:"\n"},i),o}const AT={},MT={}.hasOwnProperty,TT=Ho("type",{handlers:{root:function(t,e){const n={nodeName:"#document",mode:(t.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=ST(t.children,n,e),kT(t,n),n},element:function(t,e){const n=e;let r=n;"element"===t.type&&"svg"===t.tagName.toLowerCase()&&"html"===n.space&&(r=ct);const i=[];let o;if(t.properties)for(o in t.properties)if("children"!==o&&MT.call(t.properties,o)){const e=xT(r,o,t.properties[o]);e&&i.push(e)}const a=r.space,s={nodeName:t.tagName,tagName:t.tagName,attrs:i,namespaceURI:Dt[a],childNodes:[],parentNode:null};return s.childNodes=ST(t.children,s,r),kT(t,s),"template"===t.tagName&&t.content&&(s.content=function(t,e){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=ST(t.children,n,e),kT(t,n),n}(t.content,r)),s},text:function(t){const e={nodeName:"#text",value:t.value,parentNode:null};return kT(t,e),e},comment:function(t){const e={nodeName:"#comment",data:t.value,parentNode:null};return kT(t,e),e},doctype:function(t){const e={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return kT(t,e),e}}});function xT(t,e,n){const r=gt(t,e);if(!1===n||null==n||"number"==typeof n&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?ht(n):vt(n));const i={name:r.attribute,value:!0===n?"":String(n)};if(r.space&&"html"!==r.space&&"svg"!==r.space){const t=i.name.indexOf(":");t<0?i.prefix="":(i.name=i.name.slice(t+1),i.prefix=r.attribute.slice(0,t)),i.namespace=Dt[r.space]}return i}function ST(t,e,n){let r=-1;const i=[];if(t)for(;++r<t.length;){const o=TT(t[r],n);o.parentNode=e,i.push(o)}return i}function kT(t,e){const n=t.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,e.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const CT=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],DT=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),IT={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function RT(t,e){const n=function(t){const e="root"===t.type?t.children[0]:t;return Boolean(e&&("doctype"===e.type||"element"===e.type&&"html"===e.tagName.toLowerCase()))}(t),r=Ho("type",{handlers:{root:OT,element:LT,text:PT,comment:BT,doctype:FT,raw:UT},unknown:jT}),i={parser:n?new An(IT):An.getFragmentParser(void 0,IT),handle(t){r(t,i)},stitches:!1,options:e||{}};r(t,i),HT(i,Ei());const o=Nt(n?i.parser.document:i.parser.getFragment(),{file:i.options.file});return i.stitches&&bi(o,"comment",(function(t,e,n){const r=t;if(r.value.stitch&&n&&void 0!==e)return n.children[e]=r.value.stitch,e})),"root"===o.type&&1===o.children.length&&o.children[0].type===t.type?o.children[0]:o}function NT(t,e){let n=-1;if(t)for(;++n<t.length;)e.handle(t[n])}function OT(t,e){NT(t.children,e)}function LT(t,e){!function(t,e){const n=t.tagName.toLowerCase();if(e.parser.tokenizer.state===xe.PLAINTEXT)return;HT(e,Ei(t));const r=e.parser.openElements.current;let i="namespaceURI"in r?r.namespaceURI:Dt.html;i===Dt.html&&"svg"===n&&(i=Dt.svg);const o=function(t,e){const n=(e||AT).space;return TT(t,"svg"===n?ct:lt)}({...t,children:[]},{space:i===Dt.svg?"svg":"html"}),a={type:Xt.START_TAG,tagName:n,tagID:ve(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in o?o.attrs:[],location:qT(t)};e.parser.currentToken=a,e.parser._processToken(e.parser.currentToken),e.parser.tokenizer.lastStartTagName=n}(t,e),NT(t.children,e),function(t,e){const n=t.tagName.toLowerCase();if(!e.parser.tokenizer.inForeignNode&&CT.includes(n))return;if(e.parser.tokenizer.state===xe.PLAINTEXT)return;HT(e,vi(t));const r={type:Xt.END_TAG,tagName:n,tagID:ve(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:qT(t)};e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken),n!==e.parser.tokenizer.lastStartTagName||e.parser.tokenizer.state!==xe.RCDATA&&e.parser.tokenizer.state!==xe.RAWTEXT&&e.parser.tokenizer.state!==xe.SCRIPT_DATA||(e.parser.tokenizer.state=xe.DATA)}(t,e)}function PT(t,e){e.parser.tokenizer.state>4&&(e.parser.tokenizer.state=0);const n={type:Xt.CHARACTER,chars:t.value,location:qT(t)};HT(e,Ei(t)),e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)}function FT(t,e){const n={type:Xt.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:qT(t)};HT(e,Ei(t)),e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)}function BT(t,e){const n=t.value,r={type:Xt.COMMENT,data:n,location:qT(t)};HT(e,Ei(t)),e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken)}function UT(t,e){if(e.parser.tokenizer.preprocessor.html="",e.parser.tokenizer.preprocessor.pos=-1,e.parser.tokenizer.preprocessor.lastGapPos=-2,e.parser.tokenizer.preprocessor.gapStack=[],e.parser.tokenizer.preprocessor.skipNextNewLine=!1,e.parser.tokenizer.preprocessor.lastChunkWritten=!1,e.parser.tokenizer.preprocessor.endOfChunkHit=!1,e.parser.tokenizer.preprocessor.isEol=!1,zT(e,Ei(t)),e.parser.tokenizer.write(t.value,!1),e.parser.tokenizer._runParsingLoop(),72===e.parser.tokenizer.state||78===e.parser.tokenizer.state){e.parser.tokenizer.preprocessor.lastChunkWritten=!0;const t=e.parser.tokenizer._consume();e.parser.tokenizer._callState(t)}}function jT(t,e){const n=t;if(!e.options.passThrough||!e.options.passThrough.includes(n.type)){let t="";throw DT.has(n.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+t)}!function(t,e){e.stitches=!0;const n=function(t){return jr("children"in t?{...t,children:[]}:t)}(t);if("children"in t&&"children"in n){const r=RT({type:"root",children:t.children},e.options);n.children=r.children}BT({type:"comment",value:{stitch:n}},e)}(n,e)}function HT(t,e){zT(t,e);const n=t.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=t.parser.tokenizer.preprocessor.line,n.location.endCol=t.parser.tokenizer.preprocessor.col+1,n.location.endOffset=t.parser.tokenizer.preprocessor.offset+1,t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)),t.parser.tokenizer.paused=!1,t.parser.tokenizer.inLoop=!1,t.parser.tokenizer.active=!1,t.parser.tokenizer.returnState=xe.DATA,t.parser.tokenizer.charRefCode=-1,t.parser.tokenizer.consumedAfterSnapshot=-1,t.parser.tokenizer.currentLocation=null,t.parser.tokenizer.currentCharacterToken=null,t.parser.tokenizer.currentToken=null,t.parser.tokenizer.currentAttr={name:"",value:""}}function zT(t,e){if(e&&void 0!==e.offset){const n={startLine:e.line,startCol:e.column,startOffset:e.offset,endLine:-1,endCol:-1,endOffset:-1};t.parser.tokenizer.preprocessor.lineStartPos=1-e.column,t.parser.tokenizer.preprocessor.droppedBufferSize=e.offset,t.parser.tokenizer.preprocessor.line=e.line,t.parser.tokenizer.currentLocation=n}}function qT(t){const e=Ei(t)||{line:void 0,column:void 0,offset:void 0},n=vi(t)||{line:void 0,column:void 0,offset:void 0};return{startLine:e.line,startCol:e.column,startOffset:e.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}const WT=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],GT={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},KT=["cent","copy","divide","gt","lt","not","para","times"],YT={}.hasOwnProperty,VT={};let XT;for(XT in GT)YT.call(GT,XT)&&(VT[GT[XT]]=XT);function ZT(t,e,n){let r,i=function(t,e,n){const r="&#x"+t.toString(16).toUpperCase();return n&&e&&!/[\dA-Fa-f]/.test(String.fromCharCode(e))?r:r+";"}(t,e,n.omitOptionalSemicolons);if((n.useNamedReferences||n.useShortestReferences)&&(r=function(t,e,n,r){const i=String.fromCharCode(t);if(YT.call(VT,i)){const t=VT[i],o="&"+t;return n&&WT.includes(t)&&!KT.includes(t)&&(!r||e&&61!==e&&/[^\da-z]/i.test(String.fromCharCode(e)))?o:o+";"}return""}(t,e,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!r)&&n.useShortestReferences){const r=function(t,e,n){const r="&#"+String(t);return n&&e&&!/\d/.test(String.fromCharCode(e))?r:r+";"}(t,e,n.omitOptionalSemicolons);r.length<i.length&&(i=r)}return r&&(!n.useShortestReferences||r.length<i.length)?r:i}function $T(t,e){return function(t,e){return t=t.replace(e.subset?function(t){const e=[];let n=-1;for(;++n<t.length;)e.push(t[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+e.join("|")+")","g")}(e.subset):/["&'<>`]/g,n),e.subset||e.escapeOnly?t:t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,(function(t,n,r){return e.format(1024*(t.charCodeAt(0)-55296)+t.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),e)})).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,n);function n(t,n,r){return e.format(t.charCodeAt(0),r.charCodeAt(n+1),e)}}(t,Object.assign({format:ZT},e))}const QT=/^>|^->|<!--|-->|--!>|<!-$/g,JT=[">"],tx=["<",">"],ex=ix(1),nx=ix(-1),rx=[];function ix(t){return function(e,n,r){const i=e?e.children:rx;let o=(n||0)+t,a=i[o];if(!r)for(;a&&Vr(a);)o+=t,a=i[o];return a}}const ox={}.hasOwnProperty;function ax(t){return function(e,n,r){return ox.call(t,e.tagName)&&t[e.tagName](e,n,r)}}const sx=ax({body:function(t,e,n){const r=ex(n,e);return!r||"comment"!==r.type},caption:lx,colgroup:lx,dd:function(t,e,n){const r=ex(n,e);return!r||"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName)},dt:function(t,e,n){const r=ex(n,e);return Boolean(r&&"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName))},head:lx,html:function(t,e,n){const r=ex(n,e);return!r||"comment"!==r.type},li:function(t,e,n){const r=ex(n,e);return!r||"element"===r.type&&"li"===r.tagName},optgroup:function(t,e,n){const r=ex(n,e);return!r||"element"===r.type&&"optgroup"===r.tagName},option:function(t,e,n){const r=ex(n,e);return!r||"element"===r.type&&("option"===r.tagName||"optgroup"===r.tagName)},p:function(t,e,n){const r=ex(n,e);return r?"element"===r.type&&("address"===r.tagName||"article"===r.tagName||"aside"===r.tagName||"blockquote"===r.tagName||"details"===r.tagName||"div"===r.tagName||"dl"===r.tagName||"fieldset"===r.tagName||"figcaption"===r.tagName||"figure"===r.tagName||"footer"===r.tagName||"form"===r.tagName||"h1"===r.tagName||"h2"===r.tagName||"h3"===r.tagName||"h4"===r.tagName||"h5"===r.tagName||"h6"===r.tagName||"header"===r.tagName||"hgroup"===r.tagName||"hr"===r.tagName||"main"===r.tagName||"menu"===r.tagName||"nav"===r.tagName||"ol"===r.tagName||"p"===r.tagName||"pre"===r.tagName||"section"===r.tagName||"table"===r.tagName||"ul"===r.tagName):!n||!("element"===n.type&&("a"===n.tagName||"audio"===n.tagName||"del"===n.tagName||"ins"===n.tagName||"map"===n.tagName||"noscript"===n.tagName||"video"===n.tagName))},rp:cx,rt:cx,tbody:function(t,e,n){const r=ex(n,e);return!r||"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName)},td:ux,tfoot:function(t,e,n){return!ex(n,e)},th:ux,thead:function(t,e,n){const r=ex(n,e);return Boolean(r&&"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName))},tr:function(t,e,n){const r=ex(n,e);return!r||"element"===r.type&&"tr"===r.tagName}});function lx(t,e,n){const r=ex(n,e,!0);return!r||"comment"!==r.type&&!("text"===r.type&&Vr(r.value.charAt(0)))}function cx(t,e,n){const r=ex(n,e);return!r||"element"===r.type&&("rp"===r.tagName||"rt"===r.tagName)}function ux(t,e,n){const r=ex(n,e);return!r||"element"===r.type&&("td"===r.tagName||"th"===r.tagName)}const hx=ax({body:function(t){const e=ex(t,-1,!0);return!(e&&("comment"===e.type||"text"===e.type&&Vr(e.value.charAt(0))||"element"===e.type&&("meta"===e.tagName||"link"===e.tagName||"script"===e.tagName||"style"===e.tagName||"template"===e.tagName)))},colgroup:function(t,e,n){const r=nx(n,e),i=ex(t,-1,!0);return!(n&&r&&"element"===r.type&&"colgroup"===r.tagName&&sx(r,n.children.indexOf(r),n))&&Boolean(i&&"element"===i.type&&"col"===i.tagName)},head:function(t){const e=t.children,n=[];let r=-1;for(;++r<e.length;){const t=e[r];if("element"===t.type&&("title"===t.tagName||"base"===t.tagName)){if(n.includes(t.tagName))return!1;n.push(t.tagName)}}return e.length>0},html:function(t){const e=ex(t,-1);return!e||"comment"!==e.type},tbody:function(t,e,n){const r=nx(n,e),i=ex(t,-1);return(!n||!r||"element"!==r.type||"thead"!==r.tagName&&"tbody"!==r.tagName||!sx(r,n.children.indexOf(r),n))&&Boolean(i&&"element"===i.type&&"tr"===i.tagName)}}),fx={name:[["\t\n\f\r &/=>".split(""),"\t\n\f\r \"&'/=>`".split("")],["\0\t\n\f\r \"&'/<=>".split(""),"\0\t\n\f\r \"&'/<=>`".split("")]],unquoted:[["\t\n\f\r &>".split(""),"\0\t\n\f\r \"&'<=>`".split("")],["\0\t\n\f\r \"&'<=>`".split(""),"\0\t\n\f\r \"&'<=>`".split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function dx(t,e,n){const r=gt(t.schema,e),i=t.settings.allowParseErrors&&"html"===t.schema.space?0:1,o=t.settings.allowDangerousCharacters?0:1;let a,s=t.quote;if(!r.overloadedBoolean||n!==r.attribute&&""!==n?(r.boolean||r.overloadedBoolean&&"string"!=typeof n)&&(n=Boolean(n)):n=!0,null==n||!1===n||"number"==typeof n&&Number.isNaN(n))return"";const l=$T(r.attribute,Object.assign({},t.settings.characterReferences,{subset:fx.name[i][o]}));return!0===n?l:(n=Array.isArray(n)?(r.commaSeparated?ht:vt)(n,{padLeft:!t.settings.tightCommaSeparatedLists}):String(n),t.settings.collapseEmptyAttributes&&!n?l:(t.settings.preferUnquoted&&(a=$T(n,Object.assign({},t.settings.characterReferences,{attribute:!0,subset:fx.unquoted[i][o]}))),a!==n&&(t.settings.quoteSmart&&Uw(n,s)>Uw(n,t.alternative)&&(s=t.alternative),a=s+$T(n,Object.assign({},t.settings.characterReferences,{subset:("'"===s?fx.single:fx.double)[i][o],attribute:!0}))+s),l+(a?"="+a:a)))}const px=["<","&"];function mx(t,e,n,r){return!n||"element"!==n.type||"script"!==n.tagName&&"style"!==n.tagName?$T(t.value,Object.assign({},r.settings.characterReferences,{subset:px})):t.value}const gx=Ho("type",{invalid:function(t){throw new Error("Expected node, not `"+t+"`")},unknown:function(t){throw new Error("Cannot compile unknown node `"+t.type+"`")},handlers:{comment:function(t,e,n,r){return r.settings.bogusComments?"<?"+$T(t.value,Object.assign({},r.settings.characterReferences,{subset:JT}))+">":"\x3c!--"+t.value.replace(QT,(function(t){return $T(t,Object.assign({},r.settings.characterReferences,{subset:tx}))}))+"--\x3e"},doctype:function(t,e,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"},element:function(t,e,n,r){const i=r.schema,o="svg"!==i.space&&r.settings.omitOptionalTags;let a="svg"===i.space?r.settings.closeEmptyElements:r.settings.voids.includes(t.tagName.toLowerCase());const s=[];let l;"html"===i.space&&"svg"===t.tagName&&(r.schema=ct);const c=function(t,e){const n=[];let r,i=-1;if(e)for(r in e)if(null!==e[r]&&void 0!==e[r]){const i=dx(t,r,e[r]);i&&n.push(i)}for(;++i<n.length;){const e=t.settings.tightAttributes?n[i].charAt(n[i].length-1):void 0;i!==n.length-1&&'"'!==e&&"'"!==e&&(n[i]+=" ")}return n.join("")}(r,t.properties),u=r.all("html"===i.space&&"template"===t.tagName?t.content:t);return r.schema=i,u&&(a=!1),!c&&o&&hx(t,e,n)||(s.push("<",t.tagName,c?" "+c:""),a&&("svg"===i.space||r.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!r.settings.tightSelfClosing||"/"===l||l&&'"'!==l&&"'"!==l)&&s.push(" "),s.push("/")),s.push(">")),s.push(u),a||o&&sx(t,e,n)||s.push("</"+t.tagName+">"),s.join("")},raw:function(t,e,n,r){return r.settings.allowDangerousHtml?t.value:mx(t,0,n,r)},root:function(t,e,n,r){return r.all(t)},text:mx}}),yx={},wx={},bx=[];function vx(t,e,n){return gx(t,e,n,this)}function Ex(t){const e=[],n=t&&t.children||bx;let r=-1;for(;++r<n.length;)e[r]=this.one(n[r],r,t);return e.join("")}const _x=["pre","script","style","textarea"],Ax={},Mx=ii({newlines:!0});function Tx(t,e){return"root"===t.type||"element"===t.type&&(e||Hr(t,"script")||Kr(t)||!to(t))}function xx(t){const e=_T(C().use(Bw).use(wv).use(gM).parse(t),{handlers:{...dT,[yA]:mM()},allowDangerousHtml:!0});return RT(e),function(t){const e=Ax;let n=e.indent||2,r=e.indentInitial;return"number"==typeof n&&(n=" ".repeat(n)),null==r&&(r=!0),function(t){let e;Mx(t),wi(t,(function(t,o){let a=-1;if(!("children"in t))return;if(Hr(t,"head")&&(e=!0),e&&Hr(t,"body")&&(e=void 0),Hr(t,_x))return yi;const s=t.children;let l,c=o.length;if(0===s.length||!Tx(t,e))return;for(r||c--;++a<s.length;){const t=s[a];"text"!==t.type&&"comment"!==t.type||(t.value.includes("\n")&&(l=!0),t.value=t.value.replace(/ *\n/g,"$&"+String(n).repeat(c)))}const u=[];let h;for(a=-1;++a<s.length;){const t=s[a];(Tx(t,e)||l&&!a)&&(i(u,c,t),l=!0),h=t,u.push(t)}h&&(l||Tx(h,e))&&(Vr(h)&&(u.pop(),h=u[u.length-1]),i(u,c-1)),t.children=u}))};function i(t,e,r){const i=t[t.length-1],a=(o(i&&Vr(i)?t[t.length-2]:i)&&o(r)?"\n\n":"\n")+String(n).repeat(Math.max(e,0));i&&"text"===i.type?i.value=Vr(i)?a:i.value+a:t.push({type:"text",value:a})}function o(t){return Boolean(t&&"element"===t.type&&e.blanks&&e.blanks.length>0&&e.blanks.includes(t.tagName))}}()(e),function(t,e){const n={upperDoctype:!0}||yx,r=n.quote||'"',i='"'===r?"'":'"';if('"'!==r&&"'"!==r)throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:vx,all:Ex,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||CT,characterReferences:n.characterReferences||wx,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:"svg"===n.space?ct:lt,quote:r,alternative:i}.one(Array.isArray(t)?{type:"root",children:t}:t,void 0,void 0)}(e)}const Sx={docxStylesXML:'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n<w:styles\r\n    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"\r\n    xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"\r\n    xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"\r\n    xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml"\r\n    xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml"\r\n    xmlns:w16cex="http://schemas.microsoft.com/office/word/2018/wordml/cex"\r\n    xmlns:w16cid="http://schemas.microsoft.com/office/word/2016/wordml/cid"\r\n    xmlns:w16="http://schemas.microsoft.com/office/word/2018/wordml"\r\n    xmlns:w16sdtdh="http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash"\r\n    xmlns:w16se="http://schemas.microsoft.com/office/word/2015/wordml/symex"\r\n    mc:Ignorable="w14 w15 w16se w16cid w16 w16cex w16sdtdh">\r\n  <w:docDefaults>\r\n    <w:rPrDefault>\r\n      <w:rPr>\r\n        <w:rFonts\r\n            w:ascii="Arial"\r\n            w:eastAsia="Arial"\r\n            w:hAnsi="Arial"\r\n            w:cs="Arial"/>\r\n        <w:sz w:val="22"/>\r\n        <w:szCs w:val="22"/>\r\n        <w:lang\r\n            w:val="en"\r\n            w:eastAsia="en-GB"\r\n            w:bidi="ar-SA"/>\r\n      </w:rPr>\r\n    </w:rPrDefault>\r\n    <w:pPrDefault>\r\n      <w:pPr>\r\n        <w:spacing\r\n            w:line="276"\r\n            w:lineRule="auto"/>\r\n      </w:pPr>\r\n    </w:pPrDefault>\r\n  </w:docDefaults>\r\n  <w:latentStyles\r\n      w:defLockedState="0"\r\n      w:defUIPriority="99"\r\n      w:defSemiHidden="0"\r\n      w:defUnhideWhenUsed="0"\r\n      w:defQFormat="0"\r\n      w:count="376">\r\n    <w:lsdException\r\n        w:name="Normal"\r\n        w:uiPriority="0"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="heading 1"\r\n        w:uiPriority="9"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="heading 2"\r\n        w:semiHidden="1"\r\n        w:uiPriority="9"\r\n        w:unhideWhenUsed="1"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="heading 3"\r\n        w:semiHidden="1"\r\n        w:uiPriority="9"\r\n        w:unhideWhenUsed="1"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="heading 4"\r\n        w:semiHidden="1"\r\n        w:uiPriority="9"\r\n        w:unhideWhenUsed="1"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="heading 5"\r\n        w:semiHidden="1"\r\n        w:uiPriority="9"\r\n        w:unhideWhenUsed="1"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="heading 6"\r\n        w:semiHidden="1"\r\n        w:uiPriority="9"\r\n        w:unhideWhenUsed="1"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="heading 7"\r\n        w:semiHidden="1"\r\n        w:uiPriority="9"\r\n        w:unhideWhenUsed="1"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="heading 8"\r\n        w:semiHidden="1"\r\n        w:uiPriority="9"\r\n        w:unhideWhenUsed="1"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="heading 9"\r\n        w:semiHidden="1"\r\n        w:uiPriority="9"\r\n        w:unhideWhenUsed="1"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="index 1"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="index 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="index 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="index 4"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="index 5"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="index 6"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="index 7"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="index 8"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="index 9"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="toc 1"\r\n        w:semiHidden="1"\r\n        w:uiPriority="39"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="toc 2"\r\n        w:semiHidden="1"\r\n        w:uiPriority="39"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="toc 3"\r\n        w:semiHidden="1"\r\n        w:uiPriority="39"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="toc 4"\r\n        w:semiHidden="1"\r\n        w:uiPriority="39"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="toc 5"\r\n        w:semiHidden="1"\r\n        w:uiPriority="39"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="toc 6"\r\n        w:semiHidden="1"\r\n        w:uiPriority="39"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="toc 7"\r\n        w:semiHidden="1"\r\n        w:uiPriority="39"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="toc 8"\r\n        w:semiHidden="1"\r\n        w:uiPriority="39"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="toc 9"\r\n        w:semiHidden="1"\r\n        w:uiPriority="39"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Normal Indent"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="footnote text"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="annotation text"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="header"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="footer"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="index heading"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="caption"\r\n        w:semiHidden="1"\r\n        w:uiPriority="35"\r\n        w:unhideWhenUsed="1"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="table of figures"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="envelope address"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="envelope return"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="footnote reference"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="annotation reference"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="line number"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="page number"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="endnote reference"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="endnote text"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="table of authorities"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="macro"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="toa heading"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List Bullet"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List Number"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List 4"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List 5"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List Bullet 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List Bullet 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List Bullet 4"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List Bullet 5"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List Number 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List Number 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List Number 4"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List Number 5"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Title"\r\n        w:uiPriority="10"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="Closing"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Signature"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Default Paragraph Font"\r\n        w:semiHidden="1"\r\n        w:uiPriority="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Body Text"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Body Text Indent"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List Continue"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List Continue 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List Continue 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List Continue 4"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="List Continue 5"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Message Header"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Subtitle"\r\n        w:uiPriority="11"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="Salutation"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Date"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Body Text First Indent"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Body Text First Indent 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Note Heading"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Body Text 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Body Text 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Body Text Indent 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Body Text Indent 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Block Text"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Hyperlink"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="FollowedHyperlink"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Strong"\r\n        w:uiPriority="22"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="Emphasis"\r\n        w:uiPriority="20"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="Document Map"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Plain Text"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="E-mail Signature"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="HTML Top of Form"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="HTML Bottom of Form"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Normal (Web)"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="HTML Acronym"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="HTML Address"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="HTML Cite"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="HTML Code"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="HTML Definition"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="HTML Keyboard"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="HTML Preformatted"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="HTML Sample"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="HTML Typewriter"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="HTML Variable"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Normal Table"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="annotation subject"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="No List"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Outline List 1"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Outline List 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Outline List 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Simple 1"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Simple 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Simple 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Classic 1"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Classic 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Classic 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Classic 4"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Colorful 1"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Colorful 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Colorful 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Columns 1"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Columns 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Columns 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Columns 4"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Columns 5"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Grid 1"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Grid 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Grid 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Grid 4"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Grid 5"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Grid 6"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Grid 7"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Grid 8"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table List 1"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table List 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table List 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table List 4"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table List 5"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table List 6"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table List 7"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table List 8"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table 3D effects 1"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table 3D effects 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table 3D effects 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Contemporary"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Elegant"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Professional"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Subtle 1"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Subtle 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Web 1"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Web 2"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Web 3"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Balloon Text"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Table Grid"\r\n        w:uiPriority="39"/>\r\n    <w:lsdException\r\n        w:name="Table Theme"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Placeholder Text"\r\n        w:semiHidden="1"/>\r\n    <w:lsdException\r\n        w:name="No Spacing"\r\n        w:uiPriority="1"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="Light Shading"\r\n        w:uiPriority="60"/>\r\n    <w:lsdException\r\n        w:name="Light List"\r\n        w:uiPriority="61"/>\r\n    <w:lsdException\r\n        w:name="Light Grid"\r\n        w:uiPriority="62"/>\r\n    <w:lsdException\r\n        w:name="Medium Shading 1"\r\n        w:uiPriority="63"/>\r\n    <w:lsdException\r\n        w:name="Medium Shading 2"\r\n        w:uiPriority="64"/>\r\n    <w:lsdException\r\n        w:name="Medium List 1"\r\n        w:uiPriority="65"/>\r\n    <w:lsdException\r\n        w:name="Medium List 2"\r\n        w:uiPriority="66"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 1"\r\n        w:uiPriority="67"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 2"\r\n        w:uiPriority="68"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 3"\r\n        w:uiPriority="69"/>\r\n    <w:lsdException\r\n        w:name="Dark List"\r\n        w:uiPriority="70"/>\r\n    <w:lsdException\r\n        w:name="Colorful Shading"\r\n        w:uiPriority="71"/>\r\n    <w:lsdException\r\n        w:name="Colorful List"\r\n        w:uiPriority="72"/>\r\n    <w:lsdException\r\n        w:name="Colorful Grid"\r\n        w:uiPriority="73"/>\r\n    <w:lsdException\r\n        w:name="Light Shading Accent 1"\r\n        w:uiPriority="60"/>\r\n    <w:lsdException\r\n        w:name="Light List Accent 1"\r\n        w:uiPriority="61"/>\r\n    <w:lsdException\r\n        w:name="Light Grid Accent 1"\r\n        w:uiPriority="62"/>\r\n    <w:lsdException\r\n        w:name="Medium Shading 1 Accent 1"\r\n        w:uiPriority="63"/>\r\n    <w:lsdException\r\n        w:name="Medium Shading 2 Accent 1"\r\n        w:uiPriority="64"/>\r\n    <w:lsdException\r\n        w:name="Medium List 1 Accent 1"\r\n        w:uiPriority="65"/>\r\n    <w:lsdException\r\n        w:name="Revision"\r\n        w:semiHidden="1"/>\r\n    <w:lsdException\r\n        w:name="List Paragraph"\r\n        w:uiPriority="34"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="Quote"\r\n        w:uiPriority="29"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="Intense Quote"\r\n        w:uiPriority="30"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="Medium List 2 Accent 1"\r\n        w:uiPriority="66"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 1 Accent 1"\r\n        w:uiPriority="67"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 2 Accent 1"\r\n        w:uiPriority="68"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 3 Accent 1"\r\n        w:uiPriority="69"/>\r\n    <w:lsdException\r\n        w:name="Dark List Accent 1"\r\n        w:uiPriority="70"/>\r\n    <w:lsdException\r\n        w:name="Colorful Shading Accent 1"\r\n        w:uiPriority="71"/>\r\n    <w:lsdException\r\n        w:name="Colorful List Accent 1"\r\n        w:uiPriority="72"/>\r\n    <w:lsdException\r\n        w:name="Colorful Grid Accent 1"\r\n        w:uiPriority="73"/>\r\n    <w:lsdException\r\n        w:name="Light Shading Accent 2"\r\n        w:uiPriority="60"/>\r\n    <w:lsdException\r\n        w:name="Light List Accent 2"\r\n        w:uiPriority="61"/>\r\n    <w:lsdException\r\n        w:name="Light Grid Accent 2"\r\n        w:uiPriority="62"/>\r\n    <w:lsdException\r\n        w:name="Medium Shading 1 Accent 2"\r\n        w:uiPriority="63"/>\r\n    <w:lsdException\r\n        w:name="Medium Shading 2 Accent 2"\r\n        w:uiPriority="64"/>\r\n    <w:lsdException\r\n        w:name="Medium List 1 Accent 2"\r\n        w:uiPriority="65"/>\r\n    <w:lsdException\r\n        w:name="Medium List 2 Accent 2"\r\n        w:uiPriority="66"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 1 Accent 2"\r\n        w:uiPriority="67"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 2 Accent 2"\r\n        w:uiPriority="68"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 3 Accent 2"\r\n        w:uiPriority="69"/>\r\n    <w:lsdException\r\n        w:name="Dark List Accent 2"\r\n        w:uiPriority="70"/>\r\n    <w:lsdException\r\n        w:name="Colorful Shading Accent 2"\r\n        w:uiPriority="71"/>\r\n    <w:lsdException\r\n        w:name="Colorful List Accent 2"\r\n        w:uiPriority="72"/>\r\n    <w:lsdException\r\n        w:name="Colorful Grid Accent 2"\r\n        w:uiPriority="73"/>\r\n    <w:lsdException\r\n        w:name="Light Shading Accent 3"\r\n        w:uiPriority="60"/>\r\n    <w:lsdException\r\n        w:name="Light List Accent 3"\r\n        w:uiPriority="61"/>\r\n    <w:lsdException\r\n        w:name="Light Grid Accent 3"\r\n        w:uiPriority="62"/>\r\n    <w:lsdException\r\n        w:name="Medium Shading 1 Accent 3"\r\n        w:uiPriority="63"/>\r\n    <w:lsdException\r\n        w:name="Medium Shading 2 Accent 3"\r\n        w:uiPriority="64"/>\r\n    <w:lsdException\r\n        w:name="Medium List 1 Accent 3"\r\n        w:uiPriority="65"/>\r\n    <w:lsdException\r\n        w:name="Medium List 2 Accent 3"\r\n        w:uiPriority="66"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 1 Accent 3"\r\n        w:uiPriority="67"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 2 Accent 3"\r\n        w:uiPriority="68"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 3 Accent 3"\r\n        w:uiPriority="69"/>\r\n    <w:lsdException\r\n        w:name="Dark List Accent 3"\r\n        w:uiPriority="70"/>\r\n    <w:lsdException\r\n        w:name="Colorful Shading Accent 3"\r\n        w:uiPriority="71"/>\r\n    <w:lsdException\r\n        w:name="Colorful List Accent 3"\r\n        w:uiPriority="72"/>\r\n    <w:lsdException\r\n        w:name="Colorful Grid Accent 3"\r\n        w:uiPriority="73"/>\r\n    <w:lsdException\r\n        w:name="Light Shading Accent 4"\r\n        w:uiPriority="60"/>\r\n    <w:lsdException\r\n        w:name="Light List Accent 4"\r\n        w:uiPriority="61"/>\r\n    <w:lsdException\r\n        w:name="Light Grid Accent 4"\r\n        w:uiPriority="62"/>\r\n    <w:lsdException\r\n        w:name="Medium Shading 1 Accent 4"\r\n        w:uiPriority="63"/>\r\n    <w:lsdException\r\n        w:name="Medium Shading 2 Accent 4"\r\n        w:uiPriority="64"/>\r\n    <w:lsdException\r\n        w:name="Medium List 1 Accent 4"\r\n        w:uiPriority="65"/>\r\n    <w:lsdException\r\n        w:name="Medium List 2 Accent 4"\r\n        w:uiPriority="66"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 1 Accent 4"\r\n        w:uiPriority="67"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 2 Accent 4"\r\n        w:uiPriority="68"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 3 Accent 4"\r\n        w:uiPriority="69"/>\r\n    <w:lsdException\r\n        w:name="Dark List Accent 4"\r\n        w:uiPriority="70"/>\r\n    <w:lsdException\r\n        w:name="Colorful Shading Accent 4"\r\n        w:uiPriority="71"/>\r\n    <w:lsdException\r\n        w:name="Colorful List Accent 4"\r\n        w:uiPriority="72"/>\r\n    <w:lsdException\r\n        w:name="Colorful Grid Accent 4"\r\n        w:uiPriority="73"/>\r\n    <w:lsdException\r\n        w:name="Light Shading Accent 5"\r\n        w:uiPriority="60"/>\r\n    <w:lsdException\r\n        w:name="Light List Accent 5"\r\n        w:uiPriority="61"/>\r\n    <w:lsdException\r\n        w:name="Light Grid Accent 5"\r\n        w:uiPriority="62"/>\r\n    <w:lsdException\r\n        w:name="Medium Shading 1 Accent 5"\r\n        w:uiPriority="63"/>\r\n    <w:lsdException\r\n        w:name="Medium Shading 2 Accent 5"\r\n        w:uiPriority="64"/>\r\n    <w:lsdException\r\n        w:name="Medium List 1 Accent 5"\r\n        w:uiPriority="65"/>\r\n    <w:lsdException\r\n        w:name="Medium List 2 Accent 5"\r\n        w:uiPriority="66"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 1 Accent 5"\r\n        w:uiPriority="67"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 2 Accent 5"\r\n        w:uiPriority="68"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 3 Accent 5"\r\n        w:uiPriority="69"/>\r\n    <w:lsdException\r\n        w:name="Dark List Accent 5"\r\n        w:uiPriority="70"/>\r\n    <w:lsdException\r\n        w:name="Colorful Shading Accent 5"\r\n        w:uiPriority="71"/>\r\n    <w:lsdException\r\n        w:name="Colorful List Accent 5"\r\n        w:uiPriority="72"/>\r\n    <w:lsdException\r\n        w:name="Colorful Grid Accent 5"\r\n        w:uiPriority="73"/>\r\n    <w:lsdException\r\n        w:name="Light Shading Accent 6"\r\n        w:uiPriority="60"/>\r\n    <w:lsdException\r\n        w:name="Light List Accent 6"\r\n        w:uiPriority="61"/>\r\n    <w:lsdException\r\n        w:name="Light Grid Accent 6"\r\n        w:uiPriority="62"/>\r\n    <w:lsdException\r\n        w:name="Medium Shading 1 Accent 6"\r\n        w:uiPriority="63"/>\r\n    <w:lsdException\r\n        w:name="Medium Shading 2 Accent 6"\r\n        w:uiPriority="64"/>\r\n    <w:lsdException\r\n        w:name="Medium List 1 Accent 6"\r\n        w:uiPriority="65"/>\r\n    <w:lsdException\r\n        w:name="Medium List 2 Accent 6"\r\n        w:uiPriority="66"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 1 Accent 6"\r\n        w:uiPriority="67"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 2 Accent 6"\r\n        w:uiPriority="68"/>\r\n    <w:lsdException\r\n        w:name="Medium Grid 3 Accent 6"\r\n        w:uiPriority="69"/>\r\n    <w:lsdException\r\n        w:name="Dark List Accent 6"\r\n        w:uiPriority="70"/>\r\n    <w:lsdException\r\n        w:name="Colorful Shading Accent 6"\r\n        w:uiPriority="71"/>\r\n    <w:lsdException\r\n        w:name="Colorful List Accent 6"\r\n        w:uiPriority="72"/>\r\n    <w:lsdException\r\n        w:name="Colorful Grid Accent 6"\r\n        w:uiPriority="73"/>\r\n    <w:lsdException\r\n        w:name="Subtle Emphasis"\r\n        w:uiPriority="19"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="Intense Emphasis"\r\n        w:uiPriority="21"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="Subtle Reference"\r\n        w:uiPriority="31"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="Intense Reference"\r\n        w:uiPriority="32"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="Book Title"\r\n        w:uiPriority="33"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="Bibliography"\r\n        w:semiHidden="1"\r\n        w:uiPriority="37"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="TOC Heading"\r\n        w:semiHidden="1"\r\n        w:uiPriority="39"\r\n        w:unhideWhenUsed="1"\r\n        w:qFormat="1"/>\r\n    <w:lsdException\r\n        w:name="Plain Table 1"\r\n        w:uiPriority="41"/>\r\n    <w:lsdException\r\n        w:name="Plain Table 2"\r\n        w:uiPriority="42"/>\r\n    <w:lsdException\r\n        w:name="Plain Table 3"\r\n        w:uiPriority="43"/>\r\n    <w:lsdException\r\n        w:name="Plain Table 4"\r\n        w:uiPriority="44"/>\r\n    <w:lsdException\r\n        w:name="Plain Table 5"\r\n        w:uiPriority="45"/>\r\n    <w:lsdException\r\n        w:name="Grid Table Light"\r\n        w:uiPriority="40"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 1 Light"\r\n        w:uiPriority="46"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 2"\r\n        w:uiPriority="47"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 3"\r\n        w:uiPriority="48"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 4"\r\n        w:uiPriority="49"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 5 Dark"\r\n        w:uiPriority="50"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 6 Colorful"\r\n        w:uiPriority="51"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 7 Colorful"\r\n        w:uiPriority="52"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 1 Light Accent 1"\r\n        w:uiPriority="46"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 2 Accent 1"\r\n        w:uiPriority="47"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 3 Accent 1"\r\n        w:uiPriority="48"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 4 Accent 1"\r\n        w:uiPriority="49"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 5 Dark Accent 1"\r\n        w:uiPriority="50"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 6 Colorful Accent 1"\r\n        w:uiPriority="51"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 7 Colorful Accent 1"\r\n        w:uiPriority="52"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 1 Light Accent 2"\r\n        w:uiPriority="46"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 2 Accent 2"\r\n        w:uiPriority="47"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 3 Accent 2"\r\n        w:uiPriority="48"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 4 Accent 2"\r\n        w:uiPriority="49"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 5 Dark Accent 2"\r\n        w:uiPriority="50"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 6 Colorful Accent 2"\r\n        w:uiPriority="51"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 7 Colorful Accent 2"\r\n        w:uiPriority="52"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 1 Light Accent 3"\r\n        w:uiPriority="46"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 2 Accent 3"\r\n        w:uiPriority="47"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 3 Accent 3"\r\n        w:uiPriority="48"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 4 Accent 3"\r\n        w:uiPriority="49"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 5 Dark Accent 3"\r\n        w:uiPriority="50"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 6 Colorful Accent 3"\r\n        w:uiPriority="51"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 7 Colorful Accent 3"\r\n        w:uiPriority="52"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 1 Light Accent 4"\r\n        w:uiPriority="46"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 2 Accent 4"\r\n        w:uiPriority="47"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 3 Accent 4"\r\n        w:uiPriority="48"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 4 Accent 4"\r\n        w:uiPriority="49"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 5 Dark Accent 4"\r\n        w:uiPriority="50"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 6 Colorful Accent 4"\r\n        w:uiPriority="51"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 7 Colorful Accent 4"\r\n        w:uiPriority="52"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 1 Light Accent 5"\r\n        w:uiPriority="46"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 2 Accent 5"\r\n        w:uiPriority="47"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 3 Accent 5"\r\n        w:uiPriority="48"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 4 Accent 5"\r\n        w:uiPriority="49"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 5 Dark Accent 5"\r\n        w:uiPriority="50"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 6 Colorful Accent 5"\r\n        w:uiPriority="51"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 7 Colorful Accent 5"\r\n        w:uiPriority="52"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 1 Light Accent 6"\r\n        w:uiPriority="46"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 2 Accent 6"\r\n        w:uiPriority="47"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 3 Accent 6"\r\n        w:uiPriority="48"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 4 Accent 6"\r\n        w:uiPriority="49"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 5 Dark Accent 6"\r\n        w:uiPriority="50"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 6 Colorful Accent 6"\r\n        w:uiPriority="51"/>\r\n    <w:lsdException\r\n        w:name="Grid Table 7 Colorful Accent 6"\r\n        w:uiPriority="52"/>\r\n    <w:lsdException\r\n        w:name="List Table 1 Light"\r\n        w:uiPriority="46"/>\r\n    <w:lsdException\r\n        w:name="List Table 2"\r\n        w:uiPriority="47"/>\r\n    <w:lsdException\r\n        w:name="List Table 3"\r\n        w:uiPriority="48"/>\r\n    <w:lsdException\r\n        w:name="List Table 4"\r\n        w:uiPriority="49"/>\r\n    <w:lsdException\r\n        w:name="List Table 5 Dark"\r\n        w:uiPriority="50"/>\r\n    <w:lsdException\r\n        w:name="List Table 6 Colorful"\r\n        w:uiPriority="51"/>\r\n    <w:lsdException\r\n        w:name="List Table 7 Colorful"\r\n        w:uiPriority="52"/>\r\n    <w:lsdException\r\n        w:name="List Table 1 Light Accent 1"\r\n        w:uiPriority="46"/>\r\n    <w:lsdException\r\n        w:name="List Table 2 Accent 1"\r\n        w:uiPriority="47"/>\r\n    <w:lsdException\r\n        w:name="List Table 3 Accent 1"\r\n        w:uiPriority="48"/>\r\n    <w:lsdException\r\n        w:name="List Table 4 Accent 1"\r\n        w:uiPriority="49"/>\r\n    <w:lsdException\r\n        w:name="List Table 5 Dark Accent 1"\r\n        w:uiPriority="50"/>\r\n    <w:lsdException\r\n        w:name="List Table 6 Colorful Accent 1"\r\n        w:uiPriority="51"/>\r\n    <w:lsdException\r\n        w:name="List Table 7 Colorful Accent 1"\r\n        w:uiPriority="52"/>\r\n    <w:lsdException\r\n        w:name="List Table 1 Light Accent 2"\r\n        w:uiPriority="46"/>\r\n    <w:lsdException\r\n        w:name="List Table 2 Accent 2"\r\n        w:uiPriority="47"/>\r\n    <w:lsdException\r\n        w:name="List Table 3 Accent 2"\r\n        w:uiPriority="48"/>\r\n    <w:lsdException\r\n        w:name="List Table 4 Accent 2"\r\n        w:uiPriority="49"/>\r\n    <w:lsdException\r\n        w:name="List Table 5 Dark Accent 2"\r\n        w:uiPriority="50"/>\r\n    <w:lsdException\r\n        w:name="List Table 6 Colorful Accent 2"\r\n        w:uiPriority="51"/>\r\n    <w:lsdException\r\n        w:name="List Table 7 Colorful Accent 2"\r\n        w:uiPriority="52"/>\r\n    <w:lsdException\r\n        w:name="List Table 1 Light Accent 3"\r\n        w:uiPriority="46"/>\r\n    <w:lsdException\r\n        w:name="List Table 2 Accent 3"\r\n        w:uiPriority="47"/>\r\n    <w:lsdException\r\n        w:name="List Table 3 Accent 3"\r\n        w:uiPriority="48"/>\r\n    <w:lsdException\r\n        w:name="List Table 4 Accent 3"\r\n        w:uiPriority="49"/>\r\n    <w:lsdException\r\n        w:name="List Table 5 Dark Accent 3"\r\n        w:uiPriority="50"/>\r\n    <w:lsdException\r\n        w:name="List Table 6 Colorful Accent 3"\r\n        w:uiPriority="51"/>\r\n    <w:lsdException\r\n        w:name="List Table 7 Colorful Accent 3"\r\n        w:uiPriority="52"/>\r\n    <w:lsdException\r\n        w:name="List Table 1 Light Accent 4"\r\n        w:uiPriority="46"/>\r\n    <w:lsdException\r\n        w:name="List Table 2 Accent 4"\r\n        w:uiPriority="47"/>\r\n    <w:lsdException\r\n        w:name="List Table 3 Accent 4"\r\n        w:uiPriority="48"/>\r\n    <w:lsdException\r\n        w:name="List Table 4 Accent 4"\r\n        w:uiPriority="49"/>\r\n    <w:lsdException\r\n        w:name="List Table 5 Dark Accent 4"\r\n        w:uiPriority="50"/>\r\n    <w:lsdException\r\n        w:name="List Table 6 Colorful Accent 4"\r\n        w:uiPriority="51"/>\r\n    <w:lsdException\r\n        w:name="List Table 7 Colorful Accent 4"\r\n        w:uiPriority="52"/>\r\n    <w:lsdException\r\n        w:name="List Table 1 Light Accent 5"\r\n        w:uiPriority="46"/>\r\n    <w:lsdException\r\n        w:name="List Table 2 Accent 5"\r\n        w:uiPriority="47"/>\r\n    <w:lsdException\r\n        w:name="List Table 3 Accent 5"\r\n        w:uiPriority="48"/>\r\n    <w:lsdException\r\n        w:name="List Table 4 Accent 5"\r\n        w:uiPriority="49"/>\r\n    <w:lsdException\r\n        w:name="List Table 5 Dark Accent 5"\r\n        w:uiPriority="50"/>\r\n    <w:lsdException\r\n        w:name="List Table 6 Colorful Accent 5"\r\n        w:uiPriority="51"/>\r\n    <w:lsdException\r\n        w:name="List Table 7 Colorful Accent 5"\r\n        w:uiPriority="52"/>\r\n    <w:lsdException\r\n        w:name="List Table 1 Light Accent 6"\r\n        w:uiPriority="46"/>\r\n    <w:lsdException\r\n        w:name="List Table 2 Accent 6"\r\n        w:uiPriority="47"/>\r\n    <w:lsdException\r\n        w:name="List Table 3 Accent 6"\r\n        w:uiPriority="48"/>\r\n    <w:lsdException\r\n        w:name="List Table 4 Accent 6"\r\n        w:uiPriority="49"/>\r\n    <w:lsdException\r\n        w:name="List Table 5 Dark Accent 6"\r\n        w:uiPriority="50"/>\r\n    <w:lsdException\r\n        w:name="List Table 6 Colorful Accent 6"\r\n        w:uiPriority="51"/>\r\n    <w:lsdException\r\n        w:name="List Table 7 Colorful Accent 6"\r\n        w:uiPriority="52"/>\r\n    <w:lsdException\r\n        w:name="Mention"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Smart Hyperlink"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Hashtag"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Unresolved Mention"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n    <w:lsdException\r\n        w:name="Smart Link"\r\n        w:semiHidden="1"\r\n        w:unhideWhenUsed="1"/>\r\n  </w:latentStyles>\r\n  <w:style\r\n      w:type="paragraph"\r\n      w:default="1"\r\n      w:styleId="Normal">\r\n    <w:name w:val="Normal"/>\r\n    <w:qFormat/>\r\n    <w:pPr>\r\n      <w:spacing\r\n          w:before="75"\r\n          w:after="75"/>\r\n    </w:pPr>\r\n  </w:style>\r\n  <w:style\r\n      w:type="paragraph"\r\n      w:styleId="Heading1">\r\n    <w:name w:val="heading 1"/>\r\n    <w:basedOn w:val="Normal"/>\r\n    <w:next w:val="Normal"/>\r\n    <w:uiPriority w:val="9"/>\r\n    <w:qFormat/>\r\n    <w:pPr>\r\n      <w:keepNext/>\r\n      <w:keepLines/>\r\n      <w:spacing\r\n          w:before="400"\r\n          w:after="120"/>\r\n      <w:outlineLvl w:val="0"/>\r\n    </w:pPr>\r\n    <w:rPr>\r\n      <w:sz w:val="40"/>\r\n      <w:szCs w:val="40"/>\r\n    </w:rPr>\r\n  </w:style>\r\n  <w:style\r\n      w:type="paragraph"\r\n      w:styleId="Heading2">\r\n    <w:name w:val="heading 2"/>\r\n    <w:basedOn w:val="Normal"/>\r\n    <w:next w:val="Normal"/>\r\n    <w:uiPriority w:val="9"/>\r\n    <w:unhideWhenUsed/>\r\n    <w:qFormat/>\r\n    <w:pPr>\r\n      <w:keepNext/>\r\n      <w:keepLines/>\r\n      <w:spacing\r\n          w:before="360"\r\n          w:after="120"/>\r\n      <w:outlineLvl w:val="1"/>\r\n    </w:pPr>\r\n    <w:rPr>\r\n      <w:sz w:val="32"/>\r\n      <w:szCs w:val="32"/>\r\n    </w:rPr>\r\n  </w:style>\r\n  <w:style\r\n      w:type="paragraph"\r\n      w:styleId="Heading3">\r\n    <w:name w:val="heading 3"/>\r\n    <w:basedOn w:val="Normal"/>\r\n    <w:next w:val="Normal"/>\r\n    <w:uiPriority w:val="9"/>\r\n    <w:unhideWhenUsed/>\r\n    <w:qFormat/>\r\n    <w:pPr>\r\n      <w:keepNext/>\r\n      <w:keepLines/>\r\n      <w:spacing\r\n          w:before="320"\r\n          w:after="80"/>\r\n      <w:outlineLvl w:val="2"/>\r\n    </w:pPr>\r\n    <w:rPr>\r\n      <w:color w:val="434343"/>\r\n      <w:sz w:val="28"/>\r\n      <w:szCs w:val="28"/>\r\n    </w:rPr>\r\n  </w:style>\r\n  <w:style\r\n      w:type="paragraph"\r\n      w:styleId="Heading4">\r\n    <w:name w:val="heading 4"/>\r\n    <w:basedOn w:val="Normal"/>\r\n    <w:next w:val="Normal"/>\r\n    <w:uiPriority w:val="9"/>\r\n    <w:unhideWhenUsed/>\r\n    <w:qFormat/>\r\n    <w:pPr>\r\n      <w:keepNext/>\r\n      <w:keepLines/>\r\n      <w:spacing\r\n          w:before="280"\r\n          w:after="80"/>\r\n      <w:outlineLvl w:val="3"/>\r\n    </w:pPr>\r\n    <w:rPr>\r\n      <w:color w:val="666666"/>\r\n      <w:sz w:val="24"/>\r\n      <w:szCs w:val="24"/>\r\n    </w:rPr>\r\n  </w:style>\r\n  <w:style\r\n      w:type="paragraph"\r\n      w:styleId="Heading5">\r\n    <w:name w:val="heading 5"/>\r\n    <w:basedOn w:val="Normal"/>\r\n    <w:next w:val="Normal"/>\r\n    <w:uiPriority w:val="9"/>\r\n    <w:unhideWhenUsed/>\r\n    <w:qFormat/>\r\n    <w:pPr>\r\n      <w:keepNext/>\r\n      <w:keepLines/>\r\n      <w:spacing\r\n          w:before="240"\r\n          w:after="80"/>\r\n      <w:outlineLvl w:val="4"/>\r\n    </w:pPr>\r\n    <w:rPr>\r\n      <w:color w:val="666666"/>\r\n    </w:rPr>\r\n  </w:style>\r\n  <w:style\r\n      w:type="paragraph"\r\n      w:styleId="Heading6">\r\n    <w:name w:val="heading 6"/>\r\n    <w:basedOn w:val="Normal"/>\r\n    <w:next w:val="Normal"/>\r\n    <w:uiPriority w:val="9"/>\r\n    <w:unhideWhenUsed/>\r\n    <w:qFormat/>\r\n    <w:pPr>\r\n      <w:keepNext/>\r\n      <w:keepLines/>\r\n      <w:spacing\r\n          w:before="240"\r\n          w:after="80"/>\r\n      <w:outlineLvl w:val="5"/>\r\n    </w:pPr>\r\n    <w:rPr>\r\n      <w:i/>\r\n      <w:color w:val="666666"/>\r\n    </w:rPr>\r\n  </w:style>\r\n  <w:style\r\n      w:type="character"\r\n      w:default="1"\r\n      w:styleId="DefaultParagraphFont">\r\n    <w:name w:val="Default Paragraph Font"/>\r\n    <w:uiPriority w:val="1"/>\r\n    <w:semiHidden/>\r\n    <w:unhideWhenUsed/>\r\n  </w:style>\r\n  <w:style w:type="character" w:styleId="Hyperlink">\r\n    <w:name w:val="Hyperlink"/>\r\n    <w:uiPriority w:val="99"/>\r\n    <w:unhideWhenUsed/>\r\n    <w:rPr>\r\n        <w:color w:val="0563C1"/>\r\n        <w:u w:val="single"/>\r\n    </w:rPr>\r\n  </w:style>\r\n  <w:style\r\n      w:type="numbering"\r\n      w:default="1"\r\n      w:styleId="NoList">\r\n    <w:name w:val="No List"/>\r\n    <w:uiPriority w:val="99"/>\r\n    <w:semiHidden/>\r\n    <w:unhideWhenUsed/>\r\n  </w:style>\r\n  <w:style\r\n      w:type="paragraph"\r\n      w:styleId="Title">\r\n    <w:name w:val="Title"/>\r\n    <w:basedOn w:val="Normal"/>\r\n    <w:next w:val="Normal"/>\r\n    <w:uiPriority w:val="10"/>\r\n    <w:qFormat/>\r\n    <w:pPr>\r\n      <w:keepNext/>\r\n      <w:keepLines/>\r\n      <w:spacing w:after="60"/>\r\n    </w:pPr>\r\n    <w:rPr>\r\n      <w:sz w:val="52"/>\r\n      <w:szCs w:val="52"/>\r\n    </w:rPr>\r\n  </w:style>\r\n  <w:style\r\n      w:type="paragraph"\r\n      w:styleId="Subtitle">\r\n    <w:name w:val="Subtitle"/>\r\n    <w:basedOn w:val="Normal"/>\r\n    <w:next w:val="Normal"/>\r\n    <w:uiPriority w:val="11"/>\r\n    <w:qFormat/>\r\n    <w:pPr>\r\n      <w:keepNext/>\r\n      <w:keepLines/>\r\n      <w:spacing w:after="320"/>\r\n    </w:pPr>\r\n    <w:rPr>\r\n      <w:color w:val="666666"/>\r\n      <w:sz w:val="30"/>\r\n      <w:szCs w:val="30"/>\r\n    </w:rPr>\r\n  </w:style>\r\n  <w:style\r\n      w:type="table"\r\n      w:customStyle="1"\r\n      w:styleId="PageBlock">\r\n    <w:name w:val="PageBlock"/>\r\n    <w:uiPriority w:val="99"/>\r\n    <w:rsid w:val="00C67FF9"/>\r\n    <w:pPr>\r\n      <w:spacing\r\n          w:line="240"\r\n          w:lineRule="auto"/>\r\n    </w:pPr>\r\n    <w:tblPr>\r\n      <w:tblInd\r\n          w:w="0"\r\n          w:type="dxa"/>\r\n      <w:tblBorders>\r\n        <w:top\r\n            w:val="single"\r\n            w:sz="4"\r\n            w:space="0"\r\n            w:color="auto"/>\r\n        <w:left\r\n            w:val="single"\r\n            w:sz="4"\r\n            w:space="0"\r\n            w:color="auto"/>\r\n        <w:bottom\r\n            w:val="single"\r\n            w:sz="4"\r\n            w:space="0"\r\n            w:color="auto"/>\r\n        <w:right\r\n            w:val="single"\r\n            w:sz="4"\r\n            w:space="0"\r\n            w:color="auto"/>\r\n        <w:insideH\r\n            w:val="single"\r\n            w:sz="4"\r\n            w:space="0"\r\n            w:color="auto"/>\r\n        <w:insideV\r\n            w:val="single"\r\n            w:sz="4"\r\n            w:space="0"\r\n            w:color="auto"/>\r\n      </w:tblBorders>\r\n      <w:tblCellMar>\r\n        <w:top\r\n            w:w="113"\r\n            w:type="dxa"/>\r\n        <w:left\r\n            w:w="113"\r\n            w:type="dxa"/>\r\n        <w:bottom\r\n            w:w="113"\r\n            w:type="dxa"/>\r\n        <w:right\r\n            w:w="113"\r\n            w:type="dxa"/>\r\n      </w:tblCellMar>\r\n    </w:tblPr>\r\n    <w:tcPr>\r\n      <w:tcMar>\r\n        <w:top\r\n            w:w="113"\r\n            w:type="dxa"/>\r\n        <w:bottom\r\n            w:w="113"\r\n            w:type="dxa"/>\r\n      </w:tcMar>\r\n    </w:tcPr>\r\n    <w:tblStylePr w:type="firstRow">\r\n      <w:pPr>\r\n        <w:jc w:val="left"/>\r\n      </w:pPr>\r\n      <w:rPr>\r\n        <w:rFonts\r\n            w:ascii="Arial"\r\n            w:hAnsi="Arial"/>\r\n        <w:b/>\r\n        <w:bCs/>\r\n        <w:color w:val="auto"/>\r\n        <w:sz w:val="22"/>\r\n      </w:rPr>\r\n      <w:tblPr/>\r\n      <w:tcPr>\r\n        <w:tcBorders>\r\n          <w:top\r\n              w:val="single"\r\n              w:sz="4"\r\n              w:space="0"\r\n              w:color="auto"/>\r\n          <w:left\r\n              w:val="single"\r\n              w:sz="4"\r\n              w:space="0"\r\n              w:color="auto"/>\r\n          <w:bottom\r\n              w:val="single"\r\n              w:sz="4"\r\n              w:space="0"\r\n              w:color="auto"/>\r\n          <w:right\r\n              w:val="single"\r\n              w:sz="4"\r\n              w:space="0"\r\n              w:color="auto"/>\r\n          <w:insideH\r\n              w:val="single"\r\n              w:sz="4"\r\n              w:space="0"\r\n              w:color="auto"/>\r\n          <w:insideV\r\n              w:val="single"\r\n              w:sz="4"\r\n              w:space="0"\r\n              w:color="auto"/>\r\n          <w:tl2br w:val="nil"/>\r\n          <w:tr2bl w:val="nil"/>\r\n        </w:tcBorders>\r\n        <w:shd\r\n            w:val="clear"\r\n            w:color="auto"\r\n            w:fill="F4CCCD"/>\r\n      </w:tcPr>\r\n    </w:tblStylePr>\r\n  </w:style>\r\n  <w:style\r\n      w:type="character"\r\n      w:styleId="HTMLCode">\r\n    <w:name w:val="HTML Code"/>\r\n    <w:basedOn w:val="DefaultParagraphFont"/>\r\n    <w:uiPriority w:val="99"/>\r\n    <w:unhideWhenUsed/>\r\n    <w:rsid w:val="009F323F"/>\r\n    <w:rPr>\r\n      <w:rFonts\r\n          w:ascii="Consolas"\r\n          w:hAnsi="Consolas"\r\n          w:cs="Consolas"/>\r\n      <w:sz w:val="20"/>\r\n      <w:szCs w:val="20"/>\r\n    </w:rPr>\r\n  </w:style>\r\n  <w:style\r\n      w:type="paragraph"\r\n      w:customStyle="1"\r\n      w:styleId="CodeBlock">\r\n    <w:name w:val="Code Block"/>\r\n    <w:basedOn w:val="Normal"/>\r\n    <w:next w:val="Normal"/>\r\n    <w:qFormat/>\r\n    <w:rsid w:val="00A01F4A"/>\r\n    <w:rPr>\r\n      <w:rFonts\r\n          w:ascii="Courier New"\r\n          w:hAnsi="Courier New"/>\r\n    </w:rPr>\r\n  </w:style>\r\n  <w:style\r\n      w:type="paragraph"\r\n      w:styleId="Quote">\r\n    <w:name w:val="Quote"/>\r\n    <w:basedOn w:val="Normal"/>\r\n    <w:next w:val="Normal"/>\r\n    <w:link w:val="QuoteChar"/>\r\n    <w:uiPriority w:val="29"/>\r\n    <w:qFormat/>\r\n    <w:rsid w:val="009F323F"/>\r\n    <w:pPr>\r\n      <w:spacing\r\n          w:before="200"\r\n          w:after="160"/>\r\n      <w:ind\r\n          w:left="864"\r\n          w:right="864"/>\r\n      <w:jc w:val="center"/>\r\n    </w:pPr>\r\n    <w:rPr>\r\n      <w:i/>\r\n      <w:iCs/>\r\n      <w:color\r\n          w:val="404040"\r\n          w:themeColor="text1"\r\n          w:themeTint="BF"/>\r\n    </w:rPr>\r\n  </w:style>\r\n  <w:style\r\n      w:type="character"\r\n      w:customStyle="1"\r\n      w:styleId="QuoteChar">\r\n    <w:name w:val="Quote Char"/>\r\n    <w:basedOn w:val="DefaultParagraphFont"/>\r\n    <w:link w:val="Quote"/>\r\n    <w:uiPriority w:val="29"/>\r\n    <w:rsid w:val="009F323F"/>\r\n    <w:rPr>\r\n      <w:i/>\r\n      <w:iCs/>\r\n      <w:color\r\n          w:val="404040"\r\n          w:themeColor="text1"\r\n          w:themeTint="BF"/>\r\n    </w:rPr>\r\n  </w:style>\r\n  <w:style\r\n      w:type="character"\r\n      w:customStyle="1"\r\n      w:styleId="InlineCode">\r\n    <w:name w:val="InlineCode"/>\r\n    <w:basedOn w:val="DefaultParagraphFont"/>\r\n    <w:uiPriority w:val="1"/>\r\n    <w:qFormat/>\r\n    <w:rsid w:val="00A01F4A"/>\r\n    <w:rPr>\r\n      <w:rFonts\r\n          w:ascii="Courier New"\r\n          w:hAnsi="Courier New"/>\r\n      <w:color w:val="auto"/>\r\n      <w:sz w:val="22"/>\r\n      <w:bdr\r\n          w:val="none"\r\n          w:sz="0"\r\n          w:space="0"\r\n          w:color="auto"/>\r\n      <w:shd\r\n          w:val="clear"\r\n          w:color="auto"\r\n          w:fill="BFBFBF"\r\n          w:themeFill="background1"\r\n          w:themeFillShade="BF"/>\r\n      <w:lang w:val="en-CH"/>\r\n    </w:rPr>\r\n  </w:style>\r\n</w:styles>',image2png:async({src:t,data:e,type:n})=>{const r=new Image,i=new Blob([e],{type:n});r.src=URL.createObjectURL(i),r.crossOrigin="anonymous",await r.decode();let o=r.naturalWidth,a=r.naturalHeight;if("image/svg+xml"===n){const t=new DOMParser,n=e.toString("utf-8"),i=t.parseFromString(n,"text/html").querySelector("svg"),s=i?.getAttribute("viewBox");if(s){const[,,t,e]=s.split(" ").map(Number);(t>r.naturalWidth||e>r.naturalHeight)&&(o=t,a=e)}}o=Math.round(o),a=Math.round(a);const s=new OffscreenCanvas(o,a),l=s.getContext("2d");try{return l.drawImage(r,0,0),{data:(await s.convertToBlob()).arrayBuffer(),width:o,height:a,type:"image/png"}}catch(e){return console.warn(`Cannot convert image ${t} to png. It might corrupt the Word document and you should probably remove it from the DOM.`),null}}};async function kx(t,e,n,r){return async function(t,e,n,r,i={}){let o=e;return"string"==typeof o&&(o=HM(e,r)),jM(t,o,n,{...r,toMd:!0,toDocx:!1},i)}(t,e,n,Sx,r)}async function Cx(t,e,n,r){return async function(t,e,n,r,i={}){let o=e;return"string"==typeof o&&(o=HM(e,r)),jM(t,o,n,{...r,toMd:!0,toDocx:!0},i)}(t,e,n,Sx,r)}})(),r})()));
\ No newline at end of file
diff --git a/js/dist/spectrum-web-components.js b/js/dist/spectrum-web-components.js
index 9012c6a7..5ca0c320 100644
--- a/js/dist/spectrum-web-components.js
+++ b/js/dist/spectrum-web-components.js
@@ -1,5 +1,5 @@
 /*! For license information please see spectrum-web-components.js.LICENSE.txt */
-(()=>{"use strict";var t,e,r,o,s={842:(t,e,r)=>{r.d(e,{mN:()=>I,AH:()=>n,W3:()=>w,Ec:()=>z,qM:()=>s});const o=globalThis,s=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,c=Symbol(),a=new WeakMap;class i{constructor(t,e,r){if(this._$cssResult$=!0,r!==c)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(s&&void 0===t){const r=void 0!==e&&1===e.length;r&&(t=a.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&a.set(e,t))}return t}toString(){return this.cssText}}const n=(t,...e)=>{const r=1===t.length?t[0]:e.reduce(((e,r,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+t[o+1]),t[0]);return new i(r,t,c)},l=(t,e)=>{if(s)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const r of e){const e=document.createElement("style"),s=o.litNonce;void 0!==s&&e.setAttribute("nonce",s),e.textContent=r.cssText,t.appendChild(e)}},u=s?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const r of t.cssRules)e+=r.cssText;return(t=>new i("string"==typeof t?t:t+"",void 0,c))(e)})(t):t,{is:m,defineProperty:d,getOwnPropertyDescriptor:p,getOwnPropertyNames:h,getOwnPropertySymbols:b,getPrototypeOf:g}=Object,v=globalThis,f=v.trustedTypes,k=f?f.emptyScript:"",y=v.reactiveElementPolyfillSupport,x=(t,e)=>t,w={toAttribute(t,e){switch(e){case Boolean:t=t?k:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},z=(t,e)=>!m(t,e),C={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:z};Symbol.metadata??=Symbol("metadata"),v.litPropertyMetadata??=new WeakMap;class I extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=C){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const r=Symbol(),o=this.getPropertyDescriptor(t,r,e);void 0!==o&&d(this.prototype,t,o)}}static getPropertyDescriptor(t,e,r){const{get:o,set:s}=p(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return o?.call(this)},set(e){const c=o?.call(this);s.call(this,e),this.requestUpdate(t,c,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??C}static _$Ei(){if(this.hasOwnProperty(x("elementProperties")))return;const t=g(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(x("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(x("properties"))){const t=this.properties,e=[...h(t),...b(t)];for(const r of e)this.createProperty(r,t[r])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,r]of e)this.elementProperties.set(t,r)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const r=this._$Eu(t,e);void 0!==r&&this._$Eh.set(r,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const r=new Set(t.flat(1/0).reverse());for(const t of r)e.unshift(u(t))}else void 0!==t&&e.push(u(t));return e}static _$Eu(t,e){const r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const r of e.keys())this.hasOwnProperty(r)&&(t.set(r,this[r]),delete this[r]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return l(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,r){this._$AK(t,r)}_$EC(t,e){const r=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,r);if(void 0!==o&&!0===r.reflect){const s=(void 0!==r.converter?.toAttribute?r.converter:w).toAttribute(e,r.type);this._$Em=t,null==s?this.removeAttribute(o):this.setAttribute(o,s),this._$Em=null}}_$AK(t,e){const r=this.constructor,o=r._$Eh.get(t);if(void 0!==o&&this._$Em!==o){const t=r.getPropertyOptions(o),s="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:w;this._$Em=o,this[o]=s.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,r){if(void 0!==t){if(r??=this.constructor.getPropertyOptions(t),!(r.hasChanged??z)(this[t],e))return;this.P(t,e,r)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,e,r){this._$AL.has(t)||this._$AL.set(t,e),!0===r.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,r]of t)!0!==r.wrapped||this._$AL.has(e)||void 0===this[e]||this.P(e,this[e],r)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}I.elementStyles=[],I.shadowRootOptions={mode:"open"},I[x("elementProperties")]=new Map,I[x("finalized")]=new Map,y?.({ReactiveElement:I}),(v.reactiveElementVersions??=[]).push("2.0.4")},463:(t,e,r)=>{r.d(e,{w:()=>i});var o=r(618),s=r(276);const c=new Set;new MutationObserver((()=>{const t="rtl"===document.documentElement.dir?document.documentElement.dir:"ltr";c.forEach((e=>{e.setAttribute("dir",t)}))})).observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const a=t=>void 0!==t.startManagingContentDirection||"SP-THEME"===t.tagName;class i extends(function(t){return class extends t{get isLTR(){return"ltr"===this.dir}hasVisibleFocusInTree(){const t=((t=document)=>{var e;let r=t.activeElement;for(;null!=r&&r.shadowRoot&&r.shadowRoot.activeElement;)r=r.shadowRoot.activeElement;const o=r?[r]:[];for(;r;){const t=r.assignedSlot||r.parentElement||(null==(e=r.getRootNode())?void 0:e.host);t&&o.push(t),r=t}return o})(this.getRootNode())[0];if(!t)return!1;try{return t.matches(":focus-visible")||t.matches(".focus-visible")}catch(e){return t.matches(".focus-visible")}}connectedCallback(){if(!this.hasAttribute("dir")){let t=this.assignedSlot||this.parentNode;for(;t!==document.documentElement&&!a(t);)t=t.assignedSlot||t.parentNode||t.host;if(this.dir="rtl"===t.dir?t.dir:this.dir||"ltr",t===document.documentElement)c.add(this);else{const{localName:e}=t;e.search("-")>-1&&!customElements.get(e)?customElements.whenDefined(e).then((()=>{t.startManagingContentDirection(this)})):t.startManagingContentDirection(this)}this._dirParent=t}super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),this._dirParent&&(this._dirParent===document.documentElement?c.delete(this):this._dirParent.stopManagingContentDirection(this),this.removeAttribute("dir"))}}}(o.WF)){}i.VERSION=s.r},115:(t,e,r)=>{function o(t,e,r){const o=t.getAttribute(e);let s=o?o.split(/\s+/):[];s=s.filter((t=>!r.find((e=>t===e)))),s.length?t.setAttribute(e,s.join(" ")):t.removeAttribute(e)}function s(t,e,r){const s=Array.isArray(r)?r:[r],c=t.getAttribute(e),a=c?c.split(/\s+/):[];return s.every((t=>a.indexOf(t)>-1))?()=>{}:(a.push(...s),t.setAttribute(e,a.join(" ")),()=>o(t,e,s))}r.d(e,{$:()=>s,N:()=>o})},308:(t,e,r)=>{function o(t,e){window.__swc,customElements.define(t,e)}r.d(e,{e:()=>o})},162:(t,e,r)=>{r.d(e,{Z:()=>i});var o=r(352),s=Object.defineProperty,c=Object.getOwnPropertyDescriptor,a=(t,e,r,o)=>{for(var a,i=o>1?void 0:o?c(e,r):e,n=t.length-1;n>=0;n--)(a=t[n])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&s(e,r,i),i};function i(t,{validSizes:e=["s","m","l","xl"],noDefaultSize:r,defaultSize:s="m"}={}){class c extends t{constructor(){super(...arguments),this._size=s}get size(){return this._size||s}set size(t){const o=r?null:s,c=t&&t.toLocaleLowerCase(),a=e.includes(c)?c:o;if(a&&this.setAttribute("size",a),this._size===a)return;const i=this._size;this._size=a,this.requestUpdate("size",i)}update(t){!this.hasAttribute("size")&&!r&&this.setAttribute("size",this.size),super.update(t)}}return a([(0,o.MZ)({type:String})],c.prototype,"size",1),c}},276:(t,e,r)=>{r.d(e,{r:()=>o});const o="0.42.5"},872:(t,e,r)=>{r.d(e,{W:()=>o,g:()=>s});class o extends Event{constructor(t,e,r){super("slottable-request",{bubbles:!1,cancelable:!0,composed:!1}),this.name=t,this.data=e,this.slotName=void 0!==r?`${t}.${r}`:t}}const s=Symbol("remove-slottable-request")},443:(t,e,r)=>{r.r(e);var o=r(162),s=r(463),c=r(618),a=r(352),i=r(31);const n=c.AH`
+(()=>{"use strict";var t,e,r,o,s={842:(t,e,r)=>{r.d(e,{mN:()=>I,AH:()=>n,W3:()=>w,Ec:()=>z,qM:()=>s});const o=globalThis,s=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,c=Symbol(),a=new WeakMap;class i{constructor(t,e,r){if(this._$cssResult$=!0,r!==c)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(s&&void 0===t){const r=void 0!==e&&1===e.length;r&&(t=a.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&a.set(e,t))}return t}toString(){return this.cssText}}const n=(t,...e)=>{const r=1===t.length?t[0]:e.reduce(((e,r,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+t[o+1]),t[0]);return new i(r,t,c)},l=(t,e)=>{if(s)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const r of e){const e=document.createElement("style"),s=o.litNonce;void 0!==s&&e.setAttribute("nonce",s),e.textContent=r.cssText,t.appendChild(e)}},u=s?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const r of t.cssRules)e+=r.cssText;return(t=>new i("string"==typeof t?t:t+"",void 0,c))(e)})(t):t,{is:m,defineProperty:d,getOwnPropertyDescriptor:p,getOwnPropertyNames:h,getOwnPropertySymbols:b,getPrototypeOf:g}=Object,v=globalThis,f=v.trustedTypes,k=f?f.emptyScript:"",y=v.reactiveElementPolyfillSupport,x=(t,e)=>t,w={toAttribute(t,e){switch(e){case Boolean:t=t?k:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},z=(t,e)=>!m(t,e),C={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:z};Symbol.metadata??=Symbol("metadata"),v.litPropertyMetadata??=new WeakMap;class I extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=C){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const r=Symbol(),o=this.getPropertyDescriptor(t,r,e);void 0!==o&&d(this.prototype,t,o)}}static getPropertyDescriptor(t,e,r){const{get:o,set:s}=p(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return o?.call(this)},set(e){const c=o?.call(this);s.call(this,e),this.requestUpdate(t,c,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??C}static _$Ei(){if(this.hasOwnProperty(x("elementProperties")))return;const t=g(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(x("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(x("properties"))){const t=this.properties,e=[...h(t),...b(t)];for(const r of e)this.createProperty(r,t[r])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,r]of e)this.elementProperties.set(t,r)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const r=this._$Eu(t,e);void 0!==r&&this._$Eh.set(r,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const r=new Set(t.flat(1/0).reverse());for(const t of r)e.unshift(u(t))}else void 0!==t&&e.push(u(t));return e}static _$Eu(t,e){const r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const r of e.keys())this.hasOwnProperty(r)&&(t.set(r,this[r]),delete this[r]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return l(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,r){this._$AK(t,r)}_$EC(t,e){const r=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,r);if(void 0!==o&&!0===r.reflect){const s=(void 0!==r.converter?.toAttribute?r.converter:w).toAttribute(e,r.type);this._$Em=t,null==s?this.removeAttribute(o):this.setAttribute(o,s),this._$Em=null}}_$AK(t,e){const r=this.constructor,o=r._$Eh.get(t);if(void 0!==o&&this._$Em!==o){const t=r.getPropertyOptions(o),s="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:w;this._$Em=o,this[o]=s.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,r){if(void 0!==t){if(r??=this.constructor.getPropertyOptions(t),!(r.hasChanged??z)(this[t],e))return;this.P(t,e,r)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,e,r){this._$AL.has(t)||this._$AL.set(t,e),!0===r.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,r]of t)!0!==r.wrapped||this._$AL.has(e)||void 0===this[e]||this.P(e,this[e],r)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}I.elementStyles=[],I.shadowRootOptions={mode:"open"},I[x("elementProperties")]=new Map,I[x("finalized")]=new Map,y?.({ReactiveElement:I}),(v.reactiveElementVersions??=[]).push("2.0.4")},463:(t,e,r)=>{r.d(e,{w:()=>i});var o=r(618),s=r(276);const c=new Set;new MutationObserver((()=>{const t="rtl"===document.documentElement.dir?document.documentElement.dir:"ltr";c.forEach((e=>{e.setAttribute("dir",t)}))})).observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const a=t=>void 0!==t.startManagingContentDirection||"SP-THEME"===t.tagName;class i extends(function(t){return class extends t{get isLTR(){return"ltr"===this.dir}hasVisibleFocusInTree(){const t=((t=document)=>{var e;let r=t.activeElement;for(;null!=r&&r.shadowRoot&&r.shadowRoot.activeElement;)r=r.shadowRoot.activeElement;const o=r?[r]:[];for(;r;){const t=r.assignedSlot||r.parentElement||(null==(e=r.getRootNode())?void 0:e.host);t&&o.push(t),r=t}return o})(this.getRootNode())[0];if(!t)return!1;try{return t.matches(":focus-visible")||t.matches(".focus-visible")}catch(e){return t.matches(".focus-visible")}}connectedCallback(){if(!this.hasAttribute("dir")){let t=this.assignedSlot||this.parentNode;for(;t!==document.documentElement&&!a(t);)t=t.assignedSlot||t.parentNode||t.host;if(this.dir="rtl"===t.dir?t.dir:this.dir||"ltr",t===document.documentElement)c.add(this);else{const{localName:e}=t;e.search("-")>-1&&!customElements.get(e)?customElements.whenDefined(e).then((()=>{t.startManagingContentDirection(this)})):t.startManagingContentDirection(this)}this._dirParent=t}super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),this._dirParent&&(this._dirParent===document.documentElement?c.delete(this):this._dirParent.stopManagingContentDirection(this),this.removeAttribute("dir"))}}}(o.WF)){}i.VERSION=s.r},115:(t,e,r)=>{function o(t,e,r){const o=t.getAttribute(e);let s=o?o.split(/\s+/):[];s=s.filter((t=>!r.find((e=>t===e)))),s.length?t.setAttribute(e,s.join(" ")):t.removeAttribute(e)}function s(t,e,r){const s=Array.isArray(r)?r:[r],c=t.getAttribute(e),a=c?c.split(/\s+/):[];return s.every((t=>a.indexOf(t)>-1))?()=>{}:(a.push(...s),t.setAttribute(e,a.join(" ")),()=>o(t,e,s))}r.d(e,{$:()=>s,N:()=>o})},308:(t,e,r)=>{function o(t,e){window.__swc,customElements.define(t,e)}r.d(e,{e:()=>o})},162:(t,e,r)=>{r.d(e,{Z:()=>i});var o=r(352),s=Object.defineProperty,c=Object.getOwnPropertyDescriptor,a=(t,e,r,o)=>{for(var a,i=o>1?void 0:o?c(e,r):e,n=t.length-1;n>=0;n--)(a=t[n])&&(i=(o?a(e,r,i):a(i))||i);return o&&i&&s(e,r,i),i};function i(t,{validSizes:e=["s","m","l","xl"],noDefaultSize:r,defaultSize:s="m"}={}){class c extends t{constructor(){super(...arguments),this._size=s}get size(){return this._size||s}set size(t){const o=r?null:s,c=t&&t.toLocaleLowerCase(),a=e.includes(c)?c:o;if(a&&this.setAttribute("size",a),this._size===a)return;const i=this._size;this._size=a,this.requestUpdate("size",i)}update(t){!this.hasAttribute("size")&&!r&&this.setAttribute("size",this.size),super.update(t)}}return a([(0,o.MZ)({type:String})],c.prototype,"size",1),c}},276:(t,e,r)=>{r.d(e,{r:()=>o});const o="0.43.0"},872:(t,e,r)=>{r.d(e,{W:()=>o,g:()=>s});class o extends Event{constructor(t,e,r){super("slottable-request",{bubbles:!1,cancelable:!0,composed:!1}),this.name=t,this.data=e,this.slotName=void 0!==r?`${t}.${r}`:t}}const s=Symbol("remove-slottable-request")},443:(t,e,r)=>{r.r(e);var o=r(162),s=r(463),c=r(618),a=r(352),i=r(31);const n=c.AH`
     .fill-submask-2{animation:1s linear infinite b}@keyframes a{0%{transform:rotate(90deg)}1.69%{transform:rotate(72.3deg)}3.39%{transform:rotate(55.5deg)}5.08%{transform:rotate(40.3deg)}6.78%{transform:rotate(25deg)}8.47%{transform:rotate(10.6deg)}10.17%{transform:rotate(0)}11.86%{transform:rotate(0)}13.56%{transform:rotate(0)}15.25%{transform:rotate(0)}16.95%{transform:rotate(0)}18.64%{transform:rotate(0)}20.34%{transform:rotate(0)}22.03%{transform:rotate(0)}23.73%{transform:rotate(0)}25.42%{transform:rotate(0)}27.12%{transform:rotate(0)}28.81%{transform:rotate(0)}30.51%{transform:rotate(0)}32.2%{transform:rotate(0)}33.9%{transform:rotate(0)}35.59%{transform:rotate(0)}37.29%{transform:rotate(0)}38.98%{transform:rotate(0)}40.68%{transform:rotate(0)}42.37%{transform:rotate(5.3deg)}44.07%{transform:rotate(13.4deg)}45.76%{transform:rotate(20.6deg)}47.46%{transform:rotate(29deg)}49.15%{transform:rotate(36.5deg)}50.85%{transform:rotate(42.6deg)}52.54%{transform:rotate(48.8deg)}54.24%{transform:rotate(54.2deg)}55.93%{transform:rotate(59.4deg)}57.63%{transform:rotate(63.2deg)}59.32%{transform:rotate(67.2deg)}61.02%{transform:rotate(70.8deg)}62.71%{transform:rotate(73.8deg)}64.41%{transform:rotate(76.2deg)}66.1%{transform:rotate(78.7deg)}67.8%{transform:rotate(80.6deg)}69.49%{transform:rotate(82.6deg)}71.19%{transform:rotate(83.7deg)}72.88%{transform:rotate(85deg)}74.58%{transform:rotate(86.3deg)}76.27%{transform:rotate(87deg)}77.97%{transform:rotate(87.7deg)}79.66%{transform:rotate(88.3deg)}81.36%{transform:rotate(88.6deg)}83.05%{transform:rotate(89.2deg)}84.75%{transform:rotate(89.2deg)}86.44%{transform:rotate(89.5deg)}88.14%{transform:rotate(89.9deg)}89.83%{transform:rotate(89.7deg)}91.53%{transform:rotate(90.1deg)}93.22%{transform:rotate(90.2deg)}94.92%{transform:rotate(90.1deg)}96.61%{transform:rotate(90deg)}98.31%{transform:rotate(89.8deg)}to{transform:rotate(90deg)}}@keyframes b{0%{transform:rotate(180deg)}1.69%{transform:rotate(180deg)}3.39%{transform:rotate(180deg)}5.08%{transform:rotate(180deg)}6.78%{transform:rotate(180deg)}8.47%{transform:rotate(180deg)}10.17%{transform:rotate(179.2deg)}11.86%{transform:rotate(164deg)}13.56%{transform:rotate(151.8deg)}15.25%{transform:rotate(140.8deg)}16.95%{transform:rotate(130.3deg)}18.64%{transform:rotate(120.4deg)}20.34%{transform:rotate(110.8deg)}22.03%{transform:rotate(101.6deg)}23.73%{transform:rotate(93.5deg)}25.42%{transform:rotate(85.4deg)}27.12%{transform:rotate(78.1deg)}28.81%{transform:rotate(71.2deg)}30.51%{transform:rotate(89.1deg)}32.2%{transform:rotate(105.5deg)}33.9%{transform:rotate(121.3deg)}35.59%{transform:rotate(135.5deg)}37.29%{transform:rotate(148.4deg)}38.98%{transform:rotate(161deg)}40.68%{transform:rotate(173.5deg)}42.37%{transform:rotate(180deg)}44.07%{transform:rotate(180deg)}45.76%{transform:rotate(180deg)}47.46%{transform:rotate(180deg)}49.15%{transform:rotate(180deg)}50.85%{transform:rotate(180deg)}52.54%{transform:rotate(180deg)}54.24%{transform:rotate(180deg)}55.93%{transform:rotate(180deg)}57.63%{transform:rotate(180deg)}59.32%{transform:rotate(180deg)}61.02%{transform:rotate(180deg)}62.71%{transform:rotate(180deg)}64.41%{transform:rotate(180deg)}66.1%{transform:rotate(180deg)}67.8%{transform:rotate(180deg)}69.49%{transform:rotate(180deg)}71.19%{transform:rotate(180deg)}72.88%{transform:rotate(180deg)}74.58%{transform:rotate(180deg)}76.27%{transform:rotate(180deg)}77.97%{transform:rotate(180deg)}79.66%{transform:rotate(180deg)}81.36%{transform:rotate(180deg)}83.05%{transform:rotate(180deg)}84.75%{transform:rotate(180deg)}86.44%{transform:rotate(180deg)}88.14%{transform:rotate(180deg)}89.83%{transform:rotate(180deg)}91.53%{transform:rotate(180deg)}93.22%{transform:rotate(180deg)}94.92%{transform:rotate(180deg)}96.61%{transform:rotate(180deg)}98.31%{transform:rotate(180deg)}to{transform:rotate(180deg)}}@keyframes c{0%{transform:rotate(-90deg)}to{transform:rotate(270deg)}}:host{--spectrum-progress-circle-track-border-color:var(--spectrum-gray-300);--spectrum-progress-circle-fill-border-color:var(--spectrum-accent-content-color-default);--spectrum-progress-circle-track-border-color-over-background:var(--spectrum-transparent-white-300);--spectrum-progress-circle-fill-border-color-over-background:var(--spectrum-transparent-white-900);--spectrum-progress-circle-size:var(--spectrum-progress-circle-size-medium);--spectrum-progress-circle-thickness:var(--spectrum-progress-circle-thickness-medium);--spectrum-progress-circle-track-border-style:solid}:host([size=s]){--spectrum-progress-circle-size:var(--spectrum-progress-circle-size-small);--spectrum-progress-circle-thickness:var(--spectrum-progress-circle-thickness-small)}:host([size=l]){--spectrum-progress-circle-size:var(--spectrum-progress-circle-size-large);--spectrum-progress-circle-thickness:var(--spectrum-progress-circle-thickness-large)}@media (forced-colors:active){:host{--highcontrast-progress-circle-fill-border-color:Highlight;--highcontrast-progress-circle-fill-border-color-over-background:Highlight}.track{--spectrum-progress-circle-track-border-style:double}}:host{position:var(--mod-progress-circle-position,relative);direction:ltr;display:inline-block;transform:translateZ(0)}:host,.track{inline-size:var(--mod-progress-circle-size,var(--spectrum-progress-circle-size));block-size:var(--mod-progress-circle-size,var(--spectrum-progress-circle-size))}.track{box-sizing:border-box;border-style:var(--highcontrast-progress-circle-track-border-style,var(--mod-progress-circle-track-border-style,var(--spectrum-progress-circle-track-border-style)));border-width:var(--mod-progress-circle-thickness,var(--spectrum-progress-circle-thickness));border-radius:var(--mod-progress-circle-size,var(--spectrum-progress-circle-size));border-color:var(--mod-progress-circle-track-border-color,var(--spectrum-progress-circle-track-border-color))}.fills{block-size:100%;inline-size:100%;position:absolute;inset-block-start:0;inset-inline-start:0}.fill{box-sizing:border-box;inline-size:var(--mod-progress-circle-size,var(--spectrum-progress-circle-size));block-size:var(--mod-progress-circle-size,var(--spectrum-progress-circle-size));border-style:solid;border-width:var(--mod-progress-circle-thickness,var(--spectrum-progress-circle-thickness));border-radius:var(--mod-progress-circle-size,var(--spectrum-progress-circle-size));border-color:var(--highcontrast-progress-circle-fill-border-color,var(--mod-progress-circle-fill-border-color,var(--spectrum-progress-circle-fill-border-color)))}:host([static=white]) .track{border-color:var(--mod-progress-circle-track-border-color-over-background,var(--spectrum-progress-circle-track-border-color-over-background))}:host([static=white]) .fill{border-color:var(--highcontrast-progress-circle-fill-border-color-over-background,var(--mod-progress-circle-fill-border-color-over-background,var(--spectrum-progress-circle-fill-border-color-over-background)))}.fillMask1,.fillMask2{transform-origin:100%;block-size:100%;inline-size:50%;position:absolute;overflow:hidden;transform:rotate(180deg)}.fillSubMask1,.fillSubMask2{transform-origin:100%;block-size:100%;inline-size:100%;overflow:hidden;transform:rotate(-180deg)}.fillMask2{transform:rotate(0)}:host([indeterminate]) .fills{will-change:transform;transform-origin:50%;animation:1s cubic-bezier(.25,.78,.48,.89) infinite c;transform:translateZ(0)}:host([indeterminate]) .fillSubMask1{will-change:transform;animation:1s linear infinite a;transform:translateZ(0)}:host([indeterminate]) .fillSubMask2{will-change:transform;animation:1s linear infinite b;transform:translateZ(0)}:host{block-size:var(--mod-progress-circle-size,var(--_spectrum-progress-circle-size));inline-size:var(--mod-progress-circle-size,var(--_spectrum-progress-circle-size));--spectrum-progress-circle-size:inherit;--spectrum-progresscircle-m-over-background-track-fill-color:var(--spectrum-alias-track-fill-color-overbackground);--_spectrum-progress-circle-size:var(--spectrum-progress-circle-size,var(--spectrum-progress-circle-size-medium))}:host([size=s]){--_spectrum-progress-circle-size:var(--spectrum-progress-circle-size,var(--spectrum-progress-circle-size-small))}:host([size=l]){--_spectrum-progress-circle-size:var(--spectrum-progress-circle-size,var(--spectrum-progress-circle-size-large))}slot{display:none}.track,.fill{block-size:var(--mod-progress-circle-size,var(--_spectrum-progress-circle-size));border-radius:var(--mod-progress-circle-size,var(--_spectrum-progress-circle-size));inline-size:var(--mod-progress-circle-size,var(--_spectrum-progress-circle-size))}:host([indeterminate]) .fills,:host([indeterminate]) .fillSubMask1,:host([indeterminate]) .fillSubMask2{animation-duration:var(--spectrum-animation-duration-2000)}
 `;var l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,m=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?u(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&l(e,r,c),c};class d extends((0,o.Z)(s.w,{validSizes:["s","m","l"]})){constructor(){super(...arguments),this.indeterminate=!1,this.label="",this.overBackground=!1,this.progress=0}static get styles(){return[n]}makeRotation(t){return this.indeterminate?void 0:`transform: rotate(${t}deg);`}willUpdate(t){t.has("overBackground")&&(this.static=this.overBackground?"white":this.static||void 0)}render(){const t=[this.makeRotation(3.6*Math.min(this.progress,50)-180),this.makeRotation(3.6*Math.max(this.progress-50,0)-180)];return c.qy`
             <slot @slotchange=${this.handleSlotchange}></slot>
@@ -16,9 +16,9 @@
                         </div>
                     `))}
             </div>
-        `}handleSlotchange(){const t=((t,e)=>{if(t)return null;const r=e.assignedNodes().reduce(((t,e)=>e.textContent?t+e.textContent:t),"");return r?r.trim():null})(this.label,this.slotEl);t&&(this.label=t)}firstUpdated(t){super.firstUpdated(t),this.hasAttribute("role")||this.setAttribute("role","progressbar")}updated(t){super.updated(t),!this.indeterminate&&t.has("progress")?this.setAttribute("aria-valuenow",""+this.progress):this.hasAttribute("aria-valuenow")&&this.removeAttribute("aria-valuenow"),t.has("label")&&(this.label.length?this.setAttribute("aria-label",this.label):t.get("label")===this.getAttribute("aria-label")&&this.removeAttribute("aria-label"))}}m([(0,a.MZ)({type:Boolean,reflect:!0})],d.prototype,"indeterminate",2),m([(0,a.MZ)({type:String})],d.prototype,"label",2),m([(0,a.MZ)({type:Boolean,reflect:!0,attribute:"over-background"})],d.prototype,"overBackground",2),m([(0,a.MZ)({reflect:!0})],d.prototype,"static",2),m([(0,a.MZ)({type:Number})],d.prototype,"progress",2),m([(0,a.P)("slot")],d.prototype,"slotEl",2),(0,r(308).e)("sp-progress-circle",d)},132:(t,e,r)=>{r.d(e,{b:()=>s,i:()=>o});const o=Symbol("element resolver updated");class s{constructor(t,{selector:e}={selector:""}){this._element=null,this._selector="",this.mutationCallback=t=>{let e=!1;t.forEach((t=>{if(!e){if("childList"===t.type){const r=this.element&&[...t.removedNodes].includes(this.element),o=!!this.selector&&[...t.addedNodes].some(this.elementIsSelected);e=e||r||o}if("attributes"===t.type){const r=t.target===this.element,o=!!this.selector&&this.elementIsSelected(t.target);e=e||r||o}}})),e&&this.resolveElement()},this.elementIsSelected=t=>{var e;return this.selectorIsId?(null==t?void 0:t.id)===this.selectorAsId:null==(e=null==t?void 0:t.matches)?void 0:e.call(t,this.selector)},this.host=t,this.selector=e,this.observer=new MutationObserver(this.mutationCallback),this.host.addController(this)}get element(){return this._element}set element(t){if(t===this.element)return;const e=this.element;this._element=t,this.host.requestUpdate(o,e)}get selector(){return this._selector}set selector(t){t!==this.selector&&(this.releaseElement(),this._selector=t,this.resolveElement())}get selectorAsId(){return this.selector.slice(1)}get selectorIsId(){return!!this.selector&&this.selector.startsWith("#")}hostConnected(){this.resolveElement(),this.observer.observe(this.host.getRootNode(),{subtree:!0,childList:!0,attributes:!0})}hostDisconnected(){this.releaseElement(),this.observer.disconnect()}resolveElement(){if(!this.selector)return void this.releaseElement();const t=this.host.getRootNode();this.element=this.selectorIsId?t.getElementById(this.selectorAsId):t.querySelector(this.selector)}releaseElement(){this.element=null}}},239:(t,e,r)=>{r.d(e,{_9:()=>s,yS:()=>o});const o="(max-width: 700px) and (hover: none) and (pointer: coarse), (max-height: 700px) and (hover: none) and (pointer: coarse)";class s{constructor(t,e){this.key=Symbol("match-media-key"),this.matches=!1,this.host=t,this.host.addController(this),this.media=window.matchMedia(e),this.matches=this.media.matches,this.onChange=this.onChange.bind(this),t.addController(this)}hostConnected(){var t;null==(t=this.media)||t.addEventListener("change",this.onChange)}hostDisconnected(){var t;null==(t=this.media)||t.removeEventListener("change",this.onChange)}onChange(t){this.matches!==t.matches&&(this.matches=t.matches,this.host.requestUpdate(this.key,!this.matches))}}},367:(t,e,r)=>{r.d(e,{U:()=>a,x:()=>c});const o=["button","[focusable]","[href]","input","label","select","textarea","[tabindex]"],s=':not([tabindex="-1"])',c=o.join(`${s}, `)+s,a=o.join(", ")},853:(t,e,r)=>{function o(t){return"undefined"!=typeof window&&null!=window.navigator&&t.test(window.navigator.platform)}function s(){return o(/^iPhone/)}function c(){return s()||o(/^iPad/)||o(/^Mac/)&&navigator.maxTouchPoints>1}function a(){return t=/Android/,"undefined"!=typeof window&&null!=window.navigator&&t.test(window.navigator.userAgent);var t}r.d(e,{m0:()=>a,mU:()=>s,un:()=>c})},47:(t,e,r)=>{function o(){return Array.from(crypto.getRandomValues(new Uint8Array(4)),(t=>`0${(255&t).toString(16)}`.slice(-2))).join("")}r.d(e,{l:()=>o})},804:(t,e,r)=>{r.d(e,{OA:()=>o,WL:()=>c,u$:()=>s});const o={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},s=t=>(...e)=>({_$litDirective$:t,values:e});class c{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,r){this._$Ct=t,this._$AM=e,this._$Ci=r}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}},752:(t,e,r)=>{r.d(e,{XX:()=>F,c0:()=>I,ge:()=>U,qy:()=>C,s6:()=>S});const o=globalThis,s=o.trustedTypes,c=s?s.createPolicy("lit-html",{createHTML:t=>t}):void 0,a="$lit$",i=`lit$${Math.random().toFixed(9).slice(2)}$`,n="?"+i,l=`<${n}>`,u=document,m=()=>u.createComment(""),d=t=>null===t||"object"!=typeof t&&"function"!=typeof t,p=Array.isArray,h=t=>p(t)||"function"==typeof t?.[Symbol.iterator],b="[ \t\n\f\r]",g=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,f=/>/g,k=RegExp(`>|${b}(?:([^\\s"'>=/]+)(${b}*=${b}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),y=/'/g,x=/"/g,w=/^(?:script|style|textarea|title)$/i,z=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),C=z(1),I=(z(2),Symbol.for("lit-noChange")),S=Symbol.for("lit-nothing"),$=new WeakMap,A=u.createTreeWalker(u,129);function E(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==c?c.createHTML(e):e}const q=(t,e)=>{const r=t.length-1,o=[];let s,c=2===e?"<svg>":"",n=g;for(let e=0;e<r;e++){const r=t[e];let u,m,d=-1,p=0;for(;p<r.length&&(n.lastIndex=p,m=n.exec(r),null!==m);)p=n.lastIndex,n===g?"!--"===m[1]?n=v:void 0!==m[1]?n=f:void 0!==m[2]?(w.test(m[2])&&(s=RegExp("</"+m[2],"g")),n=k):void 0!==m[3]&&(n=k):n===k?">"===m[0]?(n=s??g,d=-1):void 0===m[1]?d=-2:(d=n.lastIndex-m[2].length,u=m[1],n=void 0===m[3]?k:'"'===m[3]?x:y):n===x||n===y?n=k:n===v||n===f?n=g:(n=k,s=void 0);const h=n===k&&t[e+1].startsWith("/>")?" ":"";c+=n===g?r+l:d>=0?(o.push(u),r.slice(0,d)+a+r.slice(d)+i+h):r+i+(-2===d?e:h)}return[E(t,c+(t[r]||"<?>")+(2===e?"</svg>":"")),o]};class T{constructor({strings:t,_$litType$:e},r){let o;this.parts=[];let c=0,l=0;const u=t.length-1,d=this.parts,[p,h]=q(t,e);if(this.el=T.createElement(p,r),A.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(o=A.nextNode())&&d.length<u;){if(1===o.nodeType){if(o.hasAttributes())for(const t of o.getAttributeNames())if(t.endsWith(a)){const e=h[l++],r=o.getAttribute(t).split(i),s=/([.?@])?(.*)/.exec(e);d.push({type:1,index:c,name:s[2],strings:r,ctor:"."===s[1]?P:"?"===s[1]?D:"@"===s[1]?L:H}),o.removeAttribute(t)}else t.startsWith(i)&&(d.push({type:6,index:c}),o.removeAttribute(t));if(w.test(o.tagName)){const t=o.textContent.split(i),e=t.length-1;if(e>0){o.textContent=s?s.emptyScript:"";for(let r=0;r<e;r++)o.append(t[r],m()),A.nextNode(),d.push({type:2,index:++c});o.append(t[e],m())}}}else if(8===o.nodeType)if(o.data===n)d.push({type:2,index:c});else{let t=-1;for(;-1!==(t=o.data.indexOf(i,t+1));)d.push({type:7,index:c}),t+=i.length-1}c++}}static createElement(t,e){const r=u.createElement("template");return r.innerHTML=t,r}}function j(t,e,r=t,o){if(e===I)return e;let s=void 0!==o?r._$Co?.[o]:r._$Cl;const c=d(e)?void 0:e._$litDirective$;return s?.constructor!==c&&(s?._$AO?.(!1),void 0===c?s=void 0:(s=new c(t),s._$AT(t,r,o)),void 0!==o?(r._$Co??=[])[o]=s:r._$Cl=s),void 0!==s&&(e=j(t,s._$AS(t,e.values),s,o)),e}class M{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:r}=this._$AD,o=(t?.creationScope??u).importNode(e,!0);A.currentNode=o;let s=A.nextNode(),c=0,a=0,i=r[0];for(;void 0!==i;){if(c===i.index){let e;2===i.type?e=new _(s,s.nextSibling,this,t):1===i.type?e=new i.ctor(s,i.name,i.strings,this,t):6===i.type&&(e=new O(s,this,t)),this._$AV.push(e),i=r[++a]}c!==i?.index&&(s=A.nextNode(),c++)}return A.currentNode=u,o}p(t){let e=0;for(const r of this._$AV)void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}}class _{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,r,o){this.type=2,this._$AH=S,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=j(this,t,e),d(t)?t===S||null==t||""===t?(this._$AH!==S&&this._$AR(),this._$AH=S):t!==this._$AH&&t!==I&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):h(t)?this.k(t):this._(t)}S(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}_(t){this._$AH!==S&&d(this._$AH)?this._$AA.nextSibling.data=t:this.T(u.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:r}=t,o="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=T.createElement(E(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===o)this._$AH.p(e);else{const t=new M(o,this),r=t.u(this.options);t.p(e),this.T(r),this._$AH=t}}_$AC(t){let e=$.get(t.strings);return void 0===e&&$.set(t.strings,e=new T(t)),e}k(t){p(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,o=0;for(const s of t)o===e.length?e.push(r=new _(this.S(m()),this.S(m()),this,this.options)):r=e[o],r._$AI(s),o++;o<e.length&&(this._$AR(r&&r._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class H{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,r,o,s){this.type=1,this._$AH=S,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=S}_$AI(t,e=this,r,o){const s=this.strings;let c=!1;if(void 0===s)t=j(this,t,e,0),c=!d(t)||t!==this._$AH&&t!==I,c&&(this._$AH=t);else{const o=t;let a,i;for(t=s[0],a=0;a<s.length-1;a++)i=j(this,o[r+a],e,a),i===I&&(i=this._$AH[a]),c||=!d(i)||i!==this._$AH[a],i===S?t=S:t!==S&&(t+=(i??"")+s[a+1]),this._$AH[a]=i}c&&!o&&this.j(t)}j(t){t===S?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class P extends H{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===S?void 0:t}}class D extends H{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==S)}}class L extends H{constructor(t,e,r,o,s){super(t,e,r,o,s),this.type=5}_$AI(t,e=this){if((t=j(this,t,e,0)??S)===I)return;const r=this._$AH,o=t===S&&r!==S||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,s=t!==S&&(r===S||o);o&&this.element.removeEventListener(this.name,this,r),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class O{constructor(t,e,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){j(this,t)}}const U={P:a,A:i,C:n,M:1,L:q,R:M,D:h,V:j,I:_,H,N:D,U:L,B:P,F:O},B=o.litHtmlPolyfillSupport;B?.(T,_),(o.litHtmlVersions??=[]).push("3.1.3");const F=(t,e,r)=>{const o=r?.renderBefore??e;let s=o._$litPart$;if(void 0===s){const t=r?.renderBefore??null;o._$litPart$=s=new _(e.insertBefore(m(),t),t,void 0,r??{})}return s._$AI(t),s}},352:(t,e,r)=>{r.d(e,{MZ:()=>a,P:()=>l,KN:()=>u,gZ:()=>m,wk:()=>i});var o=r(842);const s={attribute:!0,type:String,converter:o.W3,reflect:!1,hasChanged:o.Ec},c=(t=s,e,r)=>{const{kind:o,metadata:c}=r;let a=globalThis.litPropertyMetadata.get(c);if(void 0===a&&globalThis.litPropertyMetadata.set(c,a=new Map),a.set(r.name,t),"accessor"===o){const{name:o}=r;return{set(r){const s=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,s,t)},init(e){return void 0!==e&&this.P(o,void 0,t),e}}}if("setter"===o){const{name:o}=r;return function(r){const s=this[o];e.call(this,r),this.requestUpdate(o,s,t)}}throw Error("Unsupported decorator location: "+o)};function a(t){return(e,r)=>"object"==typeof r?c(t,e,r):((t,e,r)=>{const o=e.hasOwnProperty(r);return e.constructor.createProperty(r,o?{...t,wrapped:!0}:t),o?Object.getOwnPropertyDescriptor(e,r):void 0})(t,e,r)}function i(t){return a({...t,state:!0,attribute:!1})}const n=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&"object"!=typeof e&&Object.defineProperty(t,e,r),r);function l(t,e){return(r,o,s)=>{const c=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof o?r:s??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return n(r,o,{get(){let r=t.call(this);return void 0===r&&(r=c(this),(null!==r||this.hasUpdated)&&e.call(this,r)),r}})}return n(r,o,{get(){return c(this)}})}}function u(t){return(e,r)=>{const{slot:o,selector:s}=t??{},c="slot"+(o?`[name=${o}]`:":not([name])");return n(e,r,{get(){const e=this.renderRoot?.querySelector(c),r=e?.assignedElements(t)??[];return void 0===s?r:r.filter((t=>t.matches(s)))}})}}function m(t){return(e,r)=>{const{slot:o}=t??{},s="slot"+(o?`[name=${o}]`:":not([name])");return n(e,r,{get(){const e=this.renderRoot?.querySelector(s);return e?.assignedNodes(t)??[]}})}}},31:(t,e,r)=>{r.d(e,{J:()=>s});var o=r(752);const s=t=>t??o.s6},145:(t,e,r)=>{r.d(e,{W:()=>i});var o=r(752),s=r(804);const c="important",a=" !"+c,i=(0,s.u$)(class extends s.WL{constructor(t){if(super(t),t.type!==s.OA.ATTRIBUTE||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,r)=>{const o=t[r];return null==o?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`}),"")}update(t,[e]){const{style:r}=t.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(e)),this.render(e);for(const t of this.ft)null==e[t]&&(this.ft.delete(t),t.includes("-")?r.removeProperty(t):r[t]=null);for(const t in e){const o=e[t];if(null!=o){this.ft.add(t);const e="string"==typeof o&&o.endsWith(a);t.includes("-")||e?r.setProperty(t,e?o.slice(0,-11):o,e?c:""):r[t]=o}}return o.c0}})},618:(t,e,r)=>{r.d(e,{WF:()=>c,AH:()=>o.AH,qy:()=>s.qy,s6:()=>s.s6,qM:()=>o.qM});var o=r(842),s=r(752);class c extends o.mN{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,s.XX)(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return s.c0}}c._$litElement$=!0,c.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:c});const a=globalThis.litElementPolyfillSupport;a?.({LitElement:c}),(globalThis.litElementVersions??=[]).push("4.0.5")}},c={};function a(t){var e=c[t];if(void 0!==e)return e.exports;var r=c[t]={exports:{}};return s[t].call(r.exports,r,r.exports,a),r.exports}a.m=s,e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,a.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"==typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"==typeof r.then)return r}var s=Object.create(null);a.r(s);var c={};t=t||[null,e({}),e([]),e(e)];for(var i=2&o&&r;"object"==typeof i&&!~t.indexOf(i);i=e(i))Object.getOwnPropertyNames(i).forEach((t=>c[t]=()=>r[t]));return c.default=()=>r,a.d(s,c),s},a.d=(t,e)=>{for(var r in e)a.o(e,r)&&!a.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},a.f={},a.e=t=>Promise.all(Object.keys(a.f).reduce(((e,r)=>(a.f[r](t,e),e)),[])),a.u=t=>t+".spectrum-web-components.js",a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r={},o="@adobe/helix-importer-ui:",a.l=(t,e,s,c)=>{if(r[t])r[t].push(e);else{var i,n;if(void 0!==s)for(var l=document.getElementsByTagName("script"),u=0;u<l.length;u++){var m=l[u];if(m.getAttribute("src")==t||m.getAttribute("data-webpack")==o+s){i=m;break}}i||(n=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,a.nc&&i.setAttribute("nonce",a.nc),i.setAttribute("data-webpack",o+s),i.src=t),r[t]=[e];var d=(e,o)=>{i.onerror=i.onload=null,clearTimeout(p);var s=r[t];if(delete r[t],i.parentNode&&i.parentNode.removeChild(i),s&&s.forEach((t=>t(o))),e)return e(o)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),n&&document.head.appendChild(i)}},a.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.p="./js/dist/",(()=>{var t={792:0};a.f.j=(e,r)=>{var o=a.o(t,e)?t[e]:void 0;if(0!==o)if(o)r.push(o[2]);else{var s=new Promise(((r,s)=>o=t[e]=[r,s]));r.push(o[2]=s);var c=a.p+a.u(e),i=new Error;a.l(c,(r=>{if(a.o(t,e)&&(0!==(o=t[e])&&(t[e]=void 0),o)){var s=r&&("load"===r.type?"missing":r.type),c=r&&r.target&&r.target.src;i.message="Loading chunk "+e+" failed.\n("+s+": "+c+")",i.name="ChunkLoadError",i.type=s,i.request=c,o[1](i)}}),"chunk-"+e,e)}};var e=(e,r)=>{var o,s,[c,i,n]=r,l=0;if(c.some((e=>0!==t[e]))){for(o in i)a.o(i,o)&&(a.m[o]=i[o]);n&&n(a)}for(e&&e(r);l<c.length;l++)s=c[l],a.o(t,s)&&t[s]&&t[s][0](),t[s]=0},r=globalThis.webpackChunk_adobe_helix_importer_ui=globalThis.webpackChunk_adobe_helix_importer_ui||[];r.forEach(e.bind(null,0)),r.push=e.bind(null,r.push.bind(r))})(),(()=>{var t=a(618);const e=t.AH`
+        `}handleSlotchange(){const t=((t,e)=>{if(t)return null;const r=e.assignedNodes().reduce(((t,e)=>e.textContent?t+e.textContent:t),"");return r?r.trim():null})(this.label,this.slotEl);t&&(this.label=t)}firstUpdated(t){super.firstUpdated(t),this.hasAttribute("role")||this.setAttribute("role","progressbar")}updated(t){super.updated(t),!this.indeterminate&&t.has("progress")?this.setAttribute("aria-valuenow",""+this.progress):this.hasAttribute("aria-valuenow")&&this.removeAttribute("aria-valuenow"),t.has("label")&&(this.label.length?this.setAttribute("aria-label",this.label):t.get("label")===this.getAttribute("aria-label")&&this.removeAttribute("aria-label"))}}m([(0,a.MZ)({type:Boolean,reflect:!0})],d.prototype,"indeterminate",2),m([(0,a.MZ)({type:String})],d.prototype,"label",2),m([(0,a.MZ)({type:Boolean,reflect:!0,attribute:"over-background"})],d.prototype,"overBackground",2),m([(0,a.MZ)({reflect:!0})],d.prototype,"static",2),m([(0,a.MZ)({type:Number})],d.prototype,"progress",2),m([(0,a.P)("slot")],d.prototype,"slotEl",2),(0,r(308).e)("sp-progress-circle",d)},132:(t,e,r)=>{r.d(e,{b:()=>s,i:()=>o});const o=Symbol("element resolver updated");class s{constructor(t,{selector:e}={selector:""}){this._element=null,this._selector="",this.mutationCallback=t=>{let e=!1;t.forEach((t=>{if(!e){if("childList"===t.type){const r=this.element&&[...t.removedNodes].includes(this.element),o=!!this.selector&&[...t.addedNodes].some(this.elementIsSelected);e=e||r||o}if("attributes"===t.type){const r=t.target===this.element,o=!!this.selector&&this.elementIsSelected(t.target);e=e||r||o}}})),e&&this.resolveElement()},this.elementIsSelected=t=>{var e;return this.selectorIsId?(null==t?void 0:t.id)===this.selectorAsId:null==(e=null==t?void 0:t.matches)?void 0:e.call(t,this.selector)},this.host=t,this.selector=e,this.observer=new MutationObserver(this.mutationCallback),this.host.addController(this)}get element(){return this._element}set element(t){if(t===this.element)return;const e=this.element;this._element=t,this.host.requestUpdate(o,e)}get selector(){return this._selector}set selector(t){t!==this.selector&&(this.releaseElement(),this._selector=t,this.resolveElement())}get selectorAsId(){return this.selector.slice(1)}get selectorIsId(){return!!this.selector&&this.selector.startsWith("#")}hostConnected(){this.resolveElement(),this.observer.observe(this.host.getRootNode(),{subtree:!0,childList:!0,attributes:!0})}hostDisconnected(){this.releaseElement(),this.observer.disconnect()}resolveElement(){if(!this.selector)return void this.releaseElement();const t=this.host.getRootNode();this.element=this.selectorIsId?t.getElementById(this.selectorAsId):t.querySelector(this.selector)}releaseElement(){this.element=null}}},239:(t,e,r)=>{r.d(e,{_9:()=>s,yS:()=>o});const o="(max-width: 700px) and (hover: none) and (pointer: coarse), (max-height: 700px) and (hover: none) and (pointer: coarse)";class s{constructor(t,e){this.key=Symbol("match-media-key"),this.matches=!1,this.host=t,this.host.addController(this),this.media=window.matchMedia(e),this.matches=this.media.matches,this.onChange=this.onChange.bind(this),t.addController(this)}hostConnected(){var t;null==(t=this.media)||t.addEventListener("change",this.onChange)}hostDisconnected(){var t;null==(t=this.media)||t.removeEventListener("change",this.onChange)}onChange(t){this.matches!==t.matches&&(this.matches=t.matches,this.host.requestUpdate(this.key,!this.matches))}}},367:(t,e,r)=>{r.d(e,{U:()=>a,x:()=>c});const o=["button","[focusable]","[href]","input","label","select","textarea","[tabindex]"],s=':not([tabindex="-1"])',c=o.join(`${s}, `)+s,a=o.join(", ")},853:(t,e,r)=>{function o(t){return"undefined"!=typeof window&&null!=window.navigator&&t.test(window.navigator.platform)}function s(){return o(/^iPhone/)}function c(){return s()||o(/^iPad/)||o(/^Mac/)&&navigator.maxTouchPoints>1}function a(){return t=/Android/,"undefined"!=typeof window&&null!=window.navigator&&t.test(window.navigator.userAgent);var t}r.d(e,{m0:()=>a,mU:()=>s,un:()=>c})},47:(t,e,r)=>{function o(){return Array.from(crypto.getRandomValues(new Uint8Array(4)),(t=>`0${(255&t).toString(16)}`.slice(-2))).join("")}r.d(e,{l:()=>o})},804:(t,e,r)=>{r.d(e,{OA:()=>o,WL:()=>c,u$:()=>s});const o={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},s=t=>(...e)=>({_$litDirective$:t,values:e});class c{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,r){this._$Ct=t,this._$AM=e,this._$Ci=r}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}},752:(t,e,r)=>{r.d(e,{XX:()=>F,c0:()=>I,ge:()=>U,qy:()=>C,s6:()=>S});const o=globalThis,s=o.trustedTypes,c=s?s.createPolicy("lit-html",{createHTML:t=>t}):void 0,a="$lit$",i=`lit$${Math.random().toFixed(9).slice(2)}$`,n="?"+i,l=`<${n}>`,u=document,m=()=>u.createComment(""),d=t=>null===t||"object"!=typeof t&&"function"!=typeof t,p=Array.isArray,h=t=>p(t)||"function"==typeof t?.[Symbol.iterator],b="[ \t\n\f\r]",g=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,f=/>/g,k=RegExp(`>|${b}(?:([^\\s"'>=/]+)(${b}*=${b}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),y=/'/g,x=/"/g,w=/^(?:script|style|textarea|title)$/i,z=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),C=z(1),I=(z(2),Symbol.for("lit-noChange")),S=Symbol.for("lit-nothing"),$=new WeakMap,A=u.createTreeWalker(u,129);function E(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==c?c.createHTML(e):e}const q=(t,e)=>{const r=t.length-1,o=[];let s,c=2===e?"<svg>":"",n=g;for(let e=0;e<r;e++){const r=t[e];let u,m,d=-1,p=0;for(;p<r.length&&(n.lastIndex=p,m=n.exec(r),null!==m);)p=n.lastIndex,n===g?"!--"===m[1]?n=v:void 0!==m[1]?n=f:void 0!==m[2]?(w.test(m[2])&&(s=RegExp("</"+m[2],"g")),n=k):void 0!==m[3]&&(n=k):n===k?">"===m[0]?(n=s??g,d=-1):void 0===m[1]?d=-2:(d=n.lastIndex-m[2].length,u=m[1],n=void 0===m[3]?k:'"'===m[3]?x:y):n===x||n===y?n=k:n===v||n===f?n=g:(n=k,s=void 0);const h=n===k&&t[e+1].startsWith("/>")?" ":"";c+=n===g?r+l:d>=0?(o.push(u),r.slice(0,d)+a+r.slice(d)+i+h):r+i+(-2===d?e:h)}return[E(t,c+(t[r]||"<?>")+(2===e?"</svg>":"")),o]};class T{constructor({strings:t,_$litType$:e},r){let o;this.parts=[];let c=0,l=0;const u=t.length-1,d=this.parts,[p,h]=q(t,e);if(this.el=T.createElement(p,r),A.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(o=A.nextNode())&&d.length<u;){if(1===o.nodeType){if(o.hasAttributes())for(const t of o.getAttributeNames())if(t.endsWith(a)){const e=h[l++],r=o.getAttribute(t).split(i),s=/([.?@])?(.*)/.exec(e);d.push({type:1,index:c,name:s[2],strings:r,ctor:"."===s[1]?P:"?"===s[1]?D:"@"===s[1]?L:H}),o.removeAttribute(t)}else t.startsWith(i)&&(d.push({type:6,index:c}),o.removeAttribute(t));if(w.test(o.tagName)){const t=o.textContent.split(i),e=t.length-1;if(e>0){o.textContent=s?s.emptyScript:"";for(let r=0;r<e;r++)o.append(t[r],m()),A.nextNode(),d.push({type:2,index:++c});o.append(t[e],m())}}}else if(8===o.nodeType)if(o.data===n)d.push({type:2,index:c});else{let t=-1;for(;-1!==(t=o.data.indexOf(i,t+1));)d.push({type:7,index:c}),t+=i.length-1}c++}}static createElement(t,e){const r=u.createElement("template");return r.innerHTML=t,r}}function j(t,e,r=t,o){if(e===I)return e;let s=void 0!==o?r._$Co?.[o]:r._$Cl;const c=d(e)?void 0:e._$litDirective$;return s?.constructor!==c&&(s?._$AO?.(!1),void 0===c?s=void 0:(s=new c(t),s._$AT(t,r,o)),void 0!==o?(r._$Co??=[])[o]=s:r._$Cl=s),void 0!==s&&(e=j(t,s._$AS(t,e.values),s,o)),e}class M{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:r}=this._$AD,o=(t?.creationScope??u).importNode(e,!0);A.currentNode=o;let s=A.nextNode(),c=0,a=0,i=r[0];for(;void 0!==i;){if(c===i.index){let e;2===i.type?e=new _(s,s.nextSibling,this,t):1===i.type?e=new i.ctor(s,i.name,i.strings,this,t):6===i.type&&(e=new O(s,this,t)),this._$AV.push(e),i=r[++a]}c!==i?.index&&(s=A.nextNode(),c++)}return A.currentNode=u,o}p(t){let e=0;for(const r of this._$AV)void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}}class _{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,r,o){this.type=2,this._$AH=S,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=j(this,t,e),d(t)?t===S||null==t||""===t?(this._$AH!==S&&this._$AR(),this._$AH=S):t!==this._$AH&&t!==I&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):h(t)?this.k(t):this._(t)}S(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}_(t){this._$AH!==S&&d(this._$AH)?this._$AA.nextSibling.data=t:this.T(u.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:r}=t,o="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=T.createElement(E(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===o)this._$AH.p(e);else{const t=new M(o,this),r=t.u(this.options);t.p(e),this.T(r),this._$AH=t}}_$AC(t){let e=$.get(t.strings);return void 0===e&&$.set(t.strings,e=new T(t)),e}k(t){p(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,o=0;for(const s of t)o===e.length?e.push(r=new _(this.S(m()),this.S(m()),this,this.options)):r=e[o],r._$AI(s),o++;o<e.length&&(this._$AR(r&&r._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class H{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,r,o,s){this.type=1,this._$AH=S,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=S}_$AI(t,e=this,r,o){const s=this.strings;let c=!1;if(void 0===s)t=j(this,t,e,0),c=!d(t)||t!==this._$AH&&t!==I,c&&(this._$AH=t);else{const o=t;let a,i;for(t=s[0],a=0;a<s.length-1;a++)i=j(this,o[r+a],e,a),i===I&&(i=this._$AH[a]),c||=!d(i)||i!==this._$AH[a],i===S?t=S:t!==S&&(t+=(i??"")+s[a+1]),this._$AH[a]=i}c&&!o&&this.j(t)}j(t){t===S?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class P extends H{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===S?void 0:t}}class D extends H{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==S)}}class L extends H{constructor(t,e,r,o,s){super(t,e,r,o,s),this.type=5}_$AI(t,e=this){if((t=j(this,t,e,0)??S)===I)return;const r=this._$AH,o=t===S&&r!==S||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,s=t!==S&&(r===S||o);o&&this.element.removeEventListener(this.name,this,r),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class O{constructor(t,e,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){j(this,t)}}const U={P:a,A:i,C:n,M:1,L:q,R:M,D:h,V:j,I:_,H,N:D,U:L,B:P,F:O},B=o.litHtmlPolyfillSupport;B?.(T,_),(o.litHtmlVersions??=[]).push("3.1.3");const F=(t,e,r)=>{const o=r?.renderBefore??e;let s=o._$litPart$;if(void 0===s){const t=r?.renderBefore??null;o._$litPart$=s=new _(e.insertBefore(m(),t),t,void 0,r??{})}return s._$AI(t),s}},352:(t,e,r)=>{r.d(e,{MZ:()=>a,P:()=>l,KN:()=>u,gZ:()=>m,wk:()=>i});var o=r(842);const s={attribute:!0,type:String,converter:o.W3,reflect:!1,hasChanged:o.Ec},c=(t=s,e,r)=>{const{kind:o,metadata:c}=r;let a=globalThis.litPropertyMetadata.get(c);if(void 0===a&&globalThis.litPropertyMetadata.set(c,a=new Map),a.set(r.name,t),"accessor"===o){const{name:o}=r;return{set(r){const s=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,s,t)},init(e){return void 0!==e&&this.P(o,void 0,t),e}}}if("setter"===o){const{name:o}=r;return function(r){const s=this[o];e.call(this,r),this.requestUpdate(o,s,t)}}throw Error("Unsupported decorator location: "+o)};function a(t){return(e,r)=>"object"==typeof r?c(t,e,r):((t,e,r)=>{const o=e.hasOwnProperty(r);return e.constructor.createProperty(r,o?{...t,wrapped:!0}:t),o?Object.getOwnPropertyDescriptor(e,r):void 0})(t,e,r)}function i(t){return a({...t,state:!0,attribute:!1})}const n=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&"object"!=typeof e&&Object.defineProperty(t,e,r),r);function l(t,e){return(r,o,s)=>{const c=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof o?r:s??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return n(r,o,{get(){let r=t.call(this);return void 0===r&&(r=c(this),(null!==r||this.hasUpdated)&&e.call(this,r)),r}})}return n(r,o,{get(){return c(this)}})}}function u(t){return(e,r)=>{const{slot:o,selector:s}=t??{},c="slot"+(o?`[name=${o}]`:":not([name])");return n(e,r,{get(){const e=this.renderRoot?.querySelector(c),r=e?.assignedElements(t)??[];return void 0===s?r:r.filter((t=>t.matches(s)))}})}}function m(t){return(e,r)=>{const{slot:o}=t??{},s="slot"+(o?`[name=${o}]`:":not([name])");return n(e,r,{get(){const e=this.renderRoot?.querySelector(s);return e?.assignedNodes(t)??[]}})}}},31:(t,e,r)=>{r.d(e,{J:()=>s});var o=r(752);const s=t=>t??o.s6},145:(t,e,r)=>{r.d(e,{W:()=>i});var o=r(752),s=r(804);const c="important",a=" !"+c,i=(0,s.u$)(class extends s.WL{constructor(t){if(super(t),t.type!==s.OA.ATTRIBUTE||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,r)=>{const o=t[r];return null==o?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`}),"")}update(t,[e]){const{style:r}=t.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(e)),this.render(e);for(const t of this.ft)null==e[t]&&(this.ft.delete(t),t.includes("-")?r.removeProperty(t):r[t]=null);for(const t in e){const o=e[t];if(null!=o){this.ft.add(t);const e="string"==typeof o&&o.endsWith(a);t.includes("-")||e?r.setProperty(t,e?o.slice(0,-11):o,e?c:""):r[t]=o}}return o.c0}})},618:(t,e,r)=>{r.d(e,{WF:()=>c,AH:()=>o.AH,qy:()=>s.qy,s6:()=>s.s6,qM:()=>o.qM});var o=r(842),s=r(752);class c extends o.mN{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,s.XX)(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return s.c0}}c._$litElement$=!0,c.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:c});const a=globalThis.litElementPolyfillSupport;a?.({LitElement:c}),(globalThis.litElementVersions??=[]).push("4.0.5")}},c={};function a(t){var e=c[t];if(void 0!==e)return e.exports;var r=c[t]={exports:{}};return s[t].call(r.exports,r,r.exports,a),r.exports}a.m=s,e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,a.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"==typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"==typeof r.then)return r}var s=Object.create(null);a.r(s);var c={};t=t||[null,e({}),e([]),e(e)];for(var i=2&o&&r;"object"==typeof i&&!~t.indexOf(i);i=e(i))Object.getOwnPropertyNames(i).forEach((t=>c[t]=()=>r[t]));return c.default=()=>r,a.d(s,c),s},a.d=(t,e)=>{for(var r in e)a.o(e,r)&&!a.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},a.f={},a.e=t=>Promise.all(Object.keys(a.f).reduce(((e,r)=>(a.f[r](t,e),e)),[])),a.u=t=>t+".spectrum-web-components.js",a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r={},o="@adobe/helix-importer-ui:",a.l=(t,e,s,c)=>{if(r[t])r[t].push(e);else{var i,n;if(void 0!==s)for(var l=document.getElementsByTagName("script"),u=0;u<l.length;u++){var m=l[u];if(m.getAttribute("src")==t||m.getAttribute("data-webpack")==o+s){i=m;break}}i||(n=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,a.nc&&i.setAttribute("nonce",a.nc),i.setAttribute("data-webpack",o+s),i.src=t),r[t]=[e];var d=(e,o)=>{i.onerror=i.onload=null,clearTimeout(p);var s=r[t];if(delete r[t],i.parentNode&&i.parentNode.removeChild(i),s&&s.forEach((t=>t(o))),e)return e(o)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),n&&document.head.appendChild(i)}},a.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.p="./js/dist/",(()=>{var t={792:0};a.f.j=(e,r)=>{var o=a.o(t,e)?t[e]:void 0;if(0!==o)if(o)r.push(o[2]);else{var s=new Promise(((r,s)=>o=t[e]=[r,s]));r.push(o[2]=s);var c=a.p+a.u(e),i=new Error;a.l(c,(r=>{if(a.o(t,e)&&(0!==(o=t[e])&&(t[e]=void 0),o)){var s=r&&("load"===r.type?"missing":r.type),c=r&&r.target&&r.target.src;i.message="Loading chunk "+e+" failed.\n("+s+": "+c+")",i.name="ChunkLoadError",i.type=s,i.request=c,o[1](i)}}),"chunk-"+e,e)}};var e=(e,r)=>{var o,s,[c,i,n]=r,l=0;if(c.some((e=>0!==t[e]))){for(o in i)a.o(i,o)&&(a.m[o]=i[o]);n&&n(a)}for(e&&e(r);l<c.length;l++)s=c[l],a.o(t,s)&&t[s]&&t[s][0](),t[s]=0},r=globalThis.webpackChunk_adobe_helix_importer_ui=globalThis.webpackChunk_adobe_helix_importer_ui||[];r.forEach(e.bind(null,0)),r.push=e.bind(null,r.push.bind(r))})();var i=a(618);const n=i.AH`
     :root,:host{--spectrum-global-color-status:Verified;--spectrum-global-color-version:5.1;--spectrum-global-color-opacity-100:1;--spectrum-global-color-opacity-90:.9;--spectrum-global-color-opacity-80:.8;--spectrum-global-color-opacity-70:.7;--spectrum-global-color-opacity-60:.6;--spectrum-global-color-opacity-55:.55;--spectrum-global-color-opacity-50:.5;--spectrum-global-color-opacity-42:.42;--spectrum-global-color-opacity-40:.4;--spectrum-global-color-opacity-30:.3;--spectrum-global-color-opacity-25:.25;--spectrum-global-color-opacity-20:.2;--spectrum-global-color-opacity-15:.15;--spectrum-global-color-opacity-10:.1;--spectrum-global-color-opacity-8:.08;--spectrum-global-color-opacity-7:.07;--spectrum-global-color-opacity-6:.06;--spectrum-global-color-opacity-5:.05;--spectrum-global-color-opacity-4:.04;--spectrum-global-color-opacity-0:0;--spectrum-global-color-celery-400-rgb:34,184,51;--spectrum-global-color-celery-400:rgb(var(--spectrum-global-color-celery-400-rgb));--spectrum-global-color-celery-500-rgb:68,202,73;--spectrum-global-color-celery-500:rgb(var(--spectrum-global-color-celery-500-rgb));--spectrum-global-color-celery-600-rgb:105,220,99;--spectrum-global-color-celery-600:rgb(var(--spectrum-global-color-celery-600-rgb));--spectrum-global-color-celery-700-rgb:142,235,127;--spectrum-global-color-celery-700:rgb(var(--spectrum-global-color-celery-700-rgb));--spectrum-global-color-chartreuse-400-rgb:148,192,8;--spectrum-global-color-chartreuse-400:rgb(var(--spectrum-global-color-chartreuse-400-rgb));--spectrum-global-color-chartreuse-500-rgb:166,211,18;--spectrum-global-color-chartreuse-500:rgb(var(--spectrum-global-color-chartreuse-500-rgb));--spectrum-global-color-chartreuse-600-rgb:184,229,37;--spectrum-global-color-chartreuse-600:rgb(var(--spectrum-global-color-chartreuse-600-rgb));--spectrum-global-color-chartreuse-700-rgb:205,245,71;--spectrum-global-color-chartreuse-700:rgb(var(--spectrum-global-color-chartreuse-700-rgb));--spectrum-global-color-yellow-400-rgb:228,194,0;--spectrum-global-color-yellow-400:rgb(var(--spectrum-global-color-yellow-400-rgb));--spectrum-global-color-yellow-500-rgb:244,213,0;--spectrum-global-color-yellow-500:rgb(var(--spectrum-global-color-yellow-500-rgb));--spectrum-global-color-yellow-600-rgb:249,232,92;--spectrum-global-color-yellow-600:rgb(var(--spectrum-global-color-yellow-600-rgb));--spectrum-global-color-yellow-700-rgb:252,246,187;--spectrum-global-color-yellow-700:rgb(var(--spectrum-global-color-yellow-700-rgb));--spectrum-global-color-magenta-400-rgb:222,61,130;--spectrum-global-color-magenta-400:rgb(var(--spectrum-global-color-magenta-400-rgb));--spectrum-global-color-magenta-500-rgb:237,87,149;--spectrum-global-color-magenta-500:rgb(var(--spectrum-global-color-magenta-500-rgb));--spectrum-global-color-magenta-600-rgb:249,114,167;--spectrum-global-color-magenta-600:rgb(var(--spectrum-global-color-magenta-600-rgb));--spectrum-global-color-magenta-700-rgb:255,143,185;--spectrum-global-color-magenta-700:rgb(var(--spectrum-global-color-magenta-700-rgb));--spectrum-global-color-fuchsia-400-rgb:205,57,206;--spectrum-global-color-fuchsia-400:rgb(var(--spectrum-global-color-fuchsia-400-rgb));--spectrum-global-color-fuchsia-500-rgb:223,81,224;--spectrum-global-color-fuchsia-500:rgb(var(--spectrum-global-color-fuchsia-500-rgb));--spectrum-global-color-fuchsia-600-rgb:235,110,236;--spectrum-global-color-fuchsia-600:rgb(var(--spectrum-global-color-fuchsia-600-rgb));--spectrum-global-color-fuchsia-700-rgb:244,140,242;--spectrum-global-color-fuchsia-700:rgb(var(--spectrum-global-color-fuchsia-700-rgb));--spectrum-global-color-purple-400-rgb:157,87,243;--spectrum-global-color-purple-400:rgb(var(--spectrum-global-color-purple-400-rgb));--spectrum-global-color-purple-500-rgb:172,111,249;--spectrum-global-color-purple-500:rgb(var(--spectrum-global-color-purple-500-rgb));--spectrum-global-color-purple-600-rgb:187,135,251;--spectrum-global-color-purple-600:rgb(var(--spectrum-global-color-purple-600-rgb));--spectrum-global-color-purple-700-rgb:202,159,252;--spectrum-global-color-purple-700:rgb(var(--spectrum-global-color-purple-700-rgb));--spectrum-global-color-indigo-400-rgb:104,109,244;--spectrum-global-color-indigo-400:rgb(var(--spectrum-global-color-indigo-400-rgb));--spectrum-global-color-indigo-500-rgb:124,129,251;--spectrum-global-color-indigo-500:rgb(var(--spectrum-global-color-indigo-500-rgb));--spectrum-global-color-indigo-600-rgb:145,149,255;--spectrum-global-color-indigo-600:rgb(var(--spectrum-global-color-indigo-600-rgb));--spectrum-global-color-indigo-700-rgb:167,170,255;--spectrum-global-color-indigo-700:rgb(var(--spectrum-global-color-indigo-700-rgb));--spectrum-global-color-seafoam-400-rgb:0,158,152;--spectrum-global-color-seafoam-400:rgb(var(--spectrum-global-color-seafoam-400-rgb));--spectrum-global-color-seafoam-500-rgb:3,178,171;--spectrum-global-color-seafoam-500:rgb(var(--spectrum-global-color-seafoam-500-rgb));--spectrum-global-color-seafoam-600-rgb:54,197,189;--spectrum-global-color-seafoam-600:rgb(var(--spectrum-global-color-seafoam-600-rgb));--spectrum-global-color-seafoam-700-rgb:93,214,207;--spectrum-global-color-seafoam-700:rgb(var(--spectrum-global-color-seafoam-700-rgb));--spectrum-global-color-red-400-rgb:234,56,41;--spectrum-global-color-red-400:rgb(var(--spectrum-global-color-red-400-rgb));--spectrum-global-color-red-500-rgb:246,88,67;--spectrum-global-color-red-500:rgb(var(--spectrum-global-color-red-500-rgb));--spectrum-global-color-red-600-rgb:255,117,94;--spectrum-global-color-red-600:rgb(var(--spectrum-global-color-red-600-rgb));--spectrum-global-color-red-700-rgb:255,149,129;--spectrum-global-color-red-700:rgb(var(--spectrum-global-color-red-700-rgb));--spectrum-global-color-orange-400-rgb:244,129,12;--spectrum-global-color-orange-400:rgb(var(--spectrum-global-color-orange-400-rgb));--spectrum-global-color-orange-500-rgb:254,154,46;--spectrum-global-color-orange-500:rgb(var(--spectrum-global-color-orange-500-rgb));--spectrum-global-color-orange-600-rgb:255,181,88;--spectrum-global-color-orange-600:rgb(var(--spectrum-global-color-orange-600-rgb));--spectrum-global-color-orange-700-rgb:253,206,136;--spectrum-global-color-orange-700:rgb(var(--spectrum-global-color-orange-700-rgb));--spectrum-global-color-green-400-rgb:18,162,108;--spectrum-global-color-green-400:rgb(var(--spectrum-global-color-green-400-rgb));--spectrum-global-color-green-500-rgb:43,180,125;--spectrum-global-color-green-500:rgb(var(--spectrum-global-color-green-500-rgb));--spectrum-global-color-green-600-rgb:67,199,143;--spectrum-global-color-green-600:rgb(var(--spectrum-global-color-green-600-rgb));--spectrum-global-color-green-700-rgb:94,217,162;--spectrum-global-color-green-700:rgb(var(--spectrum-global-color-green-700-rgb));--spectrum-global-color-blue-400-rgb:52,143,244;--spectrum-global-color-blue-400:rgb(var(--spectrum-global-color-blue-400-rgb));--spectrum-global-color-blue-500-rgb:84,163,246;--spectrum-global-color-blue-500:rgb(var(--spectrum-global-color-blue-500-rgb));--spectrum-global-color-blue-600-rgb:114,183,249;--spectrum-global-color-blue-600:rgb(var(--spectrum-global-color-blue-600-rgb));--spectrum-global-color-blue-700-rgb:143,202,252;--spectrum-global-color-blue-700:rgb(var(--spectrum-global-color-blue-700-rgb));--spectrum-global-color-gray-50-rgb:29,29,29;--spectrum-global-color-gray-50:rgb(var(--spectrum-global-color-gray-50-rgb));--spectrum-global-color-gray-75-rgb:38,38,38;--spectrum-global-color-gray-75:rgb(var(--spectrum-global-color-gray-75-rgb));--spectrum-global-color-gray-100-rgb:50,50,50;--spectrum-global-color-gray-100:rgb(var(--spectrum-global-color-gray-100-rgb));--spectrum-global-color-gray-200-rgb:63,63,63;--spectrum-global-color-gray-200:rgb(var(--spectrum-global-color-gray-200-rgb));--spectrum-global-color-gray-300-rgb:84,84,84;--spectrum-global-color-gray-300:rgb(var(--spectrum-global-color-gray-300-rgb));--spectrum-global-color-gray-400-rgb:112,112,112;--spectrum-global-color-gray-400:rgb(var(--spectrum-global-color-gray-400-rgb));--spectrum-global-color-gray-500-rgb:144,144,144;--spectrum-global-color-gray-500:rgb(var(--spectrum-global-color-gray-500-rgb));--spectrum-global-color-gray-600-rgb:178,178,178;--spectrum-global-color-gray-600:rgb(var(--spectrum-global-color-gray-600-rgb));--spectrum-global-color-gray-700-rgb:209,209,209;--spectrum-global-color-gray-700:rgb(var(--spectrum-global-color-gray-700-rgb));--spectrum-global-color-gray-800-rgb:235,235,235;--spectrum-global-color-gray-800:rgb(var(--spectrum-global-color-gray-800-rgb));--spectrum-global-color-gray-900-rgb:255,255,255;--spectrum-global-color-gray-900:rgb(var(--spectrum-global-color-gray-900-rgb));--spectrum-alias-background-color-primary:var(--spectrum-global-color-gray-100);--spectrum-alias-background-color-secondary:var(--spectrum-global-color-gray-75);--spectrum-alias-background-color-tertiary:var(--spectrum-global-color-gray-50);--spectrum-alias-background-color-modal-overlay:#00000080;--spectrum-alias-dropshadow-color:#00000080;--spectrum-alias-background-color-hover-overlay:#ffffff0f;--spectrum-alias-highlight-hover:#ffffff12;--spectrum-alias-highlight-down:#ffffff1a;--spectrum-alias-highlight-selected:#54a3f626;--spectrum-alias-highlight-selected-hover:#54a3f640;--spectrum-alias-text-highlight-color:#54a3f640;--spectrum-alias-background-color-quickactions:#323232e6;--spectrum-alias-border-color-selected:var(--spectrum-global-color-blue-600);--spectrum-alias-border-color-translucent:#ffffff1a;--spectrum-alias-radial-reaction-color-default:#ebebeb99;--spectrum-alias-pasteboard-background-color:var(--spectrum-global-color-gray-50);--spectrum-alias-appframe-border-color:var(--spectrum-global-color-gray-50);--spectrum-alias-appframe-separator-color:var(--spectrum-global-color-gray-50)}:host,:root{color-scheme:dark;--spectrum-overlay-opacity:.5;--spectrum-drop-shadow-color-rgb:0,0,0;--spectrum-drop-shadow-color-opacity:.5;--spectrum-drop-shadow-color:rgba(var(--spectrum-drop-shadow-color-rgb),var(--spectrum-drop-shadow-color-opacity));--spectrum-background-base-color:var(--spectrum-gray-50);--spectrum-background-layer-1-color:var(--spectrum-gray-75);--spectrum-background-layer-2-color:var(--spectrum-gray-100);--spectrum-neutral-background-color-default:var(--spectrum-gray-400);--spectrum-neutral-background-color-hover:var(--spectrum-gray-300);--spectrum-neutral-background-color-down:var(--spectrum-gray-200);--spectrum-neutral-background-color-key-focus:var(--spectrum-gray-300);--spectrum-neutral-subdued-background-color-default:var(--spectrum-gray-400);--spectrum-neutral-subdued-background-color-hover:var(--spectrum-gray-300);--spectrum-neutral-subdued-background-color-down:var(--spectrum-gray-200);--spectrum-neutral-subdued-background-color-key-focus:var(--spectrum-gray-300);--spectrum-accent-background-color-default:var(--spectrum-accent-color-500);--spectrum-accent-background-color-hover:var(--spectrum-accent-color-400);--spectrum-accent-background-color-down:var(--spectrum-accent-color-300);--spectrum-accent-background-color-key-focus:var(--spectrum-accent-color-400);--spectrum-informative-background-color-default:var(--spectrum-informative-color-500);--spectrum-informative-background-color-hover:var(--spectrum-informative-color-400);--spectrum-informative-background-color-down:var(--spectrum-informative-color-300);--spectrum-informative-background-color-key-focus:var(--spectrum-informative-color-400);--spectrum-negative-background-color-default:var(--spectrum-negative-color-500);--spectrum-negative-background-color-hover:var(--spectrum-negative-color-400);--spectrum-negative-background-color-down:var(--spectrum-negative-color-300);--spectrum-negative-background-color-key-focus:var(--spectrum-negative-color-400);--spectrum-positive-background-color-default:var(--spectrum-positive-color-500);--spectrum-positive-background-color-hover:var(--spectrum-positive-color-400);--spectrum-positive-background-color-down:var(--spectrum-positive-color-300);--spectrum-positive-background-color-key-focus:var(--spectrum-positive-color-400);--spectrum-notice-background-color-default:var(--spectrum-notice-color-800);--spectrum-gray-background-color-default:var(--spectrum-gray-700);--spectrum-red-background-color-default:var(--spectrum-red-700);--spectrum-orange-background-color-default:var(--spectrum-orange-800);--spectrum-yellow-background-color-default:var(--spectrum-yellow-1000);--spectrum-chartreuse-background-color-default:var(--spectrum-chartreuse-900);--spectrum-celery-background-color-default:var(--spectrum-celery-800);--spectrum-green-background-color-default:var(--spectrum-green-700);--spectrum-seafoam-background-color-default:var(--spectrum-seafoam-700);--spectrum-cyan-background-color-default:var(--spectrum-cyan-700);--spectrum-blue-background-color-default:var(--spectrum-blue-700);--spectrum-indigo-background-color-default:var(--spectrum-indigo-700);--spectrum-purple-background-color-default:var(--spectrum-purple-700);--spectrum-fuchsia-background-color-default:var(--spectrum-fuchsia-700);--spectrum-magenta-background-color-default:var(--spectrum-magenta-700);--spectrum-neutral-visual-color:var(--spectrum-gray-600);--spectrum-accent-visual-color:var(--spectrum-accent-color-900);--spectrum-informative-visual-color:var(--spectrum-informative-color-900);--spectrum-negative-visual-color:var(--spectrum-negative-color-700);--spectrum-notice-visual-color:var(--spectrum-notice-color-900);--spectrum-positive-visual-color:var(--spectrum-positive-color-800);--spectrum-gray-visual-color:var(--spectrum-gray-600);--spectrum-red-visual-color:var(--spectrum-red-700);--spectrum-orange-visual-color:var(--spectrum-orange-900);--spectrum-yellow-visual-color:var(--spectrum-yellow-1100);--spectrum-chartreuse-visual-color:var(--spectrum-chartreuse-900);--spectrum-celery-visual-color:var(--spectrum-celery-800);--spectrum-green-visual-color:var(--spectrum-green-800);--spectrum-seafoam-visual-color:var(--spectrum-seafoam-800);--spectrum-cyan-visual-color:var(--spectrum-cyan-900);--spectrum-blue-visual-color:var(--spectrum-blue-900);--spectrum-indigo-visual-color:var(--spectrum-indigo-900);--spectrum-purple-visual-color:var(--spectrum-purple-900);--spectrum-fuchsia-visual-color:var(--spectrum-fuchsia-900);--spectrum-magenta-visual-color:var(--spectrum-magenta-900);--spectrum-opacity-checkerboard-square-dark:var(--spectrum-gray-800);--spectrum-gray-50-rgb:29,29,29;--spectrum-gray-50:rgba(var(--spectrum-gray-50-rgb));--spectrum-gray-75-rgb:38,38,38;--spectrum-gray-75:rgba(var(--spectrum-gray-75-rgb));--spectrum-gray-100-rgb:50,50,50;--spectrum-gray-100:rgba(var(--spectrum-gray-100-rgb));--spectrum-gray-200-rgb:63,63,63;--spectrum-gray-200:rgba(var(--spectrum-gray-200-rgb));--spectrum-gray-300-rgb:84,84,84;--spectrum-gray-300:rgba(var(--spectrum-gray-300-rgb));--spectrum-gray-400-rgb:112,112,112;--spectrum-gray-400:rgba(var(--spectrum-gray-400-rgb));--spectrum-gray-500-rgb:144,144,144;--spectrum-gray-500:rgba(var(--spectrum-gray-500-rgb));--spectrum-gray-600-rgb:178,178,178;--spectrum-gray-600:rgba(var(--spectrum-gray-600-rgb));--spectrum-gray-700-rgb:209,209,209;--spectrum-gray-700:rgba(var(--spectrum-gray-700-rgb));--spectrum-gray-800-rgb:235,235,235;--spectrum-gray-800:rgba(var(--spectrum-gray-800-rgb));--spectrum-gray-900-rgb:255,255,255;--spectrum-gray-900:rgba(var(--spectrum-gray-900-rgb));--spectrum-blue-100-rgb:0,56,119;--spectrum-blue-100:rgba(var(--spectrum-blue-100-rgb));--spectrum-blue-200-rgb:0,65,138;--spectrum-blue-200:rgba(var(--spectrum-blue-200-rgb));--spectrum-blue-300-rgb:0,77,163;--spectrum-blue-300:rgba(var(--spectrum-blue-300-rgb));--spectrum-blue-400-rgb:0,89,194;--spectrum-blue-400:rgba(var(--spectrum-blue-400-rgb));--spectrum-blue-500-rgb:3,103,224;--spectrum-blue-500:rgba(var(--spectrum-blue-500-rgb));--spectrum-blue-600-rgb:19,121,243;--spectrum-blue-600:rgba(var(--spectrum-blue-600-rgb));--spectrum-blue-700-rgb:52,143,244;--spectrum-blue-700:rgba(var(--spectrum-blue-700-rgb));--spectrum-blue-800-rgb:84,163,246;--spectrum-blue-800:rgba(var(--spectrum-blue-800-rgb));--spectrum-blue-900-rgb:114,183,249;--spectrum-blue-900:rgba(var(--spectrum-blue-900-rgb));--spectrum-blue-1000-rgb:143,202,252;--spectrum-blue-1000:rgba(var(--spectrum-blue-1000-rgb));--spectrum-blue-1100-rgb:174,219,254;--spectrum-blue-1100:rgba(var(--spectrum-blue-1100-rgb));--spectrum-blue-1200-rgb:204,233,255;--spectrum-blue-1200:rgba(var(--spectrum-blue-1200-rgb));--spectrum-blue-1300-rgb:232,246,255;--spectrum-blue-1300:rgba(var(--spectrum-blue-1300-rgb));--spectrum-blue-1400-rgb:255,255,255;--spectrum-blue-1400:rgba(var(--spectrum-blue-1400-rgb));--spectrum-red-100-rgb:123,0,0;--spectrum-red-100:rgba(var(--spectrum-red-100-rgb));--spectrum-red-200-rgb:141,0,0;--spectrum-red-200:rgba(var(--spectrum-red-200-rgb));--spectrum-red-300-rgb:165,0,0;--spectrum-red-300:rgba(var(--spectrum-red-300-rgb));--spectrum-red-400-rgb:190,4,3;--spectrum-red-400:rgba(var(--spectrum-red-400-rgb));--spectrum-red-500-rgb:215,25,19;--spectrum-red-500:rgba(var(--spectrum-red-500-rgb));--spectrum-red-600-rgb:234,56,41;--spectrum-red-600:rgba(var(--spectrum-red-600-rgb));--spectrum-red-700-rgb:246,88,67;--spectrum-red-700:rgba(var(--spectrum-red-700-rgb));--spectrum-red-800-rgb:255,117,94;--spectrum-red-800:rgba(var(--spectrum-red-800-rgb));--spectrum-red-900-rgb:255,149,129;--spectrum-red-900:rgba(var(--spectrum-red-900-rgb));--spectrum-red-1000-rgb:255,176,161;--spectrum-red-1000:rgba(var(--spectrum-red-1000-rgb));--spectrum-red-1100-rgb:255,201,189;--spectrum-red-1100:rgba(var(--spectrum-red-1100-rgb));--spectrum-red-1200-rgb:255,222,216;--spectrum-red-1200:rgba(var(--spectrum-red-1200-rgb));--spectrum-red-1300-rgb:255,241,238;--spectrum-red-1300:rgba(var(--spectrum-red-1300-rgb));--spectrum-red-1400-rgb:255,255,255;--spectrum-red-1400:rgba(var(--spectrum-red-1400-rgb));--spectrum-orange-100-rgb:102,37,0;--spectrum-orange-100:rgba(var(--spectrum-orange-100-rgb));--spectrum-orange-200-rgb:117,45,0;--spectrum-orange-200:rgba(var(--spectrum-orange-200-rgb));--spectrum-orange-300-rgb:137,55,0;--spectrum-orange-300:rgba(var(--spectrum-orange-300-rgb));--spectrum-orange-400-rgb:158,66,0;--spectrum-orange-400:rgba(var(--spectrum-orange-400-rgb));--spectrum-orange-500-rgb:180,78,0;--spectrum-orange-500:rgba(var(--spectrum-orange-500-rgb));--spectrum-orange-600-rgb:202,93,0;--spectrum-orange-600:rgba(var(--spectrum-orange-600-rgb));--spectrum-orange-700-rgb:225,109,0;--spectrum-orange-700:rgba(var(--spectrum-orange-700-rgb));--spectrum-orange-800-rgb:244,129,12;--spectrum-orange-800:rgba(var(--spectrum-orange-800-rgb));--spectrum-orange-900-rgb:254,154,46;--spectrum-orange-900:rgba(var(--spectrum-orange-900-rgb));--spectrum-orange-1000-rgb:255,181,88;--spectrum-orange-1000:rgba(var(--spectrum-orange-1000-rgb));--spectrum-orange-1100-rgb:253,206,136;--spectrum-orange-1100:rgba(var(--spectrum-orange-1100-rgb));--spectrum-orange-1200-rgb:255,225,179;--spectrum-orange-1200:rgba(var(--spectrum-orange-1200-rgb));--spectrum-orange-1300-rgb:255,242,221;--spectrum-orange-1300:rgba(var(--spectrum-orange-1300-rgb));--spectrum-orange-1400-rgb:255,253,249;--spectrum-orange-1400:rgba(var(--spectrum-orange-1400-rgb));--spectrum-yellow-100-rgb:76,54,0;--spectrum-yellow-100:rgba(var(--spectrum-yellow-100-rgb));--spectrum-yellow-200-rgb:88,64,0;--spectrum-yellow-200:rgba(var(--spectrum-yellow-200-rgb));--spectrum-yellow-300-rgb:103,76,0;--spectrum-yellow-300:rgba(var(--spectrum-yellow-300-rgb));--spectrum-yellow-400-rgb:119,89,0;--spectrum-yellow-400:rgba(var(--spectrum-yellow-400-rgb));--spectrum-yellow-500-rgb:136,104,0;--spectrum-yellow-500:rgba(var(--spectrum-yellow-500-rgb));--spectrum-yellow-600-rgb:155,120,0;--spectrum-yellow-600:rgba(var(--spectrum-yellow-600-rgb));--spectrum-yellow-700-rgb:174,137,0;--spectrum-yellow-700:rgba(var(--spectrum-yellow-700-rgb));--spectrum-yellow-800-rgb:192,156,0;--spectrum-yellow-800:rgba(var(--spectrum-yellow-800-rgb));--spectrum-yellow-900-rgb:211,174,0;--spectrum-yellow-900:rgba(var(--spectrum-yellow-900-rgb));--spectrum-yellow-1000-rgb:228,194,0;--spectrum-yellow-1000:rgba(var(--spectrum-yellow-1000-rgb));--spectrum-yellow-1100-rgb:244,213,0;--spectrum-yellow-1100:rgba(var(--spectrum-yellow-1100-rgb));--spectrum-yellow-1200-rgb:249,232,92;--spectrum-yellow-1200:rgba(var(--spectrum-yellow-1200-rgb));--spectrum-yellow-1300-rgb:252,246,187;--spectrum-yellow-1300:rgba(var(--spectrum-yellow-1300-rgb));--spectrum-yellow-1400-rgb:255,255,255;--spectrum-yellow-1400:rgba(var(--spectrum-yellow-1400-rgb));--spectrum-chartreuse-100-rgb:48,64,0;--spectrum-chartreuse-100:rgba(var(--spectrum-chartreuse-100-rgb));--spectrum-chartreuse-200-rgb:55,74,0;--spectrum-chartreuse-200:rgba(var(--spectrum-chartreuse-200-rgb));--spectrum-chartreuse-300-rgb:65,87,0;--spectrum-chartreuse-300:rgba(var(--spectrum-chartreuse-300-rgb));--spectrum-chartreuse-400-rgb:76,102,0;--spectrum-chartreuse-400:rgba(var(--spectrum-chartreuse-400-rgb));--spectrum-chartreuse-500-rgb:89,118,0;--spectrum-chartreuse-500:rgba(var(--spectrum-chartreuse-500-rgb));--spectrum-chartreuse-600-rgb:102,136,0;--spectrum-chartreuse-600:rgba(var(--spectrum-chartreuse-600-rgb));--spectrum-chartreuse-700-rgb:117,154,0;--spectrum-chartreuse-700:rgba(var(--spectrum-chartreuse-700-rgb));--spectrum-chartreuse-800-rgb:132,173,1;--spectrum-chartreuse-800:rgba(var(--spectrum-chartreuse-800-rgb));--spectrum-chartreuse-900-rgb:148,192,8;--spectrum-chartreuse-900:rgba(var(--spectrum-chartreuse-900-rgb));--spectrum-chartreuse-1000-rgb:166,211,18;--spectrum-chartreuse-1000:rgba(var(--spectrum-chartreuse-1000-rgb));--spectrum-chartreuse-1100-rgb:184,229,37;--spectrum-chartreuse-1100:rgba(var(--spectrum-chartreuse-1100-rgb));--spectrum-chartreuse-1200-rgb:205,245,71;--spectrum-chartreuse-1200:rgba(var(--spectrum-chartreuse-1200-rgb));--spectrum-chartreuse-1300-rgb:231,254,154;--spectrum-chartreuse-1300:rgba(var(--spectrum-chartreuse-1300-rgb));--spectrum-chartreuse-1400-rgb:255,255,255;--spectrum-chartreuse-1400:rgba(var(--spectrum-chartreuse-1400-rgb));--spectrum-celery-100-rgb:0,69,10;--spectrum-celery-100:rgba(var(--spectrum-celery-100-rgb));--spectrum-celery-200-rgb:0,80,12;--spectrum-celery-200:rgba(var(--spectrum-celery-200-rgb));--spectrum-celery-300-rgb:0,94,14;--spectrum-celery-300:rgba(var(--spectrum-celery-300-rgb));--spectrum-celery-400-rgb:0,109,15;--spectrum-celery-400:rgba(var(--spectrum-celery-400-rgb));--spectrum-celery-500-rgb:0,127,15;--spectrum-celery-500:rgba(var(--spectrum-celery-500-rgb));--spectrum-celery-600-rgb:0,145,18;--spectrum-celery-600:rgba(var(--spectrum-celery-600-rgb));--spectrum-celery-700-rgb:4,165,30;--spectrum-celery-700:rgba(var(--spectrum-celery-700-rgb));--spectrum-celery-800-rgb:34,184,51;--spectrum-celery-800:rgba(var(--spectrum-celery-800-rgb));--spectrum-celery-900-rgb:68,202,73;--spectrum-celery-900:rgba(var(--spectrum-celery-900-rgb));--spectrum-celery-1000-rgb:105,220,99;--spectrum-celery-1000:rgba(var(--spectrum-celery-1000-rgb));--spectrum-celery-1100-rgb:142,235,127;--spectrum-celery-1100:rgba(var(--spectrum-celery-1100-rgb));--spectrum-celery-1200-rgb:180,247,162;--spectrum-celery-1200:rgba(var(--spectrum-celery-1200-rgb));--spectrum-celery-1300-rgb:221,253,211;--spectrum-celery-1300:rgba(var(--spectrum-celery-1300-rgb));--spectrum-celery-1400-rgb:255,255,255;--spectrum-celery-1400:rgba(var(--spectrum-celery-1400-rgb));--spectrum-green-100-rgb:4,67,41;--spectrum-green-100:rgba(var(--spectrum-green-100-rgb));--spectrum-green-200-rgb:0,78,47;--spectrum-green-200:rgba(var(--spectrum-green-200-rgb));--spectrum-green-300-rgb:0,92,56;--spectrum-green-300:rgba(var(--spectrum-green-300-rgb));--spectrum-green-400-rgb:0,108,67;--spectrum-green-400:rgba(var(--spectrum-green-400-rgb));--spectrum-green-500-rgb:0,125,78;--spectrum-green-500:rgba(var(--spectrum-green-500-rgb));--spectrum-green-600-rgb:0,143,93;--spectrum-green-600:rgba(var(--spectrum-green-600-rgb));--spectrum-green-700-rgb:18,162,108;--spectrum-green-700:rgba(var(--spectrum-green-700-rgb));--spectrum-green-800-rgb:43,180,125;--spectrum-green-800:rgba(var(--spectrum-green-800-rgb));--spectrum-green-900-rgb:67,199,143;--spectrum-green-900:rgba(var(--spectrum-green-900-rgb));--spectrum-green-1000-rgb:94,217,162;--spectrum-green-1000:rgba(var(--spectrum-green-1000-rgb));--spectrum-green-1100-rgb:129,233,184;--spectrum-green-1100:rgba(var(--spectrum-green-1100-rgb));--spectrum-green-1200-rgb:177,244,209;--spectrum-green-1200:rgba(var(--spectrum-green-1200-rgb));--spectrum-green-1300-rgb:223,250,234;--spectrum-green-1300:rgba(var(--spectrum-green-1300-rgb));--spectrum-green-1400-rgb:254,255,252;--spectrum-green-1400:rgba(var(--spectrum-green-1400-rgb));--spectrum-seafoam-100-rgb:18,65,63;--spectrum-seafoam-100:rgba(var(--spectrum-seafoam-100-rgb));--spectrum-seafoam-200-rgb:14,76,73;--spectrum-seafoam-200:rgba(var(--spectrum-seafoam-200-rgb));--spectrum-seafoam-300-rgb:4,90,87;--spectrum-seafoam-300:rgba(var(--spectrum-seafoam-300-rgb));--spectrum-seafoam-400-rgb:0,105,101;--spectrum-seafoam-400:rgba(var(--spectrum-seafoam-400-rgb));--spectrum-seafoam-500-rgb:0,122,117;--spectrum-seafoam-500:rgba(var(--spectrum-seafoam-500-rgb));--spectrum-seafoam-600-rgb:0,140,135;--spectrum-seafoam-600:rgba(var(--spectrum-seafoam-600-rgb));--spectrum-seafoam-700-rgb:0,158,152;--spectrum-seafoam-700:rgba(var(--spectrum-seafoam-700-rgb));--spectrum-seafoam-800-rgb:3,178,171;--spectrum-seafoam-800:rgba(var(--spectrum-seafoam-800-rgb));--spectrum-seafoam-900-rgb:54,197,189;--spectrum-seafoam-900:rgba(var(--spectrum-seafoam-900-rgb));--spectrum-seafoam-1000-rgb:93,214,207;--spectrum-seafoam-1000:rgba(var(--spectrum-seafoam-1000-rgb));--spectrum-seafoam-1100-rgb:132,230,223;--spectrum-seafoam-1100:rgba(var(--spectrum-seafoam-1100-rgb));--spectrum-seafoam-1200-rgb:176,242,236;--spectrum-seafoam-1200:rgba(var(--spectrum-seafoam-1200-rgb));--spectrum-seafoam-1300-rgb:223,249,246;--spectrum-seafoam-1300:rgba(var(--spectrum-seafoam-1300-rgb));--spectrum-seafoam-1400-rgb:254,255,254;--spectrum-seafoam-1400:rgba(var(--spectrum-seafoam-1400-rgb));--spectrum-cyan-100-rgb:0,61,98;--spectrum-cyan-100:rgba(var(--spectrum-cyan-100-rgb));--spectrum-cyan-200-rgb:0,71,111;--spectrum-cyan-200:rgba(var(--spectrum-cyan-200-rgb));--spectrum-cyan-300-rgb:0,85,127;--spectrum-cyan-300:rgba(var(--spectrum-cyan-300-rgb));--spectrum-cyan-400-rgb:0,100,145;--spectrum-cyan-400:rgba(var(--spectrum-cyan-400-rgb));--spectrum-cyan-500-rgb:0,116,162;--spectrum-cyan-500:rgba(var(--spectrum-cyan-500-rgb));--spectrum-cyan-600-rgb:0,134,180;--spectrum-cyan-600:rgba(var(--spectrum-cyan-600-rgb));--spectrum-cyan-700-rgb:0,153,198;--spectrum-cyan-700:rgba(var(--spectrum-cyan-700-rgb));--spectrum-cyan-800-rgb:14,173,215;--spectrum-cyan-800:rgba(var(--spectrum-cyan-800-rgb));--spectrum-cyan-900-rgb:44,193,230;--spectrum-cyan-900:rgba(var(--spectrum-cyan-900-rgb));--spectrum-cyan-1000-rgb:84,211,241;--spectrum-cyan-1000:rgba(var(--spectrum-cyan-1000-rgb));--spectrum-cyan-1100-rgb:127,228,249;--spectrum-cyan-1100:rgba(var(--spectrum-cyan-1100-rgb));--spectrum-cyan-1200-rgb:167,241,255;--spectrum-cyan-1200:rgba(var(--spectrum-cyan-1200-rgb));--spectrum-cyan-1300-rgb:215,250,255;--spectrum-cyan-1300:rgba(var(--spectrum-cyan-1300-rgb));--spectrum-cyan-1400-rgb:255,255,255;--spectrum-cyan-1400:rgba(var(--spectrum-cyan-1400-rgb));--spectrum-indigo-100-rgb:40,44,140;--spectrum-indigo-100:rgba(var(--spectrum-indigo-100-rgb));--spectrum-indigo-200-rgb:47,52,163;--spectrum-indigo-200:rgba(var(--spectrum-indigo-200-rgb));--spectrum-indigo-300-rgb:57,63,187;--spectrum-indigo-300:rgba(var(--spectrum-indigo-300-rgb));--spectrum-indigo-400-rgb:70,75,211;--spectrum-indigo-400:rgba(var(--spectrum-indigo-400-rgb));--spectrum-indigo-500-rgb:85,91,231;--spectrum-indigo-500:rgba(var(--spectrum-indigo-500-rgb));--spectrum-indigo-600-rgb:104,109,244;--spectrum-indigo-600:rgba(var(--spectrum-indigo-600-rgb));--spectrum-indigo-700-rgb:124,129,251;--spectrum-indigo-700:rgba(var(--spectrum-indigo-700-rgb));--spectrum-indigo-800-rgb:145,149,255;--spectrum-indigo-800:rgba(var(--spectrum-indigo-800-rgb));--spectrum-indigo-900-rgb:167,170,255;--spectrum-indigo-900:rgba(var(--spectrum-indigo-900-rgb));--spectrum-indigo-1000-rgb:188,190,255;--spectrum-indigo-1000:rgba(var(--spectrum-indigo-1000-rgb));--spectrum-indigo-1100-rgb:208,210,255;--spectrum-indigo-1100:rgba(var(--spectrum-indigo-1100-rgb));--spectrum-indigo-1200-rgb:226,228,255;--spectrum-indigo-1200:rgba(var(--spectrum-indigo-1200-rgb));--spectrum-indigo-1300-rgb:243,243,254;--spectrum-indigo-1300:rgba(var(--spectrum-indigo-1300-rgb));--spectrum-indigo-1400-rgb:255,255,255;--spectrum-indigo-1400:rgba(var(--spectrum-indigo-1400-rgb));--spectrum-purple-100-rgb:76,13,157;--spectrum-purple-100:rgba(var(--spectrum-purple-100-rgb));--spectrum-purple-200-rgb:89,17,177;--spectrum-purple-200:rgba(var(--spectrum-purple-200-rgb));--spectrum-purple-300-rgb:105,28,200;--spectrum-purple-300:rgba(var(--spectrum-purple-300-rgb));--spectrum-purple-400-rgb:122,45,218;--spectrum-purple-400:rgba(var(--spectrum-purple-400-rgb));--spectrum-purple-500-rgb:140,65,233;--spectrum-purple-500:rgba(var(--spectrum-purple-500-rgb));--spectrum-purple-600-rgb:157,87,243;--spectrum-purple-600:rgba(var(--spectrum-purple-600-rgb));--spectrum-purple-700-rgb:172,111,249;--spectrum-purple-700:rgba(var(--spectrum-purple-700-rgb));--spectrum-purple-800-rgb:187,135,251;--spectrum-purple-800:rgba(var(--spectrum-purple-800-rgb));--spectrum-purple-900-rgb:202,159,252;--spectrum-purple-900:rgba(var(--spectrum-purple-900-rgb));--spectrum-purple-1000-rgb:215,182,254;--spectrum-purple-1000:rgba(var(--spectrum-purple-1000-rgb));--spectrum-purple-1100-rgb:228,204,254;--spectrum-purple-1100:rgba(var(--spectrum-purple-1100-rgb));--spectrum-purple-1200-rgb:239,223,255;--spectrum-purple-1200:rgba(var(--spectrum-purple-1200-rgb));--spectrum-purple-1300-rgb:249,240,255;--spectrum-purple-1300:rgba(var(--spectrum-purple-1300-rgb));--spectrum-purple-1400-rgb:255,253,255;--spectrum-purple-1400:rgba(var(--spectrum-purple-1400-rgb));--spectrum-fuchsia-100-rgb:107,3,106;--spectrum-fuchsia-100:rgba(var(--spectrum-fuchsia-100-rgb));--spectrum-fuchsia-200-rgb:123,0,123;--spectrum-fuchsia-200:rgba(var(--spectrum-fuchsia-200-rgb));--spectrum-fuchsia-300-rgb:144,0,145;--spectrum-fuchsia-300:rgba(var(--spectrum-fuchsia-300-rgb));--spectrum-fuchsia-400-rgb:165,13,166;--spectrum-fuchsia-400:rgba(var(--spectrum-fuchsia-400-rgb));--spectrum-fuchsia-500-rgb:185,37,185;--spectrum-fuchsia-500:rgba(var(--spectrum-fuchsia-500-rgb));--spectrum-fuchsia-600-rgb:205,57,206;--spectrum-fuchsia-600:rgba(var(--spectrum-fuchsia-600-rgb));--spectrum-fuchsia-700-rgb:223,81,224;--spectrum-fuchsia-700:rgba(var(--spectrum-fuchsia-700-rgb));--spectrum-fuchsia-800-rgb:235,110,236;--spectrum-fuchsia-800:rgba(var(--spectrum-fuchsia-800-rgb));--spectrum-fuchsia-900-rgb:244,140,242;--spectrum-fuchsia-900:rgba(var(--spectrum-fuchsia-900-rgb));--spectrum-fuchsia-1000-rgb:250,168,245;--spectrum-fuchsia-1000:rgba(var(--spectrum-fuchsia-1000-rgb));--spectrum-fuchsia-1100-rgb:254,194,248;--spectrum-fuchsia-1100:rgba(var(--spectrum-fuchsia-1100-rgb));--spectrum-fuchsia-1200-rgb:255,219,250;--spectrum-fuchsia-1200:rgba(var(--spectrum-fuchsia-1200-rgb));--spectrum-fuchsia-1300-rgb:255,239,252;--spectrum-fuchsia-1300:rgba(var(--spectrum-fuchsia-1300-rgb));--spectrum-fuchsia-1400-rgb:255,253,255;--spectrum-fuchsia-1400:rgba(var(--spectrum-fuchsia-1400-rgb));--spectrum-magenta-100-rgb:118,0,58;--spectrum-magenta-100:rgba(var(--spectrum-magenta-100-rgb));--spectrum-magenta-200-rgb:137,0,66;--spectrum-magenta-200:rgba(var(--spectrum-magenta-200-rgb));--spectrum-magenta-300-rgb:160,0,77;--spectrum-magenta-300:rgba(var(--spectrum-magenta-300-rgb));--spectrum-magenta-400-rgb:182,18,90;--spectrum-magenta-400:rgba(var(--spectrum-magenta-400-rgb));--spectrum-magenta-500-rgb:203,38,109;--spectrum-magenta-500:rgba(var(--spectrum-magenta-500-rgb));--spectrum-magenta-600-rgb:222,61,130;--spectrum-magenta-600:rgba(var(--spectrum-magenta-600-rgb));--spectrum-magenta-700-rgb:237,87,149;--spectrum-magenta-700:rgba(var(--spectrum-magenta-700-rgb));--spectrum-magenta-800-rgb:249,114,167;--spectrum-magenta-800:rgba(var(--spectrum-magenta-800-rgb));--spectrum-magenta-900-rgb:255,143,185;--spectrum-magenta-900:rgba(var(--spectrum-magenta-900-rgb));--spectrum-magenta-1000-rgb:255,172,202;--spectrum-magenta-1000:rgba(var(--spectrum-magenta-1000-rgb));--spectrum-magenta-1100-rgb:255,198,218;--spectrum-magenta-1100:rgba(var(--spectrum-magenta-1100-rgb));--spectrum-magenta-1200-rgb:255,221,233;--spectrum-magenta-1200:rgba(var(--spectrum-magenta-1200-rgb));--spectrum-magenta-1300-rgb:255,240,245;--spectrum-magenta-1300:rgba(var(--spectrum-magenta-1300-rgb));--spectrum-magenta-1400-rgb:255,252,253;--spectrum-magenta-1400:rgba(var(--spectrum-magenta-1400-rgb));--spectrum-icon-color-blue-primary-default:var(--spectrum-blue-800);--spectrum-icon-color-green-primary-default:var(--spectrum-green-800);--spectrum-icon-color-red-primary-default:var(--spectrum-red-700);--spectrum-icon-color-yellow-primary-default:var(--spectrum-yellow-1000);--spectrum-menu-item-background-color-default-rgb:255,255,255;--spectrum-menu-item-background-color-default-opacity:0;--spectrum-menu-item-background-color-default:rgba(var(--spectrum-menu-item-background-color-default-rgb),var(--spectrum-menu-item-background-color-default-opacity));--spectrum-menu-item-background-color-hover:var(--spectrum-transparent-white-200);--spectrum-menu-item-background-color-down:var(--spectrum-transparent-white-200);--spectrum-menu-item-background-color-key-focus:var(--spectrum-transparent-white-200);--spectrum-drop-zone-background-color-rgb:var(--spectrum-blue-900-rgb);--spectrum-dropindicator-color:var(--spectrum-blue-700);--spectrum-calendar-day-background-color-selected:rgba(var(--spectrum-blue-800-rgb),.15);--spectrum-calendar-day-background-color-hover:rgba(var(--spectrum-white-rgb),.07);--spectrum-calendar-day-today-background-color-selected-hover:rgba(var(--spectrum-blue-800-rgb),.25);--spectrum-calendar-day-background-color-selected-hover:rgba(var(--spectrum-blue-800-rgb),.25);--spectrum-calendar-day-background-color-down:var(--spectrum-transparent-white-200);--spectrum-calendar-day-background-color-cap-selected:rgba(var(--spectrum-blue-800-rgb),.25);--spectrum-calendar-day-background-color-key-focus:rgba(var(--spectrum-white-rgb),.07);--spectrum-calendar-day-border-color-key-focus:var(--spectrum-blue-700);--spectrum-badge-label-icon-color-primary:var(--spectrum-black);--spectrum-coach-indicator-ring-default-color:var(--spectrum-blue-700);--spectrum-coach-indicator-ring-dark-color:var(--spectrum-gray-900);--spectrum-coach-indicator-ring-light-color:var(--spectrum-gray-50);--spectrum-well-border-color:rgba(var(--spectrum-white-rgb),.05);--spectrum-steplist-current-marker-color-key-focus:var(--spectrum-blue-700);--spectrum-treeview-item-background-color-quiet-selected:rgba(var(--spectrum-gray-900-rgb),.07);--spectrum-treeview-item-background-color-selected:rgba(var(--spectrum-blue-800-rgb),.15);--spectrum-logic-button-and-background-color:var(--spectrum-blue-800);--spectrum-logic-button-and-border-color:var(--spectrum-blue-800);--spectrum-logic-button-and-background-color-hover:var(--spectrum-blue-1000);--spectrum-logic-button-and-border-color-hover:var(--spectrum-blue-1000);--spectrum-logic-button-or-background-color:var(--spectrum-magenta-700);--spectrum-logic-button-or-border-color:var(--spectrum-magenta-700);--spectrum-logic-button-or-background-color-hover:var(--spectrum-magenta-900);--spectrum-logic-button-or-border-color-hover:var(--spectrum-magenta-900);--spectrum-assetcard-border-color-selected:var(--spectrum-blue-800);--spectrum-assetcard-border-color-selected-hover:var(--spectrum-blue-800);--spectrum-assetcard-border-color-selected-down:var(--spectrum-blue-900);--spectrum-assetcard-selectionindicator-background-color-ordered:var(--spectrum-blue-800);--spectrum-assestcard-focus-indicator-color:var(--spectrum-blue-700);--spectrum-assetlist-item-background-color-selected-hover:rgba(var(--spectrum-blue-800-rgb),.25);--spectrum-assetlist-item-background-color-selected:rgba(var(--spectrum-blue-800-rgb),.15);--spectrum-assetlist-border-color-key-focus:var(--spectrum-blue-700)}
-`;var r=a(276);const o=["spectrum","express","spectrum-two"],s=["medium","large","medium-express","large-express","medium-spectrum-two","large-spectrum-two"],c=["light","lightest","dark","darkest","light-express","lightest-express","dark-express","darkest-express","light-spectrum-two","dark-spectrum-two"],i=class e extends HTMLElement{constructor(){super(),this._dir="",this._system="spectrum",this._color="",this._scale="",this.trackedChildren=new Set,this._updateRequested=!1,this._contextConsumers=new Map,this.attachShadow({mode:"open"});const t=document.importNode(e.template.content,!0);this.shadowRoot.appendChild(t),this.shouldAdoptStyles(),this.addEventListener("sp-query-theme",this.onQueryTheme),this.addEventListener("sp-language-context",this._handleContextPresence),this.updateComplete=this.__createDeferredPromise()}static get observedAttributes(){return["color","scale","lang","dir","system","theme"]}set dir(t){if(t===this.dir)return;this.setAttribute("dir",t),this._dir=t;const e="rtl"===t?t:"ltr";this.trackedChildren.forEach((t=>{t.setAttribute("dir",e)}))}get dir(){return this._dir}attributeChangedCallback(t,e,r){e!==r&&("color"===t?this.color=r:"scale"===t?this.scale=r:"lang"===t&&r?(this.lang=r,this._provideContext()):"theme"===t?this.theme=r:"system"===t?this.system=r:"dir"===t&&(this.dir=r))}requestUpdate(){void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?this.shouldAdoptStyles():window.ShadyCSS.styleElement(this)}get system(){const t=e.themeFragmentsByKind.get("system"),{name:r}=t&&t.get("default")||{};return this._system||r||""}set system(t){if(t===this._system)return;const e=t&&o.includes(t)?t:this.system;e!==this._system&&(this._system=e,this.requestUpdate()),e?this.setAttribute("system",e):this.removeAttribute("system")}get theme(){return this.system||this.removeAttribute("system"),this.system}set theme(t){this.system=t,this.requestUpdate()}get color(){const t=e.themeFragmentsByKind.get("color"),{name:r}=t&&t.get("default")||{};return this._color||r||""}set color(t){if(t===this._color)return;const e=t&&c.includes(t)?t:this.color;e!==this._color&&(this._color=e,this.requestUpdate()),e?this.setAttribute("color",e):this.removeAttribute("color")}get scale(){const t=e.themeFragmentsByKind.get("scale"),{name:r}=t&&t.get("default")||{};return this._scale||r||""}set scale(t){if(t===this._scale)return;const e=t&&s.includes(t)?t:this.scale;e!==this._scale&&(this._scale=e,this.requestUpdate()),e?this.setAttribute("scale",e):this.removeAttribute("scale")}get styles(){const t=[...e.themeFragmentsByKind.keys()],r=(t,e,r)=>{const o=r&&"theme"!==r&&"system"!==r&&"spectrum"!==this.theme&&"spectrum"!==this.system?t.get(`${e}-${this.system}`):t.get(e),s="spectrum"===e||!r||this.hasAttribute(r);if(o&&s)return o.styles};return[...t.reduce(((t,o)=>{const s=e.themeFragmentsByKind.get(o);let c;if("app"===o||"core"===o)c=r(s,o);else{const{[o]:t}=this;c=r(s,t,o)}return c&&t.push(c),t}),[])]}static get template(){return this.templateElement||(this.templateElement=document.createElement("template"),this.templateElement.innerHTML="<slot></slot>"),this.templateElement}__createDeferredPromise(){return new Promise((t=>{this.__resolve=t}))}onQueryTheme(t){if(t.defaultPrevented)return;t.preventDefault();const{detail:e}=t;e.color=this.color||void 0,e.scale=this.scale||void 0,e.lang=this.lang||document.documentElement.lang||navigator.language,e.theme=this.system||void 0,e.system=this.system||void 0}connectedCallback(){if(this.shouldAdoptStyles(),void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this),e.instances.add(this),!this.hasAttribute("dir")){let t=this.assignedSlot||this.parentNode;for(;t!==document.documentElement&&!(t instanceof e);)t=t.assignedSlot||t.parentNode||t.host;this.dir="rtl"===t.dir?t.dir:"ltr"}}disconnectedCallback(){e.instances.delete(this)}startManagingContentDirection(t){this.trackedChildren.add(t)}stopManagingContentDirection(t){this.trackedChildren.delete(t)}async shouldAdoptStyles(){this._updateRequested||(this.updateComplete=this.__createDeferredPromise(),this._updateRequested=!0,this._updateRequested=await!1,this.adoptStyles(),this.__resolve(!0))}adoptStyles(){const r=this.styles;if(void 0!==window.ShadyCSS&&!window.ShadyCSS.nativeShadow&&window.ShadyCSS.ScopingShim){const t=[];for(const[r,o]of e.themeFragmentsByKind)for(const[s,{styles:c}]of o){if("default"===s)continue;let o=c.cssText;e.defaultFragments.has(s)||(o=o.replace(":host",`:host([${r}='${s}'])`)),t.push(o)}window.ShadyCSS.ScopingShim.prepareAdoptedCssText(t,this.localName),window.ShadyCSS.prepareTemplate(e.template,this.localName)}else if(t.qM){const t=[];for(const e of r)t.push(e.styleSheet);this.shadowRoot.adoptedStyleSheets=t}else this.shadowRoot.querySelectorAll("style").forEach((t=>t.remove())),r.forEach((t=>{const e=document.createElement("style");e.textContent=t.cssText,this.shadowRoot.appendChild(e)}))}static registerThemeFragment(t,r,o){const s=e.themeFragmentsByKind.get(r)||new Map;0===s.size&&(e.themeFragmentsByKind.set(r,s),s.set("default",{name:t,styles:o}),e.defaultFragments.add(t)),s.set(t,{name:t,styles:o}),e.instances.forEach((t=>t.shouldAdoptStyles()))}_provideContext(){this._contextConsumers.forEach((([t,e])=>t(this.lang,e)))}_handleContextPresence(t){t.stopPropagation();const e=t.composedPath()[0];if(this._contextConsumers.has(e))return;this._contextConsumers.set(e,[t.detail.callback,()=>this._contextConsumers.delete(e)]);const[r,o]=this._contextConsumers.get(e)||[];r&&o&&r(this.lang||document.documentElement.lang||navigator.language,o)}};i.themeFragmentsByKind=new Map,i.defaultFragments=new Set(["spectrum"]),i.instances=new Set,i.VERSION=r.r;let n=i;const l=t.AH`
+`;var l=a(276);const u=["spectrum","express","spectrum-two"],m=["medium","large","medium-express","large-express","medium-spectrum-two","large-spectrum-two"],d=["light","lightest","dark","darkest","light-express","lightest-express","dark-express","darkest-express","light-spectrum-two","dark-spectrum-two"],p=class t extends HTMLElement{constructor(){super(),this._dir="",this._system="spectrum",this._color="",this._scale="",this.trackedChildren=new Set,this._updateRequested=!1,this._contextConsumers=new Map,this.attachShadow({mode:"open"});const e=document.importNode(t.template.content,!0);this.shadowRoot.appendChild(e),this.shouldAdoptStyles(),this.addEventListener("sp-query-theme",this.onQueryTheme),this.addEventListener("sp-language-context",this._handleContextPresence),this.updateComplete=this.__createDeferredPromise()}static get observedAttributes(){return["color","scale","lang","dir","system","theme"]}set dir(t){if(t===this.dir)return;this.setAttribute("dir",t),this._dir=t;const e="rtl"===t?t:"ltr";this.trackedChildren.forEach((t=>{t.setAttribute("dir",e)}))}get dir(){return this._dir}attributeChangedCallback(t,e,r){e!==r&&("color"===t?this.color=r:"scale"===t?this.scale=r:"lang"===t&&r?(this.lang=r,this._provideContext()):"theme"===t?this.theme=r:"system"===t?this.system=r:"dir"===t&&(this.dir=r))}requestUpdate(){void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?this.shouldAdoptStyles():window.ShadyCSS.styleElement(this)}get system(){const e=t.themeFragmentsByKind.get("system"),{name:r}=e&&e.get("default")||{};return this._system||r||""}set system(t){if(t===this._system)return;const e=t&&u.includes(t)?t:this.system;e!==this._system&&(this._system=e,this.requestUpdate()),e?this.setAttribute("system",e):this.removeAttribute("system")}get theme(){return this.system||this.removeAttribute("system"),this.system}set theme(t){this.system=t,this.requestUpdate()}get color(){const e=t.themeFragmentsByKind.get("color"),{name:r}=e&&e.get("default")||{};return this._color||r||""}set color(t){if(t===this._color)return;const e=t&&d.includes(t)?t:this.color;e!==this._color&&(this._color=e,this.requestUpdate()),e?this.setAttribute("color",e):this.removeAttribute("color")}get scale(){const e=t.themeFragmentsByKind.get("scale"),{name:r}=e&&e.get("default")||{};return this._scale||r||""}set scale(t){if(t===this._scale)return;const e=t&&m.includes(t)?t:this.scale;e!==this._scale&&(this._scale=e,this.requestUpdate()),e?this.setAttribute("scale",e):this.removeAttribute("scale")}get styles(){const e=[...t.themeFragmentsByKind.keys()],r=(t,e,r)=>{const o=r&&"theme"!==r&&"system"!==r&&"spectrum"!==this.theme&&"spectrum"!==this.system?t.get(`${e}-${this.system}`):t.get(e),s="spectrum"===e||!r||this.hasAttribute(r);if(o&&s)return o.styles};return[...e.reduce(((e,o)=>{const s=t.themeFragmentsByKind.get(o);let c;if("app"===o||"core"===o)c=r(s,o);else{const{[o]:t}=this;c=r(s,t,o)}return c&&e.push(c),e}),[])]}static get template(){return this.templateElement||(this.templateElement=document.createElement("template"),this.templateElement.innerHTML="<slot></slot>"),this.templateElement}__createDeferredPromise(){return new Promise((t=>{this.__resolve=t}))}onQueryTheme(t){if(t.defaultPrevented)return;t.preventDefault();const{detail:e}=t;e.color=this.color||void 0,e.scale=this.scale||void 0,e.lang=this.lang||document.documentElement.lang||navigator.language,e.theme=this.system||void 0,e.system=this.system||void 0}connectedCallback(){if(this.shouldAdoptStyles(),void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this),t.instances.add(this),!this.hasAttribute("dir")){let e=this.assignedSlot||this.parentNode;for(;e!==document.documentElement&&!(e instanceof t);)e=e.assignedSlot||e.parentNode||e.host;this.dir="rtl"===e.dir?e.dir:"ltr"}}disconnectedCallback(){t.instances.delete(this)}startManagingContentDirection(t){this.trackedChildren.add(t)}stopManagingContentDirection(t){this.trackedChildren.delete(t)}async shouldAdoptStyles(){this._updateRequested||(this.updateComplete=this.__createDeferredPromise(),this._updateRequested=!0,this._updateRequested=await!1,this.adoptStyles(),this.__resolve(!0))}adoptStyles(){const e=this.styles;if(void 0!==window.ShadyCSS&&!window.ShadyCSS.nativeShadow&&window.ShadyCSS.ScopingShim){const e=[];for(const[r,o]of t.themeFragmentsByKind)for(const[s,{styles:c}]of o){if("default"===s)continue;let o=c.cssText;t.defaultFragments.has(s)||(o=o.replace(":host",`:host([${r}='${s}'])`)),e.push(o)}window.ShadyCSS.ScopingShim.prepareAdoptedCssText(e,this.localName),window.ShadyCSS.prepareTemplate(t.template,this.localName)}else if(i.qM){const t=[];for(const r of e)t.push(r.styleSheet);this.shadowRoot.adoptedStyleSheets=t}else this.shadowRoot.querySelectorAll("style").forEach((t=>t.remove())),e.forEach((t=>{const e=document.createElement("style");e.textContent=t.cssText,this.shadowRoot.appendChild(e)}))}static registerThemeFragment(e,r,o){const s=t.themeFragmentsByKind.get(r)||new Map;0===s.size&&(t.themeFragmentsByKind.set(r,s),s.set("default",{name:e,styles:o}),t.defaultFragments.add(e)),s.set(e,{name:e,styles:o}),t.instances.forEach((t=>t.shouldAdoptStyles()))}_provideContext(){this._contextConsumers.forEach((([t,e])=>t(this.lang,e)))}_handleContextPresence(t){t.stopPropagation();const e=t.composedPath()[0];if(this._contextConsumers.has(e))return;this._contextConsumers.set(e,[t.detail.callback,()=>this._contextConsumers.delete(e)]);const[r,o]=this._contextConsumers.get(e)||[];r&&o&&r(this.lang||document.documentElement.lang||navigator.language,o)}};p.themeFragmentsByKind=new Map,p.defaultFragments=new Set(["spectrum"]),p.instances=new Set,p.VERSION=l.r;let h=p;const b=i.AH`
             /*!
 Copyright 2023 Adobe. All rights reserved.
 This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -31,13 +31,13 @@ OF ANY KIND, either express or implied. See the License for the specific languag
 governing permissions and limitations under the License.
 */
 :root,:host{--spectrum-global-animation-linear:cubic-bezier(0,0,1,1);--spectrum-global-animation-duration-0:0s;--spectrum-global-animation-duration-100:.13s;--spectrum-global-animation-duration-200:.16s;--spectrum-global-animation-duration-300:.19s;--spectrum-global-animation-duration-400:.22s;--spectrum-global-animation-duration-500:.25s;--spectrum-global-animation-duration-600:.3s;--spectrum-global-animation-duration-700:.35s;--spectrum-global-animation-duration-800:.4s;--spectrum-global-animation-duration-900:.45s;--spectrum-global-animation-duration-1000:.5s;--spectrum-global-animation-duration-2000:1s;--spectrum-global-animation-duration-4000:2s;--spectrum-global-animation-ease-in-out:cubic-bezier(.45,0,.4,1);--spectrum-global-animation-ease-in:cubic-bezier(.5,0,1,1);--spectrum-global-animation-ease-out:cubic-bezier(0,0,.4,1);--spectrum-global-animation-ease-linear:cubic-bezier(0,0,1,1);--spectrum-global-color-status:Verified;--spectrum-global-color-version:5.1;--spectrum-global-color-static-black-rgb:0,0,0;--spectrum-global-color-static-black:rgb(var(--spectrum-global-color-static-black-rgb));--spectrum-global-color-static-white-rgb:255,255,255;--spectrum-global-color-static-white:rgb(var(--spectrum-global-color-static-white-rgb));--spectrum-global-color-static-blue-rgb:0,87,191;--spectrum-global-color-static-blue:rgb(var(--spectrum-global-color-static-blue-rgb));--spectrum-global-color-static-gray-50-rgb:255,255,255;--spectrum-global-color-static-gray-50:rgb(var(--spectrum-global-color-static-gray-50-rgb));--spectrum-global-color-static-gray-75-rgb:255,255,255;--spectrum-global-color-static-gray-75:rgb(var(--spectrum-global-color-static-gray-75-rgb));--spectrum-global-color-static-gray-100-rgb:255,255,255;--spectrum-global-color-static-gray-100:rgb(var(--spectrum-global-color-static-gray-100-rgb));--spectrum-global-color-static-gray-200-rgb:235,235,235;--spectrum-global-color-static-gray-200:rgb(var(--spectrum-global-color-static-gray-200-rgb));--spectrum-global-color-static-gray-300-rgb:217,217,217;--spectrum-global-color-static-gray-300:rgb(var(--spectrum-global-color-static-gray-300-rgb));--spectrum-global-color-static-gray-400-rgb:179,179,179;--spectrum-global-color-static-gray-400:rgb(var(--spectrum-global-color-static-gray-400-rgb));--spectrum-global-color-static-gray-500-rgb:146,146,146;--spectrum-global-color-static-gray-500:rgb(var(--spectrum-global-color-static-gray-500-rgb));--spectrum-global-color-static-gray-600-rgb:110,110,110;--spectrum-global-color-static-gray-600:rgb(var(--spectrum-global-color-static-gray-600-rgb));--spectrum-global-color-static-gray-700-rgb:71,71,71;--spectrum-global-color-static-gray-700:rgb(var(--spectrum-global-color-static-gray-700-rgb));--spectrum-global-color-static-gray-800-rgb:34,34,34;--spectrum-global-color-static-gray-800:rgb(var(--spectrum-global-color-static-gray-800-rgb));--spectrum-global-color-static-gray-900-rgb:0,0,0;--spectrum-global-color-static-gray-900:rgb(var(--spectrum-global-color-static-gray-900-rgb));--spectrum-global-color-static-red-400-rgb:237,64,48;--spectrum-global-color-static-red-400:rgb(var(--spectrum-global-color-static-red-400-rgb));--spectrum-global-color-static-red-500-rgb:217,28,21;--spectrum-global-color-static-red-500:rgb(var(--spectrum-global-color-static-red-500-rgb));--spectrum-global-color-static-red-600-rgb:187,2,2;--spectrum-global-color-static-red-600:rgb(var(--spectrum-global-color-static-red-600-rgb));--spectrum-global-color-static-red-700-rgb:154,0,0;--spectrum-global-color-static-red-700:rgb(var(--spectrum-global-color-static-red-700-rgb));--spectrum-global-color-static-red-800-rgb:124,0,0;--spectrum-global-color-static-red-800:rgb(var(--spectrum-global-color-static-red-800-rgb));--spectrum-global-color-static-orange-400-rgb:250,139,26;--spectrum-global-color-static-orange-400:rgb(var(--spectrum-global-color-static-orange-400-rgb));--spectrum-global-color-static-orange-500-rgb:233,117,0;--spectrum-global-color-static-orange-500:rgb(var(--spectrum-global-color-static-orange-500-rgb));--spectrum-global-color-static-orange-600-rgb:209,97,0;--spectrum-global-color-static-orange-600:rgb(var(--spectrum-global-color-static-orange-600-rgb));--spectrum-global-color-static-orange-700-rgb:182,80,0;--spectrum-global-color-static-orange-700:rgb(var(--spectrum-global-color-static-orange-700-rgb));--spectrum-global-color-static-orange-800-rgb:155,64,0;--spectrum-global-color-static-orange-800:rgb(var(--spectrum-global-color-static-orange-800-rgb));--spectrum-global-color-static-yellow-200-rgb:250,237,123;--spectrum-global-color-static-yellow-200:rgb(var(--spectrum-global-color-static-yellow-200-rgb));--spectrum-global-color-static-yellow-300-rgb:250,224,23;--spectrum-global-color-static-yellow-300:rgb(var(--spectrum-global-color-static-yellow-300-rgb));--spectrum-global-color-static-yellow-400-rgb:238,205,0;--spectrum-global-color-static-yellow-400:rgb(var(--spectrum-global-color-static-yellow-400-rgb));--spectrum-global-color-static-yellow-500-rgb:221,185,0;--spectrum-global-color-static-yellow-500:rgb(var(--spectrum-global-color-static-yellow-500-rgb));--spectrum-global-color-static-yellow-600-rgb:201,164,0;--spectrum-global-color-static-yellow-600:rgb(var(--spectrum-global-color-static-yellow-600-rgb));--spectrum-global-color-static-yellow-700-rgb:181,144,0;--spectrum-global-color-static-yellow-700:rgb(var(--spectrum-global-color-static-yellow-700-rgb));--spectrum-global-color-static-yellow-800-rgb:160,125,0;--spectrum-global-color-static-yellow-800:rgb(var(--spectrum-global-color-static-yellow-800-rgb));--spectrum-global-color-static-chartreuse-300-rgb:176,222,27;--spectrum-global-color-static-chartreuse-300:rgb(var(--spectrum-global-color-static-chartreuse-300-rgb));--spectrum-global-color-static-chartreuse-400-rgb:157,203,13;--spectrum-global-color-static-chartreuse-400:rgb(var(--spectrum-global-color-static-chartreuse-400-rgb));--spectrum-global-color-static-chartreuse-500-rgb:139,182,4;--spectrum-global-color-static-chartreuse-500:rgb(var(--spectrum-global-color-static-chartreuse-500-rgb));--spectrum-global-color-static-chartreuse-600-rgb:122,162,0;--spectrum-global-color-static-chartreuse-600:rgb(var(--spectrum-global-color-static-chartreuse-600-rgb));--spectrum-global-color-static-chartreuse-700-rgb:106,141,0;--spectrum-global-color-static-chartreuse-700:rgb(var(--spectrum-global-color-static-chartreuse-700-rgb));--spectrum-global-color-static-chartreuse-800-rgb:90,120,0;--spectrum-global-color-static-chartreuse-800:rgb(var(--spectrum-global-color-static-chartreuse-800-rgb));--spectrum-global-color-static-celery-200-rgb:126,229,114;--spectrum-global-color-static-celery-200:rgb(var(--spectrum-global-color-static-celery-200-rgb));--spectrum-global-color-static-celery-300-rgb:87,212,86;--spectrum-global-color-static-celery-300:rgb(var(--spectrum-global-color-static-celery-300-rgb));--spectrum-global-color-static-celery-400-rgb:48,193,61;--spectrum-global-color-static-celery-400:rgb(var(--spectrum-global-color-static-celery-400-rgb));--spectrum-global-color-static-celery-500-rgb:15,172,38;--spectrum-global-color-static-celery-500:rgb(var(--spectrum-global-color-static-celery-500-rgb));--spectrum-global-color-static-celery-600-rgb:0,150,20;--spectrum-global-color-static-celery-600:rgb(var(--spectrum-global-color-static-celery-600-rgb));--spectrum-global-color-static-celery-700-rgb:0,128,15;--spectrum-global-color-static-celery-700:rgb(var(--spectrum-global-color-static-celery-700-rgb));--spectrum-global-color-static-celery-800-rgb:0,107,15;--spectrum-global-color-static-celery-800:rgb(var(--spectrum-global-color-static-celery-800-rgb));--spectrum-global-color-static-green-400-rgb:29,169,115;--spectrum-global-color-static-green-400:rgb(var(--spectrum-global-color-static-green-400-rgb));--spectrum-global-color-static-green-500-rgb:0,148,97;--spectrum-global-color-static-green-500:rgb(var(--spectrum-global-color-static-green-500-rgb));--spectrum-global-color-static-green-600-rgb:0,126,80;--spectrum-global-color-static-green-600:rgb(var(--spectrum-global-color-static-green-600-rgb));--spectrum-global-color-static-green-700-rgb:0,105,65;--spectrum-global-color-static-green-700:rgb(var(--spectrum-global-color-static-green-700-rgb));--spectrum-global-color-static-green-800-rgb:0,86,53;--spectrum-global-color-static-green-800:rgb(var(--spectrum-global-color-static-green-800-rgb));--spectrum-global-color-static-seafoam-200-rgb:75,206,199;--spectrum-global-color-static-seafoam-200:rgb(var(--spectrum-global-color-static-seafoam-200-rgb));--spectrum-global-color-static-seafoam-300-rgb:32,187,180;--spectrum-global-color-static-seafoam-300:rgb(var(--spectrum-global-color-static-seafoam-300-rgb));--spectrum-global-color-static-seafoam-400-rgb:0,166,160;--spectrum-global-color-static-seafoam-400:rgb(var(--spectrum-global-color-static-seafoam-400-rgb));--spectrum-global-color-static-seafoam-500-rgb:0,145,139;--spectrum-global-color-static-seafoam-500:rgb(var(--spectrum-global-color-static-seafoam-500-rgb));--spectrum-global-color-static-seafoam-600-rgb:0,124,118;--spectrum-global-color-static-seafoam-600:rgb(var(--spectrum-global-color-static-seafoam-600-rgb));--spectrum-global-color-static-seafoam-700-rgb:0,103,99;--spectrum-global-color-static-seafoam-700:rgb(var(--spectrum-global-color-static-seafoam-700-rgb));--spectrum-global-color-static-seafoam-800-rgb:10,83,80;--spectrum-global-color-static-seafoam-800:rgb(var(--spectrum-global-color-static-seafoam-800-rgb));--spectrum-global-color-static-blue-200-rgb:130,193,251;--spectrum-global-color-static-blue-200:rgb(var(--spectrum-global-color-static-blue-200-rgb));--spectrum-global-color-static-blue-300-rgb:98,173,247;--spectrum-global-color-static-blue-300:rgb(var(--spectrum-global-color-static-blue-300-rgb));--spectrum-global-color-static-blue-400-rgb:66,151,244;--spectrum-global-color-static-blue-400:rgb(var(--spectrum-global-color-static-blue-400-rgb));--spectrum-global-color-static-blue-500-rgb:27,127,245;--spectrum-global-color-static-blue-500:rgb(var(--spectrum-global-color-static-blue-500-rgb));--spectrum-global-color-static-blue-600-rgb:4,105,227;--spectrum-global-color-static-blue-600:rgb(var(--spectrum-global-color-static-blue-600-rgb));--spectrum-global-color-static-blue-700-rgb:0,87,190;--spectrum-global-color-static-blue-700:rgb(var(--spectrum-global-color-static-blue-700-rgb));--spectrum-global-color-static-blue-800-rgb:0,72,153;--spectrum-global-color-static-blue-800:rgb(var(--spectrum-global-color-static-blue-800-rgb));--spectrum-global-color-static-indigo-200-rgb:178,181,255;--spectrum-global-color-static-indigo-200:rgb(var(--spectrum-global-color-static-indigo-200-rgb));--spectrum-global-color-static-indigo-300-rgb:155,159,255;--spectrum-global-color-static-indigo-300:rgb(var(--spectrum-global-color-static-indigo-300-rgb));--spectrum-global-color-static-indigo-400-rgb:132,137,253;--spectrum-global-color-static-indigo-400:rgb(var(--spectrum-global-color-static-indigo-400-rgb));--spectrum-global-color-static-indigo-500-rgb:109,115,246;--spectrum-global-color-static-indigo-500:rgb(var(--spectrum-global-color-static-indigo-500-rgb));--spectrum-global-color-static-indigo-600-rgb:87,93,232;--spectrum-global-color-static-indigo-600:rgb(var(--spectrum-global-color-static-indigo-600-rgb));--spectrum-global-color-static-indigo-700-rgb:68,74,208;--spectrum-global-color-static-indigo-700:rgb(var(--spectrum-global-color-static-indigo-700-rgb));--spectrum-global-color-static-indigo-800-rgb:68,74,208;--spectrum-global-color-static-indigo-800:rgb(var(--spectrum-global-color-static-indigo-800-rgb));--spectrum-global-color-static-purple-400-rgb:178,121,250;--spectrum-global-color-static-purple-400:rgb(var(--spectrum-global-color-static-purple-400-rgb));--spectrum-global-color-static-purple-500-rgb:161,93,246;--spectrum-global-color-static-purple-500:rgb(var(--spectrum-global-color-static-purple-500-rgb));--spectrum-global-color-static-purple-600-rgb:142,67,234;--spectrum-global-color-static-purple-600:rgb(var(--spectrum-global-color-static-purple-600-rgb));--spectrum-global-color-static-purple-700-rgb:120,43,216;--spectrum-global-color-static-purple-700:rgb(var(--spectrum-global-color-static-purple-700-rgb));--spectrum-global-color-static-purple-800-rgb:98,23,190;--spectrum-global-color-static-purple-800:rgb(var(--spectrum-global-color-static-purple-800-rgb));--spectrum-global-color-static-fuchsia-400-rgb:228,93,230;--spectrum-global-color-static-fuchsia-400:rgb(var(--spectrum-global-color-static-fuchsia-400-rgb));--spectrum-global-color-static-fuchsia-500-rgb:211,63,212;--spectrum-global-color-static-fuchsia-500:rgb(var(--spectrum-global-color-static-fuchsia-500-rgb));--spectrum-global-color-static-fuchsia-600-rgb:188,39,187;--spectrum-global-color-static-fuchsia-600:rgb(var(--spectrum-global-color-static-fuchsia-600-rgb));--spectrum-global-color-static-fuchsia-700-rgb:163,10,163;--spectrum-global-color-static-fuchsia-700:rgb(var(--spectrum-global-color-static-fuchsia-700-rgb));--spectrum-global-color-static-fuchsia-800-rgb:135,0,136;--spectrum-global-color-static-fuchsia-800:rgb(var(--spectrum-global-color-static-fuchsia-800-rgb));--spectrum-global-color-static-magenta-200-rgb:253,127,175;--spectrum-global-color-static-magenta-200:rgb(var(--spectrum-global-color-static-magenta-200-rgb));--spectrum-global-color-static-magenta-300-rgb:242,98,157;--spectrum-global-color-static-magenta-300:rgb(var(--spectrum-global-color-static-magenta-300-rgb));--spectrum-global-color-static-magenta-400-rgb:226,68,135;--spectrum-global-color-static-magenta-400:rgb(var(--spectrum-global-color-static-magenta-400-rgb));--spectrum-global-color-static-magenta-500-rgb:205,40,111;--spectrum-global-color-static-magenta-500:rgb(var(--spectrum-global-color-static-magenta-500-rgb));--spectrum-global-color-static-magenta-600-rgb:179,15,89;--spectrum-global-color-static-magenta-600:rgb(var(--spectrum-global-color-static-magenta-600-rgb));--spectrum-global-color-static-magenta-700-rgb:149,0,72;--spectrum-global-color-static-magenta-700:rgb(var(--spectrum-global-color-static-magenta-700-rgb));--spectrum-global-color-static-magenta-800-rgb:119,0,58;--spectrum-global-color-static-magenta-800:rgb(var(--spectrum-global-color-static-magenta-800-rgb));--spectrum-global-color-static-transparent-white-200:#ffffff1a;--spectrum-global-color-static-transparent-white-300:#ffffff40;--spectrum-global-color-static-transparent-white-400:#fff6;--spectrum-global-color-static-transparent-white-500:#ffffff8c;--spectrum-global-color-static-transparent-white-600:#ffffffb3;--spectrum-global-color-static-transparent-white-700:#fffc;--spectrum-global-color-static-transparent-white-800:#ffffffe6;--spectrum-global-color-static-transparent-white-900-rgb:255,255,255;--spectrum-global-color-static-transparent-white-900:rgb(var(--spectrum-global-color-static-transparent-white-900-rgb));--spectrum-global-color-static-transparent-black-200:#0000001a;--spectrum-global-color-static-transparent-black-300:#00000040;--spectrum-global-color-static-transparent-black-400:#0006;--spectrum-global-color-static-transparent-black-500:#0000008c;--spectrum-global-color-static-transparent-black-600:#000000b3;--spectrum-global-color-static-transparent-black-700:#000c;--spectrum-global-color-static-transparent-black-800:#000000e6;--spectrum-global-color-static-transparent-black-900-rgb:0,0,0;--spectrum-global-color-static-transparent-black-900:rgb(var(--spectrum-global-color-static-transparent-black-900-rgb));--spectrum-global-color-sequential-cerulean:#e9fff1,#c8f1e4,#a5e3d7,#82d5ca,#68c5c1,#54b4ba,#3fa2b2,#2991ac,#2280a2,#1f6d98,#1d5c8d,#1a4b83,#1a3979,#1a266f,#191264,#180057;--spectrum-global-color-sequential-forest:#ffffdf,#e2f6ba,#c4eb95,#a4e16d,#8dd366,#77c460,#5fb65a,#48a754,#36984f,#2c894d,#237a4a,#196b47,#105c45,#094d41,#033f3e,#00313a;--spectrum-global-color-sequential-rose:#fff4dd,#ffddd7,#ffc5d2,#feaecb,#fa96c4,#f57ebd,#ef64b5,#e846ad,#d238a1,#bb2e96,#a3248c,#8a1b83,#71167c,#560f74,#370b6e,#000968;--spectrum-global-color-diverging-orange-yellow-seafoam:#580000,#79260b,#9c4511,#bd651a,#dd8629,#f5ad52,#fed693,#ffffe0,#bbe4d1,#76c7be,#3ea8a6,#208288,#076769,#00494b,#002c2d;--spectrum-global-color-diverging-red-yellow-blue:#4a001e,#751232,#a52747,#c65154,#e47961,#f0a882,#fad4ac,#ffffe0,#bce2cf,#89c0c4,#579eb9,#397aa8,#1c5796,#163771,#10194d;--spectrum-global-color-diverging-red-blue:#4a001e,#731331,#9f2945,#cc415a,#e06e85,#ed9ab0,#f8c3d9,#faf0ff,#c6d0f2,#92b2de,#5d94cb,#2f74b3,#265191,#163670,#0b194c;--spectrum-semantic-negative-background-color:var(--spectrum-global-color-static-red-600);--spectrum-semantic-negative-color-default:var(--spectrum-global-color-red-500);--spectrum-semantic-negative-color-hover:var(--spectrum-global-color-red-600);--spectrum-semantic-negative-color-dark:var(--spectrum-global-color-red-600);--spectrum-semantic-negative-border-color:var(--spectrum-global-color-red-400);--spectrum-semantic-negative-icon-color:var(--spectrum-global-color-red-600);--spectrum-semantic-negative-status-color:var(--spectrum-global-color-red-400);--spectrum-semantic-negative-text-color-large:var(--spectrum-global-color-red-500);--spectrum-semantic-negative-text-color-small:var(--spectrum-global-color-red-600);--spectrum-semantic-negative-text-color-small-hover:var(--spectrum-global-color-red-700);--spectrum-semantic-negative-text-color-small-down:var(--spectrum-global-color-red-700);--spectrum-semantic-negative-text-color-small-key-focus:var(--spectrum-global-color-red-600);--spectrum-semantic-negative-color-down:var(--spectrum-global-color-red-700);--spectrum-semantic-negative-color-key-focus:var(--spectrum-global-color-red-400);--spectrum-semantic-negative-background-color-default:var(--spectrum-global-color-static-red-600);--spectrum-semantic-negative-background-color-hover:var(--spectrum-global-color-static-red-700);--spectrum-semantic-negative-background-color-down:var(--spectrum-global-color-static-red-800);--spectrum-semantic-negative-background-color-key-focus:var(--spectrum-global-color-static-red-700);--spectrum-semantic-notice-background-color:var(--spectrum-global-color-static-orange-600);--spectrum-semantic-notice-color-default:var(--spectrum-global-color-orange-500);--spectrum-semantic-notice-color-dark:var(--spectrum-global-color-orange-600);--spectrum-semantic-notice-border-color:var(--spectrum-global-color-orange-400);--spectrum-semantic-notice-icon-color:var(--spectrum-global-color-orange-600);--spectrum-semantic-notice-status-color:var(--spectrum-global-color-orange-400);--spectrum-semantic-notice-text-color-large:var(--spectrum-global-color-orange-500);--spectrum-semantic-notice-text-color-small:var(--spectrum-global-color-orange-600);--spectrum-semantic-notice-color-down:var(--spectrum-global-color-orange-700);--spectrum-semantic-notice-color-key-focus:var(--spectrum-global-color-orange-400);--spectrum-semantic-notice-background-color-default:var(--spectrum-global-color-static-orange-600);--spectrum-semantic-notice-background-color-hover:var(--spectrum-global-color-static-orange-700);--spectrum-semantic-notice-background-color-down:var(--spectrum-global-color-static-orange-800);--spectrum-semantic-notice-background-color-key-focus:var(--spectrum-global-color-static-orange-700);--spectrum-semantic-positive-background-color:var(--spectrum-global-color-static-green-600);--spectrum-semantic-positive-color-default:var(--spectrum-global-color-green-500);--spectrum-semantic-positive-color-dark:var(--spectrum-global-color-green-600);--spectrum-semantic-positive-border-color:var(--spectrum-global-color-green-400);--spectrum-semantic-positive-icon-color:var(--spectrum-global-color-green-600);--spectrum-semantic-positive-status-color:var(--spectrum-global-color-green-400);--spectrum-semantic-positive-text-color-large:var(--spectrum-global-color-green-500);--spectrum-semantic-positive-text-color-small:var(--spectrum-global-color-green-600);--spectrum-semantic-positive-color-down:var(--spectrum-global-color-green-700);--spectrum-semantic-positive-color-key-focus:var(--spectrum-global-color-green-400);--spectrum-semantic-positive-background-color-default:var(--spectrum-global-color-static-green-600);--spectrum-semantic-positive-background-color-hover:var(--spectrum-global-color-static-green-700);--spectrum-semantic-positive-background-color-down:var(--spectrum-global-color-static-green-800);--spectrum-semantic-positive-background-color-key-focus:var(--spectrum-global-color-static-green-700);--spectrum-semantic-informative-background-color:var(--spectrum-global-color-static-blue-600);--spectrum-semantic-informative-color-default:var(--spectrum-global-color-blue-500);--spectrum-semantic-informative-color-dark:var(--spectrum-global-color-blue-600);--spectrum-semantic-informative-border-color:var(--spectrum-global-color-blue-400);--spectrum-semantic-informative-icon-color:var(--spectrum-global-color-blue-600);--spectrum-semantic-informative-status-color:var(--spectrum-global-color-blue-400);--spectrum-semantic-informative-text-color-large:var(--spectrum-global-color-blue-500);--spectrum-semantic-informative-text-color-small:var(--spectrum-global-color-blue-600);--spectrum-semantic-informative-color-down:var(--spectrum-global-color-blue-700);--spectrum-semantic-informative-color-key-focus:var(--spectrum-global-color-blue-400);--spectrum-semantic-informative-background-color-default:var(--spectrum-global-color-static-blue-600);--spectrum-semantic-informative-background-color-hover:var(--spectrum-global-color-static-blue-700);--spectrum-semantic-informative-background-color-down:var(--spectrum-global-color-static-blue-800);--spectrum-semantic-informative-background-color-key-focus:var(--spectrum-global-color-static-blue-700);--spectrum-semantic-cta-background-color-default:var(--spectrum-global-color-static-blue-600);--spectrum-semantic-cta-background-color-hover:var(--spectrum-global-color-static-blue-700);--spectrum-semantic-cta-background-color-down:var(--spectrum-global-color-static-blue-800);--spectrum-semantic-cta-background-color-key-focus:var(--spectrum-global-color-static-blue-700);--spectrum-semantic-emphasized-border-color-default:var(--spectrum-global-color-blue-500);--spectrum-semantic-emphasized-border-color-hover:var(--spectrum-global-color-blue-600);--spectrum-semantic-emphasized-border-color-down:var(--spectrum-global-color-blue-700);--spectrum-semantic-emphasized-border-color-key-focus:var(--spectrum-global-color-blue-600);--spectrum-semantic-neutral-background-color-default:var(--spectrum-global-color-static-gray-700);--spectrum-semantic-neutral-background-color-hover:var(--spectrum-global-color-static-gray-800);--spectrum-semantic-neutral-background-color-down:var(--spectrum-global-color-static-gray-900);--spectrum-semantic-neutral-background-color-key-focus:var(--spectrum-global-color-static-gray-800);--spectrum-semantic-presence-color-1:var(--spectrum-global-color-static-red-500);--spectrum-semantic-presence-color-2:var(--spectrum-global-color-static-orange-400);--spectrum-semantic-presence-color-3:var(--spectrum-global-color-static-yellow-400);--spectrum-semantic-presence-color-4-rgb:75,204,162;--spectrum-semantic-presence-color-4:rgb(var(--spectrum-semantic-presence-color-4-rgb));--spectrum-semantic-presence-color-5-rgb:0,199,255;--spectrum-semantic-presence-color-5:rgb(var(--spectrum-semantic-presence-color-5-rgb));--spectrum-semantic-presence-color-6-rgb:0,140,184;--spectrum-semantic-presence-color-6:rgb(var(--spectrum-semantic-presence-color-6-rgb));--spectrum-semantic-presence-color-7-rgb:126,75,243;--spectrum-semantic-presence-color-7:rgb(var(--spectrum-semantic-presence-color-7-rgb));--spectrum-semantic-presence-color-8:var(--spectrum-global-color-static-fuchsia-600);--spectrum-global-dimension-static-percent-50:50%;--spectrum-global-dimension-static-percent-70:70%;--spectrum-global-dimension-static-percent-100:100%;--spectrum-global-dimension-static-breakpoint-xsmall:304px;--spectrum-global-dimension-static-breakpoint-small:768px;--spectrum-global-dimension-static-breakpoint-medium:1280px;--spectrum-global-dimension-static-breakpoint-large:1768px;--spectrum-global-dimension-static-breakpoint-xlarge:2160px;--spectrum-global-dimension-static-grid-columns:12;--spectrum-global-dimension-static-grid-fluid-width:100%;--spectrum-global-dimension-static-grid-fixed-max-width:1280px;--spectrum-global-dimension-static-size-0:0px;--spectrum-global-dimension-static-size-10:1px;--spectrum-global-dimension-static-size-25:2px;--spectrum-global-dimension-static-size-40:3px;--spectrum-global-dimension-static-size-50:4px;--spectrum-global-dimension-static-size-65:5px;--spectrum-global-dimension-static-size-75:6px;--spectrum-global-dimension-static-size-85:7px;--spectrum-global-dimension-static-size-100:8px;--spectrum-global-dimension-static-size-115:9px;--spectrum-global-dimension-static-size-125:10px;--spectrum-global-dimension-static-size-130:11px;--spectrum-global-dimension-static-size-150:12px;--spectrum-global-dimension-static-size-160:13px;--spectrum-global-dimension-static-size-175:14px;--spectrum-global-dimension-static-size-185:15px;--spectrum-global-dimension-static-size-200:16px;--spectrum-global-dimension-static-size-225:18px;--spectrum-global-dimension-static-size-250:20px;--spectrum-global-dimension-static-size-275:22px;--spectrum-global-dimension-static-size-300:24px;--spectrum-global-dimension-static-size-325:26px;--spectrum-global-dimension-static-size-350:28px;--spectrum-global-dimension-static-size-400:32px;--spectrum-global-dimension-static-size-450:36px;--spectrum-global-dimension-static-size-500:40px;--spectrum-global-dimension-static-size-550:44px;--spectrum-global-dimension-static-size-600:48px;--spectrum-global-dimension-static-size-700:56px;--spectrum-global-dimension-static-size-800:64px;--spectrum-global-dimension-static-size-900:72px;--spectrum-global-dimension-static-size-1000:80px;--spectrum-global-dimension-static-size-1200:96px;--spectrum-global-dimension-static-size-1700:136px;--spectrum-global-dimension-static-size-2400:192px;--spectrum-global-dimension-static-size-2500:200px;--spectrum-global-dimension-static-size-2600:208px;--spectrum-global-dimension-static-size-2800:224px;--spectrum-global-dimension-static-size-3200:256px;--spectrum-global-dimension-static-size-3400:272px;--spectrum-global-dimension-static-size-3500:280px;--spectrum-global-dimension-static-size-3600:288px;--spectrum-global-dimension-static-size-3800:304px;--spectrum-global-dimension-static-size-4600:368px;--spectrum-global-dimension-static-size-5000:400px;--spectrum-global-dimension-static-size-6000:480px;--spectrum-global-dimension-static-size-16000:1280px;--spectrum-global-dimension-static-font-size-50:11px;--spectrum-global-dimension-static-font-size-75:12px;--spectrum-global-dimension-static-font-size-100:14px;--spectrum-global-dimension-static-font-size-150:15px;--spectrum-global-dimension-static-font-size-200:16px;--spectrum-global-dimension-static-font-size-300:18px;--spectrum-global-dimension-static-font-size-400:20px;--spectrum-global-dimension-static-font-size-500:22px;--spectrum-global-dimension-static-font-size-600:25px;--spectrum-global-dimension-static-font-size-700:28px;--spectrum-global-dimension-static-font-size-800:32px;--spectrum-global-dimension-static-font-size-900:36px;--spectrum-global-dimension-static-font-size-1000:40px;--spectrum-global-font-family-base:adobe-clean,"Source Sans Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Ubuntu,"Trebuchet MS","Lucida Grande",sans-serif;--spectrum-global-font-family-serif:adobe-clean-serif,"Source Serif Pro",Georgia,serif;--spectrum-global-font-family-code:"Source Code Pro",Monaco,monospace;--spectrum-global-font-weight-thin:100;--spectrum-global-font-weight-ultra-light:200;--spectrum-global-font-weight-light:300;--spectrum-global-font-weight-regular:400;--spectrum-global-font-weight-medium:500;--spectrum-global-font-weight-semi-bold:600;--spectrum-global-font-weight-bold:700;--spectrum-global-font-weight-extra-bold:800;--spectrum-global-font-weight-black:900;--spectrum-global-font-style-regular:normal;--spectrum-global-font-style-italic:italic;--spectrum-global-font-letter-spacing-none:0;--spectrum-global-font-letter-spacing-small:.0125em;--spectrum-global-font-letter-spacing-han:.05em;--spectrum-global-font-letter-spacing-medium:.06em;--spectrum-global-font-line-height-large:1.7;--spectrum-global-font-line-height-medium:1.5;--spectrum-global-font-line-height-small:1.3;--spectrum-global-font-multiplier-0:0em;--spectrum-global-font-multiplier-25:.25em;--spectrum-global-font-multiplier-75:.75em;--spectrum-global-font-font-family-ar:myriad-arabic,adobe-clean,"Source Sans Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Ubuntu,"Trebuchet MS","Lucida Grande",sans-serif;--spectrum-global-font-font-family-he:myriad-hebrew,adobe-clean,"Source Sans Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Ubuntu,"Trebuchet MS","Lucida Grande",sans-serif;--spectrum-global-font-font-family-zh:adobe-clean-han-traditional,source-han-traditional,"MingLiu","Heiti TC Light","sans-serif";--spectrum-global-font-font-family-zhhans:adobe-clean-han-simplified-c,source-han-simplified-c,"SimSun","Heiti SC Light","sans-serif";--spectrum-global-font-font-family-ko:adobe-clean-han-korean,source-han-korean,"Malgun Gothic","Apple Gothic","sans-serif";--spectrum-global-font-font-family-ja:adobe-clean-han-japanese,"Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN W3","Osaka",YuGothic,"Yu Gothic","メイリオ",Meiryo,"MS Pゴシック","MS PGothic","sans-serif";--spectrum-global-font-font-family-condensed:adobe-clean-han-traditional,source-han-traditional,"MingLiu","Heiti TC Light",adobe-clean,"Source Sans Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Ubuntu,"Trebuchet MS","Lucida Grande",sans-serif;--spectrum-alias-border-size-thin:var(--spectrum-global-dimension-static-size-10);--spectrum-alias-border-size-thick:var(--spectrum-global-dimension-static-size-25);--spectrum-alias-border-size-thicker:var(--spectrum-global-dimension-static-size-50);--spectrum-alias-border-size-thickest:var(--spectrum-global-dimension-static-size-100);--spectrum-alias-border-offset-thin:var(--spectrum-global-dimension-static-size-25);--spectrum-alias-border-offset-thick:var(--spectrum-global-dimension-static-size-50);--spectrum-alias-border-offset-thicker:var(--spectrum-global-dimension-static-size-100);--spectrum-alias-border-offset-thickest:var(--spectrum-global-dimension-static-size-200);--spectrum-alias-grid-baseline:var(--spectrum-global-dimension-static-size-100);--spectrum-alias-grid-gutter-xsmall:var(--spectrum-global-dimension-static-size-200);--spectrum-alias-grid-gutter-small:var(--spectrum-global-dimension-static-size-300);--spectrum-alias-grid-gutter-medium:var(--spectrum-global-dimension-static-size-400);--spectrum-alias-grid-gutter-large:var(--spectrum-global-dimension-static-size-500);--spectrum-alias-grid-gutter-xlarge:var(--spectrum-global-dimension-static-size-600);--spectrum-alias-grid-margin-xsmall:var(--spectrum-global-dimension-static-size-200);--spectrum-alias-grid-margin-small:var(--spectrum-global-dimension-static-size-300);--spectrum-alias-grid-margin-medium:var(--spectrum-global-dimension-static-size-400);--spectrum-alias-grid-margin-large:var(--spectrum-global-dimension-static-size-500);--spectrum-alias-grid-margin-xlarge:var(--spectrum-global-dimension-static-size-600);--spectrum-alias-grid-layout-region-margin-bottom-xsmall:var(--spectrum-global-dimension-static-size-200);--spectrum-alias-grid-layout-region-margin-bottom-small:var(--spectrum-global-dimension-static-size-300);--spectrum-alias-grid-layout-region-margin-bottom-medium:var(--spectrum-global-dimension-static-size-400);--spectrum-alias-grid-layout-region-margin-bottom-large:var(--spectrum-global-dimension-static-size-500);--spectrum-alias-grid-layout-region-margin-bottom-xlarge:var(--spectrum-global-dimension-static-size-600);--spectrum-alias-radial-reaction-size-default:var(--spectrum-global-dimension-static-size-550);--spectrum-alias-focus-ring-gap:var(--spectrum-global-dimension-static-size-25);--spectrum-alias-focus-ring-size:var(--spectrum-global-dimension-static-size-25);--spectrum-alias-loupe-entry-animation-duration:var(--spectrum-global-animation-duration-300);--spectrum-alias-loupe-exit-animation-duration:var(--spectrum-global-animation-duration-300);--spectrum-alias-heading-text-line-height:var(--spectrum-global-font-line-height-small);--spectrum-alias-heading-text-font-weight-regular:var(--spectrum-global-font-weight-bold);--spectrum-alias-heading-text-font-weight-regular-strong:var(--spectrum-global-font-weight-black);--spectrum-alias-heading-text-font-weight-light:var(--spectrum-global-font-weight-light);--spectrum-alias-heading-text-font-weight-light-strong:var(--spectrum-global-font-weight-bold);--spectrum-alias-heading-text-font-weight-heavy:var(--spectrum-global-font-weight-black);--spectrum-alias-heading-text-font-weight-heavy-strong:var(--spectrum-global-font-weight-black);--spectrum-alias-heading-text-font-weight-quiet:var(--spectrum-global-font-weight-light);--spectrum-alias-heading-text-font-weight-quiet-strong:var(--spectrum-global-font-weight-bold);--spectrum-alias-heading-text-font-weight-strong:var(--spectrum-global-font-weight-black);--spectrum-alias-heading-text-font-weight-strong-strong:var(--spectrum-global-font-weight-black);--spectrum-alias-heading-margin-bottom:var(--spectrum-global-font-multiplier-25);--spectrum-alias-subheading-text-font-weight:var(--spectrum-global-font-weight-bold);--spectrum-alias-subheading-text-font-weight-strong:var(--spectrum-global-font-weight-black);--spectrum-alias-body-text-font-family:var(--spectrum-global-font-family-base);--spectrum-alias-body-text-line-height:var(--spectrum-global-font-line-height-medium);--spectrum-alias-body-text-font-weight:var(--spectrum-global-font-weight-regular);--spectrum-alias-body-text-font-weight-strong:var(--spectrum-global-font-weight-bold);--spectrum-alias-body-margin-bottom:var(--spectrum-global-font-multiplier-75);--spectrum-alias-detail-text-font-weight:var(--spectrum-global-font-weight-bold);--spectrum-alias-detail-text-font-weight-regular:var(--spectrum-global-font-weight-bold);--spectrum-alias-detail-text-font-weight-light:var(--spectrum-global-font-weight-regular);--spectrum-alias-detail-text-font-weight-strong:var(--spectrum-global-font-weight-black);--spectrum-alias-article-heading-text-font-weight:var(--spectrum-global-font-weight-bold);--spectrum-alias-article-heading-text-font-weight-strong:var(--spectrum-global-font-weight-black);--spectrum-alias-article-heading-text-font-weight-quiet:var(--spectrum-global-font-weight-regular);--spectrum-alias-article-heading-text-font-weight-quiet-strong:var(--spectrum-global-font-weight-bold);--spectrum-alias-article-body-text-font-weight:var(--spectrum-global-font-weight-regular);--spectrum-alias-article-body-text-font-weight-strong:var(--spectrum-global-font-weight-black);--spectrum-alias-article-subheading-text-font-weight:var(--spectrum-global-font-weight-bold);--spectrum-alias-article-subheading-text-font-weight-strong:var(--spectrum-global-font-weight-black);--spectrum-alias-article-detail-text-font-weight:var(--spectrum-global-font-weight-regular);--spectrum-alias-article-detail-text-font-weight-strong:var(--spectrum-global-font-weight-bold);--spectrum-alias-code-text-font-family:var(--spectrum-global-font-family-code);--spectrum-alias-code-text-font-weight-regular:var(--spectrum-global-font-weight-regular);--spectrum-alias-code-text-font-weight-strong:var(--spectrum-global-font-weight-bold);--spectrum-alias-code-text-line-height:var(--spectrum-global-font-line-height-medium);--spectrum-alias-code-margin-bottom:var(--spectrum-global-font-multiplier-0);--spectrum-alias-font-family-ar:var(--spectrum-global-font-font-family-ar);--spectrum-alias-font-family-he:var(--spectrum-global-font-font-family-he);--spectrum-alias-font-family-zh:var(--spectrum-global-font-font-family-zh);--spectrum-alias-font-family-zhhans:var(--spectrum-global-font-font-family-zhhans);--spectrum-alias-font-family-ko:var(--spectrum-global-font-font-family-ko);--spectrum-alias-font-family-ja:var(--spectrum-global-font-font-family-ja);--spectrum-alias-font-family-condensed:var(--spectrum-global-font-font-family-condensed);--spectrum-alias-component-text-line-height:var(--spectrum-global-font-line-height-small);--spectrum-alias-han-component-text-line-height:var(--spectrum-global-font-line-height-medium);--spectrum-alias-serif-text-font-family:var(--spectrum-global-font-family-serif);--spectrum-alias-han-heading-text-line-height:var(--spectrum-global-font-line-height-medium);--spectrum-alias-han-heading-text-font-weight-regular:var(--spectrum-global-font-weight-bold);--spectrum-alias-han-heading-text-font-weight-regular-emphasis:var(--spectrum-global-font-weight-extra-bold);--spectrum-alias-han-heading-text-font-weight-regular-strong:var(--spectrum-global-font-weight-black);--spectrum-alias-han-heading-text-font-weight-quiet-strong:var(--spectrum-global-font-weight-bold);--spectrum-alias-han-heading-text-font-weight-light:var(--spectrum-global-font-weight-light);--spectrum-alias-han-heading-text-font-weight-light-emphasis:var(--spectrum-global-font-weight-regular);--spectrum-alias-han-heading-text-font-weight-light-strong:var(--spectrum-global-font-weight-bold);--spectrum-alias-han-heading-text-font-weight-heavy:var(--spectrum-global-font-weight-black);--spectrum-alias-han-heading-text-font-weight-heavy-emphasis:var(--spectrum-global-font-weight-black);--spectrum-alias-han-heading-text-font-weight-heavy-strong:var(--spectrum-global-font-weight-black);--spectrum-alias-han-body-text-line-height:var(--spectrum-global-font-line-height-large);--spectrum-alias-han-body-text-font-weight-regular:var(--spectrum-global-font-weight-regular);--spectrum-alias-han-body-text-font-weight-emphasis:var(--spectrum-global-font-weight-bold);--spectrum-alias-han-body-text-font-weight-strong:var(--spectrum-global-font-weight-black);--spectrum-alias-han-subheading-text-font-weight-regular:var(--spectrum-global-font-weight-bold);--spectrum-alias-han-subheading-text-font-weight-emphasis:var(--spectrum-global-font-weight-extra-bold);--spectrum-alias-han-subheading-text-font-weight-strong:var(--spectrum-global-font-weight-black);--spectrum-alias-han-detail-text-font-weight:var(--spectrum-global-font-weight-regular);--spectrum-alias-han-detail-text-font-weight-emphasis:var(--spectrum-global-font-weight-bold);--spectrum-alias-han-detail-text-font-weight-strong:var(--spectrum-global-font-weight-black);--spectrum-alias-item-height-s:var(--spectrum-global-dimension-size-300);--spectrum-alias-item-height-m:var(--spectrum-global-dimension-size-400);--spectrum-alias-item-height-l:var(--spectrum-global-dimension-size-500);--spectrum-alias-item-height-xl:var(--spectrum-global-dimension-size-600);--spectrum-alias-item-rounded-border-radius-s:var(--spectrum-global-dimension-size-150);--spectrum-alias-item-rounded-border-radius-m:var(--spectrum-global-dimension-size-200);--spectrum-alias-item-rounded-border-radius-l:var(--spectrum-global-dimension-size-250);--spectrum-alias-item-rounded-border-radius-xl:var(--spectrum-global-dimension-size-300);--spectrum-alias-item-text-size-s:var(--spectrum-global-dimension-font-size-75);--spectrum-alias-item-text-size-m:var(--spectrum-global-dimension-font-size-100);--spectrum-alias-item-text-size-l:var(--spectrum-global-dimension-font-size-200);--spectrum-alias-item-text-size-xl:var(--spectrum-global-dimension-font-size-300);--spectrum-alias-item-text-padding-top-s:var(--spectrum-global-dimension-static-size-50);--spectrum-alias-item-text-padding-top-m:var(--spectrum-global-dimension-size-75);--spectrum-alias-item-text-padding-top-xl:var(--spectrum-global-dimension-size-150);--spectrum-alias-item-text-padding-bottom-m:var(--spectrum-global-dimension-size-115);--spectrum-alias-item-text-padding-bottom-l:var(--spectrum-global-dimension-size-130);--spectrum-alias-item-text-padding-bottom-xl:var(--spectrum-global-dimension-size-175);--spectrum-alias-item-icon-padding-top-s:var(--spectrum-global-dimension-size-50);--spectrum-alias-item-icon-padding-top-m:var(--spectrum-global-dimension-size-85);--spectrum-alias-item-icon-padding-top-l:var(--spectrum-global-dimension-size-125);--spectrum-alias-item-icon-padding-top-xl:var(--spectrum-global-dimension-size-160);--spectrum-alias-item-icon-padding-bottom-s:var(--spectrum-global-dimension-size-50);--spectrum-alias-item-icon-padding-bottom-m:var(--spectrum-global-dimension-size-85);--spectrum-alias-item-icon-padding-bottom-l:var(--spectrum-global-dimension-size-125);--spectrum-alias-item-icon-padding-bottom-xl:var(--spectrum-global-dimension-size-160);--spectrum-alias-item-padding-s:var(--spectrum-global-dimension-size-115);--spectrum-alias-item-padding-m:var(--spectrum-global-dimension-size-150);--spectrum-alias-item-padding-l:var(--spectrum-global-dimension-size-185);--spectrum-alias-item-padding-xl:var(--spectrum-global-dimension-size-225);--spectrum-alias-item-rounded-padding-s:var(--spectrum-global-dimension-size-150);--spectrum-alias-item-rounded-padding-m:var(--spectrum-global-dimension-size-200);--spectrum-alias-item-rounded-padding-l:var(--spectrum-global-dimension-size-250);--spectrum-alias-item-rounded-padding-xl:var(--spectrum-global-dimension-size-300);--spectrum-alias-item-icononly-padding-s:var(--spectrum-global-dimension-size-50);--spectrum-alias-item-icononly-padding-m:var(--spectrum-global-dimension-size-85);--spectrum-alias-item-icononly-padding-l:var(--spectrum-global-dimension-size-125);--spectrum-alias-item-icononly-padding-xl:var(--spectrum-global-dimension-size-160);--spectrum-alias-item-control-gap-s:var(--spectrum-global-dimension-size-115);--spectrum-alias-item-control-gap-m:var(--spectrum-global-dimension-size-125);--spectrum-alias-item-control-gap-l:var(--spectrum-global-dimension-size-130);--spectrum-alias-item-control-gap-xl:var(--spectrum-global-dimension-size-160);--spectrum-alias-item-workflow-icon-gap-s:var(--spectrum-global-dimension-size-85);--spectrum-alias-item-workflow-icon-gap-m:var(--spectrum-global-dimension-size-100);--spectrum-alias-item-workflow-icon-gap-l:var(--spectrum-global-dimension-size-115);--spectrum-alias-item-workflow-icon-gap-xl:var(--spectrum-global-dimension-size-125);--spectrum-alias-item-mark-gap-s:var(--spectrum-global-dimension-size-85);--spectrum-alias-item-mark-gap-m:var(--spectrum-global-dimension-size-100);--spectrum-alias-item-mark-gap-l:var(--spectrum-global-dimension-size-115);--spectrum-alias-item-mark-gap-xl:var(--spectrum-global-dimension-size-125);--spectrum-alias-item-ui-icon-gap-s:var(--spectrum-global-dimension-size-85);--spectrum-alias-item-ui-icon-gap-m:var(--spectrum-global-dimension-size-100);--spectrum-alias-item-ui-icon-gap-l:var(--spectrum-global-dimension-size-115);--spectrum-alias-item-ui-icon-gap-xl:var(--spectrum-global-dimension-size-125);--spectrum-alias-item-clearbutton-gap-s:var(--spectrum-global-dimension-size-50);--spectrum-alias-item-clearbutton-gap-m:var(--spectrum-global-dimension-size-85);--spectrum-alias-item-clearbutton-gap-l:var(--spectrum-global-dimension-size-125);--spectrum-alias-item-clearbutton-gap-xl:var(--spectrum-global-dimension-size-150);--spectrum-alias-item-workflow-padding-left-s:var(--spectrum-global-dimension-size-85);--spectrum-alias-item-workflow-padding-left-l:var(--spectrum-global-dimension-size-160);--spectrum-alias-item-workflow-padding-left-xl:var(--spectrum-global-dimension-size-185);--spectrum-alias-item-rounded-workflow-padding-left-s:var(--spectrum-global-dimension-size-125);--spectrum-alias-item-rounded-workflow-padding-left-l:var(--spectrum-global-dimension-size-225);--spectrum-alias-item-mark-padding-top-s:var(--spectrum-global-dimension-size-40);--spectrum-alias-item-mark-padding-top-l:var(--spectrum-global-dimension-size-115);--spectrum-alias-item-mark-padding-top-xl:var(--spectrum-global-dimension-size-130);--spectrum-alias-item-mark-padding-bottom-s:var(--spectrum-global-dimension-size-40);--spectrum-alias-item-mark-padding-bottom-l:var(--spectrum-global-dimension-size-115);--spectrum-alias-item-mark-padding-bottom-xl:var(--spectrum-global-dimension-size-130);--spectrum-alias-item-mark-padding-left-s:var(--spectrum-global-dimension-size-85);--spectrum-alias-item-mark-padding-left-l:var(--spectrum-global-dimension-size-160);--spectrum-alias-item-mark-padding-left-xl:var(--spectrum-global-dimension-size-185);--spectrum-alias-item-control-1-size-s:var(--spectrum-global-dimension-static-size-100);--spectrum-alias-item-control-1-size-m:var(--spectrum-global-dimension-size-100);--spectrum-alias-item-control-2-size-m:var(--spectrum-global-dimension-size-175);--spectrum-alias-item-control-2-size-l:var(--spectrum-global-dimension-size-200);--spectrum-alias-item-control-2-size-xl:var(--spectrum-global-dimension-size-225);--spectrum-alias-item-control-2-size-xxl:var(--spectrum-global-dimension-size-250);--spectrum-alias-item-control-2-border-radius-s:var(--spectrum-global-dimension-size-75);--spectrum-alias-item-control-2-border-radius-m:var(--spectrum-global-dimension-size-85);--spectrum-alias-item-control-2-border-radius-l:var(--spectrum-global-dimension-size-100);--spectrum-alias-item-control-2-border-radius-xl:var(--spectrum-global-dimension-size-115);--spectrum-alias-item-control-2-border-radius-xxl:var(--spectrum-global-dimension-size-125);--spectrum-alias-item-control-2-padding-s:var(--spectrum-global-dimension-size-75);--spectrum-alias-item-control-2-padding-m:var(--spectrum-global-dimension-size-115);--spectrum-alias-item-control-2-padding-l:var(--spectrum-global-dimension-size-150);--spectrum-alias-item-control-2-padding-xl:var(--spectrum-global-dimension-size-185);--spectrum-alias-item-control-3-height-m:var(--spectrum-global-dimension-size-175);--spectrum-alias-item-control-3-height-l:var(--spectrum-global-dimension-size-200);--spectrum-alias-item-control-3-height-xl:var(--spectrum-global-dimension-size-225);--spectrum-alias-item-control-3-border-radius-s:var(--spectrum-global-dimension-size-75);--spectrum-alias-item-control-3-border-radius-m:var(--spectrum-global-dimension-size-85);--spectrum-alias-item-control-3-border-radius-l:var(--spectrum-global-dimension-size-100);--spectrum-alias-item-control-3-border-radius-xl:var(--spectrum-global-dimension-size-115);--spectrum-alias-item-control-3-padding-s:var(--spectrum-global-dimension-size-75);--spectrum-alias-item-control-3-padding-m:var(--spectrum-global-dimension-size-115);--spectrum-alias-item-control-3-padding-l:var(--spectrum-global-dimension-size-150);--spectrum-alias-item-control-3-padding-xl:var(--spectrum-global-dimension-size-185);--spectrum-alias-item-mark-size-s:var(--spectrum-global-dimension-size-225);--spectrum-alias-item-mark-size-l:var(--spectrum-global-dimension-size-275);--spectrum-alias-item-mark-size-xl:var(--spectrum-global-dimension-size-325);--spectrum-alias-heading-xxxl-text-size:var(--spectrum-global-dimension-font-size-1300);--spectrum-alias-heading-xxl-text-size:var(--spectrum-global-dimension-font-size-1100);--spectrum-alias-heading-xl-text-size:var(--spectrum-global-dimension-font-size-900);--spectrum-alias-heading-l-text-size:var(--spectrum-global-dimension-font-size-700);--spectrum-alias-heading-m-text-size:var(--spectrum-global-dimension-font-size-500);--spectrum-alias-heading-s-text-size:var(--spectrum-global-dimension-font-size-300);--spectrum-alias-heading-xs-text-size:var(--spectrum-global-dimension-font-size-200);--spectrum-alias-heading-xxs-text-size:var(--spectrum-global-dimension-font-size-100);--spectrum-alias-heading-xxxl-margin-top:var(--spectrum-global-dimension-font-size-1200);--spectrum-alias-heading-xxl-margin-top:var(--spectrum-global-dimension-font-size-900);--spectrum-alias-heading-xl-margin-top:var(--spectrum-global-dimension-font-size-800);--spectrum-alias-heading-l-margin-top:var(--spectrum-global-dimension-font-size-600);--spectrum-alias-heading-m-margin-top:var(--spectrum-global-dimension-font-size-400);--spectrum-alias-heading-s-margin-top:var(--spectrum-global-dimension-font-size-200);--spectrum-alias-heading-xs-margin-top:var(--spectrum-global-dimension-font-size-100);--spectrum-alias-heading-xxs-margin-top:var(--spectrum-global-dimension-font-size-75);--spectrum-alias-heading-han-xxxl-text-size:var(--spectrum-global-dimension-font-size-1300);--spectrum-alias-heading-han-xxl-text-size:var(--spectrum-global-dimension-font-size-900);--spectrum-alias-heading-han-xl-text-size:var(--spectrum-global-dimension-font-size-800);--spectrum-alias-heading-han-l-text-size:var(--spectrum-global-dimension-font-size-600);--spectrum-alias-heading-han-m-text-size:var(--spectrum-global-dimension-font-size-400);--spectrum-alias-heading-han-s-text-size:var(--spectrum-global-dimension-font-size-300);--spectrum-alias-heading-han-xs-text-size:var(--spectrum-global-dimension-font-size-200);--spectrum-alias-heading-han-xxs-text-size:var(--spectrum-global-dimension-font-size-100);--spectrum-alias-heading-han-xxxl-margin-top:var(--spectrum-global-dimension-font-size-1200);--spectrum-alias-heading-han-xxl-margin-top:var(--spectrum-global-dimension-font-size-800);--spectrum-alias-heading-han-xl-margin-top:var(--spectrum-global-dimension-font-size-700);--spectrum-alias-heading-han-l-margin-top:var(--spectrum-global-dimension-font-size-500);--spectrum-alias-heading-han-m-margin-top:var(--spectrum-global-dimension-font-size-300);--spectrum-alias-heading-han-s-margin-top:var(--spectrum-global-dimension-font-size-200);--spectrum-alias-heading-han-xs-margin-top:var(--spectrum-global-dimension-font-size-100);--spectrum-alias-heading-han-xxs-margin-top:var(--spectrum-global-dimension-font-size-75);--spectrum-alias-component-border-radius:var(--spectrum-global-dimension-size-50);--spectrum-alias-component-border-radius-quiet:var(--spectrum-global-dimension-static-size-0);--spectrum-alias-component-focusring-gap:var(--spectrum-global-dimension-static-size-0);--spectrum-alias-component-focusring-gap-emphasized:var(--spectrum-global-dimension-static-size-25);--spectrum-alias-component-focusring-size:var(--spectrum-global-dimension-static-size-10);--spectrum-alias-component-focusring-size-emphasized:var(--spectrum-global-dimension-static-size-25);--spectrum-alias-input-border-size:var(--spectrum-global-dimension-static-size-10);--spectrum-alias-input-focusring-gap:var(--spectrum-global-dimension-static-size-0);--spectrum-alias-input-quiet-focusline-gap:var(--spectrum-global-dimension-static-size-10);--spectrum-alias-control-two-size-m:var(--spectrum-global-dimension-size-175);--spectrum-alias-control-two-size-l:var(--spectrum-global-dimension-size-200);--spectrum-alias-control-two-size-xl:var(--spectrum-global-dimension-size-225);--spectrum-alias-control-two-size-xxl:var(--spectrum-global-dimension-size-250);--spectrum-alias-control-two-border-radius-s:var(--spectrum-global-dimension-size-75);--spectrum-alias-control-two-border-radius-m:var(--spectrum-global-dimension-size-85);--spectrum-alias-control-two-border-radius-l:var(--spectrum-global-dimension-size-100);--spectrum-alias-control-two-border-radius-xl:var(--spectrum-global-dimension-size-115);--spectrum-alias-control-two-border-radius-xxl:var(--spectrum-global-dimension-size-125);--spectrum-alias-control-two-focus-ring-border-radius-s:var(--spectrum-global-dimension-size-125);--spectrum-alias-control-two-focus-ring-border-radius-m:var(--spectrum-global-dimension-size-130);--spectrum-alias-control-two-focus-ring-border-radius-l:var(--spectrum-global-dimension-size-150);--spectrum-alias-control-two-focus-ring-border-radius-xl:var(--spectrum-global-dimension-size-160);--spectrum-alias-control-two-focus-ring-border-radius-xxl:var(--spectrum-global-dimension-size-175);--spectrum-alias-control-three-height-m:var(--spectrum-global-dimension-size-175);--spectrum-alias-control-three-height-l:var(--spectrum-global-dimension-size-200);--spectrum-alias-control-three-height-xl:var(--spectrum-global-dimension-size-225);--spectrum-alias-clearbutton-icon-margin-s:var(--spectrum-global-dimension-size-100);--spectrum-alias-clearbutton-icon-margin-m:var(--spectrum-global-dimension-size-150);--spectrum-alias-clearbutton-icon-margin-l:var(--spectrum-global-dimension-size-185);--spectrum-alias-clearbutton-icon-margin-xl:var(--spectrum-global-dimension-size-225);--spectrum-alias-clearbutton-border-radius:var(--spectrum-global-dimension-size-50);--spectrum-alias-percent-50:50%;--spectrum-alias-percent-70:70%;--spectrum-alias-percent-100:100%;--spectrum-alias-breakpoint-xsmall:304px;--spectrum-alias-breakpoint-small:768px;--spectrum-alias-breakpoint-medium:1280px;--spectrum-alias-breakpoint-large:1768px;--spectrum-alias-breakpoint-xlarge:2160px;--spectrum-alias-grid-columns:12;--spectrum-alias-grid-fluid-width:100%;--spectrum-alias-grid-fixed-max-width:1280px;--spectrum-alias-focus-ring-gap-small:var(--spectrum-global-dimension-static-size-0);--spectrum-alias-focus-ring-size-small:var(--spectrum-global-dimension-static-size-10);--spectrum-alias-dropshadow-blur:var(--spectrum-global-dimension-size-50);--spectrum-alias-dropshadow-offset-y:var(--spectrum-global-dimension-size-10);--spectrum-alias-font-size-default:var(--spectrum-global-dimension-font-size-100);--spectrum-alias-layout-label-gap-size:var(--spectrum-global-dimension-size-100);--spectrum-alias-pill-button-text-size:var(--spectrum-global-dimension-font-size-100);--spectrum-alias-pill-button-text-baseline:var(--spectrum-global-dimension-static-size-150);--spectrum-alias-border-radius-xsmall:var(--spectrum-global-dimension-size-10);--spectrum-alias-border-radius-small:var(--spectrum-global-dimension-size-25);--spectrum-alias-border-radius-regular:var(--spectrum-global-dimension-size-50);--spectrum-alias-border-radius-medium:var(--spectrum-global-dimension-size-100);--spectrum-alias-border-radius-large:var(--spectrum-global-dimension-size-200);--spectrum-alias-border-radius-xlarge:var(--spectrum-global-dimension-size-300);--spectrum-alias-focus-ring-border-radius-xsmall:var(--spectrum-global-dimension-size-50);--spectrum-alias-focus-ring-border-radius-small:var(--spectrum-global-dimension-static-size-65);--spectrum-alias-focus-ring-border-radius-medium:var(--spectrum-global-dimension-size-150);--spectrum-alias-focus-ring-border-radius-large:var(--spectrum-global-dimension-size-250);--spectrum-alias-focus-ring-border-radius-xlarge:var(--spectrum-global-dimension-size-350);--spectrum-alias-single-line-height:var(--spectrum-global-dimension-size-400);--spectrum-alias-single-line-width:var(--spectrum-global-dimension-size-2400);--spectrum-alias-workflow-icon-size-s:var(--spectrum-global-dimension-size-200);--spectrum-alias-workflow-icon-size-m:var(--spectrum-global-dimension-size-225);--spectrum-alias-workflow-icon-size-xl:var(--spectrum-global-dimension-size-275);--spectrum-alias-ui-icon-alert-size-75:var(--spectrum-global-dimension-size-200);--spectrum-alias-ui-icon-alert-size-100:var(--spectrum-global-dimension-size-225);--spectrum-alias-ui-icon-alert-size-200:var(--spectrum-global-dimension-size-250);--spectrum-alias-ui-icon-alert-size-300:var(--spectrum-global-dimension-size-275);--spectrum-alias-ui-icon-triplegripper-size-100-height:var(--spectrum-global-dimension-size-100);--spectrum-alias-ui-icon-doublegripper-size-100-width:var(--spectrum-global-dimension-size-200);--spectrum-alias-ui-icon-singlegripper-size-100-width:var(--spectrum-global-dimension-size-300);--spectrum-alias-ui-icon-cornertriangle-size-75:var(--spectrum-global-dimension-size-65);--spectrum-alias-ui-icon-cornertriangle-size-200:var(--spectrum-global-dimension-size-75);--spectrum-alias-ui-icon-asterisk-size-75:var(--spectrum-global-dimension-static-size-100);--spectrum-alias-ui-icon-asterisk-size-100:var(--spectrum-global-dimension-size-100);--spectrum-alias-transparent-blue-background-color-hover:#0057be26;--spectrum-alias-transparent-blue-background-color-down:#0048994d;--spectrum-alias-transparent-blue-background-color-key-focus:var(--spectrum-alias-transparent-blue-background-color-hover);--spectrum-alias-transparent-blue-background-color-mouse-focus:var(--spectrum-alias-transparent-blue-background-color-hover);--spectrum-alias-transparent-blue-background-color:var(--spectrum-alias-component-text-color-default);--spectrum-alias-transparent-red-background-color-hover:#9a000026;--spectrum-alias-transparent-red-background-color-down:#7c00004d;--spectrum-alias-transparent-red-background-color-key-focus:var(--spectrum-alias-transparent-red-background-color-hover);--spectrum-alias-transparent-red-background-color-mouse-focus:var(--spectrum-alias-transparent-red-background-color-hover);--spectrum-alias-transparent-red-background-color:var(--spectrum-alias-component-text-color-default);--spectrum-alias-component-text-color-disabled:var(--spectrum-global-color-gray-500);--spectrum-alias-component-text-color-default:var(--spectrum-global-color-gray-800);--spectrum-alias-component-text-color-hover:var(--spectrum-global-color-gray-900);--spectrum-alias-component-text-color-down:var(--spectrum-global-color-gray-900);--spectrum-alias-component-text-color-key-focus:var(--spectrum-alias-component-text-color-hover);--spectrum-alias-component-text-color-mouse-focus:var(--spectrum-alias-component-text-color-hover);--spectrum-alias-component-text-color:var(--spectrum-alias-component-text-color-default);--spectrum-alias-component-text-color-selected-default:var(--spectrum-alias-component-text-color-default);--spectrum-alias-component-text-color-selected-hover:var(--spectrum-alias-component-text-color-hover);--spectrum-alias-component-text-color-selected-down:var(--spectrum-alias-component-text-color-down);--spectrum-alias-component-text-color-selected-key-focus:var(--spectrum-alias-component-text-color-key-focus);--spectrum-alias-component-text-color-selected-mouse-focus:var(--spectrum-alias-component-text-color-mouse-focus);--spectrum-alias-component-text-color-selected:var(--spectrum-alias-component-text-color-selected-default);--spectrum-alias-component-text-color-emphasized-selected-default:var(--spectrum-global-color-static-white);--spectrum-alias-component-text-color-emphasized-selected-hover:var(--spectrum-alias-component-text-color-emphasized-selected-default);--spectrum-alias-component-text-color-emphasized-selected-down:var(--spectrum-alias-component-text-color-emphasized-selected-default);--spectrum-alias-component-text-color-emphasized-selected-key-focus:var(--spectrum-alias-component-text-color-emphasized-selected-default);--spectrum-alias-component-text-color-emphasized-selected-mouse-focus:var(--spectrum-alias-component-text-color-emphasized-selected-default);--spectrum-alias-component-text-color-emphasized-selected:var(--spectrum-alias-component-text-color-emphasized-selected-default);--spectrum-alias-component-text-color-error-default:var(--spectrum-semantic-negative-text-color-small);--spectrum-alias-component-text-color-error-hover:var(--spectrum-semantic-negative-text-color-small-hover);--spectrum-alias-component-text-color-error-down:var(--spectrum-semantic-negative-text-color-small-down);--spectrum-alias-component-text-color-error-key-focus:var(--spectrum-semantic-negative-text-color-small-key-focus);--spectrum-alias-component-text-color-error-mouse-focus:var(--spectrum-semantic-negative-text-color-small-key-focus);--spectrum-alias-component-text-color-error:var(--spectrum-alias-component-text-color-error-default);--spectrum-alias-component-icon-color-disabled:var(--spectrum-alias-icon-color-disabled);--spectrum-alias-component-icon-color-default:var(--spectrum-alias-icon-color);--spectrum-alias-component-icon-color-hover:var(--spectrum-alias-icon-color-hover);--spectrum-alias-component-icon-color-down:var(--spectrum-alias-icon-color-down);--spectrum-alias-component-icon-color-key-focus:var(--spectrum-alias-icon-color-hover);--spectrum-alias-component-icon-color-mouse-focus:var(--spectrum-alias-icon-color-down);--spectrum-alias-component-icon-color:var(--spectrum-alias-component-icon-color-default);--spectrum-alias-component-icon-color-selected:var(--spectrum-alias-icon-color-selected-neutral-subdued);--spectrum-alias-component-icon-color-emphasized-selected-default:var(--spectrum-global-color-static-white);--spectrum-alias-component-icon-color-emphasized-selected-hover:var(--spectrum-alias-component-icon-color-emphasized-selected-default);--spectrum-alias-component-icon-color-emphasized-selected-down:var(--spectrum-alias-component-icon-color-emphasized-selected-default);--spectrum-alias-component-icon-color-emphasized-selected-key-focus:var(--spectrum-alias-component-icon-color-emphasized-selected-default);--spectrum-alias-component-icon-color-emphasized-selected:var(--spectrum-alias-component-icon-color-emphasized-selected-default);--spectrum-alias-component-background-color-disabled:var(--spectrum-global-color-gray-200);--spectrum-alias-component-background-color-quiet-disabled:var(--spectrum-alias-background-color-transparent);--spectrum-alias-component-background-color-quiet-selected-disabled:var(--spectrum-alias-component-background-color-disabled);--spectrum-alias-component-background-color-default:var(--spectrum-global-color-gray-75);--spectrum-alias-component-background-color-hover:var(--spectrum-global-color-gray-50);--spectrum-alias-component-background-color-down:var(--spectrum-global-color-gray-200);--spectrum-alias-component-background-color-key-focus:var(--spectrum-global-color-gray-50);--spectrum-alias-component-background-color:var(--spectrum-alias-component-background-color-default);--spectrum-alias-component-background-color-selected-default:var(--spectrum-global-color-gray-200);--spectrum-alias-component-background-color-selected-hover:var(--spectrum-global-color-gray-200);--spectrum-alias-component-background-color-selected-down:var(--spectrum-global-color-gray-200);--spectrum-alias-component-background-color-selected-key-focus:var(--spectrum-global-color-gray-200);--spectrum-alias-component-background-color-selected:var(--spectrum-alias-component-background-color-selected-default);--spectrum-alias-component-background-color-quiet-default:var(--spectrum-alias-background-color-transparent);--spectrum-alias-component-background-color-quiet-hover:var(--spectrum-alias-background-color-transparent);--spectrum-alias-component-background-color-quiet-down:var(--spectrum-global-color-gray-300);--spectrum-alias-component-background-color-quiet-key-focus:var(--spectrum-alias-background-color-transparent);--spectrum-alias-component-background-color-quiet:var(--spectrum-alias-component-background-color-quiet-default);--spectrum-alias-component-background-color-quiet-selected-default:var(--spectrum-alias-component-background-color-selected-default);--spectrum-alias-component-background-color-quiet-selected-hover:var(--spectrum-alias-component-background-color-selected-hover);--spectrum-alias-component-background-color-quiet-selected-down:var(--spectrum-alias-component-background-color-selected-down);--spectrum-alias-component-background-color-quiet-selected-key-focus:var(--spectrum-alias-component-background-color-selected-key-focus);--spectrum-alias-component-background-color-quiet-selected:var(--spectrum-alias-component-background-color-selected-default);--spectrum-alias-component-background-color-emphasized-selected-default:var(--spectrum-semantic-cta-background-color-default);--spectrum-alias-component-background-color-emphasized-selected-hover:var(--spectrum-semantic-cta-background-color-hover);--spectrum-alias-component-background-color-emphasized-selected-down:var(--spectrum-semantic-cta-background-color-down);--spectrum-alias-component-background-color-emphasized-selected-key-focus:var(--spectrum-semantic-cta-background-color-key-focus);--spectrum-alias-component-background-color-emphasized-selected:var(--spectrum-alias-component-background-color-emphasized-selected-default);--spectrum-alias-component-border-color-disabled:var(--spectrum-alias-border-color-disabled);--spectrum-alias-component-border-color-quiet-disabled:var(--spectrum-alias-border-color-transparent);--spectrum-alias-component-border-color-default:var(--spectrum-alias-border-color);--spectrum-alias-component-border-color-hover:var(--spectrum-alias-border-color-hover);--spectrum-alias-component-border-color-down:var(--spectrum-alias-border-color-down);--spectrum-alias-component-border-color-key-focus:var(--spectrum-alias-border-color-key-focus);--spectrum-alias-component-border-color:var(--spectrum-alias-component-border-color-default);--spectrum-alias-component-border-color-selected-default:var(--spectrum-alias-border-color);--spectrum-alias-component-border-color-selected-hover:var(--spectrum-alias-border-color-hover);--spectrum-alias-component-border-color-selected-down:var(--spectrum-alias-border-color-down);--spectrum-alias-component-border-color-selected-key-focus:var(--spectrum-alias-border-color-key-focus);--spectrum-alias-component-border-color-selected:var(--spectrum-alias-component-border-color-selected-default);--spectrum-alias-component-border-color-quiet-default:var(--spectrum-alias-border-color-transparent);--spectrum-alias-component-border-color-quiet-hover:var(--spectrum-alias-border-color-transparent);--spectrum-alias-component-border-color-quiet-down:var(--spectrum-alias-border-color-transparent);--spectrum-alias-component-border-color-quiet-key-focus:var(--spectrum-alias-border-color-key-focus);--spectrum-alias-component-border-color-quiet:var(--spectrum-alias-component-border-color-quiet-default);--spectrum-alias-component-border-color-quiet-selected-default:var(--spectrum-global-color-gray-200);--spectrum-alias-component-border-color-quiet-selected-hover:var(--spectrum-global-color-gray-200);--spectrum-alias-component-border-color-quiet-selected-down:var(--spectrum-global-color-gray-200);--spectrum-alias-component-border-color-quiet-selected-key-focus:var(--spectrum-alias-border-color-key-focus);--spectrum-alias-component-border-color-quiet-selected:var(--spectrum-alias-component-border-color-quiet-selected-default);--spectrum-alias-component-border-color-emphasized-selected-default:var(--spectrum-semantic-cta-background-color-default);--spectrum-alias-component-border-color-emphasized-selected-hover:var(--spectrum-semantic-cta-background-color-hover);--spectrum-alias-component-border-color-emphasized-selected-down:var(--spectrum-semantic-cta-background-color-down);--spectrum-alias-component-border-color-emphasized-selected-key-focus:var(--spectrum-semantic-cta-background-color-key-focus);--spectrum-alias-component-border-color-emphasized-selected:var(--spectrum-alias-component-border-color-emphasized-selected-default);--spectrum-alias-toggle-background-color-default:var(--spectrum-global-color-gray-700);--spectrum-alias-toggle-background-color-hover:var(--spectrum-global-color-gray-800);--spectrum-alias-toggle-background-color-down:var(--spectrum-global-color-gray-900);--spectrum-alias-toggle-background-color-key-focus:var(--spectrum-global-color-gray-800);--spectrum-alias-toggle-background-color:var(--spectrum-alias-toggle-background-color-default);--spectrum-alias-toggle-background-color-emphasized-selected-default:var(--spectrum-global-color-blue-500);--spectrum-alias-toggle-background-color-emphasized-selected-hover:var(--spectrum-global-color-blue-600);--spectrum-alias-toggle-background-color-emphasized-selected-down:var(--spectrum-global-color-blue-700);--spectrum-alias-toggle-background-color-emphasized-selected-key-focus:var(--spectrum-global-color-blue-600);--spectrum-alias-toggle-background-color-emphasized-selected:var(--spectrum-alias-toggle-background-color-emphasized-selected-default);--spectrum-alias-toggle-border-color-default:var(--spectrum-global-color-gray-700);--spectrum-alias-toggle-border-color-hover:var(--spectrum-global-color-gray-800);--spectrum-alias-toggle-border-color-down:var(--spectrum-global-color-gray-900);--spectrum-alias-toggle-border-color-key-focus:var(--spectrum-global-color-gray-800);--spectrum-alias-toggle-border-color:var(--spectrum-alias-toggle-border-color-default);--spectrum-alias-toggle-icon-color-selected:var(--spectrum-global-color-gray-75);--spectrum-alias-toggle-icon-color-emphasized-selected:var(--spectrum-global-color-gray-75);--spectrum-alias-input-border-color-disabled:var(--spectrum-alias-border-color-transparent);--spectrum-alias-input-border-color-quiet-disabled:var(--spectrum-alias-border-color-mid);--spectrum-alias-input-border-color-default:var(--spectrum-alias-border-color);--spectrum-alias-input-border-color-hover:var(--spectrum-alias-border-color-hover);--spectrum-alias-input-border-color-down:var(--spectrum-alias-border-color-mouse-focus);--spectrum-alias-input-border-color-mouse-focus:var(--spectrum-alias-border-color-mouse-focus);--spectrum-alias-input-border-color-key-focus:var(--spectrum-alias-border-color-key-focus);--spectrum-alias-input-border-color:var(--spectrum-alias-input-border-color-default);--spectrum-alias-input-border-color-invalid-default:var(--spectrum-semantic-negative-color-default);--spectrum-alias-input-border-color-invalid-hover:var(--spectrum-semantic-negative-color-hover);--spectrum-alias-input-border-color-invalid-down:var(--spectrum-semantic-negative-color-down);--spectrum-alias-input-border-color-invalid-mouse-focus:var(--spectrum-semantic-negative-color-hover);--spectrum-alias-input-border-color-invalid-key-focus:var(--spectrum-alias-border-color-key-focus);--spectrum-alias-input-border-color-invalid:var(--spectrum-alias-input-border-color-invalid-default);--spectrum-alias-background-color-yellow-default:var(--spectrum-global-color-static-yellow-300);--spectrum-alias-background-color-yellow-hover:var(--spectrum-global-color-static-yellow-400);--spectrum-alias-background-color-yellow-key-focus:var(--spectrum-global-color-static-yellow-400);--spectrum-alias-background-color-yellow-down:var(--spectrum-global-color-static-yellow-500);--spectrum-alias-background-color-yellow:var(--spectrum-alias-background-color-yellow-default);--spectrum-alias-tabitem-text-color-default:var(--spectrum-alias-label-text-color);--spectrum-alias-tabitem-text-color-hover:var(--spectrum-alias-text-color-hover);--spectrum-alias-tabitem-text-color-down:var(--spectrum-alias-text-color-down);--spectrum-alias-tabitem-text-color-key-focus:var(--spectrum-alias-text-color-hover);--spectrum-alias-tabitem-text-color-mouse-focus:var(--spectrum-alias-text-color-hover);--spectrum-alias-tabitem-text-color:var(--spectrum-alias-tabitem-text-color-default);--spectrum-alias-tabitem-text-color-selected-default:var(--spectrum-global-color-gray-900);--spectrum-alias-tabitem-text-color-selected-hover:var(--spectrum-alias-tabitem-text-color-selected-default);--spectrum-alias-tabitem-text-color-selected-down:var(--spectrum-alias-tabitem-text-color-selected-default);--spectrum-alias-tabitem-text-color-selected-key-focus:var(--spectrum-alias-tabitem-text-color-selected-default);--spectrum-alias-tabitem-text-color-selected-mouse-focus:var(--spectrum-alias-tabitem-text-color-selected-default);--spectrum-alias-tabitem-text-color-selected:var(--spectrum-alias-tabitem-text-color-selected-default);--spectrum-alias-tabitem-text-color-emphasized:var(--spectrum-alias-tabitem-text-color-default);--spectrum-alias-tabitem-text-color-emphasized-selected-default:var(--spectrum-global-color-static-blue-500);--spectrum-alias-tabitem-text-color-emphasized-selected-hover:var(--spectrum-alias-tabitem-text-color-emphasized-selected-default);--spectrum-alias-tabitem-text-color-emphasized-selected-down:var(--spectrum-alias-tabitem-text-color-emphasized-selected-default);--spectrum-alias-tabitem-text-color-emphasized-selected-key-focus:var(--spectrum-alias-tabitem-text-color-emphasized-selected-default);--spectrum-alias-tabitem-text-color-emphasized-selected-mouse-focus:var(--spectrum-alias-tabitem-text-color-emphasized-selected-default);--spectrum-alias-tabitem-text-color-emphasized-selected:var(--spectrum-alias-tabitem-text-color-emphasized-selected-default);--spectrum-alias-tabitem-selection-indicator-color-default:var(--spectrum-alias-tabitem-text-color-selected-default);--spectrum-alias-tabitem-selection-indicator-color-emphasized:var(--spectrum-alias-tabitem-text-color-emphasized-selected-default);--spectrum-alias-tabitem-icon-color-disabled:var(--spectrum-alias-text-color-disabled);--spectrum-alias-tabitem-icon-color-default:var(--spectrum-alias-icon-color);--spectrum-alias-tabitem-icon-color-hover:var(--spectrum-alias-icon-color-hover);--spectrum-alias-tabitem-icon-color-down:var(--spectrum-alias-icon-color-down);--spectrum-alias-tabitem-icon-color-key-focus:var(--spectrum-alias-icon-color-hover);--spectrum-alias-tabitem-icon-color-mouse-focus:var(--spectrum-alias-icon-color-down);--spectrum-alias-tabitem-icon-color:var(--spectrum-alias-tabitem-icon-color-default);--spectrum-alias-tabitem-icon-color-selected:var(--spectrum-alias-icon-color-selected-neutral);--spectrum-alias-tabitem-icon-color-emphasized:var(--spectrum-alias-tabitem-text-color-default);--spectrum-alias-tabitem-icon-color-emphasized-selected:var(--spectrum-alias-tabitem-text-color-emphasized-selected-default);--spectrum-alias-assetcard-selectionindicator-background-color-ordered:var(--spectrum-global-color-blue-500);--spectrum-alias-assetcard-overlay-background-color:#1b7ff51a;--spectrum-alias-assetcard-border-color-selected:var(--spectrum-global-color-blue-500);--spectrum-alias-assetcard-border-color-selected-hover:var(--spectrum-global-color-blue-500);--spectrum-alias-assetcard-border-color-selected-down:var(--spectrum-global-color-blue-600);--spectrum-alias-background-color-default:var(--spectrum-global-color-gray-100);--spectrum-alias-background-color-disabled:var(--spectrum-global-color-gray-200);--spectrum-alias-background-color-transparent:transparent;--spectrum-alias-background-color-overbackground-down:#fff3;--spectrum-alias-background-color-quiet-overbackground-hover:#ffffff1a;--spectrum-alias-background-color-quiet-overbackground-down:#fff3;--spectrum-alias-background-color-overbackground-disabled:#ffffff1a;--spectrum-alias-background-color-quickactions-overlay:#0003;--spectrum-alias-placeholder-text-color:var(--spectrum-global-color-gray-800);--spectrum-alias-placeholder-text-color-hover:var(--spectrum-global-color-gray-900);--spectrum-alias-placeholder-text-color-down:var(--spectrum-global-color-gray-900);--spectrum-alias-placeholder-text-color-selected:var(--spectrum-global-color-gray-800);--spectrum-alias-label-text-color:var(--spectrum-global-color-gray-700);--spectrum-alias-text-color:var(--spectrum-global-color-gray-800);--spectrum-alias-text-color-hover:var(--spectrum-global-color-gray-900);--spectrum-alias-text-color-down:var(--spectrum-global-color-gray-900);--spectrum-alias-text-color-key-focus:var(--spectrum-global-color-blue-600);--spectrum-alias-text-color-mouse-focus:var(--spectrum-global-color-blue-600);--spectrum-alias-text-color-disabled:var(--spectrum-global-color-gray-500);--spectrum-alias-text-color-invalid:var(--spectrum-global-color-red-500);--spectrum-alias-text-color-selected:var(--spectrum-global-color-blue-600);--spectrum-alias-text-color-selected-neutral:var(--spectrum-global-color-gray-900);--spectrum-alias-text-color-overbackground:var(--spectrum-global-color-static-white);--spectrum-alias-text-color-overbackground-disabled:#fff3;--spectrum-alias-text-color-quiet-overbackground-disabled:#fff3;--spectrum-alias-heading-text-color:var(--spectrum-global-color-gray-900);--spectrum-alias-border-color:var(--spectrum-global-color-gray-400);--spectrum-alias-border-color-hover:var(--spectrum-global-color-gray-500);--spectrum-alias-border-color-down:var(--spectrum-global-color-gray-500);--spectrum-alias-border-color-key-focus:var(--spectrum-global-color-blue-400);--spectrum-alias-border-color-mouse-focus:var(--spectrum-global-color-blue-500);--spectrum-alias-border-color-disabled:var(--spectrum-global-color-gray-200);--spectrum-alias-border-color-extralight:var(--spectrum-global-color-gray-100);--spectrum-alias-border-color-light:var(--spectrum-global-color-gray-200);--spectrum-alias-border-color-mid:var(--spectrum-global-color-gray-300);--spectrum-alias-border-color-dark:var(--spectrum-global-color-gray-400);--spectrum-alias-border-color-darker-default:var(--spectrum-global-color-gray-600);--spectrum-alias-border-color-darker-hover:var(--spectrum-global-color-gray-900);--spectrum-alias-border-color-darker-down:var(--spectrum-global-color-gray-900);--spectrum-alias-border-color-transparent:transparent;--spectrum-alias-border-color-translucent-dark:#0000000d;--spectrum-alias-border-color-translucent-darker:#0000001a;--spectrum-alias-focus-color:var(--spectrum-global-color-blue-400);--spectrum-alias-focus-ring-color:var(--spectrum-alias-focus-color);--spectrum-alias-track-color-default:var(--spectrum-global-color-gray-300);--spectrum-alias-track-fill-color-overbackground:var(--spectrum-global-color-static-white);--spectrum-alias-track-color-disabled:var(--spectrum-global-color-gray-300);--spectrum-alias-track-color-overbackground:#fff3;--spectrum-alias-icon-color:var(--spectrum-global-color-gray-700);--spectrum-alias-icon-color-overbackground:var(--spectrum-global-color-static-white);--spectrum-alias-icon-color-hover:var(--spectrum-global-color-gray-900);--spectrum-alias-icon-color-down:var(--spectrum-global-color-gray-900);--spectrum-alias-icon-color-key-focus:var(--spectrum-global-color-gray-900);--spectrum-alias-icon-color-disabled:var(--spectrum-global-color-gray-400);--spectrum-alias-icon-color-overbackground-disabled:#fff3;--spectrum-alias-icon-color-quiet-overbackground-disabled:#ffffff26;--spectrum-alias-icon-color-selected-neutral:var(--spectrum-global-color-gray-900);--spectrum-alias-icon-color-selected-neutral-subdued:var(--spectrum-global-color-gray-800);--spectrum-alias-icon-color-selected:var(--spectrum-global-color-blue-500);--spectrum-alias-icon-color-selected-hover:var(--spectrum-global-color-blue-600);--spectrum-alias-icon-color-selected-down:var(--spectrum-global-color-blue-700);--spectrum-alias-icon-color-selected-focus:var(--spectrum-global-color-blue-600);--spectrum-alias-image-opacity-disabled:var(--spectrum-global-color-opacity-30);--spectrum-alias-toolbar-background-color:var(--spectrum-global-color-gray-100);--spectrum-alias-code-highlight-color-default:var(--spectrum-global-color-gray-800);--spectrum-alias-code-highlight-background-color:var(--spectrum-global-color-gray-75);--spectrum-alias-code-highlight-color-keyword:var(--spectrum-global-color-fuchsia-600);--spectrum-alias-code-highlight-color-section:var(--spectrum-global-color-red-600);--spectrum-alias-code-highlight-color-literal:var(--spectrum-global-color-blue-600);--spectrum-alias-code-highlight-color-attribute:var(--spectrum-global-color-seafoam-600);--spectrum-alias-code-highlight-color-class:var(--spectrum-global-color-magenta-600);--spectrum-alias-code-highlight-color-variable:var(--spectrum-global-color-purple-600);--spectrum-alias-code-highlight-color-title:var(--spectrum-global-color-indigo-600);--spectrum-alias-code-highlight-color-string:var(--spectrum-global-color-fuchsia-600);--spectrum-alias-code-highlight-color-function:var(--spectrum-global-color-blue-600);--spectrum-alias-code-highlight-color-comment:var(--spectrum-global-color-gray-700);--spectrum-alias-categorical-color-1:var(--spectrum-global-color-static-seafoam-200);--spectrum-alias-categorical-color-2:var(--spectrum-global-color-static-indigo-700);--spectrum-alias-categorical-color-3:var(--spectrum-global-color-static-orange-500);--spectrum-alias-categorical-color-4:var(--spectrum-global-color-static-magenta-500);--spectrum-alias-categorical-color-5:var(--spectrum-global-color-static-indigo-200);--spectrum-alias-categorical-color-6:var(--spectrum-global-color-static-celery-200);--spectrum-alias-categorical-color-7:var(--spectrum-global-color-static-blue-500);--spectrum-alias-categorical-color-8:var(--spectrum-global-color-static-purple-800);--spectrum-alias-categorical-color-9:var(--spectrum-global-color-static-yellow-500);--spectrum-alias-categorical-color-10:var(--spectrum-global-color-static-orange-700);--spectrum-alias-categorical-color-11:var(--spectrum-global-color-static-green-600);--spectrum-alias-categorical-color-12:var(--spectrum-global-color-static-chartreuse-300);--spectrum-alias-categorical-color-13:var(--spectrum-global-color-static-blue-200);--spectrum-alias-categorical-color-14:var(--spectrum-global-color-static-fuchsia-500);--spectrum-alias-categorical-color-15:var(--spectrum-global-color-static-magenta-200);--spectrum-alias-categorical-color-16:var(--spectrum-global-color-static-yellow-200)}:host,:root{-webkit-tap-highlight-color:#0000;--spectrum-focus-indicator-color:var(--spectrum-blue-800);--spectrum-static-white-focus-indicator-color:var(--spectrum-white);--spectrum-static-black-focus-indicator-color:var(--spectrum-black);--spectrum-overlay-color:var(--spectrum-black);--spectrum-opacity-disabled:.3;--spectrum-neutral-subdued-content-color-selected:var(--spectrum-neutral-subdued-content-color-down);--spectrum-accent-content-color-selected:var(--spectrum-accent-content-color-down);--spectrum-disabled-background-color:var(--spectrum-gray-200);--spectrum-disabled-static-white-background-color:var(--spectrum-transparent-white-200);--spectrum-disabled-static-black-background-color:var(--spectrum-transparent-black-200);--spectrum-background-opacity-default:0;--spectrum-background-opacity-hover:.1;--spectrum-background-opacity-down:.1;--spectrum-background-opacity-key-focus:.1;--spectrum-neutral-content-color-default:var(--spectrum-gray-800);--spectrum-neutral-content-color-hover:var(--spectrum-gray-900);--spectrum-neutral-content-color-down:var(--spectrum-gray-900);--spectrum-neutral-content-color-focus-hover:var(--spectrum-neutral-content-color-down);--spectrum-neutral-content-color-focus:var(--spectrum-neutral-content-color-down);--spectrum-neutral-content-color-key-focus:var(--spectrum-gray-900);--spectrum-neutral-subdued-content-color-default:var(--spectrum-gray-700);--spectrum-neutral-subdued-content-color-hover:var(--spectrum-gray-800);--spectrum-neutral-subdued-content-color-down:var(--spectrum-gray-900);--spectrum-neutral-subdued-content-color-key-focus:var(--spectrum-gray-800);--spectrum-accent-content-color-default:var(--spectrum-accent-color-900);--spectrum-accent-content-color-hover:var(--spectrum-accent-color-1000);--spectrum-accent-content-color-down:var(--spectrum-accent-color-1100);--spectrum-accent-content-color-key-focus:var(--spectrum-accent-color-1000);--spectrum-negative-content-color-default:var(--spectrum-negative-color-900);--spectrum-negative-content-color-hover:var(--spectrum-negative-color-1000);--spectrum-negative-content-color-down:var(--spectrum-negative-color-1100);--spectrum-negative-content-color-key-focus:var(--spectrum-negative-color-1000);--spectrum-disabled-content-color:var(--spectrum-gray-400);--spectrum-disabled-static-white-content-color:var(--spectrum-transparent-white-500);--spectrum-disabled-static-black-content-color:var(--spectrum-transparent-black-500);--spectrum-disabled-border-color:var(--spectrum-gray-300);--spectrum-disabled-static-white-border-color:var(--spectrum-transparent-white-300);--spectrum-disabled-static-black-border-color:var(--spectrum-transparent-black-300);--spectrum-negative-border-color-default:var(--spectrum-negative-color-900);--spectrum-negative-border-color-hover:var(--spectrum-negative-color-1000);--spectrum-negative-border-color-down:var(--spectrum-negative-color-1100);--spectrum-negative-border-color-focus-hover:var(--spectrum-negative-border-color-down);--spectrum-negative-border-color-focus:var(--spectrum-negative-color-1000);--spectrum-negative-border-color-key-focus:var(--spectrum-negative-color-1000);--spectrum-swatch-border-color:var(--spectrum-gray-900);--spectrum-swatch-border-opacity:.51;--spectrum-swatch-disabled-icon-border-color:var(--spectrum-black);--spectrum-swatch-disabled-icon-border-opacity:.51;--spectrum-thumbnail-border-color:var(--spectrum-gray-800);--spectrum-thumbnail-border-opacity:.1;--spectrum-thumbnail-opacity-disabled:var(--spectrum-opacity-disabled);--spectrum-opacity-checkerboard-square-light:var(--spectrum-white);--spectrum-avatar-opacity-disabled:var(--spectrum-opacity-disabled);--spectrum-color-area-border-color:var(--spectrum-gray-900);--spectrum-color-area-border-opacity:.1;--spectrum-color-slider-border-color:var(--spectrum-gray-900);--spectrum-color-slider-border-opacity:.1;--spectrum-color-loupe-drop-shadow-color:var(--spectrum-transparent-black-300);--spectrum-color-loupe-inner-border:var(--spectrum-transparent-black-200);--spectrum-color-loupe-outer-border:var(--spectrum-white);--spectrum-card-selection-background-color:var(--spectrum-gray-100);--spectrum-card-selection-background-color-opacity:.95;--spectrum-drop-zone-background-color:var(--spectrum-accent-visual-color);--spectrum-drop-zone-background-color-opacity:.1;--spectrum-drop-zone-background-color-opacity-filled:.3;--spectrum-coach-mark-pagination-color:var(--spectrum-gray-600);--spectrum-color-handle-inner-border-color:var(--spectrum-black);--spectrum-color-handle-inner-border-opacity:.42;--spectrum-color-handle-outer-border-color:var(--spectrum-black);--spectrum-color-handle-outer-border-opacity:var(--spectrum-color-handle-inner-border-opacity);--spectrum-color-handle-drop-shadow-color:var(--spectrum-drop-shadow-color);--spectrum-floating-action-button-drop-shadow-color:var(--spectrum-transparent-black-300);--spectrum-floating-action-button-shadow-color:var(--spectrum-floating-action-button-drop-shadow-color);--spectrum-table-row-hover-color:var(--spectrum-gray-900);--spectrum-table-row-hover-opacity:.07;--spectrum-table-selected-row-background-color:var(--spectrum-informative-background-color-default);--spectrum-table-selected-row-background-opacity:.1;--spectrum-table-selected-row-background-color-non-emphasized:var(--spectrum-neutral-background-color-selected-default);--spectrum-table-selected-row-background-opacity-non-emphasized:.1;--spectrum-table-row-down-opacity:.1;--spectrum-table-selected-row-background-opacity-hover:.15;--spectrum-table-selected-row-background-opacity-non-emphasized-hover:.15;--spectrum-white-rgb:255,255,255;--spectrum-white:rgba(var(--spectrum-white-rgb));--spectrum-transparent-white-100-rgb:255,255,255;--spectrum-transparent-white-100-opacity:0;--spectrum-transparent-white-100:rgba(var(--spectrum-transparent-white-100-rgb),var(--spectrum-transparent-white-100-opacity));--spectrum-transparent-white-200-rgb:255,255,255;--spectrum-transparent-white-200-opacity:.1;--spectrum-transparent-white-200:rgba(var(--spectrum-transparent-white-200-rgb),var(--spectrum-transparent-white-200-opacity));--spectrum-transparent-white-300-rgb:255,255,255;--spectrum-transparent-white-300-opacity:.25;--spectrum-transparent-white-300:rgba(var(--spectrum-transparent-white-300-rgb),var(--spectrum-transparent-white-300-opacity));--spectrum-transparent-white-400-rgb:255,255,255;--spectrum-transparent-white-400-opacity:.4;--spectrum-transparent-white-400:rgba(var(--spectrum-transparent-white-400-rgb),var(--spectrum-transparent-white-400-opacity));--spectrum-transparent-white-500-rgb:255,255,255;--spectrum-transparent-white-500-opacity:.55;--spectrum-transparent-white-500:rgba(var(--spectrum-transparent-white-500-rgb),var(--spectrum-transparent-white-500-opacity));--spectrum-transparent-white-600-rgb:255,255,255;--spectrum-transparent-white-600-opacity:.7;--spectrum-transparent-white-600:rgba(var(--spectrum-transparent-white-600-rgb),var(--spectrum-transparent-white-600-opacity));--spectrum-transparent-white-700-rgb:255,255,255;--spectrum-transparent-white-700-opacity:.8;--spectrum-transparent-white-700:rgba(var(--spectrum-transparent-white-700-rgb),var(--spectrum-transparent-white-700-opacity));--spectrum-transparent-white-800-rgb:255,255,255;--spectrum-transparent-white-800-opacity:.9;--spectrum-transparent-white-800:rgba(var(--spectrum-transparent-white-800-rgb),var(--spectrum-transparent-white-800-opacity));--spectrum-transparent-white-900-rgb:255,255,255;--spectrum-transparent-white-900:rgba(var(--spectrum-transparent-white-900-rgb));--spectrum-black-rgb:0,0,0;--spectrum-black:rgba(var(--spectrum-black-rgb));--spectrum-transparent-black-100-rgb:0,0,0;--spectrum-transparent-black-100-opacity:0;--spectrum-transparent-black-100:rgba(var(--spectrum-transparent-black-100-rgb),var(--spectrum-transparent-black-100-opacity));--spectrum-transparent-black-200-rgb:0,0,0;--spectrum-transparent-black-200-opacity:.1;--spectrum-transparent-black-200:rgba(var(--spectrum-transparent-black-200-rgb),var(--spectrum-transparent-black-200-opacity));--spectrum-transparent-black-300-rgb:0,0,0;--spectrum-transparent-black-300-opacity:.25;--spectrum-transparent-black-300:rgba(var(--spectrum-transparent-black-300-rgb),var(--spectrum-transparent-black-300-opacity));--spectrum-transparent-black-400-rgb:0,0,0;--spectrum-transparent-black-400-opacity:.4;--spectrum-transparent-black-400:rgba(var(--spectrum-transparent-black-400-rgb),var(--spectrum-transparent-black-400-opacity));--spectrum-transparent-black-500-rgb:0,0,0;--spectrum-transparent-black-500-opacity:.55;--spectrum-transparent-black-500:rgba(var(--spectrum-transparent-black-500-rgb),var(--spectrum-transparent-black-500-opacity));--spectrum-transparent-black-600-rgb:0,0,0;--spectrum-transparent-black-600-opacity:.7;--spectrum-transparent-black-600:rgba(var(--spectrum-transparent-black-600-rgb),var(--spectrum-transparent-black-600-opacity));--spectrum-transparent-black-700-rgb:0,0,0;--spectrum-transparent-black-700-opacity:.8;--spectrum-transparent-black-700:rgba(var(--spectrum-transparent-black-700-rgb),var(--spectrum-transparent-black-700-opacity));--spectrum-transparent-black-800-rgb:0,0,0;--spectrum-transparent-black-800-opacity:.9;--spectrum-transparent-black-800:rgba(var(--spectrum-transparent-black-800-rgb),var(--spectrum-transparent-black-800-opacity));--spectrum-transparent-black-900-rgb:0,0,0;--spectrum-transparent-black-900:rgba(var(--spectrum-transparent-black-900-rgb));--spectrum-icon-color-inverse:var(--spectrum-gray-50);--spectrum-icon-color-primary-default:var(--spectrum-neutral-content-color-default);--spectrum-asterisk-icon-size-75:8px;--spectrum-radio-button-selection-indicator:4px;--spectrum-field-label-top-margin-small:0px;--spectrum-field-label-to-component:0px;--spectrum-help-text-to-component:0px;--spectrum-status-light-dot-size-small:8px;--spectrum-action-button-edge-to-hold-icon-extra-small:3px;--spectrum-action-button-edge-to-hold-icon-small:3px;--spectrum-button-minimum-width-multiplier:2.25;--spectrum-divider-thickness-small:1px;--spectrum-divider-thickness-medium:2px;--spectrum-divider-thickness-large:4px;--spectrum-swatch-rectangle-width-multiplier:2;--spectrum-swatch-slash-thickness-extra-small:2px;--spectrum-swatch-slash-thickness-small:3px;--spectrum-swatch-slash-thickness-medium:4px;--spectrum-swatch-slash-thickness-large:5px;--spectrum-progress-bar-minimum-width:48px;--spectrum-progress-bar-maximum-width:768px;--spectrum-meter-minimum-width:48px;--spectrum-meter-maximum-width:768px;--spectrum-meter-default-width:var(--spectrum-meter-width);--spectrum-in-line-alert-minimum-width:240px;--spectrum-popover-tip-width:16px;--spectrum-popover-tip-height:8px;--spectrum-menu-item-label-to-description:1px;--spectrum-menu-item-section-divider-height:8px;--spectrum-picker-minimum-width-multiplier:2;--spectrum-picker-end-edge-to-disclousure-icon-quiet:var(--spectrum-picker-end-edge-to-disclosure-icon-quiet);--spectrum-picker-end-edge-to-disclosure-icon-quiet:0px;--spectrum-text-field-minimum-width-multiplier:1.5;--spectrum-combo-box-minimum-width-multiplier:2.5;--spectrum-combo-box-quiet-minimum-width-multiplier:2;--spectrum-combo-box-visual-to-field-button-quiet:0px;--spectrum-alert-dialog-minimum-width:288px;--spectrum-alert-dialog-maximum-width:480px;--spectrum-contextual-help-minimum-width:268px;--spectrum-breadcrumbs-height:var(--spectrum-component-height-300);--spectrum-breadcrumbs-height-compact:var(--spectrum-component-height-200);--spectrum-breadcrumbs-end-edge-to-text:0px;--spectrum-breadcrumbs-truncated-menu-to-separator-icon:0px;--spectrum-breadcrumbs-start-edge-to-truncated-menu:0px;--spectrum-breadcrumbs-truncated-menu-to-bottom-text:0px;--spectrum-alert-banner-to-top-workflow-icon:var(--spectrum-alert-banner-top-to-workflow-icon);--spectrum-alert-banner-to-top-text:var(--spectrum-alert-banner-top-to-text);--spectrum-alert-banner-to-bottom-text:var(--spectrum-alert-banner-bottom-to-text);--spectrum-color-area-border-width:var(--spectrum-border-width-100);--spectrum-color-area-border-rounding:var(--spectrum-corner-radius-100);--spectrum-color-wheel-color-area-margin:12px;--spectrum-color-slider-border-width:1px;--spectrum-color-slider-border-rounding:4px;--spectrum-floating-action-button-drop-shadow-blur:12px;--spectrum-floating-action-button-drop-shadow-y:4px;--spectrum-illustrated-message-maximum-width:380px;--spectrum-search-field-minimum-width-multiplier:3;--spectrum-color-loupe-height:64px;--spectrum-color-loupe-width:48px;--spectrum-color-loupe-bottom-to-color-handle:12px;--spectrum-color-loupe-outer-border-width:var(--spectrum-border-width-200);--spectrum-color-loupe-inner-border-width:1px;--spectrum-color-loupe-drop-shadow-y:2px;--spectrum-color-loupe-drop-shadow-blur:8px;--spectrum-card-minimum-width:100px;--spectrum-card-preview-minimum-height:130px;--spectrum-card-selection-background-size:40px;--spectrum-drop-zone-width:428px;--spectrum-drop-zone-content-maximum-width:var(--spectrum-illustrated-message-maximum-width);--spectrum-drop-zone-border-dash-length:8px;--spectrum-drop-zone-border-dash-gap:4px;--spectrum-drop-zone-title-size:var(--spectrum-illustrated-message-title-size);--spectrum-drop-zone-cjk-title-size:var(--spectrum-illustrated-message-cjk-title-size);--spectrum-drop-zone-body-size:var(--spectrum-illustrated-message-body-size);--spectrum-accordion-top-to-text-compact-small:2px;--spectrum-accordion-top-to-text-compact-medium:4px;--spectrum-accordion-disclosure-indicator-to-text:0px;--spectrum-accordion-edge-to-disclosure-indicator:0px;--spectrum-accordion-edge-to-text:0px;--spectrum-accordion-focus-indicator-gap:0px;--spectrum-color-handle-border-width:var(--spectrum-border-width-200);--spectrum-color-handle-inner-border-width:1px;--spectrum-color-handle-outer-border-width:1px;--spectrum-color-handle-drop-shadow-x:0;--spectrum-color-handle-drop-shadow-y:0;--spectrum-color-handle-drop-shadow-blur:0;--spectrum-table-row-height-small-compact:var(--spectrum-component-height-75);--spectrum-table-row-height-medium-compact:var(--spectrum-component-height-100);--spectrum-table-row-height-large-compact:var(--spectrum-component-height-200);--spectrum-table-row-height-extra-large-compact:var(--spectrum-component-height-300);--spectrum-table-row-top-to-text-small-compact:var(--spectrum-component-top-to-text-75);--spectrum-table-row-top-to-text-medium-compact:var(--spectrum-component-top-to-text-100);--spectrum-table-row-top-to-text-large-compact:var(--spectrum-component-top-to-text-200);--spectrum-table-row-top-to-text-extra-large-compact:var(--spectrum-component-top-to-text-300);--spectrum-table-row-bottom-to-text-small-compact:var(--spectrum-component-bottom-to-text-75);--spectrum-table-row-bottom-to-text-medium-compact:var(--spectrum-component-bottom-to-text-100);--spectrum-table-row-bottom-to-text-large-compact:var(--spectrum-component-bottom-to-text-200);--spectrum-table-row-bottom-to-text-extra-large-compact:var(--spectrum-component-bottom-to-text-300);--spectrum-table-edge-to-content:16px;--spectrum-table-border-divider-width:1px;--spectrum-tab-item-height-small:var(--spectrum-component-height-200);--spectrum-tab-item-height-medium:var(--spectrum-component-height-300);--spectrum-tab-item-height-large:var(--spectrum-component-height-400);--spectrum-tab-item-height-extra-large:var(--spectrum-component-height-500);--spectrum-tab-item-compact-height-small:var(--spectrum-component-height-75);--spectrum-tab-item-compact-height-medium:var(--spectrum-component-height-100);--spectrum-tab-item-compact-height-large:var(--spectrum-component-height-200);--spectrum-tab-item-compact-height-extra-large:var(--spectrum-component-height-300);--spectrum-tab-item-start-to-edge-quiet:0px;--spectrum-in-field-button-width-stacked-small:20px;--spectrum-in-field-button-width-stacked-medium:28px;--spectrum-in-field-button-width-stacked-large:36px;--spectrum-in-field-button-width-stacked-extra-large:44px;--spectrum-in-field-button-edge-to-disclosure-icon-stacked-small:7px;--spectrum-in-field-button-edge-to-disclosure-icon-stacked-medium:9px;--spectrum-in-field-button-edge-to-disclosure-icon-stacked-large:13px;--spectrum-in-field-button-edge-to-disclosure-icon-stacked-extra-large:16px;--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-small:3px;--spectrum-android-elevation:2dp;--spectrum-spacing-50:2px;--spectrum-spacing-75:4px;--spectrum-spacing-100:8px;--spectrum-spacing-200:12px;--spectrum-spacing-300:16px;--spectrum-spacing-400:24px;--spectrum-spacing-500:32px;--spectrum-spacing-600:40px;--spectrum-spacing-700:48px;--spectrum-spacing-800:64px;--spectrum-spacing-900:80px;--spectrum-spacing-1000:96px;--spectrum-focus-indicator-thickness:2px;--spectrum-focus-indicator-gap:2px;--spectrum-border-width-200:2px;--spectrum-border-width-400:4px;--spectrum-field-edge-to-text-quiet:0px;--spectrum-field-edge-to-visual-quiet:0px;--spectrum-field-edge-to-border-quiet:0px;--spectrum-field-edge-to-alert-icon-quiet:0px;--spectrum-field-edge-to-validation-icon-quiet:0px;--spectrum-text-underline-thickness:1px;--spectrum-text-underline-gap:1px;--spectrum-informative-color-100:var(--spectrum-blue-100);--spectrum-informative-color-200:var(--spectrum-blue-200);--spectrum-informative-color-300:var(--spectrum-blue-300);--spectrum-informative-color-400:var(--spectrum-blue-400);--spectrum-informative-color-500:var(--spectrum-blue-500);--spectrum-informative-color-600:var(--spectrum-blue-600);--spectrum-informative-color-700:var(--spectrum-blue-700);--spectrum-informative-color-800:var(--spectrum-blue-800);--spectrum-informative-color-900:var(--spectrum-blue-900);--spectrum-informative-color-1000:var(--spectrum-blue-1000);--spectrum-informative-color-1100:var(--spectrum-blue-1100);--spectrum-informative-color-1200:var(--spectrum-blue-1200);--spectrum-informative-color-1300:var(--spectrum-blue-1300);--spectrum-informative-color-1400:var(--spectrum-blue-1400);--spectrum-negative-color-100:var(--spectrum-red-100);--spectrum-negative-color-200:var(--spectrum-red-200);--spectrum-negative-color-300:var(--spectrum-red-300);--spectrum-negative-color-400:var(--spectrum-red-400);--spectrum-negative-color-500:var(--spectrum-red-500);--spectrum-negative-color-600:var(--spectrum-red-600);--spectrum-negative-color-700:var(--spectrum-red-700);--spectrum-negative-color-800:var(--spectrum-red-800);--spectrum-negative-color-900:var(--spectrum-red-900);--spectrum-negative-color-1000:var(--spectrum-red-1000);--spectrum-negative-color-1100:var(--spectrum-red-1100);--spectrum-negative-color-1200:var(--spectrum-red-1200);--spectrum-negative-color-1300:var(--spectrum-red-1300);--spectrum-negative-color-1400:var(--spectrum-red-1400);--spectrum-notice-color-100:var(--spectrum-orange-100);--spectrum-notice-color-200:var(--spectrum-orange-200);--spectrum-notice-color-300:var(--spectrum-orange-300);--spectrum-notice-color-400:var(--spectrum-orange-400);--spectrum-notice-color-500:var(--spectrum-orange-500);--spectrum-notice-color-600:var(--spectrum-orange-600);--spectrum-notice-color-700:var(--spectrum-orange-700);--spectrum-notice-color-800:var(--spectrum-orange-800);--spectrum-notice-color-900:var(--spectrum-orange-900);--spectrum-notice-color-1000:var(--spectrum-orange-1000);--spectrum-notice-color-1100:var(--spectrum-orange-1100);--spectrum-notice-color-1200:var(--spectrum-orange-1200);--spectrum-notice-color-1300:var(--spectrum-orange-1300);--spectrum-notice-color-1400:var(--spectrum-orange-1400);--spectrum-positive-color-100:var(--spectrum-green-100);--spectrum-positive-color-200:var(--spectrum-green-200);--spectrum-positive-color-300:var(--spectrum-green-300);--spectrum-positive-color-400:var(--spectrum-green-400);--spectrum-positive-color-500:var(--spectrum-green-500);--spectrum-positive-color-600:var(--spectrum-green-600);--spectrum-positive-color-700:var(--spectrum-green-700);--spectrum-positive-color-800:var(--spectrum-green-800);--spectrum-positive-color-900:var(--spectrum-green-900);--spectrum-positive-color-1000:var(--spectrum-green-1000);--spectrum-positive-color-1100:var(--spectrum-green-1100);--spectrum-positive-color-1200:var(--spectrum-green-1200);--spectrum-positive-color-1300:var(--spectrum-green-1300);--spectrum-positive-color-1400:var(--spectrum-green-1400);--spectrum-default-font-family:var(--spectrum-sans-serif-font-family);--spectrum-sans-serif-font-family:Adobe Clean;--spectrum-serif-font-family:Adobe Clean Serif;--spectrum-cjk-font-family:Adobe Clean Han;--spectrum-light-font-weight:300;--spectrum-regular-font-weight:400;--spectrum-medium-font-weight:500;--spectrum-bold-font-weight:700;--spectrum-extra-bold-font-weight:800;--spectrum-black-font-weight:900;--spectrum-italic-font-style:italic;--spectrum-default-font-style:normal;--spectrum-line-height-100:1.3;--spectrum-line-height-200:1.5;--spectrum-cjk-line-height-100:1.5;--spectrum-cjk-line-height-200:1.7;--spectrum-cjk-letter-spacing:.05em;--spectrum-heading-sans-serif-font-family:var(--spectrum-sans-serif-font-family);--spectrum-heading-serif-font-family:var(--spectrum-serif-font-family);--spectrum-heading-cjk-font-family:var(--spectrum-cjk-font-family);--spectrum-heading-sans-serif-light-font-weight:var(--spectrum-light-font-weight);--spectrum-heading-sans-serif-light-font-style:var(--spectrum-default-font-style);--spectrum-heading-serif-light-font-weight:var(--spectrum-regular-font-weight);--spectrum-heading-serif-light-font-style:var(--spectrum-default-font-style);--spectrum-heading-cjk-light-font-weight:var(--spectrum-light-font-weight);--spectrum-heading-cjk-light-font-style:var(--spectrum-default-font-style);--spectrum-heading-sans-serif-font-style:var(--spectrum-default-font-style);--spectrum-heading-serif-font-style:var(--spectrum-default-font-style);--spectrum-heading-cjk-font-style:var(--spectrum-default-font-style);--spectrum-heading-sans-serif-heavy-font-weight:var(--spectrum-black-font-weight);--spectrum-heading-sans-serif-heavy-font-style:var(--spectrum-default-font-style);--spectrum-heading-serif-heavy-font-weight:var(--spectrum-black-font-weight);--spectrum-heading-serif-heavy-font-style:var(--spectrum-default-font-style);--spectrum-heading-cjk-heavy-font-weight:var(--spectrum-black-font-weight);--spectrum-heading-cjk-heavy-font-style:var(--spectrum-default-font-style);--spectrum-heading-sans-serif-light-strong-font-weight:var(--spectrum-bold-font-weight);--spectrum-heading-sans-serif-light-strong-font-style:var(--spectrum-default-font-style);--spectrum-heading-serif-light-strong-font-weight:var(--spectrum-bold-font-weight);--spectrum-heading-serif-light-strong-font-style:var(--spectrum-default-font-style);--spectrum-heading-cjk-light-strong-font-weight:var(--spectrum-extra-bold-font-weight);--spectrum-heading-cjk-light-strong-font-style:var(--spectrum-default-font-style);--spectrum-heading-sans-serif-strong-font-weight:var(--spectrum-black-font-weight);--spectrum-heading-sans-serif-strong-font-style:var(--spectrum-default-font-style);--spectrum-heading-serif-strong-font-weight:var(--spectrum-black-font-weight);--spectrum-heading-serif-strong-font-style:var(--spectrum-default-font-style);--spectrum-heading-cjk-strong-font-weight:var(--spectrum-black-font-weight);--spectrum-heading-cjk-strong-font-style:var(--spectrum-default-font-style);--spectrum-heading-sans-serif-heavy-strong-font-weight:var(--spectrum-black-font-weight);--spectrum-heading-sans-serif-heavy-strong-font-style:var(--spectrum-default-font-style);--spectrum-heading-serif-heavy-strong-font-weight:var(--spectrum-black-font-weight);--spectrum-heading-serif-heavy-strong-font-style:var(--spectrum-default-font-style);--spectrum-heading-cjk-heavy-strong-font-weight:var(--spectrum-black-font-weight);--spectrum-heading-cjk-heavy-strong-font-style:var(--spectrum-default-font-style);--spectrum-heading-sans-serif-light-emphasized-font-weight:var(--spectrum-light-font-weight);--spectrum-heading-sans-serif-light-emphasized-font-style:var(--spectrum-italic-font-style);--spectrum-heading-serif-light-emphasized-font-weight:var(--spectrum-regular-font-weight);--spectrum-heading-serif-light-emphasized-font-style:var(--spectrum-italic-font-style);--spectrum-heading-cjk-light-emphasized-font-weight:var(--spectrum-regular-font-weight);--spectrum-heading-cjk-light-emphasized-font-style:var(--spectrum-default-font-style);--spectrum-heading-sans-serif-emphasized-font-style:var(--spectrum-italic-font-style);--spectrum-heading-serif-emphasized-font-style:var(--spectrum-italic-font-style);--spectrum-heading-cjk-emphasized-font-weight:var(--spectrum-black-font-weight);--spectrum-heading-cjk-emphasized-font-style:var(--spectrum-default-font-style);--spectrum-heading-sans-serif-heavy-emphasized-font-weight:var(--spectrum-black-font-weight);--spectrum-heading-sans-serif-heavy-emphasized-font-style:var(--spectrum-italic-font-style);--spectrum-heading-serif-heavy-emphasized-font-weight:var(--spectrum-black-font-weight);--spectrum-heading-serif-heavy-emphasized-font-style:var(--spectrum-italic-font-style);--spectrum-heading-cjk-heavy-emphasized-font-weight:var(--spectrum-black-font-weight);--spectrum-heading-cjk-heavy-emphasized-font-style:var(--spectrum-default-font-style);--spectrum-heading-sans-serif-light-strong-emphasized-font-weight:var(--spectrum-bold-font-weight);--spectrum-heading-sans-serif-light-strong-emphasized-font-style:var(--spectrum-italic-font-style);--spectrum-heading-serif-light-strong-emphasized-font-weight:var(--spectrum-bold-font-weight);--spectrum-heading-serif-light-strong-emphasized-font-style:var(--spectrum-italic-font-style);--spectrum-heading-cjk-light-strong-emphasized-font-weight:var(--spectrum-extra-bold-font-weight);--spectrum-heading-cjk-light-strong-emphasized-font-style:var(--spectrum-default-font-style);--spectrum-heading-sans-serif-strong-emphasized-font-weight:var(--spectrum-black-font-weight);--spectrum-heading-sans-serif-strong-emphasized-font-style:var(--spectrum-italic-font-style);--spectrum-heading-serif-strong-emphasized-font-weight:var(--spectrum-black-font-weight);--spectrum-heading-serif-strong-emphasized-font-style:var(--spectrum-italic-font-style);--spectrum-heading-cjk-strong-emphasized-font-weight:var(--spectrum-black-font-weight);--spectrum-heading-cjk-strong-emphasized-font-style:var(--spectrum-default-font-style);--spectrum-heading-sans-serif-heavy-strong-emphasized-font-weight:var(--spectrum-black-font-weight);--spectrum-heading-sans-serif-heavy-strong-emphasized-font-style:var(--spectrum-italic-font-style);--spectrum-heading-serif-heavy-strong-emphasized-font-weight:var(--spectrum-black-font-weight);--spectrum-heading-serif-heavy-strong-emphasized-font-style:var(--spectrum-italic-font-style);--spectrum-heading-cjk-heavy-strong-emphasized-font-weight:var(--spectrum-black-font-weight);--spectrum-heading-cjk-heavy-strong-emphasized-font-style:var(--spectrum-default-font-style);--spectrum-heading-size-xxxl:var(--spectrum-font-size-1300);--spectrum-heading-size-xxl:var(--spectrum-font-size-1100);--spectrum-heading-size-xl:var(--spectrum-font-size-900);--spectrum-heading-size-l:var(--spectrum-font-size-700);--spectrum-heading-size-m:var(--spectrum-font-size-500);--spectrum-heading-size-s:var(--spectrum-font-size-300);--spectrum-heading-size-xs:var(--spectrum-font-size-200);--spectrum-heading-size-xxs:var(--spectrum-font-size-100);--spectrum-heading-cjk-size-xxxl:var(--spectrum-font-size-1300);--spectrum-heading-cjk-size-xxl:var(--spectrum-font-size-900);--spectrum-heading-cjk-size-xl:var(--spectrum-font-size-800);--spectrum-heading-cjk-size-l:var(--spectrum-font-size-600);--spectrum-heading-cjk-size-m:var(--spectrum-font-size-400);--spectrum-heading-cjk-size-s:var(--spectrum-font-size-300);--spectrum-heading-cjk-size-xs:var(--spectrum-font-size-200);--spectrum-heading-cjk-size-xxs:var(--spectrum-font-size-100);--spectrum-heading-line-height:var(--spectrum-line-height-100);--spectrum-heading-cjk-line-height:var(--spectrum-cjk-line-height-100);--spectrum-heading-margin-top-multiplier:.888889;--spectrum-heading-margin-bottom-multiplier:.25;--spectrum-heading-color:var(--spectrum-gray-900);--spectrum-body-sans-serif-font-family:var(--spectrum-sans-serif-font-family);--spectrum-body-serif-font-family:var(--spectrum-serif-font-family);--spectrum-body-cjk-font-family:var(--spectrum-cjk-font-family);--spectrum-body-sans-serif-font-weight:var(--spectrum-regular-font-weight);--spectrum-body-sans-serif-font-style:var(--spectrum-default-font-style);--spectrum-body-serif-font-weight:var(--spectrum-regular-font-weight);--spectrum-body-serif-font-style:var(--spectrum-default-font-style);--spectrum-body-cjk-font-weight:var(--spectrum-regular-font-weight);--spectrum-body-cjk-font-style:var(--spectrum-default-font-style);--spectrum-body-sans-serif-strong-font-weight:var(--spectrum-bold-font-weight);--spectrum-body-sans-serif-strong-font-style:var(--spectrum-default-font-style);--spectrum-body-serif-strong-font-weight:var(--spectrum-bold-font-weight);--spectrum-body-serif-strong-font-style:var(--spectrum-default-font-style);--spectrum-body-cjk-strong-font-weight:var(--spectrum-black-font-weight);--spectrum-body-cjk-strong-font-style:var(--spectrum-default-font-style);--spectrum-body-sans-serif-emphasized-font-weight:var(--spectrum-regular-font-weight);--spectrum-body-sans-serif-emphasized-font-style:var(--spectrum-italic-font-style);--spectrum-body-serif-emphasized-font-weight:var(--spectrum-regular-font-weight);--spectrum-body-serif-emphasized-font-style:var(--spectrum-italic-font-style);--spectrum-body-cjk-emphasized-font-weight:var(--spectrum-extra-bold-font-weight);--spectrum-body-cjk-emphasized-font-style:var(--spectrum-default-font-style);--spectrum-body-sans-serif-strong-emphasized-font-weight:var(--spectrum-bold-font-weight);--spectrum-body-sans-serif-strong-emphasized-font-style:var(--spectrum-italic-font-style);--spectrum-body-serif-strong-emphasized-font-weight:var(--spectrum-bold-font-weight);--spectrum-body-serif-strong-emphasized-font-style:var(--spectrum-italic-font-style);--spectrum-body-cjk-strong-emphasized-font-weight:var(--spectrum-black-font-weight);--spectrum-body-cjk-strong-emphasized-font-style:var(--spectrum-default-font-style);--spectrum-body-size-xxxl:var(--spectrum-font-size-600);--spectrum-body-size-xxl:var(--spectrum-font-size-500);--spectrum-body-size-xl:var(--spectrum-font-size-400);--spectrum-body-size-l:var(--spectrum-font-size-300);--spectrum-body-size-m:var(--spectrum-font-size-200);--spectrum-body-size-s:var(--spectrum-font-size-100);--spectrum-body-size-xs:var(--spectrum-font-size-75);--spectrum-body-line-height:var(--spectrum-line-height-200);--spectrum-body-cjk-line-height:var(--spectrum-cjk-line-height-200);--spectrum-body-margin-multiplier:.75;--spectrum-body-color:var(--spectrum-gray-800);--spectrum-detail-sans-serif-font-family:var(--spectrum-sans-serif-font-family);--spectrum-detail-serif-font-family:var(--spectrum-serif-font-family);--spectrum-detail-cjk-font-family:var(--spectrum-cjk-font-family);--spectrum-detail-sans-serif-font-weight:var(--spectrum-bold-font-weight);--spectrum-detail-sans-serif-font-style:var(--spectrum-default-font-style);--spectrum-detail-serif-font-weight:var(--spectrum-bold-font-weight);--spectrum-detail-serif-font-style:var(--spectrum-default-font-style);--spectrum-detail-cjk-font-weight:var(--spectrum-extra-bold-font-weight);--spectrum-detail-cjk-font-style:var(--spectrum-default-font-style);--spectrum-detail-sans-serif-light-font-weight:var(--spectrum-regular-font-weight);--spectrum-detail-sans-serif-light-font-style:var(--spectrum-default-font-style);--spectrum-detail-serif-light-font-weight:var(--spectrum-regular-font-weight);--spectrum-detail-serif-light-font-style:var(--spectrum-default-font-style);--spectrum-detail-cjk-light-font-weight:var(--spectrum-light-font-weight);--spectrum-detail-cjk-light-font-style:var(--spectrum-default-font-style);--spectrum-detail-sans-serif-strong-font-weight:var(--spectrum-bold-font-weight);--spectrum-detail-sans-serif-strong-font-style:var(--spectrum-default-font-style);--spectrum-detail-serif-strong-font-weight:var(--spectrum-bold-font-weight);--spectrum-detail-serif-strong-font-style:var(--spectrum-default-font-style);--spectrum-detail-cjk-strong-font-weight:var(--spectrum-black-font-weight);--spectrum-detail-cjk-strong-font-style:var(--spectrum-default-font-style);--spectrum-detail-sans-serif-light-strong-font-weight:var(--spectrum-regular-font-weight);--spectrum-detail-sans-serif-light-strong-font-style:var(--spectrum-default-font-style);--spectrum-detail-serif-light-strong-font-weight:var(--spectrum-regular-font-weight);--spectrum-detail-serif-light-strong-font-style:var(--spectrum-default-font-style);--spectrum-detail-cjk-light-strong-font-weight:var(--spectrum-extra-bold-font-weight);--spectrum-detail-cjk-light-strong-font-style:var(--spectrum-default-font-style);--spectrum-detail-sans-serif-emphasized-font-weight:var(--spectrum-bold-font-weight);--spectrum-detail-sans-serif-emphasized-font-style:var(--spectrum-italic-font-style);--spectrum-detail-serif-emphasized-font-weight:var(--spectrum-bold-font-weight);--spectrum-detail-serif-emphasized-font-style:var(--spectrum-italic-font-style);--spectrum-detail-cjk-emphasized-font-weight:var(--spectrum-black-font-weight);--spectrum-detail-cjk-emphasized-font-style:var(--spectrum-default-font-style);--spectrum-detail-sans-serif-light-emphasized-font-weight:var(--spectrum-regular-font-weight);--spectrum-detail-sans-serif-light-emphasized-font-style:var(--spectrum-italic-font-style);--spectrum-detail-serif-light-emphasized-font-weight:var(--spectrum-regular-font-weight);--spectrum-detail-serif-light-emphasized-font-style:var(--spectrum-italic-font-style);--spectrum-detail-cjk-light-emphasized-font-weight:var(--spectrum-regular-font-weight);--spectrum-detail-cjk-light-emphasized-font-style:var(--spectrum-default-font-style);--spectrum-detail-sans-serif-strong-emphasized-font-weight:var(--spectrum-bold-font-weight);--spectrum-detail-sans-serif-strong-emphasized-font-style:var(--spectrum-italic-font-style);--spectrum-detail-serif-strong-emphasized-font-weight:var(--spectrum-bold-font-weight);--spectrum-detail-serif-strong-emphasized-font-style:var(--spectrum-italic-font-style);--spectrum-detail-cjk-strong-emphasized-font-weight:var(--spectrum-black-font-weight);--spectrum-detail-cjk-strong-emphasized-font-style:var(--spectrum-default-font-style);--spectrum-detail-sans-serif-light-strong-emphasized-font-weight:var(--spectrum-regular-font-weight);--spectrum-detail-sans-serif-light-strong-emphasized-font-style:var(--spectrum-italic-font-style);--spectrum-detail-serif-light-strong-emphasized-font-weight:var(--spectrum-regular-font-weight);--spectrum-detail-serif-light-strong-emphasized-font-style:var(--spectrum-italic-font-style);--spectrum-detail-cjk-light-strong-emphasized-font-weight:var(--spectrum-extra-bold-font-weight);--spectrum-detail-cjk-light-strong-emphasized-font-style:var(--spectrum-default-font-style);--spectrum-detail-size-xl:var(--spectrum-font-size-200);--spectrum-detail-size-l:var(--spectrum-font-size-100);--spectrum-detail-size-m:var(--spectrum-font-size-75);--spectrum-detail-size-s:var(--spectrum-font-size-50);--spectrum-detail-line-height:var(--spectrum-line-height-100);--spectrum-detail-cjk-line-height:var(--spectrum-cjk-line-height-100);--spectrum-detail-margin-top-multiplier:.888889;--spectrum-detail-margin-bottom-multiplier:.25;--spectrum-detail-letter-spacing:.06em;--spectrum-detail-sans-serif-text-transform:uppercase;--spectrum-detail-serif-text-transform:uppercase;--spectrum-detail-color:var(--spectrum-gray-900);--spectrum-code-font-family:Source Code Pro;--spectrum-code-cjk-font-family:var(--spectrum-code-font-family);--spectrum-code-font-weight:var(--spectrum-regular-font-weight);--spectrum-code-font-style:var(--spectrum-default-font-style);--spectrum-code-cjk-font-weight:var(--spectrum-regular-font-weight);--spectrum-code-cjk-font-style:var(--spectrum-default-font-style);--spectrum-code-strong-font-weight:var(--spectrum-bold-font-weight);--spectrum-code-strong-font-style:var(--spectrum-default-font-style);--spectrum-code-cjk-strong-font-weight:var(--spectrum-black-font-weight);--spectrum-code-cjk-strong-font-style:var(--spectrum-default-font-style);--spectrum-code-emphasized-font-weight:var(--spectrum-regular-font-weight);--spectrum-code-emphasized-font-style:var(--spectrum-italic-font-style);--spectrum-code-cjk-emphasized-font-weight:var(--spectrum-bold-font-weight);--spectrum-code-cjk-emphasized-font-style:var(--spectrum-default-font-style);--spectrum-code-strong-emphasized-font-weight:var(--spectrum-bold-font-weight);--spectrum-code-strong-emphasized-font-style:var(--spectrum-italic-font-style);--spectrum-code-cjk-strong-emphasized-font-weight:var(--spectrum-black-font-weight);--spectrum-code-cjk-strong-emphasized-font-style:var(--spectrum-default-font-style);--spectrum-code-size-xl:var(--spectrum-font-size-400);--spectrum-code-size-l:var(--spectrum-font-size-300);--spectrum-code-size-m:var(--spectrum-font-size-200);--spectrum-code-size-s:var(--spectrum-font-size-100);--spectrum-code-size-xs:var(--spectrum-font-size-75);--spectrum-code-line-height:var(--spectrum-line-height-200);--spectrum-code-cjk-line-height:var(--spectrum-cjk-line-height-200);--spectrum-code-color:var(--spectrum-gray-800);--spectrum-neutral-background-color-selected-default:var(--spectrum-gray-700);--spectrum-neutral-background-color-selected-hover:var(--spectrum-gray-800);--spectrum-neutral-background-color-selected-down:var(--spectrum-gray-900);--spectrum-neutral-background-color-selected-key-focus:var(--spectrum-gray-800);--spectrum-slider-track-thickness:2px;--spectrum-slider-handle-gap:4px;--spectrum-picker-border-width:var(--spectrum-border-width-100);--spectrum-in-field-button-fill-stacked-inner-border-rounding:0px;--spectrum-in-field-button-edge-to-fill:0px;--spectrum-in-field-button-stacked-inner-edge-to-fill:0px;--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-medium:3px;--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-large:4px;--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-extra-large:5px;--spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-small:var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-small);--spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-medium:var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-medium);--spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-large:var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-large);--spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-extra-large:var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-extra-large);--spectrum-corner-radius-75:2px;--spectrum-drop-shadow-x:0px;--spectrum-border-width-100:1px;--spectrum-accent-color-100:var(--spectrum-blue-100);--spectrum-accent-color-200:var(--spectrum-blue-200);--spectrum-accent-color-300:var(--spectrum-blue-300);--spectrum-accent-color-400:var(--spectrum-blue-400);--spectrum-accent-color-500:var(--spectrum-blue-500);--spectrum-accent-color-600:var(--spectrum-blue-600);--spectrum-accent-color-700:var(--spectrum-blue-700);--spectrum-accent-color-800:var(--spectrum-blue-800);--spectrum-accent-color-900:var(--spectrum-blue-900);--spectrum-accent-color-1000:var(--spectrum-blue-1000);--spectrum-accent-color-1100:var(--spectrum-blue-1100);--spectrum-accent-color-1200:var(--spectrum-blue-1200);--spectrum-accent-color-1300:var(--spectrum-blue-1300);--spectrum-accent-color-1400:var(--spectrum-blue-1400);--spectrum-heading-sans-serif-font-weight:var(--spectrum-bold-font-weight);--spectrum-heading-serif-font-weight:var(--spectrum-bold-font-weight);--spectrum-heading-cjk-font-weight:var(--spectrum-extra-bold-font-weight);--spectrum-heading-sans-serif-emphasized-font-weight:var(--spectrum-bold-font-weight);--spectrum-heading-serif-emphasized-font-weight:var(--spectrum-bold-font-weight);--system-spectrum-actionbutton-background-color-default:var(--spectrum-gray-75);--system-spectrum-actionbutton-background-color-hover:var(--spectrum-gray-200);--system-spectrum-actionbutton-background-color-down:var(--spectrum-gray-300);--system-spectrum-actionbutton-background-color-focus:var(--spectrum-gray-200);--system-spectrum-actionbutton-border-color-default:var(--spectrum-gray-400);--system-spectrum-actionbutton-border-color-hover:var(--spectrum-gray-500);--system-spectrum-actionbutton-border-color-down:var(--spectrum-gray-600);--system-spectrum-actionbutton-border-color-focus:var(--spectrum-gray-500);--system-spectrum-actionbutton-background-color-disabled:transparent;--system-spectrum-actionbutton-border-color-disabled:var(--spectrum-disabled-border-color);--system-spectrum-actionbutton-content-color-disabled:var(--spectrum-disabled-content-color);--system-spectrum-actionbutton-quiet-background-color-default:transparent;--system-spectrum-actionbutton-quiet-background-color-hover:var(--spectrum-gray-200);--system-spectrum-actionbutton-quiet-background-color-down:var(--spectrum-gray-300);--system-spectrum-actionbutton-quiet-background-color-focus:var(--spectrum-gray-200);--system-spectrum-actionbutton-quiet-border-color-default:transparent;--system-spectrum-actionbutton-quiet-border-color-hover:transparent;--system-spectrum-actionbutton-quiet-border-color-down:transparent;--system-spectrum-actionbutton-quiet-border-color-focus:transparent;--system-spectrum-actionbutton-quiet-background-color-disabled:transparent;--system-spectrum-actionbutton-quiet-border-color-disabled:transparent;--system-spectrum-actionbutton-selected-border-color-default:transparent;--system-spectrum-actionbutton-selected-border-color-hover:transparent;--system-spectrum-actionbutton-selected-border-color-down:transparent;--system-spectrum-actionbutton-selected-border-color-focus:transparent;--system-spectrum-actionbutton-selected-background-color-disabled:var(--spectrum-disabled-background-color);--system-spectrum-actionbutton-selected-border-color-disabled:transparent;--system-spectrum-actionbutton-staticblack-quiet-border-color-default:transparent;--system-spectrum-actionbutton-staticwhite-quiet-border-color-default:transparent;--system-spectrum-actionbutton-staticblack-quiet-border-color-hover:transparent;--system-spectrum-actionbutton-staticwhite-quiet-border-color-hover:transparent;--system-spectrum-actionbutton-staticblack-quiet-border-color-down:transparent;--system-spectrum-actionbutton-staticwhite-quiet-border-color-down:transparent;--system-spectrum-actionbutton-staticblack-quiet-border-color-focus:transparent;--system-spectrum-actionbutton-staticwhite-quiet-border-color-focus:transparent;--system-spectrum-actionbutton-staticblack-quiet-border-color-disabled:transparent;--system-spectrum-actionbutton-staticwhite-quiet-border-color-disabled:transparent;--system-spectrum-actionbutton-staticblack-background-color-default:transparent;--system-spectrum-actionbutton-staticblack-background-color-hover:var(--spectrum-transparent-black-300);--system-spectrum-actionbutton-staticblack-background-color-down:var(--spectrum-transparent-black-400);--system-spectrum-actionbutton-staticblack-background-color-focus:var(--spectrum-transparent-black-300);--system-spectrum-actionbutton-staticblack-border-color-default:var(--spectrum-transparent-black-400);--system-spectrum-actionbutton-staticblack-border-color-hover:var(--spectrum-transparent-black-500);--system-spectrum-actionbutton-staticblack-border-color-down:var(--spectrum-transparent-black-600);--system-spectrum-actionbutton-staticblack-border-color-focus:var(--spectrum-transparent-black-500);--system-spectrum-actionbutton-staticblack-content-color-default:var(--spectrum-black);--system-spectrum-actionbutton-staticblack-content-color-hover:var(--spectrum-black);--system-spectrum-actionbutton-staticblack-content-color-down:var(--spectrum-black);--system-spectrum-actionbutton-staticblack-content-color-focus:var(--spectrum-black);--system-spectrum-actionbutton-staticblack-focus-indicator-color:var(--spectrum-static-black-focus-indicator-color);--system-spectrum-actionbutton-staticblack-background-color-disabled:transparent;--system-spectrum-actionbutton-staticblack-border-color-disabled:var(--spectrum-disabled-static-black-border-color);--system-spectrum-actionbutton-staticblack-content-color-disabled:var(--spectrum-disabled-static-black-content-color);--system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-default:var(--spectrum-transparent-black-800);--system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-hover:var(--spectrum-transparent-black-900);--system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-down:var(--spectrum-transparent-black-900);--system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-focus:var(--spectrum-transparent-black-900);--system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-content-color-default:var(--spectrum-white);--system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-content-color-hover:var(--spectrum-white);--system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-content-color-down:var(--spectrum-white);--system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-content-color-focus:var(--spectrum-white);--system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-disabled:var(--spectrum-disabled-static-black-background-color);--system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-border-color-disabled:transparent;--system-spectrum-actionbutton-staticwhite-background-color-default:transparent;--system-spectrum-actionbutton-staticwhite-background-color-hover:var(--spectrum-transparent-white-300);--system-spectrum-actionbutton-staticwhite-background-color-down:var(--spectrum-transparent-white-400);--system-spectrum-actionbutton-staticwhite-background-color-focus:var(--spectrum-transparent-white-300);--system-spectrum-actionbutton-staticwhite-border-color-default:var(--spectrum-transparent-white-400);--system-spectrum-actionbutton-staticwhite-border-color-hover:var(--spectrum-transparent-white-500);--system-spectrum-actionbutton-staticwhite-border-color-down:var(--spectrum-transparent-white-600);--system-spectrum-actionbutton-staticwhite-border-color-focus:var(--spectrum-transparent-white-500);--system-spectrum-actionbutton-staticwhite-content-color-default:var(--spectrum-white);--system-spectrum-actionbutton-staticwhite-content-color-hover:var(--spectrum-white);--system-spectrum-actionbutton-staticwhite-content-color-down:var(--spectrum-white);--system-spectrum-actionbutton-staticwhite-content-color-focus:var(--spectrum-white);--system-spectrum-actionbutton-staticwhite-focus-indicator-color:var(--spectrum-static-white-focus-indicator-color);--system-spectrum-actionbutton-staticwhite-background-color-disabled:transparent;--system-spectrum-actionbutton-staticwhite-border-color-disabled:var(--spectrum-disabled-static-white-border-color);--system-spectrum-actionbutton-staticwhite-content-color-disabled:var(--spectrum-disabled-static-white-content-color);--system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-default:var(--spectrum-transparent-white-800);--system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-hover:var(--spectrum-transparent-white-900);--system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-down:var(--spectrum-transparent-white-900);--system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-focus:var(--spectrum-transparent-white-900);--system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-content-color-default:var(--spectrum-black);--system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-content-color-hover:var(--spectrum-black);--system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-content-color-down:var(--spectrum-black);--system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-content-color-focus:var(--spectrum-black);--system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-disabled:var(--spectrum-disabled-static-white-background-color);--system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-border-color-disabled:transparent;--system-spectrum-actiongroup-gap-size-compact:0;--system-spectrum-actiongroup-horizontal-spacing-compact:-1px;--system-spectrum-actiongroup-vertical-spacing-compact:-1px;--system-spectrum-button-background-color-default:var(--spectrum-gray-75);--system-spectrum-button-background-color-hover:var(--spectrum-gray-200);--system-spectrum-button-background-color-down:var(--spectrum-gray-300);--system-spectrum-button-background-color-focus:var(--spectrum-gray-200);--system-spectrum-button-border-color-default:var(--spectrum-gray-400);--system-spectrum-button-border-color-hover:var(--spectrum-gray-500);--system-spectrum-button-border-color-down:var(--spectrum-gray-600);--system-spectrum-button-border-color-focus:var(--spectrum-gray-500);--system-spectrum-button-content-color-default:var(--spectrum-neutral-content-color-default);--system-spectrum-button-content-color-hover:var(--spectrum-neutral-content-color-hover);--system-spectrum-button-content-color-down:var(--spectrum-neutral-content-color-down);--system-spectrum-button-content-color-focus:var(--spectrum-neutral-content-color-key-focus);--system-spectrum-button-background-color-disabled:transparent;--system-spectrum-button-border-color-disabled:var(--spectrum-disabled-border-color);--system-spectrum-button-content-color-disabled:var(--spectrum-disabled-content-color);--system-spectrum-button-accent-background-color-default:var(--spectrum-accent-background-color-default);--system-spectrum-button-accent-background-color-hover:var(--spectrum-accent-background-color-hover);--system-spectrum-button-accent-background-color-down:var(--spectrum-accent-background-color-down);--system-spectrum-button-accent-background-color-focus:var(--spectrum-accent-background-color-key-focus);--system-spectrum-button-accent-border-color-default:transparent;--system-spectrum-button-accent-border-color-hover:transparent;--system-spectrum-button-accent-border-color-down:transparent;--system-spectrum-button-accent-border-color-focus:transparent;--system-spectrum-button-accent-content-color-default:var(--spectrum-white);--system-spectrum-button-accent-content-color-hover:var(--spectrum-white);--system-spectrum-button-accent-content-color-down:var(--spectrum-white);--system-spectrum-button-accent-content-color-focus:var(--spectrum-white);--system-spectrum-button-accent-background-color-disabled:var(--spectrum-disabled-background-color);--system-spectrum-button-accent-border-color-disabled:transparent;--system-spectrum-button-accent-content-color-disabled:var(--spectrum-disabled-content-color);--system-spectrum-button-accent-outline-background-color-default:transparent;--system-spectrum-button-accent-outline-background-color-hover:var(--spectrum-accent-color-200);--system-spectrum-button-accent-outline-background-color-down:var(--spectrum-accent-color-300);--system-spectrum-button-accent-outline-background-color-focus:var(--spectrum-accent-color-200);--system-spectrum-button-accent-outline-border-color-default:var(--spectrum-accent-color-900);--system-spectrum-button-accent-outline-border-color-hover:var(--spectrum-accent-color-1000);--system-spectrum-button-accent-outline-border-color-down:var(--spectrum-accent-color-1100);--system-spectrum-button-accent-outline-border-color-focus:var(--spectrum-accent-color-1000);--system-spectrum-button-accent-outline-content-color-default:var(--spectrum-accent-content-color-default);--system-spectrum-button-accent-outline-content-color-hover:var(--spectrum-accent-content-color-hover);--system-spectrum-button-accent-outline-content-color-down:var(--spectrum-accent-content-color-down);--system-spectrum-button-accent-outline-content-color-focus:var(--spectrum-accent-content-color-key-focus);--system-spectrum-button-accent-outline-background-color-disabled:transparent;--system-spectrum-button-accent-outline-border-color-disabled:var(--spectrum-disabled-border-color);--system-spectrum-button-accent-outline-content-color-disabled:var(--spectrum-disabled-content-color);--system-spectrum-button-negative-background-color-default:var(--spectrum-negative-background-color-default);--system-spectrum-button-negative-background-color-hover:var(--spectrum-negative-background-color-hover);--system-spectrum-button-negative-background-color-down:var(--spectrum-negative-background-color-down);--system-spectrum-button-negative-background-color-focus:var(--spectrum-negative-background-color-key-focus);--system-spectrum-button-negative-border-color-default:transparent;--system-spectrum-button-negative-border-color-hover:transparent;--system-spectrum-button-negative-border-color-down:transparent;--system-spectrum-button-negative-border-color-focus:transparent;--system-spectrum-button-negative-content-color-default:var(--spectrum-white);--system-spectrum-button-negative-content-color-hover:var(--spectrum-white);--system-spectrum-button-negative-content-color-down:var(--spectrum-white);--system-spectrum-button-negative-content-color-focus:var(--spectrum-white);--system-spectrum-button-negative-background-color-disabled:var(--spectrum-disabled-background-color);--system-spectrum-button-negative-border-color-disabled:transparent;--system-spectrum-button-negative-content-color-disabled:var(--spectrum-disabled-content-color);--system-spectrum-button-negative-outline-background-color-default:transparent;--system-spectrum-button-negative-outline-background-color-hover:var(--spectrum-negative-color-200);--system-spectrum-button-negative-outline-background-color-down:var(--spectrum-negative-color-300);--system-spectrum-button-negative-outline-background-color-focus:var(--spectrum-negative-color-200);--system-spectrum-button-negative-outline-border-color-default:var(--spectrum-negative-color-900);--system-spectrum-button-negative-outline-border-color-hover:var(--spectrum-negative-color-1000);--system-spectrum-button-negative-outline-border-color-down:var(--spectrum-negative-color-1100);--system-spectrum-button-negative-outline-border-color-focus:var(--spectrum-negative-color-1000);--system-spectrum-button-negative-outline-content-color-default:var(--spectrum-negative-content-color-default);--system-spectrum-button-negative-outline-content-color-hover:var(--spectrum-negative-content-color-hover);--system-spectrum-button-negative-outline-content-color-down:var(--spectrum-negative-content-color-down);--system-spectrum-button-negative-outline-content-color-focus:var(--spectrum-negative-content-color-key-focus);--system-spectrum-button-negative-outline-background-color-disabled:transparent;--system-spectrum-button-negative-outline-border-color-disabled:var(--spectrum-disabled-border-color);--system-spectrum-button-negative-outline-content-color-disabled:var(--spectrum-disabled-content-color);--system-spectrum-button-primary-background-color-default:var(--spectrum-neutral-background-color-default);--system-spectrum-button-primary-background-color-hover:var(--spectrum-neutral-background-color-hover);--system-spectrum-button-primary-background-color-down:var(--spectrum-neutral-background-color-down);--system-spectrum-button-primary-background-color-focus:var(--spectrum-neutral-background-color-key-focus);--system-spectrum-button-primary-border-color-default:transparent;--system-spectrum-button-primary-border-color-hover:transparent;--system-spectrum-button-primary-border-color-down:transparent;--system-spectrum-button-primary-border-color-focus:transparent;--system-spectrum-button-primary-content-color-default:var(--spectrum-white);--system-spectrum-button-primary-content-color-hover:var(--spectrum-white);--system-spectrum-button-primary-content-color-down:var(--spectrum-white);--system-spectrum-button-primary-content-color-focus:var(--spectrum-white);--system-spectrum-button-primary-background-color-disabled:var(--spectrum-disabled-background-color);--system-spectrum-button-primary-border-color-disabled:transparent;--system-spectrum-button-primary-content-color-disabled:var(--spectrum-disabled-content-color);--system-spectrum-button-primary-outline-background-color-default:transparent;--system-spectrum-button-primary-outline-background-color-hover:var(--spectrum-gray-300);--system-spectrum-button-primary-outline-background-color-down:var(--spectrum-gray-400);--system-spectrum-button-primary-outline-background-color-focus:var(--spectrum-gray-300);--system-spectrum-button-primary-outline-border-color-default:var(--spectrum-gray-800);--system-spectrum-button-primary-outline-border-color-hover:var(--spectrum-gray-900);--system-spectrum-button-primary-outline-border-color-down:var(--spectrum-gray-900);--system-spectrum-button-primary-outline-border-color-focus:var(--spectrum-gray-900);--system-spectrum-button-primary-outline-content-color-default:var(--spectrum-neutral-content-color-default);--system-spectrum-button-primary-outline-content-color-hover:var(--spectrum-neutral-content-color-hover);--system-spectrum-button-primary-outline-content-color-down:var(--spectrum-neutral-content-color-down);--system-spectrum-button-primary-outline-content-color-focus:var(--spectrum-neutral-content-color-key-focus);--system-spectrum-button-primary-outline-background-color-disabled:transparent;--system-spectrum-button-primary-outline-border-color-disabled:var(--spectrum-disabled-border-color);--system-spectrum-button-primary-outline-content-color-disabled:var(--spectrum-disabled-content-color);--system-spectrum-button-secondary-background-color-default:var(--spectrum-gray-200);--system-spectrum-button-secondary-background-color-hover:var(--spectrum-gray-300);--system-spectrum-button-secondary-background-color-down:var(--spectrum-gray-400);--system-spectrum-button-secondary-background-color-focus:var(--spectrum-gray-300);--system-spectrum-button-secondary-border-color-default:transparent;--system-spectrum-button-secondary-border-color-hover:transparent;--system-spectrum-button-secondary-border-color-down:transparent;--system-spectrum-button-secondary-border-color-focus:transparent;--system-spectrum-button-secondary-content-color-default:var(--spectrum-neutral-content-color-default);--system-spectrum-button-secondary-content-color-hover:var(--spectrum-neutral-content-color-hover);--system-spectrum-button-secondary-content-color-down:var(--spectrum-neutral-content-color-down);--system-spectrum-button-secondary-content-color-focus:var(--spectrum-neutral-content-color-key-focus);--system-spectrum-button-secondary-background-color-disabled:var(--spectrum-disabled-background-color);--system-spectrum-button-secondary-border-color-disabled:transparent;--system-spectrum-button-secondary-content-color-disabled:var(--spectrum-disabled-content-color);--system-spectrum-button-secondary-outline-background-color-default:transparent;--system-spectrum-button-secondary-outline-background-color-hover:var(--spectrum-gray-300);--system-spectrum-button-secondary-outline-background-color-down:var(--spectrum-gray-400);--system-spectrum-button-secondary-outline-background-color-focus:var(--spectrum-gray-300);--system-spectrum-button-secondary-outline-border-color-default:var(--spectrum-gray-300);--system-spectrum-button-secondary-outline-border-color-hover:var(--spectrum-gray-400);--system-spectrum-button-secondary-outline-border-color-down:var(--spectrum-gray-500);--system-spectrum-button-secondary-outline-border-color-focus:var(--spectrum-gray-400);--system-spectrum-button-secondary-outline-content-color-default:var(--spectrum-neutral-content-color-default);--system-spectrum-button-secondary-outline-content-color-hover:var(--spectrum-neutral-content-color-hover);--system-spectrum-button-secondary-outline-content-color-down:var(--spectrum-neutral-content-color-down);--system-spectrum-button-secondary-outline-content-color-focus:var(--spectrum-neutral-content-color-key-focus);--system-spectrum-button-secondary-outline-background-color-disabled:transparent;--system-spectrum-button-secondary-outline-border-color-disabled:var(--spectrum-disabled-border-color);--system-spectrum-button-secondary-outline-content-color-disabled:var(--spectrum-disabled-content-color);--system-spectrum-button-quiet-background-color-default:transparent;--system-spectrum-button-quiet-background-color-hover:var(--spectrum-gray-200);--system-spectrum-button-quiet-background-color-down:var(--spectrum-gray-300);--system-spectrum-button-quiet-background-color-focus:var(--spectrum-gray-200);--system-spectrum-button-quiet-border-color-default:transparent;--system-spectrum-button-quiet-border-color-hover:transparent;--system-spectrum-button-quiet-border-color-down:transparent;--system-spectrum-button-quiet-border-color-focus:transparent;--system-spectrum-button-quiet-background-color-disabled:transparent;--system-spectrum-button-quiet-border-color-disabled:transparent;--system-spectrum-button-selected-background-color-default:var(--spectrum-neutral-subdued-background-color-default);--system-spectrum-button-selected-background-color-hover:var(--spectrum-neutral-subdued-background-color-hover);--system-spectrum-button-selected-background-color-down:var(--spectrum-neutral-subdued-background-color-down);--system-spectrum-button-selected-background-color-focus:var(--spectrum-neutral-subdued-background-color-key-focus);--system-spectrum-button-selected-border-color-default:transparent;--system-spectrum-button-selected-border-color-hover:transparent;--system-spectrum-button-selected-border-color-down:transparent;--system-spectrum-button-selected-border-color-focus:transparent;--system-spectrum-button-selected-content-color-default:var(--spectrum-white);--system-spectrum-button-selected-content-color-hover:var(--spectrum-white);--system-spectrum-button-selected-content-color-down:var(--spectrum-white);--system-spectrum-button-selected-content-color-focus:var(--spectrum-white);--system-spectrum-button-selected-background-color-disabled:var(--spectrum-disabled-background-color);--system-spectrum-button-selected-border-color-disabled:transparent;--system-spectrum-button-selected-emphasized-background-color-default:var(--spectrum-accent-background-color-default);--system-spectrum-button-selected-emphasized-background-color-hover:var(--spectrum-accent-background-color-hover);--system-spectrum-button-selected-emphasized-background-color-down:var(--spectrum-accent-background-color-down);--system-spectrum-button-selected-emphasized-background-color-focus:var(--spectrum-accent-background-color-key-focus);--system-spectrum-button-staticblack-quiet-border-color-default:transparent;--system-spectrum-button-staticwhite-quiet-border-color-default:transparent;--system-spectrum-button-staticblack-quiet-border-color-hover:transparent;--system-spectrum-button-staticwhite-quiet-border-color-hover:transparent;--system-spectrum-button-staticblack-quiet-border-color-down:transparent;--system-spectrum-button-staticwhite-quiet-border-color-down:transparent;--system-spectrum-button-staticblack-quiet-border-color-focus:transparent;--system-spectrum-button-staticwhite-quiet-border-color-focus:transparent;--system-spectrum-button-staticblack-quiet-border-color-disabled:transparent;--system-spectrum-button-staticwhite-quiet-border-color-disabled:transparent;--system-spectrum-button-staticwhite-background-color-default:var(--spectrum-transparent-white-800);--system-spectrum-button-staticwhite-background-color-hover:var(--spectrum-transparent-white-900);--system-spectrum-button-staticwhite-background-color-down:var(--spectrum-transparent-white-900);--system-spectrum-button-staticwhite-background-color-focus:var(--spectrum-transparent-white-900);--system-spectrum-button-staticwhite-border-color-default:transparent;--system-spectrum-button-staticwhite-border-color-hover:transparent;--system-spectrum-button-staticwhite-border-color-down:transparent;--system-spectrum-button-staticwhite-border-color-focus:transparent;--system-spectrum-button-staticwhite-content-color-default:var(--spectrum-black);--system-spectrum-button-staticwhite-content-color-hover:var(--spectrum-black);--system-spectrum-button-staticwhite-content-color-down:var(--spectrum-black);--system-spectrum-button-staticwhite-content-color-focus:var(--spectrum-black);--system-spectrum-button-staticwhite-focus-indicator-color:var(--spectrum-static-white-focus-indicator-color);--system-spectrum-button-staticwhite-background-color-disabled:var(--spectrum-disabled-static-white-background-color);--system-spectrum-button-staticwhite-border-color-disabled:transparent;--system-spectrum-button-staticwhite-content-color-disabled:var(--spectrum-disabled-static-white-content-color);--system-spectrum-button-staticwhite-outline-background-color-default:transparent;--system-spectrum-button-staticwhite-outline-background-color-hover:var(--spectrum-transparent-white-300);--system-spectrum-button-staticwhite-outline-background-color-down:var(--spectrum-transparent-white-400);--system-spectrum-button-staticwhite-outline-background-color-focus:var(--spectrum-transparent-white-300);--system-spectrum-button-staticwhite-outline-border-color-default:var(--spectrum-transparent-white-800);--system-spectrum-button-staticwhite-outline-border-color-hover:var(--spectrum-transparent-white-900);--system-spectrum-button-staticwhite-outline-border-color-down:var(--spectrum-transparent-white-900);--system-spectrum-button-staticwhite-outline-border-color-focus:var(--spectrum-transparent-white-900);--system-spectrum-button-staticwhite-outline-content-color-default:var(--spectrum-white);--system-spectrum-button-staticwhite-outline-content-color-hover:var(--spectrum-white);--system-spectrum-button-staticwhite-outline-content-color-down:var(--spectrum-white);--system-spectrum-button-staticwhite-outline-content-color-focus:var(--spectrum-white);--system-spectrum-button-staticwhite-outline-focus-indicator-color:var(--spectrum-static-white-focus-indicator-color);--system-spectrum-button-staticwhite-outline-background-color-disabled:transparent;--system-spectrum-button-staticwhite-outline-border-color-disabled:var(--spectrum-disabled-static-white-border-color);--system-spectrum-button-staticwhite-outline-content-color-disabled:var(--spectrum-disabled-static-white-content-color);--system-spectrum-button-staticwhite-selected-background-color-default:var(--spectrum-transparent-white-800);--system-spectrum-button-staticwhite-selected-background-color-hover:var(--spectrum-transparent-white-900);--system-spectrum-button-staticwhite-selected-background-color-down:var(--spectrum-transparent-white-900);--system-spectrum-button-staticwhite-selected-background-color-focus:var(--spectrum-transparent-white-900);--system-spectrum-button-staticwhite-selected-content-color-default:var(--spectrum-black);--system-spectrum-button-staticwhite-selected-content-color-hover:var(--spectrum-black);--system-spectrum-button-staticwhite-selected-content-color-down:var(--spectrum-black);--system-spectrum-button-staticwhite-selected-content-color-focus:var(--spectrum-black);--system-spectrum-button-staticwhite-selected-background-color-disabled:var(--spectrum-disabled-static-white-background-color);--system-spectrum-button-staticwhite-selected-border-color-disabled:transparent;--system-spectrum-button-staticwhite-secondary-background-color-default:var(--spectrum-transparent-white-200);--system-spectrum-button-staticwhite-secondary-background-color-hover:var(--spectrum-transparent-white-300);--system-spectrum-button-staticwhite-secondary-background-color-down:var(--spectrum-transparent-white-400);--system-spectrum-button-staticwhite-secondary-background-color-focus:var(--spectrum-transparent-white-300);--system-spectrum-button-staticwhite-secondary-border-color-default:transparent;--system-spectrum-button-staticwhite-secondary-border-color-hover:transparent;--system-spectrum-button-staticwhite-secondary-border-color-down:transparent;--system-spectrum-button-staticwhite-secondary-border-color-focus:transparent;--system-spectrum-button-staticwhite-secondary-content-color-default:var(--spectrum-white);--system-spectrum-button-staticwhite-secondary-content-color-hover:var(--spectrum-white);--system-spectrum-button-staticwhite-secondary-content-color-down:var(--spectrum-white);--system-spectrum-button-staticwhite-secondary-content-color-focus:var(--spectrum-white);--system-spectrum-button-staticwhite-secondary-focus-indicator-color:var(--spectrum-static-white-focus-indicator-color);--system-spectrum-button-staticwhite-secondary-background-color-disabled:var(--spectrum-disabled-static-white-background-color);--system-spectrum-button-staticwhite-secondary-border-color-disabled:transparent;--system-spectrum-button-staticwhite-secondary-content-color-disabled:var(--spectrum-disabled-static-white-content-color);--system-spectrum-button-staticwhite-secondary-outline-background-color-default:transparent;--system-spectrum-button-staticwhite-secondary-outline-background-color-hover:var(--spectrum-transparent-white-300);--system-spectrum-button-staticwhite-secondary-outline-background-color-down:var(--spectrum-transparent-white-400);--system-spectrum-button-staticwhite-secondary-outline-background-color-focus:var(--spectrum-transparent-white-300);--system-spectrum-button-staticwhite-secondary-outline-border-color-default:var(--spectrum-transparent-white-300);--system-spectrum-button-staticwhite-secondary-outline-border-color-hover:var(--spectrum-transparent-white-400);--system-spectrum-button-staticwhite-secondary-outline-border-color-down:var(--spectrum-transparent-white-500);--system-spectrum-button-staticwhite-secondary-outline-border-color-focus:var(--spectrum-transparent-white-400);--system-spectrum-button-staticwhite-secondary-outline-content-color-default:var(--spectrum-white);--system-spectrum-button-staticwhite-secondary-outline-content-color-hover:var(--spectrum-white);--system-spectrum-button-staticwhite-secondary-outline-content-color-down:var(--spectrum-white);--system-spectrum-button-staticwhite-secondary-outline-content-color-focus:var(--spectrum-white);--system-spectrum-button-staticwhite-secondary-outline-focus-indicator-color:var(--spectrum-static-white-focus-indicator-color);--system-spectrum-button-staticwhite-secondary-outline-background-color-disabled:transparent;--system-spectrum-button-staticwhite-secondary-outline-border-color-disabled:var(--spectrum-disabled-static-white-border-color);--system-spectrum-button-staticwhite-secondary-outline-content-color-disabled:var(--spectrum-disabled-static-white-content-color);--system-spectrum-button-staticblack-background-color-default:var(--spectrum-transparent-black-800);--system-spectrum-button-staticblack-background-color-hover:var(--spectrum-transparent-black-900);--system-spectrum-button-staticblack-background-color-down:var(--spectrum-transparent-black-900);--system-spectrum-button-staticblack-background-color-focus:var(--spectrum-transparent-black-900);--system-spectrum-button-staticblack-border-color-default:transparent;--system-spectrum-button-staticblack-border-color-hover:transparent;--system-spectrum-button-staticblack-border-color-down:transparent;--system-spectrum-button-staticblack-border-color-focus:transparent;--system-spectrum-button-staticblack-content-color-default:var(--spectrum-white);--system-spectrum-button-staticblack-content-color-hover:var(--spectrum-white);--system-spectrum-button-staticblack-content-color-down:var(--spectrum-white);--system-spectrum-button-staticblack-content-color-focus:var(--spectrum-white);--system-spectrum-button-staticblack-focus-indicator-color:var(--spectrum-static-black-focus-indicator-color);--system-spectrum-button-staticblack-background-color-disabled:var(--spectrum-disabled-static-black-background-color);--system-spectrum-button-staticblack-border-color-disabled:transparent;--system-spectrum-button-staticblack-content-color-disabled:var(--spectrum-disabled-static-black-content-color);--system-spectrum-button-staticblack-outline-background-color-default:transparent;--system-spectrum-button-staticblack-outline-background-color-hover:var(--spectrum-transparent-black-300);--system-spectrum-button-staticblack-outline-background-color-down:var(--spectrum-transparent-black-400);--system-spectrum-button-staticblack-outline-background-color-focus:var(--spectrum-transparent-black-300);--system-spectrum-button-staticblack-outline-border-color-default:var(--spectrum-transparent-black-400);--system-spectrum-button-staticblack-outline-border-color-hover:var(--spectrum-transparent-black-500);--system-spectrum-button-staticblack-outline-border-color-down:var(--spectrum-transparent-black-600);--system-spectrum-button-staticblack-outline-border-color-focus:var(--spectrum-transparent-black-500);--system-spectrum-button-staticblack-outline-content-color-default:var(--spectrum-black);--system-spectrum-button-staticblack-outline-content-color-hover:var(--spectrum-black);--system-spectrum-button-staticblack-outline-content-color-down:var(--spectrum-black);--system-spectrum-button-staticblack-outline-content-color-focus:var(--spectrum-black);--system-spectrum-button-staticblack-outline-focus-indicator-color:var(--spectrum-static-black-focus-indicator-color);--system-spectrum-button-staticblack-outline-background-color-disabled:transparent;--system-spectrum-button-staticblack-outline-border-color-disabled:var(--spectrum-disabled-static-black-border-color);--system-spectrum-button-staticblack-outline-content-color-disabled:var(--spectrum-disabled-static-black-content-color);--system-spectrum-button-staticblack-secondary-background-color-default:var(--spectrum-transparent-black-200);--system-spectrum-button-staticblack-secondary-background-color-hover:var(--spectrum-transparent-black-300);--system-spectrum-button-staticblack-secondary-background-color-down:var(--spectrum-transparent-black-400);--system-spectrum-button-staticblack-secondary-background-color-focus:var(--spectrum-transparent-black-300);--system-spectrum-button-staticblack-secondary-border-color-default:transparent;--system-spectrum-button-staticblack-secondary-border-color-hover:transparent;--system-spectrum-button-staticblack-secondary-border-color-down:transparent;--system-spectrum-button-staticblack-secondary-border-color-focus:transparent;--system-spectrum-button-staticblack-secondary-content-color-default:var(--spectrum-black);--system-spectrum-button-staticblack-secondary-content-color-hover:var(--spectrum-black);--system-spectrum-button-staticblack-secondary-content-color-down:var(--spectrum-black);--system-spectrum-button-staticblack-secondary-content-color-focus:var(--spectrum-black);--system-spectrum-button-staticblack-secondary-focus-indicator-color:var(--spectrum-static-black-focus-indicator-color);--system-spectrum-button-staticblack-secondary-background-color-disabled:var(--spectrum-disabled-static-black-background-color);--system-spectrum-button-staticblack-secondary-border-color-disabled:transparent;--system-spectrum-button-staticblack-secondary-content-color-disabled:var(--spectrum-disabled-static-black-content-color);--system-spectrum-button-staticblack-secondary-outline-background-color-default:transparent;--system-spectrum-button-staticblack-secondary-outline-background-color-hover:var(--spectrum-transparent-black-300);--system-spectrum-button-staticblack-secondary-outline-background-color-down:var(--spectrum-transparent-black-400);--system-spectrum-button-staticblack-secondary-outline-background-color-focus:var(--spectrum-transparent-black-300);--system-spectrum-button-staticblack-secondary-outline-border-color-default:var(--spectrum-transparent-black-300);--system-spectrum-button-staticblack-secondary-outline-border-color-hover:var(--spectrum-transparent-black-400);--system-spectrum-button-staticblack-secondary-outline-border-color-down:var(--spectrum-transparent-black-500);--system-spectrum-button-staticblack-secondary-outline-border-color-focus:var(--spectrum-transparent-black-400);--system-spectrum-button-staticblack-secondary-outline-content-color-default:var(--spectrum-black);--system-spectrum-button-staticblack-secondary-outline-content-color-hover:var(--spectrum-black);--system-spectrum-button-staticblack-secondary-outline-content-color-down:var(--spectrum-black);--system-spectrum-button-staticblack-secondary-outline-content-color-focus:var(--spectrum-black);--system-spectrum-button-staticblack-secondary-outline-focus-indicator-color:var(--spectrum-static-black-focus-indicator-color);--system-spectrum-button-staticblack-secondary-outline-background-color-disabled:transparent;--system-spectrum-button-staticblack-secondary-outline-border-color-disabled:var(--spectrum-disabled-static-black-border-color);--system-spectrum-button-staticblack-secondary-outline-content-color-disabled:var(--spectrum-disabled-static-black-content-color);--system-spectrum-checkbox-control-color-default:var(--spectrum-gray-600);--system-spectrum-checkbox-control-color-hover:var(--spectrum-gray-700);--system-spectrum-checkbox-control-color-down:var(--spectrum-gray-800);--system-spectrum-checkbox-control-color-focus:var(--spectrum-gray-700);--system-spectrum-closebutton-background-color-default:transparent;--system-spectrum-closebutton-background-color-hover:var(--spectrum-gray-200);--system-spectrum-closebutton-background-color-down:var(--spectrum-gray-300);--system-spectrum-closebutton-background-color-focus:var(--spectrum-gray-200);--system-spectrum-combobox-border-color-default:var(--spectrum-gray-500);--system-spectrum-combobox-border-color-hover:var(--spectrum-gray-600);--system-spectrum-combobox-border-color-focus:var(--spectrum-gray-500);--system-spectrum-combobox-border-color-focus-hover:var(--spectrum-gray-600);--system-spectrum-combobox-border-color-key-focus:var(--spectrum-gray-600);--system-spectrum-infieldbutton-spectrum-infield-button-border-width:var(--spectrum-border-width-100);--system-spectrum-infieldbutton-spectrum-infield-button-border-color:inherit;--system-spectrum-infieldbutton-spectrum-infield-button-border-radius:var(--spectrum-corner-radius-100);--system-spectrum-infieldbutton-spectrum-infield-button-border-radius-reset:0;--system-spectrum-infieldbutton-spectrum-infield-button-stacked-top-border-radius-start-start:var(--spectrum-infield-button-border-radius-reset);--system-spectrum-infieldbutton-spectrum-infield-button-stacked-bottom-border-radius-end-start:var(--spectrum-infield-button-border-radius-reset);--system-spectrum-infieldbutton-spectrum-infield-button-background-color:var(--spectrum-gray-75);--system-spectrum-infieldbutton-spectrum-infield-button-background-color-hover:var(--spectrum-gray-200);--system-spectrum-infieldbutton-spectrum-infield-button-background-color-down:var(--spectrum-gray-300);--system-spectrum-infieldbutton-spectrum-infield-button-background-color-key-focus:var(--spectrum-gray-200);--system-spectrum-picker-background-color-default:var(--spectrum-gray-75);--system-spectrum-picker-background-color-default-open:var(--spectrum-gray-200);--system-spectrum-picker-background-color-active:var(--spectrum-gray-300);--system-spectrum-picker-background-color-hover:var(--spectrum-gray-200);--system-spectrum-picker-background-color-hover-open:var(--spectrum-gray-200);--system-spectrum-picker-background-color-key-focus:var(--spectrum-gray-200);--system-spectrum-picker-border-color-default:var(--spectrum-gray-500);--system-spectrum-picker-border-color-default-open:var(--spectrum-gray-500);--system-spectrum-picker-border-color-hover:var(--spectrum-gray-600);--system-spectrum-picker-border-color-hover-open:var(--spectrum-gray-600);--system-spectrum-picker-border-color-active:var(--spectrum-gray-700);--system-spectrum-picker-border-color-key-focus:var(--spectrum-gray-600);--system-spectrum-picker-border-width:var(--spectrum-border-width-100);--system-spectrum-pickerbutton-spectrum-picker-button-background-color:var(--spectrum-gray-75);--system-spectrum-pickerbutton-spectrum-picker-button-background-color-hover:var(--spectrum-gray-200);--system-spectrum-pickerbutton-spectrum-picker-button-background-color-down:var(--spectrum-gray-300);--system-spectrum-pickerbutton-spectrum-picker-button-background-color-key-focus:var(--spectrum-gray-200);--system-spectrum-pickerbutton-spectrum-picker-button-border-color:inherit;--system-spectrum-pickerbutton-spectrum-picker-button-border-radius:var(--spectrum-corner-radius-100);--system-spectrum-pickerbutton-spectrum-picker-button-border-radius-rounded-sided:0;--system-spectrum-pickerbutton-spectrum-picker-button-border-radius-sided:0;--system-spectrum-pickerbutton-spectrum-picker-button-border-width:var(--spectrum-border-width-100);--system-spectrum-popover-border-width:var(--spectrum-border-width-100);--system-spectrum-radio-button-border-color-default:var(--spectrum-gray-600);--system-spectrum-radio-button-border-color-hover:var(--spectrum-gray-700);--system-spectrum-radio-button-border-color-down:var(--spectrum-gray-800);--system-spectrum-radio-button-border-color-focus:var(--spectrum-gray-700);--system-spectrum-radio-emphasized-button-checked-border-color-default:var(--spectrum-accent-color-900);--system-spectrum-radio-emphasized-button-checked-border-color-hover:var(--spectrum-accent-color-1000);--system-spectrum-radio-emphasized-button-checked-border-color-down:var(--spectrum-accent-color-1100);--system-spectrum-radio-emphasized-button-checked-border-color-focus:var(--spectrum-accent-color-1000);--system-spectrum-search-border-radius:var(--spectrum-corner-radius-100);--system-spectrum-search-edge-to-visual:var(--spectrum-component-edge-to-visual-100);--system-spectrum-search-border-color-default:var(--spectrum-gray-500);--system-spectrum-search-border-color-hover:var(--spectrum-gray-600);--system-spectrum-search-border-color-focus:var(--spectrum-gray-800);--system-spectrum-search-border-color-focus-hover:var(--spectrum-gray-900);--system-spectrum-search-border-color-key-focus:var(--spectrum-gray-900);--system-spectrum-search-sizes-border-radius:var(--spectrum-corner-radius-100);--system-spectrum-search-sizes-edge-to-visual:var(--spectrum-component-edge-to-visual-75);--system-spectrum-search-sizem-border-radius:var(--spectrum-corner-radius-100);--system-spectrum-search-sizem-edge-to-visual:var(--spectrum-component-edge-to-visual-100);--system-spectrum-search-sizel-border-radius:var(--spectrum-corner-radius-100);--system-spectrum-search-sizel-edge-to-visual:var(--spectrum-component-edge-to-visual-200);--system-spectrum-search-sizexl-border-radius:var(--spectrum-corner-radius-100);--system-spectrum-search-sizexl-edge-to-visual:var(--spectrum-component-edge-to-visual-300);--system-spectrum-slider-track-color:var(--spectrum-gray-300);--system-spectrum-slider-track-fill-color:var(--spectrum-gray-700);--system-spectrum-slider-ramp-track-color:var(--spectrum-gray-400);--system-spectrum-slider-ramp-track-color-disabled:var(--spectrum-gray-200);--system-spectrum-slider-handle-background-color:transparent;--system-spectrum-slider-handle-background-color-disabled:transparent;--system-spectrum-slider-ramp-handle-background-color:var(--spectrum-gray-100);--system-spectrum-slider-ticks-handle-background-color:var(--spectrum-gray-100);--system-spectrum-slider-handle-border-color:var(--spectrum-gray-700);--system-spectrum-slider-handle-disabled-background-color:var(--spectrum-gray-100);--system-spectrum-slider-tick-mark-color:var(--spectrum-gray-300);--system-spectrum-slider-handle-border-color-hover:var(--spectrum-gray-800);--system-spectrum-slider-handle-border-color-down:var(--spectrum-gray-800);--system-spectrum-slider-handle-border-color-key-focus:var(--spectrum-gray-800);--system-spectrum-slider-handle-focus-ring-color-key-focus:var(--spectrum-focus-indicator-color);--system-spectrum-stepper-border-width:var(--spectrum-border-width-100);--system-spectrum-stepper-buttons-border-style:none;--system-spectrum-stepper-buttons-border-width:0;--system-spectrum-stepper-buttons-border-color:var(--spectrum-gray-500);--system-spectrum-stepper-buttons-background-color:var(--spectrum-gray-50);--system-spectrum-stepper-buttons-border-color-hover:var(--spectrum-gray-600);--system-spectrum-stepper-buttons-border-color-focus:var(--spectrum-gray-800);--system-spectrum-stepper-buttons-border-color-keyboard-focus:var(--spectrum-gray-900);--system-spectrum-stepper-button-border-radius-reset:0px;--system-spectrum-stepper-button-border-width:var(--spectrum-border-width-100);--system-spectrum-stepper-border-color:var(--spectrum-gray-500);--system-spectrum-stepper-border-color-hover:var(--spectrum-gray-600);--system-spectrum-stepper-border-color-focus:var(--spectrum-gray-800);--system-spectrum-stepper-border-color-focus-hover:var(--spectrum-gray-800);--system-spectrum-stepper-border-color-keyboard-focus:var(--spectrum-gray-900);--system-spectrum-stepper-border-color-invalid:var(--spectrum-negative-border-color-default);--system-spectrum-stepper-border-color-focus-invalid:var(--spectrum-negative-border-color-focus);--system-spectrum-stepper-border-color-focus-hover-invalid:var(--spectrum-negative-border-color-focus-hover);--system-spectrum-stepper-border-color-keyboard-focus-invalid:var(--spectrum-negative-border-color-key-focus);--system-spectrum-stepper-button-background-color-focus:var(--spectrum-gray-300);--system-spectrum-stepper-button-background-color-keyboard-focus:var(--spectrum-gray-200);--system-spectrum-switch-handle-border-color-default:var(--spectrum-gray-600);--system-spectrum-switch-handle-border-color-hover:var(--spectrum-gray-700);--system-spectrum-switch-handle-border-color-down:var(--spectrum-gray-800);--system-spectrum-switch-handle-border-color-focus:var(--spectrum-gray-700);--system-spectrum-switch-handle-border-color-selected-default:var(--spectrum-gray-700);--system-spectrum-switch-handle-border-color-selected-hover:var(--spectrum-gray-800);--system-spectrum-switch-handle-border-color-selected-down:var(--spectrum-gray-900);--system-spectrum-switch-handle-border-color-selected-focus:var(--spectrum-gray-800);--system-spectrum-tabs-font-weight:var(--spectrum-default-font-weight);--system-spectrum-tag-border-color:var(--spectrum-gray-700);--system-spectrum-tag-border-color-hover:var(--spectrum-gray-800);--system-spectrum-tag-border-color-active:var(--spectrum-gray-900);--system-spectrum-tag-border-color-focus:var(--spectrum-gray-800);--system-spectrum-tag-size-small-corner-radius:var(--spectrum-corner-radius-100);--system-spectrum-tag-size-medium-corner-radius:var(--spectrum-corner-radius-100);--system-spectrum-tag-size-large-corner-radius:var(--spectrum-corner-radius-100);--system-spectrum-tag-background-color:var(--spectrum-gray-75);--system-spectrum-tag-background-color-hover:var(--spectrum-gray-75);--system-spectrum-tag-background-color-active:var(--spectrum-gray-200);--system-spectrum-tag-background-color-focus:var(--spectrum-gray-75);--system-spectrum-tag-content-color:var(--spectrum-neutral-subdued-content-color-default);--system-spectrum-tag-content-color-hover:var(--spectrum-neutral-subdued-content-color-hover);--system-spectrum-tag-content-color-active:var(--spectrum-neutral-subdued-content-color-down);--system-spectrum-tag-content-color-focus:var(--spectrum-neutral-subdued-content-color-key-focus);--system-spectrum-tag-border-color-selected:var(--spectrum-neutral-subdued-background-color-default);--system-spectrum-tag-border-color-selected-hover:var(--spectrum-neutral-subdued-background-color-hover);--system-spectrum-tag-border-color-selected-active:var(--spectrum-neutral-subdued-background-color-down);--system-spectrum-tag-border-color-selected-focus:var(--spectrum-neutral-subdued-background-color-key-focus);--system-spectrum-tag-border-color-disabled:transparent;--system-spectrum-tag-background-color-disabled:var(--spectrum-disabled-background-color);--system-spectrum-tag-size-small-spacing-inline-start:var(--spectrum-component-edge-to-visual-75);--system-spectrum-tag-size-small-label-spacing-inline-end:var(--spectrum-component-edge-to-text-75);--system-spectrum-tag-size-small-clear-button-spacing-inline-end:var(--spectrum-component-edge-to-visual-75);--system-spectrum-tag-size-medium-spacing-inline-start:var(--spectrum-component-edge-to-visual-100);--system-spectrum-tag-size-medium-label-spacing-inline-end:var(--spectrum-component-edge-to-text-100);--system-spectrum-tag-size-medium-clear-button-spacing-inline-end:var(--spectrum-component-edge-to-visual-100);--system-spectrum-tag-size-large-spacing-inline-start:var(--spectrum-component-edge-to-visual-200);--system-spectrum-tag-size-large-label-spacing-inline-end:var(--spectrum-component-edge-to-text-200);--system-spectrum-tag-size-large-clear-button-spacing-inline-end:var(--spectrum-component-edge-to-visual-200);--system-spectrum-textfield-border-color:var(--spectrum-gray-500);--system-spectrum-textfield-border-color-hover:var(--spectrum-gray-600);--system-spectrum-textfield-border-color-focus:var(--spectrum-gray-800);--system-spectrum-textfield-border-color-focus-hover:var(--spectrum-gray-900);--system-spectrum-textfield-border-color-keyboard-focus:var(--spectrum-gray-900);--system-spectrum-textfield-border-width:var(--spectrum-border-width-100);--system-spectrum-toast-background-color-default:var(--spectrum-neutral-subdued-background-color-default);--system-spectrum-tooltip-backgound-color-default-neutral:var(--spectrum-neutral-subdued-background-color-default);--system:spectrum;--spectrum-animation-linear:cubic-bezier(0,0,1,1);--spectrum-animation-duration-0:0s;--spectrum-animation-duration-100:.13s;--spectrum-animation-duration-200:.16s;--spectrum-animation-duration-300:.19s;--spectrum-animation-duration-400:.22s;--spectrum-animation-duration-500:.25s;--spectrum-animation-duration-600:.3s;--spectrum-animation-duration-700:.35s;--spectrum-animation-duration-800:.4s;--spectrum-animation-duration-900:.45s;--spectrum-animation-duration-1000:.5s;--spectrum-animation-duration-2000:1s;--spectrum-animation-duration-4000:2s;--spectrum-animation-duration-6000:3s;--spectrum-animation-ease-in-out:cubic-bezier(.45,0,.4,1);--spectrum-animation-ease-in:cubic-bezier(.5,0,1,1);--spectrum-animation-ease-out:cubic-bezier(0,0,.4,1);--spectrum-animation-ease-linear:cubic-bezier(0,0,1,1);--spectrum-sans-font-family-stack:adobe-clean,var(--spectrum-sans-serif-font-family),"Source Sans Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Ubuntu,"Trebuchet MS","Lucida Grande",sans-serif;--spectrum-sans-serif-font:var(--spectrum-sans-font-family-stack);--spectrum-serif-font-family-stack:adobe-clean-serif,var(--spectrum-serif-font-family),"Source Serif Pro",Georgia,serif;--spectrum-serif-font:var(--spectrum-serif-font-family-stack);--spectrum-code-font-family-stack:"Source Code Pro",Monaco,monospace;--spectrum-cjk-font-family-stack:adobe-clean-han-japanese,var(--spectrum-cjk-font-family),sans-serif;--spectrum-cjk-font:var(--spectrum-code-font-family-stack);--spectrum-docs-static-white-background-color-rgb:15,121,125;--spectrum-docs-static-white-background-color:rgba(var(--spectrum-docs-static-white-background-color-rgb));--spectrum-docs-static-black-background-color-rgb:206,247,243;--spectrum-docs-static-black-background-color:rgba(var(--spectrum-docs-static-black-background-color-rgb))}:root,:host{--spectrum-font-family-ar:myriad-arabic,adobe-clean,"Source Sans Pro",-apple-system,blinkmacsystemfont,"Segoe UI",roboto,ubuntu,"Trebuchet MS","Lucida Grande",sans-serif;--spectrum-font-family-he:myriad-hebrew,adobe-clean,"Source Sans Pro",-apple-system,blinkmacsystemfont,"Segoe UI",roboto,ubuntu,"Trebuchet MS","Lucida Grande",sans-serif;--spectrum-font-family:var(--spectrum-sans-font-family-stack);--spectrum-font-style:var(--spectrum-default-font-style);--spectrum-font-size:var(--spectrum-font-size-100);font-family:var(--spectrum-font-family);font-style:var(--spectrum-font-style);font-size:var(--spectrum-font-size)}.spectrum:lang(ar){font-family:var(--spectrum-font-family-ar)}.spectrum:lang(he){font-family:var(--spectrum-font-family-he)}.spectrum-Heading{--spectrum-heading-sans-serif-font-family:var(--spectrum-sans-font-family-stack);--spectrum-heading-serif-font-family:var(--spectrum-serif-font-family-stack);--spectrum-heading-cjk-font-family:var(--spectrum-cjk-font-family-stack);--spectrum-heading-cjk-letter-spacing:var(--spectrum-cjk-letter-spacing);--spectrum-heading-font-color:var(--spectrum-heading-color);--spectrum-heading-margin-start:calc(var(--mod-heading-font-size,var(--spectrum-heading-font-size))*var(--spectrum-heading-margin-top-multiplier));--spectrum-heading-margin-end:calc(var(--mod-heading-font-size,var(--spectrum-heading-font-size))*var(--spectrum-heading-margin-bottom-multiplier))}.spectrum-Heading--sizeXXS{--spectrum-heading-font-size:var(--spectrum-heading-size-xxs);--spectrum-heading-cjk-font-size:var(--spectrum-heading-cjk-size-xxs)}.spectrum-Heading--sizeXS{--spectrum-heading-font-size:var(--spectrum-heading-size-xs);--spectrum-heading-cjk-font-size:var(--spectrum-heading-cjk-size-xs)}.spectrum-Heading--sizeS{--spectrum-heading-font-size:var(--spectrum-heading-size-s);--spectrum-heading-cjk-font-size:var(--spectrum-heading-cjk-size-s)}.spectrum-Heading--sizeM{--spectrum-heading-font-size:var(--spectrum-heading-size-m);--spectrum-heading-cjk-font-size:var(--spectrum-heading-cjk-size-m)}.spectrum-Heading--sizeL{--spectrum-heading-font-size:var(--spectrum-heading-size-l);--spectrum-heading-cjk-font-size:var(--spectrum-heading-cjk-size-l)}.spectrum-Heading--sizeXL{--spectrum-heading-font-size:var(--spectrum-heading-size-xl);--spectrum-heading-cjk-font-size:var(--spectrum-heading-cjk-size-xl)}.spectrum-Heading--sizeXXL{--spectrum-heading-font-size:var(--spectrum-heading-size-xxl);--spectrum-heading-cjk-font-size:var(--spectrum-heading-cjk-size-xxl)}.spectrum-Heading--sizeXXXL{--spectrum-heading-font-size:var(--spectrum-heading-size-xxxl);--spectrum-heading-cjk-font-size:var(--spectrum-heading-cjk-size-xxxl)}.spectrum-Heading{font-family:var(--mod-heading-sans-serif-font-family,var(--spectrum-heading-sans-serif-font-family));font-style:var(--mod-heading-sans-serif-font-style,var(--spectrum-heading-sans-serif-font-style));font-weight:var(--mod-heading-sans-serif-font-weight,var(--spectrum-heading-sans-serif-font-weight));font-size:var(--mod-heading-font-size,var(--spectrum-heading-font-size));color:var(--highcontrast-heading-font-color,var(--mod-heading-font-color,var(--spectrum-heading-font-color)));line-height:var(--mod-heading-line-height,var(--spectrum-heading-line-height));margin-block:0}.spectrum-Heading .spectrum-Heading-strong,.spectrum-Heading strong{font-style:var(--mod-heading-sans-serif-strong-font-style,var(--spectrum-heading-sans-serif-strong-font-style));font-weight:var(--mod-heading-sans-serif-strong-font-weight,var(--spectrum-heading-sans-serif-strong-font-weight))}.spectrum-Heading .spectrum-Heading-emphasized,.spectrum-Heading em{font-style:var(--mod-heading-sans-serif-emphasized-font-style,var(--spectrum-heading-sans-serif-emphasized-font-style));font-weight:var(--mod-heading-sans-serif-emphasized-font-weight,var(--spectrum-heading-sans-serif-emphasized-font-weight))}.spectrum-Heading .spectrum-Heading-strong.spectrum-Heading-emphasized,.spectrum-Heading em strong,.spectrum-Heading strong em{font-style:var(--mod-heading-sans-serif-strong-emphasized-font-style,var(--spectrum-heading-sans-serif-strong-emphasized-font-style));font-weight:var(--mod-heading-sans-serif-strong-emphasized-font-weight,var(--spectrum-heading-sans-serif-strong-emphasized-font-weight))}.spectrum-Heading:lang(ja),.spectrum-Heading:lang(ko),.spectrum-Heading:lang(zh){font-family:var(--mod-heading-cjk-font-family,var(--spectrum-heading-cjk-font-family));font-style:var(--mod-heading-cjk-font-style,var(--spectrum-heading-cjk-font-style));font-weight:var(--mod-heading-cjk-font-weight,var(--spectrum-heading-cjk-font-weight));font-size:var(--mod-heading-cjk-font-size,var(--spectrum-heading-cjk-font-size));line-height:var(--mod-heading-cjk-line-height,var(--spectrum-heading-cjk-line-height));letter-spacing:var(--mod-heading-cjk-letter-spacing,var(--spectrum-heading-cjk-letter-spacing))}.spectrum-Heading:lang(ja) .spectrum-Heading-emphasized,.spectrum-Heading:lang(ja) em,.spectrum-Heading:lang(ko) .spectrum-Heading-emphasized,.spectrum-Heading:lang(ko) em,.spectrum-Heading:lang(zh) .spectrum-Heading-emphasized,.spectrum-Heading:lang(zh) em{font-style:var(--mod-heading-cjk-emphasized-font-style,var(--spectrum-heading-cjk-emphasized-font-style));font-weight:var(--mod-heading-cjk-emphasized-font-weight,var(--spectrum-heading-cjk-emphasized-font-weight))}.spectrum-Heading:lang(ja) .spectrum-Heading-strong,.spectrum-Heading:lang(ja) strong,.spectrum-Heading:lang(ko) .spectrum-Heading-strong,.spectrum-Heading:lang(ko) strong,.spectrum-Heading:lang(zh) .spectrum-Heading-strong,.spectrum-Heading:lang(zh) strong{font-style:var(--mod-heading-cjk-strong-font-style,var(--spectrum-heading-cjk-strong-font-style));font-weight:var(--mod-heading-cjk-strong-font-weight,var(--spectrum-heading-cjk-strong-font-weight))}.spectrum-Heading:lang(ja) .spectrum-Heading-strong.spectrum-Heading-emphasized,.spectrum-Heading:lang(ja) em strong,.spectrum-Heading:lang(ja) strong em,.spectrum-Heading:lang(ko) .spectrum-Heading-strong.spectrum-Heading-emphasized,.spectrum-Heading:lang(ko) em strong,.spectrum-Heading:lang(ko) strong em,.spectrum-Heading:lang(zh) .spectrum-Heading-strong.spectrum-Heading-emphasized,.spectrum-Heading:lang(zh) em strong,.spectrum-Heading:lang(zh) strong em{font-style:var(--mod-heading-cjk-strong-emphasized-font-style,var(--spectrum-heading-cjk-strong-emphasized-font-style));font-weight:var(--mod-heading-cjk-strong-emphasized-font-weight,var(--spectrum-heading-cjk-strong-emphasized-font-weight))}.spectrum-Heading--heavy{font-style:var(--mod-heading-sans-serif-heavy-font-style,var(--spectrum-heading-sans-serif-heavy-font-style));font-weight:var(--mod-heading-sans-serif-heavy-font-weight,var(--spectrum-heading-sans-serif-heavy-font-weight))}.spectrum-Heading--heavy .spectrum-Heading-strong,.spectrum-Heading--heavy strong{font-style:var(--mod-heading-sans-serif-heavy-strong-font-style,var(--spectrum-heading-sans-serif-heavy-strong-font-style));font-weight:var(--mod-heading-sans-serif-heavy-strong-font-weight,var(--spectrum-heading-sans-serif-heavy-strong-font-weight))}.spectrum-Heading--heavy .spectrum-Heading-emphasized,.spectrum-Heading--heavy em{font-style:var(--mod-heading-sans-serif-heavy-emphasized-font-style,var(--spectrum-heading-sans-serif-heavy-emphasized-font-style));font-weight:var(--mod-heading-sans-serif-heavy-emphasized-font-weight,var(--spectrum-heading-sans-serif-heavy-emphasized-font-weight))}.spectrum-Heading--heavy .spectrum-Heading-strong.spectrum-Heading-emphasized,.spectrum-Heading--heavy em strong,.spectrum-Heading--heavy strong em{font-style:var(--mod-heading-sans-serif-heavy-strong-emphasized-font-style,var(--spectrum-heading-sans-serif-heavy-strong-emphasized-font-style));font-weight:var(--mod-heading-sans-serif-heavy-strong-emphasized-font-weight,var(--spectrum-heading-sans-serif-heavy-strong-emphasized-font-weight))}.spectrum-Heading--heavy:lang(ja),.spectrum-Heading--heavy:lang(ko),.spectrum-Heading--heavy:lang(zh){font-style:var(--mod-heading-cjk-heavy-font-style,var(--spectrum-heading-cjk-heavy-font-style));font-weight:var(--mod-heading-cjk-heavy-font-weight,var(--spectrum-heading-cjk-heavy-font-weight))}.spectrum-Heading--heavy:lang(ja) .spectrum-Heading-emphasized,.spectrum-Heading--heavy:lang(ja) em,.spectrum-Heading--heavy:lang(ko) .spectrum-Heading-emphasized,.spectrum-Heading--heavy:lang(ko) em,.spectrum-Heading--heavy:lang(zh) .spectrum-Heading-emphasized,.spectrum-Heading--heavy:lang(zh) em{font-style:var(--mod-heading-cjk-heavy-emphasized-font-style,var(--spectrum-heading-cjk-heavy-emphasized-font-style));font-weight:var(--mod-heading-cjk-heavy-emphasized-font-weight,var(--spectrum-heading-cjk-heavy-emphasized-font-weight))}.spectrum-Heading--heavy:lang(ja) .spectrum-Heading-strong,.spectrum-Heading--heavy:lang(ja) strong,.spectrum-Heading--heavy:lang(ko) .spectrum-Heading-strong,.spectrum-Heading--heavy:lang(ko) strong,.spectrum-Heading--heavy:lang(zh) .spectrum-Heading-strong,.spectrum-Heading--heavy:lang(zh) strong{font-style:var(--mod-heading-cjk-heavy-strong-font-style,var(--spectrum-heading-cjk-heavy-strong-font-style));font-weight:var(--mod-heading-cjk-heavy-strong-font-weight,var(--spectrum-heading-cjk-heavy-strong-font-weight))}.spectrum-Heading--heavy:lang(ja) .spectrum-Heading-strong.spectrum-Heading-emphasized,.spectrum-Heading--heavy:lang(ja) em strong,.spectrum-Heading--heavy:lang(ja) strong em,.spectrum-Heading--heavy:lang(ko) .spectrum-Heading-strong.spectrum-Heading-emphasized,.spectrum-Heading--heavy:lang(ko) em strong,.spectrum-Heading--heavy:lang(ko) strong em,.spectrum-Heading--heavy:lang(zh) .spectrum-Heading-strong.spectrum-Heading-emphasized,.spectrum-Heading--heavy:lang(zh) em strong,.spectrum-Heading--heavy:lang(zh) strong em{font-style:var(--mod-heading-cjk-heavy-strong-emphasized-font-style,var(--spectrum-heading-cjk-heavy-strong-emphasized-font-style));font-weight:var(--mod-heading-cjk-heavy-strong-emphasized-font-weight,var(--spectrum-heading-cjk-heavy-strong-emphasized-font-weight))}.spectrum-Heading--light{font-style:var(--mod-heading-sans-serif-light-font-style,var(--spectrum-heading-sans-serif-light-font-style));font-weight:var(--mod-heading-sans-serif-light-font-weight,var(--spectrum-heading-sans-serif-light-font-weight))}.spectrum-Heading--light .spectrum-Heading-emphasized,.spectrum-Heading--light em{font-style:var(--mod-heading-sans-serif-light-emphasized-font-style,var(--spectrum-heading-sans-serif-light-emphasized-font-style));font-weight:var(--mod-heading-sans-serif-light-emphasized-font-weight,var(--spectrum-heading-sans-serif-light-emphasized-font-weight))}.spectrum-Heading--light .spectrum-Heading-strong,.spectrum-Heading--light strong{font-style:var(--mod-heading-sans-serif-light-strong-font-style,var(--spectrum-heading-sans-serif-light-strong-font-style));font-weight:var(--mod-heading-sans-serif-light-strong-font-weight,var(--spectrum-heading-sans-serif-light-strong-font-weight))}.spectrum-Heading--light .spectrum-Heading-strong.spectrum-Heading-emphasized,.spectrum-Heading--light em strong,.spectrum-Heading--light strong em{font-style:var(--mod-heading-sans-serif-light-strong-emphasized-font-style,var(--spectrum-heading-sans-serif-light-strong-emphasized-font-style));font-weight:var(--mod-heading-sans-serif-light-strong-emphasized-font-weight,var(--spectrum-heading-sans-serif-light-strong-emphasized-font-weight))}.spectrum-Heading--light:lang(ja),.spectrum-Heading--light:lang(ko),.spectrum-Heading--light:lang(zh){font-style:var(--mod-heading-cjk-light-font-style,var(--spectrum-heading-cjk-light-font-style));font-weight:var(--mod-heading-cjk-light-font-weight,var(--spectrum-heading-cjk-light-font-weight))}.spectrum-Heading--light:lang(ja) .spectrum-Heading-strong,.spectrum-Heading--light:lang(ja) strong,.spectrum-Heading--light:lang(ko) .spectrum-Heading-strong,.spectrum-Heading--light:lang(ko) strong,.spectrum-Heading--light:lang(zh) .spectrum-Heading-strong,.spectrum-Heading--light:lang(zh) strong{font-style:var(--mod-heading-cjk-light-strong-font-style,var(--spectrum-heading-cjk-light-strong-font-style));font-weight:var(--mod-heading-cjk-light-strong-font-weight,var(--spectrum-heading-cjk-light-strong-font-weight))}.spectrum-Heading--light:lang(ja) .spectrum-Heading-emphasized,.spectrum-Heading--light:lang(ja) em,.spectrum-Heading--light:lang(ko) .spectrum-Heading-emphasized,.spectrum-Heading--light:lang(ko) em,.spectrum-Heading--light:lang(zh) .spectrum-Heading-emphasized,.spectrum-Heading--light:lang(zh) em{font-style:var(--mod-heading-cjk-light-emphasized-font-style,var(--spectrum-heading-cjk-light-emphasized-font-style));font-weight:var(--mod-heading-cjk-light-emphasized-font-weight,var(--spectrum-heading-cjk-light-emphasized-font-weight))}.spectrum-Heading--light:lang(ja) .spectrum-Heading-strong.spectrum-Heading-emphasized,.spectrum-Heading--light:lang(ja) em strong,.spectrum-Heading--light:lang(ja) strong em,.spectrum-Heading--light:lang(ko) .spectrum-Heading-strong.spectrum-Heading-emphasized,.spectrum-Heading--light:lang(ko) em strong,.spectrum-Heading--light:lang(ko) strong em,.spectrum-Heading--light:lang(zh) .spectrum-Heading-strong.spectrum-Heading-emphasized,.spectrum-Heading--light:lang(zh) em strong,.spectrum-Heading--light:lang(zh) strong em{font-style:var(--mod-heading-cjk-light-strong-emphasized-font-style,var(--spectrum-heading-cjk-light-strong-emphasized-font-style));font-weight:var(--mod-heading-cjk-light-strong-emphasized-font-weight,var(--spectrum-heading-cjk-light-strong-emphasized-font-weight))}.spectrum-Heading--serif{font-family:var(--mod-heading-serif-font-family,var(--spectrum-heading-serif-font-family));font-style:var(--mod-heading-serif-font-style,var(--spectrum-heading-serif-font-style));font-weight:var(--mod-heading-serif-font-weight,var(--spectrum-heading-serif-font-weight))}.spectrum-Heading--serif .spectrum-Heading-emphasized,.spectrum-Heading--serif em{font-style:var(--mod-heading-serif-emphasized-font-style,var(--spectrum-heading-serif-emphasized-font-style));font-weight:var(--mod-heading-serif-emphasized-font-weight,var(--spectrum-heading-serif-emphasized-font-weight))}.spectrum-Heading--serif .spectrum-Heading-strong,.spectrum-Heading--serif strong{font-style:var(--mod-heading-serif-strong-font-style,var(--spectrum-heading-serif-strong-font-style));font-weight:var(--mod-heading-serif-strong-font-weight,var(--spectrum-heading-serif-strong-font-weight))}.spectrum-Heading--serif .spectrum-Heading-strong.spectrum-Heading-emphasized,.spectrum-Heading--serif em strong,.spectrum-Heading--serif strong em{font-style:var(--mod-heading-serif-strong-emphasized-font-style,var(--spectrum-heading-serif-strong-emphasized-font-style));font-weight:var(--mod-heading-serif-strong-emphasized-font-weight,var(--spectrum-heading-serif-strong-emphasized-font-weight))}.spectrum-Heading--serif.spectrum-Heading--heavy{font-style:var(--mod-heading-serif-heavy-font-style,var(--spectrum-heading-serif-heavy-font-style));font-weight:var(--mod-heading-serif-heavy-font-weight,var(--spectrum-heading-serif-heavy-font-weight))}.spectrum-Heading--serif.spectrum-Heading--heavy .spectrum-Heading-strong,.spectrum-Heading--serif.spectrum-Heading--heavy strong{font-style:var(--mod-heading-serif-heavy-strong-font-style,var(--spectrum-heading-serif-heavy-strong-font-style));font-weight:var(--mod-heading-serif-heavy-strong-font-weight,var(--spectrum-heading-serif-heavy-strong-font-weight))}.spectrum-Heading--serif.spectrum-Heading--heavy .spectrum-Heading-emphasized,.spectrum-Heading--serif.spectrum-Heading--heavy em{font-style:var(--mod-heading-serif-heavy-emphasized-font-style,var(--spectrum-heading-serif-heavy-emphasized-font-style));font-weight:var(--mod-heading-serif-heavy-emphasized-font-weight,var(--spectrum-heading-serif-heavy-emphasized-font-weight))}.spectrum-Heading--serif.spectrum-Heading--heavy .spectrum-Heading-strong.spectrum-Heading-emphasized,.spectrum-Heading--serif.spectrum-Heading--heavy em strong,.spectrum-Heading--serif.spectrum-Heading--heavy strong em{font-style:var(--mod-heading-serif-heavy-strong-emphasized-font-style,var(--spectrum-heading-serif-heavy-strong-emphasized-font-style));font-weight:var(--mod-heading-serif-heavy-strong-emphasized-font-weight,var(--spectrum-heading-serif-heavy-strong-emphasized-font-weight))}.spectrum-Heading--serif.spectrum-Heading--light{font-style:var(--mod-heading-serif-light-font-style,var(--spectrum-heading-serif-light-font-style));font-weight:var(--mod-heading-serif-light-font-weight,var(--spectrum-heading-serif-light-font-weight))}.spectrum-Heading--serif.spectrum-Heading--light .spectrum-Heading-emphasized,.spectrum-Heading--serif.spectrum-Heading--light em{font-style:var(--mod-heading-serif-light-emphasized-font-style,var(--spectrum-heading-serif-light-emphasized-font-style));font-weight:var(--mod-heading-serif-light-emphasized-font-weight,var(--spectrum-heading-serif-light-emphasized-font-weight))}.spectrum-Heading--serif.spectrum-Heading--light .spectrum-Heading-strong,.spectrum-Heading--serif.spectrum-Heading--light strong{font-style:var(--mod-heading-serif-light-strong-font-style,var(--spectrum-heading-serif-light-strong-font-style));font-weight:var(--mod-heading-serif-light-strong-font-weight,var(--spectrum-heading-serif-light-strong-font-weight))}.spectrum-Heading--serif.spectrum-Heading--light .spectrum-Heading-strong.spectrum-Heading-emphasized,.spectrum-Heading--serif.spectrum-Heading--light em strong,.spectrum-Heading--serif.spectrum-Heading--light strong em{font-style:var(--mod-heading-serif-light-strong-emphasized-font-style,var(--spectrum-heading-serif-light-strong-emphasized-font-style));font-weight:var(--mod-heading-serif-light-strong-emphasized-font-weight,var(--spectrum-heading-serif-light-strong-emphasized-font-weight))}.spectrum-Typography .spectrum-Heading{margin-block-start:var(--mod-heading-margin-start,var(--spectrum-heading-margin-start));margin-block-end:var(--mod-heading-margin-end,var(--spectrum-heading-margin-end))}.spectrum-Body{--spectrum-body-sans-serif-font-family:var(--spectrum-sans-font-family-stack);--spectrum-body-serif-font-family:var(--spectrum-serif-font-family-stack);--spectrum-body-cjk-font-family:var(--spectrum-cjk-font-family-stack);--spectrum-body-cjk-letter-spacing:var(--spectrum-cjk-letter-spacing);--spectrum-body-margin:calc(var(--mod-body-font-size,var(--spectrum-body-font-size))*var(--spectrum-body-margin-multiplier));--spectrum-body-font-color:var(--spectrum-body-color)}.spectrum-Body--sizeXS{--spectrum-body-font-size:var(--spectrum-body-size-xs)}.spectrum-Body--sizeS{--spectrum-body-font-size:var(--spectrum-body-size-s)}.spectrum-Body--sizeM{--spectrum-body-font-size:var(--spectrum-body-size-m)}.spectrum-Body--sizeL{--spectrum-body-font-size:var(--spectrum-body-size-l)}.spectrum-Body--sizeXL{--spectrum-body-font-size:var(--spectrum-body-size-xl)}.spectrum-Body--sizeXXL{--spectrum-body-font-size:var(--spectrum-body-size-xxl)}.spectrum-Body--sizeXXXL{--spectrum-body-font-size:var(--spectrum-body-size-xxxl)}.spectrum-Body{font-family:var(--mod-body-sans-serif-font-family,var(--spectrum-body-sans-serif-font-family));font-style:var(--mod-body-sans-serif-font-style,var(--spectrum-body-sans-serif-font-style));font-weight:var(--mod-body-sans-serif-font-weight,var(--spectrum-body-sans-serif-font-weight));font-size:var(--mod-body-font-size,var(--spectrum-body-font-size));color:var(--highcontrast-body-font-color,var(--mod-body-font-color,var(--spectrum-body-font-color)));line-height:var(--mod-body-line-height,var(--spectrum-body-line-height));margin-block:0}.spectrum-Body .spectrum-Body-strong,.spectrum-Body strong{font-style:var(--mod-body-sans-serif-strong-font-style,var(--spectrum-body-sans-serif-strong-font-style));font-weight:var(--mod-body-sans-serif-strong-font-weight,var(--spectrum-body-sans-serif-strong-font-weight))}.spectrum-Body .spectrum-Body-emphasized,.spectrum-Body em{font-style:var(--mod-body-sans-serif-emphasized-font-style,var(--spectrum-body-sans-serif-emphasized-font-style));font-weight:var(--mod-body-sans-serif-emphasized-font-weight,var(--spectrum-body-sans-serif-emphasized-font-weight))}.spectrum-Body .spectrum-Body-strong.spectrum-Body-emphasized,.spectrum-Body em strong,.spectrum-Body strong em{font-style:var(--mod-body-sans-serif-strong-emphasized-font-style,var(--spectrum-body-sans-serif-strong-emphasized-font-style));font-weight:var(--mod-body-sans-serif-strong-emphasized-font-weight,var(--spectrum-body-sans-serif-strong-emphasized-font-weight))}.spectrum-Body:lang(ja),.spectrum-Body:lang(ko),.spectrum-Body:lang(zh){font-family:var(--mod-body-cjk-font-family,var(--spectrum-body-cjk-font-family));font-style:var(--mod-body-cjk-font-style,var(--spectrum-body-cjk-font-style));font-weight:var(--mod-body-cjk-font-weight,var(--spectrum-body-cjk-font-weight));line-height:var(--mod-body-cjk-line-height,var(--spectrum-body-cjk-line-height));letter-spacing:var(--mod-body-cjk-letter-spacing,var(--spectrum-body-cjk-letter-spacing))}.spectrum-Body:lang(ja) .spectrum-Body-strong,.spectrum-Body:lang(ja) strong,.spectrum-Body:lang(ko) .spectrum-Body-strong,.spectrum-Body:lang(ko) strong,.spectrum-Body:lang(zh) .spectrum-Body-strong,.spectrum-Body:lang(zh) strong{font-style:var(--mod-body-cjk-strong-font-style,var(--spectrum-body-cjk-strong-font-style));font-weight:var(--mod-body-cjk-strong-font-weight,var(--spectrum-body-cjk-strong-font-weight))}.spectrum-Body:lang(ja) .spectrum-Body-emphasized,.spectrum-Body:lang(ja) em,.spectrum-Body:lang(ko) .spectrum-Body-emphasized,.spectrum-Body:lang(ko) em,.spectrum-Body:lang(zh) .spectrum-Body-emphasized,.spectrum-Body:lang(zh) em{font-style:var(--mod-body-cjk-emphasized-font-style,var(--spectrum-body-cjk-emphasized-font-style));font-weight:var(--mod-body-cjk-emphasized-font-weight,var(--spectrum-body-cjk-emphasized-font-weight))}.spectrum-Body:lang(ja) .spectrum-Body-strong.spectrum-Body-emphasized,.spectrum-Body:lang(ja) em strong,.spectrum-Body:lang(ja) strong em,.spectrum-Body:lang(ko) .spectrum-Body-strong.spectrum-Body-emphasized,.spectrum-Body:lang(ko) em strong,.spectrum-Body:lang(ko) strong em,.spectrum-Body:lang(zh) .spectrum-Body-strong.spectrum-Body-emphasized,.spectrum-Body:lang(zh) em strong,.spectrum-Body:lang(zh) strong em{font-style:var(--mod-body-cjk-strong-emphasized-font-style,var(--spectrum-body-cjk-strong-emphasized-font-style));font-weight:var(--mod-body-cjk-strong-emphasized-font-weight,var(--spectrum-body-cjk-strong-emphasized-font-weight))}.spectrum-Body--serif{font-family:var(--mod-body-serif-font-family,var(--spectrum-body-serif-font-family));font-weight:var(--mod-body-serif-font-weight,var(--spectrum-body-serif-font-weight));font-style:var(--mod-body-serif-font-style,var(--spectrum-body-serif-font-style))}.spectrum-Body--serif .spectrum-Body-strong,.spectrum-Body--serif strong{font-style:var(--mod-body-serif-strong-font-style,var(--spectrum-body-serif-strong-font-style));font-weight:var(--mod-body-serif-strong-font-weight,var(--spectrum-body-serif-strong-font-weight))}.spectrum-Body--serif .spectrum-Body-emphasized,.spectrum-Body--serif em{font-style:var(--mod-body-serif-emphasized-font-style,var(--spectrum-body-serif-emphasized-font-style));font-weight:var(--mod-body-serif-emphasized-font-weight,var(--spectrum-body-serif-emphasized-font-weight))}.spectrum-Body--serif .spectrum-Body-strong.spectrum-Body-emphasized,.spectrum-Body--serif em strong,.spectrum-Body--serif strong em{font-style:var(--mod-body-serif-strong-emphasized-font-style,var(--spectrum-body-serif-strong-emphasized-font-style));font-weight:var(--mod-body-serif-strong-emphasized-font-weight,var(--spectrum-body-serif-strong-emphasized-font-weight))}.spectrum-Typography .spectrum-Body{margin-block-end:var(--mod-body-margin,var(--spectrum-body-margin))}.spectrum-Detail{--spectrum-detail-sans-serif-font-family:var(--spectrum-sans-font-family-stack);--spectrum-detail-serif-font-family:var(--spectrum-serif-font-family-stack);--spectrum-detail-cjk-font-family:var(--spectrum-cjk-font-family-stack);--spectrum-detail-margin-start:calc(var(--mod-detail-font-size,var(--spectrum-detail-font-size))*var(--spectrum-detail-margin-top-multiplier));--spectrum-detail-margin-end:calc(var(--mod-detail-font-size,var(--spectrum-detail-font-size))*var(--spectrum-detail-margin-bottom-multiplier));--spectrum-detail-font-color:var(--spectrum-detail-color)}.spectrum-Detail--sizeS{--spectrum-detail-font-size:var(--spectrum-detail-size-s)}.spectrum-Detail--sizeM{--spectrum-detail-font-size:var(--spectrum-detail-size-m)}.spectrum-Detail--sizeL{--spectrum-detail-font-size:var(--spectrum-detail-size-l)}.spectrum-Detail--sizeXL{--spectrum-detail-font-size:var(--spectrum-detail-size-xl)}.spectrum-Detail{font-family:var(--mod-detail-sans-serif-font-family,var(--spectrum-detail-sans-serif-font-family));font-style:var(--mod-detail-sans-serif-font-style,var(--spectrum-detail-sans-serif-font-style));font-weight:var(--mod-detail-sans-serif-font-weight,var(--spectrum-detail-sans-serif-font-weight));font-size:var(--mod-detail-font-size,var(--spectrum-detail-font-size));color:var(--highcontrast-detail-font-color,var(--mod-detail-font-color,var(--spectrum-detail-font-color)));line-height:var(--mod-detail-line-height,var(--spectrum-detail-line-height));letter-spacing:var(--mod-detail-letter-spacing,var(--spectrum-detail-letter-spacing));text-transform:uppercase;margin-block:0}.spectrum-Detail .spectrum-Detail-strong,.spectrum-Detail strong{font-style:var(--mod-detail-sans-serif-strong-font-style,var(--spectrum-detail-sans-serif-strong-font-style));font-weight:var(--mod-detail-sans-serif-strong-font-weight,var(--spectrum-detail-sans-serif-strong-font-weight))}.spectrum-Detail .spectrum-Detail-emphasized,.spectrum-Detail em{font-style:var(--mod-detail-sans-serif-emphasized-font-style,var(--spectrum-detail-sans-serif-emphasized-font-style));font-weight:var(--mod-detail-sans-serif-emphasized-font-weight,var(--spectrum-detail-sans-serif-emphasized-font-weight))}.spectrum-Detail .spectrum-Detail-strong.spectrum-Detail-emphasized,.spectrum-Detail em strong,.spectrum-Detail strong em{font-style:var(--mod-detail-sans-serif-strong-emphasized-font-style,var(--spectrum-detail-sans-serif-strong-emphasized-font-style));font-weight:var(--mod-detail-sans-serif-strong-emphasized-font-weight,var(--spectrum-detail-sans-serif-strong-emphasized-font-weight))}.spectrum-Detail:lang(ja),.spectrum-Detail:lang(ko),.spectrum-Detail:lang(zh){font-family:var(--mod-detail-cjk-font-family,var(--spectrum-detail-cjk-font-family));font-style:var(--mod-detail-cjk-font-style,var(--spectrum-detail-cjk-font-style));font-weight:var(--mod-detail-cjk-font-weight,var(--spectrum-detail-cjk-font-weight));line-height:var(--mod-detail-cjk-line-height,var(--spectrum-detail-cjk-line-height))}.spectrum-Detail:lang(ja) .spectrum-Detail-strong,.spectrum-Detail:lang(ja) strong,.spectrum-Detail:lang(ko) .spectrum-Detail-strong,.spectrum-Detail:lang(ko) strong,.spectrum-Detail:lang(zh) .spectrum-Detail-strong,.spectrum-Detail:lang(zh) strong{font-style:var(--mod-detail-cjk-strong-font-style,var(--spectrum-detail-cjk-strong-font-style));font-weight:var(--mod-detail-cjk-strong-font-weight,var(--spectrum-detail-cjk-strong-font-weight))}.spectrum-Detail:lang(ja) .spectrum-Detail-emphasized,.spectrum-Detail:lang(ja) em,.spectrum-Detail:lang(ko) .spectrum-Detail-emphasized,.spectrum-Detail:lang(ko) em,.spectrum-Detail:lang(zh) .spectrum-Detail-emphasized,.spectrum-Detail:lang(zh) em{font-style:var(--mod-detail-cjk-emphasized-font-style,var(--spectrum-detail-cjk-emphasized-font-style));font-weight:var(--mod-detail-cjk-emphasized-font-weight,var(--spectrum-detail-cjk-emphasized-font-weight))}.spectrum-Detail:lang(ja) .spectrum-Detail-strong.spectrum-Detail-emphasized,.spectrum-Detail:lang(ja) em strong,.spectrum-Detail:lang(ja) strong em,.spectrum-Detail:lang(ko) .spectrum-Detail-strong.spectrum-Detail-emphasized,.spectrum-Detail:lang(ko) em strong,.spectrum-Detail:lang(ko) strong em,.spectrum-Detail:lang(zh) .spectrum-Detail-strong.spectrum-Detail-emphasized,.spectrum-Detail:lang(zh) em strong,.spectrum-Detail:lang(zh) strong em{font-style:var(--mod-detail-cjk-strong-emphasized-font-style,var(--spectrum-detail-cjk-strong-emphasized-font-style));font-weight:var(--mod-detail-cjk-strong-emphasized-font-weight,var(--spectrum-detail-cjk-strong-emphasized-font-weight))}.spectrum-Detail--serif{font-family:var(--mod-detail-serif-font-family,var(--spectrum-detail-serif-font-family));font-style:var(--mod-detail-serif-font-style,var(--spectrum-detail-serif-font-style));font-weight:var(--mod-detail-serif-font-weight,var(--spectrum-detail-serif-font-weight))}.spectrum-Detail--serif .spectrum-Detail-strong,.spectrum-Detail--serif strong{font-style:var(--mod-detail-serif-strong-font-style,var(--spectrum-detail-serif-strong-font-style));font-weight:var(--mod-detail-serif-strong-font-weight,var(--spectrum-detail-serif-strong-font-weight))}.spectrum-Detail--serif .spectrum-Detail-emphasized,.spectrum-Detail--serif em{font-style:var(--mod-detail-serif-emphasized-font-style,var(--spectrum-detail-serif-emphasized-font-style));font-weight:var(--mod-detail-serif-emphasized-font-weight,var(--spectrum-detail-serif-emphasized-font-weight))}.spectrum-Detail--serif .spectrum-Detail-strong.spectrum-Detail-emphasized,.spectrum-Detail--serif em strong,.spectrum-Detail--serif strong em{font-style:var(--mod-detail-serif-strong-emphasized-font-style,var(--spectrum-detail-serif-strong-emphasized-font-style));font-weight:var(--mod-detail-serif-strong-emphasized-font-weight,var(--spectrum-detail-serif-strong-emphasized-font-weight))}.spectrum-Detail--light{font-style:var(--mod-detail-sans-serif-light-font-style,var(--spectrum-detail-sans-serif-light-font-style));font-weight:var(--spectrum-detail-sans-serif-light-font-weight,var(--spectrum-detail-sans-serif-light-font-weight))}.spectrum-Detail--light .spectrum-Detail-strong,.spectrum-Detail--light strong{font-style:var(--mod-detail-sans-serif-light-strong-font-style,var(--spectrum-detail-sans-serif-light-strong-font-style));font-weight:var(--mod-detail-sans-serif-light-strong-font-weight,var(--spectrum-detail-sans-serif-light-strong-font-weight))}.spectrum-Detail--light .spectrum-Detail-emphasized,.spectrum-Detail--light em{font-style:var(--mod-detail-sans-serif-light-emphasized-font-style,var(--spectrum-detail-sans-serif-light-emphasized-font-style));font-weight:var(--mod-detail-sans-serif-light-emphasized-font-weight,var(--spectrum-detail-sans-serif-light-emphasized-font-weight))}.spectrum-Detail--light .spectrum-Detail-strong.spectrum-Body-emphasized,.spectrum-Detail--light em strong,.spectrum-Detail--light strong em{font-style:var(--mod-detail-sans-serif-light-strong-emphasized-font-style,var(--spectrum-detail-sans-serif-light-strong-emphasized-font-style));font-weight:var(--mod-detail-sans-serif-light-strong-emphasized-font-weight,var(--spectrum-detail-sans-serif-light-strong-emphasized-font-weight))}.spectrum-Detail--light:lang(ja),.spectrum-Detail--light:lang(ko),.spectrum-Detail--light:lang(zh){font-style:var(--mod-detail-cjk-light-font-style,var(--spectrum-detail-cjk-light-font-style));font-weight:var(--mod-detail-cjk-light-font-weight,var(--spectrum-detail-cjk-light-font-weight))}.spectrum-Detail--light:lang(ja) .spectrum-Detail-strong,.spectrum-Detail--light:lang(ja) strong,.spectrum-Detail--light:lang(ko) .spectrum-Detail-strong,.spectrum-Detail--light:lang(ko) strong,.spectrum-Detail--light:lang(zh) .spectrum-Detail-strong,.spectrum-Detail--light:lang(zh) strong{font-style:var(--mod-detail-cjk-light-strong-font-style,var(--spectrum-detail-cjk-light-strong-font-style));font-weight:var(--mod-detail-cjk-light-strong-font-weight,var(--spectrum-detail-cjk-light-strong-font-weight))}.spectrum-Detail--light:lang(ja) .spectrum-Detail-emphasized,.spectrum-Detail--light:lang(ja) em,.spectrum-Detail--light:lang(ko) .spectrum-Detail-emphasized,.spectrum-Detail--light:lang(ko) em,.spectrum-Detail--light:lang(zh) .spectrum-Detail-emphasized,.spectrum-Detail--light:lang(zh) em{font-style:var(--mod-detail-cjk-light-emphasized-font-style,var(--spectrum-detail-cjk-light-emphasized-font-style));font-weight:var(--mod-detail-cjk-light-emphasized-font-weight,var(--spectrum-detail-cjk-light-emphasized-font-weight))}.spectrum-Detail--light:lang(ja) .spectrum-Detail-strong.spectrum-Detail-emphasized,.spectrum-Detail--light:lang(ko) .spectrum-Detail-strong.spectrum-Detail-emphasized,.spectrum-Detail--light:lang(zh) .spectrum-Detail-strong.spectrum-Detail-emphasized{font-style:var(--mod-detail-cjk-light-strong-emphasized-font-style,var(--spectrum-detail-cjk-light-strong-emphasized-font-style));font-weight:var(--mod-detail-cjk-light-strong-emphasized-font-weight,var(--spectrum-detail-cjk-light-strong-emphasized-font-weight))}.spectrum-Detail--serif.spectrum-Detail--light{font-style:var(--mod-detail-serif-light-font-style,var(--spectrum-detail-serif-light-font-style));font-weight:var(--mod-detail-serif-light-font-weight,var(--spectrum-detail-serif-light-font-weight))}.spectrum-Detail--serif.spectrum-Detail--light .spectrum-Detail-strong,.spectrum-Detail--serif.spectrum-Detail--light strong{font-style:var(--mod-detail-serif-light-strong-font-style,var(--spectrum-detail-serif-light-strong-font-style));font-weight:var(--mod-detail-serif-light-strong-font-weight,var(--spectrum-detail-serif-light-strong-font-weight))}.spectrum-Detail--serif.spectrum-Detail--light .spectrum-Detail-emphasized,.spectrum-Detail--serif.spectrum-Detail--light em{font-style:var(--mod-detail-serif-light-emphasized-font-style,var(--spectrum-detail-serif-light-emphasized-font-style));font-weight:var(--mod-detail-serif-light-emphasized-font-weight,var(--spectrum-detail-serif-light-emphasized-font-weight))}.spectrum-Detail--serif.spectrum-Detail--light .spectrum-Detail-strong.spectrum-Body-emphasized,.spectrum-Detail--serif.spectrum-Detail--light em strong,.spectrum-Detail--serif.spectrum-Detail--light strong em{font-style:var(--mod-detail-serif-light-strong-emphasized-font-style,var(--spectrum-detail-serif-light-strong-emphasized-font-style));font-weight:var(--mod-detail-serif-light-strong-emphasized-font-weight,var(--spectrum-detail-serif-light-strong-emphasized-font-weight))}.spectrum-Typography .spectrum-Detail{margin-block-start:var(--mod-detail-margin-start,var(--spectrum-detail-margin-start));margin-block-end:var(--mod-detail-margin-end,var(--spectrum-detail-margin-end))}.spectrum-Code{--spectrum-code-font-family:var(--spectrum-code-font-family-stack);--spectrum-code-cjk-letter-spacing:var(--spectrum-cjk-letter-spacing);--spectrum-code-font-color:var(--spectrum-code-color)}.spectrum-Code--sizeXS{--spectrum-code-font-size:var(--spectrum-code-size-xs)}.spectrum-Code--sizeS{--spectrum-code-font-size:var(--spectrum-code-size-s)}.spectrum-Code--sizeM{--spectrum-code-font-size:var(--spectrum-code-size-m)}.spectrum-Code--sizeL{--spectrum-code-font-size:var(--spectrum-code-size-l)}.spectrum-Code--sizeXL{--spectrum-code-font-size:var(--spectrum-code-size-xl)}.spectrum-Code{font-family:var(--mod-code-font-family,var(--spectrum-code-font-family));font-style:var(--mod-code-font-style,var(--spectrum-code-font-style));font-weight:var(--mod-code-font-weight,var(--spectrum-code-font-weight));font-size:var(--mod-code-font-size,var(--spectrum-code-font-size));line-height:var(--mod-code-line-height,var(--spectrum-code-line-height));color:var(--highcontrast-code-font-color,var(--mod-code-font-color,var(--spectrum-code-font-color)));margin-block:0}.spectrum-Code .spectrum-Code-strong,.spectrum-Code strong{font-style:var(--mod-code-strong-font-style,var(--spectrum-code-strong-font-style));font-weight:var(--mod-code-strong-font-weight,var(--spectrum-code-strong-font-weight))}.spectrum-Code .spectrum-Code-emphasized,.spectrum-Code em{font-style:var(--mod-code-emphasized-font-style,var(--spectrum-code-emphasized-font-style));font-weight:var(--mod-code-emphasized-font-weight,var(--spectrum-code-emphasized-font-weight))}.spectrum-Code .spectrum-Code-strong.spectrum-Code-emphasized,.spectrum-Code em strong,.spectrum-Code strong em{font-style:var(--mod-code-strong-emphasized-font-style,var(--spectrum-code-strong-emphasized-font-style));font-weight:var(--mod-code-strong-emphasized-font-weight,var(--spectrum-code-strong-emphasized-font-weight))}.spectrum-Code:lang(ja),.spectrum-Code:lang(ko),.spectrum-Code:lang(zh){font-family:var(--mod-code-cjk-font-family,var(--spectrum-code-cjk-font-family));font-style:var(--mod-code-cjk-font-style,var(--spectrum-code-cjk-font-style));font-weight:var(--mod-code-cjk-font-weight,var(--spectrum-code-cjk-font-weight));line-height:var(--mod-code-cjk-line-height,var(--spectrum-code-cjk-line-height));letter-spacing:var(--mod-code-cjk-letter-spacing,var(--spectrum-code-cjk-letter-spacing))}.spectrum-Code:lang(ja) .spectrum-Code-strong,.spectrum-Code:lang(ja) strong,.spectrum-Code:lang(ko) .spectrum-Code-strong,.spectrum-Code:lang(ko) strong,.spectrum-Code:lang(zh) .spectrum-Code-strong,.spectrum-Code:lang(zh) strong{font-style:var(--mod-code-cjk-strong-font-style,var(--spectrum-code-cjk-strong-font-style));font-weight:var(--mod-code-cjk-strong-font-weight,var(--spectrum-code-cjk-strong-font-weight))}.spectrum-Code:lang(ja) .spectrum-Code-emphasized,.spectrum-Code:lang(ja) em,.spectrum-Code:lang(ko) .spectrum-Code-emphasized,.spectrum-Code:lang(ko) em,.spectrum-Code:lang(zh) .spectrum-Code-emphasized,.spectrum-Code:lang(zh) em{font-style:var(--mod-code-cjk-emphasized-font-style,var(--spectrum-code-cjk-emphasized-font-style));font-weight:var(--mod-code-cjk-emphasized-font-weight,var(--spectrum-code-cjk-emphasized-font-weight))}.spectrum-Code:lang(ja) .spectrum-Code-strong.spectrum-Code-emphasized,.spectrum-Code:lang(ja) em strong,.spectrum-Code:lang(ja) strong em,.spectrum-Code:lang(ko) .spectrum-Code-strong.spectrum-Code-emphasized,.spectrum-Code:lang(ko) em strong,.spectrum-Code:lang(ko) strong em,.spectrum-Code:lang(zh) .spectrum-Code-strong.spectrum-Code-emphasized,.spectrum-Code:lang(zh) em strong,.spectrum-Code:lang(zh) strong em{font-style:var(--mod-code-cjk-strong-emphasized-font-style,var(--spectrum-code-cjk-strong-emphasized-font-style));font-weight:var(--mod-code-cjk-strong-emphasized-font-weight,var(--spectrum-code-cjk-strong-emphasized-font-weight))}:host{display:block}#scale,#theme{width:100%;height:100%}
-        `;n.registerThemeFragment("spectrum","system",l),n.registerThemeFragment("dark","color",e);const u=t.AH`
+        `;h.registerThemeFragment("spectrum","system",b),h.registerThemeFragment("dark","color",n);const g=i.AH`
     :root,:host{--spectrum-global-dimension-scale-factor:1;--spectrum-global-dimension-size-0:0px;--spectrum-global-dimension-size-10:1px;--spectrum-global-dimension-size-25:2px;--spectrum-global-dimension-size-30:2px;--spectrum-global-dimension-size-40:3px;--spectrum-global-dimension-size-50:4px;--spectrum-global-dimension-size-65:5px;--spectrum-global-dimension-size-75:6px;--spectrum-global-dimension-size-85:7px;--spectrum-global-dimension-size-100:8px;--spectrum-global-dimension-size-115:9px;--spectrum-global-dimension-size-125:10px;--spectrum-global-dimension-size-130:11px;--spectrum-global-dimension-size-150:12px;--spectrum-global-dimension-size-160:13px;--spectrum-global-dimension-size-175:14px;--spectrum-global-dimension-size-185:15px;--spectrum-global-dimension-size-200:16px;--spectrum-global-dimension-size-225:18px;--spectrum-global-dimension-size-250:20px;--spectrum-global-dimension-size-275:22px;--spectrum-global-dimension-size-300:24px;--spectrum-global-dimension-size-325:26px;--spectrum-global-dimension-size-350:28px;--spectrum-global-dimension-size-400:32px;--spectrum-global-dimension-size-450:36px;--spectrum-global-dimension-size-500:40px;--spectrum-global-dimension-size-550:44px;--spectrum-global-dimension-size-600:48px;--spectrum-global-dimension-size-650:52px;--spectrum-global-dimension-size-675:54px;--spectrum-global-dimension-size-700:56px;--spectrum-global-dimension-size-750:60px;--spectrum-global-dimension-size-800:64px;--spectrum-global-dimension-size-900:72px;--spectrum-global-dimension-size-1000:80px;--spectrum-global-dimension-size-1125:90px;--spectrum-global-dimension-size-1200:96px;--spectrum-global-dimension-size-1250:100px;--spectrum-global-dimension-size-1600:128px;--spectrum-global-dimension-size-1700:136px;--spectrum-global-dimension-size-1800:144px;--spectrum-global-dimension-size-2000:160px;--spectrum-global-dimension-size-2400:192px;--spectrum-global-dimension-size-2500:200px;--spectrum-global-dimension-size-3000:240px;--spectrum-global-dimension-size-3400:272px;--spectrum-global-dimension-size-3600:288px;--spectrum-global-dimension-size-4600:368px;--spectrum-global-dimension-size-5000:400px;--spectrum-global-dimension-size-6000:480px;--spectrum-global-dimension-font-size-25:10px;--spectrum-global-dimension-font-size-50:11px;--spectrum-global-dimension-font-size-75:12px;--spectrum-global-dimension-font-size-100:14px;--spectrum-global-dimension-font-size-150:15px;--spectrum-global-dimension-font-size-200:16px;--spectrum-global-dimension-font-size-300:18px;--spectrum-global-dimension-font-size-400:20px;--spectrum-global-dimension-font-size-500:22px;--spectrum-global-dimension-font-size-600:25px;--spectrum-global-dimension-font-size-700:28px;--spectrum-global-dimension-font-size-800:32px;--spectrum-global-dimension-font-size-900:36px;--spectrum-global-dimension-font-size-1000:40px;--spectrum-global-dimension-font-size-1100:45px;--spectrum-global-dimension-font-size-1200:50px;--spectrum-global-dimension-font-size-1300:60px;--spectrum-alias-item-text-padding-top-l:var(--spectrum-global-dimension-size-115);--spectrum-alias-item-text-padding-bottom-s:var(--spectrum-global-dimension-static-size-65);--spectrum-alias-item-workflow-padding-left-m:var(--spectrum-global-dimension-size-125);--spectrum-alias-item-rounded-workflow-padding-left-m:var(--spectrum-global-dimension-size-175);--spectrum-alias-item-rounded-workflow-padding-left-xl:21px;--spectrum-alias-item-mark-padding-top-m:var(--spectrum-global-dimension-static-size-75);--spectrum-alias-item-mark-padding-bottom-m:var(--spectrum-global-dimension-static-size-75);--spectrum-alias-item-mark-padding-left-m:var(--spectrum-global-dimension-size-125);--spectrum-alias-item-control-1-size-l:var(--spectrum-global-dimension-size-125);--spectrum-alias-item-control-1-size-xl:var(--spectrum-global-dimension-size-125);--spectrum-alias-item-control-2-size-s:var(--spectrum-global-dimension-size-150);--spectrum-alias-item-control-3-height-s:var(--spectrum-global-dimension-size-150);--spectrum-alias-item-control-3-width-s:23px;--spectrum-alias-item-control-3-width-m:var(--spectrum-global-dimension-static-size-325);--spectrum-alias-item-control-3-width-l:29px;--spectrum-alias-item-control-3-width-xl:33px;--spectrum-alias-item-mark-size-m:var(--spectrum-global-dimension-size-250);--spectrum-alias-component-focusring-border-radius:var(--spectrum-global-dimension-static-size-65);--spectrum-alias-control-two-size-s:var(--spectrum-global-dimension-size-150);--spectrum-alias-control-three-height-s:var(--spectrum-global-dimension-size-150);--spectrum-alias-control-three-width-s:23px;--spectrum-alias-control-three-width-m:var(--spectrum-global-dimension-static-size-325);--spectrum-alias-control-three-width-l:29px;--spectrum-alias-control-three-width-xl:33px;--spectrum-alias-focus-ring-border-radius-regular:var(--spectrum-global-dimension-static-size-100);--spectrum-alias-focus-ring-radius-default:var(--spectrum-global-dimension-static-size-100);--spectrum-alias-workflow-icon-size-l:var(--spectrum-global-dimension-static-size-250);--spectrum-alias-ui-icon-chevron-size-75:var(--spectrum-global-dimension-static-size-125);--spectrum-alias-ui-icon-chevron-size-100:var(--spectrum-global-dimension-static-size-125);--spectrum-alias-ui-icon-chevron-size-200:var(--spectrum-global-dimension-static-size-150);--spectrum-alias-ui-icon-chevron-size-300:var(--spectrum-global-dimension-static-size-175);--spectrum-alias-ui-icon-chevron-size-400:var(--spectrum-global-dimension-static-size-200);--spectrum-alias-ui-icon-chevron-size-500:var(--spectrum-global-dimension-static-size-200);--spectrum-alias-ui-icon-checkmark-size-50:var(--spectrum-global-dimension-static-size-125);--spectrum-alias-ui-icon-checkmark-size-75:var(--spectrum-global-dimension-static-size-125);--spectrum-alias-ui-icon-checkmark-size-100:var(--spectrum-global-dimension-static-size-125);--spectrum-alias-ui-icon-checkmark-size-200:var(--spectrum-global-dimension-static-size-150);--spectrum-alias-ui-icon-checkmark-size-300:var(--spectrum-global-dimension-static-size-175);--spectrum-alias-ui-icon-checkmark-size-400:var(--spectrum-global-dimension-static-size-200);--spectrum-alias-ui-icon-checkmark-size-500:var(--spectrum-global-dimension-static-size-200);--spectrum-alias-ui-icon-checkmark-size-600:var(--spectrum-global-dimension-static-size-225);--spectrum-alias-ui-icon-dash-size-50:var(--spectrum-global-dimension-static-size-100);--spectrum-alias-ui-icon-dash-size-75:var(--spectrum-global-dimension-static-size-100);--spectrum-alias-ui-icon-dash-size-100:var(--spectrum-global-dimension-static-size-125);--spectrum-alias-ui-icon-dash-size-200:var(--spectrum-global-dimension-static-size-150);--spectrum-alias-ui-icon-dash-size-300:var(--spectrum-global-dimension-static-size-150);--spectrum-alias-ui-icon-dash-size-400:var(--spectrum-global-dimension-static-size-175);--spectrum-alias-ui-icon-dash-size-500:var(--spectrum-global-dimension-static-size-200);--spectrum-alias-ui-icon-dash-size-600:var(--spectrum-global-dimension-static-size-225);--spectrum-alias-ui-icon-cross-size-75:var(--spectrum-global-dimension-static-size-100);--spectrum-alias-ui-icon-cross-size-100:var(--spectrum-global-dimension-static-size-100);--spectrum-alias-ui-icon-cross-size-200:var(--spectrum-global-dimension-static-size-125);--spectrum-alias-ui-icon-cross-size-300:var(--spectrum-global-dimension-static-size-150);--spectrum-alias-ui-icon-cross-size-400:var(--spectrum-global-dimension-static-size-150);--spectrum-alias-ui-icon-cross-size-500:var(--spectrum-global-dimension-static-size-175);--spectrum-alias-ui-icon-cross-size-600:var(--spectrum-global-dimension-static-size-200);--spectrum-alias-ui-icon-arrow-size-75:var(--spectrum-global-dimension-static-size-125);--spectrum-alias-ui-icon-arrow-size-100:var(--spectrum-global-dimension-static-size-125);--spectrum-alias-ui-icon-arrow-size-200:var(--spectrum-global-dimension-static-size-150);--spectrum-alias-ui-icon-arrow-size-300:var(--spectrum-global-dimension-static-size-175);--spectrum-alias-ui-icon-arrow-size-400:var(--spectrum-global-dimension-static-size-200);--spectrum-alias-ui-icon-arrow-size-500:var(--spectrum-global-dimension-static-size-225);--spectrum-alias-ui-icon-arrow-size-600:var(--spectrum-global-dimension-static-size-250);--spectrum-alias-ui-icon-triplegripper-size-100-width:var(--spectrum-global-dimension-static-size-125);--spectrum-alias-ui-icon-doublegripper-size-100-height:var(--spectrum-global-dimension-static-size-50);--spectrum-alias-ui-icon-singlegripper-size-100-height:var(--spectrum-global-dimension-static-size-25);--spectrum-alias-ui-icon-cornertriangle-size-100:var(--spectrum-global-dimension-static-size-65);--spectrum-alias-ui-icon-cornertriangle-size-300:var(--spectrum-global-dimension-static-size-85);--spectrum-alias-ui-icon-asterisk-size-200:var(--spectrum-global-dimension-static-size-125);--spectrum-alias-ui-icon-asterisk-size-300:var(--spectrum-global-dimension-static-size-125);--spectrum-dialog-confirm-title-text-size:var(--spectrum-alias-heading-s-text-size);--spectrum-dialog-confirm-description-text-size:var(--spectrum-global-dimension-font-size-100)}:host,:root{--spectrum-global-alias-appframe-border-size:2px;--swc-scale-factor:1;--spectrum-workflow-icon-size-50:14px;--spectrum-workflow-icon-size-75:16px;--spectrum-workflow-icon-size-100:18px;--spectrum-workflow-icon-size-200:20px;--spectrum-workflow-icon-size-300:22px;--spectrum-arrow-icon-size-75:10px;--spectrum-arrow-icon-size-100:10px;--spectrum-arrow-icon-size-200:12px;--spectrum-arrow-icon-size-300:14px;--spectrum-arrow-icon-size-400:16px;--spectrum-arrow-icon-size-500:18px;--spectrum-arrow-icon-size-600:20px;--spectrum-asterisk-icon-size-100:8px;--spectrum-asterisk-icon-size-200:10px;--spectrum-asterisk-icon-size-300:10px;--spectrum-checkmark-icon-size-50:10px;--spectrum-checkmark-icon-size-75:10px;--spectrum-checkmark-icon-size-100:10px;--spectrum-checkmark-icon-size-200:12px;--spectrum-checkmark-icon-size-300:14px;--spectrum-checkmark-icon-size-400:16px;--spectrum-checkmark-icon-size-500:16px;--spectrum-checkmark-icon-size-600:18px;--spectrum-chevron-icon-size-50:6px;--spectrum-chevron-icon-size-75:10px;--spectrum-chevron-icon-size-100:10px;--spectrum-chevron-icon-size-200:12px;--spectrum-chevron-icon-size-300:14px;--spectrum-chevron-icon-size-400:16px;--spectrum-chevron-icon-size-500:16px;--spectrum-chevron-icon-size-600:18px;--spectrum-corner-triangle-icon-size-75:5px;--spectrum-corner-triangle-icon-size-100:5px;--spectrum-corner-triangle-icon-size-200:6px;--spectrum-corner-triangle-icon-size-300:7px;--spectrum-cross-icon-size-75:8px;--spectrum-cross-icon-size-100:8px;--spectrum-cross-icon-size-200:10px;--spectrum-cross-icon-size-300:12px;--spectrum-cross-icon-size-400:12px;--spectrum-cross-icon-size-500:14px;--spectrum-cross-icon-size-600:16px;--spectrum-dash-icon-size-50:8px;--spectrum-dash-icon-size-75:8px;--spectrum-dash-icon-size-100:10px;--spectrum-dash-icon-size-200:12px;--spectrum-dash-icon-size-300:12px;--spectrum-dash-icon-size-400:14px;--spectrum-dash-icon-size-500:16px;--spectrum-dash-icon-size-600:18px;--spectrum-field-label-text-to-asterisk-small:4px;--spectrum-field-label-text-to-asterisk-medium:4px;--spectrum-field-label-text-to-asterisk-large:5px;--spectrum-field-label-text-to-asterisk-extra-large:5px;--spectrum-field-label-top-to-asterisk-small:8px;--spectrum-field-label-top-to-asterisk-medium:12px;--spectrum-field-label-top-to-asterisk-large:15px;--spectrum-field-label-top-to-asterisk-extra-large:19px;--spectrum-field-label-top-margin-medium:4px;--spectrum-field-label-top-margin-large:5px;--spectrum-field-label-top-margin-extra-large:5px;--spectrum-field-label-to-component-quiet-small:-8px;--spectrum-field-label-to-component-quiet-medium:-8px;--spectrum-field-label-to-component-quiet-large:-12px;--spectrum-field-label-to-component-quiet-extra-large:-15px;--spectrum-help-text-top-to-workflow-icon-small:4px;--spectrum-help-text-top-to-workflow-icon-medium:3px;--spectrum-help-text-top-to-workflow-icon-large:6px;--spectrum-help-text-top-to-workflow-icon-extra-large:9px;--spectrum-status-light-dot-size-medium:8px;--spectrum-status-light-dot-size-large:10px;--spectrum-status-light-dot-size-extra-large:10px;--spectrum-status-light-top-to-dot-small:8px;--spectrum-status-light-top-to-dot-medium:12px;--spectrum-status-light-top-to-dot-large:15px;--spectrum-status-light-top-to-dot-extra-large:19px;--spectrum-action-button-edge-to-hold-icon-medium:4px;--spectrum-action-button-edge-to-hold-icon-large:5px;--spectrum-action-button-edge-to-hold-icon-extra-large:6px;--spectrum-tooltip-tip-width:8px;--spectrum-tooltip-tip-height:4px;--spectrum-tooltip-maximum-width:160px;--spectrum-progress-circle-size-small:16px;--spectrum-progress-circle-size-medium:32px;--spectrum-progress-circle-size-large:64px;--spectrum-progress-circle-thickness-small:2px;--spectrum-progress-circle-thickness-medium:3px;--spectrum-progress-circle-thickness-large:4px;--spectrum-toast-height:48px;--spectrum-toast-maximum-width:336px;--spectrum-toast-top-to-workflow-icon:15px;--spectrum-toast-top-to-text:14px;--spectrum-toast-bottom-to-text:17px;--spectrum-action-bar-height:48px;--spectrum-action-bar-top-to-item-counter:14px;--spectrum-swatch-size-extra-small:16px;--spectrum-swatch-size-small:24px;--spectrum-swatch-size-medium:32px;--spectrum-swatch-size-large:40px;--spectrum-progress-bar-thickness-small:4px;--spectrum-progress-bar-thickness-medium:6px;--spectrum-progress-bar-thickness-large:8px;--spectrum-progress-bar-thickness-extra-large:10px;--spectrum-meter-width:192px;--spectrum-meter-thickness-small:4px;--spectrum-meter-thickness-large:6px;--spectrum-tag-top-to-avatar-small:4px;--spectrum-tag-top-to-avatar-medium:6px;--spectrum-tag-top-to-avatar-large:9px;--spectrum-tag-top-to-cross-icon-small:8px;--spectrum-tag-top-to-cross-icon-medium:12px;--spectrum-tag-top-to-cross-icon-large:15px;--spectrum-popover-top-to-content-area:4px;--spectrum-menu-item-edge-to-content-not-selected-small:28px;--spectrum-menu-item-edge-to-content-not-selected-medium:32px;--spectrum-menu-item-edge-to-content-not-selected-large:38px;--spectrum-menu-item-edge-to-content-not-selected-extra-large:45px;--spectrum-menu-item-top-to-disclosure-icon-small:7px;--spectrum-menu-item-top-to-disclosure-icon-medium:11px;--spectrum-menu-item-top-to-disclosure-icon-large:14px;--spectrum-menu-item-top-to-disclosure-icon-extra-large:17px;--spectrum-menu-item-top-to-selected-icon-small:7px;--spectrum-menu-item-top-to-selected-icon-medium:11px;--spectrum-menu-item-top-to-selected-icon-large:14px;--spectrum-menu-item-top-to-selected-icon-extra-large:17px;--spectrum-slider-control-to-field-label-small:5px;--spectrum-slider-control-to-field-label-medium:8px;--spectrum-slider-control-to-field-label-large:11px;--spectrum-slider-control-to-field-label-extra-large:14px;--spectrum-picker-visual-to-disclosure-icon-small:7px;--spectrum-picker-visual-to-disclosure-icon-medium:8px;--spectrum-picker-visual-to-disclosure-icon-large:9px;--spectrum-picker-visual-to-disclosure-icon-extra-large:10px;--spectrum-text-area-minimum-width:112px;--spectrum-text-area-minimum-height:56px;--spectrum-combo-box-visual-to-field-button-small:7px;--spectrum-combo-box-visual-to-field-button-medium:8px;--spectrum-combo-box-visual-to-field-button-large:9px;--spectrum-combo-box-visual-to-field-button-extra-large:10px;--spectrum-thumbnail-size-50:16px;--spectrum-thumbnail-size-75:18px;--spectrum-thumbnail-size-100:20px;--spectrum-thumbnail-size-200:22px;--spectrum-thumbnail-size-300:26px;--spectrum-thumbnail-size-400:28px;--spectrum-thumbnail-size-500:32px;--spectrum-thumbnail-size-600:36px;--spectrum-thumbnail-size-700:40px;--spectrum-thumbnail-size-800:44px;--spectrum-thumbnail-size-900:50px;--spectrum-thumbnail-size-1000:56px;--spectrum-alert-dialog-title-size:var(--spectrum-heading-size-s);--spectrum-alert-dialog-description-size:var(--spectrum-body-size-s);--spectrum-opacity-checkerboard-square-size:8px;--spectrum-contextual-help-title-size:var(--spectrum-heading-size-xs);--spectrum-contextual-help-body-size:var(--spectrum-body-size-s);--spectrum-breadcrumbs-height-multiline:72px;--spectrum-breadcrumbs-top-to-text:13px;--spectrum-breadcrumbs-top-to-text-compact:11px;--spectrum-breadcrumbs-top-to-text-multiline:12px;--spectrum-breadcrumbs-bottom-to-text:15px;--spectrum-breadcrumbs-bottom-to-text-compact:12px;--spectrum-breadcrumbs-bottom-to-text-multiline:9px;--spectrum-breadcrumbs-start-edge-to-text:8px;--spectrum-breadcrumbs-top-text-to-bottom-text:9px;--spectrum-breadcrumbs-top-to-separator-icon:19px;--spectrum-breadcrumbs-top-to-separator-icon-compact:15px;--spectrum-breadcrumbs-top-to-separator-icon-multiline:15px;--spectrum-breadcrumbs-separator-icon-to-bottom-text-multiline:11px;--spectrum-breadcrumbs-top-to-truncated-menu:8px;--spectrum-breadcrumbs-top-to-truncated-menu-compact:4px;--spectrum-avatar-size-50:16px;--spectrum-avatar-size-75:18px;--spectrum-avatar-size-100:20px;--spectrum-avatar-size-200:22px;--spectrum-avatar-size-300:26px;--spectrum-avatar-size-400:28px;--spectrum-avatar-size-500:32px;--spectrum-avatar-size-600:36px;--spectrum-avatar-size-700:40px;--spectrum-alert-banner-minimum-height:48px;--spectrum-alert-banner-width:832px;--spectrum-alert-banner-top-to-workflow-icon:15px;--spectrum-alert-banner-top-to-text:14px;--spectrum-alert-banner-bottom-to-text:17px;--spectrum-rating-indicator-width:18px;--spectrum-rating-indicator-to-icon:4px;--spectrum-color-area-width:192px;--spectrum-color-area-minimum-width:64px;--spectrum-color-area-height:192px;--spectrum-color-area-minimum-height:64px;--spectrum-color-wheel-width:192px;--spectrum-color-wheel-minimum-width:175px;--spectrum-color-slider-length:192px;--spectrum-color-slider-minimum-length:80px;--spectrum-illustrated-message-title-size:var(--spectrum-heading-size-m);--spectrum-illustrated-message-cjk-title-size:var(--spectrum-heading-cjk-size-m);--spectrum-illustrated-message-body-size:var(--spectrum-body-size-s);--spectrum-coach-mark-width:296px;--spectrum-coach-mark-minimum-width:296px;--spectrum-coach-mark-maximum-width:380px;--spectrum-coach-mark-edge-to-content:var(--spectrum-spacing-400);--spectrum-coach-mark-pagination-text-to-bottom-edge:33px;--spectrum-coach-mark-media-height:222px;--spectrum-coach-mark-media-minimum-height:166px;--spectrum-coach-mark-title-size:var(--spectrum-heading-size-xs);--spectrum-coach-mark-body-size:var(--spectrum-body-size-s);--spectrum-coach-mark-pagination-body-size:var(--spectrum-body-size-s);--spectrum-accordion-top-to-text-regular-small:5px;--spectrum-accordion-small-top-to-text-spacious:9px;--spectrum-accordion-top-to-text-regular-medium:8px;--spectrum-accordion-top-to-text-spacious-medium:12px;--spectrum-accordion-top-to-text-compact-large:4px;--spectrum-accordion-top-to-text-regular-large:9px;--spectrum-accordion-top-to-text-spacious-large:12px;--spectrum-accordion-top-to-text-compact-extra-large:5px;--spectrum-accordion-top-to-text-regular-extra-large:9px;--spectrum-accordion-top-to-text-spacious-extra-large:13px;--spectrum-accordion-bottom-to-text-compact-small:2px;--spectrum-accordion-bottom-to-text-regular-small:7px;--spectrum-accordion-bottom-to-text-spacious-small:11px;--spectrum-accordion-bottom-to-text-compact-medium:5px;--spectrum-accordion-bottom-to-text-regular-medium:9px;--spectrum-accordion-bottom-to-text-spacious-medium:13px;--spectrum-accordion-bottom-to-text-compact-large:8px;--spectrum-accordion-bottom-to-text-regular-large:11px;--spectrum-accordion-bottom-to-text-spacious-large:16px;--spectrum-accordion-bottom-to-text-compact-extra-large:8px;--spectrum-accordion-bottom-to-text-regular-extra-large:12px;--spectrum-accordion-bottom-to-text-spacious-extra-large:16px;--spectrum-accordion-minimum-width:200px;--spectrum-accordion-content-area-top-to-content:8px;--spectrum-accordion-content-area-bottom-to-content:16px;--spectrum-color-handle-size:16px;--spectrum-color-handle-size-key-focus:32px;--spectrum-table-column-header-row-top-to-text-small:8px;--spectrum-table-column-header-row-top-to-text-medium:7px;--spectrum-table-column-header-row-top-to-text-large:10px;--spectrum-table-column-header-row-top-to-text-extra-large:13px;--spectrum-table-column-header-row-bottom-to-text-small:9px;--spectrum-table-column-header-row-bottom-to-text-medium:8px;--spectrum-table-column-header-row-bottom-to-text-large:10px;--spectrum-table-column-header-row-bottom-to-text-extra-large:13px;--spectrum-table-row-height-small-regular:32px;--spectrum-table-row-height-medium-regular:40px;--spectrum-table-row-height-large-regular:48px;--spectrum-table-row-height-extra-large-regular:56px;--spectrum-table-row-height-small-spacious:40px;--spectrum-table-row-height-medium-spacious:48px;--spectrum-table-row-height-large-spacious:56px;--spectrum-table-row-height-extra-large-spacious:64px;--spectrum-table-row-top-to-text-small-regular:8px;--spectrum-table-row-top-to-text-medium-regular:11px;--spectrum-table-row-top-to-text-large-regular:14px;--spectrum-table-row-top-to-text-extra-large-regular:17px;--spectrum-table-row-bottom-to-text-small-regular:9px;--spectrum-table-row-bottom-to-text-medium-regular:12px;--spectrum-table-row-bottom-to-text-large-regular:14px;--spectrum-table-row-bottom-to-text-extra-large-regular:17px;--spectrum-table-row-top-to-text-small-spacious:12px;--spectrum-table-row-top-to-text-medium-spacious:15px;--spectrum-table-row-top-to-text-large-spacious:18px;--spectrum-table-row-top-to-text-extra-large-spacious:21px;--spectrum-table-row-bottom-to-text-small-spacious:13px;--spectrum-table-row-bottom-to-text-medium-spacious:16px;--spectrum-table-row-bottom-to-text-large-spacious:18px;--spectrum-table-row-bottom-to-text-extra-large-spacious:21px;--spectrum-table-checkbox-to-text:24px;--spectrum-table-header-row-checkbox-to-top-small:10px;--spectrum-table-header-row-checkbox-to-top-medium:9px;--spectrum-table-header-row-checkbox-to-top-large:12px;--spectrum-table-header-row-checkbox-to-top-extra-large:15px;--spectrum-table-row-checkbox-to-top-small-compact:6px;--spectrum-table-row-checkbox-to-top-small-regular:10px;--spectrum-table-row-checkbox-to-top-small-spacious:14px;--spectrum-table-row-checkbox-to-top-medium-compact:9px;--spectrum-table-row-checkbox-to-top-medium-regular:13px;--spectrum-table-row-checkbox-to-top-medium-spacious:17px;--spectrum-table-row-checkbox-to-top-large-compact:12px;--spectrum-table-row-checkbox-to-top-large-regular:16px;--spectrum-table-row-checkbox-to-top-large-spacious:20px;--spectrum-table-row-checkbox-to-top-extra-large-compact:15px;--spectrum-table-row-checkbox-to-top-extra-large-regular:19px;--spectrum-table-row-checkbox-to-top-extra-large-spacious:23px;--spectrum-table-section-header-row-height-small:24px;--spectrum-table-section-header-row-height-medium:32px;--spectrum-table-section-header-row-height-large:40px;--spectrum-table-section-header-row-height-extra-large:48px;--spectrum-table-thumbnail-to-top-minimum-small-compact:4px;--spectrum-table-thumbnail-to-top-minimum-medium-compact:5px;--spectrum-table-thumbnail-to-top-minimum-large-compact:7px;--spectrum-table-thumbnail-to-top-minimum-extra-large-compact:8px;--spectrum-table-thumbnail-to-top-minimum-small-regular:5px;--spectrum-table-thumbnail-to-top-minimum-medium-regular:7px;--spectrum-table-thumbnail-to-top-minimum-large-regular:8px;--spectrum-table-thumbnail-to-top-minimum-extra-large-regular:8px;--spectrum-table-thumbnail-to-top-minimum-small-spacious:7px;--spectrum-table-thumbnail-to-top-minimum-medium-spacious:8px;--spectrum-table-thumbnail-to-top-minimum-large-spacious:8px;--spectrum-table-thumbnail-to-top-minimum-extra-large-spacious:10px;--spectrum-tab-item-to-tab-item-horizontal-small:21px;--spectrum-tab-item-to-tab-item-horizontal-medium:24px;--spectrum-tab-item-to-tab-item-horizontal-large:27px;--spectrum-tab-item-to-tab-item-horizontal-extra-large:30px;--spectrum-tab-item-to-tab-item-vertical-small:4px;--spectrum-tab-item-to-tab-item-vertical-medium:4px;--spectrum-tab-item-to-tab-item-vertical-large:5px;--spectrum-tab-item-to-tab-item-vertical-extra-large:5px;--spectrum-tab-item-start-to-edge-small:12px;--spectrum-tab-item-start-to-edge-medium:12px;--spectrum-tab-item-start-to-edge-large:13px;--spectrum-tab-item-start-to-edge-extra-large:13px;--spectrum-tab-item-top-to-text-small:11px;--spectrum-tab-item-bottom-to-text-small:12px;--spectrum-tab-item-top-to-text-medium:14px;--spectrum-tab-item-bottom-to-text-medium:14px;--spectrum-tab-item-top-to-text-large:16px;--spectrum-tab-item-bottom-to-text-large:18px;--spectrum-tab-item-top-to-text-extra-large:19px;--spectrum-tab-item-bottom-to-text-extra-large:20px;--spectrum-tab-item-top-to-text-compact-small:4px;--spectrum-tab-item-bottom-to-text-compact-small:5px;--spectrum-tab-item-top-to-text-compact-medium:6px;--spectrum-tab-item-bottom-to-text-compact-medium:8px;--spectrum-tab-item-top-to-text-compact-large:10px;--spectrum-tab-item-bottom-to-text-compact-large:12px;--spectrum-tab-item-top-to-text-compact-extra-large:12px;--spectrum-tab-item-bottom-to-text-compact-extra-large:13px;--spectrum-tab-item-top-to-workflow-icon-small:13px;--spectrum-tab-item-top-to-workflow-icon-medium:15px;--spectrum-tab-item-top-to-workflow-icon-large:17px;--spectrum-tab-item-top-to-workflow-icon-extra-large:19px;--spectrum-tab-item-top-to-workflow-icon-compact-small:3px;--spectrum-tab-item-top-to-workflow-icon-compact-medium:7px;--spectrum-tab-item-top-to-workflow-icon-compact-large:9px;--spectrum-tab-item-top-to-workflow-icon-compact-extra-large:11px;--spectrum-tab-item-focus-indicator-gap-small:7px;--spectrum-tab-item-focus-indicator-gap-medium:8px;--spectrum-tab-item-focus-indicator-gap-large:9px;--spectrum-tab-item-focus-indicator-gap-extra-large:10px;--spectrum-side-navigation-width:192px;--spectrum-side-navigation-minimum-width:160px;--spectrum-side-navigation-maximum-width:240px;--spectrum-side-navigation-second-level-edge-to-text:24px;--spectrum-side-navigation-third-level-edge-to-text:36px;--spectrum-side-navigation-with-icon-second-level-edge-to-text:50px;--spectrum-side-navigation-with-icon-third-level-edge-to-text:62px;--spectrum-side-navigation-item-to-item:4px;--spectrum-side-navigation-item-to-header:24px;--spectrum-side-navigation-header-to-item:8px;--spectrum-side-navigation-bottom-to-text:8px;--spectrum-tray-top-to-content-area:4px;--spectrum-text-to-visual-50:6px;--spectrum-text-to-visual-75:7px;--spectrum-text-to-visual-100:8px;--spectrum-text-to-visual-200:9px;--spectrum-text-to-visual-300:10px;--spectrum-text-to-control-75:9px;--spectrum-text-to-control-100:10px;--spectrum-text-to-control-200:11px;--spectrum-text-to-control-300:13px;--spectrum-component-height-50:20px;--spectrum-component-height-75:24px;--spectrum-component-height-100:32px;--spectrum-component-height-200:40px;--spectrum-component-height-300:48px;--spectrum-component-height-400:56px;--spectrum-component-height-500:64px;--spectrum-component-pill-edge-to-visual-75:10px;--spectrum-component-pill-edge-to-visual-100:14px;--spectrum-component-pill-edge-to-visual-200:18px;--spectrum-component-pill-edge-to-visual-300:21px;--spectrum-component-pill-edge-to-visual-only-75:4px;--spectrum-component-pill-edge-to-visual-only-100:7px;--spectrum-component-pill-edge-to-visual-only-200:10px;--spectrum-component-pill-edge-to-visual-only-300:13px;--spectrum-component-pill-edge-to-text-75:12px;--spectrum-component-pill-edge-to-text-100:16px;--spectrum-component-pill-edge-to-text-200:20px;--spectrum-component-pill-edge-to-text-300:24px;--spectrum-component-edge-to-visual-50:6px;--spectrum-component-edge-to-visual-75:7px;--spectrum-component-edge-to-visual-100:10px;--spectrum-component-edge-to-visual-200:13px;--spectrum-component-edge-to-visual-300:15px;--spectrum-component-edge-to-visual-only-50:3px;--spectrum-component-edge-to-visual-only-75:4px;--spectrum-component-edge-to-visual-only-100:7px;--spectrum-component-edge-to-visual-only-200:10px;--spectrum-component-edge-to-visual-only-300:13px;--spectrum-component-edge-to-text-50:8px;--spectrum-component-edge-to-text-75:9px;--spectrum-component-edge-to-text-100:12px;--spectrum-component-edge-to-text-200:15px;--spectrum-component-edge-to-text-300:18px;--spectrum-component-top-to-workflow-icon-50:3px;--spectrum-component-top-to-workflow-icon-75:4px;--spectrum-component-top-to-workflow-icon-100:7px;--spectrum-component-top-to-workflow-icon-200:10px;--spectrum-component-top-to-workflow-icon-300:13px;--spectrum-component-top-to-text-50:3px;--spectrum-component-top-to-text-75:4px;--spectrum-component-top-to-text-100:6px;--spectrum-component-top-to-text-200:9px;--spectrum-component-top-to-text-300:12px;--spectrum-component-bottom-to-text-50:3px;--spectrum-component-bottom-to-text-75:5px;--spectrum-component-bottom-to-text-100:9px;--spectrum-component-bottom-to-text-200:11px;--spectrum-component-bottom-to-text-300:14px;--spectrum-component-to-menu-small:6px;--spectrum-component-to-menu-medium:6px;--spectrum-component-to-menu-large:7px;--spectrum-component-to-menu-extra-large:8px;--spectrum-field-edge-to-disclosure-icon-75:7px;--spectrum-field-edge-to-disclosure-icon-100:11px;--spectrum-field-edge-to-disclosure-icon-200:14px;--spectrum-field-edge-to-disclosure-icon-300:17px;--spectrum-field-end-edge-to-disclosure-icon-75:7px;--spectrum-field-end-edge-to-disclosure-icon-100:11px;--spectrum-field-end-edge-to-disclosure-icon-200:14px;--spectrum-field-end-edge-to-disclosure-icon-300:17px;--spectrum-field-top-to-disclosure-icon-75:7px;--spectrum-field-top-to-disclosure-icon-100:11px;--spectrum-field-top-to-disclosure-icon-200:14px;--spectrum-field-top-to-disclosure-icon-300:17px;--spectrum-field-top-to-alert-icon-small:4px;--spectrum-field-top-to-alert-icon-medium:7px;--spectrum-field-top-to-alert-icon-large:10px;--spectrum-field-top-to-alert-icon-extra-large:13px;--spectrum-field-top-to-validation-icon-small:7px;--spectrum-field-top-to-validation-icon-medium:11px;--spectrum-field-top-to-validation-icon-large:14px;--spectrum-field-top-to-validation-icon-extra-large:17px;--spectrum-field-top-to-progress-circle-small:4px;--spectrum-field-top-to-progress-circle-medium:8px;--spectrum-field-top-to-progress-circle-large:12px;--spectrum-field-top-to-progress-circle-extra-large:16px;--spectrum-field-edge-to-alert-icon-small:9px;--spectrum-field-edge-to-alert-icon-medium:12px;--spectrum-field-edge-to-alert-icon-large:15px;--spectrum-field-edge-to-alert-icon-extra-large:18px;--spectrum-field-edge-to-validation-icon-small:9px;--spectrum-field-edge-to-validation-icon-medium:12px;--spectrum-field-edge-to-validation-icon-large:15px;--spectrum-field-edge-to-validation-icon-extra-large:18px;--spectrum-field-text-to-alert-icon-small:8px;--spectrum-field-text-to-alert-icon-medium:12px;--spectrum-field-text-to-alert-icon-large:15px;--spectrum-field-text-to-alert-icon-extra-large:18px;--spectrum-field-text-to-validation-icon-small:8px;--spectrum-field-text-to-validation-icon-medium:12px;--spectrum-field-text-to-validation-icon-large:15px;--spectrum-field-text-to-validation-icon-extra-large:18px;--spectrum-field-width:192px;--spectrum-character-count-to-field-quiet-small:-3px;--spectrum-character-count-to-field-quiet-medium:-3px;--spectrum-character-count-to-field-quiet-large:-3px;--spectrum-character-count-to-field-quiet-extra-large:-4px;--spectrum-side-label-character-count-to-field:12px;--spectrum-side-label-character-count-top-margin-small:4px;--spectrum-side-label-character-count-top-margin-medium:8px;--spectrum-side-label-character-count-top-margin-large:11px;--spectrum-side-label-character-count-top-margin-extra-large:14px;--spectrum-disclosure-indicator-top-to-disclosure-icon-small:7px;--spectrum-disclosure-indicator-top-to-disclosure-icon-medium:11px;--spectrum-disclosure-indicator-top-to-disclosure-icon-large:14px;--spectrum-disclosure-indicator-top-to-disclosure-icon-extra-large:17px;--spectrum-navigational-indicator-top-to-back-icon-small:6px;--spectrum-navigational-indicator-top-to-back-icon-medium:9px;--spectrum-navigational-indicator-top-to-back-icon-large:12px;--spectrum-navigational-indicator-top-to-back-icon-extra-large:15px;--spectrum-color-control-track-width:24px;--spectrum-font-size-50:11px;--spectrum-font-size-75:12px;--spectrum-font-size-100:14px;--spectrum-font-size-200:16px;--spectrum-font-size-300:18px;--spectrum-font-size-400:20px;--spectrum-font-size-500:22px;--spectrum-font-size-600:25px;--spectrum-font-size-700:28px;--spectrum-font-size-800:32px;--spectrum-font-size-900:36px;--spectrum-font-size-1000:40px;--spectrum-font-size-1100:45px;--spectrum-font-size-1200:50px;--spectrum-font-size-1300:60px;--spectrum-slider-tick-mark-height:10px;--spectrum-slider-ramp-track-height:16px;--spectrum-colorwheel-path:"M 95 95 m -95 0 a 95 95 0 1 0 190 0 a 95 95 0 1 0 -190 0.2 M 95 95 m -73 0 a 73 73 0 1 0 146 0 a 73 73 0 1 0 -146 0";--spectrum-colorwheel-path-borders:"M 96 96 m -96 0 a 96 96 0 1 0 192 0 a 96 96 0 1 0 -192 0.2 M 96 96 m -72 0 a 72 72 0 1 0 144 0 a 72 72 0 1 0 -144 0";--spectrum-colorwheel-colorarea-container-size:144px;--spectrum-colorloupe-checkerboard-fill:url(#checkerboard-primary);--spectrum-menu-item-selectable-edge-to-text-not-selected-small:28px;--spectrum-menu-item-selectable-edge-to-text-not-selected-medium:32px;--spectrum-menu-item-selectable-edge-to-text-not-selected-large:38px;--spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large:45px;--spectrum-menu-item-checkmark-height-small:10px;--spectrum-menu-item-checkmark-height-medium:10px;--spectrum-menu-item-checkmark-height-large:12px;--spectrum-menu-item-checkmark-height-extra-large:14px;--spectrum-menu-item-checkmark-width-small:10px;--spectrum-menu-item-checkmark-width-medium:10px;--spectrum-menu-item-checkmark-width-large:12px;--spectrum-menu-item-checkmark-width-extra-large:14px;--spectrum-rating-icon-spacing:var(--spectrum-spacing-75);--spectrum-button-top-to-text-small:5px;--spectrum-button-bottom-to-text-small:4px;--spectrum-button-top-to-text-medium:7px;--spectrum-button-bottom-to-text-medium:8px;--spectrum-button-top-to-text-large:10px;--spectrum-button-bottom-to-text-large:10px;--spectrum-button-top-to-text-extra-large:13px;--spectrum-button-bottom-to-text-extra-large:13px;--spectrum-alert-banner-close-button-spacing:var(--spectrum-spacing-100);--spectrum-alert-banner-edge-to-divider:var(--spectrum-spacing-100);--spectrum-alert-banner-edge-to-button:var(--spectrum-spacing-100);--spectrum-alert-banner-text-to-button-vertical:var(--spectrum-spacing-100);--spectrum-alert-dialog-padding:var(--spectrum-spacing-500);--spectrum-alert-dialog-description-to-buttons:var(--spectrum-spacing-700);--spectrum-coach-indicator-gap:6px;--spectrum-coach-indicator-ring-diameter:var(--spectrum-spacing-300);--spectrum-coach-indicator-quiet-ring-diameter:var(--spectrum-spacing-100);--spectrum-coachmark-buttongroup-display:flex;--spectrum-coachmark-buttongroup-mobile-display:none;--spectrum-coachmark-menu-display:inline-flex;--spectrum-coachmark-menu-mobile-display:none;--spectrum-well-padding:var(--spectrum-spacing-300);--spectrum-well-margin-top:var(--spectrum-spacing-75);--spectrum-well-min-width:240px;--spectrum-well-border-radius:var(--spectrum-spacing-75);--spectrum-workflow-icon-size-xxl:32px;--spectrum-workflow-icon-size-xxs:12px;--spectrum-treeview-item-indentation-medium:var(--spectrum-spacing-300);--spectrum-treeview-item-indentation-small:var(--spectrum-spacing-200);--spectrum-treeview-item-indentation-large:20px;--spectrum-treeview-item-indentation-extra-large:var(--spectrum-spacing-400);--spectrum-treeview-indicator-inset-block-start:5px;--spectrum-treeview-item-min-block-size-thumbnail-offset-medium:0px;--spectrum-dialog-confirm-entry-animation-distance:20px;--spectrum-dialog-confirm-hero-height:128px;--spectrum-dialog-confirm-border-radius:4px;--spectrum-dialog-confirm-title-text-size:18px;--spectrum-dialog-confirm-description-text-size:14px;--spectrum-dialog-confirm-padding-grid:40px;--spectrum-datepicker-initial-width:128px;--spectrum-datepicker-generic-padding:var(--spectrum-spacing-200);--spectrum-datepicker-dash-line-height:24px;--spectrum-datepicker-width-quiet-first:72px;--spectrum-datepicker-width-quiet-second:16px;--spectrum-datepicker-datetime-width-first:36px;--spectrum-datepicker-invalid-icon-to-button:8px;--spectrum-datepicker-invalid-icon-to-button-quiet:7px;--spectrum-datepicker-input-datetime-width:var(--spectrum-spacing-400);--spectrum-pagination-textfield-width:var(--spectrum-spacing-700);--spectrum-pagination-item-inline-spacing:5px;--spectrum-dial-border-radius:16px;--spectrum-dial-handle-position:8px;--spectrum-dial-handle-block-margin:16px;--spectrum-dial-handle-inline-margin:16px;--spectrum-dial-controls-margin:8px;--spectrum-dial-label-gap-y:5px;--spectrum-dial-label-container-top-to-text:4px;--spectrum-assetcard-focus-ring-border-radius:8px;--spectrum-assetcard-selectionindicator-margin:12px;--spectrum-assetcard-title-font-size:var(--spectrum-heading-size-xs);--spectrum-assetcard-header-content-font-size:var(--spectrum-heading-size-xs);--spectrum-assetcard-content-font-size:var(--spectrum-body-size-s);--spectrum-tooltip-animation-distance:var(--spectrum-spacing-75);--spectrum-ui-icon-medium-display:block;--spectrum-ui-icon-large-display:none;--spectrum-checkbox-control-size-small:12px;--spectrum-checkbox-control-size-medium:14px;--spectrum-checkbox-control-size-large:16px;--spectrum-checkbox-control-size-extra-large:18px;--spectrum-checkbox-top-to-control-small:6px;--spectrum-checkbox-top-to-control-medium:9px;--spectrum-checkbox-top-to-control-large:12px;--spectrum-checkbox-top-to-control-extra-large:15px;--spectrum-switch-control-width-small:23px;--spectrum-switch-control-width-medium:26px;--spectrum-switch-control-width-large:29px;--spectrum-switch-control-width-extra-large:33px;--spectrum-switch-control-height-small:12px;--spectrum-switch-control-height-medium:14px;--spectrum-switch-control-height-large:16px;--spectrum-switch-control-height-extra-large:18px;--spectrum-switch-top-to-control-small:6px;--spectrum-switch-top-to-control-medium:9px;--spectrum-switch-top-to-control-large:12px;--spectrum-switch-top-to-control-extra-large:15px;--spectrum-radio-button-control-size-small:12px;--spectrum-radio-button-control-size-medium:14px;--spectrum-radio-button-control-size-large:16px;--spectrum-radio-button-control-size-extra-large:18px;--spectrum-radio-button-top-to-control-small:6px;--spectrum-radio-button-top-to-control-medium:9px;--spectrum-radio-button-top-to-control-large:12px;--spectrum-radio-button-top-to-control-extra-large:15px;--spectrum-slider-control-height-small:14px;--spectrum-slider-control-height-medium:16px;--spectrum-slider-control-height-large:18px;--spectrum-slider-control-height-extra-large:20px;--spectrum-slider-handle-size-small:14px;--spectrum-slider-handle-size-medium:16px;--spectrum-slider-handle-size-large:18px;--spectrum-slider-handle-size-extra-large:20px;--spectrum-slider-handle-border-width-down-small:5px;--spectrum-slider-handle-border-width-down-medium:6px;--spectrum-slider-handle-border-width-down-large:7px;--spectrum-slider-handle-border-width-down-extra-large:8px;--spectrum-slider-bottom-to-handle-small:5px;--spectrum-slider-bottom-to-handle-medium:8px;--spectrum-slider-bottom-to-handle-large:11px;--spectrum-slider-bottom-to-handle-extra-large:14px;--spectrum-corner-radius-100:4px;--spectrum-corner-radius-200:8px;--spectrum-drop-shadow-y:1px;--spectrum-drop-shadow-blur:4px}:root,:host{--spectrum-global-alias-appframe-border-size:2px;--swc-scale-factor:1}
-`;n.registerThemeFragment("medium","scale",u),customElements.define("sp-theme",n);var m=a(463),d=a(352);const p=t.AH`
+`;h.registerThemeFragment("medium","scale",g),customElements.define("sp-theme",h);var v=a(463),f=a(352);const k=i.AH`
     :host{--spectrum-icon-inline-size:var(--mod-icon-inline-size,var(--mod-icon-size,var(--spectrum-icon-size)));--spectrum-icon-block-size:var(--mod-icon-block-size,var(--mod-icon-size,var(--spectrum-icon-size)));inline-size:var(--spectrum-icon-inline-size);block-size:var(--spectrum-icon-block-size);color:var(--mod-icon-color,inherit);fill:currentColor;pointer-events:none;display:inline-block}:host(:not(:root)){overflow:hidden}@media (forced-colors:active){:host{forced-color-adjust:auto}}:host{--spectrum-icon-size:var(--spectrum-workflow-icon-size-100)}:host([size=xxs]){--spectrum-icon-size:var(--spectrum-workflow-icon-size-xxs)}:host([size=xs]){--spectrum-icon-size:var(--spectrum-workflow-icon-size-50)}:host([size=s]){--spectrum-icon-size:var(--spectrum-workflow-icon-size-75)}:host([size=l]){--spectrum-icon-size:var(--spectrum-workflow-icon-size-200)}:host([size=xl]){--spectrum-icon-size:var(--spectrum-workflow-icon-size-300)}:host([size=xxl]){--spectrum-icon-size:var(--spectrum-workflow-icon-size-xxl)}:host{--spectrum-icon-size:inherit;--spectrum-icon-inline-size:var(--mod-icon-inline-size,var(--mod-icon-size,var(--_spectrum-icon-size)));--spectrum-icon-block-size:var(--mod-icon-block-size,var(--mod-icon-size,var(--_spectrum-icon-size)));--_spectrum-icon-size:var(--spectrum-icon-size,var(--spectrum-workflow-icon-size-100))}#container{height:100%}img,svg,::slotted(*){vertical-align:top;color:inherit;width:100%;height:100%}@media (forced-colors:active){img,svg,::slotted(*){forced-color-adjust:auto}}:host([size=xxs]){--_spectrum-icon-size:var(--spectrum-icon-size,var(--spectrum-workflow-icon-size-xxs))}:host([size=xs]){--_spectrum-icon-size:var(--spectrum-icon-size,var(--spectrum-workflow-icon-size-50))}:host([size=s]){--_spectrum-icon-size:var(--spectrum-icon-size,var(--spectrum-workflow-icon-size-75))}:host([size=l]){--_spectrum-icon-size:var(--spectrum-icon-size,var(--spectrum-workflow-icon-size-200))}:host([size=xl]){--_spectrum-icon-size:var(--spectrum-icon-size,var(--spectrum-workflow-icon-size-300))}:host([size=xxl]){--_spectrum-icon-size:var(--spectrum-icon-size,var(--spectrum-workflow-icon-size-xxl))}
-`;var h=Object.defineProperty,b=Object.getOwnPropertyDescriptor,g=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?b(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&h(e,r,c),c};class v extends m.w{constructor(){super(...arguments),this.label=""}static get styles(){return[p]}update(t){t.has("label")&&(this.label?this.removeAttribute("aria-hidden"):this.setAttribute("aria-hidden","true")),super.update(t)}render(){return t.qy`
+`;var y=Object.defineProperty,x=Object.getOwnPropertyDescriptor,w=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?x(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&y(e,r,c),c};class z extends v.w{constructor(){super(...arguments),this.label=""}static get styles(){return[k]}update(t){t.has("label")&&(this.label?this.removeAttribute("aria-hidden"):this.setAttribute("aria-hidden","true")),super.update(t)}render(){return i.qy`
             <slot></slot>
-        `}}let f;g([(0,d.MZ)()],v.prototype,"label",2),g([(0,d.MZ)({reflect:!0})],v.prototype,"size",2);const k=function(t,...e){return f?f(t,...e):e.reduce(((e,r,o)=>e+r+t[o+1]),t[0])},y=t=>{f=t};var x=a(308);(0,x.e)("sp-icon-edit",class extends v{render(){return y(t.qy),(({width:t=24,height:e=24,hidden:r=!1,title:o="Edit"}={})=>k`<svg
+        `}}let C;w([(0,f.MZ)()],z.prototype,"label",2),w([(0,f.MZ)({reflect:!0})],z.prototype,"size",2);const I=function(t,...e){return C?C(t,...e):e.reduce(((e,r,o)=>e+r+t[o+1]),t[0])},S=t=>{C=t};var $=a(308);(0,$.e)("sp-icon-edit",class extends z{render(){return S(i.qy),(({width:t=24,height:e=24,hidden:r=!1,title:o="Edit"}={})=>I`<svg
     xmlns="http://www.w3.org/2000/svg"
     height=${e}
     viewBox="0 0 36 36"
@@ -50,7 +50,7 @@ governing permissions and limitations under the License.
     <path
       d="M33.567 8.2 27.8 2.432a1.215 1.215 0 0 0-.866-.353H26.9a1.371 1.371 0 0 0-.927.406L5.084 23.372a.99.99 0 0 0-.251.422L2.055 33.1c-.114.377.459.851.783.851a.251.251 0 0 0 .062-.007c.276-.063 7.866-2.344 9.311-2.778a.972.972 0 0 0 .414-.249l20.888-20.889a1.372 1.372 0 0 0 .4-.883 1.221 1.221 0 0 0-.346-.945ZM11.4 29.316c-2.161.649-4.862 1.465-6.729 2.022l2.009-6.73Z"
     />
-  </svg>`)({hidden:!this.label,title:this.label})}}),(0,x.e)("sp-icon-anchor-select",class extends v{render(){return y(t.qy),(({width:t=24,height:e=24,hidden:r=!1,title:o="Anchor Select"}={})=>k`<svg
+  </svg>`)({hidden:!this.label,title:this.label})}}),(0,$.e)("sp-icon-anchor-select",class extends z{render(){return S(i.qy),(({width:t=24,height:e=24,hidden:r=!1,title:o="Anchor Select"}={})=>I`<svg
     xmlns="http://www.w3.org/2000/svg"
     height=${e}
     viewBox="0 0 36 36"
@@ -63,7 +63,7 @@ governing permissions and limitations under the License.
     <path
       d="m10 6 18 18H18l-8 8ZM8.5 2.054a.5.5 0 0 0-.5.5v32.78a.5.5 0 0 0 .5.5.49.49 0 0 0 .35-.147L18.524 26h13a.5.5 0 0 0 .354-.854L8.854 2.2a.49.49 0 0 0-.354-.146Z"
     />
-  </svg>`)({hidden:!this.label,title:this.label})}}),(0,x.e)("sp-icon-alias",class extends v{render(){return y(t.qy),(({width:t=24,height:e=24,hidden:r=!1,title:o="Alias"}={})=>k`<svg
+  </svg>`)({hidden:!this.label,title:this.label})}}),(0,$.e)("sp-icon-alias",class extends z{render(){return S(i.qy),(({width:t=24,height:e=24,hidden:r=!1,title:o="Alias"}={})=>I`<svg
     xmlns="http://www.w3.org/2000/svg"
     height=${e}
     viewBox="0 0 36 36"
@@ -76,11 +76,11 @@ governing permissions and limitations under the License.
     <path
       d="M29.241 2H12.8a.8.8 0 0 0-.8.806.785.785 0 0 0 .236.56l3.5 3.5a57.07 57.07 0 0 0-5.442 9.691 29.236 29.236 0 0 0-2.174 8.486c-.082.853-.12 1.7-.12 2.536a29.888 29.888 0 0 0 .576 5.753.827.827 0 0 0 1.618.023l.006-.023a25.346 25.346 0 0 1 2.594-6.919 22.717 22.717 0 0 1 4.3-5.429 48.574 48.574 0 0 1 7.33-5.429l4.209 4.209a.785.785 0 0 0 .56.236.8.8 0 0 0 .807-.8V2.759A.807.807 0 0 0 29.241 2Z"
     />
-  </svg>`)({hidden:!this.label,title:this.label})}});var w=a(162),z=a(752),C=a(804);const I=(0,C.u$)(class extends C.WL{constructor(t){if(super(t),t.type!==C.OA.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(e)}const r=t.element.classList;for(const t of this.st)t in e||(r.remove(t),this.st.delete(t));for(const t in e){const o=!!e[t];o===this.st.has(t)||this.nt?.has(t)||(o?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)))}return z.c0}});var S=a(31);class ${constructor(t,{target:e,config:r,callback:o,skipInitial:s}){this.t=new Set,this.o=!1,this.i=!1,this.h=t,null!==e&&this.t.add(e??t),this.o=s??this.o,this.callback=o,window.IntersectionObserver?(this.u=new IntersectionObserver((t=>{const e=this.i;this.i=!1,this.o&&e||(this.handleChanges(t),this.h.requestUpdate())}),r),t.addController(this)):console.warn("IntersectionController error: browser does not support IntersectionObserver.")}handleChanges(t){this.value=this.callback?.(t,this.u)}hostConnected(){for(const t of this.t)this.observe(t)}hostDisconnected(){this.disconnect()}async hostUpdated(){const t=this.u.takeRecords();t.length&&this.handleChanges(t)}observe(t){this.t.add(t),this.u.observe(t),this.i=!0}unobserve(t){this.t.delete(t),this.u.unobserve(t)}disconnect(){this.u.disconnect()}}class A{constructor(t,{target:e,config:r,callback:o,skipInitial:s}){this.t=new Set,this.o=!1,this.i=!1,this.h=t,null!==e&&this.t.add(e??t),this.l=r,this.o=s??this.o,this.callback=o,window.ResizeObserver?(this.u=new ResizeObserver((t=>{this.handleChanges(t),this.h.requestUpdate()})),t.addController(this)):console.warn("ResizeController error: browser does not support ResizeObserver.")}handleChanges(t){this.value=this.callback?.(t,this.u)}hostConnected(){for(const t of this.t)this.observe(t)}hostDisconnected(){this.disconnect()}async hostUpdated(){!this.o&&this.i&&this.handleChanges([]),this.i=!1}observe(t){this.t.add(t),this.u.observe(t,this.l),this.i=!0,this.h.requestUpdate()}unobserve(t){this.t.delete(t),this.u.unobserve(t)}disconnect(){this.u.disconnect()}}let E=!0;try{document.body.querySelector(":focus-visible")}catch(h){E=!1,a.e(842).then(a.t.bind(a,461,19))}const q=t=>{var e,r;const o=Symbol("endPolyfillCoordination");class s extends(r=t,e=o,r){constructor(){super(...arguments),this[e]=null}connectedCallback(){super.connectedCallback&&super.connectedCallback(),E||requestAnimationFrame((()=>{null==this[o]&&(this[o]=(t=>{if(null==t.shadowRoot||t.hasAttribute("data-js-focus-visible"))return()=>{};if(!self.applyFocusVisiblePolyfill){const e=()=>{self.applyFocusVisiblePolyfill&&t.shadowRoot&&self.applyFocusVisiblePolyfill(t.shadowRoot),t.manageAutoFocus&&t.manageAutoFocus()};return self.addEventListener("focus-visible-polyfill-ready",e,{once:!0}),()=>{self.removeEventListener("focus-visible-polyfill-ready",e)}}return self.applyFocusVisiblePolyfill(t.shadowRoot),t.manageAutoFocus&&t.manageAutoFocus(),()=>{}})(this))}))}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback(),E||requestAnimationFrame((()=>{null!=this[o]&&(this[o](),this[o]=null)}))}}return s};var T=Object.defineProperty,j=Object.getOwnPropertyDescriptor,M=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?j(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&T(e,r,c),c};function _(){return new Promise((t=>requestAnimationFrame((()=>t()))))}class H extends(q(m.w)){constructor(){super(...arguments),this.disabled=!1,this.autofocus=!1,this._tabIndex=0,this.manipulatingTabindex=!1,this.autofocusReady=Promise.resolve()}get tabIndex(){if(this.focusElement===this){const t=this.hasAttribute("tabindex")?Number(this.getAttribute("tabindex")):NaN;return isNaN(t)?-1:t}const t=parseFloat(this.hasAttribute("tabindex")&&this.getAttribute("tabindex")||"0");return this.disabled||t<0?-1:this.focusElement?this.focusElement.tabIndex:t}set tabIndex(t){if(this.manipulatingTabindex)this.manipulatingTabindex=!1;else if(this.focusElement!==this){if(-1===t?this.addEventListener("pointerdown",this.onPointerdownManagementOfTabIndex):(this.manipulatingTabindex=!0,this.removeEventListener("pointerdown",this.onPointerdownManagementOfTabIndex)),-1===t||this.disabled)return this.setAttribute("tabindex","-1"),this.removeAttribute("focusable"),void(-1!==t&&this.manageFocusElementTabindex(t));this.setAttribute("focusable",""),this.hasAttribute("tabindex")?this.removeAttribute("tabindex"):this.manipulatingTabindex=!1,this.manageFocusElementTabindex(t)}else if(t!==this._tabIndex){this._tabIndex=t;const e=this.disabled?"-1":""+t;this.manipulatingTabindex=!0,this.setAttribute("tabindex",e)}}onPointerdownManagementOfTabIndex(){-1===this.tabIndex&&setTimeout((()=>{this.tabIndex=0,this.focus({preventScroll:!0}),this.tabIndex=-1}))}async manageFocusElementTabindex(t){this.focusElement||await this.updateComplete,null===t?this.focusElement.removeAttribute("tabindex"):this.focusElement.tabIndex=t}get focusElement(){throw new Error("Must implement focusElement getter!")}focus(t){this.disabled||!this.focusElement||(this.focusElement!==this?this.focusElement.focus(t):HTMLElement.prototype.focus.apply(this,[t]))}blur(){const t=this.focusElement||this;t!==this?t.blur():HTMLElement.prototype.blur.apply(this)}click(){if(this.disabled)return;const t=this.focusElement||this;t!==this?t.click():HTMLElement.prototype.click.apply(this)}manageAutoFocus(){this.autofocus&&(this.dispatchEvent(new KeyboardEvent("keydown",{code:"Tab"})),this.focusElement.focus())}firstUpdated(t){super.firstUpdated(t),(!this.hasAttribute("tabindex")||"-1"!==this.getAttribute("tabindex"))&&this.setAttribute("focusable","")}update(t){t.has("disabled")&&this.handleDisabledChanged(this.disabled,t.get("disabled")),super.update(t)}updated(t){super.updated(t),t.has("disabled")&&this.disabled&&this.blur()}async handleDisabledChanged(t,e){const r=()=>this.focusElement!==this&&void 0!==this.focusElement.disabled;t?(this.manipulatingTabindex=!0,this.setAttribute("tabindex","-1"),await this.updateComplete,r()?this.focusElement.disabled=!0:this.setAttribute("aria-disabled","true")):e&&(this.manipulatingTabindex=!0,this.focusElement===this?this.setAttribute("tabindex",""+this._tabIndex):this.removeAttribute("tabindex"),await this.updateComplete,r()?this.focusElement.disabled=!1:this.removeAttribute("aria-disabled"))}async getUpdateComplete(){const t=await super.getUpdateComplete();return await this.autofocusReady,t}connectedCallback(){super.connectedCallback(),this.autofocus&&(this.autofocusReady=new Promise((async t=>{await _(),await _(),t()})),this.updateComplete.then((()=>{this.manageAutoFocus()})))}}function P(t,e,r){return typeof t===e?()=>t:"function"==typeof t?t:r}M([(0,d.MZ)({type:Boolean,reflect:!0})],H.prototype,"disabled",2),M([(0,d.MZ)({type:Boolean})],H.prototype,"autofocus",2),M([(0,d.MZ)({type:Number})],H.prototype,"tabIndex",1);class D{constructor(t,{direction:e,elementEnterAction:r,elements:o,focusInIndex:s,isFocusableElement:c,listenerScope:a}={elements:()=>[]}){this._currentIndex=-1,this._direction=()=>"both",this.directionLength=5,this.elementEnterAction=t=>{},this._focused=!1,this._focusInIndex=t=>0,this.isFocusableElement=t=>!0,this._listenerScope=()=>this.host,this.offset=0,this.recentlyConnected=!1,this.handleFocusin=t=>{if(!this.isEventWithinListenerScope(t))return;this.isRelatedTargetAnElement(t)&&this.hostContainsFocus();const e=t.composedPath();let r=-1;e.find((t=>(r=this.elements.indexOf(t),-1!==r))),this.currentIndex=r>-1?r:this.currentIndex},this.handleFocusout=t=>{this.isRelatedTargetAnElement(t)&&this.hostNoLongerContainsFocus()},this.handleKeydown=t=>{if(!this.acceptsEventCode(t.code)||t.defaultPrevented)return;let e=0;switch(t.code){case"ArrowRight":e+=1;break;case"ArrowDown":e+="grid"===this.direction?this.directionLength:1;break;case"ArrowLeft":e-=1;break;case"ArrowUp":e-="grid"===this.direction?this.directionLength:1;break;case"End":this.currentIndex=0,e-=1;break;case"Home":this.currentIndex=this.elements.length-1,e+=1}t.preventDefault(),"grid"===this.direction&&this.currentIndex+e<0?this.currentIndex=0:"grid"===this.direction&&this.currentIndex+e>this.elements.length-1?this.currentIndex=this.elements.length-1:this.setCurrentIndexCircularly(e),this.elementEnterAction(this.elements[this.currentIndex]),this.focus()},this.mutationObserver=new MutationObserver((()=>{this.handleItemMutation()})),this.host=t,this.host.addController(this),this._elements=o,this.isFocusableElement=c||this.isFocusableElement,this._direction=P(e,"string",this._direction),this.elementEnterAction=r||this.elementEnterAction,this._focusInIndex=P(s,"number",this._focusInIndex),this._listenerScope=P(a,"object",this._listenerScope)}get currentIndex(){return-1===this._currentIndex&&(this._currentIndex=this.focusInIndex),this._currentIndex-this.offset}set currentIndex(t){this._currentIndex=t+this.offset}get direction(){return this._direction()}get elements(){return this.cachedElements||(this.cachedElements=this._elements()),this.cachedElements}set focused(t){t!==this.focused&&(this._focused=t)}get focused(){return this._focused}get focusInElement(){return this.elements[this.focusInIndex]}get focusInIndex(){return this._focusInIndex(this.elements)}isEventWithinListenerScope(t){return this._listenerScope()===this.host||t.composedPath().includes(this._listenerScope())}handleItemMutation(){if(-1==this._currentIndex||this.elements.length<=this._elements().length)return;const t=this.elements[this.currentIndex];if(this.clearElementCache(),this.elements.includes(t))return;const e=this.currentIndex!==this.elements.length,r=e?1:-1;e&&this.setCurrentIndexCircularly(-1),this.setCurrentIndexCircularly(r),this.focus()}update({elements:t}={elements:()=>[]}){this.unmanage(),this._elements=t,this.clearElementCache(),this.manage()}focus(t){const e=this.elements;if(!e.length)return;let r=e[this.currentIndex];(!r||!this.isFocusableElement(r))&&(this.setCurrentIndexCircularly(1),r=e[this.currentIndex]),r&&this.isFocusableElement(r)&&r.focus(t)}clearElementCache(t=0){this.mutationObserver.disconnect(),delete this.cachedElements,this.offset=t,requestAnimationFrame((()=>{this.elements.forEach((t=>{this.mutationObserver.observe(t,{attributes:!0})}))}))}setCurrentIndexCircularly(t){const{length:e}=this.elements;let r=e,o=(e+this.currentIndex+t)%e;for(;r&&this.elements[o]&&!this.isFocusableElement(this.elements[o]);)o=(e+o+t)%e,r-=1;this.currentIndex=o}hostContainsFocus(){this.host.addEventListener("focusout",this.handleFocusout),this.host.addEventListener("keydown",this.handleKeydown),this.focused=!0}hostNoLongerContainsFocus(){this.host.addEventListener("focusin",this.handleFocusin),this.host.removeEventListener("focusout",this.handleFocusout),this.host.removeEventListener("keydown",this.handleKeydown),this.focused=!1}isRelatedTargetAnElement(t){const e=t.relatedTarget;return!this.elements.includes(e)}acceptsEventCode(t){if("End"===t||"Home"===t)return!0;switch(this.direction){case"horizontal":return"ArrowLeft"===t||"ArrowRight"===t;case"vertical":return"ArrowUp"===t||"ArrowDown"===t;case"both":case"grid":return t.startsWith("Arrow")}}manage(){this.addEventListeners()}unmanage(){this.removeEventListeners()}addEventListeners(){this.host.addEventListener("focusin",this.handleFocusin)}removeEventListeners(){this.host.removeEventListener("focusin",this.handleFocusin),this.host.removeEventListener("focusout",this.handleFocusout),this.host.removeEventListener("keydown",this.handleKeydown)}hostConnected(){this.recentlyConnected=!0,this.addEventListeners()}hostDisconnected(){this.mutationObserver.disconnect(),this.removeEventListeners()}hostUpdated(){this.recentlyConnected&&(this.recentlyConnected=!1,this.elements.forEach((t=>{this.mutationObserver.observe(t,{attributes:!0})})))}}class L extends D{constructor(){super(...arguments),this.managed=!0,this.manageIndexesAnimationFrame=0}set focused(t){t!==this.focused&&(super.focused=t,this.manageTabindexes())}get focused(){return super.focused}clearElementCache(t=0){cancelAnimationFrame(this.manageIndexesAnimationFrame),super.clearElementCache(t),this.managed&&(this.manageIndexesAnimationFrame=requestAnimationFrame((()=>this.manageTabindexes())))}manageTabindexes(){this.focused?this.updateTabindexes((()=>({tabIndex:-1}))):this.updateTabindexes((t=>({removeTabIndex:t.contains(this.focusInElement)&&t!==this.focusInElement,tabIndex:t===this.focusInElement?0:-1})))}updateTabindexes(t){this.elements.forEach((e=>{const{tabIndex:r,removeTabIndex:o}=t(e);if(!o)return void(e.tabIndex=r);e.removeAttribute("tabindex");const s=e;s.requestUpdate&&s.requestUpdate()}))}manage(){this.managed=!0,this.manageTabindexes(),super.manage()}unmanage(){this.managed=!1,this.updateTabindexes((()=>({tabIndex:0}))),super.unmanage()}hostUpdated(){super.hostUpdated(),this.host.hasUpdated||this.manageTabindexes()}}const O=t.AH`
+  </svg>`)({hidden:!this.label,title:this.label})}});var A=a(162),E=a(752),q=a(804);const T=(0,q.u$)(class extends q.WL{constructor(t){if(super(t),t.type!==q.OA.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(e)}const r=t.element.classList;for(const t of this.st)t in e||(r.remove(t),this.st.delete(t));for(const t in e){const o=!!e[t];o===this.st.has(t)||this.nt?.has(t)||(o?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)))}return E.c0}});var j=a(31);class M{constructor(t,{target:e,config:r,callback:o,skipInitial:s}){this.t=new Set,this.o=!1,this.i=!1,this.h=t,null!==e&&this.t.add(e??t),this.o=s??this.o,this.callback=o,window.IntersectionObserver?(this.u=new IntersectionObserver((t=>{const e=this.i;this.i=!1,this.o&&e||(this.handleChanges(t),this.h.requestUpdate())}),r),t.addController(this)):console.warn("IntersectionController error: browser does not support IntersectionObserver.")}handleChanges(t){this.value=this.callback?.(t,this.u)}hostConnected(){for(const t of this.t)this.observe(t)}hostDisconnected(){this.disconnect()}async hostUpdated(){const t=this.u.takeRecords();t.length&&this.handleChanges(t)}observe(t){this.t.add(t),this.u.observe(t),this.i=!0}unobserve(t){this.t.delete(t),this.u.unobserve(t)}disconnect(){this.u.disconnect()}}class _{constructor(t,{target:e,config:r,callback:o,skipInitial:s}){this.t=new Set,this.o=!1,this.i=!1,this.h=t,null!==e&&this.t.add(e??t),this.l=r,this.o=s??this.o,this.callback=o,window.ResizeObserver?(this.u=new ResizeObserver((t=>{this.handleChanges(t),this.h.requestUpdate()})),t.addController(this)):console.warn("ResizeController error: browser does not support ResizeObserver.")}handleChanges(t){this.value=this.callback?.(t,this.u)}hostConnected(){for(const t of this.t)this.observe(t)}hostDisconnected(){this.disconnect()}async hostUpdated(){!this.o&&this.i&&this.handleChanges([]),this.i=!1}observe(t){this.t.add(t),this.u.observe(t,this.l),this.i=!0,this.h.requestUpdate()}unobserve(t){this.t.delete(t),this.u.unobserve(t)}disconnect(){this.u.disconnect()}}let H=!0;try{document.body.querySelector(":focus-visible")}catch(y){H=!1,a.e(842).then(a.t.bind(a,461,19))}const P=t=>{var e,r;const o=Symbol("endPolyfillCoordination");class s extends(r=t,e=o,r){constructor(){super(...arguments),this[e]=null}connectedCallback(){super.connectedCallback&&super.connectedCallback(),H||requestAnimationFrame((()=>{null==this[o]&&(this[o]=(t=>{if(null==t.shadowRoot||t.hasAttribute("data-js-focus-visible"))return()=>{};if(!self.applyFocusVisiblePolyfill){const e=()=>{self.applyFocusVisiblePolyfill&&t.shadowRoot&&self.applyFocusVisiblePolyfill(t.shadowRoot),t.manageAutoFocus&&t.manageAutoFocus()};return self.addEventListener("focus-visible-polyfill-ready",e,{once:!0}),()=>{self.removeEventListener("focus-visible-polyfill-ready",e)}}return self.applyFocusVisiblePolyfill(t.shadowRoot),t.manageAutoFocus&&t.manageAutoFocus(),()=>{}})(this))}))}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback(),H||requestAnimationFrame((()=>{null!=this[o]&&(this[o](),this[o]=null)}))}}return s};var D=Object.defineProperty,L=Object.getOwnPropertyDescriptor,O=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?L(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&D(e,r,c),c};function U(){return new Promise((t=>requestAnimationFrame((()=>t()))))}class B extends(P(v.w)){constructor(){super(...arguments),this.disabled=!1,this.autofocus=!1,this._tabIndex=0,this.manipulatingTabindex=!1,this.autofocusReady=Promise.resolve()}get tabIndex(){if(this.focusElement===this){const t=this.hasAttribute("tabindex")?Number(this.getAttribute("tabindex")):NaN;return isNaN(t)?-1:t}const t=parseFloat(this.hasAttribute("tabindex")&&this.getAttribute("tabindex")||"0");return this.disabled||t<0?-1:this.focusElement?this.focusElement.tabIndex:t}set tabIndex(t){if(this.manipulatingTabindex)this.manipulatingTabindex=!1;else if(this.focusElement!==this){if(-1===t?this.addEventListener("pointerdown",this.onPointerdownManagementOfTabIndex):(this.manipulatingTabindex=!0,this.removeEventListener("pointerdown",this.onPointerdownManagementOfTabIndex)),-1===t||this.disabled)return this.setAttribute("tabindex","-1"),this.removeAttribute("focusable"),void(-1!==t&&this.manageFocusElementTabindex(t));this.setAttribute("focusable",""),this.hasAttribute("tabindex")?this.removeAttribute("tabindex"):this.manipulatingTabindex=!1,this.manageFocusElementTabindex(t)}else if(t!==this._tabIndex){this._tabIndex=t;const e=this.disabled?"-1":""+t;this.manipulatingTabindex=!0,this.setAttribute("tabindex",e)}}onPointerdownManagementOfTabIndex(){-1===this.tabIndex&&setTimeout((()=>{this.tabIndex=0,this.focus({preventScroll:!0}),this.tabIndex=-1}))}async manageFocusElementTabindex(t){this.focusElement||await this.updateComplete,null===t?this.focusElement.removeAttribute("tabindex"):this.focusElement.tabIndex=t}get focusElement(){throw new Error("Must implement focusElement getter!")}focus(t){this.disabled||!this.focusElement||(this.focusElement!==this?this.focusElement.focus(t):HTMLElement.prototype.focus.apply(this,[t]))}blur(){const t=this.focusElement||this;t!==this?t.blur():HTMLElement.prototype.blur.apply(this)}click(){if(this.disabled)return;const t=this.focusElement||this;t!==this?t.click():HTMLElement.prototype.click.apply(this)}manageAutoFocus(){this.autofocus&&(this.dispatchEvent(new KeyboardEvent("keydown",{code:"Tab"})),this.focusElement.focus())}firstUpdated(t){super.firstUpdated(t),(!this.hasAttribute("tabindex")||"-1"!==this.getAttribute("tabindex"))&&this.setAttribute("focusable","")}update(t){t.has("disabled")&&this.handleDisabledChanged(this.disabled,t.get("disabled")),super.update(t)}updated(t){super.updated(t),t.has("disabled")&&this.disabled&&this.blur()}async handleDisabledChanged(t,e){const r=()=>this.focusElement!==this&&void 0!==this.focusElement.disabled;t?(this.manipulatingTabindex=!0,this.setAttribute("tabindex","-1"),await this.updateComplete,r()?this.focusElement.disabled=!0:this.setAttribute("aria-disabled","true")):e&&(this.manipulatingTabindex=!0,this.focusElement===this?this.setAttribute("tabindex",""+this._tabIndex):this.removeAttribute("tabindex"),await this.updateComplete,r()?this.focusElement.disabled=!1:this.removeAttribute("aria-disabled"))}async getUpdateComplete(){const t=await super.getUpdateComplete();return await this.autofocusReady,t}connectedCallback(){super.connectedCallback(),this.autofocus&&(this.autofocusReady=new Promise((async t=>{await U(),await U(),t()})),this.updateComplete.then((()=>{this.manageAutoFocus()})))}}function F(t,e,r){return typeof t===e?()=>t:"function"==typeof t?t:r}O([(0,f.MZ)({type:Boolean,reflect:!0})],B.prototype,"disabled",2),O([(0,f.MZ)({type:Boolean})],B.prototype,"autofocus",2),O([(0,f.MZ)({type:Number})],B.prototype,"tabIndex",1);class R{constructor(t,{direction:e,elementEnterAction:r,elements:o,focusInIndex:s,isFocusableElement:c,listenerScope:a}={elements:()=>[]}){this._currentIndex=-1,this._direction=()=>"both",this.directionLength=5,this.elementEnterAction=t=>{},this._focused=!1,this._focusInIndex=t=>0,this.isFocusableElement=t=>!0,this._listenerScope=()=>this.host,this.offset=0,this.recentlyConnected=!1,this.handleFocusin=t=>{if(!this.isEventWithinListenerScope(t))return;this.isRelatedTargetAnElement(t)&&this.hostContainsFocus();const e=t.composedPath();let r=-1;e.find((t=>(r=this.elements.indexOf(t),-1!==r))),this.currentIndex=r>-1?r:this.currentIndex},this.handleFocusout=t=>{this.isRelatedTargetAnElement(t)&&this.hostNoLongerContainsFocus()},this.handleKeydown=t=>{if(!this.acceptsEventCode(t.code)||t.defaultPrevented)return;let e=0;switch(t.code){case"ArrowRight":e+=1;break;case"ArrowDown":e+="grid"===this.direction?this.directionLength:1;break;case"ArrowLeft":e-=1;break;case"ArrowUp":e-="grid"===this.direction?this.directionLength:1;break;case"End":this.currentIndex=0,e-=1;break;case"Home":this.currentIndex=this.elements.length-1,e+=1}t.preventDefault(),"grid"===this.direction&&this.currentIndex+e<0?this.currentIndex=0:"grid"===this.direction&&this.currentIndex+e>this.elements.length-1?this.currentIndex=this.elements.length-1:this.setCurrentIndexCircularly(e),this.elementEnterAction(this.elements[this.currentIndex]),this.focus()},this.mutationObserver=new MutationObserver((()=>{this.handleItemMutation()})),this.host=t,this.host.addController(this),this._elements=o,this.isFocusableElement=c||this.isFocusableElement,this._direction=F(e,"string",this._direction),this.elementEnterAction=r||this.elementEnterAction,this._focusInIndex=F(s,"number",this._focusInIndex),this._listenerScope=F(a,"object",this._listenerScope)}get currentIndex(){return-1===this._currentIndex&&(this._currentIndex=this.focusInIndex),this._currentIndex-this.offset}set currentIndex(t){this._currentIndex=t+this.offset}get direction(){return this._direction()}get elements(){return this.cachedElements||(this.cachedElements=this._elements()),this.cachedElements}set focused(t){t!==this.focused&&(this._focused=t)}get focused(){return this._focused}get focusInElement(){return this.elements[this.focusInIndex]}get focusInIndex(){return this._focusInIndex(this.elements)}isEventWithinListenerScope(t){return this._listenerScope()===this.host||t.composedPath().includes(this._listenerScope())}handleItemMutation(){if(-1==this._currentIndex||this.elements.length<=this._elements().length)return;const t=this.elements[this.currentIndex];if(this.clearElementCache(),this.elements.includes(t))return;const e=this.currentIndex!==this.elements.length,r=e?1:-1;e&&this.setCurrentIndexCircularly(-1),this.setCurrentIndexCircularly(r),this.focus()}update({elements:t}={elements:()=>[]}){this.unmanage(),this._elements=t,this.clearElementCache(),this.manage()}focus(t){const e=this.elements;if(!e.length)return;let r=e[this.currentIndex];(!r||!this.isFocusableElement(r))&&(this.setCurrentIndexCircularly(1),r=e[this.currentIndex]),r&&this.isFocusableElement(r)&&r.focus(t)}clearElementCache(t=0){this.mutationObserver.disconnect(),delete this.cachedElements,this.offset=t,requestAnimationFrame((()=>{this.elements.forEach((t=>{this.mutationObserver.observe(t,{attributes:!0})}))}))}setCurrentIndexCircularly(t){const{length:e}=this.elements;let r=e,o=(e+this.currentIndex+t)%e;for(;r&&this.elements[o]&&!this.isFocusableElement(this.elements[o]);)o=(e+o+t)%e,r-=1;this.currentIndex=o}hostContainsFocus(){this.host.addEventListener("focusout",this.handleFocusout),this.host.addEventListener("keydown",this.handleKeydown),this.focused=!0}hostNoLongerContainsFocus(){this.host.addEventListener("focusin",this.handleFocusin),this.host.removeEventListener("focusout",this.handleFocusout),this.host.removeEventListener("keydown",this.handleKeydown),this.focused=!1}isRelatedTargetAnElement(t){const e=t.relatedTarget;return!this.elements.includes(e)}acceptsEventCode(t){if("End"===t||"Home"===t)return!0;switch(this.direction){case"horizontal":return"ArrowLeft"===t||"ArrowRight"===t;case"vertical":return"ArrowUp"===t||"ArrowDown"===t;case"both":case"grid":return t.startsWith("Arrow")}}manage(){this.addEventListeners()}unmanage(){this.removeEventListeners()}addEventListeners(){this.host.addEventListener("focusin",this.handleFocusin)}removeEventListeners(){this.host.removeEventListener("focusin",this.handleFocusin),this.host.removeEventListener("focusout",this.handleFocusout),this.host.removeEventListener("keydown",this.handleKeydown)}hostConnected(){this.recentlyConnected=!0,this.addEventListeners()}hostDisconnected(){this.mutationObserver.disconnect(),this.removeEventListeners()}hostUpdated(){this.recentlyConnected&&(this.recentlyConnected=!1,this.elements.forEach((t=>{this.mutationObserver.observe(t,{attributes:!0})})))}}class Z extends R{constructor(){super(...arguments),this.managed=!0,this.manageIndexesAnimationFrame=0}set focused(t){t!==this.focused&&(super.focused=t,this.manageTabindexes())}get focused(){return super.focused}clearElementCache(t=0){cancelAnimationFrame(this.manageIndexesAnimationFrame),super.clearElementCache(t),this.managed&&(this.manageIndexesAnimationFrame=requestAnimationFrame((()=>this.manageTabindexes())))}manageTabindexes(){this.focused?this.updateTabindexes((()=>({tabIndex:-1}))):this.updateTabindexes((t=>({removeTabIndex:t.contains(this.focusInElement)&&t!==this.focusInElement,tabIndex:t===this.focusInElement?0:-1})))}updateTabindexes(t){this.elements.forEach((e=>{const{tabIndex:r,removeTabIndex:o}=t(e);if(!o)return void(e.tabIndex=r);e.removeAttribute("tabindex");const s=e;s.requestUpdate&&s.requestUpdate()}))}manage(){this.managed=!0,this.manageTabindexes(),super.manage()}unmanage(){this.managed=!1,this.updateTabindexes((()=>({tabIndex:0}))),super.unmanage()}hostUpdated(){super.hostUpdated(),this.host.hasUpdated||this.manageTabindexes()}}const N=i.AH`
     #list{--spectrum-tabs-item-height:var(--spectrum-tab-item-height-medium);--spectrum-tabs-item-horizontal-spacing:var(--spectrum-tab-item-to-tab-item-horizontal-medium);--spectrum-tabs-item-vertical-spacing:var(--spectrum-tab-item-to-tab-item-vertical-medium);--spectrum-tabs-start-to-edge:var(--spectrum-tab-item-start-to-edge-medium);--spectrum-tabs-top-to-text:var(--spectrum-tab-item-top-to-text-medium);--spectrum-tabs-bottom-to-text:var(--spectrum-tab-item-bottom-to-text-medium);--spectrum-tabs-icon-size:var(--spectrum-workflow-icon-size-75);--spectrum-tabs-icon-to-text:var(--spectrum-text-to-visual-100);--spectrum-tabs-top-to-icon:var(--spectrum-tab-item-top-to-workflow-icon-medium);--spectrum-tabs-color:var(--spectrum-neutral-subdued-content-color-default);--spectrum-tabs-color-selected:var(--spectrum-neutral-subdued-content-color-down);--spectrum-tabs-color-hover:var(--spectrum-neutral-subdued-content-color-hover);--spectrum-tabs-color-key-focus:var(--spectrum-neutral-subdued-content-color-key-focus);--spectrum-tabs-color-disabled:var(--spectrum-gray-500);--spectrum-tabs-font-family:var(--spectrum-sans-font-family-stack);--spectrum-tabs-font-style:var(--spectrum-default-font-style);--spectrum-tabs-font-size:var(--spectrum-font-size-100);--spectrum-tabs-line-height:var(--spectrum-line-height-100);--spectrum-tabs-focus-indicator-width:var(--spectrum-focus-indicator-thickness);--spectrum-tabs-focus-indicator-border-radius:var(--spectrum-corner-radius-100);--spectrum-tabs-focus-indicator-gap:var(--spectrum-tab-item-focus-indicator-gap-medium);--spectrum-tabs-focus-indicator-color:var(--spectrum-focus-indicator-color);--spectrum-tabs-selection-indicator-color:var(--spectrum-neutral-subdued-content-color-down);--spectrum-tabs-list-background-direction:top;--spectrum-tabs-divider-background-color:var(--spectrum-gray-300);--spectrum-tabs-divider-size:var(--spectrum-border-width-200);--spectrum-tabs-divider-border-radius:1px;--spectrum-tabs-animation-duration:var(--spectrum-animation-duration-100);--spectrum-tabs-animation-ease:var(--spectrum-animation-ease-in-out)}:host([emphasized]) #list{--mod-tabs-color-selected:var(--mod-tabs-color-selected-emphasized,var(--spectrum-accent-content-color-default));--mod-tabs-color-hover:var(--mod-tabs-color-hover-emphasized,var(--spectrum-accent-content-color-hover));--mod-tabs-color-key-focus:var(--mod-tabs-color-key-focus-emphasized,var(--spectrum-accent-content-color-key-focus));--mod-tabs-selection-indicator-color:var(--mod-tabs-selection-indicator-color-emphasized,var(--spectrum-accent-content-color-default))}:host([direction^=vertical]) #list{--mod-tabs-list-background-direction:var(--mod-tabs-list-background-direction-vertical,right)}:host([direction^=vertical-right]) #list{--mod-tabs-list-background-direction:var(--mod-tabs-list-background-direction-vertical-right,left)}:host([direction^=vertical]) #list:dir(rtl),:host([dir=rtl][direction^=vertical]) #list{--mod-tabs-list-background-direction:var(--mod-tabs-list-background-direction-vertical,left)}:host([direction^=vertical-right]) #list:dir(rtl),:host([dir=rtl][direction^=vertical-right]) #list{--mod-tabs-list-background-direction:var(--mod-tabs-list-background-direction-vertical,right)}:host([compact]) #list{--mod-tabs-item-height:var(--mod-tabs-item-height-compact,var(--spectrum-tab-item-compact-height-medium));--mod-tabs-top-to-text:var(--mod-tabs-top-to-text-compact,var(--spectrum-tab-item-top-to-text-compact-medium));--mod-tabs-bottom-to-text:var(--mod-tabs-bottom-to-text-compact,var(--spectrum-tab-item-top-to-text-compact-medium));--mod-tabs-top-to-icon:var(--mod-tabs-top-to-icon-compact,var(--spectrum-tab-item-top-to-workflow-icon-compact-medium))}#list{z-index:0;vertical-align:top;background:linear-gradient(to var(--mod-tabs-list-background-direction,var(--spectrum-tabs-list-background-direction)),var(--highcontrast-tabs-divider-background-color,var(--mod-tabs-divider-background-color,var(--spectrum-tabs-divider-background-color)))0 var(--mod-tabs-divider-size,var(--spectrum-tabs-divider-size)),transparent var(--mod-tabs-divider-size,var(--spectrum-tabs-divider-size)));margin:0;padding-block:0;display:flex;position:relative}::slotted([selected]:not([slot])){color:var(--highcontrast-tabs-color-selected,var(--mod-tabs-color-selected,var(--spectrum-tabs-color-selected)))}::slotted([disabled]:not([slot])){cursor:default;color:var(--highcontrast-tabs-color-disabled,var(--mod-tabs-color-disabled,var(--spectrum-tabs-color-disabled)))}#selection-indicator{background-color:var(--highcontrast-tabs-selection-indicator-color,var(--mod-tabs-selection-indicator-color,var(--spectrum-tabs-selection-indicator-color)));z-index:0;transition:transform var(--mod-tabs-animation-duration,var(--spectrum-tabs-animation-duration))var(--mod-tabs-animation-ease,var(--spectrum-tabs-animation-ease));transform-origin:0 0;border-radius:var(--mod-tabs-divider-border-radius,var(--spectrum-tabs-divider-border-radius));position:absolute;inset-inline-start:0}:host([direction^=horizontal]) #list{align-items:center}:host([direction^=horizontal]) #list ::slotted(:not([slot])){vertical-align:top}:host([direction^=horizontal]) ::slotted(:not(:first-child)){margin-inline-start:var(--mod-tabs-item-horizontal-spacing,var(--spectrum-tabs-item-horizontal-spacing))}:host([direction^=horizontal]) #list #selection-indicator{block-size:var(--mod-tabs-divider-size,var(--spectrum-tabs-divider-size));position:absolute;inset-block-end:0}:host([direction^=horizontal][compact]) #list{box-sizing:initial;align-items:end}:host([quiet]) #list{background:0 0;border-color:#0000;display:inline-flex}:host([quiet]) #selection-indicator{padding-inline-start:var(--mod-tabs-start-to-item-quiet,var(--spectrum-tabs-start-to-item-quiet))}:host([direction^=vertical]) #list,:host([direction^=vertical-right]) #list{flex-direction:column;padding:0;display:inline-flex}:host([direction^=vertical-right][quiet]) #list,:host([direction^=vertical][quiet]) #list{border-color:#0000}:host([direction^=vertical]) #list ::slotted(:not([slot])),:host([direction^=vertical-right]) #list ::slotted(:not([slot])){block-size:var(--mod-tabs-item-height,var(--spectrum-tabs-item-height));line-height:var(--mod-tabs-item-height,var(--spectrum-tabs-item-height));margin-block-end:var(--mod-tabs-item-vertical-spacing,var(--spectrum-tabs-item-vertical-spacing));margin-inline-start:var(--mod-tabs-start-to-edge,var(--spectrum-tabs-start-to-edge));margin-inline-end:var(--mod-tabs-start-to-edge,var(--spectrum-tabs-start-to-edge));padding-block:0}:host([direction^=vertical]) #list ::slotted(:not([slot])):before,:host([direction^=vertical-right]) #list ::slotted(:not([slot])):before{inset-inline-start:calc(var(--mod-tabs-focus-indicator-gap,var(--spectrum-tabs-focus-indicator-gap))*-1)}:host([direction^=vertical]) #list #selection-indicator,:host([direction^=vertical-right]) #list #selection-indicator{inline-size:var(--mod-tabs-divider-size,var(--spectrum-tabs-divider-size));position:absolute;inset-block-start:0;inset-inline-start:0}:host([direction^=vertical-right]) #list #selection-indicator{inset-inline:auto 0}@media (forced-colors:active){#list{--highcontrast-tabs-divider-background-color:var(--spectrum-gray-500);--highcontrast-tabs-selection-indicator-color:Highlight;--highcontrast-tabs-focus-indicator-color:CanvasText;--highcontrast-tabs-focus-indicator-background-color:Highlight;--highcontrast-tabs-color:ButtonText;--highcontrast-tabs-color-hover:ButtonText;--highcontrast-tabs-color-selected:HighlightText;--highcontrast-tabs-color-key-focus:ButtonText;--highcontrast-tabs-color-disabled:GrayText;forced-color-adjust:none}#list ::slotted([selected]:not([slot])):before{background-color:var(--highcontrast-tabs-focus-indicator-background-color)}:host([direction^=vertical][compact]) #list #list ::slotted(:not([slot])):before{block-size:100%;inset-block-start:0}:host([quiet]) #list{background:linear-gradient(to var(--mod-tabs-list-background-direction,var(--spectrum-tabs-list-background-direction)),var(--highcontrast-tabs-divider-background-color,var(--mod-tabs-divider-background-color,var(--spectrum-tabs-divider-background-color)))0 var(--mod-tabs-divider-size,var(--spectrum-tabs-divider-size)),transparent var(--mod-tabs-divider-size,var(--spectrum-tabs-divider-size)))}}#list{--spectrum-tabs-font-weight:var(--system-spectrum-tabs-font-weight)}:host{grid-template-columns:100%;display:grid;position:relative}:host(:not([direction^=vertical])){grid-template-rows:auto 1fr}:host([direction^=vertical]){grid-template-columns:auto 1fr}:host([dir=rtl]) #selection-indicator{left:0;right:auto}:host([direction=vertical-right]) #list #selection-indicator{inset-inline:auto 0}#list{justify-content:var(--swc-tabs-list-justify-content)}:host([disabled]) #list{pointer-events:none}:host([disabled]) #list #selection-indicator{background-color:var(--mod-tabs-color-disabled,var(--spectrum-tabs-color-disabled))}:host([disabled]) ::slotted(sp-tab){color:var(--mod-tabs-color-disabled,var(--spectrum-tabs-color-disabled))}:host([direction=vertical-right]) #list #selection-indicator,:host([direction=vertical]) #list #selection-indicator{inset-block-start:0}#selection-indicator.first-position{transition:none}:host([dir][direction=horizontal]) #list.scroll{scrollbar-width:none;overflow:auto hidden}:host([dir][direction=horizontal]) #list.scroll::-webkit-scrollbar{display:none}
-`,U=t.AH`
+`,V=i.AH`
     :host([size=s]) #list{--spectrum-tabs-item-height:var(--spectrum-tab-item-height-small);--spectrum-tabs-item-horizontal-spacing:var(--spectrum-tab-item-to-tab-item-horizontal-small);--spectrum-tabs-item-vertical-spacing:var(--spectrum-tab-item-to-tab-item-vertical-small);--spectrum-tabs-start-to-edge:var(--spectrum-tab-item-start-to-edge-small);--spectrum-tabs-top-to-text:var(--spectrum-tab-item-top-to-text-small);--spectrum-tabs-bottom-to-text:var(--spectrum-tab-item-bottom-to-text-small);--spectrum-tabs-icon-size:var(--spectrum-workflow-icon-size-50);--spectrum-tabs-icon-to-text:var(--spectrum-text-to-visual-75);--spectrum-tabs-top-to-icon:var(--spectrum-tab-item-top-to-workflow-icon-small);--spectrum-tabs-focus-indicator-gap:var(--spectrum-tab-item-focus-indicator-gap-small);--spectrum-tabs-font-size:var(--spectrum-font-size-75)}:host([size=l]) #list{--spectrum-tabs-item-height:var(--spectrum-tab-item-height-large);--spectrum-tabs-item-horizontal-spacing:var(--spectrum-tab-item-to-tab-item-horizontal-large);--spectrum-tabs-item-vertical-spacing:var(--spectrum-tab-item-to-tab-item-vertical-large);--spectrum-tabs-start-to-edge:var(--spectrum-tab-item-start-to-edge-large);--spectrum-tabs-top-to-text:var(--spectrum-tab-item-top-to-text-large);--spectrum-tabs-bottom-to-text:var(--spectrum-tab-item-bottom-to-text-large);--spectrum-tabs-icon-size:var(--spectrum-workflow-icon-size-100);--spectrum-tabs-icon-to-text:var(--spectrum-text-to-visual-200);--spectrum-tabs-top-to-icon:var(--spectrum-tab-item-top-to-workflow-icon-large);--spectrum-tabs-focus-indicator-gap:var(--spectrum-tab-item-focus-indicator-gap-large);--spectrum-tabs-font-size:var(--spectrum-font-size-200)}:host([size=xl]) #list{--spectrum-tabs-item-height:var(--spectrum-tab-item-height-extra-large);--spectrum-tabs-item-horizontal-spacing:var(--spectrum-tab-item-to-tab-item-horizontal-extra-large);--spectrum-tabs-item-vertical-spacing:var(--spectrum-tab-item-to-tab-item-vertical-extra-large);--spectrum-tabs-start-to-edge:var(--spectrum-tab-item-start-to-edge-extra-large);--spectrum-tabs-top-to-text:var(--spectrum-tab-item-top-to-text-extra-large);--spectrum-tabs-bottom-to-text:var(--spectrum-tab-item-bottom-to-text-extra-large);--spectrum-tabs-icon-size:var(--spectrum-workflow-icon-size-200);--spectrum-tabs-icon-to-text:var(--spectrum-text-to-visual-300);--spectrum-tabs-top-to-icon:var(--spectrum-tab-item-top-to-workflow-icon-extra-large);--spectrum-tabs-focus-indicator-gap:var(--spectrum-tab-item-focus-indicator-gap-extra-large);--spectrum-tabs-font-size:var(--spectrum-font-size-300)}:host([size=s]) #list.spectrum-Tabs--compact{--mod-tabs-item-height:var(--mod-tabs-item-height-compact,var(--spectrum-tab-item-compact-height-small));--mod-tabs-top-to-text:var(--mod-tabs-top-to-text-compact,var(--spectrum-tab-item-top-to-text-compact-small));--mod-tabs-bottom-to-text:var(--mod-tabs-bottom-to-text-compact,var(--spectrum-tab-item-top-to-text-compact-small));--mod-tabs-top-to-icon:var(--mod-tabs-top-to-icon-compact,var(--spectrum-tab-item-top-to-workflow-icon-compact-small))}:host([size=l]) #list.spectrum-Tabs--compact{--mod-tabs-item-height:var(--mod-tabs-item-height-compact,var(--spectrum-tab-item-compact-height-large));--mod-tabs-top-to-text:var(--mod-tabs-top-to-text-compact,var(--spectrum-tab-item-top-to-text-compact-large));--mod-tabs-bottom-to-text:var(--mod-tabs-bottom-to-text-compact,var(--spectrum-tab-item-top-to-text-compact-large));--mod-tabs-top-to-icon:var(--mod-tabs-top-to-icon-compact,var(--spectrum-tab-item-top-to-workflow-icon-compact-large))}:host([size=xl]) #list.spectrum-Tabs--compact{--mod-tabs-item-height:var(--mod-tabs-item-height-compact,var(--spectrum-tab-item-compact-height-extra-large));--mod-tabs-top-to-text:var(--mod-tabs-top-to-text-compact,var(--spectrum-tab-item-top-to-text-compact-extra-large));--mod-tabs-bottom-to-text:var(--mod-tabs-bottom-to-text-compact,var(--spectrum-tab-item-top-to-text-compact-extra-large));--mod-tabs-top-to-icon:var(--mod-tabs-top-to-icon-compact,var(--spectrum-tab-item-top-to-workflow-icon-compact-extra-large))}
-`;var B=Object.defineProperty,F=Object.getOwnPropertyDescriptor,R=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?F(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&B(e,r,c),c};const Z={baseSize:100,noSelectionStyle:"transform: translateX(0px) scaleX(0) scaleY(0)",transformX(t,e){return`transform: translateX(${t}px) scaleX(${e/this.baseSize});`},transformY(t,e){return`transform: translateY(${t}px) scaleY(${e/this.baseSize});`},baseStyles(){return t.AH`
+`;var K=Object.defineProperty,W=Object.getOwnPropertyDescriptor,J=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?W(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&K(e,r,c),c};const G={baseSize:100,noSelectionStyle:"transform: translateX(0px) scaleX(0) scaleY(0)",transformX(t,e){return`transform: translateX(${t}px) scaleX(${e/this.baseSize});`},transformY(t,e){return`transform: translateY(${t}px) scaleY(${e/this.baseSize});`},baseStyles(){return i.AH`
             :host([direction='vertical-right']) #selection-indicator,
             :host([direction='vertical']) #selection-indicator {
                 height: ${this.baseSize}px;
@@ -88,10 +88,10 @@ governing permissions and limitations under the License.
             :host([dir][direction='horizontal']) #selection-indicator {
                 width: ${this.baseSize}px;
             }
-        `}};class N extends((0,w.Z)(H,{noDefaultSize:!0})){constructor(){super(),this.auto=!1,this.compact=!1,this.direction="horizontal",this.emphasized=!1,this.label="",this.enableTabsScroll=!1,this.quiet=!1,this.selectionIndicatorStyle=Z.noSelectionStyle,this.shouldAnimate=!1,this.selected="",this._tabs=[],this.resizeController=new A(this,{callback:()=>{this.updateSelectionIndicator()}}),this.rovingTabindexController=new L(this,{focusInIndex:t=>{let e=0;return t.find(((t,r)=>{const o=this.selected?!t.disabled&&t.value===this.selected:!t.disabled;return e=r,o}))?e:-1},direction:()=>"both",elementEnterAction:t=>{this.auto&&(this.shouldAnimate=!0,this.selectTarget(t))},elements:()=>this.tabs,isFocusableElement:t=>!t.disabled,listenerScope:()=>this.tabList}),this.onTabsScroll=()=>{this.dispatchEvent(new Event("sp-tabs-scroll",{bubbles:!0,composed:!0}))},this.onClick=t=>{if(this.disabled)return;const e=t.composedPath().find((t=>t.parentElement===this));!e||e.disabled||(this.shouldAnimate=!0,this.selectTarget(e))},this.onKeyDown=t=>{if("Enter"===t.code||"Space"===t.code){t.preventDefault();const e=t.target;e&&this.selectTarget(e)}},this.updateCheckedState=()=>{if(this.tabs.forEach((t=>{t.removeAttribute("selected")})),this.selected){const t=this.tabs.find((t=>t.value===this.selected));t?t.selected=!0:this.selected=""}else{const t=this.tabs[0];t&&t.setAttribute("tabindex","0")}this.updateSelectionIndicator()},this.updateSelectionIndicator=async()=>{const t=this.tabs.find((t=>t.selected));if(!t)return void(this.selectionIndicatorStyle=Z.noSelectionStyle);await Promise.all([t.updateComplete,document.fonts?document.fonts.ready:Promise.resolve()]);const{width:e,height:r}=t.getBoundingClientRect();this.selectionIndicatorStyle="horizontal"===this.direction?Z.transformX(t.offsetLeft,e):Z.transformY(t.offsetTop,r)},new $(this,{config:{root:null,rootMargin:"0px",threshold:[0,1]},callback:()=>{this.updateSelectionIndicator()}})}static get styles(){return[U,O,Z.baseStyles()]}set tabs(t){t!==this.tabs&&(this._tabs.forEach((t=>{this.resizeController.unobserve(t)})),t.forEach((t=>{this.resizeController.observe(t)})),this._tabs=t,this.rovingTabindexController.clearElementCache())}get tabs(){return this._tabs}get focusElement(){return this.rovingTabindexController.focusInElement||this}scrollTabs(t,e="smooth"){var r;null==(r=this.tabList)||r.scrollBy({left:t,top:0,behavior:e})}get scrollState(){if(this.tabList){const{scrollLeft:t,clientWidth:e,scrollWidth:r}=this.tabList,o=Math.abs(t)>0,s=Math.ceil(Math.abs(t))<r-e;return{canScrollLeft:"ltr"===this.dir?o:s,canScrollRight:"ltr"===this.dir?s:o}}return{}}async getUpdateComplete(){const t=await super.getUpdateComplete(),e=[...this.children].map((t=>void 0!==t.updateComplete?t.updateComplete:Promise.resolve(!0)));return await Promise.all(e),t}async scrollToSelection(){if(!this.enableTabsScroll||!this.selected)return;await this.updateComplete;const t=this.tabs.find((t=>t.value===this.selected));null==t||t.scrollIntoView()}updated(t){super.updated(t),t.has("selected")&&this.scrollToSelection()}managePanels({target:t}){t.assignedElements().map((t=>{const{value:e,id:r}=t,o=this.querySelector(`[role="tab"][value="${e}"]`);o&&(o.setAttribute("aria-controls",r),t.setAttribute("aria-labelledby",o.id)),t.selected=e===this.selected}))}render(){return t.qy`
+        `}};class X extends((0,A.Z)(B,{noDefaultSize:!0})){constructor(){super(),this.auto=!1,this.compact=!1,this.direction="horizontal",this.emphasized=!1,this.label="",this.enableTabsScroll=!1,this.quiet=!1,this.selectionIndicatorStyle=G.noSelectionStyle,this.shouldAnimate=!1,this.selected="",this._tabs=[],this.resizeController=new _(this,{callback:()=>{this.updateSelectionIndicator()}}),this.rovingTabindexController=new Z(this,{focusInIndex:t=>{let e=0;return t.find(((t,r)=>{const o=this.selected?!t.disabled&&t.value===this.selected:!t.disabled;return e=r,o}))?e:-1},direction:()=>"both",elementEnterAction:t=>{this.auto&&(this.shouldAnimate=!0,this.selectTarget(t))},elements:()=>this.tabs,isFocusableElement:t=>!t.disabled,listenerScope:()=>this.tabList}),this.onTabsScroll=()=>{this.dispatchEvent(new Event("sp-tabs-scroll",{bubbles:!0,composed:!0}))},this.onClick=t=>{if(this.disabled)return;const e=t.composedPath().find((t=>t.parentElement===this));!e||e.disabled||(this.shouldAnimate=!0,this.selectTarget(e))},this.onKeyDown=t=>{if("Enter"===t.code||"Space"===t.code){t.preventDefault();const e=t.target;e&&this.selectTarget(e)}},this.updateCheckedState=()=>{if(this.tabs.forEach((t=>{t.removeAttribute("selected")})),this.selected){const t=this.tabs.find((t=>t.value===this.selected));t?t.selected=!0:this.selected=""}else{const t=this.tabs[0];t&&t.setAttribute("tabindex","0")}this.updateSelectionIndicator()},this.updateSelectionIndicator=async()=>{const t=this.tabs.find((t=>t.selected));if(!t)return void(this.selectionIndicatorStyle=G.noSelectionStyle);await Promise.all([t.updateComplete,document.fonts?document.fonts.ready:Promise.resolve()]);const{width:e,height:r}=t.getBoundingClientRect();this.selectionIndicatorStyle="horizontal"===this.direction?G.transformX(t.offsetLeft,e):G.transformY(t.offsetTop,r)},new M(this,{config:{root:null,rootMargin:"0px",threshold:[0,1]},callback:()=>{this.updateSelectionIndicator()}})}static get styles(){return[V,N,G.baseStyles()]}set tabs(t){t!==this.tabs&&(this._tabs.forEach((t=>{this.resizeController.unobserve(t)})),t.forEach((t=>{this.resizeController.observe(t)})),this._tabs=t,this.rovingTabindexController.clearElementCache())}get tabs(){return this._tabs}get focusElement(){return this.rovingTabindexController.focusInElement||this}scrollTabs(t,e="smooth"){var r;null==(r=this.tabList)||r.scrollBy({left:t,top:0,behavior:e})}get scrollState(){if(this.tabList){const{scrollLeft:t,clientWidth:e,scrollWidth:r}=this.tabList,o=Math.abs(t)>0,s=Math.ceil(Math.abs(t))<r-e;return{canScrollLeft:"ltr"===this.dir?o:s,canScrollRight:"ltr"===this.dir?s:o}}return{}}async getUpdateComplete(){const t=await super.getUpdateComplete(),e=[...this.children].map((t=>void 0!==t.updateComplete?t.updateComplete:Promise.resolve(!0)));return await Promise.all(e),t}async scrollToSelection(){if(!this.enableTabsScroll||!this.selected)return;await this.updateComplete;const t=this.tabs.find((t=>t.value===this.selected));null==t||t.scrollIntoView()}updated(t){super.updated(t),t.has("selected")&&this.scrollToSelection()}managePanels({target:t}){t.assignedElements().map((t=>{const{value:e,id:r}=t,o=this.querySelector(`[role="tab"][value="${e}"]`);o&&(o.setAttribute("aria-controls",r),t.setAttribute("aria-labelledby",o.id)),t.selected=e===this.selected}))}render(){return i.qy`
             <div
-                class=${I({scroll:this.enableTabsScroll})}
-                aria-label=${(0,S.J)(this.label?this.label:void 0)}
+                class=${T({scroll:this.enableTabsScroll})}
+                aria-label=${(0,j.J)(this.label?this.label:void 0)}
                 @click=${this.onClick}
                 @keydown=${this.onKeyDown}
                 @scroll=${this.onTabsScroll}
@@ -102,59 +102,59 @@ governing permissions and limitations under the License.
                 <slot @slotchange=${this.onSlotChange}></slot>
                 <div
                     id="selection-indicator"
-                    class=${(0,S.J)(this.shouldAnimate?void 0:"first-position")}
+                    class=${(0,j.J)(this.shouldAnimate?void 0:"first-position")}
                     style=${this.selectionIndicatorStyle}
                     role="presentation"
                 ></div>
             </div>
             <slot name="tab-panel" @slotchange=${this.managePanels}></slot>
-        `}willUpdate(t){if(!this.hasUpdated){const t=this.querySelector(":scope > [selected]");t&&this.selectTarget(t)}if(super.willUpdate(t),t.has("selected")){if(this.tabs.length&&this.updateCheckedState(),t.get("selected")){const e=this.querySelector(`[role="tabpanel"][value="${t.get("selected")}"]`);e&&(e.selected=!1)}const e=this.querySelector(`[role="tabpanel"][value="${this.selected}"]`);e&&(e.selected=!0)}t.has("direction")&&("horizontal"===this.direction?this.removeAttribute("aria-orientation"):this.setAttribute("aria-orientation","vertical")),t.has("dir")&&this.updateSelectionIndicator(),t.has("disabled")&&(this.disabled?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled")),!this.shouldAnimate&&void 0!==t.get("shouldAnimate")&&(this.shouldAnimate=!0)}selectTarget(t){const e=t.getAttribute("value");if(e){const t=this.selected;this.selected=e,this.dispatchEvent(new Event("change",{cancelable:!0}))||(this.selected=t)}}onSlotChange(){this.tabs=this.slotEl.assignedElements().filter((t=>"tab"===t.getAttribute("role"))),this.updateCheckedState()}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",this.updateSelectionIndicator),"fonts"in document&&document.fonts.addEventListener("loadingdone",this.updateSelectionIndicator)}disconnectedCallback(){window.removeEventListener("resize",this.updateSelectionIndicator),"fonts"in document&&document.fonts.removeEventListener("loadingdone",this.updateSelectionIndicator),super.disconnectedCallback()}}R([(0,d.MZ)({type:Boolean})],N.prototype,"auto",2),R([(0,d.MZ)({type:Boolean,reflect:!0})],N.prototype,"compact",2),R([(0,d.MZ)({reflect:!0})],N.prototype,"dir",2),R([(0,d.MZ)({reflect:!0})],N.prototype,"direction",2),R([(0,d.MZ)({type:Boolean,reflect:!0})],N.prototype,"emphasized",2),R([(0,d.MZ)()],N.prototype,"label",2),R([(0,d.MZ)({type:Boolean})],N.prototype,"enableTabsScroll",2),R([(0,d.MZ)({type:Boolean,reflect:!0})],N.prototype,"quiet",2),R([(0,d.MZ)({attribute:!1})],N.prototype,"selectionIndicatorStyle",2),R([(0,d.MZ)({attribute:!1})],N.prototype,"shouldAnimate",2),R([(0,d.P)("slot")],N.prototype,"slotEl",2),R([(0,d.P)("#list")],N.prototype,"tabList",2),R([(0,d.MZ)({reflect:!0})],N.prototype,"selected",2),(0,x.e)("sp-tabs",N);class V{constructor(t,{target:e,config:r,callback:o,skipInitial:s}){this.t=new Set,this.o=!1,this.i=!1,this.h=t,null!==e&&this.t.add(e??t),this.l=r,this.o=s??this.o,this.callback=o,window.MutationObserver?(this.u=new MutationObserver((t=>{this.handleChanges(t),this.h.requestUpdate()})),t.addController(this)):console.warn("MutationController error: browser does not support MutationObserver.")}handleChanges(t){this.value=this.callback?.(t,this.u)}hostConnected(){for(const t of this.t)this.observe(t)}hostDisconnected(){this.disconnect()}async hostUpdated(){const t=this.u.takeRecords();(t.length||!this.o&&this.i)&&this.handleChanges(t),this.i=!1}observe(t){this.t.add(t),this.u.observe(t,this.l),this.i=!0,this.h.requestUpdate()}disconnect(){this.u.disconnect()}}const K=Symbol("slotContentIsPresent");function W(t,e){var r,o;const s=Array.isArray(e)?e:[e];class c extends(o=t,r=K,o){constructor(...t){super(t),this[r]=new Map,this.managePresenceObservedSlot=()=>{let t=!1;s.forEach((e=>{const r=!!this.querySelector(`:scope > ${e}`),o=this[K].get(e)||!1;t=t||o!==r,this[K].set(e,!!this.querySelector(`:scope > ${e}`))})),t&&this.updateComplete.then((()=>{this.requestUpdate()}))},new V(this,{config:{childList:!0,subtree:!0},callback:()=>{this.managePresenceObservedSlot()}}),this.managePresenceObservedSlot()}get slotContentIsPresent(){if(1===s.length)return this[K].get(s[0])||!1;throw new Error("Multiple selectors provided to `ObserveSlotPresence` use `getSlotContentPresence(selector: string)` instead.")}getSlotContentPresence(t){if(this[K].has(t))return this[K].get(t)||!1;throw new Error(`The provided selector \`${t}\` is not being observed.`)}}return c}var J=Object.defineProperty,G=Object.getOwnPropertyDescriptor,X=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?G(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&J(e,r,c),c};const Y=Symbol("assignedNodes");function Q(t,e,r=[]){var o,s;const c=t=>e=>t.matches(e);class a extends(s=t,o=Y,s){constructor(...t){super(t),this.slotHasContent=!1,new V(this,{config:{characterData:!0,subtree:!0},callback:t=>{for(const e of t)if("characterData"===e.type)return void this.manageTextObservedSlot()}})}manageTextObservedSlot(){if(!this[Y])return;const t=[...this[Y]].filter((t=>{const e=t;return e.tagName?!r.some(c(e)):!!e.textContent&&e.textContent.trim()}));this.slotHasContent=t.length>0}update(t){if(!this.hasUpdated){const{childNodes:t}=this,o=[...t].filter((t=>{const o=t;return o.tagName?!r.some(c(o))&&(e?o.getAttribute("slot")===e:!o.hasAttribute("slot")):!!o.textContent&&o.textContent.trim()}));this.slotHasContent=o.length>0}super.update(t)}firstUpdated(t){super.firstUpdated(t),this.updateComplete.then((()=>{this.manageTextObservedSlot()}))}}return X([(0,d.MZ)({type:Boolean,attribute:!1})],a.prototype,"slotHasContent",2),X([(0,d.gZ)({slot:e,flatten:!0})],a.prototype,o,2),a}var tt=a(47);const et=t.AH`
+        `}willUpdate(t){if(!this.hasUpdated){const t=this.querySelector(":scope > [selected]");t&&this.selectTarget(t)}if(super.willUpdate(t),t.has("selected")){if(this.tabs.length&&this.updateCheckedState(),t.get("selected")){const e=this.querySelector(`[role="tabpanel"][value="${t.get("selected")}"]`);e&&(e.selected=!1)}const e=this.querySelector(`[role="tabpanel"][value="${this.selected}"]`);e&&(e.selected=!0)}t.has("direction")&&("horizontal"===this.direction?this.removeAttribute("aria-orientation"):this.setAttribute("aria-orientation","vertical")),t.has("dir")&&this.updateSelectionIndicator(),t.has("disabled")&&(this.disabled?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled")),!this.shouldAnimate&&void 0!==t.get("shouldAnimate")&&(this.shouldAnimate=!0)}selectTarget(t){const e=t.getAttribute("value");if(e){const t=this.selected;this.selected=e,this.dispatchEvent(new Event("change",{cancelable:!0}))||(this.selected=t)}}onSlotChange(){this.tabs=this.slotEl.assignedElements().filter((t=>"tab"===t.getAttribute("role"))),this.updateCheckedState()}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",this.updateSelectionIndicator),"fonts"in document&&document.fonts.addEventListener("loadingdone",this.updateSelectionIndicator)}disconnectedCallback(){window.removeEventListener("resize",this.updateSelectionIndicator),"fonts"in document&&document.fonts.removeEventListener("loadingdone",this.updateSelectionIndicator),super.disconnectedCallback()}}J([(0,f.MZ)({type:Boolean})],X.prototype,"auto",2),J([(0,f.MZ)({type:Boolean,reflect:!0})],X.prototype,"compact",2),J([(0,f.MZ)({reflect:!0})],X.prototype,"dir",2),J([(0,f.MZ)({reflect:!0})],X.prototype,"direction",2),J([(0,f.MZ)({type:Boolean,reflect:!0})],X.prototype,"emphasized",2),J([(0,f.MZ)()],X.prototype,"label",2),J([(0,f.MZ)({type:Boolean})],X.prototype,"enableTabsScroll",2),J([(0,f.MZ)({type:Boolean,reflect:!0})],X.prototype,"quiet",2),J([(0,f.MZ)({attribute:!1})],X.prototype,"selectionIndicatorStyle",2),J([(0,f.MZ)({attribute:!1})],X.prototype,"shouldAnimate",2),J([(0,f.P)("slot")],X.prototype,"slotEl",2),J([(0,f.P)("#list")],X.prototype,"tabList",2),J([(0,f.MZ)({reflect:!0})],X.prototype,"selected",2),(0,$.e)("sp-tabs",X);class Y{constructor(t,{target:e,config:r,callback:o,skipInitial:s}){this.t=new Set,this.o=!1,this.i=!1,this.h=t,null!==e&&this.t.add(e??t),this.l=r,this.o=s??this.o,this.callback=o,window.MutationObserver?(this.u=new MutationObserver((t=>{this.handleChanges(t),this.h.requestUpdate()})),t.addController(this)):console.warn("MutationController error: browser does not support MutationObserver.")}handleChanges(t){this.value=this.callback?.(t,this.u)}hostConnected(){for(const t of this.t)this.observe(t)}hostDisconnected(){this.disconnect()}async hostUpdated(){const t=this.u.takeRecords();(t.length||!this.o&&this.i)&&this.handleChanges(t),this.i=!1}observe(t){this.t.add(t),this.u.observe(t,this.l),this.i=!0,this.h.requestUpdate()}disconnect(){this.u.disconnect()}}const Q=Symbol("slotContentIsPresent");function tt(t,e){var r,o;const s=Array.isArray(e)?e:[e];class c extends(o=t,r=Q,o){constructor(...t){super(t),this[r]=new Map,this.managePresenceObservedSlot=()=>{let t=!1;s.forEach((e=>{const r=!!this.querySelector(`:scope > ${e}`),o=this[Q].get(e)||!1;t=t||o!==r,this[Q].set(e,!!this.querySelector(`:scope > ${e}`))})),t&&this.updateComplete.then((()=>{this.requestUpdate()}))},new Y(this,{config:{childList:!0,subtree:!0},callback:()=>{this.managePresenceObservedSlot()}}),this.managePresenceObservedSlot()}get slotContentIsPresent(){if(1===s.length)return this[Q].get(s[0])||!1;throw new Error("Multiple selectors provided to `ObserveSlotPresence` use `getSlotContentPresence(selector: string)` instead.")}getSlotContentPresence(t){if(this[Q].has(t))return this[Q].get(t)||!1;throw new Error(`The provided selector \`${t}\` is not being observed.`)}}return c}var et=Object.defineProperty,rt=Object.getOwnPropertyDescriptor,ot=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?rt(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&et(e,r,c),c};const st=Symbol("assignedNodes");function ct(t,e,r=[]){var o,s;const c=t=>e=>t.matches(e);class a extends(s=t,o=st,s){constructor(...t){super(t),this.slotHasContent=!1,new Y(this,{config:{characterData:!0,subtree:!0},callback:t=>{for(const e of t)if("characterData"===e.type)return void this.manageTextObservedSlot()}})}manageTextObservedSlot(){if(!this[st])return;const t=[...this[st]].filter((t=>{const e=t;return e.tagName?!r.some(c(e)):!!e.textContent&&e.textContent.trim()}));this.slotHasContent=t.length>0}update(t){if(!this.hasUpdated){const{childNodes:t}=this,o=[...t].filter((t=>{const o=t;return o.tagName?!r.some(c(o))&&(e?o.getAttribute("slot")===e:!o.hasAttribute("slot")):!!o.textContent&&o.textContent.trim()}));this.slotHasContent=o.length>0}super.update(t)}firstUpdated(t){super.firstUpdated(t),this.updateComplete.then((()=>{this.manageTextObservedSlot()}))}}return ot([(0,f.MZ)({type:Boolean,attribute:!1})],a.prototype,"slotHasContent",2),ot([(0,f.gZ)({slot:e,flatten:!0})],a.prototype,o,2),a}var at=a(47);const it=i.AH`
     :host{box-sizing:border-box;block-size:calc(var(--mod-tabs-item-height,var(--spectrum-tabs-item-height)) - var(--mod-tabs-divider-size,var(--spectrum-tabs-divider-size)));z-index:1;white-space:nowrap;color:var(--highcontrast-tabs-color,var(--mod-tabs-color,var(--spectrum-tabs-color)));transition:color var(--mod-tabs-animation-duration,var(--spectrum-tabs-animation-duration))ease-out;cursor:pointer;outline:none;-webkit-text-decoration:none;text-decoration:none;position:relative}::slotted([slot=icon]){block-size:var(--mod-tabs-icon-size,var(--spectrum-tabs-icon-size));inline-size:var(--mod-tabs-icon-size,var(--spectrum-tabs-icon-size));margin-block-start:var(--mod-tabs-top-to-icon,var(--spectrum-tabs-top-to-icon))}[name=icon]+#item-label{margin-inline-start:var(--mod-tabs-icon-to-text,var(--spectrum-tabs-icon-to-text))}:host:before{content:"";box-sizing:border-box;block-size:calc(100% - var(--mod-tabs-top-to-text,var(--spectrum-tabs-top-to-text)));inline-size:calc(100% + var(--mod-tabs-focus-indicator-gap,var(--spectrum-tabs-focus-indicator-gap))*2);border:var(--mod-tabs-focus-indicator-width,var(--spectrum-tabs-focus-indicator-width))solid transparent;border-radius:var(--mod-tabs-focus-indicator-border-radius,var(--spectrum-tabs-focus-indicator-border-radius));pointer-events:none;position:absolute;inset-block-start:calc(var(--mod-tabs-top-to-text,var(--spectrum-tabs-top-to-text))/2);inset-inline-start:calc(var(--mod-tabs-focus-indicator-gap,var(--spectrum-tabs-focus-indicator-gap))*-1);inset-inline-end:calc(var(--mod-tabs-focus-indicator-gap,var(--spectrum-tabs-focus-indicator-gap))*-1)}@media (hover:hover){:host(:hover){color:var(--highcontrast-tabs-color-hover,var(--mod-tabs-color-hover,var(--spectrum-tabs-color-hover)))}}:host([selected]){color:var(--highcontrast-tabs-color-selected,var(--mod-tabs-color-selected,var(--spectrum-tabs-color-selected)))}:host([disabled]){cursor:default;color:var(--highcontrast-tabs-color-disabled,var(--mod-tabs-color-disabled,var(--spectrum-tabs-color-disabled)))}:host([disabled]) #item-label{cursor:default}:host(:focus-visible){color:var(--highcontrast-tabs-color-key-focus,var(--mod-tabs-color-key-focus,var(--spectrum-tabs-color-key-focus)))}:host(:focus-visible):before{border-color:var(--highcontrast-tabs-focus-indicator-color,var(--mod-tabs-focus-indicator-color,var(--spectrum-tabs-focus-indicator-color)))}#item-label{cursor:pointer;vertical-align:top;font-family:var(--mod-tabs-font-family,var(--spectrum-tabs-font-family));font-style:var(--mod-tabs-font-style,var(--spectrum-tabs-font-style));font-size:var(--mod-tabs-font-size,var(--spectrum-tabs-font-size));font-weight:var(--mod-tabs-font-weight,var(--spectrum-tabs-font-weight));line-height:var(--mod-tabs-line-height,var(--spectrum-tabs-line-height));margin-block-start:var(--mod-tabs-top-to-text,var(--spectrum-tabs-top-to-text));margin-block-end:var(--mod-tabs-bottom-to-text,var(--spectrum-tabs-bottom-to-text));-webkit-text-decoration:none;text-decoration:none;display:inline-block}#item-label:empty{display:none}:host{scroll-margin-inline:var(--mod-tabs-item-horizontal-spacing,var(--spectrum-tabs-item-horizontal-spacing))}:host([disabled]){pointer-events:none}#item-label[hidden]{display:none}@media (forced-colors:active){:host:before{background-color:buttonface}:host ::slotted([slot=icon]){z-index:1;color:inherit;position:relative}#item-label{z-index:1;position:relative}:host([selected]),:host([selected]) ::slotted([slot=icon]),:host([selected]) #item-label{color:highlighttext}}:host([vertical]){flex-direction:column;justify-content:center;align-items:center;height:auto;display:flex}:host([dir][vertical]) slot[name=icon]+#item-label{margin-inline-start:0;margin-block:calc(var(--mod-tabs-top-to-text,var(--spectrum-tabs-top-to-text))/2)calc(var(--mod-tabs-bottom-to-text,var(--spectrum-tabs-bottom-to-text))/2)}:host([vertical]) ::slotted([slot=icon]){margin-block-start:calc(var(--mod-tabs-top-to-icon,var(--spectrum-tabs-top-to-icon))/2)}
-`;var rt=Object.defineProperty,ot=Object.getOwnPropertyDescriptor,st=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?ot(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&rt(e,r,c),c};class ct extends(q(Q(W(m.w,'[slot="icon"]'),""))){constructor(){super(...arguments),this.disabled=!1,this.label="",this.selected=!1,this.vertical=!1,this.value=""}static get styles(){return[et]}get hasIcon(){return this.slotContentIsPresent}get hasLabel(){return!!this.label||this.slotHasContent}render(){return t.qy`
-            ${this.hasIcon?t.qy`
+`;var nt=Object.defineProperty,lt=Object.getOwnPropertyDescriptor,ut=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?lt(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&nt(e,r,c),c};class mt extends(P(ct(tt(v.w,'[slot="icon"]'),""))){constructor(){super(...arguments),this.disabled=!1,this.label="",this.selected=!1,this.vertical=!1,this.value=""}static get styles(){return[it]}get hasIcon(){return this.slotContentIsPresent}get hasLabel(){return!!this.label||this.slotHasContent}render(){return i.qy`
+            ${this.hasIcon?i.qy`
                       <slot name="icon"></slot>
-                  `:t.s6}
+                  `:i.s6}
             <label id="item-label" ?hidden=${!this.hasLabel}>
-                ${this.slotHasContent?t.s6:this.label}
+                ${this.slotHasContent?i.s6:this.label}
                 <slot>${this.label}</slot>
             </label>
-        `}firstUpdated(t){super.firstUpdated(t),this.setAttribute("role","tab"),this.hasAttribute("id")||(this.id=`sp-tab-${(0,tt.l)()}`)}updated(t){super.updated(t),t.has("selected")&&(this.setAttribute("aria-selected",this.selected?"true":"false"),this.setAttribute("tabindex",this.selected?"0":"-1")),t.has("disabled")&&(this.disabled?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled"))}}st([(0,d.MZ)({type:Boolean,reflect:!0})],ct.prototype,"disabled",2),st([(0,d.MZ)({reflect:!0})],ct.prototype,"label",2),st([(0,d.MZ)({type:Boolean,reflect:!0})],ct.prototype,"selected",2),st([(0,d.MZ)({type:Boolean,reflect:!0})],ct.prototype,"vertical",2),st([(0,d.MZ)({type:String,reflect:!0})],ct.prototype,"value",2),(0,x.e)("sp-tab",ct);const at=t.AH`
+        `}firstUpdated(t){super.firstUpdated(t),this.setAttribute("role","tab"),this.hasAttribute("id")||(this.id=`sp-tab-${(0,at.l)()}`)}updated(t){super.updated(t),t.has("selected")&&(this.setAttribute("aria-selected",this.selected?"true":"false"),this.setAttribute("tabindex",this.selected?"0":"-1")),t.has("disabled")&&(this.disabled?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled"))}}ut([(0,f.MZ)({type:Boolean,reflect:!0})],mt.prototype,"disabled",2),ut([(0,f.MZ)({reflect:!0})],mt.prototype,"label",2),ut([(0,f.MZ)({type:Boolean,reflect:!0})],mt.prototype,"selected",2),ut([(0,f.MZ)({type:Boolean,reflect:!0})],mt.prototype,"vertical",2),ut([(0,f.MZ)({type:String,reflect:!0})],mt.prototype,"value",2),(0,$.e)("sp-tab",mt);const dt=i.AH`
     :host{display:inline-flex}:host(:not([selected])){display:none}
-`;var it=Object.defineProperty,nt=Object.getOwnPropertyDescriptor,lt=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?nt(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&it(e,r,c),c};class ut extends m.w{constructor(){super(...arguments),this.selected=!1,this.value=""}handleFocusin(){this.removeAttribute("tabindex")}handleFocusout(){this.tabIndex=this.selected?0:-1}render(){return t.qy`
+`;var pt=Object.defineProperty,ht=Object.getOwnPropertyDescriptor,bt=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?ht(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&pt(e,r,c),c};class gt extends v.w{constructor(){super(...arguments),this.selected=!1,this.value=""}handleFocusin(){this.removeAttribute("tabindex")}handleFocusout(){this.tabIndex=this.selected?0:-1}render(){return i.qy`
             <slot
                 @focusin=${this.handleFocusin}
                 @focusout=${this.handleFocusout}
             ></slot>
-        `}firstUpdated(){this.slot="tab-panel",this.setAttribute("role","tabpanel"),this.tabIndex=0,this.hasAttribute("id")||(this.id=`sp-tab-panel-${(0,tt.l)()}`)}updated(t){t.has("selected")&&(this.selected?(this.removeAttribute("aria-hidden"),this.tabIndex=0):(this.setAttribute("aria-hidden","true"),this.tabIndex=-1))}}ut.styles=[at],lt([(0,d.MZ)({type:Boolean,reflect:!0})],ut.prototype,"selected",2),lt([(0,d.MZ)({type:String,reflect:!0})],ut.prototype,"value",2),(0,x.e)("sp-tab-panel",ut);var mt=Object.defineProperty,dt=Object.getOwnPropertyDescriptor,pt=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?dt(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&mt(e,r,c),c};function ht(e){class r extends e{renderAnchor({id:e,className:r,ariaHidden:o,labelledby:s,tabindex:c,anchorContent:a=t.qy`<slot></slot>`}){return t.qy`<a
-                    id=${e}
-                    class=${(0,S.J)(r)}
-                    href=${(0,S.J)(this.href)}
-                    download=${(0,S.J)(this.download)}
-                    target=${(0,S.J)(this.target)}
-                    aria-label=${(0,S.J)(this.label)}
-                    aria-labelledby=${(0,S.J)(s)}
-                    aria-hidden=${(0,S.J)(o?"true":void 0)}
-                    tabindex=${(0,S.J)(c)}
-                    referrerpolicy=${(0,S.J)(this.referrerpolicy)}
-                    rel=${(0,S.J)(this.rel)}
-                >${a}</a>`}}return pt([(0,d.MZ)()],r.prototype,"download",2),pt([(0,d.MZ)()],r.prototype,"label",2),pt([(0,d.MZ)()],r.prototype,"href",2),pt([(0,d.MZ)()],r.prototype,"target",2),pt([(0,d.MZ)()],r.prototype,"referrerpolicy",2),pt([(0,d.MZ)()],r.prototype,"rel",2),r}const bt=t.AH`
+        `}firstUpdated(){this.slot="tab-panel",this.setAttribute("role","tabpanel"),this.tabIndex=0,this.hasAttribute("id")||(this.id=`sp-tab-panel-${(0,at.l)()}`)}updated(t){t.has("selected")&&(this.selected?(this.removeAttribute("aria-hidden"),this.tabIndex=0):(this.setAttribute("aria-hidden","true"),this.tabIndex=-1))}}gt.styles=[dt],bt([(0,f.MZ)({type:Boolean,reflect:!0})],gt.prototype,"selected",2),bt([(0,f.MZ)({type:String,reflect:!0})],gt.prototype,"value",2),(0,$.e)("sp-tab-panel",gt);var vt=Object.defineProperty,ft=Object.getOwnPropertyDescriptor,kt=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?ft(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&vt(e,r,c),c};function yt(t){class e extends t{renderAnchor({id:t,className:e,ariaHidden:r,labelledby:o,tabindex:s,anchorContent:c=i.qy`<slot></slot>`}){return i.qy`<a
+                    id=${t}
+                    class=${(0,j.J)(e)}
+                    href=${(0,j.J)(this.href)}
+                    download=${(0,j.J)(this.download)}
+                    target=${(0,j.J)(this.target)}
+                    aria-label=${(0,j.J)(this.label)}
+                    aria-labelledby=${(0,j.J)(o)}
+                    aria-hidden=${(0,j.J)(r?"true":void 0)}
+                    tabindex=${(0,j.J)(s)}
+                    referrerpolicy=${(0,j.J)(this.referrerpolicy)}
+                    rel=${(0,j.J)(this.rel)}
+                >${c}</a>`}}return kt([(0,f.MZ)()],e.prototype,"download",2),kt([(0,f.MZ)()],e.prototype,"label",2),kt([(0,f.MZ)()],e.prototype,"href",2),kt([(0,f.MZ)()],e.prototype,"target",2),kt([(0,f.MZ)()],e.prototype,"referrerpolicy",2),kt([(0,f.MZ)()],e.prototype,"rel",2),e}const xt=i.AH`
     :host{vertical-align:top;--spectrum-progress-circle-size:var(--spectrum-workflow-icon-size-100);--spectrum-icon-size:var(--spectrum-workflow-icon-size-100);display:inline-flex}:host([dir]){-webkit-appearance:none}:host([disabled]){pointer-events:none;cursor:auto}#button{position:absolute;inset:0}::slotted(sp-overlay),::slotted(sp-tooltip){position:absolute}:host:after,::slotted(*){pointer-events:none}slot[name=icon]::slotted(svg),slot[name=icon]::slotted(img){fill:currentColor;stroke:currentColor;block-size:var(--spectrum-icon-size,var(--spectrum-workflow-icon-size-100));inline-size:var(--spectrum-icon-size,var(--spectrum-workflow-icon-size-100))}[icon-only]+#label{display:contents}:host([size=xs]){--spectrum-progress-circle-size:var(--spectrum-workflow-icon-size-50);--spectrum-icon-size:var(--spectrum-workflow-icon-size-50)}:host([size=s]){--spectrum-progress-circle-size:var(--spectrum-workflow-icon-size-75);--spectrum-icon-size:var(--spectrum-workflow-icon-size-75)}:host([size=l]){--spectrum-progress-circle-size:var(--spectrum-workflow-icon-size-200);--spectrum-icon-size:var(--spectrum-workflow-icon-size-200)}:host([size=xl]){--spectrum-progress-circle-size:var(--spectrum-workflow-icon-size-300);--spectrum-icon-size:var(--spectrum-workflow-icon-size-300)}:host([size=xxl]){--spectrum-progress-circle-size:var(--spectrum-workflow-icon-size-400);--spectrum-icon-size:var(--spectrum-workflow-icon-size-400)}
-`;var gt=Object.defineProperty,vt=Object.getOwnPropertyDescriptor,ft=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?vt(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&gt(e,r,c),c};class kt extends(Q(ht(H),"",["sp-overlay,sp-tooltip"])){constructor(){super(),this.active=!1,this.type="button",this.proxyFocus=this.proxyFocus.bind(this),this.addEventListener("click",this.handleClickCapture,{capture:!0})}static get styles(){return[bt]}get focusElement(){return this}get hasLabel(){return this.slotHasContent}get buttonContent(){return[t.qy`
+`;var wt=Object.defineProperty,zt=Object.getOwnPropertyDescriptor,Ct=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?zt(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&wt(e,r,c),c};class It extends(ct(yt(B),"",["sp-overlay,sp-tooltip"])){constructor(){super(),this.active=!1,this.type="button",this.proxyFocus=this.proxyFocus.bind(this),this.addEventListener("click",this.handleClickCapture,{capture:!0})}static get styles(){return[xt]}get focusElement(){return this}get hasLabel(){return this.slotHasContent}get buttonContent(){return[i.qy`
                 <slot name="icon" ?icon-only=${!this.hasLabel}></slot>
-            `,t.qy`
+            `,i.qy`
                 <span id="label">
                     <slot @slotchange=${this.manageTextObservedSlot}></slot>
                 </span>
-            `]}click(){this.disabled||this.shouldProxyClick()||super.click()}handleClickCapture(t){if(this.disabled)return t.preventDefault(),t.stopImmediatePropagation(),t.stopPropagation(),!1}proxyFocus(){this.focus()}shouldProxyClick(){let t=!1;if(this.anchorElement)this.anchorElement.click(),t=!0;else if("button"!==this.type){const e=document.createElement("button");e.type=this.type,this.insertAdjacentElement("afterend",e),e.click(),e.remove(),t=!0}return t}renderAnchor(){return t.qy`
+            `]}click(){this.disabled||this.shouldProxyClick()||super.click()}handleClickCapture(t){if(this.disabled)return t.preventDefault(),t.stopImmediatePropagation(),t.stopPropagation(),!1}proxyFocus(){this.focus()}shouldProxyClick(){let t=!1;if(this.anchorElement)this.anchorElement.click(),t=!0;else if("button"!==this.type){const e=document.createElement("button");e.type=this.type,this.insertAdjacentElement("afterend",e),e.click(),e.remove(),t=!0}return t}renderAnchor(){return i.qy`
             ${this.buttonContent}
             ${super.renderAnchor({id:"button",ariaHidden:!0,className:"button anchor hidden"})}
-        `}renderButton(){return t.qy`
+        `}renderButton(){return i.qy`
             ${this.buttonContent}
-        `}render(){return this.href&&this.href.length>0?this.renderAnchor():this.renderButton()}handleKeydown(t){const{code:e}=t;"Space"===e&&(t.preventDefault(),void 0===this.href&&(this.addEventListener("keyup",this.handleKeyup),this.active=!0))}handleKeypress(t){const{code:e}=t;switch(e){case"Enter":case"NumpadEnter":this.click()}}handleKeyup(t){const{code:e}=t;"Space"===e&&(this.removeEventListener("keyup",this.handleKeyup),this.active=!1,this.click())}manageAnchor(){this.href&&this.href.length>0?((!this.hasAttribute("role")||"button"===this.getAttribute("role"))&&this.setAttribute("role","link"),this.removeEventListener("click",this.shouldProxyClick)):((!this.hasAttribute("role")||"link"===this.getAttribute("role"))&&this.setAttribute("role","button"),this.addEventListener("click",this.shouldProxyClick))}firstUpdated(t){super.firstUpdated(t),this.hasAttribute("tabindex")||this.setAttribute("tabindex","0"),this.manageAnchor(),this.addEventListener("keydown",this.handleKeydown),this.addEventListener("keypress",this.handleKeypress)}updated(t){super.updated(t),t.has("href")&&this.manageAnchor(),t.has("label")&&this.setAttribute("aria-label",this.label||""),this.anchorElement&&(this.anchorElement.addEventListener("focus",this.proxyFocus),this.anchorElement.tabIndex=-1)}}ft([(0,d.MZ)({type:Boolean,reflect:!0})],kt.prototype,"active",2),ft([(0,d.MZ)({type:String})],kt.prototype,"type",2),ft([(0,d.P)(".anchor")],kt.prototype,"anchorElement",2);const yt=t.AH`
+        `}render(){return this.href&&this.href.length>0?this.renderAnchor():this.renderButton()}handleKeydown(t){const{code:e}=t;"Space"===e&&(t.preventDefault(),void 0===this.href&&(this.addEventListener("keyup",this.handleKeyup),this.active=!0))}handleKeypress(t){const{code:e}=t;switch(e){case"Enter":case"NumpadEnter":this.click()}}handleKeyup(t){const{code:e}=t;"Space"===e&&(this.removeEventListener("keyup",this.handleKeyup),this.active=!1,this.click())}manageAnchor(){this.href&&this.href.length>0?((!this.hasAttribute("role")||"button"===this.getAttribute("role"))&&this.setAttribute("role","link"),this.removeEventListener("click",this.shouldProxyClick)):((!this.hasAttribute("role")||"link"===this.getAttribute("role"))&&this.setAttribute("role","button"),this.addEventListener("click",this.shouldProxyClick))}firstUpdated(t){super.firstUpdated(t),this.hasAttribute("tabindex")||this.setAttribute("tabindex","0"),this.manageAnchor(),this.addEventListener("keydown",this.handleKeydown),this.addEventListener("keypress",this.handleKeypress)}updated(t){super.updated(t),t.has("href")&&this.manageAnchor(),t.has("label")&&this.setAttribute("aria-label",this.label||""),this.anchorElement&&(this.anchorElement.addEventListener("focus",this.proxyFocus),this.anchorElement.tabIndex=-1)}}Ct([(0,f.MZ)({type:Boolean,reflect:!0})],It.prototype,"active",2),Ct([(0,f.MZ)({type:String})],It.prototype,"type",2),Ct([(0,f.P)(".anchor")],It.prototype,"anchorElement",2);const St=i.AH`
     :host{cursor:pointer;-webkit-user-select:none;user-select:none;box-sizing:border-box;font-family:var(--mod-button-font-family,var(--mod-sans-font-family-stack,var(--spectrum-sans-font-family-stack)));line-height:var(--mod-button-line-height,var(--mod-line-height-100,var(--spectrum-line-height-100)));text-transform:none;vertical-align:top;-webkit-appearance:button;transition:background var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,border-color var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,color var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,box-shadow var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-style:solid;justify-content:center;align-items:center;margin:0;-webkit-text-decoration:none;text-decoration:none;display:inline-flex;overflow:visible}:host(:focus){outline:none}:host([disabled]),:host([disabled]){cursor:default}::slotted([slot=icon]){flex-shrink:0;max-block-size:100%}#label{text-align:center;place-self:center}#label:empty{display:none}:host{--spectrum-actionbutton-animation-duration:var(--spectrum-animation-duration-100);--spectrum-actionbutton-border-radius:var(--spectrum-corner-radius-100);--spectrum-actionbutton-border-width:var(--spectrum-border-width-100);--spectrum-actionbutton-content-color-default:var(--spectrum-neutral-content-color-default);--spectrum-actionbutton-content-color-hover:var(--spectrum-neutral-content-color-hover);--spectrum-actionbutton-content-color-down:var(--spectrum-neutral-content-color-down);--spectrum-actionbutton-content-color-focus:var(--spectrum-neutral-content-color-key-focus);--spectrum-actionbutton-focus-indicator-gap:var(--spectrum-focus-indicator-gap);--spectrum-actionbutton-focus-indicator-thickness:var(--spectrum-focus-indicator-thickness);--spectrum-actionbutton-focus-indicator-color:var(--spectrum-focus-indicator-color);--spectrum-actionbutton-focus-indicator-border-radius:calc(var(--spectrum-actionbutton-border-radius) + var(--spectrum-actionbutton-focus-indicator-gap))}:host:dir(rtl),:host([dir=rtl]){--spectrum-logical-rotation:matrix(-1,0,0,1,0,0)}:host([selected]){--mod-actionbutton-background-color-default:var(--mod-actionbutton-background-color-default-selected,var(--spectrum-neutral-background-color-selected-default));--mod-actionbutton-background-color-hover:var(--mod-actionbutton-background-color-hover-selected,var(--spectrum-neutral-background-color-selected-hover));--mod-actionbutton-background-color-down:var(--mod-actionbutton-background-color-down-selected,var(--spectrum-neutral-background-color-selected-down));--mod-actionbutton-background-color-focus:var(--mod-actionbutton-background-color-focus-selected,var(--spectrum-neutral-background-color-selected-key-focus));--mod-actionbutton-content-color-default:var(--mod-actionbutton-content-color-default-selected,var(--spectrum-gray-50));--mod-actionbutton-content-color-hover:var(--mod-actionbutton-content-color-hover-selected,var(--spectrum-gray-50));--mod-actionbutton-content-color-down:var(--mod-actionbutton-content-color-down-selected,var(--spectrum-gray-50));--mod-actionbutton-content-color-focus:var(--mod-actionbutton-content-color-focus-selected,var(--spectrum-gray-50))}:host([selected][emphasized]){--mod-actionbutton-background-color-default:var(--mod-actionbutton-background-color-default-selected-emphasized,var(--spectrum-accent-background-color-default));--mod-actionbutton-background-color-hover:var(--mod-actionbutton-background-color-hover-selected-emphasized,var(--spectrum-accent-background-color-hover));--mod-actionbutton-background-color-down:var(--mod-actionbutton-background-color-down-selected-emphasized,var(--spectrum-accent-background-color-down));--mod-actionbutton-background-color-focus:var(--mod-actionbutton-background-color-focus-selected-emphasized,var(--spectrum-accent-background-color-key-focus));--mod-actionbutton-content-color-default:var(--mod-actionbutton-content-color-default-selected-emphasized,var(--spectrum-white));--mod-actionbutton-content-color-hover:var(--mod-actionbutton-content-color-hover-selected-emphasized,var(--spectrum-white));--mod-actionbutton-content-color-down:var(--mod-actionbutton-content-color-down-selected-emphasized,var(--spectrum-white));--mod-actionbutton-content-color-focus:var(--mod-actionbutton-content-color-focus-selected-emphasized,var(--spectrum-white))}:host([size=xs]){--spectrum-actionbutton-min-width:calc(var(--spectrum-component-edge-to-visual-only-50)*2 + var(--spectrum-workflow-icon-size-50));--spectrum-actionbutton-height:var(--spectrum-component-height-50);--spectrum-actionbutton-icon-size:var(--spectrum-workflow-icon-size-50);--spectrum-actionbutton-font-size:var(--spectrum-font-size-50);--spectrum-actionbutton-text-to-visual:var(--spectrum-text-to-visual-50);--spectrum-actionbutton-edge-to-hold-icon:var(--spectrum-action-button-edge-to-hold-icon-extra-small);--spectrum-actionbutton-edge-to-visual:calc(var(--spectrum-component-edge-to-visual-50) - var(--spectrum-actionbutton-border-width));--spectrum-actionbutton-edge-to-text:calc(var(--spectrum-component-edge-to-text-50) - var(--spectrum-actionbutton-border-width));--spectrum-actionbutton-edge-to-visual-only:calc(var(--spectrum-component-edge-to-visual-only-50) - var(--spectrum-actionbutton-border-width))}:host([size=s]){--spectrum-actionbutton-min-width:calc(var(--spectrum-component-edge-to-visual-only-75)*2 + var(--spectrum-workflow-icon-size-75));--spectrum-actionbutton-height:var(--spectrum-component-height-75);--spectrum-actionbutton-icon-size:var(--spectrum-workflow-icon-size-75);--spectrum-actionbutton-font-size:var(--spectrum-font-size-75);--spectrum-actionbutton-text-to-visual:var(--spectrum-text-to-visual-75);--spectrum-actionbutton-edge-to-hold-icon:var(--spectrum-action-button-edge-to-hold-icon-small);--spectrum-actionbutton-edge-to-visual:calc(var(--spectrum-component-edge-to-visual-75) - var(--spectrum-actionbutton-border-width));--spectrum-actionbutton-edge-to-text:calc(var(--spectrum-component-edge-to-text-75) - var(--spectrum-actionbutton-border-width));--spectrum-actionbutton-edge-to-visual-only:calc(var(--spectrum-component-edge-to-visual-only-75) - var(--spectrum-actionbutton-border-width))}:host{--spectrum-actionbutton-min-width:calc(var(--spectrum-component-edge-to-visual-only-100)*2 + var(--spectrum-workflow-icon-size-100));--spectrum-actionbutton-height:var(--spectrum-component-height-100);--spectrum-actionbutton-icon-size:var(--spectrum-workflow-icon-size-100);--spectrum-actionbutton-font-size:var(--spectrum-font-size-100);--spectrum-actionbutton-text-to-visual:var(--spectrum-text-to-visual-100);--spectrum-actionbutton-edge-to-hold-icon:var(--spectrum-action-button-edge-to-hold-icon-medium);--spectrum-actionbutton-edge-to-visual:calc(var(--spectrum-component-edge-to-visual-100) - var(--spectrum-actionbutton-border-width));--spectrum-actionbutton-edge-to-text:calc(var(--spectrum-component-edge-to-text-100) - var(--spectrum-actionbutton-border-width));--spectrum-actionbutton-edge-to-visual-only:calc(var(--spectrum-component-edge-to-visual-only-100) - var(--spectrum-actionbutton-border-width))}:host([size=l]){--spectrum-actionbutton-min-width:calc(var(--spectrum-component-edge-to-visual-only-200)*2 + var(--spectrum-workflow-icon-size-200));--spectrum-actionbutton-height:var(--spectrum-component-height-200);--spectrum-actionbutton-icon-size:var(--spectrum-workflow-icon-size-200);--spectrum-actionbutton-font-size:var(--spectrum-font-size-200);--spectrum-actionbutton-text-to-visual:var(--spectrum-text-to-visual-200);--spectrum-actionbutton-edge-to-hold-icon:var(--spectrum-action-button-edge-to-hold-icon-large);--spectrum-actionbutton-edge-to-visual:calc(var(--spectrum-component-edge-to-visual-200) - var(--spectrum-actionbutton-border-width));--spectrum-actionbutton-edge-to-text:calc(var(--spectrum-component-edge-to-text-200) - var(--spectrum-actionbutton-border-width));--spectrum-actionbutton-edge-to-visual-only:calc(var(--spectrum-component-edge-to-visual-only-200) - var(--spectrum-actionbutton-border-width))}:host([size=xl]){--spectrum-actionbutton-min-width:calc(var(--spectrum-component-edge-to-visual-only-300)*2 + var(--spectrum-workflow-icon-size-300));--spectrum-actionbutton-height:var(--spectrum-component-height-300);--spectrum-actionbutton-icon-size:var(--spectrum-workflow-icon-size-300);--spectrum-actionbutton-font-size:var(--spectrum-font-size-300);--spectrum-actionbutton-text-to-visual:var(--spectrum-text-to-visual-300);--spectrum-actionbutton-edge-to-hold-icon:var(--spectrum-action-button-edge-to-hold-icon-extra-large);--spectrum-actionbutton-edge-to-visual:calc(var(--spectrum-component-edge-to-visual-300) - var(--spectrum-actionbutton-border-width));--spectrum-actionbutton-edge-to-text:calc(var(--spectrum-component-edge-to-text-300) - var(--spectrum-actionbutton-border-width));--spectrum-actionbutton-edge-to-visual-only:calc(var(--spectrum-component-edge-to-visual-only-300) - var(--spectrum-actionbutton-border-width))}@media (forced-colors:active){:host{--highcontrast-actionbutton-focus-indicator-color:ButtonText}:host:after{forced-color-adjust:none}:host([selected]){--highcontrast-actionbutton-background-color-default:Highlight;--highcontrast-actionbutton-background-color-hover:Highlight;--highcontrast-actionbutton-background-color-focus:Highlight;--highcontrast-actionbutton-background-color-down:Highlight;--highcontrast-actionbutton-background-color-disabled:ButtonFace;--highcontrast-actionbutton-border-color-default:HighlightText;--highcontrast-actionbutton-border-color-hover:HighlightText;--highcontrast-actionbutton-border-color-focus:HighlightText;--highcontrast-actionbutton-border-color-down:HighlightText;--highcontrast-actionbutton-border-color-disabled:GrayText;--highcontrast-actionbutton-content-color-default:HighlightText;--highcontrast-actionbutton-content-color-hover:HighlightText;--highcontrast-actionbutton-content-color-focus:HighlightText;--highcontrast-actionbutton-content-color-down:HighlightText;--highcontrast-actionbutton-content-color-disabled:GrayText}:host([selected]) .hold-affordance,:host([selected]) ::slotted([slot=icon]),:host([selected]) #label{forced-color-adjust:none}}:host{min-inline-size:var(--mod-actionbutton-min-width,var(--spectrum-actionbutton-min-width));block-size:var(--mod-actionbutton-height,var(--spectrum-actionbutton-height));border-radius:var(--mod-actionbutton-border-radius,var(--spectrum-actionbutton-border-radius));border-width:var(--mod-actionbutton-border-width,var(--spectrum-actionbutton-border-width));gap:calc(var(--mod-actionbutton-text-to-visual,var(--spectrum-actionbutton-text-to-visual)) + var(--mod-actionbutton-edge-to-text,var(--spectrum-actionbutton-edge-to-text)) - var(--mod-actionbutton-edge-to-visual-only,var(--spectrum-actionbutton-edge-to-visual-only)));padding-inline:var(--mod-actionbutton-edge-to-text,var(--spectrum-actionbutton-edge-to-text));background-color:var(--highcontrast-actionbutton-background-color-default,var(--mod-actionbutton-background-color-default,var(--spectrum-actionbutton-background-color-default)));border-color:var(--highcontrast-actionbutton-border-color-default,var(--mod-actionbutton-border-color-default,var(--spectrum-actionbutton-border-color-default)));color:var(--highcontrast-actionbutton-content-color-default,var(--mod-actionbutton-content-color-default,var(--spectrum-actionbutton-content-color-default)));position:relative}@media (hover:hover){:host(:hover){background-color:var(--highcontrast-actionbutton-background-color-hover,var(--mod-actionbutton-background-color-hover,var(--spectrum-actionbutton-background-color-hover)));border-color:var(--highcontrast-actionbutton-border-color-hover,var(--mod-actionbutton-border-color-hover,var(--spectrum-actionbutton-border-color-hover)));color:var(--highcontrast-actionbutton-content-color-hover,var(--mod-actionbutton-content-color-hover,var(--spectrum-actionbutton-content-color-hover)))}}:host(:focus-visible){background-color:var(--highcontrast-actionbutton-background-color-focus,var(--mod-actionbutton-background-color-focus,var(--spectrum-actionbutton-background-color-focus)));border-color:var(--highcontrast-actionbutton-border-color-focus,var(--mod-actionbutton-border-color-focus,var(--spectrum-actionbutton-border-color-focus)));color:var(--highcontrast-actionbutton-content-color-focus,var(--mod-actionbutton-content-color-focus,var(--spectrum-actionbutton-content-color-focus)))}:host(:is(:active,[active])){background-color:var(--highcontrast-actionbutton-background-color-down,var(--mod-actionbutton-background-color-down,var(--spectrum-actionbutton-background-color-down)));border-color:var(--highcontrast-actionbutton-border-color-down,var(--mod-actionbutton-border-color-down,var(--spectrum-actionbutton-border-color-down)));color:var(--highcontrast-actionbutton-content-color-down,var(--mod-actionbutton-content-color-down,var(--spectrum-actionbutton-content-color-down)))}:host([disabled]),:host([disabled]){background-color:var(--highcontrast-actionbutton-background-color-disabled,var(--mod-actionbutton-background-color-disabled,var(--spectrum-actionbutton-background-color-disabled)));border-color:var(--highcontrast-actionbutton-border-color-disabled,var(--mod-actionbutton-border-color-disabled,var(--spectrum-actionbutton-border-color-disabled)));color:var(--highcontrast-actionbutton-content-color-disabled,var(--mod-actionbutton-content-color-disabled,var(--spectrum-actionbutton-content-color-disabled)))}::slotted([slot=icon]){inline-size:var(--mod-actionbutton-icon-size,var(--spectrum-actionbutton-icon-size));block-size:var(--mod-actionbutton-icon-size,var(--spectrum-actionbutton-icon-size));color:inherit;margin-inline-start:calc(var(--mod-actionbutton-edge-to-visual,var(--spectrum-actionbutton-edge-to-visual)) - var(--mod-actionbutton-edge-to-text,var(--spectrum-actionbutton-edge-to-text)));margin-inline-end:calc(var(--mod-actionbutton-edge-to-visual-only,var(--spectrum-actionbutton-edge-to-visual-only)) - var(--mod-actionbutton-edge-to-text,var(--spectrum-actionbutton-edge-to-text)))}.hold-affordance+::slotted([slot=icon]),[icon-only]::slotted([slot=icon]){margin-inline-start:calc(var(--mod-actionbutton-edge-to-visual-only,var(--spectrum-actionbutton-edge-to-visual-only)) - var(--mod-actionbutton-edge-to-text,var(--spectrum-actionbutton-edge-to-text)))}#label{pointer-events:none;font-size:var(--mod-actionbutton-font-size,var(--spectrum-actionbutton-font-size));white-space:nowrap;color:var(--mod-actionbutton-label-color,inherit);text-overflow:ellipsis;overflow:hidden}.hold-affordance{color:inherit;transform:var(--spectrum-logical-rotation);position:absolute;inset-block-end:calc(var(--mod-actionbutton-edge-to-hold-icon,var(--spectrum-actionbutton-edge-to-hold-icon)) - var(--mod-actionbutton-border-width,var(--spectrum-actionbutton-border-width)));inset-inline-end:calc(var(--mod-actionbutton-edge-to-hold-icon,var(--spectrum-actionbutton-edge-to-hold-icon)) - var(--mod-actionbutton-border-width,var(--spectrum-actionbutton-border-width)))}:host{transition:border-color var(--mod-actionbutton-animation-duration,var(--spectrum-actionbutton-animation-duration))ease-in-out}:host:after{margin:calc(( var(--mod-actionbutton-focus-indicator-gap,var(--spectrum-actionbutton-focus-indicator-gap)) + var(--mod-actionbutton-border-width,var(--spectrum-actionbutton-border-width)))*-1);border-radius:var(--mod-actionbutton-focus-indicator-border-radius,var(--spectrum-actionbutton-focus-indicator-border-radius));transition:box-shadow var(--mod-actionbutton-animation-duration,var(--spectrum-actionbutton-animation-duration))ease-in-out;pointer-events:none;content:"";position:absolute;inset:0}:host(:focus-visible){box-shadow:none;outline:none}:host(:focus-visible):after{box-shadow:0 0 0 var(--mod-actionbutton-focus-indicator-thickness,var(--spectrum-actionbutton-focus-indicator-thickness))var(--highcontrast-actionbutton-focus-indicator-color,var(--mod-actionbutton-focus-indicator-color,var(--spectrum-actionbutton-focus-indicator-color)))}:host{--spectrum-actionbutton-background-color-default:var(--system-spectrum-actionbutton-background-color-default);--spectrum-actionbutton-background-color-hover:var(--system-spectrum-actionbutton-background-color-hover);--spectrum-actionbutton-background-color-down:var(--system-spectrum-actionbutton-background-color-down);--spectrum-actionbutton-background-color-focus:var(--system-spectrum-actionbutton-background-color-focus);--spectrum-actionbutton-border-color-default:var(--system-spectrum-actionbutton-border-color-default);--spectrum-actionbutton-border-color-hover:var(--system-spectrum-actionbutton-border-color-hover);--spectrum-actionbutton-border-color-down:var(--system-spectrum-actionbutton-border-color-down);--spectrum-actionbutton-border-color-focus:var(--system-spectrum-actionbutton-border-color-focus);--spectrum-actionbutton-background-color-disabled:var(--system-spectrum-actionbutton-background-color-disabled);--spectrum-actionbutton-border-color-disabled:var(--system-spectrum-actionbutton-border-color-disabled);--spectrum-actionbutton-content-color-disabled:var(--system-spectrum-actionbutton-content-color-disabled)}:host([quiet]){--spectrum-actionbutton-background-color-default:var(--system-spectrum-actionbutton-quiet-background-color-default);--spectrum-actionbutton-background-color-hover:var(--system-spectrum-actionbutton-quiet-background-color-hover);--spectrum-actionbutton-background-color-down:var(--system-spectrum-actionbutton-quiet-background-color-down);--spectrum-actionbutton-background-color-focus:var(--system-spectrum-actionbutton-quiet-background-color-focus);--spectrum-actionbutton-border-color-default:var(--system-spectrum-actionbutton-quiet-border-color-default);--spectrum-actionbutton-border-color-hover:var(--system-spectrum-actionbutton-quiet-border-color-hover);--spectrum-actionbutton-border-color-down:var(--system-spectrum-actionbutton-quiet-border-color-down);--spectrum-actionbutton-border-color-focus:var(--system-spectrum-actionbutton-quiet-border-color-focus);--spectrum-actionbutton-background-color-disabled:var(--system-spectrum-actionbutton-quiet-background-color-disabled);--spectrum-actionbutton-border-color-disabled:var(--system-spectrum-actionbutton-quiet-border-color-disabled)}:host([selected]){--spectrum-actionbutton-border-color-default:var(--system-spectrum-actionbutton-selected-border-color-default);--spectrum-actionbutton-border-color-hover:var(--system-spectrum-actionbutton-selected-border-color-hover);--spectrum-actionbutton-border-color-down:var(--system-spectrum-actionbutton-selected-border-color-down);--spectrum-actionbutton-border-color-focus:var(--system-spectrum-actionbutton-selected-border-color-focus);--spectrum-actionbutton-background-color-disabled:var(--system-spectrum-actionbutton-selected-background-color-disabled);--spectrum-actionbutton-border-color-disabled:var(--system-spectrum-actionbutton-selected-border-color-disabled)}:host([static=black][quiet]){--spectrum-actionbutton-border-color-default:var(--system-spectrum-actionbutton-staticblack-quiet-border-color-default);--spectrum-actionbutton-border-color-hover:var(--system-spectrum-actionbutton-staticblack-quiet-border-color-hover);--spectrum-actionbutton-border-color-down:var(--system-spectrum-actionbutton-staticblack-quiet-border-color-down);--spectrum-actionbutton-border-color-focus:var(--system-spectrum-actionbutton-staticblack-quiet-border-color-focus);--spectrum-actionbutton-border-color-disabled:var(--system-spectrum-actionbutton-staticblack-quiet-border-color-disabled)}:host([static=white][quiet]){--spectrum-actionbutton-border-color-default:var(--system-spectrum-actionbutton-staticwhite-quiet-border-color-default);--spectrum-actionbutton-border-color-hover:var(--system-spectrum-actionbutton-staticwhite-quiet-border-color-hover);--spectrum-actionbutton-border-color-down:var(--system-spectrum-actionbutton-staticwhite-quiet-border-color-down);--spectrum-actionbutton-border-color-focus:var(--system-spectrum-actionbutton-staticwhite-quiet-border-color-focus);--spectrum-actionbutton-border-color-disabled:var(--system-spectrum-actionbutton-staticwhite-quiet-border-color-disabled)}:host([static=black]){--spectrum-actionbutton-background-color-default:var(--system-spectrum-actionbutton-staticblack-background-color-default);--spectrum-actionbutton-background-color-hover:var(--system-spectrum-actionbutton-staticblack-background-color-hover);--spectrum-actionbutton-background-color-down:var(--system-spectrum-actionbutton-staticblack-background-color-down);--spectrum-actionbutton-background-color-focus:var(--system-spectrum-actionbutton-staticblack-background-color-focus);--spectrum-actionbutton-border-color-default:var(--system-spectrum-actionbutton-staticblack-border-color-default);--spectrum-actionbutton-border-color-hover:var(--system-spectrum-actionbutton-staticblack-border-color-hover);--spectrum-actionbutton-border-color-down:var(--system-spectrum-actionbutton-staticblack-border-color-down);--spectrum-actionbutton-border-color-focus:var(--system-spectrum-actionbutton-staticblack-border-color-focus);--spectrum-actionbutton-content-color-default:var(--system-spectrum-actionbutton-staticblack-content-color-default);--spectrum-actionbutton-content-color-hover:var(--system-spectrum-actionbutton-staticblack-content-color-hover);--spectrum-actionbutton-content-color-down:var(--system-spectrum-actionbutton-staticblack-content-color-down);--spectrum-actionbutton-content-color-focus:var(--system-spectrum-actionbutton-staticblack-content-color-focus);--spectrum-actionbutton-focus-indicator-color:var(--system-spectrum-actionbutton-staticblack-focus-indicator-color);--spectrum-actionbutton-background-color-disabled:var(--system-spectrum-actionbutton-staticblack-background-color-disabled);--spectrum-actionbutton-border-color-disabled:var(--system-spectrum-actionbutton-staticblack-border-color-disabled);--spectrum-actionbutton-content-color-disabled:var(--system-spectrum-actionbutton-staticblack-content-color-disabled)}:host([static=black][selected]){--mod-actionbutton-background-color-default:var(--system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-default);--mod-actionbutton-background-color-hover:var(--system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-hover);--mod-actionbutton-background-color-down:var(--system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-down);--mod-actionbutton-background-color-focus:var(--system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-focus);--mod-actionbutton-content-color-default:var(--mod-actionbutton-static-content-color,var(--system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-content-color-default));--mod-actionbutton-content-color-hover:var(--mod-actionbutton-static-content-color,var(--system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-content-color-hover));--mod-actionbutton-content-color-down:var(--mod-actionbutton-static-content-color,var(--system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-content-color-down));--mod-actionbutton-content-color-focus:var(--mod-actionbutton-static-content-color,var(--system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-content-color-focus));--mod-actionbutton-background-color-disabled:var(--system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-disabled);--mod-actionbutton-border-color-disabled:var(--system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-border-color-disabled)}:host([static=white]){--spectrum-actionbutton-background-color-default:var(--system-spectrum-actionbutton-staticwhite-background-color-default);--spectrum-actionbutton-background-color-hover:var(--system-spectrum-actionbutton-staticwhite-background-color-hover);--spectrum-actionbutton-background-color-down:var(--system-spectrum-actionbutton-staticwhite-background-color-down);--spectrum-actionbutton-background-color-focus:var(--system-spectrum-actionbutton-staticwhite-background-color-focus);--spectrum-actionbutton-border-color-default:var(--system-spectrum-actionbutton-staticwhite-border-color-default);--spectrum-actionbutton-border-color-hover:var(--system-spectrum-actionbutton-staticwhite-border-color-hover);--spectrum-actionbutton-border-color-down:var(--system-spectrum-actionbutton-staticwhite-border-color-down);--spectrum-actionbutton-border-color-focus:var(--system-spectrum-actionbutton-staticwhite-border-color-focus);--spectrum-actionbutton-content-color-default:var(--system-spectrum-actionbutton-staticwhite-content-color-default);--spectrum-actionbutton-content-color-hover:var(--system-spectrum-actionbutton-staticwhite-content-color-hover);--spectrum-actionbutton-content-color-down:var(--system-spectrum-actionbutton-staticwhite-content-color-down);--spectrum-actionbutton-content-color-focus:var(--system-spectrum-actionbutton-staticwhite-content-color-focus);--spectrum-actionbutton-focus-indicator-color:var(--system-spectrum-actionbutton-staticwhite-focus-indicator-color);--spectrum-actionbutton-background-color-disabled:var(--system-spectrum-actionbutton-staticwhite-background-color-disabled);--spectrum-actionbutton-border-color-disabled:var(--system-spectrum-actionbutton-staticwhite-border-color-disabled);--spectrum-actionbutton-content-color-disabled:var(--system-spectrum-actionbutton-staticwhite-content-color-disabled)}:host([static=white][selected]){--mod-actionbutton-background-color-default:var(--system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-default);--mod-actionbutton-background-color-hover:var(--system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-hover);--mod-actionbutton-background-color-down:var(--system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-down);--mod-actionbutton-background-color-focus:var(--system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-focus);--mod-actionbutton-content-color-default:var(--mod-actionbutton-static-content-color,var(--system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-content-color-default));--mod-actionbutton-content-color-hover:var(--mod-actionbutton-static-content-color,var(--system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-content-color-hover));--mod-actionbutton-content-color-down:var(--mod-actionbutton-static-content-color,var(--system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-content-color-down));--mod-actionbutton-content-color-focus:var(--mod-actionbutton-static-content-color,var(--system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-content-color-focus));--mod-actionbutton-background-color-disabled:var(--system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-disabled);--mod-actionbutton-border-color-disabled:var(--system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-border-color-disabled)}::slotted([slot=icon]){flex-shrink:0}#label{flex-grow:var(--spectrum-actionbutton-label-flex-grow);text-align:var(--spectrum-actionbutton-label-text-align);pointer-events:none!important}:host([size=xs]){min-width:var(--spectrum-actionbutton-height,0)}@media (forced-colors:active){:host{--highcontrast-actionbutton-border-color-disabled:GrayText;--highcontrast-actionbutton-content-color-disabled:GrayText}}
-`,xt=t.AH`
+`,$t=i.AH`
     .spectrum-UIIcon-CornerTriangle75{--spectrum-icon-size:var(--spectrum-corner-triangle-icon-size-75)}.spectrum-UIIcon-CornerTriangle100{--spectrum-icon-size:var(--spectrum-corner-triangle-icon-size-100)}.spectrum-UIIcon-CornerTriangle200{--spectrum-icon-size:var(--spectrum-corner-triangle-icon-size-200)}.spectrum-UIIcon-CornerTriangle300{--spectrum-icon-size:var(--spectrum-corner-triangle-icon-size-300)}
-`;let wt;const zt=function(t,...e){return wt?wt(t,...e):e.reduce(((e,r,o)=>e+r+t[o+1]),t[0])},Ct=t=>{wt=t};(0,x.e)("sp-icon-corner-triangle300",class extends v{render(){return Ct(t.qy),(({width:t=24,height:e=24,title:r="Corner Triangle300"}={})=>zt`<svg
+`;let At;const Et=function(t,...e){return At?At(t,...e):e.reduce(((e,r,o)=>e+r+t[o+1]),t[0])},qt=t=>{At=t};(0,$.e)("sp-icon-corner-triangle300",class extends z{render(){return qt(i.qy),(({width:t=24,height:e=24,title:r="Corner Triangle300"}={})=>Et`<svg
     xmlns="http://www.w3.org/2000/svg"
     viewBox="0 0 7 7"
     aria-hidden="true"
@@ -167,26 +167,26 @@ governing permissions and limitations under the License.
     <path
       d="M6.683.67a.32.32 0 0 0-.223.093l-5.7 5.7a.316.316 0 0 0 .224.54h5.7A.316.316 0 0 0 7 6.687V.986A.316.316 0 0 0 6.684.67z"
     />
-  </svg>`)()}});var It=Object.defineProperty,St=Object.getOwnPropertyDescriptor,$t=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?St(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&It(e,r,c),c};const At={xs:"spectrum-UIIcon-CornerTriangle75",s:"spectrum-UIIcon-CornerTriangle75",m:"spectrum-UIIcon-CornerTriangle100",l:"spectrum-UIIcon-CornerTriangle200",xl:"spectrum-UIIcon-CornerTriangle300"};let Et;class qt extends((0,w.Z)(kt,{validSizes:["xs","s","m","l","xl"],noDefaultSize:!0})){constructor(){super(),this.emphasized=!1,this.holdAffordance=!1,this.quiet=!1,this.role="button",this.selected=!1,this.toggles=!1,this._value="",this.onClick=()=>{this.toggles&&(this.selected=!this.selected,this.dispatchEvent(new Event("change",{cancelable:!0,bubbles:!0,composed:!0}))||(this.selected=!this.selected))},this.addEventListener("click",this.onClick)}static get styles(){return[...super.styles,yt,xt]}get value(){return this._value||this.itemText}set value(t){t!==this._value&&(this._value=t||"",this._value?this.setAttribute("value",this._value):this.removeAttribute("value"))}get itemText(){return(this.textContent||"").trim()}handlePointerdownHoldAffordance(t){0===t.button&&(this.addEventListener("pointerup",this.handlePointerupHoldAffordance),this.addEventListener("pointercancel",this.handlePointerupHoldAffordance),Et=setTimeout((()=>{this.dispatchEvent(new CustomEvent("longpress",{bubbles:!0,composed:!0,detail:{source:"pointer"}}))}),300))}handlePointerupHoldAffordance(){clearTimeout(Et),this.removeEventListener("pointerup",this.handlePointerupHoldAffordance),this.removeEventListener("pointercancel",this.handlePointerupHoldAffordance)}handleKeydown(t){if(!this.holdAffordance)return super.handleKeydown(t);const{code:e,altKey:r}=t;("Space"===e||r&&"ArrowDown"===e)&&(t.preventDefault(),"ArrowDown"===e&&(t.stopPropagation(),t.stopImmediatePropagation()),this.addEventListener("keyup",this.handleKeyup),this.active=!0)}handleKeyup(t){if(!this.holdAffordance)return super.handleKeyup(t);const{code:e,altKey:r}=t;("Space"===e||r&&"ArrowDown"===e)&&(t.stopPropagation(),this.dispatchEvent(new CustomEvent("longpress",{bubbles:!0,composed:!0,detail:{source:"keyboard"}})),this.active=!1)}get buttonContent(){const e=super.buttonContent;return this.holdAffordance&&e.unshift(t.qy`
+  </svg>`)()}});var Tt=Object.defineProperty,jt=Object.getOwnPropertyDescriptor,Mt=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?jt(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&Tt(e,r,c),c};const _t={xs:"spectrum-UIIcon-CornerTriangle75",s:"spectrum-UIIcon-CornerTriangle75",m:"spectrum-UIIcon-CornerTriangle100",l:"spectrum-UIIcon-CornerTriangle200",xl:"spectrum-UIIcon-CornerTriangle300"};let Ht;class Pt extends((0,A.Z)(It,{validSizes:["xs","s","m","l","xl"],noDefaultSize:!0})){constructor(){super(),this.emphasized=!1,this.holdAffordance=!1,this.quiet=!1,this.role="button",this.selected=!1,this.toggles=!1,this._value="",this.onClick=()=>{this.toggles&&(this.selected=!this.selected,this.dispatchEvent(new Event("change",{cancelable:!0,bubbles:!0,composed:!0}))||(this.selected=!this.selected))},this.addEventListener("click",this.onClick)}static get styles(){return[...super.styles,St,$t]}get value(){return this._value||this.itemText}set value(t){t!==this._value&&(this._value=t||"",this._value?this.setAttribute("value",this._value):this.removeAttribute("value"))}get itemText(){return(this.textContent||"").trim()}handlePointerdownHoldAffordance(t){0===t.button&&(this.addEventListener("pointerup",this.handlePointerupHoldAffordance),this.addEventListener("pointercancel",this.handlePointerupHoldAffordance),Ht=setTimeout((()=>{this.dispatchEvent(new CustomEvent("longpress",{bubbles:!0,composed:!0,detail:{source:"pointer"}}))}),300))}handlePointerupHoldAffordance(){clearTimeout(Ht),this.removeEventListener("pointerup",this.handlePointerupHoldAffordance),this.removeEventListener("pointercancel",this.handlePointerupHoldAffordance)}handleKeydown(t){if(!this.holdAffordance)return super.handleKeydown(t);const{code:e,altKey:r}=t;("Space"===e||r&&"ArrowDown"===e)&&(t.preventDefault(),"ArrowDown"===e&&(t.stopPropagation(),t.stopImmediatePropagation()),this.addEventListener("keyup",this.handleKeyup),this.active=!0)}handleKeyup(t){if(!this.holdAffordance)return super.handleKeyup(t);const{code:e,altKey:r}=t;("Space"===e||r&&"ArrowDown"===e)&&(t.stopPropagation(),this.dispatchEvent(new CustomEvent("longpress",{bubbles:!0,composed:!0,detail:{source:"keyboard"}})),this.active=!1)}get buttonContent(){const t=super.buttonContent;return this.holdAffordance&&t.unshift(i.qy`
                 <sp-icon-corner-triangle300
-                    class="hold-affordance ${At[this.size]}"
+                    class="hold-affordance ${_t[this.size]}"
                 ></sp-icon-corner-triangle300>
-            `),e}updated(t){super.updated(t);const e="button"===this.role,r=e&&(this.selected||this.toggles)&&!(this.hasAttribute("aria-haspopup")&&this.hasAttribute("aria-expanded"));(t.has("selected")||t.has("role"))&&(r?this.setAttribute("aria-pressed",this.selected?"true":"false"):(this.removeAttribute("aria-pressed"),e&&this.toggles&&this.hasAttribute("aria-expanded")&&this.setAttribute("aria-expanded",this.selected?"true":"false"))),t.has("variant")&&(this.variant||typeof t.get("variant"))&&(this.static=this.variant),t.has("holdAffordance")&&(this.holdAffordance?this.addEventListener("pointerdown",this.handlePointerdownHoldAffordance):(this.removeEventListener("pointerdown",this.handlePointerdownHoldAffordance),this.handlePointerupHoldAffordance()))}}$t([(0,d.MZ)({type:Boolean,reflect:!0})],qt.prototype,"emphasized",2),$t([(0,d.MZ)({type:Boolean,reflect:!0,attribute:"hold-affordance"})],qt.prototype,"holdAffordance",2),$t([(0,d.MZ)({type:Boolean,reflect:!0})],qt.prototype,"quiet",2),$t([(0,d.MZ)({reflect:!0})],qt.prototype,"role",2),$t([(0,d.MZ)({type:Boolean,reflect:!0})],qt.prototype,"selected",2),$t([(0,d.MZ)({type:Boolean,reflect:!0})],qt.prototype,"toggles",2),$t([(0,d.MZ)({reflect:!0})],qt.prototype,"static",2),$t([(0,d.MZ)({reflect:!0})],qt.prototype,"variant",2),$t([(0,d.MZ)({type:String})],qt.prototype,"value",1),(0,x.e)("sp-action-button",qt);const Tt=t.AH`
+            `),t}updated(t){super.updated(t);const e="button"===this.role,r=e&&(this.selected||this.toggles)&&!(this.hasAttribute("aria-haspopup")&&this.hasAttribute("aria-expanded"));(t.has("selected")||t.has("role"))&&(r?this.setAttribute("aria-pressed",this.selected?"true":"false"):(this.removeAttribute("aria-pressed"),e&&this.toggles&&this.hasAttribute("aria-expanded")&&this.setAttribute("aria-expanded",this.selected?"true":"false"))),t.has("variant")&&(this.variant||typeof t.get("variant"))&&(this.static=this.variant),t.has("holdAffordance")&&(this.holdAffordance?this.addEventListener("pointerdown",this.handlePointerdownHoldAffordance):(this.removeEventListener("pointerdown",this.handlePointerdownHoldAffordance),this.handlePointerupHoldAffordance()))}}Mt([(0,f.MZ)({type:Boolean,reflect:!0})],Pt.prototype,"emphasized",2),Mt([(0,f.MZ)({type:Boolean,reflect:!0,attribute:"hold-affordance"})],Pt.prototype,"holdAffordance",2),Mt([(0,f.MZ)({type:Boolean,reflect:!0})],Pt.prototype,"quiet",2),Mt([(0,f.MZ)({reflect:!0})],Pt.prototype,"role",2),Mt([(0,f.MZ)({type:Boolean,reflect:!0})],Pt.prototype,"selected",2),Mt([(0,f.MZ)({type:Boolean,reflect:!0})],Pt.prototype,"toggles",2),Mt([(0,f.MZ)({reflect:!0})],Pt.prototype,"static",2),Mt([(0,f.MZ)({reflect:!0})],Pt.prototype,"variant",2),Mt([(0,f.MZ)({type:String})],Pt.prototype,"value",1),(0,$.e)("sp-action-button",Pt);const Dt=i.AH`
     :host{--spectrum-buttongroup-spacing-horizontal:var(--spectrum-spacing-300);--spectrum-buttongroup-spacing-vertical:var(--spectrum-spacing-300)}:host([size=s]){--spectrum-buttongroup-spacing-horizontal:var(--spectrum-spacing-200);--spectrum-buttongroup-spacing-vertical:var(--spectrum-spacing-200)}:host([size=l]),:host,:host([size=xl]){--spectrum-buttongroup-spacing-horizontal:var(--spectrum-spacing-300);--spectrum-buttongroup-spacing-vertical:var(--spectrum-spacing-300)}:host{gap:var(--mod-buttongroup-spacing-horizontal,var(--spectrum-buttongroup-spacing-horizontal));justify-content:var(--mod-buttongroup-justify-content,normal);flex-wrap:wrap;display:flex}::slotted(*){flex-shrink:0}:host([vertical]){gap:var(--mod-buttongroup-spacing-vertical,var(--spectrum-buttongroup-spacing-vertical));flex-direction:column;display:inline-flex}:host([vertical]) ::slotted(sp-action-button){--spectrum-actionbutton-label-flex-grow:1}:host([dir=ltr][vertical]) ::slotted(sp-action-button){--spectrum-actionbutton-label-text-align:left}:host([dir=rtl][vertical]) ::slotted(sp-action-button){--spectrum-actionbutton-label-text-align:right}
-`;var jt=Object.defineProperty;Object.getOwnPropertyDescriptor;class Mt extends((0,w.Z)(m.w,{noDefaultSize:!0})){constructor(){super(...arguments),this.vertical=!1}static get styles(){return[Tt]}handleSlotchange({target:t}){t.assignedElements().forEach((t=>{t.size=this.size}))}render(){return t.qy`
+`;var Lt=Object.defineProperty;Object.getOwnPropertyDescriptor;class Ot extends((0,A.Z)(v.w,{noDefaultSize:!0})){constructor(){super(...arguments),this.vertical=!1}static get styles(){return[Dt]}handleSlotchange({target:t}){t.assignedElements().forEach((t=>{t.size=this.size}))}render(){return i.qy`
             <slot @slotchange=${this.handleSlotchange}></slot>
-        `}}((t,e,r,o)=>{for(var s,c=void 0,a=t.length-1;a>=0;a--)(s=t[a])&&(c=s(e,r,c)||c);c&&jt(e,r,c)})([(0,d.MZ)({type:Boolean,reflect:!0})],Mt.prototype,"vertical"),(0,x.e)("sp-button-group",Mt);const _t=t.AH`
+        `}}((t,e,r,o)=>{for(var s,c=void 0,a=t.length-1;a>=0;a--)(s=t[a])&&(c=s(e,r,c)||c);c&&Lt(e,r,c)})([(0,f.MZ)({type:Boolean,reflect:!0})],Ot.prototype,"vertical"),(0,$.e)("sp-button-group",Ot);const Ut=i.AH`
     :host{cursor:pointer;-webkit-user-select:none;user-select:none;box-sizing:border-box;font-family:var(--mod-button-font-family,var(--mod-sans-font-family-stack,var(--spectrum-sans-font-family-stack)));line-height:var(--mod-button-line-height,var(--mod-line-height-100,var(--spectrum-line-height-100)));text-transform:none;vertical-align:top;-webkit-appearance:button;transition:background var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,border-color var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,color var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,box-shadow var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;justify-content:center;align-items:center;margin:0;-webkit-text-decoration:none;text-decoration:none;display:inline-flex;overflow:visible}:host(:focus){outline:none}:host .is-disabled,:host([disabled]){cursor:default}:host:after{margin:calc(var(--mod-button-focus-indicator-gap,var(--mod-focus-indicator-gap,var(--spectrum-focus-indicator-gap)))*-1);transition:opacity var(--mod-button-animation-duration,var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100))))ease-out,margin var(--mod-button-animation-duration,var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100))))ease-out;display:block;inset-block:0;inset-inline:0}:host(:focus-visible):after{margin:calc(var(--mod-focus-indicator-gap,var(--spectrum-focus-indicator-gap))*-2)}#label{text-align:center;place-self:center}#label[hidden]{display:none}:host{--spectrum-button-animation-duration:var(--spectrum-animation-duration-100);--spectrum-button-border-radius:var(--spectrum-corner-radius-100);--spectrum-button-border-width:var(--spectrum-border-width-200);--spectrum-button-line-height:1.2;--spectrum-button-focus-ring-gap:var(--spectrum-focus-indicator-gap);--spectrum-button-focus-ring-border-radius:calc(var(--spectrum-button-border-radius) + var(--spectrum-button-focus-ring-gap));--spectrum-button-focus-ring-thickness:var(--spectrum-focus-indicator-thickness);--spectrum-button-focus-indicator-color:var(--spectrum-focus-indicator-color);--spectrum-button-intended-icon-size:var(--spectrum-workflow-icon-size-50);--mod-progress-circle-position:absolute}:host([size=s]){--spectrum-button-min-width:calc(var(--spectrum-component-height-75)*var(--spectrum-button-minimum-width-multiplier));--spectrum-button-border-radius:var(--spectrum-component-pill-edge-to-text-75);--spectrum-button-height:var(--spectrum-component-height-75);--spectrum-button-font-size:var(--spectrum-font-size-75);--spectrum-button-edge-to-visual:calc(var(--spectrum-component-pill-edge-to-visual-75) - var(--spectrum-button-border-width));--spectrum-button-edge-to-visual-only:var(--spectrum-component-pill-edge-to-visual-only-75);--spectrum-button-edge-to-text:calc(var(--spectrum-component-pill-edge-to-text-75) - var(--spectrum-button-border-width));--spectrum-button-padding-label-to-icon:var(--spectrum-text-to-visual-75);--spectrum-button-top-to-text:var(--spectrum-button-top-to-text-small);--spectrum-button-bottom-to-text:var(--spectrum-button-bottom-to-text-small);--spectrum-button-top-to-icon:var(--spectrum-component-top-to-workflow-icon-75);--spectrum-button-intended-icon-size:var(--spectrum-workflow-icon-size-75)}:host{--spectrum-button-min-width:calc(var(--spectrum-component-height-100)*var(--spectrum-button-minimum-width-multiplier));--spectrum-button-border-radius:var(--spectrum-component-pill-edge-to-text-100);--spectrum-button-height:var(--spectrum-component-height-100);--spectrum-button-font-size:var(--spectrum-font-size-100);--spectrum-button-edge-to-visual:calc(var(--spectrum-component-pill-edge-to-visual-100) - var(--spectrum-button-border-width));--spectrum-button-edge-to-visual-only:var(--spectrum-component-pill-edge-to-visual-only-100);--spectrum-button-edge-to-text:calc(var(--spectrum-component-pill-edge-to-text-100) - var(--spectrum-button-border-width));--spectrum-button-padding-label-to-icon:var(--spectrum-text-to-visual-100);--spectrum-button-top-to-text:var(--spectrum-button-top-to-text-medium);--spectrum-button-bottom-to-text:var(--spectrum-button-bottom-to-text-medium);--spectrum-button-top-to-icon:var(--spectrum-component-top-to-workflow-icon-100);--spectrum-button-intended-icon-size:var(--spectrum-workflow-icon-size-100)}:host([size=l]){--spectrum-button-min-width:calc(var(--spectrum-component-height-200)*var(--spectrum-button-minimum-width-multiplier));--spectrum-button-border-radius:var(--spectrum-component-pill-edge-to-text-200);--spectrum-button-height:var(--spectrum-component-height-200);--spectrum-button-font-size:var(--spectrum-font-size-200);--spectrum-button-edge-to-visual:calc(var(--spectrum-component-pill-edge-to-visual-200) - var(--spectrum-button-border-width));--spectrum-button-edge-to-visual-only:var(--spectrum-component-pill-edge-to-visual-only-200);--spectrum-button-edge-to-text:calc(var(--spectrum-component-pill-edge-to-text-200) - var(--spectrum-button-border-width));--spectrum-button-padding-label-to-icon:var(--spectrum-text-to-visual-200);--spectrum-button-top-to-text:var(--spectrum-button-top-to-text-large);--spectrum-button-bottom-to-text:var(--spectrum-button-bottom-to-text-large);--spectrum-button-top-to-icon:var(--spectrum-component-top-to-workflow-icon-200);--spectrum-button-intended-icon-size:var(--spectrum-workflow-icon-size-200)}:host([size=xl]){--spectrum-button-min-width:calc(var(--spectrum-component-height-300)*var(--spectrum-button-minimum-width-multiplier));--spectrum-button-border-radius:var(--spectrum-component-pill-edge-to-text-300);--spectrum-button-height:var(--spectrum-component-height-300);--spectrum-button-font-size:var(--spectrum-font-size-300);--spectrum-button-edge-to-visual:calc(var(--spectrum-component-pill-edge-to-visual-300) - var(--spectrum-button-border-width));--spectrum-button-edge-to-visual-only:var(--spectrum-component-pill-edge-to-visual-only-300);--spectrum-button-edge-to-text:calc(var(--spectrum-component-pill-edge-to-text-300) - var(--spectrum-button-border-width));--spectrum-button-padding-label-to-icon:var(--spectrum-text-to-visual-300);--spectrum-button-top-to-text:var(--spectrum-button-top-to-text-extra-large);--spectrum-button-bottom-to-text:var(--spectrum-button-bottom-to-text-extra-large);--spectrum-button-top-to-icon:var(--spectrum-component-top-to-workflow-icon-300);--spectrum-button-intended-icon-size:var(--spectrum-workflow-icon-size-300)}:host{border-radius:var(--mod-button-border-radius,var(--spectrum-button-border-radius));border-width:var(--mod-button-border-width,var(--spectrum-button-border-width));font-size:var(--mod-button-font-size,var(--spectrum-button-font-size));font-weight:var(--mod-bold-font-weight,var(--spectrum-bold-font-weight));gap:var(--mod-button-padding-label-to-icon,var(--spectrum-button-padding-label-to-icon));min-inline-size:var(--mod-button-min-width,var(--spectrum-button-min-width));min-block-size:var(--mod-button-height,var(--spectrum-button-height));padding-block:0;padding-inline:var(--mod-button-edge-to-text,var(--spectrum-button-edge-to-text));color:inherit;margin-block:var(--mod-button-margin-block);border-style:solid;margin-inline-start:var(--mod-button-margin-left);margin-inline-end:var(--mod-button-margin-right);position:relative}:host(:is(:active,[active])){box-shadow:none}::slotted([slot=icon]){--_icon-size-difference:max(0px,var(--spectrum-button-intended-icon-size) - var(--spectrum-icon-block-size,var(--spectrum-button-intended-icon-size)));color:inherit;flex-shrink:0;align-self:flex-start;margin-block-start:var(--mod-button-icon-margin-block-start,max(0px,var(--mod-button-top-to-icon,var(--spectrum-button-top-to-icon)) - var(--mod-button-border-width,var(--spectrum-button-border-width)) + (var(--_icon-size-difference,0px)/2)));margin-inline-start:calc(var(--mod-button-edge-to-visual,var(--spectrum-button-edge-to-visual)) - var(--mod-button-edge-to-text,var(--spectrum-button-edge-to-text)))}:host:after{border-radius:calc(var(--mod-button-border-radius,var(--spectrum-button-border-radius)) + var(--mod-focus-indicator-gap,var(--spectrum-focus-indicator-gap)))}:host([icon-only]){min-inline-size:unset;padding:calc(var(--mod-button-edge-to-visual-only,var(--spectrum-button-edge-to-visual-only)) - var(--mod-button-border-width,var(--spectrum-button-border-width)));border-radius:50%}:host([icon-only]) ::slotted([slot=icon]){align-self:center;margin-block-start:0;margin-inline-start:0}:host([icon-only]):after{border-radius:50%}#label{line-height:var(--mod-button-line-height,var(--spectrum-button-line-height));text-align:var(--mod-button-text-align,center);align-self:start;padding-block-start:calc(var(--mod-button-top-to-text,var(--spectrum-button-top-to-text)) - var(--mod-button-border-width,var(--spectrum-button-border-width)));padding-block-end:calc(var(--mod-button-bottom-to-text,var(--spectrum-button-bottom-to-text)) - var(--mod-button-border-width,var(--spectrum-button-border-width)))}[name=icon]+#label{text-align:var(--mod-button-text-align-with-icon,start)}:host([focused]):after,:host(:focus-visible):after{box-shadow:0 0 0 var(--mod-button-focus-ring-thickness,var(--spectrum-button-focus-ring-thickness))var(--mod-button-focus-ring-color,var(--spectrum-button-focus-indicator-color))}:host{transition:border-color var(--mod-button-animation-duration,var(--spectrum-button-animation-duration))ease-in-out}:host:after{margin:calc(( var(--mod-button-focus-ring-gap,var(--spectrum-button-focus-ring-gap)) + var(--mod-button-border-width,var(--spectrum-button-border-width)))*-1);border-radius:var(--mod-button-focus-ring-border-radius,var(--spectrum-button-focus-ring-border-radius));transition:box-shadow var(--mod-button-animation-duration,var(--spectrum-button-animation-duration))ease-in-out;pointer-events:none;content:"";position:absolute;inset:0}:host(:focus-visible){box-shadow:none;outline:none}:host(:focus-visible):after{box-shadow:0 0 0 var(--mod-button-focus-ring-thickness,var(--spectrum-button-focus-ring-thickness))var(--highcontrast-button-focus-ring-color,var(--mod-button-focus-ring-color,var(--mod-button-focus-ring-color,var(--spectrum-button-focus-indicator-color))))}:host{background-color:var(--highcontrast-button-background-color-default,var(--mod-button-background-color-default,var(--spectrum-button-background-color-default)));border-color:var(--highcontrast-button-border-color-default,var(--mod-button-border-color-default,var(--spectrum-button-border-color-default)));color:var(--highcontrast-button-content-color-default,var(--mod-button-content-color-default,var(--spectrum-button-content-color-default)));transition:border var(--mod-button-animation-duration,var(--spectrum-button-animation-duration,.13s))linear,color var(--mod-button-animation-duration,var(--spectrum-button-animation-duration,.13s))linear,background-color var(--mod-button-animation-duration,var(--spectrum-button-animation-duration,.13s))linear}@media (hover:hover){:host(:hover){box-shadow:none;background-color:var(--highcontrast-button-background-color-hover,var(--mod-button-background-color-hover,var(--spectrum-button-background-color-hover)));border-color:var(--highcontrast-button-border-color-hover,var(--mod-button-border-color-hover,var(--spectrum-button-border-color-hover)));color:var(--highcontrast-button-content-color-hover,var(--mod-button-content-color-hover,var(--spectrum-button-content-color-hover)))}}:host(:focus-visible){background-color:var(--highcontrast-button-background-color-focus,var(--mod-button-background-color-focus,var(--spectrum-button-background-color-focus)));border-color:var(--highcontrast-button-border-color-focus,var(--mod-button-border-color-focus,var(--spectrum-button-border-color-focus)));color:var(--highcontrast-button-content-color-focus,var(--mod-button-content-color-focus,var(--spectrum-button-content-color-focus)))}:host(:is(:active,[active])){background-color:var(--highcontrast-button-background-color-down,var(--mod-button-background-color-down,var(--spectrum-button-background-color-down)));border-color:var(--highcontrast-button-border-color-down,var(--mod-button-border-color-down,var(--spectrum-button-border-color-down)));color:var(--highcontrast-button-content-color-down,var(--mod-button-content-color-down,var(--spectrum-button-content-color-down)))}:host .is-disabled,:host([pending]),:host([disabled]),:host([pending]){background-color:var(--highcontrast-button-background-color-disabled,var(--mod-button-background-color-disabled,var(--spectrum-button-background-color-disabled)));border-color:var(--highcontrast-button-border-color-disabled,var(--mod-button-border-color-disabled,var(--spectrum-button-border-color-disabled)));color:var(--highcontrast-button-content-color-disabled,var(--mod-button-content-color-disabled,var(--spectrum-button-content-color-disabled)))}#label,::slotted([slot=icon]){visibility:visible;opacity:1;transition:opacity var(--mod-button-animation-duration,var(--spectrum-button-animation-duration,.13s))ease-in-out}.spectrum-ProgressCircle{visibility:hidden;opacity:0;transition:opacity var(--mod-button-animation-duration,var(--spectrum-button-animation-duration,.13s))ease-in-out,visibility 0s linear var(--mod-button-animation-duration,var(--spectrum-button-animation-duration,.13s))}:host([pending]),:host([pending]){cursor:default}:host([pending]) .spectrum-ProgressCircle,:host([pending]) .spectrum-ProgressCircle{visibility:visible;opacity:1;transition:opacity var(--mod-button-animation-duration,var(--spectrum-button-animation-duration,.13s))ease-in-out}:host([static=black]),:host([static=white]){--spectrum-button-focus-indicator-color:var(--mod-static-black-focus-indicator-color,var(--spectrum-static-black-focus-indicator-color))}@media (forced-colors:active){:host{--highcontrast-button-content-color-disabled:GrayText;--highcontrast-button-border-color-disabled:GrayText;--mod-progress-circle-track-border-color:ButtonText;--mod-progress-circle-track-border-color-over-background:ButtonText;--mod-progress-circle-thickness:var(--spectrum-progress-circle-thickness-medium)}:host(:focus-visible):after{forced-color-adjust:none;box-shadow:0 0 0 var(--mod-button-focus-ring-thickness,var(--spectrum-button-focus-ring-thickness))ButtonText}:host([variant=accent][treatment=fill]){--highcontrast-button-background-color-default:ButtonText;--highcontrast-button-content-color-default:ButtonFace;--highcontrast-button-background-color-disabled:ButtonFace;--highcontrast-button-background-color-hover:Highlight;--highcontrast-button-background-color-down:Highlight;--highcontrast-button-background-color-focus:Highlight;--highcontrast-button-content-color-hover:ButtonFace;--highcontrast-button-content-color-down:ButtonFace;--highcontrast-button-content-color-focus:ButtonFace}:host([variant=accent][treatment=fill]) #label{forced-color-adjust:none}}:host{--spectrum-button-background-color-default:var(--system-spectrum-button-background-color-default);--spectrum-button-background-color-hover:var(--system-spectrum-button-background-color-hover);--spectrum-button-background-color-down:var(--system-spectrum-button-background-color-down);--spectrum-button-background-color-focus:var(--system-spectrum-button-background-color-focus);--spectrum-button-border-color-default:var(--system-spectrum-button-border-color-default);--spectrum-button-border-color-hover:var(--system-spectrum-button-border-color-hover);--spectrum-button-border-color-down:var(--system-spectrum-button-border-color-down);--spectrum-button-border-color-focus:var(--system-spectrum-button-border-color-focus);--spectrum-button-content-color-default:var(--system-spectrum-button-content-color-default);--spectrum-button-content-color-hover:var(--system-spectrum-button-content-color-hover);--spectrum-button-content-color-down:var(--system-spectrum-button-content-color-down);--spectrum-button-content-color-focus:var(--system-spectrum-button-content-color-focus);--spectrum-button-background-color-disabled:var(--system-spectrum-button-background-color-disabled);--spectrum-button-border-color-disabled:var(--system-spectrum-button-border-color-disabled);--spectrum-button-content-color-disabled:var(--system-spectrum-button-content-color-disabled)}:host([variant=accent]){--spectrum-button-background-color-default:var(--system-spectrum-button-accent-background-color-default);--spectrum-button-background-color-hover:var(--system-spectrum-button-accent-background-color-hover);--spectrum-button-background-color-down:var(--system-spectrum-button-accent-background-color-down);--spectrum-button-background-color-focus:var(--system-spectrum-button-accent-background-color-focus);--spectrum-button-border-color-default:var(--system-spectrum-button-accent-border-color-default);--spectrum-button-border-color-hover:var(--system-spectrum-button-accent-border-color-hover);--spectrum-button-border-color-down:var(--system-spectrum-button-accent-border-color-down);--spectrum-button-border-color-focus:var(--system-spectrum-button-accent-border-color-focus);--spectrum-button-content-color-default:var(--system-spectrum-button-accent-content-color-default);--spectrum-button-content-color-hover:var(--system-spectrum-button-accent-content-color-hover);--spectrum-button-content-color-down:var(--system-spectrum-button-accent-content-color-down);--spectrum-button-content-color-focus:var(--system-spectrum-button-accent-content-color-focus);--spectrum-button-background-color-disabled:var(--system-spectrum-button-accent-background-color-disabled);--spectrum-button-border-color-disabled:var(--system-spectrum-button-accent-border-color-disabled);--spectrum-button-content-color-disabled:var(--system-spectrum-button-accent-content-color-disabled)}:host([variant=accent][treatment=outline]){--spectrum-button-background-color-default:var(--system-spectrum-button-accent-outline-background-color-default);--spectrum-button-background-color-hover:var(--system-spectrum-button-accent-outline-background-color-hover);--spectrum-button-background-color-down:var(--system-spectrum-button-accent-outline-background-color-down);--spectrum-button-background-color-focus:var(--system-spectrum-button-accent-outline-background-color-focus);--spectrum-button-border-color-default:var(--system-spectrum-button-accent-outline-border-color-default);--spectrum-button-border-color-hover:var(--system-spectrum-button-accent-outline-border-color-hover);--spectrum-button-border-color-down:var(--system-spectrum-button-accent-outline-border-color-down);--spectrum-button-border-color-focus:var(--system-spectrum-button-accent-outline-border-color-focus);--spectrum-button-content-color-default:var(--system-spectrum-button-accent-outline-content-color-default);--spectrum-button-content-color-hover:var(--system-spectrum-button-accent-outline-content-color-hover);--spectrum-button-content-color-down:var(--system-spectrum-button-accent-outline-content-color-down);--spectrum-button-content-color-focus:var(--system-spectrum-button-accent-outline-content-color-focus);--spectrum-button-background-color-disabled:var(--system-spectrum-button-accent-outline-background-color-disabled);--spectrum-button-border-color-disabled:var(--system-spectrum-button-accent-outline-border-color-disabled);--spectrum-button-content-color-disabled:var(--system-spectrum-button-accent-outline-content-color-disabled)}:host([variant=negative]){--spectrum-button-background-color-default:var(--system-spectrum-button-negative-background-color-default);--spectrum-button-background-color-hover:var(--system-spectrum-button-negative-background-color-hover);--spectrum-button-background-color-down:var(--system-spectrum-button-negative-background-color-down);--spectrum-button-background-color-focus:var(--system-spectrum-button-negative-background-color-focus);--spectrum-button-border-color-default:var(--system-spectrum-button-negative-border-color-default);--spectrum-button-border-color-hover:var(--system-spectrum-button-negative-border-color-hover);--spectrum-button-border-color-down:var(--system-spectrum-button-negative-border-color-down);--spectrum-button-border-color-focus:var(--system-spectrum-button-negative-border-color-focus);--spectrum-button-content-color-default:var(--system-spectrum-button-negative-content-color-default);--spectrum-button-content-color-hover:var(--system-spectrum-button-negative-content-color-hover);--spectrum-button-content-color-down:var(--system-spectrum-button-negative-content-color-down);--spectrum-button-content-color-focus:var(--system-spectrum-button-negative-content-color-focus);--spectrum-button-background-color-disabled:var(--system-spectrum-button-negative-background-color-disabled);--spectrum-button-border-color-disabled:var(--system-spectrum-button-negative-border-color-disabled);--spectrum-button-content-color-disabled:var(--system-spectrum-button-negative-content-color-disabled)}:host([variant=negative][treatment=outline]){--spectrum-button-background-color-default:var(--system-spectrum-button-negative-outline-background-color-default);--spectrum-button-background-color-hover:var(--system-spectrum-button-negative-outline-background-color-hover);--spectrum-button-background-color-down:var(--system-spectrum-button-negative-outline-background-color-down);--spectrum-button-background-color-focus:var(--system-spectrum-button-negative-outline-background-color-focus);--spectrum-button-border-color-default:var(--system-spectrum-button-negative-outline-border-color-default);--spectrum-button-border-color-hover:var(--system-spectrum-button-negative-outline-border-color-hover);--spectrum-button-border-color-down:var(--system-spectrum-button-negative-outline-border-color-down);--spectrum-button-border-color-focus:var(--system-spectrum-button-negative-outline-border-color-focus);--spectrum-button-content-color-default:var(--system-spectrum-button-negative-outline-content-color-default);--spectrum-button-content-color-hover:var(--system-spectrum-button-negative-outline-content-color-hover);--spectrum-button-content-color-down:var(--system-spectrum-button-negative-outline-content-color-down);--spectrum-button-content-color-focus:var(--system-spectrum-button-negative-outline-content-color-focus);--spectrum-button-background-color-disabled:var(--system-spectrum-button-negative-outline-background-color-disabled);--spectrum-button-border-color-disabled:var(--system-spectrum-button-negative-outline-border-color-disabled);--spectrum-button-content-color-disabled:var(--system-spectrum-button-negative-outline-content-color-disabled)}:host([variant=primary]){--spectrum-button-background-color-default:var(--system-spectrum-button-primary-background-color-default);--spectrum-button-background-color-hover:var(--system-spectrum-button-primary-background-color-hover);--spectrum-button-background-color-down:var(--system-spectrum-button-primary-background-color-down);--spectrum-button-background-color-focus:var(--system-spectrum-button-primary-background-color-focus);--spectrum-button-border-color-default:var(--system-spectrum-button-primary-border-color-default);--spectrum-button-border-color-hover:var(--system-spectrum-button-primary-border-color-hover);--spectrum-button-border-color-down:var(--system-spectrum-button-primary-border-color-down);--spectrum-button-border-color-focus:var(--system-spectrum-button-primary-border-color-focus);--spectrum-button-content-color-default:var(--system-spectrum-button-primary-content-color-default);--spectrum-button-content-color-hover:var(--system-spectrum-button-primary-content-color-hover);--spectrum-button-content-color-down:var(--system-spectrum-button-primary-content-color-down);--spectrum-button-content-color-focus:var(--system-spectrum-button-primary-content-color-focus);--spectrum-button-background-color-disabled:var(--system-spectrum-button-primary-background-color-disabled);--spectrum-button-border-color-disabled:var(--system-spectrum-button-primary-border-color-disabled);--spectrum-button-content-color-disabled:var(--system-spectrum-button-primary-content-color-disabled)}:host([variant=primary][treatment=outline]){--spectrum-button-background-color-default:var(--system-spectrum-button-primary-outline-background-color-default);--spectrum-button-background-color-hover:var(--system-spectrum-button-primary-outline-background-color-hover);--spectrum-button-background-color-down:var(--system-spectrum-button-primary-outline-background-color-down);--spectrum-button-background-color-focus:var(--system-spectrum-button-primary-outline-background-color-focus);--spectrum-button-border-color-default:var(--system-spectrum-button-primary-outline-border-color-default);--spectrum-button-border-color-hover:var(--system-spectrum-button-primary-outline-border-color-hover);--spectrum-button-border-color-down:var(--system-spectrum-button-primary-outline-border-color-down);--spectrum-button-border-color-focus:var(--system-spectrum-button-primary-outline-border-color-focus);--spectrum-button-content-color-default:var(--system-spectrum-button-primary-outline-content-color-default);--spectrum-button-content-color-hover:var(--system-spectrum-button-primary-outline-content-color-hover);--spectrum-button-content-color-down:var(--system-spectrum-button-primary-outline-content-color-down);--spectrum-button-content-color-focus:var(--system-spectrum-button-primary-outline-content-color-focus);--spectrum-button-background-color-disabled:var(--system-spectrum-button-primary-outline-background-color-disabled);--spectrum-button-border-color-disabled:var(--system-spectrum-button-primary-outline-border-color-disabled);--spectrum-button-content-color-disabled:var(--system-spectrum-button-primary-outline-content-color-disabled)}:host([variant=secondary]){--spectrum-button-background-color-default:var(--system-spectrum-button-secondary-background-color-default);--spectrum-button-background-color-hover:var(--system-spectrum-button-secondary-background-color-hover);--spectrum-button-background-color-down:var(--system-spectrum-button-secondary-background-color-down);--spectrum-button-background-color-focus:var(--system-spectrum-button-secondary-background-color-focus);--spectrum-button-border-color-default:var(--system-spectrum-button-secondary-border-color-default);--spectrum-button-border-color-hover:var(--system-spectrum-button-secondary-border-color-hover);--spectrum-button-border-color-down:var(--system-spectrum-button-secondary-border-color-down);--spectrum-button-border-color-focus:var(--system-spectrum-button-secondary-border-color-focus);--spectrum-button-content-color-default:var(--system-spectrum-button-secondary-content-color-default);--spectrum-button-content-color-hover:var(--system-spectrum-button-secondary-content-color-hover);--spectrum-button-content-color-down:var(--system-spectrum-button-secondary-content-color-down);--spectrum-button-content-color-focus:var(--system-spectrum-button-secondary-content-color-focus);--spectrum-button-background-color-disabled:var(--system-spectrum-button-secondary-background-color-disabled);--spectrum-button-border-color-disabled:var(--system-spectrum-button-secondary-border-color-disabled);--spectrum-button-content-color-disabled:var(--system-spectrum-button-secondary-content-color-disabled)}:host([variant=secondary][treatment=outline]){--spectrum-button-background-color-default:var(--system-spectrum-button-secondary-outline-background-color-default);--spectrum-button-background-color-hover:var(--system-spectrum-button-secondary-outline-background-color-hover);--spectrum-button-background-color-down:var(--system-spectrum-button-secondary-outline-background-color-down);--spectrum-button-background-color-focus:var(--system-spectrum-button-secondary-outline-background-color-focus);--spectrum-button-border-color-default:var(--system-spectrum-button-secondary-outline-border-color-default);--spectrum-button-border-color-hover:var(--system-spectrum-button-secondary-outline-border-color-hover);--spectrum-button-border-color-down:var(--system-spectrum-button-secondary-outline-border-color-down);--spectrum-button-border-color-focus:var(--system-spectrum-button-secondary-outline-border-color-focus);--spectrum-button-content-color-default:var(--system-spectrum-button-secondary-outline-content-color-default);--spectrum-button-content-color-hover:var(--system-spectrum-button-secondary-outline-content-color-hover);--spectrum-button-content-color-down:var(--system-spectrum-button-secondary-outline-content-color-down);--spectrum-button-content-color-focus:var(--system-spectrum-button-secondary-outline-content-color-focus);--spectrum-button-background-color-disabled:var(--system-spectrum-button-secondary-outline-background-color-disabled);--spectrum-button-border-color-disabled:var(--system-spectrum-button-secondary-outline-border-color-disabled);--spectrum-button-content-color-disabled:var(--system-spectrum-button-secondary-outline-content-color-disabled)}:host([quiet]){--spectrum-button-background-color-default:var(--system-spectrum-button-quiet-background-color-default);--spectrum-button-background-color-hover:var(--system-spectrum-button-quiet-background-color-hover);--spectrum-button-background-color-down:var(--system-spectrum-button-quiet-background-color-down);--spectrum-button-background-color-focus:var(--system-spectrum-button-quiet-background-color-focus);--spectrum-button-border-color-default:var(--system-spectrum-button-quiet-border-color-default);--spectrum-button-border-color-hover:var(--system-spectrum-button-quiet-border-color-hover);--spectrum-button-border-color-down:var(--system-spectrum-button-quiet-border-color-down);--spectrum-button-border-color-focus:var(--system-spectrum-button-quiet-border-color-focus);--spectrum-button-background-color-disabled:var(--system-spectrum-button-quiet-background-color-disabled);--spectrum-button-border-color-disabled:var(--system-spectrum-button-quiet-border-color-disabled)}:host([selected]){--spectrum-button-background-color-default:var(--system-spectrum-button-selected-background-color-default);--spectrum-button-background-color-hover:var(--system-spectrum-button-selected-background-color-hover);--spectrum-button-background-color-down:var(--system-spectrum-button-selected-background-color-down);--spectrum-button-background-color-focus:var(--system-spectrum-button-selected-background-color-focus);--spectrum-button-border-color-default:var(--system-spectrum-button-selected-border-color-default);--spectrum-button-border-color-hover:var(--system-spectrum-button-selected-border-color-hover);--spectrum-button-border-color-down:var(--system-spectrum-button-selected-border-color-down);--spectrum-button-border-color-focus:var(--system-spectrum-button-selected-border-color-focus);--spectrum-button-content-color-default:var(--system-spectrum-button-selected-content-color-default);--spectrum-button-content-color-hover:var(--system-spectrum-button-selected-content-color-hover);--spectrum-button-content-color-down:var(--system-spectrum-button-selected-content-color-down);--spectrum-button-content-color-focus:var(--system-spectrum-button-selected-content-color-focus);--spectrum-button-background-color-disabled:var(--system-spectrum-button-selected-background-color-disabled);--spectrum-button-border-color-disabled:var(--system-spectrum-button-selected-border-color-disabled)}:host([selected][emphasized]){--spectrum-button-background-color-default:var(--system-spectrum-button-selected-emphasized-background-color-default);--spectrum-button-background-color-hover:var(--system-spectrum-button-selected-emphasized-background-color-hover);--spectrum-button-background-color-down:var(--system-spectrum-button-selected-emphasized-background-color-down);--spectrum-button-background-color-focus:var(--system-spectrum-button-selected-emphasized-background-color-focus)}:host([static=black][quiet]){--spectrum-button-border-color-default:var(--system-spectrum-button-staticblack-quiet-border-color-default);--spectrum-button-border-color-hover:var(--system-spectrum-button-staticblack-quiet-border-color-hover);--spectrum-button-border-color-down:var(--system-spectrum-button-staticblack-quiet-border-color-down);--spectrum-button-border-color-focus:var(--system-spectrum-button-staticblack-quiet-border-color-focus);--spectrum-button-border-color-disabled:var(--system-spectrum-button-staticblack-quiet-border-color-disabled)}:host([static=white][quiet]){--spectrum-button-border-color-default:var(--system-spectrum-button-staticwhite-quiet-border-color-default);--spectrum-button-border-color-hover:var(--system-spectrum-button-staticwhite-quiet-border-color-hover);--spectrum-button-border-color-down:var(--system-spectrum-button-staticwhite-quiet-border-color-down);--spectrum-button-border-color-focus:var(--system-spectrum-button-staticwhite-quiet-border-color-focus);--spectrum-button-border-color-disabled:var(--system-spectrum-button-staticwhite-quiet-border-color-disabled)}:host([static=white]){--spectrum-button-background-color-default:var(--system-spectrum-button-staticwhite-background-color-default);--spectrum-button-background-color-hover:var(--system-spectrum-button-staticwhite-background-color-hover);--spectrum-button-background-color-down:var(--system-spectrum-button-staticwhite-background-color-down);--spectrum-button-background-color-focus:var(--system-spectrum-button-staticwhite-background-color-focus);--spectrum-button-border-color-default:var(--system-spectrum-button-staticwhite-border-color-default);--spectrum-button-border-color-hover:var(--system-spectrum-button-staticwhite-border-color-hover);--spectrum-button-border-color-down:var(--system-spectrum-button-staticwhite-border-color-down);--spectrum-button-border-color-focus:var(--system-spectrum-button-staticwhite-border-color-focus);--spectrum-button-content-color-default:var(--system-spectrum-button-staticwhite-content-color-default);--spectrum-button-content-color-hover:var(--system-spectrum-button-staticwhite-content-color-hover);--spectrum-button-content-color-down:var(--system-spectrum-button-staticwhite-content-color-down);--spectrum-button-content-color-focus:var(--system-spectrum-button-staticwhite-content-color-focus);--spectrum-button-focus-indicator-color:var(--system-spectrum-button-staticwhite-focus-indicator-color);--spectrum-button-background-color-disabled:var(--system-spectrum-button-staticwhite-background-color-disabled);--spectrum-button-border-color-disabled:var(--system-spectrum-button-staticwhite-border-color-disabled);--spectrum-button-content-color-disabled:var(--system-spectrum-button-staticwhite-content-color-disabled)}:host([static=white][treatment=outline]){--spectrum-button-background-color-default:var(--system-spectrum-button-staticwhite-outline-background-color-default);--spectrum-button-background-color-hover:var(--system-spectrum-button-staticwhite-outline-background-color-hover);--spectrum-button-background-color-down:var(--system-spectrum-button-staticwhite-outline-background-color-down);--spectrum-button-background-color-focus:var(--system-spectrum-button-staticwhite-outline-background-color-focus);--spectrum-button-border-color-default:var(--system-spectrum-button-staticwhite-outline-border-color-default);--spectrum-button-border-color-hover:var(--system-spectrum-button-staticwhite-outline-border-color-hover);--spectrum-button-border-color-down:var(--system-spectrum-button-staticwhite-outline-border-color-down);--spectrum-button-border-color-focus:var(--system-spectrum-button-staticwhite-outline-border-color-focus);--spectrum-button-content-color-default:var(--system-spectrum-button-staticwhite-outline-content-color-default);--spectrum-button-content-color-hover:var(--system-spectrum-button-staticwhite-outline-content-color-hover);--spectrum-button-content-color-down:var(--system-spectrum-button-staticwhite-outline-content-color-down);--spectrum-button-content-color-focus:var(--system-spectrum-button-staticwhite-outline-content-color-focus);--spectrum-button-focus-indicator-color:var(--system-spectrum-button-staticwhite-outline-focus-indicator-color);--spectrum-button-background-color-disabled:var(--system-spectrum-button-staticwhite-outline-background-color-disabled);--spectrum-button-border-color-disabled:var(--system-spectrum-button-staticwhite-outline-border-color-disabled);--spectrum-button-content-color-disabled:var(--system-spectrum-button-staticwhite-outline-content-color-disabled)}:host([static=white][selected]){--spectrum-button-background-color-default:var(--system-spectrum-button-staticwhite-selected-background-color-default);--spectrum-button-background-color-hover:var(--system-spectrum-button-staticwhite-selected-background-color-hover);--spectrum-button-background-color-down:var(--system-spectrum-button-staticwhite-selected-background-color-down);--spectrum-button-background-color-focus:var(--system-spectrum-button-staticwhite-selected-background-color-focus);--spectrum-button-content-color-default:var(--mod-button-static-content-color,var(--system-spectrum-button-staticwhite-selected-content-color-default));--spectrum-button-content-color-hover:var(--mod-button-static-content-color,var(--system-spectrum-button-staticwhite-selected-content-color-hover));--spectrum-button-content-color-down:var(--mod-button-static-content-color,var(--system-spectrum-button-staticwhite-selected-content-color-down));--spectrum-button-content-color-focus:var(--mod-button-static-content-color,var(--system-spectrum-button-staticwhite-selected-content-color-focus));--spectrum-button-background-color-disabled:var(--system-spectrum-button-staticwhite-selected-background-color-disabled);--spectrum-button-border-color-disabled:var(--system-spectrum-button-staticwhite-selected-border-color-disabled)}:host([static=white][variant=secondary]){--spectrum-button-background-color-default:var(--system-spectrum-button-staticwhite-secondary-background-color-default);--spectrum-button-background-color-hover:var(--system-spectrum-button-staticwhite-secondary-background-color-hover);--spectrum-button-background-color-down:var(--system-spectrum-button-staticwhite-secondary-background-color-down);--spectrum-button-background-color-focus:var(--system-spectrum-button-staticwhite-secondary-background-color-focus);--spectrum-button-border-color-default:var(--system-spectrum-button-staticwhite-secondary-border-color-default);--spectrum-button-border-color-hover:var(--system-spectrum-button-staticwhite-secondary-border-color-hover);--spectrum-button-border-color-down:var(--system-spectrum-button-staticwhite-secondary-border-color-down);--spectrum-button-border-color-focus:var(--system-spectrum-button-staticwhite-secondary-border-color-focus);--spectrum-button-content-color-default:var(--system-spectrum-button-staticwhite-secondary-content-color-default);--spectrum-button-content-color-hover:var(--system-spectrum-button-staticwhite-secondary-content-color-hover);--spectrum-button-content-color-down:var(--system-spectrum-button-staticwhite-secondary-content-color-down);--spectrum-button-content-color-focus:var(--system-spectrum-button-staticwhite-secondary-content-color-focus);--spectrum-button-focus-indicator-color:var(--system-spectrum-button-staticwhite-secondary-focus-indicator-color);--spectrum-button-background-color-disabled:var(--system-spectrum-button-staticwhite-secondary-background-color-disabled);--spectrum-button-border-color-disabled:var(--system-spectrum-button-staticwhite-secondary-border-color-disabled);--spectrum-button-content-color-disabled:var(--system-spectrum-button-staticwhite-secondary-content-color-disabled)}:host([static=white][variant=secondary][treatment=outline]){--spectrum-button-background-color-default:var(--system-spectrum-button-staticwhite-secondary-outline-background-color-default);--spectrum-button-background-color-hover:var(--system-spectrum-button-staticwhite-secondary-outline-background-color-hover);--spectrum-button-background-color-down:var(--system-spectrum-button-staticwhite-secondary-outline-background-color-down);--spectrum-button-background-color-focus:var(--system-spectrum-button-staticwhite-secondary-outline-background-color-focus);--spectrum-button-border-color-default:var(--system-spectrum-button-staticwhite-secondary-outline-border-color-default);--spectrum-button-border-color-hover:var(--system-spectrum-button-staticwhite-secondary-outline-border-color-hover);--spectrum-button-border-color-down:var(--system-spectrum-button-staticwhite-secondary-outline-border-color-down);--spectrum-button-border-color-focus:var(--system-spectrum-button-staticwhite-secondary-outline-border-color-focus);--spectrum-button-content-color-default:var(--system-spectrum-button-staticwhite-secondary-outline-content-color-default);--spectrum-button-content-color-hover:var(--system-spectrum-button-staticwhite-secondary-outline-content-color-hover);--spectrum-button-content-color-down:var(--system-spectrum-button-staticwhite-secondary-outline-content-color-down);--spectrum-button-content-color-focus:var(--system-spectrum-button-staticwhite-secondary-outline-content-color-focus);--spectrum-button-focus-indicator-color:var(--system-spectrum-button-staticwhite-secondary-outline-focus-indicator-color);--spectrum-button-background-color-disabled:var(--system-spectrum-button-staticwhite-secondary-outline-background-color-disabled);--spectrum-button-border-color-disabled:var(--system-spectrum-button-staticwhite-secondary-outline-border-color-disabled);--spectrum-button-content-color-disabled:var(--system-spectrum-button-staticwhite-secondary-outline-content-color-disabled)}:host([static=black]){--spectrum-button-background-color-default:var(--system-spectrum-button-staticblack-background-color-default);--spectrum-button-background-color-hover:var(--system-spectrum-button-staticblack-background-color-hover);--spectrum-button-background-color-down:var(--system-spectrum-button-staticblack-background-color-down);--spectrum-button-background-color-focus:var(--system-spectrum-button-staticblack-background-color-focus);--spectrum-button-border-color-default:var(--system-spectrum-button-staticblack-border-color-default);--spectrum-button-border-color-hover:var(--system-spectrum-button-staticblack-border-color-hover);--spectrum-button-border-color-down:var(--system-spectrum-button-staticblack-border-color-down);--spectrum-button-border-color-focus:var(--system-spectrum-button-staticblack-border-color-focus);--spectrum-button-content-color-default:var(--system-spectrum-button-staticblack-content-color-default);--spectrum-button-content-color-hover:var(--system-spectrum-button-staticblack-content-color-hover);--spectrum-button-content-color-down:var(--system-spectrum-button-staticblack-content-color-down);--spectrum-button-content-color-focus:var(--system-spectrum-button-staticblack-content-color-focus);--spectrum-button-focus-indicator-color:var(--system-spectrum-button-staticblack-focus-indicator-color);--spectrum-button-background-color-disabled:var(--system-spectrum-button-staticblack-background-color-disabled);--spectrum-button-border-color-disabled:var(--system-spectrum-button-staticblack-border-color-disabled);--spectrum-button-content-color-disabled:var(--system-spectrum-button-staticblack-content-color-disabled)}:host([static=black][treatment=outline]){--spectrum-button-background-color-default:var(--system-spectrum-button-staticblack-outline-background-color-default);--spectrum-button-background-color-hover:var(--system-spectrum-button-staticblack-outline-background-color-hover);--spectrum-button-background-color-down:var(--system-spectrum-button-staticblack-outline-background-color-down);--spectrum-button-background-color-focus:var(--system-spectrum-button-staticblack-outline-background-color-focus);--spectrum-button-border-color-default:var(--system-spectrum-button-staticblack-outline-border-color-default);--spectrum-button-border-color-hover:var(--system-spectrum-button-staticblack-outline-border-color-hover);--spectrum-button-border-color-down:var(--system-spectrum-button-staticblack-outline-border-color-down);--spectrum-button-border-color-focus:var(--system-spectrum-button-staticblack-outline-border-color-focus);--spectrum-button-content-color-default:var(--system-spectrum-button-staticblack-outline-content-color-default);--spectrum-button-content-color-hover:var(--system-spectrum-button-staticblack-outline-content-color-hover);--spectrum-button-content-color-down:var(--system-spectrum-button-staticblack-outline-content-color-down);--spectrum-button-content-color-focus:var(--system-spectrum-button-staticblack-outline-content-color-focus);--spectrum-button-focus-indicator-color:var(--system-spectrum-button-staticblack-outline-focus-indicator-color);--spectrum-button-background-color-disabled:var(--system-spectrum-button-staticblack-outline-background-color-disabled);--spectrum-button-border-color-disabled:var(--system-spectrum-button-staticblack-outline-border-color-disabled);--spectrum-button-content-color-disabled:var(--system-spectrum-button-staticblack-outline-content-color-disabled)}:host([static=black][variant=secondary]){--spectrum-button-background-color-default:var(--system-spectrum-button-staticblack-secondary-background-color-default);--spectrum-button-background-color-hover:var(--system-spectrum-button-staticblack-secondary-background-color-hover);--spectrum-button-background-color-down:var(--system-spectrum-button-staticblack-secondary-background-color-down);--spectrum-button-background-color-focus:var(--system-spectrum-button-staticblack-secondary-background-color-focus);--spectrum-button-border-color-default:var(--system-spectrum-button-staticblack-secondary-border-color-default);--spectrum-button-border-color-hover:var(--system-spectrum-button-staticblack-secondary-border-color-hover);--spectrum-button-border-color-down:var(--system-spectrum-button-staticblack-secondary-border-color-down);--spectrum-button-border-color-focus:var(--system-spectrum-button-staticblack-secondary-border-color-focus);--spectrum-button-content-color-default:var(--system-spectrum-button-staticblack-secondary-content-color-default);--spectrum-button-content-color-hover:var(--system-spectrum-button-staticblack-secondary-content-color-hover);--spectrum-button-content-color-down:var(--system-spectrum-button-staticblack-secondary-content-color-down);--spectrum-button-content-color-focus:var(--system-spectrum-button-staticblack-secondary-content-color-focus);--spectrum-button-focus-indicator-color:var(--system-spectrum-button-staticblack-secondary-focus-indicator-color);--spectrum-button-background-color-disabled:var(--system-spectrum-button-staticblack-secondary-background-color-disabled);--spectrum-button-border-color-disabled:var(--system-spectrum-button-staticblack-secondary-border-color-disabled);--spectrum-button-content-color-disabled:var(--system-spectrum-button-staticblack-secondary-content-color-disabled)}:host([static=black][variant=secondary][treatment=outline]){--spectrum-button-background-color-default:var(--system-spectrum-button-staticblack-secondary-outline-background-color-default);--spectrum-button-background-color-hover:var(--system-spectrum-button-staticblack-secondary-outline-background-color-hover);--spectrum-button-background-color-down:var(--system-spectrum-button-staticblack-secondary-outline-background-color-down);--spectrum-button-background-color-focus:var(--system-spectrum-button-staticblack-secondary-outline-background-color-focus);--spectrum-button-border-color-default:var(--system-spectrum-button-staticblack-secondary-outline-border-color-default);--spectrum-button-border-color-hover:var(--system-spectrum-button-staticblack-secondary-outline-border-color-hover);--spectrum-button-border-color-down:var(--system-spectrum-button-staticblack-secondary-outline-border-color-down);--spectrum-button-border-color-focus:var(--system-spectrum-button-staticblack-secondary-outline-border-color-focus);--spectrum-button-content-color-default:var(--system-spectrum-button-staticblack-secondary-outline-content-color-default);--spectrum-button-content-color-hover:var(--system-spectrum-button-staticblack-secondary-outline-content-color-hover);--spectrum-button-content-color-down:var(--system-spectrum-button-staticblack-secondary-outline-content-color-down);--spectrum-button-content-color-focus:var(--system-spectrum-button-staticblack-secondary-outline-content-color-focus);--spectrum-button-focus-indicator-color:var(--system-spectrum-button-staticblack-secondary-outline-focus-indicator-color);--spectrum-button-background-color-disabled:var(--system-spectrum-button-staticblack-secondary-outline-background-color-disabled);--spectrum-button-border-color-disabled:var(--system-spectrum-button-staticblack-secondary-outline-border-color-disabled);--spectrum-button-content-color-disabled:var(--system-spectrum-button-staticblack-secondary-outline-content-color-disabled)}@media (forced-colors:active){:host([treatment][disabled]){border-color:graytext}:host([treatment]:not([disabled]):hover){border-color:highlight}}@keyframes show-progress-circle{0%{visibility:hidden}to{visibility:visible}}@keyframes hide-icons-label{0%{visibility:visible}to{visibility:hidden}}@keyframes update-pending-button-styles{to{background-color:var(--highcontrast-button-background-color-disabled,var(--mod-button-background-color-disabled,var(--spectrum-button-background-color-disabled)));border-color:var(--highcontrast-button-border-color-disabled,var(--mod-button-border-color-disabled,var(--spectrum-button-border-color-disabled)));color:var(--highcontrast-button-content-color-disabled,var(--mod-button-content-color-disabled,var(--spectrum-button-content-color-disabled)))}}:host([pending]:not([disabled])){cursor:default;pointer-events:none;animation:update-pending-button-styles 0s var(--pending-delay,1s)forwards}::slotted([slot=icon]){visibility:revert-layer;--mod-progress-circle-position:relative}sp-progress-circle{visibility:hidden;display:block;position:absolute;left:50%;transform:translate(-50%)}:host([pending]:not([disabled])) sp-progress-circle{animation:show-progress-circle 0s var(--pending-delay,1s)forwards}:host([pending]:not([disabled])) slot[name=icon],:host([pending]:not([disabled])) #label{animation:hide-icons-label 0s var(--pending-delay,1s)forwards}
-`;function Ht(t,e,r){return t?e(t):r?.(t)}var Pt=Object.defineProperty,Dt=Object.getOwnPropertyDescriptor,Lt=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?Dt(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&Pt(e,r,c),c};const Ot=["accent","primary","secondary","negative","white","black"];class Ut extends((0,w.Z)(kt,{noDefaultSize:!0})){constructor(){super(...arguments),this.pendingLabel="Pending",this.pending=!1,this.cachedAriaLabel=null,this._variant="accent",this.treatment="fill"}static get styles(){return[...super.styles,_t]}click(){this.pending||super.click()}get variant(){return this._variant}set variant(t){if(t!==this.variant){switch(this.requestUpdate("variant",this.variant),t){case"cta":this._variant="accent";break;case"overBackground":return this.removeAttribute("variant"),this.static="white",void(this.treatment="outline");case"white":case"black":return this.static=t,void this.removeAttribute("variant");case null:return;default:Ot.includes(t)?this._variant=t:this._variant="accent"}this.setAttribute("variant",this.variant)}}set quiet(t){this.treatment=t?"outline":"fill"}get quiet(){return"outline"===this.treatment}firstUpdated(t){super.firstUpdated(t),this.hasAttribute("variant")||this.setAttribute("variant",this.variant)}updated(t){super.updated(t),t.has("pending")&&(this.pending&&this.pendingLabel!==this.getAttribute("aria-label")?this.disabled||(this.cachedAriaLabel=this.getAttribute("aria-label")||"",this.setAttribute("aria-label",this.pendingLabel)):!this.pending&&this.cachedAriaLabel?this.setAttribute("aria-label",this.cachedAriaLabel):!this.pending&&""===this.cachedAriaLabel&&this.removeAttribute("aria-label")),t.has("disabled")&&(this.disabled||this.pendingLabel===this.getAttribute("aria-label")?this.disabled&&this.cachedAriaLabel?this.setAttribute("aria-label",this.cachedAriaLabel):this.disabled&&""==this.cachedAriaLabel&&this.removeAttribute("aria-label"):this.pending&&(this.cachedAriaLabel=this.getAttribute("aria-label")||"",this.setAttribute("aria-label",this.pendingLabel)))}renderButton(){return t.qy`
+`;function Bt(t,e,r){return t?e(t):r?.(t)}var Ft=Object.defineProperty,Rt=Object.getOwnPropertyDescriptor,Zt=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?Rt(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&Ft(e,r,c),c};const Nt=["accent","primary","secondary","negative","white","black"];class Vt extends((0,A.Z)(It,{noDefaultSize:!0})){constructor(){super(...arguments),this.pendingLabel="Pending",this.pending=!1,this.cachedAriaLabel=null,this._variant="accent",this.treatment="fill"}static get styles(){return[...super.styles,Ut]}click(){this.pending||super.click()}get variant(){return this._variant}set variant(t){if(t!==this.variant){switch(this.requestUpdate("variant",this.variant),t){case"cta":this._variant="accent";break;case"overBackground":return this.removeAttribute("variant"),this.static="white",void(this.treatment="outline");case"white":case"black":return this.static=t,void this.removeAttribute("variant");case null:return;default:Nt.includes(t)?this._variant=t:this._variant="accent"}this.setAttribute("variant",this.variant)}}set quiet(t){this.treatment=t?"outline":"fill"}get quiet(){return"outline"===this.treatment}firstUpdated(t){super.firstUpdated(t),this.hasAttribute("variant")||this.setAttribute("variant",this.variant)}updated(t){super.updated(t),t.has("pending")&&(this.pending&&this.pendingLabel!==this.getAttribute("aria-label")?this.disabled||(this.cachedAriaLabel=this.getAttribute("aria-label")||"",this.setAttribute("aria-label",this.pendingLabel)):!this.pending&&this.cachedAriaLabel?this.setAttribute("aria-label",this.cachedAriaLabel):!this.pending&&""===this.cachedAriaLabel&&this.removeAttribute("aria-label")),t.has("disabled")&&(this.disabled||this.pendingLabel===this.getAttribute("aria-label")?this.disabled&&this.cachedAriaLabel?this.setAttribute("aria-label",this.cachedAriaLabel):this.disabled&&""==this.cachedAriaLabel&&this.removeAttribute("aria-label"):this.pending&&(this.cachedAriaLabel=this.getAttribute("aria-label")||"",this.setAttribute("aria-label",this.pendingLabel)))}renderButton(){return i.qy`
             ${this.buttonContent}
-            ${Ht(this.pending,(()=>(Promise.resolve().then(a.bind(a,443)),t.qy`
+            ${Bt(this.pending,(()=>(Promise.resolve().then(a.bind(a,443)),i.qy`
                     <sp-progress-circle
                         indeterminate
                         static="white"
                         aria-hidden="true"
                     ></sp-progress-circle>
                 `)))}
-        `}}Lt([(0,d.MZ)({type:String,attribute:"pending-label"})],Ut.prototype,"pendingLabel",2),Lt([(0,d.MZ)({type:Boolean,reflect:!0,attribute:!0})],Ut.prototype,"pending",2),Lt([(0,d.MZ)()],Ut.prototype,"variant",1),Lt([(0,d.MZ)({type:String,reflect:!0})],Ut.prototype,"static",2),Lt([(0,d.MZ)({reflect:!0})],Ut.prototype,"treatment",2),Lt([(0,d.MZ)({type:Boolean})],Ut.prototype,"quiet",1),(0,x.e)("sp-button",Ut),(0,x.e)("sp-icon-asterisk100",class extends v{render(){return Ct(t.qy),(({width:t=24,height:e=24,title:r="Asterisk100"}={})=>zt`<svg
+        `}}Zt([(0,f.MZ)({type:String,attribute:"pending-label"})],Vt.prototype,"pendingLabel",2),Zt([(0,f.MZ)({type:Boolean,reflect:!0,attribute:!0})],Vt.prototype,"pending",2),Zt([(0,f.MZ)()],Vt.prototype,"variant",1),Zt([(0,f.MZ)({type:String,reflect:!0})],Vt.prototype,"static",2),Zt([(0,f.MZ)({reflect:!0})],Vt.prototype,"treatment",2),Zt([(0,f.MZ)({type:Boolean})],Vt.prototype,"quiet",1),(0,$.e)("sp-button",Vt),(0,$.e)("sp-icon-asterisk100",class extends z{render(){return qt(i.qy),(({width:t=24,height:e=24,title:r="Asterisk100"}={})=>Et`<svg
     xmlns="http://www.w3.org/2000/svg"
     viewBox="0 0 8 8"
     aria-hidden="true"
@@ -199,29 +199,29 @@ governing permissions and limitations under the License.
     <path
       d="M6.575 6.555c.055.056.092.13 0 .2l-1.149.741c-.092.056-.129.019-.166-.074L3.834 4.94 1.963 7c-.019.036-.074.073-.129 0l-.889-.927c-.093-.055-.074-.111 0-.166l2.111-1.76L.648 3.24c-.037 0-.092-.074-.056-.167l.63-1.259a.097.097 0 0 1 .167-.036L3.5 3.148l.13-2.7a.1.1 0 0 1 .081-.111h.03l1.537.2c.093 0 .111.037.093.13l-.723 2.647 2.445-.741c.055-.037.111-.037.148.074l.241 1.37c.018.093 0 .13-.074.13l-2.556.2z"
     />
-  </svg>`)()}});const Bt=t.AH`
+  </svg>`)()}});const Kt=i.AH`
     .spectrum-UIIcon-Asterisk75{--spectrum-icon-size:var(--spectrum-asterisk-icon-size-75)}.spectrum-UIIcon-Asterisk100{--spectrum-icon-size:var(--spectrum-asterisk-icon-size-100)}.spectrum-UIIcon-Asterisk200{--spectrum-icon-size:var(--spectrum-asterisk-icon-size-200)}.spectrum-UIIcon-Asterisk300{--spectrum-icon-size:var(--spectrum-asterisk-icon-size-300)}
-`;var Ft=a(115),Rt=a(132);const Zt=t.AH`
+`;var Wt=a(115),Jt=a(132);const Gt=i.AH`
     :host{--spectrum-fieldlabel-min-height:var(--spectrum-component-height-75);--spectrum-fieldlabel-color:var(--spectrum-neutral-subdued-content-color-default);--spectrum-field-label-text-to-asterisk:var(--spectrum-field-label-text-to-asterisk-medium);--spectrum-fieldlabel-font-weight:var(--spectrum-regular-font-weight);--spectrum-fieldlabel-line-height:var(--spectrum-line-height-100);--spectrum-fieldlabel-line-height-cjk:var(--spectrum-cjk-line-height-100)}:host([size=s]){--spectrum-fieldlabel-min-height:var(--spectrum-component-height-75);--spectrum-fieldlabel-top-to-text:var(--spectrum-component-top-to-text-75);--spectrum-fieldlabel-bottom-to-text:var(--spectrum-component-bottom-to-text-75);--spectrum-fieldlabel-font-size:var(--spectrum-font-size-75);--spectrum-fieldlabel-side-margin-block-start:var(--spectrum-field-label-top-margin-small);--spectrum-fieldlabel-side-padding-right:var(--spectrum-spacing-100);--spectrum-field-label-text-to-asterisk:var(--spectrum-field-label-text-to-asterisk-small)}:host{--spectrum-fieldlabel-min-height:var(--spectrum-component-height-75);--spectrum-fieldlabel-top-to-text:var(--spectrum-component-top-to-text-75);--spectrum-fieldlabel-bottom-to-text:var(--spectrum-component-bottom-to-text-75);--spectrum-fieldlabel-font-size:var(--spectrum-font-size-75);--spectrum-fieldlabel-side-margin-block-start:var(--spectrum-field-label-top-margin-medium);--spectrum-fieldlabel-side-padding-right:var(--spectrum-spacing-200);--spectrum-field-label-text-to-asterisk:var(--spectrum-field-label-text-to-asterisk-medium)}:host([size=l]){--spectrum-fieldlabel-min-height:var(--spectrum-component-height-100);--spectrum-fieldlabel-top-to-text:var(--spectrum-component-top-to-text-100);--spectrum-fieldlabel-bottom-to-text:var(--spectrum-component-bottom-to-text-100);--spectrum-fieldlabel-font-size:var(--spectrum-font-size-100);--spectrum-fieldlabel-side-margin-block-start:var(--spectrum-field-label-top-margin-large);--spectrum-fieldlabel-side-padding-right:var(--spectrum-spacing-200);--spectrum-field-label-text-to-asterisk:var(--spectrum-field-label-text-to-asterisk-large)}:host([size=xl]){--spectrum-fieldlabel-min-height:var(--spectrum-component-height-200);--spectrum-fieldlabel-top-to-text:var(--spectrum-component-top-to-text-200);--spectrum-fieldlabel-bottom-to-text:var(--spectrum-component-bottom-to-text-200);--spectrum-fieldlabel-font-size:var(--spectrum-font-size-200);--spectrum-fieldlabel-side-margin-block-start:var(--spectrum-field-label-top-margin-extra-large);--spectrum-fieldlabel-side-padding-right:var(--spectrum-spacing-200);--spectrum-field-label-text-to-asterisk:var(--spectrum-field-label-text-to-asterisk-extra-large)}:host{box-sizing:border-box;min-block-size:var(--mod-fieldlabel-min-height,var(--spectrum-fieldlabel-min-height));padding-block:var(--mod-field-label-top-to-text,var(--spectrum-fieldlabel-top-to-text))var(--mod-field-label-bottom-to-text,var(--spectrum-fieldlabel-bottom-to-text));font-size:var(--mod-fieldlabel-font-size,var(--spectrum-fieldlabel-font-size));font-weight:var(--mod-fieldlabel-font-weight,var(--spectrum-fieldlabel-font-weight));line-height:var(--mod-fieldlabel-line-height,var(--spectrum-fieldlabel-line-height));-webkit-font-smoothing:subpixel-antialiased;-moz-osx-font-smoothing:auto;color:var(--spectrum-fieldlabel-color);padding-inline:0;display:block}:host(:lang(ja)),:host(:lang(ko)),:host(:lang(zh)){line-height:var(--mod-fieldlabel-line-height-cjk,var(--spectrum-fieldlabel-line-height-cjk))}.required-icon{margin-block:0;margin-inline:var(--mod-field-label-text-to-asterisk,var(--spectrum-field-label-text-to-asterisk))0;vertical-align:var(--mod-field-label-asterisk-vertical-align,baseline)}:host([side-aligned=start]),:host([side-aligned=end]){vertical-align:top;margin-block-start:var(--mod-fieldlabel-side-margin-block-start,var(--spectrum-fieldlabel-side-margin-block-start));margin-block-end:0;margin-inline-end:var(--mod-fieldlabel-side-padding-right,var(--spectrum-fieldlabel-side-padding-right));display:inline-block}:host([side-aligned=end]){text-align:end}:host([disabled]),:host([disabled]) .required-icon{color:var(--highcontrast-disabled-content-color,var(--mod-disabled-content-color,var(--spectrum-disabled-content-color)))}@media (forced-colors:active){:host{--highcontrast-disabled-content-color:GrayText}}label{display:inline-block}
-`;var Nt=Object.defineProperty,Vt=Object.getOwnPropertyDescriptor,Kt=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?Vt(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&Nt(e,r,c),c};class Wt extends((0,w.Z)(m.w,{noDefaultSize:!0})){constructor(){super(...arguments),this.disabled=!1,this.id="",this.for="",this.required=!1,this.resolvedElement=new Rt.b(this)}static get styles(){return[Zt,Bt]}handleClick(t){if(!this.target||this.disabled||t.defaultPrevented)return;this.target.focus();const e=this.getRootNode(),r=this.target,o=r.getRootNode(),s=o.host;o===e&&r.forceFocusVisible?r.forceFocusVisible():s&&s.forceFocusVisible&&s.forceFocusVisible()}applyTargetLabel(t){if(this.target=t||this.target,this.target){const e=this.target.applyFocusElementLabel,r=this.target.focusElement||this.target,o=r.getRootNode();void 0!==e?e(this.labelText,this):o===this.getRootNode()?(t?Ft.$:Ft.N)(r,"aria-labelledby",[this.id]):t?r.setAttribute("aria-label",this.labelText):r.removeAttribute("aria-label")}}async manageTarget(){this.applyTargetLabel();const t=this.resolvedElement.element;t?(t.localName.search("-")>0&&await customElements.whenDefined(t.localName),void 0!==t.updateComplete&&await t.updateComplete,this.applyTargetLabel(t)):this.target=t}get labelText(){const t=this.slotEl.assignedNodes({flatten:!0});return t.length?t.map((t=>(t.textContent||"").trim())).join(" "):""}render(){return t.qy`
+`;var Xt=Object.defineProperty,Yt=Object.getOwnPropertyDescriptor,Qt=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?Yt(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&Xt(e,r,c),c};class te extends((0,A.Z)(v.w,{noDefaultSize:!0})){constructor(){super(...arguments),this.disabled=!1,this.id="",this.for="",this.required=!1,this.resolvedElement=new Jt.b(this)}static get styles(){return[Gt,Kt]}handleClick(t){if(!this.target||this.disabled||t.defaultPrevented)return;this.target.focus();const e=this.getRootNode(),r=this.target,o=r.getRootNode(),s=o.host;o===e&&r.forceFocusVisible?r.forceFocusVisible():s&&s.forceFocusVisible&&s.forceFocusVisible()}applyTargetLabel(t){if(this.target=t||this.target,this.target){const e=this.target.applyFocusElementLabel,r=this.target.focusElement||this.target,o=r.getRootNode();void 0!==e?e(this.labelText,this):o===this.getRootNode()?(t?Wt.$:Wt.N)(r,"aria-labelledby",[this.id]):t?r.setAttribute("aria-label",this.labelText):r.removeAttribute("aria-label")}}async manageTarget(){this.applyTargetLabel();const t=this.resolvedElement.element;t?(t.localName.search("-")>0&&await customElements.whenDefined(t.localName),void 0!==t.updateComplete&&await t.updateComplete,this.applyTargetLabel(t)):this.target=t}get labelText(){const t=this.slotEl.assignedNodes({flatten:!0});return t.length?t.map((t=>(t.textContent||"").trim())).join(" "):""}render(){return i.qy`
             <label>
                 <slot></slot>
-                ${this.required?t.qy`
+                ${this.required?i.qy`
                           <sp-icon-asterisk100
                               class="required-icon spectrum-UIIcon-Asterisk100"
                           ></sp-icon-asterisk100>
-                      `:t.s6}
+                      `:i.s6}
             </label>
-        `}firstUpdated(t){super.firstUpdated(t),this.addEventListener("click",this.handleClick)}willUpdate(t){this.hasAttribute("id")||this.setAttribute("id",`${this.tagName.toLowerCase()}-${(0,tt.l)()}`),t.has("for")&&(this.resolvedElement.selector=this.for?`#${this.for}`:""),(t.has("id")||t.has(Rt.i))&&this.manageTarget()}}Kt([(0,d.MZ)({type:Boolean,reflect:!0})],Wt.prototype,"disabled",2),Kt([(0,d.MZ)({type:String})],Wt.prototype,"id",2),Kt([(0,d.MZ)({type:String})],Wt.prototype,"for",2),Kt([(0,d.MZ)({type:Boolean,reflect:!0})],Wt.prototype,"required",2),Kt([(0,d.P)("slot")],Wt.prototype,"slotEl",2),Kt([(0,d.MZ)({type:String,reflect:!0,attribute:"side-aligned"})],Wt.prototype,"sideAligned",2),(0,x.e)("sp-field-label",Wt);const{I:Jt}=z.ge,Gt=t=>void 0===t.strings,Xt={},Yt=(0,C.u$)(class extends C.WL{constructor(t){if(super(t),t.type!==C.OA.PROPERTY&&t.type!==C.OA.ATTRIBUTE&&t.type!==C.OA.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Gt(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===z.c0||e===z.s6)return e;const r=t.element,o=t.name;if(t.type===C.OA.PROPERTY){if(e===r[o])return z.c0}else if(t.type===C.OA.BOOLEAN_ATTRIBUTE){if(!!e===r.hasAttribute(o))return z.c0}else if(t.type===C.OA.ATTRIBUTE&&r.getAttribute(o)===e+"")return z.c0;return((t,e=Xt)=>{t._$AH=e})(t),e}});class Qt{constructor(t,{mode:e}={mode:"internal"}){this.mode="internal",this.handleSlotchange=({target:t})=>{this.handleHelpText(t),this.handleNegativeHelpText(t)},this.host=t,this.id=`sp-help-text-${(0,tt.l)()}`,this.mode=e}get isInternal(){return"internal"===this.mode}render(e){return t.qy`
-            <div id=${(0,S.J)(this.isInternal?this.id:void 0)}>
+        `}firstUpdated(t){super.firstUpdated(t),this.addEventListener("click",this.handleClick)}willUpdate(t){this.hasAttribute("id")||this.setAttribute("id",`${this.tagName.toLowerCase()}-${(0,at.l)()}`),t.has("for")&&(this.resolvedElement.selector=this.for?`#${this.for}`:""),(t.has("id")||t.has(Jt.i))&&this.manageTarget()}}Qt([(0,f.MZ)({type:Boolean,reflect:!0})],te.prototype,"disabled",2),Qt([(0,f.MZ)({type:String})],te.prototype,"id",2),Qt([(0,f.MZ)({type:String})],te.prototype,"for",2),Qt([(0,f.MZ)({type:Boolean,reflect:!0})],te.prototype,"required",2),Qt([(0,f.P)("slot")],te.prototype,"slotEl",2),Qt([(0,f.MZ)({type:String,reflect:!0,attribute:"side-aligned"})],te.prototype,"sideAligned",2),(0,$.e)("sp-field-label",te);const{I:ee}=E.ge,re=t=>void 0===t.strings,oe={},se=(0,q.u$)(class extends q.WL{constructor(t){if(super(t),t.type!==q.OA.PROPERTY&&t.type!==q.OA.ATTRIBUTE&&t.type!==q.OA.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!re(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===E.c0||e===E.s6)return e;const r=t.element,o=t.name;if(t.type===q.OA.PROPERTY){if(e===r[o])return E.c0}else if(t.type===q.OA.BOOLEAN_ATTRIBUTE){if(!!e===r.hasAttribute(o))return E.c0}else if(t.type===q.OA.ATTRIBUTE&&r.getAttribute(o)===e+"")return E.c0;return((t,e=oe)=>{t._$AH=e})(t),e}});class ce{constructor(t,{mode:e}={mode:"internal"}){this.mode="internal",this.handleSlotchange=({target:t})=>{this.handleHelpText(t),this.handleNegativeHelpText(t)},this.host=t,this.id=`sp-help-text-${(0,at.l)()}`,this.mode=e}get isInternal(){return"internal"===this.mode}render(t){return i.qy`
+            <div id=${(0,j.J)(this.isInternal?this.id:void 0)}>
                 <slot
-                    name=${e?"negative-help-text":`pass-through-help-text-${(0,tt.l)()}`}
+                    name=${t?"negative-help-text":`pass-through-help-text-${(0,at.l)()}`}
                     @slotchange=${this.handleSlotchange}
                 >
                     <slot name="help-text"></slot>
                 </slot>
             </div>
-        `}addId(){const t=this.helpTextElement?this.helpTextElement.id:this.id;this.conditionId=(0,Ft.$)(this.host,"aria-describedby",t),this.host.hasAttribute("tabindex")&&(this.previousTabindex=parseFloat(this.host.getAttribute("tabindex"))),this.host.tabIndex=0}removeId(){this.conditionId&&(this.conditionId(),delete this.conditionId),!this.helpTextElement&&(this.previousTabindex?this.host.tabIndex=this.previousTabindex:this.host.removeAttribute("tabindex"))}handleHelpText(t){if(this.isInternal)return;this.helpTextElement&&this.helpTextElement.id===this.id&&this.helpTextElement.removeAttribute("id"),this.removeId();const e=t.assignedElements()[0];this.helpTextElement=e,e&&(e.id||(e.id=this.id),this.addId())}handleNegativeHelpText(t){"negative-help-text"===t.name&&t.assignedElements().forEach((t=>t.variant="negative"))}}(0,x.e)("sp-icon-checkmark100",class extends v{render(){return Ct(t.qy),(({width:t=24,height:e=24,title:r="Checkmark100"}={})=>zt`<svg
+        `}addId(){const t=this.helpTextElement?this.helpTextElement.id:this.id;this.conditionId=(0,Wt.$)(this.host,"aria-describedby",t),this.host.hasAttribute("tabindex")&&(this.previousTabindex=parseFloat(this.host.getAttribute("tabindex"))),this.host.tabIndex=0}removeId(){this.conditionId&&(this.conditionId(),delete this.conditionId),!this.helpTextElement&&(this.previousTabindex?this.host.tabIndex=this.previousTabindex:this.host.removeAttribute("tabindex"))}handleHelpText(t){if(this.isInternal)return;this.helpTextElement&&this.helpTextElement.id===this.id&&this.helpTextElement.removeAttribute("id"),this.removeId();const e=t.assignedElements()[0];this.helpTextElement=e,e&&(e.id||(e.id=this.id),this.addId())}handleNegativeHelpText(t){"negative-help-text"===t.name&&t.assignedElements().forEach((t=>t.variant="negative"))}}(0,$.e)("sp-icon-checkmark100",class extends z{render(){return qt(i.qy),(({width:t=24,height:e=24,title:r="Checkmark100"}={})=>Et`<svg
     xmlns="http://www.w3.org/2000/svg"
     viewBox="0 0 10 10"
     aria-hidden="true"
@@ -234,7 +234,7 @@ governing permissions and limitations under the License.
     <path
       d="M3.5 9.5a1 1 0 0 1-.774-.368l-2.45-3a1 1 0 1 1 1.548-1.264l1.657 2.028 4.68-6.01A1 1 0 0 1 9.74 2.114l-5.45 7a1 1 0 0 1-.777.386z"
     />
-  </svg>`)()}}),(0,x.e)("sp-icon-alert",class extends v{render(){return y(t.qy),(({width:t=24,height:e=24,hidden:r=!1,title:o="Alert"}={})=>k`<svg
+  </svg>`)()}}),(0,$.e)("sp-icon-alert",class extends z{render(){return S(i.qy),(({width:t=24,height:e=24,hidden:r=!1,title:o="Alert"}={})=>I`<svg
     xmlns="http://www.w3.org/2000/svg"
     height=${e}
     viewBox="0 0 36 36"
@@ -247,33 +247,33 @@ governing permissions and limitations under the License.
     <path
       d="M17.127 2.579.4 32.512A1 1 0 0 0 1.272 34h33.456a1 1 0 0 0 .872-1.488L18.873 2.579a1 1 0 0 0-1.746 0ZM20 29.5a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5Zm0-6a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-12a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5Z"
     />
-  </svg>`)({hidden:!this.label,title:this.label})}});const te=t.AH`
+  </svg>`)({hidden:!this.label,title:this.label})}});const ae=i.AH`
     :host{--spectrum-textfield-input-line-height:var(--spectrum-textfield-height);--spectrum-texfield-animation-duration:var(--spectrum-animation-duration-100);--spectrum-textfield-width:240px;--spectrum-textfield-min-width:var(--spectrum-text-field-minimum-width-multiplier);--spectrum-textfield-corner-radius:var(--spectrum-corner-radius-100);--spectrum-textfield-height:var(--spectrum-component-height-100);--spectrum-textfield-spacing-inline:var(--spectrum-component-edge-to-text-100);--spectrum-textfield-spacing-inline-quiet:var(--spectrum-field-edge-to-text-quiet);--spectrum-textfield-spacing-block-start:var(--spectrum-component-top-to-text-100);--spectrum-textfield-spacing-block-end:var(--spectrum-component-bottom-to-text-100);--spectrum-textfield-spacing-block-quiet:var(--spectrum-field-edge-to-border-quiet);--spectrum-textfield-label-spacing-block:var(--spectrum-field-label-to-component);--spectrum-textfield-label-spacing-block-quiet:var(--spectrum-field-label-to-component-quiet-medium);--spectrum-textfield-label-spacing-inline-side-label:var(--spectrum-spacing-100);--spectrum-textfield-helptext-spacing-block:var(--spectrum-help-text-to-component);--spectrum-textfield-icon-size-invalid:var(--spectrum-workflow-icon-size-100);--spectrum-textfield-icon-size-valid:var(--spectrum-checkmark-icon-size-100);--spectrum-textfield-icon-spacing-inline-start-invalid:var(--spectrum-field-text-to-alert-icon-medium);--spectrum-textfield-icon-spacing-inline-end-invalid:var(--spectrum-field-edge-to-alert-icon-medium);--spectrum-textfield-icon-spacing-inline-end-quiet-invalid:var(--spectrum-field-edge-to-alert-icon-quiet);--spectrum-textfield-icon-spacing-block-invalid:var(--spectrum-field-top-to-alert-icon-medium);--spectrum-textfield-icon-spacing-inline-start-valid:var(--spectrum-field-text-to-validation-icon-medium);--spectrum-textfield-icon-spacing-inline-end-valid:var(--spectrum-field-edge-to-validation-icon-medium);--spectrum-textfield-icon-spacing-inline-end-quiet-valid:var(--spectrum-field-edge-to-validation-icon-quiet);--spectrum-textfield-icon-spacing-block-valid:var(--spectrum-field-top-to-validation-icon-medium);--spectrum-textfield-font-family:var(--spectrum-sans-font-family-stack);--spectrum-textfield-font-weight:var(--spectrum-regular-font-weight);--spectrum-textfield-placeholder-font-size:var(--spectrum-font-size-100);--spectrum-textfield-character-count-font-family:var(--spectrum-sans-font-family-stack);--spectrum-textfield-character-count-font-weight:var(--spectrum-regular-font-weight);--spectrum-textfield-character-count-font-size:var(--spectrum-font-size-75);--spectrum-textfield-character-count-spacing-inline:var(--spectrum-spacing-200);--spectrum-textfield-character-count-spacing-block:var(--spectrum-component-bottom-to-text-75);--spectrum-textfield-character-count-spacing-inline-side:var(--spectrum-side-label-character-count-to-field);--spectrum-textfield-character-count-spacing-block-side:var(--spectrum-side-label-character-count-top-margin-medium);--spectrum-textfield-focus-indicator-width:var(--spectrum-focus-indicator-thickness);--spectrum-textfield-focus-indicator-gap:var(--spectrum-focus-indicator-gap);--spectrum-textfield-background-color:var(--spectrum-gray-50);--spectrum-textfield-text-color-default:var(--spectrum-neutral-content-color-default);--spectrum-textfield-text-color-hover:var(--spectrum-neutral-content-color-hover);--spectrum-textfield-text-color-focus:var(--spectrum-neutral-content-color-focus);--spectrum-textfield-text-color-focus-hover:var(--spectrum-neutral-content-color-focus-hover);--spectrum-textfield-text-color-keyboard-focus:var(--spectrum-neutral-content-color-key-focus);--spectrum-textfield-text-color-readonly:var(--spectrum-neutral-content-color-default);--spectrum-textfield-background-color-disabled:var(--spectrum-disabled-background-color);--spectrum-textfield-border-color-disabled:var(--spectrum-disabled-border-color);--spectrum-textfield-text-color-disabled:var(--spectrum-disabled-content-color);--spectrum-textfield-border-color-invalid-default:var(--spectrum-negative-border-color-default);--spectrum-textfield-border-color-invalid-hover:var(--spectrum-negative-border-color-hover);--spectrum-textfield-border-color-invalid-focus:var(--spectrum-negative-border-color-focus);--spectrum-textfield-border-color-invalid-focus-hover:var(--spectrum-negative-border-color-focus-hover);--spectrum-textfield-border-color-invalid-keyboard-focus:var(--spectrum-negative-border-color-key-focus);--spectrum-textfield-icon-color-invalid:var(--spectrum-negative-visual-color);--spectrum-textfield-text-color-invalid:var(--spectrum-neutral-content-color-default);--spectrum-textfield-text-color-valid:var(--spectrum-neutral-content-color-default);--spectrum-textfield-icon-color-valid:var(--spectrum-positive-visual-color);--spectrum-textfield-focus-indicator-color:var(--spectrum-focus-indicator-color);--spectrum-text-area-min-inline-size:var(--spectrum-text-area-minimum-width);--spectrum-text-area-min-block-size:var(--spectrum-text-area-minimum-height);--spectrum-text-area-min-block-size-quiet:var(--spectrum-component-height-100)}:host([size=s]){--spectrum-textfield-height:var(--spectrum-component-height-75);--spectrum-textfield-label-spacing-block-quiet:var(--spectrum-field-label-to-component-quiet-small);--spectrum-textfield-label-spacing-inline-side-label:var(--spectrum-spacing-100);--spectrum-textfield-placeholder-font-size:var(--spectrum-font-size-75);--spectrum-textfield-spacing-inline:var(--spectrum-component-edge-to-text-75);--spectrum-textfield-icon-size-invalid:var(--spectrum-workflow-icon-size-75);--spectrum-textfield-icon-size-valid:var(--spectrum-checkmark-icon-size-75);--spectrum-textfield-icon-spacing-inline-end-invalid:var(--spectrum-field-edge-to-alert-icon-small);--spectrum-textfield-icon-spacing-inline-end-valid:var(--spectrum-field-edge-to-validation-icon-small);--spectrum-textfield-icon-spacing-block-invalid:var(--spectrum-field-top-to-alert-icon-small);--spectrum-textfield-icon-spacing-block-valid:var(--spectrum-field-top-to-validation-icon-small);--spectrum-textfield-icon-spacing-inline-start-invalid:var(--spectrum-field-text-to-alert-icon-small);--spectrum-textfield-icon-spacing-inline-start-valid:var(--spectrum-field-text-to-validation-icon-small);--spectrum-textfield-character-count-font-size:var(--spectrum-font-size-75);--spectrum-textfield-character-count-spacing-block:var(--spectrum-component-bottom-to-text-75);--spectrum-textfield-character-count-spacing-block-quiet:var(--spectrum-character-count-to-field-quiet-small);--spectrum-textfield-character-count-spacing-block-side:var(--spectrum-side-label-character-count-top-margin-small);--spectrum-text-area-min-block-size-quiet:var(--spectrum-component-height-75)}:host{--spectrum-textfield-height:var(--spectrum-component-height-100);--spectrum-textfield-label-spacing-block-quiet:var(--spectrum-field-label-to-component-quiet-medium);--spectrum-textfield-label-spacing-inline-side-label:var(--spectrum-spacing-200);--spectrum-textfield-placeholder-font-size:var(--spectrum-font-size-100);--spectrum-textfield-spacing-inline:var(--spectrum-component-edge-to-text-100);--spectrum-textfield-icon-size-invalid:var(--spectrum-workflow-icon-size-100);--spectrum-textfield-icon-size-valid:var(--spectrum-checkmark-icon-size-100);--spectrum-textfield-icon-spacing-inline-end-invalid:var(--spectrum-field-edge-to-alert-icon-medium);--spectrum-textfield-icon-spacing-inline-end-valid:var(--spectrum-field-edge-to-validation-icon-medium);--spectrum-textfield-icon-spacing-block-invalid:var(--spectrum-field-top-to-alert-icon-medium);--spectrum-textfield-icon-spacing-block-valid:var(--spectrum-field-top-to-validation-icon-medium);--spectrum-textfield-icon-spacing-inline-start-invalid:var(--spectrum-field-text-to-alert-icon-medium);--spectrum-textfield-icon-spacing-inline-start-valid:var(--spectrum-field-text-to-validation-icon-medium);--spectrum-textfield-character-count-font-size:var(--spectrum-font-size-75);--spectrum-textfield-character-count-spacing-block:var(--spectrum-component-bottom-to-text-75);--spectrum-textfield-character-count-spacing-block-quiet:var(--spectrum-character-count-to-field-quiet-medium);--spectrum-textfield-character-count-spacing-block-side:var(--spectrum-side-label-character-count-top-margin-medium);--spectrum-text-area-min-block-size-quiet:var(--spectrum-component-height-100)}:host([size=l]){--spectrum-textfield-height:var(--spectrum-component-height-200);--spectrum-textfield-label-spacing-block-quiet:var(--spectrum-field-label-to-component-quiet-large);--spectrum-textfield-label-spacing-inline-side-label:var(--spectrum-spacing-200);--spectrum-textfield-placeholder-font-size:var(--spectrum-font-size-200);--spectrum-textfield-spacing-inline:var(--spectrum-component-edge-to-text-200);--spectrum-textfield-icon-size-invalid:var(--spectrum-workflow-icon-size-200);--spectrum-textfield-icon-size-valid:var(--spectrum-checkmark-icon-size-200);--spectrum-textfield-icon-spacing-inline-end-invalid:var(--spectrum-field-edge-to-alert-icon-large);--spectrum-textfield-icon-spacing-inline-end-valid:var(--spectrum-field-edge-to-validation-icon-large);--spectrum-textfield-icon-spacing-block-invalid:var(--spectrum-field-top-to-alert-icon-large);--spectrum-textfield-icon-spacing-block-valid:var(--spectrum-field-top-to-validation-icon-large);--spectrum-textfield-icon-spacing-inline-start-invalid:var(--spectrum-field-text-to-alert-icon-large);--spectrum-textfield-icon-spacing-inline-start-valid:var(--spectrum-field-text-to-validation-icon-large);--spectrum-textfield-character-count-font-size:var(--spectrum-font-size-100);--spectrum-textfield-character-count-spacing-block:var(--spectrum-component-bottom-to-text-100);--spectrum-textfield-character-count-spacing-block-quiet:var(--spectrum-character-count-to-field-quiet-large);--spectrum-textfield-character-count-spacing-block-side:var(--spectrum-side-label-character-count-top-margin-large);--spectrum-text-area-min-block-size-quiet:var(--spectrum-component-height-200)}:host([size=xl]){--spectrum-textfield-height:var(--spectrum-component-height-300);--spectrum-textfield-label-spacing-block-quiet:var(--spectrum-field-label-to-component-quiet-extra-large);--spectrum-textfield-label-spacing-inline-side-label:var(--spectrum-spacing-200);--spectrum-textfield-placeholder-font-size:var(--spectrum-font-size-300);--spectrum-textfield-spacing-inline:var(--spectrum-component-edge-to-text-200);--spectrum-textfield-icon-size-invalid:var(--spectrum-workflow-icon-size-300);--spectrum-textfield-icon-size-valid:var(--spectrum-checkmark-icon-size-300);--spectrum-textfield-icon-spacing-inline-end-invalid:var(--spectrum-field-edge-to-alert-icon-extra-large);--spectrum-textfield-icon-spacing-inline-end-valid:var(--spectrum-field-edge-to-validation-icon-extra-large);--spectrum-textfield-icon-spacing-block-invalid:var(--spectrum-field-top-to-alert-icon-extra-large);--spectrum-textfield-icon-spacing-block-valid:var(--spectrum-field-top-to-validation-icon-extra-large);--spectrum-textfield-icon-spacing-inline-start-invalid:var(--spectrum-field-text-to-alert-icon-extra-large);--spectrum-textfield-icon-spacing-inline-start-valid:var(--spectrum-field-text-to-validation-icon-extra-large);--spectrum-textfield-character-count-font-size:var(--spectrum-font-size-200);--spectrum-textfield-character-count-spacing-block:var(--spectrum-component-bottom-to-text-200);--spectrum-textfield-character-count-spacing-block-quiet:var(--spectrum-character-count-to-field-quiet-extra-large);--spectrum-textfield-character-count-spacing-block-side:var(--spectrum-side-label-character-count-top-margin-extra-large);--spectrum-text-area-min-block-size-quiet:var(--spectrum-component-height-300)}#textfield{inline-size:var(--mod-textfield-width,var(--spectrum-textfield-width));text-indent:0;appearance:textfield;text-overflow:ellipsis;grid-template-rows:auto auto auto;grid-template-columns:auto auto;margin:0;display:inline-grid;position:relative;overflow:visible}:host([quiet]) #textfield:after{content:"";block-size:var(--mod-textfield-focus-indicator-width,var(--spectrum-textfield-focus-indicator-width));inline-size:100%;position:absolute;inset-block-end:calc(( var(--mod-textfield-focus-indicator-gap,var(--spectrum-textfield-focus-indicator-gap)) + var(--mod-textfield-focus-indicator-width,var(--spectrum-textfield-focus-indicator-width)))*-1);inset-inline-start:0}:host([quiet][focused]) #textfield:after{background-color:var(--highcontrast-textfield-focus-indicator-color,var(--mod-textfield-focus-indicator-color,var(--spectrum-textfield-focus-indicator-color)))}:host([quiet][invalid]) #textfield .input{padding-inline-end:calc(var(--mod-textfield-icon-spacing-inline-start-invalid,var(--spectrum-textfield-icon-spacing-inline-start-invalid)) + var(--mod-textfield-icon-size-invalid,var(--spectrum-textfield-icon-size-invalid)))}:host([quiet][valid]) #textfield .input{padding-inline-end:calc(var(--mod-textfield-icon-spacing-inline-start-valid,var(--spectrum-textfield-icon-spacing-inline-start-valid)) + var(--mod-textfield-icon-size-valid,var(--spectrum-textfield-icon-size-valid)))}:host([invalid]) #textfield .icon,:host([valid]) #textfield .icon{pointer-events:all;grid-area:2/2;margin-inline-start:auto;position:absolute;inset-block-start:0}#textfield.spectrum-Textfield--sideLabel .icon{grid-area:1/2/span 1/span 1}:host([valid]) #textfield .icon{color:var(--highcontrast-textfield-icon-color-valid,var(--mod-textfield-icon-color-valid,var(--spectrum-textfield-icon-color-valid)));inset-block-start:var(--mod-textfield-icon-spacing-block-valid,var(--spectrum-textfield-icon-spacing-block-valid));inset-block-end:var(--mod-textfield-icon-spacing-block-valid,var(--spectrum-textfield-icon-spacing-block-valid));inset-inline-end:var(--mod-textfield-icon-spacing-inline-end-valid,var(--spectrum-textfield-icon-spacing-inline-end-valid))}:host([invalid]) #textfield .icon{block-size:var(--mod-textfield-icon-size-invalid,var(--spectrum-textfield-icon-size-invalid));inline-size:var(--mod-textfield-icon-size-invalid,var(--spectrum-textfield-icon-size-invalid));color:var(--highcontrast-textfield-icon-color-invalid,var(--mod-textfield-icon-color-invalid,var(--spectrum-textfield-icon-color-invalid)));inset-block-start:var(--mod-textfield-icon-spacing-block-invalid,var(--spectrum-textfield-icon-spacing-block-invalid));inset-block-end:var(--mod-textfield-icon-spacing-block-invalid,var(--spectrum-textfield-icon-spacing-block-invalid));inset-inline-end:var(--mod-textfield-icon-spacing-inline-end-invalid,var(--spectrum-textfield-icon-spacing-inline-end-invalid))}:host([disabled]) #textfield .icon,:host([readonly]) #textfield .icon{color:#0000}:host([quiet]) .icon{padding-inline-end:0}:host([quiet][valid]) .icon{inset-inline-end:var(--mod-textfield-icon-spacing-inline-end-quiet-valid,var(--spectrum-textfield-icon-spacing-inline-end-quiet-valid))}:host([quiet][invalid]) .icon{inset-inline-end:var(--mod-textfield-icon-spacing-inline-end-quiet-invalid,var(--spectrum-textfield-icon-spacing-inline-end-quiet-invalid))}#textfield .spectrum-FieldLabel{grid-area:1/1/auto/span 1;margin-block-end:var(--mod-textfield-label-spacing-block,var(--spectrum-textfield-label-spacing-block))}:host([quiet]) .spectrum-FieldLabel{margin-block-end:var(--mod-textfield-label-spacing-block-quiet,var(--spectrum-textfield-label-spacing-block-quiet))}:host([disabled]) .spectrum-FieldLabel{color:var(--spectrum-textfield-text-color-disabled)}#textfield .spectrum-HelpText{grid-area:3/1/auto/span 2;margin-block-start:var(--mod-textfield-helptext-spacing-block,var(--spectrum-textfield-helptext-spacing-block))}.spectrum-Textfield-characterCount{font-size:var(--mod-textfield-character-count-font-size,var(--spectrum-textfield-character-count-font-size));font-family:var(--mod-textfield-character-count-font-family,var(--spectrum-textfield-character-count-font-family));font-weight:var(--mod-textfield-character-count-font-weight,var(--spectrum-textfield-character-count-font-weight));grid-area:1/2/auto/span 1;justify-content:flex-end;align-items:flex-end;inline-size:auto;margin-block-end:var(--mod-textfield-character-count-spacing-block,var(--spectrum-textfield-character-count-spacing-block));margin-inline-start:var(--mod-textfield-character-count-spacing-inline,var(--spectrum-textfield-character-count-spacing-inline));margin-inline-end:0;padding-inline-end:calc(var(--mod-textfield-corner-radius,var(--spectrum-textfield-corner-radius))/2);display:inline-flex}:host([quiet]) .spectrum-Textfield-characterCount{margin-block-end:var(--mod-textfield-character-count-spacing-block-quiet,var(--spectrum-textfield-character-count-spacing-block-quiet))}.input{line-height:var(--spectrum-textfield-input-line-height);box-sizing:border-box;min-inline-size:var(--mod-textfield-min-width,var(--spectrum-textfield-min-width));block-size:var(--mod-textfield-height,var(--spectrum-textfield-height));padding-block-start:calc(var(--mod-textfield-spacing-block-start,var(--spectrum-textfield-spacing-block-start)) - var(--mod-textfield-border-width,var(--spectrum-textfield-border-width)));padding-block-end:calc(var(--mod-textfield-spacing-block-end,var(--spectrum-textfield-spacing-block-end)) - var(--mod-textfield-border-width,var(--spectrum-textfield-border-width)));padding-inline:calc(var(--mod-textfield-spacing-inline,var(--spectrum-textfield-spacing-inline)) - var(--mod-textfield-border-width,var(--spectrum-textfield-border-width)));text-indent:0;vertical-align:top;background-color:var(--mod-textfield-background-color,var(--spectrum-textfield-background-color));border:var(--mod-textfield-border-width,var(--spectrum-textfield-border-width))solid var(--highcontrast-textfield-border-color,var(--mod-textfield-border-color,var(--spectrum-textfield-border-color)));border-radius:var(--mod-textfield-corner-radius,var(--spectrum-textfield-corner-radius));transition:border-color var(--mod-texfield-animation-duration,var(--spectrum-texfield-animation-duration))ease-in-out;font-size:var(--mod-textfield-placeholder-font-size,var(--spectrum-textfield-placeholder-font-size));font-family:var(--mod-textfield-font-family,var(--spectrum-textfield-font-family));font-weight:var(--mod-textfield-font-weight,var(--spectrum-textfield-font-weight));color:var(--highcontrast-textfield-text-color-default,var(--mod-textfield-text-color-default,var(--spectrum-textfield-text-color-default)));text-overflow:ellipsis;appearance:textfield;outline:none;grid-area:2/1/auto/span 2;inline-size:100%;margin:0}.input::-ms-clear{block-size:0;inline-size:0}.input::-webkit-inner-spin-button,.input::-webkit-outer-spin-button{appearance:none;margin:0}.input:-moz-ui-invalid{box-shadow:none}.input::placeholder{opacity:1;font-size:var(--mod-textfield-placeholder-font-size,var(--spectrum-textfield-placeholder-font-size));font-family:var(--mod-textfield-font-family,var(--spectrum-textfield-font-family));font-weight:var(--mod-textfield-font-weight,var(--spectrum-textfield-font-weight));color:var(--highcontrast-textfield-text-color-default,var(--mod-textfield-text-color-default,var(--spectrum-textfield-text-color-default)));transition:color var(--mod-texfield-animation-duration,var(--spectrum-texfield-animation-duration))ease-in-out}.input:lang(ja)::placeholder,.input:lang(ko)::placeholder,.input:lang(zh)::placeholder{font-style:normal}.input:lang(ja)::-moz-placeholder,.input:lang(ko)::-moz-placeholder,.input:lang(zh)::-moz-placeholder{font-style:normal}:host([focused]) .input,.input:focus{border-color:var(--highcontrast-textfield-border-color-focus,var(--mod-textfield-border-color-focus,var(--spectrum-textfield-border-color-focus)));color:var(--highcontrast-textfield-text-color-focus,var(--mod-textfield-text-color-focus,var(--spectrum-textfield-text-color-focus)))}:host([focused]) .input::placeholder,.input:focus::placeholder{color:var(--highcontrast-textfield-text-color-focus,var(--mod-textfield-text-color-focus,var(--spectrum-textfield-text-color-focus)))}:host([focused]) .input{border-color:var(--highcontrast-textfield-border-color-keyboard-focus,var(--mod-textfield-border-color-keyboard-focus,var(--spectrum-textfield-border-color-keyboard-focus)));color:var(--highcontrast-textfield-text-color-keyboard-focus,var(--mod-textfield-text-color-keyboard-focus,var(--spectrum-textfield-text-color-keyboard-focus)));outline:var(--mod-textfield-focus-indicator-width,var(--spectrum-textfield-focus-indicator-width))solid;outline-color:var(--highcontrast-textfield-focus-indicator-color,var(--mod-textfield-focus-indicator-color,var(--spectrum-textfield-focus-indicator-color)));outline-offset:var(--mod-textfield-focus-indicator-gap,var(--spectrum-textfield-focus-indicator-gap))}:host([focused]) .input::placeholder{color:var(--highcontrast-textfield-text-color-keyboard-focus,var(--mod-textfield-text-color-keyboard-focus,var(--spectrum-textfield-text-color-keyboard-focus)))}:host([valid]) .input{color:var(--highcontrast-textfield-text-color-valid,var(--mod-textfield-text-color-valid,var(--spectrum-textfield-text-color-valid)));padding-inline-end:calc(var(--mod-textfield-icon-spacing-inline-start-valid,var(--spectrum-textfield-icon-spacing-inline-start-valid)) + var(--mod-textfield-icon-size-valid,var(--spectrum-textfield-icon-size-valid)) + var(--mod-textfield-icon-spacing-inline-end-valid,var(--spectrum-textfield-icon-spacing-inline-end-valid)) - var(--mod-textfield-border-width,var(--spectrum-textfield-border-width)))}:host([invalid]) .input{color:var(--highcontrast-textfield-text-color-invalid,var(--mod-textfield-text-color-invalid,var(--spectrum-textfield-text-color-invalid)));border-color:var(--highcontrast-textfield-border-color-invalid-default,var(--mod-textfield-border-color-invalid-default,var(--spectrum-textfield-border-color-invalid-default)));padding-inline-end:calc(var(--mod-textfield-icon-spacing-inline-start-invalid,var(--spectrum-textfield-icon-spacing-inline-start-invalid)) + var(--mod-textfield-icon-size-invalid,var(--spectrum-textfield-icon-size-invalid)) + var(--mod-textfield-icon-spacing-inline-end-invalid,var(--spectrum-textfield-icon-spacing-inline-end-invalid)) - var(--mod-textfield-border-width,var(--spectrum-textfield-border-width)))}:host([invalid]) .input:focus,:host([invalid][focused]) .input,:host([invalid]:focus) .input{border-color:var(--highcontrast-textfield-border-color-invalid-focus,var(--mod-textfield-border-color-invalid-focus,var(--spectrum-textfield-border-color-invalid-focus)))}:host([invalid]) .input:focus-visible,:host([invalid][focused]) .input{border-color:var(--highcontrast-textfield-border-color-invalid-keyboard-focus,var(--mod-textfield-border-color-invalid-keyboard-focus,var(--spectrum-textfield-border-color-invalid-keyboard-focus)))}.input:disabled,:host([disabled]) #textfield .input{background-color:var(--mod-textfield-background-color-disabled,var(--spectrum-textfield-background-color-disabled));color:var(--highcontrast-textfield-text-color-disabled,var(--mod-textfield-text-color-disabled,var(--spectrum-textfield-text-color-disabled)));-webkit-text-fill-color:var(--highcontrast-textfield-text-color-disabled,var(--mod-textfield-text-color-disabled,var(--spectrum-textfield-text-color-disabled)));resize:none;opacity:1;border-color:#0000}.input:disabled::placeholder,:host([disabled]) #textfield .input::placeholder{color:var(--highcontrast-textfield-text-color-disabled,var(--mod-textfield-text-color-disabled,var(--spectrum-textfield-text-color-disabled)))}:host([quiet]) .input{padding-block-start:var(--mod-textfield-spacing-block-start,var(--spectrum-textfield-spacing-block-start));padding-inline:var(--mod-textfield-spacing-inline-quiet,var(--spectrum-textfield-spacing-inline-quiet));background-color:initial;resize:none;border-block-start-width:0;border-inline-width:0;border-radius:0;outline:none;margin-block-end:var(--mod-textfield-spacing-block-quiet,var(--spectrum-textfield-spacing-block-quiet));overflow-y:hidden}:host([quiet][disabled]) .input,.input:disabled{background-color:initial;border-color:var(--mod-textfield-border-color-disabled,var(--spectrum-textfield-border-color-disabled));color:var(--highcontrast-textfield-text-color-disabled,var(--mod-textfield-text-color-disabled,var(--spectrum-textfield-text-color-disabled)))}:host([quiet][disabled]) .input::placeholder,.input:disabled::placeholder{color:var(--highcontrast-textfield-text-color-disabled,var(--mod-textfield-text-color-disabled,var(--spectrum-textfield-text-color-disabled)))}.input:read-only,:host([readonly]) #textfield .input{background-color:initial;color:var(--highcontrast-textfield-text-color-readonly,var(--mod-textfield-text-color-readonly,var(--spectrum-textfield-text-color-readonly)));border-color:#0000;outline:none}.input:read-only::placeholder,:host([readonly]) #textfield .input::placeholder{color:var(--highcontrast-textfield-text-color-readonly,var(--mod-textfield-text-color-readonly,var(--spectrum-textfield-text-color-readonly)));background-color:initial}@media (hover:hover){.input:hover,#textfield:hover .input{border-color:var(--highcontrast-textfield-border-color-hover,var(--mod-textfield-border-color-hover,var(--spectrum-textfield-border-color-hover)));color:var(--highcontrast-textfield-text-color-hover,var(--mod-textfield-text-color-hover,var(--spectrum-textfield-text-color-hover)))}.input:hover::placeholder,#textfield:hover .input::placeholder{color:var(--highcontrast-textfield-text-color-hover,var(--mod-textfield-text-color-hover,var(--spectrum-textfield-text-color-hover)))}:host([focused]) .input:hover,.input:focus:hover{border-color:var(--highcontrast-textfield-border-color-focus-hover,var(--mod-textfield-border-color-focus-hover,var(--spectrum-textfield-border-color-focus-hover)))}:host([focused]) .input:hover,:host([focused]) .input:hover::placeholder,.input:focus:hover,.input:focus:hover::placeholder{color:var(--highcontrast-textfield-text-color-focus-hover,var(--mod-textfield-text-color-focus-hover,var(--spectrum-textfield-text-color-focus-hover)))}:host([invalid]) .input:hover,:host([invalid]:hover) .input{border-color:var(--highcontrast-textfield-border-color-invalid-hover,var(--mod-textfield-border-color-invalid-hover,var(--spectrum-textfield-border-color-invalid-hover)))}:host([invalid]) .input:focus:hover,:host([invalid][focused]) .input:hover,:host([invalid]:focus) .input:hover{border-color:var(--highcontrast-textfield-border-color-invalid-focus-hover,var(--mod-textfield-border-color-invalid-focus-hover,var(--spectrum-textfield-border-color-invalid-focus-hover)))}:host([disabled]) #textfield:hover .input{background-color:var(--mod-textfield-background-color-disabled,var(--spectrum-textfield-background-color-disabled));color:var(--highcontrast-textfield-text-color-disabled,var(--mod-textfield-text-color-disabled,var(--spectrum-textfield-text-color-disabled)));-webkit-text-fill-color:var(--highcontrast-textfield-text-color-disabled,var(--mod-textfield-text-color-disabled,var(--spectrum-textfield-text-color-disabled)));resize:none;opacity:1;border-color:#0000}:host([disabled]) #textfield:hover .input::placeholder{color:var(--highcontrast-textfield-text-color-disabled,var(--mod-textfield-text-color-disabled,var(--spectrum-textfield-text-color-disabled)))}:host([quiet][disabled]:hover) .input{background-color:initial;border-color:var(--mod-textfield-border-color-disabled,var(--spectrum-textfield-border-color-disabled));color:var(--highcontrast-textfield-text-color-disabled,var(--mod-textfield-text-color-disabled,var(--spectrum-textfield-text-color-disabled)))}:host([quiet][disabled]:hover) .input::placeholder{color:var(--highcontrast-textfield-text-color-disabled,var(--mod-textfield-text-color-disabled,var(--spectrum-textfield-text-color-disabled)))}:host([readonly]) #textfield:hover .input{background-color:initial;color:var(--highcontrast-textfield-text-color-readonly,var(--mod-textfield-text-color-readonly,var(--spectrum-textfield-text-color-readonly)));border-color:#0000;outline:none}:host([readonly]) #textfield:hover .input::placeholder{color:var(--highcontrast-textfield-text-color-readonly,var(--mod-textfield-text-color-readonly,var(--spectrum-textfield-text-color-readonly)));background-color:initial}}.spectrum-Textfield--sideLabel{grid-template-rows:auto auto;grid-template-columns:auto auto auto}.spectrum-Textfield--sideLabel:after{grid-area:1/2/span 1/span 1}.spectrum-Textfield--sideLabel .spectrum-FieldLabel{grid-area:1/1/span 2/span 1;margin-inline-end:var(--mod-textfield-label-spacing-inline-side-label,var(--spectrum-textfield-label-spacing-inline-side-label))}.spectrum-Textfield--sideLabel .spectrum-Textfield-characterCount{grid-area:1/3/auto/span 1;align-items:flex-start;margin-block-start:var(--mod-textfield-character-count-spacing-block-side,var(--spectrum-textfield-character-count-spacing-block-side));margin-inline-start:var(--mod-textfield-character-count-spacing-inline-side,var(--spectrum-textfield-character-count-spacing-inline-side))}.spectrum-Textfield--sideLabel .spectrum-HelpText{grid-area:2/2/auto/span 1}.spectrum-Textfield--sideLabel .input,.spectrum-Textfield--sideLabel .icon{grid-area:1/2/span 1/span 1}:host([multiline]){--spectrum-textfield-input-line-height:normal}:host([multiline]) .input{min-inline-size:var(--mod-text-area-min-inline-size,var(--spectrum-text-area-min-inline-size));min-block-size:var(--mod-text-area-min-block-size,var(--spectrum-text-area-min-block-size));resize:inherit}:host([multiline][grows]) .input{grid-row:2}:host([multiline][grows]) .spectrum-Textfield--sideLabel .input{grid-row:1}:host([multiline][quiet]) .input{min-block-size:var(--mod-text-area-min-block-size-quiet,var(--spectrum-text-area-min-block-size-quiet));resize:none;overflow-y:hidden}@media (forced-colors:active){:host{--highcontrast-textfield-border-color-hover:Highlight;--highcontrast-textfield-border-color-focus:Highlight;--highcontrast-textfield-border-color-keyboard-focus:CanvasText;--highcontrast-textfield-focus-indicator-color:Highlight;--highcontrast-textfield-border-color-invalid-default:Highlight;--highcontrast-textfield-border-color-invalid-hover:Highlight;--highcontrast-textfield-border-color-invalid-focus:Highlight;--highcontrast-textfield-border-color-invalid-keyboard-focus:Highlight;--highcontrast-textfield-text-color-valid:CanvasText;--highcontrast-textfield-text-color-invalid:CanvasText}#textfield .input{--highcontrast-textfield-text-color-default:CanvasText;--highcontrast-textfield-text-color-hover:CanvasText;--highcontrast-textfield-text-color-keyboard-focus:CanvasText;--highcontrast-textfield-text-color-disabled:GrayText;--highcontrast-textfield-text-color-readonly:CanvasText}#textfield .input::placeholder{--highcontrast-textfield-text-color-default:GrayText;--highcontrast-textfield-text-color-hover:GrayText;--highcontrast-textfield-text-color-keyboard-focus:GrayText;--highcontrast-textfield-text-color-disabled:GrayText;--highcontrast-textfield-text-color-readonly:CanvasText}}:host{--spectrum-textfield-border-color:var(--system-spectrum-textfield-border-color);--spectrum-textfield-border-color-hover:var(--system-spectrum-textfield-border-color-hover);--spectrum-textfield-border-color-focus:var(--system-spectrum-textfield-border-color-focus);--spectrum-textfield-border-color-focus-hover:var(--system-spectrum-textfield-border-color-focus-hover);--spectrum-textfield-border-color-keyboard-focus:var(--system-spectrum-textfield-border-color-keyboard-focus);--spectrum-textfield-border-width:var(--system-spectrum-textfield-border-width)}:host{inline-size:var(--mod-textfield-width,var(--spectrum-textfield-width));flex-direction:column;display:inline-flex}:host([multiline]){resize:both}:host([multiline][readonly]){resize:none}:host([disabled]:focus-visible){outline:none}#textfield{inline-size:100%}#textfield,textarea{resize:inherit}.input{min-inline-size:var(--spectrum-textfield-min-width)}:host([focused]) .input{caret-color:var(--swc-test-caret-color);forced-color-adjust:var(--swc-test-forced-color-adjust)}#sizer{word-break:break-word;opacity:0;white-space:pre-line;block-size:auto}.icon,.icon-workflow{pointer-events:none}:host([multiline]) #textfield{display:inline-grid}:host([multiline]) textarea{transition:box-shadow var(--spectrum-global-animation-duration-100,.13s)ease-in-out,border-color var(--spectrum-global-animation-duration-100,.13s)ease-in-out}:host([multiline]:not([quiet])) #textfield:after{box-shadow:none}:host([multiline][rows]) .input{resize:none;block-size:auto}:host([multiline][rows="1"]) .input{min-block-size:auto}:host([disabled][quiet]) #textfield .input,:host([disabled][quiet]) #textfield:hover .input,:host([quiet]) .input :disabled{border-color:var(--mod-textfield-border-color-disabled,var(--spectrum-textfield-border-color-disabled));color:var(--highcontrast-textfield-text-color-disabled,var(--mod-textfield-text-color-disabled,var(--spectrum-textfield-text-color-disabled)));background-color:#0000}:host([disabled]) #textfield .icon.icon-search,:host([readonly]) #textfield .icon.icon-search{color:var(--highcontrast-textfield-text-color-disabled,var(--mod-textfield-text-color-disabled,var(--spectrum-textfield-text-color-disabled)))}:host([multiline][grows]:not([quiet])) #textfield:after{grid-area:unset;min-block-size:calc(var(--mod-text-area-min-block-size,var(--spectrum-text-area-min-block-size)) + var(--mod-textfield-focus-indicator-gap,var(--spectrum-textfield-focus-indicator-gap))*2)}:host([multiline][grows]:not([rows])) .input:not(#sizer){resize:none;height:100%;position:absolute;top:0;left:0;overflow:hidden}
-`,ee=t.AH`
+`,ie=i.AH`
     .spectrum-UIIcon-Checkmark50{--spectrum-icon-size:var(--spectrum-checkmark-icon-size-50)}.spectrum-UIIcon-Checkmark75{--spectrum-icon-size:var(--spectrum-checkmark-icon-size-75)}.spectrum-UIIcon-Checkmark100{--spectrum-icon-size:var(--spectrum-checkmark-icon-size-100)}.spectrum-UIIcon-Checkmark200{--spectrum-icon-size:var(--spectrum-checkmark-icon-size-200)}.spectrum-UIIcon-Checkmark300{--spectrum-icon-size:var(--spectrum-checkmark-icon-size-300)}.spectrum-UIIcon-Checkmark400{--spectrum-icon-size:var(--spectrum-checkmark-icon-size-400)}.spectrum-UIIcon-Checkmark500{--spectrum-icon-size:var(--spectrum-checkmark-icon-size-500)}.spectrum-UIIcon-Checkmark600{--spectrum-icon-size:var(--spectrum-checkmark-icon-size-600)}
-`;var re=Object.defineProperty,oe=Object.getOwnPropertyDescriptor,se=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?oe(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&re(e,r,c),c};const ce=["text","url","tel","email","password"];class ae extends(function(t,{mode:e}={mode:"internal"}){return class extends t{constructor(){super(...arguments),this.helpTextManager=new Qt(this,{mode:e})}get helpTextId(){return this.helpTextManager.id}renderHelpText(t){return this.helpTextManager.render(t)}}}((0,w.Z)(H,{noDefaultSize:!0}))){constructor(){super(...arguments),this.allowedKeys="",this.focused=!1,this.invalid=!1,this.label="",this.placeholder="",this._type="text",this.grows=!1,this.maxlength=-1,this.minlength=-1,this.multiline=!1,this.readonly=!1,this.rows=-1,this.valid=!1,this._value="",this.quiet=!1,this.required=!1}static get styles(){return[te,ee]}set type(t){const e=this._type;this._type=t,this.requestUpdate("type",e)}get type(){var t;return null!=(t=ce.find((t=>t===this._type)))?t:"text"}set value(t){if(t===this.value)return;const e=this._value;this._value=t,this.requestUpdate("value",e)}get value(){return this._value}get focusElement(){return this.inputElement}setSelectionRange(t,e,r="none"){this.inputElement.setSelectionRange(t,e,r)}select(){this.inputElement.select()}handleInput(t){if(this.allowedKeys&&this.inputElement.value&&!new RegExp(`^[${this.allowedKeys}]*$`,"u").test(this.inputElement.value)){const t=this.inputElement.selectionStart-1;return this.inputElement.value=this.value.toString(),void this.inputElement.setSelectionRange(t,t)}this.value=this.inputElement.value}handleChange(){this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}onFocus(){this.focused=!this.readonly&&!0}onBlur(t){this.focused=!this.readonly&&!1}handleInputElementPointerdown(){}renderStateIcons(){return this.invalid?t.qy`
+`;var ne=Object.defineProperty,le=Object.getOwnPropertyDescriptor,ue=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?le(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&ne(e,r,c),c};const me=["text","url","tel","email","password"];class de extends(function(t,{mode:e}={mode:"internal"}){return class extends t{constructor(){super(...arguments),this.helpTextManager=new ce(this,{mode:e})}get helpTextId(){return this.helpTextManager.id}renderHelpText(t){return this.helpTextManager.render(t)}}}((0,A.Z)(B,{noDefaultSize:!0}))){constructor(){super(...arguments),this.allowedKeys="",this.focused=!1,this.invalid=!1,this.label="",this.placeholder="",this._type="text",this.grows=!1,this.maxlength=-1,this.minlength=-1,this.multiline=!1,this.readonly=!1,this.rows=-1,this.valid=!1,this._value="",this.quiet=!1,this.required=!1}static get styles(){return[ae,ie]}set type(t){const e=this._type;this._type=t,this.requestUpdate("type",e)}get type(){var t;return null!=(t=me.find((t=>t===this._type)))?t:"text"}set value(t){if(t===this.value)return;const e=this._value;this._value=t,this.requestUpdate("value",e)}get value(){return this._value}get focusElement(){return this.inputElement}setSelectionRange(t,e,r="none"){this.inputElement.setSelectionRange(t,e,r)}select(){this.inputElement.select()}handleInput(t){if(this.allowedKeys&&this.inputElement.value&&!new RegExp(`^[${this.allowedKeys}]*$`,"u").test(this.inputElement.value)){const t=this.inputElement.selectionStart-1;return this.inputElement.value=this.value.toString(),void this.inputElement.setSelectionRange(t,t)}this.value=this.inputElement.value}handleChange(){this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}onFocus(){this.focused=!this.readonly&&!0}onBlur(t){this.focused=!this.readonly&&!1}handleInputElementPointerdown(){}renderStateIcons(){return this.invalid?i.qy`
                 <sp-icon-alert id="invalid" class="icon"></sp-icon-alert>
-            `:this.valid?t.qy`
+            `:this.valid?i.qy`
                 <sp-icon-checkmark100
                     id="valid"
                     class="icon spectrum-UIIcon-Checkmark100"
                 ></sp-icon-checkmark100>
-            `:t.s6}get displayValue(){return this.value.toString()}get renderMultiline(){return t.qy`
-            ${this.multiline&&this.grows&&-1===this.rows?t.qy`
+            `:i.s6}get displayValue(){return this.value.toString()}get renderMultiline(){return i.qy`
+            ${this.multiline&&this.grows&&-1===this.rows?i.qy`
                       <div id="sizer" class="input" aria-hidden="true">${this.value}&#8203;
                       </div>
-                  `:t.s6}
+                  `:i.s6}
             <!-- @ts-ignore -->
             <textarea
-                name=${(0,S.J)(this.name||void 0)}
+                name=${(0,j.J)(this.name||void 0)}
                 aria-describedby=${this.helpTextId}
                 aria-label=${this.label||this.appliedLabel||this.placeholder}
-                aria-invalid=${(0,S.J)(this.invalid||void 0)}
+                aria-invalid=${(0,j.J)(this.invalid||void 0)}
                 class="input"
-                maxlength=${(0,S.J)(this.maxlength>-1?this.maxlength:void 0)}
-                minlength=${(0,S.J)(this.minlength>-1?this.minlength:void 0)}
-                title=${this.invalid?"":t.s6}
-                pattern=${(0,S.J)(this.pattern)}
+                maxlength=${(0,j.J)(this.maxlength>-1?this.maxlength:void 0)}
+                minlength=${(0,j.J)(this.minlength>-1?this.minlength:void 0)}
+                title=${this.invalid?"":i.s6}
+                pattern=${(0,j.J)(this.pattern)}
                 placeholder=${this.placeholder}
                 .value=${this.displayValue}
                 @change=${this.handleChange}
@@ -283,24 +283,24 @@ governing permissions and limitations under the License.
                 ?disabled=${this.disabled}
                 ?required=${this.required}
                 ?readonly=${this.readonly}
-                rows=${(0,S.J)(this.rows>-1?this.rows:void 0)}
-                autocomplete=${(0,S.J)(this.autocomplete)}
+                rows=${(0,j.J)(this.rows>-1?this.rows:void 0)}
+                autocomplete=${(0,j.J)(this.autocomplete)}
             ></textarea>
-        `}get renderInput(){return t.qy`
+        `}get renderInput(){return i.qy`
             <!-- @ts-ignore -->
             <input
-                name=${(0,S.J)(this.name||void 0)}
+                name=${(0,j.J)(this.name||void 0)}
                 type=${this.type}
                 aria-describedby=${this.helpTextId}
                 aria-label=${this.label||this.appliedLabel||this.placeholder}
-                aria-invalid=${(0,S.J)(this.invalid||void 0)}
+                aria-invalid=${(0,j.J)(this.invalid||void 0)}
                 class="input"
-                title=${this.invalid?"":t.s6}
-                maxlength=${(0,S.J)(this.maxlength>-1?this.maxlength:void 0)}
-                minlength=${(0,S.J)(this.minlength>-1?this.minlength:void 0)}
-                pattern=${(0,S.J)(this.pattern)}
+                title=${this.invalid?"":i.s6}
+                maxlength=${(0,j.J)(this.maxlength>-1?this.maxlength:void 0)}
+                minlength=${(0,j.J)(this.minlength>-1?this.minlength:void 0)}
+                pattern=${(0,j.J)(this.pattern)}
                 placeholder=${this.placeholder}
-                .value=${Yt(this.displayValue)}
+                .value=${se(this.displayValue)}
                 @change=${this.handleChange}
                 @input=${this.handleInput}
                 @pointerdown=${this.handleInputElementPointerdown}
@@ -309,15 +309,15 @@ governing permissions and limitations under the License.
                 ?disabled=${this.disabled}
                 ?required=${this.required}
                 ?readonly=${this.readonly}
-                autocomplete=${(0,S.J)(this.autocomplete)}
+                autocomplete=${(0,j.J)(this.autocomplete)}
             />
-        `}renderField(){return t.qy`
+        `}renderField(){return i.qy`
             ${this.renderStateIcons()}
             ${this.multiline?this.renderMultiline:this.renderInput}
-        `}render(){return t.qy`
+        `}render(){return i.qy`
             <div id="textfield">${this.renderField()}</div>
             ${this.renderHelpText(this.invalid)}
-        `}update(t){(t.has("value")||t.has("required")&&this.required)&&this.updateComplete.then((()=>{this.checkValidity()})),super.update(t)}checkValidity(){let t=this.inputElement.checkValidity();return(this.required||this.value&&this.pattern)&&((this.disabled||this.multiline)&&this.pattern&&(t=new RegExp(`^${this.pattern}$`,"u").test(this.value.toString())),void 0!==this.minlength&&(t=t&&this.value.toString().length>=this.minlength),this.valid=t,this.invalid=!t),t}}se([(0,d.wk)()],ae.prototype,"appliedLabel",2),se([(0,d.MZ)({attribute:"allowed-keys"})],ae.prototype,"allowedKeys",2),se([(0,d.MZ)({type:Boolean,reflect:!0})],ae.prototype,"focused",2),se([(0,d.P)(".input:not(#sizer)")],ae.prototype,"inputElement",2),se([(0,d.MZ)({type:Boolean,reflect:!0})],ae.prototype,"invalid",2),se([(0,d.MZ)()],ae.prototype,"label",2),se([(0,d.MZ)({type:String,reflect:!0})],ae.prototype,"name",2),se([(0,d.MZ)()],ae.prototype,"placeholder",2),se([(0,d.wk)()],ae.prototype,"type",1),se([(0,d.MZ)({attribute:"type",reflect:!0})],ae.prototype,"_type",2),se([(0,d.MZ)()],ae.prototype,"pattern",2),se([(0,d.MZ)({type:Boolean,reflect:!0})],ae.prototype,"grows",2),se([(0,d.MZ)({type:Number})],ae.prototype,"maxlength",2),se([(0,d.MZ)({type:Number})],ae.prototype,"minlength",2),se([(0,d.MZ)({type:Boolean,reflect:!0})],ae.prototype,"multiline",2),se([(0,d.MZ)({type:Boolean,reflect:!0})],ae.prototype,"readonly",2),se([(0,d.MZ)({type:Number})],ae.prototype,"rows",2),se([(0,d.MZ)({type:Boolean,reflect:!0})],ae.prototype,"valid",2),se([(0,d.MZ)({type:String})],ae.prototype,"value",1),se([(0,d.MZ)({type:Boolean,reflect:!0})],ae.prototype,"quiet",2),se([(0,d.MZ)({type:Boolean,reflect:!0})],ae.prototype,"required",2),se([(0,d.MZ)({type:String,reflect:!0})],ae.prototype,"autocomplete",2);class ie extends ae{constructor(){super(...arguments),this._value=""}set value(t){if(t===this.value)return;const e=this._value;this._value=t,this.requestUpdate("value",e)}get value(){return this._value}}se([(0,d.MZ)({type:String})],ie.prototype,"value",1),(0,x.e)("sp-textfield",ie);const ne=Symbol("language resolver updated");class le{constructor(t){this.language=document.documentElement.lang||navigator.language,this.host=t,this.host.addController(this)}hostConnected(){this.resolveLanguage()}hostDisconnected(){var t;null==(t=this.unsubscribe)||t.call(this)}resolveLanguage(){const t=new CustomEvent("sp-language-context",{bubbles:!0,composed:!0,detail:{callback:(t,e)=>{const r=this.language;this.language=t,this.unsubscribe=e,this.host.requestUpdate(ne,r)}},cancelable:!0});this.host.dispatchEvent(t)}}const ue=(t,e)=>{const r=t._$AN;if(void 0===r)return!1;for(const t of r)t._$AO?.(e,!1),ue(t,e);return!0},me=t=>{let e,r;do{if(void 0===(e=t._$AM))break;r=e._$AN,r.delete(t),t=e}while(0===r?.size)},de=t=>{for(let e;e=t._$AM;t=e){let r=e._$AN;if(void 0===r)e._$AN=r=new Set;else if(r.has(t))break;r.add(t),be(e)}};function pe(t){void 0!==this._$AN?(me(this),this._$AM=t,de(this)):this._$AM=t}function he(t,e=!1,r=0){const o=this._$AH,s=this._$AN;if(void 0!==s&&0!==s.size)if(e)if(Array.isArray(o))for(let t=r;t<o.length;t++)ue(o[t],!1),me(o[t]);else null!=o&&(ue(o,!1),me(o));else ue(this,t)}const be=t=>{t.type==C.OA.CHILD&&(t._$AP??=he,t._$AQ??=pe)};class ge extends C.WL{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,r){super._$AT(t,e,r),de(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(ue(this,t),me(this))}setValue(t){if(Gt(this._$Ct))this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}}const ve=["",()=>{}],fe=(0,C.u$)(class extends ge{constructor(){super(...arguments),this.start=ve,this.streamInside=ve,this.end=ve,this.streamOutside=ve,this.state="off",this.handleStart=t=>{this.clearStream(),this.callHandler(this.start[1],t),!t.defaultPrevented&&(this.removeListeners(),this.addListeners("on"))},this.handleInside=t=>{this.handleStream(this.streamInside[1],t)},this.handleEnd=t=>{this.clearStream(),this.callHandler(this.end[1],t),this.removeListeners(),this.addListeners("off")},this.handleOutside=t=>{this.handleStream(this.streamOutside[1],t)}}render(e){return t.s6}update(t,[{start:e,end:r,streamInside:o=ve,streamOutside:s=ve}]){var c;this.element!==t.element&&(this.element=t.element,this.removeListeners()),this.host=(null==(c=t.options)?void 0:c.host)||this.element,this.start=e,this.end=r,this.streamInside=o,this.streamOutside=s,this.addListeners()}addListeners(t){this.state=t||this.state,"off"===this.state?(this.addListener(this.streamOutside[0],this.handleOutside),this.addListener(this.start[0],this.handleStart)):"on"===this.state&&(this.addListener(this.streamInside[0],this.handleInside),this.addListener(this.end[0],this.handleEnd))}callHandler(t,e){"function"==typeof t?t.call(this.host,e):t.handleEvent(e)}handleStream(t,e){this.stream||(this.callHandler(t,e),this.stream=requestAnimationFrame((()=>{this.stream=void 0})))}clearStream(){null!=this.stream&&(cancelAnimationFrame(this.stream),this.stream=void 0)}addListener(t,e){Array.isArray(t)?t.map((t=>{this.element.addEventListener(t,e)})):this.element.addEventListener(t,e)}removeListener(t,e){Array.isArray(t)?t.map((t=>{this.element.removeEventListener(t,e)})):this.element.removeEventListener(t,e)}removeListeners(){this.removeListener(this.start[0],this.handleStart),this.removeListener(this.streamInside[0],this.handleInside),this.removeListener(this.end[0],this.handleEnd),this.removeListener(this.streamOutside[0],this.handleOutside)}disconnected(){this.removeListeners()}reconnected(){this.addListeners()}});let ke=new Map,ye=!1;try{ye="exceptZero"===new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay}catch(t){}let xe=!1;try{xe="unit"===new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style}catch(t){}const we={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class ze{format(t){let e="";if(e=ye||null==this.options.signDisplay?this.numberFormatter.format(t):function(t,e,r){if("auto"===e)return t.format(r);if("never"===e)return t.format(Math.abs(r));{let o=!1;if("always"===e?o=r>0||Object.is(r,0):"exceptZero"===e&&(Object.is(r,-0)||Object.is(r,0)?r=Math.abs(r):o=r>0),o){let e=t.format(-r),o=t.format(r),s=e.replace(o,"").replace(/\u200e|\u061C/,"");return 1!==[...s].length&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),e.replace(o,"!!!").replace(s,"+").replace("!!!",o)}return t.format(r)}}(this.numberFormatter,this.options.signDisplay,t),"unit"===this.options.style&&!xe){var r;let{unit:t,unitDisplay:o="short",locale:s}=this.resolvedOptions(),c=null===(r=we[t])||void 0===r?void 0:r[o];e+=c[s]||c.default}return e}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,e){if("function"==typeof this.numberFormatter.formatRange)return this.numberFormatter.formatRange(t,e);if(e<t)throw new RangeError("End date must be >= start date");return`${this.format(t)} – ${this.format(e)}`}formatRangeToParts(t,e){if("function"==typeof this.numberFormatter.formatRangeToParts)return this.numberFormatter.formatRangeToParts(t,e);if(e<t)throw new RangeError("End date must be >= start date");let r=this.numberFormatter.formatToParts(t),o=this.numberFormatter.formatToParts(e);return[...r.map((t=>({...t,source:"startRange"}))),{type:"literal",value:" – ",source:"shared"},...o.map((t=>({...t,source:"endRange"})))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return ye||null==this.options.signDisplay||(t={...t,signDisplay:this.options.signDisplay}),xe||"unit"!==this.options.style||(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,e={}){this.numberFormatter=function(t,e={}){let{numberingSystem:r}=e;if(r&&-1===t.indexOf("-u-nu-")&&(t=`${t}-u-nu-${r}`),"unit"===e.style&&!xe){var o;let{unit:t,unitDisplay:r="short"}=e;if(!t)throw new Error('unit option must be provided with style: "unit"');if(!(null===(o=we[t])||void 0===o?void 0:o[r]))throw new Error(`Unsupported unit ${t} with unitDisplay = ${r}`);e={...e,style:"decimal"}}let s=t+(e?Object.entries(e).sort(((t,e)=>t[0]<e[0]?-1:1)).join():"");if(ke.has(s))return ke.get(s);let c=new Intl.NumberFormat(t,e);return ke.set(s,c),c}(t,e),this.options=e}}const Ce=new RegExp("^.*\\(.*\\).*$"),Ie=["latn","arab","hanidec"];class Se{parse(t){return Ae(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,e,r){return Ae(this.locale,this.options,t).isValidPartialNumber(t,e,r)}getNumberingSystem(t){return Ae(this.locale,this.options,t).options.numberingSystem}constructor(t,e={}){this.locale=t,this.options=e}}const $e=new Map;function Ae(t,e,r){let o=Ee(t,e);if(!t.includes("-nu-")&&!o.isValidPartialNumber(r))for(let s of Ie)if(s!==o.options.numberingSystem){let o=Ee(t+(t.includes("-u-")?"-nu-":"-u-nu-")+s,e);if(o.isValidPartialNumber(r))return o}return o}function Ee(t,e){let r=t+(e?Object.entries(e).sort(((t,e)=>t[0]<e[0]?-1:1)).join():""),o=$e.get(r);return o||(o=new qe(t,e),$e.set(r,o)),o}class qe{parse(t){let e=this.sanitize(t);e=je(e,this.symbols.group,"").replace(this.symbols.decimal,".").replace(this.symbols.minusSign,"-").replace(this.symbols.numeral,this.symbols.index);let r=e?+e:NaN;return isNaN(r)?NaN:("accounting"===this.options.currencySign&&Ce.test(t)&&(r*=-1),"percent"===this.options.style&&(r/=100,r=+r.toFixed((null!==(o=this.options.maximumFractionDigits)&&void 0!==o?o:0)+2)),r);var o}sanitize(t){return t=(t=t.replace(this.symbols.literals,"")).replace("-",this.symbols.minusSign),"arab"===this.options.numberingSystem&&(t=je(t=(t=t.replace(",",this.symbols.decimal)).replace(String.fromCharCode(1548),this.symbols.decimal),".",this.symbols.group)),"fr-FR"===this.options.locale&&(t=je(t,".",String.fromCharCode(8239))),t}isValidPartialNumber(t,e=-1/0,r=1/0){return(t=this.sanitize(t)).startsWith(this.symbols.minusSign)&&e<0?t=t.slice(this.symbols.minusSign.length):this.symbols.plusSign&&t.startsWith(this.symbols.plusSign)&&r>0&&(t=t.slice(this.symbols.plusSign.length)),!t.startsWith(this.symbols.group)&&0===(t=je(t,this.symbols.group,"").replace(this.symbols.numeral,"").replace(this.symbols.decimal,"")).length}constructor(t,e={}){this.formatter=new Intl.NumberFormat(t,e),this.options=this.formatter.resolvedOptions(),this.symbols=function(t,e,r){var o,s,c,a;let i=t.formatToParts(-10000.111),n=t.formatToParts(10000.111),l=t.formatToParts(1);var u;let m=null!==(u=null===(o=i.find((t=>"minusSign"===t.type)))||void 0===o?void 0:o.value)&&void 0!==u?u:"-",d=null===(s=n.find((t=>"plusSign"===t.type)))||void 0===s?void 0:s.value;d||"exceptZero"!==(null==r?void 0:r.signDisplay)&&"always"!==(null==r?void 0:r.signDisplay)||(d="+");let p=null===(c=i.find((t=>"decimal"===t.type)))||void 0===c?void 0:c.value,h=null===(a=i.find((t=>"group"===t.type)))||void 0===a?void 0:a.value,b=i.filter((t=>!Te.has(t.type))).map((t=>Me(t.value))),g=l.filter((t=>!Te.has(t.type))).map((t=>Me(t.value))),v=[...new Set([...g,...b])].sort(((t,e)=>e.length-t.length)),f=0===v.length?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${v.join("|")}|[\\p{White_Space}]`,"gu"),k=[...new Intl.NumberFormat(e.locale,{useGrouping:!1}).format(9876543210)].reverse(),y=new Map(k.map(((t,e)=>[t,e])));return{minusSign:m,plusSign:d,decimal:p,group:h,literals:f,numeral:new RegExp(`[${k.join("")}]`,"g"),index:t=>String(y.get(t))}}(this.formatter,this.options,e)}}const Te=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]);function je(t,e,r){return t.replaceAll?t.replaceAll(e,r):t.split(e).join(r)}function Me(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}(0,x.e)("sp-icon-chevron50",class extends v{render(){return Ct(t.qy),(({width:t=24,height:e=24,title:r="Chevron50"}={})=>zt`<svg
+        `}update(t){(t.has("value")||t.has("required")&&this.required)&&this.updateComplete.then((()=>{this.checkValidity()})),super.update(t)}checkValidity(){let t=this.inputElement.checkValidity();return(this.required||this.value&&this.pattern)&&((this.disabled||this.multiline)&&this.pattern&&(t=new RegExp(`^${this.pattern}$`,"u").test(this.value.toString())),void 0!==this.minlength&&(t=t&&this.value.toString().length>=this.minlength),this.valid=t,this.invalid=!t),t}}ue([(0,f.wk)()],de.prototype,"appliedLabel",2),ue([(0,f.MZ)({attribute:"allowed-keys"})],de.prototype,"allowedKeys",2),ue([(0,f.MZ)({type:Boolean,reflect:!0})],de.prototype,"focused",2),ue([(0,f.P)(".input:not(#sizer)")],de.prototype,"inputElement",2),ue([(0,f.MZ)({type:Boolean,reflect:!0})],de.prototype,"invalid",2),ue([(0,f.MZ)()],de.prototype,"label",2),ue([(0,f.MZ)({type:String,reflect:!0})],de.prototype,"name",2),ue([(0,f.MZ)()],de.prototype,"placeholder",2),ue([(0,f.wk)()],de.prototype,"type",1),ue([(0,f.MZ)({attribute:"type",reflect:!0})],de.prototype,"_type",2),ue([(0,f.MZ)()],de.prototype,"pattern",2),ue([(0,f.MZ)({type:Boolean,reflect:!0})],de.prototype,"grows",2),ue([(0,f.MZ)({type:Number})],de.prototype,"maxlength",2),ue([(0,f.MZ)({type:Number})],de.prototype,"minlength",2),ue([(0,f.MZ)({type:Boolean,reflect:!0})],de.prototype,"multiline",2),ue([(0,f.MZ)({type:Boolean,reflect:!0})],de.prototype,"readonly",2),ue([(0,f.MZ)({type:Number})],de.prototype,"rows",2),ue([(0,f.MZ)({type:Boolean,reflect:!0})],de.prototype,"valid",2),ue([(0,f.MZ)({type:String})],de.prototype,"value",1),ue([(0,f.MZ)({type:Boolean,reflect:!0})],de.prototype,"quiet",2),ue([(0,f.MZ)({type:Boolean,reflect:!0})],de.prototype,"required",2),ue([(0,f.MZ)({type:String,reflect:!0})],de.prototype,"autocomplete",2);class pe extends de{constructor(){super(...arguments),this._value=""}set value(t){if(t===this.value)return;const e=this._value;this._value=t,this.requestUpdate("value",e)}get value(){return this._value}}ue([(0,f.MZ)({type:String})],pe.prototype,"value",1),(0,$.e)("sp-textfield",pe);const he=Symbol("language resolver updated");class be{constructor(t){this.language=document.documentElement.lang||navigator.language,this.host=t,this.host.addController(this)}hostConnected(){this.resolveLanguage()}hostDisconnected(){var t;null==(t=this.unsubscribe)||t.call(this)}resolveLanguage(){const t=new CustomEvent("sp-language-context",{bubbles:!0,composed:!0,detail:{callback:(t,e)=>{const r=this.language;this.language=t,this.unsubscribe=e,this.host.requestUpdate(he,r)}},cancelable:!0});this.host.dispatchEvent(t)}}const ge=(t,e)=>{const r=t._$AN;if(void 0===r)return!1;for(const t of r)t._$AO?.(e,!1),ge(t,e);return!0},ve=t=>{let e,r;do{if(void 0===(e=t._$AM))break;r=e._$AN,r.delete(t),t=e}while(0===r?.size)},fe=t=>{for(let e;e=t._$AM;t=e){let r=e._$AN;if(void 0===r)e._$AN=r=new Set;else if(r.has(t))break;r.add(t),xe(e)}};function ke(t){void 0!==this._$AN?(ve(this),this._$AM=t,fe(this)):this._$AM=t}function ye(t,e=!1,r=0){const o=this._$AH,s=this._$AN;if(void 0!==s&&0!==s.size)if(e)if(Array.isArray(o))for(let t=r;t<o.length;t++)ge(o[t],!1),ve(o[t]);else null!=o&&(ge(o,!1),ve(o));else ge(this,t)}const xe=t=>{t.type==q.OA.CHILD&&(t._$AP??=ye,t._$AQ??=ke)};class we extends q.WL{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,r){super._$AT(t,e,r),fe(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(ge(this,t),ve(this))}setValue(t){if(re(this._$Ct))this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}}const ze=["",()=>{}],Ce=(0,q.u$)(class extends we{constructor(){super(...arguments),this.start=ze,this.streamInside=ze,this.end=ze,this.streamOutside=ze,this.state="off",this.handleStart=t=>{this.clearStream(),this.callHandler(this.start[1],t),!t.defaultPrevented&&(this.removeListeners(),this.addListeners("on"))},this.handleInside=t=>{this.handleStream(this.streamInside[1],t)},this.handleEnd=t=>{this.clearStream(),this.callHandler(this.end[1],t),this.removeListeners(),this.addListeners("off")},this.handleOutside=t=>{this.handleStream(this.streamOutside[1],t)}}render(t){return i.s6}update(t,[{start:e,end:r,streamInside:o=ze,streamOutside:s=ze}]){var c;this.element!==t.element&&(this.element=t.element,this.removeListeners()),this.host=(null==(c=t.options)?void 0:c.host)||this.element,this.start=e,this.end=r,this.streamInside=o,this.streamOutside=s,this.addListeners()}addListeners(t){this.state=t||this.state,"off"===this.state?(this.addListener(this.streamOutside[0],this.handleOutside),this.addListener(this.start[0],this.handleStart)):"on"===this.state&&(this.addListener(this.streamInside[0],this.handleInside),this.addListener(this.end[0],this.handleEnd))}callHandler(t,e){"function"==typeof t?t.call(this.host,e):t.handleEvent(e)}handleStream(t,e){this.stream||(this.callHandler(t,e),this.stream=requestAnimationFrame((()=>{this.stream=void 0})))}clearStream(){null!=this.stream&&(cancelAnimationFrame(this.stream),this.stream=void 0)}addListener(t,e){Array.isArray(t)?t.map((t=>{this.element.addEventListener(t,e)})):this.element.addEventListener(t,e)}removeListener(t,e){Array.isArray(t)?t.map((t=>{this.element.removeEventListener(t,e)})):this.element.removeEventListener(t,e)}removeListeners(){this.removeListener(this.start[0],this.handleStart),this.removeListener(this.streamInside[0],this.handleInside),this.removeListener(this.end[0],this.handleEnd),this.removeListener(this.streamOutside[0],this.handleOutside)}disconnected(){this.removeListeners()}reconnected(){this.addListeners()}});let Ie=new Map,Se=!1;try{Se="exceptZero"===new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay}catch(t){}let $e=!1;try{$e="unit"===new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style}catch(t){}const Ae={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class Ee{format(t){let e="";if(e=Se||null==this.options.signDisplay?this.numberFormatter.format(t):function(t,e,r){if("auto"===e)return t.format(r);if("never"===e)return t.format(Math.abs(r));{let o=!1;if("always"===e?o=r>0||Object.is(r,0):"exceptZero"===e&&(Object.is(r,-0)||Object.is(r,0)?r=Math.abs(r):o=r>0),o){let e=t.format(-r),o=t.format(r),s=e.replace(o,"").replace(/\u200e|\u061C/,"");return 1!==[...s].length&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),e.replace(o,"!!!").replace(s,"+").replace("!!!",o)}return t.format(r)}}(this.numberFormatter,this.options.signDisplay,t),"unit"===this.options.style&&!$e){var r;let{unit:t,unitDisplay:o="short",locale:s}=this.resolvedOptions(),c=null===(r=Ae[t])||void 0===r?void 0:r[o];e+=c[s]||c.default}return e}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,e){if("function"==typeof this.numberFormatter.formatRange)return this.numberFormatter.formatRange(t,e);if(e<t)throw new RangeError("End date must be >= start date");return`${this.format(t)} – ${this.format(e)}`}formatRangeToParts(t,e){if("function"==typeof this.numberFormatter.formatRangeToParts)return this.numberFormatter.formatRangeToParts(t,e);if(e<t)throw new RangeError("End date must be >= start date");let r=this.numberFormatter.formatToParts(t),o=this.numberFormatter.formatToParts(e);return[...r.map((t=>({...t,source:"startRange"}))),{type:"literal",value:" – ",source:"shared"},...o.map((t=>({...t,source:"endRange"})))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return Se||null==this.options.signDisplay||(t={...t,signDisplay:this.options.signDisplay}),$e||"unit"!==this.options.style||(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,e={}){this.numberFormatter=function(t,e={}){let{numberingSystem:r}=e;if(r&&-1===t.indexOf("-u-nu-")&&(t=`${t}-u-nu-${r}`),"unit"===e.style&&!$e){var o;let{unit:t,unitDisplay:r="short"}=e;if(!t)throw new Error('unit option must be provided with style: "unit"');if(!(null===(o=Ae[t])||void 0===o?void 0:o[r]))throw new Error(`Unsupported unit ${t} with unitDisplay = ${r}`);e={...e,style:"decimal"}}let s=t+(e?Object.entries(e).sort(((t,e)=>t[0]<e[0]?-1:1)).join():"");if(Ie.has(s))return Ie.get(s);let c=new Intl.NumberFormat(t,e);return Ie.set(s,c),c}(t,e),this.options=e}}const qe=new RegExp("^.*\\(.*\\).*$"),Te=["latn","arab","hanidec"];class je{parse(t){return _e(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,e,r){return _e(this.locale,this.options,t).isValidPartialNumber(t,e,r)}getNumberingSystem(t){return _e(this.locale,this.options,t).options.numberingSystem}constructor(t,e={}){this.locale=t,this.options=e}}const Me=new Map;function _e(t,e,r){let o=He(t,e);if(!t.includes("-nu-")&&!o.isValidPartialNumber(r))for(let s of Te)if(s!==o.options.numberingSystem){let o=He(t+(t.includes("-u-")?"-nu-":"-u-nu-")+s,e);if(o.isValidPartialNumber(r))return o}return o}function He(t,e){let r=t+(e?Object.entries(e).sort(((t,e)=>t[0]<e[0]?-1:1)).join():""),o=Me.get(r);return o||(o=new Pe(t,e),Me.set(r,o)),o}class Pe{parse(t){let e=this.sanitize(t);e=Le(e,this.symbols.group,"").replace(this.symbols.decimal,".").replace(this.symbols.minusSign,"-").replace(this.symbols.numeral,this.symbols.index);let r=e?+e:NaN;return isNaN(r)?NaN:("accounting"===this.options.currencySign&&qe.test(t)&&(r*=-1),"percent"===this.options.style&&(r/=100,r=+r.toFixed((null!==(o=this.options.maximumFractionDigits)&&void 0!==o?o:0)+2)),r);var o}sanitize(t){return t=(t=t.replace(this.symbols.literals,"")).replace("-",this.symbols.minusSign),"arab"===this.options.numberingSystem&&(t=Le(t=(t=t.replace(",",this.symbols.decimal)).replace(String.fromCharCode(1548),this.symbols.decimal),".",this.symbols.group)),"fr-FR"===this.options.locale&&(t=Le(t,".",String.fromCharCode(8239))),t}isValidPartialNumber(t,e=-1/0,r=1/0){return(t=this.sanitize(t)).startsWith(this.symbols.minusSign)&&e<0?t=t.slice(this.symbols.minusSign.length):this.symbols.plusSign&&t.startsWith(this.symbols.plusSign)&&r>0&&(t=t.slice(this.symbols.plusSign.length)),!t.startsWith(this.symbols.group)&&0===(t=Le(t,this.symbols.group,"").replace(this.symbols.numeral,"").replace(this.symbols.decimal,"")).length}constructor(t,e={}){this.formatter=new Intl.NumberFormat(t,e),this.options=this.formatter.resolvedOptions(),this.symbols=function(t,e,r){var o,s,c,a;let i=t.formatToParts(-10000.111),n=t.formatToParts(10000.111),l=t.formatToParts(1);var u;let m=null!==(u=null===(o=i.find((t=>"minusSign"===t.type)))||void 0===o?void 0:o.value)&&void 0!==u?u:"-",d=null===(s=n.find((t=>"plusSign"===t.type)))||void 0===s?void 0:s.value;d||"exceptZero"!==(null==r?void 0:r.signDisplay)&&"always"!==(null==r?void 0:r.signDisplay)||(d="+");let p=null===(c=i.find((t=>"decimal"===t.type)))||void 0===c?void 0:c.value,h=null===(a=i.find((t=>"group"===t.type)))||void 0===a?void 0:a.value,b=i.filter((t=>!De.has(t.type))).map((t=>Oe(t.value))),g=l.filter((t=>!De.has(t.type))).map((t=>Oe(t.value))),v=[...new Set([...g,...b])].sort(((t,e)=>e.length-t.length)),f=0===v.length?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${v.join("|")}|[\\p{White_Space}]`,"gu"),k=[...new Intl.NumberFormat(e.locale,{useGrouping:!1}).format(9876543210)].reverse(),y=new Map(k.map(((t,e)=>[t,e])));return{minusSign:m,plusSign:d,decimal:p,group:h,literals:f,numeral:new RegExp(`[${k.join("")}]`,"g"),index:t=>String(y.get(t))}}(this.formatter,this.options,e)}}const De=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]);function Le(t,e,r){return t.replaceAll?t.replaceAll(e,r):t.split(e).join(r)}function Oe(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}(0,$.e)("sp-icon-chevron50",class extends z{render(){return qt(i.qy),(({width:t=24,height:e=24,title:r="Chevron50"}={})=>Et`<svg
     xmlns="http://www.w3.org/2000/svg"
     width=${t}
     height=${e}
@@ -329,7 +329,7 @@ governing permissions and limitations under the License.
     <path
       d="M1.985 5.961a.695.695 0 0 1-.7-.704.7.7 0 0 1 .209-.493L3.279 3 1.51 1.251A.7.7 0 0 1 1.3.757.696.696 0 0 1 2.492.255l2.275 2.247a.7.7 0 0 1 0 .996L2.477 5.76a.7.7 0 0 1-.492.201"
     />
-  </svg>`)()}}),(0,x.e)("sp-icon-chevron75",class extends v{render(){return Ct(t.qy),(({width:t=24,height:e=24,title:r="Chevron75"}={})=>zt`<svg
+  </svg>`)()}}),(0,$.e)("sp-icon-chevron75",class extends z{render(){return qt(i.qy),(({width:t=24,height:e=24,title:r="Chevron75"}={})=>Et`<svg
     xmlns="http://www.w3.org/2000/svg"
     viewBox="0 0 10 10"
     aria-hidden="true"
@@ -342,7 +342,7 @@ governing permissions and limitations under the License.
     <path
       d="m7.482 4.406-.001-.001L3.86.783a.84.84 0 0 0-1.188 1.188L5.702 5l-3.03 3.03A.84.84 0 0 0 3.86 9.216l3.621-3.622h.001a.84.84 0 0 0 0-1.19z"
     />
-  </svg>`)()}}),(0,x.e)("sp-icon-chevron100",class extends v{render(){return Ct(t.qy),(({width:t=24,height:e=24,title:r="Chevron100"}={})=>zt`<svg
+  </svg>`)()}}),(0,$.e)("sp-icon-chevron100",class extends z{render(){return qt(i.qy),(({width:t=24,height:e=24,title:r="Chevron100"}={})=>Et`<svg
     xmlns="http://www.w3.org/2000/svg"
     viewBox="0 0 10 10"
     aria-hidden="true"
@@ -355,7 +355,7 @@ governing permissions and limitations under the License.
     <path
       d="M3 9.95a.875.875 0 0 1-.615-1.498L5.88 5 2.385 1.547A.875.875 0 0 1 3.615.302L7.74 4.377a.876.876 0 0 1 0 1.246L3.615 9.698A.87.87 0 0 1 3 9.95"
     />
-  </svg>`)()}}),(0,x.e)("sp-icon-chevron200",class extends v{render(){return Ct(t.qy),(({width:t=24,height:e=24,title:r="Chevron200"}={})=>zt`<svg
+  </svg>`)()}}),(0,$.e)("sp-icon-chevron200",class extends z{render(){return qt(i.qy),(({width:t=24,height:e=24,title:r="Chevron200"}={})=>Et`<svg
     xmlns="http://www.w3.org/2000/svg"
     viewBox="0 0 12 12"
     aria-hidden="true"
@@ -368,40 +368,40 @@ governing permissions and limitations under the License.
     <path
       d="M9.034 5.356 4.343.663a.911.911 0 0 0-1.29 1.289L7.102 6l-4.047 4.047a.911.911 0 1 0 1.289 1.29l4.691-4.692a.91.91 0 0 0 0-1.29z"
     />
-  </svg>`)()}});const _e=t.AH`
+  </svg>`)()}});const Ue=i.AH`
     :host{--spectrum-infield-button-height:var(--spectrum-component-height-100);--spectrum-infield-button-width:var(--spectrum-component-height-100);--spectrum-infield-button-stacked-border-radius-reset:var(--spectrum-in-field-button-fill-stacked-inner-border-rounding);--spectrum-infield-button-edge-to-fill:var(--spectrum-in-field-button-edge-to-fill);--spectrum-infield-button-inner-edge-to-fill:var(--spectrum-in-field-button-stacked-inner-edge-to-fill);--spectrum-infield-button-fill-padding:0px;--spectrum-infield-button-stacked-fill-padding-inline:var(--spectrum-in-field-button-edge-to-disclosure-icon-stacked-medium);--spectrum-infield-button-stacked-fill-padding-outer:var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-medium);--spectrum-infield-button-stacked-fill-padding-inner:var(--spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-medium);--spectrum-infield-button-animation-duration:var(--spectrum-animation-duration-100);--spectrum-infield-button-icon-color:var(--spectrum-neutral-content-color-default);--spectrum-infield-button-icon-color-hover:var(--spectrum-neutral-content-color-hover);--spectrum-infield-button-icon-color-down:var(--spectrum-neutral-content-color-down);--spectrum-infield-button-icon-color-key-focus:var(--spectrum-neutral-content-color-key-focus);--spectrum-infield-button-fill-justify-content:center}:host([disabled]){--mod-infield-button-background-color:var(--mod-infield-button-background-color-disabled,var(--spectrum-disabled-background-color));--mod-infield-button-background-color-hover:var(--mod-infield-button-background-color-hover-disabled,var(--spectrum-disabled-background-color));--mod-infield-button-background-color-down:var(--mod-infield-button-background-color-down-disabled,var(--spectrum-disabled-background-color));--mod-infield-button-border-color:var(--mod-infield-button-border-color-disabled,var(--spectrum-disabled-background-color));--mod-infield-button-icon-color:var(--mod-infield-button-icon-color-disabled,var(--spectrum-disabled-content-color));--mod-infield-button-icon-color-hover:var(--mod-infield-button-icon-color-hover-disabled,var(--spectrum-disabled-content-color));--mod-infield-button-icon-color-down:var(--mod-infield-button-icon-color-down-disabled,var(--spectrum-disabled-content-color));--mod-infield-button-icon-color-key-focus:var(--mod-infield-button-icon-color-key-focus-disabled,var(--spectrum-disabled-content-color))}:host([size=s]){--spectrum-infield-button-height:var(--spectrum-component-height-75);--spectrum-infield-button-width:var(--spectrum-component-height-75);--spectrum-infield-button-stacked-fill-padding-inline:var(--spectrum-in-field-button-edge-to-disclosure-icon-stacked-small);--spectrum-infield-button-stacked-fill-padding-outer:var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-small);--spectrum-infield-button-stacked-fill-padding-inner:var(--spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-small)}:host([size=l]){--spectrum-infield-button-height:var(--spectrum-component-height-200);--spectrum-infield-button-width:var(--spectrum-component-height-200);--spectrum-infield-button-stacked-fill-padding-inline:var(--spectrum-in-field-button-edge-to-disclosure-icon-stacked-large);--spectrum-infield-button-stacked-fill-padding-outer:var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-large);--spectrum-infield-button-stacked-fill-padding-inner:var(--spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-large)}:host([size=xl]){--spectrum-infield-button-height:var(--spectrum-component-height-300);--spectrum-infield-button-width:var(--spectrum-component-height-300);--spectrum-infield-button-stacked-fill-padding-inline:var(--spectrum-in-field-button-edge-to-disclosure-icon-stacked-extra-large);--spectrum-infield-button-stacked-fill-padding-outer:var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-extra-large);--spectrum-infield-button-stacked-fill-padding-inner:var(--spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-extra-large)}:host([block=end]),:host([block=start]){--mod-infield-button-width:var(--mod-infield-button-width-stacked,var(--spectrum-in-field-button-width-stacked-medium))}:host([block=end][size=s]),:host([block=start][size=s]){--mod-infield-button-width:var(--mod-infield-button-width-stacked,var(--spectrum-in-field-button-width-stacked-small))}:host([block=end][size=l]),:host([block=start][size=l]){--mod-infield-button-width:var(--mod-infield-button-width-stacked,var(--spectrum-in-field-button-width-stacked-large))}:host([block=end][size=xl]),:host([block=start][size=xl]){--mod-infield-button-width:var(--mod-infield-button-width-stacked,var(--spectrum-in-field-button-width-stacked-extra-large))}:host([quiet]){--mod-infield-button-background-color:var(--mod-infield-button-background-color-quiet,transparent);--mod-infield-button-background-color-hover:var(--mod-infield-button-background-color-hover-quiet,transparent);--mod-infield-button-background-color-down:var(--mod-infield-button-background-color-down-quiet,transparent);--mod-infield-button-background-color-key-focus:var(--mod-infield-button-background-color-key-focus-quiet,transparent);--mod-infield-border-color:var(--mod-infield-border-color-quiet,transparent);--mod-infield-button-border-width:var(--mod-infield-button-border-width-quiet,0)}:host([quiet][disabled]){--mod-infield-button-background-color:var(--mod-infield-button-background-color-quiet-disabled,transparent);--mod-infield-button-border-color:var(--mod-infield-button-border-color-quiet-disabled,transparent)}@media (forced-colors:active){:host(:is(:active,[active])):not(:disabled),:host(:focus-visible):not(:disabled){--highcontrast-infield-button-border-color:Highlight}@media (hover:hover){:host(:hover):not(:disabled){--highcontrast-infield-button-border-color:Highlight}}}:host{background-color:initial;cursor:pointer;block-size:var(--mod-infield-button-height,var(--spectrum-infield-button-height));inline-size:var(--mod-infield-button-width,var(--spectrum-infield-button-width));padding:var(--mod-infield-button-edge-to-fill,var(--spectrum-infield-button-edge-to-fill));border-style:none;justify-content:center;align-items:center;display:flex}.fill{background-color:var(--mod-infield-button-background-color,var(--spectrum-infield-button-background-color));border-width:var(--mod-infield-button-border-width,var(--spectrum-infield-button-border-width));border-style:solid;border-color:var(--highcontrast-infield-button-border-color,var(--mod-infield-button-border-color,var(--spectrum-infield-button-border-color)));padding:var(--mod-infield-button-fill-padding,var(--spectrum-infield-button-fill-padding));border-start-start-radius:var(--mod-infield-button-border-radius,var(--spectrum-infield-button-border-radius));border-start-end-radius:var(--mod-infield-button-border-radius,var(--spectrum-infield-button-border-radius));border-end-end-radius:var(--mod-infield-button-border-radius,var(--spectrum-infield-button-border-radius));border-end-start-radius:var(--mod-infield-button-border-radius,var(--spectrum-infield-button-border-radius));block-size:100%;inline-size:100%}::slotted(*){color:var(--mod-infield-button-icon-color,var(--spectrum-infield-button-icon-color))}:host([inline=end]) .fill{border-start-start-radius:var(--mod-infield-button-border-radius-reset,var(--spectrum-infield-button-border-radius-reset));border-end-start-radius:var(--mod-infield-button-border-radius-reset,var(--spectrum-infield-button-border-radius-reset))}:host([inline=start]) .fill{border-start-end-radius:var(--mod-infield-button-border-radius-reset,var(--spectrum-infield-button-border-radius-reset));border-end-end-radius:var(--mod-infield-button-border-radius-reset,var(--spectrum-infield-button-border-radius-reset))}:host([disabled]){cursor:auto}@media (hover:hover){:host(:hover) .fill{background-color:var(--mod-infield-button-background-color-hover,var(--spectrum-infield-button-background-color-hover))}:host(:hover) ::slotted(*){color:var(--mod-infield-button-icon-color-hover,var(--spectrum-infield-button-icon-color-hover))}}:host(:is(:active,[active])) .fill{background-color:var(--mod-infield-button-background-color-down,var(--spectrum-infield-button-background-color-down))}:host(:is(:active,[active])) ::slotted(*){color:var(--mod-infield-button-icon-color-down,var(--spectrum-infield-button-icon-color-down))}:host(:focus-visible){outline:none}:host(:focus-visible) .fill{background-color:var(--mod-infield-button-background-color-key-focus,var(--spectrum-infield-button-background-color-key-focus))}:host(:focus-visible) ::slotted(*){color:var(--mod-infield-button-icon-color-key-focus,var(--spectrum-infield-button-icon-color-key-focus))}.fill{align-items:center;justify-content:var(--mod-infield-button-fill-justify-content,var(--spectrum-infield-button-fill-justify-content));transition:border-color var(--spectrum-global-animation-duration-100)ease-in-out;display:flex}:host([block=end]),:host([block=start]){block-size:calc(var(--mod-infield-button-height,var(--spectrum-infield-button-height))/2)}:host([block=end]) .fill,:host([block=start]) .fill{box-sizing:border-box;padding-inline-start:calc(var(--mod-infield-button-stacked-fill-padding-inline,var(--spectrum-infield-button-stacked-fill-padding-inline)) - var(--mod-infield-button-edge-to-fill,var(--spectrum-infield-button-edge-to-fill)) - var(--mod-infield-button-border-width,var(--spectrum-infield-button-border-width)));padding-inline-end:calc(var(--mod-infield-button-stacked-fill-padding-inline,var(--spectrum-infield-button-stacked-fill-padding-inline)) - var(--mod-infield-button-edge-to-fill,var(--spectrum-infield-button-edge-to-fill)) - var(--mod-infield-button-border-width,var(--spectrum-infield-button-border-width)))}:host([block=start]){padding-block-end:var(--mod-infield-button-inner-edge-to-fill,var(--spectrum-infield-button-inner-edge-to-fill))}:host([block=start]) .fill{border-block-end:none;border-start-start-radius:var(--mod-infield-button-stacked-top-border-radius-start-start,var(--spectrum-infield-button-stacked-top-border-radius-start-start));border-end-end-radius:var(--mod-infield-button-stacked-border-radius-reset,var(--spectrum-infield-button-stacked-border-radius-reset));border-end-start-radius:var(--mod-infield-button-stacked-border-radius-reset,var(--spectrum-infield-button-stacked-border-radius-reset));padding-block-start:calc(var(--mod-infield-button-stacked-fill-padding-outer,var(--spectrum-infield-button-stacked-fill-padding-outer)) - var(--mod-infield-button-edge-to-fill,var(--spectrum-infield-button-edge-to-fill)) - var(--mod-infield-button-border-width,var(--spectrum-infield-button-border-width)));padding-block-end:calc(var(--mod-infield-button-stacked-fill-padding-inner,var(--spectrum-infield-button-stacked-fill-padding-inner)) - var(--mod-infield-button-inner-edge-to-fill,var(--spectrum-infield-button-inner-edge-to-fill)))}:host([block=end]){padding-block-start:var(--mod-infield-button-inner-edge-to-fill,var(--spectrum-infield-button-inner-edge-to-fill))}:host([block=end]) .fill{border-block-end-width:var(--mod-infield-button-stacked-bottom-border-block-end-width,var(--mod-infield-button-border-width,var(--spectrum-infield-button-border-width)));border-start-start-radius:var(--mod-infield-button-stacked-border-radius-reset,var(--spectrum-infield-button-stacked-border-radius-reset));border-start-end-radius:var(--mod-infield-button-stacked-border-radius-reset,var(--spectrum-infield-button-stacked-border-radius-reset));border-end-end-radius:var(--mod-infield-button-stacked-bottom-border-radius-end-end,var(--mod-infield-button-border-radius,var(--spectrum-infield-button-border-radius)));border-end-start-radius:var(--mod-infield-button-stacked-bottom-border-radius-end-start,var(--spectrum-infield-button-stacked-bottom-border-radius-end-start));padding-block-start:calc(var(--mod-infield-button-stacked-fill-padding-inner,var(--spectrum-infield-button-stacked-fill-padding-inner)) - var(--mod-infield-button-edge-to-fill,var(--spectrum-infield-button-edge-to-fill)) - var(--mod-infield-button-border-width,var(--spectrum-infield-button-border-width)));padding-block-end:calc(var(--mod-infield-button-stacked-fill-padding-outer,var(--spectrum-infield-button-stacked-fill-padding-outer)) - var(--mod-infield-button-inner-edge-to-fill,var(--spectrum-infield-button-inner-edge-to-fill)) - var(--mod-infield-button-border-width,var(--spectrum-infield-button-border-width)))}::slotted(*){display:initial;flex-shrink:0;margin:0!important}:host{--spectrum-infield-button-border-width:var(--system-spectrum-infieldbutton-spectrum-infield-button-border-width);--spectrum-infield-button-border-color:var(--system-spectrum-infieldbutton-spectrum-infield-button-border-color);--spectrum-infield-button-border-radius:var(--system-spectrum-infieldbutton-spectrum-infield-button-border-radius);--spectrum-infield-button-border-radius-reset:var(--system-spectrum-infieldbutton-spectrum-infield-button-border-radius-reset);--spectrum-infield-button-stacked-top-border-radius-start-start:var(--system-spectrum-infieldbutton-spectrum-infield-button-stacked-top-border-radius-start-start);--spectrum-infield-button-stacked-bottom-border-radius-end-start:var(--system-spectrum-infieldbutton-spectrum-infield-button-stacked-bottom-border-radius-end-start);--spectrum-infield-button-background-color:var(--system-spectrum-infieldbutton-spectrum-infield-button-background-color);--spectrum-infield-button-background-color-hover:var(--system-spectrum-infieldbutton-spectrum-infield-button-background-color-hover);--spectrum-infield-button-background-color-down:var(--system-spectrum-infieldbutton-spectrum-infield-button-background-color-down);--spectrum-infield-button-background-color-key-focus:var(--system-spectrum-infieldbutton-spectrum-infield-button-background-color-key-focus)}:host{box-sizing:border-box;user-select:none}
-`;var He=Object.defineProperty,Pe=Object.getOwnPropertyDescriptor,De=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?Pe(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&He(e,r,c),c};class Le extends((0,w.Z)(kt,{noDefaultSize:!0,validSizes:["s","m","l","xl"]})){constructor(){super(...arguments),this.quiet=!1}static get styles(){return[...super.styles,_e]}get buttonContent(){return[t.qy`
+`;var Be=Object.defineProperty,Fe=Object.getOwnPropertyDescriptor,Re=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?Fe(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&Be(e,r,c),c};class Ze extends((0,A.Z)(It,{noDefaultSize:!0,validSizes:["s","m","l","xl"]})){constructor(){super(...arguments),this.quiet=!1}static get styles(){return[...super.styles,Ue]}get buttonContent(){return[i.qy`
             <div class="fill">
                 <slot></slot>
             </div>
-        `]}}De([(0,d.MZ)()],Le.prototype,"block",2),De([(0,d.MZ)()],Le.prototype,"inline",2),De([(0,d.MZ)({type:Boolean,reflect:!0})],Le.prototype,"quiet",2),customElements.define("sp-infield-button",Le);var Oe=a(853);const Ue=t.AH`
+        `]}}Re([(0,f.MZ)()],Ze.prototype,"block",2),Re([(0,f.MZ)()],Ze.prototype,"inline",2),Re([(0,f.MZ)({type:Boolean,reflect:!0})],Ze.prototype,"quiet",2),customElements.define("sp-infield-button",Ze);var Ne=a(853);const Ve=i.AH`
     .spectrum-UIIcon-ChevronRight50{--spectrum-icon-size:var(--spectrum-chevron-icon-size-50)}.spectrum-UIIcon-ChevronRight75{--spectrum-icon-size:var(--spectrum-chevron-icon-size-75)}.spectrum-UIIcon-ChevronRight100{--spectrum-icon-size:var(--spectrum-chevron-icon-size-100)}.spectrum-UIIcon-ChevronRight200{--spectrum-icon-size:var(--spectrum-chevron-icon-size-200)}.spectrum-UIIcon-ChevronRight300{--spectrum-icon-size:var(--spectrum-chevron-icon-size-300)}.spectrum-UIIcon-ChevronRight400{--spectrum-icon-size:var(--spectrum-chevron-icon-size-400)}.spectrum-UIIcon-ChevronRight500{--spectrum-icon-size:var(--spectrum-chevron-icon-size-500)}.spectrum-UIIcon-ChevronDown50{--spectrum-icon-size:var(--spectrum-chevron-icon-size-50);transform:rotate(90deg)}.spectrum-UIIcon-ChevronDown75{--spectrum-icon-size:var(--spectrum-chevron-icon-size-75);transform:rotate(90deg)}.spectrum-UIIcon-ChevronDown100{--spectrum-icon-size:var(--spectrum-chevron-icon-size-100);transform:rotate(90deg)}.spectrum-UIIcon-ChevronDown200{--spectrum-icon-size:var(--spectrum-chevron-icon-size-200);transform:rotate(90deg)}.spectrum-UIIcon-ChevronDown300{--spectrum-icon-size:var(--spectrum-chevron-icon-size-300);transform:rotate(90deg)}.spectrum-UIIcon-ChevronDown400{--spectrum-icon-size:var(--spectrum-chevron-icon-size-400);transform:rotate(90deg)}.spectrum-UIIcon-ChevronDown500{--spectrum-icon-size:var(--spectrum-chevron-icon-size-500);transform:rotate(90deg)}.spectrum-UIIcon-ChevronLeft50{--spectrum-icon-size:var(--spectrum-chevron-icon-size-50);transform:rotate(180deg)}.spectrum-UIIcon-ChevronLeft75{--spectrum-icon-size:var(--spectrum-chevron-icon-size-75);transform:rotate(180deg)}.spectrum-UIIcon-ChevronLeft100{--spectrum-icon-size:var(--spectrum-chevron-icon-size-100);transform:rotate(180deg)}.spectrum-UIIcon-ChevronLeft200{--spectrum-icon-size:var(--spectrum-chevron-icon-size-200);transform:rotate(180deg)}.spectrum-UIIcon-ChevronLeft300{--spectrum-icon-size:var(--spectrum-chevron-icon-size-300);transform:rotate(180deg)}.spectrum-UIIcon-ChevronLeft400{--spectrum-icon-size:var(--spectrum-chevron-icon-size-400);transform:rotate(180deg)}.spectrum-UIIcon-ChevronLeft500{--spectrum-icon-size:var(--spectrum-chevron-icon-size-500);transform:rotate(180deg)}.spectrum-UIIcon-ChevronUp50{--spectrum-icon-size:var(--spectrum-chevron-icon-size-50);transform:rotate(270deg)}.spectrum-UIIcon-ChevronUp75{--spectrum-icon-size:var(--spectrum-chevron-icon-size-75);transform:rotate(270deg)}.spectrum-UIIcon-ChevronUp100{--spectrum-icon-size:var(--spectrum-chevron-icon-size-100);transform:rotate(270deg)}.spectrum-UIIcon-ChevronUp200{--spectrum-icon-size:var(--spectrum-chevron-icon-size-200);transform:rotate(270deg)}.spectrum-UIIcon-ChevronUp300{--spectrum-icon-size:var(--spectrum-chevron-icon-size-300);transform:rotate(270deg)}.spectrum-UIIcon-ChevronUp400{--spectrum-icon-size:var(--spectrum-chevron-icon-size-400);transform:rotate(270deg)}.spectrum-UIIcon-ChevronUp500{--spectrum-icon-size:var(--spectrum-chevron-icon-size-500);transform:rotate(270deg)}
-`,Be=t.AH`
+`,Ke=i.AH`
     :host{--spectrum-stepper-height:var(--spectrum-component-height-100);--spectrum-stepper-border-radius:var(--spectrum-corner-radius-100);--spectrum-stepper-button-width:var(--spectrum-in-field-button-width-stacked-medium);--spectrum-stepper-button-padding:var(--spectrum-in-field-button-edge-to-fill);--spectrum-stepper-width:calc(var(--mod-stepper-height,var(--spectrum-stepper-height))*var(--mod-stepper-min-width-multiplier,var(--spectrum-text-field-minimum-width-multiplier)) + var(--mod-stepper-button-width,var(--spectrum-stepper-button-width)) + var(--mod-stepper-border-width,var(--spectrum-stepper-border-width))*2);--spectrum-stepper-focus-indicator-width:var(--spectrum-focus-indicator-thickness);--spectrum-stepper-focus-indicator-gap:var(--spectrum-focus-indicator-gap);--spectrum-stepper-focus-indicator-color:var(--spectrum-focus-indicator-color);--spectrum-stepper-button-offset:calc(var(--spectrum-stepper-button-width)/2);--spectrum-stepper-animation-duration:var(--spectrum-animation-duration-100);--mod-infield-button-border-color:var(--highcontrast-stepper-border-color,var(--mod-stepper-buttons-border-color,var(--spectrum-stepper-buttons-border-color)));--mod-infield-button-border-width:var(--mod-stepper-button-border-width,var(--spectrum-stepper-button-border-width));--mod-textfield-border-width:var(--mod-stepper-border-width,var(--spectrum-stepper-border-width))}:host([size=s]) #textfield{--spectrum-stepper-button-width:var(--spectrum-in-field-button-width-stacked-small);--spectrum-stepper-height:var(--spectrum-component-height-75)}:host([size=l]) #textfield{--spectrum-stepper-button-width:var(--spectrum-in-field-button-width-stacked-large);--spectrum-stepper-height:var(--spectrum-component-height-200)}:host([size=xl]) #textfield{--spectrum-stepper-button-width:var(--spectrum-in-field-button-width-stacked-extra-large);--spectrum-stepper-height:var(--spectrum-component-height-300)}:host([quiet]) #textfield{--mod-infield-button-width-stacked:var(--mod-stepper-button-width-quiet,var(--spectrum-stepper-button-width));--mod-textfield-focus-indicator-color:transparent}:host([disabled]) #textfield{--mod-infield-button-border-color-quiet-disabled:var(--spectrum-disabled-border-color)}:host([invalid]) #textfield{--mod-stepper-border-color:var(--mod-stepper-border-color-invalid,var(--spectrum-negative-border-color-default));--mod-stepper-border-color-hover:var(--mod-stepper-border-color-hover-invalid,var(--spectrum-negative-border-color-hover));--mod-stepper-border-color-focus:var(--mod-stepper-border-color-focus-invalid,var(--spectrum-negative-border-color-focus));--mod-stepper-border-color-focus-hover:var(--mod-stepper-border-color-focus-hover-invalid,var(--spectrum-negative-border-color-focus-hover));--mod-stepper-border-color-keyboard-focus:var(--mod-stepper-border-color-keyboard-focus-invalid,var(--spectrum-negative-border-color-key-focus));--mod-infield-button-border-color:var(--mod-stepper-border-color-invalid,var(--spectrum-stepper-border-color-invalid));--mod-textfield-icon-spacing-inline-start-invalid:0}:host([invalid][focused]) #textfield,:host([invalid]) #textfield:focus{--mod-infield-button-border-color:var(--mod-stepper-border-color-focus-invalid,var(--spectrum-stepper-border-color-focus-invalid))}:host([invalid][keyboard-focused]) #textfield,:host([invalid]) #textfield:focus-visible{--mod-infield-button-border-color:var(--mod-stepper-border-color-keyboard-focus-invalid,var(--spectrum-stepper-border-color-keyboard-focus-invalid))}.x{border-radius:var(--spectrum-stepper-button-border-radius-reset)}#textfield{inline-size:var(--mod-stepper-width,var(--spectrum-stepper-width));block-size:var(--mod-stepper-height,var(--spectrum-stepper-height));border-radius:var(--mod-stepper-border-radius,var(--spectrum-stepper-border-radius));flex-flow:row;display:inline-flex;position:relative}#textfield,#textfield .input{border-color:var(--highcontrast-stepper-border-color,var(--mod-stepper-border-color,var(--spectrum-stepper-border-color)))}#textfield .input{border-inline-end-width:0;border-start-end-radius:0;border-end-end-radius:0}:host([focused]) #textfield,#textfield:focus{--mod-infield-button-border-color:var(--highcontrast-stepper-border-color-focus,var(--mod-stepper-buttons-border-color-focus,var(--spectrum-stepper-buttons-border-color-focus)))}:host([focused]) #textfield .input,#textfield:focus .input{outline:none}:host([focused]) #textfield .buttons,:host([focused]) #textfield .input,#textfield:focus .buttons,#textfield:focus .input{border-color:var(--highcontrast-stepper-border-color-focus,var(--mod-stepper-border-color-focus,var(--spectrum-stepper-border-color-focus)))}:host([keyboard-focused]) #textfield,#textfield:focus-visible{--mod-infield-button-border-color:var(--highcontrast-stepper-border-color-keyboard-focus,var(--mod-stepper-buttons-border-color-keyboard-focus,var(--spectrum-stepper-buttons-border-color-keyboard-focus)));outline:var(--mod-stepper-focus-indicator-width,var(--spectrum-stepper-focus-indicator-width))solid;outline-color:var(--highcontrast-stepper-focus-indicator-color,var(--mod-stepper-focus-indicator-color,var(--spectrum-stepper-focus-indicator-color)));outline-offset:var(--mod-stepper-focus-indicator-gap,var(--spectrum-stepper-focus-indicator-gap))}:host([keyboard-focused]) #textfield .input,#textfield:focus-visible .input{outline:none}:host([keyboard-focused]) #textfield .buttons,:host([keyboard-focused]) #textfield .input,#textfield:focus-visible .buttons,#textfield:focus-visible .input{border-color:var(--highcontrast-stepper-border-color-keyboard-focus,var(--mod-stepper-border-color-keyboard-focus,var(--spectrum-stepper-border-color-keyboard-focus)))}:host([quiet]) #textfield{--mod-infield-button-border-color:var(--highcontrast-stepper-border-color,var(--mod-stepper-border-color,var(--spectrum-stepper-border-color)));border-start-start-radius:0;border-start-end-radius:0;border-end-end-radius:0;border-end-start-radius:0}:host([quiet]) #textfield.hide-stepper .input{border-inline-end-width:0;border-end-end-radius:0}:host([quiet]) #textfield:after{content:"";block-size:var(--mod-stepper-focus-indicator-width,var(--spectrum-stepper-focus-indicator-width));inline-size:100%;position:absolute;inset-block-end:calc(( var(--mod-stepper-focus-indicator-gap,var(--spectrum-stepper-focus-indicator-gap)) + var(--mod-stepper-focus-indicator-width,var(--spectrum-stepper-focus-indicator-width)))*-1);inset-inline-start:0}:host([quiet]) #textfield .buttons{border:none}:host([quiet]) #textfield .button{--mod-infield-button-border-block-end-width:var(--mod-stepper-border-width,var(--spectrum-stepper-border-width));--mod-infield-button-stacked-bottom-border-block-end-width:var(--mod-stepper-border-width,var(--spectrum-stepper-border-width));--mod-infield-button-stacked-bottom-border-radius-end-end:0;--mod-infield-button-stacked-bottom-border-radius-end-start:0;--mod-infield-button-fill-justify-content:flex-end;padding:0}:host([quiet]) #textfield .buttons,:host([quiet]) #textfield .input{background-color:initial}:host([quiet][focused]) #textfield,:host([quiet]) #textfield:focus{--mod-infield-button-border-color:var(--highcontrast-stepper-border-color-focus,var(--mod-stepper-border-color-focus,var(--spectrum-stepper-border-color-focus)))}:host([quiet][keyboard-focused]) #textfield{--mod-infield-button-border-color:var(--highcontrast-stepper-border-color-keyboard-focus,var(--mod-stepper-border-color-keyboard-focus,var(--spectrum-stepper-border-color-keyboard-focus)));outline:none}:host([quiet][keyboard-focused]) #textfield:after{background-color:var(--highcontrast-stepper-focus-indicator-color,var(--mod-stepper-focus-indicator-color,var(--spectrum-stepper-focus-indicator-color)))}@media (hover:hover){:host([invalid]:hover) #textfield{--mod-infield-button-border-color:var(--mod-stepper-border-color-hover-invalid,var(--spectrum-negative-border-color-hover))}:host([invalid][focused]:hover) #textfield,:host([invalid]:hover) #textfield:focus{--mod-infield-button-border-color:var(--mod-stepper-border-color-focus-hover-invalid,var(--spectrum-stepper-border-color-focus-hover-invalid))}:host(:hover:not([disabled]):not([invalid])) #textfield{--mod-infield-button-border-color:var(--highcontrast-stepper-border-color-hover,var(--mod-stepper-buttons-border-color-hover,var(--spectrum-stepper-buttons-border-color-hover)))}:host(:hover:not([disabled])) #textfield .buttons,:host(:hover:not([disabled])) #textfield .input{border-color:var(--highcontrast-stepper-border-color-hover,var(--mod-stepper-border-color-hover,var(--spectrum-stepper-border-color-hover)))}:host([focused]:hover) #textfield,:host(:hover) #textfield:focus{--mod-infield-button-border-color:var(--highcontrast-stepper-border-color-focus-hover,var(--mod-stepper-buttons-border-color-focus-hover,var(--spectrum-stepper-buttons-border-color-focus-hover)))}:host([focused]:hover) #textfield .buttons,:host([focused]:hover) #textfield .input,:host(:hover) #textfield:focus .buttons,:host(:hover) #textfield:focus .input{border-color:var(--highcontrast-stepper-border-color-focus-hover,var(--mod-stepper-border-color-focus-hover,var(--spectrum-stepper-border-color-focus-hover)))}:host([quiet]:hover:not([disabled])) #textfield{--mod-infield-button-border-color:var(--highcontrast-stepper-border-color-hover,var(--mod-stepper-border-color-hover,var(--spectrum-stepper-border-color-hover)))}:host([quiet]:hover:not([disabled])) #textfield .buttons{background-color:initial}:host([quiet][focused]:hover) #textfield,:host([quiet]:hover) #textfield:focus{--mod-infield-button-border-color:var(--highcontrast-stepper-border-color-focus-hover,var(--mod-stepper-border-color-focus-hover,var(--spectrum-stepper-border-color-focus-hover)))}:host([quiet][keyboard-focused]:hover) #textfield{--mod-infield-button-border-color:var(--highcontrast-stepper-border-color-hover,var(--mod-stepper-border-color-hover,var(--spectrum-stepper-border-color-hover)))}}#textfield:before{content:""}.buttons{box-sizing:border-box;block-size:var(--mod-stepper-height,var(--spectrum-stepper-height));inline-size:var(--mod-stepper-button-width,var(--spectrum-stepper-button-width));border-color:var(--highcontrast-stepper-border-color,var(--mod-stepper-border-color,var(--spectrum-stepper-border-color)));border-style:var(--mod-stepper-buttons-border-style,var(--spectrum-stepper-buttons-border-style));border-width:var(--highcontrast-stepper-buttons-border-width,var(--mod-stepper-buttons-border-width,var(--spectrum-stepper-buttons-border-width)));background-color:var(--highcontrast-stepper-buttons-background-color,var(--mod-stepper-buttons-background-color,var(--spectrum-stepper-buttons-background-color)));transition:border-color var(--mod-stepper-animation-duration,var(--spectrum-stepper-animation-duration))ease-in-out;border-inline-start-width:0;flex-direction:column;justify-content:center;display:flex}.buttons,#textfield.hide-stepper .input{border-start-end-radius:var(--mod-stepper-border-radius,var(--spectrum-stepper-border-radius));border-end-end-radius:var(--mod-stepper-border-radius,var(--spectrum-stepper-border-radius))}#textfield.hide-stepper .input{border-inline-end-width:var(--mod-stepper-border-width,var(--spectrum-stepper-border-width))}@media (forced-colors:active){:host{--highcontrast-stepper-border-color:CanvasText;--highcontrast-stepper-border-color-hover:Highlight;--highcontrast-stepper-border-color-focus:Highlight;--highcontrast-stepper-border-color-focus-hover:Highlight;--highcontrast-stepper-border-color-keyboard-focus:CanvasText;--highcontrast-stepper-button-background-color-default:Canvas;--highcontrast-stepper-button-background-color-hover:Canvas;--highcontrast-stepper-button-background-color-focus:Canvas;--highcontrast-stepper-button-background-color-keyboard-focus:Canvas;--highcontrast-stepper-focus-indicator-color:Highlight}:host([disabled]) #textfield{--highcontrast-stepper-border-color:GrayText;--highcontrast-stepper-buttons-border-width:var(--mod-stepper-border-width,var(--spectrum-stepper-border-width))}:host([invalid]) #textfield{--highcontrast-stepper-border-color:Highlight;--highcontrast-stepper-border-color-hover:Highlight;--highcontrast-stepper-border-color-focus:Highlight;--highcontrast-stepper-border-color-focus-hover:Highlight;--highcontrast-stepper-border-color-keyboard-focus:Highlight}}:host{--spectrum-stepper-border-width:var(--system-spectrum-stepper-border-width);--spectrum-stepper-buttons-border-style:var(--system-spectrum-stepper-buttons-border-style);--spectrum-stepper-buttons-border-width:var(--system-spectrum-stepper-buttons-border-width);--spectrum-stepper-buttons-border-color:var(--system-spectrum-stepper-buttons-border-color);--spectrum-stepper-buttons-background-color:var(--system-spectrum-stepper-buttons-background-color);--spectrum-stepper-buttons-border-color-hover:var(--system-spectrum-stepper-buttons-border-color-hover);--spectrum-stepper-buttons-border-color-focus:var(--system-spectrum-stepper-buttons-border-color-focus);--spectrum-stepper-buttons-border-color-keyboard-focus:var(--system-spectrum-stepper-buttons-border-color-keyboard-focus);--spectrum-stepper-button-border-radius-reset:var(--system-spectrum-stepper-button-border-radius-reset);--spectrum-stepper-button-border-width:var(--system-spectrum-stepper-button-border-width);--spectrum-stepper-border-color:var(--system-spectrum-stepper-border-color);--spectrum-stepper-border-color-hover:var(--system-spectrum-stepper-border-color-hover);--spectrum-stepper-border-color-focus:var(--system-spectrum-stepper-border-color-focus);--spectrum-stepper-border-color-focus-hover:var(--system-spectrum-stepper-border-color-focus-hover);--spectrum-stepper-border-color-keyboard-focus:var(--system-spectrum-stepper-border-color-keyboard-focus);--spectrum-stepper-border-color-invalid:var(--system-spectrum-stepper-border-color-invalid);--spectrum-stepper-border-color-focus-invalid:var(--system-spectrum-stepper-border-color-focus-invalid);--spectrum-stepper-border-color-focus-hover-invalid:var(--system-spectrum-stepper-border-color-focus-hover-invalid);--spectrum-stepper-border-color-keyboard-focus-invalid:var(--system-spectrum-stepper-border-color-keyboard-focus-invalid);--spectrum-stepper-button-background-color-focus:var(--system-spectrum-stepper-button-background-color-focus);--spectrum-stepper-button-background-color-keyboard-focus:var(--system-spectrum-stepper-button-background-color-keyboard-focus)}:host([disabled]) #textfield{--spectrum-stepper-buttons-background-color:var(--system-spectrum-stepper-disabled-buttons-background-color);--spectrum-stepper-buttons-border-width:var(--system-spectrum-stepper-disabled-buttons-border-width)}:host{inline-size:var(--mod-stepper-width,var(--spectrum-stepper-width));--swc-number-field-width:calc(var(--mod-stepper-height,var(--spectrum-stepper-height))*var(--mod-stepper-min-width-multiplier,var(--spectrum-text-field-minimum-width-multiplier)) + var(--mod-stepper-button-width,var(--spectrum-stepper-button-width)) + var(--mod-stepper-border-width,var(--spectrum-stepper-border-width))*2);--mod-infield-button-border-width:var(--unset-value-resets-inheritance)}:host([size=s]){--spectrum-stepper-width:calc(var(--swc-number-field-width)/5*4)}:host([size=l]){--spectrum-stepper-width:calc(var(--swc-number-field-width)*1.25)}:host([size=xl]){--spectrum-stepper-width:calc(var(--swc-number-field-width)*1.25*1.25)}#textfield{inline-size:100%}.input{font-variant-numeric:tabular-nums}:host([readonly]) .buttons{pointer-events:none;visibility:hidden}:host([readonly]:not([disabled],[invalid],[focused],[keyboard-focused])) #textfield:hover .input{border-color:#0000}:host([hide-stepper]:not([quiet])) #textfield input{border:var(--spectrum-textfield-border-width)solid var(--spectrum-textfield-border-color);border-radius:var(--spectrum-textfield-corner-radius)}
-`;var Fe=Object.defineProperty,Re=Object.getOwnPropertyDescriptor,Ze=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?Re(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&Fe(e,r,c),c};const Ne={"1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","0":"0","、":",",",":",","。":".",".":".","%":"%","+":"+",ー:"-"},Ve={s:e=>t.qy`
+`;var We=Object.defineProperty,Je=Object.getOwnPropertyDescriptor,Ge=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?Je(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&We(e,r,c),c};const Xe={"1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","0":"0","、":",",",":",","。":".",".":".","%":"%","+":"+",ー:"-"},Ye={s:t=>i.qy`
         <sp-icon-chevron50
-            class="stepper-icon spectrum-UIIcon-Chevron${e}50"
+            class="stepper-icon spectrum-UIIcon-Chevron${t}50"
         ></sp-icon-chevron50>
-    `,m:e=>t.qy`
+    `,m:t=>i.qy`
         <sp-icon-chevron75
-            class="stepper-icon spectrum-UIIcon-Chevron${e}75"
+            class="stepper-icon spectrum-UIIcon-Chevron${t}75"
         ></sp-icon-chevron75>
-    `,l:e=>t.qy`
+    `,l:t=>i.qy`
         <sp-icon-chevron100
-            class="stepper-icon spectrum-UIIcon-Chevron${e}100"
+            class="stepper-icon spectrum-UIIcon-Chevron${t}100"
         ></sp-icon-chevron100>
-    `,xl:e=>t.qy`
+    `,xl:t=>i.qy`
         <sp-icon-chevron200
-            class="stepper-icon spectrum-UIIcon-Chevron${e}200"
+            class="stepper-icon spectrum-UIIcon-Chevron${t}200"
         ></sp-icon-chevron200>
-    `};class Ke extends ae{constructor(){super(...arguments),this.focused=!1,this._forcedUnit="",this.formatOptions={},this.hideStepper=!1,this.indeterminate=!1,this.keyboardFocused=!1,this.managedInput=!1,this.stepModifier=10,this._value=NaN,this._trackingValue="",this.changeCount=0,this.languageResolver=new le(this),this.wasIndeterminate=!1,this.hasRecentlyReceivedPointerDown=!1,this.applyFocusElementLabel=t=>{this.appliedLabel=t},this.isComposing=!1}static get styles(){return[...super.styles,Be,Ue]}set value(t){const e=this.validateInput(t);if(e===this.value)return;this.lastCommitedValue=e;const r=this._value;this._value=e,this.requestUpdate("value",r)}get value(){return this._value}get inputValue(){return this.indeterminate?this.formattedValue:this.inputElement.value}setValue(t=this.value){this.value=t,void 0!==this.lastCommitedValue&&this.lastCommitedValue!==this.value&&(this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})),this.lastCommitedValue=this.value)}get valueAsString(){return this._value.toString()}set valueAsString(t){this.value=this.numberParser.parse(t)}get formattedValue(){return isNaN(this.value)?"":this.numberFormatter.format(this.value)+(this.focused?"":this._forcedUnit)}convertValueToNumber(t){var e;if((0,Oe.mU)()&&"decimal"===this.inputElement.inputMode){const r=this.numberFormatter.formatToParts(1000.1),o=t.split("").find((t=>","===t||"."===t)),s=null==(e=r.find((t=>"decimal"===t.type)))?void 0:e.value;o&&s&&(t=t.replace(o,s))}return this.numberParser.parse(t)}get _step(){var t;return void 0!==this.step?this.step:"percent"===(null==(t=this.formatOptions)?void 0:t.style)?.01:1}handlePointerdown(t){if(0!==t.button)return void t.preventDefault();this.managedInput=!0,this.buttons.setPointerCapture(t.pointerId);const e=this.buttons.children[0].getBoundingClientRect(),r=this.buttons.children[1].getBoundingClientRect();this.findChange=t=>{t.clientX>=e.x&&t.clientY>=e.y&&t.clientX<=e.x+e.width&&t.clientY<=e.y+e.height?this.change=t=>this.increment(t.shiftKey?this.stepModifier:1):t.clientX>=r.x&&t.clientY>=r.y&&t.clientX<=r.x+r.width&&t.clientY<=r.y+r.height&&(this.change=t=>this.decrement(t.shiftKey?this.stepModifier:1))},this.findChange(t),this.startChange(t)}startChange(t){this.changeCount=0,this.doChange(t),this.safty=setTimeout((()=>{this.doNextChange(t)}),400)}doChange(t){this.change(t)}handlePointermove(t){this.findChange(t)}handlePointerup(t){this.buttons.releasePointerCapture(t.pointerId),cancelAnimationFrame(this.nextChange),clearTimeout(this.safty),this.managedInput=!1,this.setValue()}doNextChange(t){return this.changeCount+=1,this.changeCount%5==0&&this.doChange(t),requestAnimationFrame((()=>{this.nextChange=this.doNextChange(t)}))}stepBy(t){if(this.disabled||this.readonly)return;const e=void 0!==this.min?this.min:0;let r=this.value;r+=t*this._step,isNaN(this.value)&&(r=e),r=this.valueWithLimits(r),this.requestUpdate(),this._value=this.validateInput(r),this.inputElement.value=r.toString(),this.inputElement.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),this.indeterminate=!1,this.focus()}increment(t=1){this.stepBy(1*t)}decrement(t=1){this.stepBy(-1*t)}handleKeydown(t){if(!this.isComposing)switch(t.code){case"ArrowUp":t.preventDefault(),this.increment(t.shiftKey?this.stepModifier:1),this.setValue();break;case"ArrowDown":t.preventDefault(),this.decrement(t.shiftKey?this.stepModifier:1),this.setValue()}}onScroll(t){t.preventDefault(),this.managedInput=!0;const e=t.shiftKey?t.deltaX/Math.abs(t.deltaX):t.deltaY/Math.abs(t.deltaY);0!==e&&!isNaN(e)&&(this.stepBy(e*(t.shiftKey?this.stepModifier:1)),clearTimeout(this.queuedChangeEvent),this.queuedChangeEvent=setTimeout((()=>{this.setValue()}),100)),this.managedInput=!1}onFocus(){super.onFocus(),this._trackingValue=this.inputValue,this.keyboardFocused=!this.readonly&&!0,this.addEventListener("wheel",this.onScroll,{passive:!1})}onBlur(t){super.onBlur(t),this.keyboardFocused=!this.readonly&&!1,this.removeEventListener("wheel",this.onScroll)}handleFocusin(){this.focused=!this.readonly&&!0,this.keyboardFocused=!this.readonly&&!0}handleFocusout(){this.focused=!this.readonly&&!1,this.keyboardFocused=!this.readonly&&!1}handleChange(){const t=this.convertValueToNumber(this.inputValue);this.wasIndeterminate&&(this.wasIndeterminate=!1,this.indeterminateValue=void 0,isNaN(t))?this.indeterminate=!0:(this.setValue(t),this.inputElement.value=this.formattedValue)}handleCompositionStart(){this.isComposing=!0}handleCompositionEnd(){this.isComposing=!1,requestAnimationFrame((()=>{this.inputElement.dispatchEvent(new Event("input",{composed:!0,bubbles:!0}))}))}handleInputElementPointerdown(){this.hasRecentlyReceivedPointerDown=!0,this.updateComplete.then((()=>{requestAnimationFrame((()=>{this.hasRecentlyReceivedPointerDown=!1}))}))}handleInput(t){var e;if(this.isComposing)return void t.stopPropagation();this.indeterminate&&(this.wasIndeterminate=!0,this.indeterminateValue=this.value,this.inputElement.value=this.inputElement.value.replace("-",""));const{value:r,selectionStart:o}=this.inputElement,s=r.split("").map((t=>Ne[t]||t)).join("");if(this.numberParser.isValidPartialNumber(s)){this.lastCommitedValue=null!=(e=this.lastCommitedValue)?e:this.value;const t=this.convertValueToNumber(s);return!s&&this.indeterminateValue?(this.indeterminate=!0,this._value=this.indeterminateValue):(this.indeterminate=!1,this._value=this.validateInput(t)),this._trackingValue=s,this.inputElement.value=s,void this.inputElement.setSelectionRange(o,o)}this.inputElement.value=this.indeterminate?"-":this._trackingValue;const c=s.length,a=(o||c)-(c-this._trackingValue.length);this.inputElement.setSelectionRange(a,a)}valueWithLimits(t){let e=t;return void 0!==this.min&&(e=Math.max(this.min,e)),void 0!==this.max&&(e=Math.min(this.max,e)),e}validateInput(t){const e=(t=this.valueWithLimits(t))<0?-1:1;if(t*=e,this.step){const e=void 0!==this.min?this.min:0,r=parseFloat(this.valueFormatter.format((t-e)%this.step));if(0===r||(1===Math.round(r/this.step)?t+=this.step-r:t-=r),void 0!==this.max)for(;t>this.max;)t-=this.step;t=parseFloat(this.valueFormatter.format(t))}return t*e}get displayValue(){const t=this.focused?"":"-";return this.indeterminate?t:this.formattedValue}clearNumberFormatterCache(){this._numberFormatter=void 0,this._numberParser=void 0}get numberFormatter(){if(!this._numberFormatter||!this._numberFormatterFocused){const{style:t,unit:e,unitDisplay:r,...o}=this.formatOptions;"unit"!==t&&(o.style=t),this._numberFormatterFocused=new ze(this.languageResolver.language,o);try{this._numberFormatter=new ze(this.languageResolver.language,this.formatOptions),this._forcedUnit="",this._numberFormatter.format(1)}catch(r){"unit"===t&&(this._forcedUnit=e),this._numberFormatter=this._numberFormatterFocused}}return this.focused?this._numberFormatterFocused:this._numberFormatter}clearValueFormatterCache(){this._valueFormatter=void 0}get valueFormatter(){if(!this._valueFormatter){const t=this.step&&this.step!=Math.floor(this.step)?this.step.toString().split(".")[1].length:0;this._valueFormatter=new ze(this.languageResolver.language,{maximumFractionDigits:t,useGrouping:!1})}return this._valueFormatter}get numberParser(){if(!this._numberParser||!this._numberParserFocused){const{style:t,unit:e,unitDisplay:r,...o}=this.formatOptions;"unit"!==t&&(o.style=t),this._numberParserFocused=new Se(this.languageResolver.language,o);try{this._numberParser=new Se(this.languageResolver.language,this.formatOptions),this._forcedUnit="",this._numberParser.parse("0")}catch(r){"unit"===t&&(this._forcedUnit=e),this._numberParser=this._numberParserFocused}}return this.focused?this._numberParserFocused:this._numberParser}renderField(){return this.autocomplete="off",t.qy`
+    `};class Qe extends de{constructor(){super(...arguments),this.focused=!1,this._forcedUnit="",this.formatOptions={},this.hideStepper=!1,this.indeterminate=!1,this.keyboardFocused=!1,this.managedInput=!1,this.stepModifier=10,this._value=NaN,this._trackingValue="",this.changeCount=0,this.languageResolver=new be(this),this.wasIndeterminate=!1,this.hasRecentlyReceivedPointerDown=!1,this.applyFocusElementLabel=t=>{this.appliedLabel=t},this.isComposing=!1}static get styles(){return[...super.styles,Ke,Ve]}set value(t){const e=this.validateInput(t);if(e===this.value)return;this.lastCommitedValue=e;const r=this._value;this._value=e,this.requestUpdate("value",r)}get value(){return this._value}get inputValue(){return this.indeterminate?this.formattedValue:this.inputElement.value}setValue(t=this.value){this.value=t,void 0!==this.lastCommitedValue&&this.lastCommitedValue!==this.value&&(this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})),this.lastCommitedValue=this.value)}get valueAsString(){return this._value.toString()}set valueAsString(t){this.value=this.numberParser.parse(t)}get formattedValue(){return isNaN(this.value)?"":this.numberFormatter.format(this.value)+(this.focused?"":this._forcedUnit)}convertValueToNumber(t){var e;if((0,Ne.mU)()&&"decimal"===this.inputElement.inputMode){const r=this.numberFormatter.formatToParts(1000.1),o=t.split("").find((t=>","===t||"."===t)),s=null==(e=r.find((t=>"decimal"===t.type)))?void 0:e.value;o&&s&&(t=t.replace(o,s))}return this.numberParser.parse(t)}get _step(){var t;return void 0!==this.step?this.step:"percent"===(null==(t=this.formatOptions)?void 0:t.style)?.01:1}handlePointerdown(t){if(0!==t.button)return void t.preventDefault();this.managedInput=!0,this.buttons.setPointerCapture(t.pointerId);const e=this.buttons.children[0].getBoundingClientRect(),r=this.buttons.children[1].getBoundingClientRect();this.findChange=t=>{t.clientX>=e.x&&t.clientY>=e.y&&t.clientX<=e.x+e.width&&t.clientY<=e.y+e.height?this.change=t=>this.increment(t.shiftKey?this.stepModifier:1):t.clientX>=r.x&&t.clientY>=r.y&&t.clientX<=r.x+r.width&&t.clientY<=r.y+r.height&&(this.change=t=>this.decrement(t.shiftKey?this.stepModifier:1))},this.findChange(t),this.startChange(t)}startChange(t){this.changeCount=0,this.doChange(t),this.safty=setTimeout((()=>{this.doNextChange(t)}),400)}doChange(t){this.change(t)}handlePointermove(t){this.findChange(t)}handlePointerup(t){this.buttons.releasePointerCapture(t.pointerId),cancelAnimationFrame(this.nextChange),clearTimeout(this.safty),this.managedInput=!1,this.setValue()}doNextChange(t){return this.changeCount+=1,this.changeCount%5==0&&this.doChange(t),requestAnimationFrame((()=>{this.nextChange=this.doNextChange(t)}))}stepBy(t){if(this.disabled||this.readonly)return;const e=void 0!==this.min?this.min:0;let r=this.value;r+=t*this._step,isNaN(this.value)&&(r=e),r=this.valueWithLimits(r),this.requestUpdate(),this._value=this.validateInput(r),this.inputElement.value=this.numberFormatter.format(r),this.inputElement.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),this.indeterminate=!1,this.focus()}increment(t=1){this.stepBy(1*t)}decrement(t=1){this.stepBy(-1*t)}handleKeydown(t){if(!this.isComposing)switch(t.code){case"ArrowUp":t.preventDefault(),this.increment(t.shiftKey?this.stepModifier:1),this.setValue();break;case"ArrowDown":t.preventDefault(),this.decrement(t.shiftKey?this.stepModifier:1),this.setValue()}}onScroll(t){t.preventDefault(),this.managedInput=!0;const e=t.shiftKey?t.deltaX/Math.abs(t.deltaX):t.deltaY/Math.abs(t.deltaY);0!==e&&!isNaN(e)&&(this.stepBy(e*(t.shiftKey?this.stepModifier:1)),clearTimeout(this.queuedChangeEvent),this.queuedChangeEvent=setTimeout((()=>{this.setValue()}),100)),this.managedInput=!1}onFocus(){super.onFocus(),this._trackingValue=this.inputValue,this.keyboardFocused=!this.readonly&&!0,this.addEventListener("wheel",this.onScroll,{passive:!1})}onBlur(t){super.onBlur(t),this.keyboardFocused=!this.readonly&&!1,this.removeEventListener("wheel",this.onScroll)}handleFocusin(){this.focused=!this.readonly&&!0,this.keyboardFocused=!this.readonly&&!0}handleFocusout(){this.focused=!this.readonly&&!1,this.keyboardFocused=!this.readonly&&!1}handleChange(){const t=this.convertValueToNumber(this.inputValue);this.wasIndeterminate&&(this.wasIndeterminate=!1,this.indeterminateValue=void 0,isNaN(t))?this.indeterminate=!0:(this.setValue(t),this.inputElement.value=this.formattedValue)}handleCompositionStart(){this.isComposing=!0}handleCompositionEnd(){this.isComposing=!1,requestAnimationFrame((()=>{this.inputElement.dispatchEvent(new Event("input",{composed:!0,bubbles:!0}))}))}handleInputElementPointerdown(){this.hasRecentlyReceivedPointerDown=!0,this.updateComplete.then((()=>{requestAnimationFrame((()=>{this.hasRecentlyReceivedPointerDown=!1}))}))}handleInput(t){var e;if(this.isComposing)return void t.stopPropagation();this.indeterminate&&(this.wasIndeterminate=!0,this.indeterminateValue=this.value,this.inputElement.value=this.inputElement.value.replace("-",""));const{value:r,selectionStart:o}=this.inputElement,s=r.split("").map((t=>Xe[t]||t)).join("");if(this.numberParser.isValidPartialNumber(s)){this.lastCommitedValue=null!=(e=this.lastCommitedValue)?e:this.value;const t=this.convertValueToNumber(s);return!s&&this.indeterminateValue?(this.indeterminate=!0,this._value=this.indeterminateValue):(this.indeterminate=!1,this._value=this.validateInput(t)),this._trackingValue=s,this.inputElement.value=s,void this.inputElement.setSelectionRange(o,o)}this.inputElement.value=this.indeterminate?"-":this._trackingValue;const c=s.length,a=(o||c)-(c-this._trackingValue.length);this.inputElement.setSelectionRange(a,a)}valueWithLimits(t){let e=t;return void 0!==this.min&&(e=Math.max(this.min,e)),void 0!==this.max&&(e=Math.min(this.max,e)),e}validateInput(t){const e=(t=this.valueWithLimits(t))<0?-1:1;if(t*=e,this.step){const e=void 0!==this.min?this.min:0,r=parseFloat(this.valueFormatter.format((t-e)%this.step));if(0===r||(1===Math.round(r/this.step)?t+=this.step-r:t-=r),void 0!==this.max)for(;t>this.max;)t-=this.step;t=parseFloat(this.valueFormatter.format(t))}return t*e}get displayValue(){const t=this.focused?"":"-";return this.indeterminate?t:this.formattedValue}clearNumberFormatterCache(){this._numberFormatter=void 0,this._numberParser=void 0}get numberFormatter(){if(!this._numberFormatter||!this._numberFormatterFocused){const{style:t,unit:e,unitDisplay:r,...o}=this.formatOptions;"unit"!==t&&(o.style=t),this._numberFormatterFocused=new Ee(this.languageResolver.language,o);try{this._numberFormatter=new Ee(this.languageResolver.language,this.formatOptions),this._forcedUnit="",this._numberFormatter.format(1)}catch(r){"unit"===t&&(this._forcedUnit=e),this._numberFormatter=this._numberFormatterFocused}}return this.focused?this._numberFormatterFocused:this._numberFormatter}clearValueFormatterCache(){this._valueFormatter=void 0}get valueFormatter(){if(!this._valueFormatter){const t=this.step&&this.step!=Math.floor(this.step)?this.step.toString().split(".")[1].length:0;this._valueFormatter=new Ee("en",{useGrouping:!1,maximumFractionDigits:t})}return this._valueFormatter}get numberParser(){if(!this._numberParser||!this._numberParserFocused){const{style:t,unit:e,unitDisplay:r,...o}=this.formatOptions;"unit"!==t&&(o.style=t),this._numberParserFocused=new je(this.languageResolver.language,o);try{this._numberParser=new je(this.languageResolver.language,this.formatOptions),this._forcedUnit="",this._numberParser.parse("0")}catch(r){"unit"===t&&(this._forcedUnit=e),this._numberParser=this._numberParserFocused}}return this.focused?this._numberParserFocused:this._numberParser}renderField(){return this.autocomplete="off",i.qy`
             ${super.renderField()}
-            ${this.hideStepper?t.s6:t.qy`
+            ${this.hideStepper?i.s6:i.qy`
                       <span
                           class="buttons"
                           @focusin=${this.handleFocusin}
                           @focusout=${this.handleFocusout}
-                          ${fe({start:["pointerdown",this.handlePointerdown],streamInside:[["pointermove","pointerenter","pointerleave","pointerover","pointerout"],this.handlePointermove],end:[["pointerup","pointercancel","pointerleave"],this.handlePointerup]})}
+                          ${Ce({start:["pointerdown",this.handlePointerdown],streamInside:[["pointermove","pointerenter","pointerleave","pointerover","pointerout"],this.handlePointermove],end:[["pointerup","pointercancel","pointerleave"],this.handlePointerup]})}
                       >
                           <sp-infield-button
                               inline="end"
@@ -415,7 +415,7 @@ governing permissions and limitations under the License.
                               ?disabled=${this.disabled||this.readonly||void 0!==this.max&&this.value===this.max}
                               ?quiet=${this.quiet}
                           >
-                              ${Ve[this.size]("Up")}
+                              ${Ye[this.size]("Up")}
                           </sp-infield-button>
                           <sp-infield-button
                               inline="end"
@@ -429,13 +429,13 @@ governing permissions and limitations under the License.
                               ?disabled=${this.disabled||this.readonly||void 0!==this.min&&this.value===this.min}
                               ?quiet=${this.quiet}
                           >
-                              ${Ve[this.size]("Down")}
+                              ${Ye[this.size]("Down")}
                           </sp-infield-button>
                       </span>
                   `}
-        `}update(t){if((t.has("formatOptions")||t.has("resolvedLanguage"))&&this.clearNumberFormatterCache(),t.has("value")||t.has("max")||t.has("min")){const t=this.numberParser.parse(this.formattedValue.replace(this._forcedUnit,""));this.value=t}t.has("step")&&this.clearValueFormatterCache(),super.update(t)}willUpdate(t){this.multiline=!1,t.has(ne)&&this.clearNumberFormatterCache()}firstUpdated(t){super.firstUpdated(t),this.addEventListener("keydown",this.handleKeydown),this.addEventListener("compositionstart",this.handleCompositionStart),this.addEventListener("compositionend",this.handleCompositionEnd)}updated(t){if(t.has("min")||t.has("formatOptions")){let t="numeric";const e=void 0!==this.min&&this.min<0,{maximumFractionDigits:r}=this.numberFormatter.resolvedOptions(),o=r>0;(0,Oe.mU)()?e?t="text":o&&(t="decimal"):(0,Oe.m0)()&&(e?t="numeric":o&&(t="decimal")),this.inputElement.inputMode=t}t.has("focused")&&this.focused&&!this.hasRecentlyReceivedPointerDown&&this.formatOptions.unit&&this.setSelectionRange(0,this.displayValue.length)}}Ze([(0,d.P)(".buttons")],Ke.prototype,"buttons",2),Ze([(0,d.MZ)({type:Boolean,reflect:!0})],Ke.prototype,"focused",2),Ze([(0,d.MZ)({type:Object,attribute:"format-options"})],Ke.prototype,"formatOptions",2),Ze([(0,d.MZ)({type:Boolean,reflect:!0,attribute:"hide-stepper"})],Ke.prototype,"hideStepper",2),Ze([(0,d.MZ)({type:Boolean,reflect:!0})],Ke.prototype,"indeterminate",2),Ze([(0,d.MZ)({type:Boolean,reflect:!0,attribute:"keyboard-focused"})],Ke.prototype,"keyboardFocused",2),Ze([(0,d.MZ)({type:Number})],Ke.prototype,"max",2),Ze([(0,d.MZ)({type:Number})],Ke.prototype,"min",2),Ze([(0,d.MZ)({type:Number})],Ke.prototype,"step",2),Ze([(0,d.MZ)({type:Number,reflect:!0,attribute:"step-modifier"})],Ke.prototype,"stepModifier",2),Ze([(0,d.MZ)({type:Number})],Ke.prototype,"value",1),(0,x.e)("sp-number-field",Ke);var We=Object.defineProperty,Je=Object.getOwnPropertyDescriptor,Ge=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?Je(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&We(e,r,c),c};const Xe=t.AH`
+        `}update(t){if((t.has("formatOptions")||t.has("resolvedLanguage"))&&this.clearNumberFormatterCache(),t.has("value")||t.has("max")||t.has("min")){const t=this.numberParser.parse(this.formattedValue.replace(this._forcedUnit,""));this.value=t}t.has("step")&&this.clearValueFormatterCache(),super.update(t)}willUpdate(t){this.multiline=!1,t.has(he)&&this.clearNumberFormatterCache()}firstUpdated(t){super.firstUpdated(t),this.addEventListener("keydown",this.handleKeydown),this.addEventListener("compositionstart",this.handleCompositionStart),this.addEventListener("compositionend",this.handleCompositionEnd)}updated(t){if(t.has("min")||t.has("formatOptions")){let t="numeric";const e=void 0!==this.min&&this.min<0,{maximumFractionDigits:r}=this.numberFormatter.resolvedOptions(),o=r>0;(0,Ne.mU)()?e?t="text":o&&(t="decimal"):(0,Ne.m0)()&&(e?t="numeric":o&&(t="decimal")),this.inputElement.inputMode=t}t.has("focused")&&this.focused&&!this.hasRecentlyReceivedPointerDown&&this.formatOptions.unit&&this.setSelectionRange(0,this.displayValue.length)}}Ge([(0,f.P)(".buttons")],Qe.prototype,"buttons",2),Ge([(0,f.MZ)({type:Boolean,reflect:!0})],Qe.prototype,"focused",2),Ge([(0,f.MZ)({type:Object,attribute:"format-options"})],Qe.prototype,"formatOptions",2),Ge([(0,f.MZ)({type:Boolean,reflect:!0,attribute:"hide-stepper"})],Qe.prototype,"hideStepper",2),Ge([(0,f.MZ)({type:Boolean,reflect:!0})],Qe.prototype,"indeterminate",2),Ge([(0,f.MZ)({type:Boolean,reflect:!0,attribute:"keyboard-focused"})],Qe.prototype,"keyboardFocused",2),Ge([(0,f.MZ)({type:Number})],Qe.prototype,"max",2),Ge([(0,f.MZ)({type:Number})],Qe.prototype,"min",2),Ge([(0,f.MZ)({type:Number})],Qe.prototype,"step",2),Ge([(0,f.MZ)({type:Number,reflect:!0,attribute:"step-modifier"})],Qe.prototype,"stepModifier",2),Ge([(0,f.MZ)({type:Number})],Qe.prototype,"value",1),(0,$.e)("sp-number-field",Qe);var tr=Object.defineProperty,er=Object.getOwnPropertyDescriptor,rr=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?er(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&tr(e,r,c),c};const or=i.AH`
     :host{--spectrum-checkbox-content-color-default:var(--spectrum-neutral-content-color-default);--spectrum-checkbox-content-color-hover:var(--spectrum-neutral-content-color-hover);--spectrum-checkbox-content-color-down:var(--spectrum-neutral-content-color-down);--spectrum-checkbox-content-color-focus:var(--spectrum-neutral-content-color-key-focus);--spectrum-checkbox-focus-indicator-color:var(--spectrum-focus-indicator-color);--spectrum-checkbox-content-color-disabled:var(--spectrum-disabled-content-color);--spectrum-checkbox-control-color-disabled:var(--spectrum-disabled-content-color);--spectrum-checkbox-checkmark-color:var(--spectrum-gray-75);--spectrum-checkbox-invalid-color-default:var(--spectrum-negative-color-900);--spectrum-checkbox-invalid-color-hover:var(--spectrum-negative-color-1000);--spectrum-checkbox-invalid-color-down:var(--spectrum-negative-color-1100);--spectrum-checkbox-invalid-color-focus:var(--spectrum-negative-color-1000);--spectrum-checkbox-emphasized-color-default:var(--spectrum-accent-color-900);--spectrum-checkbox-emphasized-color-hover:var(--spectrum-accent-color-1000);--spectrum-checkbox-emphasized-color-down:var(--spectrum-accent-color-1100);--spectrum-checkbox-emphasized-color-focus:var(--spectrum-accent-color-1000);--spectrum-checkbox-control-selected-color-default:var(--spectrum-neutral-background-color-selected-default);--spectrum-checkbox-control-selected-color-hover:var(--spectrum-neutral-background-color-selected-hover);--spectrum-checkbox-control-selected-color-down:var(--spectrum-neutral-background-color-selected-down);--spectrum-checkbox-control-selected-color-focus:var(--spectrum-neutral-background-color-selected-key-focus);--spectrum-checkbox-font-size:var(--spectrum-font-size-100);--spectrum-checkbox-line-height:var(--spectrum-line-height-100);--spectrum-checkbox-line-height-cjk:var(--spectrum-cjk-line-height-100);--spectrum-checkbox-height:var(--spectrum-component-height-100);--spectrum-checkbox-control-size:var(--spectrum-checkbox-control-size-medium);--spectrum-checkbox-control-corner-radius:var(--spectrum-corner-radius-75);--spectrum-checkbox-focus-indicator-gap:var(--spectrum-focus-indicator-gap);--spectrum-checkbox-focus-indicator-thickness:var(--spectrum-focus-indicator-thickness);--spectrum-checkbox-border-width:var(--spectrum-border-width-200);--spectrum-checkbox-selected-border-width:calc(var(--spectrum-checkbox-control-size)/2);--spectrum-checkbox-top-to-text:var(--spectrum-component-top-to-text-100);--spectrum-checkbox-text-to-control:var(--spectrum-text-to-control-100);--spectrum-checkbox-animation-duration:var(--spectrum-animation-duration-100)}:host([size=s]){--spectrum-checkbox-font-size:var(--spectrum-font-size-75);--spectrum-checkbox-height:var(--spectrum-component-height-75);--spectrum-checkbox-control-size:var(--spectrum-checkbox-control-size-small);--spectrum-checkbox-top-to-text:var(--spectrum-component-top-to-text-75);--spectrum-checkbox-text-to-control:var(--spectrum-text-to-control-75)}:host{--spectrum-checkbox-font-size:var(--spectrum-font-size-100);--spectrum-checkbox-height:var(--spectrum-component-height-100);--spectrum-checkbox-control-size:var(--spectrum-checkbox-control-size-medium);--spectrum-checkbox-top-to-text:var(--spectrum-component-top-to-text-100);--spectrum-checkbox-text-to-control:var(--spectrum-text-to-control-100)}:host([size=l]){--spectrum-checkbox-font-size:var(--spectrum-font-size-200);--spectrum-checkbox-height:var(--spectrum-component-height-200);--spectrum-checkbox-control-size:var(--spectrum-checkbox-control-size-large);--spectrum-checkbox-top-to-text:var(--spectrum-component-top-to-text-200);--spectrum-checkbox-text-to-control:var(--spectrum-text-to-control-200)}:host([size=xl]){--spectrum-checkbox-font-size:var(--spectrum-font-size-300);--spectrum-checkbox-height:var(--spectrum-component-height-300);--spectrum-checkbox-control-size:var(--spectrum-checkbox-control-size-extra-large);--spectrum-checkbox-top-to-text:var(--spectrum-component-top-to-text-300);--spectrum-checkbox-text-to-control:var(--spectrum-text-to-control-300)}:host{color:var(--highcontrast-checkbox-content-color-default,var(--mod-checkbox-content-color-default,var(--spectrum-checkbox-content-color-default)));min-block-size:var(--mod-checkbox-height,var(--spectrum-checkbox-height));vertical-align:top;align-items:flex-start;max-inline-size:100%;display:inline-flex;position:relative}:host(:is(:active,[active])) #box:before{border-color:var(--highcontrast-checkbox-highlight-color-down,var(--mod-checkbox-control-color-down,var(--spectrum-checkbox-control-color-down)))}:host(:is(:active,[active])) #input:checked+#box:before{border-color:var(--highcontrast-checkbox-highlight-color-down,var(--mod-checkbox-control-selected-color-down,var(--spectrum-checkbox-control-selected-color-down)))}:host(:is(:active,[active])) #label{color:var(--highcontrast-checkbox-content-color-down,var(--mod-checkbox-content-color-down,var(--spectrum-checkbox-content-color-down)))}:host([invalid][invalid]) #box:before,:host([invalid][invalid]) #input:checked+#box:before{border-color:var(--highcontrast-checkbox-color-default,var(--mod-checkbox-invalid-color-default,var(--spectrum-checkbox-invalid-color-default)))}:host([invalid][invalid]) #input:focus-visible+#box:before,:host([invalid][invalid][indeterminate]) #input:focus-visible+#box:before{border-color:var(--highcontrast-checkbox-color-hover,var(--mod-checkbox-invalid-color-hover,var(--spectrum-checkbox-invalid-color-hover)))}:host([readonly]){border-color:var(--highcontrast-checkbox-color-default,var(--mod-checkbox-control-selected-color-default,var(--spectrum-checkbox-control-selected-color-default)))}:host([readonly]:is(:active,[active])) #box:before{border-color:var(--highcontrast-checkbox-selected-color-default,var(--mod-checkbox-control-selected-color-default,var(--spectrum-checkbox-control-selected-color-default)))}:host([readonly]) #input:checked:disabled+#box:before,:host([readonly]) #input:disabled+#box:before{border-color:var(--highcontrast-checkbox-color-default,var(--mod-checkbox-control-selected-color-default,var(--spectrum-checkbox-control-selected-color-default)));background-color:var(--highcontrast-checkbox-background-color-default,var(--mod-checkbox-checkmark-color,var(--spectrum-checkbox-checkmark-color)))}:host([readonly]) #input:checked:disabled~#label,:host([readonly]) #input:disabled~#label{forced-color-adjust:none;color:var(--highcontrast-checkbox-color-default,var(--mod-checkbox-content-color-default,var(--spectrum-checkbox-content-color-default)))}:host([indeterminate]) #box:before,:host([indeterminate]) #input:checked+#box:before{border-color:var(--highcontrast-checkbox-highlight-color-default,var(--mod-checkbox-control-selected-color-default,var(--spectrum-checkbox-control-selected-color-default)));border-width:var(--mod-checkbox-selected-border-width,var(--spectrum-checkbox-selected-border-width))}:host([indeterminate]) #box #checkmark,:host([indeterminate]) #input:checked+#box #checkmark{display:none}:host([indeterminate]) #box #partialCheckmark,:host([indeterminate]) #input:checked+#box #partialCheckmark{opacity:1;display:block;transform:scale(1)}:host([indeterminate]) #input:focus-visible+#box:before{border-color:var(--highcontrast-checkbox-highlight-color-focus,var(--mod-checkbox-control-selected-color-focus,var(--spectrum-checkbox-control-selected-color-focus)))}:host([invalid][invalid][indeterminate]) #box:before,:host([invalid][invalid][indeterminate]) #input:checked+#box:before{border-color:var(--highcontrast-checkbox-color-default,var(--mod-checkbox-invalid-color-default,var(--spectrum-checkbox-invalid-color-default)));border-width:var(--mod-checkbox-selected-border-width,var(--spectrum-checkbox-selected-border-width))}:host([emphasized]) #input:checked+#box:before,:host([emphasized][indeterminate]) #box:before,:host([emphasized][indeterminate]) #input:checked+#box:before{border-color:var(--highcontrast-checkbox-highlight-color-default,var(--mod-checkbox-emphasized-color-default,var(--spectrum-checkbox-emphasized-color-default)))}:host([emphasized]) #input:focus-visible:checked+#box:before,:host([emphasized][indeterminate]) #input:focus-visible+#box:before{border-color:var(--highcontrast-checkbox-highlight-color-focus,var(--mod-checkbox-emphasized-color-focus,var(--spectrum-checkbox-emphasized-color-focus)))}:host([emphasized][invalid][invalid]) #input:focus-visible:checked+#box:before{border-color:var(--highcontrast-checkbox-color-default,var(--mod-checkbox-invalid-color-focus,var(--spectrum-checkbox-invalid-color-focus)))}@media (hover:hover){:host(:hover) #box:before{border-color:var(--highcontrast-checkbox-highlight-color-hover,var(--mod-checkbox-control-color-hover,var(--spectrum-checkbox-control-color-hover)))}:host(:hover) #input:checked+#box:before{border-color:var(--highcontrast-checkbox-highlight-color-hover,var(--mod-checkbox-control-selected-color-hover,var(--spectrum-checkbox-control-selected-color-hover)))}:host(:hover) #label{color:var(--highcontrast-checkbox-content-color-hover,var(--mod-checkbox-content-color-hover,var(--spectrum-checkbox-content-color-hover)))}:host([invalid][invalid]:hover) #box:before,:host([invalid][invalid]:hover) #input:checked+#box:before{border-color:var(--highcontrast-checkbox-color-hover,var(--mod-checkbox-invalid-color-hover,var(--spectrum-checkbox-invalid-color-hover)))}:host([readonly]:hover) #box:before{border-color:var(--highcontrast-checkbox-color-default,var(--mod-checkbox-control-selected-color-default,var(--spectrum-checkbox-control-selected-color-default)))}:host([indeterminate]:hover) #box:before,:host([indeterminate]:hover) #input:checked+#box:before{border-color:var(--highcontrast-checkbox-highlight-color-hover,var(--mod-checkbox-control-selected-color-hover,var(--spectrum-checkbox-control-selected-color-hover)))}:host([invalid][invalid][indeterminate]:hover) #box:before,:host([invalid][invalid][indeterminate]:hover) #input:checked+#box:before{border-color:var(--highcontrast-checkbox-color-default,var(--mod-checkbox-invalid-color-hover,var(--spectrum-checkbox-invalid-color-hover)))}:host([invalid][invalid][indeterminate]:hover) #label{color:var(--highcontrast-checkbox-content-color-hover,var(--mod-checkbox-content-color-hover,var(--spectrum-checkbox-content-color-hover)))}:host([emphasized][invalid][invalid][indeterminate]:hover) #box:before,:host([emphasized][invalid][invalid][indeterminate]:hover) #input:checked+#box:before,:host([emphasized][invalid][invalid]:hover) #input:checked+#box:before{border-color:var(--highcontrast-checkbox-color-hover,var(--mod-checkbox-invalid-color-hover,var(--spectrum-checkbox-invalid-color-hover)))}:host([emphasized][indeterminate]:hover) #box:before,:host([emphasized][indeterminate]:hover) #input:checked+#box:before,:host([emphasized]:hover) #input:checked+#box:before{border-color:var(--highcontrast-checkbox-highlight-color-hover,var(--mod-checkbox-emphasized-color-hover,var(--spectrum-checkbox-emphasized-color-hover)))}}:host([emphasized][indeterminate]:is(:active,[active])) #box:before,:host([emphasized][indeterminate]:is(:active,[active])) #input:checked+#box:before,:host([emphasized]:is(:active,[active])) #input:checked+#box:before{border-color:var(--highcontrast-checkbox-highlight-color-default,var(--mod-checkbox-emphasized-color-down,var(--spectrum-checkbox-emphasized-color-down)))}:host([emphasized][invalid][invalid]:is(:active,[active])) #box:before,:host([emphasized][invalid][invalid]:is(:active,[active])) #input:checked+#box:before{border-color:var(--highcontrast-checkbox-highlight-color-default,var(--mod-checkbox-control-invalid-color-down,var(--spectrum-checkbox-invalid-color-down)))}:host([emphasized]:focus-visible) #box:before,:host([emphasized]:focus-visible) #input:checked+#box:before{border-color:var(--highcontrast-checkbox-color-focus,var(--mod-checkbox-control-color-focus,var(--spectrum-checkbox-control-color-focus)))}#label{text-align:start;font-size:var(--mod-checkbox-font-size,var(--spectrum-checkbox-font-size));transition:color var(--mod-checkbox-animation-duration,var(--spectrum-checkbox-animation-duration))ease-in-out;line-height:var(--mod-checkbox-line-height,var(--spectrum-checkbox-line-height));margin-block-start:var(--mod-checkbox-top-to-text,var(--spectrum-checkbox-top-to-text));margin-inline-start:var(--mod-checkbox-text-to-control,var(--spectrum-checkbox-text-to-control))}#label:lang(ja),#label:lang(ko),#label:lang(zh){line-height:var(--mod-checkbox-line-height-cjk,var(--spectrum-checkbox-line-height-cjk))}#input{color:var(--mod-checkbox-control-color-default,var(--spectrum-checkbox-control-color-default));box-sizing:border-box;opacity:.0001;z-index:1;cursor:pointer;block-size:100%;inline-size:100%;margin:0;padding:0;font-family:inherit;font-size:100%;line-height:1.15;position:absolute;overflow:visible}#input:disabled{cursor:default}#input:checked+#box:before{border-color:var(--highcontrast-checkbox-highlight-color-default,var(--mod-checkbox-control-selected-color-default,var(--spectrum-checkbox-control-selected-color-default)));background-color:var(--mod-checkbox-checkmark-color,var(--spectrum-checkbox-checkmark-color));border-width:var(--mod-checkbox-selected-border-width,var(--spectrum-checkbox-selected-border-width))}#input:checked+#box #checkmark{opacity:1;transform:scale(1)}#input:focus-visible+#box:before{border-color:var(--highcontrast-checkbox-color-focus,var(--mod-checkbox-control-color-focus,var(--spectrum-checkbox-control-color-focus)))}#input:focus-visible+#box:after{forced-color-adjust:none;box-shadow:0 0 0 var(--mod-checkbox-focus-indicator-thinkness,var(--spectrum-checkbox-focus-indicator-thickness))var(--highcontrast-checkbox-focus-indicator-color,var(--mod-checkbox-focus-indicator-color,var(--spectrum-checkbox-focus-indicator-color)));margin:calc(var(--mod-checkbox-focus-indicator-gap,var(--spectrum-checkbox-focus-indicator-gap))*-1)}#input:focus-visible+#label{color:var(--highcontrast-checkbox-content-color-focus,var(--mod-checkbox-content-color-focus,var(--spectrum-checkbox-content-color-focus)))}#input:focus-visible:checked+#box:before{border-color:var(--highcontrast-checkbox-highlight-color-focus,var(--mod-checkbox-control-selected-color-focus,var(--spectrum-checkbox-control-selected-color-focus)))}#box{--spectrum-checkbox-spacing:calc(var(--mod-checkbox-height,var(--spectrum-checkbox-height)) - var(--mod-checkbox-control-size,var(--spectrum-checkbox-control-size)));margin:calc(var(--mod-checkbox-spacing,var(--spectrum-checkbox-spacing))/2)0;flex-grow:0;flex-shrink:0;justify-content:center;align-items:center;display:flex;position:relative}#box,#box:before{box-sizing:border-box;inline-size:var(--mod-checkbox-control-size,var(--spectrum-checkbox-control-size));block-size:var(--mod-checkbox-control-size,var(--spectrum-checkbox-control-size))}#box:before{forced-color-adjust:none;border-color:var(--highcontrast-checkbox-color-default,var(--mod-checkbox-control-color-default,var(--spectrum-checkbox-control-color-default)));z-index:0;content:"";border-radius:var(--mod-checkbox-control-corner-radius,var(--spectrum-checkbox-control-corner-radius));border-width:var(--mod-checkbox-border-width,var(--spectrum-checkbox-border-width));transition:border var(--mod-checkbox-animation-duration,var(--spectrum-checkbox-animation-duration))ease-in-out,box-shadow var(--mod-checkbox-animation-duration,var(--spectrum-checkbox-animation-duration))ease-in-out;border-style:solid;display:block;position:absolute}#box:after{border-radius:calc(var(--mod-checkbox-control-corner-radius,var(--spectrum-checkbox-control-corner-radius)) + var(--mod-checkbox-focus-indicator-gap,var(--spectrum-checkbox-focus-indicator-gap)));content:"";margin:var(--mod-checkbox-focus-indicator-gap,var(--spectrum-checkbox-focus-indicator-gap));transition:box-shadow var(--mod-checkbox-animation-duration,var(--spectrum-checkbox-animation-duration))ease-out,margin var(--mod-checkbox-animation-duration,var(--spectrum-checkbox-animation-duration))ease-out;display:block;position:absolute;inset-block:0;inset-inline:0;transform:translate(0)}#checkmark,#partialCheckmark{color:var(--highcontrast-checkbox-background-color-default,var(--mod-checkbox-checkmark-color,var(--spectrum-checkbox-checkmark-color)));opacity:0;transition:opacity var(--mod-checkbox-animation-duration,var(--spectrum-checkbox-animation-duration))ease-in-out,transform var(--mod-checkbox-animation-duration,var(--spectrum-checkbox-animation-duration))ease-in-out;transform:scale(0)}#partialCheckmark{display:none}#input:checked:disabled+#box:before,#input:disabled+#box:before{border-color:var(--highcontrast-checkbox-disabled-color-default,var(--mod-checkbox-control-color-disabled,var(--spectrum-checkbox-control-color-disabled)));background-color:var(--highcontrast-checkbox-background-color-default,var(--mod-checkbox-checkmark-color,var(--spectrum-checkbox-checkmark-color)))}#input:checked:disabled~#label,#input:disabled~#label{forced-color-adjust:none;color:var(--highcontrast-checkbox-disabled-color-default,var(--mod-checkbox-content-color-disabled,var(--spectrum-checkbox-content-color-disabled)))}@media (forced-colors:active){#input:focus-visible+#box{forced-color-adjust:none;outline-color:var(--highcontrast-checkbox-focus-indicator-color,var(--mod-checkbox-focus-indicator-color,var(--spectrum-checkbox-focus-indicator-color)));outline-offset:var(--highcontrast-checkbox-focus-indicator-gap,var(--mod-checkbox-focus-indicator-gap,var(--spectrum-checkbox-focus-indicator-gap)));outline-style:auto;outline-width:var(--mod-focus-indicator-thickness,var(--spectrum-focus-indicator-thickness))}#input:focus-visible+#box:after{box-shadow:0 0 0 0 var(--highcontrast-checkbox-focus-indicator-color,var(--mod-checkbox-focus-indicator-color,var(--spectrum-checkbox-focus-indicator-color)))}:host{--highcontrast-checkbox-content-color-default:CanvasText;--highcontrast-checkbox-content-color-hover:CanvasText;--highcontrast-checkbox-content-color-down:CanvasText;--highcontrast-checkbox-content-color-focus:CanvasText;--highcontrast-checkbox-background-color-default:Canvas;--highcontrast-checkbox-color-default:ButtonText;--highcontrast-checkbox-color-hover:ButtonText;--highcontrast-checkbox-color-focus:Highlight;--highcontrast-checkbox-highlight-color-default:Highlight;--highcontrast-checkbox-highlight-color-hover:Highlight;--highcontrast-checkbox-highlight-color-down:Highlight;--highcontrast-checkbox-highlight-color-focus:Highlight;--highcontrast-checkbox-disabled-color-default:GrayText;--highcontrast-checkbox-focus-indicator-color:CanvasText}}:host{--spectrum-checkbox-control-color-default:var(--system-spectrum-checkbox-control-color-default);--spectrum-checkbox-control-color-hover:var(--system-spectrum-checkbox-control-color-hover);--spectrum-checkbox-control-color-down:var(--system-spectrum-checkbox-control-color-down);--spectrum-checkbox-control-color-focus:var(--system-spectrum-checkbox-control-color-focus)}:host{vertical-align:top;display:inline-flex}:host(:focus){outline:none}:host([disabled]){pointer-events:none}:host(:empty) label{display:none}
-`;(0,x.e)("sp-icon-checkmark75",class extends v{render(){return Ct(t.qy),(({width:t=24,height:e=24,title:r="Checkmark75"}={})=>zt`<svg
+`;(0,$.e)("sp-icon-checkmark75",class extends z{render(){return qt(i.qy),(({width:t=24,height:e=24,title:r="Checkmark75"}={})=>Et`<svg
     xmlns="http://www.w3.org/2000/svg"
     viewBox="0 0 10 10"
     aria-hidden="true"
@@ -448,7 +448,7 @@ governing permissions and limitations under the License.
     <path
       d="M3.667 9.07a.96.96 0 0 1-.737-.344L.753 6.114a.96.96 0 1 1 1.474-1.23l1.418 1.701 4.112-5.233a.96.96 0 0 1 1.51 1.186L4.422 8.704a.96.96 0 0 1-.741.367z"
     />
-  </svg>`)()}}),(0,x.e)("sp-icon-checkmark200",class extends v{render(){return Ct(t.qy),(({width:t=24,height:e=24,title:r="Checkmark200"}={})=>zt`<svg
+  </svg>`)()}}),(0,$.e)("sp-icon-checkmark200",class extends z{render(){return qt(i.qy),(({width:t=24,height:e=24,title:r="Checkmark200"}={})=>Et`<svg
     xmlns="http://www.w3.org/2000/svg"
     viewBox="0 0 12 12"
     aria-hidden="true"
@@ -461,7 +461,7 @@ governing permissions and limitations under the License.
     <path
       d="M4.313 10.98a1.04 1.04 0 0 1-.8-.375L.647 7.165a1.042 1.042 0 0 1 1.6-1.333l2.042 2.45 5.443-6.928a1.042 1.042 0 0 1 1.64 1.287l-6.24 7.94a1.04 1.04 0 0 1-.804.399z"
     />
-  </svg>`)()}}),(0,x.e)("sp-icon-checkmark300",class extends v{render(){return Ct(t.qy),(({width:t=24,height:e=24,title:r="Checkmark300"}={})=>zt`<svg
+  </svg>`)()}}),(0,$.e)("sp-icon-checkmark300",class extends z{render(){return qt(i.qy),(({width:t=24,height:e=24,title:r="Checkmark300"}={})=>Et`<svg
     xmlns="http://www.w3.org/2000/svg"
     viewBox="0 0 14 14"
     aria-hidden="true"
@@ -474,7 +474,7 @@ governing permissions and limitations under the License.
     <path
       d="M5.102 12.514a1.09 1.09 0 0 1-.834-.39L.988 8.19A1.085 1.085 0 0 1 2.656 6.8l2.421 2.906 6.243-7.947a1.085 1.085 0 0 1 1.707 1.34L5.955 12.1a1.09 1.09 0 0 1-.838.415z"
     />
-  </svg>`)()}}),(0,x.e)("sp-icon-dash75",class extends v{render(){return Ct(t.qy),(({width:t=24,height:e=24,title:r="Dash75"}={})=>zt`<svg
+  </svg>`)()}}),(0,$.e)("sp-icon-dash75",class extends z{render(){return qt(i.qy),(({width:t=24,height:e=24,title:r="Dash75"}={})=>Et`<svg
     xmlns="http://www.w3.org/2000/svg"
     viewBox="0 0 8 8"
     aria-hidden="true"
@@ -485,7 +485,7 @@ governing permissions and limitations under the License.
     height=${e}
   >
     <path d="M6.99 4.96H1.01a.96.96 0 0 1 0-1.92h5.98a.96.96 0 0 1 0 1.92" />
-  </svg>`)()}}),(0,x.e)("sp-icon-dash100",class extends v{render(){return Ct(t.qy),(({width:t=24,height:e=24,title:r="Dash100"}={})=>zt`<svg
+  </svg>`)()}}),(0,$.e)("sp-icon-dash100",class extends z{render(){return qt(i.qy),(({width:t=24,height:e=24,title:r="Dash100"}={})=>Et`<svg
     xmlns="http://www.w3.org/2000/svg"
     viewBox="0 0 10 10"
     aria-hidden="true"
@@ -496,7 +496,7 @@ governing permissions and limitations under the License.
     height=${e}
   >
     <path d="M8.5 6h-7a1 1 0 0 1 0-2h7a1 1 0 0 1 0 2" />
-  </svg>`)()}}),(0,x.e)("sp-icon-dash200",class extends v{render(){return Ct(t.qy),(({width:t=24,height:e=24,title:r="Dash200"}={})=>zt`<svg
+  </svg>`)()}}),(0,$.e)("sp-icon-dash200",class extends z{render(){return qt(i.qy),(({width:t=24,height:e=24,title:r="Dash200"}={})=>Et`<svg
     xmlns="http://www.w3.org/2000/svg"
     viewBox="0 0 12 12"
     aria-hidden="true"
@@ -507,7 +507,7 @@ governing permissions and limitations under the License.
     height=${e}
   >
     <path d="M10.021 7.042H1.98a1.042 1.042 0 1 1 0-2.083h8.043a1.042 1.042 0 0 1 0 2.083z" />
-  </svg>`)()}}),(0,x.e)("sp-icon-dash300",class extends v{render(){return Ct(t.qy),(({width:t=24,height:e=24,title:r="Dash300"}={})=>zt`<svg
+  </svg>`)()}}),(0,$.e)("sp-icon-dash300",class extends z{render(){return qt(i.qy),(({width:t=24,height:e=24,title:r="Dash300"}={})=>Et`<svg
     xmlns="http://www.w3.org/2000/svg"
     viewBox="0 0 12 12"
     aria-hidden="true"
@@ -518,74 +518,74 @@ governing permissions and limitations under the License.
     height=${e}
   >
     <path d="M10.61 7.085H1.39a1.085 1.085 0 0 1 0-2.17h9.22a1.085 1.085 0 0 1 0 2.17" />
-  </svg>`)()}});const Ye=t.AH`
+  </svg>`)()}});const sr=i.AH`
     .spectrum-UIIcon-Dash50{--spectrum-icon-size:var(--spectrum-dash-icon-size-50)}.spectrum-UIIcon-Dash75{--spectrum-icon-size:var(--spectrum-dash-icon-size-75)}.spectrum-UIIcon-Dash100{--spectrum-icon-size:var(--spectrum-dash-icon-size-100)}.spectrum-UIIcon-Dash200{--spectrum-icon-size:var(--spectrum-dash-icon-size-200)}.spectrum-UIIcon-Dash300{--spectrum-icon-size:var(--spectrum-dash-icon-size-300)}.spectrum-UIIcon-Dash400{--spectrum-icon-size:var(--spectrum-dash-icon-size-400)}.spectrum-UIIcon-Dash500{--spectrum-icon-size:var(--spectrum-dash-icon-size-500)}.spectrum-UIIcon-Dash600{--spectrum-icon-size:var(--spectrum-dash-icon-size-600)}
-`;var Qe=Object.defineProperty,tr=Object.getOwnPropertyDescriptor,er=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?tr(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&Qe(e,r,c),c};const rr={s:()=>t.qy`
+`;var cr=Object.defineProperty,ar=Object.getOwnPropertyDescriptor,ir=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?ar(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&cr(e,r,c),c};const nr={s:()=>i.qy`
             <sp-icon-checkmark75
                 id="checkmark"
                 class="spectrum-Icon spectrum-UIIcon-Checkmark75"
             ></sp-icon-checkmark75>
-        `,m:()=>t.qy`
+        `,m:()=>i.qy`
             <sp-icon-checkmark100
                 id="checkmark"
                 class="spectrum-Icon spectrum-UIIcon-Checkmark100"
             ></sp-icon-checkmark100>
-        `,l:()=>t.qy`
+        `,l:()=>i.qy`
             <sp-icon-checkmark200
                 id="checkmark"
                 class="spectrum-Icon spectrum-UIIcon-Checkmark200"
             ></sp-icon-checkmark200>
-        `,xl:()=>t.qy`
+        `,xl:()=>i.qy`
             <sp-icon-checkmark300
                 id="checkmark"
                 class="spectrum-Icon spectrum-UIIcon-Checkmark300"
             ></sp-icon-checkmark300>
-        `},or={s:()=>t.qy`
+        `},lr={s:()=>i.qy`
             <sp-icon-dash75
                 id="partialCheckmark"
                 class="spectrum-Icon spectrum-UIIcon-Dash75"
             ></sp-icon-dash75>
-        `,m:()=>t.qy`
+        `,m:()=>i.qy`
             <sp-icon-dash100
                 id="partialCheckmark"
                 class="spectrum-Icon spectrum-UIIcon-Dash100"
             ></sp-icon-dash100>
-        `,l:()=>t.qy`
+        `,l:()=>i.qy`
             <sp-icon-dash200
                 id="partialCheckmark"
                 class="spectrum-Icon spectrum-UIIcon-Dash200"
             ></sp-icon-dash200>
-        `,xl:()=>t.qy`
+        `,xl:()=>i.qy`
             <sp-icon-dash300
                 id="partialCheckmark"
                 class="spectrum-Icon spectrum-UIIcon-Dash300"
             ></sp-icon-dash300>
-        `};class sr extends((0,w.Z)(function(e){class r extends e{constructor(){super(...arguments),this.checked=!1,this.readonly=!1}handleChange(){if(this.readonly)return void(this.inputElement.checked=this.checked);this.checked=this.inputElement.checked;const t=new CustomEvent("change",{bubbles:!0,cancelable:!0,composed:!0});this.dispatchEvent(t)||(this.checked=!this.inputElement.checked,this.inputElement.checked=this.checked)}render(){return t.qy`
+        `};class ur extends((0,A.Z)(function(t){class e extends t{constructor(){super(...arguments),this.checked=!1,this.readonly=!1}handleChange(){if(this.readonly)return void(this.inputElement.checked=this.checked);this.checked=this.inputElement.checked;const t=new CustomEvent("change",{bubbles:!0,cancelable:!0,composed:!0});this.dispatchEvent(t)||(this.checked=!this.inputElement.checked,this.inputElement.checked=this.checked)}render(){return i.qy`
                 <input
                     id="input"
-                    name=${(0,S.J)(this.name||void 0)}
+                    name=${(0,j.J)(this.name||void 0)}
                     type="checkbox"
                     .checked=${this.checked}
                     ?disabled=${this.readonly}
                     @change=${this.handleChange}
                 />
-            `}}return Ge([(0,d.MZ)({type:Boolean,reflect:!0})],r.prototype,"checked",2),Ge([(0,d.MZ)({type:String,reflect:!0})],r.prototype,"name",2),Ge([(0,d.MZ)({type:Boolean,reflect:!0})],r.prototype,"readonly",2),Ge([(0,d.P)("#input")],r.prototype,"inputElement",2),r}(m.w),{noDefaultSize:!0})){constructor(){super(...arguments),this.disabled=!1,this.indeterminate=!1,this.invalid=!1,this.emphasized=!1,this.tabIndex=0}connectedCallback(){super.connectedCallback(),this.hasAttribute("autofocus")&&this.updateComplete.then((()=>{this.focus()}))}static get styles(){return[Xe,ee,Ye]}click(){var t;this.disabled||null==(t=this.inputElement)||t.click()}handleChange(){this.indeterminate=!1,super.handleChange()}render(){return t.qy`
+            `}}return rr([(0,f.MZ)({type:Boolean,reflect:!0})],e.prototype,"checked",2),rr([(0,f.MZ)({type:String,reflect:!0})],e.prototype,"name",2),rr([(0,f.MZ)({type:Boolean,reflect:!0})],e.prototype,"readonly",2),rr([(0,f.P)("#input")],e.prototype,"inputElement",2),e}(v.w),{noDefaultSize:!0})){constructor(){super(...arguments),this.disabled=!1,this.indeterminate=!1,this.invalid=!1,this.emphasized=!1,this.tabIndex=0}connectedCallback(){super.connectedCallback(),this.hasAttribute("autofocus")&&this.updateComplete.then((()=>{this.focus()}))}static get styles(){return[or,ie,sr]}click(){var t;this.disabled||null==(t=this.inputElement)||t.click()}handleChange(){this.indeterminate=!1,super.handleChange()}render(){return i.qy`
             ${super.render()}
             <span id="box">
-                ${this.checked?rr[this.size]():t.qy``}
-                ${this.indeterminate?or[this.size]():t.qy``}
+                ${this.checked?nr[this.size]():i.qy``}
+                ${this.indeterminate?lr[this.size]():i.qy``}
             </span>
             <label id="label" for="input"><slot></slot></label>
-        `}updated(t){super.updated(t),t.has("disabled")&&(void 0!==t.get("disabled")||this.disabled)&&(this.disabled?(this.inputElement.tabIndex=this.tabIndex,this.tabIndex=-1):(this.tabIndex=this.inputElement.tabIndex,this.inputElement.removeAttribute("tabindex")),this.inputElement.disabled=this.disabled),t.has("indeterminate")&&(this.inputElement.indeterminate=this.indeterminate),t.has("invalid")&&(this.invalid?this.inputElement.setAttribute("aria-invalid","true"):this.inputElement.removeAttribute("aria-invalid"))}}sr.shadowRootOptions={...m.w.shadowRootOptions,delegatesFocus:!0},er([(0,d.MZ)({type:Boolean,reflect:!0})],sr.prototype,"disabled",2),er([(0,d.MZ)({type:Boolean,reflect:!0})],sr.prototype,"indeterminate",2),er([(0,d.MZ)({type:Boolean,reflect:!0})],sr.prototype,"invalid",2),er([(0,d.MZ)({type:Boolean,reflect:!0})],sr.prototype,"emphasized",2),er([(0,d.MZ)({reflect:!0,type:Number,attribute:"tabindex"})],sr.prototype,"tabIndex",2),(0,x.e)("sp-checkbox",sr);const cr=t.AH`
+        `}updated(t){super.updated(t),t.has("disabled")&&(void 0!==t.get("disabled")||this.disabled)&&(this.disabled?(this.inputElement.tabIndex=this.tabIndex,this.tabIndex=-1):(this.tabIndex=this.inputElement.tabIndex,this.inputElement.removeAttribute("tabindex")),this.inputElement.disabled=this.disabled),t.has("indeterminate")&&(this.inputElement.indeterminate=this.indeterminate),t.has("invalid")&&(this.invalid?this.inputElement.setAttribute("aria-invalid","true"):this.inputElement.removeAttribute("aria-invalid"))}}ur.shadowRootOptions={...v.w.shadowRootOptions,delegatesFocus:!0},ir([(0,f.MZ)({type:Boolean,reflect:!0})],ur.prototype,"disabled",2),ir([(0,f.MZ)({type:Boolean,reflect:!0})],ur.prototype,"indeterminate",2),ir([(0,f.MZ)({type:Boolean,reflect:!0})],ur.prototype,"invalid",2),ir([(0,f.MZ)({type:Boolean,reflect:!0})],ur.prototype,"emphasized",2),ir([(0,f.MZ)({reflect:!0,type:Number,attribute:"tabindex"})],ur.prototype,"tabIndex",2),(0,$.e)("sp-checkbox",ur);const mr=i.AH`
     :host{--spectrum-link-animation-duration:var(--spectrum-animation-duration-100);--spectrum-link-text-color-primary-default:var(--spectrum-accent-content-color-default);--spectrum-link-text-color-primary-hover:var(--spectrum-accent-content-color-hover);--spectrum-link-text-color-primary-active:var(--spectrum-accent-content-color-down);--spectrum-link-text-color-primary-focus:var(--spectrum-accent-content-color-key-focus);--spectrum-link-text-color-secondary-default:var(--spectrum-neutral-content-color-default);--spectrum-link-text-color-secondary-hover:var(--spectrum-neutral-content-color-hover);--spectrum-link-text-color-secondary-active:var(--spectrum-neutral-content-color-down);--spectrum-link-text-color-secondary-focus:var(--spectrum-neutral-content-color-key-focus);--spectrum-link-text-color-white:var(--spectrum-white);--spectrum-link-text-color-black:var(--spectrum-black)}@media (forced-colors:active){:host{--highcontrast-link-text-color-primary-default:LinkText;--highcontrast-link-text-color-primary-hover:LinkText;--highcontrast-link-text-color-primary-active:LinkText;--highcontrast-link-text-color-primary-focus:LinkText;--highcontrast-link-text-color-secondary-default:LinkText;--highcontrast-link-text-color-secondary-hover:LinkText;--highcontrast-link-text-color-secondary-active:LinkText;--highcontrast-link-text-color-secondary-focus:LinkText;--highcontrast-link-text-color-white:LinkText;--highcontrast-link-text-color-black:LinkText}}a{background-color:initial;-webkit-text-decoration-skip:objects;text-decoration-skip:objects;transition:color var(--mod-link-animation-duration,var(--spectrum-link-animation-duration))ease-in-out;cursor:pointer;color:var(--highcontrast-link-text-color-primary-default,var(--mod-link-text-color-primary-default,var(--spectrum-link-text-color-primary-default)));outline:none;-webkit-text-decoration:underline;text-decoration:underline}a:active{color:var(--highcontrast-link-text-color-primary-active,var(--mod-link-text-color-primary-active,var(--spectrum-link-text-color-primary-active)))}a:focus-visible{color:var(--highcontrast-link-text-color-primary-focus,var(--mod-link-text-color-primary-focus,var(--spectrum-link-text-color-primary-focus)));text-decoration:underline double;text-decoration-color:var(--highcontrast-link-focus-color,inherit)}:host([variant=secondary]) a{color:var(--highcontrast-link-text-color-secondary-default,var(--mod-link-text-color-secondary-default,var(--spectrum-link-text-color-secondary-default)))}:host([variant=secondary]) a:active{color:var(--highcontrast-link-text-color-secondary-active,var(--mod-link-text-color-secondary-active,var(--spectrum-link-text-color-secondary-active)))}:host([variant=secondary]) a:focus{color:var(--highcontrast-link-text-color-secondary-focus,var(--mod-link-text-color-secondary-focus,var(--spectrum-link-text-color-secondary-focus)))}:host([quiet]) a{-webkit-text-decoration:none;text-decoration:none}:host([static=white]) a,:host([static=white]) a:active,:host([static=white]) a:focus{color:var(--highcontrast-link-text-color-white,var(--mod-link-text-color-white,var(--spectrum-link-text-color-white)))}:host([static=black]) a,:host([static=black]) a:active,:host([static=black]) a:focus{color:var(--highcontrast-link-text-color-black,var(--mod-link-text-color-black,var(--spectrum-link-text-color-black)))}@media (hover:hover){a:hover{color:var(--highcontrast-link-text-color-primary-hover,var(--mod-link-text-color-primary-hover,var(--spectrum-link-text-color-primary-hover)))}:host([variant=secondary]) a:hover{color:var(--highcontrast-link-text-color-secondary-hover,var(--mod-link-text-color-secondary-hover,var(--spectrum-link-text-color-secondary-hover)))}:host([quiet]) a:hover{-webkit-text-decoration:underline;text-decoration:underline}:host([static=white]) a:hover{color:var(--highcontrast-link-text-color-white,var(--mod-link-text-color-white,var(--spectrum-link-text-color-white)))}:host([static=black]) a:hover{color:var(--highcontrast-link-text-color-black,var(--mod-link-text-color-black,var(--spectrum-link-text-color-black)))}}:host{display:inline}:host(:focus){outline:none}:host([href]) a:focus-visible{text-decoration:underline double}:host([disabled]){pointer-events:none}
-`;var ar=Object.defineProperty,ir=Object.getOwnPropertyDescriptor,nr=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?ir(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&ar(e,r,c),c};class lr extends(ht(H)){constructor(){super(...arguments),this.quiet=!1}static get styles(){return[cr]}get focusElement(){return this.anchorElement}render(){return this.renderAnchor({id:"anchor"})}}nr([(0,d.P)("#anchor")],lr.prototype,"anchorElement",2),nr([(0,d.MZ)({type:String,reflect:!0})],lr.prototype,"variant",2),nr([(0,d.MZ)({type:String,reflect:!0})],lr.prototype,"static",2),nr([(0,d.MZ)({type:Boolean,reflect:!0,attribute:"quiet"})],lr.prototype,"quiet",2),(0,x.e)("sp-link",lr);const ur=t.AH`
+`;var dr=Object.defineProperty,pr=Object.getOwnPropertyDescriptor,hr=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?pr(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&dr(e,r,c),c};class br extends(yt(B)){constructor(){super(...arguments),this.quiet=!1}static get styles(){return[mr]}get focusElement(){return this.anchorElement}render(){return this.renderAnchor({id:"anchor"})}}hr([(0,f.P)("#anchor")],br.prototype,"anchorElement",2),hr([(0,f.MZ)({type:String,reflect:!0})],br.prototype,"variant",2),hr([(0,f.MZ)({type:String,reflect:!0})],br.prototype,"static",2),hr([(0,f.MZ)({type:Boolean,reflect:!0,attribute:"quiet"})],br.prototype,"quiet",2),(0,$.e)("sp-link",br);const gr=i.AH`
     :host{justify-content:center;align-items:center;block-size:100%;inline-size:100%;display:flex}::slotted(*){object-fit:contain;transition:opacity var(--spectrum-animation-duration-100);max-block-size:100%;max-inline-size:100%}.file,.folder{inline-size:max(var(--mod-asset-icon-min-width,48px),min(100%,var(--mod-asset-icon-max-width,80px)));margin:var(--mod-asset-icon-margin,20px);block-size:100%}.folderBackground{fill:var(--highcontrast-asset-folder-background-color,var(--mod-asset-folder-background-color,var(--spectrum-gray-300)))}.fileBackground{fill:var(--highcontrast-asset-file-background-color,var(--mod-asset-file-background-color,var(--spectrum-gray-50)))}.fileOutline,.folderOutline{fill:var(--mod-asset-icon-outline-color,var(--spectrum-gray-500))}@media (forced-colors:active){:host{--highcontrast-asset-folder-background-color:currentColor;--highcontrast-asset-file-background-color:currentColor}}
-`;var mr=Object.defineProperty,dr=Object.getOwnPropertyDescriptor,pr=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?dr(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&mr(e,r,c),c};class hr extends m.w{constructor(){super(...arguments),this.label=""}static get styles(){return[ur]}render(){return"file"===this.variant?(e=this.label,t.qy`
+`;var vr=Object.defineProperty,fr=Object.getOwnPropertyDescriptor,kr=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?fr(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&vr(e,r,c),c};class yr extends v.w{constructor(){super(...arguments),this.label=""}static get styles(){return[gr]}render(){return"file"===this.variant?(t=this.label,i.qy`
     <svg
         class="file"
         role="img"
         viewBox="0 0 128 128"
-        aria-label=${e||"File"}
+        aria-label=${t||"File"}
     >
         <path
             class="fileBackground"
@@ -596,12 +596,12 @@ governing permissions and limitations under the License.
             d="M113.1,23.3L92.6,2.9C90.7,1,88.2,0,85.5,0H24c-6.6,0-12,5.4-12,12v104c0,6.6,5.4,12,12,12h80c6.6,0,12-5.4,12-12V30.4C116,27.8,114.9,25.2,113.1,23.3z M90,6l20.1,20H92c-1.1,0-2-0.9-2-2V6z M112,116c0,4.4-3.6,8-8,8H24c-4.4,0-8-3.6-8-8V12c0-4.4,3.6-8,8-8h61.5c0.2,0,0.3,0,0.5,0v20c0,3.3,2.7,6,6,6h20c0,0.1,0,0.3,0,0.4V116z"
         ></path>
     </svg>
-`):"folder"===this.variant?(e=>t.qy`
+`):"folder"===this.variant?(t=>i.qy`
     <svg
         class="folder"
         role="img"
         viewBox="0 0 32 32"
-        aria-label=${e||"Folder"}
+        aria-label=${t||"Folder"}
     >
         <path
             class="folderBackground"
@@ -612,13 +612,13 @@ governing permissions and limitations under the License.
             d="M29,6H18.3c-0.1,0-0.2,0-0.4-0.2l-3.1-3.1C14.4,2.3,13.8,2,13.1,2H3C1.3,2,0,3.3,0,5v22c0,1.6,1.3,3,3,3h26c1.7,0,3-1.4,3-3V9C32,7.3,30.7,6,29,6z M31,27c0,1.1-0.9,2-2,2H3c-1.1,0-2-0.9-2-2V7h28c1.1,0,2,0.9,2,2V27z"
         ></path>
     </svg>
-`)(this.label):t.qy`
+`)(this.label):i.qy`
             <slot></slot>
-        `;var e}}pr([(0,d.MZ)({type:String,reflect:!0})],hr.prototype,"variant",2),pr([(0,d.MZ)()],hr.prototype,"label",2),(0,x.e)("sp-asset",hr);const br=t.AH`
+        `;var t}}kr([(0,f.MZ)({type:String,reflect:!0})],yr.prototype,"variant",2),kr([(0,f.MZ)()],yr.prototype,"label",2),(0,$.e)("sp-asset",yr);const xr=i.AH`
     :host{--spectrum-colorloupe-width:var(--spectrum-color-loupe-width);--spectrum-colorloupe-height:var(--spectrum-color-loupe-height);--spectrum-colorloupe-offset:var(--spectrum-color-loupe-bottom-to-color-handle);--spectrum-colorloupe-animation-distance:8px;--spectrum-colorloupe-drop-shadow-x:var(--spectrum-drop-shadow-x);--spectrum-colorloupe-drop-shadow-y:var(--spectrum-color-loupe-drop-shadow-y);--spectrum-colorloupe-drop-shadow-blur:var(--spectrum-color-loupe-drop-shadow-blur);--spectrum-colorloupe-drop-shadow-color:var(--spectrum-color-loupe-drop-shadow-color);--spectrum-colorloupe-outer-border-width:var(--spectrum-color-loupe-outer-border-width);--spectrum-colorloupe-inner-border-width:var(--spectrum-color-loupe-inner-border-width);--spectrum-colorloupe-outer-border-color:var(--spectrum-color-loupe-outer-border);--spectrum-colorloupe-inner-border-color:var(--spectrum-color-loupe-inner-border);--spectrum-colorloupe-checkerboard-dark-color:var(--spectrum-opacity-checkerboard-square-dark);--spectrum-colorloupe-checkerboard-light-color:var(--spectrum-opacity-checkerboard-square-light);inline-size:var(--spectrum-colorloupe-width);block-size:var(--spectrum-colorloupe-height);transform:translateY(var(--mod-colorloupe-animation-distance,var(--spectrum-colorloupe-animation-distance)));opacity:0;transform-origin:bottom;pointer-events:none;filter:drop-shadow(var(--mod-colorloupe-drop-shadow-x,var(--spectrum-colorloupe-drop-shadow-x))var(--mod-colorloupe-drop-shadow-y,var(--spectrum-colorloupe-drop-shadow-y))var(--mod-colorloupe-drop-shadow-blur,var(--spectrum-colorloupe-drop-shadow-blur))var(--mod-colorloupe-drop-shadow-color,var(--spectrum-colorloupe-drop-shadow-color)));transition:transform .1s ease-in-out,opacity .125s ease-in-out;position:absolute;inset-block-end:calc(var(--spectrum-color-handle-size) - var(--spectrum-color-handle-outer-border-width) + var(--mod-colorloupe-offset,var(--spectrum-colorloupe-offset)));inset-inline-end:calc(50% - var(--spectrum-colorloupe-width)/2)}:host:dir(rtl),:host([dir=rtl]){inset-inline-end:calc(50% - var(--spectrum-colorloupe-width)/2 - 1px)}:host([open]){opacity:1;transform:translate(0)}.spectrum-ColorLoupe-inner-border{fill:var(--spectrum-picked-color);stroke:var(--mod-colorloupe-inner-border-color,var(--spectrum-colorloupe-inner-border-color));stroke-width:var(--mod-colorloupe-inner-border-width,var(--spectrum-colorloupe-inner-border-width))}.spectrum-ColorLoupe-outer-border{fill:none;stroke:var(--highcontrast-colorloupe-outer-border-color,var(--mod-colorloupe-outer-border-color,var(--spectrum-colorloupe-outer-border-color)));stroke-width:calc(var(--mod-colorloupe-outer-border-width,var(--spectrum-colorloupe-outer-border-width)) + 2px)}.spectrum-ColorLoupe-checkerboard-pattern{fill:var(--spectrum-colorloupe-checkerboard-dark-color)}.spectrum-ColorLoupe-checkerboard-background{fill:var(--spectrum-colorloupe-checkerboard-light-color)}.spectrum-ColorLoupe-checkerboard-fill{fill:var(--spectrum-colorloupe-checkerboard-fill)}@media (forced-colors:active){:host{--highcontrast-colorloupe-outer-border-color:CanvasText}}svg{width:inherit;height:inherit}.loupe-clipped{clip-path:path("M23 61.575C19.0044 57.435 15.2591 53.0606 11.784 48.475C8.68949 44.4532 5.96348 40.1608 3.639 35.65C1.224 30.8 0 26.549 0 23C0.00319993 17.6937 1.84059 12.5516 5.20091 8.44488C8.56122 4.33815 13.2378 1.51928 18.4385 0.465803C23.6392 -0.587678 29.0442 0.189006 33.7378 2.66428C38.4314 5.13955 42.125 9.16122 44.193 14.048C45.3915 16.88 46.0061 19.9248 46 23C46 26.551 44.774 30.811 42.355 35.661C40.0274 40.1747 37.298 44.4698 34.2 48.494C30.7297 53.0728 26.9898 57.4409 23 61.575ZZ")}.opacity-checkerboard{block-size:100%;inline-size:100%;position:absolute;top:2px;left:2px}
-`,gr=t.AH`
+`,wr=i.AH`
     .opacity-checkerboard{--spectrum-opacity-checkerboard-dark:var(--spectrum-opacity-checkerboard-square-dark);--spectrum-opacity-checkerboard-light:var(--spectrum-opacity-checkerboard-square-light);--spectrum-opacity-checkerboard-size:var(--spectrum-opacity-checkerboard-square-size);--spectrum-opacity-checkerboard-position:left top;background:repeating-conic-gradient(var(--mod-opacity-checkerboard-light,var(--spectrum-opacity-checkerboard-light))0 25%,var(--mod-opacity-checkerboard-dark,var(--spectrum-opacity-checkerboard-dark))0 50%)var(--mod-opacity-checkerboard-position,var(--spectrum-opacity-checkerboard-position))/calc(var(--mod-opacity-checkerboard-size,var(--spectrum-opacity-checkerboard-size))*2)calc(var(--mod-opacity-checkerboard-size,var(--spectrum-opacity-checkerboard-size))*2)}@media (forced-colors:active){.opacity-checkerboard{forced-color-adjust:none}}
-`;var vr=Object.defineProperty,fr=Object.getOwnPropertyDescriptor,kr=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?fr(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&vr(e,r,c),c};class yr extends m.w{constructor(){super(...arguments),this.open=!1,this.color="rgba(255, 0, 0, 0.5)"}static get styles(){return[gr,br]}render(){return t.qy`
+`;var zr=Object.defineProperty,Cr=Object.getOwnPropertyDescriptor,Ir=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?Cr(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&zr(e,r,c),c};class Sr extends v.w{constructor(){super(...arguments),this.open=!1,this.color="rgba(255, 0, 0, 0.5)"}static get styles(){return[wr,xr]}render(){return i.qy`
             <div class="opacity-checkerboard loupe-clipped"></div>
             <div class="spectrum-ColorLoupe-inner-border loupe-clipped"></div>
             <div class="spectrum-ColorLoupe-outer-border loupe-clipped"></div>
@@ -662,62 +662,62 @@ governing permissions and limitations under the License.
                     </g>
                 </g>
             </svg>
-        `}}kr([(0,d.MZ)({type:Boolean,reflect:!0})],yr.prototype,"open",2),kr([(0,d.MZ)({type:String})],yr.prototype,"color",2),(0,x.e)("sp-color-loupe",yr);const xr=t.AH`
+        `}}Ir([(0,f.MZ)({type:Boolean,reflect:!0})],Sr.prototype,"open",2),Ir([(0,f.MZ)({type:String})],Sr.prototype,"color",2),(0,$.e)("sp-color-loupe",Sr);const $r=i.AH`
     :host{--spectrum-opacity-checkerboard-dark:var(--spectrum-opacity-checkerboard-square-dark);--spectrum-opacity-checkerboard-light:var(--spectrum-opacity-checkerboard-square-light);--spectrum-opacity-checkerboard-size:var(--spectrum-opacity-checkerboard-square-size);--spectrum-opacity-checkerboard-position:left top;background:repeating-conic-gradient(var(--mod-opacity-checkerboard-light,var(--spectrum-opacity-checkerboard-light))0 25%,var(--mod-opacity-checkerboard-dark,var(--spectrum-opacity-checkerboard-dark))0 50%)var(--mod-opacity-checkerboard-position,var(--spectrum-opacity-checkerboard-position))/calc(var(--mod-opacity-checkerboard-size,var(--spectrum-opacity-checkerboard-size))*2)calc(var(--mod-opacity-checkerboard-size,var(--spectrum-opacity-checkerboard-size))*2)}@media (forced-colors:active){:host{forced-color-adjust:none}}
-`,wr=t.AH`
+`,Ar=i.AH`
     :host{--spectrum-colorhandle-size:var(--spectrum-color-handle-size);--spectrum-colorhandle-focused-size:var(--spectrum-color-handle-size-key-focus);--spectrum-colorhandle-hitarea-size:var(--spectrum-color-control-track-width);--spectrum-colorhandle-animation-duration:var(--spectrum-animation-duration-100);--spectrum-colorhandle-animation-easing:ease-in-out;--spectrum-colorhandle-outer-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-outer-border-opacity));--spectrum-colorhandle-outer-border-width:var(--spectrum-color-handle-outer-border-width);--spectrum-colorhandle-inner-border-color:rgba(var(--spectrum-black-rgb),var(--spectrum-color-handle-inner-border-opacity));--spectrum-colorhandle-inner-border-width:var(--spectrum-color-handle-inner-border-width);--spectrum-colorhandle-border-width:var(--spectrum-color-handle-border-width);--spectrum-colorhandle-border-color:var(--spectrum-white);--spectrum-colorhandle-border-color-disabled:var(--spectrum-disabled-content-color);--spectrum-colorhandle-fill-color-disabled:var(--spectrum-disabled-background-color);--mod-opacity-checkerboard-position:50%;z-index:1;box-sizing:border-box;inline-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));block-size:var(--mod-colorhandle-size,var(--spectrum-colorhandle-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))/2*-1);border-width:var(--mod-colorhandle-border-width,var(--spectrum-colorhandle-border-width));border-color:var(--highcontrast-colorhandle-border-color,var(--mod-colorhandle-border-color,var(--spectrum-colorhandle-border-color)));box-shadow:0 0 0 var(--mod-colorhandle-outer-border-width,var(--spectrum-colorhandle-outer-border-width))var(--mod-colorhandle-outer-border-color,var(--spectrum-colorhandle-outer-border-color));transition:all var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing));border-style:solid;border-radius:100%;display:block;position:absolute}:host:after{content:"";inset-inline:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inset-block:calc(50% - var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size))/2);inline-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));block-size:var(--mod-colorhandle-hitarea-size,var(--spectrum-colorhandle-hitarea-size));border-radius:var(--mod-colorhandle-hitarea-border-radius,100%);display:block;position:absolute}:host([focused]),:host(:focus-visible){inline-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));block-size:var(--mod-colorhandle-focused-size,var(--spectrum-colorhandle-focused-size));margin-inline:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);margin-block:calc(var(--mod-colorhandle-size,var(--spectrum-colorhandle-size))*-1);outline:none}:host([disabled]){pointer-events:none;border-color:var(--highcontrast-colorhandle-border-color-disabled,var(--mod-colorhandle-border-color-disabled,var(--spectrum-colorhandle-border-color-disabled)));background:var(--highcontrast-colorhandle-fill-color-disabled,var(--mod-colorhandle-fill-color-disabled,var(--spectrum-colorhandle-fill-color-disabled)));box-shadow:none}:host([disabled]) .inner{display:none}.inner{box-shadow:inset 0 0 0 var(--mod-colorhandle-inner-border-width,var(--spectrum-colorhandle-inner-border-width))var(--mod-colorhandle-inner-border-color,var(--spectrum-colorhandle-inner-border-color));background-color:var(--spectrum-picked-color);border-radius:100%;block-size:100%;inline-size:100%}@media (forced-colors:active){:host{forced-color-adjust:none}:host([disabled]){--highcontrast-colorhandle-border-color-disabled:GrayText;--highcontrast-colorhandle-fill-color-disabled:Canvas}}:host{touch-action:none;transition:inline-size var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)),block-size var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)),border-width var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)),margin-inline var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing)),margin-block var(--mod-colorhandle-animation-duration,var(--spectrum-colorhandle-animation-duration))var(--mod-colorhandle-animation-easing,var(--spectrum-colorhandle-animation-easing))}:host(:focus){outline:none}
-`;var zr=Object.defineProperty,Cr=Object.getOwnPropertyDescriptor,Ir=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?Cr(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&zr(e,r,c),c};class Sr extends m.w{constructor(){super(...arguments),this.disabled=!1,this.focused=!1,this.open=!1,this.color="rgba(255, 0, 0, 0.5)"}static get styles(){return[xr,wr]}handlePointerdown(t){"touch"===t.pointerType&&(this.open=!0),this.setPointerCapture(t.pointerId)}handlePointerup(t){this.open=!1,this.releasePointerCapture(t.pointerId)}render(){return t.qy`
+`;var Er=Object.defineProperty,qr=Object.getOwnPropertyDescriptor,Tr=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?qr(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&Er(e,r,c),c};class jr extends v.w{constructor(){super(...arguments),this.disabled=!1,this.focused=!1,this.open=!1,this.color="rgba(255, 0, 0, 0.5)"}static get styles(){return[$r,Ar]}handlePointerdown(t){"touch"===t.pointerType&&(this.open=!0),this.setPointerCapture(t.pointerId)}handlePointerup(t){this.open=!1,this.releasePointerCapture(t.pointerId)}render(){return i.qy`
             <div class="inner" style="background-color: ${this.color}"></div>
             <sp-color-loupe
                 color=${this.color}
                 ?open=${this.open&&!this.disabled}
             ></sp-color-loupe>
-        `}firstUpdated(t){super.firstUpdated(t),this.addEventListener("pointerdown",this.handlePointerdown),this.addEventListener("pointerup",this.handlePointerup),this.addEventListener("pointercancel",this.handlePointerup)}}Ir([(0,d.MZ)({type:Boolean,reflect:!0})],Sr.prototype,"disabled",2),Ir([(0,d.MZ)({type:Boolean,reflect:!0})],Sr.prototype,"focused",2),Ir([(0,d.MZ)({type:Boolean,reflect:!0})],Sr.prototype,"open",2),Ir([(0,d.MZ)({type:String})],Sr.prototype,"color",2),(0,x.e)("sp-color-handle",Sr);var $r=a(145);const Ar=t.AH`
+        `}firstUpdated(t){super.firstUpdated(t),this.addEventListener("pointerdown",this.handlePointerdown),this.addEventListener("pointerup",this.handlePointerup),this.addEventListener("pointercancel",this.handlePointerup)}}Tr([(0,f.MZ)({type:Boolean,reflect:!0})],jr.prototype,"disabled",2),Tr([(0,f.MZ)({type:Boolean,reflect:!0})],jr.prototype,"focused",2),Tr([(0,f.MZ)({type:Boolean,reflect:!0})],jr.prototype,"open",2),Tr([(0,f.MZ)({type:String})],jr.prototype,"color",2),(0,$.e)("sp-color-handle",jr);var Mr=a(145);const _r=i.AH`
     #button{cursor:pointer;-webkit-user-select:none;user-select:none;font-family:var(--mod-button-font-family,var(--mod-sans-font-family-stack,var(--spectrum-sans-font-family-stack)));line-height:var(--mod-button-line-height,var(--mod-line-height-100,var(--spectrum-line-height-100)));text-transform:none;vertical-align:top;-webkit-appearance:button;transition:background var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,border-color var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,color var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,box-shadow var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;justify-content:center;align-items:center;margin:0;-webkit-text-decoration:none;text-decoration:none;display:inline-flex;position:relative;overflow:visible}#button::-moz-focus-inner{border:0;margin-block:-2px;padding:0}#button:focus{outline:none}:host{--spectrum-picker-font-size:var(--spectrum-font-size-100);--spectrum-picker-font-weight:var(--spectrum-regular-font-weight);--spectrum-picker-placeholder-font-style:var(--spectrum-default-font-style);--spectrum-picker-line-height:var(--spectrum-line-height-100);--spectrum-picker-block-size:var(--spectrum-component-height-100);--spectrum-picker-inline-size:var(--spectrum-field-width);--spectrum-picker-border-radius:var(--spectrum-corner-radius-100);--spectrum-picker-spacing-top-to-text:var(--spectrum-component-top-to-text-100);--spectrum-picker-spacing-bottom-to-text:var(--spectrum-component-bottom-to-text-100);--spectrum-picker-spacing-edge-to-text:var(--spectrum-component-edge-to-text-100);--spectrum-picker-spacing-edge-to-text-quiet:var(--spectrum-field-edge-to-text-quiet);--spectrum-picker-spacing-top-to-text-side-label-quiet:var(--spectrum-component-top-to-text-100);--spectrum-picker-spacing-label-to-picker:var(--spectrum-field-label-to-component);--spectrum-picker-spacing-text-to-icon:var(--spectrum-text-to-visual-100);--spectrum-picker-spacing-text-to-icon-inline-end:var(--spectrum-field-text-to-alert-icon-medium);--spectrum-picker-spacing-icon-to-disclosure-icon:var(--spectrum-picker-visual-to-disclosure-icon-medium);--spectrum-picker-spacing-label-to-picker-quiet:var(--spectrum-field-label-to-component-quiet-medium);--spectrum-picker-spacing-top-to-alert-icon:var(--spectrum-field-top-to-alert-icon-medium);--spectrum-picker-spacing-top-to-progress-circle:var(--spectrum-field-top-to-progress-circle-medium);--spectrum-picker-spacing-top-to-disclosure-icon:var(--spectrum-field-top-to-disclosure-icon-100);--spectrum-picker-spacing-edge-to-disclosure-icon:var(--spectrum-field-end-edge-to-disclosure-icon-100);--spectrum-picker-spacing-edge-to-disclosure-icon-quiet:var(--spectrum-picker-end-edge-to-disclousure-icon-quiet);--spectrum-picker-animation-duration:var(--spectrum-animation-duration-100);--spectrum-picker-font-color-default:var(--spectrum-neutral-content-color-default);--spectrum-picker-font-color-default-open:var(--spectrum-neutral-content-color-focus);--spectrum-picker-font-color-hover:var(--spectrum-neutral-content-color-hover);--spectrum-picker-font-color-hover-open:var(--spectrum-neutral-content-color-focus-hover);--spectrum-picker-font-color-active:var(--spectrum-neutral-content-color-down);--spectrum-picker-font-color-key-focus:var(--spectrum-neutral-content-color-key-focus);--spectrum-picker-icon-color-default:var(--spectrum-neutral-content-color-default);--spectrum-picker-icon-color-default-open:var(--spectrum-neutral-content-color-focus);--spectrum-picker-icon-color-hover:var(--spectrum-neutral-content-color-hover);--spectrum-picker-icon-color-hover-open:var(--spectrum-neutral-content-color-focus-hover);--spectrum-picker-icon-color-active:var(--spectrum-neutral-content-color-down);--spectrum-picker-icon-color-key-focus:var(--spectrum-neutral-content-color-key-focus);--spectrum-picker-border-color-error-default:var(--spectrum-negative-border-color-default);--spectrum-picker-border-color-error-default-open:var(--spectrum-negative-border-color-focus);--spectrum-picker-border-color-error-hover:var(--spectrum-negative-border-color-hover);--spectrum-picker-border-color-error-hover-open:var(--spectrum-negative-border-color-focus-hover);--spectrum-picker-border-color-error-active:var(--spectrum-negative-border-color-down);--spectrum-picker-border-color-error-key-focus:var(--spectrum-negative-border-color-key-focus);--spectrum-picker-icon-color-error:var(--spectrum-negative-visual-color);--spectrum-picker-background-color-disabled:var(--spectrum-disabled-background-color);--spectrum-picker-font-color-disabled:var(--spectrum-disabled-content-color);--spectrum-picker-icon-color-disabled:var(--spectrum-disabled-content-color);--spectrum-picker-focus-indicator-gap:var(--spectrum-focus-indicator-gap);--spectrum-picker-focus-indicator-thickness:var(--spectrum-focus-indicator-thickness);--spectrum-picker-focus-indicator-color:var(--spectrum-focus-indicator-color)}:host([size=s]){--spectrum-picker-font-size:var(--spectrum-font-size-75);--spectrum-picker-block-size:var(--spectrum-component-height-75);--spectrum-picker-spacing-top-to-text-side-label-quiet:var(--spectrum-component-top-to-text-75);--spectrum-picker-spacing-top-to-text:var(--spectrum-component-top-to-text-75);--spectrum-picker-spacing-bottom-to-text:var(--spectrum-component-bottom-to-text-75);--spectrum-picker-spacing-edge-to-text:var(--spectrum-component-edge-to-text-75);--spectrum-picker-spacing-text-to-icon:var(--spectrum-text-to-visual-75);--spectrum-picker-spacing-text-to-icon-inline-end:var(--spectrum-field-text-to-alert-icon-small);--spectrum-picker-spacing-icon-to-disclosure-icon:var(--spectrum-picker-visual-to-disclosure-icon-small);--spectrum-picker-spacing-label-to-picker-quiet:var(--spectrum-field-label-to-component-quiet-small);--spectrum-picker-spacing-top-to-alert-icon:var(--spectrum-field-top-to-alert-icon-small);--spectrum-picker-spacing-top-to-progress-circle:var(--spectrum-field-top-to-progress-circle-small);--spectrum-picker-spacing-top-to-disclosure-icon:var(--spectrum-field-top-to-disclosure-icon-75);--spectrum-picker-spacing-edge-to-disclosure-icon:var(--spectrum-field-end-edge-to-disclosure-icon-75)}:host([size=l]){--spectrum-picker-font-size:var(--spectrum-font-size-200);--spectrum-picker-block-size:var(--spectrum-component-height-200);--spectrum-picker-spacing-top-to-text-side-label-quiet:var(--spectrum-component-top-to-text-200);--spectrum-picker-spacing-top-to-text:var(--spectrum-component-top-to-text-200);--spectrum-picker-spacing-bottom-to-text:var(--spectrum-component-bottom-to-text-200);--spectrum-picker-spacing-edge-to-text:var(--spectrum-component-edge-to-text-200);--spectrum-picker-spacing-text-to-icon:var(--spectrum-text-to-visual-200);--spectrum-picker-spacing-text-to-icon-inline-end:var(--spectrum-field-text-to-alert-icon-large);--spectrum-picker-spacing-icon-to-disclosure-icon:var(--spectrum-picker-visual-to-disclosure-icon-large);--spectrum-picker-spacing-label-to-picker-quiet:var(--spectrum-field-label-to-component-quiet-large);--spectrum-picker-spacing-top-to-alert-icon:var(--spectrum-field-top-to-alert-icon-large);--spectrum-picker-spacing-top-to-progress-circle:var(--spectrum-field-top-to-progress-circle-large);--spectrum-picker-spacing-top-to-disclosure-icon:var(--spectrum-field-top-to-disclosure-icon-200);--spectrum-picker-spacing-edge-to-disclosure-icon:var(--spectrum-field-end-edge-to-disclosure-icon-200)}:host([size=xl]){--spectrum-picker-font-size:var(--spectrum-font-size-300);--spectrum-picker-block-size:var(--spectrum-component-height-300);--spectrum-picker-spacing-top-to-text-side-label-quiet:var(--spectrum-component-top-to-text-300);--spectrum-picker-spacing-top-to-text:var(--spectrum-component-top-to-text-300);--spectrum-picker-spacing-bottom-to-text:var(--spectrum-component-bottom-to-text-300);--spectrum-picker-spacing-edge-to-text:var(--spectrum-component-edge-to-text-300);--spectrum-picker-spacing-text-to-icon:var(--spectrum-text-to-visual-300);--spectrum-picker-spacing-text-to-icon-inline-end:var(--spectrum-field-text-to-alert-icon-extra-large);--spectrum-picker-spacing-icon-to-disclosure-icon:var(--spectrum-picker-visual-to-disclosure-icon-extra-large);--spectrum-picker-spacing-label-to-picker-quiet:var(--spectrum-field-label-to-component-quiet-extra-large);--spectrum-picker-spacing-top-to-alert-icon:var(--spectrum-field-top-to-alert-icon-extra-large);--spectrum-picker-spacing-top-to-progress-circle:var(--spectrum-field-top-to-progress-circle-extra-large);--spectrum-picker-spacing-top-to-disclosure-icon:var(--spectrum-field-top-to-disclosure-icon-300);--spectrum-picker-spacing-edge-to-disclosure-icon:var(--spectrum-field-end-edge-to-disclosure-icon-300)}@media (forced-colors:active){:host{--highcontrast-picker-focus-indicator-color:Highlight;--highcontrast-picker-border-color-default:ButtonBorder;--highcontrast-picker-border-color-hover:Highlight;--highcontrast-picker-border-color-disabled:GrayText;--highcontrast-picker-content-color-default:ButtonText;--highcontrast-picker-content-color-disabled:GrayText;--highcontrast-picker-background-color:ButtonFace}#button.is-keyboardFocused,#button:focus-visible{--highcontrast-picker-border-color-hover:ButtonText}#button .label,#button:after{forced-color-adjust:none}}#button{box-sizing:border-box;min-inline-size:calc(var(--spectrum-picker-minimum-width-multiplier)*var(--mod-picker-block-size,var(--spectrum-picker-block-size)));inline-size:var(--mod-picker-inline-size,var(--spectrum-picker-inline-size));block-size:var(--mod-picker-block-size,var(--spectrum-picker-block-size));border-width:var(--mod-picker-border-width,var(--spectrum-picker-border-width));border-radius:var(--mod-picker-border-radius,var(--spectrum-picker-border-radius));transition:background-color var(--mod-picker-animation-duration,var(--spectrum-picker-animation-duration)),box-shadow var(--mod-picker-animation-duration,var(--spectrum-picker-animation-duration)),border-color var(--mod-picker-animation-duration,var(--spectrum-picker-animation-duration))ease-in-out;color:var(--highcontrast-picker-content-color-default,var(--mod-picker-font-color-default,var(--spectrum-picker-font-color-default)));background-color:var(--highcontrast-picker-background-color,var(--mod-picker-background-color-default,var(--spectrum-picker-background-color-default)));border-style:solid;border-color:var(--highcontrast-picker-border-color-default,var(--mod-picker-border-color-default,var(--spectrum-picker-border-color-default)));max-inline-size:100%;margin-block-start:var(--mod-picker-spacing-label-to-picker,var(--spectrum-picker-spacing-label-to-picker));padding-block:0;padding-inline-start:var(--mod-picker-spacing-edge-to-text,var(--spectrum-picker-spacing-edge-to-text));padding-inline-end:var(--mod-picker-spacing-edge-to-disclosure-icon,var(--spectrum-picker-spacing-edge-to-disclosure-icon));display:flex}#button:after{pointer-events:none;content:"";block-size:calc(100% + var(--mod-picker-focus-indicator-gap,var(--spectrum-picker-focus-indicator-gap))*2 + var(--mod-picker-border-width,var(--spectrum-picker-border-width))*2);inline-size:calc(100% + var(--mod-picker-focus-indicator-gap,var(--spectrum-picker-focus-indicator-gap))*2 + var(--mod-picker-border-width,var(--spectrum-picker-border-width))*2);border-style:solid;border-width:var(--mod-picker-focus-indicator-thickness,var(--spectrum-picker-focus-indicator-thickness));border-radius:calc(var(--mod-picker-border-radius,var(--spectrum-picker-border-radius)) + var(--mod-picker-focus-indicator-gap,var(--spectrum-picker-focus-indicator-gap)) + var(--mod-picker-border-width,var(--spectrum-picker-border-width)));border-color:#0000;margin-block-start:calc(( var(--mod-picker-focus-indicator-gap,var(--spectrum-picker-focus-indicator-gap)) + var(--mod-picker-focus-indicator-thickness,var(--spectrum-picker-focus-indicator-thickness)) + var(--mod-picker-border-width,var(--spectrum-picker-border-width)))*-1);margin-inline-start:calc(( var(--mod-picker-focus-indicator-gap,var(--spectrum-picker-focus-indicator-gap)) + var(--mod-picker-focus-indicator-thickness,var(--spectrum-picker-focus-indicator-thickness)) + var(--mod-picker-border-width,var(--spectrum-picker-border-width)))*-1);position:absolute;inset-block:0;inset-inline:0}#button:active{background-color:var(--highcontrast-picker-background-color,var(--mod-picker-background-color-active,var(--spectrum-picker-background-color-active)));border-color:var(--highcontrast-picker-border-color-default,var(--mod-picker-border-active,var(--spectrum-picker-border-color-active)))}#button:active:after{border-color:#0000}#button.placeholder:active .label{color:var(--highcontrast-picker-content-color-default,var(--mod-picker-font-color-active,var(--spectrum-picker-font-color-active)))}#button.is-keyboardFocused,#button:focus-visible{background-color:var(--highcontrast-picker-background-color,var(--mod-picker-background-color-key-focus,var(--spectrum-picker-background-color-key-focus)));border-color:var(--highcontrast-picker-border-color-default,var(--mod-picker-border-color-key-focus,var(--spectrum-picker-border-color-key-focus)));color:var(--highcontrast-picker-content-color-default,var(--mod-picker-font-color-key-focus,var(--spectrum-picker-font-color-key-focus)));outline:none}#button.is-keyboardFocused:after,#button:focus-visible:after{border-color:var(--highcontrast-picker-focus-indicator-color,var(--mod-picker-focus-indicator-color,var(--spectrum-picker-focus-indicator-color)))}#button.is-keyboardFocused.placeholder,#button.placeholder:focus-visible{color:var(--highcontrast-picker-content-color-default,var(--mod-picker-font-color-key-focus,var(--spectrum-picker-font-color-key-focus)))}#button.is-keyboardFocused .picker,#button:focus-visible .picker{color:var(--highcontrast-picker-content-color-default,var(--mod-picker-icon-color-key-focus,var(--spectrum-picker-icon-color-key-focus)))}:host([invalid]) #button:not(:disabled):not(.is-disabled){border-color:var(--highcontrast-picker-border-color-default,var(--mod-picker-border-color-error-default,var(--spectrum-picker-border-color-error-default)))}:host([invalid]) #button:not(:disabled):not(.is-disabled) .validation-icon{color:var(--highcontrast-picker-content-color-default,var(--mod-picker-icon-color-error,var(--spectrum-picker-icon-color-error)))}:host([invalid]) #button:not(:disabled):not(.is-disabled):active{border-color:var(--highcontrast-picker-border-color-default,var(--mod-picker-border-color-error-active,var(--spectrum-picker-border-color-error-active)))}:host([invalid][open]) #button:not(:disabled):not(.is-disabled){border-color:var(--highcontrast-picker-border-color-default,var(--mod-picker-border-color-error-default-open,var(--spectrum-picker-border-color-error-default-open)))}:host([invalid]) #button.is-keyboardFocused:not(:disabled):not(.is-disabled),:host([invalid]) #button:not(:disabled):not(.is-disabled):focus-visible{border-color:var(--highcontrast-picker-border-color-default,var(--mod-picker-border-color-error-key-focus,var(--spectrum-picker-border-color-error-key-focus)))}:host([pending]) #button .picker{color:var(--highcontrast-picker-content-color-disabled,var(--mod-picker-icon-color-disabled,var(--spectrum-picker-icon-color-disabled)))}:host([invalid]) #button .label,:host([pending]) #button .label{margin-inline-end:var(--mod-picker-spacing-text-to-icon-inline-end,var(--mod-picker-spacing-text-to-alert-icon-inline-start,var(--spectrum-picker-spacing-text-to-icon-inline-end)))}:host([disabled]) #button,#button:disabled{cursor:default;background-color:var(--highcontrast-picker-background-color,var(--mod-picker-background-color-disabled,var(--spectrum-picker-background-color-disabled)));border-color:var(--highcontrast-picker-border-color-disabled,transparent);color:var(--highcontrast-picker-content-color-disabled,var(--mod-picker-font-color-disabled,var(--spectrum-picker-font-color-disabled)))}:host([disabled]) #button .icon,:host([disabled]) #button .picker,:host([disabled]) #button .validation-icon,#button:disabled .icon,#button:disabled .picker,#button:disabled .validation-icon{color:var(--highcontrast-picker-content-color-disabled,var(--mod-picker-icon-color-disabled,var(--spectrum-picker-icon-color-disabled)))}:host([disabled]) #button .label.placeholder,#button:disabled .label.placeholder{color:var(--highcontrast-picker-content-color-disabled,var(--mod-picker-font-color-disabled,var(--spectrum-picker-font-color-disabled)))}.icon{flex-shrink:0;margin-inline-end:var(--mod-picker-spacing-text-to-icon,var(--spectrum-picker-spacing-text-to-icon))}:host([open]:not([quiet])) #button{color:var(--highcontrast-picker-content-color-default,var(--mod-picker-font-color-default-open,var(--spectrum-picker-font-color-default-open)));background-color:var(--highcontrast-picker-background-color,var(--mod-picker-background-color-default-open,var(--spectrum-picker-background-color-default-open)));border-color:var(--highcontrast-picker-border-color-default,var(--mod-picker-border-default-open,var(--spectrum-picker-border-color-default-open)))}:host([open]:not([quiet])) #button .picker{color:var(--highcontrast-picker-content-color-default,var(--mod-picker-icon-color-default-open,var(--spectrum-picker-icon-color-default-open)))}.label{white-space:nowrap;font-size:var(--mod-picker-font-size,var(--spectrum-picker-font-size));line-height:var(--mod-picker-line-height,var(--spectrum-picker-line-height));font-weight:var(--mod-picker-font-weight,var(--spectrum-picker-font-weight));text-overflow:ellipsis;text-align:start;flex:auto;margin-block-start:var(--mod-picker-spacing-top-to-text,var(--spectrum-picker-spacing-top-to-text));margin-block-end:calc(var(--mod-picker-spacing-bottom-to-text,var(--spectrum-picker-spacing-bottom-to-text)) - var(--mod-picker-border-width,var(--spectrum-picker-border-width)));overflow:hidden}.label.placeholder{font-weight:var(--mod-picker-placeholder-font-weight,var(--spectrum-picker-font-weight));font-style:var(--mod-picker-placeholder-font-style,var(--spectrum-picker-placeholder-font-style));transition:color var(--mod-picker-animation-duration,var(--spectrum-picker-animation-duration))ease-in-out;color:var(--highcontrast-picker-content-color-default,var(--mod-picker-font-color-default,var(--spectrum-picker-font-color-default)))}.label.placeholder:active{color:var(--highcontrast-picker-content-color-default,var(--mod-picker-font-color-active,var(--spectrum-picker-font-color-active)))}.picker{vertical-align:top;transition:color var(--mod-picker-animation-duration,var(--spectrum-picker-animation-duration))ease-out;margin-inline-start:var(--mod-picker-spacing-icon-to-disclosure-icon,var(--spectrum-picker-spacing-icon-to-disclosure-icon));margin-block:var(--mod-picker-spacing-top-to-disclosure-icon,var(--spectrum-picker-spacing-top-to-disclosure-icon));color:var(--highcontrast-picker-content-color-default,var(--mod-picker-icon-color-default,var(--spectrum-picker-icon-color-default)));flex-shrink:0;display:inline-block;position:relative}.picker:active{color:var(--highcontrast-picker-content-color-default,var(--mod-picker-icon-color-active,var(--spectrum-picker-icon-color-active)))}.validation-icon{margin-block-start:calc(var(--mod-picker-spacing-top-to-alert-icon,var(--spectrum-picker-spacing-top-to-alert-icon)) - var(--mod-picker-border-width,var(--spectrum-picker-border-width)));margin-block-end:calc(var(--mod-picker-spacing-top-to-alert-icon,var(--spectrum-picker-spacing-top-to-alert-icon)) - var(--mod-picker-border-width,var(--spectrum-picker-border-width)))}#button .progress-circle{margin-block-start:calc(var(--mod-picker-spacing-top-to-progress-circle,var(--spectrum-picker-spacing-top-to-progress-circle)) - var(--mod-picker-border-width,var(--spectrum-picker-border-width)));margin-block-end:calc(var(--mod-picker-spacing-top-to-progress-circle,var(--spectrum-picker-spacing-top-to-progress-circle)) - var(--mod-picker-border-width,var(--spectrum-picker-border-width)))}.label~.picker{margin-inline-start:var(--mod-picker-spacing-text-to-icon,var(--spectrum-picker-spacing-text-to-icon))}:host([quiet]) #button{padding-inline:var(--mod-picker-spacing-edge-to-text-quiet,var(--spectrum-picker-spacing-edge-to-text-quiet));color:var(--highcontrast-picker-content-color-default,var(--mod-picker-font-color-default,var(--spectrum-picker-font-color-default)));background-color:var(--highcontrast-picker-background-color,transparent);border:none;border-radius:0;inline-size:auto;min-inline-size:0;margin-block-start:calc(var(--mod-picker-spacing-label-to-picker-quiet,var(--spectrum-picker-spacing-label-to-picker-quiet)) + 1px)}:host([quiet]) #button.label-inline{margin-block-start:0}:host([quiet]) #button .picker{margin-inline-end:var(--mod-picker-spacing-edge-to-disclosure-icon-quiet,var(--spectrum-picker-spacing-edge-to-disclosure-icon-quiet))}:host([quiet]) #button:after{border:none;block-size:auto;inline-size:auto}@media (hover:hover){#button:hover{color:var(--highcontrast-picker-content-color-default,var(--mod-picker-font-color-hover,var(--spectrum-picker-font-color-hover)));background-color:var(--highcontrast-picker-background-color,var(--mod-picker-background-color-hover,var(--spectrum-picker-background-color-hover)));border-color:var(--highcontrast-picker-border-color-hover,var(--mod-picker-border-color-hover,var(--spectrum-picker-border-color-hover)))}#button:hover .picker{color:var(--highcontrast-picker-content-color-default,var(--mod-picker-icon-color-hover,var(--spectrum-picker-icon-color-hover)))}:host([invalid]) #button:not(:disabled):not(.is-disabled):hover{border-color:var(--highcontrast-picker-border-color-hover,var(--mod-picker-border-color-error-hover,var(--spectrum-picker-border-color-error-hover)))}:host([invalid][open]) #button:not(:disabled):not(.is-disabled):hover{border-color:var(--highcontrast-picker-border-color-hover,var(--mod-picker-border-color-error-hover-open,var(--spectrum-picker-border-color-error-hover-open)))}:host([open]:not([quiet])) #button:hover{color:var(--highcontrast-picker-content-color-default,var(--mod-picker-font-color-hover-open,var(--spectrum-picker-font-color-hover-open)));background-color:var(--highcontrast-picker-background-color,var(--mod-picker-background-color-hover-open,var(--spectrum-picker-background-color-hover-open)));border-color:var(--highcontrast-picker-border-color-hover,var(--mod-picker-border-color-hover-open,var(--spectrum-picker-border-color-hover-open)))}:host([open]:not([quiet])) #button:hover .picker{color:var(--highcontrast-picker-content-color-default,var(--mod-picker-icon-color-hover-open,var(--spectrum-picker-icon-color-hover-open)))}.label.placeholder:hover{color:var(--highcontrast-picker-content-color-default,var(--mod-picker-font-color-hover,var(--spectrum-picker-font-color-hover)))}:host([quiet]) #button:hover{background-color:var(--highcontrast-picker-background-color,transparent)}}:host([quiet]) #button.is-keyboardFocused,:host([quiet]) #button:focus-visible{background-color:var(--highcontrast-picker-background-color,transparent)}:host([quiet]) #button.is-keyboardFocused:after,:host([quiet]) #button:focus-visible:after{box-shadow:0 var(--mod-picker-focus-indicator-thickness,var(--spectrum-picker-focus-indicator-thickness))0 0 var(--highcontrast-picker-focus-indicator-color,var(--mod-picker-focus-indicator-color,var(--spectrum-picker-focus-indicator-color)));margin:calc(( var(--mod-picker-focus-indicator-gap,var(--spectrum-picker-focus-indicator-gap)) + var(--mod-picker-border-width,var(--spectrum-picker-border-width)))*-1)0;border:none;border-radius:0}:host([quiet][disabled]) #button,:host([quiet][open]) #button,:host([quiet]) #button:active,:host([quiet]) #button:disabled{background-color:var(--highcontrast-picker-background-color,transparent)}.label-inline{vertical-align:top;display:inline-flex}:host{--spectrum-picker-background-color-default:var(--system-spectrum-picker-background-color-default);--spectrum-picker-background-color-default-open:var(--system-spectrum-picker-background-color-default-open);--spectrum-picker-background-color-active:var(--system-spectrum-picker-background-color-active);--spectrum-picker-background-color-hover:var(--system-spectrum-picker-background-color-hover);--spectrum-picker-background-color-hover-open:var(--system-spectrum-picker-background-color-hover-open);--spectrum-picker-background-color-key-focus:var(--system-spectrum-picker-background-color-key-focus);--spectrum-picker-border-color-default:var(--system-spectrum-picker-border-color-default);--spectrum-picker-border-color-default-open:var(--system-spectrum-picker-border-color-default-open);--spectrum-picker-border-color-hover:var(--system-spectrum-picker-border-color-hover);--spectrum-picker-border-color-hover-open:var(--system-spectrum-picker-border-color-hover-open);--spectrum-picker-border-color-active:var(--system-spectrum-picker-border-color-active);--spectrum-picker-border-color-key-focus:var(--system-spectrum-picker-border-color-key-focus);--spectrum-picker-border-width:var(--system-spectrum-picker-border-width)}:host{vertical-align:top;inline-size:var(--mod-picker-inline-size,var(--spectrum-picker-inline-size));min-inline-size:calc(var(--spectrum-picker-minimum-width-multiplier)*var(--mod-picker-block-size,var(--spectrum-picker-block-size)));max-inline-size:100%;display:inline-flex}:host([quiet]){width:auto;min-width:0}:host([disabled]){pointer-events:none}#button{width:100%;min-width:100%;max-width:100%}#icon:not([hidden]){display:inline-flex}:host([readonly]) #button{user-select:inherit}.picker,.validation-icon{flex-shrink:0}sp-overlay{pointer-events:none}sp-menu{pointer-events:initial}:host>sp-menu{display:none}:host([focused]:not([quiet])) #button #label.placeholder{color:var(--spectrum-picker-placeholder-text-color-key-focus,var(--spectrum-alias-placeholder-text-color-hover))}#label.visually-hidden~.picker{margin-inline-start:auto}:host([focused]:not([quiet],[pending])) #button .picker{color:var(--spectrum-picker-icon-color-key-focus,var(--spectrum-alias-icon-color-focus))}.visually-hidden{clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:0 -1px -1px 0;padding:0;position:absolute;overflow:hidden}sp-overlay:not(:defined){display:none}
-`,Er=t.AH`
+`,Hr=i.AH`
     :host{--spectrum-menu-item-min-height:var(--spectrum-component-height-100);--spectrum-menu-item-icon-height:var(--spectrum-workflow-icon-size-100);--spectrum-menu-item-icon-width:var(--spectrum-workflow-icon-size-100);--spectrum-menu-item-label-font-size:var(--spectrum-font-size-100);--spectrum-menu-item-label-text-to-visual:var(--spectrum-text-to-visual-100);--spectrum-menu-item-label-inline-edge-to-content:var(--spectrum-component-edge-to-text-100);--spectrum-menu-item-top-edge-to-text:var(--spectrum-component-top-to-text-100);--spectrum-menu-item-bottom-edge-to-text:var(--spectrum-component-bottom-to-text-100);--spectrum-menu-item-text-to-control:var(--spectrum-text-to-control-100);--spectrum-menu-item-description-font-size:var(--spectrum-font-size-75);--spectrum-menu-section-header-font-size:var(--spectrum-font-size-100);--spectrum-menu-section-header-min-width:var(--spectrum-component-height-100);--spectrum-menu-item-selectable-edge-to-text-not-selected:var(--spectrum-menu-item-selectable-edge-to-text-not-selected-medium);--spectrum-menu-item-checkmark-height:var(--spectrum-menu-item-checkmark-height-medium);--spectrum-menu-item-checkmark-width:var(--spectrum-menu-item-checkmark-width-medium);--spectrum-menu-item-top-to-checkmark:var(--spectrum-menu-item-top-to-selected-icon-medium);--spectrum-menu-item-top-to-action:var(--spectrum-spacing-50);--spectrum-menu-item-top-to-checkbox:var(--spectrum-spacing-50);--spectrum-menu-item-label-line-height:var(--spectrum-line-height-100);--spectrum-menu-item-label-line-height-cjk:var(--spectrum-cjk-line-height-100);--spectrum-menu-item-label-to-description-spacing:var(--spectrum-menu-item-label-to-description);--spectrum-menu-item-focus-indicator-width:var(--spectrum-border-width-200);--spectrum-menu-item-focus-indicator-color:var(--spectrum-blue-800);--spectrum-menu-item-label-to-value-area-min-spacing:var(--spectrum-spacing-100);--spectrum-menu-item-label-content-color-default:var(--spectrum-neutral-content-color-default);--spectrum-menu-item-label-content-color-hover:var(--spectrum-neutral-content-color-hover);--spectrum-menu-item-label-content-color-down:var(--spectrum-neutral-content-color-down);--spectrum-menu-item-label-content-color-focus:var(--spectrum-neutral-content-color-key-focus);--spectrum-menu-item-label-icon-color-default:var(--spectrum-neutral-content-color-default);--spectrum-menu-item-label-icon-color-hover:var(--spectrum-neutral-content-color-hover);--spectrum-menu-item-label-icon-color-down:var(--spectrum-neutral-content-color-down);--spectrum-menu-item-label-icon-color-focus:var(--spectrum-neutral-content-color-key-focus);--spectrum-menu-item-label-content-color-disabled:var(--spectrum-disabled-content-color);--spectrum-menu-item-label-icon-color-disabled:var(--spectrum-disabled-content-color);--spectrum-menu-item-description-line-height:var(--spectrum-line-height-100);--spectrum-menu-item-description-line-height-cjk:var(--spectrum-cjk-line-height-100);--spectrum-menu-item-description-color-default:var(--spectrum-neutral-subdued-content-color-default);--spectrum-menu-item-description-color-hover:var(--spectrum-neutral-subdued-content-color-hover);--spectrum-menu-item-description-color-down:var(--spectrum-neutral-subdued-content-color-down);--spectrum-menu-item-description-color-focus:var(--spectrum-neutral-subdued-content-color-key-focus);--spectrum-menu-item-description-color-disabled:var(--spectrum-disabled-content-color);--spectrum-menu-section-header-line-height:var(--spectrum-line-height-100);--spectrum-menu-section-header-line-height-cjk:var(--spectrum-cjk-line-height-100);--spectrum-menu-section-header-font-weight:var(--spectrum-bold-font-weight);--spectrum-menu-section-header-color:var(--spectrum-gray-900);--spectrum-menu-collapsible-icon-color:var(--spectrum-gray-900);--spectrum-menu-checkmark-icon-color-default:var(--spectrum-accent-color-900);--spectrum-menu-checkmark-icon-color-hover:var(--spectrum-accent-color-1000);--spectrum-menu-checkmark-icon-color-down:var(--spectrum-accent-color-1100);--spectrum-menu-checkmark-icon-color-focus:var(--spectrum-accent-color-1000);--spectrum-menu-drillin-icon-color-default:var(--spectrum-neutral-subdued-content-color-default);--spectrum-menu-drillin-icon-color-hover:var(--spectrum-neutral-subdued-content-color-hover);--spectrum-menu-drillin-icon-color-down:var(--spectrum-neutral-subdued-content-color-down);--spectrum-menu-drillin-icon-color-focus:var(--spectrum-neutral-subdued-content-color-key-focus);--spectrum-menu-item-value-color-default:var(--spectrum-neutral-subdued-content-color-default);--spectrum-menu-item-value-color-hover:var(--spectrum-neutral-subdued-content-color-hover);--spectrum-menu-item-value-color-down:var(--spectrum-neutral-subdued-content-color-down);--spectrum-menu-item-value-color-focus:var(--spectrum-neutral-subdued-content-color-key-focus);--spectrum-menu-checkmark-display-hidden:none;--spectrum-menu-checkmark-display-shown:block;--spectrum-menu-checkmark-display:var(--spectrum-menu-checkmark-display-shown);--spectrum-menu-back-icon-margin:var(--spectrum-navigational-indicator-top-to-back-icon-medium);--spectrum-menu-item-collapsible-has-icon-submenu-item-padding-x-start:calc(var(--spectrum-menu-item-label-inline-edge-to-content) + var(--spectrum-menu-item-checkmark-width) + var(--spectrum-menu-item-text-to-control) + var(--spectrum-menu-item-icon-width) + var(--spectrum-menu-item-label-text-to-visual) + var(--spectrum-menu-item-focus-indicator-width));--spectrum-menu-item-collapsible-no-icon-submenu-item-padding-x-start:calc(var(--spectrum-menu-item-label-inline-edge-to-content) + var(--spectrum-menu-item-checkmark-width) + var(--spectrum-menu-item-label-text-to-visual) + var(--spectrum-menu-item-focus-indicator-width))}:host([size=s]){--spectrum-menu-item-min-height:var(--spectrum-component-height-75);--spectrum-menu-item-icon-height:var(--spectrum-workflow-icon-size-75);--spectrum-menu-item-icon-width:var(--spectrum-workflow-icon-size-75);--spectrum-menu-item-label-font-size:var(--spectrum-font-size-75);--spectrum-menu-item-label-text-to-visual:var(--spectrum-text-to-visual-75);--spectrum-menu-item-label-inline-edge-to-content:var(--spectrum-component-edge-to-text-75);--spectrum-menu-item-top-edge-to-text:var(--spectrum-component-top-to-text-75);--spectrum-menu-item-bottom-edge-to-text:var(--spectrum-component-bottom-to-text-75);--spectrum-menu-item-text-to-control:var(--spectrum-text-to-control-75);--spectrum-menu-item-description-font-size:var(--spectrum-font-size-50);--spectrum-menu-section-header-font-size:var(--spectrum-font-size-75);--spectrum-menu-section-header-min-width:var(--spectrum-component-height-75);--spectrum-menu-item-selectable-edge-to-text-not-selected:var(--spectrum-menu-item-selectable-edge-to-text-not-selected-small);--spectrum-menu-item-checkmark-height:var(--spectrum-menu-item-checkmark-height-small);--spectrum-menu-item-checkmark-width:var(--spectrum-menu-item-checkmark-width-small);--spectrum-menu-item-top-to-checkmark:var(--spectrum-menu-item-top-to-selected-icon-small);--spectrum-menu-back-icon-margin:var(--spectrum-navigational-indicator-top-to-back-icon-small)}:host([size=l]){--spectrum-menu-item-min-height:var(--spectrum-component-height-200);--spectrum-menu-item-icon-height:var(--spectrum-workflow-icon-size-200);--spectrum-menu-item-icon-width:var(--spectrum-workflow-icon-size-200);--spectrum-menu-item-label-font-size:var(--spectrum-font-size-200);--spectrum-menu-item-label-text-to-visual:var(--spectrum-text-to-visual-200);--spectrum-menu-item-label-inline-edge-to-content:var(--spectrum-component-edge-to-text-200);--spectrum-menu-item-top-edge-to-text:var(--spectrum-component-top-to-text-200);--spectrum-menu-item-bottom-edge-to-text:var(--spectrum-component-bottom-to-text-200);--spectrum-menu-item-text-to-control:var(--spectrum-text-to-control-200);--spectrum-menu-item-description-font-size:var(--spectrum-font-size-100);--spectrum-menu-section-header-font-size:var(--spectrum-font-size-200);--spectrum-menu-section-header-min-width:var(--spectrum-component-height-200);--spectrum-menu-item-selectable-edge-to-text-not-selected:var(--spectrum-menu-item-selectable-edge-to-text-not-selected-large);--spectrum-menu-item-checkmark-height:var(--spectrum-menu-item-checkmark-height-large);--spectrum-menu-item-checkmark-width:var(--spectrum-menu-item-checkmark-width-large);--spectrum-menu-item-top-to-checkmark:var(--spectrum-menu-item-top-to-selected-icon-large);--spectrum-menu-back-icon-margin:var(--spectrum-navigational-indicator-top-to-back-icon-large)}:host([size=xl]){--spectrum-menu-item-min-height:var(--spectrum-component-height-300);--spectrum-menu-item-icon-height:var(--spectrum-workflow-icon-size-300);--spectrum-menu-item-icon-width:var(--spectrum-workflow-icon-size-300);--spectrum-menu-item-label-font-size:var(--spectrum-font-size-300);--spectrum-menu-item-label-text-to-visual:var(--spectrum-text-to-visual-300);--spectrum-menu-item-label-inline-edge-to-content:var(--spectrum-component-edge-to-text-300);--spectrum-menu-item-top-edge-to-text:var(--spectrum-component-top-to-text-300);--spectrum-menu-item-bottom-edge-to-text:var(--spectrum-component-bottom-to-text-300);--spectrum-menu-item-text-to-control:var(--spectrum-text-to-control-300);--spectrum-menu-item-description-font-size:var(--spectrum-font-size-200);--spectrum-menu-section-header-font-size:var(--spectrum-font-size-300);--spectrum-menu-section-header-min-width:var(--spectrum-component-height-300);--spectrum-menu-item-selectable-edge-to-text-not-selected:var(--spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large);--spectrum-menu-item-checkmark-height:var(--spectrum-menu-item-checkmark-height-extra-large);--spectrum-menu-item-checkmark-width:var(--spectrum-menu-item-checkmark-width-extra-large);--spectrum-menu-item-top-to-checkmark:var(--spectrum-menu-item-top-to-selected-icon-extra-large);--spectrum-menu-back-icon-margin:var(--spectrum-navigational-indicator-top-to-back-icon-extra-large)}@media (forced-colors:active){:host{--highcontrast-menu-item-background-color-default:ButtonFace;--highcontrast-menu-item-color-default:ButtonText;--highcontrast-menu-item-background-color-focus:Highlight;--highcontrast-menu-item-color-focus:HighlightText;--highcontrast-menu-checkmark-icon-color-default:Highlight;--highcontrast-menu-item-color-disabled:GrayText;--highcontrast-menu-item-focus-indicator-color:Highlight;--highcontrast-menu-item-selected-background-color:Highlight;--highcontrast-menu-item-selected-color:HighlightText}@supports (color:SelectedItem){:host{--highcontrast-menu-item-selected-background-color:SelectedItem;--highcontrast-menu-item-selected-color:SelectedItemText}}}:host{inline-size:var(--mod-menu-inline-size,auto);box-sizing:border-box;margin:0;padding:0;list-style-type:none;display:inline-block;overflow:auto}:host:lang(ja),:host:lang(ko),:host:lang(zh){--spectrum-menu-item-label-line-height:var(--mod-menu-item-label-line-height-cjk,var(--spectrum-menu-item-label-line-height-cjk));--spectrum-menu-item-description-line-height:var(--mod-menu-item-description-line-height-cjk,var(--spectrum-menu-item-description-line-height-cjk));--spectrum-menu-section-header-line-height:var(--mod-menu-section-header-line-height-cjk,var(--spectrum-menu-section-header-line-height-cjk))}:host([selects]) ::slotted(sp-menu-item){--spectrum-menu-checkmark-display:var(--spectrum-menu-checkmark-display-hidden);padding-inline-start:var(--mod-menu-item-selectable-edge-to-text-not-selected,var(--spectrum-menu-item-selectable-edge-to-text-not-selected))}:host([selects]) ::slotted(sp-menu-item[selected]){--spectrum-menu-checkmark-display:var(--spectrum-menu-checkmark-display-shown);padding-inline-start:var(--mod-menu-item-label-inline-edge-to-content,var(--spectrum-menu-item-label-inline-edge-to-content))}.spectrum-Menu-back:focus-visible{box-shadow:inset calc(var(--mod-menu-item-focus-indicator-width,var(--spectrum-menu-item-focus-indicator-width))*var(--spectrum-menu-item-focus-indicator-direction-scalar,1))0 0 0 var(--highcontrast-menu-item-focus-indicator-color,var(--mod-menu-item-focus-indicator-color,var(--spectrum-menu-item-focus-indicator-color)))}.spectrum-Menu-sectionHeading{color:var(--highcontrast-menu-item-color-default,var(--mod-menu-section-header-color,var(--spectrum-menu-section-header-color)));font-size:var(--mod-menu-section-header-font-size,var(--spectrum-menu-section-header-font-size));font-weight:var(--mod-menu-section-header-font-weight,var(--spectrum-menu-section-header-font-weight));line-height:var(--mod-menu-section-header-line-height,var(--spectrum-menu-section-header-line-height));min-inline-size:var(--mod-menu-section-header-min-width,var(--spectrum-menu-section-header-min-width));padding-block-start:var(--mod-menu-section-header-top-edge-to-text,var(--mod-menu-item-top-edge-to-text,var(--spectrum-menu-item-top-edge-to-text)));padding-block-end:var(--mod-menu-section-header-bottom-edge-to-text,var(--mod-menu-item-bottom-edge-to-text,var(--spectrum-menu-item-bottom-edge-to-text)));padding-inline:var(--mod-menu-item-label-inline-edge-to-content,var(--spectrum-menu-item-label-inline-edge-to-content));grid-area:c/1/c/-1;display:block}.spectrum-Menu-back{padding-inline:var(--mod-menu-back-padding-inline-start,0)var(--mod-menu-back-padding-inline-end,var(--spectrum-menu-item-label-inline-edge-to-content));padding-block:var(--mod-menu-back-padding-block-start,0)var(--mod-menu-back-padding-block-end,0);flex-flow:wrap;align-items:center;display:flex}.spectrum-Menu-back .spectrum-Menu-sectionHeading{padding:0}.spectrum-Menu-backButton{cursor:pointer;background:0 0;border:0;margin:0;padding:0;display:inline-flex}.spectrum-Menu-backButton:focus-visible{outline:var(--spectrum-focus-indicator-thickness)solid var(--spectrum-focus-indicator-color);outline-offset:calc((var(--spectrum-focus-indicator-thickness) + 1px)*-1)}.spectrum-Menu-backHeading{color:var(--highcontrast-menu-item-color-default,var(--mod-menu-back-heading-color,var(--spectrum-menu-section-header-color)));font-size:var(--mod-menu-section-header-font-size,var(--spectrum-menu-section-header-font-size));font-weight:var(--mod-menu-section-header-font-weight,var(--spectrum-menu-section-header-font-weight));line-height:var(--mod-menu-section-header-line-height,var(--spectrum-menu-section-header-line-height));display:block}.spectrum-Menu-backIcon{margin-block:var(--mod-menu-back-icon-margin-block,var(--spectrum-menu-back-icon-margin));margin-inline:var(--mod-menu-back-icon-margin-inline,var(--spectrum-menu-back-icon-margin));fill:var(--highcontrast-menu-item-color-default,var(--mod-menu-back-icon-color-default));color:var(--highcontrast-menu-item-color-default,var(--mod-menu-back-icon-color-default))}:host{width:var(--swc-menu-width);flex-direction:column;display:inline-flex}:host(:focus){outline:none}::slotted(*){flex-shrink:0}
-`;var qr=Object.defineProperty,Tr=Object.getOwnPropertyDescriptor,jr=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?Tr(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&qr(e,r,c),c};class Mr extends((0,w.Z)(m.w,{noDefaultSize:!0})){constructor(){super(),this.label="",this.ignore=!1,this.value="",this.valueSeparator=",",this._selected=[],this.selectedItems=[],this.childItemSet=new Set,this.focusedItemIndex=0,this.focusInItemIndex=0,this.selectedItemsMap=new Map,this.willSynthesizeClick=0,this.descendentOverlays=new Map,this.handleSubmenuClosed=t=>{t.stopPropagation(),t.composedPath()[0].dispatchEvent(new Event("sp-menu-submenu-closed",{bubbles:!0,composed:!0}))},this.handleSubmenuOpened=t=>{t.stopPropagation(),t.composedPath()[0].dispatchEvent(new Event("sp-menu-submenu-opened",{bubbles:!0,composed:!0}));const e=this.childItems[this.focusedItemIndex];e&&(e.focused=!1);const r=t.composedPath().find((t=>this.childItemSet.has(t)));if(!r)return;const o=this.childItems.indexOf(r);this.focusedItemIndex=o,this.focusInItemIndex=o},this._hasUpdatedSelectedItemIndex=!1,this._willUpdateItems=!1,this.cacheUpdated=Promise.resolve(),this.resolveCacheUpdated=()=>{},this.addEventListener("sp-menu-item-added-or-updated",this.onSelectableItemAddedOrUpdated),this.addEventListener("sp-menu-item-added-or-updated",this.onFocusableItemAddedOrUpdated,{capture:!0}),this.addEventListener("click",this.handleClick),this.addEventListener("pointerup",this.handlePointerup),this.addEventListener("focusin",this.handleFocusin),this.addEventListener("blur",this.handleBlur),this.addEventListener("sp-opened",this.handleSubmenuOpened),this.addEventListener("sp-closed",this.handleSubmenuClosed)}static get styles(){return[Er]}get isSubmenu(){return"submenu"===this.slot}get selected(){return this._selected}set selected(t){if(t===this.selected)return;const e=this.selected;this._selected=t,this.selectedItems=[],this.selectedItemsMap.clear(),this.childItems.forEach((t=>{this===t.menuData.selectionRoot&&(t.selected=this.selected.includes(t.value),t.selected&&(this.selectedItems.push(t),this.selectedItemsMap.set(t,!0)))})),this.requestUpdate("selected",e)}get childItems(){return this.cachedChildItems||(this.cachedChildItems=this.updateCachedMenuItems()),this.cachedChildItems}updateCachedMenuItems(){if(this.cachedChildItems=[],!this.menuSlot)return[];const t=this.menuSlot.assignedElements({flatten:!0});for(const[e,r]of t.entries()){if(this.childItemSet.has(r)){this.cachedChildItems.push(r);continue}const o="slot"===r.localName?r.assignedElements({flatten:!0}):[...r.querySelectorAll(":scope > *")];t.splice(e,1,r,...o)}return this.cachedChildItems}get childRole(){if("listbox"===this.resolvedRole)return"option";switch(this.resolvedSelects){case"single":return"menuitemradio";case"multiple":return"menuitemcheckbox";default:return"menuitem"}}get ownRole(){return"menu"}onFocusableItemAddedOrUpdated(t){t.menuCascade.set(this,{hadFocusRoot:!!t.item.menuData.focusRoot,ancestorWithSelects:t.currentAncestorWithSelects}),this.selects&&(t.currentAncestorWithSelects=this),t.item.menuData.focusRoot=t.item.menuData.focusRoot||this}onSelectableItemAddedOrUpdated(t){var e,r;const o=t.menuCascade.get(this);if(!o)return;if(t.item.menuData.parentMenu=t.item.menuData.parentMenu||this,o.hadFocusRoot&&!this.ignore&&(this.tabIndex=-1),this.addChildItem(t.item),"inherit"===this.selects){this.resolvedSelects="inherit";const o=null==(e=t.currentAncestorWithSelects)?void 0:e.ignore;this.resolvedRole=o?"none":(null==(r=t.currentAncestorWithSelects)?void 0:r.getAttribute("role"))||this.getAttribute("role")||void 0}else this.selects?(this.resolvedRole=this.ignore?"none":this.getAttribute("role")||void 0,this.resolvedSelects=this.selects):(this.resolvedRole=this.ignore?"none":this.getAttribute("role")||void 0,this.resolvedSelects="none"===this.resolvedRole?"ignore":"none");const s="single"===this.resolvedSelects||"multiple"===this.resolvedSelects;t.item.menuData.cleanupSteps.push((t=>this.removeChildItem(t))),(s||!this.selects&&"ignore"!==this.resolvedSelects)&&!t.item.menuData.selectionRoot&&(t.item.setRole(this.childRole),t.item.menuData.selectionRoot=t.item.menuData.selectionRoot||this,t.item.selected&&(this.selectedItemsMap.set(t.item,!0),this.selectedItems=[...this.selectedItems,t.item],this._selected=[...this.selected,t.item.value],this.value=this.selected.join(this.valueSeparator)))}addChildItem(t){this.childItemSet.add(t),this.handleItemsChanged()}async removeChildItem(t){this.childItemSet.delete(t),this.cachedChildItems=void 0,t.focused&&(this.handleItemsChanged(),await this.updateComplete,this.focus())}focus({preventScroll:t}={}){if(!this.childItems.length||this.childItems.every((t=>t.disabled)))return;if(this.childItems.some((t=>t.menuData.focusRoot!==this)))return void super.focus({preventScroll:t});this.focusMenuItemByOffset(0),super.focus({preventScroll:t});const e=this.selectedItems[0];e&&!t&&e.scrollIntoView({block:"nearest"})}handleClick(t){if(this.willSynthesizeClick)return cancelAnimationFrame(this.willSynthesizeClick),void(this.willSynthesizeClick=0);this.handlePointerBasedSelection(t)}handlePointerup(t){this.willSynthesizeClick=requestAnimationFrame((()=>{var e;null==(e=t.target)||e.dispatchEvent(new Event("click")),this.willSynthesizeClick=0})),this.handlePointerBasedSelection(t)}handlePointerBasedSelection(t){const e=t.composedPath().find((t=>t instanceof Element&&t.getAttribute("role")===this.childRole));if(t.defaultPrevented){const t=this.childItems.indexOf(e);(null==e?void 0:e.menuData.focusRoot)===this&&t>-1&&(this.focusedItemIndex=t)}else null!=e&&e.href&&e.href.length?this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})):(null==e?void 0:e.menuData.selectionRoot)===this&&this.childItems.length&&(t.preventDefault(),e.hasSubmenu||e.open||(this.selectOrToggleItem(e),this.prepareToCleanUp()))}handleFocusin(t){var e;if(this.childItems.some((t=>t.menuData.focusRoot!==this)))return;const r=this.getRootNode().activeElement,o=(null==(e=this.childItems[this.focusedItemIndex])?void 0:e.menuData.selectionRoot)||this;if((r!==o||t.target!==this)&&(o.focus({preventScroll:!0}),r&&0===this.focusedItemIndex)){const t=this.childItems.findIndex((t=>t===r));this.focusMenuItemByOffset(Math.max(t,0))}this.startListeningToKeyboard()}startListeningToKeyboard(){this.addEventListener("keydown",this.handleKeydown)}handleBlur(t){(function(t,e){return!!e&&(t===e||t.contains(e))})(this,t.relatedTarget)||(this.stopListeningToKeyboard(),this.childItems.forEach((t=>t.focused=!1)),this.removeAttribute("aria-activedescendant"))}stopListeningToKeyboard(){this.removeEventListener("keydown",this.handleKeydown)}handleDescendentOverlayOpened(t){const e=t.composedPath()[0];e.overlayElement&&this.descendentOverlays.set(e.overlayElement,e.overlayElement)}handleDescendentOverlayClosed(t){const e=t.composedPath()[0];e.overlayElement&&this.descendentOverlays.delete(e.overlayElement)}async selectOrToggleItem(t){const e=this.resolvedSelects,r=new Map(this.selectedItemsMap),o=this.selected.slice(),s=this.selectedItems.slice(),c=this.value,a=this.childItems[this.focusedItemIndex];if(a&&(a.focused=!1,a.active=!1),this.focusedItemIndex=this.childItems.indexOf(t),this.forwardFocusVisibleToItem(t),"multiple"===e){this.selectedItemsMap.has(t)?this.selectedItemsMap.delete(t):this.selectedItemsMap.set(t,!0);const e=[],r=[];this.childItemSet.forEach((t=>{t.menuData.selectionRoot===this&&this.selectedItemsMap.has(t)&&(e.push(t.value),r.push(t))})),this._selected=e,this.selectedItems=r,this.value=this.selected.join(this.valueSeparator)}else this.selectedItemsMap.clear(),this.selectedItemsMap.set(t,!0),this.value=t.value,this._selected=[t.value],this.selectedItems=[t];if(!this.dispatchEvent(new Event("change",{cancelable:!0,bubbles:!0,composed:!0})))return this._selected=o,this.selectedItems=s,this.selectedItemsMap=r,void(this.value=c);if("single"===e){for(const e of r.keys())e!==t&&(e.selected=!1);t.selected=!0}else"multiple"===e&&(t.selected=!t.selected)}navigateWithinMenu(t){const{code:e}=t,r=this.childItems[this.focusedItemIndex],o="ArrowDown"===e?1:-1,s=this.focusMenuItemByOffset(o);s!==r&&(t.preventDefault(),t.stopPropagation(),s.scrollIntoView({block:"nearest"}))}navigateBetweenRelatedMenus(t){const{code:e}=t,r=this.isLTR&&"ArrowRight"===e||!this.isLTR&&"ArrowLeft"===e,o=this.isLTR&&"ArrowLeft"===e||!this.isLTR&&"ArrowRight"===e;if(r){t.stopPropagation();const e=this.childItems[this.focusedItemIndex];null!=e&&e.hasSubmenu&&e.openOverlay()}else o&&this.isSubmenu&&(t.stopPropagation(),this.dispatchEvent(new Event("close",{bubbles:!0})),this.updateSelectedItemIndex())}handleKeydown(t){if(t.defaultPrevented)return;const e=this.childItems[this.focusedItemIndex];e&&(e.focused=!0);const{code:r}=t;if(t.shiftKey&&t.target!==this&&this.hasAttribute("tabindex")){this.removeAttribute("tabindex");const t=e=>{!e.shiftKey&&!this.hasAttribute("tabindex")&&(this.tabIndex=0,document.removeEventListener("keyup",t),this.removeEventListener("focusout",t))};document.addEventListener("keyup",t),this.addEventListener("focusout",t)}if("Tab"!==r)if("Space"===r&&null!=e&&e.hasSubmenu)e.openOverlay();else if("Space"!==r&&"Enter"!==r)if("ArrowDown"!==r&&"ArrowUp"!==r)this.navigateBetweenRelatedMenus(t);else{const e=this.childItems[this.focusedItemIndex];e&&e.menuData.selectionRoot===t.target&&this.navigateWithinMenu(t)}else{const e=this.childItems[this.focusedItemIndex];e&&e.menuData.selectionRoot===t.target&&(t.preventDefault(),e.click())}else this.prepareToCleanUp()}focusMenuItemByOffset(t){const e=t||1,r=this.childItems[this.focusedItemIndex];r&&(r.focused=!1,r.active=r.open),this.focusedItemIndex=(this.childItems.length+this.focusedItemIndex+t)%this.childItems.length;let o=this.childItems[this.focusedItemIndex],s=this.childItems.length;for(;null!=o&&o.disabled&&s;)s-=1,this.focusedItemIndex=(this.childItems.length+this.focusedItemIndex+e)%this.childItems.length,o=this.childItems[this.focusedItemIndex];return null!=o&&o.disabled||this.forwardFocusVisibleToItem(o),o}prepareToCleanUp(){document.addEventListener("focusout",(()=>{requestAnimationFrame((()=>{const t=this.childItems[this.focusedItemIndex];t&&(t.focused=!1,this.updateSelectedItemIndex())}))}),{once:!0})}updateSelectedItemIndex(){let t=0;const e=new Map,r=[],o=[];let s=this.childItems.length;for(;s;){s-=1;const c=this.childItems[s];c.menuData.selectionRoot===this&&((c.selected||!this._hasUpdatedSelectedItemIndex&&this.selected.includes(c.value))&&(t=s,e.set(c,!0),r.unshift(c.value),o.unshift(c)),s!==t&&(c.focused=!1))}o.map(((t,e)=>{e>0&&(t.focused=!1)})),this.selectedItemsMap=e,this._selected=r,this.selectedItems=o,this.value=this.selected.join(this.valueSeparator),this.focusedItemIndex=t,this.focusInItemIndex=t}handleItemsChanged(){this.cachedChildItems=void 0,this._willUpdateItems||(this._willUpdateItems=!0,this.cacheUpdated=this.updateCache())}async updateCache(){this.hasUpdated?await new Promise((t=>requestAnimationFrame((()=>t(!0))))):await Promise.all([new Promise((t=>requestAnimationFrame((()=>t(!0))))),this.updateComplete]),void 0===this.cachedChildItems&&(this.updateSelectedItemIndex(),this.updateItemFocus()),this._willUpdateItems=!1}updateItemFocus(){if(0==this.childItems.length)return;const t=this.childItems[this.focusInItemIndex];this.getRootNode().activeElement===t.menuData.focusRoot&&this.forwardFocusVisibleToItem(t)}closeDescendentOverlays(){this.descendentOverlays.forEach((t=>{t.open=!1})),this.descendentOverlays=new Map}forwardFocusVisibleToItem(t){if(!t||t.menuData.focusRoot!==this)return;this.closeDescendentOverlays();const e=this.hasVisibleFocusInTree()||!!this.childItems.find((t=>t.hasVisibleFocusInTree()));t.focused=e,this.setAttribute("aria-activedescendant",t.id),t.menuData.selectionRoot&&t.menuData.selectionRoot!==this&&t.menuData.selectionRoot.focus()}handleSlotchange({target:t}){const e=t.assignedElements({flatten:!0});this.childItems.length!==e.length&&e.forEach((t=>{void 0!==t.triggerUpdate?t.triggerUpdate():void 0!==t.childItems&&t.childItems.forEach((t=>{t.triggerUpdate()}))}))}renderMenuItemSlot(){return t.qy`
+`;var Pr=Object.defineProperty,Dr=Object.getOwnPropertyDescriptor,Lr=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?Dr(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&Pr(e,r,c),c};class Or extends((0,A.Z)(v.w,{noDefaultSize:!0})){constructor(){super(),this.label="",this.ignore=!1,this.value="",this.valueSeparator=",",this._selected=[],this.selectedItems=[],this.childItemSet=new Set,this.focusedItemIndex=0,this.focusInItemIndex=0,this.selectedItemsMap=new Map,this.willSynthesizeClick=0,this.descendentOverlays=new Map,this.handleSubmenuClosed=t=>{t.stopPropagation(),t.composedPath()[0].dispatchEvent(new Event("sp-menu-submenu-closed",{bubbles:!0,composed:!0}))},this.handleSubmenuOpened=t=>{t.stopPropagation(),t.composedPath()[0].dispatchEvent(new Event("sp-menu-submenu-opened",{bubbles:!0,composed:!0}));const e=this.childItems[this.focusedItemIndex];e&&(e.focused=!1);const r=t.composedPath().find((t=>this.childItemSet.has(t)));if(!r)return;const o=this.childItems.indexOf(r);this.focusedItemIndex=o,this.focusInItemIndex=o},this._hasUpdatedSelectedItemIndex=!1,this._willUpdateItems=!1,this.cacheUpdated=Promise.resolve(),this.resolveCacheUpdated=()=>{},this.addEventListener("sp-menu-item-added-or-updated",this.onSelectableItemAddedOrUpdated),this.addEventListener("sp-menu-item-added-or-updated",this.onFocusableItemAddedOrUpdated,{capture:!0}),this.addEventListener("click",this.handleClick),this.addEventListener("pointerup",this.handlePointerup),this.addEventListener("focusin",this.handleFocusin),this.addEventListener("blur",this.handleBlur),this.addEventListener("sp-opened",this.handleSubmenuOpened),this.addEventListener("sp-closed",this.handleSubmenuClosed)}static get styles(){return[Hr]}get isSubmenu(){return"submenu"===this.slot}get selected(){return this._selected}set selected(t){if(t===this.selected)return;const e=this.selected;this._selected=t,this.selectedItems=[],this.selectedItemsMap.clear(),this.childItems.forEach((t=>{this===t.menuData.selectionRoot&&(t.selected=this.selected.includes(t.value),t.selected&&(this.selectedItems.push(t),this.selectedItemsMap.set(t,!0)))})),this.requestUpdate("selected",e)}get childItems(){return this.cachedChildItems||(this.cachedChildItems=this.updateCachedMenuItems()),this.cachedChildItems}updateCachedMenuItems(){if(this.cachedChildItems=[],!this.menuSlot)return[];const t=this.menuSlot.assignedElements({flatten:!0});for(const[e,r]of t.entries()){if(this.childItemSet.has(r)){this.cachedChildItems.push(r);continue}const o="slot"===r.localName?r.assignedElements({flatten:!0}):[...r.querySelectorAll(":scope > *")];t.splice(e,1,r,...o)}return this.cachedChildItems}get childRole(){if("listbox"===this.resolvedRole)return"option";switch(this.resolvedSelects){case"single":return"menuitemradio";case"multiple":return"menuitemcheckbox";default:return"menuitem"}}get ownRole(){return"menu"}onFocusableItemAddedOrUpdated(t){t.menuCascade.set(this,{hadFocusRoot:!!t.item.menuData.focusRoot,ancestorWithSelects:t.currentAncestorWithSelects}),this.selects&&(t.currentAncestorWithSelects=this),t.item.menuData.focusRoot=t.item.menuData.focusRoot||this}onSelectableItemAddedOrUpdated(t){var e,r;const o=t.menuCascade.get(this);if(!o)return;if(t.item.menuData.parentMenu=t.item.menuData.parentMenu||this,o.hadFocusRoot&&!this.ignore&&(this.tabIndex=-1),this.addChildItem(t.item),"inherit"===this.selects){this.resolvedSelects="inherit";const o=null==(e=t.currentAncestorWithSelects)?void 0:e.ignore;this.resolvedRole=o?"none":(null==(r=t.currentAncestorWithSelects)?void 0:r.getAttribute("role"))||this.getAttribute("role")||void 0}else this.selects?(this.resolvedRole=this.ignore?"none":this.getAttribute("role")||void 0,this.resolvedSelects=this.selects):(this.resolvedRole=this.ignore?"none":this.getAttribute("role")||void 0,this.resolvedSelects="none"===this.resolvedRole?"ignore":"none");const s="single"===this.resolvedSelects||"multiple"===this.resolvedSelects;t.item.menuData.cleanupSteps.push((t=>this.removeChildItem(t))),(s||!this.selects&&"ignore"!==this.resolvedSelects)&&!t.item.menuData.selectionRoot&&(t.item.setRole(this.childRole),t.item.menuData.selectionRoot=t.item.menuData.selectionRoot||this,t.item.selected&&(this.selectedItemsMap.set(t.item,!0),this.selectedItems=[...this.selectedItems,t.item],this._selected=[...this.selected,t.item.value],this.value=this.selected.join(this.valueSeparator)))}addChildItem(t){this.childItemSet.add(t),this.handleItemsChanged()}async removeChildItem(t){this.childItemSet.delete(t),this.cachedChildItems=void 0,t.focused&&(this.handleItemsChanged(),await this.updateComplete,this.focus())}focus({preventScroll:t}={}){if(!this.childItems.length||this.childItems.every((t=>t.disabled)))return;if(this.childItems.some((t=>t.menuData.focusRoot!==this)))return void super.focus({preventScroll:t});this.focusMenuItemByOffset(0),super.focus({preventScroll:t});const e=this.selectedItems[0];e&&!t&&e.scrollIntoView({block:"nearest"})}handleClick(t){if(this.willSynthesizeClick)return cancelAnimationFrame(this.willSynthesizeClick),void(this.willSynthesizeClick=0);this.handlePointerBasedSelection(t)}handlePointerup(t){this.willSynthesizeClick=requestAnimationFrame((()=>{var e;null==(e=t.target)||e.dispatchEvent(new Event("click")),this.willSynthesizeClick=0})),this.handlePointerBasedSelection(t)}handlePointerBasedSelection(t){const e=t.composedPath().find((t=>t instanceof Element&&t.getAttribute("role")===this.childRole));if(t.defaultPrevented){const t=this.childItems.indexOf(e);(null==e?void 0:e.menuData.focusRoot)===this&&t>-1&&(this.focusedItemIndex=t)}else null!=e&&e.href&&e.href.length?this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})):(null==e?void 0:e.menuData.selectionRoot)===this&&this.childItems.length&&(t.preventDefault(),e.hasSubmenu||e.open||(this.selectOrToggleItem(e),this.prepareToCleanUp()))}handleFocusin(t){var e;if(this.childItems.some((t=>t.menuData.focusRoot!==this)))return;const r=this.getRootNode().activeElement,o=(null==(e=this.childItems[this.focusedItemIndex])?void 0:e.menuData.selectionRoot)||this;if((r!==o||t.target!==this)&&(o.focus({preventScroll:!0}),r&&0===this.focusedItemIndex)){const t=this.childItems.findIndex((t=>t===r));this.focusMenuItemByOffset(Math.max(t,0))}this.startListeningToKeyboard()}startListeningToKeyboard(){this.addEventListener("keydown",this.handleKeydown)}handleBlur(t){(function(t,e){return!!e&&(t===e||t.contains(e))})(this,t.relatedTarget)||(this.stopListeningToKeyboard(),this.childItems.forEach((t=>t.focused=!1)),this.removeAttribute("aria-activedescendant"))}stopListeningToKeyboard(){this.removeEventListener("keydown",this.handleKeydown)}handleDescendentOverlayOpened(t){const e=t.composedPath()[0];e.overlayElement&&this.descendentOverlays.set(e.overlayElement,e.overlayElement)}handleDescendentOverlayClosed(t){const e=t.composedPath()[0];e.overlayElement&&this.descendentOverlays.delete(e.overlayElement)}async selectOrToggleItem(t){const e=this.resolvedSelects,r=new Map(this.selectedItemsMap),o=this.selected.slice(),s=this.selectedItems.slice(),c=this.value,a=this.childItems[this.focusedItemIndex];if(a&&(a.focused=!1,a.active=!1),this.focusedItemIndex=this.childItems.indexOf(t),this.forwardFocusVisibleToItem(t),"multiple"===e){this.selectedItemsMap.has(t)?this.selectedItemsMap.delete(t):this.selectedItemsMap.set(t,!0);const e=[],r=[];this.childItemSet.forEach((t=>{t.menuData.selectionRoot===this&&this.selectedItemsMap.has(t)&&(e.push(t.value),r.push(t))})),this._selected=e,this.selectedItems=r,this.value=this.selected.join(this.valueSeparator)}else this.selectedItemsMap.clear(),this.selectedItemsMap.set(t,!0),this.value=t.value,this._selected=[t.value],this.selectedItems=[t];if(!this.dispatchEvent(new Event("change",{cancelable:!0,bubbles:!0,composed:!0})))return this._selected=o,this.selectedItems=s,this.selectedItemsMap=r,void(this.value=c);if("single"===e){for(const e of r.keys())e!==t&&(e.selected=!1);t.selected=!0}else"multiple"===e&&(t.selected=!t.selected)}navigateWithinMenu(t){const{key:e}=t,r=this.childItems[this.focusedItemIndex],o="ArrowDown"===e?1:-1,s=this.focusMenuItemByOffset(o);s!==r&&(t.preventDefault(),t.stopPropagation(),s.scrollIntoView({block:"nearest"}))}navigateBetweenRelatedMenus(t){const{key:e}=t,r=this.isLTR&&"ArrowRight"===e||!this.isLTR&&"ArrowLeft"===e,o=this.isLTR&&"ArrowLeft"===e||!this.isLTR&&"ArrowRight"===e;if(r){t.stopPropagation();const e=this.childItems[this.focusedItemIndex];null!=e&&e.hasSubmenu&&e.openOverlay()}else o&&this.isSubmenu&&(t.stopPropagation(),this.dispatchEvent(new Event("close",{bubbles:!0})),this.updateSelectedItemIndex())}handleKeydown(t){if(t.defaultPrevented)return;const e=this.childItems[this.focusedItemIndex];e&&(e.focused=!0);const{key:r}=t;if(t.shiftKey&&t.target!==this&&this.hasAttribute("tabindex")){this.removeAttribute("tabindex");const t=e=>{!e.shiftKey&&!this.hasAttribute("tabindex")&&(this.tabIndex=0,document.removeEventListener("keyup",t),this.removeEventListener("focusout",t))};document.addEventListener("keyup",t),this.addEventListener("focusout",t)}if("Tab"!==r)if(" "===r&&null!=e&&e.hasSubmenu)e.openOverlay();else if(" "!==r&&"Enter"!==r)if("ArrowDown"!==r&&"ArrowUp"!==r)this.navigateBetweenRelatedMenus(t);else{const e=this.childItems[this.focusedItemIndex];e&&e.menuData.selectionRoot===t.target&&this.navigateWithinMenu(t)}else{const e=this.childItems[this.focusedItemIndex];e&&e.menuData.selectionRoot===t.target&&(t.preventDefault(),e.click())}else this.prepareToCleanUp()}focusMenuItemByOffset(t){const e=t||1,r=this.childItems[this.focusedItemIndex];r&&(r.focused=!1,r.active=r.open),this.focusedItemIndex=(this.childItems.length+this.focusedItemIndex+t)%this.childItems.length;let o=this.childItems[this.focusedItemIndex],s=this.childItems.length;for(;null!=o&&o.disabled&&s;)s-=1,this.focusedItemIndex=(this.childItems.length+this.focusedItemIndex+e)%this.childItems.length,o=this.childItems[this.focusedItemIndex];return null!=o&&o.disabled||this.forwardFocusVisibleToItem(o),o}prepareToCleanUp(){document.addEventListener("focusout",(()=>{requestAnimationFrame((()=>{const t=this.childItems[this.focusedItemIndex];t&&(t.focused=!1,this.updateSelectedItemIndex())}))}),{once:!0})}updateSelectedItemIndex(){let t=0;const e=new Map,r=[],o=[];let s=this.childItems.length;for(;s;){s-=1;const c=this.childItems[s];c.menuData.selectionRoot===this&&((c.selected||!this._hasUpdatedSelectedItemIndex&&this.selected.includes(c.value))&&(t=s,e.set(c,!0),r.unshift(c.value),o.unshift(c)),s!==t&&(c.focused=!1))}o.map(((t,e)=>{e>0&&(t.focused=!1)})),this.selectedItemsMap=e,this._selected=r,this.selectedItems=o,this.value=this.selected.join(this.valueSeparator),this.focusedItemIndex=t,this.focusInItemIndex=t}handleItemsChanged(){this.cachedChildItems=void 0,this._willUpdateItems||(this._willUpdateItems=!0,this.cacheUpdated=this.updateCache())}async updateCache(){this.hasUpdated?await new Promise((t=>requestAnimationFrame((()=>t(!0))))):await Promise.all([new Promise((t=>requestAnimationFrame((()=>t(!0))))),this.updateComplete]),void 0===this.cachedChildItems&&(this.updateSelectedItemIndex(),this.updateItemFocus()),this._willUpdateItems=!1}updateItemFocus(){if(0==this.childItems.length)return;const t=this.childItems[this.focusInItemIndex];this.getRootNode().activeElement===t.menuData.focusRoot&&this.forwardFocusVisibleToItem(t)}closeDescendentOverlays(){this.descendentOverlays.forEach((t=>{t.open=!1})),this.descendentOverlays=new Map}forwardFocusVisibleToItem(t){if(!t||t.menuData.focusRoot!==this)return;this.closeDescendentOverlays();const e=this.hasVisibleFocusInTree()||!!this.childItems.find((t=>t.hasVisibleFocusInTree()));t.focused=e,this.setAttribute("aria-activedescendant",t.id),t.menuData.selectionRoot&&t.menuData.selectionRoot!==this&&t.menuData.selectionRoot.focus()}handleSlotchange({target:t}){const e=t.assignedElements({flatten:!0});this.childItems.length!==e.length&&e.forEach((t=>{void 0!==t.triggerUpdate?t.triggerUpdate():void 0!==t.childItems&&t.childItems.forEach((t=>{t.triggerUpdate()}))}))}renderMenuItemSlot(){return i.qy`
             <slot
                 @sp-menu-submenu-opened=${this.handleDescendentOverlayOpened}
                 @sp-menu-submenu-closed=${this.handleDescendentOverlayClosed}
                 @slotchange=${this.handleSlotchange}
             ></slot>
-        `}render(){return this.renderMenuItemSlot()}firstUpdated(t){super.firstUpdated(t),!this.hasAttribute("tabindex")&&!this.ignore&&("group"===this.getAttribute("role")?this.tabIndex=-1:this.tabIndex=0);const e=[new Promise((t=>requestAnimationFrame((()=>t(!0)))))];[...this.children].forEach((t=>{"sp-menu-item"===t.localName&&e.push(t.updateComplete)})),this.childItemsUpdated=Promise.all(e)}updated(t){super.updated(t),t.has("selects")&&this.hasUpdated&&this.selectsChanged(),t.has("label")&&(this.label||void 0!==t.get("label"))&&(this.label?this.setAttribute("aria-label",this.label):this.removeAttribute("aria-label"))}selectsChanged(){const t=[new Promise((t=>requestAnimationFrame((()=>t(!0)))))];this.childItemSet.forEach((e=>{t.push(e.triggerUpdate())})),this.childItemsUpdated=Promise.all(t)}connectedCallback(){super.connectedCallback(),!this.hasAttribute("role")&&!this.ignore&&this.setAttribute("role",this.ownRole),this.updateComplete.then((()=>this.updateItemFocus()))}disconnectedCallback(){this.cachedChildItems=void 0,this.selectedItems=[],this.selectedItemsMap.clear(),this.childItemSet.clear(),this.descendentOverlays=new Map,super.disconnectedCallback()}async getUpdateComplete(){const t=await super.getUpdateComplete();return await this.childItemsUpdated,await this.cacheUpdated,t}}jr([(0,d.MZ)({type:String,reflect:!0})],Mr.prototype,"label",2),jr([(0,d.MZ)({type:Boolean,reflect:!0})],Mr.prototype,"ignore",2),jr([(0,d.MZ)({type:String,reflect:!0})],Mr.prototype,"selects",2),jr([(0,d.MZ)({type:String})],Mr.prototype,"value",2),jr([(0,d.MZ)({type:String,attribute:"value-separator"})],Mr.prototype,"valueSeparator",2),jr([(0,d.MZ)({attribute:!1})],Mr.prototype,"selected",1),jr([(0,d.MZ)({attribute:!1})],Mr.prototype,"selectedItems",2),jr([(0,d.P)("slot:not([name])")],Mr.prototype,"menuSlot",2),(0,x.e)("sp-menu",Mr);var _r=a(239);const Hr=Symbol("dependency manager loaded");class Pr{constructor(t){this.dependencies={},this._loaded=!1,this.host=t}get loaded(){return this._loaded}set loaded(t){t!==this.loaded&&(this._loaded=t,this.host.requestUpdate(Hr,!this.loaded))}add(t,e){const r=!!e||!!customElements.get(t)||this.dependencies[t];r||customElements.whenDefined(t).then((()=>{this.add(t,!0)})),this.dependencies={...this.dependencies,[t]:r},this.loaded=Object.values(this.dependencies).every((t=>t))}}var Dr=Object.defineProperty,Lr=Object.getOwnPropertyDescriptor,Or=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?Lr(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&Dr(e,r,c),c};const Ur={s:"spectrum-UIIcon-ChevronDown75",m:"spectrum-UIIcon-ChevronDown100",l:"spectrum-UIIcon-ChevronDown200",xl:"spectrum-UIIcon-ChevronDown300"},Br="option-picker";class Fr extends((0,w.Z)(H,{noDefaultSize:!0})){constructor(){super(...arguments),this.isMobile=new _r._9(this,_r.yS),this.dependencyManager=new Pr(this),this.deprecatedMenu=null,this.disabled=!1,this.focused=!1,this.invalid=!1,this.pending=!1,this.pendingLabel="Pending",this.open=!1,this.readonly=!1,this.selects="single",this.placement="bottom-start",this.quiet=!1,this.value="",this.listRole="listbox",this.itemRole="option",this.preventNextToggle="no",this.pointerdownState=!1,this.handleKeydown=t=>{this.focused=!0,("ArrowDown"===t.code||"ArrowUp"===t.code)&&(t.stopPropagation(),t.preventDefault(),this.toggle(!0))},this.handleSlottableRequest=t=>{},this.applyFocusElementLabel=(t,e)=>{this.appliedLabel=t,this.labelAlignment=e.sideAligned?"inline":void 0},this.hasRenderedOverlay=!1,this.willManageSelection=!1,this.selectionPromise=Promise.resolve(),this.recentlyConnected=!1,this.enterKeydownOn=null,this.handleEnterKeydown=t=>{if("Enter"===t.code){if(this.enterKeydownOn)return void t.preventDefault();this.enterKeydownOn=t.target,this.addEventListener("keyup",(async t=>{"Enter"===t.code&&(this.enterKeydownOn=null)}),{once:!0})}}}get menuItems(){return this.optionsMenu.childItems}get selectedItem(){return this._selectedItem}set selectedItem(t){if(this.selectedItemContent=t?t.itemChildren:void 0,t===this.selectedItem)return;const e=this.selectedItem;this._selectedItem=t,this.requestUpdate("selectedItem",e)}get focusElement(){return this.open?this.optionsMenu:this.button}forceFocusVisible(){this.disabled||(this.focused=!0)}click(){this.disabled||this.toggle()}handleButtonBlur(){this.focused=!1}handleButtonPointerdown(t){if(0!==t.button)return;this.pointerdownState=this.open,this.preventNextToggle="maybe";let e=0;const r=()=>{cancelAnimationFrame(e),e=requestAnimationFrame((async()=>{document.removeEventListener("pointerup",r),document.removeEventListener("pointercancel",r),this.button.removeEventListener("click",r),requestAnimationFrame((()=>{this.preventNextToggle="no"}))}))};document.addEventListener("pointerup",r),document.addEventListener("pointercancel",r),this.button.addEventListener("click",r),this.handleActivate()}handleButtonFocus(t){"maybe"===this.preventNextToggle&&t.relatedTarget===this.optionsMenu&&(this.preventNextToggle="yes")}handleActivate(t){this.enterKeydownOn&&this.enterKeydownOn!==this.button||"yes"!==this.preventNextToggle&&("click"===(null==t?void 0:t.type)&&this.open!==this.pointerdownState||this.toggle())}focus(t){super.focus(t),!this.disabled&&this.focusElement&&(this.focused=this.hasVisibleFocusInTree())}handleHelperFocus(){this.focused=!0,this.button.focus()}handleChange(t){this.preventNextToggle="no";const e=t.target,[r]=e.selectedItems;t.stopPropagation(),t.cancelable?this.setValueFromItem(r,t):this.open=!1}async setValueFromItem(t,e){var r;this.open=!1;const o=this.selectedItem,s=this.value;return this.selectedItem=t,this.value=null!=(r=null==t?void 0:t.value)?r:"",await this.updateComplete,!this.dispatchEvent(new Event("change",{bubbles:!0,cancelable:!0,composed:!0}))&&this.selects?(e&&e.preventDefault(),this.setMenuItemSelected(this.selectedItem,!1),o&&this.setMenuItemSelected(o,!0),this.selectedItem=o,this.value=s,void(this.open=!0)):this.selects?(o&&this.setMenuItemSelected(o,!1),void this.setMenuItemSelected(t,!!this.selects)):(this.selectedItem=o,void(this.value=s))}setMenuItemSelected(t,e){null!=this.selects&&(t.selected=e)}toggle(t){this.readonly||this.pending||(this.open=void 0!==t?t:!this.open)}close(){this.readonly||(this.open=!1)}get containerStyles(){return this.isMobile.matches?{"--swc-menu-width":"100%"}:{}}get selectedItemContent(){return this._selectedItemContent||{icon:[],content:[]}}set selectedItemContent(t){if(t===this.selectedItemContent)return;const e=this.selectedItemContent;this._selectedItemContent=t,this.requestUpdate("selectedItemContent",e)}handleTooltipSlotchange(t){this.tooltipEl=t.target.assignedElements()[0]}handleBeforetoggle(t){t.composedPath()[0]===t.target&&("closed"===t.newState&&("no"===this.preventNextToggle?this.open=!1:this.pointerdownState||this.overlayElement.manuallyKeepOpen()),this.open||(this.optionsMenu.updateSelectedItemIndex(),this.optionsMenu.closeDescendentOverlays()))}renderLabelContent(e){return this.value&&this.selectedItem?e:t.qy`
+        `}render(){return this.renderMenuItemSlot()}firstUpdated(t){super.firstUpdated(t),!this.hasAttribute("tabindex")&&!this.ignore&&("group"===this.getAttribute("role")?this.tabIndex=-1:this.tabIndex=0);const e=[new Promise((t=>requestAnimationFrame((()=>t(!0)))))];[...this.children].forEach((t=>{"sp-menu-item"===t.localName&&e.push(t.updateComplete)})),this.childItemsUpdated=Promise.all(e)}updated(t){super.updated(t),t.has("selects")&&this.hasUpdated&&this.selectsChanged(),t.has("label")&&(this.label||void 0!==t.get("label"))&&(this.label?this.setAttribute("aria-label",this.label):this.removeAttribute("aria-label"))}selectsChanged(){const t=[new Promise((t=>requestAnimationFrame((()=>t(!0)))))];this.childItemSet.forEach((e=>{t.push(e.triggerUpdate())})),this.childItemsUpdated=Promise.all(t)}connectedCallback(){super.connectedCallback(),!this.hasAttribute("role")&&!this.ignore&&this.setAttribute("role",this.ownRole),this.updateComplete.then((()=>this.updateItemFocus()))}disconnectedCallback(){this.cachedChildItems=void 0,this.selectedItems=[],this.selectedItemsMap.clear(),this.childItemSet.clear(),this.descendentOverlays=new Map,super.disconnectedCallback()}async getUpdateComplete(){const t=await super.getUpdateComplete();return await this.childItemsUpdated,await this.cacheUpdated,t}}Lr([(0,f.MZ)({type:String,reflect:!0})],Or.prototype,"label",2),Lr([(0,f.MZ)({type:Boolean,reflect:!0})],Or.prototype,"ignore",2),Lr([(0,f.MZ)({type:String,reflect:!0})],Or.prototype,"selects",2),Lr([(0,f.MZ)({type:String})],Or.prototype,"value",2),Lr([(0,f.MZ)({type:String,attribute:"value-separator"})],Or.prototype,"valueSeparator",2),Lr([(0,f.MZ)({attribute:!1})],Or.prototype,"selected",1),Lr([(0,f.MZ)({attribute:!1})],Or.prototype,"selectedItems",2),Lr([(0,f.P)("slot:not([name])")],Or.prototype,"menuSlot",2),(0,$.e)("sp-menu",Or);var Ur=a(239);const Br=Symbol("dependency manager loaded");class Fr{constructor(t){this.dependencies={},this._loaded=!1,this.host=t}get loaded(){return this._loaded}set loaded(t){t!==this.loaded&&(this._loaded=t,this.host.requestUpdate(Br,!this.loaded))}add(t,e){const r=!!e||!!customElements.get(t)||this.dependencies[t];r||customElements.whenDefined(t).then((()=>{this.add(t,!0)})),this.dependencies={...this.dependencies,[t]:r},this.loaded=Object.values(this.dependencies).every((t=>t))}}var Rr=Object.defineProperty,Zr=Object.getOwnPropertyDescriptor,Nr=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?Zr(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&Rr(e,r,c),c};const Vr={s:"spectrum-UIIcon-ChevronDown75",m:"spectrum-UIIcon-ChevronDown100",l:"spectrum-UIIcon-ChevronDown200",xl:"spectrum-UIIcon-ChevronDown300"},Kr="option-picker";class Wr extends((0,A.Z)(B,{noDefaultSize:!0})){constructor(){super(...arguments),this.isMobile=new Ur._9(this,Ur.yS),this.dependencyManager=new Fr(this),this.deprecatedMenu=null,this.disabled=!1,this.focused=!1,this.invalid=!1,this.pending=!1,this.pendingLabel="Pending",this.open=!1,this.readonly=!1,this.selects="single",this.placement="bottom-start",this.quiet=!1,this.value="",this.listRole="listbox",this.itemRole="option",this.preventNextToggle="no",this.pointerdownState=!1,this.handleKeydown=t=>{this.focused=!0,("ArrowDown"===t.code||"ArrowUp"===t.code)&&(t.stopPropagation(),t.preventDefault(),this.toggle(!0))},this.handleSlottableRequest=t=>{},this.applyFocusElementLabel=(t,e)=>{this.appliedLabel=t,this.labelAlignment=e.sideAligned?"inline":void 0},this.hasRenderedOverlay=!1,this.willManageSelection=!1,this.selectionPromise=Promise.resolve(),this.recentlyConnected=!1,this.enterKeydownOn=null,this.handleEnterKeydown=t=>{if("Enter"===t.code){if(this.enterKeydownOn)return void t.preventDefault();this.enterKeydownOn=t.target,this.addEventListener("keyup",(async t=>{"Enter"===t.code&&(this.enterKeydownOn=null)}),{once:!0})}}}get menuItems(){return this.optionsMenu.childItems}get selectedItem(){return this._selectedItem}set selectedItem(t){if(this.selectedItemContent=t?t.itemChildren:void 0,t===this.selectedItem)return;const e=this.selectedItem;this._selectedItem=t,this.requestUpdate("selectedItem",e)}get focusElement(){return this.open?this.optionsMenu:this.button}forceFocusVisible(){this.disabled||(this.focused=!0)}click(){this.disabled||this.toggle()}handleButtonBlur(){this.focused=!1}handleButtonPointerdown(t){if(0!==t.button)return;this.pointerdownState=this.open,this.preventNextToggle="maybe";let e=0;const r=()=>{cancelAnimationFrame(e),e=requestAnimationFrame((async()=>{document.removeEventListener("pointerup",r),document.removeEventListener("pointercancel",r),this.button.removeEventListener("click",r),requestAnimationFrame((()=>{this.preventNextToggle="no"}))}))};document.addEventListener("pointerup",r),document.addEventListener("pointercancel",r),this.button.addEventListener("click",r),this.handleActivate()}handleButtonFocus(t){"maybe"===this.preventNextToggle&&t.relatedTarget===this.optionsMenu&&(this.preventNextToggle="yes")}handleActivate(t){this.enterKeydownOn&&this.enterKeydownOn!==this.button||"yes"!==this.preventNextToggle&&("click"===(null==t?void 0:t.type)&&this.open!==this.pointerdownState||this.toggle())}focus(t){super.focus(t),!this.disabled&&this.focusElement&&(this.focused=this.hasVisibleFocusInTree())}handleHelperFocus(){this.focused=!0,this.button.focus()}handleChange(t){this.preventNextToggle="no";const e=t.target,[r]=e.selectedItems;t.stopPropagation(),t.cancelable?this.setValueFromItem(r,t):this.open=!1}async setValueFromItem(t,e){var r;this.open=!1;const o=this.selectedItem,s=this.value;return this.selectedItem=t,this.value=null!=(r=null==t?void 0:t.value)?r:"",await this.updateComplete,!this.dispatchEvent(new Event("change",{bubbles:!0,cancelable:!0,composed:!0}))&&this.selects?(e&&e.preventDefault(),this.setMenuItemSelected(this.selectedItem,!1),o&&this.setMenuItemSelected(o,!0),this.selectedItem=o,this.value=s,void(this.open=!0)):this.selects?(o&&this.setMenuItemSelected(o,!1),void this.setMenuItemSelected(t,!!this.selects)):(this.selectedItem=o,void(this.value=s))}setMenuItemSelected(t,e){null!=this.selects&&(t.selected=e)}toggle(t){this.readonly||this.pending||(this.open=void 0!==t?t:!this.open)}close(){this.readonly||(this.open=!1)}get containerStyles(){return this.isMobile.matches?{"--swc-menu-width":"100%"}:{}}get selectedItemContent(){return this._selectedItemContent||{icon:[],content:[]}}set selectedItemContent(t){if(t===this.selectedItemContent)return;const e=this.selectedItemContent;this._selectedItemContent=t,this.requestUpdate("selectedItemContent",e)}handleTooltipSlotchange(t){this.tooltipEl=t.target.assignedElements()[0]}handleBeforetoggle(t){t.composedPath()[0]===t.target&&("closed"===t.newState&&("no"===this.preventNextToggle?this.open=!1:this.pointerdownState||this.overlayElement.manuallyKeepOpen()),this.open||(this.optionsMenu.updateSelectedItemIndex(),this.optionsMenu.closeDescendentOverlays()))}renderLabelContent(t){return this.value&&this.selectedItem?t:i.qy`
             <slot name="label" id="label">
                 <span
-                    aria-hidden=${(0,S.J)(this.appliedLabel?void 0:"true")}
+                    aria-hidden=${(0,j.J)(this.appliedLabel?void 0:"true")}
                 >
                     ${this.label}
                 </span>
             </slot>
-        `}get buttonContent(){const e={"visually-hidden":"only"===this.icons&&!!this.value,placeholder:!this.value,label:!0},r=this.appliedLabel||this.label;return[t.qy`
+        `}get buttonContent(){const t={"visually-hidden":"only"===this.icons&&!!this.value,placeholder:!this.value,label:!0},e=this.appliedLabel||this.label;return[i.qy`
                 <span id="icon" ?hidden=${"none"===this.icons}>
                     ${this.selectedItemContent.icon}
                 </span>
                 <span
-                    id=${(0,S.J)(this.value&&this.selectedItem?"label":void 0)}
-                    class=${I(e)}
+                    id=${(0,j.J)(this.value&&this.selectedItem?"label":void 0)}
+                    class=${T(t)}
                 >
                     ${this.renderLabelContent(this.selectedItemContent.content)}
                 </span>
-                ${this.value&&this.selectedItem?t.qy`
+                ${this.value&&this.selectedItem?i.qy`
                           <span
                               aria-hidden="true"
                               class="visually-hidden"
                               id="applied-label"
                           >
-                              ${r}
+                              ${e}
                               <slot name="label"></slot>
                           </span>
-                      `:t.qy`
-                          <span hidden id="applied-label">${r}</span>
+                      `:i.qy`
+                          <span hidden id="applied-label">${e}</span>
                       `}
-                ${this.invalid&&!this.pending?t.qy`
+                ${this.invalid&&!this.pending?i.qy`
                           <sp-icon-alert
                               class="validation-icon"
                           ></sp-icon-alert>
-                      `:t.s6}
-                ${Ht(this.pending,(()=>(Promise.resolve().then(a.bind(a,443)),t.qy`
+                      `:i.s6}
+                ${Bt(this.pending,(()=>(Promise.resolve().then(a.bind(a,443)),i.qy`
                         <sp-progress-circle
                             id="loader"
                             size="s"
@@ -727,7 +727,7 @@ governing permissions and limitations under the License.
                         ></sp-progress-circle>
                     `)))}
                 <sp-icon-chevron100
-                    class="picker ${Ur[this.size]}"
+                    class="picker ${Vr[this.size]}"
                 ></sp-icon-chevron100>
                 <slot
                     aria-hidden="true"
@@ -735,7 +735,7 @@ governing permissions and limitations under the License.
                     id="tooltip"
                     @slotchange=${this.handleTooltipSlotchange}
                 ></slot>
-            `]}renderOverlay(e){const r=this.renderContainer(e);return this.dependencyManager.add("sp-overlay"),a.e(694).then(a.bind(a,904)),t.qy`
+            `]}renderOverlay(t){const e=this.renderContainer(t);return this.dependencyManager.add("sp-overlay"),a.e(694).then(a.bind(a,904)),i.qy`
             <sp-overlay
                 @slottable-request=${this.handleSlottableRequest}
                 @beforetoggle=${this.handleBeforetoggle}
@@ -747,27 +747,27 @@ governing permissions and limitations under the License.
                 .receivesFocus=${"true"}
                 .willPreventClose=${"no"!==this.preventNextToggle&&this.open&&this.dependencyManager.loaded}
             >
-                ${r}
+                ${e}
             </sp-overlay>
-        `}get renderDescriptionSlot(){return t.qy`
-            <div id=${Br}>
+        `}get renderDescriptionSlot(){return i.qy`
+            <div id=${Kr}>
                 <slot name="description"></slot>
             </div>
-        `}render(){return this.tooltipEl&&(this.tooltipEl.disabled=this.open),t.qy`
+        `}render(){return this.tooltipEl&&(this.tooltipEl.disabled=this.open),i.qy`
             <span
                 id="focus-helper"
                 tabindex="${this.focused||this.open?"-1":"0"}"
                 @focus=${this.handleHelperFocus}
-                aria-describedby=${Br}
+                aria-describedby=${Kr}
             ></span>
             <button
-                aria-controls=${(0,S.J)(this.open?"menu":void 0)}
+                aria-controls=${(0,j.J)(this.open?"menu":void 0)}
                 aria-describedby="tooltip"
                 aria-expanded=${this.open?"true":"false"}
                 aria-haspopup="true"
                 aria-labelledby="loader icon label applied-label"
                 id="button"
-                class=${(0,S.J)(this.labelAlignment?`label-${this.labelAlignment}`:void 0)}
+                class=${(0,j.J)(this.labelAlignment?`label-${this.labelAlignment}`:void 0)}
                 @blur=${this.handleButtonBlur}
                 @click=${this.handleActivate}
                 @pointerdown=${this.handleButtonPointerdown}
@@ -779,7 +779,7 @@ governing permissions and limitations under the License.
                 ${this.buttonContent}
             </button>
             ${this.renderMenu} ${this.renderDescriptionSlot}
-        `}update(t){var e,r;this.selects&&(this.selects="single"),t.has("disabled")&&this.disabled&&(this.open=!1),t.has("pending")&&this.pending&&(this.open=!1),t.has("value")&&this.shouldScheduleManageSelection(),this.hasUpdated||(this.deprecatedMenu=this.querySelector(":scope > sp-menu"),null==(e=this.deprecatedMenu)||e.toggleAttribute("ignore",!0),null==(r=this.deprecatedMenu)||r.setAttribute("selects","inherit")),super.update(t)}bindButtonKeydownListener(){this.button.addEventListener("keydown",this.handleKeydown)}firstUpdated(t){super.firstUpdated(t),this.bindButtonKeydownListener()}get dismissHelper(){return t.qy`
+        `}update(t){var e,r;this.selects&&(this.selects="single"),t.has("disabled")&&this.disabled&&(this.open=!1),t.has("pending")&&this.pending&&(this.open=!1),t.has("value")&&this.shouldScheduleManageSelection(),this.hasUpdated||(this.deprecatedMenu=this.querySelector(":scope > sp-menu"),null==(e=this.deprecatedMenu)||e.toggleAttribute("ignore",!0),null==(r=this.deprecatedMenu)||r.setAttribute("selects","inherit")),super.update(t)}bindButtonKeydownListener(){this.button.addEventListener("keydown",this.handleKeydown)}firstUpdated(t){super.firstUpdated(t),this.bindButtonKeydownListener()}get dismissHelper(){return i.qy`
             <div class="visually-hidden">
                 <button
                     tabindex="-1"
@@ -787,26 +787,26 @@ governing permissions and limitations under the License.
                     @click=${this.close}
                 ></button>
             </div>
-        `}renderContainer(e){const r=t.qy`
-            ${this.dismissHelper} ${e} ${this.dismissHelper}
-        `;return this.isMobile.matches?(this.dependencyManager.add("sp-tray"),a.e(775).then(a.bind(a,775)),t.qy`
+        `}renderContainer(t){const e=i.qy`
+            ${this.dismissHelper} ${t} ${this.dismissHelper}
+        `;return this.isMobile.matches?(this.dependencyManager.add("sp-tray"),a.e(775).then(a.bind(a,775)),i.qy`
                 <sp-tray
                     id="popover"
                     role="presentation"
-                    style=${(0,$r.W)(this.containerStyles)}
+                    style=${(0,Mr.W)(this.containerStyles)}
                 >
-                    ${r}
+                    ${e}
                 </sp-tray>
-            `):(this.dependencyManager.add("sp-popover"),a.e(225).then(a.bind(a,225)),t.qy`
+            `):(this.dependencyManager.add("sp-popover"),a.e(225).then(a.bind(a,225)),i.qy`
             <sp-popover
                 id="popover"
                 role="presentation"
-                style=${(0,$r.W)(this.containerStyles)}
+                style=${(0,Mr.W)(this.containerStyles)}
                 placement=${this.placement}
             >
-                ${r}
+                ${e}
             </sp-popover>
-        `)}get renderMenu(){const e=t.qy`
+        `)}get renderMenu(){const t=i.qy`
             <sp-menu
                 aria-labelledby="applied-label"
                 @change=${this.handleChange}
@@ -820,16 +820,16 @@ governing permissions and limitations under the License.
             >
                 <slot @slotchange=${this.shouldScheduleManageSelection}></slot>
             </sp-menu>
-        `;return this.hasRenderedOverlay=this.hasRenderedOverlay||this.focused||this.open||!!this.deprecatedMenu,this.hasRenderedOverlay?this.renderOverlay(e):e}shouldScheduleManageSelection(t){!this.willManageSelection&&(!t||t.target.getRootNode().host===this)&&(this.willManageSelection=!0,requestAnimationFrame((()=>{requestAnimationFrame((()=>{this.manageSelection()}))})))}shouldManageSelection(){this.willManageSelection||(this.willManageSelection=!0,this.manageSelection())}async manageSelection(){if(null==this.selects)return;let t;this.selectionPromise=new Promise((t=>this.selectionResolver=t)),await this.optionsMenu.updateComplete,this.recentlyConnected&&(await new Promise((t=>requestAnimationFrame((()=>t(!0))))),this.recentlyConnected=!1),this.menuItems.forEach((e=>{this.value!==e.value||e.disabled?e.selected=!1:t=e})),t?(t.selected=!!this.selects,this.selectedItem=t):(this.value="",this.selectedItem=void 0),this.open&&(await this.optionsMenu.updateComplete,this.optionsMenu.updateSelectedItemIndex()),this.selectionResolver(),this.willManageSelection=!1}async getUpdateComplete(){const t=await super.getUpdateComplete();return await this.selectionPromise,this.overlayElement&&await this.overlayElement.updateComplete,t}connectedCallback(){super.connectedCallback(),this.recentlyConnected=this.hasUpdated}disconnectedCallback(){this.close(),super.disconnectedCallback()}}Or([(0,d.wk)()],Fr.prototype,"appliedLabel",2),Or([(0,d.P)("#button")],Fr.prototype,"button",2),Or([(0,d.MZ)({type:Boolean,reflect:!0})],Fr.prototype,"disabled",2),Or([(0,d.MZ)({type:Boolean,reflect:!0})],Fr.prototype,"focused",2),Or([(0,d.MZ)({type:String,reflect:!0})],Fr.prototype,"icons",2),Or([(0,d.MZ)({type:Boolean,reflect:!0})],Fr.prototype,"invalid",2),Or([(0,d.MZ)({type:Boolean,reflect:!0})],Fr.prototype,"pending",2),Or([(0,d.MZ)({type:String,attribute:"pending-label"})],Fr.prototype,"pendingLabel",2),Or([(0,d.MZ)()],Fr.prototype,"label",2),Or([(0,d.MZ)({type:Boolean,reflect:!0})],Fr.prototype,"open",2),Or([(0,d.MZ)({type:Boolean,reflect:!0})],Fr.prototype,"readonly",2),Or([(0,d.wk)()],Fr.prototype,"labelAlignment",2),Or([(0,d.P)("sp-menu")],Fr.prototype,"optionsMenu",2),Or([(0,d.P)("sp-overlay")],Fr.prototype,"overlayElement",2),Or([(0,d.MZ)()],Fr.prototype,"placement",2),Or([(0,d.MZ)({type:Boolean,reflect:!0})],Fr.prototype,"quiet",2),Or([(0,d.MZ)({type:String})],Fr.prototype,"value",2),Or([(0,d.MZ)({attribute:!1})],Fr.prototype,"selectedItem",1),Or([(0,d.wk)()],Fr.prototype,"selectedItemContent",1),(0,x.e)("sp-picker",class extends Fr{constructor(){super(...arguments),this.handleKeydown=t=>{const{code:e}=t;if(this.focused=!0,!e.startsWith("Arrow")||this.readonly||this.pending)return;if("ArrowUp"===e||"ArrowDown"===e)return this.toggle(!0),void t.preventDefault();t.preventDefault();const r=this.selectedItem?this.menuItems.indexOf(this.selectedItem):-1,o=r<0||"ArrowRight"===e?1:-1;let s=r+o;for(;this.menuItems[s]&&this.menuItems[s].disabled;)s+=o;!this.menuItems[s]||this.menuItems[s].disabled||(!this.value||s!==r)&&this.setValueFromItem(this.menuItems[s])}}static get styles(){return[Ar,Ue]}get containerStyles(){const t=super.containerStyles;return this.quiet||(t["min-width"]=`${this.offsetWidth}px`),t}});const Rr=t.AH`
-    .checkmark{block-size:var(--mod-menu-item-checkmark-height,var(--spectrum-menu-item-checkmark-height));inline-size:var(--mod-menu-item-checkmark-width,var(--spectrum-menu-item-checkmark-width));grid-area:e;align-self:start;margin-block-start:calc(var(--mod-menu-item-top-to-checkmark,var(--spectrum-menu-item-top-to-checkmark)) - var(--mod-menu-item-top-edge-to-text,var(--spectrum-menu-item-top-edge-to-text)));margin-inline-end:var(--mod-menu-item-text-to-control,var(--spectrum-menu-item-text-to-control))}.spectrum-Menu-back:focus-visible{box-shadow:inset calc(var(--mod-menu-item-focus-indicator-width,var(--spectrum-menu-item-focus-indicator-width))*var(--spectrum-menu-item-focus-indicator-direction-scalar,1))0 0 0 var(--highcontrast-menu-item-focus-indicator-color,var(--mod-menu-item-focus-indicator-color,var(--spectrum-menu-item-focus-indicator-color)))}.chevron{block-size:var(--spectrum-menu-item-checkmark-height);inline-size:var(--spectrum-menu-item-checkmark-width);grid-area:o;align-self:center;margin-inline-end:var(--mod-menu-item-text-to-control,var(--spectrum-menu-item-text-to-control))}.spectrum-Menu-backButton:focus-visible{outline:var(--spectrum-focus-indicator-thickness)solid var(--spectrum-focus-indicator-color);outline-offset:calc((var(--spectrum-focus-indicator-thickness) + 1px)*-1)}::slotted([slot=icon]){fill:var(--highcontrast-menu-item-color-default,var(--mod-menu-item-label-icon-color-default,var(--spectrum-menu-item-label-icon-color-default)));color:var(--highcontrast-menu-item-color-default,var(--mod-menu-item-label-icon-color-default,var(--spectrum-menu-item-label-icon-color-default)))}.checkmark{display:var(--mod-menu-checkmark-display,var(--spectrum-menu-checkmark-display));fill:var(--highcontrast-menu-checkmark-icon-color-default,var(--mod-menu-checkmark-icon-color-default,var(--spectrum-menu-checkmark-icon-color-default)));color:var(--highcontrast-menu-checkmark-icon-color-default,var(--mod-menu-checkmark-icon-color-default,var(--spectrum-menu-checkmark-icon-color-default)));opacity:1;align-self:center}:host{cursor:pointer;box-sizing:border-box;background-color:var(--highcontrast-menu-item-background-color-default,var(--mod-menu-item-background-color-default,var(--spectrum-menu-item-background-color-default)));line-height:var(--mod-menu-item-label-line-height,var(--spectrum-menu-item-label-line-height));min-block-size:var(--mod-menu-item-min-height,var(--spectrum-menu-item-min-height));padding-block-start:var(--mod-menu-item-top-edge-to-text,var(--spectrum-menu-item-top-edge-to-text));padding-block-end:var(--mod-menu-item-bottom-edge-to-text,var(--spectrum-menu-item-bottom-edge-to-text));padding-inline:var(--mod-menu-item-label-inline-edge-to-content,var(--spectrum-menu-item-label-inline-edge-to-content));align-items:center;margin:0;-webkit-text-decoration:none;text-decoration:none;position:relative}.spectrum-Menu-itemCheckbox{--mod-checkbox-top-to-text:0;--mod-checkbox-text-to-control:0;min-block-size:0}.spectrum-Menu-itemCheckbox .spectrum-Checkbox-box{margin-block-start:var(--mod-menu-item-top-to-checkbox,var(--spectrum-menu-item-top-to-checkbox));margin-block-end:0;margin-inline-end:var(--mod-menu-item-text-to-control,var(--spectrum-menu-item-text-to-control))}.spectrum-Menu-itemSwitch{min-block-size:0}.spectrum-Menu-itemSwitch .spectrum-Switch-switch{margin-block-start:var(--mod-menu-item-top-to-action,var(--spectrum-menu-item-top-to-action));margin-block-end:0}:host{grid-template:".a.b c. . ."1fr"d a e f g h i j"". . . .k. . ."". . . .l. . ."/auto auto auto auto 1fr auto auto auto;display:grid}#label{grid-area:m}:host([focused]),:host(:focus){background-color:var(--highcontrast-menu-item-background-color-focus,var(--mod-menu-item-background-color-key-focus,var(--spectrum-menu-item-background-color-key-focus)));outline:none}:host([focused])>#label,:host(:focus)>#label{color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-label-content-color-focus,var(--spectrum-menu-item-label-content-color-focus)))}:host([focused])>[name=description]::slotted(*),:host(:focus)>[name=description]::slotted(*){color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-description-color-focus,var(--spectrum-menu-item-description-color-focus)))}:host([focused])>::slotted([slot=value]),:host(:focus)>::slotted([slot=value]){color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-value-color-focus,var(--spectrum-menu-item-value-color-focus)))}:host([focused])>.icon:not(.chevron,.checkmark):not(.spectrum-Menu-checkmark),:host(:focus)>.icon:not(.chevron,.checkmark):not(.spectrum-Menu-checkmark){fill:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-label-icon-color-focus,var(--spectrum-menu-item-label-icon-color-focus)));color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-label-icon-color-focus,var(--spectrum-menu-item-label-icon-color-focus)))}:host([focused])>.chevron,:host(:focus)>.chevron{fill:var(--highcontrast-menu-item-color-focus,var(--mod-menu-collapsible-icon-color,var(--spectrum-menu-collapsible-icon-color)));color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-collapsible-icon-color,var(--spectrum-menu-collapsible-icon-color)))}:host([focused])>.checkmark,:host(:focus)>.checkmark{fill:var(--highcontrast-menu-item-color-focus,var(--mod-menu-checkmark-icon-color-focus,var(--spectrum-menu-checkmark-icon-color-focus)));color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-checkmark-icon-color-focus,var(--spectrum-menu-checkmark-icon-color-focus)))}:host([focused]) .spectrum-Menu-back,:host([focused]){box-shadow:inset calc(var(--mod-menu-item-focus-indicator-width,var(--spectrum-menu-item-focus-indicator-width))*var(--spectrum-menu-item-focus-indicator-direction-scalar,1))0 0 0 var(--highcontrast-menu-item-focus-indicator-color,var(--mod-menu-item-focus-indicator-color,var(--spectrum-menu-item-focus-indicator-color)))}:host:dir(rtl),:host([dir=rtl]){--spectrum-menu-item-focus-indicator-direction-scalar:-1}:host(:is(:active,[active])){background-color:var(--highcontrast-menu-item-background-color-focus,var(--mod-menu-item-background-color-down,var(--spectrum-menu-item-background-color-down)))}:host(:is(:active,[active]))>#label{color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-label-content-color-down,var(--spectrum-menu-item-label-content-color-down)))}:host(:is(:active,[active]))>[name=description]::slotted(*){color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-description-color-down,var(--spectrum-menu-item-description-color-down)))}:host(:is(:active,[active]))>::slotted([slot=value]){color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-value-color-down,var(--spectrum-menu-item-value-color-down)))}:host(:is(:active,[active]))>.icon:not(.chevron,.checkmark):not(.spectrum-Menu-checkmark){fill:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-label-icon-color-down,var(--spectrum-menu-item-label-icon-color-down)));color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-label-icon-color-down,var(--spectrum-menu-item-label-icon-color-down)))}:host(:is(:active,[active]))>.chevron{fill:var(--highcontrast-menu-item-color-focus,var(--mod-menu-collapsible-icon-color,var(--spectrum-menu-collapsible-icon-color)));color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-collapsible-icon-color,var(--spectrum-menu-collapsible-icon-color)))}:host(:is(:active,[active]))>.checkmark{fill:var(--highcontrast-menu-item-color-focus,var(--mod-menu-checkmark-icon-color-down,var(--spectrum-menu-checkmark-icon-color-down)));color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-checkmark-icon-color-down,var(--spectrum-menu-checkmark-icon-color-down)))}::slotted([slot=icon]){grid-area:f;align-self:start}.spectrum-Menu-item--collapsible ::slotted([slot=icon]){grid-area:b}:host .is-selectableMultiple{align-items:start}.is-selectableMultiple .spectrum-Menu-itemCheckbox{grid-area:f}.checkmark{grid-area:e;align-self:start}.spectrum-Menu-itemSelection{grid-area:d}#label{font-size:var(--mod-menu-item-label-font-size,var(--spectrum-menu-item-label-font-size));color:var(--highcontrast-menu-item-color-default,var(--mod-menu-item-label-content-color-default,var(--spectrum-menu-item-label-content-color-default)));grid-area:g}::slotted([slot=value]){grid-area:h}.spectrum-Menu-itemActions{grid-area:i;align-self:start;margin-inline-start:var(--mod-menu-item-label-to-value-area-min-spacing,var(--spectrum-menu-item-label-to-value-area-min-spacing))}.chevron{block-size:var(--spectrum-menu-item-checkmark-height);inline-size:var(--spectrum-menu-item-checkmark-width);grid-area:o;align-self:center}.spectrum-Menu-item--collapsible .chevron{grid-area:a}[name=description]::slotted(*){grid-area:k}:host([has-submenu]) .chevron{grid-area:j}.icon:not(.chevron,.checkmark):not(.spectrum-Menu-checkmark){block-size:var(--mod-menu-item-icon-height,var(--spectrum-menu-item-icon-height));inline-size:var(--mod-menu-item-icon-width,var(--spectrum-menu-item-icon-width))}.checkmark{block-size:var(--mod-menu-item-checkmark-height,var(--spectrum-menu-item-checkmark-height));inline-size:var(--mod-menu-item-checkmark-width,var(--spectrum-menu-item-checkmark-width));margin-block-start:calc(var(--mod-menu-item-top-to-checkmark,var(--spectrum-menu-item-top-to-checkmark)) - var(--mod-menu-item-top-edge-to-text,var(--spectrum-menu-item-top-edge-to-text)));margin-inline-end:var(--mod-menu-item-text-to-control,var(--spectrum-menu-item-text-to-control))}::slotted([slot=icon]){margin-inline-end:var(--mod-menu-item-label-text-to-visual,var(--spectrum-menu-item-label-text-to-visual))}.chevron{margin-inline-end:var(--mod-menu-item-text-to-control,var(--spectrum-menu-item-text-to-control))}[name=description]::slotted(*){color:var(--highcontrast-menu-item-color-default,var(--mod-menu-item-description-color-default,var(--spectrum-menu-item-description-color-default)));font-size:var(--mod-menu-item-description-font-size,var(--spectrum-menu-item-description-font-size));line-height:var(--mod-menu-item-description-line-height,var(--spectrum-menu-item-description-line-height));margin-block-start:var(--mod-menu-item-label-to-description-spacing,var(--spectrum-menu-item-label-to-description-spacing))}[name=description]::slotted(*),#label{hyphens:auto;overflow-wrap:break-word}::slotted([slot=value]){color:var(--highcontrast-menu-item-color-default,var(--mod-menu-item-value-color-default,var(--spectrum-menu-item-value-color-default)));font-size:var(--mod-menu-item-label-font-size,var(--spectrum-menu-item-label-font-size));place-self:start end;margin-inline-start:var(--mod-menu-item-label-to-value-area-min-spacing,var(--spectrum-menu-item-label-to-value-area-min-spacing))}:host([no-wrap]) #label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.spectrum-Menu-item--collapsible.is-open{padding-block-end:0}.spectrum-Menu-item--collapsible.is-open .chevron{transform:rotate(90deg)}:host([focused]) .spectrum-Menu-item--collapsible.is-open,:host(:is(:active,[active])) .spectrum-Menu-item--collapsible.is-open,.spectrum-Menu-item--collapsible.is-open:focus{background-color:var(--highcontrast-menu-item-background-color-default,var(--mod-menu-item-background-color-default,var(--spectrum-menu-item-background-color-default)))}.spectrum-Menu-item--collapsible>::slotted([slot=icon]){padding-block-start:var(--mod-menu-section-header-top-edge-to-text,var(--mod-menu-item-top-edge-to-text,var(--spectrum-menu-item-top-edge-to-text)));padding-block-end:var(--mod-menu-section-header-bottom-edge-to-text,var(--mod-menu-item-bottom-edge-to-text,var(--spectrum-menu-item-bottom-edge-to-text)))}.chevron:dir(rtl),:host([dir=rtl]) .chevron{transform:rotate(-180deg)}:host([has-submenu]) .chevron{fill:var(--highcontrast-menu-item-color-default,var(--mod-menu-drillin-icon-color-default,var(--spectrum-menu-drillin-icon-color-default)));color:var(--highcontrast-menu-item-color-default,var(--mod-menu-drillin-icon-color-default,var(--spectrum-menu-drillin-icon-color-default)));margin-inline-start:var(--mod-menu-item-label-to-value-area-min-spacing,var(--spectrum-menu-item-label-to-value-area-min-spacing));margin-inline-end:0}:host([has-submenu]) .is-open{--spectrum-menu-item-background-color-default:var(--highcontrast-menu-item-selected-background-color,var(--mod-menu-item-background-color-hover,var(--spectrum-menu-item-background-color-hover)))}:host([has-submenu]) .is-open .icon:not(.chevron,.checkmark):not(.spectrum-Menu-checkmark){fill:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-label-icon-color-hover,var(--spectrum-menu-item-label-icon-color-hover)));color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-label-icon-color-hover,var(--spectrum-menu-item-label-icon-color-hover)))}:host([has-submenu]) .is-open .chevron{fill:var(--highcontrast-menu-item-color-focus,var(--mod-menu-drillin-icon-color-hover,var(--spectrum-menu-drillin-icon-color-hover)));color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-drillin-icon-color-hover,var(--spectrum-menu-drillin-icon-color-hover)))}:host([has-submenu]) .is-open .checkmark{fill:var(--highcontrast-menu-checkmark-icon-color-default,var(--mod-menu-checkmark-icon-color-hover,var(--spectrum-menu-checkmark-icon-color-hover)));color:var(--highcontrast-menu-checkmark-icon-color-default,var(--mod-menu-checkmark-icon-color-hover,var(--spectrum-menu-checkmark-icon-color-hover)))}:host([has-submenu][focused]) .chevron,:host([has-submenu]:focus) .chevron{fill:var(--highcontrast-menu-item-color-focus,var(--mod-menu-drillin-icon-color-focus,var(--spectrum-menu-drillin-icon-color-focus)));color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-drillin-icon-color-focus,var(--spectrum-menu-drillin-icon-color-focus)))}:host([has-submenu]:is(:active,[active])) .chevron{fill:var(--highcontrast-menu-item-color-focus,var(--mod-menu-drillin-icon-color-down,var(--spectrum-menu-drillin-icon-color-down)));color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-drillin-icon-color-down,var(--spectrum-menu-drillin-icon-color-down)))}:host([disabled]),:host([aria-disabled=true]){background-color:initial}:host([disabled]) #label,:host([disabled]) ::slotted([slot=value]),:host([aria-disabled=true]) #label,:host([aria-disabled=true]) ::slotted([slot=value]){color:var(--highcontrast-menu-item-color-disabled,var(--mod-menu-item-label-content-color-disabled,var(--spectrum-menu-item-label-content-color-disabled)))}:host([disabled]) [name=description]::slotted(*),:host([aria-disabled=true]) [name=description]::slotted(*){color:var(--highcontrast-menu-item-color-disabled,var(--mod-menu-item-description-color-disabled,var(--spectrum-menu-item-description-color-disabled)))}:host([disabled]) ::slotted([slot=icon]),:host([aria-disabled=true]) ::slotted([slot=icon]){fill:var(--highcontrast-menu-item-color-disabled,var(--mod-menu-item-label-icon-color-disabled,var(--spectrum-menu-item-label-icon-color-disabled)));color:var(--highcontrast-menu-item-color-disabled,var(--mod-menu-item-label-icon-color-disabled,var(--spectrum-menu-item-label-icon-color-disabled)))}@media (hover:hover){:host(:hover){background-color:var(--highcontrast-menu-item-background-color-focus,var(--mod-menu-item-background-color-hover,var(--spectrum-menu-item-background-color-hover)))}:host(:hover)>#label{color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-label-content-color-hover,var(--spectrum-menu-item-label-content-color-hover)))}:host(:hover)>[name=description]::slotted(*){color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-description-color-hover,var(--spectrum-menu-item-description-color-hover)))}:host(:hover)>::slotted([slot=value]){color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-value-color-hover,var(--spectrum-menu-item-value-color-hover)))}:host(:hover)>.icon:not(.chevron,.checkmark):not(.spectrum-Menu-checkmark){fill:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-label-icon-color-hover,var(--spectrum-menu-item-label-icon-color-hover)));color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-label-icon-color-hover,var(--spectrum-menu-item-label-icon-color-hover)))}:host(:hover)>.chevron{fill:var(--highcontrast-menu-item-color-focus,var(--mod-menu-collapsible-icon-color,var(--spectrum-menu-collapsible-icon-color)));color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-collapsible-icon-color,var(--spectrum-menu-collapsible-icon-color)))}:host(:hover)>.checkmark{fill:var(--highcontrast-menu-item-color-focus,var(--mod-menu-checkmark-icon-color-hover,var(--spectrum-menu-checkmark-icon-color-hover)));color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-checkmark-icon-color-hover,var(--spectrum-menu-checkmark-icon-color-hover)))}.spectrum-Menu-item--collapsible.is-open:hover{background-color:var(--highcontrast-menu-item-background-color-default,var(--mod-menu-item-background-color-default,var(--spectrum-menu-item-background-color-default)))}:host([has-submenu]:hover) .chevron{fill:var(--highcontrast-menu-item-color-focus,var(--mod-menu-drillin-icon-color-hover,var(--spectrum-menu-drillin-icon-color-hover)));color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-drillin-icon-color-hover,var(--spectrum-menu-drillin-icon-color-hover)))}:host([disabled]:hover),:host([aria-disabled=true]:hover){cursor:default;background-color:initial}:host([disabled]:hover) #label,:host([disabled]:hover) ::slotted([slot=value]),:host([aria-disabled=true]:hover) #label,:host([aria-disabled=true]:hover) ::slotted([slot=value]){color:var(--highcontrast-menu-item-color-disabled,var(--mod-menu-item-label-content-color-disabled,var(--spectrum-menu-item-label-content-color-disabled)))}:host([disabled]:hover) [name=description]::slotted(*),:host([aria-disabled=true]:hover) [name=description]::slotted(*){color:var(--highcontrast-menu-item-color-disabled,var(--mod-menu-item-description-color-disabled,var(--spectrum-menu-item-description-color-disabled)))}:host([disabled]:hover) ::slotted([slot=icon]),:host([aria-disabled=true]:hover) ::slotted([slot=icon]){fill:var(--highcontrast-menu-item-color-disabled,var(--mod-menu-item-label-icon-color-disabled,var(--spectrum-menu-item-label-icon-color-disabled)));color:var(--highcontrast-menu-item-color-disabled,var(--mod-menu-item-label-icon-color-disabled,var(--spectrum-menu-item-label-icon-color-disabled)))}}.spectrum-Menu-back{padding-inline:var(--mod-menu-back-padding-inline-start,0)var(--mod-menu-back-padding-inline-end,var(--spectrum-menu-item-label-inline-edge-to-content));padding-block:var(--mod-menu-back-padding-block-start,0)var(--mod-menu-back-padding-block-end,0);flex-flow:wrap;align-items:center;display:flex}.spectrum-Menu-backButton{cursor:pointer;background:0 0;border:0;margin:0;padding:0;display:inline-flex}:host([focused]) .spectrum-Menu-backButton{outline:var(--spectrum-focus-indicator-thickness)solid var(--spectrum-focus-indicator-color);outline-offset:calc((var(--spectrum-focus-indicator-thickness) + 1px)*-1)}.spectrum-Menu-backHeading{color:var(--highcontrast-menu-item-color-default,var(--mod-menu-back-heading-color,var(--spectrum-menu-section-header-color)));font-size:var(--mod-menu-section-header-font-size,var(--spectrum-menu-section-header-font-size));font-weight:var(--mod-menu-section-header-font-weight,var(--spectrum-menu-section-header-font-weight));line-height:var(--mod-menu-section-header-line-height,var(--spectrum-menu-section-header-line-height));display:block}.spectrum-Menu-backIcon{margin-block:var(--mod-menu-back-icon-margin-block,var(--spectrum-menu-back-icon-margin));margin-inline:var(--mod-menu-back-icon-margin-inline,var(--spectrum-menu-back-icon-margin));fill:var(--highcontrast-menu-item-color-default,var(--mod-menu-back-icon-color-default));color:var(--highcontrast-menu-item-color-default,var(--mod-menu-back-icon-color-default))}:host([hidden]){display:none}:host([disabled]){pointer-events:none}:host([disabled]) [name=value]::slotted(*),:host([has-submenu][disabled]) .chevron{color:var(--highcontrast-menu-item-color-disabled,var(--mod-menu-item-label-icon-color-disabled,var(--spectrum-menu-item-label-icon-color-disabled)))}#button{position:absolute;inset:0}:host([dir=ltr]) [icon-only]::slotted(:last-of-type){margin-right:auto}:host([dir=rtl]) [icon-only]::slotted(:last-of-type){margin-left:auto}@media (forced-colors:active){:host{forced-color-adjust:none}}::slotted([slot=submenu]){width:max-content;max-width:100%}:host([no-wrap]) #label{display:block}
-`;var Zr=a(872),Nr=Object.defineProperty,Vr=Object.getOwnPropertyDescriptor,Kr=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?Vr(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&Nr(e,r,c),c};class Wr extends Event{constructor(t){super("sp-menu-item-added-or-updated",{bubbles:!0,composed:!0}),this.menuCascade=new WeakMap,this.clear(t)}clear(t){this._item=t,this.currentAncestorWithSelects=void 0,t.menuData={cleanupSteps:[],focusRoot:void 0,selectionRoot:void 0,parentMenu:void 0},this.menuCascade=new WeakMap}get item(){return this._item}}class Jr extends(ht(Q(W(H,'[slot="icon"]')))){constructor(){super(),this.active=!1,this.dependencyManager=new Pr(this),this.focused=!1,this.selected=!1,this._value="",this.hasSubmenu=!1,this.noWrap=!1,this.open=!1,this.handleSlottableRequest=t=>{var e;null==(e=this.submenuElement)||e.dispatchEvent(new Zr.W(t.name,t.data))},this.proxyFocus=()=>{this.focus()},this.handleBeforetoggle=t=>{"closed"===t.newState&&(this.open=!0,this.overlayElement.manuallyKeepOpen(),this.overlayElement.removeEventListener("beforetoggle",this.handleBeforetoggle))},this.recentlyLeftChild=!1,this.willDispatchUpdate=!1,this.menuData={focusRoot:void 0,parentMenu:void 0,selectionRoot:void 0,cleanupSteps:[]},this.addEventListener("click",this.handleClickCapture,{capture:!0}),new V(this,{config:{characterData:!0,childList:!0,subtree:!0},callback:t=>{t.every((t=>"submenu"===t.target.slot))||this.breakItemChildrenCache()}})}static get styles(){return[Rr,ee,Ue]}get value(){return this._value||this.itemText}set value(t){t!==this._value&&(this._value=t||"",this._value?this.setAttribute("value",this._value):this.removeAttribute("value"))}get itemText(){return this.itemChildren.content.reduce(((t,e)=>t+(e.textContent||"").trim()),"")}get focusElement(){return this}get hasIcon(){return this.slotContentIsPresent}get itemChildren(){if(!this.iconSlot||!this.contentSlot)return{icon:[],content:[]};if(this._itemChildren)return this._itemChildren;const t=this.iconSlot.assignedElements().map((t=>{const e=t.cloneNode(!0);return e.removeAttribute("slot"),e.classList.toggle("icon"),e})),e=this.contentSlot.assignedNodes().map((t=>t.cloneNode(!0)));return this._itemChildren={icon:t,content:e},this._itemChildren}click(){this.disabled||this.shouldProxyClick()||super.click()}handleClickCapture(t){if(this.disabled)return t.preventDefault(),t.stopImmediatePropagation(),t.stopPropagation(),!1}shouldProxyClick(){let t=!1;return this.anchorElement&&(this.anchorElement.click(),t=!0),t}breakItemChildrenCache(){this._itemChildren=void 0,this.triggerUpdate()}renderSubmenu(){const e=t.qy`
+        `;return this.hasRenderedOverlay=this.hasRenderedOverlay||this.focused||this.open||!!this.deprecatedMenu,this.hasRenderedOverlay?this.renderOverlay(t):t}shouldScheduleManageSelection(t){!this.willManageSelection&&(!t||t.target.getRootNode().host===this)&&(this.willManageSelection=!0,requestAnimationFrame((()=>{requestAnimationFrame((()=>{this.manageSelection()}))})))}shouldManageSelection(){this.willManageSelection||(this.willManageSelection=!0,this.manageSelection())}async manageSelection(){if(null==this.selects)return;let t;this.selectionPromise=new Promise((t=>this.selectionResolver=t)),await this.optionsMenu.updateComplete,this.recentlyConnected&&(await new Promise((t=>requestAnimationFrame((()=>t(!0))))),this.recentlyConnected=!1),this.menuItems.forEach((e=>{this.value!==e.value||e.disabled?e.selected=!1:t=e})),t?(t.selected=!!this.selects,this.selectedItem=t):(this.value="",this.selectedItem=void 0),this.open&&(await this.optionsMenu.updateComplete,this.optionsMenu.updateSelectedItemIndex()),this.selectionResolver(),this.willManageSelection=!1}async getUpdateComplete(){const t=await super.getUpdateComplete();return await this.selectionPromise,this.overlayElement&&await this.overlayElement.updateComplete,t}connectedCallback(){super.connectedCallback(),this.recentlyConnected=this.hasUpdated}disconnectedCallback(){this.close(),super.disconnectedCallback()}}Nr([(0,f.wk)()],Wr.prototype,"appliedLabel",2),Nr([(0,f.P)("#button")],Wr.prototype,"button",2),Nr([(0,f.MZ)({type:Boolean,reflect:!0})],Wr.prototype,"disabled",2),Nr([(0,f.MZ)({type:Boolean,reflect:!0})],Wr.prototype,"focused",2),Nr([(0,f.MZ)({type:String,reflect:!0})],Wr.prototype,"icons",2),Nr([(0,f.MZ)({type:Boolean,reflect:!0})],Wr.prototype,"invalid",2),Nr([(0,f.MZ)({type:Boolean,reflect:!0})],Wr.prototype,"pending",2),Nr([(0,f.MZ)({type:String,attribute:"pending-label"})],Wr.prototype,"pendingLabel",2),Nr([(0,f.MZ)()],Wr.prototype,"label",2),Nr([(0,f.MZ)({type:Boolean,reflect:!0})],Wr.prototype,"open",2),Nr([(0,f.MZ)({type:Boolean,reflect:!0})],Wr.prototype,"readonly",2),Nr([(0,f.wk)()],Wr.prototype,"labelAlignment",2),Nr([(0,f.P)("sp-menu")],Wr.prototype,"optionsMenu",2),Nr([(0,f.P)("sp-overlay")],Wr.prototype,"overlayElement",2),Nr([(0,f.MZ)()],Wr.prototype,"placement",2),Nr([(0,f.MZ)({type:Boolean,reflect:!0})],Wr.prototype,"quiet",2),Nr([(0,f.MZ)({type:String})],Wr.prototype,"value",2),Nr([(0,f.MZ)({attribute:!1})],Wr.prototype,"selectedItem",1),Nr([(0,f.wk)()],Wr.prototype,"selectedItemContent",1),(0,$.e)("sp-picker",class extends Wr{constructor(){super(...arguments),this.handleKeydown=t=>{const{code:e}=t;if(this.focused=!0,!e.startsWith("Arrow")||this.readonly||this.pending)return;if("ArrowUp"===e||"ArrowDown"===e)return this.toggle(!0),void t.preventDefault();t.preventDefault();const r=this.selectedItem?this.menuItems.indexOf(this.selectedItem):-1,o=r<0||"ArrowRight"===e?1:-1;let s=r+o;for(;this.menuItems[s]&&this.menuItems[s].disabled;)s+=o;!this.menuItems[s]||this.menuItems[s].disabled||(!this.value||s!==r)&&this.setValueFromItem(this.menuItems[s])}}static get styles(){return[_r,Ve]}get containerStyles(){const t=super.containerStyles;return this.quiet||(t["min-width"]=`${this.offsetWidth}px`),t}});const Jr=i.AH`
+    .checkmark{block-size:var(--mod-menu-item-checkmark-height,var(--spectrum-menu-item-checkmark-height));inline-size:var(--mod-menu-item-checkmark-width,var(--spectrum-menu-item-checkmark-width));grid-area:e;align-self:start;margin-block-start:calc(var(--mod-menu-item-top-to-checkmark,var(--spectrum-menu-item-top-to-checkmark)) - var(--mod-menu-item-top-edge-to-text,var(--spectrum-menu-item-top-edge-to-text)));margin-inline-end:var(--mod-menu-item-text-to-control,var(--spectrum-menu-item-text-to-control))}.spectrum-Menu-back:focus-visible{box-shadow:inset calc(var(--mod-menu-item-focus-indicator-width,var(--spectrum-menu-item-focus-indicator-width))*var(--spectrum-menu-item-focus-indicator-direction-scalar,1))0 0 0 var(--highcontrast-menu-item-focus-indicator-color,var(--mod-menu-item-focus-indicator-color,var(--spectrum-menu-item-focus-indicator-color)))}.chevron{block-size:var(--spectrum-menu-item-checkmark-height);inline-size:var(--spectrum-menu-item-checkmark-width);grid-area:o;align-self:center;margin-inline-end:var(--mod-menu-item-text-to-control,var(--spectrum-menu-item-text-to-control))}.spectrum-Menu-backButton:focus-visible{outline:var(--spectrum-focus-indicator-thickness)solid var(--spectrum-focus-indicator-color);outline-offset:calc((var(--spectrum-focus-indicator-thickness) + 1px)*-1)}::slotted([slot=icon]){fill:var(--highcontrast-menu-item-color-default,var(--mod-menu-item-label-icon-color-default,var(--spectrum-menu-item-label-icon-color-default)));color:var(--highcontrast-menu-item-color-default,var(--mod-menu-item-label-icon-color-default,var(--spectrum-menu-item-label-icon-color-default)))}.checkmark{display:var(--mod-menu-checkmark-display,var(--spectrum-menu-checkmark-display));fill:var(--highcontrast-menu-checkmark-icon-color-default,var(--mod-menu-checkmark-icon-color-default,var(--spectrum-menu-checkmark-icon-color-default)));color:var(--highcontrast-menu-checkmark-icon-color-default,var(--mod-menu-checkmark-icon-color-default,var(--spectrum-menu-checkmark-icon-color-default)));opacity:1;align-self:center}:host{cursor:pointer;box-sizing:border-box;background-color:var(--highcontrast-menu-item-background-color-default,var(--mod-menu-item-background-color-default,var(--spectrum-menu-item-background-color-default)));line-height:var(--mod-menu-item-label-line-height,var(--spectrum-menu-item-label-line-height));min-block-size:var(--mod-menu-item-min-height,var(--spectrum-menu-item-min-height));padding-block-start:var(--mod-menu-item-top-edge-to-text,var(--spectrum-menu-item-top-edge-to-text));padding-block-end:var(--mod-menu-item-bottom-edge-to-text,var(--spectrum-menu-item-bottom-edge-to-text));padding-inline:var(--mod-menu-item-label-inline-edge-to-content,var(--spectrum-menu-item-label-inline-edge-to-content));align-items:center;margin:0;-webkit-text-decoration:none;text-decoration:none;position:relative}.spectrum-Menu-itemCheckbox{--mod-checkbox-top-to-text:0;--mod-checkbox-text-to-control:0;min-block-size:0}.spectrum-Menu-itemCheckbox .spectrum-Checkbox-box{margin-block-start:var(--mod-menu-item-top-to-checkbox,var(--spectrum-menu-item-top-to-checkbox));margin-block-end:0;margin-inline-end:var(--mod-menu-item-text-to-control,var(--spectrum-menu-item-text-to-control))}.spectrum-Menu-itemSwitch{min-block-size:0}.spectrum-Menu-itemSwitch .spectrum-Switch-switch{margin-block-start:var(--mod-menu-item-top-to-action,var(--spectrum-menu-item-top-to-action));margin-block-end:0}:host{grid-template:".a.b c. . ."1fr"d a e f g h i j"". . . .k. . ."". . . .l. . ."/auto auto auto auto 1fr auto auto auto;display:grid}#label{grid-area:m}:host([focused]),:host(:focus){background-color:var(--highcontrast-menu-item-background-color-focus,var(--mod-menu-item-background-color-key-focus,var(--spectrum-menu-item-background-color-key-focus)));outline:none}:host([focused])>#label,:host(:focus)>#label{color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-label-content-color-focus,var(--spectrum-menu-item-label-content-color-focus)))}:host([focused])>[name=description]::slotted(*),:host(:focus)>[name=description]::slotted(*){color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-description-color-focus,var(--spectrum-menu-item-description-color-focus)))}:host([focused])>::slotted([slot=value]),:host(:focus)>::slotted([slot=value]){color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-value-color-focus,var(--spectrum-menu-item-value-color-focus)))}:host([focused])>.icon:not(.chevron,.checkmark),:host(:focus)>.icon:not(.chevron,.checkmark){fill:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-label-icon-color-focus,var(--spectrum-menu-item-label-icon-color-focus)));color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-label-icon-color-focus,var(--spectrum-menu-item-label-icon-color-focus)))}:host([focused])>.chevron,:host(:focus)>.chevron{fill:var(--highcontrast-menu-item-color-focus,var(--mod-menu-collapsible-icon-color,var(--spectrum-menu-collapsible-icon-color)));color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-collapsible-icon-color,var(--spectrum-menu-collapsible-icon-color)))}:host([focused])>.checkmark,:host(:focus)>.checkmark{fill:var(--highcontrast-menu-item-color-focus,var(--mod-menu-checkmark-icon-color-focus,var(--spectrum-menu-checkmark-icon-color-focus)));color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-checkmark-icon-color-focus,var(--spectrum-menu-checkmark-icon-color-focus)))}:host([focused]) .spectrum-Menu-back,:host([focused]){box-shadow:inset calc(var(--mod-menu-item-focus-indicator-width,var(--spectrum-menu-item-focus-indicator-width))*var(--spectrum-menu-item-focus-indicator-direction-scalar,1))0 0 0 var(--highcontrast-menu-item-focus-indicator-color,var(--mod-menu-item-focus-indicator-color,var(--spectrum-menu-item-focus-indicator-color)))}:host:dir(rtl),:host([dir=rtl]){--spectrum-menu-item-focus-indicator-direction-scalar:-1}:host(:is(:active,[active])){background-color:var(--highcontrast-menu-item-background-color-focus,var(--mod-menu-item-background-color-down,var(--spectrum-menu-item-background-color-down)))}:host(:is(:active,[active]))>#label{color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-label-content-color-down,var(--spectrum-menu-item-label-content-color-down)))}:host(:is(:active,[active]))>[name=description]::slotted(*){color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-description-color-down,var(--spectrum-menu-item-description-color-down)))}:host(:is(:active,[active]))>::slotted([slot=value]){color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-value-color-down,var(--spectrum-menu-item-value-color-down)))}:host(:is(:active,[active]))>.icon:not(.chevron,.checkmark){fill:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-label-icon-color-down,var(--spectrum-menu-item-label-icon-color-down)));color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-label-icon-color-down,var(--spectrum-menu-item-label-icon-color-down)))}:host(:is(:active,[active]))>.chevron{fill:var(--highcontrast-menu-item-color-focus,var(--mod-menu-collapsible-icon-color,var(--spectrum-menu-collapsible-icon-color)));color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-collapsible-icon-color,var(--spectrum-menu-collapsible-icon-color)))}:host(:is(:active,[active]))>.checkmark{fill:var(--highcontrast-menu-item-color-focus,var(--mod-menu-checkmark-icon-color-down,var(--spectrum-menu-checkmark-icon-color-down)));color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-checkmark-icon-color-down,var(--spectrum-menu-checkmark-icon-color-down)))}::slotted([slot=icon]){grid-area:f;align-self:start}.spectrum-Menu-item--collapsible ::slotted([slot=icon]){grid-area:b}:host .is-selectableMultiple{align-items:start}.is-selectableMultiple .spectrum-Menu-itemCheckbox{grid-area:e}.checkmark{grid-area:e;align-self:start}.spectrum-Menu-itemSelection{grid-area:d}#label{font-size:var(--mod-menu-item-label-font-size,var(--spectrum-menu-item-label-font-size));color:var(--highcontrast-menu-item-color-default,var(--mod-menu-item-label-content-color-default,var(--spectrum-menu-item-label-content-color-default)));grid-area:g}::slotted([slot=value]){grid-area:h}.spectrum-Menu-itemActions{grid-area:i;align-self:start;margin-inline-start:var(--mod-menu-item-label-to-value-area-min-spacing,var(--spectrum-menu-item-label-to-value-area-min-spacing))}.chevron{block-size:var(--spectrum-menu-item-checkmark-height);inline-size:var(--spectrum-menu-item-checkmark-width);grid-area:o;align-self:center}.spectrum-Menu-item--collapsible .chevron{grid-area:a}[name=description]::slotted(*){grid-area:k}:host([has-submenu]) .chevron{grid-area:j}.icon:not(.chevron,.checkmark){block-size:var(--mod-menu-item-icon-height,var(--spectrum-menu-item-icon-height));inline-size:var(--mod-menu-item-icon-width,var(--spectrum-menu-item-icon-width))}.checkmark{block-size:var(--mod-menu-item-checkmark-height,var(--spectrum-menu-item-checkmark-height));inline-size:var(--mod-menu-item-checkmark-width,var(--spectrum-menu-item-checkmark-width));margin-block-start:calc(var(--mod-menu-item-top-to-checkmark,var(--spectrum-menu-item-top-to-checkmark)) - var(--mod-menu-item-top-edge-to-text,var(--spectrum-menu-item-top-edge-to-text)));margin-inline-end:var(--mod-menu-item-text-to-control,var(--spectrum-menu-item-text-to-control))}::slotted([slot=icon]){margin-inline-end:var(--mod-menu-item-label-text-to-visual,var(--spectrum-menu-item-label-text-to-visual))}.chevron{margin-inline-end:var(--mod-menu-item-text-to-control,var(--spectrum-menu-item-text-to-control))}[name=description]::slotted(*){color:var(--highcontrast-menu-item-color-default,var(--mod-menu-item-description-color-default,var(--spectrum-menu-item-description-color-default)));font-size:var(--mod-menu-item-description-font-size,var(--spectrum-menu-item-description-font-size));line-height:var(--mod-menu-item-description-line-height,var(--spectrum-menu-item-description-line-height));margin-block-start:var(--mod-menu-item-label-to-description-spacing,var(--spectrum-menu-item-label-to-description-spacing))}[name=description]::slotted(*),#label{hyphens:auto;overflow-wrap:break-word}::slotted([slot=value]){color:var(--highcontrast-menu-item-color-default,var(--mod-menu-item-value-color-default,var(--spectrum-menu-item-value-color-default)));font-size:var(--mod-menu-item-label-font-size,var(--spectrum-menu-item-label-font-size));place-self:start end;margin-inline-start:var(--mod-menu-item-label-to-value-area-min-spacing,var(--spectrum-menu-item-label-to-value-area-min-spacing))}:host([no-wrap]) #label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.spectrum-Menu-item--collapsible.is-open{padding-block-end:0}.spectrum-Menu-item--collapsible.is-open .chevron{transform:rotate(90deg)}:host([focused]) .spectrum-Menu-item--collapsible.is-open,:host(:is(:active,[active])) .spectrum-Menu-item--collapsible.is-open,.spectrum-Menu-item--collapsible.is-open:focus{background-color:var(--highcontrast-menu-item-background-color-default,var(--mod-menu-item-background-color-default,var(--spectrum-menu-item-background-color-default)))}.spectrum-Menu-item--collapsible>::slotted([slot=icon]){padding-block-start:var(--mod-menu-section-header-top-edge-to-text,var(--mod-menu-item-top-edge-to-text,var(--spectrum-menu-item-top-edge-to-text)));padding-block-end:var(--mod-menu-section-header-bottom-edge-to-text,var(--mod-menu-item-bottom-edge-to-text,var(--spectrum-menu-item-bottom-edge-to-text)))}.chevron:dir(rtl),:host([dir=rtl]) .chevron{transform:rotate(-180deg)}:host([has-submenu]) .chevron{fill:var(--highcontrast-menu-item-color-default,var(--mod-menu-drillin-icon-color-default,var(--spectrum-menu-drillin-icon-color-default)));color:var(--highcontrast-menu-item-color-default,var(--mod-menu-drillin-icon-color-default,var(--spectrum-menu-drillin-icon-color-default)));margin-inline-start:var(--mod-menu-item-label-to-value-area-min-spacing,var(--spectrum-menu-item-label-to-value-area-min-spacing));margin-inline-end:0}:host([has-submenu]) .is-open{--spectrum-menu-item-background-color-default:var(--highcontrast-menu-item-selected-background-color,var(--mod-menu-item-background-color-hover,var(--spectrum-menu-item-background-color-hover)))}:host([has-submenu]) .is-open .icon:not(.chevron,.checkmark){fill:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-label-icon-color-hover,var(--spectrum-menu-item-label-icon-color-hover)));color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-label-icon-color-hover,var(--spectrum-menu-item-label-icon-color-hover)))}:host([has-submenu]) .is-open .chevron{fill:var(--highcontrast-menu-item-color-focus,var(--mod-menu-drillin-icon-color-hover,var(--spectrum-menu-drillin-icon-color-hover)));color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-drillin-icon-color-hover,var(--spectrum-menu-drillin-icon-color-hover)))}:host([has-submenu]) .is-open .checkmark{fill:var(--highcontrast-menu-checkmark-icon-color-default,var(--mod-menu-checkmark-icon-color-hover,var(--spectrum-menu-checkmark-icon-color-hover)));color:var(--highcontrast-menu-checkmark-icon-color-default,var(--mod-menu-checkmark-icon-color-hover,var(--spectrum-menu-checkmark-icon-color-hover)))}:host([has-submenu][focused]) .chevron,:host([has-submenu]:focus) .chevron{fill:var(--highcontrast-menu-item-color-focus,var(--mod-menu-drillin-icon-color-focus,var(--spectrum-menu-drillin-icon-color-focus)));color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-drillin-icon-color-focus,var(--spectrum-menu-drillin-icon-color-focus)))}:host([has-submenu]:is(:active,[active])) .chevron{fill:var(--highcontrast-menu-item-color-focus,var(--mod-menu-drillin-icon-color-down,var(--spectrum-menu-drillin-icon-color-down)));color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-drillin-icon-color-down,var(--spectrum-menu-drillin-icon-color-down)))}:host([disabled]),:host([aria-disabled=true]){background-color:initial}:host([disabled]) #label,:host([disabled]) ::slotted([slot=value]),:host([aria-disabled=true]) #label,:host([aria-disabled=true]) ::slotted([slot=value]){color:var(--highcontrast-menu-item-color-disabled,var(--mod-menu-item-label-content-color-disabled,var(--spectrum-menu-item-label-content-color-disabled)))}:host([disabled]) [name=description]::slotted(*),:host([aria-disabled=true]) [name=description]::slotted(*){color:var(--highcontrast-menu-item-color-disabled,var(--mod-menu-item-description-color-disabled,var(--spectrum-menu-item-description-color-disabled)))}:host([disabled]) ::slotted([slot=icon]),:host([aria-disabled=true]) ::slotted([slot=icon]){fill:var(--highcontrast-menu-item-color-disabled,var(--mod-menu-item-label-icon-color-disabled,var(--spectrum-menu-item-label-icon-color-disabled)));color:var(--highcontrast-menu-item-color-disabled,var(--mod-menu-item-label-icon-color-disabled,var(--spectrum-menu-item-label-icon-color-disabled)))}@media (hover:hover){:host(:hover){background-color:var(--highcontrast-menu-item-background-color-focus,var(--mod-menu-item-background-color-hover,var(--spectrum-menu-item-background-color-hover)))}:host(:hover)>#label{color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-label-content-color-hover,var(--spectrum-menu-item-label-content-color-hover)))}:host(:hover)>[name=description]::slotted(*){color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-description-color-hover,var(--spectrum-menu-item-description-color-hover)))}:host(:hover)>::slotted([slot=value]){color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-value-color-hover,var(--spectrum-menu-item-value-color-hover)))}:host(:hover)>.icon:not(.chevron,.checkmark){fill:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-label-icon-color-hover,var(--spectrum-menu-item-label-icon-color-hover)));color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-item-label-icon-color-hover,var(--spectrum-menu-item-label-icon-color-hover)))}:host(:hover)>.chevron{fill:var(--highcontrast-menu-item-color-focus,var(--mod-menu-collapsible-icon-color,var(--spectrum-menu-collapsible-icon-color)));color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-collapsible-icon-color,var(--spectrum-menu-collapsible-icon-color)))}:host(:hover)>.checkmark{fill:var(--highcontrast-menu-item-color-focus,var(--mod-menu-checkmark-icon-color-hover,var(--spectrum-menu-checkmark-icon-color-hover)));color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-checkmark-icon-color-hover,var(--spectrum-menu-checkmark-icon-color-hover)))}.spectrum-Menu-item--collapsible.is-open:hover{background-color:var(--highcontrast-menu-item-background-color-default,var(--mod-menu-item-background-color-default,var(--spectrum-menu-item-background-color-default)))}:host([has-submenu]:hover) .chevron{fill:var(--highcontrast-menu-item-color-focus,var(--mod-menu-drillin-icon-color-hover,var(--spectrum-menu-drillin-icon-color-hover)));color:var(--highcontrast-menu-item-color-focus,var(--mod-menu-drillin-icon-color-hover,var(--spectrum-menu-drillin-icon-color-hover)))}:host([disabled]:hover),:host([aria-disabled=true]:hover){cursor:default;background-color:initial}:host([disabled]:hover) #label,:host([disabled]:hover) ::slotted([slot=value]),:host([aria-disabled=true]:hover) #label,:host([aria-disabled=true]:hover) ::slotted([slot=value]){color:var(--highcontrast-menu-item-color-disabled,var(--mod-menu-item-label-content-color-disabled,var(--spectrum-menu-item-label-content-color-disabled)))}:host([disabled]:hover) [name=description]::slotted(*),:host([aria-disabled=true]:hover) [name=description]::slotted(*){color:var(--highcontrast-menu-item-color-disabled,var(--mod-menu-item-description-color-disabled,var(--spectrum-menu-item-description-color-disabled)))}:host([disabled]:hover) ::slotted([slot=icon]),:host([aria-disabled=true]:hover) ::slotted([slot=icon]){fill:var(--highcontrast-menu-item-color-disabled,var(--mod-menu-item-label-icon-color-disabled,var(--spectrum-menu-item-label-icon-color-disabled)));color:var(--highcontrast-menu-item-color-disabled,var(--mod-menu-item-label-icon-color-disabled,var(--spectrum-menu-item-label-icon-color-disabled)))}}.spectrum-Menu-back{padding-inline:var(--mod-menu-back-padding-inline-start,0)var(--mod-menu-back-padding-inline-end,var(--spectrum-menu-item-label-inline-edge-to-content));padding-block:var(--mod-menu-back-padding-block-start,0)var(--mod-menu-back-padding-block-end,0);flex-flow:wrap;align-items:center;display:flex}.spectrum-Menu-backButton{cursor:pointer;background:0 0;border:0;margin:0;padding:0;display:inline-flex}:host([focused]) .spectrum-Menu-backButton{outline:var(--spectrum-focus-indicator-thickness)solid var(--spectrum-focus-indicator-color);outline-offset:calc((var(--spectrum-focus-indicator-thickness) + 1px)*-1)}.spectrum-Menu-backHeading{color:var(--highcontrast-menu-item-color-default,var(--mod-menu-back-heading-color,var(--spectrum-menu-section-header-color)));font-size:var(--mod-menu-section-header-font-size,var(--spectrum-menu-section-header-font-size));font-weight:var(--mod-menu-section-header-font-weight,var(--spectrum-menu-section-header-font-weight));line-height:var(--mod-menu-section-header-line-height,var(--spectrum-menu-section-header-line-height));display:block}.spectrum-Menu-backIcon{margin-block:var(--mod-menu-back-icon-margin-block,var(--spectrum-menu-back-icon-margin));margin-inline:var(--mod-menu-back-icon-margin-inline,var(--spectrum-menu-back-icon-margin));fill:var(--highcontrast-menu-item-color-default,var(--mod-menu-back-icon-color-default));color:var(--highcontrast-menu-item-color-default,var(--mod-menu-back-icon-color-default))}:host([hidden]){display:none}:host([disabled]){pointer-events:none}:host([disabled]) [name=value]::slotted(*),:host([has-submenu][disabled]) .chevron{color:var(--highcontrast-menu-item-color-disabled,var(--mod-menu-item-label-icon-color-disabled,var(--spectrum-menu-item-label-icon-color-disabled)))}#button{position:absolute;inset:0}:host([dir=ltr]) [icon-only]::slotted(:last-of-type){margin-right:auto}:host([dir=rtl]) [icon-only]::slotted(:last-of-type){margin-left:auto}@media (forced-colors:active){:host{forced-color-adjust:none}}::slotted([slot=submenu]){width:max-content;max-width:100%}:host([no-wrap]) #label{display:block}
+`;var Gr=a(872),Xr=Object.defineProperty,Yr=Object.getOwnPropertyDescriptor,Qr=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?Yr(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&Xr(e,r,c),c};class to extends Event{constructor(t){super("sp-menu-item-added-or-updated",{bubbles:!0,composed:!0}),this.menuCascade=new WeakMap,this.clear(t)}clear(t){this._item=t,this.currentAncestorWithSelects=void 0,t.menuData={cleanupSteps:[],focusRoot:void 0,selectionRoot:void 0,parentMenu:void 0},this.menuCascade=new WeakMap}get item(){return this._item}}class eo extends(yt(ct(tt(B,'[slot="icon"]')))){constructor(){super(),this.active=!1,this.dependencyManager=new Fr(this),this.focused=!1,this.selected=!1,this._value="",this.hasSubmenu=!1,this.noWrap=!1,this.open=!1,this.handleSlottableRequest=t=>{var e;null==(e=this.submenuElement)||e.dispatchEvent(new Gr.W(t.name,t.data))},this.proxyFocus=()=>{this.focus()},this.handleBeforetoggle=t=>{"closed"===t.newState&&(this.open=!0,this.overlayElement.manuallyKeepOpen(),this.overlayElement.removeEventListener("beforetoggle",this.handleBeforetoggle))},this.recentlyLeftChild=!1,this.willDispatchUpdate=!1,this.menuData={focusRoot:void 0,parentMenu:void 0,selectionRoot:void 0,cleanupSteps:[]},this.addEventListener("click",this.handleClickCapture,{capture:!0}),new Y(this,{config:{characterData:!0,childList:!0,subtree:!0},callback:t=>{t.every((t=>"submenu"===t.target.slot))||this.breakItemChildrenCache()}})}static get styles(){return[Jr,ie,Ve]}get value(){return this._value||this.itemText}set value(t){t!==this._value&&(this._value=t||"",this._value?this.setAttribute("value",this._value):this.removeAttribute("value"))}get itemText(){return this.itemChildren.content.reduce(((t,e)=>t+(e.textContent||"").trim()),"")}get focusElement(){return this}get hasIcon(){return this.slotContentIsPresent}get itemChildren(){if(!this.iconSlot||!this.contentSlot)return{icon:[],content:[]};if(this._itemChildren)return this._itemChildren;const t=this.iconSlot.assignedElements().map((t=>{const e=t.cloneNode(!0);return e.removeAttribute("slot"),e.classList.toggle("icon"),e})),e=this.contentSlot.assignedNodes().map((t=>t.cloneNode(!0)));return this._itemChildren={icon:t,content:e},this._itemChildren}click(){this.disabled||this.shouldProxyClick()||super.click()}handleClickCapture(t){if(this.disabled)return t.preventDefault(),t.stopImmediatePropagation(),t.stopPropagation(),!1}shouldProxyClick(){let t=!1;return this.anchorElement&&(this.anchorElement.click(),t=!0),t}breakItemChildrenCache(){this._itemChildren=void 0,this.triggerUpdate()}renderSubmenu(){const t=i.qy`
             <slot
                 name="submenu"
                 @slotchange=${this.manageSubmenu}
                 @sp-menu-item-added-or-updated=${{handleEvent:t=>{t.clear(t.item)},capture:!0}}
                 @focusin=${t=>t.stopPropagation()}
             ></slot>
-        `;return this.hasSubmenu?(this.dependencyManager.add("sp-overlay"),this.dependencyManager.add("sp-popover"),a.e(694).then(a.bind(a,904)),a.e(225).then(a.bind(a,225)),t.qy`
+        `;return this.hasSubmenu?(this.dependencyManager.add("sp-overlay"),this.dependencyManager.add("sp-popover"),a.e(694).then(a.bind(a,904)),a.e(225).then(a.bind(a,225)),i.qy`
             <sp-overlay
                 .triggerElement=${this}
                 ?disabled=${!this.hasSubmenu}
@@ -846,14 +846,14 @@ governing permissions and limitations under the License.
                     @pointerleave=${this.handleSubmenuPointerleave}
                     @sp-menu-item-added-or-updated=${t=>t.stopPropagation()}
                 >
-                    ${e}
+                    ${t}
                 </sp-popover>
             </sp-overlay>
             <sp-icon-chevron100
                 class="spectrum-UIIcon-ChevronRight100 chevron icon"
             ></sp-icon-chevron100>
-        `):e}render(){return t.qy`
-            ${this.selected?t.qy`
+        `):t}render(){return i.qy`
+            ${this.selected?i.qy`
                       <sp-icon-checkmark100
                           id="selected"
                           class="spectrum-UIIcon-Checkmark100 
@@ -861,64 +861,64 @@ governing permissions and limitations under the License.
                             checkmark
                             ${this.hasIcon?"checkmark--withAdjacentIcon":""}"
                       ></sp-icon-checkmark100>
-                  `:t.s6}
+                  `:i.s6}
             <slot name="icon"></slot>
             <div id="label">
                 <slot id="slot"></slot>
             </div>
             <slot name="description"></slot>
             <slot name="value"></slot>
-            ${this.href&&this.href.length>0?super.renderAnchor({id:"button",ariaHidden:!0,className:"button anchor hidden"}):t.s6}
+            ${this.href&&this.href.length>0?super.renderAnchor({id:"button",ariaHidden:!0,className:"button anchor hidden"}):i.s6}
             ${this.renderSubmenu()}
-        `}manageSubmenu(t){this.submenuElement=t.target.assignedElements({flatten:!0})[0],this.hasSubmenu=!!this.submenuElement,this.hasSubmenu&&this.setAttribute("aria-haspopup","true")}handlePointerdown(t){t.target===this&&this.hasSubmenu&&this.open&&(this.addEventListener("focus",this.handleSubmenuFocus,{once:!0}),this.overlayElement.addEventListener("beforetoggle",this.handleBeforetoggle))}firstUpdated(t){super.firstUpdated(t),this.setAttribute("tabindex","-1"),this.addEventListener("pointerdown",this.handlePointerdown),this.addEventListener("pointerenter",this.closeOverlaysForRoot),this.hasAttribute("id")||(this.id=`sp-menu-item-${(0,tt.l)()}`)}closeOverlaysForRoot(){var t;this.open||null==(t=this.menuData.parentMenu)||t.closeDescendentOverlays()}handleSubmenuClick(t){t.composedPath().includes(this.overlayElement)||this.openOverlay()}handleSubmenuFocus(){requestAnimationFrame((()=>{this.overlayElement.open=this.open}))}handlePointerenter(){if(this.leaveTimeout)return clearTimeout(this.leaveTimeout),void delete this.leaveTimeout;this.openOverlay()}handlePointerleave(){this.open&&!this.recentlyLeftChild&&(this.leaveTimeout=setTimeout((()=>{delete this.leaveTimeout,this.open=!1}),100))}handleSubmenuChange(t){var e;t.stopPropagation(),null==(e=this.menuData.selectionRoot)||e.selectOrToggleItem(this)}handleSubmenuPointerenter(){this.recentlyLeftChild=!0}async handleSubmenuPointerleave(){requestAnimationFrame((()=>{this.recentlyLeftChild=!1}))}handleSubmenuOpen(t){this.focused=!1;const e=t.composedPath().find((t=>t!==this.overlayElement&&"sp-overlay"===t.localName));this.overlayElement.parentOverlayToForceClose=e}cleanup(){this.open=!1,this.active=!1}async openOverlay(){!this.hasSubmenu||this.open||this.disabled||(this.open=!0,this.active=!0,this.setAttribute("aria-expanded","true"),this.addEventListener("sp-closed",this.cleanup,{once:!0}))}updateAriaSelected(){const t=this.getAttribute("role");"option"===t?this.setAttribute("aria-selected",this.selected?"true":"false"):("menuitemcheckbox"===t||"menuitemradio"===t)&&this.setAttribute("aria-checked",this.selected?"true":"false")}setRole(t){this.setAttribute("role",t),this.updateAriaSelected()}updated(t){var e,r;if(super.updated(t),t.has("label")&&(this.label||void 0!==t.get("label"))&&this.setAttribute("aria-label",this.label||""),t.has("active")&&(this.active||void 0!==t.get("active"))&&this.active&&(null==(e=this.menuData.selectionRoot)||e.closeDescendentOverlays()),this.anchorElement&&(this.anchorElement.addEventListener("focus",this.proxyFocus),this.anchorElement.tabIndex=-1),t.has("selected")&&this.updateAriaSelected(),t.has("hasSubmenu")&&(this.hasSubmenu||void 0!==t.get("hasSubmenu")))if(this.hasSubmenu){this.abortControllerSubmenu=new AbortController;const t={signal:this.abortControllerSubmenu.signal};this.addEventListener("click",this.handleSubmenuClick,t),this.addEventListener("pointerenter",this.handlePointerenter,t),this.addEventListener("pointerleave",this.handlePointerleave,t),this.addEventListener("sp-opened",this.handleSubmenuOpen,t)}else null==(r=this.abortControllerSubmenu)||r.abort()}connectedCallback(){super.connectedCallback(),this.triggerUpdate()}disconnectedCallback(){this.menuData.cleanupSteps.forEach((t=>t(this))),this.menuData={focusRoot:void 0,parentMenu:void 0,selectionRoot:void 0,cleanupSteps:[]},super.disconnectedCallback()}async triggerUpdate(){this.willDispatchUpdate||(this.willDispatchUpdate=!0,await new Promise((t=>requestAnimationFrame(t))),this.dispatchUpdate())}dispatchUpdate(){this.isConnected&&(this.dispatchEvent(new Wr(this)),this.willDispatchUpdate=!1)}}Kr([(0,d.MZ)({type:Boolean,reflect:!0})],Jr.prototype,"active",2),Kr([(0,d.MZ)({type:Boolean,reflect:!0})],Jr.prototype,"focused",2),Kr([(0,d.MZ)({type:Boolean,reflect:!0})],Jr.prototype,"selected",2),Kr([(0,d.MZ)({type:String})],Jr.prototype,"value",1),Kr([(0,d.MZ)({type:Boolean,reflect:!0,attribute:"has-submenu"})],Jr.prototype,"hasSubmenu",2),Kr([(0,d.P)("slot:not([name])")],Jr.prototype,"contentSlot",2),Kr([(0,d.P)('slot[name="icon"]')],Jr.prototype,"iconSlot",2),Kr([(0,d.MZ)({type:Boolean,reflect:!0,attribute:"no-wrap",hasChanged:()=>!1})],Jr.prototype,"noWrap",2),Kr([(0,d.P)(".anchor")],Jr.prototype,"anchorElement",2),Kr([(0,d.P)("sp-overlay")],Jr.prototype,"overlayElement",2),Kr([(0,d.MZ)({type:Boolean,reflect:!0})],Jr.prototype,"open",2),(0,x.e)("sp-menu-item",Jr);const Gr=t.AH`
+        `}manageSubmenu(t){this.submenuElement=t.target.assignedElements({flatten:!0})[0],this.hasSubmenu=!!this.submenuElement,this.hasSubmenu&&this.setAttribute("aria-haspopup","true")}handlePointerdown(t){t.target===this&&this.hasSubmenu&&this.open&&(this.addEventListener("focus",this.handleSubmenuFocus,{once:!0}),this.overlayElement.addEventListener("beforetoggle",this.handleBeforetoggle))}firstUpdated(t){super.firstUpdated(t),this.setAttribute("tabindex","-1"),this.addEventListener("pointerdown",this.handlePointerdown),this.addEventListener("pointerenter",this.closeOverlaysForRoot),this.hasAttribute("id")||(this.id=`sp-menu-item-${(0,at.l)()}`)}closeOverlaysForRoot(){var t;this.open||null==(t=this.menuData.parentMenu)||t.closeDescendentOverlays()}handleSubmenuClick(t){t.composedPath().includes(this.overlayElement)||this.openOverlay()}handleSubmenuFocus(){requestAnimationFrame((()=>{this.overlayElement.open=this.open}))}handlePointerenter(){if(this.leaveTimeout)return clearTimeout(this.leaveTimeout),void delete this.leaveTimeout;this.openOverlay()}handlePointerleave(){this.open&&!this.recentlyLeftChild&&(this.leaveTimeout=setTimeout((()=>{delete this.leaveTimeout,this.open=!1}),100))}handleSubmenuChange(t){var e;t.stopPropagation(),null==(e=this.menuData.selectionRoot)||e.selectOrToggleItem(this)}handleSubmenuPointerenter(){this.recentlyLeftChild=!0}async handleSubmenuPointerleave(){requestAnimationFrame((()=>{this.recentlyLeftChild=!1}))}handleSubmenuOpen(t){this.focused=!1;const e=t.composedPath().find((t=>t!==this.overlayElement&&"sp-overlay"===t.localName));this.overlayElement.parentOverlayToForceClose=e}cleanup(){this.open=!1,this.active=!1}async openOverlay(){!this.hasSubmenu||this.open||this.disabled||(this.open=!0,this.active=!0,this.setAttribute("aria-expanded","true"),this.addEventListener("sp-closed",this.cleanup,{once:!0}))}updateAriaSelected(){const t=this.getAttribute("role");"option"===t?this.setAttribute("aria-selected",this.selected?"true":"false"):("menuitemcheckbox"===t||"menuitemradio"===t)&&this.setAttribute("aria-checked",this.selected?"true":"false")}setRole(t){this.setAttribute("role",t),this.updateAriaSelected()}updated(t){var e,r;if(super.updated(t),t.has("label")&&(this.label||void 0!==t.get("label"))&&this.setAttribute("aria-label",this.label||""),t.has("active")&&(this.active||void 0!==t.get("active"))&&this.active&&(null==(e=this.menuData.selectionRoot)||e.closeDescendentOverlays()),this.anchorElement&&(this.anchorElement.addEventListener("focus",this.proxyFocus),this.anchorElement.tabIndex=-1),t.has("selected")&&this.updateAriaSelected(),t.has("hasSubmenu")&&(this.hasSubmenu||void 0!==t.get("hasSubmenu")))if(this.hasSubmenu){this.abortControllerSubmenu=new AbortController;const t={signal:this.abortControllerSubmenu.signal};this.addEventListener("click",this.handleSubmenuClick,t),this.addEventListener("pointerenter",this.handlePointerenter,t),this.addEventListener("pointerleave",this.handlePointerleave,t),this.addEventListener("sp-opened",this.handleSubmenuOpen,t)}else null==(r=this.abortControllerSubmenu)||r.abort()}connectedCallback(){super.connectedCallback(),this.triggerUpdate()}disconnectedCallback(){this.menuData.cleanupSteps.forEach((t=>t(this))),this.menuData={focusRoot:void 0,parentMenu:void 0,selectionRoot:void 0,cleanupSteps:[]},super.disconnectedCallback()}async triggerUpdate(){this.willDispatchUpdate||(this.willDispatchUpdate=!0,await new Promise((t=>requestAnimationFrame(t))),this.dispatchUpdate())}dispatchUpdate(){this.isConnected&&(this.dispatchEvent(new to(this)),this.willDispatchUpdate=!1)}}Qr([(0,f.MZ)({type:Boolean,reflect:!0})],eo.prototype,"active",2),Qr([(0,f.MZ)({type:Boolean,reflect:!0})],eo.prototype,"focused",2),Qr([(0,f.MZ)({type:Boolean,reflect:!0})],eo.prototype,"selected",2),Qr([(0,f.MZ)({type:String})],eo.prototype,"value",1),Qr([(0,f.MZ)({type:Boolean,reflect:!0,attribute:"has-submenu"})],eo.prototype,"hasSubmenu",2),Qr([(0,f.P)("slot:not([name])")],eo.prototype,"contentSlot",2),Qr([(0,f.P)('slot[name="icon"]')],eo.prototype,"iconSlot",2),Qr([(0,f.MZ)({type:Boolean,reflect:!0,attribute:"no-wrap",hasChanged:()=>!1})],eo.prototype,"noWrap",2),Qr([(0,f.P)(".anchor")],eo.prototype,"anchorElement",2),Qr([(0,f.P)("sp-overlay")],eo.prototype,"overlayElement",2),Qr([(0,f.MZ)({type:Boolean,reflect:!0})],eo.prototype,"open",2),(0,$.e)("sp-menu-item",eo);const ro=i.AH`
     :host{--spectrum-divider-thickness:var(--spectrum-divider-thickness-medium);--spectrum-divider-background-color:var(--spectrum-divider-background-color-medium);--spectrum-divider-background-color-small:var(--spectrum-gray-300);--spectrum-divider-background-color-medium:var(--spectrum-gray-300);--spectrum-divider-background-color-large:var(--spectrum-gray-800);--spectrum-divider-background-color-small-static-white:var(--spectrum-transparent-white-300);--spectrum-divider-background-color-medium-static-white:var(--spectrum-transparent-white-300);--spectrum-divider-background-color-large-static-white:var(--spectrum-transparent-white-800);--spectrum-divider-background-color-small-static-black:var(--spectrum-transparent-black-300);--spectrum-divider-background-color-medium-static-black:var(--spectrum-transparent-black-300);--spectrum-divider-background-color-large-static-black:var(--spectrum-transparent-black-800)}:host([size=s]){--spectrum-divider-thickness:var(--spectrum-divider-thickness-small);--spectrum-divider-background-color:var(--spectrum-divider-background-color-small)}:host{--spectrum-divider-thickness:var(--spectrum-divider-thickness-medium);--spectrum-divider-background-color:var(--spectrum-divider-background-color-medium)}:host([size=l]){--spectrum-divider-thickness:var(--spectrum-divider-thickness-large);--spectrum-divider-background-color:var(--spectrum-divider-background-color-large)}@media (forced-colors:active){:host,:host([size=l]),:host,:host([size=s]){--spectrum-divider-background-color:CanvasText;--spectrum-divider-background-color-small-static-white:CanvasText;--spectrum-divider-background-color-medium-static-white:CanvasText;--spectrum-divider-background-color-large-static-white:CanvasText;--spectrum-divider-background-color-small-static-black:CanvasText;--spectrum-divider-background-color-medium-static-black:CanvasText;--spectrum-divider-background-color-large-static-black:CanvasText}}:host{block-size:var(--mod-divider-thickness,var(--spectrum-divider-thickness));border:none;border-width:var(--mod-divider-thickness,var(--spectrum-divider-thickness));border-radius:var(--mod-divider-thickness,var(--spectrum-divider-thickness));background-color:var(--mod-divider-background-color,var(--spectrum-divider-background-color));inline-size:100%;overflow:visible}:host([static=white][size=s]){--spectrum-divider-background-color:var(--mod-divider-background-color-small-static-white,var(--spectrum-divider-background-color-small-static-white))}:host([static=white]){--spectrum-divider-background-color:var(--mod-divider-background-color-medium-static-white,var(--spectrum-divider-background-color-medium-static-white))}:host([static=white][size=l]){--spectrum-divider-background-color:var(--mod-divider-background-color-large-static-white,var(--spectrum-divider-background-color-large-static-white))}:host([static=black][size=s]){--spectrum-divider-background-color:var(--mod-divider-background-color-small-static-black,var(--spectrum-divider-background-color-small-static-black))}:host([static=black]){--spectrum-divider-background-color:var(--mod-divider-background-color-medium-static-black,var(--spectrum-divider-background-color-medium-static-black))}:host([static=black][size=l]){--spectrum-divider-background-color:var(--mod-divider-background-color-large-static-black,var(--spectrum-divider-background-color-large-static-black))}:host([vertical]){inline-size:var(--mod-divider-thickness,var(--spectrum-divider-thickness));margin-block:var(--mod-divider-vertical-margin);block-size:var(--mod-divider-vertical-height,100%);align-self:var(--mod-divider-vertical-align)}:host{display:block}hr{border:none;margin:0}
-`;var Xr=Object.defineProperty;Object.getOwnPropertyDescriptor;class Yr extends((0,w.Z)(m.w,{validSizes:["s","m","l"],noDefaultSize:!0})){constructor(){super(...arguments),this.vertical=!1}render(){return t.qy``}firstUpdated(t){super.firstUpdated(t),this.setAttribute("role","separator")}updated(t){super.updated(t),t.has("vertical")&&(this.vertical?this.setAttribute("aria-orientation","vertical"):this.removeAttribute("aria-orientation"))}}Yr.styles=[Gr],((t,e,r,o)=>{for(var s,c=void 0,a=t.length-1;a>=0;a--)(s=t[a])&&(c=s(e,r,c)||c);c&&Xr(e,r,c)})([(0,d.MZ)({type:Boolean,reflect:!0})],Yr.prototype,"vertical"),(0,x.e)("sp-divider",Yr);const Qr=t.AH`
+`;var oo=Object.defineProperty;Object.getOwnPropertyDescriptor;class so extends((0,A.Z)(v.w,{validSizes:["s","m","l"],noDefaultSize:!0})){constructor(){super(...arguments),this.vertical=!1}render(){return i.qy``}firstUpdated(t){super.firstUpdated(t),this.setAttribute("role","separator")}updated(t){super.updated(t),t.has("vertical")&&(this.vertical?this.setAttribute("aria-orientation","vertical"):this.removeAttribute("aria-orientation"))}}so.styles=[ro],((t,e,r,o)=>{for(var s,c=void 0,a=t.length-1;a>=0;a--)(s=t[a])&&(c=s(e,r,c)||c);c&&oo(e,r,c)})([(0,f.MZ)({type:Boolean,reflect:!0})],so.prototype,"vertical"),(0,$.e)("sp-divider",so);const co=i.AH`
     :host{--spectrum-helptext-line-height:var(--spectrum-line-height-100);--spectrum-helptext-content-color-default:var(--spectrum-neutral-subdued-content-color-default);--spectrum-helptext-icon-color-default:var(--spectrum-neutral-subdued-content-color-default);--spectrum-helptext-disabled-content-color:var(--spectrum-disabled-content-color)}:host([variant=neutral]){--spectrum-helptext-content-color-default:var(--spectrum-neutral-subdued-content-color-default);--spectrum-helptext-icon-color-default:var(--spectrum-neutral-subdued-content-color-default)}:host([variant=negative]){--spectrum-helptext-content-color-default:var(--spectrum-negative-color-900);--spectrum-helptext-icon-color-default:var(--spectrum-negative-color-900)}:host([disabled]){--spectrum-helptext-content-color-default:var(--spectrum-helptext-disabled-content-color);--spectrum-helptext-icon-color-default:var(--spectrum-helptext-disabled-content-color)}:host(:lang(ja)),:host(:lang(ko)),:host(:lang(zh)){--spectrum-helptext-line-height-cjk:var(--spectrum-cjk-line-height-100)}:host([size=s]){--spectrum-helptext-min-height:var(--spectrum-component-height-75);--spectrum-helptext-icon-size:var(--spectrum-workflow-icon-size-75);--spectrum-helptext-font-size:var(--spectrum-font-size-75);--spectrum-helptext-text-to-visual:var(--spectrum-text-to-visual-75);--spectrum-helptext-top-to-workflow-icon:var(--spectrum-help-text-top-to-workflow-icon-small);--spectrum-helptext-bottom-to-workflow-icon:var(--spectrum-helptext-top-to-workflow-icon);--spectrum-helptext-top-to-text:var(--spectrum-component-top-to-text-75);--spectrum-helptext-bottom-to-text:var(--spectrum-component-bottom-to-text-75)}:host{--spectrum-helptext-min-height:var(--spectrum-component-height-75);--spectrum-helptext-icon-size:var(--spectrum-workflow-icon-size-100);--spectrum-helptext-font-size:var(--spectrum-font-size-75);--spectrum-helptext-text-to-visual:var(--spectrum-text-to-visual-75);--spectrum-helptext-top-to-workflow-icon:var(--spectrum-help-text-top-to-workflow-icon-medium);--spectrum-helptext-bottom-to-workflow-icon:var(--spectrum-helptext-top-to-workflow-icon);--spectrum-helptext-top-to-text:var(--spectrum-component-top-to-text-75);--spectrum-helptext-bottom-to-text:var(--spectrum-component-bottom-to-text-75)}:host([size=l]){--spectrum-helptext-min-height:var(--spectrum-component-height-100);--spectrum-helptext-icon-size:var(--spectrum-workflow-icon-size-200);--spectrum-helptext-font-size:var(--spectrum-font-size-100);--spectrum-helptext-text-to-visual:var(--spectrum-text-to-visual-100);--spectrum-helptext-top-to-workflow-icon:var(--spectrum-help-text-top-to-workflow-icon-large);--spectrum-helptext-bottom-to-workflow-icon:var(--spectrum-helptext-top-to-workflow-icon);--spectrum-helptext-top-to-text:var(--spectrum-component-top-to-text-100);--spectrum-helptext-bottom-to-text:var(--spectrum-component-bottom-to-text-100)}:host([size=xl]){--spectrum-helptext-min-height:var(--spectrum-component-height-200);--spectrum-helptext-icon-size:var(--spectrum-workflow-icon-size-300);--spectrum-helptext-font-size:var(--spectrum-font-size-200);--spectrum-helptext-text-to-visual:var(--spectrum-text-to-visual-200);--spectrum-helptext-top-to-workflow-icon:var(--spectrum-help-text-top-to-workflow-icon-extra-large);--spectrum-helptext-bottom-to-workflow-icon:var(--spectrum-helptext-top-to-workflow-icon);--spectrum-helptext-top-to-text:var(--spectrum-component-top-to-text-200);--spectrum-helptext-bottom-to-text:var(--spectrum-component-bottom-to-text-200)}@media (forced-colors:active){:host{--highcontrast-helptext-content-color-default:CanvasText;--highcontrast-helptext-icon-color-default:CanvasText}:host,.text,.icon{forced-color-adjust:none}}:host{color:var(--highcontrast-helptext-content-color-default,var(--mod-helptext-content-color-default,var(--spectrum-helptext-content-color-default)));font-size:var(--mod-helptext-font-size,var(--spectrum-helptext-font-size));min-block-size:var(--mod-helptext-min-height,var(--spectrum-helptext-min-height));display:flex}.icon{block-size:var(--mod-helptext-icon-size,var(--spectrum-helptext-icon-size));inline-size:var(--mod-helptext-icon-size,var(--spectrum-helptext-icon-size));flex-shrink:0;margin-inline-end:var(--mod-helptext-text-to-visual,var(--spectrum-helptext-text-to-visual));padding-block-start:var(--mod-helptext-top-to-workflow-icon,var(--spectrum-helptext-top-to-workflow-icon));padding-block-end:var(--mod-helptext-bottom-to-workflow-icon,var(--spectrum-helptext-bottom-to-workflow-icon))}.text{line-height:var(--mod-helptext-line-height,var(--spectrum-helptext-line-height));padding-block-start:var(--mod-helptext-top-to-text,var(--spectrum-helptext-top-to-text));padding-block-end:var(--mod-helptext-bottom-to-text,var(--spectrum-helptext-bottom-to-text))}:host(:lang(ja)) .text,:host(:lang(ko)) .text,:host(:lang(zh)) .text{line-height:var(--mod-helptext-line-height-cjk,var(--spectrum-helptext-line-height-cjk))}:host([variant=neutral]) .text{color:var(--highcontrast-helptext-content-color-default,var(--mod-helptext-content-color-default,var(--spectrum-helptext-content-color-default)))}:host([variant=neutral]) .icon{color:var(--highcontrast-helptext-icon-color-default,var(--mod-helptext-icon-color-default,var(--spectrum-helptext-icon-color-default)))}:host([variant=negative]) .text{color:var(--highcontrast-helptext-content-color-default,var(--mod-helptext-content-color-default,var(--spectrum-helptext-content-color-default)))}:host([variant=negative]) .icon{color:var(--highcontrast-helptext-icon-color-default,var(--mod-helptext-icon-color-default,var(--spectrum-helptext-icon-color-default)))}:host([disabled]) .text{color:var(--highcontrast-helptext-content-color-default,var(--mod-helptext-content-color-default,var(--spectrum-helptext-content-color-default)))}:host([disabled]) .icon{color:var(--highcontrast-helptext-icon-color-default,var(--mod-helptext-icon-color-default,var(--spectrum-helptext-icon-color-default)))}
-`;var to=Object.defineProperty,eo=Object.getOwnPropertyDescriptor,ro=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?eo(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&to(e,r,c),c};class oo extends((0,w.Z)(m.w,{noDefaultSize:!0})){constructor(){super(...arguments),this.icon=!1,this.variant="neutral"}static get styles(){return[Qr]}render(){return t.qy`
-            ${"negative"===this.variant&&this.icon?t.qy`
+`;var ao=Object.defineProperty,io=Object.getOwnPropertyDescriptor,no=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?io(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&ao(e,r,c),c};class lo extends((0,A.Z)(v.w,{noDefaultSize:!0})){constructor(){super(...arguments),this.icon=!1,this.variant="neutral"}static get styles(){return[co]}render(){return i.qy`
+            ${"negative"===this.variant&&this.icon?i.qy`
                       <sp-icon-alert class="icon"></sp-icon-alert>
-                  `:t.s6}
+                  `:i.s6}
             <div class="text"><slot></slot></div>
-        `}}ro([(0,d.MZ)({type:Boolean,reflect:!0})],oo.prototype,"icon",2),ro([(0,d.MZ)({reflect:!0})],oo.prototype,"variant",2),(0,x.e)("sp-help-text",oo);const so=t.AH`
+        `}}no([(0,f.MZ)({type:Boolean,reflect:!0})],lo.prototype,"icon",2),no([(0,f.MZ)({reflect:!0})],lo.prototype,"variant",2),(0,$.e)("sp-help-text",lo);const uo=i.AH`
     :host{--spectrum-accordion-item-height:var(--spectrum-component-height-200);--spectrum-accordion-item-width:var(--spectrum-accordion-minimum-width);--spectrum-accordion-disclosure-indicator-height:var(--spectrum-component-height-100);--spectrum-accordion-disclosure-indicator-to-text-space:var(--spectrum-accordion-disclosure-indicator-to-text);--spectrum-accordion-edge-to-disclosure-indicator-space:var(--spectrum-accordion-edge-to-disclosure-indicator);--spectrum-accordion-edge-to-text-space:var(--spectrum-accordion-edge-to-text);--spectrum-accordion-item-header-top-to-text-space:var(--spectrum-accordion-top-to-text-regular-medium);--spectrum-accordion-item-header-bottom-to-text-space:var(--spectrum-accordion-bottom-to-text-regular-medium);--spectrum-accordion-focus-indicator-gap:var(--spectrum-focus-indicator-gap);--spectrum-accordion-focus-indicator-thickness:var(--spectrum-focus-indicator-thickness);--spectrum-accordion-corner-radius:var(--spectrum-corner-radius-100);--spectrum-accordion-item-content-area-top-to-content:var(--spectrum-accordion-content-area-top-to-content);--spectrum-accordion-item-content-area-bottom-to-content:var(--spectrum-accordion-content-area-bottom-to-content);--spectrum-accordion-component-edge-to-text:var(--spectrum-component-edge-to-text-75);--spectrum-accordion-item-header-font:var(--spectrum-sans-font-family-stack);--spectrum-accordion-item-header-font-weight:var(--spectrum-bold-font-weight);--spectrum-accordion-item-header-font-style:var(--spectrum-default-font-style);--spectrum-accordion-item-header-font-size:var(--spectrum-font-size-300);--spectrum-accordion-item-header-line-height:1.25;--spectrum-accordion-item-content-font:var(--spectrum-sans-font-family-stack);--spectrum-accordion-item-content-font-weight:var(--spectrum-body-sans-serif-font-weight);--spectrum-accordion-item-content-font-style:var(--spectrum-body-sans-serif-font-style);--spectrum-accordion-item-content-font-size:var(--spectrum-body-size-s);--spectrum-accordion-item-content-line-height:var(--spectrum-line-height-100);--spectrum-accordion-background-color-default:rgba(var(--spectrum-gray-900-rgb),var(--spectrum-background-opacity-default));--spectrum-accordion-background-color-hover:rgba(var(--spectrum-gray-900-rgb),var(--spectrum-background-opacity-hover));--spectrum-accordion-background-color-down:rgba(var(--spectrum-gray-900-rgb),var(--spectrum-background-opacity-down));--spectrum-accordion-background-color-key-focus:rgba(var(--spectrum-gray-900-rgb),var(--spectrum-background-opacity-key-focus));--spectrum-accordion-item-header-color-default:var(--spectrum-neutral-content-color-default);--spectrum-accordion-item-header-color-hover:var(--spectrum-neutral-content-color-hover);--spectrum-accordion-item-header-color-down:var(--spectrum-neutral-content-color-down);--spectrum-accordion-item-header-color-key-focus:var(--spectrum-neutral-content-color-key-focus);--spectrum-accordion-item-header-disabled-color:var(--spectrum-disabled-content-color);--spectrum-accordion-item-content-disabled-color:var(--spectrum-disabled-content-color);--spectrum-accordion-item-content-color:var(--spectrum-body-color);--spectrum-accordion-focus-indicator-color:var(--spectrum-focus-indicator-color);--spectrum-accordion-divider-color:var(--spectrum-gray-300);--spectrum-accordion-min-block-size:max(var(--mod-accordion-item-height,var(--spectrum-accordion-item-height)),calc(var(--mod-accordion-item-header-top-to-text-space,var(--spectrum-accordion-item-header-top-to-text-space)) + var(--mod-accordion-item-header-bottom-to-text-space,var(--spectrum-accordion-item-header-bottom-to-text-space)) + var(--mod-accordion-item-header-font-size,var(--spectrum-accordion-item-header-font-size))*var(--mod-accordion-item-header-line-height,var(--spectrum-accordion-item-header-line-height))))}:host:dir(rtl),:host([dir=rtl]){--spectrum-logical-rotation:matrix(-1,0,0,1,0,0)}:host:lang(ja),:host:lang(ko),:host:lang(zh){--spectrum-accordion-item-header-line-height:var(--spectrum-cjk-line-height-100);--spectrum-accordion-item-content-line-height:var(--spectrum-cjk-line-height-100)}:host([density=compact]){--spectrum-accordion-item-height:var(--spectrum-component-height-100);--spectrum-accordion-item-header-top-to-text-space:var(--spectrum-accordion-top-to-text-compact-medium);--spectrum-accordion-item-header-bottom-to-text-space:var(--spectrum-accordion-bottom-to-text-compact-medium)}:host([density=compact][size=s]){--spectrum-accordion-item-height:var(--spectrum-component-height-75);--spectrum-accordion-item-header-top-to-text-space:var(--spectrum-accordion-top-to-text-compact-small);--spectrum-accordion-item-header-bottom-to-text-space:var(--spectrum-accordion-bottom-to-text-compact-small)}:host([density=compact][size=l]){--spectrum-accordion-item-height:var(--spectrum-component-height-200);--spectrum-accordion-item-header-top-to-text-space:var(--spectrum-accordion-top-to-text-compact-large);--spectrum-accordion-item-header-bottom-to-text-space:var(--spectrum-accordion-bottom-to-text-compact-large)}:host([density=compact][size=xl]){--spectrum-accordion-item-height:var(--spectrum-component-height-300);--spectrum-accordion-item-header-top-to-text-space:var(--spectrum-accordion-top-to-text-compact-extra-large);--spectrum-accordion-item-header-bottom-to-text-space:var(--spectrum-accordion-bottom-to-text-compact-extra-large)}:host([density=spacious]){--spectrum-accordion-item-header-line-height:1.278;--spectrum-accordion-item-header-top-to-text-space:var(--spectrum-accordion-top-to-text-spacious-medium);--spectrum-accordion-item-header-bottom-to-text-space:var(--spectrum-accordion-bottom-to-text-spacious-medium)}:host([density=spacious][size=s]){--spectrum-accordion-item-header-line-height:1.25;--spectrum-accordion-item-header-top-to-text-space:var(--spectrum-accordion-small-top-to-text-spacious);--spectrum-accordion-item-header-bottom-to-text-space:var(--spectrum-accordion-bottom-to-text-spacious-small)}:host([density=spacious][size=l]){--spectrum-accordion-item-header-line-height:1.273;--spectrum-accordion-item-header-top-to-text-space:var(--spectrum-accordion-top-to-text-spacious-large);--spectrum-accordion-item-header-bottom-to-text-space:var(--spectrum-accordion-bottom-to-text-spacious-large)}:host([density=spacious][size=xl]){--spectrum-accordion-item-header-line-height:1.25;--spectrum-accordion-item-header-top-to-text-space:var(--spectrum-accordion-top-to-text-spacious-extra-large);--spectrum-accordion-item-header-bottom-to-text-space:var(--spectrum-accordion-bottom-to-text-spacious-extra-large)}:host([size=s]){--spectrum-accordion-item-height:var(--spectrum-component-height-100);--spectrum-accordion-disclosure-indicator-height:var(--spectrum-component-height-75);--spectrum-accordion-component-edge-to-text:var(--spectrum-component-edge-to-text-50);--spectrum-accordion-item-header-font-size:var(--spectrum-font-size-200);--spectrum-accordion-item-content-font-size:var(--spectrum-body-size-xs);--spectrum-accordion-item-header-top-to-text-space:var(--spectrum-accordion-top-to-text-regular-small);--spectrum-accordion-item-header-bottom-to-text-space:var(--spectrum-accordion-bottom-to-text-regular-small)}:host([size=l]){--spectrum-accordion-item-height:var(--spectrum-component-height-300);--spectrum-accordion-disclosure-indicator-height:var(--spectrum-component-height-200);--spectrum-accordion-component-edge-to-text:var(--spectrum-component-edge-to-text-100);--spectrum-accordion-item-header-font-size:var(--spectrum-font-size-500);--spectrum-accordion-item-content-font-size:var(--spectrum-body-size-m);--spectrum-accordion-item-header-top-to-text-space:var(--spectrum-accordion-top-to-text-regular-large);--spectrum-accordion-item-header-bottom-to-text-space:var(--spectrum-accordion-bottom-to-text-regular-large)}:host([size=xl]){--spectrum-accordion-item-height:var(--spectrum-component-height-400);--spectrum-accordion-disclosure-indicator-height:var(--spectrum-component-height-300);--spectrum-accordion-component-edge-to-text:var(--spectrum-component-edge-to-text-200);--spectrum-accordion-item-header-font-size:var(--spectrum-font-size-700);--spectrum-accordion-item-content-font-size:var(--spectrum-body-size-l);--spectrum-accordion-item-header-top-to-text-space:var(--spectrum-accordion-top-to-text-regular-extra-large);--spectrum-accordion-item-header-bottom-to-text-space:var(--spectrum-accordion-bottom-to-text-regular-extra-large)}:host{margin:0;padding:0;list-style:none;display:block}:host{--spectrum-logical-rotation: }
-`;var co=Object.defineProperty,ao=Object.getOwnPropertyDescriptor,io=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?ao(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&co(e,r,c),c};class no extends((0,w.Z)(m.w,{noDefaultSize:!0})){constructor(){super(...arguments),this.allowMultiple=!1,this.focusGroupController=new D(this,{direction:"vertical",elements:()=>this.items,isFocusableElement:t=>!t.disabled})}static get styles(){return[so]}get items(){return[...this.defaultNodes||[]].filter((t=>void 0!==t.tagName))}focus(){this.focusGroupController.focus()}async onToggle(t){const e=t.target;if(await 0,this.allowMultiple||t.defaultPrevented)return;const r=[...this.items];r&&!r.length||r.forEach((t=>{t!==e&&(t.open=!1)}))}handleSlotchange(){this.focusGroupController.clearElementCache(),this.items.forEach((t=>{t.size=this.size}))}updated(t){super.updated(t),t.has("size")&&(t.get("size")||"m"!==this.size)&&this.items.forEach((t=>{t.size=this.size}))}render(){return t.qy`
+`;var mo=Object.defineProperty,po=Object.getOwnPropertyDescriptor,ho=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?po(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&mo(e,r,c),c};class bo extends((0,A.Z)(v.w,{noDefaultSize:!0})){constructor(){super(...arguments),this.allowMultiple=!1,this.focusGroupController=new R(this,{direction:"vertical",elements:()=>this.items,isFocusableElement:t=>!t.disabled})}static get styles(){return[uo]}get items(){return[...this.defaultNodes||[]].filter((t=>void 0!==t.tagName))}focus(){this.focusGroupController.focus()}async onToggle(t){const e=t.target;if(await 0,this.allowMultiple||t.defaultPrevented)return;const r=[...this.items];r&&!r.length||r.forEach((t=>{t!==e&&(t.open=!1)}))}handleSlotchange(){this.focusGroupController.clearElementCache(),this.items.forEach((t=>{t.size=this.size}))}updated(t){super.updated(t),t.has("size")&&(t.get("size")||"m"!==this.size)&&this.items.forEach((t=>{t.size=this.size}))}render(){return i.qy`
             <slot
                 @slotchange=${this.handleSlotchange}
                 @sp-accordion-item-toggle=${this.onToggle}
             ></slot>
-        `}}io([(0,d.MZ)({type:Boolean,reflect:!0,attribute:"allow-multiple"})],no.prototype,"allowMultiple",2),io([(0,d.MZ)({type:String,reflect:!0})],no.prototype,"density",2),io([(0,d.gZ)()],no.prototype,"defaultNodes",2),(0,x.e)("sp-accordion",no);const lo=t.AH`
-    :host{z-index:inherit;min-block-size:var(--mod-accordion-item-height,var(--spectrum-accordion-item-height));min-inline-size:var(--mod-accordion-item-width,var(--spectrum-accordion-item-width));border-block-end:1px solid #0000;border-color:var(--mod-accordion-divider-color,var(--spectrum-accordion-divider-color));border-width:var(--mod-accordion-divider-thickness,var(--spectrum-divider-thickness-small));margin:0;position:relative}:host(:first-child){border-block-start:1px solid #0000;border-color:var(--mod-accordion-divider-color,var(--spectrum-accordion-divider-color));border-width:var(--mod-accordion-divider-thickness,var(--spectrum-divider-thickness-small))}#heading{box-sizing:border-box;margin:0;position:relative}.iconContainer{inline-size:var(--mod-accordion-disclosure-indicator-height,var(--spectrum-accordion-disclosure-indicator-height));block-size:var(--mod-accordion-disclosure-indicator-height,var(--spectrum-accordion-disclosure-indicator-height));color:var(--mod-accordion-item-header-color-default,var(--spectrum-accordion-item-header-color-default));justify-content:center;align-items:center;padding-inline-start:var(--mod-accordion-edge-to-disclosure-indicator-space,var(--spectrum-accordion-edge-to-disclosure-indicator-space));display:flex;position:absolute;inset-block-start:max(0px,calc(( var(--mod-accordion-min-block-size,var(--spectrum-accordion-min-block-size)) - var(--mod-accordion-disclosure-indicator-height,var(--spectrum-accordion-disclosure-indicator-height)))/2))}.iconContainer:dir(rtl),:host([dir=rtl]) .iconContainer{transform:scaleX(-1)}#content{padding-block:var(--mod-accordion-item-content-area-top-to-content,var(--spectrum-accordion-item-content-area-top-to-content))var(--mod-accordion-item-content-area-bottom-to-content,var(--spectrum-accordion-item-content-area-bottom-to-content));padding-inline:var(--mod-accordion-component-edge-to-text,var(--spectrum-accordion-component-edge-to-text))var(--mod-accordion-component-edge-to-text,var(--spectrum-accordion-component-edge-to-text));color:var(--mod-accordion-item-content-color,var(--spectrum-accordion-item-content-color));font-weight:var(--mod-accordion-item-content-font-weight,var(--spectrum-accordion-item-content-font-weight));font-style:var(--mod-accordion-item-content-font-style,var(--spectrum-accordion-item-content-font-style));font-size:var(--mod-accordion-item-content-font-size,var(--spectrum-accordion-item-content-font-size));font-family:var(--mod-accordion-item-content-font,var(--spectrum-accordion-item-content-font));line-height:var(--mod-accordion-item-content-line-height,var(--spectrum-accordion-item-content-line-height));display:none}#header{box-sizing:border-box;padding-block:var(--mod-accordion-item-header-top-to-text-space,var(--spectrum-accordion-item-header-top-to-text-space))var(--mod-accordion-item-header-bottom-to-text-space,var(--spectrum-accordion-item-header-bottom-to-text-space));min-block-size:var(--mod-accordion-min-block-size,var(--spectrum-accordion-min-block-size));line-height:var(--mod-accordion-item-header-line-height,var(--spectrum-accordion-item-header-line-height));text-overflow:ellipsis;cursor:pointer;font-size:var(--mod-accordion-item-header-font-size,var(--spectrum-accordion-item-header-font-size));font-weight:var(--mod-accordion-item-header-font-weight,var(--spectrum-accordion-item-header-font-weight));font-style:var(--mod-accordion-item-header-font-style,var(--spectrum-accordion-item-header-font-style));font-family:var(--mod-accordion-item-header-font,var(--spectrum-accordion-item-header-font));appearance:none;text-align:start;color:var(--mod-accordion-item-header-color-default,var(--spectrum-accordion-item-header-color-default));background-color:var(--mod-accordion-background-color-default,var(--spectrum-accordion-background-color-default));border:0;justify-content:flex-start;align-items:center;inline-size:100%;padding-inline-start:calc(var(--mod-accordion-disclosure-indicator-to-text-space,var(--spectrum-accordion-disclosure-indicator-to-text-space)) + var(--mod-accordion-disclosure-indicator-height,var(--spectrum-accordion-disclosure-indicator-height)));padding-inline-end:var(--mod-accordion-edge-to-text-space,var(--spectrum-accordion-edge-to-text-space));display:flex;position:relative}#header:focus{outline:none}#header:focus:after{content:"";position:absolute;inset-inline-start:0}#header:focus-visible{border-radius:var(--mod-accordion-corner-radius,var(--spectrum-accordion-corner-radius));outline:var(--mod-accordion-focus-indicator-thickness,var(--spectrum-accordion-focus-indicator-thickness))solid var(--mod-accordion-focus-indicator-color,var(--spectrum-accordion-focus-indicator-color));background-color:var(--mod-accordion-background-color-key-focus,var(--spectrum-accordion-background-color-key-focus));color:var(--mod-accordion-item-header-color-key-focus,var(--spectrum-accordion-item-header-color-key-focus));outline-offset:calc(var(--mod-accordion-focus-indicator-gap,var(--spectrum-accordion-focus-indicator-gap))*-1)}#header:active{background-color:var(--mod-accordion-background-color-down,var(--spectrum-accordion-background-color-down));color:var(--mod-accordion-item-header-color-down,var(--spectrum-accordion-item-header-color-down))}:host([disabled]) #header,:host([disabled]) #header:focus-visible{color:var(--mod-accordion-item-header-disabled-color,var(--spectrum-accordion-item-header-disabled-color));background-color:initial}@media (hover:hover){#header:hover{color:var(--mod-accordion-item-header-color-hover,var(--spectrum-accordion-item-header-color-hover));background-color:var(--mod-accordion-background-color-hover,var(--spectrum-accordion-background-color-hover))}#header:hover+.iconContainer{color:var(--mod-accordion-item-header-color-hover,var(--spectrum-accordion-item-header-color-hover))}:host([open]) #header:hover{background-color:var(--mod-accordion-background-color-hover,var(--spectrum-accordion-background-color-hover))}:host([disabled]) #header:hover{color:var(--mod-accordion-item-header-disabled-color,var(--spectrum-accordion-item-header-disabled-color));background-color:initial}}:host([disabled]) #header+.iconContainer{color:var(--mod-accordion-item-header-disabled-color,var(--spectrum-accordion-item-header-disabled-color))}:host([disabled]) #content{color:var(--mod-accordion-item-content-disabled-color,var(--spectrum-accordion-item-content-disabled-color))}@media (forced-colors:active){#header:after{forced-color-adjust:none;content:"";position:absolute;inset-inline-start:0}}:host([open])>#heading>.iconContainer>.indicator,:host([open])>.iconContainer>.indicator{transform:var(--spectrum-logical-rotation,)rotate(90deg)}:host([open])>#content{display:block}:host([disabled]) #header{cursor:default}:host{display:block}#heading{height:auto;position:relative}:host([disabled]) #heading .indicator{color:var(--mod-accordion-item-header-disabled-color,var(--spectrum-accordion-item-header-disabled-color))}
-`;var uo=Object.defineProperty,mo=Object.getOwnPropertyDescriptor,po=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?mo(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&uo(e,r,c),c};const ho={s:()=>t.qy`
+        `}}ho([(0,f.MZ)({type:Boolean,reflect:!0,attribute:"allow-multiple"})],bo.prototype,"allowMultiple",2),ho([(0,f.MZ)({type:String,reflect:!0})],bo.prototype,"density",2),ho([(0,f.gZ)()],bo.prototype,"defaultNodes",2),(0,$.e)("sp-accordion",bo);const go=i.AH`
+    :host{z-index:inherit;min-block-size:var(--mod-accordion-item-height,var(--spectrum-accordion-item-height));min-inline-size:var(--mod-accordion-item-width,var(--spectrum-accordion-item-width));border-block-end:1px solid #0000;border-color:var(--mod-accordion-divider-color,var(--spectrum-accordion-divider-color));border-width:var(--mod-accordion-divider-thickness,var(--spectrum-divider-thickness-small));margin:0;position:relative}:host(:first-child){border-block-start:1px solid #0000;border-color:var(--mod-accordion-divider-color,var(--spectrum-accordion-divider-color));border-width:var(--mod-accordion-divider-thickness,var(--spectrum-divider-thickness-small))}#heading{box-sizing:border-box;margin:0;position:relative}.iconContainer{inline-size:var(--mod-accordion-disclosure-indicator-height,var(--spectrum-accordion-disclosure-indicator-height));block-size:var(--mod-accordion-disclosure-indicator-height,var(--spectrum-accordion-disclosure-indicator-height));color:var(--mod-accordion-item-header-color-default,var(--spectrum-accordion-item-header-color-default));justify-content:center;align-items:center;padding-inline-start:var(--mod-accordion-edge-to-disclosure-indicator-space,var(--spectrum-accordion-edge-to-disclosure-indicator-space));display:flex;position:absolute;inset-block-start:max(0px,calc(( var(--mod-accordion-min-block-size,var(--spectrum-accordion-min-block-size)) - var(--mod-accordion-disclosure-indicator-height,var(--spectrum-accordion-disclosure-indicator-height)))/2))}.iconContainer:dir(rtl),:host([dir=rtl]) .iconContainer{transform:scaleX(-1)}#content{padding-block:var(--mod-accordion-item-content-area-top-to-content,var(--spectrum-accordion-item-content-area-top-to-content))var(--mod-accordion-item-content-area-bottom-to-content,var(--spectrum-accordion-item-content-area-bottom-to-content));padding-inline:var(--mod-accordion-component-edge-to-text,var(--spectrum-accordion-component-edge-to-text))var(--mod-accordion-component-edge-to-text,var(--spectrum-accordion-component-edge-to-text));color:var(--mod-accordion-item-content-color,var(--spectrum-accordion-item-content-color));font-weight:var(--mod-accordion-item-content-font-weight,var(--spectrum-accordion-item-content-font-weight));font-style:var(--mod-accordion-item-content-font-style,var(--spectrum-accordion-item-content-font-style));font-size:var(--mod-accordion-item-content-font-size,var(--spectrum-accordion-item-content-font-size));font-family:var(--mod-accordion-item-content-font,var(--spectrum-accordion-item-content-font));line-height:var(--mod-accordion-item-content-line-height,var(--spectrum-accordion-item-content-line-height));display:none}#header{box-sizing:border-box;padding-block:var(--mod-accordion-item-header-top-to-text-space,var(--spectrum-accordion-item-header-top-to-text-space))var(--mod-accordion-item-header-bottom-to-text-space,var(--spectrum-accordion-item-header-bottom-to-text-space));min-block-size:var(--mod-accordion-min-block-size,var(--spectrum-accordion-min-block-size));line-height:var(--mod-accordion-item-header-line-height,var(--spectrum-accordion-item-header-line-height));text-overflow:ellipsis;cursor:pointer;font-size:var(--mod-accordion-item-header-font-size,var(--spectrum-accordion-item-header-font-size));font-weight:var(--mod-accordion-item-header-font-weight,var(--spectrum-accordion-item-header-font-weight));font-style:var(--mod-accordion-item-header-font-style,var(--spectrum-accordion-item-header-font-style));font-family:var(--mod-accordion-item-header-font,var(--spectrum-accordion-item-header-font));appearance:none;text-align:start;color:var(--mod-accordion-item-header-color-default,var(--spectrum-accordion-item-header-color-default));background-color:var(--mod-accordion-background-color-default,var(--spectrum-accordion-background-color-default));border:0;justify-content:flex-start;align-items:center;inline-size:100%;padding-inline-start:calc(var(--mod-accordion-disclosure-indicator-to-text-space,var(--spectrum-accordion-disclosure-indicator-to-text-space)) + var(--mod-accordion-disclosure-indicator-height,var(--spectrum-accordion-disclosure-indicator-height)));padding-inline-end:var(--mod-accordion-edge-to-text-space,var(--spectrum-accordion-edge-to-text-space));display:flex;position:relative}#header:focus{outline:none}#header:focus:after{content:"";position:absolute;inset-inline-start:0}#header:focus-visible{border-radius:var(--mod-accordion-corner-radius,var(--spectrum-accordion-corner-radius));outline:var(--mod-accordion-focus-indicator-thickness,var(--spectrum-accordion-focus-indicator-thickness))solid var(--mod-accordion-focus-indicator-color,var(--spectrum-accordion-focus-indicator-color));background-color:var(--mod-accordion-background-color-key-focus,var(--spectrum-accordion-background-color-key-focus));color:var(--mod-accordion-item-header-color-key-focus,var(--spectrum-accordion-item-header-color-key-focus));outline-offset:calc(var(--mod-accordion-focus-indicator-gap,var(--spectrum-accordion-focus-indicator-gap))*-1)}#header:active{background-color:var(--mod-accordion-background-color-down,var(--spectrum-accordion-background-color-down));color:var(--mod-accordion-item-header-color-down,var(--spectrum-accordion-item-header-color-down))}:host([disabled]) #header,:host([disabled]) #header:focus-visible{color:var(--mod-accordion-item-header-disabled-color,var(--spectrum-accordion-item-header-disabled-color));background-color:initial}@media (hover:hover){#header:hover{background-color:var(--mod-accordion-background-color-hover,var(--spectrum-accordion-background-color-hover))}#header:hover,#header:hover+.iconContainer{color:var(--mod-accordion-item-header-color-hover,var(--spectrum-accordion-item-header-color-hover))}:host([open]) #header:hover{background-color:var(--mod-accordion-background-color-hover,var(--spectrum-accordion-background-color-hover))}:host([disabled]) #header:hover{color:var(--mod-accordion-item-header-disabled-color,var(--spectrum-accordion-item-header-disabled-color));background-color:initial}}:host([disabled]) #header+.iconContainer{color:var(--mod-accordion-item-header-disabled-color,var(--spectrum-accordion-item-header-disabled-color))}:host([disabled]) #content{color:var(--mod-accordion-item-content-disabled-color,var(--spectrum-accordion-item-content-disabled-color))}@media (forced-colors:active){#header:after{forced-color-adjust:none;content:"";position:absolute;inset-inline-start:0}}:host([open])>#heading>.iconContainer>.indicator,:host([open])>.iconContainer>.indicator{transform:var(--spectrum-logical-rotation,)rotate(90deg)}:host([open])>#content{display:block}:host([disabled]) #header{cursor:default}:host{display:block}#heading{height:auto;position:relative}:host([disabled]) #heading .indicator{color:var(--mod-accordion-item-header-disabled-color,var(--spectrum-accordion-item-header-disabled-color))}
+`;var vo=Object.defineProperty,fo=Object.getOwnPropertyDescriptor,ko=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?fo(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&vo(e,r,c),c};const yo={s:()=>i.qy`
         <span class="iconContainer">
             <sp-icon-chevron100
                 class="indicator spectrum-UIIcon-ChevronRight75"
                 slot="icon"
             ></sp-icon-chevron100>
         </span>
-    `,m:()=>t.qy`
+    `,m:()=>i.qy`
         <span class="iconContainer">
             <sp-icon-chevron100
                 class="indicator spectrum-UIIcon-ChevronRight100"
                 slot="icon"
             ></sp-icon-chevron100>
         </span>
-    `,l:()=>t.qy`
+    `,l:()=>i.qy`
         <span class="iconContainer">
             <sp-icon-chevron100
                 class="indicator spectrum-UIIcon-ChevronRight200"
                 slot="icon"
             ></sp-icon-chevron100>
         </span>
-    `,xl:()=>t.qy`
+    `,xl:()=>i.qy`
         <span class="iconContainer">
             <sp-icon-chevron100
                 class="indicator spectrum-UIIcon-ChevronRight300"
                 slot="icon"
             ></sp-icon-chevron100>
         </span>
-    `};class bo extends((0,w.Z)(H,{noDefaultSize:!0})){constructor(){super(...arguments),this.open=!1,this.label="",this.disabled=!1,this.renderChevronIcon=()=>ho[this.size||"m"]()}static get styles(){return[lo,Ue]}get focusElement(){return this.shadowRoot.querySelector("#header")}onClick(){this.disabled||this.toggle()}toggle(){this.open=!this.open,this.dispatchEvent(new CustomEvent("sp-accordion-item-toggle",{bubbles:!0,composed:!0,cancelable:!0}))||(this.open=!this.open)}render(){return t.qy`
+    `};class xo extends((0,A.Z)(B,{noDefaultSize:!0})){constructor(){super(...arguments),this.open=!1,this.label="",this.disabled=!1,this.renderChevronIcon=()=>yo[this.size||"m"]()}static get styles(){return[go,Ve]}get focusElement(){return this.shadowRoot.querySelector("#header")}onClick(){this.disabled||this.toggle()}toggle(){this.open=!this.open,this.dispatchEvent(new CustomEvent("sp-accordion-item-toggle",{bubbles:!0,composed:!0,cancelable:!0}))||(this.open=!this.open)}render(){return i.qy`
             <h3 id="heading">
-                ${Ht(this.size,this.renderChevronIcon)}
+                ${Bt(this.size,this.renderChevronIcon)}
                 <button
                     id="header"
                     @click=${this.onClick}
@@ -932,22 +932,22 @@ governing permissions and limitations under the License.
             <div id="content" role="region" aria-labelledby="header">
                 <slot></slot>
             </div>
-        `}updated(t){super.updated(t),t.has("disabled")&&(this.disabled?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled"))}}po([(0,d.MZ)({type:Boolean,reflect:!0})],bo.prototype,"open",2),po([(0,d.MZ)({type:String,reflect:!0})],bo.prototype,"label",2),po([(0,d.MZ)({type:Boolean,reflect:!0})],bo.prototype,"disabled",2),(0,x.e)("sp-accordion-item",bo);const go=t.AH`
+        `}updated(t){super.updated(t),t.has("disabled")&&(this.disabled?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled"))}}ko([(0,f.MZ)({type:Boolean,reflect:!0})],xo.prototype,"open",2),ko([(0,f.MZ)({type:String,reflect:!0})],xo.prototype,"label",2),ko([(0,f.MZ)({type:Boolean,reflect:!0})],xo.prototype,"disabled",2),(0,$.e)("sp-accordion-item",xo);const wo=i.AH`
     :host{--spectrum-sidenav-focus-ring-size:var(--spectrum-focus-indicator-thickness);--spectrum-sidenav-focus-ring-gap:var(--spectrum-focus-indicator-gap);--spectrum-sidenav-focus-ring-color:var(--spectrum-focus-indicator-color);--spectrum-sidenav-min-height:var(--spectrum-component-height-100);--spectrum-sidenav-width:100%;--spectrum-sidenav-min-width:var(--spectrum-side-navigation-minimum-width);--spectrum-sidenav-max-width:var(--spectrum-side-navigation-maximum-width);--spectrum-sidenav-border-radius:var(--spectrum-corner-radius-100);--spectrum-sidenav-icon-size:var(--spectrum-workflow-icon-size-100);--spectrum-sidenav-icon-spacing:var(--spectrum-text-to-visual-100);--spectrum-sidenav-inline-padding:var(--spectrum-component-edge-to-text-100);--spectrum-sidenav-gap:var(--spectrum-side-navigation-item-to-item);--spectrum-sidenav-top-to-icon:var(--spectrum-component-top-to-workflow-icon-100);--spectrum-sidenav-top-to-label:var(--spectrum-component-top-to-text-100);--spectrum-sidenav-bottom-to-label:var(--spectrum-side-navigation-bottom-to-text);--spectrum-sidenav-start-to-content-second-level:var(--spectrum-side-navigation-second-level-edge-to-text);--spectrum-sidenav-start-to-content-third-level:var(--spectrum-side-navigation-third-level-edge-to-text);--spectrum-sidenav-start-to-content-with-icon-second-level:var(--spectrum-side-navigation-with-icon-second-level-edge-to-text);--spectrum-sidenav-start-to-content-with-icon-third-level:var(--spectrum-side-navigation-with-icon-third-level-edge-to-text);--spectrum-sidenav-heading-top-margin:var(--spectrum-side-navigation-item-to-header);--spectrum-sidenav-heading-bottom-margin:var(--spectrum-side-navigation-header-to-item);--spectrum-sidenav-background-disabled:transparent;--spectrum-sidenav-background-default:transparent;--spectrum-sidenav-background-hover:var(--spectrum-gray-200);--spectrum-sidenav-item-background-down:var(--spectrum-gray-300);--spectrum-sidenav-background-key-focus:var(--spectrum-gray-200);--spectrum-sidenav-item-background-default-selected:var(--spectrum-gray-200);--spectrum-sidenav-background-hover-selected:var(--spectrum-gray-300);--spectrum-sidenav-item-background-down-selected:var(--spectrum-gray-300);--spectrum-sidenav-background-key-focus-selected:var(--spectrum-gray-200);--spectrum-sidenav-header-color:var(--spectrum-gray-600);--spectrum-sidenav-content-disabled-color:var(--spectrum-disabled-content-color);--spectrum-sidenav-content-color-default:var(--spectrum-neutral-content-color-default);--spectrum-sidenav-content-color-hover:var(--spectrum-neutral-content-color-hover);--spectrum-sidenav-content-color-down:var(--spectrum-neutral-content-color-down);--spectrum-sidenav-content-color-key-focus:var(--spectrum-neutral-content-color-key-focus);--spectrum-sidenav-content-color-default-selected:var(--spectrum-neutral-content-color-default);--spectrum-sidenav-content-color-hover-selected:var(--spectrum-neutral-content-color-hover);--spectrum-sidenav-content-color-down-selected:var(--spectrum-neutral-content-color-down);--spectrum-sidenav-content-color-key-focus-selected:var(--spectrum-neutral-content-color-key-focus);--spectrum-sidenav-text-font-family:var(--spectrum-sans-font-family-stack);--spectrum-sidenav-text-font-weight:var(--spectrum-regular-font-weight);--spectrum-sidenav-text-font-style:var(--spectrum-default-font-style);--spectrum-sidenav-text-font-size:var(--spectrum-font-size-100);--spectrum-sidenav-text-line-height:var(--spectrum-line-height-100);--spectrum-sidenav-top-level-font-family:var(--spectrum-sans-font-family-stack);--spectrum-sidenav-top-level-font-weight:var(--spectrum-bold-font-weight);--spectrum-sidenav-top-level-font-style:var(--spectrum-default-font-style);--spectrum-sidenav-top-level-font-size:var(--spectrum-font-size-100);--spectrum-sidenav-top-level-line-height:var(--spectrum-line-height-100);--spectrum-sidenav-header-font-family:var(--spectrum-sans-font-family-stack);--spectrum-sidenav-header-font-weight:var(--spectrum-medium-font-weight);--spectrum-sidenav-header-font-style:var(--spectrum-default-font-style);--spectrum-sidenav-header-font-size:var(--spectrum-font-size-75);--spectrum-sidenav-header-line-height:var(--spectrum-line-height-100)}:host:lang(ja),:host:lang(ko),:host:lang(zh){--spectrum-sidenav-text-line-height:var(--spectrum-cjk-line-height-100);--spectrum-sidenav-top-level-line-height:var(--spectrum-cjk-line-height-100);--spectrum-sidenav-header-line-height:var(--spectrum-cjk-line-height-100)}:host{flex-direction:column;margin:0;padding:0;list-style-type:none;display:flex}@media (forced-colors:active){.spectrum-Icon{forced-color-adjust:preserve-parent-color}}:host{--spectrum-web-component-sidenav-font-weight:var(--mod-sidenav-text-font-weight,var(--spectrum-sidenav-text-font-weight));width:240px;display:block}:host(:not([variant=multilevel])){--mod-sidenav-top-level-font-weight:var(--mod-sidenav-text-font-weight,var(--spectrum-sidenav-text-font-weight))}
-`,vo=t.AH`
+`,zo=i.AH`
     #list{--spectrum-sidenav-focus-ring-size:var(--spectrum-focus-indicator-thickness);--spectrum-sidenav-focus-ring-gap:var(--spectrum-focus-indicator-gap);--spectrum-sidenav-focus-ring-color:var(--spectrum-focus-indicator-color);--spectrum-sidenav-min-height:var(--spectrum-component-height-100);--spectrum-sidenav-width:100%;--spectrum-sidenav-min-width:var(--spectrum-side-navigation-minimum-width);--spectrum-sidenav-max-width:var(--spectrum-side-navigation-maximum-width);--spectrum-sidenav-border-radius:var(--spectrum-corner-radius-100);--spectrum-sidenav-icon-size:var(--spectrum-workflow-icon-size-100);--spectrum-sidenav-icon-spacing:var(--spectrum-text-to-visual-100);--spectrum-sidenav-inline-padding:var(--spectrum-component-edge-to-text-100);--spectrum-sidenav-gap:var(--spectrum-side-navigation-item-to-item);--spectrum-sidenav-top-to-icon:var(--spectrum-component-top-to-workflow-icon-100);--spectrum-sidenav-top-to-label:var(--spectrum-component-top-to-text-100);--spectrum-sidenav-bottom-to-label:var(--spectrum-side-navigation-bottom-to-text);--spectrum-sidenav-start-to-content-second-level:var(--spectrum-side-navigation-second-level-edge-to-text);--spectrum-sidenav-start-to-content-third-level:var(--spectrum-side-navigation-third-level-edge-to-text);--spectrum-sidenav-start-to-content-with-icon-second-level:var(--spectrum-side-navigation-with-icon-second-level-edge-to-text);--spectrum-sidenav-start-to-content-with-icon-third-level:var(--spectrum-side-navigation-with-icon-third-level-edge-to-text);--spectrum-sidenav-heading-top-margin:var(--spectrum-side-navigation-item-to-header);--spectrum-sidenav-heading-bottom-margin:var(--spectrum-side-navigation-header-to-item);--spectrum-sidenav-background-disabled:transparent;--spectrum-sidenav-background-default:transparent;--spectrum-sidenav-background-hover:var(--spectrum-gray-200);--spectrum-sidenav-item-background-down:var(--spectrum-gray-300);--spectrum-sidenav-background-key-focus:var(--spectrum-gray-200);--spectrum-sidenav-item-background-default-selected:var(--spectrum-gray-200);--spectrum-sidenav-background-hover-selected:var(--spectrum-gray-300);--spectrum-sidenav-item-background-down-selected:var(--spectrum-gray-300);--spectrum-sidenav-background-key-focus-selected:var(--spectrum-gray-200);--spectrum-sidenav-header-color:var(--spectrum-gray-600);--spectrum-sidenav-content-disabled-color:var(--spectrum-disabled-content-color);--spectrum-sidenav-content-color-default:var(--spectrum-neutral-content-color-default);--spectrum-sidenav-content-color-hover:var(--spectrum-neutral-content-color-hover);--spectrum-sidenav-content-color-down:var(--spectrum-neutral-content-color-down);--spectrum-sidenav-content-color-key-focus:var(--spectrum-neutral-content-color-key-focus);--spectrum-sidenav-content-color-default-selected:var(--spectrum-neutral-content-color-default);--spectrum-sidenav-content-color-hover-selected:var(--spectrum-neutral-content-color-hover);--spectrum-sidenav-content-color-down-selected:var(--spectrum-neutral-content-color-down);--spectrum-sidenav-content-color-key-focus-selected:var(--spectrum-neutral-content-color-key-focus);--spectrum-sidenav-text-font-family:var(--spectrum-sans-font-family-stack);--spectrum-sidenav-text-font-weight:var(--spectrum-regular-font-weight);--spectrum-sidenav-text-font-style:var(--spectrum-default-font-style);--spectrum-sidenav-text-font-size:var(--spectrum-font-size-100);--spectrum-sidenav-text-line-height:var(--spectrum-line-height-100);--spectrum-sidenav-top-level-font-family:var(--spectrum-sans-font-family-stack);--spectrum-sidenav-top-level-font-weight:var(--spectrum-bold-font-weight);--spectrum-sidenav-top-level-font-style:var(--spectrum-default-font-style);--spectrum-sidenav-top-level-font-size:var(--spectrum-font-size-100);--spectrum-sidenav-top-level-line-height:var(--spectrum-line-height-100);--spectrum-sidenav-header-font-family:var(--spectrum-sans-font-family-stack);--spectrum-sidenav-header-font-weight:var(--spectrum-medium-font-weight);--spectrum-sidenav-header-font-style:var(--spectrum-default-font-style);--spectrum-sidenav-header-font-size:var(--spectrum-font-size-75);--spectrum-sidenav-header-line-height:var(--spectrum-line-height-100)}#list:lang(ja),#list:lang(ko),#list:lang(zh){--spectrum-sidenav-text-line-height:var(--spectrum-cjk-line-height-100);--spectrum-sidenav-top-level-line-height:var(--spectrum-cjk-line-height-100);--spectrum-sidenav-header-line-height:var(--spectrum-cjk-line-height-100)}#list{flex-direction:column;margin:0;padding:0;list-style-type:none;display:flex}:host{margin-inline:0;list-style-type:none}:host([disabled]) #item-link{background-color:var(--highcontrast-sidenav-background-disabled,var(--mod-sidenav-background-disabled,var(--spectrum-sidenav-background-disabled)));color:var(--highcontrast-sidenav-content-disabled-color,var(--mod-sidenav-content-disabled-color,var(--spectrum-sidenav-content-disabled-color)));cursor:default;pointer-events:none}:host([selected]) #item-link{background-color:var(--highcontrast-sidenav-item-background-default-selected,var(--mod-sidenav-item-background-default-selected,var(--spectrum-sidenav-item-background-default-selected)));color:var(--highcontrast-sidenav-content-color-default-selected,var(--mod-sidenav-content-color-default-selected,var(--spectrum-sidenav-content-color-default-selected)))}:host([selected]) #item-link:active{background-color:var(--highcontrast-sidenav-item-background-down-selected,var(--mod-sidenav-item-background-down-selected,var(--spectrum-sidenav-item-background-down-selected)));color:var(--mod-sidenav-content-color-down-selected,var(--spectrum-sidenav-content-color-down-selected))}:host([selected]) #item-link.is-keyboardFocused,:host([selected]) #item-link:focus-visible{background-color:var(--highcontrast-sidenav-background-key-focus-selected,var(--mod-sidenav-background-key-focus-selected,var(--spectrum-sidenav-background-key-focus-selected)));color:var(--mod-sidenav-content-color-key-focus-selected,var(--spectrum-sidenav-content-color-key-focus-selected))}#item-link{padding-inline:var(--mod-sidenav-inline-padding,var(--spectrum-sidenav-inline-padding));box-sizing:border-box;word-break:break-word;hyphens:auto;cursor:pointer;transition:background-color var(--spectrum-animation-duration-100)ease-out,color var(--spectrum-animation-duration-100)ease-out;border-radius:var(--mod-sidenav-border-radius,var(--spectrum-sidenav-border-radius));background-color:var(--highcontrast-sidenav-background-default,var(--mod-sidenav-background-default,var(--spectrum-sidenav-background-default)));color:var(--highcontrast-sidenav-content-color-default,var(--mod-sidenav-content-color-default,var(--spectrum-sidenav-content-color-default)));inline-size:var(--mod-sidenav-width,var(--spectrum-sidenav-width));min-inline-size:var(--mod-sidenav-min-width,var(--spectrum-sidenav-min-width));max-inline-size:var(--mod-sidenav-max-width,var(--spectrum-sidenav-max-width));min-block-size:var(--mod-sidenav-min-height,var(--spectrum-sidenav-min-height));font-family:var(--mod-sidenav-text-font-family,var(--spectrum-sidenav-text-font-family));font-size:var(--mod-sidenav-text-font-size,var(--spectrum-sidenav-text-font-size));font-weight:var(--mod-sidenav-text-font-weight,var(--spectrum-sidenav-text-font-weight));font-style:var(--mod-sidenav-text-font-style,var(--spectrum-sidenav-text-font-style));line-height:var(--mod-sidenav-text-line-height,var(--spectrum-sidenav-text-line-height));justify-content:start;margin-block-end:var(--mod-sidenav-gap,var(--spectrum-sidenav-gap));-webkit-text-decoration:none;text-decoration:none;display:inline-flex;position:relative}#item-link #link-text{margin-block-start:var(--mod-sidenav-top-to-label,var(--spectrum-sidenav-top-to-label));margin-block-end:var(--mod-sidenav-bottom-to-label,var(--spectrum-sidenav-bottom-to-label))}#item-link ::slotted([slot=icon]){inline-size:var(--mod-sidenav-icon-size,var(--spectrum-sidenav-icon-size));block-size:var(--mod-sidenav-icon-size,var(--spectrum-sidenav-icon-size));flex-shrink:0;margin-block-start:var(--mod-sidenav-top-to-icon,var(--spectrum-sidenav-top-to-icon));margin-inline-end:var(--mod-sidenav-icon-spacing,var(--spectrum-sidenav-icon-spacing))}@media (hover:hover){:host([selected]) #item-link:hover{background-color:var(--highcontrast-sidenav-background-hover-selected,var(--mod-sidenav-background-hover-selected,var(--spectrum-sidenav-background-hover-selected)));color:var(--mod-sidenav-content-color-hover-selected,var(--spectrum-sidenav-content-color-hover-selected))}#item-link:hover{background-color:var(--highcontrast-sidenav-background-hover,var(--mod-sidenav-background-hover,var(--spectrum-sidenav-background-hover)));color:var(--highcontrast-sidenav-content-color-hover,var(--mod-sidenav-content-color-hover,var(--spectrum-sidenav-content-color-hover)))}}#item-link:active{background-color:var(--highcontrast-sidenav-item-background-down,var(--mod-sidenav-item-background-down,var(--spectrum-sidenav-item-background-down)));color:var(--highcontrast-sidenav-content-color-down,var(--mod-sidenav-content-color-down,var(--spectrum-sidenav-content-color-down)))}#item-link.is-keyboardFocused,#item-link:focus-visible{outline:var(--highcontrast-sidenav-focus-ring-color,var(--mod-sidenav-focus-ring-color,var(--spectrum-sidenav-focus-ring-color)))solid var(--mod-sidenav-focus-ring-size,var(--spectrum-sidenav-focus-ring-size));outline-offset:var(--mod-sidenav-focus-ring-gap,var(--spectrum-sidenav-focus-ring-gap));background-color:var(--highcontrast-sidenav-background-key-focus,var(--mod-sidenav-background-key-focus,var(--spectrum-sidenav-background-key-focus)));color:var(--highcontrast-sidenav-content-color-key-focus,var(--mod-sidenav-content-color-key-focus,var(--spectrum-sidenav-content-color-key-focus)))}#item-link[data-level]{font-family:var(--mod-sidenav-top-level-font-family,var(--spectrum-sidenav-top-level-font-family));font-weight:var(--mod-sidenav-top-level-font-weight,var(--spectrum-sidenav-top-level-font-weight));font-style:var(--mod-sidenav-top-level-font-style,var(--spectrum-sidenav-top-level-font-style));font-size:var(--mod-sidenav-top-level-font-size,var(--spectrum-sidenav-top-level-font-size));line-height:var(--mod-sidenav-top-level-line-height,var(--spectrum-sidenav-top-level-line-height))}#item-link:not([data-level="0"]){font-weight:var(--mod-sidenav-text-font-weight,var(--spectrum-sidenav-text-font-weight));padding-inline-start:var(--mod-sidenav-start-to-content-second-level,var(--spectrum-sidenav-start-to-content-second-level))}#item-link[data-level="2"]{padding-inline-start:var(--mod-sidenav-start-to-content-third-level,var(--spectrum-sidenav-start-to-content-third-level))}.spectrum-SideNav--hasIcon#item-link:not([data-level="0"]){padding-inline-start:var(--mod-sidenav-start-to-content-with-icon-second-level,var(--spectrum-sidenav-start-to-content-with-icon-second-level))}.spectrum-SideNav--hasIcon#item-link[data-level="2"]{padding-inline-start:var(--mod-sidenav-start-to-content-with-icon-third-level,var(--spectrum-sidenav-start-to-content-with-icon-third-level))}@media (forced-colors:active){#list ::slotted([slot=icon]){forced-color-adjust:preserve-parent-color}:host{forced-color-adjust:none;--highcontrast-sidenav-content-disabled-color:GrayText;--highcontrast-sidenav-focus-ring-color:Highlight;--highcontrast-sidenav-content-color-default-selected:SelectedItemText;--highcontrast-sidenav-item-background-default-selected:SelectedItem;--highcontrast-sidenav-background-key-focus-selected:Highlight;--highcontrast-sidenav-background-hover-selected:Highlight;--highcontrast-sidenav-item-background-down-selected:Highlight;--highcontrast-sidenav-item-background-down:Highlight;--highcontrast-sidenav-background-hover:Highlight;--highcontrast-sidenav-content-color-hover:HighlightText;--highcontrast-sidenav-background-key-focus:Highlight;--highcontrast-sidenav-top-level-font-color:ButtonText;--highcontrast-sidenav-content-color-default:ButtonText;--highcontrast-sidenav-content-color-down:HighlightText}}:host{display:block}:host([disabled]){pointer-events:none}a ::slotted(sp-sidenav-item){display:none}
-`;var fo=Object.defineProperty,ko=Object.getOwnPropertyDescriptor,yo=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?ko(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&fo(e,r,c),c};const xo=class e extends(ht(H)){constructor(){super(...arguments),this.value=void 0,this.selected=!1,this.expanded=!1}static get styles(){return[vo]}get parentSideNav(){return this._parentSidenav||(this._parentSidenav=this.closest("sp-sidenav")),this._parentSidenav}get hasChildren(){return!!this.querySelector("sp-sidenav-item")}get depth(){let t=0,r=this.parentElement;for(;r instanceof e;)t++,r=r.parentElement;return t}handleSideNavSelect(t){this.selected=t.target===this}handleClick(t){!this.href&&t&&t.preventDefault(),!this.disabled&&(!this.href||null!=t&&t.defaultPrevented)&&(this.hasChildren?this.expanded=!this.expanded:this.value&&this.announceSelected(this.value))}announceSelected(t){const e=new CustomEvent("sidenav-select",{bubbles:!0,composed:!0,detail:{value:t}});this.dispatchEvent(e)}click(){this.handleClick()}get focusElement(){return this.shadowRoot.querySelector("#item-link")}update(t){this.hasAttribute("slot")||(this.slot="descendant"),super.update(t)}render(){return t.qy`
+`;var Co=Object.defineProperty,Io=Object.getOwnPropertyDescriptor,So=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?Io(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&Co(e,r,c),c};const $o=class t extends(yt(B)){constructor(){super(...arguments),this.value=void 0,this.selected=!1,this.expanded=!1}static get styles(){return[zo]}get parentSideNav(){return this._parentSidenav||(this._parentSidenav=this.closest("sp-sidenav")),this._parentSidenav}get hasChildren(){return!!this.querySelector("sp-sidenav-item")}get depth(){let e=0,r=this.parentElement;for(;r instanceof t;)e++,r=r.parentElement;return e}handleSideNavSelect(t){this.selected=t.target===this}handleClick(t){!this.href&&t&&t.preventDefault(),!this.disabled&&(!this.href||null!=t&&t.defaultPrevented)&&(this.hasChildren?this.expanded=!this.expanded:this.value&&this.announceSelected(this.value))}announceSelected(t){const e=new CustomEvent("sidenav-select",{bubbles:!0,composed:!0,detail:{value:t}});this.dispatchEvent(e)}click(){this.handleClick()}get focusElement(){return this.shadowRoot.querySelector("#item-link")}update(t){this.hasAttribute("slot")||(this.slot="descendant"),super.update(t)}render(){return i.qy`
             <a
                 href=${this.href||"#"}
-                target=${(0,S.J)(this.target)}
-                download=${(0,S.J)(this.download)}
-                rel=${(0,S.J)(this.rel)}
+                target=${(0,j.J)(this.target)}
+                download=${(0,j.J)(this.download)}
+                rel=${(0,j.J)(this.rel)}
                 data-level="${this.depth}"
                 @click="${this.handleClick}"
                 id="item-link"
-                aria-current=${(0,S.J)(this.selected&&this.href?"page":void 0)}
-                aria-expanded=${(0,S.J)(this.hasChildren?this.expanded:void 0)}
-                aria-controls=${(0,S.J)(this.hasChildren&&this.expanded?"list":void 0)}
+                aria-current=${(0,j.J)(this.selected&&this.href?"page":void 0)}
+                aria-expanded=${(0,j.J)(this.hasChildren?this.expanded:void 0)}
+                aria-controls=${(0,j.J)(this.hasChildren&&this.expanded?"list":void 0)}
             >
                 <slot name="icon"></slot>
                 <span id="link-text">
@@ -955,22 +955,22 @@ governing permissions and limitations under the License.
                     <slot></slot>
                 </span>
             </a>
-            ${this.expanded?t.qy`
+            ${this.expanded?i.qy`
                       <div id="list" aria-labelledby="item-link" role="list">
                           <slot name="descendant"></slot>
                       </div>
-                  `:t.s6}
-        `}updated(t){var e;this.hasChildren&&this.expanded&&!this.selected&&null!=(e=this.parentSideNav)&&e.manageTabIndex?this.focusElement.tabIndex=-1:this.focusElement.removeAttribute("tabindex"),super.updated(t)}connectedCallback(){super.connectedCallback(),this.startTrackingSelection()}disconnectedCallback(){this.stopTrackingSelection(),super.disconnectedCallback()}async startTrackingSelection(){const t=this.parentSideNav;if(t&&(await t.updateComplete,t.startTrackingSelectionForItem(this),this.selected=null!=this.value&&this.value===t.value,!0===this.selected&&"multilevel"===t.variant)){let t=this.parentElement;for(;t instanceof e;)t.expanded=!0,t=t.parentElement}}stopTrackingSelection(){const t=this.parentSideNav;t&&t.stopTrackingSelectionForItem(this),this._parentSidenav=void 0}firstUpdated(t){super.firstUpdated(t),this.setAttribute("role","listitem")}};yo([(0,d.MZ)()],xo.prototype,"value",2),yo([(0,d.MZ)({type:Boolean,reflect:!0})],xo.prototype,"selected",2),yo([(0,d.MZ)({type:Boolean,reflect:!0})],xo.prototype,"expanded",2);let wo=xo;const zo=t.AH`
+                  `:i.s6}
+        `}updated(t){var e;this.hasChildren&&this.expanded&&!this.selected&&null!=(e=this.parentSideNav)&&e.manageTabIndex?this.focusElement.tabIndex=-1:this.focusElement.removeAttribute("tabindex"),super.updated(t)}connectedCallback(){super.connectedCallback(),this.startTrackingSelection()}disconnectedCallback(){this.stopTrackingSelection(),super.disconnectedCallback()}async startTrackingSelection(){const e=this.parentSideNav;if(e&&(await e.updateComplete,e.startTrackingSelectionForItem(this),this.selected=null!=this.value&&this.value===e.value,!0===this.selected&&"multilevel"===e.variant)){let e=this.parentElement;for(;e instanceof t;)e.expanded=!0,e=e.parentElement}}stopTrackingSelection(){const t=this.parentSideNav;t&&t.stopTrackingSelectionForItem(this),this._parentSidenav=void 0}firstUpdated(t){super.firstUpdated(t),this.setAttribute("role","listitem")}};So([(0,f.MZ)()],$o.prototype,"value",2),So([(0,f.MZ)({type:Boolean,reflect:!0})],$o.prototype,"selected",2),So([(0,f.MZ)({type:Boolean,reflect:!0})],$o.prototype,"expanded",2);let Ao=$o;const Eo=i.AH`
     #list{--spectrum-sidenav-focus-ring-size:var(--spectrum-focus-indicator-thickness);--spectrum-sidenav-focus-ring-gap:var(--spectrum-focus-indicator-gap);--spectrum-sidenav-focus-ring-color:var(--spectrum-focus-indicator-color);--spectrum-sidenav-min-height:var(--spectrum-component-height-100);--spectrum-sidenav-width:100%;--spectrum-sidenav-min-width:var(--spectrum-side-navigation-minimum-width);--spectrum-sidenav-max-width:var(--spectrum-side-navigation-maximum-width);--spectrum-sidenav-border-radius:var(--spectrum-corner-radius-100);--spectrum-sidenav-icon-size:var(--spectrum-workflow-icon-size-100);--spectrum-sidenav-icon-spacing:var(--spectrum-text-to-visual-100);--spectrum-sidenav-inline-padding:var(--spectrum-component-edge-to-text-100);--spectrum-sidenav-gap:var(--spectrum-side-navigation-item-to-item);--spectrum-sidenav-top-to-icon:var(--spectrum-component-top-to-workflow-icon-100);--spectrum-sidenav-top-to-label:var(--spectrum-component-top-to-text-100);--spectrum-sidenav-bottom-to-label:var(--spectrum-side-navigation-bottom-to-text);--spectrum-sidenav-start-to-content-second-level:var(--spectrum-side-navigation-second-level-edge-to-text);--spectrum-sidenav-start-to-content-third-level:var(--spectrum-side-navigation-third-level-edge-to-text);--spectrum-sidenav-start-to-content-with-icon-second-level:var(--spectrum-side-navigation-with-icon-second-level-edge-to-text);--spectrum-sidenav-start-to-content-with-icon-third-level:var(--spectrum-side-navigation-with-icon-third-level-edge-to-text);--spectrum-sidenav-heading-top-margin:var(--spectrum-side-navigation-item-to-header);--spectrum-sidenav-heading-bottom-margin:var(--spectrum-side-navigation-header-to-item);--spectrum-sidenav-background-disabled:transparent;--spectrum-sidenav-background-default:transparent;--spectrum-sidenav-background-hover:var(--spectrum-gray-200);--spectrum-sidenav-item-background-down:var(--spectrum-gray-300);--spectrum-sidenav-background-key-focus:var(--spectrum-gray-200);--spectrum-sidenav-item-background-default-selected:var(--spectrum-gray-200);--spectrum-sidenav-background-hover-selected:var(--spectrum-gray-300);--spectrum-sidenav-item-background-down-selected:var(--spectrum-gray-300);--spectrum-sidenav-background-key-focus-selected:var(--spectrum-gray-200);--spectrum-sidenav-header-color:var(--spectrum-gray-600);--spectrum-sidenav-content-disabled-color:var(--spectrum-disabled-content-color);--spectrum-sidenav-content-color-default:var(--spectrum-neutral-content-color-default);--spectrum-sidenav-content-color-hover:var(--spectrum-neutral-content-color-hover);--spectrum-sidenav-content-color-down:var(--spectrum-neutral-content-color-down);--spectrum-sidenav-content-color-key-focus:var(--spectrum-neutral-content-color-key-focus);--spectrum-sidenav-content-color-default-selected:var(--spectrum-neutral-content-color-default);--spectrum-sidenav-content-color-hover-selected:var(--spectrum-neutral-content-color-hover);--spectrum-sidenav-content-color-down-selected:var(--spectrum-neutral-content-color-down);--spectrum-sidenav-content-color-key-focus-selected:var(--spectrum-neutral-content-color-key-focus);--spectrum-sidenav-text-font-family:var(--spectrum-sans-font-family-stack);--spectrum-sidenav-text-font-weight:var(--spectrum-regular-font-weight);--spectrum-sidenav-text-font-style:var(--spectrum-default-font-style);--spectrum-sidenav-text-font-size:var(--spectrum-font-size-100);--spectrum-sidenav-text-line-height:var(--spectrum-line-height-100);--spectrum-sidenav-top-level-font-family:var(--spectrum-sans-font-family-stack);--spectrum-sidenav-top-level-font-weight:var(--spectrum-bold-font-weight);--spectrum-sidenav-top-level-font-style:var(--spectrum-default-font-style);--spectrum-sidenav-top-level-font-size:var(--spectrum-font-size-100);--spectrum-sidenav-top-level-line-height:var(--spectrum-line-height-100);--spectrum-sidenav-header-font-family:var(--spectrum-sans-font-family-stack);--spectrum-sidenav-header-font-weight:var(--spectrum-medium-font-weight);--spectrum-sidenav-header-font-style:var(--spectrum-default-font-style);--spectrum-sidenav-header-font-size:var(--spectrum-font-size-75);--spectrum-sidenav-header-line-height:var(--spectrum-line-height-100)}#list:lang(ja),#list:lang(ko),#list:lang(zh){--spectrum-sidenav-text-line-height:var(--spectrum-cjk-line-height-100);--spectrum-sidenav-top-level-line-height:var(--spectrum-cjk-line-height-100);--spectrum-sidenav-header-line-height:var(--spectrum-cjk-line-height-100)}#list{flex-direction:column;margin:0;padding:0;list-style-type:none;display:flex}#heading{padding-inline:var(--mod-sidenav-inline-padding,var(--spectrum-sidenav-inline-padding));color:var(--mod-sidenav-header-color,var(--spectrum-sidenav-header-color));font-size:var(--mod-sidenav-header-font-size,var(--spectrum-sidenav-header-font-size));font-weight:var(--mod-sidenav-header-font-weight,var(--spectrum-sidenav-header-font-weight));font-style:var(--mod-sidenav-header-font-style,var(--spectrum-sidenav-header-font-style));line-height:var(--mod-sidenav-header-line-height,var(--spectrum-sidenav-header-line-height));margin-block-start:calc(var(--mod-sidenav-heading-top-margin,var(--spectrum-sidenav-heading-top-margin)) - var(--mod-sidenav-gap,var(--spectrum-sidenav-gap)));margin-block-end:var(--mod-sidenav-heading-bottom-margin,var(--spectrum-sidenav-heading-bottom-margin))}@media (forced-colors:active){#list .spectrum-Icon{forced-color-adjust:preserve-parent-color}}:host{display:block}
-`;var Co=Object.defineProperty;Object.getOwnPropertyDescriptor;class Io extends m.w{constructor(){super(...arguments),this.label=""}static get styles(){return[vo,zo]}update(t){this.hasAttribute("slot")||(this.slot="descendant"),super.update(t)}render(){return t.qy`
+`;var qo=Object.defineProperty;Object.getOwnPropertyDescriptor;class To extends v.w{constructor(){super(...arguments),this.label=""}static get styles(){return[zo,Eo]}update(t){this.hasAttribute("slot")||(this.slot="descendant"),super.update(t)}render(){return i.qy`
             <h2 id="heading">${this.label}</h2>
             <div id="list" aria-labelledby="heading" role="list">
                 <slot name="descendant"></slot>
             </div>
-        `}firstUpdated(t){super.firstUpdated(t),this.setAttribute("role","listitem")}}((t,e,r,o)=>{for(var s,c=void 0,a=t.length-1;a>=0;a--)(s=t[a])&&(c=s(e,r,c)||c);c&&Co(e,r,c)})([(0,d.MZ)({reflect:!0})],Io.prototype,"label");var So=Object.defineProperty,$o=Object.getOwnPropertyDescriptor,Ao=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?$o(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&So(e,r,c),c};class Eo extends H{constructor(){super(...arguments),this.items=new Set,this.rovingTabindexController=new L(this,{focusInIndex:t=>{let e,r=t.findIndex((t=>(t.value===this.value&&this.isDisabledChild(t)&&(e=t.closest("sp-sidenav-item:not([expanded])")),this.value?!t.disabled&&!this.isDisabledChild(t)&&t.value===this.value:!t.disabled&&!this.isDisabledChild(t))));return-1===r&&e&&(r=t.findIndex((t=>t===e))),r},direction:"vertical",elements:()=>[...this.querySelectorAll("sp-sidenav-item")],isFocusableElement:t=>!t.disabled&&!this.isDisabledChild(t)}),this.manageTabIndex=!1,this.value=void 0,this.variant=void 0,this.label=void 0}static get styles(){return[go]}startTrackingSelectionForItem(t){this.items.add(t),this.rovingTabindexController.clearElementCache()}stopTrackingSelectionForItem(t){this.items.delete(t),this.rovingTabindexController.clearElementCache()}handleSelect(t){if(t.stopPropagation(),this.value===t.detail.value)return;const e=this.value;this.value=t.detail.value,this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0,cancelable:!0}))?this.items.forEach((e=>e.handleSideNavSelect(t))):(this.value=e,t.target.selected=!1,t.preventDefault())}focus(){this.rovingTabindexController.focus()}blur(){this.focusElement!==this&&super.blur()}click(){this.focusElement!==this&&super.click()}get focusElement(){return this.rovingTabindexController.focusInElement||this}isDisabledChild(t){if(t.disabled)return!0;let e=t.parentElement;for(;e instanceof Io||!e.disabled&&e instanceof wo&&e.expanded;)e=e.parentElement;return e!==this}handleSlotchange(){this.manageTabIndex?this.rovingTabindexController.manage():this.rovingTabindexController.unmanage()}render(){return t.qy`
+        `}firstUpdated(t){super.firstUpdated(t),this.setAttribute("role","listitem")}}((t,e,r,o)=>{for(var s,c=void 0,a=t.length-1;a>=0;a--)(s=t[a])&&(c=s(e,r,c)||c);c&&qo(e,r,c)})([(0,f.MZ)({reflect:!0})],To.prototype,"label");var jo=Object.defineProperty,Mo=Object.getOwnPropertyDescriptor,_o=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?Mo(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&jo(e,r,c),c};class Ho extends B{constructor(){super(...arguments),this.items=new Set,this.rovingTabindexController=new Z(this,{focusInIndex:t=>{let e,r=t.findIndex((t=>(t.value===this.value&&this.isDisabledChild(t)&&(e=t.closest("sp-sidenav-item:not([expanded])")),this.value?!t.disabled&&!this.isDisabledChild(t)&&t.value===this.value:!t.disabled&&!this.isDisabledChild(t))));return-1===r&&e&&(r=t.findIndex((t=>t===e))),r},direction:"vertical",elements:()=>[...this.querySelectorAll("sp-sidenav-item")],isFocusableElement:t=>!t.disabled&&!this.isDisabledChild(t)}),this.manageTabIndex=!1,this.value=void 0,this.variant=void 0,this.label=void 0}static get styles(){return[wo]}startTrackingSelectionForItem(t){this.items.add(t),this.rovingTabindexController.clearElementCache()}stopTrackingSelectionForItem(t){this.items.delete(t),this.rovingTabindexController.clearElementCache()}handleSelect(t){if(t.stopPropagation(),this.value===t.detail.value)return;const e=this.value;this.value=t.detail.value,this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0,cancelable:!0}))?this.items.forEach((e=>e.handleSideNavSelect(t))):(this.value=e,t.target.selected=!1,t.preventDefault())}focus(){this.rovingTabindexController.focus()}blur(){this.focusElement!==this&&super.blur()}click(){this.focusElement!==this&&super.click()}get focusElement(){return this.rovingTabindexController.focusInElement||this}isDisabledChild(t){if(t.disabled)return!0;let e=t.parentElement;for(;e instanceof To||!e.disabled&&e instanceof Ao&&e.expanded;)e=e.parentElement;return e!==this}handleSlotchange(){this.manageTabIndex?this.rovingTabindexController.manage():this.rovingTabindexController.unmanage()}render(){return i.qy`
             <nav
                 @sidenav-select=${this.handleSelect}
-                aria-label=${(0,S.J)(this.label)}
+                aria-label=${(0,j.J)(this.label)}
             >
                 <div role="list">
                     <slot
@@ -979,9 +979,9 @@ governing permissions and limitations under the License.
                     ></slot>
                 </div>
             </nav>
-        `}willUpdate(){if(!this.hasUpdated){const t=this.querySelector("[selected]");t&&(this.value=t.value)}}updated(t){super.updated(t),t.has("manageTabIndex")&&(this.manageTabIndex?this.rovingTabindexController.manage():this.rovingTabindexController.unmanage())}}Ao([(0,d.MZ)({type:Boolean,reflect:!0,attribute:"manage-tab-index"})],Eo.prototype,"manageTabIndex",2),Ao([(0,d.MZ)({reflect:!0})],Eo.prototype,"value",2),Ao([(0,d.MZ)({reflect:!0})],Eo.prototype,"variant",2),Ao([(0,d.MZ)({reflect:!0})],Eo.prototype,"label",2),(0,x.e)("sp-sidenav",Eo),(0,x.e)("sp-sidenav-heading",Io),(0,x.e)("sp-sidenav-item",wo);class qo extends kt{}const To=t.AH`
+        `}willUpdate(){if(!this.hasUpdated){const t=this.querySelector("[selected]");t&&(this.value=t.value)}}updated(t){super.updated(t),t.has("manageTabIndex")&&(this.manageTabIndex?this.rovingTabindexController.manage():this.rovingTabindexController.unmanage())}}_o([(0,f.MZ)({type:Boolean,reflect:!0,attribute:"manage-tab-index"})],Ho.prototype,"manageTabIndex",2),_o([(0,f.MZ)({reflect:!0})],Ho.prototype,"value",2),_o([(0,f.MZ)({reflect:!0})],Ho.prototype,"variant",2),_o([(0,f.MZ)({reflect:!0})],Ho.prototype,"label",2),(0,$.e)("sp-sidenav",Ho),(0,$.e)("sp-sidenav-heading",To),(0,$.e)("sp-sidenav-item",Ao);class Po extends It{}const Do=i.AH`
     :host{cursor:pointer;-webkit-user-select:none;user-select:none;box-sizing:border-box;font-family:var(--mod-button-font-family,var(--mod-sans-font-family-stack,var(--spectrum-sans-font-family-stack)));line-height:var(--mod-button-line-height,var(--mod-line-height-100,var(--spectrum-line-height-100)));text-transform:none;vertical-align:top;-webkit-appearance:button;transition:background var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,border-color var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,color var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out,box-shadow var(--mod-button-animation-duration,var(--mod-animation-duration-100,var(--spectrum-animation-duration-100)))ease-out;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-style:solid;margin:0;-webkit-text-decoration:none;text-decoration:none;overflow:visible}:host(:focus){outline:none}:host([disabled]),:host([disabled]){cursor:default}:host a{-webkit-user-select:none;user-select:none;-webkit-appearance:none}:host{--spectrum-closebutton-size-300:24px;--spectrum-closebutton-size-400:32px;--spectrum-closebutton-size-500:40px;--spectrum-closebutton-size-600:48px;--spectrum-closebutton-icon-color-default:var(--spectrum-neutral-content-color-default);--spectrum-closebutton-icon-color-hover:var(--spectrum-neutral-content-color-hover);--spectrum-closebutton-icon-color-down:var(--spectrum-neutral-content-color-down);--spectrum-closebutton-icon-color-focus:var(--spectrum-neutral-content-color-key-focus);--spectrum-closebutton-icon-color-disabled:var(--spectrum-disabled-content-color);--spectrum-closebutton-focus-indicator-thickness:var(--spectrum-focus-indicator-thickness);--spectrum-closebutton-focus-indicator-gap:var(--spectrum-focus-indicator-gap);--spectrum-closebutton-focus-indicator-color:var(--spectrum-focus-indicator-color);--spectrum-closebutton-height:var(--spectrum-component-height-100);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-400);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-400);--spectrum-closebutton-animation-duration:var(--spectrum-animation-duration-100)}:host([size=s]){--spectrum-closebutton-height:var(--spectrum-component-height-75);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-300);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-300)}:host{--spectrum-closebutton-height:var(--spectrum-component-height-100);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-400);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-400)}:host([size=l]){--spectrum-closebutton-height:var(--spectrum-component-height-200);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-500);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-500)}:host([size=xl]){--spectrum-closebutton-height:var(--spectrum-component-height-300);--spectrum-closebutton-width:var(--spectrum-closebutton-height);--spectrum-closebutton-size:var(--spectrum-closebutton-size-600);--spectrum-closebutton-border-radius:var(--spectrum-closebutton-size-600)}:host([static=white]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(--spectrum-transparent-white-300);--spectrum-closebutton-static-background-color-down:var(--spectrum-transparent-white-400);--spectrum-closebutton-static-background-color-focus:var(--spectrum-transparent-white-300);--spectrum-closebutton-icon-color-default:var(--spectrum-white);--spectrum-closebutton-icon-color-disabled:var(--spectrum-disabled-static-white-content-color);--spectrum-closebutton-focus-indicator-color:var(--spectrum-static-white-focus-indicator-color)}:host([static=black]){--spectrum-closebutton-static-background-color-default:transparent;--spectrum-closebutton-static-background-color-hover:var(--spectrum-transparent-black-300);--spectrum-closebutton-static-background-color-down:var(--spectrum-transparent-black-400);--spectrum-closebutton-static-background-color-focus:var(--spectrum-transparent-black-300);--spectrum-closebutton-icon-color-default:var(--spectrum-black);--spectrum-closebutton-icon-color-disabled:var(--spectrum-disabled-static-black-content-color);--spectrum-closebutton-focus-indicator-color:var(--spectrum-static-black-focus-indicator-color)}@media (forced-colors:active){:host{--highcontrast-closebutton-icon-color-disabled:GrayText;--highcontrast-closebutton-icon-color-down:Highlight;--highcontrast-closebutton-icon-color-hover:Highlight;--highcontrast-closebutton-icon-color-focus:Highlight;--highcontrast-closebutton-background-color-default:ButtonFace;--highcontrast-closebutton-focus-indicator-color:ButtonText}:host(:focus-visible):after{forced-color-adjust:none;margin:var(--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap));transition:opacity var(--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration))ease-out,margin var(--mod-closebutton-animation-duraction,var(--spectrum-closebutton-animation-duration))ease-out}:host([static=black]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:GrayText}:host([static=white]){--highcontrast-closebutton-static-background-color-default:ButtonFace;--highcontrast-closebutton-icon-color-default:Highlight;--highcontrast-closebutton-icon-color-disabled:Highlight}}:host{block-size:var(--mod-closebutton-height,var(--spectrum-closebutton-height));inline-size:var(--mod-closebutton-width,var(--spectrum-closebutton-width));color:inherit;border-radius:var(--mod-closebutton-border-radius,var(--spectrum-closebutton-border-radius));transition:border-color var(--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration))ease-in-out;margin-inline:var(--mod-closebutton-margin-inline);justify-content:center;align-items:center;align-self:var(--mod-closebutton-align-self);border-width:0;border-color:#0000;flex-direction:row;margin-block-start:var(--mod-closebutton-margin-top);padding:0;display:inline-flex;position:relative}:host:after{pointer-events:none;content:"";margin:calc(var(--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap))*-1);border-radius:calc(var(--mod-closebutton-size,var(--spectrum-closebutton-size)) + var(--mod-closebutton-focus-indicator-gap,var(--spectrum-closebutton-focus-indicator-gap)));transition:box-shadow var(--mod-closebutton-animation-duration,var(--spectrum-closebutton-animation-duration))ease-in-out;position:absolute;inset-block:0;inset-inline:0}:host(:focus-visible){box-shadow:none;outline:none}:host(:focus-visible):after{box-shadow:0 0 0 var(--mod-closebutton-focus-indicator-thickness,var(--spectrum-closebutton-focus-indicator-thickness))var(--highcontrast-closebutton-focus-indicator-color,var(--mod-closebutton-focus-indicator-color,var(--spectrum-closebutton-focus-indicator-color)))}:host(:not([disabled])){background-color:var(--highcontrast-closebutton-background-color-default,var(--mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default)))}:host(:not([disabled]):is(:active,[active])){background-color:var(--mod-closebutton-background-color-down,var(--spectrum-closebutton-background-color-down))}:host(:not([disabled]):is(:active,[active])) .icon{color:var(--highcontrast-closebutton-icon-color-down,var(--mod-closebutton-icon-color-down,var(--spectrum-closebutton-icon-color-down)))}:host([focused]:not([disabled])),:host(:not([disabled]):focus-visible){background-color:var(--mod-closebutton-background-color-focus,var(--spectrum-closebutton-background-color-focus))}:host([focused]:not([disabled])) .icon,:host(:not([disabled]):focus-visible) .icon{color:var(--highcontrast-closebutton-icon-color-focus,var(--mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)))}:host(:not([disabled])) .icon{color:var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default))}:host([focused]:not([disabled])) .icon,:host(:not([disabled]):focus) .icon{color:var(--highcontrast-closebutton-icon-color-focus,var(--mod-closebutton-icon-color-focus,var(--spectrum-closebutton-icon-color-focus)))}:host([disabled]){background-color:var(--mod-closebutton-background-color-default,var(--spectrum-closebutton-background-color-default))}:host([disabled]) .icon{color:var(--highcontrast-closebutton-icon-color-disabled,var(--mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)))}:host([static=black]:not([disabled])),:host([static=white]:not([disabled])){background-color:var(--highcontrast-closebutton-static-background-color-default,var(--mod-closebutton-static-background-color-default,var(--spectrum-closebutton-static-background-color-default)))}@media (hover:hover){:host(:not([disabled]):hover){background-color:var(--mod-closebutton-background-color-hover,var(--spectrum-closebutton-background-color-hover))}:host(:not([disabled]):hover) .icon{color:var(--highcontrast-closebutton-icon-color-hover,var(--mod-closebutton-icon-color-hover,var(--spectrum-closebutton-icon-color-hover)))}:host([static=black]:not([disabled]):hover),:host([static=white]:not([disabled]):hover){background-color:var(--highcontrast-closebutton-static-background-color-hover,var(--mod-closebutton-static-background-color-hover,var(--spectrum-closebutton-static-background-color-hover)))}:host([static=black]:not([disabled]):hover) .icon,:host([static=white]:not([disabled]):hover) .icon{color:var(--highcontrast-closebutton-icon-color-default,var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)))}}:host([static=black]:not([disabled]):is(:active,[active])),:host([static=white]:not([disabled]):is(:active,[active])){background-color:var(--highcontrast-closebutton-static-background-color-down,var(--mod-closebutton-static-background-color-down,var(--spectrum-closebutton-static-background-color-down)))}:host([static=black]:not([disabled]):is(:active,[active])) .icon,:host([static=white]:not([disabled]):is(:active,[active])) .icon{color:var(--highcontrast-closebutton-icon-color-default,var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)))}:host([static=black][focused]:not([disabled])),:host([static=black]:not([disabled]):focus-visible),:host([static=white][focused]:not([disabled])),:host([static=white]:not([disabled]):focus-visible){background-color:var(--highcontrast-closebutton-static-background-color-focus,var(--mod-closebutton-static-background-color-focus,var(--spectrum-closebutton-static-background-color-focus)))}:host([static=black][focused]:not([disabled])) .icon,:host([static=black][focused]:not([disabled])) .icon,:host([static=black]:not([disabled]):focus) .icon,:host([static=black]:not([disabled]):focus-visible) .icon,:host([static=white][focused]:not([disabled])) .icon,:host([static=white][focused]:not([disabled])) .icon,:host([static=white]:not([disabled]):focus) .icon,:host([static=white]:not([disabled]):focus-visible) .icon{color:var(--highcontrast-closebutton-icon-color-default,var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default)))}:host([static=black]:not([disabled])) .icon,:host([static=white]:not([disabled])) .icon{color:var(--mod-closebutton-icon-color-default,var(--spectrum-closebutton-icon-color-default))}:host([static=black][disabled]) .icon,:host([static=white][disabled]) .icon{color:var(--highcontrast-closebutton-icon-disabled,var(--mod-closebutton-icon-color-disabled,var(--spectrum-closebutton-icon-color-disabled)))}.icon{margin:0}:host{--spectrum-closebutton-background-color-default:var(--system-spectrum-closebutton-background-color-default);--spectrum-closebutton-background-color-hover:var(--system-spectrum-closebutton-background-color-hover);--spectrum-closebutton-background-color-down:var(--system-spectrum-closebutton-background-color-down);--spectrum-closebutton-background-color-focus:var(--system-spectrum-closebutton-background-color-focus)}
-`;(0,x.e)("sp-icon-cross200",class extends v{render(){return Ct(t.qy),(({width:t=24,height:e=24,title:r="Cross200"}={})=>zt`<svg
+`;(0,$.e)("sp-icon-cross200",class extends z{render(){return qt(i.qy),(({width:t=24,height:e=24,title:r="Cross200"}={})=>Et`<svg
     xmlns="http://www.w3.org/2000/svg"
     viewBox="0 0 10 10"
     aria-hidden="true"
@@ -994,7 +994,7 @@ governing permissions and limitations under the License.
     <path
       d="m6.29 5 2.922-2.922a.911.911 0 0 0-1.29-1.29L5 3.712 2.078.789a.911.911 0 0 0-1.29 1.289L3.712 5 .79 7.922a.911.911 0 1 0 1.289 1.29L5 6.288 7.923 9.21a.911.911 0 0 0 1.289-1.289z"
     />
-  </svg>`)()}}),(0,x.e)("sp-icon-cross300",class extends v{render(){return Ct(t.qy),(({width:t=24,height:e=24,title:r="Cross300"}={})=>zt`<svg
+  </svg>`)()}}),(0,$.e)("sp-icon-cross300",class extends z{render(){return qt(i.qy),(({width:t=24,height:e=24,title:r="Cross300"}={})=>Et`<svg
     xmlns="http://www.w3.org/2000/svg"
     viewBox="0 0 12 12"
     aria-hidden="true"
@@ -1007,7 +1007,7 @@ governing permissions and limitations under the License.
     <path
       d="m7.344 6 3.395-3.396a.95.95 0 0 0-1.344-1.342L6 4.657 2.604 1.262a.95.95 0 0 0-1.342 1.342L4.657 6 1.262 9.396a.95.95 0 0 0 1.343 1.343L6 7.344l3.395 3.395a.95.95 0 0 0 1.344-1.344z"
     />
-  </svg>`)()}}),(0,x.e)("sp-icon-cross400",class extends v{render(){return Ct(t.qy),(({width:t=24,height:e=24,title:r="Cross400"}={})=>zt`<svg
+  </svg>`)()}}),(0,$.e)("sp-icon-cross400",class extends z{render(){return qt(i.qy),(({width:t=24,height:e=24,title:r="Cross400"}={})=>Et`<svg
     xmlns="http://www.w3.org/2000/svg"
     viewBox="0 0 12 12"
     aria-hidden="true"
@@ -1020,7 +1020,7 @@ governing permissions and limitations under the License.
     <path
       d="m7.398 6 3.932-3.932A.989.989 0 0 0 9.932.67L6 4.602 2.068.67A.989.989 0 0 0 .67 2.068L4.602 6 .67 9.932a.989.989 0 1 0 1.398 1.398L6 7.398l3.932 3.932a.989.989 0 0 0 1.398-1.398z"
     />
-  </svg>`)()}}),(0,x.e)("sp-icon-cross500",class extends v{render(){return Ct(t.qy),(({width:t=24,height:e=24,title:r="Cross500"}={})=>zt`<svg
+  </svg>`)()}}),(0,$.e)("sp-icon-cross500",class extends z{render(){return qt(i.qy),(({width:t=24,height:e=24,title:r="Cross500"}={})=>Et`<svg
     xmlns="http://www.w3.org/2000/svg"
     viewBox="0 0 14 14"
     aria-hidden="true"
@@ -1033,29 +1033,29 @@ governing permissions and limitations under the License.
     <path
       d="m8.457 7 4.54-4.54a1.03 1.03 0 0 0-1.458-1.456L7 5.543l-4.54-4.54a1.03 1.03 0 0 0-1.457 1.458L5.543 7l-4.54 4.54a1.03 1.03 0 1 0 1.457 1.456L7 8.457l4.54 4.54a1.03 1.03 0 0 0 1.456-1.458z"
     />
-  </svg>`)()}});const jo=t.AH`
+  </svg>`)()}});const Lo=i.AH`
     .spectrum-UIIcon-Cross75{--spectrum-icon-size:var(--spectrum-cross-icon-size-75)}.spectrum-UIIcon-Cross100{--spectrum-icon-size:var(--spectrum-cross-icon-size-100)}.spectrum-UIIcon-Cross200{--spectrum-icon-size:var(--spectrum-cross-icon-size-200)}.spectrum-UIIcon-Cross300{--spectrum-icon-size:var(--spectrum-cross-icon-size-300)}.spectrum-UIIcon-Cross400{--spectrum-icon-size:var(--spectrum-cross-icon-size-400)}.spectrum-UIIcon-Cross500{--spectrum-icon-size:var(--spectrum-cross-icon-size-500)}.spectrum-UIIcon-Cross600{--spectrum-icon-size:var(--spectrum-cross-icon-size-600)}
-`;var Mo=Object.defineProperty,_o=Object.getOwnPropertyDescriptor,Ho=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?_o(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&Mo(e,r,c),c};const Po={s:()=>t.qy`
+`;var Oo=Object.defineProperty,Uo=Object.getOwnPropertyDescriptor,Bo=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?Uo(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&Oo(e,r,c),c};const Fo={s:()=>i.qy`
         <sp-icon-cross200
             slot="icon"
             class="icon spectrum-UIIcon-Cross200"
         ></sp-icon-cross200>
-    `,m:()=>t.qy`
+    `,m:()=>i.qy`
         <sp-icon-cross300
             slot="icon"
             class="icon spectrum-UIIcon-Cross300"
         ></sp-icon-cross300>
-    `,l:()=>t.qy`
+    `,l:()=>i.qy`
         <sp-icon-cross400
             slot="icon"
             class="icon spectrum-UIIcon-Cross400"
         ></sp-icon-cross400>
-    `,xl:()=>t.qy`
+    `,xl:()=>i.qy`
         <sp-icon-cross500
             slot="icon"
             class="icon spectrum-UIIcon-Cross500"
         ></sp-icon-cross500>
-    `};class Do extends((0,w.Z)(qo,{noDefaultSize:!0})){constructor(){super(...arguments),this.variant=""}static get styles(){return[...super.styles,To,jo]}get buttonContent(){return[Po[this.size]()]}}Ho([(0,d.MZ)({reflect:!0})],Do.prototype,"variant",2),Ho([(0,d.MZ)({type:String,reflect:!0})],Do.prototype,"static",2),(0,x.e)("sp-close-button",Do),(0,x.e)("sp-icon-info",class extends v{render(){return y(t.qy),(({width:t=24,height:e=24,hidden:r=!1,title:o="Info"}={})=>k`<svg
+    `};class Ro extends((0,A.Z)(Po,{noDefaultSize:!0})){constructor(){super(...arguments),this.variant=""}static get styles(){return[...super.styles,Do,Lo]}get buttonContent(){return[Fo[this.size]()]}}Bo([(0,f.MZ)({reflect:!0})],Ro.prototype,"variant",2),Bo([(0,f.MZ)({type:String,reflect:!0})],Ro.prototype,"static",2),(0,$.e)("sp-close-button",Ro),(0,$.e)("sp-icon-info",class extends z{render(){return S(i.qy),(({width:t=24,height:e=24,hidden:r=!1,title:o="Info"}={})=>I`<svg
     xmlns="http://www.w3.org/2000/svg"
     height=${e}
     viewBox="0 0 36 36"
@@ -1068,7 +1068,7 @@ governing permissions and limitations under the License.
     <path
       d="M18 2a16 16 0 1 0 16 16A16 16 0 0 0 18 2Zm-.3 4.3a2.718 2.718 0 0 1 2.864 2.824 2.664 2.664 0 0 1-2.864 2.863 2.705 2.705 0 0 1-2.864-2.864A2.717 2.717 0 0 1 17.7 6.3ZM22 27a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1h1v-6h-1a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v9h1a1 1 0 0 1 1 1Z"
     />
-  </svg>`)({hidden:!this.label,title:this.label})}}),(0,x.e)("sp-icon-checkmark-circle",class extends v{render(){return y(t.qy),(({width:t=24,height:e=24,hidden:r=!1,title:o="Checkmark Circle"}={})=>k`<svg
+  </svg>`)({hidden:!this.label,title:this.label})}}),(0,$.e)("sp-icon-checkmark-circle",class extends z{render(){return S(i.qy),(({width:t=24,height:e=24,hidden:r=!1,title:o="Checkmark Circle"}={})=>I`<svg
     xmlns="http://www.w3.org/2000/svg"
     width=${t}
     height=${e}
@@ -1081,21 +1081,21 @@ governing permissions and limitations under the License.
     <path
       d="M18 2a16 16 0 1 0 16 16A16 16 0 0 0 18 2Zm10.666 9.08L16.018 27.341a1.208 1.208 0 0 1-.875.461c-.024.002-.05.002-.073.002a1.2 1.2 0 0 1-.85-.351l-7.784-7.795a1.2 1.2 0 0 1 0-1.698l1.326-1.325a1.201 1.201 0 0 1 1.695 0l5.346 5.347L25.314 8.473A1.203 1.203 0 0 1 27 8.263l1.455 1.133a1.205 1.205 0 0 1 .211 1.684Z"
     />
-  </svg>`)({hidden:!this.label,title:this.label})}});const Lo=t.AH`
+  </svg>`)({hidden:!this.label,title:this.label})}});const Zo=i.AH`
     :host{--spectrum-toast-font-weight:var(--spectrum-regular-font-weight);--spectrum-toast-font-size:var(--spectrum-font-size-100);--spectrum-toast-corner-radius:var(--spectrum-corner-radius-100);--spectrum-toast-block-size:var(--spectrum-toast-height);--spectrum-toast-max-inline-size:var(--spectrum-toast-maximum-width);--spectrum-toast-border-width:var(--spectrum-border-width-100);--spectrum-toast-line-height:var(--spectrum-line-height-100);--spectrum-toast-line-height-cjk:var(--spectrum-cjk-line-height-100);--spectrum-toast-spacing-icon-to-text:var(--spectrum-text-to-visual-100);--spectrum-toast-spacing-start-edge-to-text-and-icon:var(--spectrum-spacing-300);--spectrum-toast-spacing-text-and-action-button-to-divider:var(--spectrum-spacing-300);--spectrum-toast-spacing-top-edge-to-divider:var(--spectrum-spacing-100);--spectrum-toast-spacing-bottom-edge-to-divider:var(--spectrum-spacing-100);--spectrum-toast-spacing-top-edge-to-icon:var(--spectrum-toast-top-to-workflow-icon);--spectrum-toast-spacing-text-to-action-button-horizontal:var(--spectrum-spacing-300);--spectrum-toast-spacing-close-button:var(--spectrum-spacing-100);--spectrum-toast-spacing-block-start:var(--spectrum-spacing-100);--spectrum-toast-spacing-block-end:var(--spectrum-spacing-100);--spectrum-toast-spacing-top-edge-to-text:var(--spectrum-toast-top-to-text);--spectrum-toast-spacing-bottom-edge-to-text:var(--spectrum-toast-bottom-to-text);--spectrum-toast-negative-background-color-default:var(--spectrum-negative-background-color-default);--spectrum-toast-positive-background-color-default:var(--spectrum-positive-background-color-default);--spectrum-toast-informative-background-color-default:var(--spectrum-informative-background-color-default);--spectrum-toast-text-and-icon-color:var(--spectrum-white);--spectrum-toast-divider-color:var(--spectrum-transparent-white-300)}@media (forced-colors:active){:host{--highcontrast-toast-border-color:ButtonText;border:var(--mod-toast-border-width,var(--spectrum-toast-border-width))solid var(--highcontrast-toast-border-color,transparent)}}:host{box-sizing:border-box;min-block-size:var(--mod-toast-block-size,var(--spectrum-toast-block-size));max-inline-size:var(--mod-toast-max-inline-size,var(--spectrum-toast-max-inline-size));border-radius:var(--mod-toast-corner-radius,var(--spectrum-toast-corner-radius));font-size:var(--mod-toast-font-size,var(--spectrum-toast-font-size));font-weight:var(--mod-toast-font-weight,var(--spectrum-toast-font-weight));-webkit-font-smoothing:antialiased;background-color:var(--highcontrast-toast-background-color-default,var(--mod-toast-background-color-default,var(--spectrum-toast-background-color-default)));color:var(--highcontrast-toast-background-color-default,var(--mod-toast-background-color-default,var(--spectrum-toast-background-color-default)));flex-direction:row;align-items:stretch;padding-inline-start:var(--mod-toast-spacing-start-edge-to-text-and-icon,var(--spectrum-toast-spacing-start-edge-to-text-and-icon));display:inline-flex}:host([variant=negative]){background-color:var(--highcontrast-toast-negative-background-color-default,var(--mod-toast-negative-background-color-default,var(--spectrum-toast-negative-background-color-default)))}:host([variant=negative]),:host([variant=negative]) .closeButton:focus-visible:not(:active){color:var(--highcontrast-toast-negative-background-color-default,var(--mod-toast-negative-background-color-default,var(--spectrum-toast-negative-background-color-default)))}:host([variant=info]){background-color:var(--highcontrast-toast-informative-background-color-default,var(--mod-toast-informative-background-color-default,var(--spectrum-toast-informative-background-color-default)))}:host([variant=info]),:host([variant=info]) .closeButton:focus-visible:not(:active){color:var(--highcontrast-toast-informative-background-color-default,var(--mod-toast-informative-background-color-default,var(--spectrum-toast-informative-background-color-default)))}:host([variant=positive]){background-color:var(--highcontrast-toast-positive-background-color-default,var(--mod-toast-positive-background-color-default,var(--spectrum-toast-positive-background-color-default)))}:host([variant=positive]),:host([variant=positive]) .closeButton:focus-visible:not(:active){color:var(--highcontrast-toast-positive-background-color-default,var(--mod-toast-positive-background-color-default,var(--spectrum-toast-positive-background-color-default)))}.type{flex-grow:0;flex-shrink:0;margin-block-start:var(--mod-toast-spacing-top-edge-to-icon,var(--spectrum-toast-spacing-top-edge-to-icon));margin-inline-start:0;margin-inline-end:var(--mod-toast-spacing-icon-to-text,var(--spectrum-toast-spacing-icon-to-text))}.content,.type{color:var(--highcontrast-toast-text-and-icon-color,var(--mod-toast-text-and-icon-color,var(--spectrum-toast-text-and-icon-color)))}.content{box-sizing:border-box;line-height:var(--mod-toast-line-height,var(--spectrum-toast-line-height));text-align:start;flex:auto;padding-block-start:calc(var(--mod-toast-spacing-top-edge-to-text,var(--spectrum-toast-spacing-top-edge-to-text)) - var(--mod-toast-spacing-block-start,var(--spectrum-toast-spacing-block-start)));padding-block-end:calc(var(--mod-toast-spacing-bottom-edge-to-text,var(--spectrum-toast-spacing-bottom-edge-to-text)) - var(--mod-toast-spacing-block-end,var(--spectrum-toast-spacing-block-end)));padding-inline-start:0;padding-inline-end:var(--mod-toast-spacing-text-to-action-button-horizontal,var(--spectrum-toast-spacing-text-to-action-button-horizontal));display:inline-block}.content:lang(ja),.content:lang(ko),.content:lang(zh){line-height:var(--mod-toast-line-height-cjk,var(--spectrum-toast-line-height-cjk))}.buttons{border-inline-start-color:var(--mod-toast-divider-color,var(--spectrum-toast-divider-color));flex:none;align-items:flex-start;margin-block-start:var(--mod-toast-spacing-top-edge-to-divider,var(--spectrum-toast-spacing-top-edge-to-divider));margin-block-end:var(--mod-toast-spacing-bottom-edge-to-divider,var(--spectrum-toast-spacing-bottom-edge-to-divider));padding-inline-end:var(--mod-toast-spacing-close-button,var(--spectrum-toast-spacing-close-button));display:flex}.buttons .spectrum-CloseButton{align-self:flex-start}.body{flex-wrap:wrap;flex:auto;align-self:center;align-items:center;padding-block-start:var(--mod-toast-spacing-block-start,var(--spectrum-toast-spacing-block-start));padding-block-end:var(--mod-toast-spacing-block-end,var(--spectrum-toast-spacing-block-end));display:flex}.body ::slotted([slot=action]){margin-inline-start:auto;margin-inline-end:var(--mod-toast-spacing-text-and-action-button-to-divider,var(--spectrum-toast-spacing-text-and-action-button-to-divider))}.body ::slotted([slot=action]:dir(rtl)),:host([dir=rtl]) .body ::slotted([slot=action]){margin-inline-end:auto;margin-inline-end:var(--mod-toast-spacing-text-and-action-button-to-divider,var(--spectrum-toast-spacing-text-and-action-button-to-divider))}.body+.buttons{border-inline-start-style:solid;border-inline-start-width:1px;padding-inline-start:var(--mod-toast-spacing-close-button,var(--spectrum-toast-spacing-close-button))}:host{--spectrum-toast-background-color-default:var(--system-spectrum-toast-background-color-default)}:host{--spectrum-overlay-animation-distance:var(--spectrum-spacing-100);--spectrum-overlay-animation-duration:var(--spectrum-animation-duration-100);opacity:0;pointer-events:none;transition:transform var(--spectrum-overlay-animation-duration)ease-in-out,opacity var(--spectrum-overlay-animation-duration)ease-in-out,visibility 0s linear var(--spectrum-overlay-animation-duration);visibility:hidden}:host([open]){opacity:1;pointer-events:auto;visibility:visible;transition-delay:0s}
-`;var Oo=Object.defineProperty,Uo=Object.getOwnPropertyDescriptor,Bo=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?Uo(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&Oo(e,r,c),c};const Fo=["negative","positive","info","error","warning"];class Ro extends(q(m.w)){constructor(){super(...arguments),this.open=!1,this._timeout=null,this._variant="",this.countdownStart=0,this.nextCount=-1,this.doCountdown=t=>{this.countdownStart||(this.countdownStart=performance.now()),t-this.countdownStart>this._timeout?(this.shouldClose(),this.countdownStart=0):this.countdown()},this.countdown=()=>{cancelAnimationFrame(this.nextCount),this.nextCount=requestAnimationFrame(this.doCountdown)},this.holdCountdown=()=>{this.stopCountdown(),this.addEventListener("focusout",this.resumeCountdown)},this.resumeCountdown=()=>{this.removeEventListener("focusout",this.holdCountdown),this.countdown()}}static get styles(){return[Lo]}set timeout(t){const e=null!==typeof t&&t>0?Math.max(6e3,t):null,r=this.timeout;e&&this.countdownStart&&(this.countdownStart=performance.now()),this._timeout=e,this.requestUpdate("timeout",r)}get timeout(){return this._timeout}set variant(t){if(t===this.variant)return;const e=this.variant;Fo.includes(t)?(this.setAttribute("variant",t),this._variant=t):(this.removeAttribute("variant"),this._variant=""),this.requestUpdate("variant",e)}get variant(){return this._variant}renderIcon(e){switch(e){case"info":return t.qy`
+`;var No=Object.defineProperty,Vo=Object.getOwnPropertyDescriptor,Ko=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?Vo(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&No(e,r,c),c};const Wo=["negative","positive","info","error","warning"];class Jo extends(P(v.w)){constructor(){super(...arguments),this.open=!1,this._timeout=null,this._variant="",this.countdownStart=0,this.nextCount=-1,this.doCountdown=t=>{this.countdownStart||(this.countdownStart=performance.now()),t-this.countdownStart>this._timeout?(this.shouldClose(),this.countdownStart=0):this.countdown()},this.countdown=()=>{cancelAnimationFrame(this.nextCount),this.nextCount=requestAnimationFrame(this.doCountdown)},this.holdCountdown=()=>{this.stopCountdown(),this.addEventListener("focusout",this.resumeCountdown)},this.resumeCountdown=()=>{this.removeEventListener("focusout",this.holdCountdown),this.countdown()}}static get styles(){return[Zo]}set timeout(t){const e=null!==typeof t&&t>0?Math.max(6e3,t):null,r=this.timeout;e&&this.countdownStart&&(this.countdownStart=performance.now()),this._timeout=e,this.requestUpdate("timeout",r)}get timeout(){return this._timeout}set variant(t){if(t===this.variant)return;const e=this.variant;Wo.includes(t)?(this.setAttribute("variant",t),this._variant=t):(this.removeAttribute("variant"),this._variant=""),this.requestUpdate("variant",e)}get variant(){return this._variant}renderIcon(t){switch(t){case"info":return i.qy`
                     <sp-icon-info
                         label="Information"
                         class="type"
                     ></sp-icon-info>
-                `;case"negative":case"error":case"warning":return t.qy`
+                `;case"negative":case"error":case"warning":return i.qy`
                     <sp-icon-alert label="Error" class="type"></sp-icon-alert>
-                `;case"positive":case"success":return t.qy`
+                `;case"positive":case"success":return i.qy`
                     <sp-icon-checkmark-circle
                         label="Success"
                         class="type"
                     ></sp-icon-checkmark-circle>
-                `;default:return t.qy``}}startCountdown(){this.countdown(),this.addEventListener("focusin",this.holdCountdown)}stopCountdown(){cancelAnimationFrame(this.nextCount),this.countdownStart=0}shouldClose(){this.dispatchEvent(new CustomEvent("close",{composed:!0,bubbles:!0,cancelable:!0}))&&this.close()}close(){this.open=!1}render(){return t.qy`
+                `;default:return i.qy``}}startCountdown(){this.countdown(),this.addEventListener("focusin",this.holdCountdown)}stopCountdown(){cancelAnimationFrame(this.nextCount),this.countdownStart=0}shouldClose(){this.dispatchEvent(new CustomEvent("close",{composed:!0,bubbles:!0,cancelable:!0}))&&this.close()}close(){this.open=!1}render(){return i.qy`
             ${this.renderIcon(this.variant)}
             <div class="body" role="alert">
                 <div class="content">
@@ -1110,14 +1110,14 @@ governing permissions and limitations under the License.
                     static="white"
                 ></sp-close-button>
             </div>
-        `}updated(t){super.updated(t),t.has("open")&&(this.open?this.timeout&&this.startCountdown():this.timeout&&this.stopCountdown()),t.has("timeout")&&(null!==this.timeout&&this.open?this.startCountdown():this.stopCountdown())}}Bo([(0,d.MZ)({type:Boolean,reflect:!0})],Ro.prototype,"open",2),Bo([(0,d.MZ)({type:Number})],Ro.prototype,"timeout",1),Bo([(0,d.MZ)({type:String})],Ro.prototype,"variant",1),(0,x.e)("sp-toast",Ro),a(443);const Zo=t.AH`
+        `}updated(t){super.updated(t),t.has("open")&&(this.open?this.timeout&&this.startCountdown():this.timeout&&this.stopCountdown()),t.has("timeout")&&(null!==this.timeout&&this.open?this.startCountdown():this.stopCountdown())}}Ko([(0,f.MZ)({type:Boolean,reflect:!0})],Jo.prototype,"open",2),Ko([(0,f.MZ)({type:Number})],Jo.prototype,"timeout",1),Ko([(0,f.MZ)({type:String})],Jo.prototype,"variant",1),(0,$.e)("sp-toast",Jo),a(443);const Go=i.AH`
     :host{--spectrum-menu-divider-thickness:var(--spectrum-divider-thickness-medium);margin-block:var(--mod-menu-section-divider-margin-block,max(0px,( var(--spectrum-menu-item-section-divider-height) - var(--spectrum-menu-divider-thickness))/2));margin-inline:var(--mod-menu-item-label-inline-edge-to-content,var(--spectrum-menu-item-label-inline-edge-to-content));inline-size:auto;overflow:visible}.spectrum-Menu-back:focus-visible{box-shadow:inset calc(var(--mod-menu-item-focus-indicator-width,var(--spectrum-menu-item-focus-indicator-width))*var(--spectrum-menu-item-focus-indicator-direction-scalar,1))0 0 0 var(--highcontrast-menu-item-focus-indicator-color,var(--mod-menu-item-focus-indicator-color,var(--spectrum-menu-item-focus-indicator-color)))}.spectrum-Menu-back{padding-inline:var(--mod-menu-back-padding-inline-start,0)var(--mod-menu-back-padding-inline-end,var(--spectrum-menu-item-label-inline-edge-to-content));padding-block:var(--mod-menu-back-padding-block-start,0)var(--mod-menu-back-padding-block-end,0);flex-flow:wrap;align-items:center;display:flex}.spectrum-Menu-backButton{cursor:pointer;background:0 0;border:0;margin:0;padding:0;display:inline-flex}.spectrum-Menu-backButton:focus-visible{outline:var(--spectrum-focus-indicator-thickness)solid var(--spectrum-focus-indicator-color);outline-offset:calc((var(--spectrum-focus-indicator-thickness) + 1px)*-1)}.spectrum-Menu-backHeading{color:var(--highcontrast-menu-item-color-default,var(--mod-menu-back-heading-color,var(--spectrum-menu-section-header-color)));font-size:var(--mod-menu-section-header-font-size,var(--spectrum-menu-section-header-font-size));font-weight:var(--mod-menu-section-header-font-weight,var(--spectrum-menu-section-header-font-weight));line-height:var(--mod-menu-section-header-line-height,var(--spectrum-menu-section-header-line-height));display:block}.spectrum-Menu-backIcon{margin-block:var(--mod-menu-back-icon-margin-block,var(--spectrum-menu-back-icon-margin));margin-inline:var(--mod-menu-back-icon-margin-inline,var(--spectrum-menu-back-icon-margin));fill:var(--highcontrast-menu-item-color-default,var(--mod-menu-back-icon-color-default));color:var(--highcontrast-menu-item-color-default,var(--mod-menu-back-icon-color-default))}:host{flex-shrink:0;display:block}
-`;class No extends((0,w.Z)(m.w,{validSizes:["s","m","l"]})){static get styles(){return[Gr,Zo]}firstUpdated(t){super.firstUpdated(t),this.setAttribute("role","separator")}}(0,x.e)("sp-menu-divider",No);const Vo=t.AH`
+`;class Xo extends((0,A.Z)(v.w,{validSizes:["s","m","l"]})){static get styles(){return[ro,Go]}firstUpdated(t){super.firstUpdated(t),this.setAttribute("role","separator")}}(0,$.e)("sp-menu-divider",Xo);const Yo=i.AH`
     #tooltip{pointer-events:none;visibility:hidden;opacity:0;transition:transform var(--mod-overlay-animation-duration,var(--spectrum-animation-duration-100,.13s))ease-in-out,opacity var(--mod-overlay-animation-duration,var(--spectrum-animation-duration-100,.13s))ease-in-out,visibility 0s linear var(--mod-overlay-animation-duration,var(--spectrum-animation-duration-100,.13s))}:host([open]) #tooltip{pointer-events:auto;visibility:visible;opacity:1;transition-delay:var(--mod-overlay-animation-duration-opened,var(--spectrum-animation-duration-0,0s))}#tooltip{--spectrum-tooltip-animation-duration:var(--spectrum-animation-duration-100);--spectrum-tooltip-margin:0px;--spectrum-tooltip-height:var(--spectrum-component-height-75);--spectrum-tooltip-max-inline-size:var(--spectrum-tooltip-maximum-width);--spectrum-tooltip-border-radius:var(--spectrum-corner-radius-100);--spectrum-tooltip-icon-width:var(--spectrum-workflow-icon-size-50);--spectrum-tooltip-icon-height:var(--spectrum-workflow-icon-size-50);--spectrum-tooltip-font-size:var(--spectrum-font-size-75);--spectrum-tooltip-line-height:var(--spectrum-line-height-100);--spectrum-tooltip-cjk-line-height:var(--spectrum-cjk-line-height-100);--spectrum-tooltip-font-weight:var(--spectrum-regular-font-weight);--spectrum-tooltip-spacing-inline:var(--spectrum-component-edge-to-text-75);--spectrum-tooltip-spacing-block-start:var(--spectrum-component-top-to-text-75);--spectrum-tooltip-spacing-block-end:var(--spectrum-component-bottom-to-text-75);--spectrum-tooltip-icon-spacing-inline-start:var(--spectrum-text-to-visual-75);--spectrum-tooltip-icon-spacing-inline-end:var(--spectrum-text-to-visual-75);--spectrum-tooltip-icon-spacing-block-start:var(--spectrum-component-top-to-workflow-icon-75);--spectrum-tooltip-background-color-informative:var(--spectrum-informative-background-color-default);--spectrum-tooltip-background-color-positive:var(--spectrum-positive-background-color-default);--spectrum-tooltip-background-color-negative:var(--spectrum-negative-background-color-default);--spectrum-tooltip-content-color:var(--spectrum-white);--spectrum-tooltip-tip-inline-size:var(--spectrum-tooltip-tip-width);--spectrum-tooltip-tip-block-size:var(--spectrum-tooltip-tip-height);--spectrum-tooltip-tip-square-size:var(--spectrum-tooltip-tip-inline-size);--spectrum-tooltip-tip-height-percentage:50%;--spectrum-tooltip-tip-antialiasing-inset:.5px;--spectrum-tooltip-pointer-corner-spacing:var(--spectrum-corner-radius-100);--spectrum-tooltip-background-color-default:var(--spectrum-tooltip-backgound-color-default-neutral)}@media (forced-colors:active){#tooltip{border:1px solid #0000}#tip{forced-color-adjust:none;--highcontrast-tooltip-background-color-default:CanvasText;--highcontrast-tooltip-background-color-informative:CanvasText;--highcontrast-tooltip-background-color-positive:CanvasText;--highcontrast-tooltip-background-color-negative:CanvasText}}#tooltip{box-sizing:border-box;vertical-align:top;padding-inline:var(--mod-tooltip-spacing-inline,var(--spectrum-tooltip-spacing-inline));border-radius:var(--mod-tooltip-border-radius,var(--spectrum-tooltip-border-radius));min-block-size:var(--mod-tooltip-height,var(--spectrum-tooltip-height));max-inline-size:var(--mod-tooltip-max-inline-size,var(--spectrum-tooltip-max-inline-size));background-color:var(--highcontrast-tooltip-background-color-default,var(--mod-tooltip-background-color-default,var(--spectrum-tooltip-background-color-default)));color:var(--mod-tooltip-content-color,var(--spectrum-tooltip-content-color));font-size:var(--mod-tooltip-font-size,var(--spectrum-tooltip-font-size));font-weight:var(--mod-tooltip-font-weight,var(--spectrum-tooltip-font-weight));line-height:var(--mod-tooltip-line-height,var(--spectrum-tooltip-line-height));word-break:break-word;-webkit-font-smoothing:antialiased;cursor:default;-webkit-user-select:none;user-select:none;flex-direction:row;align-items:center;block-size:auto;inline-size:auto;display:inline-flex;position:relative}:host(:lang(ja)) #tooltip,:host(:lang(ko)) #tooltip,:host(:lang(zh)) #tooltip{line-height:var(--mod-tooltip-cjk-line-height,var(--spectrum-tooltip-cjk-line-height))}#tooltip p{margin:0}:host([variant=info]) #tooltip{background-color:var(--highcontrast-tooltip-background-color-informative,var(--mod-tooltip-background-color-informative,var(--spectrum-tooltip-background-color-informative)))}:host([variant=positive]) #tooltip{background-color:var(--highcontrast-tooltip-background-color-positive,var(--mod-tooltip-background-color-positive,var(--spectrum-tooltip-background-color-positive)))}:host([variant=negative]) #tooltip{background-color:var(--highcontrast-tooltip-background-color-negative,var(--mod-tooltip-background-color-negative,var(--spectrum-tooltip-background-color-negative)))}#tip{block-size:var(--mod-tooltip-tip-square-size,var(--spectrum-tooltip-tip-square-size));inline-size:var(--mod-tooltip-tip-square-size,var(--spectrum-tooltip-tip-square-size));background-color:var(--highcontrast-tooltip-background-color-default,var(--mod-tooltip-background-color-default,var(--spectrum-tooltip-background-color-default)));clip-path:polygon(0 calc(0% - var(--mod-tooltip-tip-antialiasing-inset,var(--spectrum-tooltip-tip-antialiasing-inset))),50% var(--mod-tooltip-tip-height-percentage,var(--spectrum-tooltip-tip-height-percentage)),100% calc(0% - var(--mod-tooltip-tip-antialiasing-inset,var(--spectrum-tooltip-tip-antialiasing-inset))));inset-block-start:100%;position:absolute;left:50%;transform:translate(-50%)}:host([variant=info]) #tooltip #tip{background-color:var(--highcontrast-tooltip-background-color-informative,var(--mod-tooltip-background-color-informative,var(--spectrum-tooltip-background-color-informative)))}:host([variant=positive]) #tooltip #tip{background-color:var(--highcontrast-tooltip-background-color-positive,var(--mod-tooltip-background-color-positive,var(--spectrum-tooltip-background-color-positive)))}:host([variant=negative]) #tooltip #tip{background-color:var(--highcontrast-tooltip-background-color-negative,var(--mod-tooltip-background-color-negative,var(--spectrum-tooltip-background-color-negative)))}:host([placement*=top]) #tooltip #tip,.spectrum-Tooltip--top-end #tip,.spectrum-Tooltip--top-left #tip,.spectrum-Tooltip--top-right #tip,.spectrum-Tooltip--top-start #tip{inset-block-start:100%}:host([placement*=bottom]) #tooltip #tip,.spectrum-Tooltip--bottom-end #tip,.spectrum-Tooltip--bottom-left #tip,.spectrum-Tooltip--bottom-right #tip,.spectrum-Tooltip--bottom-start #tip{clip-path:polygon(50% calc(100% - var(--mod-tooltip-tip-height-percentage,var(--spectrum-tooltip-tip-height-percentage))),0 calc(100% + var(--mod-tooltip-tip-antialiasing-inset,var(--spectrum-tooltip-tip-antialiasing-inset))),100% calc(100% + var(--mod-tooltip-tip-antialiasing-inset,var(--spectrum-tooltip-tip-antialiasing-inset))));inset-block:auto 100%}.spectrum-Tooltip--bottom-end #tip,.spectrum-Tooltip--bottom-left #tip,.spectrum-Tooltip--bottom-right #tip,.spectrum-Tooltip--bottom-start #tip,.spectrum-Tooltip--top-end #tip,.spectrum-Tooltip--top-left #tip,.spectrum-Tooltip--top-right #tip,.spectrum-Tooltip--top-start #tip{transform:none}.spectrum-Tooltip--bottom-left #tip,.spectrum-Tooltip--top-left #tip{inset-inline-start:var(--mod-tooltip-pointer-corner-spacing,var(--spectrum-tooltip-pointer-corner-spacing))}.spectrum-Tooltip--bottom-right #tip,.spectrum-Tooltip--top-right #tip{inset-inline:auto var(--mod-tooltip-pointer-corner-spacing,var(--spectrum-tooltip-pointer-corner-spacing))}.spectrum-Tooltip--bottom-start #tip,.spectrum-Tooltip--top-start #tip{inset-inline:var(--mod-tooltip-pointer-corner-spacing,var(--spectrum-tooltip-pointer-corner-spacing))auto}.spectrum-Tooltip--bottom-start #tip:dir(rtl),.spectrum-Tooltip--top-start #tip:dir(rtl),:host([dir=rtl]) .spectrum-Tooltip--bottom-start #tip,:host([dir=rtl]) .spectrum-Tooltip--top-start #tip{right:var(--mod-tooltip-pointer-corner-spacing,var(--spectrum-tooltip-pointer-corner-spacing));left:auto}.spectrum-Tooltip--bottom-end #tip,.spectrum-Tooltip--top-end #tip{inset-inline:auto var(--mod-tooltip-pointer-corner-spacing,var(--spectrum-tooltip-pointer-corner-spacing))}.spectrum-Tooltip--bottom-end #tip:dir(rtl),.spectrum-Tooltip--top-end #tip:dir(rtl),:host([dir=rtl]) .spectrum-Tooltip--bottom-end #tip,:host([dir=rtl]) .spectrum-Tooltip--top-end #tip{left:var(--mod-tooltip-pointer-corner-spacing,var(--spectrum-tooltip-pointer-corner-spacing));right:auto}.spectrum-Tooltip--end #tip,.spectrum-Tooltip--end-bottom #tip,.spectrum-Tooltip--end-top #tip,:host([placement*=left]) #tooltip #tip,.spectrum-Tooltip--left-bottom #tip,.spectrum-Tooltip--left-top #tip,:host([placement*=right]) #tooltip #tip,.spectrum-Tooltip--right-bottom #tip,.spectrum-Tooltip--right-top #tip,.spectrum-Tooltip--start #tip,.spectrum-Tooltip--start-bottom #tip,.spectrum-Tooltip--start-top #tip{inset-block-start:50%;transform:translateY(-50%)}.spectrum-Tooltip--end-bottom #tip,.spectrum-Tooltip--end-top #tip,.spectrum-Tooltip--left-bottom #tip,.spectrum-Tooltip--left-top #tip,.spectrum-Tooltip--right-bottom #tip,.spectrum-Tooltip--right-top #tip,.spectrum-Tooltip--start-bottom #tip,.spectrum-Tooltip--start-top #tip{inset-block-start:auto;transform:none}.spectrum-Tooltip--end #tip,.spectrum-Tooltip--end-bottom #tip,.spectrum-Tooltip--end-top #tip,:host([placement*=right]) #tooltip #tip,.spectrum-Tooltip--right-bottom #tip,.spectrum-Tooltip--right-top #tip{clip-path:polygon(calc(100% - var(--mod-tooltip-tip-height-percentage,var(--spectrum-tooltip-tip-height-percentage)))50%,calc(100% + var(--mod-tooltip-tip-antialiasing-inset,var(--spectrum-tooltip-tip-antialiasing-inset)))100%,calc(100% + var(--mod-tooltip-tip-antialiasing-inset,var(--spectrum-tooltip-tip-antialiasing-inset)))0);inset-inline:auto 100%}:host([placement*=left]) #tooltip #tip,.spectrum-Tooltip--left-bottom #tip,.spectrum-Tooltip--left-top #tip,.spectrum-Tooltip--start #tip,.spectrum-Tooltip--start-bottom #tip,.spectrum-Tooltip--start-top #tip{clip-path:polygon(calc(0% - var(--mod-tooltip-tip-antialiasing-inset,var(--spectrum-tooltip-tip-antialiasing-inset)))0,calc(0% - var(--mod-tooltip-tip-antialiasing-inset,var(--spectrum-tooltip-tip-antialiasing-inset)))100%,var(--mod-tooltip-tip-height-percentage,var(--spectrum-tooltip-tip-height-percentage))50%);inset-inline-start:100%}.spectrum-Tooltip--end-top #tip,.spectrum-Tooltip--left-top #tip,.spectrum-Tooltip--right-top #tip,.spectrum-Tooltip--start-top #tip{inset-block-start:var(--mod-tooltip-pointer-corner-spacing,var(--spectrum-tooltip-pointer-corner-spacing))}.spectrum-Tooltip--end-bottom #tip,.spectrum-Tooltip--left-bottom #tip,.spectrum-Tooltip--right-bottom #tip,.spectrum-Tooltip--start-bottom #tip{inset-block-end:var(--mod-tooltip-pointer-corner-spacing,var(--spectrum-tooltip-pointer-corner-spacing))}.spectrum-Tooltip--end #tip:dir(rtl),.spectrum-Tooltip--end-bottom #tip:dir(rtl),.spectrum-Tooltip--end-top #tip:dir(rtl),:host([placement*=left]) #tooltip #tip:dir(rtl),.spectrum-Tooltip--left-bottom #tip:dir(rtl),.spectrum-Tooltip--left-top #tip:dir(rtl),:host([dir=rtl]) .spectrum-Tooltip--end #tip,:host([dir=rtl]) .spectrum-Tooltip--end-bottom #tip,:host([dir=rtl]) .spectrum-Tooltip--end-top #tip,:host([dir=rtl][placement*=left]) #tooltip #tip,:host([dir=rtl]) .spectrum-Tooltip--left-bottom #tip,:host([dir=rtl]) .spectrum-Tooltip--left-top #tip{clip-path:polygon(calc(0% - var(--mod-tooltip-tip-antialiasing-inset,var(--spectrum-tooltip-tip-antialiasing-inset)))0,calc(0% - var(--mod-tooltip-tip-antialiasing-inset,var(--spectrum-tooltip-tip-antialiasing-inset)))100%,var(--mod-tooltip-tip-height-percentage,var(--spectrum-tooltip-tip-height-percentage))50%);left:100%;right:auto}:host([placement*=right]) #tooltip #tip:dir(rtl),.spectrum-Tooltip--right-bottom #tip:dir(rtl),.spectrum-Tooltip--right-top #tip:dir(rtl),.spectrum-Tooltip--start #tip:dir(rtl),.spectrum-Tooltip--start-bottom #tip:dir(rtl),.spectrum-Tooltip--start-top #tip:dir(rtl),:host([dir=rtl][placement*=right]) #tooltip #tip,:host([dir=rtl]) .spectrum-Tooltip--right-bottom #tip,:host([dir=rtl]) .spectrum-Tooltip--right-top #tip,:host([dir=rtl]) .spectrum-Tooltip--start #tip,:host([dir=rtl]) .spectrum-Tooltip--start-bottom #tip,:host([dir=rtl]) .spectrum-Tooltip--start-top #tip{clip-path:polygon(var(--mod-tooltip-tip-height-percentage,var(--spectrum-tooltip-tip-height-percentage))50%,calc(100% + var(--mod-tooltip-tip-antialiasing-inset,var(--spectrum-tooltip-tip-antialiasing-inset)))100%,calc(100% + var(--mod-tooltip-tip-antialiasing-inset,var(--spectrum-tooltip-tip-antialiasing-inset)))0);left:auto;right:100%}::slotted([slot=icon]){inline-size:var(--mod-tooltip-icon-width,var(--spectrum-tooltip-icon-width));block-size:var(--mod-tooltip-icon-height,var(--spectrum-tooltip-icon-height));flex-shrink:0;align-self:flex-start;margin-block-start:var(--mod-tooltip-icon-spacing-block-start,var(--spectrum-tooltip-icon-spacing-block-start));margin-inline-start:calc(var(--mod-tooltip-icon-spacing-inline-start,var(--spectrum-tooltip-icon-spacing-inline-start)) - var(--mod-tooltip-spacing-inline,var(--spectrum-tooltip-spacing-inline)));margin-inline-end:var(--mod-tooltip-icon-spacing-inline-end,var(--spectrum-tooltip-icon-spacing-inline-end))}#label{line-height:var(--mod-tooltip-line-height,var(--spectrum-tooltip-line-height));margin-block-start:var(--mod-tooltip-spacing-block-start,var(--spectrum-tooltip-spacing-block-start));margin-block-end:var(--mod-tooltip-spacing-block-end,var(--spectrum-tooltip-spacing-block-end))}#tooltip,:host([placement*=top]) #tooltip,.spectrum-Tooltip--top-end,.spectrum-Tooltip--top-left,.spectrum-Tooltip--top-right,.spectrum-Tooltip--top-start{margin-block-end:calc(var(--mod-tooltip-tip-block-size,var(--spectrum-tooltip-tip-block-size)) + var(--mod-tooltip-margin,var(--spectrum-tooltip-margin)))}:host([open]) .spectrum-Tooltip--top-end,:host([open]) .spectrum-Tooltip--top-left,:host([open]) .spectrum-Tooltip--top-right,:host([open]) .spectrum-Tooltip--top-start,:host([placement*=top][open]) #tooltip,:host([open]) #tooltip{transform:translateY(calc(var(--mod-tooltip-animation-distance,var(--spectrum-tooltip-animation-distance))*-1))}:host([placement*=bottom]) #tooltip,.spectrum-Tooltip--bottom-end,.spectrum-Tooltip--bottom-left,.spectrum-Tooltip--bottom-right,.spectrum-Tooltip--bottom-start{margin-block-start:calc(var(--mod-tooltip-tip-block-size,var(--spectrum-tooltip-tip-block-size)) + var(--mod-tooltip-margin,var(--spectrum-tooltip-margin)))}:host([open]) .spectrum-Tooltip--bottom-end,:host([open]) .spectrum-Tooltip--bottom-left,:host([open]) .spectrum-Tooltip--bottom-right,:host([open]) .spectrum-Tooltip--bottom-start,:host([placement*=bottom][open]) #tooltip{transform:translateY(var(--mod-tooltip-animation-distance,var(--spectrum-tooltip-animation-distance)))}:host([placement*=right]) #tooltip,.spectrum-Tooltip--right-bottom,.spectrum-Tooltip--right-top{margin-left:calc(var(--mod-tooltip-tip-block-size,var(--spectrum-tooltip-tip-block-size)) + var(--mod-tooltip-margin,var(--spectrum-tooltip-margin)))}:host([open]) .spectrum-Tooltip--right-bottom,:host([open]) .spectrum-Tooltip--right-top,:host([placement*=right][open]) #tooltip{transform:translateX(var(--mod-tooltip-animation-distance,var(--spectrum-tooltip-animation-distance)))}:host([placement*=left]) #tooltip,.spectrum-Tooltip--left-bottom,.spectrum-Tooltip--left-top{margin-right:calc(var(--mod-tooltip-tip-block-size,var(--spectrum-tooltip-tip-block-size)) + var(--mod-tooltip-margin,var(--spectrum-tooltip-margin)))}:host([open]) .spectrum-Tooltip--left-bottom,:host([open]) .spectrum-Tooltip--left-top,:host([placement*=left][open]) #tooltip{transform:translateX(calc(var(--mod-tooltip-animation-distance,var(--spectrum-tooltip-animation-distance))*-1))}.spectrum-Tooltip--start,.spectrum-Tooltip--start-bottom,.spectrum-Tooltip--start-top{margin-inline-end:calc(var(--mod-tooltip-tip-block-size,var(--spectrum-tooltip-tip-block-size)) + var(--mod-tooltip-margin,var(--spectrum-tooltip-margin)))}:host([open]) .spectrum-Tooltip--start-bottom,:host([open]) .spectrum-Tooltip--start-top,:host([open]) .spectrum-Tooltip--start{transform:translateX(calc(var(--mod-tooltip-animation-distance,var(--spectrum-tooltip-animation-distance))*-1))}:host([open]) .spectrum-Tooltip--start-bottom:dir(rtl),:host([open]) .spectrum-Tooltip--start-top:dir(rtl),:host([open]) .spectrum-Tooltip--start:dir(rtl),:host([dir=rtl][open]) .spectrum-Tooltip--start-bottom,:host([dir=rtl][open]) .spectrum-Tooltip--start-top,:host([dir=rtl][open]) .spectrum-Tooltip--start{transform:translateX(var(--mod-tooltip-animation-distance,var(--spectrum-tooltip-animation-distance)))}.spectrum-Tooltip--end,.spectrum-Tooltip--end-bottom,.spectrum-Tooltip--end-top{margin-inline-start:calc(var(--mod-tooltip-tip-block-size,var(--spectrum-tooltip-tip-block-size)) + var(--mod-tooltip-margin,var(--spectrum-tooltip-margin)))}:host([open]) .spectrum-Tooltip--end-bottom,:host([open]) .spectrum-Tooltip--end-top,:host([open]) .spectrum-Tooltip--end{transform:translateX(var(--mod-tooltip-animation-distance,var(--spectrum-tooltip-animation-distance)))}:host([open]) .spectrum-Tooltip--end-bottom:dir(rtl),:host([open]) .spectrum-Tooltip--end-top:dir(rtl),:host([open]) .spectrum-Tooltip--end:dir(rtl),:host([dir=rtl][open]) .spectrum-Tooltip--end-bottom,:host([dir=rtl][open]) .spectrum-Tooltip--end-top,:host([dir=rtl][open]) .spectrum-Tooltip--end{transform:translateX(calc(var(--mod-tooltip-animation-distance,var(--spectrum-tooltip-animation-distance))*-1))}#tooltip{--spectrum-tooltip-backgound-color-default-neutral:var(--system-spectrum-tooltip-backgound-color-default-neutral)}:host{white-space:initial;display:contents}#tooltip{inline-size:max-content}#tip{clip-path:polygon(0 -5%,50% 50%,100% -5%);width:var(--spectrum-tooltip-tip-inline-size)!important;height:var(--spectrum-tooltip-tip-inline-size)!important}#tip[style]{transform:none!important}:host(:not([placement*=top])) #tooltip{margin-bottom:0}:host([placement*=top]) #tooltip #tip{inset-block-start:100%}:host([placement*=bottom]) #tooltip #tip{clip-path:polygon(50% 50%,0 105%,100% 105%);inset-block-end:100%;top:auto}:host([placement*=left]) #tooltip #tip,:host([placement*=right]) #tooltip #tip{inset-block-start:50%;transform:translateY(-50%)}:host([placement*=right]) #tooltip #tip{clip-path:polygon(50% 50%,105% 100%,105% 0);inset-inline:calc(var(--mod-tooltip-tip-block-size,var(--spectrum-tooltip-tip-block-size))*-2)100%}:host([placement*=left]) #tooltip #tip{clip-path:polygon(-5% 0,-5% 100%,50% 50%);inset-inline-start:100%}sp-overlay:not(:defined){display:none}
-`;var Ko=a(367),Wo=Object.defineProperty,Jo=Object.getOwnPropertyDescriptor,Go=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?Jo(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&Wo(e,r,c),c};class Xo extends HTMLElement{constructor(){super(),this._open=!1,this._placement="top",this.addEventListener("sp-opened",this.redispatchEvent),this.addEventListener("sp-closed",this.redispatchEvent)}redispatchEvent(t){t.stopPropagation(),this.tooltip.dispatchEvent(new CustomEvent(t.type,{bubbles:t.bubbles,composed:t.composed,detail:t.detail}))}get tooltip(){return this.getRootNode().host}static get observedAttributes(){return["open","placement"]}attributeChangedCallback(t,e,r){switch(t){case"open":this.open=null!==r;break;case"placement":this.placement=r}}set open(t){this._open=t;const{tooltip:e}=this;e&&(e.open=t)}get open(){return this._open}set placement(t){this._placement=t;const{tooltip:e}=this;e&&(e.placement=t)}get placement(){return this._placement}get tipElement(){return this.tooltip.tipElement}}customElements.get("sp-tooltip-openable")||customElements.define("sp-tooltip-openable",Xo);class Yo extends m.w{constructor(){super(...arguments),this.delayed=!1,this.dependencyManager=new Pr(this),this.disabled=!1,this.selfManaged=!1,this.offset=0,this.open=!1,this._variant="",this.handleOpenOverlay=()=>{this.open=!0},this.handleCloseOverlay=()=>{this.open=!1}}static get styles(){return[Vo]}get variant(){return this._variant}set variant(t){if(t!==this.variant){if(["info","positive","negative"].includes(t))return this.setAttribute("variant",t),void(this._variant=t);this.removeAttribute("variant"),this._variant=""}}forwardTransitionEvent(t){this.dispatchEvent(new TransitionEvent(t.type,{bubbles:!0,composed:!0,propertyName:t.propertyName}))}get triggerElement(){var t;let e=this.assignedSlot||this,r=e.getRootNode();if(r===document)return null;let o=e.parentElement||r.host||r;for(;null==(t=null==o?void 0:o.matches)||!t.call(o,Ko.U);){if(e=o.assignedSlot||o,r=e.getRootNode(),r===document)return null;o=e.parentElement||r.host||r}return o}render(){const e=t.qy`
+`;var Qo=a(367),ts=Object.defineProperty,es=Object.getOwnPropertyDescriptor,rs=(t,e,r,o)=>{for(var s,c=o>1?void 0:o?es(e,r):e,a=t.length-1;a>=0;a--)(s=t[a])&&(c=(o?s(e,r,c):s(c))||c);return o&&c&&ts(e,r,c),c};class os extends HTMLElement{constructor(){super(),this._open=!1,this._placement="top",this.addEventListener("sp-opened",this.redispatchEvent),this.addEventListener("sp-closed",this.redispatchEvent)}redispatchEvent(t){t.stopPropagation(),this.tooltip.dispatchEvent(new CustomEvent(t.type,{bubbles:t.bubbles,composed:t.composed,detail:t.detail}))}get tooltip(){return this.getRootNode().host}static get observedAttributes(){return["open","placement"]}attributeChangedCallback(t,e,r){switch(t){case"open":this.open=null!==r;break;case"placement":this.placement=r}}set open(t){this._open=t;const{tooltip:e}=this;e&&(e.open=t)}get open(){return this._open}set placement(t){this._placement=t;const{tooltip:e}=this;e&&(e.placement=t)}get placement(){return this._placement}get tipElement(){return this.tooltip.tipElement}}customElements.get("sp-tooltip-openable")||customElements.define("sp-tooltip-openable",os);class ss extends v.w{constructor(){super(...arguments),this.delayed=!1,this.dependencyManager=new Fr(this),this.disabled=!1,this.selfManaged=!1,this.offset=0,this.open=!1,this._variant="",this.handleOpenOverlay=()=>{this.open=!0},this.handleCloseOverlay=()=>{this.open=!1}}static get styles(){return[Yo]}get variant(){return this._variant}set variant(t){if(t!==this.variant){if(["info","positive","negative"].includes(t))return this.setAttribute("variant",t),void(this._variant=t);this.removeAttribute("variant"),this._variant=""}}forwardTransitionEvent(t){this.dispatchEvent(new TransitionEvent(t.type,{bubbles:!0,composed:!0,propertyName:t.propertyName}))}get triggerElement(){var t;let e=this.assignedSlot||this,r=e.getRootNode();if(r===document)return null;let o=e.parentElement||r.host||r;for(;null==(t=null==o?void 0:o.matches)||!t.call(o,Qo.U);){if(e=o.assignedSlot||o,r=e.getRootNode(),r===document)return null;o=e.parentElement||r.host||r}return o}render(){const t=i.qy`
             <sp-tooltip-openable
                 id="tooltip"
-                placement=${(0,S.J)(this.placement)}
+                placement=${(0,j.J)(this.placement)}
                 @transitionrun=${this.forwardTransitionEvent}
                 @transitionend=${this.forwardTransitionEvent}
                 @transitioncancel=${this.forwardTransitionEvent}
@@ -1126,7 +1126,7 @@ governing permissions and limitations under the License.
                 <span id="label"><slot></slot></span>
                 <span id="tip" aria-hidden="true"></span>
             </sp-tooltip-openable>
-        `;return this.selfManaged?(this.dependencyManager.add("sp-overlay"),a.e(694).then(a.bind(a,904)),t.qy`
+        `;return this.selfManaged?(this.dependencyManager.add("sp-overlay"),a.e(694).then(a.bind(a,904)),i.qy`
                 <sp-overlay
                     ?open=${this.open&&!this.disabled&&this.dependencyManager.loaded}
                     ?delayed=${this.delayed}
@@ -1139,9 +1139,9 @@ governing permissions and limitations under the License.
                     @sp-opened=${this.handleOpenOverlay}
                     @sp-closed=${this.handleCloseOverlay}
                 >
-                    ${e}
+                    ${t}
                 </sp-overlay>
-            `):e}connectedCallback(){super.connectedCallback(),this.updateComplete.then((()=>{if(!this.selfManaged)return;const t=this.overlayElement;if(t){const e=this.triggerElement;t.triggerElement=e}}))}}Go([(0,d.MZ)({type:Boolean})],Yo.prototype,"delayed",2),Go([(0,d.MZ)({type:Boolean})],Yo.prototype,"disabled",2),Go([(0,d.MZ)({type:Boolean,attribute:"self-managed"})],Yo.prototype,"selfManaged",2),Go([(0,d.MZ)({type:Number})],Yo.prototype,"offset",2),Go([(0,d.MZ)({type:Boolean,reflect:!0})],Yo.prototype,"open",2),Go([(0,d.P)("sp-overlay")],Yo.prototype,"overlayElement",2),Go([(0,d.MZ)({reflect:!0})],Yo.prototype,"placement",2),Go([(0,d.P)("#tip")],Yo.prototype,"tipElement",2),Go([(0,d.MZ)({type:Number})],Yo.prototype,"tipPadding",2),Go([(0,d.MZ)({type:String})],Yo.prototype,"variant",1),(0,x.e)("sp-tooltip",Yo),(0,x.e)("sp-icon-delete",class extends v{render(){return y(t.qy),(({width:t=24,height:e=24,hidden:r=!1,title:o="Delete"}={})=>k`<svg
+            `):t}connectedCallback(){super.connectedCallback(),this.updateComplete.then((()=>{if(!this.selfManaged)return;const t=this.overlayElement;if(t){const e=this.triggerElement;t.triggerElement=e}}))}}rs([(0,f.MZ)({type:Boolean})],ss.prototype,"delayed",2),rs([(0,f.MZ)({type:Boolean})],ss.prototype,"disabled",2),rs([(0,f.MZ)({type:Boolean,attribute:"self-managed"})],ss.prototype,"selfManaged",2),rs([(0,f.MZ)({type:Number})],ss.prototype,"offset",2),rs([(0,f.MZ)({type:Boolean,reflect:!0})],ss.prototype,"open",2),rs([(0,f.P)("sp-overlay")],ss.prototype,"overlayElement",2),rs([(0,f.MZ)({reflect:!0})],ss.prototype,"placement",2),rs([(0,f.P)("#tip")],ss.prototype,"tipElement",2),rs([(0,f.MZ)({type:Number})],ss.prototype,"tipPadding",2),rs([(0,f.MZ)({type:String})],ss.prototype,"variant",1),(0,$.e)("sp-tooltip",ss),(0,$.e)("sp-icon-delete",class extends z{render(){return S(i.qy),(({width:t=24,height:e=24,hidden:r=!1,title:o="Delete"}={})=>I`<svg
     xmlns="http://www.w3.org/2000/svg"
     height=${e}
     viewBox="0 0 36 36"
@@ -1154,7 +1154,7 @@ governing permissions and limitations under the License.
     <path
       d="M31.5 6H24V4a2 2 0 0 0-2-2H12a2 2 0 0 0-2 2v2H2.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h2l2.413 25.1a1 1 0 0 0 1 .9h18.179a1 1 0 0 0 1-.9L29.5 8h2a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5ZM11.065 29A1 1 0 0 1 10 28.068l-1.071-16a1 1 0 1 1 2-.134l1.071 16A1 1 0 0 1 11.065 29ZM18 28a1 1 0 0 1-2 0V12a1 1 0 0 1 2 0Zm4-22H12V4h10Zm2 22.068a1 1 0 1 1-2-.134l1.071-16a1 1 0 1 1 2 .134Z"
     />
-  </svg>`)({hidden:!this.label,title:this.label})}}),(0,x.e)("sp-icon-arrow-up",class extends v{render(){return y(t.qy),(({width:t=24,height:e=24,hidden:r=!1,title:o="Arrow Up"}={})=>k`<svg
+  </svg>`)({hidden:!this.label,title:this.label})}}),(0,$.e)("sp-icon-arrow-up",class extends z{render(){return S(i.qy),(({width:t=24,height:e=24,hidden:r=!1,title:o="Arrow Up"}={})=>I`<svg
     xmlns="http://www.w3.org/2000/svg"
     width=${t}
     height=${e}
@@ -1167,7 +1167,7 @@ governing permissions and limitations under the License.
     <path
       d="M24 16.1v17a1 1 0 0 1-1 1H13a1 1 0 0 1-1-1v-17H5.007a.5.5 0 0 1-.353-.854L18 1.9l13.346 13.346a.5.5 0 0 1-.353.854Z"
     />
-  </svg>`)({hidden:!this.label,title:this.label})}}),(0,x.e)("sp-icon-link-out",class extends v{render(){return y(t.qy),(({width:t=24,height:e=24,hidden:r=!1,title:o="Link Out"}={})=>k`<svg
+  </svg>`)({hidden:!this.label,title:this.label})}}),(0,$.e)("sp-icon-link-out",class extends z{render(){return S(i.qy),(({width:t=24,height:e=24,hidden:r=!1,title:o="Link Out"}={})=>I`<svg
     xmlns="http://www.w3.org/2000/svg"
     height=${e}
     viewBox="0 0 36 36"
@@ -1183,7 +1183,7 @@ governing permissions and limitations under the License.
     <path
       d="M33.5 2H22.754a.8.8 0 0 0-.754.8.784.784 0 0 0 .235.56l3.786 3.79-7.042 7.042a1 1 0 0 0 0 1.415l1.414 1.414a1 1 0 0 0 1.414 0l7.043-7.042 3.786 3.785A.781.781 0 0 0 33.2 14a.8.8 0 0 0 .8-.754V2.5a.5.5 0 0 0-.5-.5Z"
     />
-  </svg>`)({hidden:!this.label,title:this.label})}}),(0,x.e)("sp-icon-add-circle",class extends v{render(){return y(t.qy),(({width:t=24,height:e=24,hidden:r=!1,title:o="Add Circle"}={})=>k`<svg
+  </svg>`)({hidden:!this.label,title:this.label})}}),(0,$.e)("sp-icon-add-circle",class extends z{render(){return S(i.qy),(({width:t=24,height:e=24,hidden:r=!1,title:o="Add Circle"}={})=>I`<svg
     xmlns="http://www.w3.org/2000/svg"
     width=${t}
     height=${e}
@@ -1196,7 +1196,7 @@ governing permissions and limitations under the License.
     <path
       d="M18 2a16 16 0 1 0 16 16A16 16 0 0 0 18 2Zm10 17a1 1 0 0 1-1 1h-7v7a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1v-7H9a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1h7V9a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v7h7a1 1 0 0 1 1 1Z"
     />
-  </svg>`)({hidden:!this.label,title:this.label})}}),(0,x.e)("sp-icon-view-grid",class extends v{render(){return y(t.qy),(({width:t=24,height:e=24,hidden:r=!1,title:o="View Grid"}={})=>k`<svg
+  </svg>`)({hidden:!this.label,title:this.label})}}),(0,$.e)("sp-icon-view-grid",class extends z{render(){return S(i.qy),(({width:t=24,height:e=24,hidden:r=!1,title:o="View Grid"}={})=>I`<svg
     xmlns="http://www.w3.org/2000/svg"
     height=${e}
     viewBox="0 0 36 36"
@@ -1209,4 +1209,4 @@ governing permissions and limitations under the License.
     <path
       d="M10 10H2V3a1 1 0 0 1 1-1h7ZM14 2h8v8h-8zM34 10h-8V2h7a1 1 0 0 1 1 1ZM2 14h8v8H2zM14 14h8v8h-8zM26 14h8v8h-8zM10 34H3a1 1 0 0 1-1-1v-7h8ZM14 26h8v8h-8zM33 34h-7v-8h8v7a1 1 0 0 1-1 1Z"
     />
-  </svg>`)({hidden:!this.label,title:this.label})}})})()})();
\ No newline at end of file
+  </svg>`)({hidden:!this.label,title:this.label})}})})();
\ No newline at end of file
diff --git a/js/import/import.ui.js b/js/import/import.ui.js
index 331727bd..cfbbd7ee 100644
--- a/js/import/import.ui.js
+++ b/js/import/import.ui.js
@@ -115,20 +115,6 @@ const setupUI = () => {
     SPTABS.selected = 'import-preview';
   }
 
-  // check if in demo tool context
-  if (IS_FRAGMENTS && sessionStorage.getItem(DEMO_TOOL_MODE_SESSION_STORAGE_KEY)) {
-    const searchParams = new URLSearchParams(window.top.location.search);
-    if (searchParams.get('url')) {
-      const f = window.document.querySelector('#import-url');
-      f.value = searchParams.get('url');
-      config.fields['import-url'] = searchParams.get('url');
-    }
-
-    const saveDocxCheckboxEl = document.getElementById('import-local-docx');
-    saveDocxCheckboxEl.setAttribute('checked', true);
-    saveDocxCheckboxEl.setAttribute('disabled', '');
-  }
-
   // init the fragment UI
   fragmentUI.init(config);
 };
@@ -561,8 +547,8 @@ const attachListeners = () => {
           await dirHandle.requestPermission({
             mode: 'readwrite',
           });
+          FOLDERNAME_SPAN.innerText = `Saving file(s) to: ${dirHandle.name}`;
         }
-        FOLDERNAME_SPAN.innerText = `Saving file(s) to: ${dirHandle.name}`;
         FOLDERNAME_SPAN.classList.remove('hidden');
       } catch (e) {
         restoreWaitingUI(null, true);
@@ -964,6 +950,34 @@ const attachListeners = () => {
 
 const init = () => {
   config.origin = window.location.origin;
+
+  // check if in demo tool context
+  if (IS_FRAGMENTS && sessionStorage.getItem(DEMO_TOOL_MODE_SESSION_STORAGE_KEY)) {
+    const searchParams = new URLSearchParams(window.top.location.search);
+    if (searchParams.get('url')) {
+      const f = window.document.querySelector('#import-url');
+      f.value = searchParams.get('url');
+    }
+
+    if (searchParams.get('enableJs')) {
+      const enableJsEl = document.getElementById('import-enable-js');
+      if (enableJsEl) {
+        enableJsEl.setAttribute('checked', true);
+      }
+    }
+
+    if (searchParams.get('saveAs')) {
+      const saveAsDocxCheckboxEl = document.getElementById('import-local-docx');
+      if (saveAsDocxCheckboxEl) {
+        saveAsDocxCheckboxEl.removeAttribute('checked');
+      }
+      const saveAsCheckboxEl = document.getElementById(`import-local-${searchParams.get('saveAs')}`);
+      if (saveAsCheckboxEl) {
+        saveAsCheckboxEl.setAttribute('checked', true);
+      }
+    }
+  }
+
   config.fields = initOptionFields(CONFIG_PARENT_SELECTOR);
 
   createImporter();
diff --git a/js/sections-mapping/import/import.utils.js b/js/sections-mapping/import/import.utils.js
index f7ff6267..6c9d1d41 100644
--- a/js/sections-mapping/import/import.utils.js
+++ b/js/sections-mapping/import/import.utils.js
@@ -1,6 +1,60 @@
 /* global WebImporter */
 
-import { getXPath } from '../../shared/utils.js';
+// courtesy of https://github.com/adobecom/aem-milo-migrations/blob/main/tools/importer/parsers/utils.js
+const getXPath = (elm, document, withDetails = false) => {
+  const allNodes = document.getElementsByTagName('*');
+  let segs;
+  // eslint-disable-next-line no-param-reassign
+  for (segs = []; elm && elm.nodeType === 1; elm = elm.parentNode) {
+    if (withDetails) {
+      if (elm.hasAttribute('id')) {
+        let uniqueIdCount = 0;
+        for (let n = 0; n < allNodes.length; n += 1) {
+          if (allNodes[n].hasAttribute('id') && allNodes[n].id === elm.id) {
+            uniqueIdCount += 1;
+          }
+          if (uniqueIdCount > 1) {
+            break;
+          }
+        }
+        if (uniqueIdCount === 1) {
+          segs.unshift(`id("${elm.getAttribute('id')}")`);
+          return segs.join('/');
+        }
+
+        segs.unshift(`${elm.localName.toLowerCase()}[@id="${elm.getAttribute('id')}"]`);
+      } else if (elm.hasAttribute('class')) {
+        segs.unshift(`${elm.localName.toLowerCase()}[@class="${[...elm.classList].join(' ').trim()}"]`);
+      }
+    } else {
+      let i;
+      let sib;
+      for (i = 1, sib = elm.previousSibling; sib; sib = sib.previousSibling) {
+        if (sib.localName === elm.localName) {
+          i += 1;
+        }
+      }
+      segs.unshift(`${elm.localName.toLowerCase()}[${i}]`);
+    }
+  }
+  return segs.length ? `/${segs.join('/')}` : null;
+};
+
+export function getElementByXpath(document, path) {
+  try {
+    return document.evaluate(
+      path,
+      document,
+      null,
+      XPathResult.FIRST_ORDERED_NODE_TYPE,
+      null,
+    ).singleNodeValue;
+  } catch (e) {
+    // eslint-disable-next-line no-console
+    console.warn('Error evaluating this xpath:', path, e);
+  }
+  return undefined;
+}
 
 // courtesy of https://github.com/adobecom/aem-milo-migrations/blob/main/tools/importer/parsers/utils.js
 export function getNSiblingsDivs(el, document, n = null) {
@@ -34,17 +88,6 @@ export function getNSiblingsDivs(el, document, n = null) {
   return xpathGrouping[selectedXpathPattern] || null;
 }
 
-export function getElementByXpath(document, path) {
-  return document.evaluate(
-    path,
-    document,
-    null,
-    XPathResult.FIRST_ORDERED_NODE_TYPE,
-    null,
-  )
-    .singleNodeValue;
-}
-
 // thanks to https://stackoverflow.com/questions/49974145/how-to-convert-rgba-to-hex-color-code-using-javascript
 export function RGBAToHexA(rgba, forceRemoveAlpha = false) {
   return "#" + rgba.replace(/^rgba?\(|\s+|\)$/g, '') // Get's rgba / rgb string values
diff --git a/js/sections-mapping/import/sections-mapping.import.js b/js/sections-mapping/import/sections-mapping.import.js
index 7509859f..9a9b42bf 100644
--- a/js/sections-mapping/import/sections-mapping.import.js
+++ b/js/sections-mapping/import/sections-mapping.import.js
@@ -3,7 +3,7 @@
  */
 /* global WebImporter */
 
-import { getElementByXpath } from './import.utils.js';
+import { getElementByXpath } from '../../shared/utils.js';
 import * as parsers from './parsers/parsers.js';
 
 /**
@@ -48,8 +48,8 @@ export function getFragmentSectionsMappingData(url) {
  * constants
  */
 
-// init sections report
-const IMPORT_REPORT = {};
+// // init sections report
+// const IMPORT_REPORT = {};
 
 /**
  * main
@@ -106,7 +106,7 @@ export default {
      * get sections mapping data
      */
 
-    const mapping = getSectionsMappingData(params.originalURL);
+    const mapping = getFragmentSectionsMappingData(params.originalURL);
     if (!mapping) {
       throw new Error('No sections mapping data found, aborting');
     }
diff --git a/js/sections-mapping/sm.ui.js b/js/sections-mapping/sm.ui.js
index d38e7d24..f678140a 100644
--- a/js/sections-mapping/sm.ui.js
+++ b/js/sections-mapping/sm.ui.js
@@ -75,7 +75,6 @@ export function addFragmentAccordionElement(path) {
   <sp-button id="delete-frg" size="s" variant="negative" treatment="fill" role="button" icon-only>
     <sp-icon-delete slot="icon" dir="ltr" aria-hidden="true"></sp-icon-delete>
   </sp-button>
-  <details>
   <details>
     <summary>${label}</summary>
     <div class="sm-fragment-content">
diff --git a/package-lock.json b/package-lock.json
index 0bc44d7b..1b44c53d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,20 +1,20 @@
 {
   "name": "@adobe/helix-importer-ui",
-  "version": "1.51.23",
+  "version": "1.51.27",
   "lockfileVersion": 3,
   "requires": true,
   "packages": {
     "": {
       "name": "@adobe/helix-importer-ui",
-      "version": "1.51.23",
+      "version": "1.51.27",
       "dependencies": {
-        "@adobe/helix-importer": "3.4.7",
+        "@adobe/helix-importer": "3.4.9",
         "@adobe/mdast-util-gridtables": "4.0.6",
         "@adobe/remark-gridtables": "3.0.6",
-        "@spectrum-web-components/bundle": "0.42.5",
-        "@spectrum-web-components/icons-workflow": "0.42.5",
+        "@spectrum-web-components/bundle": "0.43.0",
+        "@spectrum-web-components/icons-workflow": "0.43.0",
         "dompurify": "^3.1.5",
-        "hast-util-raw": "9.0.3",
+        "hast-util-raw": "9.0.4",
         "hast-util-to-html": "9.0.1",
         "mdast-util-to-hast": "13.2.0",
         "parcel": "2.12.0",
@@ -22,7 +22,7 @@
         "rehype-format": "5.0.0",
         "remark-gfm": "4.0.0",
         "remark-parse": "11.0.0",
-        "unified": "11.0.4"
+        "unified": "11.0.5"
       },
       "devDependencies": {
         "@adobe/eslint-config-helix": "2.0.6",
@@ -31,7 +31,7 @@
         "@semantic-release/changelog": "6.0.3",
         "@semantic-release/exec": "6.0.3",
         "@semantic-release/git": "10.0.1",
-        "c8": "9.1.0",
+        "c8": "10.1.2",
         "clean-webpack-plugin": "4.0.0",
         "copy-webpack-plugin": "12.0.2",
         "eslint": "8.57.0",
@@ -46,8 +46,8 @@
         "semantic-release": "24.0.0",
         "semantic-release-discord-bot": "^1.1.0",
         "stylelint": "16.6.1",
-        "stylelint-config-standard": "36.0.0",
-        "webpack": "5.91.0",
+        "stylelint-config-standard": "36.0.1",
+        "webpack": "5.92.1",
         "webpack-cli": "5.1.4",
         "webpack-dev-server": "5.0.4",
         "webpack-merge": "5.10.0"
@@ -84,6 +84,7 @@
       "version": "4.1.8",
       "resolved": "https://registry.npmjs.org/@adobe/fetch/-/fetch-4.1.8.tgz",
       "integrity": "sha512-jQ6toUlAHEMU5FqXlfyK6kcGK9Yx0+mXiqfxgH1TgNpmph8ZpAeH+8JUi0+KFN1pDPKNiO5JDLZu2GWcZPS+6Q==",
+      "license": "Apache-2.0",
       "dependencies": {
         "debug": "4.3.5",
         "http-cache-semantics": "4.1.1",
@@ -97,6 +98,7 @@
       "version": "4.3.5",
       "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz",
       "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==",
+      "license": "MIT",
       "dependencies": {
         "ms": "2.1.2"
       },
@@ -110,15 +112,16 @@
       }
     },
     "node_modules/@adobe/helix-docx2md": {
-      "version": "1.6.0",
-      "resolved": "https://registry.npmjs.org/@adobe/helix-docx2md/-/helix-docx2md-1.6.0.tgz",
-      "integrity": "sha512-qb+sywBnXv4KbsUCimZ6wrB1dP8mOA232ikjHEueWiFBRNrijfdaU410LnEIqp4PXEJmUIbrdXOOrp01/QHSag==",
+      "version": "1.6.1",
+      "resolved": "https://registry.npmjs.org/@adobe/helix-docx2md/-/helix-docx2md-1.6.1.tgz",
+      "integrity": "sha512-p8bfVEqI9kuFBZAQHbWfkmkFzDvoFTg1xR3v+G+eRrCfrQj/hLHHMFjKS76Mb28q3tUPkp12+0zbIqHIqmWwqA==",
+      "license": "Apache-2.0",
       "dependencies": {
-        "@adobe/helix-markdown-support": "7.1.2",
+        "@adobe/helix-markdown-support": "7.1.3",
         "@adobe/helix-shared-process-queue": "3.0.4",
         "@adobe/mammoth": "1.7.1-bleeding.2",
-        "@adobe/mdast-util-gridtables": "4.0.4",
-        "@adobe/remark-gridtables": "3.0.4",
+        "@adobe/mdast-util-gridtables": "4.0.6",
+        "@adobe/remark-gridtables": "3.0.6",
         "dirname-filename-esm": "1.1.1",
         "github-slugger": "2.0.0",
         "mdast-util-to-markdown": "2.1.0",
@@ -126,91 +129,20 @@
         "remark-gfm": "4.0.0",
         "remark-parse": "11.0.0",
         "remark-stringify": "11.0.0",
-        "unified": "11.0.4",
+        "unified": "11.0.5",
         "unist-util-find": "3.0.0",
         "unist-util-visit": "5.0.0",
         "yauzl": "3.1.3"
       }
     },
-    "node_modules/@adobe/helix-docx2md/node_modules/@adobe/helix-markdown-support": {
-      "version": "7.1.2",
-      "resolved": "https://registry.npmjs.org/@adobe/helix-markdown-support/-/helix-markdown-support-7.1.2.tgz",
-      "integrity": "sha512-yj/KGcYVvlDP1+VEr9EnpAqFdE/uYUyw66uyztBuuLJxutw6BHqQZBPbKBSKfFCZMglq3M7jgPqxM5041WrZrQ==",
-      "dependencies": {
-        "hast-util-to-html": "9.0.1",
-        "js-yaml": "4.1.0",
-        "mdast-util-gfm-footnote": "2.0.0",
-        "mdast-util-gfm-strikethrough": "2.0.0",
-        "mdast-util-gfm-table": "2.0.0",
-        "mdast-util-gfm-task-list-item": "2.0.0",
-        "mdast-util-phrasing": "4.1.0",
-        "mdast-util-to-hast": "13.1.0",
-        "micromark-extension-gfm-footnote": "2.0.0",
-        "micromark-extension-gfm-strikethrough": "2.0.0",
-        "micromark-extension-gfm-table": "2.0.0",
-        "micromark-extension-gfm-tagfilter": "2.0.0",
-        "micromark-extension-gfm-task-list-item": "2.0.1",
-        "micromark-util-character": "2.1.0",
-        "micromark-util-combine-extensions": "2.0.0",
-        "micromark-util-symbol": "2.0.0",
-        "unist-util-find": "3.0.0",
-        "unist-util-visit": "5.0.0"
-      },
-      "engines": {
-        "node": ">=14"
-      },
-      "peerDependencies": {
-        "unified": "11.x"
-      }
-    },
-    "node_modules/@adobe/helix-docx2md/node_modules/@adobe/mdast-util-gridtables": {
-      "version": "4.0.4",
-      "resolved": "https://registry.npmjs.org/@adobe/mdast-util-gridtables/-/mdast-util-gridtables-4.0.4.tgz",
-      "integrity": "sha512-clmC66bmhyAKPlaT15tkl1/LlpRwSbkVG58PYsJtv61MYr+eAhl1RbyX5BTZKTagxb0vVgpORs8ps9RkgHMKgw==",
-      "dependencies": {
-        "@adobe/micromark-extension-gridtables": "^2.0.0",
-        "mdast-util-from-markdown": "2.0.0",
-        "mdast-util-to-hast": "13.1.0",
-        "mdast-util-to-markdown": "2.1.0",
-        "unist-util-visit": "5.0.0"
-      }
-    },
-    "node_modules/@adobe/helix-docx2md/node_modules/@adobe/remark-gridtables": {
-      "version": "3.0.4",
-      "resolved": "https://registry.npmjs.org/@adobe/remark-gridtables/-/remark-gridtables-3.0.4.tgz",
-      "integrity": "sha512-2FkTNG/rBOZGBVtNcly6KTUS88wuVdYONwVv5zvPeEqIpJD93rnoO34BOIutp/sTkl6qnlM/X2xTObE3wzHhmA==",
-      "dependencies": {
-        "@adobe/mdast-util-gridtables": "4.0.4",
-        "@adobe/micromark-extension-gridtables": "2.0.2"
-      }
-    },
-    "node_modules/@adobe/helix-docx2md/node_modules/mdast-util-to-hast": {
-      "version": "13.1.0",
-      "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-13.1.0.tgz",
-      "integrity": "sha512-/e2l/6+OdGp/FB+ctrJ9Avz71AN/GRH3oi/3KAx/kMnoUsD6q0woXlDT8lLEeViVKE7oZxE7RXzvO3T8kF2/sA==",
-      "dependencies": {
-        "@types/hast": "^3.0.0",
-        "@types/mdast": "^4.0.0",
-        "@ungap/structured-clone": "^1.0.0",
-        "devlop": "^1.0.0",
-        "micromark-util-sanitize-uri": "^2.0.0",
-        "trim-lines": "^3.0.0",
-        "unist-util-position": "^5.0.0",
-        "unist-util-visit": "^5.0.0",
-        "vfile": "^6.0.0"
-      },
-      "funding": {
-        "type": "opencollective",
-        "url": "https://opencollective.com/unified"
-      }
-    },
     "node_modules/@adobe/helix-importer": {
-      "version": "3.4.7",
-      "resolved": "https://registry.npmjs.org/@adobe/helix-importer/-/helix-importer-3.4.7.tgz",
-      "integrity": "sha512-N4bMeZl3OfAAkMOHhHfIIGrkX4yYi9OBHDIMc9RWnQSGpWSc+tnaThueVYxW8pAEZOzHqEPiJmiU/Bsw3cw5sQ==",
+      "version": "3.4.9",
+      "resolved": "https://registry.npmjs.org/@adobe/helix-importer/-/helix-importer-3.4.9.tgz",
+      "integrity": "sha512-Zm9Y6CAj+QgIyYw1KyhK2gT1SOJL8/cx0i57L2BR5P0DwGFxNY8GxxUX7wAdcy9ggUchWMuRXB6Lts9QYZdwGg==",
+      "license": "Apache-2.0",
       "dependencies": {
         "@adobe/helix-markdown-support": "7.1.3",
-        "@adobe/helix-md2docx": "2.1.61",
+        "@adobe/helix-md2docx": "2.1.63",
         "@adobe/mdast-util-gridtables": "4.0.6",
         "@adobe/remark-gridtables": "3.0.6",
         "form-data": "4.0.0",
@@ -220,13 +152,14 @@
         "rehype-parse": "9.0.0",
         "rehype-remark": "10.0.0",
         "remark-stringify": "11.0.0",
-        "unified": "11.0.4"
+        "unified": "11.0.5"
       }
     },
     "node_modules/@adobe/helix-markdown-support": {
       "version": "7.1.3",
       "resolved": "https://registry.npmjs.org/@adobe/helix-markdown-support/-/helix-markdown-support-7.1.3.tgz",
       "integrity": "sha512-wSVcrmzNcP35caqan4Cg1x4dUB8idQYid0vW7XniM9JWt1veoWMexM0bzjjKmUgTYCkLW7+hUL2u4bLslT4gEw==",
+      "license": "Apache-2.0",
       "dependencies": {
         "hast-util-to-html": "9.0.1",
         "js-yaml": "4.1.0",
@@ -255,12 +188,13 @@
       }
     },
     "node_modules/@adobe/helix-md2docx": {
-      "version": "2.1.61",
-      "resolved": "https://registry.npmjs.org/@adobe/helix-md2docx/-/helix-md2docx-2.1.61.tgz",
-      "integrity": "sha512-02kWfVceXmkcmEQ1TmafAD1c6Pwz/0DsQHmJFi7rl90PCJl7jTotaudcYBcJ8b3KaQsHaD4+iXla0qs72BCg1g==",
+      "version": "2.1.63",
+      "resolved": "https://registry.npmjs.org/@adobe/helix-md2docx/-/helix-md2docx-2.1.63.tgz",
+      "integrity": "sha512-wtEPOviuzLlEkx/pK6fkm8086mjic4iBhgS7HLeCjLsWDUO/9mC1sgbzqPb5ZENci7wG6d28AHDftKlAQf4ZBQ==",
+      "license": "Apache-2.0",
       "dependencies": {
         "@adobe/fetch": "4.1.8",
-        "@adobe/helix-docx2md": "1.6.0",
+        "@adobe/helix-docx2md": "1.6.1",
         "@adobe/helix-markdown-support": "7.1.3",
         "@adobe/helix-shared-process-queue": "3.0.4",
         "@adobe/remark-gridtables": "3.0.6",
@@ -274,19 +208,21 @@
         "rehype-parse": "9.0.0",
         "remark-gfm": "4.0.0",
         "remark-parse": "11.0.0",
-        "unified": "11.0.4",
+        "unified": "11.0.5",
         "unist-util-visit": "5.0.0"
       }
     },
     "node_modules/@adobe/helix-shared-process-queue": {
       "version": "3.0.4",
       "resolved": "https://registry.npmjs.org/@adobe/helix-shared-process-queue/-/helix-shared-process-queue-3.0.4.tgz",
-      "integrity": "sha512-r5Iwz+OEQ3b5iCbUGKG5XELb+3LR53E+qpU4FBpCRFU306CB5WWANvK8aMyheDBTZVZi9hyMrZzWwSMQ9Z/UBQ=="
+      "integrity": "sha512-r5Iwz+OEQ3b5iCbUGKG5XELb+3LR53E+qpU4FBpCRFU306CB5WWANvK8aMyheDBTZVZi9hyMrZzWwSMQ9Z/UBQ==",
+      "license": "Apache-2.0"
     },
     "node_modules/@adobe/mammoth": {
       "version": "1.7.1-bleeding.2",
       "resolved": "https://registry.npmjs.org/@adobe/mammoth/-/mammoth-1.7.1-bleeding.2.tgz",
       "integrity": "sha512-xqtsc3BznvDLkZ43lwRjn8D3b2dteq+9L128Znn1cOgCiEEbDDJKTeKRZguYazOIOMf1oWOffhPWnEyWCxbWiw==",
+      "license": "BSD-2-Clause",
       "dependencies": {
         "@xmldom/xmldom": "^0.8.6",
         "argparse": "~1.0.3",
@@ -310,6 +246,7 @@
       "version": "4.0.6",
       "resolved": "https://registry.npmjs.org/@adobe/mdast-util-gridtables/-/mdast-util-gridtables-4.0.6.tgz",
       "integrity": "sha512-wRc29Wc5h1pV6SUP5NdiV3ey/x6ov+ok70VLRr+4E7xd3tZ45+wc/3OLxrkiX2ypk/LYfa5GYuShg6K4/5Fprw==",
+      "license": "Apache-2.0",
       "dependencies": {
         "@adobe/micromark-extension-gridtables": "^2.0.0",
         "mdast-util-from-markdown": "2.0.1",
@@ -322,6 +259,7 @@
       "version": "2.0.1",
       "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-2.0.1.tgz",
       "integrity": "sha512-aJEUyzZ6TzlsX2s5B4Of7lN7EQtAxvtradMMglCQDyaTFgse6CmtmdJ15ElnVRlCg1vpNyVtbem0PWzlNieZsA==",
+      "license": "MIT",
       "dependencies": {
         "@types/mdast": "^4.0.0",
         "@types/unist": "^3.0.0",
@@ -345,6 +283,7 @@
       "version": "2.0.2",
       "resolved": "https://registry.npmjs.org/@adobe/micromark-extension-gridtables/-/micromark-extension-gridtables-2.0.2.tgz",
       "integrity": "sha512-3JCTeBSwh/orfBvIMwhoQXzSYYScKnfzQAcVquKqgs0isE++ZcKCVrCrYqwUYIKM0AvTr99Zn1boxdGsC2m1eA==",
+      "license": "Apache-2.0",
       "dependencies": {
         "micromark": "^4.0.0",
         "micromark-util-character": "^2.0.0",
@@ -355,6 +294,7 @@
       "version": "3.0.6",
       "resolved": "https://registry.npmjs.org/@adobe/remark-gridtables/-/remark-gridtables-3.0.6.tgz",
       "integrity": "sha512-uZifFdcjogU0Qwz2uaiYPI4OLArNLjOPjWPw5gAP/eoTQKb3Y1tOVcBWQhGl08/m+0qzfUezTWygydXPR2kRAA==",
+      "license": "Apache-2.0",
       "dependencies": {
         "@adobe/mdast-util-gridtables": "4.0.6",
         "@adobe/micromark-extension-gridtables": "2.0.2"
@@ -377,6 +317,7 @@
       "version": "7.24.7",
       "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.7.tgz",
       "integrity": "sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==",
+      "license": "MIT",
       "dependencies": {
         "@babel/highlight": "^7.24.7",
         "picocolors": "^1.0.0"
@@ -390,6 +331,7 @@
       "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.7.tgz",
       "integrity": "sha512-qJzAIcv03PyaWqxRgO4mSU3lihncDT296vnyuE2O8uA4w3UHWI4S3hgeZd1L8W1Bft40w9JxJ2b412iDUFFRhw==",
       "dev": true,
+      "license": "MIT",
       "engines": {
         "node": ">=6.9.0"
       }
@@ -399,6 +341,7 @@
       "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.7.tgz",
       "integrity": "sha512-nykK+LEK86ahTkX/3TgauT0ikKoNCfKHEaZYTUVupJdTLzGNvrblu4u6fa7DhZONAltdf8e662t/abY8idrd/g==",
       "dev": true,
+      "license": "MIT",
       "dependencies": {
         "@ampproject/remapping": "^2.2.0",
         "@babel/code-frame": "^7.24.7",
@@ -436,6 +379,7 @@
       "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.24.7.tgz",
       "integrity": "sha512-SO5E3bVxDuxyNxM5agFv480YA2HO6ohZbGxbazZdIk3KQOPOGVNw6q78I9/lbviIf95eq6tPozeYnJLbjnC8IA==",
       "dev": true,
+      "license": "MIT",
       "dependencies": {
         "@nicolo-ribaudo/eslint-scope-5-internals": "5.1.1-v1",
         "eslint-visitor-keys": "^2.1.0",
@@ -454,6 +398,7 @@
       "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.7.tgz",
       "integrity": "sha512-oipXieGC3i45Y1A41t4tAqpnEZWgB/lC6Ehh6+rOviR5XWpTtMmLN+fGjz9vOiNRt0p6RtO6DtD0pdU3vpqdSA==",
       "dev": true,
+      "license": "MIT",
       "dependencies": {
         "@babel/types": "^7.24.7",
         "@jridgewell/gen-mapping": "^0.3.5",
@@ -469,6 +414,7 @@
       "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.24.7.tgz",
       "integrity": "sha512-ctSdRHBi20qWOfy27RUb4Fhp07KSJ3sXcuSvTrXrc4aG8NSYDo1ici3Vhg9bg69y5bj0Mr1lh0aeEgTvc12rMg==",
       "dev": true,
+      "license": "MIT",
       "dependencies": {
         "@babel/compat-data": "^7.24.7",
         "@babel/helper-validator-option": "^7.24.7",
@@ -494,6 +440,7 @@
       "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.24.7.tgz",
       "integrity": "sha512-DoiN84+4Gnd0ncbBOM9AZENV4a5ZiL39HYMyZJGZ/AZEykHYdJw0wW3kdcsh9/Kn+BRXHLkkklZ51ecPKmI1CQ==",
       "dev": true,
+      "license": "MIT",
       "dependencies": {
         "@babel/types": "^7.24.7"
       },
@@ -506,6 +453,7 @@
       "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.24.7.tgz",
       "integrity": "sha512-FyoJTsj/PEUWu1/TYRiXTIHc8lbw+TDYkZuoE43opPS5TrI7MyONBE1oNvfguEXAD9yhQRrVBnXdXzSLQl9XnA==",
       "dev": true,
+      "license": "MIT",
       "dependencies": {
         "@babel/template": "^7.24.7",
         "@babel/types": "^7.24.7"
@@ -519,6 +467,7 @@
       "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.24.7.tgz",
       "integrity": "sha512-MJJwhkoGy5c4ehfoRyrJ/owKeMl19U54h27YYftT0o2teQ3FJ3nQUf/I3LlJsX4l3qlw7WRXUmiyajvHXoTubQ==",
       "dev": true,
+      "license": "MIT",
       "dependencies": {
         "@babel/types": "^7.24.7"
       },
@@ -531,6 +480,7 @@
       "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.7.tgz",
       "integrity": "sha512-8AyH3C+74cgCVVXow/myrynrAGv+nTVg5vKu2nZph9x7RcRwzmh0VFallJuFTZ9mx6u4eSdXZfcOzSqTUm0HCA==",
       "dev": true,
+      "license": "MIT",
       "dependencies": {
         "@babel/traverse": "^7.24.7",
         "@babel/types": "^7.24.7"
@@ -544,6 +494,7 @@
       "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.24.7.tgz",
       "integrity": "sha512-1fuJEwIrp+97rM4RWdO+qrRsZlAeL1lQJoPqtCYWv0NL115XM93hIH4CSRln2w52SqvmY5hqdtauB6QFCDiZNQ==",
       "dev": true,
+      "license": "MIT",
       "dependencies": {
         "@babel/helper-environment-visitor": "^7.24.7",
         "@babel/helper-module-imports": "^7.24.7",
@@ -563,6 +514,7 @@
       "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.24.7.tgz",
       "integrity": "sha512-zBAIvbCMh5Ts+b86r/CjU+4XGYIs+R1j951gxI3KmmxBMhCg4oQMsv6ZXQ64XOm/cvzfU1FmoCyt6+owc5QMYg==",
       "dev": true,
+      "license": "MIT",
       "dependencies": {
         "@babel/traverse": "^7.24.7",
         "@babel/types": "^7.24.7"
@@ -576,6 +528,7 @@
       "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.24.7.tgz",
       "integrity": "sha512-oy5V7pD+UvfkEATUKvIjvIAH/xCzfsFVw7ygW2SI6NClZzquT+mwdTfgfdbUiceh6iQO0CHtCPsyze/MZ2YbAA==",
       "dev": true,
+      "license": "MIT",
       "dependencies": {
         "@babel/types": "^7.24.7"
       },
@@ -588,6 +541,7 @@
       "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.7.tgz",
       "integrity": "sha512-7MbVt6xrwFQbunH2DNQsAP5sTGxfqQtErvBIvIMi6EQnbgUOuVYanvREcmFrOPhoXBrTtjhhP+lW+o5UfK+tDg==",
       "dev": true,
+      "license": "MIT",
       "engines": {
         "node": ">=6.9.0"
       }
@@ -596,6 +550,7 @@
       "version": "7.24.7",
       "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz",
       "integrity": "sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==",
+      "license": "MIT",
       "engines": {
         "node": ">=6.9.0"
       }
@@ -605,6 +560,7 @@
       "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.24.7.tgz",
       "integrity": "sha512-yy1/KvjhV/ZCL+SM7hBrvnZJ3ZuT9OuZgIJAGpPEToANvc3iM6iDvBnRjtElWibHU6n8/LPR/EjX9EtIEYO3pw==",
       "dev": true,
+      "license": "MIT",
       "engines": {
         "node": ">=6.9.0"
       }
@@ -614,6 +570,7 @@
       "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.7.tgz",
       "integrity": "sha512-NlmJJtvcw72yRJRcnCmGvSi+3jDEg8qFu3z0AFoymmzLx5ERVWyzd9kVXr7Th9/8yIJi2Zc6av4Tqz3wFs8QWg==",
       "dev": true,
+      "license": "MIT",
       "dependencies": {
         "@babel/template": "^7.24.7",
         "@babel/types": "^7.24.7"
@@ -626,6 +583,7 @@
       "version": "7.24.7",
       "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.7.tgz",
       "integrity": "sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==",
+      "license": "MIT",
       "dependencies": {
         "@babel/helper-validator-identifier": "^7.24.7",
         "chalk": "^2.4.2",
@@ -641,6 +599,7 @@
       "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.7.tgz",
       "integrity": "sha512-9uUYRm6OqQrCqQdG1iCBwBPZgN8ciDBro2nIOFaiRz1/BCxaI7CNvQbDHvsArAC7Tw9Hda/B3U+6ui9u4HWXPw==",
       "dev": true,
+      "license": "MIT",
       "bin": {
         "parser": "bin/babel-parser.js"
       },
@@ -653,6 +612,7 @@
       "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.24.7.tgz",
       "integrity": "sha512-jYqfPrU9JTF0PmPy1tLYHW4Mp4KlgxJD9l2nP9fD6yT/ICi554DmrWBAEYpIelzjHf1msDP3PxJIRt/nFNfBig==",
       "dev": true,
+      "license": "MIT",
       "dependencies": {
         "@babel/code-frame": "^7.24.7",
         "@babel/parser": "^7.24.7",
@@ -667,6 +627,7 @@
       "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.7.tgz",
       "integrity": "sha512-yb65Ed5S/QAcewNPh0nZczy9JdYXkkAbIsEo+P7BE7yO3txAY30Y/oPa3QkQ5It3xVG2kpKMg9MsdxZaO31uKA==",
       "dev": true,
+      "license": "MIT",
       "dependencies": {
         "@babel/code-frame": "^7.24.7",
         "@babel/generator": "^7.24.7",
@@ -688,6 +649,7 @@
       "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.24.7.tgz",
       "integrity": "sha512-XEFXSlxiG5td2EJRe8vOmRbaXVgfcBlszKujvVmWIK/UpywWljQCfzAv3RQCGujWQ1RD4YYWEAqDXfuJiy8f5Q==",
       "dev": true,
+      "license": "MIT",
       "dependencies": {
         "@babel/helper-string-parser": "^7.24.7",
         "@babel/helper-validator-identifier": "^7.24.7",
@@ -4104,996 +4066,1012 @@
       }
     },
     "node_modules/@spectrum-web-components/accordion": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/accordion/-/accordion-0.42.5.tgz",
-      "integrity": "sha512-83jnho+dM/eRNDuuGkmE5CiyFbLrhhR4/igkuFxJzuejug+76fCQrocD/0hPSO0l/2OwErkTYvKsHhPR764dNw==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/accordion/-/accordion-0.43.0.tgz",
+      "integrity": "sha512-qh6yRWiBsg/7loajc7ykRBxEsaorKBNFMCGj3ZD6Hg0M+1VgjI6zutUSxHBrzSNlBL/DiYc+rfkqm1MZjvz7qQ==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/icon": "^0.42.5",
-        "@spectrum-web-components/icons-ui": "^0.42.5",
-        "@spectrum-web-components/reactive-controllers": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/icon": "^0.43.0",
+        "@spectrum-web-components/icons-ui": "^0.43.0",
+        "@spectrum-web-components/reactive-controllers": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/action-bar": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/action-bar/-/action-bar-0.42.5.tgz",
-      "integrity": "sha512-62Sruqjd8rzVeYEBkU125W6MJI4udmI0mHrbo19XXuYu7LCpPNtjUb7+R/TiwIXQWM+LPYLgaF88a3OHDbwzJw==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/action-bar/-/action-bar-0.43.0.tgz",
+      "integrity": "sha512-p1wP/TdP9WYDHd1YBIoDN3Et9ChFMawEoSs7fwoiq7kJwK9cx3/MgZuMTxH1YuBx3lBTgZ/Bt21EgGJ9vr3v2A==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/action-group": "^0.42.5",
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/button": "^0.42.5",
-        "@spectrum-web-components/field-label": "^0.42.5",
-        "@spectrum-web-components/popover": "^0.42.5"
+        "@spectrum-web-components/action-group": "^0.43.0",
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/button": "^0.43.0",
+        "@spectrum-web-components/field-label": "^0.43.0",
+        "@spectrum-web-components/popover": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/action-button": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/action-button/-/action-button-0.42.5.tgz",
-      "integrity": "sha512-kQG+fdZE0NN6ggso8rnYplPbZ+2pj7q2OmqqH1TpJKBDiQogGKr4Wp4GoODVlWAU4AyLs6DDUFZj7y0lj7lVvA==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/action-button/-/action-button-0.43.0.tgz",
+      "integrity": "sha512-6FF/GNDG37kPxesmpDSwWtdGutsTqVHu1+YJ3+xEY+1b3vha9i54FqWkRY+r7u0y1VQ3IE1WgcJl5GeZAPDcZQ==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/button": "^0.42.5",
-        "@spectrum-web-components/icon": "^0.42.5",
-        "@spectrum-web-components/icons-ui": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/button": "^0.43.0",
+        "@spectrum-web-components/icon": "^0.43.0",
+        "@spectrum-web-components/icons-ui": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/action-group": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/action-group/-/action-group-0.42.5.tgz",
-      "integrity": "sha512-fRWTN/G7FJylzA394zPa4lYQqeoTfbk3wWBylbiHyqpnzVRanD0uFSgOol5xKa91IPQJKBYQ/Hl8pk6A4b6i/g==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/action-group/-/action-group-0.43.0.tgz",
+      "integrity": "sha512-CO7PmNWX0Tdg8UEZ/PY5rm4tYRrI5spuF9qDVFh1r8+0RNuo9ZDLbSKzszO2AF4joZoXIzDEPtYrNx86ZoBd6w==",
       "license": "Apache-2.0",
       "dependencies": {
         "@lit-labs/observers": "^2.0.0",
-        "@spectrum-web-components/action-button": "^0.42.5",
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/icons-workflow": "^0.42.5",
-        "@spectrum-web-components/reactive-controllers": "^0.42.5"
+        "@spectrum-web-components/action-button": "^0.43.0",
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/icons-workflow": "^0.43.0",
+        "@spectrum-web-components/reactive-controllers": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/action-menu": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/action-menu/-/action-menu-0.42.5.tgz",
-      "integrity": "sha512-39VumLL/DAEzpQ6rabZFUhFS9RhYGHb8/Nla6vZyUpVWuxLA/mZfD6Q+/0eKsEiz64s6JXK5KJY1zsJUhmmivQ==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/action-menu/-/action-menu-0.43.0.tgz",
+      "integrity": "sha512-2utwW42k+DqQYZm4BXt9Bky2BFkMF8TWgBa9H3eeZEZu7PUA1oK7cpXPvs17PxEslfo2AAAGgZcz7eTeFLTVQw==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/action-button": "^0.42.5",
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/icon": "^0.42.5",
-        "@spectrum-web-components/icons-workflow": "^0.42.5",
-        "@spectrum-web-components/picker": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5"
+        "@spectrum-web-components/action-button": "^0.43.0",
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/icon": "^0.43.0",
+        "@spectrum-web-components/icons-workflow": "^0.43.0",
+        "@spectrum-web-components/picker": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/alert-dialog": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/alert-dialog/-/alert-dialog-0.42.5.tgz",
-      "integrity": "sha512-efDVChXGboLwSBwIy96rG5qUHOdBqEj8HU9NKqQ5dUpB4FGhU0xqa3R2D5+4c0RSslvtTraNf24S154qxPCsYQ==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/alert-dialog/-/alert-dialog-0.43.0.tgz",
+      "integrity": "sha512-jzJzOWJY9do9b/Ph5wTZ9Dk6ewEL1oXkdBZ1m6PJyHOhqMsQWg07iFtGdeu3JxDqrdF6vNbxyqXrt6r9AIqDhg==",
       "license": "Apache-2.0",
       "dependencies": {
         "@lit-labs/observers": "^2.0.2",
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/button": "^0.42.5",
-        "@spectrum-web-components/button-group": "^0.42.5",
-        "@spectrum-web-components/divider": "^0.42.5",
-        "@spectrum-web-components/icons-workflow": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/button": "^0.43.0",
+        "@spectrum-web-components/button-group": "^0.43.0",
+        "@spectrum-web-components/divider": "^0.43.0",
+        "@spectrum-web-components/icons-workflow": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/asset": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/asset/-/asset-0.42.5.tgz",
-      "integrity": "sha512-tL9A+N85DwKOhIST+b9zqZNv1IJ54VJHJfvNes7282qxqdziFGg23TK9wwWo7PF6pusdRySP8FqRHHGTx7l9og==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/asset/-/asset-0.43.0.tgz",
+      "integrity": "sha512-2unRHUYPQhy3VTTCNF3cTv/KYe4WjQPtYIuhxcI70fGhDeuVvQ9vnybwo8Bcr5sE/sY1sGlN3jTMmPnNrKgqQw==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/avatar": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/avatar/-/avatar-0.42.5.tgz",
-      "integrity": "sha512-3L3x2LQiYwm77OQ8Rg3VAUuRX9M/0ajMRWGRpMpx21ytaIeOBbjFyOBbVCYFazvgsRcVG7m89y+IvWi0O7brPQ==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/avatar/-/avatar-0.43.0.tgz",
+      "integrity": "sha512-3ZbMhJWUnb7dtAcx5MQnJl0Lj26h3751T7C2D5EI+hTKwi9QfIU68HPlkkIl+s6x0XDy1NQXjeKGXXLPV1yzew==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/badge": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/badge/-/badge-0.42.5.tgz",
-      "integrity": "sha512-QjlS1QJQxGPsmfxJ4+uvtptncCgtmuMKBe4nGIZ/oxqaLjf/p/GPS9cFnlix8VcYBHOQh1TALBUhBP5I+N18iQ==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/badge/-/badge-0.43.0.tgz",
+      "integrity": "sha512-ubcnjxff90sWrG3qTO35J4L7wn8NSnJdWnZ7zraMd+P59U3wKAx7t7gciBNgjmGx148BvjMDF8YrmYckDPJn0Q==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/banner": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/banner/-/banner-0.42.5.tgz",
-      "integrity": "sha512-thVXyB2gjtRm3Ghiknh4ZLfa0VrOYEhZwuaJ1ktZ5vBM75qMVwaTLJ/psr8PnE+5xU2eY6mooPPbn0lTlT/GGg==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/banner/-/banner-0.43.0.tgz",
+      "integrity": "sha512-v6Aja0iYJupf3TPftFk1KJOkKBz61eQQb3mQsEcD6Fh5V42dS+HMduZLJK0BtUMmKeoW0p36G+LkN+vtSvt8AQ==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/base": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/base/-/base-0.42.5.tgz",
-      "integrity": "sha512-0Xbn8HOVh1qLf90RGKpj49Bu0kMe2tu1bWmKAOM6JC5NgIefjXl+Fq5lxF3QRgHQ1l0ZjKjqBFGrMqBTptWlZw==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/base/-/base-0.43.0.tgz",
+      "integrity": "sha512-3EtDjjsaZylN3jwA1q7zuiRKNWXq1Xlzofg4jRHHVMTqxPSXT/ZlxkhLVpYrJqfQ3wdIbZFmZl2TeLXVNjct4w==",
       "license": "Apache-2.0",
       "dependencies": {
         "lit": "^2.5.0 || ^3.1.3"
       }
     },
     "node_modules/@spectrum-web-components/bundle": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/bundle/-/bundle-0.42.5.tgz",
-      "integrity": "sha512-VEflE+eAK5FRNddTsQR+gTqw1M3CVNMPaaW/W9CXQaAxC2l99R4eLzudw7bJoblEsm3mf2b7e+RqIyo5XbQ7Uw==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/bundle/-/bundle-0.43.0.tgz",
+      "integrity": "sha512-HsFd0ijcDoTYnDdIV6mB4oRRxMBIQgSWK0lX2+Ac6C2lqUbxMpC+ilLsyhEYVycOmVip+ox2E/b1ReFaCCQ6IA==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/accordion": "^0.42.5",
-        "@spectrum-web-components/action-bar": "^0.42.5",
-        "@spectrum-web-components/action-button": "^0.42.5",
-        "@spectrum-web-components/action-group": "^0.42.5",
-        "@spectrum-web-components/action-menu": "^0.42.5",
-        "@spectrum-web-components/asset": "^0.42.5",
-        "@spectrum-web-components/avatar": "^0.42.5",
-        "@spectrum-web-components/badge": "^0.42.5",
-        "@spectrum-web-components/banner": "^0.42.5",
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/button": "^0.42.5",
-        "@spectrum-web-components/button-group": "^0.42.5",
-        "@spectrum-web-components/card": "^0.42.5",
-        "@spectrum-web-components/checkbox": "^0.42.5",
-        "@spectrum-web-components/clear-button": "^0.42.5",
-        "@spectrum-web-components/close-button": "^0.42.5",
-        "@spectrum-web-components/coachmark": "^0.42.5",
-        "@spectrum-web-components/color-area": "^0.42.5",
-        "@spectrum-web-components/color-field": "^0.42.5",
-        "@spectrum-web-components/color-handle": "^0.42.5",
-        "@spectrum-web-components/color-loupe": "^0.42.5",
-        "@spectrum-web-components/color-slider": "^0.42.5",
-        "@spectrum-web-components/color-wheel": "^0.42.5",
-        "@spectrum-web-components/combobox": "^0.42.5",
-        "@spectrum-web-components/dialog": "^0.42.5",
-        "@spectrum-web-components/divider": "^0.42.5",
-        "@spectrum-web-components/dropzone": "^0.42.5",
-        "@spectrum-web-components/field-group": "^0.42.5",
-        "@spectrum-web-components/field-label": "^0.42.5",
-        "@spectrum-web-components/grid": "^0.42.5",
-        "@spectrum-web-components/help-text": "^0.42.5",
-        "@spectrum-web-components/icon": "^0.42.5",
-        "@spectrum-web-components/icons": "^0.42.5",
-        "@spectrum-web-components/icons-ui": "^0.42.5",
-        "@spectrum-web-components/icons-workflow": "^0.42.5",
-        "@spectrum-web-components/iconset": "^0.42.5",
-        "@spectrum-web-components/illustrated-message": "^0.42.5",
-        "@spectrum-web-components/infield-button": "^0.42.5",
-        "@spectrum-web-components/link": "^0.42.5",
-        "@spectrum-web-components/menu": "^0.42.5",
-        "@spectrum-web-components/meter": "^0.42.5",
-        "@spectrum-web-components/modal": "^0.42.5",
-        "@spectrum-web-components/number-field": "^0.42.5",
-        "@spectrum-web-components/overlay": "^0.42.5",
-        "@spectrum-web-components/picker": "^0.42.5",
-        "@spectrum-web-components/picker-button": "^0.42.5",
-        "@spectrum-web-components/popover": "^0.42.5",
-        "@spectrum-web-components/progress-bar": "^0.42.5",
-        "@spectrum-web-components/progress-circle": "^0.42.5",
-        "@spectrum-web-components/quick-actions": "^0.42.5",
-        "@spectrum-web-components/radio": "^0.42.5",
-        "@spectrum-web-components/reactive-controllers": "^0.42.5",
-        "@spectrum-web-components/search": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5",
-        "@spectrum-web-components/sidenav": "^0.42.5",
-        "@spectrum-web-components/slider": "^0.42.5",
-        "@spectrum-web-components/split-button": "^0.42.5",
-        "@spectrum-web-components/split-view": "^0.42.5",
-        "@spectrum-web-components/status-light": "^0.42.5",
-        "@spectrum-web-components/styles": "^0.42.5",
-        "@spectrum-web-components/swatch": "^0.42.5",
-        "@spectrum-web-components/switch": "^0.42.5",
-        "@spectrum-web-components/table": "^0.42.5",
-        "@spectrum-web-components/tabs": "^0.42.5",
-        "@spectrum-web-components/tags": "^0.42.5",
-        "@spectrum-web-components/textfield": "^0.42.5",
-        "@spectrum-web-components/theme": "^0.42.5",
-        "@spectrum-web-components/thumbnail": "^0.42.5",
-        "@spectrum-web-components/toast": "^0.42.5",
-        "@spectrum-web-components/tooltip": "^0.42.5",
-        "@spectrum-web-components/top-nav": "^0.42.5",
-        "@spectrum-web-components/tray": "^0.42.5",
-        "@spectrum-web-components/truncated": "^0.42.5",
-        "@spectrum-web-components/underlay": "^0.42.5"
+        "@spectrum-web-components/accordion": "^0.43.0",
+        "@spectrum-web-components/action-bar": "^0.43.0",
+        "@spectrum-web-components/action-button": "^0.43.0",
+        "@spectrum-web-components/action-group": "^0.43.0",
+        "@spectrum-web-components/action-menu": "^0.43.0",
+        "@spectrum-web-components/asset": "^0.43.0",
+        "@spectrum-web-components/avatar": "^0.43.0",
+        "@spectrum-web-components/badge": "^0.43.0",
+        "@spectrum-web-components/banner": "^0.43.0",
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/button": "^0.43.0",
+        "@spectrum-web-components/button-group": "^0.43.0",
+        "@spectrum-web-components/card": "^0.43.0",
+        "@spectrum-web-components/checkbox": "^0.43.0",
+        "@spectrum-web-components/clear-button": "^0.43.0",
+        "@spectrum-web-components/close-button": "^0.43.0",
+        "@spectrum-web-components/coachmark": "^0.43.0",
+        "@spectrum-web-components/color-area": "^0.43.0",
+        "@spectrum-web-components/color-field": "^0.43.0",
+        "@spectrum-web-components/color-handle": "^0.43.0",
+        "@spectrum-web-components/color-loupe": "^0.43.0",
+        "@spectrum-web-components/color-slider": "^0.43.0",
+        "@spectrum-web-components/color-wheel": "^0.43.0",
+        "@spectrum-web-components/combobox": "^0.43.0",
+        "@spectrum-web-components/contextual-help": "^0.43.0",
+        "@spectrum-web-components/dialog": "^0.43.0",
+        "@spectrum-web-components/divider": "^0.43.0",
+        "@spectrum-web-components/dropzone": "^0.43.0",
+        "@spectrum-web-components/field-group": "^0.43.0",
+        "@spectrum-web-components/field-label": "^0.43.0",
+        "@spectrum-web-components/grid": "^0.43.0",
+        "@spectrum-web-components/help-text": "^0.43.0",
+        "@spectrum-web-components/icon": "^0.43.0",
+        "@spectrum-web-components/icons": "^0.43.0",
+        "@spectrum-web-components/icons-ui": "^0.43.0",
+        "@spectrum-web-components/icons-workflow": "^0.43.0",
+        "@spectrum-web-components/iconset": "^0.43.0",
+        "@spectrum-web-components/illustrated-message": "^0.43.0",
+        "@spectrum-web-components/infield-button": "^0.43.0",
+        "@spectrum-web-components/link": "^0.43.0",
+        "@spectrum-web-components/menu": "^0.43.0",
+        "@spectrum-web-components/meter": "^0.43.0",
+        "@spectrum-web-components/modal": "^0.43.0",
+        "@spectrum-web-components/number-field": "^0.43.0",
+        "@spectrum-web-components/overlay": "^0.43.0",
+        "@spectrum-web-components/picker": "^0.43.0",
+        "@spectrum-web-components/picker-button": "^0.43.0",
+        "@spectrum-web-components/popover": "^0.43.0",
+        "@spectrum-web-components/progress-bar": "^0.43.0",
+        "@spectrum-web-components/progress-circle": "^0.43.0",
+        "@spectrum-web-components/quick-actions": "^0.43.0",
+        "@spectrum-web-components/radio": "^0.43.0",
+        "@spectrum-web-components/reactive-controllers": "^0.43.0",
+        "@spectrum-web-components/search": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0",
+        "@spectrum-web-components/sidenav": "^0.43.0",
+        "@spectrum-web-components/slider": "^0.43.0",
+        "@spectrum-web-components/split-button": "^0.43.0",
+        "@spectrum-web-components/split-view": "^0.43.0",
+        "@spectrum-web-components/status-light": "^0.43.0",
+        "@spectrum-web-components/styles": "^0.43.0",
+        "@spectrum-web-components/swatch": "^0.43.0",
+        "@spectrum-web-components/switch": "^0.43.0",
+        "@spectrum-web-components/table": "^0.43.0",
+        "@spectrum-web-components/tabs": "^0.43.0",
+        "@spectrum-web-components/tags": "^0.43.0",
+        "@spectrum-web-components/textfield": "^0.43.0",
+        "@spectrum-web-components/theme": "^0.43.0",
+        "@spectrum-web-components/thumbnail": "^0.43.0",
+        "@spectrum-web-components/toast": "^0.43.0",
+        "@spectrum-web-components/tooltip": "^0.43.0",
+        "@spectrum-web-components/top-nav": "^0.43.0",
+        "@spectrum-web-components/tray": "^0.43.0",
+        "@spectrum-web-components/truncated": "^0.43.0",
+        "@spectrum-web-components/underlay": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/button": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/button/-/button-0.42.5.tgz",
-      "integrity": "sha512-+mOOLd/GerTjkqfTQFXcqenD27cqdecQyuDacLyZ8Mx/CNJ9gUSD4cpkcUiItIUJsS2NytjTVWCa9ucQ89fD8Q==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/button/-/button-0.43.0.tgz",
+      "integrity": "sha512-zfQWo6iqw14NIvLZoaYyS3wQ54bblRvB4OERqx0ilCc+hIJZu/MnBboToFd8stVjVs53y8GOAyCEwrq2CWPY2g==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/clear-button": "^0.42.5",
-        "@spectrum-web-components/close-button": "^0.42.5",
-        "@spectrum-web-components/icon": "^0.42.5",
-        "@spectrum-web-components/icons-ui": "^0.42.5",
-        "@spectrum-web-components/progress-circle": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/clear-button": "^0.43.0",
+        "@spectrum-web-components/close-button": "^0.43.0",
+        "@spectrum-web-components/icon": "^0.43.0",
+        "@spectrum-web-components/icons-ui": "^0.43.0",
+        "@spectrum-web-components/progress-circle": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/button-group": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/button-group/-/button-group-0.42.5.tgz",
-      "integrity": "sha512-TgtdzOcWGnRdfe7EJJX9H7/8TeJhHT9jHrmtLnyUzegeW5odeemn/Smr+RAemIuT4iJQOJT6QRD4FrqIIkld1A==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/button-group/-/button-group-0.43.0.tgz",
+      "integrity": "sha512-QcHkjMv32gzxG+a71vsWAtyi+KYyU91Ir6FMXcm9nKh1YA90kqJGkyhOxHnfp9hfrCWeZn/AN9avMuhmvdcu6A==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/button": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/button": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/card": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/card/-/card-0.42.5.tgz",
-      "integrity": "sha512-ldUESt0nU3WHtsBd7Dqe0IeyozF6UNf+JMvo63LTBBbT1DLTdnbSI6pLkyc/AhvnGHsxWMJbV31NylqbKd98mA==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/card/-/card-0.43.0.tgz",
+      "integrity": "sha512-zfe4kcyHZhdMWNuFYAfe+ayJV/7VtqML0gSWvl69P/96kTAZ2wH47s4SIrABu4bQW9VniuD7JN24GFIH8ErKLg==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/asset": "^0.42.5",
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/checkbox": "^0.42.5",
-        "@spectrum-web-components/divider": "^0.42.5",
-        "@spectrum-web-components/icons-workflow": "^0.42.5",
-        "@spectrum-web-components/quick-actions": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5",
-        "@spectrum-web-components/styles": "^0.42.5"
+        "@spectrum-web-components/asset": "^0.43.0",
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/checkbox": "^0.43.0",
+        "@spectrum-web-components/divider": "^0.43.0",
+        "@spectrum-web-components/icons-workflow": "^0.43.0",
+        "@spectrum-web-components/quick-actions": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0",
+        "@spectrum-web-components/styles": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/checkbox": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/checkbox/-/checkbox-0.42.5.tgz",
-      "integrity": "sha512-nAb3cym+sN2CNt89l7YFuLNnRUKASLjV7X9Afhi49arU1gmdJ9qLFKsYrMBcTmLpkIChqFkaKsGRM2dBB5F4Vg==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/checkbox/-/checkbox-0.43.0.tgz",
+      "integrity": "sha512-9YCHdbVnSGTmgs+iImTExoqvXhBhE0lUww/CkWAVkbH9k/cr/J37JwxawieQLWKpFCg71aMzZX522MmwWsIXow==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/icon": "^0.42.5",
-        "@spectrum-web-components/icons-ui": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/icon": "^0.43.0",
+        "@spectrum-web-components/icons-ui": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/clear-button": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/clear-button/-/clear-button-0.42.5.tgz",
-      "integrity": "sha512-5ikX6mviAfh40LpXKqBUvx4nH3bNU5bMIbicSaroJVC5t1x+p1Y/nUBppbl3t9unXvjcAqQiUCbmz0bVVIFPWQ==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/clear-button/-/clear-button-0.43.0.tgz",
+      "integrity": "sha512-IwM5cZyBfABOxaTL8Z0+0zM+tdX1ndnhEa5i4/p69dadB84Hb5/30/nQXm865YYiRvYVqxsQ7D+Twx4o8pvzqw==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/close-button": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/close-button/-/close-button-0.42.5.tgz",
-      "integrity": "sha512-sfq43FOTzxim8XlpK+Vad0v1qcIaLQEKMD/5oJ0pDGHIe34dtGYswpJA9Qe5g2ZYZQks29JIdWZGCX4YkVNUTw==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/close-button/-/close-button-0.43.0.tgz",
+      "integrity": "sha512-KAQjl4x8bO1hvoWbg33ayzh/9Oyw1+fqdQJV0FqWQnPDfpOx8UtFy/N5QqaYLN+S2yJt92nrtDImeGUIMaQulQ==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/coachmark": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/coachmark/-/coachmark-0.42.5.tgz",
-      "integrity": "sha512-k66AHwhAhDKz8whuId/ndabg0BGMw5Vz9oJJYQ1afARUwa692vexZYhtnyRs1Oh42C1GDT68M/6o4KSKbx3zCA==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/coachmark/-/coachmark-0.43.0.tgz",
+      "integrity": "sha512-hdAkntSv4pA/b4+xY1kwv1nCbFSABSL09bCQa2AG6byKzMUBRhCFBlA602ov3Wf1o8coaUitqz4Gdpvj+XL/ow==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/asset": "^0.42.5",
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/button": "^0.42.5",
-        "@spectrum-web-components/button-group": "^0.42.5",
-        "@spectrum-web-components/icon": "^0.42.5",
-        "@spectrum-web-components/icons-ui": "^0.42.5",
-        "@spectrum-web-components/quick-actions": "^0.42.5",
-        "@spectrum-web-components/reactive-controllers": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5"
+        "@spectrum-web-components/asset": "^0.43.0",
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/button": "^0.43.0",
+        "@spectrum-web-components/button-group": "^0.43.0",
+        "@spectrum-web-components/icon": "^0.43.0",
+        "@spectrum-web-components/icons-ui": "^0.43.0",
+        "@spectrum-web-components/quick-actions": "^0.43.0",
+        "@spectrum-web-components/reactive-controllers": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/color-area": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/color-area/-/color-area-0.42.5.tgz",
-      "integrity": "sha512-gzMZJehzI3hdVtfTtsswcqn7BKTtDyoPhqgYbSyp1O3WODX6riPCE1pnR7B82nGZYAz9LtiICxva6bxRPL+8nw==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/color-area/-/color-area-0.43.0.tgz",
+      "integrity": "sha512-oBr1wNz//gdB4VH5qVi6hQXvf84p5DrMX9KVM1Ip/ZYeCh4WYmY0BdSfd9V7VKfiLdmuLfBetA8kmY6RtQypCQ==",
       "license": "Apache-2.0",
       "dependencies": {
         "@ctrl/tinycolor": "^4.0.3",
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/color-handle": "^0.42.5",
-        "@spectrum-web-components/opacity-checkerboard": "^0.42.5",
-        "@spectrum-web-components/reactive-controllers": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/color-handle": "^0.43.0",
+        "@spectrum-web-components/opacity-checkerboard": "^0.43.0",
+        "@spectrum-web-components/reactive-controllers": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/color-field": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/color-field/-/color-field-0.42.5.tgz",
-      "integrity": "sha512-LeCd84kDnMomqXzzcbl56n1LCsAe8fqVydYlQLnEI3oMiz4pKY+HIUyrs49RQI/0JaOd3G30mnHEWEv/fwN8TA==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/color-field/-/color-field-0.43.0.tgz",
+      "integrity": "sha512-wtBjMaOODEG/5R7FZ+jSTUJPI/7usA45JH/FlFy0My1R9qH3zKKV9qgU9rsydMgCO2W6IYuqP80ymc0MDsZUXg==",
       "license": "Apache-2.0",
       "dependencies": {
         "@ctrl/tinycolor": "^4.0.3",
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/color-handle": "^0.42.5",
-        "@spectrum-web-components/textfield": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/color-handle": "^0.43.0",
+        "@spectrum-web-components/textfield": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/color-handle": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/color-handle/-/color-handle-0.42.5.tgz",
-      "integrity": "sha512-d1auTHUIaUQnDw106qcg4sfCX4+EceABnRIGboXHWsc3WQ/Azi2nrF1EGKMUXqHMCBAxY1ZIQ4YLj0yEjtsGTg==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/color-handle/-/color-handle-0.43.0.tgz",
+      "integrity": "sha512-7Qj1V3/6VCdeEQ3wbLeJszo8b3GDjSUZBvS41SJqcryZiyIHSu8JaE1CDTDtC646olDsakkVVnUwe7FUaz7D6A==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/color-loupe": "^0.42.5",
-        "@spectrum-web-components/opacity-checkerboard": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/color-loupe": "^0.43.0",
+        "@spectrum-web-components/opacity-checkerboard": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/color-loupe": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/color-loupe/-/color-loupe-0.42.5.tgz",
-      "integrity": "sha512-6oRHfmdqzql8j2JSQHy9t+DegGrz8TPPchNUyA92hqMkJLAIdJ/oHvY/GK/D1kM38n1jUBjtctDHdvKI00jCZQ==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/color-loupe/-/color-loupe-0.43.0.tgz",
+      "integrity": "sha512-YuHfks0emeSdpMC5jTBRjCCtM4JG7dh7k/kyYJdd3UkouXQxtqKGrdlHcKKxCuJyamqodV1JY8JvZ/+bA8dzeQ==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/opacity-checkerboard": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/opacity-checkerboard": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/color-slider": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/color-slider/-/color-slider-0.42.5.tgz",
-      "integrity": "sha512-SbBMRmPsjyXlZild5XdYPIVpmr5fFmAktz7701WJOx+SP5vtxxvSiwxM3nBmjxh/zG3dMxfabW4hhLGdwOVI9g==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/color-slider/-/color-slider-0.43.0.tgz",
+      "integrity": "sha512-bO18C7LvywdJsu/yZk3HdVmOppoo3dNcktVGcwYou26O93wmtm0sFFSLfoWvsMQU35DwjIAnl2MasKhm+rtcSA==",
       "license": "Apache-2.0",
       "dependencies": {
         "@ctrl/tinycolor": "^4.0.3",
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/color-handle": "^0.42.5",
-        "@spectrum-web-components/opacity-checkerboard": "^0.42.5",
-        "@spectrum-web-components/reactive-controllers": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/color-handle": "^0.43.0",
+        "@spectrum-web-components/opacity-checkerboard": "^0.43.0",
+        "@spectrum-web-components/reactive-controllers": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/color-wheel": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/color-wheel/-/color-wheel-0.42.5.tgz",
-      "integrity": "sha512-ByBZ486rz0ngIAszS9bIpFGFdqM6TbFzZoGUeH2Jo8cXRrMHsm/flAxrWzlRDRDIWYhkE9s3fu4sCc/YqGv4+w==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/color-wheel/-/color-wheel-0.43.0.tgz",
+      "integrity": "sha512-9xggBa4PdXfUqc0XwnlM6cR9MTbGH242L5QmevaR5tE6HNiszn8ENaXnCwRC3PlObxVDAnNBt02B66eW+zaRow==",
       "license": "Apache-2.0",
       "dependencies": {
         "@ctrl/tinycolor": "^4.0.3",
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/color-handle": "^0.42.5",
-        "@spectrum-web-components/reactive-controllers": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/color-handle": "^0.43.0",
+        "@spectrum-web-components/reactive-controllers": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/combobox": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/combobox/-/combobox-0.42.5.tgz",
-      "integrity": "sha512-K7vpp28fVlQjGWmodKwLjQFe4RlWnz0beXhrf4ZoTqwp3duN3klnO33tSUFT0GDloFf8yBCBSGRKqPhUMgd8ag==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/combobox/-/combobox-0.43.0.tgz",
+      "integrity": "sha512-snfWioHtPe5iJ8hoUrVMrhKoXnB4V7u99b/9fBioCChYbf1evtQ7XMqIV01J5t5acV9D5pLNWmYWQ6aLH6bzZA==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/action-button": "^0.42.5",
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/icon": "^0.42.5",
-        "@spectrum-web-components/icons-ui": "^0.42.5",
-        "@spectrum-web-components/menu": "^0.42.5",
-        "@spectrum-web-components/overlay": "^0.42.5",
-        "@spectrum-web-components/picker-button": "^0.42.5",
-        "@spectrum-web-components/popover": "^0.42.5",
-        "@spectrum-web-components/textfield": "^0.42.5"
+        "@spectrum-web-components/action-button": "^0.43.0",
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/icon": "^0.43.0",
+        "@spectrum-web-components/icons-ui": "^0.43.0",
+        "@spectrum-web-components/menu": "^0.43.0",
+        "@spectrum-web-components/overlay": "^0.43.0",
+        "@spectrum-web-components/picker-button": "^0.43.0",
+        "@spectrum-web-components/popover": "^0.43.0",
+        "@spectrum-web-components/progress-circle": "^0.43.0",
+        "@spectrum-web-components/textfield": "^0.43.0"
+      }
+    },
+    "node_modules/@spectrum-web-components/contextual-help": {
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/contextual-help/-/contextual-help-0.43.0.tgz",
+      "integrity": "sha512-rbtylz+x/5+F4BGgmxt3KefloivDO3cJyALX9iccWuvBHcyRRbfDovftiBgJW2y1icaURU8dujAAvQMXmE4QRA==",
+      "license": "Apache-2.0",
+      "dependencies": {
+        "@spectrum-web-components/action-button": "^0.43.0",
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/dialog": "^0.43.0",
+        "@spectrum-web-components/icons-workflow": "^0.43.0",
+        "@spectrum-web-components/overlay": "^0.43.0",
+        "@spectrum-web-components/popover": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/dialog": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/dialog/-/dialog-0.42.5.tgz",
-      "integrity": "sha512-aaAYMWGGHKX2J+YEtWxnAOE9weHcGF3KEDGWvBwwOoy+WY1dgeEZdiJZL0h2sygoagy4Wi10/rTOR0/ycXcyeQ==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/dialog/-/dialog-0.43.0.tgz",
+      "integrity": "sha512-8P9yY1WUf7GmSDOaD0B+3KAjCQ5eJ+uwIx1dQYo24awvt15P5JrvIzteeegVTQ9OAzDogIyEzHJIuLvmZYn/uQ==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/alert-dialog": "^0.42.5",
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/button": "^0.42.5",
-        "@spectrum-web-components/button-group": "^0.42.5",
-        "@spectrum-web-components/divider": "^0.42.5",
-        "@spectrum-web-components/icons-workflow": "^0.42.5",
-        "@spectrum-web-components/modal": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5",
-        "@spectrum-web-components/underlay": "^0.42.5"
+        "@spectrum-web-components/alert-dialog": "^0.43.0",
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/button": "^0.43.0",
+        "@spectrum-web-components/button-group": "^0.43.0",
+        "@spectrum-web-components/divider": "^0.43.0",
+        "@spectrum-web-components/icons-workflow": "^0.43.0",
+        "@spectrum-web-components/modal": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0",
+        "@spectrum-web-components/underlay": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/divider": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/divider/-/divider-0.42.5.tgz",
-      "integrity": "sha512-yvY1UM835H8yN0hbh0ol+OOFEfWd6MJqv4/zVa9HSHQcgaTv2KSWhIgOHU2yrAPKI3Xs2zail3JtBFh1ynErpA==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/divider/-/divider-0.43.0.tgz",
+      "integrity": "sha512-5jVnNcEfXjdKMPDclTo2Tqhi+0EdVc3MKEox7akzUJM2ZcxSF2dBTbK1EVIsbZmz5sdzXEdCs/cZ7JJtoRoEsA==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/dropzone": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/dropzone/-/dropzone-0.42.5.tgz",
-      "integrity": "sha512-c69em2V05SEdk0bGv5drrQEk0wYJvHKTzPX8QpUf/AcdvvS++OLiv+TEThD+AJALBhn4c+q64NsB1ISrfG9yrA==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/dropzone/-/dropzone-0.43.0.tgz",
+      "integrity": "sha512-FkDzY9nsmF8F1NFKwyOKcPSPHlGJfYKLS9JnA9pkH0LphrngcwT38krOVuvb5m6WOlnlxq8p/KuQgOO7DQ4ciQ==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/field-group": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/field-group/-/field-group-0.42.5.tgz",
-      "integrity": "sha512-8Jp1uUW1a3SVE9TBKi8tSVcyu6oH6aRRBXO+2K9F66DyLtdBZ5j4U42nYhLsHYQs6CHYR422+0o/2w0umU89fA==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/field-group/-/field-group-0.43.0.tgz",
+      "integrity": "sha512-4GqEzz96zDk2zMyMRUbWLwuhBEmdKpxX50THiCcvM5yDD9OuxXVOYlZ68zzwPnQX7knKDNiVwQUxHXpP+DDPGQ==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/help-text": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/help-text": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/field-label": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/field-label/-/field-label-0.42.5.tgz",
-      "integrity": "sha512-HSainInLkjVutscF9ms33i5WKIlbMoDfkhZ2nRECOjfUP73O4tKsi/wAAkXxcIwlwekLATOaehG8//mKJIzbJQ==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/field-label/-/field-label-0.43.0.tgz",
+      "integrity": "sha512-KEhU1b0YAlmwPBrr1m4JhCrU+cfO3QQ7P5fbC5cI97n6Pvuh739oYRdjkCGikq9fu70EhK3bgsyS9RUc+2G5Rw==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/icon": "^0.42.5",
-        "@spectrum-web-components/icons-ui": "^0.42.5",
-        "@spectrum-web-components/reactive-controllers": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/icon": "^0.43.0",
+        "@spectrum-web-components/icons-ui": "^0.43.0",
+        "@spectrum-web-components/reactive-controllers": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/grid": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/grid/-/grid-0.42.5.tgz",
-      "integrity": "sha512-OcF+5NZWliynLiUQPSNBL2vru/vg+DcOawVyO3dQsmMSUDftTCWVDvm9bwiA1W6buqUWDTfwoHJ+lsqVnhl4kQ==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/grid/-/grid-0.43.0.tgz",
+      "integrity": "sha512-LHUio7tl3n7vj1pGVf226cC6DmVleVsGNgxX6XPuu1En+0QlglbYj9GXvs6bEBgrG3kBeNOx8RlmF+PV+zyvLg==",
       "license": "Apache-2.0",
       "dependencies": {
         "@lit-labs/observers": "^2.0.2",
         "@lit-labs/virtualizer": "^2.0.12",
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/reactive-controllers": "^0.42.5",
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/reactive-controllers": "^0.43.0",
         "lit": "^2.5.0 || ^3.1.3"
       }
     },
     "node_modules/@spectrum-web-components/help-text": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/help-text/-/help-text-0.42.5.tgz",
-      "integrity": "sha512-3TCnVJE3awymYuZ7SvHQuY2TiKm514agRsDWvEcQI4DXzMZl3zaNs9h/C88qBnemfGt7EIfA+EvmL4SezKE9xg==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/help-text/-/help-text-0.43.0.tgz",
+      "integrity": "sha512-vB7GQ8OmJSDP5ht6jTSGauGmHKPkKMMqlMFz7MXkp8pI/Vef4CTvi2L5/ncXeI5Jod2Z/HpTTPLef3bX2mXk9g==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/icons-workflow": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/icons-workflow": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/icon": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/icon/-/icon-0.42.5.tgz",
-      "integrity": "sha512-7fECP297EgEu1XvBPLxfPRSuEM6dmkkEeuPpHXwhjbicqiOsAFVDLALB/LUghOhQBXI7Hd7Vl1eQiYYaVLKKfw==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/icon/-/icon-0.43.0.tgz",
+      "integrity": "sha512-muV9a252O289xd68fN2gwJ1fO0alb8bpEn6/mtTh72LN8p8nSFSP6zxzDuB3ZYMsRslOP5CjxNVW9PcFDQ0R7Q==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/iconset": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/iconset": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/icons": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/icons/-/icons-0.42.5.tgz",
-      "integrity": "sha512-al//A8FiLyt59dVlUy8JchxplnuHLu9hYsTFUld1TkiuY0lS42ZE2rxQO+9AX33ZJ/5bv3er9s46sm1FVszmYw==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/icons/-/icons-0.43.0.tgz",
+      "integrity": "sha512-siDM4/cuJ0nu9E/asDwj6h1rrn/QRM44g75lkKeKbvso2E9opBXAkni13fRTgdrTyH1L7m1CJVTOmnMU3tfeEg==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/iconset": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/iconset": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/icons-ui": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/icons-ui/-/icons-ui-0.42.5.tgz",
-      "integrity": "sha512-Jif910xJFC0JhmeCYWQUubI/C3kB2INHomNye2y4rWYatVE/ZMjJc4BLcs2RTRYRvt/2yJ7LUwi2SZi7q3eJmQ==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/icons-ui/-/icons-ui-0.43.0.tgz",
+      "integrity": "sha512-SjdjuO610dDbbq2KPJ4vOkPb8KoJpiyP1Zi8BWnjmb0eCLLzXql0xdlctv+48NmmgeVPVCJLeX3j0sezNzmp7w==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/icon": "^0.42.5",
-        "@spectrum-web-components/iconset": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/icon": "^0.43.0",
+        "@spectrum-web-components/iconset": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/icons-workflow": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/icons-workflow/-/icons-workflow-0.42.5.tgz",
-      "integrity": "sha512-LR9+leTSnTyy8MxVKi+bbC7pBCzNUIq97dcf6MH3smo2Xcrh+W5pIBdw4LIOAt0yzdLRagfQtMFkzQfhH7+9VQ==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/icons-workflow/-/icons-workflow-0.43.0.tgz",
+      "integrity": "sha512-dP9RklJDQvwiJFxMQupGp/Fnp2jz2yWEBh6tLFUCUuIjpNzSRDrPhZjFBUAX6AxItYhP0IgGk5Ab+OURdqlEig==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/icon": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/icon": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/iconset": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/iconset/-/iconset-0.42.5.tgz",
-      "integrity": "sha512-jdmydViHhSXVStfpweFgTyU5bC9KmX1rC03eN4fyUI/E7JES22V+SMi2jvT71gb7MHswqsS7mlPyUBlcJGrz1Q==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/iconset/-/iconset-0.43.0.tgz",
+      "integrity": "sha512-O/Kz72R7DAS5r+DlpQ6oh83x1gvbNSaraqso3JyvliI4Z1Fwg0fsgBmmc24+wVvSc5z6RUJ8RXyFXMukRUOZkA==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/illustrated-message": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/illustrated-message/-/illustrated-message-0.42.5.tgz",
-      "integrity": "sha512-9LnI4PsxvrSBndtq+81hIRDKMcqejCj5cIu06mAqQiw/gFKZ81vssm3bI10lE8+0f1+Iq/DU37Ghfy/tVpCW/w==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/illustrated-message/-/illustrated-message-0.43.0.tgz",
+      "integrity": "sha512-FYpAAt6vLrk8RBoND+YOYQ/PVRBvchiY5jVesBISJZIqM/2M+YpUzH+0tiEotKtJQTkCkFLbv+APgSRgrFJ/ZA==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/styles": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/styles": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/infield-button": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/infield-button/-/infield-button-0.42.5.tgz",
-      "integrity": "sha512-AiDspP53+7kFX/OGT4gi1mW6DBBRhYN1XOehWGl8YIYpkjlUrNl/xhKmNbYFIkeSawGXrxaRfqFHgWfRhL9c2A==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/infield-button/-/infield-button-0.43.0.tgz",
+      "integrity": "sha512-ulgeZyaY4uP93v4CMrBatnNx8Poe7yBvscNXe5wKDxQlqaDZE7rB0uX4jHXOG0T2f6CyzkfTft8+RDPs7GsD/g==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/button": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/button": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/link": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/link/-/link-0.42.5.tgz",
-      "integrity": "sha512-HQUHX8mwmZrQYgUXMfuwZUP3DDOC7scmGqEh4/mgaG5rGoSXNJGpJvEbKHSeIzxS2Gtf0mlHrtYTXFAiWUHMMg==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/link/-/link-0.43.0.tgz",
+      "integrity": "sha512-9ODBk6aLOw6dkibEIXw6aEigNrqZY2gem1yXgGo+/72/qcn/Szh2sLnAEjVeX561QQRiTZFYHnlQ2viLyWYUnQ==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/menu": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/menu/-/menu-0.42.5.tgz",
-      "integrity": "sha512-CuZXR2kmCf3o+Zv1RHhW2mtFPpcAUKyz2Bqay1tn3iQUmLLW0GEfqmE4WsLUc19XCAtYtZyuMNh+e0/IdSDyBQ==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/menu/-/menu-0.43.0.tgz",
+      "integrity": "sha512-UqS5c+7kNknHrfyVSl1ThIxpLoXmvYo3lCAu0MKgDO6R0ourNBVzgfKgHXj7SdhakgJSTtcmTnwXriIvY/p4uA==",
       "license": "Apache-2.0",
       "dependencies": {
         "@lit-labs/observers": "^2.0.2",
-        "@spectrum-web-components/action-button": "^0.42.5",
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/divider": "^0.42.5",
-        "@spectrum-web-components/icon": "^0.42.5",
-        "@spectrum-web-components/icons-ui": "^0.42.5",
-        "@spectrum-web-components/overlay": "^0.42.5",
-        "@spectrum-web-components/popover": "^0.42.5",
-        "@spectrum-web-components/reactive-controllers": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5"
+        "@spectrum-web-components/action-button": "^0.43.0",
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/divider": "^0.43.0",
+        "@spectrum-web-components/icon": "^0.43.0",
+        "@spectrum-web-components/icons-ui": "^0.43.0",
+        "@spectrum-web-components/overlay": "^0.43.0",
+        "@spectrum-web-components/popover": "^0.43.0",
+        "@spectrum-web-components/reactive-controllers": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/meter": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/meter/-/meter-0.42.5.tgz",
-      "integrity": "sha512-ZkIqLVApVRFZm/o5cZ4u8VKcXt38qzqKHuAqKjNKUldvtiwrSx9LWeQ1xZkrSWnjlzmbHiA7EbkUr5mJfTPcTw==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/meter/-/meter-0.43.0.tgz",
+      "integrity": "sha512-RkdnJgKTQZaMy7/UvKPdTELTlOfo2aENeAQLArU9Fy4fA+l09mQ6q8KReovBD9m1neoYEBb16GVO6azyZwUrwQ==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/field-label": "^0.42.5",
-        "@spectrum-web-components/reactive-controllers": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/field-label": "^0.43.0",
+        "@spectrum-web-components/reactive-controllers": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/modal": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/modal/-/modal-0.42.5.tgz",
-      "integrity": "sha512-sxkKK1QbBsKaUy99kpghxaRBzM6SDe0tn5699QHMvyEGJVZsvAFgwZ8tJqBvs8sGKcQ04en3UOloZm1pvbmIOw==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/modal/-/modal-0.43.0.tgz",
+      "integrity": "sha512-mNhPnn+zjvBEz6Fm4dpl4OHv+qq5yw5GZq6G8ka/oNVmk2ZVT6XoLPhezHYqnyycGqiiqXeWom5Mmfzdcp+muw==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/number-field": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/number-field/-/number-field-0.42.5.tgz",
-      "integrity": "sha512-ZbpXwFdy13HzUz9C8CG7qsFYnogtefziR2S+oF9G8EJirl0kio3LF07KCTzPoN/ptm6EeWQ4IeHOA7Ztx2pt/w==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/number-field/-/number-field-0.43.0.tgz",
+      "integrity": "sha512-0HBhubrkqjDiM/3c9wX8VWCKYbfvgZ7kXvoFEp1/BV3ucGY4sFO83t8NTpzimKOmQDPMAQst6Ipuq7PllGuzKQ==",
       "license": "Apache-2.0",
       "dependencies": {
         "@internationalized/number": "^3.1.0",
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/icon": "^0.42.5",
-        "@spectrum-web-components/icons-ui": "^0.42.5",
-        "@spectrum-web-components/infield-button": "^0.42.5",
-        "@spectrum-web-components/reactive-controllers": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5",
-        "@spectrum-web-components/textfield": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/icon": "^0.43.0",
+        "@spectrum-web-components/icons-ui": "^0.43.0",
+        "@spectrum-web-components/infield-button": "^0.43.0",
+        "@spectrum-web-components/reactive-controllers": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0",
+        "@spectrum-web-components/textfield": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/opacity-checkerboard": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/opacity-checkerboard/-/opacity-checkerboard-0.42.5.tgz",
-      "integrity": "sha512-XuOIxRNUXpFgpTY9EsyhHHz0ckjZmMLPvpoC4WxqjnrCT86R+8GjwQXxooJvDHBRm1xofCnxwJ5qxUT68wxCYw==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/opacity-checkerboard/-/opacity-checkerboard-0.43.0.tgz",
+      "integrity": "sha512-iK97Ta9oSYI+z/YhkiZAi900+p2wvF6tTYyFieWKu3NMXRfgMO07RHeD4Msa28jKU84A644hLdmbCpOeUlnc5Q==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/overlay": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/overlay/-/overlay-0.42.5.tgz",
-      "integrity": "sha512-SFD0wyTUWglPW9Hth3pT17xQLdcggWOw8EkiYoOp0Eth6/LKCcJ0a63EFlzEXyY/DqgC24/KzE+mF2Kqcne01A==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/overlay/-/overlay-0.43.0.tgz",
+      "integrity": "sha512-RHYsfQR3CBDt2Ise/hmsnvoJVltibIImEgUJ/RiQECzz3uvCYLdkhtfHz5kxD3vWjmluWuD+m7Vrf0V71BCU+w==",
       "license": "Apache-2.0",
       "dependencies": {
         "@floating-ui/dom": "^1.6.1",
         "@floating-ui/utils": "^0.2.1",
-        "@spectrum-web-components/action-button": "^0.42.5",
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/reactive-controllers": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5",
-        "@spectrum-web-components/theme": "^0.42.5"
+        "@spectrum-web-components/action-button": "^0.43.0",
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/reactive-controllers": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0",
+        "@spectrum-web-components/theme": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/picker": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/picker/-/picker-0.42.5.tgz",
-      "integrity": "sha512-qS/TkXwtgBBLrHbLUufGm3g022orjACOOeFAk1aZ7sYfapWxztOzXlUO5L8qOaUhabA1IJ2K4kIuygfY9DVdFw==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/picker/-/picker-0.43.0.tgz",
+      "integrity": "sha512-CAjruaUuCWYEW9jFzEBKR3EDFvCoXkn0EFqdBLmH0NAag7mYVgJqA1mPE9d9PIkMURB3cbg2/bffYxMEWJ28Dw==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/button": "^0.42.5",
-        "@spectrum-web-components/field-label": "^0.42.5",
-        "@spectrum-web-components/icon": "^0.42.5",
-        "@spectrum-web-components/icons-ui": "^0.42.5",
-        "@spectrum-web-components/icons-workflow": "^0.42.5",
-        "@spectrum-web-components/menu": "^0.42.5",
-        "@spectrum-web-components/overlay": "^0.42.5",
-        "@spectrum-web-components/popover": "^0.42.5",
-        "@spectrum-web-components/progress-circle": "^0.42.5",
-        "@spectrum-web-components/reactive-controllers": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5",
-        "@spectrum-web-components/tooltip": "^0.42.5",
-        "@spectrum-web-components/tray": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/button": "^0.43.0",
+        "@spectrum-web-components/field-label": "^0.43.0",
+        "@spectrum-web-components/icon": "^0.43.0",
+        "@spectrum-web-components/icons-ui": "^0.43.0",
+        "@spectrum-web-components/icons-workflow": "^0.43.0",
+        "@spectrum-web-components/menu": "^0.43.0",
+        "@spectrum-web-components/overlay": "^0.43.0",
+        "@spectrum-web-components/popover": "^0.43.0",
+        "@spectrum-web-components/progress-circle": "^0.43.0",
+        "@spectrum-web-components/reactive-controllers": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0",
+        "@spectrum-web-components/tooltip": "^0.43.0",
+        "@spectrum-web-components/tray": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/picker-button": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/picker-button/-/picker-button-0.42.5.tgz",
-      "integrity": "sha512-IgMLY6temzr8d3ldu4sheb1LF4m8aEJZXhc6B02mi9wckChvhwYnsj0us4u2kBPPT5uOl6wMZn0rjq5DOOs+tg==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/picker-button/-/picker-button-0.43.0.tgz",
+      "integrity": "sha512-B5UBlmcE0XnnUHkfirC9KRFs/m0tuPj/Y+q0lz/hOILSwCIts8KE7nqEojZL0FegJe3WnQD5yhM4UrMpvTy8uQ==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/button": "^0.42.5",
-        "@spectrum-web-components/icon": "^0.42.5",
-        "@spectrum-web-components/icons-ui": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/button": "^0.43.0",
+        "@spectrum-web-components/icon": "^0.43.0",
+        "@spectrum-web-components/icons-ui": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/popover": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/popover/-/popover-0.42.5.tgz",
-      "integrity": "sha512-4A5IcPAzS8NjfSkZYq4P1baIVG3bM983SCTrR0GlLKvH/XYW07idUYiw2R9N/0DEDzY0c+u9U29Iec4o4CSLEw==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/popover/-/popover-0.43.0.tgz",
+      "integrity": "sha512-EF4hRgQe0SliPk0U9RJuMFUXudyMS9dGR/Lmm3r5DwZoJ8UI2r8XKLgZjdz4vchxLGLS6yuXVgW3BdCr/H194Q==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/overlay": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/overlay": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/progress-bar": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/progress-bar/-/progress-bar-0.42.5.tgz",
-      "integrity": "sha512-g4CGxKPv5RoKbnyjCRlV2O4TonyHEJbZPo/5ZgRBRjIMFrJAXHTIPeX9HMYDqIJf07WseGaYt1oFrRKmbUSOIg==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/progress-bar/-/progress-bar-0.43.0.tgz",
+      "integrity": "sha512-F8EGvnfhwDK239StubONAiyhP9K2qdH1dHrqKye8IUuAW2bgCtmQdm0TXQJhyBmsct3NOGGKyxBjI9f04nPQSQ==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/field-label": "^0.42.5",
-        "@spectrum-web-components/reactive-controllers": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/field-label": "^0.43.0",
+        "@spectrum-web-components/reactive-controllers": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/progress-circle": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/progress-circle/-/progress-circle-0.42.5.tgz",
-      "integrity": "sha512-XROdnKCYjkKP0Fzoa21zzAqr/xwJ6dyQRgBafw1aMpA8gMVlcW0JHz6ZPAukWTMV6szIfU3DjP0eLmMdMPqDwg==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/progress-circle/-/progress-circle-0.43.0.tgz",
+      "integrity": "sha512-6n23MCRM705EnJAeLtKAghzjcCKly7wyq9i+aNtmw1SiSR7dAguWA9VP0zIjYMpFr50GEn4tQGDhisWcy9ze6g==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/quick-actions": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/quick-actions/-/quick-actions-0.42.5.tgz",
-      "integrity": "sha512-1aQ8Exmy/KoZEBv84czC4sbwcCnbWp0Bnb47fjFCULe4aIZpL8Ud1QPJW7+D2ZM1vd8xDYoA7fFpWEE+o97bIQ==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/quick-actions/-/quick-actions-0.43.0.tgz",
+      "integrity": "sha512-xnYOwEFyJDuIjH3N3aYkvWfTNy+5evD1WsprJCrsSgGEJPtkMNdiPp22/LmPa63ZB5EQRAJpDtfc1MMiLu1wGw==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/radio": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/radio/-/radio-0.42.5.tgz",
-      "integrity": "sha512-KpYLWB7XD4A0TS/w/bqAVAAVycxbTWCg+GfSzWZLOSGr/b3ZQ2aCFfdk6jJ8UvMNhLlY5SNyCNcfzQnSBjS3OQ==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/radio/-/radio-0.43.0.tgz",
+      "integrity": "sha512-veJgxO6fpGQ5N2Z8Pp+6JR7qf6F9GsxMI2/akMm68uR2aCdyyBHq5qd54T1O6I//HBcgZmrHPCcXY5W6DdOnbA==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/field-group": "^0.42.5",
-        "@spectrum-web-components/help-text": "^0.42.5",
-        "@spectrum-web-components/reactive-controllers": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/field-group": "^0.43.0",
+        "@spectrum-web-components/help-text": "^0.43.0",
+        "@spectrum-web-components/reactive-controllers": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/reactive-controllers": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/reactive-controllers/-/reactive-controllers-0.42.5.tgz",
-      "integrity": "sha512-xKg1rhGklcZ6TwYlSmtwCaLiITb6Tdl3vKkLEzCe4dfYDD0FO0kIUuI9uCVonTz6bVBTtEd1/taXJCSneUuDJg==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/reactive-controllers/-/reactive-controllers-0.43.0.tgz",
+      "integrity": "sha512-2v7Mexb5POiD3h8EN9PjuUldRJazoKladEnkTDN24vXq+W8KtC0K/UUQ42vMEPRkA9ljsXJPJNah6zNLO8rS3A==",
       "license": "Apache-2.0",
       "dependencies": {
         "lit": "^3.1.3"
       }
     },
     "node_modules/@spectrum-web-components/search": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/search/-/search-0.42.5.tgz",
-      "integrity": "sha512-XCXafVaAc5Q1pdSowtZHE+i/p+PWDnPztpPjo09wzarveX2mrhVHjYl1BU8dfrYh8PBkOTbsEPXy10bdfEH1GQ==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/search/-/search-0.43.0.tgz",
+      "integrity": "sha512-yrWKtxs0fKdAjuutnN+ePSUf1Gaz3j8MEew54vlU0CrW0mT5lXse7hhspAYz7XFiHQ5VvSzbSPC/LbtIMNyMjg==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/button": "^0.42.5",
-        "@spectrum-web-components/icon": "^0.42.5",
-        "@spectrum-web-components/icons-workflow": "^0.42.5",
-        "@spectrum-web-components/textfield": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/button": "^0.43.0",
+        "@spectrum-web-components/icon": "^0.43.0",
+        "@spectrum-web-components/icons-workflow": "^0.43.0",
+        "@spectrum-web-components/textfield": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/shared": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/shared/-/shared-0.42.5.tgz",
-      "integrity": "sha512-daqAnp1KBJ/j0P3I30Z1wuK6wu7p5Bij+0ofCdopo4DK4F3GntfUmRb6a9C4TNV+mWP4K+VxMtZ55aHuLG99Gw==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/shared/-/shared-0.43.0.tgz",
+      "integrity": "sha512-LQ/lAoIsObsEj8ZeeB6bHqfaMMmk6FxuW5Jw2Ci9x6fYZ6gPnr4pFH79KGCzAxHFDr+DOP/W5c1JTWwyiKAGVQ==",
       "license": "Apache-2.0",
       "dependencies": {
         "@lit-labs/observers": "^2.0.2",
-        "@spectrum-web-components/base": "^0.42.5",
+        "@spectrum-web-components/base": "^0.43.0",
         "focus-visible": "^5.1.0"
       }
     },
     "node_modules/@spectrum-web-components/sidenav": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/sidenav/-/sidenav-0.42.5.tgz",
-      "integrity": "sha512-t9eFiyQOslFGalY7xyiQMj3k5AHxeQ0uezu43JOixP6nkeforeXGyidviHaPEImUXHJCuI+p3XO0EBeNx4a63A==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/sidenav/-/sidenav-0.43.0.tgz",
+      "integrity": "sha512-YA1QGNUPB0w5slFXCTfuSPIOQccmtv+RXwOel5FvPFyGgrmLHd230JmQ6GJZ0u6YsT8iEegzC7iBgcwgfY/fuQ==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/reactive-controllers": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/reactive-controllers": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/slider": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/slider/-/slider-0.42.5.tgz",
-      "integrity": "sha512-tHjNLSwdvVuup35vTVEA3FwVC0QKkK13R1ZmxhM3EVu0DVoh9BnK1aOz/Z1XnHj3jfFZ7d7yjRkkzG3z8Qr11w==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/slider/-/slider-0.43.0.tgz",
+      "integrity": "sha512-Di4dzGVm6Jom8CLfcePu7VDl7bRg8HJLDX3+lUWe5K4uhfg4pyHEB6l0muoFympcY3mfqh33BhsHsRtcr3AeXg==",
       "license": "Apache-2.0",
       "dependencies": {
         "@internationalized/number": "^3.1.0",
         "@lit-labs/observers": "^2.0.0",
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/field-label": "^0.42.5",
-        "@spectrum-web-components/number-field": "^0.42.5",
-        "@spectrum-web-components/reactive-controllers": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5",
-        "@spectrum-web-components/theme": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/field-label": "^0.43.0",
+        "@spectrum-web-components/number-field": "^0.43.0",
+        "@spectrum-web-components/reactive-controllers": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0",
+        "@spectrum-web-components/theme": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/split-button": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/split-button/-/split-button-0.42.5.tgz",
-      "integrity": "sha512-qTvKbZcnl4KrUdLhOV/roGsXzBD5LwHRa7DtmO+deDL4D4CixQpfAjBfQs2yyktowYSGcVc24NyM/iSgv5CRJA==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/split-button/-/split-button-0.43.0.tgz",
+      "integrity": "sha512-m0WPdmhL5Qb+8CrB3iRta+D2bPWLoNouU/iRa/F8bZeaNJfSXSQJ/RA8a9YFq49vn/FxD/7fbJssgrg06q3xjQ==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/button": "^0.42.5",
-        "@spectrum-web-components/icon": "^0.42.5",
-        "@spectrum-web-components/icons-ui": "^0.42.5",
-        "@spectrum-web-components/icons-workflow": "^0.42.5",
-        "@spectrum-web-components/menu": "^0.42.5",
-        "@spectrum-web-components/overlay": "^0.42.5",
-        "@spectrum-web-components/picker": "^0.42.5",
-        "@spectrum-web-components/popover": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/button": "^0.43.0",
+        "@spectrum-web-components/icon": "^0.43.0",
+        "@spectrum-web-components/icons-ui": "^0.43.0",
+        "@spectrum-web-components/icons-workflow": "^0.43.0",
+        "@spectrum-web-components/menu": "^0.43.0",
+        "@spectrum-web-components/overlay": "^0.43.0",
+        "@spectrum-web-components/picker": "^0.43.0",
+        "@spectrum-web-components/popover": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/split-view": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/split-view/-/split-view-0.42.5.tgz",
-      "integrity": "sha512-nV2E7PRRbs+gfxoIg3qwulwAOskOeHpPemxngPYM5KLh5ii5LFE5LgoSjN6H3K6Zd9vIIGvZgndzsRio27E/OA==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/split-view/-/split-view-0.43.0.tgz",
+      "integrity": "sha512-wR3x5AoBZfn4dnGbbblER1aewfqzItWaIpMC2Z0zb26riTd6RYdnPGVGB4Tb5IqD9nWKPm5KSE7Vz+6g1KyIjQ==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/status-light": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/status-light/-/status-light-0.42.5.tgz",
-      "integrity": "sha512-xX2TG4cXa6PdTWL3AU1BKsfGSxcqHZ9SrhgffGHqXgMMSxtRJHVhOdfDTn/+2IbQCXrtISqmf6C4Cvo5tGkSiw==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/status-light/-/status-light-0.43.0.tgz",
+      "integrity": "sha512-VA7zVt0i5byGrO9snBgmaQauaUM2vo6bqtBAYcH4StnJmafklKGsud3BuAsqt0lBW+kzUJq3QsTQb01RxH/x4g==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/styles": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/styles/-/styles-0.42.5.tgz",
-      "integrity": "sha512-e2ZFmMTAUMg4VZVR3CpqdeZoLhqu6SN+FiQE7bDspdOAE9V4vIM4nFHVq7FntxEZYjWge3LWqHdOT75BhYG9lQ==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/styles/-/styles-0.43.0.tgz",
+      "integrity": "sha512-9VtUlFfAb9BwFBSnU/cuToDgJlXndH+Tt/pVuJ+F0u111dh7y5lmE9y+C/u6OlUwZ8MaIK2iaHMmGFvjEjzCgg==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/swatch": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/swatch/-/swatch-0.42.5.tgz",
-      "integrity": "sha512-4K0JiDJ+EeIj9ZRolx7vp5E+6pg3rUrqDBmJ97keZUtsbLgxZcRU4RsbUJYH4HFzdrb7vLquc1ryX5eymO9B5g==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/swatch/-/swatch-0.43.0.tgz",
+      "integrity": "sha512-ay8rCnck4xuFSXw77eoEP+Ca83ZhCuvV7gcF5wKtEtcyx8OYAgzV+ntqLzXazs6N0j20RFB9jBMiIJaR9nPlkQ==",
       "license": "Apache-2.0",
       "dependencies": {
         "@lit-labs/observers": "^2.0.2",
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/icon": "^0.42.5",
-        "@spectrum-web-components/icons-ui": "^0.42.5",
-        "@spectrum-web-components/opacity-checkerboard": "^0.42.5",
-        "@spectrum-web-components/reactive-controllers": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/icon": "^0.43.0",
+        "@spectrum-web-components/icons-ui": "^0.43.0",
+        "@spectrum-web-components/opacity-checkerboard": "^0.43.0",
+        "@spectrum-web-components/reactive-controllers": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/switch": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/switch/-/switch-0.42.5.tgz",
-      "integrity": "sha512-ISwhhci60oskx5F5nx1xdiyB2bL85dUrEG1N/TtvNAgwCZm6FENAiihXyvO2dYYg0+GDW/it0sXgl/jVhD08Xw==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/switch/-/switch-0.43.0.tgz",
+      "integrity": "sha512-PsUuDqLWLeaywpidfZUAIXn+n/zsDSWnDivHqfiN3hslOy68Yxxs41+Qj2K2f28mT7C8ezQYE260rktwAgfSBA==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/checkbox": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/checkbox": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/table": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/table/-/table-0.42.5.tgz",
-      "integrity": "sha512-Rz1CSwp1xhspdJR/UifMz+UBVV+6F2lKzBzbzxyRmZ1pMtrhfXKRCon7JysiJPBqOJx7vFV1UEqeHc4bM30CQA==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/table/-/table-0.43.0.tgz",
+      "integrity": "sha512-ywJ9TuwflQBP8iYqQYACpTAD4XNN55Ih4Gxhldy/79zcNIgo9uC5lcI+WnKYOnlobdsZ5GH5LcMFJ5RSCBY88Q==",
       "license": "Apache-2.0",
       "dependencies": {
         "@lit-labs/observers": "^2.0.2",
         "@lit-labs/virtualizer": "^2.0.12",
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/checkbox": "^0.42.5",
-        "@spectrum-web-components/icon": "^0.42.5",
-        "@spectrum-web-components/icons-ui": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/checkbox": "^0.43.0",
+        "@spectrum-web-components/icon": "^0.43.0",
+        "@spectrum-web-components/icons-ui": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/tabs": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/tabs/-/tabs-0.42.5.tgz",
-      "integrity": "sha512-K9IRqi2oWVNY+aR1e4nMVO8faWBsoOesO1HWxPsKyhDHTJeU31E7vxbWTXnEyFHoSqCbchX2bbauuZGN3JonYQ==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/tabs/-/tabs-0.43.0.tgz",
+      "integrity": "sha512-4qyhBI9xNkAgubJvrwqSn6aT4y6F0l1veTaQz9nkVxk0mwM7ZpyAfQgcZxl0uM2BeWpCF6lVjN3AecKmGzH06Q==",
       "license": "Apache-2.0",
       "dependencies": {
         "@lit-labs/observers": "^2.0.2",
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/icon": "^0.42.5",
-        "@spectrum-web-components/icons-ui": "^0.42.5",
-        "@spectrum-web-components/reactive-controllers": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/icon": "^0.43.0",
+        "@spectrum-web-components/icons-ui": "^0.43.0",
+        "@spectrum-web-components/reactive-controllers": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/tags": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/tags/-/tags-0.42.5.tgz",
-      "integrity": "sha512-9zw3eBwhzaEK/IKVoANuGx4vPhH0ghgQ1YOzwwK4TOFvEMDHK1PwTopHi32G0X7a3YhQaPNDF1YFettfRqjWqg==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/tags/-/tags-0.43.0.tgz",
+      "integrity": "sha512-PD/RTaYhSifbUJzqrpNWIfKvd3owH36b4tGBpZR+P5C6pRsm2JJ1W2cT0BhFeM6ve2nDN2lIeungrj5VfvdRVA==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/button": "^0.42.5",
-        "@spectrum-web-components/reactive-controllers": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/button": "^0.43.0",
+        "@spectrum-web-components/reactive-controllers": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/textfield": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/textfield/-/textfield-0.42.5.tgz",
-      "integrity": "sha512-79EFHUXqDaPG870pwtUQ+gxLvYp0cDetDRcCgyiccChJkSd3/LXH6kz2XwNjCCGsIDVfjNg7kdEKGSRNTBV2hw==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/textfield/-/textfield-0.43.0.tgz",
+      "integrity": "sha512-KjZTWfdJ2RppyROhq3DTDfyEkbkLtEmdND2uJb08+FdAt9FJ1vGj9GdzGkGvyeJ1Zr1qxEEg4AVCV5RlO3ZNOg==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/help-text": "^0.42.5",
-        "@spectrum-web-components/icon": "^0.42.5",
-        "@spectrum-web-components/icons-ui": "^0.42.5",
-        "@spectrum-web-components/icons-workflow": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/help-text": "^0.43.0",
+        "@spectrum-web-components/icon": "^0.43.0",
+        "@spectrum-web-components/icons-ui": "^0.43.0",
+        "@spectrum-web-components/icons-workflow": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/theme": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/theme/-/theme-0.42.5.tgz",
-      "integrity": "sha512-6E+j4RfHRlxwrK+t6Sy7az2Pw2N0AaYidcJbXcZZw/luYr1NtvNWMuJq6Jg5bbusTSSNSrAXDgsi4e09MVHuNg==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/theme/-/theme-0.43.0.tgz",
+      "integrity": "sha512-22T+ivfMHpf3jPkAfkl1VenBivJ2EdXEOV+NJa+Pev5Ong9evzdmarfK+1J4HOOFKTdLLR3fOCVbVCf5kJvelQ==",
       "license": "ISC",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/styles": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/styles": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/thumbnail": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/thumbnail/-/thumbnail-0.42.5.tgz",
-      "integrity": "sha512-aGvvQgHbu6Taavtqubz18ss/hogObFqmqaZ8RR5IX7lTF6LiAavzku2MDPASTnhETgSVDK0ZR9/yUHpD8XHpBw==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/thumbnail/-/thumbnail-0.43.0.tgz",
+      "integrity": "sha512-aaGJfr3b/UcKzuspvHTkTRAlOyoSI5Kj+QNX5G8C/LI65T3LBMYyBaPKuGAMPkLbR5nU4QN61BTiiVriQJBozA==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/opacity-checkerboard": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/opacity-checkerboard": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/toast": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/toast/-/toast-0.42.5.tgz",
-      "integrity": "sha512-FBS+OxtmEWILLdXyM0MRKHidU7ZYB21vGgx3rRx/XfzCpZ9Dj0EzLfECLJ2zP5M20wfrSmamIFyPuz0exoG0RA==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/toast/-/toast-0.43.0.tgz",
+      "integrity": "sha512-KUhg7pf4D+1V+hU3AeHclvUUISKyMQpY4wgC1Q3ZboOtu4hFVM/EfTzwdqBbiaqI2ZdjfrUt9rCr63cPzLtBag==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/button": "^0.42.5",
-        "@spectrum-web-components/icon": "^0.42.5",
-        "@spectrum-web-components/icons-workflow": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/button": "^0.43.0",
+        "@spectrum-web-components/icon": "^0.43.0",
+        "@spectrum-web-components/icons-workflow": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/tooltip": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/tooltip/-/tooltip-0.42.5.tgz",
-      "integrity": "sha512-x+tiVnmgdi1mnlOX2vWlEXW9gl2Sj7f9xzb752JJsEKLkggCP19ldXtuapOzr7clT9Ke1cBrQ/ZrBKoDRuQXJQ==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/tooltip/-/tooltip-0.43.0.tgz",
+      "integrity": "sha512-xPQjZFoc6OzgNmY/UtB5bfaH5+jeNdjm8Kkm9z+SicWdpIQckVbtYXmx9BzWRorP3GHAvdtewWkJqROEaJmEhA==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/overlay": "^0.42.5",
-        "@spectrum-web-components/reactive-controllers": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/overlay": "^0.43.0",
+        "@spectrum-web-components/reactive-controllers": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/top-nav": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/top-nav/-/top-nav-0.42.5.tgz",
-      "integrity": "sha512-VZX7LtlIQFeFw1gfeMGgw8RyJ+MF1U3xkFgFLejj33PAw/lGbn0qd+qNRX+z85tI3xmk1lKfgDT4vkRxzcFqiw==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/top-nav/-/top-nav-0.43.0.tgz",
+      "integrity": "sha512-Q5DYrmohfx4XcdOb04oNQR6ueSplxLnQ1UV9VDBxwGHcAMcYOx//gWebJZ3QAppQOafRww04uo4VdUTG/EoalA==",
       "license": "Apache-2.0",
       "dependencies": {
         "@lit-labs/observers": "^2.0.2",
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5",
-        "@spectrum-web-components/tabs": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0",
+        "@spectrum-web-components/tabs": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/tray": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/tray/-/tray-0.42.5.tgz",
-      "integrity": "sha512-/HycXMjNkeImbfva1IBXqnfqyLrBbHMNgbOKk34t9JvZ/hIj0vaaMtcyb6OUaZfpYRInJlUO+Y7PyGKzfPWM5g==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/tray/-/tray-0.43.0.tgz",
+      "integrity": "sha512-+zaoe2Qw3ye0xweUJmI9nlBo9DB9Ph1FfPDmyw5Qn/HiyfgJ2gIzFuZfNZaOq7ubcWynvX9tvYZ8GvQcwMGGzw==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/modal": "^0.42.5",
-        "@spectrum-web-components/reactive-controllers": "^0.42.5",
-        "@spectrum-web-components/shared": "^0.42.5",
-        "@spectrum-web-components/underlay": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/modal": "^0.43.0",
+        "@spectrum-web-components/reactive-controllers": "^0.43.0",
+        "@spectrum-web-components/shared": "^0.43.0",
+        "@spectrum-web-components/underlay": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/truncated": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/truncated/-/truncated-0.42.5.tgz",
-      "integrity": "sha512-4KCYpOAILfCn3dq9kLrNgida5+5CgVwI92wfEW5HCM4iW9v6SJd4FfU/GM5aDJswkIS4pHZkg75Jd/bO1kOPLw==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/truncated/-/truncated-0.43.0.tgz",
+      "integrity": "sha512-aKBs/Zedh4j0UOlqkifCXD5Q8mB99leTiLGqN2SXpEfFTRlP+6vLeZQqVw7HoWy9MRUKwEygyMOU8Mnn0pOKeg==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5",
-        "@spectrum-web-components/overlay": "^0.42.5",
-        "@spectrum-web-components/styles": "^0.42.5",
-        "@spectrum-web-components/tooltip": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0",
+        "@spectrum-web-components/overlay": "^0.43.0",
+        "@spectrum-web-components/styles": "^0.43.0",
+        "@spectrum-web-components/tooltip": "^0.43.0"
       }
     },
     "node_modules/@spectrum-web-components/underlay": {
-      "version": "0.42.5",
-      "resolved": "https://registry.npmjs.org/@spectrum-web-components/underlay/-/underlay-0.42.5.tgz",
-      "integrity": "sha512-oa5UdX90Ail762pYJ7OYNHmnlMIVXy07dg9QzW6PvVq+mMdNUj0Fh7icui/AKBL5EpzOTSaXSROq9UCKBtzv8g==",
+      "version": "0.43.0",
+      "resolved": "https://registry.npmjs.org/@spectrum-web-components/underlay/-/underlay-0.43.0.tgz",
+      "integrity": "sha512-Mup47GmKDWlF+ApnadvSCY9H3mbcsaPIruAWw+jBO76K1yryYMzlQGgBZqgCZvrKy5QxRwGOiR6VSp0zOJ90Lg==",
       "license": "Apache-2.0",
       "dependencies": {
-        "@spectrum-web-components/base": "^0.42.5"
+        "@spectrum-web-components/base": "^0.43.0"
       }
     },
     "node_modules/@swc/core": {
@@ -5789,6 +5767,7 @@
       "version": "0.8.10",
       "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.10.tgz",
       "integrity": "sha512-2WALfTl4xo2SkGCYRt6rDTFfk9R1czmBvUQy12gK2KuRKIpWEhcbbzy8EZXtz/jkRqHX8bFEc6FC1HjX4TUWYw==",
+      "license": "MIT",
       "engines": {
         "node": ">=10.0.0"
       }
@@ -5853,11 +5832,12 @@
         "node": ">=0.4.0"
       }
     },
-    "node_modules/acorn-import-assertions": {
-      "version": "1.9.0",
-      "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.9.0.tgz",
-      "integrity": "sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==",
+    "node_modules/acorn-import-attributes": {
+      "version": "1.9.5",
+      "resolved": "https://registry.npmjs.org/acorn-import-attributes/-/acorn-import-attributes-1.9.5.tgz",
+      "integrity": "sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ==",
       "dev": true,
+      "license": "MIT",
       "peerDependencies": {
         "acorn": "^8"
       }
@@ -6045,6 +6025,7 @@
       "version": "1.0.10",
       "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
       "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
+      "license": "MIT",
       "dependencies": {
         "sprintf-js": "~1.0.2"
       }
@@ -6331,7 +6312,8 @@
     "node_modules/bluebird": {
       "version": "3.4.7",
       "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.4.7.tgz",
-      "integrity": "sha512-iD3898SR7sWVRHbiQv+sHUtHnMvC1o3nW5rAcqnq3uOn07DSAppZYUkIGslDz6gXC7HfunPe7YVBgoEJASPcHA=="
+      "integrity": "sha512-iD3898SR7sWVRHbiQv+sHUtHnMvC1o3nW5rAcqnq3uOn07DSAppZYUkIGslDz6gXC7HfunPe7YVBgoEJASPcHA==",
+      "license": "MIT"
     },
     "node_modules/bn.js": {
       "version": "5.2.1",
@@ -6603,6 +6585,7 @@
       "version": "0.2.13",
       "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz",
       "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==",
+      "license": "MIT",
       "engines": {
         "node": "*"
       }
@@ -6650,10 +6633,11 @@
       }
     },
     "node_modules/c8": {
-      "version": "9.1.0",
-      "resolved": "https://registry.npmjs.org/c8/-/c8-9.1.0.tgz",
-      "integrity": "sha512-mBWcT5iqNir1zIkzSPyI3NCR9EZCVI3WUD+AVO17MVWTSFNyUueXE82qTeampNtTr+ilN/5Ua3j24LgbCKjDVg==",
+      "version": "10.1.2",
+      "resolved": "https://registry.npmjs.org/c8/-/c8-10.1.2.tgz",
+      "integrity": "sha512-Qr6rj76eSshu5CgRYvktW0uM0CFY0yi4Fd5D0duDXO6sYinyopmftUiJVuzBQxQcwQLor7JWDVRP+dUfCmzgJw==",
       "dev": true,
+      "license": "ISC",
       "dependencies": {
         "@bcoe/v8-coverage": "^0.2.3",
         "@istanbuljs/schema": "^0.1.3",
@@ -6662,7 +6646,7 @@
         "istanbul-lib-coverage": "^3.2.0",
         "istanbul-lib-report": "^3.0.1",
         "istanbul-reports": "^3.1.6",
-        "test-exclude": "^6.0.0",
+        "test-exclude": "^7.0.1",
         "v8-to-istanbul": "^9.0.0",
         "yargs": "^17.7.2",
         "yargs-parser": "^21.1.1"
@@ -6671,7 +6655,15 @@
         "c8": "bin/c8.js"
       },
       "engines": {
-        "node": ">=14.14.0"
+        "node": ">=18"
+      },
+      "peerDependencies": {
+        "monocart-coverage-reports": "^2"
+      },
+      "peerDependenciesMeta": {
+        "monocart-coverage-reports": {
+          "optional": true
+        }
       }
     },
     "node_modules/call-bind": {
@@ -7940,7 +7932,8 @@
     "node_modules/dingbat-to-unicode": {
       "version": "1.0.1",
       "resolved": "https://registry.npmjs.org/dingbat-to-unicode/-/dingbat-to-unicode-1.0.1.tgz",
-      "integrity": "sha512-98l0sW87ZT58pU4i61wa2OHwxbiYSbuxsCBozaVnYX2iCnr3bLM3fIes1/ej7h1YdOKuKt/MLs706TVnALA65w=="
+      "integrity": "sha512-98l0sW87ZT58pU4i61wa2OHwxbiYSbuxsCBozaVnYX2iCnr3bLM3fIes1/ej7h1YdOKuKt/MLs706TVnALA65w==",
+      "license": "BSD-2-Clause"
     },
     "node_modules/dir-glob": {
       "version": "3.0.1",
@@ -7957,7 +7950,8 @@
     "node_modules/dirname-filename-esm": {
       "version": "1.1.1",
       "resolved": "https://registry.npmjs.org/dirname-filename-esm/-/dirname-filename-esm-1.1.1.tgz",
-      "integrity": "sha512-BWBkv157Cf/z7Hjod2v2JS7vyC36Dk1QQolAtuLjpl8RBlv7Z92X7+Ufc2cjfR/B3iJUiK0QmGZkgtsmmLz0Tw=="
+      "integrity": "sha512-BWBkv157Cf/z7Hjod2v2JS7vyC36Dk1QQolAtuLjpl8RBlv7Z92X7+Ufc2cjfR/B3iJUiK0QmGZkgtsmmLz0Tw==",
+      "license": "MIT"
     },
     "node_modules/dns-packet": {
       "version": "5.6.1",
@@ -8069,7 +8063,8 @@
     "node_modules/dompurify": {
       "version": "3.1.5",
       "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.1.5.tgz",
-      "integrity": "sha512-lwG+n5h8QNpxtyrJW/gJWckL+1/DQiYMX8f7t8Z2AZTPw1esVrqjI63i7Zc2Gz0aKzLVMYC1V1PL/ky+aY/NgA=="
+      "integrity": "sha512-lwG+n5h8QNpxtyrJW/gJWckL+1/DQiYMX8f7t8Z2AZTPw1esVrqjI63i7Zc2Gz0aKzLVMYC1V1PL/ky+aY/NgA==",
+      "license": "(MPL-2.0 OR Apache-2.0)"
     },
     "node_modules/domutils": {
       "version": "2.8.0",
@@ -8124,6 +8119,7 @@
       "version": "0.1.12",
       "resolved": "https://registry.npmjs.org/duck/-/duck-0.1.12.tgz",
       "integrity": "sha512-wkctla1O6VfP89gQ+J/yDesM0S7B7XLXjKGzXxMDVFg7uEn706niAtyYovKbyq1oT9YwDcly721/iUWoc8MVRg==",
+      "license": "BSD",
       "dependencies": {
         "underscore": "^1.13.1"
       }
@@ -8197,10 +8193,11 @@
       }
     },
     "node_modules/enhanced-resolve": {
-      "version": "5.16.0",
-      "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.16.0.tgz",
-      "integrity": "sha512-O+QWCviPNSSLAD9Ucn8Awv+poAkqn3T1XY5/N7kR7rQO9yfSGWkYZDwpJ+iKF7B8rxaQKWngSqACpgzeapSyoA==",
+      "version": "5.17.0",
+      "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.17.0.tgz",
+      "integrity": "sha512-dwDPwZL0dmye8Txp2gzFmA6sxALaSvdRDjPH0viLcKrtlOL3tw62nWWweVD1SdILDTJrbrL6tdWVN58Wo6U3eA==",
       "dev": true,
+      "license": "MIT",
       "dependencies": {
         "graceful-fs": "^4.2.4",
         "tapable": "^2.2.0"
@@ -9379,6 +9376,7 @@
       "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
       "deprecated": "Rimraf versions prior to v4 are no longer supported",
       "dev": true,
+      "license": "ISC",
       "dependencies": {
         "glob": "^7.1.3"
       },
@@ -9686,7 +9684,8 @@
     "node_modules/github-slugger": {
       "version": "2.0.0",
       "resolved": "https://registry.npmjs.org/github-slugger/-/github-slugger-2.0.0.tgz",
-      "integrity": "sha512-IaOQ9puYtjrkq7Y0Ygl9KDZnrf/aiUJYUpVf89y8kyaxbRG7Y1SrX/jaumrv81vc61+kiMempujsM3Yw7w5qcw=="
+      "integrity": "sha512-IaOQ9puYtjrkq7Y0Ygl9KDZnrf/aiUJYUpVf89y8kyaxbRG7Y1SrX/jaumrv81vc61+kiMempujsM3Yw7w5qcw==",
+      "license": "ISC"
     },
     "node_modules/glob": {
       "version": "7.2.0",
@@ -9769,6 +9768,7 @@
       "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
       "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
       "dev": true,
+      "license": "MIT",
       "engines": {
         "node": ">=4"
       }
@@ -10121,9 +10121,10 @@
       }
     },
     "node_modules/hast-util-raw": {
-      "version": "9.0.3",
-      "resolved": "https://registry.npmjs.org/hast-util-raw/-/hast-util-raw-9.0.3.tgz",
-      "integrity": "sha512-ICWvVOF2fq4+7CMmtCPD5CM4QKjPbHpPotE6+8tDooV0ZuyJVUzHsrNX+O5NaRbieTf0F7FfeBOMAwi6Td0+yQ==",
+      "version": "9.0.4",
+      "resolved": "https://registry.npmjs.org/hast-util-raw/-/hast-util-raw-9.0.4.tgz",
+      "integrity": "sha512-LHE65TD2YiNsHD3YuXcKPHXPLuYh/gjp12mOfU8jxSrm1f/yJpsb0F/KKljS6U9LJoP0Ux+tCe8iJ2AsPzTdgA==",
+      "license": "MIT",
       "dependencies": {
         "@types/hast": "^3.0.0",
         "@types/unist": "^3.0.0",
@@ -10516,7 +10517,8 @@
     "node_modules/http-cache-semantics": {
       "version": "4.1.1",
       "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz",
-      "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ=="
+      "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==",
+      "license": "BSD-2-Clause"
     },
     "node_modules/http-deceiver": {
       "version": "1.2.7",
@@ -11456,6 +11458,7 @@
       "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.0.tgz",
       "integrity": "sha512-JVYhQnN59LVPFCEcVa2C3CrEKYacvjRfqIQl+h8oi91aLYQVWRYbxjPcv1bUiUy/kLmQaANrYfNMCO3kuEDHfw==",
       "dev": true,
+      "license": "BlueOak-1.0.0",
       "dependencies": {
         "@isaacs/cliui": "^8.0.2"
       },
@@ -11519,7 +11522,8 @@
     "node_modules/js-tokens": {
       "version": "4.0.0",
       "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
-      "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
+      "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
+      "license": "MIT"
     },
     "node_modules/js-yaml": {
       "version": "4.1.0",
@@ -12200,6 +12204,7 @@
       "version": "0.4.1",
       "resolved": "https://registry.npmjs.org/lop/-/lop-0.4.1.tgz",
       "integrity": "sha512-9xyho9why2A2tzm5aIcMWKvzqKsnxrf9B5I+8O30olh6lQU8PH978LqZoI4++37RBgS1Em5i54v1TFs/3wnmXQ==",
+      "license": "BSD-2-Clause",
       "dependencies": {
         "duck": "^0.1.12",
         "option": "~0.2.1",
@@ -12219,6 +12224,7 @@
       "version": "7.18.3",
       "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz",
       "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==",
+      "license": "ISC",
       "engines": {
         "node": ">=12"
       }
@@ -12506,6 +12512,7 @@
       "version": "13.2.0",
       "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-13.2.0.tgz",
       "integrity": "sha512-QGYKEuUsYT9ykKBCMOEDLsU5JRObWQusAolFMeko/tYPufNkRffBAQjIE+99jbA87xv6FgmjLtwjh9wBWajwAA==",
+      "license": "MIT",
       "dependencies": {
         "@types/hast": "^3.0.0",
         "@types/mdast": "^4.0.0",
@@ -13298,6 +13305,7 @@
       "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz",
       "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==",
       "dev": true,
+      "license": "ISC",
       "engines": {
         "node": ">=16 || 14 >=14.17"
       }
@@ -13545,9 +13553,9 @@
       }
     },
     "node_modules/nanoid": {
-      "version": "5.0.7",
-      "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.0.7.tgz",
-      "integrity": "sha512-oLxFY2gd2IqnjcYyOXD8XGCftpGtZP2AbHbOkthDkvRywH5ayNtPVy9YlOPcHckXzbLTCHpkb7FB+yuxKV13pQ==",
+      "version": "5.0.4",
+      "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.0.4.tgz",
+      "integrity": "sha512-vAjmBf13gsmhXSgBrtIclinISzFFy22WwCYoyilZlsrRXNIHSwgFQ1bEdjRwMT3aoadeIF6HMuDRlOxzfXV8ig==",
       "funding": [
         {
           "type": "github",
@@ -16713,7 +16721,8 @@
     "node_modules/option": {
       "version": "0.2.4",
       "resolved": "https://registry.npmjs.org/option/-/option-0.2.4.tgz",
-      "integrity": "sha512-pkEqbDyl8ou5cpq+VsnQbe/WlEy5qS7xPzMS1U55OCG9KPvwFD46zDbxQIj3egJSFc3D+XhYOPUzz49zQAVy7A=="
+      "integrity": "sha512-pkEqbDyl8ou5cpq+VsnQbe/WlEy5qS7xPzMS1U55OCG9KPvwFD46zDbxQIj3egJSFc3D+XhYOPUzz49zQAVy7A==",
+      "license": "BSD-2-Clause"
     },
     "node_modules/optionator": {
       "version": "0.9.3",
@@ -16865,6 +16874,13 @@
         "node": ">=4"
       }
     },
+    "node_modules/package-json-from-dist": {
+      "version": "1.0.0",
+      "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.0.tgz",
+      "integrity": "sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==",
+      "dev": true,
+      "license": "BlueOak-1.0.0"
+    },
     "node_modules/pako": {
       "version": "1.0.11",
       "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz",
@@ -17167,6 +17183,7 @@
       "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz",
       "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==",
       "dev": true,
+      "license": "BlueOak-1.0.0",
       "dependencies": {
         "lru-cache": "^10.2.0",
         "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0"
@@ -17183,6 +17200,7 @@
       "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.2.tgz",
       "integrity": "sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ==",
       "dev": true,
+      "license": "ISC",
       "engines": {
         "node": "14 || >=16.14"
       }
@@ -17220,7 +17238,8 @@
     "node_modules/pend": {
       "version": "1.2.0",
       "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
-      "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg=="
+      "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==",
+      "license": "MIT"
     },
     "node_modules/picocolors": {
       "version": "1.0.1",
@@ -18352,6 +18371,7 @@
       "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.7.tgz",
       "integrity": "sha512-nV6YcJo5wbLW77m+8KjH8aB/7/rxQy9SZ0HY5shnwULfS+9nmTtVXAJET5NdZmCzA4fPI/Hm1wo/Po/4mopOdg==",
       "dev": true,
+      "license": "ISC",
       "dependencies": {
         "glob": "^10.3.7"
       },
@@ -18370,20 +18390,23 @@
       "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
       "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
       "dev": true,
+      "license": "MIT",
       "dependencies": {
         "balanced-match": "^1.0.0"
       }
     },
     "node_modules/rimraf/node_modules/glob": {
-      "version": "10.4.1",
-      "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.1.tgz",
-      "integrity": "sha512-2jelhlq3E4ho74ZyVLN03oKdAZVUa6UDZzFLVH1H7dnoax+y9qyaq8zBkfDIggjniU19z0wU18y16jMB2eyVIw==",
+      "version": "10.4.2",
+      "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.2.tgz",
+      "integrity": "sha512-GwMlUF6PkPo3Gk21UxkCohOv0PLcIXVtKyLlpEI28R/cO/4eNOdmLk3CMW1wROV/WR/EsZOWAfBbBOqYvs88/w==",
       "dev": true,
+      "license": "ISC",
       "dependencies": {
         "foreground-child": "^3.1.0",
         "jackspeak": "^3.1.2",
         "minimatch": "^9.0.4",
         "minipass": "^7.1.2",
+        "package-json-from-dist": "^1.0.0",
         "path-scurry": "^1.11.1"
       },
       "bin": {
@@ -18397,10 +18420,11 @@
       }
     },
     "node_modules/rimraf/node_modules/minimatch": {
-      "version": "9.0.4",
-      "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz",
-      "integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==",
+      "version": "9.0.5",
+      "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
+      "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
       "dev": true,
+      "license": "ISC",
       "dependencies": {
         "brace-expansion": "^2.0.1"
       },
@@ -18542,9 +18566,9 @@
       "dev": true
     },
     "node_modules/sax": {
-      "version": "1.4.1",
-      "resolved": "https://registry.npmjs.org/sax/-/sax-1.4.1.tgz",
-      "integrity": "sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg=="
+      "version": "1.3.0",
+      "resolved": "https://registry.npmjs.org/sax/-/sax-1.3.0.tgz",
+      "integrity": "sha512-0s+oAmw9zLl1V1cS9BtZN7JAd0cW5e0QH4W3LWEK6a4LaLEA2OTpGYWDY+6XasBLtz6wkm3u1xRw95mRuJ59WA=="
     },
     "node_modules/schema-utils": {
       "version": "4.2.0",
@@ -19512,7 +19536,8 @@
     "node_modules/sprintf-js": {
       "version": "1.0.3",
       "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
-      "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g=="
+      "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==",
+      "license": "BSD-3-Clause"
     },
     "node_modules/srcset": {
       "version": "4.0.0",
@@ -19816,24 +19841,46 @@
       }
     },
     "node_modules/stylelint-config-recommended": {
-      "version": "14.0.0",
-      "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-14.0.0.tgz",
-      "integrity": "sha512-jSkx290CglS8StmrLp2TxAppIajzIBZKYm3IxT89Kg6fGlxbPiTiyH9PS5YUuVAFwaJLl1ikiXX0QWjI0jmgZQ==",
+      "version": "14.0.1",
+      "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-14.0.1.tgz",
+      "integrity": "sha512-bLvc1WOz/14aPImu/cufKAZYfXs/A/owZfSMZ4N+16WGXLoX5lOir53M6odBxvhgmgdxCVnNySJmZKx73T93cg==",
       "dev": true,
+      "funding": [
+        {
+          "type": "opencollective",
+          "url": "https://opencollective.com/stylelint"
+        },
+        {
+          "type": "github",
+          "url": "https://github.com/sponsors/stylelint"
+        }
+      ],
+      "license": "MIT",
       "engines": {
         "node": ">=18.12.0"
       },
       "peerDependencies": {
-        "stylelint": "^16.0.0"
+        "stylelint": "^16.1.0"
       }
     },
     "node_modules/stylelint-config-standard": {
-      "version": "36.0.0",
-      "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-36.0.0.tgz",
-      "integrity": "sha512-3Kjyq4d62bYFp/Aq8PMKDwlgUyPU4nacXsjDLWJdNPRUgpuxALu1KnlAHIj36cdtxViVhXexZij65yM0uNIHug==",
+      "version": "36.0.1",
+      "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-36.0.1.tgz",
+      "integrity": "sha512-8aX8mTzJ6cuO8mmD5yon61CWuIM4UD8Q5aBcWKGSf6kg+EC3uhB+iOywpTK4ca6ZL7B49en8yanOFtUW0qNzyw==",
       "dev": true,
+      "funding": [
+        {
+          "type": "opencollective",
+          "url": "https://opencollective.com/stylelint"
+        },
+        {
+          "type": "github",
+          "url": "https://github.com/sponsors/stylelint"
+        }
+      ],
+      "license": "MIT",
       "dependencies": {
-        "stylelint-config-recommended": "^14.0.0"
+        "stylelint-config-recommended": "^14.0.1"
       },
       "engines": {
         "node": ">=18.12.0"
@@ -21576,17 +21623,67 @@
       "devOptional": true
     },
     "node_modules/test-exclude": {
-      "version": "6.0.0",
-      "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz",
-      "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==",
+      "version": "7.0.1",
+      "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-7.0.1.tgz",
+      "integrity": "sha512-pFYqmTw68LXVjeWJMST4+borgQP2AyMNbg1BpZh9LbyhUeNkeaPF9gzfPGUAnSMV3qPYdWUwDIjjCLiSDOl7vg==",
       "dev": true,
+      "license": "ISC",
       "dependencies": {
         "@istanbuljs/schema": "^0.1.2",
-        "glob": "^7.1.4",
-        "minimatch": "^3.0.4"
+        "glob": "^10.4.1",
+        "minimatch": "^9.0.4"
       },
       "engines": {
-        "node": ">=8"
+        "node": ">=18"
+      }
+    },
+    "node_modules/test-exclude/node_modules/brace-expansion": {
+      "version": "2.0.1",
+      "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
+      "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
+      "dev": true,
+      "license": "MIT",
+      "dependencies": {
+        "balanced-match": "^1.0.0"
+      }
+    },
+    "node_modules/test-exclude/node_modules/glob": {
+      "version": "10.4.1",
+      "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.1.tgz",
+      "integrity": "sha512-2jelhlq3E4ho74ZyVLN03oKdAZVUa6UDZzFLVH1H7dnoax+y9qyaq8zBkfDIggjniU19z0wU18y16jMB2eyVIw==",
+      "dev": true,
+      "license": "ISC",
+      "dependencies": {
+        "foreground-child": "^3.1.0",
+        "jackspeak": "^3.1.2",
+        "minimatch": "^9.0.4",
+        "minipass": "^7.1.2",
+        "path-scurry": "^1.11.1"
+      },
+      "bin": {
+        "glob": "dist/esm/bin.mjs"
+      },
+      "engines": {
+        "node": ">=16 || 14 >=14.18"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/isaacs"
+      }
+    },
+    "node_modules/test-exclude/node_modules/minimatch": {
+      "version": "9.0.4",
+      "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz",
+      "integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==",
+      "dev": true,
+      "license": "ISC",
+      "dependencies": {
+        "brace-expansion": "^2.0.1"
+      },
+      "engines": {
+        "node": ">=16 || 14 >=14.17"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/isaacs"
       }
     },
     "node_modules/text-table": {
@@ -21681,6 +21778,7 @@
       "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
       "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==",
       "dev": true,
+      "license": "MIT",
       "engines": {
         "node": ">=4"
       }
@@ -21911,7 +22009,8 @@
     "node_modules/underscore": {
       "version": "1.13.6",
       "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.6.tgz",
-      "integrity": "sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A=="
+      "integrity": "sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A==",
+      "license": "MIT"
     },
     "node_modules/unicode-emoji-modifier-base": {
       "version": "1.0.0",
@@ -21935,9 +22034,10 @@
       }
     },
     "node_modules/unified": {
-      "version": "11.0.4",
-      "resolved": "https://registry.npmjs.org/unified/-/unified-11.0.4.tgz",
-      "integrity": "sha512-apMPnyLjAX+ty4OrNap7yumyVAMlKx5IWU2wlzzUdYJO9A8f1p9m/gywF/GM2ZDFcjQPrx59Mc90KwmxsoklxQ==",
+      "version": "11.0.5",
+      "resolved": "https://registry.npmjs.org/unified/-/unified-11.0.5.tgz",
+      "integrity": "sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==",
+      "license": "MIT",
       "dependencies": {
         "@types/unist": "^3.0.0",
         "bail": "^2.0.0",
@@ -22358,10 +22458,11 @@
       }
     },
     "node_modules/webpack": {
-      "version": "5.91.0",
-      "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.91.0.tgz",
-      "integrity": "sha512-rzVwlLeBWHJbmgTC/8TvAcu5vpJNII+MelQpylD4jNERPwpBJOE2lEcko1zJX3QJeLjTTAnQxn/OJ8bjDzVQaw==",
+      "version": "5.92.1",
+      "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.92.1.tgz",
+      "integrity": "sha512-JECQ7IwJb+7fgUFBlrJzbyu3GEuNBcdqr1LD7IbSzwkSmIevTm8PF+wej3Oxuz/JFBUZ6O1o43zsPkwm1C4TmA==",
       "dev": true,
+      "license": "MIT",
       "dependencies": {
         "@types/eslint-scope": "^3.7.3",
         "@types/estree": "^1.0.5",
@@ -22369,10 +22470,10 @@
         "@webassemblyjs/wasm-edit": "^1.12.1",
         "@webassemblyjs/wasm-parser": "^1.12.1",
         "acorn": "^8.7.1",
-        "acorn-import-assertions": "^1.9.0",
+        "acorn-import-attributes": "^1.9.5",
         "browserslist": "^4.21.10",
         "chrome-trace-event": "^1.0.2",
-        "enhanced-resolve": "^5.16.0",
+        "enhanced-resolve": "^5.17.0",
         "es-module-lexer": "^1.2.1",
         "eslint-scope": "5.1.1",
         "events": "^3.2.0",
@@ -22610,6 +22711,7 @@
       "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz",
       "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==",
       "dev": true,
+      "license": "MIT",
       "dependencies": {
         "@types/json-schema": "^7.0.8",
         "ajv": "^6.12.5",
@@ -22888,6 +22990,7 @@
       "version": "10.1.1",
       "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-10.1.1.tgz",
       "integrity": "sha512-OyzrcFLL/nb6fMGHbiRDuPup9ljBycsdCypwuyg5AAHvyWzGfChJpCXMG88AGTIMFhGZ9RccFN1e6lhg3hkwKg==",
+      "license": "MIT",
       "engines": {
         "node": ">=4.0"
       }
@@ -22971,6 +23074,7 @@
       "version": "3.1.3",
       "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-3.1.3.tgz",
       "integrity": "sha512-JCCdmlJJWv7L0q/KylOekyRaUrdEoUxWkWVcgorosTROCFWiS9p2NNPE9Yb91ak7b1N5SxAZEliWpspbZccivw==",
+      "license": "MIT",
       "dependencies": {
         "buffer-crc32": "~0.2.3",
         "pend": "~1.2.0"
diff --git a/package.json b/package.json
index 8f8c5533..3786d8aa 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
 {
   "name": "@adobe/helix-importer-ui",
   "description": "helix-importer-ui",
-  "version": "1.51.23",
+  "version": "1.51.27",
   "type": "module",
   "scripts": {
     "test": "c8 mocha",
@@ -15,13 +15,13 @@
     "semantic-release": "semantic-release"
   },
   "dependencies": {
-    "@adobe/helix-importer": "3.4.7",
+    "@adobe/helix-importer": "3.4.9",
     "@adobe/mdast-util-gridtables": "4.0.6",
     "@adobe/remark-gridtables": "3.0.6",
-    "@spectrum-web-components/bundle": "0.42.5",
-    "@spectrum-web-components/icons-workflow": "0.42.5",
+    "@spectrum-web-components/bundle": "0.43.0",
+    "@spectrum-web-components/icons-workflow": "0.43.0",
     "dompurify": "^3.1.5",
-    "hast-util-raw": "9.0.3",
+    "hast-util-raw": "9.0.4",
     "hast-util-to-html": "9.0.1",
     "mdast-util-to-hast": "13.2.0",
     "parcel": "2.12.0",
@@ -29,7 +29,7 @@
     "rehype-format": "5.0.0",
     "remark-gfm": "4.0.0",
     "remark-parse": "11.0.0",
-    "unified": "11.0.4"
+    "unified": "11.0.5"
   },
   "devDependencies": {
     "@adobe/eslint-config-helix": "2.0.6",
@@ -38,7 +38,7 @@
     "@semantic-release/changelog": "6.0.3",
     "@semantic-release/exec": "6.0.3",
     "@semantic-release/git": "10.0.1",
-    "c8": "9.1.0",
+    "c8": "10.1.2",
     "clean-webpack-plugin": "4.0.0",
     "copy-webpack-plugin": "12.0.2",
     "eslint": "8.57.0",
@@ -53,8 +53,8 @@
     "semantic-release": "24.0.0",
     "semantic-release-discord-bot": "^1.1.0",
     "stylelint": "16.6.1",
-    "stylelint-config-standard": "36.0.0",
-    "webpack": "5.91.0",
+    "stylelint-config-standard": "36.0.1",
+    "webpack": "5.92.1",
     "webpack-cli": "5.1.4",
     "webpack-dev-server": "5.0.4",
     "webpack-merge": "5.10.0"