@ckeditor/ckeditor5-track-changes 35.3.1 → 35.3.2

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.
Files changed (101) hide show
  1. package/build/track-changes.js +1 -2
  2. package/package.json +4 -4
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/entercommand.js +1 -1
  17. package/src/integrations/font.js +1 -1
  18. package/src/integrations/heading.js +1 -1
  19. package/src/integrations/highlight.js +1 -1
  20. package/src/integrations/horizontalline.js +1 -1
  21. package/src/integrations/htmlembed.js +1 -1
  22. package/src/integrations/image.js +1 -1
  23. package/src/integrations/importword.js +1 -1
  24. package/src/integrations/indent.js +1 -1
  25. package/src/integrations/inputcommand.js +1 -1
  26. package/src/integrations/link.js +1 -1
  27. package/src/integrations/list.js +1 -1
  28. package/src/integrations/mediaembed.js +1 -1
  29. package/src/integrations/mention.js +1 -1
  30. package/src/integrations/pagebreak.js +1 -1
  31. package/src/integrations/paragraph.js +1 -1
  32. package/src/integrations/removeformat.js +1 -1
  33. package/src/integrations/restrictededitingmode.js +1 -1
  34. package/src/integrations/shiftentercommand.js +1 -1
  35. package/src/integrations/standardeditingmode.js +1 -1
  36. package/src/integrations/style.js +1 -1
  37. package/src/integrations/table.js +1 -1
  38. package/src/integrations/tablecaption.js +1 -1
  39. package/src/integrations/tableclipboard.js +1 -1
  40. package/src/integrations/tableheadings.js +1 -1
  41. package/src/integrations/tablemergesplit.js +1 -1
  42. package/src/integrations/title.js +1 -1
  43. package/src/integrations/undo.js +1 -1
  44. package/src/integrations/utils.js +1 -1
  45. package/src/suggestion.js +1 -1
  46. package/src/suggestiondescriptionfactory.js +1 -1
  47. package/src/trackchanges.js +1 -1
  48. package/src/trackchangesdata.js +1 -1
  49. package/src/trackchangesediting.js +1 -1
  50. package/src/trackchangesui.js +1 -1
  51. package/src/ui/suggestioncontroller.js +1 -1
  52. package/src/ui/view/basesuggestionthreadview.js +1 -1
  53. package/src/ui/view/suggestionthreadview.js +1 -1
  54. package/src/utils/common-translations.js +1 -1
  55. package/src/utils/utils.js +1 -1
  56. package/build/translations/ar.js +0 -1
  57. package/build/translations/az.js +0 -1
  58. package/build/translations/bg.js +0 -1
  59. package/build/translations/bn.js +0 -1
  60. package/build/translations/ca.js +0 -1
  61. package/build/translations/cs.js +0 -1
  62. package/build/translations/da.js +0 -1
  63. package/build/translations/de.js +0 -1
  64. package/build/translations/el.js +0 -1
  65. package/build/translations/en-au.js +0 -1
  66. package/build/translations/es.js +0 -1
  67. package/build/translations/et.js +0 -1
  68. package/build/translations/fi.js +0 -1
  69. package/build/translations/fr.js +0 -1
  70. package/build/translations/gl.js +0 -1
  71. package/build/translations/he.js +0 -1
  72. package/build/translations/hi.js +0 -1
  73. package/build/translations/hr.js +0 -1
  74. package/build/translations/hu.js +0 -1
  75. package/build/translations/id.js +0 -1
  76. package/build/translations/it.js +0 -1
  77. package/build/translations/ja.js +0 -1
  78. package/build/translations/ko.js +0 -1
  79. package/build/translations/lt.js +0 -1
  80. package/build/translations/lv.js +0 -1
  81. package/build/translations/ms.js +0 -1
  82. package/build/translations/nl.js +0 -1
  83. package/build/translations/no.js +0 -1
  84. package/build/translations/pl.js +0 -1
  85. package/build/translations/pt-br.js +0 -1
  86. package/build/translations/pt.js +0 -1
  87. package/build/translations/ro.js +0 -1
  88. package/build/translations/ru.js +0 -1
  89. package/build/translations/sk.js +0 -1
  90. package/build/translations/sr-latn.js +0 -1
  91. package/build/translations/sr.js +0 -1
  92. package/build/translations/sv.js +0 -1
  93. package/build/translations/th.js +0 -1
  94. package/build/translations/tk.js +0 -1
  95. package/build/translations/tr.js +0 -1
  96. package/build/translations/tt.js +0 -1
  97. package/build/translations/uk.js +0 -1
  98. package/build/translations/ur.js +0 -1
  99. package/build/translations/vi.js +0 -1
  100. package/build/translations/zh-cn.js +0 -1
  101. package/build/translations/zh.js +0 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13a0=['markerRange','createUIElement','getWalker','isContent','element','TrackChangesEditing','hasAttribute','elementEnd','getItems','start','get','getAttribute','markerName','previousPosition','createRangeOn','name','isLimit','bindElementToMarker','type','activeMarkers','ck-suggestion-marker-','nextSibling','listIndent','test','listItem','writer','plugins','addHighlight','parent','push','item','ck-suggestion-marker--active','mapper','schema','span'];(function(_0x2afbea,_0x13a0ab){const _0x5cb988=function(_0x5ad923){while(--_0x5ad923){_0x2afbea['push'](_0x2afbea['shift']());}};_0x5cb988(++_0x13a0ab);}(_0x13a0,0x118));const _0x5cb9=function(_0x2afbea,_0x13a0ab){_0x2afbea=_0x2afbea-0x0;let _0x5cb988=_0x13a0[_0x2afbea];return _0x5cb988;};export function getRangesWithAttribute(_0x34114a,_0xe006,_0xe31cc1){const _0x22078b=[];for(const _0x129a5e of _0xe006[_0x5cb9('0x8')]())_0x129a5e[_0x5cb9('0x6')](_0x34114a)&&_0x22078b[_0x5cb9('0x1d')](_0xe31cc1[_0x5cb9('0xe')](_0x129a5e));return _0x22078b;}export function getElementsAffectedByListItemRename(_0x4224b3){const _0x13adf5=[];if(_0x4224b3['is']('element',_0x5cb9('0x18'))){let _0x3e0364=_0x4224b3[_0x5cb9('0x15')];for(;_0x3e0364&&_0x3e0364['is'](_0x5cb9('0x4'),'listItem')&&_0x3e0364[_0x5cb9('0xb')](_0x5cb9('0x16'))>0x0;)_0x13adf5['push'](_0x3e0364),_0x3e0364=_0x3e0364[_0x5cb9('0x15')];}return _0x13adf5;}export function downcastSplitMergeMarker(_0x3a680a,_0xc82ef0,{showActiveMarker:_0xe0baa1=!0x0}={}){const _0x3bb192=_0x3a680a[_0x5cb9('0x1a')][_0x5cb9('0xa')](_0x5cb9('0x5'));return(_0xf4d68b,_0x5f2362,_0x77cae3)=>{if(!_0x77cae3['consumable'][_0x5cb9('0x17')](_0x5f2362[_0x5cb9('0x0')],_0xf4d68b[_0x5cb9('0xf')]))return;const _0x253430=_0x5f2362[_0x5cb9('0x0')][_0x5cb9('0x2')](),_0x3a6f6f=_0x5f2362['markerRange'][_0x5cb9('0x9')],_0x1c734e=_0x3a680a['model'][_0x5cb9('0x21')];let _0x1f7da1=null,_0x394592=null,_0x115b5e=!0x1,_0x59fb5b=!0x1;for(const _0x5731d6 of _0x253430){const _0x1d0d8c=_0x5731d6[_0x5cb9('0x1e')];_0x115b5e=_0x115b5e||_0x1c734e[_0x5cb9('0x3')](_0x1d0d8c);const _0x24fea4=_0x77cae3[_0x5cb9('0x20')]['toViewElement'](_0x1d0d8c);if(_0x24fea4&&_0x24fea4['getCustomProperty'](_0x5cb9('0x1b')))return;_0x5cb9('0x7')==_0x5731d6[_0x5cb9('0x12')]&&(_0x1c734e['isBlock'](_0x1d0d8c)&&!_0x1c734e[_0x5cb9('0x10')](_0x1d0d8c)&&(_0x1d0d8c[_0x5cb9('0x15')]||_0x3a6f6f['isAtEnd']?_0x1f7da1&&_0x1f7da1[_0x5cb9('0x1c')]==_0x1d0d8c||(_0x1f7da1=_0x1d0d8c,_0x1ca8cf(_0x5731d6[_0x5cb9('0xd')]),_0x59fb5b=!0x0):_0x394592=_0x394592||_0x5731d6[_0x5cb9('0xd')]));}function _0x1ca8cf(_0x485ea0){const _0x3196e7=_0x77cae3['writer'][_0x5cb9('0x1')](_0x5cb9('0x22'),{'class':_0x5cb9('0x14')+_0xc82ef0}),_0x580e58=_0x77cae3[_0x5cb9('0x20')]['toViewPosition'](_0x485ea0);_0xe0baa1&&_0x3bb192[_0x5cb9('0x13')]['includes'](_0x5f2362[_0x5cb9('0xc')])&&_0x77cae3[_0x5cb9('0x19')]['addClass'](_0x5cb9('0x1f'),_0x3196e7),_0x77cae3['writer']['insert'](_0x580e58,_0x3196e7),_0x77cae3[_0x5cb9('0x20')][_0x5cb9('0x11')](_0x3196e7,_0x5f2362[_0x5cb9('0xc')]);}_0x115b5e||_0x59fb5b||!_0x394592||_0x1ca8cf(_0x394592);};}
23
+ const _0x5310=['markerRange','markerName','push','model','getCustomProperty','listItem','ck-suggestion-marker--active','plugins','test','listIndent','insert','addClass','consumable','span','hasAttribute','element','getWalker','bindElementToMarker','activeMarkers','getItems','createRangeOn','getAttribute','isBlock','item','isAtEnd','parent','type','includes','previousPosition','nextSibling','isLimit','get','createUIElement','writer','elementEnd','mapper'];(function(_0x4afd16,_0x531052){const _0x5778a9=function(_0x55a72e){while(--_0x55a72e){_0x4afd16['push'](_0x4afd16['shift']());}};_0x5778a9(++_0x531052);}(_0x5310,0x19f));const _0x5778=function(_0x4afd16,_0x531052){_0x4afd16=_0x4afd16-0x0;let _0x5778a9=_0x5310[_0x4afd16];return _0x5778a9;};export function getRangesWithAttribute(_0xd96e99,_0x2a7c55,_0x496964){const _0x4225ba=[];for(const _0x479214 of _0x2a7c55[_0x5778('0x0')]())_0x479214[_0x5778('0x1f')](_0xd96e99)&&_0x4225ba[_0x5778('0x13')](_0x496964[_0x5778('0x1')](_0x479214));return _0x4225ba;}export function getElementsAffectedByListItemRename(_0x497bde){const _0x587a7d=[];if(_0x497bde['is'](_0x5778('0x20'),_0x5778('0x16'))){let _0x282b6b=_0x497bde['nextSibling'];for(;_0x282b6b&&_0x282b6b['is'](_0x5778('0x20'),_0x5778('0x16'))&&_0x282b6b[_0x5778('0x2')](_0x5778('0x1a'))>0x0;)_0x587a7d['push'](_0x282b6b),_0x282b6b=_0x282b6b[_0x5778('0xa')];}return _0x587a7d;}export function downcastSplitMergeMarker(_0x2ce541,_0x41aa4e,{showActiveMarker:_0x30ddc1=!0x0}={}){const _0x2b85c4=_0x2ce541[_0x5778('0x18')][_0x5778('0xc')]('TrackChangesEditing');return(_0x10f1e7,_0x578ea9,_0x1d9032)=>{if(!_0x1d9032[_0x5778('0x1d')][_0x5778('0x19')](_0x578ea9['markerRange'],_0x10f1e7['name']))return;const _0x2831f5=_0x578ea9[_0x5778('0x11')][_0x5778('0x21')](),_0x24ce38=_0x578ea9[_0x5778('0x11')]['start'],_0x5ceff6=_0x2ce541[_0x5778('0x14')]['schema'];let _0x1fc1a4=null,_0x4fc279=null,_0x112c7a=!0x1,_0x5769e0=!0x1;for(const _0x4650c8 of _0x2831f5){const _0x4867a4=_0x4650c8[_0x5778('0x4')];_0x112c7a=_0x112c7a||_0x5ceff6['isContent'](_0x4867a4);const _0x738b29=_0x1d9032[_0x5778('0x10')]['toViewElement'](_0x4867a4);if(_0x738b29&&_0x738b29[_0x5778('0x15')]('addHighlight'))return;_0x5778('0xf')==_0x4650c8[_0x5778('0x7')]&&(_0x5ceff6[_0x5778('0x3')](_0x4867a4)&&!_0x5ceff6[_0x5778('0xb')](_0x4867a4)&&(_0x4867a4['nextSibling']||_0x24ce38[_0x5778('0x5')]?_0x1fc1a4&&_0x1fc1a4[_0x5778('0x6')]==_0x4867a4||(_0x1fc1a4=_0x4867a4,_0x37b655(_0x4650c8['previousPosition']),_0x5769e0=!0x0):_0x4fc279=_0x4fc279||_0x4650c8[_0x5778('0x9')]));}function _0x37b655(_0x4af961){const _0x56485a=_0x1d9032[_0x5778('0xe')][_0x5778('0xd')](_0x5778('0x1e'),{'class':'ck-suggestion-marker-'+_0x41aa4e}),_0x59aaae=_0x1d9032[_0x5778('0x10')]['toViewPosition'](_0x4af961);_0x30ddc1&&_0x2b85c4[_0x5778('0x23')][_0x5778('0x8')](_0x578ea9[_0x5778('0x12')])&&_0x1d9032[_0x5778('0xe')][_0x5778('0x1c')](_0x5778('0x17'),_0x56485a),_0x1d9032[_0x5778('0xe')][_0x5778('0x1b')](_0x59aaae,_0x56485a),_0x1d9032[_0x5778('0x10')][_0x5778('0x22')](_0x56485a,_0x578ea9[_0x5778('0x12')]);}_0x112c7a||_0x5769e0||!_0x4fc279||_0x37b655(_0x4fc279);};}
package/src/suggestion.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x566a=['subType','_saved','author','isInContent','set','map','toJSON','data','_model','getItems','add','end','accept','previous','isIntersecting','getMarkerNames','addRange','getFirstMarker','onAccept','filter','getMultiRangeId','decorate','_onAccept','get','push','_onAttributesChange','createdAt','change','delete','size','getRange','isMultiRange','creator','split','removeAttribute','removeMarkers','from','getMarkers','removeMarker','getRanges','onAttributesChange','type','@external','next','markers','_onDiscard','length','addMarkerName','suggestion:','getContainedElement','clear','attributes','head','commentThread','_markerNames','start','hasComments','setAttribute','onDiscard','discard','getFirstRange','addMarker'];(function(_0x4364e2,_0x566aad){const _0x374fa3=function(_0x438740){while(--_0x438740){_0x4364e2['push'](_0x4364e2['shift']());}};_0x374fa3(++_0x566aad);}(_0x566a,0x17f));const _0x374f=function(_0x4364e2,_0x566aad){_0x4364e2=_0x4364e2-0x0;let _0x374fa3=_0x566a[_0x4364e2];return _0x374fa3;};import{Element as _0x381cea}from'ckeditor5/src/engine';import{ObservableMixin as _0x2c01aa,mix as _0x59292e,uid as _0x5bb4bc}from'ckeditor5/src/utils';import{cloneDeep as _0x48c9af,isEqual as _0x41bdf9,set as _0x777d35,unset as _0x30208f}from'lodash-es';export default class o{constructor(_0x4e9f3d,_0x75a3e6){this['id']=_0x75a3e6['id'],this[_0x374f('0x1e')]=_0x75a3e6[_0x374f('0x1e')],this[_0x374f('0x33')]=_0x75a3e6[_0x374f('0x33')]||null,this[_0x374f('0x35')]=_0x75a3e6[_0x374f('0x35')],this[_0x374f('0x15')]=_0x75a3e6[_0x374f('0x15')]||_0x75a3e6[_0x374f('0x35')],this['isExternal']=Boolean(_0x75a3e6[_0x374f('0x28')]&&_0x75a3e6[_0x374f('0x28')][_0x374f('0x1f')]),this[_0x374f('0x3a')]=null,this[_0x374f('0x3b')]=_0x4e9f3d,this[_0x374f('0xb')]=_0x75a3e6[_0x374f('0x7')],this[_0x374f('0x22')]=_0x75a3e6[_0x374f('0x2f')],this[_0x374f('0xe')]=_0x75a3e6[_0x374f('0x1d')],this[_0x374f('0x2b')]=new Set(),this[_0x374f('0xf')]=null,this[_0x374f('0x37')]('authoredAt',null),this[_0x374f('0x37')](_0x374f('0x28'),_0x75a3e6[_0x374f('0x28')]||{}),this[_0x374f('0x37')]('previous',null),this[_0x374f('0x37')]('next',null),this[_0x374f('0x37')](_0x374f('0x2a'),null),this[_0x374f('0x37')](_0x374f('0x34'),!0x1),this['decorate'](_0x374f('0x1')),this[_0x374f('0xa')](_0x374f('0x30'));}get['head'](){let _0x187a05=this;for(;_0x187a05[_0x374f('0x2')];)_0x187a05=_0x187a05['previous'];return _0x187a05;}get[_0x374f('0x2d')](){return!!this[_0x374f('0x2a')]&&this['commentThread'][_0x374f('0x23')]>0x0;}get[_0x374f('0x14')](){if(0x0==this['_markerNames'][_0x374f('0x12')])return!0x1;return 0x6==Array[_0x374f('0x19')](this[_0x374f('0x2b')])[0x0][_0x374f('0x16')](':')['length'];}get[_0x374f('0x36')](){return null!==this[_0x374f('0x6')]();}['addMarkerName'](_0x1a87e1){this[_0x374f('0x2b')][_0x374f('0x3d')](_0x1a87e1);}[_0x374f('0x4')](){return Array[_0x374f('0x19')](this[_0x374f('0x2b')]);}['getMarkers'](){return this[_0x374f('0x4')]()[_0x374f('0x38')](_0x4a5869=>this[_0x374f('0x3b')][_0x374f('0x21')][_0x374f('0xc')](_0x4a5869))[_0x374f('0x8')](_0x26596b=>_0x26596b);}['getFirstMarker'](){return this[_0x374f('0x1a')]()[0x0]||null;}[_0x374f('0x18')](){this['_model'][_0x374f('0x10')](_0xf0afd1=>{for(const _0x3817d0 of this[_0x374f('0x1a')]())_0xf0afd1[_0x374f('0x1b')](_0x3817d0);}),this[_0x374f('0x2b')][_0x374f('0x27')]();}[_0x374f('0x1b')](_0x1819f1){this['_model'][_0x374f('0x10')](_0x5b1f09=>{_0x5b1f09['removeMarker'](_0x1819f1);}),this[_0x374f('0x2b')][_0x374f('0x11')](_0x1819f1);}[_0x374f('0x5')](_0x30ebcb){const _0x42b0ea=_0x374f('0x25')+this['type']+':'+this[_0x374f('0x33')]+':'+this['id']+':'+this[_0x374f('0x15')]['id']+':'+o[_0x374f('0x9')]();this[_0x374f('0x24')](_0x42b0ea),this['_model'][_0x374f('0x10')](_0x127c66=>{_0x127c66[_0x374f('0x32')](_0x42b0ea,{'range':_0x30ebcb,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x1f6d40){for(const _0x169a92 of this[_0x374f('0x1c')]())if(_0x169a92[_0x374f('0x3')](_0x1f6d40))return!0x0;return!0x1;}[_0x374f('0x1c')](){return this['getMarkers']()[_0x374f('0x38')](_0x4ee1da=>_0x4ee1da['getRange']());}[_0x374f('0x3c')](){return this['getRanges']()['reduce']((_0x55761f,_0x166c0c)=>[..._0x55761f,..._0x166c0c[_0x374f('0x3c')]()],[]);}[_0x374f('0x31')](){return this[_0x374f('0x6')]()[_0x374f('0x13')]();}[_0x374f('0x26')](){const _0x4af99f=this['getRanges']();if(0x1!=_0x4af99f[_0x374f('0x23')])return null;const _0x581b26=_0x4af99f[0x0],_0xff0a19=_0x581b26[_0x374f('0x2c')]['nodeAfter'],_0x46b3e4=_0x581b26[_0x374f('0x0')]['nodeBefore'];return _0xff0a19 instanceof _0x381cea?_0xff0a19!=_0x46b3e4?null:_0xff0a19:null;}[_0x374f('0x1')](){this[_0x374f('0xb')](this[_0x374f('0x1c')](),this[_0x374f('0x3a')],this['attributes']),this[_0x374f('0x18')]();}['discard'](){this[_0x374f('0x22')](this[_0x374f('0x1c')](),this[_0x374f('0x3a')],this[_0x374f('0x28')]),this[_0x374f('0x18')]();}['getAllAdjacentSuggestions'](){const _0x10c8d7=[];let _0x42e34c=this[_0x374f('0x29')];for(;_0x42e34c;)_0x10c8d7[_0x374f('0xd')](_0x42e34c),_0x42e34c=_0x42e34c[_0x374f('0x20')];return _0x10c8d7;}[_0x374f('0x2e')](_0x449a87,_0x908522){const _0x32d1ea=_0x48c9af(this[_0x374f('0x28')]);_0x777d35(_0x32d1ea,_0x449a87,_0x908522),_0x41bdf9(_0x32d1ea,this[_0x374f('0x28')])||(this[_0x374f('0x28')]=_0x32d1ea,this[_0x374f('0xe')](_0x32d1ea));}[_0x374f('0x17')](_0x4a53ec){const _0x4a42fa=_0x48c9af(this[_0x374f('0x28')]);_0x30208f(_0x4a42fa,_0x4a53ec),_0x41bdf9(_0x4a42fa,this[_0x374f('0x28')])||(this[_0x374f('0x28')]=_0x4a42fa,this[_0x374f('0xe')](this[_0x374f('0x28')]));}[_0x374f('0x39')](){return{'id':this['id'],'type':this['subType']?this[_0x374f('0x1e')]+':'+this[_0x374f('0x33')]:this[_0x374f('0x1e')],'authorId':this[_0x374f('0x15')]['id'],'createdAt':this[_0x374f('0xf')],'hasComments':this['hasComments'],'data':this['data'],'attributes':this[_0x374f('0x28')]};}static[_0x374f('0x9')](){return _0x5bb4bc()['substr'](0x1,0x5);}}_0x59292e(o,_0x2c01aa);
23
+ const _0x3767=['isInContent','onAccept','previous','authoredAt','creator','filter','accept','subType','removeMarker','_model','nodeAfter','setAttribute','getItems','isIntersecting','isExternal','from','getRanges','toJSON','getMarkerNames','getAllAdjacentSuggestions','end','getMarkers','createdAt','_markerNames','getRange','discard','start','getMultiRangeId','_saved','set','markers','commentThread','getContainedElement','removeAttribute','attributes','clear','_onAttributesChange','addMarkerName','addMarker','length','removeMarkers','isMultiRange','suggestion:','getFirstMarker','substr','delete','hasComments','author','nodeBefore','onDiscard','head','change','next','isIntersectingWithRange','decorate','onAttributesChange','type','_onDiscard','map','data','size'];(function(_0x4b1f35,_0x376728){const _0x29596d=function(_0x445e51){while(--_0x445e51){_0x4b1f35['push'](_0x4b1f35['shift']());}};_0x29596d(++_0x376728);}(_0x3767,0x19f));const _0x2959=function(_0x4b1f35,_0x376728){_0x4b1f35=_0x4b1f35-0x0;let _0x29596d=_0x3767[_0x4b1f35];return _0x29596d;};import{Element as _0x2502b8}from'ckeditor5/src/engine';import{ObservableMixin as _0x5cd926,mix as _0x3426cc,uid as _0x29ae32}from'ckeditor5/src/utils';import{cloneDeep as _0x3282af,isEqual as _0x282d57,set as _0x451929,unset as _0x1e2876}from'lodash-es';export default class o{constructor(_0x2da945,_0x7f11a1){this['id']=_0x7f11a1['id'],this[_0x2959('0x7')]=_0x7f11a1[_0x2959('0x7')],this[_0x2959('0x13')]=_0x7f11a1[_0x2959('0x13')]||null,this['author']=_0x7f11a1[_0x2959('0x3b')],this[_0x2959('0x10')]=_0x7f11a1[_0x2959('0x10')]||_0x7f11a1['author'],this[_0x2959('0x1a')]=Boolean(_0x7f11a1[_0x2959('0x2e')]&&_0x7f11a1[_0x2959('0x2e')]['@external']),this[_0x2959('0xa')]=null,this[_0x2959('0x15')]=_0x2da945,this['_onAccept']=_0x7f11a1[_0x2959('0xd')],this['_onDiscard']=_0x7f11a1[_0x2959('0x0')],this['_onAttributesChange']=_0x7f11a1[_0x2959('0x6')],this[_0x2959('0x23')]=new Set(),this[_0x2959('0x22')]=null,this[_0x2959('0x29')](_0x2959('0xf'),null),this[_0x2959('0x29')](_0x2959('0x2e'),_0x7f11a1['attributes']||{}),this['set'](_0x2959('0xe'),null),this[_0x2959('0x29')]('next',null),this[_0x2959('0x29')](_0x2959('0x2b'),null),this[_0x2959('0x29')](_0x2959('0x28'),!0x1),this[_0x2959('0x5')](_0x2959('0x12')),this['decorate'](_0x2959('0x25'));}get[_0x2959('0x1')](){let _0x196f24=this;for(;_0x196f24[_0x2959('0xe')];)_0x196f24=_0x196f24[_0x2959('0xe')];return _0x196f24;}get[_0x2959('0x3a')](){return!!this[_0x2959('0x2b')]&&this[_0x2959('0x2b')]['length']>0x0;}get[_0x2959('0x35')](){if(0x0==this['_markerNames'][_0x2959('0xb')])return!0x1;return 0x6==Array[_0x2959('0x1b')](this[_0x2959('0x23')])[0x0]['split'](':')[_0x2959('0x33')];}get[_0x2959('0xc')](){return null!==this[_0x2959('0x37')]();}[_0x2959('0x31')](_0x5cc5c8){this[_0x2959('0x23')]['add'](_0x5cc5c8);}[_0x2959('0x1e')](){return Array[_0x2959('0x1b')](this['_markerNames']);}[_0x2959('0x21')](){return this[_0x2959('0x1e')]()[_0x2959('0x9')](_0x6e7a2d=>this[_0x2959('0x15')][_0x2959('0x2a')]['get'](_0x6e7a2d))[_0x2959('0x11')](_0x2fe7e7=>_0x2fe7e7);}['getFirstMarker'](){return this[_0x2959('0x21')]()[0x0]||null;}[_0x2959('0x34')](){this[_0x2959('0x15')][_0x2959('0x2')](_0x41492d=>{for(const _0x168e8f of this['getMarkers']())_0x41492d[_0x2959('0x14')](_0x168e8f);}),this[_0x2959('0x23')][_0x2959('0x2f')]();}['removeMarker'](_0x2e8bb2){this['_model'][_0x2959('0x2')](_0x3ba5c5=>{_0x3ba5c5['removeMarker'](_0x2e8bb2);}),this['_markerNames'][_0x2959('0x39')](_0x2e8bb2);}['addRange'](_0x276983){const _0x333c20=_0x2959('0x36')+this[_0x2959('0x7')]+':'+this[_0x2959('0x13')]+':'+this['id']+':'+this['creator']['id']+':'+o['getMultiRangeId']();this[_0x2959('0x31')](_0x333c20),this[_0x2959('0x15')][_0x2959('0x2')](_0x45a250=>{_0x45a250[_0x2959('0x32')](_0x333c20,{'range':_0x276983,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x2959('0x4')](_0x5198d0){for(const _0x20a714 of this['getRanges']())if(_0x20a714[_0x2959('0x19')](_0x5198d0))return!0x0;return!0x1;}['getRanges'](){return this[_0x2959('0x21')]()[_0x2959('0x9')](_0x25ad0f=>_0x25ad0f[_0x2959('0x24')]());}['getItems'](){return this[_0x2959('0x1c')]()['reduce']((_0x289cae,_0x353bd1)=>[..._0x289cae,..._0x353bd1[_0x2959('0x18')]()],[]);}['getFirstRange'](){return this['getFirstMarker']()['getRange']();}[_0x2959('0x2c')](){const _0x29d882=this[_0x2959('0x1c')]();if(0x1!=_0x29d882[_0x2959('0x33')])return null;const _0x4ee1f7=_0x29d882[0x0],_0x4c0e70=_0x4ee1f7[_0x2959('0x26')][_0x2959('0x16')],_0xb0259c=_0x4ee1f7[_0x2959('0x20')][_0x2959('0x3c')];return _0x4c0e70 instanceof _0x2502b8?_0x4c0e70!=_0xb0259c?null:_0x4c0e70:null;}[_0x2959('0x12')](){this['_onAccept'](this['getRanges'](),this['data'],this['attributes']),this[_0x2959('0x34')]();}[_0x2959('0x25')](){this[_0x2959('0x8')](this[_0x2959('0x1c')](),this['data'],this['attributes']),this[_0x2959('0x34')]();}[_0x2959('0x1f')](){const _0x8f684c=[];let _0x3a39dd=this[_0x2959('0x1')];for(;_0x3a39dd;)_0x8f684c['push'](_0x3a39dd),_0x3a39dd=_0x3a39dd[_0x2959('0x3')];return _0x8f684c;}[_0x2959('0x17')](_0x1fa0b5,_0x26a7e1){const _0x48d6ed=_0x3282af(this[_0x2959('0x2e')]);_0x451929(_0x48d6ed,_0x1fa0b5,_0x26a7e1),_0x282d57(_0x48d6ed,this[_0x2959('0x2e')])||(this[_0x2959('0x2e')]=_0x48d6ed,this['_onAttributesChange'](_0x48d6ed));}[_0x2959('0x2d')](_0x13d24f){const _0x50922f=_0x3282af(this[_0x2959('0x2e')]);_0x1e2876(_0x50922f,_0x13d24f),_0x282d57(_0x50922f,this[_0x2959('0x2e')])||(this[_0x2959('0x2e')]=_0x50922f,this[_0x2959('0x30')](this['attributes']));}[_0x2959('0x1d')](){return{'id':this['id'],'type':this[_0x2959('0x13')]?this[_0x2959('0x7')]+':'+this[_0x2959('0x13')]:this[_0x2959('0x7')],'authorId':this[_0x2959('0x10')]['id'],'createdAt':this[_0x2959('0x22')],'hasComments':this['hasComments'],'data':this['data'],'attributes':this[_0x2959('0x2e')]};}static[_0x2959('0x27')](){return _0x29ae32()[_0x2959('0x38')](0x1,0x5);}}_0x3426cc(o,_0x5cd926);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x251a=['textProxy','matchingCallback','deletion','nextSibling','add','softBreak','removeContainer','replace','_itemLabels','isEqual','label','Object','get','start','addObject','isObject','*Insert:*\x20%0','indexOf','_addDescriptionItems','previousSibling','_itemLabelsCallbacks','elementEnd','match','registerDescriptionCallback','removeEmptyContainer','isEmpty','insertion','quantity','_resolveDescriptionItems','REPLACE_TEXT','_locale','$text','$1\x20$2','getFirstRange','_schema','_customCallbacks','addContainer','push','getWalker','type','end','getItemLabel','element','pop','*Merge:*\x20%0','set','data','name','elementStart','registerElementLabel','isInContent','text','remove','length','checkChild','function','item','skip','EmptyContainer','removeObject','Container','ELEMENT_SPACE','*Split:*\x20%0'];(function(_0x241d9b,_0x251afc){const _0x423609=function(_0x1d4ad8){while(--_0x1d4ad8){_0x241d9b['push'](_0x241d9b['shift']());}};_0x423609(++_0x251afc);}(_0x251a,0xfb));const _0x4236=function(_0x241d9b,_0x251afc){_0x241d9b=_0x241d9b-0x0;let _0x423609=_0x251a[_0x241d9b];return _0x423609;};import{getTranslation as _0x492f79}from'./utils/common-translations';import{priorities as _0x23089b,insertToPriorityArray as _0x1daef4}from'ckeditor5/src/utils';export default class f{constructor(_0x11909e,_0x4bb8ff){this['_customCallbacks']=[],this[_0x4236('0x9')]=new Map(),this[_0x4236('0x15')]=[],this['_schema']=_0x11909e,this[_0x4236('0x1f')]=_0x4bb8ff;}['getDescriptions'](_0x1ec78b){const _0x30fc89=[];for(let _0x39768b=0x0;_0x39768b<_0x1ec78b[_0x4236('0x36')];_0x39768b++){const _0x57b2d8=_0x1ec78b[_0x39768b];if(!_0x57b2d8[_0x4236('0x33')])continue;let _0x3b75a5=!0x1;for(const _0x5ec5b6 of this[_0x4236('0x24')]){const _0x5647c9=_0x5ec5b6(_0x57b2d8);if(_0x5647c9){_0x5647c9[_0x4236('0x28')]&&_0x30fc89[_0x4236('0x26')](_0x5647c9),_0x3b75a5=!0x0;break;}}if(!_0x3b75a5){this[_0x4236('0x13')](_0x30fc89,_0x57b2d8);const _0x1af32f=_0x1ec78b[_0x39768b+0x1];if(_0x1af32f&&!_0x57b2d8[_0x4236('0x22')]()[_0x4236('0x29')][_0x4236('0xa')](_0x1af32f[_0x4236('0x22')]()[_0x4236('0xe')])){const _0x4fb4eb=_0x30fc89[_0x30fc89['length']-0x1],_0x1ee508=_0x4236('0x1b')==_0x57b2d8[_0x4236('0x28')]?_0x4236('0x5'):_0x4236('0x35');_0x4fb4eb&&_0x4236('0x34')==_0x4fb4eb[_0x4236('0x28')]&&(_0x4fb4eb[_0x1ee508]+='\x0a');}}}return this['_resolveDescriptionItems'](_0x30fc89);}[_0x4236('0x18')](_0x145d97){this[_0x4236('0x24')]['push'](_0x145d97);}[_0x4236('0x32')](_0x510889,_0x49ef31,_0x4be1db=_0x23089b['normal']){_0x4236('0x38')==typeof _0x510889?_0x1daef4(this[_0x4236('0x15')],{'matchingCallback':_0x510889,'label':_0x49ef31,'priority':_0x4be1db}):this[_0x4236('0x9')][_0x4236('0x2e')](_0x510889,_0x49ef31);}[_0x4236('0x2a')](_0x24b033,_0x5b4ea8=0x1){let _0x4734f3;for(const _0x48f38f of this['_itemLabelsCallbacks'])if(_0x48f38f[_0x4236('0x2')](_0x24b033)){_0x4734f3=_0x48f38f[_0x4236('0xb')];break;}return _0x4734f3||(_0x4734f3=this[_0x4236('0x9')][_0x4236('0xd')](_0x24b033[_0x4236('0x30')])),_0x4734f3?_0x4734f3(_0x5b4ea8):0x1!==_0x5b4ea8?_0x5b4ea8+'\x20'+_0x24b033[_0x4236('0x30')]+'s':''+_0x24b033[_0x4236('0x30')];}[_0x4236('0x13')](_0x5e1bfa,_0x5a33f9){const _0x222015=_0x5a33f9[_0x4236('0x22')]()[_0x4236('0x27')](),_0x190219='insertion'==_0x5a33f9[_0x4236('0x28')]?'add':_0x4236('0x35');for(const _0x56dcca of _0x222015){const _0x302837=_0x56dcca[_0x4236('0x39')],_0x5c9fc9=_0x5e1bfa[_0x5e1bfa['length']-0x1];if(_0x302837['is'](_0x4236('0x1')))_0x5c9fc9&&_0x5c9fc9[_0x4236('0x28')][_0x4236('0x12')](_0x4236('0x3d'))>-0x1&&_0x5e1bfa[_0x4236('0x2c')](),_0x5c9fc9&&'text'==_0x5c9fc9[_0x4236('0x28')]?_0x5c9fc9[_0x190219]+=_0x302837[_0x4236('0x2f')]:_0x5e1bfa[_0x4236('0x26')]({'type':_0x4236('0x34'),'add':'add'==_0x190219?_0x302837[_0x4236('0x2f')]:'','remove':_0x4236('0x35')==_0x190219?_0x302837['data']:''});else{if(this[_0x4236('0x23')][_0x4236('0x10')](_0x302837)){if(_0x5c9fc9&&_0x5c9fc9[_0x4236('0x28')][_0x4236('0x12')](_0x4236('0x3d'))>-0x1&&_0x5e1bfa[_0x4236('0x2c')](),_0x4236('0x16')==_0x56dcca[_0x4236('0x28')])continue;_0x5c9fc9&&_0x5c9fc9[_0x4236('0x28')]==_0x190219+'Object'&&_0x5c9fc9[_0x4236('0x2b')][_0x4236('0x30')]==_0x302837['name']?_0x5c9fc9[_0x4236('0x1c')]++:_0x5e1bfa[_0x4236('0x26')]({'type':_0x190219+_0x4236('0xc'),'element':_0x302837,'quantity':0x1}),_0x222015[_0x4236('0x3a')](_0x2660e4=>!('elementEnd'==_0x2660e4['type']&&_0x2660e4[_0x4236('0x39')]==_0x302837));}else{if(this['_schema'][_0x4236('0x37')](_0x302837,_0x4236('0x20'))||_0x302837['is'](_0x4236('0x2b'),_0x4236('0x6'))){if('add'==_0x190219&&_0x4236('0x31')==_0x56dcca[_0x4236('0x28')]||_0x4236('0x35')==_0x190219&&_0x4236('0x16')==_0x56dcca[_0x4236('0x28')])continue;if(_0x5c9fc9&&-0x1==_0x5c9fc9[_0x4236('0x28')][_0x4236('0x12')](_0x4236('0x3d'))){_0x4236('0x34')==_0x5c9fc9[_0x4236('0x28')]&&(_0x5c9fc9[_0x190219]+='\x0a');continue;}let _0x22fc60;if(_0x22fc60=_0x4236('0x5')==_0x190219?_0x302837['nextSibling']&&!this['_schema'][_0x4236('0x10')](_0x302837[_0x4236('0x4')])?_0x302837['nextSibling']:null:_0x302837[_0x4236('0x14')]&&!this[_0x4236('0x23')][_0x4236('0x10')](_0x302837[_0x4236('0x14')])?_0x302837[_0x4236('0x14')]:null,_0x302837[_0x4236('0x1a')]||_0x22fc60&&_0x22fc60['isEmpty']){const _0x974379=_0x22fc60&&_0x22fc60[_0x4236('0x1a')]?_0x22fc60:_0x302837;_0x5c9fc9&&_0x5c9fc9[_0x4236('0x28')]==_0x190219+_0x4236('0x3b')&&_0x5c9fc9['element'][_0x4236('0x30')]==_0x974379['name']?_0x5c9fc9['quantity']++:_0x5e1bfa[_0x4236('0x26')]({'type':_0x190219+_0x4236('0x3b'),'element':_0x974379,'quantity':0x1});}else _0x5e1bfa['push']({'type':_0x190219+'Container','element':_0x302837});}}}}}[_0x4236('0x1d')](_0x302bba){const _0x578a8f=this[_0x4236('0x1f')],_0x30adc2=[];for(const _0x1d3dbd of _0x302bba){switch(_0x1d3dbd[_0x4236('0x28')]){case _0x4236('0x34'):if(_0x1d3dbd['add']=_0x1d3dbd['add'][_0x4236('0x8')](/(\S)\u000A+(\S)/g,_0x4236('0x21'))['replace'](/\u000A/g,''),_0x1d3dbd[_0x4236('0x35')]=_0x1d3dbd['remove'][_0x4236('0x8')](/(\S)\u000A+(\S)/g,_0x4236('0x21'))[_0x4236('0x8')](/\u000A/g,''),''!=_0x1d3dbd[_0x4236('0x5')]&&''!=_0x1d3dbd[_0x4236('0x35')]){_0x30adc2[_0x4236('0x26')]({'type':_0x4236('0x8'),'content':_0x492f79(_0x578a8f,_0x4236('0x1e'),['\x22'+_0x1d3dbd[_0x4236('0x35')]+'\x22','\x22'+_0x1d3dbd[_0x4236('0x5')]+'\x22'])});continue;}if(null!=_0x1d3dbd[_0x4236('0x5')]['match'](/^ +$/)){_0x30adc2[_0x4236('0x26')]({'type':_0x4236('0x1b'),'content':_0x492f79(_0x578a8f,_0x4236('0x11'),_0x492f79(_0x578a8f,'ELEMENT_SPACE',_0x1d3dbd['add'][_0x4236('0x36')]))});continue;}if(null!=_0x1d3dbd[_0x4236('0x35')][_0x4236('0x17')](/^ +$/)){_0x30adc2['push']({'type':_0x4236('0x3'),'content':_0x492f79(_0x578a8f,'*Remove:*\x20%0',_0x492f79(_0x578a8f,_0x4236('0x3e'),_0x1d3dbd[_0x4236('0x35')]['length']))});continue;}if(''!=_0x1d3dbd[_0x4236('0x5')]){_0x30adc2[_0x4236('0x26')]({'type':_0x4236('0x1b'),'content':_0x492f79(_0x578a8f,_0x4236('0x11'),'\x22'+_0x1d3dbd[_0x4236('0x5')]+'\x22')});continue;}_0x30adc2[_0x4236('0x26')]({'type':_0x4236('0x3'),'content':_0x492f79(_0x578a8f,'*Remove:*\x20%0','\x22'+_0x1d3dbd[_0x4236('0x35')]+'\x22')});continue;case'addEmptyContainer':case _0x4236('0xf'):_0x30adc2[_0x4236('0x26')]({'type':'insertion','content':_0x492f79(_0x578a8f,_0x4236('0x11'),this[_0x4236('0x2a')](_0x1d3dbd[_0x4236('0x2b')],_0x1d3dbd['quantity']))});continue;case _0x4236('0x19'):case _0x4236('0x3c'):_0x30adc2['push']({'type':_0x4236('0x3'),'content':_0x492f79(_0x578a8f,'*Remove:*\x20%0',this['getItemLabel'](_0x1d3dbd['element'],_0x1d3dbd[_0x4236('0x1c')]))});continue;case _0x4236('0x25'):_0x30adc2[_0x4236('0x26')]({'type':_0x4236('0x1b'),'content':_0x492f79(_0x578a8f,_0x4236('0x0'),this[_0x4236('0x2a')](_0x1d3dbd[_0x4236('0x2b')],_0x1d3dbd['quantity']))});continue;case _0x4236('0x7'):_0x30adc2[_0x4236('0x26')]({'type':_0x4236('0x3'),'content':_0x492f79(_0x578a8f,_0x4236('0x2d'),this[_0x4236('0x2a')](_0x1d3dbd[_0x4236('0x2b')],_0x1d3dbd[_0x4236('0x1c')]))});continue;}_0x30adc2[_0x4236('0x26')](_0x1d3dbd);}return _0x30adc2;}}
23
+ const _0x48c4=['deletion','$1\x20$2','$text','textProxy','registerDescriptionCallback','isInContent','pop','quantity','function','getWalker','_addDescriptionItems','get','*Remove:*\x20%0','_schema','nextSibling','matchingCallback','EmptyContainer','removeContainer','getFirstRange','name','normal','_itemLabels','label','_itemLabelsCallbacks','elementEnd','*Split:*\x20%0','ELEMENT_SPACE','remove','item','_resolveDescriptionItems','_locale','length','add','end','match','text','skip','Container','Object','data','set','element','indexOf','isEmpty','getDescriptions','type','removeObject','push','_customCallbacks','*Insert:*\x20%0','getItemLabel','isObject','replace','previousSibling','softBreak','removeEmptyContainer','REPLACE_TEXT','addObject','insertion'];(function(_0x5a1cb8,_0x48c454){const _0x5e5776=function(_0x53a3f1){while(--_0x53a3f1){_0x5a1cb8['push'](_0x5a1cb8['shift']());}};_0x5e5776(++_0x48c454);}(_0x48c4,0x1de));const _0x5e57=function(_0x5a1cb8,_0x48c454){_0x5a1cb8=_0x5a1cb8-0x0;let _0x5e5776=_0x48c4[_0x5a1cb8];return _0x5e5776;};import{getTranslation as _0x1898f4}from'./utils/common-translations';import{priorities as _0x562344,insertToPriorityArray as _0x564e67}from'ckeditor5/src/utils';export default class f{constructor(_0x3c43dd,_0x31db6d){this[_0x5e57('0x2a')]=[],this[_0x5e57('0xf')]=new Map(),this['_itemLabelsCallbacks']=[],this[_0x5e57('0x7')]=_0x3c43dd,this[_0x5e57('0x18')]=_0x31db6d;}[_0x5e57('0x26')](_0x41fcc6){const _0x1d23b5=[];for(let _0x3db677=0x0;_0x3db677<_0x41fcc6['length'];_0x3db677++){const _0x52dc34=_0x41fcc6[_0x3db677];if(!_0x52dc34[_0x5e57('0x3a')])continue;let _0x9c4f1f=!0x1;for(const _0x12f36e of this[_0x5e57('0x2a')]){const _0x1fda45=_0x12f36e(_0x52dc34);if(_0x1fda45){_0x1fda45['type']&&_0x1d23b5[_0x5e57('0x29')](_0x1fda45),_0x9c4f1f=!0x0;break;}}if(!_0x9c4f1f){this[_0x5e57('0x4')](_0x1d23b5,_0x52dc34);const _0x2dc117=_0x41fcc6[_0x3db677+0x1];if(_0x2dc117&&!_0x52dc34['getFirstRange']()[_0x5e57('0x1b')]['isEqual'](_0x2dc117[_0x5e57('0xc')]()['start'])){const _0x4626c3=_0x1d23b5[_0x1d23b5['length']-0x1],_0x24b5db=_0x5e57('0x34')==_0x52dc34['type']?'add':_0x5e57('0x15');_0x4626c3&&_0x5e57('0x1d')==_0x4626c3['type']&&(_0x4626c3[_0x24b5db]+='\x0a');}}}return this['_resolveDescriptionItems'](_0x1d23b5);}[_0x5e57('0x39')](_0x1a852a){this['_customCallbacks'][_0x5e57('0x29')](_0x1a852a);}['registerElementLabel'](_0x1e717a,_0x3f49cb,_0x3f5141=_0x562344[_0x5e57('0xe')]){_0x5e57('0x2')==typeof _0x1e717a?_0x564e67(this[_0x5e57('0x11')],{'matchingCallback':_0x1e717a,'label':_0x3f49cb,'priority':_0x3f5141}):this[_0x5e57('0xf')][_0x5e57('0x22')](_0x1e717a,_0x3f49cb);}[_0x5e57('0x2c')](_0x30a797,_0x1f06d3=0x1){let _0x510d24;for(const _0x27a91b of this[_0x5e57('0x11')])if(_0x27a91b[_0x5e57('0x9')](_0x30a797)){_0x510d24=_0x27a91b[_0x5e57('0x10')];break;}return _0x510d24||(_0x510d24=this[_0x5e57('0xf')][_0x5e57('0x5')](_0x30a797[_0x5e57('0xd')])),_0x510d24?_0x510d24(_0x1f06d3):0x1!==_0x1f06d3?_0x1f06d3+'\x20'+_0x30a797[_0x5e57('0xd')]+'s':''+_0x30a797['name'];}[_0x5e57('0x4')](_0x2e68ee,_0xaf12d6){const _0x5ed9ec=_0xaf12d6['getFirstRange']()[_0x5e57('0x3')](),_0x6627d2='insertion'==_0xaf12d6[_0x5e57('0x27')]?_0x5e57('0x1a'):'remove';for(const _0x4c7d33 of _0x5ed9ec){const _0x478b48=_0x4c7d33[_0x5e57('0x16')],_0x3e8e3a=_0x2e68ee[_0x2e68ee['length']-0x1];if(_0x478b48['is'](_0x5e57('0x38')))_0x3e8e3a&&_0x3e8e3a[_0x5e57('0x27')][_0x5e57('0x24')](_0x5e57('0x1f'))>-0x1&&_0x2e68ee[_0x5e57('0x0')](),_0x3e8e3a&&_0x5e57('0x1d')==_0x3e8e3a[_0x5e57('0x27')]?_0x3e8e3a[_0x6627d2]+=_0x478b48['data']:_0x2e68ee[_0x5e57('0x29')]({'type':'text','add':_0x5e57('0x1a')==_0x6627d2?_0x478b48[_0x5e57('0x21')]:'','remove':_0x5e57('0x15')==_0x6627d2?_0x478b48[_0x5e57('0x21')]:''});else{if(this[_0x5e57('0x7')]['isObject'](_0x478b48)){if(_0x3e8e3a&&_0x3e8e3a[_0x5e57('0x27')][_0x5e57('0x24')](_0x5e57('0x1f'))>-0x1&&_0x2e68ee['pop'](),_0x5e57('0x12')==_0x4c7d33['type'])continue;_0x3e8e3a&&_0x3e8e3a['type']==_0x6627d2+_0x5e57('0x20')&&_0x3e8e3a[_0x5e57('0x23')]['name']==_0x478b48[_0x5e57('0xd')]?_0x3e8e3a[_0x5e57('0x1')]++:_0x2e68ee[_0x5e57('0x29')]({'type':_0x6627d2+_0x5e57('0x20'),'element':_0x478b48,'quantity':0x1}),_0x5ed9ec[_0x5e57('0x1e')](_0x3a11b1=>!(_0x5e57('0x12')==_0x3a11b1['type']&&_0x3a11b1[_0x5e57('0x16')]==_0x478b48));}else{if(this['_schema']['checkChild'](_0x478b48,_0x5e57('0x37'))||_0x478b48['is']('element',_0x5e57('0x30'))){if(_0x5e57('0x1a')==_0x6627d2&&'elementStart'==_0x4c7d33[_0x5e57('0x27')]||'remove'==_0x6627d2&&_0x5e57('0x12')==_0x4c7d33[_0x5e57('0x27')])continue;if(_0x3e8e3a&&-0x1==_0x3e8e3a[_0x5e57('0x27')][_0x5e57('0x24')]('Container')){_0x5e57('0x1d')==_0x3e8e3a['type']&&(_0x3e8e3a[_0x6627d2]+='\x0a');continue;}let _0x206c2e;if(_0x206c2e=_0x5e57('0x1a')==_0x6627d2?_0x478b48[_0x5e57('0x8')]&&!this[_0x5e57('0x7')][_0x5e57('0x2d')](_0x478b48[_0x5e57('0x8')])?_0x478b48[_0x5e57('0x8')]:null:_0x478b48[_0x5e57('0x2f')]&&!this[_0x5e57('0x7')]['isObject'](_0x478b48['previousSibling'])?_0x478b48['previousSibling']:null,_0x478b48[_0x5e57('0x25')]||_0x206c2e&&_0x206c2e[_0x5e57('0x25')]){const _0xfcd514=_0x206c2e&&_0x206c2e['isEmpty']?_0x206c2e:_0x478b48;_0x3e8e3a&&_0x3e8e3a[_0x5e57('0x27')]==_0x6627d2+_0x5e57('0xa')&&_0x3e8e3a[_0x5e57('0x23')][_0x5e57('0xd')]==_0xfcd514[_0x5e57('0xd')]?_0x3e8e3a[_0x5e57('0x1')]++:_0x2e68ee[_0x5e57('0x29')]({'type':_0x6627d2+_0x5e57('0xa'),'element':_0xfcd514,'quantity':0x1});}else _0x2e68ee[_0x5e57('0x29')]({'type':_0x6627d2+'Container','element':_0x478b48});}}}}}[_0x5e57('0x17')](_0x2b4df2){const _0x4835ab=this[_0x5e57('0x18')],_0x507d75=[];for(const _0x5010ce of _0x2b4df2){switch(_0x5010ce[_0x5e57('0x27')]){case _0x5e57('0x1d'):if(_0x5010ce['add']=_0x5010ce[_0x5e57('0x1a')][_0x5e57('0x2e')](/(\S)\u000A+(\S)/g,_0x5e57('0x36'))[_0x5e57('0x2e')](/\u000A/g,''),_0x5010ce[_0x5e57('0x15')]=_0x5010ce[_0x5e57('0x15')][_0x5e57('0x2e')](/(\S)\u000A+(\S)/g,_0x5e57('0x36'))['replace'](/\u000A/g,''),''!=_0x5010ce[_0x5e57('0x1a')]&&''!=_0x5010ce[_0x5e57('0x15')]){_0x507d75[_0x5e57('0x29')]({'type':'replace','content':_0x1898f4(_0x4835ab,_0x5e57('0x32'),['\x22'+_0x5010ce[_0x5e57('0x15')]+'\x22','\x22'+_0x5010ce[_0x5e57('0x1a')]+'\x22'])});continue;}if(null!=_0x5010ce[_0x5e57('0x1a')][_0x5e57('0x1c')](/^ +$/)){_0x507d75['push']({'type':_0x5e57('0x34'),'content':_0x1898f4(_0x4835ab,_0x5e57('0x2b'),_0x1898f4(_0x4835ab,_0x5e57('0x14'),_0x5010ce[_0x5e57('0x1a')][_0x5e57('0x19')]))});continue;}if(null!=_0x5010ce[_0x5e57('0x15')][_0x5e57('0x1c')](/^ +$/)){_0x507d75['push']({'type':_0x5e57('0x35'),'content':_0x1898f4(_0x4835ab,_0x5e57('0x6'),_0x1898f4(_0x4835ab,_0x5e57('0x14'),_0x5010ce[_0x5e57('0x15')][_0x5e57('0x19')]))});continue;}if(''!=_0x5010ce[_0x5e57('0x1a')]){_0x507d75['push']({'type':_0x5e57('0x34'),'content':_0x1898f4(_0x4835ab,'*Insert:*\x20%0','\x22'+_0x5010ce[_0x5e57('0x1a')]+'\x22')});continue;}_0x507d75[_0x5e57('0x29')]({'type':_0x5e57('0x35'),'content':_0x1898f4(_0x4835ab,_0x5e57('0x6'),'\x22'+_0x5010ce[_0x5e57('0x15')]+'\x22')});continue;case'addEmptyContainer':case _0x5e57('0x33'):_0x507d75[_0x5e57('0x29')]({'type':_0x5e57('0x34'),'content':_0x1898f4(_0x4835ab,_0x5e57('0x2b'),this['getItemLabel'](_0x5010ce[_0x5e57('0x23')],_0x5010ce[_0x5e57('0x1')]))});continue;case _0x5e57('0x31'):case _0x5e57('0x28'):_0x507d75['push']({'type':_0x5e57('0x35'),'content':_0x1898f4(_0x4835ab,_0x5e57('0x6'),this[_0x5e57('0x2c')](_0x5010ce[_0x5e57('0x23')],_0x5010ce[_0x5e57('0x1')]))});continue;case'addContainer':_0x507d75[_0x5e57('0x29')]({'type':'insertion','content':_0x1898f4(_0x4835ab,_0x5e57('0x13'),this[_0x5e57('0x2c')](_0x5010ce[_0x5e57('0x23')],_0x5010ce[_0x5e57('0x1')]))});continue;case _0x5e57('0xb'):_0x507d75[_0x5e57('0x29')]({'type':'deletion','content':_0x1898f4(_0x4835ab,'*Merge:*\x20%0',this[_0x5e57('0x2c')](_0x5010ce[_0x5e57('0x23')],_0x5010ce[_0x5e57('0x1')]))});continue;}_0x507d75[_0x5e57('0x29')](_0x5010ce);}return _0x507d75;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3c0a=['getSuggestion','requires','TrackChanges','get','addSuggestion','editor','addSuggestionData','Comments','getSuggestions','plugins','adapter'];(function(_0x11e46b,_0x3c0ab0){var _0x3fd861=function(_0xe31512){while(--_0xe31512){_0x11e46b['push'](_0x11e46b['shift']());}};_0x3fd861(++_0x3c0ab0);}(_0x3c0a,0xaf));var _0x3fd8=function(_0x11e46b,_0x3c0ab0){_0x11e46b=_0x11e46b-0x0;var _0x3fd861=_0x3c0a[_0x11e46b];return _0x3fd861;};import{Plugin as _0x28e685}from'ckeditor5/src/core';import _0x3ef0a5 from'./trackchangesui';import _0x5b9109 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x28e685{static get[_0x3fd8('0x2')](){return[_0x5b9109,_0x3ef0a5,_0x3fd8('0x8')];}static get['pluginName'](){return _0x3fd8('0x3');}set[_0x3fd8('0x0')](_0x33918d){this[_0x3fd8('0x6')]['plugins'][_0x3fd8('0x4')](_0x5b9109)['adapter']=_0x33918d;}get['adapter'](){return this['editor']['plugins'][_0x3fd8('0x4')](_0x5b9109)[_0x3fd8('0x0')];}[_0x3fd8('0x5')](_0x24808d){return this['editor']['plugins'][_0x3fd8('0x4')](_0x5b9109)[_0x3fd8('0x7')](_0x24808d);}['getSuggestions'](_0x528597){return this[_0x3fd8('0x6')][_0x3fd8('0xa')][_0x3fd8('0x4')](_0x5b9109)[_0x3fd8('0x9')](_0x528597);}[_0x3fd8('0x1')](_0x25a4d6){return this['editor']['plugins']['get'](_0x5b9109)['getSuggestion'](_0x25a4d6);}}
23
+ var _0x146e=['adapter','pluginName','getSuggestions','editor','Comments','addSuggestionData','getSuggestion','addSuggestion','TrackChanges','get','plugins'];(function(_0x4829ba,_0x146e20){var _0x4491cd=function(_0x29273c){while(--_0x29273c){_0x4829ba['push'](_0x4829ba['shift']());}};_0x4491cd(++_0x146e20);}(_0x146e,0x193));var _0x4491=function(_0x4829ba,_0x146e20){_0x4829ba=_0x4829ba-0x0;var _0x4491cd=_0x146e[_0x4829ba];return _0x4491cd;};import{Plugin as _0x2cf061}from'ckeditor5/src/core';import _0x28c5fb from'./trackchangesui';import _0x43ab58 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x2cf061{static get['requires'](){return[_0x43ab58,_0x28c5fb,_0x4491('0x8')];}static get[_0x4491('0x5')](){return _0x4491('0x1');}set[_0x4491('0x4')](_0x2b8d38){this['editor'][_0x4491('0x3')][_0x4491('0x2')](_0x43ab58)['adapter']=_0x2b8d38;}get[_0x4491('0x4')](){return this[_0x4491('0x7')][_0x4491('0x3')][_0x4491('0x2')](_0x43ab58)[_0x4491('0x4')];}[_0x4491('0x0')](_0x249473){return this[_0x4491('0x7')][_0x4491('0x3')]['get'](_0x43ab58)[_0x4491('0x9')](_0x249473);}[_0x4491('0x6')](_0x15bc00){return this[_0x4491('0x7')][_0x4491('0x3')]['get'](_0x43ab58)[_0x4491('0x6')](_0x15bc00);}[_0x4491('0xa')](_0x4eff6d){return this[_0x4491('0x7')]['plugins'][_0x4491('0x2')](_0x43ab58)['getSuggestion'](_0x4eff6d);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3323=['getDataWithDiscardedSuggestions','config','set','pluginName','addUser','TrackChangesDataGetter','requires','create','from','concat','RealTimeCollaborativeEditing','discardAllSuggestions','getSuggestions','model','execute','TrackChangesEditing','filter','data','extraPlugins','appendChild','users','has','editor','editorCreator','div','Users','end','CommentsRepository','addSuggestionData','map','push','context','toolbar','name','createElement','RealTimeCollaborativeComments','init','get','result','reduce','document','add','useAnonymousUser','getDataWithAcceptedSuggestions','acceptAllSuggestions','_adapter','define','function','trackChangesData','plugins','createDocumentFragment','initialData'];(function(_0x51e1c8,_0x33236d){const _0x155cd0=function(_0x32fb4d){while(--_0x32fb4d){_0x51e1c8['push'](_0x51e1c8['shift']());}};_0x155cd0(++_0x33236d);}(_0x3323,0x1bc));const _0x155c=function(_0x51e1c8,_0x33236d){_0x51e1c8=_0x51e1c8-0x0;let _0x155cd0=_0x3323[_0x51e1c8];return _0x155cd0;};import{Plugin as _0x5bffdc}from'ckeditor5/src/core';import{CKEditorError as _0x3b5e12}from'ckeditor5/src/utils';import _0x1fbd76 from'./trackchangesediting';const T=[_0x155c('0x17'),_0x155c('0x3'),_0x155c('0x4')],D=[_0x155c('0x22'),_0x155c('0x7'),'RealTimeCollaborativeTrackChanges','RealTimeCollaborativeRevisionHistory','Autosave','WordCount'];export default class v extends _0x5bffdc{static get['requires'](){return[_0x1fbd76];}static get['pluginName'](){return'TrackChangesData';}['init'](){const _0x208091=this[_0x155c('0x2e')];if(_0x208091['config'][_0x155c('0x12')]('trackChangesData.editorCreator',_0x2b2af5=>_0x208091['constructor'][_0x155c('0x1f')]('',_0x2b2af5)),_0x155c('0x13')!=typeof _0x208091['config'][_0x155c('0x9')](_0x155c('0x14'))[_0x155c('0x2f')])throw new _0x3b5e12('track-changes-data-invalid-editor-creator');}[_0x155c('0xf')](_0x88ba30){return y(this['editor'],!0x0,_0x88ba30);}[_0x155c('0x18')](_0x5e1e41){return y(this['editor'],!0x1,_0x5e1e41);}}class w extends _0x5bffdc{static get['pluginName'](){return _0x155c('0x1d');}[_0x155c('0x8')](){this[_0x155c('0xa')]=_0x155c('0x32'),this[_0x155c('0x2e')]['plugins']['get'](_0x155c('0x33'))[_0x155c('0x11')]={'getCommentThread':()=>new Promise(()=>{})},this[_0x155c('0x2e')]['plugins'][_0x155c('0x9')](_0x155c('0x27'))[_0x155c('0x11')]=null;}}async function y(_0x37d968,_0x53ccbd,_0xad227b){const _0x557252=function(_0x34d82c){const _0x4c6034={};for(const _0x5f4258 of _0x34d82c[_0x155c('0x19')]['names']())T['includes'](_0x5f4258)||(_0x4c6034[_0x5f4258]=_0x34d82c['config']['get'](_0x5f4258));const _0x53096d=_0x34d82c['constructor']['builtinPlugins']||[],_0x55ca3f=_0x4c6034[_0x155c('0x2a')]||[];delete _0x4c6034[_0x155c('0x2a')];const _0xbc1932=_0x53096d[_0x155c('0x21')](_0x4c6034[_0x155c('0x15')])[_0x155c('0x21')](_0x55ca3f)[_0x155c('0x1')](_0x22985c=>'string'==typeof _0x22985c?_0x53096d['find'](_0x364c3a=>_0x364c3a[_0x155c('0x1b')]==_0x22985c):_0x22985c),_0x5b7a73=Array[_0x155c('0x20')](new Set(_0xbc1932));return _0x4c6034[_0x155c('0x15')]=_0x5b7a73[_0x155c('0x28')](_0x466eea=>S(_0x466eea,new Set())),_0x4c6034[_0x155c('0x15')][_0x155c('0x2')](w),_0x4c6034[_0x155c('0x15')]['push'](_0x1fbd76),_0x4c6034;}(_0x37d968),_0x4c0767=document[_0x155c('0x16')](),_0x3a471d=_0x37d968[_0x155c('0x19')]['get']('trackChangesData')['editorCreator'],_0xb0da41=await _0x3a471d(_0x557252,()=>function(_0x5f5b04){const _0x4ee7ae=document[_0x155c('0x6')](_0x155c('0x30'));return _0x5f5b04[_0x155c('0x2b')](_0x4ee7ae),_0x4ee7ae;}(_0x4c0767));!function(_0x396434,_0x1b2e72){const _0x19050e=_0x396434[_0x155c('0x25')][_0x155c('0xc')]['getRootNames']()[_0x155c('0xb')]((_0x27bac9,_0x26f731)=>(_0x27bac9[_0x26f731]=_0x396434['data'][_0x155c('0x9')]({'rootName':_0x26f731}),_0x27bac9),{}),_0x249779=_0x396434['plugins'][_0x155c('0x9')](_0x155c('0x31'))[_0x155c('0x2c')][_0x155c('0x1')](_0x34d7f2=>({'id':_0x34d7f2['id']})),_0x1d8218=_0x396434['plugins'][_0x155c('0x9')](_0x155c('0x27'))[_0x155c('0x24')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x4c6076=_0x1b2e72['plugins'][_0x155c('0x9')](_0x155c('0x31')),_0xed88d0=_0x1b2e72[_0x155c('0x15')][_0x155c('0x9')](_0x155c('0x27'));for(const _0x3a3be4 of _0x249779)_0x4c6076['getUser'](_0x3a3be4['id'])||_0x4c6076[_0x155c('0x1c')](_0x3a3be4);_0x4c6076['me']||_0x4c6076[_0x155c('0xe')]();for(const _0x59c3d8 of _0x1d8218)_0xed88d0[_0x155c('0x0')](_0x59c3d8);_0x1b2e72[_0x155c('0x29')][_0x155c('0x1a')](_0x19050e);}(_0x37d968,_0xb0da41),_0xb0da41[_0x155c('0x26')](_0x53ccbd?_0x155c('0x10'):_0x155c('0x23'));const _0x2b324b=_0xb0da41['data'][_0x155c('0x9')](_0xad227b);return await _0xb0da41['destroy'](),_0x2b324b;}function S(_0x2abd19,_0x5299ea){if(_0x5299ea[_0x155c('0x2d')](_0x2abd19))return!0x0;_0x5299ea[_0x155c('0xd')](_0x2abd19);const _0x2bae0a=_0x155c('0x13')==typeof _0x2abd19?_0x2abd19[_0x155c('0x1b')]||_0x2abd19[_0x155c('0x5')]:_0x2abd19;return(!_0x2bae0a||!D['includes'](_0x2bae0a))&&(!_0x2abd19[_0x155c('0x1e')]||_0x2abd19[_0x155c('0x1e')]['every'](_0x5aa80d=>S(_0x5aa80d,_0x5299ea)));}
23
+ const _0x1881=['getDataWithDiscardedSuggestions','destroy','string','CommentsRepository','document','getUser','RealTimeCollaborativeComments','every','plugins','find','TrackChangesEditing','includes','execute','model','RealTimeCollaborativeRevisionHistory','useAnonymousUser','map','name','WordCount','pluginName','editor','toolbar','TrackChangesData','filter','initialData','set','users','getSuggestions','requires','extraPlugins','trackChangesData','RealTimeCollaborativeEditing','div','context','trackChangesData.editorCreator','push','init','discardAllSuggestions','constructor','data','function','end','createElement','editorCreator','reduce','get','result','createDocumentFragment','define','addSuggestionData','config','addUser','concat','getRootNames','TrackChangesDataGetter','_adapter','getDataWithAcceptedSuggestions'];(function(_0x8edb0,_0x1881ea){const _0xec1248=function(_0xb2d772){while(--_0xb2d772){_0x8edb0['push'](_0x8edb0['shift']());}};_0xec1248(++_0x1881ea);}(_0x1881,0x66));const _0xec12=function(_0x8edb0,_0x1881ea){_0x8edb0=_0x8edb0-0x0;let _0xec1248=_0x1881[_0x8edb0];return _0xec1248;};import{Plugin as _0x1a1943}from'ckeditor5/src/core';import{CKEditorError as _0xa96633}from'ckeditor5/src/utils';import _0x3afff2 from'./trackchangesediting';const T=[_0xec12('0x24'),_0xec12('0x2d'),_0xec12('0x21')],D=[_0xec12('0x2b'),_0xec12('0x12'),'RealTimeCollaborativeTrackChanges',_0xec12('0x1a'),'Autosave',_0xec12('0x1e')];export default class v extends _0x1a1943{static get[_0xec12('0x28')](){return[_0x3afff2];}static get[_0xec12('0x1f')](){return _0xec12('0x22');}['init'](){const _0x9abb8d=this[_0xec12('0x20')];if(_0x9abb8d['config'][_0xec12('0x3')](_0xec12('0x2e'),_0x3df3a0=>_0x9abb8d[_0xec12('0x32')]['create']('',_0x3df3a0)),_0xec12('0x34')!=typeof _0x9abb8d['config'][_0xec12('0x0')](_0xec12('0x2a'))[_0xec12('0x37')])throw new _0xa96633('track-changes-data-invalid-editor-creator');}[_0xec12('0xb')](_0x43f122){return y(this['editor'],!0x0,_0x43f122);}[_0xec12('0xc')](_0x533ac2){return y(this[_0xec12('0x20')],!0x1,_0x533ac2);}}class w extends _0x1a1943{static get[_0xec12('0x1f')](){return _0xec12('0x9');}[_0xec12('0x30')](){this[_0xec12('0x1')]=_0xec12('0x35'),this['editor'][_0xec12('0x14')][_0xec12('0x0')](_0xec12('0xf'))['_adapter']={'getCommentThread':()=>new Promise(()=>{})},this['editor'][_0xec12('0x14')]['get']('TrackChangesEditing')[_0xec12('0xa')]=null;}}async function y(_0x37d0cb,_0x4a40a8,_0x1562a6){const _0xcb5329=function(_0x5e8402){const _0x1296c5={};for(const _0x262c76 of _0x5e8402[_0xec12('0x5')]['names']())T[_0xec12('0x17')](_0x262c76)||(_0x1296c5[_0x262c76]=_0x5e8402[_0xec12('0x5')]['get'](_0x262c76));const _0x246e7b=_0x5e8402[_0xec12('0x32')]['builtinPlugins']||[],_0x305acb=_0x1296c5['extraPlugins']||[];delete _0x1296c5[_0xec12('0x29')];const _0x444e2e=_0x246e7b[_0xec12('0x7')](_0x1296c5[_0xec12('0x14')])[_0xec12('0x7')](_0x305acb)[_0xec12('0x1c')](_0x138aa9=>_0xec12('0xe')==typeof _0x138aa9?_0x246e7b[_0xec12('0x15')](_0x5f4c4e=>_0x5f4c4e[_0xec12('0x1f')]==_0x138aa9):_0x138aa9),_0x412ca0=Array['from'](new Set(_0x444e2e));return _0x1296c5[_0xec12('0x14')]=_0x412ca0[_0xec12('0x23')](_0x55d6d8=>S(_0x55d6d8,new Set())),_0x1296c5[_0xec12('0x14')]['push'](w),_0x1296c5[_0xec12('0x14')][_0xec12('0x2f')](_0x3afff2),_0x1296c5;}(_0x37d0cb),_0x7fac70=document[_0xec12('0x2')](),_0x17ec12=_0x37d0cb['config']['get'](_0xec12('0x2a'))[_0xec12('0x37')],_0x151057=await _0x17ec12(_0xcb5329,()=>function(_0x2549e5){const _0x271b3d=document[_0xec12('0x36')](_0xec12('0x2c'));return _0x2549e5['appendChild'](_0x271b3d),_0x271b3d;}(_0x7fac70));!function(_0x4603ee,_0x56bd3c){const _0x4ae09e=_0x4603ee[_0xec12('0x19')][_0xec12('0x10')][_0xec12('0x8')]()[_0xec12('0x38')]((_0x549eb4,_0x362eae)=>(_0x549eb4[_0x362eae]=_0x4603ee[_0xec12('0x33')][_0xec12('0x0')]({'rootName':_0x362eae}),_0x549eb4),{}),_0x987dbf=_0x4603ee[_0xec12('0x14')]['get']('Users')[_0xec12('0x26')]['map'](_0xdeab8b=>({'id':_0xdeab8b['id']})),_0x3c6732=_0x4603ee[_0xec12('0x14')][_0xec12('0x0')](_0xec12('0x16'))[_0xec12('0x27')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x5eadd8=_0x56bd3c[_0xec12('0x14')][_0xec12('0x0')]('Users'),_0x1f1657=_0x56bd3c[_0xec12('0x14')][_0xec12('0x0')]('TrackChangesEditing');for(const _0x328bf3 of _0x987dbf)_0x5eadd8[_0xec12('0x11')](_0x328bf3['id'])||_0x5eadd8[_0xec12('0x6')](_0x328bf3);_0x5eadd8['me']||_0x5eadd8[_0xec12('0x1b')]();for(const _0x643685 of _0x3c6732)_0x1f1657[_0xec12('0x4')](_0x643685);_0x56bd3c['data'][_0xec12('0x25')](_0x4ae09e);}(_0x37d0cb,_0x151057),_0x151057[_0xec12('0x18')](_0x4a40a8?'acceptAllSuggestions':_0xec12('0x31'));const _0x117046=_0x151057['data']['get'](_0x1562a6);return await _0x151057[_0xec12('0xd')](),_0x117046;}function S(_0xe68a79,_0x4029f2){if(_0x4029f2['has'](_0xe68a79))return!0x0;_0x4029f2['add'](_0xe68a79);const _0x1aa87b=_0xec12('0x34')==typeof _0xe68a79?_0xe68a79[_0xec12('0x1f')]||_0xe68a79[_0xec12('0x1d')]:_0xe68a79;return(!_0x1aa87b||!D['includes'](_0x1aa87b))&&(!_0xe68a79[_0xec12('0x28')]||_0xe68a79[_0xec12('0x28')][_0xec12('0x13')](_0x3953f0=>S(_0x3953f0,_0x4029f2)));}