@ckeditor/ckeditor5-track-changes 34.1.0 → 34.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/build/track-changes.js +2 -2
  2. package/build/translations/az.js +1 -1
  3. package/build/translations/cs.js +1 -1
  4. package/build/translations/da.js +1 -1
  5. package/build/translations/de.js +1 -1
  6. package/build/translations/el.js +1 -1
  7. package/build/translations/en-au.js +1 -1
  8. package/build/translations/es.js +1 -1
  9. package/build/translations/et.js +1 -1
  10. package/build/translations/fr.js +1 -1
  11. package/build/translations/gl.js +1 -1
  12. package/build/translations/hi.js +1 -1
  13. package/build/translations/hr.js +1 -1
  14. package/build/translations/id.js +1 -1
  15. package/build/translations/it.js +1 -1
  16. package/build/translations/lv.js +1 -0
  17. package/build/translations/nl.js +1 -1
  18. package/build/translations/pl.js +1 -1
  19. package/build/translations/pt-br.js +1 -1
  20. package/build/translations/sk.js +1 -1
  21. package/build/translations/sr-latn.js +1 -1
  22. package/build/translations/sr.js +1 -1
  23. package/build/translations/tk.js +1 -1
  24. package/build/translations/tr.js +1 -1
  25. package/build/translations/zh-cn.js +1 -1
  26. package/build/translations/zh.js +1 -1
  27. package/lang/contexts.json +2 -0
  28. package/lang/translations/az.po +10 -0
  29. package/lang/translations/cs.po +12 -0
  30. package/lang/translations/da.po +10 -0
  31. package/lang/translations/de.po +10 -0
  32. package/lang/translations/el.po +10 -0
  33. package/lang/translations/en-au.po +10 -0
  34. package/lang/translations/en.po +10 -0
  35. package/lang/translations/es.po +29 -1
  36. package/lang/translations/et.po +10 -0
  37. package/lang/translations/fr.po +29 -1
  38. package/lang/translations/gl.po +10 -0
  39. package/lang/translations/hi.po +10 -0
  40. package/lang/translations/hr.po +11 -0
  41. package/lang/translations/id.po +9 -0
  42. package/lang/translations/it.po +29 -1
  43. package/lang/translations/lv.po +415 -0
  44. package/lang/translations/nl.po +10 -0
  45. package/lang/translations/pl.po +12 -0
  46. package/lang/translations/pt-br.po +29 -1
  47. package/lang/translations/sk.po +12 -0
  48. package/lang/translations/sr-latn.po +11 -0
  49. package/lang/translations/sr.po +11 -0
  50. package/lang/translations/tk.po +10 -0
  51. package/lang/translations/tr.po +10 -0
  52. package/lang/translations/zh-cn.po +9 -0
  53. package/lang/translations/zh.po +9 -0
  54. package/package.json +3 -3
  55. package/src/commands/acceptallsuggestionscommand.js +1 -1
  56. package/src/commands/acceptselectedsuggestionscommand.js +1 -1
  57. package/src/commands/acceptsuggestioncommand.js +1 -1
  58. package/src/commands/discardallsuggestionscommand.js +1 -1
  59. package/src/commands/discardselectedsuggestionscommand.js +1 -1
  60. package/src/commands/discardsuggestioncommand.js +1 -1
  61. package/src/commands/trackchangescommand.js +1 -1
  62. package/src/integrations/alignment.js +1 -1
  63. package/src/integrations/basicstyles.js +1 -1
  64. package/src/integrations/blockquote.js +1 -1
  65. package/src/integrations/ckbox.js +23 -0
  66. package/src/integrations/codeblock.js +1 -1
  67. package/src/integrations/comments.js +1 -1
  68. package/src/integrations/deletecommand.js +1 -1
  69. package/src/integrations/entercommand.js +1 -1
  70. package/src/integrations/font.js +1 -1
  71. package/src/integrations/heading.js +1 -1
  72. package/src/integrations/highlight.js +1 -1
  73. package/src/integrations/horizontalline.js +1 -1
  74. package/src/integrations/htmlembed.js +23 -0
  75. package/src/integrations/image.js +1 -1
  76. package/src/integrations/indent.js +1 -1
  77. package/src/integrations/inputcommand.js +1 -1
  78. package/src/integrations/link.js +1 -1
  79. package/src/integrations/list.js +1 -1
  80. package/src/integrations/mediaembed.js +1 -1
  81. package/src/integrations/mention.js +1 -1
  82. package/src/integrations/pagebreak.js +1 -1
  83. package/src/integrations/paragraph.js +1 -1
  84. package/src/integrations/removeformat.js +1 -1
  85. package/src/integrations/restrictededitingmode.js +1 -1
  86. package/src/integrations/shiftentercommand.js +1 -1
  87. package/src/integrations/standardeditingmode.js +1 -1
  88. package/src/integrations/table.js +1 -1
  89. package/src/integrations/tableclipboard.js +1 -1
  90. package/src/integrations/tableheadings.js +1 -1
  91. package/src/integrations/tablemergesplit.js +1 -1
  92. package/src/integrations/title.js +1 -1
  93. package/src/integrations/undo.js +1 -1
  94. package/src/integrations/utils.js +1 -1
  95. package/src/suggestion.js +1 -1
  96. package/src/suggestiondescriptionfactory.js +1 -1
  97. package/src/trackchanges.js +1 -1
  98. package/src/trackchangesdata.js +1 -1
  99. package/src/trackchangesediting.js +1 -1
  100. package/src/trackchangesui.js +1 -1
  101. package/src/ui/suggestioncontroller.js +1 -1
  102. package/src/ui/view/basesuggestionthreadview.js +1 -1
  103. package/src/ui/view/suggestionthreadview.js +1 -1
  104. package/src/utils/common-translations.js +1 -1
  105. package/src/utils/getrangesofblockgroups.js +23 -0
  106. package/src/utils/getselectedsuggestions.js +1 -1
  107. package/src/utils/hashobject.js +1 -1
  108. package/src/utils/normalizedescription.js +1 -1
  109. package/src/utils/sortsuggestions.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe202=['conversion','_descriptionFactory','showSuggestionHighlights','locale','MediaEmbedEditing','dataDowncast','plugins','elementToElement','ELEMENT_MEDIA','high','mediaEmbed','afterInit','registerElementLabel','stop','div','get','enableCommand','TrackChangesEditing','downcastDispatcher','createEmptyElement','options','attribute:url:media','media'];(function(_0x279d6c,_0xe20245){const _0x4745cb=function(_0x353cdd){while(--_0x353cdd){_0x279d6c['push'](_0x279d6c['shift']());}};_0x4745cb(++_0xe20245);}(_0xe202,0x10a));const _0x4745=function(_0x279d6c,_0xe20245){_0x279d6c=_0x279d6c-0x0;let _0x4745cb=_0xe202[_0x279d6c];return _0x4745cb;};import{Plugin as _0x143cb7}from'ckeditor5/src/core';import{getTranslation as _0x80f8a0}from'../utils/common-translations';export default class Y extends _0x143cb7{[_0x4745('0x15')](){const _0x26dd46=this['editor'];if(!_0x26dd46[_0x4745('0x10')]['has'](_0x4745('0xe')))return;const _0x50baec=_0x26dd46[_0x4745('0x10')][_0x4745('0x2')](_0x4745('0x4')),_0x58929d=_0x26dd46[_0x4745('0xd')];_0x50baec[_0x4745('0x3')](_0x4745('0x14')),_0x50baec[_0x4745('0xb')][_0x4745('0x16')](_0x4745('0x9'),_0x153282=>_0x80f8a0(_0x58929d,_0x4745('0x12'),_0x153282)),_0x26dd46[_0x4745('0xa')]['for'](_0x4745('0xf'))[_0x4745('0x11')]({'model':_0x4745('0x9'),'view':(_0x5c6e52,{writer:_0x1ab898,options:_0x1b7938})=>{if(_0x1b7938[_0x4745('0xc')])return _0x1ab898[_0x4745('0x6')](_0x4745('0x1'));},'converterPriority':'high'}),_0x26dd46['data'][_0x4745('0x5')]['on'](_0x4745('0x8'),(_0x5a4ea3,_0xe43e7e,_0x538f0c)=>{_0x538f0c[_0x4745('0x7')][_0x4745('0xc')]&&_0x5a4ea3[_0x4745('0x0')]();},{'priority':_0x4745('0x13')});}}
23
+ const _0x16b4=['attribute:url:media','get','elementToElement','high','afterInit','enableCommand','conversion','dataDowncast','MediaEmbedEditing','locale','div','data','plugins','options','stop','createEmptyElement','has','editor','for','showSuggestionHighlights','media','_descriptionFactory','downcastDispatcher','TrackChangesEditing'];(function(_0x580c63,_0x16b45a){const _0x5f4e69=function(_0x70718c){while(--_0x70718c){_0x580c63['push'](_0x580c63['shift']());}};_0x5f4e69(++_0x16b45a);}(_0x16b4,0x1d6));const _0x5f4e=function(_0x580c63,_0x16b45a){_0x580c63=_0x580c63-0x0;let _0x5f4e69=_0x16b4[_0x580c63];return _0x5f4e69;};import{Plugin as _0x4d5d51}from'ckeditor5/src/core';import{getTranslation as _0x2da623}from'../utils/common-translations';export default class tt extends _0x4d5d51{[_0x5f4e('0xe')](){const _0x3aba3c=this[_0x5f4e('0x3')];if(!_0x3aba3c[_0x5f4e('0x16')][_0x5f4e('0x2')](_0x5f4e('0x12')))return;const _0x551941=_0x3aba3c['plugins'][_0x5f4e('0xb')](_0x5f4e('0x9')),_0x14223a=_0x3aba3c[_0x5f4e('0x13')];_0x551941[_0x5f4e('0xf')]('mediaEmbed'),_0x551941[_0x5f4e('0x7')]['registerElementLabel'](_0x5f4e('0x6'),_0x11dcb6=>_0x2da623(_0x14223a,'ELEMENT_MEDIA',_0x11dcb6)),_0x3aba3c[_0x5f4e('0x10')][_0x5f4e('0x4')](_0x5f4e('0x11'))[_0x5f4e('0xc')]({'model':_0x5f4e('0x6'),'view':(_0x4046d2,{writer:_0x4ec3f2,options:_0x135995})=>{if(_0x135995[_0x5f4e('0x5')])return _0x4ec3f2[_0x5f4e('0x1')](_0x5f4e('0x14'));},'converterPriority':_0x5f4e('0xd')}),_0x3aba3c[_0x5f4e('0x15')][_0x5f4e('0x8')]['on'](_0x5f4e('0xa'),(_0x5328a1,_0x1f4022,_0x1e319c)=>{_0x1e319c[_0x5f4e('0x17')][_0x5f4e('0x5')]&&_0x5328a1[_0x5f4e('0x0')]();},{'priority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a8c=['afterInit','has','MentionEditing','editor','plugins','mention','get'];(function(_0x408390,_0x5a8cb5){const _0x54ac93=function(_0x1bb287){while(--_0x1bb287){_0x408390['push'](_0x408390['shift']());}};_0x54ac93(++_0x5a8cb5);}(_0x5a8c,0x173));const _0x54ac=function(_0x408390,_0x5a8cb5){_0x408390=_0x408390-0x0;let _0x54ac93=_0x5a8c[_0x408390];return _0x54ac93;};import{Plugin as _0x14afb9}from'ckeditor5/src/core';export default class Z extends _0x14afb9{[_0x54ac('0x0')](){const _0x2b0ace=this[_0x54ac('0x3')];_0x2b0ace[_0x54ac('0x4')][_0x54ac('0x1')](_0x54ac('0x2'))&&_0x2b0ace[_0x54ac('0x4')][_0x54ac('0x6')]('TrackChangesEditing')['enableCommand'](_0x54ac('0x5'));}}
23
+ const _0x3968=['mention','plugins','enableCommand','TrackChangesEditing','editor','afterInit'];(function(_0x4173b0,_0x396866){const _0x164f97=function(_0x3a2239){while(--_0x3a2239){_0x4173b0['push'](_0x4173b0['shift']());}};_0x164f97(++_0x396866);}(_0x3968,0x177));const _0x164f=function(_0x4173b0,_0x396866){_0x4173b0=_0x4173b0-0x0;let _0x164f97=_0x3968[_0x4173b0];return _0x164f97;};import{Plugin as _0x54bb8a}from'ckeditor5/src/core';export default class it extends _0x54bb8a{[_0x164f('0x2')](){const _0x1e78d3=this[_0x164f('0x1')];_0x1e78d3[_0x164f('0x4')]['has']('MentionEditing')&&_0x1e78d3[_0x164f('0x4')]['get'](_0x164f('0x0'))[_0x164f('0x5')](_0x164f('0x3'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x329f=['registerElementLabel','afterInit','get','TrackChangesEditing','_descriptionFactory','ELEMENT_PAGE_BREAK','enableCommand','editor','pageBreak','PageBreakEditing','plugins'];(function(_0x83c45d,_0x329fdc){const _0x4f3ea1=function(_0x2b1320){while(--_0x2b1320){_0x83c45d['push'](_0x83c45d['shift']());}};_0x4f3ea1(++_0x329fdc);}(_0x329f,0x86));const _0x4f3e=function(_0x83c45d,_0x329fdc){_0x83c45d=_0x83c45d-0x0;let _0x4f3ea1=_0x329f[_0x83c45d];return _0x4f3ea1;};import{Plugin as _0x174b6c}from'ckeditor5/src/core';import{getTranslation as _0x34dd78}from'../utils/common-translations';export default class tt extends _0x174b6c{[_0x4f3e('0xa')](){const _0x5f56c0=this[_0x4f3e('0x5')];if(!_0x5f56c0[_0x4f3e('0x8')]['has'](_0x4f3e('0x7')))return;_0x5f56c0[_0x4f3e('0x8')][_0x4f3e('0x0')](_0x4f3e('0x1'))[_0x4f3e('0x4')](_0x4f3e('0x6'));const _0x33ad55=_0x5f56c0[_0x4f3e('0x8')][_0x4f3e('0x0')](_0x4f3e('0x1')),_0x57f24e=_0x5f56c0['locale'];_0x33ad55[_0x4f3e('0x2')][_0x4f3e('0x9')](_0x4f3e('0x6'),_0x1131a0=>_0x34dd78(_0x57f24e,_0x4f3e('0x3'),_0x1131a0));}}
23
+ const _0x4969=['locale','PageBreakEditing','get','enableCommand','editor','has','pageBreak','_descriptionFactory','TrackChangesEditing','registerElementLabel','ELEMENT_PAGE_BREAK','plugins'];(function(_0x542ea3,_0x496922){const _0x437030=function(_0x2d1e8a){while(--_0x2d1e8a){_0x542ea3['push'](_0x542ea3['shift']());}};_0x437030(++_0x496922);}(_0x4969,0x1c5));const _0x4370=function(_0x542ea3,_0x496922){_0x542ea3=_0x542ea3-0x0;let _0x437030=_0x4969[_0x542ea3];return _0x437030;};import{Plugin as _0x5ca2a5}from'ckeditor5/src/core';import{getTranslation as _0x32be7e}from'../utils/common-translations';export default class st extends _0x5ca2a5{['afterInit'](){const _0x4dccbe=this[_0x4370('0x7')];if(!_0x4dccbe['plugins'][_0x4370('0x8')](_0x4370('0x4')))return;_0x4dccbe[_0x4370('0x2')][_0x4370('0x5')]('TrackChangesEditing')[_0x4370('0x6')](_0x4370('0x9'));const _0x367332=_0x4dccbe[_0x4370('0x2')][_0x4370('0x5')](_0x4370('0xb')),_0x530cd5=_0x4dccbe[_0x4370('0x3')];_0x367332[_0x4370('0xa')][_0x4370('0x0')]('pageBreak',_0x6f6ba8=>_0x32be7e(_0x530cd5,_0x4370('0x1'),_0x6f6ba8));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4bbe=['span','insertParagraph','isBlock','checkChild','addClass','ck-suggestion-marker-split','Paragraph','createUIElement','*Insert:*\x20%0','markerName','highest','markBlockFormat','consume','markerRange','bindElementToMarker','addMarker:suggestion:insertion','afterInit','model','registerDescriptionCallback','document','registerElementLabel','TrackChangesEditing','toViewPosition','selection','isObject','data','change','commandName','isTouching','editing','parent','$text','start','format','insert','type','downcastDispatcher','insertion','ck-suggestion-marker--active','schema','mapper','isLimit','consumable','getSelectedBlocks','_descriptionFactory','locale','activeMarkers','writer','get','enableCommand','paragraph','options','has','plugins','end','nodeAfter'];(function(_0x1e769e,_0x4bbea5){const _0x42ddd3=function(_0x7a4299){while(--_0x7a4299){_0x1e769e['push'](_0x1e769e['shift']());}};_0x42ddd3(++_0x4bbea5);}(_0x4bbe,0xe4));const _0x42dd=function(_0x1e769e,_0x4bbea5){_0x1e769e=_0x1e769e-0x0;let _0x42ddd3=_0x4bbe[_0x1e769e];return _0x42ddd3;};import{Plugin as _0x34ca08}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x54facb}from'./utils';import{getTranslation as _0x18d174}from'../utils/common-translations';export default class it extends _0x34ca08{[_0x42dd('0xc')](){const _0x207795=this['editor'];if(!_0x207795[_0x42dd('0x31')][_0x42dd('0x30')](_0x42dd('0x2')))return;const _0x3a9542=_0x207795[_0x42dd('0x29')],_0x5afcba=_0x207795[_0x42dd('0x31')][_0x42dd('0x2c')](_0x42dd('0x11'));_0x5afcba[_0x42dd('0x28')][_0x42dd('0x10')](_0x42dd('0x2e'),_0x5af026=>_0x18d174(_0x3a9542,'ELEMENT_PARAGRAPH',_0x5af026)),_0x5afcba[_0x42dd('0x2d')](_0x42dd('0x2e'),(_0x460680,_0x58a97c={})=>{const _0x29e584=_0x207795['model'][_0x42dd('0xf')],_0x1c49c5=_0x58a97c[_0x42dd('0x13')]||_0x29e584[_0x42dd('0x13')],_0x1a7151=Array['from'](_0x1c49c5[_0x42dd('0x27')]())['filter'](_0x39cf2e=>function(_0x1fef88,_0x498aa6){return _0x498aa6[_0x42dd('0x37')](_0x1fef88[_0x42dd('0x1a')],_0x42dd('0x2e'))&&!_0x498aa6[_0x42dd('0x14')](_0x1fef88)&&_0x42dd('0x2e')!=_0x1fef88['name'];}(_0x39cf2e,this['editor'][_0x42dd('0xd')]['schema']));_0x207795[_0x42dd('0xd')][_0x42dd('0x16')](()=>{for(const _0x22fb99 of _0x1a7151)_0x5afcba[_0x42dd('0x7')](_0x22fb99,{'commandName':_0x42dd('0x2e'),'commandParams':[],'formatGroupId':'blockName'},_0x54facb(_0x22fb99));});}),_0x5afcba[_0x42dd('0x28')][_0x42dd('0xe')](_0xd4b7c=>{const {data:_0x438ebd}=_0xd4b7c;if(_0x438ebd&&_0x42dd('0x2e')==_0x438ebd[_0x42dd('0x17')])return{'type':_0x42dd('0x1d'),'content':_0x18d174(_0x3a9542,'*Change\x20to:*\x20%0',_0x18d174(_0x3a9542,'ELEMENT_PARAGRAPH'))};}),_0x5afcba[_0x42dd('0x2d')](_0x42dd('0x35')),_0x207795[_0x42dd('0x19')][_0x42dd('0x20')]['on'](_0x42dd('0xb'),tr(_0x207795),{'priority':_0x42dd('0x6')}),_0x207795[_0x42dd('0x15')][_0x42dd('0x20')]['on'](_0x42dd('0xb'),(_0x45c09b,_0xcfa50a,_0x101c28)=>{_0x101c28[_0x42dd('0x2f')]['showSuggestionHighlights']&&tr(_0x207795,{'showActiveMarker':!0x1})(_0x45c09b,_0xcfa50a,_0x101c28);},{'priority':_0x42dd('0x6')});const _0x202467=_0x5afcba['_descriptionFactory'];_0x202467[_0x42dd('0xe')](_0x194a35=>{if(_0x42dd('0x21')!==_0x194a35[_0x42dd('0x1f')])return;const {start:_0x32d616,end:_0x52e8a4}=_0x194a35['getFirstRange']();if(!_0x32d616[_0x42dd('0x18')](_0x52e8a4)||!_0x32d616[_0x42dd('0x33')])return;const _0x285ff7=_0x207795['model'][_0x42dd('0x23')],_0x232350=_0x32d616[_0x42dd('0x33')];return _0x285ff7[_0x42dd('0x36')](_0x232350)&&!_0x285ff7['isLimit'](_0x232350)&&_0x285ff7[_0x42dd('0x37')](_0x232350,'$text')?{'type':_0x42dd('0x21'),'content':_0x18d174(_0x3a9542,_0x42dd('0x4'),_0x202467['getItemLabel'](_0x232350['name'],0x1))}:void 0x0;});}}function tr(_0x1aefbc,{showActiveMarker:_0x55a785=!0x0}={}){return(_0x1ad5df,_0x4f0aa3,_0x5755f2)=>{const _0x4335ed=_0x1aefbc[_0x42dd('0x31')]['get'](_0x42dd('0x11')),_0x55158c=_0x4f0aa3[_0x42dd('0x9')][_0x42dd('0x1c')],_0x3b191d=_0x4f0aa3[_0x42dd('0x9')][_0x42dd('0x32')],_0x2f4b5d=_0x1aefbc[_0x42dd('0xd')][_0x42dd('0x23')];if(!_0x55158c['isTouching'](_0x3b191d)||!_0x55158c[_0x42dd('0x33')])return;const _0x225cab=_0x55158c[_0x42dd('0x33')];if(_0x2f4b5d[_0x42dd('0x36')](_0x225cab)&&!_0x2f4b5d[_0x42dd('0x25')](_0x225cab)&&_0x2f4b5d[_0x42dd('0x37')](_0x225cab,_0x42dd('0x1b'))){if(!_0x5755f2[_0x42dd('0x26')][_0x42dd('0x8')](_0x4f0aa3[_0x42dd('0x9')],_0x1ad5df['name']))return;const _0x4f0c69=_0x5755f2['writer'][_0x42dd('0x3')](_0x42dd('0x34'),{'class':_0x42dd('0x1')}),_0xc43b09=_0x5755f2[_0x42dd('0x24')][_0x42dd('0x12')](_0x3b191d);_0x55a785&&_0x4335ed[_0x42dd('0x2a')]['includes'](_0x4f0aa3[_0x42dd('0x5')])&&_0x5755f2[_0x42dd('0x2b')][_0x42dd('0x0')](_0x42dd('0x22'),_0x4f0c69),_0x5755f2[_0x42dd('0x2b')][_0x42dd('0x1e')](_0xc43b09,_0x4f0c69),_0x5755f2[_0x42dd('0x24')][_0x42dd('0xa')](_0x4f0c69,_0x4f0aa3[_0x42dd('0x5')]);}};}
23
+ const _0x363e=['toViewPosition','showSuggestionHighlights','ELEMENT_PARAGRAPH','afterInit','document','options','model','writer','registerElementLabel','TrackChangesEditing','isObject','end','locale','editing','editor','isBlock','nodeAfter','getItemLabel','mapper','parent','filter','span','registerDescriptionCallback','_descriptionFactory','has','paragraph','from','data','*Change\x20to:*\x20%0','ck-suggestion-marker--active','*Insert:*\x20%0','addMarker:suggestion:insertion','blockName','selection','name','consumable','commandName','bindElementToMarker','change','markerRange','consume','$text','markerName','type','includes','markBlockFormat','checkChild','plugins','insertion','schema','isLimit','get'];(function(_0x495e0f,_0x363ef3){const _0x47709c=function(_0x13942a){while(--_0x13942a){_0x495e0f['push'](_0x495e0f['shift']());}};_0x47709c(++_0x363ef3);}(_0x363e,0x198));const _0x4770=function(_0x495e0f,_0x363ef3){_0x495e0f=_0x495e0f-0x0;let _0x47709c=_0x363e[_0x495e0f];return _0x47709c;};import{Plugin as _0x1dfd0c}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x22e13f}from'./utils';import{getTranslation as _0x127b90}from'../utils/common-translations';export default class nt extends _0x1dfd0c{[_0x4770('0xb')](){const _0x522267=this[_0x4770('0x16')];if(!_0x522267[_0x4770('0x3')][_0x4770('0x20')]('Paragraph'))return;const _0x2c2d81=_0x522267[_0x4770('0x14')],_0x9110e1=_0x522267[_0x4770('0x3')][_0x4770('0x7')](_0x4770('0x11'));_0x9110e1[_0x4770('0x1f')][_0x4770('0x10')](_0x4770('0x21'),_0x24cc6a=>_0x127b90(_0x2c2d81,'ELEMENT_PARAGRAPH',_0x24cc6a)),_0x9110e1['enableCommand'](_0x4770('0x21'),(_0x3dedf1,_0x520155={})=>{const _0x22143b=_0x522267[_0x4770('0xe')][_0x4770('0xc')],_0x5d387f=_0x520155[_0x4770('0x29')]||_0x22143b[_0x4770('0x29')],_0x5df525=Array[_0x4770('0x22')](_0x5d387f['getSelectedBlocks']())[_0x4770('0x1c')](_0x5a4a95=>function(_0x1de454,_0x3c2a9e){return _0x3c2a9e[_0x4770('0x2')](_0x1de454[_0x4770('0x1b')],'paragraph')&&!_0x3c2a9e[_0x4770('0x12')](_0x1de454)&&_0x4770('0x21')!=_0x1de454[_0x4770('0x2a')];}(_0x5a4a95,this[_0x4770('0x16')]['model'][_0x4770('0x5')]));_0x522267[_0x4770('0xe')][_0x4770('0x2e')](()=>{for(const _0xa7244c of _0x5df525)_0x9110e1[_0x4770('0x1')](_0xa7244c,{'commandName':_0x4770('0x21'),'commandParams':[],'formatGroupId':_0x4770('0x28')},_0x22e13f(_0xa7244c));});}),_0x9110e1['_descriptionFactory'][_0x4770('0x1e')](_0x4449aa=>{const {data:_0x24aeb2}=_0x4449aa;if(_0x24aeb2&&_0x4770('0x21')==_0x24aeb2[_0x4770('0x2c')])return{'type':'format','content':_0x127b90(_0x2c2d81,_0x4770('0x24'),_0x127b90(_0x2c2d81,_0x4770('0xa')))};}),_0x9110e1['enableCommand']('insertParagraph'),_0x522267[_0x4770('0x15')]['downcastDispatcher']['on'](_0x4770('0x27'),tr(_0x522267),{'priority':'highest'}),_0x522267[_0x4770('0x23')]['downcastDispatcher']['on'](_0x4770('0x27'),(_0x278e36,_0x4050b8,_0xc9ce5e)=>{_0xc9ce5e[_0x4770('0xd')][_0x4770('0x9')]&&tr(_0x522267,{'showActiveMarker':!0x1})(_0x278e36,_0x4050b8,_0xc9ce5e);},{'priority':'highest'});const _0x32e3c5=_0x9110e1[_0x4770('0x1f')];_0x32e3c5['registerDescriptionCallback'](_0x42aeb2=>{if(_0x4770('0x4')!==_0x42aeb2[_0x4770('0x33')])return;const {start:_0x4a2bdf,end:_0x322666}=_0x42aeb2['getFirstRange']();if(!_0x4a2bdf['isTouching'](_0x322666)||!_0x4a2bdf[_0x4770('0x18')])return;const _0x55b84c=_0x522267[_0x4770('0xe')]['schema'],_0x5c94c6=_0x4a2bdf[_0x4770('0x18')];return _0x55b84c[_0x4770('0x17')](_0x5c94c6)&&!_0x55b84c['isLimit'](_0x5c94c6)&&_0x55b84c[_0x4770('0x2')](_0x5c94c6,_0x4770('0x31'))?{'type':'insertion','content':_0x127b90(_0x2c2d81,_0x4770('0x26'),_0x32e3c5[_0x4770('0x19')](_0x5c94c6[_0x4770('0x2a')],0x1))}:void 0x0;});}}function tr(_0x95242e,{showActiveMarker:_0x48f827=!0x0}={}){return(_0x231ac1,_0xe33b34,_0x2144fd)=>{const _0x74cdee=_0x95242e[_0x4770('0x3')]['get'](_0x4770('0x11')),_0x40d60e=_0xe33b34[_0x4770('0x2f')]['start'],_0x5c6a73=_0xe33b34[_0x4770('0x2f')][_0x4770('0x13')],_0x4c6d24=_0x95242e['model'][_0x4770('0x5')];if(!_0x40d60e['isTouching'](_0x5c6a73)||!_0x40d60e[_0x4770('0x18')])return;const _0x1dc545=_0x40d60e[_0x4770('0x18')];if(_0x4c6d24[_0x4770('0x17')](_0x1dc545)&&!_0x4c6d24[_0x4770('0x6')](_0x1dc545)&&_0x4c6d24[_0x4770('0x2')](_0x1dc545,_0x4770('0x31'))){if(!_0x2144fd[_0x4770('0x2b')][_0x4770('0x30')](_0xe33b34[_0x4770('0x2f')],_0x231ac1[_0x4770('0x2a')]))return;const _0x589bd4=_0x2144fd[_0x4770('0xf')]['createUIElement'](_0x4770('0x1d'),{'class':'ck-suggestion-marker-split'}),_0x317bbb=_0x2144fd[_0x4770('0x1a')][_0x4770('0x8')](_0x5c6a73);_0x48f827&&_0x74cdee['activeMarkers'][_0x4770('0x0')](_0xe33b34[_0x4770('0x32')])&&_0x2144fd['writer']['addClass'](_0x4770('0x25'),_0x589bd4),_0x2144fd[_0x4770('0xf')]['insert'](_0x317bbb,_0x589bd4),_0x2144fd['mapper'][_0x4770('0x2d')](_0x589bd4,_0xe33b34[_0x4770('0x32')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d98=['getAttributes','locale','get','from','commandName','plugins','isCollapsed','getAttributeProperties','*Remove\x20all\x20formatting*','change','model','removeFormat','document','_descriptionFactory','editor','enableCommand','TrackChangesEditing','afterInit','schema','format','isFormatting'];(function(_0x140f3c,_0x2d98c9){const _0x58a3c1=function(_0x37982d){while(--_0x37982d){_0x140f3c['push'](_0x140f3c['shift']());}};_0x58a3c1(++_0x2d98c9);}(_0x2d98,0x69));const _0x58a3=function(_0x140f3c,_0x2d98c9){_0x140f3c=_0x140f3c-0x0;let _0x58a3c1=_0x2d98[_0x140f3c];return _0x58a3c1;};import{Plugin as _0x37b6c3}from'ckeditor5/src/core';import{getTranslation as _0x7d83fe}from'../utils/common-translations';export default class st extends _0x37b6c3{[_0x58a3('0x11')](){const _0xdacb50=this[_0x58a3('0xe')];if(!_0xdacb50[_0x58a3('0x5')]['has']('RemoveFormatEditing'))return;const _0x58fec8=_0xdacb50['plugins'][_0x58a3('0x2')](_0x58a3('0x10'));_0x58fec8[_0x58a3('0xf')](_0x58a3('0xb'),_0x2f56ac=>{const _0x45195d=_0xdacb50['model'][_0x58a3('0xc')]['selection'];_0x45195d[_0x58a3('0x6')]?_0x2f56ac():_0xdacb50['model'][_0x58a3('0x9')](()=>{const _0xfd8084=Array[_0x58a3('0x3')](_0x45195d['getRanges']());for(const _0x3e3a23 of _0xfd8084)for(const _0x338ce6 of _0x3e3a23['getItems']())oo(_0x338ce6,_0xdacb50[_0x58a3('0xa')][_0x58a3('0x12')])&&_0x58fec8['markInlineFormat'](_0xdacb50[_0x58a3('0xa')]['createRangeOn'](_0x338ce6),{'commandName':_0x58a3('0xb'),'commandParams':[]});});}),_0x58fec8[_0x58a3('0xd')]['registerDescriptionCallback'](_0x328d9a=>{const {data:_0x391190}=_0x328d9a;if(_0x391190&&_0x58a3('0xb')==_0x391190[_0x58a3('0x4')])return{'type':_0x58a3('0x13'),'content':_0x7d83fe(_0xdacb50[_0x58a3('0x1')],_0x58a3('0x8'))};});}}function oo(_0x1765ed,_0x4185c3){for(const [_0x316e1b]of _0x1765ed[_0x58a3('0x0')]()){const _0x54ef0a=_0x4185c3[_0x58a3('0x7')](_0x316e1b);if(_0x54ef0a&&_0x54ef0a[_0x58a3('0x14')])return!0x0;}return!0x1;}
23
+ const _0x15d9=['locale','change','model','plugins','isCollapsed','commandName','*Remove\x20all\x20formatting*','_descriptionFactory','createRangeOn','from','TrackChangesEditing','registerDescriptionCallback','document','getRanges','getAttributes','removeFormat','isFormatting','getItems','get','markInlineFormat','schema','getAttributeProperties','afterInit'];(function(_0x29a42c,_0x15d975){const _0x316ab3=function(_0x3123d9){while(--_0x3123d9){_0x29a42c['push'](_0x29a42c['shift']());}};_0x316ab3(++_0x15d975);}(_0x15d9,0x113));const _0x316a=function(_0x29a42c,_0x15d975){_0x29a42c=_0x29a42c-0x0;let _0x316ab3=_0x15d9[_0x29a42c];return _0x316ab3;};import{Plugin as _0x281bf4}from'ckeditor5/src/core';import{getTranslation as _0x42f4ff}from'../utils/common-translations';export default class ot extends _0x281bf4{[_0x316a('0x0')](){const _0x58d3f7=this['editor'];if(!_0x58d3f7[_0x316a('0x4')]['has']('RemoveFormatEditing'))return;const _0x37885a=_0x58d3f7[_0x316a('0x4')][_0x316a('0x13')](_0x316a('0xb'));_0x37885a['enableCommand'](_0x316a('0x10'),_0x2c3f5b=>{const _0x56bb12=_0x58d3f7[_0x316a('0x3')][_0x316a('0xd')]['selection'];_0x56bb12[_0x316a('0x5')]?_0x2c3f5b():_0x58d3f7[_0x316a('0x3')][_0x316a('0x2')](()=>{const _0x2ed231=Array[_0x316a('0xa')](_0x56bb12[_0x316a('0xe')]());for(const _0x4a97fe of _0x2ed231)for(const _0x36b186 of _0x4a97fe[_0x316a('0x12')]())ro(_0x36b186,_0x58d3f7[_0x316a('0x3')][_0x316a('0x15')])&&_0x37885a[_0x316a('0x14')](_0x58d3f7[_0x316a('0x3')][_0x316a('0x9')](_0x36b186),{'commandName':_0x316a('0x10'),'commandParams':[]});});}),_0x37885a[_0x316a('0x8')][_0x316a('0xc')](_0x3fede6=>{const {data:_0x389edd}=_0x3fede6;if(_0x389edd&&'removeFormat'==_0x389edd[_0x316a('0x6')])return{'type':'format','content':_0x42f4ff(_0x58d3f7[_0x316a('0x1')],_0x316a('0x7'))};});}}function ro(_0x56fc72,_0x39791d){for(const [_0x1b73ab]of _0x56fc72[_0x316a('0xf')]()){const _0x453cea=_0x39791d[_0x316a('0x16')](_0x1b73ab);if(_0x453cea&&_0x453cea[_0x316a('0x11')])return!0x0;}return!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3813=['enableCommand','RestrictedEditingModeEditing','goToNextRestrictedEditingException','trackChanges','goToPreviousRestrictedEditingException','editor','get','plugins','has','acceptSelectedSuggestions','acceptAllSuggestions','acceptSuggestion','discardSelectedSuggestions','discardSuggestion','afterInit'];(function(_0x525132,_0x3813ba){const _0x4a91bc=function(_0x41fa91){while(--_0x41fa91){_0x525132['push'](_0x525132['shift']());}};_0x4a91bc(++_0x3813ba);}(_0x3813,0x1be));const _0x4a91=function(_0x525132,_0x3813ba){_0x525132=_0x525132-0x0;let _0x4a91bc=_0x3813[_0x525132];return _0x4a91bc;};import{Plugin as _0x2a33d6}from'ckeditor5/src/core';export default class nt extends _0x2a33d6{[_0x4a91('0x3')](){const _0x573af3=this[_0x4a91('0x9')];if(!_0x573af3['plugins'][_0x4a91('0xc')](_0x4a91('0x5')))return;const _0x1b1618=_0x573af3[_0x4a91('0xb')][_0x4a91('0xa')]('TrackChangesEditing');_0x1b1618[_0x4a91('0x4')](_0x4a91('0x8')),_0x1b1618[_0x4a91('0x4')](_0x4a91('0x6'));const _0x3446a9=_0x573af3['plugins'][_0x4a91('0xa')](_0x4a91('0x5'));_0x3446a9[_0x4a91('0x4')](_0x4a91('0x7')),_0x3446a9[_0x4a91('0x4')](_0x4a91('0x0')),_0x3446a9[_0x4a91('0x4')](_0x4a91('0x2')),_0x3446a9['enableCommand'](_0x4a91('0xe')),_0x3446a9[_0x4a91('0x4')]('discardAllSuggestions'),_0x3446a9[_0x4a91('0x4')](_0x4a91('0xd')),_0x3446a9[_0x4a91('0x4')](_0x4a91('0x1'));}}
23
+ const _0x58ae=['acceptSelectedSuggestions','RestrictedEditingModeEditing','trackChanges','editor','TrackChangesEditing','plugins','discardSuggestion','discardSelectedSuggestions','discardAllSuggestions','enableCommand','goToPreviousRestrictedEditingException','afterInit','acceptAllSuggestions','has','goToNextRestrictedEditingException'];(function(_0x9e33f8,_0x58ae08){const _0x5f21a3=function(_0xbfc863){while(--_0xbfc863){_0x9e33f8['push'](_0x9e33f8['shift']());}};_0x5f21a3(++_0x58ae08);}(_0x58ae,0x8d));const _0x5f21=function(_0x9e33f8,_0x58ae08){_0x9e33f8=_0x9e33f8-0x0;let _0x5f21a3=_0x58ae[_0x9e33f8];return _0x5f21a3;};import{Plugin as _0x1d5afb}from'ckeditor5/src/core';export default class et extends _0x1d5afb{[_0x5f21('0x5')](){const _0x2e120a=this[_0x5f21('0xc')];if(!_0x2e120a[_0x5f21('0xe')][_0x5f21('0x7')](_0x5f21('0xa')))return;const _0x6af53b=_0x2e120a[_0x5f21('0xe')]['get'](_0x5f21('0xd'));_0x6af53b['enableCommand'](_0x5f21('0x4')),_0x6af53b[_0x5f21('0x3')](_0x5f21('0x8'));const _0xe0a4cc=_0x2e120a[_0x5f21('0xe')]['get'](_0x5f21('0xa'));_0xe0a4cc[_0x5f21('0x3')](_0x5f21('0xb')),_0xe0a4cc[_0x5f21('0x3')]('acceptSuggestion'),_0xe0a4cc[_0x5f21('0x3')](_0x5f21('0x0')),_0xe0a4cc[_0x5f21('0x3')](_0x5f21('0x6')),_0xe0a4cc[_0x5f21('0x3')](_0x5f21('0x2')),_0xe0a4cc[_0x5f21('0x3')](_0x5f21('0x9')),_0xe0a4cc[_0x5f21('0x3')](_0x5f21('0x1'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe723=['editing','registerElementLabel','writer','high','model','editor','bindElementToMarker','insert','deletion','markerName','data','addClass','addMarker:suggestion','addMarker:suggestion:deletion','mapper','element','split','name','plugins','markerRange','createUIElement','showSuggestionHighlights','ck-suggestion-marker--active','toViewPosition','options','activeMarkers','requires','TrackChangesEditing','test','enableCommand','init','_descriptionFactory','get','consumable','shiftEnter','downcastDispatcher','softBreak','span'];(function(_0x2ce8d9,_0xe7236b){const _0x52efca=function(_0x41378d){while(--_0x41378d){_0x2ce8d9['push'](_0x2ce8d9['shift']());}};_0x52efca(++_0xe7236b);}(_0xe723,0x120));const _0x52ef=function(_0x2ce8d9,_0xe7236b){_0x2ce8d9=_0x2ce8d9-0x0;let _0x52efca=_0xe723[_0x2ce8d9];return _0x52efca;};import{Plugin as _0x39706a}from'ckeditor5/src/core';import{ShiftEnter as _0x43442e}from'ckeditor5/src/enter';import{getTranslation as _0x3fe4c9}from'../utils/common-translations';export default class ot extends _0x39706a{static get[_0x52ef('0x4')](){return[_0x43442e];}[_0x52ef('0x8')](){const _0xbbeec4=this[_0x52ef('0x15')],_0x593213=_0xbbeec4[_0x52ef('0x22')][_0x52ef('0xa')](_0x52ef('0x5'));_0x593213[_0x52ef('0x7')](_0x52ef('0xc')),_0xbbeec4[_0x52ef('0x10')][_0x52ef('0xd')]['on']('addMarker:suggestion:insertion',re(_0xbbeec4),{'priority':_0x52ef('0x13')}),_0xbbeec4[_0x52ef('0x10')][_0x52ef('0xd')]['on'](_0x52ef('0x1d'),re(_0xbbeec4),{'priority':_0x52ef('0x13')}),_0xbbeec4[_0x52ef('0x1a')]['downcastDispatcher']['on'](_0x52ef('0x1c'),(_0x32ac0e,_0x3d125a,_0x31f983)=>{_0x31f983[_0x52ef('0x2')][_0x52ef('0x25')]&&re(_0xbbeec4,{'showActiveMarker':!0x1})(_0x32ac0e,_0x3d125a,_0x31f983);}),_0x593213[_0x52ef('0x9')][_0x52ef('0x11')](_0x52ef('0xe'),_0x1f482c=>_0x3fe4c9(_0xbbeec4['locale'],'ELEMENT_LINE_BREAK',_0x1f482c));}}function re(_0x5772dd,{showActiveMarker:_0x62d355=!0x0}={}){return(_0x2e5fbe,_0x157b3a,_0x7534f3)=>{const _0x1ce18c=_0x5772dd['plugins'][_0x52ef('0xa')]('TrackChangesEditing');if(!_0x7534f3[_0x52ef('0xb')][_0x52ef('0x6')](_0x157b3a[_0x52ef('0x23')],_0x2e5fbe[_0x52ef('0x21')]))return;const _0x1058b2=_0x5772dd[_0x52ef('0x14')];for(const _0x1c165e of _0x157b3a[_0x52ef('0x23')]['getItems']()){if(!_0x1c165e['is'](_0x52ef('0x1f'),_0x52ef('0xe')))continue;const _0x21a047=_0x52ef('0x18')==_0x157b3a[_0x52ef('0x19')][_0x52ef('0x20')](':')[0x1]?'merge':_0x52ef('0x20'),_0x35988b=_0x7534f3[_0x52ef('0x12')][_0x52ef('0x24')](_0x52ef('0xf'),{'class':'ck-suggestion-marker-'+_0x21a047}),_0x24d1bb=_0x7534f3[_0x52ef('0x1e')][_0x52ef('0x1')](_0x1058b2['createPositionBefore'](_0x1c165e));_0x62d355&&_0x1ce18c[_0x52ef('0x3')]['includes'](_0x157b3a[_0x52ef('0x19')])&&_0x7534f3[_0x52ef('0x12')][_0x52ef('0x1b')](_0x52ef('0x0'),_0x35988b),_0x7534f3['writer'][_0x52ef('0x17')](_0x24d1bb,_0x35988b),_0x7534f3['mapper'][_0x52ef('0x16')](_0x35988b,_0x157b3a['markerName']);}};}
23
+ const _0x23ff=['element','markerName','addMarker:suggestion:deletion','softBreak','getItems','showSuggestionHighlights','editing','insert','split','addMarker:suggestion:insertion','editor','addClass','test','options','ck-suggestion-marker--active','consumable','init','_descriptionFactory','mapper','name','addMarker:suggestion','locale','ELEMENT_LINE_BREAK','model','get','markerRange','TrackChangesEditing','plugins','registerElementLabel','activeMarkers','deletion','createPositionBefore','writer','merge','downcastDispatcher','bindElementToMarker','high','span'];(function(_0x38c4bd,_0x23ffae){const _0x44653c=function(_0x3944fe){while(--_0x3944fe){_0x38c4bd['push'](_0x38c4bd['shift']());}};_0x44653c(++_0x23ffae);}(_0x23ff,0x152));const _0x4465=function(_0x38c4bd,_0x23ffae){_0x38c4bd=_0x38c4bd-0x0;let _0x44653c=_0x23ff[_0x38c4bd];return _0x44653c;};import{Plugin as _0x122341}from'ckeditor5/src/core';import{ShiftEnter as _0x511536}from'ckeditor5/src/enter';import{getTranslation as _0x42d52d}from'../utils/common-translations';export default class rt extends _0x122341{static get['requires'](){return[_0x511536];}[_0x4465('0x14')](){const _0xbf5713=this[_0x4465('0xe')],_0x342b98=_0xbf5713[_0x4465('0x1f')][_0x4465('0x1c')](_0x4465('0x1e'));_0x342b98['enableCommand']('shiftEnter'),_0xbf5713['editing'][_0x4465('0x0')]['on'](_0x4465('0xd'),re(_0xbf5713),{'priority':_0x4465('0x2')}),_0xbf5713[_0x4465('0xa')][_0x4465('0x0')]['on'](_0x4465('0x6'),re(_0xbf5713),{'priority':_0x4465('0x2')}),_0xbf5713['data'][_0x4465('0x0')]['on'](_0x4465('0x18'),(_0x5dede0,_0xc4c591,_0x266df4)=>{_0x266df4[_0x4465('0x11')][_0x4465('0x9')]&&re(_0xbf5713,{'showActiveMarker':!0x1})(_0x5dede0,_0xc4c591,_0x266df4);}),_0x342b98[_0x4465('0x15')][_0x4465('0x20')](_0x4465('0x7'),_0x1dd5bb=>_0x42d52d(_0xbf5713[_0x4465('0x19')],_0x4465('0x1a'),_0x1dd5bb));}}function re(_0x1dcd5f,{showActiveMarker:_0x3d9c04=!0x0}={}){return(_0x24a83e,_0x50fb1c,_0x14787c)=>{const _0x403ad0=_0x1dcd5f['plugins'][_0x4465('0x1c')](_0x4465('0x1e'));if(!_0x14787c[_0x4465('0x13')][_0x4465('0x10')](_0x50fb1c[_0x4465('0x1d')],_0x24a83e[_0x4465('0x17')]))return;const _0x133e58=_0x1dcd5f[_0x4465('0x1b')];for(const _0x1da682 of _0x50fb1c['markerRange'][_0x4465('0x8')]()){if(!_0x1da682['is'](_0x4465('0x4'),_0x4465('0x7')))continue;const _0x47b955=_0x4465('0x22')==_0x50fb1c[_0x4465('0x5')][_0x4465('0xc')](':')[0x1]?_0x4465('0x25'):_0x4465('0xc'),_0x6b2115=_0x14787c[_0x4465('0x24')]['createUIElement'](_0x4465('0x3'),{'class':'ck-suggestion-marker-'+_0x47b955}),_0x4e2692=_0x14787c[_0x4465('0x16')]['toViewPosition'](_0x133e58[_0x4465('0x23')](_0x1da682));_0x3d9c04&&_0x403ad0[_0x4465('0x21')]['includes'](_0x50fb1c['markerName'])&&_0x14787c[_0x4465('0x24')][_0x4465('0xf')](_0x4465('0x12'),_0x6b2115),_0x14787c['writer'][_0x4465('0xb')](_0x4e2692,_0x6b2115),_0x14787c[_0x4465('0x16')][_0x4465('0x1')](_0x6b2115,_0x50fb1c[_0x4465('0x5')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x21d8=['forceValue','_descriptionFactory','plugins','markInlineFormat','FORMAT_RESTRICTED_DISABLED','editor','getRanges','selection','format','StandardEditingModeEditing','get','locale','value','registerDescriptionCallback','restrictedEditingException','commands'];(function(_0x408c97,_0x21d8ae){const _0x1f534b=function(_0x4e8198){while(--_0x4e8198){_0x408c97['push'](_0x408c97['shift']());}};_0x1f534b(++_0x21d8ae);}(_0x21d8,0x173));const _0x1f53=function(_0x408c97,_0x21d8ae){_0x408c97=_0x408c97-0x0;let _0x1f534b=_0x21d8[_0x408c97];return _0x1f534b;};import{Plugin as _0x485193}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x554da0}from'./utils';import{getTranslation as _0x297143}from'../utils/common-translations';export default class et extends _0x485193{['afterInit'](){const _0x1a794f=this[_0x1f53('0x2')],_0x2eeec9=_0x1a794f['model'],_0x44a2c0=_0x1a794f[_0x1f53('0x8')];if(!_0x1a794f[_0x1f53('0xf')]['has'](_0x1f53('0x6')))return;const _0x1ecc28=_0x1a794f['plugins'][_0x1f53('0x7')]('TrackChangesEditing'),_0x59c8f5=_0x1f53('0xb'),_0x4554c4=_0x1a794f[_0x1f53('0xc')][_0x1f53('0x7')](_0x59c8f5);_0x1ecc28['enableCommand'](_0x59c8f5,(_0x50939f,_0xf5e0e={})=>{const _0x5521ae=_0x2eeec9['document'][_0x1f53('0x4')];if(_0x5521ae['isCollapsed'])return void _0x50939f(_0xf5e0e);const _0x3a4fbe=void 0x0!==_0xf5e0e['forceValue']?_0xf5e0e['forceValue']:!_0x4554c4[_0x1f53('0x9')];_0x2eeec9['change'](()=>{const _0x1f2a43=Array['from'](_0x5521ae[_0x1f53('0x3')]());for(const _0x5df499 of _0x1f2a43){const _0x39b29c=_0x3a4fbe?[_0x5df499]:_0x554da0(_0x59c8f5,_0x5df499,_0x2eeec9);for(const _0x3bede5 of _0x39b29c)_0x1ecc28[_0x1f53('0x0')](_0x3bede5,{'commandName':_0x59c8f5,'commandParams':[{'forceValue':_0x3a4fbe}]});}});}),_0x1ecc28[_0x1f53('0xe')][_0x1f53('0xa')](_0x5bde17=>{const {data:_0x488f02}=_0x5bde17;if(_0x488f02&&_0x488f02['commandName']==_0x59c8f5)return _0x488f02['commandParams'][0x0][_0x1f53('0xd')]?{'type':_0x1f53('0x5'),'content':_0x297143(_0x44a2c0,'FORMAT_RESTRICTED_ENABLED')}:{'type':_0x1f53('0x5'),'content':_0x297143(_0x44a2c0,_0x1f53('0x1'))};});}}
23
+ const _0x9eac=['value','has','document','restrictedEditingException','FORMAT_RESTRICTED_ENABLED','getRanges','editor','FORMAT_RESTRICTED_DISABLED','locale','forceValue','selection','format','plugins','model','registerDescriptionCallback','enableCommand','_descriptionFactory','markInlineFormat','get','afterInit'];(function(_0x5d6937,_0x9eac72){const _0x34bdb4=function(_0x51b685){while(--_0x51b685){_0x5d6937['push'](_0x5d6937['shift']());}};_0x34bdb4(++_0x9eac72);}(_0x9eac,0x1ec));const _0x34bd=function(_0x5d6937,_0x9eac72){_0x5d6937=_0x5d6937-0x0;let _0x34bdb4=_0x9eac[_0x5d6937];return _0x34bdb4;};import{Plugin as _0x5eb953}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x4504a6}from'./utils';import{getTranslation as _0x1f6e82}from'../utils/common-translations';export default class at extends _0x5eb953{[_0x34bd('0x7')](){const _0x4e20d7=this[_0x34bd('0xe')],_0x157590=_0x4e20d7[_0x34bd('0x1')],_0x31c92e=_0x4e20d7[_0x34bd('0x10')];if(!_0x4e20d7[_0x34bd('0x0')][_0x34bd('0x9')]('StandardEditingModeEditing'))return;const _0x8abcda=_0x4e20d7[_0x34bd('0x0')][_0x34bd('0x6')]('TrackChangesEditing'),_0x41bd67=_0x34bd('0xb'),_0x1ef0ed=_0x4e20d7['commands']['get'](_0x41bd67);_0x8abcda[_0x34bd('0x3')](_0x41bd67,(_0x102136,_0x49876b={})=>{const _0xcca297=_0x157590[_0x34bd('0xa')][_0x34bd('0x12')];if(_0xcca297['isCollapsed'])return void _0x102136(_0x49876b);const _0xd1442c=void 0x0!==_0x49876b[_0x34bd('0x11')]?_0x49876b[_0x34bd('0x11')]:!_0x1ef0ed[_0x34bd('0x8')];_0x157590['change'](()=>{const _0x3fecc2=Array['from'](_0xcca297[_0x34bd('0xd')]());for(const _0x5da665 of _0x3fecc2){const _0x1b8e88=_0xd1442c?[_0x5da665]:_0x4504a6(_0x41bd67,_0x5da665,_0x157590);for(const _0x47b7e0 of _0x1b8e88)_0x8abcda[_0x34bd('0x5')](_0x47b7e0,{'commandName':_0x41bd67,'commandParams':[{'forceValue':_0xd1442c}]});}});}),_0x8abcda[_0x34bd('0x4')][_0x34bd('0x2')](_0x170d9e=>{const {data:_0x2dcb62}=_0x170d9e;if(_0x2dcb62&&_0x2dcb62['commandName']==_0x41bd67)return _0x2dcb62['commandParams'][0x0][_0x34bd('0x11')]?{'type':'format','content':_0x1f6e82(_0x31c92e,_0x34bd('0xc'))}:{'type':_0x34bd('0x13'),'content':_0x1f6e82(_0x31c92e,_0x34bd('0xf'))};});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c80=['selectTableRow','minColumn','refresh','isArray','markMultiRangeDeletion','model','order','above','filter','maxColumn','insertTableRowAbove','getSuggestion','hasAttribute','commands','colspan','showSuggestionHighlights','fromRange','getContainedElement','getItems','getFirstRange','maxRow','locale','tableCell','differ','insertTable','markMultiRangeInsertion','_setupColumnsRowsFixing','_suggestionFactory','plugins','end','last','insert','length','findAncestor','toLowerCase','isIntersectingWithRange','_getSuggestionCoords','getChildren','options','minRow','MIN_SAFE_INTEGER','_getCoordsForCells','TableEditing','root','ELEMENT_TABLE_COLUMN','selection','rowspan','mapper','getAttribute','_tablePostFixingSubtypes','ELEMENT_TABLE_COLUMN_WITH_TEXT','afterInit','editor','MAX_SAFE_INTEGER','name','*Remove:*\x20%0','TableUtils','getSelectionAffectedTableCells','addMarker:suggestion','getChangedMarkers','removeClass','ELEMENT_TABLE_ROW_WITH_TEXT','document','deletion','_acceptFormatSuggestionCallbackFactory','add','registerCustomCallback','enqueueChange','low','registerDescriptionCallback','ELEMENT_TABLE','batch','getRanges','tableRow','nodeAfter','createTableWalker','execute','setSelection','table','accept','tableColumn','insertTableColumnLeft','detach','includes','addRange','type','change:data','span','map','removeTableRow','selectTableColumn','push','from','createPositionAt','TrackChangesEditing','ELEMENT_TABLE_WITH_TEXT','$graveyard','toViewElement','*Insert:*\x20%0','startsWith','getChanges','isTouching','subType','textProxy','getCellLocation','registerElementLabel','nodeBefore','isInContent','left','max','getRowIndexes','createRangeOn','position','get','insertTableRowBelow','insertTableColumnRight','some','_descriptionFactory','data','isEqual','rootName','first','classes','change','substr','_tableSuggestions','getColumnIndexes','cell','_splitMarkerName','join','enableCommand','start','tablePaste','ELEMENT_TABLE_ROW','insertion','removeTableColumn','has','downcastDispatcher','min','values','discard'];(function(_0x4a3755,_0x4c808f){const _0x267228=function(_0x2388ff){while(--_0x2388ff){_0x4a3755['push'](_0x4a3755['shift']());}};_0x267228(++_0x4c808f);}(_0x4c80,0x19c));const _0x2672=function(_0x4a3755,_0x4c808f){_0x4a3755=_0x4a3755-0x0;let _0x267228=_0x4c80[_0x4a3755];return _0x267228;};import{Plugin as _0x197a3e}from'ckeditor5/src/core';import{LiveRange as _0x34ea48}from'ckeditor5/src/engine';import{setHighlightHandling as _0xb5d32}from'ckeditor5/src/widget';import{getTranslation as _0x2fe519}from'../utils/common-translations';export default class rt extends _0x197a3e{constructor(_0x4766c0){super(_0x4766c0),this[_0x2672('0x3c')]=[_0x2672('0x54'),_0x2672('0x5b')];}[_0x2672('0x3e')](){const _0x30903b=this[_0x2672('0x3f')],_0x4284d5=_0x30903b[_0x2672('0x10')]['document']['selection'];if(!_0x30903b['plugins'][_0x2672('0x6')](_0x2672('0x35')))return;const _0x4485bc=_0x30903b[_0x2672('0x20')],_0x25c6ea=_0x30903b[_0x2672('0x27')][_0x2672('0x7c')](_0x2672('0x69')),_0x3fb6c4=_0x30903b[_0x2672('0x27')]['get'](_0x2672('0x43'));_0x25c6ea['_descriptionFactory'][_0x2672('0x74')](_0x2672('0x59'),_0x1a3e8c=>_0x2fe519(_0x4485bc,_0x2672('0x51'),_0x1a3e8c)),this[_0x2672('0x25')](),_0x25c6ea['enableCommand'](_0x2672('0x23')),_0x25c6ea[_0x2672('0x0')](_0x2672('0xb')),_0x25c6ea[_0x2672('0x0')](_0x2672('0x65'));for(const _0xb8f7a9 of[_0x2672('0x15'),_0x2672('0x7d')]){const _0x3f503d=_0x30903b[_0x2672('0x18')]['get'](_0xb8f7a9);_0x25c6ea[_0x2672('0x0')](_0xb8f7a9,_0x485aa0=>{_0x30903b[_0x2672('0x10')]['change'](_0x1aad4a=>{_0x485aa0();const _0x510895=_0x2672('0x12')===_0x3f503d[_0x2672('0x11')],_0x24ae01=_0x3fb6c4['getSelectionAffectedTableCells'](_0x4284d5),_0x1367a1=_0x3fb6c4[_0x2672('0x79')](_0x24ae01),_0x47deb7=_0x510895?_0x1367a1[_0x2672('0x84')]-0x1:_0x1367a1[_0x2672('0x29')]+0x1,_0x3f3388=_0x24ae01[0x0][_0x2672('0x2c')](_0x2672('0x59')),_0x60b9df=_0x3fb6c4[_0x2672('0x56')](_0x3f3388,{'startRow':_0x47deb7,'endRow':_0x47deb7}),_0x34855e=Array[_0x2672('0x67')](_0x60b9df)[_0x2672('0x63')](_0x572f63=>_0x1aad4a[_0x2672('0x7a')](_0x572f63[_0x2672('0x8a')]));_0x25c6ea[_0x2672('0x24')](_0x34855e,'tableRow');});});}for(const _0x3fba6d of[_0x2672('0x5c'),_0x2672('0x7e')]){const _0x6e5a6b=_0x30903b[_0x2672('0x18')][_0x2672('0x7c')](_0x3fba6d);_0x25c6ea['enableCommand'](_0x3fba6d,_0x12ffe6=>{_0x30903b[_0x2672('0x10')][_0x2672('0x86')](_0x1ff43b=>{_0x12ffe6();const _0x2bdb78=_0x2672('0x77')===_0x6e5a6b[_0x2672('0x11')],_0x546919=_0x3fb6c4[_0x2672('0x44')](_0x4284d5),_0xdf5883=_0x3fb6c4[_0x2672('0x89')](_0x546919),_0x40a9fc=_0x2bdb78?_0xdf5883[_0x2672('0x84')]-0x1:_0xdf5883[_0x2672('0x29')]+0x1,_0x432372=_0x546919[0x0]['findAncestor'](_0x2672('0x59')),_0x2f692e=_0x3fb6c4['createTableWalker'](_0x432372,{'startRow':0x0,'column':_0x40a9fc,'includeAllSlots':!0x1}),_0x807aba=Array['from'](_0x2f692e)[_0x2672('0x63')](_0x5db172=>_0x1ff43b[_0x2672('0x7a')](_0x5db172['cell']));_0x25c6ea[_0x2672('0x24')](_0x807aba,_0x2672('0x5b'));});});}for(const _0x26f110 of[_0x2672('0x64'),'removeTableColumn']){const _0x52b9a0=_0x26f110[_0x2672('0x87')](0xb),_0x4dc56f=_0x52b9a0[_0x2672('0x2d')](),_0x3545ea=_0x4dc56f[_0x2672('0x87')](0x0,0x3)+_0x2672('0x62'),_0x3f8784=_0x2672('0x59')+_0x52b9a0,_0x2854ac=_0x2672('0x8')+_0x52b9a0,_0x1583d1=_0x2672('0x78')+_0x52b9a0;_0x25c6ea['enableCommand'](_0x26f110,()=>{_0x30903b['model']['change'](_0x4f9b72=>{const _0x21c3c3=_0x3fb6c4[_0x2672('0x44')](_0x4284d5),_0x456f28=_0x21c3c3[0x0][_0x2672('0x2c')](_0x2672('0x59'));let _0x1390d3;if(_0x2672('0x64')==_0x26f110){const _0x2caa7d=_0x3fb6c4[_0x2672('0x79')](_0x21c3c3);_0x1390d3={'startRow':_0x2caa7d[_0x2672('0x84')],'endRow':_0x2caa7d[_0x2672('0x29')],'includeAllSlots':!0x0};}else{const _0x61c4f5=_0x3fb6c4['getColumnIndexes'](_0x21c3c3);_0x1390d3={'startColumn':_0x61c4f5[_0x2672('0x84')],'endColumn':_0x61c4f5['last'],'includeAllSlots':!0x0};}const _0x1506b1=_0x3fb6c4[_0x2672('0x56')](_0x456f28,_0x1390d3),_0x355a14=Array[_0x2672('0x67')](_0x1506b1)[_0x2672('0x63')](({cell:_0x1b674d})=>_0x1b674d),_0x136300=Wt(_0x355a14[_0x2672('0x13')](_0x14d959=>_0x14d959[_0x2672('0x17')](_0x3545ea))),_0x2d402d=Wt(_0x355a14['filter'](_0xb22d7a=>!_0xb22d7a[_0x2672('0x17')](_0x3545ea)))[_0x2672('0x63')](_0x2806de=>_0x4f9b72[_0x2672('0x7a')](_0x2806de)),_0x405bad=_0x25c6ea[_0x2672('0xf')](_0x2d402d,_0x3f8784);if(_0x405bad&&(_0x2672('0x54')==_0x405bad['subType']||_0x2672('0x5b')==_0x405bad['subType'])){const _0x5525db=this['_getSuggestionCoords'](_0x405bad);for(const _0x3c0698 of _0x136300){const _0x54867c=_0x4f9b72['createRangeOn'](_0x3c0698),_0x40dd4f=_0x3fb6c4['getCellLocation'](_0x3c0698),_0x21fa3c=_0x3c0698[_0x2672('0x3b')](_0x3545ea)-0x1,_0x40c4f1=_0x5525db[_0x2854ac],_0x15d2a5=_0x5525db[_0x1583d1];_0x40c4f1<=_0x40dd4f[_0x4dc56f]&&_0x40dd4f[_0x4dc56f]+_0x21fa3c<=_0x15d2a5&&_0x405bad[_0x2672('0x5f')](_0x54867c);}}});});}function _0x33a4b6(_0x3b585e){const _0x2851b4=Array[_0x2672('0x67')](_0x4284d5[_0x2672('0x53')]())[_0x2672('0x63')](_0x19ae32=>_0x34ea48[_0x2672('0x1b')](_0x19ae32));_0x30903b['model'][_0x2672('0x86')](_0x470878=>{const _0x1c0f23=_0x470878[_0x2672('0x52')];_0x3b585e=_0x3b585e['filter'](_0xc061ff=>_0x2672('0x6b')!=_0xc061ff[_0x2672('0x36')]['rootName']),_0x470878[_0x2672('0x58')](_0x3b585e),_0x30903b[_0x2672('0x18')]['get'](_0x2672('0x64'))[_0x2672('0xd')](),_0x30903b['execute'](_0x2672('0x64'),{'forceDefaultExecution':!0x0}),_0x30903b[_0x2672('0x10')][_0x2672('0x4e')](()=>{_0x30903b[_0x2672('0x10')][_0x2672('0x4e')](_0x1c0f23,_0x401906=>{const _0x15afdf=_0x2851b4[_0x2672('0x13')](_0x13b06c=>'$graveyard'!=_0x13b06c[_0x2672('0x36')]['rootName']);_0x15afdf[_0x2672('0x2b')]>0x0&&_0x401906[_0x2672('0x58')](_0x15afdf);for(const _0x591197 of _0x2851b4)_0x591197[_0x2672('0x5d')]();});});});}function _0x52feaf(_0x208f2e){_0x30903b[_0x2672('0x10')][_0x2672('0x86')](_0x130cf8=>{const _0x23b3fd=Array[_0x2672('0x67')](_0x4284d5['getRanges']())['map'](_0x558206=>_0x34ea48[_0x2672('0x1b')](_0x558206)),_0x4b451e=[];for(const _0x5c8aee of _0x208f2e)for(const _0x5d0409 of _0x5c8aee[_0x2672('0x1d')]({'shallow':!0x0}))_0x4b451e[_0x2672('0x66')](_0x5d0409);for(const _0x32f4db of _0x4b451e)_0x2672('0x6b')!=_0x32f4db[_0x2672('0x36')][_0x2672('0x83')]&&(_0x130cf8[_0x2672('0x58')](_0x130cf8[_0x2672('0x68')](_0x32f4db,0x0)),_0x30903b[_0x2672('0x18')][_0x2672('0x7c')](_0x2672('0x5'))['refresh'](),_0x30903b[_0x2672('0x57')](_0x2672('0x5'),{'forceDefaultExecution':!0x0}));const _0x526724=_0x23b3fd[_0x2672('0x13')](_0x1f52fd=>_0x2672('0x6b')!=_0x1f52fd[_0x2672('0x36')][_0x2672('0x83')]);_0x526724['length']>0x0&&_0x130cf8[_0x2672('0x58')](_0x526724);for(const _0xa17fd of _0x23b3fd)_0xa17fd[_0x2672('0x5d')]();});}function _0x24b58e(_0x3211fb,_0x529c2c){return _0x529c2c['every'](_0x46c80c=>_0x3211fb[_0x2672('0x7f')](_0x3c1994=>_0x3c1994['end'][_0x2672('0x82')](_0x46c80c['start'])||_0x46c80c[_0x2672('0x28')][_0x2672('0x82')](_0x3c1994[_0x2672('0x1')])));}function _0x33075f(_0x1c5de5,_0x957603){return _0x1c5de5['some'](_0x1d312b=>_0x957603[_0x2672('0x7f')](_0xa0470b=>_0x1d312b['end'][_0x2672('0x70')](_0xa0470b[_0x2672('0x1')])));}_0x30903b['data'][_0x2672('0x7')]['on'](_0x2672('0x45'),(_0x30e20d,_0x33d775,_0x3da660)=>{if(!_0x3da660[_0x2672('0x31')][_0x2672('0x1a')])return;const _0x4191b8=_0x33d775['item'];if(!_0x4191b8)return;const _0x9eb599=_0x3da660[_0x2672('0x3a')][_0x2672('0x6c')](_0x4191b8);function _0x475e38(_0x5db421){return Array[_0x2672('0xe')](_0x5db421)?_0x5db421:[_0x5db421];}_0x9eb599&&'tableCell'===_0x4191b8[_0x2672('0x41')]&&_0xb5d32(_0x9eb599,_0x3da660['writer'],(_0x492ede,_0x1e3bef,_0x18acfa)=>_0x18acfa['addClass'](_0x475e38(_0x1e3bef[_0x2672('0x85')]),_0x492ede),(_0x3e50ee,_0x5bc533,_0x5db01a)=>_0x5db01a[_0x2672('0x47')](_0x475e38(_0x5bc533[_0x2672('0x85')]),_0x3e50ee));},{'priority':'highest'}),_0x25c6ea['_descriptionFactory'][_0x2672('0x50')](_0x375e01=>{if(_0x2672('0x4')!=_0x375e01[_0x2672('0x60')]&&'deletion'!=_0x375e01[_0x2672('0x60')])return;const _0x3c9826=_0x375e01[_0x2672('0x1c')]();if(null!=_0x3c9826&&_0x3c9826['is']('element',_0x2672('0x59'))){if('insertion'==_0x375e01[_0x2672('0x60')]){const _0x3891ac=_0x375e01[_0x2672('0x1d')]()['filter'](_0x3c9ace=>_0x3c9ace['is']('textProxy'))[_0x2672('0x63')](_0x2e7223=>_0x2e7223[_0x2672('0x81')]);if(_0x3891ac[_0x2672('0x2b')])return{'type':_0x2672('0x4'),'content':_0x2fe519(_0x4485bc,_0x2672('0x6d'),_0x2fe519(_0x4485bc,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x3891ac['join']('\x20')+'\x22'))};}if(_0x2672('0x4a')==_0x375e01['type']){const _0x492d93=_0x375e01[_0x2672('0x1d')]()[_0x2672('0x13')](_0x3ce01b=>_0x3ce01b['is'](_0x2672('0x72')))[_0x2672('0x63')](_0x4f4f01=>_0x4f4f01[_0x2672('0x81')]);if(_0x492d93['length'])return{'type':_0x2672('0x4a'),'content':_0x2fe519(_0x4485bc,_0x2672('0x42'),_0x2fe519(_0x4485bc,_0x2672('0x6a'),'\x22'+_0x492d93[_0x2672('0x8c')]('\x20')+'\x22'))};}}}),_0x25c6ea[_0x2672('0x80')]['registerDescriptionCallback'](_0x22f5ea=>{if(_0x2672('0x54')==_0x22f5ea[_0x2672('0x71')]){const _0x576ac5=_0x22f5ea[_0x2672('0x1d')]()[_0x2672('0x13')](_0x5e0e69=>_0x5e0e69['is'](_0x2672('0x72')))[_0x2672('0x63')](_0x2a448e=>_0x2a448e[_0x2672('0x81')]),_0xebbe4f=this[_0x2672('0x2f')](_0x22f5ea),_0x49790e=_0xebbe4f[_0x2672('0x1f')]-_0xebbe4f[_0x2672('0x32')]+0x1;if(_0x2672('0x4')==_0x22f5ea[_0x2672('0x60')])return _0x576ac5[_0x2672('0x2b')]?{'type':_0x2672('0x4'),'content':_0x2fe519(_0x4485bc,_0x2672('0x6d'),_0x2fe519(_0x4485bc,_0x2672('0x48'),[_0x49790e,'\x22'+_0x576ac5['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x2fe519(_0x4485bc,_0x2672('0x6d'),_0x2fe519(_0x4485bc,_0x2672('0x3'),_0x49790e))};if(_0x2672('0x4a')==_0x22f5ea['type'])return _0x576ac5[_0x2672('0x2b')]?{'type':_0x2672('0x4a'),'content':_0x2fe519(_0x4485bc,_0x2672('0x42'),_0x2fe519(_0x4485bc,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x49790e,'\x22'+_0x576ac5['join']('\x20')+'\x22']))}:{'type':_0x2672('0x4a'),'content':_0x2fe519(_0x4485bc,_0x2672('0x42'),_0x2fe519(_0x4485bc,_0x2672('0x3'),_0x49790e))};}if(_0x2672('0x5b')==_0x22f5ea[_0x2672('0x71')]){const _0xc1304c=_0x22f5ea[_0x2672('0x1d')]()[_0x2672('0x13')](_0x3be9e8=>_0x3be9e8['is']('textProxy'))['map'](_0x362755=>_0x362755[_0x2672('0x81')]),_0x54dda1=this[_0x2672('0x2f')](_0x22f5ea),_0x454fcf=_0x54dda1[_0x2672('0x14')]-_0x54dda1[_0x2672('0xc')]+0x1;if(_0x2672('0x4')==_0x22f5ea[_0x2672('0x60')])return _0xc1304c[_0x2672('0x2b')]?{'type':_0x2672('0x4'),'content':_0x2fe519(_0x4485bc,_0x2672('0x6d'),_0x2fe519(_0x4485bc,_0x2672('0x3d'),[_0x454fcf,'\x22'+_0xc1304c[_0x2672('0x8c')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x2fe519(_0x4485bc,_0x2672('0x6d'),_0x2fe519(_0x4485bc,_0x2672('0x37'),_0x454fcf))};if('deletion'==_0x22f5ea[_0x2672('0x60')])return _0xc1304c['length']?{'type':_0x2672('0x4a'),'content':_0x2fe519(_0x4485bc,'*Remove:*\x20%0',_0x2fe519(_0x4485bc,_0x2672('0x3d'),[_0x454fcf,'\x22'+_0xc1304c['join']('\x20')+'\x22']))}:{'type':_0x2672('0x4a'),'content':_0x2fe519(_0x4485bc,_0x2672('0x42'),_0x2fe519(_0x4485bc,_0x2672('0x37'),_0x454fcf))};}}),_0x25c6ea[_0x2672('0x26')]['registerCustomCallback'](_0x2672('0x4'),_0x2672('0x54'),_0x2672('0xa'),_0x33a4b6),_0x25c6ea[_0x2672('0x26')]['registerCustomCallback'](_0x2672('0x4a'),_0x2672('0x54'),_0x2672('0x5a'),_0x33a4b6),_0x25c6ea[_0x2672('0x26')][_0x2672('0x4d')](_0x2672('0x4'),_0x2672('0x5b'),_0x2672('0xa'),_0x52feaf),_0x25c6ea['_suggestionFactory'][_0x2672('0x4d')](_0x2672('0x4a'),'tableColumn',_0x2672('0x5a'),_0x52feaf),_0x25c6ea[_0x2672('0x26')][_0x2672('0x4d')](_0x2672('0x4'),'tableColumn','join',_0x24b58e),_0x25c6ea[_0x2672('0x26')][_0x2672('0x4d')]('deletion',_0x2672('0x5b'),'join',_0x24b58e),_0x25c6ea[_0x2672('0x26')][_0x2672('0x4d')](_0x2672('0x4'),_0x2672('0x54'),_0x2672('0x8c'),_0x33075f),_0x25c6ea['_suggestionFactory'][_0x2672('0x4d')](_0x2672('0x4a'),_0x2672('0x54'),_0x2672('0x8c'),_0x33075f);}[_0x2672('0x4b')](){const _0x349d10=this[_0x2672('0x3f')],_0x1ba22e=_0x349d10[_0x2672('0x10')][_0x2672('0x49')][_0x2672('0x38')];return(_0x4ea1dd,_0x4755f4)=>{_0x349d10[_0x2672('0x10')]['change'](_0x2ab6ca=>{const {commandName:_0x4f5b10,commandParams:_0x12f129}=_0x4755f4;let _0x31e090=_0x4ea1dd[0x0][_0x2672('0x28')][_0x2672('0x75')];_0x12f129&&_0x12f129[0x0]&&!0x1===_0x12f129[0x0]['forceValue']&&(_0x31e090=_0x4ea1dd[0x0][_0x2672('0x1')][_0x2672('0x55')]);const _0x2f7156=_0x2ab6ca['createRangeIn'](_0x31e090);if('$graveyard'==_0x2f7156[_0x2672('0x36')][_0x2672('0x83')])return;const _0x2e90ee=Array[_0x2672('0x67')](_0x1ba22e[_0x2672('0x53')]())[_0x2672('0x63')](_0x2576f4=>_0x34ea48[_0x2672('0x1b')](_0x2576f4));_0x2ab6ca[_0x2672('0x58')](_0x2f7156),_0x349d10['commands'][_0x2672('0x7c')](_0x4f5b10)[_0x2672('0xd')](),_0x12f129[_0x2672('0x66')]({'forceDefaultExecution':!0x0}),_0x349d10[_0x2672('0x57')](_0x4f5b10,..._0x12f129);const _0x99d4ac=_0x2e90ee[_0x2672('0x13')](_0x963953=>'$graveyard'!=_0x963953['root'][_0x2672('0x83')]);_0x99d4ac[_0x2672('0x2b')]>0x0&&_0x2ab6ca[_0x2672('0x58')](_0x99d4ac);for(const _0x124f12 of _0x2e90ee)_0x124f12[_0x2672('0x5d')]();});};}['_getCoordsForCells'](_0x55b126){const _0x590a76=this[_0x2672('0x3f')][_0x2672('0x27')][_0x2672('0x7c')](_0x2672('0x43'));let _0x1eef73=Number[_0x2672('0x40')],_0xc134e5=Number[_0x2672('0x33')],_0x303320=Number[_0x2672('0x40')],_0x22c846=Number['MIN_SAFE_INTEGER'];for(const _0x3c3ab2 of _0x55b126){if(_0x2672('0x6b')==_0x3c3ab2[_0x2672('0x36')][_0x2672('0x83')])continue;const {row:_0x25c208,column:_0x2054af}=_0x590a76[_0x2672('0x73')](_0x3c3ab2),_0x258555=_0x3c3ab2[_0x2672('0x17')](_0x2672('0x39'))?_0x3c3ab2[_0x2672('0x3b')](_0x2672('0x39'))-0x1:0x0,_0x6cb21b=_0x3c3ab2[_0x2672('0x17')]('colspan')?_0x3c3ab2[_0x2672('0x3b')](_0x2672('0x19'))-0x1:0x0;_0x1eef73=_0x25c208<_0x1eef73?_0x25c208:_0x1eef73,_0xc134e5=_0x25c208+_0x258555>_0xc134e5?_0x25c208+_0x258555:_0xc134e5,_0x303320=_0x2054af<_0x303320?_0x2054af:_0x303320,_0x22c846=_0x2054af+_0x6cb21b>_0x22c846?_0x2054af+_0x6cb21b:_0x22c846;}return{'minRow':_0x1eef73,'maxRow':_0xc134e5,'minColumn':_0x303320,'maxColumn':_0x22c846};}[_0x2672('0x25')](){const _0x2d4c4a=this[_0x2672('0x3f')],_0x4d1dac=_0x2d4c4a[_0x2672('0x27')]['get'](_0x2672('0x69')),_0x1559df=_0x2d4c4a[_0x2672('0x27')][_0x2672('0x7c')](_0x2672('0x43'));this[_0x2672('0x88')]=new Set(),_0x2d4c4a['model']['document']['on'](_0x2672('0x61'),()=>{const _0x48d7cd=Array[_0x2672('0x67')](_0x2d4c4a['model'][_0x2672('0x49')][_0x2672('0x22')][_0x2672('0x46')]());for(const {name:_0x494466,data:_0x4e420b}of _0x48d7cd){const {group:_0x435d8f,id:_0x19b8a0,subType:_0x5edad9}=_0x4d1dac[_0x2672('0x8b')](_0x494466);if('suggestion'!=_0x435d8f)continue;if(null!=_0x4e420b['oldRange'])continue;const _0x26c730=_0x4d1dac[_0x2672('0x16')](_0x19b8a0);this[_0x2672('0x3c')][_0x2672('0x5e')](_0x5edad9)&&this[_0x2672('0x88')][_0x2672('0x4c')](_0x26c730);}},{'priority':_0x2672('0x4f')});const _0x5411d1=(_0x51ada5,_0x23d4e8)=>{let _0x500be4=!0x1;const _0x2672c9=_0x23d4e8[_0x2672('0x7a')](_0x51ada5),_0x3336aa=_0x51ada5[_0x2672('0x2c')]('table'),_0x4032c8=_0x1559df[_0x2672('0x73')](_0x51ada5);for(const _0x226995 of this[_0x2672('0x88')]){const _0x34b550=_0x226995[_0x2672('0x71')],_0x570e09=_0x34b550[_0x2672('0x6e')](_0x2672('0x2')),_0x5e85f9=_0x34b550['substr'](_0x570e09?0xa:0x5),_0x5b14c8=_0x5e85f9[_0x2672('0x2d')](),_0x124542=_0x5b14c8['substr'](0x0,0x3)+'span',_0x533ef5=_0x2672('0x8')+_0x5e85f9,_0x58b578=_0x2672('0x78')+_0x5e85f9;if(!_0x226995[_0x2672('0x76')])continue;if(_0x3336aa!=_0x226995[_0x2672('0x1e')]()[_0x2672('0x1')]['findAncestor'](_0x2672('0x59')))continue;if(_0x226995[_0x2672('0x2e')](_0x2672c9))continue;const _0x5ba697=_0x51ada5[_0x2672('0x17')](_0x124542)?_0x51ada5['getAttribute'](_0x124542)-0x1:0x0,_0x38dadc=this['_getSuggestionCoords'](_0x226995),_0x11dfef=_0x38dadc[_0x533ef5],_0x36f63b=_0x38dadc[_0x58b578];_0x11dfef<=_0x4032c8[_0x5b14c8]&&_0x4032c8[_0x5b14c8]+_0x5ba697<=_0x36f63b&&(_0x226995[_0x2672('0x5f')](_0x2672c9),_0x500be4=!0x0);}return _0x500be4;};_0x2d4c4a[_0x2672('0x10')][_0x2672('0x49')]['registerPostFixer'](_0x5efafe=>{let _0x2e01d6=!0x1;for(const _0x546720 of _0x2d4c4a['model'][_0x2672('0x49')][_0x2672('0x22')][_0x2672('0x6f')]())if(_0x2672('0x2a')==_0x546720[_0x2672('0x60')]){if(_0x2672('0x54')==_0x546720[_0x2672('0x41')])for(const _0x204530 of _0x546720[_0x2672('0x7b')][_0x2672('0x55')][_0x2672('0x30')]())_0x2e01d6=_0x2e01d6||_0x5411d1(_0x204530,_0x5efafe);else _0x2672('0x21')==_0x546720[_0x2672('0x41')]&&(_0x2e01d6=_0x2e01d6||_0x5411d1(_0x546720[_0x2672('0x7b')][_0x2672('0x55')],_0x5efafe));}return _0x2e01d6;});}[_0x2672('0x2f')](_0x354aab){return this[_0x2672('0x34')](_0x354aab[_0x2672('0x53')]()[_0x2672('0x63')](_0x2e43b0=>_0x2e43b0['start']['nodeAfter']));}}function Wt(_0x2d2e3b){return Array[_0x2672('0x67')](new Set(_0x2d2e3b)[_0x2672('0x9')]());}
23
+ const _0x3967=['showSuggestionHighlights','table','left','getRanges','getSuggestion','insertTableColumnLeft','accept','textProxy','createTableWalker','has','enqueueChange','colspan','getChanges','_getCoordsForCells','TrackChangesEditing','isArray','plugins','minColumn','rootName','filter','position','_setupColumnsRowsFixing','join','refresh','length','_getSuggestionCoords','getAttribute','toLowerCase','tableCell','writer','getColumnIndexes','maxRow','item','low','start','isTouching','tablePaste','TableUtils','element','markMultiRangeInsertion','_descriptionFactory','batch','selectTableColumn','map','getChangedMarkers','createRangeOn','insert','_suggestionFactory','addRange','values','execute','getItems','createRangeIn','name','tableColumn','removeTableColumn','end','tableRow','discard','findAncestor','deletion','MAX_SAFE_INTEGER','ELEMENT_TABLE','change','ELEMENT_TABLE_COLUMN','insertion','_tableSuggestions','detach','ELEMENT_TABLE_WITH_TEXT','getRowIndexes','hasAttribute','min','isEqual','MIN_SAFE_INTEGER','removeTableRow','commands','isIntersectingWithRange','$graveyard','locale','data','cell','rowspan','getFirstRange','max','afterInit','*Insert:*\x20%0','suggestion','from','*Remove:*\x20%0','ELEMENT_TABLE_ROW_WITH_TEXT','highest','setSelection','above','model','_tablePostFixingSubtypes','fromRange','root','nodeBefore','getCellLocation','get','getSelectionAffectedTableCells','enableCommand','mapper','registerPostFixer','registerDescriptionCallback','markMultiRangeDeletion','removeClass','nodeAfter','insertTableColumnRight','last','downcastDispatcher','substr','forceValue','ELEMENT_TABLE_ROW','getChildren','differ','subType','span','options','editor','includes','registerCustomCallback','order','document','createPositionAt','type','toViewElement','first','addClass','selectTableRow'];(function(_0x31dfc6,_0x3967db){const _0x2fb83a=function(_0x2c9067){while(--_0x2c9067){_0x31dfc6['push'](_0x31dfc6['shift']());}};_0x2fb83a(++_0x3967db);}(_0x3967,0x135));const _0x2fb8=function(_0x31dfc6,_0x3967db){_0x31dfc6=_0x31dfc6-0x0;let _0x2fb83a=_0x3967[_0x31dfc6];return _0x2fb83a;};import{Plugin as _0x33cdf0}from'ckeditor5/src/core';import{LiveRange as _0x348d04}from'ckeditor5/src/engine';import{setHighlightHandling as _0x24dd65}from'ckeditor5/src/widget';import{getTranslation as _0x181965}from'../utils/common-translations';export default class ct extends _0x33cdf0{constructor(_0x225f56){super(_0x225f56),this['_tablePostFixingSubtypes']=[_0x2fb8('0x8'),_0x2fb8('0x5')];}[_0x2fb8('0x23')](){const _0x10a82a=this[_0x2fb8('0x46')],_0x1ebdd8=_0x10a82a[_0x2fb8('0x2c')][_0x2fb8('0x4a')]['selection'];if(!_0x10a82a['plugins'][_0x2fb8('0x5a')]('TableEditing'))return;const _0x59626a=_0x10a82a[_0x2fb8('0x1d')],_0x26443b=_0x10a82a['plugins'][_0x2fb8('0x32')](_0x2fb8('0x5f')),_0x1e7cf2=_0x10a82a[_0x2fb8('0x61')][_0x2fb8('0x32')](_0x2fb8('0x76'));_0x26443b[_0x2fb8('0x79')]['registerElementLabel'](_0x2fb8('0x52'),_0x2c6dd5=>_0x181965(_0x59626a,_0x2fb8('0xd'),_0x2c6dd5)),this[_0x2fb8('0x66')](),_0x26443b[_0x2fb8('0x34')]('insertTable'),_0x26443b[_0x2fb8('0x34')](_0x2fb8('0x50')),_0x26443b[_0x2fb8('0x34')](_0x2fb8('0x7b'));for(const _0x5ed7dd of['insertTableRowAbove','insertTableRowBelow']){const _0x296949=_0x10a82a[_0x2fb8('0x1a')][_0x2fb8('0x32')](_0x5ed7dd);_0x26443b[_0x2fb8('0x34')](_0x5ed7dd,_0x96a6bb=>{_0x10a82a[_0x2fb8('0x2c')][_0x2fb8('0xe')](_0x441a06=>{_0x96a6bb();const _0x295b9e=_0x2fb8('0x2b')===_0x296949[_0x2fb8('0x49')],_0x2746a6=_0x1e7cf2[_0x2fb8('0x33')](_0x1ebdd8),_0x3dcdd3=_0x1e7cf2[_0x2fb8('0x14')](_0x2746a6),_0x424169=_0x295b9e?_0x3dcdd3[_0x2fb8('0x4e')]-0x1:_0x3dcdd3[_0x2fb8('0x3c')]+0x1,_0x31fdcb=_0x2746a6[0x0][_0x2fb8('0xa')](_0x2fb8('0x52')),_0x385c64=_0x1e7cf2[_0x2fb8('0x59')](_0x31fdcb,{'startRow':_0x424169,'endRow':_0x424169}),_0x4e1d3f=Array[_0x2fb8('0x26')](_0x385c64)['map'](_0x823688=>_0x441a06[_0x2fb8('0x7e')](_0x823688['cell']));_0x26443b[_0x2fb8('0x78')](_0x4e1d3f,_0x2fb8('0x8'));});});}for(const _0x33af41 of[_0x2fb8('0x56'),_0x2fb8('0x3b')]){const _0x20fc94=_0x10a82a[_0x2fb8('0x1a')][_0x2fb8('0x32')](_0x33af41);_0x26443b[_0x2fb8('0x34')](_0x33af41,_0xb2e9b5=>{_0x10a82a['model'][_0x2fb8('0xe')](_0x1cdfa2=>{_0xb2e9b5();const _0x15e455=_0x2fb8('0x53')===_0x20fc94['order'],_0x4de95c=_0x1e7cf2['getSelectionAffectedTableCells'](_0x1ebdd8),_0x47dbc4=_0x1e7cf2[_0x2fb8('0x6f')](_0x4de95c),_0x3bfe5e=_0x15e455?_0x47dbc4['first']-0x1:_0x47dbc4[_0x2fb8('0x3c')]+0x1,_0x12b667=_0x4de95c[0x0]['findAncestor']('table'),_0x1d3337=_0x1e7cf2['createTableWalker'](_0x12b667,{'startRow':0x0,'column':_0x3bfe5e,'includeAllSlots':!0x1}),_0x13a98c=Array[_0x2fb8('0x26')](_0x1d3337)[_0x2fb8('0x7c')](_0x4e0999=>_0x1cdfa2[_0x2fb8('0x7e')](_0x4e0999[_0x2fb8('0x1f')]));_0x26443b[_0x2fb8('0x78')](_0x13a98c,'tableColumn');});});}for(const _0x4d8ff1 of['removeTableRow',_0x2fb8('0x6')]){const _0x538b86=_0x4d8ff1[_0x2fb8('0x3e')](0xb),_0x4b5222=_0x538b86[_0x2fb8('0x6c')](),_0x4a30df=_0x4b5222[_0x2fb8('0x3e')](0x0,0x3)+'span',_0x2620ec='table'+_0x538b86,_0x1a0755='min'+_0x538b86,_0x55caa4=_0x2fb8('0x22')+_0x538b86;_0x26443b[_0x2fb8('0x34')](_0x4d8ff1,()=>{_0x10a82a[_0x2fb8('0x2c')][_0x2fb8('0xe')](_0x49f891=>{const _0x1dfe75=_0x1e7cf2['getSelectionAffectedTableCells'](_0x1ebdd8),_0x20d37d=_0x1dfe75[0x0][_0x2fb8('0xa')](_0x2fb8('0x52'));let _0x5a45f4;if(_0x2fb8('0x19')==_0x4d8ff1){const _0x49bddd=_0x1e7cf2[_0x2fb8('0x14')](_0x1dfe75);_0x5a45f4={'startRow':_0x49bddd['first'],'endRow':_0x49bddd[_0x2fb8('0x3c')],'includeAllSlots':!0x0};}else{const _0x193381=_0x1e7cf2[_0x2fb8('0x6f')](_0x1dfe75);_0x5a45f4={'startColumn':_0x193381[_0x2fb8('0x4e')],'endColumn':_0x193381[_0x2fb8('0x3c')],'includeAllSlots':!0x0};}const _0x3d838e=_0x1e7cf2['createTableWalker'](_0x20d37d,_0x5a45f4),_0x4127e9=Array[_0x2fb8('0x26')](_0x3d838e)[_0x2fb8('0x7c')](({cell:_0x35b8ad})=>_0x35b8ad),_0x5a40a3=Bt(_0x4127e9[_0x2fb8('0x64')](_0x4067d3=>_0x4067d3['hasAttribute'](_0x4a30df))),_0x397216=Bt(_0x4127e9[_0x2fb8('0x64')](_0x36fd8e=>!_0x36fd8e[_0x2fb8('0x15')](_0x4a30df)))[_0x2fb8('0x7c')](_0x256992=>_0x49f891[_0x2fb8('0x7e')](_0x256992)),_0x3cb8e1=_0x26443b[_0x2fb8('0x38')](_0x397216,_0x2620ec);if(_0x3cb8e1&&(_0x2fb8('0x8')==_0x3cb8e1['subType']||'tableColumn'==_0x3cb8e1[_0x2fb8('0x43')])){const _0x136bdd=this[_0x2fb8('0x6a')](_0x3cb8e1);for(const _0x5e908a of _0x5a40a3){const _0x74004e=_0x49f891[_0x2fb8('0x7e')](_0x5e908a),_0x4d8ca7=_0x1e7cf2[_0x2fb8('0x31')](_0x5e908a),_0x97fd48=_0x5e908a[_0x2fb8('0x6b')](_0x4a30df)-0x1,_0x27c940=_0x136bdd[_0x1a0755],_0x2e8dfd=_0x136bdd[_0x55caa4];_0x27c940<=_0x4d8ca7[_0x4b5222]&&_0x4d8ca7[_0x4b5222]+_0x97fd48<=_0x2e8dfd&&_0x3cb8e1[_0x2fb8('0x81')](_0x74004e);}}});});}function _0x40210b(_0x52dc39){const _0x26f9af=Array['from'](_0x1ebdd8[_0x2fb8('0x54')]())[_0x2fb8('0x7c')](_0x2d1dea=>_0x348d04[_0x2fb8('0x2e')](_0x2d1dea));_0x10a82a['model'][_0x2fb8('0xe')](_0xf8d544=>{const _0x5ed68a=_0xf8d544[_0x2fb8('0x7a')];_0x52dc39=_0x52dc39[_0x2fb8('0x64')](_0x431051=>'$graveyard'!=_0x431051[_0x2fb8('0x2f')][_0x2fb8('0x63')]),_0xf8d544[_0x2fb8('0x2a')](_0x52dc39),_0x10a82a['commands'][_0x2fb8('0x32')](_0x2fb8('0x19'))[_0x2fb8('0x68')](),_0x10a82a[_0x2fb8('0x1')]('removeTableRow',{'forceDefaultExecution':!0x0}),_0x10a82a[_0x2fb8('0x2c')][_0x2fb8('0x5b')](()=>{_0x10a82a[_0x2fb8('0x2c')][_0x2fb8('0x5b')](_0x5ed68a,_0x149e2b=>{const _0x119bfc=_0x26f9af['filter'](_0x221cde=>_0x2fb8('0x1c')!=_0x221cde[_0x2fb8('0x2f')][_0x2fb8('0x63')]);_0x119bfc[_0x2fb8('0x69')]>0x0&&_0x149e2b[_0x2fb8('0x2a')](_0x119bfc);for(const _0x279df9 of _0x26f9af)_0x279df9[_0x2fb8('0x12')]();});});});}function _0x27ba6f(_0x1b776e){_0x10a82a[_0x2fb8('0x2c')][_0x2fb8('0xe')](_0x43b44c=>{const _0x275ae4=Array[_0x2fb8('0x26')](_0x1ebdd8[_0x2fb8('0x54')]())[_0x2fb8('0x7c')](_0x7671cd=>_0x348d04['fromRange'](_0x7671cd)),_0x1f74a9=[];for(const _0x11eb0a of _0x1b776e)for(const _0x5dda1d of _0x11eb0a[_0x2fb8('0x2')]({'shallow':!0x0}))_0x1f74a9['push'](_0x5dda1d);for(const _0x4190c2 of _0x1f74a9)_0x2fb8('0x1c')!=_0x4190c2[_0x2fb8('0x2f')][_0x2fb8('0x63')]&&(_0x43b44c[_0x2fb8('0x2a')](_0x43b44c[_0x2fb8('0x4b')](_0x4190c2,0x0)),_0x10a82a[_0x2fb8('0x1a')][_0x2fb8('0x32')](_0x2fb8('0x6'))[_0x2fb8('0x68')](),_0x10a82a['execute'](_0x2fb8('0x6'),{'forceDefaultExecution':!0x0}));const _0x3d0c4f=_0x275ae4['filter'](_0x2f57df=>_0x2fb8('0x1c')!=_0x2f57df[_0x2fb8('0x2f')]['rootName']);_0x3d0c4f[_0x2fb8('0x69')]>0x0&&_0x43b44c[_0x2fb8('0x2a')](_0x3d0c4f);for(const _0x41df61 of _0x275ae4)_0x41df61[_0x2fb8('0x12')]();});}function _0x1ac8e2(_0x98f6c1,_0x311606){return _0x311606['every'](_0x5a0cbc=>_0x98f6c1['some'](_0x186114=>_0x186114[_0x2fb8('0x7')][_0x2fb8('0x17')](_0x5a0cbc[_0x2fb8('0x73')])||_0x5a0cbc[_0x2fb8('0x7')]['isEqual'](_0x186114['start'])));}function _0xe7eec1(_0x3bb436,_0x495f39){return _0x3bb436['some'](_0x54b53b=>_0x495f39['some'](_0x3878b0=>_0x54b53b['end'][_0x2fb8('0x74')](_0x3878b0[_0x2fb8('0x73')])));}_0x10a82a['data'][_0x2fb8('0x3d')]['on']('addMarker:suggestion',(_0x19518f,_0x57b146,_0x44a255)=>{if(!_0x44a255[_0x2fb8('0x45')][_0x2fb8('0x51')])return;const _0xefa5ec=_0x57b146[_0x2fb8('0x71')];if(!_0xefa5ec)return;const _0xc31548=_0x44a255[_0x2fb8('0x35')][_0x2fb8('0x4d')](_0xefa5ec);function _0x5bd670(_0x57fdbd){return Array[_0x2fb8('0x60')](_0x57fdbd)?_0x57fdbd:[_0x57fdbd];}_0xc31548&&_0x2fb8('0x6d')===_0xefa5ec['name']&&_0x24dd65(_0xc31548,_0x44a255[_0x2fb8('0x6e')],(_0x12fb50,_0x46b2a7,_0x417d72)=>_0x417d72[_0x2fb8('0x4f')](_0x5bd670(_0x46b2a7['classes']),_0x12fb50),(_0x113309,_0xebc42e,_0x7e7ad0)=>_0x7e7ad0[_0x2fb8('0x39')](_0x5bd670(_0xebc42e['classes']),_0x113309));},{'priority':_0x2fb8('0x29')}),_0x26443b['_descriptionFactory'][_0x2fb8('0x37')](_0x429680=>{if(_0x2fb8('0x10')!=_0x429680[_0x2fb8('0x4c')]&&_0x2fb8('0xb')!=_0x429680[_0x2fb8('0x4c')])return;const _0x4f2e2f=_0x429680['getContainedElement']();if(null!=_0x4f2e2f&&_0x4f2e2f['is'](_0x2fb8('0x77'),_0x2fb8('0x52'))){if('insertion'==_0x429680[_0x2fb8('0x4c')]){const _0x71d17d=_0x429680[_0x2fb8('0x2')]()[_0x2fb8('0x64')](_0x5dd819=>_0x5dd819['is'](_0x2fb8('0x58')))['map'](_0x18227c=>_0x18227c[_0x2fb8('0x1e')]);if(_0x71d17d[_0x2fb8('0x69')])return{'type':_0x2fb8('0x10'),'content':_0x181965(_0x59626a,'*Insert:*\x20%0',_0x181965(_0x59626a,_0x2fb8('0x13'),'\x22'+_0x71d17d['join']('\x20')+'\x22'))};}if(_0x2fb8('0xb')==_0x429680[_0x2fb8('0x4c')]){const _0xb26763=_0x429680[_0x2fb8('0x2')]()['filter'](_0x38696c=>_0x38696c['is'](_0x2fb8('0x58')))[_0x2fb8('0x7c')](_0x2b8220=>_0x2b8220[_0x2fb8('0x1e')]);if(_0xb26763['length'])return{'type':'deletion','content':_0x181965(_0x59626a,_0x2fb8('0x27'),_0x181965(_0x59626a,_0x2fb8('0x13'),'\x22'+_0xb26763[_0x2fb8('0x67')]('\x20')+'\x22'))};}}}),_0x26443b[_0x2fb8('0x79')]['registerDescriptionCallback'](_0x233cd2=>{if(_0x2fb8('0x8')==_0x233cd2['subType']){const _0x5690f6=_0x233cd2[_0x2fb8('0x2')]()['filter'](_0x533693=>_0x533693['is']('textProxy'))[_0x2fb8('0x7c')](_0x2004ac=>_0x2004ac[_0x2fb8('0x1e')]),_0x448466=this['_getSuggestionCoords'](_0x233cd2),_0x5ef2e4=_0x448466[_0x2fb8('0x70')]-_0x448466['minRow']+0x1;if('insertion'==_0x233cd2[_0x2fb8('0x4c')])return _0x5690f6[_0x2fb8('0x69')]?{'type':'insertion','content':_0x181965(_0x59626a,'*Insert:*\x20%0',_0x181965(_0x59626a,_0x2fb8('0x28'),[_0x5ef2e4,'\x22'+_0x5690f6[_0x2fb8('0x67')]('\x20')+'\x22']))}:{'type':_0x2fb8('0x10'),'content':_0x181965(_0x59626a,_0x2fb8('0x24'),_0x181965(_0x59626a,_0x2fb8('0x40'),_0x5ef2e4))};if(_0x2fb8('0xb')==_0x233cd2[_0x2fb8('0x4c')])return _0x5690f6['length']?{'type':'deletion','content':_0x181965(_0x59626a,_0x2fb8('0x27'),_0x181965(_0x59626a,_0x2fb8('0x28'),[_0x5ef2e4,'\x22'+_0x5690f6[_0x2fb8('0x67')]('\x20')+'\x22']))}:{'type':_0x2fb8('0xb'),'content':_0x181965(_0x59626a,_0x2fb8('0x27'),_0x181965(_0x59626a,_0x2fb8('0x40'),_0x5ef2e4))};}if(_0x2fb8('0x5')==_0x233cd2[_0x2fb8('0x43')]){const _0x5af83a=_0x233cd2[_0x2fb8('0x2')]()[_0x2fb8('0x64')](_0x185629=>_0x185629['is'](_0x2fb8('0x58')))[_0x2fb8('0x7c')](_0x9eb162=>_0x9eb162[_0x2fb8('0x1e')]),_0x2bd91a=this[_0x2fb8('0x6a')](_0x233cd2),_0x1a5996=_0x2bd91a['maxColumn']-_0x2bd91a[_0x2fb8('0x62')]+0x1;if(_0x2fb8('0x10')==_0x233cd2[_0x2fb8('0x4c')])return _0x5af83a[_0x2fb8('0x69')]?{'type':'insertion','content':_0x181965(_0x59626a,'*Insert:*\x20%0',_0x181965(_0x59626a,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x1a5996,'\x22'+_0x5af83a['join']('\x20')+'\x22']))}:{'type':_0x2fb8('0x10'),'content':_0x181965(_0x59626a,_0x2fb8('0x24'),_0x181965(_0x59626a,_0x2fb8('0xf'),_0x1a5996))};if('deletion'==_0x233cd2['type'])return _0x5af83a[_0x2fb8('0x69')]?{'type':_0x2fb8('0xb'),'content':_0x181965(_0x59626a,_0x2fb8('0x27'),_0x181965(_0x59626a,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x1a5996,'\x22'+_0x5af83a['join']('\x20')+'\x22']))}:{'type':'deletion','content':_0x181965(_0x59626a,_0x2fb8('0x27'),_0x181965(_0x59626a,_0x2fb8('0xf'),_0x1a5996))};}}),_0x26443b[_0x2fb8('0x80')][_0x2fb8('0x48')](_0x2fb8('0x10'),_0x2fb8('0x8'),_0x2fb8('0x9'),_0x40210b),_0x26443b[_0x2fb8('0x80')]['registerCustomCallback'](_0x2fb8('0xb'),'tableRow',_0x2fb8('0x57'),_0x40210b),_0x26443b[_0x2fb8('0x80')][_0x2fb8('0x48')](_0x2fb8('0x10'),'tableColumn',_0x2fb8('0x9'),_0x27ba6f),_0x26443b[_0x2fb8('0x80')][_0x2fb8('0x48')]('deletion',_0x2fb8('0x5'),_0x2fb8('0x57'),_0x27ba6f),_0x26443b[_0x2fb8('0x80')][_0x2fb8('0x48')](_0x2fb8('0x10'),_0x2fb8('0x5'),_0x2fb8('0x67'),_0x1ac8e2),_0x26443b[_0x2fb8('0x80')][_0x2fb8('0x48')]('deletion',_0x2fb8('0x5'),'join',_0x1ac8e2),_0x26443b[_0x2fb8('0x80')][_0x2fb8('0x48')](_0x2fb8('0x10'),_0x2fb8('0x8'),'join',_0xe7eec1),_0x26443b[_0x2fb8('0x80')]['registerCustomCallback'](_0x2fb8('0xb'),_0x2fb8('0x8'),_0x2fb8('0x67'),_0xe7eec1);}['_acceptFormatSuggestionCallbackFactory'](){const _0x35a8ba=this[_0x2fb8('0x46')],_0x23e8f4=_0x35a8ba['model']['document']['selection'];return(_0x25eb70,_0x4a844b)=>{_0x35a8ba[_0x2fb8('0x2c')][_0x2fb8('0xe')](_0x12c8ff=>{const {commandName:_0x233952,commandParams:_0x31aa28}=_0x4a844b;let _0x3d79d0=_0x25eb70[0x0][_0x2fb8('0x7')][_0x2fb8('0x30')];_0x31aa28&&_0x31aa28[0x0]&&!0x1===_0x31aa28[0x0][_0x2fb8('0x3f')]&&(_0x3d79d0=_0x25eb70[0x0]['start'][_0x2fb8('0x3a')]);const _0x1e548c=_0x12c8ff[_0x2fb8('0x3')](_0x3d79d0);if('$graveyard'==_0x1e548c[_0x2fb8('0x2f')][_0x2fb8('0x63')])return;const _0x3deeb3=Array['from'](_0x23e8f4['getRanges']())[_0x2fb8('0x7c')](_0x200f38=>_0x348d04[_0x2fb8('0x2e')](_0x200f38));_0x12c8ff['setSelection'](_0x1e548c),_0x35a8ba['commands'][_0x2fb8('0x32')](_0x233952)[_0x2fb8('0x68')](),_0x31aa28['push']({'forceDefaultExecution':!0x0}),_0x35a8ba[_0x2fb8('0x1')](_0x233952,..._0x31aa28);const _0x273cf6=_0x3deeb3[_0x2fb8('0x64')](_0x2899c4=>'$graveyard'!=_0x2899c4[_0x2fb8('0x2f')][_0x2fb8('0x63')]);_0x273cf6['length']>0x0&&_0x12c8ff['setSelection'](_0x273cf6);for(const _0x51eb4e of _0x3deeb3)_0x51eb4e['detach']();});};}[_0x2fb8('0x5e')](_0x4a17b1){const _0x565476=this['editor']['plugins'][_0x2fb8('0x32')]('TableUtils');let _0x5e5a8b=Number[_0x2fb8('0xc')],_0x42da49=Number[_0x2fb8('0x18')],_0x347c55=Number[_0x2fb8('0xc')],_0x47f095=Number[_0x2fb8('0x18')];for(const _0x4e3209 of _0x4a17b1){if('$graveyard'==_0x4e3209[_0x2fb8('0x2f')][_0x2fb8('0x63')])continue;const {row:_0x548fe4,column:_0x55c2cc}=_0x565476[_0x2fb8('0x31')](_0x4e3209),_0x5156c0=_0x4e3209['hasAttribute'](_0x2fb8('0x20'))?_0x4e3209[_0x2fb8('0x6b')](_0x2fb8('0x20'))-0x1:0x0,_0x58cd39=_0x4e3209[_0x2fb8('0x15')](_0x2fb8('0x5c'))?_0x4e3209[_0x2fb8('0x6b')](_0x2fb8('0x5c'))-0x1:0x0;_0x5e5a8b=_0x548fe4<_0x5e5a8b?_0x548fe4:_0x5e5a8b,_0x42da49=_0x548fe4+_0x5156c0>_0x42da49?_0x548fe4+_0x5156c0:_0x42da49,_0x347c55=_0x55c2cc<_0x347c55?_0x55c2cc:_0x347c55,_0x47f095=_0x55c2cc+_0x58cd39>_0x47f095?_0x55c2cc+_0x58cd39:_0x47f095;}return{'minRow':_0x5e5a8b,'maxRow':_0x42da49,'minColumn':_0x347c55,'maxColumn':_0x47f095};}[_0x2fb8('0x66')](){const _0x5d4d75=this[_0x2fb8('0x46')],_0xcd31ad=_0x5d4d75[_0x2fb8('0x61')][_0x2fb8('0x32')](_0x2fb8('0x5f')),_0x463b11=_0x5d4d75[_0x2fb8('0x61')][_0x2fb8('0x32')](_0x2fb8('0x76'));this[_0x2fb8('0x11')]=new Set(),_0x5d4d75[_0x2fb8('0x2c')][_0x2fb8('0x4a')]['on']('change:data',()=>{const _0x3ea38e=Array[_0x2fb8('0x26')](_0x5d4d75[_0x2fb8('0x2c')][_0x2fb8('0x4a')][_0x2fb8('0x42')][_0x2fb8('0x7d')]());for(const {name:_0xf7890a,data:_0x48697d}of _0x3ea38e){const {group:_0x220f71,id:_0x13a3db,subType:_0x131804}=_0xcd31ad['_splitMarkerName'](_0xf7890a);if(_0x2fb8('0x25')!=_0x220f71)continue;if(null!=_0x48697d['oldRange'])continue;const _0x4368b2=_0xcd31ad[_0x2fb8('0x55')](_0x13a3db);this[_0x2fb8('0x2d')][_0x2fb8('0x47')](_0x131804)&&this[_0x2fb8('0x11')]['add'](_0x4368b2);}},{'priority':_0x2fb8('0x72')});const _0xdddbe5=(_0x3071b5,_0x3d2851)=>{let _0x539fb7=!0x1;const _0x226d29=_0x3d2851[_0x2fb8('0x7e')](_0x3071b5),_0x9915c0=_0x3071b5[_0x2fb8('0xa')](_0x2fb8('0x52')),_0x2e47ee=_0x463b11[_0x2fb8('0x31')](_0x3071b5);for(const _0x1d3f63 of this[_0x2fb8('0x11')]){const _0x3e5d87=_0x1d3f63[_0x2fb8('0x43')],_0x4edf53=_0x3e5d87['startsWith'](_0x2fb8('0x75')),_0x2064b3=_0x3e5d87['substr'](_0x4edf53?0xa:0x5),_0x146e1c=_0x2064b3[_0x2fb8('0x6c')](),_0x2b7846=_0x146e1c['substr'](0x0,0x3)+_0x2fb8('0x44'),_0x2a8367=_0x2fb8('0x16')+_0x2064b3,_0x1ec7ec=_0x2fb8('0x22')+_0x2064b3;if(!_0x1d3f63['isInContent'])continue;if(_0x9915c0!=_0x1d3f63[_0x2fb8('0x21')]()[_0x2fb8('0x73')]['findAncestor'](_0x2fb8('0x52')))continue;if(_0x1d3f63[_0x2fb8('0x1b')](_0x226d29))continue;const _0x1e6e33=_0x3071b5['hasAttribute'](_0x2b7846)?_0x3071b5[_0x2fb8('0x6b')](_0x2b7846)-0x1:0x0,_0x300bd7=this[_0x2fb8('0x6a')](_0x1d3f63),_0xb0090f=_0x300bd7[_0x2a8367],_0x293cb1=_0x300bd7[_0x1ec7ec];_0xb0090f<=_0x2e47ee[_0x146e1c]&&_0x2e47ee[_0x146e1c]+_0x1e6e33<=_0x293cb1&&(_0x1d3f63[_0x2fb8('0x81')](_0x226d29),_0x539fb7=!0x0);}return _0x539fb7;};_0x5d4d75[_0x2fb8('0x2c')][_0x2fb8('0x4a')][_0x2fb8('0x36')](_0x4c26fb=>{let _0x152be7=!0x1;for(const _0x2e873f of _0x5d4d75[_0x2fb8('0x2c')]['document']['differ'][_0x2fb8('0x5d')]())if(_0x2fb8('0x7f')==_0x2e873f['type']){if(_0x2fb8('0x8')==_0x2e873f[_0x2fb8('0x4')])for(const _0x9f35cc of _0x2e873f[_0x2fb8('0x65')][_0x2fb8('0x3a')][_0x2fb8('0x41')]())_0x152be7=_0x152be7||_0xdddbe5(_0x9f35cc,_0x4c26fb);else _0x2fb8('0x6d')==_0x2e873f[_0x2fb8('0x4')]&&(_0x152be7=_0x152be7||_0xdddbe5(_0x2e873f['position'][_0x2fb8('0x3a')],_0x4c26fb));}return _0x152be7;});}[_0x2fb8('0x6a')](_0x1c0b44){return this[_0x2fb8('0x5e')](_0x1c0b44['getRanges']()[_0x2fb8('0x7c')](_0x565e94=>_0x565e94[_0x2fb8('0x73')][_0x2fb8('0x3a')]));}}function Bt(_0x4fc43b){return Array[_0x2fb8('0x26')](new Set(_0x4fc43b)[_0x2fb8('0x0')]());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2527=['hasSuggestion','getMarkers','_descriptionFactory','tablePasteCell','author','suggestion:formatBlock:tablePasteCell','tableCellBackgroundColor','suggestionUnloaded','subType','showSuggestionHighlights','createRangeOn','deletion','tableCellVerticalAlignment','remove','_createdBatches','column','find','type','containsRange','setAttribute','markMultiRangeInsertion','getChangedMarkers','endRow','change','oldRange','fill','tableCellBorderWidth','attributes','ck-suggestion-marker--active','formatBlock','endColumn','getColumnIndexes','selection','rowInsertionRanges','$graveyard','getSuggestions','removeMarkers','previousSibling','root','register','TrackChangesEditing','from','discard','element','editingDowncast','keys','redo','position','tablePaste','createRange','createRangeIn','suggestionLoaded','_splitMarkerName','insertColumns','join','has','TableClipboard','suggestion-td','markerToHighlight','isEqual','next','registerPostFixer','getSuggestion','requires','rootName','getChildren','tablePasteRow','removeRows','move','_getCoordsForCells','newRange','fromEntries','length','start','name','previous','unwrap','editor','options','isEmpty','tableCellBorderStyle','batch','markMultiRangeDeletion','deletionRanges','set','high','forceDefaultExecution','Users','conversion','markerAttributes','elementToElement','return','createPositionBefore','TableUtils','updateMarker','cell','includes','getRows','differ','paragraph','tableCellPadding','suggestion','insertion','nodeAfter','model','end','tableCell','map','table','ck-suggestion-marker-insertion','insertionRanges','commands','setAttributes','columns','dataDowncast','tablePasteColumn','insert','_isForcedDefaultExecutionBlock','getRange','startsWith','activeMarkers','_tablePostFixingSubtypes','getColumns','findAncestor','stop','removeMarker','tableCellBorderColor','some','document','tablePasteChainId','nextSibling','getItems','first','last','value','getRanges','createElement','rows','get','filter','locale','getContainedElement','registerCustomCallback','for','getAllAdjacentSuggestions','tableCellSuggestion','rowInsertionIndexes','getChild','plugins','markMultiRangeBlockFormat','view','registerDescriptionCallback','markerName','insertRows','markers','isInContent','insertContent','_suggestionFactory','push','columnInsertionIndexes','accept','getTableIfOnlyTableInContent','trackChanges','columnInsertionRanges','*Replace\x20table\x20cells*','cells','getSelectionAffectedTableCells','createTableWalker'];(function(_0x601963,_0x2527d9){const _0xb4a05c=function(_0x451907){while(--_0x451907){_0x601963['push'](_0x601963['shift']());}};_0xb4a05c(++_0x2527d9);}(_0x2527,0x7d));const _0xb4a0=function(_0x601963,_0x2527d9){_0x601963=_0x601963-0x0;let _0xb4a05c=_0x2527[_0x601963];return _0xb4a05c;};import{getTranslation as _0x14caf2}from'../utils/common-translations';import{Plugin as _0x283cae}from'ckeditor5/src/core';import _0x482f17 from'./table';import{uid as _0x1a68d2,priorities as _0x20bb2e}from'ckeditor5/src/utils';const oe=[_0xb4a0('0x45'),_0xb4a0('0x1'),_0xb4a0('0x7b'),'tableCellHorizontalAlignment',_0xb4a0('0x37'),_0xb4a0('0x31'),_0xb4a0('0x8f')],ne=Object[_0xb4a0('0x72')](oe[_0xb4a0('0x96')](_0x3d6fbe=>[_0x3d6fbe,null]));export default class ht extends _0x283cae{static get[_0xb4a0('0x6a')](){return[_0x482f17];}['afterInit'](){const _0x1c5976=this[_0xb4a0('0x78')];if(!_0x1c5976[_0xb4a0('0x17')][_0xb4a0('0x62')](_0xb4a0('0x63')))return;const _0x350731=_0x1c5976['plugins']['get'](_0xb4a0('0x53')),_0x3f1ecd=_0x1c5976[_0xb4a0('0x17')][_0xb4a0('0xd')](_0xb4a0('0x88')),_0xe3d68b=_0x1c5976[_0xb4a0('0x17')][_0xb4a0('0xd')](_0x482f17),_0x4443fe=_0x1c5976[_0xb4a0('0x17')][_0xb4a0('0xd')]('TableClipboard');_0xe3d68b[_0xb4a0('0xa4')][_0xb4a0('0x21')](_0xb4a0('0x6d'),_0xb4a0('0x9e')),_0x1c5976[_0xb4a0('0x93')]['schema'][_0xb4a0('0x52')](_0xb4a0('0x14'),{'allowIn':_0xb4a0('0x95'),'allowContentOf':_0xb4a0('0x95'),'isLimit':!0x0}),_0x1c5976['conversion'][_0xb4a0('0x85')]({'model':'tableCellSuggestion','view':_0xb4a0('0x64')});let _0xb7d542=null;_0x1c5976[_0xb4a0('0x93')]['on']('insertContent',(_0x4fcc94,_0x2d7dbb)=>{const [_0x635f0c,_0x5c030a]=_0x2d7dbb,_0x55a23b=_0x2d7dbb[_0x2d7dbb[_0xb4a0('0x73')]-0x1];_0x55a23b&&_0x55a23b[_0xb4a0('0x81')]||_0x350731[_0xb4a0('0xa0')]||this[_0xb4a0('0x78')][_0xb4a0('0x9a')][_0xb4a0('0xd')](_0xb4a0('0x25'))[_0xb4a0('0x9')]&&function(_0x155ef8,_0x2c59b8,_0x59e93b,_0x46a51a,_0x398c06){if(_0x2c59b8&&!_0x2c59b8['is']('documentSelection'))return!0x1;const _0xee508f=_0x398c06[_0xb4a0('0x24')](_0x155ef8,_0x59e93b);if(!_0xee508f||!se(_0xee508f,null,_0x46a51a))return!0x1;const _0x18cb15=_0x46a51a[_0xb4a0('0x29')](_0x59e93b[_0xb4a0('0x3')][_0xb4a0('0x4b')]);if(!_0x18cb15[_0xb4a0('0x73')])return!0x1;const _0x584157=_0x18cb15[0x0][_0xb4a0('0xa6')](_0xb4a0('0x97')),_0x1298ee=_0x46a51a['getRowIndexes'](_0x18cb15),_0x4656ef=_0x46a51a[_0xb4a0('0x4a')](_0x18cb15),_0x2c23e8={'startRow':_0x1298ee[_0xb4a0('0x7')],'endRow':_0x1298ee[_0xb4a0('0x8')],'startColumn':_0x4656ef[_0xb4a0('0x7')],'endColumn':_0x4656ef[_0xb4a0('0x8')]};return 0x1==_0x18cb15[_0xb4a0('0x73')]&&(_0x2c23e8[_0xb4a0('0x41')]+=_0x46a51a[_0xb4a0('0x8c')](_0xee508f)-0x1,_0x2c23e8[_0xb4a0('0x49')]+=_0x46a51a[_0xb4a0('0xa5')](_0xee508f)-0x1),se(_0x584157,_0x2c23e8,_0x46a51a);}(_0x635f0c,_0x5c030a,_0x1c5976[_0xb4a0('0x93')],_0x3f1ecd,_0x4443fe)&&(_0x4fcc94[_0xb4a0('0xa7')](),_0xb7d542={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x1c5976[_0xb4a0('0x93')][_0xb4a0('0x42')](()=>{_0x1c5976[_0xb4a0('0x93')][_0xb4a0('0x1f')](_0x2d7dbb[0x0],_0x2d7dbb[0x1],_0x2d7dbb[0x2],_0x2d7dbb[0x3],{'forceDefaultExecution':!0x0});const _0x185595=_0x1a68d2(),{rowInsertionRanges:_0x5ed481,columnInsertionRanges:_0x21a37d,insertionRanges:_0x125ab0,deletionRanges:_0x38b2f0,cells:_0x5d099c}=_0xb7d542;_0x5ed481[_0xb4a0('0x73')]&&_0x350731[_0xb4a0('0x3f')](_0x5ed481,_0xb4a0('0x6d'),{'tablePasteChainId':_0x185595}),_0x21a37d[_0xb4a0('0x73')]&&_0x350731[_0xb4a0('0x3f')](_0x21a37d,_0xb4a0('0x9e'),{'tablePasteChainId':_0x185595}),_0x125ab0[_0xb4a0('0x73')]&&_0x350731[_0xb4a0('0x3f')](_0x125ab0,'tablePaste',{'tablePasteChainId':_0x185595,'skipNestingCheck':!0x0}),_0x38b2f0[_0xb4a0('0x73')]&&_0x350731[_0xb4a0('0x7d')](_0x38b2f0,'tablePaste',{'tablePasteChainId':_0x185595,'skipNestingCheck':!0x0});const _0x2eea12=_0x350731[_0xb4a0('0x18')](_0x5d099c[_0xb4a0('0x96')](({element:_0x46e805})=>_0x46e805),{'formatGroupId':_0x1a68d2()},[],'tablePasteCell',{'tablePasteChainId':_0x185595});if(_0x2eea12){const _0x340591=_0x2eea12['getMarkers'](),_0xd09457=[];for(const {element:_0xaff169,attributes:_0x3c3760}of _0x5d099c){if(!_0x3c3760)continue;const _0x1987c0=_0x1c5976[_0xb4a0('0x93')]['createRangeOn'](_0xaff169),_0x52348e=_0x340591[_0xb4a0('0x3b')](_0x3802ff=>_0x3802ff[_0xb4a0('0xa1')]()[_0xb4a0('0x66')](_0x1987c0));_0x52348e&&_0xd09457['push']([_0x52348e[_0xb4a0('0x75')],_0x3c3760]);}_0xd09457['length']&&_0x2eea12[_0xb4a0('0x3e')](_0xb4a0('0x84'),Object['fromEntries'](_0xd09457));}_0xb7d542=null;}));},{'priority':_0x20bb2e[_0xb4a0('0x80')]+0xa}),_0x1c5976[_0xb4a0('0x17')]['get']('TableClipboard')['on']('_replaceTableSlotCell',(_0x3ce887,_0x5a3e72)=>{const [_0x1fa933,_0x4c9498,,_0x40b633]=_0x5a3e72;if(!_0xb7d542)return;_0x3ce887[_0xb4a0('0xa7')]();const _0x4acbdc=_0x1fa933[_0xb4a0('0x8a')],_0x57da22=_0x4c9498,_0x5634fe=le(_0x4acbdc),_0x538089=le(_0x57da22);_0x3ce887[_0xb4a0('0x86')]=_0x4acbdc;let _0x37719e=null,_0x665f94=null;if(_0x538089||_0x5634fe){if(_0x5634fe&&!_0x538089){_0x40b633['remove'](_0x4acbdc[_0xb4a0('0x16')](0x0));for(const _0x34df8c of Array[_0xb4a0('0x54')](_0x57da22[_0xb4a0('0x6c')]()))_0x40b633[_0xb4a0('0x9f')](_0x34df8c,_0x4acbdc,_0xb4a0('0x94'));const _0x225efe=_0xb7d542['rowInsertionIndexes'][_0xb4a0('0x8b')](_0x1fa933['row']),_0x57820a=_0xb7d542[_0xb4a0('0x22')][_0xb4a0('0x8b')](_0x1fa933[_0xb4a0('0x3a')]);_0x225efe||_0x57820a||(_0x37719e=_0x40b633[_0xb4a0('0x5d')](_0x4acbdc));}else _0x538089&&!_0x5634fe&&(_0x665f94=_0x40b633[_0xb4a0('0x5d')](_0x4acbdc));}else{const _0x1cdf8d=_0x40b633[_0xb4a0('0xb')](_0xb4a0('0x14')),_0x27698f=_0x40b633[_0xb4a0('0xb')](_0xb4a0('0x14'));_0x40b633['wrap'](_0x40b633[_0xb4a0('0x5d')](_0x4acbdc),_0x27698f),_0x40b633[_0xb4a0('0x9f')](_0x1cdf8d,_0x4acbdc,0x0);for(const _0x40feb6 of Array[_0xb4a0('0x54')](_0x57da22[_0xb4a0('0x6c')]()))_0x40b633[_0xb4a0('0x9f')](_0x40feb6,_0x1cdf8d,'end');_0x37719e=_0x40b633[_0xb4a0('0x35')](_0x1cdf8d),_0x665f94=_0x40b633['createRangeOn'](_0x27698f);}const _0x499ef4=Array[_0xb4a0('0x54')](_0x57da22['getAttributes']())[_0xb4a0('0xe')](([_0xb7788d])=>oe['includes'](_0xb7788d));_0xb7d542[_0xb4a0('0x28')][_0xb4a0('0x21')]({'element':_0x4acbdc,'attributes':_0x499ef4[_0xb4a0('0x73')]?Object[_0xb4a0('0x72')](_0x499ef4):null}),_0x37719e&&_0xb7d542[_0xb4a0('0x99')][_0xb4a0('0x21')](_0x37719e),_0x665f94&&_0xb7d542[_0xb4a0('0x7e')]['push'](_0x665f94);},{'priority':_0xb4a0('0x80')}),_0x3f1ecd['on'](_0xb4a0('0x60'),(_0x2db2ab,_0x38caee)=>{const [_0x1f01c8,_0x72d3a8={}]=_0x38caee;if(!_0xb7d542)return;const _0x1d1a46=_0x72d3a8['at']||0x0,_0x314e68=_0x72d3a8[_0xb4a0('0x9c')]||0x1;_0xb7d542[_0xb4a0('0x22')]=new Array(_0x314e68)[_0xb4a0('0x44')](_0x1d1a46)[_0xb4a0('0x96')]((_0x28e03a,_0x14bcdf)=>_0x28e03a+_0x14bcdf);for(const {cell:_0x3c2eea}of _0x3f1ecd[_0xb4a0('0x2a')](_0x1f01c8,{'startColumn':_0x1d1a46,'endColumn':_0x1d1a46+_0x314e68-0x1}))_0xb7d542[_0xb4a0('0x26')][_0xb4a0('0x21')](_0x1c5976[_0xb4a0('0x93')]['createRangeOn'](_0x3c2eea));},{'priority':'low'}),_0x3f1ecd['on'](_0xb4a0('0x1c'),(_0x205a4c,_0x1cf68c)=>{const [_0x43f219,_0x2a2d3e={}]=_0x1cf68c;if(!_0xb7d542)return;const _0x46db2d=_0x2a2d3e['at']||0x0,_0x4686be=_0x2a2d3e[_0xb4a0('0xc')]||0x1;_0xb7d542[_0xb4a0('0x15')]=new Array(_0x4686be)[_0xb4a0('0x44')](_0x46db2d)['map']((_0x3bb909,_0xea66a7)=>_0x3bb909+_0xea66a7);for(const {cell:_0xf3099b}of _0x3f1ecd['createTableWalker'](_0x43f219,{'startRow':_0x46db2d,'endRow':_0x46db2d+_0x4686be-0x1}))_0xb7d542[_0xb4a0('0x4c')][_0xb4a0('0x21')](_0x1c5976[_0xb4a0('0x93')][_0xb4a0('0x35')](_0xf3099b));},{'priority':'low'}),_0x350731[_0xb4a0('0x2d')][_0xb4a0('0x1a')](_0x185622=>{if(_0x185622[_0xb4a0('0x33')]&&_0x185622[_0xb4a0('0x33')]['startsWith']('tablePaste'))return _0x185622[_0xb4a0('0x76')]?{}:{'type':_0xb4a0('0x91'),'content':_0x14caf2(_0x1c5976[_0xb4a0('0xf')],_0xb4a0('0x27'))};});const _0xc4e916=()=>{};for(const _0x241050 of['tablePaste',_0xb4a0('0x9e'),'tablePasteRow',_0xb4a0('0x2e')])_0x350731[_0xb4a0('0x20')]['registerCustomCallback']('insertion',_0x241050,_0xb4a0('0x61'),_0xc4e916),_0x350731[_0xb4a0('0x20')]['registerCustomCallback'](_0xb4a0('0x36'),_0x241050,'join',_0xc4e916);_0x350731[_0xb4a0('0x20')][_0xb4a0('0x11')](_0xb4a0('0x48'),_0xb4a0('0x2e'),_0xb4a0('0x55'),_0xc4e916),_0x350731[_0xb4a0('0x20')][_0xb4a0('0x11')](_0xb4a0('0x48'),'tablePasteCell',_0xb4a0('0x23'),(_0x4a7048,_0x328cb8,_0x2b5b85)=>{const _0xc8abdc=_0x4a7048['map'](_0x4e29df=>_0x4e29df[_0xb4a0('0x10')]())[_0xb4a0('0xe')](_0x212145=>_0x212145),_0x2d6349=new Map(_0xc8abdc[_0xb4a0('0x96')](_0x58f640=>[_0x58f640,null]));if(_0xb7d542)for(const {element:_0x77ffe8,attributes:_0x38563b}of _0xb7d542[_0xb4a0('0x28')])_0x38563b&&_0x2d6349[_0xb4a0('0x7f')](_0x77ffe8,_0x38563b);else{if(_0x2b5b85&&_0x2b5b85[_0xb4a0('0x84')])for(const [_0x58e309,_0x57e8ea]of Object['entries'](_0x2b5b85[_0xb4a0('0x84')])){const _0x936b43=_0x1c5976[_0xb4a0('0x93')][_0xb4a0('0x1d')]['get'](_0x58e309),_0x565699=_0x936b43?_0x936b43[_0xb4a0('0xa1')]()['getContainedElement']():null;_0x565699&&_0x2d6349[_0xb4a0('0x7f')](_0x565699,_0x57e8ea);}}_0x1c5976['model'][_0xb4a0('0x42')](_0x1912a4=>{for(const [_0x29b72a,_0x510997]of _0x2d6349)_0x1912a4[_0xb4a0('0x9b')]({...ne,..._0x510997},_0x29b72a);});});const _0x5d7c9f=(_0x351324,_0x133328)=>{_0x350731[_0xb4a0('0x20')][_0xb4a0('0x11')](_0x351324,_0xb4a0('0x5b'),_0x133328,(_0x10db4f,_0x1f6a39,_0x5015af)=>{_0x1c5976[_0xb4a0('0x93')][_0xb4a0('0x42')](_0x3a100d=>{const _0x1317d6=[];for(const _0x15b64c of _0x10db4f){const _0x104efc=_0x15b64c[_0xb4a0('0x74')][_0xb4a0('0x92')];_0x104efc['is'](_0xb4a0('0x56'),'tableCellSuggestion')&&_0x1317d6[_0xb4a0('0x21')](_0x104efc);}_0x350731[_0xb4a0('0x20')]['getSuggestionCallback'](_0x351324,null,_0x133328)(_0x10db4f,_0x1f6a39,_0x5015af);for(const _0x3a4a36 of _0x1317d6)_0xb4a0('0x4d')!=_0x3a4a36[_0xb4a0('0x51')][_0xb4a0('0x6b')]&&_0x3a100d[_0xb4a0('0x77')](_0x3a4a36);});});};_0x5d7c9f(_0xb4a0('0x91'),_0xb4a0('0x23')),_0x5d7c9f('insertion',_0xb4a0('0x55')),_0x5d7c9f(_0xb4a0('0x36'),'accept'),_0x5d7c9f(_0xb4a0('0x36'),_0xb4a0('0x55')),_0x350731[_0xb4a0('0x20')][_0xb4a0('0x11')](_0xb4a0('0x91'),'tablePasteRow',_0xb4a0('0x55'),_0x562c03=>{const _0x4523ca=_0x562c03['map'](_0x2c2a85=>_0x2c2a85['getContainedElement']()),_0x1384d7=_0x4523ca[0x0]['findAncestor'](_0xb4a0('0x97')),{minRow:_0x82de64,maxRow:_0x3551dc}=_0xe3d68b[_0xb4a0('0x70')](_0x4523ca);_0x3f1ecd[_0xb4a0('0x6e')](_0x1384d7,{'at':_0x82de64,'rows':_0x3551dc-_0x82de64+0x1});}),_0x350731[_0xb4a0('0x20')][_0xb4a0('0x11')](_0xb4a0('0x91'),_0xb4a0('0x9e'),_0xb4a0('0x55'),_0x599c5f=>{const _0x499c19=_0x599c5f[_0xb4a0('0x96')](_0x238da2=>_0x238da2['getContainedElement']()),_0x150a7c=_0x499c19[0x0][_0xb4a0('0xa6')]('table'),{minColumn:_0xc5b2ac,maxColumn:_0x58bc22}=_0xe3d68b[_0xb4a0('0x70')](_0x499c19);_0x3f1ecd['removeColumns'](_0x150a7c,{'at':_0xc5b2ac,'columns':_0x58bc22-_0xc5b2ac+0x1});});const _0xfbb0b4=(_0x4f3b2e,_0x609eb1)=>{if(!_0x609eb1[_0xb4a0('0x33')]||!_0x609eb1[_0xb4a0('0x33')][_0xb4a0('0xa2')](_0xb4a0('0x5b')))return;const _0x11a037=_0x609eb1[_0xb4a0('0x46')][_0xb4a0('0x4')],_0x429847=_0x350731[_0xb4a0('0x4e')]()[_0xb4a0('0xe')](_0x4bc680=>_0x4bc680[_0xb4a0('0x1e')]&&_0x4bc680[_0xb4a0('0x46')]&&_0x4bc680[_0xb4a0('0x46')][_0xb4a0('0x4')]==_0x11a037);_0x429847[_0xb4a0('0x73')]&&_0x609eb1[_0xb4a0('0x13')]()[_0xb4a0('0x73')]!=_0x429847[_0xb4a0('0x73')]&&_0x429847['reduce']((_0x3e1460,_0x5d131b)=>(_0x3e1460[_0xb4a0('0x67')]=_0x5d131b,_0x5d131b[_0xb4a0('0x76')]=_0x3e1460,_0x5d131b));};function _0xa3ccbf(_0x2bc274,{showActiveMarker:_0xca7cd1=!0x0}={}){const {id:_0x54d7c9}=_0x350731[_0xb4a0('0x5f')](_0x2bc274[_0xb4a0('0x1b')]),_0x3e86c6=['ck-suggestion-marker',_0xb4a0('0x98')],_0xfa8cd3=_0x350731[_0xb4a0('0xa3')]['includes'](_0x2bc274[_0xb4a0('0x1b')]);return _0xfa8cd3&&_0x3e86c6[_0xb4a0('0x21')](_0xb4a0('0x47')),{'classes':_0x3e86c6,'attributes':{'data-suggestion':_0x54d7c9},'priority':_0xfa8cd3&&_0xca7cd1?0xbc2:0xbb8};}_0x350731['on'](_0xb4a0('0x5e'),_0xfbb0b4,{'priority':'high'}),_0x350731['on'](_0xb4a0('0x32'),_0xfbb0b4,{'priority':_0xb4a0('0x80')}),_0x1c5976[_0xb4a0('0x93')][_0xb4a0('0x3')][_0xb4a0('0x68')](()=>{let _0x4c0b25=!0x1;const _0x2fd683=Array[_0xb4a0('0x54')](_0x1c5976['model'][_0xb4a0('0x3')][_0xb4a0('0x8d')]['getChangedMarkers']());for(const {name:_0x2206c3,data:_0x4e640c}of _0x2fd683){const {group:_0x7e6db8,type:_0x34d7fd,id:_0x41b12d}=_0x350731[_0xb4a0('0x5f')](_0x2206c3);if('suggestion'!=_0x7e6db8||_0xb4a0('0x36')!=_0x34d7fd||_0x4e640c[_0xb4a0('0x43')])continue;if(!_0x350731[_0xb4a0('0x2b')](_0x41b12d))continue;const _0x4b44eb=_0x350731[_0xb4a0('0x69')](_0x41b12d)['getRanges'](),_0x323b58=_0x1c5976[_0xb4a0('0x17')]['get'](_0xb4a0('0x82'))['me'];for(const _0x381703 of _0x350731[_0xb4a0('0x4e')]()){if(!_0x381703[_0xb4a0('0x1e')]||_0x381703[_0xb4a0('0x2f')]!=_0x323b58)continue;if(_0xb4a0('0x48')!=_0x381703[_0xb4a0('0x3c')]||_0xb4a0('0x2e')!=_0x381703[_0xb4a0('0x33')])continue;if(_0x381703[_0xb4a0('0xa')]()['every'](_0x35ea95=>_0x4b44eb[_0xb4a0('0x2')](_0x4d7dc6=>_0x4d7dc6[_0xb4a0('0x3d')](_0x35ea95,!0x0))))for(const _0x1a1498 of _0x381703[_0xb4a0('0x13')]())_0x1a1498[_0xb4a0('0x1e')]&&(_0x1a1498[_0xb4a0('0x55')](),_0x4c0b25=!0x0);}}return _0x4c0b25;}),_0x1c5976[_0xb4a0('0x93')]['document'][_0xb4a0('0x68')](_0x5dd93c=>{const _0x4aecda=_0x1c5976[_0xb4a0('0x9a')][_0xb4a0('0xd')](_0xb4a0('0x59'));if(!_0x4aecda||!_0x4aecda[_0xb4a0('0x39')]['has'](_0x5dd93c[_0xb4a0('0x7c')]))return!0x1;let _0x3fa765=!0x1;const _0x1cdf61=_0x1c5976['plugins'][_0xb4a0('0xd')]('Users')['me'],_0xf19510=_0x1c5976[_0xb4a0('0x93')][_0xb4a0('0x3')][_0xb4a0('0x8d')]['getChanges'](),_0x58bfa1=Array[_0xb4a0('0x54')](_0x1c5976['model'][_0xb4a0('0x3')]['differ'][_0xb4a0('0x40')]())[_0xb4a0('0xe')](({name:_0x4eb89f,data:_0x936b6d})=>{const {group:_0x4ff1a6,subType:_0x6d3eda,authorId:_0x13108f}=_0x350731[_0xb4a0('0x5f')](_0x4eb89f);return _0xb4a0('0x90')==_0x4ff1a6&&'tablePaste'==_0x6d3eda&&_0x13108f==_0x1cdf61['id']&&!_0x936b6d['oldRange'];});for(const _0x52b4b6 of _0xf19510){if(_0xb4a0('0x9f')!=_0x52b4b6[_0xb4a0('0x3c')]||'tableCellSuggestion'!=_0x52b4b6['name']||0x1!=_0x52b4b6[_0xb4a0('0x73')])continue;const _0x320ed5=_0x5dd93c[_0xb4a0('0x5c')](_0x52b4b6['position'],_0x52b4b6[_0xb4a0('0x5a')]['getShiftedBy'](0x1));if(!_0x58bfa1[_0xb4a0('0x3b')](({data:_0x237f6d})=>_0x237f6d['newRange']['isEqual'](_0x320ed5)))for(const {name:_0xaf378f,data:_0x57e324}of _0x58bfa1)if(_0x320ed5['containsRange'](_0x57e324[_0xb4a0('0x71')])){_0x5dd93c[_0xb4a0('0x89')](_0xaf378f,{'range':_0x320ed5}),_0x3fa765=!0x0;break;}}return _0x3fa765;}),_0x1c5976['model'][_0xb4a0('0x3')]['registerPostFixer'](_0x584f3a=>{let _0x44f574=!0x1;const _0x5eb14=_0x1c5976[_0xb4a0('0x17')][_0xb4a0('0xd')](_0xb4a0('0x82'))['me'],_0x37f22b=_0x350731[_0xb4a0('0x4e')]()[_0xb4a0('0xe')](_0x4067bf=>_0x4067bf[_0xb4a0('0x1e')]&&_0x4067bf[_0xb4a0('0x2f')]==_0x5eb14),_0x66fedc=new Set(),_0x48185e=new Set();for(const _0x3a579e of _0x37f22b)if('tablePaste'==_0x3a579e[_0xb4a0('0x33')])for(const _0x1476a5 of _0x3a579e[_0xb4a0('0x2c')]()){const _0x4619c4=_0x1476a5[_0xb4a0('0xa1')]()['getContainedElement']();if(_0x4619c4){if(_0x4619c4['is'](_0xb4a0('0x56'),_0xb4a0('0x14'))&&le(_0x4619c4)){_0x3a579e[_0xb4a0('0x0')](_0x1476a5['name']),_0x66fedc['add'](_0x4619c4),_0x44f574=!0x0;const _0x44a95e=_0x4619c4[_0xb4a0('0x5')],_0x4f61dc=_0x4619c4[_0xb4a0('0x50')],_0x1991a8=_0x44a95e&&_0x44a95e['is'](_0xb4a0('0x56'),_0xb4a0('0x14')),_0x595eb3=_0x4f61dc&&_0x4f61dc['is'](_0xb4a0('0x56'),_0xb4a0('0x14'));_0x1991a8&&!_0x66fedc[_0xb4a0('0x62')](_0x44a95e)&&_0x48185e['add'](_0x44a95e),_0x595eb3&&!_0x66fedc['has'](_0x4f61dc)&&_0x48185e['add'](_0x4f61dc);}else _0x4619c4['is']('element','paragraph')&&_0x4619c4[_0xb4a0('0x7a')]&&(_0x3a579e[_0xb4a0('0x0')](_0x1476a5[_0xb4a0('0x75')]),_0x44f574=!0x0);}}else{if(_0xb4a0('0x2e')==_0x3a579e[_0xb4a0('0x33')]){if(!_0x3a579e[_0xb4a0('0x46')]||!_0x3a579e[_0xb4a0('0x46')][_0xb4a0('0x4')])continue;const _0x49e45b=_0x3a579e['attributes']['markerAttributes'];if(_0x49e45b&&Object[_0xb4a0('0x58')](_0x49e45b)[_0xb4a0('0x73')])continue;const _0x37b0d6=_0x3a579e['attributes']['tablePasteChainId'];let _0x57a90f=!0x0,_0x1535ab=!0x0;for(const _0x3f6818 of _0x37f22b)if(_0x3f6818['subType']&&_0x3f6818['subType'][_0xb4a0('0xa2')](_0xb4a0('0x5b'))){if(!_0x3f6818[_0xb4a0('0x46')][_0xb4a0('0x4')]){_0x1535ab=!0x1;break;}if(_0x3f6818['id']!=_0x3a579e['id']&&_0x3f6818[_0xb4a0('0x46')]['tablePasteChainId']==_0x37b0d6){_0x57a90f=!0x1;break;}}_0x1535ab&&_0x57a90f&&(_0x3a579e[_0xb4a0('0x4f')](),_0x44f574=!0x0);}}for(const _0x29a80d of _0x66fedc)_0x584f3a[_0xb4a0('0x38')](_0x29a80d);for(const _0x28471a of _0x48185e)_0x584f3a[_0xb4a0('0x77')](_0x28471a);return _0x44f574;}),_0x1c5976[_0xb4a0('0x83')][_0xb4a0('0x12')](_0xb4a0('0x57'))[_0xb4a0('0x65')]({'model':_0xb4a0('0x30'),'view':_0xa3ccbf,'converterPriority':_0xb4a0('0x80')}),_0x1c5976[_0xb4a0('0x83')][_0xb4a0('0x12')](_0xb4a0('0x9d'))['markerToHighlight']({'model':_0xb4a0('0x30'),'view':(_0x522a33,_0x5528cb)=>{if(_0x5528cb[_0xb4a0('0x79')][_0xb4a0('0x34')])return _0xa3ccbf(_0x522a33,{'showActiveMarker':!0x1});},'converterPriority':_0xb4a0('0x80')});const _0x1beec1=_0x1c5976['editing'][_0xb4a0('0x19')];this['listenTo'](_0x1beec1[_0xb4a0('0x3')],'clipboardOutput',(_0x53caeb,_0x3139dd)=>{const _0x48a042=[];for(const _0x404635 of _0x1beec1[_0xb4a0('0x5d')](_0x3139dd['content'])[_0xb4a0('0x6')]())_0x404635['is']('element',_0xb4a0('0x64'))&&_0x48a042[_0xb4a0('0x21')](_0x404635);_0x1beec1['change'](_0x32cfe6=>{for(const _0x74d533 of _0x48a042)_0x32cfe6[_0xb4a0('0x6f')](_0x32cfe6[_0xb4a0('0x5d')](_0x74d533),_0x32cfe6[_0xb4a0('0x87')](_0x74d533)),_0x32cfe6[_0xb4a0('0x38')](_0x74d533);});});}}function le(_0x522f58){if(_0x522f58[_0xb4a0('0x7a')])return!0x0;const _0x4e700d=_0x522f58[_0xb4a0('0x16')](0x0);return _0x4e700d['is'](_0xb4a0('0x56'),_0xb4a0('0x8e'))&&_0x4e700d[_0xb4a0('0x7a')];}function se(_0x36025f,_0x5128b5={},_0x1e0423){for(const {isAnchor:_0x5e9522,cellHeight:_0xc8dfda,cellWidth:_0x21a5c9}of _0x1e0423[_0xb4a0('0x2a')](_0x36025f,{'includeAllSlots':!0x0,..._0x5128b5}))if(!_0x5e9522||0x1!=_0xc8dfda||0x1!=_0x21a5c9)return!0x1;return!0x0;}
23
+ const _0x325b=['tablePasteCell','containsRange','oldRange','table','remove','columnInsertionIndexes','showSuggestionHighlights','requires','editor','TableUtils','tableCellBorderStyle','batch','first','findAncestor','change','stop','tablePasteRow','tableCellPadding','differ','last','from','wrap','suggestionUnloaded','Users','createRange','root','editingDowncast','get','ck-suggestion-marker-insertion','plugins','add','has','tablePaste','setAttribute','createRangeIn','formatBlock','getMarkers','activeMarkers','insertionRanges','set','markers','_suggestionFactory','includes','column','rowInsertionIndexes','registerDescriptionCallback','cell','afterInit','listenTo','move','tableCellHorizontalAlignment','find','ck-suggestion-marker','content','_descriptionFactory','fromEntries','insertContent','fill','registerCustomCallback','tableCell','updateMarker','endRow','getChildren','getContainedElement','tableCellSuggestion','commands','TableClipboard','previous','newRange','cells','markMultiRangeDeletion','isInContent','elementToElement','_isForcedDefaultExecutionBlock','row','_splitMarkerName','getRanges','setAttributes','getSuggestions','getAllAdjacentSuggestions','options','insertRows','removeMarker','tableCellBorderWidth','rootName','removeMarkers','join','removeRows','accept','dataDowncast','tablePasteChainId','suggestion','element','map','createPositionBefore','startsWith','attributes','markerToHighlight','locale','deletion','*Replace\x20table\x20cells*','markerAttributes','isEqual','markMultiRangeInsertion','filter','insert','TrackChangesEditing','getRows','_getCoordsForCells','discard','length','tableCellBorderColor','selection','type','getRange','getChangedMarkers','createTableWalker','unwrap','low','deletionRanges','registerPostFixer','insertion','_createdBatches','conversion','markerName','nextSibling','subType','model','suggestion-td','columnInsertionRanges','createElement','hasSuggestion','push','end','tablePasteColumn','rows','getTableIfOnlyTableInContent','insertColumns','_replaceTableSlotCell','getColumns','paragraph','getChild','isEmpty','register','high','getShiftedBy','document','redo','getItems','view','markMultiRangeBlockFormat','next','$graveyard','getAttributes','position','createRangeOn','nodeAfter','name','getColumnIndexes'];(function(_0x3caae0,_0x325bb1){const _0x52c57b=function(_0x4b9f64){while(--_0x4b9f64){_0x3caae0['push'](_0x3caae0['shift']());}};_0x52c57b(++_0x325bb1);}(_0x325b,0x163));const _0x52c5=function(_0x3caae0,_0x325bb1){_0x3caae0=_0x3caae0-0x0;let _0x52c57b=_0x325b[_0x3caae0];return _0x52c57b;};import{getTranslation as _0x2aa592}from'../utils/common-translations';import{Plugin as _0x80cd54}from'ckeditor5/src/core';import _0x266487 from'./table';import{uid as _0x320c25,priorities as _0x3c9fe5}from'ckeditor5/src/utils';const oe=[_0x52c5('0x2e'),_0x52c5('0x4a'),_0x52c5('0x84'),_0x52c5('0xd'),'tableCellVerticalAlignment','tableCellBackgroundColor',_0x52c5('0x8b')],ne=Object[_0x52c5('0x12')](oe[_0x52c5('0x38')](_0x3adc6c=>[_0x3adc6c,null]));export default class ft extends _0x80cd54{static get[_0x52c5('0x81')](){return[_0x266487];}[_0x52c5('0xa')](){const _0x316171=this[_0x52c5('0x82')];if(!_0x316171[_0x52c5('0x97')][_0x52c5('0x99')](_0x52c5('0x1d')))return;const _0xeb95ef=_0x316171[_0x52c5('0x97')][_0x52c5('0x95')](_0x52c5('0x45')),_0x19c2b0=_0x316171[_0x52c5('0x97')][_0x52c5('0x95')](_0x52c5('0x83')),_0x2c26ff=_0x316171['plugins'][_0x52c5('0x95')](_0x266487),_0x46858f=_0x316171['plugins'][_0x52c5('0x95')](_0x52c5('0x1d'));_0x2c26ff['_tablePostFixingSubtypes'][_0x52c5('0x5f')](_0x52c5('0x8a'),'tablePasteColumn'),_0x316171[_0x52c5('0x5a')]['schema'][_0x52c5('0x6a')](_0x52c5('0x1b'),{'allowIn':'tableCell','allowContentOf':_0x52c5('0x16'),'isLimit':!0x0}),_0x316171[_0x52c5('0x56')][_0x52c5('0x23')]({'model':_0x52c5('0x1b'),'view':_0x52c5('0x5b')});let _0x5677a9=null;_0x316171[_0x52c5('0x5a')]['on'](_0x52c5('0x13'),(_0x24c4ec,_0x229d2d)=>{const [_0x32ec79,_0x8fa9a4]=_0x229d2d,_0x3b16aa=_0x229d2d[_0x229d2d[_0x52c5('0x49')]-0x1];_0x3b16aa&&_0x3b16aa['forceDefaultExecution']||_0xeb95ef[_0x52c5('0x24')]||this[_0x52c5('0x82')][_0x52c5('0x1c')][_0x52c5('0x95')]('trackChanges')['value']&&function(_0x4689ce,_0x3d32ff,_0x115765,_0x3ec4a0,_0x38d9f6){if(_0x3d32ff&&!_0x3d32ff['is']('documentSelection'))return!0x1;const _0x2d679c=_0x38d9f6[_0x52c5('0x63')](_0x4689ce,_0x115765);if(!_0x2d679c||!se(_0x2d679c,null,_0x3ec4a0))return!0x1;const _0x2dafc9=_0x3ec4a0['getSelectionAffectedTableCells'](_0x115765[_0x52c5('0x6d')][_0x52c5('0x4b')]);if(!_0x2dafc9['length'])return!0x1;const _0x56e114=_0x2dafc9[0x0][_0x52c5('0x87')]('table'),_0x5216ed=_0x3ec4a0['getRowIndexes'](_0x2dafc9),_0x4df708=_0x3ec4a0[_0x52c5('0x79')](_0x2dafc9),_0x1cbbdf={'startRow':_0x5216ed[_0x52c5('0x86')],'endRow':_0x5216ed['last'],'startColumn':_0x4df708[_0x52c5('0x86')],'endColumn':_0x4df708[_0x52c5('0x8d')]};return 0x1==_0x2dafc9['length']&&(_0x1cbbdf[_0x52c5('0x18')]+=_0x3ec4a0[_0x52c5('0x46')](_0x2d679c)-0x1,_0x1cbbdf['endColumn']+=_0x3ec4a0[_0x52c5('0x66')](_0x2d679c)-0x1),se(_0x56e114,_0x1cbbdf,_0x3ec4a0);}(_0x32ec79,_0x8fa9a4,_0x316171[_0x52c5('0x5a')],_0x19c2b0,_0x46858f)&&(_0x24c4ec[_0x52c5('0x89')](),_0x5677a9={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x316171[_0x52c5('0x5a')]['change'](()=>{_0x316171[_0x52c5('0x5a')]['insertContent'](_0x229d2d[0x0],_0x229d2d[0x1],_0x229d2d[0x2],_0x229d2d[0x3],{'forceDefaultExecution':!0x0});const _0x17036d=_0x320c25(),{rowInsertionRanges:_0x3de74c,columnInsertionRanges:_0x3efe23,insertionRanges:_0xbaad53,deletionRanges:_0x36d635,cells:_0x22e6cd}=_0x5677a9;_0x3de74c[_0x52c5('0x49')]&&_0xeb95ef['markMultiRangeInsertion'](_0x3de74c,_0x52c5('0x8a'),{'tablePasteChainId':_0x17036d}),_0x3efe23['length']&&_0xeb95ef[_0x52c5('0x42')](_0x3efe23,'tablePasteColumn',{'tablePasteChainId':_0x17036d}),_0xbaad53[_0x52c5('0x49')]&&_0xeb95ef[_0x52c5('0x42')](_0xbaad53,_0x52c5('0x9a'),{'tablePasteChainId':_0x17036d,'skipNestingCheck':!0x0}),_0x36d635[_0x52c5('0x49')]&&_0xeb95ef[_0x52c5('0x21')](_0x36d635,_0x52c5('0x9a'),{'tablePasteChainId':_0x17036d,'skipNestingCheck':!0x0});const _0x73891b=_0xeb95ef[_0x52c5('0x71')](_0x22e6cd['map'](({element:_0x347bdb})=>_0x347bdb),{'formatGroupId':_0x320c25()},[],_0x52c5('0x7a'),{'tablePasteChainId':_0x17036d});if(_0x73891b){const _0x32081f=_0x73891b[_0x52c5('0x9e')](),_0x480866=[];for(const {element:_0x1287e3,attributes:_0x305e9d}of _0x22e6cd){if(!_0x305e9d)continue;const _0x152dba=_0x316171['model']['createRangeOn'](_0x1287e3),_0x2f114b=_0x32081f[_0x52c5('0xe')](_0xa77782=>_0xa77782[_0x52c5('0x4d')]()[_0x52c5('0x41')](_0x152dba));_0x2f114b&&_0x480866[_0x52c5('0x5f')]([_0x2f114b['name'],_0x305e9d]);}_0x480866[_0x52c5('0x49')]&&_0x73891b[_0x52c5('0x9b')](_0x52c5('0x40'),Object[_0x52c5('0x12')](_0x480866));}_0x5677a9=null;}));},{'priority':_0x3c9fe5[_0x52c5('0x6b')]+0xa}),_0x316171[_0x52c5('0x97')]['get'](_0x52c5('0x1d'))['on'](_0x52c5('0x65'),(_0x213c3c,_0x29620b)=>{const [_0x7a04d8,_0x379c91,,_0x1129d9]=_0x29620b;if(!_0x5677a9)return;_0x213c3c[_0x52c5('0x89')]();const _0x3c571b=_0x7a04d8[_0x52c5('0x9')],_0x4bb569=_0x379c91,_0x1521e2=le(_0x3c571b),_0x1ef57c=le(_0x4bb569);_0x213c3c['return']=_0x3c571b;let _0x3e6045=null,_0x28a83a=null;if(_0x1ef57c||_0x1521e2){if(_0x1521e2&&!_0x1ef57c){_0x1129d9['remove'](_0x3c571b[_0x52c5('0x68')](0x0));for(const _0x2c0ac6 of Array[_0x52c5('0x8e')](_0x4bb569[_0x52c5('0x19')]()))_0x1129d9[_0x52c5('0x44')](_0x2c0ac6,_0x3c571b,'end');const _0x20ee1c=_0x5677a9[_0x52c5('0x7')][_0x52c5('0x5')](_0x7a04d8[_0x52c5('0x25')]),_0x3a61fc=_0x5677a9[_0x52c5('0x7f')][_0x52c5('0x5')](_0x7a04d8[_0x52c5('0x6')]);_0x20ee1c||_0x3a61fc||(_0x3e6045=_0x1129d9[_0x52c5('0x9c')](_0x3c571b));}else _0x1ef57c&&!_0x1521e2&&(_0x28a83a=_0x1129d9[_0x52c5('0x9c')](_0x3c571b));}else{const _0xdec88f=_0x1129d9[_0x52c5('0x5d')](_0x52c5('0x1b')),_0x35af8f=_0x1129d9[_0x52c5('0x5d')]('tableCellSuggestion');_0x1129d9[_0x52c5('0x8f')](_0x1129d9['createRangeIn'](_0x3c571b),_0x35af8f),_0x1129d9[_0x52c5('0x44')](_0xdec88f,_0x3c571b,0x0);for(const _0x51830e of Array[_0x52c5('0x8e')](_0x4bb569[_0x52c5('0x19')]()))_0x1129d9[_0x52c5('0x44')](_0x51830e,_0xdec88f,_0x52c5('0x60'));_0x3e6045=_0x1129d9[_0x52c5('0x76')](_0xdec88f),_0x28a83a=_0x1129d9[_0x52c5('0x76')](_0x35af8f);}const _0x39428c=Array[_0x52c5('0x8e')](_0x4bb569[_0x52c5('0x74')]())['filter'](([_0x4ba6ff])=>oe[_0x52c5('0x5')](_0x4ba6ff));_0x5677a9[_0x52c5('0x20')][_0x52c5('0x5f')]({'element':_0x3c571b,'attributes':_0x39428c['length']?Object['fromEntries'](_0x39428c):null}),_0x3e6045&&_0x5677a9[_0x52c5('0x1')][_0x52c5('0x5f')](_0x3e6045),_0x28a83a&&_0x5677a9[_0x52c5('0x52')]['push'](_0x28a83a);},{'priority':_0x52c5('0x6b')}),_0x19c2b0['on'](_0x52c5('0x64'),(_0x4e6688,_0x4f45c9)=>{const [_0x416fd3,_0x2fe8da={}]=_0x4f45c9;if(!_0x5677a9)return;const _0x52f5e8=_0x2fe8da['at']||0x0,_0x10adfc=_0x2fe8da['columns']||0x1;_0x5677a9[_0x52c5('0x7f')]=new Array(_0x10adfc)[_0x52c5('0x14')](_0x52f5e8)[_0x52c5('0x38')]((_0x91850f,_0x522f35)=>_0x91850f+_0x522f35);for(const {cell:_0x3af8f2}of _0x19c2b0[_0x52c5('0x4f')](_0x416fd3,{'startColumn':_0x52f5e8,'endColumn':_0x52f5e8+_0x10adfc-0x1}))_0x5677a9[_0x52c5('0x5c')][_0x52c5('0x5f')](_0x316171[_0x52c5('0x5a')]['createRangeOn'](_0x3af8f2));},{'priority':_0x52c5('0x51')}),_0x19c2b0['on'](_0x52c5('0x2c'),(_0xf54c6a,_0x244110)=>{const [_0x551ba9,_0x23ae17={}]=_0x244110;if(!_0x5677a9)return;const _0x5433f7=_0x23ae17['at']||0x0,_0x5d34b6=_0x23ae17[_0x52c5('0x62')]||0x1;_0x5677a9[_0x52c5('0x7')]=new Array(_0x5d34b6)[_0x52c5('0x14')](_0x5433f7)[_0x52c5('0x38')]((_0x58a517,_0x271ed9)=>_0x58a517+_0x271ed9);for(const {cell:_0x54569c}of _0x19c2b0[_0x52c5('0x4f')](_0x551ba9,{'startRow':_0x5433f7,'endRow':_0x5433f7+_0x5d34b6-0x1}))_0x5677a9['rowInsertionRanges'][_0x52c5('0x5f')](_0x316171[_0x52c5('0x5a')]['createRangeOn'](_0x54569c));},{'priority':_0x52c5('0x51')}),_0xeb95ef[_0x52c5('0x11')][_0x52c5('0x8')](_0x3d7c72=>{if(_0x3d7c72[_0x52c5('0x59')]&&_0x3d7c72[_0x52c5('0x59')]['startsWith'](_0x52c5('0x9a')))return _0x3d7c72[_0x52c5('0x1e')]?{}:{'type':'insertion','content':_0x2aa592(_0x316171[_0x52c5('0x3d')],_0x52c5('0x3f'))};});const _0x3e58b5=()=>{};for(const _0x59234d of['tablePaste',_0x52c5('0x61'),_0x52c5('0x8a'),'tablePasteCell'])_0xeb95ef['_suggestionFactory'][_0x52c5('0x15')](_0x52c5('0x54'),_0x59234d,_0x52c5('0x31'),_0x3e58b5),_0xeb95ef[_0x52c5('0x4')][_0x52c5('0x15')](_0x52c5('0x3e'),_0x59234d,_0x52c5('0x31'),_0x3e58b5);_0xeb95ef[_0x52c5('0x4')][_0x52c5('0x15')](_0x52c5('0x9d'),_0x52c5('0x7a'),_0x52c5('0x48'),_0x3e58b5),_0xeb95ef['_suggestionFactory'][_0x52c5('0x15')](_0x52c5('0x9d'),_0x52c5('0x7a'),_0x52c5('0x33'),(_0x4ff8ab,_0x310fcd,_0x2ef7d2)=>{const _0x539f64=_0x4ff8ab[_0x52c5('0x38')](_0x3f82f7=>_0x3f82f7[_0x52c5('0x1a')]())['filter'](_0x18e45e=>_0x18e45e),_0x34e0a9=new Map(_0x539f64['map'](_0x33bfd9=>[_0x33bfd9,null]));if(_0x5677a9)for(const {element:_0x2e3c62,attributes:_0x5076db}of _0x5677a9[_0x52c5('0x20')])_0x5076db&&_0x34e0a9[_0x52c5('0x2')](_0x2e3c62,_0x5076db);else{if(_0x2ef7d2&&_0x2ef7d2[_0x52c5('0x40')])for(const [_0x5d0df5,_0x31b171]of Object['entries'](_0x2ef7d2['markerAttributes'])){const _0x40511c=_0x316171[_0x52c5('0x5a')][_0x52c5('0x3')][_0x52c5('0x95')](_0x5d0df5),_0x244fd1=_0x40511c?_0x40511c[_0x52c5('0x4d')]()[_0x52c5('0x1a')]():null;_0x244fd1&&_0x34e0a9[_0x52c5('0x2')](_0x244fd1,_0x31b171);}}_0x316171[_0x52c5('0x5a')][_0x52c5('0x88')](_0x786c0b=>{for(const [_0x1a440f,_0x13b08c]of _0x34e0a9)_0x786c0b[_0x52c5('0x28')]({...ne,..._0x13b08c},_0x1a440f);});});const _0x23b94f=(_0x1c6dbf,_0x10a287)=>{_0xeb95ef[_0x52c5('0x4')][_0x52c5('0x15')](_0x1c6dbf,_0x52c5('0x9a'),_0x10a287,(_0x1cfe7d,_0x34dbfd,_0x28e697)=>{_0x316171['model'][_0x52c5('0x88')](_0x39d623=>{const _0x319462=[];for(const _0x3f667d of _0x1cfe7d){const _0x3195d8=_0x3f667d['start'][_0x52c5('0x77')];_0x3195d8['is']('element',_0x52c5('0x1b'))&&_0x319462['push'](_0x3195d8);}_0xeb95ef[_0x52c5('0x4')]['getSuggestionCallback'](_0x1c6dbf,null,_0x10a287)(_0x1cfe7d,_0x34dbfd,_0x28e697);for(const _0x2c7074 of _0x319462)_0x52c5('0x73')!=_0x2c7074[_0x52c5('0x93')][_0x52c5('0x2f')]&&_0x39d623[_0x52c5('0x50')](_0x2c7074);});});};_0x23b94f('insertion',_0x52c5('0x33')),_0x23b94f(_0x52c5('0x54'),'discard'),_0x23b94f('deletion',_0x52c5('0x33')),_0x23b94f(_0x52c5('0x3e'),_0x52c5('0x48')),_0xeb95ef['_suggestionFactory'][_0x52c5('0x15')](_0x52c5('0x54'),_0x52c5('0x8a'),_0x52c5('0x48'),_0x25c776=>{const _0x16d907=_0x25c776['map'](_0x2cb7a4=>_0x2cb7a4['getContainedElement']()),_0x45e5c6=_0x16d907[0x0]['findAncestor'](_0x52c5('0x7d')),{minRow:_0x50dc23,maxRow:_0x213cf7}=_0x2c26ff[_0x52c5('0x47')](_0x16d907);_0x19c2b0[_0x52c5('0x32')](_0x45e5c6,{'at':_0x50dc23,'rows':_0x213cf7-_0x50dc23+0x1});}),_0xeb95ef['_suggestionFactory'][_0x52c5('0x15')](_0x52c5('0x54'),'tablePasteColumn',_0x52c5('0x48'),_0x14b5c3=>{const _0x557172=_0x14b5c3[_0x52c5('0x38')](_0x3f4309=>_0x3f4309[_0x52c5('0x1a')]()),_0x1bf74f=_0x557172[0x0][_0x52c5('0x87')](_0x52c5('0x7d')),{minColumn:_0x1bde3c,maxColumn:_0x466bc9}=_0x2c26ff['_getCoordsForCells'](_0x557172);_0x19c2b0['removeColumns'](_0x1bf74f,{'at':_0x1bde3c,'columns':_0x466bc9-_0x1bde3c+0x1});});const _0x30c213=(_0x3c1f7e,_0x15d322)=>{if(!_0x15d322[_0x52c5('0x59')]||!_0x15d322[_0x52c5('0x59')][_0x52c5('0x3a')](_0x52c5('0x9a')))return;const _0x8998ac=_0x15d322['attributes']['tablePasteChainId'],_0x10bc0b=_0xeb95ef['getSuggestions']()[_0x52c5('0x43')](_0x3fff33=>_0x3fff33[_0x52c5('0x22')]&&_0x3fff33[_0x52c5('0x3b')]&&_0x3fff33['attributes']['tablePasteChainId']==_0x8998ac);_0x10bc0b['length']&&_0x15d322[_0x52c5('0x2a')]()[_0x52c5('0x49')]!=_0x10bc0b[_0x52c5('0x49')]&&_0x10bc0b['reduce']((_0x42ed1c,_0x26a41b)=>(_0x42ed1c[_0x52c5('0x72')]=_0x26a41b,_0x26a41b[_0x52c5('0x1e')]=_0x42ed1c,_0x26a41b));};function _0x3a585b(_0xea4427,{showActiveMarker:_0x4472fa=!0x0}={}){const {id:_0x504f50}=_0xeb95ef[_0x52c5('0x26')](_0xea4427[_0x52c5('0x57')]),_0x3a8b0f=[_0x52c5('0xf'),_0x52c5('0x96')],_0x599828=_0xeb95ef[_0x52c5('0x0')][_0x52c5('0x5')](_0xea4427[_0x52c5('0x57')]);return _0x599828&&_0x3a8b0f['push']('ck-suggestion-marker--active'),{'classes':_0x3a8b0f,'attributes':{'data-suggestion':_0x504f50},'priority':_0x599828&&_0x4472fa?0xbc2:0xbb8};}_0xeb95ef['on']('suggestionLoaded',_0x30c213,{'priority':_0x52c5('0x6b')}),_0xeb95ef['on'](_0x52c5('0x90'),_0x30c213,{'priority':_0x52c5('0x6b')}),_0x316171['model'][_0x52c5('0x6d')][_0x52c5('0x53')](()=>{let _0x2a08c2=!0x1;const _0x471166=Array[_0x52c5('0x8e')](_0x316171['model'][_0x52c5('0x6d')][_0x52c5('0x8c')][_0x52c5('0x4e')]());for(const {name:_0x21510b,data:_0x7100c1}of _0x471166){const {group:_0x15d4fe,type:_0x455e85,id:_0x4a32f8}=_0xeb95ef[_0x52c5('0x26')](_0x21510b);if(_0x52c5('0x36')!=_0x15d4fe||'deletion'!=_0x455e85||_0x7100c1[_0x52c5('0x7c')])continue;if(!_0xeb95ef[_0x52c5('0x5e')](_0x4a32f8))continue;const _0xce8b4e=_0xeb95ef['getSuggestion'](_0x4a32f8)[_0x52c5('0x27')](),_0x4915fb=_0x316171[_0x52c5('0x97')][_0x52c5('0x95')](_0x52c5('0x91'))['me'];for(const _0x379710 of _0xeb95ef['getSuggestions']()){if(!_0x379710[_0x52c5('0x22')]||_0x379710['author']!=_0x4915fb)continue;if(_0x52c5('0x9d')!=_0x379710[_0x52c5('0x4c')]||_0x52c5('0x7a')!=_0x379710[_0x52c5('0x59')])continue;if(_0x379710[_0x52c5('0x27')]()['every'](_0x11e120=>_0xce8b4e['some'](_0x463d03=>_0x463d03[_0x52c5('0x7b')](_0x11e120,!0x0))))for(const _0xb96f29 of _0x379710['getAllAdjacentSuggestions']())_0xb96f29[_0x52c5('0x22')]&&(_0xb96f29[_0x52c5('0x48')](),_0x2a08c2=!0x0);}}return _0x2a08c2;}),_0x316171[_0x52c5('0x5a')][_0x52c5('0x6d')]['registerPostFixer'](_0x523761=>{const _0x4199dc=_0x316171[_0x52c5('0x1c')]['get'](_0x52c5('0x6e'));if(!_0x4199dc||!_0x4199dc[_0x52c5('0x55')][_0x52c5('0x99')](_0x523761[_0x52c5('0x85')]))return!0x1;let _0x2d0cc0=!0x1;const _0x408866=_0x316171[_0x52c5('0x97')]['get']('Users')['me'],_0x9ece20=_0x316171[_0x52c5('0x5a')]['document'][_0x52c5('0x8c')]['getChanges'](),_0x3df30c=Array[_0x52c5('0x8e')](_0x316171[_0x52c5('0x5a')][_0x52c5('0x6d')][_0x52c5('0x8c')][_0x52c5('0x4e')]())[_0x52c5('0x43')](({name:_0x582c5f,data:_0x1d2c1c})=>{const {group:_0x59d4ba,subType:_0x3987db,authorId:_0x113055}=_0xeb95ef['_splitMarkerName'](_0x582c5f);return _0x52c5('0x36')==_0x59d4ba&&_0x52c5('0x9a')==_0x3987db&&_0x113055==_0x408866['id']&&!_0x1d2c1c[_0x52c5('0x7c')];});for(const _0x2ed22b of _0x9ece20){if(_0x52c5('0x44')!=_0x2ed22b[_0x52c5('0x4c')]||_0x52c5('0x1b')!=_0x2ed22b[_0x52c5('0x78')]||0x1!=_0x2ed22b[_0x52c5('0x49')])continue;const _0x1b5c2a=_0x523761[_0x52c5('0x92')](_0x2ed22b[_0x52c5('0x75')],_0x2ed22b['position'][_0x52c5('0x6c')](0x1));if(!_0x3df30c[_0x52c5('0xe')](({data:_0xcef99})=>_0xcef99[_0x52c5('0x1f')][_0x52c5('0x41')](_0x1b5c2a)))for(const {name:_0x37ee9a,data:_0x521efd}of _0x3df30c)if(_0x1b5c2a[_0x52c5('0x7b')](_0x521efd[_0x52c5('0x1f')])){_0x523761[_0x52c5('0x17')](_0x37ee9a,{'range':_0x1b5c2a}),_0x2d0cc0=!0x0;break;}}return _0x2d0cc0;}),_0x316171[_0x52c5('0x5a')][_0x52c5('0x6d')][_0x52c5('0x53')](_0x109bae=>{let _0x2f960c=!0x1;const _0x26e69e=_0x316171[_0x52c5('0x97')][_0x52c5('0x95')]('Users')['me'],_0x130f59=_0xeb95ef[_0x52c5('0x29')]()[_0x52c5('0x43')](_0x271085=>_0x271085['isInContent']&&_0x271085['author']==_0x26e69e),_0x3e6a29=new Set(),_0x23205c=new Set();for(const _0x133490 of _0x130f59)if(_0x52c5('0x9a')==_0x133490[_0x52c5('0x59')])for(const _0x43f773 of _0x133490[_0x52c5('0x9e')]()){const _0x5561f8=_0x43f773['getRange']()[_0x52c5('0x1a')]();if(_0x5561f8){if(_0x5561f8['is'](_0x52c5('0x37'),_0x52c5('0x1b'))&&le(_0x5561f8)){_0x133490[_0x52c5('0x2d')](_0x43f773[_0x52c5('0x78')]),_0x3e6a29[_0x52c5('0x98')](_0x5561f8),_0x2f960c=!0x0;const _0x4dea50=_0x5561f8[_0x52c5('0x58')],_0x614bb1=_0x5561f8['previousSibling'],_0x3a3b45=_0x4dea50&&_0x4dea50['is']('element',_0x52c5('0x1b')),_0x58a844=_0x614bb1&&_0x614bb1['is'](_0x52c5('0x37'),_0x52c5('0x1b'));_0x3a3b45&&!_0x3e6a29[_0x52c5('0x99')](_0x4dea50)&&_0x23205c[_0x52c5('0x98')](_0x4dea50),_0x58a844&&!_0x3e6a29[_0x52c5('0x99')](_0x614bb1)&&_0x23205c['add'](_0x614bb1);}else _0x5561f8['is'](_0x52c5('0x37'),_0x52c5('0x67'))&&_0x5561f8[_0x52c5('0x69')]&&(_0x133490[_0x52c5('0x2d')](_0x43f773[_0x52c5('0x78')]),_0x2f960c=!0x0);}}else{if(_0x52c5('0x7a')==_0x133490['subType']){if(!_0x133490[_0x52c5('0x3b')]||!_0x133490['attributes'][_0x52c5('0x35')])continue;const _0x54159a=_0x133490['attributes'][_0x52c5('0x40')];if(_0x54159a&&Object['keys'](_0x54159a)[_0x52c5('0x49')])continue;const _0x518619=_0x133490['attributes'][_0x52c5('0x35')];let _0x5d669c=!0x0,_0xf5b601=!0x0;for(const _0x45f7f3 of _0x130f59)if(_0x45f7f3[_0x52c5('0x59')]&&_0x45f7f3[_0x52c5('0x59')][_0x52c5('0x3a')](_0x52c5('0x9a'))){if(!_0x45f7f3[_0x52c5('0x3b')][_0x52c5('0x35')]){_0xf5b601=!0x1;break;}if(_0x45f7f3['id']!=_0x133490['id']&&_0x45f7f3['attributes'][_0x52c5('0x35')]==_0x518619){_0x5d669c=!0x1;break;}}_0xf5b601&&_0x5d669c&&(_0x133490[_0x52c5('0x30')](),_0x2f960c=!0x0);}}for(const _0x5c4150 of _0x3e6a29)_0x109bae[_0x52c5('0x7e')](_0x5c4150);for(const _0x38eefd of _0x23205c)_0x109bae[_0x52c5('0x50')](_0x38eefd);return _0x2f960c;}),_0x316171['conversion']['for'](_0x52c5('0x94'))['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':_0x3a585b,'converterPriority':_0x52c5('0x6b')}),_0x316171['conversion']['for'](_0x52c5('0x34'))[_0x52c5('0x3c')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x2d4710,_0x810fd0)=>{if(_0x810fd0[_0x52c5('0x2b')][_0x52c5('0x80')])return _0x3a585b(_0x2d4710,{'showActiveMarker':!0x1});},'converterPriority':_0x52c5('0x6b')});const _0x56ba2b=_0x316171['editing'][_0x52c5('0x70')];this[_0x52c5('0xb')](_0x56ba2b[_0x52c5('0x6d')],'clipboardOutput',(_0x54256b,_0x17c804)=>{const _0x247247=[];for(const _0x55277c of _0x56ba2b[_0x52c5('0x9c')](_0x17c804[_0x52c5('0x10')])[_0x52c5('0x6f')]())_0x55277c['is'](_0x52c5('0x37'),'suggestion-td')&&_0x247247['push'](_0x55277c);_0x56ba2b[_0x52c5('0x88')](_0x234484=>{for(const _0x379767 of _0x247247)_0x234484[_0x52c5('0xc')](_0x234484[_0x52c5('0x9c')](_0x379767),_0x234484[_0x52c5('0x39')](_0x379767)),_0x234484[_0x52c5('0x7e')](_0x379767);});});}}function le(_0x115eab){if(_0x115eab[_0x52c5('0x69')])return!0x0;const _0x401a62=_0x115eab[_0x52c5('0x68')](0x0);return _0x401a62['is'](_0x52c5('0x37'),_0x52c5('0x67'))&&_0x401a62[_0x52c5('0x69')];}function se(_0x3236ce,_0x40b548={},_0xffd351){for(const {isAnchor:_0x3d8d92,cellHeight:_0x5a93e0,cellWidth:_0x4d7348}of _0xffd351[_0x52c5('0x4f')](_0x3236ce,{'includeAllSlots':!0x0,..._0x40b548}))if(!_0x3d8d92||0x1!=_0x5a93e0||0x1!=_0x4d7348)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4932=['activeMarkers','createPositionAfter','getSuggestion','getColumnIndexes','stop','TableEditing','ck-suggestion-marker-','highest','removeMarker:suggestion','format','TableUtils','findAncestor','removeClass','selection','commandName','item','commands','addMarker:suggestion','*Format:*\x20%0','end','mapper','showSuggestionHighlights','data-suggestion','nodeBefore','markerNameToElements','createTableWalker','addClass','registerDescriptionCallback','getSelectionAffectedTableCells','options','enableCommand','FORMAT_HEADER_COLUMN','getCellLocation','value','index','ck-suggestion-marker--active','markerRange','has','parent','afterInit','plugins','first','_splitMarkerName','consume','cell','setAttribute','includes','forceValue','createPositionBefore','document','isBefore','accept','TrackChangesEditing','editing','childCount','FORMAT_HEADER_ROW','registerCustomCallback','setTableRowHeader','locale','from','commandParams','formatBlock','get','markBlockFormat','markerName','writer','last','table','model','data','setTableColumnHeader','FORMAT_REGULAR_COLUMN','requires','_descriptionFactory','createRange','change','downcastDispatcher','getChild','_acceptFormatSuggestionCallbackFactory','getAttribute','name','FORMAT_REGULAR_ROW','removeAttribute'];(function(_0x4bd689,_0x493212){const _0x2ca9e4=function(_0x5842b3){while(--_0x5842b3){_0x4bd689['push'](_0x4bd689['shift']());}};_0x2ca9e4(++_0x493212);}(_0x4932,0x1a2));const _0x2ca9=function(_0x4bd689,_0x493212){_0x4bd689=_0x4bd689-0x0;let _0x2ca9e4=_0x4932[_0x4bd689];return _0x2ca9e4;};import{Plugin as _0x333f22}from'ckeditor5/src/core';import _0x4e24c7 from'./table';import{getTranslation as _0x27eb06}from'../utils/common-translations';export default class ct extends _0x333f22{static get[_0x2ca9('0x45')](){return[_0x4e24c7];}[_0x2ca9('0x24')](){const _0x4cca5d=this['editor'];if(!_0x4cca5d['plugins'][_0x2ca9('0x22')](_0x2ca9('0x2')))return;const _0x2d3ce2=_0x4cca5d[_0x2ca9('0x37')],_0x3aa996=_0x4cca5d[_0x2ca9('0x25')][_0x2ca9('0x3b')](_0x2ca9('0x31')),_0x302042=_0x4cca5d[_0x2ca9('0x25')]['get'](_0x2ca9('0x7')),_0x4be1bd=_0x4cca5d['plugins'][_0x2ca9('0x3b')](_0x4e24c7);function _0x3f56fd({showActiveMarker:_0x6a5e5f=!0x0,setDataAttribute:_0x36e3c7=!0x0}={}){return(_0x5805f8,_0x2138ad,_0xf76803)=>{const {type:_0x2cdb34,id:_0x355d19}=_0x3aa996[_0x2ca9('0x27')](_0x2138ad[_0x2ca9('0x3d')]),_0x594e17=_0x3aa996[_0x2ca9('0x52')](_0x355d19);if(!_0x594e17[_0x2ca9('0x42')]||_0x2ca9('0x43')!=_0x594e17[_0x2ca9('0x42')][_0x2ca9('0xb')])return;if(_0x2138ad[_0x2ca9('0xc')])return void _0x5805f8[_0x2ca9('0x1')]();if(!_0xf76803['consumable'][_0x2ca9('0x28')](_0x2138ad['markerRange'],_0x5805f8[_0x2ca9('0x4d')]))return;const _0x4edd4b=_0x2138ad[_0x2ca9('0x21')]['start']['nodeAfter'],_0x5d2044=_0x2138ad[_0x2ca9('0x21')][_0x2ca9('0x10')][_0x2ca9('0x14')],_0x454298=_0x4edd4b['parent'][_0x2ca9('0x23')],{column:_0x440fd3}=_0x302042['getCellLocation'](_0x4edd4b),{column:_0x37aa78}=_0x302042[_0x2ca9('0x1d')](_0x5d2044);for(let _0x102239=_0x440fd3;_0x102239<=_0x37aa78;_0x102239++){const _0x1a65fb=_0x302042['createTableWalker'](_0x454298,{'column':_0x102239,'includeAllSlots':!0x1});for(const _0x805543 of _0x1a65fb){const _0x5a8c30=_0x805543[_0x2ca9('0x29')],_0x4eaaa6=_0xf76803[_0x2ca9('0x11')]['toViewElement'](_0x5a8c30);_0xf76803[_0x2ca9('0x3e')][_0x2ca9('0x17')](_0x2ca9('0x3')+_0x2cdb34,_0x4eaaa6),_0x36e3c7&&_0xf76803[_0x2ca9('0x3e')][_0x2ca9('0x2a')](_0x2ca9('0x13'),_0x355d19,_0x4eaaa6),_0xf76803[_0x2ca9('0x11')]['bindElementToMarker'](_0x4eaaa6,_0x2138ad[_0x2ca9('0x3d')]),_0x6a5e5f&&(_0x3aa996[_0x2ca9('0x50')][_0x2ca9('0x2b')](_0x2138ad[_0x2ca9('0x3d')])?_0xf76803['writer'][_0x2ca9('0x17')](_0x2ca9('0x20'),_0x4eaaa6):_0xf76803[_0x2ca9('0x3e')][_0x2ca9('0x9')](_0x2ca9('0x20'),_0x4eaaa6));}}};}_0x3aa996[_0x2ca9('0x1b')](_0x2ca9('0x36'),(_0x7665fc,_0x586a67)=>{const _0x3ffcd9=_0x302042[_0x2ca9('0x19')](_0x4cca5d[_0x2ca9('0x41')][_0x2ca9('0x2e')][_0x2ca9('0xa')]),_0x1c10a3=_0x302042['getRowIndexes'](_0x3ffcd9),_0x4075af=_0x3ffcd9[0x0][_0x2ca9('0x8')](_0x2ca9('0x40')),_0x114798=_0x4075af[_0x2ca9('0x4c')]('headingRows')||0x0,_0x36ab69=_0x586a67&&null!==_0x586a67['forceValue']?_0x586a67['forceValue']:!_0x4cca5d[_0x2ca9('0xd')][_0x2ca9('0x3b')](_0x2ca9('0x36'))[_0x2ca9('0x1e')],_0x411b01=_0x36ab69?_0x1c10a3[_0x2ca9('0x3f')]:_0x1c10a3[_0x2ca9('0x26')],_0x23ed5c=_0x4075af[_0x2ca9('0x4a')](_0x411b01);let _0x1247ef;if(_0x36ab69){const _0x2d0f3f=_0x4075af[_0x2ca9('0x4a')](_0x114798);if(_0x23ed5c[_0x2ca9('0x1f')]<_0x2d0f3f[_0x2ca9('0x1f')])return;_0x1247ef=_0x4cca5d[_0x2ca9('0x41')][_0x2ca9('0x47')](_0x4cca5d[_0x2ca9('0x41')][_0x2ca9('0x2d')](_0x2d0f3f[_0x2ca9('0x4a')](0x0)),_0x4cca5d[_0x2ca9('0x41')][_0x2ca9('0x51')](_0x23ed5c['getChild'](_0x23ed5c['childCount']-0x1)));}else{const _0x2a3188=_0x4075af[_0x2ca9('0x4a')](_0x114798-0x1);if(!_0x2a3188)return;_0x1247ef=_0x4cca5d[_0x2ca9('0x41')][_0x2ca9('0x47')](_0x4cca5d[_0x2ca9('0x41')]['createPositionBefore'](_0x23ed5c[_0x2ca9('0x4a')](0x0)),_0x4cca5d[_0x2ca9('0x41')][_0x2ca9('0x51')](_0x2a3188[_0x2ca9('0x4a')](_0x2a3188[_0x2ca9('0x33')]-0x1)));}_0x4cca5d[_0x2ca9('0x41')][_0x2ca9('0x48')](()=>{_0x3aa996[_0x2ca9('0x3c')](_0x1247ef,{'commandName':'setTableRowHeader','commandParams':[{'forceValue':_0x36ab69}]},[],_0x2ca9('0x36'));});}),_0x3aa996['enableCommand'](_0x2ca9('0x43'),(_0x726383,_0xbd60be)=>{const _0x17151b=_0x4cca5d[_0x2ca9('0x25')][_0x2ca9('0x3b')](_0x2ca9('0x7')),_0x175fe5=_0x17151b[_0x2ca9('0x19')](_0x4cca5d['model'][_0x2ca9('0x2e')][_0x2ca9('0xa')]),_0x4d067a=_0x17151b[_0x2ca9('0x0')](_0x175fe5),_0x1a1825=_0x175fe5[0x0][_0x2ca9('0x8')](_0x2ca9('0x40')),_0x61bb7=_0x1a1825[_0x2ca9('0x4c')]('headingColumns')||0x0,_0x22706d=_0xbd60be&&null!==_0xbd60be[_0x2ca9('0x2c')]?_0xbd60be['forceValue']:!_0x4cca5d[_0x2ca9('0xd')][_0x2ca9('0x3b')](_0x2ca9('0x43'))[_0x2ca9('0x1e')];let _0x1e6e3;const _0x1892f4=_0x1a1825['getChild'](0x0),_0x1582a7=_0x22706d?_0x4d067a[_0x2ca9('0x3f')]:_0x4d067a[_0x2ca9('0x26')],_0x30ca67=_0x17151b[_0x2ca9('0x16')](_0x1a1825,{'startRow':0x0,'column':_0x1582a7,'includeAllSlots':!0x1}),_0xe296b=Array[_0x2ca9('0x38')](_0x30ca67)[0x0]['cell'];if(_0x22706d){const _0xe53818=_0x1892f4[_0x2ca9('0x4a')](_0x61bb7);if(_0xe296b[_0x2ca9('0x2f')](_0xe53818))return;_0x1e6e3=_0x4cca5d[_0x2ca9('0x41')][_0x2ca9('0x47')](_0x4cca5d[_0x2ca9('0x41')][_0x2ca9('0x2d')](_0xe53818),_0x4cca5d[_0x2ca9('0x41')][_0x2ca9('0x51')](_0xe296b));}else{const _0x15ee0f=_0x1892f4['getChild'](_0x61bb7-0x1);if(!_0x15ee0f)return;_0x1e6e3=_0x4cca5d[_0x2ca9('0x41')][_0x2ca9('0x47')](_0x4cca5d['model'][_0x2ca9('0x2d')](_0xe296b),_0x4cca5d[_0x2ca9('0x41')][_0x2ca9('0x51')](_0x15ee0f));}_0x4cca5d[_0x2ca9('0x41')][_0x2ca9('0x48')](()=>{_0x3aa996[_0x2ca9('0x3c')](_0x1e6e3,{'commandName':'setTableColumnHeader','commandParams':[{'forceValue':_0x22706d}]},[],_0x2ca9('0x43'));});}),_0x4cca5d[_0x2ca9('0x32')][_0x2ca9('0x49')]['on'](_0x2ca9('0xe'),_0x3f56fd(),{'priority':_0x2ca9('0x4')}),_0x4cca5d[_0x2ca9('0x42')]['downcastDispatcher']['on']('addMarker:suggestion',(_0x1bbe4b,_0x4c54b2,_0x53795b)=>{_0x53795b[_0x2ca9('0x1a')][_0x2ca9('0x12')]&&_0x3f56fd({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x1bbe4b,_0x4c54b2,_0x53795b);},{'priority':_0x2ca9('0x4')}),_0x4cca5d[_0x2ca9('0x32')][_0x2ca9('0x49')]['on'](_0x2ca9('0x5'),(_0x1419fc,_0xdeec91,_0xd81437)=>{const {type:_0x5118ab,id:_0x55e896}=_0x3aa996[_0x2ca9('0x27')](_0xdeec91[_0x2ca9('0x3d')]),_0x8c876d=_0x3aa996[_0x2ca9('0x52')](_0x55e896);if(!_0x8c876d[_0x2ca9('0x42')]||_0x2ca9('0x43')!=_0x8c876d[_0x2ca9('0x42')][_0x2ca9('0xb')])return;const _0x588f6c=_0xd81437['mapper'][_0x2ca9('0x15')](_0xdeec91['markerName']);if(_0x588f6c)for(const _0x144ab7 of _0x588f6c)_0xd81437['writer'][_0x2ca9('0x9')](_0x2ca9('0x3')+_0x5118ab,_0x144ab7),_0xd81437[_0x2ca9('0x3e')][_0x2ca9('0x9')]('ck-suggestion-marker--active',_0x144ab7),_0xd81437[_0x2ca9('0x3e')][_0x2ca9('0x4f')](_0x2ca9('0x13'),_0x144ab7),_0xd81437[_0x2ca9('0x11')]['unbindElementFromMarkerName'](_0x144ab7,_0xdeec91[_0x2ca9('0x3d')]);},{'priority':_0x2ca9('0x4')}),_0x3aa996[_0x2ca9('0x46')][_0x2ca9('0x18')](_0x4fab83=>{const {data:_0xed0839}=_0x4fab83;if(_0xed0839){if('setTableRowHeader'==_0xed0839[_0x2ca9('0xb')]){const _0x96dea6=_0xed0839[_0x2ca9('0x39')][0x0][_0x2ca9('0x2c')];return _0x59c174(_0x27eb06(_0x2d3ce2,_0x96dea6?_0x2ca9('0x34'):_0x2ca9('0x4e')));}if(_0x2ca9('0x43')==_0xed0839[_0x2ca9('0xb')]){const _0x513d96=_0xed0839[_0x2ca9('0x39')][0x0][_0x2ca9('0x2c')];return _0x59c174(_0x27eb06(_0x2d3ce2,_0x513d96?_0x2ca9('0x1c'):_0x2ca9('0x44')));}}function _0x59c174(_0x34592d){return{'type':_0x2ca9('0x6'),'content':_0x27eb06(_0x2d3ce2,_0x2ca9('0xf'),_0x34592d)};}});const _0x60a5d5=_0x4be1bd[_0x2ca9('0x4b')]();_0x3aa996['_suggestionFactory'][_0x2ca9('0x35')](_0x2ca9('0x3a'),_0x2ca9('0x36'),_0x2ca9('0x30'),_0x60a5d5),_0x3aa996['_suggestionFactory'][_0x2ca9('0x35')](_0x2ca9('0x3a'),'setTableColumnHeader',_0x2ca9('0x30'),_0x60a5d5);}}
23
+ const _0x2a15=['start','forceValue','requires','commandParams','markerRange','change','addClass','value','data','highest','FORMAT_HEADER_COLUMN','item','selection','isBefore','document','stop','_splitMarkerName','options','name','registerDescriptionCallback','headingRows','formatBlock','FORMAT_HEADER_ROW','TableUtils','createRange','getChild','end','markerNameToElements','showSuggestionHighlights','last','locale','setTableRowHeader','unbindElementFromMarkerName','nodeAfter','toViewElement','first','downcastDispatcher','ck-suggestion-marker-','editing','createPositionBefore','commandName','_acceptFormatSuggestionCallbackFactory','_suggestionFactory','enableCommand','createTableWalker','markBlockFormat','mapper','FORMAT_REGULAR_ROW','*Format:*\x20%0','TrackChangesEditing','setAttribute','cell','commands','has','markerName','createPositionAfter','writer','accept','findAncestor','headingColumns','parent','childCount','getSuggestion','ck-suggestion-marker--active','get','getCellLocation','setTableColumnHeader','model','registerCustomCallback','removeClass','getSelectionAffectedTableCells','consumable','bindElementToMarker','plugins','format'];(function(_0x261d99,_0x2a157b){const _0x50a1d9=function(_0x313b39){while(--_0x313b39){_0x261d99['push'](_0x261d99['shift']());}};_0x50a1d9(++_0x2a157b);}(_0x2a15,0x104));const _0x50a1=function(_0x261d99,_0x2a157b){_0x261d99=_0x261d99-0x0;let _0x50a1d9=_0x2a15[_0x261d99];return _0x50a1d9;};import{Plugin as _0x1b6de9}from'ckeditor5/src/core';import _0x538f45 from'./table';import{getTranslation as _0x4240f4}from'../utils/common-translations';export default class ut extends _0x1b6de9{static get[_0x50a1('0x2a')](){return[_0x538f45];}['afterInit'](){const _0x421188=this['editor'];if(!_0x421188['plugins'][_0x50a1('0x12')]('TableEditing'))return;const _0x22416d=_0x421188[_0x50a1('0x46')],_0x550f57=_0x421188[_0x50a1('0x26')][_0x50a1('0x1d')](_0x50a1('0xe')),_0x40ad59=_0x421188['plugins']['get'](_0x50a1('0x3f')),_0x12b2c0=_0x421188['plugins']['get'](_0x538f45);function _0x15bacd({showActiveMarker:_0x2e9093=!0x0,setDataAttribute:_0x5410db=!0x0}={}){return(_0x3af62f,_0xaca5d0,_0x2686b8)=>{const {type:_0x3d138b,id:_0x5d2060}=_0x550f57[_0x50a1('0x38')](_0xaca5d0[_0x50a1('0x13')]),_0x385100=_0x550f57['getSuggestion'](_0x5d2060);if(!_0x385100[_0x50a1('0x30')]||_0x50a1('0x1f')!=_0x385100[_0x50a1('0x30')][_0x50a1('0x5')])return;if(_0xaca5d0[_0x50a1('0x33')])return void _0x3af62f[_0x50a1('0x37')]();if(!_0x2686b8[_0x50a1('0x24')]['consume'](_0xaca5d0[_0x50a1('0x2c')],_0x3af62f[_0x50a1('0x3a')]))return;const _0x327d3f=_0xaca5d0[_0x50a1('0x2c')][_0x50a1('0x28')][_0x50a1('0x49')],_0x2c02cc=_0xaca5d0[_0x50a1('0x2c')][_0x50a1('0x42')]['nodeBefore'],_0x1b9ccc=_0x327d3f[_0x50a1('0x19')]['parent'],{column:_0x2d2205}=_0x40ad59[_0x50a1('0x1e')](_0x327d3f),{column:_0x555af4}=_0x40ad59[_0x50a1('0x1e')](_0x2c02cc);for(let _0xbd31ae=_0x2d2205;_0xbd31ae<=_0x555af4;_0xbd31ae++){const _0x107efe=_0x40ad59['createTableWalker'](_0x1b9ccc,{'column':_0xbd31ae,'includeAllSlots':!0x1});for(const _0x94dff6 of _0x107efe){const _0x18c438=_0x94dff6[_0x50a1('0x10')],_0x2a6336=_0x2686b8['mapper'][_0x50a1('0x4a')](_0x18c438);_0x2686b8[_0x50a1('0x15')][_0x50a1('0x2e')](_0x50a1('0x2')+_0x3d138b,_0x2a6336),_0x5410db&&_0x2686b8[_0x50a1('0x15')][_0x50a1('0xf')]('data-suggestion',_0x5d2060,_0x2a6336),_0x2686b8[_0x50a1('0xb')][_0x50a1('0x25')](_0x2a6336,_0xaca5d0[_0x50a1('0x13')]),_0x2e9093&&(_0x550f57['activeMarkers']['includes'](_0xaca5d0['markerName'])?_0x2686b8['writer'][_0x50a1('0x2e')](_0x50a1('0x1c'),_0x2a6336):_0x2686b8[_0x50a1('0x15')][_0x50a1('0x22')]('ck-suggestion-marker--active',_0x2a6336));}}};}_0x550f57[_0x50a1('0x8')]('setTableRowHeader',(_0xaa7bf0,_0x3098f0)=>{const _0x46d8e9=_0x40ad59[_0x50a1('0x23')](_0x421188[_0x50a1('0x20')][_0x50a1('0x36')][_0x50a1('0x34')]),_0x1edfe4=_0x40ad59['getRowIndexes'](_0x46d8e9),_0x5cfb65=_0x46d8e9[0x0][_0x50a1('0x17')]('table'),_0x314ab0=_0x5cfb65['getAttribute'](_0x50a1('0x3c'))||0x0,_0x50868d=_0x3098f0&&null!==_0x3098f0['forceValue']?_0x3098f0['forceValue']:!_0x421188[_0x50a1('0x11')][_0x50a1('0x1d')](_0x50a1('0x47'))[_0x50a1('0x2f')],_0x4476ef=_0x50868d?_0x1edfe4[_0x50a1('0x45')]:_0x1edfe4[_0x50a1('0x0')],_0x5e3e2b=_0x5cfb65[_0x50a1('0x41')](_0x4476ef);let _0x4b0d75;if(_0x50868d){const _0x365cbd=_0x5cfb65[_0x50a1('0x41')](_0x314ab0);if(_0x5e3e2b['index']<_0x365cbd['index'])return;_0x4b0d75=_0x421188[_0x50a1('0x20')][_0x50a1('0x40')](_0x421188['model'][_0x50a1('0x4')](_0x365cbd[_0x50a1('0x41')](0x0)),_0x421188[_0x50a1('0x20')][_0x50a1('0x14')](_0x5e3e2b[_0x50a1('0x41')](_0x5e3e2b[_0x50a1('0x1a')]-0x1)));}else{const _0x54486f=_0x5cfb65[_0x50a1('0x41')](_0x314ab0-0x1);if(!_0x54486f)return;_0x4b0d75=_0x421188['model'][_0x50a1('0x40')](_0x421188[_0x50a1('0x20')][_0x50a1('0x4')](_0x5e3e2b['getChild'](0x0)),_0x421188[_0x50a1('0x20')][_0x50a1('0x14')](_0x54486f[_0x50a1('0x41')](_0x54486f['childCount']-0x1)));}_0x421188[_0x50a1('0x20')][_0x50a1('0x2d')](()=>{_0x550f57[_0x50a1('0xa')](_0x4b0d75,{'commandName':_0x50a1('0x47'),'commandParams':[{'forceValue':_0x50868d}]},[],_0x50a1('0x47'));});}),_0x550f57[_0x50a1('0x8')](_0x50a1('0x1f'),(_0xe9cd15,_0x57cd20)=>{const _0x3793b4=_0x421188[_0x50a1('0x26')][_0x50a1('0x1d')](_0x50a1('0x3f')),_0x49af97=_0x3793b4['getSelectionAffectedTableCells'](_0x421188[_0x50a1('0x20')][_0x50a1('0x36')][_0x50a1('0x34')]),_0x3fa5a0=_0x3793b4['getColumnIndexes'](_0x49af97),_0x3b6133=_0x49af97[0x0]['findAncestor']('table'),_0x4f7693=_0x3b6133['getAttribute'](_0x50a1('0x18'))||0x0,_0x488418=_0x57cd20&&null!==_0x57cd20['forceValue']?_0x57cd20[_0x50a1('0x29')]:!_0x421188[_0x50a1('0x11')][_0x50a1('0x1d')]('setTableColumnHeader')[_0x50a1('0x2f')];let _0x19d1aa;const _0x2771f8=_0x3b6133['getChild'](0x0),_0x588040=_0x488418?_0x3fa5a0[_0x50a1('0x45')]:_0x3fa5a0[_0x50a1('0x0')],_0x3a9672=_0x3793b4[_0x50a1('0x9')](_0x3b6133,{'startRow':0x0,'column':_0x588040,'includeAllSlots':!0x1}),_0x4abf9a=Array['from'](_0x3a9672)[0x0]['cell'];if(_0x488418){const _0x14120a=_0x2771f8[_0x50a1('0x41')](_0x4f7693);if(_0x4abf9a[_0x50a1('0x35')](_0x14120a))return;_0x19d1aa=_0x421188[_0x50a1('0x20')][_0x50a1('0x40')](_0x421188[_0x50a1('0x20')]['createPositionBefore'](_0x14120a),_0x421188[_0x50a1('0x20')][_0x50a1('0x14')](_0x4abf9a));}else{const _0x5655ab=_0x2771f8[_0x50a1('0x41')](_0x4f7693-0x1);if(!_0x5655ab)return;_0x19d1aa=_0x421188[_0x50a1('0x20')][_0x50a1('0x40')](_0x421188['model']['createPositionBefore'](_0x4abf9a),_0x421188[_0x50a1('0x20')]['createPositionAfter'](_0x5655ab));}_0x421188['model'][_0x50a1('0x2d')](()=>{_0x550f57['markBlockFormat'](_0x19d1aa,{'commandName':_0x50a1('0x1f'),'commandParams':[{'forceValue':_0x488418}]},[],'setTableColumnHeader');});}),_0x421188[_0x50a1('0x3')][_0x50a1('0x1')]['on']('addMarker:suggestion',_0x15bacd(),{'priority':_0x50a1('0x31')}),_0x421188['data'][_0x50a1('0x1')]['on']('addMarker:suggestion',(_0x575057,_0x24c942,_0x50fceb)=>{_0x50fceb[_0x50a1('0x39')][_0x50a1('0x44')]&&_0x15bacd({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x575057,_0x24c942,_0x50fceb);},{'priority':_0x50a1('0x31')}),_0x421188[_0x50a1('0x3')][_0x50a1('0x1')]['on']('removeMarker:suggestion',(_0x94da9f,_0x171991,_0x41c956)=>{const {type:_0x5455be,id:_0x33805e}=_0x550f57[_0x50a1('0x38')](_0x171991[_0x50a1('0x13')]),_0x20bf89=_0x550f57[_0x50a1('0x1b')](_0x33805e);if(!_0x20bf89['data']||'setTableColumnHeader'!=_0x20bf89[_0x50a1('0x30')][_0x50a1('0x5')])return;const _0x2dc529=_0x41c956['mapper'][_0x50a1('0x43')](_0x171991['markerName']);if(_0x2dc529)for(const _0x2766ee of _0x2dc529)_0x41c956[_0x50a1('0x15')][_0x50a1('0x22')]('ck-suggestion-marker-'+_0x5455be,_0x2766ee),_0x41c956[_0x50a1('0x15')][_0x50a1('0x22')](_0x50a1('0x1c'),_0x2766ee),_0x41c956['writer']['removeAttribute']('data-suggestion',_0x2766ee),_0x41c956[_0x50a1('0xb')][_0x50a1('0x48')](_0x2766ee,_0x171991[_0x50a1('0x13')]);},{'priority':_0x50a1('0x31')}),_0x550f57['_descriptionFactory'][_0x50a1('0x3b')](_0x2505f6=>{const {data:_0x552d4c}=_0x2505f6;if(_0x552d4c){if(_0x50a1('0x47')==_0x552d4c[_0x50a1('0x5')]){const _0x43ea7d=_0x552d4c['commandParams'][0x0][_0x50a1('0x29')];return _0x5400c5(_0x4240f4(_0x22416d,_0x43ea7d?_0x50a1('0x3e'):_0x50a1('0xc')));}if(_0x50a1('0x1f')==_0x552d4c[_0x50a1('0x5')]){const _0x14c06b=_0x552d4c[_0x50a1('0x2b')][0x0]['forceValue'];return _0x5400c5(_0x4240f4(_0x22416d,_0x14c06b?_0x50a1('0x32'):'FORMAT_REGULAR_COLUMN'));}}function _0x5400c5(_0x5bd19d){return{'type':_0x50a1('0x27'),'content':_0x4240f4(_0x22416d,_0x50a1('0xd'),_0x5bd19d)};}});const _0x5a667c=_0x12b2c0[_0x50a1('0x6')]();_0x550f57[_0x50a1('0x7')][_0x50a1('0x21')](_0x50a1('0x3d'),_0x50a1('0x47'),'accept',_0x5a667c),_0x550f57['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x50a1('0x1f'),_0x50a1('0x16'),_0x5a667c);}}