@harbour-enterprises/superdoc 0.12.0-RC1 → 0.12.0-RC3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/dist/chunks/{eventemitter3-CRfwKE7Z.es.js → eventemitter3-C9iBZY5R.es.js} +1 -1
  2. package/dist/chunks/{eventemitter3-D38HWRLP.cjs → eventemitter3-Cj9ZwxFw.cjs} +1 -1
  3. package/dist/chunks/{index-CPZ-IxHT.es.js → index-27P7yLl7.es.js} +2 -2
  4. package/dist/chunks/{index-Y7BlAr93.es.js → index-2fgTY0gr.es.js} +4 -4
  5. package/dist/chunks/{index-CqRwYOdx.cjs → index-C-M7zT_5.cjs} +1 -1
  6. package/dist/chunks/{index-BXKGjuVW.cjs → index-UCzTj2iK.cjs} +1 -1
  7. package/dist/chunks/{jszip-ChlzEvf9.cjs → jszip-D9YbjC4E.cjs} +1 -1
  8. package/dist/chunks/{jszip-DO3il9iI.es.js → jszip-OpmRHhd4.es.js} +1 -1
  9. package/dist/chunks/{super-editor.es-jxkEOua-.es.js → super-editor.es-Co0MUfbd.es.js} +16646 -15939
  10. package/dist/chunks/super-editor.es-DPkbZzNG.cjs +457 -0
  11. package/dist/chunks/{url-6Xu7gR4T.cjs → url-Bd_xvDLH.cjs} +1 -1
  12. package/dist/chunks/{url-t15h9onH.es.js → url-CEWFyxj1.es.js} +2 -2
  13. package/dist/chunks/vue-BQCc2YbW.cjs +13 -0
  14. package/dist/chunks/{vue-DXpzqXur.es.js → vue-DKS68Dra.es.js} +1159 -1140
  15. package/dist/chunks/xml-js-BBSyOdPv.cjs +10 -0
  16. package/dist/chunks/{xml-js-kwrvzyhm.es.js → xml-js-BH5W8vwP.es.js} +744 -762
  17. package/dist/components/CommentsLayer/commentsList/super-comments-list.d.ts +1 -2
  18. package/dist/components/CommentsLayer/commentsList/super-comments-list.d.ts.map +1 -1
  19. package/dist/core/SuperDoc.d.ts +264 -41
  20. package/dist/core/SuperDoc.d.ts.map +1 -1
  21. package/dist/stores/superdoc-store.d.ts +6 -744
  22. package/dist/stores/superdoc-store.d.ts.map +1 -1
  23. package/dist/style.css +29 -29
  24. package/dist/super-editor/ai-writer.es.js +208 -121
  25. package/dist/super-editor/chunks/{converter-B_CnsyBe.js → converter-Vjysuk1c.js} +2188 -2054
  26. package/dist/super-editor/chunks/{docx-zipper-CmQ11kAl.js → docx-zipper-BFgGqpdr.js} +749 -763
  27. package/dist/super-editor/chunks/{editor-D_W26AM3.js → editor-CvkW6Gqh.js} +11589 -11256
  28. package/dist/super-editor/chunks/{toolbar-DgpDtH5C.js → toolbar-C1jMelI-.js} +132 -132
  29. package/dist/super-editor/components/toolbar/ai-helpers.d.ts +12 -0
  30. package/dist/super-editor/components/toolbar/ai-helpers.d.ts.map +1 -1
  31. package/dist/super-editor/components/toolbar/super-toolbar.d.ts +460 -84
  32. package/dist/super-editor/components/toolbar/super-toolbar.d.ts.map +1 -1
  33. package/dist/super-editor/converter.es.js +1 -1
  34. package/dist/super-editor/core/DocxZipper.d.ts.map +1 -1
  35. package/dist/super-editor/core/Editor.d.ts +507 -48
  36. package/dist/super-editor/core/Editor.d.ts.map +1 -1
  37. package/dist/super-editor/core/helpers/annotator.d.ts +10 -3
  38. package/dist/super-editor/core/helpers/annotator.d.ts.map +1 -1
  39. package/dist/super-editor/core/helpers/getActiveFormatting.d.ts.map +1 -1
  40. package/dist/super-editor/core/index.d.ts +3 -3
  41. package/dist/super-editor/core/super-converter/SuperConverter.d.ts +1 -1
  42. package/dist/super-editor/core/super-converter/SuperConverter.d.ts.map +1 -1
  43. package/dist/super-editor/core/super-converter/constants.d.ts +2 -0
  44. package/dist/super-editor/core/super-converter/constants.d.ts.map +1 -0
  45. package/dist/super-editor/core/super-converter/exporter.d.ts.map +1 -1
  46. package/dist/super-editor/core/super-converter/helpers.d.ts +1 -1
  47. package/dist/super-editor/core/super-converter/helpers.d.ts.map +1 -1
  48. package/dist/super-editor/core/super-converter/v2/importer/annotationImporter.d.ts.map +1 -1
  49. package/dist/super-editor/core/super-converter/v2/importer/docxImporter.d.ts.map +1 -1
  50. package/dist/super-editor/core/super-converter/v2/importer/listImporter.d.ts +25 -0
  51. package/dist/super-editor/core/super-converter/v2/importer/listImporter.d.ts.map +1 -1
  52. package/dist/super-editor/core/super-converter/v2/importer/paragraphNodeImporter.d.ts.map +1 -1
  53. package/dist/super-editor/core/super-converter/v2/importer/structuredDocumentNodeImporter.d.ts +9 -0
  54. package/dist/super-editor/core/super-converter/v2/importer/structuredDocumentNodeImporter.d.ts.map +1 -0
  55. package/dist/super-editor/docx-zipper.es.js +2 -2
  56. package/dist/super-editor/editor.es.js +3 -3
  57. package/dist/super-editor/extensions/field-annotation/field-annotation.d.ts.map +1 -1
  58. package/dist/super-editor/extensions/field-annotation/fieldAnnotationHelpers/trackFieldAnnotationsDeletion.d.ts.map +1 -1
  59. package/dist/super-editor/extensions/index.d.ts +2 -1
  60. package/dist/super-editor/extensions/index.d.ts.map +1 -1
  61. package/dist/super-editor/extensions/linked-styles/linked-styles.d.ts.map +1 -1
  62. package/dist/super-editor/extensions/list-item/ListItemNodeView.d.ts +56 -0
  63. package/dist/super-editor/extensions/list-item/ListItemNodeView.d.ts.map +1 -0
  64. package/dist/super-editor/extensions/list-item/list-item.d.ts +0 -11
  65. package/dist/super-editor/extensions/list-item/list-item.d.ts.map +1 -1
  66. package/dist/super-editor/extensions/structured-content/index.d.ts +2 -0
  67. package/dist/super-editor/extensions/structured-content/index.d.ts.map +1 -0
  68. package/dist/super-editor/extensions/structured-content/structured-content.d.ts +2 -0
  69. package/dist/super-editor/extensions/structured-content/structured-content.d.ts.map +1 -0
  70. package/dist/super-editor/extensions/table/table.d.ts.map +1 -1
  71. package/dist/super-editor/file-zipper.es.js +1 -1
  72. package/dist/super-editor/style.css +1 -1
  73. package/dist/super-editor/super-editor.es.js +768 -557
  74. package/dist/super-editor/tests/editor/listItemHelpers.test.d.ts +2 -0
  75. package/dist/super-editor/tests/editor/listItemHelpers.test.d.ts.map +1 -0
  76. package/dist/super-editor/tests/import/sdt-nodes/structuredDocumentNodeTests.test.d.ts +2 -0
  77. package/dist/super-editor/tests/import/sdt-nodes/structuredDocumentNodeTests.test.d.ts.map +1 -0
  78. package/dist/super-editor/toolbar.es.js +2 -2
  79. package/dist/super-editor.cjs +1 -1
  80. package/dist/super-editor.d.ts +3 -0
  81. package/dist/super-editor.es.js +7 -7
  82. package/dist/superdoc.cjs +26 -26
  83. package/dist/superdoc.es.js +1114 -1011
  84. package/dist/superdoc.umd.js +16735 -15894
  85. package/dist/superdoc.umd.js.map +1 -1
  86. package/package.json +3 -2
  87. package/dist/chunks/super-editor.es-D2_UqVSP.cjs +0 -452
  88. package/dist/chunks/vue-Ckf0DkDN.cjs +0 -13
  89. package/dist/chunks/xml-js-zhwNEV5e.cjs +0 -10
@@ -0,0 +1,10 @@
1
+ "use strict";const ne=require("./jszip-D9YbjC4E.cjs"),C=require("./vue-BQCc2YbW.cjs");var Je={exports:{}};typeof Object.create=="function"?Je.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:Je.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}};var Lr=Je.exports,tr={exports:{}},re=typeof Reflect=="object"?Reflect:null,cr=re&&typeof re.apply=="function"?re.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)},me;re&&typeof re.ownKeys=="function"?me=re.ownKeys:Object.getOwnPropertySymbols?me=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:me=function(e){return Object.getOwnPropertyNames(e)};function bt(r){console&&console.warn&&console.warn(r)}var Ur=Number.isNaN||function(e){return e!==e};function S(){S.init.call(this)}tr.exports=S;tr.exports.once=Ot;S.EventEmitter=S;S.prototype._events=void 0;S.prototype._eventsCount=0;S.prototype._maxListeners=void 0;var yr=10;function Be(r){if(typeof r!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof r)}Object.defineProperty(S,"defaultMaxListeners",{enumerable:!0,get:function(){return yr},set:function(r){if(typeof r!="number"||r<0||Ur(r))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+r+".");yr=r}});S.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};S.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||Ur(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this};function Dr(r){return r._maxListeners===void 0?S.defaultMaxListeners:r._maxListeners}S.prototype.getMaxListeners=function(){return Dr(this)};S.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var i=e==="error",c=this._events;if(c!==void 0)i=i&&c.error===void 0;else if(!i)return!1;if(i){var u;if(t.length>0&&(u=t[0]),u instanceof Error)throw u;var p=new Error("Unhandled error."+(u?" ("+u.message+")":""));throw p.context=u,p}var d=c[e];if(d===void 0)return!1;if(typeof d=="function")cr(d,this,t);else for(var E=d.length,j=Wr(d,E),n=0;n<E;++n)cr(j[n],this,t);return!0};function Mr(r,e,t,n){var i,c,u;if(Be(t),c=r._events,c===void 0?(c=r._events=Object.create(null),r._eventsCount=0):(c.newListener!==void 0&&(r.emit("newListener",e,t.listener?t.listener:t),c=r._events),u=c[e]),u===void 0)u=c[e]=t,++r._eventsCount;else if(typeof u=="function"?u=c[e]=n?[t,u]:[u,t]:n?u.unshift(t):u.push(t),i=Dr(r),i>0&&u.length>i&&!u.warned){u.warned=!0;var p=new Error("Possible EventEmitter memory leak detected. "+u.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");p.name="MaxListenersExceededWarning",p.emitter=r,p.type=e,p.count=u.length,bt(p)}return r}S.prototype.addListener=function(e,t){return Mr(this,e,t,!1)};S.prototype.on=S.prototype.addListener;S.prototype.prependListener=function(e,t){return Mr(this,e,t,!0)};function At(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function kr(r,e,t){var n={fired:!1,wrapFn:void 0,target:r,type:e,listener:t},i=At.bind(n);return i.listener=t,n.wrapFn=i,i}S.prototype.once=function(e,t){return Be(t),this.on(e,kr(this,e,t)),this};S.prototype.prependOnceListener=function(e,t){return Be(t),this.prependListener(e,kr(this,e,t)),this};S.prototype.removeListener=function(e,t){var n,i,c,u,p;if(Be(t),i=this._events,i===void 0)return this;if(n=i[e],n===void 0)return this;if(n===t||n.listener===t)--this._eventsCount===0?this._events=Object.create(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,n.listener||t));else if(typeof n!="function"){for(c=-1,u=n.length-1;u>=0;u--)if(n[u]===t||n[u].listener===t){p=n[u].listener,c=u;break}if(c<0)return this;c===0?n.shift():wt(n,c),n.length===1&&(i[e]=n[0]),i.removeListener!==void 0&&this.emit("removeListener",e,p||t)}return this};S.prototype.off=S.prototype.removeListener;S.prototype.removeAllListeners=function(e){var t,n,i;if(n=this._events,n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):n[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[e]),this;if(arguments.length===0){var c=Object.keys(n),u;for(i=0;i<c.length;++i)u=c[i],u!=="removeListener"&&this.removeAllListeners(u);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(t=n[e],typeof t=="function")this.removeListener(e,t);else if(t!==void 0)for(i=t.length-1;i>=0;i--)this.removeListener(e,t[i]);return this};function Gr(r,e,t){var n=r._events;if(n===void 0)return[];var i=n[e];return i===void 0?[]:typeof i=="function"?t?[i.listener||i]:[i]:t?St(i):Wr(i,i.length)}S.prototype.listeners=function(e){return Gr(this,e,!0)};S.prototype.rawListeners=function(e){return Gr(this,e,!1)};S.listenerCount=function(r,e){return typeof r.listenerCount=="function"?r.listenerCount(e):xr.call(r,e)};S.prototype.listenerCount=xr;function xr(r){var e=this._events;if(e!==void 0){var t=e[r];if(typeof t=="function")return 1;if(t!==void 0)return t.length}return 0}S.prototype.eventNames=function(){return this._eventsCount>0?me(this._events):[]};function Wr(r,e){for(var t=new Array(e),n=0;n<e;++n)t[n]=r[n];return t}function wt(r,e){for(;e+1<r.length;e++)r[e]=r[e+1];r.pop()}function St(r){for(var e=new Array(r.length),t=0;t<e.length;++t)e[t]=r[t].listener||r[t];return e}function Ot(r,e){return new Promise(function(t,n){function i(u){r.removeListener(e,c),n(u)}function c(){typeof r.removeListener=="function"&&r.removeListener("error",i),t([].slice.call(arguments))}zr(r,e,c,{once:!0}),e!=="error"&&Pt(r,i,{once:!0})})}function Pt(r,e,t){typeof r.on=="function"&&zr(r,"error",e,t)}function zr(r,e,t,n){if(typeof r.on=="function")n.once?r.once(e,t):r.on(e,t);else if(typeof r.addEventListener=="function")r.addEventListener(e,function i(c){n.once&&r.removeEventListener(e,i),t(c)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof r)}var Et=tr.exports;const Vr=ne.getAugmentedNamespace(ne.dist);var qr={},Hr={},Jr=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;e[t]=i;for(var c in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var u=Object.getOwnPropertySymbols(e);if(u.length!==1||u[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var p=Object.getOwnPropertyDescriptor(e,t);if(p.value!==i||p.enumerable!==!0)return!1}return!0},jt=Jr,Te=function(){return jt()&&!!Symbol.toStringTag},Kr=Object,$t=Error,Bt=EvalError,Tt=RangeError,Ft=ReferenceError,Zr=SyntaxError,ie=TypeError,Nt=URIError,It=Math.abs,Rt=Math.floor,_t=Math.max,Ct=Math.min,Lt=Math.pow,Ut=Math.round,Dt=Number.isNaN||function(e){return e!==e},Mt=Dt,kt=function(e){return Mt(e)||e===0?e:e<0?-1:1},Gt=Object.getOwnPropertyDescriptor,be=Gt;if(be)try{be([],"length")}catch{be=null}var ae=be,Ae=Object.defineProperty||!1;if(Ae)try{Ae({},"a",{value:1})}catch{Ae=!1}var Fe=Ae,Ce,pr;function xt(){if(pr)return Ce;pr=1;var r=typeof Symbol<"u"&&Symbol,e=Jr;return Ce=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},Ce}var Yr=typeof Reflect<"u"&&Reflect.getPrototypeOf||null,Wt=Kr,Qr=Wt.getPrototypeOf||null,zt="Function.prototype.bind called on incompatible ",Vt=Object.prototype.toString,qt=Math.max,Ht="[object Function]",dr=function(e,t){for(var n=[],i=0;i<e.length;i+=1)n[i]=e[i];for(var c=0;c<t.length;c+=1)n[c+e.length]=t[c];return n},Jt=function(e,t){for(var n=[],i=t,c=0;i<e.length;i+=1,c+=1)n[c]=e[i];return n},Kt=function(r,e){for(var t="",n=0;n<r.length;n+=1)t+=r[n],n+1<r.length&&(t+=e);return t},Zt=function(e){var t=this;if(typeof t!="function"||Vt.apply(t)!==Ht)throw new TypeError(zt+t);for(var n=Jt(arguments,1),i,c=function(){if(this instanceof i){var j=t.apply(this,dr(n,arguments));return Object(j)===j?j:this}return t.apply(e,dr(n,arguments))},u=qt(0,t.length-n.length),p=[],d=0;d<u;d++)p[d]="$"+d;if(i=Function("binder","return function ("+Kt(p,",")+"){ return binder.apply(this,arguments); }")(c),t.prototype){var E=function(){};E.prototype=t.prototype,i.prototype=new E,E.prototype=null}return i},Yt=Zt,le=Function.prototype.bind||Yt,nr=Function.prototype.call,Le,hr;function or(){return hr||(hr=1,Le=Function.prototype.apply),Le}var Qt=typeof Reflect<"u"&&Reflect&&Reflect.apply,Xt=le,en=or(),rn=nr,tn=Qt,Xr=tn||Xt.call(rn,en),nn=le,on=ie,an=nr,fn=Xr,ir=function(e){if(e.length<1||typeof e[0]!="function")throw new on("a function is required");return fn(nn,an,e)},sn=ir,gr=ae,et;try{et=[].__proto__===Array.prototype}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var Ue=!!et&&gr&&gr(Object.prototype,"__proto__"),rt=Object,vr=rt.getPrototypeOf,un=Ue&&typeof Ue.get=="function"?sn([Ue.get]):typeof vr=="function"?function(e){return vr(e==null?e:rt(e))}:!1,mr=Yr,br=Qr,Ar=un,ar=mr?function(e){return mr(e)}:br?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return br(e)}:Ar?function(e){return Ar(e)}:null,De,wr;function tt(){if(wr)return De;wr=1;var r=Function.prototype.call,e=Object.prototype.hasOwnProperty,t=le;return De=t.call(r,e),De}var v,ln=Kr,cn=$t,yn=Bt,pn=Tt,dn=Ft,oe=Zr,te=ie,hn=Nt,gn=It,vn=Rt,mn=_t,bn=Ct,An=Lt,wn=Ut,Sn=kt,nt=Function,Me=function(r){try{return nt('"use strict"; return ('+r+").constructor;")()}catch{}},ue=ae,On=Fe,ke=function(){throw new te},Pn=ue?function(){try{return arguments.callee,ke}catch{try{return ue(arguments,"callee").get}catch{return ke}}}():ke,Y=xt()(),$=ar,En=Qr,jn=Yr,ot=or(),ce=nr,X={},$n=typeof Uint8Array>"u"||!$?v:$(Uint8Array),z={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?v:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?v:ArrayBuffer,"%ArrayIteratorPrototype%":Y&&$?$([][Symbol.iterator]()):v,"%AsyncFromSyncIteratorPrototype%":v,"%AsyncFunction%":X,"%AsyncGenerator%":X,"%AsyncGeneratorFunction%":X,"%AsyncIteratorPrototype%":X,"%Atomics%":typeof Atomics>"u"?v:Atomics,"%BigInt%":typeof BigInt>"u"?v:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?v:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?v:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?v:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":cn,"%eval%":eval,"%EvalError%":yn,"%Float16Array%":typeof Float16Array>"u"?v:Float16Array,"%Float32Array%":typeof Float32Array>"u"?v:Float32Array,"%Float64Array%":typeof Float64Array>"u"?v:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?v:FinalizationRegistry,"%Function%":nt,"%GeneratorFunction%":X,"%Int8Array%":typeof Int8Array>"u"?v:Int8Array,"%Int16Array%":typeof Int16Array>"u"?v:Int16Array,"%Int32Array%":typeof Int32Array>"u"?v:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Y&&$?$($([][Symbol.iterator]())):v,"%JSON%":typeof JSON=="object"?JSON:v,"%Map%":typeof Map>"u"?v:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Y||!$?v:$(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":ln,"%Object.getOwnPropertyDescriptor%":ue,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?v:Promise,"%Proxy%":typeof Proxy>"u"?v:Proxy,"%RangeError%":pn,"%ReferenceError%":dn,"%Reflect%":typeof Reflect>"u"?v:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?v:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Y||!$?v:$(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?v:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Y&&$?$(""[Symbol.iterator]()):v,"%Symbol%":Y?Symbol:v,"%SyntaxError%":oe,"%ThrowTypeError%":Pn,"%TypedArray%":$n,"%TypeError%":te,"%Uint8Array%":typeof Uint8Array>"u"?v:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?v:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?v:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?v:Uint32Array,"%URIError%":hn,"%WeakMap%":typeof WeakMap>"u"?v:WeakMap,"%WeakRef%":typeof WeakRef>"u"?v:WeakRef,"%WeakSet%":typeof WeakSet>"u"?v:WeakSet,"%Function.prototype.call%":ce,"%Function.prototype.apply%":ot,"%Object.defineProperty%":On,"%Object.getPrototypeOf%":En,"%Math.abs%":gn,"%Math.floor%":vn,"%Math.max%":mn,"%Math.min%":bn,"%Math.pow%":An,"%Math.round%":wn,"%Math.sign%":Sn,"%Reflect.getPrototypeOf%":jn};if($)try{null.error}catch(r){var Bn=$($(r));z["%Error.prototype%"]=Bn}var Tn=function r(e){var t;if(e==="%AsyncFunction%")t=Me("async function () {}");else if(e==="%GeneratorFunction%")t=Me("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=Me("async function* () {}");else if(e==="%AsyncGenerator%"){var n=r("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=r("%AsyncGenerator%");i&&$&&(t=$(i.prototype))}return z[e]=t,t},Sr={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ye=le,Pe=tt(),Fn=ye.call(ce,Array.prototype.concat),Nn=ye.call(ot,Array.prototype.splice),Or=ye.call(ce,String.prototype.replace),Ee=ye.call(ce,String.prototype.slice),In=ye.call(ce,RegExp.prototype.exec),Rn=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_n=/\\(\\)?/g,Cn=function(e){var t=Ee(e,0,1),n=Ee(e,-1);if(t==="%"&&n!=="%")throw new oe("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new oe("invalid intrinsic syntax, expected opening `%`");var i=[];return Or(e,Rn,function(c,u,p,d){i[i.length]=p?Or(d,_n,"$1"):u||c}),i},Ln=function(e,t){var n=e,i;if(Pe(Sr,n)&&(i=Sr[n],n="%"+i[0]+"%"),Pe(z,n)){var c=z[n];if(c===X&&(c=Tn(n)),typeof c>"u"&&!t)throw new te("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:c}}throw new oe("intrinsic "+e+" does not exist!")},fr=function(e,t){if(typeof e!="string"||e.length===0)throw new te("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new te('"allowMissing" argument must be a boolean');if(In(/^%?[^%]*%?$/,e)===null)throw new oe("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Cn(e),i=n.length>0?n[0]:"",c=Ln("%"+i+"%",t),u=c.name,p=c.value,d=!1,E=c.alias;E&&(i=E[0],Nn(n,Fn([0,1],E)));for(var j=1,I=!0;j<n.length;j+=1){var B=n[j],R=Ee(B,0,1),F=Ee(B,-1);if((R==='"'||R==="'"||R==="`"||F==='"'||F==="'"||F==="`")&&R!==F)throw new oe("property names with quotes must have matching quotes");if((B==="constructor"||!I)&&(d=!0),i+="."+B,u="%"+i+"%",Pe(z,u))p=z[u];else if(p!=null){if(!(B in p)){if(!t)throw new te("base intrinsic for "+e+" exists, but the property is not available.");return}if(ue&&j+1>=n.length){var _=ue(p,B);I=!!_,I&&"get"in _&&!("originalValue"in _.get)?p=_.get:p=p[B]}else I=Pe(p,B),p=p[B];I&&!d&&(z[u]=p)}}return p},it=fr,at=ir,Un=at([it("%String.prototype.indexOf%")]),fe=function(e,t){var n=it(e,!!t);return typeof n=="function"&&Un(e,".prototype.")>-1?at([n]):n},Dn=Te(),Mn=fe,Ke=Mn("Object.prototype.toString"),Ne=function(e){return Dn&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:Ke(e)==="[object Arguments]"},ft=function(e){return Ne(e)?!0:e!==null&&typeof e=="object"&&"length"in e&&typeof e.length=="number"&&e.length>=0&&Ke(e)!=="[object Array]"&&"callee"in e&&Ke(e.callee)==="[object Function]"},kn=function(){return Ne(arguments)}();Ne.isLegacyArguments=ft;var Gn=kn?Ne:ft,Pr=fe,xn=Te(),Wn=tt(),zn=ae,Ze;if(xn){var Vn=Pr("RegExp.prototype.exec"),Er={},Ge=function(){throw Er},jr={toString:Ge,valueOf:Ge};typeof Symbol.toPrimitive=="symbol"&&(jr[Symbol.toPrimitive]=Ge),Ze=function(e){if(!e||typeof e!="object")return!1;var t=zn(e,"lastIndex"),n=t&&Wn(t,"value");if(!n)return!1;try{Vn(e,jr)}catch(i){return i===Er}}}else{var qn=Pr("Object.prototype.toString"),Hn="[object RegExp]";Ze=function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:qn(e)===Hn}}var Jn=Ze,Kn=fe,Zn=Jn,Yn=Kn("RegExp.prototype.exec"),Qn=ie,Xn=function(e){if(!Zn(e))throw new Qn("`regex` must be a RegExp");return function(n){return Yn(e,n)!==null}},st=fe,eo=Xn,ro=eo(/^\s*(?:function)?\*/),ut=Te(),xe=ar,to=st("Object.prototype.toString"),no=st("Function.prototype.toString"),oo=function(){if(!ut)return!1;try{return Function("return function*() {}")()}catch{}},We,io=function(e){if(typeof e!="function")return!1;if(ro(no(e)))return!0;if(!ut){var t=to(e);return t==="[object GeneratorFunction]"}if(!xe)return!1;if(typeof We>"u"){var n=oo();We=n?xe(n):!1}return xe(e)===We},lt=Function.prototype.toString,ee=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,Ye,we;if(typeof ee=="function"&&typeof Object.defineProperty=="function")try{Ye=Object.defineProperty({},"length",{get:function(){throw we}}),we={},ee(function(){throw 42},null,Ye)}catch(r){r!==we&&(ee=null)}else ee=null;var ao=/^\s*class\b/,Qe=function(e){try{var t=lt.call(e);return ao.test(t)}catch{return!1}},ze=function(e){try{return Qe(e)?!1:(lt.call(e),!0)}catch{return!1}},Se=Object.prototype.toString,fo="[object Object]",so="[object Function]",uo="[object GeneratorFunction]",lo="[object HTMLAllCollection]",co="[object HTML document.all class]",yo="[object HTMLCollection]",po=typeof Symbol=="function"&&!!Symbol.toStringTag,ho=!(0 in[,]),Xe=function(){return!1};if(typeof document=="object"){var go=document.all;Se.call(go)===Se.call(document.all)&&(Xe=function(e){if((ho||!e)&&(typeof e>"u"||typeof e=="object"))try{var t=Se.call(e);return(t===lo||t===co||t===yo||t===fo)&&e("")==null}catch{}return!1})}var vo=ee?function(e){if(Xe(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{ee(e,null,Ye)}catch(t){if(t!==we)return!1}return!Qe(e)&&ze(e)}:function(e){if(Xe(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(po)return ze(e);if(Qe(e))return!1;var t=Se.call(e);return t!==so&&t!==uo&&!/^\[object HTML/.test(t)?!1:ze(e)},mo=vo,bo=Object.prototype.toString,ct=Object.prototype.hasOwnProperty,Ao=function(e,t,n){for(var i=0,c=e.length;i<c;i++)ct.call(e,i)&&(n==null?t(e[i],i,e):t.call(n,e[i],i,e))},wo=function(e,t,n){for(var i=0,c=e.length;i<c;i++)n==null?t(e.charAt(i),i,e):t.call(n,e.charAt(i),i,e)},So=function(e,t,n){for(var i in e)ct.call(e,i)&&(n==null?t(e[i],i,e):t.call(n,e[i],i,e))};function Oo(r){return bo.call(r)==="[object Array]"}var Po=function(e,t,n){if(!mo(t))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=n),Oo(e)?Ao(e,t,i):typeof e=="string"?wo(e,t,i):So(e,t,i)},Eo=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],Ve=Eo,jo=typeof globalThis>"u"?ne.commonjsGlobal:globalThis,$o=function(){for(var e=[],t=0;t<Ve.length;t++)typeof jo[Ve[t]]=="function"&&(e[e.length]=Ve[t]);return e},yt={exports:{}},$r=Fe,Bo=Zr,Q=ie,Br=ae,To=function(e,t,n){if(!e||typeof e!="object"&&typeof e!="function")throw new Q("`obj` must be an object or a function`");if(typeof t!="string"&&typeof t!="symbol")throw new Q("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Q("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Q("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Q("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Q("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,p=arguments.length>6?arguments[6]:!1,d=!!Br&&Br(e,t);if($r)$r(e,t,{configurable:u===null&&d?d.configurable:!u,enumerable:i===null&&d?d.enumerable:!i,value:n,writable:c===null&&d?d.writable:!c});else if(p||!i&&!c&&!u)e[t]=n;else throw new Bo("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},er=Fe,pt=function(){return!!er};pt.hasArrayLengthDefineBug=function(){if(!er)return null;try{return er([],"length",{value:1}).length!==1}catch{return!0}};var Fo=pt,No=fr,Tr=To,Io=Fo(),Fr=ae,Nr=ie,Ro=No("%Math.floor%"),_o=function(e,t){if(typeof e!="function")throw new Nr("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||Ro(t)!==t)throw new Nr("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,c=!0;if("length"in e&&Fr){var u=Fr(e,"length");u&&!u.configurable&&(i=!1),u&&!u.writable&&(c=!1)}return(i||c||!n)&&(Io?Tr(e,"length",t,!0,!0):Tr(e,"length",t)),e},Co=le,Lo=or(),Uo=Xr,Do=function(){return Uo(Co,Lo,arguments)};(function(r){var e=_o,t=Fe,n=ir,i=Do;r.exports=function(u){var p=n(arguments),d=u.length-(arguments.length-1);return e(p,1+(d>0?d:0),!0)},t?t(r.exports,"apply",{value:i}):r.exports.apply=i})(yt);var Mo=yt.exports,je=Po,ko=$o,Ir=Mo,sr=fe,Oe=ae,ge=ar,Go=sr("Object.prototype.toString"),dt=Te(),Rr=typeof globalThis>"u"?ne.commonjsGlobal:globalThis,rr=ko(),ur=sr("String.prototype.slice"),xo=sr("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},$e={__proto__:null};dt&&Oe&&ge?je(rr,function(r){var e=new Rr[r];if(Symbol.toStringTag in e&&ge){var t=ge(e),n=Oe(t,Symbol.toStringTag);if(!n&&t){var i=ge(t);n=Oe(i,Symbol.toStringTag)}$e["$"+r]=Ir(n.get)}}):je(rr,function(r){var e=new Rr[r],t=e.slice||e.set;t&&($e["$"+r]=Ir(t))});var Wo=function(e){var t=!1;return je($e,function(n,i){if(!t)try{"$"+n(e)===i&&(t=ur(i,1))}catch{}}),t},zo=function(e){var t=!1;return je($e,function(n,i){if(!t)try{n(e),t=ur(i,1)}catch{}}),t},ht=function(e){if(!e||typeof e!="object")return!1;if(!dt){var t=ur(Go(e),8,-1);return xo(rr,t)>-1?t:t!=="Object"?!1:zo(e)}return Oe?Wo(e):null},Vo=ht,qo=function(e){return!!Vo(e)};(function(r){var e=Gn,t=io,n=ht,i=qo;function c(s){return s.call.bind(s)}var u=typeof BigInt<"u",p=typeof Symbol<"u",d=c(Object.prototype.toString),E=c(Number.prototype.valueOf),j=c(String.prototype.valueOf),I=c(Boolean.prototype.valueOf);if(u)var B=c(BigInt.prototype.valueOf);if(p)var R=c(Symbol.prototype.valueOf);function F(s,mt){if(typeof s!="object")return!1;try{return mt(s),!0}catch{return!1}}r.isArgumentsObject=e,r.isGeneratorFunction=t,r.isTypedArray=i;function _(s){return typeof Promise<"u"&&s instanceof Promise||s!==null&&typeof s=="object"&&typeof s.then=="function"&&typeof s.catch=="function"}r.isPromise=_;function V(s){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(s):i(s)||a(s)}r.isArrayBufferView=V;function f(s){return n(s)==="Uint8Array"}r.isUint8Array=f;function y(s){return n(s)==="Uint8ClampedArray"}r.isUint8ClampedArray=y;function m(s){return n(s)==="Uint16Array"}r.isUint16Array=m;function T(s){return n(s)==="Uint32Array"}r.isUint32Array=T;function P(s){return n(s)==="Int8Array"}r.isInt8Array=P;function Ie(s){return n(s)==="Int16Array"}r.isInt16Array=Ie;function L(s){return n(s)==="Int32Array"}r.isInt32Array=L;function G(s){return n(s)==="Float32Array"}r.isFloat32Array=G;function M(s){return n(s)==="Float64Array"}r.isFloat64Array=M;function q(s){return n(s)==="BigInt64Array"}r.isBigInt64Array=q;function x(s){return n(s)==="BigUint64Array"}r.isBigUint64Array=x;function U(s){return d(s)==="[object Map]"}U.working=typeof Map<"u"&&U(new Map);function Re(s){return typeof Map>"u"?!1:U.working?U(s):s instanceof Map}r.isMap=Re;function k(s){return d(s)==="[object Set]"}k.working=typeof Set<"u"&&k(new Set);function se(s){return typeof Set>"u"?!1:k.working?k(s):s instanceof Set}r.isSet=se;function H(s){return d(s)==="[object WeakMap]"}H.working=typeof WeakMap<"u"&&H(new WeakMap);function _e(s){return typeof WeakMap>"u"?!1:H.working?H(s):s instanceof WeakMap}r.isWeakMap=_e;function J(s){return d(s)==="[object WeakSet]"}J.working=typeof WeakSet<"u"&&J(new WeakSet);function D(s){return J(s)}r.isWeakSet=D;function K(s){return d(s)==="[object ArrayBuffer]"}K.working=typeof ArrayBuffer<"u"&&K(new ArrayBuffer);function pe(s){return typeof ArrayBuffer>"u"?!1:K.working?K(s):s instanceof ArrayBuffer}r.isArrayBuffer=pe;function o(s){return d(s)==="[object DataView]"}o.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&o(new DataView(new ArrayBuffer(1),0,1));function a(s){return typeof DataView>"u"?!1:o.working?o(s):s instanceof DataView}r.isDataView=a;var l=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function h(s){return d(s)==="[object SharedArrayBuffer]"}function A(s){return typeof l>"u"?!1:(typeof h.working>"u"&&(h.working=h(new l)),h.working?h(s):s instanceof l)}r.isSharedArrayBuffer=A;function w(s){return d(s)==="[object AsyncFunction]"}r.isAsyncFunction=w;function g(s){return d(s)==="[object Map Iterator]"}r.isMapIterator=g;function b(s){return d(s)==="[object Set Iterator]"}r.isSetIterator=b;function O(s){return d(s)==="[object Generator]"}r.isGeneratorObject=O;function N(s){return d(s)==="[object WebAssembly.Module]"}r.isWebAssemblyCompiledModule=N;function W(s){return F(s,E)}r.isNumberObject=W;function de(s){return F(s,j)}r.isStringObject=de;function Z(s){return F(s,I)}r.isBooleanObject=Z;function he(s){return u&&F(s,B)}r.isBigIntObject=he;function lr(s){return p&&F(s,R)}r.isSymbolObject=lr;function gt(s){return W(s)||de(s)||Z(s)||he(s)||lr(s)}r.isBoxedPrimitive=gt;function vt(s){return typeof Uint8Array<"u"&&(pe(s)||A(s))}r.isAnyArrayBuffer=vt,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(s){Object.defineProperty(r,s,{enumerable:!1,value:function(){throw new Error(s+" is not supported in userland")}})})})(Hr);var Ho=function(e){return e&&typeof e=="object"&&typeof e.copy=="function"&&typeof e.fill=="function"&&typeof e.readUInt8=="function"};(function(r){var e=Object.getOwnPropertyDescriptors||function(a){for(var l=Object.keys(a),h={},A=0;A<l.length;A++)h[l[A]]=Object.getOwnPropertyDescriptor(a,l[A]);return h},t=/%[sdj%]/g;r.format=function(o){if(!P(o)){for(var a=[],l=0;l<arguments.length;l++)a.push(u(arguments[l]));return a.join(" ")}for(var l=1,h=arguments,A=h.length,w=String(o).replace(t,function(b){if(b==="%%")return"%";if(l>=A)return b;switch(b){case"%s":return String(h[l++]);case"%d":return Number(h[l++]);case"%j":try{return JSON.stringify(h[l++])}catch{return"[Circular]"}default:return b}}),g=h[l];l<A;g=h[++l])y(g)||!M(g)?w+=" "+g:w+=" "+u(g);return w},r.deprecate=function(o,a){if(typeof C.process$1<"u"&&C.process$1.noDeprecation===!0)return o;if(typeof C.process$1>"u")return function(){return r.deprecate(o,a).apply(this,arguments)};var l=!1;function h(){if(!l){if(C.process$1.throwDeprecation)throw new Error(a);C.process$1.traceDeprecation?console.trace(a):console.error(a),l=!0}return o.apply(this,arguments)}return h};var n={},i=/^$/;if(C.process$1.env.NODE_DEBUG){var c=C.process$1.env.NODE_DEBUG;c=c.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),i=new RegExp("^"+c+"$","i")}r.debuglog=function(o){if(o=o.toUpperCase(),!n[o])if(i.test(o)){var a=C.process$1.pid;n[o]=function(){var l=r.format.apply(r,arguments);console.error("%s %d: %s",o,a,l)}}else n[o]=function(){};return n[o]};function u(o,a){var l={seen:[],stylize:d};return arguments.length>=3&&(l.depth=arguments[2]),arguments.length>=4&&(l.colors=arguments[3]),f(a)?l.showHidden=a:a&&r._extend(l,a),L(l.showHidden)&&(l.showHidden=!1),L(l.depth)&&(l.depth=2),L(l.colors)&&(l.colors=!1),L(l.customInspect)&&(l.customInspect=!0),l.colors&&(l.stylize=p),j(l,o,l.depth)}r.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function p(o,a){var l=u.styles[a];return l?"\x1B["+u.colors[l][0]+"m"+o+"\x1B["+u.colors[l][1]+"m":o}function d(o,a){return o}function E(o){var a={};return o.forEach(function(l,h){a[l]=!0}),a}function j(o,a,l){if(o.customInspect&&a&&U(a.inspect)&&a.inspect!==r.inspect&&!(a.constructor&&a.constructor.prototype===a)){var h=a.inspect(l,o);return P(h)||(h=j(o,h,l)),h}var A=I(o,a);if(A)return A;var w=Object.keys(a),g=E(w);if(o.showHidden&&(w=Object.getOwnPropertyNames(a)),x(a)&&(w.indexOf("message")>=0||w.indexOf("description")>=0))return B(a);if(w.length===0){if(U(a)){var b=a.name?": "+a.name:"";return o.stylize("[Function"+b+"]","special")}if(G(a))return o.stylize(RegExp.prototype.toString.call(a),"regexp");if(q(a))return o.stylize(Date.prototype.toString.call(a),"date");if(x(a))return B(a)}var O="",N=!1,W=["{","}"];if(V(a)&&(N=!0,W=["[","]"]),U(a)){var de=a.name?": "+a.name:"";O=" [Function"+de+"]"}if(G(a)&&(O=" "+RegExp.prototype.toString.call(a)),q(a)&&(O=" "+Date.prototype.toUTCString.call(a)),x(a)&&(O=" "+B(a)),w.length===0&&(!N||a.length==0))return W[0]+O+W[1];if(l<0)return G(a)?o.stylize(RegExp.prototype.toString.call(a),"regexp"):o.stylize("[Object]","special");o.seen.push(a);var Z;return N?Z=R(o,a,l,g,w):Z=w.map(function(he){return F(o,a,l,g,he,N)}),o.seen.pop(),_(Z,O,W)}function I(o,a){if(L(a))return o.stylize("undefined","undefined");if(P(a)){var l="'"+JSON.stringify(a).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return o.stylize(l,"string")}if(T(a))return o.stylize(""+a,"number");if(f(a))return o.stylize(""+a,"boolean");if(y(a))return o.stylize("null","null")}function B(o){return"["+Error.prototype.toString.call(o)+"]"}function R(o,a,l,h,A){for(var w=[],g=0,b=a.length;g<b;++g)J(a,String(g))?w.push(F(o,a,l,h,String(g),!0)):w.push("");return A.forEach(function(O){O.match(/^\d+$/)||w.push(F(o,a,l,h,O,!0))}),w}function F(o,a,l,h,A,w){var g,b,O;if(O=Object.getOwnPropertyDescriptor(a,A)||{value:a[A]},O.get?O.set?b=o.stylize("[Getter/Setter]","special"):b=o.stylize("[Getter]","special"):O.set&&(b=o.stylize("[Setter]","special")),J(h,A)||(g="["+A+"]"),b||(o.seen.indexOf(O.value)<0?(y(l)?b=j(o,O.value,null):b=j(o,O.value,l-1),b.indexOf(`
2
+ `)>-1&&(w?b=b.split(`
3
+ `).map(function(N){return" "+N}).join(`
4
+ `).slice(2):b=`
5
+ `+b.split(`
6
+ `).map(function(N){return" "+N}).join(`
7
+ `))):b=o.stylize("[Circular]","special")),L(g)){if(w&&A.match(/^\d+$/))return b;g=JSON.stringify(""+A),g.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(g=g.slice(1,-1),g=o.stylize(g,"name")):(g=g.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),g=o.stylize(g,"string"))}return g+": "+b}function _(o,a,l){var h=o.reduce(function(A,w){return w.indexOf(`
8
+ `)>=0,A+w.replace(/\u001b\[\d\d?m/g,"").length+1},0);return h>60?l[0]+(a===""?"":a+`
9
+ `)+" "+o.join(`,
10
+ `)+" "+l[1]:l[0]+a+" "+o.join(", ")+" "+l[1]}r.types=Hr;function V(o){return Array.isArray(o)}r.isArray=V;function f(o){return typeof o=="boolean"}r.isBoolean=f;function y(o){return o===null}r.isNull=y;function m(o){return o==null}r.isNullOrUndefined=m;function T(o){return typeof o=="number"}r.isNumber=T;function P(o){return typeof o=="string"}r.isString=P;function Ie(o){return typeof o=="symbol"}r.isSymbol=Ie;function L(o){return o===void 0}r.isUndefined=L;function G(o){return M(o)&&k(o)==="[object RegExp]"}r.isRegExp=G,r.types.isRegExp=G;function M(o){return typeof o=="object"&&o!==null}r.isObject=M;function q(o){return M(o)&&k(o)==="[object Date]"}r.isDate=q,r.types.isDate=q;function x(o){return M(o)&&(k(o)==="[object Error]"||o instanceof Error)}r.isError=x,r.types.isNativeError=x;function U(o){return typeof o=="function"}r.isFunction=U;function Re(o){return o===null||typeof o=="boolean"||typeof o=="number"||typeof o=="string"||typeof o=="symbol"||typeof o>"u"}r.isPrimitive=Re,r.isBuffer=Ho;function k(o){return Object.prototype.toString.call(o)}function se(o){return o<10?"0"+o.toString(10):o.toString(10)}var H=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function _e(){var o=new Date,a=[se(o.getHours()),se(o.getMinutes()),se(o.getSeconds())].join(":");return[o.getDate(),H[o.getMonth()],a].join(" ")}r.log=function(){console.log("%s - %s",_e(),r.format.apply(r,arguments))},r.inherits=Lr,r._extend=function(o,a){if(!a||!M(a))return o;for(var l=Object.keys(a),h=l.length;h--;)o[l[h]]=a[l[h]];return o};function J(o,a){return Object.prototype.hasOwnProperty.call(o,a)}var D=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;r.promisify=function(a){if(typeof a!="function")throw new TypeError('The "original" argument must be of type Function');if(D&&a[D]){var l=a[D];if(typeof l!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(l,D,{value:l,enumerable:!1,writable:!1,configurable:!0}),l}function l(){for(var h,A,w=new Promise(function(O,N){h=O,A=N}),g=[],b=0;b<arguments.length;b++)g.push(arguments[b]);g.push(function(O,N){O?A(O):h(N)});try{a.apply(this,g)}catch(O){A(O)}return w}return Object.setPrototypeOf(l,Object.getPrototypeOf(a)),D&&Object.defineProperty(l,D,{value:l,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(l,e(a))},r.promisify.custom=D;function K(o,a){if(!o){var l=new Error("Promise was rejected with a falsy value");l.reason=o,o=l}return a(o)}function pe(o){if(typeof o!="function")throw new TypeError('The "original" argument must be of type Function');function a(){for(var l=[],h=0;h<arguments.length;h++)l.push(arguments[h]);var A=l.pop();if(typeof A!="function")throw new TypeError("The last argument must be of type Function");var w=this,g=function(){return A.apply(w,arguments)};o.apply(this,l).then(function(b){C.process$1.nextTick(g.bind(null,null,b))},function(b){C.process$1.nextTick(K.bind(null,b,g))})}return Object.setPrototypeOf(a,Object.getPrototypeOf(o)),Object.defineProperties(a,e(o)),a}r.callbackify=pe})(qr);var Jo=Ko;function Ko(r,e){if(qe("noDeprecation"))return r;var t=!1;function n(){if(!t){if(qe("throwDeprecation"))throw new Error(e);qe("traceDeprecation")?console.trace(e):console.warn(e),t=!0}return r.apply(this,arguments)}return n}function qe(r){try{if(!ne.commonjsGlobal.localStorage)return!1}catch{return!1}var e=ne.commonjsGlobal.localStorage[r];return e==null?!1:String(e).toLowerCase()==="true"}var He={},ve={exports:{}},_r;function Zo(){return _r||(_r=1,function(r,e){var t=Vr,n=t.Buffer;function i(u,p){for(var d in u)p[d]=u[d]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?r.exports=t:(i(t,e),e.Buffer=c);function c(u,p,d){return n(u,p,d)}i(n,c),c.from=function(u,p,d){if(typeof u=="number")throw new TypeError("Argument must not be a number");return n(u,p,d)},c.alloc=function(u,p,d){if(typeof u!="number")throw new TypeError("Argument must be a number");var E=n(u);return p!==void 0?typeof d=="string"?E.fill(p,d):E.fill(p):E.fill(0),E},c.allocUnsafe=function(u){if(typeof u!="number")throw new TypeError("Argument must be a number");return n(u)},c.allocUnsafeSlow=function(u){if(typeof u!="number")throw new TypeError("Argument must be a number");return t.SlowBuffer(u)}}(ve,ve.exports)),ve.exports}var Cr;function Yo(){if(Cr)return He;Cr=1;var r=Zo().Buffer,e=r.isEncoding||function(f){switch(f=""+f,f&&f.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 t(f){if(!f)return"utf8";for(var y;;)switch(f){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 f;default:if(y)return;f=(""+f).toLowerCase(),y=!0}}function n(f){var y=t(f);if(typeof y!="string"&&(r.isEncoding===e||!e(f)))throw new Error("Unknown encoding: "+f);return y||f}He.StringDecoder=i;function i(f){this.encoding=n(f);var y;switch(this.encoding){case"utf16le":this.text=I,this.end=B,y=4;break;case"utf8":this.fillLast=d,y=4;break;case"base64":this.text=R,this.end=F,y=3;break;default:this.write=_,this.end=V;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(y)}i.prototype.write=function(f){if(f.length===0)return"";var y,m;if(this.lastNeed){if(y=this.fillLast(f),y===void 0)return"";m=this.lastNeed,this.lastNeed=0}else m=0;return m<f.length?y?y+this.text(f,m):this.text(f,m):y||""},i.prototype.end=j,i.prototype.text=E,i.prototype.fillLast=function(f){if(this.lastNeed<=f.length)return f.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);f.copy(this.lastChar,this.lastTotal-this.lastNeed,0,f.length),this.lastNeed-=f.length};function c(f){return f<=127?0:f>>5===6?2:f>>4===14?3:f>>3===30?4:f>>6===2?-1:-2}function u(f,y,m){var T=y.length-1;if(T<m)return 0;var P=c(y[T]);return P>=0?(P>0&&(f.lastNeed=P-1),P):--T<m||P===-2?0:(P=c(y[T]),P>=0?(P>0&&(f.lastNeed=P-2),P):--T<m||P===-2?0:(P=c(y[T]),P>=0?(P>0&&(P===2?P=0:f.lastNeed=P-3),P):0))}function p(f,y,m){if((y[0]&192)!==128)return f.lastNeed=0,"�";if(f.lastNeed>1&&y.length>1){if((y[1]&192)!==128)return f.lastNeed=1,"�";if(f.lastNeed>2&&y.length>2&&(y[2]&192)!==128)return f.lastNeed=2,"�"}}function d(f){var y=this.lastTotal-this.lastNeed,m=p(this,f);if(m!==void 0)return m;if(this.lastNeed<=f.length)return f.copy(this.lastChar,y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);f.copy(this.lastChar,y,0,f.length),this.lastNeed-=f.length}function E(f,y){var m=u(this,f,y);if(!this.lastNeed)return f.toString("utf8",y);this.lastTotal=m;var T=f.length-(m-this.lastNeed);return f.copy(this.lastChar,0,T),f.toString("utf8",y,T)}function j(f){var y=f&&f.length?this.write(f):"";return this.lastNeed?y+"�":y}function I(f,y){if((f.length-y)%2===0){var m=f.toString("utf16le",y);if(m){var T=m.charCodeAt(m.length-1);if(T>=55296&&T<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=f[f.length-2],this.lastChar[1]=f[f.length-1],m.slice(0,-1)}return m}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=f[f.length-1],f.toString("utf16le",y,f.length-1)}function B(f){var y=f&&f.length?this.write(f):"";if(this.lastNeed){var m=this.lastTotal-this.lastNeed;return y+this.lastChar.toString("utf16le",0,m)}return y}function R(f,y){var m=(f.length-y)%3;return m===0?f.toString("base64",y):(this.lastNeed=3-m,this.lastTotal=3,m===1?this.lastChar[0]=f[f.length-1]:(this.lastChar[0]=f[f.length-2],this.lastChar[1]=f[f.length-1]),f.toString("base64",y,f.length-m))}function F(f){var y=f&&f.length?this.write(f):"";return this.lastNeed?y+this.lastChar.toString("base64",0,3-this.lastNeed):y}function _(f){return f.toString(this.encoding)}function V(f){return f&&f.length?this.write(f):""}return He}exports.browser=Jo;exports.callBound=fe;exports.eventsExports=Et;exports.getIntrinsic=fr;exports.inherits_browserExports=Lr;exports.require$$2=Vr;exports.requireString_decoder=Yo;exports.type=ie;exports.util=qr;