@wangeditor-next/list-module 1.1.58 → 2.0.0

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/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import{i18nAddResources as r,DomEditor as t,t as n}from"@wangeditor-next/core";import{Text as e,Path as i,Editor as o,Transforms as u,Range as f}from"slate";import a,{append as c,attr as l,parent as s}from"dom7";import{jsx as v}from"snabbdom";r("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),r("zh-CN",{listModule:{unOrderedList:"无序列表",orderedList:"有序列表"}});var p,d,y="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},h={};function g(){if(d)return p;d=1;var r=function(r){return r&&r.Math===Math&&r};return p=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof y&&y)||r("object"==typeof p&&p)||function(){return this}()||Function("return this")()}var b,m,w,x,O,S,E,j,T={};function A(){return m?b:(m=1,b=function(r){try{return!!r()}catch(r){return!0}})}function I(){if(x)return w;x=1;var r=A();return w=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function P(){if(S)return O;S=1;var r=A();return O=!r(function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")})}function k(){if(j)return E;j=1;var r=P(),t=Function.prototype.call;return E=r?t.bind(t):function(){return t.apply(t,arguments)},E}var R,L,N,z,M,_,C,F,D,B,H,$,G,V,W,U,K,Y,X,q,J,Q,Z,rr,tr,nr,er,ir,or,ur,fr,ar,cr,lr,sr,vr,pr,dr,yr,hr,gr,br={};function mr(){return N?L:(N=1,L=function(r,t){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:t}})}function wr(){if(M)return z;M=1;var r=P(),t=Function.prototype,n=t.call,e=r&&t.bind.bind(n,n);return z=r?e:function(r){return function(){return n.apply(r,arguments)}},z}function xr(){if(C)return _;C=1;var r=wr(),t=r({}.toString),n=r("".slice);return _=function(r){return n(t(r),8,-1)}}function Or(){if(D)return F;D=1;var r=wr(),t=A(),n=xr(),e=Object,i=r("".split);return F=t(function(){return!e("z").propertyIsEnumerable(0)})?function(r){return"String"===n(r)?i(r,""):e(r)}:e}function Sr(){return H?B:(H=1,B=function(r){return null==r})}function Er(){if(G)return $;G=1;var r=Sr(),t=TypeError;return $=function(n){if(r(n))throw new t("Can't call method on "+n);return n}}function jr(){if(W)return V;W=1;var r=Or(),t=Er();return V=function(n){return r(t(n))}}function Tr(){if(K)return U;K=1;var r="object"==typeof document&&document.all;return U=void 0===r&&void 0!==r?function(t){return"function"==typeof t||t===r}:function(r){return"function"==typeof r}}function Ar(){if(X)return Y;X=1;var r=Tr();return Y=function(t){return"object"==typeof t?null!==t:r(t)}}function Ir(){if(J)return q;J=1;var r=g(),t=Tr();return q=function(n,e){return arguments.length<2?(i=r[n],t(i)?i:void 0):r[n]&&r[n][e];var i},q}function Pr(){if(Z)return Q;Z=1;var r=wr();return Q=r({}.isPrototypeOf)}function kr(){if(er)return nr;er=1;var r,t,n=g(),e=function(){if(tr)return rr;tr=1;var r=g().navigator,t=r&&r.userAgent;return rr=t?String(t):""}(),i=n.process,o=n.Deno,u=i&&i.versions||o&&o.version,f=u&&u.v8;return f&&(t=(r=f.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!t&&e&&(!(r=e.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=e.match(/Chrome\/(\d+)/))&&(t=+r[1]),nr=t}function Rr(){if(or)return ir;or=1;var r=kr(),t=A(),n=g().String;return ir=!!Object.getOwnPropertySymbols&&!t(function(){var t=Symbol("symbol detection");return!n(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41})}function Lr(){if(fr)return ur;fr=1;var r=Rr();return ur=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Nr(){if(cr)return ar;cr=1;var r=Ir(),t=Tr(),n=Pr(),e=Lr(),i=Object;return ar=e?function(r){return"symbol"==typeof r}:function(e){var o=r("Symbol");return t(o)&&n(o.prototype,i(e))}}function zr(){if(sr)return lr;sr=1;var r=String;return lr=function(t){try{return r(t)}catch(r){return"Object"}}}function Mr(){if(pr)return vr;pr=1;var r=Tr(),t=zr(),n=TypeError;return vr=function(e){if(r(e))return e;throw new n(t(e)+" is not a function")}}function _r(){if(yr)return dr;yr=1;var r=Mr(),t=Sr();return dr=function(n,e){var i=n[e];return t(i)?void 0:r(i)}}function Cr(){if(gr)return hr;gr=1;var r=k(),t=Tr(),n=Ar(),e=TypeError;return hr=function(i,o){var u,f;if("string"===o&&t(u=i.toString)&&!n(f=r(u,i)))return f;if(t(u=i.valueOf)&&!n(f=r(u,i)))return f;if("string"!==o&&t(u=i.toString)&&!n(f=r(u,i)))return f;throw new e("Can't convert object to primitive value")}}var Fr,Dr,Br,Hr,$r,Gr,Vr,Wr,Ur,Kr,Yr,Xr,qr,Jr,Qr,Zr,rt,tt,nt,et,it,ot,ut,ft,at={exports:{}};function ct(){return Dr?Fr:(Dr=1,Fr=!1)}function lt(){if(Hr)return Br;Hr=1;var r=g(),t=Object.defineProperty;return Br=function(n,e){try{t(r,n,{value:e,configurable:!0,writable:!0})}catch(t){r[n]=e}return e}}function st(){if($r)return at.exports;$r=1;var r=ct(),t=g(),n=lt(),e="__core-js_shared__",i=at.exports=t[e]||n(e,{});return(i.versions||(i.versions=[])).push({version:"3.47.0",mode:r?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.47.0/LICENSE",source:"https://github.com/zloirock/core-js"}),at.exports}function vt(){if(Vr)return Gr;Vr=1;var r=st();return Gr=function(t,n){return r[t]||(r[t]=n||{})}}function pt(){if(Ur)return Wr;Ur=1;var r=Er(),t=Object;return Wr=function(n){return t(r(n))}}function dt(){if(Yr)return Kr;Yr=1;var r=wr(),t=pt(),n=r({}.hasOwnProperty);return Kr=Object.hasOwn||function(r,e){return n(t(r),e)}}function yt(){if(qr)return Xr;qr=1;var r=wr(),t=0,n=Math.random(),e=r(1.1.toString);return Xr=function(r){return"Symbol("+(void 0===r?"":r)+")_"+e(++t+n,36)}}function ht(){if(Qr)return Jr;Qr=1;var r=g(),t=vt(),n=dt(),e=yt(),i=Rr(),o=Lr(),u=r.Symbol,f=t("wks"),a=o?u.for||u:u&&u.withoutSetter||e;return Jr=function(r){return n(f,r)||(f[r]=i&&n(u,r)?u[r]:a("Symbol."+r)),f[r]}}function gt(){if(rt)return Zr;rt=1;var r=k(),t=Ar(),n=Nr(),e=_r(),i=Cr(),o=ht(),u=TypeError,f=o("toPrimitive");return Zr=function(o,a){if(!t(o)||n(o))return o;var c,l=e(o,f);if(l){if(void 0===a&&(a="default"),c=r(l,o,a),!t(c)||n(c))return c;throw new u("Can't convert object to primitive value")}return void 0===a&&(a="number"),i(o,a)}}function bt(){if(nt)return tt;nt=1;var r=gt(),t=Nr();return tt=function(n){var e=r(n,"string");return t(e)?e:e+""}}function mt(){if(it)return et;it=1;var r=g(),t=Ar(),n=r.document,e=t(n)&&t(n.createElement);return et=function(r){return e?n.createElement(r):{}}}function wt(){if(ut)return ot;ut=1;var r=I(),t=A(),n=mt();return ot=!r&&!t(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function xt(){if(ft)return T;ft=1;var r=I(),t=k(),n=function(){if(R)return br;R=1;var r={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,n=t&&!r.call({1:2},1);return br.f=n?function(r){var n=t(this,r);return!!n&&n.enumerable}:r,br}(),e=mr(),i=jr(),o=bt(),u=dt(),f=wt(),a=Object.getOwnPropertyDescriptor;return T.f=r?a:function(r,c){if(r=i(r),c=o(c),f)try{return a(r,c)}catch(r){}if(u(r,c))return e(!t(n.f,r,c),r[c])},T}var Ot,St,Et,jt,Tt,At,It,Pt={};function kt(){if(St)return Ot;St=1;var r=I(),t=A();return Ot=r&&t(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function Rt(){if(jt)return Et;jt=1;var r=Ar(),t=String,n=TypeError;return Et=function(e){if(r(e))return e;throw new n(t(e)+" is not an object")}}function Lt(){if(Tt)return Pt;Tt=1;var r=I(),t=wt(),n=kt(),e=Rt(),i=bt(),o=TypeError,u=Object.defineProperty,f=Object.getOwnPropertyDescriptor,a="enumerable",c="configurable",l="writable";return Pt.f=r?n?function(r,t,n){if(e(r),t=i(t),e(n),"function"==typeof r&&"prototype"===t&&"value"in n&&l in n&&!n[l]){var o=f(r,t);o&&o[l]&&(r[t]=n.value,n={configurable:c in n?n[c]:o[c],enumerable:a in n?n[a]:o[a],writable:!1})}return u(r,t,n)}:u:function(r,n,f){if(e(r),n=i(n),e(f),t)try{return u(r,n,f)}catch(r){}if("get"in f||"set"in f)throw new o("Accessors not supported");return"value"in f&&(r[n]=f.value),r},Pt}function Nt(){if(It)return At;It=1;var r=I(),t=Lt(),n=mr();return At=r?function(r,e,i){return t.f(r,e,n(1,i))}:function(r,t,n){return r[t]=n,r}}var zt,Mt,_t,Ct,Ft,Dt,Bt,Ht,$t,Gt,Vt,Wt,Ut,Kt,Yt,Xt={exports:{}};function qt(){if(Mt)return zt;Mt=1;var r=I(),t=dt(),n=Function.prototype,e=r&&Object.getOwnPropertyDescriptor,i=t(n,"name"),o=i&&"something"===function(){}.name,u=i&&(!r||r&&e(n,"name").configurable);return zt={EXISTS:i,PROPER:o,CONFIGURABLE:u}}function Jt(){if(Ct)return _t;Ct=1;var r=wr(),t=Tr(),n=st(),e=r(Function.toString);return t(n.inspectSource)||(n.inspectSource=function(r){return e(r)}),_t=n.inspectSource}function Qt(){if(Dt)return Ft;Dt=1;var r=g(),t=Tr(),n=r.WeakMap;return Ft=t(n)&&/native code/.test(String(n))}function Zt(){if(Ht)return Bt;Ht=1;var r=vt(),t=yt(),n=r("keys");return Bt=function(r){return n[r]||(n[r]=t(r))}}function rn(){return Gt?$t:(Gt=1,$t={})}function tn(){if(Wt)return Vt;Wt=1;var r,t,n,e=Qt(),i=g(),o=Ar(),u=Nt(),f=dt(),a=st(),c=Zt(),l=rn(),s="Object already initialized",v=i.TypeError,p=i.WeakMap;if(e||a.state){var d=a.state||(a.state=new p);d.get=d.get,d.has=d.has,d.set=d.set,r=function(r,t){if(d.has(r))throw new v(s);return t.facade=r,d.set(r,t),t},t=function(r){return d.get(r)||{}},n=function(r){return d.has(r)}}else{var y=c("state");l[y]=!0,r=function(r,t){if(f(r,y))throw new v(s);return t.facade=r,u(r,y,t),t},t=function(r){return f(r,y)?r[y]:{}},n=function(r){return f(r,y)}}return Vt={set:r,get:t,has:n,enforce:function(e){return n(e)?t(e):r(e,{})},getterFor:function(r){return function(n){var e;if(!o(n)||(e=t(n)).type!==r)throw new v("Incompatible receiver, "+r+" required");return e}}}}function nn(){if(Ut)return Xt.exports;Ut=1;var r=wr(),t=A(),n=Tr(),e=dt(),i=I(),o=qt().CONFIGURABLE,u=Jt(),f=tn(),a=f.enforce,c=f.get,l=String,s=Object.defineProperty,v=r("".slice),p=r("".replace),d=r([].join),y=i&&!t(function(){return 8!==s(function(){},"length",{value:8}).length}),h=String(String).split("String"),g=Xt.exports=function(r,t,n){"Symbol("===v(l(t),0,7)&&(t="["+p(l(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!e(r,"name")||o&&r.name!==t)&&(i?s(r,"name",{value:t,configurable:!0}):r.name=t),y&&n&&e(n,"arity")&&r.length!==n.arity&&s(r,"length",{value:n.arity});try{n&&e(n,"constructor")&&n.constructor?i&&s(r,"prototype",{writable:!1}):r.prototype&&(r.prototype=void 0)}catch(r){}var u=a(r);return e(u,"source")||(u.source=d(h,"string"==typeof t?t:"")),r};return Function.prototype.toString=g(function(){return n(this)&&c(this).source||u(this)},"toString"),Xt.exports}function en(){if(Yt)return Kt;Yt=1;var r=Tr(),t=Lt(),n=nn(),e=lt();return Kt=function(i,o,u,f){f||(f={});var a=f.enumerable,c=void 0!==f.name?f.name:o;if(r(u)&&n(u,c,f),f.global)a?i[o]=u:e(o,u);else{try{f.unsafe?i[o]&&(a=!0):delete i[o]}catch(r){}a?i[o]=u:t.f(i,o,{value:u,enumerable:!1,configurable:!f.nonConfigurable,writable:!f.nonWritable})}return i}}var on,un,fn,an,cn,ln,sn,vn,pn,dn,yn,hn,gn,bn,mn,wn,xn,On={};function Sn(){if(an)return fn;an=1;var r=function(){if(un)return on;un=1;var r=Math.ceil,t=Math.floor;return on=Math.trunc||function(n){var e=+n;return(e>0?t:r)(e)}}();return fn=function(t){var n=+t;return n!=n||0===n?0:r(n)}}function En(){if(ln)return cn;ln=1;var r=Sn(),t=Math.max,n=Math.min;return cn=function(e,i){var o=r(e);return o<0?t(o+i,0):n(o,i)}}function jn(){if(vn)return sn;vn=1;var r=Sn(),t=Math.min;return sn=function(n){var e=r(n);return e>0?t(e,9007199254740991):0}}function Tn(){if(dn)return pn;dn=1;var r=jn();return pn=function(t){return r(t.length)}}function An(){if(hn)return yn;hn=1;var r=jr(),t=En(),n=Tn(),e=function(e){return function(i,o,u){var f=r(i),a=n(f);if(0===a)return!e&&-1;var c,l=t(u,a);if(e&&o!=o){for(;a>l;)if((c=f[l++])!=c)return!0}else for(;a>l;l++)if((e||l in f)&&f[l]===o)return e||l||0;return!e&&-1}};return yn={includes:e(!0),indexOf:e(!1)}}function In(){if(bn)return gn;bn=1;var r=wr(),t=dt(),n=jr(),e=An().indexOf,i=rn(),o=r([].push);return gn=function(r,u){var f,a=n(r),c=0,l=[];for(f in a)!t(i,f)&&t(a,f)&&o(l,f);for(;u.length>c;)t(a,f=u[c++])&&(~e(l,f)||o(l,f));return l}}function Pn(){return wn?mn:(wn=1,mn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function kn(){if(xn)return On;xn=1;var r=In(),t=Pn().concat("length","prototype");return On.f=Object.getOwnPropertyNames||function(n){return r(n,t)},On}var Rn,Ln,Nn,zn,Mn,_n,Cn,Fn,Dn,Bn,Hn,$n,Gn,Vn,Wn,Un,Kn,Yn,Xn,qn,Jn,Qn,Zn,re,te,ne,ee,ie,oe={};function ue(){if(Nn)return Ln;Nn=1;var r=Ir(),t=wr(),n=kn(),e=(Rn||(Rn=1,oe.f=Object.getOwnPropertySymbols),oe),i=Rt(),o=t([].concat);return Ln=r("Reflect","ownKeys")||function(r){var t=n.f(i(r)),u=e.f;return u?o(t,u(r)):t}}function fe(){if(Mn)return zn;Mn=1;var r=dt(),t=ue(),n=xt(),e=Lt();return zn=function(i,o,u){for(var f=t(o),a=e.f,c=n.f,l=0;l<f.length;l++){var s=f[l];r(i,s)||u&&r(u,s)||a(i,s,c(o,s))}}}function ae(){if(Cn)return _n;Cn=1;var r=A(),t=Tr(),n=/#|\.prototype\./,e=function(n,e){var a=o[i(n)];return a===f||a!==u&&(t(e)?r(e):!!e)},i=e.normalize=function(r){return String(r).replace(n,".").toLowerCase()},o=e.data={},u=e.NATIVE="N",f=e.POLYFILL="P";return _n=e}function ce(){if(Dn)return Fn;Dn=1;var r=g(),t=xt().f,n=Nt(),e=en(),i=lt(),o=fe(),u=ae();return Fn=function(f,a){var c,l,s,v,p,d=f.target,y=f.global,h=f.stat;if(c=y?r:h?r[d]||i(d,{}):r[d]&&r[d].prototype)for(l in a){if(v=a[l],s=f.dontCallGetSet?(p=t(c,l))&&p.value:c[l],!u(y?l:d+(h?".":"#")+l,f.forced)&&void 0!==s){if(typeof v==typeof s)continue;o(v,s)}(f.sham||s&&s.sham)&&n(v,"sham",!0),e(c,l,v,f)}}}function le(){if(Hn)return Bn;Hn=1;var r=xr();return Bn=Array.isArray||function(t){return"Array"===r(t)}}function se(){if(Gn)return $n;Gn=1;var r=TypeError;return $n=function(t){if(t>9007199254740991)throw r("Maximum allowed index exceeded");return t}}function ve(){if(Wn)return Vn;Wn=1;var r=I(),t=Lt(),n=mr();return Vn=function(e,i,o){r?t.f(e,i,n(0,o)):e[i]=o}}function pe(){if(Kn)return Un;Kn=1;var r={};return r[ht()("toStringTag")]="z",Un="[object z]"===String(r)}function de(){if(Xn)return Yn;Xn=1;var r=pe(),t=Tr(),n=xr(),e=ht()("toStringTag"),i=Object,o="Arguments"===n(function(){return arguments}());return Yn=r?n:function(r){var u,f,a;return void 0===r?"Undefined":null===r?"Null":"string"==typeof(f=function(r,t){try{return r[t]}catch(r){}}(u=i(r),e))?f:o?n(u):"Object"===(a=n(u))&&t(u.callee)?"Arguments":a}}function ye(){if(Jn)return qn;Jn=1;var r=wr(),t=A(),n=Tr(),e=de(),i=Ir(),o=Jt(),u=function(){},f=i("Reflect","construct"),a=/^\s*(?:class|function)\b/,c=r(a.exec),l=!a.test(u),s=function(r){if(!n(r))return!1;try{return f(u,[],r),!0}catch(r){return!1}},v=function(r){if(!n(r))return!1;switch(e(r)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(a,o(r))}catch(r){return!0}};return v.sham=!0,qn=!f||t(function(){var r;return s(s.call)||!s(Object)||!s(function(){r=!0})||r})?v:s}function he(){if(Zn)return Qn;Zn=1;var r=le(),t=ye(),n=Ar(),e=ht()("species"),i=Array;return Qn=function(o){var u;return r(o)&&(u=o.constructor,(t(u)&&(u===i||r(u.prototype))||n(u)&&null===(u=u[e]))&&(u=void 0)),void 0===u?i:u}}function ge(){if(te)return re;te=1;var r=he();return re=function(t,n){return new(r(t))(0===n?0:n)}}function be(){if(ee)return ne;ee=1;var r=A(),t=ht(),n=kr(),e=t("species");return ne=function(t){return n>=51||!r(function(){var r=[];return(r.constructor={})[e]=function(){return{foo:1}},1!==r[t](Boolean).foo})}}!function(){if(ie)return h;ie=1;var r=ce(),t=A(),n=le(),e=Ar(),i=pt(),o=Tn(),u=se(),f=ve(),a=ge(),c=be(),l=ht(),s=kr(),v=l("isConcatSpreadable"),p=s>=51||!t(function(){var r=[];return r[v]=!1,r.concat()[0]!==r}),d=function(r){if(!e(r))return!1;var t=r[v];return void 0!==t?!!t:n(r)};r({target:"Array",proto:!0,arity:1,forced:!p||!c("concat")},{concat:function(r){var t,n,e,c,l,s=i(this),v=a(s,0),p=0;for(t=-1,e=arguments.length;t<e;t++)if(d(l=-1===t?s:arguments[t]))for(c=o(l),u(p+c),n=0;n<c;n++,p++)n in l&&f(v,p,l[n]);else u(p+1),f(v,p++,l);return v.length=p,v}})}();var me=function(r,t){return me=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,t){r.__proto__=t}||function(r,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])},me(r,t)};function we(r,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=r}me(r,t),r.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function xe(r){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&r[t],e=0;if(n)return n.call(r);if(r&&"number"==typeof r.length)return{next:function(){return r&&e>=r.length&&(r=void 0),{value:r&&r[e++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Oe(r,t){var n="function"==typeof Symbol&&r[Symbol.iterator];if(!n)return r;var e,i,o=n.call(r),u=[];try{for(;(void 0===t||t-- >0)&&!(e=o.next()).done;)u.push(e.value)}catch(r){i={error:r}}finally{try{e&&!e.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return u}function Se(r,t,n){if(n||2===arguments.length)for(var e,i=0,o=t.length;i<o;i++)!e&&i in t||(e||(e=Array.prototype.slice.call(t,0,i)),e[i]=t[i]);return r.concat(e||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var Ee,je,Te,Ae,Ie,Pe,ke,Re,Le,Ne,ze,Me,_e,Ce,Fe,De,Be,He,$e,Ge,Ve,We,Ue,Ke,Ye,Xe,qe,Je,Qe,Ze,ri,ti,ni,ei,ii,oi={};function ui(){if(je)return Ee;je=1;var r=In(),t=Pn();return Ee=Object.keys||function(n){return r(n,t)}}function fi(){if(Ie)return Ae;Ie=1;var r=Ir();return Ae=r("document","documentElement")}function ai(){if(ke)return Pe;ke=1;var r,t=Rt(),n=function(){if(Te)return oi;Te=1;var r=I(),t=kt(),n=Lt(),e=Rt(),i=jr(),o=ui();return oi.f=r&&!t?Object.defineProperties:function(r,t){e(r);for(var u,f=i(t),a=o(t),c=a.length,l=0;c>l;)n.f(r,u=a[l++],f[u]);return r},oi}(),e=Pn(),i=rn(),o=fi(),u=mt(),f=Zt(),a="prototype",c="script",l=f("IE_PROTO"),s=function(){},v=function(r){return"<"+c+">"+r+"</"+c+">"},p=function(r){r.write(v("")),r.close();var t=r.parentWindow.Object;return r=null,t},d=function(){try{r=new ActiveXObject("htmlfile")}catch(r){}var t,n,i;d="undefined"!=typeof document?document.domain&&r?p(r):(n=u("iframe"),i="java"+c+":",n.style.display="none",o.appendChild(n),n.src=String(i),(t=n.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):p(r);for(var f=e.length;f--;)delete d[a][e[f]];return d()};return i[l]=!0,Pe=Object.create||function(r,e){var i;return null!==r?(s[a]=t(r),i=new s,s[a]=null,i[l]=r):i=d(),void 0===e?i:n.f(i,e)}}function ci(){if(Le)return Re;Le=1;var r=ht(),t=ai(),n=Lt().f,e=r("unscopables"),i=Array.prototype;return void 0===i[e]&&n(i,e,{configurable:!0,value:t(null)}),Re=function(r){i[e][r]=!0}}function li(){return ze?Ne:(ze=1,Ne={})}function si(){if(Fe)return Ce;Fe=1;var r=dt(),t=Tr(),n=pt(),e=Zt(),i=function(){if(_e)return Me;_e=1;var r=A();return Me=!r(function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype})}(),o=e("IE_PROTO"),u=Object,f=u.prototype;return Ce=i?u.getPrototypeOf:function(e){var i=n(e);if(r(i,o))return i[o];var a=i.constructor;return t(a)&&i instanceof a?a.prototype:i instanceof u?f:null}}function vi(){if(Be)return De;Be=1;var r,t,n,e=A(),i=Tr(),o=Ar(),u=ai(),f=si(),a=en(),c=ht(),l=ct(),s=c("iterator"),v=!1;return[].keys&&("next"in(n=[].keys())?(t=f(f(n)))!==Object.prototype&&(r=t):v=!0),!o(r)||e(function(){var t={};return r[s].call(t)!==t})?r={}:l&&(r=u(r)),i(r[s])||a(r,s,function(){return this}),De={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:v}}function pi(){if($e)return He;$e=1;var r=Lt().f,t=dt(),n=ht()("toStringTag");return He=function(e,i,o){e&&!o&&(e=e.prototype),e&&!t(e,n)&&r(e,n,{configurable:!0,value:i})}}function di(){if(Ye)return Ke;Ye=1;var r=Ar();return Ke=function(t){return r(t)||null===t}}function yi(){if(qe)return Xe;qe=1;var r=di(),t=String,n=TypeError;return Xe=function(e){if(r(e))return e;throw new n("Can't set "+t(e)+" as a prototype")}}function hi(){if(Qe)return Je;Qe=1;var r=function(){if(Ue)return We;Ue=1;var r=wr(),t=Mr();return We=function(n,e,i){try{return r(t(Object.getOwnPropertyDescriptor(n,e)[i]))}catch(r){}}}(),t=Ar(),n=Er(),e=yi();return Je=Object.setPrototypeOf||("__proto__"in{}?function(){var i,o=!1,u={};try{(i=r(Object.prototype,"__proto__","set"))(u,[]),o=u instanceof Array}catch(r){}return function(r,u){return n(r),e(u),t(r)?(o?i(r,u):r.__proto__=u,r):r}}():void 0)}function gi(){if(ri)return Ze;ri=1;var r=ce(),t=k(),n=ct(),e=qt(),i=Tr(),o=function(){if(Ve)return Ge;Ve=1;var r=vi().IteratorPrototype,t=ai(),n=mr(),e=pi(),i=li(),o=function(){return this};return Ge=function(u,f,a,c){var l=f+" Iterator";return u.prototype=t(r,{next:n(+!c,a)}),e(u,l,!1,!0),i[l]=o,u}}(),u=si(),f=hi(),a=pi(),c=Nt(),l=en(),s=ht(),v=li(),p=vi(),d=e.PROPER,y=e.CONFIGURABLE,h=p.IteratorPrototype,g=p.BUGGY_SAFARI_ITERATORS,b=s("iterator"),m="keys",w="values",x="entries",O=function(){return this};return Ze=function(e,s,p,S,E,j,T){o(p,s,S);var A,I,P,k=function(r){if(r===E&&M)return M;if(!g&&r&&r in N)return N[r];switch(r){case m:case w:case x:return function(){return new p(this,r)}}return function(){return new p(this)}},R=s+" Iterator",L=!1,N=e.prototype,z=N[b]||N["@@iterator"]||E&&N[E],M=!g&&z||k(E),_="Array"===s&&N.entries||z;if(_&&(A=u(_.call(new e)))!==Object.prototype&&A.next&&(n||u(A)===h||(f?f(A,h):i(A[b])||l(A,b,O)),a(A,R,!0,!0),n&&(v[R]=O)),d&&E===w&&z&&z.name!==w&&(!n&&y?c(N,"name",w):(L=!0,M=function(){return t(z,this)})),E)if(I={values:k(w),keys:j?M:k(m),entries:k(x)},T)for(P in I)(g||L||!(P in N))&&l(N,P,I[P]);else r({target:s,proto:!0,forced:g||L},I);return n&&!T||N[b]===M||l(N,b,M,{name:E}),v[s]=M,I}}function bi(){return ni?ti:(ni=1,ti=function(r,t){return{value:r,done:t}})}function mi(){if(ii)return ei;ii=1;var r=jr(),t=ci(),n=li(),e=tn(),i=Lt().f,o=gi(),u=bi(),f=ct(),a=I(),c="Array Iterator",l=e.set,s=e.getterFor(c);ei=o(Array,"Array",function(t,n){l(this,{type:c,target:r(t),index:0,kind:n})},function(){var r=s(this),t=r.target,n=r.index++;if(!t||n>=t.length)return r.target=null,u(void 0,!0);switch(r.kind){case"keys":return u(n,!1);case"values":return u(t[n],!1)}return u([n,t[n]],!1)},"values");var v=n.Arguments=n.Array;if(t("keys"),t("values"),t("entries"),!f&&a&&"values"!==v.name)try{i(v,"name",{value:"values"})}catch(r){}return ei}mi();var wi,xi,Oi,Si={};!function(){if(Oi)return Si;Oi=1;var r=pe(),t=en(),n=function(){if(xi)return wi;xi=1;var r=pe(),t=de();return wi=r?{}.toString:function(){return"[object "+t(this)+"]"}}();r||t(Object.prototype,"toString",n,{unsafe:!0})}();var Ei,ji,Ti,Ai,Ii,Pi={};function ki(){if(ji)return Ei;ji=1;var r=de(),t=String;return Ei=function(n){if("Symbol"===r(n))throw new TypeError("Cannot convert a Symbol value to a string");return t(n)}}function Ri(){if(Ai)return Ti;Ai=1;var r=wr(),t=Sn(),n=ki(),e=Er(),i=r("".charAt),o=r("".charCodeAt),u=r("".slice),f=function(r){return function(f,a){var c,l,s=n(e(f)),v=t(a),p=s.length;return v<0||v>=p?r?"":void 0:(c=o(s,v))<55296||c>56319||v+1===p||(l=o(s,v+1))<56320||l>57343?r?i(s,v):c:r?u(s,v,v+2):l-56320+(c-55296<<10)+65536}};return Ti={codeAt:f(!1),charAt:f(!0)}}!function(){if(Ii)return Pi;Ii=1;var r=Ri().charAt,t=ki(),n=tn(),e=gi(),i=bi(),o="String Iterator",u=n.set,f=n.getterFor(o);e(String,"String",function(r){u(this,{type:o,string:t(r),index:0})},function(){var t,n=f(this),e=n.string,o=n.index;return o>=e.length?i(void 0,!0):(t=r(e,o),n.index+=t.length,i(t,!1))})}();var Li,Ni,zi,Mi,_i={};function Ci(){if(Ni)return Li;Ni=1;var r=A();return Li=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})}function Fi(){if(Mi)return zi;Mi=1;var r=en();return zi=function(t,n,e){for(var i in n)r(t,i,n[i],e);return t}}var Di,Bi,Hi,$i,Gi,Vi,Wi,Ui,Ki,Yi,Xi,qi,Ji,Qi,Zi,ro,to,no,eo,io,oo,uo,fo,ao,co,lo,so,vo,po,yo,ho,go,bo,mo,wo,xo,Oo={exports:{}},So={};function Eo(){if(Bi)return Di;Bi=1;var r=wr();return Di=r([].slice)}function jo(){if(Hi)return So;Hi=1;var r=xr(),t=jr(),n=kn().f,e=Eo(),i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return So.f=function(o){return i&&"Window"===r(o)?function(r){try{return n(r)}catch(r){return e(i)}}(o):n(t(o))},So}function To(){if(Wi)return Vi;Wi=1;var r=A(),t=Ar(),n=xr(),e=function(){if(Gi)return $i;Gi=1;var r=A();return $i=r(function(){if("function"==typeof ArrayBuffer){var r=new ArrayBuffer(8);Object.isExtensible(r)&&Object.defineProperty(r,"a",{value:8})}})}(),i=Object.isExtensible,o=r(function(){});return Vi=o||e?function(r){return!!t(r)&&((!e||"ArrayBuffer"!==n(r))&&(!i||i(r)))}:i}function Ao(){if(Ui)return Oo.exports;Ui=1;var r=ce(),t=wr(),n=rn(),e=Ar(),i=dt(),o=Lt().f,u=kn(),f=jo(),a=To(),c=yt(),l=Ci(),s=!1,v=c("meta"),p=0,d=function(r){o(r,v,{value:{objectID:"O"+p++,weakData:{}}})},y=Oo.exports={enable:function(){y.enable=function(){},s=!0;var n=u.f,e=t([].splice),i={};i[v]=1,n(i).length&&(u.f=function(r){for(var t=n(r),i=0,o=t.length;i<o;i++)if(t[i]===v){e(t,i,1);break}return t},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:f.f}))},fastKey:function(r,t){if(!e(r))return"symbol"==typeof r?r:("string"==typeof r?"S":"P")+r;if(!i(r,v)){if(!a(r))return"F";if(!t)return"E";d(r)}return r[v].objectID},getWeakData:function(r,t){if(!i(r,v)){if(!a(r))return!0;if(!t)return!1;d(r)}return r[v].weakData},onFreeze:function(r){return l&&s&&a(r)&&!i(r,v)&&d(r),r}};return n[v]=!0,Oo.exports}function Io(){if(qi)return Xi;qi=1;var r=function(){if(Yi)return Ki;Yi=1;var r=xr(),t=wr();return Ki=function(n){if("Function"===r(n))return t(n)}}(),t=Mr(),n=P(),e=r(r.bind);return Xi=function(r,i){return t(r),void 0===i?r:n?e(r,i):function(){return r.apply(i,arguments)}},Xi}function Po(){if(Qi)return Ji;Qi=1;var r=ht(),t=li(),n=r("iterator"),e=Array.prototype;return Ji=function(r){return void 0!==r&&(t.Array===r||e[n]===r)}}function ko(){if(ro)return Zi;ro=1;var r=de(),t=_r(),n=Sr(),e=li(),i=ht()("iterator");return Zi=function(o){if(!n(o))return t(o,i)||t(o,"@@iterator")||e[r(o)]}}function Ro(){if(no)return to;no=1;var r=k(),t=Mr(),n=Rt(),e=zr(),i=ko(),o=TypeError;return to=function(u,f){var a=arguments.length<2?i(u):f;if(t(a))return n(r(a,u));throw new o(e(u)+" is not iterable")},to}function Lo(){if(io)return eo;io=1;var r=k(),t=Rt(),n=_r();return eo=function(e,i,o){var u,f;t(e);try{if(!(u=n(e,"return"))){if("throw"===i)throw o;return o}u=r(u,e)}catch(r){f=!0,u=r}if("throw"===i)throw o;if(f)throw u;return t(u),o}}function No(){if(uo)return oo;uo=1;var r=Io(),t=k(),n=Rt(),e=zr(),i=Po(),o=Tn(),u=Pr(),f=Ro(),a=ko(),c=Lo(),l=TypeError,s=function(r,t){this.stopped=r,this.result=t},v=s.prototype;return oo=function(p,d,y){var h,g,b,m,w,x,O,S=y&&y.that,E=!(!y||!y.AS_ENTRIES),j=!(!y||!y.IS_RECORD),T=!(!y||!y.IS_ITERATOR),A=!(!y||!y.INTERRUPTED),I=r(d,S),P=function(r){return h&&c(h,"normal"),new s(!0,r)},k=function(r){return E?(n(r),A?I(r[0],r[1],P):I(r[0],r[1])):A?I(r,P):I(r)};if(j)h=p.iterator;else if(T)h=p;else{if(!(g=a(p)))throw new l(e(p)+" is not iterable");if(i(g)){for(b=0,m=o(p);m>b;b++)if((w=k(p[b]))&&u(v,w))return w;return new s(!1)}h=f(p,g)}for(x=j?p.next:h.next;!(O=t(x,h)).done;){try{w=k(O.value)}catch(r){c(h,"throw",r)}if("object"==typeof w&&w&&u(v,w))return w}return new s(!1)}}function zo(){if(ao)return fo;ao=1;var r=Pr(),t=TypeError;return fo=function(n,e){if(r(e,n))return n;throw new t("Incorrect invocation")}}function Mo(){if(lo)return co;lo=1;var r=ht()("iterator"),t=!1;try{var n=0,e={next:function(){return{done:!!n++}},return:function(){t=!0}};e[r]=function(){return this},Array.from(e,function(){throw 2})}catch(r){}return co=function(n,e){try{if(!e&&!t)return!1}catch(r){return!1}var i=!1;try{var o={};o[r]=function(){return{next:function(){return{done:i=!0}}}},n(o)}catch(r){}return i}}function _o(){if(vo)return so;vo=1;var r=Tr(),t=Ar(),n=hi();return so=function(e,i,o){var u,f;return n&&r(u=i.constructor)&&u!==o&&t(f=u.prototype)&&f!==o.prototype&&n(e,f),e}}function Co(){if(yo)return po;yo=1;var r=ce(),t=g(),n=wr(),e=ae(),i=en(),o=Ao(),u=No(),f=zo(),a=Tr(),c=Sr(),l=Ar(),s=A(),v=Mo(),p=pi(),d=_o();return po=function(y,h,g){var b=-1!==y.indexOf("Map"),m=-1!==y.indexOf("Weak"),w=b?"set":"add",x=t[y],O=x&&x.prototype,S=x,E={},j=function(r){var t=n(O[r]);i(O,r,"add"===r?function(r){return t(this,0===r?0:r),this}:"delete"===r?function(r){return!(m&&!l(r))&&t(this,0===r?0:r)}:"get"===r?function(r){return m&&!l(r)?void 0:t(this,0===r?0:r)}:"has"===r?function(r){return!(m&&!l(r))&&t(this,0===r?0:r)}:function(r,n){return t(this,0===r?0:r,n),this})};if(e(y,!a(x)||!(m||O.forEach&&!s(function(){(new x).entries().next()}))))S=g.getConstructor(h,y,b,w),o.enable();else if(e(y,!0)){var T=new S,A=T[w](m?{}:-0,1)!==T,I=s(function(){T.has(1)}),P=v(function(r){new x(r)}),k=!m&&s(function(){for(var r=new x,t=5;t--;)r[w](t,t);return!r.has(-0)});P||((S=h(function(r,t){f(r,O);var n=d(new x,r,S);return c(t)||u(t,n[w],{that:n,AS_ENTRIES:b}),n})).prototype=O,O.constructor=S),(I||k)&&(j("delete"),j("has"),b&&j("get")),(k||A)&&j(w),m&&O.clear&&delete O.clear}return E[y]=S,r({global:!0,constructor:!0,forced:S!==x},E),p(S,y),m||g.setStrong(S,y,b),S}}function Fo(){if(go)return ho;go=1;var r=Io(),t=wr(),n=Or(),e=pt(),i=Tn(),o=ge(),u=t([].push),f=function(t){var f=1===t,a=2===t,c=3===t,l=4===t,s=6===t,v=7===t,p=5===t||s;return function(d,y,h,g){for(var b,m,w=e(d),x=n(w),O=i(x),S=r(y,h),E=0,j=g||o,T=f?j(d,O):a||v?j(d,0):void 0;O>E;E++)if((p||E in x)&&(m=S(b=x[E],E,w),t))if(f)T[E]=m;else if(m)switch(t){case 3:return!0;case 5:return b;case 6:return E;case 2:u(T,b)}else switch(t){case 4:return!1;case 7:u(T,b)}return s?-1:c||l?l:T}};return ho={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}}function Do(){if(mo)return bo;mo=1;var r=wr(),t=Fi(),n=Ao().getWeakData,e=zo(),i=Rt(),o=Sr(),u=Ar(),f=No(),a=Fo(),c=dt(),l=tn(),s=l.set,v=l.getterFor,p=a.find,d=a.findIndex,y=r([].splice),h=0,g=function(r){return r.frozen||(r.frozen=new b)},b=function(){this.entries=[]},m=function(r,t){return p(r.entries,function(r){return r[0]===t})};return b.prototype={get:function(r){var t=m(this,r);if(t)return t[1]},has:function(r){return!!m(this,r)},set:function(r,t){var n=m(this,r);n?n[1]=t:this.entries.push([r,t])},delete:function(r){var t=d(this.entries,function(t){return t[0]===r});return~t&&y(this.entries,t,1),!!~t}},bo={getConstructor:function(r,a,l,p){var d=r(function(r,t){e(r,y),s(r,{type:a,id:h++,frozen:null}),o(t)||f(t,r[p],{that:r,AS_ENTRIES:l})}),y=d.prototype,b=v(a),m=function(r,t,e){var o=b(r),u=n(i(t),!0);return!0===u?g(o).set(t,e):u[o.id]=e,r};return t(y,{delete:function(r){var t=b(this);if(!u(r))return!1;var e=n(r);return!0===e?g(t).delete(r):e&&c(e,t.id)&&delete e[t.id]},has:function(r){var t=b(this);if(!u(r))return!1;var e=n(r);return!0===e?g(t).has(r):e&&c(e,t.id)}}),t(y,l?{get:function(r){var t=b(this);if(u(r)){var e=n(r);if(!0===e)return g(t).get(r);if(e)return e[t.id]}},set:function(r,t){return m(this,r,t)}}:{add:function(r){return m(this,r,!0)}}),d}}}xo||(xo=1,function(){if(wo)return _i;wo=1;var r,t=Ci(),n=g(),e=wr(),i=Fi(),o=Ao(),u=Co(),f=Do(),a=Ar(),c=tn().enforce,l=A(),s=Qt(),v=Object,p=Array.isArray,d=v.isExtensible,y=v.isFrozen,h=v.isSealed,b=v.freeze,m=v.seal,w=!n.ActiveXObject&&"ActiveXObject"in n,x=function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},O=u("WeakMap",x,f),S=O.prototype,E=e(S.set);if(s)if(w){r=f.getConstructor(x,"WeakMap",!0),o.enable();var j=e(S.delete),T=e(S.has),I=e(S.get);i(S,{delete:function(t){if(a(t)&&!d(t)){var n=c(this);return n.frozen||(n.frozen=new r),j(this,t)||n.frozen.delete(t)}return j(this,t)},has:function(t){if(a(t)&&!d(t)){var n=c(this);return n.frozen||(n.frozen=new r),T(this,t)||n.frozen.has(t)}return T(this,t)},get:function(t){if(a(t)&&!d(t)){var n=c(this);return n.frozen||(n.frozen=new r),T(this,t)?I(this,t):n.frozen.get(t)}return I(this,t)},set:function(t,n){if(a(t)&&!d(t)){var e=c(this);e.frozen||(e.frozen=new r),T(this,t)?E(this,t,n):e.frozen.set(t,n)}else E(this,t,n);return this}})}else t&&l(function(){var r=b([]);return E(new O,r,1),!y(r)})&&i(S,{set:function(r,t){var n;return p(r)&&(y(r)?n=b:h(r)&&(n=m)),E(this,r,t),n&&n(r),this}})}());var Bo,Ho,$o,Go,Vo,Wo={};!function(){if(Vo)return Wo;Vo=1;var r=g(),t=Ho?Bo:(Ho=1,Bo={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}),n=function(){if(Go)return $o;Go=1;var r=mt()("span").classList,t=r&&r.constructor&&r.constructor.prototype;return $o=t===Object.prototype?void 0:t}(),e=mi(),i=Nt(),o=pi(),u=ht()("iterator"),f=e.values,a=function(r,n){if(r){if(r[u]!==f)try{i(r,u,f)}catch(t){r[u]=f}if(o(r,n,!0),t[n])for(var a in e)if(r[a]!==e[a])try{i(r,a,e[a])}catch(t){r[a]=e[a]}}};for(var c in t)a(r[c]&&r[c].prototype,c);a(n,"DOMTokenList")}();var Uo=new WeakMap;function Ko(r){var t,n=r.children||[],i=n.length;if(0===i)return"";for(var o=0;o<i&&!t;o+=1){var u=n[o];e.isText(u)&&(t=u)}return null==t?"":t.color||""}function Yo(r,n,e){for(var u=n.type,f=function(r,t){var n={};for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&t.indexOf(e)<0&&(n[e]=r[e]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(e=Object.getOwnPropertySymbols(r);i<e.length;i++)t.indexOf(e[i])<0&&Object.prototype.propertyIsEnumerable.call(r,e[i])&&(n[e[i]]=r[e[i]])}return n}(n,["type"]),a=void 0!==e?e:f.level||0,c=t.findPath(r,n);;){if(0===c.length||0===c[c.length-1])return null;c=i.previous(c);var l=o.node(r,c);if(!l)return null;var s=Oe(l,1)[0],v=s.level,p=void 0===v?0:v;if(t.getNodeType(s)!==u)return null;if(p===a)return s}}function Xo(r,t,n){var e=Yo(r,t,n);return!!e&&e.ordered===t.ordered}var qo=[];var Jo,Qo={type:"list-item",elemToHtml:function(r,n){var e="",u="",f=r.ordered,a=void 0!==f&&f?"ol":"ul",c=function(r){var n=Uo.get(r);if(null==n)return 0;var e=r,u=e.type,f=e.ordered,a=void 0!==f&&f,c=e.level,l=void 0===c?0:c,s=t.findPath(n,r);if(0===s[0])return l+1;var v=i.previous(s),p=o.node(n,v);if(!p)return 0;var d=Oe(p,1)[0];if(t.getNodeType(d)!==u)return l+1;var y=d,h=y.ordered,g=void 0!==h&&h,b=y.level,m=void 0===b?0:b;return m<l?l-m:m>l?Xo(n,r)?0:1:m===l?g===a?0:1:0}(r);if(c>0)for(var l=0;l<c;l+=1)e+="<".concat(a,">"),qo.push(a);var s=function(r){var n=Uo.get(r);if(null==n)return 0;var e=r,u=e.type,f=e.ordered,a=void 0!==f&&f,c=e.level,l=void 0===c?0:c,s=t.findPath(n,r);if(s[0]===n.children.length-1)return l+1;var v=i.next(s),p=o.node(n,v);if(!p)return 0;var d=Oe(p,1)[0];if(t.getNodeType(d)!==u)return l+1;var y=d,h=y.ordered,g=void 0!==h&&h,b=y.level,m=void 0===b?0:b;return m<l?Xo(n,d)?l-m:l-m+1:m>l?0:m===l?g===a?0:1:0}(r);if(s>0)for(l=0;l<s;l+=1){var v=qo.pop();u+="</".concat(v,">")}var p=Ko(r),d=p?' style="color:'.concat(p,'"'):"";return{html:"<li".concat(d,">").concat(n,"</li>"),prefix:e,suffix:u}}},Zo={};!function(){if(Jo)return Zo;Jo=1;var r=ce(),t=An().includes,n=A(),e=ci();r({target:"Array",proto:!0,forced:n(function(){return!Array(1).includes()})},{includes:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)}}),e("includes")}();var ru,tu,nu,eu,iu,ou,uu,fu,au,cu,lu,su={};function vu(){if(tu)return ru;tu=1;var r=Rt();return ru=function(){var t=r(this),n="";return t.hasIndices&&(n+="d"),t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.unicodeSets&&(n+="v"),t.sticky&&(n+="y"),n}}function pu(){if(cu)return au;cu=1;var r,t,n=k(),e=wr(),i=ki(),o=vu(),u=function(){if(eu)return nu;eu=1;var r=A(),t=g().RegExp,n=r(function(){var r=t("a","y");return r.lastIndex=2,null!==r.exec("abcd")}),e=n||r(function(){return!t("a","y").sticky}),i=n||r(function(){var r=t("^r","gy");return r.lastIndex=2,null!==r.exec("str")});return nu={BROKEN_CARET:i,MISSED_STICKY:e,UNSUPPORTED_Y:n}}(),f=vt(),a=ai(),c=tn().get,l=function(){if(ou)return iu;ou=1;var r=A(),t=g().RegExp;return iu=r(function(){var r=t(".","s");return!(r.dotAll&&r.test("\n")&&"s"===r.flags)})}(),s=function(){if(fu)return uu;fu=1;var r=A(),t=g().RegExp;return uu=r(function(){var r=t("(?<a>b)","g");return"b"!==r.exec("b").groups.a||"bc"!=="b".replace(r,"$<a>c")})}(),v=f("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,d=p,y=e("".charAt),h=e("".indexOf),b=e("".replace),m=e("".slice),w=(t=/b*/g,n(p,r=/a/,"a"),n(p,t,"a"),0!==r.lastIndex||0!==t.lastIndex),x=u.BROKEN_CARET,O=void 0!==/()??/.exec("")[1];return(w||O||x||l||s)&&(d=function(r){var t,e,u,f,l,s,g,S=this,E=c(S),j=i(r),T=E.raw;if(T)return T.lastIndex=S.lastIndex,t=n(d,T,j),S.lastIndex=T.lastIndex,t;var A=E.groups,I=x&&S.sticky,P=n(o,S),k=S.source,R=0,L=j;if(I&&(P=b(P,"y",""),-1===h(P,"g")&&(P+="g"),L=m(j,S.lastIndex),S.lastIndex>0&&(!S.multiline||S.multiline&&"\n"!==y(j,S.lastIndex-1))&&(k="(?: "+k+")",L=" "+L,R++),e=new RegExp("^(?:"+k+")",P)),O&&(e=new RegExp("^"+k+"$(?!\\s)",P)),w&&(u=S.lastIndex),f=n(p,I?e:S,L),I?f?(f.input=m(f.input,R),f[0]=m(f[0],R),f.index=S.lastIndex,S.lastIndex+=f[0].length):S.lastIndex=0:w&&f&&(S.lastIndex=S.global?f.index+f[0].length:u),O&&f&&f.length>1&&n(v,f[0],e,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(f[l]=void 0)}),f&&A)for(f.groups=s=a(null),l=0;l<A.length;l++)s[(g=A[l])[0]]=f[g[1]];return f}),au=d}function du(){if(lu)return su;lu=1;var r=ce(),t=pu();return r({target:"RegExp",proto:!0,forced:/./.exec!==t},{exec:t}),su}du();var yu,hu=function(){function r(){this.type="list-item",this.tag="button"}return r.prototype.getListNode=function(r){var n=this.type;return t.getSelectedNodeByType(r,n)},r.prototype.getValue=function(r){return""},r.prototype.isActive=function(r){var t=this.getListNode(r);if(null==t)return!1;var n=t.ordered;return(void 0!==n&&n)===this.ordered},r.prototype.isDisabled=function(r){return null==r.selection||!!t.getSelectedElems(r).some(function(t){if(o.isVoid(r,t)&&o.isBlock(r,t))return!0;var n=t.type;return!!["pre","code","table"].includes(n)})},r.prototype.exec=function(r,t){this.isActive(r)?u.setNodes(r,{type:"paragraph",ordered:void 0,level:void 0}):u.setNodes(r,{type:"list-item",ordered:this.ordered,indent:void 0})},r}(),gu=function(r){function t(){var t=r.apply(this,Se([],Oe(arguments),!1))||this;return t.ordered=!1,t.title=n("listModule.unOrderedList"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M384 64h640v128H384V64z m0 384h640v128H384v-128z m0 384h640v128H384v-128zM0 128a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z"></path></svg>',t}return we(t,r),t}(hu),bu=function(r){function t(){var t=r.apply(this,Se([],Oe(arguments),!1))||this;return t.ordered=!0,t.title=n("listModule.orderedList"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M384 832h640v128H384z m0-384h640v128H384z m0-384h640v128H384zM192 0v256H128V64H64V0zM128 526.016v50.016h128v64H64v-146.016l128-60V384H64v-64h192v146.016zM256 704v320H64v-64h128v-64H64v-64h128v-64H64v-64z"></path></svg>',t}return we(t,r),t}(hu),mu={key:"bulletedList",factory:function(){return new gu}},wu={key:"numberedList",factory:function(){return new bu}},xu={};!function(){if(yu)return xu;yu=1;var r=ce(),t=Fo().filter;r({target:"Array",proto:!0,forced:!be()("filter")},{filter:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)}})}();var Ou,Su,Eu,ju={};!function(){if(Eu)return ju;Eu=1;var r=ce(),t=function(){if(Su)return Ou;Su=1;var r=le(),t=Tn(),n=se(),e=Io(),i=function(o,u,f,a,c,l,s,v){for(var p,d,y=c,h=0,g=!!s&&e(s,v);h<a;)h in f&&(p=g?g(f[h],h,u):f[h],l>0&&r(p)?(d=t(p),y=i(o,u,p,d,y,l-1)-1):(n(y+1),o[y]=p),y++),h++;return y};return Ou=i}(),n=pt(),e=Tn(),i=Sn(),o=ge();r({target:"Array",proto:!0},{flat:function(){var r=arguments.length?arguments[0]:void 0,u=n(this),f=e(u),a=o(u,0);return a.length=t(a,u,u,f,0,void 0===r?1:i(r)),a}})}();var Tu;Tu||(Tu=1,ci()("flat"));var Au,Iu,Pu,ku,Ru,Lu,Nu,zu,Mu,_u,Cu,Fu,Du,Bu,Hu,$u={};function Gu(){if(Lu)return Ru;Lu=1;var r=Ri().charAt;return Ru=function(t,n,e){return n+(e?r(t,n).length:1)}}function Vu(){if(zu)return Nu;zu=1;var r=wr(),t=pt(),n=Math.floor,e=r("".charAt),i=r("".replace),o=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,f=/\$([$&'`]|\d{1,2})/g;return Nu=function(r,a,c,l,s,v){var p=c+r.length,d=l.length,y=f;return void 0!==s&&(s=t(s),y=u),i(v,y,function(t,i){var u;switch(e(i,0)){case"$":return"$";case"&":return r;case"`":return o(a,0,c);case"'":return o(a,p);case"<":u=s[o(i,1,-1)];break;default:var f=+i;if(0===f)return t;if(f>d){var v=n(f/10);return 0===v?t:v<=d?void 0===l[v-1]?e(i,1):l[v-1]+e(i,1):t}u=l[f-1]}return void 0===u?"":u})}}function Wu(){if(Fu)return Cu;Fu=1;var r=k(),t=dt(),n=Pr(),e=function(){if(_u)return Mu;_u=1;var r=g(),t=A(),n=r.RegExp,e=!t(function(){var r=!0;try{n(".","d")}catch(t){r=!1}var t={},e="",i=r?"dgimsy":"gimsy",o=function(r,n){Object.defineProperty(t,r,{get:function(){return e+=n,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var f in r&&(u.hasIndices="d"),u)o(f,u[f]);return Object.getOwnPropertyDescriptor(n.prototype,"flags").get.call(t)!==i||e!==i});return Mu={correct:e}}(),i=vu(),o=RegExp.prototype;return Cu=e.correct?function(r){return r.flags}:function(u){return e.correct||!n(o,u)||t(u,"flags")?u.flags:r(i,u)}}!function(){if(Hu)return $u;Hu=1;var r=function(){if(Iu)return Au;Iu=1;var r=P(),t=Function.prototype,n=t.apply,e=t.call;return Au="object"==typeof Reflect&&Reflect.apply||(r?e.bind(n):function(){return e.apply(n,arguments)}),Au}(),t=k(),n=wr(),e=function(){if(ku)return Pu;ku=1,du();var r=k(),t=en(),n=pu(),e=A(),i=ht(),o=Nt(),u=i("species"),f=RegExp.prototype;return Pu=function(a,c,l,s){var v=i(a),p=!e(function(){var r={};return r[v]=function(){return 7},7!==""[a](r)}),d=p&&!e(function(){var r=!1,t=/a/;if("split"===a){var n={};n[u]=function(){return t},(t={constructor:n,flags:""})[v]=/./[v]}return t.exec=function(){return r=!0,null},t[v](""),!r});if(!p||!d||l){var y=/./[v],h=c(v,""[a],function(t,e,i,o,u){var a=e.exec;return a===n||a===f.exec?p&&!u?{done:!0,value:r(y,e,i,o)}:{done:!0,value:r(t,i,e,o)}:{done:!1}});t(String.prototype,a,h[0]),t(f,v,h[1])}s&&o(f[v],"sham",!0)}}(),i=A(),o=Rt(),u=Tr(),f=Ar(),a=Sn(),c=jn(),l=ki(),s=Er(),v=Gu(),p=_r(),d=Vu(),y=Wu(),h=function(){if(Bu)return Du;Bu=1;var r=k(),t=Rt(),n=Tr(),e=xr(),i=pu(),o=TypeError;return Du=function(u,f){var a=u.exec;if(n(a)){var c=r(a,u,f);return null!==c&&t(c),c}if("RegExp"===e(u))return r(i,u,f);throw new o("RegExp#exec called on incompatible receiver")}}(),g=ht()("replace"),b=Math.max,m=Math.min,w=n([].concat),x=n([].push),O=n("".indexOf),S=n("".slice),E=function(r){return void 0===r?r:String(r)},j="$0"==="a".replace(/./,"$0"),T=!!/./[g]&&""===/./[g]("a","$0");e("replace",function(n,e,i){var j=T?"$":"$0";return[function(r,n){var i=s(this),o=f(r)?p(r,g):void 0;return o?t(o,r,i,n):t(e,l(i),r,n)},function(t,n){var f=o(this),s=l(t);if("string"==typeof n&&-1===O(n,j)&&-1===O(n,"$<")){var p=i(e,f,s,n);if(p.done)return p.value}var g=u(n);g||(n=l(n));var T,A=l(y(f)),I=-1!==O(A,"g");I&&(T=-1!==O(A,"u"),f.lastIndex=0);for(var P,k=[];null!==(P=h(f,s))&&(x(k,P),I);){""===l(P[0])&&(f.lastIndex=v(s,c(f.lastIndex),T))}for(var R="",L=0,N=0;N<k.length;N++){for(var z,M=l((P=k[N])[0]),_=b(m(a(P.index),s.length),0),C=[],F=1;F<P.length;F++)x(C,E(P[F]));var D=P.groups;if(g){var B=w([M],C,_,s);void 0!==D&&x(B,D),z=l(r(n,void 0,B))}else z=d(M,s,_,C,D,n);_>=L&&(R+=S(s,L,_)+z,L=_+M.length)}return R+S(s,L)}]},!!i(function(){var r=/./;return r.exec=function(){var r=[];return r.groups={a:"7"},r},"7"!=="".replace(r,"$<a>")})||!j||T)}();var Uu,Ku,Yu={};function Xu(r){return r.length?r[0].tagName.toLowerCase():""}function qu(r){return o.nodes(r,{at:r.selection||void 0,match:function(n){return 1===t.findPath(r,n).length}})}Ku||(Ku=1,function(){if(Uu)return Yu;Uu=1;var r=ce(),t=g();r({global:!0,forced:t.globalThis!==t},{globalThis:t})}()),c&&(a.fn.append=c),l&&(a.fn.attr=l),s&&(a.fn.parent=s);var Ju={renderElems:[{type:"list-item",renderElem:function(r,n,e){Uo.set(r,e);var u=r,f=u.level,a=void 0===f?0:f,c=u.ordered,l=void 0!==c&&c,s={margin:"5px 0 5px ".concat(20*a,"px"),display:"flex",alignItems:"flex-start"},p="";if(l){var d=function(r,n){var e=n,u=e.type,f=e.level,a=void 0===f?0:f,c=e.ordered,l=void 0!==c&&c,s=1,v=n,p=t.findPath(r,v);if(0===p[0])return 1;for(;p[0]>0;){var d=i.previous(p),y=o.node(r,d);if(null==y)break;var h=y[0],g=h.level,b=void 0===g?0:g,m=h.type,w=h.ordered;if(m!==u)break;if(b<a)break;if(b===a){if(w!==l)break;s+=1}v=h,p=d}return s}(e,r);p="".concat(d,".")}else p=function(r){void 0===r&&(r=0);var t="";switch(r){case 0:t="•";break;case 1:t="◦";break;default:t="▪"}return t}(a);var y=Ko(r);return v("div",{style:s},v("span",{contentEditable:!1,style:{marginRight:"0.5em",color:y},"data-w-e-reserve":!0},p),v("span",{style:{flex:"1",wordBreak:"break-word"}},n))}}],editorPlugin:function(r){var n=r.deleteBackward,e=r.handleTab,i=r.normalizeNode,a=r.insertBreak,c=r;return c.insertBreak=function(){var n=Oe(o.nodes(r,{match:function(r){return t.checkNodeType(r,"list-item")},universal:!0}),1)[0];return n?""!==n[0].children[0].text?a():void u.setNodes(c,{type:"paragraph",ordered:void 0,level:void 0}):a()},c.deleteBackward=function(e){var i=c.selection;if(null!=i)if(f.isExpanded(i))n(e);else{var o=t.getSelectedNodeByType(c,"list-item");if(null!=o)if(0!==i.focus.offset)n(e);else{var a=o,l=a.level,s=void 0===l?0:l,v=a.ordered,p=void 0!==v&&v;if(s>0){var d=Yo(r,o,s-1);d&&d.ordered!==p?u.setNodes(c,{level:s-1,ordered:!p}):u.setNodes(c,{level:s-1})}else u.setNodes(c,{type:"paragraph",ordered:void 0,level:void 0})}else n(e)}else n(e)},c.handleTab=function(){var r,n,i,o,a=c.selection;if(null!=a){if(f.isCollapsed(a)){var l=t.getSelectedNodeByType(c,"list-item");if(null==l)return void e();if(0===a.focus.offset){var s=l.level,v=void 0===s?0:s;return void u.setNodes(c,{level:v+1})}}if(f.isExpanded(a)){var p=0,d=!1;try{for(var y=xe(qu(c)),h=y.next();!h.done;h=y.next()){var g=Oe(h.value,1)[0];"list-item"===t.getNodeType(g)?p+=1:d=!0}}catch(t){r={error:t}}finally{try{h&&!h.done&&(n=y.return)&&n.call(y)}finally{if(r)throw r.error}}if(d||p<=1)return void e();try{for(var b=xe(qu(c)),m=b.next();!m.done;m=b.next()){var w=Oe(m.value,2),x=(g=w[0],w[1]),O=g.level;v=void 0===O?0:O;u.setNodes(c,{level:v+1},{at:x})}}catch(r){i={error:r}}finally{try{m&&!m.done&&(o=b.return)&&o.call(b)}finally{if(i)throw i.error}}}else e()}else e()},c.normalizeNode=function(r){var n=Oe(r,2),e=n[0],o=n[1],f=t.getNodeType(e);return"bulleted-list"!==f&&"numbered-list"!==f||u.unwrapNodes(c,{at:o}),i([e,o])},c},menus:[mu,wu],elemsToHtml:[Qo],parseElemsHtml:[{selector:"ul:not([data-w-e-type]),ol:not([data-w-e-type])",parseElemHtml:function(r,t,n){return t.flat(1/0)}},{selector:"li:not([data-w-e-type])",parseElemHtml:function(r,t,n){var i=a(r);0===(t=t.filter(function(r){return!!e.isText(r)||!!n.isInline(r)})).length&&(t=[{text:i.text().replace(/\s+/gm," ")}]);var o=function(r){return"ol"===Xu(r.parent())}(i),u=function(r){for(var t=0,n=r.parent(),e=Xu(n);"ul"===e||"ol"===e;)e=Xu(n=n.parent()),t+=1;return t-1}(i);return{type:"list-item",ordered:o,level:u,children:t}}}]};export{Ju as default};
1
+ import{i18nAddResources as r,DomEditor as t,getClassStylePolicy as n,reportUnsupportedClassStyle as e,getTextStyleMode as i,t as o}from"@wangeditor-next/core";import{Text as u,Path as f,Editor as a,Transforms as c,Range as l}from"slate";import s,{append as v,attr as d,parent as p}from"dom7";import{jsx as g}from"snabbdom";r("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),r("zh-CN",{listModule:{unOrderedList:"无序列表",orderedList:"有序列表"}});var y,h,b="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},m={};function w(){if(h)return y;h=1;var r=function(r){return r&&r.Math===Math&&r};return y=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof b&&b)||r("object"==typeof y&&y)||function(){return this}()||Function("return this")()}var x,S,O,E,j,T,A,P,I={};function k(){return S?x:(S=1,x=function(r){try{return!!r()}catch(r){return!0}})}function R(){if(E)return O;E=1;var r=k();return O=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function z(){if(T)return j;T=1;var r=k();return j=!r(function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")})}function L(){if(P)return A;P=1;var r=z(),t=Function.prototype.call;return A=r?t.bind(t):function(){return t.apply(t,arguments)},A}var N,C,_,M,F,D,B,H,$,G,V,W,U,K,Y,X,q,J,Q,Z,rr,tr,nr,er,ir,or,ur,fr,ar,cr,lr,sr,vr,dr,pr,gr,yr,hr,br,mr,wr,xr={};function Sr(){return _?C:(_=1,C=function(r,t){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:t}})}function Or(){if(F)return M;F=1;var r=z(),t=Function.prototype,n=t.call,e=r&&t.bind.bind(n,n);return M=r?e:function(r){return function(){return n.apply(r,arguments)}},M}function Er(){if(B)return D;B=1;var r=Or(),t=r({}.toString),n=r("".slice);return D=function(r){return n(t(r),8,-1)}}function jr(){if($)return H;$=1;var r=Or(),t=k(),n=Er(),e=Object,i=r("".split);return H=t(function(){return!e("z").propertyIsEnumerable(0)})?function(r){return"String"===n(r)?i(r,""):e(r)}:e}function Tr(){return V?G:(V=1,G=function(r){return null==r})}function Ar(){if(U)return W;U=1;var r=Tr(),t=TypeError;return W=function(n){if(r(n))throw new t("Can't call method on "+n);return n}}function Pr(){if(Y)return K;Y=1;var r=jr(),t=Ar();return K=function(n){return r(t(n))}}function Ir(){if(q)return X;q=1;var r="object"==typeof document&&document.all;return X=void 0===r&&void 0!==r?function(t){return"function"==typeof t||t===r}:function(r){return"function"==typeof r}}function kr(){if(Q)return J;Q=1;var r=Ir();return J=function(t){return"object"==typeof t?null!==t:r(t)}}function Rr(){if(rr)return Z;rr=1;var r=w(),t=Ir();return Z=function(n,e){return arguments.length<2?(i=r[n],t(i)?i:void 0):r[n]&&r[n][e];var i},Z}function zr(){if(nr)return tr;nr=1;var r=Or();return tr=r({}.isPrototypeOf)}function Lr(){if(ur)return or;ur=1;var r,t,n=w(),e=function(){if(ir)return er;ir=1;var r=w().navigator,t=r&&r.userAgent;return er=t?String(t):""}(),i=n.process,o=n.Deno,u=i&&i.versions||o&&o.version,f=u&&u.v8;return f&&(t=(r=f.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!t&&e&&(!(r=e.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=e.match(/Chrome\/(\d+)/))&&(t=+r[1]),or=t}function Nr(){if(ar)return fr;ar=1;var r=Lr(),t=k(),n=w().String;return fr=!!Object.getOwnPropertySymbols&&!t(function(){var t=Symbol("symbol detection");return!n(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41})}function Cr(){if(lr)return cr;lr=1;var r=Nr();return cr=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function _r(){if(vr)return sr;vr=1;var r=Rr(),t=Ir(),n=zr(),e=Cr(),i=Object;return sr=e?function(r){return"symbol"==typeof r}:function(e){var o=r("Symbol");return t(o)&&n(o.prototype,i(e))}}function Mr(){if(pr)return dr;pr=1;var r=String;return dr=function(t){try{return r(t)}catch(r){return"Object"}}}function Fr(){if(yr)return gr;yr=1;var r=Ir(),t=Mr(),n=TypeError;return gr=function(e){if(r(e))return e;throw new n(t(e)+" is not a function")}}function Dr(){if(br)return hr;br=1;var r=Fr(),t=Tr();return hr=function(n,e){var i=n[e];return t(i)?void 0:r(i)}}function Br(){if(wr)return mr;wr=1;var r=L(),t=Ir(),n=kr(),e=TypeError;return mr=function(i,o){var u,f;if("string"===o&&t(u=i.toString)&&!n(f=r(u,i)))return f;if(t(u=i.valueOf)&&!n(f=r(u,i)))return f;if("string"!==o&&t(u=i.toString)&&!n(f=r(u,i)))return f;throw new e("Can't convert object to primitive value")}}var Hr,$r,Gr,Vr,Wr,Ur,Kr,Yr,Xr,qr,Jr,Qr,Zr,rt,tt,nt,et,it,ot,ut,ft,at,ct,lt,st={exports:{}};function vt(){return $r?Hr:($r=1,Hr=!1)}function dt(){if(Vr)return Gr;Vr=1;var r=w(),t=Object.defineProperty;return Gr=function(n,e){try{t(r,n,{value:e,configurable:!0,writable:!0})}catch(t){r[n]=e}return e}}function pt(){if(Wr)return st.exports;Wr=1;var r=vt(),t=w(),n=dt(),e="__core-js_shared__",i=st.exports=t[e]||n(e,{});return(i.versions||(i.versions=[])).push({version:"3.47.0",mode:r?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.47.0/LICENSE",source:"https://github.com/zloirock/core-js"}),st.exports}function gt(){if(Kr)return Ur;Kr=1;var r=pt();return Ur=function(t,n){return r[t]||(r[t]=n||{})}}function yt(){if(Xr)return Yr;Xr=1;var r=Ar(),t=Object;return Yr=function(n){return t(r(n))}}function ht(){if(Jr)return qr;Jr=1;var r=Or(),t=yt(),n=r({}.hasOwnProperty);return qr=Object.hasOwn||function(r,e){return n(t(r),e)}}function bt(){if(Zr)return Qr;Zr=1;var r=Or(),t=0,n=Math.random(),e=r(1.1.toString);return Qr=function(r){return"Symbol("+(void 0===r?"":r)+")_"+e(++t+n,36)}}function mt(){if(tt)return rt;tt=1;var r=w(),t=gt(),n=ht(),e=bt(),i=Nr(),o=Cr(),u=r.Symbol,f=t("wks"),a=o?u.for||u:u&&u.withoutSetter||e;return rt=function(r){return n(f,r)||(f[r]=i&&n(u,r)?u[r]:a("Symbol."+r)),f[r]}}function wt(){if(et)return nt;et=1;var r=L(),t=kr(),n=_r(),e=Dr(),i=Br(),o=mt(),u=TypeError,f=o("toPrimitive");return nt=function(o,a){if(!t(o)||n(o))return o;var c,l=e(o,f);if(l){if(void 0===a&&(a="default"),c=r(l,o,a),!t(c)||n(c))return c;throw new u("Can't convert object to primitive value")}return void 0===a&&(a="number"),i(o,a)}}function xt(){if(ot)return it;ot=1;var r=wt(),t=_r();return it=function(n){var e=r(n,"string");return t(e)?e:e+""}}function St(){if(ft)return ut;ft=1;var r=w(),t=kr(),n=r.document,e=t(n)&&t(n.createElement);return ut=function(r){return e?n.createElement(r):{}}}function Ot(){if(ct)return at;ct=1;var r=R(),t=k(),n=St();return at=!r&&!t(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function Et(){if(lt)return I;lt=1;var r=R(),t=L(),n=function(){if(N)return xr;N=1;var r={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,n=t&&!r.call({1:2},1);return xr.f=n?function(r){var n=t(this,r);return!!n&&n.enumerable}:r,xr}(),e=Sr(),i=Pr(),o=xt(),u=ht(),f=Ot(),a=Object.getOwnPropertyDescriptor;return I.f=r?a:function(r,c){if(r=i(r),c=o(c),f)try{return a(r,c)}catch(r){}if(u(r,c))return e(!t(n.f,r,c),r[c])},I}var jt,Tt,At,Pt,It,kt,Rt,zt={};function Lt(){if(Tt)return jt;Tt=1;var r=R(),t=k();return jt=r&&t(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function Nt(){if(Pt)return At;Pt=1;var r=kr(),t=String,n=TypeError;return At=function(e){if(r(e))return e;throw new n(t(e)+" is not an object")}}function Ct(){if(It)return zt;It=1;var r=R(),t=Ot(),n=Lt(),e=Nt(),i=xt(),o=TypeError,u=Object.defineProperty,f=Object.getOwnPropertyDescriptor,a="enumerable",c="configurable",l="writable";return zt.f=r?n?function(r,t,n){if(e(r),t=i(t),e(n),"function"==typeof r&&"prototype"===t&&"value"in n&&l in n&&!n[l]){var o=f(r,t);o&&o[l]&&(r[t]=n.value,n={configurable:c in n?n[c]:o[c],enumerable:a in n?n[a]:o[a],writable:!1})}return u(r,t,n)}:u:function(r,n,f){if(e(r),n=i(n),e(f),t)try{return u(r,n,f)}catch(r){}if("get"in f||"set"in f)throw new o("Accessors not supported");return"value"in f&&(r[n]=f.value),r},zt}function _t(){if(Rt)return kt;Rt=1;var r=R(),t=Ct(),n=Sr();return kt=r?function(r,e,i){return t.f(r,e,n(1,i))}:function(r,t,n){return r[t]=n,r}}var Mt,Ft,Dt,Bt,Ht,$t,Gt,Vt,Wt,Ut,Kt,Yt,Xt,qt,Jt,Qt={exports:{}};function Zt(){if(Ft)return Mt;Ft=1;var r=R(),t=ht(),n=Function.prototype,e=r&&Object.getOwnPropertyDescriptor,i=t(n,"name"),o=i&&"something"===function(){}.name,u=i&&(!r||r&&e(n,"name").configurable);return Mt={EXISTS:i,PROPER:o,CONFIGURABLE:u}}function rn(){if(Bt)return Dt;Bt=1;var r=Or(),t=Ir(),n=pt(),e=r(Function.toString);return t(n.inspectSource)||(n.inspectSource=function(r){return e(r)}),Dt=n.inspectSource}function tn(){if($t)return Ht;$t=1;var r=w(),t=Ir(),n=r.WeakMap;return Ht=t(n)&&/native code/.test(String(n))}function nn(){if(Vt)return Gt;Vt=1;var r=gt(),t=bt(),n=r("keys");return Gt=function(r){return n[r]||(n[r]=t(r))}}function en(){return Ut?Wt:(Ut=1,Wt={})}function on(){if(Yt)return Kt;Yt=1;var r,t,n,e=tn(),i=w(),o=kr(),u=_t(),f=ht(),a=pt(),c=nn(),l=en(),s="Object already initialized",v=i.TypeError,d=i.WeakMap;if(e||a.state){var p=a.state||(a.state=new d);p.get=p.get,p.has=p.has,p.set=p.set,r=function(r,t){if(p.has(r))throw new v(s);return t.facade=r,p.set(r,t),t},t=function(r){return p.get(r)||{}},n=function(r){return p.has(r)}}else{var g=c("state");l[g]=!0,r=function(r,t){if(f(r,g))throw new v(s);return t.facade=r,u(r,g,t),t},t=function(r){return f(r,g)?r[g]:{}},n=function(r){return f(r,g)}}return Kt={set:r,get:t,has:n,enforce:function(e){return n(e)?t(e):r(e,{})},getterFor:function(r){return function(n){var e;if(!o(n)||(e=t(n)).type!==r)throw new v("Incompatible receiver, "+r+" required");return e}}}}function un(){if(Xt)return Qt.exports;Xt=1;var r=Or(),t=k(),n=Ir(),e=ht(),i=R(),o=Zt().CONFIGURABLE,u=rn(),f=on(),a=f.enforce,c=f.get,l=String,s=Object.defineProperty,v=r("".slice),d=r("".replace),p=r([].join),g=i&&!t(function(){return 8!==s(function(){},"length",{value:8}).length}),y=String(String).split("String"),h=Qt.exports=function(r,t,n){"Symbol("===v(l(t),0,7)&&(t="["+d(l(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!e(r,"name")||o&&r.name!==t)&&(i?s(r,"name",{value:t,configurable:!0}):r.name=t),g&&n&&e(n,"arity")&&r.length!==n.arity&&s(r,"length",{value:n.arity});try{n&&e(n,"constructor")&&n.constructor?i&&s(r,"prototype",{writable:!1}):r.prototype&&(r.prototype=void 0)}catch(r){}var u=a(r);return e(u,"source")||(u.source=p(y,"string"==typeof t?t:"")),r};return Function.prototype.toString=h(function(){return n(this)&&c(this).source||u(this)},"toString"),Qt.exports}function fn(){if(Jt)return qt;Jt=1;var r=Ir(),t=Ct(),n=un(),e=dt();return qt=function(i,o,u,f){f||(f={});var a=f.enumerable,c=void 0!==f.name?f.name:o;if(r(u)&&n(u,c,f),f.global)a?i[o]=u:e(o,u);else{try{f.unsafe?i[o]&&(a=!0):delete i[o]}catch(r){}a?i[o]=u:t.f(i,o,{value:u,enumerable:!1,configurable:!f.nonConfigurable,writable:!f.nonWritable})}return i}}var an,cn,ln,sn,vn,dn,pn,gn,yn,hn,bn,mn,wn,xn,Sn,On,En,jn={};function Tn(){if(sn)return ln;sn=1;var r=function(){if(cn)return an;cn=1;var r=Math.ceil,t=Math.floor;return an=Math.trunc||function(n){var e=+n;return(e>0?t:r)(e)}}();return ln=function(t){var n=+t;return n!=n||0===n?0:r(n)}}function An(){if(dn)return vn;dn=1;var r=Tn(),t=Math.max,n=Math.min;return vn=function(e,i){var o=r(e);return o<0?t(o+i,0):n(o,i)}}function Pn(){if(gn)return pn;gn=1;var r=Tn(),t=Math.min;return pn=function(n){var e=r(n);return e>0?t(e,9007199254740991):0}}function In(){if(hn)return yn;hn=1;var r=Pn();return yn=function(t){return r(t.length)}}function kn(){if(mn)return bn;mn=1;var r=Pr(),t=An(),n=In(),e=function(e){return function(i,o,u){var f=r(i),a=n(f);if(0===a)return!e&&-1;var c,l=t(u,a);if(e&&o!=o){for(;a>l;)if((c=f[l++])!=c)return!0}else for(;a>l;l++)if((e||l in f)&&f[l]===o)return e||l||0;return!e&&-1}};return bn={includes:e(!0),indexOf:e(!1)}}function Rn(){if(xn)return wn;xn=1;var r=Or(),t=ht(),n=Pr(),e=kn().indexOf,i=en(),o=r([].push);return wn=function(r,u){var f,a=n(r),c=0,l=[];for(f in a)!t(i,f)&&t(a,f)&&o(l,f);for(;u.length>c;)t(a,f=u[c++])&&(~e(l,f)||o(l,f));return l}}function zn(){return On?Sn:(On=1,Sn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function Ln(){if(En)return jn;En=1;var r=Rn(),t=zn().concat("length","prototype");return jn.f=Object.getOwnPropertyNames||function(n){return r(n,t)},jn}var Nn,Cn,_n,Mn,Fn,Dn,Bn,Hn,$n,Gn,Vn,Wn,Un,Kn,Yn,Xn,qn,Jn,Qn,Zn,re,te,ne,ee,ie,oe,ue,fe,ae={};function ce(){if(_n)return Cn;_n=1;var r=Rr(),t=Or(),n=Ln(),e=(Nn||(Nn=1,ae.f=Object.getOwnPropertySymbols),ae),i=Nt(),o=t([].concat);return Cn=r("Reflect","ownKeys")||function(r){var t=n.f(i(r)),u=e.f;return u?o(t,u(r)):t}}function le(){if(Fn)return Mn;Fn=1;var r=ht(),t=ce(),n=Et(),e=Ct();return Mn=function(i,o,u){for(var f=t(o),a=e.f,c=n.f,l=0;l<f.length;l++){var s=f[l];r(i,s)||u&&r(u,s)||a(i,s,c(o,s))}}}function se(){if(Bn)return Dn;Bn=1;var r=k(),t=Ir(),n=/#|\.prototype\./,e=function(n,e){var a=o[i(n)];return a===f||a!==u&&(t(e)?r(e):!!e)},i=e.normalize=function(r){return String(r).replace(n,".").toLowerCase()},o=e.data={},u=e.NATIVE="N",f=e.POLYFILL="P";return Dn=e}function ve(){if($n)return Hn;$n=1;var r=w(),t=Et().f,n=_t(),e=fn(),i=dt(),o=le(),u=se();return Hn=function(f,a){var c,l,s,v,d,p=f.target,g=f.global,y=f.stat;if(c=g?r:y?r[p]||i(p,{}):r[p]&&r[p].prototype)for(l in a){if(v=a[l],s=f.dontCallGetSet?(d=t(c,l))&&d.value:c[l],!u(g?l:p+(y?".":"#")+l,f.forced)&&void 0!==s){if(typeof v==typeof s)continue;o(v,s)}(f.sham||s&&s.sham)&&n(v,"sham",!0),e(c,l,v,f)}}}function de(){if(Vn)return Gn;Vn=1;var r=Er();return Gn=Array.isArray||function(t){return"Array"===r(t)}}function pe(){if(Un)return Wn;Un=1;var r=TypeError;return Wn=function(t){if(t>9007199254740991)throw r("Maximum allowed index exceeded");return t}}function ge(){if(Yn)return Kn;Yn=1;var r=R(),t=Ct(),n=Sr();return Kn=function(e,i,o){r?t.f(e,i,n(0,o)):e[i]=o}}function ye(){if(qn)return Xn;qn=1;var r={};return r[mt()("toStringTag")]="z",Xn="[object z]"===String(r)}function he(){if(Qn)return Jn;Qn=1;var r=ye(),t=Ir(),n=Er(),e=mt()("toStringTag"),i=Object,o="Arguments"===n(function(){return arguments}());return Jn=r?n:function(r){var u,f,a;return void 0===r?"Undefined":null===r?"Null":"string"==typeof(f=function(r,t){try{return r[t]}catch(r){}}(u=i(r),e))?f:o?n(u):"Object"===(a=n(u))&&t(u.callee)?"Arguments":a}}function be(){if(re)return Zn;re=1;var r=Or(),t=k(),n=Ir(),e=he(),i=Rr(),o=rn(),u=function(){},f=i("Reflect","construct"),a=/^\s*(?:class|function)\b/,c=r(a.exec),l=!a.test(u),s=function(r){if(!n(r))return!1;try{return f(u,[],r),!0}catch(r){return!1}},v=function(r){if(!n(r))return!1;switch(e(r)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(a,o(r))}catch(r){return!0}};return v.sham=!0,Zn=!f||t(function(){var r;return s(s.call)||!s(Object)||!s(function(){r=!0})||r})?v:s}function me(){if(ne)return te;ne=1;var r=de(),t=be(),n=kr(),e=mt()("species"),i=Array;return te=function(o){var u;return r(o)&&(u=o.constructor,(t(u)&&(u===i||r(u.prototype))||n(u)&&null===(u=u[e]))&&(u=void 0)),void 0===u?i:u}}function we(){if(ie)return ee;ie=1;var r=me();return ee=function(t,n){return new(r(t))(0===n?0:n)}}function xe(){if(ue)return oe;ue=1;var r=k(),t=mt(),n=Lr(),e=t("species");return oe=function(t){return n>=51||!r(function(){var r=[];return(r.constructor={})[e]=function(){return{foo:1}},1!==r[t](Boolean).foo})}}!function(){if(fe)return m;fe=1;var r=ve(),t=k(),n=de(),e=kr(),i=yt(),o=In(),u=pe(),f=ge(),a=we(),c=xe(),l=mt(),s=Lr(),v=l("isConcatSpreadable"),d=s>=51||!t(function(){var r=[];return r[v]=!1,r.concat()[0]!==r}),p=function(r){if(!e(r))return!1;var t=r[v];return void 0!==t?!!t:n(r)};r({target:"Array",proto:!0,arity:1,forced:!d||!c("concat")},{concat:function(r){var t,n,e,c,l,s=i(this),v=a(s,0),d=0;for(t=-1,e=arguments.length;t<e;t++)if(p(l=-1===t?s:arguments[t]))for(c=o(l),u(d+c),n=0;n<c;n++,d++)n in l&&f(v,d,l[n]);else u(d+1),f(v,d++,l);return v.length=d,v}})}();var Se=function(r,t){return Se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,t){r.__proto__=t}||function(r,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])},Se(r,t)};function Oe(r,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=r}Se(r,t),r.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Ee(r){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&r[t],e=0;if(n)return n.call(r);if(r&&"number"==typeof r.length)return{next:function(){return r&&e>=r.length&&(r=void 0),{value:r&&r[e++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function je(r,t){var n="function"==typeof Symbol&&r[Symbol.iterator];if(!n)return r;var e,i,o=n.call(r),u=[];try{for(;(void 0===t||t-- >0)&&!(e=o.next()).done;)u.push(e.value)}catch(r){i={error:r}}finally{try{e&&!e.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return u}function Te(r,t,n){if(n||2===arguments.length)for(var e,i=0,o=t.length;i<o;i++)!e&&i in t||(e||(e=Array.prototype.slice.call(t,0,i)),e[i]=t[i]);return r.concat(e||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var Ae,Pe,Ie,ke,Re,ze,Le,Ne,Ce,_e,Me,Fe,De,Be,He,$e,Ge,Ve,We,Ue,Ke,Ye,Xe,qe,Je,Qe,Ze,ri,ti,ni,ei,ii,oi,ui,fi,ai={};function ci(){if(Pe)return Ae;Pe=1;var r=Rn(),t=zn();return Ae=Object.keys||function(n){return r(n,t)}}function li(){if(Re)return ke;Re=1;var r=Rr();return ke=r("document","documentElement")}function si(){if(Le)return ze;Le=1;var r,t=Nt(),n=function(){if(Ie)return ai;Ie=1;var r=R(),t=Lt(),n=Ct(),e=Nt(),i=Pr(),o=ci();return ai.f=r&&!t?Object.defineProperties:function(r,t){e(r);for(var u,f=i(t),a=o(t),c=a.length,l=0;c>l;)n.f(r,u=a[l++],f[u]);return r},ai}(),e=zn(),i=en(),o=li(),u=St(),f=nn(),a="prototype",c="script",l=f("IE_PROTO"),s=function(){},v=function(r){return"<"+c+">"+r+"</"+c+">"},d=function(r){r.write(v("")),r.close();var t=r.parentWindow.Object;return r=null,t},p=function(){try{r=new ActiveXObject("htmlfile")}catch(r){}var t,n,i;p="undefined"!=typeof document?document.domain&&r?d(r):(n=u("iframe"),i="java"+c+":",n.style.display="none",o.appendChild(n),n.src=String(i),(t=n.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):d(r);for(var f=e.length;f--;)delete p[a][e[f]];return p()};return i[l]=!0,ze=Object.create||function(r,e){var i;return null!==r?(s[a]=t(r),i=new s,s[a]=null,i[l]=r):i=p(),void 0===e?i:n.f(i,e)}}function vi(){if(Ce)return Ne;Ce=1;var r=mt(),t=si(),n=Ct().f,e=r("unscopables"),i=Array.prototype;return void 0===i[e]&&n(i,e,{configurable:!0,value:t(null)}),Ne=function(r){i[e][r]=!0}}function di(){return Me?_e:(Me=1,_e={})}function pi(){if(He)return Be;He=1;var r=ht(),t=Ir(),n=yt(),e=nn(),i=function(){if(De)return Fe;De=1;var r=k();return Fe=!r(function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype})}(),o=e("IE_PROTO"),u=Object,f=u.prototype;return Be=i?u.getPrototypeOf:function(e){var i=n(e);if(r(i,o))return i[o];var a=i.constructor;return t(a)&&i instanceof a?a.prototype:i instanceof u?f:null}}function gi(){if(Ge)return $e;Ge=1;var r,t,n,e=k(),i=Ir(),o=kr(),u=si(),f=pi(),a=fn(),c=mt(),l=vt(),s=c("iterator"),v=!1;return[].keys&&("next"in(n=[].keys())?(t=f(f(n)))!==Object.prototype&&(r=t):v=!0),!o(r)||e(function(){var t={};return r[s].call(t)!==t})?r={}:l&&(r=u(r)),i(r[s])||a(r,s,function(){return this}),$e={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:v}}function yi(){if(We)return Ve;We=1;var r=Ct().f,t=ht(),n=mt()("toStringTag");return Ve=function(e,i,o){e&&!o&&(e=e.prototype),e&&!t(e,n)&&r(e,n,{configurable:!0,value:i})}}function hi(){if(Je)return qe;Je=1;var r=kr();return qe=function(t){return r(t)||null===t}}function bi(){if(Ze)return Qe;Ze=1;var r=hi(),t=String,n=TypeError;return Qe=function(e){if(r(e))return e;throw new n("Can't set "+t(e)+" as a prototype")}}function mi(){if(ti)return ri;ti=1;var r=function(){if(Xe)return Ye;Xe=1;var r=Or(),t=Fr();return Ye=function(n,e,i){try{return r(t(Object.getOwnPropertyDescriptor(n,e)[i]))}catch(r){}}}(),t=kr(),n=Ar(),e=bi();return ri=Object.setPrototypeOf||("__proto__"in{}?function(){var i,o=!1,u={};try{(i=r(Object.prototype,"__proto__","set"))(u,[]),o=u instanceof Array}catch(r){}return function(r,u){return n(r),e(u),t(r)?(o?i(r,u):r.__proto__=u,r):r}}():void 0)}function wi(){if(ei)return ni;ei=1;var r=ve(),t=L(),n=vt(),e=Zt(),i=Ir(),o=function(){if(Ke)return Ue;Ke=1;var r=gi().IteratorPrototype,t=si(),n=Sr(),e=yi(),i=di(),o=function(){return this};return Ue=function(u,f,a,c){var l=f+" Iterator";return u.prototype=t(r,{next:n(+!c,a)}),e(u,l,!1,!0),i[l]=o,u}}(),u=pi(),f=mi(),a=yi(),c=_t(),l=fn(),s=mt(),v=di(),d=gi(),p=e.PROPER,g=e.CONFIGURABLE,y=d.IteratorPrototype,h=d.BUGGY_SAFARI_ITERATORS,b=s("iterator"),m="keys",w="values",x="entries",S=function(){return this};return ni=function(e,s,d,O,E,j,T){o(d,s,O);var A,P,I,k=function(r){if(r===E&&C)return C;if(!h&&r&&r in L)return L[r];switch(r){case m:case w:case x:return function(){return new d(this,r)}}return function(){return new d(this)}},R=s+" Iterator",z=!1,L=e.prototype,N=L[b]||L["@@iterator"]||E&&L[E],C=!h&&N||k(E),_="Array"===s&&L.entries||N;if(_&&(A=u(_.call(new e)))!==Object.prototype&&A.next&&(n||u(A)===y||(f?f(A,y):i(A[b])||l(A,b,S)),a(A,R,!0,!0),n&&(v[R]=S)),p&&E===w&&N&&N.name!==w&&(!n&&g?c(L,"name",w):(z=!0,C=function(){return t(N,this)})),E)if(P={values:k(w),keys:j?C:k(m),entries:k(x)},T)for(I in P)(h||z||!(I in L))&&l(L,I,P[I]);else r({target:s,proto:!0,forced:h||z},P);return n&&!T||L[b]===C||l(L,b,C,{name:E}),v[s]=C,P}}function xi(){return oi?ii:(oi=1,ii=function(r,t){return{value:r,done:t}})}function Si(){if(fi)return ui;fi=1;var r=Pr(),t=vi(),n=di(),e=on(),i=Ct().f,o=wi(),u=xi(),f=vt(),a=R(),c="Array Iterator",l=e.set,s=e.getterFor(c);ui=o(Array,"Array",function(t,n){l(this,{type:c,target:r(t),index:0,kind:n})},function(){var r=s(this),t=r.target,n=r.index++;if(!t||n>=t.length)return r.target=null,u(void 0,!0);switch(r.kind){case"keys":return u(n,!1);case"values":return u(t[n],!1)}return u([n,t[n]],!1)},"values");var v=n.Arguments=n.Array;if(t("keys"),t("values"),t("entries"),!f&&a&&"values"!==v.name)try{i(v,"name",{value:"values"})}catch(r){}return ui}Si();var Oi,Ei,ji,Ti={};!function(){if(ji)return Ti;ji=1;var r=ye(),t=fn(),n=function(){if(Ei)return Oi;Ei=1;var r=ye(),t=he();return Oi=r?{}.toString:function(){return"[object "+t(this)+"]"}}();r||t(Object.prototype,"toString",n,{unsafe:!0})}();var Ai,Pi,Ii,ki,Ri,zi={};function Li(){if(Pi)return Ai;Pi=1;var r=he(),t=String;return Ai=function(n){if("Symbol"===r(n))throw new TypeError("Cannot convert a Symbol value to a string");return t(n)}}function Ni(){if(ki)return Ii;ki=1;var r=Or(),t=Tn(),n=Li(),e=Ar(),i=r("".charAt),o=r("".charCodeAt),u=r("".slice),f=function(r){return function(f,a){var c,l,s=n(e(f)),v=t(a),d=s.length;return v<0||v>=d?r?"":void 0:(c=o(s,v))<55296||c>56319||v+1===d||(l=o(s,v+1))<56320||l>57343?r?i(s,v):c:r?u(s,v,v+2):l-56320+(c-55296<<10)+65536}};return Ii={codeAt:f(!1),charAt:f(!0)}}!function(){if(Ri)return zi;Ri=1;var r=Ni().charAt,t=Li(),n=on(),e=wi(),i=xi(),o="String Iterator",u=n.set,f=n.getterFor(o);e(String,"String",function(r){u(this,{type:o,string:t(r),index:0})},function(){var t,n=f(this),e=n.string,o=n.index;return o>=e.length?i(void 0,!0):(t=r(e,o),n.index+=t.length,i(t,!1))})}();var Ci,_i,Mi,Fi,Di={};function Bi(){if(_i)return Ci;_i=1;var r=k();return Ci=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})}function Hi(){if(Fi)return Mi;Fi=1;var r=fn();return Mi=function(t,n,e){for(var i in n)r(t,i,n[i],e);return t}}var $i,Gi,Vi,Wi,Ui,Ki,Yi,Xi,qi,Ji,Qi,Zi,ro,to,no,eo,io,oo,uo,fo,ao,co,lo,so,vo,po,go,yo,ho,bo,mo,wo,xo,So,Oo,Eo,jo={exports:{}},To={};function Ao(){if(Gi)return $i;Gi=1;var r=Or();return $i=r([].slice)}function Po(){if(Vi)return To;Vi=1;var r=Er(),t=Pr(),n=Ln().f,e=Ao(),i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return To.f=function(o){return i&&"Window"===r(o)?function(r){try{return n(r)}catch(r){return e(i)}}(o):n(t(o))},To}function Io(){if(Yi)return Ki;Yi=1;var r=k(),t=kr(),n=Er(),e=function(){if(Ui)return Wi;Ui=1;var r=k();return Wi=r(function(){if("function"==typeof ArrayBuffer){var r=new ArrayBuffer(8);Object.isExtensible(r)&&Object.defineProperty(r,"a",{value:8})}})}(),i=Object.isExtensible,o=r(function(){});return Ki=o||e?function(r){return!!t(r)&&((!e||"ArrayBuffer"!==n(r))&&(!i||i(r)))}:i}function ko(){if(Xi)return jo.exports;Xi=1;var r=ve(),t=Or(),n=en(),e=kr(),i=ht(),o=Ct().f,u=Ln(),f=Po(),a=Io(),c=bt(),l=Bi(),s=!1,v=c("meta"),d=0,p=function(r){o(r,v,{value:{objectID:"O"+d++,weakData:{}}})},g=jo.exports={enable:function(){g.enable=function(){},s=!0;var n=u.f,e=t([].splice),i={};i[v]=1,n(i).length&&(u.f=function(r){for(var t=n(r),i=0,o=t.length;i<o;i++)if(t[i]===v){e(t,i,1);break}return t},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:f.f}))},fastKey:function(r,t){if(!e(r))return"symbol"==typeof r?r:("string"==typeof r?"S":"P")+r;if(!i(r,v)){if(!a(r))return"F";if(!t)return"E";p(r)}return r[v].objectID},getWeakData:function(r,t){if(!i(r,v)){if(!a(r))return!0;if(!t)return!1;p(r)}return r[v].weakData},onFreeze:function(r){return l&&s&&a(r)&&!i(r,v)&&p(r),r}};return n[v]=!0,jo.exports}function Ro(){if(Zi)return Qi;Zi=1;var r=function(){if(Ji)return qi;Ji=1;var r=Er(),t=Or();return qi=function(n){if("Function"===r(n))return t(n)}}(),t=Fr(),n=z(),e=r(r.bind);return Qi=function(r,i){return t(r),void 0===i?r:n?e(r,i):function(){return r.apply(i,arguments)}},Qi}function zo(){if(to)return ro;to=1;var r=mt(),t=di(),n=r("iterator"),e=Array.prototype;return ro=function(r){return void 0!==r&&(t.Array===r||e[n]===r)}}function Lo(){if(eo)return no;eo=1;var r=he(),t=Dr(),n=Tr(),e=di(),i=mt()("iterator");return no=function(o){if(!n(o))return t(o,i)||t(o,"@@iterator")||e[r(o)]}}function No(){if(oo)return io;oo=1;var r=L(),t=Fr(),n=Nt(),e=Mr(),i=Lo(),o=TypeError;return io=function(u,f){var a=arguments.length<2?i(u):f;if(t(a))return n(r(a,u));throw new o(e(u)+" is not iterable")},io}function Co(){if(fo)return uo;fo=1;var r=L(),t=Nt(),n=Dr();return uo=function(e,i,o){var u,f;t(e);try{if(!(u=n(e,"return"))){if("throw"===i)throw o;return o}u=r(u,e)}catch(r){f=!0,u=r}if("throw"===i)throw o;if(f)throw u;return t(u),o}}function _o(){if(co)return ao;co=1;var r=Ro(),t=L(),n=Nt(),e=Mr(),i=zo(),o=In(),u=zr(),f=No(),a=Lo(),c=Co(),l=TypeError,s=function(r,t){this.stopped=r,this.result=t},v=s.prototype;return ao=function(d,p,g){var y,h,b,m,w,x,S,O=g&&g.that,E=!(!g||!g.AS_ENTRIES),j=!(!g||!g.IS_RECORD),T=!(!g||!g.IS_ITERATOR),A=!(!g||!g.INTERRUPTED),P=r(p,O),I=function(r){return y&&c(y,"normal"),new s(!0,r)},k=function(r){return E?(n(r),A?P(r[0],r[1],I):P(r[0],r[1])):A?P(r,I):P(r)};if(j)y=d.iterator;else if(T)y=d;else{if(!(h=a(d)))throw new l(e(d)+" is not iterable");if(i(h)){for(b=0,m=o(d);m>b;b++)if((w=k(d[b]))&&u(v,w))return w;return new s(!1)}y=f(d,h)}for(x=j?d.next:y.next;!(S=t(x,y)).done;){try{w=k(S.value)}catch(r){c(y,"throw",r)}if("object"==typeof w&&w&&u(v,w))return w}return new s(!1)}}function Mo(){if(so)return lo;so=1;var r=zr(),t=TypeError;return lo=function(n,e){if(r(e,n))return n;throw new t("Incorrect invocation")}}function Fo(){if(po)return vo;po=1;var r=mt()("iterator"),t=!1;try{var n=0,e={next:function(){return{done:!!n++}},return:function(){t=!0}};e[r]=function(){return this},Array.from(e,function(){throw 2})}catch(r){}return vo=function(n,e){try{if(!e&&!t)return!1}catch(r){return!1}var i=!1;try{var o={};o[r]=function(){return{next:function(){return{done:i=!0}}}},n(o)}catch(r){}return i}}function Do(){if(yo)return go;yo=1;var r=Ir(),t=kr(),n=mi();return go=function(e,i,o){var u,f;return n&&r(u=i.constructor)&&u!==o&&t(f=u.prototype)&&f!==o.prototype&&n(e,f),e}}function Bo(){if(bo)return ho;bo=1;var r=ve(),t=w(),n=Or(),e=se(),i=fn(),o=ko(),u=_o(),f=Mo(),a=Ir(),c=Tr(),l=kr(),s=k(),v=Fo(),d=yi(),p=Do();return ho=function(g,y,h){var b=-1!==g.indexOf("Map"),m=-1!==g.indexOf("Weak"),w=b?"set":"add",x=t[g],S=x&&x.prototype,O=x,E={},j=function(r){var t=n(S[r]);i(S,r,"add"===r?function(r){return t(this,0===r?0:r),this}:"delete"===r?function(r){return!(m&&!l(r))&&t(this,0===r?0:r)}:"get"===r?function(r){return m&&!l(r)?void 0:t(this,0===r?0:r)}:"has"===r?function(r){return!(m&&!l(r))&&t(this,0===r?0:r)}:function(r,n){return t(this,0===r?0:r,n),this})};if(e(g,!a(x)||!(m||S.forEach&&!s(function(){(new x).entries().next()}))))O=h.getConstructor(y,g,b,w),o.enable();else if(e(g,!0)){var T=new O,A=T[w](m?{}:-0,1)!==T,P=s(function(){T.has(1)}),I=v(function(r){new x(r)}),k=!m&&s(function(){for(var r=new x,t=5;t--;)r[w](t,t);return!r.has(-0)});I||((O=y(function(r,t){f(r,S);var n=p(new x,r,O);return c(t)||u(t,n[w],{that:n,AS_ENTRIES:b}),n})).prototype=S,S.constructor=O),(P||k)&&(j("delete"),j("has"),b&&j("get")),(k||A)&&j(w),m&&S.clear&&delete S.clear}return E[g]=O,r({global:!0,constructor:!0,forced:O!==x},E),d(O,g),m||h.setStrong(O,g,b),O}}function Ho(){if(wo)return mo;wo=1;var r=Ro(),t=Or(),n=jr(),e=yt(),i=In(),o=we(),u=t([].push),f=function(t){var f=1===t,a=2===t,c=3===t,l=4===t,s=6===t,v=7===t,d=5===t||s;return function(p,g,y,h){for(var b,m,w=e(p),x=n(w),S=i(x),O=r(g,y),E=0,j=h||o,T=f?j(p,S):a||v?j(p,0):void 0;S>E;E++)if((d||E in x)&&(m=O(b=x[E],E,w),t))if(f)T[E]=m;else if(m)switch(t){case 3:return!0;case 5:return b;case 6:return E;case 2:u(T,b)}else switch(t){case 4:return!1;case 7:u(T,b)}return s?-1:c||l?l:T}};return mo={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}}function $o(){if(So)return xo;So=1;var r=Or(),t=Hi(),n=ko().getWeakData,e=Mo(),i=Nt(),o=Tr(),u=kr(),f=_o(),a=Ho(),c=ht(),l=on(),s=l.set,v=l.getterFor,d=a.find,p=a.findIndex,g=r([].splice),y=0,h=function(r){return r.frozen||(r.frozen=new b)},b=function(){this.entries=[]},m=function(r,t){return d(r.entries,function(r){return r[0]===t})};return b.prototype={get:function(r){var t=m(this,r);if(t)return t[1]},has:function(r){return!!m(this,r)},set:function(r,t){var n=m(this,r);n?n[1]=t:this.entries.push([r,t])},delete:function(r){var t=p(this.entries,function(t){return t[0]===r});return~t&&g(this.entries,t,1),!!~t}},xo={getConstructor:function(r,a,l,d){var p=r(function(r,t){e(r,g),s(r,{type:a,id:y++,frozen:null}),o(t)||f(t,r[d],{that:r,AS_ENTRIES:l})}),g=p.prototype,b=v(a),m=function(r,t,e){var o=b(r),u=n(i(t),!0);return!0===u?h(o).set(t,e):u[o.id]=e,r};return t(g,{delete:function(r){var t=b(this);if(!u(r))return!1;var e=n(r);return!0===e?h(t).delete(r):e&&c(e,t.id)&&delete e[t.id]},has:function(r){var t=b(this);if(!u(r))return!1;var e=n(r);return!0===e?h(t).has(r):e&&c(e,t.id)}}),t(g,l?{get:function(r){var t=b(this);if(u(r)){var e=n(r);if(!0===e)return h(t).get(r);if(e)return e[t.id]}},set:function(r,t){return m(this,r,t)}}:{add:function(r){return m(this,r,!0)}}),p}}}Eo||(Eo=1,function(){if(Oo)return Di;Oo=1;var r,t=Bi(),n=w(),e=Or(),i=Hi(),o=ko(),u=Bo(),f=$o(),a=kr(),c=on().enforce,l=k(),s=tn(),v=Object,d=Array.isArray,p=v.isExtensible,g=v.isFrozen,y=v.isSealed,h=v.freeze,b=v.seal,m=!n.ActiveXObject&&"ActiveXObject"in n,x=function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},S=u("WeakMap",x,f),O=S.prototype,E=e(O.set);if(s)if(m){r=f.getConstructor(x,"WeakMap",!0),o.enable();var j=e(O.delete),T=e(O.has),A=e(O.get);i(O,{delete:function(t){if(a(t)&&!p(t)){var n=c(this);return n.frozen||(n.frozen=new r),j(this,t)||n.frozen.delete(t)}return j(this,t)},has:function(t){if(a(t)&&!p(t)){var n=c(this);return n.frozen||(n.frozen=new r),T(this,t)||n.frozen.has(t)}return T(this,t)},get:function(t){if(a(t)&&!p(t)){var n=c(this);return n.frozen||(n.frozen=new r),T(this,t)?A(this,t):n.frozen.get(t)}return A(this,t)},set:function(t,n){if(a(t)&&!p(t)){var e=c(this);e.frozen||(e.frozen=new r),T(this,t)?E(this,t,n):e.frozen.set(t,n)}else E(this,t,n);return this}})}else t&&l(function(){var r=h([]);return E(new S,r,1),!g(r)})&&i(O,{set:function(r,t){var n;return d(r)&&(g(r)?n=h:y(r)&&(n=b)),E(this,r,t),n&&n(r),this}})}());var Go,Vo,Wo,Uo,Ko,Yo={};!function(){if(Ko)return Yo;Ko=1;var r=w(),t=Vo?Go:(Vo=1,Go={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}),n=function(){if(Uo)return Wo;Uo=1;var r=St()("span").classList,t=r&&r.constructor&&r.constructor.prototype;return Wo=t===Object.prototype?void 0:t}(),e=Si(),i=_t(),o=yi(),u=mt()("iterator"),f=e.values,a=function(r,n){if(r){if(r[u]!==f)try{i(r,u,f)}catch(t){r[u]=f}if(o(r,n,!0),t[n])for(var a in e)if(r[a]!==e[a])try{i(r,a,e[a])}catch(t){r[a]=e[a]}}};for(var c in t)a(r[c]&&r[c].prototype,c);a(n,"DOMTokenList")}();var Xo=new WeakMap;function qo(r){var t,n=r.children||[],e=n.length;if(0===e)return"";for(var i=0;i<e&&!t;i+=1){var o=n[i];u.isText(o)&&(t=o)}return null==t?"":t.color||""}function Jo(r,n,e){for(var i=n.type,o=function(r,t){var n={};for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&t.indexOf(e)<0&&(n[e]=r[e]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(e=Object.getOwnPropertySymbols(r);i<e.length;i++)t.indexOf(e[i])<0&&Object.prototype.propertyIsEnumerable.call(r,e[i])&&(n[e[i]]=r[e[i]])}return n}(n,["type"]),u=void 0!==e?e:o.level||0,c=t.findPath(r,n);;){if(0===c.length||0===c[c.length-1])return null;c=f.previous(c);var l=a.node(r,c);if(!l)return null;var s=je(l,1)[0],v=s.level,d=void 0===v?0:v;if(t.getNodeType(s)!==i)return null;if(d===u)return s}}function Qo(r,t,n){var e=Jo(r,t,n);return!!e&&e.ordered===t.ordered}var Zo,ru={};!function(){if(Zo)return ru;Zo=1;var r=ve(),t=Ho().map;r({target:"Array",proto:!0,forced:!xe()("map")},{map:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)}})}();var tu,nu,eu,iu,ou,uu,fu,au,cu,lu,su,vu={};function du(){if(nu)return tu;nu=1;var r=Nt();return tu=function(){var t=r(this),n="";return t.hasIndices&&(n+="d"),t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.unicodeSets&&(n+="v"),t.sticky&&(n+="y"),n}}function pu(){if(lu)return cu;lu=1;var r,t,n=L(),e=Or(),i=Li(),o=du(),u=function(){if(iu)return eu;iu=1;var r=k(),t=w().RegExp,n=r(function(){var r=t("a","y");return r.lastIndex=2,null!==r.exec("abcd")}),e=n||r(function(){return!t("a","y").sticky}),i=n||r(function(){var r=t("^r","gy");return r.lastIndex=2,null!==r.exec("str")});return eu={BROKEN_CARET:i,MISSED_STICKY:e,UNSUPPORTED_Y:n}}(),f=gt(),a=si(),c=on().get,l=function(){if(uu)return ou;uu=1;var r=k(),t=w().RegExp;return ou=r(function(){var r=t(".","s");return!(r.dotAll&&r.test("\n")&&"s"===r.flags)})}(),s=function(){if(au)return fu;au=1;var r=k(),t=w().RegExp;return fu=r(function(){var r=t("(?<a>b)","g");return"b"!==r.exec("b").groups.a||"bc"!=="b".replace(r,"$<a>c")})}(),v=f("native-string-replace",String.prototype.replace),d=RegExp.prototype.exec,p=d,g=e("".charAt),y=e("".indexOf),h=e("".replace),b=e("".slice),m=(t=/b*/g,n(d,r=/a/,"a"),n(d,t,"a"),0!==r.lastIndex||0!==t.lastIndex),x=u.BROKEN_CARET,S=void 0!==/()??/.exec("")[1];return(m||S||x||l||s)&&(p=function(r){var t,e,u,f,l,s,w,O=this,E=c(O),j=i(r),T=E.raw;if(T)return T.lastIndex=O.lastIndex,t=n(p,T,j),O.lastIndex=T.lastIndex,t;var A=E.groups,P=x&&O.sticky,I=n(o,O),k=O.source,R=0,z=j;if(P&&(I=h(I,"y",""),-1===y(I,"g")&&(I+="g"),z=b(j,O.lastIndex),O.lastIndex>0&&(!O.multiline||O.multiline&&"\n"!==g(j,O.lastIndex-1))&&(k="(?: "+k+")",z=" "+z,R++),e=new RegExp("^(?:"+k+")",I)),S&&(e=new RegExp("^"+k+"$(?!\\s)",I)),m&&(u=O.lastIndex),f=n(d,P?e:O,z),P?f?(f.input=b(f.input,R),f[0]=b(f[0],R),f.index=O.lastIndex,O.lastIndex+=f[0].length):O.lastIndex=0:m&&f&&(O.lastIndex=O.global?f.index+f[0].length:u),S&&f&&f.length>1&&n(v,f[0],e,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(f[l]=void 0)}),f&&A)for(f.groups=s=a(null),l=0;l<A.length;l++)s[(w=A[l])[0]]=f[w[1]];return f}),cu=p}function gu(){if(su)return vu;su=1;var r=ve(),t=pu();return r({target:"RegExp",proto:!0,forced:/./.exec!==t},{exec:t}),vu}gu();var yu,hu,bu,mu,wu,xu={};function Su(){if(mu)return bu;mu=1;var r=L(),t=ht(),n=zr(),e=function(){if(hu)return yu;hu=1;var r=w(),t=k(),n=r.RegExp,e=!t(function(){var r=!0;try{n(".","d")}catch(t){r=!1}var t={},e="",i=r?"dgimsy":"gimsy",o=function(r,n){Object.defineProperty(t,r,{get:function(){return e+=n,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var f in r&&(u.hasIndices="d"),u)o(f,u[f]);return Object.getOwnPropertyDescriptor(n.prototype,"flags").get.call(t)!==i||e!==i});return yu={correct:e}}(),i=du(),o=RegExp.prototype;return bu=e.correct?function(r){return r.flags}:function(u){return e.correct||!n(o,u)||t(u,"flags")?u.flags:r(i,u)}}!function(){if(wu)return xu;wu=1;var r=Zt().PROPER,t=fn(),n=Nt(),e=Li(),i=k(),o=Su(),u="toString",f=RegExp.prototype,a=f[u],c=i(function(){return"/a/b"!==a.call({source:"a",flags:"b"})}),l=r&&a.name!==u;(c||l)&&t(f,u,function(){var r=n(this);return"/"+e(r.source)+"/"+e(o(r))},{unsafe:!0})}();var Ou,Eu,ju,Tu,Au,Pu,Iu,ku;function Ru(){if(Eu)return Ou;Eu=1;var r=un(),t=Ct();return Ou=function(n,e,i){return i.get&&r(i.get,e,{getter:!0}),i.set&&r(i.set,e,{setter:!0}),t.f(n,e,i)}}function zu(){if(Tu)return ju;Tu=1;var r=Rr(),t=Ru(),n=mt(),e=R(),i=n("species");return ju=function(n){var o=r(n);e&&o&&!o[i]&&t(o,i,{configurable:!0,get:function(){return this}})}}ku||(ku=1,Iu||(Iu=1,Bo()("Set",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},function(){if(Pu)return Au;Pu=1;var r=si(),t=Ru(),n=Hi(),e=Ro(),i=Mo(),o=Tr(),u=_o(),f=wi(),a=xi(),c=zu(),l=R(),s=ko().fastKey,v=on(),d=v.set,p=v.getterFor;return Au={getConstructor:function(f,a,c,v){var g=f(function(t,n){i(t,y),d(t,{type:a,index:r(null),first:null,last:null,size:0}),l||(t.size=0),o(n)||u(n,t[v],{that:t,AS_ENTRIES:c})}),y=g.prototype,h=p(a),b=function(r,t,n){var e,i,o=h(r),u=m(r,t);return u?u.value=n:(o.last=u={index:i=s(t,!0),key:t,value:n,previous:e=o.last,next:null,removed:!1},o.first||(o.first=u),e&&(e.next=u),l?o.size++:r.size++,"F"!==i&&(o.index[i]=u)),r},m=function(r,t){var n,e=h(r),i=s(t);if("F"!==i)return e.index[i];for(n=e.first;n;n=n.next)if(n.key===t)return n};return n(y,{clear:function(){for(var t=h(this),n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=null),n=n.next;t.first=t.last=null,t.index=r(null),l?t.size=0:this.size=0},delete:function(r){var t=this,n=h(t),e=m(t,r);if(e){var i=e.next,o=e.previous;delete n.index[e.index],e.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first===e&&(n.first=i),n.last===e&&(n.last=o),l?n.size--:t.size--}return!!e},forEach:function(r){for(var t,n=h(this),i=e(r,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(i(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(r){return!!m(this,r)}}),n(y,c?{get:function(r){var t=m(this,r);return t&&t.value},set:function(r,t){return b(this,0===r?0:r,t)}}:{add:function(r){return b(this,r=0===r?0:r,r)}}),l&&t(y,"size",{configurable:!0,get:function(){return h(this).size}}),g},setStrong:function(r,t,n){var e=t+" Iterator",i=p(t),o=p(e);f(r,t,function(r,t){d(this,{type:e,target:r,state:i(r),kind:t,last:null})},function(){for(var r=o(this),t=r.kind,n=r.last;n&&n.removed;)n=n.previous;return r.target&&(r.last=n=n?n.next:r.state.first)?a("keys"===t?n.key:"values"===t?n.value:[n.key,n.value],!1):(r.target=null,a(void 0,!0))},n?"entries":"values",!n,!0),c(t)}},Au}())));var Lu,Nu={};!function(){if(Lu)return Nu;Lu=1;var r=ve(),t=Ni().codeAt;r({target:"String",proto:!0},{codePointAt:function(r){return t(this,r)}})}();var Cu,_u,Mu,Fu,Du,Bu,Hu,$u,Gu,Vu,Wu,Uu={};function Ku(){if(Bu)return Du;Bu=1;var r=Ni().charAt;return Du=function(t,n,e){return n+(e?r(t,n).length:1)}}function Yu(){if($u)return Hu;$u=1;var r=Or(),t=yt(),n=Math.floor,e=r("".charAt),i=r("".replace),o=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,f=/\$([$&'`]|\d{1,2})/g;return Hu=function(r,a,c,l,s,v){var d=c+r.length,p=l.length,g=f;return void 0!==s&&(s=t(s),g=u),i(v,g,function(t,i){var u;switch(e(i,0)){case"$":return"$";case"&":return r;case"`":return o(a,0,c);case"'":return o(a,d);case"<":u=s[o(i,1,-1)];break;default:var f=+i;if(0===f)return t;if(f>p){var v=n(f/10);return 0===v?t:v<=p?void 0===l[v-1]?e(i,1):l[v-1]+e(i,1):t}u=l[f-1]}return void 0===u?"":u})}}!function(){if(Wu)return Uu;Wu=1;var r=function(){if(_u)return Cu;_u=1;var r=z(),t=Function.prototype,n=t.apply,e=t.call;return Cu="object"==typeof Reflect&&Reflect.apply||(r?e.bind(n):function(){return e.apply(n,arguments)}),Cu}(),t=L(),n=Or(),e=function(){if(Fu)return Mu;Fu=1,gu();var r=L(),t=fn(),n=pu(),e=k(),i=mt(),o=_t(),u=i("species"),f=RegExp.prototype;return Mu=function(a,c,l,s){var v=i(a),d=!e(function(){var r={};return r[v]=function(){return 7},7!==""[a](r)}),p=d&&!e(function(){var r=!1,t=/a/;if("split"===a){var n={};n[u]=function(){return t},(t={constructor:n,flags:""})[v]=/./[v]}return t.exec=function(){return r=!0,null},t[v](""),!r});if(!d||!p||l){var g=/./[v],y=c(v,""[a],function(t,e,i,o,u){var a=e.exec;return a===n||a===f.exec?d&&!u?{done:!0,value:r(g,e,i,o)}:{done:!0,value:r(t,i,e,o)}:{done:!1}});t(String.prototype,a,y[0]),t(f,v,y[1])}s&&o(f[v],"sham",!0)}}(),i=k(),o=Nt(),u=Ir(),f=kr(),a=Tn(),c=Pn(),l=Li(),s=Ar(),v=Ku(),d=Dr(),p=Yu(),g=Su(),y=function(){if(Vu)return Gu;Vu=1;var r=L(),t=Nt(),n=Ir(),e=Er(),i=pu(),o=TypeError;return Gu=function(u,f){var a=u.exec;if(n(a)){var c=r(a,u,f);return null!==c&&t(c),c}if("RegExp"===e(u))return r(i,u,f);throw new o("RegExp#exec called on incompatible receiver")}}(),h=mt()("replace"),b=Math.max,m=Math.min,w=n([].concat),x=n([].push),S=n("".indexOf),O=n("".slice),E=function(r){return void 0===r?r:String(r)},j="$0"==="a".replace(/./,"$0"),T=!!/./[h]&&""===/./[h]("a","$0");e("replace",function(n,e,i){var j=T?"$":"$0";return[function(r,n){var i=s(this),o=f(r)?d(r,h):void 0;return o?t(o,r,i,n):t(e,l(i),r,n)},function(t,n){var f=o(this),s=l(t);if("string"==typeof n&&-1===S(n,j)&&-1===S(n,"$<")){var d=i(e,f,s,n);if(d.done)return d.value}var h=u(n);h||(n=l(n));var T,A=l(g(f)),P=-1!==S(A,"g");P&&(T=-1!==S(A,"u"),f.lastIndex=0);for(var I,k=[];null!==(I=y(f,s))&&(x(k,I),P);){""===l(I[0])&&(f.lastIndex=v(s,c(f.lastIndex),T))}for(var R="",z=0,L=0;L<k.length;L++){for(var N,C=l((I=k[L])[0]),_=b(m(a(I.index),s.length),0),M=[],F=1;F<I.length;F++)x(M,E(I[F]));var D=I.groups;if(h){var B=w([C],M,_,s);void 0!==D&&x(B,D),N=l(r(n,void 0,B))}else N=p(C,s,_,M,D,n);_>=z&&(R+=O(s,z,_)+N,z=_+C.length)}return R+O(s,z)}]},!!i(function(){var r=/./;return r.exec=function(){var r=[];return r.groups={a:"7"},r},"7"!=="".replace(r,"$<a>")})||!j||T)}();var Xu,qu,Ju,Qu,Zu,rf,tf,nf={};function ef(){return qu?Xu:(qu=1,Xu="\t\n\v\f\r                 \u2028\u2029\ufeff")}!function(){if(tf)return nf;tf=1;var r=ve(),t=function(){if(Qu)return Ju;Qu=1;var r=Or(),t=Ar(),n=Li(),e=ef(),i=r("".replace),o=RegExp("^["+e+"]+"),u=RegExp("(^|[^"+e+"])["+e+"]+$"),f=function(r){return function(e){var f=n(t(e));return 1&r&&(f=i(f,o,"")),2&r&&(f=i(f,u,"$1")),f}};return Ju={start:f(1),end:f(2),trim:f(3)}}().trim,n=function(){if(rf)return Zu;rf=1;var r=Zt().PROPER,t=k(),n=ef();return Zu=function(e){return t(function(){return!!n[e]()||"​…᠎"!=="​…᠎"[e]()||r&&n[e].name!==e})}}();r({target:"String",proto:!0,forced:n("trim")},{trim:function(){return t(this)}})}();var of=new Set;function uf(r){return(r||"").trim().replace(/\s+/g,"").toLowerCase()}var ff=new Set(["rgb(0, 0, 0)","rgb(38, 38, 38)","rgb(89, 89, 89)","rgb(140, 140, 140)","rgb(191, 191, 191)","rgb(217, 217, 217)","rgb(233, 233, 233)","rgb(245, 245, 245)","rgb(250, 250, 250)","rgb(255, 255, 255)","rgb(225, 60, 57)","rgb(231, 95, 51)","rgb(235, 144, 58)","rgb(245, 219, 77)","rgb(114, 192, 64)","rgb(89, 191, 192)","rgb(66, 144, 247)","rgb(54, 88, 226)","rgb(106, 57, 201)","rgb(216, 68, 147)","rgb(251, 233, 230)","rgb(252, 237, 225)","rgb(252, 239, 212)","rgb(252, 251, 207)","rgb(231, 246, 213)","rgb(218, 244, 240)","rgb(217, 237, 250)","rgb(224, 232, 250)","rgb(237, 225, 248)","rgb(246, 226, 234)","rgb(255, 163, 158)","rgb(255, 187, 150)","rgb(255, 213, 145)","rgb(255, 251, 143)","rgb(183, 235, 143)","rgb(135, 232, 222)","rgb(145, 213, 255)","rgb(173, 198, 255)","rgb(211, 173, 247)","rgb(255, 173, 210)","rgb(255, 77, 79)","rgb(255, 122, 69)","rgb(255, 169, 64)","rgb(255, 236, 61)","rgb(115, 209, 61)","rgb(54, 207, 201)","rgb(64, 169, 255)","rgb(89, 126, 247)","rgb(146, 84, 222)","rgb(247, 89, 171)","rgb(207, 19, 34)","rgb(212, 56, 13)","rgb(212, 107, 8)","rgb(212, 177, 6)","rgb(56, 158, 13)","rgb(8, 151, 156)","rgb(9, 109, 217)","rgb(29, 57, 196)","rgb(83, 29, 171)","rgb(196, 29, 127)","rgb(130, 0, 20)","rgb(135, 20, 0)","rgb(135, 56, 0)","rgb(97, 71, 0)","rgb(19, 82, 0)","rgb(0, 71, 79)","rgb(0, 58, 140)","rgb(6, 17, 120)","rgb(34, 7, 94)","rgb(120, 6, 80)"].map(function(r){return uf(r)}));function af(r){var t=uf(r);return"w-e-list-color-".concat(function(r){var t,n,e=7;try{for(var i=Ee(r),o=i.next();!o.done;o=i.next())e=(31*e+(o.value.codePointAt(0)||0))%2147483647}catch(r){t={error:r}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return e.toString(36)}("color:".concat(t)))}function cf(r,t){var n=uf(t);return!!n&&(!!ff.has(n)||!!function(r,t){for(var n,e=(null===(n=null==r?void 0:r.getConfig().styleClassTokens)||void 0===n?void 0:n.color)||[],i=uf(t),o=0;o<e.length;o+=1)if(uf(e[o])===i)return!0;return!1}(r,t))}var lf=[];var sf,vf={type:"list-item",elemToHtml:function(r,o,u){var c="",l="",s=r.ordered,v=void 0!==s&&s?"ol":"ul",d=function(r){var n=Xo.get(r);if(null==n)return 0;var e=r,i=e.type,o=e.ordered,u=void 0!==o&&o,c=e.level,l=void 0===c?0:c,s=t.findPath(n,r);if(0===s[0])return l+1;var v=f.previous(s),d=a.node(n,v);if(!d)return 0;var p=je(d,1)[0];if(t.getNodeType(p)!==i)return l+1;var g=p,y=g.ordered,h=void 0!==y&&y,b=g.level,m=void 0===b?0:b;return m<l?l-m:m>l?Qo(n,r)?0:1:m===l?h===u?0:1:0}(r);if(d>0)for(var p=0;p<d;p+=1)c+="<".concat(v,">"),lf.push(v);var g=function(r){var n=Xo.get(r);if(null==n)return 0;var e=r,i=e.type,o=e.ordered,u=void 0!==o&&o,c=e.level,l=void 0===c?0:c,s=t.findPath(n,r);if(s[0]===n.children.length-1)return l+1;var v=f.next(s),d=a.node(n,v);if(!d)return 0;var p=je(d,1)[0];if(t.getNodeType(p)!==i)return l+1;var g=p,y=g.ordered,h=void 0!==y&&y,b=g.level,m=void 0===b?0:b;return m<l?Qo(n,p)?l-m:l-m+1:m>l?0:m===l?h===u?0:1:0}(r);if(g>0)for(p=0;p<g;p+=1){var y=lf.pop();l+="</".concat(y,">")}var h=qo(r),b=i(u),m="",w="",x="";if(h)if("class"===b){x=' data-w-e-color="'.concat(h,'"');var S=function(r,t){if(cf(r,t))return"class";var i=n(r),o="preserve-data";"fallback-inline"===i&&(o="inline"),"strict"===i&&(o="throw");var u="[wangeditor] Unsupported list color class token color=".concat(t,". policy=").concat(i),f="".concat(t,"|").concat(o);if(of.has(f)||(of.add(f),e(r,{type:"color",value:t,scene:"toHtml",fallback:o,message:u})),"throw"===o)throw new Error(u);return"inline"===o?"inline":"preserve-data"}(u,h);"class"===S?w=' class="'.concat(af(h),'"'):"inline"===S&&(m=' style="color:'.concat(h,'"'))}else m=' style="color:'.concat(h,'"');return{html:"<li".concat(w).concat(x).concat(m,">").concat(o,"</li>"),prefix:c,suffix:l}}},df={};!function(){if(sf)return df;sf=1;var r=ve(),t=kn().includes,n=k(),e=vi();r({target:"Array",proto:!0,forced:n(function(){return!Array(1).includes()})},{includes:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)}}),e("includes")}();var pf,gf=function(){function r(){this.type="list-item",this.tag="button"}return r.prototype.getListNode=function(r){var n=this.type;return t.getSelectedNodeByType(r,n)},r.prototype.getValue=function(r){return""},r.prototype.isActive=function(r){var t=this.getListNode(r);if(null==t)return!1;var n=t.ordered;return(void 0!==n&&n)===this.ordered},r.prototype.isDisabled=function(r){return null==r.selection||!!t.getSelectedElems(r).some(function(t){if(a.isVoid(r,t)&&a.isBlock(r,t))return!0;var n=t.type;return!!["pre","code","table"].includes(n)})},r.prototype.exec=function(r,t){this.isActive(r)?c.setNodes(r,{type:"paragraph",ordered:void 0,level:void 0}):c.setNodes(r,{type:"list-item",ordered:this.ordered,indent:void 0})},r}(),yf=function(r){function t(){var t=r.apply(this,Te([],je(arguments),!1))||this;return t.ordered=!1,t.title=o("listModule.unOrderedList"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M384 64h640v128H384V64z m0 384h640v128H384v-128z m0 384h640v128H384v-128zM0 128a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z"></path></svg>',t}return Oe(t,r),t}(gf),hf=function(r){function t(){var t=r.apply(this,Te([],je(arguments),!1))||this;return t.ordered=!0,t.title=o("listModule.orderedList"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M384 832h640v128H384z m0-384h640v128H384z m0-384h640v128H384zM192 0v256H128V64H64V0zM128 526.016v50.016h128v64H64v-146.016l128-60V384H64v-64h192v146.016zM256 704v320H64v-64h128v-64H64v-64h128v-64H64v-64z"></path></svg>',t}return Oe(t,r),t}(gf),bf={key:"bulletedList",factory:function(){return new yf}},mf={key:"numberedList",factory:function(){return new hf}},wf={};!function(){if(pf)return wf;pf=1;var r=ve(),t=Ho().filter;r({target:"Array",proto:!0,forced:!xe()("filter")},{filter:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)}})}();var xf,Sf,Of,Ef={};!function(){if(Of)return Ef;Of=1;var r=ve(),t=function(){if(Sf)return xf;Sf=1;var r=de(),t=In(),n=pe(),e=Ro(),i=function(o,u,f,a,c,l,s,v){for(var d,p,g=c,y=0,h=!!s&&e(s,v);y<a;)y in f&&(d=h?h(f[y],y,u):f[y],l>0&&r(d)?(p=t(d),g=i(o,u,d,p,g,l-1)-1):(n(g+1),o[g]=d),g++),y++;return g};return xf=i}(),n=yt(),e=In(),i=Tn(),o=we();r({target:"Array",proto:!0},{flat:function(){var r=arguments.length?arguments[0]:void 0,u=n(this),f=e(u),a=o(u,0);return a.length=t(a,u,u,f,0,void 0===r?1:i(r)),a}})}();var jf;jf||(jf=1,vi()("flat"));var Tf,Af,Pf={};function If(r){return r.length?r[0].tagName.toLowerCase():""}function kf(r){return a.nodes(r,{at:r.selection||void 0,match:function(n){return 1===t.findPath(r,n).length}})}Af||(Af=1,function(){if(Tf)return Pf;Tf=1;var r=ve(),t=w();r({global:!0,forced:t.globalThis!==t},{globalThis:t})}()),v&&(s.fn.append=v),d&&(s.fn.attr=d),p&&(s.fn.parent=p);var Rf={renderElems:[{type:"list-item",renderElem:function(r,n,e){Xo.set(r,e);var i=r,o=i.level,u=void 0===o?0:o,c=i.ordered,l=void 0!==c&&c,s={margin:"5px 0 5px ".concat(20*u,"px"),display:"flex",alignItems:"flex-start"},v="";if(l){var d=function(r,n){var e=n,i=e.type,o=e.level,u=void 0===o?0:o,c=e.ordered,l=void 0!==c&&c,s=1,v=n,d=t.findPath(r,v);if(0===d[0])return 1;for(;d[0]>0;){var p=f.previous(d),g=a.node(r,p);if(null==g)break;var y=g[0],h=y.level,b=void 0===h?0:h,m=y.type,w=y.ordered;if(m!==i)break;if(b<u)break;if(b===u){if(w!==l)break;s+=1}v=y,d=p}return s}(e,r);v="".concat(d,".")}else v=function(r){void 0===r&&(r=0);var t="";switch(r){case 0:t="•";break;case 1:t="◦";break;default:t="▪"}return t}(u);var p=qo(r);return g("div",{style:s},g("span",{contentEditable:!1,style:{marginRight:"0.5em",color:p},"data-w-e-reserve":!0},v),g("span",{style:{flex:"1",wordBreak:"break-word"}},n))}}],editorPlugin:function(r){var n=r.deleteBackward,e=r.handleTab,i=r.normalizeNode,o=r.insertBreak,u=r;return u.insertBreak=function(){var n=je(a.nodes(r,{match:function(r){return t.checkNodeType(r,"list-item")},universal:!0}),1)[0];return n?""!==n[0].children[0].text?o():void c.setNodes(u,{type:"paragraph",ordered:void 0,level:void 0}):o()},u.deleteBackward=function(e){var i=u.selection;if(null!=i)if(l.isExpanded(i))n(e);else{var o=t.getSelectedNodeByType(u,"list-item");if(null!=o)if(0!==i.focus.offset)n(e);else{var f=o,a=f.level,s=void 0===a?0:a,v=f.ordered,d=void 0!==v&&v;if(s>0){var p=Jo(r,o,s-1);p&&p.ordered!==d?c.setNodes(u,{level:s-1,ordered:!d}):c.setNodes(u,{level:s-1})}else c.setNodes(u,{type:"paragraph",ordered:void 0,level:void 0})}else n(e)}else n(e)},u.handleTab=function(){var r,n,i,o,f=u.selection;if(null!=f){if(l.isCollapsed(f)){var a=t.getSelectedNodeByType(u,"list-item");if(null==a)return void e();if(0===f.focus.offset){var s=a.level,v=void 0===s?0:s;return void c.setNodes(u,{level:v+1})}}if(l.isExpanded(f)){var d=0,p=!1;try{for(var g=Ee(kf(u)),y=g.next();!y.done;y=g.next()){var h=je(y.value,1)[0];"list-item"===t.getNodeType(h)?d+=1:p=!0}}catch(t){r={error:t}}finally{try{y&&!y.done&&(n=g.return)&&n.call(g)}finally{if(r)throw r.error}}if(p||d<=1)return void e();try{for(var b=Ee(kf(u)),m=b.next();!m.done;m=b.next()){var w=je(m.value,2),x=(h=w[0],w[1]),S=h.level;v=void 0===S?0:S;c.setNodes(u,{level:v+1},{at:x})}}catch(r){i={error:r}}finally{try{m&&!m.done&&(o=b.return)&&o.call(b)}finally{if(i)throw i.error}}}else e()}else e()},u.normalizeNode=function(r){var n=je(r,2),e=n[0],o=n[1],f=t.getNodeType(e);return"bulleted-list"!==f&&"numbered-list"!==f||c.unwrapNodes(u,{at:o}),i([e,o])},u},menus:[bf,mf],elemsToHtml:[vf],parseElemsHtml:[{selector:"ul:not([data-w-e-type]),ol:not([data-w-e-type])",parseElemHtml:function(r,t,n){return t.flat(1/0)}},{selector:"li:not([data-w-e-type])",parseElemHtml:function(r,t,n){var e=s(r);0===(t=t.filter(function(r){return!!u.isText(r)||!!n.isInline(r)})).length&&(t=[{text:e.text().replace(/\s+/gm," ")}]);var i=function(r){return"ol"===If(r.parent())}(e),o=function(r){for(var t=0,n=r.parent(),e=If(n);"ul"===e||"ol"===e;)e=If(n=n.parent()),t+=1;return t-1}(e);return{type:"list-item",ordered:i,level:o,children:t}}}]};export{Rf as default};
2
2
  //# sourceMappingURL=index.mjs.map