@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240313.0 → 0.0.0-nightly-20240314.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- 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
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3d39f7=_0x3c1f;function _0x4bc6(){const _0x1aeee0=['has','12DMFJeH','7508pvchmE','3296283tzhZOy','Template','editor','209faWSYR','plugins','get','afterInit','19384560HJgHkt','2043852sEAsGa','501770CfdYmS','insertTemplate','1639888xLbxzX','TrackChangesEditing','enableCommand','4137791GMTTad'];_0x4bc6=function(){return _0x1aeee0;};return _0x4bc6();}(function(_0x1f0df0,_0xc9e474){const _0xf4715b=_0x3c1f,_0x2737ff=_0x1f0df0();while(!![]){try{const _0x3c5649=-parseInt(_0xf4715b(0x77))/0x1*(-parseInt(_0xf4715b(0x73))/0x2)+parseInt(_0xf4715b(0x74))/0x3+parseInt(_0xf4715b(0x72))/0x4*(-parseInt(_0xf4715b(0x7d))/0x5)+parseInt(_0xf4715b(0x7c))/0x6+parseInt(_0xf4715b(0x70))/0x7+parseInt(_0xf4715b(0x6d))/0x8+-parseInt(_0xf4715b(0x7b))/0x9;if(_0x3c5649===_0xc9e474)break;else _0x2737ff['push'](_0x2737ff['shift']());}catch(_0x4f30b2){_0x2737ff['push'](_0x2737ff['shift']());}}}(_0x4bc6,0x89fc2));function _0x3c1f(_0x2aafcf,_0x5ba978){const _0x4bc602=_0x4bc6();return _0x3c1f=function(_0x3c1f1b,_0x4e6817){_0x3c1f1b=_0x3c1f1b-0x6c;let _0x16eb1=_0x4bc602[_0x3c1f1b];return _0x16eb1;},_0x3c1f(_0x2aafcf,_0x5ba978);}import{Plugin as _0x42a303}from'ckeditor5/src/core.js';export default class vt extends _0x42a303{[_0x3d39f7(0x7a)](){const _0x139491=_0x3d39f7,_0x5ebe44=this[_0x139491(0x76)];_0x5ebe44[_0x139491(0x78)][_0x139491(0x71)](_0x139491(0x75))&&_0x5ebe44[_0x139491(0x78)][_0x139491(0x79)](_0x139491(0x6e))[_0x139491(0x6f)](_0x139491(0x6c));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x31220d=_0x5848;(function(_0x4be89b,_0x273a2d){const _0x421c4e=_0x5848,_0x203fd0=_0x4be89b();while(!![]){try{const _0x2a0a62=parseInt(_0x421c4e(0x1ae))/0x1+-parseInt(_0x421c4e(0x194))/0x2*(parseInt(_0x421c4e(0x1b4))/0x3)+parseInt(_0x421c4e(0x1be))/0x4*(-parseInt(_0x421c4e(0x1a4))/0x5)+-parseInt(_0x421c4e(0x19a))/0x6*(-parseInt(_0x421c4e(0x1aa))/0x7)+-parseInt(_0x421c4e(0x19f))/0x8+parseInt(_0x421c4e(0x1b6))/0x9+parseInt(_0x421c4e(0x1bb))/0xa;if(_0x2a0a62===_0x273a2d)break;else _0x203fd0['push'](_0x203fd0['shift']());}catch(_0x1a0d35){_0x203fd0['push'](_0x203fd0['shift']());}}}(_0x27c8,0x41434));import{Plugin as _0x409174}from'ckeditor5/src/core.js';function _0x5848(_0x4c41ae,_0x58c439){const _0x27c8ce=_0x27c8();return _0x5848=function(_0x58487b,_0x129b1d){_0x58487b=_0x58487b-0x194;let _0x1ba7f8=_0x27c8ce[_0x58487b];return _0x1ba7f8;},_0x5848(_0x4c41ae,_0x58c439);}import{getTranslation as _0x42bb39}from'../utils/common-translations.js';function _0x27c8(){const _0x37ca6b=['3952408eNxsMA','newRange','getNearestSelectionRange','ELEMENT_TITLE','differ','5xgvPBB','Title','nodeBefore','getChangedMarkers','start','title-content','33978IeYUaz','get','isTouching','locale','524303bFQENF','updateMarker','registerElementLabel','isCollapsed','isEqual','document','3JNihxx','afterInit','3342393YwfyId','element','schema','editor','end','5585420gjkYDE','_descriptionFactory','has','1296928DQlocS','forward','931406lfFmuV','_splitMarkerName','suggestion','from','plugins','TrackChangesEditing','120tiKShO','createRange','removeMarker','registerPostFixer','model'];_0x27c8=function(){return _0x37ca6b;};return _0x27c8();}export default class Ct extends _0x409174{[_0x31220d(0x1b5)](){const _0xba68aa=_0x31220d,_0x57efd5=this[_0xba68aa(0x1b9)];if(!_0x57efd5[_0xba68aa(0x198)][_0xba68aa(0x1bd)](_0xba68aa(0x1a5)))return;const _0x512141=_0x57efd5[_0xba68aa(0x198)][_0xba68aa(0x1ab)](_0xba68aa(0x199));_0x512141[_0xba68aa(0x1bc)][_0xba68aa(0x1b0)](_0xba68aa(0x1a9),()=>_0x42bb39(_0x57efd5[_0xba68aa(0x1ad)],_0xba68aa(0x1a2))),_0x57efd5[_0xba68aa(0x19e)][_0xba68aa(0x1b3)][_0xba68aa(0x19d)](_0x20e8f3=>{const _0x136877=_0xba68aa;let _0x209757=!0x1;const _0x31cf95=Array[_0x136877(0x197)](_0x57efd5[_0x136877(0x19e)][_0x136877(0x1b3)][_0x136877(0x1a3)][_0x136877(0x1a7)]());for(const {name:_0x29d7b8,data:_0xd1c8bf}of _0x31cf95){const {group:_0x553072}=_0x512141[_0x136877(0x195)](_0x29d7b8);if(_0x136877(0x196)!==_0x553072||!_0xd1c8bf[_0x136877(0x1a0)])continue;const _0xec855a=_0xd1c8bf[_0x136877(0x1a0)],_0x3667ab=_0xec855a[_0x136877(0x1ba)][_0x136877(0x1a6)];if(!_0x3667ab||!_0x3667ab['is'](_0x136877(0x1b7),_0x136877(0x1a9)))continue;if(!_0xec855a[_0x136877(0x1a8)][_0x136877(0x1ac)](_0xec855a[_0x136877(0x1ba)]))continue;const _0x3d6020=_0x57efd5[_0x136877(0x19e)][_0x136877(0x1b8)][_0x136877(0x1a1)](_0xec855a[_0x136877(0x1ba)],_0x136877(0x1bf));if(_0x3d6020&&_0x3d6020[_0x136877(0x1b1)]){const _0x14f13f=_0x20e8f3[_0x136877(0x19b)](_0xec855a[_0x136877(0x1a8)],_0x3d6020[_0x136877(0x1a8)]);_0x14f13f[_0x136877(0x1b2)](_0xec855a)||(_0x20e8f3[_0x136877(0x1af)](_0x29d7b8,{'range':_0x14f13f}),_0x209757=!0x0);}_0x209757||(_0x20e8f3[_0x136877(0x19c)](_0x29d7b8),_0x209757=!0x0);}return _0x209757;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x32d4(){const _0x41d557=['enableCommand','editor','1162278afwbTo','30275600mXIRXP','1821544FasQZm','redo','5430LfIHah','2717224eBKQKb','has','UndoEditing','1584BSsewY','afterInit','get','7294511zejmxh','TrackChangesEditing','undo','9XcbCLw','7JhGCAt','plugins','64166jTXnBz'];_0x32d4=function(){return _0x41d557;};return _0x32d4();}const _0x5b2515=_0x15d4;(function(_0x2a8d65,_0x340d0c){const _0x3e1ac9=_0x15d4,_0x30a953=_0x2a8d65();while(!![]){try{const _0x50d427=parseInt(_0x3e1ac9(0x9d))/0x1*(-parseInt(_0x3e1ac9(0x9f))/0x2)+-parseInt(_0x3e1ac9(0xa2))/0x3+-parseInt(_0x3e1ac9(0xa7))/0x4+parseInt(_0x3e1ac9(0xa6))/0x5*(-parseInt(_0x3e1ac9(0xaa))/0x6)+-parseInt(_0x3e1ac9(0xad))/0x7+parseInt(_0x3e1ac9(0xa4))/0x8*(parseInt(_0x3e1ac9(0x9c))/0x9)+parseInt(_0x3e1ac9(0xa3))/0xa;if(_0x50d427===_0x340d0c)break;else _0x30a953['push'](_0x30a953['shift']());}catch(_0x47ac37){_0x30a953['push'](_0x30a953['shift']());}}}(_0x32d4,0x9b11b));function _0x15d4(_0x11a12f,_0x559409){const _0x32d45c=_0x32d4();return _0x15d4=function(_0x15d4ef,_0x3e2a30){_0x15d4ef=_0x15d4ef-0x9c;let _0x46caa6=_0x32d45c[_0x15d4ef];return _0x46caa6;},_0x15d4(_0x11a12f,_0x559409);}import{Plugin as _0x11665e}from'ckeditor5/src/core.js';export default class Dt extends _0x11665e{[_0x5b2515(0xab)](){const _0x299fe7=_0x5b2515,_0x36fbc1=this[_0x299fe7(0xa1)],_0x575539=_0x36fbc1[_0x299fe7(0x9e)][_0x299fe7(0xac)](_0x299fe7(0xae));_0x36fbc1[_0x299fe7(0x9e)][_0x299fe7(0xa8)](_0x299fe7(0xa9))&&(_0x575539[_0x299fe7(0xa0)](_0x299fe7(0xaf)),_0x575539[_0x299fe7(0xa0)](_0x299fe7(0xa5)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x19f4d7,_0x1f431d){const _0x308dff=_0x58de,_0x4abee3=_0x19f4d7();while(!![]){try{const _0x75c4da=parseInt(_0x308dff(0xed))/0x1+parseInt(_0x308dff(0xbb))/0x2+parseInt(_0x308dff(0xc3))/0x3+-parseInt(_0x308dff(0xe8))/0x4*(parseInt(_0x308dff(0xd5))/0x5)+parseInt(_0x308dff(0xc9))/0x6+parseInt(_0x308dff(0xbe))/0x7*(-parseInt(_0x308dff(0xcc))/0x8)+parseInt(_0x308dff(0xbc))/0x9*(-parseInt(_0x308dff(0xd9))/0xa);if(_0x75c4da===_0x1f431d)break;else _0x4abee3['push'](_0x4abee3['shift']());}catch(_0x1692eb){_0x4abee3['push'](_0x4abee3['shift']());}}}(_0x209e,0xaf89b));export function getRangesWithAttribute(_0xfaee6f,_0x1d6059,_0x403dec){const _0x4ef614=_0x58de,_0x28cce1=[];for(const _0x282e39 of _0x1d6059[_0x4ef614(0xe4)]())_0x282e39[_0x4ef614(0xd1)](_0xfaee6f)&&_0x28cce1[_0x4ef614(0xc2)](_0x403dec[_0x4ef614(0xe2)](_0x282e39));return _0x28cce1;}export function getElementsAffectedByListItemRename(_0x344024){const _0x6b6472=_0x58de,_0x487044=[];if(_0x344024['is'](_0x6b6472(0xc4),_0x6b6472(0xe0))){let _0x5a7e2e=_0x344024[_0x6b6472(0xc0)];for(;_0x5a7e2e&&_0x5a7e2e['is'](_0x6b6472(0xc4),_0x6b6472(0xe0))&&_0x5a7e2e[_0x6b6472(0xc8)](_0x6b6472(0xe9))>0x0;)_0x487044[_0x6b6472(0xc2)](_0x5a7e2e),_0x5a7e2e=_0x5a7e2e[_0x6b6472(0xc0)];}return _0x487044;}function _0x58de(_0x53f271,_0x2939bd){const _0x209e00=_0x209e();return _0x58de=function(_0x58debf,_0x10b3e){_0x58debf=_0x58debf-0xb7;let _0x1152b3=_0x209e00[_0x58debf];return _0x1152b3;},_0x58de(_0x53f271,_0x2939bd);}function _0x209e(){const _0xfd0143=['activeMarkers','1225944yRRemh','ck-suggestion-marker-','isAtEnd','getWalker','bindElementToMarker','1800058UgVDsm','21773079mOupxR','span','63KVhepX','test','nextSibling','previousPosition','push','1718517GnPGue','element','markerRange','elementEnd','mapper','getAttribute','7415658qWPEnR','isBlock','toViewElement','561064DQvvLd','consumable','TrackChangesEditing','createUIElement','addClass','hasAttribute','get','schema','plugins','115hHszWK','model','parent','start','10KTHtcN','name','type','ck-suggestion-marker--active','toViewPosition','writer','addHighlight','listItem','markerName','createRangeOn','includes','getItems','isContent','isLimit','item','28752ZVnZEv','listIndent','insert','getCustomProperty'];_0x209e=function(){return _0xfd0143;};return _0x209e();}export function downcastSplitMergeMarker(_0x263ae7,_0x5d5262,{showActiveMarker:_0x3cbdcc=!0x0}={}){const _0x2232b3=_0x58de,_0x557ff9=_0x263ae7[_0x2232b3(0xd4)][_0x2232b3(0xd2)](_0x2232b3(0xce));return(_0x47c6d4,_0xf54d48,_0x1d2959)=>{const _0x25eede=_0x2232b3;if(!_0x1d2959[_0x25eede(0xcd)][_0x25eede(0xbf)](_0xf54d48[_0x25eede(0xc5)],_0x47c6d4[_0x25eede(0xda)]))return;const _0x3e1482=_0xf54d48[_0x25eede(0xc5)][_0x25eede(0xb9)](),_0x568be9=_0xf54d48[_0x25eede(0xc5)][_0x25eede(0xd8)],_0x5ba646=_0x263ae7[_0x25eede(0xd6)][_0x25eede(0xd3)];let _0x167e0b=null,_0x5ac751=null,_0x3abd6d=!0x1,_0x123a10=!0x1;for(const _0x8fb9a9 of _0x3e1482){const _0x4fdb3d=_0x8fb9a9[_0x25eede(0xe7)];_0x3abd6d=_0x3abd6d||_0x5ba646[_0x25eede(0xe5)](_0x4fdb3d);const _0x94fbb5=_0x1d2959[_0x25eede(0xc7)][_0x25eede(0xcb)](_0x4fdb3d);if(_0x94fbb5&&_0x94fbb5[_0x25eede(0xeb)](_0x25eede(0xdf)))return;_0x25eede(0xc6)==_0x8fb9a9[_0x25eede(0xdb)]&&(_0x5ba646[_0x25eede(0xca)](_0x4fdb3d)&&!_0x5ba646[_0x25eede(0xe6)](_0x4fdb3d)&&(_0x4fdb3d[_0x25eede(0xc0)]||_0x568be9[_0x25eede(0xb8)]?_0x167e0b&&_0x167e0b[_0x25eede(0xd7)]==_0x4fdb3d||(_0x167e0b=_0x4fdb3d,_0x4553ea(_0x8fb9a9[_0x25eede(0xc1)]),_0x123a10=!0x0):_0x5ac751=_0x5ac751||_0x8fb9a9[_0x25eede(0xc1)]));}function _0x4553ea(_0x596dda){const _0x4b8cfc=_0x25eede,_0x24d5c6=_0x1d2959[_0x4b8cfc(0xde)][_0x4b8cfc(0xcf)](_0x4b8cfc(0xbd),{'class':_0x4b8cfc(0xb7)+_0x5d5262}),_0x2ef0bb=_0x1d2959[_0x4b8cfc(0xc7)][_0x4b8cfc(0xdd)](_0x596dda);_0x3cbdcc&&_0x557ff9[_0x4b8cfc(0xec)][_0x4b8cfc(0xe3)](_0xf54d48[_0x4b8cfc(0xe1)])&&_0x1d2959[_0x4b8cfc(0xde)][_0x4b8cfc(0xd0)](_0x4b8cfc(0xdc),_0x24d5c6),_0x1d2959[_0x4b8cfc(0xde)][_0x4b8cfc(0xea)](_0x2ef0bb,_0x24d5c6),_0x1d2959[_0x4b8cfc(0xc7)][_0x4b8cfc(0xba)](_0x24d5c6,_0xf54d48[_0x4b8cfc(0xe1)]);}_0x3abd6d||_0x123a10||!_0x5ac751||_0x4553ea(_0x5ac751);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x46ef80=_0x3133;(function(_0xb1a060,_0x19d1ac){const _0x568ca3=_0x3133,_0x67783c=_0xb1a060();while(!![]){try{const _0x3014ce=parseInt(_0x568ca3(0x193))/0x1+parseInt(_0x568ca3(0x1a6))/0x2+parseInt(_0x568ca3(0x181))/0x3*(parseInt(_0x568ca3(0x1bd))/0x4)+-parseInt(_0x568ca3(0x1a7))/0x5*(parseInt(_0x568ca3(0x19d))/0x6)+parseInt(_0x568ca3(0x183))/0x7*(-parseInt(_0x568ca3(0x1b4))/0x8)+-parseInt(_0x568ca3(0x1c6))/0x9+parseInt(_0x568ca3(0x188))/0xa;if(_0x3014ce===_0x19d1ac)break;else _0x67783c['push'](_0x67783c['shift']());}catch(_0x18eb84){_0x67783c['push'](_0x67783c['shift']());}}}(_0x39dd,0xcdc9a));import{Element as _0x14f8c1}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x3e8bad,uid as _0x20e96f}from'ckeditor5/src/utils.js';function _0x39dd(){const _0x2ef9b4=['length','data','removeMarkers','reduce','push','subType','isIntersectingWithRange','isMultiRange','onAccept','getFirstRange','306671ymxXgJ','getMarkerNames','isInContent','filter','_onAccept','onAttributesChange','getAllAdjacentSuggestions','getItems','isIntersecting','map','7829502MmlkQD','_markerNames','discard','removeMarker','delete','addMarkerName','authoredAt','substr','change','733476EJCwIQ','5DTGxUL','addRange','nodeBefore','start','isExternal','getFirstMarker','createdAt','_isDataLoaded','attributes','@external','suggestion:','end','hasComments','376YlmyKH','addMarker','from','onDiscard','setAttribute','creator','previous','decorate','getRanges','2528VNKbfH','_onAttributesChange','size','accept','getMarkers','toJSON','next','markers','_model','2324574csydti','getContainedElement','clear','nodeAfter','author','type','getMultiRangeId','split','removeAttribute','_saved','commentThread','getRange','420MqkXAD','add','38059tcUayy','set','_onDiscard','head','get','18997590wsLilb'];_0x39dd=function(){return _0x2ef9b4;};return _0x39dd();}import{cloneDeep as _0x2522d4,isEqual as _0x1d12b8,set as _0x5cbb9c,unset as _0x22ac20}from'lodash-es';function _0x3133(_0x1a4f0d,_0x51e1a7){const _0x39dd83=_0x39dd();return _0x3133=function(_0x31338e,_0x5da13e){_0x31338e=_0x31338e-0x177;let _0x1adc0f=_0x39dd83[_0x31338e];return _0x1adc0f;},_0x3133(_0x1a4f0d,_0x51e1a7);}export default class u extends _0x3e8bad(){constructor(_0x593cc3,_0x2962cf){const _0x3ae58d=_0x3133;super(),this[_0x3ae58d(0x1ae)]=!0x1,this['id']=_0x2962cf['id'],this[_0x3ae58d(0x17a)]=_0x2962cf[_0x3ae58d(0x17a)],this[_0x3ae58d(0x18e)]=_0x2962cf[_0x3ae58d(0x18e)]||null,this[_0x3ae58d(0x179)]=_0x2962cf[_0x3ae58d(0x179)],this[_0x3ae58d(0x1b9)]=_0x2962cf[_0x3ae58d(0x1b9)]||_0x2962cf[_0x3ae58d(0x179)],this[_0x3ae58d(0x1ab)]=Boolean(_0x2962cf[_0x3ae58d(0x1af)]&&_0x2962cf[_0x3ae58d(0x1af)][_0x3ae58d(0x1b0)]),this[_0x3ae58d(0x18a)]=null,this[_0x3ae58d(0x1c5)]=_0x593cc3,this[_0x3ae58d(0x197)]=_0x2962cf[_0x3ae58d(0x191)],this[_0x3ae58d(0x185)]=_0x2962cf[_0x3ae58d(0x1b7)],this[_0x3ae58d(0x1be)]=_0x2962cf[_0x3ae58d(0x198)],this[_0x3ae58d(0x19e)]=new Set(),this[_0x3ae58d(0x1ad)]=null,this[_0x3ae58d(0x184)](_0x3ae58d(0x1a3),null),this[_0x3ae58d(0x184)](_0x3ae58d(0x1af),_0x2962cf[_0x3ae58d(0x1af)]||{}),this[_0x3ae58d(0x184)](_0x3ae58d(0x1ba),null),this[_0x3ae58d(0x184)](_0x3ae58d(0x1c3),null),this[_0x3ae58d(0x184)](_0x3ae58d(0x17f),null),this[_0x3ae58d(0x184)](_0x3ae58d(0x17e),!0x1),this[_0x3ae58d(0x1bb)](_0x3ae58d(0x1c0)),this[_0x3ae58d(0x1bb)](_0x3ae58d(0x19f));}get[_0x46ef80(0x186)](){const _0x5cf1b1=_0x46ef80;let _0x258928=this;for(;_0x258928[_0x5cf1b1(0x1ba)];)_0x258928=_0x258928[_0x5cf1b1(0x1ba)];return _0x258928;}get[_0x46ef80(0x1b3)](){const _0x1364ac=_0x46ef80;return!!this[_0x1364ac(0x17f)]&&this[_0x1364ac(0x17f)][_0x1364ac(0x189)]>0x0;}get[_0x46ef80(0x190)](){const _0x9a4bd=_0x46ef80;if(0x0==this[_0x9a4bd(0x19e)][_0x9a4bd(0x1bf)])return!0x1;return 0x6==Array[_0x9a4bd(0x1b6)](this[_0x9a4bd(0x19e)])[0x0][_0x9a4bd(0x17c)](':')[_0x9a4bd(0x189)];}get[_0x46ef80(0x195)](){const _0x3e7012=_0x46ef80;return null!==this[_0x3e7012(0x1ac)]();}[_0x46ef80(0x1a2)](_0x2e3c0b){const _0x2653e9=_0x46ef80;this[_0x2653e9(0x19e)][_0x2653e9(0x182)](_0x2e3c0b);}[_0x46ef80(0x194)](){const _0x61e7e1=_0x46ef80;return Array[_0x61e7e1(0x1b6)](this[_0x61e7e1(0x19e)]);}[_0x46ef80(0x1c1)](){const _0x425aee=_0x46ef80;return this[_0x425aee(0x194)]()[_0x425aee(0x19c)](_0x1b292f=>this[_0x425aee(0x1c5)][_0x425aee(0x1c4)][_0x425aee(0x187)](_0x1b292f))[_0x425aee(0x196)](_0x296cf7=>_0x296cf7);}[_0x46ef80(0x1ac)](){const _0x51953f=_0x46ef80;return this[_0x51953f(0x1c1)]()[0x0]||null;}[_0x46ef80(0x18b)](){const _0x2726a0=_0x46ef80;this[_0x2726a0(0x1c5)][_0x2726a0(0x1a5)](_0x154401=>{const _0x39e61b=_0x2726a0;for(const _0x4851cb of this[_0x39e61b(0x1c1)]())_0x154401[_0x39e61b(0x1a0)](_0x4851cb);}),this[_0x2726a0(0x19e)][_0x2726a0(0x177)]();}[_0x46ef80(0x1a0)](_0x1d462a){const _0x5bf372=_0x46ef80;this[_0x5bf372(0x1c5)][_0x5bf372(0x1a5)](_0x161746=>{const _0x5b40e5=_0x5bf372;_0x161746[_0x5b40e5(0x1a0)](_0x1d462a);}),this[_0x5bf372(0x19e)][_0x5bf372(0x1a1)](_0x1d462a);}[_0x46ef80(0x1a8)](_0x174818){const _0x4f05c5=_0x46ef80,_0x30f46e=_0x4f05c5(0x1b1)+this[_0x4f05c5(0x17a)]+':'+this[_0x4f05c5(0x18e)]+':'+this['id']+':'+this[_0x4f05c5(0x1b9)]['id']+':'+u[_0x4f05c5(0x17b)]();this[_0x4f05c5(0x1a2)](_0x30f46e),this[_0x4f05c5(0x1c5)][_0x4f05c5(0x1a5)](_0xe19403=>{const _0x4120bf=_0x4f05c5;_0xe19403[_0x4120bf(0x1b5)](_0x30f46e,{'range':_0x174818,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x46ef80(0x18f)](_0x3d4367){const _0x254c6e=_0x46ef80;for(const _0x1cc8ab of this[_0x254c6e(0x1bc)]())if(_0x1cc8ab[_0x254c6e(0x19b)](_0x3d4367))return!0x0;return!0x1;}[_0x46ef80(0x1bc)](){const _0x4b05c0=_0x46ef80;return this[_0x4b05c0(0x1c1)]()[_0x4b05c0(0x19c)](_0x6be8a2=>_0x6be8a2[_0x4b05c0(0x180)]());}[_0x46ef80(0x19a)](){const _0x429bae=_0x46ef80;return this[_0x429bae(0x1bc)]()[_0x429bae(0x18c)]((_0x1a528f,_0x359034)=>[..._0x1a528f,..._0x359034[_0x429bae(0x19a)]()],[]);}[_0x46ef80(0x192)](){const _0x226e8c=_0x46ef80;var _0x40da53;return(null===(_0x40da53=this[_0x226e8c(0x1ac)]())||void 0x0===_0x40da53?void 0x0:_0x40da53[_0x226e8c(0x180)]())||null;}[_0x46ef80(0x1c7)](){const _0x59ce10=_0x46ef80,_0x4c66eb=this[_0x59ce10(0x1bc)]();if(0x1!=_0x4c66eb[_0x59ce10(0x189)])return null;const _0x275fa6=_0x4c66eb[0x0],_0x53464f=_0x275fa6[_0x59ce10(0x1aa)][_0x59ce10(0x178)],_0x46cab5=_0x275fa6[_0x59ce10(0x1b2)][_0x59ce10(0x1a9)];return _0x53464f instanceof _0x14f8c1?_0x53464f!=_0x46cab5?null:_0x53464f:null;}[_0x46ef80(0x1c0)](){const _0x2fb42b=_0x46ef80;this[_0x2fb42b(0x197)](this[_0x2fb42b(0x1bc)](),this[_0x2fb42b(0x18a)],this[_0x2fb42b(0x1af)]),this[_0x2fb42b(0x18b)]();}[_0x46ef80(0x19f)](){const _0x4dffb8=_0x46ef80;this[_0x4dffb8(0x185)](this[_0x4dffb8(0x1bc)](),this[_0x4dffb8(0x18a)],this[_0x4dffb8(0x1af)]),this[_0x4dffb8(0x18b)]();}[_0x46ef80(0x199)](){const _0x1b9feb=_0x46ef80,_0x5660f1=[];let _0x548d45=this[_0x1b9feb(0x186)];for(;_0x548d45;)_0x5660f1[_0x1b9feb(0x18d)](_0x548d45),_0x548d45=_0x548d45[_0x1b9feb(0x1c3)];return _0x5660f1;}[_0x46ef80(0x1b8)](_0x175657,_0x24710d){const _0x415ec8=_0x46ef80,_0x405e6c=_0x2522d4(this[_0x415ec8(0x1af)]);_0x5cbb9c(_0x405e6c,_0x175657,_0x24710d),_0x1d12b8(_0x405e6c,this[_0x415ec8(0x1af)])||(this[_0x415ec8(0x1af)]=_0x405e6c,this[_0x415ec8(0x1be)](_0x405e6c));}[_0x46ef80(0x17d)](_0x27330d){const _0x2a259b=_0x46ef80,_0x11c884=_0x2522d4(this[_0x2a259b(0x1af)]);_0x22ac20(_0x11c884,_0x27330d),_0x1d12b8(_0x11c884,this[_0x2a259b(0x1af)])||(this[_0x2a259b(0x1af)]=_0x11c884,this[_0x2a259b(0x1be)](this[_0x2a259b(0x1af)]));}[_0x46ef80(0x1c2)](){const _0x4ac071=_0x46ef80;return{'id':this['id'],'type':this[_0x4ac071(0x18e)]?this[_0x4ac071(0x17a)]+':'+this[_0x4ac071(0x18e)]:this[_0x4ac071(0x17a)],'authorId':this[_0x4ac071(0x1b9)]['id'],'createdAt':this[_0x4ac071(0x1ad)],'hasComments':this[_0x4ac071(0x1b3)],'data':this[_0x4ac071(0x18a)],'attributes':this[_0x4ac071(0x1af)]};}static[_0x46ef80(0x17b)](){const _0x14c5b9=_0x46ef80;return _0x20e96f()[_0x14c5b9(0x1a4)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x4b3e(_0x4fcae3,_0x364fc0){const _0xd2a683=_0xd2a6();return _0x4b3e=function(_0x4b3e8d,_0x1e5ec5){_0x4b3e8d=_0x4b3e8d-0x15c;let _0x4810b1=_0xd2a683[_0x4b3e8d];return _0x4810b1;},_0x4b3e(_0x4fcae3,_0x364fc0);}const _0x47795a=_0x4b3e;(function(_0x5c0864,_0x3ba486){const _0x52c0f4=_0x4b3e,_0x18e933=_0x5c0864();while(!![]){try{const _0x5a45ac=parseInt(_0x52c0f4(0x1b1))/0x1*(-parseInt(_0x52c0f4(0x17e))/0x2)+parseInt(_0x52c0f4(0x19c))/0x3+-parseInt(_0x52c0f4(0x1b2))/0x4+-parseInt(_0x52c0f4(0x17b))/0x5+-parseInt(_0x52c0f4(0x192))/0x6+parseInt(_0x52c0f4(0x171))/0x7+parseInt(_0x52c0f4(0x185))/0x8;if(_0x5a45ac===_0x3ba486)break;else _0x18e933['push'](_0x18e933['shift']());}catch(_0x203fe8){_0x18e933['push'](_0x18e933['shift']());}}}(_0xd2a6,0xee97b));import{getTranslation as _0x2dd3de}from'./utils/common-translations.js';function _0xd2a6(){const _0x225e9b=['type','addFormat','subType','remove','131xHjYCN','7357172QtrRIg','_resolveDescriptionItems','_customCallbacks','push','*Set\x20format:*\x20%0','REPLACE_TEXT','replace','*Remove\x20format:*\x20%0','*Change\x20to:*\x20%0','map','_itemLabels','element','registerElementLabel','getDescriptions','isInContent','format','matchingCallback','end','data','EmptyContainer','start','getWalker','_attributeLabels','isEqual','nextSibling','nodeAfter','Object','isEmpty','join','_handleCustomCallbackDescription','64638BPmhnx','ELEMENT_SPACE','newValue','$textProxy','_handleInsertRemoveSuggestionDescription','_addDescriptionItems','text','function','_itemLabelsCallbacks','item','7382075DLdWya','*Insert:*\x20%0','removeContainer','20330ITdHKl','get','_locale','addObject','add','attribute','name','35910464sxGCUo','*Merge:*\x20%0','*Remove:*\x20%0','normal','_handleAttributeSuggestionDescription','label','elementEnd','*Split:*\x20%0','deletion','addContainer','removeObject','set','match','1109394zVWCVa','$text','previousSibling','pop','registerAttributeLabel','insertion','has','elementStart','key','skip','3934365wDTiUh','length','quantity','getItemLabel','indexOf','Container','addEmptyContainer','$1\x20$2','removeFormat','getFirstRange','_schema','_handleRenameSuggestionDescription','registerDescriptionCallback','removeEmptyContainer','isObject','checkChild','softBreak'];_0xd2a6=function(){return _0x225e9b;};return _0xd2a6();}import{priorities as _0x3ecc24,insertToPriorityArray as _0x463f13}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x355b81}from'./trackchangesediting.js';export default class f{constructor(_0x5b6e5a,_0xcbdbd9){const _0x346903=_0x4b3e;this[_0x346903(0x1b4)]=[],this[_0x346903(0x15d)]=new Map(),this[_0x346903(0x179)]=[],this[_0x346903(0x169)]=new Map(),this[_0x346903(0x1a6)]=_0x5b6e5a,this[_0x346903(0x180)]=_0xcbdbd9;}[_0x47795a(0x160)](_0x576cf9){const _0x368c25=_0x47795a,_0x285964=[],_0x1a39d9=new Set(),_0x430056=new Set();for(let _0x556838=0x0;_0x556838<_0x576cf9[_0x368c25(0x19d)];_0x556838++){const _0x428b53=_0x576cf9[_0x556838];if(!_0x428b53[_0x368c25(0x161)])continue;const _0x3a5457=this[_0x368c25(0x170)](_0x428b53);if(_0x3a5457){if(null!=_0x428b53[_0x368c25(0x1af)]){if(_0x1a39d9[_0x368c25(0x198)](_0x428b53[_0x368c25(0x1af)]))continue;_0x1a39d9[_0x368c25(0x182)](_0x428b53[_0x368c25(0x1af)]);}_0x285964[_0x368c25(0x1b5)](_0x3a5457);}else{if(_0x368c25(0x183)!=_0x428b53[_0x368c25(0x1ad)])_0x368c25(0x197)!=_0x428b53[_0x368c25(0x1ad)]&&_0x368c25(0x18d)!=_0x428b53[_0x368c25(0x1ad)]||this[_0x368c25(0x175)](_0x285964,_0x428b53,_0x576cf9[_0x556838+0x1]);else{const _0x5eb33c=_0x428b53[_0x368c25(0x165)][_0x368c25(0x19a)];if(_0x430056[_0x368c25(0x198)](_0x5eb33c))continue;_0x430056[_0x368c25(0x182)](_0x428b53[_0x368c25(0x165)][_0x368c25(0x19a)]),_0x5eb33c==_0x355b81?this[_0x368c25(0x1a7)](_0x285964,_0x428b53):this[_0x368c25(0x189)](_0x285964,_0x428b53);}}}return this[_0x368c25(0x1b3)](_0x285964);}[_0x47795a(0x1a8)](_0x18a8af){const _0x1954cb=_0x47795a;this[_0x1954cb(0x1b4)][_0x1954cb(0x1b5)](_0x18a8af);}[_0x47795a(0x15f)](_0x542fad,_0x41ca50,_0x43ef62=_0x3ecc24[_0x47795a(0x188)]){const _0x2977e4=_0x47795a;_0x2977e4(0x178)==typeof _0x542fad?_0x463f13(this[_0x2977e4(0x179)],{'matchingCallback':_0x542fad,'label':_0x41ca50,'priority':_0x43ef62}):this[_0x2977e4(0x15d)][_0x2977e4(0x190)](_0x542fad,_0x41ca50);}[_0x47795a(0x196)](_0xa111b3,_0x10db55){const _0x37e01d=_0x47795a;this[_0x37e01d(0x169)][_0x37e01d(0x190)](_0xa111b3,_0x10db55);}[_0x47795a(0x19f)](_0x3e7f7d,_0x57822c=0x1){const _0x3a1ebb=_0x47795a;let _0x4dab2c;for(const _0x4c69be of this[_0x3a1ebb(0x179)])if(_0x4c69be[_0x3a1ebb(0x163)](_0x3e7f7d)){_0x4dab2c=_0x4c69be[_0x3a1ebb(0x18a)];break;}return _0x4dab2c||(_0x4dab2c=this[_0x3a1ebb(0x15d)][_0x3a1ebb(0x17f)](_0x3e7f7d[_0x3a1ebb(0x184)])),_0x4dab2c?_0x4dab2c(_0x57822c):0x1!==_0x57822c?_0x57822c+'\x20'+_0x3e7f7d[_0x3a1ebb(0x184)]+'s':''+_0x3e7f7d[_0x3a1ebb(0x184)];}[_0x47795a(0x176)](_0x5ac701,_0x338fc0){const _0x593ba0=_0x47795a,_0x57dcf4=_0x338fc0[_0x593ba0(0x1a5)]()[_0x593ba0(0x168)](),_0x3051e1=_0x593ba0(0x197)==_0x338fc0[_0x593ba0(0x1ad)]?_0x593ba0(0x182):_0x593ba0(0x1b0);for(const _0x30b359 of _0x57dcf4){const _0xc9638d=_0x30b359[_0x593ba0(0x17a)],_0x3175ef=_0x5ac701[_0x5ac701[_0x593ba0(0x19d)]-0x1];if(_0xc9638d['is'](_0x593ba0(0x174)))_0x3175ef&&_0x3175ef[_0x593ba0(0x1ad)][_0x593ba0(0x1a0)](_0x593ba0(0x1a1))>-0x1&&_0x5ac701[_0x593ba0(0x195)](),_0x3175ef&&_0x593ba0(0x177)==_0x3175ef[_0x593ba0(0x1ad)]?_0x3175ef[_0x3051e1]+=_0xc9638d[_0x593ba0(0x165)]:_0x5ac701[_0x593ba0(0x1b5)]({'type':_0x593ba0(0x177),'add':_0x593ba0(0x182)==_0x3051e1?_0xc9638d[_0x593ba0(0x165)]:'','remove':_0x593ba0(0x1b0)==_0x3051e1?_0xc9638d[_0x593ba0(0x165)]:''});else{if(this[_0x593ba0(0x1a6)][_0x593ba0(0x1aa)](_0xc9638d)){const _0x1a4581=_0xc9638d;if(_0x3175ef&&_0x3175ef[_0x593ba0(0x1ad)][_0x593ba0(0x1a0)](_0x593ba0(0x1a1))>-0x1&&_0x5ac701[_0x593ba0(0x195)](),_0x593ba0(0x18b)==_0x30b359[_0x593ba0(0x1ad)])continue;_0x3175ef&&_0x3175ef[_0x593ba0(0x1ad)]==_0x3051e1+_0x593ba0(0x16d)&&_0x3175ef[_0x593ba0(0x15e)][_0x593ba0(0x184)]==_0x1a4581[_0x593ba0(0x184)]?_0x3175ef[_0x593ba0(0x19e)]++:_0x5ac701[_0x593ba0(0x1b5)]({'type':_0x3051e1+_0x593ba0(0x16d),'element':_0x1a4581,'quantity':0x1}),_0x57dcf4[_0x593ba0(0x19b)](_0x302fc7=>!(_0x593ba0(0x18b)==_0x302fc7[_0x593ba0(0x1ad)]&&_0x302fc7[_0x593ba0(0x17a)]==_0xc9638d));}else{if(this[_0x593ba0(0x1a6)][_0x593ba0(0x1ab)](_0xc9638d,_0x593ba0(0x193))||_0xc9638d['is'](_0x593ba0(0x15e),_0x593ba0(0x1ac))){const _0x2544b8=_0xc9638d;if(_0x593ba0(0x182)==_0x3051e1&&_0x593ba0(0x199)==_0x30b359[_0x593ba0(0x1ad)]||_0x593ba0(0x1b0)==_0x3051e1&&_0x593ba0(0x18b)==_0x30b359[_0x593ba0(0x1ad)])continue;if(_0x3175ef&&-0x1==_0x3175ef[_0x593ba0(0x1ad)][_0x593ba0(0x1a0)](_0x593ba0(0x1a1))){_0x593ba0(0x177)==_0x3175ef[_0x593ba0(0x1ad)]&&(_0x3175ef[_0x3051e1]+='\x0a');continue;}let _0x4dd4ff;if(_0x4dd4ff=_0x593ba0(0x182)==_0x3051e1?_0x2544b8[_0x593ba0(0x16b)]&&!this[_0x593ba0(0x1a6)][_0x593ba0(0x1aa)](_0x2544b8[_0x593ba0(0x16b)])?_0x2544b8[_0x593ba0(0x16b)]:null:_0x2544b8[_0x593ba0(0x194)]&&!this[_0x593ba0(0x1a6)][_0x593ba0(0x1aa)](_0x2544b8[_0x593ba0(0x194)])?_0x2544b8[_0x593ba0(0x194)]:null,_0x2544b8[_0x593ba0(0x16e)]||_0x4dd4ff&&_0x4dd4ff[_0x593ba0(0x16e)]){const _0x15f810=_0x4dd4ff&&_0x4dd4ff[_0x593ba0(0x16e)]?_0x4dd4ff:_0x2544b8;_0x3175ef&&_0x3175ef[_0x593ba0(0x1ad)]==_0x3051e1+_0x593ba0(0x166)&&_0x3175ef[_0x593ba0(0x15e)][_0x593ba0(0x184)]==_0x15f810[_0x593ba0(0x184)]?_0x3175ef[_0x593ba0(0x19e)]++:_0x5ac701[_0x593ba0(0x1b5)]({'type':_0x3051e1+_0x593ba0(0x166),'element':_0x15f810,'quantity':0x1});}else _0x5ac701[_0x593ba0(0x1b5)]({'type':_0x3051e1+_0x593ba0(0x1a1),'element':_0x2544b8});}}}}}[_0x47795a(0x1b3)](_0x490ead){const _0x357332=_0x47795a,_0x4e48cc=this[_0x357332(0x180)],_0xb70786=[],_0x2fe4ba=[],_0x33d246=[];for(const _0x4244c6 of _0x490ead)switch(_0x4244c6[_0x357332(0x1ad)]){case _0x357332(0x177):if(_0x4244c6[_0x357332(0x182)]=_0x4244c6[_0x357332(0x182)][_0x357332(0x1b8)](/(\S)\u000A+(\S)/g,_0x357332(0x1a3))[_0x357332(0x1b8)](/\u000A/g,''),_0x4244c6[_0x357332(0x1b0)]=_0x4244c6[_0x357332(0x1b0)][_0x357332(0x1b8)](/(\S)\u000A+(\S)/g,_0x357332(0x1a3))[_0x357332(0x1b8)](/\u000A/g,''),''!=_0x4244c6[_0x357332(0x182)]&&''!=_0x4244c6[_0x357332(0x1b0)]){_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x1b8),'content':_0x2dd3de(_0x4e48cc,_0x357332(0x1b7),['\x22'+_0x4244c6[_0x357332(0x1b0)]+'\x22','\x22'+_0x4244c6[_0x357332(0x182)]+'\x22'])});continue;}if(null!=_0x4244c6[_0x357332(0x182)][_0x357332(0x191)](/^ +$/)){_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x197),'content':_0x2dd3de(_0x4e48cc,_0x357332(0x17c),_0x2dd3de(_0x4e48cc,_0x357332(0x172),_0x4244c6[_0x357332(0x182)][_0x357332(0x19d)]))});continue;}if(null!=_0x4244c6[_0x357332(0x1b0)][_0x357332(0x191)](/^ +$/)){_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x18d),'content':_0x2dd3de(_0x4e48cc,_0x357332(0x187),_0x2dd3de(_0x4e48cc,_0x357332(0x172),_0x4244c6[_0x357332(0x1b0)][_0x357332(0x19d)]))});continue;}if(''!=_0x4244c6[_0x357332(0x182)]){_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x197),'content':_0x2dd3de(_0x4e48cc,_0x357332(0x17c),'\x22'+_0x4244c6[_0x357332(0x182)]+'\x22')});continue;}_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x18d),'content':_0x2dd3de(_0x4e48cc,_0x357332(0x187),'\x22'+_0x4244c6[_0x357332(0x1b0)]+'\x22')});continue;case _0x357332(0x1a2):case _0x357332(0x181):_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x197),'content':_0x2dd3de(_0x4e48cc,_0x357332(0x17c),this[_0x357332(0x19f)](_0x4244c6[_0x357332(0x15e)],_0x4244c6[_0x357332(0x19e)]))});continue;case _0x357332(0x1a9):case _0x357332(0x18f):_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x18d),'content':_0x2dd3de(_0x4e48cc,_0x357332(0x187),this[_0x357332(0x19f)](_0x4244c6[_0x357332(0x15e)],_0x4244c6[_0x357332(0x19e)]))});continue;case _0x357332(0x18e):_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x197),'content':_0x2dd3de(_0x4e48cc,_0x357332(0x18c),this[_0x357332(0x19f)](_0x4244c6[_0x357332(0x15e)],_0x4244c6[_0x357332(0x19e)]))});continue;case _0x357332(0x17d):_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x18d),'content':_0x2dd3de(_0x4e48cc,_0x357332(0x186),this[_0x357332(0x19f)](_0x4244c6[_0x357332(0x15e)],_0x4244c6[_0x357332(0x19e)]))});continue;case _0x357332(0x1ae):_0x2fe4ba[_0x357332(0x1b5)](_0x4244c6[_0x357332(0x19a)]);continue;case _0x357332(0x1a4):_0x33d246[_0x357332(0x1b5)](_0x4244c6[_0x357332(0x19a)]);continue;default:_0xb70786[_0x357332(0x1b5)](_0x4244c6);}if(_0x2fe4ba[_0x357332(0x19d)]){const _0xdde082=_0x2fe4ba[_0x357332(0x15c)](_0x283e22=>this[_0x357332(0x169)][_0x357332(0x198)](_0x283e22)?this[_0x357332(0x169)][_0x357332(0x17f)](_0x283e22):_0x283e22)[_0x357332(0x16f)](',\x20');_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x162),'content':_0x2dd3de(this[_0x357332(0x180)],_0x357332(0x1b6),_0xdde082)});}if(_0x33d246[_0x357332(0x19d)]){const _0x1a9ce9=_0x33d246[_0x357332(0x15c)](_0x9e4dae=>this[_0x357332(0x169)][_0x357332(0x198)](_0x9e4dae)?this[_0x357332(0x169)][_0x357332(0x17f)](_0x9e4dae):_0x9e4dae)[_0x357332(0x16f)](',\x20');_0xb70786[_0x357332(0x1b5)]({'type':_0x357332(0x162),'content':_0x2dd3de(this[_0x357332(0x180)],_0x357332(0x1b9),_0x1a9ce9)});}return _0xb70786;}[_0x47795a(0x170)](_0xd8f71b){const _0xd35513=_0x47795a;for(const _0x3415da of this[_0xd35513(0x1b4)]){const _0x29ac3e=_0x3415da(_0xd8f71b);if(_0x29ac3e&&_0xd35513(0x1ad)in _0x29ac3e)return _0x29ac3e;}}[_0x47795a(0x189)](_0x314616,_0x4f754d){const _0x5e921b=_0x47795a,_0x3b4990=_0x4f754d[_0x5e921b(0x165)],_0x131713=void 0x0===_0x3b4990[_0x5e921b(0x173)]?_0x5e921b(0x1a4):_0x5e921b(0x1ae);_0x314616[_0x5e921b(0x1b5)]({'type':_0x131713,'key':_0x3b4990[_0x5e921b(0x19a)]});}[_0x47795a(0x1a7)](_0x3d7c01,_0x1dfc61){const _0x2035c7=_0x47795a;_0x3d7c01[_0x2035c7(0x1b5)]({'type':_0x2035c7(0x162),'content':_0x2dd3de(this[_0x2035c7(0x180)],_0x2035c7(0x1ba),this[_0x2035c7(0x19f)](_0x1dfc61[_0x2035c7(0x1a5)]()[_0x2035c7(0x167)][_0x2035c7(0x16c)],0x1))});}[_0x47795a(0x175)](_0x4bf473,_0x100da9,_0x32b64a){const _0x5555c7=_0x47795a;if(this[_0x5555c7(0x176)](_0x4bf473,_0x100da9),_0x32b64a&&_0x32b64a[_0x5555c7(0x1a5)]()&&!_0x100da9[_0x5555c7(0x1a5)]()[_0x5555c7(0x164)][_0x5555c7(0x16a)](_0x32b64a[_0x5555c7(0x1a5)]()[_0x5555c7(0x167)])){const _0x435863=_0x4bf473[_0x4bf473[_0x5555c7(0x19d)]-0x1],_0x58bb65=_0x5555c7(0x197)==_0x100da9[_0x5555c7(0x1ad)]?_0x5555c7(0x182):_0x5555c7(0x1b0);_0x435863&&_0x5555c7(0x177)==_0x435863[_0x5555c7(0x1ad)]&&(_0x435863[_0x58bb65]+='\x0a');}}}
|
|
23
|
+
function _0x7b24(){const _0x756e82=['replace','$1\x20$2','remove','nextSibling','indexOf','removeContainer','*Split:*\x20%0','elementStart','data','EmptyContainer','2777680FPCGAh','start','_handleCustomCallbackDescription','*Insert:*\x20%0','isInContent','normal','function','1092904pWZnGu','_addDescriptionItems','set','*Change\x20to:*\x20%0','checkChild','$textProxy','1930KADOkY','_attributeLabels','name','has','join','get','item','3012020CvhMXE','addEmptyContainer','addContainer','643MTltUT','newValue','*Remove:*\x20%0','_schema','9331029MZHjbg','_handleAttributeSuggestionDescription','_locale','addObject','*Remove\x20format:*\x20%0','Object','getWalker','matchingCallback','length','getItemLabel','pop','_itemLabels','skip','*Set\x20format:*\x20%0','deletion','text','_handleInsertRemoveSuggestionDescription','6SnwTZp','REPLACE_TEXT','elementEnd','_handleRenameSuggestionDescription','format','Container','isEqual','removeObject','getFirstRange','subType','insertion','registerAttributeLabel','quantity','attribute','registerElementLabel','$text','_customCallbacks','ELEMENT_SPACE','add','element','nodeAfter','type','softBreak','key','push','isObject','map','registerDescriptionCallback','getDescriptions','end','748449lGKKgZ','5179965RtebJE','previousSibling','_itemLabelsCallbacks','isEmpty','removeEmptyContainer','_resolveDescriptionItems','match','*Merge:*\x20%0','label','addFormat','removeFormat'];_0x7b24=function(){return _0x756e82;};return _0x7b24();}const _0x5c4d60=_0x2ef3;(function(_0x422a9d,_0x36227b){const _0x26bde4=_0x2ef3,_0x1b3016=_0x422a9d();while(!![]){try{const _0x4ffc9e=-parseInt(_0x26bde4(0xfc))/0x1*(parseInt(_0x26bde4(0xf2))/0x2)+parseInt(_0x26bde4(0x12f))/0x3+parseInt(_0x26bde4(0xec))/0x4+parseInt(_0x26bde4(0xf9))/0x5+parseInt(_0x26bde4(0x111))/0x6*(-parseInt(_0x26bde4(0x130))/0x7)+-parseInt(_0x26bde4(0xe5))/0x8+parseInt(_0x26bde4(0x100))/0x9;if(_0x4ffc9e===_0x36227b)break;else _0x1b3016['push'](_0x1b3016['shift']());}catch(_0x52c1e7){_0x1b3016['push'](_0x1b3016['shift']());}}}(_0x7b24,0x6ee32));import{getTranslation as _0x474555}from'./utils/common-translations.js';import{priorities as _0x3cb78b,insertToPriorityArray as _0x29e2ca}from'ckeditor5/src/utils.js';function _0x2ef3(_0x5964b9,_0x45e646){const _0x7b2463=_0x7b24();return _0x2ef3=function(_0x2ef31b,_0x138f85){_0x2ef31b=_0x2ef31b-0xd5;let _0x2bf74f=_0x7b2463[_0x2ef31b];return _0x2bf74f;},_0x2ef3(_0x5964b9,_0x45e646);}import{renameAttributeKey as _0x4987e4}from'./trackchangesediting.js';export default class f{constructor(_0x5747d1,_0x843bcc){const _0x1c8659=_0x2ef3;this[_0x1c8659(0x121)]=[],this[_0x1c8659(0x10b)]=new Map(),this[_0x1c8659(0x132)]=[],this[_0x1c8659(0xf3)]=new Map(),this[_0x1c8659(0xff)]=_0x5747d1,this[_0x1c8659(0x102)]=_0x843bcc;}[_0x5c4d60(0x12d)](_0x3c8e97){const _0x52a1d0=_0x5c4d60,_0x1ec9dd=[],_0x4dd95e=new Set(),_0x436c3f=new Set();for(let _0x9a13e5=0x0;_0x9a13e5<_0x3c8e97[_0x52a1d0(0x108)];_0x9a13e5++){const _0x40287d=_0x3c8e97[_0x9a13e5];if(!_0x40287d[_0x52a1d0(0xe9)])continue;const _0x9f2edc=this[_0x52a1d0(0xe7)](_0x40287d);if(_0x9f2edc){if(null!=_0x40287d[_0x52a1d0(0x11a)]){if(_0x4dd95e[_0x52a1d0(0xf5)](_0x40287d[_0x52a1d0(0x11a)]))continue;_0x4dd95e[_0x52a1d0(0x123)](_0x40287d[_0x52a1d0(0x11a)]);}_0x1ec9dd[_0x52a1d0(0x129)](_0x9f2edc);}else{if(_0x52a1d0(0x11e)!=_0x40287d[_0x52a1d0(0x126)])_0x52a1d0(0x11b)!=_0x40287d[_0x52a1d0(0x126)]&&_0x52a1d0(0x10e)!=_0x40287d[_0x52a1d0(0x126)]||this[_0x52a1d0(0x110)](_0x1ec9dd,_0x40287d,_0x3c8e97[_0x9a13e5+0x1]);else{const _0x3b80dc=_0x40287d[_0x52a1d0(0xe3)][_0x52a1d0(0x128)];if(_0x436c3f[_0x52a1d0(0xf5)](_0x3b80dc))continue;_0x436c3f[_0x52a1d0(0x123)](_0x40287d[_0x52a1d0(0xe3)][_0x52a1d0(0x128)]),_0x3b80dc==_0x4987e4?this[_0x52a1d0(0x114)](_0x1ec9dd,_0x40287d):this[_0x52a1d0(0x101)](_0x1ec9dd,_0x40287d);}}}return this[_0x52a1d0(0xd5)](_0x1ec9dd);}[_0x5c4d60(0x12c)](_0x46588c){const _0x4e7ac3=_0x5c4d60;this[_0x4e7ac3(0x121)][_0x4e7ac3(0x129)](_0x46588c);}[_0x5c4d60(0x11f)](_0x198c31,_0x3612d3,_0x5b3e3b=_0x3cb78b[_0x5c4d60(0xea)]){const _0x540869=_0x5c4d60;_0x540869(0xeb)==typeof _0x198c31?_0x29e2ca(this[_0x540869(0x132)],{'matchingCallback':_0x198c31,'label':_0x3612d3,'priority':_0x5b3e3b}):this[_0x540869(0x10b)][_0x540869(0xee)](_0x198c31,_0x3612d3);}[_0x5c4d60(0x11c)](_0x2842bc,_0x30d8ac){const _0x429f27=_0x5c4d60;this[_0x429f27(0xf3)][_0x429f27(0xee)](_0x2842bc,_0x30d8ac);}[_0x5c4d60(0x109)](_0x5a59eb,_0x34c889=0x1){const _0x1f4759=_0x5c4d60;let _0x1a6305;for(const _0x524181 of this[_0x1f4759(0x132)])if(_0x524181[_0x1f4759(0x107)](_0x5a59eb)){_0x1a6305=_0x524181[_0x1f4759(0xd8)];break;}return _0x1a6305||(_0x1a6305=this[_0x1f4759(0x10b)][_0x1f4759(0xf7)](_0x5a59eb[_0x1f4759(0xf4)])),_0x1a6305?_0x1a6305(_0x34c889):0x1!==_0x34c889?_0x34c889+'\x20'+_0x5a59eb[_0x1f4759(0xf4)]+'s':''+_0x5a59eb[_0x1f4759(0xf4)];}[_0x5c4d60(0xed)](_0x4c4e18,_0x180b92){const _0x4bc916=_0x5c4d60,_0x5ecb8f=_0x180b92[_0x4bc916(0x119)]()[_0x4bc916(0x106)](),_0x33ae4e=_0x4bc916(0x11b)==_0x180b92[_0x4bc916(0x126)]?_0x4bc916(0x123):_0x4bc916(0xdd);for(const _0x211e7d of _0x5ecb8f){const _0x94a8b2=_0x211e7d[_0x4bc916(0xf8)],_0x2773ff=_0x4c4e18[_0x4c4e18[_0x4bc916(0x108)]-0x1];if(_0x94a8b2['is'](_0x4bc916(0xf1)))_0x2773ff&&_0x2773ff[_0x4bc916(0x126)][_0x4bc916(0xdf)](_0x4bc916(0x116))>-0x1&&_0x4c4e18[_0x4bc916(0x10a)](),_0x2773ff&&_0x4bc916(0x10f)==_0x2773ff[_0x4bc916(0x126)]?_0x2773ff[_0x33ae4e]+=_0x94a8b2[_0x4bc916(0xe3)]:_0x4c4e18[_0x4bc916(0x129)]({'type':_0x4bc916(0x10f),'add':_0x4bc916(0x123)==_0x33ae4e?_0x94a8b2[_0x4bc916(0xe3)]:'','remove':_0x4bc916(0xdd)==_0x33ae4e?_0x94a8b2[_0x4bc916(0xe3)]:''});else{if(this[_0x4bc916(0xff)][_0x4bc916(0x12a)](_0x94a8b2)){const _0x51e095=_0x94a8b2;if(_0x2773ff&&_0x2773ff[_0x4bc916(0x126)][_0x4bc916(0xdf)](_0x4bc916(0x116))>-0x1&&_0x4c4e18[_0x4bc916(0x10a)](),_0x4bc916(0x113)==_0x211e7d[_0x4bc916(0x126)])continue;_0x2773ff&&_0x2773ff[_0x4bc916(0x126)]==_0x33ae4e+_0x4bc916(0x105)&&_0x2773ff[_0x4bc916(0x124)][_0x4bc916(0xf4)]==_0x51e095[_0x4bc916(0xf4)]?_0x2773ff[_0x4bc916(0x11d)]++:_0x4c4e18[_0x4bc916(0x129)]({'type':_0x33ae4e+_0x4bc916(0x105),'element':_0x51e095,'quantity':0x1}),_0x5ecb8f[_0x4bc916(0x10c)](_0x18282b=>!(_0x4bc916(0x113)==_0x18282b[_0x4bc916(0x126)]&&_0x18282b[_0x4bc916(0xf8)]==_0x94a8b2));}else{if(this[_0x4bc916(0xff)][_0x4bc916(0xf0)](_0x94a8b2,_0x4bc916(0x120))||_0x94a8b2['is'](_0x4bc916(0x124),_0x4bc916(0x127))){const _0x393b55=_0x94a8b2;if(_0x4bc916(0x123)==_0x33ae4e&&_0x4bc916(0xe2)==_0x211e7d[_0x4bc916(0x126)]||_0x4bc916(0xdd)==_0x33ae4e&&_0x4bc916(0x113)==_0x211e7d[_0x4bc916(0x126)])continue;if(_0x2773ff&&-0x1==_0x2773ff[_0x4bc916(0x126)][_0x4bc916(0xdf)](_0x4bc916(0x116))){_0x4bc916(0x10f)==_0x2773ff[_0x4bc916(0x126)]&&(_0x2773ff[_0x33ae4e]+='\x0a');continue;}let _0x9a6c75;if(_0x9a6c75=_0x4bc916(0x123)==_0x33ae4e?_0x393b55[_0x4bc916(0xde)]&&!this[_0x4bc916(0xff)][_0x4bc916(0x12a)](_0x393b55[_0x4bc916(0xde)])?_0x393b55[_0x4bc916(0xde)]:null:_0x393b55[_0x4bc916(0x131)]&&!this[_0x4bc916(0xff)][_0x4bc916(0x12a)](_0x393b55[_0x4bc916(0x131)])?_0x393b55[_0x4bc916(0x131)]:null,_0x393b55[_0x4bc916(0x133)]||_0x9a6c75&&_0x9a6c75[_0x4bc916(0x133)]){const _0x53bc85=_0x9a6c75&&_0x9a6c75[_0x4bc916(0x133)]?_0x9a6c75:_0x393b55;_0x2773ff&&_0x2773ff[_0x4bc916(0x126)]==_0x33ae4e+_0x4bc916(0xe4)&&_0x2773ff[_0x4bc916(0x124)][_0x4bc916(0xf4)]==_0x53bc85[_0x4bc916(0xf4)]?_0x2773ff[_0x4bc916(0x11d)]++:_0x4c4e18[_0x4bc916(0x129)]({'type':_0x33ae4e+_0x4bc916(0xe4),'element':_0x53bc85,'quantity':0x1});}else _0x4c4e18[_0x4bc916(0x129)]({'type':_0x33ae4e+_0x4bc916(0x116),'element':_0x393b55});}}}}}[_0x5c4d60(0xd5)](_0x2496b6){const _0x6de1a9=_0x5c4d60,_0x53fc14=this[_0x6de1a9(0x102)],_0x3b59ba=[],_0x12a12d=[],_0x290626=[];for(const _0x3b0962 of _0x2496b6)switch(_0x3b0962[_0x6de1a9(0x126)]){case _0x6de1a9(0x10f):if(_0x3b0962[_0x6de1a9(0x123)]=_0x3b0962[_0x6de1a9(0x123)][_0x6de1a9(0xdb)](/(\S)\u000A+(\S)/g,_0x6de1a9(0xdc))[_0x6de1a9(0xdb)](/\u000A/g,''),_0x3b0962[_0x6de1a9(0xdd)]=_0x3b0962[_0x6de1a9(0xdd)][_0x6de1a9(0xdb)](/(\S)\u000A+(\S)/g,_0x6de1a9(0xdc))[_0x6de1a9(0xdb)](/\u000A/g,''),''!=_0x3b0962[_0x6de1a9(0x123)]&&''!=_0x3b0962[_0x6de1a9(0xdd)]){_0x3b59ba[_0x6de1a9(0x129)]({'type':_0x6de1a9(0xdb),'content':_0x474555(_0x53fc14,_0x6de1a9(0x112),['\x22'+_0x3b0962[_0x6de1a9(0xdd)]+'\x22','\x22'+_0x3b0962[_0x6de1a9(0x123)]+'\x22'])});continue;}if(null!=_0x3b0962[_0x6de1a9(0x123)][_0x6de1a9(0xd6)](/^ +$/)){_0x3b59ba[_0x6de1a9(0x129)]({'type':_0x6de1a9(0x11b),'content':_0x474555(_0x53fc14,_0x6de1a9(0xe8),_0x474555(_0x53fc14,_0x6de1a9(0x122),_0x3b0962[_0x6de1a9(0x123)][_0x6de1a9(0x108)]))});continue;}if(null!=_0x3b0962[_0x6de1a9(0xdd)][_0x6de1a9(0xd6)](/^ +$/)){_0x3b59ba[_0x6de1a9(0x129)]({'type':_0x6de1a9(0x10e),'content':_0x474555(_0x53fc14,_0x6de1a9(0xfe),_0x474555(_0x53fc14,_0x6de1a9(0x122),_0x3b0962[_0x6de1a9(0xdd)][_0x6de1a9(0x108)]))});continue;}if(''!=_0x3b0962[_0x6de1a9(0x123)]){_0x3b59ba[_0x6de1a9(0x129)]({'type':_0x6de1a9(0x11b),'content':_0x474555(_0x53fc14,_0x6de1a9(0xe8),'\x22'+_0x3b0962[_0x6de1a9(0x123)]+'\x22')});continue;}_0x3b59ba[_0x6de1a9(0x129)]({'type':_0x6de1a9(0x10e),'content':_0x474555(_0x53fc14,_0x6de1a9(0xfe),'\x22'+_0x3b0962[_0x6de1a9(0xdd)]+'\x22')});continue;case _0x6de1a9(0xfa):case _0x6de1a9(0x103):_0x3b59ba[_0x6de1a9(0x129)]({'type':_0x6de1a9(0x11b),'content':_0x474555(_0x53fc14,_0x6de1a9(0xe8),this[_0x6de1a9(0x109)](_0x3b0962[_0x6de1a9(0x124)],_0x3b0962[_0x6de1a9(0x11d)]))});continue;case _0x6de1a9(0x134):case _0x6de1a9(0x118):_0x3b59ba[_0x6de1a9(0x129)]({'type':_0x6de1a9(0x10e),'content':_0x474555(_0x53fc14,_0x6de1a9(0xfe),this[_0x6de1a9(0x109)](_0x3b0962[_0x6de1a9(0x124)],_0x3b0962[_0x6de1a9(0x11d)]))});continue;case _0x6de1a9(0xfb):_0x3b59ba[_0x6de1a9(0x129)]({'type':_0x6de1a9(0x11b),'content':_0x474555(_0x53fc14,_0x6de1a9(0xe1),this[_0x6de1a9(0x109)](_0x3b0962[_0x6de1a9(0x124)],_0x3b0962[_0x6de1a9(0x11d)]))});continue;case _0x6de1a9(0xe0):_0x3b59ba[_0x6de1a9(0x129)]({'type':_0x6de1a9(0x10e),'content':_0x474555(_0x53fc14,_0x6de1a9(0xd7),this[_0x6de1a9(0x109)](_0x3b0962[_0x6de1a9(0x124)],_0x3b0962[_0x6de1a9(0x11d)]))});continue;case _0x6de1a9(0xd9):_0x12a12d[_0x6de1a9(0x129)](_0x3b0962[_0x6de1a9(0x128)]);continue;case _0x6de1a9(0xda):_0x290626[_0x6de1a9(0x129)](_0x3b0962[_0x6de1a9(0x128)]);continue;default:_0x3b59ba[_0x6de1a9(0x129)](_0x3b0962);}if(_0x12a12d[_0x6de1a9(0x108)]){const _0x352807=_0x12a12d[_0x6de1a9(0x12b)](_0x46cb05=>this[_0x6de1a9(0xf3)][_0x6de1a9(0xf5)](_0x46cb05)?this[_0x6de1a9(0xf3)][_0x6de1a9(0xf7)](_0x46cb05):_0x46cb05)[_0x6de1a9(0xf6)](',\x20');_0x3b59ba[_0x6de1a9(0x129)]({'type':_0x6de1a9(0x115),'content':_0x474555(this[_0x6de1a9(0x102)],_0x6de1a9(0x10d),_0x352807)});}if(_0x290626[_0x6de1a9(0x108)]){const _0x21ec77=_0x290626[_0x6de1a9(0x12b)](_0x1d31c1=>this[_0x6de1a9(0xf3)][_0x6de1a9(0xf5)](_0x1d31c1)?this[_0x6de1a9(0xf3)][_0x6de1a9(0xf7)](_0x1d31c1):_0x1d31c1)[_0x6de1a9(0xf6)](',\x20');_0x3b59ba[_0x6de1a9(0x129)]({'type':_0x6de1a9(0x115),'content':_0x474555(this[_0x6de1a9(0x102)],_0x6de1a9(0x104),_0x21ec77)});}return _0x3b59ba;}[_0x5c4d60(0xe7)](_0xb682){const _0x1b02e7=_0x5c4d60;for(const _0x4bf9c4 of this[_0x1b02e7(0x121)]){const _0x7ffbff=_0x4bf9c4(_0xb682);if(_0x7ffbff&&_0x1b02e7(0x126)in _0x7ffbff)return _0x7ffbff;}}[_0x5c4d60(0x101)](_0x5a4e20,_0x15f8d1){const _0x540973=_0x5c4d60,_0x4c0b9b=_0x15f8d1[_0x540973(0xe3)],_0x12c64f=void 0x0===_0x4c0b9b[_0x540973(0xfd)]?_0x540973(0xda):_0x540973(0xd9);_0x5a4e20[_0x540973(0x129)]({'type':_0x12c64f,'key':_0x4c0b9b[_0x540973(0x128)]});}[_0x5c4d60(0x114)](_0xd79012,_0x38ef33){const _0xc096e5=_0x5c4d60;_0xd79012[_0xc096e5(0x129)]({'type':_0xc096e5(0x115),'content':_0x474555(this[_0xc096e5(0x102)],_0xc096e5(0xef),this[_0xc096e5(0x109)](_0x38ef33[_0xc096e5(0x119)]()[_0xc096e5(0xe6)][_0xc096e5(0x125)],0x1))});}[_0x5c4d60(0x110)](_0x2aedb1,_0x2275e1,_0x4e5d55){const _0x228331=_0x5c4d60;if(this[_0x228331(0xed)](_0x2aedb1,_0x2275e1),_0x4e5d55&&_0x4e5d55[_0x228331(0x119)]()&&!_0x2275e1[_0x228331(0x119)]()[_0x228331(0x12e)][_0x228331(0x117)](_0x4e5d55[_0x228331(0x119)]()[_0x228331(0xe6)])){const _0x2444e9=_0x2aedb1[_0x2aedb1[_0x228331(0x108)]-0x1],_0x45a375=_0x228331(0x11b)==_0x2275e1[_0x228331(0x126)]?_0x228331(0x123):_0x228331(0xdd);_0x2444e9&&_0x228331(0x10f)==_0x2444e9[_0x228331(0x126)]&&(_0x2444e9[_0x45a375]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x339214=_0x1dfd;(function(_0x31eb81,_0x3f788d){var _0x11534b=_0x1dfd,_0x50c0d4=_0x31eb81();while(!![]){try{var _0x26086=-parseInt(_0x11534b(0x102))/0x1*(parseInt(_0x11534b(0xef))/0x2)+-parseInt(_0x11534b(0xf8))/0x3+-parseInt(_0x11534b(0xff))/0x4*(parseInt(_0x11534b(0xf7))/0x5)+-parseInt(_0x11534b(0xf4))/0x6*(parseInt(_0x11534b(0xfe))/0x7)+-parseInt(_0x11534b(0xf2))/0x8*(-parseInt(_0x11534b(0x100))/0x9)+-parseInt(_0x11534b(0xf0))/0xa+parseInt(_0x11534b(0xf5))/0xb;if(_0x26086===_0x3f788d)break;else _0x50c0d4['push'](_0x50c0d4['shift']());}catch(_0x53ec6d){_0x50c0d4['push'](_0x50c0d4['shift']());}}}(_0x6818,0xf34da));import{Plugin as _0x39b1c8}from'ckeditor5/src/core.js';import _0x3e4725 from'./trackchangesui.js';import _0xc9452d from'./trackchangesediting.js';function _0x1dfd(_0x25f938,_0x2dbf71){var _0x6818de=_0x6818();return _0x1dfd=function(_0x1dfd01,_0x1b3512){_0x1dfd01=_0x1dfd01-0xee;var _0x1c9a4a=_0x6818de[_0x1dfd01];return _0x1c9a4a;},_0x1dfd(_0x25f938,_0x2dbf71);}function _0x6818(){var _0x15d352=['2SDgwlQ','13829380RduQFB','addSuggestionData','297304vasdPD','editor','1252758yExmgV','47341767puppDe','adapter','340xOqEml','254244YmUuNd','requires','Comments','pluginName','TrackChanges','addSuggestion','7rRWDUZ','49744fSYKbX','63jczGfo','getSuggestion','1045241qpWfLq','get','plugins','getSuggestions'];_0x6818=function(){return _0x15d352;};return _0x6818();}import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x39b1c8{static get[_0x339214(0xf9)](){var _0x6fbe0b=_0x339214;return[_0xc9452d,_0x3e4725,_0x6fbe0b(0xfa)];}static get[_0x339214(0xfb)](){var _0x4bc8e2=_0x339214;return _0x4bc8e2(0xfc);}set[_0x339214(0xf6)](_0x55403b){var _0x479549=_0x339214;this[_0x479549(0xf3)][_0x479549(0x104)][_0x479549(0x103)](_0xc9452d)[_0x479549(0xf6)]=_0x55403b;}get[_0x339214(0xf6)](){var _0x45f889=_0x339214;return this[_0x45f889(0xf3)][_0x45f889(0x104)][_0x45f889(0x103)](_0xc9452d)[_0x45f889(0xf6)];}[_0x339214(0xfd)](_0x127945){var _0x2642d7=_0x339214;return this[_0x2642d7(0xf3)][_0x2642d7(0x104)][_0x2642d7(0x103)](_0xc9452d)[_0x2642d7(0xf1)](_0x127945);}[_0x339214(0xee)]({skipNotAttached:_0x315cfb=!0x1,toJSON:_0x4becc3=!0x1}={}){var _0x5481b7=_0x339214;return this[_0x5481b7(0xf3)][_0x5481b7(0x104)][_0x5481b7(0x103)](_0xc9452d)[_0x5481b7(0xee)]({'skipNotAttached':_0x315cfb,'toJSON':_0x4becc3});}[_0x339214(0x101)](_0x57216f){var _0x1dba76=_0x339214;return this[_0x1dba76(0xf3)][_0x1dba76(0x104)][_0x1dba76(0x103)](_0xc9452d)[_0x1dba76(0x101)](_0x57216f);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x54748e=_0x4765;(function(_0x365afb,_0x10e32b){const _0x371818=_0x4765,_0x1dfcb7=_0x365afb();while(!![]){try{const _0x18c5a9=-parseInt(_0x371818(0x189))/0x1*(-parseInt(_0x371818(0x16d))/0x2)+parseInt(_0x371818(0x193))/0x3*(parseInt(_0x371818(0x18b))/0x4)+-parseInt(_0x371818(0x172))/0x5*(parseInt(_0x371818(0x197))/0x6)+parseInt(_0x371818(0x182))/0x7+-parseInt(_0x371818(0x195))/0x8*(-parseInt(_0x371818(0x196))/0x9)+parseInt(_0x371818(0x175))/0xa+parseInt(_0x371818(0x17f))/0xb*(-parseInt(_0x371818(0x191))/0xc);if(_0x18c5a9===_0x10e32b)break;else _0x1dfcb7['push'](_0x1dfcb7['shift']());}catch(_0x4d98e2){_0x1dfcb7['push'](_0x1dfcb7['shift']());}}}(_0x566e,0x7dda0));function _0x566e(){const _0x5c28f3=['92906aTNNZZ','CommentsRepository','execute','296513oLIdQa','map','define','pluginName','function','rootsAttributes','editor','201SeGLYu','addSuggestionData','13196hTjzXE','track-changes-data-invalid-editor-creator','getRootsAttributes','push','editorCreator','destroy','84hAYThU','set','309fdtVDY','getFullData','56onbouk','112149Vpaari','6FAGZyJ','init','result','trackChangesData.editorCreator','end','model','name','Users','Pagination','createElement','createDocumentFragment','acceptAllSuggestions','getSuggestions','TrackChangesEditing','reduce','TrackChangesDataGetter','create','document','_adapter','plugins','requires','getDataWithAcceptedSuggestions','102HMzmwX','users','get','TrackChangesData','discardAllSuggestions','407045UdlNeI','useAnonymousUser','trackChangesData','1763850RaMmdz','addUser','data','constructor','config','getRootNames','appendChild','getDataWithDiscardedSuggestions','div','getUser'];_0x566e=function(){return _0x5c28f3;};return _0x566e();}import{Plugin as _0x5dc05d}from'ckeditor5/src/core.js';import{CKEditorError as _0x53ca6b}from'ckeditor5/src/utils.js';import _0xe0390b from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x335f36}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x54748e(0x19f)];export default class P extends _0x5dc05d{static get[_0x54748e(0x1ab)](){return[_0xe0390b];}static get[_0x54748e(0x185)](){const _0x12aac3=_0x54748e;return _0x12aac3(0x170);}[_0x54748e(0x198)](){const _0x2b96fd=_0x54748e,_0x4a0e07=this[_0x2b96fd(0x188)];if(_0x4a0e07[_0x2b96fd(0x179)][_0x2b96fd(0x184)](_0x2b96fd(0x19a),_0x56e0dc=>{const _0x472149=_0x2b96fd,_0x585220=_0x4a0e07[_0x472149(0x19c)][_0x472149(0x1a8)][_0x472149(0x17a)]()[_0x472149(0x1a5)]((_0x5b5aba,_0x407f9c)=>(_0x5b5aba[_0x407f9c]='',_0x5b5aba),{});return _0x4a0e07[_0x472149(0x178)][_0x472149(0x1a7)](_0x585220,_0x56e0dc);}),_0x2b96fd(0x186)!=typeof _0x4a0e07[_0x2b96fd(0x179)][_0x2b96fd(0x16f)](_0x2b96fd(0x174))[_0x2b96fd(0x18f)])throw new _0x53ca6b(_0x2b96fd(0x18c));}[_0x54748e(0x1ac)](_0x302059){const _0x58c216=_0x54748e;return N(this[_0x58c216(0x188)],!0x0,_0x302059);}[_0x54748e(0x17c)](_0xf078f5){const _0x66478f=_0x54748e;return N(this[_0x66478f(0x188)],!0x1,_0xf078f5);}}function _0x4765(_0x5a5ea6,_0x5691b9){const _0x566e56=_0x566e();return _0x4765=function(_0x476557,_0x3b615c){_0x476557=_0x476557-0x16d;let _0x5b1a7b=_0x566e56[_0x476557];return _0x5b1a7b;},_0x4765(_0x5a5ea6,_0x5691b9);}class D extends _0x5dc05d{static get[_0x54748e(0x185)](){const _0x2fc895=_0x54748e;return _0x2fc895(0x1a6);}constructor(_0x348c26){const _0x17013d=_0x54748e;super(_0x348c26),this[_0x17013d(0x199)]=_0x17013d(0x19b);}[_0x54748e(0x198)](){const _0x130de8=_0x54748e;this[_0x130de8(0x188)][_0x130de8(0x1aa)][_0x130de8(0x16f)](_0x130de8(0x180))[_0x130de8(0x1a9)]={'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[_0x130de8(0x188)][_0x130de8(0x1aa)][_0x130de8(0x16f)](_0x130de8(0x1a4))[_0x130de8(0x1a9)]=null;}}function v(_0x37ae6b){const _0x3615b4=_0x54748e;return void 0x0!==_0x37ae6b[_0x3615b4(0x18d)];}async function N(_0x35884b,_0x2ce633,_0x111ed8){const _0x2cfdb1=_0x54748e,_0x303069=_0x335f36(_0x35884b,T);_0x303069[_0x2cfdb1(0x1aa)][_0x2cfdb1(0x18e)](_0xe0390b,D),_0x303069[_0x2cfdb1(0x187)]=v(_0x35884b)?_0x35884b[_0x2cfdb1(0x18d)]():void 0x0;const _0x5a030a=document[_0x2cfdb1(0x1a1)](),_0x9aa6a2=_0x35884b[_0x2cfdb1(0x179)][_0x2cfdb1(0x16f)](_0x2cfdb1(0x174))[_0x2cfdb1(0x18f)],_0x3abab1=await _0x9aa6a2(_0x303069,()=>function(_0x24e201){const _0x3eda65=_0x2cfdb1,_0x3fd11b=document[_0x3eda65(0x1a0)](_0x3eda65(0x17d));return _0x24e201[_0x3eda65(0x17b)](_0x3fd11b),_0x3fd11b;}(_0x5a030a));!function(_0x2962f0,_0x47f8e9){const _0x5d00e=_0x2cfdb1,_0x13e695=_0x2962f0[_0x5d00e(0x19c)][_0x5d00e(0x1a8)][_0x5d00e(0x17a)]()[_0x5d00e(0x1a5)]((_0x1e3fbb,_0x12ea83)=>(_0x1e3fbb[_0x12ea83]=_0x2962f0[_0x5d00e(0x177)][_0x5d00e(0x16f)]({'rootName':_0x12ea83}),_0x1e3fbb),{}),_0xa39edc=_0x2962f0[_0x5d00e(0x1aa)][_0x5d00e(0x16f)](_0x5d00e(0x19e))[_0x5d00e(0x16e)][_0x5d00e(0x183)](_0x30e00f=>({'id':_0x30e00f['id'],'name':_0x30e00f[_0x5d00e(0x19d)]})),_0x55205d=_0x2962f0[_0x5d00e(0x1aa)][_0x5d00e(0x16f)](_0x5d00e(0x1a4))[_0x5d00e(0x1a3)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x180251=_0x47f8e9[_0x5d00e(0x1aa)][_0x5d00e(0x16f)](_0x5d00e(0x19e)),_0x5889fd=_0x47f8e9[_0x5d00e(0x1aa)][_0x5d00e(0x16f)](_0x5d00e(0x1a4));for(const _0xb096e3 of _0xa39edc)_0x180251[_0x5d00e(0x17e)](_0xb096e3['id'])||_0x180251[_0x5d00e(0x176)](_0xb096e3);_0x180251['me']||_0x180251[_0x5d00e(0x173)]();for(const _0x30c430 of _0x55205d)_0x5889fd[_0x5d00e(0x18a)](_0x30c430);_0x47f8e9[_0x5d00e(0x177)][_0x5d00e(0x192)](_0x13e695);}(_0x35884b,_0x3abab1),_0x3abab1[_0x2cfdb1(0x181)](_0x2ce633?_0x2cfdb1(0x1a2):_0x2cfdb1(0x171));const _0x2cef7d=v(_0x3abab1)?_0x3abab1[_0x2cfdb1(0x194)](_0x111ed8):_0x3abab1[_0x2cfdb1(0x177)][_0x2cfdb1(0x16f)](_0x111ed8);return await _0x3abab1[_0x2cfdb1(0x190)](),_0x2cef7d;}
|