h;h++)if((u||h in g)&&(d=v(p=g[h],h,m),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:MP(w,p)}else switch(t){case 4:return!1;case 7:MP(w,p)}return i?-1:r||o?o:w}},yv=[ia(0),ia(1),ia(2),ia(3),ia(4),ia(5),ia(6),ia(7)][0],Gn=dv("hidden"),zP=cr("toPrimitive"),$it=$l.set,$P=$l.getterFor("Symbol"),Qr=Object.prototype,aa=Tt.Symbol,ua=aa&&aa.prototype,HP=Tt.TypeError,O6=Tt.QObject,Nd=kd("JSON","stringify"),VP=v6.f,sa=Vu.f,UP=NP.f,Hit=c6.f,WP=Pe([].push),oi=zu("symbols"),Id=zu("op-symbols"),k6=zu("string-to-symbol-registry"),B6=zu("symbol-to-string-registry"),Vit=zu("wks"),F6=!O6||!O6.prototype||!O6.prototype.findChild,T6=Wn&&lr(function(){return Uu(sa({},"a",{get:function(){return sa(this,"a",{value:7}).a}})).a!=7})?function(t,e,n){var r=VP(Qr,e);r&&delete Qr[e],sa(t,e,n),r&&t!==Qr&&sa(Qr,e,r)}:sa,P6=function(t,e){var n=oi[t]=Uu(ua);return $it(n,{type:"Symbol",tag:t,description:e}),Wn||(n.description=e),n},mv=function(t,e,n){t===Qr&&mv(Id,e,n),Hu(t);var r=Rl(e);return Hu(n),Kt(oi,r)?(n.enumerable?(Kt(t,Gn)&&t[Gn][r]&&(t[Gn][r]=!1),n=Uu(n,{enumerable:Ru(0,!1)})):(Kt(t,Gn)||sa(t,Gn,Ru(1,{})),t[Gn][r]=!0),T6(t,r,n)):sa(t,r,n)},GP=function(t,e){Hu(t);var n=xo(e),r=D6(n).concat(j6(n));return yv(r,function(o){Wn&&!Jr(qP,n,o)||mv(t,o,n[o])}),t},qP=function(t){var e=Rl(t),n=Jr(Hit,this,e);return!(this===Qr&&Kt(oi,e)&&!Kt(Id,e))&&(!(n||!Kt(this,e)||!Kt(oi,e)||Kt(this,Gn)&&this[Gn][e])||n)},KP=function(t,e){var n=xo(t),r=Rl(e);if(n!==Qr||!Kt(oi,r)||Kt(Id,r)){var o=VP(n,r);return!o||!Kt(oi,r)||Kt(n,Gn)&&n[Gn][r]||(o.enumerable=!0),o}},YP=function(t){var e=UP(xo(t)),n=[];return yv(e,function(r){Kt(oi,r)||Kt(jd,r)||WP(n,r)}),n},j6=function(t){var e=t===Qr,n=UP(e?Id:xo(t)),r=[];return yv(n,function(o){!Kt(oi,o)||e&&!Kt(Qr,o)||WP(r,oi[o])}),r};if(So||(ua=(aa=function(){if(oP(ua,this))throw HP("Symbol is not a constructor");var t=arguments.length&&arguments[0]!==void 0?cv(arguments[0]):void 0,e=iv(t),n=function(r){this===Qr&&Jr(n,Id,r),Kt(this,Gn)&&Kt(this[Gn],e)&&(this[Gn][e]=!1),T6(this,e,Ru(1,r))};return Wn&&F6&&T6(Qr,e,{configurable:!0,set:n}),P6(e,t)}).prototype,Ml(ua,"toString",function(){return $P(this).tag}),Ml(aa,"withoutSetter",function(t){return P6(iv(t),t)}),c6.f=qP,Vu.f=mv,v6.f=KP,PP.f=NP.f=YP,S6.f=j6,C6.f=function(t){return P6(cr(t),t)},Wn&&sa(ua,"description",{configurable:!0,get:function(){return $P(this).description}})),oa({global:!0,wrap:!0,forced:!So,sham:!So},{Symbol:aa}),yv(D6(Vit),function(t){Re(t)}),oa({target:"Symbol",stat:!0,forced:!So},{for:function(t){var e=cv(t);if(Kt(k6,e))return k6[e];var n=aa(e);return k6[e]=n,B6[n]=e,n},keyFor:function(t){if(!Ll(t))throw HP(t+" is not a symbol");if(Kt(B6,t))return B6[t]},useSetter:function(){F6=!0},useSimple:function(){F6=!1}}),oa({target:"Object",stat:!0,forced:!So,sham:!Wn},{create:function(t,e){return e===void 0?Uu(t):GP(Uu(t),e)},defineProperty:mv,defineProperties:GP,getOwnPropertyDescriptor:KP}),oa({target:"Object",stat:!0,forced:!So},{getOwnPropertyNames:YP,getOwnPropertySymbols:j6}),oa({target:"Object",stat:!0,forced:lr(function(){S6.f(1)})},{getOwnPropertySymbols:function(t){return S6.f(Bd(t))}}),Nd){var Uit=!So||lr(function(){var t=aa();return Nd([t])!="[null]"||Nd({a:t})!="{}"||Nd(Object(t))!="{}"});oa({target:"JSON",stat:!0,forced:Uit},{stringify:function(t,e,n){var r=jit(arguments),o=e;if((Fr(e)||t!==void 0)&&!Ll(t))return av(e)||(e=function(i,a){if(yn(o)&&(a=Jr(o,this,i,a)),!Ll(a))return a}),r[1]=e,JT(Nd,null,r)}})}if(!ua[zP]){var Wit=ua.valueOf;Ml(ua,zP,function(t){return Jr(Wit,this)})}vv(aa,"Symbol"),jd[Gn]=!0,Re("asyncIterator"),Re("hasInstance"),Re("isConcatSpreadable"),Re("iterator"),Re("match"),Re("matchAll"),Re("replace"),Re("search"),Re("species"),Re("split"),Re("toPrimitive"),Re("toStringTag"),Re("unscopables"),vv(Tt.JSON,"JSON",!0);var la,XP,ZP,Git=Tr.Symbol,Gu={},JP=Function.prototype,qit=Wn&&Object.getOwnPropertyDescriptor,_6=Kt(JP,"name"),Kit={EXISTS:_6,PROPER:_6&&function(){}.name==="something",CONFIGURABLE:_6&&(!Wn||Wn&&qit(JP,"name").configurable)},Yit=!lr(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),QP=dv("IE_PROTO"),N6=Tt.Object,Xit=N6.prototype,I6=Yit?N6.getPrototypeOf:function(t){var e=Bd(t);if(Kt(e,QP))return e[QP];var n=e.constructor;return yn(n)&&e instanceof n?n.prototype:e instanceof N6?Xit:null},L6=cr("iterator"),tj=!1;[].keys&&("next"in(ZP=[].keys())?(XP=I6(I6(ZP)))!==Object.prototype&&(la=XP):tj=!0);var Zit=la==null||lr(function(){var t={};return la[L6].call(t)!==t});la=Zit?{}:Uu(la),yn(la[L6])||Ml(la,L6,function(){return this});var ej={IteratorPrototype:la,BUGGY_SAFARI_ITERATORS:tj},Jit=ej.IteratorPrototype,Qit=function(){return this};Tt.String,Tt.TypeError,Object.setPrototypeOf||"__proto__"in{}&&function(){var t={};try{Pe(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set)(t,[]),t instanceof Array}catch(e){}}();var tat=Kit.PROPER,bv=ej.BUGGY_SAFARI_ITERATORS,R6=cr("iterator"),eat=function(){return this},nj=function(t,e,n,r,o,i,a){(function(y,h,b,w){var D=h+" Iterator";y.prototype=Uu(Jit,{next:Ru(1,b)}),vv(y,D,!1,!0),Gu[D]=Qit})(n,e,r);var u,s,l,c=function(y){if(y===o&&g)return g;if(!bv&&y in d)return d[y];switch(y){case"keys":case"values":case"entries":return function(){return new n(this,y)}}return function(){return new n(this)}},f=e+" Iterator",p=!1,d=t.prototype,m=d[R6]||d["@@iterator"]||o&&d[o],g=!bv&&m||c(o),v=e=="Array"&&d.entries||m;if(v&&(u=I6(v.call(new t)))!==Object.prototype&&u.next&&(vv(u,f,!0,!0),Gu[f]=eat),tat&&o=="values"&&m&&m.name!=="values"&&(p=!0,g=function(){return Jr(m,this)}),o)if(s={values:c("values"),keys:i?g:c("keys"),entries:c("entries")},a)for(l in s)(bv||p||!(l in d))&&Ml(d,l,s[l]);else oa({target:e,proto:!0,forced:bv||p},s);return a&&d[R6]!==g&&Ml(d,R6,g,{name:o}),Gu[e]=g,s},nat=$l.set,rat=$l.getterFor("Array Iterator");nj(Array,"Array",function(t,e){nat(this,{type:"Array Iterator",target:xo(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"),Gu.Arguments=Gu.Array;var rj=cr("toStringTag");for(var M6 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 oj=Tt[M6],z6=oj&&oj.prototype;z6&&sv(z6)!==rj&&Co(z6,rj,M6),Gu[M6]=Gu.Array}var oat=Git;Re("asyncDispose"),Re("dispose"),Re("matcher"),Re("metadata"),Re("observable"),Re("patternMatch"),Re("replaceAll");var wv=oat,iat=Pe("".charAt),ij=Pe("".charCodeAt),aat=Pe("".slice),aj=function(t){return function(e,n){var r,o,i=cv(d6(e)),a=y6(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=ij(i,a))<55296||r>56319||a+1===u||(o=ij(i,a+1))<56320||o>57343?t?iat(i,a):r:t?aat(i,a,a+2):o-56320+(r-55296<<10)+65536}},uat=(aj(!1),aj(!0)),sat=$l.set,lat=$l.getterFor("String Iterator");nj(String,"String",function(t){sat(this,{type:"String Iterator",string:cv(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=C6.f("iterator"),fat=Ig(function(t){function e(n){return typeof wv=="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 wv=="function"&&r.constructor===wv&&r!==wv.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}),uj=function(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}(fat),dat=Vg.EXISTS,pat=Cl.f,sj=Function.prototype,hat=yt(sj.toString),lj=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,gat=yt(lj.exec);Xr&&!dat&&pat(sj,"name",{configurable:!0,get:function(){try{return gat(lj,hat(this))[1]}catch(t){return""}}});var cj=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,!!qt(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=tt("fontSize.title"),n.iconSvg=Unt,n.mark="fontSize",n}return we(e,t),e.prototype.getOptions=function(n){var r=[],o=n.getMenuConfig(this.mark).fontSizeList,i=o===void 0?[]:o;r.push({text:tt("fontSize.default"),value:""}),i.forEach(function(u){if(typeof u=="string")r.push({text:u,value:u});else if(uj(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}(cj),yat=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=tt("fontFamily.title"),n.iconSvg=Wnt,n.mark="fontFamily",n.selectPanelWidth=150,n}return we(e,t),e.prototype.getOptions=function(n){var r=[],o=n.getMenuConfig(this.mark).fontFamilyList,i=o===void 0?[]:o;r.push({text:tt("fontFamily.default"),value:""}),i.forEach(function(u){if(typeof u=="string")r.push({text:u,value:u,styleForRenderMenuList:{"font-family":u}});else if(uj(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}(cj),mat={renderStyle:function(t,e){var n=t,r=n.fontSize,o=n.fontFamily,i=e;return r&&Iu(i,{fontSize:r}),o&&Iu(i,{fontFamily:o}),i},styleToHtml:function(t,e){if(!it.isText(t))return e;var n,r=t,o=r.fontSize,i=r.fontFamily;return o||i?((WE(e)||jl(n=k(e))!=="span")&&(n=k(""+e+"")),o&&n.css("font-size",o),i&&n.css("font-family",i),Pl(n)):e},preParseHtml:[Oot],parseStyleHtml:function(t,e,n){var r=k(t);if(!it.isText(e))return e;var o=e,i=n.getMenuConfig("fontSize").fontSizeList,a=i===void 0?[]:i,u=Zr(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=Zr(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 yat},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=Zr(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]}},fj=function(){function t(){this.tag="button"}return t.prototype.getValue=function(e){var n=qt(E.nodes(e,{match:function(o){return!!o.indent},universal:!0}),1),r=n[0];return r==null?"":qt(r,1)[0].indent||""},t.prototype.isActive=function(e){return!1},t.prototype.getMatchNode=function(e){var n=qt(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=tt("indent.decrease"),n.iconSvg=Gnt,n}return we(e,t),e.prototype.isDisabled=function(n){var r=this.getMatchNode(n);return r==null||!r.indent},e.prototype.exec=function(n,r){N.setNodes(n,{indent:null},{match:function(o){return ft.isElement(o)}})},e}(fj),Eat=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=tt("indent.increase"),n.iconSvg=qnt,n}return we(e,t),e.prototype.isDisabled=function(n){var r=this.getMatchNode(n);return r==null||!!r.indent},e.prototype.exec=function(n,r){N.setNodes(n,{indent:"2em"},{match:function(o){return ft.isElement(o)},mode:"highest"})},e}(fj),Dat={renderStyle:function(t,e){if(!ft.isElement(t))return e;var n=t.indent,r=e;return n&&Iu(r,{textIndent:n}),r},styleToHtml:function(t,e){if(!ft.isElement(t))return e;var n=t.indent;if(!n)return e;var r=k(e);return r.css("text-indent",n),Pl(r)},preParseHtml:[bat],parseStyleHtml:function(t,e,n){var r=k(t);if(!ft.isElement(e))return e;var o=e,i=Zr(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}}]},Ev=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=qt(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}(),xat=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=tt("justify.left"),n.iconSvg=Knt,n}return we(e,t),e.prototype.exec=function(n,r){N.setNodes(n,{textAlign:"left"},{match:function(o){return ft.isElement(o)&&!n.isInline(o)}})},e}(Ev),Sat=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=tt("justify.right"),n.iconSvg=Ynt,n}return we(e,t),e.prototype.exec=function(n,r){N.setNodes(n,{textAlign:"right"},{match:function(o){return ft.isElement(o)&&!n.isInline(o)}})},e}(Ev),Cat=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=tt("justify.center"),n.iconSvg=Xnt,n}return we(e,t),e.prototype.exec=function(n,r){N.setNodes(n,{textAlign:"center"},{match:function(o){return ft.isElement(o)&&!n.isInline(o)}})},e}(Ev),Aat=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=tt("justify.justify"),n.iconSvg=Znt,n}return we(e,t),e.prototype.exec=function(n,r){N.setNodes(n,{textAlign:"justify"},{match:function(o){return ft.isElement(o)&&!n.isInline(o)}})},e}(Ev),Oat={renderStyle:function(t,e){if(!ft.isElement(t))return e;var n=t.textAlign,r=e;return n&&Iu(r,{textAlign:n}),r},styleToHtml:function(t,e){if(!ft.isElement(t))return e;var n=t.textAlign;if(!n)return e;var r=k(e);return r.css("text-align",n),Pl(r)},parseStyleHtml:function(t,e,n){var r=k(t);if(!ft.isElement(e))return e;var o=e,i=Zr(r,"text-align");return i&&(o.textAlign=i),o},menus:[{key:"justifyLeft",factory:function(){return new xat}},{key:"justifyRight",factory:function(){return new Sat}},{key:"justifyCenter",factory:function(){return new Cat}},{key:"justifyJustify",factory:function(){return new Aat}}]},kat=function(){function t(){this.title=tt("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:tt("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=qt(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?"":ft.isElement(n)&&n.lineHeight||""},t.prototype.isDisabled=function(e){return e.selection==null||this.getMatchNode(e)==null},t.prototype.exec=function(e,n){N.setNodes(e,{lineHeight:n.toString()},{mode:"highest"})},t}(),Bat={renderStyle:function(t,e){if(!ft.isElement(t))return e;var n=t.lineHeight,r=e;return n&&Iu(r,{lineHeight:n}),r},styleToHtml:function(t,e){if(!ft.isElement(t))return e;var n=t.lineHeight;if(!n)return e;var r=k(e);return r.css("line-height",n),Pl(r)},parseStyleHtml:function(t,e,n){var r=k(t);if(!ft.isElement(e))return e;var o=e,i=n.getMenuConfig("lineHeight").lineHeightList,a=i===void 0?[]:i,u=Zr(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=tt("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=tt("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 qs("div",{props:{contentEditable:!1,className:"w-e-textarea-divider"},dataset:{selected:A.isNodeSelected(n,t)?"true":""},style:{},on:{mousedown:function(r){return r.preventDefault()}}},[qs("hr")])}},_at=function(){function t(){this.title=tt("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){N.insertNodes(e,{type:"divider",children:[{text:""}]},{mode:"highest"})},t}(),Nat={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=qt(o,2),a=i[0],u=i[1];if(A.getNodeType(a)!=="divider")return n([a,u]);A.isLastNode(r,a)&&N.insertNodes(r,A.genEmptyParagraph(),{at:[u[0]+1]})},r}},Iat=qg.map;tn({target:"Array",proto:!0,forced:!SE("map")},{map:function(t){return Iat(this,t,arguments.length>1?arguments[1]:void 0)}});var Lat=yt([].join),Rat=Mg!=Object,Mat=wT("join",",");tn({target:"Array",proto:!0,forced:Rat||!Mat},{join:function(t){return Lat(Sl(this),t===void 0?",":t)}});var zat=function(){function t(){this.title=tt("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=Q.string(n);N.removeNodes(e,{mode:"highest"});var o=r.split(`
`).map(function(i){return{type:"paragraph",children:[{text:i}]}});N.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=vT(a),s=u.next();!s.done;s=u.next()){var l=qt(s.value,1)[0];l&&i.push(Q.string(l))}}catch(f){r={error:f}}finally{try{s&&!s.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}N.removeNodes(e,{mode:"highest"});var c={type:"pre",children:[{type:"code",language:n,children:[{text:i.join(`
`)}]}]};N.insertNodes(e,c,{mode:"highest"})},t}(),$at={key:"codeBlock",factory:function(){return new zat}};tn({target:"String",proto:!0,forced:Ed("anchor")},{anchor:function(t){return wd(this,"a","name",t)}}),NE("match",function(t,e,n){return[function(r){var o=Or(this),i=r==null?void 0:zg(r,t);return i?Te(i,r,o):new RegExp(r)[t](Ae(o))},function(r){var o=sr(this),i=Ae(r),a=n(e,o,i);if(a.done)return a.value;if(!o.global)return md(o,i);var u=o.unicode;o.lastIndex=0;for(var s,l=[],c=0;(s=md(o,i))!==null;){var f=Ae(s[0]);l[c]=f,f===""&&(o.lastIndex=IE(i,hd(o.lastIndex),u)),c++}return c===0?null:l}]});var Hat={type:"pre",renderElem:function(t,e,n){return bt("pre",null,e)}},Vat={type:"code",renderElem:function(t,e,n){return bt("code",null,e)}},Uat={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=Q.string(l),d=f.anchor.offset,m=p.slice(0,d).split(`
`),g=m.length;return g===0?"":m[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=qt(i,2),u=a[0],s=a[1],l=A.getNodeType(u);return l==="code"&&s.length<=1&&N.setNodes(o,{type:"paragraph"},{at:s}),l==="pre"&&(A.isLastNode(o,u)&&N.insertNodes(o,A.genEmptyParagraph(),{at:[s[0]+1]}),A.getNodeType(u.children[0])!=="code"&&(N.unwrapNodes(o),N.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,Vat],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(jl(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||""}]}}},Uat]},Gat=function(){function t(){this.title=tt("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}(),qat={menus:[{key:"fullScreen",factory:function(){return new Gat}}]},Kat=function(){function t(){this.title=tt("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||!!R.isExpanded(n)},t.prototype.exec=function(e,n){var r=e.selection;if(r!=null){var o=[r.anchor.path[0]];N.insertNodes(e,{type:"paragraph",children:[{text:""}]},{at:o}),e.select(E.start(e,o))}},t}(),Yat=[srt,zrt,mat,Dat,Oat,Bat,cot,Nat,Cot,Zrt,Wat,xot,Nrt,Tnt,hot,Pat,qat,{menus:[{key:"enter",factory:function(){return new Kat}}]}];Un("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),Un("zh-CN",{listModule:{unOrderedList:"\u65E0\u5E8F\u5217\u8868",orderedList:"\u6709\u5E8F\u5217\u8868"}});var dj=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof _t.g!="undefined"?_t.g:typeof self!="undefined"?self:{};function $6(t){var e={exports:{}};return t(e,e.exports),e.exports}var ca,Dv,xv=function(t){return t&&t.Math==Math&&t},wt=xv(typeof globalThis=="object"&&globalThis)||xv(typeof window=="object"&&window)||xv(typeof self=="object"&&self)||xv(typeof dj=="object"&&dj)||function(){return this}()||Function("return this")(),pj=Function.prototype,H6=pj.bind,V6=pj.call,Xat=H6&&H6.bind(V6),Nt=H6?function(t){return t&&Xat(V6,t)}:function(t){return t&&function(){return V6.apply(t,arguments)}},Oe=function(t){try{return!!t()}catch(e){return!0}},Zat=Nt({}.toString),Jat=Nt("".slice),ii=function(t){return Jat(Zat(t),8,-1)},U6=wt.Object,Qat=Nt("".split),hj=Oe(function(){return!U6("z").propertyIsEnumerable(0)})?function(t){return ii(t)=="String"?Qat(t,""):U6(t)}:U6,tut=wt.TypeError,Sv=function(t){if(t==null)throw tut("Can't call method on "+t);return t},Hl=function(t){return hj(Sv(t))},eut=Object.defineProperty,W6=function(t,e){try{eut(wt,t,{value:e,configurable:!0,writable:!0})}catch(n){wt[t]=e}return e},fa=wt["__core-js_shared__"]||W6("__core-js_shared__",{}),G6=$6(function(t){(t.exports=function(e,n){return fa[e]||(fa[e]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),nut=wt.Object,Ld=function(t){return nut(Sv(t))},rut=Nt({}.hasOwnProperty),en=Object.hasOwn||function(t,e){return rut(Ld(t),e)},out=0,iut=Math.random(),aut=Nt(1 .toString),q6=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},Rd=function(t,e){return arguments.length<2?uut(wt[t]):wt[t]&&wt[t][e]},K6=Rd("navigator","userAgent")||"",gj=wt.process,vj=wt.Deno,yj=gj&&gj.versions||vj&&vj.version,mj=yj&&yj.v8;mj&&(Dv=(ca=mj.split("."))[0]>0&&ca[0]<4?1:+(ca[0]+ca[1])),!Dv&&K6&&(!(ca=K6.match(/Edge\/(\d+)/))||ca[1]>=74)&&(ca=K6.match(/Chrome\/(\d+)/))&&(Dv=+ca[1]);var Cv,Y6=Dv,X6=!!Object.getOwnPropertySymbols&&!Oe(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Y6&&Y6<41}),Z6=X6&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Md=G6("wks"),qu=wt.Symbol,bj=qu&&qu.for,sut=Z6?qu:qu&&qu.withoutSetter||q6,mn=function(t){if(!en(Md,t)||!X6&&typeof Md[t]!="string"){var e="Symbol."+t;X6&&en(qu,t)?Md[t]=qu[t]:Md[t]=Z6&&bj?bj(e):sut(e)}return Md[t]},Be=function(t){return typeof t=="object"?t!==null:ke(t)},lut=wt.String,cut=wt.TypeError,qn=function(t){if(Be(t))return t;throw cut(lut(t)+" is not an object")},da=!Oe(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),J6=wt.document,fut=Be(J6)&&Be(J6.createElement),Q6=function(t){return fut?J6.createElement(t):{}},wj=!da&&!Oe(function(){return Object.defineProperty(Q6("div"),"a",{get:function(){return 7}}).a!=7}),zd=Function.prototype.call,nn=zd.bind?zd.bind(zd):function(){return zd.apply(zd,arguments)},Av=Nt({}.isPrototypeOf),dut=wt.Object,t3=Z6?function(t){return typeof t=="symbol"}:function(t){var e=Rd("Symbol");return ke(e)&&Av(e.prototype,dut(t))},put=wt.String,e3=function(t){try{return put(t)}catch(e){return"Object"}},hut=wt.TypeError,n3=function(t){if(ke(t))return t;throw hut(e3(t)+" is not a function")},$d=function(t,e){var n=t[e];return n==null?void 0:n3(n)},gut=wt.TypeError,vut=wt.TypeError,yut=mn("toPrimitive"),r3=function(t){var e=function(n,r){if(!Be(n)||t3(n))return n;var o,i=$d(n,yut);if(i){if(r===void 0&&(r="default"),o=nn(i,n,r),!Be(o)||t3(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)&&!Be(l=nn(s,a))||ke(s=a.valueOf)&&!Be(l=nn(s,a))||u!=="string"&&ke(s=a.toString)&&!Be(l=nn(s,a)))return l;throw gut("Can't convert object to primitive value")}(n,r)}(t,"string");return t3(e)?e:e+""},mut=wt.TypeError,Ej=Object.defineProperty,Ku={f:da?Ej:function(t,e,n){if(qn(t),e=r3(e),qn(n),wj)try{return Ej(t,e,n)}catch(r){}if("get"in n||"set"in n)throw mut("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},but=Math.ceil,wut=Math.floor,Hd=function(t){var e=+t;return e!=e||e===0?0:(e>0?wut:but)(e)},Eut=Math.max,Dut=Math.min,o3=function(t,e){var n=Hd(t);return n<0?Eut(n+e,0):Dut(n,e)},xut=Math.min,Dj=function(t){return t>0?xut(Hd(t),9007199254740991):0},Vl=function(t){return Dj(t.length)},xj=function(t){return function(e,n,r){var o,i=Hl(e),a=Vl(i),u=o3(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}},Sj={includes:xj(!0),indexOf:xj(!1)},Ov={},Sut=Sj.indexOf,Cj=Nt([].push),Aj=function(t,e){var n,r=Hl(t),o=0,i=[];for(n in r)!en(Ov,n)&&en(r,n)&&Cj(i,n);for(;e.length>o;)en(r,n=e[o++])&&(~Sut(i,n)||Cj(i,n));return i},kv=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Cut=Object.keys||function(t){return Aj(t,kv)},Aut=da?Object.defineProperties:function(t,e){qn(t);for(var n,r=Hl(e),o=Cut(e),i=o.length,a=0;i>a;)Ku.f(t,n=o[a++],r[n]);return t},Out=Rd("document","documentElement"),Oj=G6("keys"),i3=function(t){return Oj[t]||(Oj[t]=q6(t))},kj=i3("IE_PROTO"),a3=function(){},Bj=function(t){return""},Fj=function(t){t.write(Bj("")),t.close();var e=t.parentWindow.Object;return t=null,e},Bv=function(){try{Cv=new ActiveXObject("htmlfile")}catch(r){}var t,e;Bv=typeof document!="undefined"?document.domain&&Cv?Fj(Cv):((e=Q6("iframe")).style.display="none",Out.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Bj("document.F=Object")),t.close(),t.F):Fj(Cv);for(var n=kv.length;n--;)delete Bv.prototype[kv[n]];return Bv()};Ov[kj]=!0;var u3=Object.create||function(t,e){var n;return t!==null?(a3.prototype=qn(t),n=new a3,a3.prototype=null,n[kj]=t):n=Bv(),e===void 0?n:Aut(n,e)},s3=mn("unscopables"),l3=Array.prototype;l3[s3]==null&&Ku.f(l3,s3,{configurable:!0,value:u3(null)});var Vd=function(t){l3[s3][t]=!0},Ul={},kut=Nt(Function.toString);ke(fa.inspectSource)||(fa.inspectSource=function(t){return kut(t)});var Fv,Ud,Tv,c3=fa.inspectSource,Tj=wt.WeakMap,Pj=ke(Tj)&&/native code/.test(c3(Tj)),Pv=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},pa=da?function(t,e,n){return Ku.f(t,e,Pv(1,n))}:function(t,e,n){return t[e]=n,t},f3=wt.TypeError,But=wt.WeakMap;if(Pj||fa.state){var Yu=fa.state||(fa.state=new But),Fut=Nt(Yu.get),jj=Nt(Yu.has),Tut=Nt(Yu.set);Fv=function(t,e){if(jj(Yu,t))throw new f3("Object already initialized");return e.facade=t,Tut(Yu,t,e),e},Ud=function(t){return Fut(Yu,t)||{}},Tv=function(t){return jj(Yu,t)}}else{var Wl=i3("state");Ov[Wl]=!0,Fv=function(t,e){if(en(t,Wl))throw new f3("Object already initialized");return e.facade=t,pa(t,Wl,e),e},Ud=function(t){return en(t,Wl)?t[Wl]:{}},Tv=function(t){return en(t,Wl)}}var Xu,_j,Nj,Ao={set:Fv,get:Ud,has:Tv,enforce:function(t){return Tv(t)?Ud(t):Fv(t,{})},getterFor:function(t){return function(e){var n;if(!Be(e)||(n=Ud(e)).type!==t)throw f3("Incompatible receiver, "+t+" required");return n}}},Ij={}.propertyIsEnumerable,Lj=Object.getOwnPropertyDescriptor,Put={f:Lj&&!Ij.call({1:2},1)?function(t){var e=Lj(this,t);return!!e&&e.enumerable}:Ij},Rj=Object.getOwnPropertyDescriptor,Mj={f:da?Rj:function(t,e){if(t=Hl(t),e=r3(e),wj)try{return Rj(t,e)}catch(n){}if(en(t,e))return Pv(!nn(Put.f,t,e),t[e])}},zj=Function.prototype,jut=da&&Object.getOwnPropertyDescriptor,d3=en(zj,"name"),p3={EXISTS:d3,PROPER:d3&&function(){}.name==="something",CONFIGURABLE:d3&&(!da||da&&jut(zj,"name").configurable)},Oo=$6(function(t){var e=p3.CONFIGURABLE,n=Ao.get,r=Ao.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")+"]"),(!en(u,"name")||e&&u.name!==d)&&pa(u,"name",d),(l=r(u)).source||(l.source=o.join(typeof d=="string"?d:""))),i!==wt?(c?!p&&i[a]&&(f=!0):delete i[a],f?i[a]=u:pa(i,a,u)):f?i[a]=u:W6(a,u)})(Function.prototype,"toString",function(){return ke(this)&&n(this).source||c3(this)})}),_ut=kv.concat("length","prototype"),jv={f:Object.getOwnPropertyNames||function(t){return Aj(t,_ut)}},Nut={f:Object.getOwnPropertySymbols},Iut=Nt([].concat),Lut=Rd("Reflect","ownKeys")||function(t){var e=jv.f(qn(t)),n=Nut.f;return n?Iut(e,n(t)):e},Rut=function(t,e){for(var n=Lut(e),r=Ku.f,o=Mj.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");Ul.Arguments=Ul.Array,Vd("keys"),Vd("values"),Vd("entries");var Gj={};Gj[mn("toStringTag")]="z";var b3=String(Gj)==="[object z]",ost=mn("toStringTag"),ist=wt.Object,ast=ii(function(){return arguments}())=="Arguments",Lv=b3?ii: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?ii(e):(r=ii(e))=="Object"&&ke(e.callee)?"Arguments":r},ust=b3?{}.toString:function(){return"[object "+Lv(this)+"]"};b3||Oo(Object.prototype,"toString",ust,{unsafe:!0});var sst=wt.String,ai=function(t){if(Lv(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return sst(t)},lst=Nt("".charAt),qj=Nt("".charCodeAt),cst=Nt("".slice),Kj=function(t){return function(e,n){var r,o,i=ai(Sv(e)),a=Hd(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=qj(i,a))<55296||r>56319||a+1===u||(o=qj(i,a+1))<56320||o>57343?t?lst(i,a):r:t?cst(i,a,a+2):o-56320+(r-55296<<10)+65536}},Yj={codeAt:Kj(!1),charAt:Kj(!0)},fst=Yj.charAt,dst=Ao.set,pst=Ao.getterFor("String Iterator");Wj(String,"String",function(t){dst(this,{type:"String Iterator",string:ai(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 w3=function(t,e,n){for(var r in e)Oo(t,r,e[r],n);return t},hst=wt.Array,gst=Math.max,Xj=jv.f,Zj=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],vst={f:function(t){return Zj&&ii(t)=="Window"?function(e){try{return Xj(e)}catch(n){return function(r,o,i){for(var a,u,s,l,c=Vl(r),f=o3(void 0,c),p=o3(c,c),d=hst(gst(p-f,0)),m=0;fi;i++)if((u=y(t[i]))&&Av(n_,u))return u;return new Mv(!1)}r=function(h,b){var w=arguments.length<2?t_(h):b;if(n3(w))return qn(nn(w,h));throw Est(e3(h)+" is not iterable")}(t,o)}for(s=r.next;!(l=nn(s,r)).done;){try{u=y(l.value)}catch(h){e_(r,"throw",h)}if(typeof u=="object"&&u&&Av(n_,u))return u}return new Mv(!1)},xst=wt.TypeError,o_=function(t,e){if(Av(e,t))return t;throw xst("Incorrect invocation")},i_=mn("iterator"),a_=!1;try{var Sst=0,u_={next:function(){return{done:!!Sst++}},return:function(){a_=!0}};u_[i_]=function(){return this},Array.from(u_,function(){throw 2})}catch(t){}var x3=Array.isArray||function(t){return ii(t)=="Array"},s_=function(){},Cst=[],l_=Rd("Reflect","construct"),S3=/^\s*(?:class|function)\b/,Ast=Nt(S3.exec),Ost=!S3.exec(s_),Kd=function(t){if(!ke(t))return!1;try{return l_(s_,Cst,t),!0}catch(e){return!1}},kst=!l_||Oe(function(){var t;return Kd(Kd.call)||!Kd(Object)||!Kd(function(){t=!0})||t})?function(t){if(!ke(t))return!1;switch(Lv(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Ost||!!Ast(S3,c3(t))}:Kd,Bst=mn("species"),c_=wt.Array,f_=function(t,e){return new(function(n){var r;return x3(n)&&(r=n.constructor,(kst(r)&&(r===c_||x3(r.prototype))||Be(r)&&(r=r[Bst])===null)&&(r=void 0)),r===void 0?c_:r}(t))(e===0?0:e)},d_=Nt([].push),ga=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,m=Ld(s),g=hj(m),v=D3(l,c),y=Vl(g),h=0,b=f||f_,w=e?b(s,y):n||a?b(s,0):void 0;y>h;h++)if((u||h in g)&&(d=v(p=g[h],h,m),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:d_(w,p)}else switch(t){case 4:return!1;case 7:d_(w,p)}return i?-1:r||o?o:w}},C3={forEach:ga(0),map:ga(1),filter:ga(2),some:ga(3),every:ga(4),find:ga(5),findIndex:ga(6),filterReject:ga(7)},zv=E3.getWeakData,Fst=Ao.set,Tst=Ao.getterFor,Pst=C3.find,jst=C3.findIndex,_st=Nt([].splice),Nst=0,$v=function(t){return t.frozen||(t.frozen=new p_)},p_=function(){this.entries=[]},A3=function(t,e){return Pst(t.entries,function(n){return n[0]===e})};p_.prototype={get:function(t){var e=A3(this,t);if(e)return e[1]},has:function(t){return!!A3(this,t)},set:function(t,e){var n=A3(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 Yd,h_={getConstructor:function(t,e,n,r){var o=t(function(s,l){o_(s,i),Fst(s,{type:e,id:Nst++,frozen:void 0}),l!=null&&r_(l,s[r],{that:s,AS_ENTRIES:n})}),i=o.prototype,a=Tst(e),u=function(s,l,c){var f=a(s),p=zv(qn(l),!0);return p===!0?$v(f).set(l,c):p[f.id]=c,s};return w3(i,{delete:function(s){var l=a(this);if(!Be(s))return!1;var c=zv(s);return c===!0?$v(l).delete(s):c&&en(c,l.id)&&delete c[l.id]},has:function(s){var l=a(this);if(!Be(s))return!1;var c=zv(s);return c===!0?$v(l).has(s):c&&en(c,l.id)}}),w3(i,n?{get:function(s){var l=a(this);if(Be(s)){var c=zv(s);return c===!0?$v(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}},Hv=Ao.enforce,Ist=!wt.ActiveXObject&&"ActiveXObject"in wt,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=wt[t],u=a&&a.prototype,s=a,l={},c=function(v){var y=Nt(u[v]);Oo(u,v,v=="add"?function(h){return y(this,h===0?0:h),this}:v=="delete"?function(h){return!(o&&!Be(h))&&y(this,h===0?0:h)}:v=="get"?function(h){return o&&!Be(h)?void 0:y(this,h===0?0:h)}:v=="has"?function(h){return!(o&&!Be(h))&&y(this,h===0?0:h)}:function(h,b){return y(this,h===0?0:h,b),this})};if(h3(t,!ke(a)||!(o||u.forEach&&!Oe(function(){new a().entries().next()}))))s=n.getConstructor(e,t,r,i),E3.enable();else if(h3(t,!0)){var f=new s,p=f[i](o?{}:-0,1)!=f,d=Oe(function(){f.has(1)}),m=function(v,y){if(!a_)return!1;var h=!1;try{var b={};b[i_]=function(){return{next:function(){return{done:h=!0}}}},function(w){new a(w)}(b)}catch(w){}return h}(),g=!o&&Oe(function(){for(var v=new a,y=5;y--;)v[i](y,y);return!v.has(-0)});m||((s=e(function(v,y){o_(v,u);var h=function(b,w,D){var S,x;return Nv&&ke(S=w.constructor)&&S!==D&&Be(x=S.prototype)&&x!==D.prototype&&Nv(b,x),b}(new a,v,s);return y!=null&&r_(y,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,ha({global:!0,forced:s!=a},l),m3(s,t),o||n.setStrong(s,t,r),s}("WeakMap",g_,h_);if(Pj&&Ist){Yd=h_.getConstructor(g_,"WeakMap",!0),E3.enable();var Xd=Lst.prototype,v_=Nt(Xd.delete),Vv=Nt(Xd.has),y_=Nt(Xd.get),m_=Nt(Xd.set);w3(Xd,{delete:function(t){if(Be(t)&&!Zu(t)){var e=Hv(this);return e.frozen||(e.frozen=new Yd),v_(this,t)||e.frozen.delete(t)}return v_(this,t)},has:function(t){if(Be(t)&&!Zu(t)){var e=Hv(this);return e.frozen||(e.frozen=new Yd),Vv(this,t)||e.frozen.has(t)}return Vv(this,t)},get:function(t){if(Be(t)&&!Zu(t)){var e=Hv(this);return e.frozen||(e.frozen=new Yd),Vv(this,t)?y_(this,t):e.frozen.get(t)}return y_(this,t)},set:function(t,e){if(Be(t)&&!Zu(t)){var n=Hv(this);n.frozen||(n.frozen=new Yd),Vv(this,t)?m_(this,t,e):n.frozen.set(t,e)}else m_(this,t,e);return this}})}var b_={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},O3=Q6("span").classList,w_=O3&&O3.constructor&&O3.constructor.prototype,Rst=w_===Object.prototype?void 0:w_,k3=mn("iterator"),E_=mn("toStringTag"),B3=qd.values,D_=function(t,e){if(t){if(t[k3]!==B3)try{pa(t,k3,B3)}catch(r){t[k3]=B3}if(t[E_]||pa(t,E_,e),b_[e]){for(var n in qd)if(t[n]!==qd[n])try{pa(t,n,qd[n])}catch(r){t[n]=qd[n]}}}};for(var F3 in b_)D_(wt[F3]&&wt[F3].prototype,F3);D_(Rst,"DOMTokenList");var T3=new WeakMap,Mst={type:"list-item",renderElem:function(t,e,n){T3.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,m=d.type,g=d.level,v=g===void 0?0:g,y=d.ordered,h=y!==void 0&&y;if(!h)return-1;var b=1,w=p,D=A.findPath(f,w);if(D[0]===0)return 1;for(;D[0]>0;){var S=_.previous(D),x=E.node(f,S);if(x==null)break;var O=x[0],T=O.level,I=T===void 0?0:T,M=O.type,z=O.ordered;if(M!==m||I=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 Zd(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 C_(t){return E.nodes(t,{at:t.selection||void 0,match:function(e){return A.findPath(t,e).length===1}})}var zst=Sj.includes;ha({target:"Array",proto:!0},{includes:function(t){return zst(this,t,arguments.length>1?arguments[1]:void 0)}}),Vd("includes");var A_,j3,$st=function(){var t=qn(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},_3=wt.RegExp,N3=Oe(function(){var t=_3("a","y");return t.lastIndex=2,t.exec("abcd")!=null}),Hst=N3||Oe(function(){return!_3("a","y").sticky}),Vst={BROKEN_CARET:N3||Oe(function(){var t=_3("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),MISSED_STICKY:Hst,UNSUPPORTED_Y:N3},Ust=wt.RegExp,Wst=Oe(function(){var t=Ust(".","s");return!(t.dotAll&&t.exec(`
`)&&t.flags==="s")}),Gst=wt.RegExp,qst=Oe(function(){var t=Gst("(?b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$c")!=="bc"}),Kst=Ao.get,Yst=G6("native-string-replace",String.prototype.replace),Uv=RegExp.prototype.exec,I3=Uv,Xst=Nt("".charAt),Zst=Nt("".indexOf),Jst=Nt("".replace),L3=Nt("".slice),R3=(j3=/b*/g,nn(Uv,A_=/a/,"a"),nn(Uv,j3,"a"),A_.lastIndex!==0||j3.lastIndex!==0),O_=Vst.BROKEN_CARET,M3=/()??/.exec("")[1]!==void 0;(R3||M3||O_||Wst||qst)&&(I3=function(t){var e,n,r,o,i,a,u,s=this,l=Kst(s),c=ai(t),f=l.raw;if(f)return f.lastIndex=s.lastIndex,e=nn(I3,f,c),s.lastIndex=f.lastIndex,e;var p=l.groups,d=O_&&s.sticky,m=nn($st,s),g=s.source,v=0,y=c;if(d&&(m=Jst(m,"y",""),Zst(m,"g")===-1&&(m+="g"),y=L3(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&Xst(c,s.lastIndex-1)!==`
`)&&(g="(?: "+g+")",y=" "+y,v++),n=new RegExp("^(?:"+g+")",m)),M3&&(n=new RegExp("^"+g+"$(?!\\s)",m)),R3&&(r=s.lastIndex),o=nn(Uv,d?n:s,y),d?o?(o.input=L3(o.input,v),o[0]=L3(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:R3&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),M3&&o&&o.length>1&&nn(Yst,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=tt("listModule.unOrderedList"),n.iconSvg=Qst,n}return x_(e,t),e}(k_),nlt=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.ordered=!0,n.title=tt("listModule.orderedList"),n.iconSvg=tlt,n}return x_(e,t),e}(k_),rlt={key:"bulletedList",factory:function(){return new elt}},olt={key:"numberedList",factory:function(){return new nlt}},B_=[],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=T3.get(l);if(c==null)return 0;var f=l,p=f.type,d=f.ordered,m=d!==void 0&&d,g=f.level,v=g===void 0?0:g,y=A.findPath(c,l);if(y[0]===0)return v+1;var h=_.previous(y),b=E.node(c,h);if(!b)return 0;var w=Zd(b,1)[0];if(A.getNodeType(w)!==p)return v+1;var D=w,S=D.ordered,x=S!==void 0&&S,O=D.level,T=O===void 0?0:O;return Tv?0:T===v?x===m?0:1:0}(t);if(a>0)for(var u=0;u",B_.push(i);var s=function(l){var c=T3.get(l);if(c==null)return 0;var f=l,p=f.type,d=f.ordered,m=d!==void 0&&d,g=f.level,v=g===void 0?0:g,y=A.findPath(c,l);if(y[0]===c.children.length-1)return v+1;var h=_.next(y),b=E.node(c,h);if(!b)return 0;var w=Zd(b,1)[0];if(A.getNodeType(w)!==p)return v+1;var D=w,S=D.ordered,x=S!==void 0&&S,O=D.level,T=O===void 0?0:O;return Tv?0:T===v?x===m?0:1:0}(t);if(s>0)for(u=0;u";return{html:""+e+"",prefix:n,suffix:r}}},alt=mn("species"),ult=C3.filter,slt=Y6>=51||!Oe(function(){var t=[];return(t.constructor={})[alt]=function(){return{foo:1}},t.filter(Boolean).foo!==1});ha({target:"Array",proto:!0,forced:!slt},{filter:function(t){return ult(this,t,arguments.length>1?arguments[1]:void 0)}});var z3=Function.prototype,F_=z3.apply,llt=z3.bind,T_=z3.call,clt=typeof Reflect=="object"&&Reflect.apply||(llt?T_.bind(F_):function(){return T_.apply(F_,arguments)}),P_=(mn("species"),RegExp.prototype),flt=Yj.charAt,dlt=function(t,e,n){return e+(n?flt(t,e).length:1)},plt=Math.floor,$3=Nt("".charAt),hlt=Nt("".replace),H3=Nt("".slice),glt=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,vlt=/\$([$&'`]|\d{1,2})/g,ylt=function(t,e,n,r,o,i){var a=n+t.length,u=r.length,s=vlt;return o!==void 0&&(o=Ld(o),s=glt),hlt(i,s,function(l,c){var f;switch($3(c,0)){case"$":return"$";case"&":return t;case"`":return H3(e,0,n);case"'":return H3(e,a);case"<":f=o[H3(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?$3(c,1):r[d-1]+$3(c,1):l}f=r[p-1]}return f===void 0?"":f})},mlt=wt.TypeError,blt=function(t,e){var n=t.exec;if(ke(n)){var r=nn(n,t,e);return r!==null&&qn(r),r}if(ii(t)==="RegExp")return nn(Wv,t,e);throw mlt("RegExp#exec called on incompatible receiver")},V3=mn("replace"),wlt=Math.max,Elt=Math.min,Dlt=Nt([].concat),U3=Nt([].push),j_=Nt("".indexOf),__=Nt("".slice),xlt="a".replace(/./,"$0")==="$0",N_=!!/./[V3]&&/./[V3]("a","$0")==="";(function(t,e,n,r){var o=mn(t),i=!Oe(function(){var l={};return l[o]=function(){return 7},""[t](l)!=7}),a=i&&!Oe(function(){var l=!1,c=/a/;return c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||n){var u=Nt(/./[o]),s=function(l,c,f){var p=N_?"$":"$0";return[function(d,m){var g=Sv(this),v=d==null?void 0:$d(d,V3);return v?nn(v,d,g,m):nn(c,ai(g),d,m)},function(d,m){var g=qn(this),v=ai(d);if(typeof m=="string"&&j_(m,p)===-1&&j_(m,"$<")===-1){var y=f(c,g,v,m);if(y.done)return y.value}var h=ke(m);h||(m=ai(m));var b=g.global;if(b){var w=g.unicode;g.lastIndex=0}for(var D=[];;){var S=blt(g,v);if(S===null||(U3(D,S),!b))break;ai(S[0])===""&&(g.lastIndex=dlt(v,Dj(g.lastIndex),w))}for(var x,O="",T=0,I=0;I=T&&(O+=__(v,T,z)+ot,T=z+M.length)}return O+__(v,T)}]}(0,""[t],function(l,c,f,p,d){var m=Nt(l),g=c.exec;return g===Wv||g===P_.exec?i&&!d?{done:!0,value:u(c,f,p)}:{done:!0,value:m(f,c,p)}:{done:!1}});Oo(String.prototype,t,s[0]),Oo(P_,o,s[1])}})("replace",0,!!Oe(function(){var t=/./;return t.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(t,"$")!=="7"})||!xlt||N_);var Slt=wt.TypeError,I_=function(t,e,n,r,o,i,a,u){for(var s,l,c=o,f=0,p=!!a&&D3(a,u);f0&&x3(s))l=Vl(s),c=I_(t,e,s,l,c,i-1)-1;else{if(c>=9007199254740991)throw Slt("Exceed the acceptable array length");t[c]=s}c++}f++}return c},Clt=I_;function W3(t){return t.length?t[0].tagName.toLowerCase():""}ha({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=Ld(this),n=Vl(e),r=f_(e,0);return r.length=Clt(r,e,e,n,0,t===void 0?1:Hd(t)),r}}),Vd("flat"),ha({global:!0},{globalThis:wt}),br&&(k.fn.append=br),mr&&(k.fn.attr=mr),Hs&&(k.fn.parent=Hs);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(R.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?N.setNodes(o,{level:l-1}):N.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(R.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 N.setNodes(o,{level:p+1})}}if(R.isExpanded(l)){var d=0,m=!1;try{for(var g=S_(C_(o)),v=g.next();!v.done;v=g.next()){var y=Zd(v.value,1)[0];A.getNodeType(y)==="list-item"?d++:m=!0}}catch(x){i={error:x}}finally{try{v&&!v.done&&(a=g.return)&&a.call(g)}finally{if(i)throw i.error}}if(m||d<=1)return void n();try{for(var h=S_(C_(o)),b=h.next();!b.done;b=h.next()){var w=Zd(b.value,2),D=(y=w[0],w[1]),S=y.level;p=S===void 0?0:S,N.setNodes(o,{level:p+1},{at:D})}}catch(x){u={error:x}}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=Zd(i,2),u=a[0],s=a[1],l=A.getNodeType(u);return l!=="bulleted-list"&&l!=="numbered-list"||N.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!!it.isText(a)||!!n.isInline(a)})).length===0&&(e=[{text:r.text().replace(/\s+/gm," ")}]);var o=function(a){return W3(a.parent())==="ol"}(r),i=function(a){for(var u=0,s=a.parent(),l=W3(s);l==="ul"||l==="ol";)l=W3(s=s.parent()),u++;return u-1}(r);return{type:"list-item",ordered:o,level:i,children:e}}}]},L_=$o(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]",m="[object RegExp]",g="[object Set]",v="[object String]",y="[object Symbol]",h="[object WeakMap]",b="[object ArrayBuffer]",w="[object DataView]",D=/^\[object .+?Constructor\]$/,S=/^(?:0|[1-9]\d*)$/,x={};x["[object Float32Array]"]=x["[object Float64Array]"]=x["[object Int8Array]"]=x["[object Int16Array]"]=x["[object Int32Array]"]=x["[object Uint8Array]"]=x["[object Uint8ClampedArray]"]=x["[object Uint16Array]"]=x["[object Uint32Array]"]=!0,x[o]=x[i]=x[b]=x[a]=x[w]=x[u]=x[s]=x[l]=x[c]=x[f]=x[p]=x[m]=x[g]=x[v]=x[h]=!1;var O=typeof te=="object"&&te&&te.Object===Object&&te,T=typeof self=="object"&&self&&self.Object===Object&&self,I=O||T||Function("return this")(),M=e&&!e.nodeType&&e,z=M&&t&&!t.nodeType&&t,Y=z&&z.exports===M,W=Y&&O.process,G=function(){try{return W&&W.binding&&W.binding("util")}catch(P){}}(),K=G&&G.isTypedArray;function ot(P,L){for(var J=-1,gt=P==null?0:P.length;++J$))return!1;var st=Lt.get(P);if(st&&Lt.get(L))return st==L;var $t=-1,me=!0,ue=2&J?new hn:void 0;for(Lt.set(P,L),Lt.set(L,P);++$t<$;){var Yt=P[$t],on=L[$t];if(gt)var Tn=F?gt(on,Yt,$t,L,P,Lt):gt(Yt,on,$t,P,L,Lt);if(Tn!==void 0){if(Tn)continue;me=!1;break}if(ue){if(!ot(L,function(ws,yi){if(Wa=yi,!ue.has(Wa)&&(Yt===ws||ae(Yt,ws,J,gt,Lt)))return ue.push(yi);var Wa})){me=!1;break}}else if(Yt!==on&&!ae(Yt,on,J,gt,Lt)){me=!1;break}}return Lt.delete(P),Lt.delete(L),me}function hi(P){return function(L,J,gt){var ae=J(L);return vi(L)?ae:function(Lt,F){for(var $=-1,et=F.length,st=Lt.length;++$-1},Fn.prototype.set=function(P,L){var J=this.__data__,gt=Ha(J,P);return gt<0?(++this.size,J.push([P,L])):J[gt][1]=L,this},In.prototype.clear=function(){this.size=0,this.__data__={hash:new Bn,map:new(Ee||Fn),string:new Bn}},In.prototype.delete=function(P){var L=uo(this,P).delete(P);return this.size-=L?1:0,L},In.prototype.get=function(P){return uo(this,P).get(P)},In.prototype.has=function(P){return uo(this,P).has(P)},In.prototype.set=function(P,L){var J=uo(this,P),gt=J.size;return J.set(P,L),this.size+=J.size==gt?0:1,this},hn.prototype.add=hn.prototype.push=function(P){return this.__data__.set(P,n),this},hn.prototype.has=function(P){return this.__data__.has(P)},Rr.prototype.clear=function(){this.__data__=new Fn,this.size=0},Rr.prototype.delete=function(P){var L=this.__data__,J=L.delete(P);return this.size=L.size,J},Rr.prototype.get=function(P){return this.__data__.get(P)},Rr.prototype.has=function(P){return this.__data__.has(P)},Rr.prototype.set=function(P,L){var J=this.__data__;if(J instanceof Fn){var gt=J.__data__;if(!Ee||gt.length<199)return gt.push([P,L]),this.size=++J.size,this;J=this.__data__=new In(gt)}return J.set(P,L),this.size=J.size,this};var jy=Bt?function(P){return P==null?[]:(P=Object(P),function(L,J){for(var gt=-1,ae=L==null?0:L.length,Lt=0,F=[];++gt-1&&P%1==0&&P-1&&P%1==0&&P<=r}function Ny(P){var L=typeof P;return P!=null&&(L=="object"||L=="function")}function Ua(P){return P!=null&&typeof P=="object"}var zo=K?function(P){return function(L){return P(L)}}(K):function(P){return Ua(P)&&Mo(P.length)&&!!x[pi(P)]};function Iy(P){return(L=P)!=null&&Mo(L.length)&&!Dh(L)?wh(P):ao(P);var L}t.exports=function(P,L){return bs(P,L)}});Un("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"}}),Un("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 R_=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof _t.g!="undefined"?_t.g:typeof self!="undefined"?self:{};function M_(t){var e={exports:{}};return t(e,e.exports),e.exports}var va,Gv,qv=function(t){return t&&t.Math==Math&&t},Pt=qv(typeof globalThis=="object"&&globalThis)||qv(typeof window=="object"&&window)||qv(typeof self=="object"&&self)||qv(typeof R_=="object"&&R_)||function(){return this}()||Function("return this")(),Ye=function(t){try{return!!t()}catch(e){return!0}},ya=!Ye(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Jd=Function.prototype.call,Xe=Jd.bind?Jd.bind(Jd):function(){return Jd.apply(Jd,arguments)},z_={}.propertyIsEnumerable,$_=Object.getOwnPropertyDescriptor,Olt={f:$_&&!z_.call({1:2},1)?function(t){var e=$_(this,t);return!!e&&e.enumerable}:z_},G3=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},H_=Function.prototype,q3=H_.bind,K3=H_.call,klt=q3&&q3.bind(K3),Rt=q3?function(t){return t&&klt(K3,t)}:function(t){return t&&function(){return K3.apply(t,arguments)}},Blt=Rt({}.toString),Flt=Rt("".slice),ma=function(t){return Flt(Blt(t),8,-1)},Y3=Pt.Object,Tlt=Rt("".split),V_=Ye(function(){return!Y3("z").propertyIsEnumerable(0)})?function(t){return ma(t)=="String"?Tlt(t,""):Y3(t)}:Y3,Plt=Pt.TypeError,ba=function(t){if(t==null)throw Plt("Can't call method on "+t);return t},Qd=function(t){return V_(ba(t))},bn=function(t){return typeof t=="function"},Pr=function(t){return typeof t=="object"?t!==null:bn(t)},jlt=function(t){return bn(t)?t:void 0},tp=function(t,e){return arguments.length<2?jlt(Pt[t]):Pt[t]&&Pt[t][e]},U_=Rt({}.isPrototypeOf),X3=tp("navigator","userAgent")||"",W_=Pt.process,G_=Pt.Deno,q_=W_&&W_.versions||G_&&G_.version,K_=q_&&q_.v8;K_&&(Gv=(va=K_.split("."))[0]>0&&va[0]<4?1:+(va[0]+va[1])),!Gv&&X3&&(!(va=X3.match(/Edge\/(\d+)/))||va[1]>=74)&&(va=X3.match(/Chrome\/(\d+)/))&&(Gv=+va[1]);var Z3=Gv,J3=!!Object.getOwnPropertySymbols&&!Ye(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Z3&&Z3<41}),Q3=J3&&!Symbol.sham&&typeof Symbol.iterator=="symbol",_lt=Pt.Object,t5=Q3?function(t){return typeof t=="symbol"}:function(t){var e=tp("Symbol");return bn(e)&&U_(e.prototype,_lt(t))},Nlt=Pt.String,Y_=function(t){try{return Nlt(t)}catch(e){return"Object"}},Ilt=Pt.TypeError,X_=function(t){if(bn(t))return t;throw Ilt(Y_(t)+" is not a function")},e5=function(t,e){var n=t[e];return n==null?void 0:X_(n)},Llt=Pt.TypeError,Rlt=Object.defineProperty,n5=function(t,e){try{Rlt(Pt,t,{value:e,configurable:!0,writable:!0})}catch(n){Pt[t]=e}return e},wa=Pt["__core-js_shared__"]||n5("__core-js_shared__",{}),r5=M_(function(t){(t.exports=function(e,n){return wa[e]||(wa[e]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),Mlt=Pt.Object,o5=function(t){return Mlt(ba(t))},zlt=Rt({}.hasOwnProperty),jr=Object.hasOwn||function(t,e){return zlt(o5(t),e)},$lt=0,Hlt=Math.random(),Vlt=Rt(1 .toString),Z_=function(t){return"Symbol("+(t===void 0?"":t)+")_"+Vlt(++$lt+Hlt,36)},ep=r5("wks"),Ju=Pt.Symbol,J_=Ju&&Ju.for,Ult=Q3?Ju:Ju&&Ju.withoutSetter||Z_,_r=function(t){if(!jr(ep,t)||!J3&&typeof ep[t]!="string"){var e="Symbol."+t;J3&&jr(Ju,t)?ep[t]=Ju[t]:ep[t]=Q3&&J_?J_(e):Ult(e)}return ep[t]},Wlt=Pt.TypeError,Glt=_r("toPrimitive"),i5=function(t){var e=function(n,r){if(!Pr(n)||t5(n))return n;var o,i=e5(n,Glt);if(i){if(r===void 0&&(r="default"),o=Xe(i,n,r),!Pr(o)||t5(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"&&bn(s=a.toString)&&!Pr(l=Xe(s,a))||bn(s=a.valueOf)&&!Pr(l=Xe(s,a))||u!=="string"&&bn(s=a.toString)&&!Pr(l=Xe(s,a)))return l;throw Llt("Can't convert object to primitive value")}(n,r)}(t,"string");return t5(e)?e:e+""},a5=Pt.document,qlt=Pr(a5)&&Pr(a5.createElement),u5=function(t){return qlt?a5.createElement(t):{}},Q_=!ya&&!Ye(function(){return Object.defineProperty(u5("div"),"a",{get:function(){return 7}}).a!=7}),tN=Object.getOwnPropertyDescriptor,eN={f:ya?tN:function(t,e){if(t=Qd(t),e=i5(e),Q_)try{return tN(t,e)}catch(n){}if(jr(t,e))return G3(!Xe(Olt.f,t,e),t[e])}},Klt=Pt.String,Ylt=Pt.TypeError,Nr=function(t){if(Pr(t))return t;throw Ylt(Klt(t)+" is not an object")},Xlt=Pt.TypeError,nN=Object.defineProperty,np={f:ya?nN:function(t,e,n){if(Nr(t),e=i5(e),Nr(n),Q_)try{return nN(t,e,n)}catch(r){}if("get"in n||"set"in n)throw Xlt("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},Gl=ya?function(t,e,n){return np.f(t,e,G3(1,n))}:function(t,e,n){return t[e]=n,t},Zlt=Rt(Function.toString);bn(wa.inspectSource)||(wa.inspectSource=function(t){return Zlt(t)});var Kv,rp,Yv,s5=wa.inspectSource,rN=Pt.WeakMap,Jlt=bn(rN)&&/native code/.test(s5(rN)),oN=r5("keys"),iN=function(t){return oN[t]||(oN[t]=Z_(t))},l5={},c5=Pt.TypeError,Qlt=Pt.WeakMap;if(Jlt||wa.state){var Qu=wa.state||(wa.state=new Qlt),tct=Rt(Qu.get),aN=Rt(Qu.has),ect=Rt(Qu.set);Kv=function(t,e){if(aN(Qu,t))throw new c5("Object already initialized");return e.facade=t,ect(Qu,t,e),e},rp=function(t){return tct(Qu,t)||{}},Yv=function(t){return aN(Qu,t)}}else{var ql=iN("state");l5[ql]=!0,Kv=function(t,e){if(jr(t,ql))throw new c5("Object already initialized");return e.facade=t,Gl(t,ql,e),e},rp=function(t){return jr(t,ql)?t[ql]:{}},Yv=function(t){return jr(t,ql)}}var f5={set:Kv,get:rp,has:Yv,enforce:function(t){return Yv(t)?rp(t):Kv(t,{})},getterFor:function(t){return function(e){var n;if(!Pr(e)||(n=rp(e)).type!==t)throw c5("Incompatible receiver, "+t+" required");return n}}},uN=Function.prototype,nct=ya&&Object.getOwnPropertyDescriptor,d5=jr(uN,"name"),p5={EXISTS:d5,PROPER:d5&&function(){}.name==="something",CONFIGURABLE:d5&&(!ya||ya&&nct(uN,"name").configurable)},op=M_(function(t){var e=p5.CONFIGURABLE,n=f5.get,r=f5.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;bn(u)&&(String(d).slice(0,7)==="Symbol("&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!jr(u,"name")||e&&u.name!==d)&&Gl(u,"name",d),(l=r(u)).source||(l.source=o.join(typeof d=="string"?d:""))),i!==Pt?(c?!p&&i[a]&&(f=!0):delete i[a],f?i[a]=u:Gl(i,a,u)):f?i[a]=u:n5(a,u)})(Function.prototype,"toString",function(){return bn(this)&&n(this).source||s5(this)})}),rct=Math.ceil,oct=Math.floor,Xv=function(t){var e=+t;return e!=e||e===0?0:(e>0?oct:rct)(e)},ict=Math.max,act=Math.min,ip=function(t,e){var n=Xv(t);return n<0?ict(n+e,0):act(n,e)},uct=Math.min,h5=function(t){return t>0?uct(Xv(t),9007199254740991):0},Zv=function(t){return h5(t.length)},sN=function(t){return function(e,n,r){var o,i=Qd(e),a=Zv(i),u=ip(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=(sN(!0),sN(!1)),lN=Rt([].push),cN=function(t,e){var n,r=Qd(t),o=0,i=[];for(n in r)!jr(l5,n)&&jr(r,n)&&lN(i,n);for(;e.length>o;)jr(r,n=e[o++])&&(~sct(i,n)||lN(i,n));return i},Jv=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],lct=Jv.concat("length","prototype"),cct={f:Object.getOwnPropertyNames||function(t){return cN(t,lct)}},fct={f:Object.getOwnPropertySymbols},dct=Rt([].concat),pct=tp("Reflect","ownKeys")||function(t){var e=cct.f(Nr(t)),n=fct.f;return n?dct(e,n(t)):e},hct=function(t,e){for(var n=pct(e),r=np.f,o=eN.f,i=0;i3})},{anchor:function(t){return e=t,n=Cn(ba(this)),r=""+n+"";var e,n,r}});var Qv,dN=function(){var t=Nr(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},y5=Pt.RegExp,m5=Ye(function(){var t=y5("a","y");return t.lastIndex=2,t.exec("abcd")!=null}),kct=m5||Ye(function(){return!y5("a","y").sticky}),pN={BROKEN_CARET:m5||Ye(function(){var t=y5("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),MISSED_STICKY:kct,UNSUPPORTED_Y:m5},Bct=Object.keys||function(t){return cN(t,Jv)},Fct=ya?Object.defineProperties:function(t,e){Nr(t);for(var n,r=Qd(e),o=Bct(e),i=o.length,a=0;i>a;)np.f(t,n=o[a++],r[n]);return t},Tct=tp("document","documentElement"),hN=iN("IE_PROTO"),b5=function(){},gN=function(t){return""},vN=function(t){t.write(gN("")),t.close();var e=t.parentWindow.Object;return t=null,e},t1=function(){try{Qv=new ActiveXObject("htmlfile")}catch(r){}var t,e;t1=typeof document!="undefined"?document.domain&&Qv?vN(Qv):((e=u5("iframe")).style.display="none",Tct.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(gN("document.F=Object")),t.close(),t.F):vN(Qv);for(var n=Jv.length;n--;)delete t1.prototype[Jv[n]];return t1()};l5[hN]=!0;var yN,w5,mN=Object.create||function(t,e){var n;return t!==null?(b5.prototype=Nr(t),n=new b5,b5.prototype=null,n[hN]=t):n=t1(),e===void 0?n:Fct(n,e)},Pct=Pt.RegExp,jct=Ye(function(){var t=Pct(".","s");return!(t.dotAll&&t.exec(`
`)&&t.flags==="s")}),_ct=Pt.RegExp,Nct=Ye(function(){var t=_ct("(?b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$c")!=="bc"}),Ict=f5.get,Lct=r5("native-string-replace",String.prototype.replace),e1=RegExp.prototype.exec,E5=e1,Rct=Rt("".charAt),Mct=Rt("".indexOf),zct=Rt("".replace),D5=Rt("".slice),x5=(w5=/b*/g,Xe(e1,yN=/a/,"a"),Xe(e1,w5,"a"),yN.lastIndex!==0||w5.lastIndex!==0),bN=pN.BROKEN_CARET,S5=/()??/.exec("")[1]!==void 0;(x5||S5||bN||jct||Nct)&&(E5=function(t){var e,n,r,o,i,a,u,s=this,l=Ict(s),c=Cn(t),f=l.raw;if(f)return f.lastIndex=s.lastIndex,e=Xe(E5,f,c),s.lastIndex=f.lastIndex,e;var p=l.groups,d=bN&&s.sticky,m=Xe(dN,s),g=s.source,v=0,y=c;if(d&&(m=zct(m,"y",""),Mct(m,"g")===-1&&(m+="g"),y=D5(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&Rct(c,s.lastIndex-1)!==`
`)&&(g="(?: "+g+")",y=" "+y,v++),n=new RegExp("^(?:"+g+")",m)),S5&&(n=new RegExp("^"+g+"$(?!\\s)",m)),x5&&(r=s.lastIndex),o=Xe(e1,d?n:s,y),d?o?(o.input=D5(o.input,v),o[0]=D5(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:x5&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),S5&&o&&o.length>1&&Xe(Lct,o[0],n,function(){for(i=1;i=51||!Ye(function(){var e=[];return(e.constructor={})[Uct]=function(){return{foo:1}},e[t](Boolean).foo!==1})},Wct=Rt([].slice),Gct=O5("slice"),qct=_r("species"),k5=Pt.Array,Kct=Math.max;function to(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 xN(t){var e=t.selection;if(e==null)return!1;var n=to(E.nodes(t,{match:function(i){return A.checkNodeType(i,"table-cell")}}),1)[0];if(n){var r=to(n,2)[1],o=E.start(t,r);if(Ft.equals(e.anchor,o))return!0}return!1}function SN(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}Ea({target:"Array",proto:!0,forced:!Gct},{slice:function(t,e){var n,r,o,i=Qd(this),a=Zv(i),u=ip(t,a),s=ip(e===void 0?a:e,a);if(n1(i)&&(n=i.constructor,(A5(n)&&(n===k5||n1(n.prototype))||Pr(n)&&(n=n[qct])===null)&&(n=void 0),n===k5||n===void 0))return Wct(i,u,s);for(r=new(n===void 0?k5:n)(Kct(s-u,0)),o=0;uh;h++)if((u||h in g)&&(d=v(p=g[h],h,m),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}},r1={forEach:Da(0),map:Da(1),filter:Da(2),some:Da(3),every:Da(4),find:Da(5),findIndex:Da(6),filterReject:Da(7)},Zct=r1.map;Ea({target:"Array",proto:!0,forced:!O5("map")},{map:function(t){return Zct(this,t,arguments.length>1?arguments[1]:void 0)}});var Jct=g5?{}.toString:function(){return"[object "+v5(this)+"]"};function o1(t){var e=t.children||[];return e.length===0?[]:(e[0]||{}).children||[]}function kN(t){return o1(t).every(function(e){return!!e.isHeader})}g5||op(Object.prototype,"toString",Jct,{unsafe:!0});var Qct=p5.PROPER,B5=RegExp.prototype,BN=B5.toString,tft=Rt(dN),eft=Ye(function(){return BN.call({source:"a",flags:"b"})!="/a/b"}),nft=Qct&&BN.name!="toString";(eft||nft)&&op(RegExp.prototype,"toString",function(){var t=Nr(this),e=Cn(t.source),n=t.flags;return"/"+e+"/"+Cn(n===void 0&&U_(B5,t)&&!("flags"in B5)?tft(t):n)},{unsafe:!0});var F5=_r("unscopables"),T5=Array.prototype;T5[F5]==null&&np.f(T5,F5,{configurable:!0,value:mN(null)});var rft=r1.find,FN=!0;"find"in[]&&Array(1).find(function(){FN=!1}),Ea({target:"Array",proto:!0,forced:FN},{find:function(t){return rft(this,t,arguments.length>1?arguments[1]:void 0)}}),T5[F5].find=!0;var P5=Function.prototype,TN=P5.apply,oft=P5.bind,PN=P5.call,jN=typeof Reflect=="object"&&Reflect.apply||(oft?PN.bind(TN):function(){return PN.apply(TN,arguments)}),ift=_r("species"),j5=RegExp.prototype,_N=function(t,e,n,r){var o=_r(t),i=!Ye(function(){var l={};return l[o]=function(){return 7},""[t](l)!=7}),a=i&&!Ye(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=Rt(/./[o]),s=e(o,""[t],function(l,c,f,p,d){var m=Rt(l),g=c.exec;return g===up||g===j5.exec?i&&!d?{done:!0,value:u(c,f,p)}:{done:!0,value:m(f,c,p)}:{done:!1}});op(String.prototype,t,s[0]),op(j5,o,s[1])}r&&Gl(j5[o],"sham",!0)},aft=_r("match"),uft=Pt.TypeError,sft=_r("species"),lft=Rt("".charAt),NN=Rt("".charCodeAt),cft=Rt("".slice),IN=function(t){return function(e,n){var r,o,i=Cn(ba(e)),a=Xv(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=NN(i,a))<55296||r>56319||a+1===u||(o=NN(i,a+1))<56320||o>57343?t?lft(i,a):r:t?cft(i,a,a+2):o-56320+(r-55296<<10)+65536}},fft=(IN(!1),IN(!0)),LN=function(t,e,n){return e+(n?fft(t,e).length:1)},dft=Pt.Array,pft=Math.max,RN=function(t,e,n){for(var r=Zv(t),o=ip(e,r),i=ip(n===void 0?r:n,r),a=dft(pft(i-o,0)),u=0;o1||"".split(/.?/).length?function(o,i){var a,u,s=Cn(ba(this)),l=i===void 0?4294967295:i>>>0;if(l===0)return[];if(o===void 0)return[s];if(!Pr(a=o)||!((u=a[aft])!==void 0?u:ma(a)=="RegExp"))return Xe(e,s,o,l);for(var c,f,p,d=[],m=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(o.sticky?"y":""),g=0,v=new RegExp(o.source,m+"g");(c=Xe(up,v,s))&&!((f=v.lastIndex)>g&&(Yl(d,lp(s,g,c.index)),c.length>1&&c.index=l));)v.lastIndex===c.index&&v.lastIndex++;return g===s.length?!p&&vft(v,"")||Yl(d,""):Yl(d,lp(s,g)),d.length>l?RN(d,0,l):d}:"0".split(void 0,0).length?function(o,i){return o===void 0&&i===0?[]:Xe(e,this,o,i)}:e,[function(o,i){var a=ba(this),u=o==null?void 0:e5(o,t);return u?Xe(u,o,a,i):Xe(r,Cn(a),o,i)},function(o,i){var a=Nr(this),u=Cn(o),s=n(r,a,u,i,r!==e);if(s.done)return s.value;var l=function(w,D){var S,x=Nr(w).constructor;return x===void 0||(S=Nr(x)[sft])==null?D:function(O){if(A5(O))return O;throw uft(Y_(O)+" is not a constructor")}(S)}(a,RegExp),c=a.unicode,f=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Kl?"g":"y"),p=new l(Kl?"^(?:"+a.source+")":a,f),d=i===void 0?4294967295:i>>>0;if(d===0)return[];if(u.length===0)return _5(p,u)===null?[u]:[];for(var m=0,g=0,v=[];g=0,v=Ft.compare(f,m)<=0&&Ft.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=bt("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)}}}},bt("table",{width:i,contentEditable:r},bt("colgroup",null,o1(t).map(function(u){var s=u.width;return bt("col",{width:s===void 0?"auto":s})})),bt("tbody",null,e)));return a}},xft={type:"table-row",renderElem:function(t,e,n){return bt("tr",null,e)}},Sft={type:"table-cell",renderElem:function(t,e,n){var r=function(p,d){var m=A.getParentNode(p,d);if(m==null)return!1;var g=A.getParentNode(p,m);return g!=null&&o1(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 bt("td",{colSpan:a,rowSpan:s},e);var f=bt(c?"th":"td",{colSpan:a,rowSpan:s,style:{borderRightWidth:"3px"},on:{mousemove:cu(function(p){var d=this.elm;if(d!=null){var m=d.getBoundingClientRect(),g=m.left,v=m.width,y=m.top,h=m.height,b=p.clientX,w=p.clientY;cp||(b>g+v-5&&by&&w1?arguments[1]:void 0)}});var Oft=Math.floor,L5=Rt("".charAt),kft=Rt("".replace),R5=Rt("".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=o5(o),s=Bft),kft(i,s,function(l,c){var f;switch(L5(c,0)){case"$":return"$";case"&":return t;case"`":return R5(e,0,n);case"'":return R5(e,a);case"<":f=o[R5(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?L5(c,1):r[d-1]+L5(c,1):l}f=r[p-1]}return f===void 0?"":f})},M5=_r("replace"),Pft=Math.max,jft=Math.min,_ft=Rt([].concat),z5=Rt([].push),GN=Rt("".indexOf),qN=Rt("".slice),Nft="a".replace(/./,"$0")==="$0",KN=!!/./[M5]&&/./[M5]("a","$0")==="";_N("replace",function(t,e,n){var r=KN?"$":"$0";return[function(o,i){var a=ba(this),u=o==null?void 0:e5(o,M5);return u?Xe(u,o,a,i):Xe(e,Cn(a),o,i)},function(o,i){var a=Nr(this),u=Cn(o);if(typeof i=="string"&&GN(i,r)===-1&&GN(i,"$<")===-1){var s=n(e,a,u,i);if(s.done)return s.value}var l=bn(i);l||(i=Cn(i));var c=a.global;if(c){var f=a.unicode;a.lastIndex=0}for(var p=[];;){var d=_5(a,u);if(d===null||(z5(p,d),!c))break;Cn(d[0])===""&&(a.lastIndex=LN(u,h5(a.lastIndex),f))}for(var m,g="",v=0,y=0;y=v&&(g+=qN(u,v,b)+O,v=b+h.length)}return g+qN(u,v)}]},!!Ye(function(){var t=/./;return t.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(t,"$")!=="7"})||!Nft||KN);var Ift={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!!it.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:$N(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||!R.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,m=p.y;o[0].innerHTML=d+1+" × "+(m+1),i.children().each(function(g){k(g).children().each(function(v){var y=k(v),h=y.dataset(),b=h.x,w=h.y;b<=d&&w<=m?y.addClass("active"):y.removeClass("active")})})}}),l.on("click",function(c){c.preventDefault();var f=c.target;if(f!=null){var p=k(f).dataset(),d=p.x,m=p.y;n.insertTable(e,m+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)&&N.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)||N.removeNodes(e,{mode:"highest"})},t}(),$ft=function(){function t(){this.title=tt("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||!R.isCollapsed(n)||A.getSelectedNodeByType(e,"table")==null},t.prototype.exec=function(e,n){if(!this.isDisabled(e)){var r=to(E.nodes(e,{match:function(d){return A.checkNodeType(d,"table-cell")},universal:!0}),1),o=to(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||!R.isCollapsed(n)||A.getSelectedNodeByType(e,"table-row")==null},t.prototype.exec=function(e,n){if(!this.isDisabled(e)){var r=to(E.nodes(e,{match:function(s){return A.checkNodeType(s,"table-row")},universal:!0}),1),o=to(r[0],2),i=o[0],a=o[1],u=A.getParentNode(e,i);((u==null?void 0:u.children.length)||0)<=1?N.removeNodes(e,{mode:"highest"}):N.removeNodes(e,{at:a})}},t}(),YN={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},$5=u5("span").classList,XN=$5&&$5.constructor&&$5.constructor.prototype,Vft=XN===Object.prototype?void 0:XN,Uft=r1.forEach,Wft=function(t,e){var n=[].forEach;return!!n&&Ye(function(){n.call(null,function(){throw 1},1)})}(),H5=Wft?[].forEach:function(t){return Uft(this,t,arguments.length>1?arguments[1]:void 0)},ZN=function(t){if(t&&t.forEach!==H5)try{Gl(t,"forEach",H5)}catch(e){t.forEach=H5}};for(var V5 in YN)YN[V5]&&ZN(Pt[V5]&&Pt[V5].prototype);ZN(Vft);var Gft=function(){function t(){this.title=tt("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||!R.isCollapsed(n)||A.getSelectedNodeByType(e,"table")==null},t.prototype.exec=function(e,n){if(!this.isDisabled(e)){var r=to(E.nodes(e,{match:function(l){return A.checkNodeType(l,"table-cell")},universal:!0}),1),o=to(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){ft.isElement(l)&&(l.children||[]).forEach(function(f){var p=A.findPath(e,f);if(p.length===a.length&&L_(p.slice(-1),a.slice(-1))){var d={type:"table-cell",children:[{text:""}]};c===0&&kN(s)&&(d.isHeader=!0),N.insertNodes(e,d,{at:p})}})})}}},t}(),qft=function(){function t(){this.title=tt("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||!R.isCollapsed(n)||A.getSelectedNodeByType(e,"table-cell")==null},t.prototype.exec=function(e,n){if(!this.isDisabled(e)){var r=to(E.nodes(e,{match:function(c){return A.checkNodeType(c,"table-cell")},universal:!0}),1),o=to(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)N.removeNodes(e,{mode:"highest"});else{var l=A.getParentNode(e,u);l!=null&&(l.children||[]).forEach(function(c){ft.isElement(c)&&(c.children||[]).forEach(function(f){var p=A.findPath(e,f);p.length===a.length&&L_(p.slice(-1),a.slice(-1))&&N.removeNodes(e,{at:p})})})}}},t}(),Kft=function(){function t(){this.title=tt("tableModule.header"),this.iconSvg='',this.tag="button"}return t.prototype.getValue=function(e){var n=A.getSelectedNodeByType(e,"table");return n!=null&&kN(n)},t.prototype.isActive=function(e){return!!this.getValue(e)},t.prototype.isDisabled=function(e){var n=e.selection;return n==null||!R.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&&o1(o).forEach(function(i){return N.setNodes(e,{isHeader:r},{at:A.findPath(e,i)})})}},t}(),Yft=function(){function t(){this.title=tt("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||!R.isCollapsed(n)||A.getSelectedNodeByType(e,"table")==null},t.prototype.exec=function(e,n){if(!this.isDisabled(e)){var r={width:n?"auto":"100%"};N.setNodes(e,r,{mode:"highest"})}},t}(),Xft={renderElems:[Dft,xft,Sft],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:[Cft],parseElemsHtml:[Ift,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 qft}},{key:"tableHeader",factory:function(){return new Kft}},{key:"tableFullWidth",factory:function(){return new Yft}}],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(!xN(s)){var c=s.selection;if(c){var f=E.before(s,c);if(f){var p=SN(s,f),d=SN(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")&&N.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),N.select(t,f[1]);else{var p=s.children||[],d=p.length;if(A.checkNodeType(p[d-1],"table")){var m=A.genEmptyParagraph();N.insertNodes(s,m,{at:[d]}),s.handleTab()}}}else a()},s.deleteForward=function(l){xN(s)||r(l)},s.normalizeNode=function(l){var c=to(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();N.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(Q.string(c).length!==0){var d=A.findPath(s,c),m={anchor:E.start(s,d),focus:E.end(s,d)};s.select(m)}else u();else u()}else u()}else u()},s}};Un("en",{videoModule:{delete:"Delete",uploadVideo:"Upload video",insertVideo:"Insert video",videoSrc:"Video source",videoSrcPlaceHolder:"Video file url, or third-party =D.reach);ot+=K.value.length,K=K.next){var ct=K.value;if(y.length>v.length)return;if(!(ct instanceof u)){var lt,ut=1;if(z){if(!(lt=s(G,ot,v,M)))break;var B=lt.index,C=lt.index+lt[0].length,j=ot;for(j+=K.value.length;B>=j;)j+=(K=K.next).value.length;if(ot=j-=K.value.length,K.value instanceof u)continue;for(var H=K;H!==y.tail&&(jD.reach&&(D.reach=vt);var mt=K.prev;if(U&&(mt=f(y,mt,U),ot+=U.length),p(y,mt,ut),K=f(y,mt,new u(S,I?a.tokenize(X,I):X,Y,X)),at&&f(y,K,at),ut>1){var St={cause:S+","+O,reach:vt};l(v,y,h,K.prev,ot,St),D&&St.reach>D.reach&&(D.reach=St.reach)}}}}}}function c(){var v={value:null,prev:null,next:null},y={value:null,prev:v,next:null};v.next=y,this.head=v,this.tail=y,this.length=0}function f(v,y,h){var b=y.next,w={value:h,prev:y,next:b};return y.next=w,b.prev=w,v.length++,w}function p(v,y,h){for(var b=y.next,w=0;w"+w.content+""+w.tag+">"},!n.document)return n.addEventListener&&(a.disableWorkerMessageHandler||n.addEventListener("message",function(v){var y=JSON.parse(v.data),h=y.language,b=y.code,w=y.immediateClose;n.postMessage(a.highlight(b,a.languages[h],h)),w&&n.close()},!1)),a;var d=a.util.currentScript();function m(){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",m):window.requestAnimationFrame?window.requestAnimationFrame(m):window.setTimeout(m,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),by!==void 0&&(by.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 m=e.plugins.autoloader;m&&m.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(C,j){return C.replace(/<<(\d+)>>/g,function(H,X){return"(?:"+j[+X]+")"})}function n(C,j,H){return RegExp(e(C,j),H||"")}function r(C,j){for(var H=0;H>/g,function(){return"(?:"+C+")"});return C.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(C){return"\\b(?:"+C.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),m=r(/\((?:[^()]|<>)*\)/.source,2),g=/@?\b[A-Za-z_]\w*\b/.source,v=e(/<<0>>(?:\s*<<1>>)?/.source,[g,d]),y=e(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[f,v]),h=/\[\s*(?:,\s*)*\]/.source,b=e(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[y,h]),w=e(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[d,m,h]),D=e(/\(<<0>>+(?:,<<0>>+)+\)/.source,[w]),S=e(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[D,y,h]),x={keyword:c,punctuation:/[<>()?,.:[\]]/},O=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,T=/"(?:\\.|[^\\"\r\n])*"/.source,I=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;t.languages.csharp=t.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[I]),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,[y]),lookbehind:!0,inside:x},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,S]),lookbehind:!0,inside:x},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[g]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[l,v]),lookbehind:!0,inside:x},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[y]),lookbehind:!0,inside:x},{pattern:n(/(\bwhere\s+)<<0>>/.source,[g]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[b]),lookbehind:!0,inside:x},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[S,p,g]),inside:x}],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,[m]),lookbehind:!0,alias:"class-name",inside:x},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[S,y]),inside:x,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[S]),lookbehind:!0,inside:x,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:x}}},"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,S,c.source,m,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[v,m]),lookbehind:!0,greedy:!0,inside:t.languages.csharp},keyword:c,"class-name":{pattern:RegExp(S),greedy:!0,inside:x},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 M=T+"|"+O,z=e(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[M]),Y=r(e(/[^"'/()]|<<0>>|\(<>*\)/.source,[z]),2),W=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,G=e(/<<0>>(?:\s*\(<<1>>*\))?/.source,[y,Y]);t.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[W,G]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[W]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[Y]),inside:t.languages.csharp},"class-name":{pattern:RegExp(y),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var K=/:[^}\r\n]+/.source,ot=r(e(/[^"'/()]|<<0>>|\(<>*\)/.source,[z]),2),ct=e(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[ot,K]),lt=r(e(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[M]),2),ut=e(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[lt,K]);function B(C,j){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[C]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[j,K]),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,[ct]),lookbehind:!0,greedy:!0,inside:B(ct,ot)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[ut]),lookbehind:!0,greedy:!0,inside:B(ut,lt)}]})}(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 eyt=["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 $z(t){return typeof t=="string"?t.length:typeof t.content=="string"?t.content.length:t.content.reduce(function(e,n){return e+$z(n)},0)}var By,nyt=It.String,fi=function(t){if(q8(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return nyt(t)},Hz=function(){var t=ro(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},rS=It.RegExp,oS=dn(function(){var t=rS("a","y");return t.lastIndex=2,t.exec("abcd")!=null}),ryt=oS||dn(function(){return!rS("a","y").sticky}),Vz={BROKEN_CARET:oS||dn(function(){var t=rS("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),MISSED_STICKY:ryt,UNSUPPORTED_Y:oS},oyt=No?Object.defineProperties:function(t,e){ro(t);for(var n,r=Cy(e),o=ky(e),i=o.length,a=0;i>a;)Dy.f(t,n=o[a++],r[n]);return t},iyt=fh("document","documentElement"),Uz=pz("IE_PROTO"),iS=function(){},Wz=function(t){return""},Gz=function(t){t.write(Wz("")),t.close();var e=t.parentWindow.Object;return t=null,e},Fy=function(){try{By=new ActiveXObject("htmlfile")}catch(r){}var t,e;Fy=typeof document!="undefined"?document.domain&&By?Gz(By):((e=R8("iframe")).style.display="none",iyt.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Wz("document.F=Object")),t.close(),t.F):Gz(By);for(var n=Ay.length;n--;)delete Fy.prototype[Ay[n]];return Fy()};V8[Uz]=!0;var qz,aS,ayt=Object.create||function(t,e){var n;return t!==null?(iS.prototype=ro(t),n=new iS,iS.prototype=null,n[Uz]=t):n=Fy(),e===void 0?n:oyt(n,e)},uyt=It.RegExp,syt=dn(function(){var t=uyt(".","s");return!(t.dotAll&&t.exec(`
`)&&t.flags==="s")}),lyt=It.RegExp,cyt=dn(function(){var t=lyt("(?b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$c")!=="bc"}),fyt=W8.get,dyt=B8("native-string-replace",String.prototype.replace),Ty=RegExp.prototype.exec,uS=Ty,pyt=ne("".charAt),hyt=ne("".indexOf),gyt=ne("".replace),sS=ne("".slice),lS=(aS=/b*/g,rn(Ty,qz=/a/,"a"),rn(Ty,aS,"a"),qz.lastIndex!==0||aS.lastIndex!==0),Kz=Vz.BROKEN_CARET,cS=/()??/.exec("")[1]!==void 0;(lS||cS||Kz||syt||cyt)&&(uS=function(t){var e,n,r,o,i,a,u,s=this,l=fyt(s),c=fi(t),f=l.raw;if(f)return f.lastIndex=s.lastIndex,e=rn(uS,f,c),s.lastIndex=f.lastIndex,e;var p=l.groups,d=Kz&&s.sticky,m=rn(Hz,s),g=s.source,v=0,y=c;if(d&&(m=gyt(m,"y",""),hyt(m,"g")===-1&&(m+="g"),y=sS(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&pyt(c,s.lastIndex-1)!==`
`)&&(g="(?: "+g+")",y=" "+y,v++),n=new RegExp("^(?:"+g+")",m)),cS&&(n=new RegExp("^"+g+"$(?!\\s)",m)),lS&&(r=s.lastIndex),o=rn(Ty,d?n:s,y),d?o?(o.input=sS(o.input,v),o[0]=sS(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:lS&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),cS&&o&&o.length>1&&rn(dyt,o[0],n,function(){for(i=1;i=u?t?"":void 0:(r=Zz(i,a))<55296||r>56319||a+1===u||(o=Zz(i,a+1))<56320||o>57343?t?Dyt(i,a):r:t?xyt(i,a,a+2):o-56320+(r-55296<<10)+65536}},Syt=(Jz(!1),Jz(!0)),Cyt=function(t,e,n){return e+(n?Syt(t,e).length:1)},Ayt=It.Array,Oyt=Math.max,Qz=function(t,e,n){for(var r,o,i,a,u=J8(t),s=nS(e,u),l=nS(n===void 0?u:n,u),c=Ayt(Oyt(l-s,0)),f=0;s1||"".split(/.?/).length?function(d,m){var g,v,y=fi(yc(this)),h=m===void 0?4294967295:m>>>0;if(h===0)return[];if(d===void 0)return[y];if(!no(g=d)||!((v=g[byt])!==void 0?v:za(g)=="RegExp"))return rn(c,y,d,h);for(var b,w,D,S=[],x=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(d.sticky?"y":""),O=0,T=new RegExp(d.source,x+"g");(b=rn(mh,T,y))&&!((w=T.lastIndex)>O&&(Dc(S,bh(y,O,b.index)),b.length>1&&b.index=h));)T.lastIndex===b.index&&T.lastIndex++;return O===y.length?!D&&Fyt(T,"")||Dc(S,""):Dc(S,bh(y,O)),S.length>h?Qz(S,0,h):S}:"0".split(void 0,0).length?function(d,m){return d===void 0&&m===0?[]:rn(c,this,d,m)}:c,[function(d,m){var g=yc(this),v=d==null?void 0:lz(d,l);return v?rn(v,d,g,m):rn(p,fi(g),d,m)},function(d,m){var g=ro(this),v=fi(d),y=f(p,g,v,m,p!==c);if(y.done)return y.value;var h=function(Y,W){var G,K=ro(Y).constructor;return K===void 0||(G=ro(K)[Eyt])==null?W:function(ot){if(Cz(ot))return ot;throw wyt(uz(ot)+" is not a constructor")}(G)}(g,RegExp),b=g.unicode,w=(g.ignoreCase?"i":"")+(g.multiline?"m":"")+(g.unicode?"u":"")+(Ec?"g":"y"),D=new h(Ec?"^(?:"+g.source+")":g,w),S=m===void 0?4294967295:m>>>0;if(S===0)return[];if(v.length===0)return t$(D,v)===null?[v]:[];for(var x=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||!ft.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()};N.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 ft.isElement(r)?r.type!=="pre"?null:n:null},t}(),Iyt={renderStyle:function(t,e){var n=t,r=e,o="";return eyt.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(!ft.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 Nyt},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+"
"}}]},Lyt=/"/g,Ryt=ne("".replace);Oy({target:"String",proto:!0,forced:dn(function(){var t="".anchor('"');return t!==t.toLowerCase()||t.split('"').length>3})},{anchor:function(t){return e=t,n=fi(yc(this)),r=""+n+"";var e,n,r}});var r$=function(t){var e,n,r,o=function(y,h){var b=typeof Symbol=="function"&&y[Symbol.iterator];if(!b)return y;var w,D,S=b.call(y),x=[];try{for(;(h===void 0||h-- >0)&&!(w=S.next()).done;)x.push(w.value)}catch(O){D={error:O}}finally{try{w&&!w.done&&(b=S.return)&&b.call(S)}finally{if(D)throw D.error}}return x}(t,2),i=o[0],a=o[1],u=[],s=function(y){if(!it.isText(y))return null;var h=A.getParentNode(null,y);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(y,h){if(!h)return[];var b=zz.languages[h];return b?zz.tokenize(y.text,b):[]}(i,c),p=0;try{for(var d=function(y){var h=typeof Symbol=="function"&&Symbol.iterator,b=h&&y[h],w=0;if(b)return b.call(y);if(y&&typeof y.length=="number")return{next:function(){return y&&w>=y.length&&(y=void 0),{value:y&&y[w++],done:!y}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")}(f),m=d.next();!m.done;m=d.next()){var g=m.value,v=p+$z(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(y){e={error:y}}finally{try{m&&!m.done&&(n=d.return)&&n.call(d)}finally{if(e)throw e.error}}return u},Fe=function(){return Fe=Object.assign||function(t){for(var e,n=1,r=arguments.length;n',i$={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"]}},Myt={hoverbarKeys:Fe(Fe({},i$),{text:{menuKeys:["headerSelect","insertLink","bulletedList","|","bold","through","color","bgColor","clearStyle"]}})};pn.setEditorConfig(Fe(Fe({},Myt),{decorate:r$}));var zyt={hoverbarKeys:i$};pn.setSimpleEditorConfig(Fe(Fe({},zyt),{decorate:r$}));var $yt={toolbarKeys:["headerSelect","blockquote","|","bold","underline","italic",{key:"group-more-style",title:tt("editor.more"),iconSvg:'',menuKeys:["through","code","sup","sub","clearStyle"]},"color","bgColor","|","fontSize","fontFamily","lineHeight","|","bulletedList","numberedList","todo",{key:"group-justify",title:tt("editor.justify"),iconSvg:'',menuKeys:["justifyLeft","justifyRight","justifyCenter","justifyJustify"]},{key:"group-indent",title:tt("editor.indent"),iconSvg:'',menuKeys:["indent","delIndent"]},"|","emotion","insertLink",{key:"group-image",title:tt("editor.image"),iconSvg:o$,menuKeys:["insertImage","uploadImage"]},{key:"group-video",title:tt("editor.video"),iconSvg:'',menuKeys:["insertVideo","uploadVideo"]},"insertTable","codeBlock","divider","|","undo","redo","|","fullScreen"]};pn.setToolbarConfig($yt);var Hyt={toolbarKeys:["blockquote","header1","header2","header3","|","bold","underline","italic","through","color","bgColor","clearStyle","|","bulletedList","numberedList","todo","justifyLeft","justifyRight","justifyCenter","|","insertLink",{key:"group-image",title:tt("editor.image"),iconSvg:o$,menuKeys:["insertImage","uploadImage"]},"insertVideo","insertTable","codeBlock","|","undo","redo","|","fullScreen"]};function Vyt(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"?pn.simpleEditorConfig:pn.editorConfig,c=Fe(Fe({},l.hoverbarKeys||{}),u.hoverbarKeys||{});return ett({selector:n,config:Fe(Fe(Fe({},l),u),{hoverbarKeys:c}),content:o,html:i,plugins:pn.plugins})}function Uyt(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"?pn.simpleToolbarConfig:pn.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,y){return wB(v,"data-w-e-toolbar",y)}(l,f))throw new Error("Repeated create toolbar by selector '"+f+"'");var m=xr({toolbarKeys:[],excludeKeys:[],insertKeys:{index:0,keys:[]},modalAppendToBody:!1},d||{}),g=new att(f,m);return Ww.set(g,l),vg.set(l,g),g}(n,{selector:e,config:Fe(Fe({},u),o)});return s}pn.setSimpleToolbarConfig(Hyt);var Zyt={};/*! *****************************************************************************
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 Py=function(){return Py=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 Wyt(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,m=d===void 0?{}:d,g=t.className,v=(0,zr.useRef)(null),y=a$((0,zr.useState)(null),2),h=y[0],b=y[1],w=a$((0,zr.useState)(""),2),D=w[0],S=w[1],x=function(I){r&&r(I);var M=c.onCreated;M&&M(I)},O=function(I){S(I.getHtml()),s&&s(I);var M=c.onChange;M&&M(I)},T=function(I){var M=c.onDestroyed;b(null),M&&M(I)};return(0,zr.useEffect)(function(){if(h!=null&&u!==D)try{h.setHtml(u)}catch(I){console.error(I)}},[u]),(0,zr.useEffect)(function(){var I;if(v.current!=null&&h==null&&!((I=v.current)===null||I===void 0?void 0:I.getAttribute("data-w-e-textarea"))){var M=Vyt({selector:v.current,config:Py(Py({},c),{onCreated:x,onChange:O,onDestroyed:T}),content:n,html:i||u,mode:p});b(M)}},[h]),zr.createElement("div",{style:m,ref:v,className:g})}function Gyt(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,zr.useRef)(null);return(0,zr.useEffect)(function(){l.current!=null&&e!=null&&Uyt({editor:e,selector:l.current,config:r,mode:i})},[e]),zr.createElement("div",{style:u,ref:l,className:s})}}}]);