@harbour-enterprises/superdoc 0.9.7 → 0.9.8

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 (28) hide show
  1. package/dist/chunks/{index-MTg0RB9I.cjs → index-BXKGjuVW.cjs} +1 -1
  2. package/dist/chunks/{index-f-drtAbP.cjs → index-CqRwYOdx.cjs} +1 -1
  3. package/dist/chunks/{index-4z9dCXD4.es.js → index-DjLrg1eZ.es.js} +2 -2
  4. package/dist/chunks/{index-C9CPh36N.es.js → index-dZKHAFXF.es.js} +1 -1
  5. package/dist/chunks/{super-editor.es-C96Gczy_.es.js → super-editor.es-DNghCrfT.es.js} +3 -3
  6. package/dist/chunks/{super-editor.es-B623EKXl.cjs → super-editor.es-pEmidalw.cjs} +2 -2
  7. package/dist/chunks/{url-BY6ThfSE.cjs → url-6Xu7gR4T.cjs} +1 -1
  8. package/dist/chunks/{url-CwZauKUC.es.js → url-BxDGAI6E.es.js} +1 -1
  9. package/dist/chunks/{xml-js-CCS2urF-.es.js → xml-js-BAML2_fM.es.js} +355 -366
  10. package/dist/chunks/xml-js-zhwNEV5e.cjs +10 -0
  11. package/dist/super-editor/chunks/{converter-B8WVkWwL.js → converter-Bk7BXCPO.js} +2 -2
  12. package/dist/super-editor/chunks/{docx-zipper-Cb_c9Za4.js → docx-zipper-DUxGbs3P.js} +1 -1
  13. package/dist/super-editor/chunks/{editor-DeIwPnr3.js → editor-COmnuThI.js} +3 -3
  14. package/dist/super-editor/chunks/{toolbar-C-IJLBF5.js → toolbar-C_IRomx1.js} +2 -2
  15. package/dist/super-editor/converter.es.js +1 -1
  16. package/dist/super-editor/docx-zipper.es.js +2 -2
  17. package/dist/super-editor/editor.es.js +3 -3
  18. package/dist/super-editor/file-zipper.es.js +1 -1
  19. package/dist/super-editor/super-editor.es.js +6 -6
  20. package/dist/super-editor/toolbar.es.js +2 -2
  21. package/dist/super-editor.cjs +1 -1
  22. package/dist/super-editor.es.js +1 -1
  23. package/dist/superdoc.cjs +3 -3
  24. package/dist/superdoc.es.js +6 -6
  25. package/dist/superdoc.umd.js +4 -4
  26. package/dist/superdoc.umd.js.map +1 -1
  27. package/package.json +1 -1
  28. package/dist/chunks/xml-js-C-3oH1mO.cjs +0 -10
@@ -0,0 +1,10 @@
1
+ "use strict";const ne=require("./jszip-ChlzEvf9.cjs"),L=require("./vue-Ckf0DkDN.cjs");var Ye={exports:{}};typeof Object.create=="function"?Ye.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:Ye.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 Gr=Ye.exports,ir={exports:{}},re=typeof Reflect=="object"?Reflect:null,dr=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 Pt(r){console&&console.warn&&console.warn(r)}var xr=Number.isNaN||function(e){return e!==e};function P(){P.init.call(this)}ir.exports=P;ir.exports.once=Bt;P.EventEmitter=P;P.prototype._events=void 0;P.prototype._eventsCount=0;P.prototype._maxListeners=void 0;var hr=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 hr},set:function(r){if(typeof r!="number"||r<0||xr(r))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+r+".");hr=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||xr(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 Wr(r){return r._maxListeners===void 0?P.defaultMaxListeners:r._maxListeners}P.prototype.getMaxListeners=function(){return Wr(this)};P.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 d=new Error("Unhandled error."+(u?" ("+u.message+")":""));throw d.context=u,d}var y=c[e];if(y===void 0)return!1;if(typeof y=="function")dr(y,this,t);else for(var m=y.length,w=Jr(y,m),n=0;n<m;++n)dr(w[n],this,t);return!0};function zr(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=Wr(r),i>0&&u.length>i&&!u.warned){u.warned=!0;var d=new Error("Possible EventEmitter memory leak detected. "+u.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");d.name="MaxListenersExceededWarning",d.emitter=r,d.type=e,d.count=u.length,Pt(d)}return r}P.prototype.addListener=function(e,t){return zr(this,e,t,!1)};P.prototype.on=P.prototype.addListener;P.prototype.prependListener=function(e,t){return zr(this,e,t,!0)};function Et(){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 qr(r,e,t){var n={fired:!1,wrapFn:void 0,target:r,type:e,listener:t},i=Et.bind(n);return i.listener=t,n.wrapFn=i,i}P.prototype.once=function(e,t){return Be(t),this.on(e,qr(this,e,t)),this};P.prototype.prependOnceListener=function(e,t){return Be(t),this.prependListener(e,qr(this,e,t)),this};P.prototype.removeListener=function(e,t){var n,i,c,u,d;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){d=n[u].listener,c=u;break}if(c<0)return this;c===0?n.shift():jt(n,c),n.length===1&&(i[e]=n[0]),i.removeListener!==void 0&&this.emit("removeListener",e,d||t)}return this};P.prototype.off=P.prototype.removeListener;P.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 Vr(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?$t(i):Jr(i,i.length)}P.prototype.listeners=function(e){return Vr(this,e,!0)};P.prototype.rawListeners=function(e){return Vr(this,e,!1)};P.listenerCount=function(r,e){return typeof r.listenerCount=="function"?r.listenerCount(e):Hr.call(r,e)};P.prototype.listenerCount=Hr;function Hr(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 Jr(r,e){for(var t=new Array(e),n=0;n<e;++n)t[n]=r[n];return t}function jt(r,e){for(;e+1<r.length;e++)r[e]=r[e+1];r.pop()}function $t(r){for(var e=new Array(r.length),t=0;t<e.length;++t)e[t]=r[t].listener||r[t];return e}function Bt(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))}Kr(r,e,c,{once:!0}),e!=="error"&&Tt(r,i,{once:!0})})}function Tt(r,e,t){typeof r.on=="function"&&Kr(r,"error",e,t)}function Kr(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 Ft=ir.exports;const Zr=ne.getAugmentedNamespace(ne.dist);var Yr={},Qr={},Xr=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 d=Object.getOwnPropertyDescriptor(e,t);if(d.value!==i||d.enumerable!==!0)return!1}return!0},It=Xr,Te=function(){return It()&&!!Symbol.toStringTag},et=Object,Nt=Error,Rt=EvalError,_t=RangeError,Ct=ReferenceError,rt=SyntaxError,ie=TypeError,Lt=URIError,Ut=Math.abs,Dt=Math.floor,Mt=Math.max,kt=Math.min,Gt=Math.pow,xt=Math.round,Wt=Number.isNaN||function(e){return e!==e},zt=Wt,qt=function(e){return zt(e)||e===0?e:e<0?-1:1},Vt=Object.getOwnPropertyDescriptor,be=Vt;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,gr;function Ht(){if(gr)return Ce;gr=1;var r=typeof Symbol<"u"&&Symbol,e=Xr;return Ce=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},Ce}var tt=typeof Reflect<"u"&&Reflect.getPrototypeOf||null,Jt=et,nt=Jt.getPrototypeOf||null,Le,vr;function Kt(){if(vr)return Le;vr=1;var r="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,t=Math.max,n="[object Function]",i=function(y,m){for(var w=[],$=0;$<y.length;$+=1)w[$]=y[$];for(var E=0;E<m.length;E+=1)w[E+y.length]=m[E];return w},c=function(y,m){for(var w=[],$=m,E=0;$<y.length;$+=1,E+=1)w[E]=y[$];return w},u=function(d,y){for(var m="",w=0;w<d.length;w+=1)m+=d[w],w+1<d.length&&(m+=y);return m};return Le=function(y){var m=this;if(typeof m!="function"||e.apply(m)!==n)throw new TypeError(r+m);for(var w=c(arguments,1),$,E=function(){if(this instanceof $){var a=m.apply(this,i(w,arguments));return Object(a)===a?a:this}return m.apply(y,i(w,arguments))},_=t(0,m.length-w.length),T=[],N=0;N<_;N++)T[N]="$"+N;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 $},Le}var Ue,mr;function le(){if(mr)return Ue;mr=1;var r=Kt();return Ue=Function.prototype.bind||r,Ue}var De,br;function ar(){return br||(br=1,De=Function.prototype.call),De}var Me,Ar;function fr(){return Ar||(Ar=1,Me=Function.prototype.apply),Me}var Zt=typeof Reflect<"u"&&Reflect&&Reflect.apply,Yt=le(),Qt=fr(),Xt=ar(),en=Zt,ot=en||Yt.call(Xt,Qt),rn=le(),tn=ie,nn=ar(),on=ot,sr=function(e){if(e.length<1||typeof e[0]!="function")throw new tn("a function is required");return on(rn,nn,e)},an=sr,wr=ae,it;try{it=[].__proto__===Array.prototype}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var ke=!!it&&wr&&wr(Object.prototype,"__proto__"),at=Object,Sr=at.getPrototypeOf,fn=ke&&typeof ke.get=="function"?an([ke.get]):typeof Sr=="function"?function(e){return Sr(e==null?e:at(e))}:!1,Or=tt,Pr=nt,Er=fn,ur=Or?function(e){return Or(e)}:Pr?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return Pr(e)}:Er?function(e){return Er(e)}:null,Ge,jr;function ft(){if(jr)return Ge;jr=1;var r=Function.prototype.call,e=Object.prototype.hasOwnProperty,t=le();return Ge=t.call(r,e),Ge}var v,sn=et,un=Nt,ln=Rt,cn=_t,yn=Ct,oe=rt,te=ie,pn=Lt,dn=Ut,hn=Dt,gn=Mt,vn=kt,mn=Gt,bn=xt,An=qt,st=Function,xe=function(r){try{return st('"use strict"; return ('+r+").constructor;")()}catch{}},ue=ae,wn=Fe,We=function(){throw new te},Sn=ue?function(){try{return arguments.callee,We}catch{try{return ue(arguments,"callee").get}catch{return We}}}():We,Y=Ht()(),F=ur,On=nt,Pn=tt,ut=fr(),ce=ar(),X={},En=typeof Uint8Array>"u"||!F?v:F(Uint8Array),q={__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%":ln,"%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%":st,"%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%":cn,"%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%":ce,"%Function.prototype.apply%":ut,"%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));q["%Error.prototype%"]=jn}var $n=function r(e){var t;if(e==="%AsyncFunction%")t=xe("async function () {}");else if(e==="%GeneratorFunction%")t=xe("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=xe("async function* () {}");else if(e==="%AsyncGenerator%"){var n=r("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=r("%AsyncGenerator%");i&&F&&(t=F(i.prototype))}return q[e]=t,t},$r={__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=ft(),Bn=ye.call(ce,Array.prototype.concat),Tn=ye.call(ut,Array.prototype.splice),Br=ye.call(ce,String.prototype.replace),Ee=ye.call(ce,String.prototype.slice),Fn=ye.call(ce,RegExp.prototype.exec),In=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Nn=/\\(\\)?/g,Rn=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 Br(e,In,function(c,u,d,y){i[i.length]=d?Br(y,Nn,"$1"):u||c}),i},_n=function(e,t){var n=e,i;if(Pe($r,n)&&(i=$r[n],n="%"+i[0]+"%"),Pe(q,n)){var c=q[n];if(c===X&&(c=$n(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!")},lr=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=Rn(e),i=n.length>0?n[0]:"",c=_n("%"+i+"%",t),u=c.name,d=c.value,y=!1,m=c.alias;m&&(i=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"||!$)&&(y=!0),i+="."+E,u="%"+i+"%",Pe(q,u))d=q[u];else if(d!=null){if(!(E in d)){if(!t)throw new te("base intrinsic for "+e+" exists, but the property is not available.");return}if(ue&&w+1>=n.length){var N=ue(d,E);$=!!N,$&&"get"in N&&!("originalValue"in N.get)?d=N.get:d=d[E]}else $=Pe(d,E),d=d[E];$&&!y&&(q[u]=d)}}return d},lt=lr,ct=sr,Cn=ct([lt("%String.prototype.indexOf%")]),fe=function(e,t){var n=lt(e,!!t);return typeof n=="function"&&Cn(e,".prototype.")>-1?ct([n]):n},Ln=Te(),Un=fe,Qe=Un("Object.prototype.toString"),Ie=function(e){return Ln&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:Qe(e)==="[object Arguments]"},yt=function(e){return Ie(e)?!0:e!==null&&typeof e=="object"&&"length"in e&&typeof e.length=="number"&&e.length>=0&&Qe(e)!=="[object Array]"&&"callee"in e&&Qe(e.callee)==="[object Function]"},Dn=function(){return Ie(arguments)}();Ie.isLegacyArguments=yt;var Mn=Dn?Ie:yt,Tr=fe,kn=Te(),Gn=ft(),xn=ae,Xe;if(kn){var Wn=Tr("RegExp.prototype.exec"),Fr={},ze=function(){throw Fr},Ir={toString:ze,valueOf:ze};typeof Symbol.toPrimitive=="symbol"&&(Ir[Symbol.toPrimitive]=ze),Xe=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,Ir)}catch(i){return i===Fr}}}else{var zn=Tr("Object.prototype.toString"),qn="[object RegExp]";Xe=function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:zn(e)===qn}}var Vn=Xe,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}},pt=fe,Qn=Yn,Xn=Qn(/^\s*(?:function)?\*/),dt=Te(),qe=ur,eo=pt("Object.prototype.toString"),ro=pt("Function.prototype.toString"),to=function(){if(!dt)return!1;try{return Function("return function*() {}")()}catch{}},Ve,no=function(e){if(typeof e!="function")return!1;if(Xn(ro(e)))return!0;if(!dt){var t=eo(e);return t==="[object GeneratorFunction]"}if(!qe)return!1;if(typeof Ve>"u"){var n=to();Ve=n?qe(n):!1}return qe(e)===Ve},ht=Function.prototype.toString,ee=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,er,we;if(typeof ee=="function"&&typeof Object.defineProperty=="function")try{er=Object.defineProperty({},"length",{get:function(){throw we}}),we={},ee(function(){throw 42},null,er)}catch(r){r!==we&&(ee=null)}else ee=null;var oo=/^\s*class\b/,rr=function(e){try{var t=ht.call(e);return oo.test(t)}catch{return!1}},He=function(e){try{return rr(e)?!1:(ht.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]",lo="[object HTMLCollection]",co=typeof Symbol=="function"&&!!Symbol.toStringTag,yo=!(0 in[,]),tr=function(){return!1};if(typeof document=="object"){var po=document.all;Se.call(po)===Se.call(document.all)&&(tr=function(e){if((yo||!e)&&(typeof e>"u"||typeof e=="object"))try{var t=Se.call(e);return(t===so||t===uo||t===lo||t===io)&&e("")==null}catch{}return!1})}var ho=ee?function(e){if(tr(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{ee(e,null,er)}catch(t){if(t!==we)return!1}return!rr(e)&&He(e)}:function(e){if(tr(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(co)return He(e);if(rr(e))return!1;var t=Se.call(e);return t!==ao&&t!==fo&&!/^\[object HTML/.test(t)?!1:He(e)},go=ho,vo=Object.prototype.toString,gt=Object.prototype.hasOwnProperty,mo=function(e,t,n){for(var i=0,c=e.length;i<c;i++)gt.call(e,i)&&(n==null?t(e[i],i,e):t.call(n,e[i],i,e))},bo=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)},Ao=function(e,t,n){for(var i in e)gt.call(e,i)&&(n==null?t(e[i],i,e):t.call(n,e[i],i,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 i;arguments.length>=3&&(i=n),wo(e)?mo(e,t,i):typeof e=="string"?bo(e,t,i):Ao(e,t,i)},Oo=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],Je=Oo,Po=typeof globalThis>"u"?ne.commonjsGlobal:globalThis,Eo=function(){for(var e=[],t=0;t<Je.length;t++)typeof Po[Je[t]]=="function"&&(e[e.length]=Je[t]);return e},vt={exports:{}},Nr=Fe,jo=rt,Q=ie,Rr=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 i=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,d=arguments.length>6?arguments[6]:!1,y=!!Rr&&Rr(e,t);if(Nr)Nr(e,t,{configurable:u===null&&y?y.configurable:!u,enumerable:i===null&&y?y.enumerable:!i,value:n,writable:c===null&&y?y.writable:!c});else if(d||!i&&!c&&!u)e[t]=n;else throw new jo("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},nr=Fe,mt=function(){return!!nr};mt.hasArrayLengthDefineBug=function(){if(!nr)return null;try{return nr([],"length",{value:1}).length!==1}catch{return!0}};var Bo=mt,To=lr,_r=$o,Fo=Bo(),Cr=ae,Lr=ie,Io=To("%Math.floor%"),No=function(e,t){if(typeof e!="function")throw new Lr("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||Io(t)!==t)throw new Lr("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,c=!0;if("length"in e&&Cr){var u=Cr(e,"length");u&&!u.configurable&&(i=!1),u&&!u.writable&&(c=!1)}return(i||c||!n)&&(Fo?_r(e,"length",t,!0,!0):_r(e,"length",t)),e},Ro=le(),_o=fr(),Co=ot,Lo=function(){return Co(Ro,_o,arguments)};(function(r){var e=No,t=Fe,n=sr,i=Lo;r.exports=function(u){var d=n(arguments),y=u.length-(arguments.length-1);return e(d,1+(y>0?y:0),!0)},t?t(r.exports,"apply",{value:i}):r.exports.apply=i})(vt);var Uo=vt.exports,je=So,Do=Eo,Ur=Uo,cr=fe,Oe=ae,ge=ur,Mo=cr("Object.prototype.toString"),bt=Te(),Dr=typeof globalThis>"u"?ne.commonjsGlobal:globalThis,or=Do(),yr=cr("String.prototype.slice"),ko=cr("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};bt&&Oe&&ge?je(or,function(r){var e=new Dr[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]=Ur(n.get)}}):je(or,function(r){var e=new Dr[r],t=e.slice||e.set;t&&($e["$"+r]=Ur(t))});var Go=function(e){var t=!1;return je($e,function(n,i){if(!t)try{"$"+n(e)===i&&(t=yr(i,1))}catch{}}),t},xo=function(e){var t=!1;return je($e,function(n,i){if(!t)try{n(e),t=yr(i,1)}catch{}}),t},At=function(e){if(!e||typeof e!="object")return!1;if(!bt){var t=yr(Mo(e),8,-1);return ko(or,t)>-1?t:t!=="Object"?!1:xo(e)}return Oe?Go(e):null},Wo=At,zo=function(e){return!!Wo(e)};(function(r){var e=Mn,t=no,n=At,i=zo;function c(s){return s.call.bind(s)}var u=typeof BigInt<"u",d=typeof Symbol<"u",y=c(Object.prototype.toString),m=c(Number.prototype.valueOf),w=c(String.prototype.valueOf),$=c(Boolean.prototype.valueOf);if(u)var E=c(BigInt.prototype.valueOf);if(d)var _=c(Symbol.prototype.valueOf);function T(s,Ot){if(typeof s!="object")return!1;try{return Ot(s),!0}catch{return!1}}r.isArgumentsObject=e,r.isGeneratorFunction=t,r.isTypedArray=i;function N(s){return typeof Promise<"u"&&s instanceof Promise||s!==null&&typeof s=="object"&&typeof s.then=="function"&&typeof s.catch=="function"}r.isPromise=N;function C(s){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(s):i(s)||f(s)}r.isArrayBufferView=C;function a(s){return n(s)==="Uint8Array"}r.isUint8Array=a;function p(s){return n(s)==="Uint8ClampedArray"}r.isUint8ClampedArray=p;function b(s){return n(s)==="Uint16Array"}r.isUint16Array=b;function I(s){return n(s)==="Uint32Array"}r.isUint32Array=I;function B(s){return n(s)==="Int8Array"}r.isInt8Array=B;function Ne(s){return n(s)==="Int16Array"}r.isInt16Array=Ne;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 y(s)==="[object Map]"}D.working=typeof Map<"u"&&D(new Map);function Re(s){return typeof Map>"u"?!1:D.working?D(s):s instanceof Map}r.isMap=Re;function G(s){return y(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 y(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 y(s)==="[object WeakSet]"}J.working=typeof WeakSet<"u"&&J(new WeakSet);function M(s){return J(s)}r.isWeakSet=M;function K(s){return y(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 y(s)==="[object DataView]"}o.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&o(new DataView(new ArrayBuffer(1),0,1));function f(s){return typeof DataView>"u"?!1:o.working?o(s):s instanceof DataView}r.isDataView=f;var l=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function h(s){return y(s)==="[object SharedArrayBuffer]"}function S(s){return typeof l>"u"?!1:(typeof h.working>"u"&&(h.working=h(new l)),h.working?h(s):s instanceof l)}r.isSharedArrayBuffer=S;function O(s){return y(s)==="[object AsyncFunction]"}r.isAsyncFunction=O;function g(s){return y(s)==="[object Map Iterator]"}r.isMapIterator=g;function A(s){return y(s)==="[object Set Iterator]"}r.isSetIterator=A;function j(s){return y(s)==="[object Generator]"}r.isGeneratorObject=j;function R(s){return y(s)==="[object WebAssembly.Module]"}r.isWebAssemblyCompiledModule=R;function z(s){return T(s,m)}r.isNumberObject=z;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 pr(s){return d&&T(s,_)}r.isSymbolObject=pr;function wt(s){return z(s)||de(s)||Z(s)||he(s)||pr(s)}r.isBoxedPrimitive=wt;function St(s){return typeof Uint8Array<"u"&&(pe(s)||S(s))}r.isAnyArrayBuffer=St,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(s){Object.defineProperty(r,s,{enumerable:!1,value:function(){throw new Error(s+" is not supported in userland")}})})})(Qr);var qo=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 l=Object.keys(f),h={},S=0;S<l.length;S++)h[l[S]]=Object.getOwnPropertyDescriptor(f,l[S]);return h},t=/%[sdj%]/g;r.format=function(o){if(!B(o)){for(var f=[],l=0;l<arguments.length;l++)f.push(u(arguments[l]));return f.join(" ")}for(var l=1,h=arguments,S=h.length,O=String(o).replace(t,function(A){if(A==="%%")return"%";if(l>=S)return A;switch(A){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 A}}),g=h[l];l<S;g=h[++l])p(g)||!k(g)?O+=" "+g:O+=" "+u(g);return O},r.deprecate=function(o,f){if(typeof L.process$1<"u"&&L.process$1.noDeprecation===!0)return o;if(typeof L.process$1>"u")return function(){return r.deprecate(o,f).apply(this,arguments)};var l=!1;function h(){if(!l){if(L.process$1.throwDeprecation)throw new Error(f);L.process$1.traceDeprecation?console.trace(f):console.error(f),l=!0}return o.apply(this,arguments)}return h};var n={},i=/^$/;if(L.process$1.env.NODE_DEBUG){var c=L.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 f=L.process$1.pid;n[o]=function(){var l=r.format.apply(r,arguments);console.error("%s %d: %s",o,f,l)}}else n[o]=function(){};return n[o]};function u(o,f){var l={seen:[],stylize:y};return arguments.length>=3&&(l.depth=arguments[2]),arguments.length>=4&&(l.colors=arguments[3]),a(f)?l.showHidden=f:f&&r._extend(l,f),U(l.showHidden)&&(l.showHidden=!1),U(l.depth)&&(l.depth=2),U(l.colors)&&(l.colors=!1),U(l.customInspect)&&(l.customInspect=!0),l.colors&&(l.stylize=d),w(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 d(o,f){var l=u.styles[f];return l?"\x1B["+u.colors[l][0]+"m"+o+"\x1B["+u.colors[l][1]+"m":o}function y(o,f){return o}function m(o){var f={};return o.forEach(function(l,h){f[l]=!0}),f}function w(o,f,l){if(o.customInspect&&f&&D(f.inspect)&&f.inspect!==r.inspect&&!(f.constructor&&f.constructor.prototype===f)){var h=f.inspect(l,o);return B(h)||(h=w(o,h,l)),h}var S=$(o,f);if(S)return S;var O=Object.keys(f),g=m(O);if(o.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 o.stylize("[Function"+A+"]","special")}if(x(f))return o.stylize(RegExp.prototype.toString.call(f),"regexp");if(V(f))return o.stylize(Date.prototype.toString.call(f),"date");if(W(f))return E(f)}var j="",R=!1,z=["{","}"];if(C(f)&&(R=!0,z=["[","]"]),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&&(!R||f.length==0))return z[0]+j+z[1];if(l<0)return x(f)?o.stylize(RegExp.prototype.toString.call(f),"regexp"):o.stylize("[Object]","special");o.seen.push(f);var Z;return R?Z=_(o,f,l,g,O):Z=O.map(function(he){return T(o,f,l,g,he,R)}),o.seen.pop(),N(Z,j,z)}function $(o,f){if(U(f))return o.stylize("undefined","undefined");if(B(f)){var l="'"+JSON.stringify(f).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return o.stylize(l,"string")}if(I(f))return o.stylize(""+f,"number");if(a(f))return o.stylize(""+f,"boolean");if(p(f))return o.stylize("null","null")}function E(o){return"["+Error.prototype.toString.call(o)+"]"}function _(o,f,l,h,S){for(var O=[],g=0,A=f.length;g<A;++g)J(f,String(g))?O.push(T(o,f,l,h,String(g),!0)):O.push("");return S.forEach(function(j){j.match(/^\d+$/)||O.push(T(o,f,l,h,j,!0))}),O}function T(o,f,l,h,S,O){var g,A,j;if(j=Object.getOwnPropertyDescriptor(f,S)||{value:f[S]},j.get?j.set?A=o.stylize("[Getter/Setter]","special"):A=o.stylize("[Getter]","special"):j.set&&(A=o.stylize("[Setter]","special")),J(h,S)||(g="["+S+"]"),A||(o.seen.indexOf(j.value)<0?(p(l)?A=w(o,j.value,null):A=w(o,j.value,l-1),A.indexOf(`
2
+ `)>-1&&(O?A=A.split(`
3
+ `).map(function(R){return" "+R}).join(`
4
+ `).slice(2):A=`
5
+ `+A.split(`
6
+ `).map(function(R){return" "+R}).join(`
7
+ `))):A=o.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=o.stylize(g,"name")):(g=g.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),g=o.stylize(g,"string"))}return g+": "+A}function N(o,f,l){var h=o.reduce(function(S,O){return O.indexOf(`
8
+ `)>=0,S+O.replace(/\u001b\[\d\d?m/g,"").length+1},0);return h>60?l[0]+(f===""?"":f+`
9
+ `)+" "+o.join(`,
10
+ `)+" "+l[1]:l[0]+f+" "+o.join(", ")+" "+l[1]}r.types=Qr;function C(o){return Array.isArray(o)}r.isArray=C;function a(o){return typeof o=="boolean"}r.isBoolean=a;function p(o){return o===null}r.isNull=p;function b(o){return o==null}r.isNullOrUndefined=b;function I(o){return typeof o=="number"}r.isNumber=I;function B(o){return typeof o=="string"}r.isString=B;function Ne(o){return typeof o=="symbol"}r.isSymbol=Ne;function U(o){return o===void 0}r.isUndefined=U;function x(o){return k(o)&&G(o)==="[object RegExp]"}r.isRegExp=x,r.types.isRegExp=x;function k(o){return typeof o=="object"&&o!==null}r.isObject=k;function V(o){return k(o)&&G(o)==="[object Date]"}r.isDate=V,r.types.isDate=V;function W(o){return k(o)&&(G(o)==="[object Error]"||o instanceof Error)}r.isError=W,r.types.isNativeError=W;function D(o){return typeof o=="function"}r.isFunction=D;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=qo;function G(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,f=[se(o.getHours()),se(o.getMinutes()),se(o.getSeconds())].join(":");return[o.getDate(),H[o.getMonth()],f].join(" ")}r.log=function(){console.log("%s - %s",_e(),r.format.apply(r,arguments))},r.inherits=Gr,r._extend=function(o,f){if(!f||!k(f))return o;for(var l=Object.keys(f),h=l.length;h--;)o[l[h]]=f[l[h]];return o};function J(o,f){return Object.prototype.hasOwnProperty.call(o,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 l=f[M];if(typeof l!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(l,M,{value:l,enumerable:!1,writable:!1,configurable:!0}),l}function l(){for(var h,S,O=new Promise(function(j,R){h=j,S=R}),g=[],A=0;A<arguments.length;A++)g.push(arguments[A]);g.push(function(j,R){j?S(j):h(R)});try{f.apply(this,g)}catch(j){S(j)}return O}return Object.setPrototypeOf(l,Object.getPrototypeOf(f)),M&&Object.defineProperty(l,M,{value:l,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(l,e(f))},r.promisify.custom=M;function K(o,f){if(!o){var l=new Error("Promise was rejected with a falsy value");l.reason=o,o=l}return f(o)}function pe(o){if(typeof o!="function")throw new TypeError('The "original" argument must be of type Function');function f(){for(var l=[],h=0;h<arguments.length;h++)l.push(arguments[h]);var S=l.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)};o.apply(this,l).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(o)),Object.defineProperties(f,e(o)),f}r.callbackify=pe})(Yr);var Vo=Ho;function Ho(r,e){if(Ke("noDeprecation"))return r;var t=!1;function n(){if(!t){if(Ke("throwDeprecation"))throw new Error(e);Ke("traceDeprecation")?console.trace(e):console.warn(e),t=!0}return r.apply(this,arguments)}return n}function Ke(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 Ze={},ve={exports:{}},Mr;function Jo(){return Mr||(Mr=1,function(r,e){var t=Zr,n=t.Buffer;function i(u,d){for(var y in u)d[y]=u[y]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?r.exports=t:(i(t,e),e.Buffer=c);function c(u,d,y){return n(u,d,y)}i(n,c),c.from=function(u,d,y){if(typeof u=="number")throw new TypeError("Argument must not be a number");return n(u,d,y)},c.alloc=function(u,d,y){if(typeof u!="number")throw new TypeError("Argument must be a number");var m=n(u);return d!==void 0?typeof y=="string"?m.fill(d,y):m.fill(d):m.fill(0),m},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 kr;function Ko(){if(kr)return Ze;kr=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 p;;)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(p)return;a=(""+a).toLowerCase(),p=!0}}function n(a){var p=t(a);if(typeof p!="string"&&(r.isEncoding===e||!e(a)))throw new Error("Unknown encoding: "+a);return p||a}Ze.StringDecoder=i;function i(a){this.encoding=n(a);var p;switch(this.encoding){case"utf16le":this.text=$,this.end=E,p=4;break;case"utf8":this.fillLast=y,p=4;break;case"base64":this.text=_,this.end=T,p=3;break;default:this.write=N,this.end=C;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(p)}i.prototype.write=function(a){if(a.length===0)return"";var p,b;if(this.lastNeed){if(p=this.fillLast(a),p===void 0)return"";b=this.lastNeed,this.lastNeed=0}else b=0;return b<a.length?p?p+this.text(a,b):this.text(a,b):p||""},i.prototype.end=w,i.prototype.text=m,i.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 c(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,p,b){var I=p.length-1;if(I<b)return 0;var B=c(p[I]);return B>=0?(B>0&&(a.lastNeed=B-1),B):--I<b||B===-2?0:(B=c(p[I]),B>=0?(B>0&&(a.lastNeed=B-2),B):--I<b||B===-2?0:(B=c(p[I]),B>=0?(B>0&&(B===2?B=0:a.lastNeed=B-3),B):0))}function d(a,p,b){if((p[0]&192)!==128)return a.lastNeed=0,"�";if(a.lastNeed>1&&p.length>1){if((p[1]&192)!==128)return a.lastNeed=1,"�";if(a.lastNeed>2&&p.length>2&&(p[2]&192)!==128)return a.lastNeed=2,"�"}}function y(a){var p=this.lastTotal-this.lastNeed,b=d(this,a);if(b!==void 0)return b;if(this.lastNeed<=a.length)return a.copy(this.lastChar,p,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);a.copy(this.lastChar,p,0,a.length),this.lastNeed-=a.length}function m(a,p){var b=u(this,a,p);if(!this.lastNeed)return a.toString("utf8",p);this.lastTotal=b;var I=a.length-(b-this.lastNeed);return a.copy(this.lastChar,0,I),a.toString("utf8",p,I)}function w(a){var p=a&&a.length?this.write(a):"";return this.lastNeed?p+"�":p}function $(a,p){if((a.length-p)%2===0){var b=a.toString("utf16le",p);if(b){var I=b.charCodeAt(b.length-1);if(I>=55296&&I<=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",p,a.length-1)}function E(a){var p=a&&a.length?this.write(a):"";if(this.lastNeed){var b=this.lastTotal-this.lastNeed;return p+this.lastChar.toString("utf16le",0,b)}return p}function _(a,p){var b=(a.length-p)%3;return b===0?a.toString("base64",p):(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",p,a.length-b))}function T(a){var p=a&&a.length?this.write(a):"";return this.lastNeed?p+this.lastChar.toString("base64",0,3-this.lastNeed):p}function N(a){return a.toString(this.encoding)}function C(a){return a&&a.length?this.write(a):""}return Ze}exports.browser=Vo;exports.callBound=fe;exports.eventsExports=Ft;exports.getIntrinsic=lr;exports.inherits_browserExports=Gr;exports.require$$2=Zr;exports.requireString_decoder=Ko;exports.type=ie;exports.util=Yr;
@@ -14711,7 +14711,7 @@ const dt = class dt {
14711
14711
  return;
14712
14712
  }
14713
14713
  }
14714
- static updateDocumentVersion(e = this.convertedXml, t = "0.9.7") {
14714
+ static updateDocumentVersion(e = this.convertedXml, t = "0.9.8") {
14715
14715
  const n = "docProps/custom.xml";
14716
14716
  e[n] || (e[n] = yu());
14717
14717
  const i = e["docProps/custom.xml"];
@@ -14911,7 +14911,7 @@ function Mp(r) {
14911
14911
  function yu() {
14912
14912
  return Tf;
14913
14913
  }
14914
- function wu(r = 2, e = "0.9.7") {
14914
+ function wu(r = 2, e = "0.9.8") {
14915
14915
  return {
14916
14916
  type: "element",
14917
14917
  name: "property",
@@ -1,4 +1,4 @@
1
- import { p as Tt, L as wt, O as ut, Q as Bt, U as Rt } from "./converter-B8WVkWwL.js";
1
+ import { p as Tt, L as wt, O as ut, Q as Bt, U as Rt } from "./converter-Bk7BXCPO.js";
2
2
  function kt(bt) {
3
3
  throw new Error('Could not dynamically require "' + bt + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
4
4
  }
@@ -7,9 +7,9 @@ var I = (t, e, n) => ju(t, typeof e != "symbol" ? e + "" : e, n), Po = (t, e, n)
7
7
  var Je = (t, e, n) => (Po(t, e, "read from private field"), n ? n.call(t) : e.get(t)), ct = (t, e, n) => e.has(t) ? $s("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), Io = (t, e, n, r) => (Po(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n), P = (t, e, n) => (Po(t, e, "access private method"), n);
8
8
  import * as T from "yjs";
9
9
  import { UndoManager as Hu, Item as Wu, ContentType as Uu, Text as qu, XmlElement as Ku } from "yjs";
10
- import { P as G, a as J, M as nr, N as B, S as Y, T as V, b as _, D as Ln, F as E, c as Sn, d as Xu, e as Pl, A as mr, p as oe, f as Il, i as Yu, g as gt, l as gr, h as Vt, j as Rl, r as Ll, R as on, o as rr, k as Ft, m as li, n as Bl, q as ue, s as Ve, v as ko, t as yn, u as Gu, w as Me, x as Wr, y as Fl, z as bn, B as Ro, C as Lo, E as Bo, G as Ur, H as Ju, I as Vs, J as Zu, K as Qu } from "./converter-B8WVkWwL.js";
10
+ import { P as G, a as J, M as nr, N as B, S as Y, T as V, b as _, D as Ln, F as E, c as Sn, d as Xu, e as Pl, A as mr, p as oe, f as Il, i as Yu, g as gt, l as gr, h as Vt, j as Rl, r as Ll, R as on, o as rr, k as Ft, m as li, n as Bl, q as ue, s as Ve, v as ko, t as yn, u as Gu, w as Me, x as Wr, y as Fl, z as bn, B as Ro, C as Lo, E as Bo, G as Ur, H as Ju, I as Vs, J as Zu, K as Qu } from "./converter-Bk7BXCPO.js";
11
11
  import { ref as _s, computed as ef, createElementBlock as Ut, openBlock as qt, withModifiers as Fo, Fragment as tf, renderList as nf, normalizeClass as rf, createCommentVNode as js, toDisplayString as zo, createElementVNode as of, createApp as sf } from "vue";
12
- import { D as Hs } from "./docx-zipper-Cb_c9Za4.js";
12
+ import { D as Hs } from "./docx-zipper-DUxGbs3P.js";
13
13
  function vo(t) {
14
14
  const { from: e, to: n, empty: r } = t.selection, o = [];
15
15
  return r ? (t.storedMarks && o.push(...t.storedMarks), o.push(...t.selection.$head.marks())) : t.doc.nodesBetween(e, n, (i) => {
@@ -8550,7 +8550,7 @@ const Fs = class Fs extends Gh {
8550
8550
  * @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
8551
8551
  */
8552
8552
  processCollaborationMigrations() {
8553
- if (console.debug("[checkVersionMigrations] Current editor version", "0.9.7"), !this.options.ydoc) return;
8553
+ if (console.debug("[checkVersionMigrations] Current editor version", "0.9.8"), !this.options.ydoc) return;
8554
8554
  let r = this.options.ydoc.getMap("meta").get("version");
8555
8555
  r || (r = "initial"), console.debug("[checkVersionMigrations] Document version", r);
8556
8556
  const o = Fa(r) || [], s = this.state.plugins.find((c) => c.key.startsWith("y-sync"));
@@ -1,6 +1,6 @@
1
1
  import { computed as _, createElementBlock as se, openBlock as q, createElementVNode as pn, createCommentVNode as pe, normalizeClass as Zt, normalizeStyle as Jt, ref as R, unref as W, createBlock as Ge, toDisplayString as ni, withDirectives as dt, withKeys as Nr, withModifiers as Hr, vModelText as jr, getCurrentInstance as _t, createVNode as Et, readonly as Qt, watch as we, onMounted as Ke, onBeforeUnmount as Be, reactive as Ks, onBeforeMount as dr, inject as te, onActivated as Vs, onDeactivated as ri, createTextVNode as At, Fragment as _e, Comment as fr, defineComponent as ee, provide as Se, h as E, Teleport as Us, toRef as ie, nextTick as Gs, renderSlot as Xs, isVNode as qs, shallowRef as Ys, watchEffect as ft, mergeProps as pt, Transition as en, vShow as Zs, cloneVNode as Js, Text as Qs, renderList as el, withCtx as Bn } from "vue";
2
- import { p as tn } from "./converter-B8WVkWwL.js";
3
- import { _ as vt, g as Pt } from "./editor-DeIwPnr3.js";
2
+ import { p as tn } from "./converter-Bk7BXCPO.js";
3
+ import { _ as vt, g as Pt } from "./editor-COmnuThI.js";
4
4
  const Mp = (e, t) => {
5
5
  let n = e.replace(/[^0-9.]/g, "");
6
6
  return n = parseFloat(n), isNaN(n) && (n = t), n = parseFloat(n), n;
@@ -1,4 +1,4 @@
1
- import { E as o } from "./chunks/converter-B8WVkWwL.js";
1
+ import { E as o } from "./chunks/converter-Bk7BXCPO.js";
2
2
  export {
3
3
  o as SuperConverter
4
4
  };
@@ -1,5 +1,5 @@
1
- import "./chunks/converter-B8WVkWwL.js";
2
- import { D as a } from "./chunks/docx-zipper-Cb_c9Za4.js";
1
+ import "./chunks/converter-Bk7BXCPO.js";
2
+ import { D as a } from "./chunks/docx-zipper-DUxGbs3P.js";
3
3
  export {
4
4
  a as default
5
5
  };
@@ -1,6 +1,6 @@
1
- import { E as m } from "./chunks/editor-DeIwPnr3.js";
2
- import "./chunks/converter-B8WVkWwL.js";
3
- import "./chunks/docx-zipper-Cb_c9Za4.js";
1
+ import { E as m } from "./chunks/editor-COmnuThI.js";
2
+ import "./chunks/converter-Bk7BXCPO.js";
3
+ import "./chunks/docx-zipper-DUxGbs3P.js";
4
4
  export {
5
5
  m as Editor
6
6
  };
@@ -1,4 +1,4 @@
1
- import { J as p } from "./chunks/docx-zipper-Cb_c9Za4.js";
1
+ import { J as p } from "./chunks/docx-zipper-DUxGbs3P.js";
2
2
  async function c(o, t) {
3
3
  const e = new p();
4
4
  return o.forEach((i, n) => {
@@ -6,13 +6,13 @@ var rt = (t, s, o) => s in t ? at(t, s, { enumerable: !0, configurable: !0, writ
6
6
  var Ie = (t, s, o) => rt(t, typeof s != "symbol" ? s + "" : s, o), Pe = (t, s, o) => s.has(t) || Ne("Cannot " + o);
7
7
  var we = (t, s, o) => (Pe(t, s, "read from private field"), o ? o.call(t) : s.get(t)), Le = (t, s, o) => s.has(t) ? Ne("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(t) : s.set(t, o);
8
8
  var O = (t, s, o) => (Pe(t, s, "access private method"), o);
9
- import { _ as K, a as Ue, b as ct, I as Me, f as dt, c as ze, d as ut, i as mt, u as pt, r as ft, E as De, e as ht, P as vt, h as gt, j as yt, A as bt, N as kt } from "./chunks/editor-DeIwPnr3.js";
10
- import { C as ko, T as Co, l as _o, n as wo, k as xo, m as Eo } from "./chunks/editor-DeIwPnr3.js";
11
- import { Q as Ct, v as _t, V as wt, T as Ve, a as xt } from "./chunks/converter-B8WVkWwL.js";
12
- import { E as To } from "./chunks/converter-B8WVkWwL.js";
9
+ import { _ as K, a as Ue, b as ct, I as Me, f as dt, c as ze, d as ut, i as mt, u as pt, r as ft, E as De, e as ht, P as vt, h as gt, j as yt, A as bt, N as kt } from "./chunks/editor-COmnuThI.js";
10
+ import { C as ko, T as Co, l as _o, n as wo, k as xo, m as Eo } from "./chunks/editor-COmnuThI.js";
11
+ import { Q as Ct, v as _t, V as wt, T as Ve, a as xt } from "./chunks/converter-Bk7BXCPO.js";
12
+ import { E as To } from "./chunks/converter-Bk7BXCPO.js";
13
13
  import { ref as g, createElementBlock as C, openBlock as k, createElementVNode as x, unref as $, getCurrentInstance as Et, computed as j, watch as St, onMounted as ke, createCommentVNode as ee, withDirectives as Tt, withKeys as At, normalizeClass as te, withModifiers as be, vModelText as Ft, createTextVNode as It, toDisplayString as ne, Fragment as U, renderList as J, normalizeStyle as Y, createVNode as z, h as W, createApp as Lt, reactive as We, onUnmounted as Mt, shallowRef as qe, onBeforeUnmount as Ge, createBlock as Dt } from "vue";
14
- import { t as G, s as $t, T as Bt, N as Z } from "./chunks/toolbar-C-IJLBF5.js";
15
- import { D as Fo } from "./chunks/docx-zipper-Cb_c9Za4.js";
14
+ import { t as G, s as $t, T as Bt, N as Z } from "./chunks/toolbar-C_IRomx1.js";
15
+ import { D as Fo } from "./chunks/docx-zipper-DUxGbs3P.js";
16
16
  import { createZip as Lo } from "./file-zipper.es.js";
17
17
  var Ke = { exports: {} };
18
18
  (function(t) {
@@ -1,6 +1,6 @@
1
1
  import "vue";
2
- import { T as p } from "./chunks/toolbar-C-IJLBF5.js";
3
- import "./chunks/editor-DeIwPnr3.js";
2
+ import { T as p } from "./chunks/toolbar-C_IRomx1.js";
3
+ import "./chunks/editor-COmnuThI.js";
4
4
  export {
5
5
  p as default
6
6
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/super-editor.es-B623EKXl.cjs");require("./chunks/vue-Ckf0DkDN.cjs");exports.BasicUpload=e.ho;exports.CommentsPluginKey=e.he;exports.DocxZipper=e.Nt;exports.Editor=e.Ni;exports.Extensions=e.go;exports.SuperConverter=e.Ft;exports.SuperEditor=e.fo;exports.SuperInput=e.vo;exports.SuperToolbar=e.po;exports.Toolbar=e._p;exports.TrackChangesBasePluginKey=e.de;exports.createZip=e.c;exports.fieldAnnotationHelpers=e.Av;exports.getActiveFormatting=e.af;exports.getAllowedImageDimensions=e.Gn;exports.getMarksFromSelection=e.vo$1;exports.getRichTextExtensions=e.hv;exports.getStarterExtensions=e.mv;exports.helpers=e.td;exports.trackChangesHelpers=e.Tv;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/super-editor.es-pEmidalw.cjs");require("./chunks/vue-Ckf0DkDN.cjs");exports.BasicUpload=e.ho;exports.CommentsPluginKey=e.he;exports.DocxZipper=e.Nt;exports.Editor=e.Ni;exports.Extensions=e.go;exports.SuperConverter=e.Ft;exports.SuperEditor=e.fo;exports.SuperInput=e.vo;exports.SuperToolbar=e.po;exports.Toolbar=e._p;exports.TrackChangesBasePluginKey=e.de;exports.createZip=e.c;exports.fieldAnnotationHelpers=e.Av;exports.getActiveFormatting=e.af;exports.getAllowedImageDimensions=e.Gn;exports.getMarksFromSelection=e.vo$1;exports.getRichTextExtensions=e.hv;exports.getStarterExtensions=e.mv;exports.helpers=e.td;exports.trackChangesHelpers=e.Tv;
@@ -1,4 +1,4 @@
1
- import { h as t, a as r, N as o, b as i, g as n, F as p, f as g, v as l, p as c, _ as m, d as u, c as d, A as x, e as S, G as h, i as E, j as T, m as A, t as C, T as b } from "./chunks/super-editor.es-C96Gczy_.es.js";
1
+ import { h as t, a as r, N as o, b as i, g as n, F as p, f as g, v as l, p as c, _ as m, d as u, c as d, A as x, e as S, G as h, i as E, j as T, m as A, t as C, T as b } from "./chunks/super-editor.es-DNghCrfT.es.js";
2
2
  import "./chunks/vue-BDbTsTMu.es.js";
3
3
  export {
4
4
  t as BasicUpload,