@wangeditor-next/yjs
Version:
Yjs binding for wangeditor-next.
1 lines • 70.9 kB
JavaScript
import*as t from"yjs";import{Text as r,Node as n,Element as e,Path as i,Editor as o,Transforms as u}from"slate";var a,c,f="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},s={};function l(){if(c)return a;c=1;var t=function(t){return t&&t.Math===Math&&t};return a=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof f&&f)||t("object"==typeof a&&a)||function(){return this}()||Function("return this")()}var v,d,p,h,g,y,b,m,w={};function O(){return d?v:(d=1,v=function(t){try{return!!t()}catch(t){return!0}})}function S(){if(h)return p;h=1;var t=O();return p=!t(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function x(){if(y)return g;y=1;var t=O();return g=!t(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})}function E(){if(m)return b;m=1;var t=x(),r=Function.prototype.call;return b=t?r.bind(r):function(){return r.apply(r,arguments)},b}var j,T,P,R,A,k,C,L,F,_,D,M,I,z,N,W,X,G,B,U,Y,V,$,q,H,J,K,Q,Z,tt,rt,nt,et,it,ot,ut,at,ct,ft,st,lt,vt={};function dt(){if(j)return vt;j=1;var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);return vt.f=n?function(t){var n=r(this,t);return!!n&&n.enumerable}:t,vt}function pt(){return P?T:(P=1,T=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}})}function ht(){if(A)return R;A=1;var t=x(),r=Function.prototype,n=r.call,e=t&&r.bind.bind(n,n);return R=t?e:function(t){return function(){return n.apply(t,arguments)}},R}function gt(){if(C)return k;C=1;var t=ht(),r=t({}.toString),n=t("".slice);return k=function(t){return n(r(t),8,-1)}}function yt(){if(F)return L;F=1;var t=ht(),r=O(),n=gt(),e=Object,i=t("".split);return L=r(function(){return!e("z").propertyIsEnumerable(0)})?function(t){return"String"===n(t)?i(t,""):e(t)}:e}function bt(){return D?_:(D=1,_=function(t){return null==t})}function mt(){if(I)return M;I=1;var t=bt(),r=TypeError;return M=function(n){if(t(n))throw new r("Can't call method on "+n);return n}}function wt(){if(N)return z;N=1;var t=yt(),r=mt();return z=function(n){return t(r(n))}}function Ot(){if(X)return W;X=1;var t="object"==typeof document&&document.all;return W=void 0===t&&void 0!==t?function(r){return"function"==typeof r||r===t}:function(t){return"function"==typeof t}}function St(){if(B)return G;B=1;var t=Ot();return G=function(r){return"object"==typeof r?null!==r:t(r)}}function xt(){if(Y)return U;Y=1;var t=l(),r=Ot();return U=function(n,e){return arguments.length<2?(i=t[n],r(i)?i:void 0):t[n]&&t[n][e];var i},U}function Et(){if($)return V;$=1;var t=ht();return V=t({}.isPrototypeOf)}function jt(){if(K)return J;K=1;var t,r,n=l(),e=function(){if(H)return q;H=1;var t=l().navigator,r=t&&t.userAgent;return q=r?String(r):""}(),i=n.process,o=n.Deno,u=i&&i.versions||o&&o.version,a=u&&u.v8;return a&&(r=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!r&&e&&(!(t=e.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=e.match(/Chrome\/(\d+)/))&&(r=+t[1]),J=r}function Tt(){if(Z)return Q;Z=1;var t=jt(),r=O(),n=l().String;return Q=!!Object.getOwnPropertySymbols&&!r(function(){var r=Symbol("symbol detection");return!n(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function Pt(){if(rt)return tt;rt=1;var t=Tt();return tt=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Rt(){if(et)return nt;et=1;var t=xt(),r=Ot(),n=Et(),e=Pt(),i=Object;return nt=e?function(t){return"symbol"==typeof t}:function(e){var o=t("Symbol");return r(o)&&n(o.prototype,i(e))}}function At(){if(ot)return it;ot=1;var t=String;return it=function(r){try{return t(r)}catch(t){return"Object"}}}function kt(){if(at)return ut;at=1;var t=Ot(),r=At(),n=TypeError;return ut=function(e){if(t(e))return e;throw new n(r(e)+" is not a function")}}function Ct(){if(ft)return ct;ft=1;var t=kt(),r=bt();return ct=function(n,e){var i=n[e];return r(i)?void 0:t(i)}}function Lt(){if(lt)return st;lt=1;var t=E(),r=Ot(),n=St(),e=TypeError;return st=function(i,o){var u,a;if("string"===o&&r(u=i.toString)&&!n(a=t(u,i)))return a;if(r(u=i.valueOf)&&!n(a=t(u,i)))return a;if("string"!==o&&r(u=i.toString)&&!n(a=t(u,i)))return a;throw new e("Can't convert object to primitive value")}}var Ft,_t,Dt,Mt,It,zt,Nt,Wt,Xt,Gt,Bt,Ut,Yt,Vt,$t,qt,Ht,Jt,Kt,Qt,Zt,tr,rr,nr,er={exports:{}};function ir(){return _t?Ft:(_t=1,Ft=!1)}function or(){if(Mt)return Dt;Mt=1;var t=l(),r=Object.defineProperty;return Dt=function(n,e){try{r(t,n,{value:e,configurable:!0,writable:!0})}catch(r){t[n]=e}return e}}function ur(){if(It)return er.exports;It=1;var t=ir(),r=l(),n=or(),e="__core-js_shared__",i=er.exports=r[e]||n(e,{});return(i.versions||(i.versions=[])).push({version:"3.45.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.45.0/LICENSE",source:"https://github.com/zloirock/core-js"}),er.exports}function ar(){if(Nt)return zt;Nt=1;var t=ur();return zt=function(r,n){return t[r]||(t[r]=n||{})}}function cr(){if(Xt)return Wt;Xt=1;var t=mt(),r=Object;return Wt=function(n){return r(t(n))}}function fr(){if(Bt)return Gt;Bt=1;var t=ht(),r=cr(),n=t({}.hasOwnProperty);return Gt=Object.hasOwn||function(t,e){return n(r(t),e)}}function sr(){if(Yt)return Ut;Yt=1;var t=ht(),r=0,n=Math.random(),e=t(1.1.toString);return Ut=function(t){return"Symbol("+(void 0===t?"":t)+")_"+e(++r+n,36)}}function lr(){if($t)return Vt;$t=1;var t=l(),r=ar(),n=fr(),e=sr(),i=Tt(),o=Pt(),u=t.Symbol,a=r("wks"),c=o?u.for||u:u&&u.withoutSetter||e;return Vt=function(t){return n(a,t)||(a[t]=i&&n(u,t)?u[t]:c("Symbol."+t)),a[t]}}function vr(){if(Ht)return qt;Ht=1;var t=E(),r=St(),n=Rt(),e=Ct(),i=Lt(),o=lr(),u=TypeError,a=o("toPrimitive");return qt=function(o,c){if(!r(o)||n(o))return o;var f,s=e(o,a);if(s){if(void 0===c&&(c="default"),f=t(s,o,c),!r(f)||n(f))return f;throw new u("Can't convert object to primitive value")}return void 0===c&&(c="number"),i(o,c)}}function dr(){if(Kt)return Jt;Kt=1;var t=vr(),r=Rt();return Jt=function(n){var e=t(n,"string");return r(e)?e:e+""}}function pr(){if(Zt)return Qt;Zt=1;var t=l(),r=St(),n=t.document,e=r(n)&&r(n.createElement);return Qt=function(t){return e?n.createElement(t):{}}}function hr(){if(rr)return tr;rr=1;var t=S(),r=O(),n=pr();return tr=!t&&!r(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function gr(){if(nr)return w;nr=1;var t=S(),r=E(),n=dt(),e=pt(),i=wt(),o=dr(),u=fr(),a=hr(),c=Object.getOwnPropertyDescriptor;return w.f=t?c:function(t,f){if(t=i(t),f=o(f),a)try{return c(t,f)}catch(t){}if(u(t,f))return e(!r(n.f,t,f),t[f])},w}var yr,br,mr,wr,Or,Sr,xr,Er={};function jr(){if(br)return yr;br=1;var t=S(),r=O();return yr=t&&r(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function Tr(){if(wr)return mr;wr=1;var t=St(),r=String,n=TypeError;return mr=function(e){if(t(e))return e;throw new n(r(e)+" is not an object")}}function Pr(){if(Or)return Er;Or=1;var t=S(),r=hr(),n=jr(),e=Tr(),i=dr(),o=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,c="enumerable",f="configurable",s="writable";return Er.f=t?n?function(t,r,n){if(e(t),r=i(r),e(n),"function"==typeof t&&"prototype"===r&&"value"in n&&s in n&&!n[s]){var o=a(t,r);o&&o[s]&&(t[r]=n.value,n={configurable:f in n?n[f]:o[f],enumerable:c in n?n[c]:o[c],writable:!1})}return u(t,r,n)}:u:function(t,n,a){if(e(t),n=i(n),e(a),r)try{return u(t,n,a)}catch(t){}if("get"in a||"set"in a)throw new o("Accessors not supported");return"value"in a&&(t[n]=a.value),t},Er}function Rr(){if(xr)return Sr;xr=1;var t=S(),r=Pr(),n=pt();return Sr=t?function(t,e,i){return r.f(t,e,n(1,i))}:function(t,r,n){return t[r]=n,t}}var Ar,kr,Cr,Lr,Fr,_r,Dr,Mr,Ir,zr,Nr,Wr,Xr,Gr,Br,Ur={exports:{}};function Yr(){if(kr)return Ar;kr=1;var t=S(),r=fr(),n=Function.prototype,e=t&&Object.getOwnPropertyDescriptor,i=r(n,"name"),o=i&&"something"===function(){}.name,u=i&&(!t||t&&e(n,"name").configurable);return Ar={EXISTS:i,PROPER:o,CONFIGURABLE:u}}function Vr(){if(Lr)return Cr;Lr=1;var t=ht(),r=Ot(),n=ur(),e=t(Function.toString);return r(n.inspectSource)||(n.inspectSource=function(t){return e(t)}),Cr=n.inspectSource}function $r(){if(_r)return Fr;_r=1;var t=l(),r=Ot(),n=t.WeakMap;return Fr=r(n)&&/native code/.test(String(n))}function qr(){if(Mr)return Dr;Mr=1;var t=ar(),r=sr(),n=t("keys");return Dr=function(t){return n[t]||(n[t]=r(t))}}function Hr(){return zr?Ir:(zr=1,Ir={})}function Jr(){if(Wr)return Nr;Wr=1;var t,r,n,e=$r(),i=l(),o=St(),u=Rr(),a=fr(),c=ur(),f=qr(),s=Hr(),v="Object already initialized",d=i.TypeError,p=i.WeakMap;if(e||c.state){var h=c.state||(c.state=new p);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,r){if(h.has(t))throw new d(v);return r.facade=t,h.set(t,r),r},r=function(t){return h.get(t)||{}},n=function(t){return h.has(t)}}else{var g=f("state");s[g]=!0,t=function(t,r){if(a(t,g))throw new d(v);return r.facade=t,u(t,g,r),r},r=function(t){return a(t,g)?t[g]:{}},n=function(t){return a(t,g)}}return Nr={set:t,get:r,has:n,enforce:function(e){return n(e)?r(e):t(e,{})},getterFor:function(t){return function(n){var e;if(!o(n)||(e=r(n)).type!==t)throw new d("Incompatible receiver, "+t+" required");return e}}}}function Kr(){if(Xr)return Ur.exports;Xr=1;var t=ht(),r=O(),n=Ot(),e=fr(),i=S(),o=Yr().CONFIGURABLE,u=Vr(),a=Jr(),c=a.enforce,f=a.get,s=String,l=Object.defineProperty,v=t("".slice),d=t("".replace),p=t([].join),h=i&&!r(function(){return 8!==l(function(){},"length",{value:8}).length}),g=String(String).split("String"),y=Ur.exports=function(t,r,n){"Symbol("===v(s(r),0,7)&&(r="["+d(s(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(r="get "+r),n&&n.setter&&(r="set "+r),(!e(t,"name")||o&&t.name!==r)&&(i?l(t,"name",{value:r,configurable:!0}):t.name=r),h&&n&&e(n,"arity")&&t.length!==n.arity&&l(t,"length",{value:n.arity});try{n&&e(n,"constructor")&&n.constructor?i&&l(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=c(t);return e(u,"source")||(u.source=p(g,"string"==typeof r?r:"")),t};return Function.prototype.toString=y(function(){return n(this)&&f(this).source||u(this)},"toString"),Ur.exports}function Qr(){if(Br)return Gr;Br=1;var t=Ot(),r=Pr(),n=Kr(),e=or();return Gr=function(i,o,u,a){a||(a={});var c=a.enumerable,f=void 0!==a.name?a.name:o;if(t(u)&&n(u,f,a),a.global)c?i[o]=u:e(o,u);else{try{a.unsafe?i[o]&&(c=!0):delete i[o]}catch(t){}c?i[o]=u:r.f(i,o,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return i}}var Zr,tn,rn,nn,en,on,un,an,cn,fn,sn,ln,vn,dn,pn,hn,gn,yn={};function bn(){if(nn)return rn;nn=1;var t=function(){if(tn)return Zr;tn=1;var t=Math.ceil,r=Math.floor;return Zr=Math.trunc||function(n){var e=+n;return(e>0?r:t)(e)}}();return rn=function(r){var n=+r;return n!=n||0===n?0:t(n)}}function mn(){if(on)return en;on=1;var t=bn(),r=Math.max,n=Math.min;return en=function(e,i){var o=t(e);return o<0?r(o+i,0):n(o,i)}}function wn(){if(an)return un;an=1;var t=bn(),r=Math.min;return un=function(n){var e=t(n);return e>0?r(e,9007199254740991):0}}function On(){if(fn)return cn;fn=1;var t=wn();return cn=function(r){return t(r.length)}}function Sn(){if(ln)return sn;ln=1;var t=wt(),r=mn(),n=On(),e=function(e){return function(i,o,u){var a=t(i),c=n(a);if(0===c)return!e&&-1;var f,s=r(u,c);if(e&&o!=o){for(;c>s;)if((f=a[s++])!=f)return!0}else for(;c>s;s++)if((e||s in a)&&a[s]===o)return e||s||0;return!e&&-1}};return sn={includes:e(!0),indexOf:e(!1)}}function xn(){if(dn)return vn;dn=1;var t=ht(),r=fr(),n=wt(),e=Sn().indexOf,i=Hr(),o=t([].push);return vn=function(t,u){var a,c=n(t),f=0,s=[];for(a in c)!r(i,a)&&r(c,a)&&o(s,a);for(;u.length>f;)r(c,a=u[f++])&&(~e(s,a)||o(s,a));return s}}function En(){return hn?pn:(hn=1,pn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function jn(){if(gn)return yn;gn=1;var t=xn(),r=En().concat("length","prototype");return yn.f=Object.getOwnPropertyNames||function(n){return t(n,r)},yn}var Tn,Pn,Rn,An,kn,Cn,Ln,Fn,_n,Dn,Mn,In,zn,Nn,Wn,Xn,Gn,Bn,Un,Yn,Vn,$n,qn,Hn,Jn,Kn,Qn,Zn,te,re,ne={};function ee(){return Tn||(Tn=1,ne.f=Object.getOwnPropertySymbols),ne}function ie(){if(Rn)return Pn;Rn=1;var t=xt(),r=ht(),n=jn(),e=ee(),i=Tr(),o=r([].concat);return Pn=t("Reflect","ownKeys")||function(t){var r=n.f(i(t)),u=e.f;return u?o(r,u(t)):r}}function oe(){if(kn)return An;kn=1;var t=fr(),r=ie(),n=gr(),e=Pr();return An=function(i,o,u){for(var a=r(o),c=e.f,f=n.f,s=0;s<a.length;s++){var l=a[s];t(i,l)||u&&t(u,l)||c(i,l,f(o,l))}}}function ue(){if(Ln)return Cn;Ln=1;var t=O(),r=Ot(),n=/#|\.prototype\./,e=function(n,e){var c=o[i(n)];return c===a||c!==u&&(r(e)?t(e):!!e)},i=e.normalize=function(t){return String(t).replace(n,".").toLowerCase()},o=e.data={},u=e.NATIVE="N",a=e.POLYFILL="P";return Cn=e}function ae(){if(_n)return Fn;_n=1;var t=l(),r=gr().f,n=Rr(),e=Qr(),i=or(),o=oe(),u=ue();return Fn=function(a,c){var f,s,l,v,d,p=a.target,h=a.global,g=a.stat;if(f=h?t:g?t[p]||i(p,{}):t[p]&&t[p].prototype)for(s in c){if(v=c[s],l=a.dontCallGetSet?(d=r(f,s))&&d.value:f[s],!u(h?s:p+(g?".":"#")+s,a.forced)&&void 0!==l){if(typeof v==typeof l)continue;o(v,l)}(a.sham||l&&l.sham)&&n(v,"sham",!0),e(f,s,v,a)}}}function ce(){if(Mn)return Dn;Mn=1;var t=gt(),r=ht();return Dn=function(n){if("Function"===t(n))return r(n)}}function fe(){if(zn)return In;zn=1;var t=ce(),r=kt(),n=x(),e=t(t.bind);return In=function(t,i){return r(t),void 0===i?t:n?e(t,i):function(){return t.apply(i,arguments)}},In}function se(){if(Wn)return Nn;Wn=1;var t=gt();return Nn=Array.isArray||function(r){return"Array"===t(r)}}function le(){if(Gn)return Xn;Gn=1;var t={};return t[lr()("toStringTag")]="z",Xn="[object z]"===String(t)}function ve(){if(Un)return Bn;Un=1;var t=le(),r=Ot(),n=gt(),e=lr()("toStringTag"),i=Object,o="Arguments"===n(function(){return arguments}());return Bn=t?n:function(t){var u,a,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,r){try{return t[r]}catch(t){}}(u=i(t),e))?a:o?n(u):"Object"===(c=n(u))&&r(u.callee)?"Arguments":c}}function de(){if(Vn)return Yn;Vn=1;var t=ht(),r=O(),n=Ot(),e=ve(),i=xt(),o=Vr(),u=function(){},a=i("Reflect","construct"),c=/^\s*(?:class|function)\b/,f=t(c.exec),s=!c.test(u),l=function(t){if(!n(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},v=function(t){if(!n(t))return!1;switch(e(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return s||!!f(c,o(t))}catch(t){return!0}};return v.sham=!0,Yn=!a||r(function(){var t;return l(l.call)||!l(Object)||!l(function(){t=!0})||t})?v:l}function pe(){if(qn)return $n;qn=1;var t=se(),r=de(),n=St(),e=lr()("species"),i=Array;return $n=function(o){var u;return t(o)&&(u=o.constructor,(r(u)&&(u===i||t(u.prototype))||n(u)&&null===(u=u[e]))&&(u=void 0)),void 0===u?i:u}}function he(){if(Jn)return Hn;Jn=1;var t=pe();return Hn=function(r,n){return new(t(r))(0===n?0:n)}}function ge(){if(Qn)return Kn;Qn=1;var t=fe(),r=ht(),n=yt(),e=cr(),i=On(),o=he(),u=r([].push),a=function(r){var a=1===r,c=2===r,f=3===r,s=4===r,l=6===r,v=7===r,d=5===r||l;return function(p,h,g,y){for(var b,m,w=e(p),O=n(w),S=i(O),x=t(h,g),E=0,j=y||o,T=a?j(p,S):c||v?j(p,0):void 0;S>E;E++)if((d||E in O)&&(m=x(b=O[E],E,w),r))if(a)T[E]=m;else if(m)switch(r){case 3:return!0;case 5:return b;case 6:return E;case 2:u(T,b)}else switch(r){case 4:return!1;case 7:u(T,b)}return l?-1:f||s?s:T}};return Kn={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}function ye(){if(te)return Zn;te=1;var t=O(),r=lr(),n=jt(),e=r("species");return Zn=function(r){return n>=51||!t(function(){var t=[];return(t.constructor={})[e]=function(){return{foo:1}},1!==t[r](Boolean).foo})}}!function(){if(re)return s;re=1;var t=ae(),r=ge().filter;t({target:"Array",proto:!0,forced:!ye()("filter")},{filter:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})}();var be,me,we,Oe,Se,xe,Ee,je,Te,Pe,Re,Ae,ke,Ce,Le,Fe,_e,De,Me,Ie={};function ze(){if(me)return be;me=1;var t=E(),r=Tr(),n=Ct();return be=function(e,i,o){var u,a;r(e);try{if(!(u=n(e,"return"))){if("throw"===i)throw o;return o}u=t(u,e)}catch(t){a=!0,u=t}if("throw"===i)throw o;if(a)throw u;return r(u),o}}function Ne(){if(Oe)return we;Oe=1;var t=Tr(),r=ze();return we=function(n,e,i,o){try{return o?e(t(i)[0],i[1]):e(i)}catch(t){r(n,"throw",t)}}}function We(){return xe?Se:(xe=1,Se={})}function Xe(){if(je)return Ee;je=1;var t=lr(),r=We(),n=t("iterator"),e=Array.prototype;return Ee=function(t){return void 0!==t&&(r.Array===t||e[n]===t)}}function Ge(){if(Pe)return Te;Pe=1;var t=S(),r=Pr(),n=pt();return Te=function(e,i,o){t?r.f(e,i,n(0,o)):e[i]=o}}function Be(){if(Ae)return Re;Ae=1;var t=ve(),r=Ct(),n=bt(),e=We(),i=lr()("iterator");return Re=function(o){if(!n(o))return r(o,i)||r(o,"@@iterator")||e[t(o)]}}function Ue(){if(Ce)return ke;Ce=1;var t=E(),r=kt(),n=Tr(),e=At(),i=Be(),o=TypeError;return ke=function(u,a){var c=arguments.length<2?i(u):a;if(r(c))return n(t(c,u));throw new o(e(u)+" is not iterable")},ke}function Ye(){if(De)return _e;De=1;var t=lr()("iterator"),r=!1;try{var n=0,e={next:function(){return{done:!!n++}},return:function(){r=!0}};e[t]=function(){return this},Array.from(e,function(){throw 2})}catch(t){}return _e=function(n,e){try{if(!e&&!r)return!1}catch(t){return!1}var i=!1;try{var o={};o[t]=function(){return{next:function(){return{done:i=!0}}}},n(o)}catch(t){}return i}}!function(){if(Me)return Ie;Me=1;var t=ae(),r=function(){if(Fe)return Le;Fe=1;var t=fe(),r=E(),n=cr(),e=Ne(),i=Xe(),o=de(),u=On(),a=Ge(),c=Ue(),f=Be(),s=Array;return Le=function(l){var v=n(l),d=o(this),p=arguments.length,h=p>1?arguments[1]:void 0,g=void 0!==h;g&&(h=t(h,p>2?arguments[2]:void 0));var y,b,m,w,O,S,x=f(v),E=0;if(!x||this===s&&i(x))for(y=u(v),b=d?new this(y):s(y);y>E;E++)S=g?h(v[E],E):v[E],a(b,E,S);else for(b=d?new this:[],O=(w=c(v,x)).next;!(m=r(O,w)).done;E++)S=g?e(w,h,[m.value,E],!0):m.value,a(b,E,S);return b.length=E,b},Le}();t({target:"Array",stat:!0,forced:!Ye()(function(t){Array.from(t)})},{from:r})}();var Ve,$e,qe,He,Je,Ke,Qe,Ze,ti,ri,ni,ei,ii,oi,ui,ai,ci,fi,si,li,vi,di,pi,hi,gi,yi,bi,mi,wi,Oi,Si,xi,Ei,ji={};function Ti(){if($e)return Ve;$e=1;var t=xn(),r=En();return Ve=Object.keys||function(n){return t(n,r)}}function Pi(){if(qe)return ji;qe=1;var t=S(),r=jr(),n=Pr(),e=Tr(),i=wt(),o=Ti();return ji.f=t&&!r?Object.defineProperties:function(t,r){e(t);for(var u,a=i(r),c=o(r),f=c.length,s=0;f>s;)n.f(t,u=c[s++],a[u]);return t},ji}function Ri(){if(Je)return He;Je=1;var t=xt();return He=t("document","documentElement")}function Ai(){if(Qe)return Ke;Qe=1;var t,r=Tr(),n=Pi(),e=En(),i=Hr(),o=Ri(),u=pr(),a=qr(),c="prototype",f="script",s=a("IE_PROTO"),l=function(){},v=function(t){return"<"+f+">"+t+"</"+f+">"},d=function(t){t.write(v("")),t.close();var r=t.parentWindow.Object;return t=null,r},p=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var r,n,i;p="undefined"!=typeof document?document.domain&&t?d(t):(n=u("iframe"),i="java"+f+":",n.style.display="none",o.appendChild(n),n.src=String(i),(r=n.contentWindow.document).open(),r.write(v("document.F=Object")),r.close(),r.F):d(t);for(var a=e.length;a--;)delete p[c][e[a]];return p()};return i[s]=!0,Ke=Object.create||function(t,e){var i;return null!==t?(l[c]=r(t),i=new l,l[c]=null,i[s]=t):i=p(),void 0===e?i:n.f(i,e)}}function ki(){if(ti)return Ze;ti=1;var t=lr(),r=Ai(),n=Pr().f,e=t("unscopables"),i=Array.prototype;return void 0===i[e]&&n(i,e,{configurable:!0,value:r(null)}),Ze=function(t){i[e][t]=!0}}function Ci(){if(ii)return ei;ii=1;var t=fr(),r=Ot(),n=cr(),e=qr(),i=function(){if(ni)return ri;ni=1;var t=O();return ri=!t(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})}(),o=e("IE_PROTO"),u=Object,a=u.prototype;return ei=i?u.getPrototypeOf:function(e){var i=n(e);if(t(i,o))return i[o];var c=i.constructor;return r(c)&&i instanceof c?c.prototype:i instanceof u?a:null}}function Li(){if(ui)return oi;ui=1;var t,r,n,e=O(),i=Ot(),o=St(),u=Ai(),a=Ci(),c=Qr(),f=lr(),s=ir(),l=f("iterator"),v=!1;return[].keys&&("next"in(n=[].keys())?(r=a(a(n)))!==Object.prototype&&(t=r):v=!0),!o(t)||e(function(){var r={};return t[l].call(r)!==r})?t={}:s&&(t=u(t)),i(t[l])||c(t,l,function(){return this}),oi={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:v}}function Fi(){if(ci)return ai;ci=1;var t=Pr().f,r=fr(),n=lr()("toStringTag");return ai=function(e,i,o){e&&!o&&(e=e.prototype),e&&!r(e,n)&&t(e,n,{configurable:!0,value:i})}}function _i(){if(pi)return di;pi=1;var t=St();return di=function(r){return t(r)||null===r}}function Di(){if(gi)return hi;gi=1;var t=_i(),r=String,n=TypeError;return hi=function(e){if(t(e))return e;throw new n("Can't set "+r(e)+" as a prototype")}}function Mi(){if(bi)return yi;bi=1;var t=function(){if(vi)return li;vi=1;var t=ht(),r=kt();return li=function(n,e,i){try{return t(r(Object.getOwnPropertyDescriptor(n,e)[i]))}catch(t){}}}(),r=St(),n=mt(),e=Di();return yi=Object.setPrototypeOf||("__proto__"in{}?function(){var i,o=!1,u={};try{(i=t(Object.prototype,"__proto__","set"))(u,[]),o=u instanceof Array}catch(t){}return function(t,u){return n(t),e(u),r(t)?(o?i(t,u):t.__proto__=u,t):t}}():void 0)}function Ii(){if(wi)return mi;wi=1;var t=ae(),r=E(),n=ir(),e=Yr(),i=Ot(),o=function(){if(si)return fi;si=1;var t=Li().IteratorPrototype,r=Ai(),n=pt(),e=Fi(),i=We(),o=function(){return this};return fi=function(u,a,c,f){var s=a+" Iterator";return u.prototype=r(t,{next:n(+!f,c)}),e(u,s,!1,!0),i[s]=o,u}}(),u=Ci(),a=Mi(),c=Fi(),f=Rr(),s=Qr(),l=lr(),v=We(),d=Li(),p=e.PROPER,h=e.CONFIGURABLE,g=d.IteratorPrototype,y=d.BUGGY_SAFARI_ITERATORS,b=l("iterator"),m="keys",w="values",O="entries",S=function(){return this};return mi=function(e,l,d,x,E,j,T){o(d,l,x);var P,R,A,k=function(t){if(t===E&&D)return D;if(!y&&t&&t in F)return F[t];switch(t){case m:case w:case O:return function(){return new d(this,t)}}return function(){return new d(this)}},C=l+" Iterator",L=!1,F=e.prototype,_=F[b]||F["@@iterator"]||E&&F[E],D=!y&&_||k(E),M="Array"===l&&F.entries||_;if(M&&(P=u(M.call(new e)))!==Object.prototype&&P.next&&(n||u(P)===g||(a?a(P,g):i(P[b])||s(P,b,S)),c(P,C,!0,!0),n&&(v[C]=S)),p&&E===w&&_&&_.name!==w&&(!n&&h?f(F,"name",w):(L=!0,D=function(){return r(_,this)})),E)if(R={values:k(w),keys:j?D:k(m),entries:k(O)},T)for(A in R)(y||L||!(A in F))&&s(F,A,R[A]);else t({target:l,proto:!0,forced:y||L},R);return n&&!T||F[b]===D||s(F,b,D,{name:E}),v[l]=D,R}}function zi(){return Si?Oi:(Si=1,Oi=function(t,r){return{value:t,done:r}})}function Ni(){if(Ei)return xi;Ei=1;var t=wt(),r=ki(),n=We(),e=Jr(),i=Pr().f,o=Ii(),u=zi(),a=ir(),c=S(),f="Array Iterator",s=e.set,l=e.getterFor(f);xi=o(Array,"Array",function(r,n){s(this,{type:f,target:t(r),index:0,kind:n})},function(){var t=l(this),r=t.target,n=t.index++;if(!r||n>=r.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(n,!1);case"values":return u(r[n],!1)}return u([n,r[n]],!1)},"values");var v=n.Arguments=n.Array;if(r("keys"),r("values"),r("entries"),!a&&c&&"values"!==v.name)try{i(v,"name",{value:"values"})}catch(t){}return xi}Ni();var Wi,Xi,Gi,Bi={};function Ui(){if(Xi)return Wi;Xi=1;var t=fe(),r=E(),n=Tr(),e=At(),i=Xe(),o=On(),u=Et(),a=Ue(),c=Be(),f=ze(),s=TypeError,l=function(t,r){this.stopped=t,this.result=r},v=l.prototype;return Wi=function(d,p,h){var g,y,b,m,w,O,S,x=h&&h.that,E=!(!h||!h.AS_ENTRIES),j=!(!h||!h.IS_RECORD),T=!(!h||!h.IS_ITERATOR),P=!(!h||!h.INTERRUPTED),R=t(p,x),A=function(t){return g&&f(g,"normal"),new l(!0,t)},k=function(t){return E?(n(t),P?R(t[0],t[1],A):R(t[0],t[1])):P?R(t,A):R(t)};if(j)g=d.iterator;else if(T)g=d;else{if(!(y=c(d)))throw new s(e(d)+" is not iterable");if(i(y)){for(b=0,m=o(d);m>b;b++)if((w=k(d[b]))&&u(v,w))return w;return new l(!1)}g=a(d,y)}for(O=j?d.next:g.next;!(S=r(O,g)).done;){try{w=k(S.value)}catch(t){f(g,"throw",t)}if("object"==typeof w&&w&&u(v,w))return w}return new l(!1)}}!function(){if(Gi)return Bi;Gi=1;var t=ae(),r=Ui(),n=Ge();t({target:"Object",stat:!0},{fromEntries:function(t){var e={};return r(t,function(t,r){n(e,t,r)},{AS_ENTRIES:!0}),e}})}();var Yi,Vi,$i,qi={};!function(){if($i)return qi;$i=1;var t=le(),r=Qr(),n=function(){if(Vi)return Yi;Vi=1;var t=le(),r=ve();return Yi=t?{}.toString:function(){return"[object "+r(this)+"]"}}();t||r(Object.prototype,"toString",n,{unsafe:!0})}();var Hi,Ji,Ki,Qi,Zi,to,ro,no,eo,io,oo,uo,ao,co,fo,so,lo,vo,po,ho,go,yo,bo,mo,wo,Oo,So={exports:{}},xo={};function Eo(){if(Ji)return Hi;Ji=1;var t=ht();return Hi=t([].slice)}function jo(){if(Ki)return xo;Ki=1;var t=gt(),r=wt(),n=jn().f,e=Eo(),i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return xo.f=function(o){return i&&"Window"===t(o)?function(t){try{return n(t)}catch(t){return e(i)}}(o):n(r(o))},xo}function To(){if(ro)return to;ro=1;var t=O(),r=St(),n=gt(),e=function(){if(Zi)return Qi;Zi=1;var t=O();return Qi=t(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})}(),i=Object.isExtensible,o=t(function(){});return to=o||e?function(t){return!!r(t)&&((!e||"ArrayBuffer"!==n(t))&&(!i||i(t)))}:i}function Po(){if(eo)return no;eo=1;var t=O();return no=!t(function(){return Object.isExtensible(Object.preventExtensions({}))})}function Ro(){if(io)return So.exports;io=1;var t=ae(),r=ht(),n=Hr(),e=St(),i=fr(),o=Pr().f,u=jn(),a=jo(),c=To(),f=sr(),s=Po(),l=!1,v=f("meta"),d=0,p=function(t){o(t,v,{value:{objectID:"O"+d++,weakData:{}}})},h=So.exports={enable:function(){h.enable=function(){},l=!0;var n=u.f,e=r([].splice),i={};i[v]=1,n(i).length&&(u.f=function(t){for(var r=n(t),i=0,o=r.length;i<o;i++)if(r[i]===v){e(r,i,1);break}return r},t({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,r){if(!e(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,v)){if(!c(t))return"F";if(!r)return"E";p(t)}return t[v].objectID},getWeakData:function(t,r){if(!i(t,v)){if(!c(t))return!0;if(!r)return!1;p(t)}return t[v].weakData},onFreeze:function(t){return s&&l&&c(t)&&!i(t,v)&&p(t),t}};return n[v]=!0,So.exports}function Ao(){if(uo)return oo;uo=1;var t=Et(),r=TypeError;return oo=function(n,e){if(t(e,n))return n;throw new r("Incorrect invocation")}}function ko(){if(co)return ao;co=1;var t=Ot(),r=St(),n=Mi();return ao=function(e,i,o){var u,a;return n&&t(u=i.constructor)&&u!==o&&r(a=u.prototype)&&a!==o.prototype&&n(e,a),e}}function Co(){if(so)return fo;so=1;var t=ae(),r=l(),n=ht(),e=ue(),i=Qr(),o=Ro(),u=Ui(),a=Ao(),c=Ot(),f=bt(),s=St(),v=O(),d=Ye(),p=Fi(),h=ko();return fo=function(l,g,y){var b=-1!==l.indexOf("Map"),m=-1!==l.indexOf("Weak"),w=b?"set":"add",O=r[l],S=O&&O.prototype,x=O,E={},j=function(t){var r=n(S[t]);i(S,t,"add"===t?function(t){return r(this,0===t?0:t),this}:"delete"===t?function(t){return!(m&&!s(t))&&r(this,0===t?0:t)}:"get"===t?function(t){return m&&!s(t)?void 0:r(this,0===t?0:t)}:"has"===t?function(t){return!(m&&!s(t))&&r(this,0===t?0:t)}:function(t,n){return r(this,0===t?0:t,n),this})};if(e(l,!c(O)||!(m||S.forEach&&!v(function(){(new O).entries().next()}))))x=y.getConstructor(g,l,b,w),o.enable();else if(e(l,!0)){var T=new x,P=T[w](m?{}:-0,1)!==T,R=v(function(){T.has(1)}),A=d(function(t){new O(t)}),k=!m&&v(function(){for(var t=new O,r=5;r--;)t[w](r,r);return!t.has(-0)});A||((x=g(function(t,r){a(t,S);var n=h(new O,t,x);return f(r)||u(r,n[w],{that:n,AS_ENTRIES:b}),n})).prototype=S,S.constructor=x),(R||k)&&(j("delete"),j("has"),b&&j("get")),(k||P)&&j(w),m&&S.clear&&delete S.clear}return E[l]=x,t({global:!0,constructor:!0,forced:x!==O},E),p(x,l),m||y.setStrong(x,l,b),x}}function Lo(){if(vo)return lo;vo=1;var t=Kr(),r=Pr();return lo=function(n,e,i){return i.get&&t(i.get,e,{getter:!0}),i.set&&t(i.set,e,{setter:!0}),r.f(n,e,i)}}function Fo(){if(ho)return po;ho=1;var t=Qr();return po=function(r,n,e){for(var i in n)t(r,i,n[i],e);return r}}function _o(){if(yo)return go;yo=1;var t=xt(),r=Lo(),n=lr(),e=S(),i=n("species");return go=function(n){var o=t(n);e&&o&&!o[i]&&r(o,i,{configurable:!0,get:function(){return this}})}}Oo||(Oo=1,wo||(wo=1,Co()("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},function(){if(mo)return bo;mo=1;var t=Ai(),r=Lo(),n=Fo(),e=fe(),i=Ao(),o=bt(),u=Ui(),a=Ii(),c=zi(),f=_o(),s=S(),l=Ro().fastKey,v=Jr(),d=v.set,p=v.getterFor;return bo={getConstructor:function(a,c,f,v){var h=a(function(r,n){i(r,g),d(r,{type:c,index:t(null),first:null,last:null,size:0}),s||(r.size=0),o(n)||u(n,r[v],{that:r,AS_ENTRIES:f})}),g=h.prototype,y=p(c),b=function(t,r,n){var e,i,o=y(t),u=m(t,r);return u?u.value=n:(o.last=u={index:i=l(r,!0),key:r,value:n,previous:e=o.last,next:null,removed:!1},o.first||(o.first=u),e&&(e.next=u),s?o.size++:t.size++,"F"!==i&&(o.index[i]=u)),t},m=function(t,r){var n,e=y(t),i=l(r);if("F"!==i)return e.index[i];for(n=e.first;n;n=n.next)if(n.key===r)return n};return n(g,{clear:function(){for(var r=y(this),n=r.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=null),n=n.next;r.first=r.last=null,r.index=t(null),s?r.size=0:this.size=0},delete:function(t){var r=this,n=y(r),e=m(r,t);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),s?n.size--:r.size--}return!!e},forEach:function(t){for(var r,n=y(this),i=e(t,arguments.length>1?arguments[1]:void 0);r=r?r.next:n.first;)for(i(r.value,r.key,this);r&&r.removed;)r=r.previous},has:function(t){return!!m(this,t)}}),n(g,f?{get:function(t){var r=m(this,t);return r&&r.value},set:function(t,r){return b(this,0===t?0:t,r)}}:{add:function(t){return b(this,t=0===t?0:t,t)}}),s&&r(g,"size",{configurable:!0,get:function(){return y(this).size}}),h},setStrong:function(t,r,n){var e=r+" Iterator",i=p(r),o=p(e);a(t,r,function(t,r){d(this,{type:e,target:t,state:i(t),kind:r,last:null})},function(){for(var t=o(this),r=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?c("keys"===r?n.key:"values"===r?n.value:[n.key,n.value],!1):(t.target=null,c(void 0,!0))},n?"entries":"values",!n,!0),f(r)}},bo}())));var Do,Mo,Io,zo,No,Wo={};function Xo(){if(Mo)return Do;Mo=1;var t=ve(),r=String;return Do=function(n){if("Symbol"===t(n))throw new TypeError("Cannot convert a Symbol value to a string");return r(n)}}!function(){if(No)return Wo;No=1;var t=function(){if(zo)return Io;zo=1;var t=ht(),r=bn(),n=Xo(),e=mt(),i=t("".charAt),o=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,c){var f,s,l=n(e(a)),v=r(c),d=l.length;return v<0||v>=d?t?"":void 0:(f=o(l,v))<55296||f>56319||v+1===d||(s=o(l,v+1))<56320||s>57343?t?i(l,v):f:t?u(l,v,v+2):s-56320+(f-55296<<10)+65536}};return Io={codeAt:a(!1),charAt:a(!0)}}().charAt,r=Xo(),n=Jr(),e=Ii(),i=zi(),o="String Iterator",u=n.set,a=n.getterFor(o);e(String,"String",function(t){u(this,{type:o,string:r(t),index:0})},function(){var r,n=a(this),e=n.string,o=n.index;return o>=e.length?i(void 0,!0):(r=t(e,o),n.index+=r.length,i(r,!1))})}();var Go,Bo,Uo,Yo,Vo,$o={};!function(){if(Vo)return $o;Vo=1;var t=ae(),r=function(){if(Bo)return Go;Bo=1;var t=ht(),r=mt(),n=Xo(),e=/"/g,i=t("".replace);return Go=function(t,o,u,a){var c=n(r(t)),f="<"+o;return""!==u&&(f+=" "+u+'="'+i(n(a),e,""")+'"'),f+">"+c+"</"+o+">"}}(),n=function(){if(Yo)return Uo;Yo=1;var t=O();return Uo=function(r){return t(function(){var t=""[r]('"');return t!==t.toLowerCase()||t.split('"').length>3})}}();t({target:"String",proto:!0,forced:n("anchor")},{anchor:function(t){return r(this,"a","name",t)}})}();var qo,Ho,Jo,Ko,Qo={};function Zo(){if(Ho)return qo;Ho=1;var t=ht(),r=Fo(),n=Ro().getWeakData,e=Ao(),i=Tr(),o=bt(),u=St(),a=Ui(),c=ge(),f=fr(),s=Jr(),l=s.set,v=s.getterFor,d=c.find,p=c.findIndex,h=t([].splice),g=0,y=function(t){return t.frozen||(t.frozen=new b)},b=function(){this.entries=[]},m=function(t,r){return d(t.entries,function(t){return t[0]===r})};return b.prototype={get:function(t){var r=m(this,t);if(r)return r[1]},has:function(t){return!!m(this,t)},set:function(t,r){var n=m(this,t);n?n[1]=r:this.entries.push([t,r])},delete:function(t){var r=p(this.entries,function(r){return r[0]===t});return~r&&h(this.entries,r,1),!!~r}},qo={getConstructor:function(t,c,s,d){var p=t(function(t,r){e(t,h),l(t,{type:c,id:g++,frozen:null}),o(r)||a(r,t[d],{that:t,AS_ENTRIES:s})}),h=p.prototype,b=v(c),m=function(t,r,e){var o=b(t),u=n(i(r),!0);return!0===u?y(o).set(r,e):u[o.id]=e,t};return r(h,{delete:function(t){var r=b(this);if(!u(t))return!1;var e=n(t);return!0===e?y(r).delete(t):e&&f(e,r.id)&&delete e[r.id]},has:function(t){var r=b(this);if(!u(t))return!1;var e=n(t);return!0===e?y(r).has(t):e&&f(e,r.id)}}),r(h,s?{get:function(t){var r=b(this);if(u(t)){var e=n(t);if(!0===e)return y(r).get(t);if(e)return e[r.id]}},set:function(t,r){return m(this,t,r)}}:{add:function(t){return m(this,t,!0)}}),p}}}Ko||(Ko=1,function(){if(Jo)return Qo;Jo=1;var t,r=Po(),n=l(),e=ht(),i=Fo(),o=Ro(),u=Co(),a=Zo(),c=St(),f=Jr().enforce,s=O(),v=$r(),d=Object,p=Array.isArray,h=d.isExtensible,g=d.isFrozen,y=d.isSealed,b=d.freeze,m=d.seal,w=!n.ActiveXObject&&"ActiveXObject"in n,S=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},x=u("WeakMap",S,a),E=x.prototype,j=e(E.set);if(v)if(w){t=a.getConstructor(S,"WeakMap",!0),o.enable();var T=e(E.delete),P=e(E.has),R=e(E.get);i(E,{delete:function(r){if(c(r)&&!h(r)){var n=f(this);return n.frozen||(n.frozen=new t),T(this,r)||n.frozen.delete(r)}return T(this,r)},has:function(r){if(c(r)&&!h(r)){var n=f(this);return n.frozen||(n.frozen=new t),P(this,r)||n.frozen.has(r)}return P(this,r)},get:function(r){if(c(r)&&!h(r)){var n=f(this);return n.frozen||(n.frozen=new t),P(this,r)?R(this,r):n.frozen.get(r)}return R(this,r)},set:function(r,n){if(c(r)&&!h(r)){var e=f(this);e.frozen||(e.frozen=new t),P(this,r)?j(this,r,n):e.frozen.set(r,n)}else j(this,r,n);return this}})}else r&&s(function(){var t=b([]);return j(new x,t,1),!g(t)})&&i(E,{set:function(t,r){var n;return p(t)&&(g(t)?n=b:y(t)&&(n=m)),j(this,t,r),n&&n(t),this}})}());var tu,ru,nu,eu,iu,ou,uu,au,cu,fu={};function su(){return ru?tu:(ru=1,tu={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})}function lu(){if(eu)return nu;eu=1;var t=pr()("span").classList,r=t&&t.constructor&&t.constructor.prototype;return nu=r===Object.prototype?void 0:r}!function(){if(cu)return fu;cu=1;var t=l(),r=su(),n=lu(),e=function(){if(au)return uu;au=1;var t=ge().forEach,r=function(){if(ou)return iu;ou=1;var t=O();return iu=function(r,n){var e=[][r];return!!e&&t(function(){e.call(null,n||function(){return 1},1)})}}()("forEach");return uu=r?[].forEach:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)},uu}(),i=Rr(),o=function(t){if(t&&t.forEach!==e)try{i(t,"forEach",e)}catch(r){t.forEach=e}};for(var u in r)r[u]&&o(t[u]&&t[u].prototype);o(n)}();var vu,du={};!function(){if(vu)return du;vu=1;var t=l(),r=su(),n=lu(),e=Ni(),i=Rr(),o=Fi(),u=lr()("iterator"),a=e.values,c=function(t,n){if(t){if(t[u]!==a)try{i(t,u,a)}catch(r){t[u]=a}if(o(t,n,!0),r[n])for(var c in e)if(t[c]!==e[c])try{i(t,c,e[c])}catch(r){t[c]=e[c]}}};for(var f in r)c(t[f]&&t[f].prototype,f);c(n,"DOMTokenList")}();var pu=function(){return pu=Object.assign||function(t){for(var r,n=1,e=arguments.length;n<e;n++)for(var i in r=arguments[n])Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i]);return t},pu.apply(this,arguments)};function hu(t,r){var n={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&r.indexOf(e)<0&&(n[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(e=Object.getOwnPropertySymbols(t);i<e.length;i++)r.indexOf(e[i])<0&&Object.prototype.propertyIsEnumerable.call(t,e[i])&&(n[e[i]]=t[e[i]])}return n}function gu(t){var r="function"==typeof Symbol&&Symbol.iterator,n=r&&t[r],e=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&e>=t.length&&(t=void 0),{value:t&&t[e++],done:!t}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function yu(t,r){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var e,i,o=n.call(t),u=[];try{for(;(void 0===r||r-- >0)&&!(e=o.next()).done;)u.push(e.value)}catch(t){i={error:t}}finally{try{e&&!e.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return u}function bu(t,r,n){if(n||2===arguments.length)for(var e,i=0,o=r.length;i<o;i++)!e&&i in r||(e||(e=Array.prototype.slice.call(r,0,i)),e[i]=r[i]);return t.concat(e||Array.prototype.slice.call(r))}"function"==typeof SuppressedError&&SuppressedError;var mu,wu,Ou,Su={};function xu(){if(wu)return mu;wu=1;var t=TypeError;return mu=function(r){if(r>9007199254740991)throw t("Maximum allowed index exceeded");return r}}!function(){if(Ou)return Su;Ou=1;var t=ae(),r=O(),n=se(),e=St(),i=cr(),o=On(),u=xu(),a=Ge(),c=he(),f=ye(),s=lr(),l=jt(),v=s("isConcatSpreadable"),d=l>=51||!r(function(){var t=[];return t[v]=!1,t.concat()[0]!==t}),p=function(t){if(!e(t))return!1;var r=t[v];return void 0!==r?!!r:n(t)};t({target:"Array",proto:!0,arity:1,forced:!d||!f("concat")},{concat:function(t){var r,n,e,f,s,l=i(this),v=c(l,0),d=0;for(r=-1,e=arguments.length;r<e;r++)if(p(s=-1===r?l:arguments[r]))for(f=o(s),u(d+f),n=0;n<f;n++,d++)n in s&&a(v,d,s[n]);else u(d+1),a(v,d++,s);return v.length=d,v}})}();var Eu,ju={};!function(){if(Eu)return ju;Eu=1;var t=ae(),r=ge().map;t({target:"Array",proto:!0,forced:!ye()("map")},{map:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})}();var Tu,Pu={};!function(){if(Tu)return Pu;Tu=1;var t=ae(),r=se(),n=de(),e=St(),i=mn(),o=On(),u=wt(),a=Ge(),c=lr(),f=ye(),s=Eo(),l=f("slice"),v=c("species"),d=Array,p=Math.max;t({target:"Array",proto:!0,forced:!l},{slice:function(t,c){var f,l,h,g=u(this),y=o(g),b=i(t,y),m=i(void 0===c?y:c,y);if(r(g)&&(f=g.constructor,(n(f)&&(f===d||r(f.prototype))||e(f)&&null===(f=f[v]))&&(f=void 0),f===d||void 0===f))return s(g,b,m);for(l=new(void 0===f?d:f)(p(m-b,0)),h=0;b<m;b++,h++)b in g&&a(l,h,g[b]);return l.length=h,l}})}();var Ru,Au,ku,Cu={};!function(){if(ku)return Cu;ku=1;var t=ae(),r=function(){if(Au)return Ru;Au=1;var t=S(),r=ht(),n=E(),e=O(),i=Ti(),o=ee(),u=dt(),a=cr(),c=yt(),f=Object.assign,s=Object.defineProperty,l=r([].concat);return Ru=!f||e(function(){if(t&&1!==f({b:1},f(s({},"a",{enumerable:!0,get:function(){s(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var r={},n={},e=Symbol("assign detection"),o="abcdefghijklmnopqrst";return r[e]=7,o.split("").forEach(function(t){n[t]=t}),7!==f({},r)[e]||i(f({},n)).join("")!==o})?function(r,e){for(var f=a(r),s=arguments.length,v=1,d=o.f,p=u.f;s>v;)for(var h,g=c(arguments[v++]),y=d?l(i(g),d(g)):i(g),b=y.length,m=0;b>m;)h=y[m++],t&&!n(p,g,h)||(f[h]=g[h]);return f}:f,Ru}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==r},{assign:r})}();var Lu,Fu,_u,Du={};!function(){if(_u)return Du;_u=1;var t=ae(),r=function(){if(Fu)return Lu;Fu=1;var t=S(),r=O(),n=ht(),e=Ci(),i=Ti(),o=wt(),u=n(dt().f),a=n([].push),c=t&&r(function(){var t=Object.create(null);return t[2]=2,!u(t,2)}),f=function(r){return function(n){for(var f,s=o(n),l=i(s),v=c&&null===e(s),d=l.length,p=0,h=[];d>p;)f=l[p++],t&&!(v?f in s:u(s,f))||a(h,r?[f,s[f]]:s[f]);return h}};return Lu={entries:f(!0),values:f(!1)}}().entries;t({target:"Object",stat:!0},{entries:function(t){return r(t)}})}();var Mu,Iu,zu,Nu,Wu,Xu,Gu,Bu={};function Uu(){if(Xu)return Wu;Xu=1;var t=E(),r=fr(),n=Et(),e=function(){if(Iu)return Mu;Iu=1;var t=l(),r=O(),n=t.RegExp,e=!r(function(){var t=!0;try{n(".","d")}catch(r){t=!1}var r={},e="",i=t?"dgimsy":"gimsy",o=function(t,n){Object.defineProperty(r,t,{get:function(){return e+=n,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(u.hasIndices="d"),u)o(a,u[a]);return Object.getOwnPropertyDescriptor(n.prototype,"flags").get.call(r)!==i||e!==i});return Mu={correct:e}}(),i=function(){if(Nu)return zu;Nu=1;var t=Tr();return zu=function(){var r=t(this),n="";return r.hasIndices&&(n+="d"),r.global&&(n+="g"),r.ignoreCase&&(n+="i"),r.multiline&&(n+="m"),r.dotAll&&(n+="s"),r.unicode&&(n+="u"),r.unicodeSets&&(n+="v"),r.sticky&&(n+="y"),n}}(),o=RegExp.prototype;return Wu=e.correct?function(t){return t.flags}:function(u){return e.correct||!n(o,u)||r(u,"flags")?u.flags:t(i,u)}}!function(){if(Gu)return Bu;Gu=1;var t=Yr().PROPER,r=Qr(),n=Tr(),e=Xo(),i=O(),o=Uu(),u="toString",a=RegExp.prototype,c=a[u],f=i(function(){return"/a/b"!==c.call({source:"a",flags:"b"})}),s=t&&c.name!==u;(f||s)&&r(a,u,function(){var t=n(this);return"/"+e(t.source)+"/"+e(o(t))},{unsafe:!0})}();var Yu,Vu,$u,qu,Hu,Ju,Ku,Qu={};function Zu(){if(qu)return $u;qu=1;var t=function(){if(Vu)return Yu;Vu=1;var t=St(),r=gt(),n=lr()("match");return Yu=function(e){var i;return t(e)&&(void 0!==(i=e[n])?!!i:"RegExp"===r(e))}}(),r=TypeError;return $u=function(n){if(t(n))throw new r("The method doesn't accept regular expressions");return n}}!function(){if(Ku)return Qu;Ku=1;var t,r=ae(),n=ce(),e=gr().f,i=wn(),o=Xo(),u=Zu(),a=mt(),c=function(){if(Ju)return Hu;Ju=1;var t=lr()("match");return Hu=function(r){var n=/./;try{"/./"[r](n)}catch(e){try{return n[t]=!1,"/./"[r](n)}catch(t){}}return!1}}(),f=ir(),s=n("".slice),l=Math.min,v=c("startsWith");r({target:"String",proto:!0,forced:!!(f||v||(t=e(String.prototype,"startsWith"),!t||t.writable))&&!v},{startsWith:function(t){var r=o(a(this));u(t);var n=i(l(arguments.length>1?arguments[1]:void 0,r.length)),e=o(t);return s(r,n,n+e.length)===e}})}();var ta,ra={};function na(t){return"[object Object]"===Object.prototype.toString.call(t)}function ea(t){if(!na(t))return!1;var r=t.constructor;if(void 0===r)return!0;var n=r.prototype;return!1!==na(n)&&!Object.prototype.hasOwnProperty.call(n,"isPrototypeOfOf")}function ia(t,r){for(var n in t){var e=t[n],i=r[n];if(ea(e)&&ea(i)){if(!ia(e,i))return!1}else if(Array.isArray(e)&&Array.isArray(i)){if(e.length!==i.length)return!1;for(var o=0;o<e.length;o+=1)if(e[o]!==i[o])return!1}else if(e!==i)return!1}for(var n in r)if(void 0===t[n]&&void 0!==r[n])return!1;return!0}function oa(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];return Object.fromEntries(Object.entries(t).filter(function(t){var n=yu(t,1)[0];return r.includes(n)}))}function ua(t){return Object.fromEntries(Object.entries(t).filter(function(t){return null!==yu(t,2)[1]}))}function aa(t){return function(t){var r,n,e,i,o=[];try{for(var u=gu(t),a=u.next();!a.done;a=u.next()){var c=a.value;if("string"!=typeof c.insert||0!==c.insert.length){var f=o[o.length-1];f&&"string"==typeof f.insert&&"string"==typeof c.insert&&(f.attributes===c.attributes||!f.attributes==!c.attributes&&ia(null!==(e=f.attributes)&&void 0!==e?e:{},null!==(i=c.attributes)&&void 0!==i?i:{}))?f.insert+=c.insert:o.push(c)}}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}return o}(t.toDelta())}function ca(t){var r=t.insert;return"string"==typeof r?r.length:1}function fa(t){return t.reduce(function(t,r){return t+ca(r)},0)}function sa(t,r,n){if(n<1)return[];for(var e=0,i=[],o=r+n,u=0;u<t.length&&!(e>=o);u+=1){var a=t[u],c=ca(a);if(e+c<=r)e+=c;else if("string"==typeof a.insert){var f=Math.max(0,r-e),s=Math.min(c,c-(e+c-o));i.push(pu(pu({},a),{insert:a.insert.slice(f,s)})),e+=c}else e+=c,i.push(a)}return i}function la(t){return t?r.isText(t)?t.text.length:1:0}function va(n,e,i){var o;if(0===i.length)throw new Error("Path has to a have a length >= 1");if(r.isText(e))throw new Error("Cannot descent into slate text");var u=yu(i),a=u[0],c=u.slice(1),f=function(t,r){return t.children.slice(0,r).reduce(function(t,r){return t+la(r)},0)}(e,a),s=e.children[a],l=aa(n),v=la(s),d=sa(l,f,v);if(d.length>1)throw new Error("Path doesn't match yText, yTarget spans multiple nodes");var p=null===(o=d[0])||void 0===o?void 0:o.insert;if(c.length>0){if(!(p instanceof t.XmlText))throw new Error("Path doesn't match yText, cannot descent into non-yText");return va(p,s,c)}return{yParent:n,textRange:{start:f,end:f+v},yTarget:p instanceof t.XmlText?p:void 0,slateParent:e,slateTarget:s,targetDelta:d}}function da(t,n,e){void 0===e&&(e={});for(var i=e.assoc,o=void 0===i?0:i,u=e.insert,a=void 0!==u&&u,c=0,f=0,s=0;s<t.children.length;s+=1){var l=t.children[s],v=r.isText(l)?l.text.length:1;v>0&&(f=s);var d=c+v;if(v>0&&(o>=0?d>n:d>=n))return[s,n-c];c+=v}if(n>c+(a?1:0))throw new Error("yOffset out of bounds");if(a)return[t.children.length,0];var p=t.children[f];return[f,r.isText(p)?p.text.length:1]}function pa(n,e,i){for(var o=[i];o[0]!==n;){var u=o[0].parent;if(!u)throw new Error("yText isn't a descendant of root element");if(!(u instanceof t.XmlText))throw new Error("Unexpected y parent type");o.unshift(u)}if(o.length<2)return[];var a=e;return o.reduce(function(t,n,e){var i,u,c=o[e+1];if(!c)return t;var f=0,s=aa(n);try{for(var l=gu(s),v=l.next();!v.done;v=l.next()){var d=v.value;if(d.insert===c)break;f+="string"==typeof d.insert?d.insert.length:1}}catch(t){i={error:t}}finally{try{v&&!v.done&&(u=l.return)&&u.call(l)}finally{if(i)throw i.error}}if(r.isText(a))throw new Error("Cannot descent into slate text");var p=yu(da(a,f),1)[0];return a=a.children[p],t.concat(p)},[])}function ha(t){if(!t.doc)throw new Error("shared type isn't attached to a document")}!function(){if(ta)return ra;ta=1;var t=ae(),r=Sn().includes,n=O(),e=ki();t({target:"Array",proto:!0,forced:n(function(){return!Array(1).includes()})},{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),e("includes")}();var ga="__slateYjsStoredPosition_";function ya(r,n,e){var i=va(r,n,e.path),o=i.yTarget,u=i.yParent,a=i.textRange;if(o)throw new Error("Slate point points to a non-text element inside sharedRoot");var c=a.start+e.offset;return t.createRelativePositionFromTypeIndex(u,c,c===a.end?-1:0)}function ba(i,o,u){if(!i.doc)throw new Error("sharedRoot isn't attach to a yDoc");var a=t.createAbsolutePositionFromRelativePosition(u,i.doc);return a&&function(i,o,u){var a=u.type,c=u.index,f=u.assoc;if(!(a instanceof t.XmlText))throw new Error("Absolute position points to a non-XMLText");var s=pa(i,o,a),l=n.get(o,s);if(r.isText(l)||!e.isElement(l))throw new Error("Absolute position doesn't match slateRoot, cannot descent into text and EditorRoot");var v=yu(da(l,c,{assoc:f}),2),d=v[0],p=v[1],h=l.children[d];return r.isText(h)?{path:bu(bu([],yu(s),!1),[d],!1),offset:p}:null}(i,o,a)}function ma(r,n,e){r.setAttribute(ga+n,t.encodeRelativePosition(e))}function wa(t,r,n){return Object.fromEntries(Object.entries(t).filter(function(t){var e=yu(t,2)[1];return e.type===r&&(!n||(e.assoc>=0?e.index>=n.start&&e.index<n.end:e.index>n.start&&e.index>=n.end))}))}function Oa(r,n,e){var i;void 0===e&&(e="");var o=((i={})[e]=wa(r,n),i);return aa(n).forEach(function(n,i){var u=n.insert;u instanceof t.XmlText&&Object.assign(o,Oa(r,u,e?"".concat(e,".").concat(i):i.toString()))}),o}function Sa(r,n,e,i){void 0===i&&(i=0);var o=function(r){return ha(r),Object.fromEntries(Object.entries(r.getAttributes()).filter(function(t){return yu(t,1)[0].startsWith(ga)}).map(function(n){var e=yu(n,2),i=e[0],o=e[1];return[i.slice(25),t.createAbsolutePositionFromRelativePosition(t.decodeRelativePosition(o),r.doc)]}).filter(function(t){return yu(t,2)[1]}))}(r),u={"":wa(o,n,{start:i,end:i+fa(e)})};return e.forEach(function(r,n){var e=r.insert;e instanceof t.XmlText&&Object.assign(u,Oa(o,e,n.toString()))}),u}function xa(r,n,e,i,o,u,a){void 0===o&&(o=0),void 0===u&&(u=0),void 0===a&&(a="");var c=e[a];c&&Object.entries(c).forEach(function(e){var i=yu(e,2),a=i[0],c=i[1];ma(r,a,t.createRelativePositionFromTypeIndex(n,c.index-u+o,c.assoc))}),i.forEach(function(n,i){var o=n.insert;o instanceof t.XmlText&&xa(r,o,e,aa(o),0,0,a?"".concat(a,".").concat(i):i.toString())})}function Ea(t,r,n){return{anchor:ya(t,r,n.anchor),focus:ya(t,r,n.focus)}}function ja(t,r,n){var e=ba(t,r,n.anchor);if(!e)return null;var i=ba(t,r,n.focus);return i?{anchor:e,focus:i}:null}var Ta,Pa,Ra,Aa,ka,Ca,La,Fa,_a={},Da={};function Ma(){if(Ta)return Da;Ta=1;var t=lr();return Da.f=t,Da}function Ia(){if(Ra)return Pa;Ra=1;var t=l();return Pa=t}function za(){if(Fa)return _a;Fa=1;var t=ae(),r=l(),n=E(),e=ht(),i=ir(),o=S(),u=Tt(),a=O(),c=fr(),f=Et(),s=Tr(),v=wt(),d=dr(),p=Xo(),h=pt(),g=Ai(),y=Ti(),b=jn(),m=jo(),w=ee(),x=gr(),j=Pr(),T=Pi(),P=dt(),R=Qr(),A=Lo(),k=ar(),C=qr(),L=Hr(),F=sr(),_=lr(),D=Ma(),M=function(){if(ka)return Aa;ka=1;var t=Ia(),r=fr(),n=Ma(),e=Pr().f;return Aa=function(i){var o=t.Symbol||(t.Symbol={});r(o,i)||e(o,i,{value:n.f(i)})}}(),I=function(){if(La)return Ca;La=1;var t=E(),r=xt(),n=lr(),e=Qr();return Ca=function(){var i=r("Symbol"),o=i&&i.prototype,u=o&&o.valueOf,a=n("toPrimitive");o&&!o[a]&&e(o,a,function(r){return t(u,this)},{arity:1})}}(),z=Fi(),N=Jr(),W=ge().forEach,X=C("hidden"),G="Symbol",B="prototype",U=N.set,Y=N.getterFor(G),V=Object[B],$=r.Symbol,q=$&&$[B],H=r.RangeError,J=r.TypeError,K=r.QObject,Q=x.f,Z=j.f,tt=m.f,rt=P.f,nt=e([].push),et=k("symbols"),it=k("op-symbols"),ot=k("wks"),ut=!K||!K[B]||!K[B].findChild,at=function(t,r,n){var e=Q(V,r);e&&delete V[r],Z(t,r,n),e&&t!==V&&Z(V,r,e)},ct=o&&a(function(){return 7!==g(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a})?at:Z,ft=function(t,r){var n=et[t]=g(q);return U(n,{type:G,tag:t,description:r}),o||(n.description=r),n},st=function(t,r,n){t===V&&st(it,r,n),s(t);var e=d(r);return s(n),c(et,e)?(n.enumerable?(c(t,X)&&t[X][e]&&(t[X][e]=!1),n=g(n,{enumerable:h(0,!1)})):(c(t,X)||Z(t,X,h(1,g(null))),t[X][e]=!0),ct(t,e,n)):Z(t,e,n)},lt=function(t,r){s(t);var e=v(r),i=y(e).concat(bt(e));return W(i,function(r){o&&!n(vt,e,r)||st(t,r,e[r])}),t},vt=function(t){var r=d(t)