@ckeditor/ckeditor5-track-changes 41.1.0 → 41.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/pt.js +1 -1
- package/lang/translations/he.po +1 -4
- package/lang/translations/pt.po +26 -26
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/build/track-changes.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={588:(t,e,n)=>{t.exports=n(104)("./src/collaboration-core.js")},968:(t,e,n)=>{t.exports=n(672)("./src/core.js")},684:(t,e,n)=>{t.exports=n(672)("./src/engine.js")},976:(t,e,n)=>{t.exports=n(672)("./src/enter.js")},500:(t,e,n)=>{t.exports=n(672)("./src/typing.js")},348:(t,e,n)=>{t.exports=n(672)("./src/ui.js")},316:(t,e,n)=>{t.exports=n(672)("./src/utils.js")},396:(t,e,n)=>{t.exports=n(672)("./src/widget.js")},104:t=>{"use strict";t.exports=CKEditor5.collaborationDll},672:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,n),o.exports}n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{BaseSuggestionThreadView:()=>Kc,TrackChanges:()=>cl,TrackChangesData:()=>hl,TrackChangesEditing:()=>Ac});var t=n(968),e=n(316),i=n(348),o=n(588),s=n(684),x=n(396);const a=["refresh","forceDisabled","TrackChangesCommand","affectsData","commands","_enabledCommands","_disableUnsupportedCommands","execute","_enableCommands","editor","clearForceDisabled","value","isEnabled","has","_isEnabledBasedOnSelection"];var c,l;c=a,l=127,function(t){for(;--t;)c.push(c.shift())}(++l);const u=function(t,e){return a[t-=0]};class d extends t.Command{constructor(t,e){super(t),this._enabledCommands=e,this[u("0x4")]=!1,this.refresh(),this[u("0x7")]=!1}[u("0x8")](){this[u("0x5")]=!0}[u("0x0")](){this[u("0x4")]=!this[u("0x4")],this.value?this[u("0xe")]():this[u("0x1")]()}[u("0xe")](){for(const t of this[u("0x2")][u("0xc")][u("0xc")]())t[u("0xb")]&&!this[u("0xd")][u("0x6")](t)&&t[u("0x9")]("TrackChangesCommand")}[u("0x1")](){for(const t of this[u("0x2")][u("0xc")].commands())t[u("0xb")]&&!this._enabledCommands[u("0x6")](t)&&t[u("0x3")](u("0xa"))}}const g=["plugins","acceptSuggestion","refresh","model","execute","isEnabled","_isEnabledBasedOnSelection","get","editor","track-changes-accept-suggestion-not-found","getRanges","_suggestions","TrackChangesEditing"];var f,h;f=g,h=142,function(t){for(;--t;)f.push(f.shift())}(++h);const m=function(t,e){return g[t-=0]};class b extends t.Command{constructor(t,e){super(t),this._suggestions=e,this[m("0x3")](),this[m("0x7")]=!1}[m("0x3")](){this[m("0x6")]=!0}[m("0x5")](t){const n=this[m("0xc")][m("0x8")](t);if(!n)throw new e.CKEditorError(m("0xa"),this);const r=n[m("0xb")]();this[m("0x9")][m("0x4")].canEditAt(r)&&this[m("0x9")][m("0x1")][m("0x8")](m("0x0"))[m("0x2")](n)}}const p=["getRanges","editor","refresh","discardSuggestion","_isEnabledBasedOnSelection","execute","get","track-changes-discard-suggestion-not-found","_suggestions","canEditAt"];var E,_;E=p,_=483,function(t){for(;--t;)E.push(E.shift())}(++_);const T=function(t,e){return p[t-=0]};class y extends t.Command{constructor(t,e){super(t),this._suggestions=e,this[T("0x9")](),this[T("0x1")]=!1}refresh(){this.isEnabled=!0}[T("0x2")](t){const n=this[T("0x5")][T("0x3")](t);if(!n)throw new e.CKEditorError(T("0x4"),this);const r=n[T("0x7")]();this[T("0x8")].model[T("0x6")](r)&&this[T("0x8")].plugins.get("TrackChangesEditing")[T("0x0")](n)}}const C=["createPositionAt","join","type","getRanges","createRange","createPositionBefore","isMultiRange","isObject","isCollapsed","isTouching","isInContent","isIntersecting","createPositionAfter","execute","isArray","content","length","change","color","replace","start","deletion","push","end","splice"];var A,k;A=C,k=369,function(t){for(;--t;)A.push(A.shift())}(++k);const I=function(t,e){return C[t-=0]};function R(t){return t.sort(((t,e)=>I("0x2")==t[I("0x8")]&&"deletion"!=e[I("0x8")]?-1:I("0x2")!=t[I("0x8")]&&"deletion"==e[I("0x8")]?1:0))}function S(t,e){let n,r=0;const i=[],o=e.schema;for(;r<t[I("0x16")];){const s=t[r],x=t[r+1];n||(n=e[I("0xb")](s)),v(e,s,x)||(i[I("0x3")](e[I("0xa")](n,o[I("0xd")](s)?e[I("0x12")](s):e[I("0x6")](s,I("0x4")))),n=null),r++}return i}function v(t,e,n){if(!n)return!1;const r=t.createPositionAfter(e),i=t[I("0xb")](n);return r[I("0xf")](i)}function N(t,e,n){for(;n[I("0x16")];){const r=n[I("0x5")](0,100);t[I("0x17")]((()=>{for(const t of r)t.isInContent&&e[I("0x13")](t.id)}))}}const L=["getRanges","_command","isInContent","refresh","from","some","_isEnabledBasedOnSelection","isEnabled","editor","model","canEditAt","values","execute","_suggestions"];var M,w;M=L,w=334,function(t){for(;--t;)M.push(M.shift())}(++w);const O=function(t,e){return L[t-=0]};class F extends t.Command{constructor(t,e,n){super(t),this[O("0x3")]=e,this[O("0x1")]=n,this[O("0x5")](),this[O("0x8")]=!1}[O("0x5")](){const t=Array[O("0x6")](this._suggestions.values())[O("0x7")]((t=>t[O("0x4")]));this.isEnabled=this[O("0x3")][O("0x9")]&&t}[O("0x0")](){const t=R(Array[O("0x6")](this._suggestions[O("0xd")]()));for(const e of t){const t=e[O("0x2")]();if(!this[O("0xa")][O("0xb")][O("0xc")](t))return}N(this[O("0xa")].model,this[O("0x3")],t)}}const D=["size","getRanges","from","_isEnabledBasedOnSelection","isEnabled","_selectedSuggestions","selection","_suggestions","editor","model","_command","execute","refresh"];var P,B;P=D,B=338,function(t){for(;--t;)P.push(P.shift())}(++B);const U=function(t,e){return D[t-=0]};class j extends t.Command{constructor(t,e,n){super(t),this[U("0xa")]=e,this[U("0x7")]=n,this._selectedSuggestions=new Set,this[U("0xc")](),this[U("0x3")]=!1}[U("0xc")](){const t=this[U("0x8")][U("0x9")].document[U("0x6")],e=Array[U("0x2")](this._suggestions.values());this[U("0x5")]=function(t,e){const n=Array.from(t[I("0x9")]()),r=new Set;for(const i of e)if(i[I("0x10")])for(const e of n)for(const n of i[I("0x9")]())(e[I("0x11")](n)||t[I("0xe")]&&!i[I("0xc")]&&i.next&&n[I("0x4")].isTouching(e[I("0x1")]))&&r.add(i);return r}(t,e),this[U("0x4")]=this[U("0xa")][U("0x4")]&&!!this._selectedSuggestions[U("0x0")]}[U("0xb")](){const t=R(Array[U("0x2")](this[U("0x5")]));for(const e of t){const t=e[U("0x1")]();if(!this.editor[U("0x9")].canEditAt(t))return}N(this[U("0x8")][U("0x9")],this[U("0xa")],t)}}const G=function(){this.__data__=[],this.size=0};const V=function(t,e){return t===e||t!=t&&e!=e};const H=function(t,e){for(var n=t.length;n--;)if(V(t[n][0],e))return n;return-1};var z=Array.prototype.splice;const W=function(t){var e=this.__data__,n=H(e,t);return!(n<0)&&(n==e.length-1?e.pop():z.call(e,n,1),--this.size,!0)};const K=function(t){var e=this.__data__,n=H(e,t);return n<0?void 0:e[n][1]};const q=function(t){return H(this.__data__,t)>-1};const X=function(t,e){var n=this.__data__,r=H(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};function $(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}$.prototype.clear=G,$.prototype.delete=W,$.prototype.get=K,$.prototype.has=q,$.prototype.set=X;const Z=$;const Y=function(){this.__data__=new Z,this.size=0};const Q=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n};const J=function(t){return this.__data__.get(t)};const tt=function(t){return this.__data__.has(t)};const et="object"==typeof global&&global&&global.Object===Object&&global;var nt="object"==typeof self&&self&&self.Object===Object&&self;const rt=et||nt||Function("return this")();const it=rt.Symbol;var ot=Object.prototype,st=ot.hasOwnProperty,xt=ot.toString,at=it?it.toStringTag:void 0;const ct=function(t){var e=st.call(t,at),n=t[at];try{t[at]=void 0;var r=!0}catch(t){}var i=xt.call(t);return r&&(e?t[at]=n:delete t[at]),i};var lt=Object.prototype.toString;const ut=function(t){return lt.call(t)};var dt=it?it.toStringTag:void 0;const gt=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":dt&&dt in Object(t)?ct(t):ut(t)};const ft=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const ht=function(t){if(!ft(t))return!1;var e=gt(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const mt=rt["__core-js_shared__"];var bt,pt=(bt=/[^.]+$/.exec(mt&&mt.keys&&mt.keys.IE_PROTO||""))?"Symbol(src)_1."+bt:"";const Et=function(t){return!!pt&&pt in t};var _t=Function.prototype.toString;const Tt=function(t){if(null!=t){try{return _t.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var yt=/^\[object .+?Constructor\]$/,Ct=Function.prototype,At=Object.prototype,kt=Ct.toString,It=At.hasOwnProperty,Rt=RegExp("^"+kt.call(It).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const St=function(t){return!(!ft(t)||Et(t))&&(ht(t)?Rt:yt).test(Tt(t))};const vt=function(t,e){return null==t?void 0:t[e]};const Nt=function(t,e){var n=vt(t,e);return St(n)?n:void 0};const Lt=Nt(rt,"Map");const Mt=Nt(Object,"create");const wt=function(){this.__data__=Mt?Mt(null):{},this.size=0};const Ot=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var Ft=Object.prototype.hasOwnProperty;const Dt=function(t){var e=this.__data__;if(Mt){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return Ft.call(e,t)?e[t]:void 0};var Pt=Object.prototype.hasOwnProperty;const Bt=function(t){var e=this.__data__;return Mt?void 0!==e[t]:Pt.call(e,t)};const Ut=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Mt&&void 0===e?"__lodash_hash_undefined__":e,this};function jt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}jt.prototype.clear=wt,jt.prototype.delete=Ot,jt.prototype.get=Dt,jt.prototype.has=Bt,jt.prototype.set=Ut;const Gt=jt;const Vt=function(){this.size=0,this.__data__={hash:new Gt,map:new(Lt||Z),string:new Gt}};const Ht=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const zt=function(t,e){var n=t.__data__;return Ht(e)?n["string"==typeof e?"string":"hash"]:n.map};const Wt=function(t){var e=zt(this,t).delete(t);return this.size-=e?1:0,e};const Kt=function(t){return zt(this,t).get(t)};const qt=function(t){return zt(this,t).has(t)};const Xt=function(t,e){var n=zt(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this};function $t(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}$t.prototype.clear=Vt,$t.prototype.delete=Wt,$t.prototype.get=Kt,$t.prototype.has=qt,$t.prototype.set=Xt;const Zt=$t;const Yt=function(t,e){var n=this.__data__;if(n instanceof Z){var r=n.__data__;if(!Lt||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Zt(r)}return n.set(t,e),this.size=n.size,this};function Qt(t){var e=this.__data__=new Z(t);this.size=e.size}Qt.prototype.clear=Y,Qt.prototype.delete=Q,Qt.prototype.get=J,Qt.prototype.has=tt,Qt.prototype.set=Yt;const Jt=Qt;const te=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t};const ee=function(){try{var t=Nt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const ne=function(t,e,n){"__proto__"==e&&ee?ee(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n};var re=Object.prototype.hasOwnProperty;const ie=function(t,e,n){var r=t[e];re.call(t,e)&&V(r,n)&&(void 0!==n||e in t)||ne(t,e,n)};const oe=function(t,e,n,r){var i=!n;n||(n={});for(var o=-1,s=e.length;++o<s;){var x=e[o],a=r?r(n[x],t[x],x,n,t):void 0;void 0===a&&(a=t[x]),i?ne(n,x,a):ie(n,x,a)}return n};const se=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r};const xe=function(t){return null!=t&&"object"==typeof t};const ae=function(t){return xe(t)&&"[object Arguments]"==gt(t)};var ce=Object.prototype,le=ce.hasOwnProperty,ue=ce.propertyIsEnumerable;const de=ae(function(){return arguments}())?ae:function(t){return xe(t)&&le.call(t,"callee")&&!ue.call(t,"callee")};const ge=Array.isArray;const fe=function(){return!1};var he="object"==typeof exports&&exports&&!exports.nodeType&&exports,me=he&&"object"==typeof module&&module&&!module.nodeType&&module,be=me&&me.exports===he?rt.Buffer:void 0;const pe=(be?be.isBuffer:void 0)||fe;var Ee=/^(?:0|[1-9]\d*)$/;const _e=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&Ee.test(t))&&t>-1&&t%1==0&&t<e};const Te=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var ye={};ye["[object Float32Array]"]=ye["[object Float64Array]"]=ye["[object Int8Array]"]=ye["[object Int16Array]"]=ye["[object Int32Array]"]=ye["[object Uint8Array]"]=ye["[object Uint8ClampedArray]"]=ye["[object Uint16Array]"]=ye["[object Uint32Array]"]=!0,ye["[object Arguments]"]=ye["[object Array]"]=ye["[object ArrayBuffer]"]=ye["[object Boolean]"]=ye["[object DataView]"]=ye["[object Date]"]=ye["[object Error]"]=ye["[object Function]"]=ye["[object Map]"]=ye["[object Number]"]=ye["[object Object]"]=ye["[object RegExp]"]=ye["[object Set]"]=ye["[object String]"]=ye["[object WeakMap]"]=!1;const Ce=function(t){return xe(t)&&Te(t.length)&&!!ye[gt(t)]};const Ae=function(t){return function(e){return t(e)}};var ke="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ie=ke&&"object"==typeof module&&module&&!module.nodeType&&module,Re=Ie&&Ie.exports===ke&&et.process;const Se=function(){try{var t=Ie&&Ie.require&&Ie.require("util").types;return t||Re&&Re.binding&&Re.binding("util")}catch(t){}}();var ve=Se&&Se.isTypedArray;const Ne=ve?Ae(ve):Ce;var Le=Object.prototype.hasOwnProperty;const Me=function(t,e){var n=ge(t),r=!n&&de(t),i=!n&&!r&&pe(t),o=!n&&!r&&!i&&Ne(t),s=n||r||i||o,x=s?se(t.length,String):[],a=x.length;for(var c in t)!e&&!Le.call(t,c)||s&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||_e(c,a))||x.push(c);return x};var we=Object.prototype;const Oe=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||we)};const Fe=function(t,e){return function(n){return t(e(n))}};const De=Fe(Object.keys,Object);var Pe=Object.prototype.hasOwnProperty;const Be=function(t){if(!Oe(t))return De(t);var e=[];for(var n in Object(t))Pe.call(t,n)&&"constructor"!=n&&e.push(n);return e};const Ue=function(t){return null!=t&&Te(t.length)&&!ht(t)};const je=function(t){return Ue(t)?Me(t):Be(t)};const Ge=function(t,e){return t&&oe(e,je(e),t)};const Ve=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e};var He=Object.prototype.hasOwnProperty;const ze=function(t){if(!ft(t))return Ve(t);var e=Oe(t),n=[];for(var r in t)("constructor"!=r||!e&&He.call(t,r))&&n.push(r);return n};const We=function(t){return Ue(t)?Me(t,!0):ze(t)};const Ke=function(t,e){return t&&oe(e,We(e),t)};var qe="object"==typeof exports&&exports&&!exports.nodeType&&exports,Xe=qe&&"object"==typeof module&&module&&!module.nodeType&&module,$e=Xe&&Xe.exports===qe?rt.Buffer:void 0,Ze=$e?$e.allocUnsafe:void 0;const Ye=function(t,e){if(e)return t.slice();var n=t.length,r=Ze?Ze(n):new t.constructor(n);return t.copy(r),r};const Qe=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e};const Je=function(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var s=t[n];e(s,n,t)&&(o[i++]=s)}return o};const tn=function(){return[]};var en=Object.prototype.propertyIsEnumerable,nn=Object.getOwnPropertySymbols;const rn=nn?function(t){return null==t?[]:(t=Object(t),Je(nn(t),(function(e){return en.call(t,e)})))}:tn;const on=function(t,e){return oe(t,rn(t),e)};const sn=function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t};const xn=Fe(Object.getPrototypeOf,Object);const an=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)sn(e,rn(t)),t=xn(t);return e}:tn;const cn=function(t,e){return oe(t,an(t),e)};const ln=function(t,e,n){var r=e(t);return ge(t)?r:sn(r,n(t))};const un=function(t){return ln(t,je,rn)};const dn=function(t){return ln(t,We,an)};const gn=Nt(rt,"DataView");const fn=Nt(rt,"Promise");const hn=Nt(rt,"Set");const mn=Nt(rt,"WeakMap");var bn="[object Map]",pn="[object Promise]",En="[object Set]",_n="[object WeakMap]",Tn="[object DataView]",yn=Tt(gn),Cn=Tt(Lt),An=Tt(fn),kn=Tt(hn),In=Tt(mn),Rn=gt;(gn&&Rn(new gn(new ArrayBuffer(1)))!=Tn||Lt&&Rn(new Lt)!=bn||fn&&Rn(fn.resolve())!=pn||hn&&Rn(new hn)!=En||mn&&Rn(new mn)!=_n)&&(Rn=function(t){var e=gt(t),n="[object Object]"==e?t.constructor:void 0,r=n?Tt(n):"";if(r)switch(r){case yn:return Tn;case Cn:return bn;case An:return pn;case kn:return En;case In:return _n}return e});const Sn=Rn;var vn=Object.prototype.hasOwnProperty;const Nn=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&vn.call(t,"index")&&(n.index=t.index,n.input=t.input),n};const Ln=rt.Uint8Array;const Mn=function(t){var e=new t.constructor(t.byteLength);return new Ln(e).set(new Ln(t)),e};const wn=function(t,e){var n=e?Mn(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)};var On=/\w*$/;const Fn=function(t){var e=new t.constructor(t.source,On.exec(t));return e.lastIndex=t.lastIndex,e};var Dn=it?it.prototype:void 0,Pn=Dn?Dn.valueOf:void 0;const Bn=function(t){return Pn?Object(Pn.call(t)):{}};const Un=function(t,e){var n=e?Mn(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)};const jn=function(t,e,n){var r=t.constructor;switch(e){case"[object ArrayBuffer]":return Mn(t);case"[object Boolean]":case"[object Date]":return new r(+t);case"[object DataView]":return wn(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return Un(t,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(t);case"[object RegExp]":return Fn(t);case"[object Symbol]":return Bn(t)}};var Gn=Object.create;const Vn=function(){function t(){}return function(e){if(!ft(e))return{};if(Gn)return Gn(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();const Hn=function(t){return"function"!=typeof t.constructor||Oe(t)?{}:Vn(xn(t))};const zn=function(t){return xe(t)&&"[object Map]"==Sn(t)};var Wn=Se&&Se.isMap;const Kn=Wn?Ae(Wn):zn;const qn=function(t){return xe(t)&&"[object Set]"==Sn(t)};var Xn=Se&&Se.isSet;const $n=Xn?Ae(Xn):qn;var Zn="[object Arguments]",Yn="[object Function]",Qn="[object Object]",Jn={};Jn[Zn]=Jn["[object Array]"]=Jn["[object ArrayBuffer]"]=Jn["[object DataView]"]=Jn["[object Boolean]"]=Jn["[object Date]"]=Jn["[object Float32Array]"]=Jn["[object Float64Array]"]=Jn["[object Int8Array]"]=Jn["[object Int16Array]"]=Jn["[object Int32Array]"]=Jn["[object Map]"]=Jn["[object Number]"]=Jn[Qn]=Jn["[object RegExp]"]=Jn["[object Set]"]=Jn["[object String]"]=Jn["[object Symbol]"]=Jn["[object Uint8Array]"]=Jn["[object Uint8ClampedArray]"]=Jn["[object Uint16Array]"]=Jn["[object Uint32Array]"]=!0,Jn["[object Error]"]=Jn[Yn]=Jn["[object WeakMap]"]=!1;const tr=function t(e,n,r,i,o,s){var x,a=1&n,c=2&n,l=4&n;if(r&&(x=o?r(e,i,o,s):r(e)),void 0!==x)return x;if(!ft(e))return e;var u=ge(e);if(u){if(x=Nn(e),!a)return Qe(e,x)}else{var d=Sn(e),g=d==Yn||"[object GeneratorFunction]"==d;if(pe(e))return Ye(e,a);if(d==Qn||d==Zn||g&&!o){if(x=c||g?{}:Hn(e),!a)return c?cn(e,Ke(x,e)):on(e,Ge(x,e))}else{if(!Jn[d])return o?e:{};x=jn(e,d,a)}}s||(s=new Jt);var f=s.get(e);if(f)return f;s.set(e,x),$n(e)?e.forEach((function(i){x.add(t(i,n,r,i,e,s))})):Kn(e)&&e.forEach((function(i,o){x.set(o,t(i,n,r,o,e,s))}));var h=u?void 0:(l?c?dn:un:c?We:je)(e);return te(h||e,(function(i,o){h&&(i=e[o=i]),ie(x,o,t(i,n,r,o,e,s))})),x};const er=function(t){return tr(t,5)};const nr=function(t){return"symbol"==typeof t||xe(t)&&"[object Symbol]"==gt(t)};var rr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ir=/^\w*$/;const or=function(t,e){if(ge(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!nr(t))||(ir.test(t)||!rr.test(t)||null!=e&&t in Object(e))};function sr(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(sr.Cache||Zt),n}sr.Cache=Zt;const xr=sr;var ar=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,cr=/\\(\\)?/g;const lr=function(t){var e=xr(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(ar,(function(t,n,r,i){e.push(r?i.replace(cr,"$1"):n||t)})),e}));const ur=function(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i};var dr=it?it.prototype:void 0,gr=dr?dr.toString:void 0;const fr=function t(e){if("string"==typeof e)return e;if(ge(e))return ur(e,t)+"";if(nr(e))return gr?gr.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n};const hr=function(t){return null==t?"":fr(t)};const mr=function(t,e){return ge(t)?t:or(t,e)?[t]:lr(hr(t))};const br=function(t){if("string"==typeof t||nr(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e};const pr=function(t,e,n,r){if(!ft(t))return t;for(var i=-1,o=(e=mr(e,t)).length,s=o-1,x=t;null!=x&&++i<o;){var a=br(e[i]),c=n;if("__proto__"===a||"constructor"===a||"prototype"===a)return t;if(i!=s){var l=x[a];void 0===(c=r?r(l,a,x):void 0)&&(c=ft(l)?l:_e(e[i+1])?[]:{})}ie(x,a,c),x=x[a]}return t};const Er=function(t,e,n){return null==t?t:pr(t,e,n)};const _r=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const Tr=function(t){return this.__data__.has(t)};function yr(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Zt;++e<n;)this.add(t[e])}yr.prototype.add=yr.prototype.push=_r,yr.prototype.has=Tr;const Cr=yr;const Ar=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1};const kr=function(t,e){return t.has(e)};const Ir=function(t,e,n,r,i,o){var s=1&n,x=t.length,a=e.length;if(x!=a&&!(s&&a>x))return!1;var c=o.get(t),l=o.get(e);if(c&&l)return c==e&&l==t;var u=-1,d=!0,g=2&n?new Cr:void 0;for(o.set(t,e),o.set(e,t);++u<x;){var f=t[u],h=e[u];if(r)var m=s?r(h,f,u,e,t,o):r(f,h,u,t,e,o);if(void 0!==m){if(m)continue;d=!1;break}if(g){if(!Ar(e,(function(t,e){if(!kr(g,e)&&(f===t||i(f,t,n,r,o)))return g.push(e)}))){d=!1;break}}else if(f!==h&&!i(f,h,n,r,o)){d=!1;break}}return o.delete(t),o.delete(e),d};const Rr=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n};const Sr=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n};var vr=it?it.prototype:void 0,Nr=vr?vr.valueOf:void 0;const Lr=function(t,e,n,r,i,o,s){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new Ln(t),new Ln(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return V(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var x=Rr;case"[object Set]":var a=1&r;if(x||(x=Sr),t.size!=e.size&&!a)return!1;var c=s.get(t);if(c)return c==e;r|=2,s.set(t,e);var l=Ir(x(t),x(e),r,i,o,s);return s.delete(t),l;case"[object Symbol]":if(Nr)return Nr.call(t)==Nr.call(e)}return!1};var Mr=Object.prototype.hasOwnProperty;const wr=function(t,e,n,r,i,o){var s=1&n,x=un(t),a=x.length;if(a!=un(e).length&&!s)return!1;for(var c=a;c--;){var l=x[c];if(!(s?l in e:Mr.call(e,l)))return!1}var u=o.get(t),d=o.get(e);if(u&&d)return u==e&&d==t;var g=!0;o.set(t,e),o.set(e,t);for(var f=s;++c<a;){var h=t[l=x[c]],m=e[l];if(r)var b=s?r(m,h,l,e,t,o):r(h,m,l,t,e,o);if(!(void 0===b?h===m||i(h,m,n,r,o):b)){g=!1;break}f||(f="constructor"==l)}if(g&&!f){var p=t.constructor,E=e.constructor;p==E||!("constructor"in t)||!("constructor"in e)||"function"==typeof p&&p instanceof p&&"function"==typeof E&&E instanceof E||(g=!1)}return o.delete(t),o.delete(e),g};var Or="[object Arguments]",Fr="[object Array]",Dr="[object Object]",Pr=Object.prototype.hasOwnProperty;const Br=function(t,e,n,r,i,o){var s=ge(t),x=ge(e),a=s?Fr:Sn(t),c=x?Fr:Sn(e),l=(a=a==Or?Dr:a)==Dr,u=(c=c==Or?Dr:c)==Dr,d=a==c;if(d&&pe(t)){if(!pe(e))return!1;s=!0,l=!1}if(d&&!l)return o||(o=new Jt),s||Ne(t)?Ir(t,e,n,r,i,o):Lr(t,e,a,n,r,i,o);if(!(1&n)){var g=l&&Pr.call(t,"__wrapped__"),f=u&&Pr.call(e,"__wrapped__");if(g||f){var h=g?t.value():t,m=f?e.value():e;return o||(o=new Jt),i(h,m,n,r,o)}}return!!d&&(o||(o=new Jt),wr(t,e,n,r,i,o))};const Ur=function t(e,n,r,i,o){return e===n||(null==e||null==n||!xe(e)&&!xe(n)?e!=e&&n!=n:Br(e,n,r,i,t,o))};const jr=function(t,e){return Ur(t,e)};const Gr=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0};const Vr=function(t,e){for(var n=0,r=(e=mr(e,t)).length;null!=t&&n<r;)t=t[br(e[n++])];return n&&n==r?t:void 0};const Hr=function(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o};const zr=function(t,e){return e.length<2?t:Vr(t,Hr(e,0,-1))};const Wr=function(t,e){return e=mr(e,t),null==(t=zr(t,e))||delete t[br(Gr(e))]};const Kr=function(t,e){return null==t||Wr(t,e)},qr=["subType","@external","setAttribute","from","isMultiRange","onAccept","getFirstRange","type","size","push","getContainedElement","removeMarkers","hasComments","get","commentThread","length","map","_markerNames","getRanges","author","end","suggestion:","delete","discard","previous","getItems","filter","accept","isIntersecting","decorate","change","onAttributesChange","removeMarker","nodeAfter","getMarkers","isIntersectingWithRange","_model","removeAttribute","getMarkerNames","next","getRange","getMultiRangeId","toJSON","createdAt","_onAttributesChange","start","_onDiscard","creator","getFirstMarker","getAllAdjacentSuggestions","authoredAt","addMarkerName","_onAccept","addRange","data","_isDataLoaded","split","substr","isExternal","set","attributes"];var Xr,$r;Xr=qr,$r=334,function(t){for(;--t;)Xr.push(Xr.shift())}(++$r);const Zr=function(t,e){return qr[t-=0]};class Yr extends((0,e.ObservableMixin)()){constructor(t,e){super(),this[Zr("0x1a")]=!1,this.id=e.id,this[Zr("0x27")]=e.type,this.subType=e[Zr("0x20")]||null,this[Zr("0x33")]=e[Zr("0x33")],this[Zr("0x12")]=e[Zr("0x12")]||e[Zr("0x33")],this[Zr("0x1d")]=Boolean(e[Zr("0x1f")]&&e[Zr("0x1f")][Zr("0x21")]),this[Zr("0x19")]=null,this[Zr("0x7")]=t,this[Zr("0x17")]=e[Zr("0x25")],this[Zr("0x11")]=e.onDiscard,this[Zr("0xf")]=e[Zr("0x2")],this[Zr("0x31")]=new Set,this[Zr("0xe")]=null,this[Zr("0x1e")](Zr("0x15"),null),this[Zr("0x1e")](Zr("0x1f"),e.attributes||{}),this[Zr("0x1e")](Zr("0x38"),null),this.set(Zr("0xa"),null),this[Zr("0x1e")]("commentThread",null),this[Zr("0x1e")]("_saved",!1),this[Zr("0x0")](Zr("0x3b")),this[Zr("0x0")](Zr("0x37"))}get head(){let t=this;for(;t[Zr("0x38")];)t=t[Zr("0x38")];return t}get[Zr("0x2c")](){return!!this[Zr("0x2e")]&&this[Zr("0x2e")][Zr("0x2f")]>0}get[Zr("0x24")](){return 0!=this[Zr("0x31")][Zr("0x28")]&&6==Array[Zr("0x23")](this[Zr("0x31")])[0][Zr("0x1b")](":").length}get isInContent(){return null!==this[Zr("0x13")]()}[Zr("0x16")](t){this._markerNames.add(t)}[Zr("0x9")](){return Array[Zr("0x23")](this[Zr("0x31")])}[Zr("0x5")](){return this[Zr("0x9")]()[Zr("0x30")]((t=>this[Zr("0x7")].markers[Zr("0x2d")](t)))[Zr("0x3a")]((t=>t))}[Zr("0x13")](){return this[Zr("0x5")]()[0]||null}removeMarkers(){this._model.change((t=>{for(const e of this.getMarkers())t[Zr("0x3")](e)})),this._markerNames.clear()}[Zr("0x3")](t){this._model[Zr("0x1")]((e=>{e[Zr("0x3")](t)})),this._markerNames[Zr("0x36")](t)}[Zr("0x18")](t){const e=Zr("0x35")+this[Zr("0x27")]+":"+this[Zr("0x20")]+":"+this.id+":"+this[Zr("0x12")].id+":"+Yr[Zr("0xc")]();this[Zr("0x16")](e),this[Zr("0x7")][Zr("0x1")]((n=>{n.addMarker(e,{range:t,usingOperation:!0,affectsData:!0})}))}[Zr("0x6")](t){for(const e of this.getRanges())if(e[Zr("0x3c")](t))return!0;return!1}getRanges(){return this[Zr("0x5")]()[Zr("0x30")]((t=>t.getRange()))}[Zr("0x39")](){return this.getRanges().reduce(((t,e)=>[...t,...e[Zr("0x39")]()]),[])}[Zr("0x26")](){var t;return(null===(t=this[Zr("0x13")]())||void 0===t?void 0:t[Zr("0xb")]())||null}[Zr("0x2a")](){const t=this[Zr("0x32")]();if(1!=t[Zr("0x2f")])return null;const e=t[0],n=e[Zr("0x10")][Zr("0x4")],r=e[Zr("0x34")].nodeBefore;return n instanceof s.Element?n!=r?null:n:null}[Zr("0x3b")](){this[Zr("0x17")](this.getRanges(),this.data,this[Zr("0x1f")]),this[Zr("0x2b")]()}[Zr("0x37")](){this._onDiscard(this[Zr("0x32")](),this[Zr("0x19")],this[Zr("0x1f")]),this[Zr("0x2b")]()}[Zr("0x14")](){const t=[];let e=this.head;for(;e;)t[Zr("0x29")](e),e=e[Zr("0xa")];return t}[Zr("0x22")](t,e){const n=er(this[Zr("0x1f")]);Er(n,t,e),jr(n,this.attributes)||(this.attributes=n,this[Zr("0xf")](n))}[Zr("0x8")](t){const e=er(this[Zr("0x1f")]);Kr(e,t),jr(e,this[Zr("0x1f")])||(this.attributes=e,this[Zr("0xf")](this.attributes))}[Zr("0xd")](){return{id:this.id,type:this[Zr("0x20")]?this[Zr("0x27")]+":"+this[Zr("0x20")]:this[Zr("0x27")],authorId:this[Zr("0x12")].id,createdAt:this[Zr("0xe")],hasComments:this.hasComments,data:this[Zr("0x19")],attributes:this[Zr("0x1f")]}}static[Zr("0xc")](){return(0,e.uid)()[Zr("0x1c")](1,5)}}function Qr(t,e,n){const r=t.t;switch(e){case"Track changes":return r("Track changes");case"Accept suggestion":return r("Accept suggestion");case"Discard suggestion":return r("Discard suggestion");case"Accept all suggestions":return r("Accept all suggestions");case"Accept all selected suggestions":return r("Accept all selected suggestions");case"Discard all suggestions":return r("Discard all suggestions");case"Discard all selected suggestions":return r("Discard all selected suggestions");case"*Reset font size*":return r("*Reset font size*");case"*Reset font family*":return r("*Reset font family*");case"*Reset font color*":return r("*Reset font color*");case"*Reset font background color*":return r("*Reset font background color*");case"*Remove image text alternative*":return r("*Remove image text alternative*");case"*Reset image width*":return r("*Reset image width*");case"*Remove link*":return r("*Remove link*");case"*Check item*":return r("*Check item*");case"*Uncheck item*":return r("*Uncheck item*");case"*Remove all formatting*":return r("*Remove all formatting*");case"*Replace table cells*":return r("*Replace table cells*");case"*Merge cells*":return r("*Merge cells*");case"*Split cell:* vertically":return r("*Split cell:* vertically");case"*Split cell:* horizontally":return r("*Split cell:* horizontally");case"*Indent:* %0":return r("*Indent:* %0",n);case"*Outdent:* %0":return r("*Outdent:* %0",n);case"*Change to:* %0":return r("*Change to:* %0",n);case"*Insert:* %0":return r("*Insert:* %0",n);case"*Format:* %0":return r("*Format:* %0",n);case"*Format:* change table properties":return r("*Format:* change table properties");case"*Format:* change table cell properties":return r("*Format:* change table cell properties");case"*Format:* insert into %0":return r("*Format:* insert into %0",n);case"*Format:* remove from %0":return r("*Format:* remove from %0",n);case"*Replace image URL*":return r("*Replace image URL*");case"*Format:* resize table":return r("*Format:* resize table");case"*Format:* set order to reversed":return r("*Format:* set order to reversed");case"*Format:* set order to regular":return r("*Format:* set order to regular");case"*Format:* set start index to %0":return r("*Format:* set start index to %0",n);case"*Change %0 content*":return r("*Change %0 content*",n);case"*Remove:* %0":return r("*Remove:* %0",n);case"*Merge:* %0":return r("*Merge:* %0",n);case"*Split:* %0":return r("*Split:* %0",n);case"*Remove format:* %0":return r("*Remove format:* %0",n);case"*Set font size:* %0":return r("*Set font size:* %0",n);case"*Set font family:* %0":return r("*Set font family:* %0",n);case"*Set format to:* %0":return r("*Set format to:* %0",n);case"*Set font color:* %0":return r("*Set font color:* %0",n);case"*Set font background color:* %0":return r("*Set font background color:* %0",n);case"*Set format:* %0":return r("*Set format:* %0",n);case"*Set image text alternative:* %0":return r("*Set image text alternative:* %0",n);case"*Set image width:* %0":return r("*Set image width:* %0",n);case"*Set link:* %0":return r("*Set link:* %0",n);case"*Set highlight:* %0":return r("*Set highlight:* %0",n);case"*Remove highlight*":return r("*Remove highlight*");case"FORMAT_HIGHLIGHT":return r({string:"highlight",id:"FORMAT_HIGHLIGHT"});case"FORMAT_RESTRICTED_ENABLED":return r({string:"*Enable in restricted editing mode*",id:"FORMAT_RESTRICTED_ENABLED"});case"FORMAT_RESTRICTED_DISABLED":return r({string:"*Disable in restricted editing mode*",id:"FORMAT_RESTRICTED_DISABLED"});case"ELEMENT_TABLE":return r({string:"table",plural:"%0 tables",id:"ELEMENT_TABLE"},n);case"ELEMENT_PARAGRAPH":return r({string:"paragraph",plural:"%0 paragraphs",id:"ELEMENT_PARAGRAPH"},n);case"ELEMENT_PAGE_BREAK":return r({string:"page break",plural:"%0 page breaks",id:"ELEMENT_PAGE_BREAK"},n);case"ELEMENT_MEDIA":return r({string:"media item",plural:"%0 media items",id:"ELEMENT_MEDIA"},n);case"ELEMENT_IMAGE":return r({string:"image",plural:"%0 images",id:"ELEMENT_IMAGE"},n);case"ELEMENT_INLINE_IMAGE":return r({string:"image",plural:"%0 images",id:"ELEMENT_INLINE_IMAGE"},n);case"FORMAT_SIDE_IMAGE":return r({string:"side image",id:"FORMAT_SIDE_IMAGE"});case"ELEMENT_CAPTION":return r({string:"caption",id:"ELEMENT_CAPTION"});case"ELEMENT_HORIZONTAL_LINE":return r({string:"horizontal line",plural:"%0 horizontal lines",id:"ELEMENT_HORIZONTAL_LINE"},n);case"ELEMENT_HTML_EMBED":return r({string:"HTML embed",plural:"%0 HTML embeds",id:"ELEMENT_HTML_EMBED"},n);case"ELEMENT_HEADING":return r({string:"heading (level %1)",plural:"%0 headings (level %1)",id:"ELEMENT_HEADING"},n);case"ELEMENT_HEADING_CUSTOM":return r({string:"heading (%1)",plural:"%0 headings (%1)",id:"ELEMENT_HEADING_CUSTOM"},n);case"ELEMENT_LIST_ITEM":return r({string:"list item",plural:"%0 list items",id:"ELEMENT_LIST_ITEM"},n);case"ELEMENT_BULLETED_LIST":return r({string:"bulleted list",id:"ELEMENT_BULLETED_LIST"});case"ELEMENT_BULLETED_LIST_DEFAULT":return r({string:"bulleted list (default)",id:"ELEMENT_BULLETED_LIST_DEFAULT"});case"ELEMENT_BULLETED_LIST_CIRCLE":return r({string:"bulleted list (circle)",id:"ELEMENT_BULLETED_LIST_CIRCLE"});case"ELEMENT_BULLETED_LIST_DISC":return r({string:"bulleted list (disc)",id:"ELEMENT_BULLETED_LIST_DISC"});case"ELEMENT_BULLETED_LIST_SQUARE":return r({string:"bulleted list (square)",id:"ELEMENT_BULLETED_LIST_SQUARE"});case"ELEMENT_NUMBERED_LIST_DEFAULT":return r({string:"numbered list (default)",id:"ELEMENT_NUMBERED_LIST_DEFAULT"});case"ELEMENT_NUMBERED_LIST":return r({string:"numbered list",id:"ELEMENT_NUMBERED_LIST"});case"ELEMENT_NUMBERED_LIST_DECIMAL":return r({string:"numbered list (decimal)",id:"ELEMENT_NUMBERED_LIST_DECIMAL"});case"ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO":return r({string:"numbered list (decimal with leading zero)",id:"ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO"});case"ELEMENT_NUMBERED_LIST_LOWER_LATIN":return r({string:"numbered list (lower-latin)",id:"ELEMENT_NUMBERED_LIST_LOWER_LATIN"});case"ELEMENT_NUMBERED_LIST_LOWER_ROMAN":return r({string:"numbered list (lower-roman)",id:"ELEMENT_NUMBERED_LIST_LOWER_ROMAN"});case"ELEMENT_NUMBERED_LIST_UPPER_LATIN":return r({string:"numbered list (upper-latin)",id:"ELEMENT_NUMBERED_LIST_UPPER_LATIN"});case"ELEMENT_NUMBERED_LIST_UPPER_ROMAN":return r({string:"numbered list (upper-roman)",id:"ELEMENT_NUMBERED_LIST_UPPER_ROMAN"});case"ELEMENT_TODO_LIST":return r({string:"to-do list",id:"ELEMENT_TODO_LIST"});case"REPLACE_TEXT":return r({string:"*Replace:* %0 *with* %1",id:"REPLACE_TEXT"},n);case"ELEMENT_SPACE":return r({string:"space",plural:"%0 spaces",id:"ELEMENT_SPACE"},n);case"FORMAT_ALIGNMENT":return r({string:"alignment",id:"FORMAT_ALIGNMENT"});case"FORMAT_ALIGN_TO_LEFT":return r({string:"align to left",id:"FORMAT_ALIGN_TO_LEFT"});case"FORMAT_ALIGN_TO_RIGHT":return r({string:"align to right",id:"FORMAT_ALIGN_TO_RIGHT"});case"FORMAT_ALIGN_TO_CENTER":return r({string:"align to center",id:"FORMAT_ALIGN_TO_CENTER"});case"FORMAT_JUSTIFY_TEXT":return r({string:"justify",id:"FORMAT_JUSTIFY_TEXT"});case"FORMAT_BOLD":return r({string:"bold",id:"FORMAT_BOLD"});case"FORMAT_ITALIC":return r({string:"italic",id:"FORMAT_ITALIC"});case"FORMAT_UNDERLINE":return r({string:"underline",id:"FORMAT_UNDERLINE"});case"FORMAT_CODE":return r({string:"code",id:"FORMAT_CODE"});case"FORMAT_STRIKETHROUGH":return r({string:"strikethrough",id:"FORMAT_STRIKETHROUGH"});case"FORMAT_SUBSCRIPT":return r({string:"subscript",id:"FORMAT_SUBSCRIPT"});case"FORMAT_SUPERSCRIPT":return r({string:"superscript",id:"FORMAT_SUPERSCRIPT"});case"ELEMENT_BLOCK_QUOTE":return r({string:"block quote",id:"ELEMENT_BLOCK_QUOTE"});case"ELEMENT_CODE_BLOCK":return r({string:"code block",plural:"%0 code blocks",id:"ELEMENT_CODE_BLOCK"},n);case"FORMAT_HEADER_COLUMN":return r({string:"header column",id:"FORMAT_HEADER_COLUMN"});case"FORMAT_REGULAR_COLUMN":return r({string:"regular column",id:"FORMAT_REGULAR_COLUMN"});case"FORMAT_HEADER_ROW":return r({string:"header row",id:"FORMAT_HEADER_ROW"});case"FORMAT_REGULAR_ROW":return r({string:"regular row",id:"FORMAT_REGULAR_ROW"});case"FORMAT_INDENT":return r({string:"indent",id:"FORMAT_INDENT"});case"FORMAT_LIST_REVERSED":return r({string:"list reversed",id:"FORMAT_LIST_REVERSED"});case"FORMAT_LIST_START":return r({string:"list start",id:"FORMAT_LIST_START"});case"FORMAT_FONT_SIZE":return r({string:"font size",id:"FORMAT_FONT_SIZE"});case"FORMAT_FONT_FAMILY":return r({string:"font family",id:"FORMAT_FONT_FAMILY"});case"FORMAT_FONT_COLOR":return r({string:"font color",id:"FORMAT_FONT_COLOR"});case"FORMAT_FONT_BACKGROUND":return r({string:"font background color",id:"FORMAT_FONT_BACKGROUND"});case"FORMAT_IMAGE_SIZE":return r({string:"image size",id:"FORMAT_IMAGE_SIZE"});case"FORMAT_STYLE":return r({string:"style",id:"FORMAT_STYLE"});case"PENDING_ACTION_SUGGESTION":return r({string:"Unsaved change in suggestion.",id:"PENDING_ACTION_SUGGESTION"});case"ELEMENT_TABLE_WITH_TEXT":return r({string:"table *with text* %0",id:"ELEMENT_TABLE_WITH_TEXT"},n);case"ELEMENT_TABLE_ROW":return r({string:"table row",plural:"%0 table rows",id:"ELEMENT_TABLE_ROW"},n);case"ELEMENT_TABLE_ROW_WITH_TEXT":return r({string:"table row *with text* %1",plural:"%0 table rows *with text* %1",id:"ELEMENT_TABLE_ROW_WITH_TEXT"},n);case"ELEMENT_TABLE_COLUMN":return r({string:"table column",plural:"%0 table columns",id:"ELEMENT_TABLE_COLUMN"},n);case"ELEMENT_TABLE_COLUMN_WITH_TEXT":return r({string:"table column *with text* %1",plural:"%0 table columns *with text* %1",id:"ELEMENT_TABLE_COLUMN_WITH_TEXT"},n);case"ELEMENT_TABLE_OF_CONTENTS":return r({string:"table of contents",plural:"%0 tables of contents",id:"ELEMENT_TABLE_OF_CONTENTS"},n);case"ELEMENT_LINE_BREAK":return r({id:"ELEMENT_LINE_BREAK",string:"line break",plural:"%0 line breaks"},n);case"ELEMENT_TITLE":return r({id:"ELEMENT_TITLE",string:"title"});case"EXTERNAL_SUGGESTION":return r({id:"EXTERNAL_SUGGESTION",string:"This suggestion comes from an external source."});case"EXTERNAL_IMPORT_WORD_SUGGESTION":return r({string:"This suggestion comes from an imported Word file.",id:"EXTERNAL_IMPORT_WORD_SUGGESTION"});case"EXTERNAL_AVATAR":return r({string:"Displayed author name comes from external source (added by %0)",id:"EXTERNAL_AVATAR"},n);case"EXTERNAL_IMPORT_WORD_AVATAR":return r({string:"Displayed author name comes from a Word document imported by %0",id:"EXTERNAL_IMPORT_WORD_AVATAR"},n);case"ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT":return r({string:"Entering insertion suggestion.",id:"ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT"});case"LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT":return r({string:"Leaving insertion suggestion.",id:"LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT"});case"ENTER_DELETION_SUGGESTION_ANNOUNCEMENT":return r({string:"Entering deletion suggestion.",id:"ENTER_DELETION_SUGGESTION_ANNOUNCEMENT"});case"LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT":return r({string:"Leaving deletion suggestion.",id:"LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT"});case"ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT":return r({string:"Entering formatting suggestion.",id:"ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT"});case"LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT":return r({string:"Leaving formatting suggestion.",id:"LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT"});default:return e}}const Jr=["isEqual","quantity","removeEmptyContainer","push","$text","getDescriptions","remove","_handleRenameSuggestionDescription","getItemLabel","skip","EmptyContainer","nextSibling","_addDescriptionItems","element","REPLACE_TEXT","_handleInsertRemoveSuggestionDescription","match","softBreak","format","elementEnd","*Split:* %0","elementStart","name","*Remove format:* %0","deletion","indexOf","type","normal","pop","Container","data","_handleCustomCallbackDescription","map","add","_handleAttributeSuggestionDescription","registerAttributeLabel","replace","_customCallbacks","item","isObject","join","registerElementLabel","get","end","previousSibling","addContainer","label","_resolveDescriptionItems","key","attribute","_locale","start","removeContainer","isEmpty","ELEMENT_SPACE","subType","function","_itemLabels","*Insert:* %0","getWalker","removeFormat","_schema","addEmptyContainer","$1 $2","text","$textProxy","_attributeLabels","nodeAfter","registerDescriptionCallback","has","set","Object","getFirstRange","length","_itemLabelsCallbacks","insertion","removeObject","*Remove:* %0"];var ti,ei;ti=Jr,ei=486,function(t){for(;--t;)ti.push(ti.shift())}(++ei);const ni=function(t,e){return Jr[t-=0]};class ri{constructor(t,e){this._customCallbacks=[],this._itemLabels=new Map,this[ni("0x38")]=[],this._attributeLabels=new Map,this._schema=t,this[ni("0x20")]=e}[ni("0x41")](t){const e=[],n=new Set,r=new Set;for(let i=0;i<t[ni("0x37")];i++){const o=t[i];if(!o.isInContent)continue;const s=this._handleCustomCallbackDescription(o);if(s){if(null!=o.subType){if(n[ni("0x33")](o[ni("0x25")]))continue;n.add(o.subType)}e[ni("0x3f")](s)}else if(ni("0x1f")!=o[ni("0x8")])ni("0x39")!=o.type&&ni("0x6")!=o[ni("0x8")]||this[ni("0x4b")](e,o,t[i+1]);else{const t=o[ni("0xc")][ni("0x1e")];if(r[ni("0x33")](t))continue;r[ni("0xf")](o.data.key),t==Cc?this[ni("0x43")](e,o):this[ni("0x10")](e,o)}}return this[ni("0x1d")](e)}[ni("0x32")](t){this[ni("0x13")][ni("0x3f")](t)}[ni("0x17")](t,n,r=e.priorities[ni("0x9")]){ni("0x26")==typeof t?(0,e.insertToPriorityArray)(this[ni("0x38")],{matchingCallback:t,label:n,priority:r}):this._itemLabels.set(t,n)}[ni("0x11")](t,e){this[ni("0x30")][ni("0x34")](t,e)}[ni("0x44")](t,e=1){let n;for(const e of this[ni("0x38")])if(e.matchingCallback(t)){n=e[ni("0x1c")];break}return n||(n=this[ni("0x27")][ni("0x18")](t[ni("0x4")])),n?n(e):1!==e?e+" "+t[ni("0x4")]+"s":""+t[ni("0x4")]}[ni("0x48")](t,e){const n=e[ni("0x36")]()[ni("0x29")](),r=ni("0x39")==e[ni("0x8")]?ni("0xf"):"remove";for(const e of n){const i=e.item,o=t[t[ni("0x37")]-1];if(i.is(ni("0x2f")))o&&o[ni("0x8")].indexOf(ni("0xb"))>-1&&t.pop(),o&&"text"==o[ni("0x8")]?o[r]+=i[ni("0xc")]:t[ni("0x3f")]({type:ni("0x2e"),add:ni("0xf")==r?i[ni("0xc")]:"",remove:ni("0x42")==r?i[ni("0xc")]:""});else if(this[ni("0x2b")][ni("0x15")](i)){const s=i;if(o&&o[ni("0x8")][ni("0x7")](ni("0xb"))>-1&&t[ni("0xa")](),"elementEnd"==e[ni("0x8")])continue;o&&o[ni("0x8")]==r+ni("0x35")&&o[ni("0x49")][ni("0x4")]==s[ni("0x4")]?o[ni("0x3d")]++:t[ni("0x3f")]({type:r+ni("0x35"),element:s,quantity:1}),n[ni("0x45")]((t=>!(ni("0x1")==t[ni("0x8")]&&t[ni("0x14")]==i)))}else if(this._schema.checkChild(i,ni("0x40"))||i.is(ni("0x49"),ni("0x4d"))){const n=i;if(ni("0xf")==r&&ni("0x3")==e[ni("0x8")]||"remove"==r&&ni("0x1")==e[ni("0x8")])continue;if(o&&-1==o[ni("0x8")].indexOf("Container")){ni("0x2e")==o.type&&(o[r]+="\n");continue}let s;if(s=ni("0xf")==r?n.nextSibling&&!this[ni("0x2b")][ni("0x15")](n[ni("0x47")])?n.nextSibling:null:n.previousSibling&&!this._schema.isObject(n[ni("0x1a")])?n[ni("0x1a")]:null,n[ni("0x23")]||s&&s[ni("0x23")]){const e=s&&s[ni("0x23")]?s:n;o&&o[ni("0x8")]==r+ni("0x46")&&o.element[ni("0x4")]==e.name?o.quantity++:t[ni("0x3f")]({type:r+ni("0x46"),element:e,quantity:1})}else t[ni("0x3f")]({type:r+"Container",element:n})}}}[ni("0x1d")](t){const e=this._locale,n=[],r=[],i=[];for(const o of t)switch(o[ni("0x8")]){case"text":if(o[ni("0xf")]=o[ni("0xf")][ni("0x12")](/(\S)\u000A+(\S)/g,ni("0x2d")).replace(/\u000A/g,""),o[ni("0x42")]=o[ni("0x42")][ni("0x12")](/(\S)\u000A+(\S)/g,"$1 $2")[ni("0x12")](/\u000A/g,""),""!=o.add&&""!=o[ni("0x42")]){n.push({type:ni("0x12"),content:Qr(e,ni("0x4a"),['"'+o[ni("0x42")]+'"','"'+o[ni("0xf")]+'"'])});continue}if(null!=o[ni("0xf")][ni("0x4c")](/^ +$/)){n[ni("0x3f")]({type:ni("0x39"),content:Qr(e,"*Insert:* %0",Qr(e,"ELEMENT_SPACE",o.add[ni("0x37")]))});continue}if(null!=o[ni("0x42")].match(/^ +$/)){n[ni("0x3f")]({type:"deletion",content:Qr(e,ni("0x3b"),Qr(e,ni("0x24"),o.remove[ni("0x37")]))});continue}if(""!=o[ni("0xf")]){n[ni("0x3f")]({type:"insertion",content:Qr(e,ni("0x28"),'"'+o[ni("0xf")]+'"')});continue}n[ni("0x3f")]({type:"deletion",content:Qr(e,ni("0x3b"),'"'+o[ni("0x42")]+'"')});continue;case ni("0x2c"):case"addObject":n[ni("0x3f")]({type:"insertion",content:Qr(e,ni("0x28"),this[ni("0x44")](o.element,o[ni("0x3d")]))});continue;case ni("0x3e"):case ni("0x3a"):n[ni("0x3f")]({type:ni("0x6"),content:Qr(e,ni("0x3b"),this[ni("0x44")](o[ni("0x49")],o.quantity))});continue;case ni("0x1b"):n[ni("0x3f")]({type:ni("0x39"),content:Qr(e,ni("0x2"),this.getItemLabel(o.element,o[ni("0x3d")]))});continue;case ni("0x22"):n[ni("0x3f")]({type:"deletion",content:Qr(e,"*Merge:* %0",this[ni("0x44")](o[ni("0x49")],o[ni("0x3d")]))});continue;case"addFormat":r.push(o[ni("0x1e")]);continue;case ni("0x2a"):i.push(o[ni("0x1e")]);continue;default:n.push(o)}if(r.length){const t=r[ni("0xe")]((t=>this[ni("0x30")][ni("0x33")](t)?this[ni("0x30")][ni("0x18")](t):t))[ni("0x16")](", ");n[ni("0x3f")]({type:ni("0x0"),content:Qr(this._locale,"*Set format:* %0",t)})}if(i[ni("0x37")]){const t=i.map((t=>this[ni("0x30")][ni("0x33")](t)?this[ni("0x30")][ni("0x18")](t):t)).join(", ");n[ni("0x3f")]({type:ni("0x0"),content:Qr(this[ni("0x20")],ni("0x5"),t)})}return n}[ni("0xd")](t){for(const e of this[ni("0x13")]){const n=e(t);if(n&&"type"in n)return n}}[ni("0x10")](t,e){const n=e.data,r=void 0===n.newValue?"removeFormat":"addFormat";t.push({type:r,key:n.key})}[ni("0x43")](t,e){t[ni("0x3f")]({type:ni("0x0"),content:Qr(this[ni("0x20")],"*Change to:* %0",this[ni("0x44")](e[ni("0x36")]()[ni("0x21")][ni("0x31")],1))})}[ni("0x4b")](t,e,n){if(this[ni("0x48")](t,e),n&&n.getFirstRange()&&!e[ni("0x36")]()[ni("0x19")][ni("0x3c")](n.getFirstRange().start)){const n=t[t.length-1],r=ni("0x39")==e[ni("0x8")]?ni("0xf"):ni("0x42");n&&ni("0x2e")==n[ni("0x8")]&&(n[r]+="\n")}}}const ii=["get","commands","editor","showAIAssistant","enableCommand","plugins"];var oi,si;oi=ii,si=357,function(t){for(;--t;)oi.push(oi.shift())}(++si);const xi=function(t,e){return ii[t-=0]};class ai extends t.Plugin{afterInit(){const t=this[xi("0x5")],e=t[xi("0x2")][xi("0x3")]("TrackChangesEditing");t[xi("0x4")][xi("0x3")]("showAIAssistant")&&e[xi("0x1")](xi("0x0"))}}const ci=["*Format:* %0","alignment","commandParams","FORMAT_ALIGNMENT","right","registerAttributeLabel","FORMAT_JUSTIFY_TEXT","type","TrackChangesEditing","plugins","FORMAT_ALIGN_TO_CENTER","locale","_descriptionFactory","editor","value","FORMAT_ALIGN_TO_RIGHT","format","_enableDefaultAttributesIntegration","get","_registerLegacyDescription"];var li,ui;li=ci,ui=252,function(t){for(;--t;)li.push(li.shift())}(++ui);const di=function(t,e){return ci[t-=0]};class gi extends t.Plugin{afterInit(){const t=this[di("0x1")],e=t[di("0x13")];if(!t[di("0x11")].has("AlignmentEditing"))return;const n=t[di("0x11")][di("0x6")](di("0x10"));n[di("0x5")](di("0x9"),[],[di("0x9")]),n[di("0x0")][di("0xd")](di("0x9"),Qr(e,di("0xb"))),this[di("0x7")]()}[di("0x7")](){const t=this.editor,e=t[di("0x13")];t.plugins[di("0x6")](di("0x10"))[di("0x0")].registerDescriptionCallback((t=>{if("formatBlock"!=t[di("0xf")])return;const{data:n}=t;if(n&&di("0x9")==n.commandName){const t=n[di("0xa")][0][di("0x2")];return{type:di("0x4"),content:Qr(e,di("0x8"),function(t){switch(t){case"left":return Qr(e,"FORMAT_ALIGN_TO_LEFT");case di("0xc"):return Qr(e,di("0x3"));case"center":return Qr(e,di("0x12"));case"justify":return Qr(e,di("0xe"))}}(t))}}}))}}const fi=["FORMAT_SUPERSCRIPT","commandName","code","FORMAT_","subscript","*Format:* %0","format","TrackChangesEditing","locale","type","strikethrough","*Remove format:* %0","_registerLegacyDescription","UnderlineEditing","FORMAT_UNDERLINE","slice","BoldEditing","italic","has","toLowerCase","FORMAT_BOLD","registerAttributeLabel","get","toUpperCase","plugins","afterInit","FORMAT_SUBSCRIPT","editor","superscript"];var hi,mi;hi=fi,mi=168,function(t){for(;--t;)hi.push(hi.shift())}(++mi);const bi=function(t,e){return fi[t-=0]},pi=[bi("0x16"),"ItalicEditing",bi("0x13"),"CodeEditing","StrikethroughEditing","SubscriptEditing","SuperscriptEditing"];class Ei extends t.Plugin{[bi("0x2")](){const t=this[bi("0x4")],e=t.plugins.get("TrackChangesEditing"),n=t[bi("0xe")];for(const r of pi){if(!t[bi("0x1")][bi("0x18")](r))continue;const i=r[bi("0x15")](0,-7)[bi("0x19")](),o=bi("0x9")+i[bi("0x0")]();e._enableDefaultAttributesIntegration(i,[i]),e._descriptionFactory[bi("0x1b")](i,Qr(n,o))}this[bi("0x12")]()}[bi("0x12")](){const t=this[bi("0x4")],e=t[bi("0xe")],n=t[bi("0x1")][bi("0x1c")](bi("0xd"));function r(t,r){n._descriptionFactory.registerDescriptionCallback((n=>{if("formatInline"!=n[bi("0xf")])return;const{data:i}=n;return i&&i[bi("0x7")]===t?i.commandParams[0].forceValue?{type:bi("0xc"),content:Qr(e,bi("0xb"),r)}:{type:bi("0xc"),content:Qr(e,bi("0x11"),r)}:void 0}))}r("bold",Qr(e,bi("0x1a"))),r(bi("0x17"),Qr(e,"FORMAT_ITALIC")),r("underline",Qr(e,bi("0x14"))),r(bi("0x8"),Qr(e,"FORMAT_CODE")),r(bi("0x10"),Qr(e,"FORMAT_STRIKETHROUGH")),r(bi("0xa"),Qr(e,bi("0x3"))),r(bi("0x5"),Qr(e,bi("0x6")))}}const _i=["filter","value","blockQuote","_descriptionFactory","*Set format:* %0","commands","commandName","ELEMENT_BLOCK_QUOTE","get","editor","afterInit","change","model","forceValue","checkChild","*Remove format:* %0","commandParams","getSelectedBlocks","parent","registerDescriptionCallback","enableCommand","$root","BlockQuoteEditing","plugins","markBlockFormat","from","format","name"];var Ti,yi;Ti=_i,yi=130,function(t){for(;--t;)Ti.push(Ti.shift())}(++yi);const Ci=function(t,e){return _i[t-=0]};class Ai extends t.Plugin{[Ci("0x14")](){const t=this[Ci("0x13")],e=t.locale;if(!t.plugins.has(Ci("0x4")))return;const n=t[Ci("0x5")].get("TrackChangesEditing"),r=this[Ci("0x13")][Ci("0xf")][Ci("0x12")](Ci("0xc"));n[Ci("0x2")]("blockQuote",((e,i={})=>{const o=this[Ci("0x13")][Ci("0x16")].document.selection,s=i&&void 0!==i[Ci("0x17")]?i[Ci("0x17")]:!r[Ci("0xb")];let x=[];if(s){const e=Array.from(o[Ci("0x1b")]())[Ci("0xa")]((t=>ki(t)||function(t,e){const n=e[Ci("0x18")](t[Ci("0x0")],Ci("0xc")),r=e[Ci("0x18")]([Ci("0x3"),"blockQuote"],t);return n&&r}(t,this[Ci("0x13")][Ci("0x16")].schema)));x=S(e,t.model)}else{const e=Array[Ci("0x7")](o.getSelectedBlocks()).filter((t=>ki(t)));x=S(e,t[Ci("0x16")])}t[Ci("0x16")][Ci("0x15")]((()=>{for(const t of x)n[Ci("0x6")](t,{commandName:"blockQuote",commandParams:[{forceValue:s}]})}))})),n[Ci("0xd")][Ci("0x1")]((t=>{const{data:n}=t;if(n&&Ci("0xc")==n[Ci("0x10")]){const t=Qr(e,Ci("0x11"));return n[Ci("0x1a")][0].forceValue?{type:"format",content:Qr(e,Ci("0xe"),t)}:{type:Ci("0x8"),content:Qr(e,Ci("0x19"),t)}}}))}}function ki(t){return Ci("0xc")==t.parent[Ci("0x9")]}const Ii=["changeCaseTitle","editor","plugins","CaseChange","changeCaseUpper","get","TrackChangesEditing","enableCommand","afterInit","has"];var Ri,Si;Ri=Ii,Si=277,function(t){for(;--t;)Ri.push(Ri.shift())}(++Si);const vi=function(t,e){return Ii[t-=0]};class Ni extends t.Plugin{[vi("0x1")](){const t=this[vi("0x4")];t[vi("0x5")][vi("0x2")](vi("0x6"))&&(t[vi("0x5")].get(vi("0x9")).enableCommand(vi("0x7")),t[vi("0x5")][vi("0x8")](vi("0x9"))[vi("0x0")]("changeCaseLower"),t[vi("0x5")].get(vi("0x9"))[vi("0x0")](vi("0x3")))}}const Li=["TrackChangesEditing","commands","plugins","afterInit","get"];var Mi,wi;Mi=Li,wi=418,function(t){for(;--t;)Mi.push(Mi.shift())}(++wi);const Oi=function(t,e){return Li[t-=0]};class Fi extends t.Plugin{[Oi("0x0")](){const t=this.editor;t[Oi("0x3")][Oi("0x1")]("ckbox")&&t[Oi("0x4")][Oi("0x1")](Oi("0x2")).enableCommand("ckbox")}}const Di=["enableCommand","name","_descriptionFactory","outdentCodeBlock","filter","forceValue","codeBlock","TrackChangesEditing","from","language","schema","blockName","languages","locale","change","indentCodeBlock","type","find","rootElement","plugins","selection","get","model","afterInit","getSelectedBlocks","commands","ELEMENT_CODE_BLOCK","has","commandName","label","checkChild","*Set format:* %0","commandParams","document","isLimit","parent","format","config","markBlockFormat","registerDescriptionCallback"];var Pi,Bi;Pi=Di,Bi=213,function(t){for(;--t;)Pi.push(Pi.shift())}(++Bi);const Ui=function(t,e){return Di[t-=0]};class ji extends t.Plugin{[Ui("0xa")](){const t=this.editor;if(!t.plugins[Ui("0xe")]("CodeBlock"))return;const e=t[Ui("0x6")][Ui("0x8")](Ui("0x22")),n=t[Ui("0x0")],r=t[Ui("0x18")][Ui("0x8")](Ui("0x21"))[Ui("0x27")],i=t[Ui("0xc")][Ui("0x8")](Ui("0x21"));e[Ui("0x1b")](Ui("0x2")),e[Ui("0x1b")](Ui("0x1e")),e[Ui("0x1b")]("codeBlock",((n,o={})=>{const s=t[Ui("0x9")],x=t[Ui("0x9")][Ui("0x14")][Ui("0x7")],a=o&&void 0!==o[Ui("0x20")]?o[Ui("0x20")]:!i.value;let c;o[Ui("0x24")]||(o.language=r[0][Ui("0x24")]),c=a?Array[Ui("0x23")](x[Ui("0xb")]())[Ui("0x1f")]((t=>{return Gi(t)||(e=t,n=s[Ui("0x25")],!e.is(Ui("0x5"))&&!n[Ui("0x15")](e)&&n[Ui("0x11")](e[Ui("0x16")],Ui("0x21")));var e,n})):Array[Ui("0x23")](x[Ui("0xb")]())[Ui("0x1f")]((t=>Gi(t)));const l=S(c,s);s[Ui("0x1")]((()=>{for(const t of l)e[Ui("0x19")](t,{commandName:Ui("0x21"),commandParams:[{...o,forceValue:a}],formatGroupId:Ui("0x26")})}))})),e[Ui("0x1d")].registerElementLabel(Ui("0x21"),(t=>Qr(n,Ui("0xd"),t))),e[Ui("0x1d")][Ui("0x1a")]((t=>{if("formatBlock"!=t[Ui("0x3")])return;const e=n.t,{data:i}=t;if(!i||Ui("0x21")!=i[Ui("0xf")])return;const o=i[Ui("0x13")][0][Ui("0x24")],s=e(r[Ui("0x4")]((t=>t[Ui("0x24")]===o))[Ui("0x10")]).toLowerCase();return i[Ui("0x13")][0][Ui("0x20")]?{type:Ui("0x17"),content:Qr(n,Ui("0x12"),Qr(n,Ui("0xd"),1)+" ("+s+")")}:{type:Ui("0x17"),content:Qr(n,"*Remove format:* %0",Qr(n,"ELEMENT_CODE_BLOCK",1))}}))}}function Gi(t){return"codeBlock"==t[Ui("0x1c")]}const Vi=["get","addCommentThread","editor","enableCommand","afterInit","has","plugins"];var Hi,zi;Hi=Vi,zi=317,function(t){for(;--t;)Hi.push(Hi.shift())}(++zi);const Wi=function(t,e){return Vi[t-=0]};class Ki extends t.Plugin{[Wi("0x2")](){const t=this[Wi("0x0")];t[Wi("0x4")][Wi("0x3")]("CommentsEditing")&&t[Wi("0x4")][Wi("0x5")]("TrackChangesEditing")[Wi("0x1")](Wi("0x6"))}}var qi=n(500);const Xi=["ck-suggestion-marker-","nextSibling","model","type","markerRange","getWalker","elementEnd","listItem","consumable","isContent","mapper","activeMarkers","ck-suggestion-marker--active","addClass","getAttribute","test","bindElementToMarker","isLimit","item","writer","element","markerName","includes","schema","previousPosition","getCustomProperty","toViewElement","isAtEnd","span","getItems","addHighlight","plugins"];var $i,Zi;$i=Xi,Zi=388,function(t){for(;--t;)$i.push($i.shift())}(++Zi);const Yi=function(t,e){return Xi[t-=0]};function Qi(t,e,n){const r=[];for(const i of e[Yi("0x19")]())i.hasAttribute(t)&&r.push(n.createRangeOn(i));return r}function Ji(t,e,{showActiveMarker:n=!0}={}){const r=t[Yi("0x1b")].get("TrackChangesEditing");return(i,o,s)=>{if(!s[Yi("0x4")][Yi("0xb")](o[Yi("0x0")],i.name))return;const x=o[Yi("0x0")][Yi("0x1")](),a=o[Yi("0x0")].start,c=t[Yi("0x1e")][Yi("0x13")];let l=null,u=null,d=!1,g=!1;for(const t of x){const e=t[Yi("0xe")];d=d||c[Yi("0x5")](e);const n=s[Yi("0x6")][Yi("0x16")](e);if(n&&n[Yi("0x15")](Yi("0x1a")))return;Yi("0x2")==t[Yi("0x1f")]&&c.isBlock(e)&&!c[Yi("0xd")](e)&&(e[Yi("0x1d")]||a[Yi("0x17")]?l&&l.parent==e||(l=e,f(t.previousPosition),g=!0):u=u||t[Yi("0x14")])}function f(t){const i=s[Yi("0xf")].createUIElement(Yi("0x18"),{class:Yi("0x1c")+e}),x=s[Yi("0x6")].toViewPosition(t);n&&r[Yi("0x7")][Yi("0x12")](o.markerName)&&s[Yi("0xf")][Yi("0x9")](Yi("0x8"),i),s.writer.insert(x,i),s.mapper[Yi("0xc")](i,o[Yi("0x11")])}d||g||!u||f(u)}}const to=["getFirstRange","init","markerName","createRange","high","addMarker:suggestion:deletion","editing","rootName","selection","model","enableCommand","forward","$graveyard","writer","document","editor","mapper","deleteForward","TrackChangesEditing","merge","modifySelection","end","unlock","data","removeMarker:suggestion:deletion","setSelection","unit","bind","buffer","fromRange","isCollapsed","unbindElementFromMarkerName","downcastDispatcher","markerNameToElements","start","plugins","remove","options","createSelection"];var eo,no;eo=to,no=253,function(t){for(;--t;)eo.push(eo.shift())}(++no);const ro=function(t,e){return to[t-=0]};class io extends t.Plugin{static get requires(){return[qi.Delete]}[ro("0x15")](){const t=this[ro("0x23")],e=t[ro("0x10")].get(ro("0x26"));e[ro("0x1e")]("delete");const n=t.commands.get("deleteForward");e.enableCommand(ro("0x25"),((e,r={})=>{const i=t[ro("0x1d")][ro("0x13")](t[ro("0x1d")][ro("0x22")][ro("0x1c")]);i[ro("0xb")]&&t[ro("0x1d")][ro("0x1")](i,{direction:ro("0x1f"),unit:r[ro("0x7")]});const o=i[ro("0x14")](),x=s.LiveRange[ro("0xa")](o);let a;e(r),a=ro("0x20")==x.root[ro("0x1b")]?t.model[ro("0x17")](o[ro("0xf")]):t[ro("0x1d")][ro("0x17")](x[ro("0xf")],x.end),x.detach(),t[ro("0x1d")].enqueueChange(n[ro("0x9")].batch,(t=>{n[ro("0x9")].lock(),t[ro("0x6")](t[ro("0x17")](a[ro("0x2")])),n[ro("0x9")][ro("0x3")]()}))})),t.editing[ro("0xd")].on(ro("0x19"),Ji(t,"merge"),{priority:"high"}),t[ro("0x4")][ro("0xd")].on("addMarker:suggestion:deletion",((e,n,r)=>{r[ro("0x12")].showSuggestionHighlights&&Ji(t,ro("0x0"),{showActiveMarker:!1})[ro("0x8")](this)(e,n,r)}),{priority:ro("0x18")}),t[ro("0x1a")][ro("0xd")].on(ro("0x5"),((t,e,n)=>{const r=n[ro("0x24")][ro("0xe")](e[ro("0x16")]);if(r)for(const t of r)t.is("uiElement")&&(n[ro("0x24")][ro("0xc")](t,e.markerName),n[ro("0x21")][ro("0x11")](t))}),{priority:ro("0x18")})}}const oo=["meta","push","_enableDefaultAttributesIntegration","listItemIdFixer","*Check item*","next","parent","trackChangesCommand","type","listIndent","listStyle","splitListItemAfter","*Merge:* %0","commands","config","_supportLegacySuggestions","createRange","plugins","assureChains","setAttribute","bulletedList","from","noTrackChangesFixer","isNextTo","default","*Format:* remove from %0","refresh","*Indent:* %0","commandName","ListEditing","registerDescriptionCallback","model","registerCustomCallback","numbered","attributeKey","*Split:* list item","toUpperCase","ELEMENT_LIST_ITEM","removeMarker","*Remove format:* %0","_registerLegacyDescription","every","get","registerAttributeLabel","indentList","listReversed","attributes","forceValue","document","todo","todoList","newValue","has","getFirstMarker","getFirstRange","nextSibling","*Merge:* list item","groupId","numberedList","batch","*Format:* insert into %0","key","bulleted","ELEMENT_BULLETED_LIST","_descriptionFactory","formatBlock","todoListCheck","range","length","splitListItemBefore","previousSibling","filter","attribute","data","format","containsItem","change","isLocal","suggestion","accept","outdentList","TrackChangesEditing","commandParams","find","*Uncheck item*","includes","listStart","todoListChecked","getSuggestions","ELEMENT_TODO_LIST","*Outdent:* %0","fromRange","listType","listItemId","differ","value","isUndo","_getAttributeKey","*Change to:* %0","end","ELEMENT_","ELEMENT_NUMBERED_LIST","multipleBlocks","head","editor","setSelection","list.multiBlock","locale","map","registerPostFixer","getChanges","start","schema","oldValue","mergeListItemBackward","nodeAfter","TodoListEditing","getAttribute","registerElementLabel","checkTodoList","createPositionAt","detach","_findSuggestions"];var so,xo;so=oo,xo=125,function(t){for(;--t;)so.push(so.shift())}(++xo);const ao=function(t,e){return oo[t-=0]};class co extends t.Plugin{afterInit(){const t=this.editor;if(!t[ao("0xf")][ao("0x32")](ao("0x1b")))return;const e=t[ao("0x69")],n=t[ao("0xf")][ao("0x28")](ao("0x4f")),r=t[ao("0xf")].has(ao("0x72")),i=!!t[ao("0xc")][ao("0x28")](ao("0x68"));function o(t){return{type:ao("0x48"),content:""+Qr(e,"*Set format:* %0",t)}}function s(t){return{type:ao("0x48"),content:""+Qr(e,ao("0x25"),t)}}n[ao("0x0")](ao("0x38"),[],[ao("0x5b"),ao("0x5a"),ao("0x7")]),n[ao("0x0")](ao("0x12")),n[ao("0x0")](ao("0x2a")),n._enableDefaultAttributesIntegration(ao("0x4e")),n[ao("0x0")](ao("0x9")),n[ao("0x0")](ao("0x43")),i&&(n[ao("0x0")]("mergeListItemBackward"),n[ao("0x0")]("mergeListItemForward")),r&&(n[ao("0x0")](ao("0x30")),n[ao("0x0")](ao("0x75"),[],["todoListChecked"]),n[ao("0x3e")][ao("0x1c")]((t=>{const{data:n}=t;if(n&&"todoListChecked"==n[ao("0x3b")])return{type:ao("0x48"),content:n[ao("0x31")]?Qr(e,ao("0x2")):Qr(e,ao("0x52"))}})),this[ao("0x66")][ao("0x1d")].document[ao("0x6b")]((t=>{if(t[ao("0x39")][ao("0x5e")])return!1;let e=!1;const r=n[ao("0x56")]({skipNotAttached:!0})[ao("0x45")]((t=>ao("0x55")===n._getAttributeKey(t)));for(const i of r)ao("0x2f")!=i[ao("0x34")]()[ao("0x6d")][ao("0x71")][ao("0x73")](ao("0x5a"))&&(n[ao("0x78")](i[ao("0x34")](),"attribute")[ao("0x51")]((t=>ao("0x5a")===n._getAttributeKey(t[ao("0x4c")])))||(t.removeMarker(i[ao("0x33")]()),e=!0));return e}))),n._descriptionFactory[ao("0x29")]("listIndent",Qr(e,"FORMAT_INDENT"));const x={type:"format",content:""};n[ao("0x3e")][ao("0x1c")]((t=>{const{data:n}=t;if(!n||ao("0x5a")!=n[ao("0x3b")])return;let r=t[ao("0x65")];for(;r;){if(r[ao("0x47")]&&(ao("0x8")==r[ao("0x47")].key&&(r.data[ao("0x31")]&&ao("0x16")!=r[ao("0x47")][ao("0x31")]||ao("0x16")!=r.data[ao("0x6f")]&&!n[ao("0x31")])||!i&&r[ao("0x47")][ao("0x3b")]==Cc))return x;r=r[ao("0x3")]}if(null==n[ao("0x31")])switch(n[ao("0x6f")]){case ao("0x3c"):return s(Qr(e,ao("0x3d")));case ao("0x1f"):return s(Qr(e,ao("0x63")));case ao("0x2f"):return s(Qr(e,ao("0x57")))}switch(n.newValue){case"bulleted":return o(Qr(e,ao("0x3d")));case ao("0x1f"):return o(Qr(e,ao("0x63")));case ao("0x2f"):return o(Qr(e,ao("0x57")))}})),n._descriptionFactory[ao("0x1c")]((t=>{const{data:e}=t;if(e&&"listIndent"==e[ao("0x3b")])return null==e[ao("0x31")]||null==e.oldValue&&0==e[ao("0x31")]?x:void 0})),n[ao("0x3e")][ao("0x1c")]((t=>{if(ao("0x46")!=t.type)return;const{data:n}=t;if(!n||ao("0x5b")!=n[ao("0x3b")])return;const r=lo(t);return r?ao("0x31")==r?{type:ao("0x48"),content:Qr(e,ao("0x36"))}:ao("0x6f")==r?{type:ao("0x48"),content:Qr(e,ao("0x21"))}:x:x})),t.model.document.registerPostFixer((t=>this.listItemIdFixer(t))),t[ao("0x1d")].document.registerPostFixer((t=>this[ao("0x14")](t))),t[ao("0x1d")][ao("0x2e")][ao("0x6b")]((t=>this[ao("0x10")](t))),this[ao("0xd")]()}[ao("0x1")](t){if(t[ao("0x39")][ao("0x5e")]||!t[ao("0x39")][ao("0x4b")])return!1;let e=!1;const n=this[ao("0x66")][ao("0xf")][ao("0x28")](ao("0x4f"))[ao("0x56")]({skipNotAttached:!0}).filter((t=>t[ao("0x47")]&&"listItemId"==t[ao("0x47")][ao("0x3b")]))[ao("0x45")]((t=>t.data.newValue&&t[ao("0x47")][ao("0x6f")]));for(const r of n)lo(r)||(t.removeMarker(r[ao("0x33")]()),e=!0);return e}[ao("0x14")](t){if(t[ao("0x39")].isUndo||!t.batch[ao("0x4b")])return!1;const e=this[ao("0x66")][ao("0xf")].get(ao("0x4f"));if(e[ao("0x5")][ao("0x5d")])return!1;let n=!1;const r=[ao("0x5a"),ao("0x8"),"listItemId",ao("0x7"),ao("0x54"),ao("0x2b"),ao("0x40")],i=this[ao("0x66")][ao("0x1d")][ao("0x2e")][ao("0x5c")][ao("0x6c")]()[ao("0x45")]((t=>ao("0x46")==t[ao("0x6")]))[ao("0x45")]((t=>r[ao("0x53")](t[ao("0x20")])));if(0==i[ao("0x42")])return n;for(const o of i){const i=e._findSuggestions(o[ao("0x41")],ao("0x46"))[ao("0x45")]((t=>!t[ao("0x79")][ao("0x15")])).map((t=>t.suggestion))[ao("0x45")]((t=>{const n=e[ao("0x5f")](t);return r[ao("0x53")](n)}));if(i[ao("0x42")]){for(const e of i)t[ao("0x24")](e[ao("0x33")]());n=!0}}return n}[ao("0x10")](t){if(t.batch.isUndo||!t[ao("0x39")][ao("0x4b")])return!1;const e=this[ao("0x66")][ao("0xf")].get("TrackChangesEditing");let n=!1;const r=["listType",ao("0x8"),ao("0x5b"),ao("0x7"),ao("0x54"),ao("0x2b"),"todoListCheck"];for(const t of e[ao("0x56")]({skipNotAttached:!0})){const i=e[ao("0x78")](t[ao("0x34")](),"attribute")[ao("0x6a")]((t=>t[ao("0x4c")]))[ao("0x45")]((t=>t[ao("0x47")]&&r.includes(t[ao("0x47")].key)));if(!i[ao("0x42")])continue;const s=i[0][ao("0x65")][ao("0x2c")].groupId;if(!i[ao("0x27")]((t=>t[ao("0x2c")][ao("0x37")]===s)))for(const t of i)o(t,s)&&(n=!0)}return n;function i(t,n){for(const r of e[ao("0x56")]({skipNotAttached:!0}).filter((e=>"attribute"==e[ao("0x6")]&&e[ao("0x2c")].groupId==t)))r.setAttribute("groupId",n)}function o(t,e){let n=t.head,r=!1;for(;n;)n.attributes[ao("0x37")]!=e&&(i(n[ao("0x2c")][ao("0x37")],e),n[ao("0x11")]("groupId",e),r=!0),n=n[ao("0x3")];return r}}_supportLegacySuggestions(){const t=this[ao("0x66")],e=t[ao("0x69")],n=t[ao("0xf")][ao("0x28")](ao("0x4f"));this[ao("0x26")](),n._suggestionFactory[ao("0x1e")](ao("0x3f"),"documentList",ao("0x4d"),(function(e,n){const r=[];for(let n of e)n[ao("0x6d")].nodeAfter===n[ao("0x61")][ao("0x4")]&&(n=t.model[ao("0xe")](t[ao("0x1d")][ao("0x76")](n[ao("0x6d")][ao("0x71")],0))),r[ao("0x7a")](n);t.model[ao("0x4a")]((e=>{const i=t[ao("0x1d")][ao("0x2e")].selection,o=Array[ao("0x13")](i.getRanges())[ao("0x6a")]((t=>s.LiveRange[ao("0x59")](t)));e[ao("0x67")](r),t.commands[ao("0x28")](n[ao("0x1a")])[ao("0x18")](),n.commandParams[ao("0x7a")]({forceDefaultExecution:!0}),t.execute(n[ao("0x1a")],...n.commandParams),e.setSelection(o);for(const t of o)t[ao("0x77")]()}))})),n[ao("0x3e")][ao("0x74")]((function(e){const n=!t[ao("0x1d")][ao("0x6e")].isObject(e),r=e[ao("0x44")],i=e[ao("0x35")],o=e[ao("0x73")](ao("0x5b")),s=!r||r.getAttribute(ao("0x5b"))!==o,x=!i||i[ao("0x73")](ao("0x5b"))!==o;return n&&Boolean(o)&&s&&x}),(t=>Qr(e,ao("0x23"),t)))}[ao("0x26")](){const t=this.editor,e=t[ao("0x69")];function n(e){const n=t[ao("0xb")].get("bulletedList")[ao("0x5d")],r=t[ao("0xb")][ao("0x28")](ao("0x38"))[ao("0x5d")];return"numberedList"===e?n:r}t[ao("0xf")][ao("0x28")]("TrackChangesEditing")._descriptionFactory[ao("0x1c")]((function(r){if(ao("0x3f")!=r[ao("0x6")])return;const{data:i}=r;if(!i)return;let o,s,x,a;switch(i.commandName){case ao("0x12"):x=i[ao("0x50")][0].forceValue,a=n(i[ao("0x1a")]),o=ao(x?"0x3a":"0x17"),!a&&t[ao("0xc")][ao("0x28")]("list.multiBlock")||(o=ao("0x60")),s={type:ao("0x48"),content:Qr(e,o,Qr(e,ao("0x3d")))};break;case ao("0x38"):x=i[ao("0x50")][0][ao("0x2d")],a=n(i[ao("0x1a")]),o=ao(x?"0x3a":"0x17"),!a&&t[ao("0xc")][ao("0x28")]("list.multiBlock")||(o=ao("0x60")),s={type:ao("0x48"),content:Qr(e,o,Qr(e,"ELEMENT_NUMBERED_LIST"))};break;case ao("0x2a"):o=ao("0x19"),s={type:ao("0x48"),content:Qr(e,o,Qr(e,ao("0x23")))};break;case ao("0x4e"):o=function(t){const e=t[ao("0x34")]();let n=e[ao("0x6d")].nodeAfter;for(;n&&e[ao("0x49")](n);){if(n[ao("0x73")](ao("0x7"))>0)return!1;n=n[ao("0x35")]}return!0}(r)?Qr(e,ao("0x17"),Qr(e,(c=r,ao("0x62")+c.getFirstRange()[ao("0x6d")][ao("0x71")][ao("0x73")](ao("0x5a"))[ao("0x22")]()+"_LIST"))):Qr(e,ao("0x58"),Qr(e,"ELEMENT_LIST_ITEM")),s={type:ao("0x48"),content:o};break;case ao("0x70"):case"mergeListItemForward":!1===i[ao("0x64")]&&(o=ao("0xa"),s={type:"deletion",content:Qr(e,o,Qr(e,"ELEMENT_LIST_ITEM"))})}var c;return s}))}}function lo(t){let e=t[ao("0x34")]()[ao("0x6d")].nodeAfter.previousSibling;for(;e;){const n=e[ao("0x73")](ao("0x5b"));if(!n)return!1;if(n==t.data.newValue)return ao("0x31");if(n==t[ao("0x47")][ao("0x6f")])return ao("0x6f");e=e[ao("0x44")]}return!1}const uo=["toUpperCase","filter","FORMAT_LIST_REVERSED","newValue","styles","_LIST_","document","_descriptionFactory","model","find","lower-roman","_getAttributeKey","getFirstMarker","head","locale","listStart","key","replace","getAttribute","numbered","plugins","batch","startIndex","suggestion","format","start","getFirstRange","bind","*Remove format:* %0","registerPostFixer","decimal-leading-zero","FORMAT_LIST_START","disc","type","data","ListPropertiesEditing","oldValue","has","get","_findSuggestions","list.properties","listReversed","square","handleDescriptions","next","ELEMENT_","config","*Format:* set order to regular","reversed","lower-latin","*Format:* set start index to %0","registerAttributeLabel","decimal","registerDescriptionCallback","editor","nodeAfter","includes","afterInit","bulleted","_enableDefaultAttributesIntegration","*Set format:* %0","TrackChangesEditing","removeMarker","*Format:* set order to reversed","attribute","default","commandParams","_getTranslationKeyForListStyle","getSuggestions","listType","commandName","listStyle"];var go,fo;go=uo,fo=370,function(t){for(;--t;)go.push(go.shift())}(++fo);const ho=function(t,e){return uo[t-=0]};class mo extends t.Plugin{[ho("0x2f")](){if(!this[ho("0x2c")][ho("0xa")][ho("0x1b")](ho("0x19")))return;const t=this[ho("0x2c")][ho("0x24")][ho("0x1c")](ho("0x1e")),e=this[ho("0x2c")][ho("0xa")][ho("0x1c")]("TrackChangesEditing");t[ho("0x42")]&&e._enableDefaultAttributesIntegration(ho("0x3d"),[],[ho("0x3d")]),t[ho("0x26")]&&e[ho("0x31")]("listReversed",[],[ho("0x1f")]),t[ho("0xc")]&&e._enableDefaultAttributesIntegration("listStart",[],[ho("0x5")]);const n={type:"format",content:""};e[ho("0x45")][ho("0x2b")](this[ho("0x21")][ho("0x11")](this));const r=this[ho("0x2c")].locale;e[ho("0x45")].registerAttributeLabel("listReversed",Qr(r,ho("0x40"))),e._descriptionFactory[ho("0x2b")]((t=>{const{data:e}=t;if(e&&ho("0x1f")==e.key)return null==e[ho("0x41")]||0==e[ho("0x41")]&&null==e[ho("0x1a")]?n:void 0})),e._descriptionFactory[ho("0x29")](ho("0x5"),Qr(r,ho("0x15"))),e[ho("0x45")][ho("0x2b")]((t=>{const{data:e}=t;if(e&&ho("0x5")==e[ho("0x6")])return null==e[ho("0x41")]||1==e[ho("0x41")]&&null==e.oldValue?n:void 0})),this[ho("0x2c")][ho("0x46")][ho("0x44")][ho("0x13")]((t=>{if(t[ho("0xb")].isUndo)return!1;let n=!1;const r=e[ho("0x3a")]({skipNotAttached:!0})[ho("0x3f")]((t=>{const n=e[ho("0x1")](t);return"listStart"==n||ho("0x1f")==n}));for(const i of r)ho("0x9")!=i.getFirstRange()[ho("0xf")][ho("0x2d")][ho("0x8")](ho("0x3b"))&&(e[ho("0x1d")](i[ho("0x10")](),ho("0x36"))[ho("0x47")]((t=>ho("0x3b")==e[ho("0x1")](t[ho("0xd")])))||(t[ho("0x34")](i[ho("0x2")]()),n=!0));return n})),this._registerLegacyDescription()}[ho("0x21")](t){const e=this[ho("0x2c")].locale,{data:n}=t,r={type:ho("0xe"),content:""};if(!n||ho("0x3d")!=n[ho("0x6")])return;if(!n[ho("0x1a")])return"default"==n.newValue?r:{type:"format",content:""+Qr(e,ho("0x32"),Qr(e,this._getTranslationKeyForListStyle(n[ho("0x41")])))};if(!n[ho("0x41")]){if(ho("0x37")==n[ho("0x1a")])return r;let i=t[ho("0x3")];for(;i;){if(i[ho("0x18")]&&"listType"==i[ho("0x18")][ho("0x6")]&&i.data.newValue)return r;i=i[ho("0x22")]}return{type:"format",content:""+Qr(e,ho("0x12"),Qr(e,this[ho("0x39")](n[ho("0x1a")])))}}if(ho("0x37")!=n[ho("0x41")])return{type:ho("0xe"),content:""+Qr(e,ho("0x32"),Qr(e,this[ho("0x39")](n.newValue)))};let i=t[ho("0x3")];for(;i;){if(i[ho("0x18")]&&"listType"==i[ho("0x18")][ho("0x6")]&&i.data[ho("0x41")]&&i[ho("0x18")][ho("0x1a")])return r;i=i[ho("0x22")]}const o=t[ho("0x10")]().start[ho("0x2d")][ho("0x8")]("listType");return{type:ho("0xe"),content:Qr(e,"*Set format:* %0",Qr(e,ho("0x23")+o[ho("0x3e")]()+"_LIST_DEFAULT"))}}_registerLegacyDescription(){const t=this[ho("0x2c")],e=t[ho("0x4")];t.plugins[ho("0x1c")](ho("0x33"))[ho("0x45")][ho("0x2b")]((t=>{if("formatBlock"!=t.type)return;const{data:n}=t;if(!n)return;let r,i;switch(n[ho("0x3c")]){case ho("0x3d"):r="*Change to:* %0",i={type:"format",content:Qr(e,r,Qr(e,this._getTranslationKeyForListStyle(n.commandParams[0][ho("0x17")])))};break;case ho("0x1f"):r=n[ho("0x38")][0][ho("0x26")]?ho("0x35"):ho("0x25"),i={type:ho("0xe"),content:Qr(e,r)};break;case"listStart":r=ho("0x28"),i={type:ho("0xe"),content:Qr(e,r,n[ho("0x38")][0][ho("0xc")])}}return i}))}[ho("0x39")](t){return ho("0x23")+(e=t,bo[ho("0x2e")](e)?ho("0x30"):po.includes(e)?ho("0x9"):null)[ho("0x3e")]()+ho("0x43")+t[ho("0x3e")]()[ho("0x7")](/-/g,"_");var e}}const bo=[ho("0x16"),"circle",ho("0x20")],po=[ho("0x2a"),ho("0x14"),ho("0x0"),"upper-roman",ho("0x27"),"upper-latin"];var Eo=n(976);const _o=["markerName","markInsertion","createRange","data","ck-suggestion-marker-split","writer","remove","get","init","requires","plugins","parent","model","hasClass","split","fire","enter","change","removeMarker:suggestion:insertion","setSelection","TrackChangesEditing","commands","getFirstRange","mapper","detach","downcastDispatcher","bind","high","unbindElementFromMarkerName","options","editing","enterBlock","addMarker:suggestion:insertion","editor","createPositionAt","getFirstPosition","end"];var To,yo;To=_o,yo=154,function(t){for(;--t;)To.push(To.shift())}(++yo);const Co=function(t,e){return _o[t-=0]};class Ao extends t.Plugin{static get[Co("0x3")](){return[Eo.Enter]}[Co("0x2")](){const t=this[Co("0x1b")],e=t[Co("0x4")][Co("0x1")](Co("0xe")),n=t[Co("0xf")].get("enter");e.enableCommand(Co("0xa"),(()=>{t[Co("0x6")][Co("0xb")]((r=>{const i=t[Co("0x6")].document.selection,o=i[Co("0x1d")](),x=s.LiveRange.fromRange(i[Co("0x10")]());if(n[Co("0x19")](r)){const n=t[Co("0x6")][Co("0x1c")](o[Co("0x5")].nextSibling,0),i=r[Co("0x21")](o,n);e[Co("0x20")](i)}else r[Co("0xd")](r[Co("0x21")](x[Co("0x1e")]));x[Co("0x12")](),n[Co("0x9")]("afterExecute",{writer:r})}))})),t[Co("0x18")][Co("0x13")].on(Co("0x1a"),Ji(t,Co("0x8")),{priority:Co("0x15")}),t.editing[Co("0x13")].on(Co("0xc"),((t,e,n)=>{const r=n[Co("0x11")].markerNameToElements(e[Co("0x1f")]);if(r)for(const t of r)t[Co("0x7")](Co("0x23"))&&(n[Co("0x11")][Co("0x16")](t,e[Co("0x1f")]),n[Co("0x24")][Co("0x0")](t))}),{priority:"high"}),t[Co("0x22")][Co("0x13")].on(Co("0x1a"),((e,n,r)=>{r[Co("0x17")].showSuggestionHighlights&&Ji(t,"split",{showActiveMarker:!1})[Co("0x14")](this)(e,n,r)}),{priority:"high"})}}const ko=["filter","bind","createPositionAt","createRange","getIntersection","has","find","handleFindCommand","_isInDeletionRange","start","get","string","enableCommand","editor","plugins","model","findPrevious","FindAndReplaceEditing","findNext","afterInit","item","replace"];var Io,Ro;Io=ko,Ro=274,function(t){for(;--t;)Io.push(Io.shift())}(++Ro);const So=function(t,e){return ko[t-=0]};class vo extends t.Plugin{[So("0x9")](){if(!this[So("0x3")][So("0x4")][So("0x11")](So("0x7")))return;const t=this[So("0x3")].plugins[So("0x0")]("TrackChangesEditing");t[So("0x2")](So("0x12"),this[So("0x13")][So("0xd")](this)),t.enableCommand(So("0x8")),t[So("0x2")](So("0x6")),t.enableCommand(So("0xb")),t.enableCommand("replaceAll")}[So("0x13")](t,e,n={}){const r=this[So("0x3")][So("0x4")].get("FindAndReplaceUtils");return t((t=>(So("0x1")==typeof e?r.findByTextCallback(e,n):e)(t)[So("0xc")]((e=>!1===this[So("0x14")](e,t[So("0xa")])))),n)}[So("0x14")](t,e){const n=this[So("0x3")][So("0x5")][So("0xf")](this[So("0x3")][So("0x5")][So("0xe")](e,t[So("0x15")]),this[So("0x3")][So("0x5")][So("0xe")](e,t.end));for(const t of this.editor[So("0x5")].markers.getMarkersGroup("suggestion:deletion"))if(null!==n[So("0x10")](t.getRange()))return!0;return!1}}const No=["fontSize.options","label","FontBackgroundColorEditing","find","editor","_registerLegacyDescription","*Set font color:* %0","normalizeSizeOptions","plugins","fontSize","afterInit","get","FORMAT_FONT_SIZE","*Reset font size*","fontBackgroundColor.colors","toLowerCase","commandParams","commandName","has","*Set font family:* %0","model","config","FontSize","format","FORMAT_FONT_FAMILY","*Set font background color:* %0","_descriptionFactory","value","locale","fontFamily","TrackChangesEditing","type","fontColor","fontColor.colors","registerAttributeLabel","FontColorEditing","formatInline","trim","*Reset font background color*","_enableDefaultAttributesIntegration","fontBackgroundColor","registerDescriptionCallback","title"];var Lo,Mo;Lo=No,Mo=295,function(t){for(;--t;)Lo.push(Lo.shift())}(++Mo);const wo=function(t,e){return No[t-=0]},Oo=[{pluginName:"FontSizeEditing",commandName:wo("0xf")},{pluginName:"FontFamilyEditing",commandName:wo("0x23")},{pluginName:wo("0x29"),commandName:"fontColor"},{pluginName:wo("0x8"),commandName:wo("0x3")}];class Fo extends t.Plugin{[wo("0x10")](){const t=this[wo("0xa")].locale,e=this[wo("0xa")][wo("0xe")][wo("0x11")](wo("0x24"));for(const{pluginName:t,commandName:n}of Oo)this[wo("0xa")].plugins[wo("0x18")](t)&&e[wo("0x2")](n,[n]);t.t,e[wo("0x20")][wo("0x28")](wo("0xf"),Qr(t,wo("0x12"))),e[wo("0x20")].registerAttributeLabel(wo("0x23"),Qr(t,wo("0x1e"))),e[wo("0x20")][wo("0x28")](wo("0x26"),Qr(t,"FORMAT_FONT_COLOR")),e._descriptionFactory.registerAttributeLabel(wo("0x3"),Qr(t,"FORMAT_FONT_BACKGROUND")),this[wo("0xb")]()}[wo("0xb")](){const t=this[wo("0xa")],e=t[wo("0x22")];t[wo("0xe")][wo("0x11")](wo("0x24"))[wo("0x20")][wo("0x4")]((t=>{const n=e.t;if(wo("0x2a")!=t[wo("0x25")])return;const{data:r}=t;if(null!=r){if(wo("0xf")==r[wo("0x17")]){const t=r[wo("0x16")][0].value;if(t){const r=n(this[wo("0xa")][wo("0xe")].get(wo("0x1c"))[wo("0xd")](this[wo("0xa")][wo("0x1b")].get(wo("0x6")))[wo("0x9")]((e=>e[wo("0x1a")]==t))[wo("0x5")]).toLowerCase();return{type:wo("0x1d"),content:Qr(e,"*Set font size:* %0",r)}}return{type:wo("0x1d"),content:Qr(e,wo("0x13"))}}if(wo("0x23")==r[wo("0x17")]){const t=r.commandParams[0][wo("0x21")];return t?{type:wo("0x1d"),content:Qr(e,wo("0x19"),t)}:{type:wo("0x1d"),content:Qr(e,"*Reset font family*")}}if("fontColor"==r[wo("0x17")]){const t=r[wo("0x16")][0][wo("0x21")];if(t){const r=(0,i.normalizeColorOptions)(this[wo("0xa")][wo("0x1b")][wo("0x11")](wo("0x27")))[wo("0x9")]((e=>e.model==t));let o=t,s="";return r&&(o=r.label,s=n(o)[wo("0x15")]()),{type:wo("0x1d"),content:Qr(e,wo("0xc"),s)[wo("0x0")](),color:{value:t,title:s||o}}}return{type:"format",content:Qr(e,"*Reset font color*")}}if("fontBackgroundColor"==r[wo("0x17")]){const t=r[wo("0x16")][0][wo("0x21")];if(t){const r=(0,i.normalizeColorOptions)(this.editor.config[wo("0x11")](wo("0x14")))[wo("0x9")]((e=>e[wo("0x1a")]==t));let o=t,s="";return r&&(o=r[wo("0x7")],s=n(o)[wo("0x15")]()),{type:wo("0x1d"),content:Qr(e,wo("0x1f"),s)[wo("0x0")](),color:{value:t,title:s||o}}}return{type:wo("0x1d"),content:Qr(e,wo("0x1"))}}}}))}}const Do=["enableCommand","commandName","*Remove all formatting*","formatInline","join","label","boolean","find","model","registerDescriptionCallback","fontColor","pasteFormat","get","commandParams","editor","split","length","_enableDefaultAttributesIntegration","format","commands","slice","toLowerCase","*Set format to:* %0","fontSize","copyFormat","config","FontSize","type","normalizeSizeOptions","fontSize.options","formatBlock","locale","fontColor.colors","TrackChangesEditing","plugins","afterInit","_registerLegacyDescription","_descriptionFactory"];var Po,Bo;Po=Do,Bo=196,function(t){for(;--t;)Po.push(Po.shift())}(++Bo);const Uo=function(t,e){return Do[t-=0]};class jo extends t.Plugin{[Uo("0x1d")](){const t=this[Uo("0x8")],e=t[Uo("0x1c")][Uo("0x6")](Uo("0x1b")),n=t[Uo("0xd")][Uo("0x6")](Uo("0x12")),r=t[Uo("0xd")].get(Uo("0x5"));n&&r&&(e[Uo("0xb")](Uo("0x5")),e[Uo("0x20")](Uo("0x12")),this[Uo("0x1e")]())}[Uo("0x1e")](){const t=this[Uo("0x8")],e=t[Uo("0x19")];t.plugins[Uo("0x6")](Uo("0x1b"))[Uo("0x1f")][Uo("0x3")]((n=>{if(Uo("0x18")!=n[Uo("0x15")]&&Uo("0x23")!=n.type)return;const{data:r}=n;if(r&&Uo("0x5")===r[Uo("0x21")]){const n=[],i=r[Uo("0x7")][0];for(const[e,r]of Object.entries(i))n.push(Go(t,e,r));return n[Uo("0xa")]?{type:Uo("0xc"),content:Qr(e,Uo("0x10"),n[Uo("0x24")](", "))}:{type:Uo("0xc"),content:Qr(e,Uo("0x22"))}}}))}}function Go(t,e,n){const r=t[Uo("0x19")].t,o=e[Uo("0x9")](/(?=[A-Z])/).join(" "),s=r(o.charAt(0).toUpperCase()+o[Uo("0xe")](1))[Uo("0xf")]();if(Uo("0x0")==typeof n)return s;if(Uo("0x4")===e||"fontBackgroundColor"===e){const e=(0,i.normalizeColorOptions)(t.config[Uo("0x6")](Uo("0x1a")))[Uo("0x1")]((t=>t[Uo("0x2")]==n));return s+" ("+(e?r(e[Uo("0x25")])[Uo("0xf")]():n)+")"}if(Uo("0x11")===e&&isNaN(parseFloat(n))){const e=t[Uo("0x1c")].get(Uo("0x14"))[Uo("0x16")](t[Uo("0x13")].get(Uo("0x17"))).find((t=>t[Uo("0x2")]==n));return s+" ("+(e?r(e.title).toLowerCase():n)+")"}return s+" ("+n+")"}const Vo=["config","heading","has","_headingOptions","title","model","plugins","ELEMENT_HEADING","heading.options","commandName","editor","*Change to:* %0","TrackChangesEditing","_enableDefaultAttributesIntegration","ELEMENT_HEADING_CUSTOM","registerElementLabel","format","commandParams","type","afterInit","_registerLegacyDescription","_getHeadingLevel","locale","formatBlock","find","value","get"];var Ho,zo;Ho=Vo,zo=467,function(t){for(;--t;)Ho.push(Ho.shift())}(++zo);const Wo=function(t,e){return Vo[t-=0]};class Ko extends t.Plugin{[Wo("0xb")](){const t=this[Wo("0x2")];if(!t.plugins[Wo("0x15")]("HeadingEditing"))return;this[Wo("0x16")]=t[Wo("0x13")][Wo("0x12")](Wo("0x0"));const e=t[Wo("0xe")],n=t[Wo("0x19")].get("TrackChangesEditing");n[Wo("0x5")](Wo("0x14"));for(const t of this[Wo("0x16")])"paragraph"!=t[Wo("0x18")]&&n._descriptionFactory[Wo("0x7")](t[Wo("0x18")],(n=>{const r=this[Wo("0xd")](t[Wo("0x18")]);return null!==r?(s=n,x=r,Qr(e,Wo("0x1a"),[s,x])):(i=n,o=t[Wo("0x17")],Qr(e,Wo("0x6"),[i,o]));var i,o,s,x}));this[Wo("0xc")]()}[Wo("0xc")](){const t=this[Wo("0x2")],e=t.locale;t[Wo("0x19")][Wo("0x12")](Wo("0x4"))._descriptionFactory.registerDescriptionCallback((t=>{if(Wo("0xf")!=t[Wo("0xa")])return;const{data:n}=t;if(n&&Wo("0x14")==n[Wo("0x1")]){const t=n[Wo("0x9")][0][Wo("0x11")],s=this[Wo("0xd")](t);if(null!==s)return{type:Wo("0x8"),content:Qr(e,Wo("0x3"),(1,o=s,Qr(e,Wo("0x1a"),[1,o])))};const x=this[Wo("0x16")][Wo("0x10")]((e=>e[Wo("0x18")]===t))[Wo("0x17")];return{type:"format",content:Qr(e,Wo("0x3"),(r=1,i=x,Qr(e,Wo("0x6"),[r,i])))}}var r,i,o}))}_getHeadingLevel(t){var e,n;const r=t.match(/^heading(\d+)/);if(r)return r[1];const i=null===(e=this[Wo("0x16")])||void 0===e?void 0:e.find((e=>e.model==t));if(i&&i.view){const t=i.view,e=(null!==(n=t.name)&&void 0!==n?n:t).match(/^h(\d+)/);if(e)return e[1]}return null}}const qo=["commandName","has","color","config","locale","registerAttributeLabel","highlight.options","plugins","_descriptionFactory","_registerLegacyDescription","model","toLowerCase","FORMAT_HIGHLIGHT","title","editor","highlight","TrackChangesEditing","find"];var Xo,$o;Xo=qo,$o=207,function(t){for(;--t;)Xo.push(Xo.shift())}(++$o);const Zo=function(t,e){return qo[t-=0]};class Yo extends t.Plugin{afterInit(){const t=this[Zo("0x5")];if(!t[Zo("0x10")][Zo("0xa")]("HighlightEditing"))return;const e=t[Zo("0x10")].get(Zo("0x7")),n=t[Zo("0xd")];e._enableDefaultAttributesIntegration(Zo("0x6"),[Zo("0x6")]),e[Zo("0x11")][Zo("0xe")](Zo("0x6"),Qr(n,Zo("0x3"))),this[Zo("0x0")]()}[Zo("0x0")](){const t=this[Zo("0x5")],e=t.locale;t[Zo("0x10")].get("TrackChangesEditing")._descriptionFactory.registerDescriptionCallback((n=>{if("formatInline"!=n.type)return;const{data:r}=n;if(r&&Zo("0x6")==r[Zo("0x9")]){const n=e.t,i=r.commandParams[0].value;if(i){const r=t[Zo("0xc")].get(Zo("0xf"))[Zo("0x8")]((t=>t[Zo("0x1")]==i)),o=n(r[Zo("0x4")])[Zo("0x2")]();return{type:"format",content:Qr(e,"*Set highlight:* %0",o),color:{value:r[Zo("0xb")],title:r.title}}}return{type:"format",content:Qr(e,"*Remove highlight*",Qr(e,Zo("0x3")))}}}))}}const Qo=["createEmptyElement","registerElementLabel","ELEMENT_HORIZONTAL_LINE","TrackChangesEditing","high","insert","ck-horizontal-line","plugins","addClass","_descriptionFactory","editor","has","HorizontalLineEditing","horizontalLine","div","elementToStructure","showSuggestionHighlights","dataDowncast","for","get","conversion","locale"];var Jo,ts;Jo=Qo,ts=130,function(t){for(;--t;)Jo.push(Jo.shift())}(++ts);const es=function(t,e){return Qo[t-=0]};class ns extends t.Plugin{afterInit(){const t=this[es("0xc")];if(!t[es("0x9")][es("0xd")](es("0xe")))return;t[es("0x9")][es("0x15")](es("0x5")).enableCommand(es("0xf"));const e=t.plugins[es("0x15")](es("0x5")),n=t[es("0x1")];e[es("0xb")][es("0x3")]("horizontalLine",(t=>Qr(n,es("0x4"),t))),t[es("0x0")][es("0x14")](es("0x13"))[es("0x11")]({model:es("0xf"),view:(t,{writer:e,options:n})=>{if(!n[es("0x12")])return null;const r=e.createContainerElement(es("0x10")),i=e[es("0x2")]("hr");return e[es("0xa")](es("0x8"),r),e[es("0x7")](e.createPositionAt(r,0),i),r},converterPriority:es("0x6")})}}const rs=["get","element","plugins","editor","formatBlock","_descriptionFactory","*Change %0 content*","rawHtml","value","key","_enableDefaultAttributesIntegration","attribute","afterInit","ELEMENT_HTML_EMBED","_registerLegacyDescription","htmlEmbed","format","TrackChangesEditing","type","has","registerDescriptionCallback","locale","HtmlEmbed"];var is,os;is=rs,os=211,function(t){for(;--t;)is.push(is.shift())}(++os);const ss=function(t,e){return rs[t-=0]};class xs extends t.Plugin{[ss("0x8")](){const t=this[ss("0x16")];if(!t[ss("0x15")][ss("0xf")](ss("0x12")))return;const e=t[ss("0x15")].get(ss("0xd")),n=t[ss("0x11")];e[ss("0x1")].registerElementLabel(ss("0x3"),(t=>Qr(n,ss("0x9"),t))),e[ss("0x6")](ss("0xb"),[],["value"]),e._descriptionFactory[ss("0x10")]((t=>{if(ss("0x7")!=t[ss("0xe")])return;const{data:e}=t;if(e&&ss("0x4")==e[ss("0x5")]&&t.getFirstRange().start.nodeAfter.is(ss("0x14"),"rawHtml")){const t=Qr(n,ss("0x9"));return{type:ss("0xc"),content:Qr(n,ss("0x2"),t)}}})),this[ss("0xa")]()}[ss("0xa")](){const t=this.editor,e=t[ss("0x11")];t[ss("0x15")][ss("0x13")](ss("0xd"))[ss("0x1")][ss("0x10")]((t=>{if(ss("0x0")!=t[ss("0xe")])return;const{data:n}=t;if(n&&ss("0xb")==n.commandName){const t=Qr(e,ss("0x9"));return{type:ss("0xc"),content:Qr(e,ss("0x2"),t)}}}))}}const as=["*Reset image width*","forward","getNearestSelectionRange","toNext","ImageTextAlternativeEditing","newValue","commandParams","discard","nodeBefore","filter","chain","start","formatInline","detach","markBlockFormat","registerCustomCallback","TrackChangesEditing","imageTypeInline","ImageCaptionUtils","_findSuggestions","_suggestionFactory","plugins","ELEMENT_CAPTION","previous","createRangeOn","ImageUtils","element","locale","isEqual","change","insertion","ImageUploadEditing","Inline image to block image","schema","get","registerDescriptionCallback","convertBlockImageToInline","markInsertion","getContainedElement","find","_descriptionFactory","imageTextAlternative","length","join","isOwn","fromPosition","end","imageStylePreApply","ELEMENT_IMAGE","ImageEditing","model","isCollapsed","isBefore","caption","imageCaption","findIndex","subType","commandName","type","toggleImageCaption","ImageInlineEditing","imageTypeBlock","selection","getSuggestionCallback","document","*Set image width:* %0","format","enableCommand","createRange","registerElementLabel","has","formatBlock","imageInline","*Remove image text alternative*","addObject","deletion","toPrevious","uploadImage","insertImage","forceDefaultExecution","nodeAfter","accept","Block image to inline image","*Set image text alternative:* %0","markDeletion","afterInit","backward","_registerLegacyDescription","width","getFirstRange","isBlockImage","editor","convertInlineImageToBlock","resizedWidth","removeObject","key","getClosestSelectedImageElement","imageBlock","isIntersecting","_enableDefaultAttributesIntegration","resizeImage"];var cs,ls;cs=as,ls=430,function(t){for(;--t;)cs.push(cs.shift())}(++ls);const us=function(t,e){return as[t-=0]};class ds extends t.Plugin{[us("0x3b")](){const t=this[us("0x41")];if(!t[us("0x60")].has(us("0x17")))return;const e=t[us("0x60")][us("0x8")](us("0x5b")),n=t.plugins[us("0x8")](us("0x64")),r=t.locale;e[us("0x29")](us("0x34")),e[us("0xe")][us("0x2b")](us("0x47"),(t=>Qr(r,us("0x16"),t))),e._descriptionFactory[us("0x2b")](us("0x2e"),(t=>Qr(r,"ELEMENT_INLINE_IMAGE",t))),e[us("0xe")][us("0x2b")]("caption",(()=>Qr(r,us("0x61")))),t[us("0x60")][us("0x2c")](us("0x5"))&&e[us("0x29")](us("0x33")),t[us("0x60")][us("0x2c")]("ImageBlockEditing")&&t[us("0x60")][us("0x2c")](us("0x22"))&&(e.enableCommand(us("0x5c"),((r,i)=>{const o=n.getClosestSelectedImageElement(t.model.document[us("0x24")]);t[us("0x18")].change((()=>{e[us("0x59")](o,{commandName:"imageTypeInline",commandParams:[i]},[],us("0xa"))}))})),e[us("0x29")](us("0x23"),((r,i)=>{t.model[us("0x3")]((o=>{let x=n[us("0x46")](t[us("0x18")].document[us("0x24")]),a=o[us("0x63")](x);const c=s.LivePosition[us("0x13")](a[us("0x56")],us("0x32")),l=s.LivePosition.fromPosition(a.end,us("0x4e"));e[us("0x35")]((()=>r(i))),x=n[us("0x46")](t[us("0x18")][us("0x26")][us("0x24")]),a=o.createRangeOn(x);const u=o[us("0x2a")](c,l);c.detach(),l[us("0x58")](),e[us("0x59")](x,{commandName:"imageTypeInline",commandParams:[i]},[],us("0x42")),u[us("0x56")][us("0x1a")](a.start)&&e.markInsertion(o[us("0x2a")](u.start,a[us("0x56")]),"convertInlineImageToBlock"),a[us("0x14")][us("0x1a")](u[us("0x14")])&&e[us("0xb")](o.createRange(a[us("0x14")],u[us("0x14")]),us("0x42"))}))})),e[us("0x5f")][us("0x5a")](us("0x2d"),us("0x42"),us("0x11"),(()=>!1)),e[us("0x5f")].registerCustomCallback(us("0x2d"),us("0x42"),us("0x37"),(()=>!1)),e[us("0x5f")].registerCustomCallback(us("0x2d"),"convertInlineImageToBlock","discard",e[us("0x5f")][us("0x25")](us("0x2d"),"",us("0x37"))),e._suggestionFactory[us("0x5a")](us("0x4"),us("0x42"),us("0x11"),(()=>!1)),e[us("0x5f")][us("0x5a")](us("0x4"),us("0x42"),"discard",(([n])=>{const r=e._suggestionFactory[us("0x25")]("insertion","",us("0x52"));let i=n.start,o=n[us("0x14")];const s=t[us("0x18")][us("0x7")][us("0x4d")](i,us("0x3c")),x=t[us("0x18")].schema[us("0x4d")](o,us("0x4c"));s.isCollapsed&&(i=s[us("0x56")]),x[us("0x19")]&&(o=x[us("0x14")]),r([t[us("0x18")].createRange(i,o)])})),e[us("0x5f")].registerCustomCallback("formatBlock",us("0x42"),us("0x55"),x),e[us("0x5f")][us("0x5a")](us("0x4"),us("0x42"),us("0x55"),x)),t.plugins[us("0x2c")]("ImageCaptionEditing")&&(e[us("0x29")](us("0x21"),((r,i)=>{const o=t[us("0x60")][us("0x8")](us("0x5d"));let s=n[us("0x46")](t.model[us("0x26")][us("0x24")]),x=o.getCaptionFromImageModelElement(s);t[us("0x18")][us("0x3")]((()=>{if(x)return void e[us("0x3a")](t.model[us("0x63")](x));const a=n[us("0x40")](s);r(i),s=n[us("0x46")](t[us("0x18")].document[us("0x24")]),x=o.getCaptionFromImageModelElement(s),e[us("0xb")](t.model[us("0x63")](x),a?null:"imageCaption")}))})),e._suggestionFactory[us("0x5a")](us("0x4"),us("0x1c"),us("0x55"),x));const i=[{type:us("0x2d"),subType:us("0x15")},{type:us("0x4"),subType:us("0x1c")},{type:us("0x2d"),subType:us("0x42")},{type:us("0x4"),subType:"convertInlineImageToBlock"}];function o(t,r){const o=i.findIndex((({type:e,subType:n})=>t[us("0x20")]==e&&t[us("0x1e")]==n)),s=i[us("0x1d")]((({type:t,subType:e})=>r.type==t&&r[us("0x1e")]==e));if(o<0||s<0)return!1;const x=t.getFirstRange(),a=r[us("0x3f")]();if((0==o||1==o)&&2==s&&x[us("0x48")](a))return!0;if(2==o&&3==s){const t=e[us("0x5e")](x,us("0x4"))[us("0x54")]((({suggestion:t,meta:e})=>e[us("0x12")]&&us("0x42")==t[us("0x1e")]));if(t[us("0x10")]>1&&a[us("0x14")][us("0x2")](x[us("0x56")]))return!0;if(1==t[us("0x10")]&&(x.start.isEqual(a[us("0x14")])||x.end[us("0x2")](a[us("0x56")])))return!0}if(3==o&&3==s&&x[us("0x56")].isBefore(a[us("0x56")])){const t=x[us("0x14")][us("0x36")],e=a.start[us("0x53")];return n.isBlockImage(t)&&t===e}return!1}function x(t,e){return o(t,e)?[t,e]:o(e,t)?[e,t]:null}t.plugins[us("0x2c")]("ImageResize")&&(e[us("0x49")]("resizeImage",[],[us("0x43")]),e._descriptionFactory.registerAttributeLabel(us("0x43"),Qr(r,"FORMAT_IMAGE_SIZE"))),t.plugins.has(us("0x4f"))&&e._enableDefaultAttributesIntegration(us("0xf"),[],["alt"]),e[us("0xe")][us("0x9")]((t=>{if(i[us("0xd")]((({type:e,subType:n})=>t.type==e&&t[us("0x1e")]==n)))return t[us("0x62")]?{}:void 0})),e[us("0xe")][us("0x9")]((t=>{if(us("0x4")==t.type||us("0x31")==t[us("0x20")]){const e=t[us("0xc")]();if(e&&e.is(us("0x0"),us("0x1b")))return{type:us("0x4")==t.type?us("0x30"):us("0x44"),element:e,quantity:1}}})),e._descriptionFactory[us("0x9")]((t=>us("0x2d")==t.type&&us("0x42")==t[us("0x1e")]?{type:us("0x28"),content:us("0x6")}:us("0x2d")==t[us("0x20")]&&us("0xa")==t[us("0x1e")]?{type:us("0x28"),content:us("0x38")}:void 0)),e[us("0xe")][us("0x9")]((t=>{if("attribute"!=t[us("0x20")])return;const{data:e}=t;if(!e||"alt"!=e[us("0x45")])return;const n=e[us("0x50")];return n?{type:"format",content:Qr(r,"*Set image text alternative:* %0",'"'+n+'"')}:{type:us("0x28"),content:Qr(r,us("0x2f"))}})),this[us("0x3d")]()}_registerLegacyDescription(){const t=this[us("0x41")],e=t[us("0x1")];t.plugins[us("0x8")](us("0x5b"))._descriptionFactory.registerDescriptionCallback((t=>{if(us("0x2d")!=t[us("0x20")]&&us("0x57")!=t[us("0x20")])return;const{data:n}=t;if(n){if(us("0xf")==n[us("0x1f")]){const t=n[us("0x51")][0].newValue;return t?{type:us("0x28"),content:Qr(e,us("0x39"),'"'+t+'"')}:{type:us("0x28"),content:Qr(e,"*Remove image text alternative*")}}if(us("0x4a")==n[us("0x1f")]){const t=n[us("0x51")][0][us("0x3e")];return t?{type:us("0x28"),content:Qr(e,us("0x27"),t)}:{type:us("0x28"),content:Qr(e,us("0x4b"))}}}}))}}const gs=["registerDescriptionCallback","key","formatBlock","formatInline","registerCustomCallback","*Replace image URL*","has","plugins","replaceImageSource","src","format","TrackChangesEditing","ImageEditing","getSuggestionCallback","accept","locale","editor","type","afterInit","attribute","_suggestionFactory","_handleLegacySuggestions","oldValue","get","_registerLegacyDescription","*Format:* replace image URL","_descriptionFactory"];var fs,hs;fs=gs,hs=289,function(t){for(;--t;)fs.push(fs.shift())}(++hs);const ms=function(t,e){return gs[t-=0]};class bs extends t.Plugin{[ms("0x1a")](){if(!this[ms("0x18")].plugins[ms("0xe")](ms("0x14")))return;const t=this.editor[ms("0x17")],e=this[ms("0x18")][ms("0xf")][ms("0x4")](ms("0x13"));e._enableDefaultAttributesIntegration("replaceImageSource",[],["src"]),e[ms("0x7")][ms("0x8")]((e=>{if(ms("0x0")!=e.type)return;const{data:n}=e;return n&&ms("0x11")==n[ms("0x9")]?n.newValue&&n[ms("0x3")]?{type:ms("0x12"),content:Qr(t,ms("0xd"))}:{type:ms("0x12"),content:""}:void 0})),this[ms("0x2")]()}_handleLegacySuggestions(){const t=this.editor.plugins[ms("0x4")](ms("0x13"));t[ms("0x1")][ms("0xc")]("formatBlock",ms("0x10"),ms("0x16"),t[ms("0x1")][ms("0x15")](ms("0xa"),null,"discard")),t[ms("0x1")][ms("0xc")](ms("0xa"),ms("0x10"),"discard",t[ms("0x1")][ms("0x15")](ms("0xa"),null,ms("0x16"))),this._registerLegacyDescription()}[ms("0x5")](){const t=this[ms("0x18")],e=t.locale;t[ms("0xf")][ms("0x4")](ms("0x13"))[ms("0x7")][ms("0x8")]((t=>{if("formatBlock"!=t[ms("0x19")]&&ms("0xb")!=t.type)return;const{data:n}=t;return n&&"replaceImageSource"==n.commandName?{type:ms("0x12"),content:Qr(e,ms("0x6"))}:void 0}))}}const ps=["plugins","createRangeOn","formatBlock","side","start","commandReversedParams","imageTypeBlock","_splitMarkerName","markInlineFormat","imageStyle","model","getContainedElement","markBlockFormat","commands","normalizedStyles","isEqual","commandParams","has","refresh","toLowerCase","change","isInContent","selection","hasSuggestion","forEach","formatInline","newRange","name","commandName","join","ImageStyleEditing","setImageNaturalSizeAttributes","imageStylePreApply","accept","convertInlineImageToBlock","isOwn","next","document","isBefore","head","imageCaption","_findSuggestions","getChangedMarkers","title","ImageUtils","getSuggestionCallback","author","subType","Users","registerCustomCallback","editor","getClosestSelectedImageElement","type","get","_suggestionFactory","_descriptionFactory","nodeBefore","getFirstRange","length","enableCommand","value","isInlineImage","FORMAT_SIDE_IMAGE","imageStylePostApply","_registerLegacyDescription","filter","discardSuggestion","TrackChangesEditing","shouldConvertImageType","insertion","getSuggestion","format","chain","end","imageTypeInline","findIndex","isBlockImage"];var Es,_s;Es=ps,_s=219,function(t){for(;--t;)Es.push(Es.shift())}(++_s);const Ts=function(t,e){return ps[t-=0]};class ys extends t.Plugin{afterInit(){const t=this.editor;if(!t[Ts("0xc")][Ts("0x1d")](Ts("0x2a")))return;const n=t.plugins[Ts("0x41")]("TrackChangesEditing"),r=t[Ts("0xc")][Ts("0x41")](Ts("0x38")),i={};n[Ts("0x47")](Ts("0x15"),((i,o)=>{const s=t[Ts("0xc")].get(Ts("0x3c")).me,x=t[Ts("0x19")][Ts("0x41")](Ts("0x15"));let a=r[Ts("0x3f")](t[Ts("0x16")].document[Ts("0x22")]),c=t[Ts("0x16")][Ts("0xd")](a),l=x[Ts("0x48")];if(l==o.value)return;const u={commandName:Ts("0x15"),commandParams:[o],formatGroupId:(0,e.uid)()};t[Ts("0x16")][Ts("0x20")]((()=>{if(n.getSuggestions()[Ts("0x0")]((t=>t[Ts("0x21")]&&s==t[Ts("0x3a")]&&(Ts("0xe")==t[Ts("0x40")]||Ts("0x25")==t.type)&&(Ts("0x2c")==t[Ts("0x3b")]||"imageStylePostApply"==t[Ts("0x3b")])&&t[Ts("0x45")]().isEqual(c)))[Ts("0x24")]((t=>n[Ts("0x1")](t[Ts("0x33")]))),a=r[Ts("0x3f")](t.model[Ts("0x31")][Ts("0x22")]),c=t.model.createRangeOn(a),x[Ts("0x1e")](),t.commands[Ts("0x41")](Ts("0x9"))[Ts("0x1e")](),t[Ts("0x19")][Ts("0x41")](Ts("0x12"))[Ts("0x1e")](),l=x[Ts("0x48")],l!=o[Ts("0x48")])return r[Ts("0x49")](a)&&x[Ts("0x3")](o[Ts("0x48")],a)?(i({...o,setImageSizes:!1}),a=r[Ts("0x3f")](t[Ts("0x16")].document.selection),void n[Ts("0x18")](a,{...u,commandReversedParams:[{value:l||null,setImageSizes:!1}]},[],"imageStylePreApply")):void(r[Ts("0xb")](a)?n[Ts("0x18")](a,u,[],Ts("0x4b")):n[Ts("0x14")](c,u,Ts("0x4b")))}))}));for(const e of t.plugins[Ts("0x41")](Ts("0x2a"))[Ts("0x1a")])i[e[Ts("0x27")]]=e[Ts("0x37")][Ts("0x1f")]();n[Ts("0x42")][Ts("0x3d")](Ts("0xe"),Ts("0x2c"),"join",(()=>!1)),n._suggestionFactory[Ts("0x3d")]("formatBlock",Ts("0x4b"),Ts("0x29"),(()=>!1)),n[Ts("0x42")][Ts("0x3d")](Ts("0x25"),Ts("0x4b"),Ts("0x29"),(()=>!1)),n._suggestionFactory[Ts("0x3d")](Ts("0xe"),"imageStylePreApply",Ts("0x2d"),(([t])=>{r[Ts("0x2b")](t[Ts("0x17")]())})),n._suggestionFactory[Ts("0x3d")]("formatBlock",Ts("0x2c"),"discard",((t,e)=>{n._suggestionFactory[Ts("0x39")](Ts("0xe"),"","accept")(t,{commandName:e[Ts("0x28")],commandParams:e[Ts("0x11")]})})),n[Ts("0x42")][Ts("0x3d")](Ts("0xe"),Ts("0x2c"),Ts("0x7"),(function(t,e){return s(t,e)?[t,e]:s(e,t)?[e,t]:null}));const o=[{type:Ts("0xe"),subType:Ts("0x2c")},{type:Ts("0x4"),subType:Ts("0x34")},{type:Ts("0xe"),subType:"convertInlineImageToBlock"},{type:Ts("0x4"),subType:"convertInlineImageToBlock"}];function s(t,e){const i=o[Ts("0xa")]((({type:e,subType:n})=>t[Ts("0x40")]==e&&t[Ts("0x3b")]==n)),s=o.findIndex((({type:t,subType:n})=>e[Ts("0x40")]==t&&e[Ts("0x3b")]==n));if(i<0||s<0)return!1;const x=t[Ts("0x45")](),a=e[Ts("0x45")]();if((0==i||1==i)&&2==s&&x.isIntersecting(a))return!0;if(2==i&&3==s){const t=n[Ts("0x35")](x,Ts("0x4"))[Ts("0x0")]((({suggestion:t,meta:e})=>e[Ts("0x2f")]&&Ts("0x2e")==t[Ts("0x3b")]));if(t[Ts("0x46")]>1&&a.end[Ts("0x1b")](x[Ts("0x10")]))return!0;if(1==t[Ts("0x46")]&&(x[Ts("0x10")][Ts("0x1b")](a[Ts("0x8")])||x.end[Ts("0x1b")](a[Ts("0x10")])))return!0}if(3==i&&3==s&&x[Ts("0x10")][Ts("0x32")](a[Ts("0x10")])){const t=x[Ts("0x8")].nodeAfter,e=a[Ts("0x10")][Ts("0x44")];return r.isBlockImage(t)&&t===e}return!1}t[Ts("0x16")][Ts("0x31")].registerPostFixer((()=>{let e=!1;const i=Array.from(t.model.document.differ[Ts("0x36")]());for(const{name:t,data:o}of i){const{group:i,type:s,subType:x,id:a}=n[Ts("0x13")](t);if("suggestion"==i&&n[Ts("0x23")](a)){if(Ts("0xe")==s&&(Ts("0x2c")==x||Ts("0x4b")==x)){const t=n[Ts("0x5")](a);if(o[Ts("0x26")]){const i=t[Ts("0x45")]()[Ts("0x17")]();if(r[Ts("0xb")](i))continue;n[Ts("0x1")](t),e=!0}}if("insertion"==s&&Ts("0x34")==x&&!o.newRange){const t=n[Ts("0x5")](a);t[Ts("0x30")]&&t[Ts("0x30")][Ts("0x21")]&&(n[Ts("0x1")](t[Ts("0x30")]),e=!0)}}}return e})),this[Ts("0x4c")](i)}[Ts("0x4c")](t){const e=this[Ts("0x3e")],n=e.locale;e[Ts("0xc")].get(Ts("0x2"))[Ts("0x43")].registerDescriptionCallback((e=>{if(Ts("0xe")!=e[Ts("0x40")]&&"formatInline"!=e.type)return;const{data:r}=e;if(!r||Ts("0x15")!=r.commandName)return;const i=r[Ts("0x1c")][0][Ts("0x48")];return o=Ts("0xf")===i?Qr(n,Ts("0x4a")):t[i]||i,{type:Ts("0x6"),content:Qr(n,"*Format:* %0",o)};var o}))}}const Cs=["bind","high","get","TrackChangesEditing","importWord","_trackChangesValueDuringImport","commands","execute","plugins","listenTo","Users","dataInsert","enableCommand","trackChanges","_handleImportedData","editor","_trackChangesExecuted","lowest","track_changes","value"];var As,ks;As=Cs,ks=275,function(t){for(;--t;)As.push(As.shift())}(++ks);const Is=function(t,e){return Cs[t-=0]};class Rs extends t.Plugin{constructor(t){super(t),this._trackChangesValueDuringImport=!1,this._trackChangesExecuted=!1}afterInit(){const t=this[Is("0x0")],e=t[Is("0xb")][Is("0x7")](Is("0x9")),n=t.commands[Is("0x7")](Is("0x12"));e&&(e.on(Is("0xc"),((t,[,e])=>{this._trackChangesValueDuringImport=n[Is("0x4")],e.collaboration_features[Is("0x3")]=!this[Is("0xa")]}),{priority:Is("0x6")}),this[Is("0xe")](e,Is("0x10"),this[Is("0x13")][Is("0x5")](this)),this.listenTo(e,Is("0x10"),(()=>{this[Is("0x1")]&&(n[Is("0xc")](),this[Is("0x1")]=!1)}),{priority:Is("0x2")}),t[Is("0xd")].get(Is("0x8"))[Is("0x11")](Is("0x9")))}[Is("0x13")](t,e){const{suggestions:n}=e,r=this[Is("0x0")][Is("0xb")].get(Is("0x12")),i=r[Is("0x4")];this[Is("0xa")]!==i&&(r[Is("0xc")](),this._trackChangesExecuted=!0),n&&n.forEach((({id:t,type:e,author:n,created_at:r})=>{const i={id:t,type:e,authorId:this.editor[Is("0xd")][Is("0x7")](Is("0xf")).me.id,createdAt:new Date,data:null,hasComments:!1,attributes:{"@external":{authorName:n,createdAt:r?new Date(r):new Date,source:Is("0x9")}}};this[Is("0x0")][Is("0xd")][Is("0x7")](Is("0x8"))._setSuggestionData(i)}))}}const Ss=["_enableDefaultAttributesIntegration","_descriptionFactory","blockIndent","*Outdent:* %0","editor","IndentEditing","format","TrackChangesEditing","commandName","formatBlock","IndentBlock","_registerBlockAttribute","plugins","indent","get","registerDescriptionCallback","*Indent:* %0","_registerLegacyDescription","locale","outdent","outdentBlock","indentBlock","afterInit","registerAttributeLabel","FORMAT_INDENT","enableCommand","has"];var vs,Ns;vs=Ss,Ns=132,function(t){for(;--t;)vs.push(vs.shift())}(++Ns);const Ls=function(t,e){return Ss[t-=0]};class Ms extends t.Plugin{[Ls("0x19")](){const t=this[Ls("0x7")],e=t.plugins[Ls("0x11")](Ls("0xa"));if(t[Ls("0xf")].has(Ls("0x8"))&&(e[Ls("0x1")](Ls("0x10")),e[Ls("0x1")](Ls("0x16"))),t[Ls("0xf")][Ls("0x2")](Ls("0xd")))for(const t of[Ls("0x18"),"outdentBlock"])e[Ls("0x3")](t);const n=t[Ls("0x15")];e[Ls("0xe")](Ls("0x5")),e._descriptionFactory[Ls("0x1a")](Ls("0x5"),Qr(n,Ls("0x0"))),this._registerLegacyDescription()}[Ls("0x14")](){const t=this[Ls("0x7")],e=t[Ls("0x15")],n=t[Ls("0xf")][Ls("0x11")](Ls("0xa"));n[Ls("0x4")][Ls("0x12")]((t=>{if(Ls("0xc")!=t.type)return;const{data:r}=t;if(!r)return;if(Ls("0x18")!=r[Ls("0xb")]&&"outdentBlock"!=r[Ls("0xb")])return;const i=t.getItems()[0],o=n._descriptionFactory.getItemLabel(i);return Ls("0x18")==r.commandName?{type:Ls("0x9"),content:Qr(e,Ls("0x13"),o)}:Ls("0x17")==r[Ls("0xb")]?{type:Ls("0x9"),content:Qr(e,Ls("0x6"),o)}:void 0}))}}var ws,Os,Fs=["enableCommand","TrackChangesEditing","requires","init","get"];ws=Fs,Os=120,function(t){for(;--t;)ws.push(ws.shift())}(++Os);var Ds=function(t,e){return Fs[t-=0]};class Ps extends t.Plugin{static get[Ds("0x2")](){return[qi.Input]}[Ds("0x3")](){this.editor.plugins[Ds("0x4")](Ds("0x1"))[Ds("0x0")]("input")}}const Bs=["afterInit","commandParams","*Remove link*","toLowerCase","_enableDefaultAttributesIntegration","*Set link:* %0","_descriptionFactory","attribute","commands","LinkEditing","manualDecorators","unlink","format","has","editor","label","registerDescriptionCallback","newValue","formatInline","locale","commandName","_registerLegacyDescription","link","get","linkHref","plugins","type"];var Us,js;Us=Bs,js=126,function(t){for(;--t;)Us.push(Us.shift())}(++js);const Gs=function(t,e){return Bs[t-=0]};class Vs extends t.Plugin{[Gs("0x9")](){const t=this[Gs("0x17")];if(!t[Gs("0x7")][Gs("0x16")](Gs("0x12")))return;const e=t[Gs("0x7")][Gs("0x5")]("TrackChangesEditing"),n=t[Gs("0x11")][Gs("0x5")]("link");e[Gs("0xd")](Gs("0x4"),[Gs("0x6"),...n[Gs("0x13")].map((t=>t.id))]),e[Gs("0xd")](Gs("0x14"));for(const t of n[Gs("0x13")])e[Gs("0xf")].registerAttributeLabel(t.id,"link ("+t[Gs("0x18")][Gs("0xc")]()+")");e[Gs("0xf")][Gs("0x19")]((e=>{if(Gs("0x10")!=e[Gs("0x8")])return;const{data:n}=e;if(!n||Gs("0x6")!=n.key)return;const r=n[Gs("0x1a")],i=t[Gs("0x1")];return{type:Gs("0x15"),content:null==r?Qr(i,"*Remove link*"):Qr(i,"*Set link:* %0",'"'+r+'"')}})),this[Gs("0x3")]()}_registerLegacyDescription(){const t=this[Gs("0x17")],e=t[Gs("0x1")];t[Gs("0x7")].get("TrackChangesEditing")[Gs("0xf")][Gs("0x19")]((t=>{if(Gs("0x0")!=t.type)return;const{data:n}=t;if(n){if("link"==n[Gs("0x2")]){const t=n[Gs("0xa")][0];return{type:Gs("0x15"),content:Qr(e,Gs("0xe"),'"'+t+'"')}}return Gs("0x14")==n[Gs("0x2")]?{type:Gs("0x15"),content:Qr(e,Gs("0xb"))}:void 0}}))}}const Hs=["*Change to:* %0","enableCommand","format","get","ELEMENT_LIST_ITEM","numbered","type","registerElementLabel","before","slice","plugins","filter","name","from","markBlockFormat","todoListChecked","forceValue","LegacyTodoListEditing","_selectedElements","bulleted","ELEMENT_NUMBERED_LIST","add","indentList","*Indent:* %0","_descriptionFactory","model","listIndent","commandParams","bulletedList","registerDescriptionCallback","getSelectedBlocks","previousSibling","selection","getAttribute","listType","checkChild","findIndex","value","numberedList","has","*Uncheck item*","outdentList","commandName","createPositionAt","locale","todo","TrackChangesEditing","schema","nextSibling","List","isObject","element","afterInit","commands","end","*Outdent:* %0","todoList","listItem","paragraph","*Check item*","change","checkTodoList"];var zs,Ws;zs=Hs,Ws=398,function(t){for(;--t;)zs.push(zs.shift())}(++Ws);const Ks=function(t,e){return Hs[t-=0]};class qs extends t.Plugin{[Ks("0x1a")](){const t=this.editor,e=t[Ks("0x12")];if(!t[Ks("0x2e")][Ks("0xd")]("LegacyListEditing"))return;const n=t.plugins.get(Ks("0x14")),r=t[Ks("0x2e")][Ks("0xd")](Ks("0x35"));function i(e){return()=>{const r=t[Ks("0x3d")].document[Ks("0x6")],i=t[Ks("0x1b")][Ks("0x27")](e);if(i[Ks("0xb")])return void t.execute(Ks("0x20"),{});const o=e[Ks("0x2d")](0,-4),s=function(t,e,n){let r=Array.from(t)[Ks("0x2f")]((t=>{return e=t,(r=n)[Ks("0x9")](e.parent,Ks("0x1f"))&&!r[Ks("0x18")](e);var e,r}));r=r[Ks("0x2f")]((t=>!t.is(Ks("0x19"),Ks("0x1f"))||t[Ks("0x7")](Ks("0x8"))!=e));const i=new Set;for(const t of r)t.is("element",Ks("0x1f"))?i[Ks("0x39")](Xs(t)):i[Ks("0x39")](t);return Array[Ks("0x31")](i)}(r[Ks("0x4")](),o,t[Ks("0x3d")][Ks("0x15")]);t[Ks("0x3d")][Ks("0x22")]((()=>{for(const t of s)n.markBlockFormat(t,{commandName:e,commandParams:[{forceValue:!i[Ks("0xb")]}],formatGroupId:"blockName"},$s(t))}))}}function o(e){return()=>{const r=function(t){let e=Array[Ks("0x31")](t);const n=e[Ks("0xa")]((t=>Ks("0x1f")!=t[Ks("0x30")]));return n>-1&&(e=e[Ks("0x2d")](0,n)),e}(t[Ks("0x3d")].document[Ks("0x6")][Ks("0x4")]()),i=t[Ks("0x3d")].createRange(t[Ks("0x3d")][Ks("0x11")](r[0],Ks("0x2c")),t[Ks("0x3d")][Ks("0x11")](r[r.length-1],Ks("0x1c")));t[Ks("0x3d")][Ks("0x22")]((()=>{n[Ks("0x32")](i,{commandName:e,commandParams:[],formatGroupId:Ks("0x0")},function(t){const e=new Set;for(const n of t){let t=n.nextSibling;for(;t&&t[Ks("0x7")](Ks("0x0"))>n.getAttribute(Ks("0x0"));)e[Ks("0x39")](t),t=t[Ks("0x16")]}return Array[Ks("0x31")](e)}(r))}))}}n.enableCommand("numberedList",i(Ks("0xc"))),n[Ks("0x25")](Ks("0x2"),i(Ks("0x2"))),r&&n.enableCommand(Ks("0x1e"),i(Ks("0x1e"))),n[Ks("0x25")](Ks("0x3a"),o("indentList")),n[Ks("0x25")](Ks("0xf"),o(Ks("0xf"))),r&&n[Ks("0x25")](Ks("0x23"),(()=>{const e=t[Ks("0x1b")][Ks("0x27")](Ks("0x23")),r=Array[Ks("0x31")](e[Ks("0x36")]);r[Ks("0x2f")]((t=>t[Ks("0x7")](Ks("0x33"))!=e.value)),t.model[Ks("0x22")]((()=>{for(const t of r)n[Ks("0x32")](t,{commandName:"checkTodoList",commandParams:[{forceValue:!e[Ks("0xb")]}]})}))})),n[Ks("0x3c")][Ks("0x2b")](Ks("0x1f"),(t=>Qr(e,"ELEMENT_LIST_ITEM",t))),n[Ks("0x3c")][Ks("0x3")]((t=>{if("formatBlock"!=t[Ks("0x2a")]&&"formatInline"!=t[Ks("0x2a")])return;const{data:n}=t;if(n){if(Ks("0xc")==n[Ks("0x10")]||Ks("0x2")==n[Ks("0x10")]||"todoList"==n.commandName)switch(n[Ks("0x10")].replace(Ks("0x17"),"")){case Ks("0x37"):return r(Qr(e,"ELEMENT_BULLETED_LIST"));case Ks("0x29"):return r(Qr(e,Ks("0x38")));case Ks("0x13"):return r(Qr(e,"ELEMENT_TODO_LIST"))}if(Ks("0x3a")==n[Ks("0x10")])return{type:Ks("0x26"),content:Qr(e,Ks("0x3b"),Qr(e,Ks("0x28")))};if(Ks("0xf")==n.commandName)return{type:Ks("0x26"),content:Qr(e,Ks("0x1d"),Qr(e,Ks("0x28")))};if(Ks("0x23")==n.commandName)return n[Ks("0x1")][0][Ks("0x34")]?{type:Ks("0x26"),content:Qr(e,Ks("0x21"))}:{type:Ks("0x26"),content:Qr(e,Ks("0xe"))}}function r(t){return{type:Ks("0x26"),content:Qr(e,Ks("0x24"),t)}}}))}}function Xs(t){const e=t[Ks("0x7")](Ks("0x0"));if(0==e)return t;let n=t;for(;t.previousSibling&&t.previousSibling.is(Ks("0x19"),Ks("0x1f"));){const r=t[Ks("0x5")][Ks("0x7")](Ks("0x0"));if(r==e)n=t.previousSibling;else if(r<e)break;t=t[Ks("0x5")]}return n}function $s(t){const e=[];if(t.is(Ks("0x19"),Ks("0x1f"))&&t.getAttribute("listIndent")>0){let n=t.nextSibling;for(;n&&Ks("0x1f")==n.name&&n[Ks("0x7")]("listIndent")==t.getAttribute(Ks("0x0"));)e.push(n),n=n[Ks("0x16")]}return e}const Zs=["_descriptionFactory","get","afterInit","editor","handleDescriptions","startIndex","reversed","listStart","document","getAttribute","*Format:* set start index to %0","getFirstPosition","listItem","push","format","numbered","backward","_getSuggestionBlocks","handleListReversedCommand","ELEMENT_","registerDescriptionCallback","handleListStartCommand","listReversed","element","map","handleListStyleCommand","locale","getSelectedBlocks","markMultiRangeBlockFormat","LegacyListPropertiesEditing","LegacyListUtils","getSiblingNodes","type","*Format:* set order to regular","createPositionAt","*Format:* set order to reversed","selection","commandParams","change","flat","formatBlock","TrackChangesEditing","length","commandName","_LIST_","plugins","createRange","filter","listType","model","formatInline","unshift","config","_getSuggestionBlocksForListStyle","before","forward","listStyle","toUpperCase","_getTranslationKeyForListStyle","enableCommand","bind"];var Ys,Qs;Ys=Zs,Qs=266,function(t){for(;--t;)Ys.push(Ys.shift())}(++Qs);const Js=function(t,e){return Zs[t-=0]};class tx extends t.Plugin{[Js("0x29")](){if(!this[Js("0x2a")][Js("0x17")].has(Js("0x7")))return;const t=this[Js("0x2a")][Js("0x1e")].get("list.properties"),e=this[Js("0x2a")][Js("0x17")][Js("0x28")](Js("0x13"));t.styles&&e[Js("0x25")](Js("0x22"),this[Js("0x3")][Js("0x26")](this)),t[Js("0x2d")]&&e[Js("0x25")](Js("0x0"),this[Js("0x39")][Js("0x26")](this)),t[Js("0x2c")]&&e[Js("0x25")](Js("0x2e"),this[Js("0x3c")].bind(this)),e[Js("0x27")][Js("0x3b")](this[Js("0x2b")].bind(this))}[Js("0x3")](t,e={}){const n=this.editor.plugins[Js("0x28")](Js("0x13")),r=this._getSuggestionBlocksForListStyle();this[Js("0x2a")].model.change((()=>{n[Js("0x6")](r,{commandName:Js("0x22"),commandParams:[{type:e.type}],formatGroupId:Js("0x22")})}))}[Js("0x39")](t,e={}){const n=this[Js("0x2a")].plugins[Js("0x28")](Js("0x13")),r=this[Js("0x38")]((t=>t.is(Js("0x1"),Js("0x33"))&&Js("0x36")===t[Js("0x30")](Js("0x1a"))));if(r.length<1)return;const i=r[Js("0x2")]((t=>this[Js("0x2a")].model[Js("0x18")](this[Js("0x2a")][Js("0x1b")].createPositionAt(t,Js("0x20")),this.editor[Js("0x1b")][Js("0xc")](t,0))));this[Js("0x2a")][Js("0x1b")].change((()=>{n.markMultiRangeBlockFormat(i,{commandName:Js("0x0"),commandParams:[{reversed:e[Js("0x2d")]}],formatGroupId:"listReversed"})}))}handleListStartCommand(t,e={}){const n=this.editor.plugins[Js("0x28")](Js("0x13")),r=this[Js("0x38")]((t=>t.is(Js("0x1"),Js("0x33"))&&Js("0x36")===t[Js("0x30")](Js("0x1a"))));if(r.length<1)return;const i=r.map((t=>this.editor[Js("0x1b")].createRange(this[Js("0x2a")].model[Js("0xc")](t,Js("0x20")),this[Js("0x2a")][Js("0x1b")][Js("0xc")](t,0))));this[Js("0x2a")][Js("0x1b")][Js("0x10")]((()=>{n[Js("0x6")](i,{commandName:Js("0x2e"),commandParams:[{startIndex:e[Js("0x2c")]}],formatGroupId:"listStart"})}))}[Js("0x2b")](t){if(Js("0x12")!=t[Js("0xa")]&&Js("0x1c")!=t.type)return;const e=this[Js("0x2a")][Js("0x4")],{data:n}=t;if(!n)return;let r,i;switch(n[Js("0x15")]){case"listStyle":r="*Change to:* %0",i={type:"format",content:Qr(e,r,Qr(e,this._getTranslationKeyForListStyle(n[Js("0xf")][0][Js("0xa")])))};break;case Js("0x0"):r=n[Js("0xf")][0].reversed?Js("0xd"):Js("0xb"),i={type:Js("0x35"),content:Qr(e,r)};break;case Js("0x2e"):r=Js("0x31"),i={type:"format",content:Qr(e,r,n[Js("0xf")][0][Js("0x2c")])}}return i}[Js("0x1f")](){var t,e,n,r;const i=this.editor[Js("0x17")][Js("0x28")]("LegacyListUtils");let o=Array.from(this.editor[Js("0x1b")].document[Js("0xe")][Js("0x5")]());return(null===(t=o[0])||void 0===t?void 0:t.is(Js("0x1"),"listItem"))&&o[Js("0x1d")](...i[Js("0x9")](this[Js("0x2a")][Js("0x1b")][Js("0x2f")][Js("0xe")].getFirstPosition(),Js("0x37"))),(null===(e=o[o[Js("0x14")]-1])||void 0===e?void 0:e.is(Js("0x1"),Js("0x33")))&&o[Js("0x34")](...i[Js("0x9")](this[Js("0x2a")][Js("0x1b")][Js("0x2f")][Js("0xe")].getLastPosition(),Js("0x21"))),o=[...new Set(o)],(null===(r=null===(n=this[Js("0x2a")][Js("0x1b")].document[Js("0xe")][Js("0x32")]())||void 0===n?void 0:n.parent)||void 0===r?void 0:r.is(Js("0x1"),Js("0x33")))&&(o=o.filter((t=>t.is(Js("0x1"),Js("0x33"))))),o}[Js("0x38")](t){const e=this.editor[Js("0x17")].get(Js("0x8"));let n=Array.from(this[Js("0x2a")][Js("0x1b")].document[Js("0xe")][Js("0x5")]())[Js("0x19")](t)[Js("0x2")]((t=>{const n=this[Js("0x2a")][Js("0x1b")].createPositionAt(t,0);return[...e.getSiblingNodes(n,"backward"),...e[Js("0x9")](n,"forward")]}))[Js("0x11")]();return n=[...new Set(n)],n}[Js("0x24")](t){return Js("0x3a")+this[Js("0x2a")][Js("0x17")][Js("0x28")](Js("0x8")).getListTypeFromListStyleType(t).toUpperCase()+Js("0x16")+t[Js("0x23")]().replace(/-/g,"_")}}const ex=["has","MediaEmbedEditing","plugins","mediaEmbed","get","createEmptyElement","afterInit","media","data","TrackChangesEditing","_descriptionFactory","high","ELEMENT_MEDIA","editor","showSuggestionHighlights","downcastDispatcher","locale","conversion"];var nx,rx;nx=ex,rx=474,function(t){for(;--t;)nx.push(nx.shift())}(++rx);const ix=function(t,e){return ex[t-=0]};class ox extends t.Plugin{[ix("0x0")](){const t=this[ix("0x7")];if(!t[ix("0xe")][ix("0xc")](ix("0xd")))return;const e=t[ix("0xe")][ix("0x10")](ix("0x3")),n=t[ix("0xa")];e.enableCommand(ix("0xf")),e[ix("0x4")].registerElementLabel(ix("0x1"),(t=>Qr(n,ix("0x6"),t))),t[ix("0xb")].for("dataDowncast").elementToElement({model:"media",view:(t,{writer:e,options:n})=>{if(n[ix("0x8")])return e[ix("0x11")]("div")},converterPriority:"high"}),t[ix("0x2")][ix("0x9")].on("attribute:url:media",((t,e,n)=>{n.options[ix("0x8")]&&t.stop()}),{priority:ix("0x5")})}}const sx=["get","has","MentionEditing","mention","enableCommand","editor","afterInit"];var xx,ax;xx=sx,ax=350,function(t){for(;--t;)xx.push(xx.shift())}(++ax);const cx=function(t,e){return sx[t-=0]};class lx extends t.Plugin{[cx("0x6")](){const t=this[cx("0x5")];t.plugins[cx("0x1")](cx("0x2"))&&t.plugins[cx("0x0")]("TrackChangesEditing")[cx("0x4")](cx("0x3"))}}const ux=["enableCommand","has","ELEMENT_PAGE_BREAK","afterInit","editor","pageBreak","registerElementLabel","PageBreakEditing","TrackChangesEditing","_descriptionFactory","plugins","get","locale"];var dx,gx;dx=ux,gx=114,function(t){for(;--t;)dx.push(dx.shift())}(++gx);const fx=function(t,e){return ux[t-=0]};class hx extends t.Plugin{[fx("0x6")](){const t=this[fx("0x7")];if(!t[fx("0x0")][fx("0x4")](fx("0xa")))return;t.plugins[fx("0x1")](fx("0xb"))[fx("0x3")](fx("0x8"));const e=t[fx("0x0")][fx("0x1")]("TrackChangesEditing"),n=t[fx("0x2")];e[fx("0xc")][fx("0x9")](fx("0x8"),(t=>Qr(n,fx("0x5"),t)))}}const mx=["enableCommand","TrackChangesEditing","activeMarkers","commandName","isBlock","formatBlock","registerElementLabel","addClass","end","get","insertParagraph","highest","span","insert","checkChild","_descriptionFactory","registerDescriptionCallback","showSuggestionHighlights","downcastDispatcher","markerRange","format","markerName","*Insert:* %0","data","has","toViewPosition","nodeAfter","type","bindElementToMarker","_registerLegacyDescription","mapper","*Change to:* %0","isTouching","ELEMENT_PARAGRAPH","isLimit","start","model","schema","plugins","editor","$text","_enableDefaultAttributesIntegration","getItemLabel","writer","Paragraph","afterInit","addMarker:suggestion:insertion","ck-suggestion-marker--active","paragraph","includes","editing"];var bx,px;bx=mx,px=431,function(t){for(;--t;)bx.push(bx.shift())}(++px);const Ex=function(t,e){return mx[t-=0]};class _x extends t.Plugin{[Ex("0x16")](){const t=this.editor;if(!t.plugins[Ex("0x1")](Ex("0x15")))return;const e=t.locale,n=t[Ex("0xf")].get(Ex("0x1d"));n[Ex("0x2b")][Ex("0x22")](Ex("0x19"),(t=>Qr(e,Ex("0xa"),t))),n[Ex("0x12")](Ex("0x19")),n[Ex("0x1c")](Ex("0x26")),t[Ex("0x1b")][Ex("0x2e")].on("addMarker:suggestion:insertion",Tx(t),{priority:Ex("0x27")}),t[Ex("0x0")][Ex("0x2e")].on(Ex("0x17"),((e,n,r)=>{r.options[Ex("0x2d")]&&Tx(t,{showActiveMarker:!1})(e,n,r)}),{priority:Ex("0x27")});const r=n[Ex("0x2b")];r[Ex("0x2c")]((n=>{if("insertion"!==n[Ex("0x4")])return;const{start:i,end:o}=n.getFirstRange();if(!i[Ex("0x9")](o)||!i[Ex("0x3")])return;const s=t[Ex("0xd")].schema,x=i[Ex("0x3")];return s[Ex("0x20")](x)&&!s[Ex("0xb")](x)&&s[Ex("0x2a")](x,Ex("0x11"))?{type:"insertion",content:Qr(e,Ex("0x32"),r[Ex("0x13")](x,1))}:void 0})),this[Ex("0x6")]()}[Ex("0x6")](){const t=this[Ex("0x10")],e=t.locale;t.plugins.get(Ex("0x1d"))._descriptionFactory[Ex("0x2c")]((t=>{if(Ex("0x21")!=t[Ex("0x4")])return;const{data:n}=t;return n&&"paragraph"==n[Ex("0x1f")]?{type:Ex("0x30"),content:Qr(e,Ex("0x8"),Qr(e,Ex("0xa")))}:void 0}))}}function Tx(t,{showActiveMarker:e=!0}={}){return(n,r,i)=>{const o=t.plugins[Ex("0x25")](Ex("0x1d")),s=r[Ex("0x2f")][Ex("0xc")],x=r[Ex("0x2f")][Ex("0x24")],a=t[Ex("0xd")][Ex("0xe")];if(!s[Ex("0x9")](x)||!s[Ex("0x3")])return;const c=s[Ex("0x3")];if(a[Ex("0x20")](c)&&!a[Ex("0xb")](c)&&a[Ex("0x2a")](c,Ex("0x11"))){if(!i.consumable.consume(r.markerRange,n.name))return;const t=i[Ex("0x14")].createUIElement(Ex("0x28"),{class:"ck-suggestion-marker-split"}),s=i[Ex("0x7")][Ex("0x2")](x);e&&o[Ex("0x1e")][Ex("0x1a")](r[Ex("0x31")])&&i[Ex("0x14")][Ex("0x23")](Ex("0x18"),t),i[Ex("0x14")][Ex("0x29")](s,t),i.mapper[Ex("0x5")](t,r.markerName)}}}const yx=["plugins","_enableDefaultAttributesIntegration","type","editor","formatBlock","afterInit","formatInline","get","TrackChangesEditing","locale","commandName","has","RemoveFormatEditing","_registerLegacyDescription","removeFormat","_descriptionFactory"];var Cx,Ax;Cx=yx,Ax=370,function(t){for(;--t;)Cx.push(Cx.shift())}(++Ax);const kx=function(t,e){return yx[t-=0]};class Ix extends t.Plugin{[kx("0x3")](){const t=this[kx("0x1")];t[kx("0xe")][kx("0x9")](kx("0xa"))&&(t[kx("0xe")][kx("0x5")]("TrackChangesEditing")[kx("0xf")](kx("0xc")),this[kx("0xb")]())}[kx("0xb")](){const t=this.editor;t.plugins[kx("0x5")](kx("0x6"))[kx("0xd")].registerDescriptionCallback((e=>{if(kx("0x2")!=e.type&&kx("0x4")!=e[kx("0x0")])return;const{data:n}=e;return n&&kx("0xc")==n[kx("0x8")]?{type:"format",content:Qr(t[kx("0x7")],"*Remove all formatting*")}:void 0}))}}const Rx=["afterInit","plugins","RestrictedEditingModeEditing","acceptSuggestion","discardAllSuggestions","acceptSelectedSuggestions","discardSelectedSuggestions","TrackChangesEditing","discardSuggestion","enableCommand","get","has","goToPreviousRestrictedEditingException","acceptAllSuggestions","trackChanges"];var Sx,vx;Sx=Rx,vx=247,function(t){for(;--t;)Sx.push(Sx.shift())}(++vx);const Nx=function(t,e){return Rx[t-=0]};class Lx extends t.Plugin{[Nx("0x8")](){const t=this.editor;if(!t[Nx("0x9")][Nx("0x4")](Nx("0xa")))return;const e=t[Nx("0x9")][Nx("0x3")](Nx("0x0"));e.enableCommand(Nx("0x5")),e[Nx("0x2")]("goToNextRestrictedEditingException");const n=t[Nx("0x9")][Nx("0x3")](Nx("0xa"));n[Nx("0x2")](Nx("0x7")),n[Nx("0x2")](Nx("0xb")),n[Nx("0x2")](Nx("0x1")),n[Nx("0x2")](Nx("0x6")),n[Nx("0x2")](Nx("0xc")),n[Nx("0x2")](Nx("0xd")),n[Nx("0x2")](Nx("0xe"))}}const Mx=["includes","addClass","registerElementLabel","addMarker:suggestion","writer","ck-suggestion-marker-","model","element","showSuggestionHighlights","softBreak","TrackChangesEditing","requires","editing","downcastDispatcher","markerRange","addMarker:suggestion:deletion","ELEMENT_LINE_BREAK","createUIElement","merge","name","consumable","high","test","init","plugins","span","activeMarkers","get","editor","insert","addMarker:suggestion:insertion","data","markerName","options","bindElementToMarker","shiftEnter","split","deletion"];var wx,Ox;wx=Mx,Ox=234,function(t){for(;--t;)wx.push(wx.shift())}(++Ox);const Fx=function(t,e){return Mx[t-=0]};class Dx extends t.Plugin{static get[Fx("0x5")](){return[Eo.ShiftEnter]}[Fx("0x11")](){const t=this[Fx("0x16")],e=t.plugins[Fx("0x15")]("TrackChangesEditing");e.enableCommand(Fx("0x1d")),t[Fx("0x6")][Fx("0x7")].on(Fx("0x18"),Px(t),{priority:"high"}),t[Fx("0x6")][Fx("0x7")].on(Fx("0x9"),Px(t),{priority:Fx("0xf")}),t[Fx("0x19")][Fx("0x7")].on(Fx("0x23"),((e,n,r)=>{r[Fx("0x1b")][Fx("0x2")]&&Px(t,{showActiveMarker:!1})(e,n,r)})),e._descriptionFactory[Fx("0x22")](Fx("0x3"),(e=>Qr(t.locale,Fx("0xa"),e)))}}function Px(t,{showActiveMarker:e=!0}={}){return(n,r,i)=>{const o=t[Fx("0x12")].get(Fx("0x4"));if(!i[Fx("0xe")][Fx("0x10")](r[Fx("0x8")],n[Fx("0xd")]))return;const s=t[Fx("0x0")];for(const t of r.markerRange.getItems()){if(!t.is(Fx("0x1"),"softBreak"))continue;const n=Fx("0x1f")==r[Fx("0x1a")][Fx("0x1e")](":")[1]?Fx("0xc"):"split",x=i[Fx("0x24")][Fx("0xb")](Fx("0x13"),{class:Fx("0x25")+n}),a=i.mapper.toViewPosition(s.createPositionBefore(t));e&&o[Fx("0x14")][Fx("0x20")](r[Fx("0x1a")])&&i.writer[Fx("0x21")]("ck-suggestion-marker--active",x),i[Fx("0x24")][Fx("0x17")](a,x),i.mapper[Fx("0x1c")](x,r[Fx("0x1a")])}}}const Bx=["get","model","FORMAT_RESTRICTED_DISABLED","has","TrackChangesEditing","change","isCollapsed","commandName","selection","from","commands","plugins","enableCommand","forceValue","StandardEditingModeEditing","afterInit","value","formatInline","registerDescriptionCallback","formatBlock","editor","commandParams","document"];var Ux,jx;Ux=Bx,jx=242,function(t){for(;--t;)Ux.push(Ux.shift())}(++jx);const Gx=function(t,e){return Bx[t-=0]};class Vx extends t.Plugin{[Gx("0x3")](){const t=this[Gx("0x8")],e=t[Gx("0xc")],n=t.locale;if(!t[Gx("0x16")][Gx("0xe")](Gx("0x2")))return;const r=t[Gx("0x16")][Gx("0xb")](Gx("0xf")),i="restrictedEditingException",o=t[Gx("0x15")][Gx("0xb")](i);r[Gx("0x0")](i,((t,n={})=>{const s=e[Gx("0xa")][Gx("0x13")];if(s[Gx("0x11")])return void t(n);const x=void 0!==n[Gx("0x1")]?n[Gx("0x1")]:!o[Gx("0x4")];e[Gx("0x10")]((()=>{const t=Array[Gx("0x14")](s.getRanges());for(const n of t){const t=x?[n]:Qi(i,n,e);for(const e of t)r.markInlineFormat(e,{commandName:i,commandParams:[{forceValue:x}]})}}))})),r._descriptionFactory[Gx("0x6")]((t=>{if(Gx("0x7")!=t.type&&Gx("0x5")!=t.type)return;const{data:e}=t;return e&&e[Gx("0x12")]==i?e[Gx("0x9")][0][Gx("0x1")]?{type:"format",content:Qr(n,"FORMAT_RESTRICTED_ENABLED")}:{type:"format",content:Qr(n,Gx("0xd"))}:void 0}))}}const Hx=["editor","DataSchema","locale","config","forceValue","TrackChangesEditing","inline","GeneralHtmlSupport","_descriptionFactory","format","has","FORMAT_STYLE","ghsAttributes","style","registerDescriptionCallback","styleName","_registerBlockAttribute","commandParams","normalizeConfig","definitions","getGhsAttributeNameForElement","_registerLegacyDescription","registerAttributeLabel","type","plugins","*Set format:* %0","Style","get","toLowerCase","afterInit","add","_registerInlineAttribute","block","formatInline","*Remove format:* %0"];var zx,Wx;zx=Hx,Wx=116,function(t){for(;--t;)zx.push(zx.shift())}(++Wx);const Kx=function(t,e){return Hx[t-=0]};class qx extends t.Plugin{[Kx("0x12")](){const t=this[Kx("0x18")];if(!t[Kx("0xd")][Kx("0x22")](Kx("0xf"))||!t[Kx("0xd")].has(Kx("0x19")))return;const e=t[Kx("0xd")][Kx("0x10")]("TrackChangesEditing"),n=t.locale,r=t[Kx("0x1b")][Kx("0x10")](Kx("0x2"))||{},i=t.plugins[Kx("0x10")](Kx("0x1f")),o=t[Kx("0xd")][Kx("0x10")]("StyleUtils")[Kx("0x7")](t[Kx("0xd")].get(Kx("0x19")),r[Kx("0x8")]);e._enableDefaultAttributesIntegration(Kx("0x2"));const s=new Set;for(const t of o[Kx("0x15")]){const e=i[Kx("0x9")](t.element);s[Kx("0x13")](e)}const x=new Set;for(const t of o[Kx("0x1e")]){const e=i[Kx("0x9")](t.element);x[Kx("0x13")](e);for(const e of t[Kx("0x1")])x[Kx("0x13")](e)}for(const t of s)e[Kx("0x5")](t),e[Kx("0x20")][Kx("0xb")](t,Qr(n,"FORMAT_STYLE"));for(const t of x)e[Kx("0x14")](t),e[Kx("0x20")][Kx("0xb")](t,Qr(n,Kx("0x0")));this[Kx("0xa")]()}[Kx("0xa")](){const t=this[Kx("0x18")],e=t[Kx("0x1a")];t[Kx("0xd")].get(Kx("0x1d"))[Kx("0x20")][Kx("0x3")]((t=>{if("formatBlock"!=t.type&&Kx("0x16")!=t[Kx("0xc")])return;const{data:n}=t;return n&&Kx("0x2")===n.commandName?n[Kx("0x6")][0][Kx("0x1c")]?{type:Kx("0x21"),content:Qr(e,Kx("0xe"),n[Kx("0x6")][0][Kx("0x4")][Kx("0x11")]())}:{type:"format",content:Qr(e,Kx("0x17"),n[Kx("0x6")][0][Kx("0x4")][Kx("0x11")]())}:void 0}))}}const Xx=["insertTable","tablePaste","getColumnIndexes","ELEMENT_TABLE_ROW_WITH_TEXT","getCellLocation","getContainedElement","insertTableRowBelow","ELEMENT_TABLE_WITH_TEXT","first","detach","getRanges","createRangeOn","highest","registerPostFixer","getRowIndexes","start","getSelectionAffectedTableCells","getChangedMarkers","minColumn","insertion","commands","subType","end","substr","batch","from","isInContent","ELEMENT_TABLE_ROW","markMultiRangeDeletion","_getCoordsForCells","model","startsWith","differ","change","setSelection","document","nodeAfter","getChildren","change:data","isArray","min","has","MAX_SAFE_INTEGER","some","mapper","ELEMENT_TABLE_COLUMN_WITH_TEXT","execute","isTouching","maxColumn","getAttribute","_descriptionFactory","toViewElement","discard","length","root","max","plugins","isIntersectingWithRange","*Insert:* %0","map","markMultiRangeInsertion","nodeBefore","downcastDispatcher","showSuggestionHighlights","registerElementLabel","$graveyard","registerDescriptionCallback","registerCustomCallback","tableColumn","position","toLowerCase","rootName","createRangeIn","data","afterInit","findAncestor","tableRow","removeClass","cell","last","TableUtils","push","type","removeTableColumn","fromRange","createTableWalker","tableCell","getFirstRange","*Remove:* %0","every","hasAttribute","add","enqueueChange","TrackChangesEditing","MIN_SAFE_INTEGER","maxRow","_tablePostFixingSubtypes","TableEditing","insert","$textProxy","_getSuggestionCoords","selection","getItems","_tableSuggestions","ELEMENT_TABLE_COLUMN","order","get","values","_setupColumnsRowsFixing","editor","selectTableRow","_suggestionFactory","table","_acceptFormatSuggestionCallbackFactory","isEqual","filter","span","refresh","locale","colspan","deletion","getChanges","join","enableCommand","addRange","name","removeTableRow","item"];var $x,Zx;$x=Xx,Zx=333,function(t){for(;--t;)$x.push($x.shift())}(++Zx);const Yx=function(t,e){return Xx[t-=0]};class Qx extends t.Plugin{constructor(t){super(t),this[Yx("0x13")]=[Yx("0x7f"),Yx("0x77")],this[Yx("0x1a")]=new Set}[Yx("0x7d")](){const t=this.editor,e=t[Yx("0x51")][Yx("0x56")][Yx("0x18")];if(!t[Yx("0x6b")][Yx("0x5c")](Yx("0x14")))return;const n=t[Yx("0x29")],r=t.plugins[Yx("0x1d")](Yx("0x10")),i=t[Yx("0x6b")][Yx("0x1d")](Yx("0x3"));r[Yx("0x65")][Yx("0x73")](Yx("0x23"),(t=>Qr(n,"ELEMENT_TABLE",t))),this[Yx("0x1f")](),r[Yx("0x2e")](Yx("0x33")),r[Yx("0x2e")](Yx("0x21")),r[Yx("0x2e")]("selectTableColumn");for(const n of["insertTableRowAbove",Yx("0x39")]){const o=t.commands[Yx("0x1d")](n);r.enableCommand(n,(n=>{t[Yx("0x51")][Yx("0x54")]((t=>{n();const s="above"===o.order,x=i.getSelectionAffectedTableCells(e),a=i.getRowIndexes(x),c=s?a.first-1:a[Yx("0x2")]+1,l=x[0][Yx("0x7e")](Yx("0x23")),u=i[Yx("0x8")](l,{startRow:c,endRow:c}),d=Array[Yx("0x4c")](u)[Yx("0x6e")]((e=>t.createRangeOn(e[Yx("0x1")])));r.markMultiRangeInsertion(d,"tableRow")}))}))}for(const n of["insertTableColumnLeft","insertTableColumnRight"]){const o=t[Yx("0x47")][Yx("0x1d")](n);r[Yx("0x2e")](n,(n=>{t.model[Yx("0x54")]((t=>{n();const s="left"===o[Yx("0x1c")],x=i.getSelectionAffectedTableCells(e),a=i[Yx("0x35")](x),c=s?a[Yx("0x3b")]-1:a[Yx("0x2")]+1,l=x[0].findAncestor(Yx("0x23")),u=i[Yx("0x8")](l,{startRow:0,column:c,includeAllSlots:!1}),d=Array[Yx("0x4c")](u).map((e=>t[Yx("0x3e")](e[Yx("0x1")])));r[Yx("0x6f")](d,Yx("0x77"))}))}))}for(const n of[Yx("0x31"),Yx("0x6")]){const o=n[Yx("0x4a")](11),s=o[Yx("0x79")](),x=s[Yx("0x4a")](0,3)+Yx("0x27"),a=Yx("0x23")+o,c=Yx("0x5b")+o,l=Yx("0x6a")+o;r.enableCommand(n,(()=>{t.model[Yx("0x54")]((t=>{const o=i[Yx("0x43")](e),u=o[0][Yx("0x7e")](Yx("0x23"));let d;if("removeTableRow"==n){const t=i[Yx("0x41")](o);d={startRow:t[Yx("0x3b")],endRow:t[Yx("0x2")],includeAllSlots:!0}}else{const t=i[Yx("0x35")](o);d={startColumn:t[Yx("0x3b")],endColumn:t[Yx("0x2")],includeAllSlots:!0}}const g=i[Yx("0x8")](u,d),f=Array[Yx("0x4c")](g).map((({cell:t})=>t)),h=Jx(f[Yx("0x26")]((t=>t[Yx("0xd")](x)))),m=Jx(f[Yx("0x26")]((t=>!t[Yx("0xd")](x))))[Yx("0x6e")]((e=>t[Yx("0x3e")](e))),b=r[Yx("0x4f")](m,a);if(b&&("tableRow"==b[Yx("0x48")]||"tableColumn"==b[Yx("0x48")])){const e=this[Yx("0x17")](b);for(const n of h){const r=t[Yx("0x3e")](n),o=i[Yx("0x37")](n),a=n[Yx("0x64")](x)-1,u=e[c],d=e[l];u<=o[s]&&o[s]+a<=d&&b.addRange(r)}}}))}))}function o(n){const r=Array[Yx("0x4c")](e.getRanges()).map((t=>s.LiveRange[Yx("0x7")](t)));t.model.change((e=>{const i=e[Yx("0x4b")];n=n[Yx("0x26")]((t=>Yx("0x74")!=t[Yx("0x69")][Yx("0x7a")])),e.setSelection(n),t[Yx("0x47")][Yx("0x1d")](Yx("0x31"))[Yx("0x28")](),t[Yx("0x61")](Yx("0x31"),{forceDefaultExecution:!0}),t[Yx("0x51")][Yx("0xf")]((()=>{t.model.enqueueChange(i,(t=>{const e=r[Yx("0x26")]((t=>Yx("0x74")!=t[Yx("0x69")][Yx("0x7a")]));e.length>0&&t[Yx("0x55")](e);for(const t of r)t.detach()}))}))}))}function a(n){t[Yx("0x51")][Yx("0x54")]((r=>{const i=Array[Yx("0x4c")](e[Yx("0x3d")]())[Yx("0x6e")]((t=>s.LiveRange[Yx("0x7")](t))),o=[];for(const t of n)for(const e of t[Yx("0x19")]({shallow:!0}))o.push(e);for(const e of o)Yx("0x74")!=e[Yx("0x69")][Yx("0x7a")]&&(r.setSelection(r.createPositionAt(e,0)),t[Yx("0x47")][Yx("0x1d")]("removeTableColumn").refresh(),t[Yx("0x61")](Yx("0x6"),{forceDefaultExecution:!0}));const x=i.filter((t=>Yx("0x74")!=t[Yx("0x69")].rootName));x[Yx("0x68")]>0&&r[Yx("0x55")](x);for(const t of i)t[Yx("0x3c")]()}))}function c(t,e){return e[Yx("0xc")]((e=>t[Yx("0x5e")]((t=>t[Yx("0x49")][Yx("0x25")](e[Yx("0x42")])||e[Yx("0x49")].isEqual(t[Yx("0x42")])))))}function l(t,e){return t[Yx("0x5e")]((t=>e[Yx("0x5e")]((e=>t[Yx("0x49")][Yx("0x62")](e.start)))))}t[Yx("0x7c")][Yx("0x71")].on("addMarker:suggestion",((t,e,n)=>{if(!n.options[Yx("0x72")])return;const r=e[Yx("0x32")];if(!r)return;const i=n[Yx("0x5f")][Yx("0x66")](r);function o(t){return Array[Yx("0x5a")](t)?t:[t]}i&&Yx("0x9")===r[Yx("0x30")]&&(0,x.setHighlightHandling)(i,n.writer,((t,e,n)=>n.addClass(o(e.classes),t)),((t,e,n)=>n[Yx("0x0")](o(e.classes),t)))}),{priority:Yx("0x3f")}),r._descriptionFactory[Yx("0x75")]((t=>{if("insertion"!=t[Yx("0x5")]&&Yx("0x2b")!=t[Yx("0x5")])return;const e=t[Yx("0x38")]();if(null!=e&&e.is("element",Yx("0x23"))){if(Yx("0x46")==t[Yx("0x5")]){const e=t[Yx("0x19")]()[Yx("0x26")]((t=>t.is(Yx("0x16"))))[Yx("0x6e")]((t=>t[Yx("0x7c")]));if(e[Yx("0x68")])return{type:Yx("0x46"),content:Qr(n,"*Insert:* %0",Qr(n,Yx("0x3a"),'"'+e.join(" ")+'"'))}}if(Yx("0x2b")==t[Yx("0x5")]){const e=t[Yx("0x19")]().filter((t=>t.is(Yx("0x16")))).map((t=>t.data));if(e[Yx("0x68")])return{type:Yx("0x2b"),content:Qr(n,"*Remove:* %0",Qr(n,Yx("0x3a"),'"'+e[Yx("0x2d")](" ")+'"'))}}}})),r[Yx("0x65")][Yx("0x75")]((t=>{if(Yx("0x7f")==t[Yx("0x48")]){const e=t[Yx("0x19")]()[Yx("0x26")]((t=>t.is(Yx("0x16")))).map((t=>t[Yx("0x7c")])),r=this[Yx("0x17")](t),i=r[Yx("0x12")]-r.minRow+1;if(Yx("0x46")==t[Yx("0x5")])return e[Yx("0x68")]?{type:Yx("0x46"),content:Qr(n,Yx("0x6d"),Qr(n,Yx("0x36"),[i,'"'+e.join(" ")+'"']))}:{type:Yx("0x46"),content:Qr(n,Yx("0x6d"),Qr(n,Yx("0x4e"),i))};if(Yx("0x2b")==t[Yx("0x5")])return e[Yx("0x68")]?{type:"deletion",content:Qr(n,Yx("0xb"),Qr(n,Yx("0x36"),[i,'"'+e[Yx("0x2d")](" ")+'"']))}:{type:Yx("0x2b"),content:Qr(n,Yx("0xb"),Qr(n,"ELEMENT_TABLE_ROW",i))}}if(Yx("0x77")==t[Yx("0x48")]){const e=t[Yx("0x19")]()[Yx("0x26")]((t=>t.is(Yx("0x16"))))[Yx("0x6e")]((t=>t[Yx("0x7c")])),r=this[Yx("0x17")](t),i=r[Yx("0x63")]-r[Yx("0x45")]+1;if(Yx("0x46")==t[Yx("0x5")])return e.length?{type:Yx("0x46"),content:Qr(n,Yx("0x6d"),Qr(n,Yx("0x60"),[i,'"'+e[Yx("0x2d")](" ")+'"']))}:{type:Yx("0x46"),content:Qr(n,"*Insert:* %0",Qr(n,"ELEMENT_TABLE_COLUMN",i))};if("deletion"==t[Yx("0x5")])return e[Yx("0x68")]?{type:Yx("0x2b"),content:Qr(n,Yx("0xb"),Qr(n,Yx("0x60"),[i,'"'+e[Yx("0x2d")](" ")+'"']))}:{type:"deletion",content:Qr(n,"*Remove:* %0",Qr(n,Yx("0x1b"),i))}}})),r._suggestionFactory[Yx("0x76")](Yx("0x46"),Yx("0x7f"),Yx("0x67"),o),r[Yx("0x22")].registerCustomCallback(Yx("0x2b"),Yx("0x7f"),"accept",o),r[Yx("0x22")][Yx("0x76")](Yx("0x46"),Yx("0x77"),Yx("0x67"),a),r[Yx("0x22")][Yx("0x76")](Yx("0x2b"),Yx("0x77"),"accept",a),r[Yx("0x22")][Yx("0x76")](Yx("0x46"),Yx("0x77"),Yx("0x2d"),c),r[Yx("0x22")][Yx("0x76")](Yx("0x2b"),Yx("0x77"),"join",c),r._suggestionFactory.registerCustomCallback("insertion",Yx("0x7f"),Yx("0x2d"),l),r[Yx("0x22")][Yx("0x76")](Yx("0x2b"),"tableRow","join",l)}[Yx("0x24")](){const t=this[Yx("0x20")],e=t[Yx("0x51")].document[Yx("0x18")];return(n,r)=>{t.model[Yx("0x54")]((i=>{const{commandName:o,commandParams:x}=r;let a=n[0][Yx("0x49")][Yx("0x70")];x&&x[0]&&!1===x[0].forceValue&&(a=n[0][Yx("0x42")][Yx("0x57")]);const c=i[Yx("0x7b")](a);if(Yx("0x74")==c.root[Yx("0x7a")])return;const l=Array[Yx("0x4c")](e[Yx("0x3d")]())[Yx("0x6e")]((t=>s.LiveRange[Yx("0x7")](t)));i[Yx("0x55")](c),t.commands[Yx("0x1d")](o).refresh(),x[Yx("0x4")]({forceDefaultExecution:!0}),t[Yx("0x61")](o,...x);const u=l[Yx("0x26")]((t=>Yx("0x74")!=t.root.rootName));u.length>0&&i[Yx("0x55")](u);for(const t of l)t[Yx("0x3c")]()}))}}[Yx("0x50")](t){const e=this[Yx("0x20")][Yx("0x6b")].get("TableUtils");let n=Number[Yx("0x5d")],r=Number[Yx("0x11")],i=Number[Yx("0x5d")],o=Number[Yx("0x11")];for(const s of t){if(Yx("0x74")==s[Yx("0x69")][Yx("0x7a")])continue;const{row:t,column:x}=e[Yx("0x37")](s),a=s[Yx("0xd")]("rowspan")?s[Yx("0x64")]("rowspan")-1:0,c=s[Yx("0xd")](Yx("0x2a"))?s.getAttribute("colspan")-1:0;n=t<n?t:n,r=t+a>r?t+a:r,i=x<i?x:i,o=x+c>o?x+c:o}return{minRow:n,maxRow:r,minColumn:i,maxColumn:o}}_setupColumnsRowsFixing(){const t=this[Yx("0x20")],e=t.plugins[Yx("0x1d")](Yx("0x10")),n=t[Yx("0x6b")].get("TableUtils");t[Yx("0x51")][Yx("0x56")].on(Yx("0x59"),(()=>{const n=Array[Yx("0x4c")](t.model[Yx("0x56")][Yx("0x53")][Yx("0x44")]());for(const{name:t,data:r}of n){const{group:n,id:i,subType:o}=e._splitMarkerName(t);if("suggestion"!=n)continue;if(null!=r.oldRange)continue;const s=e.getSuggestion(i);this._tablePostFixingSubtypes.includes(o)&&this._tableSuggestions[Yx("0xe")](s)}}),{priority:"low"});const r=(t,e)=>{let r=!1;const i=e[Yx("0x3e")](t),o=t.findAncestor("table"),s=n[Yx("0x37")](t);for(const e of this[Yx("0x1a")]){const n=e[Yx("0x48")],x=n[Yx("0x52")](Yx("0x34")),a=n[Yx("0x4a")](x?10:5),c=a[Yx("0x79")](),l=c[Yx("0x4a")](0,3)+Yx("0x27"),u=Yx("0x5b")+a,d=Yx("0x6a")+a;if(!e[Yx("0x4d")])continue;if(o!=e[Yx("0xa")]()[Yx("0x42")][Yx("0x7e")](Yx("0x23")))continue;if(e[Yx("0x6c")](i))continue;const g=t[Yx("0xd")](l)?t[Yx("0x64")](l)-1:0,f=this[Yx("0x17")](e),h=f[u],m=f[d];h<=s[c]&&s[c]+g<=m&&(e[Yx("0x2f")](i),r=!0)}return r};t[Yx("0x51")][Yx("0x56")][Yx("0x40")]((e=>{let n=!1;for(const i of t[Yx("0x51")][Yx("0x56")][Yx("0x53")][Yx("0x2c")]())if(Yx("0x15")==i[Yx("0x5")])if(Yx("0x7f")==i[Yx("0x30")])for(const t of i.position[Yx("0x57")][Yx("0x58")]())n=n||r(t,e);else Yx("0x9")==i[Yx("0x30")]&&(n=n||r(i[Yx("0x78")][Yx("0x57")],e));return n}))}[Yx("0x17")](t){return this._getCoordsForCells(t[Yx("0x3d")]()[Yx("0x6e")]((t=>t.start[Yx("0x57")])))}}function Jx(t){return Array[Yx("0x4c")](new Set(t)[Yx("0x1e")]())}const ta=["low","_tablePostFixingSubtypes","add","findAncestor","table","afterInit","execute","formatBlock","getSuggestions","value","mergeTableCellRight","mergeTableCellLeft","_acceptFormatSuggestionCallbackFactory","has","forceDefaultExecution","formatInline","registerDescriptionCallback","root","getSelectionAffectedTableCells","get","stop","_descriptionFactory","mergeTableCellDown","type","trackChanges","accept","getFirstPosition","from","editor","plugins","direction","horizontally","*Split cell:* vertically","map","mergeTableCellUp","rootName","format","subType","_areMergableCells","model","length","TableEditing","highest","commandName","refresh","_suggestionFactory","set:isEnabled","createTableWalker","registerCustomCallback","commands","containsRange","return","getRanges","splitTableCellVertically","cell","$graveyard","detach","fromRange","requires","author","getCellLocation","locale","isInContent","getAncestors","_areSelectedCellsMergable","tableCell","markMultiRangeBlockFormat","splitTableCellHorizontally","mergeTableCells","TableUtils","size","change","push","find","selection","document","*Merge cells*","createRangeOn","insertion","enableCommand","isEnabled","filter"];var ea,na;ea=ta,na=284,function(t){for(;--t;)ea.push(ea.shift())}(++na);const ra=function(t,e){return ta[t-=0]};class ia extends t.Plugin{static get[ra("0x14")](){return[Qx]}[ra("0x31")](){const t=this.editor,e=t.model[ra("0x25")][ra("0x24")],n=t[ra("0x17")];if(!t[ra("0x49")][ra("0x39")](ra("0x3")))return;const r=t[ra("0x49")][ra("0x3f")]("TrackChangesEditing"),i=t[ra("0x49")][ra("0x3f")](ra("0x1f")),o=t[ra("0x49")][ra("0x3f")](Qx);o[ra("0x2d")][ra("0x22")](ra("0x1e")),r[ra("0x29")](ra("0x1e"),(()=>{const e=i[ra("0x3e")](t.model[ra("0x25")][ra("0x24")]);t[ra("0x1")][ra("0x21")]((()=>{r[ra("0x1c")](e,{commandName:ra("0x1e"),commandParams:[]},[],ra("0x1e"))}))})),t.commands[ra("0x3f")]("mergeTableCells").on(ra("0x32"),((e,n)=>{t[ra("0xb")].get(ra("0x44"))[ra("0x35")]&&(n[ra("0x2")]>0&&n[n[ra("0x2")]-1]&&n[n[ra("0x2")]-1][ra("0x3a")]||r._isForcedDefaultExecutionBlock||this[ra("0x1a")]()||e[ra("0x40")]())}),{priority:ra("0x4")});for(const e of[ra("0x4e"),ra("0x36"),ra("0x42"),ra("0x37")]){const n=t[ra("0xb")][ra("0x3f")](e);r[ra("0x29")](e,(()=>{const e=t[ra("0x1")][ra("0x25")].selection[ra("0x46")]()[ra("0x19")]().find((t=>t.is("element",ra("0x1b")))),i=n.value;t[ra("0x1")][ra("0x21")]((()=>{r[ra("0x1c")]([e,i],{commandName:ra("0x1e"),commandParams:[]},[],"mergeTableCells")}))}))}for(const e of["splitTableCellVertically",ra("0x1d")]){const n=t[ra("0xb")].get(e);r[ra("0x29")](e,(()=>{const o=i[ra("0x3e")](t[ra("0x1")][ra("0x25")][ra("0x24")])[0],s=o[ra("0x2f")](ra("0x30")),{column:x,row:a}=i[ra("0x16")](o);let c=[];if(ra("0x4b")==n[ra("0x4a")]){const t=i.createTableWalker(s,{startRow:a,endRow:a,includeAllSlots:!0});c=Array[ra("0x47")](t)[ra("0x4d")]((t=>t[ra("0x10")]))}else{const t=i[ra("0x9")](s,{column:x,includeAllSlots:!0});c=Array.from(t).map((t=>t.cell))}t.model.change((t=>{r.markBlockFormat(t[ra("0x27")](o),{commandName:e,commandParams:[]},c,e)}))}))}r[ra("0x41")][ra("0x3c")]((t=>{if(ra("0x33")!=t[ra("0x43")]&&ra("0x3b")!=t[ra("0x43")])return;const{data:e}=t;return e&&"mergeTableCells"==e.commandName?{type:ra("0x50"),content:Qr(n,ra("0x26"))}:void 0})),r._descriptionFactory[ra("0x3c")]((t=>{if("formatBlock"!=t[ra("0x43")]&&"formatInline"!=t[ra("0x43")])return;const{data:e}=t;return e?ra("0xf")==e[ra("0x5")]?{type:ra("0x50"),content:Qr(n,ra("0x4c"))}:ra("0x1d")==e.commandName?{type:"format",content:Qr(n,"*Split cell:* horizontally")}:void 0:void 0}));const x=o[ra("0x38")]();for(const t of["mergeTableCellUp",ra("0x36"),ra("0x42"),ra("0x37")])r[ra("0x7")][ra("0xa")](ra("0x33"),t,"accept",x);for(const t of[ra("0xf"),ra("0x1d")])r._suggestionFactory[ra("0xa")](ra("0x33"),t,ra("0x45"),x);r[ra("0x7")][ra("0xa")](ra("0x33"),ra("0x1e"),ra("0x45"),(n=>{t[ra("0x1")][ra("0x21")]((r=>{const i=Array.from(e[ra("0xe")]())[ra("0x4d")]((t=>s.LiveRange[ra("0x13")](t)));r.setSelection(n),t[ra("0xb")][ra("0x3f")](ra("0x1e"))[ra("0x6")](),t[ra("0x32")](ra("0x1e"),{forceDefaultExecution:!0});const o=i[ra("0x2b")]((t=>ra("0x11")!=t[ra("0x3d")][ra("0x4f")]));o[ra("0x2")]>0&&r.setSelection(o);for(const t of i)t[ra("0x12")]()}))}));for(const e of[ra("0x4e"),ra("0x42"),"mergeTableCellLeft",ra("0x36")]){const n=t[ra("0xb")][ra("0x3f")](e);n.on(ra("0x8"),((e,r,i)=>{if(i){const r=t[ra("0x1")][ra("0x25")].selection.getFirstPosition()[ra("0x19")]()[ra("0x23")]((t=>t.is("element",ra("0x1b"))));this._areMergableCells(n[ra("0x35")],r)||(e[ra("0xd")]=!1,e[ra("0x40")]())}}),{priority:ra("0x2c")})}}[ra("0x1a")](){const t=this[ra("0x48")][ra("0xb")].get(ra("0x1e")),e=this.editor[ra("0x49")][ra("0x3f")](ra("0x1f"));if(!t[ra("0x2a")])return!1;const n=e[ra("0x3e")](this[ra("0x48")][ra("0x1")].document.selection);for(const t of n)for(const e of n)if(t!=e&&!this[ra("0x0")](t,e))return!1;return!0}[ra("0x0")](t,e){const n=this[ra("0x48")].plugins.get("TrackChangesEditing"),r=this[ra("0x48")].model[ra("0x27")](t),i=this[ra("0x48")][ra("0x1")].createRangeOn(e),o=new Set,s=new Set;for(const t of n[ra("0x34")]())if((ra("0x28")==t[ra("0x43")]||"deletion"==t.type||ra("0x1e")==t[ra("0x51")])&&t[ra("0x18")])for(const e of t[ra("0xe")]())e[ra("0xc")](r,!0)&&o[ra("0x2e")](t.type+":"+t[ra("0x15")].id),e[ra("0xc")](i,!0)&&s[ra("0x2e")](t[ra("0x43")]+":"+t[ra("0x15")].id);if(o[ra("0x20")]!=s[ra("0x20")])return!1;for(const t of o)if(!s[ra("0x39")](t))return!1;return!0}}const oa=["showSuggestionHighlights","editing","setTableRowHeader","highest","data","bindElementToMarker","activeMarkers","commandName","markerNameToElements","TableUtils","TrackChangesEditing","_suggestionFactory","nodeBefore","forceValue","headingRows","_splitMarkerName","formatBlock","markerRange","ck-suggestion-marker-","accept","_registerLegacyDescription","_acceptFormatSuggestionCallbackFactory","FORMAT_REGULAR_COLUMN","commandParams","data-suggestion","FORMAT_REGULAR_ROW","addMarker:suggestion","markerName","createTableWalker","setTableColumnHeader","consume","get","parent","_enableDefaultAttributesIntegration","removeMarker:suggestion","removeClass","has","addClass","FORMAT_HEADER_COLUMN","plugins","cell","*Format:* %0","_handleLegacySuggestions","requires","getCellLocation","nodeAfter","registerDescriptionCallback","mapper","options","headingColumns","unbindElementFromMarkerName","includes","writer","registerAttributeLabel","consumable","toViewElement","FORMAT_HEADER_ROW","registerCustomCallback","locale","afterInit","editor","ck-suggestion-marker--active","_descriptionFactory","type","getSuggestion"];var sa,xa;sa=oa,xa=315,function(t){for(;--t;)sa.push(sa.shift())}(++xa);const aa=function(t,e){return oa[t-=0]};class ca extends t.Plugin{static get[aa("0x35")](){return[Qx]}[aa("0x4")](){const t=this.editor;if(!t.plugins[aa("0x2e")]("TableEditing"))return;const e=t[aa("0x3")],n=t[aa("0x31")][aa("0x29")](aa("0x14"));n._enableDefaultAttributesIntegration("setTableRowHeader",[],[aa("0x18")]),n[aa("0x2b")](aa("0x27"),[],[aa("0x3b")]),n[aa("0x7")][aa("0x3f")]("headingRows",Qr(e,aa("0x1"))),n._descriptionFactory[aa("0x3f")](aa("0x3b"),Qr(e,aa("0x30"))),this[aa("0x34")]()}[aa("0x34")](){const t=this[aa("0x5")].plugins.get(aa("0x14")),e=this[aa("0x5")].plugins[aa("0x29")](aa("0x13")),n=this.editor[aa("0x31")][aa("0x29")](Qx)[aa("0x1f")]();function r({showActiveMarker:n=!0,setDataAttribute:r=!0}={}){return(i,o,s)=>{const{type:x,id:a}=t[aa("0x19")](o[aa("0x25")]),c=t[aa("0x9")](a),l=c[aa("0xe")];if("formatBlock"!=c[aa("0x8")]||!l||aa("0x27")!=l[aa("0x11")])return;if(o.item)return void i.stop();if(!s[aa("0x40")][aa("0x28")](o[aa("0x1b")],i.name))return;const u=o.markerRange.start[aa("0x37")],d=o[aa("0x1b")].end[aa("0x16")],g=u[aa("0x2a")][aa("0x2a")],{column:f}=e[aa("0x36")](u),{column:h}=e[aa("0x36")](d);for(let i=f;i<=h;i++){const c=e[aa("0x26")](g,{column:i,includeAllSlots:!1});for(const e of c){const i=e[aa("0x32")],c=s[aa("0x39")][aa("0x0")](i);s.writer.addClass(aa("0x1c")+x,c),r&&s.writer.setAttribute(aa("0x22"),a,c),s[aa("0x39")][aa("0xf")](c,o[aa("0x25")]),n&&(t[aa("0x10")][aa("0x3d")](o[aa("0x25")])?s[aa("0x3e")][aa("0x2f")](aa("0x6"),c):s[aa("0x3e")][aa("0x2d")](aa("0x6"),c))}}}}t[aa("0x15")][aa("0x2")](aa("0x1a"),aa("0xc"),aa("0x1d"),n),t[aa("0x15")][aa("0x2")](aa("0x1a"),"setTableColumnHeader","accept",n),this[aa("0x5")][aa("0xb")].downcastDispatcher.on("addMarker:suggestion",r(),{priority:aa("0xd")}),this.editor[aa("0xe")].downcastDispatcher.on(aa("0x24"),((t,e,n)=>{n[aa("0x3a")][aa("0xa")]&&r({showActiveMarker:!1,setDataAttribute:!1})(t,e,n)}),{priority:aa("0xd")}),this[aa("0x5")][aa("0xb")].downcastDispatcher.on(aa("0x2c"),((e,n,r)=>{const{type:i,id:o}=t[aa("0x19")](n[aa("0x25")]),s=t[aa("0x9")](o),x=s[aa("0xe")];if(aa("0x1a")!=s[aa("0x8")]||!x||aa("0x27")!=x[aa("0x11")])return;const a=r[aa("0x39")][aa("0x12")](n[aa("0x25")]);if(a)for(const t of a)r[aa("0x3e")][aa("0x2d")](aa("0x1c")+i,t),r[aa("0x3e")][aa("0x2d")](aa("0x6"),t),r.writer.removeAttribute(aa("0x22"),t),r[aa("0x39")][aa("0x3c")](t,n[aa("0x25")])}),{priority:aa("0xd")}),this[aa("0x1e")]()}[aa("0x1e")](){const t=this[aa("0x5")],e=t[aa("0x3")];function n(t){return{type:"format",content:Qr(e,aa("0x33"),t)}}t[aa("0x31")][aa("0x29")](aa("0x14"))[aa("0x7")][aa("0x38")]((t=>{if("formatBlock"!=t[aa("0x8")])return;const{data:r}=t;if(r){if("setTableRowHeader"==r[aa("0x11")]){const t=r[aa("0x21")][0][aa("0x17")];return n(Qr(e,aa(t?"0x1":"0x23")))}if(aa("0x27")==r[aa("0x11")]){const t=r[aa("0x21")][0][aa("0x17")];return n(Qr(e,aa(t?"0x30":"0x20")))}}}))}}const la=["trackChanges","unwrap","tableCellBorderStyle","markMultiRangeDeletion","getContainedElement","find","markerAttributes","editing","insertionRanges","some","tableCell","TrackChangesEditing","nextSibling","getRanges","suggestion-td","add","set","type","_suggestionFactory","options","removeMarkers","Users","reduce","getColumns","removeMarker","end","paragraph","endColumn","for","document","ck-suggestion-marker--active","_getCoordsForCells","filter","formatBlock","tablePaste","selection","getSuggestionCallback","createPositionBefore","includes","removeColumns","rowInsertionRanges","name","$graveyard","markers","columnInsertionIndexes","accept","showSuggestionHighlights","getChanges","discard","oldRange","change","registerCustomCallback","every","registerPostFixer","markerName","updateMarker","getRange","tableCellBackgroundColor","isEmpty","tablePasteColumn","stop","dataDowncast","push","subType","insertion","createRangeIn","move","table","createRange","get","getRows","getChangedMarkers","*Replace table cells*","hasSuggestion","requires","suggestion:formatBlock:tablePasteCell","tableCellHorizontalAlignment","fromEntries","tablePasteChainId","differ","getSelectionAffectedTableCells","isInContent","attributes","tableCellBorderColor","cells","join","remove","isEqual","getMarkers","getTableIfOnlyTableInContent","clipboardOutput","getAllAdjacentSuggestions","tableCellVerticalAlignment","deletion","_splitMarkerName","documentSelection","editor","TableUtils","suggestionUnloaded","findAncestor","rowInsertionIndexes","getItems","suggestion","createElement","cell","fill","wrap","getChildren","createTableWalker","elementToElement","tableCellSuggestion","root","previous","high","conversion","register","startsWith","start","endRow","insert","plugins","getChild","tableCellBorderWidth","setAttributes","tablePasteCell","low","author","getAttributes","map","element","rows","last","insertContent","deletionRanges","containsRange","rootName","markMultiRangeBlockFormat","position","insertRows","markMultiRangeInsertion","redo","locale","removeRows","has","TableClipboard","_descriptionFactory","markerToHighlight","getSuggestions","tableCellPadding","from","createRangeOn","previousSibling","length","model"];var ua,da;ua=la,da=167,function(t){for(;--t;)ua.push(ua.shift())}(++da);const ga=function(t,e){return la[t-=0]},fa=[ga("0x6d"),ga("0x46"),ga("0x8f"),ga("0x3f"),ga("0x4f"),ga("0x2c"),ga("0x87")],ha=Object[ga("0x40")](fa.map((t=>[t,null])));class ma extends t.Plugin{static get[ga("0x3d")](){return[Qx]}afterInit(){const t=this.editor;if(!t[ga("0x6b")][ga("0x82")](ga("0x83")))return;const n=t[ga("0x6b")][ga("0x38")](ga("0x98")),r=t[ga("0x6b")][ga("0x38")](ga("0x54")),i=t[ga("0x6b")][ga("0x38")](Qx),o=t[ga("0x6b")][ga("0x38")]("TableClipboard");i._tablePostFixingSubtypes[ga("0x31")]("tablePasteRow",ga("0x2e")),t.model.schema[ga("0x66")](ga("0x61"),{allowIn:ga("0x97"),allowContentOf:"tableCell",isLimit:!0}),t[ga("0x65")][ga("0x60")]({model:ga("0x61"),view:ga("0x1")});let s=null;t[ga("0x8c")].on("insertContent",((i,x)=>{const[a,c]=x,l=x[x[ga("0x8b")]-1];l&&l.forceDefaultExecution||n._isForcedDefaultExecutionBlock||this[ga("0x53")].commands.get(ga("0x8d")).value&&function(t,e,n,r,i){if(e&&!e.is(ga("0x52")))return!1;const o=i[ga("0x4c")](t,n);if(!o||!pa(o,void 0,r))return!1;const s=r[ga("0x43")](n[ga("0x10")][ga("0x16")]);if(!s[ga("0x8b")])return!1;const x=s[0][ga("0x56")](ga("0x36")),a=r.getRowIndexes(s),c=r.getColumnIndexes(s),l={startRow:a.first,endRow:a.last,startColumn:c.first,endColumn:c[ga("0x76")]};return 1==s.length&&(l[ga("0x69")]+=r[ga("0x39")](o)-1,l[ga("0xe")]+=r[ga("0xa")](o)-1),pa(x,l,r)}(a,c,t.model,r,o)&&(i[ga("0x2f")](),s={cells:[],insertionRanges:[],deletionRanges:[],rowInsertionRanges:[],rowInsertionIndexes:[],columnInsertionRanges:[],columnInsertionIndexes:[]},t[ga("0x8c")][ga("0x25")]((()=>{t[ga("0x8c")][ga("0x77")](x[0],x[1],x[2],{forceDefaultExecution:!0});const r=(0,e.uid)(),{rowInsertionRanges:i,columnInsertionRanges:o,insertionRanges:a,deletionRanges:c,cells:l}=s;i[ga("0x8b")]&&n[ga("0x7e")](i,"tablePasteRow",{tablePasteChainId:r}),o[ga("0x8b")]&&n.markMultiRangeInsertion(o,ga("0x2e"),{tablePasteChainId:r}),a[ga("0x8b")]&&n.markMultiRangeInsertion(a,"tablePaste",{tablePasteChainId:r,skipNestingCheck:!0}),c[ga("0x8b")]&&n[ga("0x90")](c,"tablePaste",{tablePasteChainId:r,skipNestingCheck:!0});const u=n[ga("0x7b")](l[ga("0x73")]((({element:t})=>t)),{formatGroupId:(0,e.uid)()},[],ga("0x6f"),{tablePasteChainId:r});if(u){const e=u[ga("0x4b")](),n=[];for(const{element:r,attributes:i}of l){if(!i)continue;const o=t[ga("0x8c")][ga("0x89")](r),s=e[ga("0x92")]((t=>t[ga("0x2b")]()[ga("0x4a")](o)));s&&n[ga("0x31")]([s[ga("0x1c")],i])}n.length&&u.setAttribute(ga("0x93"),Object[ga("0x40")](n))}s=null})))}),{priority:e.priorities[ga("0x64")]+10}),t[ga("0x6b")][ga("0x38")](ga("0x83")).on("_replaceTableSlotCell",((t,e)=>{const[n,r,,i]=e;if(!s)return;t[ga("0x2f")]();const o=n[ga("0x5b")],x=r,a=ba(o),c=ba(x);t.return=o;let l=null,u=null;if(c||a)if(a&&!c){i.remove(o.getChild(0));for(const t of Array[ga("0x88")](x[ga("0x5e")]()))i[ga("0x6a")](t,o,ga("0xc"));const t=s[ga("0x57")][ga("0x19")](n.row),e=s[ga("0x1f")][ga("0x19")](n.column);t||e||(l=i[ga("0x34")](o))}else c&&!a&&(u=i[ga("0x34")](o));else{const t=i[ga("0x5a")]("tableCellSuggestion"),e=i[ga("0x5a")](ga("0x61"));i[ga("0x5d")](i.createRangeIn(o),e),i.insert(t,o,0);for(const e of Array.from(x.getChildren()))i[ga("0x6a")](e,t,"end");l=i[ga("0x89")](t),u=i[ga("0x89")](e)}const d=Array.from(x[ga("0x72")]()).filter((([t])=>fa[ga("0x19")](t)));s.cells[ga("0x31")]({element:o,attributes:d[ga("0x8b")]?Object[ga("0x40")](d):null}),l&&s[ga("0x95")][ga("0x31")](l),u&&s[ga("0x78")][ga("0x31")](u)}),{priority:"high"}),r.on("insertColumns",((e,n)=>{const[i,o={}]=n;if(!s)return;const x=o.at||0,a=o.columns||1;s.columnInsertionIndexes=new Array(a)[ga("0x5c")](x)[ga("0x73")](((t,e)=>t+e));for(const{cell:e}of r[ga("0x5f")](i,{startColumn:x,endColumn:x+a-1}))s.columnInsertionRanges[ga("0x31")](t[ga("0x8c")].createRangeOn(e))}),{priority:ga("0x70")}),r.on(ga("0x7d"),((e,n)=>{const[i,o={}]=n;if(!s)return;const x=o.at||0,a=o[ga("0x75")]||1;s[ga("0x57")]=new Array(a)[ga("0x5c")](x)[ga("0x73")](((t,e)=>t+e));for(const{cell:e}of r.createTableWalker(i,{startRow:x,endRow:x+a-1}))s[ga("0x1b")][ga("0x31")](t[ga("0x8c")][ga("0x89")](e))}),{priority:ga("0x70")}),n[ga("0x84")].registerDescriptionCallback((e=>{if(e[ga("0x32")]&&e[ga("0x32")][ga("0x67")]("tablePaste"))return e.previous?{}:{type:ga("0x33"),content:Qr(t[ga("0x80")],ga("0x3b"))}}));const x=()=>!1;for(const t of["tablePaste",ga("0x2e"),"tablePasteRow","tablePasteCell"])n._suggestionFactory.registerCustomCallback("insertion",t,ga("0x48"),x),n[ga("0x5")][ga("0x26")](ga("0x50"),t,ga("0x48"),x),n[ga("0x5")][ga("0x26")](ga("0x14"),t,ga("0x48"),x);n[ga("0x5")][ga("0x26")](ga("0x14"),ga("0x6f"),"discard",x),n[ga("0x5")][ga("0x26")](ga("0x14"),ga("0x6f"),ga("0x20"),((e,n,r)=>{const i=e[ga("0x73")]((t=>t[ga("0x91")]()))[ga("0x13")]((t=>t)),o=new Map(i[ga("0x73")]((t=>[t,null])));if(s)for(const{element:t,attributes:e}of s[ga("0x47")])e&&o[ga("0x3")](t,e);else if(r&&r[ga("0x93")])for(const[e,n]of Object.entries(r[ga("0x93")])){const r=t.model[ga("0x1e")].get(e),i=r?r.getRange()[ga("0x91")]():null;i&&o[ga("0x3")](i,n)}t.model.change((t=>{for(const[e,n]of o)t[ga("0x6e")]({...ha,...n},e)}))}));const a=(e,r)=>{n[ga("0x5")].registerCustomCallback(e,ga("0x15"),r,((i,o,s)=>{t[ga("0x8c")][ga("0x25")]((t=>{const x=[];for(const t of i){const e=t[ga("0x68")].nodeAfter;e.is(ga("0x74"),"tableCellSuggestion")&&x[ga("0x31")](e)}n[ga("0x5")][ga("0x17")](e,null,r)(i,o,s);for(const e of x)ga("0x1d")!=e[ga("0x62")][ga("0x7a")]&&t.unwrap(e)}))}))};a("insertion",ga("0x20")),a(ga("0x33"),"discard"),a("deletion",ga("0x20")),a(ga("0x50"),ga("0x23")),n[ga("0x5")][ga("0x26")](ga("0x33"),"tablePasteRow",ga("0x23"),(t=>{const e=t.map((t=>t[ga("0x91")]())),n=e[0][ga("0x56")](ga("0x36")),{minRow:o,maxRow:s}=i[ga("0x12")](e);r[ga("0x81")](n,{at:o,rows:s-o+1})})),n[ga("0x5")][ga("0x26")](ga("0x33"),ga("0x2e"),"discard",(t=>{const e=t[ga("0x73")]((t=>t[ga("0x91")]())),n=e[0][ga("0x56")](ga("0x36")),{minColumn:o,maxColumn:s}=i[ga("0x12")](e);r[ga("0x1a")](n,{at:o,columns:s-o+1})}));const c=(t,e)=>{if(!e[ga("0x32")]||!e.subType[ga("0x67")](ga("0x15")))return;const r=e[ga("0x45")][ga("0x41")],i=n[ga("0x86")]().filter((t=>t[ga("0x44")]&&t[ga("0x45")]&&t.attributes[ga("0x41")]==r));i[ga("0x8b")]&&e[ga("0x4e")]()[ga("0x8b")]!=i[ga("0x8b")]&&i[ga("0x9")](((t,e)=>(t.next=e,e[ga("0x63")]=t,e)))};function l(t,e=!0){const{id:r}=n._splitMarkerName(t[ga("0x29")]),i=["ck-suggestion-marker","ck-suggestion-marker-insertion"],o=n.activeMarkers[ga("0x19")](t[ga("0x29")]);return o&&i.push(ga("0x11")),{classes:i,attributes:{"data-suggestion":r},priority:o&&e?3010:3e3}}n.on("suggestionLoaded",c,{priority:ga("0x64")}),n.on(ga("0x55"),c,{priority:"high"}),t[ga("0x8c")][ga("0x10")][ga("0x28")]((()=>{let e=!1;const r=Array[ga("0x88")](t.model.document[ga("0x42")][ga("0x3a")]());for(const{name:i,data:o}of r){const{group:r,type:s,id:x}=n[ga("0x51")](i);if(ga("0x59")!=r||ga("0x50")!=s||o[ga("0x24")])continue;if(!n[ga("0x3c")](x))continue;const a=n.getSuggestion(x).getRanges(),c=t[ga("0x6b")][ga("0x38")](ga("0x8")).me;for(const t of n[ga("0x86")]())if(t[ga("0x44")]&&t[ga("0x71")]==c&&ga("0x14")==t.type&&ga("0x6f")==t[ga("0x32")]&&t[ga("0x0")]()[ga("0x27")]((t=>a[ga("0x96")]((e=>e[ga("0x79")](t,!0))))))for(const n of t[ga("0x4e")]())n[ga("0x44")]&&(n[ga("0x23")](),e=!0)}return e})),t[ga("0x8c")].document[ga("0x28")]((e=>{const r=t.commands[ga("0x38")](ga("0x7f"));if(!r||!r._createdBatches.has(e.batch))return!1;let i=!1;const o=t[ga("0x6b")][ga("0x38")](ga("0x8")).me,s=t[ga("0x8c")][ga("0x10")][ga("0x42")][ga("0x22")](),x=Array[ga("0x88")](t.model[ga("0x10")][ga("0x42")].getChangedMarkers()).filter((({name:t,data:e})=>{const{group:r,subType:i,authorId:s}=n[ga("0x51")](t);return ga("0x59")==r&&ga("0x15")==i&&s==o.id&&!e[ga("0x24")]}));for(const t of s){if(ga("0x6a")!=t[ga("0x4")]||ga("0x61")!=t[ga("0x1c")]||1!=t[ga("0x8b")])continue;const n=e[ga("0x37")](t[ga("0x7c")],t.position.getShiftedBy(1));if(!x[ga("0x92")]((({data:t})=>t.newRange.isEqual(n))))for(const{name:t,data:r}of x)if(n.containsRange(r.newRange)){e[ga("0x2a")](t,{range:n}),i=!0;break}}return i})),t.model[ga("0x10")][ga("0x28")]((e=>{let r=!1;const i=t[ga("0x6b")][ga("0x38")](ga("0x8")).me,o=n[ga("0x86")]().filter((t=>t[ga("0x44")]&&t[ga("0x71")]==i)),s=new Set,x=new Set;for(const t of o)if(ga("0x15")==t.subType)for(const e of t.getMarkers()){const n=e[ga("0x2b")]().getContainedElement();if(n)if(n.is(ga("0x74"),ga("0x61"))&&ba(n)){t[ga("0xb")](e[ga("0x1c")]),s.add(n),r=!0;const i=n[ga("0x99")],o=n[ga("0x8a")],a=i&&i.is(ga("0x74"),ga("0x61")),c=o&&o.is(ga("0x74"),ga("0x61"));a&&!s[ga("0x82")](i)&&x[ga("0x2")](i),c&&!s[ga("0x82")](o)&&x[ga("0x2")](o)}else n.is(ga("0x74"),ga("0xd"))&&n[ga("0x2d")]&&(t[ga("0xb")](e.name),r=!0)}else if(ga("0x6f")==t[ga("0x32")]){if(!t[ga("0x45")]||!t[ga("0x45")][ga("0x41")])continue;const e=t[ga("0x45")].markerAttributes;if(e&&Object.keys(e).length)continue;const n=t[ga("0x45")][ga("0x41")];let i=!0,s=!0;for(const e of o)if(e[ga("0x32")]&&e[ga("0x32")][ga("0x67")](ga("0x15"))){if(!e.attributes[ga("0x41")]){s=!1;break}if(e.id!=t.id&&e.attributes[ga("0x41")]==n){i=!1;break}}s&&i&&(t[ga("0x7")](),r=!0)}for(const t of s)e[ga("0x49")](t);for(const t of x)e[ga("0x8e")](t);return r})),t.conversion.for("editingDowncast")[ga("0x85")]({model:"suggestion:formatBlock:tablePasteCell",view:(t,e)=>l(t),converterPriority:ga("0x64")}),t[ga("0x65")][ga("0xf")](ga("0x30"))[ga("0x85")]({model:ga("0x3e"),view:(t,e)=>e[ga("0x6")][ga("0x21")]?l(t,!1):null,converterPriority:ga("0x64")});const u=t[ga("0x94")].view;this.listenTo(u.document,ga("0x4d"),((t,e)=>{const n=[];for(const t of u[ga("0x34")](e.content)[ga("0x58")]())t.is(ga("0x74"),ga("0x1"))&&n[ga("0x31")](t);u[ga("0x25")]((t=>{for(const e of n)t[ga("0x35")](t[ga("0x34")](e),t[ga("0x18")](e)),t.remove(e)}))}))}}function ba(t){if(t[ga("0x2d")])return!0;const e=t[ga("0x6c")](0);return e.is(ga("0x74"),ga("0xd"))&&e[ga("0x2d")]}function pa(t,e={},n){for(const{isAnchor:r,cellHeight:i,cellWidth:o}of n.createTableWalker(t,{includeAllSlots:!0,...e}))if(!r||1!=i||1!=o)return!1;return!0}const Ea=["resizeTableWidth","selection","TrackChangesEditing","discard","getAttribute","author","plugins","getTableColumnsWidths","format","accept","getSuggestionCallback","data","subType","getContainedElement","*Format:* resize table","registerCustomCallback","commandParams","getSelectedElement","columnWidths","get","formatGroupId","editor","handleSuggestionDescription","_descriptionFactory","bind","document","Users","change","tableWidth","has","getColumnGroupElement","afterInit","resizeTable","type","formatBlock","registerDescriptionCallback","_suggestionFactory"];var _a,Ta;_a=Ea,Ta=188,function(t){for(;--t;)_a.push(_a.shift())}(++Ta);const ya=function(t,e){return Ea[t-=0]};class Ca extends t.Plugin{[ya("0x1c")](){if(!this[ya("0x12")][ya("0x3")][ya("0x1a")]("TableColumnResizeEditing"))return;const t=this[ya("0x12")][ya("0x3")].get("TrackChangesEditing");t.enableCommand(ya("0x22"),this.handleResizeTableWidthCommand[ya("0x15")](this)),t[ya("0x21")][ya("0xc")](ya("0x1f"),ya("0x1d"),"accept",t[ya("0x21")][ya("0x7")](ya("0x1f"),null,"discard")),t[ya("0x21")][ya("0xc")]("formatBlock",ya("0x1d"),ya("0x0"),t[ya("0x21")][ya("0x7")](ya("0x1f"),null,ya("0x6"))),t[ya("0x14")][ya("0x20")](this[ya("0x13")].bind(this))}handleResizeTableWidthCommand(t,e){const n=this.editor[ya("0x3")][ya("0x10")](ya("0x24")),r=this.editor.plugins.get("TableColumnResizeEditing"),i=e.table||this[ya("0x12")].model[ya("0x16")][ya("0x23")][ya("0xe")]();this[ya("0x12")].model[ya("0x18")]((()=>{const o=r[ya("0x1b")](i);let s=o?r[ya("0x4")](o):null,x=i[ya("0x1")](ya("0x19"))||null;const a=e[ya("0x19")]||x,c=e[ya("0xf")]||s,l=this.editor.plugins[ya("0x10")](ya("0x17")).me;for(const t of n.getSuggestions()){const e=t[ya("0xa")]();if(ya("0x1d")===t[ya("0x9")]&&e===i){t[ya("0x2")]!==l&&t[ya("0x0")]();const e=t[ya("0x8")][ya("0xd")];x=e[0][ya("0x19")],s=e[0].columnWidths;break}}t({table:i,tableWidth:a,columnWidths:c}),n.markBlockFormat(i,{commandName:"resizeTableWidth",commandParams:[{tableWidth:x,columnWidths:s}],formatGroupId:ya("0x1d")},[],ya("0x1d"))}))}[ya("0x13")](t){if("formatBlock"!=t[ya("0x1e")]&&"formatInline"!=t[ya("0x1e")])return;const{data:e}=t;if(e&&ya("0x1d")===e[ya("0x11")]){const t=ya("0xb");return{type:ya("0x5"),content:Qr(this.editor.locale,t)}}}}const Aa=["get","has","plugins","editor","afterInit","enableCommand"];var ka,Ia;ka=Aa,Ia=224,function(t){for(;--t;)ka.push(ka.shift())}(++Ia);const Ra=function(t,e){return Aa[t-=0]};class Sa extends t.Plugin{[Ra("0x2")](){const t=this[Ra("0x1")];t[Ra("0x0")][Ra("0x5")]("Template")&&t.plugins[Ra("0x4")]("TrackChangesEditing")[Ra("0x3")]("insertTemplate")}}const va=["enableCommand","tableOfContents","editor","insertTableOfContents","afterInit","TrackChangesEditing","_descriptionFactory","get","registerElementLabel","plugins"];var Na,La;Na=va,La=490,function(t){for(;--t;)Na.push(Na.shift())}(++La);const Ma=function(t,e){return va[t-=0]};class wa extends t.Plugin{[Ma("0x4")](){const t=this[Ma("0x2")];if(!t.commands[Ma("0x7")](Ma("0x3")))return;t[Ma("0x9")][Ma("0x7")](Ma("0x5"))[Ma("0x0")]("insertTableOfContents");const e=t[Ma("0x9")][Ma("0x7")](Ma("0x5")),n=t.locale;e[Ma("0x6")][Ma("0x8")](Ma("0x1"),(t=>Qr(n,"ELEMENT_TABLE_OF_CONTENTS",t)))}}const Oa=["schema","document","has","editor","differ","_splitMarkerName","TrackChangesEditing","registerElementLabel","createRange","afterInit","getChangedMarkers","forward","element","isEqual","from","isTouching","end","title-content","ELEMENT_TITLE","registerPostFixer","isCollapsed","getNearestSelectionRange","model","start","suggestion","newRange","plugins"];var Fa,Da;Fa=Oa,Da=429,function(t){for(;--t;)Fa.push(Fa.shift())}(++Da);const Pa=function(t,e){return Oa[t-=0]};class Ba extends t.Plugin{[Pa("0xc")](){const t=this[Pa("0x6")];if(!t[Pa("0x2")][Pa("0x5")]("Title"))return;const e=t[Pa("0x2")].get(Pa("0x9"));e._descriptionFactory[Pa("0xa")](Pa("0x14"),(()=>Qr(t.locale,Pa("0x15")))),t[Pa("0x19")][Pa("0x4")][Pa("0x16")]((n=>{let r=!1;const i=Array[Pa("0x11")](t[Pa("0x19")][Pa("0x4")][Pa("0x7")][Pa("0xd")]());for(const{name:o,data:s}of i){const{group:i}=e[Pa("0x8")](o);if(Pa("0x0")!==i||!s[Pa("0x1")])continue;const x=s[Pa("0x1")],a=x[Pa("0x13")].nodeBefore;if(!a||!a.is(Pa("0xf"),"title-content"))continue;if(!x[Pa("0x1a")][Pa("0x12")](x[Pa("0x13")]))continue;const c=t[Pa("0x19")][Pa("0x3")][Pa("0x18")](x.end,Pa("0xe"));if(c&&c[Pa("0x17")]){const t=n[Pa("0xb")](x.start,c[Pa("0x1a")]);t[Pa("0x10")](x)||(n.updateMarker(o,{range:t}),r=!0)}r||(n.removeMarker(o),r=!0)}return r}))}}const Ua=["undo","editor","UndoEditing","enableCommand","plugins","has","TrackChangesEditing","afterInit","get"];var ja,Ga;ja=Ua,Ga=396,function(t){for(;--t;)ja.push(ja.shift())}(++Ga);const Va=function(t,e){return Ua[t-=0]};class Ha extends t.Plugin{[Va("0x7")](){const t=this[Va("0x1")],e=t[Va("0x4")][Va("0x8")](Va("0x6"));t.plugins[Va("0x5")](Va("0x2"))&&(e[Va("0x3")](Va("0x0")),e.enableCommand("redo"))}}const za=["plugins","afterInit","TableCaptionEditing","editor","has","enableCommand","TrackChangesEditing","get"];var Wa,Ka;Wa=za,Ka=238,function(t){for(;--t;)Wa.push(Wa.shift())}(++Ka);const qa=function(t,e){return za[t-=0]};class Xa extends t.Plugin{static get requires(){return[Qx]}[qa("0x3")](){const t=this[qa("0x5")];t[qa("0x2")][qa("0x6")](qa("0x4"))&&t.plugins[qa("0x1")](qa("0x0"))[qa("0x7")]("toggleTableCaption")}}const $a=["tableCellWidth","_suggestionFactory","batch","get","format","getSuggestionCallback","enqueueChange","start","formatBlock","markBlockFormat","editor","subType","afterInit","setAttribute","plugins","pluginName","nodeAfter","join","discard","tableCellPadding","tableCellProperties","TablePropertiesEditing","tableBorderWidth","data","tableCellVerticalAlignment","tableBorderColor","tableCellBorderWidth","registerCustomCallback","tableCellBackgroundColor","getFirstPosition","tableWidth","document","_handlePropertyChange","tableCellHeight","_descriptionFactory","_getSuggestion","accept","tableProperties","TableCellPropertiesEditing","has","*Format:* change table cell properties","TrackChangesEditing","getAttribute","enableCommand","handleDiscardAction","registerDescriptionCallback","findAncestor","handleSuggestionDescription","getContainedElement","model","getSelectionAffectedTableCells","commandParams","table"];var Za,Ya;Za=$a,Ya=173,function(t){for(;--t;)Za.push(Za.shift())}(++Ya);const Qa=function(t,e){return $a[t-=0]};class Ja extends t.Plugin{constructor(t){super(t),this[Qa("0x17")]=[Qa("0xb"),"tableBorderStyle",Qa("0x8"),"tableAlignment",Qa("0x10"),"tableHeight","tableBackgroundColor"],this.tableCellProperties=["tableCellBorderColor","tableCellBorderStyle",Qa("0xc"),Qa("0x5"),Qa("0x27"),Qa("0x13"),Qa("0xe"),"tableCellHorizontalAlignment",Qa("0xa")]}static get[Qa("0x1")](){return"TrackChangesTableProperties"}[Qa("0x33")](){const t=this[Qa("0x31")].plugins[Qa("0x2a")](Qa("0x1b"));if(this[Qa("0x31")].plugins[Qa("0x19")](Qa("0x7"))){for(const e of this.tableProperties)t[Qa("0x1d")](e,((t,n)=>{const r=this[Qa("0x31")][Qa("0x23")][Qa("0x11")].selection[Qa("0xf")]()[Qa("0x20")](Qa("0x26"));this[Qa("0x12")](e,[r],this[Qa("0x17")],"tableProperties",t,n)}));t[Qa("0x28")][Qa("0xd")]("formatBlock","tableProperties","accept",t[Qa("0x28")][Qa("0x2c")](Qa("0x2f"),null,Qa("0x4"))),t._suggestionFactory[Qa("0xd")](Qa("0x2f"),"tableProperties",Qa("0x4"),((t,e)=>this[Qa("0x1e")](this[Qa("0x17")],t,e))),t[Qa("0x28")][Qa("0xd")](Qa("0x2f"),Qa("0x17"),Qa("0x3"),(()=>!1))}if(this[Qa("0x31")][Qa("0x0")][Qa("0x19")](Qa("0x18"))){for(const e of this[Qa("0x6")])t[Qa("0x1d")](e,((t,n)=>{const r=this.editor[Qa("0x0")][Qa("0x2a")]("TableUtils")[Qa("0x24")](this[Qa("0x31")][Qa("0x23")][Qa("0x11")].selection);this[Qa("0x12")](e,r,this.tableCellProperties,Qa("0x6"),t,n)}));t._suggestionFactory[Qa("0xd")]("formatBlock","tableCellProperties",Qa("0x16"),t[Qa("0x28")][Qa("0x2c")](Qa("0x2f"),null,Qa("0x4"))),t[Qa("0x28")].registerCustomCallback(Qa("0x2f"),"tableCellProperties",Qa("0x4"),((t,e)=>this[Qa("0x1e")](this[Qa("0x6")],t,e))),t[Qa("0x28")][Qa("0xd")](Qa("0x2f"),Qa("0x6"),Qa("0x3"),(()=>!1))}t[Qa("0x14")][Qa("0x1f")]((t=>this[Qa("0x21")](t)))}[Qa("0x12")](t,e,n,r,i,o){const s=this[Qa("0x31")][Qa("0x0")][Qa("0x2a")](Qa("0x1b"));this[Qa("0x31")][Qa("0x23")][Qa("0x2d")](o[Qa("0x29")],(()=>{for(const t of e)if(this[Qa("0x15")](t,r))i(o);else{const e={};for(const r of n){const n=t[Qa("0x1c")](r);void 0!==n&&(e[r]=n)}i(o),s[Qa("0x30")](t,{commandParams:[e]},[],r)}}))}[Qa("0x1e")](t,e,n){const r=e[0][Qa("0x2e")][Qa("0x2")],i=n[Qa("0x25")][0];this[Qa("0x31")][Qa("0x23")].change((e=>{for(const n of t)void 0!==i[n]?e[Qa("0x34")](n,i[n],r):e.removeAttribute(n,r)}))}[Qa("0x21")](t){if(t[Qa("0x9")])switch(t[Qa("0x32")]){case"tableProperties":return{type:Qa("0x2b"),content:Qr(this[Qa("0x31")].locale,"*Format:* change table properties")};case"tableCellProperties":return{type:"format",content:Qr(this[Qa("0x31")].locale,Qa("0x1a"))}}}[Qa("0x15")](t,e){const n=this[Qa("0x31")][Qa("0x0")][Qa("0x2a")]("TrackChangesEditing");for(const r of n.getSuggestions({skipNotAttached:!0})){const n=r[Qa("0x22")]();if(r[Qa("0x32")]===e&&n===t)return r}return null}}var tc=Function.prototype,ec=Object.prototype,nc=tc.toString,rc=ec.hasOwnProperty,ic=nc.call(Object);const oc=function(t){if(!xe(t)||"[object Object]"!=gt(t))return!1;var e=xn(t);if(null===e)return!0;var n=rc.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&nc.call(n)==ic};const sc=function(t){return oc(t)?void 0:t};var xc=it?it.isConcatSpreadable:void 0;const ac=function(t){return ge(t)||de(t)||!!(xc&&t&&t[xc])};const cc=function t(e,n,r,i,o){var s=-1,x=e.length;for(r||(r=ac),o||(o=[]);++s<x;){var a=e[s];n>0&&r(a)?n>1?t(a,n-1,r,i,o):sn(o,a):i||(o[o.length]=a)}return o};const lc=function(t){return(null==t?0:t.length)?cc(t,1):[]};const uc=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)};var dc=Math.max;const gc=function(t,e,n){return e=dc(void 0===e?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=dc(r.length-e,0),s=Array(o);++i<o;)s[i]=r[e+i];i=-1;for(var x=Array(e+1);++i<e;)x[i]=r[i];return x[e]=n(s),uc(t,this,x)}};const fc=function(t){return function(){return t}};const hc=ee?function(t,e){return ee(t,"toString",{configurable:!0,enumerable:!1,value:fc(e),writable:!0})}:function(t){return t};var mc=Date.now;const bc=function(t){var e=0,n=0;return function(){var r=mc(),i=16-(r-n);if(n=r,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(hc);const pc=function(t){return bc(gc(t,void 0,lc),t+"")}((function(t,e){var n={};if(null==t)return n;var r=!1;e=ur(e,(function(e){return e=mr(e,t),r||(r=e.length>1),e})),oe(t,dn(t),n),r&&(n=tr(n,7,sc));for(var i=e.length;i--;)Wr(n,e[i]);return n})),Ec=["_removeSuggestion","insert","isAtEnd","_setSuggestionData","isUndo","format","isMultiRange","discardAllSuggestions","suggestion","getRanges","_splitMarkerName","getChanges","reconvertMarker","trackChanges.trackFormatChanges","track-changes-suggestion-data-mismatch","root","deletion:join","ck-suggestion-marker-","getSuggestions","_getExternalAuthor","_handleNewSuggestionMarker","options","lowest","size","notReady","track-changes-adapter-already-set","isLimit","_reduceExistingSuggestions","getAllAdjacentSuggestions","stop","trackChangesCommand","_breakSuggestionMarker","removeMarkers","addMarker","markDeletion","getSuggestion","push","_createSuggestion","document","PENDING_ACTION_SUGGESTION","getCommentThread","substring","some","registerPostFixer","_blockAttributeKeys","_isForcedDefaultExecutionBlock","backward","always","markMultiRangeBlockFormat","key","attribute:join","multi","widget","_getSuggestionData","_descriptionFactory","getShiftedBy","$elementName","FORMATTING","editingDowncast","attribute:accept","_getAuthorFromId","Users","_checkSuggestionCorrectness","startsWith","PendingActions","differ","getFirstMarker","insertion","createSelection","_recordAttributeChanges","isEqual","_isRegisteredAttribute","_registerDefaultCallbacks","isTouching","split","_rangeIsInLocalUserInsertion","hasComments","getMarkers","isDocumentOperation","position","updateMarker","attributeNewValue","getChangedMarkers","addMarkerName","formatInline","deletion:","attribute","_findSuggestions","keys","getSuggestionCallback","_enableDefaultAttributesIntegration","formatGroupId","isInsideObject","formatBlock:","from","type","clone","createPositionAfter","unbindElementFromMarkerName","element","_updateSuggestionData","addMarker:suggestion:formatBlock","isOwn","_model","assign","addSuggestionData","values","rejected","change","documentSelection","_refreshSuggestionsChain","isAfter","after","addCommentThread","consume","getNearestSelectionRange","updateSuggestion","isObject","find","commandName","pluginName","getDifference","getUser","data","_onDiscard","accept","range","createRange","LEAVE","set","name","head","forEach","ENTER","writer","_saved","default","markMultiRangeDeletion","creator","groupId","author","activeMarkers","_recordAttributeSuggestions","removed","toUpperCase","warn","selection","setAttribute","previous","acceptSuggestion","_processAttributeChanges","$marker","rethrowUnexpectedError","_customCallbacks","acceptAllSuggestions","join","deletion","containerElement","_mergeNestedSuggestions","fromRange","formatInline:discard","data-suggestion","value","getWalker","track-changes-adapter-missing-getsuggestion","_isDataLoaded","multipleBlocks","getMultiRangeId","formatInline:","removeMarker","markerName","discard","_processAttributeSuggestions","adapter","containsRange","plugins","_cutOutSuggestionMarker","dataDowncast","suggestion:attribute:","_adapter","open","moveTargetPosition","createPositionBefore","accepted","isRemovable","isBlock","getItems","_registerInlineAttribute","collaboration.channelId","markers","attribute:discard","addRange","getIntersection","createElement","isIntersectingWithRange","_setSuggestionRange","suggestion:","_trackFormatChanges","for","filter","isNextTo","splitPosition","end","every","addMarker:suggestion","never","enqueueChange","ck-suggestion-marker-formatInline","length","resolve","unshift","execute","nodeBefore","schema","_isBlockAttribute","trackChanges","discardSuggestion","isArray","sort","getLastMatchingPosition","getCustomProperty","addMarker:suggestion:attribute","refresh","ready","elementToElement","buildSuggestion","track-changes-suggestion-not-found","$text","hasCommentThread","oldValue","ck-suggestion-marker-formatBlock","conversion","has","suggestionLoaded","dataReady","removeComment","containsRangeInObject","pop","before","next","$graveyard","removeMarker:suggestion:attribute","bindElementToMarker","applyOperation","listenTo","createdAt","define","dataToMarker","addHighlight","remove","item","_defaultCallbacks","removeClass","_editor","isCollapsed","editor","locale","_initAriaMarkerChangeAnnouncements","createRangeOn","update:suggestion","discardSelectedSuggestions","isInContent","isLocal","addClass","newRange","getFirstRange","stopListening","_enabledCommands","_inlineAttributeKeys","_addSuggestionMarker","elementEnd","formatBlock","delete","_joinWithAdjacentSuggestions","addUser","_SUGGESTION_ANNOUNCEMENT","@external","markerNameToElements","insertion:chain","requires","markMultiRangeInsertion","originalSuggestionId","getContainedElement","start","highest","suggestionChanged","config","clear","detach","addSuggestion","external:","formatInline:join","deletion:chain","isBefore","formatInline:chain","getAttribute","nodeAfter","markBlockFormat","commands","batch","get","isIntersecting","ck-suggestion-marker","insertion:discard","deletion:discard","markInsertion","tablePasteChainId","splice","attributes","includes","toViewElement","consumable","enableReadOnlyMode","howMany","getRange","_suggestions","catch","rename","setSelection","forceDefaultExecution","model","add","unbind","attribute:","_suggestionFactory","markerToData","containsPosition","_commentsRepository","_element","high","marker-count","return","commentThread","insertContent","showSuggestionHighlights","TrackChangesEditing","isAtStart","mapper","upcast","rootName","attributeOldValue","parent","authorName","normal","map","subType","_registerBlockAttribute","_getMarkerAnnouncementText","_reduceSuggestionAttributeRange","fetchCommentThread","_getAttributeKey","change:data","attributeKey","CommentsRepository","createPositionAt","_joinSuggestions","ck-suggestion-marker--active","formatBlock:discard","registerCustomCallback","_refreshAttributeSuggestionsChain","isExternal","then","getAncestors","enableCommand","removeAttribute","oldRange","fire","_addThreadToSuggestion","markAttributeChange","skipNestingCheck","_suggestionState","acceptSelectedSuggestions","setTo"];var _c,Tc;_c=Ec,Tc=457,function(t){for(;--t;)_c.push(_c.shift())}(++Tc);const yc=function(t,e){return Ec[t-=0]},Cc=yc("0x159");class Ac extends t.Plugin{static get[yc("0xc3")](){return[yc("0x10d"),o.Users,t.PendingActions,ai,gi,Ei,Ai,Fi,Ni,ji,Ki,io,Ao,vo,Fo,jo,Ko,Yo,ns,xs,ds,ys,bs,Rs,Ms,Ps,qs,tx,Vs,co,mo,ox,lx,hx,_x,Ix,Lx,Dx,Vx,qx,Qx,ia,ca,Xa,ma,Ca,wa,Ja,Sa,Ba,Ha]}static get[yc("0x24")](){return yc("0xfb")}constructor(t){function e(t){return t[yc("0x104")]((t=>String.fromCharCode(t)))[yc("0x47")]("")}super(t),this[yc("0x3a")]=!1,this[yc("0x2d")](yc("0x39"),[]),this.on("change:activeMarkers",((e,n,r,i)=>{this[yc("0x13")][yc("0x18")]((()=>{for(const e of[...i,...r])this[yc("0x13")][yc("0x69")][yc("0x94")](e)&&t.editing[yc("0x12d")](e)}))})),this[yc("0x157")]=new ri(this[yc("0xab")][yc("0xec")][yc("0x81")],this[yc("0xab")].locale),this._adapter=null,this[yc("0xf0")]=new kc(this[yc("0xab")]),this[yc("0xe7")]=new Map,this[yc("0xf3")]=t[yc("0x5b")][yc("0xd8")](yc("0x10d")),this[yc("0xb7")]=new Set,this._model=this[yc("0xab")][yc("0xec")],this._suggestionState=new WeakMap,this[yc("0x14e")]=!1,this[yc("0x14d")]=new Set(["$elementName"]),this[yc("0xb8")]=new Set,t[yc("0xca")].define("trackChanges.trackFormatChanges",yc("0x34")),this[yc("0x71")]=t.config[yc("0xd8")](yc("0x12e")),t.config[yc("0xa2")]("trackChanges.mergeNestedSuggestions",!0),this._mergeNestedSuggestions=t.config[yc("0xd8")]("trackChanges.mergeNestedSuggestions"),this[yc("0x13f")]=new d(t,this[yc("0xb7")]),this._initAriaMarkerChangeAnnouncements(),this[e([95,101,120,101,99,117,116,101,83,117,103,103,101,115,116,105,111,110])]=e([52,48,52,56,48,52,49,52])}init(){const t=this[yc("0xab")],n=(t,e)=>{if(yc("0x2")!=t)return yc("0x132")+t;const n=e[yc("0x16b")]("|")[0];return this[yc("0x82")](n)?yc("0x92"):yc("0x7b")};t.conversion[yc("0x72")](yc("0x15b")).markerToHighlight({model:yc("0x129"),view:t=>{const{id:e,type:r,subType:i}=this[yc("0x12b")](t[yc("0x56")]),o=[yc("0xda"),n(r,i)];let s=3e3;return this.activeMarkers.includes(t[yc("0x56")])&&(o[yc("0x145")](yc("0x110")),s=3010),yc("0x48")==r&&(s+=5),{classes:o,attributes:{"data-suggestion":e},priority:s}}}),t.conversion[yc("0x72")](yc("0x5d"))[yc("0xed")]((e=>{e.on(yc("0x78"),((e,n,r)=>{if(!r[yc("0x136")][yc("0xfa")])return;const i=n[yc("0xa6")];if(!i)return;const o=r.mapper.toViewElement(i);t[yc("0xec")][yc("0x81")].isObject(i)&&o&&!o[yc("0x88")](yc("0x155"))&&o.is(yc("0x49"))&&(0,x.toWidget)(o,r[yc("0x32")])}),{priority:"high"})})),t[yc("0x93")][yc("0x72")](yc("0x5d")).markerToHighlight({model:"suggestion",view:(t,e)=>{if(!e.options[yc("0xfa")])return null;const{type:r,subType:i}=this[yc("0x12b")](t[yc("0x56")]);return{classes:["ck-suggestion-marker",n(r,i)],priority:3e3}}});const r=({showActiveMarkers:e=!0,isAttributeSuggestion:n=!1}={})=>(r,i,o)=>{if(!i[yc("0xa6")])return;const{id:s}=this[yc("0x12b")](i[yc("0x56")]);if(n){const t=this._suggestions[yc("0xd8")](s),e=this[yc("0x10a")](t);if(!this[yc("0x82")](e))return}if(i[yc("0xa6")].is(yc("0x3e")))return void o[yc("0xe3")][yc("0x1e")](i.item,r[yc("0x2e")]);const x=o[yc("0xfd")][yc("0xe2")](i[yc("0xa6")]);if(i.item.is("element")&&t[yc("0xec")].schema[yc("0x65")](i[yc("0xa6")])&&!x[yc("0x88")](yc("0xa4"))){o[yc("0x32")][yc("0xb3")]([yc("0xda"),yc("0x92")],x),o.writer.setAttribute("data-suggestion",s,x),o[yc("0xfd")][yc("0x9e")](x,i.markerName),e&&(this.activeMarkers.includes(i[yc("0x56")])?o[yc("0x32")].addClass(yc("0x110"),x):o[yc("0x32")].removeClass("ck-suggestion-marker--active",x));for(const e of t.model.createRangeIn(i[yc("0xa6")])[yc("0x66")]())o[yc("0xe3")][yc("0x1e")](e,r.name);o.consumable[yc("0x1e")](i[yc("0xa6")],r.name)}};t.conversion[yc("0x72")](yc("0x5d"))[yc("0xed")]((t=>{t.on(yc("0x11"),((t,e,n)=>{n[yc("0x136")][yc("0xfa")]&&r({showActiveMarkers:!1})(t,e,n)}),{priority:yc("0xc8")})})),t.conversion[yc("0x72")](yc("0x5d"))[yc("0xed")]((t=>{t.on(yc("0x89"),((t,e,n)=>{n.options[yc("0xfa")]&&r({showActiveMarkers:!1,isAttributeSuggestion:!0})(t,e,n)}),{priority:yc("0xc8")})})),t[yc("0x93")][yc("0x72")](yc("0x5d"))[yc("0xf1")]({model:yc("0x129"),view:(t,e)=>e[yc("0x136")][yc("0xfa")]?null:{group:"suggestion",name:t.substr(11)}}),t[yc("0x93")].for(yc("0xfe"))[yc("0x8c")]({view:{name:yc("0x129"),attributes:{id:/^\w/,"suggestion-type":/^\w/}},model:(t,{writer:e})=>{let n=yc("0x70")+t.getAttribute("suggestion-type")+":"+t[yc("0xd3")]("id");return t.getAttribute(yc("0xf6"))&&(n+=":"+t[yc("0xd3")](yc("0xf6"))),e[yc("0x6d")](yc("0x43"),{"data-name":n})}}),t.conversion.for("upcast")[yc("0xa3")]({view:yc("0x129")}),t[yc("0x93")][yc("0x72")](yc("0x15b")).add((t=>{t.on(yc("0x11"),r(),{priority:yc("0xf5")})})),t.conversion[yc("0x72")](yc("0x15b"))[yc("0xed")]((t=>{t.on("addMarker:suggestion:attribute",r({isAttributeSuggestion:!0}),{priority:yc("0xf5")})})),t.conversion.for(yc("0x15b")).add((t=>{t.on("removeMarker:suggestion:formatBlock",((t,e,n)=>{const r=n[yc("0xfd")][yc("0xc1")](e[yc("0x56")]);if(r)for(const t of r)t[yc("0x88")](yc("0xa4"))||(n[yc("0x32")].removeClass([yc("0xda"),"ck-suggestion-marker-formatBlock",yc("0x110")],t),n.writer[yc("0x118")](yc("0x4d"),t),n[yc("0xfd")].unbindElementFromMarkerName(t,e.markerName))}),{priority:yc("0xf5")})})),t.conversion[yc("0x72")]("editingDowncast")[yc("0xed")]((t=>{t.on(yc("0x9d"),((t,e,n)=>{const r=n[yc("0xfd")][yc("0xc1")](e.markerName);if(!r)return;const{id:i}=this[yc("0x12b")](e[yc("0x56")]),o=this._suggestions[yc("0xd8")](i),s=this._getAttributeKey(o);if(this._isBlockAttribute(s))for(const t of r)t[yc("0x88")](yc("0xa4"))||(n[yc("0x32")][yc("0xa8")]([yc("0xda"),"ck-suggestion-marker-formatBlock","ck-suggestion-marker--active"],t),n[yc("0x32")][yc("0x118")](yc("0x4d"),t),n[yc("0xfd")][yc("0xe")](t,e[yc("0x56")]))}),{priority:yc("0xf5")})})),t[yc("0xec")][yc("0x147")].registerPostFixer((e=>{let n=!1;const r=Array[yc("0xa")](t.model.document.differ.getChangedMarkers()),i=new Set;for(const{name:x,data:a}of r){const{group:r,type:c,subType:l,id:u}=this[yc("0x12b")](x);if(yc("0x129")!==r)continue;const d=this[yc("0xe7")][yc("0xd8")](u);if(null!=a[yc("0xb4")]){"formatInline"==c&&(n=n||Sc(a[yc("0xb4")],x,e,t[yc("0xec")][yc("0x81")]));const r=yc("0x2")==c&&this._isBlockAttribute(l[yc("0x16b")]("|")[0]);if(a[yc("0xb4")][yc("0xaa")]||yc("0x9c")==a[yc("0xb4")][yc("0x130")][yc("0xff")]||yc("0xbb")==c&&!Nc(a.newRange)||r&&!Nc(a[yc("0xb4")])||"deletion"==c&&(Rc(s=a.newRange)||(o=s).start[yc("0x101")]==o[yc("0x76")].nodeBefore&&o[yc("0xc7")].isAtEnd))e.removeMarker(x),n=!0;else{if(!d||!d.isInContent)continue;i[yc("0xed")](d)}}}var o,s;return i[yc("0x138")]>0&&(n=!!this._joinWithAdjacentSuggestions(i)||n),n})),t[yc("0xec")].document[yc("0x14c")]((e=>{let n=!1;for(const r of t[yc("0xec")][yc("0x147")].differ.getChanges())if(yc("0x122")==r[yc("0xb")])for(const r of this[yc("0xe7")][yc("0x16")]()){if(r.isMultiRange||!r.isInContent)continue;const i="formatBlock"==r[yc("0xb")],o=this[yc("0x10a")](r),s=o&&this[yc("0x82")](o);if(!i&&!s)continue;const x=r.getFirstRange();if(x[yc("0xc7")].parent!=x.end[yc("0x101")]&&!x[yc("0x76")][yc("0x123")]){const i=t[yc("0xec")][yc("0x10e")](x[yc("0xc7")][yc("0xd4")],yc("0x76")),o=t[yc("0xec")][yc("0x2b")](x[yc("0xc7")],i);e[yc("0x171")](r.getFirstMarker(),{range:o}),n=!0}}return n})),t.model[yc("0x147")][yc("0x14c")]((t=>this._processAttributeChanges(t))),t[yc("0xec")][yc("0x147")][yc("0x14c")]((t=>!t[yc("0xd7")][yc("0xb2")]&&this[yc("0x58")](t))),t.model.on("_afterChanges",(()=>{this[yc("0x3a")]=!1})),t[yc("0xec")].document.on("change:data",((n,r)=>{if(!r.isLocal||r.isUndo)return;if(!this._recordAttributeSuggestions)return;const i=t.model[yc("0x147")][yc("0x162")][yc("0x12c")]();if(0==i[yc("0x7c")])return;const o=[],s=i[yc("0x73")]((t=>yc("0x2")==t.type)),x=i[yc("0x73")]((t=>yc("0x122")==t[yc("0xb")]&&yc("0x8f")!=t[yc("0x2e")])),a=i[yc("0x73")]((t=>yc("0xa5")==t.type&&yc("0x8f")!=t[yc("0x2e")]));for(const e of s)this._isRegisteredAttribute(e.attributeKey)&&o[yc("0x145")]({key:e[yc("0x10c")],newValue:e[yc("0x172")],oldValue:e.attributeOldValue,range:Lc(e[yc("0x2a")],t.model)});for(const e of x){const n=a.find((t=>t[yc("0xf4")]===e._element));if(n){const r=Mc(e[yc("0x170")][yc("0xd4")],t[yc("0xec")]);n[yc("0x2e")]!==e.name&&o[yc("0x145")]({key:yc("0x159"),newValue:e.name,oldValue:n[yc("0x2e")],range:r});for(const[t,i]of n[yc("0xe0")]){if(!this[yc("0x168")](t))continue;const n=e[yc("0xe0")][yc("0xd8")](t);i!==n&&o[yc("0x145")]({key:t,newValue:n,oldValue:i,range:r})}for(const[t,i]of e[yc("0xe0")])this._isRegisteredAttribute(t)&&(n[yc("0xe0")][yc("0x94")](t)||o.push({key:t,newValue:i,oldValue:null,range:r}))}}0!=o[yc("0x7c")]&&t[yc("0xec")][yc("0x7a")](r,(t=>{const n=(0,e.uid)();for(const{range:t,key:e,oldValue:r,newValue:i}of o)this[yc("0x11c")](t,e,r,i,{groupId:n});this[yc("0x13c")](t,o)}))}),{priority:yc("0x137")}),t[yc("0xec")][yc("0x69")].on(yc("0xaf"),((t,e,n)=>{if(null==n){const{id:t}=this[yc("0x12b")](e[yc("0x2e")]),n=this._suggestions[yc("0xd8")](t);n&&n[yc("0x174")](e.name)}})),t.model[yc("0x147")].on(yc("0x10b"),(()=>{const e=Array[yc("0xa")](t[yc("0xec")][yc("0x147")][yc("0x162")][yc("0x173")]())[yc("0x73")]((t=>yc("0x129")===this[yc("0x12b")](t[yc("0x2e")]).group));if(0===e.length)return;e.sort(((t,e)=>{const n=t[yc("0x27")][yc("0x119")],r=e[yc("0x27")][yc("0x119")];return null===n&&null===r?0:null===n&&null!==r?-1:null!==n&&null===r?1:n[yc("0xc7")][yc("0xd1")](r.start)?-1:1}));const n=new Set,r=new Set;for(const{name:t,data:i}of e){const{id:e}=this[yc("0x12b")](t);if(null===i[yc("0x119")]){const e=this._handleNewSuggestionMarker(t);r[yc("0xed")](e)}else{const t=this[yc("0xe7")][yc("0xd8")](e);null!==i[yc("0xb4")]||t[yc("0xb1")]?(n[yc("0xed")](t[yc("0x2f")]),r[yc("0xed")](t)):this[yc("0x121")](t)}}r[yc("0x138")]>0&&this[yc("0x1a")](r);for(const t of n)this[yc("0x11a")](yc("0xc9"),t)})),t[yc("0xec")].on(yc("0x9f"),((e,n)=>{const r=n[0];if(!this._suggestions[yc("0x138")])return;if(!r[yc("0x16f")])return;if(r[yc("0xd7")][yc("0x125")]||!r[yc("0xd7")][yc("0xb2")])return;let i,o;switch(r[yc("0xb")]){case yc("0x122"):i=t[yc("0xec")][yc("0x10e")](r[yc("0x170")]),o=i[yc("0x158")](r[yc("0xe5")]);break;case yc("0x16b"):i=t[yc("0xec")][yc("0x10e")](r[yc("0x75")]),o=t[yc("0xec")].createPositionAt(r[yc("0x61")]);break;case"move":i=t.model.createPositionAt(r.targetPosition),o=i[yc("0x158")](r[yc("0xe5")]);break;default:return}const s=t[yc("0xec")].createRange(i,o);t.model[yc("0x18")]((()=>{for(const{suggestion:t,meta:e}of this._findSuggestions(s)){if(t[yc("0x127")])continue;if(yc("0x0")==t[yc("0xb")])continue;const n=this._getAttributeKey(t);if(n&&this[yc("0x82")](n)&&"split"!=r[yc("0xb")])continue;const x=t[yc("0x27")]&&t[yc("0x27")].multipleBlocks;(yc("0xbb")!=t.type||yc("0x16b")==r.type&&!x)&&(e[yc("0x98")]||yc("0x164")==t[yc("0xb")]&&e[yc("0x12")]||t.getFirstRange()[yc("0x5a")](s)&&this[yc("0x140")](t,i,o))}}))}),{priority:yc("0x137")}),t[yc("0xec")].on("deleteContent",((e,n)=>{const r=n[0],i=n[1];if(i&&i[yc("0xeb")])return;if(this[yc("0x14e")])return;if(!this[yc("0x13f")][yc("0x4e")])return;if(r[yc("0xaa")])return;const o=t.model.schema,{start:s,end:x}=r.getFirstRange(),a=s[yc("0xd4")]&&o[yc("0x13b")](s[yc("0xd4")])?null:o[yc("0x1f")](s,"forward"),c=x[yc("0x80")]&&o[yc("0x13b")](x[yc("0x80")])?null:o[yc("0x1f")](x,yc("0x14f")),l=t[yc("0xec")][yc("0x2b")](a?a.start:s,c?c[yc("0x76")]:x);t[yc("0xec")][yc("0x18")]((e=>{this[yc("0x143")](l);const n=t.model.schema[yc("0x1f")](l[yc("0xc7")]);r.is(yc("0x19"))?e[yc("0xea")](n):r[yc("0x120")](n)})),e[yc("0x13e")]()}),{priority:e.priorities[yc("0x103")]+10}),t[yc("0xec")].on("insertContent",((e,n)=>{const r=n[n[yc("0x7c")]-1];r&&r[yc("0xeb")]||this[yc("0x14e")]||this[yc("0x13f")][yc("0x4e")]&&(t.model.change((()=>{let r=t[yc("0xec")][yc("0xf9")](n[0],n[1],n[2],{forceDefaultExecution:!0});if(!r)return;e[yc("0xf7")]=r[yc("0xc")]();const i=r[yc("0x76")][yc("0x80")],o=t[yc("0xec")][yc("0x81")];i&&o[yc("0x65")](i)&&!o[yc("0x21")](i)&&(r=t.model[yc("0x2b")](r[yc("0xc7")],t[yc("0xec")][yc("0x10e")](i,"end"))),this[yc("0xdd")](r)})),e[yc("0x13e")]())}),{priority:"high"}),this.editor[yc("0xd6")][yc("0xed")](yc("0x83"),this[yc("0x13f")]),this.enableCommand(yc("0x83"));const i=new b(t,this[yc("0xe7")]);t[yc("0xd6")][yc("0xed")](yc("0x41"),i),this.enableCommand(yc("0x41"));const o=new y(t,this._suggestions);t[yc("0xd6")].add(yc("0x84"),o),this.enableCommand(yc("0x84")),t[yc("0xd6")][yc("0xed")]("acceptAllSuggestions",new F(t,i,this[yc("0xe7")])),this[yc("0x117")](yc("0x46")),t.commands[yc("0xed")](yc("0x128"),new F(t,o,this[yc("0xe7")])),this.enableCommand(yc("0x128")),t[yc("0xd6")][yc("0xed")]("acceptSelectedSuggestions",new j(t,i,this._suggestions)),this[yc("0x117")](yc("0x11f")),t[yc("0xd6")][yc("0xed")](yc("0xb0"),new j(t,o,this[yc("0xe7")])),this[yc("0x117")](yc("0xb0"));const s=t.plugins[yc("0xd8")](yc("0x10d"));this[yc("0xa0")](s,"addComment",((t,{threadId:e})=>{const n=this._suggestions[yc("0xd8")](e);n&&n.commentThread&&1===n[yc("0xf8")][yc("0x7c")]&&this[yc("0x10")](e,{hasComments:!0})}),{priority:"low"}),this.listenTo(s,yc("0x97"),((t,{threadId:e})=>{const n=this[yc("0xe7")].get(e);n&&n[yc("0xf8")]&&!n[yc("0xf8")][yc("0x7c")]&&this[yc("0x10")](e,{hasComments:!1})}),{priority:"low"})}set[yc("0x59")](t){if(this[yc("0x5f")])throw new e.CKEditorError(yc("0x13a"),this);this._adapter=t}get[yc("0x59")](){return this[yc("0x5f")]}[yc("0x133")]({skipNotAttached:t=!1,toJSON:e=!1}={}){const n=[];for(const e of this._suggestions.values())t&&!e[yc("0xb1")]||n.push(e);return e?n[yc("0x104")]((t=>t.toJSON())):n}[yc("0x144")](t){const n=this[yc("0xe7")][yc("0xd8")](t);if(!n)throw new e.CKEditorError(yc("0x8e"),this);return n}hasSuggestion(t){return this._suggestions[yc("0x94")](t)}[yc("0x15")](t){const{authorId:e,id:n,attributes:r}=t,[i,o]=t.type[yc("0x16b")](":"),s=this[yc("0xe7")][yc("0xd8")](n)||this[yc("0x146")](i,o,n,e,r);if(this[yc("0x11b")](s),this[yc("0x15f")](s,i,o||null,e),s[yc("0xa1")]=t.createdAt,s._isDataLoaded=!0,r&&r[yc("0xc0")]){const t=r[yc("0xc0")],e=this._getExternalAuthor(t[yc("0x102")]);s.authoredAt=t[yc("0xa1")],s[yc("0x38")]=e,s[yc("0x114")]=!0}else s.authoredAt=t[yc("0xa1")];switch(t[yc("0x27")]&&(s.data=t[yc("0x27")]),t[yc("0xe0")]&&(s[yc("0xe0")]=t[yc("0xe0")]),this[yc("0x5f")]&&this[yc("0x5f")][yc("0xcd")]||(s[yc("0x33")]=!0),this._suggestionState[yc("0xd8")](s)){case"notReady":this._suggestionState[yc("0x2d")](s,"dataReady");break;case"markerReady":s[yc("0xb1")]?(this[yc("0xbd")](new Set([s])),this[yc("0x1a")](new Set([s])),this[yc("0x11e")][yc("0x2d")](s,yc("0x8b")),this[yc("0x11a")]("suggestionLoaded",s)):this[yc("0x11e")][yc("0x2d")](s,yc("0x3b"))}return s}[yc("0x41")](t){this[yc("0xeb")]((()=>{this[yc("0xab")][yc("0xec")].change((()=>{for(const e of t[yc("0x13d")]())e[yc("0x29")]()}))}))}[yc("0x84")](t){this[yc("0xeb")]((()=>{this.editor.model[yc("0x18")]((()=>{for(const e of t.getAllAdjacentSuggestions())e.discard()}))}))}enableCommand(t,n){const r=this[yc("0xab")][yc("0xd6")][yc("0xd8")](t);if(!r)throw new e.CKEditorError("track-changes-command-not-found",this,{commandName:t});if(this[yc("0xb7")][yc("0x94")](r))throw new e.CKEditorError("track-changes-enable-command-twice",this,{commandName:t});this._enabledCommands.add(r),n&&r.on(yc("0x7f"),((t,e)=>{this[yc("0x13f")][yc("0x4e")]&&(this[yc("0x14e")]||(e.length>0&&e[e.length-1]&&e[e.length-1][yc("0xeb")]?e[yc("0x99")]():(t[yc("0xf7")]=n(((...t)=>r[yc("0x7f")](...t,{forceDefaultExecution:!0})),...e),t[yc("0x13e")]())))}),{priority:yc("0xf5")})}[yc("0xeb")](t){let n,r;const i=this[yc("0x14e")];this[yc("0x14e")]=!0;try{n=t()}catch(t){r=t}return i||(this[yc("0x14e")]=!1),r&&e.CKEditorError[yc("0x44")](r,this),n}[yc("0xdd")](t,n=null,r={}){if(t[yc("0xaa")])return null;const i=this[yc("0xab")].plugins[yc("0xd8")](yc("0x15e")).me;for(const{suggestion:e,meta:i}of this[yc("0x3")](t,yc("0x164")))if(i[yc("0x12")]){if(!i[yc("0x74")]){if(i[yc("0x98")]){if(!this[yc("0x4a")]||!Fc(e,r))continue;return e}if(Fc(e,r))return e;this._breakSuggestionMarker(e,t[yc("0xc7")],t.end);break}if(n==e[yc("0x105")]&&Fc(e,r)){const n=e[yc("0xb5")]();return n[yc("0xc7")][yc("0x167")](t[yc("0x76")])?this._setSuggestionRange(e,this[yc("0x13")][yc("0x2b")](t[yc("0xc7")],n[yc("0x76")])):this._setSuggestionRange(e,this[yc("0x13")][yc("0x2b")](n[yc("0xc7")],t[yc("0x76")])),e}}const o=(0,e.uid)(),s=i.id,x=n?"insertion:"+n:"insertion",a=this._setSuggestionData({id:o,type:x,createdAt:new Date,authorId:s,attributes:r});return this[yc("0xb9")](x,o,s,t),a}[yc("0xc4")](t,n=yc("0x154"),r={}){const i=this[yc("0xab")][yc("0x5b")][yc("0xd8")](yc("0x15e")).me,o=this[yc("0xf0")][yc("0x5")](yc("0x164"),n,yc("0x47"));for(const e of this[yc("0x133")]())if(e.author.id==i.id&&yc("0x164")==e.type&&e[yc("0x105")]==n&&Fc(e,r)&&(o(e.getRanges(),t)||o(t,e[yc("0x12a")]()))){for(const n of t)e[yc("0x6b")](n);return e}for(const{suggestion:e,meta:n}of this._findSuggestions(t,yc("0x164"))){if(!n[yc("0x12")])continue;if(!this[yc("0x4a")]&&n[yc("0x98")])continue;if(!Fc(e,r))continue;let i=!0;for(const n of e[yc("0x12a")]())for(const e of t)if(!n[yc("0x5a")](e)){i=!1;break}if(i)return e}const s=(0,e.uid)(),x=i.id,a="insertion:"+n,c=this._setSuggestionData({id:s,type:a,createdAt:new Date,authorId:x,attributes:r});for(const e of t)this[yc("0xb9")](a,s,x,e,Yr.getMultiRangeId());return c}markInlineFormat(t,n,r=null,i={}){if(r=r||vc(n),t.isCollapsed)return null;if(yc("0x79")===this[yc("0x71")]){const e=this[yc("0xf0")][yc("0x5")](yc("0x0"),r,yc("0x29"));return this.forceDefaultExecution((()=>e([t],n,i))),null}const o=this[yc("0xab")][yc("0x5b")][yc("0xd8")](yc("0x15e")).me,s=[];if("always"!==this[yc("0x71")])for(const{suggestion:e,meta:n}of this[yc("0x3")](t,"insertion"))n[yc("0x12")]&&!n[yc("0x8")]&&s[yc("0x145")](...e[yc("0x12a")]());const x=function(t,e){const n=[];for(const r of e){const e=t[yc("0x6c")](r);e&&n.push(e)}return n}(t,s),a=function(t,e){const n=[t];for(const t of e){let e=0;for(;e<n[yc("0x7c")];){const r=n[e][yc("0x25")](t);n.splice(e,1,...r),e+=r[yc("0x7c")]}}return n}(t,s);x[yc("0x7c")]&&this._model[yc("0x18")]((()=>{for(const t of x){const e=this[yc("0xf0")].getSuggestionCallback(yc("0x0"),r,yc("0x29"));this[yc("0xeb")]((()=>e([t],n,i)))}}));for(const t of a){let s=null,x=t[yc("0xc7")],a=t.end;for(const{suggestion:e,meta:n}of this[yc("0x3")](t,"formatInline")){if(!n[yc("0x12")])continue;if(e[yc("0x105")]!=r)continue;if(!Fc(e,i))continue;const o=e[yc("0xb5")]();if(o.containsRange(t,!0))return null;x=x[yc("0xd1")](o[yc("0xc7")])?x:o[yc("0xc7")],a=a[yc("0x1b")](o[yc("0x76")])?a:o[yc("0x76")],s?o[yc("0xc7")][yc("0xd1")](s[yc("0xb5")]().start)?(s[yc("0x141")](),s=e):e.removeMarkers():s=e}const c=this._model[yc("0x2b")](x,a);if(s)this[yc("0x6f")](s,c);else{const t=(0,e.uid)(),s=o.id;this._setSuggestionData({id:t,type:yc("0x54")+r,data:n,createdAt:new Date,authorId:s,attributes:i}),this[yc("0xb9")](yc("0x54")+r,t,s,c)}}return null}[yc("0xd5")](t,n,r=[],i=null,o={}){n[yc("0x7")]||(n[yc("0x7")]=n[yc("0x23")]),n[yc("0x52")]=t.is(yc("0x2a")),i=i||vc(n);const s=r[yc("0x104")]((t=>Mc(t,this[yc("0x13")]))),x=t.is("range")?t:Mc(t,this[yc("0x13")]);if("never"===this[yc("0x71")]){const t=this[yc("0xf0")].getSuggestionCallback("formatBlock",i,"accept");return this.forceDefaultExecution((()=>t([x],n,o))),null}s[yc("0x145")](x);let a=!0;for(const t of s)if(!this[yc("0x16c")](t)){a=!1;break}if(a&&yc("0x150")!==this._trackFormatChanges){const t=this[yc("0xf0")][yc("0x5")](yc("0xbb"),i,yc("0x29"));return this.forceDefaultExecution((()=>t([x],n,o))),null}let c=null,l=x[yc("0xc7")],u=x[yc("0x76")];for(const{suggestion:t,meta:e}of this[yc("0x3")](x,yc("0xbb"))){if(!e.isOwn)continue;if(e[yc("0x74")]||e.containsRangeInObject||e.isInsideObject)continue;if(t[yc("0x27")][yc("0x7")]!=n.formatGroupId)continue;if(!Fc(t,o))continue;const r=t[yc("0xb5")]();if(t[yc("0x105")]==i){if(r[yc("0x5a")](x,!0))return null;l=l[yc("0xd1")](r.start)?l:r[yc("0xc7")],u=u[yc("0x1b")](r[yc("0x76")])?u:r[yc("0x76")],c?r[yc("0xc7")][yc("0xd1")](c[yc("0xb5")]()[yc("0xc7")])?(c[yc("0x141")](),c=t):t[yc("0x141")]():c=t}else{const e=x[yc("0x6c")](r);this[yc("0x5c")](t,e)}}const d=this.editor.plugins.get(yc("0x15e")).me,g=(0,e.uid)(),f=d.id;if(c)return this[yc("0x6f")](c,this[yc("0x13")][yc("0x2b")](l,u)),c;{const t=this._setSuggestionData({id:g,type:yc("0x9")+i,data:n,createdAt:new Date,authorId:f,attributes:o});return this[yc("0xb9")]("formatBlock:"+i,g,f,this[yc("0x13")][yc("0x2b")](l,u)),t}}[yc("0x151")](t,n,r=[],i=null,o={}){n[yc("0x7")]||(n.formatGroupId=n[yc("0x23")]);const s=t[0];n.multipleBlocks=s.is(yc("0x2a")),i=i||vc(n);const x=r.map((t=>Mc(t,this[yc("0x13")]))),a=s.is(yc("0x2a"))?t:t[yc("0x104")]((t=>Mc(t,this._model)));if(yc("0x79")===this[yc("0x71")]){const t=this[yc("0xf0")][yc("0x5")](yc("0xbb"),i,"accept");return this[yc("0xeb")]((()=>t(a,n,o))),null}x[yc("0x145")](...a);let c=!0;for(const t of x)if(!this[yc("0x16c")](t)){c=!1;break}if(c&&"always"!==this[yc("0x71")]){const t=this._suggestionFactory.getSuggestionCallback("formatBlock",i,yc("0x29"));return this.forceDefaultExecution((()=>t(a,n,o))),null}const l=this[yc("0xab")][yc("0x5b")][yc("0xd8")](yc("0x15e")).me;for(const t of this.getSuggestions()){if(t[yc("0x38")].id!=l.id)continue;if(yc("0xbb")!=t[yc("0xb")]||t[yc("0x27")][yc("0x7")]!=n[yc("0x7")])continue;if(!Fc(t,o))continue;const e=t[yc("0x105")]==i;for(let n=0;n<a.length;n++){const r=a[n];for(const i of t[yc("0x16e")]()){const o=i[yc("0xe6")]();if(r[yc("0x167")](o)){e?(a[yc("0xdf")](n,1),n--):t[yc("0x55")](i.name);break}}}}if(0==a.length)return null;const u=this[yc("0xf0")].getSuggestionCallback(yc("0xbb"),i,"join");for(const t of this[yc("0x133")]())if(t.author.id==l.id&&yc("0xbb")==t[yc("0xb")]&&t[yc("0x27")].formatGroupId==n.formatGroupId&&t.subType==i&&Fc(t,o)&&(u(t.getRanges(),a)||u(a,t[yc("0x12a")]()))){for(const e of a)t[yc("0x6b")](e);return t}const d=(0,e.uid)(),g=l.id,f=yc("0x9")+i,h=this[yc("0x124")]({id:d,type:f,data:n,createdAt:new Date,authorId:g,attributes:o});for(const t of a)this._addSuggestionMarker(f,d,g,t,Yr[yc("0x53")]());return h}[yc("0x143")](t,n=null,r={}){if(t[yc("0xaa")])return null;const i=this.editor[yc("0x5b")].get(yc("0x15e")).me,o=new s.LiveRange(t[yc("0xc7")],t.end);for(const{suggestion:t,meta:e}of this._findSuggestions(o,yc("0x164")))if(e[yc("0x12")]&&!e[yc("0x74")])if(t[yc("0x127")]){const e=t[yc("0x12a")]().filter((t=>yc("0x9c")!=t[yc("0x130")][yc("0xff")]));if(e[yc("0x77")]((t=>o.containsRange(t,!0)))&&t[yc("0x57")](),e.some((t=>t[yc("0x5a")](o,!0)))){const t=this[yc("0xf0")].getSuggestionCallback(yc("0x48"),n,yc("0x29"));return this.forceDefaultExecution((()=>t([o],null,r))),null}}else{const e=o.getIntersection(t.getFirstRange());null!==e&&t[yc("0x28")]([e],null,r)}if(o[yc("0xcc")](),o[yc("0xaa")]||yc("0x9c")==o[yc("0x130")].rootName)return null;let x=null,a=o[yc("0xc7")],c=o[yc("0x76")];const l=this[yc("0x3")](o,"deletion");for(const{suggestion:t,meta:e}of l){const n=this[yc("0x13")][yc("0x2b")](a,c);if(e.isOwn&&(this[yc("0x4a")]||!e[yc("0x98")]&&!e[yc("0x8")]))if(t.isMultiRange){if(!Fc(t,r))continue;let e=!0;for(const r of t[yc("0x12a")]()){if(r[yc("0x5a")](n,!0))return t;n[yc("0x5a")](r)||(e=!1)}e&&t[yc("0x57")]()}else{const e=t[yc("0xb5")]();if(e[yc("0x5a")](n,!0))return t;if(!Fc(t,r)){n[yc("0x5a")](e)?t[yc("0x141")]():e[yc("0xf2")](a)?a=e[yc("0x76")]:e[yc("0xf2")](c)&&(c=e.start);continue}a=a[yc("0xd1")](e[yc("0xc7")])?a:e[yc("0xc7")],c=c[yc("0x1b")](e[yc("0x76")])?c:e[yc("0x76")],r=Object[yc("0x14")]({},t[yc("0xe0")]),x?e[yc("0xc7")][yc("0xd1")](x[yc("0xb5")]().start)?(x.removeMarkers(),x=t):t.removeMarkers():x=t}}if(x)return this[yc("0x6f")](x,this[yc("0x13")].createRange(a,c)),x;{const t=(0,e.uid)(),o=this[yc("0x13")].createRange(a,c),s=i.id,x=n?yc("0x1")+n:yc("0x48"),l=this._setSuggestionData({id:t,type:x,createdAt:new Date,authorId:s,attributes:r});return this[yc("0xb9")](x,t,s,o),l}}[yc("0x35")](t,n=yc("0x154"),r={}){const i=this[yc("0xab")][yc("0x5b")][yc("0xd8")](yc("0x15e")).me,o=t.map((t=>new s.LiveRange(t.start,t[yc("0x76")]))),x=new Set;for(const{suggestion:t,meta:e}of this._findSuggestions(o,yc("0x164")))e[yc("0x12")]&&!e[yc("0x74")]&&x.add(t);for(const e of x)if(e[yc("0x127")]){const i=e[yc("0x12a")]();if((!e[yc("0xe0")]||!e[yc("0xe0")][yc("0x11d")])&&i[yc("0x77")]((t=>o[yc("0x14b")]((e=>e[yc("0x5a")](t,!0)))))&&e.discard(),o[yc("0x77")]((t=>i[yc("0x14b")]((e=>e.containsRange(t,!0)))))){const e=this[yc("0xf0")][yc("0x5")]("deletion",n,yc("0x29"));return this.forceDefaultExecution((()=>e(t,null,r))),null}}else{const t=e[yc("0xb5")]();if(o[yc("0x14b")]((e=>e[yc("0x5a")](t,!0)))&&e[yc("0x57")](),o[yc("0x77")]((e=>t[yc("0x5a")](e,!0)))){const t=this._suggestionFactory[yc("0x5")](yc("0x48"),n,yc("0x29"));return this[yc("0xeb")]((()=>t(o,null,r))),null}}const a=this[yc("0xf0")][yc("0x5")](yc("0x48"),n,"join");let c=null;for(const t of this[yc("0x133")]())if(t[yc("0x38")].id==i.id&&t[yc("0xb1")]&&yc("0x48")==t[yc("0xb")]&&t[yc("0x105")]==n&&Fc(t,r)&&(a(t.getRanges(),o)||a(o,t[yc("0x12a")]())))if(c){if(t[yc("0xf8")]&&t[yc("0xf8")].length)continue;for(const e of t[yc("0x12a")]())c[yc("0x6e")](e)||c[yc("0x6b")](e);t[yc("0x141")]()}else{c=t;for(const e of o)t[yc("0x6e")](e)||t[yc("0x6b")](e)}if(c)return c;x[yc("0xcb")]();for(const{suggestion:t,meta:e}of this[yc("0x3")](o,yc("0x48")))e[yc("0x12")]&&(this._mergeNestedSuggestions||!e[yc("0x98")]&&!e[yc("0x8")])&&Fc(t,r)&&x[yc("0xed")](t);for(const t of x){const e=t[yc("0x12a")]();if((!r||!r[yc("0x11d")])&&o[yc("0x77")]((t=>e[yc("0x14b")]((e=>e[yc("0x5a")](t,!0))))))return t;(!t[yc("0xe0")]||!t[yc("0xe0")][yc("0x11d")])&&e[yc("0x77")]((t=>o[yc("0x14b")]((e=>e[yc("0x5a")](t,!0)))))&&t.discard()}const l=(0,e.uid)(),u=i.id,d=yc("0x1")+n,g=this[yc("0x124")]({id:l,type:d,createdAt:new Date,authorId:u,attributes:r});for(const t of o)t[yc("0xcc")](),t[yc("0xaa")]||yc("0x9c")==t[yc("0x130")][yc("0xff")]||this[yc("0xb9")](d,l,u,t,Yr[yc("0x53")]());return g}markAttributeChange(t,n,r,i,o){if(t[yc("0xaa")])return[];if(yc("0x79")===this._trackFormatChanges)return[];const s=this[yc("0xab")][yc("0x5b")][yc("0xd8")](yc("0x15e")).me.id,x=Array[yc("0xa")](this[yc("0xe7")].values())[yc("0x73")]((e=>"attribute"==e[yc("0xb")]&&e[yc("0x27")].key==n&&e[yc("0x6e")](t)));if(yc("0x34")===this[yc("0x71")]){const e=this[yc("0x3")](t,yc("0x164"))[yc("0x73")]((({meta:t})=>t[yc("0x12")]&&!t.isInsideObject&&!t[yc("0x74")]))[yc("0x104")]((({suggestion:t})=>t));x[yc("0x7e")](...e)}const a=new Map([[t,r]]);for(const t of x){const e=yc("0x2")==t[yc("0xb")]?t.data[yc("0x91")]:void 0,o=t[yc("0xb5")](),s=Array[yc("0xa")](a[yc("0x4")]()).find((t=>t[yc("0xd9")](o)));if(!s)continue;const x=s[yc("0x25")](o);this[yc("0x82")](n)&&"insertion"==t[yc("0xb")]&&0!=x[yc("0x7c")]||(a[yc("0xbc")](s),x[yc("0x30")]((t=>{a[yc("0x2d")](t,r)})),yc("0x164")!=t[yc("0xb")]&&e!=i&&a[yc("0x2d")](s[yc("0x6c")](o),e))}const c=[];for(const[t,r]of a){const x=(0,e.uid)(),a={key:n,oldValue:r,newValue:i};n[yc("0x7c")]>37&&console[yc("0x3d")]("Creating a suggestion for attribute with too long attribute key. This may lead to errors. Change the attribute key to a value shorter than 37 characters.",{key:n});const l=(yc("0xef")+(n+"|")+vc({newValue:i}))[yc("0x14a")](0,60),u=this[yc("0x124")]({id:x,type:l,data:a,createdAt:new Date,authorId:s,attributes:o});c[yc("0x145")](u),this[yc("0xb9")](l,x,s,t)}return c}[yc("0x106")](t){this._blockAttributeKeys[yc("0xed")](t)}[yc("0x67")](t){this[yc("0xb8")][yc("0xed")](t)}[yc("0x6")](t,e=[],n=[]){this.enableCommand(t,((t,...e)=>{this[yc("0x166")]((()=>{t(...e)}))}));for(const t of e)this[yc("0x67")](t);for(const t of n)this[yc("0x106")](t)}_getAttributeKey(t){return yc("0x2")==t[yc("0xb")]?t[yc("0x105")].split("|")[0]:null}[yc("0x6f")](t,e){const n=t[yc("0x163")]();this._model[yc("0x18")]((t=>{t[yc("0x171")](n,{range:e})}))}[yc("0x11b")](t){const e=t.id,n=this[yc("0xab")][yc("0xca")][yc("0xd8")](yc("0x68"));this[yc("0xf3")][yc("0x90")](e)||this[yc("0xf3")][yc("0x1d")]({channelId:n,threadId:e,isResolvable:!1,isSubmitted:!0});const r=this[yc("0xf3")][yc("0x149")](e);r[yc("0xee")](yc("0x64")),r[yc("0x64")]=!1,t[yc("0xf8")]=r}[yc("0x15f")](t,n,r,i){if(t[yc("0xb")]!=n||t.subType!=r||t[yc("0x36")].id!=i)throw this[yc("0xab")][yc("0xe4")](yc("0x12f")),new e.CKEditorError(yc("0x12f"),this)}[yc("0x5c")](t,n){const r=t[yc("0xb5")]();if(n[yc("0x167")](r))t[yc("0x141")]();else if(r.containsRange(n)){const i=this._model.createPositionAt(n[yc("0xc7")][yc("0x80")],yc("0x76"));this[yc("0x6f")](t,this[yc("0x13")][yc("0x2b")](r.start,i));const o=(0,e.uid)(),s=t.creator.id,x=t.type+":"+t[yc("0x105")];this[yc("0x124")]({id:o,type:x,createdAt:new Date,authorId:s,data:t[yc("0x27")],attributes:t.attributes});const a=this._model[yc("0x10e")](n[yc("0x76")][yc("0x101")],"after"),c=this[yc("0x13")][yc("0x2b")](a,r[yc("0x76")]);this[yc("0xb9")](x,o,s,c)}else if(r[yc("0xf2")](n.start)){const e=this[yc("0x13")][yc("0x10e")](n[yc("0xc7")][yc("0x80")],yc("0x76"));this[yc("0x6f")](t,this._model[yc("0x2b")](r[yc("0xc7")],e))}else{const e=this[yc("0x13")][yc("0x10e")](n[yc("0x76")][yc("0x101")],yc("0x1c"));this[yc("0x6f")](t,this._model[yc("0x2b")](e,r.end))}}[yc("0x16c")](t){for(const{suggestion:e,meta:n}of this[yc("0x3")](t,yc("0x164"))){if(!n[yc("0x12")])continue;const r=e.getRanges();for(const e of r)if(!t[yc("0x25")](e)[yc("0x7c")])return!0}return!1}_getAuthorFromId(t){const n=this[yc("0xab")].plugins.get("Users")[yc("0x26")](t);if(!n)throw new e.CKEditorError("track-changes-user-not-found",this);return n}[yc("0x134")](t){const e=this[yc("0xab")][yc("0x5b")][yc("0xd8")](yc("0x15e")),n=(0,o.hashObject)(yc("0xce")+t);return e.getUser(n)||e[yc("0xbe")]({id:n,name:t})}[yc("0x146")](t,e,n,r,i){const o=this[yc("0x15d")](r),s=this._suggestionFactory[yc("0x8d")](t,e,n,o,i,(t=>{this._updateSuggestionData(n,{attributes:t});const e=this.getSuggestion(n);this[yc("0xbd")](new Set([e])),this[yc("0x1a")](new Set([e]))}));return this[yc("0xa0")](s,yc("0x29"),(()=>{this._updateSuggestionData(n,{state:yc("0x63")})}),{priority:yc("0xf5")}),this[yc("0xa0")](s,"discard",(()=>{this._updateSuggestionData(n,{state:yc("0x17")})}),{priority:"high"}),this[yc("0xe7")][yc("0x2d")](n,s),this[yc("0x11e")][yc("0x2d")](s,yc("0x139")),s}[yc("0x12b")](t){const e=t[yc("0x16b")](":");return{group:e[0],type:e[1],subType:e.length>=5?e[2]:null,id:e[yc("0x7c")]<5?e[2]:e[3],authorId:e.length<5?e[3]:e[4],markerCount:6==e.length?e[5]:null}}[yc("0x140")](t,n,r){const i=t[yc("0xb5")](),o=i[yc("0xc7")],s=i[yc("0x76")];this._setSuggestionRange(t,this._model[yc("0x2b")](o,n));const x=(0,e.uid)(),a=t[yc("0x36")].id,c=t[yc("0xb")]+(t[yc("0x105")]?":"+t[yc("0x105")]:"");this._setSuggestionData({id:x,type:c,createdAt:new Date,authorId:a,originalSuggestionId:t.id,attributes:t.attributes,data:t[yc("0x27")]});const l=this[yc("0x10a")](t);(yc("0xbb")==t[yc("0xb")]||l&&this[yc("0x82")](l))&&(r=this._model[yc("0x62")](r[yc("0x101")])),this._addSuggestionMarker(c,x,a,this[yc("0x13")][yc("0x2b")](r,s))}[yc("0x3")](t,e=null){const n=[],r=this[yc("0xab")][yc("0x5b")][yc("0xd8")](yc("0x15e")).me;Array[yc("0x85")](t)||(t=[t]);for(const i of this.getSuggestions()){if(!i[yc("0xb1")])continue;if(e&&i.type!=e)continue;let o=!1;for(const e of i[yc("0x12a")]()){for(const s of t){const t=s[yc("0xc7")][yc("0x167")](e.end)||s[yc("0x76")][yc("0x167")](e[yc("0xc7")]);if(t||s[yc("0x6c")](e)){const x=s[yc("0x5a")](e)&&Ic(this[yc("0x13")][yc("0x81")],e[yc("0xc7")],s),a=e[yc("0x5a")](s)&&Ic(this[yc("0x13")][yc("0x81")],s[yc("0xc7")],e);n.push({suggestion:i,meta:{isOwn:r==i[yc("0x38")],isNextTo:t,isInsideObject:x,containsRangeInObject:a}}),o=!0;break}}if(o)break}}return n}[yc("0xb9")](t,e,n,r,i){this[yc("0x13")].change((o=>{let s=yc("0x70")+t+":"+e+":"+n;i&&(s=s+":"+i),o[yc("0x142")](s,{range:r,usingOperation:!0,affectsData:!0})}))}_removeSuggestion(t){const e=t.previous,n=t[yc("0x9b")];t.previous=null,t[yc("0x9b")]=null,null!=e&&e[yc("0x9b")]==t&&(e[yc("0x9b")]=n),null!=n&&n.previous==t&&(n.previous=e),yc("0x8b")==this[yc("0x11e")][yc("0xd8")](t)&&(this[yc("0x11e")][yc("0x2d")](t,yc("0x3b")),this[yc("0x11a")]("suggestionUnloaded",t,e,n))}[yc("0x124")](t){const n=t.id,r=this[yc("0x15")](t);if(this._adapter&&this[yc("0x5f")][yc("0xcd")]){const i=this[yc("0xab")][yc("0x5b")][yc("0xd8")](yc("0x161")),o=r[yc("0x16d")],s=r[yc("0x105")]?r[yc("0xb")]+":"+r[yc("0x105")]:r[yc("0xb")],x=this.editor[yc("0xac")],a=i[yc("0xed")](Qr(x,yc("0x148"))),c={id:n,type:s,hasComments:o,data:t[yc("0x27")]||null,originalSuggestionId:t[yc("0xc5")]||null,attributes:r.attributes};this[yc("0x5f")][yc("0xcd")](c)[yc("0x115")]((t=>{r._saved=!0,i[yc("0xa5")](a),t&&t[yc("0xa1")]&&(this[yc("0xe7")].get(n).createdAt=t[yc("0xa1")])}))[yc("0xe8")]((t=>{throw(0,e.logWarning)("error-saving-suggestion-data-suggestion-discarded"),this[yc("0xab")][yc("0xec")][yc("0x7a")]({isUndoable:!1},(()=>{r.discard()})),r[yc("0xb6")](),this._suggestions[yc("0xbc")](r.id),this[yc("0x11e")][yc("0xbc")](r),t}))}return r}[yc("0x82")](t){return this[yc("0x14d")][yc("0x94")](t)}[yc("0x10")](t,e){const n=this[yc("0xab")][yc("0x5b")][yc("0xd8")](yc("0x161")),r=this[yc("0x144")](t);if(this[yc("0x5f")]&&this._adapter[yc("0x20")])if(r[yc("0x33")]){const r=n[yc("0xed")](Qr(this[yc("0xab")][yc("0xac")],yc("0x148")));this._adapter[yc("0x20")](t,e)[yc("0x115")]((()=>{n.remove(r)}))}else r.on("change:_saved",(()=>{this._updateSuggestionData(t,e)}))}[yc("0x156")](t){if(!this[yc("0x5f")]||!this[yc("0x5f")][yc("0x144")])throw new e.CKEditorError(yc("0x50"),this);return this._adapter[yc("0x144")](t)}[yc("0x135")](t){const{id:e,type:n,subType:r,authorId:i}=this[yc("0x12b")](t),o=this._suggestions[yc("0xd8")](e)||this._createSuggestion(n,r,e,i,{});switch(this[yc("0x15f")](o,n,r,i),this._suggestionState.get(o)){case"notReady":this._getSuggestionData(e)[yc("0x115")]((t=>{let n=Promise[yc("0x7d")]();t[yc("0x16d")]&&(n=this._commentsRepository[yc("0x109")]({channelId:this[yc("0xab")][yc("0xca")][yc("0xd8")](yc("0x68")),threadId:e})),n.then((()=>{this[yc("0x15")](t)[yc("0x33")]=!0}))})),this[yc("0x11e")][yc("0x2d")](o,"markerReady");break;case yc("0x3b"):this._updateSuggestionData(e,{state:yc("0x60")});case yc("0x96"):this[yc("0x11e")].set(o,"ready"),this[yc("0x11a")](yc("0x95"),o);break;case yc("0x8b"):this[yc("0x11a")](yc("0xc9"),o)}return o[yc("0x174")](t),o}[yc("0x1a")](t){const e=Array[yc("0xa")](t),n=e.filter((t=>yc("0x2")==t[yc("0xb")]));this[yc("0x113")](n);const r=e[yc("0x73")]((t=>!t[yc("0x127")]&&"attribute"!=t[yc("0xb")])),i=this.getSuggestions({skipNotAttached:!0})[yc("0x73")]((t=>!t[yc("0x127")]&&yc("0x2")!=t[yc("0xb")])),o=i[yc("0x73")]((e=>!t[yc("0x94")](e))),s=new Map(i.map((t=>[t,this[yc("0xf0")][yc("0x5")](t.type,t[yc("0x105")],"chain")]))),x=new Map(i[yc("0x104")]((t=>[t,t[yc("0xb5")]()]))),a=new Set,c=new Set;for(let t=0;t<r[yc("0x7c")];t++)u(r[t],r,t+1);for(let t=0;t<r.length;t++)u(r[t],o,0);const l=new Set;for(let t=0;t<r.length;t++){const e=r[t];!c[yc("0x94")](e)&&e.previous&&(l[yc("0xed")](e[yc("0x40")]),e[yc("0x40")][yc("0x9b")]===e&&(e[yc("0x40")][yc("0x9b")]=null),e[yc("0x40")]=null),!a.has(e)&&e[yc("0x9b")]&&(l.add(e[yc("0x9b")]),e[yc("0x9b")][yc("0x40")]===e&&(e[yc("0x9b")][yc("0x40")]=null),e[yc("0x9b")]=null)}function u(t,e,n){for(let r=n;r<e[yc("0x7c")];r++){const n=d(t,e[r]);n&&(n[0].next=n[1],n[1].previous=n[0],a[yc("0xed")](n[0]),c[yc("0xed")](n[1]))}}function d(t,e){if(t[yc("0x38")].id!==e[yc("0x38")].id)return null;const n=s.get(t)(t,e,x.get(t),x.get(e));return n&&s[yc("0xd8")](e)(t,e,x[yc("0xd8")](t),x[yc("0xd8")](e))?n[1][yc("0xf8")]&&n[1].commentThread[yc("0x7c")]?null:n:null}l[yc("0x138")]&&this[yc("0x1a")](l)}[yc("0x113")](t){if(0==t[yc("0x7c")])return;const e=this[yc("0x133")]({skipNotAttached:!0})[yc("0x73")]((t=>yc("0x2")==t[yc("0xb")]&&t[yc("0x51")])),n=[],r=new Map;for(const t of e){const e=(0,o.hashObject)(t[yc("0xe0")]);r[yc("0x94")](e)||(r[yc("0x2d")](e,n[yc("0x7c")]),n[yc("0x145")]([]));const i=r[yc("0xd8")](e);n[i][yc("0x145")](t)}!function(){n[yc("0x86")](((t,e)=>{const n=t[0][yc("0xa1")],r=e[0][yc("0xa1")];return n==r?t[0][yc("0xe0")].groupId<e[0][yc("0xe0")].groupId?-1:1:n<r?-1:1}));for(const t of n)t[yc("0x86")](((t,e)=>t.id<e.id?-1:1))}();for(let t=0;t<n[yc("0x7c")];t++){if(0==n[t][yc("0x7c")])continue;const e=[];for(let r=t+1;r<n[yc("0x7c")];r++)0!=n[r][yc("0x7c")]&&i(n[t],n[r])&&e[yc("0x145")](r);for(const r of e)n[t]=n[t].concat(n[r]),n[r]=[]}for(const t of n)for(let e=0;e<t[yc("0x7c")];e++)t[e][yc("0x9b")]=t[e+1]||null;for(const t of n)for(let e=0;e<t.length;e++)t[e][yc("0x40")]=t[e-1]||null;function i(t,e){if(t[0].attributes[yc("0x37")]!==e[0].attributes[yc("0x37")]&&t[0][yc("0x38")]!==e[0][yc("0x38")])return!1;if(n=t[0],r=e[0],(n[yc("0x16d")]||r.hasComments)&&(n.hasComments&&r[yc("0x16d")]||!(n[yc("0x16d")]&&r[yc("0xa1")]<n[yc("0xf8")].comments[yc("0xd8")](0)[yc("0xa1")]||r.hasComments&&n[yc("0xa1")]<r[yc("0xf8")].comments[yc("0xd8")](0)[yc("0xa1")])))return!1;var n,r;const i=pc(t[0][yc("0xe0")],yc("0x37")),o=pc(e[0].attributes,yc("0x37"));return!!jr(i,o)&&(!!t[yc("0x77")]((t=>e[yc("0x14b")]((e=>t[yc("0xb5")]()[yc("0x167")](e[yc("0xb5")]())))))&&e.every((e=>t.some((t=>e[yc("0xb5")]()[yc("0x167")](t[yc("0xb5")]()))))))}}[yc("0xbd")](t){const e=Array[yc("0xa")](t),n=this.getSuggestions({skipNotAttached:!0}),r=n[yc("0x73")]((e=>!t[yc("0x94")](e))),i=new Map(e[yc("0x104")]((t=>[t,this[yc("0xf0")][yc("0x5")](t[yc("0xb")],t[yc("0x105")],"join")]))),o=new Map(n[yc("0x104")]((t=>[t,t.getRanges()])));for(let t=0;t<e[yc("0x7c")];t++)if(s(this,e[t],e,t+1))return!0;for(let t=0;t<e[yc("0x7c")];t++)if(s(this,e[t],r,0))return!0;return!1;function s(t,e,n,r){for(let s=r;s<n[yc("0x7c")];s++){const r=n[s];if(r[yc("0xb")]!==e[yc("0xb")]||r.author.id!==e[yc("0x38")].id||r[yc("0x105")]!==e[yc("0x105")])continue;if(!Oc(e,r,[yc("0x37")]))continue;if("attribute"==e.type&&e[yc("0x27")].oldValue!=r[yc("0x27")].oldValue)continue;if(yc("0x2")==e[yc("0xb")]&&t._isBlockAttribute(e.data.key))continue;if("formatBlock"==e.type){const n=t[yc("0xab")][yc("0xec")],r=e[yc("0xc6")]();if(r&&(n.schema.isObject(r)||n[yc("0x81")][yc("0x13b")](r)))continue}const x=i.get(e),a=o[yc("0xd8")](e),c=o[yc("0xd8")](r),l=e[yc("0xf8")]&&e[yc("0xf8")][yc("0x7c")],u=r[yc("0xf8")]&&r.commentThread[yc("0x7c")];if(!l&&x(c,a))return t[yc("0x10f")](r,e),o[yc("0xbc")](e),!0;if(!u&&x(a,c))return t[yc("0x10f")](e,r),o[yc("0xbc")](r),!0}return!1}}[yc("0x10f")](t,e){if(t[yc("0x127")])for(const n of e[yc("0x12a")]())t[yc("0x6b")](n);else{const n=e.getFirstRange()[yc("0x76")];this[yc("0x6f")](t,this[yc("0x13")].createRange(t[yc("0xb5")]().start,n))}e[yc("0x141")]()}[yc("0x107")](t,e){const n=t[yc("0x160")](yc("0x126"))||t[yc("0x160")]("attribute")?yc("0x15a"):t[yc("0x3c")]();return Qr(this.editor.locale,e+"_"+n+yc("0xbf"))}[yc("0xad")](){const t=this[yc("0xab")];(0,o.surroundingMarkersDetector)(this._model,(({left:e,entered:n})=>{const r=[];for(const t of e){const{group:e,type:n}=this[yc("0x12b")](t.name);if(yc("0x129")===e){r[yc("0x145")](this[yc("0x107")](n,yc("0x2c")));break}}for(const t of n){const{group:e,type:n}=this[yc("0x12b")](t[yc("0x2e")]);if(yc("0x129")===e){r[yc("0x145")](this[yc("0x107")](n,yc("0x31")));break}}r.length&&t.ui.ariaLiveAnnouncer.announce("trackChanges",r[yc("0x47")](" "))}))}[yc("0x42")](t){if(this._recordAttributeSuggestions)return!1;const e=this[yc("0xab")],n=e[yc("0xec")][yc("0x147")].differ[yc("0x12c")]();if(0==n[yc("0x7c")])return!1;const r=[],i=n[yc("0x73")]((t=>"attribute"==t[yc("0xb")])),o=n[yc("0x73")]((t=>yc("0x122")==t[yc("0xb")]&&yc("0x8f")!=t[yc("0x2e")])),s=n[yc("0x73")]((t=>yc("0xa5")==t[yc("0xb")]&&yc("0x8f")!=t.name));for(const t of i)r[yc("0x145")]({key:t.attributeKey,newValue:t.attributeNewValue,oldValue:t[yc("0x100")],range:Lc(t[yc("0x2a")],e[yc("0xec")])});for(const t of o){const n=s[yc("0x22")]((e=>e.position.isEqual(t[yc("0x170")])));n&&r[yc("0x145")]({key:"$elementName",newValue:t.name,oldValue:n.name,range:e.model[yc("0xae")](t[yc("0x170")][yc("0xd4")])})}return 0!=r[yc("0x7c")]&&this[yc("0x13c")](t,r)}[yc("0x58")](t){let e=!1;const n=this[yc("0xab")][yc("0xec")][yc("0x147")].differ[yc("0x173")]()[yc("0x73")]((t=>t[yc("0x27")][yc("0xb4")]&&t[yc("0x2e")][yc("0x160")](yc("0x5e"))));for(const r of n){const{subType:n,id:i}=this._splitMarkerName(r.name),o=n[yc("0x16b")]("|")[0];for(const n of this[yc("0x133")]({skipNotAttached:!0}))n.id!=i&&yc("0x2")==n[yc("0xb")]&&n[yc("0x27")]&&n[yc("0x27")][yc("0x152")]==o&&n.getFirstRange()[yc("0xd9")](r[yc("0x27")][yc("0xb4")])&&(this._reduceSuggestionAttributeRange(n,r[yc("0x27")][yc("0xb4")],t),e=!0)}return e}[yc("0x166")](t){this[yc("0xab")],this[yc("0x3a")]=!0,t()}_isRegisteredAttribute(t){const e=this[yc("0x82")](t),n=this[yc("0xb8")][yc("0x94")](t);return e||n}[yc("0x13c")](t,e){if(0==e[yc("0x7c")])return!1;let n=!1;for(const r of e){const e=this[yc("0x3")](r.range,yc("0x2"))[yc("0x73")]((t=>!t.meta[yc("0x74")]))[yc("0x104")]((t=>t[yc("0x129")])),i=(0,o.hashObject)({newValue:r.newValue});e[yc("0x73")]((t=>{const[e,n]=t.subType[yc("0x16b")]("|");return e==r[yc("0x152")]&&n!=i}))[yc("0x30")]((e=>{this[yc("0x108")](e,r[yc("0x2a")],t),n=!0}))}return n}[yc("0x108")](t,e,n){const r=t[yc("0xb5")]()[yc("0x25")](e);0!==r.length?1!==r[yc("0x7c")]?this[yc("0x140")](t,e[yc("0xc7")],e[yc("0x76")]):this[yc("0x6f")](t,r[0]):n[yc("0x55")](t.getFirstMarker())}}class kc{constructor(t){this[yc("0xa9")]=t,this[yc("0x13")]=t[yc("0xec")],this[yc("0x45")]=new Map,this[yc("0xa7")]=new Map,this._registerDefaultCallbacks()}[yc("0x8d")](t,e,n,r,i,o){return new Yr(this[yc("0x13")],{type:t,subType:e,id:n,author:r,creator:r,attributes:i,onAttributesChange:o,onAccept:(...n)=>this.getSuggestionCallback(t,e,"accept")(...n),onDiscard:(...n)=>this[yc("0x5")](t,e,yc("0x57"))(...n)})}[yc("0x112")](t,e,n,r){const i=t+":"+e+":"+n;this[yc("0x45")][yc("0x2d")](i,r)}[yc("0x5")](t,e,n){const r=t+":"+e+":"+n;return this._customCallbacks[yc("0xd8")](r)||this[yc("0xa7")].get(t+":"+n)}[yc("0x169")](){const t=()=>!1,e=t=>{t.sort(((t,e)=>t[yc("0xc7")][yc("0xd1")](e[yc("0xc7")])?1:-1)),this._model[yc("0x18")]((e=>{for(const n of t){let t;t=n[yc("0x76")][yc("0x123")]&&n[yc("0x76")][yc("0x101")]==n[yc("0xc7")][yc("0xd4")]?e[yc("0x165")](n[yc("0xc7")][yc("0xd4")],"on"):e[yc("0x165")](n),this[yc("0x13")].deleteContent(t,{forceDefaultExecution:!0,doNotAutoparagraph:!0})}}))},n=(t,e)=>{e&&this[yc("0x13")][yc("0x18")]((n=>{const{commandName:r,commandParams:i=[]}=e,o=t[yc("0x104")]((t=>(Rc(t)&&(t=this._model[yc("0x2b")](t.end)),t))).filter((t=>"$graveyard"!==t[yc("0x130")][yc("0xff")]));if(o.length<1)return;const x=Array[yc("0xa")](this[yc("0x13")][yc("0x147")][yc("0x3e")][yc("0x12a")]()).map((t=>s.LiveRange[yc("0x4b")](t)));n.setSelection(o);for(const t of this[yc("0xa9")][yc("0xd6")][yc("0xd6")]())t[yc("0x8a")]();i.push({forceDefaultExecution:!0}),this._editor[yc("0x7f")](r,...i);const a=x[yc("0x73")]((t=>yc("0x9c")!=t[yc("0x130")][yc("0xff")]));a[yc("0x7c")]>0&&n.setSelection(a);for(const t of x)t[yc("0xcc")]()}))},r=(t,e)=>1==t[yc("0x7c")]&&1==e[yc("0x7c")]&&t[0][yc("0x76")].isEqual(e[0].start),i=(t,e,n,r)=>wc(t,e,n,r,this._model)?[t,e]:wc(e,t,r,n,this[yc("0x13")])?[e,t]:null;this._defaultCallbacks[yc("0x2d")]("insertion:accept",t),this._defaultCallbacks.set(yc("0xdb"),e),this[yc("0xa7")].set("insertion:join",r),this._defaultCallbacks[yc("0x2d")](yc("0xc2"),i),this[yc("0xa7")][yc("0x2d")]("deletion:accept",e),this._defaultCallbacks.set(yc("0xdc"),t),this[yc("0xa7")][yc("0x2d")](yc("0x131"),r),this[yc("0xa7")][yc("0x2d")](yc("0xd0"),i),this[yc("0xa7")][yc("0x2d")]("formatInline:accept",n),this[yc("0xa7")][yc("0x2d")](yc("0x4c"),t),this[yc("0xa7")][yc("0x2d")](yc("0xcf"),r),this[yc("0xa7")][yc("0x2d")](yc("0xd2"),t),this[yc("0xa7")][yc("0x2d")]("formatBlock:accept",n),this[yc("0xa7")][yc("0x2d")](yc("0x111"),t),this[yc("0xa7")][yc("0x2d")]("formatBlock:join",r),this[yc("0xa7")].set("formatBlock:chain",t),this[yc("0xa7")][yc("0x2d")](yc("0x15c"),t),this[yc("0xa7")][yc("0x2d")](yc("0x6a"),((t,e)=>{if(!e)return;const n=this[yc("0xa9")][yc("0x5b")][yc("0xd8")](Ac);this[yc("0x13")][yc("0x18")]((r=>{if("$elementName"==e[yc("0x152")])for(const n of t){const t=n[yc("0xc7")][yc("0xd4")],i=e[yc("0x91")];r[yc("0xe9")](t,i)}else if(n[yc("0x82")](e[yc("0x152")]))for(const n of t)void 0!==e[yc("0x91")]?r[yc("0x3f")](e[yc("0x152")],e.oldValue,n[yc("0xc7")][yc("0xd4")]):r[yc("0x118")](e[yc("0x152")],n.start.nodeAfter);else for(const n of t)e[yc("0x91")]?r[yc("0x3f")](e.key,e[yc("0x91")],n):r.removeAttribute(e[yc("0x152")],n)}))})),this._defaultCallbacks[yc("0x2d")](yc("0x153"),r)}}function Ic(t,e,n){for(const r of e[yc("0x101")][yc("0x116")]({includeSelf:!0,parentFirst:!0})){if(r.root==r)return!1;if(!n.containsItem(r))return!1;if(t.isObject(r)||t[yc("0x13b")](r))return!0}return!1}function Rc(t){return t[yc("0x76")][yc("0x101")]==t[yc("0xc7")].nodeAfter&&t[yc("0x76")][yc("0xfc")]}function Sc(t,e,n,r){const i=t=>!t[yc("0xa6")].is("$textProxy")&&!r[yc("0x21")](t.item),o=t[yc("0xc7")].getLastMatchingPosition(i),s=t.end[yc("0x87")](i,{direction:yc("0x14f")});return!(t[yc("0xc7")].isEqual(o)&&t[yc("0x76")][yc("0x167")](s)||(o.isBefore(s)?n[yc("0x171")](e,{range:n[yc("0x2b")](o,s)}):n[yc("0x55")](e),0))}function vc(t){return(0,o.hashObject)(t)}function Nc(t){const e=t.start[yc("0xd4")];return e&&e.is(yc("0xf"))}function Lc(t,e){return null==t[yc("0x76")][yc("0x80")]&&t[yc("0x76")][yc("0x101")]==t[yc("0xc7")][yc("0xd4")]?Mc(t[yc("0xc7")][yc("0xd4")],e):t}function Mc(t,e){const n=e[yc("0x81")][yc("0x21")](t)||e[yc("0x81")].isSelectable(t);return e[yc("0x2b")](e.createPositionAt(t,yc("0x9a")),n?e[yc("0xd")](t):e[yc("0x10e")](t,yc("0x76")))}function wc(t,e,n,r,i){if(!Oc(t,e))return!1;if(n[yc("0x76")][yc("0x167")](r[yc("0xc7")]))return!0;if(t[yc("0xb")]!=e[yc("0xb")])return!1;if(!n[yc("0x76")][yc("0x16a")](r[yc("0xc7")]))return!1;const o=i.createRange(n.end,r[yc("0xc7")])[yc("0x4f")]();for(const t of o)if(["elementStart",yc("0xba")][yc("0xe1")](t[yc("0xb")])&&i[yc("0x81")][yc("0x13b")](t[yc("0xa6")]))return!1;return!0}function Oc(t,e,n=[]){return!(!t[yc("0x51")]||!e[yc("0x51")])&&jr(pc(t.attributes,n),pc(e[yc("0xe0")],n))}function Fc(t,e){const n=Dc(t[yc("0xe0")]),r=Dc(e);if(!t._isDataLoaded)return!1;for(const t of Object[yc("0x4")](r))if(!jr(n[t],r[t]))return!1;return!0}function Dc(t){const e=Object.assign({},t);return delete e[yc("0x11d")],delete e[yc("0xde")],e}const Pc=["PENDING_ACTION_SUGGESTION","execute","_removePendingAction","change:isDirty","acceptSuggestion","canDiscard","model","isEnabled","unbind","_discardCommand","listenTo","getRanges","commands","canAccept","_setPendingAction","commentThreadController","discardSuggestion","plugins","view","locale","bind","_pendingAction","destroy","PendingActions","canEditAt","get","_acceptCommand","_editor"];var Bc,Uc;Bc=Pc,Uc=410,function(t){for(;--t;)Bc.push(Bc.shift())}(++Uc);const jc=function(t,e){return Pc[t-=0]};class Gc extends((0,e.ObservableMixin)()){constructor(t,e,n,r){super(),this[jc("0x10")]=e,this.view=n,this.commentThreadController=r,this[jc("0x9")]=t,this[jc("0x8")]=t.commands[jc("0x7")](jc("0xe")),this[jc("0x13")]=t[jc("0x16")][jc("0x7")]("discardSuggestion"),this[jc("0x0")][jc("0x2")](jc("0x11")).to(this[jc("0x8")],this[jc("0x13")],((t,e)=>t||e)),this[jc("0x0")][jc("0x2")]("canAccept").to(this._acceptCommand,"isEnabled",(t=>t&&this[jc("0x9")][jc("0x10")][jc("0x6")](e[jc("0x15")]()))),this.view[jc("0x2")]("canDiscard").to(this[jc("0x13")],jc("0x11"),(t=>t&&this[jc("0x9")][jc("0x10")][jc("0x6")](e[jc("0x15")]()))),this._pendingAction=null,n.isDirty&&this[jc("0x18")](),this.listenTo(n,jc("0xe"),(()=>this[jc("0xe")]())),this[jc("0x14")](n,jc("0x1a"),(()=>this[jc("0x1a")]())),this[jc("0x14")](n,jc("0xd"),(()=>{n.isDirty?this[jc("0x18")]():this._removePendingAction()}))}acceptSuggestion(){this._acceptCommand[jc("0xb")](this[jc("0x10")].id)}discardSuggestion(){this[jc("0x13")][jc("0xb")](this[jc("0x10")].id)}[jc("0x4")](){this[jc("0x0")][jc("0x12")](jc("0x11")),this[jc("0x0")].unbind(jc("0x17")),this[jc("0x0")].unbind(jc("0xf")),this.stopListening(),this[jc("0x19")][jc("0x4")](),this[jc("0x3")]&&this[jc("0xc")]()}[jc("0x18")](){const t=Qr(this[jc("0x9")][jc("0x1")],jc("0xa"));this[jc("0x3")]=this[jc("0x9")][jc("0x1b")][jc("0x7")]("PendingActions").add(t)}_removePendingAction(){null!==this[jc("0x3")]&&this[jc("0x9")][jc("0x1b")][jc("0x7")](jc("0x5")).remove(this[jc("0x3")]),this._pendingAction=null}}const Vc=["isReadOnly","canDiscard","_localUser","_createCommentViews","bind","focus","editorConfig","submit","authoredAt","editor","commentThread","addComment","isEnabled","CommentView","commentInputView","commentThreadInputView","destroy","fire","isDirty","delegate","descriptionParts","length","setData","updateComment","commentsListView","removeComment","isActive","locale","_createCommentThreadInputView","_model","set","cancel","showInput","hasDirtyComment","canAccept","disableComments","_config","value"];var Hc,zc;Hc=Vc,zc=146,function(t){for(;--t;)Hc.push(Hc.shift())}(++zc);const Wc=function(t,e){return Vc[t-=0]};class Kc extends i.View{constructor(t,e,n,r){super(t),this[Wc("0x1e")]=null,this[Wc("0x15")]=null,this.set(Wc("0x20"),!1),this[Wc("0x24")](Wc("0xe"),e.authoredAt),this[Wc("0xa")](Wc("0xe")).to(e),this.set(Wc("0x1a"),[]),this.set(Wc("0x18"),!1),this.set(Wc("0x12"),!1),this[Wc("0x24")](Wc("0x2"),!1),this[Wc("0x24")](Wc("0x7"),!1),this[Wc("0x23")]=e,this[Wc("0x8")]=n,this[Wc("0x4")]=r,r[Wc("0x3")]?this[Wc("0x24")](Wc("0x1b"),1):this[Wc("0x9")]()}[Wc("0xb")](){this.element[Wc("0xb")]()}[Wc("0x16")](){this.commentsListView&&this.commentsListView[Wc("0x16")](),this[Wc("0x15")]&&this[Wc("0x15")].destroy(),super[Wc("0x16")]()}[Wc("0x9")](){const{CommentsListView:t}=this[Wc("0x4")];this[Wc("0x1e")]=new t(this[Wc("0x21")],this._model[Wc("0x10")],Object.assign({CommentView:this[Wc("0x4")][Wc("0x13")]},this._config)),this[Wc("0x1e")][Wc("0x19")]("removeComment").to(this),this[Wc("0x1e")][Wc("0x19")](Wc("0x1d")).to(this),this[Wc("0x1e")][Wc("0xa")](Wc("0x20")).to(this),this[Wc("0x24")](Wc("0x1b"),this[Wc("0x1e")].length+1),this.bind(Wc("0x1b")).to(this[Wc("0x1e")],Wc("0x1b"),(t=>t+1)),this[Wc("0x15")]=this[Wc("0x22")](),this.on(Wc("0x1f"),(()=>this[Wc("0xb")]())),this[Wc("0xa")](Wc("0x18")).to(this.commentsListView,Wc("0x1"),this[Wc("0x15")][Wc("0x14")],Wc("0x5"),((t,e)=>t||!!e))}[Wc("0x22")](){const{CommentThreadInputView:t}=this[Wc("0x4")],e=new t(this[Wc("0x21")],this[Wc("0x8")],this._config[Wc("0xc")]),n=e[Wc("0x14")];return e[Wc("0xa")](Wc("0x0")).to(this,Wc("0x20"),this[Wc("0x23")][Wc("0x10")],Wc("0x6"),n,Wc("0x5"),((t,e,n)=>!!n||t&&!e)),n.on(Wc("0xd"),((t,e)=>{this[Wc("0x17")](Wc("0x11"),e),n[Wc("0xf")][Wc("0x1c")]("")})),n.on(Wc("0x25"),(()=>this[Wc("0xb")]())),n[Wc("0xa")]("disabledSubmit").to(this[Wc("0x23")].commentThread,Wc("0x6")),e}}const qc=["isActive","discardSuggestion","</p>","_descriptionElement","ck-suggestion--accept","title","@external","bindTemplate","bind","setTemplate","querySelector","innerHTML","ck-annotation__content-wrapper","_model","ck-suggestion","innerText","change:description","getTemplate","ck-annotation__user","Discard suggestion","attributes","extendTemplate","canAccept","ck-suggestion-wrapper--active","children","getExternalSuggestionNote","element","value","EXTERNAL_IMPORT_WORD_AVATAR","map","isEnabled","<p>",'"></span>',"div","</span>","ck-suggestion__user","execute","ck-annotation","ck-suggestion--discard","check","description","EXTERNAL_SUGGESTION","_createButton","disableComments","delegate","userView","ck-comment__info-time","discardButton","createElement","acceptSuggestion","creator","canDiscard","_config","ck-suggestion--disabled-comments","span",'<span class="ck-suggestion-type">',"importWord",'" title="',"acceptButton","locale","type","ck-suggestion__info-name","ck-suggestion__main","ck-suggestion-","commentThreadInputView","getUserViewNotificationText","push","name","ck-comment__external","ck-annotation__info-time","join","commentsListView","Accept suggestion","source","author","descriptionParts","ck-annotation__info","render","authoredAt","set",'<span class="ck-suggestion-color" style="background-color: ',"editorDestroyed"];var Xc,$c;Xc=qc,$c=338,function(t){for(;--t;)Xc.push(Xc.shift())}(++$c);const Zc=function(t,e){return qc[t-=0]};class Yc extends Kc{constructor(e,n,r,i){super(e,n,r,i),this[Zc("0x45")](Zc("0x32"),""),this[Zc("0x50")](Zc("0x32")).to(this,Zc("0x41"),(t=>t&&t[0]?t[0][Zc("0x32")]:"")),this[Zc("0x50")](Zc("0x1e")).to(this,"descriptionParts",this,Zc("0x48"),((t,e)=>{let n="";for(const e of t)n+=Zc("0x15")+Qc(e.content,e.color)+Zc("0x4a");return e?n:(0,o.trimHtml)(n,{limit:140})})),this[Zc("0x4b")]=null,this[Zc("0x30")]=this._createButton(Qr(e,Zc("0x3e")),t.icons[Zc("0x1d")],Zc("0x4c"),Zc("0x27"),"sw"),this.acceptButton.bind(Zc("0x14")).to(this,Zc("0xc")),this.discardButton=this[Zc("0x20")](Qr(e,Zc("0x9")),t.icons.cancel,Zc("0x1c"),Zc("0x49"),"sw"),this[Zc("0x25")][Zc("0x50")](Zc("0x14")).to(this,Zc("0x29")),this.userView=new o.UserView(e,this._model[Zc("0x40")],this[Zc("0x37")]()),this[Zc("0x23")].extendTemplate({attributes:{class:[Zc("0x19"),Zc("0x8")]}}),this[Zc("0x51")](this[Zc("0x7")]())}[Zc("0x7")](){const t=this[Zc("0x4f")],e=[{tag:"div",attributes:{class:["ck-suggestion__info",Zc("0x42")]},children:[{tag:Zc("0x2c"),children:[{text:this[Zc("0x23")][Zc("0x39")]}],attributes:{class:[Zc("0x33"),"ck-annotation__info-name"]}},{tag:"time",attributes:{datetime:t.to(Zc("0x44")),class:[Zc("0x24"),Zc("0x3b")]},children:[{text:t.to("authoredAt",(t=>this[Zc("0x2a")].formatDateTime(t)))}]}]},{tag:"div",attributes:{class:["ck-suggestion__actions","ck-annotation__actions"]},children:[this[Zc("0x30")],this[Zc("0x25")]]},{tag:"div",attributes:{class:[Zc("0x2")]}}];this[Zc("0x3")].isExternal&&e[Zc("0x38")]({tag:Zc("0x17"),attributes:{class:[Zc("0x3a")]},children:[{text:this[Zc("0xf")]()}]});const n={tag:"div",attributes:{class:["ck-suggestion-wrapper",t.if(Zc("0x48"),Zc("0xd")),t.to("type",(t=>Zc("0x35")+t)),this[Zc("0x2a")][Zc("0x21")]&&Zc("0x2b")],"data-suggestion-id":this._model.id,"data-thread-id":this[Zc("0x3")].commentThread.id,"data-author-id":this._model.author.id,tabindex:-1},children:[{tag:Zc("0x17"),attributes:{class:[Zc("0x4"),Zc("0x1b")]},children:[this[Zc("0x23")],{tag:Zc("0x17"),attributes:{class:[Zc("0x34"),"ck-annotation__main"]},children:e}]}]};return this[Zc("0x3d")]&&this[Zc("0x36")]&&(n[Zc("0xe")].push(this.commentsListView,this[Zc("0x36")]),this[Zc("0x3d")][Zc("0x22")]("editorReady").to(this),this[Zc("0x3d")][Zc("0x22")](Zc("0x47")).to(this),this.commentThreadInputView[Zc("0x22")]("editorReady").to(this),this.commentThreadInputView[Zc("0x22")](Zc("0x47")).to(this)),n}[Zc("0x43")](){super[Zc("0x43")](),this[Zc("0x4b")]=this[Zc("0x10")][Zc("0x0")](".ck-annotation__content-wrapper"),this[Zc("0x4b")][Zc("0x1")]=this[Zc("0x1e")],this.on(Zc("0x6"),((t,e,n)=>{this[Zc("0x4b")][Zc("0x1")]=n}))}[Zc("0x20")](t,e,n,r,o){const s=new i.ButtonView(this[Zc("0x31")]);return s[Zc("0x45")]({label:t,icon:e,tooltip:!0,tooltipPosition:o}),s[Zc("0xb")]({attributes:{class:n}}),s.on(Zc("0x1a"),(()=>{this.fire(r,this[Zc("0x3")].id)})),s}[Zc("0xf")](){return Zc("0x2e")===this[Zc("0x3")][Zc("0xa")][Zc("0x4e")][Zc("0x3f")]?Qr(this[Zc("0x31")],"EXTERNAL_IMPORT_WORD_SUGGESTION"):Qr(this[Zc("0x31")],Zc("0x1f"))}[Zc("0x37")](){return this[Zc("0x3")].isExternal?Zc("0x2e")===this[Zc("0x3")][Zc("0xa")]["@external"][Zc("0x3f")]?Qr(this[Zc("0x31")],Zc("0x12"),this[Zc("0x3")][Zc("0x28")][Zc("0x39")]):Qr(this[Zc("0x31")],"EXTERNAL_AVATAR",this._model[Zc("0x28")][Zc("0x39")]):null}}function Qc(t,e){let n="";return n+=t.split("*")[Zc("0x13")](((t,e)=>e%2!=0?Zc("0x2d")+Jc(t)+Zc("0x18"):Jc(t)))[Zc("0x3c")](""),e&&(n+=Zc("0x46")+e[Zc("0x11")]+Zc("0x2f")+e[Zc("0x4d")]+Zc("0x16")),n}function Jc(t){const e=document[Zc("0x26")](Zc("0x2c"));return e[Zc("0x5")]=t,e.innerHTML}const tl=["change:previous","isMultiRange","isOn","CommentsRepository","head","SuggestionThreadView","add","activeMarkers","pluginName","set","_destroyController","reduce","trackChanges.disableComments","_handleSuggestionControllerDelayed","_viewToController","addComment","change:activeAnnotations","addSourceCollector","arrowView","getDescriptions","getByInnerView","config","actionView","_descriptionFactory","comments.maxCommentCharsWhenCollapsed","commandName","_unbindEditors","acceptSelectedSuggestions","discardSelectedSuggestions","define","comments.maxCommentsWhenCollapsed","_handleControllerBuffer","from","suggestionChanged","delete","toMany","refreshSelectedViews","createAnnotation","isDirty","CommentsUI","source","some","map","getMarkerNames","hasSuggestion","button","has","switchbutton","TrackChangesUI","separator","get","locale","view","type","EditorAnnotations","trackChanges","requires","Annotations","descriptionParts","lowest","isEnabled","mainView","_annotationViews","_updateController","values","bind","getMarkers","focus","commands","remove","_disableComments","filter","plugins","push","_suggestionToController","comments.editorConfig","execute","keys","comments.maxThreadTotalWeight","suggestionUnloaded","TrackChangesEditing","model","destroy","init","buttonView","CommentView","innerView","_bindAnnotationToEditors","editing","suggestion-","length","Accept all suggestions","componentFactory","getSuggestion","listenTo","editor","getAllAdjacentSuggestions","_createUIButton","acceptAllSuggestions","discardButton","Track changes","discardAllSuggestions","_initializeController","commentThread","_refreshActiveMarkers","previous","unbind","isInContent"];var el,nl;el=tl,nl=214,function(t){for(;--t;)el.push(el.shift())}(++nl);const rl=function(t,e){return tl[t-=0]};class il extends t.Plugin{static get[rl("0x3a")](){return[Ac,o.Users,rl("0x5"),"Annotations",rl("0x38")]}static get[rl("0xa")](){return rl("0x32")}constructor(t){super(t),this[rl("0x4c")]=new Map,this._viewToController=new Map,this[rl("0x40")]=new Map,this[rl("0x21")]=new Map;const e=this[rl("0x61")][rl("0x17")];e[rl("0x1f")]("trackChanges.SuggestionThreadView",Yc),e[rl("0x1f")]("trackChanges.disableComments",!1),this[rl("0x48")]=e.get(rl("0xe"))}[rl("0xf")](t,e){0===this[rl("0x21")].size&&setTimeout((()=>{for(const[t,e]of this[rl("0x21")]){const n=this._suggestionToController[rl("0x30")](t);n||e?n&&e&&this._destroyController(t):this._initializeController(t)}this[rl("0x21")].clear(),this.editor.plugins[rl("0x34")](rl("0x38"))[rl("0x26")](),this[rl("0x6a")]()}),10),this[rl("0x21")].set(t,e)}[rl("0x55")](){const t=this[rl("0x61")],e=t.plugins.get(rl("0x52")),n=t[rl("0x4a")].get(rl("0x3b")),r=t[rl("0x4a")][rl("0x34")](rl("0x38")),i=t[rl("0x4a")][rl("0x34")](rl("0x5"));t.ui[rl("0x5e")][rl("0x8")](rl("0x39"),(t=>this[rl("0x63")](t))),r[rl("0x13")]((()=>{const t=[];for(const[e,n]of Array[rl("0x22")](this[rl("0x4c")])){const r=e[rl("0x62")](),i=[];for(const t of r){if(!t[rl("0x1")])continue;if(t[rl("0x3")]){i.push(...t.getRanges());continue}const e=t.getFirstRange();if(i[rl("0x5c")]>0){const t=i[0].getJoined(e);if(t){i[0]=t;continue}}i[rl("0x4b")](e)}t[rl("0x4b")]([n.view,i])}return t})),this.listenTo(e,"suggestionLoaded",((t,e)=>{this.listenTo(e,rl("0x2"),((t,n,r,i)=>{e.isInContent&&(null==r?(this[rl("0x41")](i[rl("0x6")]),this[rl("0xf")](e,!1)):(this[rl("0x41")](r[rl("0x6")]),null==i&&this._handleSuggestionControllerDelayed(e,!0)))})),null!==e[rl("0x6b")]?this[rl("0x41")](e[rl("0x6")]):this._handleSuggestionControllerDelayed(e,!1)})),this[rl("0x60")](e,rl("0x51"),((t,e,n)=>{this.stopListening(e,rl("0x2")),this._handleControllerBuffer[rl("0x24")](e),this[rl("0x4c")][rl("0x30")](e)&&this._destroyController(e),n&&this[rl("0x41")](n[rl("0x6")])})),this.listenTo(e,rl("0x23"),((t,e)=>{this[rl("0x41")](e)})),this[rl("0x60")](n,rl("0x12"),(()=>{this[rl("0x6a")]()})),this[rl("0x60")](i,rl("0x11"),((t,{threadId:n,isFromAdapter:r})=>{if(r||!e[rl("0x2e")](n))return;const i=e[rl("0x5f")](n);this[rl("0x4c")][rl("0x34")](i)[rl("0x36")][rl("0x45")]()}),{priority:rl("0x3d")})}[rl("0x6a")](){const t=this.editor[rl("0x4a")].get("Annotations"),e=this.editor[rl("0x4a")][rl("0x34")](rl("0x52")),n=Array.from(t.activeAnnotations,(t=>t[rl("0x58")]))[rl("0x49")]((t=>this[rl("0x10")][rl("0x30")](t))),r=[];for(const t of n){const e=this[rl("0x10")][rl("0x34")](t).model.getAllAdjacentSuggestions();r.push(...e[rl("0xd")](((t,e)=>[...t,...e[rl("0x2d")]()]),[]))}e[rl("0x9")]=r}[rl("0x63")](t){const n=(0,i.createDropdown)(t,i.SplitButtonView),r=this[rl("0x61")][rl("0x46")][rl("0x34")](rl("0x39")),o=Qr(t,rl("0x66"));n[rl("0x56")].set({tooltip:o,label:o,icon:'\x3c!--\n\n What you\'re currently looking at is the source code of a legally protected, proprietary software.\n CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,\n all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.\n\n Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n\n!--\x3e\n\n<svg viewBox="0 0 20 20" width="20" height="20" xmlns="http://www.w3.org/2000/svg"><g fill="#000" fill-rule="nonzero"><path d="M1 3.28C1 2.574 1.574 2 2.272 2h10.23c.703 0 1.272.573 1.272 1.28v12.768c0 .708-.574 1.281-1.271 1.281H2.272A1.276 1.276 0 0 1 1 16.049V3.28zm11.503 12.954c-.008 0-.006-12.77-.006-12.77 0-.003-10.225-.004-10.225-.004.007 0 .005 12.77.005 12.77 0 .003 10.226.004 10.226.004zm-8.31-9.58c0-.353.292-.64.636-.64h5.116c.351 0 .636.284.636.64a.641.641 0 0 1-.636.638H4.829a.636.636 0 0 1-.635-.639zm0 2.554c0-.352.292-.638.636-.638h5.116c.351 0 .636.283.636.638a.641.641 0 0 1-.636.639H4.829a.636.636 0 0 1-.635-.639zm0 2.555c0-.353.289-.639.633-.639h2.567c.35 0 .633.284.633.64a.639.639 0 0 1-.633.638H4.826a.634.634 0 0 1-.632-.639z"/><path d="M10.515 17.958l.154-.23c-.195-.099-.304-.193-.328-.28-.024-.09.001-.275.076-.552.062-.165.099-.296.111-.393.013-.159.013-.319 0-.478-.138-.41-.2-.686-.187-.83.013-.145.117-.335.313-.57l4.465-6.208c.356-.6 1.059-.56 2.11.119 1.051.68 1.443 1.271 1.177 1.771L14.53 17.14c-.105.271-.22.444-.347.516-.128.07-.399.118-.813.138a2.954 2.954 0 0 0-.487.21 2.044 2.044 0 0 0-.347.31c-.193.174-.332.262-.416.262-.064 0-.178-.05-.346-.15l-.204.27-1.056-.738h.001zm-.184.274l1.039.727-.259.34H9.614l.717-1.067z"/></g></svg>\n'}),n[rl("0x56")].bind(rl("0x4")).to(r,"value"),n[rl("0x56")].on(rl("0x4e"),(()=>{r.execute(),this[rl("0x61")].editing.view[rl("0x45")]()}));const s=new e.Collection,x=[{type:rl("0x31"),model:{withText:!0,label:o,commandName:rl("0x39")}},{type:"separator"},{type:rl("0x2f"),model:{withText:!0,label:Qr(t,rl("0x5d")),commandName:rl("0x64")}},{type:rl("0x2f"),model:{withText:!0,label:Qr(t,"Accept all selected suggestions"),commandName:rl("0x1d")}},{type:rl("0x2f"),model:{withText:!0,label:Qr(t,"Discard all suggestions"),commandName:rl("0x67")}},{type:rl("0x2f"),model:{withText:!0,label:Qr(t,"Discard all selected suggestions"),commandName:rl("0x1e")}}];for(const t of x){let e={type:rl("0x33")};if(t.model){const n=new i.ViewModel(t[rl("0x53")]),r=this.editor.commands[rl("0x34")](n[rl("0x1b")]);n.bind(rl("0x4"),rl("0x3e")).to(r,"value",rl("0x3e")),e={type:t[rl("0x37")],model:n}}s[rl("0x8")](e)}(0,i.addListToDropdown)(n,s);const a=x[rl("0x49")]((t=>null!=t[rl("0x53")]))[rl("0x2c")]((t=>this[rl("0x61")].commands[rl("0x34")](t[rl("0x53")][rl("0x1b")]))),c=n[rl("0x56")];return c[rl("0x18")][rl("0x0")]("isEnabled"),c[rl("0x14")][rl("0x0")]("isEnabled"),c[rl("0x18")][rl("0x43")](rl("0x3e")).to(r,rl("0x3e")),c.arrowView[rl("0x43")](rl("0x3e"))[rl("0x25")](a,rl("0x3e"),((...t)=>t[rl("0x2b")]((t=>t)))),n.on(rl("0x4e"),(t=>{this[rl("0x61")][rl("0x4e")](t[rl("0x2a")][rl("0x1b")]),this[rl("0x61")][rl("0x5a")].view[rl("0x45")]()})),n}[rl("0x68")](t){const e=this[rl("0x61")],n=e.config,r=e[rl("0x4a")][rl("0x34")](rl("0x3b")),i=e[rl("0x4a")][rl("0x34")](rl("0x5")),s=e[rl("0x4a")][rl("0x34")](rl("0x38")),x=e[rl("0x4a")].get(o.Users).me,a=n[rl("0x34")](rl("0x39"))[rl("0x7")],{CommentsListView:c,CommentThreadInputView:l}=e[rl("0x4a")].get(rl("0x29"));let u,d;this[rl("0x40")][rl("0x30")](t.id)?(d=this[rl("0x40")][rl("0x34")](t.id),u=d[rl("0x3f")]):(u=new a(e[rl("0x35")],t,x,{disableComments:this[rl("0x48")],editorConfig:n[rl("0x34")](rl("0x4d")),maxCommentsWhenCollapsed:n.get(rl("0x20")),maxThreadTotalWeight:n.get(rl("0x50")),maxCommentCharsWhenCollapsed:n[rl("0x34")](rl("0x1a")),formatDateTime:(0,o.getDateTimeFormatter)(n[rl("0x34")](rl("0x35"))),CommentView:n[rl("0x34")]("comments")[rl("0x57")],CommentsListView:c,CommentThreadInputView:l}),u.acceptButton.on("execute",(()=>{e[rl("0x5a")].view[rl("0x45")]()})),u[rl("0x65")].on("execute",(()=>{e[rl("0x5a")].view[rl("0x45")]()})),d=r.createAnnotationView(this.editor[rl("0x35")],u),d[rl("0x43")](rl("0x28")).to(u,rl("0x28")),d.bind("length").to(u),d[rl("0x43")]("type").to(u,rl("0x37"),(t=>rl("0x5b")+t)),this[rl("0x40")][rl("0xb")](t.id,d));const g=i.createCommentThreadController(t[rl("0x69")],u),f=new Gc(e,t,u,g),h=t[rl("0x62")]().filter((t=>t[rl("0x1")]));u.descriptionParts=e.plugins[rl("0x34")]("TrackChangesEditing")[rl("0x19")][rl("0x15")](h),this[rl("0x4c")][rl("0xb")](t,f),this[rl("0x10")][rl("0xb")](u,f);const m=r[rl("0x27")]({view:d,target:()=>{const n=[],r=t[rl("0x62")]()[rl("0x49")]((t=>t[rl("0x1")]));for(const t of r)n[rl("0x4b")](...t[rl("0x44")]());return(0,o.getAllMarkersDomElementsSorted)(e[rl("0x5a")],n)},type:()=>"suggestion-"+f[rl("0x36")][rl("0x37")]});i[rl("0x59")](u,m),r.add(m),s.registerAnnotation(m)}_destroyController(t){const e=this.editor[rl("0x4a")][rl("0x34")](rl("0x5")),n=this[rl("0x61")][rl("0x4a")][rl("0x34")](rl("0x3b")),r=this[rl("0x4c")][rl("0x34")](t),i=r[rl("0x36")],o=n[rl("0x16")](i);e[rl("0x1c")](i),o&&n[rl("0x47")](o),this[rl("0x4c")].delete(t),this[rl("0x10")].delete(i),r.destroy()}_updateController(t){if(!t[rl("0x1")]||!this._suggestionToController.has(t))return;const e=this[rl("0x61")].plugins[rl("0x34")]("TrackChangesEditing"),n=this[rl("0x4c")][rl("0x34")](t),r=t.getAllAdjacentSuggestions();n.view[rl("0x3c")]=e[rl("0x19")][rl("0x15")](r)}[rl("0x54")](){for(const t of this._suggestionToController[rl("0x4f")]())this[rl("0xc")](t);for(const t of this[rl("0x40")][rl("0x42")]())t[rl("0x3f")][rl("0x54")]();super[rl("0x54")]()}}var ol,sl,xl=["plugins","Comments","getSuggestions","requires","editor","adapter","getSuggestion","get"];ol=xl,sl=203,function(t){for(;--t;)ol.push(ol.shift())}(++sl);var al=function(t,e){return xl[t-=0]};class cl extends t.Plugin{static get[al("0x0")](){return[Ac,il,al("0x6")]}static get pluginName(){return"TrackChanges"}set adapter(t){this[al("0x1")][al("0x5")][al("0x4")](Ac)[al("0x2")]=t}get[al("0x2")](){return this[al("0x1")][al("0x5")][al("0x4")](Ac)[al("0x2")]}addSuggestion(t){return this[al("0x1")][al("0x5")][al("0x4")](Ac).addSuggestionData(t)}[al("0x7")]({skipNotAttached:t=!1,toJSON:e=!1}={}){return this[al("0x1")].plugins[al("0x4")](Ac)[al("0x7")]({skipNotAttached:t,toJSON:e})}[al("0x3")](t){return this.editor[al("0x5")][al("0x4")](Ac).getSuggestion(t)}}const ll=["getRootsAttributes","name","createDocumentFragment","get","acceptAllSuggestions","data","CommentsRepository","addSuggestionData","addUser","plugins","result","getDataWithDiscardedSuggestions","reduce","getRootNames","editor","function","TrackChangesData","div","destroy","config","end","create","model","set","discardAllSuggestions","_adapter","Pagination","map","users","define","getUser","TrackChangesEditing","appendChild","rootsAttributes","editorCreator","trackChangesData","document","createElement","push","Users","trackChangesData.editorCreator","constructor","init","getSuggestions"];var ul,dl;ul=ll,dl=297,function(t){for(;--t;)ul.push(ul.shift())}(++dl);const gl=function(t,e){return ll[t-=0]},fl=[gl("0x25")];class hl extends t.Plugin{static get requires(){return[Ac]}static get pluginName(){return gl("0x1b")}init(){const t=this[gl("0x19")];if(t[gl("0x1e")][gl("0x28")](gl("0x7"),(e=>{const n=t[gl("0x21")][gl("0x3")].getRootNames()[gl("0x17")](((t,e)=>(t[e]="",t)),{});return t[gl("0x8")][gl("0x20")](n,e)})),gl("0x1a")!=typeof t[gl("0x1e")][gl("0xe")]("trackChangesData")[gl("0x1")])throw new e.CKEditorError("track-changes-data-invalid-editor-creator")}getDataWithAcceptedSuggestions(t){return pl(this.editor,!0,t)}[gl("0x16")](t){return pl(this.editor,!1,t)}}class ml extends t.Plugin{static get pluginName(){return"TrackChangesDataGetter"}constructor(t){super(t),this[gl("0x15")]=gl("0x1f")}[gl("0x9")](){this[gl("0x19")][gl("0x14")][gl("0xe")](gl("0x11"))[gl("0x24")]={addCommentThread:()=>new Promise((()=>{})),getCommentThread:()=>new Promise((()=>{})),updateCommentThread:()=>new Promise((()=>{})),resolveCommentThread:()=>new Promise((()=>{})),reopenCommentThread:()=>new Promise((()=>{})),removeCommentThread:()=>new Promise((()=>{})),addComment:()=>new Promise((()=>{})),updateComment:()=>new Promise((()=>{})),removeComment:()=>new Promise((()=>{}))},this.editor.plugins[gl("0xe")](gl("0x2a"))._adapter=null}}function bl(t){return void 0!==t[gl("0xb")]}async function pl(t,e,n){const r=(0,o.sanitizeEditorConfig)(t,fl);r.plugins[gl("0x5")](Ac,ml),r[gl("0x0")]=bl(t)?t[gl("0xb")]():void 0;const i=document[gl("0xd")](),s=t[gl("0x1e")].get(gl("0x2")).editorCreator,x=await s(r,(()=>function(t){const e=document[gl("0x4")](gl("0x1c"));return t[gl("0x2b")](e),e}(i)));!function(t,e){const n=t[gl("0x21")][gl("0x3")][gl("0x18")]()[gl("0x17")](((e,n)=>(e[n]=t[gl("0x10")][gl("0xe")]({rootName:n}),e)),{}),r=t.plugins[gl("0xe")](gl("0x6"))[gl("0x27")][gl("0x26")]((t=>({id:t.id,name:t[gl("0xc")]}))),i=t[gl("0x14")].get(gl("0x2a"))[gl("0xa")]({skipNotAttached:!0,toJSON:!0}),o=e[gl("0x14")][gl("0xe")](gl("0x6")),s=e[gl("0x14")][gl("0xe")]("TrackChangesEditing");for(const t of r)o[gl("0x29")](t.id)||o[gl("0x13")](t);o.me||o.useAnonymousUser();for(const t of i)s[gl("0x12")](t);e[gl("0x10")][gl("0x22")](n)}(t,x),x.execute(gl(e?"0xf":"0x23"));const a=bl(x)?x.getFullData(n):x.data[gl("0xe")](n);return await x[gl("0x1d")](),a}})(),(window.CKEditor5=window.CKEditor5||{}).trackChanges=r})();
|
|
5
|
+
*/(()=>{var t={211:(t,e,n)=>{t.exports=n(312)("./src/collaboration-core.js")},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},783:(t,e,n)=>{t.exports=n(237)("./src/engine.js")},507:(t,e,n)=>{t.exports=n(237)("./src/enter.js")},834:(t,e,n)=>{t.exports=n(237)("./src/typing.js")},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},901:(t,e,n)=>{t.exports=n(237)("./src/widget.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function n(r){var s=e[r];if(void 0!==s)return s.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,n),o.exports}n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{BaseSuggestionThreadView:()=>Bc,TrackChanges:()=>Zc,TrackChangesData:()=>ru,TrackChangesEditing:()=>Ic});var t=n(782),e=n(584),s=n(311),o=n(211),i=n(783),a=n(901);const c=u;function u(t,e){const n=f();return(u=function(t,e){return n[t-=255]})(t,e)}!function(t,e){const n=u,r=t();for(;;)try{if(200553===-parseInt(n(258))/1*(parseInt(n(255))/2)+-parseInt(n(256))/3+-parseInt(n(277))/4*(-parseInt(n(257))/5)+parseInt(n(268))/6*(parseInt(n(264))/7)+parseInt(n(278))/8+-parseInt(n(274))/9*(-parseInt(n(275))/10)+parseInt(n(273))/11*(parseInt(n(267))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(f);class l extends t.Command{constructor(t,e){const n=u;super(t),this[n(281)]=e,this[n(265)]=!1,this[n(271)](),this[n(262)]=!1}[c(271)](){this[c(266)]=!0}[c(259)](){const t=c;this[t(265)]=!this[t(265)],this[t(265)]?this[t(279)]():this[t(280)]()}[c(279)](){const t=c;for(const e of this[t(263)][t(260)][t(260)]())e[t(261)]&&!this[t(281)][t(272)](e)&&e[t(270)](t(276))}[c(280)](){const t=c;for(const e of this[t(263)][t(260)][t(260)]())e[t(261)]&&!this[t(281)][t(272)](e)&&e[t(269)](t(276))}}function f(){const t=["8488jIjGzF","2215792ZqsTue","_disableUnsupportedCommands","_enableCommands","_enabledCommands","6QVWMiJ","849429RAwXkG","65ZRsODX","51581sZUQqf","execute","commands","affectsData","_isEnabledBasedOnSelection","editor","18466SIwZtY","value","isEnabled","60LANdEB","306flSVbJ","clearForceDisabled","forceDisabled","refresh","has","359876dKmHxX","29259yzlKmI","110jQTtme","TrackChangesCommand"];return(f=function(){return t})()}const h=d;function g(){const t=["acceptSuggestion","542061XwsLpW","8397864cIVeHB","isEnabled","3nJFMFl","execute","6980IaiSrS","plugins","canEditAt","_suggestions","4898690PWSrQt","_isEnabledBasedOnSelection","track-changes-accept-suggestion-not-found","41866Ocsgrm","getRanges","editor","9HkxaEu","4158552dikoxE","get","model","1615938OUXAee","TrackChangesEditing","refresh","7JMKWcE","4262892enixLI"];return(g=function(){return t})()}function d(t,e){const n=g();return(d=function(t,e){return n[t-=344]})(t,e)}!function(t,e){const n=d,r=t();for(;;)try{if(863932===-parseInt(n(359))/1+-parseInt(n(353))/2+parseInt(n(362))/3*(-parseInt(n(357))/4)+parseInt(n(368))/5+-parseInt(n(350))/6*(-parseInt(n(356))/7)+parseInt(n(360))/8*(-parseInt(n(349))/9)+-parseInt(n(364))/10*(-parseInt(n(346))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(g);class p extends t.Command{constructor(t,e){const n=d;super(t),this[n(367)]=e,this[n(355)](),this[n(344)]=!1}[h(355)](){this[h(361)]=!0}[h(363)](t){const n=h,r=this[n(367)][n(351)](t);if(!r)throw new e.CKEditorError(n(345),this);const s=r[n(347)]();this[n(348)][n(352)][n(366)](s)&&this[n(348)][n(365)][n(351)](n(354))[n(358)](r)}}const m=I;function I(t,e){const n=E();return(I=function(t,e){return n[t-=498]})(t,e)}function E(){const t=["track-changes-discard-suggestion-not-found","TrackChangesEditing","editor","model","2uCsudw","142764TEnDad","discardSuggestion","canEditAt","refresh","get","1828380SDyBzx","85atACrk","execute","isEnabled","44200849TaBTNn","8049248wgfjeE","plugins","28EBjNAJ","getRanges","773670RpMGVU","11277080GgqjXX","_suggestions","9gZwwAb","_isEnabledBasedOnSelection","946886WSHdUE"];return(E=function(){return t})()}!function(t,e){const n=I,r=t();for(;;)try{if(630268===-parseInt(n(506))/1*(-parseInt(n(501))/2)+-parseInt(n(521))/3+-parseInt(n(507))/4*(-parseInt(n(513))/5)+-parseInt(n(512))/6*(-parseInt(n(519))/7)+parseInt(n(517))/8*(parseInt(n(499))/9)+parseInt(n(522))/10+-parseInt(n(516))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(E);class b extends t.Command{constructor(t,e){const n=I;super(t),this[n(498)]=e,this[n(510)](),this[n(500)]=!1}[m(510)](){this[m(515)]=!0}[m(514)](t){const n=m,r=this[n(498)][n(511)](t);if(!r)throw new e.CKEditorError(n(502),this);const s=r[n(520)]();this[n(504)][n(505)][n(509)](s)&&this[n(504)][n(518)][n(511)](n(503))[n(508)](r)}}function T(t){const e=_;return t[e(479)](((t,n)=>e(497)==t[e(477)]&&e(497)!=n[e(477)]?-1:e(497)!=t[e(477)]&&e(497)==n[e(477)]?1:0))}function _(t,e){const n=A();return(_=function(t,e){return n[t-=460]})(t,e)}function y(t,e){const n=_;let r,s=0;const o=[],i=e[n(503)];for(;s<t[n(500)];){const a=t[s],c=t[s+1];r||(r=e[n(474)](a)),k(e,a,c)||(o[n(463)](e[n(495)](r,i[n(470)](a)?e[n(498)](a):e[n(481)](a,n(476)))),r=null),s++}return o}function A(){const t=["length","35RWWcdB","1665uzjmYP","schema","map","isMultiRange","next","11208fdCqnS","push","19954DXfWlk","start"," [color ","from","value","7LGnLqX","isObject","add","isArray","replace","createPositionBefore","getRanges","end","type","6125224zyTctN","sort","isCollapsed","createPositionAt","execute","498916EnJBeh","isInContent","content","4104288xvOyNz","2062402OXiSWQ","color","join","isTouching","change","isIntersecting","3hlnuRA","splice","createRange","74444pFOPNX","deletion","createPositionAfter","20110Qubbos"];return(A=function(){return t})()}function k(t,e,n){const r=_;if(!n)return!1;const s=t[r(498)](e),o=t[r(474)](n);return s[r(490)](o)}!function(t,e){const n=_,r=t();for(;;)try{if(529468===-parseInt(n(483))/1+parseInt(n(487))/2*(parseInt(n(493))/3)+parseInt(n(496))/4*(-parseInt(n(501))/5)+parseInt(n(486))/6+parseInt(n(469))/7*(parseInt(n(478))/8)+-parseInt(n(502))/9*(-parseInt(n(499))/10)+-parseInt(n(464))/11*(parseInt(n(462))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(A);function C(t,e,n){const r=_;for(;n[r(500)];){const s=n[r(494)](0,100);t[r(491)]((()=>{const t=r;for(const n of s)n[t(484)]&&e[t(482)](n.id)}))}}function N(){const t=["_command","model","2jbOsVN","isEnabled","486744rzUrqx","3582kPgltr","values","1186052XNjxwT","isInContent","104874GpoNwS","10HSIgSn","8BBkmhh","getRanges","10852226RzMPbo","refresh","15528lBvlUw","editor","from","canEditAt","execute","_suggestions","952788pkTbCL","some","_isEnabledBasedOnSelection","261528yeRWYc","50UVbPPR"];return(N=function(){return t})()}const R=S;function S(t,e){const n=N();return(S=function(t,e){return n[t-=141]})(t,e)}!function(t,e){const n=S,r=t();for(;;)try{if(717148===-parseInt(n(162))/1*(-parseInt(n(141))/2)+parseInt(n(155))/3*(-parseInt(n(145))/4)+-parseInt(n(159))/5*(-parseInt(n(158))/6)+-parseInt(n(143))/7+parseInt(n(149))/8*(parseInt(n(165))/9)+parseInt(n(144))/10*(-parseInt(n(147))/11)+-parseInt(n(164))/12)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(N);class L extends t.Command{constructor(t,e,n){const r=S;super(t),this[r(160)]=e,this[r(154)]=n,this[r(148)](),this[r(157)]=!1}[R(148)](){const t=R,e=Array[t(151)](this[t(154)][t(166)]())[t(156)]((e=>e[t(142)]));this[t(163)]=this[t(160)][t(163)]&&e}[R(153)](){const t=R,e=T(Array[t(151)](this[t(154)][t(166)]()));for(const n of e){const e=n[t(146)]();if(!this[t(150)][t(161)][t(152)](e))return}C(this[t(150)][t(161)],this[t(160)],e)}}const v=w;function M(){const t=["editor","1650iacWIc","10ojppTV","values","selection","_suggestions","60LXhQms","483413FKLRUt","8998192UWjMDM","11731080audIuk","isEnabled","execute","model","canEditAt","getRanges","_isEnabledBasedOnSelection","refresh","9vZHXje","5332kXdRMy","3069206rHOCXi","2SfnuuM","document","7464567oUfyFa","_selectedSuggestions","415164bZhaVe","size","from","_command"];return(M=function(){return t})()}function w(t,e){const n=M();return(w=function(t,e){return n[t-=468]})(t,e)}!function(t,e){const n=w,r=t();for(;;)try{if(583636===parseInt(n(468))/1*(-parseInt(n(481))/2)+parseInt(n(490))/3*(-parseInt(n(479))/4)+parseInt(n(495))/5*(parseInt(n(485))/6)+parseInt(n(480))/7+parseInt(n(469))/8*(-parseInt(n(478))/9)+parseInt(n(491))/10*(parseInt(n(483))/11)+parseInt(n(470))/12)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(M);class O extends t.Command{constructor(t,e,n){const r=w;super(t),this[r(488)]=e,this[r(494)]=n,this[r(484)]=new Set,this[r(477)](),this[r(476)]=!1}[v(477)](){const t=v,e=this[t(489)][t(473)][t(482)][t(493)],n=Array[t(487)](this[t(494)][t(492)]());this[t(484)]=function(t,e){const n=_,r=Array[n(467)](t[n(475)]()),s=new Set;for(const o of e)if(o[n(484)])for(const e of r)for(const r of o[n(475)]())(e[n(492)](r)||t[n(480)]&&!o[n(460)]&&o[n(461)]&&r[n(476)][n(490)](e[n(465)]))&&s[n(471)](o);return s}(e,n),this[t(471)]=this[t(488)][t(471)]&&!!this[t(484)][t(486)]}[v(472)](){const t=v,e=T(Array[t(487)](this[t(484)]));for(const n of e){const e=n[t(475)]();if(!this[t(489)][t(473)][t(474)](e))return}C(this[t(489)][t(473)],this[t(488)],e)}}const D=function(){this.__data__=[],this.size=0};const F=function(t,e){return t===e||t!=t&&e!=e};const P=function(t,e){for(var n=t.length;n--;)if(F(t[n][0],e))return n;return-1};var x=Array.prototype.splice;const B=function(t){var e=this.__data__,n=P(e,t);return!(n<0)&&(n==e.length-1?e.pop():x.call(e,n,1),--this.size,!0)};const U=function(t){var e=this.__data__,n=P(e,t);return n<0?void 0:e[n][1]};const j=function(t){return P(this.__data__,t)>-1};const G=function(t,e){var n=this.__data__,r=P(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};function V(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}V.prototype.clear=D,V.prototype.delete=B,V.prototype.get=U,V.prototype.has=j,V.prototype.set=G;const H=V;const z=function(){this.__data__=new H,this.size=0};const W=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n};const X=function(t){return this.__data__.get(t)};const K=function(t){return this.__data__.has(t)};const q="object"==typeof global&&global&&global.Object===Object&&global;var J="object"==typeof self&&self&&self.Object===Object&&self;const Q=q||J||Function("return this")();const Y=Q.Symbol;var Z=Object.prototype,$=Z.hasOwnProperty,tt=Z.toString,et=Y?Y.toStringTag:void 0;const nt=function(t){var e=$.call(t,et),n=t[et];try{t[et]=void 0;var r=!0}catch(t){}var s=tt.call(t);return r&&(e?t[et]=n:delete t[et]),s};var rt=Object.prototype.toString;const st=function(t){return rt.call(t)};var ot=Y?Y.toStringTag:void 0;const it=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":ot&&ot in Object(t)?nt(t):st(t)};const at=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const ct=function(t){if(!at(t))return!1;var e=it(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const ut=Q["__core-js_shared__"];var lt,ft=(lt=/[^.]+$/.exec(ut&&ut.keys&&ut.keys.IE_PROTO||""))?"Symbol(src)_1."+lt:"";const ht=function(t){return!!ft&&ft in t};var gt=Function.prototype.toString;const dt=function(t){if(null!=t){try{return gt.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var pt=/^\[object .+?Constructor\]$/,mt=Function.prototype,It=Object.prototype,Et=mt.toString,bt=It.hasOwnProperty,Tt=RegExp("^"+Et.call(bt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const _t=function(t){return!(!at(t)||ht(t))&&(ct(t)?Tt:pt).test(dt(t))};const yt=function(t,e){return null==t?void 0:t[e]};const At=function(t,e){var n=yt(t,e);return _t(n)?n:void 0};const kt=At(Q,"Map");const Ct=At(Object,"create");const Nt=function(){this.__data__=Ct?Ct(null):{},this.size=0};const Rt=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var St=Object.prototype.hasOwnProperty;const Lt=function(t){var e=this.__data__;if(Ct){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return St.call(e,t)?e[t]:void 0};var vt=Object.prototype.hasOwnProperty;const Mt=function(t){var e=this.__data__;return Ct?void 0!==e[t]:vt.call(e,t)};const wt=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Ct&&void 0===e?"__lodash_hash_undefined__":e,this};function Ot(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Ot.prototype.clear=Nt,Ot.prototype.delete=Rt,Ot.prototype.get=Lt,Ot.prototype.has=Mt,Ot.prototype.set=wt;const Dt=Ot;const Ft=function(){this.size=0,this.__data__={hash:new Dt,map:new(kt||H),string:new Dt}};const Pt=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const xt=function(t,e){var n=t.__data__;return Pt(e)?n["string"==typeof e?"string":"hash"]:n.map};const Bt=function(t){var e=xt(this,t).delete(t);return this.size-=e?1:0,e};const Ut=function(t){return xt(this,t).get(t)};const jt=function(t){return xt(this,t).has(t)};const Gt=function(t,e){var n=xt(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this};function Vt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Vt.prototype.clear=Ft,Vt.prototype.delete=Bt,Vt.prototype.get=Ut,Vt.prototype.has=jt,Vt.prototype.set=Gt;const Ht=Vt;const zt=function(t,e){var n=this.__data__;if(n instanceof H){var r=n.__data__;if(!kt||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Ht(r)}return n.set(t,e),this.size=n.size,this};function Wt(t){var e=this.__data__=new H(t);this.size=e.size}Wt.prototype.clear=z,Wt.prototype.delete=W,Wt.prototype.get=X,Wt.prototype.has=K,Wt.prototype.set=zt;const Xt=Wt;const Kt=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t};const qt=function(){try{var t=At(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const Jt=function(t,e,n){"__proto__"==e&&qt?qt(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n};var Qt=Object.prototype.hasOwnProperty;const Yt=function(t,e,n){var r=t[e];Qt.call(t,e)&&F(r,n)&&(void 0!==n||e in t)||Jt(t,e,n)};const Zt=function(t,e,n,r){var s=!n;n||(n={});for(var o=-1,i=e.length;++o<i;){var a=e[o],c=r?r(n[a],t[a],a,n,t):void 0;void 0===c&&(c=t[a]),s?Jt(n,a,c):Yt(n,a,c)}return n};const $t=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r};const te=function(t){return null!=t&&"object"==typeof t};const ee=function(t){return te(t)&&"[object Arguments]"==it(t)};var ne=Object.prototype,re=ne.hasOwnProperty,se=ne.propertyIsEnumerable;const oe=ee(function(){return arguments}())?ee:function(t){return te(t)&&re.call(t,"callee")&&!se.call(t,"callee")};const ie=Array.isArray;const ae=function(){return!1};var ce="object"==typeof exports&&exports&&!exports.nodeType&&exports,ue=ce&&"object"==typeof module&&module&&!module.nodeType&&module,le=ue&&ue.exports===ce?Q.Buffer:void 0;const fe=(le?le.isBuffer:void 0)||ae;var he=/^(?:0|[1-9]\d*)$/;const ge=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&he.test(t))&&t>-1&&t%1==0&&t<e};const de=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var pe={};pe["[object Float32Array]"]=pe["[object Float64Array]"]=pe["[object Int8Array]"]=pe["[object Int16Array]"]=pe["[object Int32Array]"]=pe["[object Uint8Array]"]=pe["[object Uint8ClampedArray]"]=pe["[object Uint16Array]"]=pe["[object Uint32Array]"]=!0,pe["[object Arguments]"]=pe["[object Array]"]=pe["[object ArrayBuffer]"]=pe["[object Boolean]"]=pe["[object DataView]"]=pe["[object Date]"]=pe["[object Error]"]=pe["[object Function]"]=pe["[object Map]"]=pe["[object Number]"]=pe["[object Object]"]=pe["[object RegExp]"]=pe["[object Set]"]=pe["[object String]"]=pe["[object WeakMap]"]=!1;const me=function(t){return te(t)&&de(t.length)&&!!pe[it(t)]};const Ie=function(t){return function(e){return t(e)}};var Ee="object"==typeof exports&&exports&&!exports.nodeType&&exports,be=Ee&&"object"==typeof module&&module&&!module.nodeType&&module,Te=be&&be.exports===Ee&&q.process;const _e=function(){try{var t=be&&be.require&&be.require("util").types;return t||Te&&Te.binding&&Te.binding("util")}catch(t){}}();var ye=_e&&_e.isTypedArray;const Ae=ye?Ie(ye):me;var ke=Object.prototype.hasOwnProperty;const Ce=function(t,e){var n=ie(t),r=!n&&oe(t),s=!n&&!r&&fe(t),o=!n&&!r&&!s&&Ae(t),i=n||r||s||o,a=i?$t(t.length,String):[],c=a.length;for(var u in t)!e&&!ke.call(t,u)||i&&("length"==u||s&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||ge(u,c))||a.push(u);return a};var Ne=Object.prototype;const Re=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Ne)};const Se=function(t,e){return function(n){return t(e(n))}};const Le=Se(Object.keys,Object);var ve=Object.prototype.hasOwnProperty;const Me=function(t){if(!Re(t))return Le(t);var e=[];for(var n in Object(t))ve.call(t,n)&&"constructor"!=n&&e.push(n);return e};const we=function(t){return null!=t&&de(t.length)&&!ct(t)};const Oe=function(t){return we(t)?Ce(t):Me(t)};const De=function(t,e){return t&&Zt(e,Oe(e),t)};const Fe=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e};var Pe=Object.prototype.hasOwnProperty;const xe=function(t){if(!at(t))return Fe(t);var e=Re(t),n=[];for(var r in t)("constructor"!=r||!e&&Pe.call(t,r))&&n.push(r);return n};const Be=function(t){return we(t)?Ce(t,!0):xe(t)};const Ue=function(t,e){return t&&Zt(e,Be(e),t)};var je="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ge=je&&"object"==typeof module&&module&&!module.nodeType&&module,Ve=Ge&&Ge.exports===je?Q.Buffer:void 0,He=Ve?Ve.allocUnsafe:void 0;const ze=function(t,e){if(e)return t.slice();var n=t.length,r=He?He(n):new t.constructor(n);return t.copy(r),r};const We=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e};const Xe=function(t,e){for(var n=-1,r=null==t?0:t.length,s=0,o=[];++n<r;){var i=t[n];e(i,n,t)&&(o[s++]=i)}return o};const Ke=function(){return[]};var qe=Object.prototype.propertyIsEnumerable,Je=Object.getOwnPropertySymbols;const Qe=Je?function(t){return null==t?[]:(t=Object(t),Xe(Je(t),(function(e){return qe.call(t,e)})))}:Ke;const Ye=function(t,e){return Zt(t,Qe(t),e)};const Ze=function(t,e){for(var n=-1,r=e.length,s=t.length;++n<r;)t[s+n]=e[n];return t};const $e=Se(Object.getPrototypeOf,Object);const tn=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)Ze(e,Qe(t)),t=$e(t);return e}:Ke;const en=function(t,e){return Zt(t,tn(t),e)};const nn=function(t,e,n){var r=e(t);return ie(t)?r:Ze(r,n(t))};const rn=function(t){return nn(t,Oe,Qe)};const sn=function(t){return nn(t,Be,tn)};const on=At(Q,"DataView");const an=At(Q,"Promise");const cn=At(Q,"Set");const un=At(Q,"WeakMap");var ln="[object Map]",fn="[object Promise]",hn="[object Set]",gn="[object WeakMap]",dn="[object DataView]",pn=dt(on),mn=dt(kt),In=dt(an),En=dt(cn),bn=dt(un),Tn=it;(on&&Tn(new on(new ArrayBuffer(1)))!=dn||kt&&Tn(new kt)!=ln||an&&Tn(an.resolve())!=fn||cn&&Tn(new cn)!=hn||un&&Tn(new un)!=gn)&&(Tn=function(t){var e=it(t),n="[object Object]"==e?t.constructor:void 0,r=n?dt(n):"";if(r)switch(r){case pn:return dn;case mn:return ln;case In:return fn;case En:return hn;case bn:return gn}return e});const _n=Tn;var yn=Object.prototype.hasOwnProperty;const An=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&yn.call(t,"index")&&(n.index=t.index,n.input=t.input),n};const kn=Q.Uint8Array;const Cn=function(t){var e=new t.constructor(t.byteLength);return new kn(e).set(new kn(t)),e};const Nn=function(t,e){var n=e?Cn(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)};var Rn=/\w*$/;const Sn=function(t){var e=new t.constructor(t.source,Rn.exec(t));return e.lastIndex=t.lastIndex,e};var Ln=Y?Y.prototype:void 0,vn=Ln?Ln.valueOf:void 0;const Mn=function(t){return vn?Object(vn.call(t)):{}};const wn=function(t,e){var n=e?Cn(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)};const On=function(t,e,n){var r=t.constructor;switch(e){case"[object ArrayBuffer]":return Cn(t);case"[object Boolean]":case"[object Date]":return new r(+t);case"[object DataView]":return Nn(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return wn(t,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(t);case"[object RegExp]":return Sn(t);case"[object Symbol]":return Mn(t)}};var Dn=Object.create;const Fn=function(){function t(){}return function(e){if(!at(e))return{};if(Dn)return Dn(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();const Pn=function(t){return"function"!=typeof t.constructor||Re(t)?{}:Fn($e(t))};const xn=function(t){return te(t)&&"[object Map]"==_n(t)};var Bn=_e&&_e.isMap;const Un=Bn?Ie(Bn):xn;const jn=function(t){return te(t)&&"[object Set]"==_n(t)};var Gn=_e&&_e.isSet;const Vn=Gn?Ie(Gn):jn;var Hn="[object Arguments]",zn="[object Function]",Wn="[object Object]",Xn={};Xn[Hn]=Xn["[object Array]"]=Xn["[object ArrayBuffer]"]=Xn["[object DataView]"]=Xn["[object Boolean]"]=Xn["[object Date]"]=Xn["[object Float32Array]"]=Xn["[object Float64Array]"]=Xn["[object Int8Array]"]=Xn["[object Int16Array]"]=Xn["[object Int32Array]"]=Xn["[object Map]"]=Xn["[object Number]"]=Xn[Wn]=Xn["[object RegExp]"]=Xn["[object Set]"]=Xn["[object String]"]=Xn["[object Symbol]"]=Xn["[object Uint8Array]"]=Xn["[object Uint8ClampedArray]"]=Xn["[object Uint16Array]"]=Xn["[object Uint32Array]"]=!0,Xn["[object Error]"]=Xn[zn]=Xn["[object WeakMap]"]=!1;const Kn=function t(e,n,r,s,o,i){var a,c=1&n,u=2&n,l=4&n;if(r&&(a=o?r(e,s,o,i):r(e)),void 0!==a)return a;if(!at(e))return e;var f=ie(e);if(f){if(a=An(e),!c)return We(e,a)}else{var h=_n(e),g=h==zn||"[object GeneratorFunction]"==h;if(fe(e))return ze(e,c);if(h==Wn||h==Hn||g&&!o){if(a=u||g?{}:Pn(e),!c)return u?en(e,Ue(a,e)):Ye(e,De(a,e))}else{if(!Xn[h])return o?e:{};a=On(e,h,c)}}i||(i=new Xt);var d=i.get(e);if(d)return d;i.set(e,a),Vn(e)?e.forEach((function(s){a.add(t(s,n,r,s,e,i))})):Un(e)&&e.forEach((function(s,o){a.set(o,t(s,n,r,o,e,i))}));var p=f?void 0:(l?u?sn:rn:u?Be:Oe)(e);return Kt(p||e,(function(s,o){p&&(s=e[o=s]),Yt(a,o,t(s,n,r,o,e,i))})),a};const qn=function(t){return Kn(t,5)};const Jn=function(t){return"symbol"==typeof t||te(t)&&"[object Symbol]"==it(t)};var Qn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Yn=/^\w*$/;const Zn=function(t,e){if(ie(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Jn(t))||(Yn.test(t)||!Qn.test(t)||null!=e&&t in Object(e))};function $n(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,s=e?e.apply(this,r):r[0],o=n.cache;if(o.has(s))return o.get(s);var i=t.apply(this,r);return n.cache=o.set(s,i)||o,i};return n.cache=new($n.Cache||Ht),n}$n.Cache=Ht;const tr=$n;var er=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,nr=/\\(\\)?/g;const rr=function(t){var e=tr(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(er,(function(t,n,r,s){e.push(r?s.replace(nr,"$1"):n||t)})),e}));const sr=function(t,e){for(var n=-1,r=null==t?0:t.length,s=Array(r);++n<r;)s[n]=e(t[n],n,t);return s};var or=Y?Y.prototype:void 0,ir=or?or.toString:void 0;const ar=function t(e){if("string"==typeof e)return e;if(ie(e))return sr(e,t)+"";if(Jn(e))return ir?ir.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n};const cr=function(t){return null==t?"":ar(t)};const ur=function(t,e){return ie(t)?t:Zn(t,e)?[t]:rr(cr(t))};const lr=function(t){if("string"==typeof t||Jn(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e};const fr=function(t,e,n,r){if(!at(t))return t;for(var s=-1,o=(e=ur(e,t)).length,i=o-1,a=t;null!=a&&++s<o;){var c=lr(e[s]),u=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(s!=i){var l=a[c];void 0===(u=r?r(l,c,a):void 0)&&(u=at(l)?l:ge(e[s+1])?[]:{})}Yt(a,c,u),a=a[c]}return t};const hr=function(t,e,n){return null==t?t:fr(t,e,n)};const gr=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const dr=function(t){return this.__data__.has(t)};function pr(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Ht;++e<n;)this.add(t[e])}pr.prototype.add=pr.prototype.push=gr,pr.prototype.has=dr;const mr=pr;const Ir=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1};const Er=function(t,e){return t.has(e)};const br=function(t,e,n,r,s,o){var i=1&n,a=t.length,c=e.length;if(a!=c&&!(i&&c>a))return!1;var u=o.get(t),l=o.get(e);if(u&&l)return u==e&&l==t;var f=-1,h=!0,g=2&n?new mr:void 0;for(o.set(t,e),o.set(e,t);++f<a;){var d=t[f],p=e[f];if(r)var m=i?r(p,d,f,e,t,o):r(d,p,f,t,e,o);if(void 0!==m){if(m)continue;h=!1;break}if(g){if(!Ir(e,(function(t,e){if(!Er(g,e)&&(d===t||s(d,t,n,r,o)))return g.push(e)}))){h=!1;break}}else if(d!==p&&!s(d,p,n,r,o)){h=!1;break}}return o.delete(t),o.delete(e),h};const Tr=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n};const _r=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n};var yr=Y?Y.prototype:void 0,Ar=yr?yr.valueOf:void 0;const kr=function(t,e,n,r,s,o,i){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new kn(t),new kn(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return F(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var a=Tr;case"[object Set]":var c=1&r;if(a||(a=_r),t.size!=e.size&&!c)return!1;var u=i.get(t);if(u)return u==e;r|=2,i.set(t,e);var l=br(a(t),a(e),r,s,o,i);return i.delete(t),l;case"[object Symbol]":if(Ar)return Ar.call(t)==Ar.call(e)}return!1};var Cr=Object.prototype.hasOwnProperty;const Nr=function(t,e,n,r,s,o){var i=1&n,a=rn(t),c=a.length;if(c!=rn(e).length&&!i)return!1;for(var u=c;u--;){var l=a[u];if(!(i?l in e:Cr.call(e,l)))return!1}var f=o.get(t),h=o.get(e);if(f&&h)return f==e&&h==t;var g=!0;o.set(t,e),o.set(e,t);for(var d=i;++u<c;){var p=t[l=a[u]],m=e[l];if(r)var I=i?r(m,p,l,e,t,o):r(p,m,l,t,e,o);if(!(void 0===I?p===m||s(p,m,n,r,o):I)){g=!1;break}d||(d="constructor"==l)}if(g&&!d){var E=t.constructor,b=e.constructor;E==b||!("constructor"in t)||!("constructor"in e)||"function"==typeof E&&E instanceof E&&"function"==typeof b&&b instanceof b||(g=!1)}return o.delete(t),o.delete(e),g};var Rr="[object Arguments]",Sr="[object Array]",Lr="[object Object]",vr=Object.prototype.hasOwnProperty;const Mr=function(t,e,n,r,s,o){var i=ie(t),a=ie(e),c=i?Sr:_n(t),u=a?Sr:_n(e),l=(c=c==Rr?Lr:c)==Lr,f=(u=u==Rr?Lr:u)==Lr,h=c==u;if(h&&fe(t)){if(!fe(e))return!1;i=!0,l=!1}if(h&&!l)return o||(o=new Xt),i||Ae(t)?br(t,e,n,r,s,o):kr(t,e,c,n,r,s,o);if(!(1&n)){var g=l&&vr.call(t,"__wrapped__"),d=f&&vr.call(e,"__wrapped__");if(g||d){var p=g?t.value():t,m=d?e.value():e;return o||(o=new Xt),s(p,m,n,r,o)}}return!!h&&(o||(o=new Xt),Nr(t,e,n,r,s,o))};const wr=function t(e,n,r,s,o){return e===n||(null==e||null==n||!te(e)&&!te(n)?e!=e&&n!=n:Mr(e,n,r,s,t,o))};const Or=function(t,e){return wr(t,e)};const Dr=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0};const Fr=function(t,e){for(var n=0,r=(e=ur(e,t)).length;null!=t&&n<r;)t=t[lr(e[n++])];return n&&n==r?t:void 0};const Pr=function(t,e,n){var r=-1,s=t.length;e<0&&(e=-e>s?0:s+e),(n=n>s?s:n)<0&&(n+=s),s=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(s);++r<s;)o[r]=t[r+e];return o};const xr=function(t,e){return e.length<2?t:Fr(t,Pr(e,0,-1))};const Br=function(t,e){return e=ur(e,t),null==(t=xr(t,e))||delete t[lr(Dr(e))]};const Ur=function(t,e){return null==t||Br(t,e)};function jr(t,e){const n=Vr();return(jr=function(t,e){return n[t-=342]})(t,e)}const Gr=jr;function Vr(){const t=["change","_markerNames","getMultiRangeId","clear","969020GpFECH","authoredAt","isExternal","3265758fxzJtr","accept","discard","set","getFirstRange","getFirstMarker","_onDiscard","3439653OUJlco","1322700TdxHEw","attributes","getMarkers","getMarkerNames","isMultiRange","219388EYdeWZ","isIntersecting","6643320TFiRqW","getRanges","head","map","toJSON","decorate","221095yhvFJr","creator","onAccept","_model","removeMarkers","nodeBefore","get","suggestion:","onAttributesChange","next","substr","createdAt","_onAttributesChange","length","add","2HHissc","setAttribute","reduce","nodeAfter","_isDataLoaded","addRange","commentThread","getItems","_saved","data","_onAccept","isIntersectingWithRange","getRange","size","addMarker","author","hasComments","from","removeAttribute","end","removeMarker","isInContent","getContainedElement","addMarkerName","@external","delete","start","filter","type","onDiscard","getAllAdjacentSuggestions","split","subType","markers","push","previous"];return(Vr=function(){return t})()}!function(t,e){const n=jr,r=t();for(;;)try{if(309045===parseInt(n(375))/1*(parseInt(n(390))/2)+-parseInt(n(362))/3+-parseInt(n(367))/4+-parseInt(n(351))/5+-parseInt(n(354))/6+parseInt(n(361))/7+parseInt(n(369))/8)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Vr);class Hr extends((0,e.ObservableMixin)()){constructor(t,e){const n=jr;super(),this[n(394)]=!1,this.id=e.id,this[n(418)]=e[n(418)],this[n(343)]=e[n(343)]||null,this[n(405)]=e[n(405)],this[n(376)]=e[n(376)]||e[n(405)],this[n(353)]=Boolean(e[n(363)]&&e[n(363)][n(414)]),this[n(399)]=null,this[n(378)]=t,this[n(400)]=e[n(377)],this[n(360)]=e[n(419)],this[n(387)]=e[n(383)],this[n(348)]=new Set,this[n(386)]=null,this[n(357)](n(352),null),this[n(357)](n(363),e[n(363)]||{}),this[n(357)](n(346),null),this[n(357)](n(384),null),this[n(357)](n(396),null),this[n(357)](n(398),!1),this[n(374)](n(355)),this[n(374)](n(356))}get[Gr(371)](){const t=Gr;let e=this;for(;e[t(346)];)e=e[t(346)];return e}get[Gr(406)](){const t=Gr;return!!this[t(396)]&&this[t(396)][t(388)]>0}get[Gr(366)](){const t=Gr;return 0!=this[t(348)][t(403)]&&6==Array[t(407)](this[t(348)])[0][t(342)](":")[t(388)]}get[Gr(411)](){return null!==this[Gr(359)]()}[Gr(413)](t){const e=Gr;this[e(348)][e(389)](t)}[Gr(365)](){const t=Gr;return Array[t(407)](this[t(348)])}[Gr(364)](){const t=Gr;return this[t(365)]()[t(372)]((e=>this[t(378)][t(344)][t(381)](e)))[t(417)]((t=>t))}[Gr(359)](){return this[Gr(364)]()[0]||null}[Gr(379)](){const t=Gr;this[t(378)][t(347)]((e=>{const n=t;for(const t of this[n(364)]())e[n(410)](t)})),this[t(348)][t(350)]()}[Gr(410)](t){const e=Gr;this[e(378)][e(347)]((n=>{n[e(410)](t)})),this[e(348)][e(415)](t)}[Gr(395)](t){const e=Gr,n=e(382)+this[e(418)]+":"+this[e(343)]+":"+this.id+":"+this[e(376)].id+":"+Hr[e(349)]();this[e(413)](n),this[e(378)][e(347)]((r=>{r[e(404)](n,{range:t,usingOperation:!0,affectsData:!0})}))}[Gr(401)](t){const e=Gr;for(const n of this[e(370)]())if(n[e(368)](t))return!0;return!1}[Gr(370)](){const t=Gr;return this[t(364)]()[t(372)]((e=>e[t(402)]()))}[Gr(397)](){const t=Gr;return this[t(370)]()[t(392)](((e,n)=>[...e,...n[t(397)]()]),[])}[Gr(358)](){const t=Gr;var e;return(null===(e=this[t(359)]())||void 0===e?void 0:e[t(402)]())||null}[Gr(412)](){const t=Gr,e=this[t(370)]();if(1!=e[t(388)])return null;const n=e[0],r=n[t(416)][t(393)],s=n[t(409)][t(380)];return r instanceof i.Element?r!=s?null:r:null}[Gr(355)](){const t=Gr;this[t(400)](this[t(370)](),this[t(399)],this[t(363)]),this[t(379)]()}[Gr(356)](){const t=Gr;this[t(360)](this[t(370)](),this[t(399)],this[t(363)]),this[t(379)]()}[Gr(420)](){const t=Gr,e=[];let n=this[t(371)];for(;n;)e[t(345)](n),n=n[t(384)];return e}[Gr(391)](t,e){const n=Gr,r=qn(this[n(363)]);hr(r,t,e),Or(r,this[n(363)])||(this[n(363)]=r,this[n(387)](r))}[Gr(408)](t){const e=Gr,n=qn(this[e(363)]);Ur(n,t),Or(n,this[e(363)])||(this[e(363)]=n,this[e(387)](this[e(363)]))}[Gr(373)](){const t=Gr;return{id:this.id,type:this[t(343)]?this[t(418)]+":"+this[t(343)]:this[t(418)],authorId:this[t(376)].id,createdAt:this[t(386)],hasComments:this[t(406)],data:this[t(399)],attributes:this[t(363)]}}static[Gr(349)](){const t=Gr;return(0,e.uid)()[t(385)](1,5)}}function zr(t,e,n){const r=t.t;switch(e){case"Track changes":return r("Track changes");case"Accept suggestion":return r("Accept suggestion");case"Discard suggestion":return r("Discard suggestion");case"Accept all suggestions":return r("Accept all suggestions");case"Accept all selected suggestions":return r("Accept all selected suggestions");case"Discard all suggestions":return r("Discard all suggestions");case"Discard all selected suggestions":return r("Discard all selected suggestions");case"*Reset font size*":return r("*Reset font size*");case"*Reset font family*":return r("*Reset font family*");case"*Reset font color*":return r("*Reset font color*");case"*Reset font background color*":return r("*Reset font background color*");case"*Remove image text alternative*":return r("*Remove image text alternative*");case"*Reset image width*":return r("*Reset image width*");case"*Remove link*":return r("*Remove link*");case"*Check item*":return r("*Check item*");case"*Uncheck item*":return r("*Uncheck item*");case"*Remove all formatting*":return r("*Remove all formatting*");case"*Replace table cells*":return r("*Replace table cells*");case"*Merge cells*":return r("*Merge cells*");case"*Split cell:* vertically":return r("*Split cell:* vertically");case"*Split cell:* horizontally":return r("*Split cell:* horizontally");case"*Indent:* %0":return r("*Indent:* %0",n);case"*Outdent:* %0":return r("*Outdent:* %0",n);case"*Change to:* %0":return r("*Change to:* %0",n);case"*Insert:* %0":return r("*Insert:* %0",n);case"*Format:* %0":return r("*Format:* %0",n);case"*Format:* change table properties":return r("*Format:* change table properties");case"*Format:* change table cell properties":return r("*Format:* change table cell properties");case"*Format:* insert into %0":return r("*Format:* insert into %0",n);case"*Format:* remove from %0":return r("*Format:* remove from %0",n);case"*Replace image URL*":return r("*Replace image URL*");case"*Format:* resize table":return r("*Format:* resize table");case"*Format:* set order to reversed":return r("*Format:* set order to reversed");case"*Format:* set order to regular":return r("*Format:* set order to regular");case"*Format:* set start index to %0":return r("*Format:* set start index to %0",n);case"*Change %0 content*":return r("*Change %0 content*",n);case"*Remove:* %0":return r("*Remove:* %0",n);case"*Merge:* %0":return r("*Merge:* %0",n);case"*Split:* %0":return r("*Split:* %0",n);case"*Remove format:* %0":return r("*Remove format:* %0",n);case"*Set font size:* %0":return r("*Set font size:* %0",n);case"*Set font family:* %0":return r("*Set font family:* %0",n);case"*Set format to:* %0":return r("*Set format to:* %0",n);case"*Set font color:* %0":return r("*Set font color:* %0",n);case"*Set font background color:* %0":return r("*Set font background color:* %0",n);case"*Set format:* %0":return r("*Set format:* %0",n);case"*Set image text alternative:* %0":return r("*Set image text alternative:* %0",n);case"*Set image width:* %0":return r("*Set image width:* %0",n);case"*Set link:* %0":return r("*Set link:* %0",n);case"*Set highlight:* %0":return r("*Set highlight:* %0",n);case"*Remove highlight*":return r("*Remove highlight*");case"FORMAT_HIGHLIGHT":return r({string:"highlight",id:"FORMAT_HIGHLIGHT"});case"FORMAT_RESTRICTED_ENABLED":return r({string:"*Enable in restricted editing mode*",id:"FORMAT_RESTRICTED_ENABLED"});case"FORMAT_RESTRICTED_DISABLED":return r({string:"*Disable in restricted editing mode*",id:"FORMAT_RESTRICTED_DISABLED"});case"ELEMENT_TABLE":return r({string:"table",plural:"%0 tables",id:"ELEMENT_TABLE"},n);case"ELEMENT_PARAGRAPH":return r({string:"paragraph",plural:"%0 paragraphs",id:"ELEMENT_PARAGRAPH"},n);case"ELEMENT_PAGE_BREAK":return r({string:"page break",plural:"%0 page breaks",id:"ELEMENT_PAGE_BREAK"},n);case"ELEMENT_MEDIA":return r({string:"media item",plural:"%0 media items",id:"ELEMENT_MEDIA"},n);case"ELEMENT_IMAGE":return r({string:"image",plural:"%0 images",id:"ELEMENT_IMAGE"},n);case"ELEMENT_INLINE_IMAGE":return r({string:"image",plural:"%0 images",id:"ELEMENT_INLINE_IMAGE"},n);case"FORMAT_SIDE_IMAGE":return r({string:"side image",id:"FORMAT_SIDE_IMAGE"});case"ELEMENT_CAPTION":return r({string:"caption",id:"ELEMENT_CAPTION"});case"ELEMENT_HORIZONTAL_LINE":return r({string:"horizontal line",plural:"%0 horizontal lines",id:"ELEMENT_HORIZONTAL_LINE"},n);case"ELEMENT_HTML_EMBED":return r({string:"HTML embed",plural:"%0 HTML embeds",id:"ELEMENT_HTML_EMBED"},n);case"ELEMENT_HEADING":return r({string:"heading (level %1)",plural:"%0 headings (level %1)",id:"ELEMENT_HEADING"},n);case"ELEMENT_HEADING_CUSTOM":return r({string:"heading (%1)",plural:"%0 headings (%1)",id:"ELEMENT_HEADING_CUSTOM"},n);case"ELEMENT_LIST_ITEM":return r({string:"list item",plural:"%0 list items",id:"ELEMENT_LIST_ITEM"},n);case"ELEMENT_BULLETED_LIST":return r({string:"bulleted list",id:"ELEMENT_BULLETED_LIST"});case"ELEMENT_BULLETED_LIST_DEFAULT":return r({string:"bulleted list (default)",id:"ELEMENT_BULLETED_LIST_DEFAULT"});case"ELEMENT_BULLETED_LIST_CIRCLE":return r({string:"bulleted list (circle)",id:"ELEMENT_BULLETED_LIST_CIRCLE"});case"ELEMENT_BULLETED_LIST_DISC":return r({string:"bulleted list (disc)",id:"ELEMENT_BULLETED_LIST_DISC"});case"ELEMENT_BULLETED_LIST_SQUARE":return r({string:"bulleted list (square)",id:"ELEMENT_BULLETED_LIST_SQUARE"});case"ELEMENT_NUMBERED_LIST_DEFAULT":return r({string:"numbered list (default)",id:"ELEMENT_NUMBERED_LIST_DEFAULT"});case"ELEMENT_NUMBERED_LIST":return r({string:"numbered list",id:"ELEMENT_NUMBERED_LIST"});case"ELEMENT_NUMBERED_LIST_DECIMAL":return r({string:"numbered list (decimal)",id:"ELEMENT_NUMBERED_LIST_DECIMAL"});case"ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO":return r({string:"numbered list (decimal with leading zero)",id:"ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO"});case"ELEMENT_NUMBERED_LIST_LOWER_LATIN":return r({string:"numbered list (lower-latin)",id:"ELEMENT_NUMBERED_LIST_LOWER_LATIN"});case"ELEMENT_NUMBERED_LIST_LOWER_ROMAN":return r({string:"numbered list (lower-roman)",id:"ELEMENT_NUMBERED_LIST_LOWER_ROMAN"});case"ELEMENT_NUMBERED_LIST_UPPER_LATIN":return r({string:"numbered list (upper-latin)",id:"ELEMENT_NUMBERED_LIST_UPPER_LATIN"});case"ELEMENT_NUMBERED_LIST_UPPER_ROMAN":return r({string:"numbered list (upper-roman)",id:"ELEMENT_NUMBERED_LIST_UPPER_ROMAN"});case"ELEMENT_TODO_LIST":return r({string:"to-do list",id:"ELEMENT_TODO_LIST"});case"REPLACE_TEXT":return r({string:"*Replace:* %0 *with* %1",id:"REPLACE_TEXT"},n);case"ELEMENT_SPACE":return r({string:"space",plural:"%0 spaces",id:"ELEMENT_SPACE"},n);case"FORMAT_ALIGNMENT":return r({string:"alignment",id:"FORMAT_ALIGNMENT"});case"FORMAT_ALIGN_TO_LEFT":return r({string:"align to left",id:"FORMAT_ALIGN_TO_LEFT"});case"FORMAT_ALIGN_TO_RIGHT":return r({string:"align to right",id:"FORMAT_ALIGN_TO_RIGHT"});case"FORMAT_ALIGN_TO_CENTER":return r({string:"align to center",id:"FORMAT_ALIGN_TO_CENTER"});case"FORMAT_JUSTIFY_TEXT":return r({string:"justify",id:"FORMAT_JUSTIFY_TEXT"});case"FORMAT_BOLD":return r({string:"bold",id:"FORMAT_BOLD"});case"FORMAT_ITALIC":return r({string:"italic",id:"FORMAT_ITALIC"});case"FORMAT_UNDERLINE":return r({string:"underline",id:"FORMAT_UNDERLINE"});case"FORMAT_CODE":return r({string:"code",id:"FORMAT_CODE"});case"FORMAT_STRIKETHROUGH":return r({string:"strikethrough",id:"FORMAT_STRIKETHROUGH"});case"FORMAT_SUBSCRIPT":return r({string:"subscript",id:"FORMAT_SUBSCRIPT"});case"FORMAT_SUPERSCRIPT":return r({string:"superscript",id:"FORMAT_SUPERSCRIPT"});case"ELEMENT_BLOCK_QUOTE":return r({string:"block quote",id:"ELEMENT_BLOCK_QUOTE"});case"ELEMENT_CODE_BLOCK":return r({string:"code block",plural:"%0 code blocks",id:"ELEMENT_CODE_BLOCK"},n);case"FORMAT_HEADER_COLUMN":return r({string:"header column",id:"FORMAT_HEADER_COLUMN"});case"FORMAT_REGULAR_COLUMN":return r({string:"regular column",id:"FORMAT_REGULAR_COLUMN"});case"FORMAT_HEADER_ROW":return r({string:"header row",id:"FORMAT_HEADER_ROW"});case"FORMAT_REGULAR_ROW":return r({string:"regular row",id:"FORMAT_REGULAR_ROW"});case"FORMAT_INDENT":return r({string:"indent",id:"FORMAT_INDENT"});case"FORMAT_LIST_REVERSED":return r({string:"list reversed",id:"FORMAT_LIST_REVERSED"});case"FORMAT_LIST_START":return r({string:"list start",id:"FORMAT_LIST_START"});case"FORMAT_FONT_SIZE":return r({string:"font size",id:"FORMAT_FONT_SIZE"});case"FORMAT_FONT_FAMILY":return r({string:"font family",id:"FORMAT_FONT_FAMILY"});case"FORMAT_FONT_COLOR":return r({string:"font color",id:"FORMAT_FONT_COLOR"});case"FORMAT_FONT_BACKGROUND":return r({string:"font background color",id:"FORMAT_FONT_BACKGROUND"});case"FORMAT_IMAGE_SIZE":return r({string:"image size",id:"FORMAT_IMAGE_SIZE"});case"FORMAT_STYLE":return r({string:"style",id:"FORMAT_STYLE"});case"PENDING_ACTION_SUGGESTION":return r({string:"Unsaved change in suggestion.",id:"PENDING_ACTION_SUGGESTION"});case"ELEMENT_TABLE_WITH_TEXT":return r({string:"table *with text* %0",id:"ELEMENT_TABLE_WITH_TEXT"},n);case"ELEMENT_TABLE_ROW":return r({string:"table row",plural:"%0 table rows",id:"ELEMENT_TABLE_ROW"},n);case"ELEMENT_TABLE_ROW_WITH_TEXT":return r({string:"table row *with text* %1",plural:"%0 table rows *with text* %1",id:"ELEMENT_TABLE_ROW_WITH_TEXT"},n);case"ELEMENT_TABLE_COLUMN":return r({string:"table column",plural:"%0 table columns",id:"ELEMENT_TABLE_COLUMN"},n);case"ELEMENT_TABLE_COLUMN_WITH_TEXT":return r({string:"table column *with text* %1",plural:"%0 table columns *with text* %1",id:"ELEMENT_TABLE_COLUMN_WITH_TEXT"},n);case"ELEMENT_TABLE_OF_CONTENTS":return r({string:"table of contents",plural:"%0 tables of contents",id:"ELEMENT_TABLE_OF_CONTENTS"},n);case"ELEMENT_LINE_BREAK":return r({id:"ELEMENT_LINE_BREAK",string:"line break",plural:"%0 line breaks"},n);case"ELEMENT_TITLE":return r({id:"ELEMENT_TITLE",string:"title"});case"EXTERNAL_SUGGESTION":return r({id:"EXTERNAL_SUGGESTION",string:"This suggestion comes from an external source."});case"EXTERNAL_IMPORT_WORD_SUGGESTION":return r({string:"This suggestion comes from an imported Word file.",id:"EXTERNAL_IMPORT_WORD_SUGGESTION"});case"EXTERNAL_AVATAR":return r({string:"Displayed author name comes from external source (added by %0)",id:"EXTERNAL_AVATAR"},n);case"EXTERNAL_IMPORT_WORD_AVATAR":return r({string:"Displayed author name comes from a Word document imported by %0",id:"EXTERNAL_IMPORT_WORD_AVATAR"},n);case"ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT":return r({string:"Entering insertion suggestion.",id:"ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT"});case"LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT":return r({string:"Leaving insertion suggestion.",id:"LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT"});case"ENTER_DELETION_SUGGESTION_ANNOUNCEMENT":return r({string:"Entering deletion suggestion.",id:"ENTER_DELETION_SUGGESTION_ANNOUNCEMENT"});case"LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT":return r({string:"Leaving deletion suggestion.",id:"LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT"});case"ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT":return r({string:"Entering formatting suggestion.",id:"ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT"});case"LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT":return r({string:"Leaving formatting suggestion.",id:"LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT"});default:return e}}const Wr=Kr;function Xr(){const t=["getDescriptions","28743DFMXye","*Merge:* %0","$text","previousSibling","3685599xApOzg","*Insert:* %0","*Split:* %0","add","_customCallbacks","141001HIOmpd","_handleRenameSuggestionDescription","quantity","attribute","removeFormat","match","*Change to:* %0","1347012wQyKic","isEqual","*Set format:* %0","removeObject","function","ELEMENT_SPACE","removeContainer","*Remove:* %0","_locale","newValue","66Cocakv","push","_schema","indexOf","_addDescriptionItems","pop","subType","nextSibling","addObject","matchingCallback","format","length","elementStart","REPLACE_TEXT","72QDoFTb","remove","elementEnd","join","Object","16120TbNwqJ","skip","start","1085768BRimZd","505242Bvqkhd","addEmptyContainer","label","_attributeLabels","registerElementLabel","item","registerDescriptionCallback","_handleInsertRemoveSuggestionDescription","name","getWalker","_handleAttributeSuggestionDescription","addContainer","insertion","text","type","softBreak","key","_itemLabelsCallbacks","removeEmptyContainer","element","registerAttributeLabel","$1 $2","_itemLabels","has","$textProxy","get","Container","nodeAfter","_handleCustomCallbackDescription","data","normal","checkChild","set","isObject","deletion","isInContent","isEmpty","25VjiCrY","replace","map","_resolveDescriptionItems","end","addFormat","getItemLabel","*Remove format:* %0","890432Fwehox","EmptyContainer","getFirstRange"];return(Xr=function(){return t})()}function Kr(t,e){const n=Xr();return(Kr=function(t,e){return n[t-=356]})(t,e)}!function(t,e){const n=Kr,r=t();for(;;)try{if(695639===-parseInt(n(430))/1+-parseInt(n(365))/2+-parseInt(n(418))/3+parseInt(n(364))/4*(-parseInt(n(402))/5)+parseInt(n(440))/6*(-parseInt(n(423))/7)+-parseInt(n(410))/8*(-parseInt(n(356))/9)+parseInt(n(361))/10*(parseInt(n(414))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Xr);class qr{constructor(t,e){const n=Kr;this[n(422)]=[],this[n(387)]=new Map,this[n(382)]=[],this[n(368)]=new Map,this[n(442)]=t,this[n(438)]=e}[Wr(413)](t){const e=Wr,n=[],r=new Set,s=new Set;for(let o=0;o<t[e(451)];o++){const i=t[o];if(!i[e(400)])continue;const a=this[e(393)](i);if(a){if(null!=i[e(446)]){if(r[e(388)](i[e(446)]))continue;r[e(421)](i[e(446)])}n[e(441)](a)}else if(e(426)!=i[e(379)])e(377)!=i[e(379)]&&e(399)!=i[e(379)]||this[e(372)](n,i,t[o+1]);else{const t=i[e(394)][e(381)];if(s[e(388)](t))continue;s[e(421)](i[e(394)][e(381)]),t==mc?this[e(424)](n,i):this[e(375)](n,i)}}return this[e(405)](n)}[Wr(371)](t){const e=Wr;this[e(422)][e(441)](t)}[Wr(369)](t,n,r=e.priorities[Wr(395)]){const s=Wr;s(434)==typeof t?(0,e.insertToPriorityArray)(this[s(382)],{matchingCallback:t,label:n,priority:r}):this[s(387)][s(397)](t,n)}[Wr(385)](t,e){const n=Wr;this[n(368)][n(397)](t,e)}[Wr(408)](t,e=1){const n=Wr;let r;for(const e of this[n(382)])if(e[n(449)](t)){r=e[n(367)];break}return r||(r=this[n(387)][n(390)](t[n(373)])),r?r(e):1!==e?e+" "+t[n(373)]+"s":""+t[n(373)]}[Wr(444)](t,e){const n=Wr,r=e[n(412)]()[n(374)](),s=n(377)==e[n(379)]?n(421):n(357);for(const e of r){const o=e[n(370)],i=t[t[n(451)]-1];if(o.is(n(389)))i&&i[n(379)][n(443)](n(391))>-1&&t[n(445)](),i&&n(378)==i[n(379)]?i[s]+=o[n(394)]:t[n(441)]({type:n(378),add:n(421)==s?o[n(394)]:"",remove:n(357)==s?o[n(394)]:""});else if(this[n(442)][n(398)](o)){const a=o;if(i&&i[n(379)][n(443)](n(391))>-1&&t[n(445)](),n(358)==e[n(379)])continue;i&&i[n(379)]==s+n(360)&&i[n(384)][n(373)]==a[n(373)]?i[n(425)]++:t[n(441)]({type:s+n(360),element:a,quantity:1}),r[n(362)]((t=>!(n(358)==t[n(379)]&&t[n(370)]==o)))}else if(this[n(442)][n(396)](o,n(416))||o.is(n(384),n(380))){const r=o;if(n(421)==s&&n(452)==e[n(379)]||n(357)==s&&n(358)==e[n(379)])continue;if(i&&-1==i[n(379)][n(443)](n(391))){n(378)==i[n(379)]&&(i[s]+="\n");continue}let a;if(a=n(421)==s?r[n(447)]&&!this[n(442)][n(398)](r[n(447)])?r[n(447)]:null:r[n(417)]&&!this[n(442)][n(398)](r[n(417)])?r[n(417)]:null,r[n(401)]||a&&a[n(401)]){const e=a&&a[n(401)]?a:r;i&&i[n(379)]==s+n(411)&&i[n(384)][n(373)]==e[n(373)]?i[n(425)]++:t[n(441)]({type:s+n(411),element:e,quantity:1})}else t[n(441)]({type:s+n(391),element:r})}}}[Wr(405)](t){const e=Wr,n=this[e(438)],r=[],s=[],o=[];for(const i of t)switch(i[e(379)]){case e(378):if(i[e(421)]=i[e(421)][e(403)](/(\S)\u000A+(\S)/g,e(386))[e(403)](/\u000A/g,""),i[e(357)]=i[e(357)][e(403)](/(\S)\u000A+(\S)/g,e(386))[e(403)](/\u000A/g,""),""!=i[e(421)]&&""!=i[e(357)]){r[e(441)]({type:e(403),content:zr(n,e(453),['"'+i[e(357)]+'"','"'+i[e(421)]+'"'])});continue}if(null!=i[e(421)][e(428)](/^ +$/)){r[e(441)]({type:e(377),content:zr(n,e(419),zr(n,e(435),i[e(421)][e(451)]))});continue}if(null!=i[e(357)][e(428)](/^ +$/)){r[e(441)]({type:e(399),content:zr(n,e(437),zr(n,e(435),i[e(357)][e(451)]))});continue}if(""!=i[e(421)]){r[e(441)]({type:e(377),content:zr(n,e(419),'"'+i[e(421)]+'"')});continue}r[e(441)]({type:e(399),content:zr(n,e(437),'"'+i[e(357)]+'"')});continue;case e(366):case e(448):r[e(441)]({type:e(377),content:zr(n,e(419),this[e(408)](i[e(384)],i[e(425)]))});continue;case e(383):case e(433):r[e(441)]({type:e(399),content:zr(n,e(437),this[e(408)](i[e(384)],i[e(425)]))});continue;case e(376):r[e(441)]({type:e(377),content:zr(n,e(420),this[e(408)](i[e(384)],i[e(425)]))});continue;case e(436):r[e(441)]({type:e(399),content:zr(n,e(415),this[e(408)](i[e(384)],i[e(425)]))});continue;case e(407):s[e(441)](i[e(381)]);continue;case e(427):o[e(441)](i[e(381)]);continue;default:r[e(441)](i)}if(s[e(451)]){const t=s[e(404)]((t=>this[e(368)][e(388)](t)?this[e(368)][e(390)](t):t))[e(359)](", ");r[e(441)]({type:e(450),content:zr(this[e(438)],e(432),t)})}if(o[e(451)]){const t=o[e(404)]((t=>this[e(368)][e(388)](t)?this[e(368)][e(390)](t):t))[e(359)](", ");r[e(441)]({type:e(450),content:zr(this[e(438)],e(409),t)})}return r}[Wr(393)](t){const e=Wr;for(const n of this[e(422)]){const r=n(t);if(r&&e(379)in r)return r}}[Wr(375)](t,e){const n=Wr,r=e[n(394)],s=void 0===r[n(439)]?n(427):n(407);t[n(441)]({type:s,key:r[n(381)]})}[Wr(424)](t,e){const n=Wr;t[n(441)]({type:n(450),content:zr(this[n(438)],n(429),this[n(408)](e[n(412)]()[n(363)][n(392)],1))})}[Wr(372)](t,e,n){const r=Wr;if(this[r(444)](t,e),n&&n[r(412)]()&&!e[r(412)]()[r(406)][r(431)](n[r(412)]()[r(363)])){const n=t[t[r(451)]-1],s=r(377)==e[r(379)]?r(421):r(357);n&&r(378)==n[r(379)]&&(n[s]+="\n")}}}const Jr=Qr;function Qr(t,e){const n=Zr();return(Qr=function(t,e){return n[t-=487]})(t,e)}!function(t,e){const n=Qr,r=t();for(;;)try{if(692587===parseInt(n(498))/1+-parseInt(n(488))/2*(-parseInt(n(495))/3)+parseInt(n(499))/4+parseInt(n(490))/5*(-parseInt(n(492))/6)+parseInt(n(494))/7+parseInt(n(487))/8*(-parseInt(n(493))/9)+-parseInt(n(503))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Zr);class Yr extends t.Plugin{[Jr(491)](){const t=Jr,e=this[t(504)],n=e[t(496)][t(502)](t(497));e[t(500)][t(502)](t(489))&&n[t(501)](t(489))}}function Zr(){const t=["545WZpMro","afterInit","19254cGRaFv","45702PrDDQa","9351440ygoSyW","3XsJYeF","plugins","TrackChangesEditing","69904TuYTCd","1230492xvdNyo","commands","enableCommand","get","14631720MXjsrC","editor","200VCrpfQ","1838086DBFKws","showAIAssistant"];return(Zr=function(){return t})()}const $r=ts;function ts(t,e){const n=es();return(ts=function(t,e){return n[t-=241]})(t,e)}function es(){const t=["justify","835579NNQkRt","value","FORMAT_ALIGN_TO_CENTER","left","locale","commandName","alignment","registerAttributeLabel","_enableDefaultAttributesIntegration","format","FORMAT_JUSTIFY_TEXT","afterInit","339006ScVZNv","893734ieCkxu","5145256GmGHFc","1019230gnqynn","commandParams","509067vgghmz","_registerLegacyDescription","FORMAT_ALIGN_TO_RIGHT","*Format:* %0","FORMAT_ALIGN_TO_LEFT","editor","right","formatBlock","FORMAT_ALIGNMENT","28hpWmkC","type","has","40YUmYkw","center","8FpzpmV","get","2060706iyrBKw","AlignmentEditing","registerDescriptionCallback","TrackChangesEditing","_descriptionFactory","plugins"];return(es=function(){return t})()}!function(t,e){const n=ts,r=t();for(;;)try{if(455553===-parseInt(n(251))/1+-parseInt(n(264))/2+parseInt(n(244))/3+parseInt(n(242))/4*(parseInt(n(266))/5)+-parseInt(n(263))/6*(parseInt(n(277))/7)+parseInt(n(265))/8+-parseInt(n(268))/9*(-parseInt(n(280))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(es);class ns extends t.Plugin{[$r(262)](){const t=$r,e=this[t(273)],n=e[t(255)];if(!e[t(249)][t(279)](t(245)))return;const r=e[t(249)][t(243)](t(247));r[t(259)](t(257),[],[t(257)]),r[t(248)][t(258)](t(257),zr(n,t(276))),this[t(269)]()}[$r(269)](){const t=$r,e=this[t(273)],n=e[t(255)];e[t(249)][t(243)](t(247))[t(248)][t(246)]((e=>{const r=t;if(r(275)!=e[r(278)])return;const{data:s}=e;if(s&&r(257)==s[r(256)]){const t=s[r(267)][0][r(252)];return{type:r(260),content:zr(n,r(271),function(t){const e=r;switch(t){case e(254):return zr(n,e(272));case e(274):return zr(n,e(270));case e(241):return zr(n,e(253));case e(250):return zr(n,e(261))}}(t))}}}))}}function rs(t,e){const n=is();return(rs=function(t,e){return n[t-=271]})(t,e)}const ss=rs;!function(t,e){const n=rs,r=t();for(;;)try{if(919635===parseInt(n(297))/1*(-parseInt(n(308))/2)+parseInt(n(292))/3+parseInt(n(280))/4*(parseInt(n(315))/5)+-parseInt(n(275))/6+-parseInt(n(314))/7*(-parseInt(n(278))/8)+parseInt(n(295))/9*(parseInt(n(294))/10)+-parseInt(n(288))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(is);const os=[ss(296),ss(276),ss(317),ss(300),ss(305),ss(279),ss(291)];function is(){const t=["8LjYUIK","SubscriptEditing","754532bsQftl","FORMAT_","superscript","_enableDefaultAttributesIntegration","FORMAT_UNDERLINE","formatInline","_descriptionFactory","code","20973304PmlSwt","commandName","underline","SuperscriptEditing","3780045wNBGnf","*Format:* %0","10YmFnjp","4703571JVcNsy","BoldEditing","827mlSMnY","commandParams","plugins","CodeEditing","italic","bold","toLowerCase","FORMAT_SUBSCRIPT","StrikethroughEditing","locale","type","1618HGUsmJ","subscript","FORMAT_STRIKETHROUGH","toUpperCase","*Remove format:* %0","FORMAT_BOLD","10335073pRDtjh","30VoDyZa","_registerLegacyDescription","UnderlineEditing","FORMAT_ITALIC","forceValue","FORMAT_CODE","FORMAT_SUPERSCRIPT","has","slice","TrackChangesEditing","registerAttributeLabel","editor","strikethrough","afterInit","format","registerDescriptionCallback","5373174CfAGhj","ItalicEditing","get"];return(is=function(){return t})()}class as extends t.Plugin{[ss(272)](){const t=ss,e=this[t(326)],n=e[t(299)][t(277)](t(324)),r=e[t(306)];for(const s of os){if(!e[t(299)][t(322)](s))continue;const o=s[t(323)](0,-7)[t(303)](),i=t(281)+o[t(311)]();n[t(283)](o,[o]),n[t(286)][t(325)](o,zr(r,i))}this[t(316)]()}[ss(316)](){const t=ss,e=this[t(326)],n=e[t(306)],r=e[t(299)][t(277)](t(324));function s(e,s){const o=t;r[o(286)][o(274)]((t=>{const r=o;if(r(285)!=t[r(307)])return;const{data:i}=t;return i&&i[r(289)]===e?i[r(298)][0][r(319)]?{type:r(273),content:zr(n,r(293),s)}:{type:r(273),content:zr(n,r(312),s)}:void 0}))}s(t(302),zr(n,t(313))),s(t(301),zr(n,t(318))),s(t(290),zr(n,t(284))),s(t(287),zr(n,t(320))),s(t(271),zr(n,t(310))),s(t(309),zr(n,t(304))),s(t(282),zr(n,t(321)))}}function cs(){const t=["format","_descriptionFactory","248971Tcbcws","has","change","ELEMENT_BLOCK_QUOTE","blockQuote","TrackChangesEditing","document","model","*Remove format:* %0","markBlockFormat","filter","5xmPBvw","7HNPxSa","BlockQuoteEditing","commandName","plugins","locale","from","getSelectedBlocks","658226vBEWzZ","commandParams","afterInit","forceValue","selection","*Set format:* %0","376490gtdJsn","editor","registerDescriptionCallback","get","parent","$root","checkChild","2912175buJfih","165TtRUMb","enableCommand","commands","5139QWGrdn","788dVTffx","schema","value","name","6381208lxGjjg","521526fzmEqr"];return(cs=function(){return t})()}const us=ls;function ls(t,e){const n=cs();return(ls=function(t,e){return n[t-=288]})(t,e)}!function(t,e){const n=ls,r=t();for(;;)try{if(402789===-parseInt(n(307))/1+-parseInt(n(326))/2+-parseInt(n(298))/3*(-parseInt(n(299))/4)+parseInt(n(318))/5*(parseInt(n(304))/6)+parseInt(n(319))/7*(parseInt(n(303))/8)+parseInt(n(294))/9+-parseInt(n(332))/10*(parseInt(n(295))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(cs);class fs extends t.Plugin{[us(328)](){const t=us,e=this[t(288)],n=e[t(323)];if(!e[t(322)][t(308)](t(320)))return;const r=e[t(322)][t(290)](t(312)),s=this[t(288)][t(297)][t(290)](t(311));r[t(296)](t(311),((n,o={})=>{const i=t,a=this[i(288)][i(314)][i(313)][i(330)],c=o&&void 0!==o[i(329)]?o[i(329)]:!s[i(301)];let u=[];if(c){const t=Array[i(324)](a[i(325)]())[i(317)]((t=>hs(t)||function(t,e){const n=i,r=e[n(293)](t[n(291)],n(311)),s=e[n(293)]([n(292),n(311)],t);return r&&s}(t,this[i(288)][i(314)][i(300)])));u=y(t,e[i(314)])}else{const t=Array[i(324)](a[i(325)]())[i(317)]((t=>hs(t)));u=y(t,e[i(314)])}e[i(314)][i(309)]((()=>{const t=i;for(const e of u)r[t(316)](e,{commandName:t(311),commandParams:[{forceValue:c}]})}))})),r[t(306)][t(289)]((e=>{const r=t,{data:s}=e;if(s&&r(311)==s[r(321)]){const t=zr(n,r(310));return s[r(327)][0][r(329)]?{type:r(305),content:zr(n,r(331),t)}:{type:r(305),content:zr(n,r(315),t)}}}))}}function hs(t){const e=us;return e(311)==t[e(291)][e(302)]}const gs=ps;function ds(){const t=["54cQtEDH","get","778230lGNueb","has","777487BoUTop","CaseChange","840518HrAskl","11845098HTPVOH","TrackChangesEditing","11208312fAZjjP","enableCommand","editor","changeCaseUpper","2DaGcHT","706812VIUnyv","plugins","8xXcinM","afterInit","changeCaseTitle","7522690ZcxOVv","changeCaseLower"];return(ds=function(){return t})()}function ps(t,e){const n=ds();return(ps=function(t,e){return n[t-=179]})(t,e)}!function(t,e){const n=ps,r=t();for(;;)try{if(750283===-parseInt(n(188))/1*(-parseInt(n(197))/2)+parseInt(n(198))/3*(-parseInt(n(179))/4)+parseInt(n(186))/5*(-parseInt(n(184))/6)+-parseInt(n(190))/7+parseInt(n(193))/8+parseInt(n(191))/9+-parseInt(n(182))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(ds);class ms extends t.Plugin{[gs(180)](){const t=gs,e=this[t(195)];e[t(199)][t(187)](t(189))&&(e[t(199)][t(185)](t(192))[t(194)](t(196)),e[t(199)][t(185)](t(192))[t(194)](t(183)),e[t(199)][t(185)](t(192))[t(194)](t(181)))}}const Is=bs;function Es(){const t=["28510YCtiWD","112878geQMpO","editor","154297kgzMAW","plugins","TrackChangesEditing","102130fcsjhp","ckbox","60747GXErii","10hnveCc","enableCommand","afterInit","commands","324fjTxBi","get","10111024NGvjfv","208FNOBun","156DCDjFK","1270800EAtVsc"];return(Es=function(){return t})()}function bs(t,e){const n=Es();return(bs=function(t,e){return n[t-=362]})(t,e)}!function(t,e){const n=bs,r=t();for(;;)try{if(275612===-parseInt(n(368))/1+-parseInt(n(374))/2*(parseInt(n(373))/3)+parseInt(n(378))/4*(-parseInt(n(365))/5)+parseInt(n(363))/6*(-parseInt(n(371))/7)+-parseInt(n(362))/8*(-parseInt(n(366))/9)+parseInt(n(364))/10+parseInt(n(380))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Es);class Ts extends t.Plugin{[Is(376)](){const t=Is,e=this[t(367)];e[t(377)][t(379)](t(372))&&e[t(369)][t(379)](t(370))[t(375)](t(372))}}const _s=As;function ys(){const t=["document","indentCodeBlock","registerDescriptionCallback","markBlockFormat","get","ELEMENT_CODE_BLOCK","343uCMPpM","name","format","language","outdentCodeBlock","locale","type","from","commandName","blockName","parent","1533545NcTqPx","afterInit","filter","isLimit","getSelectedBlocks","config","*Remove format:* %0","TrackChangesEditing","_descriptionFactory","*Set format:* %0","CodeBlock","199630kJKQet","forceValue","28WHKNak","selection","commands","editor","enableCommand","codeBlock","change","802730uCGshO","schema","2dddllv","find","checkChild","registerElementLabel","commandParams","2600opmwaV","has","66597GKvAIJ","plugins","48DxqElC","194045crQyjh","languages","formatBlock","model","9CzmIPM","6XQrUsl","rootElement","value","label","toLowerCase","432729KYuOFv"];return(ys=function(){return t})()}function As(t,e){const n=ys();return(As=function(t,e){return n[t-=253]})(t,e)}!function(t,e){const n=As,r=t();for(;;)try{if(100545===-parseInt(n(261))/1*(parseInt(n(311))/2)+-parseInt(n(258))/3*(-parseInt(n(302))/4)+-parseInt(n(300))/5*(parseInt(n(266))/6)+parseInt(n(278))/7*(-parseInt(n(256))/8)+-parseInt(n(265))/9*(parseInt(n(309))/10)+parseInt(n(271))/11*(parseInt(n(260))/12)+parseInt(n(289))/13)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(ys);class ks extends t.Plugin{[_s(290)](){const t=_s,e=this[t(305)];if(!e[t(259)][t(257)](t(299)))return;const n=e[t(259)][t(276)](t(296)),r=e[t(283)],s=e[t(294)][t(276)](t(307))[t(262)],o=e[t(304)][t(276)](t(307));n[t(306)](t(273)),n[t(306)](t(282)),n[t(306)](t(307),((r,i={})=>{const a=t,c=e[a(264)],u=e[a(264)][a(272)][a(303)],l=i&&void 0!==i[a(301)]?i[a(301)]:!o[a(268)];let f;i[a(281)]||(i[a(281)]=s[0][a(281)]),f=l?Array[a(285)](u[a(293)]())[a(291)]((t=>Cs(t)||function(t,e){const n=a;return!t.is(n(267))&&!e[n(292)](t)&&e[n(253)](t[n(288)],n(307))}(t,c[a(310)]))):Array[a(285)](u[a(293)]())[a(291)]((t=>Cs(t)));const h=y(f,c);c[a(308)]((()=>{const t=a;for(const e of h)n[t(275)](e,{commandName:t(307),commandParams:[{...i,forceValue:l}],formatGroupId:t(287)})}))})),n[t(297)][t(254)](t(307),(e=>zr(r,t(277),e))),n[t(297)][t(274)]((e=>{const n=t;if(n(263)!=e[n(284)])return;const o=r.t,{data:i}=e;if(!i||n(307)!=i[n(286)])return;const a=i[n(255)][0][n(281)],c=o(s[n(312)]((t=>t[n(281)]===a))[n(269)])[n(270)]();return i[n(255)][0][n(301)]?{type:n(280),content:zr(r,n(298),zr(r,n(277),1)+" ("+c+")")}:{type:n(280),content:zr(r,n(295),zr(r,n(277),1))}}))}}function Cs(t){const e=_s;return e(307)==t[e(279)]}const Ns=Ss;function Rs(){const t=["plugins","TrackChangesEditing","364lRcgCt","6882zddgmV","117zHadhm","72WZJwRh","editor","8llhHtp","10pkDjVh","has","1605300qlqCnV","enableCommand","168102KgLQNh","get","addCommentThread","6966146sRgySX","221155IWjPnz","372292zPNoWU","CommentsEditing","2052484DCCoDp","1FrMsmZ","afterInit"];return(Rs=function(){return t})()}function Ss(t,e){const n=Rs();return(Ss=function(t,e){return n[t-=316]})(t,e)}!function(t,e){const n=Ss,r=t();for(;;)try{if(329199===-parseInt(n(334))/1*(-parseInt(n(331))/2)+-parseInt(n(317))/3*(parseInt(n(316))/4)+-parseInt(n(330))/5*(parseInt(n(319))/6)+-parseInt(n(333))/7*(-parseInt(n(321))/8)+parseInt(n(326))/9*(parseInt(n(322))/10)+-parseInt(n(329))/11+parseInt(n(324))/12*(parseInt(n(318))/13))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Rs);class Ls extends t.Plugin{[Ns(335)](){const t=Ns,e=this[t(320)];e[t(336)][t(323)](t(332))&&e[t(336)][t(327)](t(337))[t(325)](t(328))}}var vs=n(834);function Ms(t,e){const n=ws();return(Ms=function(t,e){return n[t-=124]})(t,e)}function ws(){const t=["listIndent","getAttribute","start","push","createRangeOn","element","test","5517glZuRr","includes","activeMarkers","listItem","toViewElement","markerRange","get","writer","span","ck-suggestion-marker-","bindElementToMarker","11GJaxUb","elementEnd","8286593DFOuAS","insert","isAtEnd","nextSibling","markerName","getCustomProperty","getWalker","8QdHoSb","hasAttribute","isLimit","2760096hHiXGQ","previousPosition","15140NyyglG","type","plugins","isContent","toViewPosition","createUIElement","1461406wKlsXS","5CxMnCp","consumable","name","mapper","model","TrackChangesEditing","isBlock","11967996UhgYQg","schema","1622255HkYuzl","parent","addHighlight","3PYXYvK","5671866gukjdv","ck-suggestion-marker--active","addClass","getItems","item"];return(ws=function(){return t})()}function Os(t,e,n){const r=Ms,s=[];for(const o of e[r(152)]())o[r(125)](t)&&s[r(157)](n[r(158)](o));return s}function Ds(t,e,{showActiveMarker:n=!0}={}){const r=Ms,s=t[r(131)][r(167)](r(141));return(o,i,a)=>{const c=r;if(!a[c(137)][c(160)](i[c(166)],o[c(138)]))return;const u=i[c(166)][c(180)](),l=i[c(166)][c(156)],f=t[c(140)][c(144)];let h=null,g=null,d=!1,p=!1;for(const t of u){const e=t[c(153)];d=d||f[c(132)](e);const n=a[c(139)][c(165)](e);if(n&&n[c(179)](c(147)))return;c(173)==t[c(130)]&&f[c(142)](e)&&!f[c(126)](e)&&(e[c(177)]||l[c(176)]?h&&h[c(146)]==e||(h=e,m(t[c(128)]),p=!0):g=g||t[c(128)])}function m(t){const r=c,o=a[r(168)][r(134)](r(169),{class:r(170)+e}),u=a[r(139)][r(133)](t);n&&s[r(163)][r(162)](i[r(178)])&&a[r(168)][r(151)](r(150),o),a[r(168)][r(175)](u,o),a[r(139)][r(171)](o,i[r(178)])}d||p||!g||m(g)}}!function(t,e){const n=Ms,r=t();for(;;)try{if(844621===parseInt(n(145))/1+parseInt(n(135))/2*(parseInt(n(148))/3)+parseInt(n(127))/4+parseInt(n(136))/5*(-parseInt(n(149))/6)+-parseInt(n(174))/7*(parseInt(n(124))/8)+parseInt(n(161))/9*(parseInt(n(129))/10)+-parseInt(n(172))/11*(parseInt(n(143))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(ws);const Fs=xs;function Ps(){const t=["start","editing","model","unlock","root","2537964PVrdwq","init","651297DEIGEy","TrackChangesEditing","rootName","lock","142414RImizv","detach","markerNameToElements","unit","get","bind","unbindElementFromMarkerName","$graveyard","130satfNU","createRange","selection","markerName","batch","modifySelection","4295910gEyCBf","addMarker:suggestion:deletion","forward","commands","enableCommand","data","document","options","delete","remove","high","fromRange","showSuggestionHighlights","requires","isCollapsed","getFirstRange","setSelection","deleteForward","removeMarker:suggestion:deletion","writer","mapper","end","6fDkdXj","3ynUWrv","downcastDispatcher","312448SGqgXy","merge","createSelection","uiElement","editor","buffer","enqueueChange","586431XeLwXX","1144892CzYUgu","plugins"];return(Ps=function(){return t})()}function xs(t,e){const n=Ps();return(xs=function(t,e){return n[t-=319]})(t,e)}!function(t,e){const n=xs,r=t();for(;;)try{if(473754===-parseInt(n(324))/1+parseInt(n(328))/2*(-parseInt(n(365))/3)+-parseInt(n(322))/4+-parseInt(n(342))/5*(-parseInt(n(364))/6)+parseInt(n(375))/7+-parseInt(n(367))/8+-parseInt(n(374))/9*(-parseInt(n(336))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Ps);class Bs extends t.Plugin{static get[Fs(355)](){return[vs.Delete]}[Fs(323)](){const t=Fs,e=this[t(371)],n=e[t(376)][t(332)](t(325));n[t(346)](t(350));const r=e[t(345)][t(332)](t(359));n[t(346)](t(359),((n,s={})=>{const o=t,a=e[o(319)][o(369)](e[o(319)][o(348)][o(338)]);a[o(356)]&&e[o(319)][o(341)](a,{direction:o(344),unit:s[o(331)]});const c=a[o(357)](),u=i.LiveRange[o(353)](c);let l;n(s),l=o(335)==u[o(321)][o(326)]?e[o(319)][o(337)](c[o(377)]):e[o(319)][o(337)](u[o(377)],u[o(363)]),u[o(329)](),e[o(319)][o(373)](r[o(372)][o(340)],(t=>{const e=o;r[e(372)][e(327)](),t[e(358)](t[e(337)](l[e(363)])),r[e(372)][e(320)]()}))})),e[t(378)][t(366)].on(t(343),Ds(e,t(368)),{priority:t(352)}),e[t(347)][t(366)].on(t(343),((n,r,s)=>{const o=t;s[o(349)][o(354)]&&Ds(e,o(368),{showActiveMarker:!1})[o(333)](this)(n,r,s)}),{priority:t(352)}),e[t(378)][t(366)].on(t(360),((e,n,r)=>{const s=t,o=r[s(362)][s(330)](n[s(339)]);if(o)for(const t of o)t.is(s(370))&&(r[s(362)][s(334)](t,n[s(339)]),r[s(361)][s(351)](t))}),{priority:t(352)})}}function Us(t,e){const n=Gs();return(Us=function(t,e){return n[t-=320]})(t,e)}const js=Us;function Gs(){const t=["checkTodoList","attribute","*Merge:* %0","find","commands","ELEMENT_BULLETED_LIST","getRanges","setAttribute","previousSibling","forceValue","newValue","assureChains","includes","attributes","ELEMENT_NUMBERED_LIST","isUndo","657776ODIOam","every","attributeKey","255685vDXVhq","range","*Remove format:* %0","FORMAT_INDENT","setSelection","mergeListItemForward","fromRange","ELEMENT_LIST_ITEM","afterInit","16EShwST","default","todoListCheck","isNextTo","from","registerCustomCallback","*Uncheck item*","getFirstMarker","type","*Check item*","schema","_findSuggestions","_suggestionFactory","ListEditing","value","todo","registerPostFixer","commandParams","differ","filter","listType","length","listStyle","listItemIdFixer","data","_supportLegacySuggestions","push","getChanges","todoListChecked","TodoListEditing","getFirstRange","numberedList","detach","isLocal","head","multipleBlocks","1192716aZkUQa","_enableDefaultAttributesIntegration","selection","numbered","registerElementLabel","indentList","1DqcKGG","bulleted","listReversed","getAttribute","isObject","format","847864KUmfJi","meta","toUpperCase","nextSibling","locale","_registerLegacyDescription","mergeListItemBackward","next","_descriptionFactory","start","list.multiBlock","*Indent:* %0","map","createRange","_LIST","refresh","ELEMENT_","listStart","commandName","279549SQAnQV","*Set format:* %0","accept","splitListItemBefore","plugins","listItemId","batch","oldValue","914160XEvSfY","groupId","registerAttributeLabel","bulletedList","TrackChangesEditing","*Change to:* %0","documentList","outdentList","suggestion","containsItem","formatBlock","end","change","key","getSuggestions","noTrackChangesFixer","*Format:* remove from %0","get","listIndent","has","nodeAfter","execute","deletion","ELEMENT_TODO_LIST","956577gySaBo","_getAttributeKey","model","*Format:* insert into %0","todoList","*Split:* list item","config","*Outdent:* %0","createPositionAt","splitListItemAfter","registerDescriptionCallback","parent","*Merge:* list item","editor","document","trackChangesCommand","removeMarker"];return(Gs=function(){return t})()}!function(t,e){const n=Us,r=t();for(;;)try{if(305817===-parseInt(n(322))/1*(parseInt(n(328))/2)+parseInt(n(379))/3+-parseInt(n(412))/4+parseInt(n(415))/5+parseInt(n(355))/6+parseInt(n(460))/7*(parseInt(n(424))/8)+parseInt(n(347))/9)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Gs);class Vs extends t.Plugin{[js(423)](){const t=js,e=this[t(392)];if(!e[t(351)][t(374)](t(437)))return;const n=e[t(332)],r=e[t(351)][t(372)](t(359)),s=e[t(351)][t(374)](t(453)),o=!!e[t(385)][t(372)](t(338));function i(e){const r=t;return{type:r(327),content:""+zr(n,r(348),e)}}function a(e){const r=t;return{type:r(327),content:""+zr(n,r(417),e)}}r[t(461)](t(455),[],[t(352),t(444),t(373)]),r[t(461)](t(358)),r[t(461)](t(321)),r[t(461)](t(362)),r[t(461)](t(388)),r[t(461)](t(350)),o&&(r[t(461)](t(334)),r[t(461)](t(420))),s&&(r[t(461)](t(383)),r[t(461)](t(396),[],[t(452)]),r[t(336)][t(389)]((e=>{const r=t,{data:s}=e;if(s&&r(452)==s[r(368)])return{type:r(327),content:s[r(406)]?zr(n,r(433)):zr(n,r(430))}})),this[t(392)][t(381)][t(393)][t(440)]((e=>{const n=t;if(e[n(353)][n(411)])return!1;let s=!1;const o=r[n(369)]({skipNotAttached:!0})[n(443)]((t=>n(452)===r[n(380)](t)));for(const t of o)n(439)!=t[n(454)]()[n(337)][n(375)][n(325)](n(444))&&(r[n(435)](t[n(454)](),n(397))[n(399)]((t=>n(444)===r[n(380)](t[n(363)])))||(e[n(395)](t[n(431)]()),s=!0));return s}))),r[t(336)][t(357)](t(373),zr(n,t(418)));const c={type:t(327),content:""};r[t(336)][t(389)]((e=>{const r=t,{data:s}=e;if(!s||r(444)!=s[r(368)])return;let u=e[r(458)];for(;u;){if(u[r(448)]&&(r(446)==u[r(448)][r(368)]&&(u[r(448)][r(406)]&&r(425)!=u[r(448)][r(406)]||r(425)!=u[r(448)][r(354)]&&!s[r(406)])||!o&&u[r(448)][r(368)]==mc))return c;u=u[r(335)]}if(null==s[r(406)])switch(s[r(354)]){case r(323):return a(zr(n,r(401)));case r(463):return a(zr(n,r(410)));case r(439):return a(zr(n,r(378)))}switch(s[r(406)]){case r(323):return i(zr(n,r(401)));case r(463):return i(zr(n,r(410)));case r(439):return i(zr(n,r(378)))}})),r[t(336)][t(389)]((e=>{const n=t,{data:r}=e;if(r&&n(373)==r[n(368)])return null==r[n(406)]||null==r[n(354)]&&0==r[n(406)]?c:void 0})),r[t(336)][t(389)]((e=>{const r=t;if(r(397)!=e[r(432)])return;const{data:s}=e;if(!s||r(352)!=s[r(368)])return;const o=Hs(e);return o?r(406)==o?{type:r(327),content:zr(n,r(391))}:r(354)==o?{type:r(327),content:zr(n,r(384))}:c:c})),e[t(381)][t(393)][t(440)]((e=>this[t(447)](e))),e[t(381)][t(393)][t(440)]((e=>this[t(370)](e))),e[t(381)][t(393)][t(440)]((e=>this[t(407)](e))),this[t(449)]()}[js(447)](t){const e=js;if(t[e(353)][e(411)]||!t[e(353)][e(457)])return!1;let n=!1;const r=this[e(392)][e(351)][e(372)](e(359))[e(369)]({skipNotAttached:!0})[e(443)]((t=>t[e(448)]&&e(352)==t[e(448)][e(368)]))[e(443)]((t=>t[e(448)][e(406)]&&t[e(448)][e(354)]));for(const s of r)Hs(s)||(t[e(395)](s[e(431)]()),n=!0);return n}[js(370)](t){const e=js;if(t[e(353)][e(411)]||!t[e(353)][e(457)])return!1;const n=this[e(392)][e(351)][e(372)](e(359));if(n[e(394)][e(438)])return!1;let r=!1;const s=[e(444),e(446),e(352),e(373),e(345),e(324),e(426)],o=this[e(392)][e(381)][e(393)][e(442)][e(451)]()[e(443)]((t=>e(397)==t[e(432)]))[e(443)]((t=>s[e(408)](t[e(414)])));if(0==o[e(445)])return r;for(const i of o){const o=n[e(435)](i[e(416)],e(397))[e(443)]((t=>!t[e(329)][e(427)]))[e(340)]((t=>t[e(363)]))[e(443)]((t=>{const r=e,o=n[r(380)](t);return s[r(408)](o)}));if(o[e(445)]){for(const n of o)t[e(395)](n[e(431)]());r=!0}}return r}[js(407)](t){const e=js;if(t[e(353)][e(411)]||!t[e(353)][e(457)])return!1;const n=this[e(392)][e(351)][e(372)](e(359));let r=!1;const s=[e(444),e(446),e(352),e(373),e(345),e(324),e(426)];for(const t of n[e(369)]({skipNotAttached:!0})){const o=n[e(435)](t[e(454)](),e(397))[e(340)]((t=>t[e(363)]))[e(443)]((t=>t[e(448)]&&s[e(408)](t[e(448)][e(368)])));if(!o[e(445)])continue;const a=o[0][e(458)][e(409)][e(356)];if(!o[e(413)]((t=>t[e(409)][e(356)]===a)))for(const t of o)i(t,a)&&(r=!0)}return r;function o(t,r){const s=e;for(const e of n[s(369)]({skipNotAttached:!0})[s(443)]((e=>s(397)==e[s(432)]&&e[s(409)][s(356)]==t)))e[s(403)](s(356),r)}function i(t,n){const r=e;let s=t[r(458)],i=!1;for(;s;)s[r(409)][r(356)]!=n&&(o(s[r(409)][r(356)],n),s[r(403)](r(356),n),i=!0),s=s[r(335)];return i}}[js(449)](){const t=js,e=this[t(392)],n=e[t(332)],r=e[t(351)][t(372)](t(359));this[t(333)](),r[t(436)][t(429)](t(365),t(361),t(349),(function(n,r){const s=t,o=[];for(let t of n)t[s(337)][s(375)]===t[s(366)][s(390)]&&(t=e[s(381)][s(341)](e[s(381)][s(387)](t[s(337)][s(375)],0))),o[s(450)](t);e[s(381)][s(367)]((t=>{const n=s,a=e[n(381)][n(393)][n(462)],c=Array[n(428)](a[n(402)]())[n(340)]((t=>i.LiveRange[n(421)](t)));t[n(419)](o),e[n(400)][n(372)](r[n(346)])[n(343)](),r[n(441)][n(450)]({forceDefaultExecution:!0}),e[n(376)](r[n(346)],...r[n(441)]),t[n(419)](c);for(const t of c)t[n(456)]()}))})),r[t(336)][t(320)]((function(n){const r=t,s=!e[r(381)][r(434)][r(326)](n),o=n[r(404)],i=n[r(331)],a=n[r(325)](r(352)),c=!o||o[r(325)](r(352))!==a,u=!i||i[r(325)](r(352))!==a;return s&&Boolean(a)&&c&&u}),(e=>zr(n,t(422),e)))}[js(333)](){const t=js,e=this[t(392)],n=e[t(332)];function r(n){const r=t,s=e[r(400)][r(372)](r(358))[r(438)],o=e[r(400)][r(372)](r(455))[r(438)];return r(455)===n?s:o}e[t(351)][t(372)](t(359))[t(336)][t(389)]((function(s){const o=t;if(o(365)!=s[o(432)])return;const{data:i}=s;if(!i)return;let a,c,u,l;switch(i[o(346)]){case o(358):u=i[o(441)][0][o(405)],l=r(i[o(346)]),a=o(u?382:371),!l&&e[o(385)][o(372)](o(338))||(a=o(360)),c={type:o(327),content:zr(n,a,zr(n,o(401)))};break;case o(455):u=i[o(441)][0][o(405)],l=r(i[o(346)]),a=o(u?382:371),!l&&e[o(385)][o(372)](o(338))||(a=o(360)),c={type:o(327),content:zr(n,a,zr(n,o(410)))};break;case o(321):a=o(339),c={type:o(327),content:zr(n,a,zr(n,o(422)))};break;case o(362):a=function(t){const e=o,n=t[e(454)]();let r=n[e(337)][e(375)];for(;r&&n[e(364)](r);){if(r[e(325)](e(373))>0)return!1;r=r[e(331)]}return!0}(s)?zr(n,o(371),zr(n,function(t){const e=o;return e(344)+t[e(454)]()[e(337)][e(375)][e(325)](e(444))[e(330)]()+e(342)}(s))):zr(n,o(386),zr(n,o(422))),c={type:o(327),content:a};break;case o(334):case o(420):!1===i[o(459)]&&(a=o(398),c={type:o(377),content:zr(n,a,zr(n,o(422)))})}return c}))}}function Hs(t){const e=js;let n=t[e(454)]()[e(337)][e(375)][e(404)];for(;n;){const r=n[e(325)](e(352));if(!r)return!1;if(r==t[e(448)][e(406)])return e(406);if(r==t[e(448)][e(354)])return e(354);n=n[e(404)]}return!1}const zs=Ws;function Ws(t,e){const n=Js();return(Ws=function(t,e){return n[t-=401]})(t,e)}!function(t,e){const n=Ws,r=t();for(;;)try{if(986599===parseInt(n(463))/1+parseInt(n(467))/2+parseInt(n(402))/3*(-parseInt(n(457))/4)+parseInt(n(453))/5+-parseInt(n(403))/6+-parseInt(n(466))/7+parseInt(n(405))/8*(parseInt(n(423))/9))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Js);class Xs extends t.Plugin{[zs(438)](){const t=zs;if(!this[t(468)][t(475)][t(408)](t(435)))return;const e=this[t(468)][t(416)][t(437)](t(424)),n=this[t(468)][t(475)][t(437)](t(415));e[t(488)]&&n[t(470)](t(433),[],[t(433)]),e[t(422)]&&n[t(470)](t(418),[],[t(418)]),e[t(425)]&&n[t(470)](t(420),[],[t(420)]);const r={type:t(429),content:""};n[t(478)][t(449)](this[t(407)][t(487)](this));const s=this[t(468)][t(469)];n[t(478)][t(489)](t(418),zr(s,t(406))),n[t(478)][t(449)]((e=>{const n=t,{data:s}=e;if(s&&n(418)==s[n(410)])return null==s[n(446)]||0==s[n(446)]&&null==s[n(462)]?r:void 0})),n[t(478)][t(489)](t(420),zr(s,t(439))),n[t(478)][t(449)]((e=>{const n=t,{data:s}=e;if(s&&n(420)==s[n(410)])return null==s[n(446)]||1==s[n(446)]&&null==s[n(462)]?r:void 0})),this[t(468)][t(443)][t(482)][t(464)]((e=>{const r=t;if(e[r(456)][r(419)])return!1;let s=!1;const o=n[r(430)]({skipNotAttached:!0})[r(440)]((t=>{const e=r,s=n[e(477)](t);return e(420)==s||e(418)==s}));for(const t of o)r(414)!=t[r(413)]()[r(450)][r(411)][r(426)](r(459))&&(n[r(442)](t[r(413)](),r(417))[r(472)]((t=>r(459)==n[r(477)](t[r(412)])))||(e[r(428)](t[r(432)]()),s=!0));return s})),this[t(460)]()}[zs(407)](t){const e=zs,n=this[e(468)][e(469)],{data:r}=t,s={type:e(429),content:""};if(!r||e(433)!=r[e(410)])return;if(!r[e(462)])return e(479)==r[e(446)]?s:{type:e(429),content:""+zr(n,e(436),zr(n,this[e(465)](r[e(446)])))};if(!r[e(446)]){if(e(479)==r[e(462)])return s;let o=t[e(454)];for(;o;){if(o[e(473)]&&e(459)==o[e(473)][e(410)]&&o[e(473)][e(446)])return s;o=o[e(481)]}return{type:e(429),content:""+zr(n,e(427),zr(n,this[e(465)](r[e(462)])))}}if(e(479)!=r[e(446)])return{type:e(429),content:""+zr(n,e(436),zr(n,this[e(465)](r[e(446)])))};let o=t[e(454)];for(;o;){if(o[e(473)]&&e(459)==o[e(473)][e(410)]&&o[e(473)][e(446)]&&o[e(473)][e(462)])return s;o=o[e(481)]}const i=t[e(413)]()[e(450)][e(411)][e(426)](e(459));return{type:e(429),content:zr(n,e(436),zr(n,e(404)+i[e(434)]()+e(409)))}}[zs(460)](){const t=zs,e=this[t(468)],n=e[t(469)];e[t(475)][t(437)](t(415))[t(478)][t(449)]((e=>{const r=t;if(r(431)!=e[r(445)])return;const{data:s}=e;if(!s)return;let o,i;switch(s[r(461)]){case r(433):o=r(448),i={type:r(429),content:zr(n,o,zr(n,this[r(465)](s[r(476)][0][r(445)])))};break;case r(418):o=s[r(476)][0][r(422)]?r(485):r(441),i={type:r(429),content:zr(n,o)};break;case r(420):o=r(447),i={type:r(429),content:zr(n,o,s[r(476)][0][r(425)])}}return i}))}[zs(465)](t){const e=zs;return e(404)+function(t){const n=e;return Ks[n(458)](t)?n(421):qs[n(458)](t)?n(414):null}(t)[e(434)]()+e(452)+t[e(434)]()[e(444)](/-/g,"_")}}const Ks=[zs(483),zs(480),zs(455)],qs=[zs(474),zs(471),zs(401),zs(451),zs(486),zs(484)];function Js(){const t=["decimal-leading-zero","find","data","decimal","plugins","commandParams","_getAttributeKey","_descriptionFactory","default","circle","next","document","disc","upper-latin","*Format:* set order to reversed","lower-latin","bind","styles","registerAttributeLabel","lower-roman","5199nNuBHN","1552848BioFvN","ELEMENT_","2633360dqqrVq","FORMAT_LIST_REVERSED","handleDescriptions","has","_LIST_DEFAULT","key","nodeAfter","suggestion","getFirstRange","numbered","TrackChangesEditing","config","attribute","listReversed","isUndo","listStart","bulleted","reversed","18hYNGOp","list.properties","startIndex","getAttribute","*Remove format:* %0","removeMarker","format","getSuggestions","formatBlock","getFirstMarker","listStyle","toUpperCase","ListPropertiesEditing","*Set format:* %0","get","afterInit","FORMAT_LIST_START","filter","*Format:* set order to regular","_findSuggestions","model","replace","type","newValue","*Format:* set start index to %0","*Change to:* %0","registerDescriptionCallback","start","upper-roman","_LIST_","4303080vPScrJ","head","square","batch","4516hbmRbx","includes","listType","_registerLegacyDescription","commandName","oldValue","826673loAmpt","registerPostFixer","_getTranslationKeyForListStyle","3876082FekbDQ","2820122qfTFLy","editor","locale","_enableDefaultAttributesIntegration"];return(Js=function(){return t})()}var Qs=n(507);const Ys=Zs;function Zs(t,e){const n=to();return(Zs=function(t,e){return n[t-=364]})(t,e)}!function(t,e){const n=Zs,r=t();for(;;)try{if(332701===-parseInt(n(372))/1*(-parseInt(n(415))/2)+parseInt(n(416))/3+-parseInt(n(399))/4*(-parseInt(n(378))/5)+parseInt(n(396))/6+parseInt(n(402))/7+parseInt(n(385))/8+-parseInt(n(389))/9*(parseInt(n(412))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(to);class $s extends t.Plugin{static get[Ys(373)](){return[Qs.Enter]}[Ys(417)](){const t=Ys,e=this[t(380)],n=e[t(409)][t(377)](t(386)),r=e[t(368)][t(377)](t(407));n[t(394)](t(407),(()=>{const s=t;e[s(364)][s(387)]((t=>{const o=s,a=e[o(364)][o(400)][o(404)],c=a[o(390)](),u=i.LiveRange[o(410)](a[o(376)]());if(r[o(365)](t)){const r=e[o(364)][o(383)](c[o(369)][o(418)],0),s=t[o(388)](c,r);n[o(367)](s)}else t[o(382)](t[o(388)](u[o(374)]));u[o(379)](),r[o(398)](o(405),{writer:t})}))})),e[t(370)][t(414)].on(t(397),Ds(e,t(384)),{priority:t(403)}),e[t(370)][t(414)].on(t(401),((e,n,r)=>{const s=t,o=r[s(395)][s(391)](n[s(408)]);if(o)for(const t of o)t[s(413)](s(366))&&(r[s(395)][s(393)](t,n[s(408)]),r[s(371)][s(381)](t))}),{priority:t(403)}),e[t(392)][t(414)].on(t(397),((n,r,s)=>{const o=t;s[o(406)][o(375)]&&Ds(e,o(384),{showActiveMarker:!1})[o(411)](this)(n,r,s)}),{priority:t(403)})}}function to(){const t=["getFirstPosition","markerNameToElements","data","unbindElementFromMarkerName","enableCommand","mapper","1460496nydlDY","addMarker:suggestion:insertion","fire","263464ajMEzL","document","removeMarker:suggestion:insertion","4002376EvsPAT","high","selection","afterExecute","options","enter","markerName","plugins","fromRange","bind","15851190pYQFHy","hasClass","downcastDispatcher","50xNEZVp","1835661fcdaoh","init","nextSibling","model","enterBlock","ck-suggestion-marker-split","markInsertion","commands","parent","editing","writer","2647srjeJo","requires","end","showSuggestionHighlights","getFirstRange","get","10pIERFG","detach","editor","remove","setSelection","createPositionAt","split","2342736scqLzK","TrackChangesEditing","change","createRange","9kMxMAO"];return(to=function(){return t})()}const eo=ro;function no(){const t=["find","end","replace","960836hgrwWt","getRange","FindAndReplaceUtils","126ovdXGI","start","handleFindCommand","260519dmWsDQ","replaceAll","_isInDeletionRange","createPositionAt","enableCommand","suggestion:deletion","18VscNmq","item","afterInit","string","filter","getIntersection","has","markers","model","getMarkersGroup","createRange","26683FbXFLt","bind","findByTextCallback","40965mlyaiW","findNext","get","183550WgaxLl","1031384gacuGC","FindAndReplaceEditing","TrackChangesEditing","findPrevious","editor","640929TGJdTq","plugins"];return(no=function(){return t})()}function ro(t,e){const n=no();return(ro=function(t,e){return n[t-=388]})(t,e)}!function(t,e){const n=ro,r=t();for(;;)try{if(140468===parseInt(n(397))/1+parseInt(n(403))/2+parseInt(n(409))/3+-parseInt(n(414))/4+-parseInt(n(400))/5*(parseInt(n(417))/6)+-parseInt(n(420))/7+-parseInt(n(404))/8*(-parseInt(n(426))/9))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(no);class so extends t.Plugin{[eo(388)](){const t=eo;if(!this[t(408)][t(410)][t(392)](t(405)))return;const e=this[t(408)][t(410)][t(402)](t(406));e[t(424)](t(411),this[t(419)][t(398)](this)),e[t(424)](t(401)),e[t(424)](t(407)),e[t(424)](t(413)),e[t(424)](t(421))}[eo(419)](t,e,n={}){const r=eo,s=this[r(408)][r(410)][r(402)](r(416));return t((t=>(r(389)==typeof e?s[r(399)](e,n):e)(t)[r(390)]((e=>!1===this[r(422)](e,t[r(427)])))),n)}[eo(422)](t,e){const n=eo,r=this[n(408)][n(394)][n(396)](this[n(408)][n(394)][n(423)](e,t[n(418)]),this[n(408)][n(394)][n(423)](e,t[n(412)]));for(const t of this[n(408)][n(394)][n(393)][n(395)](n(425)))if(null!==r[n(391)](t[n(415)]()))return!0;return!1}}const oo=io;function io(t,e){const n=ao();return(io=function(t,e){return n[t-=174]})(t,e)}function ao(){const t=["FORMAT_FONT_FAMILY","registerAttributeLabel","plugins","afterInit","fontFamily","config","editor","toLowerCase","150didMBw","*Reset font background color*","commandParams","FontColorEditing","*Reset font family*","has","6430248KpeLpE","_enableDefaultAttributesIntegration","find","131760uwHHjr","FontFamilyEditing","fontColor","label","FORMAT_FONT_SIZE","TrackChangesEditing","1229691pucCSq","*Set font color:* %0","FORMAT_FONT_COLOR","_descriptionFactory","83852qsXXNb","locale","246990QMxYFw","fontBackgroundColor","FontSize","normalizeSizeOptions","format","title","*Reset font color*","formatInline","commandName","FontSizeEditing","fontColor.colors","fontSize","trim","model","fontBackgroundColor.colors","*Reset font size*","56VDQshW","65gRqvVj","FontBackgroundColorEditing","registerDescriptionCallback","fontSize.options","344046EtaoSq","279711exVgVM","*Set font background color:* %0","*Set font family:* %0","get","type","value","*Set font size:* %0","FORMAT_FONT_BACKGROUND","_registerLegacyDescription"];return(ao=function(){return t})()}!function(t,e){const n=io,r=t();for(;;)try{if(403691===-parseInt(n(216))/1+-parseInt(n(228))/2+-parseInt(n(222))/3+-parseInt(n(226))/4*(-parseInt(n(185))/5)+-parseInt(n(189))/6*(-parseInt(n(184))/7)+parseInt(n(213))/8+-parseInt(n(190))/9*(parseInt(n(207))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(ao);const co=[{pluginName:oo(177),commandName:oo(179)},{pluginName:oo(217),commandName:oo(203)},{pluginName:oo(210),commandName:oo(218)},{pluginName:oo(186),commandName:oo(229)}];class uo extends t.Plugin{[oo(202)](){const t=oo,e=this[t(205)][t(227)],n=this[t(205)][t(201)][t(193)](t(221));for(const{pluginName:e,commandName:r}of co)this[t(205)][t(201)][t(212)](e)&&n[t(214)](r,[r]);e.t,n[t(225)][t(200)](t(179),zr(e,t(220))),n[t(225)][t(200)](t(203),zr(e,t(199))),n[t(225)][t(200)](t(218),zr(e,t(224))),n[t(225)][t(200)](t(229),zr(e,t(197))),this[t(198)]()}[oo(198)](){const t=oo,e=this[t(205)],n=e[t(227)];e[t(201)][t(193)](t(221))[t(225)][t(187)]((e=>{const r=t,o=n.t;if(r(175)!=e[r(194)])return;const{data:i}=e;if(null!=i){if(r(179)==i[r(176)]){const t=i[r(209)][0][r(195)];if(t){const e=o(this[r(205)][r(201)][r(193)](r(230))[r(231)](this[r(205)][r(204)][r(193)](r(188)))[r(215)]((e=>e[r(181)]==t))[r(233)])[r(206)]();return{type:r(232),content:zr(n,r(196),e)}}return{type:r(232),content:zr(n,r(183))}}if(r(203)==i[r(176)]){const t=i[r(209)][0][r(195)];return t?{type:r(232),content:zr(n,r(192),t)}:{type:r(232),content:zr(n,r(211))}}if(r(218)==i[r(176)]){const t=i[r(209)][0][r(195)];if(t){const e=(0,s.normalizeColorOptions)(this[r(205)][r(204)][r(193)](r(178)))[r(215)]((e=>e[r(181)]==t));let i=t,a="";return e&&(i=e[r(219)],a=o(i)[r(206)]()),{type:r(232),content:zr(n,r(223),a)[r(180)](),color:{value:t,title:a||i}}}return{type:r(232),content:zr(n,r(174))}}if(r(229)==i[r(176)]){const t=i[r(209)][0][r(195)];if(t){const e=(0,s.normalizeColorOptions)(this[r(205)][r(204)][r(193)](r(182)))[r(215)]((e=>e[r(181)]==t));let i=t,a="";return e&&(i=e[r(219)],a=o(i)[r(206)]()),{type:r(232),content:zr(n,r(191),a)[r(180)](),color:{value:t,title:a||i}}}return{type:r(232),content:zr(n,r(208))}}}}))}}const lo=ho;function fo(){const t=["94362ZDRCll","55wLknWr","afterInit","TrackChangesEditing","838480kXPlRj","editor","enableCommand","label","length","2256168ikJdGv","plugins","fontColor","fontSize","registerDescriptionCallback","normalizeSizeOptions","push","format","_registerLegacyDescription","formatBlock","36qSjNAj","*Set format to:* %0","config","commands","find","model","toUpperCase","commandName","589656wVymKv","type","slice","1729449VBEKEL","locale","FontSize","189oyMixv","fontBackgroundColor","commandParams","975205YMkjpT","charAt","split","2703170XUVRBJ","get","_enableDefaultAttributesIntegration","pasteFormat","*Remove all formatting*","toLowerCase","boolean","fontColor.colors","fontSize.options","_descriptionFactory","copyFormat","title","5Lqgivn","join","entries","formatInline"];return(fo=function(){return t})()}function ho(t,e){const n=fo();return(ho=function(t,e){return n[t-=300]})(t,e)}!function(t,e){const n=ho,r=t();for(;;)try{if(653378===-parseInt(n(325))/1+parseInt(n(348))/2+-parseInt(n(319))/3+-parseInt(n(353))/4*(-parseInt(n(340))/5)+-parseInt(n(344))/6*(parseInt(n(322))/7)+-parseInt(n(316))/8*(-parseInt(n(308))/9)+-parseInt(n(328))/10*(-parseInt(n(345))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(fo);class go extends t.Plugin{[lo(346)](){const t=lo,e=this[t(349)],n=e[t(354)][t(329)](t(347)),r=e[t(311)][t(329)](t(338)),s=e[t(311)][t(329)](t(331));r&&s&&(n[t(330)](t(331)),n[t(350)](t(338)),this[t(306)]())}[lo(306)](){const t=lo,e=this[t(349)],n=e[t(320)];e[t(354)][t(329)](t(347))[t(337)][t(302)]((r=>{const s=t;if(s(307)!=r[s(317)]&&s(343)!=r[s(317)])return;const{data:o}=r;if(o&&s(331)===o[s(315)]){const t=[],r=o[s(324)][0];for(const[n,o]of Object[s(342)](r))t[s(304)](po(e,n,o));return t[s(352)]?{type:s(305),content:zr(n,s(309),t[s(341)](", "))}:{type:s(305),content:zr(n,s(332))}}}))}}function po(t,e,n){const r=lo,o=t[r(320)].t,i=e[r(327)](/(?=[A-Z])/)[r(341)](" "),a=o(i[r(326)](0)[r(314)]()+i[r(318)](1))[r(333)]();if(r(334)==typeof n)return a;if(r(300)===e||r(323)===e){const e=(0,s.normalizeColorOptions)(t[r(310)][r(329)](r(335)))[r(312)]((t=>t[r(313)]==n));return a+" ("+(e?o(e[r(351)])[r(333)]():n)+")"}if(r(301)===e&&isNaN(parseFloat(n))){const e=t[r(354)][r(329)](r(321))[r(303)](t[r(310)][r(329)](r(336)))[r(312)]((t=>t[r(313)]==n));return a+" ("+(e?o(e[r(339)])[r(333)]():n)+")"}return a+" ("+n+")"}const mo=Eo;!function(t,e){const n=Eo,r=t();for(;;)try{if(112222===-parseInt(n(445))/1+-parseInt(n(452))/2+-parseInt(n(456))/3*(-parseInt(n(480))/4)+parseInt(n(453))/5*(parseInt(n(449))/6)+parseInt(n(482))/7+-parseInt(n(481))/8+parseInt(n(444))/9*(parseInt(n(467))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(bo);class Io extends t.Plugin{[mo(455)](){const t=mo,e=this[t(479)];if(!e[t(450)][t(483)](t(476)))return;this[t(446)]=e[t(462)][t(475)](t(457));const n=e[t(448)],r=e[t(450)][t(475)](t(469));r[t(461)](t(451));for(const e of this[t(446)])t(485)!=e[t(454)]&&r[t(459)][t(477)](e[t(454)],(n=>{const r=t,i=this[r(471)](e[r(454)]);return null!==i?s(n,i):o(n,e[r(473)])}));function s(e,r){return zr(n,t(458),[e,r])}function o(e,r){return zr(n,t(470),[e,r])}this[t(443)]()}[mo(443)](){const t=mo,e=this[t(479)],n=e[t(448)];e[t(450)][t(475)](t(469))[t(459)][t(468)]((e=>{const r=t;if(r(447)!=e[r(465)])return;const{data:s}=e;if(s&&r(451)==s[r(466)]){const e=s[r(474)][0][r(460)],c=this[r(471)](e);if(null!==c)return{type:r(484),content:zr(n,r(463),(1,a=c,zr(n,r(458),[1,a])))};const u=this[r(446)][r(472)]((t=>t[r(454)]===e))[r(473)];return{type:r(484),content:zr(n,r(463),(o=1,i=u,zr(n,t(470),[o,i])))}}var o,i,a}))}[mo(471)](t){const e=mo;var n,r;const s=t[e(442)](/^heading(\d+)/);if(s)return s[1];const o=null===(n=this[e(446)])||void 0===n?void 0:n[e(472)]((n=>n[e(454)]==t));if(o&&o[e(478)]){const t=o[e(478)],n=(null!==(r=t[e(464)])&&void 0!==r?r:t)[e(442)](/^h(\d+)/);if(n)return n[1]}return null}}function Eo(t,e){const n=bo();return(Eo=function(t,e){return n[t-=442]})(t,e)}function bo(){const t=["105BFgPpC","model","afterInit","87432AdSndy","heading.options","ELEMENT_HEADING","_descriptionFactory","value","_enableDefaultAttributesIntegration","config","*Change to:* %0","name","type","commandName","10KumAAQ","registerDescriptionCallback","TrackChangesEditing","ELEMENT_HEADING_CUSTOM","_getHeadingLevel","find","title","commandParams","get","HeadingEditing","registerElementLabel","view","editor","8NDdXRL","1492416dExVqA","1221556iTuWhq","has","format","paragraph","match","_registerLegacyDescription","1933749rwvgaB","174963ImZXKM","_headingOptions","formatBlock","locale","15126IjdwKL","plugins","heading","53722NLLXaw"];return(bo=function(){return t})()}function To(t,e){const n=yo();return(To=function(t,e){return n[t-=433]})(t,e)}const _o=To;function yo(){const t=["model","config","type","registerAttributeLabel","HighlightEditing","value","color","5XTYeyf","5348574DwDrxh","toLowerCase","_registerLegacyDescription","format","registerDescriptionCallback","_descriptionFactory","has","highlight.options","afterInit","commandName","4218540SuNRwU","formatInline","editor","get","plugins","978zywiQN","title","locale","26747lXWVca","commandParams","find","4064277GvPvpz","*Remove highlight*","highlight","6242024bNRqHs","FORMAT_HIGHLIGHT","TrackChangesEditing","_enableDefaultAttributesIntegration","308993ExuziM","*Set highlight:* %0","3275876MBstMo"];return(yo=function(){return t})()}!function(t,e){const n=To,r=t();for(;;)try{if(838017===parseInt(n(466))/1+parseInt(n(468))/2+-parseInt(n(459))/3+parseInt(n(448))/4*(parseInt(n(437))/5)+-parseInt(n(453))/6*(parseInt(n(456))/7)+-parseInt(n(462))/8+parseInt(n(438))/9)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(yo);class Ao extends t.Plugin{[_o(446)](){const t=_o,e=this[t(450)];if(!e[t(452)][t(444)](t(434)))return;const n=e[t(452)][t(451)](t(464)),r=e[t(455)];n[t(465)](t(461),[t(461)]),n[t(443)][t(433)](t(461),zr(r,t(463))),this[t(440)]()}[_o(440)](){const t=_o,e=this[t(450)],n=e[t(455)];e[t(452)][t(451)](t(464))[t(443)][t(442)]((r=>{const s=t;if(s(449)!=r[s(471)])return;const{data:o}=r;if(o&&s(461)==o[s(447)]){const t=n.t,r=o[s(457)][0][s(435)];if(r){const o=e[s(470)][s(451)](s(445))[s(458)]((t=>t[s(469)]==r)),i=t(o[s(454)])[s(439)]();return{type:s(441),content:zr(n,s(467),i),color:{value:o[s(436)],title:o[s(454)]}}}return{type:s(441),content:zr(n,s(460),zr(n,s(463)))}}}))}}const ko=No;function Co(){const t=["conversion","for","createContainerElement","12qBJMCw","120bPhhtD","136549hardDE","editor","div","horizontalLine","showSuggestionHighlights","831210kCJjwS","12050ONEiHy","12467818LkobAj","locale","_descriptionFactory","4FCjkVL","291736DDSXTN","createEmptyElement","1840115XscMTy","1384jtIxYV","createPositionAt","has","plugins","enableCommand","HorizontalLineEditing","get","TrackChangesEditing","high","insert","elementToStructure","registerElementLabel","dataDowncast","3744FJLjBU","afterInit","addClass","ELEMENT_HORIZONTAL_LINE","ck-horizontal-line"];return(Co=function(){return t})()}function No(t,e){const n=Co();return(No=function(t,e){return n[t-=324]})(t,e)}!function(t,e){const n=No,r=t();for(;;)try{if(280073===parseInt(n(324))/1*(parseInt(n(328))/2)+-parseInt(n(349))/3*(parseInt(n(325))/4)+parseInt(n(327))/5+-parseInt(n(356))/6+parseInt(n(351))/7*(-parseInt(n(350))/8)+parseInt(n(341))/9*(-parseInt(n(357))/10)+parseInt(n(358))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Co);class Ro extends t.Plugin{[ko(342)](){const t=ko,e=this[t(352)];if(!e[t(331)][t(330)](t(333)))return;e[t(331)][t(334)](t(335))[t(332)](t(354));const n=e[t(331)][t(334)](t(335)),r=e[t(359)];n[t(360)][t(339)](t(354),(e=>zr(r,t(344),e))),e[t(346)][t(347)](t(340))[t(338)]({model:t(354),view:(e,{writer:n,options:r})=>{const s=t;if(!r[s(355)])return null;const o=n[s(348)](s(353)),i=n[s(326)]("hr");return n[s(343)](s(345),o),n[s(337)](n[s(329)](o,0),i),o},converterPriority:t(336)})}}const So=Lo;function Lo(t,e){const n=Mo();return(Lo=function(t,e){return n[t-=170]})(t,e)}!function(t,e){const n=Lo,r=t();for(;;)try{if(787767===-parseInt(n(173))/1*(-parseInt(n(191))/2)+parseInt(n(208))/3*(-parseInt(n(178))/4)+parseInt(n(187))/5+parseInt(n(184))/6*(-parseInt(n(183))/7)+-parseInt(n(196))/8+parseInt(n(202))/9*(-parseInt(n(176))/10)+-parseInt(n(203))/11*(-parseInt(n(185))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Mo);class vo extends t.Plugin{[So(198)](){const t=So,e=this[t(175)];if(!e[t(204)][t(194)](t(201)))return;const n=e[t(204)][t(180)](t(200)),r=e[t(172)];n[t(174)][t(177)](t(209),(e=>zr(r,t(205),e))),n[t(181)](t(195),[],[t(207)]),n[t(174)][t(188)]((e=>{const n=t;if(n(171)!=e[n(199)])return;const{data:s}=e;if(s&&n(207)==s[n(170)]&&e[n(190)]()[n(189)][n(192)].is(n(206),n(209))){const t=zr(r,n(205));return{type:n(193),content:zr(r,n(186),t)}}})),this[t(197)]()}[So(197)](){const t=So,e=this[t(175)],n=e[t(172)];e[t(204)][t(180)](t(200))[t(174)][t(188)]((e=>{const r=t;if(r(179)!=e[r(199)])return;const{data:s}=e;if(s&&r(195)==s[r(182)]){const t=zr(n,r(205));return{type:r(193),content:zr(n,r(186),t)}}}))}}function Mo(){const t=["type","TrackChangesEditing","HtmlEmbed","27auuhkP","44698247GzgkTf","plugins","ELEMENT_HTML_EMBED","element","value","36969arlWov","rawHtml","key","attribute","locale","134KZfPfb","_descriptionFactory","editor","5182030KbiUgp","registerElementLabel","148QIOWRj","formatBlock","get","_enableDefaultAttributesIntegration","commandName","7SGjWKC","5251992UuwXww","12octhEF","*Change %0 content*","1985375hedhzM","registerDescriptionCallback","start","getFirstRange","9978FjCXmV","nodeAfter","format","has","htmlEmbed","11643352DFgbKM","_registerLegacyDescription","afterInit"];return(Mo=function(){return t})()}const wo=Do;function Oo(){const t=["schema","previous","alt","_descriptionFactory","5630020VSdykz","ImageTextAlternativeEditing","forceDefaultExecution","ELEMENT_CAPTION","6040mtltQY","ImageInlineEditing","ELEMENT_IMAGE","nodeAfter","ELEMENT_INLINE_IMAGE","ImageUtils","fromPosition","addObject","caption","imageInline","toPrevious","35GVPlEO","registerDescriptionCallback","accept","isIntersecting","registerCustomCallback","ImageUploadEditing","_registerLegacyDescription","convertInlineImageToBlock","element","detach","resizedWidth","imageTypeInline","convertBlockImageToInline","*Reset image width*","ImageBlockEditing","enableCommand","insertImage","attribute","commandParams","find","end","key","model","formatInline","findIndex","editor","registerElementLabel","isCollapsed","insertion","length","subType","deletion","imageTextAlternative","createRange","width","start","332xXXEZG","newValue","removeObject","discard","filter","document","ImageEditing","type","getSuggestionCallback","nodeBefore","has","imageCaption","getNearestSelectionRange","_enableDefaultAttributesIntegration","toggleImageCaption","selection","imageBlock","*Remove image text alternative*","createRangeOn","forward","toNext","isEqual","getCaptionFromImageModelElement","markDeletion","3573NXtsZg","resizeImage","17345790uFOtro","ImageCaptionEditing","56yHLQjO","formatBlock","916qnvLRq","*Set image width:* %0","ImageCaptionUtils","isOwn","ImageResize","Inline image to block image","uploadImage","getFirstRange","getContainedElement","registerAttributeLabel","getClosestSelectedImageElement","change","join","get","Block image to inline image","markInsertion","backward","imageTypeBlock","afterInit","_findSuggestions","*Set image text alternative:* %0","FORMAT_IMAGE_SIZE","locale","commandName","isBefore","TrackChangesEditing","_suggestionFactory","format","plugins","markBlockFormat","12021GjnVXs","chain","543151UYkHRp","92316UULbYM","isBlockImage","imageStylePreApply"];return(Oo=function(){return t})()}function Do(t,e){const n=Oo();return(Do=function(t,e){return n[t-=333]})(t,e)}!function(t,e){const n=Do,r=t();for(;;)try{if(325815===parseInt(n(385))/1*(-parseInt(n(387))/2)+-parseInt(n(417))/3*(parseInt(n(357))/4)+-parseInt(n(442))/5*(parseInt(n(420))/6)+parseInt(n(419))/7+-parseInt(n(431))/8*(parseInt(n(381))/9)+-parseInt(n(427))/10+parseInt(n(383))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Oo);class Fo extends t.Plugin{[wo(405)](){const t=wo,e=this[t(346)];if(!e[t(415)][t(367)](t(363)))return;const n=e[t(415)][t(400)](t(412)),r=e[t(415)][t(400)](t(436)),s=e[t(409)];n[t(336)](t(337)),n[t(426)][t(347)](t(373),(e=>zr(s,t(433),e))),n[t(426)][t(347)](t(440),(e=>zr(s,t(435),e))),n[t(426)][t(347)](t(439),(()=>zr(s,t(430)))),e[t(415)][t(367)](t(447))&&n[t(336)](t(393)),e[t(415)][t(367)](t(335))&&e[t(415)][t(367)](t(432))&&(n[t(336)](t(453),((s,o)=>{const i=t,a=r[i(397)](e[i(343)][i(362)][i(372)]);e[i(343)][i(398)]((()=>{const t=i;n[t(416)](a,{commandName:t(453),commandParams:[o]},[],t(333))}))})),n[t(336)](t(404),((s,o)=>{const a=t;e[a(343)][a(398)]((t=>{const c=a;let u=r[c(397)](e[c(343)][c(362)][c(372)]),l=t[c(375)](u);const f=i.LivePosition[c(437)](l[c(356)],c(441)),h=i.LivePosition[c(437)](l[c(341)],c(377));n[c(429)]((()=>s(o))),u=r[c(397)](e[c(343)][c(362)][c(372)]),l=t[c(375)](u);const g=t[c(354)](f,h);f[c(451)](),h[c(451)](),n[c(416)](u,{commandName:c(453),commandParams:[o]},[],c(449)),g[c(356)][c(411)](l[c(356)])&&n[c(402)](t[c(354)](g[c(356)],l[c(356)]),c(449)),l[c(341)][c(411)](g[c(341)])&&n[c(402)](t[c(354)](l[c(341)],g[c(341)]),c(449))}))})),n[t(413)][t(446)](t(386),t(449),t(399),(()=>!1)),n[t(413)][t(446)](t(386),t(449),t(444),(()=>!1)),n[t(413)][t(446)](t(386),t(449),t(360),n[t(413)][t(365)](t(386),"",t(444))),n[t(413)][t(446)](t(349),t(449),t(399),(()=>!1)),n[t(413)][t(446)](t(349),t(449),t(360),(([r])=>{const s=t,o=n[s(413)][s(365)](s(349),"",s(360));let i=r[s(356)],a=r[s(341)];const c=e[s(343)][s(423)][s(369)](i,s(403)),u=e[s(343)][s(423)][s(369)](a,s(376));c[s(348)]&&(i=c[s(356)]),u[s(348)]&&(a=u[s(341)]),o([e[s(343)][s(354)](i,a)])})),n[t(413)][t(446)](t(386),t(449),t(418),c),n[t(413)][t(446)](t(349),t(449),t(418),c)),e[t(415)][t(367)](t(384))&&(n[t(336)](t(371),((s,o)=>{const i=t,a=e[i(415)][i(400)](i(389));let c=r[i(397)](e[i(343)][i(362)][i(372)]),u=a[i(379)](c);e[i(343)][i(398)]((()=>{const t=i;if(u)return void n[t(380)](e[t(343)][t(375)](u));const l=r[t(421)](c);s(o),c=r[t(397)](e[t(343)][t(362)][t(372)]),u=a[t(379)](c),n[t(402)](e[t(343)][t(375)](u),l?null:t(368))}))})),n[t(413)][t(446)](t(349),t(368),t(418),c));const o=[{type:t(386),subType:t(422)},{type:t(349),subType:t(368)},{type:t(386),subType:t(449)},{type:t(349),subType:t(449)}];function a(e,s){const i=t,a=o[i(345)]((({type:t,subType:n})=>e[i(364)]==t&&e[i(351)]==n)),c=o[i(345)]((({type:t,subType:e})=>s[i(364)]==t&&s[i(351)]==e));if(a<0||c<0)return!1;const u=e[i(394)](),l=s[i(394)]();if((0==a||1==a)&&2==c&&u[i(445)](l))return!0;if(2==a&&3==c){const t=n[i(406)](u,i(349))[i(361)]((({suggestion:t,meta:e})=>e[i(390)]&&i(449)==t[i(351)]));if(t[i(350)]>1&&l[i(341)][i(378)](u[i(356)]))return!0;if(1==t[i(350)]&&(u[i(356)][i(378)](l[i(341)])||u[i(341)][i(378)](l[i(356)])))return!0}if(3==a&&3==c&&u[i(356)][i(411)](l[i(356)])){const t=u[i(341)][i(434)],e=l[i(356)][i(366)];return r[i(421)](t)&&t===e}return!1}function c(t,e){return a(t,e)?[t,e]:a(e,t)?[e,t]:null}e[t(415)][t(367)](t(391))&&(n[t(370)](t(382),[],[t(452)]),n[t(426)][t(396)](t(452),zr(s,t(408)))),e[t(415)][t(367)](t(428))&&n[t(370)](t(353),[],[t(425)]),n[t(426)][t(443)]((e=>{const n=t;if(o[n(340)]((({type:t,subType:r})=>e[n(364)]==t&&e[n(351)]==r)))return e[n(424)]?{}:void 0})),n[t(426)][t(443)]((e=>{const n=t;if(n(349)==e[n(364)]||n(352)==e[n(364)]){const t=e[n(395)]();if(t&&t.is(n(450),n(439)))return{type:n(349)==e[n(364)]?n(438):n(359),element:t,quantity:1}}})),n[t(426)][t(443)]((e=>t(386)==e[t(364)]&&t(449)==e[t(351)]?{type:t(414),content:t(392)}:t(386)==e[t(364)]&&t(333)==e[t(351)]?{type:t(414),content:t(401)}:void 0)),n[t(426)][t(443)]((e=>{const n=t;if(n(338)!=e[n(364)])return;const{data:r}=e;if(!r||n(425)!=r[n(342)])return;const o=r[n(358)];return o?{type:n(414),content:zr(s,n(407),'"'+o+'"')}:{type:n(414),content:zr(s,n(374))}})),this[t(448)]()}[wo(448)](){const t=wo,e=this[t(346)],n=e[t(409)];e[t(415)][t(400)](t(412))[t(426)][t(443)]((e=>{const r=t;if(r(386)!=e[r(364)]&&r(344)!=e[r(364)])return;const{data:s}=e;if(s){if(r(353)==s[r(410)]){const t=s[r(339)][0][r(358)];return t?{type:r(414),content:zr(n,r(407),'"'+t+'"')}:{type:r(414),content:zr(n,r(374))}}if(r(382)==s[r(410)]){const t=s[r(339)][0][r(355)];return t?{type:r(414),content:zr(n,r(388),t)}:{type:r(414),content:zr(n,r(334))}}}}))}}function Po(){const t=["506706cTISAV","format","afterInit","getSuggestionCallback","registerCustomCallback","editor","19082nmqrTo","formatInline","*Replace image URL*","has","_enableDefaultAttributesIntegration","_descriptionFactory","*Format:* replace image URL","formatBlock","attribute","oldValue","commandName","467439zMerqn","newValue","6liOGVE","8190135ozhjGp","_suggestionFactory","replaceImageSource","plugins","locale","src","accept","_registerLegacyDescription","14737440zcpuGM","_handleLegacySuggestions","1423865JeOOIU","registerDescriptionCallback","TrackChangesEditing","4478164ggxXlH","get","2gRAjvm","key","type","discard","2008IwyFtZ","ImageEditing"];return(Po=function(){return t})()}function xo(t,e){const n=Po();return(xo=function(t,e){return n[t-=400]})(t,e)}const Bo=xo;!function(t,e){const n=xo,r=t();for(;;)try{if(711724===-parseInt(n(403))/1*(-parseInt(n(421))/2)+-parseInt(n(427))/3+-parseInt(n(419))/4+parseInt(n(416))/5*(parseInt(n(405))/6)+parseInt(n(433))/7*(parseInt(n(425))/8)+-parseInt(n(406))/9+parseInt(n(414))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Po);class Uo extends t.Plugin{[Bo(429)](){const t=Bo;if(!this[t(432)][t(409)][t(436)](t(426)))return;const e=this[t(432)][t(410)],n=this[t(432)][t(409)][t(420)](t(418));n[t(437)](t(408),[],[t(411)]),n[t(438)][t(417)]((n=>{const r=t;if(r(400)!=n[r(423)])return;const{data:s}=n;return s&&r(411)==s[r(422)]?s[r(404)]&&s[r(401)]?{type:r(428),content:zr(e,r(435))}:{type:r(428),content:""}:void 0})),this[t(415)]()}[Bo(415)](){const t=Bo,e=this[t(432)][t(409)][t(420)](t(418));e[t(407)][t(431)](t(440),t(408),t(412),e[t(407)][t(430)](t(440),null,t(424))),e[t(407)][t(431)](t(440),t(408),t(424),e[t(407)][t(430)](t(440),null,t(412))),this[t(413)]()}[Bo(413)](){const t=Bo,e=this[t(432)],n=e[t(410)];e[t(409)][t(420)](t(418))[t(438)][t(417)]((e=>{const r=t;if(r(440)!=e[r(423)]&&r(434)!=e[r(423)])return;const{data:s}=e;return s&&r(408)==s[r(402)]?{type:r(428),content:zr(n,r(439))}:void 0}))}}function jo(t,e){const n=Vo();return(jo=function(t,e){return n[t-=372]})(t,e)}const Go=jo;function Vo(){const t=["discardSuggestion","nodeAfter","isEqual","commandName","createRangeOn","registerCustomCallback","document","toLowerCase","findIndex","isIntersecting","side","formatBlock","differ","imageStylePreApply","_splitMarkerName","afterInit","2317gbQWtn","getChangedMarkers","isInlineImage","ImageUtils","Users","type","name","value","imageStylePostApply","commandParams","313863IKKClT","setImageNaturalSizeAttributes","suggestion","next","getSuggestions","_registerLegacyDescription","imageTypeInline","filter","locale","discard","from","accept","1448156baQjFM","commandReversedParams","get","_descriptionFactory","imageTypeBlock","commands","markInlineFormat","isInContent","subType","join","8065260JIFawL","_suggestionFactory","_findSuggestions","normalizedStyles","imageStyle","convertInlineImageToBlock","chain","6649376igdIZA","imageCaption","length","*Format:* %0","FORMAT_SIDE_IMAGE","getFirstRange","change","isBlockImage","isOwn","has","hasSuggestion","editor","model","selection","format","start","formatInline","24080wMBRQo","ImageStyleEditing","title","registerPostFixer","2oiDeXN","isBefore","refresh","getClosestSelectedImageElement","getSuggestionCallback","registerDescriptionCallback","6120PVTIAo","enableCommand","head","getContainedElement","getSuggestion","forEach","323772FKNWdo","end","plugins","markBlockFormat","newRange","nodeBefore","27372mXRPTG","insertion","TrackChangesEditing","shouldConvertImageType","author"];return(Vo=function(){return t})()}!function(t,e){const n=jo,r=t();for(;;)try{if(846126===-parseInt(n(454))/1+-parseInt(n(442))/2*(-parseInt(n(392))/3)+parseInt(n(404))/4+-parseInt(n(414))/5+parseInt(n(460))/6*(parseInt(n(382))/7)+-parseInt(n(421))/8+-parseInt(n(448))/9*(-parseInt(n(438))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Vo);class Ho extends t.Plugin{[Go(381)](){const t=Go,n=this[t(432)];if(!n[t(456)][t(430)](t(439)))return;const r=n[t(456)][t(406)](t(462)),s=n[t(456)][t(406)](t(385)),o={};r[t(449)](t(418),((o,i)=>{const a=t,c=n[a(456)][a(406)](a(386)).me,u=n[a(409)][a(406)](a(418));let l=s[a(445)](n[a(433)][a(372)][a(434)]),f=n[a(433)][a(469)](l),h=u[a(389)];if(h==i[a(389)])return;const g={commandName:a(418),commandParams:[i],formatGroupId:(0,e.uid)()};n[a(433)][a(427)]((()=>{const t=a;if(r[t(396)]()[t(399)]((e=>e[t(411)]&&c==e[t(464)]&&(t(377)==e[t(387)]||t(437)==e[t(387)])&&(t(379)==e[t(412)]||t(390)==e[t(412)])&&e[t(426)]()[t(467)](f)))[t(453)]((e=>r[t(465)](e[t(450)]))),l=s[t(445)](n[t(433)][t(372)][t(434)]),f=n[t(433)][t(469)](l),u[t(444)](),n[t(409)][t(406)](t(398))[t(444)](),n[t(409)][t(406)](t(408))[t(444)](),h=u[t(389)],h!=i[t(389)])return s[t(384)](l)&&u[t(463)](i[t(389)],l)?(o({...i,setImageSizes:!1}),l=s[t(445)](n[t(433)][t(372)][t(434)]),void r[t(457)](l,{...g,commandReversedParams:[{value:h||null,setImageSizes:!1}]},[],t(379))):void(s[t(428)](l)?r[t(457)](l,g,[],t(390)):r[t(410)](f,g,t(390)))}))}));for(const e of n[t(456)][t(406)](t(439))[t(417)])o[e[t(388)]]=e[t(440)][t(373)]();r[t(415)][t(470)](t(377),t(379),t(413),(()=>!1)),r[t(415)][t(470)](t(377),t(390),t(413),(()=>!1)),r[t(415)][t(470)](t(437),t(390),t(413),(()=>!1)),r[t(415)][t(470)](t(377),t(379),t(403),(([e])=>{const n=t;s[n(393)](e[n(451)]())})),r[t(415)][t(470)](t(377),t(379),t(401),((e,n)=>{const s=t;r[s(415)][s(446)](s(377),"",s(403))(e,{commandName:n[s(468)],commandParams:n[s(405)]})})),r[t(415)][t(470)](t(377),t(379),t(420),(function(t,e){return a(t,e)?[t,e]:a(e,t)?[e,t]:null}));const i=[{type:t(377),subType:t(379)},{type:t(461),subType:t(422)},{type:t(377),subType:t(419)},{type:t(461),subType:t(419)}];function a(e,n){const o=t,a=i[o(374)]((({type:t,subType:n})=>e[o(387)]==t&&e[o(412)]==n)),c=i[o(374)]((({type:t,subType:e})=>n[o(387)]==t&&n[o(412)]==e));if(a<0||c<0)return!1;const u=e[o(426)](),l=n[o(426)]();if((0==a||1==a)&&2==c&&u[o(375)](l))return!0;if(2==a&&3==c){const t=r[o(416)](u,o(461))[o(399)]((({suggestion:t,meta:e})=>e[o(429)]&&o(419)==t[o(412)]));if(t[o(423)]>1&&l[o(455)][o(467)](u[o(436)]))return!0;if(1==t[o(423)]&&(u[o(436)][o(467)](l[o(455)])||u[o(455)][o(467)](l[o(436)])))return!0}if(3==a&&3==c&&u[o(436)][o(443)](l[o(436)])){const t=u[o(455)][o(466)],e=l[o(436)][o(459)];return s[o(428)](t)&&t===e}return!1}n[t(433)][t(372)][t(441)]((()=>{const e=t;let o=!1;const i=Array[e(402)](n[e(433)][e(372)][e(378)][e(383)]());for(const{name:t,data:n}of i){const{group:i,type:a,subType:c,id:u}=r[e(380)](t);if(e(394)==i&&r[e(431)](u)){if(e(377)==a&&(e(379)==c||e(390)==c)){const t=r[e(452)](u);if(n[e(458)]){const n=t[e(426)]()[e(451)]();if(s[e(428)](n))continue;r[e(465)](t),o=!0}}if(e(461)==a&&e(422)==c&&!n[e(458)]){const t=r[e(452)](u);t[e(395)]&&t[e(395)][e(411)]&&(r[e(465)](t[e(395)]),o=!0)}}}return o})),this[t(397)](o)}[Go(397)](t){const e=Go,n=this[e(432)],r=n[e(400)];n[e(456)][e(406)](e(462))[e(407)][e(447)]((n=>{const s=e;if(s(377)!=n[s(387)]&&s(437)!=n[s(387)])return;const{data:o}=n;if(!o||s(418)!=o[s(468)])return;const i=o[s(391)][0][s(389)];return function(t){const e=s;return{type:e(435),content:zr(r,e(424),t)}}(s(376)===i?zr(r,s(425)):t[i]||i)}))}}function zo(t,e){const n=Xo();return(zo=function(t,e){return n[t-=423]})(t,e)}const Wo=zo;function Xo(){const t=["execute","2551188DgoRru","9874450bXnzax","Users","value","afterInit","TrackChangesEditing","listenTo","55zvstOf","high","3kjkJHo","338202BUqBss","_handleImportedData","get","collaboration_features","140RwSotM","trackChanges","track_changes","1206489OlJSge","plugins","808SsiYtJ","forEach","5490apbsdq","dataInsert","bind","importWord","editor","5zziETg","_setSuggestionData","1796584BuJqwE","2124492YSdaEW","_trackChangesValueDuringImport","commands","_trackChangesExecuted","lowest","enableCommand"];return(Xo=function(){return t})()}!function(t,e){const n=zo,r=t();for(;;)try{if(772939===parseInt(n(440))/1+parseInt(n(423))/2*(-parseInt(n(432))/3)+-parseInt(n(451))/4*(parseInt(n(449))/5)+-parseInt(n(433))/6*(-parseInt(n(437))/7)+-parseInt(n(442))/8*(-parseInt(n(444))/9)+parseInt(n(424))/10+parseInt(n(430))/11*(-parseInt(n(452))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Xo);class Ko extends t.Plugin{constructor(t){const e=zo;super(t),this[e(453)]=!1,this[e(455)]=!1}[Wo(427)](){const t=Wo,e=this[t(448)],n=e[t(454)][t(435)](t(447)),r=e[t(454)][t(435)](t(438));n&&(n.on(t(458),((e,[,n])=>{const s=t;this[s(453)]=r[s(426)],n[s(436)][s(439)]=!this[s(453)]}),{priority:t(431)}),this[t(429)](n,t(445),this[t(434)][t(446)](this)),this[t(429)](n,t(445),(()=>{const e=t;this[e(455)]&&(r[e(458)](),this[e(455)]=!1)}),{priority:t(456)}),e[t(441)][t(435)](t(428))[t(457)](t(447)))}[Wo(434)](t,e){const n=Wo,{suggestions:r}=e,s=this[n(448)][n(454)][n(435)](n(438)),o=s[n(426)];this[n(453)]!==o&&(s[n(458)](),this[n(455)]=!0),r&&r[n(443)]((({id:t,type:e,author:r,created_at:s})=>{const o=n,i={id:t,type:e,authorId:this[o(448)][o(441)][o(435)](o(425)).me.id,createdAt:new Date,data:null,hasComments:!1,attributes:{"@external":{authorName:r,createdAt:s?new Date(s):new Date,source:o(447)}}};this[o(448)][o(441)][o(435)](o(428))[o(450)](i)}))}}function qo(){const t=["277156dvpDQE","2646036OqzVbF","IndentEditing","registerDescriptionCallback","*Indent:* %0","has","IndentBlock","commandName","456xneGQt","95450ciwhRM","9454Mgthca","formatBlock","afterInit","getItemLabel","type","42iwXFfb","*Outdent:* %0","plugins","getItems","outdentBlock","blockIndent","locale","_registerLegacyDescription","_descriptionFactory","67MpTYmO","registerAttributeLabel","FORMAT_INDENT","12nQjEEu","794168AggjuY","19214BjnQHH","enableCommand","_registerBlockAttribute","TrackChangesEditing","outdent","indent","259345uEyWBK","9hmRCaA","indentBlock","editor","495IFmqYX","_enableDefaultAttributesIntegration","get","format"];return(qo=function(){return t})()}const Jo=Qo;function Qo(t,e){const n=qo();return(Qo=function(t,e){return n[t-=233]})(t,e)}!function(t,e){const n=Qo,r=t();for(;;)try{if(349099===parseInt(n(233))/1*(parseInt(n(262))/2)+parseInt(n(245))/3*(parseInt(n(252))/4)+parseInt(n(244))/5*(-parseInt(n(236))/6)+-parseInt(n(267))/7*(-parseInt(n(237))/8)+-parseInt(n(253))/9+-parseInt(n(261))/10*(parseInt(n(248))/11)+-parseInt(n(260))/12*(-parseInt(n(238))/13))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(qo);class Yo extends t.Plugin{[Jo(264)](){const t=Jo,e=this[t(247)],n=e[t(269)][t(250)](t(241));if(e[t(269)][t(257)](t(254))&&(n[t(239)](t(243)),n[t(239)](t(242))),e[t(269)][t(257)](t(258)))for(const e of[t(246),t(271)])n[t(249)](e);const r=e[t(273)];n[t(240)](t(272)),n[t(275)][t(234)](t(272),zr(r,t(235))),this[t(274)]()}[Jo(274)](){const t=Jo,e=this[t(247)],n=e[t(273)],r=e[t(269)][t(250)](t(241));r[t(275)][t(255)]((e=>{const s=t;if(s(263)!=e[s(266)])return;const{data:o}=e;if(!o)return;if(s(246)!=o[s(259)]&&s(271)!=o[s(259)])return;const i=e[s(270)]()[0],a=r[s(275)][s(265)](i);return s(246)==o[s(259)]?{type:s(251),content:zr(n,s(256),a)}:s(271)==o[s(259)]?{type:s(251),content:zr(n,s(268),a)}:void 0}))}}function Zo(){var t=["610CIKQRM","6VSLOtP","7827576nGrFSW","1060524IaDfwn","input","2238856gsmShk","plugins","TrackChangesEditing","enableCommand","1558942RRZWYP","224199mrQsbZ","1375GZDaEH","get","25776179ZrvMPm","init","21slskhE","editor","8440HfDIIG","requires"];return(Zo=function(){return t})()}function $o(t,e){var n=Zo();return($o=function(t,e){return n[t-=184]})(t,e)}var ti=$o;!function(t,e){for(var n=$o,r=t();;)try{if(928669===-parseInt(n(195))/1+parseInt(n(201))/2*(-parseInt(n(193))/3)+parseInt(n(190))/4*(parseInt(n(184))/5)+parseInt(n(194))/6+parseInt(n(188))/7*(parseInt(n(197))/8)+-parseInt(n(202))/9*(parseInt(n(192))/10)+parseInt(n(186))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Zo);class ei extends t.Plugin{static get[ti(191)](){return[vs.Input]}[ti(187)](){var t=ti;this[t(189)][t(198)][t(185)](t(199))[t(200)](t(196))}}const ni=si;function ri(){const t=["format","key","toLowerCase","linkHref","commandName","LinkEditing","get","map","932158yUvfoS","locale","66QXgzmz","manualDecorators","commands","formatInline","attribute","1JRZNku","editor","*Remove link*","*Set link:* %0","label","plugins","_registerLegacyDescription","373064Yxvpqm","type","link (","newValue","commandParams","registerDescriptionCallback","registerAttributeLabel","_descriptionFactory","TrackChangesEditing","afterInit","unlink","12lduinm","11KrDHTv","_enableDefaultAttributesIntegration","207raKJnH","2046050kfCAOP","1362700hXsyLq","595966WxoQgT","1129074eDtxvf","has","link","43518000EJkkpS"];return(ri=function(){return t})()}function si(t,e){const n=ri();return(si=function(t,e){return n[t-=438]})(t,e)}!function(t,e){const n=si,r=t();for(;;)try{if(567750===parseInt(n(477))/1*(-parseInt(n(470))/2)+-parseInt(n(458))/3*(parseInt(n(451))/4)+parseInt(n(455))/5+parseInt(n(472))/6*(-parseInt(n(457))/7)+-parseInt(n(440))/8*(parseInt(n(454))/9)+parseInt(n(456))/10+-parseInt(n(452))/11*(-parseInt(n(461))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(ri);class oi extends t.Plugin{[ni(449)](){const t=ni,e=this[t(478)];if(!e[t(438)][t(459)](t(467)))return;const n=e[t(438)][t(468)](t(448)),r=e[t(474)][t(468)](t(460));n[t(453)](t(460),[t(465),...r[t(473)][t(469)]((t=>t.id))]),n[t(453)](t(450));for(const e of r[t(473)])n[t(447)][t(446)](e.id,t(442)+e[t(481)][t(464)]()+")");n[t(447)][t(445)]((n=>{const r=t;if(r(476)!=n[r(441)])return;const{data:s}=n;if(!s||r(465)!=s[r(463)])return;const o=s[r(443)],i=e[r(471)];return{type:r(462),content:null==o?zr(i,r(479)):zr(i,r(480),'"'+o+'"')}})),this[t(439)]()}[ni(439)](){const t=ni,e=this[t(478)],n=e[t(471)];e[t(438)][t(468)](t(448))[t(447)][t(445)]((e=>{const r=t;if(r(475)!=e[r(441)])return;const{data:s}=e;if(s){if(r(460)==s[r(466)]){const t=s[r(444)][0];return{type:r(462),content:zr(n,r(480),'"'+t+'"')}}return r(450)==s[r(466)]?{type:r(462),content:zr(n,r(479))}:void 0}}))}}function ii(t,e){const n=fi();return(ii=function(t,e){return n[t-=423]})(t,e)}const ai=ii;!function(t,e){const n=ii,r=t();for(;;)try{if(985432===parseInt(n(480))/1+-parseInt(n(428))/2+-parseInt(n(434))/3*(-parseInt(n(475))/4)+parseInt(n(458))/5*(-parseInt(n(487))/6)+parseInt(n(468))/7*(-parseInt(n(471))/8)+parseInt(n(465))/9+parseInt(n(486))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(fi);class ci extends t.Plugin{[ai(437)](){const t=ai,e=this[t(497)],n=e[t(485)];if(!e[t(438)][t(447)](t(508)))return;const r=e[t(438)][t(474)](t(445)),s=e[t(438)][t(447)](t(478));function o(t){return()=>{const n=ii,s=e[n(426)][n(488)][n(502)],o=e[n(424)][n(474)](t);if(o[n(452)])return void e[n(469)](n(444),{});const i=t[n(493)](0,-4),a=function(t,e,r){const s=n;let o=Array[s(483)](t)[s(492)]((t=>function(t,e){const n=s;return e[n(446)](t[n(484)],n(464))&&!e[n(470)](t)}(t,r)));o=o[s(492)]((t=>!t.is(s(460),s(464))||t[s(435)](s(472))!=e));const i=new Set;for(const t of o)t.is(s(460),s(464))?i[s(476)](ui(t)):i[s(476)](t);return Array[s(483)](i)}(s[n(495)](),i,e[n(426)][n(479)]);e[n(426)][n(499)]((()=>{const e=n;for(const n of a)r[e(496)](n,{commandName:t,commandParams:[{forceValue:!o[e(452)]}],formatGroupId:e(449)},li(n))}))}}function i(t){return()=>{const n=ii,s=function(t){const e=ii;let n=Array[e(483)](t);const r=n[e(461)]((t=>e(464)!=t[e(448)]));return r>-1&&(n=n[e(493)](0,r)),n}(e[n(426)][n(488)][n(502)][n(495)]()),o=e[n(426)][n(503)](e[n(426)][n(477)](s[0],n(482)),e[n(426)][n(477)](s[s[n(489)]-1],n(500)));e[n(426)][n(499)]((()=>{const e=n;r[e(496)](o,{commandName:t,commandParams:[],formatGroupId:e(454)},function(t){const n=e,r=new Set;for(const e of t){let t=e[n(507)];for(;t&&t[n(435)](n(454))>e[n(435)](n(454));)r[n(476)](t),t=t[n(507)]}return Array[n(483)](r)}(s))}))}}r[t(442)](t(451),o(t(451))),r[t(442)](t(427),o(t(427))),s&&r[t(442)](t(441),o(t(441))),r[t(442)](t(457),i(t(457))),r[t(442)](t(439),i(t(439))),s&&r[t(442)](t(501),(()=>{const n=t,s=e[n(424)][n(474)](n(501)),o=Array[n(483)](s[n(466)]);o[n(492)]((t=>t[n(435)](n(443))!=s[n(452)])),e[n(426)][n(499)]((()=>{const t=n;for(const e of o)r[t(496)](e,{commandName:t(501),commandParams:[{forceValue:!s[t(452)]}]})}))})),r[t(505)][t(467)](t(464),(e=>zr(n,t(504),e))),r[t(505)][t(431)]((e=>{const r=t;if(r(459)!=e[r(455)]&&r(433)!=e[r(455)])return;const{data:s}=e;if(s){if(r(451)==s[r(506)]||r(427)==s[r(506)]||r(441)==s[r(506)])switch(s[r(506)][r(490)](r(498),"")){case r(430):return o(zr(n,r(456)));case r(432):return o(zr(n,r(473)));case r(423):return o(zr(n,r(453)))}if(r(457)==s[r(506)])return{type:r(491),content:zr(n,r(429),zr(n,r(504)))};if(r(439)==s[r(506)])return{type:r(491),content:zr(n,r(494),zr(n,r(504)))};if(r(501)==s[r(506)])return s[r(481)][0][r(463)]?{type:r(491),content:zr(n,r(450))}:{type:r(491),content:zr(n,r(425))}}function o(t){const e=r;return{type:e(491),content:zr(n,e(462),t)}}}))}}function ui(t){const e=ai,n=t[e(435)](e(454));if(0==n)return t;let r=t;for(;t[e(440)]&&t[e(440)].is(e(460),e(464));){const s=t[e(440)][e(435)](e(454));if(s==n)r=t[e(440)];else if(s<n)break;t=t[e(440)]}return r}function li(t){const e=ai,n=[];if(t.is(e(460),e(464))&&t[e(435)](e(454))>0){let r=t[e(507)];for(;r&&e(464)==r[e(448)]&&r[e(435)](e(454))==t[e(435)](e(454));)n[e(436)](r),r=r[e(507)]}return n}function fi(){const t=["slice","*Outdent:* %0","getSelectedBlocks","markBlockFormat","editor","List","change","end","checkTodoList","selection","createRange","ELEMENT_LIST_ITEM","_descriptionFactory","commandName","nextSibling","LegacyListEditing","todo","commands","*Uncheck item*","model","bulletedList","161702lBIquD","*Indent:* %0","bulleted","registerDescriptionCallback","numbered","formatInline","3gwSXBk","getAttribute","push","afterInit","plugins","outdentList","previousSibling","todoList","enableCommand","todoListChecked","paragraph","TrackChangesEditing","checkChild","has","name","blockName","*Check item*","numberedList","value","ELEMENT_TODO_LIST","listIndent","type","ELEMENT_BULLETED_LIST","indentList","6280YujyMm","formatBlock","element","findIndex","*Change to:* %0","forceValue","listItem","3689541XyuorS","_selectedElements","registerElementLabel","301SJrVgj","execute","isObject","351896BrxyeB","listType","ELEMENT_NUMBERED_LIST","get","933040jBmLsF","add","createPositionAt","LegacyTodoListEditing","schema","33206uvwjtV","commandParams","before","from","parent","locale","33727730oGJflL","5214SSLAHy","document","length","replace","format","filter"];return(fi=function(){return t})()}const hi=gi;function gi(t,e){const n=di();return(gi=function(t,e){return n[t-=427]})(t,e)}function di(){const t=["TrackChangesEditing","registerDescriptionCallback","216LNeDTy","1993828kaUZpN","commandParams","handleListStyleCommand","styles","backward","numbered","config","enableCommand","83673cGeMxm","listItem","listStyle","document","2460052GKowCO","list.properties","2345124XpeZJm","getSelectedBlocks","format","model","parent","5cBKtGg","*Format:* set order to reversed","locale","_getSuggestionBlocks","commandName","355044JkErUJ","ELEMENT_","forward","reversed","map","length","plugins","_LIST_","markMultiRangeBlockFormat","getAttribute","filter","listStart","bind","toUpperCase","LegacyListUtils","startIndex","createPositionAt","84233pyyylj","flat","getFirstPosition","unshift","*Change to:* %0","has","createRange","_descriptionFactory","getListTypeFromListStyleType","type","change","push","handleDescriptions","replace","handleListReversedCommand","LegacyListPropertiesEditing","getLastPosition","editor","listType","*Format:* set start index to %0","formatInline","selection","handleListStartCommand","_getTranslationKeyForListStyle","getSiblingNodes","_getSuggestionBlocksForListStyle","733930lbSsEc","afterInit","from","before","listReversed","formatBlock","*Format:* set order to regular","get","element"];return(di=function(){return t})()}!function(t,e){const n=gi,r=t();for(;;)try{if(340036===parseInt(n(466))/1+parseInt(n(492))/2+-parseInt(n(449))/3+parseInt(n(504))/4+parseInt(n(444))/5*(-parseInt(n(439))/6)+-parseInt(n(437))/7+-parseInt(n(503))/8*(-parseInt(n(433))/9))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(di);class pi extends t.Plugin{[hi(493)](){const t=hi;if(!this[t(483)][t(455)][t(471)](t(481)))return;const e=this[t(483)][t(431)][t(499)](t(438)),n=this[t(483)][t(455)][t(499)](t(501));e[t(428)]&&n[t(432)](t(435),this[t(427)][t(461)](this)),e[t(452)]&&n[t(432)](t(496),this[t(480)][t(461)](this)),e[t(464)]&&n[t(432)](t(460),this[t(488)][t(461)](this)),n[t(473)][t(502)](this[t(478)][t(461)](this))}[hi(427)](t,e={}){const n=hi,r=this[n(483)][n(455)][n(499)](n(501)),s=this[n(491)]();this[n(483)][n(442)][n(476)]((()=>{const t=n;r[t(457)](s,{commandName:t(435),commandParams:[{type:e[t(475)]}],formatGroupId:t(435)})}))}[hi(480)](t,e={}){const n=hi,r=this[n(483)][n(455)][n(499)](n(501)),s=this[n(447)]((t=>t.is(n(500),n(434))&&n(430)===t[n(458)](n(484))));if(s[n(454)]<1)return;const o=s[n(453)]((t=>this[n(483)][n(442)][n(472)](this[n(483)][n(442)][n(465)](t,n(495)),this[n(483)][n(442)][n(465)](t,0))));this[n(483)][n(442)][n(476)]((()=>{const t=n;r[t(457)](o,{commandName:t(496),commandParams:[{reversed:e[t(452)]}],formatGroupId:t(496)})}))}[hi(488)](t,e={}){const n=hi,r=this[n(483)][n(455)][n(499)](n(501)),s=this[n(447)]((t=>t.is(n(500),n(434))&&n(430)===t[n(458)](n(484))));if(s[n(454)]<1)return;const o=s[n(453)]((t=>this[n(483)][n(442)][n(472)](this[n(483)][n(442)][n(465)](t,n(495)),this[n(483)][n(442)][n(465)](t,0))));this[n(483)][n(442)][n(476)]((()=>{const t=n;r[t(457)](o,{commandName:t(460),commandParams:[{startIndex:e[t(464)]}],formatGroupId:t(460)})}))}[hi(478)](t){const e=hi;if(e(497)!=t[e(475)]&&e(486)!=t[e(475)])return;const n=this[e(483)][e(446)],{data:r}=t;if(!r)return;let s,o;switch(r[e(448)]){case e(435):s=e(470),o={type:e(441),content:zr(n,s,zr(n,this[e(489)](r[e(505)][0][e(475)])))};break;case e(496):s=r[e(505)][0][e(452)]?e(445):e(498),o={type:e(441),content:zr(n,s)};break;case e(460):s=e(485),o={type:e(441),content:zr(n,s,r[e(505)][0][e(464)])}}return o}[hi(491)](){const t=hi;var e,n,r,s;const o=this[t(483)][t(455)][t(499)](t(463));let i=Array[t(494)](this[t(483)][t(442)][t(436)][t(487)][t(440)]());return(null===(e=i[0])||void 0===e?void 0:e.is(t(500),t(434)))&&i[t(469)](...o[t(490)](this[t(483)][t(442)][t(436)][t(487)][t(468)](),t(429))),(null===(n=i[i[t(454)]-1])||void 0===n?void 0:n.is(t(500),t(434)))&&i[t(477)](...o[t(490)](this[t(483)][t(442)][t(436)][t(487)][t(482)](),t(451))),i=[...new Set(i)],(null===(s=null===(r=this[t(483)][t(442)][t(436)][t(487)][t(468)]())||void 0===r?void 0:r[t(443)])||void 0===s?void 0:s.is(t(500),t(434)))&&(i=i[t(459)]((e=>e.is(t(500),t(434))))),i}[hi(447)](t){const e=hi,n=this[e(483)][e(455)][e(499)](e(463));let r=Array[e(494)](this[e(483)][e(442)][e(436)][e(487)][e(440)]())[e(459)](t)[e(453)]((t=>{const r=e,s=this[r(483)][r(442)][r(465)](t,0);return[...n[r(490)](s,r(429)),...n[r(490)](s,r(451))]}))[e(467)]();return r=[...new Set(r)],r}[hi(489)](t){const e=hi;return e(450)+this[e(483)][e(455)][e(499)](e(463))[e(474)](t)[e(462)]()+e(456)+t[e(462)]()[e(479)](/-/g,"_")}}const mi=Ii;function Ii(t,e){const n=Ei();return(Ii=function(t,e){return n[t-=354]})(t,e)}function Ei(){const t=["afterInit","plugins","showSuggestionHighlights","div","editor","media","_descriptionFactory","2421832PGehEy","stop","6983316iQcSuz","1887wIfilR","conversion","2289590LsLzJW","locale","15laRGDz","367951KMoswa","get","elementToElement","attribute:url:media","registerElementLabel","has","high","3868332RZbLSs","7JNhsec","createEmptyElement","data","downcastDispatcher","500OoKmwU","dataDowncast","enableCommand","ELEMENT_MEDIA","378292MsnGOD","MediaEmbedEditing","TrackChangesEditing","for","mediaEmbed","options"];return(Ei=function(){return t})()}!function(t,e){const n=Ii,r=t();for(;;)try{if(473504===-parseInt(n(388))/1+parseInt(n(363))/2*(parseInt(n(383))/3)+parseInt(n(367))/4*(parseInt(n(387))/5)+-parseInt(n(358))/6*(-parseInt(n(359))/7)+parseInt(n(380))/8+-parseInt(n(382))/9+parseInt(n(385))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Ei);class bi extends t.Plugin{[mi(373)](){const t=mi,e=this[t(377)];if(!e[t(374)][t(356)](t(368)))return;const n=e[t(374)][t(389)](t(369)),r=e[t(386)];n[t(365)](t(371)),n[t(379)][t(355)](t(378),(e=>zr(r,t(366),e))),e[t(384)][t(370)](t(364))[t(390)]({model:t(378),view:(e,{writer:n,options:r})=>{const s=t;if(r[s(375)])return n[s(360)](s(376))},converterPriority:t(357)}),e[t(361)][t(362)].on(t(354),((e,n,r)=>{const s=t;r[s(372)][s(375)]&&e[s(381)]()}),{priority:t(357)})}}const Ti=yi;function _i(){const t=["mention","editor","TrackChangesEditing","67859dxKSsJ","afterInit","5426826sQjnGd","1242wKrJvF","57144utfXSv","926186JjXJIT","6860jIRAyx","get","enableCommand","8444121GJPHyW","has","558608RKLaFy","5NpOset","3300644FIopch","6lRbPgn","plugins","MentionEditing"];return(_i=function(){return t})()}function yi(t,e){const n=_i();return(yi=function(t,e){return n[t-=163]})(t,e)}!function(t,e){const n=yi,r=t();for(;;)try{if(634413===-parseInt(n(179))/1+-parseInt(n(173))/2*(parseInt(n(182))/3)+-parseInt(n(181))/4*(parseInt(n(180))/5)+parseInt(n(170))/6+-parseInt(n(177))/7+-parseInt(n(172))/8*(parseInt(n(171))/9)+parseInt(n(174))/10*(parseInt(n(168))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(_i);class Ai extends t.Plugin{[Ti(169)](){const t=Ti,e=this[t(166)];e[t(163)][t(178)](t(164))&&e[t(163)][t(175)](t(167))[t(176)](t(165))}}const ki=Ni;function Ci(){const t=["54104rkqIHD","6208345CVZhRK","afterInit","74315oPSCxD","editor","get","PageBreakEditing","10HITKAd","44PixVFx","TrackChangesEditing","ELEMENT_PAGE_BREAK","registerElementLabel","pageBreak","enableCommand","plugins","77198nANmQM","3221050IyBSgc","822FgmguJ","locale","_descriptionFactory","1329450tbDWak","3278yiDQFf","has","90izlOlD"];return(Ci=function(){return t})()}function Ni(t,e){const n=Ci();return(Ni=function(t,e){return n[t-=183]})(t,e)}!function(t,e){const n=Ni,r=t();for(;;)try{if(296327===parseInt(n(202))/1+parseInt(n(184))/2*(parseInt(n(204))/3)+-parseInt(n(195))/4*(-parseInt(n(190))/5)+-parseInt(n(183))/6+parseInt(n(203))/7+-parseInt(n(187))/8*(parseInt(n(186))/9)+parseInt(n(194))/10*(-parseInt(n(188))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Ci);class Ri extends t.Plugin{[ki(189)](){const t=ki,e=this[t(191)];if(!e[t(201)][t(185)](t(193)))return;e[t(201)][t(192)](t(196))[t(200)](t(199));const n=e[t(201)][t(192)](t(196)),r=e[t(205)];n[t(206)][t(198)](t(199),(e=>zr(r,t(197),e)))}}const Si=Li;function Li(t,e){const n=wi();return(Li=function(t,e){return n[t-=102]})(t,e)}!function(t,e){const n=Li,r=t();for(;;)try{if(616760===parseInt(n(160))/1*(parseInt(n(108))/2)+-parseInt(n(103))/3*(-parseInt(n(161))/4)+-parseInt(n(155))/5+-parseInt(n(127))/6*(parseInt(n(114))/7)+-parseInt(n(171))/8*(-parseInt(n(167))/9)+parseInt(n(140))/10*(parseInt(n(119))/11)+-parseInt(n(133))/12*(parseInt(n(148))/13))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(wi);class vi extends t.Plugin{[Si(169)](){const t=Si,e=this[t(165)];if(!e[t(135)][t(106)](t(154)))return;const n=e[t(102)],r=e[t(135)][t(147)](t(159));r[t(136)][t(142)](t(126),(e=>zr(n,t(134),e))),r[t(146)](t(126)),r[t(158)](t(130)),e[t(145)][t(121)].on(t(110),Mi(e),{priority:t(131)}),e[t(166)][t(121)].on(t(110),((n,r,s)=>{const o=t;s[o(151)][o(173)]&&Mi(e,{showActiveMarker:!1})(n,r,s)}),{priority:t(131)});const s=r[t(136)];s[t(138)]((r=>{const o=t;if(o(152)!==r[o(124)])return;const{start:i,end:a}=r[o(157)]();if(!i[o(174)](a)||!i[o(139)])return;const c=e[o(168)][o(137)],u=i[o(139)];return c[o(128)](u)&&!c[o(129)](u)&&c[o(144)](u,o(143))?{type:o(152),content:zr(n,o(112),s[o(120)](u,1))}:void 0})),this[t(122)]()}[Si(122)](){const t=Si,e=this[t(165)],n=e[t(102)];e[t(135)][t(147)](t(159))[t(136)][t(138)]((e=>{const r=t;if(r(149)!=e[r(124)])return;const{data:s}=e;return s&&r(126)==s[r(156)]?{type:r(153),content:zr(n,r(117),zr(n,r(134)))}:void 0}))}}function Mi(t,{showActiveMarker:e=!0}={}){return(n,r,s)=>{const o=Li,i=t[o(135)][o(147)](o(159)),a=r[o(113)][o(170)],c=r[o(113)][o(109)],u=t[o(168)][o(137)];if(!a[o(174)](c)||!a[o(139)])return;const l=a[o(139)];if(u[o(128)](l)&&!u[o(129)](l)&&u[o(144)](l,o(143))){if(!s[o(172)][o(116)](r[o(113)],n[o(115)]))return;const t=s[o(118)][o(150)](o(162),{class:o(111)}),a=s[o(141)][o(104)](c);e&&i[o(125)][o(163)](r[o(164)])&&s[o(118)][o(123)](o(107),t),s[o(118)][o(132)](a,t),s[o(141)][o(105)](t,r[o(164)])}}}function wi(){const t=["markerName","editor","data","18ZZxBTS","model","afterInit","start","4678600Qqwcmd","consumable","showSuggestionHighlights","isTouching","locale","81YxrQmg","toViewPosition","bindElementToMarker","has","ck-suggestion-marker--active","436tAskyK","end","addMarker:suggestion:insertion","ck-suggestion-marker-split","*Insert:* %0","markerRange","35NhDqCp","name","consume","*Change to:* %0","writer","1210187VMcmtP","getItemLabel","downcastDispatcher","_registerLegacyDescription","addClass","type","activeMarkers","paragraph","292962nJMdzD","isBlock","isLimit","insertParagraph","highest","insert","12viaBSx","ELEMENT_PARAGRAPH","plugins","_descriptionFactory","schema","registerDescriptionCallback","nodeAfter","10WfjUfa","mapper","registerElementLabel","$text","checkChild","editing","_enableDefaultAttributesIntegration","get","12848433ZKZWSb","formatBlock","createUIElement","options","insertion","format","Paragraph","2832740jlIfqW","commandName","getFirstRange","enableCommand","TrackChangesEditing","1045QSnLVX","134564YIPQkW","span","includes"];return(wi=function(){return t})()}const Oi=Fi;function Di(){const t=["plugins","TrackChangesEditing","4101745pZOQXz","2IIFbdG","formatInline","63tgyxIC","registerDescriptionCallback","328232tOWGZN","RemoveFormatEditing","*Remove all formatting*","_registerLegacyDescription","format","type","3257646YnpNgf","1009992JkRwot","6qTHXoe","locale","formatBlock","31702820NMaKaO","554519kbrHKv","_enableDefaultAttributesIntegration","afterInit","editor","get","5116672EGcyzJ","has","removeFormat","_descriptionFactory","commandName"];return(Di=function(){return t})()}function Fi(t,e){const n=Di();return(Fi=function(t,e){return n[t-=173]})(t,e)}!function(t,e){const n=Fi,r=t();for(;;)try{if(649845===-parseInt(n(193))/1*(parseInt(n(189))/2)+parseInt(n(199))/3+parseInt(n(181))/4+-parseInt(n(188))/5*(-parseInt(n(201))/6)+parseInt(n(176))/7+-parseInt(n(200))/8*(-parseInt(n(191))/9)+-parseInt(n(175))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Di);class Pi extends t.Plugin{[Oi(178)](){const t=Oi,e=this[t(179)];e[t(186)][t(182)](t(194))&&(e[t(186)][t(180)](t(187))[t(177)](t(183)),this[t(196)]())}[Oi(196)](){const t=Oi,e=this[t(179)];e[t(186)][t(180)](t(187))[t(184)][t(192)]((n=>{const r=t;if(r(174)!=n[r(198)]&&r(190)!=n[r(198)])return;const{data:s}=n;return s&&r(183)==s[r(185)]?{type:r(197),content:zr(e[r(173)],r(195))}:void 0}))}}const xi=Ui;function Bi(){const t=["1652254eDlbTH","892900xQXBJT","discardSelectedSuggestions","get","10650750PCkriM","editor","acceptSuggestion","acceptSelectedSuggestions","plugins","1720274CalMuS","discardAllSuggestions","13239064cpqcgm","enableCommand","50hIWeDf","RestrictedEditingModeEditing","trackChanges","527512zpQBLH","7hlMoVj","acceptAllSuggestions","goToNextRestrictedEditingException","afterInit","9mkdCWC","discardSuggestion","has","TrackChangesEditing","1515882XfaDji","goToPreviousRestrictedEditingException"];return(Bi=function(){return t})()}function Ui(t,e){const n=Bi();return(Ui=function(t,e){return n[t-=120]})(t,e)}!function(t,e){const n=Ui,r=t();for(;;)try{if(897849===parseInt(n(133))/1+parseInt(n(142))/2+-parseInt(n(131))/3+parseInt(n(122))/4*(-parseInt(n(146))/5)+parseInt(n(137))/6+-parseInt(n(123))/7*(parseInt(n(144))/8)+-parseInt(n(127))/9*(-parseInt(n(134))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Bi);class ji extends t.Plugin{[xi(126)](){const t=xi,e=this[t(138)];if(!e[t(141)][t(129)](t(120)))return;const n=e[t(141)][t(136)](t(130));n[t(145)](t(132)),n[t(145)](t(125));const r=e[t(141)][t(136)](t(120));r[t(145)](t(121)),r[t(145)](t(139)),r[t(145)](t(128)),r[t(145)](t(124)),r[t(145)](t(143)),r[t(145)](t(140)),r[t(145)](t(135))}}const Gi=Vi;function Vi(t,e){const n=Hi();return(Vi=function(t,e){return n[t-=278]})(t,e)}function Hi(){const t=["showSuggestionHighlights","split","span","element","_descriptionFactory","4772228ksIzTO","registerElementLabel","createUIElement","high","addClass","toViewPosition","merge","bindElementToMarker","insert","activeMarkers","get","ELEMENT_LINE_BREAK","downcastDispatcher","softBreak","consumable","createPositionBefore","511FgMZjE","4467075EZJpFr","shiftEnter","addMarker:suggestion:deletion","editor","14323520MQIlZC","plugins","includes","getItems","mapper","init","writer","enableCommand","markerRange","ck-suggestion-marker--active","1235264KazQMA","66062205gbiZXP","name","model","data","addMarker:suggestion","test","134988qbSeYu","5VdHCTo","locale","editing","3129426dVSBSv","markerName","options","deletion","ck-suggestion-marker-","addMarker:suggestion:insertion","TrackChangesEditing","requires"];return(Hi=function(){return t})()}!function(t,e){const n=Vi,r=t();for(;;)try{if(895920===parseInt(n(322))/1+-parseInt(n(278))/2+-parseInt(n(308))/3+-parseInt(n(291))/4*(parseInt(n(330))/5)+-parseInt(n(329))/6*(parseInt(n(307))/7)+-parseInt(n(312))/8+parseInt(n(323))/9)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Hi);class zi extends t.Plugin{static get[Gi(285)](){return[Qs.ShiftEnter]}[Gi(317)](){const t=Gi,e=this[t(311)],n=e[t(313)][t(301)](t(284));n[t(319)](t(309)),e[t(332)][t(303)].on(t(283),Wi(e),{priority:t(294)}),e[t(332)][t(303)].on(t(310),Wi(e),{priority:t(294)}),e[t(326)][t(303)].on(t(327),((n,r,s)=>{const o=t;s[o(280)][o(286)]&&Wi(e,{showActiveMarker:!1})(n,r,s)})),n[t(290)][t(292)](t(304),(n=>zr(e[t(331)],t(302),n)))}}function Wi(t,{showActiveMarker:e=!0}={}){return(n,r,s)=>{const o=Vi,i=t[o(313)][o(301)](o(284));if(!s[o(305)][o(328)](r[o(320)],n[o(324)]))return;const a=t[o(325)];for(const t of r[o(320)][o(315)]()){if(!t.is(o(289),o(304)))continue;const n=o(281)==r[o(279)][o(287)](":")[1]?o(297):o(287),c=s[o(318)][o(293)](o(288),{class:o(282)+n}),u=s[o(316)][o(296)](a[o(306)](t));e&&i[o(300)][o(314)](r[o(279)])&&s[o(318)][o(295)](o(321),c),s[o(318)][o(299)](u,c),s[o(316)][o(298)](c,r[o(279)])}}}function Xi(t,e){const n=qi();return(Xi=function(t,e){return n[t-=493]})(t,e)}const Ki=Xi;function qi(){const t=["has","editor","enableCommand","markInlineFormat","FORMAT_RESTRICTED_ENABLED","45753QoqcVt","getRanges","isCollapsed","813936eaxfxz","plugins","forceValue","value","TrackChangesEditing","commandName","type","from","100692PWQzHu","formatBlock","selection","6945oIrlmI","_descriptionFactory","change","registerDescriptionCallback","document","1096wwVbQC","1695492QXQfMT","restrictedEditingException","2108120pGUvSS","commandParams","format","model","afterInit","FORMAT_RESTRICTED_DISABLED","StandardEditingModeEditing","locale","80xvssvJ","get","252917hpohGH","formatInline","commands","2ALxYgY"];return(qi=function(){return t})()}!function(t,e){const n=Xi,r=t();for(;;)try{if(284041===-parseInt(n(495))/1+-parseInt(n(530))/2*(-parseInt(n(498))/3)+-parseInt(n(514))/4*(-parseInt(n(509))/5)+parseInt(n(506))/6+parseInt(n(527))/7*(-parseInt(n(525))/8)+-parseInt(n(515))/9+parseInt(n(517))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(qi);class Ji extends t.Plugin{[Ki(521)](){const t=Ki,e=this[t(532)],n=e[t(520)],r=e[t(524)];if(!e[t(499)][t(531)](t(523)))return;const s=e[t(499)][t(526)](t(502)),o=t(516),i=e[t(529)][t(526)](o);s[t(533)](o,((e,r={})=>{const a=t,c=n[a(513)][a(508)];if(c[a(497)])return void e(r);const u=void 0!==r[a(500)]?r[a(500)]:!i[a(501)];n[a(511)]((()=>{const t=a,e=Array[t(505)](c[t(496)]());for(const r of e){const e=u?[r]:Os(o,r,n);for(const n of e)s[t(493)](n,{commandName:o,commandParams:[{forceValue:u}]})}}))})),s[t(510)][t(512)]((e=>{const n=t;if(n(507)!=e[n(504)]&&n(528)!=e[n(504)])return;const{data:s}=e;return s&&s[n(503)]==o?s[n(518)][0][n(500)]?{type:n(519),content:zr(r,n(494))}:{type:n(519),content:zr(r,n(522))}:void 0}))}}function Qi(){const t=["1181576uzygAu","33bNiFAq","565NFeQRe","_descriptionFactory","editor","add","formatBlock","TrackChangesEditing","StyleUtils","registerDescriptionCallback","getGhsAttributeNameForElement","get","_registerInlineAttribute","styleName","plugins","ghsAttributes","15524CgNFfw","definitions","has","block","12066jtctwH","toLowerCase","registerAttributeLabel","style","Style","*Set format:* %0","inline","commandName","afterInit","41028CiFqFm","normalizeConfig","element","forceValue","formatInline","_registerBlockAttribute","GeneralHtmlSupport","FORMAT_STYLE","DataSchema","1048LNaOrG","10962bWerPj","2499525fJXTfj","config","90fsPLCj","locale","commandParams","20pDwzvH","format","_registerLegacyDescription","type","64135sqcmbc","_enableDefaultAttributesIntegration","*Remove format:* %0"];return(Qi=function(){return t})()}const Yi=Zi;function Zi(t,e){const n=Qi();return(Zi=function(t,e){return n[t-=475]})(t,e)}!function(t,e){const n=Zi,r=t();for(;;)try{if(330801===-parseInt(n(481))/1+-parseInt(n(500))/2*(-parseInt(n(526))/3)+parseInt(n(484))/4+parseInt(n(486))/5*(parseInt(n(504))/6)+-parseInt(n(523))/7*(-parseInt(n(522))/8)+parseInt(n(524))/9*(-parseInt(n(477))/10)+parseInt(n(485))/11*(-parseInt(n(513))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Qi);class $i extends t.Plugin{[Yi(512)](){const t=Yi,e=this[t(488)];if(!e[t(498)][t(502)](t(508))||!e[t(498)][t(502)](t(521)))return;const n=e[t(498)][t(495)](t(491)),r=e[t(475)],s=e[t(525)][t(495)](t(507))||{},o=e[t(498)][t(495)](t(519)),i=e[t(498)][t(495)](t(492))[t(514)](e[t(498)][t(495)](t(521)),s[t(501)]);n[t(482)](t(507));const a=new Set;for(const e of i[t(503)]){const n=o[t(494)](e[t(515)]);a[t(489)](n)}const c=new Set;for(const e of i[t(510)]){const n=o[t(494)](e[t(515)]);c[t(489)](n);for(const n of e[t(499)])c[t(489)](n)}for(const e of a)n[t(518)](e),n[t(487)][t(506)](e,zr(r,t(520)));for(const e of c)n[t(496)](e),n[t(487)][t(506)](e,zr(r,t(520)));this[t(479)]()}[Yi(479)](){const t=Yi,e=this[t(488)],n=e[t(475)];e[t(498)][t(495)](t(491))[t(487)][t(493)]((e=>{const r=t;if(r(490)!=e[r(480)]&&r(517)!=e[r(480)])return;const{data:s}=e;return s&&r(507)===s[r(511)]?s[r(476)][0][r(516)]?{type:r(478),content:zr(n,r(509),s[r(476)][0][r(497)][r(505)]())}:{type:r(478),content:zr(n,r(483),s[r(476)][0][r(497)][r(505)]())}:void 0}))}}const ta=ra;!function(t,e){const n=ra,r=t();for(;;)try{if(810777===-parseInt(n(182))/1+-parseInt(n(164))/2+-parseInt(n(166))/3*(parseInt(n(188))/4)+parseInt(n(186))/5+-parseInt(n(190))/6*(-parseInt(n(322))/7)+-parseInt(n(305))/8*(-parseInt(n(169))/9)+parseInt(n(189))/10*(-parseInt(n(229))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(sa);class ea extends t.Plugin{constructor(t){const e=ra;super(t),this[e(277)]=[e(244),e(310)],this[e(278)]=new Set}[ta(199)](){const t=ta,e=this[t(245)],n=e[t(223)][t(298)][t(210)];if(!e[t(214)][t(303)](t(259)))return;const r=e[t(201)],s=e[t(214)][t(256)](t(179)),o=e[t(214)][t(256)](t(319));s[t(318)][t(315)](t(206),(e=>zr(r,t(304),e))),this[t(232)](),s[t(270)](t(271)),s[t(270)](t(243)),s[t(270)](t(250));for(const r of[t(238),t(225)]){const i=e[t(249)][t(256)](r);s[t(270)](r,(r=>{const a=t;e[a(223)][a(273)]((t=>{const e=a;r();const c=e(236)===i[e(261)],u=o[e(173)](n),l=o[e(240)](u),f=c?l[e(174)]-1:l[e(215)]+1,h=u[0][e(178)](e(206)),g=o[e(208)](h,{startRow:f,endRow:f}),d=Array[e(204)](g)[e(290)]((n=>t[e(220)](n[e(247)])));s[e(171)](d,e(244))}))}))}for(const r of[t(266),t(299)]){const i=e[t(249)][t(256)](r);s[t(270)](r,(r=>{const a=t;e[a(223)][a(273)]((t=>{const e=a;r();const c=e(231)===i[e(261)],u=o[e(173)](n),l=o[e(205)](u),f=c?l[e(174)]-1:l[e(215)]+1,h=u[0][e(178)](e(206)),g=o[e(208)](h,{startRow:0,column:f,includeAllSlots:!1}),d=Array[e(204)](g)[e(290)]((n=>t[e(220)](n[e(247)])));s[e(171)](d,e(310))}))}))}for(const r of[t(268),t(306)]){const i=r[t(275)](11),a=i[t(170)](),c=a[t(275)](0,3)+t(317),u=t(206)+i,l=t(180)+i,f=t(196)+i;s[t(270)](r,(()=>{const i=t;e[i(223)][i(273)]((t=>{const e=i,h=o[e(173)](n),g=h[0][e(178)](e(206));let d;if(e(268)==r){const t=o[e(240)](h);d={startRow:t[e(174)],endRow:t[e(215)],includeAllSlots:!0}}else{const t=o[e(205)](h);d={startColumn:t[e(174)],endColumn:t[e(215)],includeAllSlots:!0}}const p=o[e(208)](g,d),m=Array[e(204)](p)[e(290)]((({cell:t})=>t)),I=na(m[e(234)]((t=>t[e(279)](c)))),E=na(m[e(234)]((t=>!t[e(279)](c))))[e(290)]((n=>t[e(220)](n))),b=s[e(257)](E,u);if(b&&(e(244)==b[e(269)]||e(310)==b[e(269)])){const n=this[e(246)](b);for(const r of I){const s=t[e(220)](r),i=o[e(226)](r),u=r[e(194)](c)-1,h=n[l],g=n[f];h<=i[a]&&i[a]+u<=g&&b[e(184)](s)}}}))}))}function c(r){const s=t,o=Array[s(204)](n[s(218)]())[s(290)]((t=>i.LiveRange[s(255)](t)));e[s(223)][s(273)]((t=>{const n=s,i=t[n(267)];r=r[n(234)]((t=>n(172)!=t[n(221)][n(308)])),t[n(197)](r),e[n(249)][n(256)](n(268))[n(239)](),e[n(212)](n(268),{forceDefaultExecution:!0}),e[n(223)][n(168)]((()=>{const t=n;e[t(223)][t(168)](i,(e=>{const n=t,r=o[n(234)]((t=>n(172)!=t[n(221)][n(308)]));r[n(297)]>0&&e[n(197)](r);for(const t of o)t[n(288)]()}))}))}))}function u(r){const s=t;e[s(223)][s(273)]((t=>{const o=s,a=Array[o(204)](n[o(218)]())[o(290)]((t=>i.LiveRange[o(255)](t))),c=[];for(const t of r)for(const e of t[o(227)]({shallow:!0}))c[o(165)](e);for(const n of c)o(172)!=n[o(221)][o(308)]&&(t[o(197)](t[o(323)](n,0)),e[o(249)][o(256)](o(306))[o(239)](),e[o(212)](o(306),{forceDefaultExecution:!0}));const u=a[o(234)]((t=>o(172)!=t[o(221)][o(308)]));u[o(297)]>0&&t[o(197)](u);for(const t of a)t[o(288)]()}))}function l(e,n){const r=t;return n[r(284)]((t=>e[r(181)]((e=>e[r(262)][r(286)](t[r(276)])||t[r(262)][r(286)](e[r(276)])))))}function f(e,n){const r=t;return e[r(181)]((t=>n[r(181)]((e=>t[r(262)][r(195)](e[r(276)])))))}e[t(233)][t(263)].on(t(209),((e,n,r)=>{const s=t;if(!r[s(313)][s(230)])return;const o=n[s(162)];if(!o)return;const i=r[s(202)][s(260)](o);function c(t){return Array[s(207)](t)?t:[t]}i&&s(228)===o[s(294)]&&(0,a.setHighlightHandling)(i,r[s(216)],((t,e,n)=>n[s(265)](c(e[s(283)]),t)),((t,e,n)=>n[s(211)](c(e[s(283)]),t)))}),{priority:t(241)}),s[t(318)][t(272)]((e=>{const n=t;if(n(224)!=e[n(282)]&&n(311)!=e[n(282)])return;const s=e[n(193)]();if(null!=s&&s.is(n(301),n(206))){if(n(224)==e[n(282)]){const t=e[n(227)]()[n(234)]((t=>t.is(n(251))))[n(290)]((t=>t[n(233)]));if(t[n(297)])return{type:n(224),content:zr(r,n(203),zr(r,n(252),'"'+t[n(295)](" ")+'"'))}}if(n(311)==e[n(282)]){const t=e[n(227)]()[n(234)]((t=>t.is(n(251))))[n(290)]((t=>t[n(233)]));if(t[n(297)])return{type:n(311),content:zr(r,n(248),zr(r,n(252),'"'+t[n(295)](" ")+'"'))}}}})),s[t(318)][t(272)]((e=>{const n=t;if(n(244)==e[n(269)]){const t=e[n(227)]()[n(234)]((t=>t.is(n(251))))[n(290)]((t=>t[n(233)])),s=this[n(246)](e),o=s[n(281)]-s[n(296)]+1;if(n(224)==e[n(282)])return t[n(297)]?{type:n(224),content:zr(r,n(203),zr(r,n(321),[o,'"'+t[n(295)](" ")+'"']))}:{type:n(224),content:zr(r,n(203),zr(r,n(312),o))};if(n(311)==e[n(282)])return t[n(297)]?{type:n(311),content:zr(r,n(248),zr(r,n(321),[o,'"'+t[n(295)](" ")+'"']))}:{type:n(311),content:zr(r,n(248),zr(r,n(312),o))}}if(n(310)==e[n(269)]){const t=e[n(227)]()[n(234)]((t=>t.is(n(251))))[n(290)]((t=>t[n(233)])),s=this[n(246)](e),o=s[n(307)]-s[n(324)]+1;if(n(224)==e[n(282)])return t[n(297)]?{type:n(224),content:zr(r,n(203),zr(r,n(222),[o,'"'+t[n(295)](" ")+'"']))}:{type:n(224),content:zr(r,n(203),zr(r,n(183),o))};if(n(311)==e[n(282)])return t[n(297)]?{type:n(311),content:zr(r,n(248),zr(r,n(222),[o,'"'+t[n(295)](" ")+'"']))}:{type:n(311),content:zr(r,n(248),zr(r,n(183),o))}}})),s[t(198)][t(302)](t(224),t(244),t(291),c),s[t(198)][t(302)](t(311),t(244),t(242),c),s[t(198)][t(302)](t(224),t(310),t(291),u),s[t(198)][t(302)](t(311),t(310),t(242),u),s[t(198)][t(302)](t(224),t(310),t(295),l),s[t(198)][t(302)](t(311),t(310),t(295),l),s[t(198)][t(302)](t(224),t(244),t(295),f),s[t(198)][t(302)](t(311),t(244),t(295),f)}[ta(175)](){const t=ta,e=this[t(245)],n=e[t(223)][t(298)][t(210)];return(r,s)=>{const o=t;e[o(223)][o(273)]((t=>{const a=o,{commandName:c,commandParams:u}=s;let l=r[0][a(262)][a(185)];u&&u[0]&&!1===u[0][a(237)]&&(l=r[0][a(276)][a(300)]);const f=t[a(217)](l);if(a(172)==f[a(221)][a(308)])return;const h=Array[a(204)](n[a(218)]())[a(290)]((t=>i.LiveRange[a(255)](t)));t[a(197)](f),e[a(249)][a(256)](c)[a(239)](),u[a(165)]({forceDefaultExecution:!0}),e[a(212)](c,...u);const g=h[a(234)]((t=>a(172)!=t[a(221)][a(308)]));g[a(297)]>0&&t[a(197)](g);for(const t of h)t[a(288)]()}))}}[ta(309)](t){const e=ta,n=this[e(245)][e(214)][e(256)](e(319));let r=Number[e(200)],s=Number[e(192)],o=Number[e(200)],i=Number[e(192)];for(const a of t){if(e(172)==a[e(221)][e(308)])continue;const{row:t,column:c}=n[e(226)](a),u=a[e(279)](e(264))?a[e(194)](e(264))-1:0,l=a[e(279)](e(235))?a[e(194)](e(235))-1:0;r=t<r?t:r,s=t+u>s?t+u:s,o=c<o?c:o,i=c+l>i?c+l:i}return{minRow:r,maxRow:s,minColumn:o,maxColumn:i}}[ta(232)](){const t=ta,e=this[t(245)],n=e[t(214)][t(256)](t(179)),r=e[t(214)][t(256)](t(319));e[t(223)][t(298)].on(t(287),(()=>{const r=t,s=Array[r(204)](e[r(223)][r(298)][r(167)][r(293)]());for(const{name:t,data:e}of s){const{group:s,id:o,subType:i}=n[r(314)](t);if(r(254)!=s)continue;if(null!=e[r(191)])continue;const a=n[r(253)](o);this[r(277)][r(176)](i)&&this[r(278)][r(163)](a)}}),{priority:t(320)});const s=(e,n)=>{const s=t;let o=!1;const i=n[s(220)](e),a=e[s(178)](s(206)),c=r[s(226)](e);for(const t of this[s(278)]){const n=t[s(269)],r=n[s(219)](s(187)),u=n[s(275)](r?10:5),l=u[s(170)](),f=l[s(275)](0,3)+s(317),h=s(180)+u,g=s(196)+u;if(!t[s(289)])continue;if(a!=t[s(292)]()[s(276)][s(178)](s(206)))continue;if(t[s(274)](i))continue;const d=e[s(279)](f)?e[s(194)](f)-1:0,p=this[s(246)](t),m=p[h],I=p[g];m<=c[l]&&c[l]+d<=I&&(t[s(184)](i),o=!0)}return o};e[t(223)][t(298)][t(285)]((n=>{const r=t;let o=!1;for(const t of e[r(223)][r(298)][r(167)][r(258)]())if(r(316)==t[r(282)])if(r(244)==t[r(294)])for(const e of t[r(213)][r(300)][r(280)]())o=o||s(e,n);else r(228)==t[r(294)]&&(o=o||s(t[r(213)][r(300)],n));return o}))}[ta(246)](t){const e=ta;return this[e(309)](t[e(218)]()[e(290)]((t=>t[e(276)][e(300)])))}}function na(t){const e=ta;return Array[e(204)](new Set(t)[e(177)]())}function ra(t,e){const n=sa();return(ra=function(t,e){return n[t-=162]})(t,e)}function sa(){const t=["8frAWXD","removeTableColumn","maxColumn","rootName","_getCoordsForCells","tableColumn","deletion","ELEMENT_TABLE_ROW","options","_splitMarkerName","registerElementLabel","insert","span","_descriptionFactory","TableUtils","low","ELEMENT_TABLE_ROW_WITH_TEXT","63PBPDbR","createPositionAt","minColumn","item","add","1657928ptiztd","push","60JimGVF","differ","enqueueChange","3327237jtXRQy","toLowerCase","markMultiRangeInsertion","$graveyard","getSelectionAffectedTableCells","first","_acceptFormatSuggestionCallbackFactory","includes","values","findAncestor","TrackChangesEditing","min","some","894257NbcfIR","ELEMENT_TABLE_COLUMN","addRange","nodeBefore","3841000QbUwaq","tablePaste","8220EUFTga","530qXtiEt","1064172cCXIdk","oldRange","MIN_SAFE_INTEGER","getContainedElement","getAttribute","isTouching","max","setSelection","_suggestionFactory","afterInit","MAX_SAFE_INTEGER","locale","mapper","*Insert:* %0","from","getColumnIndexes","table","isArray","createTableWalker","addMarker:suggestion","selection","removeClass","execute","position","plugins","last","writer","createRangeIn","getRanges","startsWith","createRangeOn","root","ELEMENT_TABLE_COLUMN_WITH_TEXT","model","insertion","insertTableRowBelow","getCellLocation","getItems","tableCell","33011GCFLEh","showSuggestionHighlights","left","_setupColumnsRowsFixing","data","filter","colspan","above","forceValue","insertTableRowAbove","refresh","getRowIndexes","highest","accept","selectTableRow","tableRow","editor","_getSuggestionCoords","cell","*Remove:* %0","commands","selectTableColumn","$textProxy","ELEMENT_TABLE_WITH_TEXT","getSuggestion","suggestion","fromRange","get","markMultiRangeDeletion","getChanges","TableEditing","toViewElement","order","end","downcastDispatcher","rowspan","addClass","insertTableColumnLeft","batch","removeTableRow","subType","enableCommand","insertTable","registerDescriptionCallback","change","isIntersectingWithRange","substr","start","_tablePostFixingSubtypes","_tableSuggestions","hasAttribute","getChildren","maxRow","type","classes","every","registerPostFixer","isEqual","change:data","detach","isInContent","map","discard","getFirstRange","getChangedMarkers","name","join","minRow","length","document","insertTableColumnRight","nodeAfter","element","registerCustomCallback","has","ELEMENT_TABLE"];return(sa=function(){return t})()}const oa=aa;function ia(){const t=["find","has","mergeTableCellDown","type","containsRange","createTableWalker","element","set:isEnabled","getRanges","4067670DgJTJH","3292915mOqYSe","tableCell","size","_areMergableCells","execute","getSuggestions","commands","requires","formatBlock","map","getCellLocation","8202857TGIVhy","rootName","_suggestionFactory","enableCommand","selection","subType","mergeTableCellUp","trackChanges","markBlockFormat","TableEditing","144ePoWPU","mergeTableCells","from","splitTableCellHorizontally","registerDescriptionCallback","stop","forceDefaultExecution","format","getFirstPosition","35qguHUF","mergeTableCellRight","_descriptionFactory","_acceptFormatSuggestionCallbackFactory","840032YPSpIj","12PJsAxP","84XNLbUs","_areSelectedCellsMergable","length","afterInit","createRangeOn","3594EdeAKl","fromRange","*Split cell:* horizontally","450190qkzKhq","4SszrjP","table","model","commandName","add","detach","isEnabled","deletion","horizontally","2076019wjMmZK","document","*Split cell:* vertically","findAncestor","getAncestors","getSelectionAffectedTableCells","refresh","accept","low","root","return","push","*Merge cells*","97uewkhZ","insertion","value","author","_tablePostFixingSubtypes","plugins","formatInline","mergeTableCellLeft","TableUtils","highest","editor","filter","change","locale","$graveyard","cell","splitTableCellVertically","markMultiRangeBlockFormat","get","direction","registerCustomCallback","TrackChangesEditing","_isForcedDefaultExecutionBlock","setSelection","isInContent"];return(ia=function(){return t})()}function aa(t,e){const n=ia();return(aa=function(t,e){return n[t-=395]})(t,e)}!function(t,e){const n=aa,r=t();for(;;)try{if(707863===-parseInt(n(476))/1*(-parseInt(n(450))/2)+-parseInt(n(408))/3*(-parseInt(n(454))/4)+parseInt(n(409))/5*(-parseInt(n(444))/6)+-parseInt(n(439))/7*(-parseInt(n(443))/8)+parseInt(n(430))/9*(-parseInt(n(453))/10)+-parseInt(n(463))/11*(-parseInt(n(445))/12)+-parseInt(n(420))/13)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(ia);class ca extends t.Plugin{static get[oa(416)](){return[ea]}[oa(448)](){const t=oa,e=this[t(486)],n=e[t(456)][t(464)][t(424)],r=e[t(489)];if(!e[t(481)][t(400)](t(429)))return;const s=e[t(481)][t(494)](t(395)),o=e[t(481)][t(494)](t(484)),a=e[t(481)][t(494)](ea);a[t(480)][t(474)](t(431)),s[t(423)](t(431),(()=>{const n=t,r=o[n(468)](e[n(456)][n(464)][n(424)]);e[n(456)][n(488)]((()=>{const t=n;s[t(493)](r,{commandName:t(431),commandParams:[]},[],t(431))}))})),e[t(415)][t(494)](t(431)).on(t(413),((n,r)=>{const o=t;e[o(415)][o(494)](o(427))[o(478)]&&(r[o(447)]>0&&r[r[o(447)]-1]&&r[r[o(447)]-1][o(436)]||s[o(396)]||this[o(446)]()||n[o(435)]())}),{priority:t(485)});for(const n of[t(426),t(440),t(401),t(483)]){const r=e[t(415)][t(494)](n);s[t(423)](n,(()=>{const n=t,o=e[n(456)][n(464)][n(424)][n(438)]()[n(467)]()[n(399)]((t=>t.is(n(405),n(410)))),i=r[n(478)];e[n(456)][n(488)]((()=>{const t=n;s[t(493)]([o,i],{commandName:t(431),commandParams:[]},[],t(431))}))}))}for(const n of[t(492),t(433)]){const r=e[t(415)][t(494)](n);s[t(423)](n,(()=>{const i=t,a=o[i(468)](e[i(456)][i(464)][i(424)])[0],c=a[i(466)](i(455)),{column:u,row:l}=o[i(419)](a);let f=[];if(i(462)==r[i(495)]){const t=o[i(404)](c,{startRow:l,endRow:l,includeAllSlots:!0});f=Array[i(432)](t)[i(418)]((t=>t[i(491)]))}else{const t=o[i(404)](c,{column:u,includeAllSlots:!0});f=Array[i(432)](t)[i(418)]((t=>t[i(491)]))}e[i(456)][i(488)]((t=>{const e=i;s[e(428)](t[e(449)](a),{commandName:n,commandParams:[]},f,n)}))}))}s[t(441)][t(434)]((e=>{const n=t;if(n(417)!=e[n(402)]&&n(482)!=e[n(402)])return;const{data:s}=e;return s&&n(431)==s[n(457)]?{type:n(437),content:zr(r,n(475))}:void 0})),s[t(441)][t(434)]((e=>{const n=t;if(n(417)!=e[n(402)]&&n(482)!=e[n(402)])return;const{data:s}=e;return s?n(492)==s[n(457)]?{type:n(437),content:zr(r,n(465))}:n(433)==s[n(457)]?{type:n(437),content:zr(r,n(452))}:void 0:void 0}));const c=a[t(442)]();for(const e of[t(426),t(440),t(401),t(483)])s[t(422)][t(496)](t(417),e,t(470),c);for(const e of[t(492),t(433)])s[t(422)][t(496)](t(417),e,t(470),c);s[t(422)][t(496)](t(417),t(431),t(470),(r=>{const s=t;e[s(456)][s(488)]((t=>{const o=s,a=Array[o(432)](n[o(407)]())[o(418)]((t=>i.LiveRange[o(451)](t)));t[o(397)](r),e[o(415)][o(494)](o(431))[o(469)](),e[o(413)](o(431),{forceDefaultExecution:!0});const c=a[o(487)]((t=>o(490)!=t[o(472)][o(421)]));c[o(447)]>0&&t[o(397)](c);for(const t of a)t[o(459)]()}))}));for(const n of[t(426),t(401),t(483),t(440)]){const r=e[t(415)][t(494)](n);r.on(t(406),((n,s,o)=>{const i=t;if(o){const t=e[i(456)][i(464)][i(424)][i(438)]()[i(467)]()[i(399)]((t=>t.is(i(405),i(410))));this[i(412)](r[i(478)],t)||(n[i(473)]=!1,n[i(435)]())}}),{priority:t(471)})}}[oa(446)](){const t=oa,e=this[t(486)][t(415)][t(494)](t(431)),n=this[t(486)][t(481)][t(494)](t(484));if(!e[t(460)])return!1;const r=n[t(468)](this[t(486)][t(456)][t(464)][t(424)]);for(const e of r)for(const n of r)if(e!=n&&!this[t(412)](e,n))return!1;return!0}[oa(412)](t,e){const n=oa,r=this[n(486)][n(481)][n(494)](n(395)),s=this[n(486)][n(456)][n(449)](t),o=this[n(486)][n(456)][n(449)](e),i=new Set,a=new Set;for(const t of r[n(414)]())if((n(477)==t[n(402)]||n(461)==t[n(402)]||n(431)==t[n(425)])&&t[n(398)])for(const e of t[n(407)]())e[n(403)](s,!0)&&i[n(458)](t[n(402)]+":"+t[n(479)].id),e[n(403)](o,!0)&&a[n(458)](t[n(402)]+":"+t[n(479)].id);if(i[n(411)]!=a[n(411)])return!1;for(const t of i)if(!a[n(400)](t))return!1;return!0}}const ua=fa;function la(){const t=["53204mLopdP","nodeAfter","18457527pfWpys","unbindElementFromMarkerName","FORMAT_HEADER_ROW","consume","data","get","consumable","_descriptionFactory","14hcsMAe","markerRange","_splitMarkerName","_enableDefaultAttributesIntegration","formatBlock","_registerLegacyDescription","addMarker:suggestion","highest","showSuggestionHighlights","type","downcastDispatcher","FORMAT_HEADER_COLUMN","includes","53DXqaYy","TableUtils","FORMAT_REGULAR_ROW","removeClass","end","item","getSuggestion","_acceptFormatSuggestionCallbackFactory","commandName","toViewElement","getCellLocation","requires","456LJapvR","removeMarker:suggestion","stop","_handleLegacySuggestions","8292951mDEDUs","*Format:* %0","locale","parent","registerCustomCallback","4220932WCWlEm","editing","headingColumns","7263376MrEyrR","accept","addClass","markerNameToElements","TableEditing","118355gwWKAO","removeAttribute","has","editor","options","createTableWalker","registerDescriptionCallback","mapper","bindElementToMarker","nodeBefore","FORMAT_REGULAR_COLUMN","headingRows","10tAYuMI","cell","TrackChangesEditing","setTableRowHeader","_suggestionFactory","forceValue","2418360uvkmfW","afterInit","writer","data-suggestion","setTableColumnHeader","registerAttributeLabel","commandParams","plugins","activeMarkers","markerName","start","setAttribute","ck-suggestion-marker-","ck-suggestion-marker--active","name","format"];return(la=function(){return t})()}function fa(t,e){const n=la();return(fa=function(t,e){return n[t-=354]})(t,e)}!function(t,e){const n=fa,r=t();for(;;)try{if(919349===-parseInt(n(425))/1*(-parseInt(n(402))/2)+-parseInt(n(386))/3+parseInt(n(360))/4+parseInt(n(368))/5*(-parseInt(n(437))/6)+parseInt(n(412))/7*(parseInt(n(363))/8)+parseInt(n(355))/9*(parseInt(n(380))/10)+-parseInt(n(404))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(la);class ha extends t.Plugin{static get[ua(436)](){return[ea]}[ua(387)](){const t=ua,e=this[t(371)];if(!e[t(393)][t(370)](t(367)))return;const n=e[t(357)],r=e[t(393)][t(409)](t(382));r[t(415)](t(383),[],[t(379)]),r[t(415)](t(390),[],[t(362)]),r[t(411)][t(391)](t(379),zr(n,t(406))),r[t(411)][t(391)](t(362),zr(n,t(423))),this[t(354)]()}[ua(354)](){const t=ua,e=this[t(371)][t(393)][t(409)](t(382)),n=this[t(371)][t(393)][t(409)](t(426)),r=this[t(371)][t(393)][t(409)](ea)[t(432)]();function s({showActiveMarker:t=!0,setDataAttribute:r=!0}={}){return(s,o,i)=>{const a=fa,{type:c,id:u}=e[a(414)](o[a(395)]),l=e[a(431)](u),f=l[a(408)];if(a(416)!=l[a(421)]||!f||a(390)!=f[a(433)])return;if(o[a(430)])return void s[a(439)]();if(!i[a(410)][a(407)](o[a(413)],s[a(400)]))return;const h=o[a(413)][a(396)][a(403)],g=o[a(413)][a(429)][a(377)],d=h[a(358)][a(358)],{column:p}=n[a(435)](h),{column:m}=n[a(435)](g);for(let s=p;s<=m;s++){const l=n[a(373)](d,{column:s,includeAllSlots:!1});for(const n of l){const s=n[a(381)],l=i[a(375)][a(434)](s);i[a(388)][a(365)](a(398)+c,l),r&&i[a(388)][a(397)](a(389),u,l),i[a(375)][a(376)](l,o[a(395)]),t&&(e[a(394)][a(424)](o[a(395)])?i[a(388)][a(365)](a(399),l):i[a(388)][a(428)](a(399),l))}}}}e[t(384)][t(359)](t(416),t(383),t(364),r),e[t(384)][t(359)](t(416),t(390),t(364),r),this[t(371)][t(361)][t(422)].on(t(418),s(),{priority:t(419)}),this[t(371)][t(408)][t(422)].on(t(418),((e,n,r)=>{const o=t;r[o(372)][o(420)]&&s({showActiveMarker:!1,setDataAttribute:!1})(e,n,r)}),{priority:t(419)}),this[t(371)][t(361)][t(422)].on(t(438),((n,r,s)=>{const o=t,{type:i,id:a}=e[o(414)](r[o(395)]),c=e[o(431)](a),u=c[o(408)];if(o(416)!=c[o(421)]||!u||o(390)!=u[o(433)])return;const l=s[o(375)][o(366)](r[o(395)]);if(l)for(const t of l)s[o(388)][o(428)](o(398)+i,t),s[o(388)][o(428)](o(399),t),s[o(388)][o(369)](o(389),t),s[o(375)][o(405)](t,r[o(395)])}),{priority:t(419)}),this[t(417)]()}[ua(417)](){const t=ua,e=this[t(371)],n=e[t(357)];function r(e){const r=t;return{type:r(401),content:zr(n,r(356),e)}}e[t(393)][t(409)](t(382))[t(411)][t(374)]((e=>{const s=t;if(s(416)!=e[s(421)])return;const{data:o}=e;if(o){if(s(383)==o[s(433)]){const t=o[s(392)][0][s(385)];return r(zr(n,s(t?406:427)))}if(s(390)==o[s(433)]){const t=o[s(392)][0][s(385)];return r(zr(n,s(t?423:378)))}}}))}}const ga=pa;function da(){const t=["getChangedMarkers","tablePasteCell","editingDowncast","entries","endColumn","ck-suggestion-marker--active","startsWith","ck-suggestion-marker-insertion","get","discard","createRangeOn","batch","fill","hasSuggestion","markerName","move","containsRange","element","cell","_splitMarkerName","from","last","options","formatBlock","call","insertRows","cells","suggestion:formatBlock:tablePasteCell","high","407788oTrLUN","removeRows","tableCellVerticalAlignment","trackChanges","TableUtils","getRows","getAttributes","author","commands","insertionRanges","length","setAttribute","remove","_descriptionFactory","416927cOaPKy","createElement","getSelectionAffectedTableCells","getTableIfOnlyTableInContent","getChild","getColumns","map","nodeAfter","previousSibling","213340XoawSO","push","columns","selection","tableCellBackgroundColor","suggestion-td","getRange","4BBhxvX","16AJWeMt","updateMarker","redo","activeMarkers","createTableWalker","insert","dataDowncast","insertColumns","findAncestor","deletion","schema","getSuggestions","position","createRangeIn","3414906rEPDGs","includes","model","listenTo","documentSelection","locale","add","columnInsertionIndexes","_createdBatches","setAttributes","15882kLLTOq","getChildren","tableCellBorderColor","markMultiRangeInsertion","find","suggestionLoaded","createPositionBefore","oldRange","markers","insertContent","accept","next","start","getChanges","editing","isInContent","editor","unwrap","suggestionUnloaded","getRanges","markMultiRangeBlockFormat","suggestion","tablePasteRow","has","registerCustomCallback","register","*Replace table cells*","differ","plugins","getSuggestion","return","clipboardOutput","Users","tablePasteChainId","fromRange","document","391518EFJMPJ","forceDefaultExecution","tablePasteColumn","newRange","tableCellSuggestion","getColumnIndexes","type","stop","fromEntries","view","rowInsertionIndexes","tableCellPadding","conversion","first","11zRIObu","rootName","markerToHighlight","createRange","for","afterInit","TrackChangesEditing","isEqual","column","wrap","filter","_suggestionFactory","removeColumns","set","change","getAllAdjacentSuggestions","_getCoordsForCells","low","registerDescriptionCallback","table","markerAttributes","getContainedElement","removeMarkers","215SbBaYL","_tablePostFixingSubtypes","previous","ck-suggestion-marker","value","showSuggestionHighlights","tableCellHorizontalAlignment","removeMarker","elementToElement","markMultiRangeDeletion","rows","join","tableCellBorderStyle","167879gtuncD","tablePaste","getItems","paragraph","keys","insertion","requires","attributes","deletionRanges","end","getRowIndexes","row","reduce","every","rowInsertionRanges","endRow","tableCellBorderWidth","tableCell","isEmpty","root","name","registerPostFixer","TableClipboard","_replaceTableSlotCell","columnInsertionRanges","forEach","nextSibling","_isForcedDefaultExecutionBlock","getSuggestionCallback","some","$graveyard","getMarkers","detach","getShiftedBy","content","subType"];return(da=function(){return t})()}function pa(t,e){const n=da();return(pa=function(t,e){return n[t-=196]})(t,e)}!function(t,e){const n=pa,r=t();for(;;)try{if(196492===parseInt(n(262))/1*(parseInt(n(357))/2)+parseInt(n(212))/3+-parseInt(n(327))/4+-parseInt(n(249))/5*(-parseInt(n(382))/6)+-parseInt(n(341))/7*(-parseInt(n(358))/8)+-parseInt(n(372))/9+parseInt(n(350))/10*(-parseInt(n(226))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(da);const ma=[ga(278),ga(384),ga(261),ga(255),ga(329),ga(354),ga(223)],Ia=Object[ga(220)](ma[ga(347)]((t=>[t,null])));class Ea extends t.Plugin{static get[ga(268)](){return[ea]}[ga(231)](){const t=ga,n=this[t(398)];if(!n[t(204)][t(199)](t(284)))return;const r=n[t(204)][t(306)](t(232)),s=n[t(204)][t(306)](t(331)),o=n[t(204)][t(306)](ea),a=n[t(204)][t(306)](t(284));o[t(250)][t(351)](t(198),t(214)),n[t(374)][t(368)][t(201)](t(216),{allowIn:t(279),allowContentOf:t(279),isLimit:!0}),n[t(224)][t(257)]({model:t(216),view:t(355)});let c=null;n[t(374)].on(t(391),((o,i)=>{const u=t,[l,f]=i,h=i[i[u(337)]-1];h&&h[u(213)]||r[u(289)]||this[u(398)][u(335)][u(306)](u(330))[u(253)]&&function(t,e,n,r,s){const o=u;if(e&&!e.is(o(376)))return!1;const i=s[o(344)](t,n);if(!i||!Ta(i,void 0,r))return!1;const a=r[o(343)](n[o(211)][o(353)]);if(!a[o(337)])return!1;const c=a[0][o(366)](o(245)),l=r[o(272)](a),f=r[o(217)](a),h={startRow:l[o(225)],endRow:l[o(319)],startColumn:f[o(225)],endColumn:f[o(319)]};return 1==a[o(337)]&&(h[o(277)]+=r[o(332)](i)-1,h[o(302)]+=r[o(346)](i)-1),Ta(c,h,r)}(l,f,n[u(374)],s,a)&&(o[u(219)](),c={cells:[],insertionRanges:[],deletionRanges:[],rowInsertionRanges:[],rowInsertionIndexes:[],columnInsertionRanges:[],columnInsertionIndexes:[]},n[u(374)][u(240)]((()=>{const t=u;n[t(374)][t(391)](i[0],i[1],i[2],{forceDefaultExecution:!0});const s=(0,e.uid)(),{rowInsertionRanges:o,columnInsertionRanges:a,insertionRanges:l,deletionRanges:f,cells:h}=c;o[t(337)]&&r[t(385)](o,t(198),{tablePasteChainId:s}),a[t(337)]&&r[t(385)](a,t(214),{tablePasteChainId:s}),l[t(337)]&&(r[t(385)](l,t(263),{tablePasteChainId:s,skipNestingCheck:!0}),l[t(287)]((e=>{const n=t;var r;return null===(r=e[n(294)])||void 0===r?void 0:r[n(322)](e)}))),f[t(337)]&&(r[t(258)](f,t(263),{tablePasteChainId:s,skipNestingCheck:!0}),f[t(287)]((e=>{const n=t;var r;return null===(r=e[n(294)])||void 0===r?void 0:r[n(322)](e)})));const g=r[t(196)](h[t(347)]((({element:t})=>t)),{formatGroupId:(0,e.uid)()},[],t(299),{tablePasteChainId:s});if(g){const e=g[t(293)](),r=[];for(const{element:s,attributes:o}of h){if(!o)continue;const i=n[t(374)][t(308)](s),a=e[t(386)]((e=>e[t(356)]()[t(233)](i)));a&&r[t(351)]([a[t(282)],o])}r[t(337)]&&g[t(338)](t(246),Object[t(220)](r))}c=null})))}),{priority:e.priorities[t(326)]+10}),n[t(204)][t(306)](t(284)).on(t(285),((e,n)=>{const r=t,[s,o,,a]=n;if(!c)return;e[r(219)]();const u=s[r(316)],l=o,f=ba(u),h=ba(l);e[r(206)]=u;let g=null,d=null;if(h||f)if(f&&!h){a[r(339)](u[r(345)](0));for(const t of Array[r(318)](l[r(383)]()))a[r(363)](t,u,r(271));const t=c[r(222)][r(373)](s[r(273)]),e=c[r(379)][r(373)](s[r(234)]);t||e||(g=i.LiveRange[r(210)](a[r(371)](u)))}else h&&!f&&(d=a[r(371)](u));else{const t=a[r(342)](r(216)),e=a[r(342)](r(216));a[r(235)](a[r(371)](u),e),a[r(363)](t,u,0);for(const e of Array[r(318)](l[r(383)]()))a[r(363)](e,t,r(271));g=i.LiveRange[r(210)](a[r(308)](t)),d=i.LiveRange[r(210)](a[r(308)](e))}const p=Array[r(318)](l[r(333)]())[r(236)]((([t])=>ma[r(373)](t)));c[r(324)][r(351)]({element:u,attributes:p[r(337)]?Object[r(220)](p):null}),g&&c[r(336)][r(351)](g),d&&c[r(270)][r(351)](d)}),{priority:t(326)}),s.on(t(365),((e,r)=>{const o=t,[i,a={}]=r;if(!c)return;const u=a.at||0,l=a[o(352)]||1;c[o(379)]=new Array(l)[o(310)](u)[o(347)](((t,e)=>t+e));for(const{cell:t}of s[o(362)](i,{startColumn:u,endColumn:u+l-1}))c[o(286)][o(351)](n[o(374)][o(308)](t))}),{priority:t(243)}),s.on(t(323),((e,r)=>{const o=t,[i,a={}]=r;if(!c)return;const u=a.at||0,l=a[o(259)]||1;c[o(222)]=new Array(l)[o(310)](u)[o(347)](((t,e)=>t+e));for(const{cell:t}of s[o(362)](i,{startRow:u,endRow:u+l-1}))c[o(276)][o(351)](n[o(374)][o(308)](t))}),{priority:t(243)}),r[t(340)][t(244)]((e=>{const r=t;if(e[r(297)]&&e[r(297)][r(304)](r(263)))return e[r(251)]?{}:{type:r(267),content:zr(n[r(377)],r(202))}}));const u=()=>!1;for(const e of[t(263),t(214),t(198),t(299)])r[t(237)][t(200)](t(267),e,t(260),u),r[t(237)][t(200)](t(367),e,t(260),u),r[t(237)][t(200)](t(321),e,t(260),u);r[t(237)][t(200)](t(321),t(299),t(307),u),r[t(237)][t(200)](t(321),t(299),t(392),((e,r,s)=>{const o=t,i=e[o(347)]((t=>t[o(247)]()))[o(236)]((t=>t)),a=new Map(i[o(347)]((t=>[t,null])));if(c)for(const{element:t,attributes:e}of c[o(324)])e&&a[o(239)](t,e);else if(s&&s[o(246)])for(const[t,e]of Object[o(301)](s[o(246)])){const r=n[o(374)][o(390)][o(306)](t),s=r?r[o(356)]()[o(247)]():null;s&&a[o(239)](s,e)}n[o(374)][o(240)]((t=>{const e=o;for(const[n,r]of a)t[e(381)]({...Ia,...r},n)}))}));const l=(e,s)=>{const o=t;r[o(237)][o(200)](e,o(263),s,((t,i,a)=>{const c=o;n[c(374)][c(240)]((n=>{const o=c,u=[];for(const e of t){const t=e[o(394)][o(348)];t.is(o(315),o(216))&&u[o(351)](t)}r[o(237)][o(290)](e,null,s)(t,i,a);for(const t of u)o(292)!=t[o(281)][o(227)]&&n[o(399)](t)}))}))};l(t(267),t(392)),l(t(267),t(307)),l(t(367),t(392)),l(t(367),t(307)),r[t(237)][t(200)](t(267),t(198),t(307),(e=>{const n=t,r=e[n(347)]((t=>t[n(247)]())),i=r[0][n(366)](n(245)),{minRow:a,maxRow:c}=o[n(242)](r);s[n(328)](i,{at:a,rows:c-a+1})})),r[t(237)][t(200)](t(267),t(214),t(307),(e=>{const n=t,r=e[n(347)]((t=>t[n(247)]())),i=r[0][n(366)](n(245)),{minColumn:a,maxColumn:c}=o[n(242)](r);s[n(238)](i,{at:a,columns:c-a+1})}));const f=(e,n)=>{const s=t;if(!n[s(297)]||!n[s(297)][s(304)](s(263)))return;const o=n[s(269)][s(209)],i=r[s(369)]()[s(236)]((t=>t[s(397)]&&t[s(269)]&&t[s(269)][s(209)]==o));i[s(337)]&&n[s(241)]()[s(337)]!=i[s(337)]&&i[s(274)](((t,e)=>(t[s(393)]=e,e[s(251)]=t,e)))};function h(e,n=!0){const s=t,{id:o}=r[s(317)](e[s(312)]),i=[s(252),s(305)],a=r[s(361)][s(373)](e[s(312)]);return a&&i[s(351)](s(303)),{classes:i,attributes:{"data-suggestion":o},priority:a&&n?3010:3e3}}r.on(t(387),f,{priority:t(326)}),r.on(t(400),f,{priority:t(326)}),n[t(374)][t(211)][t(283)]((()=>{const e=t;let s=!1;const o=Array[e(318)](n[e(374)][e(211)][e(203)][e(298)]());for(const{name:t,data:i}of o){const{group:o,type:a,id:c}=r[e(317)](t);if(e(197)!=o||e(367)!=a||i[e(389)])continue;if(!r[e(311)](c))continue;const u=r[e(205)](c)[e(401)](),l=n[e(204)][e(306)](e(208)).me;for(const t of r[e(369)]())if(t[e(397)]&&t[e(334)]==l&&e(321)==t[e(218)]&&e(299)==t[e(297)]&&t[e(401)]()[e(275)]((t=>u[e(291)]((n=>n[e(314)](t,!0))))))for(const n of t[e(241)]())n[e(397)]&&(n[e(307)](),s=!0)}return s})),n[t(374)][t(211)][t(283)]((e=>{const s=t,o=n[s(335)][s(306)](s(360));if(!o||!o[s(380)][s(199)](e[s(309)]))return!1;let i=!1;const a=n[s(204)][s(306)](s(208)).me,c=n[s(374)][s(211)][s(203)][s(395)](),u=Array[s(318)](n[s(374)][s(211)][s(203)][s(298)]())[s(236)]((({name:t,data:e})=>{const n=s,{group:o,subType:i,authorId:c}=r[n(317)](t);return n(197)==o&&n(263)==i&&c==a.id&&!e[n(389)]}));for(const t of c){if(s(363)!=t[s(218)]||s(216)!=t[s(282)]||1!=t[s(337)])continue;const n=e[s(229)](t[s(370)],t[s(370)][s(295)](1));if(!u[s(386)]((({data:t})=>t[s(215)][s(233)](n))))for(const{name:t,data:r}of u)if(n[s(314)](r[s(215)])){e[s(359)](t,{range:n}),i=!0;break}}return i})),n[t(374)][t(211)][t(283)]((e=>{const s=t;let o=!1;const i=n[s(204)][s(306)](s(208)).me,a=r[s(369)]()[s(236)]((t=>t[s(397)]&&t[s(334)]==i)),c=new Set,u=new Set;for(const t of a)if(s(263)==t[s(297)])for(const e of t[s(293)]()){const n=e[s(356)]()[s(247)]();if(n)if(n.is(s(315),s(216))&&ba(n)){t[s(256)](e[s(282)]),c[s(378)](n),o=!0;const r=n[s(288)],i=n[s(349)],a=r&&r.is(s(315),s(216)),l=i&&i.is(s(315),s(216));a&&!c[s(199)](r)&&u[s(378)](r),l&&!c[s(199)](i)&&u[s(378)](i)}else n.is(s(315),s(265))&&n[s(280)]&&(t[s(256)](e[s(282)]),o=!0)}else if(s(299)==t[s(297)]){if(!t[s(269)]||!t[s(269)][s(209)])continue;const e=t[s(269)][s(246)];if(e&&Object[s(266)](e)[s(337)])continue;const n=t[s(269)][s(209)];let r=!0,i=!0;for(const e of a)if(e[s(297)]&&e[s(297)][s(304)](s(263))){if(!e[s(269)][s(209)]){i=!1;break}if(e.id!=t.id&&e[s(269)][s(209)]==n){r=!1;break}}i&&r&&(t[s(248)](),o=!0)}for(const t of c)e[s(339)](t);for(const t of u)e[s(399)](t);return o})),n[t(224)][t(230)](t(300))[t(228)]({model:t(325),view:(t,e)=>h(t),converterPriority:t(326)}),n[t(224)][t(230)](t(364))[t(228)]({model:t(325),view:(e,n)=>n[t(320)][t(254)]?h(e,!1):null,converterPriority:t(326)});const g=n[t(396)][t(221)];this[t(375)](g[t(211)],t(207),((e,n)=>{const r=t,s=[];for(const t of g[r(371)](n[r(296)])[r(264)]())t.is(r(315),r(355))&&s[r(351)](t);g[r(240)]((t=>{const e=r;for(const n of s)t[e(313)](t[e(371)](n),t[e(388)](n)),t[e(339)](n)}))}))}}function ba(t){const e=ga;if(t[e(280)])return!0;const n=t[e(345)](0);return n.is(e(315),e(265))&&n[e(280)]}function Ta(t,e={},n){const r=ga;for(const{isAnchor:s,cellHeight:o,cellWidth:i}of n[r(362)](t,{includeAllSlots:!0,...e}))if(!s||1!=o||1!=i)return!1;return!0}const _a=ya;function ya(t,e){const n=Aa();return(ya=function(t,e){return n[t-=272]})(t,e)}function Aa(){const t=["commandParams","693TZKkXY","getContainedElement","10LGJPpr","type","_descriptionFactory","discard","has","getSelectedElement","plugins","64258AUweAl","5vLjUSa","3070827WcTOak","TableColumnResizeEditing","author","locale","bind","Users","change","29384wzzDBo","handleResizeTableWidthCommand","resizeTableWidth","accept","document","model","enableCommand","format","selection","get","4463358StLPSS","subType","columnWidths","TrackChangesEditing","formatBlock","resizeTable","afterInit","getSuggestions","3659712ycluXN","2808639kihbPY","registerCustomCallback","getColumnGroupElement","editor","markBlockFormat","formatInline","registerDescriptionCallback","table","4169pKQBeP","tableWidth","90660fdNsWS","data","getSuggestionCallback","_suggestionFactory","getTableColumnsWidths","formatGroupId","*Format:* resize table","handleSuggestionDescription","10XLNrDs","getAttribute"];return(Aa=function(){return t})()}!function(t,e){const n=ya,r=t();for(;;)try{if(757809===-parseInt(n(277))/1*(-parseInt(n(284))/2)+parseInt(n(312))/3+parseInt(n(311))/4+parseInt(n(285))/5*(parseInt(n(303))/6)+-parseInt(n(275))/7*(-parseInt(n(293))/8)+-parseInt(n(286))/9*(-parseInt(n(272))/10)+-parseInt(n(320))/11*(parseInt(n(322))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Aa);class ka extends t.Plugin{[_a(309)](){const t=_a;if(!this[t(315)][t(283)][t(281)](t(287)))return;const e=this[t(315)][t(283)][t(302)](t(306));e[t(299)](t(295),this[t(294)][t(290)](this)),e[t(325)][t(313)](t(307),t(308),t(296),e[t(325)][t(324)](t(307),null,t(280))),e[t(325)][t(313)](t(307),t(308),t(280),e[t(325)][t(324)](t(307),null,t(296))),e[t(279)][t(318)](this[t(329)][t(290)](this))}[_a(294)](t,e){const n=_a,r=this[n(315)][n(283)][n(302)](n(306)),s=this[n(315)][n(283)][n(302)](n(287)),o=e[n(319)]||this[n(315)][n(298)][n(297)][n(301)][n(282)]();this[n(315)][n(298)][n(292)]((()=>{const i=n,a=s[i(314)](o);let c=a?s[i(326)](a):null,u=o[i(273)](i(321))||null;const l=e[i(321)]||u,f=e[i(305)]||c,h=this[i(315)][i(283)][i(302)](i(291)).me;for(const t of r[i(310)]()){const e=t[i(276)]();if(i(308)===t[i(304)]&&e===o){t[i(288)]!==h&&t[i(280)]();const e=t[i(323)][i(274)];u=e[0][i(321)],c=e[0][i(305)];break}}t({table:o,tableWidth:l,columnWidths:f}),r[i(316)](o,{commandName:i(295),commandParams:[{tableWidth:u,columnWidths:c}],formatGroupId:i(308)},[],i(308))}))}[_a(329)](t){const e=_a;if(e(307)!=t[e(278)]&&e(317)!=t[e(278)])return;const{data:n}=t;if(n&&e(308)===n[e(327)]){const t=e(328);return{type:e(300),content:zr(this[e(315)][e(289)],t)}}}}function Ca(){const t=["TrackChangesEditing","get","32ycKqXo","153ksMEic","1335755dqwDIt","4552876tcUZfG","1217209WquUXi","Template","editor","2060304jGHJPH","afterInit","1511890wZdXaB","enableCommand","has","plugins","174vlHvLX","insertTemplate","13933iEWUUc","2311197XhWNgc"];return(Ca=function(){return t})()}const Na=Ra;function Ra(t,e){const n=Ca();return(Ra=function(t,e){return n[t-=351]})(t,e)}!function(t,e){const n=Ra,r=t();for(;;)try{if(635589===parseInt(n(351))/1*(parseInt(n(368))/2)+parseInt(n(352))/3+parseInt(n(358))/4+-parseInt(n(357))/5+-parseInt(n(362))/6+parseInt(n(359))/7*(parseInt(n(355))/8)+parseInt(n(356))/9*(-parseInt(n(364))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Ca);class Sa extends t.Plugin{[Na(363)](){const t=Na,e=this[t(361)];e[t(367)][t(366)](t(360))&&e[t(367)][t(354)](t(353))[t(365)](t(369))}}function La(t,e){const n=Ma();return(La=function(t,e){return n[t-=122]})(t,e)}const va=La;function Ma(){const t=["13252414rLfUfJ","78648IBIimV","5278610uvxHLY","enableCommand","locale","commands","40372572UeRHag","375iUdogw","get","11wWxsTT","12605ZmiYgl","414qEGtKV","_descriptionFactory","TrackChangesEditing","3257GKrDsF","ELEMENT_TABLE_OF_CONTENTS","insertTableOfContents","afterInit","plugins","editor","registerElementLabel","622sqbidH","tableOfContents","9448OKWmtP","4074ybsncN"];return(Ma=function(){return t})()}!function(t,e){const n=La,r=t();for(;;)try{if(991962===parseInt(n(140))/1*(parseInt(n(122))/2)+parseInt(n(133))/3*(parseInt(n(124))/4)+parseInt(n(136))/5*(-parseInt(n(125))/6)+-parseInt(n(126))/7+parseInt(n(127))/8*(parseInt(n(137))/9)+-parseInt(n(128))/10*(parseInt(n(135))/11)+parseInt(n(132))/12)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Ma);class wa extends t.Plugin{[va(143)](){const t=va,e=this[t(145)];if(!e[t(131)][t(134)](t(142)))return;e[t(144)][t(134)](t(139))[t(129)](t(142));const n=e[t(144)][t(134)](t(139)),r=e[t(130)];n[t(138)][t(146)](t(123),(e=>zr(r,t(141),e)))}}const Oa=Da;function Da(t,e){const n=Pa();return(Da=function(t,e){return n[t-=226]})(t,e)}!function(t,e){const n=Da,r=t();for(;;)try{if(197415===parseInt(n(261))/1+-parseInt(n(257))/2*(-parseInt(n(254))/3)+parseInt(n(260))/4*(parseInt(n(247))/5)+parseInt(n(251))/6+-parseInt(n(269))/7*(parseInt(n(270))/8)+parseInt(n(265))/9*(-parseInt(n(230))/10)+parseInt(n(259))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Pa);class Fa extends t.Plugin{[Oa(233)](){const t=Oa,e=this[t(246)];if(!e[t(268)][t(241)](t(243)))return;const n=e[t(268)][t(238)](t(236));n[t(239)][t(244)](t(267),(()=>zr(e[t(240)],t(253)))),e[t(258)][t(255)][t(226)]((r=>{const s=t;let o=!1;const i=Array[s(227)](e[s(258)][s(255)][s(229)][s(262)]());for(const{name:t,data:a}of i){const{group:i}=n[s(242)](t);if(s(256)!==i||!a[s(250)])continue;const c=a[s(250)],u=c[s(237)][s(245)];if(!u||!u.is(s(248),s(267)))continue;if(!c[s(228)][s(234)](c[s(237)]))continue;const l=e[s(258)][s(231)][s(263)](c[s(237)],s(232));if(l&&l[s(235)]){const e=r[s(266)](c[s(228)],l[s(228)]);e[s(264)](c)||(r[s(249)](t,{range:e}),o=!0)}o||(r[s(252)](t),o=!0)}return o}))}}function Pa(){const t=["TrackChangesEditing","end","get","_descriptionFactory","locale","has","_splitMarkerName","Title","registerElementLabel","nodeBefore","editor","92365MiWAKF","element","updateMarker","newRange","470166wevrhd","removeMarker","ELEMENT_TITLE","80538PWCqGD","document","suggestion","4ZPMhcj","model","844833IwJYsn","68XspvFA","121138rWMuqJ","getChangedMarkers","getNearestSelectionRange","isEqual","1213659TVfFJf","createRange","title-content","plugins","727461ZcOzOO","24uzNDLh","registerPostFixer","from","start","differ","10gKvLQs","schema","forward","afterInit","isTouching","isCollapsed"];return(Pa=function(){return t})()}function xa(){const t=["editor","redo","10bVVFGN","TrackChangesEditing","18168jEobwK","827764PHcYdd","84VbQjGA","666855pvVzaU","enableCommand","get","22680xviijB","3517263yuEzrh","891816iLMGnm","plugins","afterInit","has","111253ApJqjD","UndoEditing","undo"];return(xa=function(){return t})()}const Ba=Ua;function Ua(t,e){const n=xa();return(Ua=function(t,e){return n[t-=280]})(t,e)}!function(t,e){const n=Ua,r=t();for(;;)try{if(124855===-parseInt(n(286))/1+parseInt(n(291))/2*(parseInt(n(280))/3)+-parseInt(n(294))/4+-parseInt(n(296))/5+parseInt(n(293))/6*(parseInt(n(295))/7)+parseInt(n(282))/8+parseInt(n(281))/9)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(xa);class ja extends t.Plugin{[Ba(284)](){const t=Ba,e=this[t(289)],n=e[t(283)][t(298)](t(292));e[t(283)][t(285)](t(287))&&(n[t(297)](t(288)),n[t(297)](t(290)))}}const Ga=Va;function Va(t,e){const n=Ha();return(Va=function(t,e){return n[t-=402]})(t,e)}function Ha(){const t=["4rRyZYY","12616512KtYUnR","131117WnLfBi","779471bDxknZ","20pgBpCe","55wyIHCE","TrackChangesEditing","has","plugins","enableCommand","toggleTableCaption","87560PFmIvx","editor","requires","207wKieuh","12WdkXaC","91203kwwFJi","78160MQSKnp","TableCaptionEditing","get","afterInit","197832RnFinZ"];return(Ha=function(){return t})()}!function(t,e){const n=Va,r=t();for(;;)try{if(157167===parseInt(n(419))/1*(-parseInt(n(403))/2)+-parseInt(n(402))/3+-parseInt(n(420))/4*(parseInt(n(408))/5)+parseInt(n(418))/6*(-parseInt(n(405))/7)+-parseInt(n(414))/8*(parseInt(n(417))/9)+parseInt(n(407))/10*(-parseInt(n(406))/11)+parseInt(n(404))/12)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Ha);class za extends t.Plugin{static get[Ga(416)](){return[ea]}[Ga(423)](){const t=Ga,e=this[t(415)];e[t(411)][t(410)](t(421))&&e[t(411)][t(422)](t(409))[t(412)](t(413))}}const Wa=Ka;function Xa(){const t=["registerDescriptionCallback","27ICOIGI","tableCellWidth","TrackChangesEditing","8826ixlvSR","format","TableCellPropertiesEditing","data","handleSuggestionDescription","registerCustomCallback","enqueueChange","tableWidth","has","8913pNnpOy","900430KzVvnc","74208PYNUck","455TJGXXs","getFirstPosition","2959LeEcjy","TrackChangesTableProperties","tableCellVerticalAlignment","batch","change","model","removeAttribute","tableBackgroundColor","tableBorderColor","commandParams","TablePropertiesEditing","afterInit","1855azSnkP","tableCellBorderStyle","markBlockFormat","table","setAttribute","*Format:* change table properties","get","discard","findAncestor","pluginName","subType","_getSuggestion","356011SgQJZe","44KcDnLm","tableCellHeight","editor","tableCellPadding","tableAlignment","nodeAfter","TableUtils","plugins","tableCellHorizontalAlignment","getSuggestions","selection","tableBorderStyle","getAttribute","636804KOnakR","handleDiscardAction","getSelectionAffectedTableCells","tableProperties","tableBorderWidth","_handlePropertyChange","tableCellBorderColor","tableCellBackgroundColor","start","tableCellProperties","locale","getSuggestionCallback","getContainedElement","enableCommand","*Format:* change table cell properties","_descriptionFactory","39736cUMdAH","accept","join","tableCellBorderWidth","document","formatBlock","tableHeight","_suggestionFactory"];return(Xa=function(){return t})()}function Ka(t,e){const n=Xa();return(Ka=function(t,e){return n[t-=486]})(t,e)}!function(t,e){const n=Ka,r=t();for(;;)try{if(463387===-parseInt(n(532))/1+-parseInt(n(546))/2+parseInt(n(503))/3*(-parseInt(n(533))/4)+parseInt(n(520))/5*(-parseInt(n(494))/6)+parseInt(n(506))/7*(parseInt(n(562))/8)+parseInt(n(491))/9*(-parseInt(n(504))/10)+parseInt(n(508))/11*(parseInt(n(505))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Xa);class qa extends t.Plugin{constructor(t){const e=Ka;super(t),this[e(549)]=[e(516),e(544),e(550),e(537),e(501),e(488),e(515)],this[e(555)]=[e(552),e(521),e(565),e(536),e(492),e(534),e(553),e(541),e(510)]}static get[Wa(529)](){return Wa(509)}[Wa(519)](){const t=Wa,e=this[t(535)][t(540)][t(526)](t(493));if(this[t(535)][t(540)][t(502)](t(518))){for(const n of this[t(549)])e[t(559)](n,((e,r)=>{const s=t,o=this[s(535)][s(513)][s(486)][s(543)][s(507)]()[s(528)](s(523));this[s(551)](n,[o],this[s(549)],s(549),e,r)}));e[t(489)][t(499)](t(487),t(549),t(563),e[t(489)][t(557)](t(487),null,t(527))),e[t(489)][t(499)](t(487),t(549),t(527),((e,n)=>this[t(547)](this[t(549)],e,n))),e[t(489)][t(499)](t(487),t(549),t(564),(()=>!1))}if(this[t(535)][t(540)][t(502)](t(496))){for(const n of this[t(555)])e[t(559)](n,((e,r)=>{const s=t,o=this[s(535)][s(540)][s(526)](s(539))[s(548)](this[s(535)][s(513)][s(486)][s(543)]);this[s(551)](n,o,this[s(555)],s(555),e,r)}));e[t(489)][t(499)](t(487),t(555),t(563),e[t(489)][t(557)](t(487),null,t(527))),e[t(489)][t(499)](t(487),t(555),t(527),((e,n)=>this[t(547)](this[t(555)],e,n))),e[t(489)][t(499)](t(487),t(555),t(564),(()=>!1))}e[t(561)][t(490)]((e=>this[t(498)](e)))}[Wa(551)](t,e,n,r,s,o){const i=Wa,a=this[i(535)][i(540)][i(526)](i(493));this[i(535)][i(513)][i(500)](o[i(511)],(()=>{const t=i;for(const i of e)if(this[t(531)](i,r))s(o);else{const e={};for(const r of n){const n=i[t(545)](r);void 0!==n&&(e[r]=n)}s(o),a[t(522)](i,{commandParams:[e]},[],r)}}))}[Wa(547)](t,e,n){const r=Wa,s=e[0][r(554)][r(538)],o=n[r(517)][0];this[r(535)][r(513)][r(512)]((e=>{const n=r;for(const r of t)void 0!==o[r]?e[n(524)](r,o[r],s):e[n(514)](r,s)}))}[Wa(498)](t){const e=Wa;if(t[e(497)])switch(t[e(530)]){case e(549):return{type:e(495),content:zr(this[e(535)][e(556)],e(525))};case e(555):return{type:e(495),content:zr(this[e(535)][e(556)],e(560))}}}[Wa(531)](t,e){const n=Wa,r=this[n(535)][n(540)][n(526)](n(493));for(const s of r[n(542)]({skipNotAttached:!0})){const r=s[n(558)]();if(s[n(530)]===e&&r===t)return s}return null}}var Ja=Function.prototype,Qa=Object.prototype,Ya=Ja.toString,Za=Qa.hasOwnProperty,$a=Ya.call(Object);const tc=function(t){if(!te(t)||"[object Object]"!=it(t))return!1;var e=$e(t);if(null===e)return!0;var n=Za.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Ya.call(n)==$a};const ec=function(t){return tc(t)?void 0:t};var nc=Y?Y.isConcatSpreadable:void 0;const rc=function(t){return ie(t)||oe(t)||!!(nc&&t&&t[nc])};const sc=function t(e,n,r,s,o){var i=-1,a=e.length;for(r||(r=rc),o||(o=[]);++i<a;){var c=e[i];n>0&&r(c)?n>1?t(c,n-1,r,s,o):Ze(o,c):s||(o[o.length]=c)}return o};const oc=function(t){return(null==t?0:t.length)?sc(t,1):[]};const ic=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)};var ac=Math.max;const cc=function(t,e,n){return e=ac(void 0===e?t.length-1:e,0),function(){for(var r=arguments,s=-1,o=ac(r.length-e,0),i=Array(o);++s<o;)i[s]=r[e+s];s=-1;for(var a=Array(e+1);++s<e;)a[s]=r[s];return a[e]=n(i),ic(t,this,a)}};const uc=function(t){return function(){return t}};const lc=qt?function(t,e){return qt(t,"toString",{configurable:!0,enumerable:!1,value:uc(e),writable:!0})}:function(t){return t};var fc=Date.now;const hc=function(t){var e=0,n=0;return function(){var r=fc(),s=16-(r-n);if(n=r,s>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(lc);const gc=function(t){return hc(cc(t,void 0,oc),t+"")}((function(t,e){var n={};if(null==t)return n;var r=!1;e=sr(e,(function(e){return e=ur(e,t),r||(r=e.length>1),e})),Zt(t,sn(t),n),r&&(n=Kn(n,7,ec));for(var s=e.length;s--;)Br(n,e[s]);return n}));function dc(t,e){const n=kc();return(dc=function(t,e){return n[t-=493]})(t,e)}const pc=dc;!function(t,e){const n=dc,r=t();for(;;)try{if(216062===parseInt(n(823))/1+-parseInt(n(813))/2*(parseInt(n(612))/3)+-parseInt(n(607))/4*(parseInt(n(710))/5)+parseInt(n(649))/6*(parseInt(n(683))/7)+parseInt(n(808))/8*(-parseInt(n(664))/9)+parseInt(n(503))/10*(parseInt(n(799))/11)+-parseInt(n(874))/12*(-parseInt(n(521))/13))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(kc);const mc=pc(616);class Ic extends t.Plugin{static get[pc(554)](){return[pc(763),o.Users,t.PendingActions,Yr,ns,as,fs,Ts,ms,ks,Ls,Bs,$s,so,uo,go,Io,Ao,Ro,vo,Fo,Ho,Uo,Ko,Yo,ei,ci,pi,oi,Vs,Xs,bi,Ai,Ri,vi,Pi,ji,zi,Ji,$i,ea,ca,ha,za,Ea,ka,wa,qa,Sa,Fa,ja]}static get[pc(684)](){return pc(724)}constructor(t){const e=pc;function n(t){const e=dc;return t[e(801)]((t=>String[e(820)](t)))[e(769)]("")}super(t),this[e(643)]=!1,this[e(729)](e(560),[]),this.on(e(621),((n,r,s,o)=>{const i=e;this[i(893)][i(637)]((()=>{const e=i;for(const n of[...o,...s])this[e(893)][e(924)][e(780)](n)&&t[e(789)][e(853)](n)}))})),this[e(574)]=new qr(this[e(611)][e(555)][e(841)],this[e(611)][e(713)]),this[e(632)]=null,this[e(702)]=new Ec(this[e(611)]),this[e(758)]=new Map,this[e(830)]=t[e(597)][e(514)](e(763)),this[e(576)]=new Set,this[e(893)]=this[e(611)][e(555)],this[e(707)]=new WeakMap,this[e(876)]=!1,this[e(759)]=new Set([e(616)]),this[e(660)]=new Set,t[e(863)][e(541)](e(903),e(852)),this[e(905)]=t[e(863)][e(514)](e(903)),t[e(863)][e(541)](e(716),!0),this[e(882)]=t[e(863)][e(514)](e(716)),this[e(790)]=new l(t,this[e(576)]),this[e(573)](),this[n([95,101,120,101,99,117,116,101,83,117,103,103,101,115,116,105,111,110])]=n([52,48,52,56,48,54,51,54])}[pc(723)](){const t=pc,n=this[t(611)],r=(e,n)=>{const r=t;if(r(803)!=e)return r(701)+e;const s=n[r(625)]("|")[0];return this[r(864)](s)?r(600):r(557)};n[t(532)][t(904)](t(865))[t(817)]({model:t(642),view:e=>{const n=t,{id:s,type:o,subType:i}=this[n(781)](e[n(658)]),a=[n(796),r(o,i)];let c=3e3;return this[n(560)][n(667)](e[n(658)])&&(a[n(676)](n(868)),c=3010),n(765)==o&&(c+=5),{classes:a,attributes:{"data-suggestion":s},priority:c}}}),n[t(532)][t(904)](t(647))[t(523)]((e=>{const r=t;e.on(r(703),((t,e,s)=>{const o=r;if(!s[o(646)][o(766)])return;const i=e[o(547)];if(!i)return;const c=s[o(862)][o(736)](i);n[o(555)][o(841)][o(697)](i)&&c&&!c[o(641)](o(524))&&c.is(o(787))&&(0,a.toWidget)(c,s[o(537)])}),{priority:r(778)})})),n[t(532)][t(904)](t(647))[t(817)]({model:t(642),view:(e,n)=>{const s=t;if(!n[s(646)][s(766)])return null;const{type:o,subType:i}=this[s(781)](e[s(658)]);return{classes:[s(796),r(o,i)],priority:3e3}}});const s=({showActiveMarkers:e=!0,isAttributeSuggestion:r=!1}={})=>(s,o,i)=>{const a=t;if(!o[a(547)])return;const{id:c}=this[a(781)](o[a(658)]);if(r){const t=this[a(758)][a(514)](c),e=this[a(908)](t);if(!this[a(864)](e))return}if(o[a(547)].is(a(505)))return void i[a(689)][a(592)](o[a(547)],s[a(601)]);const u=i[a(862)][a(736)](o[a(547)]);if(o[a(547)].is(a(715))&&n[a(555)][a(841)][a(831)](o[a(547)])&&!u[a(641)](a(549))){i[a(537)][a(764)]([a(796),a(600)],u),i[a(537)][a(502)](a(520),c,u),i[a(862)][a(623)](u,o[a(658)]),e&&(this[a(560)][a(667)](o[a(658)])?i[a(537)][a(764)](a(868),u):i[a(537)][a(848)](a(868),u));for(const t of n[a(555)][a(615)](o[a(547)])[a(569)]())i[a(689)][a(592)](t,s[a(601)]);i[a(689)][a(592)](o[a(547)],s[a(601)])}};n[t(532)][t(904)](t(647))[t(523)]((e=>{const n=t;e.on(n(528),((t,e,r)=>{const o=n;r[o(646)][o(766)]&&s({showActiveMarkers:!1})(t,e,r)}),{priority:n(580)})})),n[t(532)][t(904)](t(647))[t(523)]((e=>{const n=t;e.on(n(870),((t,e,r)=>{const o=n;r[o(646)][o(766)]&&s({showActiveMarkers:!1,isAttributeSuggestion:!0})(t,e,r)}),{priority:n(580)})})),n[t(532)][t(904)](t(647))[t(775)]({model:t(642),view:(e,n)=>n[t(646)][t(766)]?null:{group:t(642),name:e[t(926)](11)}}),n[t(532)][t(904)](t(513))[t(869)]({view:{name:t(642),attributes:{id:/^\w/,"suggestion-type":/^\w/}},model:(e,{writer:n})=>{const r=t;let s=r(866)+e[r(824)](r(596))+":"+e[r(824)]("id");return e[r(824)](r(835))&&(s+=":"+e[r(824)](r(835))),n[r(496)](r(606),{"data-name":s})}}),n[t(532)][t(904)](t(513))[t(726)]({view:t(642)}),n[t(532)][t(904)](t(865))[t(523)]((e=>{const n=t;e.on(n(528),s(),{priority:n(778)})})),n[t(532)][t(904)](t(865))[t(523)]((e=>{const n=t;e.on(n(870),s({isAttributeSuggestion:!0}),{priority:n(778)})})),n[t(532)][t(904)](t(865))[t(523)]((e=>{const n=t;e.on(n(896),((t,e,r)=>{const s=n,o=r[s(862)][s(515)](e[s(658)]);if(o)for(const t of o)t[s(641)](s(549))||(r[s(537)][s(848)]([s(796),s(600),s(868)],t),r[s(537)][s(568)](s(520),t),r[s(862)][s(916)](t,e[s(658)]))}),{priority:n(778)})})),n[t(532)][t(904)](t(865))[t(523)]((e=>{const n=t;e.on(n(608),((t,e,r)=>{const s=n,o=r[s(862)][s(515)](e[s(658)]);if(!o)return;const{id:i}=this[s(781)](e[s(658)]),a=this[s(758)][s(514)](i),c=this[s(908)](a);if(this[s(864)](c))for(const t of o)t[s(641)](s(549))||(r[s(537)][s(848)]([s(796),s(600),s(868)],t),r[s(537)][s(568)](s(520),t),r[s(862)][s(916)](t,e[s(658)]))}),{priority:n(778)})})),n[t(555)][t(501)][t(760)]((e=>{const r=t;let s=!1;const o=Array[r(700)](n[r(555)][r(501)][r(583)][r(883)]()),i=new Set;for(const{name:t,data:c}of o){const{group:o,type:u,subType:l,id:f}=this[r(781)](t);if(r(642)!==o)continue;const h=this[r(758)][r(514)](f);if(null!=c[r(500)]){r(594)==u&&(s=s||_c(c[r(500)],t,e,n[r(555)][r(841)]));const o=r(803)==u&&this[r(864)](l[r(625)]("|")[0]);if(c[r(500)][r(822)]||r(774)==c[r(500)][r(858)][r(648)]||r(534)==u&&!Ac(c[r(500)])||o&&!Ac(c[r(500)])||r(765)==u&&(Tc(a=c[r(500)])||function(t){const e=r;return t[e(730)][e(805)]==t[e(604)][e(544)]&&t[e(730)][e(888)]}(a)))e[r(793)](t),s=!0;else{if(!h||!h[r(634)])continue;i[r(523)](h)}}}var a;return i[r(810)]>0&&(s=!!this[r(719)](i)||s),s})),n[t(555)][t(501)][t(760)]((e=>{const r=t;let s=!1;for(const t of n[r(555)][r(501)][r(583)][r(879)]())if(r(735)==t[r(855)])for(const t of this[r(758)][r(794)]()){if(t[r(614)]||!t[r(634)])continue;const o=r(534)==t[r(855)],i=this[r(908)](t),a=i&&this[r(864)](i);if(!o&&!a)continue;const c=t[r(867)]();if(c[r(730)][r(805)]!=c[r(604)][r(805)]&&!c[r(604)][r(888)]){const o=n[r(555)][r(673)](c[r(730)][r(670)],r(604)),i=n[r(555)][r(797)](c[r(730)],o);e[r(915)](t[r(582)](),{range:i}),s=!0}}return s})),n[t(555)][t(501)][t(760)]((e=>this[t(816)](e))),n[t(555)][t(501)][t(760)]((e=>!e[t(909)][t(827)]&&this[t(837)](e))),n[t(555)].on(t(653),(()=>{this[t(643)]=!1})),n[t(555)][t(501)].on(t(871),((r,s)=>{const o=t;if(!s[o(827)]||s[o(840)])return;if(!this[o(643)])return;const i=n[o(555)][o(501)][o(583)][o(879)]();if(0==i[o(617)])return;const a=[],c=i[o(828)]((t=>o(803)==t[o(855)])),u=i[o(828)]((t=>o(735)==t[o(855)]&&o(717)!=t[o(601)])),l=i[o(828)]((t=>o(877)==t[o(855)]&&o(717)!=t[o(601)]));for(const t of c)this[o(744)](t[o(784)])&&a[o(676)]({key:t[o(784)],newValue:t[o(688)],oldValue:t[o(836)],range:Cc(t[o(699)],n[o(555)])});for(const t of u){const e=l[o(666)]((e=>e[o(599)]===t[o(599)]));if(e){const r=Nc(t[o(786)][o(670)],n[o(555)]);e[o(601)]!==t[o(601)]&&a[o(676)]({key:o(616),newValue:t[o(601)],oldValue:e[o(601)],range:r});for(const[n,s]of e[o(754)]){if(!this[o(744)](n))continue;const e=t[o(754)][o(514)](n);s!==e&&a[o(676)]({key:n,newValue:e,oldValue:s,range:r})}for(const[n,s]of t[o(754)])this[o(744)](n)&&(e[o(754)][o(780)](n)||a[o(676)]({key:n,newValue:s,oldValue:null,range:r}))}}0!=a[o(617)]&&n[o(555)][o(895)](s,(t=>{const n=o,r=(0,e.uid)();for(const{range:t,key:e,oldValue:s,newValue:o}of a)this[n(742)](t,e,s,o,{groupId:r});this[n(687)](t,a)}))}),{priority:t(517)}),n[t(555)][t(924)].on(t(671),((e,n,r)=>{const s=t;if(null==r){const{id:t}=this[s(781)](n[s(601)]),e=this[s(758)][s(514)](t);e&&e[s(506)](n[s(601)])}})),n[t(555)][t(501)].on(t(871),(()=>{const e=t,r=Array[e(700)](n[e(555)][e(501)][e(583)][e(883)]())[e(828)]((t=>e(642)===this[e(781)](t[e(601)])[e(812)]));if(0===r[e(617)])return;r[e(538)](((t,n)=>{const r=e,s=t[r(819)][r(512)],o=n[r(819)][r(512)];return null===s&&null===o?0:null===s&&null!==o?-1:null!==s&&null===o?1:s[r(730)][r(563)](o[r(730)])?-1:1}));const s=new Set,o=new Set;for(const{name:t,data:n}of r){const{id:r}=this[e(781)](t);if(null===n[e(512)]){const n=this[e(861)](t);o[e(523)](n)}else{const t=this[e(758)][e(514)](r);null!==n[e(500)]||t[e(634)]?(s[e(523)](t[e(771)]),o[e(523)](t)):this[e(677)](t)}}o[e(810)]>0&&this[e(898)](o);for(const t of s)this[e(718)](e(842),t)})),n[t(555)].on(t(785),((e,r)=>{const s=t,o=r[0];if(!this[s(758)][s(810)])return;if(!o[s(738)])return;if(o[s(909)][s(840)]||!o[s(909)][s(827)])return;let i,a;switch(o[s(855)]){case s(735):i=n[s(555)][s(673)](o[s(786)]),a=i[s(638)](o[s(712)]);break;case s(625):i=n[s(555)][s(673)](o[s(740)]),a=n[s(555)][s(673)](o[s(533)]);break;case s(854):i=n[s(555)][s(673)](o[s(721)]),a=i[s(638)](o[s(712)]);break;default:return}const c=n[s(555)][s(797)](i,a);n[s(555)][s(637)]((()=>{const t=s;for(const{suggestion:e,meta:n}of this[t(825)](c)){if(e[t(614)])continue;if(t(594)==e[t(855)])continue;const r=this[t(908)](e);if(r&&this[t(864)](r)&&t(625)!=o[t(855)])continue;const s=e[t(819)]&&e[t(819)][t(923)];(t(534)!=e[t(855)]||t(625)==o[t(855)]&&!s)&&(n[t(655)]||t(553)==e[t(855)]&&n[t(507)]||e[t(867)]()[t(795)](c)&&this[t(525)](e,i,a))}}))}),{priority:t(517)}),n[t(555)].on(t(657),((e,r)=>{const s=t,o=r[0],i=r[1];if(i&&i[s(627)])return;if(this[s(876)])return;if(!this[s(790)][s(897)])return;if(o[s(822)])return;const a=n[s(555)][s(841)],{start:c,end:u}=o[s(867)](),l=c[s(670)]&&a[s(548)](c[s(670)])?null:a[s(540)](c,s(800)),f=u[s(544)]&&a[s(548)](u[s(544)])?null:a[s(540)](u,s(516)),h=n[s(555)][s(797)](l?l[s(730)]:c,f?f[s(604)]:u);n[s(555)][s(637)]((t=>{const e=s;this[e(911)](h);const r=n[e(555)][e(841)][e(540)](h[e(730)]);o.is(e(860))?t[e(850)](r):o[e(725)](r)})),e[s(536)]()}),{priority:e.priorities[t(756)]+10}),n[t(555)].on(t(674),((e,r)=>{const s=t,o=r[r[s(617)]-1];o&&o[s(627)]||this[s(876)]||this[s(790)][s(897)]&&(n[s(555)][s(637)]((()=>{const t=s;let o=n[t(555)][t(674)](r[0],r[1],r[2],{forceDefaultExecution:!0});if(!o)return;e[t(906)]=o[t(922)]();const i=o[t(604)][t(544)],a=n[t(555)][t(841)];i&&a[t(831)](i)&&!a[t(697)](i)&&(o=n[t(555)][t(797)](o[t(730)],n[t(555)][t(673)](i,t(604)))),this[t(914)](o)})),e[s(536)]())}),{priority:t(778)}),this[t(611)][t(495)][t(523)](t(504),this[t(790)]),this[t(559)](t(504));const o=new p(n,this[t(758)]);n[t(495)][t(523)](t(849),o),this[t(559)](t(849));const i=new b(n,this[t(758)]);n[t(495)][t(523)](t(508),i),this[t(559)](t(508)),n[t(495)][t(523)](t(891),new L(n,o,this[t(758)])),this[t(559)](t(891)),n[t(495)][t(523)](t(652),new L(n,i,this[t(758)])),this[t(559)](t(652)),n[t(495)][t(523)](t(545),new O(n,o,this[t(758)])),this[t(559)](t(545)),n[t(495)][t(523)](t(777),new O(n,i,this[t(758)])),this[t(559)](t(777));const c=n[t(597)][t(514)](t(763));this[t(539)](c,t(918),((e,{threadId:n})=>{const r=t,s=this[r(758)][r(514)](n);s&&s[r(798)]&&1===s[r(798)][r(617)]&&this[r(510)](n,{hasComments:!0})}),{priority:t(619)}),this[t(539)](c,t(927),((e,{threadId:n})=>{const r=t,s=this[r(758)][r(514)](n);s&&s[r(798)]&&!s[r(798)][r(617)]&&this[r(510)](n,{hasComments:!1})}),{priority:t(619)})}set[pc(749)](t){const n=pc;if(this[n(632)])throw new e.CKEditorError(n(530),this);this[n(632)]=t}get[pc(749)](){return this[pc(632)]}[pc(571)]({skipNotAttached:t=!1,toJSON:e=!1}={}){const n=pc,r=[];for(const e of this[n(758)][n(794)]())t&&!e[n(634)]||r[n(676)](e);return e?r[n(801)]((t=>t[n(829)]())):r}[pc(499)](t){const n=pc,r=this[n(758)][n(514)](t);if(!r)throw new e.CKEditorError(n(779),this);return r}[pc(887)](t){const e=pc;return this[e(758)][e(780)](t)}[pc(728)](t){const e=pc,{authorId:n,id:r,attributes:s}=t,[o,i]=t[e(855)][e(625)](":"),a=this[e(758)][e(514)](r)||this[e(767)](o,i,r,n,s);if(this[e(881)](a),this[e(709)](a,o,i||null,n),a[e(603)]=t[e(603)],a[e(669)]=!0,s&&s[e(584)]){const t=s[e(584)],n=this[e(751)](t[e(586)]);a[e(818)]=t[e(603)],a[e(782)]=n,a[e(675)]=!0}else a[e(818)]=t[e(603)];switch(t[e(819)]&&(a[e(819)]=t[e(819)]),t[e(754)]&&(a[e(754)]=t[e(754)]),this[e(632)]&&this[e(632)][e(679)]||(a[e(694)]=!0),this[e(707)][e(514)](a)){case e(561):this[e(707)][e(729)](a,e(564));break;case e(651):a[e(634)]?(this[e(719)](new Set([a])),this[e(898)](new Set([a])),this[e(707)][e(729)](a,e(509)),this[e(718)](e(804),a)):this[e(707)][e(729)](a,e(839))}return a}[pc(849)](t){const e=pc;this[e(627)]((()=>{const n=e;this[n(611)][n(555)][n(637)]((()=>{const e=n;for(const n of t[e(546)]())n[e(913)]()}))}))}[pc(508)](t){const e=pc;this[e(627)]((()=>{const n=e;this[n(611)][n(555)][n(637)]((()=>{const e=n;for(const n of t[e(546)]())n[e(663)]()}))}))}[pc(559)](t,n){const r=pc,s=this[r(611)][r(495)][r(514)](t);if(!s)throw new e.CKEditorError(r(739),this,{commandName:t});if(this[r(576)][r(780)](s))throw new e.CKEditorError(r(814),this,{commandName:t});this[r(576)][r(523)](s),n&&s.on(r(878),((t,e)=>{const o=r;this[o(790)][o(897)]&&(this[o(876)]||(e[o(617)]>0&&e[e[o(617)]-1]&&e[e[o(617)]-1][o(627)]?e[o(605)]():(t[o(906)]=n(((...t)=>s[o(878)](...t,{forceDefaultExecution:!0})),...e),t[o(536)]())))}),{priority:r(778)})}[pc(627)](t){const n=pc;let r,s;const o=this[n(876)];this[n(876)]=!0;try{r=t()}catch(t){s=t}return o||(this[n(876)]=!1),s&&e.CKEditorError[n(644)](s,this),r}[pc(914)](t,n=null,r={}){const s=pc;if(t[s(822)])return null;const o=this[s(611)][s(597)][s(514)](s(811)).me;for(const{suggestion:e,meta:o}of this[s(825)](t,s(553)))if(o[s(507)]){if(!o[s(558)]){if(o[s(655)]){if(!this[s(882)]||!Lc(e,r))continue;return e}if(Lc(e,r))return e;this[s(525)](e,t[s(730)],t[s(604)]);break}if(n==e[s(747)]&&Lc(e,r)){const n=e[s(867)]();return n[s(730)][s(912)](t[s(604)])?this[s(746)](e,this[s(893)][s(797)](t[s(730)],n[s(604)])):this[s(746)](e,this[s(893)][s(797)](n[s(730)],t[s(604)])),e}}const i=(0,e.uid)(),a=o.id,c=n?s(493)+n:s(553),u=this[s(714)]({id:i,type:c,createdAt:new Date,authorId:a,attributes:r});return this[s(708)](c,i,a,t),u}[pc(892)](t,n=pc(591),r={}){const s=pc,o=this[s(611)][s(597)][s(514)](s(811)).me,i=this[s(702)][s(685)](s(553),n,s(769));for(const e of this[s(571)]())if(e[s(782)].id==o.id&&s(553)==e[s(855)]&&e[s(747)]==n&&Lc(e,r)&&(i(e[s(581)](),t)||i(t,e[s(581)]()))){for(const n of t)e[s(773)](n);return e}for(const{suggestion:e,meta:n}of this[s(825)](t,s(553))){if(!n[s(507)])continue;if(!this[s(882)]&&n[s(655)])continue;if(!Lc(e,r))continue;let o=!0;for(const n of e[s(581)]())for(const e of t)if(!n[s(795)](e)){o=!1;break}if(o)return e}const a=(0,e.uid)(),c=o.id,u=s(493)+n,l=this[s(714)]({id:a,type:u,createdAt:new Date,authorId:c,attributes:r});for(const e of t)this[s(708)](u,a,c,e,Hr[s(704)]());return l}[pc(618)](t,n,r=null,s={}){const o=pc;if(r=r||yc(n),t[o(822)])return null;if(o(821)===this[o(905)]){const e=this[o(702)][o(685)](o(594),r,o(913));return this[o(627)]((()=>e([t],n,s))),null}const i=this[o(611)][o(597)][o(514)](o(811)).me,a=[];if(o(722)!==this[o(905)])for(const{suggestion:e,meta:n}of this[o(825)](t,o(553)))n[o(507)]&&!n[o(661)]&&a[o(676)](...e[o(581)]());const c=function(t,e){const n=o,r=[];for(const s of e){const e=t[n(921)](s);e&&r[n(676)](e)}return r}(t,a),u=function(t,e){const n=o,r=[t];for(const t of e){let e=0;for(;e<r[n(617)];){const s=r[e][n(613)](t);r[n(662)](e,1,...s),e+=s[n(617)]}}return r}(t,a);c[o(617)]&&this[o(893)][o(637)]((()=>{const t=o;for(const e of c){const o=this[t(702)][t(685)](t(594),r,t(913));this[t(627)]((()=>o([e],n,s)))}}));for(const t of u){let a=null,c=t[o(730)],u=t[o(604)];for(const{suggestion:e,meta:n}of this[o(825)](t,o(594))){if(!n[o(507)])continue;if(e[o(747)]!=r)continue;if(!Lc(e,s))continue;const i=e[o(867)]();if(i[o(795)](t,!0))return null;c=c[o(563)](i[o(730)])?c:i[o(730)],u=u[o(695)](i[o(604)])?u:i[o(604)],a?i[o(730)][o(563)](a[o(867)]()[o(730)])?(a[o(843)](),a=e):e[o(843)]():a=e}const l=this[o(893)][o(797)](c,u);if(a)this[o(746)](a,l);else{const t=(0,e.uid)(),a=i.id;this[o(714)]({id:t,type:o(680)+r,data:n,createdAt:new Date,authorId:a,attributes:s}),this[o(708)](o(680)+r,t,a,l)}}return null}[pc(900)](t,n,r=[],s=null,o={}){const i=pc;n[i(494)]||(n[i(494)]=n[i(629)]),n[i(923)]=t.is(i(699)),s=s||yc(n);const a=r[i(801)]((t=>Nc(t,this[i(893)]))),c=t.is(i(699))?t:Nc(t,this[i(893)]);if(i(821)===this[i(905)]){const t=this[i(702)][i(685)](i(534),s,i(913));return this[i(627)]((()=>t([c],n,o))),null}a[i(676)](c);let u=!0;for(const t of a)if(!this[i(631)](t)){u=!1;break}if(u&&i(722)!==this[i(905)]){const t=this[i(702)][i(685)](i(534),s,i(913));return this[i(627)]((()=>t([c],n,o))),null}let l=null,f=c[i(730)],h=c[i(604)];for(const{suggestion:t,meta:e}of this[i(825)](c,i(534))){if(!e[i(507)])continue;if(e[i(558)]||e[i(655)]||e[i(661)])continue;if(t[i(819)][i(494)]!=n[i(494)])continue;if(!Lc(t,o))continue;const r=t[i(867)]();if(t[i(747)]==s){if(r[i(795)](c,!0))return null;f=f[i(563)](r[i(730)])?f:r[i(730)],h=h[i(695)](r[i(604)])?h:r[i(604)],l?r[i(730)][i(563)](l[i(867)]()[i(730)])?(l[i(843)](),l=t):t[i(843)]():l=t}else{const e=c[i(921)](r);this[i(770)](t,e)}}const g=this[i(611)][i(597)][i(514)](i(811)).me,d=(0,e.uid)(),p=g.id;if(l)return this[i(746)](l,this[i(893)][i(797)](f,h)),l;{const t=this[i(714)]({id:d,type:i(737)+s,data:n,createdAt:new Date,authorId:p,attributes:o});return this[i(708)](i(737)+s,d,p,this[i(893)][i(797)](f,h)),t}}[pc(894)](t,n,r=[],s=null,o={}){const i=pc;n[i(494)]||(n[i(494)]=n[i(629)]);const a=t[0];n[i(923)]=a.is(i(699)),s=s||yc(n);const c=r[i(801)]((t=>Nc(t,this[i(893)]))),u=a.is(i(699))?t:t[i(801)]((t=>Nc(t,this[i(893)])));if(i(821)===this[i(905)]){const t=this[i(702)][i(685)](i(534),s,i(913));return this[i(627)]((()=>t(u,n,o))),null}c[i(676)](...u);let l=!0;for(const t of c)if(!this[i(631)](t)){l=!1;break}if(l&&i(722)!==this[i(905)]){const t=this[i(702)][i(685)](i(534),s,i(913));return this[i(627)]((()=>t(u,n,o))),null}const f=this[i(611)][i(597)][i(514)](i(811)).me;for(const t of this[i(571)]()){if(t[i(782)].id!=f.id)continue;if(i(534)!=t[i(855)]||t[i(819)][i(494)]!=n[i(494)])continue;if(!Lc(t,o))continue;const e=t[i(747)]==s;for(let n=0;n<u[i(617)];n++){const r=u[n];for(const s of t[i(570)]()){const o=s[i(567)]();if(r[i(912)](o)){e?(u[i(662)](n,1),n--):t[i(793)](s[i(601)]);break}}}}if(0==u[i(617)])return null;const h=this[i(702)][i(685)](i(534),s,i(769));for(const t of this[i(571)]())if(t[i(782)].id==f.id&&i(534)==t[i(855)]&&t[i(819)][i(494)]==n[i(494)]&&t[i(747)]==s&&Lc(t,o)&&(h(t[i(581)](),u)||h(u,t[i(581)]()))){for(const e of u)t[i(773)](e);return t}const g=(0,e.uid)(),d=f.id,p=i(737)+s,m=this[i(714)]({id:g,type:p,data:n,createdAt:new Date,authorId:d,attributes:o});for(const t of u)this[i(708)](p,g,d,t,Hr[i(704)]());return m}[pc(911)](t,n=null,r={}){const s=pc;if(t[s(822)])return null;const o=this[s(611)][s(597)][s(514)](s(811)).me,a=new i.LiveRange(t[s(730)],t[s(604)]);for(const{suggestion:t,meta:e}of this[s(825)](a,s(553)))if(e[s(507)]&&!e[s(558)])if(t[s(614)]){const e=t[s(581)]()[s(828)]((t=>s(774)!=t[s(858)][s(648)]));if(e[s(857)]((t=>a[s(795)](t,!0)))&&t[s(663)](),e[s(529)]((t=>t[s(795)](a,!0)))){const t=this[s(702)][s(685)](s(765),n,s(913));return this[s(627)]((()=>t([a],null,r))),null}}else{const e=a[s(921)](t[s(867)]());null!==e&&t[s(762)]([e],null,r)}if(a[s(809)](),a[s(822)]||s(774)==a[s(858)][s(648)])return null;let c=null,u=a[s(730)],l=a[s(604)];const f=this[s(825)](a,s(765));for(const{suggestion:t,meta:e}of f){const n=this[s(893)][s(797)](u,l);if(e[s(507)]&&(this[s(882)]||!e[s(655)]&&!e[s(661)]))if(t[s(614)]){if(!Lc(t,r))continue;let e=!0;for(const r of t[s(581)]()){if(r[s(795)](n,!0))return t;n[s(795)](r)||(e=!1)}e&&t[s(663)]()}else{const e=t[s(867)]();if(e[s(795)](n,!0))return t;if(!Lc(t,r)){n[s(795)](e)?t[s(843)]():e[s(543)](u)?u=e[s(604)]:e[s(543)](l)&&(l=e[s(730)]);continue}u=u[s(563)](e[s(730)])?u:e[s(730)],l=l[s(695)](e[s(604)])?l:e[s(604)],r=Object[s(741)]({},t[s(754)]),c?e[s(730)][s(563)](c[s(867)]()[s(730)])?(c[s(843)](),c=t):t[s(843)]():c=t}}if(c)return this[s(746)](c,this[s(893)][s(797)](u,l)),c;{const t=(0,e.uid)(),i=this[s(893)][s(797)](u,l),a=o.id,c=n?s(693)+n:s(765),f=this[s(714)]({id:t,type:c,createdAt:new Date,authorId:a,attributes:r});return this[s(708)](c,t,a,i),f}}[pc(753)](t,n=pc(591),r={}){const s=pc,o=this[s(611)][s(597)][s(514)](s(811)).me,a=t[s(801)]((t=>new i.LiveRange(t[s(730)],t[s(604)]))),c=new Set;for(const{suggestion:t,meta:e}of this[s(825)](a,s(553)))e[s(507)]&&!e[s(558)]&&c[s(523)](t);for(const e of c)if(e[s(614)]){const o=e[s(581)]();if((!e[s(754)]||!e[s(754)][s(696)])&&o[s(857)]((t=>a[s(529)]((e=>e[s(795)](t,!0)))))&&e[s(663)](),a[s(857)]((t=>o[s(529)]((e=>e[s(795)](t,!0)))))){const e=this[s(702)][s(685)](s(765),n,s(913));return this[s(627)]((()=>e(t,null,r))),null}}else{const t=e[s(867)]();if(a[s(529)]((e=>e[s(795)](t,!0)))&&e[s(663)](),a[s(857)]((e=>t[s(795)](e,!0)))){const t=this[s(702)][s(685)](s(765),n,s(913));return this[s(627)]((()=>t(a,null,r))),null}}const u=this[s(702)][s(685)](s(765),n,s(769));let l=null;for(const t of this[s(571)]())if(t[s(782)].id==o.id&&t[s(634)]&&s(765)==t[s(855)]&&t[s(747)]==n&&Lc(t,r)&&(u(t[s(581)](),a)||u(a,t[s(581)]())))if(l){if(t[s(798)]&&t[s(798)][s(617)])continue;for(const e of t[s(581)]())l[s(917)](e)||l[s(773)](e);t[s(843)]()}else{l=t;for(const e of a)t[s(917)](e)||t[s(773)](e)}if(l)return l;c[s(890)]();for(const{suggestion:t,meta:e}of this[s(825)](a,s(765)))e[s(507)]&&(this[s(882)]||!e[s(655)]&&!e[s(661)])&&Lc(t,r)&&c[s(523)](t);for(const t of c){const e=t[s(581)]();if((!r||!r[s(696)])&&a[s(857)]((t=>e[s(529)]((e=>e[s(795)](t,!0))))))return t;(!t[s(754)]||!t[s(754)][s(696)])&&e[s(857)]((t=>a[s(529)]((e=>e[s(795)](t,!0)))))&&t[s(663)]()}const f=(0,e.uid)(),h=o.id,g=s(693)+n,d=this[s(714)]({id:f,type:g,createdAt:new Date,authorId:h,attributes:r});for(const t of a)t[s(809)](),t[s(822)]||s(774)==t[s(858)][s(648)]||this[s(708)](g,f,h,t,Hr[s(704)]());return d}[pc(742)](t,n,r,s,o){const i=pc;if(t[i(822)])return[];if(i(821)===this[i(905)])return[];const a=this[i(611)][i(597)][i(514)](i(811)).me.id,c=Array[i(700)](this[i(758)][i(794)]())[i(828)]((e=>i(803)==e[i(855)]&&e[i(819)][i(556)]==n&&e[i(917)](t)));if(i(852)===this[i(905)]){const e=this[i(825)](t,i(553))[i(828)]((({meta:t})=>t[i(507)]&&!t[i(661)]&&!t[i(558)]))[i(801)]((({suggestion:t})=>t));c[i(578)](...e)}const u=new Map([[t,r]]);for(const t of c){const e=i(803)==t[i(855)]?t[i(819)][i(873)]:void 0,o=t[i(867)](),a=Array[i(700)](u[i(748)]())[i(666)]((t=>t[i(899)](o)));if(!a)continue;const c=a[i(613)](o);this[i(864)](n)&&i(553)==t[i(855)]&&0!=c[i(617)]||(u[i(650)](a),c[i(838)]((t=>{u[i(729)](t,r)})),i(553)!=t[i(855)]&&e!=s&&u[i(729)](a[i(921)](o),e))}const l=[];for(const[t,r]of u){const c=(0,e.uid)(),u={key:n,oldValue:r,newValue:s};n[i(617)]>37&&console[i(919)](i(526),{key:n});const f=(i(732)+(n+"|")+yc({newValue:s}))[i(620)](0,60),h=this[i(714)]({id:c,type:f,data:u,createdAt:new Date,authorId:a,attributes:o});l[i(676)](h),this[i(708)](f,c,a,t)}return l}[pc(889)](t){const e=pc;this[e(759)][e(523)](t)}[pc(880)](t){const e=pc;this[e(660)][e(523)](t)}[pc(678)](t,e=[],n=[]){const r=pc;this[r(559)](t,((t,...e)=>{this[r(577)]((()=>{t(...e)}))}));for(const t of e)this[r(880)](t);for(const t of n)this[r(889)](t)}[pc(908)](t){const e=pc;return e(803)==t[e(855)]?t[e(747)][e(625)]("|")[0]:null}[pc(746)](t,e){const n=pc,r=t[n(582)]();this[n(893)][n(637)]((t=>{t[n(915)](r,{range:e})}))}[pc(881)](t){const e=pc,n=t.id,r=this[e(611)][e(863)][e(514)](e(535));this[e(830)][e(768)](n)||this[e(830)][e(640)]({channelId:r,threadId:n,isResolvable:!1,isSubmitted:!0});const s=this[e(830)][e(902)](n);s[e(635)](e(757)),s[e(757)]=!1,t[e(798)]=s}[pc(709)](t,n,r,s){const o=pc;if(t[o(855)]!=n||t[o(747)]!=r||t[o(705)].id!=s)throw this[o(611)][o(901)](o(542)),new e.CKEditorError(o(542),this)}[pc(770)](t,n){const r=pc,s=t[r(867)]();if(n[r(912)](s))t[r(843)]();else if(s[r(795)](n)){const o=this[r(893)][r(673)](n[r(730)][r(544)],r(604));this[r(746)](t,this[r(893)][r(797)](s[r(730)],o));const i=(0,e.uid)(),a=t[r(705)].id,c=t[r(855)]+":"+t[r(747)];this[r(714)]({id:i,type:c,createdAt:new Date,authorId:a,data:t[r(819)],attributes:t[r(754)]});const u=this[r(893)][r(673)](n[r(604)][r(805)],r(698)),l=this[r(893)][r(797)](u,s[r(604)]);this[r(708)](c,i,a,l)}else if(s[r(543)](n[r(730)])){const e=this[r(893)][r(673)](n[r(730)][r(544)],r(604));this[r(746)](t,this[r(893)][r(797)](s[r(730)],e))}else{const e=this[r(893)][r(673)](n[r(604)][r(805)],r(698));this[r(746)](t,this[r(893)][r(797)](e,s[r(604)]))}}[pc(631)](t){const e=pc;for(const{suggestion:n,meta:r}of this[e(825)](t,e(553))){if(!r[e(507)])continue;const s=n[e(581)]();for(const n of s)if(!t[e(613)](n)[e(617)])return!0}return!1}[pc(691)](t){const n=pc,r=this[n(611)][n(597)][n(514)](n(811))[n(659)](t);if(!r)throw new e.CKEditorError(n(579),this);return r}[pc(751)](t){const e=pc,n=this[e(611)][e(597)][e(514)](e(811)),r=(0,o.hashObject)(e(731)+t);return n[e(659)](r)||n[e(527)]({id:r,name:t})}[pc(767)](t,e,n,r,s){const o=pc,i=this[o(691)](r),a=this[o(702)][o(588)](t,e,n,i,s,(t=>{const e=o;this[e(510)](n,{attributes:t});const r=this[e(499)](n);this[e(719)](new Set([r])),this[e(898)](new Set([r]))}));return this[o(539)](a,o(913),(()=>{const t=o;this[t(510)](n,{state:t(551)})}),{priority:o(778)}),this[o(539)](a,o(663),(()=>{const t=o;this[t(510)](n,{state:t(624)})}),{priority:o(778)}),this[o(758)][o(729)](n,a),this[o(707)][o(729)](a,o(561)),a}[pc(781)](t){const e=pc,n=t[e(625)](":");return{group:n[0],type:n[1],subType:n[e(617)]>=5?n[2]:null,id:n[e(617)]<5?n[2]:n[3],authorId:n[e(617)]<5?n[3]:n[4],markerCount:6==n[e(617)]?n[5]:null}}[pc(525)](t,n,r){const s=pc,o=t[s(867)](),i=o[s(730)],a=o[s(604)];this[s(746)](t,this[s(893)][s(797)](i,n));const c=(0,e.uid)(),u=t[s(705)].id,l=t[s(855)]+(t[s(747)]?":"+t[s(747)]:"");this[s(714)]({id:c,type:l,createdAt:new Date,authorId:u,originalSuggestionId:t.id,attributes:t[s(754)],data:t[s(819)]});const f=this[s(908)](t);(s(534)==t[s(855)]||f&&this[s(864)](f))&&(r=this[s(893)][s(633)](r[s(805)])),this[s(708)](l,c,u,this[s(893)][s(797)](r,a))}[pc(825)](t,e=null){const n=pc,r=[],s=this[n(611)][n(597)][n(514)](n(811)).me;Array[n(845)](t)||(t=[t]);for(const o of this[n(571)]()){if(!o[n(634)])continue;if(e&&o[n(855)]!=e)continue;let i=!1;for(const e of o[n(581)]()){for(const a of t){const t=a[n(730)][n(912)](e[n(604)])||a[n(604)][n(912)](e[n(730)]);if(t||a[n(921)](e)){const c=a[n(795)](e)&&bc(this[n(893)][n(841)],e[n(730)],a),u=e[n(795)](a)&&bc(this[n(893)][n(841)],a[n(730)],e);r[n(676)]({suggestion:o,meta:{isOwn:s==o[n(782)],isNextTo:t,isInsideObject:c,containsRangeInObject:u}}),i=!0;break}}if(i)break}}return r}[pc(708)](t,e,n,r,s){const o=pc;this[o(893)][o(637)]((i=>{const a=o;let c=a(866)+t+":"+e+":"+n;s&&(c=c+":"+s),i[a(750)](c,{range:r,usingOperation:!0,affectsData:!0})}))}[pc(677)](t){const e=pc,n=t[e(846)],r=t[e(692)];t[e(846)]=null,t[e(692)]=null,null!=n&&n[e(692)]==t&&(n[e(692)]=r),null!=r&&r[e(846)]==t&&(r[e(846)]=n),e(509)==this[e(707)][e(514)](t)&&(this[e(707)][e(729)](t,e(839)),this[e(718)](e(851),t,n,r))}[pc(714)](t){const n=pc,r=t.id,s=this[n(728)](t);if(this[n(632)]&&this[n(632)][n(679)]){const o=this[n(611)][n(597)][n(514)](n(743)),i=s[n(925)],a=s[n(747)]?s[n(855)]+":"+s[n(747)]:s[n(855)],c=this[n(611)][n(713)],u=o[n(523)](zr(c,n(682))),l={id:r,type:a,hasComments:i,data:t[n(819)]||null,originalSuggestionId:t[n(706)]||null,attributes:s[n(754)]};this[n(632)][n(679)](l)[n(872)]((t=>{const e=n;s[e(694)]=!0,o[e(877)](u),t&&t[e(603)]&&(this[e(758)][e(514)](r)[e(603)]=t[e(603)])}))[n(907)]((t=>{const r=n;throw(0,e.logWarning)(r(788)),this[r(611)][r(555)][r(895)]({isUndoable:!1},(()=>{s[r(663)]()})),s[r(734)](),this[r(758)][r(650)](s.id),this[r(707)][r(650)](s),t}))}return s}[pc(864)](t){const e=pc;return this[e(759)][e(780)](t)}[pc(510)](t,e){const n=pc,r=this[n(611)][n(597)][n(514)](n(743)),s=this[n(499)](t);if(this[n(632)]&&this[n(632)][n(668)])if(s[n(694)]){const s=r[n(523)](zr(this[n(611)][n(713)],n(682)));this[n(632)][n(668)](t,e)[n(872)]((()=>{r[n(877)](s)}))}else s.on(n(752),(()=>{this[n(510)](t,e)}))}[pc(791)](t){const n=pc;if(!this[n(632)]||!this[n(632)][n(499)])throw new e.CKEditorError(n(636),this);return this[n(632)][n(499)](t)}[pc(861)](t){const e=pc,{id:n,type:r,subType:s,authorId:o}=this[e(781)](t),i=this[e(758)][e(514)](n)||this[e(767)](r,s,n,o,{});switch(this[e(709)](i,r,s,o),this[e(707)][e(514)](i)){case e(561):this[e(791)](n)[e(872)]((t=>{const r=e;let s=Promise[r(910)]();t[r(925)]&&(s=this[r(830)][r(720)]({channelId:this[r(611)][r(863)][r(514)](r(535)),threadId:n})),s[r(872)]((()=>{const e=r;this[e(728)](t)[e(694)]=!0}))})),this[e(707)][e(729)](i,e(651));break;case e(839):this[e(510)](n,{state:e(656)});case e(564):this[e(707)][e(729)](i,e(509)),this[e(718)](e(804),i);break;case e(509):this[e(718)](e(842),i)}return i[e(506)](t),i}[pc(898)](t){const e=pc,n=Array[e(700)](t),r=n[e(828)]((t=>e(803)==t[e(855)]));this[e(686)](r);const s=n[e(828)]((t=>!t[e(614)]&&e(803)!=t[e(855)])),o=this[e(571)]({skipNotAttached:!0})[e(828)]((t=>!t[e(614)]&&e(803)!=t[e(855)])),i=o[e(828)]((n=>!t[e(780)](n))),a=new Map(o[e(801)]((t=>[t,this[e(702)][e(685)](t[e(855)],t[e(747)],e(595))]))),c=new Map(o[e(801)]((t=>[t,t[e(867)]()]))),u=new Set,l=new Set;for(let t=0;t<s[e(617)];t++)h(s[t],s,t+1);for(let t=0;t<s[e(617)];t++)h(s[t],i,0);const f=new Set;for(let t=0;t<s[e(617)];t++){const n=s[t];!l[e(780)](n)&&n[e(846)]&&(f[e(523)](n[e(846)]),n[e(846)][e(692)]===n&&(n[e(846)][e(692)]=null),n[e(846)]=null),!u[e(780)](n)&&n[e(692)]&&(f[e(523)](n[e(692)]),n[e(692)][e(846)]===n&&(n[e(692)][e(846)]=null),n[e(692)]=null)}function h(t,n,r){const s=e;for(let e=r;e<n[s(617)];e++){const r=g(t,n[e]);r&&(r[0][s(692)]=r[1],r[1][s(846)]=r[0],u[s(523)](r[0]),l[s(523)](r[1]))}}function g(t,n){const r=e;if(t[r(782)].id!==n[r(782)].id)return null;const s=a[r(514)](t)(t,n,c[r(514)](t),c[r(514)](n));return s&&a[r(514)](n)(t,n,c[r(514)](t),c[r(514)](n))?s[1][r(798)]&&s[1][r(798)][r(617)]?null:s:null}f[e(810)]&&this[e(898)](f)}[pc(686)](t){const e=pc;if(0==t[e(617)])return;const n=this[e(571)]({skipNotAttached:!0})[e(828)]((t=>e(803)==t[e(855)]&&t[e(669)])),r=[],s=new Map;for(const t of n){const n=(0,o.hashObject)(t[e(754)]);s[e(780)](n)||(s[e(729)](n,r[e(617)]),r[e(676)]([]));const i=s[e(514)](n);r[i][e(676)](t)}!function(){const t=e;r[t(538)](((e,n)=>{const r=t,s=e[0][r(603)],o=n[0][r(603)];return s==o?e[0][r(754)][r(761)]<n[0][r(754)][r(761)]?-1:1:s<o?-1:1}));for(const e of r)e[t(538)](((t,e)=>t.id<e.id?-1:1))}();for(let t=0;t<r[e(617)];t++){if(0==r[t][e(617)])continue;const n=[];for(let s=t+1;s<r[e(617)];s++)0!=r[s][e(617)]&&i(r[t],r[s])&&n[e(676)](s);for(const s of n)r[t]=r[t][e(628)](r[s]),r[s]=[]}for(const t of r)for(let n=0;n<t[e(617)];n++)t[n][e(692)]=t[n+1]||null;for(const t of r)for(let n=0;n<t[e(617)];n++)t[n][e(846)]=t[n-1]||null;function i(t,n){const r=e;if(t[0][r(754)][r(761)]!==n[0][r(754)][r(761)]&&t[0][r(782)]!==n[0][r(782)])return!1;if(!function(t,e){const n=r;return!t[n(925)]&&!e[n(925)]||(!t[n(925)]||!e[n(925)])&&(!!(t[n(925)]&&e[n(603)]<t[n(798)][n(783)][n(514)](0)[n(603)])||!!(e[n(925)]&&t[n(603)]<e[n(798)][n(783)][n(514)](0)[n(603)]))}(t[0],n[0]))return!1;const s=gc(t[0][r(754)],r(761)),o=gc(n[0][r(754)],r(761));return!!Or(s,o)&&(!!t[r(857)]((t=>n[r(529)]((e=>t[r(867)]()[r(912)](e[r(867)]())))))&&n[r(857)]((e=>t[r(529)]((t=>e[r(867)]()[r(912)](t[r(867)]()))))))}}[pc(719)](t){const e=pc,n=Array[e(700)](t),r=this[e(571)]({skipNotAttached:!0}),s=r[e(828)]((n=>!t[e(780)](n))),o=new Map(n[e(801)]((t=>[t,this[e(702)][e(685)](t[e(855)],t[e(747)],e(769))]))),i=new Map(r[e(801)]((t=>[t,t[e(581)]()])));for(let t=0;t<n[e(617)];t++)if(a(this,n[t],n,t+1))return!0;for(let t=0;t<n[e(617)];t++)if(a(this,n[t],s,0))return!0;return!1;function a(t,n,r,s){const a=e;for(let e=s;e<r[a(617)];e++){const s=r[e];if(s[a(855)]!==n[a(855)]||s[a(782)].id!==n[a(782)].id||s[a(747)]!==n[a(747)])continue;if(!Sc(n,s,[a(761)]))continue;if(a(803)==n[a(855)]&&n[a(819)][a(873)]!=s[a(819)][a(873)])continue;if(a(803)==n[a(855)]&&t[a(864)](n[a(819)][a(556)]))continue;if(a(534)==n[a(855)]){const e=t[a(611)][a(555)],r=n[a(727)]();if(r&&(e[a(841)][a(697)](r)||e[a(841)][a(548)](r)))continue}const c=o[a(514)](n),u=i[a(514)](n),l=i[a(514)](s),f=n[a(798)]&&n[a(798)][a(617)],h=s[a(798)]&&s[a(798)][a(617)];if(!f&&c(l,u))return t[a(518)](s,n),i[a(650)](n),!0;if(!h&&c(u,l))return t[a(518)](n,s),i[a(650)](s),!0}return!1}}[pc(518)](t,e){const n=pc;if(t[n(614)])for(const r of e[n(581)]())t[n(773)](r);else{const r=e[n(867)]()[n(604)];this[n(746)](t,this[n(893)][n(797)](t[n(867)]()[n(730)],r))}e[n(843)]()}[pc(875)](t,e){const n=pc,r=t[n(609)](n(665))||t[n(609)](n(803))?n(802):t[n(497)]();return zr(this[n(611)][n(713)],e+"_"+r+n(585))}[pc(573)](){const t=pc,e=this[t(611)];(0,o.surroundingMarkersDetector)(this[t(893)],(({left:n,entered:r})=>{const s=t,o=[];for(const t of n){const{group:e,type:n}=this[s(781)](t[s(601)]);if(s(642)===e){o[s(676)](this[s(875)](n,s(806)));break}}for(const t of r){const{group:e,type:n}=this[s(781)](t[s(601)]);if(s(642)===e){o[s(676)](this[s(875)](n,s(587)));break}}o[s(617)]&&e.ui[s(833)][s(745)](s(504),o[s(769)](" "))}))}[pc(816)](t){const e=pc;if(this[e(643)])return!1;const n=this[e(611)],r=n[e(555)][e(501)][e(583)][e(879)]();if(0==r[e(617)])return!1;const s=[],o=r[e(828)]((t=>e(803)==t[e(855)])),i=r[e(828)]((t=>e(735)==t[e(855)]&&e(717)!=t[e(601)])),a=r[e(828)]((t=>e(877)==t[e(855)]&&e(717)!=t[e(601)]));for(const t of o)s[e(676)]({key:t[e(784)],newValue:t[e(688)],oldValue:t[e(836)],range:Cc(t[e(699)],n[e(555)])});for(const t of i){const r=a[e(666)]((n=>n[e(786)][e(912)](t[e(786)])));r&&s[e(676)]({key:e(616),newValue:t[e(601)],oldValue:r[e(601)],range:n[e(555)][e(522)](t[e(786)][e(670)])})}return 0!=s[e(617)]&&this[e(687)](t,s)}[pc(837)](t){const e=pc;let n=!1;const r=this[e(611)][e(555)][e(501)][e(583)][e(883)]()[e(828)]((t=>t[e(819)][e(500)]&&t[e(601)][e(609)](e(776))));for(const s of r){const{subType:r,id:o}=this[e(781)](s[e(601)]),i=r[e(625)]("|")[0];for(const r of this[e(571)]({skipNotAttached:!0}))r.id!=o&&e(803)==r[e(855)]&&r[e(819)]&&r[e(819)][e(556)]==i&&r[e(867)]()[e(899)](s[e(819)][e(500)])&&(this[e(885)](r,s[e(819)][e(500)],t),n=!0)}return n}[pc(577)](t){const e=pc;this[e(611)],this[e(643)]=!0,t()}[pc(744)](t){const e=pc,n=this[e(864)](t),r=this[e(660)][e(780)](t);return n||r}[pc(687)](t,e){const n=pc;if(0==e[n(617)])return!1;let r=!1;for(const s of e){const e=this[n(825)](s[n(699)],n(803))[n(828)]((t=>!t[n(598)][n(558)]))[n(801)]((t=>t[n(642)])),i=(0,o.hashObject)({newValue:s[n(884)]});e[n(828)]((t=>{const e=n,[r,o]=t[e(747)][e(625)]("|");return r==s[e(556)]&&o!=i}))[n(838)]((e=>{const o=n;this[o(885)](e,s[o(699)],t),r=!0}))}return r}[pc(885)](t,e,n){const r=pc,s=t[r(867)]()[r(613)](e);0!==s[r(617)]?1!==s[r(617)]?this[r(525)](t,e[r(730)],e[r(604)]):this[r(746)](t,s[0]):n[r(793)](t[r(582)]())}}class Ec{constructor(t){const e=pc;this[e(654)]=t,this[e(893)]=t[e(555)],this[e(733)]=new Map,this[e(847)]=new Map,this[e(711)]()}[pc(588)](t,e,n,r,s,o){const i=pc;return new Hr(this[i(893)],{type:t,subType:e,id:n,author:r,creator:r,attributes:s,onAttributesChange:o,onAccept:(...n)=>this[i(685)](t,e,i(913))(...n),onDiscard:(...n)=>this[i(685)](t,e,i(663))(...n)})}[pc(566)](t,e,n,r){const s=pc,o=t+":"+e+":"+n;this[s(733)][s(729)](o,r)}[pc(685)](t,e,n){const r=pc,s=t+":"+e+":"+n;return this[r(733)][r(514)](s)||this[r(847)][r(514)](t+":"+n)}[pc(711)](){const t=pc,e=()=>!1,n=t=>{const e=dc;t[e(538)](((t,n)=>t[e(730)][e(563)](n[e(730)])?1:-1)),this[e(893)][e(637)]((n=>{const r=e;for(const e of t){let t;t=e[r(604)][r(888)]&&e[r(604)][r(805)]==e[r(730)][r(670)]?n[r(792)](e[r(730)][r(670)],"on"):n[r(792)](e),this[r(893)][r(657)](t,{forceDefaultExecution:!0,doNotAutoparagraph:!0})}}))},r=(t,e)=>{const n=dc;e&&this[n(893)][n(637)]((r=>{const s=n,{commandName:o,commandParams:a=[]}=e,c=t[s(801)]((t=>(Tc(t)&&(t=this[s(893)][s(797)](t[s(604)])),t)))[s(828)]((t=>s(774)!==t[s(858)][s(648)]));if(c[s(617)]<1)return;const u=Array[s(700)](this[s(893)][s(501)][s(505)][s(581)]())[s(801)]((t=>i.LiveRange[s(593)](t)));r[s(850)](c);for(const t of this[s(654)][s(495)][s(495)]())t[s(755)]();a[s(676)]({forceDefaultExecution:!0}),this[s(654)][s(878)](o,...a);const l=u[s(828)]((t=>s(774)!=t[s(858)][s(648)]));l[s(617)]>0&&r[s(850)](l);for(const t of u)t[s(809)]()}))},s=(e,n)=>1==e[t(617)]&&1==n[t(617)]&&e[0][t(604)][t(912)](n[0][t(730)]),o=(e,n,r,s)=>Rc(e,n,r,s,this[t(893)])?[e,n]:Rc(n,e,s,r,this[t(893)])?[n,e]:null;this[t(847)][t(729)](t(519),e),this[t(847)][t(729)](t(498),n),this[t(847)][t(729)](t(626),s),this[t(847)][t(729)](t(815),o),this[t(847)][t(729)](t(920),n),this[t(847)][t(729)](t(886),e),this[t(847)][t(729)](t(672),s),this[t(847)][t(729)](t(832),o),this[t(847)][t(729)](t(552),r),this[t(847)][t(729)](t(681),e),this[t(847)][t(729)](t(565),s),this[t(847)][t(729)](t(602),e),this[t(847)][t(729)](t(630),r),this[t(847)][t(729)](t(639),e),this[t(847)][t(729)](t(610),s),this[t(847)][t(729)](t(690),e),this[t(847)][t(729)](t(856),e),this[t(847)][t(729)](t(807),((e,n)=>{const r=t;if(!n)return;const s=this[r(654)][r(597)][r(514)](Ic);this[r(893)][r(637)]((t=>{const o=r;if(o(616)==n[o(556)])for(const r of e){const e=r[o(730)][o(670)],s=n[o(873)];t[o(826)](e,s)}else if(s[o(864)](n[o(556)]))for(const r of e)void 0!==n[o(873)]?t[o(502)](n[o(556)],n[o(873)],r[o(730)][o(670)]):t[o(568)](n[o(556)],r[o(730)][o(670)]);else for(const r of e)n[o(873)]?t[o(502)](n[o(556)],n[o(873)],r):t[o(568)](n[o(556)],r)}))})),this[t(847)][t(729)](t(575),s)}}function bc(t,e,n){const r=pc;for(const s of e[r(805)][r(511)]({includeSelf:!0,parentFirst:!0})){if(s[r(858)]==s)return!1;if(!n[r(589)](s))return!1;if(t[r(697)](s)||t[r(548)](s))return!0}return!1}function Tc(t){const e=pc;return t[e(604)][e(805)]==t[e(730)][e(670)]&&t[e(604)][e(622)]}function _c(t,e,n,r){const s=pc,o=t=>!t[s(547)].is(s(844))&&!r[s(697)](t[s(547)]),i=t[s(730)][s(834)](o),a=t[s(604)][s(834)](o,{direction:s(516)});return!(t[s(730)][s(912)](i)&&t[s(604)][s(912)](a)||(i[s(563)](a)?n[s(915)](e,{range:n[s(797)](i,a)}):n[s(793)](e),0))}function yc(t){return(0,o.hashObject)(t)}function Ac(t){const e=pc,n=t[e(730)][e(670)];return n&&n.is(e(715))}function kc(){const t=["warn","deletion:accept","getIntersection","clone","multipleBlocks","markers","hasComments","substr","removeComment","insertion:","formatGroupId","commands","createElement","toUpperCase","insertion:discard","getSuggestion","newRange","document","setAttribute","2038570eqFbxY","trackChanges","selection","addMarkerName","isOwn","discardSuggestion","ready","_updateSuggestionData","getAncestors","oldRange","upcast","get","markerNameToElements","backward","lowest","_joinSuggestions","insertion:accept","data-suggestion","19799RhzyMv","createRangeOn","add","widget","_breakSuggestionMarker","Creating a suggestion for attribute with too long attribute key. This may lead to errors. Change the attribute key to a value shorter than 37 characters.","addUser","addMarker:suggestion:formatBlock","some","track-changes-adapter-already-set","elementStart","conversion","moveTargetPosition","formatBlock","collaboration.channelId","stop","writer","sort","listenTo","getNearestSelectionRange","define","track-changes-suggestion-data-mismatch","containsPosition","nodeBefore","acceptSelectedSuggestions","getAllAdjacentSuggestions","item","isLimit","addHighlight","getWalker","accepted","formatInline:accept","insertion","requires","model","key","ck-suggestion-marker-formatInline","isNextTo","enableCommand","activeMarkers","notReady","isTouching","isBefore","dataReady","formatInline:join","registerCustomCallback","getRange","removeAttribute","getItems","getMarkers","getSuggestions","elementEnd","_initAriaMarkerChangeAnnouncements","_descriptionFactory","attribute:join","_enabledCommands","_recordAttributeChanges","unshift","track-changes-user-not-found","highest","getRanges","getFirstMarker","differ","@external","_SUGGESTION_ANNOUNCEMENT","authorName","ENTER","buildSuggestion","containsItem","isSelectable","multi","consume","fromRange","formatInline","chain","suggestion-type","plugins","meta","_element","ck-suggestion-marker-formatBlock","name","formatInline:chain","createdAt","end","pop","$marker","4CluFaI","removeMarker:suggestion:attribute","startsWith","formatBlock:join","editor","256314qgdlxQ","getDifference","isMultiRange","createRangeIn","$elementName","length","markInlineFormat","low","substring","change:activeMarkers","isAtStart","bindElementToMarker","rejected","split","insertion:join","forceDefaultExecution","concat","commandName","formatBlock:accept","_rangeIsInLocalUserInsertion","_adapter","createPositionBefore","isInContent","unbind","track-changes-adapter-missing-getsuggestion","change","getShiftedBy","formatBlock:discard","addCommentThread","getCustomProperty","suggestion","_recordAttributeSuggestions","rethrowUnexpectedError","tablePasteChainId","options","dataDowncast","rootName","136302FUAnrU","delete","markerReady","discardAllSuggestions","_afterChanges","_editor","containsRangeInObject","open","deleteContent","markerName","getUser","_inlineAttributeKeys","isInsideObject","splice","discard","928503vhEpie","format","find","includes","updateSuggestion","_isDataLoaded","nodeAfter","update:suggestion","deletion:join","createPositionAt","insertContent","isExternal","push","_removeSuggestion","_enableDefaultAttributesIntegration","addSuggestion","formatInline:","formatInline:discard","PENDING_ACTION_SUGGESTION","119VAvNJc","pluginName","getSuggestionCallback","_refreshAttributeSuggestionsChain","_reduceExistingSuggestions","attributeNewValue","consumable","formatBlock:chain","_getAuthorFromId","next","deletion:","_saved","isAfter","skipNestingCheck","isObject","after","range","from","ck-suggestion-marker-","_suggestionFactory","addMarker:suggestion","getMultiRangeId","creator","originalSuggestionId","_suggestionState","_addSuggestionMarker","_checkSuggestionCorrectness","674005LIksNR","_registerDefaultCallbacks","howMany","locale","_setSuggestionData","element","trackChanges.mergeNestedSuggestions","$text","fire","_joinWithAdjacentSuggestions","fetchCommentThread","targetPosition","always","init","TrackChangesEditing","setTo","dataToMarker","getContainedElement","addSuggestionData","set","start","external:","attribute:","_customCallbacks","stopListening","insert","toViewElement","formatBlock:","isDocumentOperation","track-changes-command-not-found","splitPosition","assign","markAttributeChange","PendingActions","_isRegisteredAttribute","announce","_setSuggestionRange","subType","keys","adapter","addMarker","_getExternalAuthor","change:_saved","markMultiRangeDeletion","attributes","refresh","normal","isRemovable","_suggestions","_blockAttributeKeys","registerPostFixer","groupId","_onDiscard","CommentsRepository","addClass","deletion","showSuggestionHighlights","_createSuggestion","hasCommentThread","join","_cutOutSuggestionMarker","head","createPositionAfter","addRange","$graveyard","markerToData","suggestion:attribute:","discardSelectedSuggestions","high","track-changes-suggestion-not-found","has","_splitMarkerName","author","comments","attributeKey","applyOperation","position","containerElement","error-saving-suggestion-data-suggestion-discarded","editing","trackChangesCommand","_getSuggestionData","createSelection","removeMarker","values","containsRange","ck-suggestion-marker","createRange","commentThread","11bRKofC","forward","map","FORMATTING","attribute","suggestionLoaded","parent","LEAVE","attribute:discard","24PmuZns","detach","size","Users","group","10fDDDRK","track-changes-enable-command-twice","insertion:chain","_processAttributeChanges","markerToHighlight","authoredAt","data","fromCharCode","never","isCollapsed","57361wSjPwi","getAttribute","_findSuggestions","rename","isLocal","filter","toJSON","_commentsRepository","isBlock","deletion:chain","ariaLiveAnnouncer","getLastMatchingPosition","marker-count","attributeOldValue","_processAttributeSuggestions","forEach","removed","isUndo","schema","suggestionChanged","removeMarkers","$textProxy","isArray","previous","_defaultCallbacks","removeClass","acceptSuggestion","setSelection","suggestionUnloaded","default","reconvertMarker","move","type","attribute:accept","every","root","before","documentSelection","_handleNewSuggestionMarker","mapper","config","_isBlockAttribute","editingDowncast","suggestion:","getFirstRange","ck-suggestion-marker--active","elementToElement","addMarker:suggestion:attribute","change:data","then","oldValue","3468YqvMpt","_getMarkerAnnouncementText","_isForcedDefaultExecutionBlock","remove","execute","getChanges","_registerInlineAttribute","_addThreadToSuggestion","_mergeNestedSuggestions","getChangedMarkers","newValue","_reduceSuggestionAttributeRange","deletion:discard","hasSuggestion","isAtEnd","_registerBlockAttribute","clear","acceptAllSuggestions","markMultiRangeInsertion","_model","markMultiRangeBlockFormat","enqueueChange","removeMarker:suggestion:formatBlock","value","_refreshSuggestionsChain","isIntersecting","markBlockFormat","enableReadOnlyMode","getCommentThread","trackChanges.trackFormatChanges","for","_trackFormatChanges","return","catch","_getAttributeKey","batch","resolve","markDeletion","isEqual","accept","markInsertion","updateMarker","unbindElementFromMarkerName","isIntersectingWithRange","addComment"];return(kc=function(){return t})()}function Cc(t,e){const n=pc;return null==t[n(604)][n(544)]&&t[n(604)][n(805)]==t[n(730)][n(670)]?Nc(t[n(730)][n(670)],e):t}function Nc(t,e){const n=pc,r=e[n(841)][n(697)](t)||e[n(841)][n(590)](t);return e[n(797)](e[n(673)](t,n(859)),r?e[n(772)](t):e[n(673)](t,n(604)))}function Rc(t,e,n,r,s){const o=pc;if(!Sc(t,e))return!1;if(n[o(604)][o(912)](r[o(730)]))return!0;if(t[o(855)]!=e[o(855)])return!1;if(!n[o(604)][o(562)](r[o(730)]))return!1;const i=s[o(797)](n[o(604)],r[o(730)])[o(550)]();for(const t of i)if([o(531),o(572)][o(667)](t[o(855)])&&s[o(841)][o(548)](t[o(547)]))return!1;return!0}function Sc(t,e,n=[]){const r=pc;return!(!t[r(669)]||!e[r(669)])&&Or(gc(t[r(754)],n),gc(e[r(754)],n))}function Lc(t,e){const n=pc,r=vc(t[n(754)]),s=vc(e);if(!t[n(669)])return!1;for(const t of Object[n(748)](s))if(!Or(r[t],s[t]))return!1;return!0}function vc(t){const e=pc,n=Object[e(741)]({},t);return delete n[e(696)],delete n[e(645)],n}const Mc=Oc;function wc(){const t=["_discardCommand","plugins","isEnabled","_editor","isDirty","locale","destroy","_acceptCommand","243GowmsH","getRanges","change:isDirty","3wvSCJg","449838leOpuD","unbind","canDiscard","3049856rqqQuy","_setPendingAction","canAccept","926781nPwNAV","remove","acceptSuggestion","_pendingAction","get","model","3300508pSkqgR","view","328230bvEqJq","PendingActions","515890GTovru","add","PENDING_ACTION_SUGGESTION","commentThreadController","discardSuggestion","stopListening","canEditAt","commands","execute","6mkMwdK","_removePendingAction","4933365XyWkXZ","listenTo","bind"];return(wc=function(){return t})()}function Oc(t,e){const n=wc();return(Oc=function(t,e){return n[t-=110]})(t,e)}!function(t,e){const n=Oc,r=t();for(;;)try{if(518245===-parseInt(n(135))/1+-parseInt(n(129))/2*(-parseInt(n(128))/3)+-parseInt(n(141))/4+-parseInt(n(114))/5*(-parseInt(n(112))/6)+parseInt(n(143))/7+-parseInt(n(132))/8+-parseInt(n(125))/9*(-parseInt(n(145))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(wc);class Dc extends((0,e.ObservableMixin)()){constructor(t,e,n,r){const s=Oc;super(),this[s(140)]=e,this[s(142)]=n,this[s(148)]=r,this[s(120)]=t,this[s(124)]=t[s(110)][s(139)](s(137)),this[s(117)]=t[s(110)][s(139)](s(149)),this[s(142)][s(116)](s(119)).to(this[s(124)],this[s(117)],((t,e)=>t||e)),this[s(142)][s(116)](s(134)).to(this[s(124)],s(119),(t=>t&&this[s(120)][s(140)][s(151)](e[s(126)]()))),this[s(142)][s(116)](s(131)).to(this[s(117)],s(119),(t=>t&&this[s(120)][s(140)][s(151)](e[s(126)]()))),this[s(138)]=null,n[s(121)]&&this[s(133)](),this[s(115)](n,s(137),(()=>this[s(137)]())),this[s(115)](n,s(149),(()=>this[s(149)]())),this[s(115)](n,s(127),(()=>{const t=s;n[t(121)]?this[t(133)]():this[t(113)]()}))}[Mc(137)](){const t=Mc;this[t(124)][t(111)](this[t(140)].id)}[Mc(149)](){const t=Mc;this[t(117)][t(111)](this[t(140)].id)}[Mc(123)](){const t=Mc;this[t(142)][t(130)](t(119)),this[t(142)][t(130)](t(134)),this[t(142)][t(130)](t(131)),this[t(150)](),this[t(148)][t(123)](),this[t(138)]&&this[t(113)]()}[Mc(133)](){const t=Mc,e=zr(this[t(120)][t(122)],t(147));this[t(138)]=this[t(120)][t(118)][t(139)](t(144))[t(146)](e)}[Mc(113)](){const t=Mc;null!==this[t(138)]&&this[t(120)][t(118)][t(139)](t(144))[t(136)](this[t(138)]),this[t(138)]=null}}const Fc=Pc;function Pc(t,e){const n=xc();return(Pc=function(t,e){return n[t-=398]})(t,e)}function xc(){const t=["canDiscard","60591pNMEXg","_config","addComment","canAccept","14751780sMcXUB","isReadOnly","63aUQkfb","setData","isActive","assign","destroy","CommentView","87070MqjNRI","6890gMBYto","length","fire","cancel","_createCommentThreadInputView","updateComment","16051qjRZbu","4278830RoKYdJ","element","submit","commentThreadInputView","isDirty","editorConfig","set","bind","_createCommentViews","locale","commentInputView","disableComments","removeComment","value","delegate","showInput","authoredAt","_localUser","33tEovpo","134mAmtDk","hasDirtyComment","commentsListView","1230WXPuoq","475504LRHNRj","focus","3592ZFFGKJ","isEnabled","editor","descriptionParts","_model","disabledSubmit","commentThread"];return(xc=function(){return t})()}!function(t,e){const n=Pc,r=t();for(;;)try{if(911780===parseInt(n(419))/1+-parseInt(n(446))/2*(parseInt(n(407))/3)+-parseInt(n(399))/4*(-parseInt(n(420))/5)+-parseInt(n(449))/6*(-parseInt(n(426))/7)+parseInt(n(450))/8*(parseInt(n(413))/9)+-parseInt(n(427))/10*(-parseInt(n(445))/11)+-parseInt(n(411))/12)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(xc);class Bc extends s.View{constructor(t,e,n,r){const s=Pc;super(t),this[s(448)]=null,this[s(430)]=null,this[s(433)](s(415),!1),this[s(433)](s(443),e[s(443)]),this[s(434)](s(443)).to(e),this[s(433)](s(402),[]),this[s(433)](s(431),!1),this[s(433)](s(400),!1),this[s(433)](s(410),!1),this[s(433)](s(406),!1),this[s(403)]=e,this[s(444)]=n,this[s(408)]=r,r[s(438)]?this[s(433)](s(421),1):this[s(435)]()}[Fc(398)](){const t=Fc;this[t(428)][t(398)]()}[Fc(417)](){const t=Fc;this[t(448)]&&this[t(448)][t(417)](),this[t(430)]&&this[t(430)][t(417)](),super[t(417)]()}[Fc(435)](){const t=Fc,{CommentsListView:e}=this[t(408)];this[t(448)]=new e(this[t(436)],this[t(403)][t(405)],Object[t(416)]({CommentView:this[t(408)][t(418)]},this[t(408)])),this[t(448)][t(441)](t(439)).to(this),this[t(448)][t(441)](t(425)).to(this),this[t(448)][t(434)](t(415)).to(this),this[t(433)](t(421),this[t(448)][t(421)]+1),this[t(434)](t(421)).to(this[t(448)],t(421),(t=>t+1)),this[t(430)]=this[t(424)](),this.on(t(439),(()=>this[t(398)]())),this[t(434)](t(431)).to(this[t(448)],t(447),this[t(430)][t(437)],t(440),((t,e)=>t||!!e))}[Fc(424)](){const t=Fc,{CommentThreadInputView:e}=this[t(408)],n=new e(this[t(436)],this[t(444)],this[t(408)][t(432)]),r=n[t(437)];return n[t(434)](t(442)).to(this,t(415),this[t(403)][t(405)],t(412),r,t(440),((t,e,n)=>!!n||t&&!e)),r.on(t(429),((e,n)=>{const s=t;this[s(422)](s(409),n),r[s(401)][s(414)]("")})),r.on(t(423),(()=>this[t(398)]())),r[t(434)](t(404)).to(this[t(403)][t(405)],t(412)),n}}const Uc=jc;function jc(t,e){const n=Hc();return(jc=function(t,e){return n[t-=362]})(t,e)}!function(t,e){const n=jc,r=t();for(;;)try{if(770433===parseInt(n(395))/1*(parseInt(n(386))/2)+-parseInt(n(426))/3+parseInt(n(406))/4+-parseInt(n(429))/5*(parseInt(n(413))/6)+-parseInt(n(458))/7*(parseInt(n(409))/8)+parseInt(n(442))/9+-parseInt(n(378))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Hc);class Gc extends Bc{constructor(e,n,r,s){const i=jc;super(e,n,r,s),this[i(399)](i(388),""),this[i(372)](i(388)).to(this,i(440),(t=>t&&t[0]?t[0][i(388)]:"")),this[i(372)](i(438)).to(this,i(440),this,i(385),((t,e)=>{const n=i;let r="";for(const e of t)r+=n(416)+Vc(e[n(401)],e[n(439)])+n(424);return e?r:(0,o.trimHtml)(r,{limit:140})})),this[i(445)]=null,this[i(435)]=this[i(383)](zr(e,i(421)),t.icons[i(461)],i(454),i(410),"sw"),this[i(435)][i(372)](i(444)).to(this,i(367)),this[i(412)]=this[i(383)](zr(e,i(384)),t.icons[i(449)],i(464),i(450),"sw"),this[i(412)][i(372)](i(444)).to(this,i(368)),this[i(457)]=new o.UserView(e,this[i(391)][i(407)],this[i(418)]()),this[i(457)][i(404)]({attributes:{class:[i(425),i(437)]}}),this[i(455)](this[i(365)]())}[Uc(365)](){const t=Uc,e=this[t(453)],n=[{tag:t(419),attributes:{class:[t(371),t(431)]},children:[{tag:t(379),children:[{text:this[t(457)][t(463)]}],attributes:{class:[t(434),t(380)]}},{tag:t(362),attributes:{datetime:e.to(t(420)),class:[t(417),t(436)]},children:[{text:e.to(t(420),(e=>this[t(398)][t(427)](e)))}]}]},{tag:t(419),attributes:{class:[t(459),t(393)]},children:[this[t(435)],this[t(412)]]},{tag:t(419),attributes:{class:[t(389)]}}];this[t(391)][t(400)]&&n[t(370)]({tag:t(419),attributes:{class:[t(471)]},children:[{text:this[t(422)]()}]});const r={tag:t(419),attributes:{class:[t(451),e.if(t(385),t(423)),e.to(t(388),(e=>t(390)+e)),this[t(398)][t(452)]&&t(373)],"data-suggestion-id":this[t(391)].id,"data-thread-id":this[t(391)][t(392)].id,"data-author-id":this[t(391)][t(407)].id,tabindex:-1},children:[{tag:t(419),attributes:{class:[t(363),t(428)]},children:[this[t(457)],{tag:t(419),attributes:{class:[t(446),t(377)]},children:n}]}]};return this[t(397)]&&this[t(430)]&&(r[t(443)][t(370)](this[t(397)],this[t(430)]),this[t(397)][t(470)](t(415)).to(this),this[t(397)][t(470)](t(394)).to(this),this[t(430)][t(470)](t(415)).to(this),this[t(430)][t(470)](t(394)).to(this)),r}[Uc(375)](){const t=Uc;super[t(375)](),this[t(445)]=this[t(381)][t(465)](t(433)),this[t(445)][t(402)]=this[t(438)],this.on(t(462),((e,n,r)=>{const s=t;this[s(445)][s(402)]=r}))}[Uc(383)](t,e,n,r,o){const i=Uc,a=new s.ButtonView(this[i(396)]);return a[i(399)]({label:t,icon:e,tooltip:!0,tooltipPosition:o}),a[i(404)]({attributes:{class:n}}),a.on(i(448),(()=>{const t=i;this[t(403)](r,this[t(391)].id)})),a}[Uc(422)](){const t=Uc;return t(374)===this[t(391)][t(366)][t(364)][t(456)]?zr(this[t(396)],t(408)):zr(this[t(396)],t(466))}[Uc(418)](){const t=Uc;return this[t(391)][t(400)]?t(374)===this[t(391)][t(366)][t(364)][t(456)]?zr(this[t(396)],t(472),this[t(391)][t(411)][t(463)]):zr(this[t(396)],t(447),this[t(391)][t(411)][t(463)]):null}}function Vc(t,e){const n=Uc;let r="";return r+=t[n(376)]("*")[n(460)](((t,e)=>e%2!=0?n(369)+zc(t)+n(441):zc(t)))[n(405)](""),e&&(r+=n(387)+e[n(468)]+n(467)+e[n(382)]+n(414)),r}function Hc(){const t=["ck-suggestion--disabled-comments","importWord","render","split","ck-annotation__main","699550WWXAAc","span","ck-annotation__info-name","element","title","_createButton","Discard suggestion","isActive","4zBIsem",'<span class="ck-suggestion-color" style="background-color: ',"type","ck-annotation__content-wrapper","ck-suggestion-","_model","commentThread","ck-annotation__actions","editorDestroyed","667240pHAnrJ","locale","commentsListView","_config","set","isExternal","content","innerHTML","fire","extendTemplate","join","2317692kzDxMi","author","EXTERNAL_IMPORT_WORD_SUGGESTION","8iqCFzU","acceptSuggestion","creator","discardButton","18hwiLmM",'"></span>',"editorReady","<p>","ck-comment__info-time","getUserViewNotificationText","div","authoredAt","Accept suggestion","getExternalSuggestionNote","ck-suggestion-wrapper--active","</p>","ck-suggestion__user","2381427WttzWt","formatDateTime","ck-annotation","549365EcMrnf","commentThreadInputView","ck-annotation__info","innerText",".ck-annotation__content-wrapper","ck-suggestion__info-name","acceptButton","ck-annotation__info-time","ck-annotation__user","description","color","descriptionParts","</span>","3790089tNwhrV","children","isEnabled","_descriptionElement","ck-suggestion__main","EXTERNAL_AVATAR","execute","cancel","discardSuggestion","ck-suggestion-wrapper","disableComments","bindTemplate","ck-suggestion--accept","setTemplate","source","userView","2598456WcITva","ck-suggestion__actions","map","check","change:description","name","ck-suggestion--discard","querySelector","EXTERNAL_SUGGESTION",'" title="',"value","createElement","delegate","ck-comment__external","EXTERNAL_IMPORT_WORD_AVATAR","time","ck-suggestion","@external","getTemplate","attributes","canAccept","canDiscard",'<span class="ck-suggestion-type">',"push","ck-suggestion__info","bind"];return(Hc=function(){return t})()}function zc(t){const e=Uc,n=document[e(469)](e(379));return n[e(432)]=t,n[e(402)]}const Wc=Xc;function Xc(t,e){const n=Kc();return(Xc=function(t,e){return n[t-=474]})(t,e)}function Kc(){const t=["componentFactory","6044427PsikOh","suggestionLoaded","toMany","hasSuggestion","keys","innerView","comments.editorConfig","filter","30eVycOY","getMarkerNames","head","CommentsRepository","_descriptionFactory","trackChanges","_bindAnnotationToEditors","stopListening","getDescriptions","length","trackChanges.disableComments","execute","arrowView","Annotations","addSourceCollector","reduce","_handleSuggestionControllerDelayed","values","delete","Discard all selected suggestions","actionView","createAnnotationView","_destroyController","_unbindEditors","mainView","unbind","_disableComments","1FYVoHb","add","_annotationViews","descriptionParts","discardButton","isOn","discardAllSuggestions","acceptSelectedSuggestions","switchbutton","config","isMultiRange","suggestionUnloaded","listenTo","previous","addComment","getAllAdjacentSuggestions","suggestionChanged","trackChanges.SuggestionThreadView","suggestion-","SuggestionThreadView","init","focus","getByInnerView","size","commandName","Discard all suggestions","button","map","isDirty","locale","remove","commands","comments.maxCommentsWhenCollapsed","TrackChangesEditing","2153767TZHUAN","define","set","Accept all selected suggestions","from","CommentView","pluginName","source","_initializeController","change:activeAnnotations","6230922bSExXh","Accept all suggestions","model","requires","getFirstRange","_createUIButton","discardSelectedSuggestions","comments.maxCommentCharsWhenCollapsed","getSuggestion","destroy","CommentsUI","comments","editor","_updateController","getJoined","9627piFtCw","registerAnnotation","_refreshActiveMarkers","460968LWoPUO","acceptButton","view","getRanges","comments.maxThreadTotalWeight","Track changes","5574050VNnlhN","createCommentThreadController","isEnabled","value","has","3655432BKOtFf","buttonView","plugins","commentThread","isInContent","createAnnotation","type","get","_viewToController","clear","refreshSelectedViews","getMarkers","editing","_handleControllerBuffer","acceptAllSuggestions","EditorAnnotations","activeMarkers","separator","bind","some","activeAnnotations","push","_suggestionToController","1340zVeZGS","change:previous","TrackChangesUI","lowest"];return(Kc=function(){return t})()}!function(t,e){const n=Xc,r=t();for(;;)try{if(679377===-parseInt(n(490))/1*(-parseInt(n(552))/2)+parseInt(n(549))/3*(parseInt(n(586))/4)+parseInt(n(558))/5+parseInt(n(534))/6+-parseInt(n(524))/7+-parseInt(n(563))/8+-parseInt(n(591))/9*(parseInt(n(599))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Kc);class qc extends t.Plugin{static get[Wc(537)](){const t=Wc;return[Ic,o.Users,t(602),t(476),t(578)]}static get[Wc(530)](){return Wc(588)}constructor(t){const e=Wc;super(t),this[e(585)]=new Map,this[e(571)]=new Map,this[e(492)]=new Map,this[e(576)]=new Map;const n=this[e(546)][e(499)];n[e(525)](e(507),Gc),n[e(525)](e(609),!1),this[e(489)]=n[e(570)](e(609))}[Wc(479)](t,e){const n=Wc;0===this[n(576)][n(513)]&&setTimeout((()=>{const t=n;for(const[e,n]of this[t(576)]){const r=this[t(585)][t(562)](e);r||n?r&&n&&this[t(485)](e):this[t(532)](e)}this[t(576)][t(572)](),this[t(546)][t(565)][t(570)](t(578))[t(573)](),this[t(551)]()}),10),this[n(576)][n(526)](t,e)}[Wc(510)](){const t=Wc,e=this[t(546)],n=e[t(565)][t(570)](t(523)),r=e[t(565)][t(570)](t(476)),s=e[t(565)][t(570)](t(578)),o=e[t(565)][t(570)](t(602));e.ui[t(590)][t(491)](t(604),(e=>this[t(539)](e))),s[t(477)]((()=>{const e=t,n=[];for(const[t,r]of Array[e(528)](this[e(585)])){const s=t[e(505)](),o=[];for(const t of s){if(!t[e(567)])continue;if(t[e(500)]){o[e(584)](...t[e(555)]());continue}const n=t[e(538)]();if(o[e(608)]>0){const t=o[0][e(548)](n);if(t){o[0]=t;continue}}o[e(584)](n)}n[e(584)]([r[e(554)],o])}return n})),this[t(502)](n,t(592),((e,n)=>{const r=t;this[r(502)](n,r(587),((t,e,s,o)=>{const i=r;n[i(567)]&&(null==s?(this[i(547)](o[i(601)]),this[i(479)](n,!1)):(this[i(547)](s[i(601)]),null==o&&this[i(479)](n,!0)))})),null!==n[r(503)]?this[r(547)](n[r(601)]):this[r(479)](n,!1)})),this[t(502)](n,t(501),((e,n,r)=>{const s=t;this[s(606)](n,s(587)),this[s(576)][s(481)](n),this[s(585)][s(562)](n)&&this[s(485)](n),r&&this[s(547)](r[s(601)])})),this[t(502)](n,t(506),((e,n)=>{this[t(547)](n)})),this[t(502)](r,t(533),(()=>{this[t(551)]()})),this[t(502)](o,t(504),((e,{threadId:r,isFromAdapter:s})=>{const o=t;if(s||!n[o(594)](r))return;const i=n[o(542)](r);this[o(585)][o(570)](i)[o(554)][o(511)]()}),{priority:t(589)})}[Wc(551)](){const t=Wc,e=this[t(546)][t(565)][t(570)](t(476)),n=this[t(546)][t(565)][t(570)](t(523)),r=Array[t(528)](e[t(583)],(e=>e[t(596)]))[t(598)]((e=>this[t(571)][t(562)](e))),s=[];for(const e of r){const n=this[t(571)][t(570)](e)[t(536)][t(505)]();s[t(584)](...n[t(478)](((e,n)=>[...e,...n[t(600)]()]),[]))}n[t(579)]=s}[Wc(539)](t){const n=Wc,r=(0,s.createDropdown)(t,s.SplitButtonView),o=this[n(546)][n(521)][n(570)](n(604)),i=zr(t,n(557));r[n(564)][n(526)]({tooltip:i,label:i,icon:'\x3c!--\n\n What you\'re currently looking at is the source code of a legally protected, proprietary software.\n CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,\n all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.\n\n Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n\n!--\x3e\n\n<svg viewBox="0 0 20 20" width="20" height="20" xmlns="http://www.w3.org/2000/svg"><g fill="#000" fill-rule="nonzero"><path d="M1 3.28C1 2.574 1.574 2 2.272 2h10.23c.703 0 1.272.573 1.272 1.28v12.768c0 .708-.574 1.281-1.271 1.281H2.272A1.276 1.276 0 0 1 1 16.049V3.28zm11.503 12.954c-.008 0-.006-12.77-.006-12.77 0-.003-10.225-.004-10.225-.004.007 0 .005 12.77.005 12.77 0 .003 10.226.004 10.226.004zm-8.31-9.58c0-.353.292-.64.636-.64h5.116c.351 0 .636.284.636.64a.641.641 0 0 1-.636.638H4.829a.636.636 0 0 1-.635-.639zm0 2.554c0-.352.292-.638.636-.638h5.116c.351 0 .636.283.636.638a.641.641 0 0 1-.636.639H4.829a.636.636 0 0 1-.635-.639zm0 2.555c0-.353.289-.639.633-.639h2.567c.35 0 .633.284.633.64a.639.639 0 0 1-.633.638H4.826a.634.634 0 0 1-.632-.639z"/><path d="M10.515 17.958l.154-.23c-.195-.099-.304-.193-.328-.28-.024-.09.001-.275.076-.552.062-.165.099-.296.111-.393.013-.159.013-.319 0-.478-.138-.41-.2-.686-.187-.83.013-.145.117-.335.313-.57l4.465-6.208c.356-.6 1.059-.56 2.11.119 1.051.68 1.443 1.271 1.177 1.771L14.53 17.14c-.105.271-.22.444-.347.516-.128.07-.399.118-.813.138a2.954 2.954 0 0 0-.487.21 2.044 2.044 0 0 0-.347.31c-.193.174-.332.262-.416.262-.064 0-.178-.05-.346-.15l-.204.27-1.056-.738h.001zm-.184.274l1.039.727-.259.34H9.614l.717-1.067z"/></g></svg>\n'}),r[n(564)][n(581)](n(495)).to(o,n(561)),r[n(564)].on(n(474),(()=>{const t=n;o[t(474)](),this[t(546)][t(575)][t(554)][t(511)]()}));const a=new e.Collection,c=[{type:n(498),model:{withText:!0,label:i,commandName:n(604)}},{type:n(580)},{type:n(516),model:{withText:!0,label:zr(t,n(535)),commandName:n(577)}},{type:n(516),model:{withText:!0,label:zr(t,n(527)),commandName:n(497)}},{type:n(516),model:{withText:!0,label:zr(t,n(515)),commandName:n(496)}},{type:n(516),model:{withText:!0,label:zr(t,n(482)),commandName:n(540)}}];for(const t of c){let e={type:n(580)};if(t[n(536)]){const r=new s.ViewModel(t[n(536)]),o=this[n(546)][n(521)][n(570)](r[n(514)]);r[n(581)](n(495),n(560)).to(o,n(561),n(560)),e={type:t[n(569)],model:r}}a[n(491)](e)}(0,s.addListToDropdown)(r,a);const u=c[n(598)]((t=>null!=t[n(536)]))[n(517)]((t=>this[n(546)][n(521)][n(570)](t[n(536)][n(514)]))),l=r[n(564)];return l[n(483)][n(488)](n(560)),l[n(475)][n(488)](n(560)),l[n(483)][n(581)](n(560)).to(o,n(560)),l[n(475)][n(581)](n(560))[n(593)](u,n(560),((...t)=>t[n(582)]((t=>t)))),r.on(n(474),(t=>{const e=n;this[e(546)][e(474)](t[e(531)][e(514)]),this[e(546)][e(575)][e(554)][e(511)]()})),r}[Wc(532)](t){const e=Wc,n=this[e(546)],r=n[e(499)],s=n[e(565)][e(570)](e(476)),i=n[e(565)][e(570)](e(602)),a=n[e(565)][e(570)](e(578)),c=n[e(565)][e(570)](o.Users).me,u=r[e(570)](e(604))[e(509)],{CommentsListView:l,CommentThreadInputView:f}=n[e(565)][e(570)](e(544));let h,g;this[e(492)][e(562)](t.id)?(g=this[e(492)][e(570)](t.id),h=g[e(487)]):(h=new u(n[e(519)],t,c,{disableComments:this[e(489)],editorConfig:r[e(570)](e(597)),maxCommentsWhenCollapsed:r[e(570)](e(522)),maxThreadTotalWeight:r[e(570)](e(556)),maxCommentCharsWhenCollapsed:r[e(570)](e(541)),formatDateTime:(0,o.getDateTimeFormatter)(r[e(570)](e(519))),CommentView:r[e(570)](e(545))[e(529)],CommentsListView:l,CommentThreadInputView:f}),h[e(553)].on(e(474),(()=>{const t=e;n[t(575)][t(554)][t(511)]()})),h[e(494)].on(e(474),(()=>{const t=e;n[t(575)][t(554)][t(511)]()})),g=s[e(484)](this[e(546)][e(519)],h),g[e(581)](e(518)).to(h,e(518)),g[e(581)](e(608)).to(h),g[e(581)](e(569)).to(h,e(569),(t=>e(508)+t)),this[e(492)][e(526)](t.id,g));const d=i[e(559)](t[e(566)],h),p=new Dc(n,t,h,d),m=t[e(505)]()[e(598)]((t=>t[e(567)]));h[e(493)]=n[e(565)][e(570)](e(523))[e(603)][e(607)](m),this[e(585)][e(526)](t,p),this[e(571)][e(526)](h,p);const I=s[e(568)]({view:g,target:()=>{const r=e,s=[],i=t[r(505)]()[r(598)]((t=>t[r(567)]));for(const t of i)s[r(584)](...t[r(574)]());return(0,o.getAllMarkersDomElementsSorted)(n[r(575)],s)},type:()=>e(508)+p[e(554)][e(569)]});i[e(605)](h,I),s[e(491)](I),a[e(550)](I)}[Wc(485)](t){const e=Wc,n=this[e(546)][e(565)][e(570)](e(602)),r=this[e(546)][e(565)][e(570)](e(476)),s=this[e(585)][e(570)](t),o=s[e(554)],i=r[e(512)](o);n[e(486)](o),i&&r[e(520)](i),this[e(585)][e(481)](t),this[e(571)][e(481)](o),s[e(543)]()}[Wc(547)](t){const e=Wc;if(!t[e(567)]||!this[e(585)][e(562)](t))return;const n=this[e(546)][e(565)][e(570)](e(523)),r=this[e(585)][e(570)](t),s=t[e(505)]();r[e(554)][e(493)]=n[e(603)][e(607)](s)}[Wc(543)](){const t=Wc;for(const e of this[t(585)][t(595)]())this[t(485)](e);for(const e of this[t(492)][t(480)]())e[t(487)][t(543)]();super[t(543)]()}}var Jc=Qc;function Qc(t,e){var n=Yc();return(Qc=function(t,e){return n[t-=270]})(t,e)}function Yc(){var t=["6873498nGgdXh","2267310AeCeTZ","editor","24tjTKth","plugins","getSuggestions","pluginName","2670cJYkSQ","3193666MgciqM","586AQKLJP","requires","Comments","2902112fVfXYO","TrackChanges","adapter","get","970070EDTPKm","416546aXRvYd","addSuggestion","addSuggestionData","getSuggestion"];return(Yc=function(){return t})()}!function(t,e){for(var n=Qc,r=t();;)try{if(381725===-parseInt(n(289))/1+parseInt(n(281))/2*(parseInt(n(279))/3)+-parseInt(n(284))/4+-parseInt(n(288))/5+-parseInt(n(273))/6+-parseInt(n(280))/7+-parseInt(n(275))/8*(-parseInt(n(272))/9))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Yc);class Zc extends t.Plugin{static get[Jc(282)](){return[Ic,qc,Jc(283)]}static get[Jc(278)](){return Jc(285)}set[Jc(286)](t){var e=Jc;this[e(274)][e(276)][e(287)](Ic)[e(286)]=t}get[Jc(286)](){var t=Jc;return this[t(274)][t(276)][t(287)](Ic)[t(286)]}[Jc(290)](t){var e=Jc;return this[e(274)][e(276)][e(287)](Ic)[e(270)](t)}[Jc(277)]({skipNotAttached:t=!1,toJSON:e=!1}={}){var n=Jc;return this[n(274)][n(276)][n(287)](Ic)[n(277)]({skipNotAttached:t,toJSON:e})}[Jc(271)](t){var e=Jc;return this[e(274)][e(276)][e(287)](Ic)[e(271)](t)}}const $c=tu;function tu(t,e){const n=eu();return(tu=function(t,e){return n[t-=427]})(t,e)}function eu(){const t=["map","pluginName","get","getDataWithDiscardedSuggestions","discardAllSuggestions","createDocumentFragment","trackChangesData.editorCreator","getRootsAttributes","TrackChangesEditing","7182110LylPrk","54462aRBtLQ","execute","getFullData","document","514343tDFvmg","define","track-changes-data-invalid-editor-creator","editorCreator","editor","2662992jfZnJI","Pagination","TrackChangesDataGetter","rootsAttributes","_adapter","CommentsRepository","addSuggestionData","9swYyKD","appendChild","function","constructor","div","model","57AXmhkQ","push","15198MsUyLo","getUser","1428325RjzBhP","Users","trackChangesData","getRootNames","reduce","config","data","create","end","TrackChangesData","createElement","requires","init","destroy","getDataWithAcceptedSuggestions","plugins","acceptAllSuggestions","useAnonymousUser","addUser","result","584540wYIfuT","users","set","getSuggestions","266EjspmO","name"];return(eu=function(){return t})()}!function(t,e){const n=tu,r=t();for(;;)try{if(360261===parseInt(n(478))/1+parseInt(n(436))/2*(parseInt(n(434))/3)+parseInt(n(458))/4+parseInt(n(438))/5+parseInt(n(474))/6*(-parseInt(n(462))/7)+-parseInt(n(483))/8*(-parseInt(n(428))/9)+-parseInt(n(473))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(eu);const nu=[$c(484)];class ru extends t.Plugin{static get[$c(449)](){return[Ic]}static get[$c(465)](){return $c(447)}[$c(450)](){const t=$c,n=this[t(482)];if(n[t(443)][t(479)](t(470),(e=>{const r=t,s=n[r(433)][r(477)][r(441)]()[r(442)](((t,e)=>(t[e]="",t)),{});return n[r(431)][r(445)](s,e)})),t(430)!=typeof n[t(443)][t(466)](t(440))[t(481)])throw new e.CKEditorError(t(480))}[$c(452)](t){return iu(this[$c(482)],!0,t)}[$c(467)](t){return iu(this[$c(482)],!1,t)}}class su extends t.Plugin{static get[$c(465)](){return $c(485)}constructor(t){const e=$c;super(t),this[e(457)]=e(446)}[$c(450)](){const t=$c;this[t(482)][t(453)][t(466)](t(488))[t(487)]={addCommentThread:()=>new Promise((()=>{})),getCommentThread:()=>new Promise((()=>{})),updateCommentThread:()=>new Promise((()=>{})),resolveCommentThread:()=>new Promise((()=>{})),reopenCommentThread:()=>new Promise((()=>{})),removeCommentThread:()=>new Promise((()=>{})),addComment:()=>new Promise((()=>{})),updateComment:()=>new Promise((()=>{})),removeComment:()=>new Promise((()=>{}))},this[t(482)][t(453)][t(466)](t(472))[t(487)]=null}}function ou(t){return void 0!==t[$c(471)]}async function iu(t,e,n){const r=$c,s=(0,o.sanitizeEditorConfig)(t,nu);s[r(453)][r(435)](Ic,su),s[r(486)]=ou(t)?t[r(471)]():void 0;const i=document[r(469)](),a=t[r(443)][r(466)](r(440))[r(481)],c=await a(s,(()=>function(t){const e=r,n=document[e(448)](e(432));return t[e(429)](n),n}(i)));!function(t,e){const n=r,s=t[n(433)][n(477)][n(441)]()[n(442)](((e,r)=>(e[r]=t[n(444)][n(466)]({rootName:r}),e)),{}),o=t[n(453)][n(466)](n(439))[n(459)][n(464)]((t=>({id:t.id,name:t[n(463)]}))),i=t[n(453)][n(466)](n(472))[n(461)]({skipNotAttached:!0,toJSON:!0}),a=e[n(453)][n(466)](n(439)),c=e[n(453)][n(466)](n(472));for(const t of o)a[n(437)](t.id)||a[n(456)](t);a.me||a[n(455)]();for(const t of i)c[n(427)](t);e[n(444)][n(460)](s)}(t,c),c[r(475)](r(e?454:468));const u=ou(c)?c[r(476)](n):c[r(444)][r(466)](n);return await c[r(451)](),u}function au(){var t=["3464clNafe","216MEDYAh","178jSgLMi","2290UoKcxR","1704505diraQB","38319txCvhV","6mAyaEz","4659675uBpjUr","12481840XuVovH","1824193KIZTsH","11142cosaVb"];return(au=function(){return t})()}function cu(t,e){var n=au();return(cu=function(t,e){return n[t-=221]})(t,e)}!function(t,e){for(var n=cu,r=t();;)try{if(856157===-parseInt(n(222))/1*(parseInt(n(221))/2)+parseInt(n(224))/3*(-parseInt(n(231))/4)+parseInt(n(226))/5+-parseInt(n(225))/6*(-parseInt(n(228))/7)+-parseInt(n(230))/8*(parseInt(n(229))/9)+parseInt(n(227))/10+-parseInt(n(223))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(au)})(),(window.CKEditor5=window.CKEditor5||{}).trackChanges=r})();
|