h;h++)if((u||h in g)&&(d=v(p=g[h],h,y),t))if(e)w[h]=d;else if(d)switch(t){case 3:return!0;case 5:return p;case 6:return h;case 2:vj(w,p)}else switch(t){case 4:return!1;case 7:vj(w,p)}return i?-1:r||o?o:w}},E1=[qa(0),qa(1),qa(2),qa(3),qa(4),qa(5),qa(6),qa(7)][0],Cr=v1("hidden"),mj=Hr("toPrimitive"),$it=Lc.set,yj=Lc.getterFor("Symbol"),No=Object.prototype,Za=Gt.Symbol,Ya=Za&&Za.prototype,bj=Gt.TypeError,S6=Gt.QObject,Ip=kp("JSON","stringify"),wj=f6.f,Xa=Is.f,Ej=dj.f,Hit=i6.f,Sj=Je([].push),Wi=Ps("symbols"),Np=Ps("op-symbols"),C6=Ps("string-to-symbol-registry"),D6=Ps("symbol-to-string-registry"),Uit=Ps("wks"),x6=!S6||!S6.prototype||!S6.prototype.findChild,A6=Sr&&$r(function(){return Ns(Xa({},"a",{get:function(){return Xa(this,"a",{value:7}).a}})).a!=7})?function(t,e,n){var r=wj(No,e);r&&delete No[e],Xa(t,e,n),r&&t!==No&&Xa(No,e,r)}:Xa,O6=function(t,e){var n=Wi[t]=Ns(Ya);return $it(n,{type:"Symbol",tag:t,description:e}),Sr||(n.description=e),n},S1=function(t,e,n){t===No&&S1(Np,e,n),_s(t);var r=_c(e);return _s(n),le(Wi,r)?(n.enumerable?(le(t,Cr)&&t[Cr][r]&&(t[Cr][r]=!1),n=Ns(n,{enumerable:Fs(0,!1)})):(le(t,Cr)||Xa(t,Cr,Fs(1,{})),t[Cr][r]=!0),A6(t,r,n)):Xa(t,r,n)},Cj=function(t,e){_s(t);var n=ui(e),r=m6(n).concat(k6(n));return E1(r,function(o){Sr&&!Io(Dj,n,o)||S1(t,o,n[o])}),t},Dj=function(t){var e=_c(t),n=Io(Hit,this,e);return!(this===No&&le(Wi,e)&&!le(Np,e))&&(!(n||!le(this,e)||!le(Wi,e)||le(this,Cr)&&this[Cr][e])||n)},xj=function(t,e){var n=ui(t),r=_c(e);if(n!==No||!le(Wi,r)||le(Np,r)){var o=wj(n,r);return!o||!le(Wi,r)||le(n,Cr)&&n[Cr][r]||(o.enumerable=!0),o}},Aj=function(t){var e=Ej(ui(t)),n=[];return E1(e,function(r){le(Wi,r)||le(jp,r)||Sj(n,r)}),n},k6=function(t){var e=t===No,n=Ej(e?Np:ui(t)),r=[];return E1(n,function(o){!le(Wi,o)||e&&!le(No,o)||Sj(r,Wi[o])}),r};if(si||(Ya=(Za=function(){if(IP(Ya,this))throw bj("Symbol is not a constructor");var t=arguments.length&&arguments[0]!==void 0?h1(arguments[0]):void 0,e=l1(t),n=function(r){this===No&&Io(n,Np,r),le(this,Cr)&&le(this[Cr],e)&&(this[Cr][e]=!1),A6(this,e,Fs(1,r))};return Sr&&x6&&A6(No,e,{configurable:!0,set:n}),O6(e,t)}).prototype,Ic(Ya,"toString",function(){return yj(this).tag}),Ic(Za,"withoutSetter",function(t){return O6(l1(t),t)}),i6.f=Dj,Is.f=S1,f6.f=xj,lj.f=dj.f=Aj,b6.f=k6,w6.f=function(t){return O6(Hr(t),t)},Sr&&Xa(Ya,"description",{configurable:!0,get:function(){return yj(this).description}})),Ka({global:!0,wrap:!0,forced:!si,sham:!si},{Symbol:Za}),E1(m6(Uit),function(t){an(t)}),Ka({target:"Symbol",stat:!0,forced:!si},{for:function(t){var e=h1(t);if(le(C6,e))return C6[e];var n=Za(e);return C6[e]=n,D6[n]=e,n},keyFor:function(t){if(!jc(t))throw bj(t+" is not a symbol");if(le(D6,t))return D6[t]},useSetter:function(){x6=!0},useSimple:function(){x6=!1}}),Ka({target:"Object",stat:!0,forced:!si,sham:!Sr},{create:function(t,e){return e===void 0?Ns(t):Cj(Ns(t),e)},defineProperty:S1,defineProperties:Cj,getOwnPropertyDescriptor:xj}),Ka({target:"Object",stat:!0,forced:!si},{getOwnPropertyNames:Aj,getOwnPropertySymbols:k6}),Ka({target:"Object",stat:!0,forced:$r(function(){b6.f(1)})},{getOwnPropertySymbols:function(t){return b6.f(Bp(t))}}),Ip){var Vit=!si||$r(function(){var t=Za();return Ip([t])!="[null]"||Ip({a:t})!="{}"||Ip(Object(t))!="{}"});Ka({target:"JSON",stat:!0,forced:Vit},{stringify:function(t,e,n){var r=jit(arguments),o=e;if((fo(e)||t!==void 0)&&!jc(t))return c1(e)||(e=function(i,a){if(Vn(o)&&(a=Io(o,this,i,a)),!jc(a))return a}),r[1]=e,BP(Ip,null,r)}})}if(!Ya[mj]){var Wit=Ya.valueOf;Ic(Ya,mj,function(t){return Io(Wit,this)})}w1(Za,"Symbol"),jp[Cr]=!0,an("asyncIterator"),an("hasInstance"),an("isConcatSpreadable"),an("iterator"),an("match"),an("matchAll"),an("replace"),an("search"),an("species"),an("split"),an("toPrimitive"),an("toStringTag"),an("unscopables"),w1(Gt.JSON,"JSON",!0);var Ja,Oj,kj,Git=po.Symbol,Rs={},Bj=Function.prototype,Kit=Sr&&Object.getOwnPropertyDescriptor,B6=le(Bj,"name"),qit={EXISTS:B6,PROPER:B6&&function(){}.name==="something",CONFIGURABLE:B6&&(!Sr||Sr&&Kit(Bj,"name").configurable)},Zit=!$r(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),Fj=v1("IE_PROTO"),F6=Gt.Object,Yit=F6.prototype,T6=Zit?F6.getPrototypeOf:function(t){var e=Bp(t);if(le(e,Fj))return e[Fj];var n=e.constructor;return Vn(n)&&e instanceof n?n.prototype:e instanceof F6?Yit:null},P6=Hr("iterator"),Tj=!1;[].keys&&("next"in(kj=[].keys())?(Oj=T6(T6(kj)))!==Object.prototype&&(Ja=Oj):Tj=!0);var Xit=Ja==null||$r(function(){var t={};return Ja[P6].call(t)!==t});Ja=Xit?{}:Ns(Ja),Vn(Ja[P6])||Ic(Ja,P6,function(){return this});var Pj={IteratorPrototype:Ja,BUGGY_SAFARI_ITERATORS:Tj},Jit=Pj.IteratorPrototype,Qit=function(){return this};Gt.String,Gt.TypeError,Object.setPrototypeOf||"__proto__"in{}&&function(){var t={};try{Je(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set)(t,[]),t instanceof Array}catch(e){}}();var tat=qit.PROPER,C1=Pj.BUGGY_SAFARI_ITERATORS,j6=Hr("iterator"),eat=function(){return this},jj=function(t,e,n,r,o,i,a){(function(m,h,b,w){var S=h+" Iterator";m.prototype=Ns(Jit,{next:Fs(1,b)}),w1(m,S,!1,!0),Rs[S]=Qit})(n,e,r);var u,s,l,c=function(m){if(m===o&&g)return g;if(!C1&&m in d)return d[m];switch(m){case"keys":case"values":case"entries":return function(){return new n(this,m)}}return function(){return new n(this)}},f=e+" Iterator",p=!1,d=t.prototype,y=d[j6]||d["@@iterator"]||o&&d[o],g=!C1&&y||c(o),v=e=="Array"&&d.entries||y;if(v&&(u=T6(v.call(new t)))!==Object.prototype&&u.next&&(w1(u,f,!0,!0),Rs[f]=eat),tat&&o=="values"&&y&&y.name!=="values"&&(p=!0,g=function(){return Io(y,this)}),o)if(s={values:c("values"),keys:i?g:c("keys"),entries:c("entries")},a)for(l in s)(C1||p||!(l in d))&&Ic(d,l,s[l]);else Ka({target:e,proto:!0,forced:C1||p},s);return a&&d[j6]!==g&&Ic(d,j6,g,{name:o}),Rs[e]=g,s},nat=Lc.set,rat=Lc.getterFor("Array Iterator");jj(Array,"Array",function(t,e){nat(this,{type:"Array Iterator",target:ui(t),index:0,kind:e})},function(){var t=rat(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}},"values"),Rs.Arguments=Rs.Array;var _j=Hr("toStringTag");for(var _6 in{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}){var Ij=Gt[_6],I6=Ij&&Ij.prototype;I6&&d1(I6)!==_j&&li(I6,_j,_6),Rs[_6]=Rs.Array}var oat=Git;an("asyncDispose"),an("dispose"),an("matcher"),an("metadata"),an("observable"),an("patternMatch"),an("replaceAll");var D1=oat,iat=Je("".charAt),Nj=Je("".charCodeAt),aat=Je("".slice),Lj=function(t){return function(e,n){var r,o,i=h1(u6(e)),a=d6(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=Nj(i,a))<55296||r>56319||a+1===u||(o=Nj(i,a+1))<56320||o>57343?t?iat(i,a):r:t?aat(i,a,a+2):o-56320+(r-55296<<10)+65536}},uat=(Lj(!1),Lj(!0)),sat=Lc.set,lat=Lc.getterFor("String Iterator");jj(String,"String",function(t){sat(this,{type:"String Iterator",string:h1(t),index:0})},function(){var t,e=lat(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=uat(n,r),e.index+=t.length,{value:t,done:!1})});var cat=w6.f("iterator"),fat=zv(function(t){function e(n){return typeof D1=="function"&&typeof cat=="symbol"?(t.exports=e=function(r){return typeof r},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=e=function(r){return r&&typeof D1=="function"&&r.constructor===D1&&r!==D1.prototype?"symbol":typeof r},t.exports.default=t.exports,t.exports.__esModule=!0),e(n)}t.exports=e,t.exports.default=t.exports,t.exports.__esModule=!0}),Rj=function(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}(fat),dat=Kv.EXISTS,pat=Ec.f,Mj=Function.prototype,hat=Ft(Mj.toString),zj=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,gat=Ft(zj.exec);jo&&!dat&&pat(Mj,"name",{configurable:!0,get:function(){try{return gat(zj,hat(this))[1]}catch(t){return""}}});var $j=function(){function t(){this.tag="select",this.width=80}return t.prototype.isActive=function(e){return!1},t.prototype.getValue=function(e){var n=this.mark,r=E.marks(e);return r&&r[n]?r[n]:""},t.prototype.isDisabled=function(e){return e.selection==null||(this.mark,!!se(E.nodes(e,{match:function(n){return A.getNodeType(n)==="pre"||!!E.isVoid(e,n)},universal:!0}),1)[0])},t.prototype.exec=function(e,n){var r=this.mark;n?e.addMark(r,n):e.removeMark(r)},t}(),vat=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=nt("fontSize.title"),n.iconSvg=Vnt,n.mark="fontSize",n}return Re(e,t),e.prototype.getOptions=function(n){var r=[],o=n.getMenuConfig(this.mark).fontSizeList,i=o===void 0?[]:o;r.push({text:nt("fontSize.default"),value:""}),i.forEach(function(u){if(typeof u=="string")r.push({text:u,value:u});else if(Rj(u)==="object"){var s=u.name,l=u.value;r.push({text:s,value:l})}});var a=this.getValue(n);return r.forEach(function(u){u.value===a?u.selected=!0:delete u.selected}),r},e}($j),mat=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=nt("fontFamily.title"),n.iconSvg=Wnt,n.mark="fontFamily",n.selectPanelWidth=150,n}return Re(e,t),e.prototype.getOptions=function(n){var r=[],o=n.getMenuConfig(this.mark).fontFamilyList,i=o===void 0?[]:o;r.push({text:nt("fontFamily.default"),value:""}),i.forEach(function(u){if(typeof u=="string")r.push({text:u,value:u,styleForRenderMenuList:{"font-family":u}});else if(Rj(u)==="object"){var s=u.name,l=u.value;r.push({text:s,value:l,styleForRenderMenuList:{"font-family":l}})}});var a=this.getValue(n);return r.forEach(function(u){u.value===a?u.selected=!0:delete u.selected}),r},e}($j),yat={renderStyle:function(t,e){var n=t,r=n.fontSize,o=n.fontFamily,i=e;return r&&ks(i,{fontSize:r}),o&&ks(i,{fontFamily:o}),i},styleToHtml:function(t,e){if(!ft.isText(t))return e;var n,r=t,o=r.fontSize,i=r.fontFamily;return o||i?((zS(e)||Bc(n=k(e))!=="span")&&(n=k(""+e+"")),o&&n.css("font-size",o),i&&n.css("font-family",i),kc(n)):e},preParseHtml:[Oot],parseStyleHtml:function(t,e,n){var r=k(t);if(!ft.isText(e))return e;var o=e,i=n.getMenuConfig("fontSize").fontSizeList,a=i===void 0?[]:i,u=_o(r,"font-size"),s=a.find(function(d){return d.value&&d.value===u})||a.includes(u);u&&s&&(o.fontSize=u);var l=n.getMenuConfig("fontFamily").fontFamilyList,c=l===void 0?[]:l,f=_o(r,"font-family").replace(/"/g,""),p=c.find(function(d){return d.value&&d.value===f})||c.includes(f);return f&&p&&(o.fontFamily=f),o},menus:[{key:"fontSize",factory:function(){return new vat},config:{fontSizeList:["12px",{name:"13px",value:"13px"},"14px","15px","16px","19px",{name:"22px",value:"22px"},"24px","29px","32px","40px","48px"]}},{key:"fontFamily",factory:function(){return new mat},config:{fontFamilyList:["\u9ED1\u4F53",{name:"\u4EFF\u5B8B",value:"\u4EFF\u5B8B"},"\u6977\u4F53","\u6807\u6977\u4F53","\u534E\u6587\u4EFF\u5B8B","\u534E\u6587\u6977\u4F53",{name:"\u5B8B\u4F53",value:"\u5B8B\u4F53"},"\u5FAE\u8F6F\u96C5\u9ED1","Arial","Tahoma","Verdana","Times New Roman","Courier New"]}}]},bat={selector:"p,h1,h2,h3,h4,h5",preParseHtml:function(t){var e=k(t),n=_o(e,"padding-left");return/\dem/.test(n)&&e.css("text-indent","2em"),/\dpx/.test(n)&&parseInt(n,10)%32==0&&e.css("text-indent","2em"),e[0]}},Hj=function(){function t(){this.tag="button"}return t.prototype.getValue=function(e){var n=se(E.nodes(e,{match:function(o){return!!o.indent},universal:!0}),1),r=n[0];return r==null?"":se(r,1)[0].indent||""},t.prototype.isActive=function(e){return!1},t.prototype.getMatchNode=function(e){var n=se(E.nodes(e,{match:function(r){var o=A.getNodeType(r);return o==="paragraph"||!!o.startsWith("header")},universal:!0,mode:"highest"}),1)[0];return n==null?null:n[0]},t}(),wat=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=nt("indent.decrease"),n.iconSvg=Gnt,n}return Re(e,t),e.prototype.isDisabled=function(n){var r=this.getMatchNode(n);return r==null||!r.indent},e.prototype.exec=function(n,r){I.setNodes(n,{indent:null},{match:function(o){return bt.isElement(o)}})},e}(Hj),Eat=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=nt("indent.increase"),n.iconSvg=Knt,n}return Re(e,t),e.prototype.isDisabled=function(n){var r=this.getMatchNode(n);return r==null||!!r.indent},e.prototype.exec=function(n,r){I.setNodes(n,{indent:"2em"},{match:function(o){return bt.isElement(o)},mode:"highest"})},e}(Hj),Sat={renderStyle:function(t,e){if(!bt.isElement(t))return e;var n=t.indent,r=e;return n&&ks(r,{textIndent:n}),r},styleToHtml:function(t,e){if(!bt.isElement(t))return e;var n=t.indent;if(!n)return e;var r=k(e);return r.css("text-indent",n),kc(r)},preParseHtml:[bat],parseStyleHtml:function(t,e,n){var r=k(t);if(!bt.isElement(e))return e;var o=e,i=_o(r,"text-indent"),a=parseInt(i,10);return i&&a>0&&(o.indent=i),o},menus:[{key:"indent",factory:function(){return new Eat}},{key:"delIndent",factory:function(){return new wat}}]},x1=function(){function t(){this.tag="button"}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.getMatchNode=function(e){var n=se(E.nodes(e,{match:function(r){var o=A.getNodeType(r);return o==="paragraph"||o==="blockquote"||!!o.startsWith("header")},universal:!0,mode:"highest"}),1)[0];return n==null?null:n[0]},t.prototype.isDisabled=function(e){return e.selection==null||!!A.getSelectedElems(e).some(function(n){if(E.isVoid(e,n)&&E.isBlock(e,n))return!0;var r=n.type;return!!["pre","code"].includes(r)||void 0})},t}(),Cat=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=nt("justify.left"),n.iconSvg=qnt,n}return Re(e,t),e.prototype.exec=function(n,r){I.setNodes(n,{textAlign:"left"},{match:function(o){return bt.isElement(o)&&!n.isInline(o)}})},e}(x1),Dat=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=nt("justify.right"),n.iconSvg=Znt,n}return Re(e,t),e.prototype.exec=function(n,r){I.setNodes(n,{textAlign:"right"},{match:function(o){return bt.isElement(o)&&!n.isInline(o)}})},e}(x1),xat=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=nt("justify.center"),n.iconSvg=Ynt,n}return Re(e,t),e.prototype.exec=function(n,r){I.setNodes(n,{textAlign:"center"},{match:function(o){return bt.isElement(o)&&!n.isInline(o)}})},e}(x1),Aat=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=nt("justify.justify"),n.iconSvg=Xnt,n}return Re(e,t),e.prototype.exec=function(n,r){I.setNodes(n,{textAlign:"justify"},{match:function(o){return bt.isElement(o)&&!n.isInline(o)}})},e}(x1),Oat={renderStyle:function(t,e){if(!bt.isElement(t))return e;var n=t.textAlign,r=e;return n&&ks(r,{textAlign:n}),r},styleToHtml:function(t,e){if(!bt.isElement(t))return e;var n=t.textAlign;if(!n)return e;var r=k(e);return r.css("text-align",n),kc(r)},parseStyleHtml:function(t,e,n){var r=k(t);if(!bt.isElement(e))return e;var o=e,i=_o(r,"text-align");return i&&(o.textAlign=i),o},menus:[{key:"justifyLeft",factory:function(){return new Cat}},{key:"justifyRight",factory:function(){return new Dat}},{key:"justifyCenter",factory:function(){return new xat}},{key:"justifyJustify",factory:function(){return new Aat}}]},kat=function(){function t(){this.title=nt("lineHeight.title"),this.iconSvg='',this.tag="select",this.width=80}return t.prototype.getOptions=function(e){var n=[],r=e.getMenuConfig("lineHeight").lineHeightList,o=r===void 0?[]:r;n.push({text:nt("lineHeight.default"),value:""}),o.forEach(function(a){n.push({text:a,value:a})});var i=this.getValue(e);return n.forEach(function(a){a.value===i?a.selected=!0:delete a.selected}),n},t.prototype.getMatchNode=function(e){var n=se(E.nodes(e,{match:function(r){var o=A.getNodeType(r);return!!o.startsWith("header")||!!["paragraph","blockquote","list-item"].includes(o)},universal:!0,mode:"highest"}),1)[0];return n==null?null:n[0]},t.prototype.isActive=function(e){return!1},t.prototype.getValue=function(e){var n=this.getMatchNode(e);return n==null?"":bt.isElement(n)&&n.lineHeight||""},t.prototype.isDisabled=function(e){return e.selection==null||this.getMatchNode(e)==null},t.prototype.exec=function(e,n){I.setNodes(e,{lineHeight:n.toString()},{mode:"highest"})},t}(),Bat={renderStyle:function(t,e){if(!bt.isElement(t))return e;var n=t.lineHeight,r=e;return n&&ks(r,{lineHeight:n}),r},styleToHtml:function(t,e){if(!bt.isElement(t))return e;var n=t.lineHeight;if(!n)return e;var r=k(e);return r.css("line-height",n),kc(r)},parseStyleHtml:function(t,e,n){var r=k(t);if(!bt.isElement(e))return e;var o=e,i=n.getMenuConfig("lineHeight").lineHeightList,a=i===void 0?[]:i,u=_o(r,"line-height");return u&&a.includes(u)&&(o.lineHeight=u),o},menus:[{key:"lineHeight",factory:function(){return new kat},config:{lineHeightList:["1","1.15","1.5","2","2.5","3"]}}]},Fat=function(){function t(){this.title=nt("undo.redo"),this.iconSvg='',this.tag="button"}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){return e.selection==null},t.prototype.exec=function(e,n){typeof e.redo=="function"&&e.redo()},t}(),Tat=function(){function t(){this.title=nt("undo.undo"),this.iconSvg='',this.tag="button"}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){return e.selection==null},t.prototype.exec=function(e,n){typeof e.undo=="function"&&e.undo()},t}(),Pat={menus:[{key:"redo",factory:function(){return new Fat}},{key:"undo",factory:function(){return new Tat}}]},jat={type:"divider",renderElem:function(t,e,n){return Ul("div",{props:{contentEditable:!1,className:"w-e-textarea-divider"},dataset:{selected:A.isNodeSelected(n,t)?"true":""},style:{},on:{mousedown:function(r){return r.preventDefault()}}},[Ul("hr")])}},_at=function(){function t(){this.title=nt("divider.title"),this.iconSvg='',this.tag="button"}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){return e.selection==null||!!A.getSelectedElems(e).some(function(n){if(e.isVoid(n))return!0;var r=A.getNodeType(n);return r==="table"||r==="pre"||void 0})},t.prototype.exec=function(e,n){I.insertNodes(e,{type:"divider",children:[{text:""}]},{mode:"highest"})},t}(),Iat={renderElems:[jat],elemsToHtml:[{type:"divider",elemToHtml:function(t,e){return"
"}}],parseElemsHtml:[{selector:"hr:not([data-w-e-type])",parseElemHtml:function(t,e,n){return{type:"divider",children:[{text:""}]}}}],menus:[{key:"divider",factory:function(){return new _at}}],editorPlugin:function(t){var e=t.isVoid,n=t.normalizeNode,r=t;return r.isVoid=function(o){return o.type==="divider"||e(o)},r.normalizeNode=function(o){var i=se(o,2),a=i[0],u=i[1];if(A.getNodeType(a)!=="divider")return n([a,u]);A.isLastNode(r,a)&&I.insertNodes(r,A.genEmptyParagraph(),{at:[u[0]+1]})},r}},Nat=Xv.map;xn({target:"Array",proto:!0,forced:!bS("map")},{map:function(t){return Nat(this,t,arguments.length>1?arguments[1]:void 0)}});var Lat=Ft([].join),Rat=Uv!=Object,Mat=XT("join",",");xn({target:"Array",proto:!0,forced:Rat||!Mat},{join:function(t){return Lat(wc(this),t===void 0?",":t)}});var zat=function(){function t(){this.title=nt("codeBlock.title"),this.iconSvg='',this.tag="button"}return t.prototype.getSelectCodeElem=function(e){var n=A.getSelectedNodeByType(e,"code");if(n==null)return null;var r=A.getParentNode(e,n);return r==null||A.getNodeType(r)!=="pre"?null:n},t.prototype.getValue=function(e){var n=this.getSelectCodeElem(e);return n==null?"":n.language||""},t.prototype.isActive=function(e){return!!this.getSelectCodeElem(e)},t.prototype.isDisabled=function(e){if(e.selection==null)return!0;var n=A.getSelectedElems(e);return!!n.some(function(r){return e.isVoid(r)})||!n.some(function(r){var o=A.getNodeType(r);if(o==="pre"||o==="paragraph")return!0})},t.prototype.exec=function(e,n){this.isActive(e)?this.changeToPlainText(e):this.changeToCodeBlock(e,n.toString())},t.prototype.changeToPlainText=function(e){var n=this.getSelectCodeElem(e);if(n!=null){var r=et.string(n);I.removeNodes(e,{mode:"highest"});var o=r.split(`
`).map(function(i){return{type:"paragraph",children:[{text:i}]}});I.insertNodes(e,o,{mode:"highest"})}},t.prototype.changeToCodeBlock=function(e,n){var r,o,i=[],a=E.nodes(e,{match:function(f){return e.children.includes(f)},universal:!0});try{for(var u=KT(a),s=u.next();!s.done;s=u.next()){var l=se(s.value,1)[0];l&&i.push(et.string(l))}}catch(f){r={error:f}}finally{try{s&&!s.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}I.removeNodes(e,{mode:"highest"});var c={type:"pre",children:[{type:"code",language:n,children:[{text:i.join(`
`)}]}]};I.insertNodes(e,c,{mode:"highest"})},t}(),$at={key:"codeBlock",factory:function(){return new zat}};xn({target:"String",proto:!0,forced:Ep("anchor")},{anchor:function(t){return wp(this,"a","name",t)}}),FS("match",function(t,e,n){return[function(r){var o=so(this),i=r==null?void 0:Vv(r,t);return i?Xe(i,r,o):new RegExp(r)[t](Ve(o))},function(r){var o=zr(this),i=Ve(r),a=n(e,o,i);if(a.done)return a.value;if(!o.global)return yp(o,i);var u=o.unicode;o.lastIndex=0;for(var s,l=[],c=0;(s=yp(o,i))!==null;){var f=Ve(s[0]);l[c]=f,f===""&&(o.lastIndex=TS(i,hp(o.lastIndex),u)),c++}return c===0?null:l}]});var Hat={type:"pre",renderElem:function(t,e,n){return Pt("pre",null,e)}},Uat={type:"code",renderElem:function(t,e,n){return Pt("code",null,e)}},Vat={selector:"pre:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=k(t);return(e=e.filter(function(o){return A.getNodeType(o)==="code"})).length===0&&(e=[{type:"code",language:"",children:[{text:r[0].textContent||""}]}]),{type:"pre",children:e.filter(function(o){return A.getNodeType(o)==="code"})}}},Wat={menus:[$at],editorPlugin:function(t){var e=t.insertBreak,n=t.normalizeNode,r=t.insertData;t.insertNode;var o=t;return o.insertBreak=function(){var i=A.getSelectedNodeByType(o,"code");if(i!=null){var a=function(l,c){var f=c.selection;if(f==null)return"";var p=et.string(l),d=f.anchor.offset,y=p.slice(0,d).split(`
`),g=y.length;return g===0?"":y[g-1]}(i,o);if(a){var u=a.match(/^\s+/);if(u!=null&&u[0]!=null){var s=u[0];return void o.insertText(`
`+s)}}o.insertText(`
`)}else e()},o.normalizeNode=function(i){var a=se(i,2),u=a[0],s=a[1],l=A.getNodeType(u);return l==="code"&&s.length<=1&&I.setNodes(o,{type:"paragraph"},{at:s}),l==="pre"&&(A.isLastNode(o,u)&&I.insertNodes(o,A.genEmptyParagraph(),{at:[s[0]+1]}),A.getNodeType(u.children[0])!=="code"&&(I.unwrapNodes(o),I.setNodes(o,{type:"paragraph"},{mode:"highest"}))),n([u,s])},o.insertData=function(i){if(A.getSelectedNodeByType(o,"code")!=null){var a=i.getData("text/plain");E.insertText(o,a)}else r(i)},o},renderElems:[Hat,Uat],elemsToHtml:[{type:"code",elemToHtml:function(t,e){return""+e+"
"}},{type:"pre",elemToHtml:function(t,e){return""+e+"
"}}],preParseHtml:[{selector:"pre>code",preParseHtml:function(t){var e=k(t);if(Bc(e)!=="code")return t;var n=e.find("xmp");if(n.length===0)return t;var r=n.text();return n.remove(),e.text(r),e[0]}}],parseElemsHtml:[{selector:"pre:not([data-w-e-type])>code",parseElemHtml:function(t,e,n){return{type:"code",language:"",children:[{text:k(t)[0].textContent||""}]}}},Vat]},Gat=function(){function t(){this.title=nt("fullScreen.title"),this.iconSvg='',this.tag="button",this.alwaysEnable=!0}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return e.isFullScreen},t.prototype.isDisabled=function(e){return!1},t.prototype.exec=function(e,n){e.isFullScreen?e.unFullScreen():e.fullScreen()},t}(),Kat={menus:[{key:"fullScreen",factory:function(){return new Gat}}]},qat=function(){function t(){this.title=nt("common.enter"),this.iconSvg='',this.tag="button"}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){var n=e.selection;return n==null||!!M.isExpanded(n)},t.prototype.exec=function(e,n){var r=e.selection;if(r!=null){var o=[r.anchor.path[0]];I.insertNodes(e,{type:"paragraph",children:[{text:""}]},{at:o}),e.select(E.start(e,o))}},t}(),Zat=[srt,zrt,yat,Sat,Oat,Bat,cot,Iat,xot,Xrt,Wat,Cot,Irt,Tnt,hot,Pat,Kat,{menus:[{key:"enter",factory:function(){return new qat}}]}];Er("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),Er("zh-CN",{listModule:{unOrderedList:"\u65E0\u5E8F\u5217\u8868",orderedList:"\u6709\u5E8F\u5217\u8868"}});var Uj=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof ot.g!="undefined"?ot.g:typeof self!="undefined"?self:{};function N6(t){var e={exports:{}};return t(e,e.exports),e.exports}var Qa,A1,O1=function(t){return t&&t.Math==Math&&t},jt=O1(typeof globalThis=="object"&&globalThis)||O1(typeof window=="object"&&window)||O1(typeof self=="object"&&self)||O1(typeof Uj=="object"&&Uj)||function(){return this}()||Function("return this")(),Vj=Function.prototype,L6=Vj.bind,R6=Vj.call,Yat=L6&&L6.bind(R6),Zt=L6?function(t){return t&&Yat(R6,t)}:function(t){return t&&function(){return R6.apply(t,arguments)}},Ge=function(t){try{return!!t()}catch(e){return!0}},Xat=Zt({}.toString),Jat=Zt("".slice),Gi=function(t){return Jat(Xat(t),8,-1)},M6=jt.Object,Qat=Zt("".split),Wj=Ge(function(){return!M6("z").propertyIsEnumerable(0)})?function(t){return Gi(t)=="String"?Qat(t,""):M6(t)}:M6,tut=jt.TypeError,k1=function(t){if(t==null)throw tut("Can't call method on "+t);return t},Rc=function(t){return Wj(k1(t))},eut=Object.defineProperty,z6=function(t,e){try{eut(jt,t,{value:e,configurable:!0,writable:!0})}catch(n){jt[t]=e}return e},tu=jt["__core-js_shared__"]||z6("__core-js_shared__",{}),$6=N6(function(t){(t.exports=function(e,n){return tu[e]||(tu[e]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),nut=jt.Object,Lp=function(t){return nut(k1(t))},rut=Zt({}.hasOwnProperty),An=Object.hasOwn||function(t,e){return rut(Lp(t),e)},out=0,iut=Math.random(),aut=Zt(1 .toString),H6=function(t){return"Symbol("+(t===void 0?"":t)+")_"+aut(++out+iut,36)},Ke=function(t){return typeof t=="function"},uut=function(t){return Ke(t)?t:void 0},Rp=function(t,e){return arguments.length<2?uut(jt[t]):jt[t]&&jt[t][e]},U6=Rp("navigator","userAgent")||"",Gj=jt.process,Kj=jt.Deno,qj=Gj&&Gj.versions||Kj&&Kj.version,Zj=qj&&qj.v8;Zj&&(A1=(Qa=Zj.split("."))[0]>0&&Qa[0]<4?1:+(Qa[0]+Qa[1])),!A1&&U6&&(!(Qa=U6.match(/Edge\/(\d+)/))||Qa[1]>=74)&&(Qa=U6.match(/Chrome\/(\d+)/))&&(A1=+Qa[1]);var B1,V6=A1,W6=!!Object.getOwnPropertySymbols&&!Ge(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&V6&&V6<41}),G6=W6&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Mp=$6("wks"),Ms=jt.Symbol,Yj=Ms&&Ms.for,sut=G6?Ms:Ms&&Ms.withoutSetter||H6,Wn=function(t){if(!An(Mp,t)||!W6&&typeof Mp[t]!="string"){var e="Symbol."+t;W6&&An(Ms,t)?Mp[t]=Ms[t]:Mp[t]=G6&&Yj?Yj(e):sut(e)}return Mp[t]},qe=function(t){return typeof t=="object"?t!==null:Ke(t)},lut=jt.String,cut=jt.TypeError,Dr=function(t){if(qe(t))return t;throw cut(lut(t)+" is not an object")},eu=!Ge(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),K6=jt.document,fut=qe(K6)&&qe(K6.createElement),q6=function(t){return fut?K6.createElement(t):{}},Xj=!eu&&!Ge(function(){return Object.defineProperty(q6("div"),"a",{get:function(){return 7}}).a!=7}),zp=Function.prototype.call,On=zp.bind?zp.bind(zp):function(){return zp.apply(zp,arguments)},F1=Zt({}.isPrototypeOf),dut=jt.Object,Z6=G6?function(t){return typeof t=="symbol"}:function(t){var e=Rp("Symbol");return Ke(e)&&F1(e.prototype,dut(t))},put=jt.String,Y6=function(t){try{return put(t)}catch(e){return"Object"}},hut=jt.TypeError,X6=function(t){if(Ke(t))return t;throw hut(Y6(t)+" is not a function")},$p=function(t,e){var n=t[e];return n==null?void 0:X6(n)},gut=jt.TypeError,vut=jt.TypeError,mut=Wn("toPrimitive"),J6=function(t){var e=function(n,r){if(!qe(n)||Z6(n))return n;var o,i=$p(n,mut);if(i){if(r===void 0&&(r="default"),o=On(i,n,r),!qe(o)||Z6(o))return o;throw vut("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,u){var s,l;if(u==="string"&&Ke(s=a.toString)&&!qe(l=On(s,a))||Ke(s=a.valueOf)&&!qe(l=On(s,a))||u!=="string"&&Ke(s=a.toString)&&!qe(l=On(s,a)))return l;throw gut("Can't convert object to primitive value")}(n,r)}(t,"string");return Z6(e)?e:e+""},yut=jt.TypeError,Jj=Object.defineProperty,zs={f:eu?Jj:function(t,e,n){if(Dr(t),e=J6(e),Dr(n),Xj)try{return Jj(t,e,n)}catch(r){}if("get"in n||"set"in n)throw yut("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},but=Math.ceil,wut=Math.floor,Hp=function(t){var e=+t;return e!=e||e===0?0:(e>0?wut:but)(e)},Eut=Math.max,Sut=Math.min,Q6=function(t,e){var n=Hp(t);return n<0?Eut(n+e,0):Sut(n,e)},Cut=Math.min,Qj=function(t){return t>0?Cut(Hp(t),9007199254740991):0},Mc=function(t){return Qj(t.length)},t_=function(t){return function(e,n,r){var o,i=Rc(e),a=Mc(i),u=Q6(r,a);if(t&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},e_={includes:t_(!0),indexOf:t_(!1)},T1={},Dut=e_.indexOf,n_=Zt([].push),r_=function(t,e){var n,r=Rc(t),o=0,i=[];for(n in r)!An(T1,n)&&An(r,n)&&n_(i,n);for(;e.length>o;)An(r,n=e[o++])&&(~Dut(i,n)||n_(i,n));return i},P1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],xut=Object.keys||function(t){return r_(t,P1)},Aut=eu?Object.defineProperties:function(t,e){Dr(t);for(var n,r=Rc(e),o=xut(e),i=o.length,a=0;i>a;)zs.f(t,n=o[a++],r[n]);return t},Out=Rp("document","documentElement"),o_=$6("keys"),t3=function(t){return o_[t]||(o_[t]=H6(t))},i_=t3("IE_PROTO"),e3=function(){},a_=function(t){return""},u_=function(t){t.write(a_("")),t.close();var e=t.parentWindow.Object;return t=null,e},j1=function(){try{B1=new ActiveXObject("htmlfile")}catch(r){}var t,e;j1=typeof document!="undefined"?document.domain&&B1?u_(B1):((e=q6("iframe")).style.display="none",Out.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(a_("document.F=Object")),t.close(),t.F):u_(B1);for(var n=P1.length;n--;)delete j1.prototype[P1[n]];return j1()};T1[i_]=!0;var n3=Object.create||function(t,e){var n;return t!==null?(e3.prototype=Dr(t),n=new e3,e3.prototype=null,n[i_]=t):n=j1(),e===void 0?n:Aut(n,e)},r3=Wn("unscopables"),o3=Array.prototype;o3[r3]==null&&zs.f(o3,r3,{configurable:!0,value:n3(null)});var Up=function(t){o3[r3][t]=!0},zc={},kut=Zt(Function.toString);Ke(tu.inspectSource)||(tu.inspectSource=function(t){return kut(t)});var _1,Vp,I1,i3=tu.inspectSource,s_=jt.WeakMap,l_=Ke(s_)&&/native code/.test(i3(s_)),N1=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},nu=eu?function(t,e,n){return zs.f(t,e,N1(1,n))}:function(t,e,n){return t[e]=n,t},a3=jt.TypeError,But=jt.WeakMap;if(l_||tu.state){var $s=tu.state||(tu.state=new But),Fut=Zt($s.get),c_=Zt($s.has),Tut=Zt($s.set);_1=function(t,e){if(c_($s,t))throw new a3("Object already initialized");return e.facade=t,Tut($s,t,e),e},Vp=function(t){return Fut($s,t)||{}},I1=function(t){return c_($s,t)}}else{var $c=t3("state");T1[$c]=!0,_1=function(t,e){if(An(t,$c))throw new a3("Object already initialized");return e.facade=t,nu(t,$c,e),e},Vp=function(t){return An(t,$c)?t[$c]:{}},I1=function(t){return An(t,$c)}}var Hs,f_,d_,ci={set:_1,get:Vp,has:I1,enforce:function(t){return I1(t)?Vp(t):_1(t,{})},getterFor:function(t){return function(e){var n;if(!qe(e)||(n=Vp(e)).type!==t)throw a3("Incompatible receiver, "+t+" required");return n}}},p_={}.propertyIsEnumerable,h_=Object.getOwnPropertyDescriptor,Put={f:h_&&!p_.call({1:2},1)?function(t){var e=h_(this,t);return!!e&&e.enumerable}:p_},g_=Object.getOwnPropertyDescriptor,v_={f:eu?g_:function(t,e){if(t=Rc(t),e=J6(e),Xj)try{return g_(t,e)}catch(n){}if(An(t,e))return N1(!On(Put.f,t,e),t[e])}},m_=Function.prototype,jut=eu&&Object.getOwnPropertyDescriptor,u3=An(m_,"name"),s3={EXISTS:u3,PROPER:u3&&function(){}.name==="something",CONFIGURABLE:u3&&(!eu||eu&&jut(m_,"name").configurable)},fi=N6(function(t){var e=s3.CONFIGURABLE,n=ci.get,r=ci.enforce,o=String(String).split("String");(t.exports=function(i,a,u,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet,d=s&&s.name!==void 0?s.name:a;Ke(u)&&(String(d).slice(0,7)==="Symbol("&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!An(u,"name")||e&&u.name!==d)&&nu(u,"name",d),(l=r(u)).source||(l.source=o.join(typeof d=="string"?d:""))),i!==jt?(c?!p&&i[a]&&(f=!0):delete i[a],f?i[a]=u:nu(i,a,u)):f?i[a]=u:z6(a,u)})(Function.prototype,"toString",function(){return Ke(this)&&n(this).source||i3(this)})}),_ut=P1.concat("length","prototype"),L1={f:Object.getOwnPropertyNames||function(t){return r_(t,_ut)}},Iut={f:Object.getOwnPropertySymbols},Nut=Zt([].concat),Lut=Rp("Reflect","ownKeys")||function(t){var e=L1.f(Dr(t)),n=Iut.f;return n?Nut(e,n(t)):e},Rut=function(t,e){for(var n=Lut(e),r=zs.f,o=v_.f,i=0;i=e.length?(t.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}},"values");zc.Arguments=zc.Array,Up("keys"),Up("values"),Up("entries");var C_={};C_[Wn("toStringTag")]="z";var h3=String(C_)==="[object z]",ost=Wn("toStringTag"),ist=jt.Object,ast=Gi(function(){return arguments}())=="Arguments",$1=h3?Gi:function(t){var e,n,r;return t===void 0?"Undefined":t===null?"Null":typeof(n=function(o,i){try{return o[i]}catch(a){}}(e=ist(t),ost))=="string"?n:ast?Gi(e):(r=Gi(e))=="Object"&&Ke(e.callee)?"Arguments":r},ust=h3?{}.toString:function(){return"[object "+$1(this)+"]"};h3||fi(Object.prototype,"toString",ust,{unsafe:!0});var sst=jt.String,Ki=function(t){if($1(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return sst(t)},lst=Zt("".charAt),D_=Zt("".charCodeAt),cst=Zt("".slice),x_=function(t){return function(e,n){var r,o,i=Ki(k1(e)),a=Hp(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=D_(i,a))<55296||r>56319||a+1===u||(o=D_(i,a+1))<56320||o>57343?t?lst(i,a):r:t?cst(i,a,a+2):o-56320+(r-55296<<10)+65536}},A_={codeAt:x_(!1),charAt:x_(!0)},fst=A_.charAt,dst=ci.set,pst=ci.getterFor("String Iterator");S_(String,"String",function(t){dst(this,{type:"String Iterator",string:Ki(t),index:0})},function(){var t,e=pst(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=fst(n,r),e.index+=t.length,{value:t,done:!1})});var g3=function(t,e,n){for(var r in e)fi(t,r,e[r],n);return t},hst=jt.Array,gst=Math.max,O_=L1.f,k_=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],vst={f:function(t){return k_&&Gi(t)=="Window"?function(e){try{return O_(e)}catch(n){return function(r,o,i){for(var a,u,s,l,c=Mc(r),f=Q6(void 0,c),p=Q6(c,c),d=hst(gst(p-f,0)),y=0;fi;i++)if((u=m(t[i]))&&F1(j_,u))return u;return new U1(!1)}r=function(h,b){var w=arguments.length<2?T_(h):b;if(X6(w))return Dr(On(w,h));throw Est(Y6(h)+" is not iterable")}(t,o)}for(s=r.next;!(l=On(s,r)).done;){try{u=m(l.value)}catch(h){P_(r,"throw",h)}if(typeof u=="object"&&u&&F1(j_,u))return u}return new U1(!1)},Cst=jt.TypeError,I_=function(t,e){if(F1(e,t))return t;throw Cst("Incorrect invocation")},N_=Wn("iterator"),L_=!1;try{var Dst=0,R_={next:function(){return{done:!!Dst++}},return:function(){L_=!0}};R_[N_]=function(){return this},Array.from(R_,function(){throw 2})}catch(t){}var y3=Array.isArray||function(t){return Gi(t)=="Array"},M_=function(){},xst=[],z_=Rp("Reflect","construct"),b3=/^\s*(?:class|function)\b/,Ast=Zt(b3.exec),Ost=!b3.exec(M_),qp=function(t){if(!Ke(t))return!1;try{return z_(M_,xst,t),!0}catch(e){return!1}},kst=!z_||Ge(function(){var t;return qp(qp.call)||!qp(Object)||!qp(function(){t=!0})||t})?function(t){if(!Ke(t))return!1;switch($1(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Ost||!!Ast(b3,i3(t))}:qp,Bst=Wn("species"),$_=jt.Array,H_=function(t,e){return new(function(n){var r;return y3(n)&&(r=n.constructor,(kst(r)&&(r===$_||y3(r.prototype))||qe(r)&&(r=r[Bst])===null)&&(r=void 0)),r===void 0?$_:r}(t))(e===0?0:e)},U_=Zt([].push),ou=function(t){var e=t==1,n=t==2,r=t==3,o=t==4,i=t==6,a=t==7,u=t==5||i;return function(s,l,c,f){for(var p,d,y=Lp(s),g=Wj(y),v=m3(l,c),m=Mc(g),h=0,b=f||H_,w=e?b(s,m):n||a?b(s,0):void 0;m>h;h++)if((u||h in g)&&(d=v(p=g[h],h,y),t))if(e)w[h]=d;else if(d)switch(t){case 3:return!0;case 5:return p;case 6:return h;case 2:U_(w,p)}else switch(t){case 4:return!1;case 7:U_(w,p)}return i?-1:r||o?o:w}},w3={forEach:ou(0),map:ou(1),filter:ou(2),some:ou(3),every:ou(4),find:ou(5),findIndex:ou(6),filterReject:ou(7)},V1=v3.getWeakData,Fst=ci.set,Tst=ci.getterFor,Pst=w3.find,jst=w3.findIndex,_st=Zt([].splice),Ist=0,W1=function(t){return t.frozen||(t.frozen=new V_)},V_=function(){this.entries=[]},E3=function(t,e){return Pst(t.entries,function(n){return n[0]===e})};V_.prototype={get:function(t){var e=E3(this,t);if(e)return e[1]},has:function(t){return!!E3(this,t)},set:function(t,e){var n=E3(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=jst(this.entries,function(n){return n[0]===t});return~e&&_st(this.entries,e,1),!!~e}};var Zp,W_={getConstructor:function(t,e,n,r){var o=t(function(s,l){I_(s,i),Fst(s,{type:e,id:Ist++,frozen:void 0}),l!=null&&__(l,s[r],{that:s,AS_ENTRIES:n})}),i=o.prototype,a=Tst(e),u=function(s,l,c){var f=a(s),p=V1(Dr(l),!0);return p===!0?W1(f).set(l,c):p[f.id]=c,s};return g3(i,{delete:function(s){var l=a(this);if(!qe(s))return!1;var c=V1(s);return c===!0?W1(l).delete(s):c&&An(c,l.id)&&delete c[l.id]},has:function(s){var l=a(this);if(!qe(s))return!1;var c=V1(s);return c===!0?W1(l).has(s):c&&An(c,l.id)}}),g3(i,n?{get:function(s){var l=a(this);if(qe(s)){var c=V1(s);return c===!0?W1(l).get(s):c?c[l.id]:void 0}},set:function(s,l){return u(this,s,l)}}:{add:function(s){return u(this,s,!0)}}),o}},G1=ci.enforce,Nst=!jt.ActiveXObject&&"ActiveXObject"in jt,G_=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Lst=function(t,e,n){var r=t.indexOf("Map")!==-1,o=t.indexOf("Weak")!==-1,i=r?"set":"add",a=jt[t],u=a&&a.prototype,s=a,l={},c=function(v){var m=Zt(u[v]);fi(u,v,v=="add"?function(h){return m(this,h===0?0:h),this}:v=="delete"?function(h){return!(o&&!qe(h))&&m(this,h===0?0:h)}:v=="get"?function(h){return o&&!qe(h)?void 0:m(this,h===0?0:h)}:v=="has"?function(h){return!(o&&!qe(h))&&m(this,h===0?0:h)}:function(h,b){return m(this,h===0?0:h,b),this})};if(l3(t,!Ke(a)||!(o||u.forEach&&!Ge(function(){new a().entries().next()}))))s=n.getConstructor(e,t,r,i),v3.enable();else if(l3(t,!0)){var f=new s,p=f[i](o?{}:-0,1)!=f,d=Ge(function(){f.has(1)}),y=function(v,m){if(!L_)return!1;var h=!1;try{var b={};b[N_]=function(){return{next:function(){return{done:h=!0}}}},function(w){new a(w)}(b)}catch(w){}return h}(),g=!o&&Ge(function(){for(var v=new a,m=5;m--;)v[i](m,m);return!v.has(-0)});y||((s=e(function(v,m){I_(v,u);var h=function(b,w,S){var D,C;return M1&&Ke(D=w.constructor)&&D!==S&&qe(C=D.prototype)&&C!==S.prototype&&M1(b,C),b}(new a,v,s);return m!=null&&__(m,h[i],{that:h,AS_ENTRIES:r}),h})).prototype=u,u.constructor=s),(d||g)&&(c("delete"),c("has"),r&&c("get")),(g||p)&&c(i),o&&u.clear&&delete u.clear}return l[t]=s,ru({global:!0,forced:s!=a},l),p3(s,t),o||n.setStrong(s,t,r),s}("WeakMap",G_,W_);if(l_&&Nst){Zp=W_.getConstructor(G_,"WeakMap",!0),v3.enable();var Yp=Lst.prototype,K_=Zt(Yp.delete),K1=Zt(Yp.has),q_=Zt(Yp.get),Z_=Zt(Yp.set);g3(Yp,{delete:function(t){if(qe(t)&&!Us(t)){var e=G1(this);return e.frozen||(e.frozen=new Zp),K_(this,t)||e.frozen.delete(t)}return K_(this,t)},has:function(t){if(qe(t)&&!Us(t)){var e=G1(this);return e.frozen||(e.frozen=new Zp),K1(this,t)||e.frozen.has(t)}return K1(this,t)},get:function(t){if(qe(t)&&!Us(t)){var e=G1(this);return e.frozen||(e.frozen=new Zp),K1(this,t)?q_(this,t):e.frozen.get(t)}return q_(this,t)},set:function(t,e){if(qe(t)&&!Us(t)){var n=G1(this);n.frozen||(n.frozen=new Zp),K1(this,t)?Z_(this,t,e):n.frozen.set(t,e)}else Z_(this,t,e);return this}})}var Y_={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},S3=q6("span").classList,X_=S3&&S3.constructor&&S3.constructor.prototype,Rst=X_===Object.prototype?void 0:X_,C3=Wn("iterator"),J_=Wn("toStringTag"),D3=Kp.values,Q_=function(t,e){if(t){if(t[C3]!==D3)try{nu(t,C3,D3)}catch(r){t[C3]=D3}if(t[J_]||nu(t,J_,e),Y_[e]){for(var n in Kp)if(t[n]!==Kp[n])try{nu(t,n,Kp[n])}catch(r){t[n]=Kp[n]}}}};for(var x3 in Y_)Q_(jt[x3]&&jt[x3].prototype,x3);Q_(Rst,"DOMTokenList");var A3=new WeakMap,Mst={type:"list-item",renderElem:function(t,e,n){A3.set(t,n);var r=t,o=r.level,i=o===void 0?0:o,a=r.ordered,u={margin:"5px 0 5px "+20*i+"px"},s="";if(a!==void 0&&a){var l=function(f,p){var d=p,y=d.type,g=d.level,v=g===void 0?0:g,m=d.ordered,h=m!==void 0&&m;if(!h)return-1;var b=1,w=p,S=A.findPath(f,w);if(S[0]===0)return 1;for(;S[0]>0;){var D=_.previous(S),C=E.node(f,D);if(C==null)break;var O=C[0],T=O.level,L=T===void 0?0:T,z=O.type,$=O.ordered;if(z!==y||L=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Xp(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(e===void 0||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function nI(t){return E.nodes(t,{at:t.selection||void 0,match:function(e){return A.findPath(t,e).length===1}})}var zst=e_.includes;ru({target:"Array",proto:!0},{includes:function(t){return zst(this,t,arguments.length>1?arguments[1]:void 0)}}),Up("includes");var rI,k3,$st=function(){var t=Dr(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},B3=jt.RegExp,F3=Ge(function(){var t=B3("a","y");return t.lastIndex=2,t.exec("abcd")!=null}),Hst=F3||Ge(function(){return!B3("a","y").sticky}),Ust={BROKEN_CARET:F3||Ge(function(){var t=B3("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),MISSED_STICKY:Hst,UNSUPPORTED_Y:F3},Vst=jt.RegExp,Wst=Ge(function(){var t=Vst(".","s");return!(t.dotAll&&t.exec(`
`)&&t.flags==="s")}),Gst=jt.RegExp,Kst=Ge(function(){var t=Gst("(?b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$c")!=="bc"}),qst=ci.get,Zst=$6("native-string-replace",String.prototype.replace),q1=RegExp.prototype.exec,T3=q1,Yst=Zt("".charAt),Xst=Zt("".indexOf),Jst=Zt("".replace),P3=Zt("".slice),j3=(k3=/b*/g,On(q1,rI=/a/,"a"),On(q1,k3,"a"),rI.lastIndex!==0||k3.lastIndex!==0),oI=Ust.BROKEN_CARET,_3=/()??/.exec("")[1]!==void 0;(j3||_3||oI||Wst||Kst)&&(T3=function(t){var e,n,r,o,i,a,u,s=this,l=qst(s),c=Ki(t),f=l.raw;if(f)return f.lastIndex=s.lastIndex,e=On(T3,f,c),s.lastIndex=f.lastIndex,e;var p=l.groups,d=oI&&s.sticky,y=On($st,s),g=s.source,v=0,m=c;if(d&&(y=Jst(y,"y",""),Xst(y,"g")===-1&&(y+="g"),m=P3(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&Yst(c,s.lastIndex-1)!==`
`)&&(g="(?: "+g+")",m=" "+m,v++),n=new RegExp("^(?:"+g+")",y)),_3&&(n=new RegExp("^"+g+"$(?!\\s)",y)),j3&&(r=s.lastIndex),o=On(q1,d?n:s,m),d?o?(o.input=P3(o.input,v),o[0]=P3(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:j3&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),_3&&o&&o.length>1&&On(Zst,o[0],n,function(){for(i=1;i',tlt='',elt=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.ordered=!1,n.title=nt("listModule.unOrderedList"),n.iconSvg=Qst,n}return tI(e,t),e}(iI),nlt=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.ordered=!0,n.title=nt("listModule.orderedList"),n.iconSvg=tlt,n}return tI(e,t),e}(iI),rlt={key:"bulletedList",factory:function(){return new elt}},olt={key:"numberedList",factory:function(){return new nlt}},aI=[],ilt={type:"list-item",elemToHtml:function(t,e){var n="",r="",o=t.ordered,i=o!==void 0&&o?"ol":"ul",a=function(l){var c=A3.get(l);if(c==null)return 0;var f=l,p=f.type,d=f.ordered,y=d!==void 0&&d,g=f.level,v=g===void 0?0:g,m=A.findPath(c,l);if(m[0]===0)return v+1;var h=_.previous(m),b=E.node(c,h);if(!b)return 0;var w=Xp(b,1)[0];if(A.getNodeType(w)!==p)return v+1;var S=w,D=S.ordered,C=D!==void 0&&D,O=S.level,T=O===void 0?0:O;return Tv?0:T===v?C===y?0:1:0}(t);if(a>0)for(var u=0;u",aI.push(i);var s=function(l){var c=A3.get(l);if(c==null)return 0;var f=l,p=f.type,d=f.ordered,y=d!==void 0&&d,g=f.level,v=g===void 0?0:g,m=A.findPath(c,l);if(m[0]===c.children.length-1)return v+1;var h=_.next(m),b=E.node(c,h);if(!b)return 0;var w=Xp(b,1)[0];if(A.getNodeType(w)!==p)return v+1;var S=w,D=S.ordered,C=D!==void 0&&D,O=S.level,T=O===void 0?0:O;return Tv?0:T===v?C===y?0:1:0}(t);if(s>0)for(u=0;u";return{html:""+e+"",prefix:n,suffix:r}}},alt=Wn("species"),ult=w3.filter,slt=V6>=51||!Ge(function(){var t=[];return(t.constructor={})[alt]=function(){return{foo:1}},t.filter(Boolean).foo!==1});ru({target:"Array",proto:!0,forced:!slt},{filter:function(t){return ult(this,t,arguments.length>1?arguments[1]:void 0)}});var I3=Function.prototype,uI=I3.apply,llt=I3.bind,sI=I3.call,clt=typeof Reflect=="object"&&Reflect.apply||(llt?sI.bind(uI):function(){return sI.apply(uI,arguments)}),lI=(Wn("species"),RegExp.prototype),flt=A_.charAt,dlt=function(t,e,n){return e+(n?flt(t,e).length:1)},plt=Math.floor,N3=Zt("".charAt),hlt=Zt("".replace),L3=Zt("".slice),glt=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,vlt=/\$([$&'`]|\d{1,2})/g,mlt=function(t,e,n,r,o,i){var a=n+t.length,u=r.length,s=vlt;return o!==void 0&&(o=Lp(o),s=glt),hlt(i,s,function(l,c){var f;switch(N3(c,0)){case"$":return"$";case"&":return t;case"`":return L3(e,0,n);case"'":return L3(e,a);case"<":f=o[L3(c,1,-1)];break;default:var p=+c;if(p===0)return l;if(p>u){var d=plt(p/10);return d===0?l:d<=u?r[d-1]===void 0?N3(c,1):r[d-1]+N3(c,1):l}f=r[p-1]}return f===void 0?"":f})},ylt=jt.TypeError,blt=function(t,e){var n=t.exec;if(Ke(n)){var r=On(n,t,e);return r!==null&&Dr(r),r}if(Gi(t)==="RegExp")return On(Z1,t,e);throw ylt("RegExp#exec called on incompatible receiver")},R3=Wn("replace"),wlt=Math.max,Elt=Math.min,Slt=Zt([].concat),M3=Zt([].push),cI=Zt("".indexOf),fI=Zt("".slice),Clt="a".replace(/./,"$0")==="$0",dI=!!/./[R3]&&/./[R3]("a","$0")==="";(function(t,e,n,r){var o=Wn(t),i=!Ge(function(){var l={};return l[o]=function(){return 7},""[t](l)!=7}),a=i&&!Ge(function(){var l=!1,c=/a/;return c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||n){var u=Zt(/./[o]),s=function(l,c,f){var p=dI?"$":"$0";return[function(d,y){var g=k1(this),v=d==null?void 0:$p(d,R3);return v?On(v,d,g,y):On(c,Ki(g),d,y)},function(d,y){var g=Dr(this),v=Ki(d);if(typeof y=="string"&&cI(y,p)===-1&&cI(y,"$<")===-1){var m=f(c,g,v,y);if(m.done)return m.value}var h=Ke(y);h||(y=Ki(y));var b=g.global;if(b){var w=g.unicode;g.lastIndex=0}for(var S=[];;){var D=blt(g,v);if(D===null||(M3(S,D),!b))break;Ki(D[0])===""&&(g.lastIndex=dlt(v,Qj(g.lastIndex),w))}for(var C,O="",T=0,L=0;L=T&&(O+=fI(v,T,$)+ut,T=$+z.length)}return O+fI(v,T)}]}(0,""[t],function(l,c,f,p,d){var y=Zt(l),g=c.exec;return g===Z1||g===lI.exec?i&&!d?{done:!0,value:u(c,f,p)}:{done:!0,value:y(f,c,p)}:{done:!1}});fi(String.prototype,t,s[0]),fi(lI,o,s[1])}})("replace",0,!!Ge(function(){var t=/./;return t.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(t,"$")!=="7"})||!Clt||dI);var Dlt=jt.TypeError,pI=function(t,e,n,r,o,i,a,u){for(var s,l,c=o,f=0,p=!!a&&m3(a,u);f0&&y3(s))l=Mc(s),c=pI(t,e,s,l,c,i-1)-1;else{if(c>=9007199254740991)throw Dlt("Exceed the acceptable array length");t[c]=s}c++}f++}return c},xlt=pI;function z3(t){return t.length?t[0].tagName.toLowerCase():""}ru({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=Lp(this),n=Mc(e),r=H_(e,0);return r.length=xlt(r,e,e,n,0,t===void 0?1:Hp(t)),r}}),Up("flat"),ru({global:!0},{globalThis:jt}),to&&(k.fn.append=to),Qr&&(k.fn.attr=Qr),Rl&&(k.fn.parent=Rl);var Alt={renderElems:[Mst],editorPlugin:function(t){var e=t.deleteBackward,n=t.handleTab,r=t.normalizeNode,o=t;return o.deleteBackward=function(i){var a=o.selection;if(a!=null)if(M.isExpanded(a))e(i);else{var u=A.getSelectedNodeByType(o,"list-item");if(u!=null)if(a.focus.offset!==0)e(i);else{var s=u.level,l=s===void 0?0:s;l>0?I.setNodes(o,{level:l-1}):I.setNodes(o,{type:"paragraph",ordered:void 0,level:void 0})}else e(i)}else e(i)},o.handleTab=function(){var i,a,u,s,l=o.selection;if(l!=null){if(M.isCollapsed(l)){var c=A.getSelectedNodeByType(o,"list-item");if(c==null)return void n();if(l.focus.offset===0){var f=c.level,p=f===void 0?0:f;return void I.setNodes(o,{level:p+1})}}if(M.isExpanded(l)){var d=0,y=!1;try{for(var g=eI(nI(o)),v=g.next();!v.done;v=g.next()){var m=Xp(v.value,1)[0];A.getNodeType(m)==="list-item"?d++:y=!0}}catch(C){i={error:C}}finally{try{v&&!v.done&&(a=g.return)&&a.call(g)}finally{if(i)throw i.error}}if(y||d<=1)return void n();try{for(var h=eI(nI(o)),b=h.next();!b.done;b=h.next()){var w=Xp(b.value,2),S=(m=w[0],w[1]),D=m.level;p=D===void 0?0:D,I.setNodes(o,{level:p+1},{at:S})}}catch(C){u={error:C}}finally{try{b&&!b.done&&(s=h.return)&&s.call(h)}finally{if(u)throw u.error}}}else n()}else n()},o.normalizeNode=function(i){var a=Xp(i,2),u=a[0],s=a[1],l=A.getNodeType(u);return l!=="bulleted-list"&&l!=="numbered-list"||I.unwrapNodes(o,{at:s}),r([u,s])},o},menus:[rlt,olt],elemsToHtml:[ilt],parseElemsHtml:[{selector:"ul:not([data-w-e-type]),ol:not([data-w-e-type])",parseElemHtml:function(t,e,n){return e.flat(1/0)}},{selector:"li:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=k(t);(e=e.filter(function(a){return!!ft.isText(a)||!!n.isInline(a)})).length===0&&(e=[{text:r.text().replace(/\s+/gm," ")}]);var o=function(a){return z3(a.parent())==="ol"}(r),i=function(a){for(var u=0,s=a.parent(),l=z3(s);l==="ul"||l==="ol";)l=z3(s=s.parent()),u++;return u-1}(r);return{type:"list-item",ordered:o,level:i,children:e}}}]},hI=gr(function(t,e){var n="__lodash_hash_undefined__",r=9007199254740991,o="[object Arguments]",i="[object Array]",a="[object Boolean]",u="[object Date]",s="[object Error]",l="[object Function]",c="[object Map]",f="[object Number]",p="[object Object]",d="[object Promise]",y="[object RegExp]",g="[object Set]",v="[object String]",m="[object Symbol]",h="[object WeakMap]",b="[object ArrayBuffer]",w="[object DataView]",S=/^\[object .+?Constructor\]$/,D=/^(?:0|[1-9]\d*)$/,C={};C["[object Float32Array]"]=C["[object Float64Array]"]=C["[object Int8Array]"]=C["[object Int16Array]"]=C["[object Int32Array]"]=C["[object Uint8Array]"]=C["[object Uint8ClampedArray]"]=C["[object Uint16Array]"]=C["[object Uint32Array]"]=!0,C[o]=C[i]=C[b]=C[a]=C[w]=C[u]=C[s]=C[l]=C[c]=C[f]=C[p]=C[y]=C[g]=C[v]=C[h]=!1;var O=typeof ne=="object"&&ne&&ne.Object===Object&&ne,T=typeof self=="object"&&self&&self.Object===Object&&self,L=O||T||Function("return this")(),z=e&&!e.nodeType&&e,$=z&&t&&!t.nodeType&&t,Y=$&&$.exports===z,G=Y&&O.process,K=function(){try{return G&&G.binding&&G.binding("util")}catch(P){}}(),Z=K&&K.isTypedArray;function ut(P,R){for(var tt=-1,Ct=P==null?0:P.length;++ttH))return!1;var vt=Xt.get(P);if(vt&&Xt.get(R))return vt==R;var re=-1,Ne=!0,Ce=2&tt?new Rn:void 0;for(Xt.set(P,R),Xt.set(R,P);++re-1},ar.prototype.set=function(P,R){var tt=this.__data__,Ct=Tu(tt,P);return Ct<0?(++this.size,tt.push([P,R])):tt[Ct][1]=R,this},pr.prototype.clear=function(){this.size=0,this.__data__={hash:new ir,map:new(Me||ar),string:new ir}},pr.prototype.delete=function(P){var R=Vo(this,P).delete(P);return this.size-=R?1:0,R},pr.prototype.get=function(P){return Vo(this,P).get(P)},pr.prototype.has=function(P){return Vo(this,P).has(P)},pr.prototype.set=function(P,R){var tt=Vo(this,P),Ct=tt.size;return tt.set(P,R),this.size+=tt.size==Ct?0:1,this},Rn.prototype.add=Rn.prototype.push=function(P){return this.__data__.set(P,n),this},Rn.prototype.has=function(P){return this.__data__.has(P)},wo.prototype.clear=function(){this.__data__=new ar,this.size=0},wo.prototype.delete=function(P){var R=this.__data__,tt=R.delete(P);return this.size=R.size,tt},wo.prototype.get=function(P){return this.__data__.get(P)},wo.prototype.has=function(P){return this.__data__.has(P)},wo.prototype.set=function(P,R){var tt=this.__data__;if(tt instanceof ar){var Ct=tt.__data__;if(!Me||Ct.length<199)return Ct.push([P,R]),this.size=++tt.size,this;tt=this.__data__=new pr(Ct)}return tt.set(P,R),this.size=tt.size,this};var Ly=Ht?function(P){return P==null?[]:(P=Object(P),function(R,tt){for(var Ct=-1,Se=R==null?0:R.length,Xt=0,F=[];++Ct-1&&P%1==0&&P-1&&P%1==0&&P<=r}function My(P){var R=typeof P;return P!=null&&(R=="object"||R=="function")}function ju(P){return P!=null&&typeof P=="object"}var Di=Z?function(P){return function(R){return P(R)}}(Z):function(P){return ju(P)&&Ci(P.length)&&!!C[ta(P)]};function zy(P){return(R=P)!=null&&Ci(R.length)&&!S0(R)?w0(P):Uo(P);var R}t.exports=function(P,R){return fl(P,R)}});Er("en",{tableModule:{deleteCol:"Delete column",deleteRow:"Delete row",deleteTable:"Delete table",widthAuto:"Width auto",insertCol:"Insert column",insertRow:"Insert row",insertTable:"Insert table",header:"Header"}}),Er("zh-CN",{tableModule:{deleteCol:"\u5220\u9664\u5217",deleteRow:"\u5220\u9664\u884C",deleteTable:"\u5220\u9664\u8868\u683C",widthAuto:"\u5BBD\u5EA6\u81EA\u9002\u5E94",insertCol:"\u63D2\u5165\u5217",insertRow:"\u63D2\u5165\u884C",insertTable:"\u63D2\u5165\u8868\u683C",header:"\u8868\u5934"}});var gI=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof ot.g!="undefined"?ot.g:typeof self!="undefined"?self:{};function vI(t){var e={exports:{}};return t(e,e.exports),e.exports}var iu,Y1,X1=function(t){return t&&t.Math==Math&&t},Kt=X1(typeof globalThis=="object"&&globalThis)||X1(typeof window=="object"&&window)||X1(typeof self=="object"&&self)||X1(typeof gI=="object"&&gI)||function(){return this}()||Function("return this")(),wn=function(t){try{return!!t()}catch(e){return!0}},au=!wn(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Jp=Function.prototype.call,En=Jp.bind?Jp.bind(Jp):function(){return Jp.apply(Jp,arguments)},mI={}.propertyIsEnumerable,yI=Object.getOwnPropertyDescriptor,Olt={f:yI&&!mI.call({1:2},1)?function(t){var e=yI(this,t);return!!e&&e.enumerable}:mI},$3=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},bI=Function.prototype,H3=bI.bind,U3=bI.call,klt=H3&&H3.bind(U3),Qt=H3?function(t){return t&&klt(U3,t)}:function(t){return t&&function(){return U3.apply(t,arguments)}},Blt=Qt({}.toString),Flt=Qt("".slice),uu=function(t){return Flt(Blt(t),8,-1)},V3=Kt.Object,Tlt=Qt("".split),wI=wn(function(){return!V3("z").propertyIsEnumerable(0)})?function(t){return uu(t)=="String"?Tlt(t,""):V3(t)}:V3,Plt=Kt.TypeError,su=function(t){if(t==null)throw Plt("Can't call method on "+t);return t},Qp=function(t){return wI(su(t))},Gn=function(t){return typeof t=="function"},ho=function(t){return typeof t=="object"?t!==null:Gn(t)},jlt=function(t){return Gn(t)?t:void 0},th=function(t,e){return arguments.length<2?jlt(Kt[t]):Kt[t]&&Kt[t][e]},EI=Qt({}.isPrototypeOf),W3=th("navigator","userAgent")||"",SI=Kt.process,CI=Kt.Deno,DI=SI&&SI.versions||CI&&CI.version,xI=DI&&DI.v8;xI&&(Y1=(iu=xI.split("."))[0]>0&&iu[0]<4?1:+(iu[0]+iu[1])),!Y1&&W3&&(!(iu=W3.match(/Edge\/(\d+)/))||iu[1]>=74)&&(iu=W3.match(/Chrome\/(\d+)/))&&(Y1=+iu[1]);var G3=Y1,K3=!!Object.getOwnPropertySymbols&&!wn(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&G3&&G3<41}),q3=K3&&!Symbol.sham&&typeof Symbol.iterator=="symbol",_lt=Kt.Object,Z3=q3?function(t){return typeof t=="symbol"}:function(t){var e=th("Symbol");return Gn(e)&&EI(e.prototype,_lt(t))},Ilt=Kt.String,AI=function(t){try{return Ilt(t)}catch(e){return"Object"}},Nlt=Kt.TypeError,OI=function(t){if(Gn(t))return t;throw Nlt(AI(t)+" is not a function")},Y3=function(t,e){var n=t[e];return n==null?void 0:OI(n)},Llt=Kt.TypeError,Rlt=Object.defineProperty,X3=function(t,e){try{Rlt(Kt,t,{value:e,configurable:!0,writable:!0})}catch(n){Kt[t]=e}return e},lu=Kt["__core-js_shared__"]||X3("__core-js_shared__",{}),J3=vI(function(t){(t.exports=function(e,n){return lu[e]||(lu[e]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),Mlt=Kt.Object,Q3=function(t){return Mlt(su(t))},zlt=Qt({}.hasOwnProperty),go=Object.hasOwn||function(t,e){return zlt(Q3(t),e)},$lt=0,Hlt=Math.random(),Ult=Qt(1 .toString),kI=function(t){return"Symbol("+(t===void 0?"":t)+")_"+Ult(++$lt+Hlt,36)},eh=J3("wks"),Vs=Kt.Symbol,BI=Vs&&Vs.for,Vlt=q3?Vs:Vs&&Vs.withoutSetter||kI,vo=function(t){if(!go(eh,t)||!K3&&typeof eh[t]!="string"){var e="Symbol."+t;K3&&go(Vs,t)?eh[t]=Vs[t]:eh[t]=q3&&BI?BI(e):Vlt(e)}return eh[t]},Wlt=Kt.TypeError,Glt=vo("toPrimitive"),tC=function(t){var e=function(n,r){if(!ho(n)||Z3(n))return n;var o,i=Y3(n,Glt);if(i){if(r===void 0&&(r="default"),o=En(i,n,r),!ho(o)||Z3(o))return o;throw Wlt("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,u){var s,l;if(u==="string"&&Gn(s=a.toString)&&!ho(l=En(s,a))||Gn(s=a.valueOf)&&!ho(l=En(s,a))||u!=="string"&&Gn(s=a.toString)&&!ho(l=En(s,a)))return l;throw Llt("Can't convert object to primitive value")}(n,r)}(t,"string");return Z3(e)?e:e+""},eC=Kt.document,Klt=ho(eC)&&ho(eC.createElement),nC=function(t){return Klt?eC.createElement(t):{}},FI=!au&&!wn(function(){return Object.defineProperty(nC("div"),"a",{get:function(){return 7}}).a!=7}),TI=Object.getOwnPropertyDescriptor,PI={f:au?TI:function(t,e){if(t=Qp(t),e=tC(e),FI)try{return TI(t,e)}catch(n){}if(go(t,e))return $3(!En(Olt.f,t,e),t[e])}},qlt=Kt.String,Zlt=Kt.TypeError,mo=function(t){if(ho(t))return t;throw Zlt(qlt(t)+" is not an object")},Ylt=Kt.TypeError,jI=Object.defineProperty,nh={f:au?jI:function(t,e,n){if(mo(t),e=tC(e),mo(n),FI)try{return jI(t,e,n)}catch(r){}if("get"in n||"set"in n)throw Ylt("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},Hc=au?function(t,e,n){return nh.f(t,e,$3(1,n))}:function(t,e,n){return t[e]=n,t},Xlt=Qt(Function.toString);Gn(lu.inspectSource)||(lu.inspectSource=function(t){return Xlt(t)});var J1,rh,Q1,rC=lu.inspectSource,_I=Kt.WeakMap,Jlt=Gn(_I)&&/native code/.test(rC(_I)),II=J3("keys"),NI=function(t){return II[t]||(II[t]=kI(t))},oC={},iC=Kt.TypeError,Qlt=Kt.WeakMap;if(Jlt||lu.state){var Ws=lu.state||(lu.state=new Qlt),tct=Qt(Ws.get),LI=Qt(Ws.has),ect=Qt(Ws.set);J1=function(t,e){if(LI(Ws,t))throw new iC("Object already initialized");return e.facade=t,ect(Ws,t,e),e},rh=function(t){return tct(Ws,t)||{}},Q1=function(t){return LI(Ws,t)}}else{var Uc=NI("state");oC[Uc]=!0,J1=function(t,e){if(go(t,Uc))throw new iC("Object already initialized");return e.facade=t,Hc(t,Uc,e),e},rh=function(t){return go(t,Uc)?t[Uc]:{}},Q1=function(t){return go(t,Uc)}}var aC={set:J1,get:rh,has:Q1,enforce:function(t){return Q1(t)?rh(t):J1(t,{})},getterFor:function(t){return function(e){var n;if(!ho(e)||(n=rh(e)).type!==t)throw iC("Incompatible receiver, "+t+" required");return n}}},RI=Function.prototype,nct=au&&Object.getOwnPropertyDescriptor,uC=go(RI,"name"),sC={EXISTS:uC,PROPER:uC&&function(){}.name==="something",CONFIGURABLE:uC&&(!au||au&&nct(RI,"name").configurable)},oh=vI(function(t){var e=sC.CONFIGURABLE,n=aC.get,r=aC.enforce,o=String(String).split("String");(t.exports=function(i,a,u,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet,d=s&&s.name!==void 0?s.name:a;Gn(u)&&(String(d).slice(0,7)==="Symbol("&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!go(u,"name")||e&&u.name!==d)&&Hc(u,"name",d),(l=r(u)).source||(l.source=o.join(typeof d=="string"?d:""))),i!==Kt?(c?!p&&i[a]&&(f=!0):delete i[a],f?i[a]=u:Hc(i,a,u)):f?i[a]=u:X3(a,u)})(Function.prototype,"toString",function(){return Gn(this)&&n(this).source||rC(this)})}),rct=Math.ceil,oct=Math.floor,tm=function(t){var e=+t;return e!=e||e===0?0:(e>0?oct:rct)(e)},ict=Math.max,act=Math.min,ih=function(t,e){var n=tm(t);return n<0?ict(n+e,0):act(n,e)},uct=Math.min,lC=function(t){return t>0?uct(tm(t),9007199254740991):0},em=function(t){return lC(t.length)},MI=function(t){return function(e,n,r){var o,i=Qp(e),a=em(i),u=ih(r,a);if(t&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},sct=(MI(!0),MI(!1)),zI=Qt([].push),$I=function(t,e){var n,r=Qp(t),o=0,i=[];for(n in r)!go(oC,n)&&go(r,n)&&zI(i,n);for(;e.length>o;)go(r,n=e[o++])&&(~sct(i,n)||zI(i,n));return i},nm=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],lct=nm.concat("length","prototype"),cct={f:Object.getOwnPropertyNames||function(t){return $I(t,lct)}},fct={f:Object.getOwnPropertySymbols},dct=Qt([].concat),pct=th("Reflect","ownKeys")||function(t){var e=cct.f(mo(t)),n=fct.f;return n?dct(e,n(t)):e},hct=function(t,e){for(var n=pct(e),r=nh.f,o=PI.f,i=0;i3})},{anchor:function(t){return e=t,n=er(su(this)),r=""+n+"";var e,n,r}});var rm,UI=function(){var t=mo(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},dC=Kt.RegExp,pC=wn(function(){var t=dC("a","y");return t.lastIndex=2,t.exec("abcd")!=null}),kct=pC||wn(function(){return!dC("a","y").sticky}),VI={BROKEN_CARET:pC||wn(function(){var t=dC("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),MISSED_STICKY:kct,UNSUPPORTED_Y:pC},Bct=Object.keys||function(t){return $I(t,nm)},Fct=au?Object.defineProperties:function(t,e){mo(t);for(var n,r=Qp(e),o=Bct(e),i=o.length,a=0;i>a;)nh.f(t,n=o[a++],r[n]);return t},Tct=th("document","documentElement"),WI=NI("IE_PROTO"),hC=function(){},GI=function(t){return""},KI=function(t){t.write(GI("")),t.close();var e=t.parentWindow.Object;return t=null,e},om=function(){try{rm=new ActiveXObject("htmlfile")}catch(r){}var t,e;om=typeof document!="undefined"?document.domain&&rm?KI(rm):((e=nC("iframe")).style.display="none",Tct.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(GI("document.F=Object")),t.close(),t.F):KI(rm);for(var n=nm.length;n--;)delete om.prototype[nm[n]];return om()};oC[WI]=!0;var qI,gC,ZI=Object.create||function(t,e){var n;return t!==null?(hC.prototype=mo(t),n=new hC,hC.prototype=null,n[WI]=t):n=om(),e===void 0?n:Fct(n,e)},Pct=Kt.RegExp,jct=wn(function(){var t=Pct(".","s");return!(t.dotAll&&t.exec(`
`)&&t.flags==="s")}),_ct=Kt.RegExp,Ict=wn(function(){var t=_ct("(?b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$c")!=="bc"}),Nct=aC.get,Lct=J3("native-string-replace",String.prototype.replace),im=RegExp.prototype.exec,vC=im,Rct=Qt("".charAt),Mct=Qt("".indexOf),zct=Qt("".replace),mC=Qt("".slice),yC=(gC=/b*/g,En(im,qI=/a/,"a"),En(im,gC,"a"),qI.lastIndex!==0||gC.lastIndex!==0),YI=VI.BROKEN_CARET,bC=/()??/.exec("")[1]!==void 0;(yC||bC||YI||jct||Ict)&&(vC=function(t){var e,n,r,o,i,a,u,s=this,l=Nct(s),c=er(t),f=l.raw;if(f)return f.lastIndex=s.lastIndex,e=En(vC,f,c),s.lastIndex=f.lastIndex,e;var p=l.groups,d=YI&&s.sticky,y=En(UI,s),g=s.source,v=0,m=c;if(d&&(y=zct(y,"y",""),Mct(y,"g")===-1&&(y+="g"),m=mC(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&Rct(c,s.lastIndex-1)!==`
`)&&(g="(?: "+g+")",m=" "+m,v++),n=new RegExp("^(?:"+g+")",y)),bC&&(n=new RegExp("^"+g+"$(?!\\s)",y)),yC&&(r=s.lastIndex),o=En(im,d?n:s,m),d?o?(o.input=mC(o.input,v),o[0]=mC(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:yC&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),bC&&o&&o.length>1&&En(Lct,o[0],n,function(){for(i=1;i=51||!wn(function(){var e=[];return(e.constructor={})[Vct]=function(){return{foo:1}},e[t](Boolean).foo!==1})},Wct=Qt([].slice),Gct=SC("slice"),Kct=vo("species"),CC=Kt.Array,qct=Math.max;function Lo(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(e===void 0||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function tN(t){var e=t.selection;if(e==null)return!1;var n=Lo(E.nodes(t,{match:function(i){return A.checkNodeType(i,"table-cell")}}),1)[0];if(n){var r=Lo(n,2)[1],o=E.start(t,r);if(Ut.equals(e.anchor,o))return!0}return!1}function eN(t,e){var n,r,o=E.nodes(t,{at:e,match:function(s){return A.getNodeType(s)==="table"}}),i=!1;try{for(var a=function(s){var l=typeof Symbol=="function"&&Symbol.iterator,c=l&&s[l],f=0;if(c)return c.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&f>=s.length&&(s=void 0),{value:s&&s[f++],done:!s}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")}(o),u=a.next();!u.done;u=a.next())u.value,i=!0}catch(s){n={error:s}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i}cu({target:"Array",proto:!0,forced:!Gct},{slice:function(t,e){var n,r,o,i=Qp(this),a=em(i),u=ih(t,a),s=ih(e===void 0?a:e,a);if(am(i)&&(n=i.constructor,(EC(n)&&(n===CC||am(n.prototype))||ho(n)&&(n=n[Kct])===null)&&(n=void 0),n===CC||n===void 0))return Wct(i,u,s);for(r=new(n===void 0?CC:n)(qct(s-u,0)),o=0;uh;h++)if((u||h in g)&&(d=v(p=g[h],h,y),t))if(e)w[h]=d;else if(d)switch(t){case 3:return!0;case 5:return p;case 6:return h;case 2:oN(w,p)}else switch(t){case 4:return!1;case 7:oN(w,p)}return i?-1:r||o?o:w}},um={forEach:fu(0),map:fu(1),filter:fu(2),some:fu(3),every:fu(4),find:fu(5),findIndex:fu(6),filterReject:fu(7)},Xct=um.map;cu({target:"Array",proto:!0,forced:!SC("map")},{map:function(t){return Xct(this,t,arguments.length>1?arguments[1]:void 0)}});var Jct=cC?{}.toString:function(){return"[object "+fC(this)+"]"};function sm(t){var e=t.children||[];return e.length===0?[]:(e[0]||{}).children||[]}function iN(t){return sm(t).every(function(e){return!!e.isHeader})}cC||oh(Object.prototype,"toString",Jct,{unsafe:!0});var Qct=sC.PROPER,DC=RegExp.prototype,aN=DC.toString,tft=Qt(UI),eft=wn(function(){return aN.call({source:"a",flags:"b"})!="/a/b"}),nft=Qct&&aN.name!="toString";(eft||nft)&&oh(RegExp.prototype,"toString",function(){var t=mo(this),e=er(t.source),n=t.flags;return"/"+e+"/"+er(n===void 0&&EI(DC,t)&&!("flags"in DC)?tft(t):n)},{unsafe:!0});var xC=vo("unscopables"),AC=Array.prototype;AC[xC]==null&&nh.f(AC,xC,{configurable:!0,value:ZI(null)});var rft=um.find,uN=!0;"find"in[]&&Array(1).find(function(){uN=!1}),cu({target:"Array",proto:!0,forced:uN},{find:function(t){return rft(this,t,arguments.length>1?arguments[1]:void 0)}}),AC[xC].find=!0;var OC=Function.prototype,sN=OC.apply,oft=OC.bind,lN=OC.call,cN=typeof Reflect=="object"&&Reflect.apply||(oft?lN.bind(sN):function(){return lN.apply(sN,arguments)}),ift=vo("species"),kC=RegExp.prototype,fN=function(t,e,n,r){var o=vo(t),i=!wn(function(){var l={};return l[o]=function(){return 7},""[t](l)!=7}),a=i&&!wn(function(){var l=!1,c=/a/;return t==="split"&&((c={}).constructor={},c.constructor[ift]=function(){return c},c.flags="",c[o]=/./[o]),c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||n){var u=Qt(/./[o]),s=e(o,""[t],function(l,c,f,p,d){var y=Qt(l),g=c.exec;return g===uh||g===kC.exec?i&&!d?{done:!0,value:u(c,f,p)}:{done:!0,value:y(f,c,p)}:{done:!1}});oh(String.prototype,t,s[0]),oh(kC,o,s[1])}r&&Hc(kC[o],"sham",!0)},aft=vo("match"),uft=Kt.TypeError,sft=vo("species"),lft=Qt("".charAt),dN=Qt("".charCodeAt),cft=Qt("".slice),pN=function(t){return function(e,n){var r,o,i=er(su(e)),a=tm(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=dN(i,a))<55296||r>56319||a+1===u||(o=dN(i,a+1))<56320||o>57343?t?lft(i,a):r:t?cft(i,a,a+2):o-56320+(r-55296<<10)+65536}},fft=(pN(!1),pN(!0)),hN=function(t,e,n){return e+(n?fft(t,e).length:1)},dft=Kt.Array,pft=Math.max,gN=function(t,e,n){for(var r=em(t),o=ih(e,r),i=ih(n===void 0?r:n,r),a=dft(pft(i-o,0)),u=0;o1||"".split(/.?/).length?function(o,i){var a,u,s=er(su(this)),l=i===void 0?4294967295:i>>>0;if(l===0)return[];if(o===void 0)return[s];if(!ho(a=o)||!((u=a[aft])!==void 0?u:uu(a)=="RegExp"))return En(e,s,o,l);for(var c,f,p,d=[],y=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(o.sticky?"y":""),g=0,v=new RegExp(o.source,y+"g");(c=En(uh,v,s))&&!((f=v.lastIndex)>g&&(Wc(d,lh(s,g,c.index)),c.length>1&&c.index=l));)v.lastIndex===c.index&&v.lastIndex++;return g===s.length?!p&&vft(v,"")||Wc(d,""):Wc(d,lh(s,g)),d.length>l?gN(d,0,l):d}:"0".split(void 0,0).length?function(o,i){return o===void 0&&i===0?[]:En(e,this,o,i)}:e,[function(o,i){var a=su(this),u=o==null?void 0:Y3(o,t);return u?En(u,o,a,i):En(r,er(a),o,i)},function(o,i){var a=mo(this),u=er(o),s=n(r,a,u,i,r!==e);if(s.done)return s.value;var l=function(w,S){var D,C=mo(w).constructor;return C===void 0||(D=mo(C)[sft])==null?S:function(O){if(EC(O))return O;throw uft(AI(O)+" is not a constructor")}(D)}(a,RegExp),c=a.unicode,f=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Vc?"g":"y"),p=new l(Vc?"^(?:"+a.source+")":a,f),d=i===void 0?4294967295:i>>>0;if(d===0)return[];if(u.length===0)return BC(p,u)===null?[u]:[];for(var y=0,g=0,v=[];g=0,v=Ut.compare(f,y)<=0&&Ut.compare(f,d)>=0;return!!(g&&v&&_.equals(c.path.slice(0,3),f.path.slice(0,3)))}(n,t),o=t.width,i=o===void 0?"auto":o,a=Pt("div",{className:"table-container","data-selected":A.isNodeSelected(n,t),on:{mousedown:function(u){if(u.target.tagName==="DIV"&&u.preventDefault(),!n.isDisabled()){var s=A.findPath(n,t),l=E.start(n,s),c=n.selection;c!=null?c.anchor.path[0]!==s[0]&&n.select(l):n.select(l)}}}},Pt("table",{width:i,contentEditable:r},Pt("colgroup",null,sm(t).map(function(u){var s=u.width;return Pt("col",{width:s===void 0?"auto":s})})),Pt("tbody",null,e)));return a}},Cft={type:"table-row",renderElem:function(t,e,n){return Pt("tr",null,e)}},Dft={type:"table-cell",renderElem:function(t,e,n){var r=function(p,d){var y=A.getParentNode(p,d);if(y==null)return!1;var g=A.getParentNode(p,y);return g!=null&&sm(g).some(function(v){return v===d})}(n,t),o=t,i=o.colSpan,a=i===void 0?1:i,u=o.rowSpan,s=u===void 0?1:u,l=o.isHeader,c=l!==void 0&&l;if(!r)return Pt("td",{colSpan:a,rowSpan:s},e);var f=Pt(c?"th":"td",{colSpan:a,rowSpan:s,style:{borderRightWidth:"3px"},on:{mousemove:ns(function(p){var d=this.elm;if(d!=null){var y=d.getBoundingClientRect(),g=y.left,v=y.width,m=y.top,h=y.height,b=p.clientX,w=p.clientY;ch||(b>g+v-5&&bm&&w1?arguments[1]:void 0)}});var Oft=Math.floor,PC=Qt("".charAt),kft=Qt("".replace),jC=Qt("".slice),Bft=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Fft=/\$([$&'`]|\d{1,2})/g,Tft=function(t,e,n,r,o,i){var a=n+t.length,u=r.length,s=Fft;return o!==void 0&&(o=Q3(o),s=Bft),kft(i,s,function(l,c){var f;switch(PC(c,0)){case"$":return"$";case"&":return t;case"`":return jC(e,0,n);case"'":return jC(e,a);case"<":f=o[jC(c,1,-1)];break;default:var p=+c;if(p===0)return l;if(p>u){var d=Oft(p/10);return d===0?l:d<=u?r[d-1]===void 0?PC(c,1):r[d-1]+PC(c,1):l}f=r[p-1]}return f===void 0?"":f})},_C=vo("replace"),Pft=Math.max,jft=Math.min,_ft=Qt([].concat),IC=Qt([].push),CN=Qt("".indexOf),DN=Qt("".slice),Ift="a".replace(/./,"$0")==="$0",xN=!!/./[_C]&&/./[_C]("a","$0")==="";fN("replace",function(t,e,n){var r=xN?"$":"$0";return[function(o,i){var a=su(this),u=o==null?void 0:Y3(o,_C);return u?En(u,o,a,i):En(e,er(a),o,i)},function(o,i){var a=mo(this),u=er(o);if(typeof i=="string"&&CN(i,r)===-1&&CN(i,"$<")===-1){var s=n(e,a,u,i);if(s.done)return s.value}var l=Gn(i);l||(i=er(i));var c=a.global;if(c){var f=a.unicode;a.lastIndex=0}for(var p=[];;){var d=BC(a,u);if(d===null||(IC(p,d),!c))break;er(d[0])===""&&(a.lastIndex=hN(u,lC(a.lastIndex),f))}for(var y,g="",v=0,m=0;m=v&&(g+=DN(u,v,b)+O,v=b+h.length)}return g+DN(u,v)}]},!!wn(function(){var t=/./;return t.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(t,"$")!=="7"})||!Ift||xN);var Nft={selector:"td:not([data-w-e-type]),th:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=k(t);(e=e.filter(function(u){return!!ft.isText(u)||!!n.isInline(u)})).length===0&&(e=[{text:r.text().replace(/\s+/gm," ")}]);var o=parseInt(r.attr("colSpan")||"1"),i=parseInt(r.attr("rowSpan")||"1"),a=r.attr("width")||"auto";return{type:"table-cell",isHeader:yN(r)==="th",colSpan:o,rowSpan:i,width:a,children:e}}},Lft={selector:"tr:not([data-w-e-type])",parseElemHtml:function(t,e,n){return{type:"table-row",children:e.filter(function(r){return A.getNodeType(r)==="table-cell"})}}},Rft={selector:"table:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=k(t),o="auto";return function(i,a){for(var u="",s=(i.attr("style")||"").split(";"),l=s.length,c=0;c',this.tag="button",this.showDropPanel=!0,this.$content=null}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.exec=function(e,n){},t.prototype.isDisabled=function(e){var n=e.selection;return n==null||!M.isCollapsed(n)||!!A.getSelectedElems(e).some(function(r){var o=A.getNodeType(r);return o==="pre"||o==="table"||o==="list-item"||!!e.isVoid(r)})},t.prototype.getPanelContentElem=function(e){var n=this;if(this.$content)return this.$content[0];for(var r=k(''),o=k("0 × 0"),i=k(""),a=0;a<10;a++){for(var u=k("
"),s=0;s<10;s++){var l=k(" | ");l.attr("data-x",s.toString()),l.attr("data-y",a.toString()),u.append(l),l.on("mouseenter",function(c){var f=c.target;if(f!=null){var p=k(f).dataset(),d=p.x,y=p.y;o[0].innerHTML=d+1+" × "+(y+1),i.children().each(function(g){k(g).children().each(function(v){var m=k(v),h=m.dataset(),b=h.x,w=h.y;b<=d&&w<=y?m.addClass("active"):m.removeClass("active")})})}}),l.on("click",function(c){c.preventDefault();var f=c.target;if(f!=null){var p=k(f).dataset(),d=p.x,y=p.y;n.insertTable(e,y+1,d+1)}})}i.append(u)}return r.append(i),r.append(o),this.$content=r,r[0]},t.prototype.insertTable=function(e,n,r){var o=parseInt(n,10),i=parseInt(r,10);if(o&&i&&!(o<=0||i<=0)){A.isSelectedEmptyParagraph(e)&&I.removeNodes(e,{mode:"highest"});var a=function(u,s){for(var l=[],c=0;c',this.tag="button"}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){return e.selection==null||A.getSelectedNodeByType(e,"table")==null},t.prototype.exec=function(e,n){this.isDisabled(e)||I.removeNodes(e,{mode:"highest"})},t}(),$ft=function(){function t(){this.title=nt("tableModule.insertRow"),this.iconSvg='',this.tag="button"}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){var n=e.selection;return n==null||!M.isCollapsed(n)||A.getSelectedNodeByType(e,"table")==null},t.prototype.exec=function(e,n){if(!this.isDisabled(e)){var r=Lo(E.nodes(e,{match:function(d){return A.checkNodeType(d,"table-cell")},universal:!0}),1),o=Lo(r[0],2),i=o[0],a=o[1],u=A.getParentNode(e,i),s=(u==null?void 0:u.children.length)||0;if(s!==0){for(var l={type:"table-row",children:[]},c=0;c',this.tag="button"}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){var n=e.selection;return n==null||!M.isCollapsed(n)||A.getSelectedNodeByType(e,"table-row")==null},t.prototype.exec=function(e,n){if(!this.isDisabled(e)){var r=Lo(E.nodes(e,{match:function(s){return A.checkNodeType(s,"table-row")},universal:!0}),1),o=Lo(r[0],2),i=o[0],a=o[1],u=A.getParentNode(e,i);((u==null?void 0:u.children.length)||0)<=1?I.removeNodes(e,{mode:"highest"}):I.removeNodes(e,{at:a})}},t}(),AN={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},NC=nC("span").classList,ON=NC&&NC.constructor&&NC.constructor.prototype,Uft=ON===Object.prototype?void 0:ON,Vft=um.forEach,Wft=function(t,e){var n=[].forEach;return!!n&&wn(function(){n.call(null,function(){throw 1},1)})}(),LC=Wft?[].forEach:function(t){return Vft(this,t,arguments.length>1?arguments[1]:void 0)},kN=function(t){if(t&&t.forEach!==LC)try{Hc(t,"forEach",LC)}catch(e){t.forEach=LC}};for(var RC in AN)AN[RC]&&kN(Kt[RC]&&Kt[RC].prototype);kN(Uft);var Gft=function(){function t(){this.title=nt("tableModule.insertCol"),this.iconSvg='',this.tag="button"}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){var n=e.selection;return n==null||!M.isCollapsed(n)||A.getSelectedNodeByType(e,"table")==null},t.prototype.exec=function(e,n){if(!this.isDisabled(e)){var r=Lo(E.nodes(e,{match:function(l){return A.checkNodeType(l,"table-cell")},universal:!0}),1),o=Lo(r[0],2),i=o[0],a=o[1],u=A.getParentNode(e,i);if(u!=null){var s=A.getParentNode(e,u);s!=null&&(s.children||[]).forEach(function(l,c){bt.isElement(l)&&(l.children||[]).forEach(function(f){var p=A.findPath(e,f);if(p.length===a.length&&hI(p.slice(-1),a.slice(-1))){var d={type:"table-cell",children:[{text:""}]};c===0&&iN(s)&&(d.isHeader=!0),I.insertNodes(e,d,{at:p})}})})}}},t}(),Kft=function(){function t(){this.title=nt("tableModule.deleteCol"),this.iconSvg='',this.tag="button"}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){var n=e.selection;return n==null||!M.isCollapsed(n)||A.getSelectedNodeByType(e,"table-cell")==null},t.prototype.exec=function(e,n){if(!this.isDisabled(e)){var r=Lo(E.nodes(e,{match:function(c){return A.checkNodeType(c,"table-cell")},universal:!0}),1),o=Lo(r[0],2),i=o[0],a=o[1],u=A.getParentNode(e,i),s=(u==null?void 0:u.children.length)||0;if(!u||s<=1)I.removeNodes(e,{mode:"highest"});else{var l=A.getParentNode(e,u);l!=null&&(l.children||[]).forEach(function(c){bt.isElement(c)&&(c.children||[]).forEach(function(f){var p=A.findPath(e,f);p.length===a.length&&hI(p.slice(-1),a.slice(-1))&&I.removeNodes(e,{at:p})})})}}},t}(),qft=function(){function t(){this.title=nt("tableModule.header"),this.iconSvg='',this.tag="button"}return t.prototype.getValue=function(e){var n=A.getSelectedNodeByType(e,"table");return n!=null&&iN(n)},t.prototype.isActive=function(e){return!!this.getValue(e)},t.prototype.isDisabled=function(e){var n=e.selection;return n==null||!M.isCollapsed(n)||A.getSelectedNodeByType(e,"table")==null},t.prototype.exec=function(e,n){if(!this.isDisabled(e)){var r=!n,o=A.getSelectedNodeByType(e,"table");o!=null&&sm(o).forEach(function(i){return I.setNodes(e,{isHeader:r},{at:A.findPath(e,i)})})}},t}(),Zft=function(){function t(){this.title=nt("tableModule.widthAuto"),this.iconSvg='',this.tag="button"}return t.prototype.getValue=function(e){var n=A.getSelectedNodeByType(e,"table");return n!=null&&n.width==="100%"},t.prototype.isActive=function(e){return!!this.getValue(e)},t.prototype.isDisabled=function(e){var n=e.selection;return n==null||!M.isCollapsed(n)||A.getSelectedNodeByType(e,"table")==null},t.prototype.exec=function(e,n){if(!this.isDisabled(e)){var r={width:n?"auto":"100%"};I.setNodes(e,r,{mode:"highest"})}},t}(),Yft={renderElems:[Sft,Cft,Dft],elemsToHtml:[{type:"table",elemToHtml:function(t,e){var n=t.width;return'"}},{type:"table-row",elemToHtml:function(t,e){return""+e+"
"}},{type:"table-cell",elemToHtml:function(t,e){var n=t,r=n.colSpan,o=r===void 0?1:r,i=n.rowSpan,a=i===void 0?1:i,u=n.isHeader,s=u!==void 0&&u,l=n.width,c=s?"th":"td";return"<"+c+' colSpan="'+o+'" rowSpan="'+a+'" width="'+(l===void 0?"auto":l)+'">'+e+""+c+">"}}],preParseHtml:[xft],parseElemsHtml:[Nft,Lft,Rft],menus:[{key:"insertTable",factory:function(){return new Mft}},{key:"deleteTable",factory:function(){return new zft}},{key:"insertTableRow",factory:function(){return new $ft}},{key:"deleteTableRow",factory:function(){return new Hft}},{key:"insertTableCol",factory:function(){return new Gft}},{key:"deleteTableCol",factory:function(){return new Kft}},{key:"tableHeader",factory:function(){return new qft}},{key:"tableFullWidth",factory:function(){return new Zft}}],editorPlugin:function(t){var e=t.insertBreak,n=t.deleteBackward,r=t.deleteForward,o=t.normalizeNode,i=t.insertData,a=t.handleTab,u=t.selectAll,s=t;return s.insertBreak=function(){A.getSelectedNodeByType(s,"table")==null?e():s.insertText(`
`)},s.deleteBackward=function(l){if(!tN(s)){var c=s.selection;if(c){var f=E.before(s,c);if(f){var p=eN(s,f),d=eN(s,c);if(p&&!d)return}}n(l)}},s.handleTab=function(){var l;if(A.getSelectedNodeByType(s,"table")){var c=E.above(t);A.checkNodeType(c[0],"table-cell")&&I.select(t,c[1]);var f=E.next(t);if(f)f[0]&&f[0].text&&(f=(l=E.above(t,{at:f[1]}))!==null&&l!==void 0?l:f),I.select(t,f[1]);else{var p=s.children||[],d=p.length;if(A.checkNodeType(p[d-1],"table")){var y=A.genEmptyParagraph();I.insertNodes(s,y,{at:[d]}),s.handleTab()}}}else a()},s.deleteForward=function(l){tN(s)||r(l)},s.normalizeNode=function(l){var c=Lo(l,2),f=c[0],p=c[1];if(A.getNodeType(f)!=="table")return o([f,p]);if(A.isLastNode(s,f)){var d=A.genEmptyParagraph();I.insertNodes(s,d,{at:[p[0]+1]})}},s.insertData=function(l){if(A.getSelectedNodeByType(s,"table")!=null){var c=l.getData("text/plain");c===`
`||/]+>/.test(l.getData("text/html"))?i(l):E.insertText(s,c)}else i(l)},s.selectAll=function(){var l=s.selection;if(l!=null){var c=A.getSelectedNodeByType(s,"table-cell");if(c!=null){var f=l.anchor,p=l.focus;if(_.equals(f.path.slice(0,3),p.path.slice(0,3)))if(et.string(c).length!==0){var d=A.findPath(s,c),y={anchor:E.start(s,d),focus:E.end(s,d)};s.select(y)}else u();else u()}else u()}else u()},s}};Er("en",{videoModule:{delete:"Delete",uploadVideo:"Upload video",insertVideo:"Insert video",videoSrc:"Video source",videoSrcPlaceHolder:"Video file url, or third-party =S.reach);ut+=Z.value.length,Z=Z.next){var yt=Z.value;if(m.length>v.length)return;if(!(yt instanceof u)){var mt,gt=1;if($){if(!(mt=s(K,ut,v,z)))break;var B=mt.index,x=mt.index+mt[0].length,j=ut;for(j+=Z.value.length;B>=j;)j+=(Z=Z.next).value.length;if(ut=j-=Z.value.length,Z.value instanceof u)continue;for(var U=Z;U!==m.tail&&(jS.reach&&(S.reach=Dt);var Tt=Z.prev;if(W&&(Tt=f(m,Tt,W),ut+=W.length),p(m,Tt,gt),Z=f(m,Tt,new u(D,L?a.tokenize(X,L):X,Y,X)),dt&&f(m,Z,dt),gt>1){var Rt={cause:D+","+O,reach:Dt};l(v,m,h,Z.prev,ut,Rt),S&&Rt.reach>S.reach&&(S.reach=Rt.reach)}}}}}}function c(){var v={value:null,prev:null,next:null},m={value:null,prev:v,next:null};v.next=m,this.head=v,this.tail=m,this.length=0}function f(v,m,h){var b=m.next,w={value:h,prev:m,next:b};return m.next=w,b.prev=w,v.length++,w}function p(v,m,h){for(var b=m.next,w=0;w"+w.content+""+w.tag+">"},!n.document)return n.addEventListener&&(a.disableWorkerMessageHandler||n.addEventListener("message",function(v){var m=JSON.parse(v.data),h=m.language,b=m.code,w=m.immediateClose;n.postMessage(a.highlight(b,a.languages[h],h)),w&&n.close()},!1)),a;var d=a.util.currentScript();function y(){a.manual||a.highlightAll()}if(d&&(a.filename=d.src,d.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var g=document.readyState;g==="loading"||g==="interactive"&&d&&d.defer?document.addEventListener("DOMContentLoaded",y):window.requestAnimationFrame?window.requestAnimationFrame(y):window.setTimeout(y,16)}return a}(typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{});/**
* Prism: Lightweight, robust, elegant syntax highlighting
*
* @license MIT
* @author Lea Verou
* @namespace
* @public
*/t.exports&&(t.exports=e),Cy!==void 0&&(Cy.Prism=e),e.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(n){n.type==="entity"&&(n.attributes.title=n.content.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(n,r){var o={};o["language-"+r]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[r]},o.cdata=/^$/i;var i={"included-cdata":{pattern://i,inside:o}};i["language-"+r]={pattern:/[\s\S]+/,inside:e.languages[r]};var a={};a[n]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return n}),"i"),lookbehind:!0,greedy:!0,inside:i},e.languages.insertBefore("markup","cdata",a)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(n,r){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+n+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[r,"language-"+r],inside:e.languages[r]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml,function(n){var r=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+r.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+r.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+r.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:r,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},n.languages.css.atrule.inside.rest=n.languages.css;var o=n.languages.markup;o&&(o.tag.addInlined("style","css"),o.tag.addAttribute("style","css"))}(e),e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},e.languages.javascript=e.languages.extend("clike",{"class-name":[e.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript,function(){if(e!==void 0&&typeof document!="undefined"){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var n={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},r="data-src-status",o='pre[data-src]:not([data-src-status="loaded"]):not([data-src-status="loading"])',i=/\blang(?:uage)?-([\w-]+)\b/i;e.hooks.add("before-highlightall",function(s){s.selector+=", "+o}),e.hooks.add("before-sanity-check",function(s){var l=s.element;if(l.matches(o)){s.code="",l.setAttribute(r,"loading");var c=l.appendChild(document.createElement("CODE"));c.textContent="Loading\u2026";var f=l.getAttribute("data-src"),p=s.language;if(p==="none"){var d=(/\.(\w+)$/.exec(f)||[,"none"])[1];p=n[d]||d}u(c,p),u(l,p);var y=e.plugins.autoloader;y&&y.loadLanguages(p);var g=new XMLHttpRequest;g.open("GET",f,!0),g.onreadystatechange=function(){g.readyState==4&&(g.status<400&&g.responseText?(l.setAttribute(r,"loaded"),c.textContent=g.responseText,e.highlightElement(c)):(l.setAttribute(r,"failed"),g.status>=400?c.textContent="\u2716 Error "+g.status+" while fetching file: "+g.statusText:c.textContent="\u2716 Error: File does not exist or is empty"))},g.send(null)}}),e.plugins.fileHighlight={highlight:function(s){for(var l,c=(s||document).querySelectorAll(o),f=0;l=c[f++];)e.highlightElement(l)}};var a=!1;e.fileHighlight=function(){a||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),a=!0),e.plugins.fileHighlight.highlight.apply(this,arguments)}}function u(s,l){var c=s.className;c=c.replace(i," ")+" language-"+l,s.className=c.replace(/\s+/g," ").trim()}}()});(function(t){var e=t.util.clone(t.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function i(s,l){return s=s.replace(//g,function(){return n}).replace(//g,function(){return r}).replace(//g,function(){return o}),RegExp(s,l)}o=i(o).source,t.languages.jsx=t.languages.extend("markup",e),t.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),t.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/i,t.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/i,t.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,t.languages.jsx.tag.inside.comment=e.comment,t.languages.insertBefore("inside","attr-name",{spread:{pattern:i(//.source),inside:t.languages.jsx}},t.languages.jsx.tag),t.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=/.source),inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:t.languages.jsx},alias:"language-javascript"}},t.languages.jsx.tag);var a=function(s){return s?typeof s=="string"?s:typeof s.content=="string"?s.content:s.content.map(a).join(""):""},u=function(s){for(var l=[],c=0;c0&&l[l.length-1].tagName===a(f.content[0].content[1])&&l.pop():f.content[f.content.length-1].content==="/>"||l.push({tagName:a(f.content[0].content[1]),openedBraces:0}):l.length>0&&f.type==="punctuation"&&f.content==="{"?l[l.length-1].openedBraces++:l.length>0&&l[l.length-1].openedBraces>0&&f.type==="punctuation"&&f.content==="}"?l[l.length-1].openedBraces--:p=!0),(p||typeof f=="string")&&l.length>0&&l[l.length-1].openedBraces===0){var d=a(f);c0&&(typeof s[c-1]=="string"||s[c-1].type==="plain-text")&&(d=a(s[c-1])+d,s.splice(c-1,1),c--),s[c]=new t.Token("plain-text",d,null,d)}f.content&&typeof f.content!="string"&&u(f.content)}};t.hooks.add("after-tokenize",function(s){s.language!=="jsx"&&s.language!=="tsx"||u(s.tokens)})})(Prism),function(t){t.languages.typescript=t.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/}),t.languages.typescript.keyword.push(/\b(?:abstract|as|declare|implements|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete t.languages.typescript.parameter;var e=t.languages.extend("typescript",{});delete e["class-name"],t.languages.typescript["class-name"].inside=e,t.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e}}}}),t.languages.ts=t.languages.typescript}(Prism),Prism.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(t){t.type==="entity"&&(t.attributes.title=t.content.replace(/&/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(t,e){var n={};n["language-"+e]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[e]},n.cdata=/^$/i;var r={"included-cdata":{pattern://i,inside:n}};r["language-"+e]={pattern:/[\s\S]+/,inside:Prism.languages[e]};var o={};o[t]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(t,e){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[e,"language-"+e],inside:Prism.languages[e]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml,Prism.languages.go=Prism.languages.extend("clike",{string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|iota|nil|true|false)\b/,number:/(?:\b0x[a-f\d]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[-+]?\d+)?)i?/i,operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:bool|byte|complex(?:64|128)|error|float(?:32|64)|rune|string|u?int(?:8|16|32|64)?|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(?:ln)?|real|recover)\b/}),delete Prism.languages.go["class-name"],function(t){var e=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],r=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,o=/=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,i=/[{}\[\](),:;]/;t.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:e,variable:/\$+(?:\w+\b|(?=\{))/i,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:bool|boolean|int|integer|float|string|object|array)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:bool|int|float|string|object|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*[\w|]\|\s*)(?:null|false)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?[\w|]\|\s*)(?:null|false)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:null|false)\b/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:__halt_compiler|abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|namespace|match|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:r,operator:o,punctuation:i};var a={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:t.languages.php},u=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:a}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:a}}];t.languages.insertBefore("php","variable",{string:u,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:e,string:u,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:r,operator:o,punctuation:i}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),t.hooks.add("before-tokenize",function(s){/<\?/.test(s.code)&&t.languages["markup-templating"].buildPlaceholders(s,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/gi)}),t.hooks.add("after-tokenize",function(s){t.languages["markup-templating"].tokenizePlaceholders(s,"php")})}(Prism),Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:__attribute__|_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}},constant:/\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/}),delete Prism.languages.c.boolean,Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},"string-interpolation":{pattern:/(?:f|rf|fr)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|rb|br)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|rb|br)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/im,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:True|False|None)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python,function(t){var e=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};t.languages.java=t.languages.extend("clike",{"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:e,function:[t.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),t.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"}}),t.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:e,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return e.source})),lookbehind:!0,inside:{punctuation:/\./}}})}(Prism),function(t){var e=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char8_t|char16_t|char32_t|class|compl|concept|const|consteval|constexpr|constinit|const_cast|continue|co_await|co_return|co_yield|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return e.source});t.languages.cpp=t.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return e.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:e,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:true|false)\b/}),t.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:module|import)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return n})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),t.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t.languages.cpp}}}}),t.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),t.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:t.languages.extend("cpp",{})}}),t.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},t.languages.cpp["base-clause"])}(Prism),function(t){function e(x,j){return x.replace(/<<(\d+)>>/g,function(U,X){return"(?:"+j[+X]+")"})}function n(x,j,U){return RegExp(e(x,j),U||"")}function r(x,j){for(var U=0;U>/g,function(){return"(?:"+x+")"});return x.replace(/<>/g,"[^\\s\\S]")}var o="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",i="class enum interface record struct",a="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",u="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function s(x){return"\\b(?:"+x.trim().replace(/ /g,"|")+")\\b"}var l=s(i),c=RegExp(s(o+" "+i+" "+a+" "+u)),f=s(i+" "+a+" "+u),p=s(o+" "+i+" "+u),d=r(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),y=r(/\((?:[^()]|<>)*\)/.source,2),g=/@?\b[A-Za-z_]\w*\b/.source,v=e(/<<0>>(?:\s*<<1>>)?/.source,[g,d]),m=e(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[f,v]),h=/\[\s*(?:,\s*)*\]/.source,b=e(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[m,h]),w=e(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[d,y,h]),S=e(/\(<<0>>+(?:,<<0>>+)+\)/.source,[w]),D=e(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[S,m,h]),C={keyword:c,punctuation:/[<>()?,.:[\]]/},O=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,T=/"(?:\\.|[^\\"\r\n])*"/.source,L=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;t.languages.csharp=t.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[L]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[T]),lookbehind:!0,greedy:!0},{pattern:RegExp(O),greedy:!0,alias:"character"}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[m]),lookbehind:!0,inside:C},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,D]),lookbehind:!0,inside:C},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[g]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[l,v]),lookbehind:!0,inside:C},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[m]),lookbehind:!0,inside:C},{pattern:n(/(\bwhere\s+)<<0>>/.source,[g]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[b]),lookbehind:!0,inside:C},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[D,p,g]),inside:C}],keyword:c,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:ul|lu|[dflmu])?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),t.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),t.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[g]),lookbehind:!0,alias:"punctuation"}}),t.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[g]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|typeof|sizeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[y]),lookbehind:!0,alias:"class-name",inside:C},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[D,m]),inside:C,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[D]),lookbehind:!0,inside:C,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[g,d]),inside:{function:n(/^<<0>>/.source,[g]),generic:{pattern:RegExp(d),alias:"class-name",inside:C}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[l,v,g,D,c.source,y,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[v,y]),lookbehind:!0,greedy:!0,inside:t.languages.csharp},keyword:c,"class-name":{pattern:RegExp(D),greedy:!0,inside:C},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var z=T+"|"+O,$=e(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[z]),Y=r(e(/[^"'/()]|<<0>>|\(<>*\)/.source,[$]),2),G=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,K=e(/<<0>>(?:\s*\(<<1>>*\))?/.source,[m,Y]);t.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[G,K]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[G]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[Y]),inside:t.languages.csharp},"class-name":{pattern:RegExp(m),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var Z=/:[^}\r\n]+/.source,ut=r(e(/[^"'/()]|<<0>>|\(<>*\)/.source,[$]),2),yt=e(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[ut,Z]),mt=r(e(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[z]),2),gt=e(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[mt,Z]);function B(x,j){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[x]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[j,Z]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:t.languages.csharp}}},string:/[\s\S]+/}}t.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[yt]),lookbehind:!0,greedy:!0,inside:B(yt,ut)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[gt]),lookbehind:!0,greedy:!0,inside:B(gt,mt)}]})}(Prism),Prism.languages.dotnet=Prism.languages.cs=Prism.languages.csharp,Prism.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:[^\S\r\n]_[^\S\r\n]*(?:\r\n?|\n)|.)+/i,alias:"comment",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[^\S\r\n]*(?:\d+([/-])\d+\1\d+(?:[^\S\r\n]+(?:\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?))?|\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?)[^\S\r\n]*#/i,alias:"builtin"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:U?[ILS]|[FRD])?/i,boolean:/\b(?:True|False|Nothing)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Until|Xor)\b/i,operator:[/[+\-*/\\^<=>@$%!]/,{pattern:/([^\S\r\n])_(?=[^\S\r\n]*[\r\n])/,lookbehind:!0}],punctuation:/[{}().,:?]/},Prism.languages.vb=Prism.languages["visual-basic"],Prism.languages.vba=Prism.languages["visual-basic"],Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:S|ING)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:TRUE|FALSE|NULL)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|IN|ILIKE|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(t){t.languages.ruby=t.languages.extend("clike",{comment:[/#.*/,{pattern:/^=begin\s[\s\S]*?^=end/m,greedy:!0}],"class-name":{pattern:/(\b(?:class)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|protected|private|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/});var e={pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"tag"},rest:t.languages.ruby}};delete t.languages.ruby.function,t.languages.insertBefore("ruby","keyword",{regex:[{pattern:RegExp(/%r/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S])*\)/.source,/\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S])*\]/.source,/<(?:[^<>\\]|\\[\s\S])*>/.source].join("|")+")"+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:e}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:e}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:{pattern:/(^|[^:]):[a-zA-Z_]\w*(?:[?!]|\b)/,lookbehind:!0},"method-definition":{pattern:/(\bdef\s+)[\w.]+/,lookbehind:!0,inside:{function:/\w+$/,rest:t.languages.ruby}}}),t.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|Fixnum|Float|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\b/,constant:/\b[A-Z]\w*(?:[?!]|\b)/}),t.languages.ruby.string=[{pattern:RegExp(/%[qQiIwWxs]?/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S])*\)/.source,/\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S])*\]/.source,/<(?:[^<>\\]|\\[\s\S])*>/.source].join("|")+")"),greedy:!0,inside:{interpolation:e}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:e}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|[a-z_]\w*$/i,alias:"symbol",inside:{punctuation:/^<<[-~]?/}},interpolation:e}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|[a-z_]\w*$/i,alias:"symbol",inside:{punctuation:/^<<[-~]?'|'$/}}}}],t.languages.rb=t.languages.ruby}(Prism),Prism.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:true|false)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:true|false)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},Prism.languages.swift["string-literal"].forEach(function(t){t.inside.interpolation.inside=Prism.languages.swift}),function(t){var e="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+e),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+e),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/};t.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+e),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+e),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|break|cd|continue|eval|exec|exit|export|getopts|hash|pwd|readonly|return|shift|test|times|trap|umask|unset|alias|bind|builtin|caller|command|declare|echo|enable|help|let|local|logout|mapfile|printf|read|readarray|source|type|typeset|ulimit|unalias|set|shopt)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=t.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=r.variable[1].inside,a=0;a/g,function(){return e}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+l+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;t.languages.markdown=t.languages.extend("markup",{}),t.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"font-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:t.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+i+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+i+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:t.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:t.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(l){["url","bold","italic","strike","code-snippet"].forEach(function(c){l!==c&&(t.languages.markdown[l].inside.content.inside[c]=t.languages.markdown[c])})}),t.hooks.add("after-tokenize",function(l){l.language!=="markdown"&&l.language!=="md"||function c(f){if(f&&typeof f!="string")for(var p=0,d=f.length;p",quot:'"'},s=String.fromCodePoint||String.fromCharCode;t.languages.md=t.languages.markdown}(Prism),Prism.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/},Prism.languages.groovy=Prism.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:as|def|in|abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),Prism.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),Prism.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:setup|given|when|then|and|cleanup|expect|where):/}),Prism.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),Prism.hooks.add("wrap",function(t){if(t.language==="groovy"&&t.type==="string"){var e=t.content[0];if(e!="'"){var n=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;e==="$"&&(n=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),t.content=t.content.replace(/</g,"<").replace(/&/g,"&"),t.content=Prism.highlight(t.content,{expression:{pattern:n,lookbehind:!0,inside:Prism.languages.groovy}}),t.classes.push(e==="/"?"regex":"gstring")}}});var emt=["comment","prolog","doctype","cdata","punctuation","namespace","property","tag","boolean","number","constant","symbol","deleted","selector","attr-name","string","builtin","inserted","operator","entity","url","string","atrule","attr-value","keyword","function","class-name","regex","important","variable","bold","italic","entity","char"];function y$(t){return typeof t=="string"?t.length:typeof t.content=="string"?t.content.length:t.content.reduce(function(e,n){return e+y$(n)},0)}var jy,nmt=Yt.String,Ji=function(t){if(Hx(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return nmt(t)},b$=function(){var t=zo(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},Jx=Yt.RegExp,Qx=Nn(function(){var t=Jx("a","y");return t.lastIndex=2,t.exec("abcd")!=null}),rmt=Qx||Nn(function(){return!Jx("a","y").sticky}),w$={BROKEN_CARET:Qx||Nn(function(){var t=Jx("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),MISSED_STICKY:rmt,UNSUPPORTED_Y:Qx},omt=bi?Object.defineProperties:function(t,e){zo(t);for(var n,r=By(e),o=Py(e),i=o.length,a=0;i>a;)Ay.f(t,n=o[a++],r[n]);return t},imt=f0("document","documentElement"),E$=Vz("IE_PROTO"),t8=function(){},S$=function(t){return""},C$=function(t){t.write(S$("")),t.close();var e=t.parentWindow.Object;return t=null,e},_y=function(){try{jy=new ActiveXObject("htmlfile")}catch(r){}var t,e;_y=typeof document!="undefined"?document.domain&&jy?C$(jy):((e=jx("iframe")).style.display="none",imt.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(S$("document.F=Object")),t.close(),t.F):C$(jy);for(var n=Fy.length;n--;)delete _y.prototype[Fy[n]];return _y()};Rx[E$]=!0;var D$,e8,amt=Object.create||function(t,e){var n;return t!==null?(t8.prototype=zo(t),n=new t8,t8.prototype=null,n[E$]=t):n=_y(),e===void 0?n:omt(n,e)},umt=Yt.RegExp,smt=Nn(function(){var t=umt(".","s");return!(t.dotAll&&t.exec(`
`)&&t.flags==="s")}),lmt=Yt.RegExp,cmt=Nn(function(){var t=lmt("(?b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$c")!=="bc"}),fmt=zx.get,dmt=Dx("native-string-replace",String.prototype.replace),Iy=RegExp.prototype.exec,n8=Iy,pmt=ye("".charAt),hmt=ye("".indexOf),gmt=ye("".replace),r8=ye("".slice),o8=(e8=/b*/g,kn(Iy,D$=/a/,"a"),kn(Iy,e8,"a"),D$.lastIndex!==0||e8.lastIndex!==0),x$=w$.BROKEN_CARET,i8=/()??/.exec("")[1]!==void 0;(o8||i8||x$||smt||cmt)&&(n8=function(t){var e,n,r,o,i,a,u,s=this,l=fmt(s),c=Ji(t),f=l.raw;if(f)return f.lastIndex=s.lastIndex,e=kn(n8,f,c),s.lastIndex=f.lastIndex,e;var p=l.groups,d=x$&&s.sticky,y=kn(b$,s),g=s.source,v=0,m=c;if(d&&(y=gmt(y,"y",""),hmt(y,"g")===-1&&(y+="g"),m=r8(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&pmt(c,s.lastIndex-1)!==`
`)&&(g="(?: "+g+")",m=" "+m,v++),n=new RegExp("^(?:"+g+")",y)),i8&&(n=new RegExp("^"+g+"$(?!\\s)",y)),o8&&(r=s.lastIndex),o=kn(Iy,d?n:s,m),d?o?(o.input=r8(o.input,v),o[0]=r8(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:o8&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),i8&&o&&o.length>1&&kn(dmt,o[0],n,function(){for(i=1;i=u?t?"":void 0:(r=k$(i,a))<55296||r>56319||a+1===u||(o=k$(i,a+1))<56320||o>57343?t?Smt(i,a):r:t?Cmt(i,a,a+2):o-56320+(r-55296<<10)+65536}},Dmt=(B$(!1),B$(!0)),xmt=function(t,e,n){return e+(n?Dmt(t,e).length:1)},Amt=Yt.Array,Omt=Math.max,F$=function(t,e,n){for(var r,o,i,a,u=Kx(t),s=Xx(e,u),l=Xx(n===void 0?u:n,u),c=Amt(Omt(l-s,0)),f=0;s1||"".split(/.?/).length?function(d,y){var g,v,m=Ji(hf(this)),h=y===void 0?4294967295:y>>>0;if(h===0)return[];if(d===void 0)return[m];if(!Mo(g=d)||!((v=g[bmt])!==void 0?v:Bu(g)=="RegExp"))return kn(c,m,d,h);for(var b,w,S,D=[],C=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(d.sticky?"y":""),O=0,T=new RegExp(d.source,C+"g");(b=kn(y0,T,m))&&!((w=T.lastIndex)>O&&(bf(D,b0(m,O,b.index)),b.length>1&&b.index=h));)T.lastIndex===b.index&&T.lastIndex++;return O===m.length?!S&&Fmt(T,"")||bf(D,""):bf(D,b0(m,O)),D.length>h?F$(D,0,h):D}:"0".split(void 0,0).length?function(d,y){return d===void 0&&y===0?[]:kn(c,this,d,y)}:c,[function(d,y){var g=hf(this),v=d==null?void 0:zz(d,l);return v?kn(v,d,g,y):kn(p,Ji(g),d,y)},function(d,y){var g=zo(this),v=Ji(d),m=f(p,g,v,y,p!==c);if(m.done)return m.value;var h=function(Y,G){var K,Z=zo(Y).constructor;return Z===void 0||(K=zo(Z)[Emt])==null?G:function(ut){if(n$(ut))return ut;throw wmt(Rz(ut)+" is not a constructor")}(K)}(g,RegExp),b=g.unicode,w=(g.ignoreCase?"i":"")+(g.multiline?"m":"")+(g.unicode?"u":"")+(yf?"g":"y"),S=new h(yf?"^(?:"+g.source+")":g,w),D=y===void 0?4294967295:y>>>0;if(D===0)return[];if(v.length===0)return T$(S,v)===null?[v]:[];for(var C=0,O=0,T=[];O',this.tag="select",this.width=95,this.selectPanelWidth=115}return t.prototype.getOptions=function(e){var n=[],r=e.getMenuConfig("codeSelectLang").codeLangs,o=r===void 0?[]:r;n.push({text:"plain text",value:""}),o.forEach(function(a){var u=a.text,s=a.value;n.push({text:u,value:s})});var i=this.getValue(e);return n.forEach(function(a){a.value===i?a.selected=!0:delete a.selected}),n},t.prototype.isActive=function(e){return!1},t.prototype.getValue=function(e){var n=this.getSelectCodeElem(e);if(n==null||!bt.isElement(n))return"";var r=n.language.toString(),o=e.getMenuConfig("codeSelectLang").codeLangs;return(o===void 0?[]:o).some(function(i){return i.value===r})?r:""},t.prototype.isDisabled=function(e){return e.selection==null||!this.getSelectCodeElem(e)},t.prototype.exec=function(e,n){if(this.getSelectCodeElem(e)!=null){var r={language:n.toString()};I.setNodes(e,r,{match:function(o){return A.checkNodeType(o,"code")}})}},t.prototype.getSelectCodeElem=function(e){var n=A.getSelectedNodeByType(e,"code");if(n==null)return null;var r=A.getParentNode(e,n);return bt.isElement(r)?r.type!=="pre"?null:n:null},t}(),Nmt={renderStyle:function(t,e){var n=t,r=e,o="";return emt.forEach(function(i){n[i]&&(o=i)}),o&&function(i,a){i.data==null&&(i.data={});var u=i.data;u.props==null&&(u.props={}),Object.assign(u.props,{className:a})}(r,o="token "+o),r},parseStyleHtml:function(t,e,n){var r=k(t);if(!bt.isElement(e)||A.getNodeType(e)!=="code")return e;var o=e,i=r.attr("class")||"";return i.indexOf("language-")===0?o.language=i.split("-")[1]||"":o.language=i.toLowerCase(),o},menus:[{key:"codeSelectLang",factory:function(){return new Imt},config:{codeLangs:[{text:"CSS",value:"css"},{text:"HTML",value:"html"},{text:"XML",value:"xml"},{text:"Javascript",value:"javascript"},{text:"Typescript",value:"typescript"},{text:"JSX",value:"jsx"},{text:"Go",value:"go"},{text:"PHP",value:"php"},{text:"C",value:"c"},{text:"Python",value:"python"},{text:"Java",value:"java"},{text:"C++",value:"cpp"},{text:"C#",value:"csharp"},{text:"Visual Basic",value:"visual-basic"},{text:"SQL",value:"sql"},{text:"Ruby",value:"ruby"},{text:"Swift",value:"swift"},{text:"Bash",value:"bash"},{text:"Lua",value:"lua"},{text:"Groovy",value:"groovy"},{text:"Markdown",value:"markdown"}]}}],elemsToHtml:[{type:"code",elemToHtml:function(t,e){var n=t.language,r=n===void 0?"":n;return""+e+"
"}}]},Lmt=/"/g,Rmt=ye("".replace);Ty({target:"String",proto:!0,forced:Nn(function(){var t="".anchor('"');return t!==t.toLowerCase()||t.split('"').length>3})},{anchor:function(t){return e=t,n=Ji(hf(this)),r=""+n+"";var e,n,r}});var _$=function(t){var e,n,r,o=function(m,h){var b=typeof Symbol=="function"&&m[Symbol.iterator];if(!b)return m;var w,S,D=b.call(m),C=[];try{for(;(h===void 0||h-- >0)&&!(w=D.next()).done;)C.push(w.value)}catch(O){S={error:O}}finally{try{w&&!w.done&&(b=D.return)&&b.call(D)}finally{if(S)throw S.error}}return C}(t,2),i=o[0],a=o[1],u=[],s=function(m){if(!ft.isText(m))return null;var h=A.getParentNode(null,m);if(h&&A.getNodeType(h)==="code"){var b=A.getParentNode(null,h);if(b&&A.getNodeType(b)==="pre")return h}return null}(i);if(s==null)return u;var l=s.language,c=l===void 0?"":l;if(!c)return u;var f=function(m,h){if(!h)return[];var b=m$.languages[h];return b?m$.tokenize(m.text,b):[]}(i,c),p=0;try{for(var d=function(m){var h=typeof Symbol=="function"&&Symbol.iterator,b=h&&m[h],w=0;if(b)return b.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&w>=m.length&&(m=void 0),{value:m&&m[w++],done:!m}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")}(f),y=d.next();!y.done;y=d.next()){var g=y.value,v=p+y$(g);typeof g!="string"&&u.push(((r={})[g.type]=!0,r.anchor={path:a,offset:p},r.focus={path:a,offset:v},r)),p=v}}catch(m){e={error:m}}finally{try{y&&!y.done&&(n=d.return)&&n.call(d)}finally{if(e)throw e.error}}return u},Ze=function(){return Ze=Object.assign||function(t){for(var e,n=1,r=arguments.length;n',N$={link:{menuKeys:["editLink","unLink","viewLink"]},image:{menuKeys:["imageWidth30","imageWidth50","imageWidth100","editImage","viewImageLink","deleteImage"]},pre:{menuKeys:["enter","codeBlock","codeSelectLang"]},table:{menuKeys:["enter","tableHeader","tableFullWidth","insertTableRow","deleteTableRow","insertTableCol","deleteTableCol","deleteTable"]},divider:{menuKeys:["enter"]},video:{menuKeys:["enter","editVideoSize"]}},Mmt={hoverbarKeys:Ze(Ze({},N$),{text:{menuKeys:["headerSelect","insertLink","bulletedList","|","bold","through","color","bgColor","clearStyle"]}})};Ln.setEditorConfig(Ze(Ze({},Mmt),{decorate:_$}));var zmt={hoverbarKeys:N$};Ln.setSimpleEditorConfig(Ze(Ze({},zmt),{decorate:_$}));var $mt={toolbarKeys:["headerSelect","blockquote","|","bold","underline","italic",{key:"group-more-style",title:nt("editor.more"),iconSvg:'',menuKeys:["through","code","sup","sub","clearStyle"]},"color","bgColor","|","fontSize","fontFamily","lineHeight","|","bulletedList","numberedList","todo",{key:"group-justify",title:nt("editor.justify"),iconSvg:'',menuKeys:["justifyLeft","justifyRight","justifyCenter","justifyJustify"]},{key:"group-indent",title:nt("editor.indent"),iconSvg:'',menuKeys:["indent","delIndent"]},"|","emotion","insertLink",{key:"group-image",title:nt("editor.image"),iconSvg:I$,menuKeys:["insertImage","uploadImage"]},{key:"group-video",title:nt("editor.video"),iconSvg:'',menuKeys:["insertVideo","uploadVideo"]},"insertTable","codeBlock","divider","|","undo","redo","|","fullScreen"]};Ln.setToolbarConfig($mt);var Hmt={toolbarKeys:["blockquote","header1","header2","header3","|","bold","underline","italic","through","color","bgColor","clearStyle","|","bulletedList","numberedList","todo","justifyLeft","justifyRight","justifyCenter","|","insertLink",{key:"group-image",title:nt("editor.image"),iconSvg:I$,menuKeys:["insertImage","uploadImage"]},"insertVideo","insertTable","codeBlock","|","undo","redo","|","fullScreen"]};function Umt(t){t===void 0&&(t={});var e=t.selector,n=e===void 0?"":e,r=t.content,o=r===void 0?[]:r,i=t.html,a=t.config,u=a===void 0?{}:a,s=t.mode,l=(s===void 0?"default":s)==="simple"?Ln.simpleEditorConfig:Ln.editorConfig,c=Ze(Ze({},l.hoverbarKeys||{}),u.hoverbarKeys||{});return ett({selector:n,config:Ze(Ze(Ze({},l),u),{hoverbarKeys:c}),content:o,html:i,plugins:Ln.plugins})}function Vmt(t){var e=t.selector,n=t.editor,r=t.config,o=r===void 0?{}:r,i=t.mode,a=i===void 0?"default":i;if(!e)throw new Error("Cannot find 'selector' when create toolbar");var u=a==="simple"?Ln.simpleToolbarConfig:Ln.toolbarConfig,s=function(l,c){if(l==null)throw new Error("Cannot create toolbar, because editor is null");var f=c.selector,p=c.config,d=p===void 0?{}:p;if(function(v,m){return XB(v,"data-w-e-toolbar",m)}(l,f))throw new Error("Repeated create toolbar by selector '"+f+"'");var y=oo({toolbarKeys:[],excludeKeys:[],insertKeys:{index:0,keys:[]},modalAppendToBody:!1},d||{}),g=new att(f,y);return z4.set(g,l),wv.set(l,g),g}(n,{selector:e,config:Ze(Ze({},u),o)});return s}Ln.setSimpleToolbarConfig(Hmt);var Xmt={};/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var Ny=function(){return Ny=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function Wmt(t){var e=t.defaultContent,n=e===void 0?[]:e,r=t.onCreated,o=t.defaultHtml,i=o===void 0?"":o,a=t.value,u=a===void 0?"":a,s=t.onChange,l=t.defaultConfig,c=l===void 0?{}:l,f=t.mode,p=f===void 0?"default":f,d=t.style,y=d===void 0?{}:d,g=t.className,v=(0,We.useRef)(null),m=L$((0,We.useState)(null),2),h=m[0],b=m[1],w=L$((0,We.useState)(""),2),S=w[0],D=w[1],C=function(L){r&&r(L);var z=c.onCreated;z&&z(L)},O=function(L){D(L.getHtml()),s&&s(L);var z=c.onChange;z&&z(L)},T=function(L){var z=c.onDestroyed;b(null),z&&z(L)};return(0,We.useEffect)(function(){if(h!=null&&u!==S)try{h.setHtml(u)}catch(L){console.error(L)}},[u]),(0,We.useEffect)(function(){var L;if(v.current!=null&&h==null&&!((L=v.current)===null||L===void 0?void 0:L.getAttribute("data-w-e-textarea"))){var z=Umt({selector:v.current,config:Ny(Ny({},c),{onCreated:C,onChange:O,onDestroyed:T}),content:n,html:i||u,mode:p});b(z)}},[h]),We.createElement("div",{style:y,ref:v,className:g})}function Gmt(t){var e=t.editor,n=t.defaultConfig,r=n===void 0?{}:n,o=t.mode,i=o===void 0?"default":o,a=t.style,u=a===void 0?{}:a,s=t.className,l=(0,We.useRef)(null);return(0,We.useEffect)(function(){l.current!=null&&e!=null&&Vmt({editor:e,selector:l.current,config:r,mode:i})},[e]),We.createElement("div",{style:u,ref:l,className:s})}},77933:function(D0,hl,ot){"use strict";ot.d(hl,{Z:function(){return T0}});var We=ot(96156),ne=ot(85061),cn=ot(22122),gr=ot(6610),Mn=ot(5991),zn=ot(10379),kr=ot(44144),It=ot(94184),Go=ot.n(It),xt=ot(67294),Ky=ot(53124),x0=ot(88258),A0=ot(65223),xf=ot(42051),gl=ot(85636),vl=ot(9708),qy=ot(57254),Ae=ot(98423),en=ot(9676),Kn=ot(13013),qn=ot(96159),Nu=ot(90484),Zn=ot(50970),O0=ot(93355),k0=ot(73171),Zy=ot(34952),Af=function(Vt){var pe,kt=Vt.renderedText,N=Vt.renderedEl,ct=Vt.item,pt=Vt.checked,st=Vt.disabled,ht=Vt.prefixCls,J=Vt.onClick,lt=Vt.onRemove,At=Vt.showRemove,Wt=Go()((pe={},(0,We.Z)(pe,"".concat(ht,"-content-item"),!0),(0,We.Z)(pe,"".concat(ht,"-content-item-disabled"),st||ct.disabled),(0,We.Z)(pe,"".concat(ht,"-content-item-checked"),pt),pe)),Jt;return(typeof kt=="string"||typeof kt=="number")&&(Jt=String(kt)),xt.createElement(xf.Z,{componentName:"Transfer",defaultLocale:gl.Z.Transfer},function(Ot){var he={className:Wt,title:Jt},Ye=xt.createElement("span",{className:"".concat(ht,"-content-item-text")},N);return At?xt.createElement("li",(0,cn.Z)({},he),Ye,xt.createElement(Zy.Z,{disabled:st||ct.disabled,className:"".concat(ht,"-content-item-remove"),"aria-label":Ot.remove,onClick:function(){lt==null||lt(ct)}},xt.createElement(k0.Z,null))):(he.onClick=st||ct.disabled?void 0:function(){return J(ct)},xt.createElement("li",(0,cn.Z)({},he),xt.createElement(en.Z,{className:"".concat(ht,"-checkbox"),checked:pt,disabled:st||ct.disabled}),Ye))})},Br=xt.memo(Af),Yy=(0,O0.b)("handleFilter","handleClear","checkedKeys");function Of(Oe){if(!Oe)return null;var Vt={pageSize:10,simple:!0,showSizeChanger:!1,showLessItems:!1};return(0,Nu.Z)(Oe)==="object"?(0,cn.Z)((0,cn.Z)({},Vt),Oe):Vt}var xi=function(Oe){(0,zn.Z)(pe,Oe);var Vt=(0,kr.Z)(pe);function pe(){var kt;return(0,gr.Z)(this,pe),kt=Vt.apply(this,arguments),kt.state={current:1},kt.onItemSelect=function(N){var ct=kt.props,pt=ct.onItemSelect,st=ct.selectedKeys,ht=st.includes(N.key);pt(N.key,!ht)},kt.onItemRemove=function(N){var ct=kt.props.onItemRemove;ct==null||ct([N.key])},kt.onPageChange=function(N){kt.setState({current:N})},kt.getItems=function(){var N=kt.state.current,ct=kt.props,pt=ct.pagination,st=ct.filteredRenderItems,ht=Of(pt),J=st;return ht&&(J=st.slice((N-1)*ht.pageSize,N*ht.pageSize)),J},kt}return(0,Mn.Z)(pe,[{key:"render",value:function(){var N=this,ct=this.state.current,pt=this.props,st=pt.prefixCls,ht=pt.onScroll,J=pt.filteredRenderItems,lt=pt.selectedKeys,At=pt.disabled,Wt=pt.showRemove,Jt=pt.pagination,Ot=Of(Jt),he=null;return Ot&&(he=xt.createElement(Zn.Z,{simple:Ot.simple,showSizeChanger:Ot.showSizeChanger,showLessItems:Ot.showLessItems,size:"small",disabled:At,className:"".concat(st,"-pagination"),total:J.length,pageSize:Ot.pageSize,current:ct,onChange:this.onPageChange})),xt.createElement(xt.Fragment,null,xt.createElement("ul",{className:Go()("".concat(st,"-content"),(0,We.Z)({},"".concat(st,"-content-show-remove"),Wt)),onScroll:ht},this.getItems().map(function(Ye){var dn=Ye.renderedEl,Zr=Ye.renderedText,Bt=Ye.item,Yn=Bt.disabled,So=lt.includes(Bt.key);return xt.createElement(Br,{disabled:At||Yn,key:Bt.key,item:Bt,renderedText:Zr,renderedEl:dn,checked:So,prefixCls:st,onClick:N.onItemSelect,onRemove:N.onItemRemove,showRemove:Wt})})),he)}}],[{key:"getDerivedStateFromProps",value:function(N,ct){var pt=N.filteredRenderItems,st=N.pagination,ht=ct.current,J=Of(st);if(J){var lt=Math.ceil(pt.length/J.pageSize);if(ht>lt)return{current:lt}}return null}}]),pe}(xt.Component),kf=xi,Xy=ot(76570),B0=ot(4107);function F0(Oe){var Vt=Oe.placeholder,pe=Vt===void 0?"":Vt,kt=Oe.value,N=Oe.prefixCls,ct=Oe.disabled,pt=Oe.onChange,st=Oe.handleClear,ht=xt.useCallback(function(J){pt==null||pt(J),J.target.value===""&&(st==null||st())},[pt]);return xt.createElement(B0.Z,{placeholder:pe,className:N,value:kt,onChange:ht,disabled:ct,allowClear:!0,prefix:xt.createElement(Xy.Z,null)})}var Bf=function(){return null};function qr(Oe){return!!(Oe&&!(0,qn.l$)(Oe)&&Object.prototype.toString.call(Oe)==="[object Object]")}function fn(Oe){return Oe.filter(function(Vt){return!Vt.disabled}).map(function(Vt){return Vt.key})}var $n=function(Oe){(0,zn.Z)(pe,Oe);var Vt=(0,kr.Z)(pe);function pe(kt){var N;return(0,gr.Z)(this,pe),N=Vt.call(this,kt),N.defaultListBodyRef=xt.createRef(),N.handleFilter=function(ct){var pt=N.props.handleFilter,st=ct.target.value;N.setState({filterValue:st}),pt(ct)},N.handleClear=function(){var ct=N.props.handleClear;N.setState({filterValue:""}),ct()},N.matchFilter=function(ct,pt){var st=N.state.filterValue,ht=N.props.filterOption;return ht?ht(st,pt):ct.includes(st)},N.renderListBody=function(ct,pt){var st=ct?ct(pt):null,ht=!!st;return ht||(st=xt.createElement(kf,(0,cn.Z)({ref:N.defaultListBodyRef},pt))),{customize:ht,bodyContent:st}},N.renderItem=function(ct){var pt=N.props.render,st=pt===void 0?Bf:pt,ht=st(ct),J=qr(ht);return{renderedText:J?ht.value:ht,renderedEl:J?ht.label:ht,item:ct}},N.getSelectAllLabel=function(ct,pt){var st=N.props,ht=st.itemsUnit,J=st.itemUnit,lt=st.selectAllLabel;if(lt)return typeof lt=="function"?lt({selectedCount:ct,totalCount:pt}):lt;var At=pt>1?ht:J;return xt.createElement(xt.Fragment,null,(ct>0?"".concat(ct,"/"):"")+pt," ",At)},N.state={filterValue:""},N}return(0,Mn.Z)(pe,[{key:"componentWillUnmount",value:function(){clearTimeout(this.triggerScrollTimer)}},{key:"getCheckStatus",value:function(N){var ct=this.props.checkedKeys;return ct.length===0?"none":N.every(function(pt){return ct.includes(pt.key)||!!pt.disabled})?"all":"part"}},{key:"getFilteredItems",value:function(N,ct){var pt=this,st=[],ht=[];return N.forEach(function(J){var lt=pt.renderItem(J),At=lt.renderedText;if(ct&&!pt.matchFilter(At,J))return null;st.push(J),ht.push(lt)}),{filteredItems:st,filteredRenderItems:ht}}},{key:"getListBody",value:function(N,ct,pt,st,ht,J,lt,At,Wt,Jt){var Ot=this,he=Wt?xt.createElement("div",{className:"".concat(N,"-body-search-wrapper")},xt.createElement(F0,{prefixCls:"".concat(N,"-search"),onChange:this.handleFilter,handleClear:this.handleClear,placeholder:ct,value:pt,disabled:Jt})):null,Ye=this.renderListBody(At,(0,cn.Z)((0,cn.Z)({},(0,Ae.Z)(this.props,Yy)),{filteredItems:st,filteredRenderItems:J,selectedKeys:lt})),dn=Ye.bodyContent,Zr=Ye.customize,Bt=function(){var Co=Ot.props.direction==="left"?0:1;return Array.isArray(ht)?ht[Co]:ht},Yn;return Zr?Yn=xt.createElement("div",{className:"".concat(N,"-body-customize-wrapper")},dn):Yn=st.length?dn:xt.createElement("div",{className:"".concat(N,"-body-not-found")},Bt()),xt.createElement("div",{className:Go()(Wt?"".concat(N,"-body ").concat(N,"-body-with-search"):"".concat(N,"-body"))},he,Yn)}},{key:"getCheckBox",value:function(N){var ct=N.filteredItems,pt=N.onItemSelectAll,st=N.disabled,ht=N.prefixCls,J=this.getCheckStatus(ct),lt=J==="all",At=xt.createElement(en.Z,{disabled:st,checked:lt,indeterminate:J==="part",className:"".concat(ht,"-checkbox"),onChange:function(){pt(ct.filter(function(Jt){return!Jt.disabled}).map(function(Jt){var Ot=Jt.key;return Ot}),!lt)}});return At}},{key:"render",value:function(){var N,ct=this,pt=this.state.filterValue,st=this.props,ht=st.prefixCls,J=st.dataSource,lt=J===void 0?[]:J,At=st.titleText,Wt=At===void 0?"":At,Jt=st.checkedKeys,Ot=st.disabled,he=st.footer,Ye=st.showSearch,dn=Ye===void 0?!1:Ye,Zr=st.style,Bt=st.searchPlaceholder,Yn=st.notFoundContent,So=st.selectAll,Co=st.selectCurrent,Yr=st.selectInvert,Fr=st.removeAll,Xr=st.removeCurrent,ml=st.renderList,Ko=st.onItemSelectAll,je=st.onItemRemove,Oi=st.showSelectAll,yl=Oi===void 0?!0:Oi,Ru=st.showRemove,vr=st.pagination,Mu=st.direction,mr=he&&(he.length<2?he(this.props):he(this.props,{direction:Mu})),aa=Go()(ht,(N={},(0,We.Z)(N,"".concat(ht,"-with-pagination"),!!vr),(0,We.Z)(N,"".concat(ht,"-with-footer"),!!mr),N)),ua=this.getFilteredItems(lt,pt),Jr=ua.filteredItems,bl=ua.filteredRenderItems,sa=this.getListBody(ht,Bt,pt,Jr,Yn,bl,Jt,ml,dn,Ot),wl=mr?xt.createElement("div",{className:"".concat(ht,"-footer")},mr):null,qo=!Ru&&!vr&&this.getCheckBox({filteredItems:Jr,onItemSelectAll:Ko,disabled:Ot,prefixCls:ht}),zu;Ru?zu=[vr?{key:"removeCurrent",onClick:function(){var Fn,Do=fn((((Fn=ct.defaultListBodyRef.current)===null||Fn===void 0?void 0:Fn.getItems())||[]).map(function(sr){return sr.item}));je==null||je(Do)},label:Xr}:null,{key:"removeAll",onClick:function(){je==null||je(fn(Jr))},label:Fr}].filter(function(Zo){return Zo}):zu=[{key:"selectAll",onClick:function(){var Fn=fn(Jr);Ko(Fn,Fn.length!==Jt.length)},label:So},vr?{key:"selectCurrent",onClick:function(){var Fn,Do=((Fn=ct.defaultListBodyRef.current)===null||Fn===void 0?void 0:Fn.getItems())||[];Ko(fn(Do.map(function(sr){return sr.item})),!0)},label:Co}:null,{key:"selectInvert",onClick:function(){var Fn,Do;vr?Do=fn((((Fn=ct.defaultListBodyRef.current)===null||Fn===void 0?void 0:Fn.getItems())||[]).map(function($u){return $u.item})):Do=fn(Jr);var sr=new Set(Jt),ki=[],P0=[];Do.forEach(function($u){sr.has($u)?P0.push($u):ki.push($u)}),Ko(ki,!0),Ko(P0,!1)},label:Yr}];var jf=xt.createElement(Kn.Z,{className:"".concat(ht,"-header-dropdown"),menu:{items:zu},disabled:Ot},xt.createElement(qy.Z,null));return xt.createElement("div",{className:aa,style:Zr},xt.createElement("div",{className:"".concat(ht,"-header")},yl?xt.createElement(xt.Fragment,null,qo,jf):null,xt.createElement("span",{className:"".concat(ht,"-header-selected")},this.getSelectAllLabel(Jt.length,Jr.length)),xt.createElement("span",{className:"".concat(ht,"-header-title")},Wt)),sa,wl)}}]),pe}(xt.PureComponent),Ff=ot(67724),Ai=ot(8812),ia=ot(71577),Tf=function(Vt){var pe=Vt.disabled,kt=Vt.moveToLeft,N=Vt.moveToRight,ct=Vt.leftArrowText,pt=ct===void 0?"":ct,st=Vt.rightArrowText,ht=st===void 0?"":st,J=Vt.leftActive,lt=Vt.rightActive,At=Vt.className,Wt=Vt.style,Jt=Vt.direction,Ot=Vt.oneWay;return xt.createElement("div",{className:At,style:Wt},xt.createElement(ia.Z,{type:"primary",size:"small",disabled:pe||!lt,onClick:N,icon:Jt!=="rtl"?xt.createElement(Ai.Z,null):xt.createElement(Ff.Z,null)},ht),!Ot&&xt.createElement(ia.Z,{type:"primary",size:"small",disabled:pe||!J,onClick:kt,icon:Jt!=="rtl"?xt.createElement(Ff.Z,null):xt.createElement(Ai.Z,null)},pt))},Pf=Tf,Lu=function(Oe){(0,zn.Z)(pe,Oe);var Vt=(0,kr.Z)(pe);function pe(kt){var N;(0,gr.Z)(this,pe),N=Vt.call(this,kt),N.separatedDataSource=null,N.setStateKeys=function(J,lt){J==="left"?N.setState(function(At){var Wt=At.sourceSelectedKeys;return{sourceSelectedKeys:typeof lt=="function"?lt(Wt||[]):lt}}):N.setState(function(At){var Wt=At.targetSelectedKeys;return{targetSelectedKeys:typeof lt=="function"?lt(Wt||[]):lt}})},N.getLocale=function(J,lt){var At=N.props.locale,Wt=At===void 0?{}:At;return(0,cn.Z)((0,cn.Z)((0,cn.Z)({},J),{notFoundContent:lt("Transfer")}),Wt)},N.moveTo=function(J){var lt=N.props,At=lt.targetKeys,Wt=At===void 0?[]:At,Jt=lt.dataSource,Ot=Jt===void 0?[]:Jt,he=lt.onChange,Ye=N.state,dn=Ye.sourceSelectedKeys,Zr=Ye.targetSelectedKeys,Bt=J==="right"?dn:Zr,Yn=Bt.filter(function(Yr){return!Ot.some(function(Fr){return!!(Yr===Fr.key&&Fr.disabled)})}),So=J==="right"?Yn.concat(Wt):Wt.filter(function(Yr){return!Yn.includes(Yr)}),Co=J==="right"?"left":"right";N.setStateKeys(Co,[]),N.handleSelectChange(Co,[]),he==null||he(So,J,Yn)},N.moveToLeft=function(){return N.moveTo("left")},N.moveToRight=function(){return N.moveTo("right")},N.onItemSelectAll=function(J,lt,At){N.setStateKeys(J,function(Wt){var Jt=[];return At?Jt=Array.from(new Set([].concat((0,ne.Z)(Wt),(0,ne.Z)(lt)))):Jt=Wt.filter(function(Ot){return!lt.includes(Ot)}),N.handleSelectChange(J,Jt),Jt})},N.onLeftItemSelectAll=function(J,lt){return N.onItemSelectAll("left",J,lt)},N.onRightItemSelectAll=function(J,lt){return N.onItemSelectAll("right",J,lt)},N.handleFilter=function(J,lt){var At=N.props.onSearch,Wt=lt.target.value;At==null||At(J,Wt)},N.handleLeftFilter=function(J){return N.handleFilter("left",J)},N.handleRightFilter=function(J){return N.handleFilter("right",J)},N.handleClear=function(J){var lt=N.props.onSearch;lt==null||lt(J,"")},N.handleLeftClear=function(){return N.handleClear("left")},N.handleRightClear=function(){return N.handleClear("right")},N.onItemSelect=function(J,lt,At){var Wt=N.state,Jt=Wt.sourceSelectedKeys,Ot=Wt.targetSelectedKeys,he=J==="left"?(0,ne.Z)(Jt):(0,ne.Z)(Ot),Ye=he.indexOf(lt);Ye>-1&&he.splice(Ye,1),At&&he.push(lt),N.handleSelectChange(J,he),N.props.selectedKeys||N.setStateKeys(J,he)},N.onLeftItemSelect=function(J,lt){return N.onItemSelect("left",J,lt)},N.onRightItemSelect=function(J,lt){return N.onItemSelect("right",J,lt)},N.onRightItemRemove=function(J){var lt=N.props,At=lt.targetKeys,Wt=At===void 0?[]:At,Jt=lt.onChange;N.setStateKeys("right",[]),Jt==null||Jt(Wt.filter(function(Ot){return!J.includes(Ot)}),"left",(0,ne.Z)(J))},N.handleScroll=function(J,lt){var At=N.props.onScroll;At==null||At(J,lt)},N.handleLeftScroll=function(J){return N.handleScroll("left",J)},N.handleRightScroll=function(J){return N.handleScroll("right",J)},N.handleListStyle=function(J,lt){return typeof J=="function"?J({direction:lt}):J};var ct=kt.selectedKeys,pt=ct===void 0?[]:ct,st=kt.targetKeys,ht=st===void 0?[]:st;return N.state={sourceSelectedKeys:pt.filter(function(J){return!ht.includes(J)}),targetSelectedKeys:pt.filter(function(J){return ht.includes(J)})},N}return(0,Mn.Z)(pe,[{key:"getTitles",value:function(N){var ct,pt;return(pt=(ct=this.props.titles)!==null&&ct!==void 0?ct:N.titles)!==null&&pt!==void 0?pt:[]}},{key:"handleSelectChange",value:function(N,ct){var pt=this.state,st=pt.sourceSelectedKeys,ht=pt.targetSelectedKeys,J=this.props.onSelectChange;!J||(N==="left"?J(ct,ht):J(st,ct))}},{key:"separateDataSource",value:function(){var N=this.props,ct=N.dataSource,pt=ct===void 0?[]:ct,st=N.rowKey,ht=N.targetKeys,J=ht===void 0?[]:ht,lt=[],At=new Array(J.length);return pt.forEach(function(Wt){st&&(Wt=(0,cn.Z)((0,cn.Z)({},Wt),{key:st(Wt)}));var Jt=J.indexOf(Wt.key);Jt!==-1?At[Jt]=Wt:lt.push(Wt)}),{leftDataSource:lt,rightDataSource:At}}},{key:"render",value:function(){var N=this;return xt.createElement(xf.Z,{componentName:"Transfer",defaultLocale:gl.Z.Transfer},function(ct){return xt.createElement(Ky.C,null,function(pt){var st=pt.getPrefixCls,ht=pt.renderEmpty,J=pt.direction;return xt.createElement(A0.aM.Consumer,null,function(lt){var At,Wt=lt.hasFeedback,Jt=lt.status,Ot=N.props,he=Ot.prefixCls,Ye=Ot.className,dn=Ot.disabled,Zr=Ot.operations,Bt=Zr===void 0?[]:Zr,Yn=Ot.showSearch,So=Yn===void 0?!1:Yn,Co=Ot.footer,Yr=Ot.style,Fr=Ot.listStyle,Xr=Fr===void 0?{}:Fr,ml=Ot.operationStyle,Ko=Ot.filterOption,je=Ot.render,Oi=Ot.children,yl=Ot.showSelectAll,Ru=Ot.oneWay,vr=Ot.pagination,Mu=Ot.status,mr=st("transfer",he),aa=N.getLocale(ct,ht||x0.Z),ua=N.state,Jr=ua.sourceSelectedKeys,bl=ua.targetSelectedKeys,sa=(0,vl.F)(Jt,Mu),wl=!Oi&&vr,qo=N.separateDataSource(),zu=qo.leftDataSource,jf=qo.rightDataSource,Zo=bl.length>0,Fn=Jr.length>0,Do=Go()(mr,(At={},(0,We.Z)(At,"".concat(mr,"-disabled"),dn),(0,We.Z)(At,"".concat(mr,"-customize-list"),!!Oi),(0,We.Z)(At,"".concat(mr,"-rtl"),J==="rtl"),At),(0,vl.Z)(mr,sa,Wt),Ye),sr=N.getTitles(aa),ki=N.props.selectAllLabels||[];return xt.createElement("div",{className:Do,style:Yr},xt.createElement($n,(0,cn.Z)({prefixCls:"".concat(mr,"-list"),titleText:sr==null?void 0:sr[0],dataSource:zu,filterOption:Ko,style:N.handleListStyle(Xr,"left"),checkedKeys:Jr,handleFilter:N.handleLeftFilter,handleClear:N.handleLeftClear,onItemSelect:N.onLeftItemSelect,onItemSelectAll:N.onLeftItemSelectAll,render:je,showSearch:So,renderList:Oi,footer:Co,onScroll:N.handleLeftScroll,disabled:dn,direction:J==="rtl"?"right":"left",showSelectAll:yl,selectAllLabel:ki[0],pagination:wl},aa)),xt.createElement(Pf,{className:"".concat(mr,"-operation"),rightActive:Fn,rightArrowText:Bt[0],moveToRight:N.moveToRight,leftActive:Zo,leftArrowText:Bt[1],moveToLeft:N.moveToLeft,style:ml,disabled:dn,direction:J,oneWay:Ru}),xt.createElement($n,(0,cn.Z)({prefixCls:"".concat(mr,"-list"),titleText:sr==null?void 0:sr[1],dataSource:jf,filterOption:Ko,style:N.handleListStyle(Xr,"right"),checkedKeys:bl,handleFilter:N.handleRightFilter,handleClear:N.handleRightClear,onItemSelect:N.onRightItemSelect,onItemSelectAll:N.onRightItemSelectAll,onItemRemove:N.onRightItemRemove,render:je,showSearch:So,renderList:Oi,footer:Co,onScroll:N.handleRightScroll,disabled:dn,direction:J==="rtl"?"left":"right",showSelectAll:yl,selectAllLabel:ki[1],showRemove:Ru,pagination:wl},aa)))})})})}}],[{key:"getDerivedStateFromProps",value:function(N){var ct=N.selectedKeys,pt=N.targetKeys,st=N.pagination,ht=N.children;if(ct){var J=pt||[];return{sourceSelectedKeys:ct.filter(function(lt){return!J.includes(lt)}),targetSelectedKeys:ct.filter(function(lt){return J.includes(lt)})}}return null}}]),pe}(xt.Component);Lu.List=$n,Lu.Operation=Pf,Lu.Search=F0;var T0=Lu},58996:function(D0,hl,ot){"use strict";var We=ot(38663),ne=ot.n(We),cn=ot(66247),gr=ot.n(cn),Mn=ot(57663),zn=ot(63185),kr=ot(59250),It=ot(13254),Go=ot(47673),xt=ot(14781)}}]);