@ckeditor/ckeditor5-track-changes 39.0.1 → 39.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/LICENSE.md +5 -5
  3. package/README.md +13 -13
  4. package/build/track-changes.js +1 -1
  5. package/lang/translations/ar.po +1 -0
  6. package/lang/translations/az.po +1 -0
  7. package/lang/translations/bg.po +1 -0
  8. package/lang/translations/bn.po +1 -0
  9. package/lang/translations/ca.po +1 -0
  10. package/lang/translations/cs.po +1 -0
  11. package/lang/translations/da.po +1 -0
  12. package/lang/translations/de.po +1 -0
  13. package/lang/translations/el.po +1 -0
  14. package/lang/translations/en-au.po +1 -0
  15. package/lang/translations/en.po +1 -0
  16. package/lang/translations/es.po +1 -0
  17. package/lang/translations/et.po +1 -0
  18. package/lang/translations/fi.po +1 -0
  19. package/lang/translations/fr.po +1 -0
  20. package/lang/translations/gl.po +1 -0
  21. package/lang/translations/he.po +1 -0
  22. package/lang/translations/hi.po +1 -0
  23. package/lang/translations/hr.po +1 -0
  24. package/lang/translations/hu.po +1 -0
  25. package/lang/translations/id.po +1 -0
  26. package/lang/translations/it.po +1 -0
  27. package/lang/translations/ja.po +1 -0
  28. package/lang/translations/ko.po +1 -0
  29. package/lang/translations/lt.po +1 -0
  30. package/lang/translations/lv.po +1 -0
  31. package/lang/translations/ms.po +1 -0
  32. package/lang/translations/nl.po +1 -0
  33. package/lang/translations/no.po +1 -0
  34. package/lang/translations/pl.po +1 -0
  35. package/lang/translations/pt-br.po +1 -0
  36. package/lang/translations/pt.po +1 -0
  37. package/lang/translations/ro.po +1 -0
  38. package/lang/translations/ru.po +1 -0
  39. package/lang/translations/sk.po +1 -0
  40. package/lang/translations/sq.po +1 -0
  41. package/lang/translations/sr-latn.po +1 -0
  42. package/lang/translations/sr.po +1 -0
  43. package/lang/translations/sv.po +1 -0
  44. package/lang/translations/th.po +1 -0
  45. package/lang/translations/tk.po +1 -0
  46. package/lang/translations/tr.po +1 -0
  47. package/lang/translations/tt.po +1 -0
  48. package/lang/translations/uk.po +1 -0
  49. package/lang/translations/ur.po +1 -0
  50. package/lang/translations/vi.po +1 -0
  51. package/lang/translations/zh-cn.po +1 -0
  52. package/lang/translations/zh.po +1 -0
  53. package/package.json +3 -7
  54. package/src/commands/acceptsuggestioncommand.js +1 -1
  55. package/src/commands/discardsuggestioncommand.js +1 -1
  56. package/src/commands/executeonallsuggestionscommand.js +1 -1
  57. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  58. package/src/commands/trackchangescommand.js +1 -1
  59. package/src/integrations/alignment.js +1 -1
  60. package/src/integrations/basicstyles.js +1 -1
  61. package/src/integrations/blockquote.js +1 -1
  62. package/src/integrations/ckbox.js +1 -1
  63. package/src/integrations/codeblock.js +1 -1
  64. package/src/integrations/comments.js +1 -1
  65. package/src/integrations/deletecommand.js +1 -1
  66. package/src/integrations/documentlist.js +1 -1
  67. package/src/integrations/documentlistproperties.js +1 -1
  68. package/src/integrations/entercommand.js +1 -1
  69. package/src/integrations/findandreplace.js +1 -1
  70. package/src/integrations/font.js +1 -1
  71. package/src/integrations/formatpainter.js +1 -1
  72. package/src/integrations/heading.js +1 -1
  73. package/src/integrations/highlight.js +1 -1
  74. package/src/integrations/horizontalline.js +1 -1
  75. package/src/integrations/htmlembed.js +1 -1
  76. package/src/integrations/image.js +1 -1
  77. package/src/integrations/imagereplace.js +1 -1
  78. package/src/integrations/importword.js +1 -1
  79. package/src/integrations/indent.js +1 -1
  80. package/src/integrations/inputcommand.js +1 -1
  81. package/src/integrations/link.js +1 -1
  82. package/src/integrations/list.js +1 -1
  83. package/src/integrations/listproperties.js +1 -1
  84. package/src/integrations/mediaembed.js +1 -1
  85. package/src/integrations/mention.js +1 -1
  86. package/src/integrations/pagebreak.js +1 -1
  87. package/src/integrations/paragraph.js +1 -1
  88. package/src/integrations/removeformat.js +1 -1
  89. package/src/integrations/restrictededitingmode.js +1 -1
  90. package/src/integrations/shiftentercommand.js +1 -1
  91. package/src/integrations/standardeditingmode.js +1 -1
  92. package/src/integrations/style.js +1 -1
  93. package/src/integrations/table.js +1 -1
  94. package/src/integrations/tablecaption.js +1 -1
  95. package/src/integrations/tableclipboard.js +1 -1
  96. package/src/integrations/tablecolumnresize.js +1 -1
  97. package/src/integrations/tableheadings.js +1 -1
  98. package/src/integrations/tablemergesplit.js +1 -1
  99. package/src/integrations/tableofcontents.js +1 -1
  100. package/src/integrations/tableproperties.js +1 -1
  101. package/src/integrations/template.js +1 -1
  102. package/src/integrations/title.js +1 -1
  103. package/src/integrations/undo.js +1 -1
  104. package/src/integrations/utils.js +1 -1
  105. package/src/suggestion.js +1 -1
  106. package/src/suggestiondescriptionfactory.js +1 -1
  107. package/src/trackchanges.js +1 -1
  108. package/src/trackchangesdata.js +1 -1
  109. package/src/trackchangesediting.d.ts +29 -1
  110. package/src/trackchangesediting.js +1 -1
  111. package/src/trackchangesui.js +1 -1
  112. package/src/ui/suggestioncontroller.js +1 -1
  113. package/src/ui/view/basesuggestionthreadview.js +1 -1
  114. package/src/ui/view/suggestionthreadview.js +1 -1
  115. package/src/utils/common-translations.js +1 -1
  116. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a21=['nodeAfter','isLimit','*Change\x20to:*\x20%0','isTouching','isObject','from','editor','createUIElement','Paragraph','mapper','consume','bindElementToMarker','ELEMENT_PARAGRAPH','markerRange','end','addMarker:suggestion:insertion','registerElementLabel','consumable','getFirstRange','markerName','includes','editing','toViewPosition','*Insert:*\x20%0','afterInit','change','span','insertParagraph','ck-suggestion-marker--active','data','plugins','commandName','getItemLabel','registerDescriptionCallback','enableCommand','highest','showSuggestionHighlights','getSelectedBlocks','ck-suggestion-marker-split','addClass','blockName','selection','isBlock','$text','format','checkChild','model','start','options','filter','get','schema','writer','markBlockFormat','_descriptionFactory','paragraph','TrackChangesEditing'];(function(_0x186c3a,_0x4a211a){const _0x98b28f=function(_0x5e9440){while(--_0x5e9440){_0x186c3a['push'](_0x186c3a['shift']());}};_0x98b28f(++_0x4a211a);}(_0x4a21,0xca));const _0x98b2=function(_0x186c3a,_0x4a211a){_0x186c3a=_0x186c3a-0x0;let _0x98b28f=_0x4a21[_0x186c3a];return _0x98b28f;};import{Plugin as _0x2b63d2}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x569380}from'./utils';import{getTranslation as _0x31abf3}from'../utils/common-translations';export default class ct extends _0x2b63d2{[_0x98b2('0x32')](){const _0x4f5639=this[_0x98b2('0x20')];if(!_0x4f5639[_0x98b2('0x38')]['has'](_0x98b2('0x22')))return;const _0xb60c50=_0x4f5639['locale'],_0x424b09=_0x4f5639[_0x98b2('0x38')][_0x98b2('0x13')](_0x98b2('0x19'));_0x424b09[_0x98b2('0x17')][_0x98b2('0x2a')](_0x98b2('0x18'),_0x28e25a=>_0x31abf3(_0xb60c50,_0x98b2('0x26'),_0x28e25a)),_0x424b09[_0x98b2('0x3')](_0x98b2('0x18'),(_0x22de89,_0x226303={})=>{const _0x1091e2=_0x4f5639[_0x98b2('0xf')]['document'],_0x3d8644=_0x226303[_0x98b2('0xa')]||_0x1091e2[_0x98b2('0xa')],_0x489916=Array[_0x98b2('0x1f')](_0x3d8644[_0x98b2('0x6')]())[_0x98b2('0x12')](_0x5aa37c=>function(_0xc22f21,_0x21b192){return _0x21b192[_0x98b2('0xe')](_0xc22f21['parent'],_0x98b2('0x18'))&&!_0x21b192[_0x98b2('0x1e')](_0xc22f21)&&_0x98b2('0x18')!=_0xc22f21['name'];}(_0x5aa37c,this['editor'][_0x98b2('0xf')]['schema']));_0x4f5639[_0x98b2('0xf')][_0x98b2('0x33')](()=>{for(const _0x58aac5 of _0x489916)_0x424b09[_0x98b2('0x16')](_0x58aac5,{'commandName':_0x98b2('0x18'),'commandParams':[],'formatGroupId':_0x98b2('0x9')},_0x569380(_0x58aac5));});}),_0x424b09[_0x98b2('0x17')][_0x98b2('0x2')](_0x452f73=>{const {data:_0x4d1508}=_0x452f73;if(_0x4d1508&&_0x98b2('0x18')==_0x4d1508[_0x98b2('0x0')])return{'type':_0x98b2('0xd'),'content':_0x31abf3(_0xb60c50,_0x98b2('0x1c'),_0x31abf3(_0xb60c50,_0x98b2('0x26')))};}),_0x424b09[_0x98b2('0x3')](_0x98b2('0x35')),_0x4f5639[_0x98b2('0x2f')]['downcastDispatcher']['on'](_0x98b2('0x29'),ar(_0x4f5639),{'priority':'highest'}),_0x4f5639[_0x98b2('0x37')]['downcastDispatcher']['on'](_0x98b2('0x29'),(_0x34a893,_0x1ad410,_0x45f553)=>{_0x45f553[_0x98b2('0x11')][_0x98b2('0x5')]&&ar(_0x4f5639,{'showActiveMarker':!0x1})(_0x34a893,_0x1ad410,_0x45f553);},{'priority':_0x98b2('0x4')});const _0x2779d6=_0x424b09[_0x98b2('0x17')];_0x2779d6[_0x98b2('0x2')](_0x2c8fa6=>{if('insertion'!==_0x2c8fa6['type'])return;const {start:_0x3ce049,end:_0xe18ff6}=_0x2c8fa6[_0x98b2('0x2c')]();if(!_0x3ce049['isTouching'](_0xe18ff6)||!_0x3ce049[_0x98b2('0x1a')])return;const _0xb05f7b=_0x4f5639[_0x98b2('0xf')][_0x98b2('0x14')],_0x183b5c=_0x3ce049[_0x98b2('0x1a')];return _0xb05f7b[_0x98b2('0xb')](_0x183b5c)&&!_0xb05f7b[_0x98b2('0x1b')](_0x183b5c)&&_0xb05f7b['checkChild'](_0x183b5c,_0x98b2('0xc'))?{'type':'insertion','content':_0x31abf3(_0xb60c50,_0x98b2('0x31'),_0x2779d6[_0x98b2('0x1')](_0x183b5c,0x1))}:void 0x0;});}}function ar(_0x18d60d,{showActiveMarker:_0x3c5712=!0x0}={}){return(_0x3e86dc,_0x34d6b6,_0x471f62)=>{const _0x2df365=_0x18d60d['plugins'][_0x98b2('0x13')](_0x98b2('0x19')),_0x36dbc2=_0x34d6b6[_0x98b2('0x27')][_0x98b2('0x10')],_0x14a5f4=_0x34d6b6[_0x98b2('0x27')][_0x98b2('0x28')],_0x237171=_0x18d60d[_0x98b2('0xf')]['schema'];if(!_0x36dbc2[_0x98b2('0x1d')](_0x14a5f4)||!_0x36dbc2['nodeAfter'])return;const _0x37f906=_0x36dbc2[_0x98b2('0x1a')];if(_0x237171[_0x98b2('0xb')](_0x37f906)&&!_0x237171[_0x98b2('0x1b')](_0x37f906)&&_0x237171[_0x98b2('0xe')](_0x37f906,_0x98b2('0xc'))){if(!_0x471f62[_0x98b2('0x2b')][_0x98b2('0x24')](_0x34d6b6['markerRange'],_0x3e86dc['name']))return;const _0x5d9972=_0x471f62[_0x98b2('0x15')][_0x98b2('0x21')](_0x98b2('0x34'),{'class':_0x98b2('0x7')}),_0xf88720=_0x471f62['mapper'][_0x98b2('0x30')](_0x14a5f4);_0x3c5712&&_0x2df365['activeMarkers'][_0x98b2('0x2e')](_0x34d6b6[_0x98b2('0x2d')])&&_0x471f62[_0x98b2('0x15')][_0x98b2('0x8')](_0x98b2('0x36'),_0x5d9972),_0x471f62[_0x98b2('0x15')]['insert'](_0xf88720,_0x5d9972),_0x471f62[_0x98b2('0x23')][_0x98b2('0x25')](_0x5d9972,_0x34d6b6[_0x98b2('0x2d')]);}};}
23
+ const _0x159d=['paragraph','isTouching','editing','insertion','checkChild','editor','start','insert','registerDescriptionCallback','highest','type','options','model','parent','enableCommand','createUIElement','downcastDispatcher','span','Paragraph','addMarker:suggestion:insertion','getFirstRange','nodeAfter','addClass','filter','writer','markerName','format','schema','getItemLabel','change','consumable','data','mapper','insertParagraph','plugins','TrackChangesEditing','markerRange','isLimit','ck-suggestion-marker-split','afterInit','registerElementLabel','toViewPosition','isBlock','name','get','locale','$text','getSelectedBlocks','ELEMENT_PARAGRAPH','_descriptionFactory','bindElementToMarker','*Insert:*\x20%0','activeMarkers','selection','includes'];(function(_0x39bc37,_0x159d0d){const _0x4f3107=function(_0x1d3e8a){while(--_0x1d3e8a){_0x39bc37['push'](_0x39bc37['shift']());}};_0x4f3107(++_0x159d0d);}(_0x159d,0x156));const _0x4f31=function(_0x39bc37,_0x159d0d){_0x39bc37=_0x39bc37-0x0;let _0x4f3107=_0x159d[_0x39bc37];return _0x4f3107;};import{Plugin as _0x4407f5}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x1a195f}from'./utils';import{getTranslation as _0x40acb1}from'../utils/common-translations';export default class ct extends _0x4407f5{[_0x4f31('0x1b')](){const _0x4bed56=this[_0x4f31('0x30')];if(!_0x4bed56['plugins']['has'](_0x4f31('0x6')))return;const _0x163b99=_0x4bed56[_0x4f31('0x21')],_0x4164d5=_0x4bed56[_0x4f31('0x16')][_0x4f31('0x20')](_0x4f31('0x17'));_0x4164d5[_0x4f31('0x25')][_0x4f31('0x1c')](_0x4f31('0x2b'),_0x40e790=>_0x40acb1(_0x163b99,_0x4f31('0x24'),_0x40e790)),_0x4164d5[_0x4f31('0x2')](_0x4f31('0x2b'),(_0x598c26,_0x22d867={})=>{const _0x16b3dd=_0x4bed56[_0x4f31('0x0')]['document'],_0x23357b=_0x22d867['selection']||_0x16b3dd[_0x4f31('0x29')],_0x55f0da=Array['from'](_0x23357b[_0x4f31('0x23')]())[_0x4f31('0xb')](_0x279b3d=>function(_0xda439,_0x253fb9){return _0x253fb9[_0x4f31('0x2f')](_0xda439[_0x4f31('0x1')],'paragraph')&&!_0x253fb9['isObject'](_0xda439)&&_0x4f31('0x2b')!=_0xda439[_0x4f31('0x1f')];}(_0x279b3d,this['editor'][_0x4f31('0x0')]['schema']));_0x4bed56['model'][_0x4f31('0x11')](()=>{for(const _0x3aa61c of _0x55f0da)_0x4164d5['markBlockFormat'](_0x3aa61c,{'commandName':_0x4f31('0x2b'),'commandParams':[],'formatGroupId':'blockName'},_0x1a195f(_0x3aa61c));});}),_0x4164d5[_0x4f31('0x25')][_0x4f31('0x33')](_0x1e3a12=>{const {data:_0xd75d2a}=_0x1e3a12;if(_0xd75d2a&&_0x4f31('0x2b')==_0xd75d2a['commandName'])return{'type':_0x4f31('0xe'),'content':_0x40acb1(_0x163b99,'*Change\x20to:*\x20%0',_0x40acb1(_0x163b99,_0x4f31('0x24')))};}),_0x4164d5[_0x4f31('0x2')](_0x4f31('0x15')),_0x4bed56[_0x4f31('0x2d')][_0x4f31('0x4')]['on']('addMarker:suggestion:insertion',ar(_0x4bed56),{'priority':_0x4f31('0x34')}),_0x4bed56[_0x4f31('0x13')]['downcastDispatcher']['on'](_0x4f31('0x7'),(_0x1aee60,_0x46097b,_0x5363d4)=>{_0x5363d4[_0x4f31('0x36')]['showSuggestionHighlights']&&ar(_0x4bed56,{'showActiveMarker':!0x1})(_0x1aee60,_0x46097b,_0x5363d4);},{'priority':'highest'});const _0x48be7d=_0x4164d5[_0x4f31('0x25')];_0x48be7d['registerDescriptionCallback'](_0xaefbd9=>{if('insertion'!==_0xaefbd9[_0x4f31('0x35')])return;const {start:_0xb2c9fc,end:_0x4f98b2}=_0xaefbd9[_0x4f31('0x8')]();if(!_0xb2c9fc[_0x4f31('0x2c')](_0x4f98b2)||!_0xb2c9fc[_0x4f31('0x9')])return;const _0x3c9a0a=_0x4bed56[_0x4f31('0x0')][_0x4f31('0xf')],_0x3bb778=_0xb2c9fc['nodeAfter'];return _0x3c9a0a[_0x4f31('0x1e')](_0x3bb778)&&!_0x3c9a0a['isLimit'](_0x3bb778)&&_0x3c9a0a[_0x4f31('0x2f')](_0x3bb778,_0x4f31('0x22'))?{'type':_0x4f31('0x2e'),'content':_0x40acb1(_0x163b99,_0x4f31('0x27'),_0x48be7d[_0x4f31('0x10')](_0x3bb778,0x1))}:void 0x0;});}}function ar(_0x1ca799,{showActiveMarker:_0x2cc9c7=!0x0}={}){return(_0x5154a6,_0x2acdaa,_0x183705)=>{const _0x42f95d=_0x1ca799['plugins'][_0x4f31('0x20')](_0x4f31('0x17')),_0xd05628=_0x2acdaa[_0x4f31('0x18')][_0x4f31('0x31')],_0x567b1b=_0x2acdaa['markerRange']['end'],_0x22936b=_0x1ca799[_0x4f31('0x0')]['schema'];if(!_0xd05628[_0x4f31('0x2c')](_0x567b1b)||!_0xd05628[_0x4f31('0x9')])return;const _0x120b27=_0xd05628['nodeAfter'];if(_0x22936b[_0x4f31('0x1e')](_0x120b27)&&!_0x22936b[_0x4f31('0x19')](_0x120b27)&&_0x22936b[_0x4f31('0x2f')](_0x120b27,'$text')){if(!_0x183705[_0x4f31('0x12')]['consume'](_0x2acdaa[_0x4f31('0x18')],_0x5154a6[_0x4f31('0x1f')]))return;const _0x101c68=_0x183705['writer'][_0x4f31('0x3')](_0x4f31('0x5'),{'class':_0x4f31('0x1a')}),_0x4535ec=_0x183705[_0x4f31('0x14')][_0x4f31('0x1d')](_0x567b1b);_0x2cc9c7&&_0x42f95d[_0x4f31('0x28')][_0x4f31('0x2a')](_0x2acdaa[_0x4f31('0xd')])&&_0x183705[_0x4f31('0xc')][_0x4f31('0xa')]('ck-suggestion-marker--active',_0x101c68),_0x183705[_0x4f31('0xc')][_0x4f31('0x32')](_0x4535ec,_0x101c68),_0x183705[_0x4f31('0x14')][_0x4f31('0x26')](_0x101c68,_0x2acdaa[_0x4f31('0xd')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x58cb=['RemoveFormatEditing','has','getAttributeProperties','_descriptionFactory','schema','commandName','removeFormat','model','format','change','isFormatting','get','from','selection','getRanges','getAttributes','isCollapsed','plugins','editor'];(function(_0x46dc97,_0x58cbbe){const _0x3cf9ad=function(_0x8350f8){while(--_0x8350f8){_0x46dc97['push'](_0x46dc97['shift']());}};_0x3cf9ad(++_0x58cbbe);}(_0x58cb,0x18d));const _0x3cf9=function(_0x46dc97,_0x58cbbe){_0x46dc97=_0x46dc97-0x0;let _0x3cf9ad=_0x58cb[_0x46dc97];return _0x3cf9ad;};import{Plugin as _0x234998}from'ckeditor5/src/core';import{getTranslation as _0x36e952}from'../utils/common-translations';export default class ht extends _0x234998{['afterInit'](){const _0x500441=this[_0x3cf9('0x1')];if(!_0x500441[_0x3cf9('0x0')][_0x3cf9('0x3')](_0x3cf9('0x2')))return;const _0x5cdd32=_0x500441[_0x3cf9('0x0')][_0x3cf9('0xd')]('TrackChangesEditing');_0x5cdd32['enableCommand'](_0x3cf9('0x8'),_0x2f5486=>{const _0x3ff11b=_0x500441['model']['document'][_0x3cf9('0xf')];_0x3ff11b[_0x3cf9('0x12')]?_0x2f5486():_0x500441[_0x3cf9('0x9')][_0x3cf9('0xb')](()=>{const _0x5cb4ca=Array[_0x3cf9('0xe')](_0x3ff11b[_0x3cf9('0x10')]());for(const _0x15fdf4 of _0x5cb4ca)for(const _0x542269 of _0x15fdf4['getItems']())eo(_0x542269,_0x500441[_0x3cf9('0x9')][_0x3cf9('0x6')])&&_0x5cdd32['markInlineFormat'](_0x500441[_0x3cf9('0x9')]['createRangeOn'](_0x542269),{'commandName':'removeFormat','commandParams':[]});});}),_0x5cdd32[_0x3cf9('0x5')]['registerDescriptionCallback'](_0x3e5f8e=>{const {data:_0x8c90a3}=_0x3e5f8e;if(_0x8c90a3&&_0x3cf9('0x8')==_0x8c90a3[_0x3cf9('0x7')])return{'type':_0x3cf9('0xa'),'content':_0x36e952(_0x500441['locale'],'*Remove\x20all\x20formatting*')};});}}function eo(_0x55a6cd,_0x4c4a77){for(const [_0x444ea6]of _0x55a6cd[_0x3cf9('0x11')]()){const _0x30ba83=_0x4c4a77[_0x3cf9('0x4')](_0x444ea6);if(_0x30ba83&&_0x30ba83[_0x3cf9('0xc')])return!0x0;}return!0x1;}
23
+ const _0x45d5=['getItems','afterInit','enableCommand','getAttributeProperties','isCollapsed','isFormatting','registerDescriptionCallback','schema','editor','*Remove\x20all\x20formatting*','plugins','removeFormat','createRangeOn','markInlineFormat','change','format','get','TrackChangesEditing','document','selection','model'];(function(_0x29d512,_0x45d5c1){const _0x39e1a7=function(_0x44121f){while(--_0x44121f){_0x29d512['push'](_0x29d512['shift']());}};_0x39e1a7(++_0x45d5c1);}(_0x45d5,0x113));const _0x39e1=function(_0x29d512,_0x45d5c1){_0x29d512=_0x29d512-0x0;let _0x39e1a7=_0x45d5[_0x29d512];return _0x39e1a7;};import{Plugin as _0x1f4c42}from'ckeditor5/src/core';import{getTranslation as _0x22b854}from'../utils/common-translations';export default class ht extends _0x1f4c42{[_0x39e1('0x14')](){const _0x369913=this[_0x39e1('0x6')];if(!_0x369913[_0x39e1('0x8')]['has']('RemoveFormatEditing'))return;const _0x2f4329=_0x369913[_0x39e1('0x8')][_0x39e1('0xe')](_0x39e1('0xf'));_0x2f4329[_0x39e1('0x0')]('removeFormat',_0x5bf76a=>{const _0x7c568e=_0x369913[_0x39e1('0x12')][_0x39e1('0x10')][_0x39e1('0x11')];_0x7c568e[_0x39e1('0x2')]?_0x5bf76a():_0x369913[_0x39e1('0x12')][_0x39e1('0xc')](()=>{const _0x28e6c6=Array['from'](_0x7c568e['getRanges']());for(const _0x558114 of _0x28e6c6)for(const _0x1c7ab9 of _0x558114[_0x39e1('0x13')]())mo(_0x1c7ab9,_0x369913['model'][_0x39e1('0x5')])&&_0x2f4329[_0x39e1('0xb')](_0x369913['model'][_0x39e1('0xa')](_0x1c7ab9),{'commandName':'removeFormat','commandParams':[]});});}),_0x2f4329['_descriptionFactory'][_0x39e1('0x4')](_0x1f35fa=>{const {data:_0x12f625}=_0x1f35fa;if(_0x12f625&&_0x39e1('0x9')==_0x12f625['commandName'])return{'type':_0x39e1('0xd'),'content':_0x22b854(_0x369913['locale'],_0x39e1('0x7'))};});}}function mo(_0x1c76e9,_0x5a5985){for(const [_0x509374]of _0x1c76e9['getAttributes']()){const _0x2a3732=_0x5a5985[_0x39e1('0x1')](_0x509374);if(_0x2a3732&&_0x2a3732[_0x39e1('0x3')])return!0x0;}return!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7785=['goToNextRestrictedEditingException','RestrictedEditingModeEditing','plugins','discardAllSuggestions','trackChanges','discardSelectedSuggestions','discardSuggestion','acceptSuggestion','goToPreviousRestrictedEditingException','acceptAllSuggestions','TrackChangesEditing','enableCommand','get','has'];(function(_0xb6218d,_0x7785bc){const _0x4dcca4=function(_0x4824a3){while(--_0x4824a3){_0xb6218d['push'](_0xb6218d['shift']());}};_0x4dcca4(++_0x7785bc);}(_0x7785,0x93));const _0x4dcc=function(_0xb6218d,_0x7785bc){_0xb6218d=_0xb6218d-0x0;let _0x4dcca4=_0x7785[_0xb6218d];return _0x4dcca4;};import{Plugin as _0x129a43}from'ckeditor5/src/core';export default class ut extends _0x129a43{['afterInit'](){const _0x329eb4=this['editor'];if(!_0x329eb4[_0x4dcc('0x9')][_0x4dcc('0x6')](_0x4dcc('0x8')))return;const _0x51594b=_0x329eb4['plugins'][_0x4dcc('0x5')](_0x4dcc('0x3'));_0x51594b[_0x4dcc('0x4')](_0x4dcc('0x1')),_0x51594b['enableCommand'](_0x4dcc('0x7'));const _0x10f99c=_0x329eb4[_0x4dcc('0x9')][_0x4dcc('0x5')](_0x4dcc('0x8'));_0x10f99c[_0x4dcc('0x4')](_0x4dcc('0xb')),_0x10f99c[_0x4dcc('0x4')](_0x4dcc('0x0')),_0x10f99c['enableCommand'](_0x4dcc('0xd')),_0x10f99c['enableCommand'](_0x4dcc('0x2')),_0x10f99c['enableCommand'](_0x4dcc('0xa')),_0x10f99c[_0x4dcc('0x4')]('acceptSelectedSuggestions'),_0x10f99c[_0x4dcc('0x4')](_0x4dcc('0xc'));}}
23
+ const _0x59b5=['get','enableCommand','TrackChangesEditing','RestrictedEditingModeEditing','acceptAllSuggestions','discardAllSuggestions','afterInit','acceptSuggestion','plugins','goToNextRestrictedEditingException','acceptSelectedSuggestions','discardSelectedSuggestions','trackChanges','discardSuggestion'];(function(_0xc8f749,_0x59b57c){const _0x404ecb=function(_0x35b3c5){while(--_0x35b3c5){_0xc8f749['push'](_0xc8f749['shift']());}};_0x404ecb(++_0x59b57c);}(_0x59b5,0x98));const _0x404e=function(_0xc8f749,_0x59b57c){_0xc8f749=_0xc8f749-0x0;let _0x404ecb=_0x59b5[_0xc8f749];return _0x404ecb;};import{Plugin as _0x31c3a9}from'ckeditor5/src/core';export default class ut extends _0x31c3a9{[_0x404e('0x8')](){const _0x36fb6e=this['editor'];if(!_0x36fb6e[_0x404e('0xa')]['has'](_0x404e('0x5')))return;const _0x12342b=_0x36fb6e['plugins'][_0x404e('0x2')](_0x404e('0x4'));_0x12342b[_0x404e('0x3')]('goToPreviousRestrictedEditingException'),_0x12342b[_0x404e('0x3')](_0x404e('0xb'));const _0x6c234d=_0x36fb6e[_0x404e('0xa')][_0x404e('0x2')]('RestrictedEditingModeEditing');_0x6c234d[_0x404e('0x3')](_0x404e('0x0')),_0x6c234d['enableCommand'](_0x404e('0x9')),_0x6c234d[_0x404e('0x3')](_0x404e('0x1')),_0x6c234d['enableCommand'](_0x404e('0x6')),_0x6c234d[_0x404e('0x3')](_0x404e('0x7')),_0x6c234d['enableCommand'](_0x404e('0xc')),_0x6c234d[_0x404e('0x3')](_0x404e('0xd'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa9de=['downcastDispatcher','ck-suggestion-marker--active','includes','enableCommand','data','createUIElement','ELEMENT_LINE_BREAK','requires','TrackChangesEditing','span','addMarker:suggestion:insertion','locale','editing','high','editor','name','plugins','markerName','ck-suggestion-marker-','showSuggestionHighlights','addMarker:suggestion:deletion','split','options','softBreak','mapper','_descriptionFactory','bindElementToMarker','merge','get','addMarker:suggestion','getItems','writer','consumable'];(function(_0x21438c,_0xa9de12){const _0x6cb30=function(_0x48aadc){while(--_0x48aadc){_0x21438c['push'](_0x21438c['shift']());}};_0x6cb30(++_0xa9de12);}(_0xa9de,0xef));const _0x6cb3=function(_0x21438c,_0xa9de12){_0x21438c=_0x21438c-0x0;let _0x6cb30=_0xa9de[_0x21438c];return _0x6cb30;};import{Plugin as _0x2edf58}from'ckeditor5/src/core';import{ShiftEnter as _0x295317}from'ckeditor5/src/enter';import{getTranslation as _0x10a4d8}from'../utils/common-translations';export default class ft extends _0x2edf58{static get[_0x6cb3('0x20')](){return[_0x295317];}['init'](){const _0x3eef19=this[_0x6cb3('0x6')],_0x182c5f=_0x3eef19[_0x6cb3('0x8')]['get'](_0x6cb3('0x0'));_0x182c5f[_0x6cb3('0x1c')]('shiftEnter'),_0x3eef19[_0x6cb3('0x4')][_0x6cb3('0x19')]['on'](_0x6cb3('0x2'),re(_0x3eef19),{'priority':_0x6cb3('0x5')}),_0x3eef19['editing']['downcastDispatcher']['on'](_0x6cb3('0xc'),re(_0x3eef19),{'priority':_0x6cb3('0x5')}),_0x3eef19[_0x6cb3('0x1d')][_0x6cb3('0x19')]['on'](_0x6cb3('0x15'),(_0x58a594,_0x39c983,_0x41ebb4)=>{_0x41ebb4[_0x6cb3('0xe')][_0x6cb3('0xb')]&&re(_0x3eef19,{'showActiveMarker':!0x1})(_0x58a594,_0x39c983,_0x41ebb4);}),_0x182c5f[_0x6cb3('0x11')]['registerElementLabel'](_0x6cb3('0xf'),_0xb87719=>_0x10a4d8(_0x3eef19[_0x6cb3('0x3')],_0x6cb3('0x1f'),_0xb87719));}}function re(_0x233732,{showActiveMarker:_0x21dbbf=!0x0}={}){return(_0x49ab9d,_0x1fbefd,_0x1f0204)=>{const _0x2e147f=_0x233732[_0x6cb3('0x8')][_0x6cb3('0x14')]('TrackChangesEditing');if(!_0x1f0204[_0x6cb3('0x18')]['test'](_0x1fbefd['markerRange'],_0x49ab9d[_0x6cb3('0x7')]))return;const _0x32e7ff=_0x233732['model'];for(const _0x1da7bd of _0x1fbefd['markerRange'][_0x6cb3('0x16')]()){if(!_0x1da7bd['is']('element',_0x6cb3('0xf')))continue;const _0x213570='deletion'==_0x1fbefd['markerName']['split'](':')[0x1]?_0x6cb3('0x13'):_0x6cb3('0xd'),_0x234f48=_0x1f0204[_0x6cb3('0x17')][_0x6cb3('0x1e')](_0x6cb3('0x1'),{'class':_0x6cb3('0xa')+_0x213570}),_0x2197f3=_0x1f0204[_0x6cb3('0x10')]['toViewPosition'](_0x32e7ff['createPositionBefore'](_0x1da7bd));_0x21dbbf&&_0x2e147f['activeMarkers'][_0x6cb3('0x1b')](_0x1fbefd[_0x6cb3('0x9')])&&_0x1f0204[_0x6cb3('0x17')]['addClass'](_0x6cb3('0x1a'),_0x234f48),_0x1f0204['writer']['insert'](_0x2197f3,_0x234f48),_0x1f0204[_0x6cb3('0x10')][_0x6cb3('0x12')](_0x234f48,_0x1fbefd[_0x6cb3('0x9')]);}};}
23
+ const _0x104f=['data','registerElementLabel','addClass','addMarker:suggestion:deletion','bindElementToMarker','deletion','_descriptionFactory','init','split','addMarker:suggestion:insertion','high','plugins','ck-suggestion-marker--active','createPositionBefore','mapper','TrackChangesEditing','span','shiftEnter','get','markerRange','editing','ck-suggestion-marker-','writer','insert','ELEMENT_LINE_BREAK','merge','markerName','downcastDispatcher','softBreak','name','showSuggestionHighlights','toViewPosition'];(function(_0x5af198,_0x104f1e){const _0x17a4c9=function(_0xb8893c){while(--_0xb8893c){_0x5af198['push'](_0x5af198['shift']());}};_0x17a4c9(++_0x104f1e);}(_0x104f,0x1e2));const _0x17a4=function(_0x5af198,_0x104f1e){_0x5af198=_0x5af198-0x0;let _0x17a4c9=_0x104f[_0x5af198];return _0x17a4c9;};import{Plugin as _0x2e2343}from'ckeditor5/src/core';import{ShiftEnter as _0x3ef80b}from'ckeditor5/src/enter';import{getTranslation as _0x2f9e7d}from'../utils/common-translations';export default class ft extends _0x2e2343{static get['requires'](){return[_0x3ef80b];}[_0x17a4('0x5')](){const _0x2c5425=this['editor'],_0x4c4c44=_0x2c5425[_0x17a4('0x9')][_0x17a4('0x10')](_0x17a4('0xd'));_0x4c4c44['enableCommand'](_0x17a4('0xf')),_0x2c5425['editing'][_0x17a4('0x19')]['on'](_0x17a4('0x7'),re(_0x2c5425),{'priority':'high'}),_0x2c5425[_0x17a4('0x12')][_0x17a4('0x19')]['on'](_0x17a4('0x1'),re(_0x2c5425),{'priority':_0x17a4('0x8')}),_0x2c5425[_0x17a4('0x1e')][_0x17a4('0x19')]['on']('addMarker:suggestion',(_0x86e792,_0xe11e4,_0x5ac4b8)=>{_0x5ac4b8['options'][_0x17a4('0x1c')]&&re(_0x2c5425,{'showActiveMarker':!0x1})(_0x86e792,_0xe11e4,_0x5ac4b8);}),_0x4c4c44[_0x17a4('0x4')][_0x17a4('0x1f')](_0x17a4('0x1a'),_0x7b41b2=>_0x2f9e7d(_0x2c5425['locale'],_0x17a4('0x16'),_0x7b41b2));}}function re(_0x49c6f4,{showActiveMarker:_0x4f4e6a=!0x0}={}){return(_0x284af1,_0x224817,_0xfa1fef)=>{const _0x165b0f=_0x49c6f4['plugins'][_0x17a4('0x10')]('TrackChangesEditing');if(!_0xfa1fef['consumable']['test'](_0x224817['markerRange'],_0x284af1[_0x17a4('0x1b')]))return;const _0xac2e0f=_0x49c6f4['model'];for(const _0x1f224a of _0x224817[_0x17a4('0x11')]['getItems']()){if(!_0x1f224a['is']('element',_0x17a4('0x1a')))continue;const _0x35bc2c=_0x17a4('0x3')==_0x224817['markerName']['split'](':')[0x1]?_0x17a4('0x17'):_0x17a4('0x6'),_0x420823=_0xfa1fef[_0x17a4('0x14')]['createUIElement'](_0x17a4('0xe'),{'class':_0x17a4('0x13')+_0x35bc2c}),_0x507de8=_0xfa1fef['mapper'][_0x17a4('0x1d')](_0xac2e0f[_0x17a4('0xb')](_0x1f224a));_0x4f4e6a&&_0x165b0f['activeMarkers']['includes'](_0x224817['markerName'])&&_0xfa1fef['writer'][_0x17a4('0x0')](_0x17a4('0xa'),_0x420823),_0xfa1fef[_0x17a4('0x14')][_0x17a4('0x15')](_0x507de8,_0x420823),_0xfa1fef[_0x17a4('0xc')][_0x17a4('0x2')](_0x420823,_0x224817[_0x17a4('0x18')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x40df=['model','_descriptionFactory','commands','value','isCollapsed','format','enableCommand','restrictedEditingException','plugins','commandName','document','FORMAT_RESTRICTED_DISABLED','get','editor','selection','forceValue','has','TrackChangesEditing'];(function(_0x1107e2,_0x40df9b){const _0x486e86=function(_0x41976c){while(--_0x41976c){_0x1107e2['push'](_0x1107e2['shift']());}};_0x486e86(++_0x40df9b);}(_0x40df,0xab));const _0x486e=function(_0x1107e2,_0x40df9b){_0x1107e2=_0x1107e2-0x0;let _0x486e86=_0x40df[_0x1107e2];return _0x486e86;};import{Plugin as _0x5c3156}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x35ba74}from'./utils';import{getTranslation as _0x577dd8}from'../utils/common-translations';export default class lt extends _0x5c3156{['afterInit'](){const _0xf5bce7=this[_0x486e('0x4')],_0x135ba0=_0xf5bce7[_0x486e('0x9')],_0x22b679=_0xf5bce7['locale'];if(!_0xf5bce7[_0x486e('0x11')][_0x486e('0x7')]('StandardEditingModeEditing'))return;const _0x59d714=_0xf5bce7[_0x486e('0x11')]['get'](_0x486e('0x8')),_0x40b004=_0x486e('0x10'),_0x28afa6=_0xf5bce7[_0x486e('0xb')][_0x486e('0x3')](_0x40b004);_0x59d714[_0x486e('0xf')](_0x40b004,(_0x3dda67,_0x1bfc1c={})=>{const _0xc8680c=_0x135ba0[_0x486e('0x1')][_0x486e('0x5')];if(_0xc8680c[_0x486e('0xd')])return void _0x3dda67(_0x1bfc1c);const _0x22b2bc=void 0x0!==_0x1bfc1c[_0x486e('0x6')]?_0x1bfc1c['forceValue']:!_0x28afa6[_0x486e('0xc')];_0x135ba0['change'](()=>{const _0x3f452f=Array['from'](_0xc8680c['getRanges']());for(const _0x3769d3 of _0x3f452f){const _0x3fdc75=_0x22b2bc?[_0x3769d3]:_0x35ba74(_0x40b004,_0x3769d3,_0x135ba0);for(const _0x97b48e of _0x3fdc75)_0x59d714['markInlineFormat'](_0x97b48e,{'commandName':_0x40b004,'commandParams':[{'forceValue':_0x22b2bc}]});}});}),_0x59d714[_0x486e('0xa')]['registerDescriptionCallback'](_0x599ae6=>{const {data:_0x3896ed}=_0x599ae6;if(_0x3896ed&&_0x3896ed[_0x486e('0x0')]==_0x40b004)return _0x3896ed['commandParams'][0x0][_0x486e('0x6')]?{'type':_0x486e('0xe'),'content':_0x577dd8(_0x22b679,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':_0x577dd8(_0x22b679,_0x486e('0x2'))};});}}
23
+ const _0xb70e=['plugins','afterInit','TrackChangesEditing','markInlineFormat','editor','model','value','FORMAT_RESTRICTED_DISABLED','commandParams','forceValue','FORMAT_RESTRICTED_ENABLED','document','from','selection','format','enableCommand','change','commands','isCollapsed','StandardEditingModeEditing','registerDescriptionCallback','has','restrictedEditingException','_descriptionFactory'];(function(_0x533a0d,_0xb70ec4){const _0x23dcf2=function(_0x1729e7){while(--_0x1729e7){_0x533a0d['push'](_0x533a0d['shift']());}};_0x23dcf2(++_0xb70ec4);}(_0xb70e,0x1c1));const _0x23dc=function(_0x533a0d,_0xb70ec4){_0x533a0d=_0x533a0d-0x0;let _0x23dcf2=_0xb70e[_0x533a0d];return _0x23dcf2;};import{Plugin as _0x292ed6}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x5e51f7}from'./utils';import{getTranslation as _0xf267e6}from'../utils/common-translations';export default class lt extends _0x292ed6{[_0x23dc('0x8')](){const _0x36fa88=this[_0x23dc('0xb')],_0x4e2680=_0x36fa88[_0x23dc('0xc')],_0x4dc72a=_0x36fa88['locale'];if(!_0x36fa88[_0x23dc('0x7')][_0x23dc('0x4')](_0x23dc('0x2')))return;const _0x3389d2=_0x36fa88[_0x23dc('0x7')]['get'](_0x23dc('0x9')),_0x196744=_0x23dc('0x5'),_0x36cb91=_0x36fa88[_0x23dc('0x0')]['get'](_0x196744);_0x3389d2[_0x23dc('0x16')](_0x196744,(_0x1b3dbf,_0x539324={})=>{const _0x1eb3fe=_0x4e2680[_0x23dc('0x12')][_0x23dc('0x14')];if(_0x1eb3fe[_0x23dc('0x1')])return void _0x1b3dbf(_0x539324);const _0x10274f=void 0x0!==_0x539324[_0x23dc('0x10')]?_0x539324[_0x23dc('0x10')]:!_0x36cb91[_0x23dc('0xd')];_0x4e2680[_0x23dc('0x17')](()=>{const _0x34a1df=Array[_0x23dc('0x13')](_0x1eb3fe['getRanges']());for(const _0x421d8f of _0x34a1df){const _0x32f484=_0x10274f?[_0x421d8f]:_0x5e51f7(_0x196744,_0x421d8f,_0x4e2680);for(const _0x3ff1be of _0x32f484)_0x3389d2[_0x23dc('0xa')](_0x3ff1be,{'commandName':_0x196744,'commandParams':[{'forceValue':_0x10274f}]});}});}),_0x3389d2[_0x23dc('0x6')][_0x23dc('0x3')](_0x3e78a=>{const {data:_0x17e49f}=_0x3e78a;if(_0x17e49f&&_0x17e49f['commandName']==_0x196744)return _0x17e49f[_0x23dc('0xf')][0x0][_0x23dc('0x10')]?{'type':_0x23dc('0x15'),'content':_0xf267e6(_0x4dc72a,_0x23dc('0x11'))}:{'type':'format','content':_0xf267e6(_0x4dc72a,_0x23dc('0xe'))};});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d4b=['document','*Remove\x20format:*\x20%0','TrackChangesEditing','_descriptionFactory','classes','from','modelElements','DataSchema','element','push','enabledStyles','change','getRanges','*Format:*\x20%0','has','locale','plugins','block','getAttribute','_getRangesWithClasses','config','getSelectedBlocks','getDefinitionsForView','afterInit','toLowerCase','_getStyleDefinition','markInlineFormat','Style','includes','find','name','every','isBlock','createRangeOn','enableCommand','commandName','add','commandParams','style:','model','styleName','selection','normalizeConfig','inline','StyleUtils','editor','style','get'];(function(_0x405785,_0x5d4bf0){const _0x4e41d2=function(_0x2f50fb){while(--_0x2f50fb){_0x405785['push'](_0x405785['shift']());}};_0x4e41d2(++_0x5d4bf0);}(_0x5d4b,0x172));const _0x4e41=function(_0x405785,_0x5d4bf0){_0x405785=_0x405785-0x0;let _0x4e41d2=_0x5d4b[_0x405785];return _0x4e41d2;};import{Plugin as _0x7d49ac}from'ckeditor5/src/core';import{getTranslation as _0x46a3d0}from'../utils/common-translations';export default class gt extends _0x7d49ac{[_0x4e41('0x25')](){const _0x4a96d4=this[_0x4e41('0xb')];if(!_0x4a96d4['plugins'][_0x4e41('0x1c')](_0x4e41('0x29')))return;const _0x30ecfd=_0x4a96d4['commands'][_0x4e41('0xd')](_0x4e41('0xc')),_0x2c8cff=_0x4a96d4[_0x4e41('0x1e')]['get'](_0x4e41('0x10')),_0x1adf74=_0x4a96d4[_0x4e41('0x1d')],_0x3753bc=_0x4a96d4['plugins'][_0x4e41('0xd')](_0x4e41('0x15')),_0x26759d=_0x4a96d4[_0x4e41('0x1e')]['get'](_0x4e41('0xa'))[_0x4e41('0x8')](_0x3753bc,_0x4a96d4[_0x4e41('0x22')]['get']('style.definitions'));_0x2c8cff[_0x4e41('0x0')]('style',(_0x393f27,{styleName:_0x485119})=>{const _0x46b99f=_0x4a96d4[_0x4e41('0x5')][_0x4e41('0xe')][_0x4e41('0x7')],_0x4725cb=this[_0x4e41('0x27')](_0x485119,_0x26759d);if(!_0x4725cb)return;if(!_0x30ecfd[_0x4e41('0x18')]['includes'](_0x485119))return;if(_0x46b99f['isCollapsed']&&!_0x4725cb['isBlock'])return void _0x393f27({'styleName':_0x485119});const _0x45dd1d=!_0x30ecfd['value'][_0x4e41('0x2a')](_0x4725cb[_0x4e41('0x2c')]);if(_0x4725cb[_0x4e41('0x2e')]){const _0x537285=function(_0x31586e,_0xc00b93){const _0x112041=new Set();for(const _0x2d8a1c of _0x31586e){const _0x28a406=_0x2d8a1c['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0xb7652b of _0x28a406)if(_0xc00b93[_0x4e41('0x2a')](_0xb7652b[_0x4e41('0x2c')])){_0x112041[_0x4e41('0x2')](_0xb7652b);break;}}return _0x112041;}(_0x46b99f[_0x4e41('0x23')](),_0x4725cb[_0x4e41('0x14')]);_0x4a96d4[_0x4e41('0x5')][_0x4e41('0x19')](()=>{for(const _0xe6faa6 of _0x537285)_0x2c8cff['markBlockFormat'](_0xe6faa6,{'commandName':'style','commandParams':[{'styleName':_0x485119,'forceValue':_0x45dd1d}],'formatGroupId':_0x4e41('0x4')+_0x485119});});}else{let _0x19af19=Array[_0x4e41('0x13')](_0x46b99f[_0x4e41('0x1a')]());if(!_0x45dd1d){const _0x14eedc=Array[_0x4e41('0x13')](_0x3753bc[_0x4e41('0x24')](_0x4725cb[_0x4e41('0x16')],!0x1))[0x0][_0x4e41('0x5')],_0x1d3f9e=[];for(const _0x3721b2 of _0x19af19){const _0x2f2ab7=this[_0x4e41('0x21')](_0x4a96d4[_0x4e41('0x5')],_0x3721b2,_0x4725cb[_0x4e41('0x12')],_0x14eedc);_0x1d3f9e[_0x4e41('0x17')](..._0x2f2ab7);}_0x19af19=_0x1d3f9e;}_0x4a96d4[_0x4e41('0x5')][_0x4e41('0x19')](()=>{for(const _0xecf3c1 of _0x19af19)_0x2c8cff[_0x4e41('0x28')](_0xecf3c1,{'commandName':_0x4e41('0xc'),'commandParams':[{'styleName':_0x485119,'forceValue':_0x45dd1d}]});});}}),_0x2c8cff[_0x4e41('0x11')]['registerDescriptionCallback'](_0x559d41=>{const {data:_0x54b502}=_0x559d41;if(_0x54b502&&_0x4e41('0xc')===_0x54b502[_0x4e41('0x1')])return _0x54b502[_0x4e41('0x3')][0x0]['forceValue']?{'type':'format','content':_0x46a3d0(_0x1adf74,_0x4e41('0x1b'),_0x54b502[_0x4e41('0x3')][0x0]['styleName']['toLowerCase']())}:{'type':'format','content':_0x46a3d0(_0x1adf74,_0x4e41('0xf'),_0x54b502[_0x4e41('0x3')][0x0][_0x4e41('0x6')][_0x4e41('0x26')]())};});}[_0x4e41('0x27')](_0x3fd153,_0x5a8d9){let _0x118f2b=_0x5a8d9[_0x4e41('0x1f')][_0x4e41('0x2b')](_0x436dfb=>_0x436dfb['name']===_0x3fd153);return _0x118f2b||(_0x118f2b=_0x5a8d9[_0x4e41('0x9')][_0x4e41('0x2b')](_0x1e0081=>_0x1e0081[_0x4e41('0x2c')]===_0x3fd153)),_0x118f2b;}['_getRangesWithClasses'](_0x15582b,_0x2f1b7c,_0x5a9587,_0x359b83){const _0x584d9c=[];for(const _0x420c48 of _0x2f1b7c['getItems']()){const _0x336694=_0x420c48[_0x4e41('0x20')](_0x359b83);_0x336694&&(_0x5a9587[_0x4e41('0x2d')](_0x4e5705=>_0x336694[_0x4e41('0x12')][_0x4e41('0x2a')](_0x4e5705))&&_0x584d9c[_0x4e41('0x17')](_0x15582b[_0x4e41('0x2f')](_0x420c48)));}return _0x584d9c;}}
23
+ const _0x262d=['getItems','enableCommand','selection','TrackChangesEditing','change','markInlineFormat','_getRangesWithClasses','value','inline','includes','getRanges','every','config','StyleUtils','modelElements','createRangeOn','plugins','registerDescriptionCallback','toLowerCase','getSelectedBlocks','style.definitions','format','isBlock','commands','style:','push','normalizeConfig','editor','getDefinitionsForView','from','*Format:*\x20%0','find','styleName','commandParams','_getStyleDefinition','document','markBlockFormat','getAncestors','has','forceValue','name','style','Style','getAttribute','add','locale','isCollapsed','afterInit','model','get'];(function(_0x122612,_0x262d8b){const _0x356871=function(_0x5c6d2e){while(--_0x5c6d2e){_0x122612['push'](_0x122612['shift']());}};_0x356871(++_0x262d8b);}(_0x262d,0xb0));const _0x3568=function(_0x122612,_0x262d8b){_0x122612=_0x122612-0x0;let _0x356871=_0x262d[_0x122612];return _0x356871;};import{Plugin as _0x44ded7}from'ckeditor5/src/core';import{getTranslation as _0x2d813f}from'../utils/common-translations';export default class gt extends _0x44ded7{[_0x3568('0x15')](){const _0x2c0387=this[_0x3568('0x1')];if(!_0x2c0387[_0x3568('0x28')][_0x3568('0xc')](_0x3568('0x10')))return;const _0xd37930=_0x2c0387[_0x3568('0x2f')][_0x3568('0x17')](_0x3568('0xf')),_0x2575d0=_0x2c0387['plugins']['get'](_0x3568('0x1b')),_0x8f1a90=_0x2c0387[_0x3568('0x13')],_0x39e2fb=_0x2c0387['plugins']['get']('DataSchema'),_0x38662b=_0x2c0387[_0x3568('0x28')][_0x3568('0x17')](_0x3568('0x25'))[_0x3568('0x0')](_0x39e2fb,_0x2c0387[_0x3568('0x24')][_0x3568('0x17')](_0x3568('0x2c')));_0x2575d0[_0x3568('0x19')](_0x3568('0xf'),(_0x1afe40,{styleName:_0x43a20c})=>{const _0x3b54c9=_0x2c0387[_0x3568('0x16')][_0x3568('0x9')][_0x3568('0x1a')],_0x547048=this[_0x3568('0x8')](_0x43a20c,_0x38662b);if(!_0x547048)return;if(!_0xd37930['enabledStyles'][_0x3568('0x21')](_0x43a20c))return;if(_0x3b54c9[_0x3568('0x14')]&&!_0x547048[_0x3568('0x2e')])return void _0x1afe40({'styleName':_0x43a20c});const _0x2cad35=!_0xd37930[_0x3568('0x1f')]['includes'](_0x547048[_0x3568('0xe')]);if(_0x547048['isBlock']){const _0x5eaebb=function(_0x5870de,_0x3914fb){const _0x249cbf=new Set();for(const _0x41bf43 of _0x5870de){const _0x286ca6=_0x41bf43[_0x3568('0xb')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x465389 of _0x286ca6)if(_0x3914fb['includes'](_0x465389['name'])){_0x249cbf[_0x3568('0x12')](_0x465389);break;}}return _0x249cbf;}(_0x3b54c9[_0x3568('0x2b')](),_0x547048[_0x3568('0x26')]);_0x2c0387[_0x3568('0x16')]['change'](()=>{for(const _0x223375 of _0x5eaebb)_0x2575d0[_0x3568('0xa')](_0x223375,{'commandName':_0x3568('0xf'),'commandParams':[{'styleName':_0x43a20c,'forceValue':_0x2cad35}],'formatGroupId':_0x3568('0x30')+_0x43a20c});});}else{let _0xabc2c1=Array[_0x3568('0x3')](_0x3b54c9[_0x3568('0x22')]());if(!_0x2cad35){const _0x2f446=Array[_0x3568('0x3')](_0x39e2fb[_0x3568('0x2')](_0x547048['element'],!0x1))[0x0][_0x3568('0x16')],_0x59edc3=[];for(const _0x503c6e of _0xabc2c1){const _0x3aab5b=this[_0x3568('0x1e')](_0x2c0387[_0x3568('0x16')],_0x503c6e,_0x547048['classes'],_0x2f446);_0x59edc3[_0x3568('0x31')](..._0x3aab5b);}_0xabc2c1=_0x59edc3;}_0x2c0387[_0x3568('0x16')][_0x3568('0x1c')](()=>{for(const _0x286a64 of _0xabc2c1)_0x2575d0[_0x3568('0x1d')](_0x286a64,{'commandName':_0x3568('0xf'),'commandParams':[{'styleName':_0x43a20c,'forceValue':_0x2cad35}]});});}}),_0x2575d0['_descriptionFactory'][_0x3568('0x29')](_0x287aa0=>{const {data:_0xbdc503}=_0x287aa0;if(_0xbdc503&&_0x3568('0xf')===_0xbdc503['commandName'])return _0xbdc503[_0x3568('0x7')][0x0][_0x3568('0xd')]?{'type':'format','content':_0x2d813f(_0x8f1a90,_0x3568('0x4'),_0xbdc503[_0x3568('0x7')][0x0]['styleName'][_0x3568('0x2a')]())}:{'type':_0x3568('0x2d'),'content':_0x2d813f(_0x8f1a90,'*Remove\x20format:*\x20%0',_0xbdc503[_0x3568('0x7')][0x0][_0x3568('0x6')][_0x3568('0x2a')]())};});}[_0x3568('0x8')](_0x2a99e2,_0x243440){let _0x297f22=_0x243440['block'][_0x3568('0x5')](_0x16cd8a=>_0x16cd8a[_0x3568('0xe')]===_0x2a99e2);return _0x297f22||(_0x297f22=_0x243440[_0x3568('0x20')]['find'](_0x36e275=>_0x36e275[_0x3568('0xe')]===_0x2a99e2)),_0x297f22;}[_0x3568('0x1e')](_0x5228be,_0x133015,_0x92bb04,_0x1c34a9){const _0x55f7d8=[];for(const _0x4f58b0 of _0x133015[_0x3568('0x18')]()){const _0x590a59=_0x4f58b0[_0x3568('0x11')](_0x1c34a9);_0x590a59&&(_0x92bb04[_0x3568('0x23')](_0xda7285=>_0x590a59['classes'][_0x3568('0x21')](_0xda7285))&&_0x55f7d8[_0x3568('0x31')](_0x5228be[_0x3568('0x27')](_0x4f58b0)));}return _0x55f7d8;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x56e7=['registerDescriptionCallback','removeClass','every','fromRange','TableUtils','insertion','isTouching','ELEMENT_TABLE_ROW','get','registerElementLabel','hasAttribute','plugins','batch','markMultiRangeDeletion','ELEMENT_TABLE','registerCustomCallback','tablePaste','last','findAncestor','some','commands','removeTableColumn','_suggestionFactory','addMarker:suggestion','enqueueChange','change:data','setSelection','ELEMENT_TABLE_COLUMN_WITH_TEXT','rootName','_getCoordsForCells','_acceptFormatSuggestionCallbackFactory','getRanges','isArray','type','name','element','low','root','execute','values','from','insertTable','$graveyard','selection','position','registerPostFixer','forceValue','addClass','_getSuggestionCoords','$textProxy','maxRow','_descriptionFactory','createTableWalker','insertTableRowBelow','_setupColumnsRowsFixing','getItems','toViewElement','end','above','createRangeIn','length','getRowIndexes','filter','suggestion','getAttribute','editor','nodeBefore','change','removeTableRow','deletion','item','getFirstRange','downcastDispatcher','getSelectionAffectedTableCells','writer','nodeAfter','getSuggestion','accept','differ','showSuggestionHighlights','insertTableRowAbove','minColumn','insertTableColumnRight','start','_tablePostFixingSubtypes','getCellLocation','min','MIN_SAFE_INTEGER','getColumnIndexes','map','detach','add','data','toLowerCase','oldRange','table','getChildren','getChanges','markMultiRangeInsertion','highest','classes','TrackChangesEditing','startsWith','ELEMENT_TABLE_COLUMN','createRangeOn','colspan','span','substr','tableColumn','join','refresh','isEqual','addRange','document','tableRow','tableCell','model','enableCommand','*Insert:*\x20%0','minRow','subType','*Remove:*\x20%0','ELEMENT_TABLE_ROW_WITH_TEXT','first','options','push','ELEMENT_TABLE_WITH_TEXT','discard','max','rowspan','_tableSuggestions','order','cell','includes','locale','afterInit','left'];(function(_0x330bb2,_0x56e77a){const _0x57c9eb=function(_0x3ea95b){while(--_0x3ea95b){_0x330bb2['push'](_0x330bb2['shift']());}};_0x57c9eb(++_0x56e77a);}(_0x56e7,0x71));const _0x57c9=function(_0x330bb2,_0x56e77a){_0x330bb2=_0x330bb2-0x0;let _0x57c9eb=_0x56e7[_0x330bb2];return _0x57c9eb;};import{Plugin as _0x1c98dc}from'ckeditor5/src/core';import{LiveRange as _0x2461bd}from'ckeditor5/src/engine';import{setHighlightHandling as _0xd57c4}from'ckeditor5/src/widget';import{getTranslation as _0x209475}from'../utils/common-translations';export default class mt extends _0x1c98dc{constructor(_0x5716ff){super(_0x5716ff),this[_0x57c9('0x6c')]=['tableRow',_0x57c9('0x84')],this[_0x57c9('0x11')]=new Set();}[_0x57c9('0x16')](){const _0x2366a9=this[_0x57c9('0x59')],_0x27b0e0=_0x2366a9['model'][_0x57c9('0x0')][_0x57c9('0x43')];if(!_0x2366a9[_0x57c9('0x23')]['has']('TableEditing'))return;const _0x5a4d65=_0x2366a9[_0x57c9('0x15')],_0x15e43f=_0x2366a9[_0x57c9('0x23')]['get'](_0x57c9('0x7d')),_0x49c3bc=_0x2366a9['plugins'][_0x57c9('0x20')](_0x57c9('0x1c'));_0x15e43f[_0x57c9('0x4b')][_0x57c9('0x21')](_0x57c9('0x77'),_0xfe1b91=>_0x209475(_0x5a4d65,_0x57c9('0x26'),_0xfe1b91)),this[_0x57c9('0x4e')](),_0x15e43f[_0x57c9('0x4')](_0x57c9('0x41')),_0x15e43f['enableCommand']('selectTableRow'),_0x15e43f[_0x57c9('0x4')]('selectTableColumn');for(const _0x184551 of[_0x57c9('0x68'),_0x57c9('0x4d')]){const _0xd561d1=_0x2366a9[_0x57c9('0x2c')][_0x57c9('0x20')](_0x184551);_0x15e43f[_0x57c9('0x4')](_0x184551,_0x55c8fd=>{_0x2366a9['model']['change'](_0x5a0bc7=>{_0x55c8fd();const _0x405e65=_0x57c9('0x52')===_0xd561d1['order'],_0xe24fea=_0x49c3bc['getSelectionAffectedTableCells'](_0x27b0e0),_0x517584=_0x49c3bc[_0x57c9('0x55')](_0xe24fea),_0x4475f0=_0x405e65?_0x517584['first']-0x1:_0x517584['last']+0x1,_0x36a8a8=_0xe24fea[0x0]['findAncestor']('table'),_0x5e72c7=_0x49c3bc[_0x57c9('0x4c')](_0x36a8a8,{'startRow':_0x4475f0,'endRow':_0x4475f0}),_0x11d83=Array[_0x57c9('0x40')](_0x5e72c7)[_0x57c9('0x71')](_0x4b8ef1=>_0x5a0bc7[_0x57c9('0x80')](_0x4b8ef1[_0x57c9('0x13')]));_0x15e43f['markMultiRangeInsertion'](_0x11d83,_0x57c9('0x1'));});});}for(const _0x3a7afd of['insertTableColumnLeft',_0x57c9('0x6a')]){const _0x388c0d=_0x2366a9[_0x57c9('0x2c')]['get'](_0x3a7afd);_0x15e43f[_0x57c9('0x4')](_0x3a7afd,_0x1c4372=>{_0x2366a9['model']['change'](_0x390a28=>{_0x1c4372();const _0x425d47=_0x57c9('0x17')===_0x388c0d[_0x57c9('0x12')],_0x5c3be7=_0x49c3bc[_0x57c9('0x61')](_0x27b0e0),_0x22eef6=_0x49c3bc['getColumnIndexes'](_0x5c3be7),_0x50b2a5=_0x425d47?_0x22eef6['first']-0x1:_0x22eef6[_0x57c9('0x29')]+0x1,_0x4a542e=_0x5c3be7[0x0]['findAncestor'](_0x57c9('0x77')),_0x3c8637=_0x49c3bc[_0x57c9('0x4c')](_0x4a542e,{'startRow':0x0,'column':_0x50b2a5,'includeAllSlots':!0x1}),_0x163ca0=Array[_0x57c9('0x40')](_0x3c8637)['map'](_0x5d3dd1=>_0x390a28['createRangeOn'](_0x5d3dd1[_0x57c9('0x13')]));_0x15e43f[_0x57c9('0x7a')](_0x163ca0,_0x57c9('0x84'));});});}for(const _0x5ea9e1 of[_0x57c9('0x5c'),_0x57c9('0x2d')]){const _0xe9602c=_0x5ea9e1[_0x57c9('0x83')](0xb),_0x3d2e4b=_0xe9602c[_0x57c9('0x75')](),_0x3e57c8=_0x3d2e4b[_0x57c9('0x83')](0x0,0x3)+'span',_0x4cff91='table'+_0xe9602c,_0x119372=_0x57c9('0x6e')+_0xe9602c,_0x4fa41a='max'+_0xe9602c;_0x15e43f['enableCommand'](_0x5ea9e1,()=>{_0x2366a9[_0x57c9('0x3')][_0x57c9('0x5b')](_0xc5a01f=>{const _0x6d883e=_0x49c3bc[_0x57c9('0x61')](_0x27b0e0),_0x16047a=_0x6d883e[0x0]['findAncestor'](_0x57c9('0x77'));let _0xaa27e6;if(_0x57c9('0x5c')==_0x5ea9e1){const _0x2e4af2=_0x49c3bc[_0x57c9('0x55')](_0x6d883e);_0xaa27e6={'startRow':_0x2e4af2[_0x57c9('0xa')],'endRow':_0x2e4af2['last'],'includeAllSlots':!0x0};}else{const _0x4cc112=_0x49c3bc[_0x57c9('0x70')](_0x6d883e);_0xaa27e6={'startColumn':_0x4cc112['first'],'endColumn':_0x4cc112[_0x57c9('0x29')],'includeAllSlots':!0x0};}const _0x208026=_0x49c3bc[_0x57c9('0x4c')](_0x16047a,_0xaa27e6),_0x3292ff=Array[_0x57c9('0x40')](_0x208026)[_0x57c9('0x71')](({cell:_0x57d400})=>_0x57d400),_0x5674a2=se(_0x3292ff[_0x57c9('0x56')](_0x4cb4a5=>_0x4cb4a5[_0x57c9('0x22')](_0x3e57c8))),_0x3397ee=se(_0x3292ff[_0x57c9('0x56')](_0x272307=>!_0x272307[_0x57c9('0x22')](_0x3e57c8)))[_0x57c9('0x71')](_0x217a39=>_0xc5a01f[_0x57c9('0x80')](_0x217a39)),_0x402e48=_0x15e43f[_0x57c9('0x25')](_0x3397ee,_0x4cff91);if(_0x402e48&&(_0x57c9('0x1')==_0x402e48[_0x57c9('0x7')]||_0x57c9('0x84')==_0x402e48[_0x57c9('0x7')])){const _0x3b2c7d=this[_0x57c9('0x48')](_0x402e48);for(const _0x5161ce of _0x5674a2){const _0x1f3e27=_0xc5a01f[_0x57c9('0x80')](_0x5161ce),_0x4edb0f=_0x49c3bc[_0x57c9('0x6d')](_0x5161ce),_0x27caee=_0x5161ce[_0x57c9('0x58')](_0x3e57c8)-0x1,_0x2194d1=_0x3b2c7d[_0x119372],_0x475f9e=_0x3b2c7d[_0x4fa41a];_0x2194d1<=_0x4edb0f[_0x3d2e4b]&&_0x4edb0f[_0x3d2e4b]+_0x27caee<=_0x475f9e&&_0x402e48[_0x57c9('0x88')](_0x1f3e27);}}});});}function _0x30ec12(_0x2843f4){const _0x3bc702=Array[_0x57c9('0x40')](_0x27b0e0[_0x57c9('0x37')]())['map'](_0x12c446=>_0x2461bd['fromRange'](_0x12c446));_0x2366a9[_0x57c9('0x3')][_0x57c9('0x5b')](_0x2901bb=>{const _0x1e4b0e=_0x2901bb[_0x57c9('0x24')];_0x2843f4=_0x2843f4['filter'](_0x5ab6d1=>_0x57c9('0x42')!=_0x5ab6d1[_0x57c9('0x3d')][_0x57c9('0x34')]),_0x2901bb['setSelection'](_0x2843f4),_0x2366a9[_0x57c9('0x2c')][_0x57c9('0x20')](_0x57c9('0x5c'))['refresh'](),_0x2366a9[_0x57c9('0x3e')](_0x57c9('0x5c'),{'forceDefaultExecution':!0x0}),_0x2366a9[_0x57c9('0x3')][_0x57c9('0x30')](()=>{_0x2366a9[_0x57c9('0x3')][_0x57c9('0x30')](_0x1e4b0e,_0x36e136=>{const _0x540872=_0x3bc702[_0x57c9('0x56')](_0xdcaf7b=>_0x57c9('0x42')!=_0xdcaf7b[_0x57c9('0x3d')][_0x57c9('0x34')]);_0x540872[_0x57c9('0x54')]>0x0&&_0x36e136['setSelection'](_0x540872);for(const _0x220885 of _0x3bc702)_0x220885[_0x57c9('0x72')]();});});});}function _0x5a947e(_0x59136c){_0x2366a9[_0x57c9('0x3')][_0x57c9('0x5b')](_0xc0c83b=>{const _0x100d45=Array[_0x57c9('0x40')](_0x27b0e0[_0x57c9('0x37')]())[_0x57c9('0x71')](_0x4a4484=>_0x2461bd['fromRange'](_0x4a4484)),_0x4d3eb7=[];for(const _0x3567ae of _0x59136c)for(const _0x531e30 of _0x3567ae[_0x57c9('0x4f')]({'shallow':!0x0}))_0x4d3eb7[_0x57c9('0xc')](_0x531e30);for(const _0x4a29fd of _0x4d3eb7)_0x57c9('0x42')!=_0x4a29fd[_0x57c9('0x3d')][_0x57c9('0x34')]&&(_0xc0c83b[_0x57c9('0x32')](_0xc0c83b['createPositionAt'](_0x4a29fd,0x0)),_0x2366a9[_0x57c9('0x2c')][_0x57c9('0x20')](_0x57c9('0x2d'))[_0x57c9('0x86')](),_0x2366a9['execute'](_0x57c9('0x2d'),{'forceDefaultExecution':!0x0}));const _0x50c189=_0x100d45[_0x57c9('0x56')](_0x298d51=>_0x57c9('0x42')!=_0x298d51[_0x57c9('0x3d')][_0x57c9('0x34')]);_0x50c189['length']>0x0&&_0xc0c83b[_0x57c9('0x32')](_0x50c189);for(const _0x38b4fa of _0x100d45)_0x38b4fa[_0x57c9('0x72')]();});}function _0x43b245(_0x150599,_0x801fc){return _0x801fc[_0x57c9('0x1a')](_0xb99aa6=>_0x150599[_0x57c9('0x2b')](_0x371e6a=>_0x371e6a[_0x57c9('0x51')][_0x57c9('0x87')](_0xb99aa6[_0x57c9('0x6b')])||_0xb99aa6[_0x57c9('0x51')][_0x57c9('0x87')](_0x371e6a[_0x57c9('0x6b')])));}function _0x27f362(_0x2b74f0,_0x2a38cb){return _0x2b74f0[_0x57c9('0x2b')](_0x530c4c=>_0x2a38cb[_0x57c9('0x2b')](_0x3839e7=>_0x530c4c['end'][_0x57c9('0x1e')](_0x3839e7[_0x57c9('0x6b')])));}_0x2366a9[_0x57c9('0x74')][_0x57c9('0x60')]['on'](_0x57c9('0x2f'),(_0x1a78e9,_0x3dd623,_0x3ada78)=>{if(!_0x3ada78[_0x57c9('0xb')][_0x57c9('0x67')])return;const _0x456d57=_0x3dd623[_0x57c9('0x5e')];if(!_0x456d57)return;const _0x29882c=_0x3ada78['mapper'][_0x57c9('0x50')](_0x456d57);function _0x119a1d(_0x23b0f0){return Array[_0x57c9('0x38')](_0x23b0f0)?_0x23b0f0:[_0x23b0f0];}_0x29882c&&_0x57c9('0x2')===_0x456d57[_0x57c9('0x3a')]&&_0xd57c4(_0x29882c,_0x3ada78[_0x57c9('0x62')],(_0xbf49,_0xc5f20,_0x3b48d8)=>_0x3b48d8[_0x57c9('0x47')](_0x119a1d(_0xc5f20['classes']),_0xbf49),(_0x4a96bc,_0x21e025,_0x368613)=>_0x368613[_0x57c9('0x19')](_0x119a1d(_0x21e025[_0x57c9('0x7c')]),_0x4a96bc));},{'priority':_0x57c9('0x7b')}),_0x15e43f[_0x57c9('0x4b')][_0x57c9('0x18')](_0x41c257=>{if(_0x57c9('0x1d')!=_0x41c257[_0x57c9('0x39')]&&_0x57c9('0x5d')!=_0x41c257[_0x57c9('0x39')])return;const _0x3580ca=_0x41c257['getContainedElement']();if(null!=_0x3580ca&&_0x3580ca['is'](_0x57c9('0x3b'),_0x57c9('0x77'))){if(_0x57c9('0x1d')==_0x41c257['type']){const _0x1fe2d5=_0x41c257['getItems']()[_0x57c9('0x56')](_0x2d749c=>_0x2d749c['is'](_0x57c9('0x49')))[_0x57c9('0x71')](_0x26452f=>_0x26452f[_0x57c9('0x74')]);if(_0x1fe2d5['length'])return{'type':_0x57c9('0x1d'),'content':_0x209475(_0x5a4d65,'*Insert:*\x20%0',_0x209475(_0x5a4d65,_0x57c9('0xd'),'\x22'+_0x1fe2d5['join']('\x20')+'\x22'))};}if(_0x57c9('0x5d')==_0x41c257[_0x57c9('0x39')]){const _0x4724e2=_0x41c257[_0x57c9('0x4f')]()['filter'](_0x5eede3=>_0x5eede3['is'](_0x57c9('0x49')))[_0x57c9('0x71')](_0x54ddc7=>_0x54ddc7[_0x57c9('0x74')]);if(_0x4724e2[_0x57c9('0x54')])return{'type':_0x57c9('0x5d'),'content':_0x209475(_0x5a4d65,_0x57c9('0x8'),_0x209475(_0x5a4d65,_0x57c9('0xd'),'\x22'+_0x4724e2[_0x57c9('0x85')]('\x20')+'\x22'))};}}}),_0x15e43f[_0x57c9('0x4b')]['registerDescriptionCallback'](_0x49a5dc=>{if('tableRow'==_0x49a5dc[_0x57c9('0x7')]){const _0x2a1f32=_0x49a5dc[_0x57c9('0x4f')]()[_0x57c9('0x56')](_0x5eee30=>_0x5eee30['is']('$textProxy'))[_0x57c9('0x71')](_0x30591a=>_0x30591a[_0x57c9('0x74')]),_0x582546=this['_getSuggestionCoords'](_0x49a5dc),_0x32d98d=_0x582546[_0x57c9('0x4a')]-_0x582546[_0x57c9('0x6')]+0x1;if(_0x57c9('0x1d')==_0x49a5dc[_0x57c9('0x39')])return _0x2a1f32['length']?{'type':_0x57c9('0x1d'),'content':_0x209475(_0x5a4d65,'*Insert:*\x20%0',_0x209475(_0x5a4d65,_0x57c9('0x9'),[_0x32d98d,'\x22'+_0x2a1f32['join']('\x20')+'\x22']))}:{'type':_0x57c9('0x1d'),'content':_0x209475(_0x5a4d65,_0x57c9('0x5'),_0x209475(_0x5a4d65,_0x57c9('0x1f'),_0x32d98d))};if('deletion'==_0x49a5dc[_0x57c9('0x39')])return _0x2a1f32[_0x57c9('0x54')]?{'type':_0x57c9('0x5d'),'content':_0x209475(_0x5a4d65,_0x57c9('0x8'),_0x209475(_0x5a4d65,_0x57c9('0x9'),[_0x32d98d,'\x22'+_0x2a1f32[_0x57c9('0x85')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x209475(_0x5a4d65,_0x57c9('0x8'),_0x209475(_0x5a4d65,_0x57c9('0x1f'),_0x32d98d))};}if(_0x57c9('0x84')==_0x49a5dc[_0x57c9('0x7')]){const _0x314550=_0x49a5dc['getItems']()[_0x57c9('0x56')](_0x251a4f=>_0x251a4f['is']('$textProxy'))['map'](_0x46356e=>_0x46356e['data']),_0x2b61d4=this[_0x57c9('0x48')](_0x49a5dc),_0x2ebb37=_0x2b61d4['maxColumn']-_0x2b61d4[_0x57c9('0x69')]+0x1;if(_0x57c9('0x1d')==_0x49a5dc[_0x57c9('0x39')])return _0x314550['length']?{'type':_0x57c9('0x1d'),'content':_0x209475(_0x5a4d65,'*Insert:*\x20%0',_0x209475(_0x5a4d65,_0x57c9('0x33'),[_0x2ebb37,'\x22'+_0x314550['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x209475(_0x5a4d65,_0x57c9('0x5'),_0x209475(_0x5a4d65,_0x57c9('0x7f'),_0x2ebb37))};if(_0x57c9('0x5d')==_0x49a5dc[_0x57c9('0x39')])return _0x314550['length']?{'type':_0x57c9('0x5d'),'content':_0x209475(_0x5a4d65,_0x57c9('0x8'),_0x209475(_0x5a4d65,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x2ebb37,'\x22'+_0x314550[_0x57c9('0x85')]('\x20')+'\x22']))}:{'type':_0x57c9('0x5d'),'content':_0x209475(_0x5a4d65,_0x57c9('0x8'),_0x209475(_0x5a4d65,_0x57c9('0x7f'),_0x2ebb37))};}}),_0x15e43f[_0x57c9('0x2e')][_0x57c9('0x27')]('insertion','tableRow',_0x57c9('0xe'),_0x30ec12),_0x15e43f[_0x57c9('0x2e')][_0x57c9('0x27')](_0x57c9('0x5d'),_0x57c9('0x1'),_0x57c9('0x65'),_0x30ec12),_0x15e43f[_0x57c9('0x2e')]['registerCustomCallback']('insertion',_0x57c9('0x84'),_0x57c9('0xe'),_0x5a947e),_0x15e43f['_suggestionFactory'][_0x57c9('0x27')](_0x57c9('0x5d'),'tableColumn',_0x57c9('0x65'),_0x5a947e),_0x15e43f[_0x57c9('0x2e')]['registerCustomCallback']('insertion',_0x57c9('0x84'),_0x57c9('0x85'),_0x43b245),_0x15e43f['_suggestionFactory'][_0x57c9('0x27')]('deletion',_0x57c9('0x84'),_0x57c9('0x85'),_0x43b245),_0x15e43f[_0x57c9('0x2e')][_0x57c9('0x27')](_0x57c9('0x1d'),_0x57c9('0x1'),_0x57c9('0x85'),_0x27f362),_0x15e43f['_suggestionFactory'][_0x57c9('0x27')]('deletion',_0x57c9('0x1'),_0x57c9('0x85'),_0x27f362);}[_0x57c9('0x36')](){const _0xbac73c=this[_0x57c9('0x59')],_0x85967e=_0xbac73c['model'][_0x57c9('0x0')]['selection'];return(_0x512708,_0x5ac733)=>{_0xbac73c['model']['change'](_0x4e125a=>{const {commandName:_0x2498a3,commandParams:_0x5468b8}=_0x5ac733;let _0x17ba50=_0x512708[0x0][_0x57c9('0x51')][_0x57c9('0x5a')];_0x5468b8&&_0x5468b8[0x0]&&!0x1===_0x5468b8[0x0][_0x57c9('0x46')]&&(_0x17ba50=_0x512708[0x0][_0x57c9('0x6b')][_0x57c9('0x63')]);const _0x5cb47b=_0x4e125a[_0x57c9('0x53')](_0x17ba50);if('$graveyard'==_0x5cb47b[_0x57c9('0x3d')][_0x57c9('0x34')])return;const _0x104d5d=Array[_0x57c9('0x40')](_0x85967e[_0x57c9('0x37')]())[_0x57c9('0x71')](_0x3cdc38=>_0x2461bd[_0x57c9('0x1b')](_0x3cdc38));_0x4e125a[_0x57c9('0x32')](_0x5cb47b),_0xbac73c[_0x57c9('0x2c')]['get'](_0x2498a3)[_0x57c9('0x86')](),_0x5468b8['push']({'forceDefaultExecution':!0x0}),_0xbac73c['execute'](_0x2498a3,..._0x5468b8);const _0x3cac3e=_0x104d5d['filter'](_0x1b0ebb=>_0x57c9('0x42')!=_0x1b0ebb[_0x57c9('0x3d')][_0x57c9('0x34')]);_0x3cac3e[_0x57c9('0x54')]>0x0&&_0x4e125a[_0x57c9('0x32')](_0x3cac3e);for(const _0x150ecd of _0x104d5d)_0x150ecd[_0x57c9('0x72')]();});};}[_0x57c9('0x35')](_0x2af977){const _0x2d1fee=this[_0x57c9('0x59')][_0x57c9('0x23')][_0x57c9('0x20')](_0x57c9('0x1c'));let _0x25883f=Number['MAX_SAFE_INTEGER'],_0x3e3c8e=Number[_0x57c9('0x6f')],_0x40cc50=Number['MAX_SAFE_INTEGER'],_0x59cb94=Number[_0x57c9('0x6f')];for(const _0x78a8e0 of _0x2af977){if(_0x57c9('0x42')==_0x78a8e0[_0x57c9('0x3d')][_0x57c9('0x34')])continue;const {row:_0xe5b887,column:_0x49d594}=_0x2d1fee['getCellLocation'](_0x78a8e0),_0x31e4f3=_0x78a8e0['hasAttribute'](_0x57c9('0x10'))?_0x78a8e0[_0x57c9('0x58')](_0x57c9('0x10'))-0x1:0x0,_0x1ac171=_0x78a8e0[_0x57c9('0x22')](_0x57c9('0x81'))?_0x78a8e0[_0x57c9('0x58')]('colspan')-0x1:0x0;_0x25883f=_0xe5b887<_0x25883f?_0xe5b887:_0x25883f,_0x3e3c8e=_0xe5b887+_0x31e4f3>_0x3e3c8e?_0xe5b887+_0x31e4f3:_0x3e3c8e,_0x40cc50=_0x49d594<_0x40cc50?_0x49d594:_0x40cc50,_0x59cb94=_0x49d594+_0x1ac171>_0x59cb94?_0x49d594+_0x1ac171:_0x59cb94;}return{'minRow':_0x25883f,'maxRow':_0x3e3c8e,'minColumn':_0x40cc50,'maxColumn':_0x59cb94};}['_setupColumnsRowsFixing'](){const _0x4056b6=this[_0x57c9('0x59')],_0x186165=_0x4056b6['plugins'][_0x57c9('0x20')](_0x57c9('0x7d')),_0xddf2d5=_0x4056b6[_0x57c9('0x23')][_0x57c9('0x20')]('TableUtils');_0x4056b6[_0x57c9('0x3')][_0x57c9('0x0')]['on'](_0x57c9('0x31'),()=>{const _0x342a97=Array[_0x57c9('0x40')](_0x4056b6['model'][_0x57c9('0x0')][_0x57c9('0x66')]['getChangedMarkers']());for(const {name:_0x2407bd,data:_0x1ae7e3}of _0x342a97){const {group:_0xdb9749,id:_0x16cf83,subType:_0x23648a}=_0x186165['_splitMarkerName'](_0x2407bd);if(_0x57c9('0x57')!=_0xdb9749)continue;if(null!=_0x1ae7e3[_0x57c9('0x76')])continue;const _0x5a386b=_0x186165[_0x57c9('0x64')](_0x16cf83);this[_0x57c9('0x6c')][_0x57c9('0x14')](_0x23648a)&&this[_0x57c9('0x11')][_0x57c9('0x73')](_0x5a386b);}},{'priority':_0x57c9('0x3c')});const _0x522aa8=(_0x92e151,_0x51928a)=>{let _0x1234e4=!0x1;const _0x491046=_0x51928a[_0x57c9('0x80')](_0x92e151),_0x5ef74d=_0x92e151[_0x57c9('0x2a')]('table'),_0x3bd692=_0xddf2d5[_0x57c9('0x6d')](_0x92e151);for(const _0x58c3b3 of this[_0x57c9('0x11')]){const _0x143231=_0x58c3b3['subType'],_0x293fde=_0x143231[_0x57c9('0x7e')](_0x57c9('0x28')),_0xeb9cd9=_0x143231[_0x57c9('0x83')](_0x293fde?0xa:0x5),_0x2da3c=_0xeb9cd9[_0x57c9('0x75')](),_0x5a36ed=_0x2da3c[_0x57c9('0x83')](0x0,0x3)+_0x57c9('0x82'),_0x5869da='min'+_0xeb9cd9,_0x563660=_0x57c9('0xf')+_0xeb9cd9;if(!_0x58c3b3['isInContent'])continue;if(_0x5ef74d!=_0x58c3b3[_0x57c9('0x5f')]()['start'][_0x57c9('0x2a')](_0x57c9('0x77')))continue;if(_0x58c3b3['isIntersectingWithRange'](_0x491046))continue;const _0x6fe205=_0x92e151[_0x57c9('0x22')](_0x5a36ed)?_0x92e151[_0x57c9('0x58')](_0x5a36ed)-0x1:0x0,_0x39ba9e=this[_0x57c9('0x48')](_0x58c3b3),_0x107280=_0x39ba9e[_0x5869da],_0x548e53=_0x39ba9e[_0x563660];_0x107280<=_0x3bd692[_0x2da3c]&&_0x3bd692[_0x2da3c]+_0x6fe205<=_0x548e53&&(_0x58c3b3[_0x57c9('0x88')](_0x491046),_0x1234e4=!0x0);}return _0x1234e4;};_0x4056b6[_0x57c9('0x3')][_0x57c9('0x0')][_0x57c9('0x45')](_0x3c3361=>{let _0x5a1c4b=!0x1;for(const _0x22bff2 of _0x4056b6['model'][_0x57c9('0x0')][_0x57c9('0x66')][_0x57c9('0x79')]())if('insert'==_0x22bff2[_0x57c9('0x39')]){if(_0x57c9('0x1')==_0x22bff2[_0x57c9('0x3a')])for(const _0xc5cf0c of _0x22bff2[_0x57c9('0x44')][_0x57c9('0x63')][_0x57c9('0x78')]())_0x5a1c4b=_0x5a1c4b||_0x522aa8(_0xc5cf0c,_0x3c3361);else _0x57c9('0x2')==_0x22bff2[_0x57c9('0x3a')]&&(_0x5a1c4b=_0x5a1c4b||_0x522aa8(_0x22bff2['position'][_0x57c9('0x63')],_0x3c3361));}return _0x5a1c4b;});}['_getSuggestionCoords'](_0x540057){return this[_0x57c9('0x35')](_0x540057[_0x57c9('0x37')]()[_0x57c9('0x71')](_0x25aa8d=>_0x25aa8d[_0x57c9('0x6b')]['nodeAfter']));}}function se(_0x372f09){return Array[_0x57c9('0x40')](new Set(_0x372f09)[_0x57c9('0x3f')]());}
23
+ const _0xcc58=['substr','toLowerCase','document','differ','deletion','filter','rootName','left','minRow','isArray','map','enqueueChange','markMultiRangeDeletion','getItems','tableCell','createRangeOn','ELEMENT_TABLE_WITH_TEXT','registerDescriptionCallback','ELEMENT_TABLE_ROW','ELEMENT_TABLE_COLUMN','low','nodeAfter','tableColumn','selectTableColumn','length','removeClass','type','showSuggestionHighlights','createRangeIn','getFirstRange','options','start','getContainedElement','MIN_SAFE_INTEGER','isIntersectingWithRange','getSelectionAffectedTableCells','table','forceValue','insert','mapper','data','ELEMENT_TABLE','createTableWalker','getChanges','execute','selection','includes','fromRange','classes','*Insert:*\x20%0','_suggestionFactory','_acceptFormatSuggestionCallbackFactory','$textProxy','position','change','isTouching','insertTableColumnLeft','createPositionAt','ELEMENT_TABLE_ROW_WITH_TEXT','maxRow','min','item','writer','push','downcastDispatcher','TableEditing','registerCustomCallback','_setupColumnsRowsFixing','get','values','removeTableRow','last','rowspan','getChildren','setSelection','startsWith','_splitMarkerName','tablePaste','commands','from','locale','max','hasAttribute','root','markMultiRangeInsertion','batch','TableUtils','registerElementLabel','nodeBefore','suggestion','some','span','element','order','end','colspan','_descriptionFactory','getRanges','*Remove:*\x20%0','plugins','cell','insertTableRowAbove','has','highest','removeTableColumn','enableCommand','editor','model','toViewElement','name','discard','above','getAttribute','detach','ELEMENT_TABLE_COLUMN_WITH_TEXT','tableRow','getSuggestion','insertTableRowBelow','accept','join','change:data','insertion','addMarker:suggestion','findAncestor','subType','_tablePostFixingSubtypes','getCellLocation','TrackChangesEditing','minColumn','first','isEqual','refresh','getColumnIndexes','$graveyard','_tableSuggestions','_getSuggestionCoords','insertTable','addClass','_getCoordsForCells','addRange'];(function(_0x3a1ac0,_0xcc58f1){const _0x354c98=function(_0x476ed4){while(--_0x476ed4){_0x3a1ac0['push'](_0x3a1ac0['shift']());}};_0x354c98(++_0xcc58f1);}(_0xcc58,0x158));const _0x354c=function(_0x3a1ac0,_0xcc58f1){_0x3a1ac0=_0x3a1ac0-0x0;let _0x354c98=_0xcc58[_0x3a1ac0];return _0x354c98;};import{Plugin as _0x4ac848}from'ckeditor5/src/core';import{LiveRange as _0x451ecb}from'ckeditor5/src/engine';import{setHighlightHandling as _0x4ed48f}from'ckeditor5/src/widget';import{getTranslation as _0x20a1cc}from'../utils/common-translations';export default class mt extends _0x4ac848{constructor(_0xfbc21d){super(_0xfbc21d),this[_0x354c('0x3d')]=[_0x354c('0x33'),'tableColumn'],this[_0x354c('0x46')]=new Set();}['afterInit'](){const _0x700f23=this[_0x354c('0x2a')],_0x57487f=_0x700f23['model'][_0x354c('0x4e')][_0x354c('0x79')];if(!_0x700f23[_0x354c('0x23')][_0x354c('0x26')](_0x354c('0x1')))return;const _0xb32df=_0x700f23[_0x354c('0x10')],_0x1fae45=_0x700f23['plugins']['get'](_0x354c('0x3f')),_0x324a94=_0x700f23[_0x354c('0x23')]['get'](_0x354c('0x16'));_0x1fae45[_0x354c('0x20')][_0x354c('0x17')]('table',_0x1d61be=>_0x20a1cc(_0xb32df,_0x354c('0x75'),_0x1d61be)),this['_setupColumnsRowsFixing'](),_0x1fae45[_0x354c('0x29')](_0x354c('0x48')),_0x1fae45['enableCommand']('selectTableRow'),_0x1fae45[_0x354c('0x29')](_0x354c('0x63'));for(const _0x36cf57 of[_0x354c('0x25'),_0x354c('0x35')]){const _0x13b866=_0x700f23[_0x354c('0xe')][_0x354c('0x4')](_0x36cf57);_0x1fae45[_0x354c('0x29')](_0x36cf57,_0x30b031=>{_0x700f23['model'][_0x354c('0x82')](_0x1a9b6b=>{_0x30b031();const _0x372e9b=_0x354c('0x2f')===_0x13b866[_0x354c('0x1d')],_0x3eaf0e=_0x324a94[_0x354c('0x6f')](_0x57487f),_0x26272b=_0x324a94['getRowIndexes'](_0x3eaf0e),_0x22cdda=_0x372e9b?_0x26272b[_0x354c('0x41')]-0x1:_0x26272b[_0x354c('0x7')]+0x1,_0x3c4a40=_0x3eaf0e[0x0]['findAncestor']('table'),_0x5e79d9=_0x324a94[_0x354c('0x76')](_0x3c4a40,{'startRow':_0x22cdda,'endRow':_0x22cdda}),_0xc24be8=Array[_0x354c('0xf')](_0x5e79d9)[_0x354c('0x56')](_0x2b7b75=>_0x1a9b6b[_0x354c('0x5b')](_0x2b7b75[_0x354c('0x24')]));_0x1fae45['markMultiRangeInsertion'](_0xc24be8,_0x354c('0x33'));});});}for(const _0x2f94f4 of[_0x354c('0x84'),'insertTableColumnRight']){const _0x2958d1=_0x700f23[_0x354c('0xe')][_0x354c('0x4')](_0x2f94f4);_0x1fae45['enableCommand'](_0x2f94f4,_0x50d8f1=>{_0x700f23['model']['change'](_0x25899c=>{_0x50d8f1();const _0x1a6d55=_0x354c('0x53')===_0x2958d1['order'],_0x70c6a6=_0x324a94['getSelectionAffectedTableCells'](_0x57487f),_0x56eab3=_0x324a94['getColumnIndexes'](_0x70c6a6),_0x1c7cae=_0x1a6d55?_0x56eab3[_0x354c('0x41')]-0x1:_0x56eab3['last']+0x1,_0x4eba65=_0x70c6a6[0x0][_0x354c('0x3b')]('table'),_0x30c634=_0x324a94[_0x354c('0x76')](_0x4eba65,{'startRow':0x0,'column':_0x1c7cae,'includeAllSlots':!0x1}),_0x1651ad=Array[_0x354c('0xf')](_0x30c634)[_0x354c('0x56')](_0x176967=>_0x25899c[_0x354c('0x5b')](_0x176967['cell']));_0x1fae45[_0x354c('0x14')](_0x1651ad,_0x354c('0x62'));});});}for(const _0x2bcb50 of[_0x354c('0x6'),_0x354c('0x28')]){const _0x5b1e54=_0x2bcb50[_0x354c('0x4c')](0xb),_0x3d2ad6=_0x5b1e54[_0x354c('0x4d')](),_0x346d64=_0x3d2ad6[_0x354c('0x4c')](0x0,0x3)+_0x354c('0x1b'),_0xf99169=_0x354c('0x70')+_0x5b1e54,_0x3c3f45='min'+_0x5b1e54,_0x4c39a3=_0x354c('0x11')+_0x5b1e54;_0x1fae45[_0x354c('0x29')](_0x2bcb50,()=>{_0x700f23[_0x354c('0x2b')]['change'](_0x28c280=>{const _0x2ba157=_0x324a94[_0x354c('0x6f')](_0x57487f),_0x2e0b6c=_0x2ba157[0x0]['findAncestor'](_0x354c('0x70'));let _0x19a494;if('removeTableRow'==_0x2bcb50){const _0x1bb224=_0x324a94['getRowIndexes'](_0x2ba157);_0x19a494={'startRow':_0x1bb224['first'],'endRow':_0x1bb224[_0x354c('0x7')],'includeAllSlots':!0x0};}else{const _0xbfd329=_0x324a94[_0x354c('0x44')](_0x2ba157);_0x19a494={'startColumn':_0xbfd329['first'],'endColumn':_0xbfd329['last'],'includeAllSlots':!0x0};}const _0x50ddb3=_0x324a94[_0x354c('0x76')](_0x2e0b6c,_0x19a494),_0x15f5bb=Array[_0x354c('0xf')](_0x50ddb3)[_0x354c('0x56')](({cell:_0x1739f8})=>_0x1739f8),_0x363b84=se(_0x15f5bb[_0x354c('0x51')](_0x344018=>_0x344018[_0x354c('0x12')](_0x346d64))),_0x3b95f6=se(_0x15f5bb[_0x354c('0x51')](_0x5a277b=>!_0x5a277b['hasAttribute'](_0x346d64)))['map'](_0x214f70=>_0x28c280['createRangeOn'](_0x214f70)),_0x2e5b7a=_0x1fae45[_0x354c('0x58')](_0x3b95f6,_0xf99169);if(_0x2e5b7a&&(_0x354c('0x33')==_0x2e5b7a['subType']||_0x354c('0x62')==_0x2e5b7a['subType'])){const _0x3f3e6d=this[_0x354c('0x47')](_0x2e5b7a);for(const _0x231f1f of _0x363b84){const _0x21c4a7=_0x28c280[_0x354c('0x5b')](_0x231f1f),_0x2c6b4e=_0x324a94[_0x354c('0x3e')](_0x231f1f),_0x341d59=_0x231f1f[_0x354c('0x30')](_0x346d64)-0x1,_0x100b8a=_0x3f3e6d[_0x3c3f45],_0x2a466b=_0x3f3e6d[_0x4c39a3];_0x100b8a<=_0x2c6b4e[_0x3d2ad6]&&_0x2c6b4e[_0x3d2ad6]+_0x341d59<=_0x2a466b&&_0x2e5b7a[_0x354c('0x4b')](_0x21c4a7);}}});});}function _0x1fd488(_0xa98b11){const _0x43667d=Array['from'](_0x57487f[_0x354c('0x21')]())[_0x354c('0x56')](_0x4308d8=>_0x451ecb[_0x354c('0x7b')](_0x4308d8));_0x700f23['model'][_0x354c('0x82')](_0x41670c=>{const _0x3d1e6f=_0x41670c[_0x354c('0x15')];_0xa98b11=_0xa98b11['filter'](_0x4ceffe=>_0x354c('0x45')!=_0x4ceffe[_0x354c('0x13')][_0x354c('0x52')]),_0x41670c[_0x354c('0xa')](_0xa98b11),_0x700f23[_0x354c('0xe')][_0x354c('0x4')](_0x354c('0x6'))[_0x354c('0x43')](),_0x700f23[_0x354c('0x78')](_0x354c('0x6'),{'forceDefaultExecution':!0x0}),_0x700f23[_0x354c('0x2b')][_0x354c('0x57')](()=>{_0x700f23['model']['enqueueChange'](_0x3d1e6f,_0x4a3ff2=>{const _0x271354=_0x43667d['filter'](_0x2fbbca=>_0x354c('0x45')!=_0x2fbbca[_0x354c('0x13')]['rootName']);_0x271354[_0x354c('0x64')]>0x0&&_0x4a3ff2['setSelection'](_0x271354);for(const _0x445ed0 of _0x43667d)_0x445ed0[_0x354c('0x31')]();});});});}function _0x487beb(_0x394292){_0x700f23['model'][_0x354c('0x82')](_0x5b12ac=>{const _0x202cf8=Array[_0x354c('0xf')](_0x57487f[_0x354c('0x21')]())[_0x354c('0x56')](_0x5b5fd9=>_0x451ecb[_0x354c('0x7b')](_0x5b5fd9)),_0x37c81b=[];for(const _0x1a051b of _0x394292)for(const _0x2c7484 of _0x1a051b[_0x354c('0x59')]({'shallow':!0x0}))_0x37c81b[_0x354c('0x8b')](_0x2c7484);for(const _0x5556e5 of _0x37c81b)_0x354c('0x45')!=_0x5556e5[_0x354c('0x13')][_0x354c('0x52')]&&(_0x5b12ac[_0x354c('0xa')](_0x5b12ac[_0x354c('0x85')](_0x5556e5,0x0)),_0x700f23['commands'][_0x354c('0x4')](_0x354c('0x28'))['refresh'](),_0x700f23[_0x354c('0x78')]('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x591d38=_0x202cf8['filter'](_0x3b7b0a=>_0x354c('0x45')!=_0x3b7b0a[_0x354c('0x13')]['rootName']);_0x591d38[_0x354c('0x64')]>0x0&&_0x5b12ac[_0x354c('0xa')](_0x591d38);for(const _0x337e0f of _0x202cf8)_0x337e0f[_0x354c('0x31')]();});}function _0x2a5790(_0x160fab,_0xbee1bd){return _0xbee1bd['every'](_0x176c69=>_0x160fab[_0x354c('0x1a')](_0x55e49b=>_0x55e49b[_0x354c('0x1e')][_0x354c('0x42')](_0x176c69[_0x354c('0x6b')])||_0x176c69[_0x354c('0x1e')][_0x354c('0x42')](_0x55e49b[_0x354c('0x6b')])));}function _0x1755aa(_0x40aab1,_0x402925){return _0x40aab1[_0x354c('0x1a')](_0x8b3536=>_0x402925[_0x354c('0x1a')](_0x3e4d69=>_0x8b3536[_0x354c('0x1e')][_0x354c('0x83')](_0x3e4d69[_0x354c('0x6b')])));}_0x700f23[_0x354c('0x74')][_0x354c('0x0')]['on'](_0x354c('0x3a'),(_0x13f42d,_0x24f03f,_0x2bb719)=>{if(!_0x2bb719[_0x354c('0x6a')][_0x354c('0x67')])return;const _0x38934c=_0x24f03f[_0x354c('0x89')];if(!_0x38934c)return;const _0x56f4bb=_0x2bb719[_0x354c('0x73')][_0x354c('0x2c')](_0x38934c);function _0x30090d(_0x1366b9){return Array[_0x354c('0x55')](_0x1366b9)?_0x1366b9:[_0x1366b9];}_0x56f4bb&&_0x354c('0x5a')===_0x38934c[_0x354c('0x2d')]&&_0x4ed48f(_0x56f4bb,_0x2bb719[_0x354c('0x8a')],(_0x3c9197,_0x28b9b8,_0x1a56db)=>_0x1a56db[_0x354c('0x49')](_0x30090d(_0x28b9b8['classes']),_0x3c9197),(_0x582d5a,_0x33b50f,_0x449a3b)=>_0x449a3b[_0x354c('0x65')](_0x30090d(_0x33b50f[_0x354c('0x7c')]),_0x582d5a));},{'priority':_0x354c('0x27')}),_0x1fae45[_0x354c('0x20')][_0x354c('0x5d')](_0x1c2cff=>{if(_0x354c('0x39')!=_0x1c2cff[_0x354c('0x66')]&&_0x354c('0x50')!=_0x1c2cff[_0x354c('0x66')])return;const _0x570411=_0x1c2cff[_0x354c('0x6c')]();if(null!=_0x570411&&_0x570411['is'](_0x354c('0x1c'),_0x354c('0x70'))){if(_0x354c('0x39')==_0x1c2cff[_0x354c('0x66')]){const _0x17201f=_0x1c2cff[_0x354c('0x59')]()[_0x354c('0x51')](_0x226133=>_0x226133['is']('$textProxy'))[_0x354c('0x56')](_0x2a7042=>_0x2a7042[_0x354c('0x74')]);if(_0x17201f['length'])return{'type':_0x354c('0x39'),'content':_0x20a1cc(_0xb32df,_0x354c('0x7d'),_0x20a1cc(_0xb32df,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x17201f[_0x354c('0x37')]('\x20')+'\x22'))};}if('deletion'==_0x1c2cff['type']){const _0x2dcaf9=_0x1c2cff[_0x354c('0x59')]()[_0x354c('0x51')](_0x47dc77=>_0x47dc77['is'](_0x354c('0x80')))['map'](_0x3417cf=>_0x3417cf['data']);if(_0x2dcaf9[_0x354c('0x64')])return{'type':'deletion','content':_0x20a1cc(_0xb32df,_0x354c('0x22'),_0x20a1cc(_0xb32df,_0x354c('0x5c'),'\x22'+_0x2dcaf9[_0x354c('0x37')]('\x20')+'\x22'))};}}}),_0x1fae45[_0x354c('0x20')][_0x354c('0x5d')](_0x38f809=>{if('tableRow'==_0x38f809[_0x354c('0x3c')]){const _0x5b5fd2=_0x38f809[_0x354c('0x59')]()[_0x354c('0x51')](_0x2e586e=>_0x2e586e['is'](_0x354c('0x80')))['map'](_0x42a110=>_0x42a110[_0x354c('0x74')]),_0x4565b2=this[_0x354c('0x47')](_0x38f809),_0x36e7d7=_0x4565b2[_0x354c('0x87')]-_0x4565b2[_0x354c('0x54')]+0x1;if(_0x354c('0x39')==_0x38f809[_0x354c('0x66')])return _0x5b5fd2['length']?{'type':_0x354c('0x39'),'content':_0x20a1cc(_0xb32df,'*Insert:*\x20%0',_0x20a1cc(_0xb32df,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x36e7d7,'\x22'+_0x5b5fd2[_0x354c('0x37')]('\x20')+'\x22']))}:{'type':_0x354c('0x39'),'content':_0x20a1cc(_0xb32df,_0x354c('0x7d'),_0x20a1cc(_0xb32df,_0x354c('0x5e'),_0x36e7d7))};if(_0x354c('0x50')==_0x38f809[_0x354c('0x66')])return _0x5b5fd2[_0x354c('0x64')]?{'type':'deletion','content':_0x20a1cc(_0xb32df,_0x354c('0x22'),_0x20a1cc(_0xb32df,_0x354c('0x86'),[_0x36e7d7,'\x22'+_0x5b5fd2[_0x354c('0x37')]('\x20')+'\x22']))}:{'type':_0x354c('0x50'),'content':_0x20a1cc(_0xb32df,_0x354c('0x22'),_0x20a1cc(_0xb32df,_0x354c('0x5e'),_0x36e7d7))};}if(_0x354c('0x62')==_0x38f809[_0x354c('0x3c')]){const _0x8f7fe5=_0x38f809[_0x354c('0x59')]()['filter'](_0x5bc674=>_0x5bc674['is']('$textProxy'))[_0x354c('0x56')](_0x480b6b=>_0x480b6b[_0x354c('0x74')]),_0xe1e07=this['_getSuggestionCoords'](_0x38f809),_0x59683a=_0xe1e07['maxColumn']-_0xe1e07[_0x354c('0x40')]+0x1;if(_0x354c('0x39')==_0x38f809[_0x354c('0x66')])return _0x8f7fe5[_0x354c('0x64')]?{'type':_0x354c('0x39'),'content':_0x20a1cc(_0xb32df,'*Insert:*\x20%0',_0x20a1cc(_0xb32df,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x59683a,'\x22'+_0x8f7fe5['join']('\x20')+'\x22']))}:{'type':_0x354c('0x39'),'content':_0x20a1cc(_0xb32df,'*Insert:*\x20%0',_0x20a1cc(_0xb32df,_0x354c('0x5f'),_0x59683a))};if(_0x354c('0x50')==_0x38f809[_0x354c('0x66')])return _0x8f7fe5['length']?{'type':'deletion','content':_0x20a1cc(_0xb32df,'*Remove:*\x20%0',_0x20a1cc(_0xb32df,_0x354c('0x32'),[_0x59683a,'\x22'+_0x8f7fe5[_0x354c('0x37')]('\x20')+'\x22']))}:{'type':_0x354c('0x50'),'content':_0x20a1cc(_0xb32df,'*Remove:*\x20%0',_0x20a1cc(_0xb32df,_0x354c('0x5f'),_0x59683a))};}}),_0x1fae45[_0x354c('0x7e')]['registerCustomCallback'](_0x354c('0x39'),_0x354c('0x33'),'discard',_0x1fd488),_0x1fae45[_0x354c('0x7e')]['registerCustomCallback'](_0x354c('0x50'),_0x354c('0x33'),_0x354c('0x36'),_0x1fd488),_0x1fae45[_0x354c('0x7e')][_0x354c('0x2')](_0x354c('0x39'),_0x354c('0x62'),_0x354c('0x2e'),_0x487beb),_0x1fae45[_0x354c('0x7e')][_0x354c('0x2')](_0x354c('0x50'),_0x354c('0x62'),_0x354c('0x36'),_0x487beb),_0x1fae45[_0x354c('0x7e')][_0x354c('0x2')](_0x354c('0x39'),'tableColumn',_0x354c('0x37'),_0x2a5790),_0x1fae45[_0x354c('0x7e')][_0x354c('0x2')](_0x354c('0x50'),_0x354c('0x62'),_0x354c('0x37'),_0x2a5790),_0x1fae45[_0x354c('0x7e')][_0x354c('0x2')]('insertion',_0x354c('0x33'),_0x354c('0x37'),_0x1755aa),_0x1fae45[_0x354c('0x7e')]['registerCustomCallback'](_0x354c('0x50'),_0x354c('0x33'),_0x354c('0x37'),_0x1755aa);}[_0x354c('0x7f')](){const _0x25cb30=this[_0x354c('0x2a')],_0x52204a=_0x25cb30[_0x354c('0x2b')][_0x354c('0x4e')]['selection'];return(_0x45d8f5,_0x405fe5)=>{_0x25cb30['model'][_0x354c('0x82')](_0x497659=>{const {commandName:_0x3257b7,commandParams:_0x56b4d3}=_0x405fe5;let _0x33ba25=_0x45d8f5[0x0][_0x354c('0x1e')][_0x354c('0x18')];_0x56b4d3&&_0x56b4d3[0x0]&&!0x1===_0x56b4d3[0x0][_0x354c('0x71')]&&(_0x33ba25=_0x45d8f5[0x0]['start'][_0x354c('0x61')]);const _0x4731b2=_0x497659[_0x354c('0x68')](_0x33ba25);if(_0x354c('0x45')==_0x4731b2[_0x354c('0x13')][_0x354c('0x52')])return;const _0x44bcd8=Array['from'](_0x52204a['getRanges']())[_0x354c('0x56')](_0x4ea9fe=>_0x451ecb['fromRange'](_0x4ea9fe));_0x497659['setSelection'](_0x4731b2),_0x25cb30[_0x354c('0xe')]['get'](_0x3257b7)[_0x354c('0x43')](),_0x56b4d3[_0x354c('0x8b')]({'forceDefaultExecution':!0x0}),_0x25cb30['execute'](_0x3257b7,..._0x56b4d3);const _0x180ecb=_0x44bcd8[_0x354c('0x51')](_0x3ab477=>_0x354c('0x45')!=_0x3ab477[_0x354c('0x13')][_0x354c('0x52')]);_0x180ecb[_0x354c('0x64')]>0x0&&_0x497659['setSelection'](_0x180ecb);for(const _0x1d67ef of _0x44bcd8)_0x1d67ef[_0x354c('0x31')]();});};}['_getCoordsForCells'](_0xb09cd2){const _0x4ebc03=this[_0x354c('0x2a')][_0x354c('0x23')]['get'](_0x354c('0x16'));let _0x25aa60=Number['MAX_SAFE_INTEGER'],_0x505c0d=Number[_0x354c('0x6d')],_0x16a134=Number['MAX_SAFE_INTEGER'],_0x5f8d45=Number['MIN_SAFE_INTEGER'];for(const _0x2de734 of _0xb09cd2){if(_0x354c('0x45')==_0x2de734[_0x354c('0x13')]['rootName'])continue;const {row:_0x18cabb,column:_0x343453}=_0x4ebc03['getCellLocation'](_0x2de734),_0x1d5091=_0x2de734[_0x354c('0x12')]('rowspan')?_0x2de734[_0x354c('0x30')](_0x354c('0x8'))-0x1:0x0,_0x4c3791=_0x2de734['hasAttribute']('colspan')?_0x2de734[_0x354c('0x30')](_0x354c('0x1f'))-0x1:0x0;_0x25aa60=_0x18cabb<_0x25aa60?_0x18cabb:_0x25aa60,_0x505c0d=_0x18cabb+_0x1d5091>_0x505c0d?_0x18cabb+_0x1d5091:_0x505c0d,_0x16a134=_0x343453<_0x16a134?_0x343453:_0x16a134,_0x5f8d45=_0x343453+_0x4c3791>_0x5f8d45?_0x343453+_0x4c3791:_0x5f8d45;}return{'minRow':_0x25aa60,'maxRow':_0x505c0d,'minColumn':_0x16a134,'maxColumn':_0x5f8d45};}[_0x354c('0x3')](){const _0x2670cc=this[_0x354c('0x2a')],_0x5216ad=_0x2670cc['plugins'][_0x354c('0x4')]('TrackChangesEditing'),_0x487281=_0x2670cc[_0x354c('0x23')]['get'](_0x354c('0x16'));_0x2670cc[_0x354c('0x2b')][_0x354c('0x4e')]['on'](_0x354c('0x38'),()=>{const _0x3cab7e=Array[_0x354c('0xf')](_0x2670cc[_0x354c('0x2b')]['document'][_0x354c('0x4f')]['getChangedMarkers']());for(const {name:_0x4324e3,data:_0x52ea6c}of _0x3cab7e){const {group:_0x378056,id:_0x54191e,subType:_0x482fc8}=_0x5216ad[_0x354c('0xc')](_0x4324e3);if(_0x354c('0x19')!=_0x378056)continue;if(null!=_0x52ea6c['oldRange'])continue;const _0x246961=_0x5216ad[_0x354c('0x34')](_0x54191e);this['_tablePostFixingSubtypes'][_0x354c('0x7a')](_0x482fc8)&&this[_0x354c('0x46')]['add'](_0x246961);}},{'priority':_0x354c('0x60')});const _0x224576=(_0x16cea6,_0x27cd6d)=>{let _0x5daed0=!0x1;const _0x5999bc=_0x27cd6d[_0x354c('0x5b')](_0x16cea6),_0x3cff76=_0x16cea6[_0x354c('0x3b')]('table'),_0x1efc25=_0x487281[_0x354c('0x3e')](_0x16cea6);for(const _0x589511 of this[_0x354c('0x46')]){const _0x488dea=_0x589511[_0x354c('0x3c')],_0x54fc01=_0x488dea[_0x354c('0xb')](_0x354c('0xd')),_0x2a8b2f=_0x488dea[_0x354c('0x4c')](_0x54fc01?0xa:0x5),_0x5058b4=_0x2a8b2f[_0x354c('0x4d')](),_0xc36436=_0x5058b4[_0x354c('0x4c')](0x0,0x3)+_0x354c('0x1b'),_0x5c8242=_0x354c('0x88')+_0x2a8b2f,_0x46a7d3=_0x354c('0x11')+_0x2a8b2f;if(!_0x589511['isInContent'])continue;if(_0x3cff76!=_0x589511[_0x354c('0x69')]()['start']['findAncestor']('table'))continue;if(_0x589511[_0x354c('0x6e')](_0x5999bc))continue;const _0x507bf1=_0x16cea6[_0x354c('0x12')](_0xc36436)?_0x16cea6[_0x354c('0x30')](_0xc36436)-0x1:0x0,_0x2fd045=this[_0x354c('0x47')](_0x589511),_0x4fe88e=_0x2fd045[_0x5c8242],_0x2c51a3=_0x2fd045[_0x46a7d3];_0x4fe88e<=_0x1efc25[_0x5058b4]&&_0x1efc25[_0x5058b4]+_0x507bf1<=_0x2c51a3&&(_0x589511[_0x354c('0x4b')](_0x5999bc),_0x5daed0=!0x0);}return _0x5daed0;};_0x2670cc[_0x354c('0x2b')][_0x354c('0x4e')]['registerPostFixer'](_0xd4cc5=>{let _0x554046=!0x1;for(const _0x389897 of _0x2670cc[_0x354c('0x2b')]['document'][_0x354c('0x4f')][_0x354c('0x77')]())if(_0x354c('0x72')==_0x389897['type']){if(_0x354c('0x33')==_0x389897[_0x354c('0x2d')])for(const _0x402517 of _0x389897[_0x354c('0x81')][_0x354c('0x61')][_0x354c('0x9')]())_0x554046=_0x554046||_0x224576(_0x402517,_0xd4cc5);else _0x354c('0x5a')==_0x389897['name']&&(_0x554046=_0x554046||_0x224576(_0x389897[_0x354c('0x81')]['nodeAfter'],_0xd4cc5));}return _0x554046;});}[_0x354c('0x47')](_0x54d3d2){return this[_0x354c('0x4a')](_0x54d3d2['getRanges']()[_0x354c('0x56')](_0x38a4eb=>_0x38a4eb[_0x354c('0x6b')]['nodeAfter']));}}function se(_0x4e2a3a){return Array[_0x354c('0xf')](new Set(_0x4e2a3a)[_0x354c('0x5')]());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d1d=['requires','TableCaptionEditing','TrackChangesEditing','editor','plugins','enableCommand','afterInit','toggleTableCaption'];(function(_0x22696a,_0x1d1d79){const _0x4e48df=function(_0x168731){while(--_0x168731){_0x22696a['push'](_0x22696a['shift']());}};_0x4e48df(++_0x1d1d79);}(_0x1d1d,0xf4));const _0x4e48=function(_0x22696a,_0x1d1d79){_0x22696a=_0x22696a-0x0;let _0x4e48df=_0x1d1d[_0x22696a];return _0x4e48df;};import{Plugin as _0x3bb29a}from'ckeditor5/src/core';import _0x4de80b from'./table';export default class vt extends _0x3bb29a{static get[_0x4e48('0x4')](){return[_0x4de80b];}[_0x4e48('0x2')](){const _0x3bd6ad=this[_0x4e48('0x7')];if(!_0x3bd6ad[_0x4e48('0x0')]['has'](_0x4e48('0x5')))return;_0x3bd6ad['plugins']['get'](_0x4e48('0x6'))[_0x4e48('0x1')](_0x4e48('0x3'));}}
23
+ const _0x2ff5=['get','afterInit','TrackChangesEditing','TableCaptionEditing','has','requires','plugins','enableCommand'];(function(_0x428613,_0x2ff59e){const _0x352f3d=function(_0x947c3){while(--_0x947c3){_0x428613['push'](_0x428613['shift']());}};_0x352f3d(++_0x2ff59e);}(_0x2ff5,0x17b));const _0x352f=function(_0x428613,_0x2ff59e){_0x428613=_0x428613-0x0;let _0x352f3d=_0x2ff5[_0x428613];return _0x352f3d;};import{Plugin as _0x10f9a7}from'ckeditor5/src/core';import _0xaced3f from'./table';export default class vt extends _0x10f9a7{static get[_0x352f('0x2')](){return[_0xaced3f];}[_0x352f('0x6')](){const _0x2b43bb=this['editor'];if(!_0x2b43bb[_0x352f('0x3')][_0x352f('0x1')](_0x352f('0x0')))return;_0x2b43bb[_0x352f('0x3')][_0x352f('0x5')](_0x352f('0x7'))[_0x352f('0x4')]('toggleTableCaption');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4836=['view','markMultiRangeInsertion','join','table','insert','tablePasteColumn','markerToHighlight','element','oldRange','tablePasteChainId','tableCell','filter','redo','options','markMultiRangeBlockFormat','tableCellBorderColor','rowInsertionRanges','wrap','length','deletion','markers','schema','updateMarker','*Replace\x20table\x20cells*','createRangeIn','registerCustomCallback','markMultiRangeDeletion','get','nodeAfter','entries','markerAttributes','locale','isEqual','change','newRange','findAncestor','tableCellBorderStyle','map','removeColumns','markerName','selection','low','startsWith','editor','getColumnIndexes','paragraph','setAttribute','getRowIndexes','stop','conversion','listenTo','tableCellBorderWidth','move','attributes','getSuggestionCallback','getSuggestions','find','createTableWalker','accept','rowInsertionIndexes','tableCellVerticalAlignment','editing','ck-suggestion-marker-insertion','TrackChangesEditing','tableCellSuggestion','getChildren','tablePasteRow','getContainedElement','insertRows','plugins','isEmpty','fromEntries','author','tableCellBackgroundColor','columns','containsRange','hasSuggestion','insertContent','Users','high','_descriptionFactory','getShiftedBy','name','getRows','_splitMarkerName','column','getAttributes','$graveyard','insertion','columnInsertionRanges','tableCellHorizontalAlignment','getChanges','content','_createdBatches','add','createRangeOn','has','differ','type','formatBlock','showSuggestionHighlights','documentSelection','subType','getChild','createPositionBefore','ck-suggestion-marker','requires','suggestion:formatBlock:tablePasteCell','nextSibling','removeMarkers','batch','position','document','every','getSuggestion','tablePasteCell','_tablePostFixingSubtypes','getSelectionAffectedTableCells','reduce','set','endColumn','elementToElement','registerDescriptionCallback','createElement','registerPostFixer','columnInsertionIndexes','getRanges','_replaceTableSlotCell','fill','getTableIfOnlyTableInContent','TableClipboard','getMarkers','tableCellPadding','push','getColumns','tablePaste','removeMarker','keys','register','getAllAdjacentSuggestions','includes','_getCoordsForCells','unwrap','forceDefaultExecution','previous','for','end','suggestion-td','trackChanges','isInContent','_suggestionFactory','getRange','suggestion','first','remove','removeRows','discard','TableUtils','suggestionLoaded','deletionRanges','getChangedMarkers','model','from','last','commands'];(function(_0x10492b,_0x48366c){const _0x352ca7=function(_0x4db370){while(--_0x4db370){_0x10492b['push'](_0x10492b['shift']());}};_0x352ca7(++_0x48366c);}(_0x4836,0xa8));const _0x352c=function(_0x10492b,_0x48366c){_0x10492b=_0x10492b-0x0;let _0x352ca7=_0x4836[_0x10492b];return _0x352ca7;};import{getTranslation as _0x5e1dce}from'../utils/common-translations';import{Plugin as _0x5db8da}from'ckeditor5/src/core';import{uid as _0x3c6117,priorities as _0x220747}from'ckeditor5/src/utils';import _0x2060a9 from'./table';const le=[_0x352c('0x30'),_0x352c('0xc'),_0x352c('0x21'),_0x352c('0x57'),_0x352c('0x39'),_0x352c('0x46'),_0x352c('0x81')],ae=Object[_0x352c('0x44')](le[_0x352c('0x22')](_0x37127e=>[_0x37127e,null]));export default class kt extends _0x5db8da{static get[_0x352c('0x67')](){return[_0x2060a9];}['afterInit'](){const _0x18d001=this[_0x352c('0x28')];if(!_0x18d001[_0x352c('0x42')][_0x352c('0x5d')](_0x352c('0x7f')))return;const _0x30f891=_0x18d001[_0x352c('0x42')][_0x352c('0x18')](_0x352c('0x3c')),_0x5c60be=_0x18d001[_0x352c('0x42')][_0x352c('0x18')](_0x352c('0x9a')),_0x434e26=_0x18d001[_0x352c('0x42')]['get'](_0x2060a9),_0x3886f9=_0x18d001[_0x352c('0x42')][_0x352c('0x18')](_0x352c('0x7f'));_0x434e26[_0x352c('0x71')][_0x352c('0x82')](_0x352c('0x3f'),'tablePasteColumn'),_0x18d001['model'][_0x352c('0x12')][_0x352c('0x87')](_0x352c('0x3d'),{'allowIn':_0x352c('0x7'),'allowContentOf':_0x352c('0x7'),'isLimit':!0x0}),_0x18d001['conversion'][_0x352c('0x76')]({'model':'tableCellSuggestion','view':_0x352c('0x90')});let _0x558b2f=null;_0x18d001[_0x352c('0x9e')]['on'](_0x352c('0x4a'),(_0x14aa56,_0x3f1505)=>{const [_0x57c54c,_0x4ff70e]=_0x3f1505,_0x5395f6=_0x3f1505[_0x3f1505[_0x352c('0xf')]-0x1];_0x5395f6&&_0x5395f6[_0x352c('0x8c')]||_0x30f891['_isForcedDefaultExecutionBlock']||this['editor'][_0x352c('0xa1')][_0x352c('0x18')](_0x352c('0x91'))['value']&&function(_0x2fa9bf,_0x406ad5,_0x1c1c3e,_0x42cfd5,_0x2b08db){if(_0x406ad5&&!_0x406ad5['is'](_0x352c('0x62')))return!0x1;const _0x25c343=_0x2b08db[_0x352c('0x7e')](_0x2fa9bf,_0x1c1c3e);if(!_0x25c343||!fe(_0x25c343,void 0x0,_0x42cfd5))return!0x1;const _0x1e7473=_0x42cfd5[_0x352c('0x72')](_0x1c1c3e[_0x352c('0x6d')][_0x352c('0x25')]);if(!_0x1e7473[_0x352c('0xf')])return!0x1;const _0x1069ec=_0x1e7473[0x0][_0x352c('0x20')](_0x352c('0x0')),_0x5d5adf=_0x42cfd5[_0x352c('0x2c')](_0x1e7473),_0xed75d7=_0x42cfd5[_0x352c('0x29')](_0x1e7473),_0x2ed9b0={'startRow':_0x5d5adf[_0x352c('0x96')],'endRow':_0x5d5adf['last'],'startColumn':_0xed75d7[_0x352c('0x96')],'endColumn':_0xed75d7[_0x352c('0xa0')]};return 0x1==_0x1e7473['length']&&(_0x2ed9b0['endRow']+=_0x42cfd5[_0x352c('0x50')](_0x25c343)-0x1,_0x2ed9b0[_0x352c('0x75')]+=_0x42cfd5[_0x352c('0x83')](_0x25c343)-0x1),fe(_0x1069ec,_0x2ed9b0,_0x42cfd5);}(_0x57c54c,_0x4ff70e,_0x18d001[_0x352c('0x9e')],_0x5c60be,_0x3886f9)&&(_0x14aa56['stop'](),_0x558b2f={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x18d001[_0x352c('0x9e')][_0x352c('0x1e')](()=>{_0x18d001['model'][_0x352c('0x4a')](_0x3f1505[0x0],_0x3f1505[0x1],_0x3f1505[0x2],{'forceDefaultExecution':!0x0});const _0x344a3c=_0x3c6117(),{rowInsertionRanges:_0x3f5d8c,columnInsertionRanges:_0x579d1a,insertionRanges:_0x5efe86,deletionRanges:_0x309887,cells:_0x3b5c95}=_0x558b2f;_0x3f5d8c['length']&&_0x30f891[_0x352c('0xa3')](_0x3f5d8c,_0x352c('0x3f'),{'tablePasteChainId':_0x344a3c}),_0x579d1a[_0x352c('0xf')]&&_0x30f891['markMultiRangeInsertion'](_0x579d1a,_0x352c('0x2'),{'tablePasteChainId':_0x344a3c}),_0x5efe86[_0x352c('0xf')]&&_0x30f891[_0x352c('0xa3')](_0x5efe86,'tablePaste',{'tablePasteChainId':_0x344a3c,'skipNestingCheck':!0x0}),_0x309887[_0x352c('0xf')]&&_0x30f891[_0x352c('0x17')](_0x309887,'tablePaste',{'tablePasteChainId':_0x344a3c,'skipNestingCheck':!0x0});const _0x2dad16=_0x30f891[_0x352c('0xb')](_0x3b5c95['map'](({element:_0x4f0fc5})=>_0x4f0fc5),{'formatGroupId':_0x3c6117()},[],_0x352c('0x70'),{'tablePasteChainId':_0x344a3c});if(_0x2dad16){const _0x22620a=_0x2dad16[_0x352c('0x80')](),_0x5d6ac1=[];for(const {element:_0x1356df,attributes:_0x41277c}of _0x3b5c95){if(!_0x41277c)continue;const _0xe3adc5=_0x18d001[_0x352c('0x9e')][_0x352c('0x5c')](_0x1356df),_0x5ef5e1=_0x22620a[_0x352c('0x35')](_0x52dec4=>_0x52dec4[_0x352c('0x94')]()[_0x352c('0x1d')](_0xe3adc5));_0x5ef5e1&&_0x5d6ac1[_0x352c('0x82')]([_0x5ef5e1[_0x352c('0x4f')],_0x41277c]);}_0x5d6ac1[_0x352c('0xf')]&&_0x2dad16[_0x352c('0x2b')](_0x352c('0x1b'),Object['fromEntries'](_0x5d6ac1));}_0x558b2f=null;}));},{'priority':_0x220747[_0x352c('0x4c')]+0xa}),_0x18d001[_0x352c('0x42')]['get'](_0x352c('0x7f'))['on'](_0x352c('0x7c'),(_0x2e3790,_0x4241fe)=>{const [_0x39cada,_0x5ba930,,_0x2bd8f1]=_0x4241fe;if(!_0x558b2f)return;_0x2e3790[_0x352c('0x2d')]();const _0x48be69=_0x39cada['cell'],_0x4c5d06=_0x5ba930,_0x2acb6c=ce(_0x48be69),_0x14a082=ce(_0x4c5d06);_0x2e3790['return']=_0x48be69;let _0x5ee595=null,_0xc96bd6=null;if(_0x14a082||_0x2acb6c){if(_0x2acb6c&&!_0x14a082){_0x2bd8f1[_0x352c('0x97')](_0x48be69[_0x352c('0x64')](0x0));for(const _0x515e6d of Array['from'](_0x4c5d06[_0x352c('0x3e')]()))_0x2bd8f1[_0x352c('0x1')](_0x515e6d,_0x48be69,_0x352c('0x8f'));const _0x3a6ac6=_0x558b2f[_0x352c('0x38')][_0x352c('0x89')](_0x39cada['row']),_0x39de7a=_0x558b2f[_0x352c('0x7a')][_0x352c('0x89')](_0x39cada[_0x352c('0x52')]);_0x3a6ac6||_0x39de7a||(_0x5ee595=_0x2bd8f1[_0x352c('0x15')](_0x48be69));}else _0x14a082&&!_0x2acb6c&&(_0xc96bd6=_0x2bd8f1[_0x352c('0x15')](_0x48be69));}else{const _0x3d2d36=_0x2bd8f1['createElement'](_0x352c('0x3d')),_0x5b04b5=_0x2bd8f1[_0x352c('0x78')](_0x352c('0x3d'));_0x2bd8f1[_0x352c('0xe')](_0x2bd8f1['createRangeIn'](_0x48be69),_0x5b04b5),_0x2bd8f1['insert'](_0x3d2d36,_0x48be69,0x0);for(const _0x300906 of Array['from'](_0x4c5d06[_0x352c('0x3e')]()))_0x2bd8f1[_0x352c('0x1')](_0x300906,_0x3d2d36,'end');_0x5ee595=_0x2bd8f1[_0x352c('0x5c')](_0x3d2d36),_0xc96bd6=_0x2bd8f1[_0x352c('0x5c')](_0x5b04b5);}const _0x233462=Array['from'](_0x4c5d06[_0x352c('0x53')]())[_0x352c('0x8')](([_0x35c303])=>le['includes'](_0x35c303));_0x558b2f['cells'][_0x352c('0x82')]({'element':_0x48be69,'attributes':_0x233462['length']?Object[_0x352c('0x44')](_0x233462):null}),_0x5ee595&&_0x558b2f['insertionRanges']['push'](_0x5ee595),_0xc96bd6&&_0x558b2f[_0x352c('0x9c')][_0x352c('0x82')](_0xc96bd6);},{'priority':_0x352c('0x4c')}),_0x5c60be['on']('insertColumns',(_0x4f718f,_0x284a62)=>{const [_0x26c4ec,_0x274f6d={}]=_0x284a62;if(!_0x558b2f)return;const _0x17962d=_0x274f6d['at']||0x0,_0x3f4130=_0x274f6d[_0x352c('0x47')]||0x1;_0x558b2f['columnInsertionIndexes']=new Array(_0x3f4130)[_0x352c('0x7d')](_0x17962d)[_0x352c('0x22')]((_0x2829d2,_0x5c7f94)=>_0x2829d2+_0x5c7f94);for(const {cell:_0x134b14}of _0x5c60be[_0x352c('0x36')](_0x26c4ec,{'startColumn':_0x17962d,'endColumn':_0x17962d+_0x3f4130-0x1}))_0x558b2f[_0x352c('0x56')]['push'](_0x18d001[_0x352c('0x9e')][_0x352c('0x5c')](_0x134b14));},{'priority':_0x352c('0x26')}),_0x5c60be['on'](_0x352c('0x41'),(_0x28d51c,_0x18a4cc)=>{const [_0x3684d1,_0x1a8996={}]=_0x18a4cc;if(!_0x558b2f)return;const _0x5de894=_0x1a8996['at']||0x0,_0x408c5d=_0x1a8996['rows']||0x1;_0x558b2f[_0x352c('0x38')]=new Array(_0x408c5d)[_0x352c('0x7d')](_0x5de894)[_0x352c('0x22')]((_0x369598,_0x115044)=>_0x369598+_0x115044);for(const {cell:_0x260569}of _0x5c60be[_0x352c('0x36')](_0x3684d1,{'startRow':_0x5de894,'endRow':_0x5de894+_0x408c5d-0x1}))_0x558b2f[_0x352c('0xd')][_0x352c('0x82')](_0x18d001['model'][_0x352c('0x5c')](_0x260569));},{'priority':'low'}),_0x30f891[_0x352c('0x4d')][_0x352c('0x77')](_0x512807=>{if(_0x512807[_0x352c('0x63')]&&_0x512807[_0x352c('0x63')][_0x352c('0x27')](_0x352c('0x84')))return _0x512807[_0x352c('0x8d')]?{}:{'type':'insertion','content':_0x5e1dce(_0x18d001[_0x352c('0x1c')],_0x352c('0x14'))};});const _0x49681d=()=>{};for(const _0xf08a5c of[_0x352c('0x84'),_0x352c('0x2'),_0x352c('0x3f'),_0x352c('0x70')])_0x30f891['_suggestionFactory'][_0x352c('0x16')](_0x352c('0x55'),_0xf08a5c,_0x352c('0xa4'),_0x49681d),_0x30f891[_0x352c('0x93')][_0x352c('0x16')]('deletion',_0xf08a5c,_0x352c('0xa4'),_0x49681d);_0x30f891[_0x352c('0x93')][_0x352c('0x16')]('formatBlock',_0x352c('0x70'),_0x352c('0x99'),_0x49681d),_0x30f891[_0x352c('0x93')][_0x352c('0x16')](_0x352c('0x60'),_0x352c('0x70'),_0x352c('0x37'),(_0x3b8877,_0x5c3573,_0x34bb61)=>{const _0x583c95=_0x3b8877['map'](_0x4d83d1=>_0x4d83d1[_0x352c('0x40')]())[_0x352c('0x8')](_0x3c7724=>_0x3c7724),_0x411e2c=new Map(_0x583c95[_0x352c('0x22')](_0x5bbac8=>[_0x5bbac8,null]));if(_0x558b2f)for(const {element:_0x357357,attributes:_0x50e95c}of _0x558b2f['cells'])_0x50e95c&&_0x411e2c[_0x352c('0x74')](_0x357357,_0x50e95c);else{if(_0x34bb61&&_0x34bb61['markerAttributes'])for(const [_0x59f658,_0x3242fc]of Object[_0x352c('0x1a')](_0x34bb61['markerAttributes'])){const _0x3cea10=_0x18d001['model'][_0x352c('0x11')][_0x352c('0x18')](_0x59f658),_0x1a1ccb=_0x3cea10?_0x3cea10[_0x352c('0x94')]()[_0x352c('0x40')]():null;_0x1a1ccb&&_0x411e2c['set'](_0x1a1ccb,_0x3242fc);}}_0x18d001[_0x352c('0x9e')]['change'](_0xdf857c=>{for(const [_0x34c4b1,_0x1dadfe]of _0x411e2c)_0xdf857c['setAttributes']({...ae,..._0x1dadfe},_0x34c4b1);});});const _0x29deb0=(_0x1c9845,_0x1f0e56)=>{_0x30f891['_suggestionFactory']['registerCustomCallback'](_0x1c9845,_0x352c('0x84'),_0x1f0e56,(_0x461c4e,_0x5b7d54,_0x10a72e)=>{_0x18d001['model'][_0x352c('0x1e')](_0x286f8a=>{const _0x414fb7=[];for(const _0x407383 of _0x461c4e){const _0x312465=_0x407383['start'][_0x352c('0x19')];_0x312465['is'](_0x352c('0x4'),_0x352c('0x3d'))&&_0x414fb7['push'](_0x312465);}_0x30f891['_suggestionFactory'][_0x352c('0x33')](_0x1c9845,null,_0x1f0e56)(_0x461c4e,_0x5b7d54,_0x10a72e);for(const _0x46924d of _0x414fb7)_0x352c('0x54')!=_0x46924d['root']['rootName']&&_0x286f8a[_0x352c('0x8b')](_0x46924d);});});};_0x29deb0(_0x352c('0x55'),_0x352c('0x37')),_0x29deb0('insertion','discard'),_0x29deb0(_0x352c('0x10'),_0x352c('0x37')),_0x29deb0(_0x352c('0x10'),'discard'),_0x30f891[_0x352c('0x93')][_0x352c('0x16')]('insertion',_0x352c('0x3f'),_0x352c('0x99'),_0x1a91b8=>{const _0x290a5d=_0x1a91b8[_0x352c('0x22')](_0x3892d6=>_0x3892d6[_0x352c('0x40')]()),_0x56a46c=_0x290a5d[0x0]['findAncestor']('table'),{minRow:_0x4ea6fe,maxRow:_0x46c496}=_0x434e26[_0x352c('0x8a')](_0x290a5d);_0x5c60be[_0x352c('0x98')](_0x56a46c,{'at':_0x4ea6fe,'rows':_0x46c496-_0x4ea6fe+0x1});}),_0x30f891[_0x352c('0x93')][_0x352c('0x16')](_0x352c('0x55'),_0x352c('0x2'),_0x352c('0x99'),_0x3ce4a4=>{const _0x499e6f=_0x3ce4a4[_0x352c('0x22')](_0x3fb879=>_0x3fb879[_0x352c('0x40')]()),_0x40ec56=_0x499e6f[0x0][_0x352c('0x20')](_0x352c('0x0')),{minColumn:_0x22d4ce,maxColumn:_0x20e10e}=_0x434e26['_getCoordsForCells'](_0x499e6f);_0x5c60be[_0x352c('0x23')](_0x40ec56,{'at':_0x22d4ce,'columns':_0x20e10e-_0x22d4ce+0x1});});const _0x3b08d3=(_0x506569,_0x383b71)=>{if(!_0x383b71[_0x352c('0x63')]||!_0x383b71['subType'][_0x352c('0x27')](_0x352c('0x84')))return;const _0x2e61e6=_0x383b71[_0x352c('0x32')][_0x352c('0x6')],_0x5b94b6=_0x30f891[_0x352c('0x34')]()[_0x352c('0x8')](_0x3dfa80=>_0x3dfa80[_0x352c('0x92')]&&_0x3dfa80[_0x352c('0x32')]&&_0x3dfa80[_0x352c('0x32')][_0x352c('0x6')]==_0x2e61e6);_0x5b94b6['length']&&_0x383b71[_0x352c('0x88')]()[_0x352c('0xf')]!=_0x5b94b6[_0x352c('0xf')]&&_0x5b94b6[_0x352c('0x73')]((_0x16b814,_0x294b53)=>(_0x16b814['next']=_0x294b53,_0x294b53[_0x352c('0x8d')]=_0x16b814,_0x294b53));};function _0x154ea7(_0x1d20e9,_0x525119=!0x0){const {id:_0x2bc79e}=_0x30f891['_splitMarkerName'](_0x1d20e9[_0x352c('0x24')]),_0x49237a=[_0x352c('0x66'),_0x352c('0x3b')],_0x468802=_0x30f891['activeMarkers'][_0x352c('0x89')](_0x1d20e9['markerName']);return _0x468802&&_0x49237a[_0x352c('0x82')]('ck-suggestion-marker--active'),{'classes':_0x49237a,'attributes':{'data-suggestion':_0x2bc79e},'priority':_0x468802&&_0x525119?0xbc2:0xbb8};}_0x30f891['on'](_0x352c('0x9b'),_0x3b08d3,{'priority':_0x352c('0x4c')}),_0x30f891['on']('suggestionUnloaded',_0x3b08d3,{'priority':_0x352c('0x4c')}),_0x18d001[_0x352c('0x9e')][_0x352c('0x6d')][_0x352c('0x79')](()=>{let _0x2e0323=!0x1;const _0x1eac6d=Array[_0x352c('0x9f')](_0x18d001[_0x352c('0x9e')]['document'][_0x352c('0x5e')][_0x352c('0x9d')]());for(const {name:_0x2cbd35,data:_0x233387}of _0x1eac6d){const {group:_0x189cc3,type:_0x52d516,id:_0x4e5e40}=_0x30f891['_splitMarkerName'](_0x2cbd35);if(_0x352c('0x95')!=_0x189cc3||_0x352c('0x10')!=_0x52d516||_0x233387['oldRange'])continue;if(!_0x30f891[_0x352c('0x49')](_0x4e5e40))continue;const _0x524bca=_0x30f891[_0x352c('0x6f')](_0x4e5e40)[_0x352c('0x7b')](),_0x224891=_0x18d001[_0x352c('0x42')][_0x352c('0x18')](_0x352c('0x4b'))['me'];for(const _0x436dab of _0x30f891[_0x352c('0x34')]()){if(!_0x436dab['isInContent']||_0x436dab['author']!=_0x224891)continue;if(_0x352c('0x60')!=_0x436dab[_0x352c('0x5f')]||_0x352c('0x70')!=_0x436dab['subType'])continue;if(_0x436dab[_0x352c('0x7b')]()[_0x352c('0x6e')](_0x31466d=>_0x524bca['some'](_0x50573d=>_0x50573d[_0x352c('0x48')](_0x31466d,!0x0))))for(const _0x38f64d of _0x436dab['getAllAdjacentSuggestions']())_0x38f64d['isInContent']&&(_0x38f64d['discard'](),_0x2e0323=!0x0);}}return _0x2e0323;}),_0x18d001[_0x352c('0x9e')][_0x352c('0x6d')][_0x352c('0x79')](_0x24eee6=>{const _0xf6225b=_0x18d001[_0x352c('0xa1')]['get'](_0x352c('0x9'));if(!_0xf6225b||!_0xf6225b[_0x352c('0x5a')][_0x352c('0x5d')](_0x24eee6[_0x352c('0x6b')]))return!0x1;let _0x2e418b=!0x1;const _0xa6e89d=_0x18d001[_0x352c('0x42')]['get'](_0x352c('0x4b'))['me'],_0x12323b=_0x18d001[_0x352c('0x9e')][_0x352c('0x6d')][_0x352c('0x5e')][_0x352c('0x58')](),_0x5db19b=Array['from'](_0x18d001[_0x352c('0x9e')][_0x352c('0x6d')][_0x352c('0x5e')][_0x352c('0x9d')]())['filter'](({name:_0x51367b,data:_0x5be200})=>{const {group:_0x23962a,subType:_0x3238ae,authorId:_0x36a8eb}=_0x30f891[_0x352c('0x51')](_0x51367b);return _0x352c('0x95')==_0x23962a&&_0x352c('0x84')==_0x3238ae&&_0x36a8eb==_0xa6e89d['id']&&!_0x5be200[_0x352c('0x5')];});for(const _0x4d85cb of _0x12323b){if(_0x352c('0x1')!=_0x4d85cb[_0x352c('0x5f')]||_0x352c('0x3d')!=_0x4d85cb['name']||0x1!=_0x4d85cb[_0x352c('0xf')])continue;const _0x37dd81=_0x24eee6['createRange'](_0x4d85cb[_0x352c('0x6c')],_0x4d85cb['position'][_0x352c('0x4e')](0x1));if(!_0x5db19b[_0x352c('0x35')](({data:_0x5157d5})=>_0x5157d5[_0x352c('0x1f')][_0x352c('0x1d')](_0x37dd81)))for(const {name:_0x296f65,data:_0x1ceca5}of _0x5db19b)if(_0x37dd81[_0x352c('0x48')](_0x1ceca5['newRange'])){_0x24eee6[_0x352c('0x13')](_0x296f65,{'range':_0x37dd81}),_0x2e418b=!0x0;break;}}return _0x2e418b;}),_0x18d001[_0x352c('0x9e')][_0x352c('0x6d')]['registerPostFixer'](_0x4c6ab8=>{let _0x1deb88=!0x1;const _0x319fe3=_0x18d001['plugins']['get'](_0x352c('0x4b'))['me'],_0x470a7d=_0x30f891[_0x352c('0x34')]()['filter'](_0x1b5288=>_0x1b5288[_0x352c('0x92')]&&_0x1b5288[_0x352c('0x45')]==_0x319fe3),_0x1a9998=new Set(),_0x4a521f=new Set();for(const _0x4d094b of _0x470a7d)if(_0x352c('0x84')==_0x4d094b[_0x352c('0x63')])for(const _0x36cbac of _0x4d094b['getMarkers']()){const _0x2cb007=_0x36cbac[_0x352c('0x94')]()['getContainedElement']();if(_0x2cb007){if(_0x2cb007['is'](_0x352c('0x4'),_0x352c('0x3d'))&&ce(_0x2cb007)){_0x4d094b[_0x352c('0x85')](_0x36cbac[_0x352c('0x4f')]),_0x1a9998[_0x352c('0x5b')](_0x2cb007),_0x1deb88=!0x0;const _0x3812b5=_0x2cb007[_0x352c('0x69')],_0x43d150=_0x2cb007['previousSibling'],_0x2bf0d4=_0x3812b5&&_0x3812b5['is'](_0x352c('0x4'),_0x352c('0x3d')),_0x93c357=_0x43d150&&_0x43d150['is']('element',_0x352c('0x3d'));_0x2bf0d4&&!_0x1a9998[_0x352c('0x5d')](_0x3812b5)&&_0x4a521f[_0x352c('0x5b')](_0x3812b5),_0x93c357&&!_0x1a9998[_0x352c('0x5d')](_0x43d150)&&_0x4a521f[_0x352c('0x5b')](_0x43d150);}else _0x2cb007['is']('element','paragraph')&&_0x2cb007['isEmpty']&&(_0x4d094b[_0x352c('0x85')](_0x36cbac[_0x352c('0x4f')]),_0x1deb88=!0x0);}}else{if(_0x352c('0x70')==_0x4d094b[_0x352c('0x63')]){if(!_0x4d094b['attributes']||!_0x4d094b['attributes'][_0x352c('0x6')])continue;const _0x55ec88=_0x4d094b[_0x352c('0x32')][_0x352c('0x1b')];if(_0x55ec88&&Object[_0x352c('0x86')](_0x55ec88)['length'])continue;const _0x108e76=_0x4d094b['attributes'][_0x352c('0x6')];let _0x54edbc=!0x0,_0x41ff30=!0x0;for(const _0x3a7cf1 of _0x470a7d)if(_0x3a7cf1[_0x352c('0x63')]&&_0x3a7cf1[_0x352c('0x63')]['startsWith'](_0x352c('0x84'))){if(!_0x3a7cf1['attributes'][_0x352c('0x6')]){_0x41ff30=!0x1;break;}if(_0x3a7cf1['id']!=_0x4d094b['id']&&_0x3a7cf1[_0x352c('0x32')][_0x352c('0x6')]==_0x108e76){_0x54edbc=!0x1;break;}}_0x41ff30&&_0x54edbc&&(_0x4d094b[_0x352c('0x6a')](),_0x1deb88=!0x0);}}for(const _0x13e5ba of _0x1a9998)_0x4c6ab8[_0x352c('0x97')](_0x13e5ba);for(const _0x316807 of _0x4a521f)_0x4c6ab8[_0x352c('0x8b')](_0x316807);return _0x1deb88;}),_0x18d001[_0x352c('0x2e')][_0x352c('0x8e')]('editingDowncast')['markerToHighlight']({'model':_0x352c('0x68'),'view':(_0x59cbba,_0x5a7d9f)=>_0x154ea7(_0x59cbba),'converterPriority':_0x352c('0x4c')}),_0x18d001[_0x352c('0x2e')][_0x352c('0x8e')]('dataDowncast')[_0x352c('0x3')]({'model':_0x352c('0x68'),'view':(_0x2d9762,_0x79c1ed)=>_0x79c1ed[_0x352c('0xa')][_0x352c('0x61')]?_0x154ea7(_0x2d9762,!0x1):null,'converterPriority':'high'});const _0x11f620=_0x18d001[_0x352c('0x3a')][_0x352c('0xa2')];this[_0x352c('0x2f')](_0x11f620['document'],'clipboardOutput',(_0x55d49c,_0x1cdf98)=>{const _0x3525f1=[];for(const _0x4758bf of _0x11f620[_0x352c('0x15')](_0x1cdf98[_0x352c('0x59')])['getItems']())_0x4758bf['is'](_0x352c('0x4'),_0x352c('0x90'))&&_0x3525f1[_0x352c('0x82')](_0x4758bf);_0x11f620[_0x352c('0x1e')](_0x4fd482=>{for(const _0x2e9c6d of _0x3525f1)_0x4fd482[_0x352c('0x31')](_0x4fd482[_0x352c('0x15')](_0x2e9c6d),_0x4fd482[_0x352c('0x65')](_0x2e9c6d)),_0x4fd482[_0x352c('0x97')](_0x2e9c6d);});});}}function ce(_0x4ccc0c){if(_0x4ccc0c[_0x352c('0x43')])return!0x0;const _0x4951d6=_0x4ccc0c[_0x352c('0x64')](0x0);return _0x4951d6['is'](_0x352c('0x4'),_0x352c('0x2a'))&&_0x4951d6[_0x352c('0x43')];}function fe(_0x4af501,_0x574719={},_0x2fbdb7){for(const {isAnchor:_0x22fd0e,cellHeight:_0x7c5930,cellWidth:_0x53826c}of _0x2fbdb7[_0x352c('0x36')](_0x4af501,{'includeAllSlots':!0x0,..._0x574719}))if(!_0x22fd0e||0x1!=_0x7c5930||0x1!=_0x53826c)return!0x1;return!0x0;}
23
+ const _0x43df=['getRows','plugins','from','getTableIfOnlyTableInContent','type','redo','insertion','suggestion-td','suggestionUnloaded','findAncestor','$graveyard','keys','Users','first','getShiftedBy','rowInsertionIndexes','columns','markerToHighlight','dataDowncast','getSuggestions','markerAttributes','registerCustomCallback','conversion','getChildren','registerPostFixer','oldRange','startsWith','tablePasteCell','_descriptionFactory','rowInsertionRanges','remove','createRangeIn','forceDefaultExecution','wrap','has','_splitMarkerName','_suggestionFactory','isEmpty','requires','some','getAllAdjacentSuggestions','high','filter','nodeAfter','batch','isInContent','fill','markMultiRangeDeletion','hasSuggestion','showSuggestionHighlights','tableCellBackgroundColor','TableClipboard','suggestionLoaded','setAttributes','tableCellBorderStyle','afterInit','low','getRange','_tablePostFixingSubtypes','nextSibling','tableCell','getColumnIndexes','ck-suggestion-marker-insertion','getChanges','length','listenTo','table','return','createRangeOn','name','position','setAttribute','getRowIndexes','getColumns','getChild','_createdBatches','registerDescriptionCallback','createPositionBefore','set','markMultiRangeBlockFormat','insertionRanges','register','getSuggestion','fromEntries','*Replace\x20table\x20cells*','getAttributes','options','getContainedElement','tableCellBorderWidth','selection','tableCellBorderColor','tablePasteRow','TableUtils','suggestion:formatBlock:tablePasteCell','isEqual','insert','value','_getCoordsForCells','end','endRow','clipboardOutput','paragraph','includes','createRange','trackChanges','map','tableCellSuggestion','removeMarker','removeMarkers','tablePasteChainId','getChangedMarkers','editing','attributes','getRanges','editingDowncast','formatBlock','deletionRanges','activeMarkers','getSuggestionCallback','newRange','push','every','rows','columnInsertionIndexes','discard','tablePaste','accept','documentSelection','getSelectionAffectedTableCells','createTableWalker','previousSibling','rootName','element','differ','model','insertColumns','suggestion','deletion','change','add','containsRange','getItems','tableCellHorizontalAlignment','stop','elementToElement','find','document','cell','for','_isForcedDefaultExecutionBlock','tableCellVerticalAlignment','last','markerName','previous','subType','updateMarker','author','markMultiRangeInsertion','ck-suggestion-marker--active','unwrap','move','column','createElement','editor','tablePasteColumn','get','insertContent','reduce','join'];(function(_0x66d6b7,_0x43df5a){const _0x2209a3=function(_0x166568){while(--_0x166568){_0x66d6b7['push'](_0x66d6b7['shift']());}};_0x2209a3(++_0x43df5a);}(_0x43df,0x7e));const _0x2209=function(_0x66d6b7,_0x43df5a){_0x66d6b7=_0x66d6b7-0x0;let _0x2209a3=_0x43df[_0x66d6b7];return _0x2209a3;};import{getTranslation as _0x72daf2}from'../utils/common-translations';import{Plugin as _0x3b65ed}from'ckeditor5/src/core';import{uid as _0x3039e3,priorities as _0x23c838}from'ckeditor5/src/utils';import _0x481d37 from'./table';const le=[_0x2209('0x83'),_0x2209('0x85'),_0x2209('0x61'),_0x2209('0x10'),_0x2209('0x18'),_0x2209('0x5d'),'tableCellPadding'],ae=Object[_0x2209('0x7e')](le[_0x2209('0x94')](_0x398a88=>[_0x398a88,null]));export default class kt extends _0x3b65ed{static get[_0x2209('0x51')](){return[_0x481d37];}[_0x2209('0x62')](){const _0x4f0249=this[_0x2209('0x25')];if(!_0x4f0249[_0x2209('0x2c')][_0x2209('0x4d')]('TableClipboard'))return;const _0x29fa46=_0x4f0249['plugins'][_0x2209('0x27')]('TrackChangesEditing'),_0x41a5c4=_0x4f0249[_0x2209('0x2c')][_0x2209('0x27')](_0x2209('0x87')),_0x8eddb6=_0x4f0249[_0x2209('0x2c')][_0x2209('0x27')](_0x481d37),_0x1709ba=_0x4f0249[_0x2209('0x2c')][_0x2209('0x27')]('TableClipboard');_0x8eddb6[_0x2209('0x65')][_0x2209('0xa3')](_0x2209('0x86'),_0x2209('0x26')),_0x4f0249[_0x2209('0x8')]['schema'][_0x2209('0x7c')](_0x2209('0x95'),{'allowIn':_0x2209('0x67'),'allowContentOf':_0x2209('0x67'),'isLimit':!0x0}),_0x4f0249[_0x2209('0x41')][_0x2209('0x12')]({'model':'tableCellSuggestion','view':_0x2209('0x32')});let _0x16cddf=null;_0x4f0249[_0x2209('0x8')]['on'](_0x2209('0x28'),(_0x2dd899,_0x30ffb6)=>{const [_0x459de0,_0x37de8d]=_0x30ffb6,_0x47fe5a=_0x30ffb6[_0x30ffb6['length']-0x1];_0x47fe5a&&_0x47fe5a[_0x2209('0x4b')]||_0x29fa46[_0x2209('0x17')]||this[_0x2209('0x25')]['commands']['get'](_0x2209('0x93'))[_0x2209('0x8b')]&&function(_0x2a25a9,_0x3c0939,_0x29abaf,_0x444735,_0x9c97b1){if(_0x3c0939&&!_0x3c0939['is'](_0x2209('0x1')))return!0x1;const _0x4ac8c6=_0x9c97b1[_0x2209('0x2e')](_0x2a25a9,_0x29abaf);if(!_0x4ac8c6||!fe(_0x4ac8c6,void 0x0,_0x444735))return!0x1;const _0x38c6fd=_0x444735[_0x2209('0x2')](_0x29abaf[_0x2209('0x14')][_0x2209('0x84')]);if(!_0x38c6fd[_0x2209('0x6b')])return!0x1;const _0x3600bb=_0x38c6fd[0x0][_0x2209('0x34')]('table'),_0xdbe690=_0x444735[_0x2209('0x73')](_0x38c6fd),_0x53c26a=_0x444735[_0x2209('0x68')](_0x38c6fd),_0x45da81={'startRow':_0xdbe690[_0x2209('0x38')],'endRow':_0xdbe690[_0x2209('0x19')],'startColumn':_0x53c26a[_0x2209('0x38')],'endColumn':_0x53c26a[_0x2209('0x19')]};return 0x1==_0x38c6fd['length']&&(_0x45da81[_0x2209('0x8e')]+=_0x444735[_0x2209('0x2b')](_0x4ac8c6)-0x1,_0x45da81['endColumn']+=_0x444735[_0x2209('0x74')](_0x4ac8c6)-0x1),fe(_0x3600bb,_0x45da81,_0x444735);}(_0x459de0,_0x37de8d,_0x4f0249[_0x2209('0x8')],_0x41a5c4,_0x1709ba)&&(_0x2dd899[_0x2209('0x11')](),_0x16cddf={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x4f0249[_0x2209('0x8')][_0x2209('0xc')](()=>{_0x4f0249[_0x2209('0x8')]['insertContent'](_0x30ffb6[0x0],_0x30ffb6[0x1],_0x30ffb6[0x2],{'forceDefaultExecution':!0x0});const _0x190e10=_0x3039e3(),{rowInsertionRanges:_0x20a092,columnInsertionRanges:_0x371bbd,insertionRanges:_0x4dd372,deletionRanges:_0x2b9759,cells:_0x2714a0}=_0x16cddf;_0x20a092['length']&&_0x29fa46[_0x2209('0x1f')](_0x20a092,_0x2209('0x86'),{'tablePasteChainId':_0x190e10}),_0x371bbd[_0x2209('0x6b')]&&_0x29fa46[_0x2209('0x1f')](_0x371bbd,_0x2209('0x26'),{'tablePasteChainId':_0x190e10}),_0x4dd372[_0x2209('0x6b')]&&_0x29fa46[_0x2209('0x1f')](_0x4dd372,_0x2209('0xa8'),{'tablePasteChainId':_0x190e10,'skipNestingCheck':!0x0}),_0x2b9759['length']&&_0x29fa46[_0x2209('0x5a')](_0x2b9759,'tablePaste',{'tablePasteChainId':_0x190e10,'skipNestingCheck':!0x0});const _0x49c949=_0x29fa46[_0x2209('0x7a')](_0x2714a0[_0x2209('0x94')](({element:_0x52ebd2})=>_0x52ebd2),{'formatGroupId':_0x3039e3()},[],_0x2209('0x46'),{'tablePasteChainId':_0x190e10});if(_0x49c949){const _0xedba2d=_0x49c949['getMarkers'](),_0x3739af=[];for(const {element:_0xc83ec9,attributes:_0x513e15}of _0x2714a0){if(!_0x513e15)continue;const _0x3d0443=_0x4f0249[_0x2209('0x8')]['createRangeOn'](_0xc83ec9),_0x363699=_0xedba2d[_0x2209('0x13')](_0x561983=>_0x561983[_0x2209('0x64')]()[_0x2209('0x89')](_0x3d0443));_0x363699&&_0x3739af[_0x2209('0xa3')]([_0x363699[_0x2209('0x70')],_0x513e15]);}_0x3739af[_0x2209('0x6b')]&&_0x49c949[_0x2209('0x72')](_0x2209('0x3f'),Object[_0x2209('0x7e')](_0x3739af));}_0x16cddf=null;}));},{'priority':_0x23c838['high']+0xa}),_0x4f0249[_0x2209('0x2c')][_0x2209('0x27')](_0x2209('0x5e'))['on']('_replaceTableSlotCell',(_0xb08638,_0x3dd795)=>{const [_0x169205,_0x4fd20c,,_0x5e4216]=_0x3dd795;if(!_0x16cddf)return;_0xb08638[_0x2209('0x11')]();const _0x567e6b=_0x169205[_0x2209('0x15')],_0x584427=_0x4fd20c,_0x4c1fae=ce(_0x567e6b),_0x8b1838=ce(_0x584427);_0xb08638[_0x2209('0x6e')]=_0x567e6b;let _0x877130=null,_0x599a61=null;if(_0x8b1838||_0x4c1fae){if(_0x4c1fae&&!_0x8b1838){_0x5e4216[_0x2209('0x49')](_0x567e6b[_0x2209('0x75')](0x0));for(const _0x54bd46 of Array[_0x2209('0x2d')](_0x584427[_0x2209('0x42')]()))_0x5e4216['insert'](_0x54bd46,_0x567e6b,_0x2209('0x8d'));const _0x52e61b=_0x16cddf[_0x2209('0x3a')][_0x2209('0x91')](_0x169205['row']),_0x466268=_0x16cddf[_0x2209('0xa6')][_0x2209('0x91')](_0x169205[_0x2209('0x23')]);_0x52e61b||_0x466268||(_0x877130=_0x5e4216[_0x2209('0x4a')](_0x567e6b));}else _0x8b1838&&!_0x4c1fae&&(_0x599a61=_0x5e4216[_0x2209('0x4a')](_0x567e6b));}else{const _0x3ec4c6=_0x5e4216[_0x2209('0x24')]('tableCellSuggestion'),_0x355507=_0x5e4216[_0x2209('0x24')](_0x2209('0x95'));_0x5e4216[_0x2209('0x4c')](_0x5e4216[_0x2209('0x4a')](_0x567e6b),_0x355507),_0x5e4216[_0x2209('0x8a')](_0x3ec4c6,_0x567e6b,0x0);for(const _0x44b4f0 of Array[_0x2209('0x2d')](_0x584427[_0x2209('0x42')]()))_0x5e4216[_0x2209('0x8a')](_0x44b4f0,_0x3ec4c6,_0x2209('0x8d'));_0x877130=_0x5e4216[_0x2209('0x6f')](_0x3ec4c6),_0x599a61=_0x5e4216[_0x2209('0x6f')](_0x355507);}const _0x53c6e7=Array[_0x2209('0x2d')](_0x584427[_0x2209('0x80')]())[_0x2209('0x55')](([_0x9bbbc6])=>le[_0x2209('0x91')](_0x9bbbc6));_0x16cddf['cells'][_0x2209('0xa3')]({'element':_0x567e6b,'attributes':_0x53c6e7[_0x2209('0x6b')]?Object[_0x2209('0x7e')](_0x53c6e7):null}),_0x877130&&_0x16cddf[_0x2209('0x7b')][_0x2209('0xa3')](_0x877130),_0x599a61&&_0x16cddf[_0x2209('0x9f')][_0x2209('0xa3')](_0x599a61);},{'priority':_0x2209('0x54')}),_0x41a5c4['on'](_0x2209('0x9'),(_0x74ec93,_0x2cf73c)=>{const [_0x1dff1d,_0x25a5ca={}]=_0x2cf73c;if(!_0x16cddf)return;const _0x55311e=_0x25a5ca['at']||0x0,_0x2ca8a7=_0x25a5ca[_0x2209('0x3b')]||0x1;_0x16cddf[_0x2209('0xa6')]=new Array(_0x2ca8a7)[_0x2209('0x59')](_0x55311e)[_0x2209('0x94')]((_0x1978b2,_0x59d7a2)=>_0x1978b2+_0x59d7a2);for(const {cell:_0x2de2aa}of _0x41a5c4['createTableWalker'](_0x1dff1d,{'startColumn':_0x55311e,'endColumn':_0x55311e+_0x2ca8a7-0x1}))_0x16cddf['columnInsertionRanges']['push'](_0x4f0249[_0x2209('0x8')][_0x2209('0x6f')](_0x2de2aa));},{'priority':_0x2209('0x63')}),_0x41a5c4['on']('insertRows',(_0x429760,_0x468f0e)=>{const [_0x5c8e81,_0x40f4f9={}]=_0x468f0e;if(!_0x16cddf)return;const _0x4a1225=_0x40f4f9['at']||0x0,_0x416589=_0x40f4f9[_0x2209('0xa5')]||0x1;_0x16cddf[_0x2209('0x3a')]=new Array(_0x416589)[_0x2209('0x59')](_0x4a1225)[_0x2209('0x94')]((_0x36bb26,_0x3e392b)=>_0x36bb26+_0x3e392b);for(const {cell:_0x2c1ad6}of _0x41a5c4[_0x2209('0x3')](_0x5c8e81,{'startRow':_0x4a1225,'endRow':_0x4a1225+_0x416589-0x1}))_0x16cddf[_0x2209('0x48')][_0x2209('0xa3')](_0x4f0249[_0x2209('0x8')][_0x2209('0x6f')](_0x2c1ad6));},{'priority':_0x2209('0x63')}),_0x29fa46[_0x2209('0x47')][_0x2209('0x77')](_0x3900c3=>{if(_0x3900c3['subType']&&_0x3900c3[_0x2209('0x1c')][_0x2209('0x45')](_0x2209('0xa8')))return _0x3900c3[_0x2209('0x1b')]?{}:{'type':_0x2209('0x31'),'content':_0x72daf2(_0x4f0249['locale'],_0x2209('0x7f'))};});const _0x5d6eb6=()=>!0x1;for(const _0x3474b4 of[_0x2209('0xa8'),_0x2209('0x26'),'tablePasteRow','tablePasteCell'])_0x29fa46[_0x2209('0x4f')][_0x2209('0x40')](_0x2209('0x31'),_0x3474b4,_0x2209('0x2a'),_0x5d6eb6),_0x29fa46['_suggestionFactory']['registerCustomCallback'](_0x2209('0xb'),_0x3474b4,_0x2209('0x2a'),_0x5d6eb6),_0x29fa46[_0x2209('0x4f')][_0x2209('0x40')]('formatBlock',_0x3474b4,_0x2209('0x2a'),_0x5d6eb6);_0x29fa46[_0x2209('0x4f')][_0x2209('0x40')](_0x2209('0x9e'),_0x2209('0x46'),_0x2209('0xa7'),_0x5d6eb6),_0x29fa46['_suggestionFactory'][_0x2209('0x40')](_0x2209('0x9e'),_0x2209('0x46'),_0x2209('0x0'),(_0x5052e0,_0x34757c,_0x3e16cd)=>{const _0x2e75a7=_0x5052e0[_0x2209('0x94')](_0x397060=>_0x397060['getContainedElement']())['filter'](_0x155f97=>_0x155f97),_0x4fa66e=new Map(_0x2e75a7[_0x2209('0x94')](_0x3f44c1=>[_0x3f44c1,null]));if(_0x16cddf)for(const {element:_0x843d12,attributes:_0x528d92}of _0x16cddf['cells'])_0x528d92&&_0x4fa66e[_0x2209('0x79')](_0x843d12,_0x528d92);else{if(_0x3e16cd&&_0x3e16cd[_0x2209('0x3f')])for(const [_0x5e5aba,_0x21375]of Object['entries'](_0x3e16cd[_0x2209('0x3f')])){const _0xe85dc=_0x4f0249[_0x2209('0x8')]['markers'][_0x2209('0x27')](_0x5e5aba),_0x211b54=_0xe85dc?_0xe85dc[_0x2209('0x64')]()['getContainedElement']():null;_0x211b54&&_0x4fa66e[_0x2209('0x79')](_0x211b54,_0x21375);}}_0x4f0249['model']['change'](_0xb7ef3=>{for(const [_0x24c228,_0x58218f]of _0x4fa66e)_0xb7ef3[_0x2209('0x60')]({...ae,..._0x58218f},_0x24c228);});});const _0x3343f5=(_0x58f0f7,_0x25c167)=>{_0x29fa46[_0x2209('0x4f')]['registerCustomCallback'](_0x58f0f7,'tablePaste',_0x25c167,(_0x18602f,_0x52f12e,_0xb4c106)=>{_0x4f0249[_0x2209('0x8')][_0x2209('0xc')](_0x25435f=>{const _0x41c269=[];for(const _0x1d8bd5 of _0x18602f){const _0x2989fd=_0x1d8bd5['start'][_0x2209('0x56')];_0x2989fd['is'](_0x2209('0x6'),_0x2209('0x95'))&&_0x41c269[_0x2209('0xa3')](_0x2989fd);}_0x29fa46[_0x2209('0x4f')][_0x2209('0xa1')](_0x58f0f7,null,_0x25c167)(_0x18602f,_0x52f12e,_0xb4c106);for(const _0x3f7c56 of _0x41c269)_0x2209('0x35')!=_0x3f7c56['root'][_0x2209('0x5')]&&_0x25435f[_0x2209('0x21')](_0x3f7c56);});});};_0x3343f5(_0x2209('0x31'),_0x2209('0x0')),_0x3343f5(_0x2209('0x31'),_0x2209('0xa7')),_0x3343f5(_0x2209('0xb'),'accept'),_0x3343f5(_0x2209('0xb'),_0x2209('0xa7')),_0x29fa46[_0x2209('0x4f')]['registerCustomCallback'](_0x2209('0x31'),_0x2209('0x86'),_0x2209('0xa7'),_0x2d1f00=>{const _0x4ead0d=_0x2d1f00['map'](_0x4eea5a=>_0x4eea5a[_0x2209('0x82')]()),_0xd75ef7=_0x4ead0d[0x0]['findAncestor'](_0x2209('0x6d')),{minRow:_0x1587a6,maxRow:_0x546040}=_0x8eddb6[_0x2209('0x8c')](_0x4ead0d);_0x41a5c4['removeRows'](_0xd75ef7,{'at':_0x1587a6,'rows':_0x546040-_0x1587a6+0x1});}),_0x29fa46[_0x2209('0x4f')][_0x2209('0x40')](_0x2209('0x31'),_0x2209('0x26'),'discard',_0x58cebb=>{const _0x4e6cdb=_0x58cebb['map'](_0x3f5875=>_0x3f5875['getContainedElement']()),_0x3c2a50=_0x4e6cdb[0x0][_0x2209('0x34')]('table'),{minColumn:_0x20dd1c,maxColumn:_0x362c87}=_0x8eddb6['_getCoordsForCells'](_0x4e6cdb);_0x41a5c4['removeColumns'](_0x3c2a50,{'at':_0x20dd1c,'columns':_0x362c87-_0x20dd1c+0x1});});const _0x1f6a23=(_0x4d85b6,_0x4fdfac)=>{if(!_0x4fdfac[_0x2209('0x1c')]||!_0x4fdfac[_0x2209('0x1c')]['startsWith']('tablePaste'))return;const _0x3e8e0f=_0x4fdfac[_0x2209('0x9b')][_0x2209('0x98')],_0x10446b=_0x29fa46['getSuggestions']()['filter'](_0xc692b0=>_0xc692b0['isInContent']&&_0xc692b0[_0x2209('0x9b')]&&_0xc692b0[_0x2209('0x9b')][_0x2209('0x98')]==_0x3e8e0f);_0x10446b['length']&&_0x4fdfac[_0x2209('0x53')]()[_0x2209('0x6b')]!=_0x10446b[_0x2209('0x6b')]&&_0x10446b[_0x2209('0x29')]((_0x4b925a,_0xea32f6)=>(_0x4b925a['next']=_0xea32f6,_0xea32f6[_0x2209('0x1b')]=_0x4b925a,_0xea32f6));};function _0x8cedc7(_0x29e436,_0x129397=!0x0){const {id:_0x281298}=_0x29fa46[_0x2209('0x4e')](_0x29e436[_0x2209('0x1a')]),_0xc4170b=['ck-suggestion-marker',_0x2209('0x69')],_0x12a407=_0x29fa46[_0x2209('0xa0')][_0x2209('0x91')](_0x29e436['markerName']);return _0x12a407&&_0xc4170b[_0x2209('0xa3')](_0x2209('0x20')),{'classes':_0xc4170b,'attributes':{'data-suggestion':_0x281298},'priority':_0x12a407&&_0x129397?0xbc2:0xbb8};}_0x29fa46['on'](_0x2209('0x5f'),_0x1f6a23,{'priority':'high'}),_0x29fa46['on'](_0x2209('0x33'),_0x1f6a23,{'priority':_0x2209('0x54')}),_0x4f0249[_0x2209('0x8')]['document'][_0x2209('0x43')](()=>{let _0x55fe01=!0x1;const _0x53219d=Array[_0x2209('0x2d')](_0x4f0249[_0x2209('0x8')][_0x2209('0x14')][_0x2209('0x7')][_0x2209('0x99')]());for(const {name:_0x2fe5ce,data:_0x3623f7}of _0x53219d){const {group:_0x48d177,type:_0x39f8c1,id:_0x1b21da}=_0x29fa46[_0x2209('0x4e')](_0x2fe5ce);if(_0x2209('0xa')!=_0x48d177||'deletion'!=_0x39f8c1||_0x3623f7[_0x2209('0x44')])continue;if(!_0x29fa46[_0x2209('0x5b')](_0x1b21da))continue;const _0x109fe8=_0x29fa46[_0x2209('0x7d')](_0x1b21da)['getRanges'](),_0x2b80aa=_0x4f0249['plugins']['get'](_0x2209('0x37'))['me'];for(const _0x1fefb4 of _0x29fa46['getSuggestions']()){if(!_0x1fefb4['isInContent']||_0x1fefb4[_0x2209('0x1e')]!=_0x2b80aa)continue;if(_0x2209('0x9e')!=_0x1fefb4[_0x2209('0x2f')]||_0x2209('0x46')!=_0x1fefb4['subType'])continue;if(_0x1fefb4[_0x2209('0x9c')]()[_0x2209('0xa4')](_0x4a695b=>_0x109fe8[_0x2209('0x52')](_0x540fc7=>_0x540fc7[_0x2209('0xe')](_0x4a695b,!0x0))))for(const _0x57347a of _0x1fefb4['getAllAdjacentSuggestions']())_0x57347a[_0x2209('0x58')]&&(_0x57347a[_0x2209('0xa7')](),_0x55fe01=!0x0);}}return _0x55fe01;}),_0x4f0249[_0x2209('0x8')][_0x2209('0x14')]['registerPostFixer'](_0x3c9af5=>{const _0x47d46f=_0x4f0249['commands'][_0x2209('0x27')](_0x2209('0x30'));if(!_0x47d46f||!_0x47d46f[_0x2209('0x76')][_0x2209('0x4d')](_0x3c9af5[_0x2209('0x57')]))return!0x1;let _0x6f5310=!0x1;const _0xf85758=_0x4f0249['plugins'][_0x2209('0x27')](_0x2209('0x37'))['me'],_0x424507=_0x4f0249[_0x2209('0x8')]['document']['differ'][_0x2209('0x6a')](),_0x37c5b7=Array['from'](_0x4f0249[_0x2209('0x8')]['document'][_0x2209('0x7')][_0x2209('0x99')]())[_0x2209('0x55')](({name:_0x3e164f,data:_0x157ad2})=>{const {group:_0x460858,subType:_0x48d7a1,authorId:_0x22ca35}=_0x29fa46[_0x2209('0x4e')](_0x3e164f);return _0x2209('0xa')==_0x460858&&'tablePaste'==_0x48d7a1&&_0x22ca35==_0xf85758['id']&&!_0x157ad2[_0x2209('0x44')];});for(const _0x563cd6 of _0x424507){if(_0x2209('0x8a')!=_0x563cd6['type']||'tableCellSuggestion'!=_0x563cd6[_0x2209('0x70')]||0x1!=_0x563cd6[_0x2209('0x6b')])continue;const _0x488b27=_0x3c9af5[_0x2209('0x92')](_0x563cd6[_0x2209('0x71')],_0x563cd6[_0x2209('0x71')][_0x2209('0x39')](0x1));if(!_0x37c5b7[_0x2209('0x13')](({data:_0x24b9ce})=>_0x24b9ce['newRange'][_0x2209('0x89')](_0x488b27)))for(const {name:_0x214697,data:_0x3ea116}of _0x37c5b7)if(_0x488b27['containsRange'](_0x3ea116[_0x2209('0xa2')])){_0x3c9af5[_0x2209('0x1d')](_0x214697,{'range':_0x488b27}),_0x6f5310=!0x0;break;}}return _0x6f5310;}),_0x4f0249[_0x2209('0x8')][_0x2209('0x14')][_0x2209('0x43')](_0x5147c3=>{let _0x4effdd=!0x1;const _0x58b299=_0x4f0249[_0x2209('0x2c')][_0x2209('0x27')](_0x2209('0x37'))['me'],_0x49fb97=_0x29fa46[_0x2209('0x3e')]()['filter'](_0x25c90e=>_0x25c90e[_0x2209('0x58')]&&_0x25c90e[_0x2209('0x1e')]==_0x58b299),_0x455daf=new Set(),_0x538e34=new Set();for(const _0x2d0001 of _0x49fb97)if(_0x2209('0xa8')==_0x2d0001[_0x2209('0x1c')])for(const _0x59bc08 of _0x2d0001['getMarkers']()){const _0xc92c9f=_0x59bc08['getRange']()[_0x2209('0x82')]();if(_0xc92c9f){if(_0xc92c9f['is'](_0x2209('0x6'),_0x2209('0x95'))&&ce(_0xc92c9f)){_0x2d0001[_0x2209('0x96')](_0x59bc08['name']),_0x455daf['add'](_0xc92c9f),_0x4effdd=!0x0;const _0x127836=_0xc92c9f[_0x2209('0x66')],_0x52a20c=_0xc92c9f[_0x2209('0x4')],_0x271740=_0x127836&&_0x127836['is']('element','tableCellSuggestion'),_0x27971a=_0x52a20c&&_0x52a20c['is'](_0x2209('0x6'),_0x2209('0x95'));_0x271740&&!_0x455daf[_0x2209('0x4d')](_0x127836)&&_0x538e34[_0x2209('0xd')](_0x127836),_0x27971a&&!_0x455daf[_0x2209('0x4d')](_0x52a20c)&&_0x538e34[_0x2209('0xd')](_0x52a20c);}else _0xc92c9f['is'](_0x2209('0x6'),_0x2209('0x90'))&&_0xc92c9f[_0x2209('0x50')]&&(_0x2d0001['removeMarker'](_0x59bc08[_0x2209('0x70')]),_0x4effdd=!0x0);}}else{if(_0x2209('0x46')==_0x2d0001[_0x2209('0x1c')]){if(!_0x2d0001['attributes']||!_0x2d0001[_0x2209('0x9b')][_0x2209('0x98')])continue;const _0x3b7f89=_0x2d0001[_0x2209('0x9b')]['markerAttributes'];if(_0x3b7f89&&Object[_0x2209('0x36')](_0x3b7f89)[_0x2209('0x6b')])continue;const _0x57bb5c=_0x2d0001[_0x2209('0x9b')]['tablePasteChainId'];let _0x22ebe6=!0x0,_0x3a4b35=!0x0;for(const _0x29a389 of _0x49fb97)if(_0x29a389[_0x2209('0x1c')]&&_0x29a389[_0x2209('0x1c')][_0x2209('0x45')](_0x2209('0xa8'))){if(!_0x29a389['attributes']['tablePasteChainId']){_0x3a4b35=!0x1;break;}if(_0x29a389['id']!=_0x2d0001['id']&&_0x29a389[_0x2209('0x9b')][_0x2209('0x98')]==_0x57bb5c){_0x22ebe6=!0x1;break;}}_0x3a4b35&&_0x22ebe6&&(_0x2d0001[_0x2209('0x97')](),_0x4effdd=!0x0);}}for(const _0x1a3242 of _0x455daf)_0x5147c3[_0x2209('0x49')](_0x1a3242);for(const _0xf7f3c1 of _0x538e34)_0x5147c3[_0x2209('0x21')](_0xf7f3c1);return _0x4effdd;}),_0x4f0249[_0x2209('0x41')][_0x2209('0x16')](_0x2209('0x9d'))[_0x2209('0x3c')]({'model':_0x2209('0x88'),'view':(_0x2cf849,_0x550520)=>_0x8cedc7(_0x2cf849),'converterPriority':'high'}),_0x4f0249[_0x2209('0x41')]['for'](_0x2209('0x3d'))[_0x2209('0x3c')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x1e08dc,_0x5df712)=>_0x5df712[_0x2209('0x81')][_0x2209('0x5c')]?_0x8cedc7(_0x1e08dc,!0x1):null,'converterPriority':_0x2209('0x54')});const _0x1b490f=_0x4f0249[_0x2209('0x9a')]['view'];this[_0x2209('0x6c')](_0x1b490f[_0x2209('0x14')],_0x2209('0x8f'),(_0x1867cd,_0x4430a4)=>{const _0x1179d0=[];for(const _0x45f759 of _0x1b490f['createRangeIn'](_0x4430a4['content'])[_0x2209('0xf')]())_0x45f759['is'](_0x2209('0x6'),_0x2209('0x32'))&&_0x1179d0[_0x2209('0xa3')](_0x45f759);_0x1b490f[_0x2209('0xc')](_0x364038=>{for(const _0x3bb6e1 of _0x1179d0)_0x364038[_0x2209('0x22')](_0x364038[_0x2209('0x4a')](_0x3bb6e1),_0x364038[_0x2209('0x78')](_0x3bb6e1)),_0x364038[_0x2209('0x49')](_0x3bb6e1);});});}}function ce(_0x9ab764){if(_0x9ab764[_0x2209('0x50')])return!0x0;const _0x589e8e=_0x9ab764['getChild'](0x0);return _0x589e8e['is'](_0x2209('0x6'),_0x2209('0x90'))&&_0x589e8e[_0x2209('0x50')];}function fe(_0x57a5ca,_0x99a23d={},_0xe21cad){for(const {isAnchor:_0x112dc9,cellHeight:_0x40be4c,cellWidth:_0x10f845}of _0xe21cad[_0x2209('0x3')](_0x57a5ca,{'includeAllSlots':!0x0,..._0x99a23d}))if(!_0x112dc9||0x1!=_0x40be4c||0x1!=_0x10f845)return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c16=['getColumnGroupElement','editor','author','markBlockFormat','registerCustomCallback','columnWidths','getTableColumnsWidths','model','getContainedElement','resizeTable','commandParams','bind','TrackChangesEditing','*Format:*\x20resize\x20table','registerDescriptionCallback','enableCommand','TableColumnResizeEditing','plugins','selection','getSuggestionCallback','formatGroupId','Users','getSelectedElement','resizeTableWidth','tableWidth','_descriptionFactory','_suggestionFactory','document','formatBlock','handleSuggestionDescription','get','locale','has','accept','getAttribute','handleResizeTableWidthCommand','resizeColumnWidths'];(function(_0xab98fc,_0x5c16c8){const _0x3aa27f=function(_0x1c9bb3){while(--_0x1c9bb3){_0xab98fc['push'](_0xab98fc['shift']());}};_0x3aa27f(++_0x5c16c8);}(_0x5c16,0x91));const _0x3aa2=function(_0xab98fc,_0x5c16c8){_0xab98fc=_0xab98fc-0x0;let _0x3aa27f=_0x5c16[_0xab98fc];return _0x3aa27f;};import{Plugin as _0x5e870e}from'ckeditor5/src/core';import{getTranslation as _0x12ea19}from'../utils/common-translations';export default class wt extends _0x5e870e{['afterInit'](){if(!this[_0x3aa2('0x4')][_0x3aa2('0x14')][_0x3aa2('0x23')](_0x3aa2('0x13')))return;const _0x248c23=this[_0x3aa2('0x4')][_0x3aa2('0x14')][_0x3aa2('0x21')](_0x3aa2('0xf'));_0x248c23[_0x3aa2('0x12')](_0x3aa2('0x1a'),this[_0x3aa2('0x1')][_0x3aa2('0xe')](this)),_0x248c23['enableCommand'](_0x3aa2('0x2'),this[_0x3aa2('0x1')][_0x3aa2('0xe')](this)),_0x248c23[_0x3aa2('0x1d')][_0x3aa2('0x7')](_0x3aa2('0x1f'),_0x3aa2('0xc'),'accept',_0x248c23[_0x3aa2('0x1d')][_0x3aa2('0x16')](_0x3aa2('0x1f'),null,'discard')),_0x248c23[_0x3aa2('0x1d')][_0x3aa2('0x7')]('formatBlock',_0x3aa2('0xc'),'discard',_0x248c23['_suggestionFactory'][_0x3aa2('0x16')]('formatBlock',null,_0x3aa2('0x24'))),_0x248c23[_0x3aa2('0x1c')][_0x3aa2('0x11')](this[_0x3aa2('0x20')][_0x3aa2('0xe')](this));}[_0x3aa2('0x1')](_0x228144,_0x48e990){const _0x3f4447=this[_0x3aa2('0x4')][_0x3aa2('0x14')][_0x3aa2('0x21')](_0x3aa2('0xf')),_0x52878c=this[_0x3aa2('0x4')]['plugins'][_0x3aa2('0x21')](_0x3aa2('0x13')),_0x496527=_0x48e990['table']||this['editor']['model'][_0x3aa2('0x1e')][_0x3aa2('0x15')][_0x3aa2('0x19')]();this[_0x3aa2('0x4')][_0x3aa2('0xa')]['change'](()=>{const _0x578b27=_0x52878c[_0x3aa2('0x3')](_0x496527);let _0x2587a8=_0x578b27?_0x52878c[_0x3aa2('0x9')](_0x578b27):null,_0x1febb2=_0x496527[_0x3aa2('0x0')]('tableWidth')||null;const _0x1ac942=_0x48e990[_0x3aa2('0x1b')]||_0x1febb2,_0x537397=_0x48e990[_0x3aa2('0x8')]||_0x2587a8,_0x4036af=this[_0x3aa2('0x4')][_0x3aa2('0x14')][_0x3aa2('0x21')](_0x3aa2('0x18'))['me'];for(const _0x483520 of _0x3f4447['getSuggestions']()){const _0x5791e1=_0x483520[_0x3aa2('0xb')]();if(_0x3aa2('0xc')===_0x483520['subType']&&_0x5791e1===_0x496527){_0x483520[_0x3aa2('0x5')]!==_0x4036af&&_0x483520['discard']();const _0x580b13=_0x483520['data'][_0x3aa2('0xd')];_0x1febb2=_0x580b13[0x0]['tableWidth'],_0x2587a8=_0x580b13[0x0][_0x3aa2('0x8')];break;}}_0x228144({'table':_0x496527,'tableWidth':_0x1ac942,'columnWidths':_0x537397}),_0x3f4447[_0x3aa2('0x6')](_0x496527,{'commandName':_0x3aa2('0x1a'),'commandParams':[{'tableWidth':_0x1febb2,'columnWidths':_0x2587a8}],'formatGroupId':_0x3aa2('0xc')},[],_0x3aa2('0xc'));});}[_0x3aa2('0x20')](_0x370274){const {data:_0x4c7aa7}=_0x370274;if(_0x4c7aa7&&_0x3aa2('0xc')===_0x4c7aa7[_0x3aa2('0x17')]){const _0x5e481c=_0x3aa2('0x10');return{'type':'format','content':_0x12ea19(this['editor'][_0x3aa2('0x22')],_0x5e481c)};}}}
23
+ const _0x3f7f=['getTableColumnsWidths','model','afterInit','handleSuggestionDescription','registerCustomCallback','Users','selection','locale','commandParams','columnWidths','document','registerDescriptionCallback','author','has','discard','plugins','formatBlock','_descriptionFactory','resizeTable','getSuggestionCallback','data','change','format','bind','get','editor','enableCommand','getColumnGroupElement','tableWidth','getContainedElement','accept','TableColumnResizeEditing','TrackChangesEditing','resizeTableWidth','_suggestionFactory','getAttribute','handleResizeTableWidthCommand'];(function(_0x1e929e,_0x3f7f55){const _0x30efc7=function(_0x599b46){while(--_0x599b46){_0x1e929e['push'](_0x1e929e['shift']());}};_0x30efc7(++_0x3f7f55);}(_0x3f7f,0xe4));const _0x30ef=function(_0x1e929e,_0x3f7f55){_0x1e929e=_0x1e929e-0x0;let _0x30efc7=_0x3f7f[_0x1e929e];return _0x30efc7;};import{Plugin as _0x48d351}from'ckeditor5/src/core';import{getTranslation as _0x1a8e11}from'../utils/common-translations';export default class wt extends _0x48d351{[_0x30ef('0x21')](){if(!this[_0x30ef('0x13')]['plugins'][_0x30ef('0x7')]('TableColumnResizeEditing'))return;const _0x135e2b=this['editor'][_0x30ef('0x9')][_0x30ef('0x12')](_0x30ef('0x1a'));_0x135e2b[_0x30ef('0x14')](_0x30ef('0x1b'),this[_0x30ef('0x1e')]['bind'](this)),_0x135e2b['enableCommand']('resizeColumnWidths',this[_0x30ef('0x1e')][_0x30ef('0x11')](this)),_0x135e2b[_0x30ef('0x1c')][_0x30ef('0x23')](_0x30ef('0xa'),_0x30ef('0xc'),_0x30ef('0x18'),_0x135e2b[_0x30ef('0x1c')][_0x30ef('0xd')](_0x30ef('0xa'),null,_0x30ef('0x8'))),_0x135e2b[_0x30ef('0x1c')][_0x30ef('0x23')](_0x30ef('0xa'),_0x30ef('0xc'),_0x30ef('0x8'),_0x135e2b['_suggestionFactory']['getSuggestionCallback'](_0x30ef('0xa'),null,_0x30ef('0x18'))),_0x135e2b[_0x30ef('0xb')][_0x30ef('0x5')](this[_0x30ef('0x22')]['bind'](this));}[_0x30ef('0x1e')](_0x238d07,_0x784962){const _0x146a11=this[_0x30ef('0x13')]['plugins'][_0x30ef('0x12')](_0x30ef('0x1a')),_0x3a8397=this[_0x30ef('0x13')][_0x30ef('0x9')][_0x30ef('0x12')](_0x30ef('0x19')),_0x25326a=_0x784962['table']||this[_0x30ef('0x13')][_0x30ef('0x20')][_0x30ef('0x4')][_0x30ef('0x0')]['getSelectedElement']();this[_0x30ef('0x13')]['model'][_0x30ef('0xf')](()=>{const _0x34661e=_0x3a8397[_0x30ef('0x15')](_0x25326a);let _0x205b89=_0x34661e?_0x3a8397[_0x30ef('0x1f')](_0x34661e):null,_0x4d5769=_0x25326a[_0x30ef('0x1d')](_0x30ef('0x16'))||null;const _0x1861bb=_0x784962[_0x30ef('0x16')]||_0x4d5769,_0x5d45ff=_0x784962[_0x30ef('0x3')]||_0x205b89,_0x1e8188=this['editor'][_0x30ef('0x9')][_0x30ef('0x12')](_0x30ef('0x24'))['me'];for(const _0x1f85b7 of _0x146a11['getSuggestions']()){const _0x132fa2=_0x1f85b7[_0x30ef('0x17')]();if(_0x30ef('0xc')===_0x1f85b7['subType']&&_0x132fa2===_0x25326a){_0x1f85b7[_0x30ef('0x6')]!==_0x1e8188&&_0x1f85b7['discard']();const _0x1f322f=_0x1f85b7[_0x30ef('0xe')][_0x30ef('0x2')];_0x4d5769=_0x1f322f[0x0]['tableWidth'],_0x205b89=_0x1f322f[0x0][_0x30ef('0x3')];break;}}_0x238d07({'table':_0x25326a,'tableWidth':_0x1861bb,'columnWidths':_0x5d45ff}),_0x146a11['markBlockFormat'](_0x25326a,{'commandName':_0x30ef('0x1b'),'commandParams':[{'tableWidth':_0x4d5769,'columnWidths':_0x205b89}],'formatGroupId':_0x30ef('0xc')},[],_0x30ef('0xc'));});}[_0x30ef('0x22')](_0x48ef8f){const {data:_0x21db1b}=_0x48ef8f;if(_0x21db1b&&_0x30ef('0xc')===_0x21db1b['formatGroupId']){const _0x569bf8='*Format:*\x20resize\x20table';return{'type':_0x30ef('0x10'),'content':_0x1a8e11(this['editor'][_0x30ef('0x1')],_0x569bf8)};}}}