@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240226.0 → 0.0.0-nightly-20240228.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 _0x3fa46d=_0x2996;(function(_0x340530,_0x4a5135){const _0x483c35=_0x2996,_0x44d8dd=_0x340530();while(!![]){try{const _0xba89ce=-parseInt(_0x483c35(0x12f))/0x1+-parseInt(_0x483c35(0x138))/0x2+parseInt(_0x483c35(0x131))/0x3*(parseInt(_0x483c35(0x132))/0x4)+-parseInt(_0x483c35(0x13d))/0x5+-parseInt(_0x483c35(0x135))/0x6*(-parseInt(_0x483c35(0x13b))/0x7)+-parseInt(_0x483c35(0x13f))/0x8*(parseInt(_0x483c35(0x12e))/0x9)+parseInt(_0x483c35(0x134))/0xa;if(_0xba89ce===_0x4a5135)break;else _0x44d8dd['push'](_0x44d8dd['shift']());}catch(_0xd6cf8e){_0x44d8dd['push'](_0x44d8dd['shift']());}}}(_0x4b4c,0x59dd0));import{Plugin as _0x24227c}from'ckeditor5/src/core.js';function _0x2996(_0x271cb8,_0x459243){const _0x4b4c1f=_0x4b4c();return _0x2996=function(_0x2996db,_0x33f876){_0x2996db=_0x2996db-0x12d;let _0x49bf35=_0x4b4c1f[_0x2996db];return _0x49bf35;},_0x2996(_0x271cb8,_0x459243);}export default class vt extends _0x24227c{[_0x3fa46d(0x137)](){const _0x1e3a7f=_0x3fa46d,_0x280241=this[_0x1e3a7f(0x13a)];_0x280241[_0x1e3a7f(0x13c)][_0x1e3a7f(0x133)](_0x1e3a7f(0x130))&&_0x280241[_0x1e3a7f(0x13c)][_0x1e3a7f(0x12d)](_0x1e3a7f(0x13e))[_0x1e3a7f(0x139)](_0x1e3a7f(0x136));}}function _0x4b4c(){const _0x129fcb=['TrackChangesEditing','41912QjmNte','get','36XTidSa','240485oWOfqc','Template','1163301wrBfva','4IZMUVM','has','5187210VAALxa','6XAnJez','insertTemplate','afterInit','332420UBHIbE','enableCommand','editor','3662183wyOxaD','plugins','3169630rEfecl'];_0x4b4c=function(){return _0x129fcb;};return _0x4b4c();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x16f764=_0x3fe1;(function(_0xa08e01,_0x85a063){const _0x3806e6=_0x3fe1,_0x576122=_0xa08e01();while(!![]){try{const _0x9319f5=-parseInt(_0x3806e6(0x1ee))/0x1*(-parseInt(_0x3806e6(0x1ed))/0x2)+-parseInt(_0x3806e6(0x20d))/0x3*(-parseInt(_0x3806e6(0x211))/0x4)+-parseInt(_0x3806e6(0x207))/0x5*(parseInt(_0x3806e6(0x206))/0x6)+-parseInt(_0x3806e6(0x1ec))/0x7+parseInt(_0x3806e6(0x204))/0x8+parseInt(_0x3806e6(0x1fc))/0x9+parseInt(_0x3806e6(0x205))/0xa;if(_0x9319f5===_0x85a063)break;else _0x576122['push'](_0x576122['shift']());}catch(_0x2e0f74){_0x576122['push'](_0x576122['shift']());}}}(_0x5219,0xd5669));function _0x3fe1(_0x4988d8,_0x375ccf){const _0x5219a3=_0x5219();return _0x3fe1=function(_0x3fe182,_0x1cfda1){_0x3fe182=_0x3fe182-0x1ec;let _0x49b50d=_0x5219a3[_0x3fe182];return _0x49b50d;},_0x3fe1(_0x4988d8,_0x375ccf);}import{Plugin as _0x422bfc}from'ckeditor5/src/core.js';import{getTranslation as _0x38fab6}from'../utils/common-translations.js';function _0x5219(){const _0x42687f=['nodeBefore','suggestion','title-content','ELEMENT_TITLE','2721PQOEba','model','_descriptionFactory','element','4868pcHsTW','isTouching','from','newRange','updateMarker','document','schema','7363986rNMCay','354946ujwvnl','3dAzXqG','isEqual','locale','get','editor','registerPostFixer','createRange','getChangedMarkers','has','Title','registerElementLabel','TrackChangesEditing','isCollapsed','removeMarker','490176niPRse','afterInit','differ','end','forward','plugins','start','getNearestSelectionRange','11822832ovLKjn','4200310YmtZOb','71250qOctVk','700UcqjiW','_splitMarkerName'];_0x5219=function(){return _0x42687f;};return _0x5219();}export default class Ct extends _0x422bfc{[_0x16f764(0x1fd)](){const _0x4e4e13=_0x16f764,_0x44667e=this[_0x4e4e13(0x1f2)];if(!_0x44667e[_0x4e4e13(0x201)][_0x4e4e13(0x1f6)](_0x4e4e13(0x1f7)))return;const _0xb1bea6=_0x44667e[_0x4e4e13(0x201)][_0x4e4e13(0x1f1)](_0x4e4e13(0x1f9));_0xb1bea6[_0x4e4e13(0x20f)][_0x4e4e13(0x1f8)](_0x4e4e13(0x20b),()=>_0x38fab6(_0x44667e[_0x4e4e13(0x1f0)],_0x4e4e13(0x20c))),_0x44667e[_0x4e4e13(0x20e)][_0x4e4e13(0x216)][_0x4e4e13(0x1f3)](_0x202964=>{const _0x5a2d81=_0x4e4e13;let _0x1a106e=!0x1;const _0x35b1b4=Array[_0x5a2d81(0x213)](_0x44667e[_0x5a2d81(0x20e)][_0x5a2d81(0x216)][_0x5a2d81(0x1fe)][_0x5a2d81(0x1f5)]());for(const {name:_0x559a46,data:_0x26c00f}of _0x35b1b4){const {group:_0x8e36a5}=_0xb1bea6[_0x5a2d81(0x208)](_0x559a46);if(_0x5a2d81(0x20a)!==_0x8e36a5||!_0x26c00f[_0x5a2d81(0x214)])continue;const _0x530059=_0x26c00f[_0x5a2d81(0x214)],_0x3492b4=_0x530059[_0x5a2d81(0x1ff)][_0x5a2d81(0x209)];if(!_0x3492b4||!_0x3492b4['is'](_0x5a2d81(0x210),_0x5a2d81(0x20b)))continue;if(!_0x530059[_0x5a2d81(0x202)][_0x5a2d81(0x212)](_0x530059[_0x5a2d81(0x1ff)]))continue;const _0x3afc70=_0x44667e[_0x5a2d81(0x20e)][_0x5a2d81(0x217)][_0x5a2d81(0x203)](_0x530059[_0x5a2d81(0x1ff)],_0x5a2d81(0x200));if(_0x3afc70&&_0x3afc70[_0x5a2d81(0x1fa)]){const _0x3cd252=_0x202964[_0x5a2d81(0x1f4)](_0x530059[_0x5a2d81(0x202)],_0x3afc70[_0x5a2d81(0x202)]);_0x3cd252[_0x5a2d81(0x1ef)](_0x530059)||(_0x202964[_0x5a2d81(0x215)](_0x559a46,{'range':_0x3cd252}),_0x1a106e=!0x0);}_0x1a106e||(_0x202964[_0x5a2d81(0x1fb)](_0x559a46),_0x1a106e=!0x0);}return _0x1a106e;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3546(){const _0xa21382=['redo','plugins','get','416VAoNha','afterInit','60GoygiX','3663140sAqpXj','enableCommand','UndoEditing','has','675621ilrMDL','629262ccgdwM','undo','TrackChangesEditing','1921281ykECXG','editor','137855wxqpvp','3084235ztePvx','2791864utroiM'];_0x3546=function(){return _0xa21382;};return _0x3546();}const _0x66d244=_0x443b;(function(_0x2be211,_0xd97124){const _0x42531b=_0x443b,_0x9a1383=_0x2be211();while(!![]){try{const _0x1c3774=parseInt(_0x42531b(0x1c7))/0x1+parseInt(_0x42531b(0x1cf))/0x2+parseInt(_0x42531b(0x1cb))/0x3+parseInt(_0x42531b(0x1c3))/0x4+parseInt(_0x42531b(0x1cd))/0x5*(parseInt(_0x42531b(0x1c2))/0x6)+parseInt(_0x42531b(0x1ce))/0x7+-parseInt(_0x42531b(0x1d3))/0x8*(parseInt(_0x42531b(0x1c8))/0x9);if(_0x1c3774===_0xd97124)break;else _0x9a1383['push'](_0x9a1383['shift']());}catch(_0x141ee6){_0x9a1383['push'](_0x9a1383['shift']());}}}(_0x3546,0xacef8));function _0x443b(_0x1077ca,_0x490b6b){const _0x354666=_0x3546();return _0x443b=function(_0x443b41,_0x58a0ee){_0x443b41=_0x443b41-0x1c2;let _0xafb499=_0x354666[_0x443b41];return _0xafb499;},_0x443b(_0x1077ca,_0x490b6b);}import{Plugin as _0x3f4413}from'ckeditor5/src/core.js';export default class Dt extends _0x3f4413{[_0x66d244(0x1d4)](){const _0x4475d1=_0x66d244,_0x198fcd=this[_0x4475d1(0x1cc)],_0x141624=_0x198fcd[_0x4475d1(0x1d1)][_0x4475d1(0x1d2)](_0x4475d1(0x1ca));_0x198fcd[_0x4475d1(0x1d1)][_0x4475d1(0x1c6)](_0x4475d1(0x1c5))&&(_0x141624[_0x4475d1(0x1c4)](_0x4475d1(0x1c9)),_0x141624[_0x4475d1(0x1c4)](_0x4475d1(0x1d0)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4d5159,_0x5831ee){const _0x52b6f2=_0x1042,_0x346704=_0x4d5159();while(!![]){try{const _0x275de4=parseInt(_0x52b6f2(0x20b))/0x1+parseInt(_0x52b6f2(0x1e2))/0x2*(-parseInt(_0x52b6f2(0x201))/0x3)+parseInt(_0x52b6f2(0x1ed))/0x4+parseInt(_0x52b6f2(0x1e1))/0x5+-parseInt(_0x52b6f2(0x1e4))/0x6+-parseInt(_0x52b6f2(0x208))/0x7+parseInt(_0x52b6f2(0x20e))/0x8*(parseInt(_0x52b6f2(0x1fe))/0x9);if(_0x275de4===_0x5831ee)break;else _0x346704['push'](_0x346704['shift']());}catch(_0x412ab8){_0x346704['push'](_0x346704['shift']());}}}(_0x25e7,0x2e311));export function getRangesWithAttribute(_0x280cdc,_0x5b40f1,_0x1449aa){const _0x1a732a=_0x1042,_0x45a7fa=[];for(const _0xbbb496 of _0x5b40f1[_0x1a732a(0x1e7)]())_0xbbb496[_0x1a732a(0x202)](_0x280cdc)&&_0x45a7fa[_0x1a732a(0x1f6)](_0x1449aa[_0x1a732a(0x1f7)](_0xbbb496));return _0x45a7fa;}export function getElementsAffectedByListItemRename(_0x1a824b){const _0x76b58d=_0x1042,_0x1e5cdb=[];if(_0x1a824b['is'](_0x76b58d(0x1e3),_0x76b58d(0x1f3))){let _0x2c3241=_0x1a824b[_0x76b58d(0x1e8)];for(;_0x2c3241&&_0x2c3241['is'](_0x76b58d(0x1e3),_0x76b58d(0x1f3))&&_0x2c3241[_0x76b58d(0x1f1)](_0x76b58d(0x1ff))>0x0;)_0x1e5cdb[_0x76b58d(0x1f6)](_0x2c3241),_0x2c3241=_0x2c3241[_0x76b58d(0x1e8)];}return _0x1e5cdb;}export function downcastSplitMergeMarker(_0x201a1d,_0x4fecbe,{showActiveMarker:_0xbfca56=!0x0}={}){const _0x5aea16=_0x1042,_0x38c6f1=_0x201a1d[_0x5aea16(0x20c)][_0x5aea16(0x1fa)](_0x5aea16(0x1df));return(_0x4117d2,_0x58214b,_0x3daa6b)=>{const _0xc1c6ca=_0x5aea16;if(!_0x3daa6b[_0xc1c6ca(0x1dd)][_0xc1c6ca(0x1f2)](_0x58214b[_0xc1c6ca(0x206)],_0x4117d2[_0xc1c6ca(0x209)]))return;const _0x523037=_0x58214b[_0xc1c6ca(0x206)][_0xc1c6ca(0x1f5)](),_0x5c01eb=_0x58214b[_0xc1c6ca(0x206)][_0xc1c6ca(0x20d)],_0x5c18e8=_0x201a1d[_0xc1c6ca(0x207)][_0xc1c6ca(0x1f0)];let _0x5a111d=null,_0x1b7c46=null,_0x441c70=!0x1,_0xd04430=!0x1;for(const _0x3713d0 of _0x523037){const _0x401f5c=_0x3713d0[_0xc1c6ca(0x1e6)];_0x441c70=_0x441c70||_0x5c18e8[_0xc1c6ca(0x1ec)](_0x401f5c);const _0x587ca0=_0x3daa6b[_0xc1c6ca(0x203)][_0xc1c6ca(0x20a)](_0x401f5c);if(_0x587ca0&&_0x587ca0[_0xc1c6ca(0x1fc)](_0xc1c6ca(0x1da)))return;_0xc1c6ca(0x1ef)==_0x3713d0[_0xc1c6ca(0x1e9)]&&(_0x5c18e8[_0xc1c6ca(0x1fb)](_0x401f5c)&&!_0x5c18e8[_0xc1c6ca(0x1fd)](_0x401f5c)&&(_0x401f5c[_0xc1c6ca(0x1e8)]||_0x5c01eb[_0xc1c6ca(0x1ee)]?_0x5a111d&&_0x5a111d[_0xc1c6ca(0x200)]==_0x401f5c||(_0x5a111d=_0x401f5c,_0x4c326c(_0x3713d0[_0xc1c6ca(0x1dc)]),_0xd04430=!0x0):_0x1b7c46=_0x1b7c46||_0x3713d0[_0xc1c6ca(0x1dc)]));}function _0x4c326c(_0x35a561){const _0x4e5259=_0xc1c6ca,_0x3f90e3=_0x3daa6b[_0x4e5259(0x1db)][_0x4e5259(0x1de)](_0x4e5259(0x1e5),{'class':_0x4e5259(0x205)+_0x4fecbe}),_0x41a1e4=_0x3daa6b[_0x4e5259(0x203)][_0x4e5259(0x1e0)](_0x35a561);_0xbfca56&&_0x38c6f1[_0x4e5259(0x1eb)][_0x4e5259(0x20f)](_0x58214b[_0x4e5259(0x204)])&&_0x3daa6b[_0x4e5259(0x1db)][_0x4e5259(0x1f8)](_0x4e5259(0x1ea),_0x3f90e3),_0x3daa6b[_0x4e5259(0x1db)][_0x4e5259(0x1f4)](_0x41a1e4,_0x3f90e3),_0x3daa6b[_0x4e5259(0x203)][_0x4e5259(0x1f9)](_0x3f90e3,_0x58214b[_0x4e5259(0x204)]);}_0x441c70||_0xd04430||!_0x1b7c46||_0x4c326c(_0x1b7c46);};}function _0x1042(_0x350c93,_0x485e40){const _0x25e7f0=_0x25e7();return _0x1042=function(_0x104214,_0x221e27){_0x104214=_0x104214-0x1da;let _0x116488=_0x25e7f0[_0x104214];return _0x116488;},_0x1042(_0x350c93,_0x485e40);}function _0x25e7(){const _0x7706df=['addClass','bindElementToMarker','get','isBlock','getCustomProperty','isLimit','9muUMBg','listIndent','parent','605589AuZbwA','hasAttribute','mapper','markerName','ck-suggestion-marker-','markerRange','model','2143729MHEFlJ','name','toViewElement','13264bQbCgo','plugins','start','3663152QLUYXL','includes','addHighlight','writer','previousPosition','consumable','createUIElement','TrackChangesEditing','toViewPosition','550930eHKvIf','2clBOaB','element','617358cLWoEB','span','item','getItems','nextSibling','type','ck-suggestion-marker--active','activeMarkers','isContent','875440mjMAQW','isAtEnd','elementEnd','schema','getAttribute','test','listItem','insert','getWalker','push','createRangeOn'];_0x25e7=function(){return _0x7706df;};return _0x25e7();}
|
package/src/suggestion.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x16ea(_0xfaae60,_0x156017){const _0x3d2c52=_0x3d2c();return _0x16ea=function(_0x16ea89,_0x11f06f){_0x16ea89=_0x16ea89-0x146;let _0x23749a=_0x3d2c52[_0x16ea89];return _0x23749a;},_0x16ea(_0xfaae60,_0x156017);}const _0x4d1e15=_0x16ea;(function(_0x1e0bf7,_0x320335){const _0x357969=_0x16ea,_0x102d92=_0x1e0bf7();while(!![]){try{const _0x489d54=parseInt(_0x357969(0x164))/0x1+parseInt(_0x357969(0x16b))/0x2+-parseInt(_0x357969(0x16e))/0x3*(-parseInt(_0x357969(0x157))/0x4)+-parseInt(_0x357969(0x194))/0x5*(-parseInt(_0x357969(0x148))/0x6)+-parseInt(_0x357969(0x162))/0x7*(-parseInt(_0x357969(0x159))/0x8)+-parseInt(_0x357969(0x16f))/0x9+parseInt(_0x357969(0x15b))/0xa*(-parseInt(_0x357969(0x150))/0xb);if(_0x489d54===_0x320335)break;else _0x102d92['push'](_0x102d92['shift']());}catch(_0x2f2055){_0x102d92['push'](_0x102d92['shift']());}}}(_0x3d2c,0xde285));import{Element as _0x5e1a40}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x98dbc,uid as _0x39669f}from'ckeditor5/src/utils.js';function _0x3d2c(){const _0x20b595=['addRange','discard','add','nodeAfter','getFirstMarker','previous','isInContent','getAllAdjacentSuggestions','creator','data','hasComments','suggestion:','length','end','8653270dAPxWH','removeMarkers','next','getMarkerNames','start','size','6HOWJkE','setAttribute','isExternal','subType','@external','onDiscard','isIntersecting','markers','15223219vTCADa','_model','getContainedElement','createdAt','commentThread','getRanges','push','112fXCgUO','delete','18560LJCcvd','get','10QAYfEi','onAttributesChange','removeMarker','_markerNames','accept','_onDiscard','_onAttributesChange','553SQOvCU','getFirstRange','274221nKcJlw','map','_onAccept','filter','change','getRange','type','2015504CvJzIC','from','set','32064sWoGeO','10811565PcyHtf','addMarkerName','_saved','clear','getItems','substr','onAccept','split','getMultiRangeId','attributes','reduce','toJSON','addMarker','author','isMultiRange','_isDataLoaded','removeAttribute','nodeBefore','decorate','head','getMarkers','isIntersectingWithRange','authoredAt'];_0x3d2c=function(){return _0x20b595;};return _0x3d2c();}import{cloneDeep as _0x489456,isEqual as _0x42432c,set as _0x2bc0e6,unset as _0x224cf5}from'lodash-es';export default class u extends _0x98dbc(){constructor(_0x3d1e89,_0x59751c){const _0x472740=_0x16ea;super(),this[_0x472740(0x17e)]=!0x1,this['id']=_0x59751c['id'],this[_0x472740(0x16a)]=_0x59751c[_0x472740(0x16a)],this[_0x472740(0x14b)]=_0x59751c[_0x472740(0x14b)]||null,this[_0x472740(0x17c)]=_0x59751c[_0x472740(0x17c)],this[_0x472740(0x18e)]=_0x59751c[_0x472740(0x18e)]||_0x59751c[_0x472740(0x17c)],this[_0x472740(0x14a)]=Boolean(_0x59751c[_0x472740(0x178)]&&_0x59751c[_0x472740(0x178)][_0x472740(0x14c)]),this[_0x472740(0x18f)]=null,this[_0x472740(0x151)]=_0x3d1e89,this[_0x472740(0x166)]=_0x59751c[_0x472740(0x175)],this[_0x472740(0x160)]=_0x59751c[_0x472740(0x14d)],this[_0x472740(0x161)]=_0x59751c[_0x472740(0x15c)],this[_0x472740(0x15e)]=new Set(),this[_0x472740(0x153)]=null,this[_0x472740(0x16d)](_0x472740(0x185),null),this[_0x472740(0x16d)](_0x472740(0x178),_0x59751c[_0x472740(0x178)]||{}),this[_0x472740(0x16d)](_0x472740(0x18b),null),this[_0x472740(0x16d)](_0x472740(0x196),null),this[_0x472740(0x16d)](_0x472740(0x154),null),this[_0x472740(0x16d)](_0x472740(0x171),!0x1),this[_0x472740(0x181)](_0x472740(0x15f)),this[_0x472740(0x181)](_0x472740(0x187));}get[_0x4d1e15(0x182)](){const _0x1c927f=_0x4d1e15;let _0x4c2f7c=this;for(;_0x4c2f7c[_0x1c927f(0x18b)];)_0x4c2f7c=_0x4c2f7c[_0x1c927f(0x18b)];return _0x4c2f7c;}get[_0x4d1e15(0x190)](){const _0x4ddcc3=_0x4d1e15;return!!this[_0x4ddcc3(0x154)]&&this[_0x4ddcc3(0x154)][_0x4ddcc3(0x192)]>0x0;}get[_0x4d1e15(0x17d)](){const _0x276c72=_0x4d1e15;if(0x0==this[_0x276c72(0x15e)][_0x276c72(0x147)])return!0x1;return 0x6==Array[_0x276c72(0x16c)](this[_0x276c72(0x15e)])[0x0][_0x276c72(0x176)](':')[_0x276c72(0x192)];}get[_0x4d1e15(0x18c)](){const _0x3c5ade=_0x4d1e15;return null!==this[_0x3c5ade(0x18a)]();}[_0x4d1e15(0x170)](_0x56fe5a){const _0xf3c3b=_0x4d1e15;this[_0xf3c3b(0x15e)][_0xf3c3b(0x188)](_0x56fe5a);}[_0x4d1e15(0x197)](){const _0x2622d0=_0x4d1e15;return Array[_0x2622d0(0x16c)](this[_0x2622d0(0x15e)]);}[_0x4d1e15(0x183)](){const _0x4ad37e=_0x4d1e15;return this[_0x4ad37e(0x197)]()[_0x4ad37e(0x165)](_0x3830c8=>this[_0x4ad37e(0x151)][_0x4ad37e(0x14f)][_0x4ad37e(0x15a)](_0x3830c8))[_0x4ad37e(0x167)](_0x2e064a=>_0x2e064a);}[_0x4d1e15(0x18a)](){const _0x4218a4=_0x4d1e15;return this[_0x4218a4(0x183)]()[0x0]||null;}[_0x4d1e15(0x195)](){const _0xc2d691=_0x4d1e15;this[_0xc2d691(0x151)][_0xc2d691(0x168)](_0x4a778f=>{const _0x9904b8=_0xc2d691;for(const _0x25f5de of this[_0x9904b8(0x183)]())_0x4a778f[_0x9904b8(0x15d)](_0x25f5de);}),this[_0xc2d691(0x15e)][_0xc2d691(0x172)]();}[_0x4d1e15(0x15d)](_0x34cfc2){const _0x1ea307=_0x4d1e15;this[_0x1ea307(0x151)][_0x1ea307(0x168)](_0x488738=>{const _0x52691a=_0x1ea307;_0x488738[_0x52691a(0x15d)](_0x34cfc2);}),this[_0x1ea307(0x15e)][_0x1ea307(0x158)](_0x34cfc2);}[_0x4d1e15(0x186)](_0x1a0691){const _0x27d7c6=_0x4d1e15,_0x436b00=_0x27d7c6(0x191)+this[_0x27d7c6(0x16a)]+':'+this[_0x27d7c6(0x14b)]+':'+this['id']+':'+this[_0x27d7c6(0x18e)]['id']+':'+u[_0x27d7c6(0x177)]();this[_0x27d7c6(0x170)](_0x436b00),this[_0x27d7c6(0x151)][_0x27d7c6(0x168)](_0xc67bbb=>{const _0x1e4e60=_0x27d7c6;_0xc67bbb[_0x1e4e60(0x17b)](_0x436b00,{'range':_0x1a0691,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x4d1e15(0x184)](_0x394374){const _0x34a61d=_0x4d1e15;for(const _0x58c6ae of this[_0x34a61d(0x155)]())if(_0x58c6ae[_0x34a61d(0x14e)](_0x394374))return!0x0;return!0x1;}[_0x4d1e15(0x155)](){const _0x34fa4a=_0x4d1e15;return this[_0x34fa4a(0x183)]()[_0x34fa4a(0x165)](_0x1183b3=>_0x1183b3[_0x34fa4a(0x169)]());}[_0x4d1e15(0x173)](){const _0x198af3=_0x4d1e15;return this[_0x198af3(0x155)]()[_0x198af3(0x179)]((_0x395fba,_0x7ecd0e)=>[..._0x395fba,..._0x7ecd0e[_0x198af3(0x173)]()],[]);}[_0x4d1e15(0x163)](){const _0x4af687=_0x4d1e15;var _0xce893d;return(null===(_0xce893d=this[_0x4af687(0x18a)]())||void 0x0===_0xce893d?void 0x0:_0xce893d[_0x4af687(0x169)]())||null;}[_0x4d1e15(0x152)](){const _0x10eca8=_0x4d1e15,_0x1109b6=this[_0x10eca8(0x155)]();if(0x1!=_0x1109b6[_0x10eca8(0x192)])return null;const _0x28dda3=_0x1109b6[0x0],_0x2268f5=_0x28dda3[_0x10eca8(0x146)][_0x10eca8(0x189)],_0x1b8d2c=_0x28dda3[_0x10eca8(0x193)][_0x10eca8(0x180)];return _0x2268f5 instanceof _0x5e1a40?_0x2268f5!=_0x1b8d2c?null:_0x2268f5:null;}[_0x4d1e15(0x15f)](){const _0x339a89=_0x4d1e15;this[_0x339a89(0x166)](this[_0x339a89(0x155)](),this[_0x339a89(0x18f)],this[_0x339a89(0x178)]),this[_0x339a89(0x195)]();}[_0x4d1e15(0x187)](){const _0x9dea21=_0x4d1e15;this[_0x9dea21(0x160)](this[_0x9dea21(0x155)](),this[_0x9dea21(0x18f)],this[_0x9dea21(0x178)]),this[_0x9dea21(0x195)]();}[_0x4d1e15(0x18d)](){const _0x10bbaa=_0x4d1e15,_0x4e7144=[];let _0x372780=this[_0x10bbaa(0x182)];for(;_0x372780;)_0x4e7144[_0x10bbaa(0x156)](_0x372780),_0x372780=_0x372780[_0x10bbaa(0x196)];return _0x4e7144;}[_0x4d1e15(0x149)](_0xafb2b0,_0x430271){const _0x4d2ffd=_0x4d1e15,_0x319dd6=_0x489456(this[_0x4d2ffd(0x178)]);_0x2bc0e6(_0x319dd6,_0xafb2b0,_0x430271),_0x42432c(_0x319dd6,this[_0x4d2ffd(0x178)])||(this[_0x4d2ffd(0x178)]=_0x319dd6,this[_0x4d2ffd(0x161)](_0x319dd6));}[_0x4d1e15(0x17f)](_0x4800c1){const _0x191874=_0x4d1e15,_0x8831b1=_0x489456(this[_0x191874(0x178)]);_0x224cf5(_0x8831b1,_0x4800c1),_0x42432c(_0x8831b1,this[_0x191874(0x178)])||(this[_0x191874(0x178)]=_0x8831b1,this[_0x191874(0x161)](this[_0x191874(0x178)]));}[_0x4d1e15(0x17a)](){const _0x55a32e=_0x4d1e15;return{'id':this['id'],'type':this[_0x55a32e(0x14b)]?this[_0x55a32e(0x16a)]+':'+this[_0x55a32e(0x14b)]:this[_0x55a32e(0x16a)],'authorId':this[_0x55a32e(0x18e)]['id'],'createdAt':this[_0x55a32e(0x153)],'hasComments':this[_0x55a32e(0x190)],'data':this[_0x55a32e(0x18f)],'attributes':this[_0x55a32e(0x178)]};}static[_0x4d1e15(0x177)](){const _0x5cfa0c=_0x4d1e15;return _0x39669f()[_0x5cfa0c(0x174)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2697e3=_0x5c6f;function _0x4f61(){const _0xe82204=['skip','2156428aMkLYb','isObject','deletion','text','addContainer','indexOf','matchingCallback','7ywWKlq','*Remove\x20format:*\x20%0','*Remove:*\x20%0','_handleAttributeSuggestionDescription','_attributeLabels','getDescriptions','attribute','removeEmptyContainer','name','_customCallbacks','removeContainer','replace','item','key','softBreak','addObject','isInContent','_handleInsertRemoveSuggestionDescription','insertion','addFormat','ELEMENT_SPACE','remove','registerElementLabel','*Split:*\x20%0','registerDescriptionCallback','start','nodeAfter','*Merge:*\x20%0','checkChild','2206136UrvYVq','match','isEqual','isEmpty','1927896dxLvwa','map','_itemLabels','getItemLabel','$text','previousSibling','*Insert:*\x20%0','label','get','has','add','$textProxy','Object','function','end','_resolveDescriptionItems','Container','data','762769sYKZtX','push','14267610ECjgJg','2898216ENLJuz','elementEnd','_handleCustomCallbackDescription','nextSibling','getFirstRange','getWalker','element','join','quantity','_locale','10YNisPZ','5668998QrTqxM','*Change\x20to:*\x20%0','addEmptyContainer','type','subType','_schema','removeFormat','_itemLabelsCallbacks','_addDescriptionItems','elementStart','format','newValue','*Set\x20format:*\x20%0','normal','EmptyContainer','set','length','$1\x20$2','pop','REPLACE_TEXT','removeObject','registerAttributeLabel','_handleRenameSuggestionDescription'];_0x4f61=function(){return _0xe82204;};return _0x4f61();}(function(_0x2bebf2,_0xce0302){const _0x463d09=_0x5c6f,_0x4b505b=_0x2bebf2();while(!![]){try{const _0x488af8=parseInt(_0x463d09(0x18e))/0x1+-parseInt(_0x463d09(0x154))/0x2+-parseInt(_0x463d09(0x191))/0x3+parseInt(_0x463d09(0x17c))/0x4*(parseInt(_0x463d09(0x13b))/0x5)+-parseInt(_0x463d09(0x13c))/0x6*(parseInt(_0x463d09(0x15b))/0x7)+parseInt(_0x463d09(0x178))/0x8+parseInt(_0x463d09(0x190))/0x9;if(_0x488af8===_0xce0302)break;else _0x4b505b['push'](_0x4b505b['shift']());}catch(_0x1227da){_0x4b505b['push'](_0x4b505b['shift']());}}}(_0x4f61,0x9227f));import{getTranslation as _0xa53cf1}from'./utils/common-translations.js';function _0x5c6f(_0x1191a7,_0x4715ce){const _0x4f61ea=_0x4f61();return _0x5c6f=function(_0x5c6fcc,_0x12fa34){_0x5c6fcc=_0x5c6fcc-0x138;let _0x579ffd=_0x4f61ea[_0x5c6fcc];return _0x579ffd;},_0x5c6f(_0x1191a7,_0x4715ce);}import{priorities as _0x56d66d,insertToPriorityArray as _0x15322a}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0xdac89a}from'./trackchangesediting.js';export default class f{constructor(_0xa3a3f5,_0x5c3075){const _0x395b80=_0x5c6f;this[_0x395b80(0x164)]=[],this[_0x395b80(0x17e)]=new Map(),this[_0x395b80(0x143)]=[],this[_0x395b80(0x15f)]=new Map(),this[_0x395b80(0x141)]=_0xa3a3f5,this[_0x395b80(0x13a)]=_0x5c3075;}[_0x2697e3(0x160)](_0x2703b5){const _0x8cf97e=_0x2697e3,_0x2dd146=[],_0x3b31f4=new Set(),_0x50f421=new Set();for(let _0x82f8e7=0x0;_0x82f8e7<_0x2703b5[_0x8cf97e(0x14c)];_0x82f8e7++){const _0x3efbc3=_0x2703b5[_0x82f8e7];if(!_0x3efbc3[_0x8cf97e(0x16b)])continue;const _0x1328f2=this[_0x8cf97e(0x193)](_0x3efbc3);if(_0x1328f2){if(null!=_0x3efbc3[_0x8cf97e(0x140)]){if(_0x3b31f4[_0x8cf97e(0x185)](_0x3efbc3[_0x8cf97e(0x140)]))continue;_0x3b31f4[_0x8cf97e(0x186)](_0x3efbc3[_0x8cf97e(0x140)]);}_0x2dd146[_0x8cf97e(0x18f)](_0x1328f2);}else{if(_0x8cf97e(0x161)!=_0x3efbc3[_0x8cf97e(0x13f)])_0x8cf97e(0x16d)!=_0x3efbc3[_0x8cf97e(0x13f)]&&_0x8cf97e(0x156)!=_0x3efbc3[_0x8cf97e(0x13f)]||this[_0x8cf97e(0x16c)](_0x2dd146,_0x3efbc3,_0x2703b5[_0x82f8e7+0x1]);else{const _0x13f900=_0x3efbc3[_0x8cf97e(0x18d)][_0x8cf97e(0x168)];if(_0x50f421[_0x8cf97e(0x185)](_0x13f900))continue;_0x50f421[_0x8cf97e(0x186)](_0x3efbc3[_0x8cf97e(0x18d)][_0x8cf97e(0x168)]),_0x13f900==_0xdac89a?this[_0x8cf97e(0x152)](_0x2dd146,_0x3efbc3):this[_0x8cf97e(0x15e)](_0x2dd146,_0x3efbc3);}}}return this[_0x8cf97e(0x18b)](_0x2dd146);}[_0x2697e3(0x173)](_0x5f36b5){const _0x53193a=_0x2697e3;this[_0x53193a(0x164)][_0x53193a(0x18f)](_0x5f36b5);}[_0x2697e3(0x171)](_0x2c13f9,_0xc502aa,_0x2e6d5c=_0x56d66d[_0x2697e3(0x149)]){const _0x14ba80=_0x2697e3;_0x14ba80(0x189)==typeof _0x2c13f9?_0x15322a(this[_0x14ba80(0x143)],{'matchingCallback':_0x2c13f9,'label':_0xc502aa,'priority':_0x2e6d5c}):this[_0x14ba80(0x17e)][_0x14ba80(0x14b)](_0x2c13f9,_0xc502aa);}[_0x2697e3(0x151)](_0x37aa5f,_0x244783){const _0x1fdf04=_0x2697e3;this[_0x1fdf04(0x15f)][_0x1fdf04(0x14b)](_0x37aa5f,_0x244783);}[_0x2697e3(0x17f)](_0x1b30f4,_0xdf8544=0x1){const _0x34ede4=_0x2697e3;let _0x130e61;for(const _0x14264c of this[_0x34ede4(0x143)])if(_0x14264c[_0x34ede4(0x15a)](_0x1b30f4)){_0x130e61=_0x14264c[_0x34ede4(0x183)];break;}return _0x130e61||(_0x130e61=this[_0x34ede4(0x17e)][_0x34ede4(0x184)](_0x1b30f4[_0x34ede4(0x163)])),_0x130e61?_0x130e61(_0xdf8544):0x1!==_0xdf8544?_0xdf8544+'\x20'+_0x1b30f4[_0x34ede4(0x163)]+'s':''+_0x1b30f4[_0x34ede4(0x163)];}[_0x2697e3(0x144)](_0x3420ce,_0x3322f3){const _0x5b2a96=_0x2697e3,_0xbb502=_0x3322f3[_0x5b2a96(0x195)]()[_0x5b2a96(0x196)](),_0x1a8c55=_0x5b2a96(0x16d)==_0x3322f3[_0x5b2a96(0x13f)]?_0x5b2a96(0x186):_0x5b2a96(0x170);for(const _0x475544 of _0xbb502){const _0x7d5cd5=_0x475544[_0x5b2a96(0x167)],_0x242792=_0x3420ce[_0x3420ce[_0x5b2a96(0x14c)]-0x1];if(_0x7d5cd5['is'](_0x5b2a96(0x187)))_0x242792&&_0x242792[_0x5b2a96(0x13f)][_0x5b2a96(0x159)](_0x5b2a96(0x18c))>-0x1&&_0x3420ce[_0x5b2a96(0x14e)](),_0x242792&&_0x5b2a96(0x157)==_0x242792[_0x5b2a96(0x13f)]?_0x242792[_0x1a8c55]+=_0x7d5cd5[_0x5b2a96(0x18d)]:_0x3420ce[_0x5b2a96(0x18f)]({'type':_0x5b2a96(0x157),'add':_0x5b2a96(0x186)==_0x1a8c55?_0x7d5cd5[_0x5b2a96(0x18d)]:'','remove':_0x5b2a96(0x170)==_0x1a8c55?_0x7d5cd5[_0x5b2a96(0x18d)]:''});else{if(this[_0x5b2a96(0x141)][_0x5b2a96(0x155)](_0x7d5cd5)){const _0x5b48c9=_0x7d5cd5;if(_0x242792&&_0x242792[_0x5b2a96(0x13f)][_0x5b2a96(0x159)](_0x5b2a96(0x18c))>-0x1&&_0x3420ce[_0x5b2a96(0x14e)](),_0x5b2a96(0x192)==_0x475544[_0x5b2a96(0x13f)])continue;_0x242792&&_0x242792[_0x5b2a96(0x13f)]==_0x1a8c55+_0x5b2a96(0x188)&&_0x242792[_0x5b2a96(0x197)][_0x5b2a96(0x163)]==_0x5b48c9[_0x5b2a96(0x163)]?_0x242792[_0x5b2a96(0x139)]++:_0x3420ce[_0x5b2a96(0x18f)]({'type':_0x1a8c55+_0x5b2a96(0x188),'element':_0x5b48c9,'quantity':0x1}),_0xbb502[_0x5b2a96(0x153)](_0x2f94b5=>!(_0x5b2a96(0x192)==_0x2f94b5[_0x5b2a96(0x13f)]&&_0x2f94b5[_0x5b2a96(0x167)]==_0x7d5cd5));}else{if(this[_0x5b2a96(0x141)][_0x5b2a96(0x177)](_0x7d5cd5,_0x5b2a96(0x180))||_0x7d5cd5['is'](_0x5b2a96(0x197),_0x5b2a96(0x169))){const _0x5a5e54=_0x7d5cd5;if(_0x5b2a96(0x186)==_0x1a8c55&&_0x5b2a96(0x145)==_0x475544[_0x5b2a96(0x13f)]||_0x5b2a96(0x170)==_0x1a8c55&&_0x5b2a96(0x192)==_0x475544[_0x5b2a96(0x13f)])continue;if(_0x242792&&-0x1==_0x242792[_0x5b2a96(0x13f)][_0x5b2a96(0x159)](_0x5b2a96(0x18c))){_0x5b2a96(0x157)==_0x242792[_0x5b2a96(0x13f)]&&(_0x242792[_0x1a8c55]+='\x0a');continue;}let _0x300b76;if(_0x300b76=_0x5b2a96(0x186)==_0x1a8c55?_0x5a5e54[_0x5b2a96(0x194)]&&!this[_0x5b2a96(0x141)][_0x5b2a96(0x155)](_0x5a5e54[_0x5b2a96(0x194)])?_0x5a5e54[_0x5b2a96(0x194)]:null:_0x5a5e54[_0x5b2a96(0x181)]&&!this[_0x5b2a96(0x141)][_0x5b2a96(0x155)](_0x5a5e54[_0x5b2a96(0x181)])?_0x5a5e54[_0x5b2a96(0x181)]:null,_0x5a5e54[_0x5b2a96(0x17b)]||_0x300b76&&_0x300b76[_0x5b2a96(0x17b)]){const _0x2a0b3a=_0x300b76&&_0x300b76[_0x5b2a96(0x17b)]?_0x300b76:_0x5a5e54;_0x242792&&_0x242792[_0x5b2a96(0x13f)]==_0x1a8c55+_0x5b2a96(0x14a)&&_0x242792[_0x5b2a96(0x197)][_0x5b2a96(0x163)]==_0x2a0b3a[_0x5b2a96(0x163)]?_0x242792[_0x5b2a96(0x139)]++:_0x3420ce[_0x5b2a96(0x18f)]({'type':_0x1a8c55+_0x5b2a96(0x14a),'element':_0x2a0b3a,'quantity':0x1});}else _0x3420ce[_0x5b2a96(0x18f)]({'type':_0x1a8c55+_0x5b2a96(0x18c),'element':_0x5a5e54});}}}}}[_0x2697e3(0x18b)](_0x36c045){const _0x47777e=_0x2697e3,_0x4afdc1=this[_0x47777e(0x13a)],_0x336e22=[],_0x41a419=[],_0x93673f=[];for(const _0x569ed1 of _0x36c045)switch(_0x569ed1[_0x47777e(0x13f)]){case _0x47777e(0x157):if(_0x569ed1[_0x47777e(0x186)]=_0x569ed1[_0x47777e(0x186)][_0x47777e(0x166)](/(\S)\u000A+(\S)/g,_0x47777e(0x14d))[_0x47777e(0x166)](/\u000A/g,''),_0x569ed1[_0x47777e(0x170)]=_0x569ed1[_0x47777e(0x170)][_0x47777e(0x166)](/(\S)\u000A+(\S)/g,_0x47777e(0x14d))[_0x47777e(0x166)](/\u000A/g,''),''!=_0x569ed1[_0x47777e(0x186)]&&''!=_0x569ed1[_0x47777e(0x170)]){_0x336e22[_0x47777e(0x18f)]({'type':_0x47777e(0x166),'content':_0xa53cf1(_0x4afdc1,_0x47777e(0x14f),['\x22'+_0x569ed1[_0x47777e(0x170)]+'\x22','\x22'+_0x569ed1[_0x47777e(0x186)]+'\x22'])});continue;}if(null!=_0x569ed1[_0x47777e(0x186)][_0x47777e(0x179)](/^ +$/)){_0x336e22[_0x47777e(0x18f)]({'type':_0x47777e(0x16d),'content':_0xa53cf1(_0x4afdc1,_0x47777e(0x182),_0xa53cf1(_0x4afdc1,_0x47777e(0x16f),_0x569ed1[_0x47777e(0x186)][_0x47777e(0x14c)]))});continue;}if(null!=_0x569ed1[_0x47777e(0x170)][_0x47777e(0x179)](/^ +$/)){_0x336e22[_0x47777e(0x18f)]({'type':_0x47777e(0x156),'content':_0xa53cf1(_0x4afdc1,_0x47777e(0x15d),_0xa53cf1(_0x4afdc1,_0x47777e(0x16f),_0x569ed1[_0x47777e(0x170)][_0x47777e(0x14c)]))});continue;}if(''!=_0x569ed1[_0x47777e(0x186)]){_0x336e22[_0x47777e(0x18f)]({'type':_0x47777e(0x16d),'content':_0xa53cf1(_0x4afdc1,_0x47777e(0x182),'\x22'+_0x569ed1[_0x47777e(0x186)]+'\x22')});continue;}_0x336e22[_0x47777e(0x18f)]({'type':_0x47777e(0x156),'content':_0xa53cf1(_0x4afdc1,_0x47777e(0x15d),'\x22'+_0x569ed1[_0x47777e(0x170)]+'\x22')});continue;case _0x47777e(0x13e):case _0x47777e(0x16a):_0x336e22[_0x47777e(0x18f)]({'type':_0x47777e(0x16d),'content':_0xa53cf1(_0x4afdc1,_0x47777e(0x182),this[_0x47777e(0x17f)](_0x569ed1[_0x47777e(0x197)],_0x569ed1[_0x47777e(0x139)]))});continue;case _0x47777e(0x162):case _0x47777e(0x150):_0x336e22[_0x47777e(0x18f)]({'type':_0x47777e(0x156),'content':_0xa53cf1(_0x4afdc1,_0x47777e(0x15d),this[_0x47777e(0x17f)](_0x569ed1[_0x47777e(0x197)],_0x569ed1[_0x47777e(0x139)]))});continue;case _0x47777e(0x158):_0x336e22[_0x47777e(0x18f)]({'type':_0x47777e(0x16d),'content':_0xa53cf1(_0x4afdc1,_0x47777e(0x172),this[_0x47777e(0x17f)](_0x569ed1[_0x47777e(0x197)],_0x569ed1[_0x47777e(0x139)]))});continue;case _0x47777e(0x165):_0x336e22[_0x47777e(0x18f)]({'type':_0x47777e(0x156),'content':_0xa53cf1(_0x4afdc1,_0x47777e(0x176),this[_0x47777e(0x17f)](_0x569ed1[_0x47777e(0x197)],_0x569ed1[_0x47777e(0x139)]))});continue;case _0x47777e(0x16e):_0x41a419[_0x47777e(0x18f)](_0x569ed1[_0x47777e(0x168)]);continue;case _0x47777e(0x142):_0x93673f[_0x47777e(0x18f)](_0x569ed1[_0x47777e(0x168)]);continue;default:_0x336e22[_0x47777e(0x18f)](_0x569ed1);}if(_0x41a419[_0x47777e(0x14c)]){const _0x52df90=_0x41a419[_0x47777e(0x17d)](_0x2138f1=>this[_0x47777e(0x15f)][_0x47777e(0x185)](_0x2138f1)?this[_0x47777e(0x15f)][_0x47777e(0x184)](_0x2138f1):_0x2138f1)[_0x47777e(0x138)](',\x20');_0x336e22[_0x47777e(0x18f)]({'type':_0x47777e(0x146),'content':_0xa53cf1(this[_0x47777e(0x13a)],_0x47777e(0x148),_0x52df90)});}if(_0x93673f[_0x47777e(0x14c)]){const _0xa3df08=_0x93673f[_0x47777e(0x17d)](_0x4eb359=>this[_0x47777e(0x15f)][_0x47777e(0x185)](_0x4eb359)?this[_0x47777e(0x15f)][_0x47777e(0x184)](_0x4eb359):_0x4eb359)[_0x47777e(0x138)](',\x20');_0x336e22[_0x47777e(0x18f)]({'type':_0x47777e(0x146),'content':_0xa53cf1(this[_0x47777e(0x13a)],_0x47777e(0x15c),_0xa3df08)});}return _0x336e22;}[_0x2697e3(0x193)](_0x3c4bc3){const _0x24111a=_0x2697e3;for(const _0x187f4f of this[_0x24111a(0x164)]){const _0xbf2b9b=_0x187f4f(_0x3c4bc3);if(_0xbf2b9b&&_0x24111a(0x13f)in _0xbf2b9b)return _0xbf2b9b;}}[_0x2697e3(0x15e)](_0x50270f,_0x717ff9){const _0x1bae8d=_0x2697e3,_0x13065c=_0x717ff9[_0x1bae8d(0x18d)],_0x5ed6a7=void 0x0===_0x13065c[_0x1bae8d(0x147)]?_0x1bae8d(0x142):_0x1bae8d(0x16e);_0x50270f[_0x1bae8d(0x18f)]({'type':_0x5ed6a7,'key':_0x13065c[_0x1bae8d(0x168)]});}[_0x2697e3(0x152)](_0x4ee197,_0x32ff62){const _0x2881ae=_0x2697e3;_0x4ee197[_0x2881ae(0x18f)]({'type':_0x2881ae(0x146),'content':_0xa53cf1(this[_0x2881ae(0x13a)],_0x2881ae(0x13d),this[_0x2881ae(0x17f)](_0x32ff62[_0x2881ae(0x195)]()[_0x2881ae(0x174)][_0x2881ae(0x175)],0x1))});}[_0x2697e3(0x16c)](_0x1405cd,_0x10d1d1,_0x3fbda7){const _0x5aa030=_0x2697e3;if(this[_0x5aa030(0x144)](_0x1405cd,_0x10d1d1),_0x3fbda7&&_0x3fbda7[_0x5aa030(0x195)]()&&!_0x10d1d1[_0x5aa030(0x195)]()[_0x5aa030(0x18a)][_0x5aa030(0x17a)](_0x3fbda7[_0x5aa030(0x195)]()[_0x5aa030(0x174)])){const _0x3466c4=_0x1405cd[_0x1405cd[_0x5aa030(0x14c)]-0x1],_0x300962=_0x5aa030(0x16d)==_0x10d1d1[_0x5aa030(0x13f)]?_0x5aa030(0x186):_0x5aa030(0x170);_0x3466c4&&_0x5aa030(0x157)==_0x3466c4[_0x5aa030(0x13f)]&&(_0x3466c4[_0x300962]+='\x0a');}}}
|
|
23
|
+
const _0x4ee1c1=_0x2c80;(function(_0x19cd60,_0x3ac851){const _0xac649d=_0x2c80,_0x272374=_0x19cd60();while(!![]){try{const _0x2c3dc9=-parseInt(_0xac649d(0x1e1))/0x1+parseInt(_0xac649d(0x1cf))/0x2+parseInt(_0xac649d(0x1b2))/0x3+-parseInt(_0xac649d(0x1fc))/0x4+parseInt(_0xac649d(0x1e3))/0x5*(-parseInt(_0xac649d(0x1fa))/0x6)+-parseInt(_0xac649d(0x1c6))/0x7*(parseInt(_0xac649d(0x1ee))/0x8)+parseInt(_0xac649d(0x207))/0x9;if(_0x2c3dc9===_0x3ac851)break;else _0x272374['push'](_0x272374['shift']());}catch(_0x5c9325){_0x272374['push'](_0x272374['shift']());}}}(_0x232d,0x8cfe3));import{getTranslation as _0x597970}from'./utils/common-translations.js';import{priorities as _0x38dea7,insertToPriorityArray as _0x34e27b}from'ckeditor5/src/utils.js';function _0x232d(){const _0xb10826=['7CYXrbt','removeContainer','nextSibling','_schema','_customCallbacks','*Remove:*\x20%0','isEmpty','deletion','softBreak','752006Uqjzxn','text','remove','indexOf','isObject','checkChild','skip','_handleAttributeSuggestionDescription','key','_locale','isEqual','_resolveDescriptionItems','previousSibling','isInContent','normal','has','*Insert:*\x20%0','pop','709304LbJSiQ','elementStart','10ysKezY','Container','data','push','element','matchingCallback','getItemLabel','registerElementLabel','getDescriptions','start','addFormat','87224nRNxoH','add','*Set\x20format:*\x20%0','type','_attributeLabels','_handleInsertRemoveSuggestionDescription','newValue','label','$textProxy','removeEmptyContainer','quantity','nodeAfter','2313726HQYOJZ','Object','2749588UHQQmX','join','item','*Change\x20to:*\x20%0','_itemLabels','getFirstRange','removeObject','addObject','attribute','set','*Merge:*\x20%0','18002106ykbVGO','REPLACE_TEXT','registerAttributeLabel','insertion','addContainer','replace','*Split:*\x20%0','$1\x20$2','subType','length','_handleRenameSuggestionDescription','1140348DjFtNF','getWalker','ELEMENT_SPACE','*Remove\x20format:*\x20%0','function','map','addEmptyContainer','format','_itemLabelsCallbacks','get','$text','elementEnd','removeFormat','_handleCustomCallbackDescription','registerDescriptionCallback','match','_addDescriptionItems','name','EmptyContainer','end'];_0x232d=function(){return _0xb10826;};return _0x232d();}function _0x2c80(_0x598698,_0x2fad8d){const _0x232d46=_0x232d();return _0x2c80=function(_0x2c8042,_0x11e93e){_0x2c8042=_0x2c8042-0x1ac;let _0x55a5b8=_0x232d46[_0x2c8042];return _0x55a5b8;},_0x2c80(_0x598698,_0x2fad8d);}import{renameAttributeKey as _0x5336e8}from'./trackchangesediting.js';export default class f{constructor(_0x1c14b8,_0x5683ca){const _0x40cfd2=_0x2c80;this[_0x40cfd2(0x1ca)]=[],this[_0x40cfd2(0x200)]=new Map(),this[_0x40cfd2(0x1ba)]=[],this[_0x40cfd2(0x1f2)]=new Map(),this[_0x40cfd2(0x1c9)]=_0x1c14b8,this[_0x40cfd2(0x1d8)]=_0x5683ca;}[_0x4ee1c1(0x1eb)](_0x5c9b05){const _0x141228=_0x4ee1c1,_0x12f77b=[],_0x4cefda=new Set(),_0x1e918a=new Set();for(let _0x21bd1f=0x0;_0x21bd1f<_0x5c9b05[_0x141228(0x1b0)];_0x21bd1f++){const _0x203b41=_0x5c9b05[_0x21bd1f];if(!_0x203b41[_0x141228(0x1dc)])continue;const _0xd8a5e6=this[_0x141228(0x1bf)](_0x203b41);if(_0xd8a5e6){if(null!=_0x203b41[_0x141228(0x1af)]){if(_0x4cefda[_0x141228(0x1de)](_0x203b41[_0x141228(0x1af)]))continue;_0x4cefda[_0x141228(0x1ef)](_0x203b41[_0x141228(0x1af)]);}_0x12f77b[_0x141228(0x1e6)](_0xd8a5e6);}else{if(_0x141228(0x204)!=_0x203b41[_0x141228(0x1f1)])_0x141228(0x20a)!=_0x203b41[_0x141228(0x1f1)]&&_0x141228(0x1cd)!=_0x203b41[_0x141228(0x1f1)]||this[_0x141228(0x1f3)](_0x12f77b,_0x203b41,_0x5c9b05[_0x21bd1f+0x1]);else{const _0x27c6c0=_0x203b41[_0x141228(0x1e5)][_0x141228(0x1d7)];if(_0x1e918a[_0x141228(0x1de)](_0x27c6c0))continue;_0x1e918a[_0x141228(0x1ef)](_0x203b41[_0x141228(0x1e5)][_0x141228(0x1d7)]),_0x27c6c0==_0x5336e8?this[_0x141228(0x1b1)](_0x12f77b,_0x203b41):this[_0x141228(0x1d6)](_0x12f77b,_0x203b41);}}}return this[_0x141228(0x1da)](_0x12f77b);}[_0x4ee1c1(0x1c0)](_0x15f2a6){const _0x9b40f8=_0x4ee1c1;this[_0x9b40f8(0x1ca)][_0x9b40f8(0x1e6)](_0x15f2a6);}[_0x4ee1c1(0x1ea)](_0x61467a,_0x395f10,_0x44d0a5=_0x38dea7[_0x4ee1c1(0x1dd)]){const _0x604a1d=_0x4ee1c1;_0x604a1d(0x1b6)==typeof _0x61467a?_0x34e27b(this[_0x604a1d(0x1ba)],{'matchingCallback':_0x61467a,'label':_0x395f10,'priority':_0x44d0a5}):this[_0x604a1d(0x200)][_0x604a1d(0x205)](_0x61467a,_0x395f10);}[_0x4ee1c1(0x209)](_0x7088d4,_0x2b3ac2){const _0x3e7d76=_0x4ee1c1;this[_0x3e7d76(0x1f2)][_0x3e7d76(0x205)](_0x7088d4,_0x2b3ac2);}[_0x4ee1c1(0x1e9)](_0x4bb9de,_0x11eec5=0x1){const _0x20fa56=_0x4ee1c1;let _0x139cf0;for(const _0xb1dbe5 of this[_0x20fa56(0x1ba)])if(_0xb1dbe5[_0x20fa56(0x1e8)](_0x4bb9de)){_0x139cf0=_0xb1dbe5[_0x20fa56(0x1f5)];break;}return _0x139cf0||(_0x139cf0=this[_0x20fa56(0x200)][_0x20fa56(0x1bb)](_0x4bb9de[_0x20fa56(0x1c3)])),_0x139cf0?_0x139cf0(_0x11eec5):0x1!==_0x11eec5?_0x11eec5+'\x20'+_0x4bb9de[_0x20fa56(0x1c3)]+'s':''+_0x4bb9de[_0x20fa56(0x1c3)];}[_0x4ee1c1(0x1c2)](_0x19b655,_0x309d4e){const _0x62d9f7=_0x4ee1c1,_0x188387=_0x309d4e[_0x62d9f7(0x201)]()[_0x62d9f7(0x1b3)](),_0x47d87a=_0x62d9f7(0x20a)==_0x309d4e[_0x62d9f7(0x1f1)]?_0x62d9f7(0x1ef):_0x62d9f7(0x1d1);for(const _0x5d81da of _0x188387){const _0x52bdb0=_0x5d81da[_0x62d9f7(0x1fe)],_0x46b4cf=_0x19b655[_0x19b655[_0x62d9f7(0x1b0)]-0x1];if(_0x52bdb0['is'](_0x62d9f7(0x1f6)))_0x46b4cf&&_0x46b4cf[_0x62d9f7(0x1f1)][_0x62d9f7(0x1d2)](_0x62d9f7(0x1e4))>-0x1&&_0x19b655[_0x62d9f7(0x1e0)](),_0x46b4cf&&_0x62d9f7(0x1d0)==_0x46b4cf[_0x62d9f7(0x1f1)]?_0x46b4cf[_0x47d87a]+=_0x52bdb0[_0x62d9f7(0x1e5)]:_0x19b655[_0x62d9f7(0x1e6)]({'type':_0x62d9f7(0x1d0),'add':_0x62d9f7(0x1ef)==_0x47d87a?_0x52bdb0[_0x62d9f7(0x1e5)]:'','remove':_0x62d9f7(0x1d1)==_0x47d87a?_0x52bdb0[_0x62d9f7(0x1e5)]:''});else{if(this[_0x62d9f7(0x1c9)][_0x62d9f7(0x1d3)](_0x52bdb0)){const _0x3aeed2=_0x52bdb0;if(_0x46b4cf&&_0x46b4cf[_0x62d9f7(0x1f1)][_0x62d9f7(0x1d2)](_0x62d9f7(0x1e4))>-0x1&&_0x19b655[_0x62d9f7(0x1e0)](),_0x62d9f7(0x1bd)==_0x5d81da[_0x62d9f7(0x1f1)])continue;_0x46b4cf&&_0x46b4cf[_0x62d9f7(0x1f1)]==_0x47d87a+_0x62d9f7(0x1fb)&&_0x46b4cf[_0x62d9f7(0x1e7)][_0x62d9f7(0x1c3)]==_0x3aeed2[_0x62d9f7(0x1c3)]?_0x46b4cf[_0x62d9f7(0x1f8)]++:_0x19b655[_0x62d9f7(0x1e6)]({'type':_0x47d87a+_0x62d9f7(0x1fb),'element':_0x3aeed2,'quantity':0x1}),_0x188387[_0x62d9f7(0x1d5)](_0x351d4e=>!(_0x62d9f7(0x1bd)==_0x351d4e[_0x62d9f7(0x1f1)]&&_0x351d4e[_0x62d9f7(0x1fe)]==_0x52bdb0));}else{if(this[_0x62d9f7(0x1c9)][_0x62d9f7(0x1d4)](_0x52bdb0,_0x62d9f7(0x1bc))||_0x52bdb0['is'](_0x62d9f7(0x1e7),_0x62d9f7(0x1ce))){const _0x21a70c=_0x52bdb0;if(_0x62d9f7(0x1ef)==_0x47d87a&&_0x62d9f7(0x1e2)==_0x5d81da[_0x62d9f7(0x1f1)]||_0x62d9f7(0x1d1)==_0x47d87a&&_0x62d9f7(0x1bd)==_0x5d81da[_0x62d9f7(0x1f1)])continue;if(_0x46b4cf&&-0x1==_0x46b4cf[_0x62d9f7(0x1f1)][_0x62d9f7(0x1d2)](_0x62d9f7(0x1e4))){_0x62d9f7(0x1d0)==_0x46b4cf[_0x62d9f7(0x1f1)]&&(_0x46b4cf[_0x47d87a]+='\x0a');continue;}let _0x4f3954;if(_0x4f3954=_0x62d9f7(0x1ef)==_0x47d87a?_0x21a70c[_0x62d9f7(0x1c8)]&&!this[_0x62d9f7(0x1c9)][_0x62d9f7(0x1d3)](_0x21a70c[_0x62d9f7(0x1c8)])?_0x21a70c[_0x62d9f7(0x1c8)]:null:_0x21a70c[_0x62d9f7(0x1db)]&&!this[_0x62d9f7(0x1c9)][_0x62d9f7(0x1d3)](_0x21a70c[_0x62d9f7(0x1db)])?_0x21a70c[_0x62d9f7(0x1db)]:null,_0x21a70c[_0x62d9f7(0x1cc)]||_0x4f3954&&_0x4f3954[_0x62d9f7(0x1cc)]){const _0x4f2d6e=_0x4f3954&&_0x4f3954[_0x62d9f7(0x1cc)]?_0x4f3954:_0x21a70c;_0x46b4cf&&_0x46b4cf[_0x62d9f7(0x1f1)]==_0x47d87a+_0x62d9f7(0x1c4)&&_0x46b4cf[_0x62d9f7(0x1e7)][_0x62d9f7(0x1c3)]==_0x4f2d6e[_0x62d9f7(0x1c3)]?_0x46b4cf[_0x62d9f7(0x1f8)]++:_0x19b655[_0x62d9f7(0x1e6)]({'type':_0x47d87a+_0x62d9f7(0x1c4),'element':_0x4f2d6e,'quantity':0x1});}else _0x19b655[_0x62d9f7(0x1e6)]({'type':_0x47d87a+_0x62d9f7(0x1e4),'element':_0x21a70c});}}}}}[_0x4ee1c1(0x1da)](_0x5e9765){const _0x47a303=_0x4ee1c1,_0x5010f9=this[_0x47a303(0x1d8)],_0x428553=[],_0x18a24a=[],_0x37cbfe=[];for(const _0x5d0cf6 of _0x5e9765)switch(_0x5d0cf6[_0x47a303(0x1f1)]){case _0x47a303(0x1d0):if(_0x5d0cf6[_0x47a303(0x1ef)]=_0x5d0cf6[_0x47a303(0x1ef)][_0x47a303(0x1ac)](/(\S)\u000A+(\S)/g,_0x47a303(0x1ae))[_0x47a303(0x1ac)](/\u000A/g,''),_0x5d0cf6[_0x47a303(0x1d1)]=_0x5d0cf6[_0x47a303(0x1d1)][_0x47a303(0x1ac)](/(\S)\u000A+(\S)/g,_0x47a303(0x1ae))[_0x47a303(0x1ac)](/\u000A/g,''),''!=_0x5d0cf6[_0x47a303(0x1ef)]&&''!=_0x5d0cf6[_0x47a303(0x1d1)]){_0x428553[_0x47a303(0x1e6)]({'type':_0x47a303(0x1ac),'content':_0x597970(_0x5010f9,_0x47a303(0x208),['\x22'+_0x5d0cf6[_0x47a303(0x1d1)]+'\x22','\x22'+_0x5d0cf6[_0x47a303(0x1ef)]+'\x22'])});continue;}if(null!=_0x5d0cf6[_0x47a303(0x1ef)][_0x47a303(0x1c1)](/^ +$/)){_0x428553[_0x47a303(0x1e6)]({'type':_0x47a303(0x20a),'content':_0x597970(_0x5010f9,_0x47a303(0x1df),_0x597970(_0x5010f9,_0x47a303(0x1b4),_0x5d0cf6[_0x47a303(0x1ef)][_0x47a303(0x1b0)]))});continue;}if(null!=_0x5d0cf6[_0x47a303(0x1d1)][_0x47a303(0x1c1)](/^ +$/)){_0x428553[_0x47a303(0x1e6)]({'type':_0x47a303(0x1cd),'content':_0x597970(_0x5010f9,_0x47a303(0x1cb),_0x597970(_0x5010f9,_0x47a303(0x1b4),_0x5d0cf6[_0x47a303(0x1d1)][_0x47a303(0x1b0)]))});continue;}if(''!=_0x5d0cf6[_0x47a303(0x1ef)]){_0x428553[_0x47a303(0x1e6)]({'type':_0x47a303(0x20a),'content':_0x597970(_0x5010f9,_0x47a303(0x1df),'\x22'+_0x5d0cf6[_0x47a303(0x1ef)]+'\x22')});continue;}_0x428553[_0x47a303(0x1e6)]({'type':_0x47a303(0x1cd),'content':_0x597970(_0x5010f9,_0x47a303(0x1cb),'\x22'+_0x5d0cf6[_0x47a303(0x1d1)]+'\x22')});continue;case _0x47a303(0x1b8):case _0x47a303(0x203):_0x428553[_0x47a303(0x1e6)]({'type':_0x47a303(0x20a),'content':_0x597970(_0x5010f9,_0x47a303(0x1df),this[_0x47a303(0x1e9)](_0x5d0cf6[_0x47a303(0x1e7)],_0x5d0cf6[_0x47a303(0x1f8)]))});continue;case _0x47a303(0x1f7):case _0x47a303(0x202):_0x428553[_0x47a303(0x1e6)]({'type':_0x47a303(0x1cd),'content':_0x597970(_0x5010f9,_0x47a303(0x1cb),this[_0x47a303(0x1e9)](_0x5d0cf6[_0x47a303(0x1e7)],_0x5d0cf6[_0x47a303(0x1f8)]))});continue;case _0x47a303(0x20b):_0x428553[_0x47a303(0x1e6)]({'type':_0x47a303(0x20a),'content':_0x597970(_0x5010f9,_0x47a303(0x1ad),this[_0x47a303(0x1e9)](_0x5d0cf6[_0x47a303(0x1e7)],_0x5d0cf6[_0x47a303(0x1f8)]))});continue;case _0x47a303(0x1c7):_0x428553[_0x47a303(0x1e6)]({'type':_0x47a303(0x1cd),'content':_0x597970(_0x5010f9,_0x47a303(0x206),this[_0x47a303(0x1e9)](_0x5d0cf6[_0x47a303(0x1e7)],_0x5d0cf6[_0x47a303(0x1f8)]))});continue;case _0x47a303(0x1ed):_0x18a24a[_0x47a303(0x1e6)](_0x5d0cf6[_0x47a303(0x1d7)]);continue;case _0x47a303(0x1be):_0x37cbfe[_0x47a303(0x1e6)](_0x5d0cf6[_0x47a303(0x1d7)]);continue;default:_0x428553[_0x47a303(0x1e6)](_0x5d0cf6);}if(_0x18a24a[_0x47a303(0x1b0)]){const _0x45b6d2=_0x18a24a[_0x47a303(0x1b7)](_0x49ae22=>this[_0x47a303(0x1f2)][_0x47a303(0x1de)](_0x49ae22)?this[_0x47a303(0x1f2)][_0x47a303(0x1bb)](_0x49ae22):_0x49ae22)[_0x47a303(0x1fd)](',\x20');_0x428553[_0x47a303(0x1e6)]({'type':_0x47a303(0x1b9),'content':_0x597970(this[_0x47a303(0x1d8)],_0x47a303(0x1f0),_0x45b6d2)});}if(_0x37cbfe[_0x47a303(0x1b0)]){const _0x5637f4=_0x37cbfe[_0x47a303(0x1b7)](_0x486622=>this[_0x47a303(0x1f2)][_0x47a303(0x1de)](_0x486622)?this[_0x47a303(0x1f2)][_0x47a303(0x1bb)](_0x486622):_0x486622)[_0x47a303(0x1fd)](',\x20');_0x428553[_0x47a303(0x1e6)]({'type':_0x47a303(0x1b9),'content':_0x597970(this[_0x47a303(0x1d8)],_0x47a303(0x1b5),_0x5637f4)});}return _0x428553;}[_0x4ee1c1(0x1bf)](_0x5305b7){const _0x5b74cd=_0x4ee1c1;for(const _0x4732d2 of this[_0x5b74cd(0x1ca)]){const _0x49b035=_0x4732d2(_0x5305b7);if(_0x49b035&&_0x5b74cd(0x1f1)in _0x49b035)return _0x49b035;}}[_0x4ee1c1(0x1d6)](_0x41acff,_0x5c3cc4){const _0x16054c=_0x4ee1c1,_0x3aa0df=_0x5c3cc4[_0x16054c(0x1e5)],_0x19b9dc=void 0x0===_0x3aa0df[_0x16054c(0x1f4)]?_0x16054c(0x1be):_0x16054c(0x1ed);_0x41acff[_0x16054c(0x1e6)]({'type':_0x19b9dc,'key':_0x3aa0df[_0x16054c(0x1d7)]});}[_0x4ee1c1(0x1b1)](_0x1435b5,_0x4e90a2){const _0x22e846=_0x4ee1c1;_0x1435b5[_0x22e846(0x1e6)]({'type':_0x22e846(0x1b9),'content':_0x597970(this[_0x22e846(0x1d8)],_0x22e846(0x1ff),this[_0x22e846(0x1e9)](_0x4e90a2[_0x22e846(0x201)]()[_0x22e846(0x1ec)][_0x22e846(0x1f9)],0x1))});}[_0x4ee1c1(0x1f3)](_0x5a4478,_0x3911b8,_0x3a4c1d){const _0x446769=_0x4ee1c1;if(this[_0x446769(0x1c2)](_0x5a4478,_0x3911b8),_0x3a4c1d&&_0x3a4c1d[_0x446769(0x201)]()&&!_0x3911b8[_0x446769(0x201)]()[_0x446769(0x1c5)][_0x446769(0x1d9)](_0x3a4c1d[_0x446769(0x201)]()[_0x446769(0x1ec)])){const _0x66583e=_0x5a4478[_0x5a4478[_0x446769(0x1b0)]-0x1],_0x341a55=_0x446769(0x20a)==_0x3911b8[_0x446769(0x1f1)]?_0x446769(0x1ef):_0x446769(0x1d1);_0x66583e&&_0x446769(0x1d0)==_0x66583e[_0x446769(0x1f1)]&&(_0x66583e[_0x341a55]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1ea15a=_0x359e;function _0x359e(_0x31986a,_0xe9fd4b){var _0x24a7a6=_0x24a7();return _0x359e=function(_0x359e66,_0x10e2d1){_0x359e66=_0x359e66-0x1a5;var _0x192674=_0x24a7a6[_0x359e66];return _0x192674;},_0x359e(_0x31986a,_0xe9fd4b);}function _0x24a7(){var _0x308a49=['addSuggestion','pluginName','237857PQnAYh','Comments','adapter','519528MXFZqp','461358aeUZeW','50QWBZCo','addSuggestionData','1511559nHRwqK','get','requires','435618IsGvgg','editor','165616EEZRdr','getSuggestion','getSuggestions','TrackChanges','plugins','14JgeNQS','902922xbpBfY'];_0x24a7=function(){return _0x308a49;};return _0x24a7();}(function(_0x2c156a,_0x423a9a){var _0x2ce3b5=_0x359e,_0x284a03=_0x2c156a();while(!![]){try{var _0x41c3c7=-parseInt(_0x2ce3b5(0x1b2))/0x1+-parseInt(_0x2ce3b5(0x1b6))/0x2+parseInt(_0x2ce3b5(0x1b9))/0x3+-parseInt(_0x2ce3b5(0x1a9))/0x4*(-parseInt(_0x2ce3b5(0x1b7))/0x5)+-parseInt(_0x2ce3b5(0x1af))/0x6*(parseInt(_0x2ce3b5(0x1ae))/0x7)+parseInt(_0x2ce3b5(0x1b5))/0x8+parseInt(_0x2ce3b5(0x1a7))/0x9;if(_0x41c3c7===_0x423a9a)break;else _0x284a03['push'](_0x284a03['shift']());}catch(_0x481c20){_0x284a03['push'](_0x284a03['shift']());}}}(_0x24a7,0x3fe5e));import{Plugin as _0x252da5}from'ckeditor5/src/core.js';import _0x441e82 from'./trackchangesui.js';import _0xbf2884 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x252da5{static get[_0x1ea15a(0x1a6)](){var _0x6bcaec=_0x1ea15a;return[_0xbf2884,_0x441e82,_0x6bcaec(0x1b3)];}static get[_0x1ea15a(0x1b1)](){var _0x436a9f=_0x1ea15a;return _0x436a9f(0x1ac);}set[_0x1ea15a(0x1b4)](_0x42f69b){var _0x253c72=_0x1ea15a;this[_0x253c72(0x1a8)][_0x253c72(0x1ad)][_0x253c72(0x1a5)](_0xbf2884)[_0x253c72(0x1b4)]=_0x42f69b;}get[_0x1ea15a(0x1b4)](){var _0x33d939=_0x1ea15a;return this[_0x33d939(0x1a8)][_0x33d939(0x1ad)][_0x33d939(0x1a5)](_0xbf2884)[_0x33d939(0x1b4)];}[_0x1ea15a(0x1b0)](_0x48c7e9){var _0x352500=_0x1ea15a;return this[_0x352500(0x1a8)][_0x352500(0x1ad)][_0x352500(0x1a5)](_0xbf2884)[_0x352500(0x1b8)](_0x48c7e9);}[_0x1ea15a(0x1ab)]({skipNotAttached:_0x4103e8=!0x1,toJSON:_0x378963=!0x1}={}){var _0x49ff61=_0x1ea15a;return this[_0x49ff61(0x1a8)][_0x49ff61(0x1ad)][_0x49ff61(0x1a5)](_0xbf2884)[_0x49ff61(0x1ab)]({'skipNotAttached':_0x4103e8,'toJSON':_0x378963});}[_0x1ea15a(0x1aa)](_0x3585e9){var _0xdc2545=_0x1ea15a;return this[_0xdc2545(0x1a8)][_0xdc2545(0x1ad)][_0xdc2545(0x1a5)](_0xbf2884)[_0xdc2545(0x1aa)](_0x3585e9);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x19efbd=_0x5c73;(function(_0x10867e,_0x2d080e){const _0x31987f=_0x5c73,_0x4e3a5a=_0x10867e();while(!![]){try{const _0x916cbb=-parseInt(_0x31987f(0x86))/0x1+parseInt(_0x31987f(0x7b))/0x2+-parseInt(_0x31987f(0x8b))/0x3*(-parseInt(_0x31987f(0x85))/0x4)+parseInt(_0x31987f(0x69))/0x5+parseInt(_0x31987f(0x90))/0x6+-parseInt(_0x31987f(0x98))/0x7+parseInt(_0x31987f(0x89))/0x8*(parseInt(_0x31987f(0x6a))/0x9);if(_0x916cbb===_0x2d080e)break;else _0x4e3a5a['push'](_0x4e3a5a['shift']());}catch(_0x3ea5e5){_0x4e3a5a['push'](_0x4e3a5a['shift']());}}}(_0x174d,0x3a6d4));import{Plugin as _0x59e2e7}from'ckeditor5/src/core.js';import{CKEditorError as _0x3eb3e7}from'ckeditor5/src/utils.js';function _0x174d(){const _0x43bd02=['constructor','document','getDataWithDiscardedSuggestions','end','requires','CommentsRepository','set','reduce','editor','name','822848KDjxTI','get','Users','getDataWithAcceptedSuggestions','TrackChangesEditing','_adapter','function','plugins','getFullData','trackChangesData','56vyYJBk','307279gVyirq','createDocumentFragment','push','1063016mybrjs','create','5442xRxplR','Pagination','users','discardAllSuggestions','appendChild','1111164tDnVqH','addSuggestionData','execute','result','init','getRootNames','pluginName','define','2728110ROqUtG','getRootsAttributes','destroy','createElement','getUser','model','map','TrackChangesDataGetter','config','editorCreator','getSuggestions','acceptAllSuggestions','div','track-changes-data-invalid-editor-creator','907170EezjyZ','9TUfrtc','data','TrackChangesData','useAnonymousUser','trackChangesData.editorCreator','addUser','rootsAttributes'];_0x174d=function(){return _0x43bd02;};return _0x174d();}import _0x3749e9 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x161d7d}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x19efbd(0x8c)];function _0x5c73(_0x283003,_0x202cdc){const _0x174da0=_0x174d();return _0x5c73=function(_0x5c7322,_0x4bf946){_0x5c7322=_0x5c7322-0x66;let _0x46aedc=_0x174da0[_0x5c7322];return _0x46aedc;},_0x5c73(_0x283003,_0x202cdc);}export default class P extends _0x59e2e7{static get[_0x19efbd(0x75)](){return[_0x3749e9];}static get[_0x19efbd(0x96)](){const _0x6573cd=_0x19efbd;return _0x6573cd(0x6c);}[_0x19efbd(0x94)](){const _0x1b1745=_0x19efbd,_0x4990f1=this[_0x1b1745(0x79)];if(_0x4990f1[_0x1b1745(0xa0)][_0x1b1745(0x97)](_0x1b1745(0x6e),_0x2badf7=>{const _0x5c10ae=_0x1b1745,_0x5c662e=_0x4990f1[_0x5c10ae(0x9d)][_0x5c10ae(0x72)][_0x5c10ae(0x95)]()[_0x5c10ae(0x78)]((_0x2a4349,_0x2c0f68)=>(_0x2a4349[_0x2c0f68]='',_0x2a4349),{});return _0x4990f1[_0x5c10ae(0x71)][_0x5c10ae(0x8a)](_0x5c662e,_0x2badf7);}),_0x1b1745(0x81)!=typeof _0x4990f1[_0x1b1745(0xa0)][_0x1b1745(0x7c)](_0x1b1745(0x84))[_0x1b1745(0xa1)])throw new _0x3eb3e7(_0x1b1745(0x68));}[_0x19efbd(0x7e)](_0x3f3205){const _0x4bcf8c=_0x19efbd;return N(this[_0x4bcf8c(0x79)],!0x0,_0x3f3205);}[_0x19efbd(0x73)](_0xe187fc){const _0x51a2f3=_0x19efbd;return N(this[_0x51a2f3(0x79)],!0x1,_0xe187fc);}}class D extends _0x59e2e7{static get[_0x19efbd(0x96)](){const _0x545154=_0x19efbd;return _0x545154(0x9f);}constructor(_0x1898c6){const _0x2b9766=_0x19efbd;super(_0x1898c6),this[_0x2b9766(0x93)]=_0x2b9766(0x74);}[_0x19efbd(0x94)](){const _0x10806f=_0x19efbd;this[_0x10806f(0x79)][_0x10806f(0x82)][_0x10806f(0x7c)](_0x10806f(0x76))[_0x10806f(0x80)]={'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[_0x10806f(0x79)][_0x10806f(0x82)][_0x10806f(0x7c)](_0x10806f(0x7f))[_0x10806f(0x80)]=null;}}function v(_0x414fd7){const _0x5597a8=_0x19efbd;return void 0x0!==_0x414fd7[_0x5597a8(0x99)];}async function N(_0x4616b5,_0x4283fc,_0x2e6079){const _0x3c8f1a=_0x19efbd,_0x20782c=_0x161d7d(_0x4616b5,T);_0x20782c[_0x3c8f1a(0x82)][_0x3c8f1a(0x88)](_0x3749e9,D),_0x20782c[_0x3c8f1a(0x70)]=v(_0x4616b5)?_0x4616b5[_0x3c8f1a(0x99)]():void 0x0;const _0x1f1670=document[_0x3c8f1a(0x87)](),_0x10d1ab=_0x4616b5[_0x3c8f1a(0xa0)][_0x3c8f1a(0x7c)](_0x3c8f1a(0x84))[_0x3c8f1a(0xa1)],_0x4ec79c=await _0x10d1ab(_0x20782c,()=>function(_0x1259d4){const _0x439429=_0x3c8f1a,_0x4830ff=document[_0x439429(0x9b)](_0x439429(0x67));return _0x1259d4[_0x439429(0x8f)](_0x4830ff),_0x4830ff;}(_0x1f1670));!function(_0x480585,_0x1f6cd4){const _0xe74110=_0x3c8f1a,_0x34c3ac=_0x480585[_0xe74110(0x9d)][_0xe74110(0x72)][_0xe74110(0x95)]()[_0xe74110(0x78)]((_0x24f866,_0x55a276)=>(_0x24f866[_0x55a276]=_0x480585[_0xe74110(0x6b)][_0xe74110(0x7c)]({'rootName':_0x55a276}),_0x24f866),{}),_0x45f52e=_0x480585[_0xe74110(0x82)][_0xe74110(0x7c)](_0xe74110(0x7d))[_0xe74110(0x8d)][_0xe74110(0x9e)](_0x33709a=>({'id':_0x33709a['id'],'name':_0x33709a[_0xe74110(0x7a)]})),_0x19a6c5=_0x480585[_0xe74110(0x82)][_0xe74110(0x7c)](_0xe74110(0x7f))[_0xe74110(0xa2)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x499888=_0x1f6cd4[_0xe74110(0x82)][_0xe74110(0x7c)](_0xe74110(0x7d)),_0x29a1b8=_0x1f6cd4[_0xe74110(0x82)][_0xe74110(0x7c)](_0xe74110(0x7f));for(const _0x4298fa of _0x45f52e)_0x499888[_0xe74110(0x9c)](_0x4298fa['id'])||_0x499888[_0xe74110(0x6f)](_0x4298fa);_0x499888['me']||_0x499888[_0xe74110(0x6d)]();for(const _0x33ab35 of _0x19a6c5)_0x29a1b8[_0xe74110(0x91)](_0x33ab35);_0x1f6cd4[_0xe74110(0x6b)][_0xe74110(0x77)](_0x34c3ac);}(_0x4616b5,_0x4ec79c),_0x4ec79c[_0x3c8f1a(0x92)](_0x4283fc?_0x3c8f1a(0x66):_0x3c8f1a(0x8e));const _0x53b3ec=v(_0x4ec79c)?_0x4ec79c[_0x3c8f1a(0x83)](_0x2e6079):_0x4ec79c[_0x3c8f1a(0x6b)][_0x3c8f1a(0x7c)](_0x2e6079);return await _0x4ec79c[_0x3c8f1a(0x9a)](),_0x53b3ec;}
|