@ckeditor/ckeditor5-track-changes 42.0.0-alpha.12 → 42.0.0-alpha.14
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/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.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/multilevellist.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 +2 -2
- 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 +2 -2
- 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
|
-
|
|
23
|
+
const _0xeed2c=_0xa4bd;(function(_0xf4b98d,_0x184660){const _0x2f2c7a=_0xa4bd,_0x4609f8=_0xf4b98d();while(!![]){try{const _0x461999=-parseInt(_0x2f2c7a(0xab))/0x1*(-parseInt(_0x2f2c7a(0xa4))/0x2)+parseInt(_0x2f2c7a(0xa6))/0x3*(-parseInt(_0x2f2c7a(0xaf))/0x4)+parseInt(_0x2f2c7a(0xb8))/0x5*(parseInt(_0x2f2c7a(0xa7))/0x6)+-parseInt(_0x2f2c7a(0xa2))/0x7*(-parseInt(_0x2f2c7a(0xb7))/0x8)+-parseInt(_0x2f2c7a(0xa3))/0x9+parseInt(_0x2f2c7a(0xb1))/0xa*(parseInt(_0x2f2c7a(0xb0))/0xb)+-parseInt(_0x2f2c7a(0xb6))/0xc;if(_0x461999===_0x184660)break;else _0x4609f8['push'](_0x4609f8['shift']());}catch(_0x2c4437){_0x4609f8['push'](_0x4609f8['shift']());}}}(_0x1f8f,0xdc949));function _0xa4bd(_0x47de67,_0x4a9fde){const _0x1f8fd1=_0x1f8f();return _0xa4bd=function(_0xa4bda0,_0x9c2f2b){_0xa4bda0=_0xa4bda0-0xa0;let _0x5e374c=_0x1f8fd1[_0xa4bda0];return _0x5e374c;},_0xa4bd(_0x47de67,_0x4a9fde);}import{Plugin as _0x4ad6ad}from'ckeditor5/src/core.js';import{getTranslation as _0x454ddb}from'../utils/common-translations.js';export default class _t extends _0x4ad6ad{[_0xeed2c(0xb3)](){const _0x21d68f=_0xeed2c,_0x5c4d70=this[_0x21d68f(0xa0)];if(!_0x5c4d70[_0x21d68f(0xb4)][_0x21d68f(0xb5)](_0x21d68f(0xb2)))return;_0x5c4d70[_0x21d68f(0xaa)][_0x21d68f(0xb5)](_0x21d68f(0xa5))[_0x21d68f(0xa1)](_0x21d68f(0xb2));const _0x54705d=_0x5c4d70[_0x21d68f(0xaa)][_0x21d68f(0xb5)](_0x21d68f(0xa5)),_0xcc6833=_0x5c4d70[_0x21d68f(0xad)];_0x54705d[_0x21d68f(0xa8)][_0x21d68f(0xae)](_0x21d68f(0xac),_0x4ce2e4=>_0x454ddb(_0xcc6833,_0x21d68f(0xa9),_0x4ce2e4));}}function _0x1f8f(){const _0x498db6=['5cUsHvU','editor','enableCommand','7ohTufG','1341108FtOYMH','116tjRpYH','TrackChangesEditing','1464156dbQnWJ','5858286FamTan','descriptionFactory','ELEMENT_TABLE_OF_CONTENTS','plugins','24979lLKzpF','tableOfContents','locale','registerElementLabel','12ajZEIy','13861837BAgZCg','10VSOhIP','insertTableOfContents','afterInit','commands','get','31788612pmIHGA','11843088MjUpqO'];_0x1f8f=function(){return _0x498db6;};return _0x1f8f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x12bd34=_0x2524;function _0x2524(_0x14773e,_0x155a92){const _0x39fa1c=_0x39fa();return _0x2524=function(_0x252467,_0x23d50f){_0x252467=_0x252467-0x1c1;let _0x12877f=_0x39fa1c[_0x252467];return _0x12877f;},_0x2524(_0x14773e,_0x155a92);}(function(_0x2c4bc8,_0x2aad71){const _0x2a333c=_0x2524,_0x1f17de=_0x2c4bc8();while(!![]){try{const _0x22a672=-parseInt(_0x2a333c(0x1ea))/0x1*(-parseInt(_0x2a333c(0x20e))/0x2)+-parseInt(_0x2a333c(0x20a))/0x3+-parseInt(_0x2a333c(0x1cc))/0x4*(parseInt(_0x2a333c(0x1d7))/0x5)+parseInt(_0x2a333c(0x207))/0x6+-parseInt(_0x2a333c(0x1fa))/0x7*(parseInt(_0x2a333c(0x1e7))/0x8)+parseInt(_0x2a333c(0x1e4))/0x9*(-parseInt(_0x2a333c(0x1df))/0xa)+parseInt(_0x2a333c(0x1f2))/0xb*(parseInt(_0x2a333c(0x1de))/0xc);if(_0x22a672===_0x2aad71)break;else _0x1f17de['push'](_0x1f17de['shift']());}catch(_0x351bb7){_0x1f17de['push'](_0x1f17de['shift']());}}}(_0x39fa,0xb4bf3));function _0x39fa(){const _0x141075=['TableCellPropertiesEditing','accept','removeAttribute','change','tableCellBorderWidth','189NMXAwm','getFirstPosition','model','markBlockFormat','getSuggestions','tableAlignment','tableWidth','format','pluginName','document','subType','enqueueChange','tableCellProperties','2412942ghxHjU','TrackChangesEditing','_suggestionFactory','2936967fuGjav','handleDiscardAction','start','tableCellBackgroundColor','8hRnaba','has','*Format:*\x20change\x20table\x20cell\x20properties','nodeAfter','getAttribute','editor','tableBorderWidth','setAttribute','*Format:*\x20change\x20table\x20properties','locale','tableCellPadding','tableCellHorizontalAlignment','data','tableBorderStyle','29272hrOkLx','plugins','_handlePropertyChange','tableCellHeight','join','TrackChangesTableProperties','tableProperties','commandParams','afterInit','handleSuggestionDescription','TablePropertiesEditing','775CudchM','getSelectionAffectedTableCells','tableCellBorderStyle','enableCommand','tableCellBorderColor','discard','get','132nLSZZi','325390cDVSYw','registerDescriptionCallback','registerCustomCallback','selection','table','369WQPPRB','tableBackgroundColor','tableBorderColor','77208nHrPiw','TableUtils','findAncestor','285372JAfoaA','tableHeight','getContainedElement','tableCellWidth','_getSuggestion','getSuggestionCallback','descriptionFactory','tableCellVerticalAlignment','2904649EKBoly','formatBlock','batch'];_0x39fa=function(){return _0x141075;};return _0x39fa();}import{Plugin as _0x3f56a1}from'ckeditor5/src/core.js';import{getTranslation as _0x558615}from'../utils/common-translations.js';export default class $t extends _0x3f56a1{constructor(_0x4a1cf7){const _0x41b4ae=_0x2524;super(_0x4a1cf7),this[_0x41b4ae(0x1d2)]=[_0x41b4ae(0x1e6),_0x41b4ae(0x1cb),_0x41b4ae(0x1c4),_0x41b4ae(0x1ff),_0x41b4ae(0x200),_0x41b4ae(0x1eb),_0x41b4ae(0x1e5)],this[_0x41b4ae(0x206)]=[_0x41b4ae(0x1db),_0x41b4ae(0x1d9),_0x41b4ae(0x1f9),_0x41b4ae(0x1c8),_0x41b4ae(0x1ed),_0x41b4ae(0x1cf),_0x41b4ae(0x20d),_0x41b4ae(0x1c9),_0x41b4ae(0x1f1)];}static get[_0x12bd34(0x202)](){const _0x12e191=_0x12bd34;return _0x12e191(0x1d1);}[_0x12bd34(0x1d4)](){const _0x22fbbb=_0x12bd34,_0x4133e8=this[_0x22fbbb(0x1c3)][_0x22fbbb(0x1cd)][_0x22fbbb(0x1dd)](_0x22fbbb(0x208));if(this[_0x22fbbb(0x1c3)][_0x22fbbb(0x1cd)][_0x22fbbb(0x20f)](_0x22fbbb(0x1d6))){for(const _0x39ba80 of this[_0x22fbbb(0x1d2)])_0x4133e8[_0x22fbbb(0x1da)](_0x39ba80,(_0x20b392,_0x1071a4)=>{const _0x386920=_0x22fbbb,_0xba10b5=this[_0x386920(0x1c3)][_0x386920(0x1fc)][_0x386920(0x203)][_0x386920(0x1e2)][_0x386920(0x1fb)]()[_0x386920(0x1e9)](_0x386920(0x1e3));this[_0x386920(0x1ce)](_0x39ba80,[_0xba10b5],this[_0x386920(0x1d2)],_0x386920(0x1d2),_0x20b392,_0x1071a4);});_0x4133e8[_0x22fbbb(0x209)][_0x22fbbb(0x1e1)](_0x22fbbb(0x1f3),_0x22fbbb(0x1d2),_0x22fbbb(0x1f6),_0x4133e8[_0x22fbbb(0x209)][_0x22fbbb(0x1ef)](_0x22fbbb(0x1f3),null,_0x22fbbb(0x1dc))),_0x4133e8[_0x22fbbb(0x209)][_0x22fbbb(0x1e1)](_0x22fbbb(0x1f3),_0x22fbbb(0x1d2),_0x22fbbb(0x1dc),(_0x52b1d9,_0x53b259)=>this[_0x22fbbb(0x20b)](this[_0x22fbbb(0x1d2)],_0x52b1d9,_0x53b259)),_0x4133e8[_0x22fbbb(0x209)][_0x22fbbb(0x1e1)](_0x22fbbb(0x1f3),_0x22fbbb(0x1d2),_0x22fbbb(0x1d0),()=>!0x1);}if(this[_0x22fbbb(0x1c3)][_0x22fbbb(0x1cd)][_0x22fbbb(0x20f)](_0x22fbbb(0x1f5))){for(const _0x151cdb of this[_0x22fbbb(0x206)])_0x4133e8[_0x22fbbb(0x1da)](_0x151cdb,(_0x282320,_0x29fcbb)=>{const _0x16ec4e=_0x22fbbb,_0x27be35=this[_0x16ec4e(0x1c3)][_0x16ec4e(0x1cd)][_0x16ec4e(0x1dd)](_0x16ec4e(0x1e8))[_0x16ec4e(0x1d8)](this[_0x16ec4e(0x1c3)][_0x16ec4e(0x1fc)][_0x16ec4e(0x203)][_0x16ec4e(0x1e2)]);this[_0x16ec4e(0x1ce)](_0x151cdb,_0x27be35,this[_0x16ec4e(0x206)],_0x16ec4e(0x206),_0x282320,_0x29fcbb);});_0x4133e8[_0x22fbbb(0x209)][_0x22fbbb(0x1e1)](_0x22fbbb(0x1f3),_0x22fbbb(0x206),_0x22fbbb(0x1f6),_0x4133e8[_0x22fbbb(0x209)][_0x22fbbb(0x1ef)](_0x22fbbb(0x1f3),null,_0x22fbbb(0x1dc))),_0x4133e8[_0x22fbbb(0x209)][_0x22fbbb(0x1e1)](_0x22fbbb(0x1f3),_0x22fbbb(0x206),_0x22fbbb(0x1dc),(_0x426a0d,_0x4c6e74)=>this[_0x22fbbb(0x20b)](this[_0x22fbbb(0x206)],_0x426a0d,_0x4c6e74)),_0x4133e8[_0x22fbbb(0x209)][_0x22fbbb(0x1e1)](_0x22fbbb(0x1f3),_0x22fbbb(0x206),_0x22fbbb(0x1d0),()=>!0x1);}_0x4133e8[_0x22fbbb(0x1f0)][_0x22fbbb(0x1e0)](_0x47d291=>this[_0x22fbbb(0x1d5)](_0x47d291));}[_0x12bd34(0x1ce)](_0x1b56e9,_0x4fd940,_0x5991e6,_0x5757f6,_0x201aff,_0x4e79df){const _0x1ef5c9=_0x12bd34,_0x26682a=this[_0x1ef5c9(0x1c3)][_0x1ef5c9(0x1cd)][_0x1ef5c9(0x1dd)](_0x1ef5c9(0x208));this[_0x1ef5c9(0x1c3)][_0x1ef5c9(0x1fc)][_0x1ef5c9(0x205)](_0x4e79df[_0x1ef5c9(0x1f4)],()=>{const _0x25bba3=_0x1ef5c9;for(const _0x41f13a of _0x4fd940){if(this[_0x25bba3(0x1ee)](_0x41f13a,_0x5757f6))_0x201aff(_0x4e79df);else{const _0x21f78f={};for(const _0x1c5b28 of _0x5991e6){const _0xd9e3d4=_0x41f13a[_0x25bba3(0x1c2)](_0x1c5b28);void 0x0!==_0xd9e3d4&&(_0x21f78f[_0x1c5b28]=_0xd9e3d4);}_0x201aff(_0x4e79df),_0x26682a[_0x25bba3(0x1fd)](_0x41f13a,{'commandParams':[_0x21f78f]},[],_0x5757f6);}}});}[_0x12bd34(0x20b)](_0x2a8367,_0x4d6c80,_0x242118){const _0x5e81f1=_0x12bd34,_0x3b5052=_0x4d6c80[0x0][_0x5e81f1(0x20c)][_0x5e81f1(0x1c1)],_0x3cdd20=_0x242118[_0x5e81f1(0x1d3)][0x0];this[_0x5e81f1(0x1c3)][_0x5e81f1(0x1fc)][_0x5e81f1(0x1f8)](_0x327a3b=>{const _0x591e04=_0x5e81f1;for(const _0x5e368a of _0x2a8367)void 0x0!==_0x3cdd20[_0x5e368a]?_0x327a3b[_0x591e04(0x1c5)](_0x5e368a,_0x3cdd20[_0x5e368a],_0x3b5052):_0x327a3b[_0x591e04(0x1f7)](_0x5e368a,_0x3b5052);});}[_0x12bd34(0x1d5)](_0x51bf55){const _0x2d001b=_0x12bd34;if(_0x51bf55[_0x2d001b(0x1ca)])switch(_0x51bf55[_0x2d001b(0x204)]){case _0x2d001b(0x1d2):return{'type':_0x2d001b(0x201),'content':_0x558615(this[_0x2d001b(0x1c3)][_0x2d001b(0x1c7)],_0x2d001b(0x1c6))};case _0x2d001b(0x206):return{'type':_0x2d001b(0x201),'content':_0x558615(this[_0x2d001b(0x1c3)][_0x2d001b(0x1c7)],_0x2d001b(0x210))};}}[_0x12bd34(0x1ee)](_0x27e676,_0x5a4065){const _0x153534=_0x12bd34,_0x22bd86=this[_0x153534(0x1c3)][_0x153534(0x1cd)][_0x153534(0x1dd)](_0x153534(0x208));for(const _0x22a092 of _0x22bd86[_0x153534(0x1fe)]({'skipNotAttached':!0x0})){const _0x43aad8=_0x22a092[_0x153534(0x1ec)]();if(_0x22a092[_0x153534(0x204)]===_0x5a4065&&_0x43aad8===_0x27e676)return _0x22a092;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x48a5(_0x1ee6c5,_0x256eb4){const _0x3cc962=_0x3cc9();return _0x48a5=function(_0x48a5fc,_0x292733){_0x48a5fc=_0x48a5fc-0x1c2;let _0x22700b=_0x3cc962[_0x48a5fc];return _0x22700b;},_0x48a5(_0x1ee6c5,_0x256eb4);}const _0x4cefbd=_0x48a5;(function(_0x3b6f6b,_0x4b5d3a){const _0x102ccb=_0x48a5,_0x303677=_0x3b6f6b();while(!![]){try{const _0x102611=parseInt(_0x102ccb(0x1cb))/0x1+-parseInt(_0x102ccb(0x1c8))/0x2+-parseInt(_0x102ccb(0x1d3))/0x3+parseInt(_0x102ccb(0x1cf))/0x4+-parseInt(_0x102ccb(0x1c4))/0x5*(parseInt(_0x102ccb(0x1c3))/0x6)+-parseInt(_0x102ccb(0x1c2))/0x7*(parseInt(_0x102ccb(0x1ca))/0x8)+parseInt(_0x102ccb(0x1c9))/0x9;if(_0x102611===_0x4b5d3a)break;else _0x303677['push'](_0x303677['shift']());}catch(_0x176545){_0x303677['push'](_0x303677['shift']());}}}(_0x3cc9,0xa9607));import{Plugin as _0x25efbe}from'ckeditor5/src/core.js';export default class Ct extends _0x25efbe{[_0x4cefbd(0x1d2)](){const _0x332938=_0x4cefbd,_0x33f919=this[_0x332938(0x1cc)];_0x33f919[_0x332938(0x1cd)][_0x332938(0x1c6)](_0x332938(0x1c7))&&_0x33f919[_0x332938(0x1cd)][_0x332938(0x1c5)](_0x332938(0x1d1))[_0x332938(0x1ce)](_0x332938(0x1d0));}}function _0x3cc9(){const _0x50c218=['TrackChangesEditing','afterInit','1249518ZkHjeV','49jVlQxz','85182fVxKQk','50tTqaNl','get','has','Template','2434918mvdYzY','10083834VLiVGC','537536ELmxqG','1214099zSnLTC','editor','plugins','enableCommand','2422084DDzYQq','insertTemplate'];_0x3cc9=function(){return _0x50c218;};return _0x3cc9();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x10277a=_0x4d45;(function(_0x579c17,_0x2e692){const _0x14bedb=_0x4d45,_0x4e4b7d=_0x579c17();while(!![]){try{const _0x4354c2=parseInt(_0x14bedb(0xd9))/0x1+-parseInt(_0x14bedb(0xd5))/0x2*(-parseInt(_0x14bedb(0xc4))/0x3)+-parseInt(_0x14bedb(0xb5))/0x4*(-parseInt(_0x14bedb(0xd2))/0x5)+-parseInt(_0x14bedb(0xb3))/0x6*(parseInt(_0x14bedb(0xc8))/0x7)+-parseInt(_0x14bedb(0xcf))/0x8*(parseInt(_0x14bedb(0xb4))/0x9)+-parseInt(_0x14bedb(0xbd))/0xa+parseInt(_0x14bedb(0xcb))/0xb;if(_0x4354c2===_0x2e692)break;else _0x4e4b7d['push'](_0x4e4b7d['shift']());}catch(_0x89eb9a){_0x4e4b7d['push'](_0x4e4b7d['shift']());}}}(_0xc91f,0xc0db2));import{Plugin as _0x4a3a95}from'ckeditor5/src/core.js';import{getTranslation as _0x56a678}from'../utils/common-translations.js';function _0x4d45(_0x3b7c9d,_0x3658d3){const _0xc91fd0=_0xc91f();return _0x4d45=function(_0x4d455a,_0x3e9dd8){_0x4d455a=_0x4d455a-0xb0;let _0x58e800=_0xc91fd0[_0x4d455a];return _0x58e800;},_0x4d45(_0x3b7c9d,_0x3658d3);}function _0xc91f(){const _0x50d3cc=['isCollapsed','registerElementLabel','isEqual','325796uCatmR','afterInit','ELEMENT_TITLE','has','createRange','TrackChangesEditing','isTouching','36ZSnwfe','9hNEIao','167000cgatMO','from','descriptionFactory','start','suggestion','end','locale','removeMarker','7795540ERVwpZ','differ','editor','plugins','model','get','nodeBefore','32523eqQQJR','forward','Title','newRange','1366463ZsmYbN','_splitMarkerName','element','21998625gLxRbA','updateMarker','getChangedMarkers','getNearestSelectionRange','3870512umXqJq','document','registerPostFixer','70zKcjKv','title-content','schema','58SlRksA'];_0xc91f=function(){return _0x50d3cc;};return _0xc91f();}export default class Dt extends _0x4a3a95{[_0x10277a(0xda)](){const _0x3d52c2=_0x10277a,_0x28eb0b=this[_0x3d52c2(0xbf)];if(!_0x28eb0b[_0x3d52c2(0xc0)][_0x3d52c2(0xdc)](_0x3d52c2(0xc6)))return;const _0x38c5b0=_0x28eb0b[_0x3d52c2(0xc0)][_0x3d52c2(0xc2)](_0x3d52c2(0xb1));_0x38c5b0[_0x3d52c2(0xb7)][_0x3d52c2(0xd7)](_0x3d52c2(0xd3),()=>_0x56a678(_0x28eb0b[_0x3d52c2(0xbb)],_0x3d52c2(0xdb))),_0x28eb0b[_0x3d52c2(0xc1)][_0x3d52c2(0xd0)][_0x3d52c2(0xd1)](_0x2a8360=>{const _0x598b13=_0x3d52c2;let _0x251436=!0x1;const _0x1b89c3=Array[_0x598b13(0xb6)](_0x28eb0b[_0x598b13(0xc1)][_0x598b13(0xd0)][_0x598b13(0xbe)][_0x598b13(0xcd)]());for(const {name:_0x27e8aa,data:_0x1c43e2}of _0x1b89c3){const {group:_0x127c77}=_0x38c5b0[_0x598b13(0xc9)](_0x27e8aa);if(_0x598b13(0xb9)!==_0x127c77||!_0x1c43e2[_0x598b13(0xc7)])continue;const _0x19d8f8=_0x1c43e2[_0x598b13(0xc7)],_0x147e68=_0x19d8f8[_0x598b13(0xba)][_0x598b13(0xc3)];if(!_0x147e68||!_0x147e68['is'](_0x598b13(0xca),_0x598b13(0xd3)))continue;if(!_0x19d8f8[_0x598b13(0xb8)][_0x598b13(0xb2)](_0x19d8f8[_0x598b13(0xba)]))continue;const _0x5d6387=_0x28eb0b[_0x598b13(0xc1)][_0x598b13(0xd4)][_0x598b13(0xce)](_0x19d8f8[_0x598b13(0xba)],_0x598b13(0xc5));if(_0x5d6387&&_0x5d6387[_0x598b13(0xd6)]){const _0x295172=_0x2a8360[_0x598b13(0xb0)](_0x19d8f8[_0x598b13(0xb8)],_0x5d6387[_0x598b13(0xb8)]);_0x295172[_0x598b13(0xd8)](_0x19d8f8)||(_0x2a8360[_0x598b13(0xcc)](_0x27e8aa,{'range':_0x295172}),_0x251436=!0x0);}_0x251436||(_0x2a8360[_0x598b13(0xbc)](_0x27e8aa),_0x251436=!0x0);}return _0x251436;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x440e83=_0x5832;(function(_0x469f6f,_0xea242){const _0x54a5de=_0x5832,_0x608337=_0x469f6f();while(!![]){try{const _0x4a43bd=-parseInt(_0x54a5de(0x15e))/0x1*(parseInt(_0x54a5de(0x15d))/0x2)+parseInt(_0x54a5de(0x16a))/0x3+-parseInt(_0x54a5de(0x158))/0x4+parseInt(_0x54a5de(0x157))/0x5*(-parseInt(_0x54a5de(0x161))/0x6)+parseInt(_0x54a5de(0x167))/0x7+parseInt(_0x54a5de(0x15f))/0x8*(-parseInt(_0x54a5de(0x169))/0x9)+parseInt(_0x54a5de(0x168))/0xa*(parseInt(_0x54a5de(0x166))/0xb);if(_0x4a43bd===_0xea242)break;else _0x608337['push'](_0x608337['shift']());}catch(_0x438823){_0x608337['push'](_0x608337['shift']());}}}(_0xd949,0x91354));import{Plugin as _0xc620d6}from'ckeditor5/src/core.js';function _0xd949(){const _0x340d7a=['48330iAIVpW','721638kOjqNS','editor','75SwwHbh','465064lkuXVg','has','UndoEditing','plugins','get','14554qQIffN','35ZlIiUz','96nEOaIu','enableCommand','36294YNMyoX','TrackChangesEditing','undo','afterInit','redo','1133UOtsXS','1085973uiwwAu','70410ZENznU'];_0xd949=function(){return _0x340d7a;};return _0xd949();}function _0x5832(_0x1dd5c4,_0x2845e8){const _0xd949c2=_0xd949();return _0x5832=function(_0x583262,_0x3fec70){_0x583262=_0x583262-0x156;let _0x27f543=_0xd949c2[_0x583262];return _0x27f543;},_0x5832(_0x1dd5c4,_0x2845e8);}export default class Nt extends _0xc620d6{[_0x440e83(0x164)](){const _0x2b5613=_0x440e83,_0x11a4af=this[_0x2b5613(0x156)],_0x2d57bc=_0x11a4af[_0x2b5613(0x15b)][_0x2b5613(0x15c)](_0x2b5613(0x162));_0x11a4af[_0x2b5613(0x15b)][_0x2b5613(0x159)](_0x2b5613(0x15a))&&(_0x2d57bc[_0x2b5613(0x160)](_0x2b5613(0x163)),_0x2d57bc[_0x2b5613(0x160)](_0x2b5613(0x165)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x70b5(){const _0x5b7ea7=['createRangeOn','addClass','writer','32841VCQmCF','toViewElement','insert','toViewPosition','model','2ozTKpN','test','span','17766067tsLdcC','item','parent','isBlock','isLimit','ck-suggestion-marker--active','createUIElement','1810XTnLPo','359068fvDvbV','getCustomProperty','start','name','ck-suggestion-marker-','activeMarkers','418423wgLSLc','bindElementToMarker','176gfhXdp','mapper','1225gpyMSs','push','elementEnd','markerRange','126917JkeYJR','isAtEnd','nextSibling','get','addHighlight','schema','21687YagmFl','markerName','previousPosition','isContent','TrackChangesEditing','includes','getItems','plugins','hasAttribute','10992hPOPjt','consumable','type','getWalker'];_0x70b5=function(){return _0x5b7ea7;};return _0x70b5();}(function(_0x46d772,_0x160f28){const _0x55ab07=_0x2001,_0x4da68c=_0x46d772();while(!![]){try{const _0x10af80=-parseInt(_0x55ab07(0x8f))/0x1*(parseInt(_0x55ab07(0x7e))/0x2)+-parseInt(_0x55ab07(0x69))/0x3+-parseInt(_0x55ab07(0x89))/0x4+parseInt(_0x55ab07(0x93))/0x5*(-parseInt(_0x55ab07(0x72))/0x6)+parseInt(_0x55ab07(0x97))/0x7*(parseInt(_0x55ab07(0x91))/0x8)+-parseInt(_0x55ab07(0x79))/0x9*(parseInt(_0x55ab07(0x88))/0xa)+parseInt(_0x55ab07(0x81))/0xb;if(_0x10af80===_0x160f28)break;else _0x4da68c['push'](_0x4da68c['shift']());}catch(_0x3a3353){_0x4da68c['push'](_0x4da68c['shift']());}}}(_0x70b5,0x5f083));function _0x2001(_0x42be84,_0x5edac0){const _0x70b5a6=_0x70b5();return _0x2001=function(_0x2001fd,_0x1ccb57){_0x2001fd=_0x2001fd-0x66;let _0xcc7a44=_0x70b5a6[_0x2001fd];return _0xcc7a44;},_0x2001(_0x42be84,_0x5edac0);}export function getRangesWithAttribute(_0xb0ee58,_0x3e2ee8,_0x225c20){const _0x5a85b5=_0x2001,_0xa6620d=[];for(const _0x5a9f0f of _0x3e2ee8[_0x5a85b5(0x6f)]())_0x5a9f0f[_0x5a85b5(0x71)](_0xb0ee58)&&_0xa6620d[_0x5a85b5(0x94)](_0x225c20[_0x5a85b5(0x76)](_0x5a9f0f));return _0xa6620d;}export function downcastSplitMergeMarker(_0x4f8ed6,_0x21cc68,{showActiveMarker:_0x32d9ce=!0x0}={}){const _0x261345=_0x2001,_0x44a031=_0x4f8ed6[_0x261345(0x70)][_0x261345(0x66)](_0x261345(0x6d));return(_0xb7d310,_0x35a6e9,_0x1570a1)=>{const _0x44781d=_0x261345;if(!_0x1570a1[_0x44781d(0x73)][_0x44781d(0x7f)](_0x35a6e9[_0x44781d(0x96)],_0xb7d310[_0x44781d(0x8c)]))return;const _0x49cf04=_0x35a6e9[_0x44781d(0x96)][_0x44781d(0x75)](),_0x194924=_0x35a6e9[_0x44781d(0x96)][_0x44781d(0x8b)],_0x57d5cb=_0x4f8ed6[_0x44781d(0x7d)][_0x44781d(0x68)];let _0x40f640=null,_0x1e3aec=null,_0x53d6bf=!0x1,_0x1bc1cf=!0x1;for(const _0x3da4bc of _0x49cf04){const _0xf1626b=_0x3da4bc[_0x44781d(0x82)];_0x53d6bf=_0x53d6bf||_0x57d5cb[_0x44781d(0x6c)](_0xf1626b);const _0x2a4050=_0x1570a1[_0x44781d(0x92)][_0x44781d(0x7a)](_0xf1626b);if(_0x2a4050&&_0x2a4050[_0x44781d(0x8a)](_0x44781d(0x67)))return;_0x44781d(0x95)==_0x3da4bc[_0x44781d(0x74)]&&(_0x57d5cb[_0x44781d(0x84)](_0xf1626b)&&!_0x57d5cb[_0x44781d(0x85)](_0xf1626b)&&(_0xf1626b[_0x44781d(0x99)]||_0x194924[_0x44781d(0x98)]?_0x40f640&&_0x40f640[_0x44781d(0x83)]==_0xf1626b||(_0x40f640=_0xf1626b,_0x1232b6(_0x3da4bc[_0x44781d(0x6b)]),_0x1bc1cf=!0x0):_0x1e3aec=_0x1e3aec||_0x3da4bc[_0x44781d(0x6b)]));}function _0x1232b6(_0x4616cb){const _0x58151f=_0x44781d,_0x1f5935=_0x1570a1[_0x58151f(0x78)][_0x58151f(0x87)](_0x58151f(0x80),{'class':_0x58151f(0x8d)+_0x21cc68}),_0x46362b=_0x1570a1[_0x58151f(0x92)][_0x58151f(0x7c)](_0x4616cb);_0x32d9ce&&_0x44a031[_0x58151f(0x8e)][_0x58151f(0x6e)](_0x35a6e9[_0x58151f(0x6a)])&&_0x1570a1[_0x58151f(0x78)][_0x58151f(0x77)](_0x58151f(0x86),_0x1f5935),_0x1570a1[_0x58151f(0x78)][_0x58151f(0x7b)](_0x46362b,_0x1f5935),_0x1570a1[_0x58151f(0x92)][_0x58151f(0x90)](_0x1f5935,_0x35a6e9[_0x58151f(0x6a)]);}_0x53d6bf||_0x1bc1cf||!_0x1e3aec||_0x1232b6(_0x1e3aec);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x24c39c=_0x56d5;(function(_0x194801,_0x45b0e7){const _0x46708a=_0x56d5,_0xc929f3=_0x194801();while(!![]){try{const _0x2df5b3=parseInt(_0x46708a(0x104))/0x1+parseInt(_0x46708a(0x12b))/0x2*(-parseInt(_0x46708a(0x122))/0x3)+-parseInt(_0x46708a(0x11d))/0x4*(parseInt(_0x46708a(0x107))/0x5)+parseInt(_0x46708a(0x118))/0x6+-parseInt(_0x46708a(0x114))/0x7+parseInt(_0x46708a(0x133))/0x8*(-parseInt(_0x46708a(0x137))/0x9)+-parseInt(_0x46708a(0xf0))/0xa*(-parseInt(_0x46708a(0xfa))/0xb);if(_0x2df5b3===_0x45b0e7)break;else _0xc929f3['push'](_0xc929f3['shift']());}catch(_0x48d519){_0xc929f3['push'](_0xc929f3['shift']());}}}(_0x47f1,0x9fadb));function _0x47f1(){const _0x1f6120=['_isDataLoaded','onAttributesChange','150170BjityO','from','hasComments','getContainedElement','_onAttributesChange','author','decorate','authoredAt','split','next','132UABHIH','getRange','previous','_onDiscard','filter','removeMarker','onDiscard','createdAt','getMarkerNames','isInContent','1304155QlKsWh','toJSON','substr','2439110GSlZXd','push','onAccept','getMarkers','isExternal','@external','suggestion:','accept','setAttribute','getMultiRangeId','_model','commentThread','getAllAdjacentSuggestions','3550022QjBDMD','head','start','getItems','5229258BdmkpN','getFirstMarker','removeAttribute','isMultiRange','addRange','4rNQpPA','nodeBefore','addMarker','addMarkerName','getFirstRange','201cVWsPT','getRanges','reduce','removeMarkers','change','get','data','_markerNames','subType','6932KWcODP','attributes','map','add','size','_saved','creator','isIntersectingWithRange','3797352eXrsMr','length','markers','nodeAfter','9PJVckj','set','delete','type','end','clear','discard','_onAccept','isIntersecting'];_0x47f1=function(){return _0x1f6120;};return _0x47f1();}import{Element as _0xd56154}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x1912b5,uid as _0x38ecd5}from'ckeditor5/src/utils.js';function _0x56d5(_0x323290,_0x13680e){const _0x47f13b=_0x47f1();return _0x56d5=function(_0x56d583,_0x47f2a4){_0x56d583=_0x56d583-0xe9;let _0x480b7d=_0x47f13b[_0x56d583];return _0x480b7d;},_0x56d5(_0x323290,_0x13680e);}import{cloneDeep as _0x5b0370,isEqual as _0x2002f0,set as _0x323f6f,unset as _0x589e07}from'lodash-es';export default class u extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1912b5(){constructor(_0x23020e,_0x2bd85b){const _0x5bb738=_0x56d5;super(),this[_0x5bb738(0xee)]=!0x1,this['id']=_0x2bd85b['id'],this[_0x5bb738(0x13a)]=_0x2bd85b[_0x5bb738(0x13a)],this[_0x5bb738(0x12a)]=_0x2bd85b[_0x5bb738(0x12a)]||null,this[_0x5bb738(0xf5)]=_0x2bd85b[_0x5bb738(0xf5)],this[_0x5bb738(0x131)]=_0x2bd85b[_0x5bb738(0x131)]||_0x2bd85b[_0x5bb738(0xf5)],this[_0x5bb738(0x10b)]=Boolean(_0x2bd85b[_0x5bb738(0x12c)]&&_0x2bd85b[_0x5bb738(0x12c)][_0x5bb738(0x10c)]),this[_0x5bb738(0x128)]=null,this[_0x5bb738(0x111)]=_0x23020e,this[_0x5bb738(0xec)]=_0x2bd85b[_0x5bb738(0x109)],this[_0x5bb738(0xfd)]=_0x2bd85b[_0x5bb738(0x100)],this[_0x5bb738(0xf4)]=_0x2bd85b[_0x5bb738(0xef)],this[_0x5bb738(0x129)]=new Set(),this[_0x5bb738(0x101)]=null,this[_0x5bb738(0x138)](_0x5bb738(0xf7),null),this[_0x5bb738(0x138)](_0x5bb738(0x12c),_0x2bd85b[_0x5bb738(0x12c)]||{}),this[_0x5bb738(0x138)](_0x5bb738(0xfc),null),this[_0x5bb738(0x138)](_0x5bb738(0xf9),null),this[_0x5bb738(0x138)](_0x5bb738(0x112),null),this[_0x5bb738(0x138)](_0x5bb738(0x130),!0x1),this[_0x5bb738(0xf6)](_0x5bb738(0x10e)),this[_0x5bb738(0xf6)](_0x5bb738(0xeb));}get[_0x24c39c(0x115)](){const _0x5e7064=_0x24c39c;let _0x54196d=this;for(;_0x54196d[_0x5e7064(0xfc)];)_0x54196d=_0x54196d[_0x5e7064(0xfc)];return _0x54196d;}get[_0x24c39c(0xf2)](){const _0x450802=_0x24c39c;return!!this[_0x450802(0x112)]&&this[_0x450802(0x112)][_0x450802(0x134)]>0x0;}get[_0x24c39c(0x11b)](){const _0x50e28b=_0x24c39c;if(0x0==this[_0x50e28b(0x129)][_0x50e28b(0x12f)])return!0x1;return 0x6==Array[_0x50e28b(0xf1)](this[_0x50e28b(0x129)])[0x0][_0x50e28b(0xf8)](':')[_0x50e28b(0x134)];}get[_0x24c39c(0x103)](){const _0x48c9fc=_0x24c39c;return null!==this[_0x48c9fc(0x119)]();}[_0x24c39c(0x120)](_0xa7a17c){const _0x41cf74=_0x24c39c;this[_0x41cf74(0x129)][_0x41cf74(0x12e)](_0xa7a17c);}[_0x24c39c(0x102)](){const _0x3fcbee=_0x24c39c;return Array[_0x3fcbee(0xf1)](this[_0x3fcbee(0x129)]);}[_0x24c39c(0x10a)](){const _0x9f4bfc=_0x24c39c;return this[_0x9f4bfc(0x102)]()[_0x9f4bfc(0x12d)](_0x49cec6=>this[_0x9f4bfc(0x111)][_0x9f4bfc(0x135)][_0x9f4bfc(0x127)](_0x49cec6))[_0x9f4bfc(0xfe)](_0x188b0d=>_0x188b0d);}[_0x24c39c(0x119)](){const _0x1004ae=_0x24c39c;return this[_0x1004ae(0x10a)]()[0x0]||null;}[_0x24c39c(0x125)](){const _0x3c3896=_0x24c39c;this[_0x3c3896(0x111)][_0x3c3896(0x126)](_0x4462df=>{const _0x6aa4d8=_0x3c3896;for(const _0x1d35a4 of this[_0x6aa4d8(0x10a)]())_0x4462df[_0x6aa4d8(0xff)](_0x1d35a4);}),this[_0x3c3896(0x129)][_0x3c3896(0xea)]();}[_0x24c39c(0xff)](_0x22f99e){const _0x45392b=_0x24c39c;this[_0x45392b(0x111)][_0x45392b(0x126)](_0x11362f=>{const _0x479d65=_0x45392b;_0x11362f[_0x479d65(0xff)](_0x22f99e);}),this[_0x45392b(0x129)][_0x45392b(0x139)](_0x22f99e);}[_0x24c39c(0x11c)](_0x3ea973){const _0x5da727=_0x24c39c,_0x342778=_0x5da727(0x10d)+this[_0x5da727(0x13a)]+':'+this[_0x5da727(0x12a)]+':'+this['id']+':'+this[_0x5da727(0x131)]['id']+':'+u[_0x5da727(0x110)]();this[_0x5da727(0x120)](_0x342778),this[_0x5da727(0x111)][_0x5da727(0x126)](_0xe65d99=>{const _0x1e8d3e=_0x5da727;_0xe65d99[_0x1e8d3e(0x11f)](_0x342778,{'range':_0x3ea973,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x24c39c(0x132)](_0x1da95d){const _0x39523e=_0x24c39c;for(const _0x2efb5d of this[_0x39523e(0x123)]())if(_0x2efb5d[_0x39523e(0xed)](_0x1da95d))return!0x0;return!0x1;}[_0x24c39c(0x123)](){const _0x1fcb20=_0x24c39c;return this[_0x1fcb20(0x10a)]()[_0x1fcb20(0x12d)](_0x1b147b=>_0x1b147b[_0x1fcb20(0xfb)]());}[_0x24c39c(0x117)](){const _0x23fa7f=_0x24c39c;return this[_0x23fa7f(0x123)]()[_0x23fa7f(0x124)]((_0x2e3fff,_0x14e54f)=>[..._0x2e3fff,..._0x14e54f[_0x23fa7f(0x117)]()],[]);}[_0x24c39c(0x121)](){const _0x4d56f6=_0x24c39c;var _0x37987a;return(null===(_0x37987a=this[_0x4d56f6(0x119)]())||void 0x0===_0x37987a?void 0x0:_0x37987a[_0x4d56f6(0xfb)]())||null;}[_0x24c39c(0xf3)](){const _0x17064a=_0x24c39c,_0x41426e=this[_0x17064a(0x123)]();if(0x1!=_0x41426e[_0x17064a(0x134)])return null;const _0x4ea333=_0x41426e[0x0],_0x13fdd6=_0x4ea333[_0x17064a(0x116)][_0x17064a(0x136)],_0x509136=_0x4ea333[_0x17064a(0xe9)][_0x17064a(0x11e)];return _0x13fdd6 instanceof _0xd56154?_0x13fdd6!=_0x509136?null:_0x13fdd6:null;}[_0x24c39c(0x10e)](){const _0x48c4c3=_0x24c39c;this[_0x48c4c3(0xec)](this[_0x48c4c3(0x123)](),this[_0x48c4c3(0x128)],this[_0x48c4c3(0x12c)]),this[_0x48c4c3(0x125)]();}[_0x24c39c(0xeb)](){const _0xe18c7d=_0x24c39c;this[_0xe18c7d(0xfd)](this[_0xe18c7d(0x123)](),this[_0xe18c7d(0x128)],this[_0xe18c7d(0x12c)]),this[_0xe18c7d(0x125)]();}[_0x24c39c(0x113)](){const _0x237945=_0x24c39c,_0x259a1e=[];let _0x106752=this[_0x237945(0x115)];for(;_0x106752;)_0x259a1e[_0x237945(0x108)](_0x106752),_0x106752=_0x106752[_0x237945(0xf9)];return _0x259a1e;}[_0x24c39c(0x10f)](_0x2bfb7c,_0x279d69){const _0x488283=_0x24c39c,_0x5509d9=_0x5b0370(this[_0x488283(0x12c)]);_0x323f6f(_0x5509d9,_0x2bfb7c,_0x279d69),_0x2002f0(_0x5509d9,this[_0x488283(0x12c)])||(this[_0x488283(0x12c)]=_0x5509d9,this[_0x488283(0xf4)](_0x5509d9));}[_0x24c39c(0x11a)](_0x56825d){const _0x486711=_0x24c39c,_0x420f04=_0x5b0370(this[_0x486711(0x12c)]);_0x589e07(_0x420f04,_0x56825d),_0x2002f0(_0x420f04,this[_0x486711(0x12c)])||(this[_0x486711(0x12c)]=_0x420f04,this[_0x486711(0xf4)](this[_0x486711(0x12c)]));}[_0x24c39c(0x105)](){const _0x983ccb=_0x24c39c;return{'id':this['id'],'type':this[_0x983ccb(0x12a)]?this[_0x983ccb(0x13a)]+':'+this[_0x983ccb(0x12a)]:this[_0x983ccb(0x13a)],'authorId':this[_0x983ccb(0x131)]['id'],'createdAt':this[_0x983ccb(0x101)],'hasComments':this[_0x983ccb(0xf2)],'data':this[_0x983ccb(0x128)],'attributes':this[_0x983ccb(0x12c)]};}static[_0x24c39c(0x110)](){const _0x2c02dd=_0x24c39c;return _0x38ecd5()[_0x2c02dd(0x106)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5566e3=_0x42ce;(function(_0x55b8fc,_0x5bfd25){const _0x3f1432=_0x42ce,_0xb2a255=_0x55b8fc();while(!![]){try{const _0x19ab3a=parseInt(_0x3f1432(0x226))/0x1+-parseInt(_0x3f1432(0x241))/0x2+-parseInt(_0x3f1432(0x1f9))/0x3*(parseInt(_0x3f1432(0x22b))/0x4)+-parseInt(_0x3f1432(0x1ff))/0x5*(-parseInt(_0x3f1432(0x24d))/0x6)+parseInt(_0x3f1432(0x209))/0x7*(parseInt(_0x3f1432(0x1fb))/0x8)+-parseInt(_0x3f1432(0x201))/0x9*(-parseInt(_0x3f1432(0x232))/0xa)+-parseInt(_0x3f1432(0x225))/0xb;if(_0x19ab3a===_0x5bfd25)break;else _0xb2a255['push'](_0xb2a255['shift']());}catch(_0x344857){_0xb2a255['push'](_0xb2a255['shift']());}}}(_0x377d,0x9b417));import{getTranslation as _0x3eebef}from'./utils/common-translations.js';import{priorities as _0xb4a542,insertToPriorityArray as _0x2326be}from'ckeditor5/src/utils.js';function _0x42ce(_0x4a47fa,_0x27bb0c){const _0x377dec=_0x377d();return _0x42ce=function(_0x42ce16,_0x7d4c6a){_0x42ce16=_0x42ce16-0x1ed;let _0x41bf19=_0x377dec[_0x42ce16];return _0x41bf19;},_0x42ce(_0x4a47fa,_0x27bb0c);}import{renameAttributeKey as _0x177ba6}from'./trackchangesediting.js';export default class f{constructor(_0x1d3eb6,_0x2f2a6c){const _0x3b00a7=_0x42ce;this[_0x3b00a7(0x21a)]=[],this[_0x3b00a7(0x22d)]=new Map(),this[_0x3b00a7(0x22e)]=[],this[_0x3b00a7(0x237)]=new Map(),this[_0x3b00a7(0x22f)]=_0x1d3eb6,this[_0x3b00a7(0x233)]=_0x2f2a6c;}[_0x5566e3(0x20e)](_0x6c247a){const _0x4c826e=_0x5566e3,_0x240319=[],_0x30836a=new Set(),_0x55ebbc=new Set();for(let _0x270bc0=0x0;_0x270bc0<_0x6c247a[_0x4c826e(0x22a)];_0x270bc0++){const _0x54889a=_0x6c247a[_0x270bc0];if(!_0x54889a[_0x4c826e(0x23a)])continue;const _0x5f4a7a=this[_0x4c826e(0x243)](_0x54889a);if(_0x5f4a7a){if(null!=_0x54889a[_0x4c826e(0x200)]){if(_0x30836a[_0x4c826e(0x1ee)](_0x54889a[_0x4c826e(0x200)]))continue;_0x30836a[_0x4c826e(0x205)](_0x54889a[_0x4c826e(0x200)]);}_0x240319[_0x4c826e(0x218)](_0x5f4a7a);}else{if(_0x4c826e(0x245)!=_0x54889a[_0x4c826e(0x220)])_0x4c826e(0x240)!=_0x54889a[_0x4c826e(0x220)]&&_0x4c826e(0x235)!=_0x54889a[_0x4c826e(0x220)]||this[_0x4c826e(0x1f5)](_0x240319,_0x54889a,_0x6c247a[_0x270bc0+0x1]);else{const _0x514433=_0x54889a[_0x4c826e(0x20f)][_0x4c826e(0x230)];if(_0x55ebbc[_0x4c826e(0x1ee)](_0x514433))continue;_0x55ebbc[_0x4c826e(0x205)](_0x54889a[_0x4c826e(0x20f)][_0x4c826e(0x230)]),_0x514433==_0x177ba6?this[_0x4c826e(0x23e)](_0x240319,_0x54889a):this[_0x4c826e(0x246)](_0x240319,_0x54889a);}}}return this[_0x4c826e(0x203)](_0x240319);}[_0x5566e3(0x24a)](_0x46e242){const _0x2254f5=_0x5566e3;this[_0x2254f5(0x21a)][_0x2254f5(0x218)](_0x46e242);}[_0x5566e3(0x20a)](_0x29a4c8,_0x226c25,_0x4070e3=_0xb4a542[_0x5566e3(0x22c)]){const _0x3a3ef8=_0x5566e3;_0x3a3ef8(0x1f6)==typeof _0x29a4c8?_0x2326be(this[_0x3a3ef8(0x22e)],{'matchingCallback':_0x29a4c8,'label':_0x226c25,'priority':_0x4070e3}):this[_0x3a3ef8(0x22d)][_0x3a3ef8(0x206)](_0x29a4c8,_0x226c25);}[_0x5566e3(0x23d)](_0x1d433c,_0x153842){const _0x4724f4=_0x5566e3;this[_0x4724f4(0x237)][_0x4724f4(0x206)](_0x1d433c,_0x153842);}[_0x5566e3(0x248)](_0x3045bb,_0x3e58b6=0x1){const _0x1fb216=_0x5566e3;let _0x2fbf0a;for(const _0x3998b1 of this[_0x1fb216(0x22e)])if(_0x3998b1[_0x1fb216(0x214)](_0x3045bb)){_0x2fbf0a=_0x3998b1[_0x1fb216(0x217)];break;}return _0x2fbf0a||(_0x2fbf0a=this[_0x1fb216(0x22d)][_0x1fb216(0x24e)](_0x3045bb[_0x1fb216(0x20d)])),_0x2fbf0a?_0x2fbf0a(_0x3e58b6):0x1!==_0x3e58b6?_0x3e58b6+'\x20'+_0x3045bb[_0x1fb216(0x20d)]+'s':''+_0x3045bb[_0x1fb216(0x20d)];}[_0x5566e3(0x208)](_0x341300,_0x25a4fa){const _0x1ffc4d=_0x5566e3,_0x3f9351=_0x25a4fa[_0x1ffc4d(0x204)]()[_0x1ffc4d(0x227)](),_0x10c7e9=_0x1ffc4d(0x240)==_0x25a4fa[_0x1ffc4d(0x220)]?_0x1ffc4d(0x205):_0x1ffc4d(0x20c);for(const _0x2626f1 of _0x3f9351){const _0x318487=_0x2626f1[_0x1ffc4d(0x222)],_0x2818a1=_0x341300[_0x341300[_0x1ffc4d(0x22a)]-0x1];if(_0x318487['is'](_0x1ffc4d(0x24b)))_0x2818a1&&_0x2818a1[_0x1ffc4d(0x220)][_0x1ffc4d(0x1f2)](_0x1ffc4d(0x249))>-0x1&&_0x341300[_0x1ffc4d(0x1fc)](),_0x2818a1&&_0x1ffc4d(0x242)==_0x2818a1[_0x1ffc4d(0x220)]?_0x2818a1[_0x10c7e9]+=_0x318487[_0x1ffc4d(0x20f)]:_0x341300[_0x1ffc4d(0x218)]({'type':_0x1ffc4d(0x242),'add':_0x1ffc4d(0x205)==_0x10c7e9?_0x318487[_0x1ffc4d(0x20f)]:'','remove':_0x1ffc4d(0x20c)==_0x10c7e9?_0x318487[_0x1ffc4d(0x20f)]:''});else{if(this[_0x1ffc4d(0x22f)][_0x1ffc4d(0x215)](_0x318487)){const _0x41ba3e=_0x318487;if(_0x2818a1&&_0x2818a1[_0x1ffc4d(0x220)][_0x1ffc4d(0x1f2)](_0x1ffc4d(0x249))>-0x1&&_0x341300[_0x1ffc4d(0x1fc)](),_0x1ffc4d(0x244)==_0x2626f1[_0x1ffc4d(0x220)])continue;_0x2818a1&&_0x2818a1[_0x1ffc4d(0x220)]==_0x10c7e9+_0x1ffc4d(0x1fd)&&_0x2818a1[_0x1ffc4d(0x24c)][_0x1ffc4d(0x20d)]==_0x41ba3e[_0x1ffc4d(0x20d)]?_0x2818a1[_0x1ffc4d(0x21b)]++:_0x341300[_0x1ffc4d(0x218)]({'type':_0x10c7e9+_0x1ffc4d(0x1fd),'element':_0x41ba3e,'quantity':0x1}),_0x3f9351[_0x1ffc4d(0x1f0)](_0x40f794=>!(_0x1ffc4d(0x244)==_0x40f794[_0x1ffc4d(0x220)]&&_0x40f794[_0x1ffc4d(0x222)]==_0x318487));}else{if(this[_0x1ffc4d(0x22f)][_0x1ffc4d(0x224)](_0x318487,_0x1ffc4d(0x229))||_0x318487['is'](_0x1ffc4d(0x24c),_0x1ffc4d(0x1f7))){const _0x1b9f53=_0x318487;if(_0x1ffc4d(0x205)==_0x10c7e9&&_0x1ffc4d(0x1ef)==_0x2626f1[_0x1ffc4d(0x220)]||_0x1ffc4d(0x20c)==_0x10c7e9&&_0x1ffc4d(0x244)==_0x2626f1[_0x1ffc4d(0x220)])continue;if(_0x2818a1&&-0x1==_0x2818a1[_0x1ffc4d(0x220)][_0x1ffc4d(0x1f2)](_0x1ffc4d(0x249))){_0x1ffc4d(0x242)==_0x2818a1[_0x1ffc4d(0x220)]&&(_0x2818a1[_0x10c7e9]+='\x0a');continue;}let _0x4346c5;if(_0x4346c5=_0x1ffc4d(0x205)==_0x10c7e9?_0x1b9f53[_0x1ffc4d(0x212)]&&!this[_0x1ffc4d(0x22f)][_0x1ffc4d(0x215)](_0x1b9f53[_0x1ffc4d(0x212)])?_0x1b9f53[_0x1ffc4d(0x212)]:null:_0x1b9f53[_0x1ffc4d(0x223)]&&!this[_0x1ffc4d(0x22f)][_0x1ffc4d(0x215)](_0x1b9f53[_0x1ffc4d(0x223)])?_0x1b9f53[_0x1ffc4d(0x223)]:null,_0x1b9f53[_0x1ffc4d(0x247)]||_0x4346c5&&_0x4346c5[_0x1ffc4d(0x247)]){const _0x463f11=_0x4346c5&&_0x4346c5[_0x1ffc4d(0x247)]?_0x4346c5:_0x1b9f53;_0x2818a1&&_0x2818a1[_0x1ffc4d(0x220)]==_0x10c7e9+_0x1ffc4d(0x213)&&_0x2818a1[_0x1ffc4d(0x24c)][_0x1ffc4d(0x20d)]==_0x463f11[_0x1ffc4d(0x20d)]?_0x2818a1[_0x1ffc4d(0x21b)]++:_0x341300[_0x1ffc4d(0x218)]({'type':_0x10c7e9+_0x1ffc4d(0x213),'element':_0x463f11,'quantity':0x1});}else _0x341300[_0x1ffc4d(0x218)]({'type':_0x10c7e9+_0x1ffc4d(0x249),'element':_0x1b9f53});}}}}}[_0x5566e3(0x203)](_0x1adce8){const _0x5cb242=_0x5566e3,_0x212f4c=this[_0x5cb242(0x233)],_0x56d10e=[],_0x516f57=[],_0x5997b3=[];for(const _0x1b265f of _0x1adce8)switch(_0x1b265f[_0x5cb242(0x220)]){case _0x5cb242(0x242):if(_0x1b265f[_0x5cb242(0x205)]=_0x1b265f[_0x5cb242(0x205)][_0x5cb242(0x216)](/(\S)\u000A+(\S)/g,_0x5cb242(0x238))[_0x5cb242(0x216)](/\u000A/g,''),_0x1b265f[_0x5cb242(0x20c)]=_0x1b265f[_0x5cb242(0x20c)][_0x5cb242(0x216)](/(\S)\u000A+(\S)/g,_0x5cb242(0x238))[_0x5cb242(0x216)](/\u000A/g,''),''!=_0x1b265f[_0x5cb242(0x205)]&&''!=_0x1b265f[_0x5cb242(0x20c)]){_0x56d10e[_0x5cb242(0x218)]({'type':_0x5cb242(0x216),'content':_0x3eebef(_0x212f4c,_0x5cb242(0x1ed),['\x22'+_0x1b265f[_0x5cb242(0x20c)]+'\x22','\x22'+_0x1b265f[_0x5cb242(0x205)]+'\x22'])});continue;}if(null!=_0x1b265f[_0x5cb242(0x205)][_0x5cb242(0x23c)](/^ +$/)){_0x56d10e[_0x5cb242(0x218)]({'type':_0x5cb242(0x240),'content':_0x3eebef(_0x212f4c,_0x5cb242(0x210),_0x3eebef(_0x212f4c,_0x5cb242(0x228),_0x1b265f[_0x5cb242(0x205)][_0x5cb242(0x22a)]))});continue;}if(null!=_0x1b265f[_0x5cb242(0x20c)][_0x5cb242(0x23c)](/^ +$/)){_0x56d10e[_0x5cb242(0x218)]({'type':_0x5cb242(0x235),'content':_0x3eebef(_0x212f4c,_0x5cb242(0x202),_0x3eebef(_0x212f4c,_0x5cb242(0x228),_0x1b265f[_0x5cb242(0x20c)][_0x5cb242(0x22a)]))});continue;}if(''!=_0x1b265f[_0x5cb242(0x205)]){_0x56d10e[_0x5cb242(0x218)]({'type':_0x5cb242(0x240),'content':_0x3eebef(_0x212f4c,_0x5cb242(0x210),'\x22'+_0x1b265f[_0x5cb242(0x205)]+'\x22')});continue;}_0x56d10e[_0x5cb242(0x218)]({'type':_0x5cb242(0x235),'content':_0x3eebef(_0x212f4c,_0x5cb242(0x202),'\x22'+_0x1b265f[_0x5cb242(0x20c)]+'\x22')});continue;case _0x5cb242(0x1fa):case _0x5cb242(0x1f3):_0x56d10e[_0x5cb242(0x218)]({'type':_0x5cb242(0x240),'content':_0x3eebef(_0x212f4c,_0x5cb242(0x210),this[_0x5cb242(0x248)](_0x1b265f[_0x5cb242(0x24c)],_0x1b265f[_0x5cb242(0x21b)]))});continue;case _0x5cb242(0x23b):case _0x5cb242(0x21e):_0x56d10e[_0x5cb242(0x218)]({'type':_0x5cb242(0x235),'content':_0x3eebef(_0x212f4c,_0x5cb242(0x202),this[_0x5cb242(0x248)](_0x1b265f[_0x5cb242(0x24c)],_0x1b265f[_0x5cb242(0x21b)]))});continue;case _0x5cb242(0x23f):_0x56d10e[_0x5cb242(0x218)]({'type':_0x5cb242(0x240),'content':_0x3eebef(_0x212f4c,_0x5cb242(0x219),this[_0x5cb242(0x248)](_0x1b265f[_0x5cb242(0x24c)],_0x1b265f[_0x5cb242(0x21b)]))});continue;case _0x5cb242(0x21f):_0x56d10e[_0x5cb242(0x218)]({'type':_0x5cb242(0x235),'content':_0x3eebef(_0x212f4c,_0x5cb242(0x231),this[_0x5cb242(0x248)](_0x1b265f[_0x5cb242(0x24c)],_0x1b265f[_0x5cb242(0x21b)]))});continue;case _0x5cb242(0x21d):_0x516f57[_0x5cb242(0x218)](_0x1b265f[_0x5cb242(0x230)]);continue;case _0x5cb242(0x1f8):_0x5997b3[_0x5cb242(0x218)](_0x1b265f[_0x5cb242(0x230)]);continue;default:_0x56d10e[_0x5cb242(0x218)](_0x1b265f);}if(_0x516f57[_0x5cb242(0x22a)]){const _0x34a5ce=_0x516f57[_0x5cb242(0x1fe)](_0x2a8fa7=>this[_0x5cb242(0x237)][_0x5cb242(0x1ee)](_0x2a8fa7)?this[_0x5cb242(0x237)][_0x5cb242(0x24e)](_0x2a8fa7):_0x2a8fa7)[_0x5cb242(0x1f1)](',\x20');_0x56d10e[_0x5cb242(0x218)]({'type':_0x5cb242(0x239),'content':_0x3eebef(this[_0x5cb242(0x233)],_0x5cb242(0x20b),_0x34a5ce)});}if(_0x5997b3[_0x5cb242(0x22a)]){const _0x3439da=_0x5997b3[_0x5cb242(0x1fe)](_0x394c83=>this[_0x5cb242(0x237)][_0x5cb242(0x1ee)](_0x394c83)?this[_0x5cb242(0x237)][_0x5cb242(0x24e)](_0x394c83):_0x394c83)[_0x5cb242(0x1f1)](',\x20');_0x56d10e[_0x5cb242(0x218)]({'type':_0x5cb242(0x239),'content':_0x3eebef(this[_0x5cb242(0x233)],_0x5cb242(0x1f4),_0x3439da)});}return _0x56d10e;}[_0x5566e3(0x243)](_0x44a21e){const _0xab6819=_0x5566e3;for(const _0x146711 of this[_0xab6819(0x21a)]){const _0x56adf7=_0x146711(_0x44a21e);if(_0x56adf7&&_0xab6819(0x220)in _0x56adf7)return _0x56adf7;}}[_0x5566e3(0x246)](_0x40a17,_0xf91911){const _0x49bb27=_0x5566e3,_0x262c2f=_0xf91911[_0x49bb27(0x20f)],_0x103917=void 0x0===_0x262c2f[_0x49bb27(0x207)]?_0x49bb27(0x1f8):_0x49bb27(0x21d);_0x40a17[_0x49bb27(0x218)]({'type':_0x103917,'key':_0x262c2f[_0x49bb27(0x230)]});}[_0x5566e3(0x23e)](_0x3ff658,_0x520a2e){const _0x176a10=_0x5566e3;_0x3ff658[_0x176a10(0x218)]({'type':_0x176a10(0x239),'content':_0x3eebef(this[_0x176a10(0x233)],_0x176a10(0x221),this[_0x176a10(0x248)](_0x520a2e[_0x176a10(0x204)]()[_0x176a10(0x21c)][_0x176a10(0x234)],0x1))});}[_0x5566e3(0x1f5)](_0x564850,_0xa413b5,_0x546467){const _0x2d805d=_0x5566e3;if(this[_0x2d805d(0x208)](_0x564850,_0xa413b5),_0x546467&&_0x546467[_0x2d805d(0x204)]()&&!_0xa413b5[_0x2d805d(0x204)]()[_0x2d805d(0x211)][_0x2d805d(0x236)](_0x546467[_0x2d805d(0x204)]()[_0x2d805d(0x21c)])){const _0x24e9dc=_0x564850[_0x564850[_0x2d805d(0x22a)]-0x1],_0x1ea379=_0x2d805d(0x240)==_0xa413b5[_0x2d805d(0x220)]?_0x2d805d(0x205):_0x2d805d(0x20c);_0x24e9dc&&_0x2d805d(0x242)==_0x24e9dc[_0x2d805d(0x220)]&&(_0x24e9dc[_0x1ea379]+='\x0a');}}}function _0x377d(){const _0x5a5207=['subType','62766UgIxLm','*Remove:*\x20%0','_resolveDescriptionItems','getFirstRange','add','set','newValue','_addDescriptionItems','2197174JwPIhU','registerElementLabel','*Set\x20format:*\x20%0','remove','name','getDescriptions','data','*Insert:*\x20%0','end','nextSibling','EmptyContainer','matchingCallback','isObject','replace','label','push','*Split:*\x20%0','_customCallbacks','quantity','start','addFormat','removeObject','removeContainer','type','*Change\x20to:*\x20%0','item','previousSibling','checkChild','1197878lTXYyR','685284nhXWnU','getWalker','ELEMENT_SPACE','$text','length','4rqNnLL','normal','_itemLabels','_itemLabelsCallbacks','_schema','key','*Merge:*\x20%0','130WsHMUN','_locale','nodeAfter','deletion','isEqual','_attributeLabels','$1\x20$2','format','isInContent','removeEmptyContainer','match','registerAttributeLabel','_handleRenameSuggestionDescription','addContainer','insertion','2438120XTtiMg','text','_handleCustomCallbackDescription','elementEnd','attribute','_handleAttributeSuggestionDescription','isEmpty','getItemLabel','Container','registerDescriptionCallback','$textProxy','element','24oCFvxS','get','REPLACE_TEXT','has','elementStart','skip','join','indexOf','addObject','*Remove\x20format:*\x20%0','_handleInsertRemoveSuggestionDescription','function','softBreak','removeFormat','271017nGWfBb','addEmptyContainer','8FSYLPy','pop','Object','map','1205495UnCjdp'];_0x377d=function(){return _0x5a5207;};return _0x377d();}
|
|
23
|
+
function _0x4ee2(_0x570d3c,_0x92211a){const _0x1b20f9=_0x1b20();return _0x4ee2=function(_0x4ee2d9,_0x3f7be9){_0x4ee2d9=_0x4ee2d9-0x1f3;let _0x19b01e=_0x1b20f9[_0x4ee2d9];return _0x19b01e;},_0x4ee2(_0x570d3c,_0x92211a);}const _0x1f92e5=_0x4ee2;(function(_0x2801a8,_0x430549){const _0x2045ca=_0x4ee2,_0x11815d=_0x2801a8();while(!![]){try{const _0x5367d2=parseInt(_0x2045ca(0x20f))/0x1*(-parseInt(_0x2045ca(0x24b))/0x2)+-parseInt(_0x2045ca(0x1f4))/0x3+parseInt(_0x2045ca(0x23f))/0x4*(-parseInt(_0x2045ca(0x223))/0x5)+-parseInt(_0x2045ca(0x231))/0x6*(parseInt(_0x2045ca(0x1ff))/0x7)+parseInt(_0x2045ca(0x227))/0x8*(-parseInt(_0x2045ca(0x204))/0x9)+parseInt(_0x2045ca(0x1fd))/0xa+parseInt(_0x2045ca(0x234))/0xb*(parseInt(_0x2045ca(0x205))/0xc);if(_0x5367d2===_0x430549)break;else _0x11815d['push'](_0x11815d['shift']());}catch(_0x4e53c8){_0x11815d['push'](_0x11815d['shift']());}}}(_0x1b20,0xe7aa1));import{getTranslation as _0x1ff5ae}from'./utils/common-translations.js';import{priorities as _0x3efd7a,insertToPriorityArray as _0x572bb0}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x1514bb}from'./trackchangesediting.js';export default class f{constructor(_0xab4622,_0x1fbd41){const _0x58a8c4=_0x4ee2;this[_0x58a8c4(0x23e)]=[],this[_0x58a8c4(0x23c)]=new Map(),this[_0x58a8c4(0x211)]=[],this[_0x58a8c4(0x212)]=new Map(),this[_0x58a8c4(0x254)]=_0xab4622,this[_0x58a8c4(0x1fe)]=_0x1fbd41;}[_0x1f92e5(0x1f8)](_0x13b6ed){const _0x42954b=_0x1f92e5,_0x43b6f0=[],_0x58105a=new Set(),_0x3b308a=new Set();for(let _0x413891=0x0;_0x413891<_0x13b6ed[_0x42954b(0x241)];_0x413891++){const _0x24990d=_0x13b6ed[_0x413891];if(!_0x24990d[_0x42954b(0x229)])continue;const _0x14564d=this[_0x42954b(0x22a)](_0x24990d);if(_0x14564d){if(null!=_0x24990d[_0x42954b(0x222)]){if(_0x58105a[_0x42954b(0x1f5)](_0x24990d[_0x42954b(0x222)]))continue;_0x58105a[_0x42954b(0x240)](_0x24990d[_0x42954b(0x222)]);}_0x43b6f0[_0x42954b(0x1f9)](_0x14564d);}else{if(_0x42954b(0x233)!=_0x24990d[_0x42954b(0x244)])_0x42954b(0x236)!=_0x24990d[_0x42954b(0x244)]&&_0x42954b(0x20c)!=_0x24990d[_0x42954b(0x244)]||this[_0x42954b(0x255)](_0x43b6f0,_0x24990d,_0x13b6ed[_0x413891+0x1]);else{const _0x49405a=_0x24990d[_0x42954b(0x21f)][_0x42954b(0x22f)];if(_0x3b308a[_0x42954b(0x1f5)](_0x49405a))continue;_0x3b308a[_0x42954b(0x240)](_0x24990d[_0x42954b(0x21f)][_0x42954b(0x22f)]),_0x49405a==_0x1514bb?this[_0x42954b(0x213)](_0x43b6f0,_0x24990d):this[_0x42954b(0x20d)](_0x43b6f0,_0x24990d);}}}return this[_0x42954b(0x220)](_0x43b6f0);}[_0x1f92e5(0x242)](_0x2ebfef){const _0x4353f6=_0x1f92e5;this[_0x4353f6(0x23e)][_0x4353f6(0x1f9)](_0x2ebfef);}[_0x1f92e5(0x20e)](_0x1440ee,_0x488eeb,_0x2f938b=_0x3efd7a[_0x1f92e5(0x208)]){const _0x4bd5ec=_0x1f92e5;_0x4bd5ec(0x23d)==typeof _0x1440ee?_0x572bb0(this[_0x4bd5ec(0x211)],{'matchingCallback':_0x1440ee,'label':_0x488eeb,'priority':_0x2f938b}):this[_0x4bd5ec(0x23c)][_0x4bd5ec(0x228)](_0x1440ee,_0x488eeb);}[_0x1f92e5(0x24a)](_0x584229,_0x364e35){const _0xa09ac2=_0x1f92e5;this[_0xa09ac2(0x212)][_0xa09ac2(0x228)](_0x584229,_0x364e35);}[_0x1f92e5(0x206)](_0x458aec,_0x16b0cf=0x1){const _0x3689bc=_0x1f92e5;let _0x56b71f;for(const _0x70a26e of this[_0x3689bc(0x211)])if(_0x70a26e[_0x3689bc(0x232)](_0x458aec)){_0x56b71f=_0x70a26e[_0x3689bc(0x22c)];break;}return _0x56b71f||(_0x56b71f=this[_0x3689bc(0x23c)][_0x3689bc(0x24f)](_0x458aec[_0x3689bc(0x215)])),_0x56b71f?_0x56b71f(_0x16b0cf):0x1!==_0x16b0cf?_0x16b0cf+'\x20'+_0x458aec[_0x3689bc(0x215)]+'s':''+_0x458aec[_0x3689bc(0x215)];}[_0x1f92e5(0x23a)](_0x45073d,_0x3ba455){const _0x2aca3b=_0x1f92e5,_0x56e061=_0x3ba455[_0x2aca3b(0x21e)]()[_0x2aca3b(0x218)](),_0x250a38=_0x2aca3b(0x236)==_0x3ba455[_0x2aca3b(0x244)]?_0x2aca3b(0x240):_0x2aca3b(0x21d);for(const _0x1e16a3 of _0x56e061){const _0x1c270c=_0x1e16a3[_0x2aca3b(0x221)],_0x181eaa=_0x45073d[_0x45073d[_0x2aca3b(0x241)]-0x1];if(_0x1c270c['is'](_0x2aca3b(0x245)))_0x181eaa&&_0x181eaa[_0x2aca3b(0x244)][_0x2aca3b(0x250)](_0x2aca3b(0x21c))>-0x1&&_0x45073d[_0x2aca3b(0x1f3)](),_0x181eaa&&_0x2aca3b(0x224)==_0x181eaa[_0x2aca3b(0x244)]?_0x181eaa[_0x250a38]+=_0x1c270c[_0x2aca3b(0x21f)]:_0x45073d[_0x2aca3b(0x1f9)]({'type':_0x2aca3b(0x224),'add':_0x2aca3b(0x240)==_0x250a38?_0x1c270c[_0x2aca3b(0x21f)]:'','remove':_0x2aca3b(0x21d)==_0x250a38?_0x1c270c[_0x2aca3b(0x21f)]:''});else{if(this[_0x2aca3b(0x254)][_0x2aca3b(0x22d)](_0x1c270c)){const _0x16a38b=_0x1c270c;if(_0x181eaa&&_0x181eaa[_0x2aca3b(0x244)][_0x2aca3b(0x250)](_0x2aca3b(0x21c))>-0x1&&_0x45073d[_0x2aca3b(0x1f3)](),_0x2aca3b(0x24d)==_0x1e16a3[_0x2aca3b(0x244)])continue;_0x181eaa&&_0x181eaa[_0x2aca3b(0x244)]==_0x250a38+_0x2aca3b(0x247)&&_0x181eaa[_0x2aca3b(0x1fb)][_0x2aca3b(0x215)]==_0x16a38b[_0x2aca3b(0x215)]?_0x181eaa[_0x2aca3b(0x24c)]++:_0x45073d[_0x2aca3b(0x1f9)]({'type':_0x250a38+_0x2aca3b(0x247),'element':_0x16a38b,'quantity':0x1}),_0x56e061[_0x2aca3b(0x1fa)](_0x21a474=>!(_0x2aca3b(0x24d)==_0x21a474[_0x2aca3b(0x244)]&&_0x21a474[_0x2aca3b(0x221)]==_0x1c270c));}else{if(this[_0x2aca3b(0x254)][_0x2aca3b(0x23b)](_0x1c270c,_0x2aca3b(0x20a))||_0x1c270c['is'](_0x2aca3b(0x1fb),_0x2aca3b(0x210))){const _0x3f09ef=_0x1c270c;if(_0x2aca3b(0x240)==_0x250a38&&_0x2aca3b(0x201)==_0x1e16a3[_0x2aca3b(0x244)]||_0x2aca3b(0x21d)==_0x250a38&&_0x2aca3b(0x24d)==_0x1e16a3[_0x2aca3b(0x244)])continue;if(_0x181eaa&&-0x1==_0x181eaa[_0x2aca3b(0x244)][_0x2aca3b(0x250)](_0x2aca3b(0x21c))){_0x2aca3b(0x224)==_0x181eaa[_0x2aca3b(0x244)]&&(_0x181eaa[_0x250a38]+='\x0a');continue;}let _0x18878e;if(_0x18878e=_0x2aca3b(0x240)==_0x250a38?_0x3f09ef[_0x2aca3b(0x22b)]&&!this[_0x2aca3b(0x254)][_0x2aca3b(0x22d)](_0x3f09ef[_0x2aca3b(0x22b)])?_0x3f09ef[_0x2aca3b(0x22b)]:null:_0x3f09ef[_0x2aca3b(0x207)]&&!this[_0x2aca3b(0x254)][_0x2aca3b(0x22d)](_0x3f09ef[_0x2aca3b(0x207)])?_0x3f09ef[_0x2aca3b(0x207)]:null,_0x3f09ef[_0x2aca3b(0x246)]||_0x18878e&&_0x18878e[_0x2aca3b(0x246)]){const _0x2d8e0a=_0x18878e&&_0x18878e[_0x2aca3b(0x246)]?_0x18878e:_0x3f09ef;_0x181eaa&&_0x181eaa[_0x2aca3b(0x244)]==_0x250a38+_0x2aca3b(0x202)&&_0x181eaa[_0x2aca3b(0x1fb)][_0x2aca3b(0x215)]==_0x2d8e0a[_0x2aca3b(0x215)]?_0x181eaa[_0x2aca3b(0x24c)]++:_0x45073d[_0x2aca3b(0x1f9)]({'type':_0x250a38+_0x2aca3b(0x202),'element':_0x2d8e0a,'quantity':0x1});}else _0x45073d[_0x2aca3b(0x1f9)]({'type':_0x250a38+_0x2aca3b(0x21c),'element':_0x3f09ef});}}}}}[_0x1f92e5(0x220)](_0x27df39){const _0x24ced5=_0x1f92e5,_0x270ce4=this[_0x24ced5(0x1fe)],_0x301957=[],_0xb70eb=[],_0x2f6ae2=[];for(const _0x1b1084 of _0x27df39)switch(_0x1b1084[_0x24ced5(0x244)]){case _0x24ced5(0x224):if(_0x1b1084[_0x24ced5(0x240)]=_0x1b1084[_0x24ced5(0x240)][_0x24ced5(0x200)](/(\S)\u000A+(\S)/g,_0x24ced5(0x239))[_0x24ced5(0x200)](/\u000A/g,''),_0x1b1084[_0x24ced5(0x21d)]=_0x1b1084[_0x24ced5(0x21d)][_0x24ced5(0x200)](/(\S)\u000A+(\S)/g,_0x24ced5(0x239))[_0x24ced5(0x200)](/\u000A/g,''),''!=_0x1b1084[_0x24ced5(0x240)]&&''!=_0x1b1084[_0x24ced5(0x21d)]){_0x301957[_0x24ced5(0x1f9)]({'type':_0x24ced5(0x200),'content':_0x1ff5ae(_0x270ce4,_0x24ced5(0x235),['\x22'+_0x1b1084[_0x24ced5(0x21d)]+'\x22','\x22'+_0x1b1084[_0x24ced5(0x240)]+'\x22'])});continue;}if(null!=_0x1b1084[_0x24ced5(0x240)][_0x24ced5(0x226)](/^ +$/)){_0x301957[_0x24ced5(0x1f9)]({'type':_0x24ced5(0x236),'content':_0x1ff5ae(_0x270ce4,_0x24ced5(0x203),_0x1ff5ae(_0x270ce4,_0x24ced5(0x248),_0x1b1084[_0x24ced5(0x240)][_0x24ced5(0x241)]))});continue;}if(null!=_0x1b1084[_0x24ced5(0x21d)][_0x24ced5(0x226)](/^ +$/)){_0x301957[_0x24ced5(0x1f9)]({'type':_0x24ced5(0x20c),'content':_0x1ff5ae(_0x270ce4,_0x24ced5(0x1fc),_0x1ff5ae(_0x270ce4,_0x24ced5(0x248),_0x1b1084[_0x24ced5(0x21d)][_0x24ced5(0x241)]))});continue;}if(''!=_0x1b1084[_0x24ced5(0x240)]){_0x301957[_0x24ced5(0x1f9)]({'type':_0x24ced5(0x236),'content':_0x1ff5ae(_0x270ce4,_0x24ced5(0x203),'\x22'+_0x1b1084[_0x24ced5(0x240)]+'\x22')});continue;}_0x301957[_0x24ced5(0x1f9)]({'type':_0x24ced5(0x20c),'content':_0x1ff5ae(_0x270ce4,_0x24ced5(0x1fc),'\x22'+_0x1b1084[_0x24ced5(0x21d)]+'\x22')});continue;case _0x24ced5(0x24e):case _0x24ced5(0x225):_0x301957[_0x24ced5(0x1f9)]({'type':_0x24ced5(0x236),'content':_0x1ff5ae(_0x270ce4,_0x24ced5(0x203),this[_0x24ced5(0x206)](_0x1b1084[_0x24ced5(0x1fb)],_0x1b1084[_0x24ced5(0x24c)]))});continue;case _0x24ced5(0x219):case _0x24ced5(0x237):_0x301957[_0x24ced5(0x1f9)]({'type':_0x24ced5(0x20c),'content':_0x1ff5ae(_0x270ce4,_0x24ced5(0x1fc),this[_0x24ced5(0x206)](_0x1b1084[_0x24ced5(0x1fb)],_0x1b1084[_0x24ced5(0x24c)]))});continue;case _0x24ced5(0x230):_0x301957[_0x24ced5(0x1f9)]({'type':_0x24ced5(0x236),'content':_0x1ff5ae(_0x270ce4,_0x24ced5(0x253),this[_0x24ced5(0x206)](_0x1b1084[_0x24ced5(0x1fb)],_0x1b1084[_0x24ced5(0x24c)]))});continue;case _0x24ced5(0x21b):_0x301957[_0x24ced5(0x1f9)]({'type':_0x24ced5(0x20c),'content':_0x1ff5ae(_0x270ce4,_0x24ced5(0x20b),this[_0x24ced5(0x206)](_0x1b1084[_0x24ced5(0x1fb)],_0x1b1084[_0x24ced5(0x24c)]))});continue;case _0x24ced5(0x214):_0xb70eb[_0x24ced5(0x1f9)](_0x1b1084[_0x24ced5(0x22f)]);continue;case _0x24ced5(0x21a):_0x2f6ae2[_0x24ced5(0x1f9)](_0x1b1084[_0x24ced5(0x22f)]);continue;default:_0x301957[_0x24ced5(0x1f9)](_0x1b1084);}if(_0xb70eb[_0x24ced5(0x241)]){const _0x22562c=_0xb70eb[_0x24ced5(0x251)](_0x2faa02=>this[_0x24ced5(0x212)][_0x24ced5(0x1f5)](_0x2faa02)?this[_0x24ced5(0x212)][_0x24ced5(0x24f)](_0x2faa02):_0x2faa02)[_0x24ced5(0x209)](',\x20');_0x301957[_0x24ced5(0x1f9)]({'type':_0x24ced5(0x217),'content':_0x1ff5ae(this[_0x24ced5(0x1fe)],_0x24ced5(0x1f7),_0x22562c)});}if(_0x2f6ae2[_0x24ced5(0x241)]){const _0x419c2b=_0x2f6ae2[_0x24ced5(0x251)](_0x1367e6=>this[_0x24ced5(0x212)][_0x24ced5(0x1f5)](_0x1367e6)?this[_0x24ced5(0x212)][_0x24ced5(0x24f)](_0x1367e6):_0x1367e6)[_0x24ced5(0x209)](',\x20');_0x301957[_0x24ced5(0x1f9)]({'type':_0x24ced5(0x217),'content':_0x1ff5ae(this[_0x24ced5(0x1fe)],_0x24ced5(0x252),_0x419c2b)});}return _0x301957;}[_0x1f92e5(0x22a)](_0x432f45){const _0x59a782=_0x1f92e5;for(const _0x454a17 of this[_0x59a782(0x23e)]){const _0x511778=_0x454a17(_0x432f45);if(_0x511778&&_0x59a782(0x244)in _0x511778)return _0x511778;}}[_0x1f92e5(0x20d)](_0x4b23f3,_0x3bc5d1){const _0x5f2744=_0x1f92e5,_0x5b9a35=_0x3bc5d1[_0x5f2744(0x21f)],_0x554e28=void 0x0===_0x5b9a35[_0x5f2744(0x216)]?_0x5f2744(0x21a):_0x5f2744(0x214);_0x4b23f3[_0x5f2744(0x1f9)]({'type':_0x554e28,'key':_0x5b9a35[_0x5f2744(0x22f)]});}[_0x1f92e5(0x213)](_0x1f5337,_0x42b754){const _0x647c2a=_0x1f92e5;_0x1f5337[_0x647c2a(0x1f9)]({'type':_0x647c2a(0x217),'content':_0x1ff5ae(this[_0x647c2a(0x1fe)],_0x647c2a(0x22e),this[_0x647c2a(0x206)](_0x42b754[_0x647c2a(0x21e)]()[_0x647c2a(0x249)][_0x647c2a(0x243)],0x1))});}[_0x1f92e5(0x255)](_0x483697,_0x201ea9,_0x43510b){const _0x2c1965=_0x1f92e5;if(this[_0x2c1965(0x23a)](_0x483697,_0x201ea9),_0x43510b&&_0x43510b[_0x2c1965(0x21e)]()&&!_0x201ea9[_0x2c1965(0x21e)]()[_0x2c1965(0x238)][_0x2c1965(0x1f6)](_0x43510b[_0x2c1965(0x21e)]()[_0x2c1965(0x249)])){const _0x1dc1f4=_0x483697[_0x483697[_0x2c1965(0x241)]-0x1],_0x4b7ece=_0x2c1965(0x236)==_0x201ea9[_0x2c1965(0x244)]?_0x2c1965(0x240):_0x2c1965(0x21d);_0x1dc1f4&&_0x2c1965(0x224)==_0x1dc1f4[_0x2c1965(0x244)]&&(_0x1dc1f4[_0x4b7ece]+='\x0a');}}}function _0x1b20(){const _0x12e092=['has','isEqual','*Set\x20format:*\x20%0','getDescriptions','push','skip','element','*Remove:*\x20%0','17071120EVrkev','_locale','252jEbgTW','replace','elementStart','EmptyContainer','*Insert:*\x20%0','3077586CJdEFx','120WMWOHn','getItemLabel','previousSibling','normal','join','$text','*Merge:*\x20%0','deletion','_handleAttributeSuggestionDescription','registerElementLabel','2230wiFSDI','softBreak','_itemLabelsCallbacks','_attributeLabels','_handleRenameSuggestionDescription','addFormat','name','newValue','format','getWalker','removeEmptyContainer','removeFormat','removeContainer','Container','remove','getFirstRange','data','_resolveDescriptionItems','item','subType','10ByqiaQ','text','addObject','match','16uZtRWJ','set','isInContent','_handleCustomCallbackDescription','nextSibling','label','isObject','*Change\x20to:*\x20%0','key','addContainer','81432nQkgkv','matchingCallback','attribute','4088524PUKytw','REPLACE_TEXT','insertion','removeObject','end','$1\x20$2','_addDescriptionItems','checkChild','_itemLabels','function','_customCallbacks','2841016kZBWbj','add','length','registerDescriptionCallback','nodeAfter','type','$textProxy','isEmpty','Object','ELEMENT_SPACE','start','registerAttributeLabel','890CxvTwv','quantity','elementEnd','addEmptyContainer','get','indexOf','map','*Remove\x20format:*\x20%0','*Split:*\x20%0','_schema','_handleInsertRemoveSuggestionDescription','pop','2669091iHrJns'];_0x1b20=function(){return _0x12e092;};return _0x1b20();}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3ef388=_0x5ca0;function _0x1e4c(){var _0x3e314f=['get','108802qYhgKq','20DceMHV','getSuggestion','requires','pluginName','6911205XPyjXU','9PiCIQL','11hvRYJz','1880241gJfccP','1089880dctMOU','addSuggestion','TrackChanges','adapter','7765824NDRpDR','editor','plugins','7570608QkUyPc','5203110ECQhmZ','9aaHuiK','addSuggestionData','getSuggestions','Comments'];_0x1e4c=function(){return _0x3e314f;};return _0x1e4c();}(function(_0x399216,_0x490e7d){var _0x237296=_0x5ca0,_0x25ea36=_0x399216();while(!![]){try{var _0x38ba9b=parseInt(_0x237296(0x1f7))/0x1*(parseInt(_0x237296(0x1f1))/0x2)+-parseInt(_0x237296(0x1f9))/0x3+parseInt(_0x237296(0x1fa))/0x4*(parseInt(_0x237296(0x1f2))/0x5)+parseInt(_0x237296(0x1fe))/0x6+-parseInt(_0x237296(0x1f6))/0x7+-parseInt(_0x237296(0x201))/0x8*(parseInt(_0x237296(0x203))/0x9)+-parseInt(_0x237296(0x202))/0xa*(-parseInt(_0x237296(0x1f8))/0xb);if(_0x38ba9b===_0x490e7d)break;else _0x25ea36['push'](_0x25ea36['shift']());}catch(_0x1979d1){_0x25ea36['push'](_0x25ea36['shift']());}}}(_0x1e4c,0xcb8b4));import{Plugin as _0x828a1c}from'ckeditor5/src/core.js';import _0x4997df from'./trackchangesui.js';import _0x2252ba from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';function _0x5ca0(_0x5f4f94,_0x542f5a){var _0x1e4caf=_0x1e4c();return _0x5ca0=function(_0x5ca060,_0x5b3bd4){_0x5ca060=_0x5ca060-0x1ee;var _0x276632=_0x1e4caf[_0x5ca060];return _0x276632;},_0x5ca0(_0x5f4f94,_0x542f5a);}export default class k extends _0x828a1c{static get[_0x3ef388(0x1f4)](){var _0x2865f9=_0x3ef388;return[_0x2252ba,_0x4997df,_0x2865f9(0x1ef)];}static get[_0x3ef388(0x1f5)](){var _0x251a04=_0x3ef388;return _0x251a04(0x1fc);}set[_0x3ef388(0x1fd)](_0x4517ae){var _0x36f8e6=_0x3ef388;this[_0x36f8e6(0x1ff)][_0x36f8e6(0x200)][_0x36f8e6(0x1f0)](_0x2252ba)[_0x36f8e6(0x1fd)]=_0x4517ae;}get[_0x3ef388(0x1fd)](){var _0xa07b20=_0x3ef388;return this[_0xa07b20(0x1ff)][_0xa07b20(0x200)][_0xa07b20(0x1f0)](_0x2252ba)[_0xa07b20(0x1fd)];}[_0x3ef388(0x1fb)](_0x341921){var _0x3ece16=_0x3ef388;return this[_0x3ece16(0x1ff)][_0x3ece16(0x200)][_0x3ece16(0x1f0)](_0x2252ba)[_0x3ece16(0x204)](_0x341921);}[_0x3ef388(0x1ee)]({skipNotAttached:_0x3bbbe1=!0x1,toJSON:_0x57887e=!0x1}={}){var _0x47627c=_0x3ef388;return this[_0x47627c(0x1ff)][_0x47627c(0x200)][_0x47627c(0x1f0)](_0x2252ba)[_0x47627c(0x1ee)]({'skipNotAttached':_0x3bbbe1,'toJSON':_0x57887e});}[_0x3ef388(0x1f3)](_0x4da867){var _0xe4ab4f=_0x3ef388;return this[_0xe4ab4f(0x1ff)][_0xe4ab4f(0x200)][_0xe4ab4f(0x1f0)](_0x2252ba)[_0xe4ab4f(0x1f3)](_0x4da867);}}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4bbcc9=_0x1aa3;function _0x3f8c(){const _0x58751a=['getDataWithDiscardedSuggestions','Pagination','plugins','execute','requires','appendChild','map','useAnonymousUser','55hnjlZS','2734167cgPATO','TrackChangesDataGetter','push','pluginName','discardAllSuggestions','928160vejtmW','create','set','constructor','36MEQuFE','5187320uppoDJ','trackChangesData.editorCreator','createDocumentFragment','div','CommentsRepository','getFullData','acceptAllSuggestions','editorCreator','rootsAttributes','getCommentThreads','Users','addCommentThread','_adapter','TrackChangesEditing','35PDcpTt','editor','TrackChangesData','188KBpHFY','addUser','getDataWithAcceptedSuggestions','name','5774087ZODekS','818778eJdfwz','function','addSuggestionData','config','get','users','getRootsAttributes','getSuggestions','end','document','1440fLSLRz','reduce','track-changes-data-invalid-editor-creator','55015MKOWUp','getRootNames','result','getUser','createElement','init','trackChangesData','define','model','data','destroy'];_0x3f8c=function(){return _0x58751a;};return _0x3f8c();}(function(_0x3e37de,_0x4cb03f){const _0x577f1e=_0x1aa3,_0x2fa89e=_0x3e37de();while(!![]){try{const _0x20871b=-parseInt(_0x577f1e(0x157))/0x1*(-parseInt(_0x577f1e(0x141))/0x2)+parseInt(_0x577f1e(0x158))/0x3+parseInt(_0x577f1e(0x173))/0x4*(parseInt(_0x577f1e(0x144))/0x5)+-parseInt(_0x577f1e(0x178))/0x6*(parseInt(_0x577f1e(0x170))/0x7)+parseInt(_0x577f1e(0x162))/0x8+-parseInt(_0x577f1e(0x161))/0x9*(parseInt(_0x577f1e(0x15d))/0xa)+-parseInt(_0x577f1e(0x177))/0xb;if(_0x20871b===_0x4cb03f)break;else _0x2fa89e['push'](_0x2fa89e['shift']());}catch(_0x39ba31){_0x2fa89e['push'](_0x2fa89e['shift']());}}}(_0x3f8c,0x835c1));import{Plugin as _0x183de4}from'ckeditor5/src/core.js';import{CKEditorError as _0x51d231}from'ckeditor5/src/utils.js';import _0x245e72 from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x2609bf}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x4bbcc9(0x150)];export default class P extends _0x183de4{static get[_0x4bbcc9(0x153)](){return[_0x245e72];}static get[_0x4bbcc9(0x15b)](){const _0x44e129=_0x4bbcc9;return _0x44e129(0x172);}[_0x4bbcc9(0x149)](){const _0x285332=_0x4bbcc9,_0x1eb32e=this[_0x285332(0x171)];if(_0x1eb32e[_0x285332(0x13a)][_0x285332(0x14b)](_0x285332(0x163),_0x21ee40=>{const _0x2b31b7=_0x285332,_0x405513=_0x1eb32e[_0x2b31b7(0x14c)][_0x2b31b7(0x140)][_0x2b31b7(0x145)]()[_0x2b31b7(0x142)]((_0x2d336c,_0xcfb382)=>(_0x2d336c[_0xcfb382]='',_0x2d336c),{});return _0x1eb32e[_0x2b31b7(0x160)][_0x2b31b7(0x15e)](_0x405513,_0x21ee40);}),_0x285332(0x179)!=typeof _0x1eb32e[_0x285332(0x13a)][_0x285332(0x13b)](_0x285332(0x14a))[_0x285332(0x169)])throw new _0x51d231(_0x285332(0x143));}[_0x4bbcc9(0x175)](_0xc91b54){const _0x40c346=_0x4bbcc9;return N(this[_0x40c346(0x171)],!0x0,_0xc91b54);}[_0x4bbcc9(0x14f)](_0x112624){const _0x4ea304=_0x4bbcc9;return N(this[_0x4ea304(0x171)],!0x1,_0x112624);}}function _0x1aa3(_0x2bebe8,_0x3be95d){const _0x3f8c31=_0x3f8c();return _0x1aa3=function(_0x1aa368,_0x309810){_0x1aa368=_0x1aa368-0x13a;let _0x2a6cc9=_0x3f8c31[_0x1aa368];return _0x2a6cc9;},_0x1aa3(_0x2bebe8,_0x3be95d);}class D extends _0x183de4{static get[_0x4bbcc9(0x15b)](){const _0x21218c=_0x4bbcc9;return _0x21218c(0x159);}constructor(_0x1f0ac6){const _0x169b2a=_0x4bbcc9;super(_0x1f0ac6),this[_0x169b2a(0x146)]=_0x169b2a(0x13f);}[_0x4bbcc9(0x149)](){const _0x386043=_0x4bbcc9;this[_0x386043(0x171)][_0x386043(0x151)][_0x386043(0x13b)](_0x386043(0x166))[_0x386043(0x16e)]={'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[_0x386043(0x171)][_0x386043(0x151)][_0x386043(0x13b)](_0x386043(0x16f))[_0x386043(0x16e)]=null;}}function v(_0x52314e){const _0x5485ae=_0x4bbcc9;return void 0x0!==_0x52314e[_0x5485ae(0x13d)];}async function N(_0x4e987c,_0x2d4192,_0x12b6cd){const _0x23bfe=_0x4bbcc9,_0x58844d=_0x2609bf(_0x4e987c,T);_0x58844d[_0x23bfe(0x151)][_0x23bfe(0x15a)](_0x245e72,D),_0x58844d[_0x23bfe(0x16a)]=v(_0x4e987c)?_0x4e987c[_0x23bfe(0x13d)]():void 0x0;const _0x51deb0=document[_0x23bfe(0x164)](),_0x4282d5=_0x4e987c[_0x23bfe(0x13a)][_0x23bfe(0x13b)](_0x23bfe(0x14a))[_0x23bfe(0x169)],_0x3348cb=await _0x4282d5(_0x58844d,()=>function(_0x238e03){const _0x34c6de=_0x23bfe,_0x47c7b2=document[_0x34c6de(0x148)](_0x34c6de(0x165));return _0x238e03[_0x34c6de(0x154)](_0x47c7b2),_0x47c7b2;}(_0x51deb0));!function(_0x5c6e72,_0x2197f9){const _0x33c3f7=_0x23bfe,_0x19029c=_0x5c6e72[_0x33c3f7(0x14c)][_0x33c3f7(0x140)][_0x33c3f7(0x145)]()[_0x33c3f7(0x142)]((_0x15bd6f,_0x26f303)=>(_0x15bd6f[_0x26f303]=_0x5c6e72[_0x33c3f7(0x14d)][_0x33c3f7(0x13b)]({'rootName':_0x26f303}),_0x15bd6f),{}),_0x4918b7=_0x5c6e72[_0x33c3f7(0x151)][_0x33c3f7(0x13b)](_0x33c3f7(0x16c))[_0x33c3f7(0x13c)][_0x33c3f7(0x155)](_0x3ee7bb=>({'id':_0x3ee7bb['id'],'name':_0x3ee7bb[_0x33c3f7(0x176)]})),_0x2541ee=_0x5c6e72[_0x33c3f7(0x151)][_0x33c3f7(0x13b)](_0x33c3f7(0x16f))[_0x33c3f7(0x13e)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x459b0c=_0x5c6e72[_0x33c3f7(0x151)][_0x33c3f7(0x13b)](_0x33c3f7(0x166))[_0x33c3f7(0x16b)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x457fb0=_0x2197f9[_0x33c3f7(0x151)][_0x33c3f7(0x13b)](_0x33c3f7(0x16c)),_0xcd806=_0x2197f9[_0x33c3f7(0x151)][_0x33c3f7(0x13b)](_0x33c3f7(0x16f)),_0x46452a=_0x2197f9[_0x33c3f7(0x151)][_0x33c3f7(0x13b)](_0x33c3f7(0x166));for(const _0x16d8b3 of _0x4918b7)_0x457fb0[_0x33c3f7(0x147)](_0x16d8b3['id'])||_0x457fb0[_0x33c3f7(0x174)](_0x16d8b3);_0x457fb0['me']||_0x457fb0[_0x33c3f7(0x156)]();for(const _0x19733d of _0x459b0c)_0x46452a[_0x33c3f7(0x16d)](_0x19733d);for(const _0x419a91 of _0x2541ee)_0xcd806[_0x33c3f7(0x17a)](_0x419a91);_0x2197f9[_0x33c3f7(0x14d)][_0x33c3f7(0x15f)](_0x19029c);}(_0x4e987c,_0x3348cb),_0x3348cb[_0x23bfe(0x152)](_0x2d4192?_0x23bfe(0x168):_0x23bfe(0x15c));const _0x5081f5=v(_0x3348cb)?_0x3348cb[_0x23bfe(0x167)](_0x12b6cd):_0x3348cb[_0x23bfe(0x14d)][_0x23bfe(0x13b)](_0x12b6cd);return await _0x3348cb[_0x23bfe(0x14e)](),_0x5081f5;}
|