@harbour-enterprises/superdoc 0.9.42 → 0.9.43
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.
- package/dist/chunks/{index-B1HJFsYK.cjs → index-DHS2ANjv.cjs} +1 -1
- package/dist/chunks/{index-9h_Kn-Dm.es.js → index-Dd_ce0Er.es.js} +1 -1
- package/dist/chunks/{index-g2tCwKji.es.js → index-XHRxRUhd.es.js} +2 -2
- package/dist/chunks/{index-vGJ1t7OQ.cjs → index-YqE5-6V1.cjs} +1 -1
- package/dist/chunks/{super-editor.es-C0bXjCb2.cjs → super-editor.es-DoKFRVV9.cjs} +36 -36
- package/dist/chunks/{super-editor.es-Jdmyi8pH.es.js → super-editor.es-Kq5BUGHb.es.js} +2180 -2189
- package/dist/chunks/{url-DOH7Dv51.es.js → url-BWFemt_V.es.js} +1 -1
- package/dist/chunks/{url-B-X4NWGe.cjs → url-Cqg7fbSS.cjs} +1 -1
- package/dist/chunks/xml-js-Bzw8Bo_u.es.js +1739 -0
- package/dist/chunks/xml-js-Zwb1wsIy.cjs +10 -0
- package/dist/components/CommentsLayer/comment-schemas.d.ts +17 -0
- package/dist/components/CommentsLayer/comment-schemas.d.ts.map +1 -0
- package/dist/components/CommentsLayer/commentsList/super-comments-list.d.ts +22 -0
- package/dist/components/CommentsLayer/commentsList/super-comments-list.d.ts.map +1 -0
- package/dist/components/CommentsLayer/helpers.d.ts +8 -0
- package/dist/components/CommentsLayer/helpers.d.ts.map +1 -0
- package/dist/components/CommentsLayer/use-comment.d.ts +8 -0
- package/dist/components/CommentsLayer/use-comment.d.ts.map +1 -0
- package/dist/components/CommentsLayer/use-conversation.d.ts +23 -0
- package/dist/components/CommentsLayer/use-conversation.d.ts.map +1 -0
- package/dist/components/CommentsLayer/use-floating-comment.d.ts +12 -0
- package/dist/components/CommentsLayer/use-floating-comment.d.ts.map +1 -0
- package/dist/components/CommentsLayer/use-tracked-change.d.ts +1 -0
- package/dist/components/CommentsLayer/use-tracked-change.d.ts.map +1 -0
- package/dist/components/PdfViewer/helpers/pdfjs-worker.d.ts +3 -0
- package/dist/components/PdfViewer/helpers/pdfjs-worker.d.ts.map +1 -0
- package/dist/components/PdfViewer/helpers/range.d.ts +2 -0
- package/dist/components/PdfViewer/helpers/range.d.ts.map +1 -0
- package/dist/components/PdfViewer/pdfjs.d.ts +3 -0
- package/dist/components/PdfViewer/pdfjs.d.ts.map +1 -0
- package/dist/components/PdfViewer/worker.d.ts +3 -0
- package/dist/components/PdfViewer/worker.d.ts.map +1 -0
- package/dist/composables/use-document.d.ts +27 -0
- package/dist/composables/use-document.d.ts.map +1 -0
- package/dist/composables/use-field.d.ts +34 -0
- package/dist/composables/use-field.d.ts.map +1 -0
- package/dist/core/SuperDoc.d.ts +345 -0
- package/dist/core/SuperDoc.d.ts.map +1 -0
- package/dist/core/collaboration/collaboration-comments.d.ts +5 -0
- package/dist/core/collaboration/collaboration-comments.d.ts.map +1 -0
- package/dist/core/collaboration/collaboration.d.ts +27 -0
- package/dist/core/collaboration/collaboration.d.ts.map +1 -0
- package/dist/core/collaboration/helpers.d.ts +5 -0
- package/dist/core/collaboration/helpers.d.ts.map +1 -0
- package/dist/core/collaboration/permissions.d.ts +14 -0
- package/dist/core/collaboration/permissions.d.ts.map +1 -0
- package/dist/core/create-app.d.ts +2 -0
- package/dist/core/create-app.d.ts.map +1 -0
- package/dist/core/helpers/export.d.ts +3 -0
- package/dist/core/helpers/export.d.ts.map +1 -0
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/helpers/use-selection.d.ts +18 -0
- package/dist/helpers/use-selection.d.ts.map +1 -0
- package/dist/icons.d.ts +11 -0
- package/dist/icons.d.ts.map +1 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/main.d.ts +2 -0
- package/dist/main.d.ts.map +1 -0
- package/dist/stores/comments-store.d.ts +248 -0
- package/dist/stores/comments-store.d.ts.map +1 -0
- package/dist/stores/hrbr-fields-store.d.ts +44 -0
- package/dist/stores/hrbr-fields-store.d.ts.map +1 -0
- package/dist/stores/superdoc-store.d.ts +881 -0
- package/dist/stores/superdoc-store.d.ts.map +1 -0
- package/dist/style.css +3368 -1
- package/dist/super-editor/chunks/{converter-CecWe0O8.js → converter-CqDzVfF_.js} +616 -625
- package/dist/super-editor/chunks/{docx-zipper-BYhBuyXi.js → docx-zipper-SLwsWvIk.js} +1 -1
- package/dist/super-editor/chunks/{editor-CVMeRmT7.js → editor-Dp6YHJKK.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-CqjuKtGw.js → toolbar-DdBcazax.js} +2 -2
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/core/super-converter/exporter.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/v2/importer/listImporter.d.ts.map +1 -1
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/super-editor.es.js +6 -6
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.d.ts +2 -0
- package/dist/super-editor.d.ts.map +1 -0
- package/dist/super-editor.es.js +1 -1
- package/dist/superdoc.cjs +3 -3
- package/dist/superdoc.es.js +6 -6
- package/dist/superdoc.umd.js +68982 -0
- package/dist/superdoc.umd.js.map +1 -0
- package/package.json +1 -1
- package/dist/chunks/xml-js-BZ27jOyf.cjs +0 -10
- package/dist/chunks/xml-js-BgrWeyJ9.es.js +0 -1786
package/package.json
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";const ne=require("./jszip-ChlzEvf9.cjs"),L=require("./vue-Ckf0DkDN.cjs");var rr={exports:{}};typeof Object.create=="function"?rr.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:rr.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 zr=rr.exports,ur={exports:{}},re=typeof Reflect=="object"?Reflect:null,mr=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 jt(r){console&&console.warn&&console.warn(r)}var Vr=Number.isNaN||function(e){return e!==e};function P(){P.init.call(this)}ur.exports=P;ur.exports.once=Ft;P.EventEmitter=P;P.prototype._events=void 0;P.prototype._eventsCount=0;P.prototype._maxListeners=void 0;var br=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(P,"defaultMaxListeners",{enumerable:!0,get:function(){return br},set:function(r){if(typeof r!="number"||r<0||Vr(r))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+r+".");br=r}});P.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};P.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||Vr(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 Hr(r){return r._maxListeners===void 0?P.defaultMaxListeners:r._maxListeners}P.prototype.getMaxListeners=function(){return Hr(this)};P.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var o=e==="error",l=this._events;if(l!==void 0)o=o&&l.error===void 0;else if(!o)return!1;if(o){var u;if(t.length>0&&(u=t[0]),u instanceof Error)throw u;var y=new Error("Unhandled error."+(u?" ("+u.message+")":""));throw y.context=u,y}var p=l[e];if(p===void 0)return!1;if(typeof p=="function")mr(p,this,t);else for(var m=p.length,w=Qr(p,m),n=0;n<m;++n)mr(w[n],this,t);return!0};function Jr(r,e,t,n){var o,l,u;if(Be(t),l=r._events,l===void 0?(l=r._events=Object.create(null),r._eventsCount=0):(l.newListener!==void 0&&(r.emit("newListener",e,t.listener?t.listener:t),l=r._events),u=l[e]),u===void 0)u=l[e]=t,++r._eventsCount;else if(typeof u=="function"?u=l[e]=n?[t,u]:[u,t]:n?u.unshift(t):u.push(t),o=Hr(r),o>0&&u.length>o&&!u.warned){u.warned=!0;var y=new Error("Possible EventEmitter memory leak detected. "+u.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");y.name="MaxListenersExceededWarning",y.emitter=r,y.type=e,y.count=u.length,jt(y)}return r}P.prototype.addListener=function(e,t){return Jr(this,e,t,!1)};P.prototype.on=P.prototype.addListener;P.prototype.prependListener=function(e,t){return Jr(this,e,t,!0)};function $t(){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},o=$t.bind(n);return o.listener=t,n.wrapFn=o,o}P.prototype.once=function(e,t){return Be(t),this.on(e,Kr(this,e,t)),this};P.prototype.prependOnceListener=function(e,t){return Be(t),this.prependListener(e,Kr(this,e,t)),this};P.prototype.removeListener=function(e,t){var n,o,l,u,y;if(Be(t),o=this._events,o===void 0)return this;if(n=o[e],n===void 0)return this;if(n===t||n.listener===t)--this._eventsCount===0?this._events=Object.create(null):(delete o[e],o.removeListener&&this.emit("removeListener",e,n.listener||t));else if(typeof n!="function"){for(l=-1,u=n.length-1;u>=0;u--)if(n[u]===t||n[u].listener===t){y=n[u].listener,l=u;break}if(l<0)return this;l===0?n.shift():Bt(n,l),n.length===1&&(o[e]=n[0]),o.removeListener!==void 0&&this.emit("removeListener",e,y||t)}return this};P.prototype.off=P.prototype.removeListener;P.prototype.removeAllListeners=function(e){var t,n,o;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 l=Object.keys(n),u;for(o=0;o<l.length;++o)u=l[o],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(o=t.length-1;o>=0;o--)this.removeListener(e,t[o]);return this};function Zr(r,e,t){var n=r._events;if(n===void 0)return[];var o=n[e];return o===void 0?[]:typeof o=="function"?t?[o.listener||o]:[o]:t?Tt(o):Qr(o,o.length)}P.prototype.listeners=function(e){return Zr(this,e,!0)};P.prototype.rawListeners=function(e){return Zr(this,e,!1)};P.listenerCount=function(r,e){return typeof r.listenerCount=="function"?r.listenerCount(e):Yr.call(r,e)};P.prototype.listenerCount=Yr;function Yr(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}P.prototype.eventNames=function(){return this._eventsCount>0?me(this._events):[]};function Qr(r,e){for(var t=new Array(e),n=0;n<e;++n)t[n]=r[n];return t}function Bt(r,e){for(;e+1<r.length;e++)r[e]=r[e+1];r.pop()}function Tt(r){for(var e=new Array(r.length),t=0;t<e.length;++t)e[t]=r[t].listener||r[t];return e}function Ft(r,e){return new Promise(function(t,n){function o(u){r.removeListener(e,l),n(u)}function l(){typeof r.removeListener=="function"&&r.removeListener("error",o),t([].slice.call(arguments))}Xr(r,e,l,{once:!0}),e!=="error"&&Rt(r,o,{once:!0})})}function Rt(r,e,t){typeof r.on=="function"&&Xr(r,"error",e,t)}function Xr(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 o(l){n.once&&r.removeEventListener(e,o),t(l)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof r)}var It=ur.exports;const et=ne.getAugmentedNamespace(ne.dist);var rt={},tt={},Ce,Ar;function nt(){return Ar||(Ar=1,Ce=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 o=42;e[t]=o;for(var l 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 y=Object.getOwnPropertyDescriptor(e,t);if(y.value!==o||y.enumerable!==!0)return!1}return!0}),Ce}var Nt=nt(),Te=function(){return Nt()&&!!Symbol.toStringTag},ot=Object,_t=Error,Ct=EvalError,Lt=RangeError,Ut=ReferenceError,it=SyntaxError,ie=TypeError,Dt=URIError,Mt=Math.abs,kt=Math.floor,Gt=Math.max,xt=Math.min,Wt=Math.pow,qt=Math.round,zt=Number.isNaN||function(e){return e!==e},Vt=zt,Ht=function(e){return Vt(e)||e===0?e:e<0?-1:1},Jt=Object.getOwnPropertyDescriptor,be=Jt;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,Le,wr;function Kt(){if(wr)return Le;wr=1;var r=typeof Symbol<"u"&&Symbol,e=nt();return Le=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},Le}var Ue,Sr;function at(){return Sr||(Sr=1,Ue=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Ue}var De,Or;function ft(){if(Or)return De;Or=1;var r=ot;return De=r.getPrototypeOf||null,De}var Me,Pr;function Zt(){if(Pr)return Me;Pr=1;var r="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,t=Math.max,n="[object Function]",o=function(p,m){for(var w=[],$=0;$<p.length;$+=1)w[$]=p[$];for(var E=0;E<m.length;E+=1)w[E+p.length]=m[E];return w},l=function(p,m){for(var w=[],$=m,E=0;$<p.length;$+=1,E+=1)w[E]=p[$];return w},u=function(y,p){for(var m="",w=0;w<y.length;w+=1)m+=y[w],w+1<y.length&&(m+=p);return m};return Me=function(p){var m=this;if(typeof m!="function"||e.apply(m)!==n)throw new TypeError(r+m);for(var w=l(arguments,1),$,E=function(){if(this instanceof $){var a=m.apply(this,o(w,arguments));return Object(a)===a?a:this}return m.apply(p,o(w,arguments))},_=t(0,m.length-w.length),T=[],I=0;I<_;I++)T[I]="$"+I;if($=Function("binder","return function ("+u(T,",")+"){ return binder.apply(this,arguments); }")(E),m.prototype){var C=function(){};C.prototype=m.prototype,$.prototype=new C,C.prototype=null}return $},Me}var ke,Er;function ce(){if(Er)return ke;Er=1;var r=Zt();return ke=Function.prototype.bind||r,ke}var Ge,jr;function cr(){return jr||(jr=1,Ge=Function.prototype.call),Ge}var xe,$r;function lr(){return $r||($r=1,xe=Function.prototype.apply),xe}var Yt=typeof Reflect<"u"&&Reflect&&Reflect.apply,Qt=ce(),Xt=lr(),en=cr(),rn=Yt,st=rn||Qt.call(en,Xt),tn=ce(),nn=ie,on=cr(),an=st,yr=function(e){if(e.length<1||typeof e[0]!="function")throw new nn("a function is required");return an(tn,on,e)},We,Br;function fn(){if(Br)return We;Br=1;var r=yr,e=ae,t;try{t=[].__proto__===Array.prototype}catch(u){if(!u||typeof u!="object"||!("code"in u)||u.code!=="ERR_PROTO_ACCESS")throw u}var n=!!t&&e&&e(Object.prototype,"__proto__"),o=Object,l=o.getPrototypeOf;return We=n&&typeof n.get=="function"?r([n.get]):typeof l=="function"?function(y){return l(y==null?y:o(y))}:!1,We}var qe,Tr;function pr(){if(Tr)return qe;Tr=1;var r=at(),e=ft(),t=fn();return qe=r?function(o){return r(o)}:e?function(o){if(!o||typeof o!="object"&&typeof o!="function")throw new TypeError("getProto: not an object");return e(o)}:t?function(o){return t(o)}:null,qe}var ze,Fr;function ut(){if(Fr)return ze;Fr=1;var r=Function.prototype.call,e=Object.prototype.hasOwnProperty,t=ce();return ze=t.call(r,e),ze}var v,sn=ot,un=_t,cn=Ct,ln=Lt,yn=Ut,oe=it,te=ie,pn=Dt,dn=Mt,hn=kt,gn=Gt,vn=xt,mn=Wt,bn=qt,An=Ht,ct=Function,Ve=function(r){try{return ct('"use strict"; return ('+r+").constructor;")()}catch{}},ue=ae,wn=Fe,He=function(){throw new te},Sn=ue?function(){try{return arguments.callee,He}catch{try{return ue(arguments,"callee").get}catch{return He}}}():He,Y=Kt()(),F=pr(),On=ft(),Pn=at(),lt=lr(),le=cr(),X={},En=typeof Uint8Array>"u"||!F?v:F(Uint8Array),z={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?v:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?v:ArrayBuffer,"%ArrayIteratorPrototype%":Y&&F?F([][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%":un,"%eval%":eval,"%EvalError%":cn,"%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%":ct,"%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&&F?F(F([][Symbol.iterator]())):v,"%JSON%":typeof JSON=="object"?JSON:v,"%Map%":typeof Map>"u"?v:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Y||!F?v:F(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":sn,"%Object.getOwnPropertyDescriptor%":ue,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?v:Promise,"%Proxy%":typeof Proxy>"u"?v:Proxy,"%RangeError%":ln,"%ReferenceError%":yn,"%Reflect%":typeof Reflect>"u"?v:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?v:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Y||!F?v:F(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?v:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Y&&F?F(""[Symbol.iterator]()):v,"%Symbol%":Y?Symbol:v,"%SyntaxError%":oe,"%ThrowTypeError%":Sn,"%TypedArray%":En,"%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%":pn,"%WeakMap%":typeof WeakMap>"u"?v:WeakMap,"%WeakRef%":typeof WeakRef>"u"?v:WeakRef,"%WeakSet%":typeof WeakSet>"u"?v:WeakSet,"%Function.prototype.call%":le,"%Function.prototype.apply%":lt,"%Object.defineProperty%":wn,"%Object.getPrototypeOf%":On,"%Math.abs%":dn,"%Math.floor%":hn,"%Math.max%":gn,"%Math.min%":vn,"%Math.pow%":mn,"%Math.round%":bn,"%Math.sign%":An,"%Reflect.getPrototypeOf%":Pn};if(F)try{null.error}catch(r){var jn=F(F(r));z["%Error.prototype%"]=jn}var $n=function r(e){var t;if(e==="%AsyncFunction%")t=Ve("async function () {}");else if(e==="%GeneratorFunction%")t=Ve("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=Ve("async function* () {}");else if(e==="%AsyncGenerator%"){var n=r("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var o=r("%AsyncGenerator%");o&&F&&(t=F(o.prototype))}return z[e]=t,t},Rr={__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=ce(),Pe=ut(),Bn=ye.call(le,Array.prototype.concat),Tn=ye.call(lt,Array.prototype.splice),Ir=ye.call(le,String.prototype.replace),Ee=ye.call(le,String.prototype.slice),Fn=ye.call(le,RegExp.prototype.exec),Rn=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,In=/\\(\\)?/g,Nn=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 o=[];return Ir(e,Rn,function(l,u,y,p){o[o.length]=y?Ir(p,In,"$1"):u||l}),o},_n=function(e,t){var n=e,o;if(Pe(Rr,n)&&(o=Rr[n],n="%"+o[0]+"%"),Pe(z,n)){var l=z[n];if(l===X&&(l=$n(n)),typeof l>"u"&&!t)throw new te("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:l}}throw new oe("intrinsic "+e+" does not exist!")},dr=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(Fn(/^%?[^%]*%?$/,e)===null)throw new oe("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Nn(e),o=n.length>0?n[0]:"",l=_n("%"+o+"%",t),u=l.name,y=l.value,p=!1,m=l.alias;m&&(o=m[0],Tn(n,Bn([0,1],m)));for(var w=1,$=!0;w<n.length;w+=1){var E=n[w],_=Ee(E,0,1),T=Ee(E,-1);if((_==='"'||_==="'"||_==="`"||T==='"'||T==="'"||T==="`")&&_!==T)throw new oe("property names with quotes must have matching quotes");if((E==="constructor"||!$)&&(p=!0),o+="."+E,u="%"+o+"%",Pe(z,u))y=z[u];else if(y!=null){if(!(E in y)){if(!t)throw new te("base intrinsic for "+e+" exists, but the property is not available.");return}if(ue&&w+1>=n.length){var I=ue(y,E);$=!!I,$&&"get"in I&&!("originalValue"in I.get)?y=I.get:y=y[E]}else $=Pe(y,E),y=y[E];$&&!p&&(z[u]=y)}}return y},yt=dr,pt=yr,Cn=pt([yt("%String.prototype.indexOf%")]),fe=function(e,t){var n=yt(e,!!t);return typeof n=="function"&&Cn(e,".prototype.")>-1?pt([n]):n},Ln=Te(),Un=fe,tr=Un("Object.prototype.toString"),Re=function(e){return Ln&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:tr(e)==="[object Arguments]"},dt=function(e){return Re(e)?!0:e!==null&&typeof e=="object"&&"length"in e&&typeof e.length=="number"&&e.length>=0&&tr(e)!=="[object Array]"&&"callee"in e&&tr(e.callee)==="[object Function]"},Dn=function(){return Re(arguments)}();Re.isLegacyArguments=dt;var Mn=Dn?Re:dt,Nr=fe,kn=Te(),Gn=ut(),xn=ae,nr;if(kn){var Wn=Nr("RegExp.prototype.exec"),_r={},Je=function(){throw _r},Cr={toString:Je,valueOf:Je};typeof Symbol.toPrimitive=="symbol"&&(Cr[Symbol.toPrimitive]=Je),nr=function(e){if(!e||typeof e!="object")return!1;var t=xn(e,"lastIndex"),n=t&&Gn(t,"value");if(!n)return!1;try{Wn(e,Cr)}catch(o){return o===_r}}}else{var qn=Nr("Object.prototype.toString"),zn="[object RegExp]";nr=function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:qn(e)===zn}}var Vn=nr,Hn=fe,Jn=Vn,Kn=Hn("RegExp.prototype.exec"),Zn=ie,Yn=function(e){if(!Jn(e))throw new Zn("`regex` must be a RegExp");return function(n){return Kn(e,n)!==null}},ht=fe,Qn=Yn,Xn=Qn(/^\s*(?:function)?\*/),gt=Te(),Ke=pr(),eo=ht("Object.prototype.toString"),ro=ht("Function.prototype.toString"),to=function(){if(!gt)return!1;try{return Function("return function*() {}")()}catch{}},Ze,no=function(e){if(typeof e!="function")return!1;if(Xn(ro(e)))return!0;if(!gt){var t=eo(e);return t==="[object GeneratorFunction]"}if(!Ke)return!1;if(typeof Ze>"u"){var n=to();Ze=n?Ke(n):!1}return Ke(e)===Ze},vt=Function.prototype.toString,ee=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,or,we;if(typeof ee=="function"&&typeof Object.defineProperty=="function")try{or=Object.defineProperty({},"length",{get:function(){throw we}}),we={},ee(function(){throw 42},null,or)}catch(r){r!==we&&(ee=null)}else ee=null;var oo=/^\s*class\b/,ir=function(e){try{var t=vt.call(e);return oo.test(t)}catch{return!1}},Ye=function(e){try{return ir(e)?!1:(vt.call(e),!0)}catch{return!1}},Se=Object.prototype.toString,io="[object Object]",ao="[object Function]",fo="[object GeneratorFunction]",so="[object HTMLAllCollection]",uo="[object HTML document.all class]",co="[object HTMLCollection]",lo=typeof Symbol=="function"&&!!Symbol.toStringTag,yo=!(0 in[,]),ar=function(){return!1};if(typeof document=="object"){var po=document.all;Se.call(po)===Se.call(document.all)&&(ar=function(e){if((yo||!e)&&(typeof e>"u"||typeof e=="object"))try{var t=Se.call(e);return(t===so||t===uo||t===co||t===io)&&e("")==null}catch{}return!1})}var ho=ee?function(e){if(ar(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{ee(e,null,or)}catch(t){if(t!==we)return!1}return!ir(e)&&Ye(e)}:function(e){if(ar(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(lo)return Ye(e);if(ir(e))return!1;var t=Se.call(e);return t!==ao&&t!==fo&&!/^\[object HTML/.test(t)?!1:Ye(e)},go=ho,vo=Object.prototype.toString,mt=Object.prototype.hasOwnProperty,mo=function(e,t,n){for(var o=0,l=e.length;o<l;o++)mt.call(e,o)&&(n==null?t(e[o],o,e):t.call(n,e[o],o,e))},bo=function(e,t,n){for(var o=0,l=e.length;o<l;o++)n==null?t(e.charAt(o),o,e):t.call(n,e.charAt(o),o,e)},Ao=function(e,t,n){for(var o in e)mt.call(e,o)&&(n==null?t(e[o],o,e):t.call(n,e[o],o,e))};function wo(r){return vo.call(r)==="[object Array]"}var So=function(e,t,n){if(!go(t))throw new TypeError("iterator must be a function");var o;arguments.length>=3&&(o=n),wo(e)?mo(e,t,o):typeof e=="string"?bo(e,t,o):Ao(e,t,o)},Oo=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],Qe=Oo,Po=typeof globalThis>"u"?ne.commonjsGlobal:globalThis,Eo=function(){for(var e=[],t=0;t<Qe.length;t++)typeof Po[Qe[t]]=="function"&&(e[e.length]=Qe[t]);return e},bt={exports:{}},Lr=Fe,jo=it,Q=ie,Ur=ae,$o=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 o=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,y=arguments.length>6?arguments[6]:!1,p=!!Ur&&Ur(e,t);if(Lr)Lr(e,t,{configurable:u===null&&p?p.configurable:!u,enumerable:o===null&&p?p.enumerable:!o,value:n,writable:l===null&&p?p.writable:!l});else if(y||!o&&!l&&!u)e[t]=n;else throw new jo("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},fr=Fe,At=function(){return!!fr};At.hasArrayLengthDefineBug=function(){if(!fr)return null;try{return fr([],"length",{value:1}).length!==1}catch{return!0}};var Bo=At,To=dr,Dr=$o,Fo=Bo(),Mr=ae,kr=ie,Ro=To("%Math.floor%"),Io=function(e,t){if(typeof e!="function")throw new kr("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||Ro(t)!==t)throw new kr("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],o=!0,l=!0;if("length"in e&&Mr){var u=Mr(e,"length");u&&!u.configurable&&(o=!1),u&&!u.writable&&(l=!1)}return(o||l||!n)&&(Fo?Dr(e,"length",t,!0,!0):Dr(e,"length",t)),e},No=ce(),_o=lr(),Co=st,Lo=function(){return Co(No,_o,arguments)};(function(r){var e=Io,t=Fe,n=yr,o=Lo;r.exports=function(u){var y=n(arguments),p=u.length-(arguments.length-1);return e(y,1+(p>0?p:0),!0)},t?t(r.exports,"apply",{value:o}):r.exports.apply=o})(bt);var Uo=bt.exports,je=So,Do=Eo,Gr=Uo,hr=fe,Oe=ae,ge=pr(),Mo=hr("Object.prototype.toString"),wt=Te(),xr=typeof globalThis>"u"?ne.commonjsGlobal:globalThis,sr=Do(),gr=hr("String.prototype.slice"),ko=hr("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};wt&&Oe&&ge?je(sr,function(r){var e=new xr[r];if(Symbol.toStringTag in e&&ge){var t=ge(e),n=Oe(t,Symbol.toStringTag);if(!n&&t){var o=ge(t);n=Oe(o,Symbol.toStringTag)}$e["$"+r]=Gr(n.get)}}):je(sr,function(r){var e=new xr[r],t=e.slice||e.set;t&&($e["$"+r]=Gr(t))});var Go=function(e){var t=!1;return je($e,function(n,o){if(!t)try{"$"+n(e)===o&&(t=gr(o,1))}catch{}}),t},xo=function(e){var t=!1;return je($e,function(n,o){if(!t)try{n(e),t=gr(o,1)}catch{}}),t},St=function(e){if(!e||typeof e!="object")return!1;if(!wt){var t=gr(Mo(e),8,-1);return ko(sr,t)>-1?t:t!=="Object"?!1:xo(e)}return Oe?Go(e):null},Wo=St,qo=function(e){return!!Wo(e)};(function(r){var e=Mn,t=no,n=St,o=qo;function l(s){return s.call.bind(s)}var u=typeof BigInt<"u",y=typeof Symbol<"u",p=l(Object.prototype.toString),m=l(Number.prototype.valueOf),w=l(String.prototype.valueOf),$=l(Boolean.prototype.valueOf);if(u)var E=l(BigInt.prototype.valueOf);if(y)var _=l(Symbol.prototype.valueOf);function T(s,Et){if(typeof s!="object")return!1;try{return Et(s),!0}catch{return!1}}r.isArgumentsObject=e,r.isGeneratorFunction=t,r.isTypedArray=o;function I(s){return typeof Promise<"u"&&s instanceof Promise||s!==null&&typeof s=="object"&&typeof s.then=="function"&&typeof s.catch=="function"}r.isPromise=I;function C(s){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(s):o(s)||f(s)}r.isArrayBufferView=C;function a(s){return n(s)==="Uint8Array"}r.isUint8Array=a;function d(s){return n(s)==="Uint8ClampedArray"}r.isUint8ClampedArray=d;function b(s){return n(s)==="Uint16Array"}r.isUint16Array=b;function R(s){return n(s)==="Uint32Array"}r.isUint32Array=R;function B(s){return n(s)==="Int8Array"}r.isInt8Array=B;function Ie(s){return n(s)==="Int16Array"}r.isInt16Array=Ie;function U(s){return n(s)==="Int32Array"}r.isInt32Array=U;function x(s){return n(s)==="Float32Array"}r.isFloat32Array=x;function k(s){return n(s)==="Float64Array"}r.isFloat64Array=k;function V(s){return n(s)==="BigInt64Array"}r.isBigInt64Array=V;function W(s){return n(s)==="BigUint64Array"}r.isBigUint64Array=W;function D(s){return p(s)==="[object Map]"}D.working=typeof Map<"u"&&D(new Map);function Ne(s){return typeof Map>"u"?!1:D.working?D(s):s instanceof Map}r.isMap=Ne;function G(s){return p(s)==="[object Set]"}G.working=typeof Set<"u"&&G(new Set);function se(s){return typeof Set>"u"?!1:G.working?G(s):s instanceof Set}r.isSet=se;function H(s){return p(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 p(s)==="[object WeakSet]"}J.working=typeof WeakSet<"u"&&J(new WeakSet);function M(s){return J(s)}r.isWeakSet=M;function K(s){return p(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 i(s){return p(s)==="[object DataView]"}i.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&i(new DataView(new ArrayBuffer(1),0,1));function f(s){return typeof DataView>"u"?!1:i.working?i(s):s instanceof DataView}r.isDataView=f;var c=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function h(s){return p(s)==="[object SharedArrayBuffer]"}function S(s){return typeof c>"u"?!1:(typeof h.working>"u"&&(h.working=h(new c)),h.working?h(s):s instanceof c)}r.isSharedArrayBuffer=S;function O(s){return p(s)==="[object AsyncFunction]"}r.isAsyncFunction=O;function g(s){return p(s)==="[object Map Iterator]"}r.isMapIterator=g;function A(s){return p(s)==="[object Set Iterator]"}r.isSetIterator=A;function j(s){return p(s)==="[object Generator]"}r.isGeneratorObject=j;function N(s){return p(s)==="[object WebAssembly.Module]"}r.isWebAssemblyCompiledModule=N;function q(s){return T(s,m)}r.isNumberObject=q;function de(s){return T(s,w)}r.isStringObject=de;function Z(s){return T(s,$)}r.isBooleanObject=Z;function he(s){return u&&T(s,E)}r.isBigIntObject=he;function vr(s){return y&&T(s,_)}r.isSymbolObject=vr;function Ot(s){return q(s)||de(s)||Z(s)||he(s)||vr(s)}r.isBoxedPrimitive=Ot;function Pt(s){return typeof Uint8Array<"u"&&(pe(s)||S(s))}r.isAnyArrayBuffer=Pt,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(s){Object.defineProperty(r,s,{enumerable:!1,value:function(){throw new Error(s+" is not supported in userland")}})})})(tt);var zo=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(f){for(var c=Object.keys(f),h={},S=0;S<c.length;S++)h[c[S]]=Object.getOwnPropertyDescriptor(f,c[S]);return h},t=/%[sdj%]/g;r.format=function(i){if(!B(i)){for(var f=[],c=0;c<arguments.length;c++)f.push(u(arguments[c]));return f.join(" ")}for(var c=1,h=arguments,S=h.length,O=String(i).replace(t,function(A){if(A==="%%")return"%";if(c>=S)return A;switch(A){case"%s":return String(h[c++]);case"%d":return Number(h[c++]);case"%j":try{return JSON.stringify(h[c++])}catch{return"[Circular]"}default:return A}}),g=h[c];c<S;g=h[++c])d(g)||!k(g)?O+=" "+g:O+=" "+u(g);return O},r.deprecate=function(i,f){if(typeof L.process$1<"u"&&L.process$1.noDeprecation===!0)return i;if(typeof L.process$1>"u")return function(){return r.deprecate(i,f).apply(this,arguments)};var c=!1;function h(){if(!c){if(L.process$1.throwDeprecation)throw new Error(f);L.process$1.traceDeprecation?console.trace(f):console.error(f),c=!0}return i.apply(this,arguments)}return h};var n={},o=/^$/;if(L.process$1.env.NODE_DEBUG){var l=L.process$1.env.NODE_DEBUG;l=l.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),o=new RegExp("^"+l+"$","i")}r.debuglog=function(i){if(i=i.toUpperCase(),!n[i])if(o.test(i)){var f=L.process$1.pid;n[i]=function(){var c=r.format.apply(r,arguments);console.error("%s %d: %s",i,f,c)}}else n[i]=function(){};return n[i]};function u(i,f){var c={seen:[],stylize:p};return arguments.length>=3&&(c.depth=arguments[2]),arguments.length>=4&&(c.colors=arguments[3]),a(f)?c.showHidden=f:f&&r._extend(c,f),U(c.showHidden)&&(c.showHidden=!1),U(c.depth)&&(c.depth=2),U(c.colors)&&(c.colors=!1),U(c.customInspect)&&(c.customInspect=!0),c.colors&&(c.stylize=y),w(c,i,c.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 y(i,f){var c=u.styles[f];return c?"\x1B["+u.colors[c][0]+"m"+i+"\x1B["+u.colors[c][1]+"m":i}function p(i,f){return i}function m(i){var f={};return i.forEach(function(c,h){f[c]=!0}),f}function w(i,f,c){if(i.customInspect&&f&&D(f.inspect)&&f.inspect!==r.inspect&&!(f.constructor&&f.constructor.prototype===f)){var h=f.inspect(c,i);return B(h)||(h=w(i,h,c)),h}var S=$(i,f);if(S)return S;var O=Object.keys(f),g=m(O);if(i.showHidden&&(O=Object.getOwnPropertyNames(f)),W(f)&&(O.indexOf("message")>=0||O.indexOf("description")>=0))return E(f);if(O.length===0){if(D(f)){var A=f.name?": "+f.name:"";return i.stylize("[Function"+A+"]","special")}if(x(f))return i.stylize(RegExp.prototype.toString.call(f),"regexp");if(V(f))return i.stylize(Date.prototype.toString.call(f),"date");if(W(f))return E(f)}var j="",N=!1,q=["{","}"];if(C(f)&&(N=!0,q=["[","]"]),D(f)){var de=f.name?": "+f.name:"";j=" [Function"+de+"]"}if(x(f)&&(j=" "+RegExp.prototype.toString.call(f)),V(f)&&(j=" "+Date.prototype.toUTCString.call(f)),W(f)&&(j=" "+E(f)),O.length===0&&(!N||f.length==0))return q[0]+j+q[1];if(c<0)return x(f)?i.stylize(RegExp.prototype.toString.call(f),"regexp"):i.stylize("[Object]","special");i.seen.push(f);var Z;return N?Z=_(i,f,c,g,O):Z=O.map(function(he){return T(i,f,c,g,he,N)}),i.seen.pop(),I(Z,j,q)}function $(i,f){if(U(f))return i.stylize("undefined","undefined");if(B(f)){var c="'"+JSON.stringify(f).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return i.stylize(c,"string")}if(R(f))return i.stylize(""+f,"number");if(a(f))return i.stylize(""+f,"boolean");if(d(f))return i.stylize("null","null")}function E(i){return"["+Error.prototype.toString.call(i)+"]"}function _(i,f,c,h,S){for(var O=[],g=0,A=f.length;g<A;++g)J(f,String(g))?O.push(T(i,f,c,h,String(g),!0)):O.push("");return S.forEach(function(j){j.match(/^\d+$/)||O.push(T(i,f,c,h,j,!0))}),O}function T(i,f,c,h,S,O){var g,A,j;if(j=Object.getOwnPropertyDescriptor(f,S)||{value:f[S]},j.get?j.set?A=i.stylize("[Getter/Setter]","special"):A=i.stylize("[Getter]","special"):j.set&&(A=i.stylize("[Setter]","special")),J(h,S)||(g="["+S+"]"),A||(i.seen.indexOf(j.value)<0?(d(c)?A=w(i,j.value,null):A=w(i,j.value,c-1),A.indexOf(`
|
|
2
|
-
`)>-1&&(O?A=A.split(`
|
|
3
|
-
`).map(function(N){return" "+N}).join(`
|
|
4
|
-
`).slice(2):A=`
|
|
5
|
-
`+A.split(`
|
|
6
|
-
`).map(function(N){return" "+N}).join(`
|
|
7
|
-
`))):A=i.stylize("[Circular]","special")),U(g)){if(O&&S.match(/^\d+$/))return A;g=JSON.stringify(""+S),g.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(g=g.slice(1,-1),g=i.stylize(g,"name")):(g=g.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),g=i.stylize(g,"string"))}return g+": "+A}function I(i,f,c){var h=i.reduce(function(S,O){return O.indexOf(`
|
|
8
|
-
`)>=0,S+O.replace(/\u001b\[\d\d?m/g,"").length+1},0);return h>60?c[0]+(f===""?"":f+`
|
|
9
|
-
`)+" "+i.join(`,
|
|
10
|
-
`)+" "+c[1]:c[0]+f+" "+i.join(", ")+" "+c[1]}r.types=tt;function C(i){return Array.isArray(i)}r.isArray=C;function a(i){return typeof i=="boolean"}r.isBoolean=a;function d(i){return i===null}r.isNull=d;function b(i){return i==null}r.isNullOrUndefined=b;function R(i){return typeof i=="number"}r.isNumber=R;function B(i){return typeof i=="string"}r.isString=B;function Ie(i){return typeof i=="symbol"}r.isSymbol=Ie;function U(i){return i===void 0}r.isUndefined=U;function x(i){return k(i)&&G(i)==="[object RegExp]"}r.isRegExp=x,r.types.isRegExp=x;function k(i){return typeof i=="object"&&i!==null}r.isObject=k;function V(i){return k(i)&&G(i)==="[object Date]"}r.isDate=V,r.types.isDate=V;function W(i){return k(i)&&(G(i)==="[object Error]"||i instanceof Error)}r.isError=W,r.types.isNativeError=W;function D(i){return typeof i=="function"}r.isFunction=D;function Ne(i){return i===null||typeof i=="boolean"||typeof i=="number"||typeof i=="string"||typeof i=="symbol"||typeof i>"u"}r.isPrimitive=Ne,r.isBuffer=zo;function G(i){return Object.prototype.toString.call(i)}function se(i){return i<10?"0"+i.toString(10):i.toString(10)}var H=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function _e(){var i=new Date,f=[se(i.getHours()),se(i.getMinutes()),se(i.getSeconds())].join(":");return[i.getDate(),H[i.getMonth()],f].join(" ")}r.log=function(){console.log("%s - %s",_e(),r.format.apply(r,arguments))},r.inherits=zr,r._extend=function(i,f){if(!f||!k(f))return i;for(var c=Object.keys(f),h=c.length;h--;)i[c[h]]=f[c[h]];return i};function J(i,f){return Object.prototype.hasOwnProperty.call(i,f)}var M=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;r.promisify=function(f){if(typeof f!="function")throw new TypeError('The "original" argument must be of type Function');if(M&&f[M]){var c=f[M];if(typeof c!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(c,M,{value:c,enumerable:!1,writable:!1,configurable:!0}),c}function c(){for(var h,S,O=new Promise(function(j,N){h=j,S=N}),g=[],A=0;A<arguments.length;A++)g.push(arguments[A]);g.push(function(j,N){j?S(j):h(N)});try{f.apply(this,g)}catch(j){S(j)}return O}return Object.setPrototypeOf(c,Object.getPrototypeOf(f)),M&&Object.defineProperty(c,M,{value:c,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(c,e(f))},r.promisify.custom=M;function K(i,f){if(!i){var c=new Error("Promise was rejected with a falsy value");c.reason=i,i=c}return f(i)}function pe(i){if(typeof i!="function")throw new TypeError('The "original" argument must be of type Function');function f(){for(var c=[],h=0;h<arguments.length;h++)c.push(arguments[h]);var S=c.pop();if(typeof S!="function")throw new TypeError("The last argument must be of type Function");var O=this,g=function(){return S.apply(O,arguments)};i.apply(this,c).then(function(A){L.process$1.nextTick(g.bind(null,null,A))},function(A){L.process$1.nextTick(K.bind(null,A,g))})}return Object.setPrototypeOf(f,Object.getPrototypeOf(i)),Object.defineProperties(f,e(i)),f}r.callbackify=pe})(rt);var Vo=Ho;function Ho(r,e){if(Xe("noDeprecation"))return r;var t=!1;function n(){if(!t){if(Xe("throwDeprecation"))throw new Error(e);Xe("traceDeprecation")?console.trace(e):console.warn(e),t=!0}return r.apply(this,arguments)}return n}function Xe(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 er={},ve={exports:{}},Wr;function Jo(){return Wr||(Wr=1,function(r,e){var t=et,n=t.Buffer;function o(u,y){for(var p in u)y[p]=u[p]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?r.exports=t:(o(t,e),e.Buffer=l);function l(u,y,p){return n(u,y,p)}o(n,l),l.from=function(u,y,p){if(typeof u=="number")throw new TypeError("Argument must not be a number");return n(u,y,p)},l.alloc=function(u,y,p){if(typeof u!="number")throw new TypeError("Argument must be a number");var m=n(u);return y!==void 0?typeof p=="string"?m.fill(y,p):m.fill(y):m.fill(0),m},l.allocUnsafe=function(u){if(typeof u!="number")throw new TypeError("Argument must be a number");return n(u)},l.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 qr;function Ko(){if(qr)return er;qr=1;var r=Jo().Buffer,e=r.isEncoding||function(a){switch(a=""+a,a&&a.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(a){if(!a)return"utf8";for(var d;;)switch(a){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 a;default:if(d)return;a=(""+a).toLowerCase(),d=!0}}function n(a){var d=t(a);if(typeof d!="string"&&(r.isEncoding===e||!e(a)))throw new Error("Unknown encoding: "+a);return d||a}er.StringDecoder=o;function o(a){this.encoding=n(a);var d;switch(this.encoding){case"utf16le":this.text=$,this.end=E,d=4;break;case"utf8":this.fillLast=p,d=4;break;case"base64":this.text=_,this.end=T,d=3;break;default:this.write=I,this.end=C;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(d)}o.prototype.write=function(a){if(a.length===0)return"";var d,b;if(this.lastNeed){if(d=this.fillLast(a),d===void 0)return"";b=this.lastNeed,this.lastNeed=0}else b=0;return b<a.length?d?d+this.text(a,b):this.text(a,b):d||""},o.prototype.end=w,o.prototype.text=m,o.prototype.fillLast=function(a){if(this.lastNeed<=a.length)return a.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);a.copy(this.lastChar,this.lastTotal-this.lastNeed,0,a.length),this.lastNeed-=a.length};function l(a){return a<=127?0:a>>5===6?2:a>>4===14?3:a>>3===30?4:a>>6===2?-1:-2}function u(a,d,b){var R=d.length-1;if(R<b)return 0;var B=l(d[R]);return B>=0?(B>0&&(a.lastNeed=B-1),B):--R<b||B===-2?0:(B=l(d[R]),B>=0?(B>0&&(a.lastNeed=B-2),B):--R<b||B===-2?0:(B=l(d[R]),B>=0?(B>0&&(B===2?B=0:a.lastNeed=B-3),B):0))}function y(a,d,b){if((d[0]&192)!==128)return a.lastNeed=0,"�";if(a.lastNeed>1&&d.length>1){if((d[1]&192)!==128)return a.lastNeed=1,"�";if(a.lastNeed>2&&d.length>2&&(d[2]&192)!==128)return a.lastNeed=2,"�"}}function p(a){var d=this.lastTotal-this.lastNeed,b=y(this,a);if(b!==void 0)return b;if(this.lastNeed<=a.length)return a.copy(this.lastChar,d,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);a.copy(this.lastChar,d,0,a.length),this.lastNeed-=a.length}function m(a,d){var b=u(this,a,d);if(!this.lastNeed)return a.toString("utf8",d);this.lastTotal=b;var R=a.length-(b-this.lastNeed);return a.copy(this.lastChar,0,R),a.toString("utf8",d,R)}function w(a){var d=a&&a.length?this.write(a):"";return this.lastNeed?d+"�":d}function $(a,d){if((a.length-d)%2===0){var b=a.toString("utf16le",d);if(b){var R=b.charCodeAt(b.length-1);if(R>=55296&&R<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=a[a.length-2],this.lastChar[1]=a[a.length-1],b.slice(0,-1)}return b}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=a[a.length-1],a.toString("utf16le",d,a.length-1)}function E(a){var d=a&&a.length?this.write(a):"";if(this.lastNeed){var b=this.lastTotal-this.lastNeed;return d+this.lastChar.toString("utf16le",0,b)}return d}function _(a,d){var b=(a.length-d)%3;return b===0?a.toString("base64",d):(this.lastNeed=3-b,this.lastTotal=3,b===1?this.lastChar[0]=a[a.length-1]:(this.lastChar[0]=a[a.length-2],this.lastChar[1]=a[a.length-1]),a.toString("base64",d,a.length-b))}function T(a){var d=a&&a.length?this.write(a):"";return this.lastNeed?d+this.lastChar.toString("base64",0,3-this.lastNeed):d}function I(a){return a.toString(this.encoding)}function C(a){return a&&a.length?this.write(a):""}return er}exports.browser=Vo;exports.callBound=fe;exports.eventsExports=It;exports.getIntrinsic=dr;exports.inherits_browserExports=zr;exports.require$$2=et;exports.requireString_decoder=Ko;exports.type=ie;exports.util=rt;
|