@harbour-enterprises/superdoc 0.11.30 → 0.11.31
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-D8Qchtwe.cjs → index-BXKGjuVW.cjs} +1 -1
- package/dist/chunks/{index-D5LUU_DK.es.js → index-CPZ-IxHT.es.js} +1 -1
- package/dist/chunks/{index-BJQ3rSJD.cjs → index-CqRwYOdx.cjs} +1 -1
- package/dist/chunks/{index-BIKukPks.es.js → index-Y7BlAr93.es.js} +2 -2
- package/dist/chunks/{super-editor.es-B9zU4phN.es.js → super-editor.es-D8XdnWMu.es.js} +11 -9
- package/dist/chunks/{super-editor.es-DR8TyHgu.cjs → super-editor.es-DkAuD0cl.cjs} +3 -3
- package/dist/chunks/{url-lfePTVJU.cjs → url-6Xu7gR4T.cjs} +1 -1
- package/dist/chunks/{url-ChEJem8_.es.js → url-t15h9onH.es.js} +1 -1
- package/dist/chunks/{xml-js-Dq803VXB.es.js → xml-js-kwrvzyhm.es.js} +753 -739
- package/dist/chunks/xml-js-zhwNEV5e.cjs +10 -0
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-69UAZ0Ft.js → converter-hZK1xKPW.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-CvLDRHYT.js → docx-zipper-DMEmQVkt.js} +1 -1
- package/dist/super-editor/chunks/{editor-Br7gJJbN.js → editor-GtdcYA5D.js} +11 -9
- package/dist/super-editor/chunks/{toolbar-BX3EQkLT.js → toolbar-Bk4txCKp.js} +2 -2
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/core/Editor.d.ts +25 -5
- package/dist/super-editor/core/Editor.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.es.js +1 -1
- package/dist/superdoc.cjs +3 -3
- package/dist/superdoc.es.js +6 -6
- package/dist/superdoc.umd.js +12 -10
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +2 -2
- package/dist/chunks/xml-js-BXHFNveP.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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as u, onMounted as X, onUnmounted as q, computed as S, createElementBlock as A, openBlock as M, withModifiers as E, createElementVNode as h, withDirectives as $, unref as I, vModelText as B, createCommentVNode as G, nextTick as U } from "vue";
|
|
2
|
-
import { T as Y } from "./chunks/converter-
|
|
3
|
-
import { _ as J } from "./chunks/editor-
|
|
2
|
+
import { T as Y } from "./chunks/converter-hZK1xKPW.js";
|
|
3
|
+
import { _ as J } from "./chunks/editor-GtdcYA5D.js";
|
|
4
4
|
const Q = "https://sd-dev-express-gateway-i6xtm.ondigitalocean.app/insights", C = "You are an expert copywriter and you are immersed in a document editor. You are to provide document related text responses based on the user prompts. Only write what is asked for. Do not provide explanations. Try to keep placeholders as short as possible. Do not output your prompt. Your instructions are: ";
|
|
5
5
|
async function D(i, r = {}) {
|
|
6
6
|
const e = r.apiKey, s = r.endpoint || Q;
|
|
@@ -16739,7 +16739,7 @@ const pt = class pt {
|
|
|
16739
16739
|
return;
|
|
16740
16740
|
}
|
|
16741
16741
|
}
|
|
16742
|
-
static updateDocumentVersion(e = this.convertedXml, t = "0.11.
|
|
16742
|
+
static updateDocumentVersion(e = this.convertedXml, t = "0.11.31") {
|
|
16743
16743
|
const n = "docProps/custom.xml";
|
|
16744
16744
|
e[n] || (e[n] = Fu());
|
|
16745
16745
|
const i = e["docProps/custom.xml"];
|
|
@@ -17002,7 +17002,7 @@ function Cp(r) {
|
|
|
17002
17002
|
function Fu() {
|
|
17003
17003
|
return Gf;
|
|
17004
17004
|
}
|
|
17005
|
-
function Bu(r = 2, e = "0.11.
|
|
17005
|
+
function Bu(r = 2, e = "0.11.31") {
|
|
17006
17006
|
return {
|
|
17007
17007
|
type: "element",
|
|
17008
17008
|
name: "property",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as Tt, a0 as wt, B as ut, a1 as Bt, a2 as Rt } from "./converter-
|
|
1
|
+
import { p as Tt, a0 as wt, B as ut, a1 as Bt, a2 as Rt } from "./converter-hZK1xKPW.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 L = (t, e, n) => zf(t, typeof e != "symbol" ? e + "" : e, n), Zi = (t, e, n)
|
|
|
7
7
|
var Qe = (t, e, n) => (Zi(t, e, "read from private field"), n ? n.call(t) : e.get(t)), ft = (t, e, n) => e.has(t) ? ua("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), Qi = (t, e, n, r) => (Zi(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n), E = (t, e, n) => (Zi(t, e, "access private method"), n);
|
|
8
8
|
import * as N from "yjs";
|
|
9
9
|
import { UndoManager as _f, Item as $f, ContentType as Vf, Text as Hf, XmlElement as jf } from "yjs";
|
|
10
|
-
import { P as X, a as J, M as pr, c as Y, N as _, S as ee, T as j, b as W, D as jn, F as T, d as rn, e as Wf, f as gc, A as Er, p as ie, B as Uf, i as qf, g as yc, h as Kf, j as wt, l as Pr, k as jt, m as bc, r as wc, R as ln, o as hr, n as fa, q as Vt, s as Eo, t as vc, u as Xf, v as Jf, w as de, x as Ve, y as Ir, z as xn, C as xi, E as Yf, G as Se, H as ui, I as kc, J as Sn, K as eo, L as to, O as no, Q as fi, U as Rt, V as _i, W as Gf, X as pa, Y as ha, Z as Zf, _ as Qf, $ as ep } from "./converter-
|
|
10
|
+
import { P as X, a as J, M as pr, c as Y, N as _, S as ee, T as j, b as W, D as jn, F as T, d as rn, e as Wf, f as gc, A as Er, p as ie, B as Uf, i as qf, g as yc, h as Kf, j as wt, l as Pr, k as jt, m as bc, r as wc, R as ln, o as hr, n as fa, q as Vt, s as Eo, t as vc, u as Xf, v as Jf, w as de, x as Ve, y as Ir, z as xn, C as xi, E as Yf, G as Se, H as ui, I as kc, J as Sn, K as eo, L as to, O as no, Q as fi, U as Rt, V as _i, W as Gf, X as pa, Y as ha, Z as Zf, _ as Qf, $ as ep } from "./converter-hZK1xKPW.js";
|
|
11
11
|
import { ref as ma, computed as tp, createElementBlock as Xt, openBlock as Jt, withModifiers as ro, Fragment as np, renderList as rp, normalizeClass as ip, createCommentVNode as ga, toDisplayString as io, createElementVNode as op, createApp as sp } from "vue";
|
|
12
|
-
import { D as ya } from "./docx-zipper-
|
|
12
|
+
import { D as ya } from "./docx-zipper-DMEmQVkt.js";
|
|
13
13
|
function $i(t) {
|
|
14
14
|
const { from: e, to: n, empty: r } = t.selection, i = [];
|
|
15
15
|
return r ? (t.storedMarks && i.push(...t.storedMarks), i.push(...t.selection.$head.marks())) : t.doc.nodesBetween(e, n, (o) => {
|
|
@@ -10178,7 +10178,7 @@ const ca = class ca extends Fg {
|
|
|
10178
10178
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
10179
10179
|
*/
|
|
10180
10180
|
processCollaborationMigrations() {
|
|
10181
|
-
if (console.debug("[checkVersionMigrations] Current editor version", "0.11.
|
|
10181
|
+
if (console.debug("[checkVersionMigrations] Current editor version", "0.11.31"), !this.options.ydoc) return;
|
|
10182
10182
|
let r = this.options.ydoc.getMap("meta").get("version");
|
|
10183
10183
|
r || (r = "initial"), console.debug("[checkVersionMigrations] Document version", r);
|
|
10184
10184
|
const i = hl(r) || [], s = this.state.plugins.find((c) => c.key.startsWith("y-sync"));
|
|
@@ -10218,18 +10218,20 @@ const ca = class ca extends Fg {
|
|
|
10218
10218
|
* pre-process the document as needed prior to running in the annotator.
|
|
10219
10219
|
*
|
|
10220
10220
|
* Currently this is only used for table generation but additional pre-processing can be done here.
|
|
10221
|
-
*
|
|
10221
|
+
*
|
|
10222
|
+
* @param {FieldValue[]} annotationValues
|
|
10222
10223
|
* @returns {void}
|
|
10223
10224
|
*/
|
|
10224
|
-
prepareForAnnotations(n = []
|
|
10225
|
-
const { tr:
|
|
10226
|
-
this.view.dispatch(
|
|
10225
|
+
prepareForAnnotations(n = []) {
|
|
10226
|
+
const { tr: r } = this.state, { dispatch: i } = this.view, o = ko.processTables({ editor: this, tr: r, annotationValues: n });
|
|
10227
|
+
this.view.dispatch(o);
|
|
10227
10228
|
}
|
|
10228
10229
|
/**
|
|
10229
10230
|
* Annotate the document with the given annotation values.
|
|
10230
10231
|
*
|
|
10231
|
-
* @param {
|
|
10232
|
-
* @param {
|
|
10232
|
+
* @param {FieldValue[]} annotationValues List of field values to apply.
|
|
10233
|
+
* @param {String[]} hiddenIds List of field ids to remove from the document.
|
|
10234
|
+
* @returns {void}
|
|
10233
10235
|
*/
|
|
10234
10236
|
annotate(n = [], r = []) {
|
|
10235
10237
|
const { state: i, view: o, schema: s } = this;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed as _, createElementBlock as ie, openBlock as q, createElementVNode as Ot, createCommentVNode as he, normalizeClass as en, normalizeStyle as Tt, ref as R, unref as W, createBlock as Ge, toDisplayString as Xn, withDirectives as ft, withKeys as Hr, withModifiers as jr, vModelText as Wr, getCurrentInstance as Lt, createVNode as ct, readonly as tn, watch as we, onMounted as Ke, onBeforeUnmount as Be, reactive as Us, onBeforeMount as fr, inject as te, onActivated as Gs, onDeactivated as oi, createTextVNode as ht, Fragment as _e, Comment as hr, defineComponent as ee, provide as Se, h as A, Teleport as Xs, toRef as se, nextTick as ii, renderSlot as qs, isVNode as Ys, shallowRef as Zs, watchEffect as pt, mergeProps as gt, Transition as nn, vShow as Js, cloneVNode as Qs, Text as el, renderList as tl, withCtx as xt } from "vue";
|
|
2
|
-
import { p as rn } from "./converter-
|
|
3
|
-
import { _ as mt, g as kt } from "./editor-
|
|
2
|
+
import { p as rn } from "./converter-hZK1xKPW.js";
|
|
3
|
+
import { _ as mt, g as kt } from "./editor-GtdcYA5D.js";
|
|
4
4
|
const I0 = (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,5 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} FieldValue
|
|
3
|
+
* @property {string} input_id The id of the input field
|
|
4
|
+
* @property {string} input_value The value to insert into the field
|
|
5
|
+
*/
|
|
1
6
|
/**
|
|
2
7
|
* Editor main class.
|
|
8
|
+
*
|
|
9
|
+
* Expects a config object.
|
|
10
|
+
* @class
|
|
3
11
|
*/
|
|
4
12
|
export class Editor extends EventEmitter {
|
|
5
13
|
/**
|
|
@@ -223,18 +231,30 @@ export class Editor extends EventEmitter {
|
|
|
223
231
|
* pre-process the document as needed prior to running in the annotator.
|
|
224
232
|
*
|
|
225
233
|
* Currently this is only used for table generation but additional pre-processing can be done here.
|
|
226
|
-
*
|
|
234
|
+
*
|
|
235
|
+
* @param {FieldValue[]} annotationValues
|
|
227
236
|
* @returns {void}
|
|
228
237
|
*/
|
|
229
|
-
prepareForAnnotations(annotationValues?:
|
|
238
|
+
prepareForAnnotations(annotationValues?: FieldValue[]): void;
|
|
230
239
|
/**
|
|
231
240
|
* Annotate the document with the given annotation values.
|
|
232
241
|
*
|
|
233
|
-
* @param {
|
|
234
|
-
* @param {
|
|
242
|
+
* @param {FieldValue[]} annotationValues List of field values to apply.
|
|
243
|
+
* @param {String[]} hiddenIds List of field ids to remove from the document.
|
|
244
|
+
* @returns {void}
|
|
235
245
|
*/
|
|
236
|
-
annotate(annotationValues?:
|
|
246
|
+
annotate(annotationValues?: FieldValue[], hiddenIds?: string[]): void;
|
|
237
247
|
#private;
|
|
238
248
|
}
|
|
249
|
+
export type FieldValue = {
|
|
250
|
+
/**
|
|
251
|
+
* The id of the input field
|
|
252
|
+
*/
|
|
253
|
+
input_id: string;
|
|
254
|
+
/**
|
|
255
|
+
* The value to insert into the field
|
|
256
|
+
*/
|
|
257
|
+
input_value: string;
|
|
258
|
+
};
|
|
239
259
|
import { EventEmitter } from './EventEmitter.js';
|
|
240
260
|
//# sourceMappingURL=Editor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../src/core/Editor.js"],"names":[],"mappings":"AA0BA
|
|
1
|
+
{"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../src/core/Editor.js"],"names":[],"mappings":"AA0BA;;;;GAIG;AAEH;;;;;GAKG;AACH;IAwgBE;;;OAGG;IACH,sEAQC;IAED,6CAGC;IAED,8DAGC;IAsiBD,sDAKC;IA7/BD,0BAmBC;IA5FD,sBAAiB;IAEjB,qBAAsB;IAEtB,YAAO;IAEP,UAAK;IAEL,mBAAkB;IAIlB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA2DE;IAmIF,+BAEC;IADC,aAAsB;IAgBxB;;OAEG;IACH,cAEC;IAED;;OAEG;IACH,iBAEC;IAED;;OAEG;IACH,kBAEC;IAED;;OAEG;IACH,oBAEC;IAED;;OAEG;IACH,sBAEC;IAED;;OAEG;IACH,uBAEC;IAED;;OAEG;IACH,mBAEC;IAED;;OAEG;IACH,mBAEC;IAED;;OAEG;IACH,aAEC;IAED;;OAEG;IACH,WAEC;IAED,yCA8BC;IAED;;;OAGG;IACH,oCAYC;IA0BD;;;OAGG;IACH,+BA0BC;IAED;;;;OAIG;IACH,uDAMC;IAED;;;;OAIG;IACH,sDAQC;IAED;;;OAGG;IACH,6CAUC;IAgCG,eAAuC;IAiK3C;;OAEG;IACH,wBAIC;IAED;;;;;;MAeC;IAED;;;;OAIG;IACH,uCAgDC;IAED,qCAkDC;IA2HD;;;;OAIG;IACH,oCAEC;IAED;;;;;;OAMG;IACH,qEAKC;IAED;;OAEG;IACH,eAEC;IAED;;OAEG;IACH,kBAMC;IAED;;OAEG;IACH,qBAEC;IAED;;;;;;OAMG;IACH,iCAHG;QAAuB,WAAW;KAClC,GAAU,IAAI,CAiBhB;IA6CD;;OAEG;IACH;;;qBA+DC;IAcD;;OAEG;IACH,gBAKC;IASD;;;;OAIG;IACH,kCAFa,CAAC,CAAC,GAAG,GAAG,SAAS,CA8B7B;IAED,yCA4BC;IAED,+BAGC;IAED,sDAUC;IAED;;;;;;;;OAQG;IACH,yCAHW,UAAU,EAAE,GACV,IAAI,CAOhB;IAED;;;;;;OAMG;IACH,4BAJW,UAAU,EAAE,cACZ,QAAQ,GACN,IAAI,CAgBhB;;CAEF;;;;;cA9sCa,MAAM;;;;iBACN,MAAM;;6BAxBS,mBAAmB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E as m } from "./chunks/editor-
|
|
2
|
-
import "./chunks/converter-
|
|
3
|
-
import "./chunks/docx-zipper-
|
|
1
|
+
import { E as m } from "./chunks/editor-GtdcYA5D.js";
|
|
2
|
+
import "./chunks/converter-hZK1xKPW.js";
|
|
3
|
+
import "./chunks/docx-zipper-DMEmQVkt.js";
|
|
4
4
|
export {
|
|
5
5
|
m as Editor
|
|
6
6
|
};
|
|
@@ -6,14 +6,14 @@ var bt = (t, a, o) => a in t ? yt(t, a, { enumerable: !0, configurable: !0, writ
|
|
|
6
6
|
var Re = (t, a, o) => bt(t, typeof a != "symbol" ? a + "" : a, o), qe = (t, a, o) => a.has(t) || Ue("Cannot " + o);
|
|
7
7
|
var Ae = (t, a, o) => (qe(t, a, "read from private field"), o ? o.call(t) : a.get(t)), Oe = (t, a, o) => a.has(t) ? Ue("Cannot add the same private member more than once") : a instanceof WeakSet ? a.add(t) : a.set(t, o);
|
|
8
8
|
var z = (t, a, o) => (qe(t, a, "access private method"), o);
|
|
9
|
-
import { _ as q, a as Ze, b as wt, I as Ne, f as Ct, c as Ge, d as kt, i as _t, u as xt, r as Et, E as ze, e as St, P as At, h as Tt, M as Ft, j as It, A as Lt, N as Mt } from "./chunks/editor-
|
|
10
|
-
import { C as No, T as zo, l as Vo, n as Wo, k as Po, m as jo } from "./chunks/editor-
|
|
11
|
-
import { a1 as Dt, y as $t, a3 as Ht, T as Ye, a as Bt } from "./chunks/converter-
|
|
12
|
-
import { O as qo } from "./chunks/converter-
|
|
9
|
+
import { _ as q, a as Ze, b as wt, I as Ne, f as Ct, c as Ge, d as kt, i as _t, u as xt, r as Et, E as ze, e as St, P as At, h as Tt, M as Ft, j as It, A as Lt, N as Mt } from "./chunks/editor-GtdcYA5D.js";
|
|
10
|
+
import { C as No, T as zo, l as Vo, n as Wo, k as Po, m as jo } from "./chunks/editor-GtdcYA5D.js";
|
|
11
|
+
import { a1 as Dt, y as $t, a3 as Ht, T as Ye, a as Bt } from "./chunks/converter-hZK1xKPW.js";
|
|
12
|
+
import { O as qo } from "./chunks/converter-hZK1xKPW.js";
|
|
13
13
|
import { ref as f, createElementBlock as C, openBlock as w, createElementVNode as k, unref as D, getCurrentInstance as Rt, computed as j, watch as Ot, onMounted as ke, createCommentVNode as Q, withDirectives as Je, withKeys as Qe, normalizeClass as oe, withModifiers as ge, vModelText as et, createTextVNode as tt, toDisplayString as ie, Fragment as U, renderList as ee, normalizeStyle as J, createVNode as P, h as B, createApp as Nt, reactive as Ke, onUnmounted as zt, shallowRef as nt, onBeforeUnmount as ot, createBlock as Vt } from "vue";
|
|
14
|
-
import { t as X, s as Wt, T as Pt, N as Y } from "./chunks/toolbar-
|
|
14
|
+
import { t as X, s as Wt, T as Pt, N as Y } from "./chunks/toolbar-Bk4txCKp.js";
|
|
15
15
|
import jt from "./ai-writer.es.js";
|
|
16
|
-
import { D as Ko } from "./chunks/docx-zipper-
|
|
16
|
+
import { D as Ko } from "./chunks/docx-zipper-DMEmQVkt.js";
|
|
17
17
|
import { createZip as Zo } from "./file-zipper.es.js";
|
|
18
18
|
var it = { exports: {} };
|
|
19
19
|
(function(t) {
|
package/dist/super-editor.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/super-editor.es-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/super-editor.es-DkAuD0cl.cjs");require("./chunks/vue-Ckf0DkDN.cjs");exports.AIWriter=e.me;exports.BasicUpload=e.$o;exports.CommentsPluginKey=e.ge;exports.DocxZipper=e.Nt;exports.Editor=e.ns;exports.Extensions=e.Bo;exports.SuperConverter=e.Ot;exports.SuperEditor=e.Do;exports.SuperInput=e.Ho;exports.SuperToolbar=e.Mo;exports.Toolbar=e.P0;exports.TrackChangesBasePluginKey=e.ce;exports.createZip=e.c;exports.fieldAnnotationHelpers=e.Kx;exports.getActiveFormatting=e.ap;exports.getAllowedImageDimensions=e.mo;exports.getMarksFromSelection=e.$i;exports.getRichTextExtensions=e.Lx;exports.getStarterExtensions=e.Fx;exports.helpers=e.Xs;exports.trackChangesHelpers=e.Jx;
|
package/dist/super-editor.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as r, $ as t, g as o, N as n, n as i, B as p, O as g, D as l, H as c, M as m, P as u, c as d, a as x, K as S, b as E, d as h, e as A, L as C, F as T, X as b, J as k } from "./chunks/super-editor.es-
|
|
1
|
+
import { m as r, $ as t, g as o, N as n, n as i, B as p, O as g, D as l, H as c, M as m, P as u, c as d, a as x, K as S, b as E, d as h, e as A, L as C, F as T, X as b, J as k } from "./chunks/super-editor.es-D8XdnWMu.es.js";
|
|
2
2
|
import "./chunks/vue-DXpzqXur.es.js";
|
|
3
3
|
export {
|
|
4
4
|
r as AIWriter,
|