@qualityunit/liveagent-components-editor 0.0.36 → 0.0.38
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/ckeditor.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require("./ckeditor5-
|
|
1
|
+
"use strict";require("./ckeditor5-CoeTG6HK.cjs");
|
package/dist/ckeditor.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import "./ckeditor5-
|
|
1
|
+
import "./ckeditor5-BvvQK3rd.js";
|
|
@@ -821,7 +821,7 @@ function tw(n, e) {
|
|
|
821
821
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
822
822
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
823
823
|
*/
|
|
824
|
-
const iw = "41.3.
|
|
824
|
+
const iw = "41.3.1", nw = new Date(2024, 3, 16);
|
|
825
825
|
/* istanbul ignore next -- @preserve */
|
|
826
826
|
if (globalThis.CKEDITOR_VERSION)
|
|
827
827
|
throw new g("ckeditor-duplicated-modules", null);
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
Read more: ${fw}#error-${n}`}function mw(n,e){const t=new WeakSet,s=e?` ${JSON.stringify(e,(r,a)=>{if(typeof a=="object"&&a!==null){if(t.has(a))return`[object ${a.constructor.name}]`;t.add(a)}return a})}`:"",o=Zh(n);return n+s+o}function gw(n,e){const t=Zh(n);return e?[n,e,t]:[n,t]}/**
|
|
42
42
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
43
43
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
44
|
-
*/const pw="41.3.
|
|
44
|
+
*/const pw="41.3.1",ww=new Date(2024,3,16);/* istanbul ignore next -- @preserve */if(globalThis.CKEDITOR_VERSION)throw new g("ckeditor-duplicated-modules",null);globalThis.CKEDITOR_VERSION=pw;/**
|
|
45
45
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
46
46
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
47
47
|
*/const Oi=Symbol("listeningTo"),zr=Symbol("emitterId"),pt=Symbol("delegations"),Jh=Z(Object);function Z(n){if(!n)return Jh;class e extends n{on(i,s,o){this.listenTo(this,i,s,o)}once(i,s,o){let r=!1;const a=(l,...c)=>{r||(r=!0,l.off(),s.call(this,l,...c))};this.listenTo(this,i,a,o)}off(i,s){this.stopListening(this,i,s)}listenTo(i,s,o,r={}){let a,l;this[Oi]||(this[Oi]={});const c=this[Oi];nr(i)||Yh(i);const u=nr(i);(a=c[u])||(a=c[u]={emitter:i,callbacks:{}}),(l=a.callbacks[s])||(l=a.callbacks[s]=[]),l.push(o),yw(this,i,s,o,r)}stopListening(i,s,o){const r=this[Oi];let a=i&&nr(i);const l=r&&a?r[a]:void 0,c=l&&s?l.callbacks[s]:void 0;if(!(!r||i&&!l||s&&!c))if(o)sr(this,i,s,o),c.indexOf(o)!==-1&&(c.length===1?delete l.callbacks[s]:sr(this,i,s,o));else if(c){for(;o=c.pop();)sr(this,i,s,o);delete l.callbacks[s]}else if(l){for(s in l.callbacks)this.stopListening(i,s);delete r[a]}else{for(a in r)this.stopListening(r[a].emitter);delete this[Oi]}}fire(i,...s){try{const o=i instanceof At?i:new At(this,i),r=o.name;let a=Xh(this,r);if(o.path.push(this),a){const c=[o,...s];a=Array.from(a);for(let u=0;u<a.length&&(a[u].callback.apply(this,c),o.off.called&&(delete o.off.called,this._removeEventListener(r,a[u].callback)),!o.stop.called);u++);}const l=this[pt];if(l){const c=l.get(r),u=l.get("*");c&&Hl(c,o,s),u&&Hl(u,o,s)}return o.return}catch(o){/* istanbul ignore next -- @preserve */g.rethrowUnexpectedError(o,this)}}delegate(...i){return{to:(s,o)=>{this[pt]||(this[pt]=new Map),i.forEach(r=>{const a=this[pt].get(r);a?a.set(s,o):this[pt].set(r,new Map([[s,o]]))})}}}stopDelegating(i,s){if(this[pt])if(!i)this[pt].clear();else if(!s)this[pt].delete(i);else{const o=this[pt].get(i);o&&o.delete(s)}}_addEventListener(i,s,o){vw(this,i);const r=Ur(this,i),a=Ne.get(o.priority),l={callback:s,priority:a};for(const c of r)Kh(c,l)}_removeEventListener(i,s){const o=Ur(this,i);for(const r of o)for(let a=0;a<r.length;a++)r[a].callback==s&&(r.splice(a,1),a--)}}return e}["on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach(n=>{Z[n]=Jh.prototype[n]});function bw(n,e){const t=n[Oi];return t&&t[e]?t[e].emitter:null}function Yh(n,e){n[zr]||(n[zr]=e||Ge())}function nr(n){return n[zr]}function Qh(n){return n._events||Object.defineProperty(n,"_events",{value:{}}),n._events}function _w(){return{callbacks:[],childEvents:[]}}function vw(n,e){const t=Qh(n);if(t[e])return;let i=e,s=null;const o=[];for(;i!==""&&!t[i];)t[i]=_w(),o.push(t[i]),s&&t[i].childEvents.push(s),s=i,i=i.substr(0,i.lastIndexOf(":"));if(i!==""){for(const r of o)r.callbacks=t[i].callbacks.slice();t[i].childEvents.push(s)}}function Ur(n,e){const t=Qh(n)[e];if(!t)return[];let i=[t.callbacks];for(let s=0;s<t.childEvents.length;s++){const o=Ur(n,t.childEvents[s]);i=i.concat(o)}return i}function Xh(n,e){let t;return!n._events||!(t=n._events[e])||!t.callbacks.length?e.indexOf(":")>-1?Xh(n,e.substr(0,e.lastIndexOf(":"))):null:t.callbacks}function Hl(n,e,t){for(let[i,s]of n){s?typeof s=="function"&&(s=s(e.name)):s=e.name;const o=new At(e.source,s);o.path=[...e.path],i.fire(o,...t)}}function yw(n,e,t,i,s){e._addEventListener?e._addEventListener(t,i,s):n._addEventListener.call(e,t,i,s)}function sr(n,e,t,i){e._removeEventListener?e._removeEventListener(t,i):n._removeEventListener.call(e,t,i)}var ef=typeof global=="object"&&global&&global.Object===Object&&global,kw=typeof self=="object"&&self&&self.Object===Object&&self,rt=ef||kw||Function("return this")(),ft=rt.Symbol,tf=Object.prototype,Cw=tf.hasOwnProperty,Ew=tf.toString,mn=ft?ft.toStringTag:void 0;function Tw(n){var e=Cw.call(n,mn),t=n[mn];try{n[mn]=void 0;var i=!0}catch{}var s=Ew.call(n);return i&&(e?n[mn]=t:delete n[mn]),s}var Aw=Object.prototype,Sw=Aw.toString;function xw(n){return Sw.call(n)}var Iw="[object Null]",Pw="[object Undefined]",zl=ft?ft.toStringTag:void 0;function Nt(n){return n==null?n===void 0?Pw:Iw:zl&&zl in Object(n)?Tw(n):xw(n)}function Ke(n){return n!=null&&typeof n=="object"}var Rw="[object Symbol]";function Mo(n){return typeof n=="symbol"||Ke(n)&&Nt(n)==Rw}function Vw(n,e){for(var t=-1,i=n==null?0:n.length,s=Array(i);++t<i;)s[t]=e(n[t],t,n);return s}var He=Array.isArray,Bw=1/0,Ul=ft?ft.prototype:void 0,Wl=Ul?Ul.toString:void 0;function nf(n){if(typeof n=="string")return n;if(He(n))return Vw(n,nf)+"";if(Mo(n))return Wl?Wl.call(n):"";var e=n+"";return e=="0"&&1/n==-Bw?"-0":e}var Mw=/\s/;function Lw(n){for(var e=n.length;e--&&Mw.test(n.charAt(e)););return e}var Ow=/^\s+/;function Fw(n){return n&&n.slice(0,Lw(n)+1).replace(Ow,"")}function Q(n){var e=typeof n;return n!=null&&(e=="object"||e=="function")}var ql=NaN,Dw=/^[-+]0x[0-9a-f]+$/i,Nw=/^0b[01]+$/i,$w=/^0o[0-7]+$/i,Hw=parseInt;function jl(n){if(typeof n=="number")return n;if(Mo(n))return ql;if(Q(n)){var e=typeof n.valueOf=="function"?n.valueOf():n;n=Q(e)?e+"":e}if(typeof n!="string")return n===0?n:+n;n=Fw(n);var t=Nw.test(n);return t||$w.test(n)?Hw(n.slice(2),t?2:8):Dw.test(n)?ql:+n}function Mt(n){return n}var zw="[object AsyncFunction]",Uw="[object Function]",Ww="[object GeneratorFunction]",qw="[object Proxy]";function ri(n){if(!Q(n))return!1;var e=Nt(n);return e==Uw||e==Ww||e==zw||e==qw}var or=rt["__core-js_shared__"],Gl=function(){var n=/[^.]+$/.exec(or&&or.keys&&or.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function jw(n){return!!Gl&&Gl in n}var Gw=Function.prototype,Kw=Gw.toString;function mi(n){if(n!=null){try{return Kw.call(n)}catch{}try{return n+""}catch{}}return""}var Zw=/[\\^$.*+?()[\]{}|]/g,Jw=/^\[object .+?Constructor\]$/,Yw=Function.prototype,Qw=Object.prototype,Xw=Yw.toString,eb=Qw.hasOwnProperty,tb=RegExp("^"+Xw.call(eb).replace(Zw,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ib(n){if(!Q(n)||jw(n))return!1;var e=ri(n)?tb:Jw;return e.test(mi(n))}function nb(n,e){return n==null?void 0:n[e]}function gi(n,e){var t=nb(n,e);return ib(t)?t:void 0}var Wr=gi(rt,"WeakMap"),Kl=Object.create,sb=function(){function n(){}return function(e){if(!Q(e))return{};if(Kl)return Kl(e);n.prototype=e;var t=new n;return n.prototype=void 0,t}}();function ob(n,e,t){switch(t.length){case 0:return n.call(e);case 1:return n.call(e,t[0]);case 2:return n.call(e,t[0],t[1]);case 3:return n.call(e,t[0],t[1],t[2])}return n.apply(e,t)}function sf(n,e){var t=-1,i=n.length;for(e||(e=Array(i));++t<i;)e[t]=n[t];return e}var rb=800,ab=16,lb=Date.now;function cb(n){var e=0,t=0;return function(){var i=lb(),s=ab-(i-t);if(t=i,s>0){if(++e>=rb)return arguments[0]}else e=0;return n.apply(void 0,arguments)}}function ub(n){return function(){return n}}var so=function(){try{var n=gi(Object,"defineProperty");return n({},"",{}),n}catch{}}(),db=so?function(n,e){return so(n,"toString",{configurable:!0,enumerable:!1,value:ub(e),writable:!0})}:Mt;const hb=db;var fb=cb(hb);function mb(n,e){for(var t=-1,i=n==null?0:n.length;++t<i&&e(n[t],t,n)!==!1;);return n}var gb=9007199254740991,pb=/^(?:0|[1-9]\d*)$/;function Lo(n,e){var t=typeof n;return e=e??gb,!!e&&(t=="number"||t!="symbol"&&pb.test(n))&&n>-1&&n%1==0&&n<e}function Oo(n,e,t){e=="__proto__"&&so?so(n,e,{configurable:!0,enumerable:!0,value:t,writable:!0}):n[e]=t}function as(n,e){return n===e||n!==n&&e!==e}var wb=Object.prototype,bb=wb.hasOwnProperty;function Ha(n,e,t){var i=n[e];(!(bb.call(n,e)&&as(i,t))||t===void 0&&!(e in n))&&Oo(n,e,t)}function nn(n,e,t,i){var s=!t;t||(t={});for(var o=-1,r=e.length;++o<r;){var a=e[o],l=i?i(t[a],n[a],a,t,n):void 0;l===void 0&&(l=n[a]),s?Oo(t,a,l):Ha(t,a,l)}return t}var Zl=Math.max;function _b(n,e,t){return e=Zl(e===void 0?n.length-1:e,0),function(){for(var i=arguments,s=-1,o=Zl(i.length-e,0),r=Array(o);++s<o;)r[s]=i[e+s];s=-1;for(var a=Array(e+1);++s<e;)a[s]=i[s];return a[e]=t(r),ob(n,this,a)}}function vb(n,e){return fb(_b(n,e,Mt),n+"")}var yb=9007199254740991;function za(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=yb}function Fo(n){return n!=null&&za(n.length)&&!ri(n)}function kb(n,e,t){if(!Q(t))return!1;var i=typeof e;return(i=="number"?Fo(t)&&Lo(e,t.length):i=="string"&&e in t)?as(t[e],n):!1}function Ua(n){return vb(function(e,t){var i=-1,s=t.length,o=s>1?t[s-1]:void 0,r=s>2?t[2]:void 0;for(o=n.length>3&&typeof o=="function"?(s--,o):void 0,r&&kb(t[0],t[1],r)&&(o=s<3?void 0:o,s=1),e=Object(e);++i<s;){var a=t[i];a&&n(e,a,i,o)}return e})}var Cb=Object.prototype;function Wa(n){var e=n&&n.constructor,t=typeof e=="function"&&e.prototype||Cb;return n===t}function Eb(n,e){for(var t=-1,i=Array(n);++t<n;)i[t]=e(t);return i}var Tb="[object Arguments]";function Jl(n){return Ke(n)&&Nt(n)==Tb}var of=Object.prototype,Ab=of.hasOwnProperty,Sb=of.propertyIsEnumerable,oo=Jl(function(){return arguments}())?Jl:function(n){return Ke(n)&&Ab.call(n,"callee")&&!Sb.call(n,"callee")};function xb(){return!1}var rf=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Yl=rf&&typeof module=="object"&&module&&!module.nodeType&&module,Ib=Yl&&Yl.exports===rf,Ql=Ib?rt.Buffer:void 0,Pb=Ql?Ql.isBuffer:void 0,Nn=Pb||xb,Rb="[object Arguments]",Vb="[object Array]",Bb="[object Boolean]",Mb="[object Date]",Lb="[object Error]",Ob="[object Function]",Fb="[object Map]",Db="[object Number]",Nb="[object Object]",$b="[object RegExp]",Hb="[object Set]",zb="[object String]",Ub="[object WeakMap]",Wb="[object ArrayBuffer]",qb="[object DataView]",jb="[object Float32Array]",Gb="[object Float64Array]",Kb="[object Int8Array]",Zb="[object Int16Array]",Jb="[object Int32Array]",Yb="[object Uint8Array]",Qb="[object Uint8ClampedArray]",Xb="[object Uint16Array]",e0="[object Uint32Array]",ie={};ie[jb]=ie[Gb]=ie[Kb]=ie[Zb]=ie[Jb]=ie[Yb]=ie[Qb]=ie[Xb]=ie[e0]=!0;ie[Rb]=ie[Vb]=ie[Wb]=ie[Bb]=ie[qb]=ie[Mb]=ie[Lb]=ie[Ob]=ie[Fb]=ie[Db]=ie[Nb]=ie[$b]=ie[Hb]=ie[zb]=ie[Ub]=!1;function t0(n){return Ke(n)&&za(n.length)&&!!ie[Nt(n)]}function qa(n){return function(e){return n(e)}}var af=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Rn=af&&typeof module=="object"&&module&&!module.nodeType&&module,i0=Rn&&Rn.exports===af,rr=i0&&ef.process,ji=function(){try{var n=Rn&&Rn.require&&Rn.require("util").types;return n||rr&&rr.binding&&rr.binding("util")}catch{}}(),Xl=ji&&ji.isTypedArray,ja=Xl?qa(Xl):t0,n0=Object.prototype,s0=n0.hasOwnProperty;function lf(n,e){var t=He(n),i=!t&&oo(n),s=!t&&!i&&Nn(n),o=!t&&!i&&!s&&ja(n),r=t||i||s||o,a=r?Eb(n.length,String):[],l=a.length;for(var c in n)(e||s0.call(n,c))&&!(r&&(c=="length"||s&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Lo(c,l)))&&a.push(c);return a}function cf(n,e){return function(t){return n(e(t))}}var o0=cf(Object.keys,Object),r0=Object.prototype,a0=r0.hasOwnProperty;function l0(n){if(!Wa(n))return o0(n);var e=[];for(var t in Object(n))a0.call(n,t)&&t!="constructor"&&e.push(t);return e}function ls(n){return Fo(n)?lf(n):l0(n)}function c0(n){var e=[];if(n!=null)for(var t in Object(n))e.push(t);return e}var u0=Object.prototype,d0=u0.hasOwnProperty;function h0(n){if(!Q(n))return c0(n);var e=Wa(n),t=[];for(var i in n)i=="constructor"&&(e||!d0.call(n,i))||t.push(i);return t}function sn(n){return Fo(n)?lf(n,!0):h0(n)}var uf=Ua(function(n,e){nn(e,sn(e),n)}),f0=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,m0=/^\w*$/;function Ga(n,e){if(He(n))return!1;var t=typeof n;return t=="number"||t=="symbol"||t=="boolean"||n==null||Mo(n)?!0:m0.test(n)||!f0.test(n)||e!=null&&n in Object(e)}var $n=gi(Object,"create");function g0(){this.__data__=$n?$n(null):{},this.size=0}function p0(n){var e=this.has(n)&&delete this.__data__[n];return this.size-=e?1:0,e}var w0="__lodash_hash_undefined__",b0=Object.prototype,_0=b0.hasOwnProperty;function v0(n){var e=this.__data__;if($n){var t=e[n];return t===w0?void 0:t}return _0.call(e,n)?e[n]:void 0}var y0=Object.prototype,k0=y0.hasOwnProperty;function C0(n){var e=this.__data__;return $n?e[n]!==void 0:k0.call(e,n)}var E0="__lodash_hash_undefined__";function T0(n,e){var t=this.__data__;return this.size+=this.has(n)?0:1,t[n]=$n&&e===void 0?E0:e,this}function ai(n){var e=-1,t=n==null?0:n.length;for(this.clear();++e<t;){var i=n[e];this.set(i[0],i[1])}}ai.prototype.clear=g0;ai.prototype.delete=p0;ai.prototype.get=v0;ai.prototype.has=C0;ai.prototype.set=T0;function A0(){this.__data__=[],this.size=0}function Do(n,e){for(var t=n.length;t--;)if(as(n[t][0],e))return t;return-1}var S0=Array.prototype,x0=S0.splice;function I0(n){var e=this.__data__,t=Do(e,n);if(t<0)return!1;var i=e.length-1;return t==i?e.pop():x0.call(e,t,1),--this.size,!0}function P0(n){var e=this.__data__,t=Do(e,n);return t<0?void 0:e[t][1]}function R0(n){return Do(this.__data__,n)>-1}function V0(n,e){var t=this.__data__,i=Do(t,n);return i<0?(++this.size,t.push([n,e])):t[i][1]=e,this}function It(n){var e=-1,t=n==null?0:n.length;for(this.clear();++e<t;){var i=n[e];this.set(i[0],i[1])}}It.prototype.clear=A0;It.prototype.delete=I0;It.prototype.get=P0;It.prototype.has=R0;It.prototype.set=V0;var Hn=gi(rt,"Map");function B0(){this.size=0,this.__data__={hash:new ai,map:new(Hn||It),string:new ai}}function M0(n){var e=typeof n;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?n!=="__proto__":n===null}function No(n,e){var t=n.__data__;return M0(e)?t[typeof e=="string"?"string":"hash"]:t.map}function L0(n){var e=No(this,n).delete(n);return this.size-=e?1:0,e}function O0(n){return No(this,n).get(n)}function F0(n){return No(this,n).has(n)}function D0(n,e){var t=No(this,n),i=t.size;return t.set(n,e),this.size+=t.size==i?0:1,this}function Pt(n){var e=-1,t=n==null?0:n.length;for(this.clear();++e<t;){var i=n[e];this.set(i[0],i[1])}}Pt.prototype.clear=B0;Pt.prototype.delete=L0;Pt.prototype.get=O0;Pt.prototype.has=F0;Pt.prototype.set=D0;var N0="Expected a function";function Ka(n,e){if(typeof n!="function"||e!=null&&typeof e!="function")throw new TypeError(N0);var t=function(){var i=arguments,s=e?e.apply(this,i):i[0],o=t.cache;if(o.has(s))return o.get(s);var r=n.apply(this,i);return t.cache=o.set(s,r)||o,r};return t.cache=new(Ka.Cache||Pt),t}Ka.Cache=Pt;var $0=500;function H0(n){var e=Ka(n,function(i){return t.size===$0&&t.clear(),i}),t=e.cache;return e}var z0=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,U0=/\\(\\)?/g,W0=H0(function(n){var e=[];return n.charCodeAt(0)===46&&e.push(""),n.replace(z0,function(t,i,s,o){e.push(s?o.replace(U0,"$1"):i||t)}),e});function cs(n){return n==null?"":nf(n)}function $o(n,e){return He(n)?n:Ga(n,e)?[n]:W0(cs(n))}var q0=1/0;function on(n){if(typeof n=="string"||Mo(n))return n;var e=n+"";return e=="0"&&1/n==-q0?"-0":e}function Za(n,e){e=$o(e,n);for(var t=0,i=e.length;n!=null&&t<i;)n=n[on(e[t++])];return t&&t==i?n:void 0}function zn(n,e,t){var i=n==null?void 0:Za(n,e);return i===void 0?t:i}function df(n,e){for(var t=-1,i=e.length,s=n.length;++t<i;)n[s+t]=e[t];return n}var Ja=cf(Object.getPrototypeOf,Object),j0="[object Object]",G0=Function.prototype,K0=Object.prototype,hf=G0.toString,Z0=K0.hasOwnProperty,J0=hf.call(Object);function Pe(n){if(!Ke(n)||Nt(n)!=j0)return!1;var e=Ja(n);if(e===null)return!0;var t=Z0.call(e,"constructor")&&e.constructor;return typeof t=="function"&&t instanceof t&&hf.call(t)==J0}function ff(n,e,t){var i=-1,s=n.length;e<0&&(e=-e>s?0:s+e),t=t>s?s:t,t<0&&(t+=s),s=e>t?0:t-e>>>0,e>>>=0;for(var o=Array(s);++i<s;)o[i]=n[i+e];return o}function Y0(n,e,t){var i=n.length;return t=t===void 0?i:t,!e&&t>=i?n:ff(n,e,t)}var Q0="\\ud800-\\udfff",X0="\\u0300-\\u036f",e_="\\ufe20-\\ufe2f",t_="\\u20d0-\\u20ff",i_=X0+e_+t_,n_="\\ufe0e\\ufe0f",s_="\\u200d",o_=RegExp("["+s_+Q0+i_+n_+"]");function mf(n){return o_.test(n)}function r_(n){return n.split("")}var gf="\\ud800-\\udfff",a_="\\u0300-\\u036f",l_="\\ufe20-\\ufe2f",c_="\\u20d0-\\u20ff",u_=a_+l_+c_,d_="\\ufe0e\\ufe0f",h_="["+gf+"]",qr="["+u_+"]",jr="\\ud83c[\\udffb-\\udfff]",f_="(?:"+qr+"|"+jr+")",pf="[^"+gf+"]",wf="(?:\\ud83c[\\udde6-\\uddff]){2}",bf="[\\ud800-\\udbff][\\udc00-\\udfff]",m_="\\u200d",_f=f_+"?",vf="["+d_+"]?",g_="(?:"+m_+"(?:"+[pf,wf,bf].join("|")+")"+vf+_f+")*",p_=vf+_f+g_,w_="(?:"+[pf+qr+"?",qr,wf,bf,h_].join("|")+")",b_=RegExp(jr+"(?="+jr+")|"+w_+p_,"g");function __(n){return n.match(b_)||[]}function v_(n){return mf(n)?__(n):r_(n)}function y_(n){return function(e){e=cs(e);var t=mf(e)?v_(e):void 0,i=t?t[0]:e.charAt(0),s=t?Y0(t,1).join(""):e.slice(1);return i[n]()+s}}var yf=y_("toUpperCase");function k_(n,e,t,i){var s=-1,o=n==null?0:n.length;for(i&&o&&(t=n[++s]);++s<o;)t=e(t,n[s],s,n);return t}function C_(n){return function(e){return n==null?void 0:n[e]}}var E_={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},T_=C_(E_);const A_=T_;var S_=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,x_="\\u0300-\\u036f",I_="\\ufe20-\\ufe2f",P_="\\u20d0-\\u20ff",R_=x_+I_+P_,V_="["+R_+"]",B_=RegExp(V_,"g");function M_(n){return n=cs(n),n&&n.replace(S_,A_).replace(B_,"")}var L_=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function O_(n){return n.match(L_)||[]}var F_=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function D_(n){return F_.test(n)}var kf="\\ud800-\\udfff",N_="\\u0300-\\u036f",$_="\\ufe20-\\ufe2f",H_="\\u20d0-\\u20ff",z_=N_+$_+H_,Cf="\\u2700-\\u27bf",Ef="a-z\\xdf-\\xf6\\xf8-\\xff",U_="\\xac\\xb1\\xd7\\xf7",W_="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",q_="\\u2000-\\u206f",j_=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Tf="A-Z\\xc0-\\xd6\\xd8-\\xde",G_="\\ufe0e\\ufe0f",Af=U_+W_+q_+j_,Sf="['’]",ec="["+Af+"]",K_="["+z_+"]",xf="\\d+",Z_="["+Cf+"]",If="["+Ef+"]",Pf="[^"+kf+Af+xf+Cf+Ef+Tf+"]",J_="\\ud83c[\\udffb-\\udfff]",Y_="(?:"+K_+"|"+J_+")",Q_="[^"+kf+"]",Rf="(?:\\ud83c[\\udde6-\\uddff]){2}",Vf="[\\ud800-\\udbff][\\udc00-\\udfff]",Fi="["+Tf+"]",X_="\\u200d",tc="(?:"+If+"|"+Pf+")",ev="(?:"+Fi+"|"+Pf+")",ic="(?:"+Sf+"(?:d|ll|m|re|s|t|ve))?",nc="(?:"+Sf+"(?:D|LL|M|RE|S|T|VE))?",Bf=Y_+"?",Mf="["+G_+"]?",tv="(?:"+X_+"(?:"+[Q_,Rf,Vf].join("|")+")"+Mf+Bf+")*",iv="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",nv="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",sv=Mf+Bf+tv,ov="(?:"+[Z_,Rf,Vf].join("|")+")"+sv,rv=RegExp([Fi+"?"+If+"+"+ic+"(?="+[ec,Fi,"$"].join("|")+")",ev+"+"+nc+"(?="+[ec,Fi+tc,"$"].join("|")+")",Fi+"?"+tc+"+"+ic,Fi+"+"+nc,nv,iv,xf,ov].join("|"),"g");function av(n){return n.match(rv)||[]}function lv(n,e,t){return n=cs(n),e=t?void 0:e,e===void 0?D_(n)?av(n):O_(n):n.match(e)||[]}var cv="['’]",uv=RegExp(cv,"g");function dv(n){return function(e){return k_(lv(M_(e).replace(uv,"")),n,"")}}function hv(){this.__data__=new It,this.size=0}function fv(n){var e=this.__data__,t=e.delete(n);return this.size=e.size,t}function mv(n){return this.__data__.get(n)}function gv(n){return this.__data__.has(n)}var pv=200;function wv(n,e){var t=this.__data__;if(t instanceof It){var i=t.__data__;if(!Hn||i.length<pv-1)return i.push([n,e]),this.size=++t.size,this;t=this.__data__=new Pt(i)}return t.set(n,e),this.size=t.size,this}function it(n){var e=this.__data__=new It(n);this.size=e.size}it.prototype.clear=hv;it.prototype.delete=fv;it.prototype.get=mv;it.prototype.has=gv;it.prototype.set=wv;function bv(n,e){return n&&nn(e,ls(e),n)}function _v(n,e){return n&&nn(e,sn(e),n)}var Lf=typeof exports=="object"&&exports&&!exports.nodeType&&exports,sc=Lf&&typeof module=="object"&&module&&!module.nodeType&&module,vv=sc&&sc.exports===Lf,oc=vv?rt.Buffer:void 0,rc=oc?oc.allocUnsafe:void 0;function Of(n,e){if(e)return n.slice();var t=n.length,i=rc?rc(t):new n.constructor(t);return n.copy(i),i}function yv(n,e){for(var t=-1,i=n==null?0:n.length,s=0,o=[];++t<i;){var r=n[t];e(r,t,n)&&(o[s++]=r)}return o}function Ff(){return[]}var kv=Object.prototype,Cv=kv.propertyIsEnumerable,ac=Object.getOwnPropertySymbols,Ya=ac?function(n){return n==null?[]:(n=Object(n),yv(ac(n),function(e){return Cv.call(n,e)}))}:Ff;function Ev(n,e){return nn(n,Ya(n),e)}var Tv=Object.getOwnPropertySymbols,Df=Tv?function(n){for(var e=[];n;)df(e,Ya(n)),n=Ja(n);return e}:Ff;function Av(n,e){return nn(n,Df(n),e)}function Nf(n,e,t){var i=e(n);return He(n)?i:df(i,t(n))}function Gr(n){return Nf(n,ls,Ya)}function Sv(n){return Nf(n,sn,Df)}var Kr=gi(rt,"DataView"),Zr=gi(rt,"Promise"),Jr=gi(rt,"Set"),lc="[object Map]",xv="[object Object]",cc="[object Promise]",uc="[object Set]",dc="[object WeakMap]",hc="[object DataView]",Iv=mi(Kr),Pv=mi(Hn),Rv=mi(Zr),Vv=mi(Jr),Bv=mi(Wr),Jt=Nt;(Kr&&Jt(new Kr(new ArrayBuffer(1)))!=hc||Hn&&Jt(new Hn)!=lc||Zr&&Jt(Zr.resolve())!=cc||Jr&&Jt(new Jr)!=uc||Wr&&Jt(new Wr)!=dc)&&(Jt=function(n){var e=Nt(n),t=e==xv?n.constructor:void 0,i=t?mi(t):"";if(i)switch(i){case Iv:return hc;case Pv:return lc;case Rv:return cc;case Vv:return uc;case Bv:return dc}return e});const Un=Jt;var Mv=Object.prototype,Lv=Mv.hasOwnProperty;function Ov(n){var e=n.length,t=new n.constructor(e);return e&&typeof n[0]=="string"&&Lv.call(n,"index")&&(t.index=n.index,t.input=n.input),t}var ro=rt.Uint8Array;function Qa(n){var e=new n.constructor(n.byteLength);return new ro(e).set(new ro(n)),e}function Fv(n,e){var t=e?Qa(n.buffer):n.buffer;return new n.constructor(t,n.byteOffset,n.byteLength)}var Dv=/\w*$/;function Nv(n){var e=new n.constructor(n.source,Dv.exec(n));return e.lastIndex=n.lastIndex,e}var fc=ft?ft.prototype:void 0,mc=fc?fc.valueOf:void 0;function $v(n){return mc?Object(mc.call(n)):{}}function $f(n,e){var t=e?Qa(n.buffer):n.buffer;return new n.constructor(t,n.byteOffset,n.length)}var Hv="[object Boolean]",zv="[object Date]",Uv="[object Map]",Wv="[object Number]",qv="[object RegExp]",jv="[object Set]",Gv="[object String]",Kv="[object Symbol]",Zv="[object ArrayBuffer]",Jv="[object DataView]",Yv="[object Float32Array]",Qv="[object Float64Array]",Xv="[object Int8Array]",ey="[object Int16Array]",ty="[object Int32Array]",iy="[object Uint8Array]",ny="[object Uint8ClampedArray]",sy="[object Uint16Array]",oy="[object Uint32Array]";function ry(n,e,t){var i=n.constructor;switch(e){case Zv:return Qa(n);case Hv:case zv:return new i(+n);case Jv:return Fv(n,t);case Yv:case Qv:case Xv:case ey:case ty:case iy:case ny:case sy:case oy:return $f(n,t);case Uv:return new i;case Wv:case Gv:return new i(n);case qv:return Nv(n);case jv:return new i;case Kv:return $v(n)}}function Hf(n){return typeof n.constructor=="function"&&!Wa(n)?sb(Ja(n)):{}}var ay="[object Map]";function ly(n){return Ke(n)&&Un(n)==ay}var gc=ji&&ji.isMap,cy=gc?qa(gc):ly,uy="[object Set]";function dy(n){return Ke(n)&&Un(n)==uy}var pc=ji&&ji.isSet,hy=pc?qa(pc):dy,fy=1,my=2,gy=4,zf="[object Arguments]",py="[object Array]",wy="[object Boolean]",by="[object Date]",_y="[object Error]",Uf="[object Function]",vy="[object GeneratorFunction]",yy="[object Map]",ky="[object Number]",Wf="[object Object]",Cy="[object RegExp]",Ey="[object Set]",Ty="[object String]",Ay="[object Symbol]",Sy="[object WeakMap]",xy="[object ArrayBuffer]",Iy="[object DataView]",Py="[object Float32Array]",Ry="[object Float64Array]",Vy="[object Int8Array]",By="[object Int16Array]",My="[object Int32Array]",Ly="[object Uint8Array]",Oy="[object Uint8ClampedArray]",Fy="[object Uint16Array]",Dy="[object Uint32Array]",X={};X[zf]=X[py]=X[xy]=X[Iy]=X[wy]=X[by]=X[Py]=X[Ry]=X[Vy]=X[By]=X[My]=X[yy]=X[ky]=X[Wf]=X[Cy]=X[Ey]=X[Ty]=X[Ay]=X[Ly]=X[Oy]=X[Fy]=X[Dy]=!0;X[_y]=X[Uf]=X[Sy]=!1;function Wi(n,e,t,i,s,o){var r,a=e&fy,l=e&my,c=e&gy;if(t&&(r=s?t(n,i,s,o):t(n)),r!==void 0)return r;if(!Q(n))return n;var u=He(n);if(u){if(r=Ov(n),!a)return sf(n,r)}else{var d=Un(n),h=d==Uf||d==vy;if(Nn(n))return Of(n,a);if(d==Wf||d==zf||h&&!s){if(r=l||h?{}:Hf(n),!a)return l?Av(n,_v(r,n)):Ev(n,bv(r,n))}else{if(!X[d])return s?n:{};r=ry(n,d,a)}}o||(o=new it);var f=o.get(n);if(f)return f;o.set(n,r),hy(n)?n.forEach(function(_){r.add(Wi(_,e,t,_,n,o))}):cy(n)&&n.forEach(function(_,y){r.set(y,Wi(_,e,t,y,n,o))});var m=c?l?Sv:Gr:l?sn:ls,p=u?void 0:m(n);return mb(p||n,function(_,y){p&&(y=_,_=n[y]),Ha(r,y,Wi(_,e,t,y,n,o))}),r}var Ny=4;function qf(n){return Wi(n,Ny)}var $y=1,Hy=4;function Je(n){return Wi(n,$y|Hy)}var zy=1,Uy=4;function Xa(n,e){return e=typeof e=="function"?e:void 0,Wi(n,zy|Uy,e)}var Wy="__lodash_hash_undefined__";function qy(n){return this.__data__.set(n,Wy),this}function jy(n){return this.__data__.has(n)}function ao(n){var e=-1,t=n==null?0:n.length;for(this.__data__=new Pt;++e<t;)this.add(n[e])}ao.prototype.add=ao.prototype.push=qy;ao.prototype.has=jy;function Gy(n,e){for(var t=-1,i=n==null?0:n.length;++t<i;)if(e(n[t],t,n))return!0;return!1}function Ky(n,e){return n.has(e)}var Zy=1,Jy=2;function jf(n,e,t,i,s,o){var r=t&Zy,a=n.length,l=e.length;if(a!=l&&!(r&&l>a))return!1;var c=o.get(n),u=o.get(e);if(c&&u)return c==e&&u==n;var d=-1,h=!0,f=t&Jy?new ao:void 0;for(o.set(n,e),o.set(e,n);++d<a;){var m=n[d],p=e[d];if(i)var _=r?i(p,m,d,e,n,o):i(m,p,d,n,e,o);if(_!==void 0){if(_)continue;h=!1;break}if(f){if(!Gy(e,function(y,A){if(!Ky(f,A)&&(m===y||s(m,y,t,i,o)))return f.push(A)})){h=!1;break}}else if(!(m===p||s(m,p,t,i,o))){h=!1;break}}return o.delete(n),o.delete(e),h}function Yy(n){var e=-1,t=Array(n.size);return n.forEach(function(i,s){t[++e]=[s,i]}),t}function Qy(n){var e=-1,t=Array(n.size);return n.forEach(function(i){t[++e]=i}),t}var Xy=1,ek=2,tk="[object Boolean]",ik="[object Date]",nk="[object Error]",sk="[object Map]",ok="[object Number]",rk="[object RegExp]",ak="[object Set]",lk="[object String]",ck="[object Symbol]",uk="[object ArrayBuffer]",dk="[object DataView]",wc=ft?ft.prototype:void 0,ar=wc?wc.valueOf:void 0;function hk(n,e,t,i,s,o,r){switch(t){case dk:if(n.byteLength!=e.byteLength||n.byteOffset!=e.byteOffset)return!1;n=n.buffer,e=e.buffer;case uk:return!(n.byteLength!=e.byteLength||!o(new ro(n),new ro(e)));case tk:case ik:case ok:return as(+n,+e);case nk:return n.name==e.name&&n.message==e.message;case rk:case lk:return n==e+"";case sk:var a=Yy;case ak:var l=i&Xy;if(a||(a=Qy),n.size!=e.size&&!l)return!1;var c=r.get(n);if(c)return c==e;i|=ek,r.set(n,e);var u=jf(a(n),a(e),i,s,o,r);return r.delete(n),u;case ck:if(ar)return ar.call(n)==ar.call(e)}return!1}var fk=1,mk=Object.prototype,gk=mk.hasOwnProperty;function pk(n,e,t,i,s,o){var r=t&fk,a=Gr(n),l=a.length,c=Gr(e),u=c.length;if(l!=u&&!r)return!1;for(var d=l;d--;){var h=a[d];if(!(r?h in e:gk.call(e,h)))return!1}var f=o.get(n),m=o.get(e);if(f&&m)return f==e&&m==n;var p=!0;o.set(n,e),o.set(e,n);for(var _=r;++d<l;){h=a[d];var y=n[h],A=e[h];if(i)var D=r?i(A,y,h,e,n,o):i(y,A,h,n,e,o);if(!(D===void 0?y===A||s(y,A,t,i,o):D)){p=!1;break}_||(_=h=="constructor")}if(p&&!_){var k=n.constructor,M=e.constructor;k!=M&&"constructor"in n&&"constructor"in e&&!(typeof k=="function"&&k instanceof k&&typeof M=="function"&&M instanceof M)&&(p=!1)}return o.delete(n),o.delete(e),p}var wk=1,bc="[object Arguments]",_c="[object Array]",Cs="[object Object]",bk=Object.prototype,vc=bk.hasOwnProperty;function _k(n,e,t,i,s,o){var r=He(n),a=He(e),l=r?_c:Un(n),c=a?_c:Un(e);l=l==bc?Cs:l,c=c==bc?Cs:c;var u=l==Cs,d=c==Cs,h=l==c;if(h&&Nn(n)){if(!Nn(e))return!1;r=!0,u=!1}if(h&&!u)return o||(o=new it),r||ja(n)?jf(n,e,t,i,s,o):hk(n,e,l,t,i,s,o);if(!(t&wk)){var f=u&&vc.call(n,"__wrapped__"),m=d&&vc.call(e,"__wrapped__");if(f||m){var p=f?n.value():n,_=m?e.value():e;return o||(o=new it),s(p,_,t,i,o)}}return h?(o||(o=new it),pk(n,e,t,i,s,o)):!1}function us(n,e,t,i,s){return n===e?!0:n==null||e==null||!Ke(n)&&!Ke(e)?n!==n&&e!==e:_k(n,e,t,i,us,s)}var vk=1,yk=2;function kk(n,e,t,i){var s=t.length,o=s,r=!i;if(n==null)return!o;for(n=Object(n);s--;){var a=t[s];if(r&&a[2]?a[1]!==n[a[0]]:!(a[0]in n))return!1}for(;++s<o;){a=t[s];var l=a[0],c=n[l],u=a[1];if(r&&a[2]){if(c===void 0&&!(l in n))return!1}else{var d=new it;if(i)var h=i(c,u,l,n,e,d);if(!(h===void 0?us(u,c,vk|yk,i,d):h))return!1}}return!0}function Gf(n){return n===n&&!Q(n)}function Ck(n){for(var e=ls(n),t=e.length;t--;){var i=e[t],s=n[i];e[t]=[i,s,Gf(s)]}return e}function Kf(n,e){return function(t){return t==null?!1:t[n]===e&&(e!==void 0||n in Object(t))}}function Ek(n){var e=Ck(n);return e.length==1&&e[0][2]?Kf(e[0][0],e[0][1]):function(t){return t===n||kk(t,n,e)}}function Tk(n,e){return n!=null&&e in Object(n)}function Ak(n,e,t){e=$o(e,n);for(var i=-1,s=e.length,o=!1;++i<s;){var r=on(e[i]);if(!(o=n!=null&&t(n,r)))break;n=n[r]}return o||++i!=s?o:(s=n==null?0:n.length,!!s&&za(s)&&Lo(r,s)&&(He(n)||oo(n)))}function Sk(n,e){return n!=null&&Ak(n,e,Tk)}var xk=1,Ik=2;function Pk(n,e){return Ga(n)&&Gf(e)?Kf(on(n),e):function(t){var i=zn(t,n);return i===void 0&&i===e?Sk(t,n):us(e,i,xk|Ik)}}function Rk(n){return function(e){return e==null?void 0:e[n]}}function Vk(n){return function(e){return Za(e,n)}}function Bk(n){return Ga(n)?Rk(on(n)):Vk(n)}function Mk(n){return typeof n=="function"?n:n==null?Mt:typeof n=="object"?He(n)?Pk(n[0],n[1]):Ek(n):Bk(n)}function Lk(n){return function(e,t,i){for(var s=-1,o=Object(e),r=i(e),a=r.length;a--;){var l=r[n?a:++s];if(t(o[l],l,o)===!1)break}return e}}var Zf=Lk();function Ok(n,e){return n&&Zf(n,e,ls)}var lr=function(){return rt.Date.now()},Fk="Expected a function",Dk=Math.max,Nk=Math.min;function li(n,e,t){var i,s,o,r,a,l,c=0,u=!1,d=!1,h=!0;if(typeof n!="function")throw new TypeError(Fk);e=jl(e)||0,Q(t)&&(u=!!t.leading,d="maxWait"in t,o=d?Dk(jl(t.maxWait)||0,e):o,h="trailing"in t?!!t.trailing:h);function f(C){var P=i,x=s;return i=s=void 0,c=C,r=n.apply(x,P),r}function m(C){return c=C,a=setTimeout(y,e),u?f(C):r}function p(C){var P=C-l,x=C-c,Y=e-P;return d?Nk(Y,o-x):Y}function _(C){var P=C-l,x=C-c;return l===void 0||P>=e||P<0||d&&x>=o}function y(){var C=lr();if(_(C))return A(C);a=setTimeout(y,p(C))}function A(C){return a=void 0,h&&i?f(C):(i=s=void 0,r)}function D(){a!==void 0&&clearTimeout(a),c=0,i=l=s=a=void 0}function k(){return a===void 0?r:A(lr())}function M(){var C=lr(),P=_(C);if(i=arguments,s=this,l=C,P){if(a===void 0)return m(l);if(d)return clearTimeout(a),a=setTimeout(y,e),f(l)}return a===void 0&&(a=setTimeout(y,e)),r}return M.cancel=D,M.flush=k,M}function Yr(n,e,t){(t!==void 0&&!as(n[e],t)||t===void 0&&!(e in n))&&Oo(n,e,t)}function $k(n){return Ke(n)&&Fo(n)}function Qr(n,e){if(!(e==="constructor"&&typeof n[e]=="function")&&e!="__proto__")return n[e]}function Hk(n){return nn(n,sn(n))}function zk(n,e,t,i,s,o,r){var a=Qr(n,t),l=Qr(e,t),c=r.get(l);if(c){Yr(n,t,c);return}var u=o?o(a,l,t+"",n,e,r):void 0,d=u===void 0;if(d){var h=He(l),f=!h&&Nn(l),m=!h&&!f&&ja(l);u=l,h||f||m?He(a)?u=a:$k(a)?u=sf(a):f?(d=!1,u=Of(l,!0)):m?(d=!1,u=$f(l,!0)):u=[]:Pe(l)||oo(l)?(u=a,oo(a)?u=Hk(a):(!Q(a)||ri(a))&&(u=Hf(l))):d=!1}d&&(r.set(l,u),s(u,l,i,o,r),r.delete(l)),Yr(n,t,u)}function el(n,e,t,i,s){n!==e&&Zf(e,function(o,r){if(s||(s=new it),Q(o))zk(n,e,r,t,el,i,s);else{var a=i?i(Qr(n,r),o,r+"",n,e,s):void 0;a===void 0&&(a=o),Yr(n,r,a)}},sn)}var Uk=Ua(function(n,e,t,i){el(n,e,t,i)});function Wk(n){var e=n==null?0:n.length;return e?n[e-1]:void 0}var Jf=/[\\^$.*+?()[\]{}|]/g,qk=RegExp(Jf.source);function jk(n){return n=cs(n),n&&qk.test(n)?n.replace(Jf,"\\$&"):n}var Gk="[object String]";function yc(n){return typeof n=="string"||!He(n)&&Ke(n)&&Nt(n)==Gk}function Kk(n,e){return e.length<2?n:Za(n,ff(e,0,-1))}function ci(n){return Ke(n)&&n.nodeType===1&&!Pe(n)}function lo(n,e){return us(n,e)}function Zk(n,e,t){t=typeof t=="function"?t:void 0;var i=t?t(n,e):void 0;return i===void 0?us(n,e,void 0,t):!!i}function Jk(n,e){var t={};return e=Mk(e),Ok(n,function(i,s,o){Oo(t,s,e(i,s,o))}),t}var tl=Ua(function(n,e,t){el(n,e,t)});function Yk(n,e){return e=$o(e,n),n=Kk(n,e),n==null||delete n[on(Wk(e))]}function Qk(n,e,t,i){if(!Q(n))return n;e=$o(e,n);for(var s=-1,o=e.length,r=o-1,a=n;a!=null&&++s<o;){var l=on(e[s]),c=t;if(l==="__proto__"||l==="constructor"||l==="prototype")return n;if(s!=r){var u=a[l];c=i?i(u,l,a):void 0,c===void 0&&(c=Q(u)?u:Lo(e[s+1])?[]:{})}Ha(a,l,c),a=a[l]}return n}function Xk(n,e,t){return n==null?n:Qk(n,e,t)}var e2=dv(function(n,e,t){return n+(t?" ":"")+yf(e)}),t2="Expected a function";function Wn(n,e,t){var i=!0,s=!0;if(typeof n!="function")throw new TypeError(t2);return Q(t)&&(i="leading"in t?!!t.leading:i,s="trailing"in t?!!t.trailing:s),li(n,e,{leading:i,maxWait:e,trailing:s})}function i2(n,e){return n==null?!0:Yk(n,e)}/**
|
package/dist/editor-lib.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("./ckeditor5-
|
|
1
|
+
"use strict";const t=require("./ckeditor5-CoeTG6HK.cjs");function v(n){return(n==null?void 0:n.length)!==void 0?n:Array.from(n)}function k(n,e,s){const l=n.slice();return l[4]=e[s],l}function E(n){let e,s=n[4].text+"",l,u,c,o,_;return{c(){e=t.element("button"),l=t.text(s),t.attr(e,"class",u=n[4].style),t.attr(e,"title",c=n[4].text)},m(r,a){t.insert(r,e,a),t.append(e,l),o||(_=t.listen(e,"click",function(){t.is_function(n[4].handler)&&n[4].handler.apply(this,arguments)}),o=!0)},p(r,a){n=r,a&1&&s!==(s=n[4].text+"")&&t.set_data(l,s),a&1&&u!==(u=n[4].style)&&t.attr(e,"class",u),a&1&&c!==(c=n[4].text)&&t.attr(e,"title",c)},d(r){r&&t.detach(e),o=!1,_()}}}function C(n){let e,s,l,u,c,o,_,r=v(n[0]),a=[];for(let i=0;i<r.length;i+=1)a[i]=E(k(n,r,i));return{c(){e=t.element("div"),s=t.element("button"),s.textContent="HTML",l=t.space(),u=t.element("button"),u.textContent="Plain",c=t.space();for(let i=0;i<a.length;i+=1)a[i].c();t.attr(s,"class","HTMLEditor"),t.attr(u,"class","PlainEditor")},m(i,d){t.insert(i,e,d),t.append(e,s),t.append(e,l),t.append(e,u),t.append(e,c);for(let f=0;f<a.length;f+=1)a[f]&&a[f].m(e,null);o||(_=[t.listen(s,"click",n[1]),t.listen(u,"click",n[2])],o=!0)},p(i,[d]){if(d&1){r=v(i[0]);let f;for(f=0;f<r.length;f+=1){const b=k(i,r,f);a[f]?a[f].p(b,d):(a[f]=E(b),a[f].c(),a[f].m(e,null))}for(;f<a.length;f+=1)a[f].d(1);a.length=r.length}},i:t.noop,o:t.noop,d(i){i&&t.detach(e),t.destroy_each(a,i),o=!1,t.run_all(_)}}}function w(n,e,s){const l=t.createEventDispatcher();let{buttons:u=[]}=e;function c(){l("html",{})}function o(){l("plain",{})}return n.$$set=_=>{"buttons"in _&&s(0,u=_.buttons)},[u,c,o]}class $ extends t.SvelteComponent{constructor(e){super(),t.init(this,e,w,C,t.safe_not_equal,{buttons:0})}get buttons(){return this.$$.ctx[0]}set buttons(e){this.$$set({buttons:e}),t.flush()}}t.create_custom_element($,{buttons:{}},[],[],!0);function H(n){let e,s,l;return{c(){e=t.element("textarea")},m(u,c){t.insert(u,e,c),t.set_input_value(e,n[0]),s||(l=t.listen(e,"input",n[6]),s=!0)},p(u,c){c&1&&t.set_input_value(e,u[0])},i:t.noop,o:t.noop,d(u){u&&t.detach(e),s=!1,l()}}}function P(n){let e,s,l;function u(o){n[5](o)}let c={};return n[0]!==void 0&&(c.value=n[0]),e=new t.CKEditor5Classic_1({props:c}),t.binding_callbacks.push(()=>t.bind(e,"value",u)),{c(){t.create_component(e.$$.fragment)},m(o,_){t.mount_component(e,o,_),l=!0},p(o,_){const r={};!s&&_&1&&(s=!0,r.value=o[0],t.add_flush_callback(()=>s=!1)),e.$set(r)},i(o){l||(t.transition_in(e.$$.fragment,o),l=!0)},o(o){t.transition_out(e.$$.fragment,o),l=!1},d(o){t.destroy_component(e,o)}}}function q(n){let e,s,l,u,c,o,_,r;const a=[P,H],i=[];function d(h,m){return h[2]?0:1}l=d(n),u=i[l]=a[l](n);function f(h){n[7](h)}let b={};return n[1]!==void 0&&(b.buttons=n[1]),o=new $({props:b}),t.binding_callbacks.push(()=>t.bind(o,"buttons",f)),o.$on("html",n[3]),o.$on("plain",n[4]),{c(){e=t.element("main"),s=t.element("div"),u.c(),c=t.space(),t.create_component(o.$$.fragment),t.attr(s,"class","Editor")},m(h,m){t.insert(h,e,m),t.append(e,s),i[l].m(s,null),t.append(e,c),t.mount_component(o,e,null),r=!0},p(h,[m]){let p=l;l=d(h),l===p?i[l].p(h,m):(t.group_outros(),t.transition_out(i[p],1,1,()=>{i[p]=null}),t.check_outros(),u=i[l],u?u.p(h,m):(u=i[l]=a[l](h),u.c()),t.transition_in(u,1),u.m(s,null));const g={};!_&&m&2&&(_=!0,g.buttons=h[1],t.add_flush_callback(()=>_=!1)),o.$set(g)},i(h){r||(t.transition_in(u),t.transition_in(o.$$.fragment,h),r=!0)},o(h){t.transition_out(u),t.transition_out(o.$$.fragment,h),r=!1},d(h){h&&t.detach(e),i[l].d(),t.destroy_component(o)}}}function S(n,e,s){let{value:l=""}=e,{buttons:u=[]}=e,{html:c=!0}=e;function o(){c||s(2,c=!0)}function _(){c&&(s(0,l=l.replace(/<[^>]*>?/gm,"")),s(2,c=!1))}function r(d){l=d,s(0,l)}function a(){l=this.value,s(0,l)}function i(d){u=d,s(1,u)}return n.$$set=d=>{"value"in d&&s(0,l=d.value),"buttons"in d&&s(1,u=d.buttons),"html"in d&&s(2,c=d.html)},[l,u,c,o,_,r,a,i]}class B extends t.SvelteComponent{constructor(e){super(),t.init(this,e,S,q,t.safe_not_equal,{value:0,buttons:1,html:2})}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),t.flush()}get buttons(){return this.$$.ctx[1]}set buttons(e){this.$$set({buttons:e}),t.flush()}get html(){return this.$$.ctx[2]}set html(e){this.$$set({html:e}),t.flush()}}customElements.define("switchable-editor",t.create_custom_element(B,{value:{},buttons:{},html:{type:"Boolean"}},[],[],!1));
|
package/dist/editor-lib.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as M, S as T, i as j, f as v, s as y, e as d, a as B, b as h, d as w, g as m, l as C, n as $, h as H, j as O, r as Q, k as R, t as U, m as V, o as W, p as z, q as K, u as F, v as G, w as k, x as X, y as E, z as I, A as J, B as Y, C as q, D as Z } from "./ckeditor5-
|
|
1
|
+
import { c as M, S as T, i as j, f as v, s as y, e as d, a as B, b as h, d as w, g as m, l as C, n as $, h as H, j as O, r as Q, k as R, t as U, m as V, o as W, p as z, q as K, u as F, v as G, w as k, x as X, y as E, z as I, A as J, B as Y, C as q, D as Z } from "./ckeditor5-BvvQK3rd.js";
|
|
2
2
|
function A(e) {
|
|
3
3
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
4
4
|
}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Editor component for LiveAgent",
|
|
4
4
|
"author": "QualityUnit",
|
|
5
5
|
"private": false,
|
|
6
|
-
"version": "0.0.
|
|
6
|
+
"version": "0.0.38",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"files": [
|
|
9
9
|
"dist/*"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"check": "svelte-check --tsconfig ./tsconfig.json"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@sveltejs/vite-plugin-svelte": "^3.0
|
|
32
|
+
"@sveltejs/vite-plugin-svelte": "^3.1.0",
|
|
33
33
|
"@tsconfig/svelte": "^5.0.4",
|
|
34
34
|
"svelte": "^4.2.13",
|
|
35
35
|
"svelte-check": "^3.6.9",
|
|
@@ -38,30 +38,30 @@
|
|
|
38
38
|
"vite": "^5.2.8"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@ckeditor/ckeditor5-adapter-ckfinder": "^41.3.
|
|
42
|
-
"@ckeditor/ckeditor5-alignment": "^41.3.
|
|
43
|
-
"@ckeditor/ckeditor5-autoformat": "^41.3.
|
|
44
|
-
"@ckeditor/ckeditor5-basic-styles": "^41.3.
|
|
45
|
-
"@ckeditor/ckeditor5-block-quote": "^41.3.
|
|
46
|
-
"@ckeditor/ckeditor5-code-block": "^41.3.
|
|
47
|
-
"@ckeditor/ckeditor5-editor-classic": "^41.3.
|
|
48
|
-
"@ckeditor/ckeditor5-essentials": "^41.3.
|
|
49
|
-
"@ckeditor/ckeditor5-font": "^41.3.
|
|
50
|
-
"@ckeditor/ckeditor5-heading": "^41.3.
|
|
51
|
-
"@ckeditor/ckeditor5-horizontal-line": "^41.3.
|
|
52
|
-
"@ckeditor/ckeditor5-html-support": "^41.3.
|
|
53
|
-
"@ckeditor/ckeditor5-image": "^41.3.
|
|
54
|
-
"@ckeditor/ckeditor5-indent": "^41.3.
|
|
55
|
-
"@ckeditor/ckeditor5-link": "^41.3.
|
|
56
|
-
"@ckeditor/ckeditor5-list": "^41.3.
|
|
57
|
-
"@ckeditor/ckeditor5-media-embed": "^41.3.
|
|
58
|
-
"@ckeditor/ckeditor5-paragraph": "^41.3.
|
|
59
|
-
"@ckeditor/ckeditor5-remove-format": "^41.3.
|
|
60
|
-
"@ckeditor/ckeditor5-source-editing": "^41.3.
|
|
61
|
-
"@ckeditor/ckeditor5-special-characters": "^41.3.
|
|
62
|
-
"@ckeditor/ckeditor5-style": "^41.3.
|
|
63
|
-
"@ckeditor/ckeditor5-table": "^41.3.
|
|
64
|
-
"@ckeditor/ckeditor5-theme-lark": "^41.3.
|
|
41
|
+
"@ckeditor/ckeditor5-adapter-ckfinder": "^41.3.1",
|
|
42
|
+
"@ckeditor/ckeditor5-alignment": "^41.3.1",
|
|
43
|
+
"@ckeditor/ckeditor5-autoformat": "^41.3.1",
|
|
44
|
+
"@ckeditor/ckeditor5-basic-styles": "^41.3.1",
|
|
45
|
+
"@ckeditor/ckeditor5-block-quote": "^41.3.1",
|
|
46
|
+
"@ckeditor/ckeditor5-code-block": "^41.3.1",
|
|
47
|
+
"@ckeditor/ckeditor5-editor-classic": "^41.3.1",
|
|
48
|
+
"@ckeditor/ckeditor5-essentials": "^41.3.1",
|
|
49
|
+
"@ckeditor/ckeditor5-font": "^41.3.1",
|
|
50
|
+
"@ckeditor/ckeditor5-heading": "^41.3.1",
|
|
51
|
+
"@ckeditor/ckeditor5-horizontal-line": "^41.3.1",
|
|
52
|
+
"@ckeditor/ckeditor5-html-support": "^41.3.1",
|
|
53
|
+
"@ckeditor/ckeditor5-image": "^41.3.1",
|
|
54
|
+
"@ckeditor/ckeditor5-indent": "^41.3.1",
|
|
55
|
+
"@ckeditor/ckeditor5-link": "^41.3.1",
|
|
56
|
+
"@ckeditor/ckeditor5-list": "^41.3.1",
|
|
57
|
+
"@ckeditor/ckeditor5-media-embed": "^41.3.1",
|
|
58
|
+
"@ckeditor/ckeditor5-paragraph": "^41.3.1",
|
|
59
|
+
"@ckeditor/ckeditor5-remove-format": "^41.3.1",
|
|
60
|
+
"@ckeditor/ckeditor5-source-editing": "^41.3.1",
|
|
61
|
+
"@ckeditor/ckeditor5-special-characters": "^41.3.1",
|
|
62
|
+
"@ckeditor/ckeditor5-style": "^41.3.1",
|
|
63
|
+
"@ckeditor/ckeditor5-table": "^41.3.1",
|
|
64
|
+
"@ckeditor/ckeditor5-theme-lark": "^41.3.1",
|
|
65
65
|
"@ckeditor/vite-plugin-ckeditor5": "^0.1.3"
|
|
66
66
|
}
|
|
67
67
|
}
|