@harbour-enterprises/superdoc 0.10.33 → 0.10.35
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-BXKGjuVW.cjs → index-C4-w9MLl.cjs} +1 -1
- package/dist/chunks/{index-C3fK1Y-u.es.js → index-CdQWSv8b.es.js} +1 -1
- package/dist/chunks/{index-CqRwYOdx.cjs → index-ChNh-3hE.cjs} +1 -1
- package/dist/chunks/{index-B_4G-Rse.es.js → index-DOBxSDrW.es.js} +2 -2
- package/dist/chunks/{super-editor.es-tz1b2fTc.es.js → super-editor.es-Dkwq9xo6.es.js} +67 -48
- package/dist/chunks/{super-editor.es-D4F9qVqE.cjs → super-editor.es-GMoDySBi.cjs} +5 -5
- package/dist/chunks/{url-6Xu7gR4T.cjs → url-CzUL97Mg.cjs} +1 -1
- package/dist/chunks/{url-D6ObD5O4.es.js → url-Dsvro-99.es.js} +1 -1
- package/dist/chunks/{xml-js-BYiAO46K.es.js → xml-js-Buzt-6J1.es.js} +303 -296
- package/dist/chunks/xml-js-zfoNze4t.cjs +10 -0
- package/dist/super-editor/ai-writer.es.js +1 -1
- package/dist/super-editor/chunks/{converter-CbAB_Xc1.js → converter-DgikIv5V.js} +10 -9
- package/dist/super-editor/chunks/{docx-zipper-yX8G5Vma.js → docx-zipper-DzgWW0Ro.js} +1 -1
- package/dist/super-editor/chunks/{editor-8NZOnJKB.js → editor-CmKj3RqN.js} +40 -37
- package/dist/super-editor/chunks/{toolbar-Ctl7zSr9.js → toolbar-D3QDJobB.js} +2 -2
- package/dist/super-editor/components/toolbar/super-toolbar.d.ts.map +1 -1
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/core/super-converter/helpers.d.ts +5 -1
- package/dist/super-editor/core/super-converter/helpers.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/v2/importer/listImporter.d.ts.map +1 -1
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/extensions/line-height/line-height.d.ts.map +1 -1
- package/dist/super-editor/extensions/linked-styles/linked-styles.d.ts +2 -5
- package/dist/super-editor/extensions/linked-styles/linked-styles.d.ts.map +1 -1
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/super-editor.es.js +396 -381
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +5 -5
- package/dist/superdoc.cjs +3 -3
- package/dist/superdoc.es.js +6 -6
- package/dist/superdoc.umd.js +424 -405
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/xml-js-zhwNEV5e.cjs +0 -10
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";const ne=require("./jszip-ChlzEvf9.cjs"),L=require("./vue-Ckf0DkDN.cjs");var Qe={exports:{}};typeof Object.create=="function"?Qe.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:Qe.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 Wr=Qe.exports,ar={exports:{}},re=typeof Reflect=="object"?Reflect:null,hr=re&&typeof re.apply=="function"?re.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)},me;re&&typeof re.ownKeys=="function"?me=re.ownKeys:Object.getOwnPropertySymbols?me=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:me=function(e){return Object.getOwnPropertyNames(e)};function jt(r){console&&console.warn&&console.warn(r)}var qr=Number.isNaN||function(e){return e!==e};function P(){P.init.call(this)}ar.exports=P;ar.exports.once=Ft;P.EventEmitter=P;P.prototype._events=void 0;P.prototype._eventsCount=0;P.prototype._maxListeners=void 0;var gr=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 gr},set:function(r){if(typeof r!="number"||r<0||qr(r))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+r+".");gr=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||qr(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 zr(r){return r._maxListeners===void 0?P.defaultMaxListeners:r._maxListeners}P.prototype.getMaxListeners=function(){return zr(this)};P.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var i=e==="error",l=this._events;if(l!==void 0)i=i&&l.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=l[e];if(y===void 0)return!1;if(typeof y=="function")hr(y,this,t);else for(var m=y.length,w=Zr(y,m),n=0;n<m;++n)hr(w[n],this,t);return!0};function Vr(r,e,t,n){var i,l,u;if(Be(t),l=r._events,l===void 0?(l=r._events=Object.create(null),r._eventsCount=0):(l.newListener!==void 0&&(r.emit("newListener",e,t.listener?t.listener:t),l=r._events),u=l[e]),u===void 0)u=l[e]=t,++r._eventsCount;else if(typeof u=="function"?u=l[e]=n?[t,u]:[u,t]:n?u.unshift(t):u.push(t),i=zr(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,jt(d)}return r}P.prototype.addListener=function(e,t){return Vr(this,e,t,!1)};P.prototype.on=P.prototype.addListener;P.prototype.prependListener=function(e,t){return Vr(this,e,t,!0)};function $t(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function Hr(r,e,t){var n={fired:!1,wrapFn:void 0,target:r,type:e,listener:t},i=$t.bind(n);return i.listener=t,n.wrapFn=i,i}P.prototype.once=function(e,t){return Be(t),this.on(e,Hr(this,e,t)),this};P.prototype.prependOnceListener=function(e,t){return Be(t),this.prependListener(e,Hr(this,e,t)),this};P.prototype.removeListener=function(e,t){var n,i,l,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(l=-1,u=n.length-1;u>=0;u--)if(n[u]===t||n[u].listener===t){d=n[u].listener,l=u;break}if(l<0)return this;l===0?n.shift():Bt(n,l),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 l=Object.keys(n),u;for(i=0;i<l.length;++i)u=l[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 Jr(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?Tt(i):Zr(i,i.length)}P.prototype.listeners=function(e){return Jr(this,e,!0)};P.prototype.rawListeners=function(e){return Jr(this,e,!1)};P.listenerCount=function(r,e){return typeof r.listenerCount=="function"?r.listenerCount(e):Kr.call(r,e)};P.prototype.listenerCount=Kr;function Kr(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 Zr(r,e){for(var t=new Array(e),n=0;n<e;++n)t[n]=r[n];return t}function Bt(r,e){for(;e+1<r.length;e++)r[e]=r[e+1];r.pop()}function Tt(r){for(var e=new Array(r.length),t=0;t<e.length;++t)e[t]=r[t].listener||r[t];return e}function Ft(r,e){return new Promise(function(t,n){function i(u){r.removeListener(e,l),n(u)}function l(){typeof r.removeListener=="function"&&r.removeListener("error",i),t([].slice.call(arguments))}Yr(r,e,l,{once:!0}),e!=="error"&&It(r,i,{once:!0})})}function It(r,e,t){typeof r.on=="function"&&Yr(r,"error",e,t)}function Yr(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(l){n.once&&r.removeEventListener(e,i),t(l)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof r)}var Nt=ar.exports;const Qr=ne.getAugmentedNamespace(ne.dist);var Xr={},et={},rt=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 l in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var u=Object.getOwnPropertySymbols(e);if(u.length!==1||u[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var d=Object.getOwnPropertyDescriptor(e,t);if(d.value!==i||d.enumerable!==!0)return!1}return!0},Rt=rt,Te=function(){return Rt()&&!!Symbol.toStringTag},tt=Object,_t=Error,Ct=EvalError,Lt=RangeError,Ut=ReferenceError,nt=SyntaxError,ie=TypeError,Dt=URIError,Mt=Math.abs,kt=Math.floor,Gt=Math.max,xt=Math.min,Wt=Math.pow,qt=Math.round,zt=Number.isNaN||function(e){return e!==e},Vt=zt,Ht=function(e){return Vt(e)||e===0?e:e<0?-1:1},Jt=Object.getOwnPropertyDescriptor,be=Jt;if(be)try{be([],"length")}catch{be=null}var ae=be,Ae=Object.defineProperty||!1;if(Ae)try{Ae({},"a",{value:1})}catch{Ae=!1}var Fe=Ae,Ce,vr;function Kt(){if(vr)return Ce;vr=1;var r=typeof Symbol<"u"&&Symbol,e=rt;return Ce=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},Ce}var ot=typeof Reflect<"u"&&Reflect.getPrototypeOf||null,Le,mr;function it(){if(mr)return Le;mr=1;var r=tt;return Le=r.getPrototypeOf||null,Le}var Ue,br;function Zt(){if(br)return Ue;br=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},l=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 Ue=function(y){var m=this;if(typeof m!="function"||e.apply(m)!==n)throw new TypeError(r+m);for(var w=l(arguments,1),$,E=function(){if(this instanceof $){var a=m.apply(this,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 $},Ue}var De,Ar;function ce(){if(Ar)return De;Ar=1;var r=Zt();return De=Function.prototype.bind||r,De}var Me,wr;function fr(){return wr||(wr=1,Me=Function.prototype.call),Me}var ke,Sr;function sr(){return Sr||(Sr=1,ke=Function.prototype.apply),ke}var Yt=typeof Reflect<"u"&&Reflect&&Reflect.apply,Qt=ce(),Xt=sr(),en=fr(),rn=Yt,at=rn||Qt.call(en,Xt),tn=ce(),nn=ie,on=fr(),an=at,ur=function(e){if(e.length<1||typeof e[0]!="function")throw new nn("a function is required");return an(tn,on,e)},fn=ur,Or=ae,ft;try{ft=[].__proto__===Array.prototype}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var Ge=!!ft&&Or&&Or(Object.prototype,"__proto__"),st=Object,Pr=st.getPrototypeOf,sn=Ge&&typeof Ge.get=="function"?fn([Ge.get]):typeof Pr=="function"?function(e){return Pr(e==null?e:st(e))}:!1,Er=ot,jr=it(),$r=sn,cr=Er?function(e){return Er(e)}:jr?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return jr(e)}:$r?function(e){return $r(e)}:null,xe,Br;function ut(){if(Br)return xe;Br=1;var r=Function.prototype.call,e=Object.prototype.hasOwnProperty,t=ce();return xe=t.call(r,e),xe}var v,un=tt,cn=_t,ln=Ct,yn=Lt,pn=Ut,oe=nt,te=ie,dn=Dt,hn=Mt,gn=kt,vn=Gt,mn=xt,bn=Wt,An=qt,wn=Ht,ct=Function,We=function(r){try{return ct('"use strict"; return ('+r+").constructor;")()}catch{}},ue=ae,Sn=Fe,qe=function(){throw new te},On=ue?function(){try{return arguments.callee,qe}catch{try{return ue(arguments,"callee").get}catch{return qe}}}():qe,Y=Kt()(),F=cr,Pn=it(),En=ot,lt=sr(),le=fr(),X={},jn=typeof Uint8Array>"u"||!F?v:F(Uint8Array),z={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?v:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?v:ArrayBuffer,"%ArrayIteratorPrototype%":Y&&F?F([][Symbol.iterator]()):v,"%AsyncFromSyncIteratorPrototype%":v,"%AsyncFunction%":X,"%AsyncGenerator%":X,"%AsyncGeneratorFunction%":X,"%AsyncIteratorPrototype%":X,"%Atomics%":typeof Atomics>"u"?v:Atomics,"%BigInt%":typeof BigInt>"u"?v:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?v:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?v:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?v:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":cn,"%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%":ct,"%GeneratorFunction%":X,"%Int8Array%":typeof Int8Array>"u"?v:Int8Array,"%Int16Array%":typeof Int16Array>"u"?v:Int16Array,"%Int32Array%":typeof Int32Array>"u"?v:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Y&&F?F(F([][Symbol.iterator]())):v,"%JSON%":typeof JSON=="object"?JSON:v,"%Map%":typeof Map>"u"?v:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Y||!F?v:F(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":un,"%Object.getOwnPropertyDescriptor%":ue,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?v:Promise,"%Proxy%":typeof Proxy>"u"?v:Proxy,"%RangeError%":yn,"%ReferenceError%":pn,"%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%":On,"%TypedArray%":jn,"%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%":dn,"%WeakMap%":typeof WeakMap>"u"?v:WeakMap,"%WeakRef%":typeof WeakRef>"u"?v:WeakRef,"%WeakSet%":typeof WeakSet>"u"?v:WeakSet,"%Function.prototype.call%":le,"%Function.prototype.apply%":lt,"%Object.defineProperty%":Sn,"%Object.getPrototypeOf%":Pn,"%Math.abs%":hn,"%Math.floor%":gn,"%Math.max%":vn,"%Math.min%":mn,"%Math.pow%":bn,"%Math.round%":An,"%Math.sign%":wn,"%Reflect.getPrototypeOf%":En};if(F)try{null.error}catch(r){var $n=F(F(r));z["%Error.prototype%"]=$n}var Bn=function r(e){var t;if(e==="%AsyncFunction%")t=We("async function () {}");else if(e==="%GeneratorFunction%")t=We("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=We("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 z[e]=t,t},Tr={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ye=ce(),Pe=ut(),Tn=ye.call(le,Array.prototype.concat),Fn=ye.call(lt,Array.prototype.splice),Fr=ye.call(le,String.prototype.replace),Ee=ye.call(le,String.prototype.slice),In=ye.call(le,RegExp.prototype.exec),Nn=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Rn=/\\(\\)?/g,_n=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 Fr(e,Nn,function(l,u,d,y){i[i.length]=d?Fr(y,Rn,"$1"):u||l}),i},Cn=function(e,t){var n=e,i;if(Pe(Tr,n)&&(i=Tr[n],n="%"+i[0]+"%"),Pe(z,n)){var l=z[n];if(l===X&&(l=Bn(n)),typeof l>"u"&&!t)throw new te("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:l}}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(In(/^%?[^%]*%?$/,e)===null)throw new oe("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=_n(e),i=n.length>0?n[0]:"",l=Cn("%"+i+"%",t),u=l.name,d=l.value,y=!1,m=l.alias;m&&(i=m[0],Fn(n,Tn([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(z,u))d=z[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&&(z[u]=d)}}return d},yt=lr,pt=ur,Ln=pt([yt("%String.prototype.indexOf%")]),fe=function(e,t){var n=yt(e,!!t);return typeof n=="function"&&Ln(e,".prototype.")>-1?pt([n]):n},Un=Te(),Dn=fe,Xe=Dn("Object.prototype.toString"),Ie=function(e){return Un&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:Xe(e)==="[object Arguments]"},dt=function(e){return Ie(e)?!0:e!==null&&typeof e=="object"&&"length"in e&&typeof e.length=="number"&&e.length>=0&&Xe(e)!=="[object Array]"&&"callee"in e&&Xe(e.callee)==="[object Function]"},Mn=function(){return Ie(arguments)}();Ie.isLegacyArguments=dt;var kn=Mn?Ie:dt,Ir=fe,Gn=Te(),xn=ut(),Wn=ae,er;if(Gn){var qn=Ir("RegExp.prototype.exec"),Nr={},ze=function(){throw Nr},Rr={toString:ze,valueOf:ze};typeof Symbol.toPrimitive=="symbol"&&(Rr[Symbol.toPrimitive]=ze),er=function(e){if(!e||typeof e!="object")return!1;var t=Wn(e,"lastIndex"),n=t&&xn(t,"value");if(!n)return!1;try{qn(e,Rr)}catch(i){return i===Nr}}}else{var zn=Ir("Object.prototype.toString"),Vn="[object RegExp]";er=function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:zn(e)===Vn}}var Hn=er,Jn=fe,Kn=Hn,Zn=Jn("RegExp.prototype.exec"),Yn=ie,Qn=function(e){if(!Kn(e))throw new Yn("`regex` must be a RegExp");return function(n){return Zn(e,n)!==null}},ht=fe,Xn=Qn,eo=Xn(/^\s*(?:function)?\*/),gt=Te(),Ve=cr,ro=ht("Object.prototype.toString"),to=ht("Function.prototype.toString"),no=function(){if(!gt)return!1;try{return Function("return function*() {}")()}catch{}},He,oo=function(e){if(typeof e!="function")return!1;if(eo(to(e)))return!0;if(!gt){var t=ro(e);return t==="[object GeneratorFunction]"}if(!Ve)return!1;if(typeof He>"u"){var n=no();He=n?Ve(n):!1}return Ve(e)===He},vt=Function.prototype.toString,ee=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,rr,we;if(typeof ee=="function"&&typeof Object.defineProperty=="function")try{rr=Object.defineProperty({},"length",{get:function(){throw we}}),we={},ee(function(){throw 42},null,rr)}catch(r){r!==we&&(ee=null)}else ee=null;var io=/^\s*class\b/,tr=function(e){try{var t=vt.call(e);return io.test(t)}catch{return!1}},Je=function(e){try{return tr(e)?!1:(vt.call(e),!0)}catch{return!1}},Se=Object.prototype.toString,ao="[object Object]",fo="[object Function]",so="[object GeneratorFunction]",uo="[object HTMLAllCollection]",co="[object HTML document.all class]",lo="[object HTMLCollection]",yo=typeof Symbol=="function"&&!!Symbol.toStringTag,po=!(0 in[,]),nr=function(){return!1};if(typeof document=="object"){var ho=document.all;Se.call(ho)===Se.call(document.all)&&(nr=function(e){if((po||!e)&&(typeof e>"u"||typeof e=="object"))try{var t=Se.call(e);return(t===uo||t===co||t===lo||t===ao)&&e("")==null}catch{}return!1})}var go=ee?function(e){if(nr(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{ee(e,null,rr)}catch(t){if(t!==we)return!1}return!tr(e)&&Je(e)}:function(e){if(nr(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(yo)return Je(e);if(tr(e))return!1;var t=Se.call(e);return t!==fo&&t!==so&&!/^\[object HTML/.test(t)?!1:Je(e)},vo=go,mo=Object.prototype.toString,mt=Object.prototype.hasOwnProperty,bo=function(e,t,n){for(var i=0,l=e.length;i<l;i++)mt.call(e,i)&&(n==null?t(e[i],i,e):t.call(n,e[i],i,e))},Ao=function(e,t,n){for(var i=0,l=e.length;i<l;i++)n==null?t(e.charAt(i),i,e):t.call(n,e.charAt(i),i,e)},wo=function(e,t,n){for(var i in e)mt.call(e,i)&&(n==null?t(e[i],i,e):t.call(n,e[i],i,e))};function So(r){return mo.call(r)==="[object Array]"}var Oo=function(e,t,n){if(!vo(t))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=n),So(e)?bo(e,t,i):typeof e=="string"?Ao(e,t,i):wo(e,t,i)},Po=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],Ke=Po,Eo=typeof globalThis>"u"?ne.commonjsGlobal:globalThis,jo=function(){for(var e=[],t=0;t<Ke.length;t++)typeof Eo[Ke[t]]=="function"&&(e[e.length]=Ke[t]);return e},bt={exports:{}},_r=Fe,$o=nt,Q=ie,Cr=ae,Bo=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,l=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,d=arguments.length>6?arguments[6]:!1,y=!!Cr&&Cr(e,t);if(_r)_r(e,t,{configurable:u===null&&y?y.configurable:!u,enumerable:i===null&&y?y.enumerable:!i,value:n,writable:l===null&&y?y.writable:!l});else if(d||!i&&!l&&!u)e[t]=n;else throw new $o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},or=Fe,At=function(){return!!or};At.hasArrayLengthDefineBug=function(){if(!or)return null;try{return or([],"length",{value:1}).length!==1}catch{return!0}};var To=At,Fo=lr,Lr=Bo,Io=To(),Ur=ae,Dr=ie,No=Fo("%Math.floor%"),Ro=function(e,t){if(typeof e!="function")throw new Dr("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||No(t)!==t)throw new Dr("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,l=!0;if("length"in e&&Ur){var u=Ur(e,"length");u&&!u.configurable&&(i=!1),u&&!u.writable&&(l=!1)}return(i||l||!n)&&(Io?Lr(e,"length",t,!0,!0):Lr(e,"length",t)),e},_o=ce(),Co=sr(),Lo=at,Uo=function(){return Lo(_o,Co,arguments)};(function(r){var e=Ro,t=Fe,n=ur,i=Uo;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})(bt);var Do=bt.exports,je=Oo,Mo=jo,Mr=Do,yr=fe,Oe=ae,ge=cr,ko=yr("Object.prototype.toString"),wt=Te(),kr=typeof globalThis>"u"?ne.commonjsGlobal:globalThis,ir=Mo(),pr=yr("String.prototype.slice"),Go=yr("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},$e={__proto__:null};wt&&Oe&&ge?je(ir,function(r){var e=new kr[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]=Mr(n.get)}}):je(ir,function(r){var e=new kr[r],t=e.slice||e.set;t&&($e["$"+r]=Mr(t))});var xo=function(e){var t=!1;return je($e,function(n,i){if(!t)try{"$"+n(e)===i&&(t=pr(i,1))}catch{}}),t},Wo=function(e){var t=!1;return je($e,function(n,i){if(!t)try{n(e),t=pr(i,1)}catch{}}),t},St=function(e){if(!e||typeof e!="object")return!1;if(!wt){var t=pr(ko(e),8,-1);return Go(ir,t)>-1?t:t!=="Object"?!1:Wo(e)}return Oe?xo(e):null},qo=St,zo=function(e){return!!qo(e)};(function(r){var e=kn,t=oo,n=St,i=zo;function l(s){return s.call.bind(s)}var u=typeof BigInt<"u",d=typeof Symbol<"u",y=l(Object.prototype.toString),m=l(Number.prototype.valueOf),w=l(String.prototype.valueOf),$=l(Boolean.prototype.valueOf);if(u)var E=l(BigInt.prototype.valueOf);if(d)var _=l(Symbol.prototype.valueOf);function T(s,Et){if(typeof s!="object")return!1;try{return Et(s),!0}catch{return!1}}r.isArgumentsObject=e,r.isGeneratorFunction=t,r.isTypedArray=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 c=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function h(s){return y(s)==="[object SharedArrayBuffer]"}function S(s){return typeof c>"u"?!1:(typeof h.working>"u"&&(h.working=h(new c)),h.working?h(s):s instanceof c)}r.isSharedArrayBuffer=S;function O(s){return 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 q(s){return T(s,m)}r.isNumberObject=q;function de(s){return T(s,w)}r.isStringObject=de;function Z(s){return T(s,$)}r.isBooleanObject=Z;function he(s){return u&&T(s,E)}r.isBigIntObject=he;function dr(s){return d&&T(s,_)}r.isSymbolObject=dr;function Ot(s){return q(s)||de(s)||Z(s)||he(s)||dr(s)}r.isBoxedPrimitive=Ot;function Pt(s){return typeof Uint8Array<"u"&&(pe(s)||S(s))}r.isAnyArrayBuffer=Pt,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(s){Object.defineProperty(r,s,{enumerable:!1,value:function(){throw new Error(s+" is not supported in userland")}})})})(et);var Vo=function(e){return e&&typeof e=="object"&&typeof e.copy=="function"&&typeof e.fill=="function"&&typeof e.readUInt8=="function"};(function(r){var e=Object.getOwnPropertyDescriptors||function(f){for(var c=Object.keys(f),h={},S=0;S<c.length;S++)h[c[S]]=Object.getOwnPropertyDescriptor(f,c[S]);return h},t=/%[sdj%]/g;r.format=function(o){if(!B(o)){for(var f=[],c=0;c<arguments.length;c++)f.push(u(arguments[c]));return f.join(" ")}for(var c=1,h=arguments,S=h.length,O=String(o).replace(t,function(A){if(A==="%%")return"%";if(c>=S)return A;switch(A){case"%s":return String(h[c++]);case"%d":return Number(h[c++]);case"%j":try{return JSON.stringify(h[c++])}catch{return"[Circular]"}default:return A}}),g=h[c];c<S;g=h[++c])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 c=!1;function h(){if(!c){if(L.process$1.throwDeprecation)throw new Error(f);L.process$1.traceDeprecation?console.trace(f):console.error(f),c=!0}return o.apply(this,arguments)}return h};var n={},i=/^$/;if(L.process$1.env.NODE_DEBUG){var l=L.process$1.env.NODE_DEBUG;l=l.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),i=new RegExp("^"+l+"$","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 c=r.format.apply(r,arguments);console.error("%s %d: %s",o,f,c)}}else n[o]=function(){};return n[o]};function u(o,f){var c={seen:[],stylize:y};return arguments.length>=3&&(c.depth=arguments[2]),arguments.length>=4&&(c.colors=arguments[3]),a(f)?c.showHidden=f:f&&r._extend(c,f),U(c.showHidden)&&(c.showHidden=!1),U(c.depth)&&(c.depth=2),U(c.colors)&&(c.colors=!1),U(c.customInspect)&&(c.customInspect=!0),c.colors&&(c.stylize=d),w(c,o,c.depth)}r.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function d(o,f){var c=u.styles[f];return c?"\x1B["+u.colors[c][0]+"m"+o+"\x1B["+u.colors[c][1]+"m":o}function y(o,f){return o}function m(o){var f={};return o.forEach(function(c,h){f[c]=!0}),f}function w(o,f,c){if(o.customInspect&&f&&D(f.inspect)&&f.inspect!==r.inspect&&!(f.constructor&&f.constructor.prototype===f)){var h=f.inspect(c,o);return B(h)||(h=w(o,h,c)),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,q=["{","}"];if(C(f)&&(R=!0,q=["[","]"]),D(f)){var de=f.name?": "+f.name:"";j=" [Function"+de+"]"}if(x(f)&&(j=" "+RegExp.prototype.toString.call(f)),V(f)&&(j=" "+Date.prototype.toUTCString.call(f)),W(f)&&(j=" "+E(f)),O.length===0&&(!R||f.length==0))return q[0]+j+q[1];if(c<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,c,g,O):Z=O.map(function(he){return T(o,f,c,g,he,R)}),o.seen.pop(),N(Z,j,q)}function $(o,f){if(U(f))return o.stylize("undefined","undefined");if(B(f)){var c="'"+JSON.stringify(f).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return o.stylize(c,"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,c,h,S){for(var O=[],g=0,A=f.length;g<A;++g)J(f,String(g))?O.push(T(o,f,c,h,String(g),!0)):O.push("");return S.forEach(function(j){j.match(/^\d+$/)||O.push(T(o,f,c,h,j,!0))}),O}function T(o,f,c,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(c)?A=w(o,j.value,null):A=w(o,j.value,c-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,c){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?c[0]+(f===""?"":f+`
|
|
9
|
+
`)+" "+o.join(`,
|
|
10
|
+
`)+" "+c[1]:c[0]+f+" "+o.join(", ")+" "+c[1]}r.types=et;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=Vo;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=Wr,r._extend=function(o,f){if(!f||!k(f))return o;for(var c=Object.keys(f),h=c.length;h--;)o[c[h]]=f[c[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 c=f[M];if(typeof c!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(c,M,{value:c,enumerable:!1,writable:!1,configurable:!0}),c}function c(){for(var h,S,O=new Promise(function(j,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(c,Object.getPrototypeOf(f)),M&&Object.defineProperty(c,M,{value:c,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(c,e(f))},r.promisify.custom=M;function K(o,f){if(!o){var c=new Error("Promise was rejected with a falsy value");c.reason=o,o=c}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 c=[],h=0;h<arguments.length;h++)c.push(arguments[h]);var S=c.pop();if(typeof S!="function")throw new TypeError("The last argument must be of type Function");var O=this,g=function(){return S.apply(O,arguments)};o.apply(this,c).then(function(A){L.process$1.nextTick(g.bind(null,null,A))},function(A){L.process$1.nextTick(K.bind(null,A,g))})}return Object.setPrototypeOf(f,Object.getPrototypeOf(o)),Object.defineProperties(f,e(o)),f}r.callbackify=pe})(Xr);var Ho=Jo;function Jo(r,e){if(Ze("noDeprecation"))return r;var t=!1;function n(){if(!t){if(Ze("throwDeprecation"))throw new Error(e);Ze("traceDeprecation")?console.trace(e):console.warn(e),t=!0}return r.apply(this,arguments)}return n}function Ze(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 Ye={},ve={exports:{}},Gr;function Ko(){return Gr||(Gr=1,function(r,e){var t=Qr,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=l);function l(u,d,y){return n(u,d,y)}i(n,l),l.from=function(u,d,y){if(typeof u=="number")throw new TypeError("Argument must not be a number");return n(u,d,y)},l.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},l.allocUnsafe=function(u){if(typeof u!="number")throw new TypeError("Argument must be a number");return n(u)},l.allocUnsafeSlow=function(u){if(typeof u!="number")throw new TypeError("Argument must be a number");return t.SlowBuffer(u)}}(ve,ve.exports)),ve.exports}var xr;function Zo(){if(xr)return Ye;xr=1;var r=Ko().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}Ye.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 l(a){return a<=127?0:a>>5===6?2:a>>4===14?3:a>>3===30?4:a>>6===2?-1:-2}function u(a,p,b){var I=p.length-1;if(I<b)return 0;var B=l(p[I]);return B>=0?(B>0&&(a.lastNeed=B-1),B):--I<b||B===-2?0:(B=l(p[I]),B>=0?(B>0&&(a.lastNeed=B-2),B):--I<b||B===-2?0:(B=l(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 Ye}exports.browser=Ho;exports.callBound=fe;exports.eventsExports=Nt;exports.getIntrinsic=lr;exports.inherits_browserExports=Wr;exports.require$$2=Qr;exports.requireString_decoder=Zo;exports.type=ie;exports.util=Xr;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as l, onMounted as R, onUnmounted as K, computed as I, createElementBlock as f, openBlock as g, withModifiers as C, createElementVNode as m, withDirectives as V, unref as w, vModelText as W, createCommentVNode as j, nextTick as B } from "vue";
|
|
2
|
-
import { _ as G } from "./chunks/editor-
|
|
2
|
+
import { _ as G } from "./chunks/editor-CmKj3RqN.js";
|
|
3
3
|
const X = "https://sd-dev-express-gateway-i6xtm.ondigitalocean.app/insights", S = "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: ";
|
|
4
4
|
async function E(a, e = {}) {
|
|
5
5
|
const n = e.apiKey, r = e.endpoint || X;
|
|
@@ -11062,9 +11062,9 @@ function jf(r) {
|
|
|
11062
11062
|
const Hf = (r) => {
|
|
11063
11063
|
const e = Number(r).toString(16);
|
|
11064
11064
|
return e.length === 1 ? "0" + e : e;
|
|
11065
|
-
}, Vf = (r) => "#" + r.match(/\d+/g).map(Hf).join(""), zp = (r, e) => {
|
|
11066
|
-
let [
|
|
11067
|
-
return Number.isNaN(
|
|
11065
|
+
}, Vf = (r) => "#" + r.match(/\d+/g).map(Hf).join(""), zp = (r, e, t = "", n = !1) => {
|
|
11066
|
+
let [i, s] = Lf(r);
|
|
11067
|
+
return Number.isNaN(i) || i === 0 ? {} : t === "atLeast" && i < 1 ? {} : (s = s || e, i += s ? 4 : 0.2, n ? { "line-height": `${i}${s}` } : `line-height: ${i}${s}`);
|
|
11068
11068
|
}, zf = (r, e) => {
|
|
11069
11069
|
const t = new Uint8Array(r), n = e.replace(/[-{}]/g, "");
|
|
11070
11070
|
if (n.length !== 32) {
|
|
@@ -15387,10 +15387,10 @@ function yu({
|
|
|
15387
15387
|
pStyleId: null,
|
|
15388
15388
|
docx: u
|
|
15389
15389
|
}), P = L !== s && !K, p = n < j || n === j && P && I === n;
|
|
15390
|
-
l[s] || (l[s] = {}), l[s][n] || (l[s][n] =
|
|
15390
|
+
l[s] || (l[s] = {}), l[s][n] || (l[s][n] = Number($));
|
|
15391
15391
|
const m = {};
|
|
15392
15392
|
if (V && !p) {
|
|
15393
|
-
|
|
15393
|
+
g = me, R.seen = !0;
|
|
15394
15394
|
const N = [];
|
|
15395
15395
|
let v = {
|
|
15396
15396
|
type: "paragraph",
|
|
@@ -15400,12 +15400,13 @@ function yu({
|
|
|
15400
15400
|
...v,
|
|
15401
15401
|
attrs: {
|
|
15402
15402
|
textAlign: ee?.attrs.textAlign || Z?.attrs.textAlign || null,
|
|
15403
|
-
rsidRDefault: q?.["w:rsidRDefault"] || null
|
|
15403
|
+
rsidRDefault: q?.["w:rsidRDefault"] || null,
|
|
15404
|
+
styleId: w
|
|
15404
15405
|
},
|
|
15405
15406
|
content: gu(v.content)
|
|
15406
15407
|
}), N.push(v), I = n;
|
|
15407
15408
|
let b = [];
|
|
15408
|
-
if (A !== "bullet" && (b = [...o, l[s][n]]), !o.length && i > 0) {
|
|
15409
|
+
if (A !== "bullet" && (b = [...o, l[s][n]], l[s][i]++), !o.length && i > 0) {
|
|
15409
15410
|
const le = l[s];
|
|
15410
15411
|
if (le) {
|
|
15411
15412
|
const z = [];
|
|
@@ -16481,7 +16482,7 @@ const mt = class mt {
|
|
|
16481
16482
|
return;
|
|
16482
16483
|
}
|
|
16483
16484
|
}
|
|
16484
|
-
static updateDocumentVersion(e = this.convertedXml, t = "0.10.
|
|
16485
|
+
static updateDocumentVersion(e = this.convertedXml, t = "0.10.35") {
|
|
16485
16486
|
const n = "docProps/custom.xml";
|
|
16486
16487
|
e[n] || (e[n] = Bu());
|
|
16487
16488
|
const i = e["docProps/custom.xml"];
|
|
@@ -16742,7 +16743,7 @@ function xp(r) {
|
|
|
16742
16743
|
function Bu() {
|
|
16743
16744
|
return Wf;
|
|
16744
16745
|
}
|
|
16745
|
-
function ku(r = 2, e = "0.10.
|
|
16746
|
+
function ku(r = 2, e = "0.10.35") {
|
|
16746
16747
|
return {
|
|
16747
16748
|
type: "element",
|
|
16748
16749
|
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-DgikIv5V.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) => wf(t, typeof e != "symbol" ? e + "" : e, n), Uo = (t, e, n)
|
|
|
7
7
|
var Ge = (t, e, n) => (Uo(t, e, "read from private field"), n ? n.call(t) : e.get(t)), ft = (t, e, n) => e.has(t) ? ta("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), qo = (t, e, n, r) => (Uo(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n), N = (t, e, n) => (Uo(t, e, "access private method"), n);
|
|
8
8
|
import * as T from "yjs";
|
|
9
9
|
import { UndoManager as vf, Item as kf, ContentType as Cf, Text as Mf, XmlElement as Sf } from "yjs";
|
|
10
|
-
import { P as Y, a as G, M as dr, c as K, N as B, S as Z, T as j, b as W, D as Vn, F as P, d as tn, e as xf, f as tc, A as Or, p as ie, B as Af, i as Of, g as nc, h as Tf, j as wt, l as Tr, k as Ht, m as rc, r as oc, R as an, o as ur, n as na, q as $t, s as ki, t as ic, u as Df, v as Nf, w as ue, x as $e, y as Eo, z as Cn, C as ho, E as Ef, G as Me, H as ro, I as sc, J as Mn, K as Ko, L as Xo, O as Jo, Q as oo, U as Rt, V as Po, W as Pf, X as ra, Y as oa, Z as If, _ as Rf, $ as Lf } from "./converter-
|
|
10
|
+
import { P as Y, a as G, M as dr, c as K, N as B, S as Z, T as j, b as W, D as Vn, F as P, d as tn, e as xf, f as tc, A as Or, p as ie, B as Af, i as Of, g as nc, h as Tf, j as wt, l as Tr, k as Ht, m as rc, r as oc, R as an, o as ur, n as na, q as $t, s as ki, t as ic, u as Df, v as Nf, w as ue, x as $e, y as Eo, z as Cn, C as ho, E as Ef, G as Me, H as ro, I as sc, J as Mn, K as Ko, L as Xo, O as Jo, Q as oo, U as Rt, V as Po, W as Pf, X as ra, Y as oa, Z as If, _ as Rf, $ as Lf } from "./converter-DgikIv5V.js";
|
|
11
11
|
import { ref as ia, computed as Ff, createElementBlock as Kt, openBlock as Xt, withModifiers as Yo, Fragment as Bf, renderList as zf, normalizeClass as _f, createCommentVNode as sa, toDisplayString as Go, createElementVNode as $f, createApp as Vf } from "vue";
|
|
12
|
-
import { D as aa } from "./docx-zipper-
|
|
12
|
+
import { D as aa } from "./docx-zipper-DzgWW0Ro.js";
|
|
13
13
|
function Io(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) => {
|
|
@@ -10038,7 +10038,7 @@ const Qs = class Qs extends bg {
|
|
|
10038
10038
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
10039
10039
|
*/
|
|
10040
10040
|
processCollaborationMigrations() {
|
|
10041
|
-
if (console.debug("[checkVersionMigrations] Current editor version", "0.10.
|
|
10041
|
+
if (console.debug("[checkVersionMigrations] Current editor version", "0.10.35"), !this.options.ydoc) return;
|
|
10042
10042
|
let r = this.options.ydoc.getMap("meta").get("version");
|
|
10043
10043
|
r || (r = "initial"), console.debug("[checkVersionMigrations] Document version", r);
|
|
10044
10044
|
const o = ol(r) || [], s = this.state.plugins.find((c) => c.key.startsWith("y-sync"));
|
|
@@ -10560,7 +10560,7 @@ const Kd = Q.create({
|
|
|
10560
10560
|
lineHeight: {
|
|
10561
10561
|
default: null,
|
|
10562
10562
|
parseDOM: (t) => t.style.lineHeight,
|
|
10563
|
-
renderDOM: (t) => t.lineHeight ? { style: Po(t.lineHeight, this.options.defaults.unit) } : {}
|
|
10563
|
+
renderDOM: (t) => t.lineHeight ? { style: Po(t.lineHeight, this.options.defaults.unit, t.spacing?.lineRule) } : {}
|
|
10564
10564
|
}
|
|
10565
10565
|
}
|
|
10566
10566
|
}
|
|
@@ -11884,7 +11884,7 @@ const cu = X.create({
|
|
|
11884
11884
|
const o = t.converter?.linkedStyles || [];
|
|
11885
11885
|
return {
|
|
11886
11886
|
styles: o,
|
|
11887
|
-
decorations: dl(t.state
|
|
11887
|
+
decorations: dl(t.state, o)
|
|
11888
11888
|
};
|
|
11889
11889
|
},
|
|
11890
11890
|
apply(e, n, r, o) {
|
|
@@ -11892,7 +11892,7 @@ const cu = X.create({
|
|
|
11892
11892
|
let i = n.decorations || L.empty;
|
|
11893
11893
|
if (e.docChanged) {
|
|
11894
11894
|
const s = ao.getState(t.state).styles;
|
|
11895
|
-
i = dl(o
|
|
11895
|
+
i = dl(o, s);
|
|
11896
11896
|
}
|
|
11897
11897
|
return { ...n, decorations: i };
|
|
11898
11898
|
}
|
|
@@ -11905,47 +11905,50 @@ const cu = X.create({
|
|
|
11905
11905
|
}), dl = (t, e) => {
|
|
11906
11906
|
const n = [];
|
|
11907
11907
|
let r = null;
|
|
11908
|
-
|
|
11909
|
-
|
|
11910
|
-
|
|
11911
|
-
|
|
11912
|
-
|
|
11913
|
-
const l = i0(a, o);
|
|
11908
|
+
const o = t?.doc;
|
|
11909
|
+
return o.descendants((i, s) => {
|
|
11910
|
+
const { name: a } = i.type;
|
|
11911
|
+
if (i?.attrs?.styleId && (r = i.attrs.styleId), a === "paragraph" && !i.attrs?.styleId && (r = null), a !== "text") return;
|
|
11912
|
+
const l = s0(r, e);
|
|
11914
11913
|
if (!l) return;
|
|
11915
|
-
const
|
|
11916
|
-
|
|
11917
|
-
|
|
11918
|
-
|
|
11914
|
+
const d = t.doc.resolve(s).parent, u = i0(l, i, d);
|
|
11915
|
+
if (!u) return;
|
|
11916
|
+
const f = $.inline(s, s + i.nodeSize, { style: u });
|
|
11917
|
+
n.push(f);
|
|
11918
|
+
}), L.create(o, n);
|
|
11919
|
+
}, i0 = (t, e, n, r = !0) => {
|
|
11919
11920
|
if (!t?.definition?.styles) return "";
|
|
11920
|
-
const
|
|
11921
|
-
return Object.entries(t.definition.styles).forEach(([
|
|
11922
|
-
const
|
|
11923
|
-
|
|
11924
|
-
if (
|
|
11925
|
-
Object.entries(
|
|
11926
|
-
const
|
|
11927
|
-
|
|
11921
|
+
const o = {};
|
|
11922
|
+
return Object.entries(t.definition.styles).forEach(([i, s]) => {
|
|
11923
|
+
const a = ra(i), l = [];
|
|
11924
|
+
e?.marks?.forEach((f) => {
|
|
11925
|
+
if (f.type.name === "textStyle") {
|
|
11926
|
+
Object.entries(f.attrs).forEach(([p, h]) => {
|
|
11927
|
+
const m = ra(p);
|
|
11928
|
+
h && l.push({ key: m, value: h });
|
|
11928
11929
|
});
|
|
11929
11930
|
return;
|
|
11930
11931
|
}
|
|
11931
|
-
|
|
11932
|
-
})
|
|
11933
|
-
|
|
11934
|
-
|
|
11935
|
-
|
|
11936
|
-
|
|
11932
|
+
l.push({ key: f.type.name, value: f.attrs[a] });
|
|
11933
|
+
});
|
|
11934
|
+
const c = l.find((f) => f.key === a), d = Object.keys(n?.attrs.indent || {}), u = Object.keys(n?.attrs.spacing || {});
|
|
11935
|
+
if (!c)
|
|
11936
|
+
if (a === "spacing" && r && !u) {
|
|
11937
|
+
const f = a0(s);
|
|
11938
|
+
Object.entries(f).forEach(([p, h]) => {
|
|
11939
|
+
o[p] = h;
|
|
11937
11940
|
});
|
|
11938
|
-
} else if (
|
|
11939
|
-
const { leftIndent:
|
|
11940
|
-
|
|
11941
|
-
} else
|
|
11942
|
-
}), Object.entries(
|
|
11941
|
+
} else if (a === "indent" && r && !d) {
|
|
11942
|
+
const { leftIndent: f, rightIndent: p, firstLine: h } = s;
|
|
11943
|
+
f && (o["margin-left"] = f + "px"), p && (o["margin-right"] = p + "px"), h && (o["text-indent"] = h + "px");
|
|
11944
|
+
} else a === "bold" ? o["font-weight"] = "bold" : o[a] = s;
|
|
11945
|
+
}), Object.entries(o).map(([i, s]) => `${i}: ${s}`).join(";");
|
|
11943
11946
|
}, s0 = (t, e = []) => e.find((n) => n.id === t), a0 = (t) => {
|
|
11944
|
-
const { lineSpaceBefore: e, lineSpaceAfter: n, line: r } = t;
|
|
11947
|
+
const { lineSpaceBefore: e, lineSpaceAfter: n, line: r, lineRule: o } = t;
|
|
11945
11948
|
return {
|
|
11946
11949
|
"margin-top": e + "px",
|
|
11947
11950
|
"margin-bottom": n + "px",
|
|
11948
|
-
...Po(r, "")
|
|
11951
|
+
...Po(r, "", o, !0)
|
|
11949
11952
|
};
|
|
11950
11953
|
}, l0 = (t) => {
|
|
11951
11954
|
const { lineSpaceBefore: e, lineSpaceAfter: n, line: r } = t;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed as _, createElementBlock as se, openBlock as q, createElementVNode as pn, createCommentVNode as pe, normalizeClass as Jt, normalizeStyle as Et, 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 It, createVNode as At, 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 Mt, Fragment as _e, Comment as fr, defineComponent as ee, provide as Se, h as A, 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-
|
|
3
|
-
import { _ as vt, g as Pt } from "./editor-
|
|
2
|
+
import { p as tn } from "./converter-DgikIv5V.js";
|
|
3
|
+
import { _ as vt, g as Pt } from "./editor-CmKj3RqN.js";
|
|
4
4
|
const B0 = (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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"super-toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/super-toolbar.js"],"names":[],"mappings":"AAeA;IAcE,yBA2CC;IAxDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAWE;IAMA,oBAAsB;IACtB,qBAAuB;IACvB,kBAAoD;IACpD,WAAkC;IAClC,cAA+B;IAC/B,UAAmC;IA4BnC,gCAA6B;IAGrB,uQAAiC;IACzC,kBAAyC;IAoL3C,0BAEC;IAED,gCAIC;IAED;;;OAGG;IACH,wBAFW,GAAC,QAKX;IAED,6CAEC;IA2DD;;;OAGG;IACH,
|
|
1
|
+
{"version":3,"file":"super-toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/super-toolbar.js"],"names":[],"mappings":"AAeA;IAcE,yBA2CC;IAxDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAWE;IAMA,oBAAsB;IACtB,qBAAuB;IACvB,kBAAoD;IACpD,WAAkC;IAClC,cAA+B;IAC/B,UAAmC;IA4BnC,gCAA6B;IAGrB,uQAAiC;IACzC,kBAAyC;IAoL3C,0BAEC;IAED,gCAIC;IAED;;;OAGG;IACH,wBAFW,GAAC,QAKX;IAED,6CAEC;IA2DD;;;OAGG;IACH,2BA+DC;IAED,4BAKE;IAaA,eAAmD;IACnD,eAAmD;IAGrD;;OAEG;IACH;;;aAGC;IAED;;;;;OAKG;IACH,0CAoBC;;CAYF;yBAndwB,eAAe"}
|
|
@@ -18,6 +18,10 @@ export function isValidHexColor(color: any): boolean;
|
|
|
18
18
|
export function rgbToHex(rgb: any): string;
|
|
19
19
|
export function ptToTwips(pt: any): number;
|
|
20
20
|
export function twipsToPt(twips: any): number;
|
|
21
|
-
export function getLineHeightValueString(lineHeight: any, defaultUnit: any): {
|
|
21
|
+
export function getLineHeightValueString(lineHeight: any, defaultUnit: any, lineRule?: string, isObject?: boolean): string | {
|
|
22
|
+
"line-height"?: undefined;
|
|
23
|
+
} | {
|
|
24
|
+
"line-height": string;
|
|
25
|
+
};
|
|
22
26
|
export function deobfuscateFont(arrayBuffer: any, guidHex: any): any;
|
|
23
27
|
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/core/super-converter/helpers.js"],"names":[],"mappings":"AAEA,mDAIC;AAED,kDAIC;AAED,kDAIC;AAED,mDAIC;AAED,iDAGC;AAED,iDAGC;AAED,2DAGC;AAOD,8CAKC;AAED,6CAIC;AAED,wDAGC;AArBD,2DAGC;AAoBD,8DAKC;AAED,yDAGC;AAYD,sEAIC;AAED,uEAKC;AAED,kEAoBC;AAED,qDASC;AAOD,2CAKC;AA7DD,2CAGC;AARD,8CAGC;AAiED
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/core/super-converter/helpers.js"],"names":[],"mappings":"AAEA,mDAIC;AAED,kDAIC;AAED,kDAIC;AAED,mDAIC;AAED,iDAGC;AAED,iDAGC;AAED,2DAGC;AAOD,8CAKC;AAED,6CAIC;AAED,wDAGC;AArBD,2DAGC;AAoBD,8DAKC;AAED,yDAGC;AAYD,sEAIC;AAED,uEAKC;AAED,kEAoBC;AAED,qDASC;AAOD,2CAKC;AA7DD,2CAGC;AARD,8CAGC;AAiED;;;;EAUC;AAED,qEAwBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listImporter.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/v2/importer/listImporter.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"listImporter.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/v2/importer/listImporter.js"],"names":[],"mappings":"AA2UA;;;;;GAKG;AACH,kCAHW,OAAO,cACL,OAAO,CAkBnB;AAkND;;;;;;;GAOG;AACH,6DAJW,GAAG,QACH,UAAU;;;;;;;;;;;;;;;;;;;;EAoDpB;AArmBD;;GAEG;AACH,iCAwCE;AAEF;;GAEG;AACH,oCAGE"}
|
|
@@ -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-CmKj3RqN.js";
|
|
2
|
+
import "./chunks/converter-DgikIv5V.js";
|
|
3
|
+
import "./chunks/docx-zipper-DzgWW0Ro.js";
|
|
4
4
|
export {
|
|
5
5
|
m as Editor
|
|
6
6
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"line-height.d.ts","sourceRoot":"","sources":["../../../src/extensions/line-height/line-height.js"],"names":[],"mappings":"AAGA,
|
|
1
|
+
{"version":3,"file":"line-height.d.ts","sourceRoot":"","sources":["../../../src/extensions/line-height/line-height.js"],"names":[],"mappings":"AAGA,6BAoDG"}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
export const LinkedStylesPluginKey: PluginKey<any>;
|
|
2
2
|
export const LinkedStyles: any;
|
|
3
|
-
export function generateLinkedStyleString(linkedStyle: any, node: any, includeSpacing?: boolean): string;
|
|
4
|
-
export function getSpacingStyle(spacing: any):
|
|
5
|
-
'margin-top': string;
|
|
6
|
-
'margin-bottom': string;
|
|
7
|
-
};
|
|
3
|
+
export function generateLinkedStyleString(linkedStyle: any, node: any, parent: any, includeSpacing?: boolean): string;
|
|
4
|
+
export function getSpacingStyle(spacing: any): any;
|
|
8
5
|
export function getSpacingStyleString(spacing: any): string;
|
|
9
6
|
export function getMarksStyle(attrs: any): string;
|
|
10
7
|
export function getQuickFormatList(editor: any): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linked-styles.d.ts","sourceRoot":"","sources":["../../../src/extensions/linked-styles/linked-styles.js"],"names":[],"mappings":"AAOA,mDAAmE;AAEnE,+BAiCG;
|
|
1
|
+
{"version":3,"file":"linked-styles.d.ts","sourceRoot":"","sources":["../../../src/extensions/linked-styles/linked-styles.js"],"names":[],"mappings":"AAOA,mDAAmE;AAEnE,+BAiCG;AAgFI,sHAiDN;AAaM,mDAON;AAQM,4DAON;AAEM,kDAuBN;AAEM,qDAUN;0BAnPiC,mBAAmB"}
|