@ckeditor/ckeditor5-ai 47.4.0-alpha.0 → 47.4.0-alpha.1

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 (120) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/package.json +15 -15
  4. package/src/aiactions/aiactions.js +1 -1
  5. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  6. package/src/aiactions/model/aiactionsreply.js +1 -1
  7. package/src/aiassistant/adapters/aiadapter.js +1 -1
  8. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  9. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  10. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  11. package/src/aiassistant/aiassistant.js +1 -1
  12. package/src/aiassistant/aiassistantediting.js +1 -1
  13. package/src/aiassistant/aiassistantui.js +1 -1
  14. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  15. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  16. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  17. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  18. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  19. package/src/aiassistant/ui/form/aiformview.js +1 -1
  20. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  21. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  22. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  23. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  24. package/src/aiballoon/aiballoon.js +1 -1
  25. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  26. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  27. package/src/aiballoon/ui/aiballoonview.js +1 -1
  28. package/src/aichat/aichat.js +1 -1
  29. package/src/aichat/aichatcontroller.js +1 -1
  30. package/src/aichat/aichatui.js +1 -1
  31. package/src/aichat/model/aichatcontext.js +1 -1
  32. package/src/aichat/model/aichatconversation.js +1 -1
  33. package/src/aichat/model/aichatinteraction.js +1 -1
  34. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  35. package/src/aichat/ui/aichatfeedview.js +1 -1
  36. package/src/aichat/ui/aichatheaderview.js +1 -1
  37. package/src/aichat/ui/aichatview.js +1 -1
  38. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  39. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  40. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  41. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  42. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  43. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  44. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  45. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  46. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  48. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  49. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  50. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  51. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  56. package/src/aichat/utils/promisequeue.js +1 -1
  57. package/src/aichathistory/aichathistory.js +1 -1
  58. package/src/aichathistory/aichathistorycontroller.js +1 -1
  59. package/src/aichathistory/aichathistoryui.js +1 -1
  60. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  61. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  62. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  63. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  64. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  65. package/src/aicore/aiconnector.js +1 -1
  66. package/src/aicore/aiediting.js +1 -1
  67. package/src/aicore/model/aicapabilities.js +1 -1
  68. package/src/aicore/model/aiinteraction.js +1 -1
  69. package/src/aicore/model/aimodels.js +1 -1
  70. package/src/aicore/model/aireply.js +1 -1
  71. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  72. package/src/aicore/pipeline/airesponseparser.js +2 -2
  73. package/src/aicore/ui/aidisclaimerview.js +1 -1
  74. package/src/aicore/ui/aiskeleton.js +1 -1
  75. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  76. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  77. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  78. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  79. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  80. package/src/aicore/utils/createresizebutton.js +1 -1
  81. package/src/aicore/utils/documentrange.js +1 -1
  82. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  83. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  84. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  85. package/src/aicore/utils/htmlparser.js +1 -1
  86. package/src/aicore/utils/htmlstreamer.js +1 -1
  87. package/src/aieditorintegration/aieditorintegration.js +1 -1
  88. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  89. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  90. package/src/aiquickactions/aiquickactions.js +1 -1
  91. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  92. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  93. package/src/aiquickactions/aiquickactionsui.js +1 -1
  94. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  95. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  96. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  97. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  98. package/src/aireviewmode/aireviewmode.js +1 -1
  99. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  100. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  101. package/src/aireviewmode/aireviewmodeui.js +1 -1
  102. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  103. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  104. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  105. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  106. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  107. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  108. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  109. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  110. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  111. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  112. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  113. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  114. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  115. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  116. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  117. package/src/aitabs/aitabs.js +1 -1
  118. package/src/aitabs/tabs/aitabsview.js +1 -1
  119. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  120. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5a47(_0x3c69d1,_0x2b312e){const _0x52549a=_0x5254();return _0x5a47=function(_0x5a4741,_0x91b9be){_0x5a4741=_0x5a4741-0x1a8;let _0x4c958a=_0x52549a[_0x5a4741];return _0x4c958a;},_0x5a47(_0x3c69d1,_0x2b312e);}const _0x543529=_0x5a47;(function(_0x5a6b4a,_0x8a8f99){const _0x4b4c06=_0x5a47,_0x313112=_0x5a6b4a();while(!![]){try{const _0x46dbc8=-parseInt(_0x4b4c06(0x1c0))/0x1*(-parseInt(_0x4b4c06(0x1cf))/0x2)+-parseInt(_0x4b4c06(0x1b0))/0x3*(-parseInt(_0x4b4c06(0x1c8))/0x4)+parseInt(_0x4b4c06(0x1c1))/0x5*(-parseInt(_0x4b4c06(0x1c3))/0x6)+parseInt(_0x4b4c06(0x1ce))/0x7+-parseInt(_0x4b4c06(0x1b7))/0x8+-parseInt(_0x4b4c06(0x1b2))/0x9*(-parseInt(_0x4b4c06(0x1db))/0xa)+-parseInt(_0x4b4c06(0x1af))/0xb;if(_0x46dbc8===_0x8a8f99)break;else _0x313112['push'](_0x313112['shift']());}catch(_0x1f1c88){_0x313112['push'](_0x313112['shift']());}}}(_0x5254,0xd26f9));import{ButtonView as _0x336362,IconView as _0x226b6b,ToolbarView as _0x26c809}from'ckeditor5/src/ui.js';import{IconCheck as _0x4fa955,IconCopy as _0x1021eb,IconShowChangesOff as _0x1cee5e,IconShowChangesOn as _0xa44fd7,IconThumbDown as _0x4a9a0f,IconThumbUp as _0x2e25c3}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x218bf5}from'../../utils/common-translations.js';function _0x5254(){const _0x30c157=['toggleShowChanges','set','extendTemplate','items','AI_SUGGESTION_BUTTON_SHOW_CHANGES','showChangesButton','fire','AI_MINI_TOOLBAR_LIKE','21431wpyAEO','10IKPgPr','AI_MINI_TOOLBAR_DISLIKE','3804564mTfenm','AI_MINI_TOOLBAR_COPY','children','copyButton','class','712788welUNx','add','_setupCopyButton','ck-ai-mini-toolbar\x20ck-hidden','_config','_setupRatingButtons','5247564EMTHSQ','64RHKRCu','showLike','dislikeButton','execute','showChanges','ck-ai-mini-toolbar','like','full','ck-ai-mini-toolbar-copy-button','dislike','isOn','isLoading','20CILHRR','_setupShowChangesButton','showDislike','showCopy','ck-ai-mini-toolbar-copy-button__check-mark','length','locale','bind','9134774wUBiDc','18FDjSEK','isEnabled','4097106JiNGRi','likeButton','customView','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','addMany','3636216vMWIDP'];_0x5254=function(){return _0x30c157;};return _0x5254();}export class AIMiniToolbarView extends _0x26c809{[_0x543529(0x1c6)];[_0x543529(0x1b3)];[_0x543529(0x1d1)];[_0x543529(0x1bd)];[_0x543529(0x1cc)];constructor(_0x54cc23,_0x42a384={},_0x17b26d){const _0x306b0f=_0x543529;super(_0x54cc23),this[_0x306b0f(0x1b9)](_0x306b0f(0x1da),!0x1),this[_0x306b0f(0x1cc)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x42a384};const _0x5159b1=!(this[_0x306b0f(0x1cc)][_0x306b0f(0x1aa)]||this[_0x306b0f(0x1cc)][_0x306b0f(0x1d3)]||this[_0x306b0f(0x1cc)][_0x306b0f(0x1d0)]||this[_0x306b0f(0x1cc)][_0x306b0f(0x1a9)]||this[_0x306b0f(0x1cc)][_0x306b0f(0x1b4)]?.[_0x306b0f(0x1ac)]);this[_0x306b0f(0x1c7)]=_0x5159b1?_0x306b0f(0x1cb):_0x306b0f(0x1d4),this[_0x306b0f(0x1cc)][_0x306b0f(0x1aa)]&&(this[_0x306b0f(0x1ca)](),this[_0x306b0f(0x1bb)][_0x306b0f(0x1c9)](this[_0x306b0f(0x1c6)])),this[_0x306b0f(0x1cc)][_0x306b0f(0x1d3)]&&(this[_0x306b0f(0x1a8)](_0x17b26d),this[_0x306b0f(0x1bb)][_0x306b0f(0x1c9)](this[_0x306b0f(0x1bd)])),this[_0x306b0f(0x1cd)](),this[_0x306b0f(0x1cc)][_0x306b0f(0x1d0)]&&this[_0x306b0f(0x1bb)][_0x306b0f(0x1c9)](this[_0x306b0f(0x1b3)]),this[_0x306b0f(0x1cc)][_0x306b0f(0x1a9)]&&this[_0x306b0f(0x1bb)][_0x306b0f(0x1c9)](this[_0x306b0f(0x1d1)]),this[_0x306b0f(0x1cc)][_0x306b0f(0x1b4)]&&this[_0x306b0f(0x1bb)][_0x306b0f(0x1b6)](this[_0x306b0f(0x1cc)][_0x306b0f(0x1b4)]);}[_0x543529(0x1cd)](){const _0x11ee31=_0x543529;this[_0x11ee31(0x1b3)]=new _0x336362(this[_0x11ee31(0x1ad)]),this[_0x11ee31(0x1b3)][_0x11ee31(0x1b9)]({'icon':_0x2e25c3,'label':_0x218bf5(this[_0x11ee31(0x1ad)],_0x11ee31(0x1bf)),'tooltip':!0x0}),this[_0x11ee31(0x1b3)][_0x11ee31(0x1ae)](_0x11ee31(0x1b1))['to'](this,_0x11ee31(0x1da),_0x5e192e=>!_0x5e192e),this[_0x11ee31(0x1b3)]['on'](_0x11ee31(0x1d2),()=>{const _0x1d3aec=_0x11ee31;this[_0x1d3aec(0x1be)](_0x1d3aec(0x1d5));}),this[_0x11ee31(0x1d1)]=new _0x336362(this[_0x11ee31(0x1ad)]),this[_0x11ee31(0x1d1)][_0x11ee31(0x1b9)]({'icon':_0x4a9a0f,'label':_0x218bf5(this[_0x11ee31(0x1ad)],_0x11ee31(0x1c2)),'tooltip':!0x0}),this[_0x11ee31(0x1d1)][_0x11ee31(0x1ae)](_0x11ee31(0x1b1))['to'](this,_0x11ee31(0x1da),_0x453f10=>!_0x453f10),this[_0x11ee31(0x1d1)]['on'](_0x11ee31(0x1d2),()=>{const _0x457005=_0x11ee31;this[_0x457005(0x1be)](_0x457005(0x1d8));});}[_0x543529(0x1ca)](){const _0x323745=_0x543529;this[_0x323745(0x1c6)]=new _0x336362(this[_0x323745(0x1ad)]),this[_0x323745(0x1c6)][_0x323745(0x1b9)]({'icon':_0x1021eb,'label':_0x218bf5(this[_0x323745(0x1ad)],_0x323745(0x1c4)),'class':_0x323745(0x1d7),'tooltip':!0x0}),this[_0x323745(0x1c6)][_0x323745(0x1ae)](_0x323745(0x1b1))['to'](this,_0x323745(0x1da),_0x6ea2c1=>!_0x6ea2c1);const _0x5a707d=new _0x226b6b();_0x5a707d[_0x323745(0x1b9)]({'content':_0x4fa955}),_0x5a707d[_0x323745(0x1ba)]({'attributes':{'class':[_0x323745(0x1ab)]}}),this[_0x323745(0x1c6)]['on'](_0x323745(0x1d2),()=>{const _0x3c138f=_0x323745;this[_0x3c138f(0x1c6)][_0x3c138f(0x1c7)]=_0x3c138f(0x1b5),setTimeout(()=>{const _0xec3e78=_0x3c138f;this[_0xec3e78(0x1c6)][_0xec3e78(0x1c7)]=_0xec3e78(0x1d7);},0x7d0);}),this[_0x323745(0x1c6)][_0x323745(0x1c5)][_0x323745(0x1c9)](_0x5a707d);}[_0x543529(0x1a8)](_0x36e47f){const _0x5b41b0=_0x543529;this[_0x5b41b0(0x1bd)]=new _0x336362(this[_0x5b41b0(0x1ad)]),this[_0x5b41b0(0x1bd)][_0x5b41b0(0x1b9)]({'icon':_0x1cee5e,'label':_0x218bf5(this[_0x5b41b0(0x1ad)],_0x5b41b0(0x1bc)),'withText':_0x5b41b0(0x1d6)==this[_0x5b41b0(0x1cc)][_0x5b41b0(0x1d3)],'tooltip':_0x5b41b0(0x1d6)!=this[_0x5b41b0(0x1cc)][_0x5b41b0(0x1d3)],'isOn':_0x36e47f}),this[_0x5b41b0(0x1bd)][_0x5b41b0(0x1ae)](_0x5b41b0(0x1b1))['to'](this,_0x5b41b0(0x1da),_0x580767=>!_0x580767),this[_0x5b41b0(0x1bd)]['on'](_0x5b41b0(0x1d2),()=>{const _0x1cf60c=_0x5b41b0,_0x20b811=!this[_0x1cf60c(0x1bd)][_0x1cf60c(0x1d9)];this[_0x1cf60c(0x1bd)][_0x1cf60c(0x1b9)]({'isOn':_0x20b811,'icon':_0x20b811?_0xa44fd7:_0x1cee5e}),this[_0x1cf60c(0x1be)](_0x1cf60c(0x1b8),_0x20b811);});}}
23
+ function _0x45b8(_0x4c95ae,_0x764fe1){const _0x54df91=_0x54df();return _0x45b8=function(_0x45b875,_0x4c7160){_0x45b875=_0x45b875-0xd4;let _0x1b5b8f=_0x54df91[_0x45b875];return _0x1b5b8f;},_0x45b8(_0x4c95ae,_0x764fe1);}const _0x3ba4a1=_0x45b8;function _0x54df(){const _0x4f83e3=['_setupRatingButtons','toggleShowChanges','_setupShowChangesButton','AI_MINI_TOOLBAR_DISLIKE','extendTemplate','AI_SUGGESTION_BUTTON_SHOW_CHANGES','777872yjGWZg','AI_MINI_TOOLBAR_LIKE','ck-ai-mini-toolbar-copy-button__check-mark','ck-ai-mini-toolbar','like','copyButton','class','addMany','ck-ai-mini-toolbar-copy-button','_setupCopyButton','_config','items','195768KmHXfK','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','locale','full','showCopy','showDislike','505kkaHpK','AI_MINI_TOOLBAR_COPY','bind','11725uZCMBk','likeButton','dislike','ck-ai-mini-toolbar\x20ck-hidden','438645pdneXn','2QhwhEl','showChanges','isLoading','50DrCuai','dislikeButton','4812YHMCjW','isEnabled','fire','set','children','showLike','808sdKuoX','showChangesButton','942rSUHRk','customView','execute','284992IfbVoe','isOn','737RZYfoZ','length','add'];_0x54df=function(){return _0x4f83e3;};return _0x54df();}(function(_0x2f18e0,_0x5368fb){const _0x54dbc4=_0x45b8,_0x366304=_0x2f18e0();while(!![]){try{const _0x522900=parseInt(_0x54dbc4(0x106))/0x1+-parseInt(_0x54dbc4(0xf6))/0x2*(-parseInt(_0x54dbc4(0xf5))/0x3)+parseInt(_0x54dbc4(0x101))/0x4*(parseInt(_0x54dbc4(0xee))/0x5)+-parseInt(_0x54dbc4(0x103))/0x6*(parseInt(_0x54dbc4(0xf1))/0x7)+parseInt(_0x54dbc4(0xdc))/0x8+-parseInt(_0x54dbc4(0xe8))/0x9*(parseInt(_0x54dbc4(0xf9))/0xa)+parseInt(_0x54dbc4(0x108))/0xb*(-parseInt(_0x54dbc4(0xfb))/0xc);if(_0x522900===_0x5368fb)break;else _0x366304['push'](_0x366304['shift']());}catch(_0x1d2c5f){_0x366304['push'](_0x366304['shift']());}}}(_0x54df,0x24ae1));import{ButtonView as _0x4ebd06,IconView as _0x12a960,ToolbarView as _0x20e121}from'ckeditor5/src/ui.js';import{IconCheck as _0x329a53,IconCopy as _0x32e420,IconShowChangesOff as _0x25864e,IconShowChangesOn as _0x16ab3b,IconThumbDown as _0x3186aa,IconThumbUp as _0x1f8fda}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x5ca314}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x20e121{[_0x3ba4a1(0xe1)];[_0x3ba4a1(0xf2)];[_0x3ba4a1(0xfa)];[_0x3ba4a1(0x102)];[_0x3ba4a1(0xe6)];constructor(_0x533808,_0xfa52ea={},_0x830ea8){const _0x372be6=_0x3ba4a1;super(_0x533808),this[_0x372be6(0xfe)](_0x372be6(0xf8),!0x1),this[_0x372be6(0xe6)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0xfa52ea};const _0x275eef=!(this[_0x372be6(0xe6)][_0x372be6(0xec)]||this[_0x372be6(0xe6)][_0x372be6(0xf7)]||this[_0x372be6(0xe6)][_0x372be6(0x100)]||this[_0x372be6(0xe6)][_0x372be6(0xed)]||this[_0x372be6(0xe6)][_0x372be6(0x104)]?.[_0x372be6(0xd4)]);this[_0x372be6(0xe2)]=_0x275eef?_0x372be6(0xf4):_0x372be6(0xdf),this[_0x372be6(0xe6)][_0x372be6(0xec)]&&(this[_0x372be6(0xe5)](),this[_0x372be6(0xe7)][_0x372be6(0xd5)](this[_0x372be6(0xe1)])),this[_0x372be6(0xe6)][_0x372be6(0xf7)]&&(this[_0x372be6(0xd8)](_0x830ea8),this[_0x372be6(0xe7)][_0x372be6(0xd5)](this[_0x372be6(0x102)])),this[_0x372be6(0xd6)](),this[_0x372be6(0xe6)][_0x372be6(0x100)]&&this[_0x372be6(0xe7)][_0x372be6(0xd5)](this[_0x372be6(0xf2)]),this[_0x372be6(0xe6)][_0x372be6(0xed)]&&this[_0x372be6(0xe7)][_0x372be6(0xd5)](this[_0x372be6(0xfa)]),this[_0x372be6(0xe6)][_0x372be6(0x104)]&&this[_0x372be6(0xe7)][_0x372be6(0xe3)](this[_0x372be6(0xe6)][_0x372be6(0x104)]);}[_0x3ba4a1(0xd6)](){const _0x384ec5=_0x3ba4a1;this[_0x384ec5(0xf2)]=new _0x4ebd06(this[_0x384ec5(0xea)]),this[_0x384ec5(0xf2)][_0x384ec5(0xfe)]({'icon':_0x1f8fda,'label':_0x5ca314(this[_0x384ec5(0xea)],_0x384ec5(0xdd)),'tooltip':!0x0}),this[_0x384ec5(0xf2)][_0x384ec5(0xf0)](_0x384ec5(0xfc))['to'](this,_0x384ec5(0xf8),_0x22d66b=>!_0x22d66b),this[_0x384ec5(0xf2)]['on'](_0x384ec5(0x105),()=>{const _0x5d76d0=_0x384ec5;this[_0x5d76d0(0xfd)](_0x5d76d0(0xe0));}),this[_0x384ec5(0xfa)]=new _0x4ebd06(this[_0x384ec5(0xea)]),this[_0x384ec5(0xfa)][_0x384ec5(0xfe)]({'icon':_0x3186aa,'label':_0x5ca314(this[_0x384ec5(0xea)],_0x384ec5(0xd9)),'tooltip':!0x0}),this[_0x384ec5(0xfa)][_0x384ec5(0xf0)](_0x384ec5(0xfc))['to'](this,_0x384ec5(0xf8),_0x549f2b=>!_0x549f2b),this[_0x384ec5(0xfa)]['on'](_0x384ec5(0x105),()=>{const _0x3e2d4f=_0x384ec5;this[_0x3e2d4f(0xfd)](_0x3e2d4f(0xf3));});}[_0x3ba4a1(0xe5)](){const _0x563df7=_0x3ba4a1;this[_0x563df7(0xe1)]=new _0x4ebd06(this[_0x563df7(0xea)]),this[_0x563df7(0xe1)][_0x563df7(0xfe)]({'icon':_0x32e420,'label':_0x5ca314(this[_0x563df7(0xea)],_0x563df7(0xef)),'class':_0x563df7(0xe4),'tooltip':!0x0}),this[_0x563df7(0xe1)][_0x563df7(0xf0)](_0x563df7(0xfc))['to'](this,_0x563df7(0xf8),_0x23cc77=>!_0x23cc77);const _0x8193f1=new _0x12a960();_0x8193f1[_0x563df7(0xfe)]({'content':_0x329a53}),_0x8193f1[_0x563df7(0xda)]({'attributes':{'class':[_0x563df7(0xde)]}}),this[_0x563df7(0xe1)]['on'](_0x563df7(0x105),()=>{const _0x1f4cc0=_0x563df7;this[_0x1f4cc0(0xe1)][_0x1f4cc0(0xe2)]=_0x1f4cc0(0xe9),setTimeout(()=>{const _0x4e9f0c=_0x1f4cc0;this[_0x4e9f0c(0xe1)][_0x4e9f0c(0xe2)]=_0x4e9f0c(0xe4);},0x7d0);}),this[_0x563df7(0xe1)][_0x563df7(0xff)][_0x563df7(0xd5)](_0x8193f1);}[_0x3ba4a1(0xd8)](_0x2ad2dc){const _0x4ee66d=_0x3ba4a1;this[_0x4ee66d(0x102)]=new _0x4ebd06(this[_0x4ee66d(0xea)]),this[_0x4ee66d(0x102)][_0x4ee66d(0xfe)]({'icon':_0x25864e,'label':_0x5ca314(this[_0x4ee66d(0xea)],_0x4ee66d(0xdb)),'withText':_0x4ee66d(0xeb)==this[_0x4ee66d(0xe6)][_0x4ee66d(0xf7)],'tooltip':_0x4ee66d(0xeb)!=this[_0x4ee66d(0xe6)][_0x4ee66d(0xf7)],'isOn':_0x2ad2dc}),this[_0x4ee66d(0x102)][_0x4ee66d(0xf0)](_0x4ee66d(0xfc))['to'](this,_0x4ee66d(0xf8),_0x221548=>!_0x221548),this[_0x4ee66d(0x102)]['on'](_0x4ee66d(0x105),()=>{const _0x5ef2fd=_0x4ee66d,_0x36788a=!this[_0x5ef2fd(0x102)][_0x5ef2fd(0x107)];this[_0x5ef2fd(0x102)][_0x5ef2fd(0xfe)]({'isOn':_0x36788a,'icon':_0x36788a?_0x16ab3b:_0x25864e}),this[_0x5ef2fd(0xfd)](_0x5ef2fd(0xd7),_0x36788a);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4b14(_0x23e59a,_0x3a1c7a){const _0x526f29=_0x526f();return _0x4b14=function(_0x4b1407,_0x44c216){_0x4b1407=_0x4b1407-0x1b3;let _0x4d0164=_0x526f29[_0x4b1407];return _0x4d0164;},_0x4b14(_0x23e59a,_0x3a1c7a);}const _0x5970f4=_0x4b14;(function(_0x5c4d5b,_0x161918){const _0x1915eb=_0x4b14,_0x1a5aa3=_0x5c4d5b();while(!![]){try{const _0x447980=parseInt(_0x1915eb(0x1c4))/0x1*(-parseInt(_0x1915eb(0x1e3))/0x2)+parseInt(_0x1915eb(0x1b5))/0x3+-parseInt(_0x1915eb(0x1d1))/0x4+-parseInt(_0x1915eb(0x1cb))/0x5+-parseInt(_0x1915eb(0x1ea))/0x6*(-parseInt(_0x1915eb(0x1c0))/0x7)+parseInt(_0x1915eb(0x1d0))/0x8*(-parseInt(_0x1915eb(0x1d7))/0x9)+parseInt(_0x1915eb(0x1c1))/0xa;if(_0x447980===_0x161918)break;else _0x1a5aa3['push'](_0x1a5aa3['shift']());}catch(_0x1b8648){_0x1a5aa3['push'](_0x1a5aa3['shift']());}}}(_0x526f,0x65637));function _0x526f(){const _0x36a68f=['53UAFnkZ','addEventListener','some','div','createCollection','set','ck-ai-suggestion__body__content-parts','3118960BxbbXX','_updateContentPartsPromiseQueue','updateContentParts','first','_emptyPartsWarningView','3109512BYaQJa','2955428xQtsyo','hasPendingParts','updateContent','_areActionsDisabled','AI_SUGGESTION_EMPTY_PART_WARNING','partsCount','9BQqjsw','findIndex','forEach','filter','from','isVisible','warning','setTemplate','add','hasChanges','empty-parts-warning','_availableActions','2326HmtFIB','push','state','pending','enqueue','locale','updatePartState','13206yTLlnK','ck-ai-suggestion__body','markAsDone','index','length','_showUnchangedParts','1911999VVmIEU','getPartView','partDefinition','setContent','_cachedContentParts','_children','toggleHeader','find','abort','delegate','queueEmptyPromise','252IDxdas','15116950VkRLxw','hasNonEmptyParts','AI_SUGGESTION_NO_PARTS_WARNING'];_0x526f=function(){return _0x36a68f;};return _0x526f();}import{View as _0x35b1c7}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x217719}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x18e273}from'../../utils/eventnames.js';import{PromiseQueue as _0x409ff0}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x88fc1b}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x1174f4}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x35b1c7{[_0x5970f4(0x1ba)];[_0x5970f4(0x1d4)];[_0x5970f4(0x1b4)];[_0x5970f4(0x1cc)];[_0x5970f4(0x1cf)];[_0x5970f4(0x1e2)];[_0x5970f4(0x1b9)]=[];constructor(_0x1e2376,_0xd6481b){const _0x831aee=_0x5970f4;super(_0x1e2376);const {areActionsDisabled:_0x3e3630,showUnchangedParts:_0x261d64,availableActions:_0x290f46}=_0xd6481b;this[_0x831aee(0x1d4)]=_0x3e3630,this[_0x831aee(0x1b4)]=_0x261d64,this[_0x831aee(0x1e2)]=_0x290f46,this[_0x831aee(0x1c9)](_0x831aee(0x1d2),!0x1),this[_0x831aee(0x1ba)]=this[_0x831aee(0x1c8)](),this[_0x831aee(0x1cc)]=new _0x409ff0(),this[_0x831aee(0x1cf)]=new _0x88fc1b({'id':_0x831aee(0x1e1),'initialContent':_0x1174f4(_0x1e2376,_0x831aee(0x1d5)),'level':_0x831aee(0x1dd)}),this[_0x831aee(0x1cf)][_0x831aee(0x1dc)]=!0x1,this[_0x831aee(0x1de)]({'tag':_0x831aee(0x1c7),'attributes':{'class':['ck',_0x831aee(0x1eb)]},'children':[{'tag':_0x831aee(0x1c7),'attributes':{'class':['ck',_0x831aee(0x1ca)]},'children':this[_0x831aee(0x1ba)]},this[_0x831aee(0x1cf)]]});}get[_0x5970f4(0x1d6)](){const _0x2d25be=_0x5970f4;return this[_0x2d25be(0x1ba)][_0x2d25be(0x1b3)];}async[_0x5970f4(0x1cd)]({parts:_0x945d7,renderingStrategy:_0x469d4d,abortSignal:_0x61b654}){const _0x3ffe5d=_0x5970f4;this[_0x3ffe5d(0x1ba)][_0x3ffe5d(0x1b3)]?_0x945d7[_0x3ffe5d(0x1d9)](_0x481d3d=>{const _0x3008df=_0x3ffe5d,_0x36dfc9=this[_0x3008df(0x1b9)][_0x3008df(0x1d8)](_0x2e9322=>_0x2e9322[_0x3008df(0x1ed)]==_0x481d3d[_0x3008df(0x1ed)]);-0x1===_0x36dfc9?this[_0x3008df(0x1b9)][_0x3008df(0x1e4)](_0x481d3d):this[_0x3008df(0x1b9)][_0x36dfc9]=_0x481d3d;}):this[_0x3ffe5d(0x1b9)]=_0x945d7;for(const _0x1e965d of _0x945d7[_0x3ffe5d(0x1da)](_0x1ab5b8=>_0x1ab5b8[_0x3ffe5d(0x1e0)]))this[_0x3ffe5d(0x1cc)][_0x3ffe5d(0x1e7)](async _0x1b0e74=>{const _0x66d224=_0x3ffe5d;let _0x3cd8e4=this[_0x66d224(0x1b6)](_0x1e965d[_0x66d224(0x1ed)]);_0x3cd8e4||(_0x3cd8e4=new _0x217719(this[_0x66d224(0x1e8)],{'part':_0x1e965d,'uiIndex':this[_0x66d224(0x1ba)][_0x66d224(0x1b3)]+0x1,'areActionsDisabled':this[_0x66d224(0x1d4)],'availableActions':this[_0x66d224(0x1e2)]}),_0x3cd8e4[_0x66d224(0x1be)](..._0x18e273)['to'](this),this[_0x66d224(0x1ba)][_0x66d224(0x1df)](_0x3cd8e4),this[_0x66d224(0x1d2)]=!0x0),0x2===this[_0x66d224(0x1ba)][_0x66d224(0x1b3)]&&this[_0x66d224(0x1ba)][_0x66d224(0x1ce)][_0x66d224(0x1bb)](!0x0),_0x3cd8e4[_0x66d224(0x1bb)](this[_0x66d224(0x1ba)][_0x66d224(0x1b3)]>0x1),await _0x3cd8e4[_0x66d224(0x1d3)]({'part':_0x1e965d,'renderingStrategy':_0x469d4d,'showUnchangedParts':this[_0x66d224(0x1b4)],'abortSignal':_0x1b0e74});});return _0x61b654?.[_0x3ffe5d(0x1c5)](_0x3ffe5d(0x1bd),()=>{const _0x43c18f=_0x3ffe5d;this[_0x43c18f(0x1cc)][_0x43c18f(0x1bd)]();}),this[_0x3ffe5d(0x1cc)][_0x3ffe5d(0x1bf)];}[_0x5970f4(0x1e9)](_0x345caf,_0x212096){const _0x22156c=_0x5970f4,_0x36c416=this[_0x22156c(0x1b6)](_0x345caf);_0x36c416&&(_0x36c416[_0x22156c(0x1e5)]=_0x212096),this[_0x22156c(0x1d2)]=_0x22156c(0x1e6)==_0x212096||Array[_0x22156c(0x1db)](this[_0x22156c(0x1ba)])[_0x22156c(0x1c6)](_0x1c0178=>_0x22156c(0x1e6)==_0x1c0178[_0x22156c(0x1e5)]);}[_0x5970f4(0x1b6)](_0x2316e4){const _0x376b9c=_0x5970f4;return this[_0x376b9c(0x1ba)][_0x376b9c(0x1bc)](_0x4d5071=>_0x4d5071[_0x376b9c(0x1b7)][_0x376b9c(0x1ed)]==_0x2316e4)??null;}[_0x5970f4(0x1ec)](){const _0x3298fe=_0x5970f4;if(!this[_0x3298fe(0x1b4)]){const _0x1ff53a=!this[_0x3298fe(0x1b9)][_0x3298fe(0x1bc)](({hasChanges:_0xbbbb9f})=>_0xbbbb9f),_0x275a61=!!this[_0x3298fe(0x1b9)][_0x3298fe(0x1bc)](({hasChanges:_0x3c57a2})=>!_0x3c57a2);this[_0x3298fe(0x1cf)][_0x3298fe(0x1dc)]=0x0==this[_0x3298fe(0x1ba)][_0x3298fe(0x1b3)]||_0x275a61,_0x1ff53a?this[_0x3298fe(0x1cf)][_0x3298fe(0x1b8)](_0x1174f4(this[_0x3298fe(0x1e8)],_0x3298fe(0x1c3))):this[_0x3298fe(0x1cf)][_0x3298fe(0x1b8)](_0x1174f4(this[_0x3298fe(0x1e8)],_0x3298fe(0x1d5)));}}get[_0x5970f4(0x1c2)](){const _0x1315f8=_0x5970f4;return!!this[_0x1315f8(0x1ba)][_0x1315f8(0x1bc)](_0xfa30ed=>_0xfa30ed[_0x1315f8(0x1b7)][_0x1315f8(0x1e0)]);}}
23
+ const _0xb80de=_0x3115;(function(_0x4a188f,_0x2afb82){const _0x124af8=_0x3115,_0x546e63=_0x4a188f();while(!![]){try{const _0x204db0=-parseInt(_0x124af8(0x8d))/0x1+-parseInt(_0x124af8(0xb2))/0x2*(parseInt(_0x124af8(0x91))/0x3)+parseInt(_0x124af8(0x95))/0x4+-parseInt(_0x124af8(0xbe))/0x5*(parseInt(_0x124af8(0xbc))/0x6)+parseInt(_0x124af8(0xa8))/0x7*(-parseInt(_0x124af8(0x96))/0x8)+parseInt(_0x124af8(0x98))/0x9*(parseInt(_0x124af8(0x8b))/0xa)+parseInt(_0x124af8(0xaf))/0xb;if(_0x204db0===_0x2afb82)break;else _0x546e63['push'](_0x546e63['shift']());}catch(_0x4a1bb0){_0x546e63['push'](_0x546e63['shift']());}}}(_0x5cf3,0xaa63d));import{View as _0x4c2a9c}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x5a70ea}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0xdd764b}from'../../utils/eventnames.js';import{PromiseQueue as _0x3b27c1}from'../../../aichat/utils/promisequeue.js';function _0x5cf3(){const _0x27b49f=['queueEmptyPromise','AI_SUGGESTION_NO_PARTS_WARNING','toggleHeader','1525258hUFvSi','setTemplate','ck-ai-suggestion__body__content-parts','updateContent','getPartView','enqueue','_cachedContentParts','17798132oKkonl','push','pending','18542IqLpAX','_areActionsDisabled','index','hasChanges','from','first','markAsDone','length','isVisible','forEach','32478MzuZZa','hasNonEmptyParts','325sbtqYY','setContent','hasPendingParts','filter','_availableActions','empty-parts-warning','updateContentParts','_showUnchangedParts','warning','10llWyar','_emptyPartsWarningView','1292182kCfqVd','_updateContentPartsPromiseQueue','findIndex','abort','96GXTkNw','updatePartState','div','add','4807628lNbSKn','8JzTLiX','createCollection','329319KReFlM','state','delegate','set','find','some','locale','_children','addEventListener','partsCount','ck-ai-suggestion__body','AI_SUGGESTION_EMPTY_PART_WARNING','partDefinition'];_0x5cf3=function(){return _0x27b49f;};return _0x5cf3();}import{AIChatFeedErrorItemView as _0x655a9d}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x299179}from'../../utils/common-translations.js';function _0x3115(_0x4ac938,_0x51ae4e){const _0x5cf3b5=_0x5cf3();return _0x3115=function(_0x311557,_0xd8f579){_0x311557=_0x311557-0x87;let _0x13752c=_0x5cf3b5[_0x311557];return _0x13752c;},_0x3115(_0x4ac938,_0x51ae4e);}export class AISuggestionBodyView extends _0x4c2a9c{[_0xb80de(0x9f)];[_0xb80de(0xb3)];[_0xb80de(0x89)];[_0xb80de(0x8e)];[_0xb80de(0x8c)];[_0xb80de(0xc2)];[_0xb80de(0xae)]=[];constructor(_0x263dd5,_0x373217){const _0x2ebc67=_0xb80de;super(_0x263dd5);const {areActionsDisabled:_0x164071,showUnchangedParts:_0xc1eb1,availableActions:_0xe48eca}=_0x373217;this[_0x2ebc67(0xb3)]=_0x164071,this[_0x2ebc67(0x89)]=_0xc1eb1,this[_0x2ebc67(0xc2)]=_0xe48eca,this[_0x2ebc67(0x9b)](_0x2ebc67(0xc0),!0x1),this[_0x2ebc67(0x9f)]=this[_0x2ebc67(0x97)](),this[_0x2ebc67(0x8e)]=new _0x3b27c1(),this[_0x2ebc67(0x8c)]=new _0x655a9d({'id':_0x2ebc67(0x87),'initialContent':_0x299179(_0x263dd5,_0x2ebc67(0xa3)),'level':_0x2ebc67(0x8a)}),this[_0x2ebc67(0x8c)][_0x2ebc67(0xba)]=!0x1,this[_0x2ebc67(0xa9)]({'tag':_0x2ebc67(0x93),'attributes':{'class':['ck',_0x2ebc67(0xa2)]},'children':[{'tag':_0x2ebc67(0x93),'attributes':{'class':['ck',_0x2ebc67(0xaa)]},'children':this[_0x2ebc67(0x9f)]},this[_0x2ebc67(0x8c)]]});}get[_0xb80de(0xa1)](){const _0x551729=_0xb80de;return this[_0x551729(0x9f)][_0x551729(0xb9)];}async[_0xb80de(0x88)]({parts:_0x3d1093,renderingStrategy:_0x11a046,abortSignal:_0x40dfff}){const _0x9881da=_0xb80de;this[_0x9881da(0x9f)][_0x9881da(0xb9)]?_0x3d1093[_0x9881da(0xbb)](_0x301b=>{const _0x252dbf=_0x9881da,_0x3f634f=this[_0x252dbf(0xae)][_0x252dbf(0x8f)](_0x1fa4b2=>_0x1fa4b2[_0x252dbf(0xb4)]==_0x301b[_0x252dbf(0xb4)]);-0x1===_0x3f634f?this[_0x252dbf(0xae)][_0x252dbf(0xb0)](_0x301b):this[_0x252dbf(0xae)][_0x3f634f]=_0x301b;}):this[_0x9881da(0xae)]=_0x3d1093;for(const _0x4deae2 of _0x3d1093[_0x9881da(0xc1)](_0x41a691=>_0x41a691[_0x9881da(0xb5)]))this[_0x9881da(0x8e)][_0x9881da(0xad)](async _0x59509a=>{const _0x226ccb=_0x9881da;let _0x37d2df=this[_0x226ccb(0xac)](_0x4deae2[_0x226ccb(0xb4)]);_0x37d2df||(_0x37d2df=new _0x5a70ea(this[_0x226ccb(0x9e)],{'part':_0x4deae2,'uiIndex':this[_0x226ccb(0x9f)][_0x226ccb(0xb9)]+0x1,'areActionsDisabled':this[_0x226ccb(0xb3)],'availableActions':this[_0x226ccb(0xc2)]}),_0x37d2df[_0x226ccb(0x9a)](..._0xdd764b)['to'](this),this[_0x226ccb(0x9f)][_0x226ccb(0x94)](_0x37d2df),this[_0x226ccb(0xc0)]=!0x0),0x2===this[_0x226ccb(0x9f)][_0x226ccb(0xb9)]&&this[_0x226ccb(0x9f)][_0x226ccb(0xb7)][_0x226ccb(0xa7)](!0x0),_0x37d2df[_0x226ccb(0xa7)](this[_0x226ccb(0x9f)][_0x226ccb(0xb9)]>0x1),await _0x37d2df[_0x226ccb(0xab)]({'part':_0x4deae2,'renderingStrategy':_0x11a046,'showUnchangedParts':this[_0x226ccb(0x89)],'abortSignal':_0x59509a});});return _0x40dfff?.[_0x9881da(0xa0)](_0x9881da(0x90),()=>{const _0x4f71b4=_0x9881da;this[_0x4f71b4(0x8e)][_0x4f71b4(0x90)]();}),this[_0x9881da(0x8e)][_0x9881da(0xa5)];}[_0xb80de(0x92)](_0x3266cc,_0x534b74){const _0x587391=_0xb80de,_0x543178=this[_0x587391(0xac)](_0x3266cc);_0x543178&&(_0x543178[_0x587391(0x99)]=_0x534b74),this[_0x587391(0xc0)]=_0x587391(0xb1)==_0x534b74||Array[_0x587391(0xb6)](this[_0x587391(0x9f)])[_0x587391(0x9d)](_0x3cbff1=>_0x587391(0xb1)==_0x3cbff1[_0x587391(0x99)]);}[_0xb80de(0xac)](_0x47cdd1){const _0x3dcf1f=_0xb80de;return this[_0x3dcf1f(0x9f)][_0x3dcf1f(0x9c)](_0x345886=>_0x345886[_0x3dcf1f(0xa4)][_0x3dcf1f(0xb4)]==_0x47cdd1)??null;}[_0xb80de(0xb8)](){const _0x490ac2=_0xb80de;if(!this[_0x490ac2(0x89)]){const _0x1c1c9e=!this[_0x490ac2(0xae)][_0x490ac2(0x9c)](({hasChanges:_0x443024})=>_0x443024),_0x2a0b93=!!this[_0x490ac2(0xae)][_0x490ac2(0x9c)](({hasChanges:_0x46a77d})=>!_0x46a77d);this[_0x490ac2(0x8c)][_0x490ac2(0xba)]=0x0==this[_0x490ac2(0x9f)][_0x490ac2(0xb9)]||_0x2a0b93,_0x1c1c9e?this[_0x490ac2(0x8c)][_0x490ac2(0xbf)](_0x299179(this[_0x490ac2(0x9e)],_0x490ac2(0xa6))):this[_0x490ac2(0x8c)][_0x490ac2(0xbf)](_0x299179(this[_0x490ac2(0x9e)],_0x490ac2(0xa3)));}}get[_0xb80de(0xbd)](){const _0x4c0539=_0xb80de;return!!this[_0x4c0539(0x9f)][_0x4c0539(0x9c)](_0x30c746=>_0x30c746[_0x4c0539(0xa4)][_0x4c0539(0xb5)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x641d0e=_0x2225;(function(_0x4fa6a1,_0x174aa7){const _0x40ba1a=_0x2225,_0x57b7f9=_0x4fa6a1();while(!![]){try{const _0x25d112=parseInt(_0x40ba1a(0x10b))/0x1+parseInt(_0x40ba1a(0x113))/0x2*(parseInt(_0x40ba1a(0x17d))/0x3)+-parseInt(_0x40ba1a(0x162))/0x4*(parseInt(_0x40ba1a(0x147))/0x5)+-parseInt(_0x40ba1a(0x112))/0x6*(-parseInt(_0x40ba1a(0x11e))/0x7)+parseInt(_0x40ba1a(0x109))/0x8+-parseInt(_0x40ba1a(0x16e))/0x9+-parseInt(_0x40ba1a(0x166))/0xa;if(_0x25d112===_0x174aa7)break;else _0x57b7f9['push'](_0x57b7f9['shift']());}catch(_0x28293f){_0x57b7f9['push'](_0x57b7f9['shift']());}}}(_0xe20c,0xc29ea));import{IconWeb as _0x6c1842}from'@ckeditor/ckeditor5-icons';function _0x2225(_0x1dc457,_0x3103f8){const _0xe20c82=_0xe20c();return _0x2225=function(_0x22252b,_0x38cc2f){_0x22252b=_0x22252b-0x109;let _0x374fae=_0xe20c82[_0x22252b];return _0x374fae;},_0x2225(_0x1dc457,_0x3103f8);}import{View as _0x5e7483,ButtonView as _0x45783a,IconView as _0x24f695,BalloonPanelView as _0xa83d7e}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x42eb45}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x1063b8}from'./aisuggestionheaderview.js';function _0xe20c(){const _0x2ecf07=['updateContent','ck-ai-suggestion__loader-text','addNavigationItem','_showTooltip','hideError','remove','7GtbPHP','AI_CHAT_SOURCES_HEADER','errorView','push','updateSources','AI_CHAT_IS_WRITING','hideLoader','locale','ck-ai-suggestion__error-text','isLoading','AI_CHAT_GENERIC_ERROR','_hideTooltip','clear','updateContentParts','ck-hidden','_setupBalloonPanel','removeNavigationItem','ck-ai-web-source__image','balloonPanelView','ck-ai-web-source__tooltip','_createTooltipContentView','.ck-ai-chat','toggleSuggestionDisplayMode','length','pin','clearLoading','add','ck-ai-web-source__tooltip-image','markAsDone','fire','element','img','icon','isErrorVisible','ck-ai-web-source__tooltip-row','setErrorState','get','ck-ai-web-source__tooltip-balloon','defaultPositions','hasNonEmptyParts','clearErrorState','61145IebWes','isOn','setLoading','_createLoaderView','ck-ai-web-sources__header','showLoader','...','url','destroy','northArrowSouthWest','substring','_bodyCollection','showError','querySelector','isEnabled','addMany','bodyCollection','isLoaderVisible','set','source','northArrowSouth','isVisible','extendTemplate','_createErrorView','ck-ai-suggestion__loader','favicon','show','136fKJfwi','.ck-ai-suggestion__error-text','map','ck-ai-web-sources','20951890vSWrKH','delegate','open','div','hide','createCollection','bodyView','isShowChangesToggleVisible','401247VQgBSZ','span','ck-ai-suggestion__error','children','bindTemplate','showChangesToggleView','small','ck-ai-suggestion__container','ck-ai-web-source__tooltip-url','items','northArrowSouthEast','loaderView','bind','_updateTooltipContent','toggleShowChanges','219MbTMcJ','textContent','ck-ai-web-source__tooltip-title','8059824roWUsO','sourcesView','549254QwFlyl','hostname','areChangesVisible','miniToolbarView','ck\x20ck-ai-web-source','setTemplate','title','8840406wQZquw','8838TKyhUJ','headerView','ck-rounded-corners','content','_blank'];_0xe20c=function(){return _0x2ecf07;};return _0xe20c();}import{AISuggestionBodyView as _0x482b2c}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x414e2b}from'../../utils/eventnames.js';import{AISpinnerView as _0x3a9000}from'../aispinner.js';import{getTranslation as _0x1c6768}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x5e7483{[_0x641d0e(0x16c)];[_0x641d0e(0x10e)];[_0x641d0e(0x171)];[_0x641d0e(0x114)];[_0x641d0e(0x179)];[_0x641d0e(0x120)];[_0x641d0e(0x10a)];[_0x641d0e(0x152)];constructor(_0x30216e,_0x131207,_0x66178b){const _0x433f15=_0x641d0e;super(_0x30216e),this[_0x433f15(0x152)]=_0x66178b;const {showDiff:_0x4fac95,areActionsDisabled:_0x99e9f7,miniToolbarConfig:_0x4511ec,hideHeader:_0x3f99a9,showLoader:_0x4d16f4,showUnchangedParts:_0x2b3a4d,availableActions:_0x12b713}=_0x131207;this[_0x433f15(0x159)](_0x433f15(0x10d),!0x1),this[_0x433f15(0x159)](_0x433f15(0x158),!!_0x4d16f4),this[_0x433f15(0x159)](_0x433f15(0x13f),!0x1),this[_0x433f15(0x159)](_0x433f15(0x127),!0x1),this[_0x433f15(0x171)]=this[_0x433f15(0x16b)](),_0x3f99a9||(this[_0x433f15(0x114)]=new _0x1063b8(_0x30216e,{'showDiff':_0x4fac95}),this[_0x433f15(0x114)]['on'](_0x433f15(0x17c),(_0x319f8a,_0x520770)=>{const _0x3f6bda=_0x433f15;this[_0x3f6bda(0x10d)]=_0x520770[_0x3f6bda(0x148)],this[_0x3f6bda(0x13b)](_0x3f6bda(0x134),{'showDiff':_0x520770[_0x3f6bda(0x148)]});}),this[_0x433f15(0x171)][_0x433f15(0x138)](this[_0x433f15(0x114)])),this[_0x433f15(0x16c)]=new _0x482b2c(_0x30216e,{'areActionsDisabled':_0x99e9f7,'showUnchangedParts':!!_0x2b3a4d,'availableActions':_0x12b713}),this[_0x433f15(0x16c)][_0x433f15(0x167)](..._0x414e2b)['to'](this),this[_0x433f15(0x16c)][_0x433f15(0x15d)]({'attributes':{'class':[this[_0x433f15(0x172)]['if'](_0x433f15(0x158),_0x433f15(0x12c)),this[_0x433f15(0x172)]['if'](_0x433f15(0x13f),_0x433f15(0x12c))]}}),this[_0x433f15(0x10e)]=new _0x42eb45(_0x30216e,_0x4511ec,_0x4fac95),this[_0x433f15(0x10e)][_0x433f15(0x167)](..._0x414e2b)['to'](this),this[_0x433f15(0x10e)]['on'](_0x433f15(0x17c),(_0x42f0c5,_0x111ba3)=>{const _0x11a2a8=_0x433f15;this[_0x11a2a8(0x10d)]=_0x111ba3,this[_0x11a2a8(0x13b)](_0x11a2a8(0x134),{'showDiff':_0x111ba3});}),this[_0x433f15(0x10e)][_0x433f15(0x17a)](_0x433f15(0x127))['to'](this),this[_0x433f15(0x171)][_0x433f15(0x138)](this[_0x433f15(0x16c)]),this[_0x433f15(0x171)][_0x433f15(0x138)](this[_0x433f15(0x10e)]),this[_0x433f15(0x10a)]=new AIWebSourcesView(this[_0x433f15(0x125)],this[_0x433f15(0x152)]),this[_0x433f15(0x171)][_0x433f15(0x138)](this[_0x433f15(0x10a)]),_0x4d16f4&&(this[_0x433f15(0x179)]=this[_0x433f15(0x14a)](),this[_0x433f15(0x171)][_0x433f15(0x138)](this[_0x433f15(0x179)])),this[_0x433f15(0x120)]=this[_0x433f15(0x15e)](),this[_0x433f15(0x171)][_0x433f15(0x138)](this[_0x433f15(0x120)]),this[_0x433f15(0x110)]({'tag':_0x433f15(0x169),'attributes':{'class':['ck',_0x433f15(0x175),_0x433f15(0x115)]},'children':this[_0x433f15(0x171)]});}async[_0x641d0e(0x118)](_0x2f5913){const _0x1c2e8a=_0x641d0e;await this[_0x1c2e8a(0x16c)][_0x1c2e8a(0x12b)](_0x2f5913);}[_0x641d0e(0x122)](_0x27ec3b){const _0xc19f5f=_0x641d0e,_0x46ae16=this[_0xc19f5f(0x10a)],_0x15e51b=_0x46ae16[_0xc19f5f(0x130)];_0x46ae16[_0xc19f5f(0x171)][_0xc19f5f(0x156)](_0x27ec3b[_0xc19f5f(0x164)](_0x4ee3db=>new AIWebSourceView(this[_0xc19f5f(0x125)],_0x4ee3db,_0x15e51b))),_0x46ae16[_0xc19f5f(0x15c)]=!0x0;}[_0x641d0e(0x14c)](){const _0xc8e22f=_0x641d0e;this[_0xc8e22f(0x179)]&&(this[_0xc8e22f(0x158)]=!0x0);}[_0x641d0e(0x124)](){const _0x3ec698=_0x641d0e;this[_0x3ec698(0x179)]&&(this[_0x3ec698(0x158)]=!0x1);}[_0x641d0e(0x153)](_0x2eb025){const _0x2a759f=_0x641d0e;if(this[_0x2a759f(0x120)]){const _0x4f63bb=this[_0x2a759f(0x120)][_0x2a759f(0x13c)]?.[_0x2a759f(0x154)](_0x2a759f(0x163));_0x4f63bb&&(_0x4f63bb[_0x2a759f(0x17e)]=_0x2eb025),this[_0x2a759f(0x13f)]=!0x0;}}[_0x641d0e(0x11c)](){const _0x2c0d2f=_0x641d0e;this[_0x2c0d2f(0x120)]&&(this[_0x2c0d2f(0x13f)]=!0x1);}[_0x641d0e(0x13a)](){const _0x2548d4=_0x641d0e;this[_0x2548d4(0x16c)][_0x2548d4(0x13a)](),this[_0x2548d4(0x114)]&&(this[_0x2548d4(0x114)][_0x2548d4(0x16d)]=this[_0x2548d4(0x16c)][_0x2548d4(0x145)]);}[_0x641d0e(0x149)](){const _0x3cce1a=_0x641d0e;this[_0x3cce1a(0x127)]=!0x0;}[_0x641d0e(0x137)](){const _0x202679=_0x641d0e;this[_0x202679(0x127)]=!0x1;}[_0x641d0e(0x141)](){const _0x4342ad=_0x641d0e;this[_0x4342ad(0x10e)]&&(this[_0x4342ad(0x10e)][_0x4342ad(0x127)]=!0x0),this[_0x4342ad(0x114)]?.[_0x4342ad(0x173)]&&(this[_0x4342ad(0x114)][_0x4342ad(0x173)][_0x4342ad(0x155)]=!0x1);}[_0x641d0e(0x146)](){const _0x55e641=_0x641d0e;this[_0x55e641(0x10e)]&&(this[_0x55e641(0x10e)][_0x55e641(0x127)]=!0x1),this[_0x55e641(0x114)]?.[_0x55e641(0x173)]&&(this[_0x55e641(0x114)][_0x55e641(0x173)][_0x55e641(0x155)]=!0x0);}[_0x641d0e(0x11a)](_0x1b50cc){const _0x2a7ac5=_0x641d0e;this[_0x2a7ac5(0x10e)][_0x2a7ac5(0x177)][_0x2a7ac5(0x138)](_0x1b50cc);}[_0x641d0e(0x12e)](_0x2e110d){const _0x349d07=_0x641d0e;this[_0x349d07(0x10e)][_0x349d07(0x177)][_0x349d07(0x11d)](_0x2e110d);}[_0x641d0e(0x14a)](){const _0x262dc1=_0x641d0e,_0x1b92f3=new _0x5e7483(this[_0x262dc1(0x125)]),_0x5c677a=new _0x3a9000(_0x262dc1(0x174));_0x5c677a[_0x262dc1(0x15c)]=!0x0;const _0xd21544=new _0x5e7483(this[_0x262dc1(0x125)]);return _0xd21544[_0x262dc1(0x110)]({'tag':_0x262dc1(0x16f),'attributes':{'class':['ck',_0x262dc1(0x119)]},'children':[_0x1c6768(this[_0x262dc1(0x125)],_0x262dc1(0x123))]}),_0x1b92f3[_0x262dc1(0x110)]({'tag':_0x262dc1(0x169),'attributes':{'class':['ck',_0x262dc1(0x15f),this[_0x262dc1(0x172)]['if'](_0x262dc1(0x158),_0x262dc1(0x12c),_0x38f003=>!_0x38f003)]},'children':[_0x5c677a,_0xd21544]}),_0x1b92f3;}[_0x641d0e(0x15e)](){const _0x1dd587=_0x641d0e,_0x4b3f5=new _0x5e7483(this[_0x1dd587(0x125)]),_0xb7b5a6=new _0x5e7483(this[_0x1dd587(0x125)]);return _0xb7b5a6[_0x1dd587(0x110)]({'tag':_0x1dd587(0x16f),'attributes':{'class':['ck',_0x1dd587(0x126)]},'children':[_0x1c6768(this[_0x1dd587(0x125)],_0x1dd587(0x128))]}),_0x4b3f5[_0x1dd587(0x110)]({'tag':_0x1dd587(0x169),'attributes':{'class':['ck',_0x1dd587(0x170),this[_0x1dd587(0x172)]['if'](_0x1dd587(0x13f),_0x1dd587(0x12c),_0x3b09ee=>!_0x3b09ee)]},'children':[_0xb7b5a6]}),_0x4b3f5;}}export class AIWebSourcesView extends _0x5e7483{[_0x641d0e(0x171)];[_0x641d0e(0x130)];[_0x641d0e(0x157)];constructor(_0x25f927,_0x3fa79d){const _0xf4721=_0x641d0e;super(_0x25f927),this[_0xf4721(0x157)]=_0x3fa79d,this[_0xf4721(0x171)]=this[_0xf4721(0x16b)](),this[_0xf4721(0x159)](_0xf4721(0x15c),!0x1),this[_0xf4721(0x110)]({'tag':_0xf4721(0x169),'attributes':{'class':['ck',_0xf4721(0x165),this[_0xf4721(0x172)]['if'](_0xf4721(0x15c),_0xf4721(0x12c),_0x372643=>!_0x372643)]},'children':this[_0xf4721(0x171)]});const _0x13baa5=new _0x5e7483(this[_0xf4721(0x125)]),_0x4b4132=new _0x24f695();_0x4b4132[_0xf4721(0x116)]=_0x6c1842,_0x13baa5[_0xf4721(0x110)]({'tag':_0xf4721(0x169),'attributes':{'class':['ck',_0xf4721(0x14b)]},'children':[_0x4b4132,{'tag':_0xf4721(0x16f),'children':[{'text':_0x1c6768(this[_0xf4721(0x125)],_0xf4721(0x11f))}]}]}),this[_0xf4721(0x171)][_0xf4721(0x138)](_0x13baa5),this[_0xf4721(0x12d)](_0x25f927);}[_0x641d0e(0x12d)](_0x1fc517){const _0x25e836=_0x641d0e;this[_0x25e836(0x130)]=new _0xa83d7e(_0x1fc517),this[_0x25e836(0x130)][_0x25e836(0x15d)]({'attributes':{'class':[_0x25e836(0x143)]}}),this[_0x25e836(0x157)][_0x25e836(0x138)](this[_0x25e836(0x130)]);}}export class AIWebSourceView extends _0x45783a{[_0x641d0e(0x130)];[_0x641d0e(0x15a)];constructor(_0x5d9cbe,_0x4a6b57,_0x2284b3){const _0x1c74a6=_0x641d0e;super(_0x5d9cbe),this[_0x1c74a6(0x15a)]=_0x4a6b57,this[_0x1c74a6(0x130)]=_0x2284b3,this[_0x1c74a6(0x159)]({'label':_0x4a6b57[_0x1c74a6(0x111)],'class':[_0x1c74a6(0x10f)],'withText':!0x0});const _0x178231=this[_0x1c74a6(0x172)];if(this[_0x1c74a6(0x15d)]({'on':{'click':_0x178231['to'](()=>{const _0x5ef77c=_0x1c74a6;window[_0x5ef77c(0x168)](_0x4a6b57[_0x5ef77c(0x14e)],_0x5ef77c(0x117));}),'mouseenter':_0x178231['to'](()=>{const _0x177aef=_0x1c74a6;this[_0x177aef(0x11b)]();}),'mouseleave':_0x178231['to'](()=>{const _0x3b14ac=_0x1c74a6;this[_0x3b14ac(0x129)]();})}}),_0x4a6b57[_0x1c74a6(0x160)]){const _0x4f4d5e=new _0x5e7483(_0x5d9cbe);_0x4f4d5e[_0x1c74a6(0x110)]({'tag':_0x1c74a6(0x13d),'attributes':{'src':_0x4a6b57[_0x1c74a6(0x160)]||_0x6c1842,'alt':_0x4a6b57[_0x1c74a6(0x111)],'class':[_0x1c74a6(0x12f)]}}),this[_0x1c74a6(0x171)][_0x1c74a6(0x138)](_0x4f4d5e);}else this[_0x1c74a6(0x159)](_0x1c74a6(0x13e),_0x6c1842);}[_0x641d0e(0x132)](_0x348813,_0x5b277f){const _0x39849d=_0x641d0e,_0x44dc92=new _0x5e7483(_0x348813),_0x1c9adc=[];let _0x38aec8;_0x5b277f?.[_0x39849d(0x160)]?(_0x38aec8=new _0x5e7483(_0x348813),_0x38aec8[_0x39849d(0x110)]({'tag':_0x39849d(0x13d),'attributes':{'src':_0x5b277f[_0x39849d(0x160)],'alt':_0x5b277f[_0x39849d(0x111)],'class':[_0x39849d(0x139)]}})):(_0x38aec8=new _0x24f695(),_0x38aec8[_0x39849d(0x116)]=_0x6c1842,_0x38aec8[_0x39849d(0x15d)]({'attributes':{'alt':_0x5b277f[_0x39849d(0x111)],'class':[_0x39849d(0x139)]}})),_0x1c9adc[_0x39849d(0x121)](_0x38aec8);const _0x1d304d=new _0x5e7483(_0x348813);_0x1d304d[_0x39849d(0x110)]({'tag':'a','attributes':{'class':[_0x39849d(0x176)],'href':_0x5b277f[_0x39849d(0x14e)]},'children':[{'text':new URL(_0x5b277f[_0x39849d(0x14e)])?.[_0x39849d(0x10c)]}]}),_0x1c9adc[_0x39849d(0x121)](_0x1d304d);const _0x527040=new _0x5e7483(_0x348813);_0x527040[_0x39849d(0x110)]({'tag':_0x39849d(0x169),'attributes':{'class':[_0x39849d(0x140)]},'children':_0x1c9adc});const _0x279e4e=new _0x5e7483(_0x348813);return _0x279e4e[_0x39849d(0x110)]({'tag':_0x39849d(0x16f),'attributes':{'class':[_0x39849d(0x140),_0x39849d(0x17f)]},'children':[{'text':_0x5b277f[_0x39849d(0x111)][_0x39849d(0x135)]>0x190?_0x5b277f[_0x39849d(0x111)][_0x39849d(0x151)](0x0,0x190)+_0x39849d(0x14d):_0x5b277f[_0x39849d(0x111)]}]}),_0x44dc92[_0x39849d(0x110)]({'tag':_0x39849d(0x169),'attributes':{'class':['ck',_0x39849d(0x131)]},'children':[_0x527040,_0x279e4e]}),_0x44dc92;}[_0x641d0e(0x11b)](){const _0x27efd8=_0x641d0e;this[_0x27efd8(0x17b)](),this[_0x27efd8(0x130)][_0x27efd8(0x136)]({'target':this[_0x27efd8(0x13c)],'positions':[_0xa83d7e[_0x27efd8(0x144)][_0x27efd8(0x15b)],_0xa83d7e[_0x27efd8(0x144)][_0x27efd8(0x150)],_0xa83d7e[_0x27efd8(0x144)][_0x27efd8(0x178)]],'limiter':document[_0x27efd8(0x154)](_0x27efd8(0x133))}),this[_0x27efd8(0x130)][_0x27efd8(0x161)]();}[_0x641d0e(0x129)](){const _0xc07516=_0x641d0e;this[_0xc07516(0x130)][_0xc07516(0x16a)]();}[_0x641d0e(0x17b)](){const _0x17693b=_0x641d0e;this[_0x17693b(0x130)][_0x17693b(0x116)][_0x17693b(0x142)](0x0)?.[_0x17693b(0x14f)](),this[_0x17693b(0x130)][_0x17693b(0x116)][_0x17693b(0x12a)]();const _0x4bd457=this[_0x17693b(0x132)](this[_0x17693b(0x125)],this[_0x17693b(0x15a)]);this[_0x17693b(0x130)][_0x17693b(0x116)][_0x17693b(0x138)](_0x4bd457);}}
23
+ const _0x1d3684=_0x25c6;(function(_0x236c0d,_0x3d8261){const _0x2ad62f=_0x25c6,_0x13c6c6=_0x236c0d();while(!![]){try{const _0x1137c6=-parseInt(_0x2ad62f(0x19c))/0x1*(parseInt(_0x2ad62f(0x1af))/0x2)+-parseInt(_0x2ad62f(0x1bc))/0x3*(parseInt(_0x2ad62f(0x167))/0x4)+parseInt(_0x2ad62f(0x1b5))/0x5+parseInt(_0x2ad62f(0x198))/0x6+parseInt(_0x2ad62f(0x18c))/0x7+parseInt(_0x2ad62f(0x1cf))/0x8*(parseInt(_0x2ad62f(0x193))/0x9)+parseInt(_0x2ad62f(0x1a5))/0xa*(-parseInt(_0x2ad62f(0x1a8))/0xb);if(_0x1137c6===_0x3d8261)break;else _0x13c6c6['push'](_0x13c6c6['shift']());}catch(_0x4c35c1){_0x13c6c6['push'](_0x13c6c6['shift']());}}}(_0x2bf8,0xa6005));import{IconWeb as _0x49604f}from'@ckeditor/ckeditor5-icons';import{View as _0x4b1f82,ButtonView as _0x484747,IconView as _0x5a91f0,BalloonPanelView as _0x29fd10}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0xcba3ce}from'./aiminitoolbarview.js';function _0x25c6(_0x16d63e,_0x55103b){const _0x2bf877=_0x2bf8();return _0x25c6=function(_0x25c680,_0xa01b9e){_0x25c680=_0x25c680-0x167;let _0x5b5963=_0x2bf877[_0x25c680];return _0x5b5963;},_0x25c6(_0x16d63e,_0x55103b);}import{AISuggestionHeaderView as _0x525c01}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x4ef097}from'./aisuggestionbodyview.js';function _0x2bf8(){const _0x4f1596=['ck-ai-web-source__tooltip','showError','children','span','isOn','loaderView','bind','showLoader','setErrorState','bodyView','...','_showTooltip','img','content','ck-ai-web-source__tooltip-title','hideError','updateContentParts','title','isLoaderVisible','items','push','remove','clearLoading','delegate','textContent','isVisible','ck-ai-suggestion__container','ck-ai-web-source__image','pin','errorView','ck-ai-web-sources__header','4871244bDpQdr','areChangesVisible','toggleSuggestionDisplayMode','_createErrorView','open','ck-ai-web-source__tooltip-image','createCollection','2169QrpXqV','substring','AI_CHAT_IS_WRITING','removeNavigationItem','clear','7710582SsBhxR','_setupBalloonPanel','hostname','.ck-ai-chat','2101dnGvvg','ck-hidden','ck-ai-web-sources','hide','northArrowSouth','length','addNavigationItem','balloonPanelView','extendTemplate','9210VvnCSU','headerView','element','8206SQqJbE','updateContent','ck-ai-suggestion__loader-text','setTemplate','ck\x20ck-ai-web-source','ck-ai-web-source__tooltip-url','isShowChangesToggleVisible','158mwmLmT','bindTemplate','ck-ai-suggestion__error-text','icon','map','ck-ai-suggestion__error','372115GWSPyB','show','hasNonEmptyParts','bodyCollection','favicon','ck-ai-web-source__tooltip-balloon','miniToolbarView','687NqEkCq','toggleShowChanges','set','_createTooltipContentView','northArrowSouthEast','querySelector','addMany','AI_CHAT_SOURCES_HEADER','_updateTooltipContent','add','markAsDone','isEnabled','AI_CHAT_GENERIC_ERROR','hideLoader','fire','small','div','ck-rounded-corners','defaultPositions','26360XlqoxM','url','sourcesView','clearErrorState','_bodyCollection','.ck-ai-suggestion__error-text','_blank','isErrorVisible','source','_hideTooltip','isLoading','ck-ai-web-source__tooltip-row','northArrowSouthWest','setLoading','_createLoaderView','ck-ai-suggestion__loader','22996obMZsR','destroy','updateSources','get','locale','showChangesToggleView'];_0x2bf8=function(){return _0x4f1596;};return _0x2bf8();}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x2952b0}from'../../utils/eventnames.js';import{AISpinnerView as _0x143ac7}from'../aispinner.js';import{getTranslation as _0x5d5644}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x4b1f82{[_0x1d3684(0x176)];[_0x1d3684(0x1bb)];[_0x1d3684(0x16f)];[_0x1d3684(0x1a6)];[_0x1d3684(0x172)];[_0x1d3684(0x18a)];[_0x1d3684(0x1d1)];[_0x1d3684(0x1d3)];constructor(_0x524cc7,_0x4a8bfb,_0xeb92b7){const _0xc5aa7c=_0x1d3684;super(_0x524cc7),this[_0xc5aa7c(0x1d3)]=_0xeb92b7;const {showDiff:_0x4cc562,areActionsDisabled:_0x3401c5,miniToolbarConfig:_0x42a5fe,hideHeader:_0x2a2248,showLoader:_0x45f9b9,showUnchangedParts:_0x2a8a35,availableActions:_0x139cee}=_0x4a8bfb;this[_0xc5aa7c(0x1be)](_0xc5aa7c(0x18d),!0x1),this[_0xc5aa7c(0x1be)](_0xc5aa7c(0x17f),!!_0x45f9b9),this[_0xc5aa7c(0x1be)](_0xc5aa7c(0x1d6),!0x1),this[_0xc5aa7c(0x1be)](_0xc5aa7c(0x1d9),!0x1),this[_0xc5aa7c(0x16f)]=this[_0xc5aa7c(0x192)](),_0x2a2248||(this[_0xc5aa7c(0x1a6)]=new _0x525c01(_0x524cc7,{'showDiff':_0x4cc562}),this[_0xc5aa7c(0x1a6)]['on'](_0xc5aa7c(0x1bd),(_0x807bbf,_0x3ed805)=>{const _0x261bb7=_0xc5aa7c;this[_0x261bb7(0x18d)]=_0x3ed805[_0x261bb7(0x171)],this[_0x261bb7(0x1ca)](_0x261bb7(0x18e),{'showDiff':_0x3ed805[_0x261bb7(0x171)]});}),this[_0xc5aa7c(0x16f)][_0xc5aa7c(0x1c5)](this[_0xc5aa7c(0x1a6)])),this[_0xc5aa7c(0x176)]=new _0x4ef097(_0x524cc7,{'areActionsDisabled':_0x3401c5,'showUnchangedParts':!!_0x2a8a35,'availableActions':_0x139cee}),this[_0xc5aa7c(0x176)][_0xc5aa7c(0x184)](..._0x2952b0)['to'](this),this[_0xc5aa7c(0x176)][_0xc5aa7c(0x1a4)]({'attributes':{'class':[this[_0xc5aa7c(0x1b0)]['if'](_0xc5aa7c(0x17f),_0xc5aa7c(0x19d)),this[_0xc5aa7c(0x1b0)]['if'](_0xc5aa7c(0x1d6),_0xc5aa7c(0x19d))]}}),this[_0xc5aa7c(0x1bb)]=new _0xcba3ce(_0x524cc7,_0x42a5fe,_0x4cc562),this[_0xc5aa7c(0x1bb)][_0xc5aa7c(0x184)](..._0x2952b0)['to'](this),this[_0xc5aa7c(0x1bb)]['on'](_0xc5aa7c(0x1bd),(_0x20c6eb,_0x8fd3e4)=>{const _0x5a202c=_0xc5aa7c;this[_0x5a202c(0x18d)]=_0x8fd3e4,this[_0x5a202c(0x1ca)](_0x5a202c(0x18e),{'showDiff':_0x8fd3e4});}),this[_0xc5aa7c(0x1bb)][_0xc5aa7c(0x173)](_0xc5aa7c(0x1d9))['to'](this),this[_0xc5aa7c(0x16f)][_0xc5aa7c(0x1c5)](this[_0xc5aa7c(0x176)]),this[_0xc5aa7c(0x16f)][_0xc5aa7c(0x1c5)](this[_0xc5aa7c(0x1bb)]),this[_0xc5aa7c(0x1d1)]=new AIWebSourcesView(this[_0xc5aa7c(0x16b)],this[_0xc5aa7c(0x1d3)]),this[_0xc5aa7c(0x16f)][_0xc5aa7c(0x1c5)](this[_0xc5aa7c(0x1d1)]),_0x45f9b9&&(this[_0xc5aa7c(0x172)]=this[_0xc5aa7c(0x1dd)](),this[_0xc5aa7c(0x16f)][_0xc5aa7c(0x1c5)](this[_0xc5aa7c(0x172)])),this[_0xc5aa7c(0x18a)]=this[_0xc5aa7c(0x18f)](),this[_0xc5aa7c(0x16f)][_0xc5aa7c(0x1c5)](this[_0xc5aa7c(0x18a)]),this[_0xc5aa7c(0x1ab)]({'tag':_0xc5aa7c(0x1cc),'attributes':{'class':['ck',_0xc5aa7c(0x187),_0xc5aa7c(0x1cd)]},'children':this[_0xc5aa7c(0x16f)]});}async[_0x1d3684(0x1a9)](_0x17f38e){const _0x46f5e4=_0x1d3684;await this[_0x46f5e4(0x176)][_0x46f5e4(0x17d)](_0x17f38e);}[_0x1d3684(0x169)](_0x51c234){const _0x12f4d8=_0x1d3684,_0x1c66d0=this[_0x12f4d8(0x1d1)],_0x32a41=_0x1c66d0[_0x12f4d8(0x1a3)];_0x1c66d0[_0x12f4d8(0x16f)][_0x12f4d8(0x1c2)](_0x51c234[_0x12f4d8(0x1b3)](_0x422df2=>new AIWebSourceView(this[_0x12f4d8(0x16b)],_0x422df2,_0x32a41))),_0x1c66d0[_0x12f4d8(0x186)]=!0x0;}[_0x1d3684(0x174)](){const _0x1db32a=_0x1d3684;this[_0x1db32a(0x172)]&&(this[_0x1db32a(0x17f)]=!0x0);}[_0x1d3684(0x1c9)](){const _0x1dc858=_0x1d3684;this[_0x1dc858(0x172)]&&(this[_0x1dc858(0x17f)]=!0x1);}[_0x1d3684(0x16e)](_0xb41406){const _0x3129bc=_0x1d3684;if(this[_0x3129bc(0x18a)]){const _0x40c200=this[_0x3129bc(0x18a)][_0x3129bc(0x1a7)]?.[_0x3129bc(0x1c1)](_0x3129bc(0x1d4));_0x40c200&&(_0x40c200[_0x3129bc(0x185)]=_0xb41406),this[_0x3129bc(0x1d6)]=!0x0;}}[_0x1d3684(0x17c)](){const _0x280624=_0x1d3684;this[_0x280624(0x18a)]&&(this[_0x280624(0x1d6)]=!0x1);}[_0x1d3684(0x1c6)](){const _0x3b2fc0=_0x1d3684;this[_0x3b2fc0(0x176)][_0x3b2fc0(0x1c6)](),this[_0x3b2fc0(0x1a6)]&&(this[_0x3b2fc0(0x1a6)][_0x3b2fc0(0x1ae)]=this[_0x3b2fc0(0x176)][_0x3b2fc0(0x1b7)]);}[_0x1d3684(0x1dc)](){const _0x1da45a=_0x1d3684;this[_0x1da45a(0x1d9)]=!0x0;}[_0x1d3684(0x183)](){const _0x30db6b=_0x1d3684;this[_0x30db6b(0x1d9)]=!0x1;}[_0x1d3684(0x175)](){const _0x27dc58=_0x1d3684;this[_0x27dc58(0x1bb)]&&(this[_0x27dc58(0x1bb)][_0x27dc58(0x1d9)]=!0x0),this[_0x27dc58(0x1a6)]?.[_0x27dc58(0x16c)]&&(this[_0x27dc58(0x1a6)][_0x27dc58(0x16c)][_0x27dc58(0x1c7)]=!0x1);}[_0x1d3684(0x1d2)](){const _0x824432=_0x1d3684;this[_0x824432(0x1bb)]&&(this[_0x824432(0x1bb)][_0x824432(0x1d9)]=!0x1),this[_0x824432(0x1a6)]?.[_0x824432(0x16c)]&&(this[_0x824432(0x1a6)][_0x824432(0x16c)][_0x824432(0x1c7)]=!0x0);}[_0x1d3684(0x1a2)](_0x3e24f8){const _0x484c84=_0x1d3684;this[_0x484c84(0x1bb)][_0x484c84(0x180)][_0x484c84(0x1c5)](_0x3e24f8);}[_0x1d3684(0x196)](_0x42b817){const _0x5b326e=_0x1d3684;this[_0x5b326e(0x1bb)][_0x5b326e(0x180)][_0x5b326e(0x182)](_0x42b817);}[_0x1d3684(0x1dd)](){const _0x6ac4eb=_0x1d3684,_0x4f2a27=new _0x4b1f82(this[_0x6ac4eb(0x16b)]),_0x3391f3=new _0x143ac7(_0x6ac4eb(0x1cb));_0x3391f3[_0x6ac4eb(0x186)]=!0x0;const _0x50f23a=new _0x4b1f82(this[_0x6ac4eb(0x16b)]);return _0x50f23a[_0x6ac4eb(0x1ab)]({'tag':_0x6ac4eb(0x170),'attributes':{'class':['ck',_0x6ac4eb(0x1aa)]},'children':[_0x5d5644(this[_0x6ac4eb(0x16b)],_0x6ac4eb(0x195))]}),_0x4f2a27[_0x6ac4eb(0x1ab)]({'tag':_0x6ac4eb(0x1cc),'attributes':{'class':['ck',_0x6ac4eb(0x1de),this[_0x6ac4eb(0x1b0)]['if'](_0x6ac4eb(0x17f),_0x6ac4eb(0x19d),_0x52e3e8=>!_0x52e3e8)]},'children':[_0x3391f3,_0x50f23a]}),_0x4f2a27;}[_0x1d3684(0x18f)](){const _0x44b6e8=_0x1d3684,_0x2ea770=new _0x4b1f82(this[_0x44b6e8(0x16b)]),_0x4c11b1=new _0x4b1f82(this[_0x44b6e8(0x16b)]);return _0x4c11b1[_0x44b6e8(0x1ab)]({'tag':_0x44b6e8(0x170),'attributes':{'class':['ck',_0x44b6e8(0x1b1)]},'children':[_0x5d5644(this[_0x44b6e8(0x16b)],_0x44b6e8(0x1c8))]}),_0x2ea770[_0x44b6e8(0x1ab)]({'tag':_0x44b6e8(0x1cc),'attributes':{'class':['ck',_0x44b6e8(0x1b4),this[_0x44b6e8(0x1b0)]['if'](_0x44b6e8(0x1d6),_0x44b6e8(0x19d),_0x20489c=>!_0x20489c)]},'children':[_0x4c11b1]}),_0x2ea770;}}export class AIWebSourcesView extends _0x4b1f82{[_0x1d3684(0x16f)];[_0x1d3684(0x1a3)];[_0x1d3684(0x1b8)];constructor(_0x593f24,_0x39d3e8){const _0x4c0ec2=_0x1d3684;super(_0x593f24),this[_0x4c0ec2(0x1b8)]=_0x39d3e8,this[_0x4c0ec2(0x16f)]=this[_0x4c0ec2(0x192)](),this[_0x4c0ec2(0x1be)](_0x4c0ec2(0x186),!0x1),this[_0x4c0ec2(0x1ab)]({'tag':_0x4c0ec2(0x1cc),'attributes':{'class':['ck',_0x4c0ec2(0x19e),this[_0x4c0ec2(0x1b0)]['if'](_0x4c0ec2(0x186),_0x4c0ec2(0x19d),_0x417898=>!_0x417898)]},'children':this[_0x4c0ec2(0x16f)]});const _0x17ec0d=new _0x4b1f82(this[_0x4c0ec2(0x16b)]),_0x216c30=new _0x5a91f0();_0x216c30[_0x4c0ec2(0x17a)]=_0x49604f,_0x17ec0d[_0x4c0ec2(0x1ab)]({'tag':_0x4c0ec2(0x1cc),'attributes':{'class':['ck',_0x4c0ec2(0x18b)]},'children':[_0x216c30,{'tag':_0x4c0ec2(0x170),'children':[{'text':_0x5d5644(this[_0x4c0ec2(0x16b)],_0x4c0ec2(0x1c3))}]}]}),this[_0x4c0ec2(0x16f)][_0x4c0ec2(0x1c5)](_0x17ec0d),this[_0x4c0ec2(0x199)](_0x593f24);}[_0x1d3684(0x199)](_0x4150e3){const _0x568e28=_0x1d3684;this[_0x568e28(0x1a3)]=new _0x29fd10(_0x4150e3),this[_0x568e28(0x1a3)][_0x568e28(0x1a4)]({'attributes':{'class':[_0x568e28(0x1ba)]}}),this[_0x568e28(0x1b8)][_0x568e28(0x1c5)](this[_0x568e28(0x1a3)]);}}export class AIWebSourceView extends _0x484747{[_0x1d3684(0x1a3)];[_0x1d3684(0x1d7)];constructor(_0x1705c0,_0x19a434,_0x2d775d){const _0x2d26d5=_0x1d3684;super(_0x1705c0),this[_0x2d26d5(0x1d7)]=_0x19a434,this[_0x2d26d5(0x1a3)]=_0x2d775d,this[_0x2d26d5(0x1be)]({'label':_0x19a434[_0x2d26d5(0x17e)],'class':[_0x2d26d5(0x1ac)],'withText':!0x0});const _0xd125ad=this[_0x2d26d5(0x1b0)];if(this[_0x2d26d5(0x1a4)]({'on':{'click':_0xd125ad['to'](()=>{const _0x50da89=_0x2d26d5;window[_0x50da89(0x190)](_0x19a434[_0x50da89(0x1d0)],_0x50da89(0x1d5));}),'mouseenter':_0xd125ad['to'](()=>{const _0x41f74b=_0x2d26d5;this[_0x41f74b(0x178)]();}),'mouseleave':_0xd125ad['to'](()=>{const _0x260e4e=_0x2d26d5;this[_0x260e4e(0x1d8)]();})}}),_0x19a434[_0x2d26d5(0x1b9)]){const _0x1fd606=new _0x4b1f82(_0x1705c0);_0x1fd606[_0x2d26d5(0x1ab)]({'tag':_0x2d26d5(0x179),'attributes':{'src':_0x19a434[_0x2d26d5(0x1b9)]||_0x49604f,'alt':_0x19a434[_0x2d26d5(0x17e)],'class':[_0x2d26d5(0x188)]}}),this[_0x2d26d5(0x16f)][_0x2d26d5(0x1c5)](_0x1fd606);}else this[_0x2d26d5(0x1be)](_0x2d26d5(0x1b2),_0x49604f);}[_0x1d3684(0x1bf)](_0x563c75,_0x38046f){const _0x446906=_0x1d3684,_0x438bdc=new _0x4b1f82(_0x563c75),_0x50c59d=[];let _0xc43971;_0x38046f?.[_0x446906(0x1b9)]?(_0xc43971=new _0x4b1f82(_0x563c75),_0xc43971[_0x446906(0x1ab)]({'tag':_0x446906(0x179),'attributes':{'src':_0x38046f[_0x446906(0x1b9)],'alt':_0x38046f[_0x446906(0x17e)],'class':[_0x446906(0x191)]}})):(_0xc43971=new _0x5a91f0(),_0xc43971[_0x446906(0x17a)]=_0x49604f,_0xc43971[_0x446906(0x1a4)]({'attributes':{'alt':_0x38046f[_0x446906(0x17e)],'class':[_0x446906(0x191)]}})),_0x50c59d[_0x446906(0x181)](_0xc43971);const _0x2b9de7=new _0x4b1f82(_0x563c75);_0x2b9de7[_0x446906(0x1ab)]({'tag':'a','attributes':{'class':[_0x446906(0x1ad)],'href':_0x38046f[_0x446906(0x1d0)]},'children':[{'text':new URL(_0x38046f[_0x446906(0x1d0)])?.[_0x446906(0x19a)]}]}),_0x50c59d[_0x446906(0x181)](_0x2b9de7);const _0x5306ab=new _0x4b1f82(_0x563c75);_0x5306ab[_0x446906(0x1ab)]({'tag':_0x446906(0x1cc),'attributes':{'class':[_0x446906(0x1da)]},'children':_0x50c59d});const _0x149c1d=new _0x4b1f82(_0x563c75);return _0x149c1d[_0x446906(0x1ab)]({'tag':_0x446906(0x170),'attributes':{'class':[_0x446906(0x1da),_0x446906(0x17b)]},'children':[{'text':_0x38046f[_0x446906(0x17e)][_0x446906(0x1a1)]>0x190?_0x38046f[_0x446906(0x17e)][_0x446906(0x194)](0x0,0x190)+_0x446906(0x177):_0x38046f[_0x446906(0x17e)]}]}),_0x438bdc[_0x446906(0x1ab)]({'tag':_0x446906(0x1cc),'attributes':{'class':['ck',_0x446906(0x16d)]},'children':[_0x5306ab,_0x149c1d]}),_0x438bdc;}[_0x1d3684(0x178)](){const _0x17c95a=_0x1d3684;this[_0x17c95a(0x1c4)](),this[_0x17c95a(0x1a3)][_0x17c95a(0x189)]({'target':this[_0x17c95a(0x1a7)],'positions':[_0x29fd10[_0x17c95a(0x1ce)][_0x17c95a(0x1a0)],_0x29fd10[_0x17c95a(0x1ce)][_0x17c95a(0x1db)],_0x29fd10[_0x17c95a(0x1ce)][_0x17c95a(0x1c0)]],'limiter':document[_0x17c95a(0x1c1)](_0x17c95a(0x19b))}),this[_0x17c95a(0x1a3)][_0x17c95a(0x1b6)]();}[_0x1d3684(0x1d8)](){const _0xab6863=_0x1d3684;this[_0xab6863(0x1a3)][_0xab6863(0x19f)]();}[_0x1d3684(0x1c4)](){const _0x48cbe3=_0x1d3684;this[_0x48cbe3(0x1a3)][_0x48cbe3(0x17a)][_0x48cbe3(0x16a)](0x0)?.[_0x48cbe3(0x168)](),this[_0x48cbe3(0x1a3)][_0x48cbe3(0x17a)][_0x48cbe3(0x197)]();const _0xd879d2=this[_0x48cbe3(0x1bf)](this[_0x48cbe3(0x16b)],this[_0x48cbe3(0x1d7)]);this[_0x48cbe3(0x1a3)][_0x48cbe3(0x17a)][_0x48cbe3(0x1c5)](_0xd879d2);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1917a9=_0x1945;(function(_0xfc41d7,_0x547bbb){const _0x41e635=_0x1945,_0x7ada78=_0xfc41d7();while(!![]){try{const _0x4def53=parseInt(_0x41e635(0x17e))/0x1*(-parseInt(_0x41e635(0x171))/0x2)+-parseInt(_0x41e635(0x170))/0x3*(parseInt(_0x41e635(0x143))/0x4)+-parseInt(_0x41e635(0x189))/0x5+parseInt(_0x41e635(0x180))/0x6*(parseInt(_0x41e635(0x186))/0x7)+-parseInt(_0x41e635(0x155))/0x8*(parseInt(_0x41e635(0x142))/0x9)+-parseInt(_0x41e635(0x13f))/0xa+parseInt(_0x41e635(0x17d))/0xb;if(_0x4def53===_0x547bbb)break;else _0x7ada78['push'](_0x7ada78['shift']());}catch(_0x88a482){_0x7ada78['push'](_0x7ada78['shift']());}}}(_0x191d,0x977fd));import{View as _0x29ac2a,IconView as _0x1d7605,ToolbarView as _0x3ea1e8,ButtonView as _0x5e980e}from'ckeditor5/src/ui.js';function _0x1945(_0x486a60,_0x153d61){const _0x191da1=_0x191d();return _0x1945=function(_0x19459e,_0x5eb565){_0x19459e=_0x19459e-0x13a;let _0x453bbc=_0x191da1[_0x19459e];return _0x453bbc;},_0x1945(_0x486a60,_0x153d61);}function _0x191d(){const _0x27fb2f=['_iconStateRejected','ck-ai-suggestion__body__content-part__icon-outdated','AI_SUGGESTION_CONTENT_PART_TITLE','rejectSuggestion','ck-ai-suggestion__body__content-part__icon-accepted','add','setTemplate','outdated','createCollection','AI_SUGGESTION_CONTENT_PART_OUTDATED','span','mouseLeaveSuggestion','delegate','push','stream','has','change:state','toggleHeader','toString','ck-ai-suggestion__body__content-part__title','pending','fire','content','ck-reset_all-excluded','remove','21cgyDtR','2DmKqSj','ck-hidden','headerView','includes','ck-ai-suggestion__body__content-part','ck-ai-suggestion__body__content-part__icon-title','ck-ai-suggestion__body__content-part__icon-rejected','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','ck-content','animation:\x20ck-html-streamer-fade-in\x20.5s','isVisible','execute','49664626mzzLIx','389255WYLART','_toolbarView','6qnEOzO','bind','streaming','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','ck-ai-suggestion__body__content-part_active','htmlStreamer','5835193KeORpB','bindTemplate','AI_SUGGESTION_CONTENT_PART_DELETE','5180885lJnXow','set','ck-ai-suggestion__body__content-part_','updateContent','addMany','index','children','div','10239190vgLsCM','innerHTML','ck-ai-suggestion__body__content-part__content','18RjVMFi','671372WPeWQy','rejected','ck-ai-suggestion__body__content-part__title__label','_iconStateAccepted','extendTemplate','insertSuggestion','element','contentView','_iconStateOutdated','showChangeInText','hasChanges','AI_SUGGESTION_CONTENT_PART_REJECTED','isEnabled','state','partDefinition','items','accepted','mouseOverSuggestion','4415088ENLPoC','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION'];_0x191d=function(){return _0x27fb2f;};return _0x191d();}import{IconAddComment as _0x487dc1,IconDocumentWithLoupe as _0x46c978,IconDocumentWithCheckmark as _0x1cc4f6,IconDocumentWithCross as _0x33b567,IconRemove as _0x2d6dc5,IconThreeStars as _0x23d2c3}from'ckeditor5/src/icons.js';import{HTMLStreamer as _0x570b8c}from'../../utils/htmlstreamer.js';import{getTranslation as _0x13ae5c}from'../../utils/common-translations.js';import{serialize as _0x2ed3a2}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x1c7eff}from'../../utils/eventnames.js';export class AISuggestionBodyViewContentPartView extends _0x29ac2a{[_0x1917a9(0x185)];[_0x1917a9(0x13d)];[_0x1917a9(0x173)];[_0x1917a9(0x14a)];constructor(_0x2804dc,{part:_0x22214b,uiIndex:_0x365684,areActionsDisabled:_0x366723,availableActions:_0x4b821b}){const _0x41941d=_0x1917a9;super(_0x2804dc),this[_0x41941d(0x18a)](_0x41941d(0x151),_0x22214b),this[_0x41941d(0x18a)](_0x41941d(0x150),_0x41941d(0x16b)),this[_0x41941d(0x18a)](_0x41941d(0x17b),!0x1),this[_0x41941d(0x181)](_0x41941d(0x14f))['to'](this,_0x41941d(0x150),_0x13aff5=>_0x41941d(0x16b)==_0x13aff5&&!_0x366723),this[_0x41941d(0x13d)]=this[_0x41941d(0x15f)](),this[_0x41941d(0x185)]=new _0x570b8c({'textNodeStyle':_0x41941d(0x17a),'delay':0x14}),this[_0x41941d(0x173)]=new Un(_0x2804dc,{'part':_0x22214b,'uiIndex':_0x365684,'availableActions':_0x4b821b}),this[_0x41941d(0x173)][_0x41941d(0x181)](_0x41941d(0x151))['to'](this),this[_0x41941d(0x173)][_0x41941d(0x181)](_0x41941d(0x14f))['to'](this),this[_0x41941d(0x173)][_0x41941d(0x181)](_0x41941d(0x150))['to'](this),this[_0x41941d(0x173)][_0x41941d(0x163)](..._0x1c7eff)['to'](this);const _0x59e2a4=this[_0x41941d(0x187)];this[_0x41941d(0x14a)]=new _0x29ac2a(),this[_0x41941d(0x14a)][_0x41941d(0x15d)]({'tag':_0x41941d(0x13e),'attributes':{'class':['ck',_0x41941d(0x179),_0x41941d(0x16e),_0x41941d(0x141)]}}),this[_0x41941d(0x13d)][_0x41941d(0x13b)]([this[_0x41941d(0x14a)]]),this[_0x41941d(0x15d)]({'tag':_0x41941d(0x13e),'attributes':{'class':['ck',_0x41941d(0x175),_0x59e2a4['to'](_0x41941d(0x150),_0x113fe7=>_0x41941d(0x18b)+_0x113fe7),_0x59e2a4['to'](_0x41941d(0x14f),_0x434b5b=>_0x434b5b?_0x41941d(0x184):void 0x0),_0x59e2a4['if'](_0x41941d(0x17b),_0x41941d(0x172),_0x19a1fd=>!_0x19a1fd)]},'children':this[_0x41941d(0x13d)],'on':{'mouseenter':_0x59e2a4['to'](()=>{const _0x375673=_0x41941d;this[_0x375673(0x14f)]&&this[_0x375673(0x16c)](_0x375673(0x154),{'index':_0x22214b[_0x375673(0x13c)]});}),'mouseleave':_0x59e2a4['to'](()=>{const _0x377039=_0x41941d;this[_0x377039(0x14f)]&&this[_0x377039(0x16c)](_0x377039(0x162),{'index':_0x22214b[_0x377039(0x13c)]});})}});}async[_0x1917a9(0x13a)]({part:_0x584f41,renderingStrategy:_0x1db95c,showUnchangedParts:_0x3a3c14=!0x1,abortSignal:_0x1a5a34}){const _0x8d22a8=_0x1917a9;this[_0x8d22a8(0x151)]=_0x584f41,this[_0x8d22a8(0x17b)]=this[_0x8d22a8(0x151)][_0x8d22a8(0x14d)]||_0x3a3c14,this[_0x8d22a8(0x17b)]&&(_0x8d22a8(0x182)===_0x1db95c?await this[_0x8d22a8(0x185)][_0x8d22a8(0x165)]({'document':this[_0x8d22a8(0x151)][_0x8d22a8(0x16d)],'targetElement':this[_0x8d22a8(0x14a)][_0x8d22a8(0x149)],'abortSignal':_0x1a5a34}):this[_0x8d22a8(0x14a)][_0x8d22a8(0x149)][_0x8d22a8(0x140)]=_0x2ed3a2(this[_0x8d22a8(0x151)][_0x8d22a8(0x16d)]));}[_0x1917a9(0x168)](_0x2a08af){const _0x1e6657=_0x1917a9;_0x2a08af?this[_0x1e6657(0x13d)][_0x1e6657(0x166)](this[_0x1e6657(0x173)])||this[_0x1e6657(0x13d)][_0x1e6657(0x15c)](this[_0x1e6657(0x173)],0x0):this[_0x1e6657(0x13d)][_0x1e6657(0x166)](this[_0x1e6657(0x173)])&&this[_0x1e6657(0x13d)][_0x1e6657(0x16f)](this[_0x1e6657(0x173)]);}}class Un extends _0x29ac2a{[_0x1917a9(0x13d)];[_0x1917a9(0x17f)];[_0x1917a9(0x146)];[_0x1917a9(0x157)];[_0x1917a9(0x14b)];constructor(_0x4c129c,{part:_0x361a95,uiIndex:_0x446b7f,availableActions:_0x47469f}){const _0x462fce=_0x1917a9;super(_0x4c129c),this[_0x462fce(0x18a)](_0x462fce(0x151),_0x361a95),this[_0x462fce(0x18a)](_0x462fce(0x14f),!0x0),this[_0x462fce(0x18a)](_0x462fce(0x150),_0x462fce(0x16b));const _0x396047=new _0x1d7605();_0x396047[_0x462fce(0x16d)]=_0x23d2c3,_0x396047[_0x462fce(0x147)]({'attributes':{'class':[_0x462fce(0x176)]}});const _0x1e439a=[];if(_0x47469f[_0x462fce(0x174)](_0x462fce(0x14c))){const _0x1c3102=new _0x5e980e(_0x4c129c);_0x1c3102[_0x462fce(0x18a)]({'label':_0x13ae5c(_0x4c129c,_0x462fce(0x178)),'tooltip':!0x0,'withText':!0x1,'icon':_0x46c978}),_0x1c3102[_0x462fce(0x181)](_0x462fce(0x14f))['to'](this),_0x1c3102['on'](_0x462fce(0x17c),()=>{const _0x241e67=_0x462fce;this[_0x241e67(0x16c)](_0x241e67(0x14c),{'index':_0x361a95[_0x241e67(0x13c)]});}),_0x1e439a[_0x462fce(0x164)](_0x1c3102);}if(_0x47469f[_0x462fce(0x174)](_0x462fce(0x148))){const _0x5c20a5=new _0x5e980e(_0x4c129c);_0x5c20a5[_0x462fce(0x18a)]({'label':_0x13ae5c(_0x4c129c,_0x462fce(0x156)),'tooltip':!0x0,'withText':!0x1,'icon':_0x487dc1}),_0x5c20a5[_0x462fce(0x181)](_0x462fce(0x14f))['to'](this),_0x5c20a5['on'](_0x462fce(0x17c),()=>{const _0x1b2b2f=_0x462fce;this[_0x1b2b2f(0x16c)](_0x1b2b2f(0x148),{'index':_0x361a95[_0x1b2b2f(0x13c)]});}),_0x1e439a[_0x462fce(0x164)](_0x5c20a5);}const _0x26013e=new _0x5e980e(_0x4c129c);_0x26013e[_0x462fce(0x18a)]({'label':_0x13ae5c(_0x4c129c,_0x462fce(0x188)),'tooltip':!0x0,'withText':!0x1,'icon':_0x2d6dc5}),_0x26013e[_0x462fce(0x181)](_0x462fce(0x14f))['to'](this),_0x26013e['on'](_0x462fce(0x17c),()=>{const _0x58f9df=_0x462fce;this[_0x58f9df(0x16c)](_0x58f9df(0x15a),{'index':_0x361a95[_0x58f9df(0x13c)]});}),_0x1e439a[_0x462fce(0x164)](_0x26013e),this[_0x462fce(0x17f)]=new _0x3ea1e8(_0x4c129c),this[_0x462fce(0x17f)][_0x462fce(0x152)][_0x462fce(0x13b)](_0x1e439a),this[_0x462fce(0x146)]=new _0x1d7605(),this[_0x462fce(0x146)][_0x462fce(0x16d)]=_0x1cc4f6,this[_0x462fce(0x146)][_0x462fce(0x147)]({'attributes':{'class':[_0x462fce(0x15b)],'data-cke-tooltip-text':_0x13ae5c(_0x4c129c,_0x462fce(0x183)),'data-cke-tooltip-position':'n'}}),this[_0x462fce(0x157)]=new _0x1d7605(),this[_0x462fce(0x157)][_0x462fce(0x16d)]=_0x33b567,this[_0x462fce(0x157)][_0x462fce(0x147)]({'attributes':{'class':[_0x462fce(0x177)],'data-cke-tooltip-text':_0x13ae5c(_0x4c129c,_0x462fce(0x14e)),'data-cke-tooltip-position':'n'}}),this[_0x462fce(0x14b)]=new _0x1d7605(),this[_0x462fce(0x14b)][_0x462fce(0x16d)]=_0x33b567,this[_0x462fce(0x14b)][_0x462fce(0x147)]({'attributes':{'class':[_0x462fce(0x158)],'data-cke-tooltip-text':_0x13ae5c(_0x4c129c,_0x462fce(0x160)),'data-cke-tooltip-position':'n'}});const _0x3de4f5=new _0x29ac2a(_0x4c129c);_0x3de4f5[_0x462fce(0x15d)]({'tag':_0x462fce(0x161),'attributes':{'class':['ck',_0x462fce(0x145)]},'children':[_0x13ae5c(_0x4c129c,_0x462fce(0x159),_0x446b7f[_0x462fce(0x169)]())]}),this[_0x462fce(0x13d)]=this[_0x462fce(0x15f)](),this[_0x462fce(0x13d)][_0x462fce(0x13b)]([_0x396047,_0x3de4f5,this[_0x462fce(0x17f)]]),this[_0x462fce(0x15d)]({'tag':_0x462fce(0x13e),'attributes':{'class':['ck',_0x462fce(0x16e),_0x462fce(0x16a)]},'children':this[_0x462fce(0x13d)]}),this['on'](_0x462fce(0x167),(_0x1c75e3,_0x2e0a7d,_0x2a4ada,_0x5ba71c)=>{const _0x2640b7=_0x462fce;switch(_0x5ba71c){case _0x2640b7(0x16b):this[_0x2640b7(0x13d)][_0x2640b7(0x16f)](this[_0x2640b7(0x17f)]);break;case _0x2640b7(0x153):this[_0x2640b7(0x13d)][_0x2640b7(0x16f)](this[_0x2640b7(0x146)]);break;case _0x2640b7(0x144):this[_0x2640b7(0x13d)][_0x2640b7(0x16f)](this[_0x2640b7(0x157)]);break;case _0x2640b7(0x15e):this[_0x2640b7(0x13d)][_0x2640b7(0x16f)](this[_0x2640b7(0x14b)]);}switch(_0x2a4ada){case _0x2640b7(0x16b):this[_0x2640b7(0x13d)][_0x2640b7(0x15c)](this[_0x2640b7(0x17f)]);break;case _0x2640b7(0x153):this[_0x2640b7(0x13d)][_0x2640b7(0x15c)](this[_0x2640b7(0x146)]);break;case _0x2640b7(0x144):this[_0x2640b7(0x13d)][_0x2640b7(0x15c)](this[_0x2640b7(0x157)]);break;case _0x2640b7(0x15e):this[_0x2640b7(0x13d)][_0x2640b7(0x15c)](this[_0x2640b7(0x14b)]);}});}}
23
+ const _0xa8d074=_0x5a8e;(function(_0x22225e,_0x4592c9){const _0x512f08=_0x5a8e,_0x187f33=_0x22225e();while(!![]){try{const _0xb633c=parseInt(_0x512f08(0x20d))/0x1+-parseInt(_0x512f08(0x223))/0x2+parseInt(_0x512f08(0x200))/0x3*(parseInt(_0x512f08(0x1f9))/0x4)+parseInt(_0x512f08(0x1f7))/0x5+parseInt(_0x512f08(0x1fc))/0x6+parseInt(_0x512f08(0x228))/0x7*(-parseInt(_0x512f08(0x23b))/0x8)+-parseInt(_0x512f08(0x20a))/0x9*(-parseInt(_0x512f08(0x20e))/0xa);if(_0xb633c===_0x4592c9)break;else _0x187f33['push'](_0x187f33['shift']());}catch(_0x3eb9d0){_0x187f33['push'](_0x187f33['shift']());}}}(_0x25b2,0x87b7b));import{View as _0x40df60,IconView as _0xbef169,ToolbarView as _0x174af7,ButtonView as _0x9f3ed3}from'ckeditor5/src/ui.js';import{IconAddComment as _0x51edcf,IconDocumentWithLoupe as _0x285f41,IconDocumentWithCheckmark as _0x596a6c,IconDocumentWithCross as _0x37a8d7,IconRemove as _0x401286,IconThreeStars as _0x3d8d9f}from'ckeditor5/src/icons.js';import{HTMLStreamer as _0x1c39a5}from'../../utils/htmlstreamer.js';import{getTranslation as _0x1623c5}from'../../utils/common-translations.js';import{serialize as _0x4b03d7}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x4386b6}from'../../utils/eventnames.js';function _0x25b2(){const _0x291ecc=['htmlStreamer','rejectSuggestion','_iconStateAccepted','ck-ai-suggestion__body__content-part_','showChangeInText','ck-ai-suggestion__body__content-part__icon-title','div','AI_SUGGESTION_CONTENT_PART_REJECTED','8TYzMil','animation:\x20ck-html-streamer-fade-in\x20.5s','state','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','remove','ck-reset_all-excluded','setTemplate','insertSuggestion','ck-ai-suggestion__body__content-part_active','rejected','ck-hidden','AI_SUGGESTION_CONTENT_PART_DELETE','bind','1854000cQSdng','_toolbarView','4vYPmOJ','createCollection','change:state','417978OKySCb','AI_SUGGESTION_CONTENT_PART_TITLE','outdated','ck-ai-suggestion__body__content-part__icon-accepted','697371FhEtpk','children','stream','execute','includes','pending','extendTemplate','items','updateContent','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','27gkVJFM','_iconStateOutdated','innerHTML','733888jEIXqq','1010540Lzuwmd','bindTemplate','push','element','accepted','ck-content','isEnabled','fire','toggleHeader','ck-ai-suggestion__body__content-part__icon-rejected','ck-ai-suggestion__body__content-part','set','ck-ai-suggestion__body__content-part__title__label','AI_SUGGESTION_CONTENT_PART_OUTDATED','index','mouseLeaveSuggestion','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','add','headerView','isVisible','_iconStateRejected','989700nOSThG','streaming','ck-ai-suggestion__body__content-part__icon-outdated','has','ck-ai-suggestion__body__content-part__content','4614547xCheAu','hasChanges','content','ck-ai-suggestion__body__content-part__title','toString','mouseOverSuggestion','partDefinition','contentView','delegate','addMany','span'];_0x25b2=function(){return _0x291ecc;};return _0x25b2();}function _0x5a8e(_0x10e2d1,_0x4771bc){const _0x25b247=_0x25b2();return _0x5a8e=function(_0x5a8e26,_0x15f066){_0x5a8e26=_0x5a8e26-0x1ef;let _0x4a4ae3=_0x25b247[_0x5a8e26];return _0x4a4ae3;},_0x5a8e(_0x10e2d1,_0x4771bc);}export class AISuggestionBodyViewContentPartView extends _0x40df60{[_0xa8d074(0x233)];[_0xa8d074(0x201)];[_0xa8d074(0x220)];[_0xa8d074(0x22f)];constructor(_0x586b75,{part:_0x523fc3,uiIndex:_0x51b7db,areActionsDisabled:_0x5b8c27,availableActions:_0x439745}){const _0x1bf975=_0xa8d074;super(_0x586b75),this[_0x1bf975(0x219)](_0x1bf975(0x22e),_0x523fc3),this[_0x1bf975(0x219)](_0x1bf975(0x23d),_0x1bf975(0x205)),this[_0x1bf975(0x219)](_0x1bf975(0x221),!0x1),this[_0x1bf975(0x1f6)](_0x1bf975(0x214))['to'](this,_0x1bf975(0x23d),_0x25fee6=>_0x1bf975(0x205)==_0x25fee6&&!_0x5b8c27),this[_0x1bf975(0x201)]=this[_0x1bf975(0x1fa)](),this[_0x1bf975(0x233)]=new _0x1c39a5({'textNodeStyle':_0x1bf975(0x23c),'delay':0x14}),this[_0x1bf975(0x220)]=new Un(_0x586b75,{'part':_0x523fc3,'uiIndex':_0x51b7db,'availableActions':_0x439745}),this[_0x1bf975(0x220)][_0x1bf975(0x1f6)](_0x1bf975(0x22e))['to'](this),this[_0x1bf975(0x220)][_0x1bf975(0x1f6)](_0x1bf975(0x214))['to'](this),this[_0x1bf975(0x220)][_0x1bf975(0x1f6)](_0x1bf975(0x23d))['to'](this),this[_0x1bf975(0x220)][_0x1bf975(0x230)](..._0x4386b6)['to'](this);const _0x572c91=this[_0x1bf975(0x20f)];this[_0x1bf975(0x22f)]=new _0x40df60(),this[_0x1bf975(0x22f)][_0x1bf975(0x1f0)]({'tag':_0x1bf975(0x239),'attributes':{'class':['ck',_0x1bf975(0x213),_0x1bf975(0x1ef),_0x1bf975(0x227)]}}),this[_0x1bf975(0x201)][_0x1bf975(0x231)]([this[_0x1bf975(0x22f)]]),this[_0x1bf975(0x1f0)]({'tag':_0x1bf975(0x239),'attributes':{'class':['ck',_0x1bf975(0x218),_0x572c91['to'](_0x1bf975(0x23d),_0x477800=>_0x1bf975(0x236)+_0x477800),_0x572c91['to'](_0x1bf975(0x214),_0x6e78f0=>_0x6e78f0?_0x1bf975(0x1f2):void 0x0),_0x572c91['if'](_0x1bf975(0x221),_0x1bf975(0x1f4),_0x1871cd=>!_0x1871cd)]},'children':this[_0x1bf975(0x201)],'on':{'mouseenter':_0x572c91['to'](()=>{const _0x29a161=_0x1bf975;this[_0x29a161(0x214)]&&this[_0x29a161(0x215)](_0x29a161(0x22d),{'index':_0x523fc3[_0x29a161(0x21c)]});}),'mouseleave':_0x572c91['to'](()=>{const _0x508894=_0x1bf975;this[_0x508894(0x214)]&&this[_0x508894(0x215)](_0x508894(0x21d),{'index':_0x523fc3[_0x508894(0x21c)]});})}});}async[_0xa8d074(0x208)]({part:_0x4f2893,renderingStrategy:_0x21fcf6,showUnchangedParts:_0xd937a2=!0x1,abortSignal:_0x5c9aa3}){const _0x4233d8=_0xa8d074;this[_0x4233d8(0x22e)]=_0x4f2893,this[_0x4233d8(0x221)]=this[_0x4233d8(0x22e)][_0x4233d8(0x229)]||_0xd937a2,this[_0x4233d8(0x221)]&&(_0x4233d8(0x224)===_0x21fcf6?await this[_0x4233d8(0x233)][_0x4233d8(0x202)]({'document':this[_0x4233d8(0x22e)][_0x4233d8(0x22a)],'targetElement':this[_0x4233d8(0x22f)][_0x4233d8(0x211)],'abortSignal':_0x5c9aa3}):this[_0x4233d8(0x22f)][_0x4233d8(0x211)][_0x4233d8(0x20c)]=_0x4b03d7(this[_0x4233d8(0x22e)][_0x4233d8(0x22a)]));}[_0xa8d074(0x216)](_0x4ac42d){const _0x8d76d5=_0xa8d074;_0x4ac42d?this[_0x8d76d5(0x201)][_0x8d76d5(0x226)](this[_0x8d76d5(0x220)])||this[_0x8d76d5(0x201)][_0x8d76d5(0x21f)](this[_0x8d76d5(0x220)],0x0):this[_0x8d76d5(0x201)][_0x8d76d5(0x226)](this[_0x8d76d5(0x220)])&&this[_0x8d76d5(0x201)][_0x8d76d5(0x23f)](this[_0x8d76d5(0x220)]);}}class Un extends _0x40df60{[_0xa8d074(0x201)];[_0xa8d074(0x1f8)];[_0xa8d074(0x235)];[_0xa8d074(0x222)];[_0xa8d074(0x20b)];constructor(_0x4f9966,{part:_0x445ec1,uiIndex:_0x763b26,availableActions:_0x4c2727}){const _0x3fe2d8=_0xa8d074;super(_0x4f9966),this[_0x3fe2d8(0x219)](_0x3fe2d8(0x22e),_0x445ec1),this[_0x3fe2d8(0x219)](_0x3fe2d8(0x214),!0x0),this[_0x3fe2d8(0x219)](_0x3fe2d8(0x23d),_0x3fe2d8(0x205));const _0x45e55c=new _0xbef169();_0x45e55c[_0x3fe2d8(0x22a)]=_0x3d8d9f,_0x45e55c[_0x3fe2d8(0x206)]({'attributes':{'class':[_0x3fe2d8(0x238)]}});const _0x3e0ef6=[];if(_0x4c2727[_0x3fe2d8(0x204)](_0x3fe2d8(0x237))){const _0x4df721=new _0x9f3ed3(_0x4f9966);_0x4df721[_0x3fe2d8(0x219)]({'label':_0x1623c5(_0x4f9966,_0x3fe2d8(0x23e)),'tooltip':!0x0,'withText':!0x1,'icon':_0x285f41}),_0x4df721[_0x3fe2d8(0x1f6)](_0x3fe2d8(0x214))['to'](this),_0x4df721['on'](_0x3fe2d8(0x203),()=>{const _0x2a8f6d=_0x3fe2d8;this[_0x2a8f6d(0x215)](_0x2a8f6d(0x237),{'index':_0x445ec1[_0x2a8f6d(0x21c)]});}),_0x3e0ef6[_0x3fe2d8(0x210)](_0x4df721);}if(_0x4c2727[_0x3fe2d8(0x204)](_0x3fe2d8(0x1f1))){const _0x3b75ea=new _0x9f3ed3(_0x4f9966);_0x3b75ea[_0x3fe2d8(0x219)]({'label':_0x1623c5(_0x4f9966,_0x3fe2d8(0x21e)),'tooltip':!0x0,'withText':!0x1,'icon':_0x51edcf}),_0x3b75ea[_0x3fe2d8(0x1f6)](_0x3fe2d8(0x214))['to'](this),_0x3b75ea['on'](_0x3fe2d8(0x203),()=>{const _0x432cde=_0x3fe2d8;this[_0x432cde(0x215)](_0x432cde(0x1f1),{'index':_0x445ec1[_0x432cde(0x21c)]});}),_0x3e0ef6[_0x3fe2d8(0x210)](_0x3b75ea);}const _0x464a5f=new _0x9f3ed3(_0x4f9966);_0x464a5f[_0x3fe2d8(0x219)]({'label':_0x1623c5(_0x4f9966,_0x3fe2d8(0x1f5)),'tooltip':!0x0,'withText':!0x1,'icon':_0x401286}),_0x464a5f[_0x3fe2d8(0x1f6)](_0x3fe2d8(0x214))['to'](this),_0x464a5f['on'](_0x3fe2d8(0x203),()=>{const _0x5f32f5=_0x3fe2d8;this[_0x5f32f5(0x215)](_0x5f32f5(0x234),{'index':_0x445ec1[_0x5f32f5(0x21c)]});}),_0x3e0ef6[_0x3fe2d8(0x210)](_0x464a5f),this[_0x3fe2d8(0x1f8)]=new _0x174af7(_0x4f9966),this[_0x3fe2d8(0x1f8)][_0x3fe2d8(0x207)][_0x3fe2d8(0x231)](_0x3e0ef6),this[_0x3fe2d8(0x235)]=new _0xbef169(),this[_0x3fe2d8(0x235)][_0x3fe2d8(0x22a)]=_0x596a6c,this[_0x3fe2d8(0x235)][_0x3fe2d8(0x206)]({'attributes':{'class':[_0x3fe2d8(0x1ff)],'data-cke-tooltip-text':_0x1623c5(_0x4f9966,_0x3fe2d8(0x209)),'data-cke-tooltip-position':'n'}}),this[_0x3fe2d8(0x222)]=new _0xbef169(),this[_0x3fe2d8(0x222)][_0x3fe2d8(0x22a)]=_0x37a8d7,this[_0x3fe2d8(0x222)][_0x3fe2d8(0x206)]({'attributes':{'class':[_0x3fe2d8(0x217)],'data-cke-tooltip-text':_0x1623c5(_0x4f9966,_0x3fe2d8(0x23a)),'data-cke-tooltip-position':'n'}}),this[_0x3fe2d8(0x20b)]=new _0xbef169(),this[_0x3fe2d8(0x20b)][_0x3fe2d8(0x22a)]=_0x37a8d7,this[_0x3fe2d8(0x20b)][_0x3fe2d8(0x206)]({'attributes':{'class':[_0x3fe2d8(0x225)],'data-cke-tooltip-text':_0x1623c5(_0x4f9966,_0x3fe2d8(0x21b)),'data-cke-tooltip-position':'n'}});const _0x2853ea=new _0x40df60(_0x4f9966);_0x2853ea[_0x3fe2d8(0x1f0)]({'tag':_0x3fe2d8(0x232),'attributes':{'class':['ck',_0x3fe2d8(0x21a)]},'children':[_0x1623c5(_0x4f9966,_0x3fe2d8(0x1fd),_0x763b26[_0x3fe2d8(0x22c)]())]}),this[_0x3fe2d8(0x201)]=this[_0x3fe2d8(0x1fa)](),this[_0x3fe2d8(0x201)][_0x3fe2d8(0x231)]([_0x45e55c,_0x2853ea,this[_0x3fe2d8(0x1f8)]]),this[_0x3fe2d8(0x1f0)]({'tag':_0x3fe2d8(0x239),'attributes':{'class':['ck',_0x3fe2d8(0x1ef),_0x3fe2d8(0x22b)]},'children':this[_0x3fe2d8(0x201)]}),this['on'](_0x3fe2d8(0x1fb),(_0x2a05c3,_0xae8001,_0x4e365d,_0x5ebddb)=>{const _0x1c9402=_0x3fe2d8;switch(_0x5ebddb){case _0x1c9402(0x205):this[_0x1c9402(0x201)][_0x1c9402(0x23f)](this[_0x1c9402(0x1f8)]);break;case _0x1c9402(0x212):this[_0x1c9402(0x201)][_0x1c9402(0x23f)](this[_0x1c9402(0x235)]);break;case _0x1c9402(0x1f3):this[_0x1c9402(0x201)][_0x1c9402(0x23f)](this[_0x1c9402(0x222)]);break;case _0x1c9402(0x1fe):this[_0x1c9402(0x201)][_0x1c9402(0x23f)](this[_0x1c9402(0x20b)]);}switch(_0x4e365d){case _0x1c9402(0x205):this[_0x1c9402(0x201)][_0x1c9402(0x21f)](this[_0x1c9402(0x1f8)]);break;case _0x1c9402(0x212):this[_0x1c9402(0x201)][_0x1c9402(0x21f)](this[_0x1c9402(0x235)]);break;case _0x1c9402(0x1f3):this[_0x1c9402(0x201)][_0x1c9402(0x21f)](this[_0x1c9402(0x222)]);break;case _0x1c9402(0x1fe):this[_0x1c9402(0x201)][_0x1c9402(0x21f)](this[_0x1c9402(0x20b)]);}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3b8f(_0x2c1f5e,_0x37c942){const _0x33cf6d=_0x33cf();return _0x3b8f=function(_0x3b8f66,_0x5ae53a){_0x3b8f66=_0x3b8f66-0x1f2;let _0x50e57c=_0x33cf6d[_0x3b8f66];return _0x50e57c;},_0x3b8f(_0x2c1f5e,_0x37c942);}const _0x3903c6=_0x3b8f;(function(_0xc116da,_0x5ce4cf){const _0x1376ed=_0x3b8f,_0xc9eaf6=_0xc116da();while(!![]){try{const _0x3579aa=-parseInt(_0x1376ed(0x210))/0x1*(parseInt(_0x1376ed(0x215))/0x2)+-parseInt(_0x1376ed(0x1fa))/0x3*(-parseInt(_0x1376ed(0x201))/0x4)+parseInt(_0x1376ed(0x217))/0x5+parseInt(_0x1376ed(0x203))/0x6+parseInt(_0x1376ed(0x216))/0x7*(parseInt(_0x1376ed(0x20a))/0x8)+-parseInt(_0x1376ed(0x202))/0x9*(parseInt(_0x1376ed(0x206))/0xa)+-parseInt(_0x1376ed(0x1fc))/0xb;if(_0x3579aa===_0x5ce4cf)break;else _0xc9eaf6['push'](_0xc9eaf6['shift']());}catch(_0x1e2a8f){_0xc9eaf6['push'](_0xc9eaf6['shift']());}}}(_0x33cf,0x870d2));import{getTranslation as _0x8a7428}from'../../utils/common-translations.js';import{ButtonView as _0x58289e,IconView as _0x1855ad,View as _0x3e72b2}from'ckeditor5/src/ui.js';import{IconDocument as _0x7bb0d3,IconShowChangesOff as _0x333749,IconShowChangesOn as _0x3be5e5}from'ckeditor5/src/icons.js';function _0x33cf(){const _0x352e3a=['showChangesToggleView','13381302nSKrvj','set','div','isShowChangesToggleVisible','iconView','4BCEhVN','4352598GmTGzm','6185934oYUCSN','showHeader','render','10TVmPkx','bind','icon','isOn','17576XewREA','setTemplate','span','ck-hidden','toggleShowChanges','AI_SUGGESTION_BUTTON_SHOW_CHANGES','21453HdvARP','execute','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','showDiff','children','34AdnKps','2786uDOdum','3251245SdINqM','ck-ai-suggestion__header','content','AI_SUGGESTION_HEADER_TITLE','isVisible','remove','filter','add','fire','186993oncIPQ'];_0x33cf=function(){return _0x352e3a;};return _0x33cf();}export class AISuggestionHeaderView extends _0x3e72b2{[_0x3903c6(0x1fb)];constructor(_0xfad392,_0x293500){const _0x23ad1d=_0x3903c6;super(_0xfad392),this[_0x23ad1d(0x1fd)](_0x23ad1d(0x1ff),!0x0),this[_0x23ad1d(0x1fb)]=new ShowChangesToggleView(_0xfad392),this[_0x23ad1d(0x1fb)][_0x23ad1d(0x1fd)]({'class':_0x23ad1d(0x212),'label':_0x8a7428(_0xfad392,_0x23ad1d(0x20f)),'withText':!0x0}),this[_0x23ad1d(0x1fb)][_0x23ad1d(0x209)]=_0x293500[_0x23ad1d(0x213)],this[_0x23ad1d(0x1fb)][_0x23ad1d(0x207)](_0x23ad1d(0x1f5))['to'](this,_0x23ad1d(0x1ff)),this[_0x23ad1d(0x1fb)][_0x23ad1d(0x207)](_0x23ad1d(0x208))['to'](this[_0x23ad1d(0x1fb)],_0x23ad1d(0x209),_0x4c23a6=>_0x4c23a6?_0x3be5e5:_0x333749),this[_0x23ad1d(0x1fb)]['on'](_0x23ad1d(0x211),()=>{const _0x42599b=_0x23ad1d;this[_0x42599b(0x1fb)][_0x42599b(0x209)]=!this[_0x42599b(0x1fb)][_0x42599b(0x209)],this[_0x42599b(0x1f9)](_0x42599b(0x20e),{'isOn':this[_0x42599b(0x1fb)][_0x42599b(0x209)]});});const _0x24b35d=new _0x1855ad();_0x24b35d[_0x23ad1d(0x1f3)]=_0x7bb0d3,this[_0x23ad1d(0x20b)]({'tag':_0x23ad1d(0x1fe),'attributes':{'class':['ck',_0x23ad1d(0x1f2),!0x1===_0x293500[_0x23ad1d(0x204)]?_0x23ad1d(0x20d):null][_0x23ad1d(0x1f7)](Boolean)},'children':[_0x24b35d,{'tag':_0x23ad1d(0x20c),'children':[_0x8a7428(_0xfad392,_0x23ad1d(0x1f4))]},this[_0x23ad1d(0x1fb)]]});}}export class ShowChangesToggleView extends _0x58289e{[_0x3903c6(0x205)](){const _0xe393d=_0x3903c6;super[_0xe393d(0x205)](),this[_0xe393d(0x214)][_0xe393d(0x1f6)](this[_0xe393d(0x200)]),this[_0xe393d(0x214)][_0xe393d(0x1f8)](this[_0xe393d(0x200)]);}}
23
+ const _0x55a13b=_0x2191;function _0x5687(){const _0x523218=['execute','ck-hidden','ck-ai-suggestion__header','3rdWSFH','toggleShowChanges','1568dvFwTe','isOn','set','bind','render','AI_SUGGESTION_HEADER_TITLE','showHeader','showDiff','42830hRwmME','icon','div','2909848VryYnf','isShowChangesToggleVisible','3769880SaoEvT','setTemplate','showChangesToggleView','2471044TsJlHj','fire','isVisible','add','iconView','38336TZLfhd','remove','3668646ACEZpC','children','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','1504253bimVJW','filter','content','2304PExPHS','span','AI_SUGGESTION_BUTTON_SHOW_CHANGES'];_0x5687=function(){return _0x523218;};return _0x5687();}(function(_0x10074a,_0x80eaaa){const _0x5e554d=_0x2191,_0x175319=_0x10074a();while(!![]){try{const _0x50e8b3=parseInt(_0x5e554d(0x157))/0x1+-parseInt(_0x5e554d(0x16d))/0x2+-parseInt(_0x5e554d(0x160))/0x3*(parseInt(_0x5e554d(0x14d))/0x4)+parseInt(_0x5e554d(0x16f))/0x5+parseInt(_0x5e554d(0x154))/0x6+parseInt(_0x5e554d(0x162))/0x7*(parseInt(_0x5e554d(0x152))/0x8)+parseInt(_0x5e554d(0x15a))/0x9*(-parseInt(_0x5e554d(0x16a))/0xa);if(_0x50e8b3===_0x80eaaa)break;else _0x175319['push'](_0x175319['shift']());}catch(_0x1cf34e){_0x175319['push'](_0x175319['shift']());}}}(_0x5687,0xbcf39));function _0x2191(_0x550c96,_0x53f22f){const _0x5687b3=_0x5687();return _0x2191=function(_0x219197,_0x413936){_0x219197=_0x219197-0x14d;let _0x31a88f=_0x5687b3[_0x219197];return _0x31a88f;},_0x2191(_0x550c96,_0x53f22f);}import{getTranslation as _0x4134cf}from'../../utils/common-translations.js';import{ButtonView as _0x2dfe46,IconView as _0x601a99,View as _0x25e826}from'ckeditor5/src/ui.js';import{IconDocument as _0x32baba,IconShowChangesOff as _0x5b90ed,IconShowChangesOn as _0x115660}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x25e826{[_0x55a13b(0x171)];constructor(_0x23fe8d,_0x118a53){const _0x3d7e50=_0x55a13b;super(_0x23fe8d),this[_0x3d7e50(0x164)](_0x3d7e50(0x16e),!0x0),this[_0x3d7e50(0x171)]=new ShowChangesToggleView(_0x23fe8d),this[_0x3d7e50(0x171)][_0x3d7e50(0x164)]({'class':_0x3d7e50(0x156),'label':_0x4134cf(_0x23fe8d,_0x3d7e50(0x15c)),'withText':!0x0}),this[_0x3d7e50(0x171)][_0x3d7e50(0x163)]=_0x118a53[_0x3d7e50(0x169)],this[_0x3d7e50(0x171)][_0x3d7e50(0x165)](_0x3d7e50(0x14f))['to'](this,_0x3d7e50(0x16e)),this[_0x3d7e50(0x171)][_0x3d7e50(0x165)](_0x3d7e50(0x16b))['to'](this[_0x3d7e50(0x171)],_0x3d7e50(0x163),_0x44e9c9=>_0x44e9c9?_0x115660:_0x5b90ed),this[_0x3d7e50(0x171)]['on'](_0x3d7e50(0x15d),()=>{const _0x4f2424=_0x3d7e50;this[_0x4f2424(0x171)][_0x4f2424(0x163)]=!this[_0x4f2424(0x171)][_0x4f2424(0x163)],this[_0x4f2424(0x14e)](_0x4f2424(0x161),{'isOn':this[_0x4f2424(0x171)][_0x4f2424(0x163)]});});const _0x35222a=new _0x601a99();_0x35222a[_0x3d7e50(0x159)]=_0x32baba,this[_0x3d7e50(0x170)]({'tag':_0x3d7e50(0x16c),'attributes':{'class':['ck',_0x3d7e50(0x15f),!0x1===_0x118a53[_0x3d7e50(0x168)]?_0x3d7e50(0x15e):null][_0x3d7e50(0x158)](Boolean)},'children':[_0x35222a,{'tag':_0x3d7e50(0x15b),'children':[_0x4134cf(_0x23fe8d,_0x3d7e50(0x167))]},this[_0x3d7e50(0x171)]]});}}export class ShowChangesToggleView extends _0x2dfe46{[_0x55a13b(0x166)](){const _0x400582=_0x55a13b;super[_0x400582(0x166)](),this[_0x400582(0x155)][_0x400582(0x153)](this[_0x400582(0x151)]),this[_0x400582(0x155)][_0x400582(0x150)](this[_0x400582(0x151)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3e9a(_0x29b39d,_0x2f6726){const _0x1ed545=_0x1ed5();return _0x3e9a=function(_0x3e9a68,_0x393a84){_0x3e9a68=_0x3e9a68-0x14e;let _0x5440d7=_0x1ed545[_0x3e9a68];return _0x5440d7;},_0x3e9a(_0x29b39d,_0x2f6726);}function _0x1ed5(){const _0x17f91c=['6YpgxRb','AI_TABS_LABEL_MINIMIZE','2142807iOZOVI','label','AI_TABS_LABEL_MAXIMIZE','10208136OThdKr','727742XMlUiP','isMaximized','2944412snhgPV','set','fire','ck-ai-tabs__resize\x20ck-ai-button-tertiary-text','bind','isOn','1183615pVSBcO','execute','icon','5127675UxloiK','resizeTabs','693544JNoitR'];_0x1ed5=function(){return _0x17f91c;};return _0x1ed5();}(function(_0x5d18a4,_0x44e7c1){const _0xa272f3=_0x3e9a,_0x4c6b5d=_0x5d18a4();while(!![]){try{const _0x56e46a=parseInt(_0xa272f3(0x160))/0x1+-parseInt(_0xa272f3(0x153))/0x2+-parseInt(_0xa272f3(0x14f))/0x3+-parseInt(_0xa272f3(0x155))/0x4+parseInt(_0xa272f3(0x15b))/0x5*(-parseInt(_0xa272f3(0x161))/0x6)+parseInt(_0xa272f3(0x15e))/0x7+parseInt(_0xa272f3(0x152))/0x8;if(_0x56e46a===_0x44e7c1)break;else _0x4c6b5d['push'](_0x4c6b5d['shift']());}catch(_0x1be894){_0x4c6b5d['push'](_0x4c6b5d['shift']());}}}(_0x1ed5,0x9ef70));import{ButtonView as _0x3aff49}from'ckeditor5/src/ui.js';import{IconMaximize as _0x438afd,IconMinimize as _0x315452}from'ckeditor5/src/icons.js';import{getTranslation as _0x364d0a}from'../../aicore/utils/common-translations.js';export function createResizeButton(_0x5c926f,_0x1baad4){const _0x54a563=_0x3e9a,_0x4a74ef=new _0x3aff49(_0x5c926f),_0x39860c=_0x364d0a(_0x5c926f,_0x54a563(0x14e)),_0x5302fc=_0x364d0a(_0x5c926f,_0x54a563(0x151));return _0x4a74ef[_0x54a563(0x156)]({'withText':!0x1,'icon':_0x438afd,'tooltip':!0x0,'class':_0x54a563(0x158)}),_0x4a74ef[_0x54a563(0x159)](_0x54a563(0x150))['to'](_0x1baad4,_0x54a563(0x154),_0x205721=>_0x205721?_0x39860c:_0x5302fc),_0x4a74ef[_0x54a563(0x159)](_0x54a563(0x15d))['to'](_0x1baad4,_0x54a563(0x154),_0x17e311=>_0x17e311?_0x315452:_0x438afd),_0x4a74ef[_0x54a563(0x159)](_0x54a563(0x15a))['to'](_0x1baad4,_0x54a563(0x154)),_0x4a74ef['on'](_0x54a563(0x15c),()=>{const _0xa20da6=_0x54a563;_0x1baad4[_0xa20da6(0x157)](_0xa20da6(0x15f));}),_0x4a74ef;}
23
+ (function(_0x373056,_0x50a233){const _0x198093=_0x2e31,_0xdfe84f=_0x373056();while(!![]){try{const _0x489958=-parseInt(_0x198093(0x1b4))/0x1+parseInt(_0x198093(0x1b5))/0x2+parseInt(_0x198093(0x1a6))/0x3+parseInt(_0x198093(0x1a7))/0x4*(-parseInt(_0x198093(0x1ab))/0x5)+-parseInt(_0x198093(0x1b2))/0x6*(-parseInt(_0x198093(0x1a4))/0x7)+-parseInt(_0x198093(0x1b8))/0x8*(-parseInt(_0x198093(0x1b3))/0x9)+-parseInt(_0x198093(0x1a9))/0xa;if(_0x489958===_0x50a233)break;else _0xdfe84f['push'](_0xdfe84f['shift']());}catch(_0x8ded5f){_0xdfe84f['push'](_0xdfe84f['shift']());}}}(_0x2c39,0xa4fb2));function _0x2e31(_0x387b12,_0xe7f358){const _0x2c39db=_0x2c39();return _0x2e31=function(_0x2e31d1,_0x5be73d){_0x2e31d1=_0x2e31d1-0x1a4;let _0x1591da=_0x2c39db[_0x2e31d1];return _0x1591da;},_0x2e31(_0x387b12,_0xe7f358);}import{ButtonView as _0x9c49f9}from'ckeditor5/src/ui.js';import{IconMaximize as _0x3a44d1,IconMinimize as _0x24e653}from'ckeditor5/src/icons.js';function _0x2c39(){const _0x4bed39=['label','7898896ewliFB','resizeTabs','56NscbWX','fire','2843301NfMyCn','16720jJBfPs','set','26650610lBLSWr','bind','35gUYqgg','isOn','icon','ck-ai-tabs__resize\x20ck-ai-button-tertiary-text','isMaximized','AI_TABS_LABEL_MAXIMIZE','AI_TABS_LABEL_MINIMIZE','667848wFhtvs','9mfBuvt','261170xwAdzJ','1611320eFPCmD','execute'];_0x2c39=function(){return _0x4bed39;};return _0x2c39();}import{getTranslation as _0x3d514e}from'../../aicore/utils/common-translations.js';export function createResizeButton(_0x43e5ad,_0x63b11c){const _0x2c0f36=_0x2e31,_0x33abe5=new _0x9c49f9(_0x43e5ad),_0x3c9530=_0x3d514e(_0x43e5ad,_0x2c0f36(0x1b1)),_0xd0bacf=_0x3d514e(_0x43e5ad,_0x2c0f36(0x1b0));return _0x33abe5[_0x2c0f36(0x1a8)]({'withText':!0x1,'icon':_0x3a44d1,'tooltip':!0x0,'class':_0x2c0f36(0x1ae)}),_0x33abe5[_0x2c0f36(0x1aa)](_0x2c0f36(0x1b7))['to'](_0x63b11c,_0x2c0f36(0x1af),_0x3bbc87=>_0x3bbc87?_0x3c9530:_0xd0bacf),_0x33abe5[_0x2c0f36(0x1aa)](_0x2c0f36(0x1ad))['to'](_0x63b11c,_0x2c0f36(0x1af),_0x349a4c=>_0x349a4c?_0x24e653:_0x3a44d1),_0x33abe5[_0x2c0f36(0x1aa)](_0x2c0f36(0x1ac))['to'](_0x63b11c,_0x2c0f36(0x1af)),_0x33abe5['on'](_0x2c0f36(0x1b6),()=>{const _0x4e9e16=_0x2c0f36;_0x63b11c[_0x4e9e16(0x1a5)](_0x4e9e16(0x1b9));}),_0x33abe5;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13affe=_0x38e4;(function(_0x3c3312,_0x445315){const _0x3da4f8=_0x38e4,_0x421479=_0x3c3312();while(!![]){try{const _0x1c8ab5=-parseInt(_0x3da4f8(0x10e))/0x1+-parseInt(_0x3da4f8(0xf3))/0x2*(parseInt(_0x3da4f8(0xff))/0x3)+parseInt(_0x3da4f8(0x112))/0x4+-parseInt(_0x3da4f8(0x102))/0x5*(parseInt(_0x3da4f8(0x104))/0x6)+parseInt(_0x3da4f8(0xf6))/0x7*(-parseInt(_0x3da4f8(0xfa))/0x8)+parseInt(_0x3da4f8(0x10c))/0x9*(-parseInt(_0x3da4f8(0xf5))/0xa)+parseInt(_0x3da4f8(0xfc))/0xb;if(_0x1c8ab5===_0x445315)break;else _0x421479['push'](_0x421479['shift']());}catch(_0x451e2f){_0x421479['push'](_0x421479['shift']());}}}(_0x4848,0xced92));import{DocumentPosition as _0x3d4bd0}from'./documentposition.js';function _0x38e4(_0x20d361,_0xdbf03f){const _0x484893=_0x4848();return _0x38e4=function(_0x38e464,_0x3814ad){_0x38e464=_0x38e464-0xf3;let _0x17b4bc=_0x484893[_0x38e464];return _0x17b4bc;},_0x38e4(_0x20d361,_0xdbf03f);}import{clone as _0x59f0ef,getParents as _0x2dce5d,Document as _0x7cf92b,Text as _0x2d40c0,isTag as _0x11050d,isText as _0x291d67,replaceElement as _0x226d4f,removeElement as _0x5a09bd}from'./htmlparser.js';function _0x4848(){const _0x3f7370=['forEach','38206223ZmKBdD','data','createFromPath','6uCGcME','nextNode','previousNode','10oCpviq','createBefore','2481012PQpznc','end','firstChild','lastChild','reverse','push','getNudgedToWordBoundary','start','45KhnKya','document','696217SEahfE','path','length','slice','5996568xwAqGs','parent','createAfter','574558RwxTup','isEqual','2013170OITbhC','7bdeUmQ','getContent','createAt','includes','8166568KfBiVF'];_0x4848=function(){return _0x3f7370;};return _0x4848();}export class DocumentRange{[_0x13affe(0x10b)];[_0x13affe(0x105)];constructor(_0x147722,_0x11aae2){const _0x517ae1=_0x13affe;this[_0x517ae1(0x10b)]=_0x147722,this[_0x517ae1(0x105)]=_0x11aae2;}[_0x13affe(0xf4)](_0xac698){const _0x58b323=_0x13affe;return this==_0xac698||this[_0x58b323(0x10b)][_0x58b323(0xf4)](_0xac698[_0x58b323(0x10b)])&&this[_0x58b323(0x105)][_0x58b323(0xf4)](_0xac698[_0x58b323(0x105)]);}[_0x13affe(0x10a)](){const _0x591d6e=_0x13affe;return new DocumentRange(this[_0x591d6e(0x10b)][_0x591d6e(0x10a)](_0x591d6e(0x10b)),this[_0x591d6e(0x105)][_0x591d6e(0x10a)](_0x591d6e(0x105)));}[_0x13affe(0xf7)](){const _0x195801=_0x13affe,_0xd64bb6=_0x59f0ef(this[_0x195801(0x10b)][_0x195801(0x10d)]),_0x1db75e=_0x3d4bd0[_0x195801(0xfe)](_0xd64bb6,this[_0x195801(0x10b)][_0x195801(0x10f)]),_0xe08005=_0x3d4bd0[_0x195801(0xfe)](_0xd64bb6,this[_0x195801(0x105)][_0x195801(0x10f)]);let _0x8e234a,_0x578275;if(_0x291d67(_0x1db75e[_0x195801(0x113)])){const _0x10709a=_0x1db75e[_0x195801(0x10f)][_0x1db75e[_0x195801(0x10f)][_0x195801(0x110)]-0x1],_0x2a9327=new _0x2d40c0(_0x1db75e[_0x195801(0x113)][_0x195801(0xfd)][_0x195801(0x111)](_0x10709a));_0x226d4f(_0x1db75e[_0x195801(0x113)],_0x2a9327),_0x8e234a=_0x2a9327;}else _0x8e234a=_0x1db75e[_0x195801(0x100)];if(_0x291d67(_0xe08005[_0x195801(0x113)])){const _0x1e62f=_0xe08005[_0x195801(0x10f)][_0xe08005[_0x195801(0x10f)][_0x195801(0x110)]-0x1],_0x52b67f=new _0x2d40c0(_0xe08005[_0x195801(0x113)][_0x195801(0xfd)][_0x195801(0x111)](0x0,_0x1e62f));_0x226d4f(_0xe08005[_0x195801(0x113)],_0x52b67f),_0x578275=_0x52b67f;}else _0x578275=_0xe08005[_0x195801(0x101)];if(!(_0x8e234a&&_0x578275&&_0xd64bb6[_0x195801(0x106)]&&_0xd64bb6[_0x195801(0x107)]))return new _0x7cf92b([]);const _0x4bd8fb=_0x2dce5d(_0x8e234a),_0x28a2b1=_0x2dce5d(_0x578275),_0x300112=[],_0x4fd14b=[];let _0x672d6c=_0xd64bb6[_0x195801(0x106)];for(;_0x672d6c&&_0x672d6c!==_0x8e234a;){let _0x31d538;_0x4bd8fb[_0x195801(0xf9)](_0x672d6c)||_0x300112[_0x195801(0x109)](_0x672d6c),_0x31d538=_0x11050d(_0x672d6c)?_0x3d4bd0[_0x195801(0xf8)](_0xd64bb6,_0x672d6c,_0x195801(0x10b)):_0x3d4bd0[_0x195801(0x114)](_0xd64bb6,_0x672d6c),_0x672d6c=_0x31d538?_0x31d538[_0x195801(0x100)]:null;}for(_0x672d6c=_0xd64bb6[_0x195801(0x107)];_0x672d6c&&_0x672d6c!==_0x578275;){let _0x19145e;_0x28a2b1[_0x195801(0xf9)](_0x672d6c)||_0x4fd14b[_0x195801(0x109)](_0x672d6c),_0x19145e=_0x11050d(_0x672d6c)?_0x3d4bd0[_0x195801(0xf8)](_0xd64bb6,_0x672d6c,_0x195801(0x105)):_0x3d4bd0[_0x195801(0x103)](_0xd64bb6,_0x672d6c),_0x672d6c=_0x19145e?_0x19145e[_0x195801(0x101)]:null;}return _0x300112[_0x195801(0xfb)](_0x3ca642=>{_0x5a09bd(_0x3ca642);}),_0x4fd14b[_0x195801(0x108)]()[_0x195801(0xfb)](_0x4ee17d=>{_0x5a09bd(_0x4ee17d);}),_0xd64bb6;}}
23
+ const _0x211412=_0x1de0;function _0x1de0(_0x5be7f9,_0xf1f9b2){const _0x4413e8=_0x4413();return _0x1de0=function(_0x1de057,_0x2de483){_0x1de057=_0x1de057-0x178;let _0x47c101=_0x4413e8[_0x1de057];return _0x47c101;},_0x1de0(_0x5be7f9,_0xf1f9b2);}(function(_0x1e991e,_0x664069){const _0x5bece8=_0x1de0,_0x4f50cf=_0x1e991e();while(!![]){try{const _0x31f735=parseInt(_0x5bece8(0x190))/0x1*(-parseInt(_0x5bece8(0x191))/0x2)+-parseInt(_0x5bece8(0x18b))/0x3+parseInt(_0x5bece8(0x178))/0x4*(parseInt(_0x5bece8(0x180))/0x5)+parseInt(_0x5bece8(0x193))/0x6+parseInt(_0x5bece8(0x18c))/0x7+-parseInt(_0x5bece8(0x184))/0x8+-parseInt(_0x5bece8(0x18a))/0x9*(-parseInt(_0x5bece8(0x194))/0xa);if(_0x31f735===_0x664069)break;else _0x4f50cf['push'](_0x4f50cf['shift']());}catch(_0x5824f7){_0x4f50cf['push'](_0x4f50cf['shift']());}}}(_0x4413,0x63ddc));function _0x4413(){const _0x60d457=['end','getContent','includes','1fEqnpy','548530EQmwLs','getNudgedToWordBoundary','3248628FDFKhI','60TmGHAr','isEqual','createFromPath','parent','slice','984PURAKu','lastChild','data','nextNode','length','previousNode','createAfter','document','16270oAljyz','push','reverse','forEach','4579632MUDhMD','createBefore','start','firstChild','path','createAt','28296VfWXAs','445014GkeMnL','303261PoYrCS'];_0x4413=function(){return _0x60d457;};return _0x4413();}import{DocumentPosition as _0x3c9307}from'./documentposition.js';import{clone as _0x4981da,getParents as _0x48d815,Document as _0x1918f4,Text as _0x3095e5,isTag as _0x25fdd1,isText as _0x462394,replaceElement as _0x3d9c8a,removeElement as _0x40b208}from'./htmlparser.js';export class DocumentRange{[_0x211412(0x186)];[_0x211412(0x18d)];constructor(_0x1b5b1e,_0xa74a15){const _0x361b12=_0x211412;this[_0x361b12(0x186)]=_0x1b5b1e,this[_0x361b12(0x18d)]=_0xa74a15;}[_0x211412(0x195)](_0x2ad73e){const _0x3f3ecf=_0x211412;return this==_0x2ad73e||this[_0x3f3ecf(0x186)][_0x3f3ecf(0x195)](_0x2ad73e[_0x3f3ecf(0x186)])&&this[_0x3f3ecf(0x18d)][_0x3f3ecf(0x195)](_0x2ad73e[_0x3f3ecf(0x18d)]);}[_0x211412(0x192)](){const _0x528269=_0x211412;return new DocumentRange(this[_0x528269(0x186)][_0x528269(0x192)](_0x528269(0x186)),this[_0x528269(0x18d)][_0x528269(0x192)](_0x528269(0x18d)));}[_0x211412(0x18e)](){const _0x1003b6=_0x211412,_0x1f630e=_0x4981da(this[_0x1003b6(0x186)][_0x1003b6(0x17f)]),_0x188ba3=_0x3c9307[_0x1003b6(0x196)](_0x1f630e,this[_0x1003b6(0x186)][_0x1003b6(0x188)]),_0x325e3e=_0x3c9307[_0x1003b6(0x196)](_0x1f630e,this[_0x1003b6(0x18d)][_0x1003b6(0x188)]);let _0x208c89,_0x2a7e82;if(_0x462394(_0x188ba3[_0x1003b6(0x197)])){const _0x28d7a1=_0x188ba3[_0x1003b6(0x188)][_0x188ba3[_0x1003b6(0x188)][_0x1003b6(0x17c)]-0x1],_0x49a7c9=new _0x3095e5(_0x188ba3[_0x1003b6(0x197)][_0x1003b6(0x17a)][_0x1003b6(0x198)](_0x28d7a1));_0x3d9c8a(_0x188ba3[_0x1003b6(0x197)],_0x49a7c9),_0x208c89=_0x49a7c9;}else _0x208c89=_0x188ba3[_0x1003b6(0x17b)];if(_0x462394(_0x325e3e[_0x1003b6(0x197)])){const _0x322cb2=_0x325e3e[_0x1003b6(0x188)][_0x325e3e[_0x1003b6(0x188)][_0x1003b6(0x17c)]-0x1],_0x429bab=new _0x3095e5(_0x325e3e[_0x1003b6(0x197)][_0x1003b6(0x17a)][_0x1003b6(0x198)](0x0,_0x322cb2));_0x3d9c8a(_0x325e3e[_0x1003b6(0x197)],_0x429bab),_0x2a7e82=_0x429bab;}else _0x2a7e82=_0x325e3e[_0x1003b6(0x17d)];if(!(_0x208c89&&_0x2a7e82&&_0x1f630e[_0x1003b6(0x187)]&&_0x1f630e[_0x1003b6(0x179)]))return new _0x1918f4([]);const _0x8126ac=_0x48d815(_0x208c89),_0x79656e=_0x48d815(_0x2a7e82),_0x2d325a=[],_0x640574=[];let _0x114213=_0x1f630e[_0x1003b6(0x187)];for(;_0x114213&&_0x114213!==_0x208c89;){let _0x3ad18d;_0x8126ac[_0x1003b6(0x18f)](_0x114213)||_0x2d325a[_0x1003b6(0x181)](_0x114213),_0x3ad18d=_0x25fdd1(_0x114213)?_0x3c9307[_0x1003b6(0x189)](_0x1f630e,_0x114213,_0x1003b6(0x186)):_0x3c9307[_0x1003b6(0x17e)](_0x1f630e,_0x114213),_0x114213=_0x3ad18d?_0x3ad18d[_0x1003b6(0x17b)]:null;}for(_0x114213=_0x1f630e[_0x1003b6(0x179)];_0x114213&&_0x114213!==_0x2a7e82;){let _0x192e0f;_0x79656e[_0x1003b6(0x18f)](_0x114213)||_0x640574[_0x1003b6(0x181)](_0x114213),_0x192e0f=_0x25fdd1(_0x114213)?_0x3c9307[_0x1003b6(0x189)](_0x1f630e,_0x114213,_0x1003b6(0x18d)):_0x3c9307[_0x1003b6(0x185)](_0x1f630e,_0x114213),_0x114213=_0x192e0f?_0x192e0f[_0x1003b6(0x17d)]:null;}return _0x2d325a[_0x1003b6(0x183)](_0x472a7a=>{_0x40b208(_0x472a7a);}),_0x640574[_0x1003b6(0x182)]()[_0x1003b6(0x183)](_0x48cd52=>{_0x40b208(_0x48cd52);}),_0x1f630e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1809b9,_0x68a848){var _0x130a34=_0x3967,_0x523895=_0x1809b9();while(!![]){try{var _0x3009fe=parseInt(_0x130a34(0xdb))/0x1*(-parseInt(_0x130a34(0xe1))/0x2)+-parseInt(_0x130a34(0xe6))/0x3*(-parseInt(_0x130a34(0xe2))/0x4)+-parseInt(_0x130a34(0xde))/0x5+parseInt(_0x130a34(0xe9))/0x6*(parseInt(_0x130a34(0xdd))/0x7)+-parseInt(_0x130a34(0xdf))/0x8+-parseInt(_0x130a34(0xe5))/0x9+-parseInt(_0x130a34(0xe3))/0xa*(-parseInt(_0x130a34(0xe0))/0xb);if(_0x3009fe===_0x68a848)break;else _0x523895['push'](_0x523895['shift']());}catch(_0x393a95){_0x523895['push'](_0x523895['shift']());}}}(_0x3206,0xd3b10));import{CKEditorError as _0x2788b6}from'ckeditor5/src/utils.js';function _0x3967(_0x77c8ac,_0x18b2c7){var _0x32060e=_0x3206();return _0x3967=function(_0x39672c,_0x2b7d2c){_0x39672c=_0x39672c-0xda;var _0x46507d=_0x32060e[_0x39672c];return _0x46507d;},_0x3967(_0x77c8ac,_0x18b2c7);}import{Editor as _0x8501a2}from'ckeditor5/src/core.js';function _0x3206(){var _0x2b238c=['955608fmzdJF','AIChat:\x20Multiple\x20editor\x20instances\x20detected.\x20Only\x20the\x20first\x20editor\x20instance\x20will\x20be\x20used\x20for\x20AI\x20operations.\x20This\x20configuration\x20is\x20not\x20fully\x20supported\x20and\x20may\x20lead\x20to\x20unexpected\x20behavior.','warn','7BcujPK','editors','28KpRMva','7758115QXimhX','5757336lmCSFZ','88hrLnnB','171542BJgoON','109100JhJtts','3912010QGfExh','ai-get-editor-from-context-no-editor','2214945JPTkvJ','24aDNJQP','length','get'];_0x3206=function(){return _0x2b238c;};return _0x3206();}export function getEditorFromContext(_0x2d8762){var _0x531217=_0x3967;if(_0x2d8762 instanceof _0x8501a2)return _0x2d8762;if(_0x2d8762?.[_0x531217(0xdc)]&&_0x2d8762[_0x531217(0xdc)][_0x531217(0xe8)](0x0))return _0x2d8762[_0x531217(0xdc)][_0x531217(0xe7)]>0x1&&console[_0x531217(0xda)](_0x531217(0xea)),_0x2d8762[_0x531217(0xdc)][_0x531217(0xe8)](0x0);throw new _0x2788b6(_0x531217(0xe4));}
23
+ (function(_0x5d060c,_0x52b31a){var _0xaa4976=_0xfd95,_0x42562f=_0x5d060c();while(!![]){try{var _0x1910f0=-parseInt(_0xaa4976(0xe5))/0x1*(-parseInt(_0xaa4976(0xf4))/0x2)+-parseInt(_0xaa4976(0xeb))/0x3*(parseInt(_0xaa4976(0xf5))/0x4)+-parseInt(_0xaa4976(0xf1))/0x5*(parseInt(_0xaa4976(0xee))/0x6)+-parseInt(_0xaa4976(0xe6))/0x7+-parseInt(_0xaa4976(0xe8))/0x8*(-parseInt(_0xaa4976(0xf0))/0x9)+-parseInt(_0xaa4976(0xe7))/0xa+parseInt(_0xaa4976(0xea))/0xb*(parseInt(_0xaa4976(0xf3))/0xc);if(_0x1910f0===_0x52b31a)break;else _0x42562f['push'](_0x42562f['shift']());}catch(_0x4c02ca){_0x42562f['push'](_0x42562f['shift']());}}}(_0x58f9,0x2e8e0));import{CKEditorError as _0x130ea8}from'ckeditor5/src/utils.js';function _0xfd95(_0x23a205,_0x497446){var _0x58f996=_0x58f9();return _0xfd95=function(_0xfd95ea,_0x2d88f1){_0xfd95ea=_0xfd95ea-0xe4;var _0x426b7d=_0x58f996[_0xfd95ea];return _0x426b7d;},_0xfd95(_0x23a205,_0x497446);}function _0x58f9(){var _0x10467d=['length','editors','2538JPnXgm','AIChat:\x20Multiple\x20editor\x20instances\x20detected.\x20Only\x20the\x20first\x20editor\x20instance\x20will\x20be\x20used\x20for\x20AI\x20operations.\x20This\x20configuration\x20is\x20not\x20fully\x20supported\x20and\x20may\x20lead\x20to\x20unexpected\x20behavior.','74826FmeAWI','2275ophgbe','ai-get-editor-from-context-no-editor','739272uiKtYB','4zoakJf','4xGtLRp','get','52321WRyYaV','1429624CMOsDM','1112810OovZpX','224XHIgYN','warn','77ZRRiWR','210030JpGNYt'];_0x58f9=function(){return _0x10467d;};return _0x58f9();}import{Editor as _0x329b14}from'ckeditor5/src/core.js';export function getEditorFromContext(_0x1edc02){var _0x435000=_0xfd95;if(_0x1edc02 instanceof _0x329b14)return _0x1edc02;if(_0x1edc02?.[_0x435000(0xed)]&&_0x1edc02[_0x435000(0xed)][_0x435000(0xe4)](0x0))return _0x1edc02[_0x435000(0xed)][_0x435000(0xec)]>0x1&&console[_0x435000(0xe9)](_0x435000(0xef)),_0x1edc02[_0x435000(0xed)][_0x435000(0xe4)](0x0);throw new _0x130ea8(_0x435000(0xf2));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x29bf45,_0x2e6519){const _0x432be7=_0x2e74,_0x35e662=_0x29bf45();while(!![]){try{const _0x4b1fa6=-parseInt(_0x432be7(0x1b0))/0x1*(parseInt(_0x432be7(0x1bd))/0x2)+-parseInt(_0x432be7(0x1cd))/0x3+parseInt(_0x432be7(0x1c8))/0x4+-parseInt(_0x432be7(0x1b1))/0x5*(-parseInt(_0x432be7(0x1b2))/0x6)+parseInt(_0x432be7(0x1c4))/0x7+parseInt(_0x432be7(0x1c7))/0x8*(-parseInt(_0x432be7(0x1bb))/0x9)+parseInt(_0x432be7(0x1c2))/0xa*(-parseInt(_0x432be7(0x1d3))/0xb);if(_0x4b1fa6===_0x2e6519)break;else _0x35e662['push'](_0x35e662['shift']());}catch(_0x5a09fb){_0x35e662['push'](_0x35e662['shift']());}}}(_0x1586,0xd6902));function _0x2e74(_0x5e49e3,_0x41a732){const _0x15869a=_0x1586();return _0x2e74=function(_0x2e74b4,_0x218583){_0x2e74b4=_0x2e74b4-0x1ae;let _0x42724d=_0x15869a[_0x2e74b4];return _0x42724d;},_0x2e74(_0x5e49e3,_0x41a732);}import{transformOperationSets as _0x43c17b}from'ckeditor5/src/engine.js';import{append as _0x5757a8,findByAttribute as _0xb87ae4,prependChild as _0x2bef5b,removeElement as _0x40f8af,serialize as _0x16bc48}from'./htmlparser.js';function _0x1586(){const _0x978bcb=['document','type','map','getOperations','1201140BWGILD','content','anchorId','new','model','documentContextContent','38247eNbGSr','getRange','marker','getDocumentContext','20460ffAywl','54420HhlXGt','552KQMBbQ','markers','getDiff','previousSibling','removed','oldRange','shift','operationsA','cloneNode','657AmsSMl','get','78uswSQP','node','length','name','filter','290qKjljZ','version','6260366fHuVTl','history','data-id','8408bGaQjq','1436240FWcHHA'];_0x1586=function(){return _0x978bcb;};return _0x1586();}export function getOperationsFromReply({editor:_0x11a696,interaction:_0x21e520,reply:_0x42d92e,groups:_0x412158,transform:_0x3f7714,documentCompare:_0xbfa2d,documentCompareOptions:_0x3682b0}){const _0x43458c=_0x2e74,_0xd65c25=_0x21e520[_0x43458c(0x1af)]();if(!_0xd65c25)return[];const _0x1219ec=_0xd65c25[_0x43458c(0x1ce)],_0x17e9e0=_0xd65c25[_0x43458c(0x1c3)],_0x3d6a3e=_0x42d92e[_0x43458c(0x1d2)][_0x43458c(0x1ba)](!0x0);for(const {changes:_0xd72266}of _0x412158){const _0x44efd1=_0xd72266[_0x43458c(0x1c1)](_0x204495=>_0x43458c(0x1d0)!=_0x204495[_0x43458c(0x1ca)])[_0x43458c(0x1cb)](_0x23a1df=>_0xb87ae4(_0x43458c(0x1c6),_0x23a1df['id'],_0x3d6a3e)),_0x5f46dc=_0xd72266[_0x43458c(0x1c1)](_0x5656c2=>_0x43458c(0x1b6)!=_0x5656c2[_0x43458c(0x1ca)])[_0x43458c(0x1cb)](_0x490f7d=>_0x490f7d[_0x43458c(0x1be)][_0x43458c(0x1ba)](!0x0));let _0x937b94=null;if(_0x44efd1[_0x43458c(0x1bf)]){_0x937b94=_0x44efd1[0x0][_0x43458c(0x1b5)];for(let _0x21a5fd=0x0;_0x21a5fd<_0x44efd1[_0x43458c(0x1bf)];_0x21a5fd++)_0x40f8af(_0x44efd1[_0x21a5fd]);}if(_0x5f46dc[_0x43458c(0x1bf)]){_0x937b94||(_0xd72266[0x0][_0x43458c(0x1cf)]?_0x937b94=_0xb87ae4(_0x43458c(0x1c6),_0xd72266[0x0][_0x43458c(0x1cf)],_0x3d6a3e):(_0x937b94=_0x5f46dc[_0x43458c(0x1b8)](),_0x2bef5b(_0x3d6a3e,_0x937b94)));for(let _0x5906ca=0x0;_0x5906ca<_0x5f46dc[_0x43458c(0x1bf)];_0x5906ca++)_0x5757a8(_0x937b94,_0x5f46dc[_0x5906ca]),_0x937b94=_0x5f46dc[_0x5906ca];}}const _0x131df3=_0x16bc48(_0x3d6a3e),_0x55d384=_0xbfa2d[_0x43458c(0x1b4)](_0x1219ec,_0x131df3,_0x3682b0)[_0x43458c(0x1cc)]();if(_0x3f7714){const _0x13a4ce=_0x11a696[_0x43458c(0x1d1)][_0x43458c(0x1c9)][_0x43458c(0x1c5)][_0x43458c(0x1cc)](_0x17e9e0),_0x248928={'document':_0x11a696[_0x43458c(0x1d1)][_0x43458c(0x1c9)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x43c17b(_0x55d384,_0x13a4ce,_0x248928)[_0x43458c(0x1b9)];}return _0x55d384;}export function fixMarkerOperationOldRange(_0x2210b3,_0x1d4dd9){const _0x24f58d=_0x2e74;if(_0x24f58d(0x1ae)!=_0x1d4dd9[_0x24f58d(0x1ca)])return;const _0x10d2be=_0x2210b3[_0x24f58d(0x1d1)][_0x24f58d(0x1b3)][_0x24f58d(0x1bc)](_0x1d4dd9[_0x24f58d(0x1c0)]);_0x10d2be&&(_0x1d4dd9[_0x24f58d(0x1b7)]=_0x10d2be[_0x24f58d(0x1d4)]());}
23
+ (function(_0x3887ed,_0x514d50){const _0x282652=_0x31dd,_0x1a9812=_0x3887ed();while(!![]){try{const _0x2f2bbe=parseInt(_0x282652(0x128))/0x1*(parseInt(_0x282652(0x137))/0x2)+parseInt(_0x282652(0x119))/0x3*(-parseInt(_0x282652(0x11f))/0x4)+-parseInt(_0x282652(0x116))/0x5*(-parseInt(_0x282652(0x115))/0x6)+parseInt(_0x282652(0x12f))/0x7+-parseInt(_0x282652(0x11d))/0x8*(-parseInt(_0x282652(0x135))/0x9)+parseInt(_0x282652(0x13b))/0xa+-parseInt(_0x282652(0x132))/0xb*(parseInt(_0x282652(0x139))/0xc);if(_0x2f2bbe===_0x514d50)break;else _0x1a9812['push'](_0x1a9812['shift']());}catch(_0x562f57){_0x1a9812['push'](_0x1a9812['shift']());}}}(_0xc882,0x2a64c));function _0x31dd(_0x56a694,_0x45eba7){const _0xc8829e=_0xc882();return _0x31dd=function(_0x31ddc7,_0x5bf919){_0x31ddc7=_0x31ddc7-0x114;let _0xeebb92=_0xc8829e[_0x31ddc7];return _0xeebb92;},_0x31dd(_0x56a694,_0x45eba7);}import{transformOperationSets as _0x2217b9}from'ckeditor5/src/engine.js';import{append as _0x2aa828,findByAttribute as _0x1db188,prependChild as _0x5b9346,removeElement as _0x39859f,serialize as _0xe0053a}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x38dbe8,interaction:_0x40f575,reply:_0x36bc05,groups:_0x583d35,transform:_0x416dfc,documentCompare:_0xa76d6c,documentCompareOptions:_0x1c9e09}){const _0x5a33eb=_0x31dd,_0x592fbe=_0x40f575[_0x5a33eb(0x136)]();if(!_0x592fbe)return[];const _0x45dc90=_0x592fbe[_0x5a33eb(0x129)],_0x3a8dc2=_0x592fbe[_0x5a33eb(0x126)],_0x2530c8=_0x36bc05[_0x5a33eb(0x127)][_0x5a33eb(0x123)](!0x0);for(const {changes:_0x4812dd}of _0x583d35){const _0x35d22d=_0x4812dd[_0x5a33eb(0x12c)](_0x803eab=>_0x5a33eb(0x125)!=_0x803eab[_0x5a33eb(0x11e)])[_0x5a33eb(0x11a)](_0x534e9c=>_0x1db188(_0x5a33eb(0x122),_0x534e9c['id'],_0x2530c8)),_0x208d2a=_0x4812dd[_0x5a33eb(0x12c)](_0x19f695=>_0x5a33eb(0x124)!=_0x19f695[_0x5a33eb(0x11e)])[_0x5a33eb(0x11a)](_0x367957=>_0x367957[_0x5a33eb(0x134)][_0x5a33eb(0x123)](!0x0));let _0x18a7a8=null;if(_0x35d22d[_0x5a33eb(0x118)]){_0x18a7a8=_0x35d22d[0x0][_0x5a33eb(0x117)];for(let _0x5e5547=0x0;_0x5e5547<_0x35d22d[_0x5a33eb(0x118)];_0x5e5547++)_0x39859f(_0x35d22d[_0x5e5547]);}if(_0x208d2a[_0x5a33eb(0x118)]){_0x18a7a8||(_0x4812dd[0x0][_0x5a33eb(0x13a)]?_0x18a7a8=_0x1db188(_0x5a33eb(0x122),_0x4812dd[0x0][_0x5a33eb(0x13a)],_0x2530c8):(_0x18a7a8=_0x208d2a[_0x5a33eb(0x11b)](),_0x5b9346(_0x2530c8,_0x18a7a8)));for(let _0x5044ef=0x0;_0x5044ef<_0x208d2a[_0x5a33eb(0x118)];_0x5044ef++)_0x2aa828(_0x18a7a8,_0x208d2a[_0x5044ef]),_0x18a7a8=_0x208d2a[_0x5044ef];}}const _0x1aaa46=_0xe0053a(_0x2530c8),_0xf1ce85=_0xa76d6c[_0x5a33eb(0x12d)](_0x45dc90,_0x1aaa46,_0x1c9e09)[_0x5a33eb(0x12e)]();if(_0x416dfc){const _0x46e807=_0x38dbe8[_0x5a33eb(0x114)][_0x5a33eb(0x131)][_0x5a33eb(0x121)][_0x5a33eb(0x12e)](_0x3a8dc2),_0x4eddbd={'document':_0x38dbe8[_0x5a33eb(0x114)][_0x5a33eb(0x131)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x2217b9(_0xf1ce85,_0x46e807,_0x4eddbd)[_0x5a33eb(0x133)];}return _0xf1ce85;}export function fixMarkerOperationOldRange(_0x3dacd9,_0x1c7fd1){const _0x500489=_0x31dd;if(_0x500489(0x138)!=_0x1c7fd1[_0x500489(0x11e)])return;const _0x301bb5=_0x3dacd9[_0x500489(0x114)][_0x500489(0x12b)][_0x500489(0x12a)](_0x1c7fd1[_0x500489(0x11c)]);_0x301bb5&&(_0x1c7fd1[_0x500489(0x130)]=_0x301bb5[_0x500489(0x120)]());}function _0xc882(){const _0x2f7047=['oldRange','document','275LSeWSS','operationsA','node','4122aObTjd','getDocumentContext','349266QxGNom','marker','222288BwHmKv','anchorId','2271070XahkWV','model','6870VZtiPB','1145VvvxtV','previousSibling','length','57KPbDSo','map','shift','name','440PKCCOH','type','40148DIipnt','getRange','history','data-id','cloneNode','removed','new','version','documentContextContent','1bFTruF','content','get','markers','filter','getDiff','getOperations','968184xYyZFg'];_0xc882=function(){return _0x2f7047;};return _0xc882();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x170921,_0x551c00){const _0x1b5470=_0x5c71,_0x274d56=_0x170921();while(!![]){try{const _0x2b65fc=-parseInt(_0x1b5470(0x138))/0x1*(parseInt(_0x1b5470(0x146))/0x2)+-parseInt(_0x1b5470(0x135))/0x3*(-parseInt(_0x1b5470(0xee))/0x4)+parseInt(_0x1b5470(0x13a))/0x5*(-parseInt(_0x1b5470(0xf9))/0x6)+parseInt(_0x1b5470(0x13b))/0x7+-parseInt(_0x1b5470(0x144))/0x8*(-parseInt(_0x1b5470(0x140))/0x9)+-parseInt(_0x1b5470(0x10e))/0xa+-parseInt(_0x1b5470(0x103))/0xb*(parseInt(_0x1b5470(0x14b))/0xc);if(_0x2b65fc===_0x551c00)break;else _0x274d56['push'](_0x274d56['shift']());}catch(_0x16f30f){_0x274d56['push'](_0x274d56['shift']());}}}(_0x6e16,0xc5bea));function _0x5c71(_0x14fbbe,_0x1be1e5){const _0x6e1625=_0x6e16();return _0x5c71=function(_0x5c719f,_0x4be136){_0x5c719f=_0x5c719f-0xe6;let _0x449ad3=_0x6e1625[_0x5c719f];return _0x449ad3;},_0x5c71(_0x14fbbe,_0x1be1e5);}import{findOne as _0x2cc591,getAttribute as _0x5ec6b8,Document as _0x332805,serialize as _0x1daf3c,parse as _0x237da4}from'./htmlparser.js';import{fixElementSuggestionRange as _0x330eac}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x751315,_DetachOperation as _0x4b44fb,_removeFromModelNodeList as _0x474396,_insertIntoModelNodeList as _0x2d1d53}from'ckeditor5/src/engine.js';import{uid as _0x3f2928}from'ckeditor5/src/utils.js';function _0x6e16(){const _0x2b1a1d=['setTo','nodeAfter','change','moveTargetPosition','insert','changeAttribute','5683600hbqvrC','sourcePosition','delete',':$aiSuggestion','parent','_getTransformedByInsertion','isMarkedRemoveOperation','word','removeAttribute','isRegisteredAttribute','slice','$text','oldValue','POSITIVE_INFINITY','getMovedRangeStart','backward','clone','isBefore','split','isAfter','createPositionFromPath','push','remove','element','newName','set','move','isBlock','newRange','key','getMinimalFlatRanges','addOperation','marker','$elementName','range','changes','name','modifySelection','suggestion:attribute:','203910PpHXYi','position','batch','2OsdNhb','addAttribute','1673305VqVEsk','7729057IVvlKf','getTransformedByOperation','index','$root','forward','1719SXLCcQ','createSelection','data','targetPosition','38912Cvxjri','plugins','314346VMUKjf','map','...','suggestion:deletion:','textNode','36KGhJXZ','getOperations','children','path','howMany','isObject','merge','_getTransformedByDeletion','toNone','new','DocumentCompare','offset','splitPosition','nodeBefore','createRangeOn','oldName','isDocumentOperation','model','root','node','suggestion:insertion:','createRange','stringify','stickiness','focus','removed','60cOymGJ','_createFromRanges','SuggestionsConversion','get','type','data-id','length','suggestion:formatBlock:$fakeWrap:','cloneNode','getDiff','parse','12nsTBmr','schema','getFirstRange','newValue','baseVersion','rename','getShiftedBy','reverse','createPositionAt','end','2532695ygQwfi','add','start','markers','applyOperation'];_0x6e16=function(){return _0x2b1a1d;};return _0x6e16();}export function getSuggestionPartsFromReply({editor:_0x4ce5a2,changeGroups:_0x2e6073,documentContextContent:_0x209add,showDiff:_0x15cfbb,trimUnchanged:_0x345a9f=!0x0}){const _0x48113d=_0x5c71;return _0x2e6073[_0x48113d(0x147)](_0x2537e8=>{const _0x236426=_0x48113d,_0x5df852=new _0x332805([]),_0x517ba8=new _0x332805([]);for(const _0x148129 of _0x2537e8[_0x236426(0x131)])if(_0x15cfbb&&_0x236426(0xed)==_0x148129[_0x236426(0xf2)]||_0x517ba8[_0x236426(0x14d)][_0x236426(0x123)](_0x148129[_0x236426(0xe7)][_0x236426(0xf6)](!0x0)),_0x236426(0x154)!=_0x148129[_0x236426(0xf2)]&&(_0x15cfbb||_0x236426(0xed)!=_0x148129[_0x236426(0xf2)])){const _0x10d43a=_0x2cc591(_0x54a2b9=>_0x5ec6b8(_0x54a2b9,_0x236426(0xf3))==_0x148129['id'],_0x209add,!0x0);_0x10d43a&&_0x5df852[_0x236426(0x14d)][_0x236426(0x123)](_0x10d43a[_0x236426(0xf6)](!0x0));}const {content:_0x2c0fdf,hasChanges:_0x296ed0}=function(_0x2eb3b0,_0x548bae,_0x4dee1d,_0x4364e6,_0x4c6732=!0x0){const _0x398f8b=_0x236426,_0x2381d7=_0x2eb3b0[_0x398f8b(0x145)][_0x398f8b(0xf1)](_0x398f8b(0x155)),_0x3052e5=_0x1daf3c(_0x548bae),_0x130393=_0x1daf3c(_0x4dee1d),_0x51d8bd=_0x2eb3b0[_0x398f8b(0x142)][_0x398f8b(0xf8)](_0x3052e5,_0x398f8b(0x13e)),_0x32d7f4=_0x2eb3b0[_0x398f8b(0x15c)][_0x398f8b(0x101)](_0x51d8bd,0x0),_0x17cfd3=_0x2381d7[_0x398f8b(0xf7)](_0x3052e5,_0x130393,{'anchor':_0x32d7f4,'markDeletions':_0x4364e6,'context':_0x398f8b(0x13e)}),_0x26275b=_0x17cfd3[_0x398f8b(0x14c)]();if(0x0==_0x26275b[_0x398f8b(0xf4)])return{'content':_0x548bae[_0x398f8b(0xf6)](!0x0),'hasChanges':!0x1};_0x4364e6?function(_0x475a62,_0xa13e95,_0x4ce58a){const _0x11dde4=_0x398f8b;if(0x0==_0x475a62[_0x11dde4(0xf4)])return;const _0x33808e=_0x4ce58a[_0x11dde4(0x145)][_0x11dde4(0xf1)](_0x11dde4(0x155)),_0x4bfcef=_0x4ce58a[_0x11dde4(0x145)][_0x11dde4(0xf1)](_0x11dde4(0xf0));_0x4ce58a[_0x11dde4(0x15c)][_0x11dde4(0x10a)](_0x4accdd=>{const _0x2c011c=_0x11dde4,_0x555571=new Set();for(let _0x861f65=0x0;_0x861f65<_0x475a62[_0x2c011c(0xf4)];_0x861f65++){const _0x43f1b3=_0x475a62[_0x861f65];if(_0x43f1b3[_0x2c011c(0xfd)]=null,_0x43f1b3[_0x2c011c(0x15b)]=!0x1,_0x33808e[_0x2c011c(0x114)](_0x43f1b3)){const _0x40876b=_0x330eac(_0x43f1b3[_0x2c011c(0x12a)],_0x4ce58a[_0x2c011c(0x15c)]),_0x54a20a=_0x2c011c(0x149)+_0x3f2928()+_0x2c011c(0x111);_0xa13e95[_0x2c011c(0x106)][_0x2c011c(0x127)](_0x54a20a,_0x40876b);}else switch(_0x43f1b3[_0x2c011c(0xf2)]){case _0x2c011c(0xfe):{if(_0x43f1b3[_0x2c011c(0x15a)]==_0x43f1b3[_0x2c011c(0x126)])break;_0x4accdd[_0x2c011c(0x137)][_0x2c011c(0x12d)](_0x43f1b3),_0x4ce58a[_0x2c011c(0x15c)][_0x2c011c(0x107)](_0x43f1b3);const _0x1620dd=_0x2c011c(0x12f),_0x594466=_0x43f1b3[_0x2c011c(0x136)],_0x3e1e32=_0x4ce58a[_0x2c011c(0x15c)][_0x2c011c(0xe9)](_0x594466,_0x4ce58a[_0x2c011c(0x15c)][_0x2c011c(0x101)](_0x594466[_0x2c011c(0x109)],_0x2c011c(0x102))),_0x3812b7=_0x2c011c(0x134)+_0x1620dd+':'+_0x3f2928()+_0x2c011c(0x111);_0xa13e95[_0x2c011c(0x106)][_0x2c011c(0x127)](_0x3812b7,_0x3e1e32);break;}case _0x2c011c(0x139):case _0x2c011c(0x116):case _0x2c011c(0x10d):{if(_0x43f1b3[_0x2c011c(0x11a)]==_0x43f1b3[_0x2c011c(0xfc)])break;_0x4accdd[_0x2c011c(0x137)][_0x2c011c(0x12d)](_0x43f1b3),_0x4ce58a[_0x2c011c(0x15c)][_0x2c011c(0x107)](_0x43f1b3);const _0x3cd9e7=_0x43f1b3[_0x2c011c(0x12b)];if(!_0x4bfcef[_0x2c011c(0x117)](_0x3cd9e7))break;const _0x577f77=_0x330eac(_0x43f1b3[_0x2c011c(0x130)],_0x4ce58a[_0x2c011c(0x15c)]),_0x3951f6=_0x2c011c(0x134)+_0x3cd9e7+':'+_0x3f2928()+_0x2c011c(0x111);_0xa13e95[_0x2c011c(0x106)][_0x2c011c(0x127)](_0x3951f6,_0x577f77);break;}case _0x2c011c(0x10c):{_0x4accdd[_0x2c011c(0x137)][_0x2c011c(0x12d)](_0x43f1b3),_0x4ce58a[_0x2c011c(0x15c)][_0x2c011c(0x107)](_0x43f1b3);if(_0x475a62[_0x861f65+0x1]&&_0x2c011c(0x128)==_0x475a62[_0x861f65+0x1][_0x2c011c(0xf2)]){no(_0xa13e95,_0x43f1b3);break;}const _0x1e7a25=_0x43f1b3[_0x2c011c(0x136)],_0x4a144b=_0x43f1b3[_0x2c011c(0x14f)],_0x11405c=_0x330eac(_0x4ce58a[_0x2c011c(0x15c)][_0x2c011c(0xe9)](_0x1e7a25,_0x1e7a25[_0x2c011c(0xff)](_0x4a144b)),_0x4ce58a[_0x2c011c(0x15c)]),_0x1cf0be=_0x2c011c(0xe8)+_0x3f2928()+_0x2c011c(0x111);_0xa13e95[_0x2c011c(0x106)][_0x2c011c(0x127)](_0x1cf0be,_0x11405c);break;}case _0x2c011c(0x120):{_0x4accdd[_0x2c011c(0x137)][_0x2c011c(0x12d)](_0x43f1b3),_0x4ce58a[_0x2c011c(0x15c)][_0x2c011c(0x107)](_0x43f1b3);const _0x155654=_0x43f1b3[_0x2c011c(0x157)],_0x40a54d=_0x43f1b3[_0x2c011c(0x10b)],_0x5eb5c9=_0x4ce58a[_0x2c011c(0x15c)][_0x2c011c(0xe9)](_0x155654,_0x40a54d),_0x2bf2a5=_0x2c011c(0xe8)+_0x3f2928()+_0x2c011c(0x111);_0xa13e95[_0x2c011c(0x106)][_0x2c011c(0x127)](_0x2bf2a5,_0x5eb5c9);break;}case _0x2c011c(0x128):{_0x4accdd[_0x2c011c(0x137)][_0x2c011c(0x12d)](_0x43f1b3),_0x4ce58a[_0x2c011c(0x15c)][_0x2c011c(0x107)](_0x43f1b3),_0x475a62[_0x861f65-0x1]&&_0x2c011c(0x10c)==_0x475a62[_0x861f65-0x1][_0x2c011c(0xf2)]&&no(_0xa13e95,_0x43f1b3);const _0x3c94be=_0x43f1b3[_0x2c011c(0x11c)](),_0x32033b=_0x43f1b3[_0x2c011c(0x14f)];for(let _0x5957aa=0x0;_0x5957aa<_0x32033b;_0x5957aa++){const _0x74c8a6=_0x3c94be[_0x2c011c(0xff)](_0x5957aa)[_0x2c011c(0x109)];_0x555571[_0x2c011c(0x104)](_0x74c8a6);}break;}case _0x2c011c(0x124):{const _0x18946d=_0x43f1b3[_0x2c011c(0x10f)],_0x25a58e=_0x43f1b3[_0x2c011c(0x14f)],_0x2b25bb=new _0x4b44fb(_0x18946d,_0x25a58e);_0x4accdd[_0x2c011c(0x137)][_0x2c011c(0x12d)](_0x2b25bb),_0x4ce58a[_0x2c011c(0x15c)][_0x2c011c(0x107)](_0x2b25bb);break;}}}for(const _0x518310 of _0x555571){const _0x55185a=_0x4ce58a[_0x2c011c(0x15c)][_0x2c011c(0x159)](_0x518310),_0x102dbb=_0x2c011c(0xf5)+_0x3f2928()+_0x2c011c(0x111);_0xa13e95[_0x2c011c(0x106)][_0x2c011c(0x127)](_0x102dbb,_0x330eac(_0x55185a,_0x4ce58a[_0x2c011c(0x15c)]));}});}(_0x26275b,_0x51d8bd,_0x2eb3b0):_0x2eb3b0[_0x398f8b(0x15c)][_0x398f8b(0x10a)](_0x7cbc34=>{const _0x391fee=_0x398f8b;for(const _0x2a8df2 of _0x26275b)if(_0x391fee(0x124)==_0x2a8df2[_0x391fee(0xf2)]){const _0x272eff=_0x2a8df2[_0x391fee(0x10f)],_0x2411a8=_0x2a8df2[_0x391fee(0x14f)],_0x74ea1d=new _0x4b44fb(_0x272eff,_0x2411a8);_0x7cbc34[_0x391fee(0x137)][_0x391fee(0x12d)](_0x74ea1d),_0x2eb3b0[_0x391fee(0x15c)][_0x391fee(0x107)](_0x74ea1d);}else{if(_0x391fee(0x12e)==_0x2a8df2[_0x391fee(0xf2)]){const _0x470869=_0x2a8df2[_0x391fee(0x132)],_0x2aa6cd=_0x2a8df2[_0x391fee(0x12a)];_0x51d8bd[_0x391fee(0x106)][_0x391fee(0x127)](_0x470869,_0x2aa6cd);}else _0x2a8df2[_0x391fee(0xfd)]=null,_0x2a8df2[_0x391fee(0x15b)]=!0x1,_0x7cbc34[_0x391fee(0x137)][_0x391fee(0x12d)](_0x2a8df2),_0x2eb3b0[_0x391fee(0x15c)][_0x391fee(0x107)](_0x2a8df2);}});if(_0x4c6732){const _0xafdb31=getMinimalSelection(_0x2eb3b0,_0x26275b,_0x51d8bd);expandSelectionWithContext(_0x2eb3b0[_0x398f8b(0x15c)],_0xafdb31),function(_0x1f72c8,_0xe1ce71){const _0x5b30eb=_0x398f8b,_0x3bcb5f=_0xe1ce71[_0x5b30eb(0xfb)]()[_0x5b30eb(0x105)];let _0x3b091a=_0xe1ce71[_0x5b30eb(0xfb)]()[_0x5b30eb(0x102)];const _0x362faf=_0x3bcb5f[_0x5b30eb(0xe6)];(_0x3b091a[_0x5b30eb(0x14a)]||_0x3b091a[_0x5b30eb(0x109)]&&_0x3b091a[_0x5b30eb(0x109)]['is'](_0x5b30eb(0x119)))&&(_0x2d1d53(_0x3b091a,_0x5b30eb(0x148)),_0x3b091a=_0x3b091a[_0x5b30eb(0xff)](0x3)),(_0x3bcb5f[_0x5b30eb(0x14a)]||_0x3bcb5f[_0x5b30eb(0x158)]&&_0x3bcb5f[_0x5b30eb(0x158)]['is'](_0x5b30eb(0x119)))&&(_0x2d1d53(_0x3bcb5f,_0x5b30eb(0x148)),function(_0x1bd87e,_0x27d0c8,_0x585bd3){const _0x4e57b9=_0x5b30eb;for(let [_0x305466,_0x1130d5]of _0x1bd87e[_0x4e57b9(0x106)]){const _0x5e5440=_0x1130d5[_0x4e57b9(0x113)](_0x27d0c8,_0x585bd3,!0x1);_0x1130d5=_0x5e5440[0x0],_0x1bd87e[_0x4e57b9(0x106)][_0x4e57b9(0x127)](_0x305466,_0x1130d5);}}(_0x362faf,_0x3bcb5f,0x3),_0x3bcb5f[_0x5b30eb(0x112)]==_0x3b091a[_0x5b30eb(0x112)]&&(_0x3b091a=_0x3b091a[_0x5b30eb(0xff)](0x3)));const _0x29c1be=_0x1f72c8[_0x5b30eb(0xe9)](_0x1f72c8[_0x5b30eb(0x101)](_0x362faf,0x0),_0x3bcb5f),_0x370f29=_0x1f72c8[_0x5b30eb(0xe9)](_0x3b091a,_0x1f72c8[_0x5b30eb(0x101)](_0x362faf,_0x5b30eb(0x102))),_0x4617e3=[..._0x29c1be[_0x5b30eb(0x12c)](),..._0x370f29[_0x5b30eb(0x12c)]()];_0x4617e3[_0x5b30eb(0x100)]();for(const _0x1a011f of _0x4617e3)_0x474396(_0x1a011f),_transformMarkersByDeletion(_0x362faf,_0x1a011f);}(_0x2eb3b0[_0x398f8b(0x15c)],_0xafdb31);}const _0x249480=_0x2eb3b0[_0x398f8b(0x142)][_0x398f8b(0xea)](_0x51d8bd,{'showSuggestionHighlights':!0x0});return{'content':_0x237da4(_0x249480),'hasChanges':!0x0};}(_0x4ce5a2,_0x5df852,_0x517ba8,_0x15cfbb,_0x345a9f);return{'type':_0x2537e8[_0x236426(0x131)][0x0][_0x236426(0xf2)],'index':_0x2537e8[_0x236426(0x13d)],'content':_0x2c0fdf,'hasChanges':_0x296ed0};});}function no(_0x29253b,_0x56cabb){const _0x520cea=_0x5c71;for(const [_0x4c040d,_0x33b304]of _0x29253b[_0x520cea(0x106)]){const _0x50a8cf=_0x751315[_0x520cea(0xef)](_0x33b304[_0x520cea(0x13c)](_0x56cabb));_0x29253b[_0x520cea(0x106)][_0x520cea(0x127)](_0x4c040d,_0x50a8cf);}}export function getMinimalSelection(_0x415f20,_0x147a7f,_0x3c8793){const _0x2e6d84=_0x5c71,_0x41d514=_0x415f20[_0x2e6d84(0x145)][_0x2e6d84(0xf1)](_0x2e6d84(0x155));let _0x43fc7b=_0x415f20[_0x2e6d84(0x15c)][_0x2e6d84(0x101)](_0x3c8793,Number[_0x2e6d84(0x11b)]),_0x31ae80=_0x415f20[_0x2e6d84(0x15c)][_0x2e6d84(0x101)](_0x3c8793,0x0);for(const _0x599c08 of _0x147a7f){let _0x57ccb6,_0x124faa;if(_0x41d514[_0x2e6d84(0x114)](_0x599c08))_0x57ccb6=_0x599c08[_0x2e6d84(0x12a)][_0x2e6d84(0x105)],_0x124faa=_0x599c08[_0x2e6d84(0x12a)][_0x2e6d84(0x102)];else switch(_0x43fc7b=_0x43fc7b[_0x2e6d84(0x13c)](_0x599c08),_0x31ae80=_0x31ae80[_0x2e6d84(0x13c)](_0x599c08),_0x599c08[_0x2e6d84(0xf2)]){case _0x2e6d84(0xfe):_0x57ccb6=_0x599c08[_0x2e6d84(0x136)],_0x124faa=_0x57ccb6[_0x2e6d84(0xff)](0x1);break;case _0x2e6d84(0x139):case _0x2e6d84(0x116):case _0x2e6d84(0x10d):_0x57ccb6=_0x599c08[_0x2e6d84(0x130)][_0x2e6d84(0x105)],_0x124faa=_0x599c08[_0x2e6d84(0x130)][_0x2e6d84(0x102)];break;case _0x2e6d84(0x10c):_0x57ccb6=_0x599c08[_0x2e6d84(0x136)],_0x124faa=_0x57ccb6[_0x2e6d84(0xff)](_0x599c08[_0x2e6d84(0x14f)]);break;case _0x2e6d84(0x120):_0x57ccb6=_0x599c08[_0x2e6d84(0x157)],_0x124faa=_0x599c08[_0x2e6d84(0x10b)];break;case _0x2e6d84(0x151):{const _0xea4ea8=_0x599c08[_0x2e6d84(0x143)][_0x2e6d84(0x14e)][_0x2e6d84(0x118)](0x0,-0x1);_0x57ccb6=_0x415f20[_0x2e6d84(0x15c)][_0x2e6d84(0x122)](_0x3c8793,_0xea4ea8),_0x124faa=_0x57ccb6[_0x2e6d84(0xff)](0x1);break;}case _0x2e6d84(0x124):{const _0x56a5af=_0x599c08[_0x2e6d84(0x14f)],_0x26f610=_0x599c08[_0x2e6d84(0x10f)][_0x2e6d84(0x113)](_0x599c08[_0x2e6d84(0x143)],_0x56a5af),_0x3fa310=_0x599c08[_0x2e6d84(0x11c)]();_0x2e6d84(0x124)==_0x599c08[_0x2e6d84(0xf2)]?(_0x57ccb6=_0x26f610,_0x124faa=_0x26f610):(_0x57ccb6=_0x3fa310,_0x124faa=_0x3fa310[_0x2e6d84(0xff)](_0x56a5af));break;}}_0x57ccb6&&_0x57ccb6[_0x2e6d84(0x11f)](_0x43fc7b)&&(_0x43fc7b=_0x57ccb6[_0x2e6d84(0x11e)](),_0x43fc7b[_0x2e6d84(0xeb)]=_0x2e6d84(0x153)),_0x124faa&&_0x124faa[_0x2e6d84(0x121)](_0x31ae80)&&(_0x31ae80=_0x124faa[_0x2e6d84(0x11e)](),_0x31ae80[_0x2e6d84(0xeb)]=_0x2e6d84(0x153));}return _0x415f20[_0x2e6d84(0x15c)][_0x2e6d84(0x141)](_0x415f20[_0x2e6d84(0x15c)][_0x2e6d84(0xe9)](_0x43fc7b,_0x31ae80));}export function expandSelectionWithContext(_0x2c1d1f,_0x5925e3){const _0x495c83=_0x5c71;ro(_0x2c1d1f,_0x5925e3,_0x495c83(0x13f));const _0x2f9cbb=_0x5925e3[_0x495c83(0xfb)]();_0x5925e3[_0x495c83(0x108)]([]),_0x5925e3[_0x495c83(0x108)](_0x2f9cbb,{'backward':!0x0}),ro(_0x2c1d1f,_0x5925e3,_0x495c83(0x11d));}function ro(_0x44f759,_0x5d777c,_0x19b052){const _0x149c35=_0x5c71;let _0x25462b=0x14;for(;_0x25462b;){_0x44f759[_0x149c35(0x133)](_0x5d777c,{'unit':_0x149c35(0x115),'direction':_0x19b052}),_0x25462b--;const _0x5ae835=_0x5d777c[_0x149c35(0xec)][_0x149c35(0x13f)==_0x19b052?_0x149c35(0x158):_0x149c35(0x109)];if(_0x5ae835&&_0x5ae835['is'](_0x149c35(0x125))&&_0x44f759[_0x149c35(0xfa)][_0x149c35(0x129)](_0x5ae835)&&_0x44f759[_0x149c35(0xfa)][_0x149c35(0x150)](_0x5ae835))break;}}export function _transformMarkersByDeletion(_0x543b9d,_0x128b59){const _0x21dee7=_0x5c71;for(const [_0x1e9d8c,_0x38406d]of _0x543b9d[_0x21dee7(0x106)]){const _0x3dd144=_0x38406d[_0x21dee7(0x152)](_0x128b59[_0x21dee7(0x105)],_0x128b59[_0x21dee7(0x102)][_0x21dee7(0x156)]-_0x128b59[_0x21dee7(0x105)][_0x21dee7(0x156)]);null!=_0x3dd144?_0x543b9d[_0x21dee7(0x106)][_0x21dee7(0x127)](_0x1e9d8c,_0x3dd144):_0x543b9d[_0x21dee7(0x106)][_0x21dee7(0x110)](_0x1e9d8c);}}
23
+ function _0x5ed2(){const _0xfc945c=['plugins','867320OvCrOr','split','children','remove','push','rename','35itbDIm',':$aiSuggestion','isDocumentOperation','node','suggestion:attribute:','isMarkedRemoveOperation','$root','change','_createFromRanges','isBefore','createSelection','set','move','parse','addAttribute','nodeBefore','reverse','path','251pDIhHe','suggestion:deletion:','createPositionFromPath','isObject','oldValue','index','model','forward','focus','newRange','map','get','add','clone','2061920RdPkBz','newValue','getShiftedBy','isBlock','createRange','32gAFHDw','data','start','getDiff','121722tQVdUk','howMany','_getTransformedByDeletion','root','slice','parent','removeAttribute','targetPosition','toNone','2130080siwHNS','isAfter','oldName','merge','suggestion:formatBlock:$fakeWrap:','getFirstRange','textNode','$text','position','delete','element','createRangeOn','getOperations','cloneNode','offset','splitPosition','createPositionAt','word','applyOperation','30276KQZOgt','markers','batch','sourcePosition','marker','changes','...','type','nodeAfter','data-id','name','getMovedRangeStart','suggestion:insertion:','range','newName','length','1278fsICDY','key','insert','isRegisteredAttribute','SuggestionsConversion','backward','addOperation','end','schema','removed','stickiness','_getTransformedByInsertion','changeAttribute','moveTargetPosition','$elementName','getTransformedByOperation','new','modifySelection','baseVersion','DocumentCompare','setTo','POSITIVE_INFINITY','stringify','242514JCDvGV','getMinimalFlatRanges'];_0x5ed2=function(){return _0xfc945c;};return _0x5ed2();}(function(_0x5b1795,_0x266b7d){const _0x17fa3d=_0x392c,_0x52a541=_0x5b1795();while(!![]){try{const _0xbd1f1a=-parseInt(_0x17fa3d(0x1f4))/0x1*(-parseInt(_0x17fa3d(0x237))/0x2)+parseInt(_0x17fa3d(0x227))/0x3*(-parseInt(_0x17fa3d(0x207))/0x4)+parseInt(_0x17fa3d(0x251))/0x5+parseInt(_0x17fa3d(0x20b))/0x6*(-parseInt(_0x17fa3d(0x1e2))/0x7)+-parseInt(_0x17fa3d(0x202))/0x8+parseInt(_0x17fa3d(0x24e))/0x9+parseInt(_0x17fa3d(0x214))/0xa;if(_0xbd1f1a===_0x266b7d)break;else _0x52a541['push'](_0x52a541['shift']());}catch(_0x437041){_0x52a541['push'](_0x52a541['shift']());}}}(_0x5ed2,0x20b08));import{findOne as _0x1a1662,getAttribute as _0x5af669,Document as _0x20a0b1,serialize as _0x11955b,parse as _0x2fade0}from'./htmlparser.js';function _0x392c(_0x430185,_0x51ab53){const _0x5ed27c=_0x5ed2();return _0x392c=function(_0x392c0d,_0x1c9052){_0x392c0d=_0x392c0d-0x1df;let _0x4e6e88=_0x5ed27c[_0x392c0d];return _0x4e6e88;},_0x392c(_0x430185,_0x51ab53);}import{fixElementSuggestionRange as _0x355669}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x80223f,_DetachOperation as _0x5244a3,_removeFromModelNodeList as _0x2d5a69,_insertIntoModelNodeList as _0x4f3069}from'ckeditor5/src/engine.js';import{uid as _0xdf8d39}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x7c518b,changeGroups:_0xc17006,documentContextContent:_0x177717,showDiff:_0x36ecf9,trimUnchanged:_0xb10df6=!0x0}){const _0x4d3d1f=_0x392c;return _0xc17006[_0x4d3d1f(0x1fe)](_0x542795=>{const _0x386d88=_0x4d3d1f,_0x52baec=new _0x20a0b1([]),_0xa8a1fc=new _0x20a0b1([]);for(const _0x33a442 of _0x542795[_0x386d88(0x22c)])if(_0x36ecf9&&_0x386d88(0x240)==_0x33a442[_0x386d88(0x22e)]||_0xa8a1fc[_0x386d88(0x253)][_0x386d88(0x1e0)](_0x33a442[_0x386d88(0x1e5)][_0x386d88(0x221)](!0x0)),_0x386d88(0x247)!=_0x33a442[_0x386d88(0x22e)]&&(_0x36ecf9||_0x386d88(0x240)!=_0x33a442[_0x386d88(0x22e)])){const _0x6aedaf=_0x1a1662(_0x11148a=>_0x5af669(_0x11148a,_0x386d88(0x230))==_0x33a442['id'],_0x177717,!0x0);_0x6aedaf&&_0x52baec[_0x386d88(0x253)][_0x386d88(0x1e0)](_0x6aedaf[_0x386d88(0x221)](!0x0));}const {content:_0x132a21,hasChanges:_0x398f77}=function(_0x466682,_0x49352c,_0x4e2598,_0x56c50f,_0x47a500=!0x0){const _0x5170be=_0x386d88,_0x1e4b8f=_0x466682[_0x5170be(0x250)][_0x5170be(0x1ff)](_0x5170be(0x24a)),_0x432d66=_0x11955b(_0x49352c),_0x2016fa=_0x11955b(_0x4e2598),_0x992f45=_0x466682[_0x5170be(0x208)][_0x5170be(0x1ef)](_0x432d66,_0x5170be(0x1e8)),_0xd75264=_0x466682[_0x5170be(0x1fa)][_0x5170be(0x224)](_0x992f45,0x0),_0x1290bb=_0x1e4b8f[_0x5170be(0x20a)](_0x432d66,_0x2016fa,{'anchor':_0xd75264,'markDeletions':_0x56c50f,'context':_0x5170be(0x1e8)}),_0x152dad=_0x1290bb[_0x5170be(0x220)]();if(0x0==_0x152dad[_0x5170be(0x236)])return{'content':_0x49352c[_0x5170be(0x221)](!0x0),'hasChanges':!0x1};_0x56c50f?function(_0x14e39e,_0x40654c,_0x1630ac){const _0x4e4fbb=_0x5170be;if(0x0==_0x14e39e[_0x4e4fbb(0x236)])return;const _0xbed82b=_0x1630ac[_0x4e4fbb(0x250)][_0x4e4fbb(0x1ff)](_0x4e4fbb(0x24a)),_0x1b69a0=_0x1630ac[_0x4e4fbb(0x250)][_0x4e4fbb(0x1ff)](_0x4e4fbb(0x23b));_0x1630ac[_0x4e4fbb(0x1fa)][_0x4e4fbb(0x1e9)](_0x1b5180=>{const _0xe9f133=_0x4e4fbb,_0x103629=new Set();for(let _0x11ebbb=0x0;_0x11ebbb<_0x14e39e[_0xe9f133(0x236)];_0x11ebbb++){const _0x79e959=_0x14e39e[_0x11ebbb];if(_0x79e959[_0xe9f133(0x249)]=null,_0x79e959[_0xe9f133(0x1e4)]=!0x1,_0xbed82b[_0xe9f133(0x1e7)](_0x79e959)){const _0x226fea=_0x355669(_0x79e959[_0xe9f133(0x1fd)],_0x1630ac[_0xe9f133(0x1fa)]),_0x1ab3ca=_0xe9f133(0x1f5)+_0xdf8d39()+_0xe9f133(0x1e3);_0x40654c[_0xe9f133(0x228)][_0xe9f133(0x1ed)](_0x1ab3ca,_0x226fea);}else switch(_0x79e959[_0xe9f133(0x22e)]){case _0xe9f133(0x1e1):{if(_0x79e959[_0xe9f133(0x216)]==_0x79e959[_0xe9f133(0x235)])break;_0x1b5180[_0xe9f133(0x229)][_0xe9f133(0x23d)](_0x79e959),_0x1630ac[_0xe9f133(0x1fa)][_0xe9f133(0x226)](_0x79e959);const _0x693395=_0xe9f133(0x245),_0x202a37=_0x79e959[_0xe9f133(0x21c)],_0x3f56cd=_0x1630ac[_0xe9f133(0x1fa)][_0xe9f133(0x206)](_0x202a37,_0x1630ac[_0xe9f133(0x1fa)][_0xe9f133(0x224)](_0x202a37[_0xe9f133(0x22f)],_0xe9f133(0x23e))),_0x42eb08=_0xe9f133(0x1e6)+_0x693395+':'+_0xdf8d39()+_0xe9f133(0x1e3);_0x40654c[_0xe9f133(0x228)][_0xe9f133(0x1ed)](_0x42eb08,_0x3f56cd);break;}case _0xe9f133(0x1f0):case _0xe9f133(0x211):case _0xe9f133(0x243):{if(_0x79e959[_0xe9f133(0x1f8)]==_0x79e959[_0xe9f133(0x203)])break;_0x1b5180[_0xe9f133(0x229)][_0xe9f133(0x23d)](_0x79e959),_0x1630ac[_0xe9f133(0x1fa)][_0xe9f133(0x226)](_0x79e959);const _0x45ad11=_0x79e959[_0xe9f133(0x238)];if(!_0x1b69a0[_0xe9f133(0x23a)](_0x45ad11))break;const _0x533e71=_0x355669(_0x79e959[_0xe9f133(0x234)],_0x1630ac[_0xe9f133(0x1fa)]),_0x11a620=_0xe9f133(0x1e6)+_0x45ad11+':'+_0xdf8d39()+_0xe9f133(0x1e3);_0x40654c[_0xe9f133(0x228)][_0xe9f133(0x1ed)](_0x11a620,_0x533e71);break;}case _0xe9f133(0x239):{_0x1b5180[_0xe9f133(0x229)][_0xe9f133(0x23d)](_0x79e959),_0x1630ac[_0xe9f133(0x1fa)][_0xe9f133(0x226)](_0x79e959);if(_0x14e39e[_0x11ebbb+0x1]&&_0xe9f133(0x1ee)==_0x14e39e[_0x11ebbb+0x1][_0xe9f133(0x22e)]){ro(_0x40654c,_0x79e959);break;}const _0x55eb29=_0x79e959[_0xe9f133(0x21c)],_0x560cf6=_0x79e959[_0xe9f133(0x20c)],_0x16c6bd=_0x355669(_0x1630ac[_0xe9f133(0x1fa)][_0xe9f133(0x206)](_0x55eb29,_0x55eb29[_0xe9f133(0x204)](_0x560cf6)),_0x1630ac[_0xe9f133(0x1fa)]),_0x59bdc0=_0xe9f133(0x233)+_0xdf8d39()+_0xe9f133(0x1e3);_0x40654c[_0xe9f133(0x228)][_0xe9f133(0x1ed)](_0x59bdc0,_0x16c6bd);break;}case _0xe9f133(0x252):{_0x1b5180[_0xe9f133(0x229)][_0xe9f133(0x23d)](_0x79e959),_0x1630ac[_0xe9f133(0x1fa)][_0xe9f133(0x226)](_0x79e959);const _0x2683b5=_0x79e959[_0xe9f133(0x223)],_0x1dd4e0=_0x79e959[_0xe9f133(0x244)],_0x4be8c8=_0x1630ac[_0xe9f133(0x1fa)][_0xe9f133(0x206)](_0x2683b5,_0x1dd4e0),_0x3d3b97=_0xe9f133(0x233)+_0xdf8d39()+_0xe9f133(0x1e3);_0x40654c[_0xe9f133(0x228)][_0xe9f133(0x1ed)](_0x3d3b97,_0x4be8c8);break;}case _0xe9f133(0x1ee):{_0x1b5180[_0xe9f133(0x229)][_0xe9f133(0x23d)](_0x79e959),_0x1630ac[_0xe9f133(0x1fa)][_0xe9f133(0x226)](_0x79e959),_0x14e39e[_0x11ebbb-0x1]&&_0xe9f133(0x239)==_0x14e39e[_0x11ebbb-0x1][_0xe9f133(0x22e)]&&ro(_0x40654c,_0x79e959);const _0x2f2f87=_0x79e959[_0xe9f133(0x232)](),_0x5d26ff=_0x79e959[_0xe9f133(0x20c)];for(let _0x160f4c=0x0;_0x160f4c<_0x5d26ff;_0x160f4c++){const _0x39d242=_0x2f2f87[_0xe9f133(0x204)](_0x160f4c)[_0xe9f133(0x22f)];_0x103629[_0xe9f133(0x200)](_0x39d242);}break;}case _0xe9f133(0x1df):{const _0x1de1c5=_0x79e959[_0xe9f133(0x22a)],_0x2a4477=_0x79e959[_0xe9f133(0x20c)],_0x3cd9ce=new _0x5244a3(_0x1de1c5,_0x2a4477);_0x1b5180[_0xe9f133(0x229)][_0xe9f133(0x23d)](_0x3cd9ce),_0x1630ac[_0xe9f133(0x1fa)][_0xe9f133(0x226)](_0x3cd9ce);break;}}}for(const _0x1d74d4 of _0x103629){const _0x3538fc=_0x1630ac[_0xe9f133(0x1fa)][_0xe9f133(0x21f)](_0x1d74d4),_0x5705aa=_0xe9f133(0x218)+_0xdf8d39()+_0xe9f133(0x1e3);_0x40654c[_0xe9f133(0x228)][_0xe9f133(0x1ed)](_0x5705aa,_0x355669(_0x3538fc,_0x1630ac[_0xe9f133(0x1fa)]));}});}(_0x152dad,_0x992f45,_0x466682):_0x466682[_0x5170be(0x1fa)][_0x5170be(0x1e9)](_0x1413ee=>{const _0x3b8da3=_0x5170be;for(const _0x439fc1 of _0x152dad)if(_0x3b8da3(0x1df)==_0x439fc1[_0x3b8da3(0x22e)]){const _0xe24a3e=_0x439fc1[_0x3b8da3(0x22a)],_0x1fc21e=_0x439fc1[_0x3b8da3(0x20c)],_0x24b530=new _0x5244a3(_0xe24a3e,_0x1fc21e);_0x1413ee[_0x3b8da3(0x229)][_0x3b8da3(0x23d)](_0x24b530),_0x466682[_0x3b8da3(0x1fa)][_0x3b8da3(0x226)](_0x24b530);}else{if(_0x3b8da3(0x22b)==_0x439fc1[_0x3b8da3(0x22e)]){const _0x55e752=_0x439fc1[_0x3b8da3(0x231)],_0xb398bf=_0x439fc1[_0x3b8da3(0x1fd)];_0x992f45[_0x3b8da3(0x228)][_0x3b8da3(0x1ed)](_0x55e752,_0xb398bf);}else _0x439fc1[_0x3b8da3(0x249)]=null,_0x439fc1[_0x3b8da3(0x1e4)]=!0x1,_0x1413ee[_0x3b8da3(0x229)][_0x3b8da3(0x23d)](_0x439fc1),_0x466682[_0x3b8da3(0x1fa)][_0x3b8da3(0x226)](_0x439fc1);}});if(_0x47a500){const _0x810a54=getMinimalSelection(_0x466682,_0x152dad,_0x992f45);expandSelectionWithContext(_0x466682[_0x5170be(0x1fa)],_0x810a54),function(_0x4dffeb,_0x1f9c61){const _0x55a2a1=_0x5170be,_0x28678a=_0x1f9c61[_0x55a2a1(0x219)]()[_0x55a2a1(0x209)];let _0x1cefcb=_0x1f9c61[_0x55a2a1(0x219)]()[_0x55a2a1(0x23e)];const _0x4423e0=_0x28678a[_0x55a2a1(0x20e)];(_0x1cefcb[_0x55a2a1(0x21a)]||_0x1cefcb[_0x55a2a1(0x22f)]&&_0x1cefcb[_0x55a2a1(0x22f)]['is'](_0x55a2a1(0x21b)))&&(_0x4f3069(_0x1cefcb,_0x55a2a1(0x22d)),_0x1cefcb=_0x1cefcb[_0x55a2a1(0x204)](0x3)),(_0x28678a[_0x55a2a1(0x21a)]||_0x28678a[_0x55a2a1(0x1f1)]&&_0x28678a[_0x55a2a1(0x1f1)]['is'](_0x55a2a1(0x21b)))&&(_0x4f3069(_0x28678a,_0x55a2a1(0x22d)),function(_0x49a5c5,_0x265a84,_0x510f0c){const _0x10931d=_0x55a2a1;for(let [_0x22bf9a,_0x283074]of _0x49a5c5[_0x10931d(0x228)]){const _0x527957=_0x283074[_0x10931d(0x242)](_0x265a84,_0x510f0c,!0x1);_0x283074=_0x527957[0x0],_0x49a5c5[_0x10931d(0x228)][_0x10931d(0x1ed)](_0x22bf9a,_0x283074);}}(_0x4423e0,_0x28678a,0x3),_0x28678a[_0x55a2a1(0x210)]==_0x1cefcb[_0x55a2a1(0x210)]&&(_0x1cefcb=_0x1cefcb[_0x55a2a1(0x204)](0x3)));const _0xe879ce=_0x4dffeb[_0x55a2a1(0x206)](_0x4dffeb[_0x55a2a1(0x224)](_0x4423e0,0x0),_0x28678a),_0x468613=_0x4dffeb[_0x55a2a1(0x206)](_0x1cefcb,_0x4dffeb[_0x55a2a1(0x224)](_0x4423e0,_0x55a2a1(0x23e))),_0x194aa6=[..._0xe879ce[_0x55a2a1(0x24f)](),..._0x468613[_0x55a2a1(0x24f)]()];_0x194aa6[_0x55a2a1(0x1f2)]();for(const _0x1a79fa of _0x194aa6)_0x2d5a69(_0x1a79fa),_transformMarkersByDeletion(_0x4423e0,_0x1a79fa);}(_0x466682[_0x5170be(0x1fa)],_0x810a54);}const _0x36173a=_0x466682[_0x5170be(0x208)][_0x5170be(0x24d)](_0x992f45,{'showSuggestionHighlights':!0x0});return{'content':_0x2fade0(_0x36173a),'hasChanges':!0x0};}(_0x7c518b,_0x52baec,_0xa8a1fc,_0x36ecf9,_0xb10df6);return{'type':_0x542795[_0x386d88(0x22c)][0x0][_0x386d88(0x22e)],'index':_0x542795[_0x386d88(0x1f9)],'content':_0x132a21,'hasChanges':_0x398f77};});}function ro(_0x18bdb7,_0x336152){const _0x5ea635=_0x392c;for(const [_0x388bb1,_0x224eee]of _0x18bdb7[_0x5ea635(0x228)]){const _0x13267f=_0x80223f[_0x5ea635(0x1ea)](_0x224eee[_0x5ea635(0x246)](_0x336152));_0x18bdb7[_0x5ea635(0x228)][_0x5ea635(0x1ed)](_0x388bb1,_0x13267f);}}export function getMinimalSelection(_0x236f33,_0x22ec46,_0x2bb2dc){const _0x2e9ea6=_0x392c,_0x3a3d9d=_0x236f33[_0x2e9ea6(0x250)][_0x2e9ea6(0x1ff)](_0x2e9ea6(0x24a));let _0x573aee=_0x236f33[_0x2e9ea6(0x1fa)][_0x2e9ea6(0x224)](_0x2bb2dc,Number[_0x2e9ea6(0x24c)]),_0x3806ba=_0x236f33[_0x2e9ea6(0x1fa)][_0x2e9ea6(0x224)](_0x2bb2dc,0x0);for(const _0x1d09de of _0x22ec46){let _0x2f4416,_0x44ad70;if(_0x3a3d9d[_0x2e9ea6(0x1e7)](_0x1d09de))_0x2f4416=_0x1d09de[_0x2e9ea6(0x1fd)][_0x2e9ea6(0x209)],_0x44ad70=_0x1d09de[_0x2e9ea6(0x1fd)][_0x2e9ea6(0x23e)];else switch(_0x573aee=_0x573aee[_0x2e9ea6(0x246)](_0x1d09de),_0x3806ba=_0x3806ba[_0x2e9ea6(0x246)](_0x1d09de),_0x1d09de[_0x2e9ea6(0x22e)]){case _0x2e9ea6(0x1e1):_0x2f4416=_0x1d09de[_0x2e9ea6(0x21c)],_0x44ad70=_0x2f4416[_0x2e9ea6(0x204)](0x1);break;case _0x2e9ea6(0x1f0):case _0x2e9ea6(0x211):case _0x2e9ea6(0x243):_0x2f4416=_0x1d09de[_0x2e9ea6(0x234)][_0x2e9ea6(0x209)],_0x44ad70=_0x1d09de[_0x2e9ea6(0x234)][_0x2e9ea6(0x23e)];break;case _0x2e9ea6(0x239):_0x2f4416=_0x1d09de[_0x2e9ea6(0x21c)],_0x44ad70=_0x2f4416[_0x2e9ea6(0x204)](_0x1d09de[_0x2e9ea6(0x20c)]);break;case _0x2e9ea6(0x252):_0x2f4416=_0x1d09de[_0x2e9ea6(0x223)],_0x44ad70=_0x1d09de[_0x2e9ea6(0x244)];break;case _0x2e9ea6(0x217):{const _0x4a370e=_0x1d09de[_0x2e9ea6(0x212)][_0x2e9ea6(0x1f3)][_0x2e9ea6(0x20f)](0x0,-0x1);_0x2f4416=_0x236f33[_0x2e9ea6(0x1fa)][_0x2e9ea6(0x1f6)](_0x2bb2dc,_0x4a370e),_0x44ad70=_0x2f4416[_0x2e9ea6(0x204)](0x1);break;}case _0x2e9ea6(0x1df):{const _0x107c73=_0x1d09de[_0x2e9ea6(0x20c)],_0xa8f1f3=_0x1d09de[_0x2e9ea6(0x22a)][_0x2e9ea6(0x242)](_0x1d09de[_0x2e9ea6(0x212)],_0x107c73),_0xa4831b=_0x1d09de[_0x2e9ea6(0x232)]();_0x2e9ea6(0x1df)==_0x1d09de[_0x2e9ea6(0x22e)]?(_0x2f4416=_0xa8f1f3,_0x44ad70=_0xa8f1f3):(_0x2f4416=_0xa4831b,_0x44ad70=_0xa4831b[_0x2e9ea6(0x204)](_0x107c73));break;}}_0x2f4416&&_0x2f4416[_0x2e9ea6(0x1eb)](_0x573aee)&&(_0x573aee=_0x2f4416[_0x2e9ea6(0x201)](),_0x573aee[_0x2e9ea6(0x241)]=_0x2e9ea6(0x213)),_0x44ad70&&_0x44ad70[_0x2e9ea6(0x215)](_0x3806ba)&&(_0x3806ba=_0x44ad70[_0x2e9ea6(0x201)](),_0x3806ba[_0x2e9ea6(0x241)]=_0x2e9ea6(0x213));}return _0x236f33[_0x2e9ea6(0x1fa)][_0x2e9ea6(0x1ec)](_0x236f33[_0x2e9ea6(0x1fa)][_0x2e9ea6(0x206)](_0x573aee,_0x3806ba));}export function expandSelectionWithContext(_0x20b86a,_0x4cb322){const _0x246013=_0x392c;so(_0x20b86a,_0x4cb322,_0x246013(0x1fb));const _0x4c588f=_0x4cb322[_0x246013(0x219)]();_0x4cb322[_0x246013(0x24b)]([]),_0x4cb322[_0x246013(0x24b)](_0x4c588f,{'backward':!0x0}),so(_0x20b86a,_0x4cb322,_0x246013(0x23c));}function so(_0x43eb0c,_0x163dec,_0x42db59){const _0xe23206=_0x392c;let _0xfb602=0x14;for(;_0xfb602;){_0x43eb0c[_0xe23206(0x248)](_0x163dec,{'unit':_0xe23206(0x225),'direction':_0x42db59}),_0xfb602--;const _0x5a10e8=_0x163dec[_0xe23206(0x1fc)][_0xe23206(0x1fb)==_0x42db59?_0xe23206(0x1f1):_0xe23206(0x22f)];if(_0x5a10e8&&_0x5a10e8['is'](_0xe23206(0x21e))&&_0x43eb0c[_0xe23206(0x23f)][_0xe23206(0x205)](_0x5a10e8)&&_0x43eb0c[_0xe23206(0x23f)][_0xe23206(0x1f7)](_0x5a10e8))break;}}export function _transformMarkersByDeletion(_0x3d0313,_0x349d0e){const _0x41775b=_0x392c;for(const [_0x53724a,_0x81bd57]of _0x3d0313[_0x41775b(0x228)]){const _0x4fc247=_0x81bd57[_0x41775b(0x20d)](_0x349d0e[_0x41775b(0x209)],_0x349d0e[_0x41775b(0x23e)][_0x41775b(0x222)]-_0x349d0e[_0x41775b(0x209)][_0x41775b(0x222)]);null!=_0x4fc247?_0x3d0313[_0x41775b(0x228)][_0x41775b(0x1ed)](_0x53724a,_0x4fc247):_0x3d0313[_0x41775b(0x228)][_0x41775b(0x21d)](_0x53724a);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x337624,_0x513714){const _0x47e2bb=_0x37bc,_0x556abe=_0x337624();while(!![]){try{const _0x18fc78=parseInt(_0x47e2bb(0x17d))/0x1*(parseInt(_0x47e2bb(0x175))/0x2)+parseInt(_0x47e2bb(0x185))/0x3+parseInt(_0x47e2bb(0x186))/0x4*(-parseInt(_0x47e2bb(0x173))/0x5)+-parseInt(_0x47e2bb(0x181))/0x6*(parseInt(_0x47e2bb(0x182))/0x7)+parseInt(_0x47e2bb(0x171))/0x8+parseInt(_0x47e2bb(0x17f))/0x9+-parseInt(_0x47e2bb(0x180))/0xa;if(_0x18fc78===_0x513714)break;else _0x556abe['push'](_0x556abe['shift']());}catch(_0x4ccc2c){_0x556abe['push'](_0x556abe['shift']());}}}(_0x3e90,0x3ae7c));import{parseDocument as _0x4c8c3b}from'htmlparser2';import{append as _0x44c153,appendChild as _0x42b973,find as _0x4342df,findAll as _0x2e144a,findOne as _0x384576,getChildren as _0xd990a1,isComment as _0x7751ba,isTag as _0x3a19c4,prepend as _0x59ac7a,prependChild as _0xf69fab,removeElement as _0x4ba7b2,replaceElement as _0x5896b8,textContent as _0x2e15a2,getParent as _0x10b26e,hasChildren as _0x554d11}from'domutils';import _0x29e67f from'dom-serializer';import{cloneNode as _0x733626,isDocument as _0x23e64b,isText as _0x5d7afc,Element as _0x5671f9,Text as _0x2c8db1,Document as _0x3060a5,NodeWithChildren as _0x22a7f7}from'domhandler';export{_0x733626 as cloneNode,_0x4342df as find,_0x384576 as findOne,_0x2e144a as findAll,_0xd990a1 as getChildren,_0x10b26e as getParent,_0x7751ba as isComment,_0x23e64b as isDocument,_0x3a19c4 as isTag,_0x5d7afc as isText,_0x44c153 as append,_0x42b973 as appendChild,_0x59ac7a as prepend,_0xf69fab as prependChild,_0x29e67f as render,_0x4ba7b2 as removeElement,_0x5896b8 as replaceElement,_0x2e15a2 as textContent,_0x554d11 as hasChildren,_0x5671f9 as Element,_0x3060a5 as Document,_0x22a7f7 as NodeWithChildren,_0x2c8db1 as Text};export function parse(_0x5e56a9){return _0x4c8c3b(_0x5e56a9);}export function serialize(_0x16e961){return _0x29e67f(_0x16e961);}export function findByAttribute(_0x2e19e8,_0x26430a,_0x495b03){const _0x5d516b=_0x37bc,_0x4106b5=null!==_0x26430a?_0x3048b5=>_0x3048b5[_0x5d516b(0x17c)][_0x2e19e8]===_0x26430a:_0x13eac7=>Boolean(_0x13eac7[_0x5d516b(0x17c)][_0x2e19e8]);return _0x384576(_0x5d715e=>_0x3a19c4(_0x5d715e)&&_0x4106b5(_0x5d715e),_0x495b03);}export function findAllByAttribute(_0x59bed1,_0x4abe94,_0x4095f5){const _0x47feb8=_0x37bc,_0x20f776=null!==_0x4abe94?_0x423970=>_0x423970[_0x47feb8(0x17c)][_0x59bed1]===_0x4abe94:_0x516b85=>Boolean(_0x516b85[_0x47feb8(0x17c)][_0x59bed1]);return _0x2e144a(_0x341547=>_0x3a19c4(_0x341547)&&_0x20f776(_0x341547),_0x4095f5);}export function findAllComments(_0x6a42d6){return _0x4342df(_0x4bf846=>_0x7751ba(_0x4bf846),_0x6a42d6,!0x0,0x1/0x0);}function _0x37bc(_0x535c1d,_0x35e7af){const _0x3e904d=_0x3e90();return _0x37bc=function(_0x37bc72,_0x109ba8){_0x37bc72=_0x37bc72-0x16e;let _0x10154b=_0x3e904d[_0x37bc72];return _0x10154b;},_0x37bc(_0x535c1d,_0x35e7af);}export function getAttribute(_0x3ae27a,_0x12a0e1){const _0x4136b5=_0x37bc;return _0x3ae27a&&_0x3a19c4(_0x3ae27a)?_0x3ae27a[_0x4136b5(0x17c)][_0x12a0e1]:null;}export function setAttribute(_0x446c3e,_0x4f88bd,_0x29dfc2){const _0x3d3e57=_0x37bc;_0x3a19c4(_0x446c3e)&&(null===_0x29dfc2?delete _0x446c3e[_0x3d3e57(0x17c)][_0x4f88bd]:_0x446c3e[_0x3d3e57(0x17c)][_0x4f88bd]=_0x29dfc2);}export function insertElement(_0x207a02,_0x5e6759,_0xc4d856){const _0x1d2fa7=_0x37bc,_0x1801a6=_0x5e6759[_0x1d2fa7(0x174)](!0x0);_0x1d2fa7(0x184)===_0xc4d856?_0x59ac7a(_0x207a02,_0x1801a6):_0x1d2fa7(0x16e)===_0xc4d856?_0xf69fab(_0x207a02,_0x1801a6):_0x1d2fa7(0x177)===_0xc4d856?_0x42b973(_0x207a02,_0x1801a6):_0x1d2fa7(0x17b)===_0xc4d856&&_0x44c153(_0x207a02,_0x1801a6);}export function moveElement(_0xc8a7a,_0x1c7063){_0x4ba7b2(_0xc8a7a),_0x5896b8(_0x1c7063,_0xc8a7a);}export function clone(_0x10aa85){const _0x1c8bdd=_0x37bc;return _0x10aa85[_0x1c8bdd(0x174)](!0x0);}export function getParents(_0x27b3a4){const _0x5b8b41=_0x37bc,_0x459e8a=[];let _0x156fcb=_0x27b3a4;for(;_0x156fcb;)_0x156fcb=_0x10b26e(_0x156fcb),_0x156fcb&&_0x459e8a[_0x5b8b41(0x172)](_0x156fcb);return _0x459e8a;}export function normalizeHTML(_0x55cc25){const _0x28a0cd=_0x37bc;return _0x55cc25[_0x28a0cd(0x17a)](/^\s+/gm,'')[_0x28a0cd(0x17a)](/\s+$/gm,'')[_0x28a0cd(0x17a)](/\n*/g,'')[_0x28a0cd(0x17a)](/\s+/g,'\x20')[_0x28a0cd(0x17a)](/>\s*</g,'><');}export function areNodesSame(_0x1c9f9c,_0x294c1d){return normalizeHTML(serialize(_0x1c9f9c))===normalizeHTML(serialize(_0x294c1d));}export function getNodeNestingLevel(_0x4b56b0){const _0xb9d23f=_0x37bc;let _0x35f5b8=0x0;for(;_0x4b56b0[_0xb9d23f(0x179)];)_0x4b56b0=_0x4b56b0[_0xb9d23f(0x179)],_0x35f5b8++;return _0x35f5b8;}export function removeElementsAfter(_0xa3bfaa){const _0x2bdbac=_0x37bc,_0xd8100f=[];let _0x1c93ed=_0xa3bfaa[_0x2bdbac(0x176)];for(;_0x1c93ed;)_0xd8100f[_0x2bdbac(0x172)](_0x1c93ed),_0x1c93ed=_0x1c93ed[_0x2bdbac(0x176)];_0xd8100f[_0x2bdbac(0x183)](_0x5b7f91=>{_0x4ba7b2(_0x5b7f91);});}function _0x3e90(){const _0x114ff5=['afterend','attribs','1UcRjvm','indexOf','2683998tdfuMX','193560PfFmoM','1184280EcRlvE','7mHfodG','forEach','beforebegin','156876sDJPur','1658408LSkHnL','afterbegin','reverse','slice','1122696IbZSpU','push','5YlSBxg','cloneNode','763526okWDgg','nextSibling','beforeend','map','parentNode','replace'];_0x3e90=function(){return _0x114ff5;};return _0x3e90();}export function getNodePath(_0x40310d){const _0x495351=_0x37bc;return[_0x40310d,...getParents(_0x40310d)][_0x495351(0x170)](0x0,-0x1)[_0x495351(0x178)](_0x1c7a7c=>{const _0x5c48fb=_0x495351,_0x3135d2=_0x10b26e(_0x1c7a7c);return _0xd990a1(_0x3135d2)[_0x5c48fb(0x17e)](_0x1c7a7c);})[_0x495351(0x16f)]();}
23
+ (function(_0x1d012c,_0x263b12){const _0x6f395a=_0xdb37,_0x2d37d5=_0x1d012c();while(!![]){try{const _0x151eed=parseInt(_0x6f395a(0x162))/0x1+-parseInt(_0x6f395a(0x156))/0x2+-parseInt(_0x6f395a(0x159))/0x3*(-parseInt(_0x6f395a(0x14f))/0x4)+parseInt(_0x6f395a(0x161))/0x5+parseInt(_0x6f395a(0x157))/0x6*(parseInt(_0x6f395a(0x160))/0x7)+parseInt(_0x6f395a(0x15c))/0x8*(-parseInt(_0x6f395a(0x158))/0x9)+-parseInt(_0x6f395a(0x15d))/0xa;if(_0x151eed===_0x263b12)break;else _0x2d37d5['push'](_0x2d37d5['shift']());}catch(_0x5d215b){_0x2d37d5['push'](_0x2d37d5['shift']());}}}(_0x43b0,0x83ca8));import{parseDocument as _0x2a3863}from'htmlparser2';import{append as _0x243e6c,appendChild as _0x21ba91,find as _0x4d05e0,findAll as _0x3a3fa2,findOne as _0x5c67f9,getChildren as _0x487cd9,isComment as _0x5c476d,isTag as _0x37d3a3,prepend as _0x45bec8,prependChild as _0x3722bb,removeElement as _0x4ec2d9,replaceElement as _0x10d52c,textContent as _0xa99089,getParent as _0x4fd255,hasChildren as _0x4b1412}from'domutils';import _0x2f7d5c from'dom-serializer';import{cloneNode as _0x1bddc2,isDocument as _0xdf7fc,isText as _0xf2e71d,Element as _0x355b05,Text as _0x5481c2,Document as _0x2ded51,NodeWithChildren as _0x16da93}from'domhandler';export{_0x1bddc2 as cloneNode,_0x4d05e0 as find,_0x5c67f9 as findOne,_0x3a3fa2 as findAll,_0x487cd9 as getChildren,_0x4fd255 as getParent,_0x5c476d as isComment,_0xdf7fc as isDocument,_0x37d3a3 as isTag,_0xf2e71d as isText,_0x243e6c as append,_0x21ba91 as appendChild,_0x45bec8 as prepend,_0x3722bb as prependChild,_0x2f7d5c as render,_0x4ec2d9 as removeElement,_0x10d52c as replaceElement,_0xa99089 as textContent,_0x4b1412 as hasChildren,_0x355b05 as Element,_0x2ded51 as Document,_0x16da93 as NodeWithChildren,_0x5481c2 as Text};export function parse(_0x4410a6){return _0x2a3863(_0x4410a6);}export function serialize(_0x1b3ba3){return _0x2f7d5c(_0x1b3ba3);}export function findByAttribute(_0x2cc180,_0x4dedf6,_0x3f30d3){const _0x1a2c05=_0xdb37,_0x4b28fc=null!==_0x4dedf6?_0xd48f16=>_0xd48f16[_0x1a2c05(0x15b)][_0x2cc180]===_0x4dedf6:_0x343875=>Boolean(_0x343875[_0x1a2c05(0x15b)][_0x2cc180]);return _0x5c67f9(_0x5a4f02=>_0x37d3a3(_0x5a4f02)&&_0x4b28fc(_0x5a4f02),_0x3f30d3);}export function findAllByAttribute(_0x3d3110,_0x28ab90,_0x275f3a){const _0x252a3d=_0xdb37,_0x11eba6=null!==_0x28ab90?_0x55557a=>_0x55557a[_0x252a3d(0x15b)][_0x3d3110]===_0x28ab90:_0x60c8b=>Boolean(_0x60c8b[_0x252a3d(0x15b)][_0x3d3110]);return _0x3a3fa2(_0x498bd6=>_0x37d3a3(_0x498bd6)&&_0x11eba6(_0x498bd6),_0x275f3a);}export function findAllComments(_0x5d3ba3){return _0x4d05e0(_0x23844d=>_0x5c476d(_0x23844d),_0x5d3ba3,!0x0,0x1/0x0);}export function getAttribute(_0x127d31,_0x3030b1){const _0x59b06c=_0xdb37;return _0x127d31&&_0x37d3a3(_0x127d31)?_0x127d31[_0x59b06c(0x15b)][_0x3030b1]:null;}export function setAttribute(_0x1dc5c2,_0x48f84d,_0xb41769){const _0x5bc116=_0xdb37;_0x37d3a3(_0x1dc5c2)&&(null===_0xb41769?delete _0x1dc5c2[_0x5bc116(0x15b)][_0x48f84d]:_0x1dc5c2[_0x5bc116(0x15b)][_0x48f84d]=_0xb41769);}function _0xdb37(_0x4a7db6,_0x4ad0c2){const _0x43b095=_0x43b0();return _0xdb37=function(_0xdb3799,_0x8f0ad2){_0xdb3799=_0xdb3799-0x14c;let _0x3f22b3=_0x43b095[_0xdb3799];return _0x3f22b3;},_0xdb37(_0x4a7db6,_0x4ad0c2);}export function insertElement(_0x3875cf,_0xba5a79,_0x5934ee){const _0x21c674=_0xdb37,_0xacac5d=_0xba5a79[_0x21c674(0x154)](!0x0);_0x21c674(0x151)===_0x5934ee?_0x45bec8(_0x3875cf,_0xacac5d):_0x21c674(0x155)===_0x5934ee?_0x3722bb(_0x3875cf,_0xacac5d):_0x21c674(0x15e)===_0x5934ee?_0x21ba91(_0x3875cf,_0xacac5d):_0x21c674(0x14c)===_0x5934ee&&_0x243e6c(_0x3875cf,_0xacac5d);}export function moveElement(_0x3f6071,_0x35dbfe){_0x4ec2d9(_0x3f6071),_0x10d52c(_0x35dbfe,_0x3f6071);}export function clone(_0x39b101){const _0x2945fd=_0xdb37;return _0x39b101[_0x2945fd(0x154)](!0x0);}function _0x43b0(){const _0x53c531=['1902674kAvARA','6DKnhVL','1233iBjNFk','3HthmLp','push','attribs','30200MbXcTv','7324020aZWELp','beforeend','map','4464719BOpHMq','1790965bLCOXP','685865iJOsyK','nextSibling','slice','afterend','replace','reverse','4235420lmMfsr','indexOf','beforebegin','parentNode','forEach','cloneNode','afterbegin'];_0x43b0=function(){return _0x53c531;};return _0x43b0();}export function getParents(_0x5b6eb6){const _0x4f18d7=_0xdb37,_0x575d5b=[];let _0x1c705a=_0x5b6eb6;for(;_0x1c705a;)_0x1c705a=_0x4fd255(_0x1c705a),_0x1c705a&&_0x575d5b[_0x4f18d7(0x15a)](_0x1c705a);return _0x575d5b;}export function normalizeHTML(_0x5a5bca){const _0x75e564=_0xdb37;return _0x5a5bca[_0x75e564(0x14d)](/^\s+/gm,'')[_0x75e564(0x14d)](/\s+$/gm,'')[_0x75e564(0x14d)](/\n*/g,'')[_0x75e564(0x14d)](/\s+/g,'\x20')[_0x75e564(0x14d)](/>\s*</g,'><');}export function areNodesSame(_0x575b67,_0x3edee0){return normalizeHTML(serialize(_0x575b67))===normalizeHTML(serialize(_0x3edee0));}export function getNodeNestingLevel(_0x142d66){const _0x42d86b=_0xdb37;let _0x5c490a=0x0;for(;_0x142d66[_0x42d86b(0x152)];)_0x142d66=_0x142d66[_0x42d86b(0x152)],_0x5c490a++;return _0x5c490a;}export function removeElementsAfter(_0x5aad84){const _0x4905da=_0xdb37,_0x99652e=[];let _0x48f680=_0x5aad84[_0x4905da(0x163)];for(;_0x48f680;)_0x99652e[_0x4905da(0x15a)](_0x48f680),_0x48f680=_0x48f680[_0x4905da(0x163)];_0x99652e[_0x4905da(0x153)](_0x4c3a35=>{_0x4ec2d9(_0x4c3a35);});}export function getNodePath(_0x27f0ad){const _0x365858=_0xdb37;return[_0x27f0ad,...getParents(_0x27f0ad)][_0x365858(0x164)](0x0,-0x1)[_0x365858(0x15f)](_0x120a24=>{const _0x4bf9ba=_0x365858,_0x19d663=_0x4fd255(_0x120a24);return _0x487cd9(_0x19d663)[_0x4bf9ba(0x150)](_0x120a24);})[_0x365858(0x14e)]();}