@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230829.0 → 0.0.0-nightly-20230831.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 (113) hide show
  1. package/build/track-changes.js +1 -1
  2. package/lang/translations/ar.po +1 -0
  3. package/lang/translations/az.po +1 -0
  4. package/lang/translations/bg.po +1 -0
  5. package/lang/translations/bn.po +1 -0
  6. package/lang/translations/ca.po +1 -0
  7. package/lang/translations/cs.po +1 -0
  8. package/lang/translations/da.po +1 -0
  9. package/lang/translations/de.po +1 -0
  10. package/lang/translations/el.po +1 -0
  11. package/lang/translations/en-au.po +1 -0
  12. package/lang/translations/en.po +1 -0
  13. package/lang/translations/es.po +1 -0
  14. package/lang/translations/et.po +1 -0
  15. package/lang/translations/fi.po +1 -0
  16. package/lang/translations/fr.po +1 -0
  17. package/lang/translations/gl.po +1 -0
  18. package/lang/translations/he.po +1 -0
  19. package/lang/translations/hi.po +1 -0
  20. package/lang/translations/hr.po +1 -0
  21. package/lang/translations/hu.po +1 -0
  22. package/lang/translations/id.po +1 -0
  23. package/lang/translations/it.po +1 -0
  24. package/lang/translations/ja.po +1 -0
  25. package/lang/translations/ko.po +1 -0
  26. package/lang/translations/lt.po +1 -0
  27. package/lang/translations/lv.po +1 -0
  28. package/lang/translations/ms.po +1 -0
  29. package/lang/translations/nl.po +1 -0
  30. package/lang/translations/no.po +1 -0
  31. package/lang/translations/pl.po +1 -0
  32. package/lang/translations/pt-br.po +1 -0
  33. package/lang/translations/pt.po +1 -0
  34. package/lang/translations/ro.po +1 -0
  35. package/lang/translations/ru.po +1 -0
  36. package/lang/translations/sk.po +1 -0
  37. package/lang/translations/sq.po +1 -0
  38. package/lang/translations/sr-latn.po +1 -0
  39. package/lang/translations/sr.po +1 -0
  40. package/lang/translations/sv.po +1 -0
  41. package/lang/translations/th.po +1 -0
  42. package/lang/translations/tk.po +1 -0
  43. package/lang/translations/tr.po +1 -0
  44. package/lang/translations/tt.po +1 -0
  45. package/lang/translations/uk.po +1 -0
  46. package/lang/translations/ur.po +1 -0
  47. package/lang/translations/vi.po +1 -0
  48. package/lang/translations/zh-cn.po +1 -0
  49. package/lang/translations/zh.po +1 -0
  50. package/package.json +3 -3
  51. package/src/commands/acceptsuggestioncommand.js +1 -1
  52. package/src/commands/discardsuggestioncommand.js +1 -1
  53. package/src/commands/executeonallsuggestionscommand.js +1 -1
  54. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  55. package/src/commands/trackchangescommand.js +1 -1
  56. package/src/integrations/alignment.js +1 -1
  57. package/src/integrations/basicstyles.js +1 -1
  58. package/src/integrations/blockquote.js +1 -1
  59. package/src/integrations/ckbox.js +1 -1
  60. package/src/integrations/codeblock.js +1 -1
  61. package/src/integrations/comments.js +1 -1
  62. package/src/integrations/deletecommand.js +1 -1
  63. package/src/integrations/documentlist.js +1 -1
  64. package/src/integrations/documentlistproperties.js +1 -1
  65. package/src/integrations/entercommand.js +1 -1
  66. package/src/integrations/findandreplace.js +1 -1
  67. package/src/integrations/font.js +1 -1
  68. package/src/integrations/formatpainter.js +1 -1
  69. package/src/integrations/heading.js +1 -1
  70. package/src/integrations/highlight.js +1 -1
  71. package/src/integrations/horizontalline.js +1 -1
  72. package/src/integrations/htmlembed.js +1 -1
  73. package/src/integrations/image.js +1 -1
  74. package/src/integrations/imagereplace.js +1 -1
  75. package/src/integrations/importword.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/listproperties.js +1 -1
  81. package/src/integrations/mediaembed.js +1 -1
  82. package/src/integrations/mention.js +1 -1
  83. package/src/integrations/pagebreak.js +1 -1
  84. package/src/integrations/paragraph.js +1 -1
  85. package/src/integrations/removeformat.js +1 -1
  86. package/src/integrations/restrictededitingmode.js +1 -1
  87. package/src/integrations/shiftentercommand.js +1 -1
  88. package/src/integrations/standardeditingmode.js +1 -1
  89. package/src/integrations/style.js +1 -1
  90. package/src/integrations/table.js +1 -1
  91. package/src/integrations/tablecaption.js +1 -1
  92. package/src/integrations/tableclipboard.js +1 -1
  93. package/src/integrations/tablecolumnresize.js +1 -1
  94. package/src/integrations/tableheadings.js +1 -1
  95. package/src/integrations/tablemergesplit.js +1 -1
  96. package/src/integrations/tableofcontents.js +1 -1
  97. package/src/integrations/tableproperties.js +1 -1
  98. package/src/integrations/template.js +1 -1
  99. package/src/integrations/title.js +1 -1
  100. package/src/integrations/undo.js +1 -1
  101. package/src/integrations/utils.js +1 -1
  102. package/src/suggestion.js +1 -1
  103. package/src/suggestiondescriptionfactory.js +1 -1
  104. package/src/trackchanges.js +1 -1
  105. package/src/trackchangesdata.js +1 -1
  106. package/src/trackchangesediting.d.ts +29 -1
  107. package/src/trackchangesediting.js +1 -1
  108. package/src/trackchangesui.js +1 -1
  109. package/src/ui/suggestioncontroller.js +1 -1
  110. package/src/ui/view/basesuggestionthreadview.js +1 -1
  111. package/src/ui/view/suggestionthreadview.js +1 -1
  112. package/src/utils/common-translations.js +1 -1
  113. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e53=['downcastDispatcher','isObject','editor','model','markerRange','commandName','from','blockName','nodeAfter','activeMarkers','editing','highest','ELEMENT_PARAGRAPH','filter','start','isTouching','addClass','writer','plugins','createUIElement','markerName','name','span','$text','includes','end','*Insert:*\x20%0','ck-suggestion-marker--active','_descriptionFactory','getSelectedBlocks','schema','insertParagraph','isLimit','isBlock','consumable','locale','insertion','TrackChangesEditing','type','get','format','change','checkChild','insert','ck-suggestion-marker-split','getFirstRange','paragraph','data','addMarker:suggestion:insertion','selection','registerDescriptionCallback','enableCommand','options','*Change\x20to:*\x20%0','mapper','Paragraph','toViewPosition','markBlockFormat','consume'];(function(_0x50d30d,_0x5e5371){const _0x50bea6=function(_0x26d045){while(--_0x26d045){_0x50d30d['push'](_0x50d30d['shift']());}};_0x50bea6(++_0x5e5371);}(_0x5e53,0x1b7));const _0x50be=function(_0x50d30d,_0x5e5371){_0x50d30d=_0x50d30d-0x0;let _0x50bea6=_0x5e53[_0x50d30d];return _0x50bea6;};import{Plugin as _0x32f4b5}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x1e31d1}from'./utils';import{getTranslation as _0x4286a3}from'../utils/common-translations';export default class ct extends _0x32f4b5{['afterInit'](){const _0xf9d9f4=this[_0x50be('0x23')];if(!_0xf9d9f4[_0x50be('0x33')]['has'](_0x50be('0x1d')))return;const _0xf38bc8=_0xf9d9f4[_0x50be('0x9')],_0xde9973=_0xf9d9f4[_0x50be('0x33')][_0x50be('0xd')](_0x50be('0xb'));_0xde9973[_0x50be('0x2')]['registerElementLabel']('paragraph',_0x2adba3=>_0x4286a3(_0xf38bc8,_0x50be('0x2d'),_0x2adba3)),_0xde9973['enableCommand']('paragraph',(_0x2a5216,_0xeaea56={})=>{const _0xf75e84=_0xf9d9f4[_0x50be('0x24')]['document'],_0x27d77f=_0xeaea56[_0x50be('0x17')]||_0xf75e84['selection'],_0x53a31d=Array[_0x50be('0x27')](_0x27d77f[_0x50be('0x3')]())[_0x50be('0x2e')](_0x3e7f7b=>function(_0x1c6439,_0x377e16){return _0x377e16[_0x50be('0x10')](_0x1c6439['parent'],_0x50be('0x14'))&&!_0x377e16[_0x50be('0x22')](_0x1c6439)&&_0x50be('0x14')!=_0x1c6439['name'];}(_0x3e7f7b,this['editor'][_0x50be('0x24')][_0x50be('0x4')]));_0xf9d9f4[_0x50be('0x24')][_0x50be('0xf')](()=>{for(const _0x482719 of _0x53a31d)_0xde9973[_0x50be('0x1f')](_0x482719,{'commandName':_0x50be('0x14'),'commandParams':[],'formatGroupId':_0x50be('0x28')},_0x1e31d1(_0x482719));});}),_0xde9973[_0x50be('0x2')][_0x50be('0x18')](_0x400e3c=>{const {data:_0x418470}=_0x400e3c;if(_0x418470&&_0x50be('0x14')==_0x418470[_0x50be('0x26')])return{'type':_0x50be('0xe'),'content':_0x4286a3(_0xf38bc8,_0x50be('0x1b'),_0x4286a3(_0xf38bc8,_0x50be('0x2d')))};}),_0xde9973[_0x50be('0x19')](_0x50be('0x5')),_0xf9d9f4[_0x50be('0x2b')][_0x50be('0x21')]['on'](_0x50be('0x16'),ar(_0xf9d9f4),{'priority':_0x50be('0x2c')}),_0xf9d9f4[_0x50be('0x15')][_0x50be('0x21')]['on']('addMarker:suggestion:insertion',(_0x474d98,_0x1511a2,_0x2361f0)=>{_0x2361f0[_0x50be('0x1a')]['showSuggestionHighlights']&&ar(_0xf9d9f4,{'showActiveMarker':!0x1})(_0x474d98,_0x1511a2,_0x2361f0);},{'priority':'highest'});const _0x1885ac=_0xde9973[_0x50be('0x2')];_0x1885ac[_0x50be('0x18')](_0x1e9482=>{if(_0x50be('0xa')!==_0x1e9482[_0x50be('0xc')])return;const {start:_0x34940e,end:_0x52832d}=_0x1e9482[_0x50be('0x13')]();if(!_0x34940e[_0x50be('0x30')](_0x52832d)||!_0x34940e[_0x50be('0x29')])return;const _0x21c6d4=_0xf9d9f4[_0x50be('0x24')][_0x50be('0x4')],_0x1ee359=_0x34940e[_0x50be('0x29')];return _0x21c6d4[_0x50be('0x7')](_0x1ee359)&&!_0x21c6d4[_0x50be('0x6')](_0x1ee359)&&_0x21c6d4['checkChild'](_0x1ee359,_0x50be('0x38'))?{'type':_0x50be('0xa'),'content':_0x4286a3(_0xf38bc8,_0x50be('0x0'),_0x1885ac['getItemLabel'](_0x1ee359,0x1))}:void 0x0;});}}function ar(_0x309cf3,{showActiveMarker:_0x57a7f1=!0x0}={}){return(_0x577785,_0x34a71d,_0x5e5461)=>{const _0x4d4d7f=_0x309cf3[_0x50be('0x33')]['get']('TrackChangesEditing'),_0x34747c=_0x34a71d[_0x50be('0x25')][_0x50be('0x2f')],_0x5c43c4=_0x34a71d['markerRange'][_0x50be('0x3a')],_0x43025a=_0x309cf3['model']['schema'];if(!_0x34747c[_0x50be('0x30')](_0x5c43c4)||!_0x34747c[_0x50be('0x29')])return;const _0x5d72cc=_0x34747c[_0x50be('0x29')];if(_0x43025a[_0x50be('0x7')](_0x5d72cc)&&!_0x43025a[_0x50be('0x6')](_0x5d72cc)&&_0x43025a['checkChild'](_0x5d72cc,'$text')){if(!_0x5e5461[_0x50be('0x8')][_0x50be('0x20')](_0x34a71d[_0x50be('0x25')],_0x577785[_0x50be('0x36')]))return;const _0x149cdf=_0x5e5461[_0x50be('0x32')][_0x50be('0x34')](_0x50be('0x37'),{'class':_0x50be('0x12')}),_0x326d9d=_0x5e5461[_0x50be('0x1c')][_0x50be('0x1e')](_0x5c43c4);_0x57a7f1&&_0x4d4d7f[_0x50be('0x2a')][_0x50be('0x39')](_0x34a71d['markerName'])&&_0x5e5461['writer'][_0x50be('0x31')](_0x50be('0x1'),_0x149cdf),_0x5e5461[_0x50be('0x32')][_0x50be('0x11')](_0x326d9d,_0x149cdf),_0x5e5461[_0x50be('0x1c')]['bindElementToMarker'](_0x149cdf,_0x34a71d[_0x50be('0x35')]);}};}
23
+ const _0x4e6e=['activeMarkers','span','selection','ELEMENT_PARAGRAPH','isObject','addClass','options','locale','getSelectedBlocks','createUIElement','schema','get','end','data','consumable','parent','*Insert:*\x20%0','writer','filter','TrackChangesEditing','isLimit','highest','isTouching','consume','commandName','name','_descriptionFactory','enableCommand','includes','ck-suggestion-marker--active','blockName','markerRange','has','toViewPosition','registerDescriptionCallback','getItemLabel','*Change\x20to:*\x20%0','checkChild','registerElementLabel','downcastDispatcher','ck-suggestion-marker-split','markBlockFormat','type','plugins','insertParagraph','addMarker:suggestion:insertion','model','nodeAfter','paragraph','isBlock','markerName','insertion','afterInit','bindElementToMarker','mapper'];(function(_0x21a8be,_0x4e6e7d){const _0x517534=function(_0x3638e6){while(--_0x3638e6){_0x21a8be['push'](_0x21a8be['shift']());}};_0x517534(++_0x4e6e7d);}(_0x4e6e,0xf1));const _0x5175=function(_0x21a8be,_0x4e6e7d){_0x21a8be=_0x21a8be-0x0;let _0x517534=_0x4e6e[_0x21a8be];return _0x517534;};import{Plugin as _0x545caf}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0xa0989}from'./utils';import{getTranslation as _0x2d522c}from'../utils/common-translations';export default class ct extends _0x545caf{[_0x5175('0x1f')](){const _0x397d1e=this['editor'];if(!_0x397d1e[_0x5175('0x16')][_0x5175('0xb')]('Paragraph'))return;const _0x170310=_0x397d1e[_0x5175('0x29')],_0x34bd4d=_0x397d1e[_0x5175('0x16')][_0x5175('0x2d')]('TrackChangesEditing');_0x34bd4d[_0x5175('0x5')][_0x5175('0x11')](_0x5175('0x1b'),_0x15a75a=>_0x2d522c(_0x170310,_0x5175('0x25'),_0x15a75a)),_0x34bd4d[_0x5175('0x6')](_0x5175('0x1b'),(_0x2ef4df,_0x231653={})=>{const _0x518555=_0x397d1e['model']['document'],_0x1fde3d=_0x231653[_0x5175('0x24')]||_0x518555[_0x5175('0x24')],_0x33757b=Array['from'](_0x1fde3d[_0x5175('0x2a')]())[_0x5175('0x34')](_0x9fc8cd=>function(_0xead0f4,_0x25fc81){return _0x25fc81[_0x5175('0x10')](_0xead0f4[_0x5175('0x31')],_0x5175('0x1b'))&&!_0x25fc81[_0x5175('0x26')](_0xead0f4)&&_0x5175('0x1b')!=_0xead0f4[_0x5175('0x4')];}(_0x9fc8cd,this['editor']['model']['schema']));_0x397d1e[_0x5175('0x19')]['change'](()=>{for(const _0x4f0c04 of _0x33757b)_0x34bd4d[_0x5175('0x14')](_0x4f0c04,{'commandName':_0x5175('0x1b'),'commandParams':[],'formatGroupId':_0x5175('0x9')},_0xa0989(_0x4f0c04));});}),_0x34bd4d[_0x5175('0x5')][_0x5175('0xd')](_0x2040ce=>{const {data:_0xf0d527}=_0x2040ce;if(_0xf0d527&&_0x5175('0x1b')==_0xf0d527[_0x5175('0x3')])return{'type':'format','content':_0x2d522c(_0x170310,_0x5175('0xf'),_0x2d522c(_0x170310,_0x5175('0x25')))};}),_0x34bd4d[_0x5175('0x6')](_0x5175('0x17')),_0x397d1e['editing'][_0x5175('0x12')]['on'](_0x5175('0x18'),ar(_0x397d1e),{'priority':_0x5175('0x0')}),_0x397d1e[_0x5175('0x2f')]['downcastDispatcher']['on'](_0x5175('0x18'),(_0x476c3f,_0x427064,_0x1a6e53)=>{_0x1a6e53[_0x5175('0x28')]['showSuggestionHighlights']&&ar(_0x397d1e,{'showActiveMarker':!0x1})(_0x476c3f,_0x427064,_0x1a6e53);},{'priority':_0x5175('0x0')});const _0x919336=_0x34bd4d['_descriptionFactory'];_0x919336[_0x5175('0xd')](_0x1a144a=>{if(_0x5175('0x1e')!==_0x1a144a[_0x5175('0x15')])return;const {start:_0x43c1c6,end:_0x394f3d}=_0x1a144a['getFirstRange']();if(!_0x43c1c6[_0x5175('0x1')](_0x394f3d)||!_0x43c1c6[_0x5175('0x1a')])return;const _0x490975=_0x397d1e[_0x5175('0x19')][_0x5175('0x2c')],_0x5717b2=_0x43c1c6[_0x5175('0x1a')];return _0x490975[_0x5175('0x1c')](_0x5717b2)&&!_0x490975[_0x5175('0x36')](_0x5717b2)&&_0x490975[_0x5175('0x10')](_0x5717b2,'$text')?{'type':_0x5175('0x1e'),'content':_0x2d522c(_0x170310,_0x5175('0x32'),_0x919336[_0x5175('0xe')](_0x5717b2,0x1))}:void 0x0;});}}function ar(_0x315ee2,{showActiveMarker:_0x18111b=!0x0}={}){return(_0x48e9a7,_0x3bf026,_0x5de13f)=>{const _0x257ef1=_0x315ee2[_0x5175('0x16')][_0x5175('0x2d')](_0x5175('0x35')),_0x421d8f=_0x3bf026[_0x5175('0xa')]['start'],_0x364199=_0x3bf026[_0x5175('0xa')][_0x5175('0x2e')],_0x55ba44=_0x315ee2[_0x5175('0x19')][_0x5175('0x2c')];if(!_0x421d8f[_0x5175('0x1')](_0x364199)||!_0x421d8f['nodeAfter'])return;const _0x224776=_0x421d8f[_0x5175('0x1a')];if(_0x55ba44[_0x5175('0x1c')](_0x224776)&&!_0x55ba44[_0x5175('0x36')](_0x224776)&&_0x55ba44['checkChild'](_0x224776,'$text')){if(!_0x5de13f[_0x5175('0x30')][_0x5175('0x2')](_0x3bf026[_0x5175('0xa')],_0x48e9a7[_0x5175('0x4')]))return;const _0x42ed13=_0x5de13f[_0x5175('0x33')][_0x5175('0x2b')](_0x5175('0x23'),{'class':_0x5175('0x13')}),_0x3a9d63=_0x5de13f['mapper'][_0x5175('0xc')](_0x364199);_0x18111b&&_0x257ef1[_0x5175('0x22')][_0x5175('0x7')](_0x3bf026[_0x5175('0x1d')])&&_0x5de13f[_0x5175('0x33')][_0x5175('0x27')](_0x5175('0x8'),_0x42ed13),_0x5de13f['writer']['insert'](_0x3a9d63,_0x42ed13),_0x5de13f[_0x5175('0x21')][_0x5175('0x20')](_0x42ed13,_0x3bf026[_0x5175('0x1d')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x338e=['plugins','selection','document','TrackChangesEditing','has','editor','removeFormat','change','*Remove\x20all\x20formatting*','model','isCollapsed','commandName','schema','afterInit','locale','createRangeOn','registerDescriptionCallback','getAttributes','_descriptionFactory','RemoveFormatEditing','getItems'];(function(_0x4d216e,_0x338e02){const _0x9edcd2=function(_0x544281){while(--_0x544281){_0x4d216e['push'](_0x4d216e['shift']());}};_0x9edcd2(++_0x338e02);}(_0x338e,0x1a8));const _0x9edc=function(_0x4d216e,_0x338e02){_0x4d216e=_0x4d216e-0x0;let _0x9edcd2=_0x338e[_0x4d216e];return _0x9edcd2;};import{Plugin as _0x48fc51}from'ckeditor5/src/core';import{getTranslation as _0x3fea84}from'../utils/common-translations';export default class ht extends _0x48fc51{[_0x9edc('0x9')](){const _0x3d84c8=this[_0x9edc('0x1')];if(!_0x3d84c8['plugins'][_0x9edc('0x0')](_0x9edc('0xf')))return;const _0x2a422f=_0x3d84c8[_0x9edc('0x11')]['get'](_0x9edc('0x14'));_0x2a422f['enableCommand'](_0x9edc('0x2'),_0x1a47eb=>{const _0xd7b4d8=_0x3d84c8[_0x9edc('0x5')][_0x9edc('0x13')][_0x9edc('0x12')];_0xd7b4d8[_0x9edc('0x6')]?_0x1a47eb():_0x3d84c8[_0x9edc('0x5')][_0x9edc('0x3')](()=>{const _0x5ac970=Array['from'](_0xd7b4d8['getRanges']());for(const _0x47a293 of _0x5ac970)for(const _0x144434 of _0x47a293[_0x9edc('0x10')]())eo(_0x144434,_0x3d84c8['model'][_0x9edc('0x8')])&&_0x2a422f['markInlineFormat'](_0x3d84c8[_0x9edc('0x5')][_0x9edc('0xb')](_0x144434),{'commandName':_0x9edc('0x2'),'commandParams':[]});});}),_0x2a422f[_0x9edc('0xe')][_0x9edc('0xc')](_0x58ed54=>{const {data:_0x137993}=_0x58ed54;if(_0x137993&&_0x9edc('0x2')==_0x137993[_0x9edc('0x7')])return{'type':'format','content':_0x3fea84(_0x3d84c8[_0x9edc('0xa')],_0x9edc('0x4'))};});}}function eo(_0x2dbbae,_0x40b4eb){for(const [_0x3f3b92]of _0x2dbbae[_0x9edc('0xd')]()){const _0x4eee81=_0x40b4eb['getAttributeProperties'](_0x3f3b92);if(_0x4eee81&&_0x4eee81['isFormatting'])return!0x0;}return!0x1;}
23
+ const _0x13f9=['locale','enableCommand','has','registerDescriptionCallback','RemoveFormatEditing','schema','afterInit','getAttributeProperties','commandName','document','*Remove\x20all\x20formatting*','model','get','_descriptionFactory','isFormatting','createRangeOn','TrackChangesEditing','selection','getRanges','removeFormat','markInlineFormat','isCollapsed','editor'];(function(_0x4bcacd,_0x13f9ba){const _0x39e213=function(_0x453e8c){while(--_0x453e8c){_0x4bcacd['push'](_0x4bcacd['shift']());}};_0x39e213(++_0x13f9ba);}(_0x13f9,0x1a2));const _0x39e2=function(_0x4bcacd,_0x13f9ba){_0x4bcacd=_0x4bcacd-0x0;let _0x39e213=_0x13f9[_0x4bcacd];return _0x39e213;};import{Plugin as _0x2f8ac3}from'ckeditor5/src/core';import{getTranslation as _0x1f7c97}from'../utils/common-translations';export default class ht extends _0x2f8ac3{[_0x39e2('0x2')](){const _0x4b554a=this[_0x39e2('0x12')];if(!_0x4b554a['plugins'][_0x39e2('0x15')](_0x39e2('0x0')))return;const _0x3943ce=_0x4b554a['plugins'][_0x39e2('0x8')](_0x39e2('0xc'));_0x3943ce[_0x39e2('0x14')]('removeFormat',_0x3b0a0b=>{const _0x4d19ed=_0x4b554a['model'][_0x39e2('0x5')][_0x39e2('0xd')];_0x4d19ed[_0x39e2('0x11')]?_0x3b0a0b():_0x4b554a[_0x39e2('0x7')]['change'](()=>{const _0x583539=Array['from'](_0x4d19ed[_0x39e2('0xe')]());for(const _0x1f69c2 of _0x583539)for(const _0x302136 of _0x1f69c2['getItems']())mo(_0x302136,_0x4b554a[_0x39e2('0x7')][_0x39e2('0x1')])&&_0x3943ce[_0x39e2('0x10')](_0x4b554a[_0x39e2('0x7')][_0x39e2('0xb')](_0x302136),{'commandName':_0x39e2('0xf'),'commandParams':[]});});}),_0x3943ce[_0x39e2('0x9')][_0x39e2('0x16')](_0x4e2b25=>{const {data:_0x235e60}=_0x4e2b25;if(_0x235e60&&_0x39e2('0xf')==_0x235e60[_0x39e2('0x4')])return{'type':'format','content':_0x1f7c97(_0x4b554a[_0x39e2('0x13')],_0x39e2('0x6'))};});}}function mo(_0x694a8c,_0x3572d4){for(const [_0x2bc1f2]of _0x694a8c['getAttributes']()){const _0xd8b8ef=_0x3572d4[_0x39e2('0x3')](_0x2bc1f2);if(_0xd8b8ef&&_0xd8b8ef[_0x39e2('0xa')])return!0x0;}return!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d3b=['has','goToNextRestrictedEditingException','discardAllSuggestions','acceptSelectedSuggestions','goToPreviousRestrictedEditingException','enableCommand','acceptSuggestion','discardSuggestion','RestrictedEditingModeEditing','get','acceptAllSuggestions','discardSelectedSuggestions','afterInit','editor','plugins'];(function(_0x231cb7,_0x5d3b3d){const _0x41f942=function(_0x3e144d){while(--_0x3e144d){_0x231cb7['push'](_0x231cb7['shift']());}};_0x41f942(++_0x5d3b3d);}(_0x5d3b,0xf7));const _0x41f9=function(_0x231cb7,_0x5d3b3d){_0x231cb7=_0x231cb7-0x0;let _0x41f942=_0x5d3b[_0x231cb7];return _0x41f942;};import{Plugin as _0x44bb7a}from'ckeditor5/src/core';export default class ut extends _0x44bb7a{[_0x41f9('0x5')](){const _0x26e55f=this[_0x41f9('0x6')];if(!_0x26e55f[_0x41f9('0x7')][_0x41f9('0x8')](_0x41f9('0x1')))return;const _0x4219ef=_0x26e55f[_0x41f9('0x7')][_0x41f9('0x2')]('TrackChangesEditing');_0x4219ef[_0x41f9('0xd')](_0x41f9('0xc')),_0x4219ef[_0x41f9('0xd')](_0x41f9('0x9'));const _0x3d1a82=_0x26e55f[_0x41f9('0x7')][_0x41f9('0x2')](_0x41f9('0x1'));_0x3d1a82[_0x41f9('0xd')]('trackChanges'),_0x3d1a82[_0x41f9('0xd')](_0x41f9('0xe')),_0x3d1a82[_0x41f9('0xd')](_0x41f9('0x0')),_0x3d1a82['enableCommand'](_0x41f9('0x3')),_0x3d1a82['enableCommand'](_0x41f9('0xa')),_0x3d1a82['enableCommand'](_0x41f9('0xb')),_0x3d1a82['enableCommand'](_0x41f9('0x4'));}}
23
+ const _0x13a2=['plugins','enableCommand','goToPreviousRestrictedEditingException','discardSuggestion','acceptAllSuggestions','has','goToNextRestrictedEditingException','editor','TrackChangesEditing','acceptSuggestion','discardSelectedSuggestions','RestrictedEditingModeEditing','acceptSelectedSuggestions','afterInit'];(function(_0x4bb5a6,_0x13a20e){const _0x57f3e4=function(_0x926c){while(--_0x926c){_0x4bb5a6['push'](_0x4bb5a6['shift']());}};_0x57f3e4(++_0x13a20e);}(_0x13a2,0x1a2));const _0x57f3=function(_0x4bb5a6,_0x13a20e){_0x4bb5a6=_0x4bb5a6-0x0;let _0x57f3e4=_0x13a2[_0x4bb5a6];return _0x57f3e4;};import{Plugin as _0x3db2d4}from'ckeditor5/src/core';export default class ut extends _0x3db2d4{[_0x57f3('0x1')](){const _0x243046=this[_0x57f3('0x9')];if(!_0x243046['plugins'][_0x57f3('0x7')](_0x57f3('0xd')))return;const _0x32c30e=_0x243046[_0x57f3('0x2')]['get'](_0x57f3('0xa'));_0x32c30e['enableCommand'](_0x57f3('0x4')),_0x32c30e[_0x57f3('0x3')](_0x57f3('0x8'));const _0x29e3bb=_0x243046['plugins']['get'](_0x57f3('0xd'));_0x29e3bb[_0x57f3('0x3')]('trackChanges'),_0x29e3bb['enableCommand'](_0x57f3('0xb')),_0x29e3bb[_0x57f3('0x3')](_0x57f3('0x5')),_0x29e3bb['enableCommand'](_0x57f3('0x6')),_0x29e3bb[_0x57f3('0x3')]('discardAllSuggestions'),_0x29e3bb[_0x57f3('0x3')](_0x57f3('0x0')),_0x29e3bb[_0x57f3('0x3')](_0x57f3('0xc'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3678=['softBreak','createUIElement','deletion','markerName','name','enableCommand','downcastDispatcher','merge','get','bindElementToMarker','init','activeMarkers','toViewPosition','editor','markerRange','high','locale','TrackChangesEditing','ck-suggestion-marker-','editing','shiftEnter','data','test','split','plugins','writer','createPositionBefore','model','addMarker:suggestion:deletion','addClass','addMarker:suggestion:insertion','ELEMENT_LINE_BREAK','includes','span','consumable'];(function(_0x239884,_0x36788f){const _0x36e791=function(_0x178e8b){while(--_0x178e8b){_0x239884['push'](_0x239884['shift']());}};_0x36e791(++_0x36788f);}(_0x3678,0xf9));const _0x36e7=function(_0x239884,_0x36788f){_0x239884=_0x239884-0x0;let _0x36e791=_0x3678[_0x239884];return _0x36e791;};import{Plugin as _0x1c2fcc}from'ckeditor5/src/core';import{ShiftEnter as _0x12d163}from'ckeditor5/src/enter';import{getTranslation as _0x4f9a82}from'../utils/common-translations';export default class ft extends _0x1c2fcc{static get['requires'](){return[_0x12d163];}[_0x36e7('0x6')](){const _0x13c59f=this[_0x36e7('0x9')],_0x32179a=_0x13c59f[_0x36e7('0x14')][_0x36e7('0x4')](_0x36e7('0xd'));_0x32179a[_0x36e7('0x1')](_0x36e7('0x10')),_0x13c59f[_0x36e7('0xf')][_0x36e7('0x2')]['on'](_0x36e7('0x1a'),re(_0x13c59f),{'priority':_0x36e7('0xb')}),_0x13c59f[_0x36e7('0xf')][_0x36e7('0x2')]['on'](_0x36e7('0x18'),re(_0x13c59f),{'priority':_0x36e7('0xb')}),_0x13c59f[_0x36e7('0x11')]['downcastDispatcher']['on']('addMarker:suggestion',(_0x17115f,_0x59589c,_0x55e81d)=>{_0x55e81d['options']['showSuggestionHighlights']&&re(_0x13c59f,{'showActiveMarker':!0x1})(_0x17115f,_0x59589c,_0x55e81d);}),_0x32179a['_descriptionFactory']['registerElementLabel'](_0x36e7('0x1f'),_0x30923c=>_0x4f9a82(_0x13c59f[_0x36e7('0xc')],_0x36e7('0x1b'),_0x30923c));}}function re(_0x3f2aac,{showActiveMarker:_0xdf3a52=!0x0}={}){return(_0x505769,_0x132097,_0x27879e)=>{const _0x138b9e=_0x3f2aac['plugins'][_0x36e7('0x4')]('TrackChangesEditing');if(!_0x27879e[_0x36e7('0x1e')][_0x36e7('0x12')](_0x132097[_0x36e7('0xa')],_0x505769[_0x36e7('0x0')]))return;const _0x53716e=_0x3f2aac[_0x36e7('0x17')];for(const _0x165538 of _0x132097[_0x36e7('0xa')]['getItems']()){if(!_0x165538['is']('element',_0x36e7('0x1f')))continue;const _0x3f1f63=_0x36e7('0x21')==_0x132097[_0x36e7('0x22')][_0x36e7('0x13')](':')[0x1]?_0x36e7('0x3'):_0x36e7('0x13'),_0x3c02fa=_0x27879e[_0x36e7('0x15')][_0x36e7('0x20')](_0x36e7('0x1d'),{'class':_0x36e7('0xe')+_0x3f1f63}),_0x1afb71=_0x27879e['mapper'][_0x36e7('0x8')](_0x53716e[_0x36e7('0x16')](_0x165538));_0xdf3a52&&_0x138b9e[_0x36e7('0x7')][_0x36e7('0x1c')](_0x132097[_0x36e7('0x22')])&&_0x27879e[_0x36e7('0x15')][_0x36e7('0x19')]('ck-suggestion-marker--active',_0x3c02fa),_0x27879e[_0x36e7('0x15')]['insert'](_0x1afb71,_0x3c02fa),_0x27879e['mapper'][_0x36e7('0x5')](_0x3c02fa,_0x132097['markerName']);}};}
23
+ const _0x42a6=['includes','ELEMENT_LINE_BREAK','addMarker:suggestion','split','editor','requires','writer','get','deletion','span','enableCommand','markerName','bindElementToMarker','element','ck-suggestion-marker-','init','ck-suggestion-marker--active','getItems','plugins','showSuggestionHighlights','TrackChangesEditing','editing','toViewPosition','test','addClass','consumable','activeMarkers','markerRange','merge','shiftEnter','name','locale','addMarker:suggestion:deletion','options','_descriptionFactory','downcastDispatcher','mapper'];(function(_0xed6fb5,_0x42a6f1){const _0x5271d0=function(_0x4f1f8a){while(--_0x4f1f8a){_0xed6fb5['push'](_0xed6fb5['shift']());}};_0x5271d0(++_0x42a6f1);}(_0x42a6,0xa2));const _0x5271=function(_0xed6fb5,_0x42a6f1){_0xed6fb5=_0xed6fb5-0x0;let _0x5271d0=_0x42a6[_0xed6fb5];return _0x5271d0;};import{Plugin as _0x4c9056}from'ckeditor5/src/core';import{ShiftEnter as _0x42efac}from'ckeditor5/src/enter';import{getTranslation as _0x108a9e}from'../utils/common-translations';export default class ft extends _0x4c9056{static get[_0x5271('0x1c')](){return[_0x42efac];}[_0x5271('0x1')](){const _0x540c81=this[_0x5271('0x1b')],_0x5b29fc=_0x540c81[_0x5271('0x4')]['get'](_0x5271('0x6'));_0x5b29fc[_0x5271('0x21')](_0x5271('0xf')),_0x540c81[_0x5271('0x7')][_0x5271('0x15')]['on']('addMarker:suggestion:insertion',re(_0x540c81),{'priority':'high'}),_0x540c81['editing']['downcastDispatcher']['on'](_0x5271('0x12'),re(_0x540c81),{'priority':'high'}),_0x540c81['data'][_0x5271('0x15')]['on'](_0x5271('0x19'),(_0xaf45d8,_0x594f20,_0x5406b6)=>{_0x5406b6[_0x5271('0x13')][_0x5271('0x5')]&&re(_0x540c81,{'showActiveMarker':!0x1})(_0xaf45d8,_0x594f20,_0x5406b6);}),_0x5b29fc[_0x5271('0x14')]['registerElementLabel']('softBreak',_0x1b6452=>_0x108a9e(_0x540c81[_0x5271('0x11')],_0x5271('0x18'),_0x1b6452));}}function re(_0x37bc75,{showActiveMarker:_0x5cec56=!0x0}={}){return(_0x23589f,_0x101e05,_0x26c771)=>{const _0x49b226=_0x37bc75[_0x5271('0x4')][_0x5271('0x1e')](_0x5271('0x6'));if(!_0x26c771[_0x5271('0xb')][_0x5271('0x9')](_0x101e05[_0x5271('0xd')],_0x23589f[_0x5271('0x10')]))return;const _0x1d96f3=_0x37bc75['model'];for(const _0x5c5999 of _0x101e05[_0x5271('0xd')][_0x5271('0x3')]()){if(!_0x5c5999['is'](_0x5271('0x24'),'softBreak'))continue;const _0x2b7bbd=_0x5271('0x1f')==_0x101e05[_0x5271('0x22')][_0x5271('0x1a')](':')[0x1]?_0x5271('0xe'):_0x5271('0x1a'),_0x24fda9=_0x26c771[_0x5271('0x1d')]['createUIElement'](_0x5271('0x20'),{'class':_0x5271('0x0')+_0x2b7bbd}),_0x1faea0=_0x26c771[_0x5271('0x16')][_0x5271('0x8')](_0x1d96f3['createPositionBefore'](_0x5c5999));_0x5cec56&&_0x49b226[_0x5271('0xc')][_0x5271('0x17')](_0x101e05['markerName'])&&_0x26c771[_0x5271('0x1d')][_0x5271('0xa')](_0x5271('0x2'),_0x24fda9),_0x26c771[_0x5271('0x1d')]['insert'](_0x1faea0,_0x24fda9),_0x26c771[_0x5271('0x16')][_0x5271('0x23')](_0x24fda9,_0x101e05[_0x5271('0x22')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc634=['format','plugins','_descriptionFactory','has','FORMAT_RESTRICTED_DISABLED','forceValue','StandardEditingModeEditing','get','locale','TrackChangesEditing','registerDescriptionCallback','getRanges','FORMAT_RESTRICTED_ENABLED','document','markInlineFormat','restrictedEditingException','selection','from','model','afterInit','commandName'];(function(_0x4a377e,_0xc634af){const _0x2a51f7=function(_0x5ecb81){while(--_0x5ecb81){_0x4a377e['push'](_0x4a377e['shift']());}};_0x2a51f7(++_0xc634af);}(_0xc634,0x19c));const _0x2a51=function(_0x4a377e,_0xc634af){_0x4a377e=_0x4a377e-0x0;let _0x2a51f7=_0xc634[_0x4a377e];return _0x2a51f7;};import{Plugin as _0x582d45}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x57d280}from'./utils';import{getTranslation as _0x20af16}from'../utils/common-translations';export default class lt extends _0x582d45{[_0x2a51('0x6')](){const _0x2731ca=this['editor'],_0x11b2ae=_0x2731ca[_0x2a51('0x5')],_0x2c1b09=_0x2731ca[_0x2a51('0x10')];if(!_0x2731ca[_0x2a51('0x9')][_0x2a51('0xb')](_0x2a51('0xe')))return;const _0x2941b3=_0x2731ca[_0x2a51('0x9')][_0x2a51('0xf')](_0x2a51('0x11')),_0x175c6f=_0x2a51('0x2'),_0x354d89=_0x2731ca['commands'][_0x2a51('0xf')](_0x175c6f);_0x2941b3['enableCommand'](_0x175c6f,(_0x5d5e92,_0xeb1e85={})=>{const _0x2d1865=_0x11b2ae[_0x2a51('0x0')][_0x2a51('0x3')];if(_0x2d1865['isCollapsed'])return void _0x5d5e92(_0xeb1e85);const _0x20156e=void 0x0!==_0xeb1e85[_0x2a51('0xd')]?_0xeb1e85[_0x2a51('0xd')]:!_0x354d89['value'];_0x11b2ae['change'](()=>{const _0x5bae48=Array[_0x2a51('0x4')](_0x2d1865[_0x2a51('0x13')]());for(const _0x29b994 of _0x5bae48){const _0x40364a=_0x20156e?[_0x29b994]:_0x57d280(_0x175c6f,_0x29b994,_0x11b2ae);for(const _0x3d16f6 of _0x40364a)_0x2941b3[_0x2a51('0x1')](_0x3d16f6,{'commandName':_0x175c6f,'commandParams':[{'forceValue':_0x20156e}]});}});}),_0x2941b3[_0x2a51('0xa')][_0x2a51('0x12')](_0x3e3aaf=>{const {data:_0x364e52}=_0x3e3aaf;if(_0x364e52&&_0x364e52[_0x2a51('0x7')]==_0x175c6f)return _0x364e52['commandParams'][0x0][_0x2a51('0xd')]?{'type':_0x2a51('0x8'),'content':_0x20af16(_0x2c1b09,_0x2a51('0x14'))}:{'type':_0x2a51('0x8'),'content':_0x20af16(_0x2c1b09,_0x2a51('0xc'))};});}}
23
+ const _0x4e68=['format','value','selection','enableCommand','document','FORMAT_RESTRICTED_ENABLED','plugins','has','forceValue','change','editor','restrictedEditingException','locale','model','registerDescriptionCallback','FORMAT_RESTRICTED_DISABLED','TrackChangesEditing','from','_descriptionFactory'];(function(_0x3bc401,_0x4e68a3){const _0x341478=function(_0x4b21e4){while(--_0x4b21e4){_0x3bc401['push'](_0x3bc401['shift']());}};_0x341478(++_0x4e68a3);}(_0x4e68,0x15f));const _0x3414=function(_0x3bc401,_0x4e68a3){_0x3bc401=_0x3bc401-0x0;let _0x341478=_0x4e68[_0x3bc401];return _0x341478;};import{Plugin as _0x19f844}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x4f30f3}from'./utils';import{getTranslation as _0x58ff20}from'../utils/common-translations';export default class lt extends _0x19f844{['afterInit'](){const _0x5a33e2=this[_0x3414('0x1')],_0x53b527=_0x5a33e2[_0x3414('0x4')],_0x58c190=_0x5a33e2[_0x3414('0x3')];if(!_0x5a33e2['plugins'][_0x3414('0x11')]('StandardEditingModeEditing'))return;const _0x5ed3c2=_0x5a33e2[_0x3414('0x10')]['get'](_0x3414('0x7')),_0x12ef4c=_0x3414('0x2'),_0x8892a7=_0x5a33e2['commands']['get'](_0x12ef4c);_0x5ed3c2[_0x3414('0xd')](_0x12ef4c,(_0x3e3bf0,_0x2e9c61={})=>{const _0x27528a=_0x53b527[_0x3414('0xe')][_0x3414('0xc')];if(_0x27528a['isCollapsed'])return void _0x3e3bf0(_0x2e9c61);const _0x4a2e66=void 0x0!==_0x2e9c61[_0x3414('0x12')]?_0x2e9c61['forceValue']:!_0x8892a7[_0x3414('0xb')];_0x53b527[_0x3414('0x0')](()=>{const _0x15efa3=Array[_0x3414('0x8')](_0x27528a['getRanges']());for(const _0x2958a0 of _0x15efa3){const _0x39924a=_0x4a2e66?[_0x2958a0]:_0x4f30f3(_0x12ef4c,_0x2958a0,_0x53b527);for(const _0x29e7e3 of _0x39924a)_0x5ed3c2['markInlineFormat'](_0x29e7e3,{'commandName':_0x12ef4c,'commandParams':[{'forceValue':_0x4a2e66}]});}});}),_0x5ed3c2[_0x3414('0x9')][_0x3414('0x5')](_0x5f1d8e=>{const {data:_0xf5bc5d}=_0x5f1d8e;if(_0xf5bc5d&&_0xf5bc5d['commandName']==_0x12ef4c)return _0xf5bc5d['commandParams'][0x0]['forceValue']?{'type':_0x3414('0xa'),'content':_0x58ff20(_0x58c190,_0x3414('0xf'))}:{'type':'format','content':_0x58ff20(_0x58c190,_0x3414('0x6'))};});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5aaf=['getRanges','getItems','locale','change','createRangeOn','enableCommand','style','editor','styleName','*Remove\x20format:*\x20%0','toLowerCase','from','normalizeConfig','_getStyleDefinition','document','markInlineFormat','_getRangesWithClasses','modelElements','value','name','format','push','element','_descriptionFactory','getAncestors','block','every','isBlock','style:','plugins','classes','style.definitions','TrackChangesEditing','forceValue','has','inline','registerDescriptionCallback','includes','isCollapsed','get','*Format:*\x20%0','model','commandParams'];(function(_0x129bab,_0x5aafbf){const _0x263d35=function(_0x1ad8b7){while(--_0x1ad8b7){_0x129bab['push'](_0x129bab['shift']());}};_0x263d35(++_0x5aafbf);}(_0x5aaf,0xb2));const _0x263d=function(_0x129bab,_0x5aafbf){_0x129bab=_0x129bab-0x0;let _0x263d35=_0x5aaf[_0x129bab];return _0x263d35;};import{Plugin as _0x15adfc}from'ckeditor5/src/core';import{getTranslation as _0x2b2027}from'../utils/common-translations';export default class gt extends _0x15adfc{['afterInit'](){const _0x336fc9=this[_0x263d('0x1')];if(!_0x336fc9[_0x263d('0x17')][_0x263d('0x1c')]('Style'))return;const _0x2270a3=_0x336fc9['commands']['get']('style'),_0x267061=_0x336fc9[_0x263d('0x17')][_0x263d('0x21')](_0x263d('0x1a')),_0x3e4004=_0x336fc9[_0x263d('0x27')],_0x3f4c7a=_0x336fc9[_0x263d('0x17')][_0x263d('0x21')]('DataSchema'),_0x937a78=_0x336fc9[_0x263d('0x17')][_0x263d('0x21')]('StyleUtils')[_0x263d('0x6')](_0x3f4c7a,_0x336fc9['config'][_0x263d('0x21')](_0x263d('0x19')));_0x267061[_0x263d('0x2a')](_0x263d('0x0'),(_0x353ca4,{styleName:_0x1b752b})=>{const _0x4b389c=_0x336fc9[_0x263d('0x23')][_0x263d('0x8')]['selection'],_0x5affae=this[_0x263d('0x7')](_0x1b752b,_0x937a78);if(!_0x5affae)return;if(!_0x2270a3['enabledStyles']['includes'](_0x1b752b))return;if(_0x4b389c[_0x263d('0x20')]&&!_0x5affae[_0x263d('0x15')])return void _0x353ca4({'styleName':_0x1b752b});const _0x280221=!_0x2270a3[_0x263d('0xc')][_0x263d('0x1f')](_0x5affae[_0x263d('0xd')]);if(_0x5affae[_0x263d('0x15')]){const _0xadc98c=function(_0x564e4e,_0x63b8b8){const _0x16a069=new Set();for(const _0x4d0221 of _0x564e4e){const _0x23878f=_0x4d0221[_0x263d('0x12')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x43b429 of _0x23878f)if(_0x63b8b8[_0x263d('0x1f')](_0x43b429['name'])){_0x16a069['add'](_0x43b429);break;}}return _0x16a069;}(_0x4b389c['getSelectedBlocks'](),_0x5affae[_0x263d('0xb')]);_0x336fc9[_0x263d('0x23')][_0x263d('0x28')](()=>{for(const _0x53c912 of _0xadc98c)_0x267061['markBlockFormat'](_0x53c912,{'commandName':'style','commandParams':[{'styleName':_0x1b752b,'forceValue':_0x280221}],'formatGroupId':_0x263d('0x16')+_0x1b752b});});}else{let _0x33103f=Array['from'](_0x4b389c[_0x263d('0x25')]());if(!_0x280221){const _0x4730a8=Array[_0x263d('0x5')](_0x3f4c7a['getDefinitionsForView'](_0x5affae[_0x263d('0x10')],!0x1))[0x0][_0x263d('0x23')],_0x1d3226=[];for(const _0x1e4f75 of _0x33103f){const _0x1b7a26=this[_0x263d('0xa')](_0x336fc9[_0x263d('0x23')],_0x1e4f75,_0x5affae[_0x263d('0x18')],_0x4730a8);_0x1d3226[_0x263d('0xf')](..._0x1b7a26);}_0x33103f=_0x1d3226;}_0x336fc9['model']['change'](()=>{for(const _0x570f4e of _0x33103f)_0x267061[_0x263d('0x9')](_0x570f4e,{'commandName':_0x263d('0x0'),'commandParams':[{'styleName':_0x1b752b,'forceValue':_0x280221}]});});}}),_0x267061[_0x263d('0x11')][_0x263d('0x1e')](_0x433c5f=>{const {data:_0x1e9de7}=_0x433c5f;if(_0x1e9de7&&'style'===_0x1e9de7['commandName'])return _0x1e9de7['commandParams'][0x0][_0x263d('0x1b')]?{'type':_0x263d('0xe'),'content':_0x2b2027(_0x3e4004,_0x263d('0x22'),_0x1e9de7[_0x263d('0x24')][0x0][_0x263d('0x2')][_0x263d('0x4')]())}:{'type':_0x263d('0xe'),'content':_0x2b2027(_0x3e4004,_0x263d('0x3'),_0x1e9de7['commandParams'][0x0][_0x263d('0x2')][_0x263d('0x4')]())};});}[_0x263d('0x7')](_0x5b7510,_0x32476c){let _0xf25e5b=_0x32476c[_0x263d('0x13')]['find'](_0x51f28a=>_0x51f28a[_0x263d('0xd')]===_0x5b7510);return _0xf25e5b||(_0xf25e5b=_0x32476c[_0x263d('0x1d')]['find'](_0x252543=>_0x252543['name']===_0x5b7510)),_0xf25e5b;}[_0x263d('0xa')](_0x37379d,_0x4f07c8,_0xd30d36,_0x1a00d0){const _0x34911d=[];for(const _0x434ebb of _0x4f07c8[_0x263d('0x26')]()){const _0x2f5dc3=_0x434ebb['getAttribute'](_0x1a00d0);_0x2f5dc3&&(_0xd30d36[_0x263d('0x14')](_0x4dd830=>_0x2f5dc3[_0x263d('0x18')][_0x263d('0x1f')](_0x4dd830))&&_0x34911d[_0x263d('0xf')](_0x37379d[_0x263d('0x29')](_0x434ebb)));}return _0x34911d;}}
23
+ const _0xf37a=['includes','modelElements','format','classes','isBlock','push','DataSchema','editor','createRangeOn','getSelectedBlocks','toLowerCase','forceValue','element','normalizeConfig','plugins','config','change','_descriptionFactory','style','value','commandParams','StyleUtils','Style','_getStyleDefinition','*Format:*\x20%0','style.definitions','style:','getRanges','has','TrackChangesEditing','from','enabledStyles','commands','markBlockFormat','selection','registerDescriptionCallback','add','name','find','every','get','getItems','locale','styleName','_getRangesWithClasses','commandName','isCollapsed','model'];(function(_0x4558a9,_0xf37a63){const _0x4cadbe=function(_0x6e6c2b){while(--_0x6e6c2b){_0x4558a9['push'](_0x4558a9['shift']());}};_0x4cadbe(++_0xf37a63);}(_0xf37a,0x187));const _0x4cad=function(_0x4558a9,_0xf37a63){_0x4558a9=_0x4558a9-0x0;let _0x4cadbe=_0xf37a[_0x4558a9];return _0x4cadbe;};import{Plugin as _0x160f8c}from'ckeditor5/src/core';import{getTranslation as _0x1865ef}from'../utils/common-translations';export default class gt extends _0x160f8c{['afterInit'](){const _0x12e0ce=this[_0x4cad('0x0')];if(!_0x12e0ce[_0x4cad('0x7')][_0x4cad('0x15')](_0x4cad('0xf')))return;const _0x459a66=_0x12e0ce[_0x4cad('0x19')][_0x4cad('0x21')](_0x4cad('0xb')),_0x2b05b0=_0x12e0ce['plugins']['get'](_0x4cad('0x16')),_0x53c064=_0x12e0ce[_0x4cad('0x23')],_0x1f3bfb=_0x12e0ce[_0x4cad('0x7')][_0x4cad('0x21')](_0x4cad('0x2f')),_0x2067e0=_0x12e0ce[_0x4cad('0x7')][_0x4cad('0x21')](_0x4cad('0xe'))[_0x4cad('0x6')](_0x1f3bfb,_0x12e0ce[_0x4cad('0x8')][_0x4cad('0x21')](_0x4cad('0x12')));_0x2b05b0['enableCommand'](_0x4cad('0xb'),(_0x5158f0,{styleName:_0x14e627})=>{const _0x356ec3=_0x12e0ce[_0x4cad('0x28')]['document'][_0x4cad('0x1b')],_0x3f8216=this[_0x4cad('0x10')](_0x14e627,_0x2067e0);if(!_0x3f8216)return;if(!_0x459a66[_0x4cad('0x18')][_0x4cad('0x29')](_0x14e627))return;if(_0x356ec3[_0x4cad('0x27')]&&!_0x3f8216[_0x4cad('0x2d')])return void _0x5158f0({'styleName':_0x14e627});const _0xc147e4=!_0x459a66[_0x4cad('0xc')][_0x4cad('0x29')](_0x3f8216[_0x4cad('0x1e')]);if(_0x3f8216['isBlock']){const _0x48edcc=function(_0x18c361,_0x3d18a6){const _0x6f06a7=new Set();for(const _0x35ef04 of _0x18c361){const _0x5507e9=_0x35ef04['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x5d5b9a of _0x5507e9)if(_0x3d18a6[_0x4cad('0x29')](_0x5d5b9a[_0x4cad('0x1e')])){_0x6f06a7[_0x4cad('0x1d')](_0x5d5b9a);break;}}return _0x6f06a7;}(_0x356ec3[_0x4cad('0x2')](),_0x3f8216[_0x4cad('0x2a')]);_0x12e0ce[_0x4cad('0x28')][_0x4cad('0x9')](()=>{for(const _0x5ca6a0 of _0x48edcc)_0x2b05b0[_0x4cad('0x1a')](_0x5ca6a0,{'commandName':_0x4cad('0xb'),'commandParams':[{'styleName':_0x14e627,'forceValue':_0xc147e4}],'formatGroupId':_0x4cad('0x13')+_0x14e627});});}else{let _0x5d1a24=Array[_0x4cad('0x17')](_0x356ec3[_0x4cad('0x14')]());if(!_0xc147e4){const _0x3bbc53=Array[_0x4cad('0x17')](_0x1f3bfb['getDefinitionsForView'](_0x3f8216[_0x4cad('0x5')],!0x1))[0x0][_0x4cad('0x28')],_0x596dd0=[];for(const _0x2cc41d of _0x5d1a24){const _0x4ce714=this[_0x4cad('0x25')](_0x12e0ce['model'],_0x2cc41d,_0x3f8216[_0x4cad('0x2c')],_0x3bbc53);_0x596dd0[_0x4cad('0x2e')](..._0x4ce714);}_0x5d1a24=_0x596dd0;}_0x12e0ce[_0x4cad('0x28')][_0x4cad('0x9')](()=>{for(const _0x53cb59 of _0x5d1a24)_0x2b05b0['markInlineFormat'](_0x53cb59,{'commandName':_0x4cad('0xb'),'commandParams':[{'styleName':_0x14e627,'forceValue':_0xc147e4}]});});}}),_0x2b05b0[_0x4cad('0xa')][_0x4cad('0x1c')](_0x292f2d=>{const {data:_0x1dd9c9}=_0x292f2d;if(_0x1dd9c9&&_0x4cad('0xb')===_0x1dd9c9[_0x4cad('0x26')])return _0x1dd9c9[_0x4cad('0xd')][0x0][_0x4cad('0x4')]?{'type':'format','content':_0x1865ef(_0x53c064,_0x4cad('0x11'),_0x1dd9c9[_0x4cad('0xd')][0x0]['styleName']['toLowerCase']())}:{'type':_0x4cad('0x2b'),'content':_0x1865ef(_0x53c064,'*Remove\x20format:*\x20%0',_0x1dd9c9[_0x4cad('0xd')][0x0][_0x4cad('0x24')][_0x4cad('0x3')]())};});}[_0x4cad('0x10')](_0x3205ce,_0x53e47e){let _0x461430=_0x53e47e['block'][_0x4cad('0x1f')](_0x5ca46c=>_0x5ca46c['name']===_0x3205ce);return _0x461430||(_0x461430=_0x53e47e['inline'][_0x4cad('0x1f')](_0xbfe9c=>_0xbfe9c[_0x4cad('0x1e')]===_0x3205ce)),_0x461430;}[_0x4cad('0x25')](_0x2c6a9c,_0x252159,_0x3b2fdf,_0x3b4591){const _0x2b35a9=[];for(const _0x2c8cc4 of _0x252159[_0x4cad('0x22')]()){const _0xa509ac=_0x2c8cc4['getAttribute'](_0x3b4591);_0xa509ac&&(_0x3b2fdf[_0x4cad('0x20')](_0x2cbd58=>_0xa509ac[_0x4cad('0x2c')][_0x4cad('0x29')](_0x2cbd58))&&_0x2b35a9[_0x4cad('0x2e')](_0x2c6a9c[_0x4cad('0x1')](_0x2c8cc4)));}return _0x2b35a9;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ee8=['from','MIN_SAFE_INTEGER','_getSuggestionCoords','addMarker:suggestion','insertTableColumnLeft','maxRow','change:data','isInContent','ELEMENT_TABLE_COLUMN_WITH_TEXT','$graveyard','ELEMENT_TABLE_WITH_TEXT','tableColumn','getCellLocation','tableCell','TableEditing','nodeAfter','options','editor','getChangedMarkers','minColumn','registerElementLabel','min','data','ELEMENT_TABLE_COLUMN','ELEMENT_TABLE_ROW_WITH_TEXT','enqueueChange','getChanges','getSuggestion','ELEMENT_TABLE','forceValue','insertTableColumnRight','addClass','deletion','*Insert:*\x20%0','values','_acceptFormatSuggestionCallbackFactory','every','insertion','downcastDispatcher','markMultiRangeInsertion','mapper','selectTableRow','insertTableRowBelow','maxColumn','type','name','includes','model','hasAttribute','getRowIndexes','length','removeClass','markMultiRangeDeletion','last','registerDescriptionCallback','removeTableColumn','rowspan','map','registerPostFixer','tableRow','oldRange','batch','end','accept','MAX_SAFE_INTEGER','plugins','change','getColumnIndexes','substr','*Remove:*\x20%0','minRow','enableCommand','getChildren','_getCoordsForCells','getAttribute','_tableSuggestions','item','_tablePostFixingSubtypes','createTableWalker','isIntersectingWithRange','ELEMENT_TABLE_ROW','tablePaste','differ','addRange','setSelection','_descriptionFactory','getFirstRange','TrackChangesEditing','filter','removeTableRow','getSelectionAffectedTableCells','get','toViewElement','subType','isTouching','selection','_splitMarkerName','createRangeOn','rootName','some','fromRange','table','commands','getRanges','cell','left','add','TableUtils','isEqual','low','has','join','toLowerCase','discard','max','afterInit','classes','registerCustomCallback','above','showSuggestionHighlights','execute','suggestion','highest','root','colspan','_suggestionFactory','$textProxy','findAncestor','writer','order','position','getItems','push','start','locale','nodeBefore','first','document','isArray','detach','span'];(function(_0x5b507e,_0x4ee897){const _0x23d82a=function(_0x386e11){while(--_0x386e11){_0x5b507e['push'](_0x5b507e['shift']());}};_0x23d82a(++_0x4ee897);}(_0x4ee8,0x1e3));const _0x23d8=function(_0x5b507e,_0x4ee897){_0x5b507e=_0x5b507e-0x0;let _0x23d82a=_0x4ee8[_0x5b507e];return _0x23d82a;};import{Plugin as _0x38acff}from'ckeditor5/src/core';import{LiveRange as _0x3abd95}from'ckeditor5/src/engine';import{setHighlightHandling as _0x1e6a19}from'ckeditor5/src/widget';import{getTranslation as _0x3deade}from'../utils/common-translations';export default class mt extends _0x38acff{constructor(_0x12b506){super(_0x12b506),this['_tablePostFixingSubtypes']=[_0x23d8('0x8c'),_0x23d8('0x5c')],this[_0x23d8('0xf')]=new Set();}[_0x23d8('0x37')](){const _0x472a28=this[_0x23d8('0x62')],_0x10cea7=_0x472a28[_0x23d8('0x80')][_0x23d8('0x4d')][_0x23d8('0x23')];if(!_0x472a28['plugins'][_0x23d8('0x32')](_0x23d8('0x5f')))return;const _0x32d250=_0x472a28[_0x23d8('0x4a')],_0x3db872=_0x472a28[_0x23d8('0x5')][_0x23d8('0x1f')](_0x23d8('0x1b')),_0x4b9ecf=_0x472a28[_0x23d8('0x5')][_0x23d8('0x1f')](_0x23d8('0x2f'));_0x3db872['_descriptionFactory'][_0x23d8('0x65')](_0x23d8('0x29'),_0x521442=>_0x3deade(_0x32d250,_0x23d8('0x6d'),_0x521442)),this['_setupColumnsRowsFixing'](),_0x3db872[_0x23d8('0xb')]('insertTable'),_0x3db872[_0x23d8('0xb')](_0x23d8('0x7a')),_0x3db872[_0x23d8('0xb')]('selectTableColumn');for(const _0x561273 of['insertTableRowAbove',_0x23d8('0x7b')]){const _0x2bbd2b=_0x472a28[_0x23d8('0x2a')][_0x23d8('0x1f')](_0x561273);_0x3db872['enableCommand'](_0x561273,_0x156a5e=>{_0x472a28['model']['change'](_0x33ab2c=>{_0x156a5e();const _0x1716f5=_0x23d8('0x3a')===_0x2bbd2b['order'],_0x2cdea7=_0x4b9ecf[_0x23d8('0x1e')](_0x10cea7),_0xe5d386=_0x4b9ecf[_0x23d8('0x82')](_0x2cdea7),_0x373a96=_0x1716f5?_0xe5d386['first']-0x1:_0xe5d386[_0x23d8('0x86')]+0x1,_0x3ecda3=_0x2cdea7[0x0][_0x23d8('0x43')](_0x23d8('0x29')),_0x3b8eaa=_0x4b9ecf[_0x23d8('0x12')](_0x3ecda3,{'startRow':_0x373a96,'endRow':_0x373a96}),_0x57bf0f=Array[_0x23d8('0x51')](_0x3b8eaa)[_0x23d8('0x8a')](_0x4d4f3c=>_0x33ab2c['createRangeOn'](_0x4d4f3c[_0x23d8('0x2c')]));_0x3db872['markMultiRangeInsertion'](_0x57bf0f,_0x23d8('0x8c'));});});}for(const _0x35b532 of[_0x23d8('0x55'),_0x23d8('0x6f')]){const _0x23fc7e=_0x472a28['commands'][_0x23d8('0x1f')](_0x35b532);_0x3db872[_0x23d8('0xb')](_0x35b532,_0xa70c6b=>{_0x472a28[_0x23d8('0x80')][_0x23d8('0x6')](_0x29c746=>{_0xa70c6b();const _0x3b325a=_0x23d8('0x2d')===_0x23fc7e[_0x23d8('0x45')],_0x2a40aa=_0x4b9ecf[_0x23d8('0x1e')](_0x10cea7),_0x2d900f=_0x4b9ecf[_0x23d8('0x7')](_0x2a40aa),_0x5e3cb7=_0x3b325a?_0x2d900f['first']-0x1:_0x2d900f[_0x23d8('0x86')]+0x1,_0x1eb19b=_0x2a40aa[0x0][_0x23d8('0x43')](_0x23d8('0x29')),_0x459bf7=_0x4b9ecf[_0x23d8('0x12')](_0x1eb19b,{'startRow':0x0,'column':_0x5e3cb7,'includeAllSlots':!0x1}),_0x533282=Array['from'](_0x459bf7)[_0x23d8('0x8a')](_0x48d22b=>_0x29c746[_0x23d8('0x25')](_0x48d22b[_0x23d8('0x2c')]));_0x3db872[_0x23d8('0x78')](_0x533282,'tableColumn');});});}for(const _0xda1f89 of[_0x23d8('0x1d'),'removeTableColumn']){const _0xe44c14=_0xda1f89[_0x23d8('0x8')](0xb),_0x5dc569=_0xe44c14[_0x23d8('0x34')](),_0x45fbbe=_0x5dc569['substr'](0x0,0x3)+_0x23d8('0x50'),_0x20e597='table'+_0xe44c14,_0x199cd1=_0x23d8('0x66')+_0xe44c14,_0x44e52e='max'+_0xe44c14;_0x3db872['enableCommand'](_0xda1f89,()=>{_0x472a28[_0x23d8('0x80')][_0x23d8('0x6')](_0x904390=>{const _0x1726ac=_0x4b9ecf[_0x23d8('0x1e')](_0x10cea7),_0x3a4d39=_0x1726ac[0x0][_0x23d8('0x43')](_0x23d8('0x29'));let _0x1c9ba1;if('removeTableRow'==_0xda1f89){const _0x55a9de=_0x4b9ecf[_0x23d8('0x82')](_0x1726ac);_0x1c9ba1={'startRow':_0x55a9de[_0x23d8('0x4c')],'endRow':_0x55a9de[_0x23d8('0x86')],'includeAllSlots':!0x0};}else{const _0x9f921d=_0x4b9ecf[_0x23d8('0x7')](_0x1726ac);_0x1c9ba1={'startColumn':_0x9f921d[_0x23d8('0x4c')],'endColumn':_0x9f921d[_0x23d8('0x86')],'includeAllSlots':!0x0};}const _0x5c6921=_0x4b9ecf['createTableWalker'](_0x3a4d39,_0x1c9ba1),_0x462c0d=Array[_0x23d8('0x51')](_0x5c6921)[_0x23d8('0x8a')](({cell:_0x3ffb9b})=>_0x3ffb9b),_0x120f29=se(_0x462c0d[_0x23d8('0x1c')](_0x3386d3=>_0x3386d3['hasAttribute'](_0x45fbbe))),_0x14cba7=se(_0x462c0d['filter'](_0x2ad3ac=>!_0x2ad3ac['hasAttribute'](_0x45fbbe)))[_0x23d8('0x8a')](_0x5e9de7=>_0x904390[_0x23d8('0x25')](_0x5e9de7)),_0x4a15d7=_0x3db872[_0x23d8('0x85')](_0x14cba7,_0x20e597);if(_0x4a15d7&&('tableRow'==_0x4a15d7[_0x23d8('0x21')]||_0x23d8('0x5c')==_0x4a15d7[_0x23d8('0x21')])){const _0x4ed198=this[_0x23d8('0x53')](_0x4a15d7);for(const _0x1c6fb1 of _0x120f29){const _0x4652f6=_0x904390['createRangeOn'](_0x1c6fb1),_0x32a1b3=_0x4b9ecf[_0x23d8('0x5d')](_0x1c6fb1),_0x1e1945=_0x1c6fb1['getAttribute'](_0x45fbbe)-0x1,_0x411ef2=_0x4ed198[_0x199cd1],_0x78eb1f=_0x4ed198[_0x44e52e];_0x411ef2<=_0x32a1b3[_0x5dc569]&&_0x32a1b3[_0x5dc569]+_0x1e1945<=_0x78eb1f&&_0x4a15d7[_0x23d8('0x17')](_0x4652f6);}}});});}function _0xca5b91(_0x43b31f){const _0x1bf336=Array[_0x23d8('0x51')](_0x10cea7['getRanges']())[_0x23d8('0x8a')](_0x3e8d72=>_0x3abd95[_0x23d8('0x28')](_0x3e8d72));_0x472a28[_0x23d8('0x80')][_0x23d8('0x6')](_0x211c2d=>{const _0x4ae02a=_0x211c2d[_0x23d8('0x1')];_0x43b31f=_0x43b31f[_0x23d8('0x1c')](_0x3b9a49=>_0x23d8('0x5a')!=_0x3b9a49[_0x23d8('0x3f')]['rootName']),_0x211c2d[_0x23d8('0x18')](_0x43b31f),_0x472a28[_0x23d8('0x2a')][_0x23d8('0x1f')](_0x23d8('0x1d'))['refresh'](),_0x472a28[_0x23d8('0x3c')](_0x23d8('0x1d'),{'forceDefaultExecution':!0x0}),_0x472a28[_0x23d8('0x80')]['enqueueChange'](()=>{_0x472a28[_0x23d8('0x80')][_0x23d8('0x6a')](_0x4ae02a,_0x1a557d=>{const _0x1fd5b1=_0x1bf336[_0x23d8('0x1c')](_0x5257a8=>_0x23d8('0x5a')!=_0x5257a8['root'][_0x23d8('0x26')]);_0x1fd5b1[_0x23d8('0x83')]>0x0&&_0x1a557d[_0x23d8('0x18')](_0x1fd5b1);for(const _0x517100 of _0x1bf336)_0x517100[_0x23d8('0x4f')]();});});});}function _0x5de501(_0x4585e0){_0x472a28[_0x23d8('0x80')][_0x23d8('0x6')](_0x2edb90=>{const _0x20e81d=Array['from'](_0x10cea7[_0x23d8('0x2b')]())[_0x23d8('0x8a')](_0x16a636=>_0x3abd95['fromRange'](_0x16a636)),_0xb548f0=[];for(const _0x93e396 of _0x4585e0)for(const _0x3a1dd4 of _0x93e396['getItems']({'shallow':!0x0}))_0xb548f0[_0x23d8('0x48')](_0x3a1dd4);for(const _0x4afe08 of _0xb548f0)_0x23d8('0x5a')!=_0x4afe08[_0x23d8('0x3f')][_0x23d8('0x26')]&&(_0x2edb90['setSelection'](_0x2edb90['createPositionAt'](_0x4afe08,0x0)),_0x472a28[_0x23d8('0x2a')][_0x23d8('0x1f')](_0x23d8('0x88'))['refresh'](),_0x472a28[_0x23d8('0x3c')]('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x47e1ae=_0x20e81d['filter'](_0x73123c=>_0x23d8('0x5a')!=_0x73123c[_0x23d8('0x3f')][_0x23d8('0x26')]);_0x47e1ae['length']>0x0&&_0x2edb90[_0x23d8('0x18')](_0x47e1ae);for(const _0x48edd2 of _0x20e81d)_0x48edd2[_0x23d8('0x4f')]();});}function _0x538e2d(_0x313cb3,_0x4643ee){return _0x4643ee[_0x23d8('0x75')](_0x210ca7=>_0x313cb3[_0x23d8('0x27')](_0x3c90c2=>_0x3c90c2[_0x23d8('0x2')]['isEqual'](_0x210ca7[_0x23d8('0x49')])||_0x210ca7[_0x23d8('0x2')][_0x23d8('0x30')](_0x3c90c2[_0x23d8('0x49')])));}function _0x26029c(_0x2f3bab,_0x800cf7){return _0x2f3bab[_0x23d8('0x27')](_0x4eab93=>_0x800cf7[_0x23d8('0x27')](_0x3d5a16=>_0x4eab93[_0x23d8('0x2')][_0x23d8('0x22')](_0x3d5a16[_0x23d8('0x49')])));}_0x472a28[_0x23d8('0x67')][_0x23d8('0x77')]['on'](_0x23d8('0x54'),(_0x44e00d,_0x3693f0,_0x10b7d5)=>{if(!_0x10b7d5[_0x23d8('0x61')][_0x23d8('0x3b')])return;const _0x268a55=_0x3693f0[_0x23d8('0x10')];if(!_0x268a55)return;const _0x2b1205=_0x10b7d5[_0x23d8('0x79')][_0x23d8('0x20')](_0x268a55);function _0x1bd6c9(_0xc1b458){return Array[_0x23d8('0x4e')](_0xc1b458)?_0xc1b458:[_0xc1b458];}_0x2b1205&&_0x23d8('0x5e')===_0x268a55[_0x23d8('0x7e')]&&_0x1e6a19(_0x2b1205,_0x10b7d5[_0x23d8('0x44')],(_0x23e6a4,_0x4a1ad3,_0x23171e)=>_0x23171e[_0x23d8('0x70')](_0x1bd6c9(_0x4a1ad3[_0x23d8('0x38')]),_0x23e6a4),(_0x79b31d,_0x150612,_0x3c04d0)=>_0x3c04d0[_0x23d8('0x84')](_0x1bd6c9(_0x150612[_0x23d8('0x38')]),_0x79b31d));},{'priority':_0x23d8('0x3e')}),_0x3db872[_0x23d8('0x19')][_0x23d8('0x87')](_0x56ee54=>{if(_0x23d8('0x76')!=_0x56ee54[_0x23d8('0x7d')]&&_0x23d8('0x71')!=_0x56ee54[_0x23d8('0x7d')])return;const _0x338b65=_0x56ee54['getContainedElement']();if(null!=_0x338b65&&_0x338b65['is']('element','table')){if('insertion'==_0x56ee54[_0x23d8('0x7d')]){const _0x33f8bf=_0x56ee54[_0x23d8('0x47')]()[_0x23d8('0x1c')](_0x3e451a=>_0x3e451a['is'](_0x23d8('0x42')))[_0x23d8('0x8a')](_0x49f2d6=>_0x49f2d6[_0x23d8('0x67')]);if(_0x33f8bf['length'])return{'type':'insertion','content':_0x3deade(_0x32d250,_0x23d8('0x72'),_0x3deade(_0x32d250,_0x23d8('0x5b'),'\x22'+_0x33f8bf[_0x23d8('0x33')]('\x20')+'\x22'))};}if(_0x23d8('0x71')==_0x56ee54[_0x23d8('0x7d')]){const _0x330082=_0x56ee54[_0x23d8('0x47')]()['filter'](_0x4dbe05=>_0x4dbe05['is'](_0x23d8('0x42')))['map'](_0x5a0373=>_0x5a0373['data']);if(_0x330082[_0x23d8('0x83')])return{'type':_0x23d8('0x71'),'content':_0x3deade(_0x32d250,'*Remove:*\x20%0',_0x3deade(_0x32d250,_0x23d8('0x5b'),'\x22'+_0x330082['join']('\x20')+'\x22'))};}}}),_0x3db872[_0x23d8('0x19')][_0x23d8('0x87')](_0x4dcf92=>{if('tableRow'==_0x4dcf92['subType']){const _0xc9798=_0x4dcf92[_0x23d8('0x47')]()[_0x23d8('0x1c')](_0x59d9e0=>_0x59d9e0['is'](_0x23d8('0x42')))[_0x23d8('0x8a')](_0x33eb9f=>_0x33eb9f['data']),_0x26d3a6=this[_0x23d8('0x53')](_0x4dcf92),_0x65ade4=_0x26d3a6[_0x23d8('0x56')]-_0x26d3a6[_0x23d8('0xa')]+0x1;if(_0x23d8('0x76')==_0x4dcf92[_0x23d8('0x7d')])return _0xc9798['length']?{'type':'insertion','content':_0x3deade(_0x32d250,'*Insert:*\x20%0',_0x3deade(_0x32d250,_0x23d8('0x69'),[_0x65ade4,'\x22'+_0xc9798[_0x23d8('0x33')]('\x20')+'\x22']))}:{'type':_0x23d8('0x76'),'content':_0x3deade(_0x32d250,_0x23d8('0x72'),_0x3deade(_0x32d250,_0x23d8('0x14'),_0x65ade4))};if(_0x23d8('0x71')==_0x4dcf92[_0x23d8('0x7d')])return _0xc9798[_0x23d8('0x83')]?{'type':_0x23d8('0x71'),'content':_0x3deade(_0x32d250,_0x23d8('0x9'),_0x3deade(_0x32d250,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x65ade4,'\x22'+_0xc9798[_0x23d8('0x33')]('\x20')+'\x22']))}:{'type':_0x23d8('0x71'),'content':_0x3deade(_0x32d250,_0x23d8('0x9'),_0x3deade(_0x32d250,_0x23d8('0x14'),_0x65ade4))};}if(_0x23d8('0x5c')==_0x4dcf92['subType']){const _0x560222=_0x4dcf92[_0x23d8('0x47')]()['filter'](_0x54be79=>_0x54be79['is'](_0x23d8('0x42')))[_0x23d8('0x8a')](_0x4bd7d3=>_0x4bd7d3[_0x23d8('0x67')]),_0x28692d=this['_getSuggestionCoords'](_0x4dcf92),_0x42257f=_0x28692d[_0x23d8('0x7c')]-_0x28692d[_0x23d8('0x64')]+0x1;if(_0x23d8('0x76')==_0x4dcf92[_0x23d8('0x7d')])return _0x560222['length']?{'type':'insertion','content':_0x3deade(_0x32d250,'*Insert:*\x20%0',_0x3deade(_0x32d250,_0x23d8('0x59'),[_0x42257f,'\x22'+_0x560222['join']('\x20')+'\x22']))}:{'type':_0x23d8('0x76'),'content':_0x3deade(_0x32d250,_0x23d8('0x72'),_0x3deade(_0x32d250,_0x23d8('0x68'),_0x42257f))};if(_0x23d8('0x71')==_0x4dcf92[_0x23d8('0x7d')])return _0x560222[_0x23d8('0x83')]?{'type':_0x23d8('0x71'),'content':_0x3deade(_0x32d250,_0x23d8('0x9'),_0x3deade(_0x32d250,_0x23d8('0x59'),[_0x42257f,'\x22'+_0x560222[_0x23d8('0x33')]('\x20')+'\x22']))}:{'type':_0x23d8('0x71'),'content':_0x3deade(_0x32d250,_0x23d8('0x9'),_0x3deade(_0x32d250,_0x23d8('0x68'),_0x42257f))};}}),_0x3db872[_0x23d8('0x41')][_0x23d8('0x39')](_0x23d8('0x76'),_0x23d8('0x8c'),_0x23d8('0x35'),_0xca5b91),_0x3db872[_0x23d8('0x41')][_0x23d8('0x39')](_0x23d8('0x71'),_0x23d8('0x8c'),_0x23d8('0x3'),_0xca5b91),_0x3db872[_0x23d8('0x41')][_0x23d8('0x39')]('insertion','tableColumn',_0x23d8('0x35'),_0x5de501),_0x3db872['_suggestionFactory'][_0x23d8('0x39')]('deletion',_0x23d8('0x5c'),_0x23d8('0x3'),_0x5de501),_0x3db872[_0x23d8('0x41')][_0x23d8('0x39')]('insertion',_0x23d8('0x5c'),_0x23d8('0x33'),_0x538e2d),_0x3db872[_0x23d8('0x41')][_0x23d8('0x39')](_0x23d8('0x71'),_0x23d8('0x5c'),'join',_0x538e2d),_0x3db872[_0x23d8('0x41')][_0x23d8('0x39')](_0x23d8('0x76'),_0x23d8('0x8c'),_0x23d8('0x33'),_0x26029c),_0x3db872['_suggestionFactory'][_0x23d8('0x39')]('deletion',_0x23d8('0x8c'),_0x23d8('0x33'),_0x26029c);}[_0x23d8('0x74')](){const _0x12522b=this[_0x23d8('0x62')],_0xc0f451=_0x12522b['model'][_0x23d8('0x4d')][_0x23d8('0x23')];return(_0x1900c2,_0x2a78b0)=>{_0x12522b[_0x23d8('0x80')][_0x23d8('0x6')](_0xca5336=>{const {commandName:_0x4f520c,commandParams:_0x2cdf79}=_0x2a78b0;let _0x34c72e=_0x1900c2[0x0][_0x23d8('0x2')][_0x23d8('0x4b')];_0x2cdf79&&_0x2cdf79[0x0]&&!0x1===_0x2cdf79[0x0][_0x23d8('0x6e')]&&(_0x34c72e=_0x1900c2[0x0]['start'][_0x23d8('0x60')]);const _0x4dafe7=_0xca5336['createRangeIn'](_0x34c72e);if(_0x23d8('0x5a')==_0x4dafe7[_0x23d8('0x3f')][_0x23d8('0x26')])return;const _0x3ce87f=Array['from'](_0xc0f451[_0x23d8('0x2b')]())[_0x23d8('0x8a')](_0x226734=>_0x3abd95[_0x23d8('0x28')](_0x226734));_0xca5336[_0x23d8('0x18')](_0x4dafe7),_0x12522b[_0x23d8('0x2a')][_0x23d8('0x1f')](_0x4f520c)['refresh'](),_0x2cdf79[_0x23d8('0x48')]({'forceDefaultExecution':!0x0}),_0x12522b[_0x23d8('0x3c')](_0x4f520c,..._0x2cdf79);const _0x3ea5d3=_0x3ce87f[_0x23d8('0x1c')](_0x4d0913=>_0x23d8('0x5a')!=_0x4d0913[_0x23d8('0x3f')][_0x23d8('0x26')]);_0x3ea5d3['length']>0x0&&_0xca5336[_0x23d8('0x18')](_0x3ea5d3);for(const _0x544776 of _0x3ce87f)_0x544776[_0x23d8('0x4f')]();});};}[_0x23d8('0xd')](_0x641db6){const _0x58a991=this['editor'][_0x23d8('0x5')]['get'](_0x23d8('0x2f'));let _0x4305d6=Number[_0x23d8('0x4')],_0xfbf520=Number['MIN_SAFE_INTEGER'],_0x541d3a=Number[_0x23d8('0x4')],_0x386f77=Number[_0x23d8('0x52')];for(const _0x1c3418 of _0x641db6){if(_0x23d8('0x5a')==_0x1c3418[_0x23d8('0x3f')][_0x23d8('0x26')])continue;const {row:_0x48137a,column:_0x2214ee}=_0x58a991['getCellLocation'](_0x1c3418),_0x12b515=_0x1c3418['hasAttribute'](_0x23d8('0x89'))?_0x1c3418[_0x23d8('0xe')](_0x23d8('0x89'))-0x1:0x0,_0x5c3570=_0x1c3418[_0x23d8('0x81')](_0x23d8('0x40'))?_0x1c3418[_0x23d8('0xe')](_0x23d8('0x40'))-0x1:0x0;_0x4305d6=_0x48137a<_0x4305d6?_0x48137a:_0x4305d6,_0xfbf520=_0x48137a+_0x12b515>_0xfbf520?_0x48137a+_0x12b515:_0xfbf520,_0x541d3a=_0x2214ee<_0x541d3a?_0x2214ee:_0x541d3a,_0x386f77=_0x2214ee+_0x5c3570>_0x386f77?_0x2214ee+_0x5c3570:_0x386f77;}return{'minRow':_0x4305d6,'maxRow':_0xfbf520,'minColumn':_0x541d3a,'maxColumn':_0x386f77};}['_setupColumnsRowsFixing'](){const _0xd6fc39=this[_0x23d8('0x62')],_0x27a116=_0xd6fc39[_0x23d8('0x5')]['get'](_0x23d8('0x1b')),_0x22e5f8=_0xd6fc39['plugins']['get'](_0x23d8('0x2f'));_0xd6fc39['model'][_0x23d8('0x4d')]['on'](_0x23d8('0x57'),()=>{const _0x4d95fe=Array[_0x23d8('0x51')](_0xd6fc39['model']['document'][_0x23d8('0x16')][_0x23d8('0x63')]());for(const {name:_0x335701,data:_0x526eb8}of _0x4d95fe){const {group:_0xdd04de,id:_0x25133a,subType:_0x187f03}=_0x27a116[_0x23d8('0x24')](_0x335701);if(_0x23d8('0x3d')!=_0xdd04de)continue;if(null!=_0x526eb8[_0x23d8('0x0')])continue;const _0x233e85=_0x27a116[_0x23d8('0x6c')](_0x25133a);this[_0x23d8('0x11')][_0x23d8('0x7f')](_0x187f03)&&this[_0x23d8('0xf')][_0x23d8('0x2e')](_0x233e85);}},{'priority':_0x23d8('0x31')});const _0x473871=(_0x3676c2,_0x14b76a)=>{let _0x25b3c2=!0x1;const _0x19a64c=_0x14b76a[_0x23d8('0x25')](_0x3676c2),_0xa75baf=_0x3676c2[_0x23d8('0x43')](_0x23d8('0x29')),_0x770af5=_0x22e5f8['getCellLocation'](_0x3676c2);for(const _0x426ba2 of this[_0x23d8('0xf')]){const _0x344044=_0x426ba2[_0x23d8('0x21')],_0x2b0a7d=_0x344044['startsWith'](_0x23d8('0x15')),_0x1697ab=_0x344044[_0x23d8('0x8')](_0x2b0a7d?0xa:0x5),_0x4a6300=_0x1697ab['toLowerCase'](),_0x3f809e=_0x4a6300['substr'](0x0,0x3)+_0x23d8('0x50'),_0x87c86d=_0x23d8('0x66')+_0x1697ab,_0x23d9ae=_0x23d8('0x36')+_0x1697ab;if(!_0x426ba2[_0x23d8('0x58')])continue;if(_0xa75baf!=_0x426ba2[_0x23d8('0x1a')]()[_0x23d8('0x49')][_0x23d8('0x43')](_0x23d8('0x29')))continue;if(_0x426ba2[_0x23d8('0x13')](_0x19a64c))continue;const _0x17b630=_0x3676c2[_0x23d8('0x81')](_0x3f809e)?_0x3676c2[_0x23d8('0xe')](_0x3f809e)-0x1:0x0,_0x1dce4c=this[_0x23d8('0x53')](_0x426ba2),_0x1721b9=_0x1dce4c[_0x87c86d],_0x40cd5e=_0x1dce4c[_0x23d9ae];_0x1721b9<=_0x770af5[_0x4a6300]&&_0x770af5[_0x4a6300]+_0x17b630<=_0x40cd5e&&(_0x426ba2['addRange'](_0x19a64c),_0x25b3c2=!0x0);}return _0x25b3c2;};_0xd6fc39[_0x23d8('0x80')][_0x23d8('0x4d')][_0x23d8('0x8b')](_0x286c1f=>{let _0x37a065=!0x1;for(const _0x4e9e6f of _0xd6fc39[_0x23d8('0x80')][_0x23d8('0x4d')][_0x23d8('0x16')][_0x23d8('0x6b')]())if('insert'==_0x4e9e6f[_0x23d8('0x7d')]){if(_0x23d8('0x8c')==_0x4e9e6f[_0x23d8('0x7e')])for(const _0x3338e1 of _0x4e9e6f['position'][_0x23d8('0x60')][_0x23d8('0xc')]())_0x37a065=_0x37a065||_0x473871(_0x3338e1,_0x286c1f);else'tableCell'==_0x4e9e6f[_0x23d8('0x7e')]&&(_0x37a065=_0x37a065||_0x473871(_0x4e9e6f[_0x23d8('0x46')]['nodeAfter'],_0x286c1f));}return _0x37a065;});}[_0x23d8('0x53')](_0x3a6338){return this[_0x23d8('0xd')](_0x3a6338[_0x23d8('0x2b')]()[_0x23d8('0x8a')](_0x1a629f=>_0x1a629f['start']['nodeAfter']));}}function se(_0x5796b8){return Array[_0x23d8('0x51')](new Set(_0x5796b8)[_0x23d8('0x73')]());}
23
+ const _0x2428=['join','model','removeTableColumn','above','oldRange','_setupColumnsRowsFixing','getCellLocation','registerElementLabel','getChangedMarkers','getSelectionAffectedTableCells','maxRow','values','length','table','fromRange','from','_getSuggestionCoords','createTableWalker','toLowerCase','startsWith','getAttribute','$textProxy','ELEMENT_TABLE_ROW_WITH_TEXT','get','start','execute','ELEMENT_TABLE_COLUMN','end','item','refresh','isInContent','getContainedElement','colspan','getItems','forceValue','registerDescriptionCallback','accept','last','has','hasAttribute','ELEMENT_TABLE_COLUMN_WITH_TEXT','change:data','tableCell','_tableSuggestions','getFirstRange','element','ELEMENT_TABLE_WITH_TEXT','TrackChangesEditing','first','getChanges','data','_getCoordsForCells','createRangeOn','insertion','low','nodeAfter','name','order','includes','some','document','getRowIndexes','mapper','commands','minRow','enableCommand','MIN_SAFE_INTEGER','map','afterInit','getColumnIndexes','locale','isEqual','findAncestor','removeClass','registerCustomCallback','isTouching','$graveyard','tablePaste','batch','_splitMarkerName','getRanges','deletion','insertTableColumnLeft','createPositionAt','editor','isArray','addRange','TableEditing','max','getSuggestion','insertTableRowAbove','addMarker:suggestion','substr','markMultiRangeInsertion','setSelection','enqueueChange','registerPostFixer','subType','classes','_tablePostFixingSubtypes','plugins','_acceptFormatSuggestionCallbackFactory','type','push','position','span','markMultiRangeDeletion','*Insert:*\x20%0','detach','left','selectTableColumn','selectTableRow','options','_descriptionFactory','getChildren','writer','rowspan','discard','_suggestionFactory','insert','tableColumn','every','change','TableUtils','addClass','root','filter','MAX_SAFE_INTEGER','insertTableColumnRight','tableRow','insertTable','highest','min','rootName','minColumn','removeTableRow','*Remove:*\x20%0','add','cell','differ'];(function(_0x9fc442,_0x2428e0){const _0x2aa654=function(_0x1f94df){while(--_0x1f94df){_0x9fc442['push'](_0x9fc442['shift']());}};_0x2aa654(++_0x2428e0);}(_0x2428,0x8d));const _0x2aa6=function(_0x9fc442,_0x2428e0){_0x9fc442=_0x9fc442-0x0;let _0x2aa654=_0x2428[_0x9fc442];return _0x2aa654;};import{Plugin as _0x43651e}from'ckeditor5/src/core';import{LiveRange as _0x3f0f3b}from'ckeditor5/src/engine';import{setHighlightHandling as _0x3c9ab9}from'ckeditor5/src/widget';import{getTranslation as _0x1ee9de}from'../utils/common-translations';export default class mt extends _0x43651e{constructor(_0x698b8a){super(_0x698b8a),this['_tablePostFixingSubtypes']=['tableRow',_0x2aa6('0x77')],this[_0x2aa6('0x2a')]=new Set();}[_0x2aa6('0x43')](){const _0x43ba72=this[_0x2aa6('0x53')],_0x3212e2=_0x43ba72[_0x2aa6('0x0')][_0x2aa6('0x3b')]['selection'];if(!_0x43ba72['plugins'][_0x2aa6('0x25')](_0x2aa6('0x56')))return;const _0x3c196f=_0x43ba72[_0x2aa6('0x45')],_0x305d91=_0x43ba72['plugins'][_0x2aa6('0x16')](_0x2aa6('0x2e')),_0x5cebb8=_0x43ba72['plugins'][_0x2aa6('0x16')](_0x2aa6('0x7a'));_0x305d91['_descriptionFactory'][_0x2aa6('0x6')](_0x2aa6('0xc'),_0x460056=>_0x1ee9de(_0x3c196f,'ELEMENT_TABLE',_0x460056)),this[_0x2aa6('0x4')](),_0x305d91['enableCommand'](_0x2aa6('0x81')),_0x305d91['enableCommand'](_0x2aa6('0x6e')),_0x305d91[_0x2aa6('0x40')](_0x2aa6('0x6d'));for(const _0x24e6bf of[_0x2aa6('0x59'),'insertTableRowBelow']){const _0x44bc98=_0x43ba72[_0x2aa6('0x3e')][_0x2aa6('0x16')](_0x24e6bf);_0x305d91[_0x2aa6('0x40')](_0x24e6bf,_0x1c3a44=>{_0x43ba72['model']['change'](_0x200b7d=>{_0x1c3a44();const _0x104a06=_0x2aa6('0x2')===_0x44bc98[_0x2aa6('0x38')],_0x1091e6=_0x5cebb8['getSelectionAffectedTableCells'](_0x3212e2),_0x3b8c37=_0x5cebb8[_0x2aa6('0x3c')](_0x1091e6),_0x45f54a=_0x104a06?_0x3b8c37[_0x2aa6('0x2f')]-0x1:_0x3b8c37[_0x2aa6('0x24')]+0x1,_0x3164aa=_0x1091e6[0x0][_0x2aa6('0x47')](_0x2aa6('0xc')),_0xd59db8=_0x5cebb8[_0x2aa6('0x10')](_0x3164aa,{'startRow':_0x45f54a,'endRow':_0x45f54a}),_0x524b65=Array[_0x2aa6('0xe')](_0xd59db8)[_0x2aa6('0x42')](_0x29074b=>_0x200b7d[_0x2aa6('0x33')](_0x29074b[_0x2aa6('0x89')]));_0x305d91[_0x2aa6('0x5c')](_0x524b65,_0x2aa6('0x80'));});});}for(const _0xe92708 of[_0x2aa6('0x51'),_0x2aa6('0x7f')]){const _0x3d92d0=_0x43ba72['commands'][_0x2aa6('0x16')](_0xe92708);_0x305d91['enableCommand'](_0xe92708,_0x28a8d9=>{_0x43ba72[_0x2aa6('0x0')][_0x2aa6('0x79')](_0x29f83d=>{_0x28a8d9();const _0x277546=_0x2aa6('0x6c')===_0x3d92d0[_0x2aa6('0x38')],_0x2258bd=_0x5cebb8[_0x2aa6('0x8')](_0x3212e2),_0x1a89b3=_0x5cebb8[_0x2aa6('0x44')](_0x2258bd),_0x591fef=_0x277546?_0x1a89b3[_0x2aa6('0x2f')]-0x1:_0x1a89b3[_0x2aa6('0x24')]+0x1,_0x213fe3=_0x2258bd[0x0][_0x2aa6('0x47')](_0x2aa6('0xc')),_0x31a59e=_0x5cebb8[_0x2aa6('0x10')](_0x213fe3,{'startRow':0x0,'column':_0x591fef,'includeAllSlots':!0x1}),_0x10a5b0=Array[_0x2aa6('0xe')](_0x31a59e)[_0x2aa6('0x42')](_0x4e517c=>_0x29f83d['createRangeOn'](_0x4e517c[_0x2aa6('0x89')]));_0x305d91[_0x2aa6('0x5c')](_0x10a5b0,_0x2aa6('0x77'));});});}for(const _0x33e2e0 of[_0x2aa6('0x86'),_0x2aa6('0x1')]){const _0x30fc19=_0x33e2e0[_0x2aa6('0x5b')](0xb),_0x277c5f=_0x30fc19[_0x2aa6('0x11')](),_0x1e1835=_0x277c5f[_0x2aa6('0x5b')](0x0,0x3)+_0x2aa6('0x68'),_0xdf032a='table'+_0x30fc19,_0x275fbf=_0x2aa6('0x83')+_0x30fc19,_0x4c020e=_0x2aa6('0x57')+_0x30fc19;_0x305d91[_0x2aa6('0x40')](_0x33e2e0,()=>{_0x43ba72[_0x2aa6('0x0')]['change'](_0x5696e1=>{const _0x29786a=_0x5cebb8[_0x2aa6('0x8')](_0x3212e2),_0x1cb8b3=_0x29786a[0x0][_0x2aa6('0x47')](_0x2aa6('0xc'));let _0x3ff34d;if('removeTableRow'==_0x33e2e0){const _0xea002e=_0x5cebb8[_0x2aa6('0x3c')](_0x29786a);_0x3ff34d={'startRow':_0xea002e[_0x2aa6('0x2f')],'endRow':_0xea002e[_0x2aa6('0x24')],'includeAllSlots':!0x0};}else{const _0x4e98d1=_0x5cebb8['getColumnIndexes'](_0x29786a);_0x3ff34d={'startColumn':_0x4e98d1[_0x2aa6('0x2f')],'endColumn':_0x4e98d1[_0x2aa6('0x24')],'includeAllSlots':!0x0};}const _0x537fed=_0x5cebb8[_0x2aa6('0x10')](_0x1cb8b3,_0x3ff34d),_0x4fcba1=Array[_0x2aa6('0xe')](_0x537fed)['map'](({cell:_0x44a8ac})=>_0x44a8ac),_0x11f251=se(_0x4fcba1[_0x2aa6('0x7d')](_0x162047=>_0x162047[_0x2aa6('0x26')](_0x1e1835))),_0x2d8197=se(_0x4fcba1[_0x2aa6('0x7d')](_0x4f4978=>!_0x4f4978[_0x2aa6('0x26')](_0x1e1835)))[_0x2aa6('0x42')](_0x33ba75=>_0x5696e1[_0x2aa6('0x33')](_0x33ba75)),_0x7abb3c=_0x305d91[_0x2aa6('0x69')](_0x2d8197,_0xdf032a);if(_0x7abb3c&&('tableRow'==_0x7abb3c[_0x2aa6('0x60')]||_0x2aa6('0x77')==_0x7abb3c[_0x2aa6('0x60')])){const _0x1b2cb8=this['_getSuggestionCoords'](_0x7abb3c);for(const _0x45a102 of _0x11f251){const _0x4f8878=_0x5696e1[_0x2aa6('0x33')](_0x45a102),_0x4da798=_0x5cebb8[_0x2aa6('0x5')](_0x45a102),_0x160b0c=_0x45a102['getAttribute'](_0x1e1835)-0x1,_0x4fcb1f=_0x1b2cb8[_0x275fbf],_0xeb1ca0=_0x1b2cb8[_0x4c020e];_0x4fcb1f<=_0x4da798[_0x277c5f]&&_0x4da798[_0x277c5f]+_0x160b0c<=_0xeb1ca0&&_0x7abb3c[_0x2aa6('0x55')](_0x4f8878);}}});});}function _0x4f117d(_0x2f2173){const _0x49f6a2=Array[_0x2aa6('0xe')](_0x3212e2[_0x2aa6('0x4f')]())[_0x2aa6('0x42')](_0x347e3b=>_0x3f0f3b[_0x2aa6('0xd')](_0x347e3b));_0x43ba72[_0x2aa6('0x0')][_0x2aa6('0x79')](_0x5729fd=>{const _0x3ed31c=_0x5729fd[_0x2aa6('0x4d')];_0x2f2173=_0x2f2173['filter'](_0x3285a5=>_0x2aa6('0x4b')!=_0x3285a5[_0x2aa6('0x7c')][_0x2aa6('0x84')]),_0x5729fd[_0x2aa6('0x5d')](_0x2f2173),_0x43ba72[_0x2aa6('0x3e')][_0x2aa6('0x16')](_0x2aa6('0x86'))[_0x2aa6('0x1c')](),_0x43ba72['execute'](_0x2aa6('0x86'),{'forceDefaultExecution':!0x0}),_0x43ba72[_0x2aa6('0x0')]['enqueueChange'](()=>{_0x43ba72[_0x2aa6('0x0')][_0x2aa6('0x5e')](_0x3ed31c,_0x2c3746=>{const _0x5b8310=_0x49f6a2[_0x2aa6('0x7d')](_0x4593de=>'$graveyard'!=_0x4593de['root'][_0x2aa6('0x84')]);_0x5b8310[_0x2aa6('0xb')]>0x0&&_0x2c3746[_0x2aa6('0x5d')](_0x5b8310);for(const _0x4d3b57 of _0x49f6a2)_0x4d3b57[_0x2aa6('0x6b')]();});});});}function _0x2f3876(_0x45f65b){_0x43ba72[_0x2aa6('0x0')][_0x2aa6('0x79')](_0x1b047a=>{const _0xfeaff7=Array[_0x2aa6('0xe')](_0x3212e2['getRanges']())[_0x2aa6('0x42')](_0x5ef740=>_0x3f0f3b[_0x2aa6('0xd')](_0x5ef740)),_0x3c5e12=[];for(const _0x149ed9 of _0x45f65b)for(const _0x22c965 of _0x149ed9['getItems']({'shallow':!0x0}))_0x3c5e12[_0x2aa6('0x66')](_0x22c965);for(const _0x50bb38 of _0x3c5e12)'$graveyard'!=_0x50bb38['root'][_0x2aa6('0x84')]&&(_0x1b047a[_0x2aa6('0x5d')](_0x1b047a[_0x2aa6('0x52')](_0x50bb38,0x0)),_0x43ba72[_0x2aa6('0x3e')]['get'](_0x2aa6('0x1'))[_0x2aa6('0x1c')](),_0x43ba72['execute'](_0x2aa6('0x1'),{'forceDefaultExecution':!0x0}));const _0x19d4b1=_0xfeaff7[_0x2aa6('0x7d')](_0x2f3981=>_0x2aa6('0x4b')!=_0x2f3981[_0x2aa6('0x7c')][_0x2aa6('0x84')]);_0x19d4b1[_0x2aa6('0xb')]>0x0&&_0x1b047a[_0x2aa6('0x5d')](_0x19d4b1);for(const _0x16e579 of _0xfeaff7)_0x16e579[_0x2aa6('0x6b')]();});}function _0x4e947b(_0x250b3b,_0xe6efef){return _0xe6efef[_0x2aa6('0x78')](_0x45eb36=>_0x250b3b['some'](_0x5532aa=>_0x5532aa['end'][_0x2aa6('0x46')](_0x45eb36[_0x2aa6('0x17')])||_0x45eb36['end'][_0x2aa6('0x46')](_0x5532aa[_0x2aa6('0x17')])));}function _0x5ad9a5(_0x10e5b2,_0x1f5616){return _0x10e5b2['some'](_0x19f3da=>_0x1f5616[_0x2aa6('0x3a')](_0x5a4ab9=>_0x19f3da[_0x2aa6('0x1a')][_0x2aa6('0x4a')](_0x5a4ab9['start'])));}_0x43ba72[_0x2aa6('0x31')]['downcastDispatcher']['on'](_0x2aa6('0x5a'),(_0x50ef85,_0x3fb784,_0x11f30a)=>{if(!_0x11f30a[_0x2aa6('0x6f')]['showSuggestionHighlights'])return;const _0x295cf3=_0x3fb784[_0x2aa6('0x1b')];if(!_0x295cf3)return;const _0x18b6a2=_0x11f30a[_0x2aa6('0x3d')]['toViewElement'](_0x295cf3);function _0xdb39ce(_0x45dc5d){return Array[_0x2aa6('0x54')](_0x45dc5d)?_0x45dc5d:[_0x45dc5d];}_0x18b6a2&&_0x2aa6('0x29')===_0x295cf3[_0x2aa6('0x37')]&&_0x3c9ab9(_0x18b6a2,_0x11f30a[_0x2aa6('0x72')],(_0x5bd020,_0x2b3dac,_0x2bcc7c)=>_0x2bcc7c[_0x2aa6('0x7b')](_0xdb39ce(_0x2b3dac[_0x2aa6('0x61')]),_0x5bd020),(_0x2a9e2f,_0x268342,_0x158a69)=>_0x158a69[_0x2aa6('0x48')](_0xdb39ce(_0x268342['classes']),_0x2a9e2f));},{'priority':_0x2aa6('0x82')}),_0x305d91[_0x2aa6('0x70')][_0x2aa6('0x22')](_0xcd7836=>{if(_0x2aa6('0x34')!=_0xcd7836[_0x2aa6('0x65')]&&'deletion'!=_0xcd7836[_0x2aa6('0x65')])return;const _0x4a4a27=_0xcd7836[_0x2aa6('0x1e')]();if(null!=_0x4a4a27&&_0x4a4a27['is'](_0x2aa6('0x2c'),_0x2aa6('0xc'))){if(_0x2aa6('0x34')==_0xcd7836[_0x2aa6('0x65')]){const _0x270f4e=_0xcd7836['getItems']()[_0x2aa6('0x7d')](_0x4efc65=>_0x4efc65['is'](_0x2aa6('0x14')))['map'](_0x4175ae=>_0x4175ae[_0x2aa6('0x31')]);if(_0x270f4e['length'])return{'type':'insertion','content':_0x1ee9de(_0x3c196f,_0x2aa6('0x6a'),_0x1ee9de(_0x3c196f,_0x2aa6('0x2d'),'\x22'+_0x270f4e[_0x2aa6('0x8b')]('\x20')+'\x22'))};}if(_0x2aa6('0x50')==_0xcd7836[_0x2aa6('0x65')]){const _0x47c436=_0xcd7836[_0x2aa6('0x20')]()[_0x2aa6('0x7d')](_0x158199=>_0x158199['is']('$textProxy'))[_0x2aa6('0x42')](_0xa659a8=>_0xa659a8[_0x2aa6('0x31')]);if(_0x47c436[_0x2aa6('0xb')])return{'type':_0x2aa6('0x50'),'content':_0x1ee9de(_0x3c196f,_0x2aa6('0x87'),_0x1ee9de(_0x3c196f,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x47c436[_0x2aa6('0x8b')]('\x20')+'\x22'))};}}}),_0x305d91[_0x2aa6('0x70')][_0x2aa6('0x22')](_0x4466fd=>{if(_0x2aa6('0x80')==_0x4466fd[_0x2aa6('0x60')]){const _0x1062ca=_0x4466fd[_0x2aa6('0x20')]()[_0x2aa6('0x7d')](_0x28f783=>_0x28f783['is'](_0x2aa6('0x14')))['map'](_0x2befe8=>_0x2befe8['data']),_0xa456b7=this[_0x2aa6('0xf')](_0x4466fd),_0x3512a1=_0xa456b7[_0x2aa6('0x9')]-_0xa456b7[_0x2aa6('0x3f')]+0x1;if(_0x2aa6('0x34')==_0x4466fd['type'])return _0x1062ca[_0x2aa6('0xb')]?{'type':_0x2aa6('0x34'),'content':_0x1ee9de(_0x3c196f,_0x2aa6('0x6a'),_0x1ee9de(_0x3c196f,_0x2aa6('0x15'),[_0x3512a1,'\x22'+_0x1062ca['join']('\x20')+'\x22']))}:{'type':_0x2aa6('0x34'),'content':_0x1ee9de(_0x3c196f,'*Insert:*\x20%0',_0x1ee9de(_0x3c196f,'ELEMENT_TABLE_ROW',_0x3512a1))};if(_0x2aa6('0x50')==_0x4466fd[_0x2aa6('0x65')])return _0x1062ca[_0x2aa6('0xb')]?{'type':_0x2aa6('0x50'),'content':_0x1ee9de(_0x3c196f,_0x2aa6('0x87'),_0x1ee9de(_0x3c196f,_0x2aa6('0x15'),[_0x3512a1,'\x22'+_0x1062ca[_0x2aa6('0x8b')]('\x20')+'\x22']))}:{'type':_0x2aa6('0x50'),'content':_0x1ee9de(_0x3c196f,_0x2aa6('0x87'),_0x1ee9de(_0x3c196f,'ELEMENT_TABLE_ROW',_0x3512a1))};}if(_0x2aa6('0x77')==_0x4466fd[_0x2aa6('0x60')]){const _0x43f13e=_0x4466fd[_0x2aa6('0x20')]()[_0x2aa6('0x7d')](_0x294574=>_0x294574['is']('$textProxy'))[_0x2aa6('0x42')](_0x446841=>_0x446841[_0x2aa6('0x31')]),_0x40a70e=this[_0x2aa6('0xf')](_0x4466fd),_0x323b42=_0x40a70e['maxColumn']-_0x40a70e[_0x2aa6('0x85')]+0x1;if('insertion'==_0x4466fd[_0x2aa6('0x65')])return _0x43f13e[_0x2aa6('0xb')]?{'type':_0x2aa6('0x34'),'content':_0x1ee9de(_0x3c196f,'*Insert:*\x20%0',_0x1ee9de(_0x3c196f,_0x2aa6('0x27'),[_0x323b42,'\x22'+_0x43f13e['join']('\x20')+'\x22']))}:{'type':_0x2aa6('0x34'),'content':_0x1ee9de(_0x3c196f,_0x2aa6('0x6a'),_0x1ee9de(_0x3c196f,'ELEMENT_TABLE_COLUMN',_0x323b42))};if(_0x2aa6('0x50')==_0x4466fd[_0x2aa6('0x65')])return _0x43f13e[_0x2aa6('0xb')]?{'type':_0x2aa6('0x50'),'content':_0x1ee9de(_0x3c196f,'*Remove:*\x20%0',_0x1ee9de(_0x3c196f,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x323b42,'\x22'+_0x43f13e[_0x2aa6('0x8b')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x1ee9de(_0x3c196f,_0x2aa6('0x87'),_0x1ee9de(_0x3c196f,_0x2aa6('0x19'),_0x323b42))};}}),_0x305d91['_suggestionFactory'][_0x2aa6('0x49')]('insertion',_0x2aa6('0x80'),_0x2aa6('0x74'),_0x4f117d),_0x305d91[_0x2aa6('0x75')]['registerCustomCallback']('deletion',_0x2aa6('0x80'),_0x2aa6('0x23'),_0x4f117d),_0x305d91[_0x2aa6('0x75')][_0x2aa6('0x49')](_0x2aa6('0x34'),_0x2aa6('0x77'),_0x2aa6('0x74'),_0x2f3876),_0x305d91[_0x2aa6('0x75')]['registerCustomCallback'](_0x2aa6('0x50'),_0x2aa6('0x77'),_0x2aa6('0x23'),_0x2f3876),_0x305d91[_0x2aa6('0x75')][_0x2aa6('0x49')](_0x2aa6('0x34'),_0x2aa6('0x77'),_0x2aa6('0x8b'),_0x4e947b),_0x305d91[_0x2aa6('0x75')][_0x2aa6('0x49')]('deletion',_0x2aa6('0x77'),'join',_0x4e947b),_0x305d91[_0x2aa6('0x75')][_0x2aa6('0x49')](_0x2aa6('0x34'),_0x2aa6('0x80'),'join',_0x5ad9a5),_0x305d91[_0x2aa6('0x75')][_0x2aa6('0x49')](_0x2aa6('0x50'),_0x2aa6('0x80'),_0x2aa6('0x8b'),_0x5ad9a5);}[_0x2aa6('0x64')](){const _0x2c5585=this['editor'],_0x56a633=_0x2c5585[_0x2aa6('0x0')]['document']['selection'];return(_0x397d49,_0x24eb28)=>{_0x2c5585[_0x2aa6('0x0')][_0x2aa6('0x79')](_0x3ed772=>{const {commandName:_0x38e45d,commandParams:_0x430468}=_0x24eb28;let _0x24922b=_0x397d49[0x0]['end']['nodeBefore'];_0x430468&&_0x430468[0x0]&&!0x1===_0x430468[0x0][_0x2aa6('0x21')]&&(_0x24922b=_0x397d49[0x0]['start'][_0x2aa6('0x36')]);const _0x1842ca=_0x3ed772['createRangeIn'](_0x24922b);if(_0x2aa6('0x4b')==_0x1842ca[_0x2aa6('0x7c')]['rootName'])return;const _0x544e32=Array[_0x2aa6('0xe')](_0x56a633[_0x2aa6('0x4f')]())[_0x2aa6('0x42')](_0xdd2452=>_0x3f0f3b['fromRange'](_0xdd2452));_0x3ed772[_0x2aa6('0x5d')](_0x1842ca),_0x2c5585[_0x2aa6('0x3e')][_0x2aa6('0x16')](_0x38e45d)[_0x2aa6('0x1c')](),_0x430468[_0x2aa6('0x66')]({'forceDefaultExecution':!0x0}),_0x2c5585[_0x2aa6('0x18')](_0x38e45d,..._0x430468);const _0x1059ed=_0x544e32[_0x2aa6('0x7d')](_0x25dcb4=>_0x2aa6('0x4b')!=_0x25dcb4[_0x2aa6('0x7c')][_0x2aa6('0x84')]);_0x1059ed[_0x2aa6('0xb')]>0x0&&_0x3ed772[_0x2aa6('0x5d')](_0x1059ed);for(const _0x39a926 of _0x544e32)_0x39a926[_0x2aa6('0x6b')]();});};}[_0x2aa6('0x32')](_0x4bffc3){const _0x3c4f03=this[_0x2aa6('0x53')][_0x2aa6('0x63')][_0x2aa6('0x16')](_0x2aa6('0x7a'));let _0x11551f=Number[_0x2aa6('0x7e')],_0x1b9953=Number[_0x2aa6('0x41')],_0x1d9e88=Number[_0x2aa6('0x7e')],_0x443847=Number['MIN_SAFE_INTEGER'];for(const _0x26e85e of _0x4bffc3){if('$graveyard'==_0x26e85e['root']['rootName'])continue;const {row:_0x39ec8a,column:_0xdf8a93}=_0x3c4f03[_0x2aa6('0x5')](_0x26e85e),_0x5e2698=_0x26e85e[_0x2aa6('0x26')](_0x2aa6('0x73'))?_0x26e85e[_0x2aa6('0x13')](_0x2aa6('0x73'))-0x1:0x0,_0x237549=_0x26e85e[_0x2aa6('0x26')](_0x2aa6('0x1f'))?_0x26e85e['getAttribute'](_0x2aa6('0x1f'))-0x1:0x0;_0x11551f=_0x39ec8a<_0x11551f?_0x39ec8a:_0x11551f,_0x1b9953=_0x39ec8a+_0x5e2698>_0x1b9953?_0x39ec8a+_0x5e2698:_0x1b9953,_0x1d9e88=_0xdf8a93<_0x1d9e88?_0xdf8a93:_0x1d9e88,_0x443847=_0xdf8a93+_0x237549>_0x443847?_0xdf8a93+_0x237549:_0x443847;}return{'minRow':_0x11551f,'maxRow':_0x1b9953,'minColumn':_0x1d9e88,'maxColumn':_0x443847};}['_setupColumnsRowsFixing'](){const _0xe4e501=this['editor'],_0x5952d6=_0xe4e501['plugins'][_0x2aa6('0x16')]('TrackChangesEditing'),_0x9729f3=_0xe4e501[_0x2aa6('0x63')]['get'](_0x2aa6('0x7a'));_0xe4e501[_0x2aa6('0x0')][_0x2aa6('0x3b')]['on'](_0x2aa6('0x28'),()=>{const _0x25982f=Array[_0x2aa6('0xe')](_0xe4e501[_0x2aa6('0x0')][_0x2aa6('0x3b')][_0x2aa6('0x8a')][_0x2aa6('0x7')]());for(const {name:_0x30bd56,data:_0x8c209e}of _0x25982f){const {group:_0x27831a,id:_0x5b66ec,subType:_0x4eccef}=_0x5952d6[_0x2aa6('0x4e')](_0x30bd56);if('suggestion'!=_0x27831a)continue;if(null!=_0x8c209e[_0x2aa6('0x3')])continue;const _0x4b10f1=_0x5952d6[_0x2aa6('0x58')](_0x5b66ec);this[_0x2aa6('0x62')][_0x2aa6('0x39')](_0x4eccef)&&this[_0x2aa6('0x2a')][_0x2aa6('0x88')](_0x4b10f1);}},{'priority':_0x2aa6('0x35')});const _0x22ce35=(_0x4ab66a,_0x214361)=>{let _0x3a9101=!0x1;const _0x4abe65=_0x214361[_0x2aa6('0x33')](_0x4ab66a),_0x306313=_0x4ab66a[_0x2aa6('0x47')](_0x2aa6('0xc')),_0x341e96=_0x9729f3[_0x2aa6('0x5')](_0x4ab66a);for(const _0x4e8620 of this[_0x2aa6('0x2a')]){const _0x5f4237=_0x4e8620[_0x2aa6('0x60')],_0x19ab50=_0x5f4237[_0x2aa6('0x12')](_0x2aa6('0x4c')),_0x1905ca=_0x5f4237[_0x2aa6('0x5b')](_0x19ab50?0xa:0x5),_0x358c78=_0x1905ca[_0x2aa6('0x11')](),_0x209bb1=_0x358c78[_0x2aa6('0x5b')](0x0,0x3)+_0x2aa6('0x68'),_0xc4e0b9='min'+_0x1905ca,_0x27cb4d=_0x2aa6('0x57')+_0x1905ca;if(!_0x4e8620[_0x2aa6('0x1d')])continue;if(_0x306313!=_0x4e8620[_0x2aa6('0x2b')]()[_0x2aa6('0x17')][_0x2aa6('0x47')](_0x2aa6('0xc')))continue;if(_0x4e8620['isIntersectingWithRange'](_0x4abe65))continue;const _0x24b602=_0x4ab66a['hasAttribute'](_0x209bb1)?_0x4ab66a[_0x2aa6('0x13')](_0x209bb1)-0x1:0x0,_0x2cc74d=this[_0x2aa6('0xf')](_0x4e8620),_0x384c0c=_0x2cc74d[_0xc4e0b9],_0x502a1b=_0x2cc74d[_0x27cb4d];_0x384c0c<=_0x341e96[_0x358c78]&&_0x341e96[_0x358c78]+_0x24b602<=_0x502a1b&&(_0x4e8620[_0x2aa6('0x55')](_0x4abe65),_0x3a9101=!0x0);}return _0x3a9101;};_0xe4e501[_0x2aa6('0x0')]['document'][_0x2aa6('0x5f')](_0x219c82=>{let _0x34ba88=!0x1;for(const _0x212177 of _0xe4e501['model'][_0x2aa6('0x3b')]['differ'][_0x2aa6('0x30')]())if(_0x2aa6('0x76')==_0x212177[_0x2aa6('0x65')]){if(_0x2aa6('0x80')==_0x212177['name'])for(const _0x2b1c75 of _0x212177['position']['nodeAfter'][_0x2aa6('0x71')]())_0x34ba88=_0x34ba88||_0x22ce35(_0x2b1c75,_0x219c82);else _0x2aa6('0x29')==_0x212177[_0x2aa6('0x37')]&&(_0x34ba88=_0x34ba88||_0x22ce35(_0x212177[_0x2aa6('0x67')]['nodeAfter'],_0x219c82));}return _0x34ba88;});}['_getSuggestionCoords'](_0x1787a2){return this[_0x2aa6('0x32')](_0x1787a2['getRanges']()[_0x2aa6('0x42')](_0xa0a5e6=>_0xa0a5e6[_0x2aa6('0x17')][_0x2aa6('0x36')]));}}function se(_0x50c269){return Array[_0x2aa6('0xe')](new Set(_0x50c269)[_0x2aa6('0xa')]());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4781=['requires','plugins','afterInit','enableCommand','has','TrackChangesEditing','editor'];(function(_0x260107,_0x4781e0){const _0x37a1ff=function(_0x365da1){while(--_0x365da1){_0x260107['push'](_0x260107['shift']());}};_0x37a1ff(++_0x4781e0);}(_0x4781,0x103));const _0x37a1=function(_0x260107,_0x4781e0){_0x260107=_0x260107-0x0;let _0x37a1ff=_0x4781[_0x260107];return _0x37a1ff;};import{Plugin as _0x224863}from'ckeditor5/src/core';import _0x2d50cb from'./table';export default class vt extends _0x224863{static get[_0x37a1('0x0')](){return[_0x2d50cb];}[_0x37a1('0x2')](){const _0x172250=this[_0x37a1('0x6')];if(!_0x172250['plugins'][_0x37a1('0x4')]('TableCaptionEditing'))return;_0x172250[_0x37a1('0x1')]['get'](_0x37a1('0x5'))[_0x37a1('0x3')]('toggleTableCaption');}}
23
+ const _0x50b5=['TrackChangesEditing','has','editor','requires','afterInit','toggleTableCaption','get'];(function(_0x2c32cc,_0x50b517){const _0x350664=function(_0x2b3d71){while(--_0x2b3d71){_0x2c32cc['push'](_0x2c32cc['shift']());}};_0x350664(++_0x50b517);}(_0x50b5,0x11d));const _0x3506=function(_0x2c32cc,_0x50b517){_0x2c32cc=_0x2c32cc-0x0;let _0x350664=_0x50b5[_0x2c32cc];return _0x350664;};import{Plugin as _0x5ed690}from'ckeditor5/src/core';import _0x5ef0fe from'./table';export default class vt extends _0x5ed690{static get[_0x3506('0x5')](){return[_0x5ef0fe];}[_0x3506('0x6')](){const _0xe7c2f9=this[_0x3506('0x4')];if(!_0xe7c2f9['plugins'][_0x3506('0x3')]('TableCaptionEditing'))return;_0xe7c2f9['plugins'][_0x3506('0x1')](_0x3506('0x2'))['enableCommand'](_0x3506('0x0'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x58c4=['getSuggestionCallback','reduce','showSuggestionHighlights','find','getSelectionAffectedTableCells','previous','commands','newRange','getRange','push','getMarkers','tableCellBorderStyle','tablePasteColumn','author','registerCustomCallback','getChildren','$graveyard','insertion','forceDefaultExecution','getChanges','accept','requires','last','options','has','_suggestionFactory','tablePasteRow','first','_tablePostFixingSubtypes','insertRows','*Replace\x20table\x20cells*','previousSibling','getContainedElement','nextSibling','listenTo','insertContent','tablePaste','tableCellBorderWidth','_getCoordsForCells','suggestion-td','differ','getChild','registerPostFixer','_isForcedDefaultExecutionBlock','map','_descriptionFactory','unwrap','deletion','rowInsertionRanges','hasSuggestion','markerAttributes','from','every','add','paragraph','isEqual','high','stop','isEmpty','trackChanges','content','selection','row','wrap','attributes','suggestion:formatBlock:tablePasteCell','end','rowInsertionIndexes','includes','markMultiRangeBlockFormat','createRangeOn','document','schema','startsWith','markers','getRows','createRangeIn','getShiftedBy','plugins','markMultiRangeInsertion','insert','tableCellBorderColor','cells','filter','tableCellVerticalAlignment','containsRange','root','value','getRowIndexes','TableClipboard','change','remove','tableCellHorizontalAlignment','getAttributes','getRanges','tableCell','oldRange','removeMarkers','TrackChangesEditing','subType','markMultiRangeDeletion','nodeAfter','discard','formatBlock','locale','_replaceTableSlotCell','endColumn','fill','createRange','join','conversion','rootName','markerName','entries','rows','start','name','getAllAdjacentSuggestions','ck-suggestion-marker--active','length','tableCellPadding','isInContent','TableUtils','setAttribute','endRow','tablePasteCell','removeRows','type','removeMarker','suggestionLoaded','columns','columnInsertionIndexes','registerDescriptionCallback','return','position','findAncestor','_splitMarkerName','table','_createdBatches','editor','tableCellSuggestion','for','batch','getColumnIndexes','fromEntries','model','ck-suggestion-marker-insertion','suggestion','clipboardOutput','dataDowncast','get','set','afterInit','low','insertColumns','tablePasteChainId','Users','createElement','redo','getSuggestions','element','createTableWalker','activeMarkers'];(function(_0x1f8496,_0x58c4e2){const _0x557510=function(_0x3903a9){while(--_0x3903a9){_0x1f8496['push'](_0x1f8496['shift']());}};_0x557510(++_0x58c4e2);}(_0x58c4,0x6c));const _0x5575=function(_0x1f8496,_0x58c4e2){_0x1f8496=_0x1f8496-0x0;let _0x557510=_0x58c4[_0x1f8496];return _0x557510;};import{getTranslation as _0x1dc82b}from'../utils/common-translations';import{Plugin as _0x25d824}from'ckeditor5/src/core';import{uid as _0x371642,priorities as _0x1c61d3}from'ckeditor5/src/utils';import _0x3f6e2e from'./table';const le=[_0x5575('0x5c'),_0x5575('0x88'),_0x5575('0x42'),_0x5575('0x93'),_0x5575('0x8b'),'tableCellBackgroundColor',_0x5575('0xc')],ae=Object[_0x5575('0x24')](le[_0x5575('0x63')](_0x54d09d=>[_0x54d09d,null]));export default class kt extends _0x25d824{static get[_0x5575('0x4c')](){return[_0x3f6e2e];}[_0x5575('0x2c')](){const _0x5b1741=this[_0x5575('0x1f')];if(!_0x5b1741[_0x5575('0x85')][_0x5575('0x4f')](_0x5575('0x90')))return;const _0x32ce78=_0x5b1741[_0x5575('0x85')]['get'](_0x5575('0x99')),_0x31fdca=_0x5b1741[_0x5575('0x85')][_0x5575('0x2a')](_0x5575('0xe')),_0x1c8e81=_0x5b1741[_0x5575('0x85')][_0x5575('0x2a')](_0x3f6e2e),_0x4d7a51=_0x5b1741[_0x5575('0x85')][_0x5575('0x2a')](_0x5575('0x90'));_0x1c8e81[_0x5575('0x53')][_0x5575('0x40')]('tablePasteRow',_0x5575('0x43')),_0x5b1741['model'][_0x5575('0x7f')]['register'](_0x5575('0x20'),{'allowIn':'tableCell','allowContentOf':_0x5575('0x96'),'isLimit':!0x0}),_0x5b1741[_0x5575('0x2')]['elementToElement']({'model':'tableCellSuggestion','view':'suggestion-td'});let _0x2a3312=null;_0x5b1741[_0x5575('0x25')]['on'](_0x5575('0x5a'),(_0x44ef6a,_0x1e5267)=>{const [_0x297387,_0x547bce]=_0x1e5267,_0x5ec7fe=_0x1e5267[_0x1e5267[_0x5575('0xb')]-0x1];_0x5ec7fe&&_0x5ec7fe[_0x5575('0x49')]||_0x32ce78[_0x5575('0x62')]||this[_0x5575('0x1f')][_0x5575('0x3d')][_0x5575('0x2a')](_0x5575('0x72'))[_0x5575('0x8e')]&&function(_0x4d92f0,_0x314267,_0x182dd0,_0x287c44,_0x400df4){if(_0x314267&&!_0x314267['is']('documentSelection'))return!0x1;const _0x17583f=_0x400df4['getTableIfOnlyTableInContent'](_0x4d92f0,_0x182dd0);if(!_0x17583f||!fe(_0x17583f,void 0x0,_0x287c44))return!0x1;const _0x2880fb=_0x287c44[_0x5575('0x3b')](_0x182dd0['document'][_0x5575('0x74')]);if(!_0x2880fb[_0x5575('0xb')])return!0x1;const _0x137b8e=_0x2880fb[0x0]['findAncestor'](_0x5575('0x1d')),_0x6894ee=_0x287c44[_0x5575('0x8f')](_0x2880fb),_0x42c60a=_0x287c44[_0x5575('0x23')](_0x2880fb),_0x136116={'startRow':_0x6894ee['first'],'endRow':_0x6894ee[_0x5575('0x4d')],'startColumn':_0x42c60a[_0x5575('0x52')],'endColumn':_0x42c60a[_0x5575('0x4d')]};return 0x1==_0x2880fb['length']&&(_0x136116[_0x5575('0x10')]+=_0x287c44[_0x5575('0x82')](_0x17583f)-0x1,_0x136116[_0x5575('0xa1')]+=_0x287c44['getColumns'](_0x17583f)-0x1),fe(_0x137b8e,_0x136116,_0x287c44);}(_0x297387,_0x547bce,_0x5b1741[_0x5575('0x25')],_0x31fdca,_0x4d7a51)&&(_0x44ef6a[_0x5575('0x70')](),_0x2a3312={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x5b1741[_0x5575('0x25')][_0x5575('0x91')](()=>{_0x5b1741['model'][_0x5575('0x5a')](_0x1e5267[0x0],_0x1e5267[0x1],_0x1e5267[0x2],{'forceDefaultExecution':!0x0});const _0x548c07=_0x371642(),{rowInsertionRanges:_0x2c25ae,columnInsertionRanges:_0x3fbbf7,insertionRanges:_0x3e6ee5,deletionRanges:_0x5de073,cells:_0x455559}=_0x2a3312;_0x2c25ae[_0x5575('0xb')]&&_0x32ce78[_0x5575('0x86')](_0x2c25ae,_0x5575('0x51'),{'tablePasteChainId':_0x548c07}),_0x3fbbf7['length']&&_0x32ce78[_0x5575('0x86')](_0x3fbbf7,_0x5575('0x43'),{'tablePasteChainId':_0x548c07}),_0x3e6ee5[_0x5575('0xb')]&&_0x32ce78[_0x5575('0x86')](_0x3e6ee5,'tablePaste',{'tablePasteChainId':_0x548c07,'skipNestingCheck':!0x0}),_0x5de073['length']&&_0x32ce78[_0x5575('0x9b')](_0x5de073,_0x5575('0x5b'),{'tablePasteChainId':_0x548c07,'skipNestingCheck':!0x0});const _0xb84538=_0x32ce78[_0x5575('0x7c')](_0x455559[_0x5575('0x63')](({element:_0x266b75})=>_0x266b75),{'formatGroupId':_0x371642()},[],_0x5575('0x11'),{'tablePasteChainId':_0x548c07});if(_0xb84538){const _0x58a3b1=_0xb84538[_0x5575('0x41')](),_0x17abdd=[];for(const {element:_0x3f61b5,attributes:_0x30e27f}of _0x455559){if(!_0x30e27f)continue;const _0xb4238a=_0x5b1741['model']['createRangeOn'](_0x3f61b5),_0x349c5a=_0x58a3b1['find'](_0x3df3bd=>_0x3df3bd[_0x5575('0x3f')]()[_0x5575('0x6e')](_0xb4238a));_0x349c5a&&_0x17abdd[_0x5575('0x40')]([_0x349c5a[_0x5575('0x8')],_0x30e27f]);}_0x17abdd[_0x5575('0xb')]&&_0xb84538[_0x5575('0xf')]('markerAttributes',Object[_0x5575('0x24')](_0x17abdd));}_0x2a3312=null;}));},{'priority':_0x1c61d3[_0x5575('0x6f')]+0xa}),_0x5b1741[_0x5575('0x85')][_0x5575('0x2a')](_0x5575('0x90'))['on'](_0x5575('0xa0'),(_0x4900e4,_0xb00ec3)=>{const [_0x8b904,_0x561ebb,,_0x510539]=_0xb00ec3;if(!_0x2a3312)return;_0x4900e4[_0x5575('0x70')]();const _0x3c9712=_0x8b904['cell'],_0x3389ad=_0x561ebb,_0x5b937c=ce(_0x3c9712),_0x41f59f=ce(_0x3389ad);_0x4900e4[_0x5575('0x19')]=_0x3c9712;let _0xe5d3f2=null,_0x25a517=null;if(_0x41f59f||_0x5b937c){if(_0x5b937c&&!_0x41f59f){_0x510539[_0x5575('0x92')](_0x3c9712[_0x5575('0x60')](0x0));for(const _0x12b32b of Array[_0x5575('0x6a')](_0x3389ad['getChildren']()))_0x510539[_0x5575('0x87')](_0x12b32b,_0x3c9712,_0x5575('0x79'));const _0x4b1046=_0x2a3312['rowInsertionIndexes'][_0x5575('0x7b')](_0x8b904[_0x5575('0x75')]),_0x112b5a=_0x2a3312['columnInsertionIndexes'][_0x5575('0x7b')](_0x8b904['column']);_0x4b1046||_0x112b5a||(_0xe5d3f2=_0x510539[_0x5575('0x83')](_0x3c9712));}else _0x41f59f&&!_0x5b937c&&(_0x25a517=_0x510539[_0x5575('0x83')](_0x3c9712));}else{const _0x498ee3=_0x510539['createElement'](_0x5575('0x20')),_0x84e26c=_0x510539[_0x5575('0x31')](_0x5575('0x20'));_0x510539[_0x5575('0x76')](_0x510539[_0x5575('0x83')](_0x3c9712),_0x84e26c),_0x510539[_0x5575('0x87')](_0x498ee3,_0x3c9712,0x0);for(const _0x5cb5ed of Array[_0x5575('0x6a')](_0x3389ad[_0x5575('0x46')]()))_0x510539['insert'](_0x5cb5ed,_0x498ee3,'end');_0xe5d3f2=_0x510539[_0x5575('0x7d')](_0x498ee3),_0x25a517=_0x510539['createRangeOn'](_0x84e26c);}const _0x10ea10=Array['from'](_0x3389ad[_0x5575('0x94')]())['filter'](([_0x2695d9])=>le[_0x5575('0x7b')](_0x2695d9));_0x2a3312[_0x5575('0x89')][_0x5575('0x40')]({'element':_0x3c9712,'attributes':_0x10ea10[_0x5575('0xb')]?Object[_0x5575('0x24')](_0x10ea10):null}),_0xe5d3f2&&_0x2a3312['insertionRanges']['push'](_0xe5d3f2),_0x25a517&&_0x2a3312['deletionRanges'][_0x5575('0x40')](_0x25a517);},{'priority':_0x5575('0x6f')}),_0x31fdca['on'](_0x5575('0x2e'),(_0x444694,_0x55e724)=>{const [_0x2ee73b,_0x18376d={}]=_0x55e724;if(!_0x2a3312)return;const _0x520c8f=_0x18376d['at']||0x0,_0x36ddd2=_0x18376d[_0x5575('0x16')]||0x1;_0x2a3312[_0x5575('0x17')]=new Array(_0x36ddd2)[_0x5575('0xa2')](_0x520c8f)[_0x5575('0x63')]((_0x4ec659,_0x7893ac)=>_0x4ec659+_0x7893ac);for(const {cell:_0x57afd2}of _0x31fdca[_0x5575('0x35')](_0x2ee73b,{'startColumn':_0x520c8f,'endColumn':_0x520c8f+_0x36ddd2-0x1}))_0x2a3312['columnInsertionRanges'][_0x5575('0x40')](_0x5b1741['model'][_0x5575('0x7d')](_0x57afd2));},{'priority':_0x5575('0x2d')}),_0x31fdca['on'](_0x5575('0x54'),(_0x1825c0,_0x15d903)=>{const [_0x2effb2,_0x237b0d={}]=_0x15d903;if(!_0x2a3312)return;const _0xfa4b3c=_0x237b0d['at']||0x0,_0x74c664=_0x237b0d[_0x5575('0x6')]||0x1;_0x2a3312[_0x5575('0x7a')]=new Array(_0x74c664)[_0x5575('0xa2')](_0xfa4b3c)['map']((_0x448297,_0x2bd4f7)=>_0x448297+_0x2bd4f7);for(const {cell:_0x52c47b}of _0x31fdca['createTableWalker'](_0x2effb2,{'startRow':_0xfa4b3c,'endRow':_0xfa4b3c+_0x74c664-0x1}))_0x2a3312[_0x5575('0x67')]['push'](_0x5b1741['model'][_0x5575('0x7d')](_0x52c47b));},{'priority':_0x5575('0x2d')}),_0x32ce78[_0x5575('0x64')][_0x5575('0x18')](_0x256ea2=>{if(_0x256ea2['subType']&&_0x256ea2['subType'][_0x5575('0x80')]('tablePaste'))return _0x256ea2[_0x5575('0x3c')]?{}:{'type':_0x5575('0x48'),'content':_0x1dc82b(_0x5b1741[_0x5575('0x9f')],_0x5575('0x55'))};});const _0x210f2f=()=>{};for(const _0x4651c3 of[_0x5575('0x5b'),_0x5575('0x43'),_0x5575('0x51'),_0x5575('0x11')])_0x32ce78['_suggestionFactory'][_0x5575('0x45')](_0x5575('0x48'),_0x4651c3,_0x5575('0x1'),_0x210f2f),_0x32ce78['_suggestionFactory'][_0x5575('0x45')](_0x5575('0x66'),_0x4651c3,'join',_0x210f2f);_0x32ce78['_suggestionFactory'][_0x5575('0x45')](_0x5575('0x9e'),'tablePasteCell',_0x5575('0x9d'),_0x210f2f),_0x32ce78[_0x5575('0x50')][_0x5575('0x45')]('formatBlock',_0x5575('0x11'),_0x5575('0x4b'),(_0x56b2c1,_0xa5c555,_0x5ee901)=>{const _0x4f8efa=_0x56b2c1[_0x5575('0x63')](_0x39c24f=>_0x39c24f[_0x5575('0x57')]())[_0x5575('0x8a')](_0x2652a0=>_0x2652a0),_0x3203a2=new Map(_0x4f8efa['map'](_0x31d5b3=>[_0x31d5b3,null]));if(_0x2a3312)for(const {element:_0x2a45bc,attributes:_0x4ec587}of _0x2a3312[_0x5575('0x89')])_0x4ec587&&_0x3203a2['set'](_0x2a45bc,_0x4ec587);else{if(_0x5ee901&&_0x5ee901['markerAttributes'])for(const [_0x4f9376,_0x41aec8]of Object[_0x5575('0x5')](_0x5ee901[_0x5575('0x69')])){const _0xf02d35=_0x5b1741[_0x5575('0x25')][_0x5575('0x81')][_0x5575('0x2a')](_0x4f9376),_0x270e09=_0xf02d35?_0xf02d35[_0x5575('0x3f')]()[_0x5575('0x57')]():null;_0x270e09&&_0x3203a2[_0x5575('0x2b')](_0x270e09,_0x41aec8);}}_0x5b1741['model'][_0x5575('0x91')](_0x54695b=>{for(const [_0x3472d1,_0x2bd0f7]of _0x3203a2)_0x54695b['setAttributes']({...ae,..._0x2bd0f7},_0x3472d1);});});const _0x433c83=(_0x37c453,_0x3a44de)=>{_0x32ce78['_suggestionFactory'][_0x5575('0x45')](_0x37c453,_0x5575('0x5b'),_0x3a44de,(_0x4553ef,_0xeed8d,_0x511a2d)=>{_0x5b1741[_0x5575('0x25')][_0x5575('0x91')](_0x4f66c1=>{const _0x221385=[];for(const _0x23c251 of _0x4553ef){const _0x318689=_0x23c251[_0x5575('0x7')][_0x5575('0x9c')];_0x318689['is']('element',_0x5575('0x20'))&&_0x221385[_0x5575('0x40')](_0x318689);}_0x32ce78[_0x5575('0x50')][_0x5575('0x37')](_0x37c453,null,_0x3a44de)(_0x4553ef,_0xeed8d,_0x511a2d);for(const _0x3fe12f of _0x221385)_0x5575('0x47')!=_0x3fe12f[_0x5575('0x8d')][_0x5575('0x3')]&&_0x4f66c1[_0x5575('0x65')](_0x3fe12f);});});};_0x433c83('insertion',_0x5575('0x4b')),_0x433c83(_0x5575('0x48'),_0x5575('0x9d')),_0x433c83(_0x5575('0x66'),_0x5575('0x4b')),_0x433c83('deletion',_0x5575('0x9d')),_0x32ce78[_0x5575('0x50')][_0x5575('0x45')](_0x5575('0x48'),'tablePasteRow','discard',_0xf6580d=>{const _0x1607b5=_0xf6580d[_0x5575('0x63')](_0x58611c=>_0x58611c['getContainedElement']()),_0x29cabd=_0x1607b5[0x0][_0x5575('0x1b')]('table'),{minRow:_0x2b6b3f,maxRow:_0x5de618}=_0x1c8e81['_getCoordsForCells'](_0x1607b5);_0x31fdca[_0x5575('0x12')](_0x29cabd,{'at':_0x2b6b3f,'rows':_0x5de618-_0x2b6b3f+0x1});}),_0x32ce78['_suggestionFactory'][_0x5575('0x45')](_0x5575('0x48'),'tablePasteColumn',_0x5575('0x9d'),_0x1ba3cd=>{const _0x4da596=_0x1ba3cd['map'](_0x543bb5=>_0x543bb5[_0x5575('0x57')]()),_0x14247f=_0x4da596[0x0][_0x5575('0x1b')]('table'),{minColumn:_0x482a87,maxColumn:_0xc289ae}=_0x1c8e81[_0x5575('0x5d')](_0x4da596);_0x31fdca['removeColumns'](_0x14247f,{'at':_0x482a87,'columns':_0xc289ae-_0x482a87+0x1});});const _0x1cb7d5=(_0x131b79,_0x18993a)=>{if(!_0x18993a[_0x5575('0x9a')]||!_0x18993a[_0x5575('0x9a')][_0x5575('0x80')]('tablePaste'))return;const _0x447b7b=_0x18993a[_0x5575('0x77')][_0x5575('0x2f')],_0x23c0fa=_0x32ce78[_0x5575('0x33')]()[_0x5575('0x8a')](_0x157306=>_0x157306[_0x5575('0xd')]&&_0x157306[_0x5575('0x77')]&&_0x157306[_0x5575('0x77')][_0x5575('0x2f')]==_0x447b7b);_0x23c0fa[_0x5575('0xb')]&&_0x18993a[_0x5575('0x9')]()['length']!=_0x23c0fa[_0x5575('0xb')]&&_0x23c0fa[_0x5575('0x38')]((_0xc07be6,_0x28ce06)=>(_0xc07be6['next']=_0x28ce06,_0x28ce06[_0x5575('0x3c')]=_0xc07be6,_0x28ce06));};function _0x4d8374(_0x107a36,_0x3b6fad=!0x0){const {id:_0x26f2d5}=_0x32ce78[_0x5575('0x1c')](_0x107a36[_0x5575('0x4')]),_0x22771d=['ck-suggestion-marker',_0x5575('0x26')],_0xdaf394=_0x32ce78[_0x5575('0x36')][_0x5575('0x7b')](_0x107a36[_0x5575('0x4')]);return _0xdaf394&&_0x22771d[_0x5575('0x40')](_0x5575('0xa')),{'classes':_0x22771d,'attributes':{'data-suggestion':_0x26f2d5},'priority':_0xdaf394&&_0x3b6fad?0xbc2:0xbb8};}_0x32ce78['on'](_0x5575('0x15'),_0x1cb7d5,{'priority':'high'}),_0x32ce78['on']('suggestionUnloaded',_0x1cb7d5,{'priority':'high'}),_0x5b1741[_0x5575('0x25')][_0x5575('0x7e')]['registerPostFixer'](()=>{let _0x538f6b=!0x1;const _0x5a42b3=Array[_0x5575('0x6a')](_0x5b1741['model'][_0x5575('0x7e')][_0x5575('0x5f')]['getChangedMarkers']());for(const {name:_0x3b6ddb,data:_0x481443}of _0x5a42b3){const {group:_0x2d7349,type:_0x43715a,id:_0x49c288}=_0x32ce78[_0x5575('0x1c')](_0x3b6ddb);if(_0x5575('0x27')!=_0x2d7349||'deletion'!=_0x43715a||_0x481443[_0x5575('0x97')])continue;if(!_0x32ce78[_0x5575('0x68')](_0x49c288))continue;const _0x10c91d=_0x32ce78['getSuggestion'](_0x49c288)[_0x5575('0x95')](),_0x2b3e02=_0x5b1741['plugins'][_0x5575('0x2a')](_0x5575('0x30'))['me'];for(const _0x1b5d4f of _0x32ce78[_0x5575('0x33')]()){if(!_0x1b5d4f[_0x5575('0xd')]||_0x1b5d4f[_0x5575('0x44')]!=_0x2b3e02)continue;if(_0x5575('0x9e')!=_0x1b5d4f[_0x5575('0x13')]||_0x5575('0x11')!=_0x1b5d4f['subType'])continue;if(_0x1b5d4f[_0x5575('0x95')]()[_0x5575('0x6b')](_0x1ee12b=>_0x10c91d['some'](_0x3b6da7=>_0x3b6da7[_0x5575('0x8c')](_0x1ee12b,!0x0))))for(const _0xc50829 of _0x1b5d4f[_0x5575('0x9')]())_0xc50829[_0x5575('0xd')]&&(_0xc50829[_0x5575('0x9d')](),_0x538f6b=!0x0);}}return _0x538f6b;}),_0x5b1741[_0x5575('0x25')][_0x5575('0x7e')][_0x5575('0x61')](_0x530119=>{const _0x260bfc=_0x5b1741[_0x5575('0x3d')][_0x5575('0x2a')](_0x5575('0x32'));if(!_0x260bfc||!_0x260bfc[_0x5575('0x1e')][_0x5575('0x4f')](_0x530119[_0x5575('0x22')]))return!0x1;let _0x471a7b=!0x1;const _0x2a1bac=_0x5b1741['plugins'][_0x5575('0x2a')]('Users')['me'],_0x59bf43=_0x5b1741[_0x5575('0x25')][_0x5575('0x7e')][_0x5575('0x5f')][_0x5575('0x4a')](),_0x43f5fb=Array[_0x5575('0x6a')](_0x5b1741['model'][_0x5575('0x7e')][_0x5575('0x5f')]['getChangedMarkers']())[_0x5575('0x8a')](({name:_0x39e560,data:_0x3b7b18})=>{const {group:_0x15cd9f,subType:_0x33b040,authorId:_0x10433b}=_0x32ce78[_0x5575('0x1c')](_0x39e560);return _0x5575('0x27')==_0x15cd9f&&_0x5575('0x5b')==_0x33b040&&_0x10433b==_0x2a1bac['id']&&!_0x3b7b18[_0x5575('0x97')];});for(const _0xdd4302 of _0x59bf43){if('insert'!=_0xdd4302['type']||_0x5575('0x20')!=_0xdd4302['name']||0x1!=_0xdd4302[_0x5575('0xb')])continue;const _0x213ad8=_0x530119[_0x5575('0x0')](_0xdd4302[_0x5575('0x1a')],_0xdd4302[_0x5575('0x1a')][_0x5575('0x84')](0x1));if(!_0x43f5fb[_0x5575('0x3a')](({data:_0xddc42b})=>_0xddc42b[_0x5575('0x3e')][_0x5575('0x6e')](_0x213ad8)))for(const {name:_0x2ad6e5,data:_0x1b6b25}of _0x43f5fb)if(_0x213ad8[_0x5575('0x8c')](_0x1b6b25[_0x5575('0x3e')])){_0x530119['updateMarker'](_0x2ad6e5,{'range':_0x213ad8}),_0x471a7b=!0x0;break;}}return _0x471a7b;}),_0x5b1741[_0x5575('0x25')]['document'][_0x5575('0x61')](_0x5bfd56=>{let _0x561228=!0x1;const _0x4e8fc7=_0x5b1741[_0x5575('0x85')][_0x5575('0x2a')](_0x5575('0x30'))['me'],_0x156572=_0x32ce78[_0x5575('0x33')]()[_0x5575('0x8a')](_0x3c46ed=>_0x3c46ed[_0x5575('0xd')]&&_0x3c46ed[_0x5575('0x44')]==_0x4e8fc7),_0x73e6e3=new Set(),_0x47b24a=new Set();for(const _0xedc5dc of _0x156572)if(_0x5575('0x5b')==_0xedc5dc[_0x5575('0x9a')])for(const _0x29e3ff of _0xedc5dc[_0x5575('0x41')]()){const _0x121458=_0x29e3ff['getRange']()[_0x5575('0x57')]();if(_0x121458){if(_0x121458['is'](_0x5575('0x34'),'tableCellSuggestion')&&ce(_0x121458)){_0xedc5dc[_0x5575('0x14')](_0x29e3ff[_0x5575('0x8')]),_0x73e6e3[_0x5575('0x6c')](_0x121458),_0x561228=!0x0;const _0x1130d6=_0x121458[_0x5575('0x58')],_0x189278=_0x121458[_0x5575('0x56')],_0x44e7de=_0x1130d6&&_0x1130d6['is'](_0x5575('0x34'),'tableCellSuggestion'),_0x40343=_0x189278&&_0x189278['is'](_0x5575('0x34'),_0x5575('0x20'));_0x44e7de&&!_0x73e6e3[_0x5575('0x4f')](_0x1130d6)&&_0x47b24a[_0x5575('0x6c')](_0x1130d6),_0x40343&&!_0x73e6e3['has'](_0x189278)&&_0x47b24a[_0x5575('0x6c')](_0x189278);}else _0x121458['is'](_0x5575('0x34'),_0x5575('0x6d'))&&_0x121458[_0x5575('0x71')]&&(_0xedc5dc[_0x5575('0x14')](_0x29e3ff[_0x5575('0x8')]),_0x561228=!0x0);}}else{if('tablePasteCell'==_0xedc5dc[_0x5575('0x9a')]){if(!_0xedc5dc[_0x5575('0x77')]||!_0xedc5dc[_0x5575('0x77')][_0x5575('0x2f')])continue;const _0x50cc3a=_0xedc5dc[_0x5575('0x77')][_0x5575('0x69')];if(_0x50cc3a&&Object['keys'](_0x50cc3a)[_0x5575('0xb')])continue;const _0xf23ea5=_0xedc5dc[_0x5575('0x77')]['tablePasteChainId'];let _0x2ff497=!0x0,_0x3320bd=!0x0;for(const _0x3076c0 of _0x156572)if(_0x3076c0['subType']&&_0x3076c0['subType'][_0x5575('0x80')]('tablePaste')){if(!_0x3076c0[_0x5575('0x77')][_0x5575('0x2f')]){_0x3320bd=!0x1;break;}if(_0x3076c0['id']!=_0xedc5dc['id']&&_0x3076c0[_0x5575('0x77')][_0x5575('0x2f')]==_0xf23ea5){_0x2ff497=!0x1;break;}}_0x3320bd&&_0x2ff497&&(_0xedc5dc[_0x5575('0x98')](),_0x561228=!0x0);}}for(const _0x80924d of _0x73e6e3)_0x5bfd56[_0x5575('0x92')](_0x80924d);for(const _0x4190c2 of _0x47b24a)_0x5bfd56[_0x5575('0x65')](_0x4190c2);return _0x561228;}),_0x5b1741[_0x5575('0x2')]['for']('editingDowncast')['markerToHighlight']({'model':_0x5575('0x78'),'view':(_0x499110,_0x542a08)=>_0x4d8374(_0x499110),'converterPriority':_0x5575('0x6f')}),_0x5b1741['conversion'][_0x5575('0x21')](_0x5575('0x29'))['markerToHighlight']({'model':_0x5575('0x78'),'view':(_0x2c4635,_0x4c2d9f)=>_0x4c2d9f[_0x5575('0x4e')][_0x5575('0x39')]?_0x4d8374(_0x2c4635,!0x1):null,'converterPriority':'high'});const _0xf1e633=_0x5b1741['editing']['view'];this[_0x5575('0x59')](_0xf1e633['document'],_0x5575('0x28'),(_0x54a576,_0x496e41)=>{const _0x4cb8d6=[];for(const _0x95aa36 of _0xf1e633[_0x5575('0x83')](_0x496e41[_0x5575('0x73')])['getItems']())_0x95aa36['is'](_0x5575('0x34'),_0x5575('0x5e'))&&_0x4cb8d6[_0x5575('0x40')](_0x95aa36);_0xf1e633['change'](_0x4e1306=>{for(const _0x4eec18 of _0x4cb8d6)_0x4e1306['move'](_0x4e1306[_0x5575('0x83')](_0x4eec18),_0x4e1306['createPositionBefore'](_0x4eec18)),_0x4e1306[_0x5575('0x92')](_0x4eec18);});});}}function ce(_0x3ed1e4){if(_0x3ed1e4[_0x5575('0x71')])return!0x0;const _0x759bdf=_0x3ed1e4[_0x5575('0x60')](0x0);return _0x759bdf['is'](_0x5575('0x34'),_0x5575('0x6d'))&&_0x759bdf['isEmpty'];}function fe(_0x203298,_0x54756f={},_0x433bf9){for(const {isAnchor:_0x3b66d5,cellHeight:_0x29e4f5,cellWidth:_0x4b5606}of _0x433bf9['createTableWalker'](_0x203298,{'includeAllSlots':!0x0,..._0x54756f}))if(!_0x3b66d5||0x1!=_0x29e4f5||0x1!=_0x4b5606)return!0x1;return!0x0;}
23
+ const _0x1fe8=['createRange','showSuggestionHighlights','table','getChild','row','dataDowncast','root','insertContent','unwrap','_tablePostFixingSubtypes','forceDefaultExecution','commands','nodeAfter','first','differ','filter','getChangedMarkers','length','_descriptionFactory','getAttributes','getRanges','TableClipboard','last','getColumnIndexes','fromEntries','previous','editingDowncast','getTableIfOnlyTableInContent','author','tableCell','registerCustomCallback','getSuggestion','tablePasteRow','tablePasteColumn','$graveyard','trackChanges','value','Users','map','rootName','endColumn','getAllAdjacentSuggestions','tablePasteChainId','next','_createdBatches','markMultiRangeInsertion','plugins','registerPostFixer','cells','ck-suggestion-marker--active','tableCellHorizontalAlignment','type','editor','suggestion:formatBlock:tablePasteCell','name','getMarkers','deletion','insertion','end','keys','getContainedElement','getRows','batch','find','paragraph','_suggestionFactory','view','isInContent','redo','markMultiRangeDeletion','createRangeIn','content','_getCoordsForCells','getRowIndexes','insert','removeMarkers','_isForcedDefaultExecutionBlock','editing','move','startsWith','stop','set','createPositionBefore','getChildren','ck-suggestion-marker','rows','updateMarker','oldRange','return','low','*Replace\x20table\x20cells*','tablePasteCell','get','createElement','isEmpty','_replaceTableSlotCell','has','markerAttributes','options','for','tableCellSuggestion','suggestion','setAttribute','attributes','registerDescriptionCallback','columnInsertionIndexes','element','cell','subType','markerName','documentSelection','change','remove','join','rowInsertionIndexes','getColumns','position','model','high','insertRows','createTableWalker','TableUtils','suggestionLoaded','selection','findAncestor','tableCellBorderStyle','document','getRange','includes','getChanges','tableCellBorderWidth','tableCellBackgroundColor','push','removeMarker','accept','insertionRanges','endRow','TrackChangesEditing','elementToElement','getSuggestions','rowInsertionRanges','_splitMarkerName','discard','getSelectionAffectedTableCells','formatBlock','add','reduce','from','createRangeOn','tablePaste','markerToHighlight','some','tableCellPadding','every','newRange','previousSibling','fill','conversion','columns','entries','afterInit','isEqual'];(function(_0x55e265,_0x1fe84d){const _0x435ff7=function(_0x8cf407){while(--_0x8cf407){_0x55e265['push'](_0x55e265['shift']());}};_0x435ff7(++_0x1fe84d);}(_0x1fe8,0x1cd));const _0x435f=function(_0x55e265,_0x1fe84d){_0x55e265=_0x55e265-0x0;let _0x435ff7=_0x1fe8[_0x55e265];return _0x435ff7;};import{getTranslation as _0x1bd165}from'../utils/common-translations';import{Plugin as _0xcddf64}from'ckeditor5/src/core';import{uid as _0x440aad,priorities as _0x3a0753}from'ckeditor5/src/utils';import _0x43c387 from'./table';const le=[_0x435f('0x9b'),'tableCellBorderColor',_0x435f('0x96'),_0x435f('0x4b'),'tableCellVerticalAlignment',_0x435f('0x9c'),_0x435f('0xf')],ae=Object[_0x435f('0x31')](le[_0x435f('0x3f')](_0x14789c=>[_0x14789c,null]));export default class kt extends _0xcddf64{static get['requires'](){return[_0x43c387];}[_0x435f('0x17')](){const _0xdb6f27=this['editor'];if(!_0xdb6f27[_0x435f('0x47')]['has'](_0x435f('0x2e')))return;const _0xa387f1=_0xdb6f27[_0x435f('0x47')]['get'](_0x435f('0x0')),_0x109d0e=_0xdb6f27[_0x435f('0x47')][_0x435f('0x75')](_0x435f('0x92')),_0x4d90f3=_0xdb6f27[_0x435f('0x47')]['get'](_0x43c387),_0x5ea625=_0xdb6f27[_0x435f('0x47')][_0x435f('0x75')]('TableClipboard');_0x4d90f3[_0x435f('0x22')][_0x435f('0x9d')](_0x435f('0x39'),_0x435f('0x3a')),_0xdb6f27[_0x435f('0x8e')]['schema']['register'](_0x435f('0x7d'),{'allowIn':_0x435f('0x36'),'allowContentOf':_0x435f('0x36'),'isLimit':!0x0}),_0xdb6f27['conversion'][_0x435f('0x1')]({'model':'tableCellSuggestion','view':'suggestion-td'});let _0x1067c9=null;_0xdb6f27[_0x435f('0x8e')]['on'](_0x435f('0x20'),(_0x7960,_0x102870)=>{const [_0x5bc77f,_0x47b010]=_0x102870,_0x10ecdc=_0x102870[_0x102870['length']-0x1];_0x10ecdc&&_0x10ecdc[_0x435f('0x23')]||_0xa387f1[_0x435f('0x65')]||this[_0x435f('0x4d')][_0x435f('0x24')][_0x435f('0x75')](_0x435f('0x3c'))[_0x435f('0x3d')]&&function(_0x3340ef,_0x342ae1,_0x2c73f6,_0x5d4c5a,_0x7c9764){if(_0x342ae1&&!_0x342ae1['is'](_0x435f('0x87')))return!0x1;const _0x484d15=_0x7c9764[_0x435f('0x34')](_0x3340ef,_0x2c73f6);if(!_0x484d15||!fe(_0x484d15,void 0x0,_0x5d4c5a))return!0x1;const _0x533ba6=_0x5d4c5a[_0x435f('0x6')](_0x2c73f6[_0x435f('0x97')][_0x435f('0x94')]);if(!_0x533ba6['length'])return!0x1;const _0x33ac0d=_0x533ba6[0x0][_0x435f('0x95')](_0x435f('0x1b')),_0x1bb137=_0x5d4c5a[_0x435f('0x62')](_0x533ba6),_0x111d94=_0x5d4c5a[_0x435f('0x30')](_0x533ba6),_0x39bed7={'startRow':_0x1bb137[_0x435f('0x26')],'endRow':_0x1bb137['last'],'startColumn':_0x111d94['first'],'endColumn':_0x111d94[_0x435f('0x2f')]};return 0x1==_0x533ba6[_0x435f('0x2a')]&&(_0x39bed7[_0x435f('0xa1')]+=_0x5d4c5a[_0x435f('0x56')](_0x484d15)-0x1,_0x39bed7[_0x435f('0x41')]+=_0x5d4c5a[_0x435f('0x8c')](_0x484d15)-0x1),fe(_0x33ac0d,_0x39bed7,_0x5d4c5a);}(_0x5bc77f,_0x47b010,_0xdb6f27['model'],_0x109d0e,_0x5ea625)&&(_0x7960[_0x435f('0x69')](),_0x1067c9={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0xdb6f27[_0x435f('0x8e')]['change'](()=>{_0xdb6f27[_0x435f('0x8e')][_0x435f('0x20')](_0x102870[0x0],_0x102870[0x1],_0x102870[0x2],{'forceDefaultExecution':!0x0});const _0x1beb1d=_0x440aad(),{rowInsertionRanges:_0x3df75c,columnInsertionRanges:_0x2d3f43,insertionRanges:_0x1320e7,deletionRanges:_0x351bc9,cells:_0x1b18e9}=_0x1067c9;_0x3df75c['length']&&_0xa387f1[_0x435f('0x46')](_0x3df75c,'tablePasteRow',{'tablePasteChainId':_0x1beb1d}),_0x2d3f43[_0x435f('0x2a')]&&_0xa387f1[_0x435f('0x46')](_0x2d3f43,_0x435f('0x3a'),{'tablePasteChainId':_0x1beb1d}),_0x1320e7[_0x435f('0x2a')]&&_0xa387f1[_0x435f('0x46')](_0x1320e7,_0x435f('0xc'),{'tablePasteChainId':_0x1beb1d,'skipNestingCheck':!0x0}),_0x351bc9[_0x435f('0x2a')]&&_0xa387f1[_0x435f('0x5e')](_0x351bc9,_0x435f('0xc'),{'tablePasteChainId':_0x1beb1d,'skipNestingCheck':!0x0});const _0x5e95af=_0xa387f1['markMultiRangeBlockFormat'](_0x1b18e9[_0x435f('0x3f')](({element:_0x3518cc})=>_0x3518cc),{'formatGroupId':_0x440aad()},[],_0x435f('0x74'),{'tablePasteChainId':_0x1beb1d});if(_0x5e95af){const _0x8eab65=_0x5e95af[_0x435f('0x50')](),_0x2b77e0=[];for(const {element:_0x42bf81,attributes:_0x2f2d2f}of _0x1b18e9){if(!_0x2f2d2f)continue;const _0x32eb17=_0xdb6f27['model']['createRangeOn'](_0x42bf81),_0x3c5a75=_0x8eab65[_0x435f('0x58')](_0x38fd70=>_0x38fd70[_0x435f('0x98')]()['isEqual'](_0x32eb17));_0x3c5a75&&_0x2b77e0[_0x435f('0x9d')]([_0x3c5a75[_0x435f('0x4f')],_0x2f2d2f]);}_0x2b77e0[_0x435f('0x2a')]&&_0x5e95af[_0x435f('0x7f')]('markerAttributes',Object[_0x435f('0x31')](_0x2b77e0));}_0x1067c9=null;}));},{'priority':_0x3a0753['high']+0xa}),_0xdb6f27['plugins'][_0x435f('0x75')]('TableClipboard')['on'](_0x435f('0x78'),(_0x5f54c0,_0x32430a)=>{const [_0x16606e,_0xc8f9e2,,_0x3fecbe]=_0x32430a;if(!_0x1067c9)return;_0x5f54c0['stop']();const _0x3a7606=_0x16606e[_0x435f('0x84')],_0x3d18e0=_0xc8f9e2,_0x555d4f=ce(_0x3a7606),_0x46c961=ce(_0x3d18e0);_0x5f54c0[_0x435f('0x71')]=_0x3a7606;let _0x1545f6=null,_0x174fa0=null;if(_0x46c961||_0x555d4f){if(_0x555d4f&&!_0x46c961){_0x3fecbe[_0x435f('0x89')](_0x3a7606[_0x435f('0x1c')](0x0));for(const _0x5e5abd of Array[_0x435f('0xa')](_0x3d18e0[_0x435f('0x6c')]()))_0x3fecbe['insert'](_0x5e5abd,_0x3a7606,_0x435f('0x53'));const _0x21ce06=_0x1067c9[_0x435f('0x8b')][_0x435f('0x99')](_0x16606e[_0x435f('0x1d')]),_0x381e04=_0x1067c9['columnInsertionIndexes'][_0x435f('0x99')](_0x16606e['column']);_0x21ce06||_0x381e04||(_0x1545f6=_0x3fecbe[_0x435f('0x5f')](_0x3a7606));}else _0x46c961&&!_0x555d4f&&(_0x174fa0=_0x3fecbe[_0x435f('0x5f')](_0x3a7606));}else{const _0x50fd5c=_0x3fecbe[_0x435f('0x76')](_0x435f('0x7d')),_0x500d0e=_0x3fecbe[_0x435f('0x76')](_0x435f('0x7d'));_0x3fecbe['wrap'](_0x3fecbe[_0x435f('0x5f')](_0x3a7606),_0x500d0e),_0x3fecbe['insert'](_0x50fd5c,_0x3a7606,0x0);for(const _0x570ec6 of Array[_0x435f('0xa')](_0x3d18e0[_0x435f('0x6c')]()))_0x3fecbe[_0x435f('0x63')](_0x570ec6,_0x50fd5c,'end');_0x1545f6=_0x3fecbe[_0x435f('0xb')](_0x50fd5c),_0x174fa0=_0x3fecbe[_0x435f('0xb')](_0x500d0e);}const _0xe72c49=Array[_0x435f('0xa')](_0x3d18e0[_0x435f('0x2c')]())[_0x435f('0x28')](([_0x384e6d])=>le['includes'](_0x384e6d));_0x1067c9['cells'][_0x435f('0x9d')]({'element':_0x3a7606,'attributes':_0xe72c49[_0x435f('0x2a')]?Object[_0x435f('0x31')](_0xe72c49):null}),_0x1545f6&&_0x1067c9[_0x435f('0xa0')][_0x435f('0x9d')](_0x1545f6),_0x174fa0&&_0x1067c9['deletionRanges'][_0x435f('0x9d')](_0x174fa0);},{'priority':_0x435f('0x8f')}),_0x109d0e['on']('insertColumns',(_0x29c98e,_0x7abaf1)=>{const [_0xc93982,_0x2a3097={}]=_0x7abaf1;if(!_0x1067c9)return;const _0x205537=_0x2a3097['at']||0x0,_0x35ded4=_0x2a3097[_0x435f('0x15')]||0x1;_0x1067c9[_0x435f('0x82')]=new Array(_0x35ded4)[_0x435f('0x13')](_0x205537)['map']((_0x5ea651,_0x1b63a3)=>_0x5ea651+_0x1b63a3);for(const {cell:_0x35e7b6}of _0x109d0e[_0x435f('0x91')](_0xc93982,{'startColumn':_0x205537,'endColumn':_0x205537+_0x35ded4-0x1}))_0x1067c9['columnInsertionRanges'][_0x435f('0x9d')](_0xdb6f27['model'][_0x435f('0xb')](_0x35e7b6));},{'priority':_0x435f('0x72')}),_0x109d0e['on'](_0x435f('0x90'),(_0x184354,_0x29ec7e)=>{const [_0x3cf695,_0x232e5d={}]=_0x29ec7e;if(!_0x1067c9)return;const _0x159736=_0x232e5d['at']||0x0,_0x421717=_0x232e5d[_0x435f('0x6e')]||0x1;_0x1067c9[_0x435f('0x8b')]=new Array(_0x421717)['fill'](_0x159736)[_0x435f('0x3f')]((_0x17e1f3,_0x596332)=>_0x17e1f3+_0x596332);for(const {cell:_0x44f6de}of _0x109d0e[_0x435f('0x91')](_0x3cf695,{'startRow':_0x159736,'endRow':_0x159736+_0x421717-0x1}))_0x1067c9[_0x435f('0x3')][_0x435f('0x9d')](_0xdb6f27[_0x435f('0x8e')]['createRangeOn'](_0x44f6de));},{'priority':_0x435f('0x72')}),_0xa387f1[_0x435f('0x2b')][_0x435f('0x81')](_0x7beb55=>{if(_0x7beb55[_0x435f('0x85')]&&_0x7beb55[_0x435f('0x85')][_0x435f('0x68')](_0x435f('0xc')))return _0x7beb55[_0x435f('0x32')]?{}:{'type':_0x435f('0x52'),'content':_0x1bd165(_0xdb6f27['locale'],_0x435f('0x73'))};});const _0x13e269=()=>!0x1;for(const _0x2b9a12 of[_0x435f('0xc'),_0x435f('0x3a'),'tablePasteRow','tablePasteCell'])_0xa387f1[_0x435f('0x5a')][_0x435f('0x37')](_0x435f('0x52'),_0x2b9a12,_0x435f('0x8a'),_0x13e269),_0xa387f1['_suggestionFactory'][_0x435f('0x37')](_0x435f('0x51'),_0x2b9a12,_0x435f('0x8a'),_0x13e269),_0xa387f1[_0x435f('0x5a')][_0x435f('0x37')](_0x435f('0x7'),_0x2b9a12,_0x435f('0x8a'),_0x13e269);_0xa387f1['_suggestionFactory']['registerCustomCallback'](_0x435f('0x7'),_0x435f('0x74'),_0x435f('0x5'),_0x13e269),_0xa387f1[_0x435f('0x5a')][_0x435f('0x37')]('formatBlock',_0x435f('0x74'),_0x435f('0x9f'),(_0x1d4cf5,_0x1adfaf,_0x50d098)=>{const _0x3fe494=_0x1d4cf5[_0x435f('0x3f')](_0x371092=>_0x371092[_0x435f('0x55')]())[_0x435f('0x28')](_0x5a65f8=>_0x5a65f8),_0x2fad3f=new Map(_0x3fe494[_0x435f('0x3f')](_0x10ab23=>[_0x10ab23,null]));if(_0x1067c9)for(const {element:_0x3b8eb1,attributes:_0x139ece}of _0x1067c9[_0x435f('0x49')])_0x139ece&&_0x2fad3f['set'](_0x3b8eb1,_0x139ece);else{if(_0x50d098&&_0x50d098[_0x435f('0x7a')])for(const [_0x39c1f1,_0xb21342]of Object[_0x435f('0x16')](_0x50d098['markerAttributes'])){const _0x1b2795=_0xdb6f27[_0x435f('0x8e')]['markers'][_0x435f('0x75')](_0x39c1f1),_0x3fd229=_0x1b2795?_0x1b2795[_0x435f('0x98')]()['getContainedElement']():null;_0x3fd229&&_0x2fad3f[_0x435f('0x6a')](_0x3fd229,_0xb21342);}}_0xdb6f27[_0x435f('0x8e')][_0x435f('0x88')](_0xd60ae=>{for(const [_0x55b8fb,_0xaeab13]of _0x2fad3f)_0xd60ae['setAttributes']({...ae,..._0xaeab13},_0x55b8fb);});});const _0xd64e8f=(_0x26d048,_0x14adbf)=>{_0xa387f1[_0x435f('0x5a')]['registerCustomCallback'](_0x26d048,_0x435f('0xc'),_0x14adbf,(_0x170543,_0x218c86,_0x24f32d)=>{_0xdb6f27[_0x435f('0x8e')][_0x435f('0x88')](_0x467b31=>{const _0x3a0cfa=[];for(const _0x35bf5b of _0x170543){const _0xb5d955=_0x35bf5b['start'][_0x435f('0x25')];_0xb5d955['is'](_0x435f('0x83'),_0x435f('0x7d'))&&_0x3a0cfa['push'](_0xb5d955);}_0xa387f1[_0x435f('0x5a')]['getSuggestionCallback'](_0x26d048,null,_0x14adbf)(_0x170543,_0x218c86,_0x24f32d);for(const _0x8721cb of _0x3a0cfa)_0x435f('0x3b')!=_0x8721cb[_0x435f('0x1f')][_0x435f('0x40')]&&_0x467b31[_0x435f('0x21')](_0x8721cb);});});};_0xd64e8f(_0x435f('0x52'),_0x435f('0x9f')),_0xd64e8f('insertion',_0x435f('0x5')),_0xd64e8f(_0x435f('0x51'),_0x435f('0x9f')),_0xd64e8f(_0x435f('0x51'),_0x435f('0x5')),_0xa387f1[_0x435f('0x5a')][_0x435f('0x37')](_0x435f('0x52'),_0x435f('0x39'),_0x435f('0x5'),_0x5b7245=>{const _0x245379=_0x5b7245[_0x435f('0x3f')](_0x3d292e=>_0x3d292e[_0x435f('0x55')]()),_0x41e1e8=_0x245379[0x0][_0x435f('0x95')]('table'),{minRow:_0x191c0b,maxRow:_0x431736}=_0x4d90f3[_0x435f('0x61')](_0x245379);_0x109d0e['removeRows'](_0x41e1e8,{'at':_0x191c0b,'rows':_0x431736-_0x191c0b+0x1});}),_0xa387f1[_0x435f('0x5a')]['registerCustomCallback'](_0x435f('0x52'),_0x435f('0x3a'),_0x435f('0x5'),_0x323ad3=>{const _0x33f9f5=_0x323ad3['map'](_0x424377=>_0x424377['getContainedElement']()),_0x13e7fe=_0x33f9f5[0x0][_0x435f('0x95')]('table'),{minColumn:_0x4f1f6e,maxColumn:_0x59e7c0}=_0x4d90f3[_0x435f('0x61')](_0x33f9f5);_0x109d0e['removeColumns'](_0x13e7fe,{'at':_0x4f1f6e,'columns':_0x59e7c0-_0x4f1f6e+0x1});});const _0x7a65a3=(_0x5630d9,_0x3a624d)=>{if(!_0x3a624d['subType']||!_0x3a624d['subType'][_0x435f('0x68')](_0x435f('0xc')))return;const _0x4b221e=_0x3a624d[_0x435f('0x80')][_0x435f('0x43')],_0x564287=_0xa387f1[_0x435f('0x2')]()[_0x435f('0x28')](_0x5c5491=>_0x5c5491[_0x435f('0x5c')]&&_0x5c5491['attributes']&&_0x5c5491[_0x435f('0x80')][_0x435f('0x43')]==_0x4b221e);_0x564287[_0x435f('0x2a')]&&_0x3a624d[_0x435f('0x42')]()[_0x435f('0x2a')]!=_0x564287[_0x435f('0x2a')]&&_0x564287[_0x435f('0x9')]((_0x427cbf,_0x3721c7)=>(_0x427cbf[_0x435f('0x44')]=_0x3721c7,_0x3721c7[_0x435f('0x32')]=_0x427cbf,_0x3721c7));};function _0x28c3a0(_0x392fce,_0x441812=!0x0){const {id:_0x32e2ad}=_0xa387f1[_0x435f('0x4')](_0x392fce[_0x435f('0x86')]),_0x44fa56=[_0x435f('0x6d'),'ck-suggestion-marker-insertion'],_0x3491ba=_0xa387f1['activeMarkers'][_0x435f('0x99')](_0x392fce[_0x435f('0x86')]);return _0x3491ba&&_0x44fa56['push'](_0x435f('0x4a')),{'classes':_0x44fa56,'attributes':{'data-suggestion':_0x32e2ad},'priority':_0x3491ba&&_0x441812?0xbc2:0xbb8};}_0xa387f1['on'](_0x435f('0x93'),_0x7a65a3,{'priority':_0x435f('0x8f')}),_0xa387f1['on']('suggestionUnloaded',_0x7a65a3,{'priority':_0x435f('0x8f')}),_0xdb6f27[_0x435f('0x8e')]['document'][_0x435f('0x48')](()=>{let _0x39aa2b=!0x1;const _0x5e1284=Array['from'](_0xdb6f27[_0x435f('0x8e')]['document'][_0x435f('0x27')][_0x435f('0x29')]());for(const {name:_0x2c0bf4,data:_0x454f3d}of _0x5e1284){const {group:_0x45ce43,type:_0x4b0556,id:_0x5461bf}=_0xa387f1[_0x435f('0x4')](_0x2c0bf4);if(_0x435f('0x7e')!=_0x45ce43||'deletion'!=_0x4b0556||_0x454f3d[_0x435f('0x70')])continue;if(!_0xa387f1['hasSuggestion'](_0x5461bf))continue;const _0x5313e3=_0xa387f1[_0x435f('0x38')](_0x5461bf)[_0x435f('0x2d')](),_0x78917d=_0xdb6f27['plugins'][_0x435f('0x75')](_0x435f('0x3e'))['me'];for(const _0x265670 of _0xa387f1[_0x435f('0x2')]()){if(!_0x265670[_0x435f('0x5c')]||_0x265670[_0x435f('0x35')]!=_0x78917d)continue;if('formatBlock'!=_0x265670[_0x435f('0x4c')]||_0x435f('0x74')!=_0x265670['subType'])continue;if(_0x265670['getRanges']()[_0x435f('0x10')](_0x4f0798=>_0x5313e3[_0x435f('0xe')](_0x14bbad=>_0x14bbad['containsRange'](_0x4f0798,!0x0))))for(const _0x55e874 of _0x265670[_0x435f('0x42')]())_0x55e874[_0x435f('0x5c')]&&(_0x55e874[_0x435f('0x5')](),_0x39aa2b=!0x0);}}return _0x39aa2b;}),_0xdb6f27[_0x435f('0x8e')][_0x435f('0x97')]['registerPostFixer'](_0x452d0a=>{const _0x2de8b3=_0xdb6f27[_0x435f('0x24')][_0x435f('0x75')](_0x435f('0x5d'));if(!_0x2de8b3||!_0x2de8b3[_0x435f('0x45')][_0x435f('0x79')](_0x452d0a[_0x435f('0x57')]))return!0x1;let _0x5d9768=!0x1;const _0x1ef2b0=_0xdb6f27[_0x435f('0x47')][_0x435f('0x75')](_0x435f('0x3e'))['me'],_0x4426d3=_0xdb6f27[_0x435f('0x8e')][_0x435f('0x97')][_0x435f('0x27')][_0x435f('0x9a')](),_0x33bbf9=Array['from'](_0xdb6f27[_0x435f('0x8e')][_0x435f('0x97')][_0x435f('0x27')][_0x435f('0x29')]())[_0x435f('0x28')](({name:_0x83e9a5,data:_0x45e9f5})=>{const {group:_0xf05f1e,subType:_0x347097,authorId:_0x5bd9b4}=_0xa387f1[_0x435f('0x4')](_0x83e9a5);return _0x435f('0x7e')==_0xf05f1e&&_0x435f('0xc')==_0x347097&&_0x5bd9b4==_0x1ef2b0['id']&&!_0x45e9f5[_0x435f('0x70')];});for(const _0x32d6f0 of _0x4426d3){if('insert'!=_0x32d6f0[_0x435f('0x4c')]||_0x435f('0x7d')!=_0x32d6f0[_0x435f('0x4f')]||0x1!=_0x32d6f0['length'])continue;const _0x42bc62=_0x452d0a[_0x435f('0x19')](_0x32d6f0[_0x435f('0x8d')],_0x32d6f0[_0x435f('0x8d')]['getShiftedBy'](0x1));if(!_0x33bbf9[_0x435f('0x58')](({data:_0x3c597c})=>_0x3c597c['newRange'][_0x435f('0x18')](_0x42bc62)))for(const {name:_0x465a1e,data:_0x52c718}of _0x33bbf9)if(_0x42bc62['containsRange'](_0x52c718[_0x435f('0x11')])){_0x452d0a[_0x435f('0x6f')](_0x465a1e,{'range':_0x42bc62}),_0x5d9768=!0x0;break;}}return _0x5d9768;}),_0xdb6f27['model'][_0x435f('0x97')][_0x435f('0x48')](_0x1937a4=>{let _0x4e6400=!0x1;const _0x2cd515=_0xdb6f27[_0x435f('0x47')][_0x435f('0x75')](_0x435f('0x3e'))['me'],_0x30bb96=_0xa387f1[_0x435f('0x2')]()[_0x435f('0x28')](_0x54c5c4=>_0x54c5c4[_0x435f('0x5c')]&&_0x54c5c4['author']==_0x2cd515),_0x2ead19=new Set(),_0x5d4452=new Set();for(const _0x2914ec of _0x30bb96)if(_0x435f('0xc')==_0x2914ec[_0x435f('0x85')])for(const _0x22fdbd of _0x2914ec[_0x435f('0x50')]()){const _0x20ba8d=_0x22fdbd[_0x435f('0x98')]()['getContainedElement']();if(_0x20ba8d){if(_0x20ba8d['is'](_0x435f('0x83'),_0x435f('0x7d'))&&ce(_0x20ba8d)){_0x2914ec[_0x435f('0x9e')](_0x22fdbd['name']),_0x2ead19[_0x435f('0x8')](_0x20ba8d),_0x4e6400=!0x0;const _0x34e86d=_0x20ba8d['nextSibling'],_0x56f90f=_0x20ba8d[_0x435f('0x12')],_0x197754=_0x34e86d&&_0x34e86d['is'](_0x435f('0x83'),'tableCellSuggestion'),_0x47d134=_0x56f90f&&_0x56f90f['is'](_0x435f('0x83'),_0x435f('0x7d'));_0x197754&&!_0x2ead19[_0x435f('0x79')](_0x34e86d)&&_0x5d4452[_0x435f('0x8')](_0x34e86d),_0x47d134&&!_0x2ead19[_0x435f('0x79')](_0x56f90f)&&_0x5d4452[_0x435f('0x8')](_0x56f90f);}else _0x20ba8d['is']('element',_0x435f('0x59'))&&_0x20ba8d[_0x435f('0x77')]&&(_0x2914ec[_0x435f('0x9e')](_0x22fdbd['name']),_0x4e6400=!0x0);}}else{if(_0x435f('0x74')==_0x2914ec[_0x435f('0x85')]){if(!_0x2914ec[_0x435f('0x80')]||!_0x2914ec[_0x435f('0x80')]['tablePasteChainId'])continue;const _0x4fdcc0=_0x2914ec['attributes'][_0x435f('0x7a')];if(_0x4fdcc0&&Object[_0x435f('0x54')](_0x4fdcc0)[_0x435f('0x2a')])continue;const _0x4fe99d=_0x2914ec['attributes'][_0x435f('0x43')];let _0x560f44=!0x0,_0x202bfd=!0x0;for(const _0x58ca66 of _0x30bb96)if(_0x58ca66[_0x435f('0x85')]&&_0x58ca66[_0x435f('0x85')][_0x435f('0x68')](_0x435f('0xc'))){if(!_0x58ca66[_0x435f('0x80')]['tablePasteChainId']){_0x202bfd=!0x1;break;}if(_0x58ca66['id']!=_0x2914ec['id']&&_0x58ca66[_0x435f('0x80')][_0x435f('0x43')]==_0x4fe99d){_0x560f44=!0x1;break;}}_0x202bfd&&_0x560f44&&(_0x2914ec[_0x435f('0x64')](),_0x4e6400=!0x0);}}for(const _0x87637a of _0x2ead19)_0x1937a4[_0x435f('0x89')](_0x87637a);for(const _0x565238 of _0x5d4452)_0x1937a4[_0x435f('0x21')](_0x565238);return _0x4e6400;}),_0xdb6f27[_0x435f('0x14')][_0x435f('0x7c')](_0x435f('0x33'))[_0x435f('0xd')]({'model':_0x435f('0x4e'),'view':(_0x3f1294,_0x3ad058)=>_0x28c3a0(_0x3f1294),'converterPriority':_0x435f('0x8f')}),_0xdb6f27[_0x435f('0x14')][_0x435f('0x7c')](_0x435f('0x1e'))[_0x435f('0xd')]({'model':_0x435f('0x4e'),'view':(_0x4e1d84,_0x22040a)=>_0x22040a[_0x435f('0x7b')][_0x435f('0x1a')]?_0x28c3a0(_0x4e1d84,!0x1):null,'converterPriority':_0x435f('0x8f')});const _0x1f814d=_0xdb6f27[_0x435f('0x66')][_0x435f('0x5b')];this['listenTo'](_0x1f814d[_0x435f('0x97')],'clipboardOutput',(_0x1b5608,_0x25760d)=>{const _0x241e8f=[];for(const _0xc4defb of _0x1f814d[_0x435f('0x5f')](_0x25760d[_0x435f('0x60')])['getItems']())_0xc4defb['is']('element','suggestion-td')&&_0x241e8f['push'](_0xc4defb);_0x1f814d['change'](_0x32c665=>{for(const _0x5941ac of _0x241e8f)_0x32c665[_0x435f('0x67')](_0x32c665[_0x435f('0x5f')](_0x5941ac),_0x32c665[_0x435f('0x6b')](_0x5941ac)),_0x32c665['remove'](_0x5941ac);});});}}function ce(_0x1c5b6f){if(_0x1c5b6f[_0x435f('0x77')])return!0x0;const _0xa543f5=_0x1c5b6f[_0x435f('0x1c')](0x0);return _0xa543f5['is']('element',_0x435f('0x59'))&&_0xa543f5[_0x435f('0x77')];}function fe(_0x9bc77a,_0x4a47cd={},_0x548e8f){for(const {isAnchor:_0x349f1d,cellHeight:_0x2bebf7,cellWidth:_0x215770}of _0x548e8f[_0x435f('0x91')](_0x9bc77a,{'includeAllSlots':!0x0,..._0x4a47cd}))if(!_0x349f1d||0x1!=_0x2bebf7||0x1!=_0x215770)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x281d=['data','getSuggestionCallback','editor','getSelectedElement','enableCommand','locale','registerDescriptionCallback','author','getAttribute','registerCustomCallback','handleSuggestionDescription','commandParams','resizeTable','handleResizeTableWidthCommand','resizeColumnWidths','bind','change','plugins','tableWidth','Users','format','resizeTableWidth','formatBlock','formatGroupId','subType','columnWidths','markBlockFormat','getTableColumnsWidths','has','get','getContainedElement','getSuggestions','_suggestionFactory','_descriptionFactory','model','TrackChangesEditing','accept','table','TableColumnResizeEditing','selection','discard'];(function(_0x9ebf32,_0x281d6a){const _0x66727c=function(_0x30e5c9){while(--_0x30e5c9){_0x9ebf32['push'](_0x9ebf32['shift']());}};_0x66727c(++_0x281d6a);}(_0x281d,0x8d));const _0x6672=function(_0x9ebf32,_0x281d6a){_0x9ebf32=_0x9ebf32-0x0;let _0x66727c=_0x281d[_0x9ebf32];return _0x66727c;};import{Plugin as _0x127f8f}from'ckeditor5/src/core';import{getTranslation as _0x5770ec}from'../utils/common-translations';export default class wt extends _0x127f8f{['afterInit'](){if(!this[_0x6672('0x19')][_0x6672('0x28')][_0x6672('0xa')](_0x6672('0x14')))return;const _0x2addf6=this[_0x6672('0x19')]['plugins'][_0x6672('0xb')](_0x6672('0x11'));_0x2addf6[_0x6672('0x1b')](_0x6672('0x3'),this['handleResizeTableWidthCommand']['bind'](this)),_0x2addf6['enableCommand'](_0x6672('0x25'),this[_0x6672('0x24')]['bind'](this)),_0x2addf6[_0x6672('0xe')][_0x6672('0x20')](_0x6672('0x4'),_0x6672('0x23'),_0x6672('0x12'),_0x2addf6['_suggestionFactory']['getSuggestionCallback'](_0x6672('0x4'),null,_0x6672('0x16'))),_0x2addf6[_0x6672('0xe')][_0x6672('0x20')](_0x6672('0x4'),_0x6672('0x23'),_0x6672('0x16'),_0x2addf6[_0x6672('0xe')][_0x6672('0x18')](_0x6672('0x4'),null,_0x6672('0x12'))),_0x2addf6[_0x6672('0xf')][_0x6672('0x1d')](this[_0x6672('0x21')][_0x6672('0x26')](this));}[_0x6672('0x24')](_0x127b47,_0x3dbec6){const _0x26c98c=this['editor']['plugins'][_0x6672('0xb')](_0x6672('0x11')),_0x25293c=this['editor'][_0x6672('0x28')][_0x6672('0xb')](_0x6672('0x14')),_0x5ae261=_0x3dbec6[_0x6672('0x13')]||this['editor'][_0x6672('0x10')]['document'][_0x6672('0x15')][_0x6672('0x1a')]();this[_0x6672('0x19')][_0x6672('0x10')][_0x6672('0x27')](()=>{const _0x3614df=_0x25293c['getColumnGroupElement'](_0x5ae261);let _0x12b678=_0x3614df?_0x25293c[_0x6672('0x9')](_0x3614df):null,_0x153587=_0x5ae261[_0x6672('0x1f')](_0x6672('0x0'))||null;const _0x2d7cd7=_0x3dbec6[_0x6672('0x0')]||_0x153587,_0x33f4f8=_0x3dbec6[_0x6672('0x7')]||_0x12b678,_0x54af97=this['editor'][_0x6672('0x28')][_0x6672('0xb')](_0x6672('0x1'))['me'];for(const _0x392f6f of _0x26c98c[_0x6672('0xd')]()){const _0x198e35=_0x392f6f[_0x6672('0xc')]();if('resizeTable'===_0x392f6f[_0x6672('0x6')]&&_0x198e35===_0x5ae261){_0x392f6f[_0x6672('0x1e')]!==_0x54af97&&_0x392f6f[_0x6672('0x16')]();const _0x4913ab=_0x392f6f[_0x6672('0x17')][_0x6672('0x22')];_0x153587=_0x4913ab[0x0][_0x6672('0x0')],_0x12b678=_0x4913ab[0x0][_0x6672('0x7')];break;}}_0x127b47({'table':_0x5ae261,'tableWidth':_0x2d7cd7,'columnWidths':_0x33f4f8}),_0x26c98c[_0x6672('0x8')](_0x5ae261,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x153587,'columnWidths':_0x12b678}],'formatGroupId':'resizeTable'},[],_0x6672('0x23'));});}[_0x6672('0x21')](_0x1fe265){const {data:_0x6017cb}=_0x1fe265;if(_0x6017cb&&_0x6672('0x23')===_0x6017cb[_0x6672('0x5')]){const _0x4af0c9='*Format:*\x20resize\x20table';return{'type':_0x6672('0x2'),'content':_0x5770ec(this[_0x6672('0x19')][_0x6672('0x1c')],_0x4af0c9)};}}}
23
+ const _0x145f=['accept','enableCommand','*Format:*\x20resize\x20table','_suggestionFactory','getColumnGroupElement','markBlockFormat','getAttribute','format','discard','TableColumnResizeEditing','getTableColumnsWidths','resizeTable','editor','handleSuggestionDescription','has','commandParams','columnWidths','_descriptionFactory','Users','selection','registerCustomCallback','afterInit','table','document','getSuggestionCallback','get','resizeColumnWidths','registerDescriptionCallback','getContainedElement','bind','tableWidth','resizeTableWidth','change','plugins','formatBlock','locale','handleResizeTableWidthCommand','data'];(function(_0x198e7b,_0x145f9f){const _0x2759ab=function(_0x14f604){while(--_0x14f604){_0x198e7b['push'](_0x198e7b['shift']());}};_0x2759ab(++_0x145f9f);}(_0x145f,0xcf));const _0x2759=function(_0x198e7b,_0x145f9f){_0x198e7b=_0x198e7b-0x0;let _0x2759ab=_0x145f[_0x198e7b];return _0x2759ab;};import{Plugin as _0x2ee144}from'ckeditor5/src/core';import{getTranslation as _0x3195ed}from'../utils/common-translations';export default class wt extends _0x2ee144{[_0x2759('0x4')](){if(!this[_0x2759('0x21')][_0x2759('0x10')][_0x2759('0x23')]('TableColumnResizeEditing'))return;const _0x201602=this['editor']['plugins']['get']('TrackChangesEditing');_0x201602[_0x2759('0x16')](_0x2759('0xe'),this[_0x2759('0x13')][_0x2759('0xc')](this)),_0x201602[_0x2759('0x16')](_0x2759('0x9'),this['handleResizeTableWidthCommand']['bind'](this)),_0x201602[_0x2759('0x18')][_0x2759('0x3')]('formatBlock',_0x2759('0x20'),_0x2759('0x15'),_0x201602[_0x2759('0x18')][_0x2759('0x7')](_0x2759('0x11'),null,_0x2759('0x1d'))),_0x201602['_suggestionFactory']['registerCustomCallback'](_0x2759('0x11'),_0x2759('0x20'),_0x2759('0x1d'),_0x201602[_0x2759('0x18')][_0x2759('0x7')](_0x2759('0x11'),null,_0x2759('0x15'))),_0x201602[_0x2759('0x0')][_0x2759('0xa')](this[_0x2759('0x22')][_0x2759('0xc')](this));}[_0x2759('0x13')](_0x71e087,_0x34dc0b){const _0x5319c0=this['editor']['plugins']['get']('TrackChangesEditing'),_0x24cd43=this['editor'][_0x2759('0x10')][_0x2759('0x8')](_0x2759('0x1e')),_0x23592a=_0x34dc0b[_0x2759('0x5')]||this[_0x2759('0x21')]['model'][_0x2759('0x6')][_0x2759('0x2')]['getSelectedElement']();this[_0x2759('0x21')]['model'][_0x2759('0xf')](()=>{const _0x5991fd=_0x24cd43[_0x2759('0x19')](_0x23592a);let _0x2dfbdc=_0x5991fd?_0x24cd43[_0x2759('0x1f')](_0x5991fd):null,_0x1052d8=_0x23592a[_0x2759('0x1b')](_0x2759('0xd'))||null;const _0x3e9048=_0x34dc0b['tableWidth']||_0x1052d8,_0xde3879=_0x34dc0b[_0x2759('0x25')]||_0x2dfbdc,_0x3d2890=this[_0x2759('0x21')][_0x2759('0x10')][_0x2759('0x8')](_0x2759('0x1'))['me'];for(const _0x16cffb of _0x5319c0['getSuggestions']()){const _0x1fe448=_0x16cffb[_0x2759('0xb')]();if('resizeTable'===_0x16cffb['subType']&&_0x1fe448===_0x23592a){_0x16cffb['author']!==_0x3d2890&&_0x16cffb[_0x2759('0x1d')]();const _0x4349d2=_0x16cffb[_0x2759('0x14')][_0x2759('0x24')];_0x1052d8=_0x4349d2[0x0][_0x2759('0xd')],_0x2dfbdc=_0x4349d2[0x0][_0x2759('0x25')];break;}}_0x71e087({'table':_0x23592a,'tableWidth':_0x3e9048,'columnWidths':_0xde3879}),_0x5319c0[_0x2759('0x1a')](_0x23592a,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x1052d8,'columnWidths':_0x2dfbdc}],'formatGroupId':_0x2759('0x20')},[],'resizeTable');});}[_0x2759('0x22')](_0x5bb514){const {data:_0x14c84c}=_0x5bb514;if(_0x14c84c&&_0x2759('0x20')===_0x14c84c['formatGroupId']){const _0x124aa6=_0x2759('0x17');return{'type':_0x2759('0x1c'),'content':_0x3195ed(this['editor'][_0x2759('0x12')],_0x124aa6)};}}}