@ckeditor/ckeditor5-ai 47.0.0-alpha.3 → 47.0.0-alpha.4

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 (107) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +4 -4
  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/legacyerrors.js +1 -1
  15. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  16. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  17. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  18. package/src/aiassistant/ui/form/aiformview.js +1 -1
  19. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  20. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  21. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  22. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  23. package/src/aiballoon/aiballoon.js +1 -1
  24. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  25. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  26. package/src/aiballoon/ui/aiballoonview.js +1 -1
  27. package/src/aichat/aichat.js +1 -1
  28. package/src/aichat/aichatcontroller.js +1 -1
  29. package/src/aichat/aichatui.js +1 -1
  30. package/src/aichat/model/aichatcontext.js +1 -1
  31. package/src/aichat/model/aichatconversation.js +1 -1
  32. package/src/aichat/model/aichatinteraction.js +1 -1
  33. package/src/aichat/model/aichatmodels.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/aichatresourcelistitemview.js +1 -1
  46. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  48. package/src/aichat/ui/controls/resources/aichatresourcesview.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/aichatfeedreplyitemview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  55. package/src/aichat/utils/promisequeue.js +1 -1
  56. package/src/aichathistory/aichathistory.js +1 -1
  57. package/src/aichathistory/aichathistorycontroller.js +1 -1
  58. package/src/aichathistory/aichathistoryui.js +1 -1
  59. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  60. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  61. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  62. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  63. package/src/aicore/aiconnector.js +1 -1
  64. package/src/aicore/aiediting.js +1 -1
  65. package/src/aicore/model/aicapabilities.js +1 -1
  66. package/src/aicore/model/aiinteraction.js +1 -1
  67. package/src/aicore/model/aireply.js +1 -1
  68. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  69. package/src/aicore/ui/aidisclaimerview.js +1 -1
  70. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  71. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  72. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  73. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  74. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  75. package/src/aicore/utils/createresizebutton.js +1 -1
  76. package/src/aicore/utils/documentposition.js +1 -1
  77. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  78. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  79. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  80. package/src/aiquickactions/aiquickactions.js +1 -1
  81. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  82. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  83. package/src/aiquickactions/aiquickactionsui.js +1 -1
  84. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  85. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  86. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  87. package/src/aireviewmode/aireviewmode.js +1 -1
  88. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  89. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  90. package/src/aireviewmode/aireviewmodeui.js +1 -1
  91. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  92. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  93. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  94. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  95. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  96. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  97. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  98. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  99. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  100. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  101. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  102. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  103. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  104. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  105. package/src/aitabs/aitabs.js +1 -1
  106. package/src/aitabs/tabs/aitabsview.js +1 -1
  107. package/src/aitabs/tabs/tabbuttonview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xcaad(){const _0x454baa=['extendTemplate','3128785HcNTHn','AI_MINI_TOOLBAR_LIKE','565YkVxuo','ck-ai-mini-toolbar\x20ck-hidden','5418459RzYbJW','154sOtOQz','ck-ai-mini-toolbar-copy-button','ck-ai-mini-toolbar-copy-button__check-mark','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','_config','9430ZpuMYD','likeButton','showLike','isEnabled','like','dislikeButton','showCopy','3aLHSky','add','1176832mZDCmR','43704PQaUlh','_setupCopyButton','full','dislike','6621770wWiQeN','addMany','children','228312DyaZeN','showDislike','length','isLoading','copyButton','set','class','locale','bind','_setupRatingButtons','execute','AI_MINI_TOOLBAR_COPY','customView','toggleShowChanges','showChangesButton','showChanges','fire','ck-ai-mini-toolbar','items','AI_MINI_TOOLBAR_DISLIKE','AI_SUGGESTION_BUTTON_SHOW_CHANGES','239GrGDHP','_setupShowChangesButton','isOn'];_0xcaad=function(){return _0x454baa;};return _0xcaad();}function _0x9f33(_0x4841c6,_0x29ad3e){const _0xcaad53=_0xcaad();return _0x9f33=function(_0x9f331f,_0x1e2cc1){_0x9f331f=_0x9f331f-0x91;let _0xe08c09=_0xcaad53[_0x9f331f];return _0xe08c09;},_0x9f33(_0x4841c6,_0x29ad3e);}const _0x372a34=_0x9f33;(function(_0x12c115,_0x2e0138){const _0x9d70b2=_0x9f33,_0x535942=_0x12c115();while(!![]){try{const _0x34dd6f=-parseInt(_0x9d70b2(0xb1))/0x1*(-parseInt(_0x9d70b2(0xbf))/0x2)+parseInt(_0x9d70b2(0x92))/0x3*(parseInt(_0x9d70b2(0x94))/0x4)+parseInt(_0x9d70b2(0xb7))/0x5*(-parseInt(_0x9d70b2(0x95))/0x6)+-parseInt(_0x9d70b2(0xba))/0x7*(-parseInt(_0x9d70b2(0x9c))/0x8)+parseInt(_0x9d70b2(0xb9))/0x9+-parseInt(_0x9d70b2(0x99))/0xa+-parseInt(_0x9d70b2(0xb5))/0xb;if(_0x34dd6f===_0x2e0138)break;else _0x535942['push'](_0x535942['shift']());}catch(_0x1f1e62){_0x535942['push'](_0x535942['shift']());}}}(_0xcaad,0xd7292));import{ButtonView as _0x28cc33,IconView as _0x57e97e,ToolbarView as _0x2f60d6}from'ckeditor5/src/ui.js';import{IconCheck as _0x3a0e92,IconCopy as _0x5f3186,IconShowChangesOff as _0xb27776,IconShowChangesOn as _0xb47f5d,IconThumbDown as _0x3de390,IconThumbUp as _0x719494}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x5949b1}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x2f60d6{[_0x372a34(0xa0)];[_0x372a34(0xc0)];[_0x372a34(0xc4)];[_0x372a34(0xaa)];[_0x372a34(0xbe)];constructor(_0x26cafd,_0x1687c3={},_0x41c3ab){const _0xe02226=_0x372a34;super(_0x26cafd),this[_0xe02226(0xa1)](_0xe02226(0x9f),!0x1),this[_0xe02226(0xbe)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x1687c3};const _0x2f98d9=!(this[_0xe02226(0xbe)][_0xe02226(0x91)]||this[_0xe02226(0xbe)][_0xe02226(0xab)]||this[_0xe02226(0xbe)][_0xe02226(0xc1)]||this[_0xe02226(0xbe)][_0xe02226(0x9d)]||this[_0xe02226(0xbe)][_0xe02226(0xa8)]?.[_0xe02226(0x9e)]);this[_0xe02226(0xa2)]=_0x2f98d9?_0xe02226(0xb8):_0xe02226(0xad),this[_0xe02226(0xbe)][_0xe02226(0x91)]&&(this[_0xe02226(0x96)](),this[_0xe02226(0xae)][_0xe02226(0x93)](this[_0xe02226(0xa0)])),this[_0xe02226(0xbe)][_0xe02226(0xab)]&&(this[_0xe02226(0xb2)](_0x41c3ab),this[_0xe02226(0xae)][_0xe02226(0x93)](this[_0xe02226(0xaa)])),this[_0xe02226(0xa5)](),this[_0xe02226(0xbe)][_0xe02226(0xc1)]&&this[_0xe02226(0xae)][_0xe02226(0x93)](this[_0xe02226(0xc0)]),this[_0xe02226(0xbe)][_0xe02226(0x9d)]&&this[_0xe02226(0xae)][_0xe02226(0x93)](this[_0xe02226(0xc4)]),this[_0xe02226(0xbe)][_0xe02226(0xa8)]&&this[_0xe02226(0xae)][_0xe02226(0x9a)](this[_0xe02226(0xbe)][_0xe02226(0xa8)]);}[_0x372a34(0xa5)](){const _0x2a2f80=_0x372a34;this[_0x2a2f80(0xc0)]=new _0x28cc33(this[_0x2a2f80(0xa3)]),this[_0x2a2f80(0xc0)][_0x2a2f80(0xa1)]({'icon':_0x719494,'label':_0x5949b1(this[_0x2a2f80(0xa3)],_0x2a2f80(0xb6)),'tooltip':!0x0}),this[_0x2a2f80(0xc0)][_0x2a2f80(0xa4)](_0x2a2f80(0xc2))['to'](this,_0x2a2f80(0x9f),_0x4c6a7e=>!_0x4c6a7e),this[_0x2a2f80(0xc0)]['on'](_0x2a2f80(0xa6),()=>{const _0x1dd6e0=_0x2a2f80;this[_0x1dd6e0(0xac)](_0x1dd6e0(0xc3));}),this[_0x2a2f80(0xc4)]=new _0x28cc33(this[_0x2a2f80(0xa3)]),this[_0x2a2f80(0xc4)][_0x2a2f80(0xa1)]({'icon':_0x3de390,'label':_0x5949b1(this[_0x2a2f80(0xa3)],_0x2a2f80(0xaf)),'tooltip':!0x0}),this[_0x2a2f80(0xc4)][_0x2a2f80(0xa4)](_0x2a2f80(0xc2))['to'](this,_0x2a2f80(0x9f),_0xb5249a=>!_0xb5249a),this[_0x2a2f80(0xc4)]['on'](_0x2a2f80(0xa6),()=>{const _0x5708c4=_0x2a2f80;this[_0x5708c4(0xac)](_0x5708c4(0x98));});}[_0x372a34(0x96)](){const _0x1bb91a=_0x372a34;this[_0x1bb91a(0xa0)]=new _0x28cc33(this[_0x1bb91a(0xa3)]),this[_0x1bb91a(0xa0)][_0x1bb91a(0xa1)]({'icon':_0x5f3186,'label':_0x5949b1(this[_0x1bb91a(0xa3)],_0x1bb91a(0xa7)),'class':_0x1bb91a(0xbb),'tooltip':!0x0}),this[_0x1bb91a(0xa0)][_0x1bb91a(0xa4)](_0x1bb91a(0xc2))['to'](this,_0x1bb91a(0x9f),_0x59d81c=>!_0x59d81c);const _0x3e15a2=new _0x57e97e();_0x3e15a2[_0x1bb91a(0xa1)]({'content':_0x3a0e92}),_0x3e15a2[_0x1bb91a(0xb4)]({'attributes':{'class':[_0x1bb91a(0xbc)]}}),this[_0x1bb91a(0xa0)]['on'](_0x1bb91a(0xa6),()=>{const _0x334e9a=_0x1bb91a;this[_0x334e9a(0xa0)][_0x334e9a(0xa2)]=_0x334e9a(0xbd),setTimeout(()=>{const _0x4ef525=_0x334e9a;this[_0x4ef525(0xa0)][_0x4ef525(0xa2)]=_0x4ef525(0xbb);},0x7d0);}),this[_0x1bb91a(0xa0)][_0x1bb91a(0x9b)][_0x1bb91a(0x93)](_0x3e15a2);}[_0x372a34(0xb2)](_0x3a19a6){const _0xf6c090=_0x372a34;this[_0xf6c090(0xaa)]=new _0x28cc33(this[_0xf6c090(0xa3)]),this[_0xf6c090(0xaa)][_0xf6c090(0xa1)]({'icon':_0xb27776,'label':_0x5949b1(this[_0xf6c090(0xa3)],_0xf6c090(0xb0)),'withText':_0xf6c090(0x97)==this[_0xf6c090(0xbe)][_0xf6c090(0xab)],'isOn':_0x3a19a6}),this[_0xf6c090(0xaa)][_0xf6c090(0xa4)](_0xf6c090(0xc2))['to'](this,_0xf6c090(0x9f),_0x3676b3=>!_0x3676b3),this[_0xf6c090(0xaa)]['on'](_0xf6c090(0xa6),()=>{const _0x3a5746=_0xf6c090,_0x394556=!this[_0x3a5746(0xaa)][_0x3a5746(0xb3)];this[_0x3a5746(0xaa)][_0x3a5746(0xa1)]({'isOn':_0x394556,'icon':_0x394556?_0xb47f5d:_0xb27776}),this[_0x3a5746(0xac)](_0x3a5746(0xa9),_0x394556);});}}
23
+ const _0x1b7c33=_0x3894;(function(_0x11f3ce,_0x5ddaf0){const _0xbd4737=_0x3894,_0x328db4=_0x11f3ce();while(!![]){try{const _0x4877fa=parseInt(_0xbd4737(0x1f4))/0x1*(parseInt(_0xbd4737(0x1e9))/0x2)+-parseInt(_0xbd4737(0x1d5))/0x3+parseInt(_0xbd4737(0x1ee))/0x4+-parseInt(_0xbd4737(0x1e5))/0x5*(-parseInt(_0xbd4737(0x1e0))/0x6)+-parseInt(_0xbd4737(0x1ef))/0x7*(-parseInt(_0xbd4737(0x1d8))/0x8)+parseInt(_0xbd4737(0x1e1))/0x9+-parseInt(_0xbd4737(0x1e7))/0xa;if(_0x4877fa===_0x5ddaf0)break;else _0x328db4['push'](_0x328db4['shift']());}catch(_0x436e4c){_0x328db4['push'](_0x328db4['shift']());}}}(_0x3104,0x18d33));import{ButtonView as _0x13c90d,IconView as _0x4bc01e,ToolbarView as _0x13f8be}from'ckeditor5/src/ui.js';function _0x3104(){const _0x3e87e0=['ck-ai-mini-toolbar','285236ECVVPP','7QstXdC','ck-ai-mini-toolbar\x20ck-hidden','length','isLoading','likeButton','7853lKsomV','like','showCopy','add','toggleShowChanges','class','isEnabled','AI_MINI_TOOLBAR_DISLIKE','fire','_config','execute','copyButton','showLike','showChangesButton','set','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','dislike','_setupRatingButtons','bind','customView','526590yRvMCx','_setupCopyButton','_setupShowChangesButton','94408xZcUSy','locale','extendTemplate','children','full','addMany','ck-ai-mini-toolbar-copy-button__check-mark','AI_MINI_TOOLBAR_COPY','18174PKZWwS','943308PHJEfR','dislikeButton','AI_MINI_TOOLBAR_LIKE','showDislike','105NAAudI','AI_SUGGESTION_BUTTON_SHOW_CHANGES','1706430OJsNWD','items','50kOcqSS','isOn','showChanges','ck-ai-mini-toolbar-copy-button'];_0x3104=function(){return _0x3e87e0;};return _0x3104();}import{IconCheck as _0x478051,IconCopy as _0x2054c4,IconShowChangesOff as _0x123c5f,IconShowChangesOn as _0x5e4153,IconThumbDown as _0xddc797,IconThumbUp as _0x2174f5}from'@ckeditor/ckeditor5-icons';function _0x3894(_0x23370e,_0x25b425){const _0x3104ff=_0x3104();return _0x3894=function(_0x3894f4,_0x366848){_0x3894f4=_0x3894f4-0x1c7;let _0x5a6342=_0x3104ff[_0x3894f4];return _0x5a6342;},_0x3894(_0x23370e,_0x25b425);}import{getTranslation as _0x2e4699}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x13f8be{[_0x1b7c33(0x1cc)];[_0x1b7c33(0x1f3)];[_0x1b7c33(0x1e2)];[_0x1b7c33(0x1ce)];[_0x1b7c33(0x1ca)];constructor(_0x481923,_0x42f9f1={},_0x4a12f3){const _0x1fef9d=_0x1b7c33;super(_0x481923),this[_0x1fef9d(0x1cf)](_0x1fef9d(0x1f2),!0x1),this[_0x1fef9d(0x1ca)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x42f9f1};const _0xd09b64=!(this[_0x1fef9d(0x1ca)][_0x1fef9d(0x1f6)]||this[_0x1fef9d(0x1ca)][_0x1fef9d(0x1eb)]||this[_0x1fef9d(0x1ca)][_0x1fef9d(0x1cd)]||this[_0x1fef9d(0x1ca)][_0x1fef9d(0x1e4)]||this[_0x1fef9d(0x1ca)][_0x1fef9d(0x1d4)]?.[_0x1fef9d(0x1f1)]);this[_0x1fef9d(0x1f9)]=_0xd09b64?_0x1fef9d(0x1f0):_0x1fef9d(0x1ed),this[_0x1fef9d(0x1ca)][_0x1fef9d(0x1f6)]&&(this[_0x1fef9d(0x1d6)](),this[_0x1fef9d(0x1e8)][_0x1fef9d(0x1f7)](this[_0x1fef9d(0x1cc)])),this[_0x1fef9d(0x1ca)][_0x1fef9d(0x1eb)]&&(this[_0x1fef9d(0x1d7)](_0x4a12f3),this[_0x1fef9d(0x1e8)][_0x1fef9d(0x1f7)](this[_0x1fef9d(0x1ce)])),this[_0x1fef9d(0x1d2)](),this[_0x1fef9d(0x1ca)][_0x1fef9d(0x1cd)]&&this[_0x1fef9d(0x1e8)][_0x1fef9d(0x1f7)](this[_0x1fef9d(0x1f3)]),this[_0x1fef9d(0x1ca)][_0x1fef9d(0x1e4)]&&this[_0x1fef9d(0x1e8)][_0x1fef9d(0x1f7)](this[_0x1fef9d(0x1e2)]),this[_0x1fef9d(0x1ca)][_0x1fef9d(0x1d4)]&&this[_0x1fef9d(0x1e8)][_0x1fef9d(0x1dd)](this[_0x1fef9d(0x1ca)][_0x1fef9d(0x1d4)]);}[_0x1b7c33(0x1d2)](){const _0x373d1d=_0x1b7c33;this[_0x373d1d(0x1f3)]=new _0x13c90d(this[_0x373d1d(0x1d9)]),this[_0x373d1d(0x1f3)][_0x373d1d(0x1cf)]({'icon':_0x2174f5,'label':_0x2e4699(this[_0x373d1d(0x1d9)],_0x373d1d(0x1e3)),'tooltip':!0x0}),this[_0x373d1d(0x1f3)][_0x373d1d(0x1d3)](_0x373d1d(0x1c7))['to'](this,_0x373d1d(0x1f2),_0x5f1ca0=>!_0x5f1ca0),this[_0x373d1d(0x1f3)]['on'](_0x373d1d(0x1cb),()=>{const _0x5036a0=_0x373d1d;this[_0x5036a0(0x1c9)](_0x5036a0(0x1f5));}),this[_0x373d1d(0x1e2)]=new _0x13c90d(this[_0x373d1d(0x1d9)]),this[_0x373d1d(0x1e2)][_0x373d1d(0x1cf)]({'icon':_0xddc797,'label':_0x2e4699(this[_0x373d1d(0x1d9)],_0x373d1d(0x1c8)),'tooltip':!0x0}),this[_0x373d1d(0x1e2)][_0x373d1d(0x1d3)](_0x373d1d(0x1c7))['to'](this,_0x373d1d(0x1f2),_0x10ddfd=>!_0x10ddfd),this[_0x373d1d(0x1e2)]['on'](_0x373d1d(0x1cb),()=>{const _0x56aea8=_0x373d1d;this[_0x56aea8(0x1c9)](_0x56aea8(0x1d1));});}[_0x1b7c33(0x1d6)](){const _0x1ff6b3=_0x1b7c33;this[_0x1ff6b3(0x1cc)]=new _0x13c90d(this[_0x1ff6b3(0x1d9)]),this[_0x1ff6b3(0x1cc)][_0x1ff6b3(0x1cf)]({'icon':_0x2054c4,'label':_0x2e4699(this[_0x1ff6b3(0x1d9)],_0x1ff6b3(0x1df)),'class':_0x1ff6b3(0x1ec),'tooltip':!0x0}),this[_0x1ff6b3(0x1cc)][_0x1ff6b3(0x1d3)](_0x1ff6b3(0x1c7))['to'](this,_0x1ff6b3(0x1f2),_0x551289=>!_0x551289);const _0x321740=new _0x4bc01e();_0x321740[_0x1ff6b3(0x1cf)]({'content':_0x478051}),_0x321740[_0x1ff6b3(0x1da)]({'attributes':{'class':[_0x1ff6b3(0x1de)]}}),this[_0x1ff6b3(0x1cc)]['on'](_0x1ff6b3(0x1cb),()=>{const _0x2b9440=_0x1ff6b3;this[_0x2b9440(0x1cc)][_0x2b9440(0x1f9)]=_0x2b9440(0x1d0),setTimeout(()=>{const _0x8fa5de=_0x2b9440;this[_0x8fa5de(0x1cc)][_0x8fa5de(0x1f9)]=_0x8fa5de(0x1ec);},0x7d0);}),this[_0x1ff6b3(0x1cc)][_0x1ff6b3(0x1db)][_0x1ff6b3(0x1f7)](_0x321740);}[_0x1b7c33(0x1d7)](_0xb84ca0){const _0x1a8d74=_0x1b7c33;this[_0x1a8d74(0x1ce)]=new _0x13c90d(this[_0x1a8d74(0x1d9)]),this[_0x1a8d74(0x1ce)][_0x1a8d74(0x1cf)]({'icon':_0x123c5f,'label':_0x2e4699(this[_0x1a8d74(0x1d9)],_0x1a8d74(0x1e6)),'withText':_0x1a8d74(0x1dc)==this[_0x1a8d74(0x1ca)][_0x1a8d74(0x1eb)],'isOn':_0xb84ca0}),this[_0x1a8d74(0x1ce)][_0x1a8d74(0x1d3)](_0x1a8d74(0x1c7))['to'](this,_0x1a8d74(0x1f2),_0x4e69ae=>!_0x4e69ae),this[_0x1a8d74(0x1ce)]['on'](_0x1a8d74(0x1cb),()=>{const _0x21d9b9=_0x1a8d74,_0x98d2ab=!this[_0x21d9b9(0x1ce)][_0x21d9b9(0x1ea)];this[_0x21d9b9(0x1ce)][_0x21d9b9(0x1cf)]({'isOn':_0x98d2ab,'icon':_0x98d2ab?_0x5e4153:_0x123c5f}),this[_0x21d9b9(0x1c9)](_0x21d9b9(0x1f8),_0x98d2ab);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4f06(){const _0x173166=['_children','some','2264983iNGDQL','9FIwUbT','div','ck-reset_all-excluded','hasPendingParts','warning','hasChanges','ck-content','enqueue','partDefinition','queueEmptyPromise','empty-parts-warning','locale','_showUnchangedParts','1940075PjvfVO','abort','ck-ai-suggestion__body__content-parts','toggleHeader','4FMMCYg','add','1178889PkdGoe','length','getPartView','state','find','isVisible','partsCount','ck-ai-suggestion__body','setContent','from','_emptyPartsWarningView','addEventListener','set','AI_SUGGESTION_NO_PARTS_WARNING','updatePartState','_updateContentPartsPromiseQueue','get','1121202eQQGEO','index','1765470dQZlHn','delegate','AI_SUGGESTION_EMPTY_PART_WARNING','8PvboPu','first','_areActionsDisabled','updateContentParts','2489740WtHSPo','1mcUBYh','markAsDone','222962xLhRvi','updateContent','setTemplate','createCollection','pending','hasNonEmptyParts'];_0x4f06=function(){return _0x173166;};return _0x4f06();}const _0x2569dd=_0x2340;(function(_0x1ad79c,_0xa66fee){const _0x18f04e=_0x2340,_0x39111c=_0x1ad79c();while(!![]){try{const _0x5c32ab=-parseInt(_0x18f04e(0x94))/0x1*(-parseInt(_0x18f04e(0x96))/0x2)+parseInt(_0x18f04e(0xb2))/0x3*(parseInt(_0x18f04e(0xb0))/0x4)+parseInt(_0x18f04e(0xac))/0x5+-parseInt(_0x18f04e(0x8a))/0x6+-parseInt(_0x18f04e(0x9e))/0x7*(parseInt(_0x18f04e(0x8f))/0x8)+parseInt(_0x18f04e(0x9f))/0x9*(parseInt(_0x18f04e(0x8c))/0xa)+-parseInt(_0x18f04e(0x93))/0xb;if(_0x5c32ab===_0xa66fee)break;else _0x39111c['push'](_0x39111c['shift']());}catch(_0x13196e){_0x39111c['push'](_0x39111c['shift']());}}}(_0x4f06,0x511c6));import{View as _0x2c681f}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x2718d3}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x1ec748}from'../../utils/eventnames.js';import{PromiseQueue as _0x3903e7}from'../../../aichat/utils/promisequeue.js';function _0x2340(_0x102b1b,_0x4d1d09){const _0x4f06fb=_0x4f06();return _0x2340=function(_0x23400c,_0x2355b5){_0x23400c=_0x23400c-0x7b;let _0x3f84e8=_0x4f06fb[_0x23400c];return _0x3f84e8;},_0x2340(_0x102b1b,_0x4d1d09);}import{AIChatFeedErrorItemView as _0x505f38}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x1fa0f1}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x2c681f{[_0x2569dd(0x9c)];[_0x2569dd(0x91)];[_0x2569dd(0xab)];[_0x2569dd(0x88)];[_0x2569dd(0x83)];constructor(_0xb4c910,{areActionsDisabled:_0x4aa589,showUnchangedParts:_0x26bbcd}){const _0x44c83b=_0x2569dd;super(_0xb4c910),this[_0x44c83b(0x91)]=_0x4aa589,this[_0x44c83b(0xab)]=_0x26bbcd,this[_0x44c83b(0x85)](_0x44c83b(0xa2),!0x1),this[_0x44c83b(0x9c)]=this[_0x44c83b(0x99)](),this[_0x44c83b(0x88)]=new _0x3903e7(),this[_0x44c83b(0x83)]=new _0x505f38({'id':_0x44c83b(0xa9),'initialContent':_0x1fa0f1(_0xb4c910,_0x44c83b(0x8e)),'level':_0x44c83b(0xa3)}),this[_0x44c83b(0x83)][_0x44c83b(0x7e)]=!0x1,this[_0x44c83b(0x98)]({'tag':_0x44c83b(0xa0),'attributes':{'class':['ck',_0x44c83b(0xa1),_0x44c83b(0x80),_0x44c83b(0xa5)]},'children':[{'tag':_0x44c83b(0xa0),'attributes':{'class':['ck',_0x44c83b(0xae)]},'children':this[_0x44c83b(0x9c)]},this[_0x44c83b(0x83)]]});}get[_0x2569dd(0x7f)](){const _0x580648=_0x2569dd;return this[_0x580648(0x9c)][_0x580648(0xb3)];}async[_0x2569dd(0x92)]({parts:_0x1b3430,renderingStrategy:_0x6c0801,abortSignal:_0x4d4a93}){const _0x298a85=_0x2569dd;for(const _0xb2c26e of _0x1b3430)this[_0x298a85(0x88)][_0x298a85(0xa6)](async _0x3cf048=>{const _0x1660dc=_0x298a85;let _0x297dbb=this[_0x1660dc(0x9c)][_0x1660dc(0x7d)](_0x5de90b=>_0x5de90b[_0x1660dc(0xa7)][_0x1660dc(0x8b)]==_0xb2c26e[_0x1660dc(0x8b)]);_0x297dbb||(_0x297dbb=new _0x2718d3(this[_0x1660dc(0xaa)],{'part':_0xb2c26e,'areActionsDisabled':this[_0x1660dc(0x91)]}),_0x297dbb[_0x1660dc(0x8d)](..._0x1ec748)['to'](this),this[_0x1660dc(0x9c)][_0x1660dc(0xb1)](_0x297dbb),this[_0x1660dc(0xa2)]=!0x0),0x2===this[_0x1660dc(0x9c)][_0x1660dc(0xb3)]&&this[_0x1660dc(0x9c)][_0x1660dc(0x90)][_0x1660dc(0xaf)](!0x0),_0x297dbb[_0x1660dc(0xaf)](this[_0x1660dc(0x9c)][_0x1660dc(0xb3)]>0x1),await _0x297dbb[_0x1660dc(0x97)]({'part':_0xb2c26e,'renderingStrategy':_0x6c0801,'showUnchangedParts':this[_0x1660dc(0xab)],'abortSignal':_0x3cf048});});return _0x4d4a93?.[_0x298a85(0x84)](_0x298a85(0xad),()=>{const _0x6cac00=_0x298a85;this[_0x6cac00(0x88)][_0x6cac00(0xad)]();}),this[_0x298a85(0x88)][_0x298a85(0xa8)];}[_0x2569dd(0x87)](_0x4b362f,_0xfbb04){const _0x95a6e9=_0x2569dd;this[_0x95a6e9(0x9c)][_0x95a6e9(0x89)](_0x4b362f)[_0x95a6e9(0x7c)]=_0xfbb04,this[_0x95a6e9(0xa2)]=_0x95a6e9(0x9a)==_0xfbb04||Array[_0x95a6e9(0x82)](this[_0x95a6e9(0x9c)])[_0x95a6e9(0x9d)](_0x39a1ed=>_0x95a6e9(0x9a)==_0x39a1ed[_0x95a6e9(0x7c)]);}[_0x2569dd(0x7b)](_0x1e6b71){const _0x4831c2=_0x2569dd;return this[_0x4831c2(0x9c)][_0x4831c2(0x89)](_0x1e6b71);}[_0x2569dd(0x95)](){const _0x4e0f6f=_0x2569dd;if(!this[_0x4e0f6f(0xab)]){const _0xe3401e=!this[_0x4e0f6f(0x9c)][_0x4e0f6f(0x7d)](_0x59347f=>_0x59347f[_0x4e0f6f(0xa7)][_0x4e0f6f(0xa4)]),_0x41770e=!!this[_0x4e0f6f(0x9c)][_0x4e0f6f(0x7d)](_0x3d584f=>!_0x3d584f[_0x4e0f6f(0xa7)][_0x4e0f6f(0xa4)]);this[_0x4e0f6f(0x83)][_0x4e0f6f(0x7e)]=_0x41770e,_0xe3401e?this[_0x4e0f6f(0x83)][_0x4e0f6f(0x81)](_0x1fa0f1(this[_0x4e0f6f(0xaa)],_0x4e0f6f(0x86))):this[_0x4e0f6f(0x83)][_0x4e0f6f(0x81)](_0x1fa0f1(this[_0x4e0f6f(0xaa)],_0x4e0f6f(0x8e)));}}get[_0x2569dd(0x9b)](){const _0x5e4478=_0x2569dd;return!!this[_0x5e4478(0x9c)][_0x5e4478(0x7d)](_0x4f7b69=>_0x4f7b69[_0x5e4478(0xa7)][_0x5e4478(0xa4)]);}}
23
+ const _0x7979a6=_0x7b16;(function(_0x3cdea2,_0x5601d3){const _0x5eaa72=_0x7b16,_0x452d12=_0x3cdea2();while(!![]){try{const _0x403ae9=-parseInt(_0x5eaa72(0x18b))/0x1*(parseInt(_0x5eaa72(0x166))/0x2)+-parseInt(_0x5eaa72(0x195))/0x3+-parseInt(_0x5eaa72(0x17c))/0x4+-parseInt(_0x5eaa72(0x17a))/0x5+-parseInt(_0x5eaa72(0x168))/0x6+parseInt(_0x5eaa72(0x16d))/0x7*(-parseInt(_0x5eaa72(0x19a))/0x8)+parseInt(_0x5eaa72(0x174))/0x9;if(_0x403ae9===_0x5601d3)break;else _0x452d12['push'](_0x452d12['shift']());}catch(_0xc512f4){_0x452d12['push'](_0x452d12['shift']());}}}(_0x10a2,0x52fbf));function _0x7b16(_0x413b30,_0x241d64){const _0x10a235=_0x10a2();return _0x7b16=function(_0x7b1615,_0x1f0305){_0x7b1615=_0x7b1615-0x165;let _0xd35a06=_0x10a235[_0x7b1615];return _0xd35a06;},_0x7b16(_0x413b30,_0x241d64);}function _0x10a2(){const _0x12afaa=['partsCount','_emptyPartsWarningView','addEventListener','ck-content','_areActionsDisabled','empty-parts-warning','15039954LqlOlx','find','first','length','locale','pending','2107695DrECqM','partDefinition','274052dYxRIv','toggleHeader','add','abort','_showUnchangedParts','set','some','getPartView','updatePartState','setTemplate','queueEmptyPromise','isVisible','updateContent','hasPendingParts','get','34942uDYGuf','_updateContentPartsPromiseQueue','state','enqueue','ck-ai-suggestion__body','hasChanges','ck-ai-suggestion__body__content-parts','AI_SUGGESTION_NO_PARTS_WARNING','div','ck-reset_all-excluded','804699jYpljv','AI_SUGGESTION_EMPTY_PART_WARNING','_children','index','delegate','36656qaNEgC','from','updateContentParts','2htcbqJ','markAsDone','148752xjbjWl','setContent','warning','createCollection','hasNonEmptyParts','784CBqnEq'];_0x10a2=function(){return _0x12afaa;};return _0x10a2();}import{View as _0x3090a1}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x178cee}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x30bccd}from'../../utils/eventnames.js';import{PromiseQueue as _0x60b466}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x3ec357}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x2d9db5}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x3090a1{[_0x7979a6(0x197)];[_0x7979a6(0x172)];[_0x7979a6(0x180)];[_0x7979a6(0x18c)];[_0x7979a6(0x16f)];constructor(_0x16df7c,{areActionsDisabled:_0x4842d5,showUnchangedParts:_0xa4c906}){const _0x36b089=_0x7979a6;super(_0x16df7c),this[_0x36b089(0x172)]=_0x4842d5,this[_0x36b089(0x180)]=_0xa4c906,this[_0x36b089(0x181)](_0x36b089(0x189),!0x1),this[_0x36b089(0x197)]=this[_0x36b089(0x16b)](),this[_0x36b089(0x18c)]=new _0x60b466(),this[_0x36b089(0x16f)]=new _0x3ec357({'id':_0x36b089(0x173),'initialContent':_0x2d9db5(_0x16df7c,_0x36b089(0x196)),'level':_0x36b089(0x16a)}),this[_0x36b089(0x16f)][_0x36b089(0x187)]=!0x1,this[_0x36b089(0x185)]({'tag':_0x36b089(0x193),'attributes':{'class':['ck',_0x36b089(0x194),_0x36b089(0x18f),_0x36b089(0x171)]},'children':[{'tag':_0x36b089(0x193),'attributes':{'class':['ck',_0x36b089(0x191)]},'children':this[_0x36b089(0x197)]},this[_0x36b089(0x16f)]]});}get[_0x7979a6(0x16e)](){const _0x11654d=_0x7979a6;return this[_0x11654d(0x197)][_0x11654d(0x177)];}async[_0x7979a6(0x165)]({parts:_0x3229d2,renderingStrategy:_0x471b0f,abortSignal:_0x58fb29}){const _0xf04187=_0x7979a6;for(const _0x5a0430 of _0x3229d2)this[_0xf04187(0x18c)][_0xf04187(0x18e)](async _0x2eb066=>{const _0x4b7437=_0xf04187;let _0x136853=this[_0x4b7437(0x197)][_0x4b7437(0x175)](_0xbf8f58=>_0xbf8f58[_0x4b7437(0x17b)][_0x4b7437(0x198)]==_0x5a0430[_0x4b7437(0x198)]);_0x136853||(_0x136853=new _0x178cee(this[_0x4b7437(0x178)],{'part':_0x5a0430,'areActionsDisabled':this[_0x4b7437(0x172)]}),_0x136853[_0x4b7437(0x199)](..._0x30bccd)['to'](this),this[_0x4b7437(0x197)][_0x4b7437(0x17e)](_0x136853),this[_0x4b7437(0x189)]=!0x0),0x2===this[_0x4b7437(0x197)][_0x4b7437(0x177)]&&this[_0x4b7437(0x197)][_0x4b7437(0x176)][_0x4b7437(0x17d)](!0x0),_0x136853[_0x4b7437(0x17d)](this[_0x4b7437(0x197)][_0x4b7437(0x177)]>0x1),await _0x136853[_0x4b7437(0x188)]({'part':_0x5a0430,'renderingStrategy':_0x471b0f,'showUnchangedParts':this[_0x4b7437(0x180)],'abortSignal':_0x2eb066});});return _0x58fb29?.[_0xf04187(0x170)](_0xf04187(0x17f),()=>{const _0x5bd993=_0xf04187;this[_0x5bd993(0x18c)][_0x5bd993(0x17f)]();}),this[_0xf04187(0x18c)][_0xf04187(0x186)];}[_0x7979a6(0x184)](_0x162214,_0x1892ae){const _0x170e67=_0x7979a6;this[_0x170e67(0x197)][_0x170e67(0x18a)](_0x162214)[_0x170e67(0x18d)]=_0x1892ae,this[_0x170e67(0x189)]=_0x170e67(0x179)==_0x1892ae||Array[_0x170e67(0x19b)](this[_0x170e67(0x197)])[_0x170e67(0x182)](_0x20629c=>_0x170e67(0x179)==_0x20629c[_0x170e67(0x18d)]);}[_0x7979a6(0x183)](_0x5f43b4){const _0x6e104a=_0x7979a6;return this[_0x6e104a(0x197)][_0x6e104a(0x18a)](_0x5f43b4);}[_0x7979a6(0x167)](){const _0x22e910=_0x7979a6;if(!this[_0x22e910(0x180)]){const _0x1a6c04=!this[_0x22e910(0x197)][_0x22e910(0x175)](_0x5ee2ce=>_0x5ee2ce[_0x22e910(0x17b)][_0x22e910(0x190)]),_0x243ae3=!!this[_0x22e910(0x197)][_0x22e910(0x175)](_0x25dc37=>!_0x25dc37[_0x22e910(0x17b)][_0x22e910(0x190)]);this[_0x22e910(0x16f)][_0x22e910(0x187)]=_0x243ae3,_0x1a6c04?this[_0x22e910(0x16f)][_0x22e910(0x169)](_0x2d9db5(this[_0x22e910(0x178)],_0x22e910(0x192))):this[_0x22e910(0x16f)][_0x22e910(0x169)](_0x2d9db5(this[_0x22e910(0x178)],_0x22e910(0x196)));}}get[_0x7979a6(0x16c)](){const _0x9aa078=_0x7979a6;return!!this[_0x9aa078(0x197)][_0x9aa078(0x175)](_0x68c5af=>_0x68c5af[_0x9aa078(0x17b)][_0x9aa078(0x190)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3362(){const _0x2686b9=['85812ZgRcMy','ck-ai-suggestion__loader-text','content','favicon','markAsDone','miniToolbarView','4308513MzIcNw','div','toggleShowChanges','101236eyCHpx','bindTemplate','hideLoader','bodyView','set','ck\x20ck-ai-web-source','AI_CHAT_IS_WRITING','clearLoading','showLoader','ck-ai-suggestion__loader','ck-ai-suggestion__container','sourcesView','1924152KPRUQl','locale','ck-ai-web-sources','bind','addMany','updateSources','ck-ai-web-sources__header','isShowChangesToggleVisible','icon','headerView','delegate','small','10ozcvQf','updateContent','isOn','areChangesVisible','open','AI_CHAT_SOURCES_HEADER','hasNonEmptyParts','6382EukfsP','_blank','url','img','children','span','isLoaderVisible','95fdbtaS','5007645jnKGfl','title','12nLCXxE','ck-rounded-corners','createCollection','96KRsxUw','setLoading','isLoading','map','isVisible','toggleSuggestionDisplayMode','21qvxcfT','loaderView','add','fire','updateContentParts','ck-ai-web-source__image','_createLoaderView','49798pbKoZV','extendTemplate','ck-hidden','setTemplate'];_0x3362=function(){return _0x2686b9;};return _0x3362();}const _0x1c6378=_0x4747;function _0x4747(_0xf48491,_0x238411){const _0x336260=_0x3362();return _0x4747=function(_0x4747ea,_0x18f4be){_0x4747ea=_0x4747ea-0x133;let _0x435fd4=_0x336260[_0x4747ea];return _0x435fd4;},_0x4747(_0xf48491,_0x238411);}(function(_0x4f36d4,_0x1bdf40){const _0x2bc406=_0x4747,_0x4e23ff=_0x4f36d4();while(!![]){try{const _0x5582ea=-parseInt(_0x2bc406(0x146))/0x1+parseInt(_0x2bc406(0x16e))/0x2*(-parseInt(_0x2bc406(0x13b))/0x3)+-parseInt(_0x2bc406(0x14f))/0x4*(-parseInt(_0x2bc406(0x175))/0x5)+-parseInt(_0x2bc406(0x15b))/0x6+parseInt(_0x2bc406(0x142))/0x7*(parseInt(_0x2bc406(0x135))/0x8)+-parseInt(_0x2bc406(0x176))/0x9*(-parseInt(_0x2bc406(0x167))/0xa)+parseInt(_0x2bc406(0x14c))/0xb*(-parseInt(_0x2bc406(0x178))/0xc);if(_0x5582ea===_0x1bdf40)break;else _0x4e23ff['push'](_0x4e23ff['shift']());}catch(_0x2f8cc9){_0x4e23ff['push'](_0x4e23ff['shift']());}}}(_0x3362,0x49c28));import{IconWeb as _0x421a28}from'@ckeditor/ckeditor5-icons';import{View as _0x36fce1,ButtonView as _0x383f09,IconView as _0x111b35}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x22b5e3}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x23984c}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x29b656}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x1bf21e}from'../../utils/eventnames.js';import{AISpinnerView as _0x597a2d}from'../aispinner.js';import{getTranslation as _0x2f4515}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x36fce1{[_0x1c6378(0x152)];[_0x1c6378(0x172)];[_0x1c6378(0x164)];[_0x1c6378(0x14b)];[_0x1c6378(0x13c)];[_0x1c6378(0x15a)];constructor(_0xd37035,{showDiff:_0x14241c,areActionsDisabled:_0x4bc159,miniToolbarConfig:_0x411851,hideHeader:_0x415b12,showLoader:_0x78158d,showUnchangedParts:_0x5446f9}){const _0x4cd743=_0x1c6378;super(_0xd37035),this[_0x4cd743(0x153)](_0x4cd743(0x16a),!0x1),this[_0x4cd743(0x153)](_0x4cd743(0x174),!!_0x78158d),this[_0x4cd743(0x153)](_0x4cd743(0x137),!0x1),this[_0x4cd743(0x172)]=this[_0x4cd743(0x134)](),_0x415b12||(this[_0x4cd743(0x164)]=new _0x23984c(_0xd37035,{'showDiff':_0x14241c}),this[_0x4cd743(0x164)]['on'](_0x4cd743(0x14e),(_0x108a3e,_0x3404cc)=>{const _0xb653ca=_0x4cd743;this[_0xb653ca(0x16a)]=_0x3404cc[_0xb653ca(0x169)],this[_0xb653ca(0x13e)](_0xb653ca(0x13a),{'showDiff':_0x3404cc[_0xb653ca(0x169)]});}),this[_0x4cd743(0x172)][_0x4cd743(0x13d)](this[_0x4cd743(0x164)])),this[_0x4cd743(0x152)]=new _0x29b656(_0xd37035,{'areActionsDisabled':_0x4bc159,'showUnchangedParts':!!_0x5446f9}),this[_0x4cd743(0x152)][_0x4cd743(0x165)](..._0x1bf21e)['to'](this),this[_0x4cd743(0x152)][_0x4cd743(0x143)]({'attributes':{'class':[this[_0x4cd743(0x150)]['if'](_0x4cd743(0x174),_0x4cd743(0x144))]}}),this[_0x4cd743(0x14b)]=new _0x22b5e3(_0xd37035,_0x411851,_0x14241c),this[_0x4cd743(0x14b)][_0x4cd743(0x165)](..._0x1bf21e)['to'](this),this[_0x4cd743(0x14b)]['on'](_0x4cd743(0x14e),(_0x398f03,_0x286521)=>{const _0x56d402=_0x4cd743;this[_0x56d402(0x16a)]=_0x286521,this[_0x56d402(0x13e)](_0x56d402(0x13a),{'showDiff':_0x286521});}),this[_0x4cd743(0x14b)][_0x4cd743(0x15e)](_0x4cd743(0x137))['to'](this),this[_0x4cd743(0x172)][_0x4cd743(0x13d)](this[_0x4cd743(0x152)]),this[_0x4cd743(0x172)][_0x4cd743(0x13d)](this[_0x4cd743(0x14b)]),this[_0x4cd743(0x15a)]=new AIWebSourcesView(this[_0x4cd743(0x15c)]),this[_0x4cd743(0x172)][_0x4cd743(0x13d)](this[_0x4cd743(0x15a)]),_0x78158d&&(this[_0x4cd743(0x13c)]=this[_0x4cd743(0x141)](),this[_0x4cd743(0x172)][_0x4cd743(0x13d)](this[_0x4cd743(0x13c)])),this[_0x4cd743(0x145)]({'tag':_0x4cd743(0x14d),'attributes':{'class':['ck',_0x4cd743(0x159),_0x4cd743(0x133)]},'children':this[_0x4cd743(0x172)]});}async[_0x1c6378(0x168)](_0x189bae){const _0x18115e=_0x1c6378;await this[_0x18115e(0x152)][_0x18115e(0x13f)](_0x189bae);}[_0x1c6378(0x160)](_0x286451){const _0x56cb89=_0x1c6378;this[_0x56cb89(0x15a)][_0x56cb89(0x172)][_0x56cb89(0x15f)](_0x286451[_0x56cb89(0x138)](_0xe77dc5=>new AIWebSourceView(this[_0x56cb89(0x15c)],_0xe77dc5))),this[_0x56cb89(0x15a)][_0x56cb89(0x139)]=!0x0;}[_0x1c6378(0x157)](){const _0x2c8c31=_0x1c6378;this[_0x2c8c31(0x13c)]&&(this[_0x2c8c31(0x174)]=!0x0);}[_0x1c6378(0x151)](){const _0x39e718=_0x1c6378;this[_0x39e718(0x13c)]&&(this[_0x39e718(0x174)]=!0x1);}[_0x1c6378(0x14a)](){const _0x1e6258=_0x1c6378;this[_0x1e6258(0x152)][_0x1e6258(0x14a)](),this[_0x1e6258(0x164)]&&(this[_0x1e6258(0x164)][_0x1e6258(0x162)]=this[_0x1e6258(0x152)][_0x1e6258(0x16d)]);}[_0x1c6378(0x136)](){const _0x564815=_0x1c6378;this[_0x564815(0x137)]=!0x0;}[_0x1c6378(0x156)](){const _0x142a41=_0x1c6378;this[_0x142a41(0x137)]=!0x1;}[_0x1c6378(0x141)](){const _0xc45c63=_0x1c6378,_0x15dd8e=new _0x36fce1(this[_0xc45c63(0x15c)]),_0x446c07=new _0x597a2d(_0xc45c63(0x166));_0x446c07[_0xc45c63(0x139)]=!0x0;const _0xc72a1a=new _0x36fce1(this[_0xc45c63(0x15c)]);return _0xc72a1a[_0xc45c63(0x145)]({'tag':_0xc45c63(0x173),'attributes':{'class':['ck',_0xc45c63(0x147)]},'children':[_0x2f4515(this[_0xc45c63(0x15c)],_0xc45c63(0x155))]}),_0x15dd8e[_0xc45c63(0x145)]({'tag':_0xc45c63(0x14d),'attributes':{'class':['ck',_0xc45c63(0x158),this[_0xc45c63(0x150)]['if'](_0xc45c63(0x174),_0xc45c63(0x144),_0x54d354=>!_0x54d354)]},'children':[_0x446c07,_0xc72a1a]}),_0x15dd8e;}}export class AIWebSourcesView extends _0x36fce1{[_0x1c6378(0x172)];constructor(_0x400fce){const _0x10a0d7=_0x1c6378;super(_0x400fce),this[_0x10a0d7(0x172)]=this[_0x10a0d7(0x134)](),this[_0x10a0d7(0x153)](_0x10a0d7(0x139),!0x1),this[_0x10a0d7(0x145)]({'tag':_0x10a0d7(0x14d),'attributes':{'class':['ck',_0x10a0d7(0x15d),this[_0x10a0d7(0x150)]['if'](_0x10a0d7(0x139),_0x10a0d7(0x144),_0x4771db=>!_0x4771db)]},'children':this[_0x10a0d7(0x172)]});const _0x56d7a2=new _0x36fce1(this[_0x10a0d7(0x15c)]),_0xc91214=new _0x111b35();_0xc91214[_0x10a0d7(0x148)]=_0x421a28,_0x56d7a2[_0x10a0d7(0x145)]({'tag':_0x10a0d7(0x14d),'attributes':{'class':['ck',_0x10a0d7(0x161)]},'children':[_0xc91214,{'tag':_0x10a0d7(0x173),'children':[{'text':_0x2f4515(this[_0x10a0d7(0x15c)],_0x10a0d7(0x16c))}]}]}),this[_0x10a0d7(0x172)][_0x10a0d7(0x13d)](_0x56d7a2);}}export class AIWebSourceView extends _0x383f09{constructor(_0x48accc,_0x30ee63){const _0x52af92=_0x1c6378;super(_0x48accc),this[_0x52af92(0x153)]({'label':_0x30ee63[_0x52af92(0x177)],'tooltip':_0x30ee63[_0x52af92(0x177)],'class':[_0x52af92(0x154)],'withText':!0x0});const _0x246732=this[_0x52af92(0x150)];if(this[_0x52af92(0x143)]({'on':{'click':_0x246732['to'](()=>{const _0x38a479=_0x52af92;window[_0x38a479(0x16b)](_0x30ee63[_0x38a479(0x170)],_0x38a479(0x16f));})}}),_0x30ee63[_0x52af92(0x149)]){const _0x296e98=new _0x36fce1(_0x48accc);_0x296e98[_0x52af92(0x145)]({'tag':_0x52af92(0x171),'attributes':{'src':_0x30ee63[_0x52af92(0x149)]||_0x421a28,'alt':_0x30ee63[_0x52af92(0x177)],'class':[_0x52af92(0x140)]}}),this[_0x52af92(0x172)][_0x52af92(0x13d)](_0x296e98);}else this[_0x52af92(0x153)](_0x52af92(0x163),_0x421a28);}}
23
+ const _0x5a0706=_0x30ce;(function(_0x4923cb,_0x12133f){const _0x4804bc=_0x30ce,_0x401ce8=_0x4923cb();while(!![]){try{const _0x56a0c5=parseInt(_0x4804bc(0x14f))/0x1+parseInt(_0x4804bc(0x149))/0x2+-parseInt(_0x4804bc(0x15b))/0x3+parseInt(_0x4804bc(0x159))/0x4*(-parseInt(_0x4804bc(0x162))/0x5)+-parseInt(_0x4804bc(0x175))/0x6*(parseInt(_0x4804bc(0x13f))/0x7)+-parseInt(_0x4804bc(0x176))/0x8*(-parseInt(_0x4804bc(0x154))/0x9)+-parseInt(_0x4804bc(0x170))/0xa*(parseInt(_0x4804bc(0x158))/0xb);if(_0x56a0c5===_0x12133f)break;else _0x401ce8['push'](_0x401ce8['shift']());}catch(_0x347d8d){_0x401ce8['push'](_0x401ce8['shift']());}}}(_0x25cf,0x719ad));import{IconWeb as _0xb6b0f4}from'@ckeditor/ckeditor5-icons';import{View as _0x2cce9b,ButtonView as _0xbc0b7f,IconView as _0x12bad2}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x53da66}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x50d0e2}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x22dfe8}from'./aisuggestionbodyview.js';function _0x30ce(_0x3aa15a,_0x4702dd){const _0x25cfdc=_0x25cf();return _0x30ce=function(_0x30ce59,_0xa8291){_0x30ce59=_0x30ce59-0x139;let _0x72c7bb=_0x25cfdc[_0x30ce59];return _0x72c7bb;},_0x30ce(_0x3aa15a,_0x4702dd);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x27ddd6}from'../../utils/eventnames.js';import{AISpinnerView as _0x266e2e}from'../aispinner.js';import{getTranslation as _0x2084f7}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x2cce9b{[_0x5a0706(0x168)];[_0x5a0706(0x13e)];[_0x5a0706(0x14d)];[_0x5a0706(0x174)];[_0x5a0706(0x15d)];[_0x5a0706(0x14a)];constructor(_0x33c30e,{showDiff:_0x3a4573,areActionsDisabled:_0x2be867,miniToolbarConfig:_0x4df924,hideHeader:_0x295eb0,showLoader:_0x130364,showUnchangedParts:_0x466fe0}){const _0x14fbbc=_0x5a0706;super(_0x33c30e),this[_0x14fbbc(0x16c)](_0x14fbbc(0x17b),!0x1),this[_0x14fbbc(0x16c)](_0x14fbbc(0x13b),!!_0x130364),this[_0x14fbbc(0x16c)](_0x14fbbc(0x143),!0x1),this[_0x14fbbc(0x13e)]=this[_0x14fbbc(0x16a)](),_0x295eb0||(this[_0x14fbbc(0x14d)]=new _0x50d0e2(_0x33c30e,{'showDiff':_0x3a4573}),this[_0x14fbbc(0x14d)]['on'](_0x14fbbc(0x16f),(_0x2b2929,_0x341390)=>{const _0x28b335=_0x14fbbc;this[_0x28b335(0x17b)]=_0x341390[_0x28b335(0x156)],this[_0x28b335(0x13a)](_0x28b335(0x155),{'showDiff':_0x341390[_0x28b335(0x156)]});}),this[_0x14fbbc(0x13e)][_0x14fbbc(0x15c)](this[_0x14fbbc(0x14d)])),this[_0x14fbbc(0x168)]=new _0x22dfe8(_0x33c30e,{'areActionsDisabled':_0x2be867,'showUnchangedParts':!!_0x466fe0}),this[_0x14fbbc(0x168)][_0x14fbbc(0x163)](..._0x27ddd6)['to'](this),this[_0x14fbbc(0x168)][_0x14fbbc(0x15f)]({'attributes':{'class':[this[_0x14fbbc(0x173)]['if'](_0x14fbbc(0x13b),_0x14fbbc(0x142))]}}),this[_0x14fbbc(0x174)]=new _0x53da66(_0x33c30e,_0x4df924,_0x3a4573),this[_0x14fbbc(0x174)][_0x14fbbc(0x163)](..._0x27ddd6)['to'](this),this[_0x14fbbc(0x174)]['on'](_0x14fbbc(0x16f),(_0x57a6bb,_0x4c5b87)=>{const _0x239e1e=_0x14fbbc;this[_0x239e1e(0x17b)]=_0x4c5b87,this[_0x239e1e(0x13a)](_0x239e1e(0x155),{'showDiff':_0x4c5b87});}),this[_0x14fbbc(0x174)][_0x14fbbc(0x164)](_0x14fbbc(0x143))['to'](this),this[_0x14fbbc(0x13e)][_0x14fbbc(0x15c)](this[_0x14fbbc(0x168)]),this[_0x14fbbc(0x13e)][_0x14fbbc(0x15c)](this[_0x14fbbc(0x174)]),this[_0x14fbbc(0x14a)]=new AIWebSourcesView(this[_0x14fbbc(0x141)]),this[_0x14fbbc(0x13e)][_0x14fbbc(0x15c)](this[_0x14fbbc(0x14a)]),_0x130364&&(this[_0x14fbbc(0x15d)]=this[_0x14fbbc(0x152)](),this[_0x14fbbc(0x13e)][_0x14fbbc(0x15c)](this[_0x14fbbc(0x15d)])),this[_0x14fbbc(0x179)]({'tag':_0x14fbbc(0x15a),'attributes':{'class':['ck',_0x14fbbc(0x172),_0x14fbbc(0x177)]},'children':this[_0x14fbbc(0x13e)]});}async[_0x5a0706(0x160)](_0x5a5ef5){const _0x469fad=_0x5a0706;await this[_0x469fad(0x168)][_0x469fad(0x150)](_0x5a5ef5);}[_0x5a0706(0x16b)](_0x5eca0d){const _0x242e8f=_0x5a0706;this[_0x242e8f(0x14a)][_0x242e8f(0x13e)][_0x242e8f(0x157)](_0x5eca0d[_0x242e8f(0x167)](_0x433995=>new AIWebSourceView(this[_0x242e8f(0x141)],_0x433995))),this[_0x242e8f(0x14a)][_0x242e8f(0x148)]=!0x0;}[_0x5a0706(0x17c)](){const _0x2faa6c=_0x5a0706;this[_0x2faa6c(0x15d)]&&(this[_0x2faa6c(0x13b)]=!0x0);}[_0x5a0706(0x146)](){const _0x5aba30=_0x5a0706;this[_0x5aba30(0x15d)]&&(this[_0x5aba30(0x13b)]=!0x1);}[_0x5a0706(0x161)](){const _0xe0b332=_0x5a0706;this[_0xe0b332(0x168)][_0xe0b332(0x161)](),this[_0xe0b332(0x14d)]&&(this[_0xe0b332(0x14d)][_0xe0b332(0x165)]=this[_0xe0b332(0x168)][_0xe0b332(0x17d)]);}[_0x5a0706(0x166)](){const _0x4100af=_0x5a0706;this[_0x4100af(0x143)]=!0x0;}[_0x5a0706(0x144)](){const _0x1a7fb2=_0x5a0706;this[_0x1a7fb2(0x143)]=!0x1;}[_0x5a0706(0x152)](){const _0x1c98b1=_0x5a0706,_0x5591b0=new _0x2cce9b(this[_0x1c98b1(0x141)]),_0x24e5d2=new _0x266e2e(_0x1c98b1(0x13d));_0x24e5d2[_0x1c98b1(0x148)]=!0x0;const _0x400f99=new _0x2cce9b(this[_0x1c98b1(0x141)]);return _0x400f99[_0x1c98b1(0x179)]({'tag':_0x1c98b1(0x171),'attributes':{'class':['ck',_0x1c98b1(0x151)]},'children':[_0x2084f7(this[_0x1c98b1(0x141)],_0x1c98b1(0x17a))]}),_0x5591b0[_0x1c98b1(0x179)]({'tag':_0x1c98b1(0x15a),'attributes':{'class':['ck',_0x1c98b1(0x15e),this[_0x1c98b1(0x173)]['if'](_0x1c98b1(0x13b),_0x1c98b1(0x142),_0x208f39=>!_0x208f39)]},'children':[_0x24e5d2,_0x400f99]}),_0x5591b0;}}export class AIWebSourcesView extends _0x2cce9b{[_0x5a0706(0x13e)];constructor(_0x485ddf){const _0x35a918=_0x5a0706;super(_0x485ddf),this[_0x35a918(0x13e)]=this[_0x35a918(0x16a)](),this[_0x35a918(0x16c)](_0x35a918(0x148),!0x1),this[_0x35a918(0x179)]({'tag':_0x35a918(0x15a),'attributes':{'class':['ck',_0x35a918(0x13c),this[_0x35a918(0x173)]['if'](_0x35a918(0x148),_0x35a918(0x142),_0x130ab6=>!_0x130ab6)]},'children':this[_0x35a918(0x13e)]});const _0x27c8ed=new _0x2cce9b(this[_0x35a918(0x141)]),_0x22efd9=new _0x12bad2();_0x22efd9[_0x35a918(0x14b)]=_0xb6b0f4,_0x27c8ed[_0x35a918(0x179)]({'tag':_0x35a918(0x15a),'attributes':{'class':['ck',_0x35a918(0x140)]},'children':[_0x22efd9,{'tag':_0x35a918(0x171),'children':[{'text':_0x2084f7(this[_0x35a918(0x141)],_0x35a918(0x145))}]}]}),this[_0x35a918(0x13e)][_0x35a918(0x15c)](_0x27c8ed);}}export class AIWebSourceView extends _0xbc0b7f{constructor(_0x4a22eb,_0x3bcf44){const _0x25f213=_0x5a0706;super(_0x4a22eb),this[_0x25f213(0x16c)]({'label':_0x3bcf44[_0x25f213(0x169)],'tooltip':_0x3bcf44[_0x25f213(0x169)],'class':[_0x25f213(0x153)],'withText':!0x0});const _0x5149f0=this[_0x25f213(0x173)];if(this[_0x25f213(0x15f)]({'on':{'click':_0x5149f0['to'](()=>{const _0x14e9f4=_0x25f213;window[_0x14e9f4(0x14c)](_0x3bcf44[_0x14e9f4(0x178)],_0x14e9f4(0x14e));})}}),_0x3bcf44[_0x25f213(0x16d)]){const _0x31c23d=new _0x2cce9b(_0x4a22eb);_0x31c23d[_0x25f213(0x179)]({'tag':_0x25f213(0x147),'attributes':{'src':_0x3bcf44[_0x25f213(0x16d)]||_0xb6b0f4,'alt':_0x3bcf44[_0x25f213(0x169)],'class':[_0x25f213(0x139)]}}),this[_0x25f213(0x13e)][_0x25f213(0x15c)](_0x31c23d);}else this[_0x25f213(0x16c)](_0x25f213(0x16e),_0xb6b0f4);}}function _0x25cf(){const _0xe43613=['isVisible','64370ZiNhrd','sourcesView','content','open','headerView','_blank','759426VjCwCa','updateContentParts','ck-ai-suggestion__loader-text','_createLoaderView','ck\x20ck-ai-web-source','135AVePkd','toggleSuggestionDisplayMode','isOn','addMany','1518682pVnBGg','1191752rjXMUw','div','1316928TnxmQZ','add','loaderView','ck-ai-suggestion__loader','extendTemplate','updateContent','markAsDone','5pWAsPS','delegate','bind','isShowChangesToggleVisible','setLoading','map','bodyView','title','createCollection','updateSources','set','favicon','icon','toggleShowChanges','30EakrFE','span','ck-ai-suggestion__container','bindTemplate','miniToolbarView','18HKhQJl','462464NszWRF','ck-rounded-corners','url','setTemplate','AI_CHAT_IS_WRITING','areChangesVisible','showLoader','hasNonEmptyParts','ck-ai-web-source__image','fire','isLoaderVisible','ck-ai-web-sources','small','children','98714nCUiNq','ck-ai-web-sources__header','locale','ck-hidden','isLoading','clearLoading','AI_CHAT_SOURCES_HEADER','hideLoader','img'];_0x25cf=function(){return _0xe43613;};return _0x25cf();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e47d9=_0x4f8e;(function(_0xb4041,_0x49d760){const _0x503b40=_0x4f8e,_0x50e2c8=_0xb4041();while(!![]){try{const _0x26c637=-parseInt(_0x503b40(0x203))/0x1*(parseInt(_0x503b40(0x20b))/0x2)+-parseInt(_0x503b40(0x1f3))/0x3*(parseInt(_0x503b40(0x1e7))/0x4)+parseInt(_0x503b40(0x1fb))/0x5+parseInt(_0x503b40(0x207))/0x6*(-parseInt(_0x503b40(0x1fa))/0x7)+-parseInt(_0x503b40(0x21b))/0x8+-parseInt(_0x503b40(0x1f0))/0x9+parseInt(_0x503b40(0x1dd))/0xa;if(_0x26c637===_0x49d760)break;else _0x50e2c8['push'](_0x50e2c8['shift']());}catch(_0x40bd2f){_0x50e2c8['push'](_0x50e2c8['shift']());}}}(_0xe401,0x8cef3));import{View as _0x1aa731,IconView as _0x546dcc,ToolbarView as _0x315b2d,ButtonView as _0x276607}from'ckeditor5/src/ui.js';function _0xe401(){const _0x895505=['AI_SUGGESTION_CONTENT_PART_TITLE','ck-hidden','ck-ai-suggestion__body__content-part','254540cqfFBm','mouseOverSuggestion','htmlStreamer','ck-ai-suggestion__body__content-part__title','extendTemplate','showChangeInText','stream','has','mouseLeaveSuggestion','3655197YHpMsq','state','headerView','3jJiIKT','contentView','bind','toString','remove','span','ck-ai-suggestion__body__content-part__icon-accepted','2135zlUyzi','5497200HLfPJh','addMany','AI_SUGGESTION_CONTENT_PART_DELETE','ck-ai-suggestion__body__content-part_active','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','ck-ai-suggestion__body__content-part_','isEnabled','toggleHeader','1009pBOTUU','div','_iconStateRejected','_iconStateAccepted','6330UUiBon','streaming','items','fire','88gPCRmL','change:state','children','element','rejected','content','add','ck-ai-suggestion__body__content-part__icon-rejected','execute','ck-ai-suggestion__body__content-part__icon-title','_toolbarView','createCollection','animation:\x20ck-html-streamer-fade-in\x20.5s','innerHTML','hasChanges','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','7922920GmgmLu','setTemplate','set','updateContent','insertSuggestion','AI_SUGGESTION_CONTENT_PART_REJECTED','ck-ai-suggestion__body__content-part__title__label','rejectSuggestion','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','isVisible','partDefinition','13041310WrgKda','delegate','accepted','index','pending','ck-ai-suggestion__body__content-part__content','bindTemplate'];_0xe401=function(){return _0x895505;};return _0xe401();}import{IconAddComment as _0x50c71b,IconDocumentWithLoupe as _0x2ec866,IconDocumentWithCheckmark as _0x46f139,IconDocumentWithCross as _0x3eff21,IconRemove as _0x50e21c,IconThreeStars as _0x2f67df}from'ckeditor5/src/icons.js';import{HTMLStreamer as _0x11b0c3}from'../../utils/htmlstreamer.js';import{getTranslation as _0x3f10ec}from'../../utils/common-translations.js';import{serialize as _0x2405c1}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x364a41}from'../../utils/eventnames.js';function _0x4f8e(_0xaddf60,_0xd8d378){const _0xe4016e=_0xe401();return _0x4f8e=function(_0x4f8e19,_0x3d20a4){_0x4f8e19=_0x4f8e19-0x1dc;let _0x46567a=_0xe4016e[_0x4f8e19];return _0x46567a;},_0x4f8e(_0xaddf60,_0xd8d378);}export class AISuggestionBodyViewContentPartView extends _0x1aa731{[_0x3e47d9(0x1e9)];[_0x3e47d9(0x20d)];[_0x3e47d9(0x1f2)];[_0x3e47d9(0x1f4)];constructor(_0x4d90da,{part:_0x19d343,areActionsDisabled:_0x4d808f}){const _0x5a4854=_0x3e47d9;super(_0x4d90da),this[_0x5a4854(0x21d)](_0x5a4854(0x1dc),_0x19d343),this[_0x5a4854(0x21d)](_0x5a4854(0x1f1),_0x5a4854(0x1e1)),this[_0x5a4854(0x21d)](_0x5a4854(0x224),!0x1),this[_0x5a4854(0x1f5)](_0x5a4854(0x201))['to'](this,_0x5a4854(0x1f1),_0x4a4c06=>_0x5a4854(0x1e1)==_0x4a4c06&&!_0x4d808f),this[_0x5a4854(0x20d)]=this[_0x5a4854(0x216)](),this[_0x5a4854(0x1e9)]=new _0x11b0c3({'textNodeStyle':_0x5a4854(0x217),'delay':0x14}),this[_0x5a4854(0x1f2)]=new yn(_0x4d90da,_0x19d343),this[_0x5a4854(0x1f2)][_0x5a4854(0x1f5)](_0x5a4854(0x1dc))['to'](this),this[_0x5a4854(0x1f2)][_0x5a4854(0x1f5)](_0x5a4854(0x201))['to'](this),this[_0x5a4854(0x1f2)][_0x5a4854(0x1f5)](_0x5a4854(0x1f1))['to'](this),this[_0x5a4854(0x1f2)][_0x5a4854(0x1de)](..._0x364a41)['to'](this);const _0x256c83=this[_0x5a4854(0x1e3)];this[_0x5a4854(0x1f4)]=new _0x1aa731(),this[_0x5a4854(0x1f4)][_0x5a4854(0x21c)]({'tag':_0x5a4854(0x204),'attributes':{'class':['ck',_0x5a4854(0x1e2)]}}),this[_0x5a4854(0x20d)][_0x5a4854(0x1fc)]([this[_0x5a4854(0x1f4)]]),this[_0x5a4854(0x21c)]({'tag':_0x5a4854(0x204),'attributes':{'class':['ck',_0x5a4854(0x1e6),_0x256c83['to'](_0x5a4854(0x1f1),_0x369f38=>_0x5a4854(0x200)+_0x369f38),_0x256c83['to'](_0x5a4854(0x201),_0x264dff=>_0x264dff?_0x5a4854(0x1fe):void 0x0),_0x256c83['if'](_0x5a4854(0x224),_0x5a4854(0x1e5),_0xe36413=>!_0xe36413)]},'children':this[_0x5a4854(0x20d)],'on':{'mouseenter':_0x256c83['to'](()=>{const _0x40510b=_0x5a4854;this[_0x40510b(0x201)]&&this[_0x40510b(0x20a)](_0x40510b(0x1e8),{'index':_0x19d343[_0x40510b(0x1e0)]});}),'mouseleave':_0x256c83['to'](()=>{const _0x21e1cf=_0x5a4854;this[_0x21e1cf(0x201)]&&this[_0x21e1cf(0x20a)](_0x21e1cf(0x1ef),{'index':_0x19d343[_0x21e1cf(0x1e0)]});})}});}async[_0x3e47d9(0x21e)]({part:_0x3cb99f,renderingStrategy:_0x585c8c,showUnchangedParts:_0x3cd22c=!0x1,abortSignal:_0x457027}){const _0x295a80=_0x3e47d9;this[_0x295a80(0x1dc)]=_0x3cb99f,this[_0x295a80(0x224)]=this[_0x295a80(0x1dc)][_0x295a80(0x219)]||_0x3cd22c,this[_0x295a80(0x224)]&&(_0x295a80(0x208)===_0x585c8c?await this[_0x295a80(0x1e9)][_0x295a80(0x1ed)]({'document':this[_0x295a80(0x1dc)][_0x295a80(0x210)],'targetElement':this[_0x295a80(0x1f4)][_0x295a80(0x20e)],'abortSignal':_0x457027}):this[_0x295a80(0x1f4)][_0x295a80(0x20e)][_0x295a80(0x218)]=_0x2405c1(this[_0x295a80(0x1dc)][_0x295a80(0x210)]));}[_0x3e47d9(0x202)](_0x1b7f09){const _0x3d5d6f=_0x3e47d9;_0x1b7f09?this[_0x3d5d6f(0x20d)][_0x3d5d6f(0x1ee)](this[_0x3d5d6f(0x1f2)])||this[_0x3d5d6f(0x20d)][_0x3d5d6f(0x211)](this[_0x3d5d6f(0x1f2)],0x0):this[_0x3d5d6f(0x20d)][_0x3d5d6f(0x1ee)](this[_0x3d5d6f(0x1f2)])&&this[_0x3d5d6f(0x20d)][_0x3d5d6f(0x1f7)](this[_0x3d5d6f(0x1f2)]);}}class yn extends _0x1aa731{[_0x3e47d9(0x20d)];[_0x3e47d9(0x215)];[_0x3e47d9(0x206)];[_0x3e47d9(0x205)];constructor(_0x4a2501,_0x262455){const _0x468d7f=_0x3e47d9;super(_0x4a2501),this[_0x468d7f(0x21d)](_0x468d7f(0x1dc),_0x262455),this[_0x468d7f(0x21d)](_0x468d7f(0x201),!0x0),this[_0x468d7f(0x21d)](_0x468d7f(0x1f1),_0x468d7f(0x1e1));const _0x487945=new _0x546dcc();_0x487945[_0x468d7f(0x210)]=_0x2f67df,_0x487945[_0x468d7f(0x1eb)]({'attributes':{'class':[_0x468d7f(0x214)]}});const _0x263750=new _0x276607(_0x4a2501);_0x263750[_0x468d7f(0x21d)]({'label':_0x3f10ec(_0x4a2501,_0x468d7f(0x223)),'tooltip':!0x0,'withText':!0x1,'icon':_0x2ec866}),_0x263750[_0x468d7f(0x1f5)](_0x468d7f(0x201))['to'](this),_0x263750['on'](_0x468d7f(0x213),()=>{const _0x23a22a=_0x468d7f;this[_0x23a22a(0x20a)](_0x23a22a(0x1ec),{'index':_0x262455[_0x23a22a(0x1e0)]});});const _0x47728f=new _0x276607(_0x4a2501);_0x47728f[_0x468d7f(0x21d)]({'label':_0x3f10ec(_0x4a2501,_0x468d7f(0x1ff)),'tooltip':!0x0,'withText':!0x1,'icon':_0x50c71b}),_0x47728f[_0x468d7f(0x1f5)](_0x468d7f(0x201))['to'](this),_0x47728f['on'](_0x468d7f(0x213),()=>{const _0x4aa439=_0x468d7f;this[_0x4aa439(0x20a)](_0x4aa439(0x21f),{'index':_0x262455[_0x4aa439(0x1e0)]});});const _0x67f867=new _0x276607(_0x4a2501);_0x67f867[_0x468d7f(0x21d)]({'label':_0x3f10ec(_0x4a2501,_0x468d7f(0x1fd)),'tooltip':!0x0,'withText':!0x1,'icon':_0x50e21c}),_0x67f867['on'](_0x468d7f(0x213),()=>{const _0x13388e=_0x468d7f;this[_0x13388e(0x20a)](_0x13388e(0x222),{'index':_0x262455[_0x13388e(0x1e0)]});}),_0x67f867[_0x468d7f(0x1f5)](_0x468d7f(0x201))['to'](this),this[_0x468d7f(0x215)]=new _0x315b2d(_0x4a2501),this[_0x468d7f(0x215)][_0x468d7f(0x209)][_0x468d7f(0x1fc)]([_0x263750,_0x47728f,_0x67f867]),this[_0x468d7f(0x206)]=new _0x546dcc(),this[_0x468d7f(0x206)][_0x468d7f(0x210)]=_0x46f139,this[_0x468d7f(0x206)][_0x468d7f(0x1eb)]({'attributes':{'class':[_0x468d7f(0x1f9)],'data-cke-tooltip-text':_0x3f10ec(_0x4a2501,_0x468d7f(0x21a)),'data-cke-tooltip-position':'n'}}),this[_0x468d7f(0x205)]=new _0x546dcc(),this[_0x468d7f(0x205)][_0x468d7f(0x210)]=_0x3eff21,this[_0x468d7f(0x205)][_0x468d7f(0x1eb)]({'attributes':{'class':[_0x468d7f(0x212)],'data-cke-tooltip-text':_0x3f10ec(_0x4a2501,_0x468d7f(0x220)),'data-cke-tooltip-position':'n'}});const _0x35a596=new _0x1aa731(_0x4a2501);_0x35a596[_0x468d7f(0x21c)]({'tag':_0x468d7f(0x1f8),'attributes':{'class':['ck',_0x468d7f(0x221)]},'children':[_0x3f10ec(_0x4a2501,_0x468d7f(0x1e4),(_0x262455[_0x468d7f(0x1e0)]+0x1)[_0x468d7f(0x1f6)]())]}),this[_0x468d7f(0x20d)]=this[_0x468d7f(0x216)](),this[_0x468d7f(0x20d)][_0x468d7f(0x1fc)]([_0x487945,_0x35a596,this[_0x468d7f(0x215)]]),this[_0x468d7f(0x21c)]({'tag':_0x468d7f(0x204),'attributes':{'class':['ck',_0x468d7f(0x1ea)]},'children':this[_0x468d7f(0x20d)]}),this['on'](_0x468d7f(0x20c),(_0x3f725d,_0x48ad24,_0x4c580c,_0x22f1a3)=>{const _0x28a1a9=_0x468d7f;switch(_0x22f1a3){case _0x28a1a9(0x1e1):this[_0x28a1a9(0x20d)][_0x28a1a9(0x1f7)](this[_0x28a1a9(0x215)]);break;case _0x28a1a9(0x1df):this[_0x28a1a9(0x20d)][_0x28a1a9(0x1f7)](this[_0x28a1a9(0x206)]);break;case _0x28a1a9(0x20f):this[_0x28a1a9(0x20d)][_0x28a1a9(0x1f7)](this[_0x28a1a9(0x205)]);}switch(_0x4c580c){case _0x28a1a9(0x1e1):this[_0x28a1a9(0x20d)][_0x28a1a9(0x211)](this[_0x28a1a9(0x215)]);break;case _0x28a1a9(0x1df):this[_0x28a1a9(0x20d)][_0x28a1a9(0x211)](this[_0x28a1a9(0x206)]);break;case _0x28a1a9(0x20f):this[_0x28a1a9(0x20d)][_0x28a1a9(0x211)](this[_0x28a1a9(0x205)]);}});}}
23
+ const _0xc21dbd=_0x44c8;(function(_0x1ef661,_0x5befaa){const _0x190620=_0x44c8,_0x3af97f=_0x1ef661();while(!![]){try{const _0x45f1e3=-parseInt(_0x190620(0x114))/0x1*(-parseInt(_0x190620(0x11b))/0x2)+-parseInt(_0x190620(0x13b))/0x3+parseInt(_0x190620(0x137))/0x4+-parseInt(_0x190620(0x101))/0x5+parseInt(_0x190620(0x130))/0x6+parseInt(_0x190620(0xff))/0x7*(parseInt(_0x190620(0x119))/0x8)+parseInt(_0x190620(0x113))/0x9*(-parseInt(_0x190620(0x11c))/0xa);if(_0x45f1e3===_0x5befaa)break;else _0x3af97f['push'](_0x3af97f['shift']());}catch(_0x2ee8a2){_0x3af97f['push'](_0x3af97f['shift']());}}}(_0x32bc,0x6a8b2));import{View as _0x410390,IconView as _0x3fd56b,ToolbarView as _0xb3832e,ButtonView as _0x2bc826}from'ckeditor5/src/ui.js';import{IconAddComment as _0x30068d,IconDocumentWithLoupe as _0x5a21c4,IconDocumentWithCheckmark as _0x5d4f8a,IconDocumentWithCross as _0x49d86b,IconRemove as _0x54cf91,IconThreeStars as _0x11f1ce}from'ckeditor5/src/icons.js';import{HTMLStreamer as _0x59773d}from'../../utils/htmlstreamer.js';import{getTranslation as _0x16e886}from'../../utils/common-translations.js';import{serialize as _0x366383}from'../../utils/htmlparser.js';function _0x32bc(){const _0x2fcec2=['ck-hidden','718020hMGQdK','rejected','bind','_toolbarView','element','state','extendTemplate','2774752zzrqZP','toggleHeader','add','stream','1237452nYtyln','children','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','isVisible','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','change:state','set','ck-ai-suggestion__body__content-part__title__label','setTemplate','has','addMany','animation:\x20ck-html-streamer-fade-in\x20.5s','contentView','7DWFqul','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','1570795CQqgUz','execute','div','accepted','ck-ai-suggestion__body__content-part','streaming','ck-ai-suggestion__body__content-part_active','remove','hasChanges','items','content','rejectSuggestion','span','showChangeInText','ck-ai-suggestion__body__content-part_','ck-ai-suggestion__body__content-part__icon-title','ck-ai-suggestion__body__content-part__content','index','18mATyJV','244313rKWbQO','bindTemplate','AI_SUGGESTION_CONTENT_PART_DELETE','AI_SUGGESTION_CONTENT_PART_REJECTED','mouseOverSuggestion','4174232ACtUil','htmlStreamer','4WUmlnA','3303590waCKoV','_iconStateRejected','insertSuggestion','headerView','AI_SUGGESTION_CONTENT_PART_TITLE','delegate','_iconStateAccepted','toString','isEnabled','pending','updateContent','mouseLeaveSuggestion','ck-ai-suggestion__body__content-part__title','innerHTML','fire','createCollection','partDefinition','ck-ai-suggestion__body__content-part__icon-rejected','ck-ai-suggestion__body__content-part__icon-accepted'];_0x32bc=function(){return _0x2fcec2;};return _0x32bc();}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x162481}from'../../utils/eventnames.js';export class AISuggestionBodyViewContentPartView extends _0x410390{[_0xc21dbd(0x11a)];[_0xc21dbd(0x13c)];[_0xc21dbd(0x11f)];[_0xc21dbd(0xfe)];constructor(_0x3e7932,{part:_0x56375a,areActionsDisabled:_0x194f47}){const _0x8c9b32=_0xc21dbd;super(_0x3e7932),this[_0x8c9b32(0x141)](_0x8c9b32(0x12c),_0x56375a),this[_0x8c9b32(0x141)](_0x8c9b32(0x135),_0x8c9b32(0x125)),this[_0x8c9b32(0x141)](_0x8c9b32(0x13e),!0x1),this[_0x8c9b32(0x132)](_0x8c9b32(0x124))['to'](this,_0x8c9b32(0x135),_0x230f3b=>_0x8c9b32(0x125)==_0x230f3b&&!_0x194f47),this[_0x8c9b32(0x13c)]=this[_0x8c9b32(0x12b)](),this[_0x8c9b32(0x11a)]=new _0x59773d({'textNodeStyle':_0x8c9b32(0x146),'delay':0x14}),this[_0x8c9b32(0x11f)]=new yn(_0x3e7932,_0x56375a),this[_0x8c9b32(0x11f)][_0x8c9b32(0x132)](_0x8c9b32(0x12c))['to'](this),this[_0x8c9b32(0x11f)][_0x8c9b32(0x132)](_0x8c9b32(0x124))['to'](this),this[_0x8c9b32(0x11f)][_0x8c9b32(0x132)](_0x8c9b32(0x135))['to'](this),this[_0x8c9b32(0x11f)][_0x8c9b32(0x121)](..._0x162481)['to'](this);const _0x51cc67=this[_0x8c9b32(0x115)];this[_0x8c9b32(0xfe)]=new _0x410390(),this[_0x8c9b32(0xfe)][_0x8c9b32(0x143)]({'tag':_0x8c9b32(0x103),'attributes':{'class':['ck',_0x8c9b32(0x111)]}}),this[_0x8c9b32(0x13c)][_0x8c9b32(0x145)]([this[_0x8c9b32(0xfe)]]),this[_0x8c9b32(0x143)]({'tag':_0x8c9b32(0x103),'attributes':{'class':['ck',_0x8c9b32(0x105),_0x51cc67['to'](_0x8c9b32(0x135),_0x19b071=>_0x8c9b32(0x10f)+_0x19b071),_0x51cc67['to'](_0x8c9b32(0x124),_0x2ce8ff=>_0x2ce8ff?_0x8c9b32(0x107):void 0x0),_0x51cc67['if'](_0x8c9b32(0x13e),_0x8c9b32(0x12f),_0x4dfe6b=>!_0x4dfe6b)]},'children':this[_0x8c9b32(0x13c)],'on':{'mouseenter':_0x51cc67['to'](()=>{const _0x34f8e4=_0x8c9b32;this[_0x34f8e4(0x124)]&&this[_0x34f8e4(0x12a)](_0x34f8e4(0x118),{'index':_0x56375a[_0x34f8e4(0x112)]});}),'mouseleave':_0x51cc67['to'](()=>{const _0xc0de8e=_0x8c9b32;this[_0xc0de8e(0x124)]&&this[_0xc0de8e(0x12a)](_0xc0de8e(0x127),{'index':_0x56375a[_0xc0de8e(0x112)]});})}});}async[_0xc21dbd(0x126)]({part:_0x58a00b,renderingStrategy:_0x5de483,showUnchangedParts:_0x410a35=!0x1,abortSignal:_0x4e7550}){const _0x58600e=_0xc21dbd;this[_0x58600e(0x12c)]=_0x58a00b,this[_0x58600e(0x13e)]=this[_0x58600e(0x12c)][_0x58600e(0x109)]||_0x410a35,this[_0x58600e(0x13e)]&&(_0x58600e(0x106)===_0x5de483?await this[_0x58600e(0x11a)][_0x58600e(0x13a)]({'document':this[_0x58600e(0x12c)][_0x58600e(0x10b)],'targetElement':this[_0x58600e(0xfe)][_0x58600e(0x134)],'abortSignal':_0x4e7550}):this[_0x58600e(0xfe)][_0x58600e(0x134)][_0x58600e(0x129)]=_0x366383(this[_0x58600e(0x12c)][_0x58600e(0x10b)]));}[_0xc21dbd(0x138)](_0x2dc2a5){const _0x103071=_0xc21dbd;_0x2dc2a5?this[_0x103071(0x13c)][_0x103071(0x144)](this[_0x103071(0x11f)])||this[_0x103071(0x13c)][_0x103071(0x139)](this[_0x103071(0x11f)],0x0):this[_0x103071(0x13c)][_0x103071(0x144)](this[_0x103071(0x11f)])&&this[_0x103071(0x13c)][_0x103071(0x108)](this[_0x103071(0x11f)]);}}function _0x44c8(_0x3cf64e,_0x4d5320){const _0x32bce5=_0x32bc();return _0x44c8=function(_0x44c8d2,_0x2eaf1e){_0x44c8d2=_0x44c8d2-0xfe;let _0x27f2a3=_0x32bce5[_0x44c8d2];return _0x27f2a3;},_0x44c8(_0x3cf64e,_0x4d5320);}class yn extends _0x410390{[_0xc21dbd(0x13c)];[_0xc21dbd(0x133)];[_0xc21dbd(0x122)];[_0xc21dbd(0x11d)];constructor(_0x2f38c2,_0x1f2a69){const _0x5b47e3=_0xc21dbd;super(_0x2f38c2),this[_0x5b47e3(0x141)](_0x5b47e3(0x12c),_0x1f2a69),this[_0x5b47e3(0x141)](_0x5b47e3(0x124),!0x0),this[_0x5b47e3(0x141)](_0x5b47e3(0x135),_0x5b47e3(0x125));const _0x27d8ea=new _0x3fd56b();_0x27d8ea[_0x5b47e3(0x10b)]=_0x11f1ce,_0x27d8ea[_0x5b47e3(0x136)]({'attributes':{'class':[_0x5b47e3(0x110)]}});const _0x35a04a=new _0x2bc826(_0x2f38c2);_0x35a04a[_0x5b47e3(0x141)]({'label':_0x16e886(_0x2f38c2,_0x5b47e3(0x13f)),'tooltip':!0x0,'withText':!0x1,'icon':_0x5a21c4}),_0x35a04a[_0x5b47e3(0x132)](_0x5b47e3(0x124))['to'](this),_0x35a04a['on'](_0x5b47e3(0x102),()=>{const _0x23388e=_0x5b47e3;this[_0x23388e(0x12a)](_0x23388e(0x10e),{'index':_0x1f2a69[_0x23388e(0x112)]});});const _0x9cbe7b=new _0x2bc826(_0x2f38c2);_0x9cbe7b[_0x5b47e3(0x141)]({'label':_0x16e886(_0x2f38c2,_0x5b47e3(0x13d)),'tooltip':!0x0,'withText':!0x1,'icon':_0x30068d}),_0x9cbe7b[_0x5b47e3(0x132)](_0x5b47e3(0x124))['to'](this),_0x9cbe7b['on'](_0x5b47e3(0x102),()=>{const _0x29736f=_0x5b47e3;this[_0x29736f(0x12a)](_0x29736f(0x11e),{'index':_0x1f2a69[_0x29736f(0x112)]});});const _0x392a43=new _0x2bc826(_0x2f38c2);_0x392a43[_0x5b47e3(0x141)]({'label':_0x16e886(_0x2f38c2,_0x5b47e3(0x116)),'tooltip':!0x0,'withText':!0x1,'icon':_0x54cf91}),_0x392a43['on'](_0x5b47e3(0x102),()=>{const _0x775c4b=_0x5b47e3;this[_0x775c4b(0x12a)](_0x775c4b(0x10c),{'index':_0x1f2a69[_0x775c4b(0x112)]});}),_0x392a43[_0x5b47e3(0x132)](_0x5b47e3(0x124))['to'](this),this[_0x5b47e3(0x133)]=new _0xb3832e(_0x2f38c2),this[_0x5b47e3(0x133)][_0x5b47e3(0x10a)][_0x5b47e3(0x145)]([_0x35a04a,_0x9cbe7b,_0x392a43]),this[_0x5b47e3(0x122)]=new _0x3fd56b(),this[_0x5b47e3(0x122)][_0x5b47e3(0x10b)]=_0x5d4f8a,this[_0x5b47e3(0x122)][_0x5b47e3(0x136)]({'attributes':{'class':[_0x5b47e3(0x12e)],'data-cke-tooltip-text':_0x16e886(_0x2f38c2,_0x5b47e3(0x100)),'data-cke-tooltip-position':'n'}}),this[_0x5b47e3(0x11d)]=new _0x3fd56b(),this[_0x5b47e3(0x11d)][_0x5b47e3(0x10b)]=_0x49d86b,this[_0x5b47e3(0x11d)][_0x5b47e3(0x136)]({'attributes':{'class':[_0x5b47e3(0x12d)],'data-cke-tooltip-text':_0x16e886(_0x2f38c2,_0x5b47e3(0x117)),'data-cke-tooltip-position':'n'}});const _0x55432b=new _0x410390(_0x2f38c2);_0x55432b[_0x5b47e3(0x143)]({'tag':_0x5b47e3(0x10d),'attributes':{'class':['ck',_0x5b47e3(0x142)]},'children':[_0x16e886(_0x2f38c2,_0x5b47e3(0x120),(_0x1f2a69[_0x5b47e3(0x112)]+0x1)[_0x5b47e3(0x123)]())]}),this[_0x5b47e3(0x13c)]=this[_0x5b47e3(0x12b)](),this[_0x5b47e3(0x13c)][_0x5b47e3(0x145)]([_0x27d8ea,_0x55432b,this[_0x5b47e3(0x133)]]),this[_0x5b47e3(0x143)]({'tag':_0x5b47e3(0x103),'attributes':{'class':['ck',_0x5b47e3(0x128)]},'children':this[_0x5b47e3(0x13c)]}),this['on'](_0x5b47e3(0x140),(_0x2dbfa7,_0x5a47c5,_0x348115,_0xe2666b)=>{const _0x38bcdd=_0x5b47e3;switch(_0xe2666b){case _0x38bcdd(0x125):this[_0x38bcdd(0x13c)][_0x38bcdd(0x108)](this[_0x38bcdd(0x133)]);break;case _0x38bcdd(0x104):this[_0x38bcdd(0x13c)][_0x38bcdd(0x108)](this[_0x38bcdd(0x122)]);break;case _0x38bcdd(0x131):this[_0x38bcdd(0x13c)][_0x38bcdd(0x108)](this[_0x38bcdd(0x11d)]);}switch(_0x348115){case _0x38bcdd(0x125):this[_0x38bcdd(0x13c)][_0x38bcdd(0x139)](this[_0x38bcdd(0x133)]);break;case _0x38bcdd(0x104):this[_0x38bcdd(0x13c)][_0x38bcdd(0x139)](this[_0x38bcdd(0x122)]);break;case _0x38bcdd(0x131):this[_0x38bcdd(0x13c)][_0x38bcdd(0x139)](this[_0x38bcdd(0x11d)]);}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xc016(_0x23bb9c,_0x1117f7){const _0x1c784c=_0x1c78();return _0xc016=function(_0xc0164,_0x30b1fa){_0xc0164=_0xc0164-0x8d;let _0x573667=_0x1c784c[_0xc0164];return _0x573667;},_0xc016(_0x23bb9c,_0x1117f7);}const _0x255e37=_0xc016;function _0x1c78(){const _0x294535=['showDiff','76794BWTSwX','showHeader','isOn','2160208JZcbne','1031354WhFaLA','filter','6526144daNkRD','isVisible','AI_SUGGESTION_HEADER_TITLE','showChangesToggleView','set','render','ck-ai-suggestion__header','toggleShowChanges','AI_SUGGESTION_BUTTON_SHOW_CHANGES','1926015SGlzAk','iconView','679xXLuHQ','setTemplate','execute','isShowChangesToggleVisible','content','7602825DwNFZJ','19264743INHYNF','icon','ck-ai-suggestion__header__show-changes-toggle','remove','div','1nIvVFd','add','children','ck-hidden','bind','span','fire'];_0x1c78=function(){return _0x294535;};return _0x1c78();}(function(_0xa001e,_0x5cefc9){const _0x28f0ef=_0xc016,_0x5a29bd=_0xa001e();while(!![]){try{const _0x1929e7=-parseInt(_0x28f0ef(0xaf))/0x1*(-parseInt(_0x28f0ef(0x97))/0x2)+-parseInt(_0x28f0ef(0xa2))/0x3+-parseInt(_0x28f0ef(0x96))/0x4+parseInt(_0x28f0ef(0xa9))/0x5+parseInt(_0x28f0ef(0x93))/0x6*(parseInt(_0x28f0ef(0xa4))/0x7)+parseInt(_0x28f0ef(0x99))/0x8+-parseInt(_0x28f0ef(0xaa))/0x9;if(_0x1929e7===_0x5cefc9)break;else _0x5a29bd['push'](_0x5a29bd['shift']());}catch(_0x37d783){_0x5a29bd['push'](_0x5a29bd['shift']());}}}(_0x1c78,0xbc371));import{getTranslation as _0x4d204f}from'../../utils/common-translations.js';import{ButtonView as _0x28ca3e,IconView as _0x2c27b4,View as _0x1d3787}from'ckeditor5/src/ui.js';import{IconDocument as _0x216be7,IconShowChangesOff as _0x38835b,IconShowChangesOn as _0xc566e0}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x1d3787{[_0x255e37(0x9c)];constructor(_0x25ccd7,_0x3bfcf2){const _0x521c5c=_0x255e37;super(_0x25ccd7),this[_0x521c5c(0x9d)](_0x521c5c(0xa7),!0x0),this[_0x521c5c(0x9c)]=new ShowChangesToggleView(_0x25ccd7),this[_0x521c5c(0x9c)][_0x521c5c(0x9d)]({'class':_0x521c5c(0xac),'label':_0x4d204f(_0x25ccd7,_0x521c5c(0xa1)),'withText':!0x0}),this[_0x521c5c(0x9c)][_0x521c5c(0x95)]=_0x3bfcf2[_0x521c5c(0x92)],this[_0x521c5c(0x9c)][_0x521c5c(0x8f)](_0x521c5c(0x9a))['to'](this,_0x521c5c(0xa7)),this[_0x521c5c(0x9c)][_0x521c5c(0x8f)](_0x521c5c(0xab))['to'](this[_0x521c5c(0x9c)],_0x521c5c(0x95),_0x218f0b=>_0x218f0b?_0xc566e0:_0x38835b),this[_0x521c5c(0x9c)]['on'](_0x521c5c(0xa6),()=>{const _0xfde19=_0x521c5c;this[_0xfde19(0x9c)][_0xfde19(0x95)]=!this[_0xfde19(0x9c)][_0xfde19(0x95)],this[_0xfde19(0x91)](_0xfde19(0xa0),{'isOn':this[_0xfde19(0x9c)][_0xfde19(0x95)]});});const _0x2148a7=new _0x2c27b4();_0x2148a7[_0x521c5c(0xa8)]=_0x216be7,this[_0x521c5c(0xa5)]({'tag':_0x521c5c(0xae),'attributes':{'class':['ck',_0x521c5c(0x9f),!0x1===_0x3bfcf2[_0x521c5c(0x94)]?_0x521c5c(0x8e):null][_0x521c5c(0x98)](Boolean)},'children':[_0x2148a7,{'tag':_0x521c5c(0x90),'children':[_0x4d204f(_0x25ccd7,_0x521c5c(0x9b))]},this[_0x521c5c(0x9c)]]});}}export class ShowChangesToggleView extends _0x28ca3e{[_0x255e37(0x9e)](){const _0x10d76f=_0x255e37;super[_0x10d76f(0x9e)](),this[_0x10d76f(0x8d)][_0x10d76f(0xad)](this[_0x10d76f(0xa3)]),this[_0x10d76f(0x8d)][_0x10d76f(0xb0)](this[_0x10d76f(0xa3)]);}}
23
+ const _0x453ff9=_0x380f;(function(_0x45dea0,_0x350db1){const _0x24a44f=_0x380f,_0x367409=_0x45dea0();while(!![]){try{const _0x91e287=parseInt(_0x24a44f(0x125))/0x1+parseInt(_0x24a44f(0x142))/0x2*(parseInt(_0x24a44f(0x127))/0x3)+-parseInt(_0x24a44f(0x120))/0x4+-parseInt(_0x24a44f(0x13a))/0x5*(-parseInt(_0x24a44f(0x128))/0x6)+parseInt(_0x24a44f(0x141))/0x7*(-parseInt(_0x24a44f(0x140))/0x8)+-parseInt(_0x24a44f(0x144))/0x9+-parseInt(_0x24a44f(0x12c))/0xa*(-parseInt(_0x24a44f(0x12e))/0xb);if(_0x91e287===_0x350db1)break;else _0x367409['push'](_0x367409['shift']());}catch(_0x53f151){_0x367409['push'](_0x367409['shift']());}}}(_0x101f,0x28e00));import{getTranslation as _0x1cd256}from'../../utils/common-translations.js';import{ButtonView as _0x4091e3,IconView as _0x1127b8,View as _0x1f1745}from'ckeditor5/src/ui.js';function _0x101f(){const _0x38085c=['showHeader','AI_SUGGESTION_HEADER_TITLE','remove','set','children','add','225JeiQkk','toggleShowChanges','fire','span','isVisible','AI_SUGGESTION_BUTTON_SHOW_CHANGES','122096wLcpwb','84PcGAeO','2rjHMCx','execute','2325420WqIGnR','ck-hidden','724160bPEsjy','iconView','setTemplate','isOn','content','300537UNQuwg','showDiff','871665MxIGod','17766qxImQV','render','ck-ai-suggestion__header__show-changes-toggle','showChangesToggleView','10zXZQDy','isShowChangesToggleVisible','722161JkJaWS','ck-ai-suggestion__header','filter','bind','div','icon'];_0x101f=function(){return _0x38085c;};return _0x101f();}import{IconDocument as _0x5957af,IconShowChangesOff as _0x45c3c7,IconShowChangesOn as _0x41aa46}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x1f1745{[_0x453ff9(0x12b)];constructor(_0x48bd27,_0x17f648){const _0x9f3c5f=_0x453ff9;super(_0x48bd27),this[_0x9f3c5f(0x137)](_0x9f3c5f(0x12d),!0x0),this[_0x9f3c5f(0x12b)]=new ShowChangesToggleView(_0x48bd27),this[_0x9f3c5f(0x12b)][_0x9f3c5f(0x137)]({'class':_0x9f3c5f(0x12a),'label':_0x1cd256(_0x48bd27,_0x9f3c5f(0x13f)),'withText':!0x0}),this[_0x9f3c5f(0x12b)][_0x9f3c5f(0x123)]=_0x17f648[_0x9f3c5f(0x126)],this[_0x9f3c5f(0x12b)][_0x9f3c5f(0x131)](_0x9f3c5f(0x13e))['to'](this,_0x9f3c5f(0x12d)),this[_0x9f3c5f(0x12b)][_0x9f3c5f(0x131)](_0x9f3c5f(0x133))['to'](this[_0x9f3c5f(0x12b)],_0x9f3c5f(0x123),_0x4d76c8=>_0x4d76c8?_0x41aa46:_0x45c3c7),this[_0x9f3c5f(0x12b)]['on'](_0x9f3c5f(0x143),()=>{const _0x2b3776=_0x9f3c5f;this[_0x2b3776(0x12b)][_0x2b3776(0x123)]=!this[_0x2b3776(0x12b)][_0x2b3776(0x123)],this[_0x2b3776(0x13c)](_0x2b3776(0x13b),{'isOn':this[_0x2b3776(0x12b)][_0x2b3776(0x123)]});});const _0x351557=new _0x1127b8();_0x351557[_0x9f3c5f(0x124)]=_0x5957af,this[_0x9f3c5f(0x122)]({'tag':_0x9f3c5f(0x132),'attributes':{'class':['ck',_0x9f3c5f(0x12f),!0x1===_0x17f648[_0x9f3c5f(0x134)]?_0x9f3c5f(0x11f):null][_0x9f3c5f(0x130)](Boolean)},'children':[_0x351557,{'tag':_0x9f3c5f(0x13d),'children':[_0x1cd256(_0x48bd27,_0x9f3c5f(0x135))]},this[_0x9f3c5f(0x12b)]]});}}function _0x380f(_0x2d2a42,_0x128365){const _0x101fbf=_0x101f();return _0x380f=function(_0x380f0d,_0x470852){_0x380f0d=_0x380f0d-0x11f;let _0x38bf52=_0x101fbf[_0x380f0d];return _0x38bf52;},_0x380f(_0x2d2a42,_0x128365);}export class ShowChangesToggleView extends _0x4091e3{[_0x453ff9(0x129)](){const _0x3c760a=_0x453ff9;super[_0x3c760a(0x129)](),this[_0x3c760a(0x138)][_0x3c760a(0x136)](this[_0x3c760a(0x121)]),this[_0x3c760a(0x138)][_0x3c760a(0x139)](this[_0x3c760a(0x121)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x56b69d,_0x3b3627){const _0x2088e1=_0x5b33,_0x1ce82c=_0x56b69d();while(!![]){try{const _0x415667=parseInt(_0x2088e1(0x14e))/0x1*(parseInt(_0x2088e1(0x150))/0x2)+parseInt(_0x2088e1(0x152))/0x3+-parseInt(_0x2088e1(0x156))/0x4+parseInt(_0x2088e1(0x151))/0x5+-parseInt(_0x2088e1(0x14b))/0x6+parseInt(_0x2088e1(0x149))/0x7*(-parseInt(_0x2088e1(0x153))/0x8)+-parseInt(_0x2088e1(0x14d))/0x9;if(_0x415667===_0x3b3627)break;else _0x1ce82c['push'](_0x1ce82c['shift']());}catch(_0x2af2fd){_0x1ce82c['push'](_0x1ce82c['shift']());}}}(_0x34b3,0x8afd3));import{ButtonView as _0x3c14bb}from'ckeditor5/src/ui.js';function _0x34b3(){const _0x5c6fe7=['13112ujwsDW','isMaximized','label','686196ufETtw','execute','set','ck-ai-tabs__resize\x20ck-ai-button-tertiary-text','AI_TABS_LABEL_MINIMIZE','isOn','bind','AI_TABS_LABEL_MAXIMIZE','4389PeScCX','resizeTabs','3759162ksblwd','fire','4162896JhMqdL','618bKORBu','icon','3086NTQKqJ','4729305zcuCgc','2874411dvWnVV'];_0x34b3=function(){return _0x5c6fe7;};return _0x34b3();}function _0x5b33(_0x26c2b8,_0x19433d){const _0x34b30f=_0x34b3();return _0x5b33=function(_0x5b334d,_0x33b55e){_0x5b334d=_0x5b334d-0x148;let _0x1010e1=_0x34b30f[_0x5b334d];return _0x1010e1;},_0x5b33(_0x26c2b8,_0x19433d);}import{IconMaximize as _0x4340d6,IconMinimize as _0x417186}from'ckeditor5/src/icons.js';import{getTranslation as _0x342f35}from'../../aicore/utils/common-translations.js';export function createResizeButton(_0x3cbe91,_0x4b773b){const _0x454890=_0x5b33,_0xb3f008=new _0x3c14bb(_0x3cbe91),_0x33b66f=_0x342f35(_0x3cbe91,_0x454890(0x15a)),_0x191156=_0x342f35(_0x3cbe91,_0x454890(0x148));return _0xb3f008[_0x454890(0x158)]({'withText':!0x1,'icon':_0x4340d6,'tooltip':!0x0,'class':_0x454890(0x159)}),_0xb3f008[_0x454890(0x15c)](_0x454890(0x155))['to'](_0x4b773b,_0x454890(0x154),_0x5bb823=>_0x5bb823?_0x33b66f:_0x191156),_0xb3f008[_0x454890(0x15c)](_0x454890(0x14f))['to'](_0x4b773b,_0x454890(0x154),_0x3c834d=>_0x3c834d?_0x417186:_0x4340d6),_0xb3f008[_0x454890(0x15c)](_0x454890(0x15b))['to'](_0x4b773b,_0x454890(0x154)),_0xb3f008['on'](_0x454890(0x157),()=>{const _0x242d80=_0x454890;_0x4b773b[_0x242d80(0x14c)](_0x242d80(0x14a));}),_0xb3f008;}
23
+ (function(_0x4f4738,_0x1186a0){const _0x3f19bd=_0xb9e5,_0x3c2354=_0x4f4738();while(!![]){try{const _0x28dc2e=-parseInt(_0x3f19bd(0x1ba))/0x1*(-parseInt(_0x3f19bd(0x1be))/0x2)+-parseInt(_0x3f19bd(0x1b4))/0x3*(-parseInt(_0x3f19bd(0x1b8))/0x4)+-parseInt(_0x3f19bd(0x1c0))/0x5*(-parseInt(_0x3f19bd(0x1b5))/0x6)+parseInt(_0x3f19bd(0x1c3))/0x7+-parseInt(_0x3f19bd(0x1c1))/0x8*(parseInt(_0x3f19bd(0x1c6))/0x9)+parseInt(_0x3f19bd(0x1b7))/0xa*(parseInt(_0x3f19bd(0x1c4))/0xb)+-parseInt(_0x3f19bd(0x1bc))/0xc*(parseInt(_0x3f19bd(0x1b9))/0xd);if(_0x28dc2e===_0x1186a0)break;else _0x3c2354['push'](_0x3c2354['shift']());}catch(_0x2a0200){_0x3c2354['push'](_0x3c2354['shift']());}}}(_0x197b,0x4cf75));import{ButtonView as _0x100a93}from'ckeditor5/src/ui.js';function _0xb9e5(_0x35f38e,_0x466a65){const _0x197b2a=_0x197b();return _0xb9e5=function(_0xb9e586,_0xb718f5){_0xb9e586=_0xb9e586-0x1b0;let _0xc5e15f=_0x197b2a[_0xb9e586];return _0xc5e15f;},_0xb9e5(_0x35f38e,_0x466a65);}import{IconMaximize as _0x20d76c,IconMinimize as _0x172320}from'ckeditor5/src/icons.js';function _0x197b(){const _0x1b08ed=['isOn','10817484PvRAqo','execute','2jHIKqD','fire','5zbOShh','938824vLSTfq','ck-ai-tabs__resize\x20ck-ai-button-tertiary-text','2080659RHllzJ','451lydSNC','AI_TABS_LABEL_MINIMIZE','18oxXaji','bind','label','resizeTabs','set','AI_TABS_LABEL_MAXIMIZE','isMaximized','3FQQoKc','3713646eOFdkZ','icon','53030BLacgA','2450668esBCNH','26BVbhUp','606605UQbvtR'];_0x197b=function(){return _0x1b08ed;};return _0x197b();}import{getTranslation as _0xabe6af}from'../../aicore/utils/common-translations.js';export function createResizeButton(_0x31d163,_0x4db0e6){const _0x4d3c40=_0xb9e5,_0x15b3e6=new _0x100a93(_0x31d163),_0x207489=_0xabe6af(_0x31d163,_0x4d3c40(0x1c5)),_0x2ab96d=_0xabe6af(_0x31d163,_0x4d3c40(0x1b2));return _0x15b3e6[_0x4d3c40(0x1b1)]({'withText':!0x1,'icon':_0x20d76c,'tooltip':!0x0,'class':_0x4d3c40(0x1c2)}),_0x15b3e6[_0x4d3c40(0x1c7)](_0x4d3c40(0x1c8))['to'](_0x4db0e6,_0x4d3c40(0x1b3),_0x8ca0a2=>_0x8ca0a2?_0x207489:_0x2ab96d),_0x15b3e6[_0x4d3c40(0x1c7)](_0x4d3c40(0x1b6))['to'](_0x4db0e6,_0x4d3c40(0x1b3),_0x1854b6=>_0x1854b6?_0x172320:_0x20d76c),_0x15b3e6[_0x4d3c40(0x1c7)](_0x4d3c40(0x1bb))['to'](_0x4db0e6,_0x4d3c40(0x1b3)),_0x15b3e6['on'](_0x4d3c40(0x1bd),()=>{const _0x24d0c6=_0x4d3c40;_0x4db0e6[_0x24d0c6(0x1bf)](_0x24d0c6(0x1b0));}),_0x15b3e6;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5bb229=_0x5af0;(function(_0x248c70,_0x20e5b5){const _0x3ade95=_0x5af0,_0x11bfeb=_0x248c70();while(!![]){try{const _0x29e92a=-parseInt(_0x3ade95(0xb0))/0x1+-parseInt(_0x3ade95(0xb8))/0x2+parseInt(_0x3ade95(0xa9))/0x3+-parseInt(_0x3ade95(0xbd))/0x4+-parseInt(_0x3ade95(0xb2))/0x5+-parseInt(_0x3ade95(0xa7))/0x6+parseInt(_0x3ade95(0xc0))/0x7*(parseInt(_0x3ade95(0xc1))/0x8);if(_0x29e92a===_0x20e5b5)break;else _0x11bfeb['push'](_0x11bfeb['shift']());}catch(_0x34683d){_0x11bfeb['push'](_0x11bfeb['shift']());}}}(_0x4ba8,0x2f5f5));import{CKEditorError as _0x30acdb,compareArrays as _0xc5b891}from'ckeditor5/src/utils.js';function _0x5af0(_0x11e2da,_0x128f03){const _0x4ba8bf=_0x4ba8();return _0x5af0=function(_0x5af015,_0x5ec384){_0x5af015=_0x5af015-0xa4;let _0x1ef281=_0x4ba8bf[_0x5af015];return _0x1ef281;},_0x5af0(_0x11e2da,_0x128f03);}function _0x4ba8(){const _0x4312db=['same','createFromPath','createAfter','ai-documentposition-index-out-of-bounds','index','slice','18320qStYgw','createAt','1098030TQvSdF','indexOf','document','end','path','start','111796KBqjvV','previousNode','parent','nextNode','ai-documentposition-createfrompath-path-cannot-be-empty','1000900NAzWfY','length','data','3115IsTZWg','10984chovNA','createBefore','isEqual','reduce','match','1205514ikTjMm','getNudgedToWordBoundary','984060cPNkCp'];_0x4ba8=function(){return _0x4312db;};return _0x4ba8();}import{getNodePath as _0x46501c,isText as _0x511d15,getChildren as _0x19bbca,isDocument as _0x251eac,getParent as _0x2f8136,textContent as _0x3c049a,hasChildren as _0x1669fd}from'./htmlparser.js';export class DocumentPosition{[_0x5bb229(0xba)];[_0x5bb229(0xae)];[_0x5bb229(0xb4)];constructor(_0x1a71be,_0x43631a,_0x4088db){const _0x4820b2=_0x5bb229;if(_0x511d15(_0x43631a)&&_0x4088db>_0x43631a[_0x4820b2(0xbf)][_0x4820b2(0xbe)])throw new _0x30acdb(_0x4820b2(0xad),null,{'index':_0x4088db,'parent':_0x43631a});if(_0x1669fd(_0x43631a)&&_0x4088db>_0x19bbca(_0x43631a)[_0x4820b2(0xbe)])throw new _0x30acdb(_0x4820b2(0xad),null,{'index':_0x4088db,'parent':_0x43631a});if(_0x4088db<0x0)throw new _0x30acdb(_0x4820b2(0xad),null,{'index':_0x4088db,'parent':_0x43631a});this[_0x4820b2(0xba)]=_0x43631a,this[_0x4820b2(0xae)]=_0x4088db,this[_0x4820b2(0xb4)]=_0x1a71be;}get[_0x5bb229(0xb6)](){const _0x57499a=_0x5bb229;return[..._0x46501c(this[_0x57499a(0xba)]),this[_0x57499a(0xae)]];}[_0x5bb229(0xa4)](_0x308aff){const _0x52c6e9=_0x5bb229;return this[_0x52c6e9(0xb4)]==_0x308aff[_0x52c6e9(0xb4)]&&_0x52c6e9(0xaa)===_0xc5b891(this[_0x52c6e9(0xb6)],_0x308aff[_0x52c6e9(0xb6)]);}get[_0x5bb229(0xbb)](){const _0x5c7c49=_0x5bb229;if(_0x1669fd(this[_0x5c7c49(0xba)])){const _0x57abcf=_0x19bbca(this[_0x5c7c49(0xba)])[this[_0x5c7c49(0xae)]];if(_0x57abcf)return _0x57abcf;{const _0x34b17c=DocumentPosition[_0x5c7c49(0xac)](this[_0x5c7c49(0xb4)],this[_0x5c7c49(0xba)]);if(_0x34b17c)return _0x34b17c[_0x5c7c49(0xbb)];}}return null;}get[_0x5bb229(0xb9)](){const _0x54efbd=_0x5bb229;if(_0x1669fd(this[_0x54efbd(0xba)])){const _0x2d0bd3=_0x19bbca(this[_0x54efbd(0xba)])[this[_0x54efbd(0xae)]-0x1];if(_0x2d0bd3)return _0x2d0bd3;{const _0x40d614=DocumentPosition[_0x54efbd(0xc2)](this[_0x54efbd(0xb4)],this[_0x54efbd(0xba)]);if(_0x40d614)return _0x40d614[_0x54efbd(0xb9)];}}return null;}[_0x5bb229(0xa8)](_0x144644=_0x5bb229(0xb7)){const _0x4796d0=_0x5bb229;if(!_0x511d15(this[_0x4796d0(0xba)]))return this;const _0x2b48c4=this[_0x4796d0(0xb6)][this[_0x4796d0(0xb6)][_0x4796d0(0xbe)]-0x1],_0x1452e7=_0x3c049a(this[_0x4796d0(0xba)])[_0x4796d0(0xa6)](/(?:\s*\S+\s*)/g);let _0x5633d8=0x0,_0x28834f=_0x2b48c4;for(const _0x29b612 of _0x1452e7){if(_0x5633d8+_0x29b612[_0x4796d0(0xbe)]===_0x2b48c4)return this;if(_0x5633d8+_0x29b612[_0x4796d0(0xbe)]>_0x2b48c4){_0x28834f=_0x4796d0(0xb7)===_0x144644?_0x5633d8:_0x5633d8+_0x29b612[_0x4796d0(0xbe)];break;}_0x5633d8+=_0x29b612[_0x4796d0(0xbe)];}return DocumentPosition[_0x4796d0(0xb1)](this[_0x4796d0(0xb4)],this[_0x4796d0(0xba)],_0x28834f);}static[_0x5bb229(0xac)](_0x4869a4,_0x5dbd81){const _0x4b71dc=_0x5bb229;if(_0x251eac(_0x5dbd81))return null;const _0x2b2af4=_0x2f8136(_0x5dbd81);return DocumentPosition[_0x4b71dc(0xb1)](_0x4869a4,_0x2b2af4,_0x19bbca(_0x2b2af4)[_0x4b71dc(0xb3)](_0x5dbd81)+0x1);}static[_0x5bb229(0xc2)](_0x844823,_0x1895ef){const _0x359230=_0x5bb229;if(_0x251eac(_0x1895ef))return null;const _0x4f1486=_0x2f8136(_0x1895ef);return DocumentPosition[_0x359230(0xb1)](_0x844823,_0x4f1486,_0x19bbca(_0x4f1486)[_0x359230(0xb3)](_0x1895ef));}static[_0x5bb229(0xb1)](_0x23028a,_0x52e1f7,_0x20e838=_0x5bb229(0xb7)){const _0x6df78b=_0x5bb229;return new DocumentPosition(_0x23028a,_0x52e1f7,_0x6df78b(0xb7)===_0x20e838?0x0:_0x6df78b(0xb5)===_0x20e838?_0x511d15(_0x52e1f7)?_0x52e1f7[_0x6df78b(0xbf)][_0x6df78b(0xbe)]:_0x19bbca(_0x52e1f7)[_0x6df78b(0xbe)]:_0x20e838);}static[_0x5bb229(0xab)](_0x387c28,_0xa94c9a){const _0x15837e=_0x5bb229;if(!_0xa94c9a[_0x15837e(0xbe)])throw new _0x30acdb(_0x15837e(0xbc),null,{'path':_0xa94c9a});const _0x43c146=_0xa94c9a[_0x15837e(0xaf)](0x0,-0x1)[_0x15837e(0xa5)]((_0x99a788,_0xad1820)=>_0x511d15(_0x99a788)?_0x99a788:_0x19bbca(_0x99a788)[_0xad1820],_0x387c28);return DocumentPosition[_0x15837e(0xb1)](_0x387c28,_0x43c146,_0xa94c9a[_0xa94c9a[_0x15837e(0xbe)]-0x1]);}}
23
+ const _0x4a3ec0=_0x5612;function _0x5612(_0xc243e7,_0x2f19e2){const _0x481119=_0x4811();return _0x5612=function(_0x56126e,_0x1cd738){_0x56126e=_0x56126e-0x1a5;let _0x3b9430=_0x481119[_0x56126e];return _0x3b9430;},_0x5612(_0xc243e7,_0x2f19e2);}(function(_0xea2cf3,_0x1441f1){const _0xfd3706=_0x5612,_0x4ddb14=_0xea2cf3();while(!![]){try{const _0x128332=parseInt(_0xfd3706(0x1ae))/0x1*(parseInt(_0xfd3706(0x1b6))/0x2)+parseInt(_0xfd3706(0x1c3))/0x3+parseInt(_0xfd3706(0x1bc))/0x4*(-parseInt(_0xfd3706(0x1a6))/0x5)+parseInt(_0xfd3706(0x1be))/0x6+-parseInt(_0xfd3706(0x1a8))/0x7*(parseInt(_0xfd3706(0x1b3))/0x8)+-parseInt(_0xfd3706(0x1bb))/0x9*(parseInt(_0xfd3706(0x1ad))/0xa)+parseInt(_0xfd3706(0x1c7))/0xb*(parseInt(_0xfd3706(0x1a5))/0xc);if(_0x128332===_0x1441f1)break;else _0x4ddb14['push'](_0x4ddb14['shift']());}catch(_0x12037d){_0x4ddb14['push'](_0x4ddb14['shift']());}}}(_0x4811,0xb26ae));import{CKEditorError as _0x3eb797,compareArrays as _0x4d94c7}from'ckeditor5/src/utils.js';function _0x4811(){const _0x19a885=['same','10180159QztPyN','12icoujA','5gCtwGr','indexOf','850213JVYbUz','parent','match','data','reduce','3940bZYJnI','31GubyUy','document','createAfter','slice','createAt','96HjBobn','ai-documentposition-index-out-of-bounds','start','85394DZQCdT','createFromPath','index','getNudgedToWordBoundary','previousNode','25119rnZWtC','1275124APtWHa','path','3686166zIvrBx','ai-documentposition-createfrompath-path-cannot-be-empty','length','createBefore','end','2229912NrkaSm','nextNode','isEqual'];_0x4811=function(){return _0x19a885;};return _0x4811();}import{getNodePath as _0x948efe,isText as _0x1f2c75,getChildren as _0x39bdaa,isDocument as _0x44e8ba,getParent as _0x50dec4,textContent as _0x921dde,hasChildren as _0x247c08}from'./htmlparser.js';export class DocumentPosition{[_0x4a3ec0(0x1a9)];[_0x4a3ec0(0x1b8)];[_0x4a3ec0(0x1af)];constructor(_0x22d64d,_0x3d71a5,_0x6a6245){const _0x3201ac=_0x4a3ec0;if(_0x1f2c75(_0x3d71a5)&&_0x6a6245>_0x3d71a5[_0x3201ac(0x1ab)][_0x3201ac(0x1c0)])throw new _0x3eb797(_0x3201ac(0x1b4),null,{'index':_0x6a6245,'parent':_0x3d71a5});if(_0x247c08(_0x3d71a5)&&_0x6a6245>_0x39bdaa(_0x3d71a5)[_0x3201ac(0x1c0)])throw new _0x3eb797(_0x3201ac(0x1b4),null,{'index':_0x6a6245,'parent':_0x3d71a5});if(_0x6a6245<0x0)throw new _0x3eb797(_0x3201ac(0x1b4),null,{'index':_0x6a6245,'parent':_0x3d71a5});this[_0x3201ac(0x1a9)]=_0x3d71a5,this[_0x3201ac(0x1b8)]=_0x6a6245,this[_0x3201ac(0x1af)]=_0x22d64d;}get[_0x4a3ec0(0x1bd)](){const _0x1b7698=_0x4a3ec0;return[..._0x948efe(this[_0x1b7698(0x1a9)]),this[_0x1b7698(0x1b8)]];}[_0x4a3ec0(0x1c5)](_0x24e1ad){const _0x505ef6=_0x4a3ec0;return this[_0x505ef6(0x1af)]==_0x24e1ad[_0x505ef6(0x1af)]&&_0x505ef6(0x1c6)===_0x4d94c7(this[_0x505ef6(0x1bd)],_0x24e1ad[_0x505ef6(0x1bd)]);}get[_0x4a3ec0(0x1c4)](){const _0x78c108=_0x4a3ec0;if(_0x247c08(this[_0x78c108(0x1a9)])){const _0x396d65=_0x39bdaa(this[_0x78c108(0x1a9)])[this[_0x78c108(0x1b8)]];if(_0x396d65)return _0x396d65;{const _0x1df73b=DocumentPosition[_0x78c108(0x1b0)](this[_0x78c108(0x1af)],this[_0x78c108(0x1a9)]);if(_0x1df73b)return _0x1df73b[_0x78c108(0x1c4)];}}return null;}get[_0x4a3ec0(0x1ba)](){const _0x48bfe8=_0x4a3ec0;if(_0x247c08(this[_0x48bfe8(0x1a9)])){const _0x40b8f3=_0x39bdaa(this[_0x48bfe8(0x1a9)])[this[_0x48bfe8(0x1b8)]-0x1];if(_0x40b8f3)return _0x40b8f3;{const _0x2b5bbd=DocumentPosition[_0x48bfe8(0x1c1)](this[_0x48bfe8(0x1af)],this[_0x48bfe8(0x1a9)]);if(_0x2b5bbd)return _0x2b5bbd[_0x48bfe8(0x1ba)];}}return null;}[_0x4a3ec0(0x1b9)](_0x5dce84=_0x4a3ec0(0x1b5)){const _0x565b67=_0x4a3ec0;if(!_0x1f2c75(this[_0x565b67(0x1a9)]))return this;const _0x28d6fa=this[_0x565b67(0x1bd)][this[_0x565b67(0x1bd)][_0x565b67(0x1c0)]-0x1],_0x2b8adc=_0x921dde(this[_0x565b67(0x1a9)])[_0x565b67(0x1aa)](/(?:\s*\S+\s*)/g);let _0x172ce9=0x0,_0x3c6364=_0x28d6fa;for(const _0x95a7fe of _0x2b8adc){if(_0x172ce9+_0x95a7fe[_0x565b67(0x1c0)]===_0x28d6fa)return this;if(_0x172ce9+_0x95a7fe[_0x565b67(0x1c0)]>_0x28d6fa){_0x3c6364=_0x565b67(0x1b5)===_0x5dce84?_0x172ce9:_0x172ce9+_0x95a7fe[_0x565b67(0x1c0)];break;}_0x172ce9+=_0x95a7fe[_0x565b67(0x1c0)];}return DocumentPosition[_0x565b67(0x1b2)](this[_0x565b67(0x1af)],this[_0x565b67(0x1a9)],_0x3c6364);}static[_0x4a3ec0(0x1b0)](_0x5cd06e,_0x445daf){const _0xb20692=_0x4a3ec0;if(_0x44e8ba(_0x445daf))return null;const _0x292f56=_0x50dec4(_0x445daf);return DocumentPosition[_0xb20692(0x1b2)](_0x5cd06e,_0x292f56,_0x39bdaa(_0x292f56)[_0xb20692(0x1a7)](_0x445daf)+0x1);}static[_0x4a3ec0(0x1c1)](_0x585c9c,_0x38f560){const _0x5259d0=_0x4a3ec0;if(_0x44e8ba(_0x38f560))return null;const _0x131ff3=_0x50dec4(_0x38f560);return DocumentPosition[_0x5259d0(0x1b2)](_0x585c9c,_0x131ff3,_0x39bdaa(_0x131ff3)[_0x5259d0(0x1a7)](_0x38f560));}static[_0x4a3ec0(0x1b2)](_0x21af89,_0x4408f4,_0x2a3a65=_0x4a3ec0(0x1b5)){const _0x39a0dc=_0x4a3ec0;return new DocumentPosition(_0x21af89,_0x4408f4,_0x39a0dc(0x1b5)===_0x2a3a65?0x0:_0x39a0dc(0x1c2)===_0x2a3a65?_0x1f2c75(_0x4408f4)?_0x4408f4[_0x39a0dc(0x1ab)][_0x39a0dc(0x1c0)]:_0x39bdaa(_0x4408f4)[_0x39a0dc(0x1c0)]:_0x2a3a65);}static[_0x4a3ec0(0x1b7)](_0x46a9d5,_0x426daa){const _0x52a44f=_0x4a3ec0;if(!_0x426daa[_0x52a44f(0x1c0)])throw new _0x3eb797(_0x52a44f(0x1bf),null,{'path':_0x426daa});const _0x4a135b=_0x426daa[_0x52a44f(0x1b1)](0x0,-0x1)[_0x52a44f(0x1ac)]((_0x3c595d,_0x416dc4)=>_0x1f2c75(_0x3c595d)?_0x3c595d:_0x39bdaa(_0x3c595d)[_0x416dc4],_0x46a9d5);return DocumentPosition[_0x52a44f(0x1b2)](_0x46a9d5,_0x4a135b,_0x426daa[_0x426daa[_0x52a44f(0x1c0)]-0x1]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x26e3(_0x300100,_0x547249){var _0x5b9776=_0x5b97();return _0x26e3=function(_0x26e37f,_0x3276d5){_0x26e37f=_0x26e37f-0x177;var _0x125d3e=_0x5b9776[_0x26e37f];return _0x125d3e;},_0x26e3(_0x300100,_0x547249);}(function(_0x1775ba,_0x45e50f){var _0x42bec9=_0x26e3,_0xa709f4=_0x1775ba();while(!![]){try{var _0x4ecf9b=-parseInt(_0x42bec9(0x186))/0x1+parseInt(_0x42bec9(0x17d))/0x2*(parseInt(_0x42bec9(0x17e))/0x3)+parseInt(_0x42bec9(0x184))/0x4+parseInt(_0x42bec9(0x182))/0x5*(parseInt(_0x42bec9(0x17f))/0x6)+-parseInt(_0x42bec9(0x178))/0x7*(parseInt(_0x42bec9(0x17c))/0x8)+parseInt(_0x42bec9(0x181))/0x9*(parseInt(_0x42bec9(0x183))/0xa)+parseInt(_0x42bec9(0x188))/0xb*(-parseInt(_0x42bec9(0x179))/0xc);if(_0x4ecf9b===_0x45e50f)break;else _0xa709f4['push'](_0xa709f4['shift']());}catch(_0x6583ad){_0xa709f4['push'](_0xa709f4['shift']());}}}(_0x5b97,0xded54));import{CKEditorError as _0xca308f}from'ckeditor5/src/utils.js';function _0x5b97(){var _0x374762=['5634aEpOXl','478810sQHFjA','10310UBhDAl','2290764OZPTzz','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.','1529404IcwbcQ','ai-get-editor-from-context-no-editor','44lxprLw','editors','98bOsuYT','5638128aNIpwZ','length','get','234256DUnKLe','18926eIurYl','537fwJezx','114qWRlSv','warn'];_0x5b97=function(){return _0x374762;};return _0x5b97();}import{Editor as _0x245bb4}from'ckeditor5/src/core.js';export function getEditorFromContext(_0x8d875d){var _0x74e70=_0x26e3;if(_0x8d875d instanceof _0x245bb4)return _0x8d875d;if(_0x8d875d?.[_0x74e70(0x177)]&&_0x8d875d[_0x74e70(0x177)][_0x74e70(0x17b)](0x0))return _0x8d875d[_0x74e70(0x177)][_0x74e70(0x17a)]>0x1&&console[_0x74e70(0x180)](_0x74e70(0x185)),_0x8d875d[_0x74e70(0x177)][_0x74e70(0x17b)](0x0);throw new _0xca308f(_0x74e70(0x187));}
23
+ (function(_0x549f43,_0xee8e27){var _0x4eed00=_0xd536,_0x40f5ab=_0x549f43();while(!![]){try{var _0x580828=parseInt(_0x4eed00(0x194))/0x1*(parseInt(_0x4eed00(0x199))/0x2)+parseInt(_0x4eed00(0x191))/0x3*(parseInt(_0x4eed00(0x19a))/0x4)+parseInt(_0x4eed00(0x197))/0x5+parseInt(_0x4eed00(0x190))/0x6+-parseInt(_0x4eed00(0x196))/0x7+parseInt(_0x4eed00(0x18f))/0x8+-parseInt(_0x4eed00(0x195))/0x9;if(_0x580828===_0xee8e27)break;else _0x40f5ab['push'](_0x40f5ab['shift']());}catch(_0x592a53){_0x40f5ab['push'](_0x40f5ab['shift']());}}}(_0x1d58,0x912fa));function _0x1d58(){var _0x3977a3=['ai-get-editor-from-context-no-editor','5461760hwAkLz','4831662HrIbCA','87IXKgKL','get','length','82oaOwYO','27358524aGEhVt','2269407ZHholr','5870605QcSxXz','warn','3754QyDfBa','157612OMxAtI','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.','editors'];_0x1d58=function(){return _0x3977a3;};return _0x1d58();}import{CKEditorError as _0x2efbca}from'ckeditor5/src/utils.js';import{Editor as _0xb7e6a8}from'ckeditor5/src/core.js';function _0xd536(_0x40a477,_0x5a41fe){var _0x1d581b=_0x1d58();return _0xd536=function(_0xd5366a,_0x1f3020){_0xd5366a=_0xd5366a-0x18e;var _0x53d0b0=_0x1d581b[_0xd5366a];return _0x53d0b0;},_0xd536(_0x40a477,_0x5a41fe);}export function getEditorFromContext(_0x2e09a3){var _0x4a3995=_0xd536;if(_0x2e09a3 instanceof _0xb7e6a8)return _0x2e09a3;if(_0x2e09a3?.[_0x4a3995(0x19c)]&&_0x2e09a3[_0x4a3995(0x19c)][_0x4a3995(0x192)](0x0))return _0x2e09a3[_0x4a3995(0x19c)][_0x4a3995(0x193)]>0x1&&console[_0x4a3995(0x198)](_0x4a3995(0x19b)),_0x2e09a3[_0x4a3995(0x19c)][_0x4a3995(0x192)](0x0);throw new _0x2efbca(_0x4a3995(0x18e));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x417d52,_0xbec0ea){const _0x4b996f=_0x10c4,_0x318e9d=_0x417d52();while(!![]){try{const _0xa9fe9f=-parseInt(_0x4b996f(0xcf))/0x1+-parseInt(_0x4b996f(0xc5))/0x2+-parseInt(_0x4b996f(0xdb))/0x3*(-parseInt(_0x4b996f(0xcd))/0x4)+-parseInt(_0x4b996f(0xc0))/0x5+parseInt(_0x4b996f(0xd6))/0x6*(-parseInt(_0x4b996f(0xd7))/0x7)+-parseInt(_0x4b996f(0xd2))/0x8*(-parseInt(_0x4b996f(0xcc))/0x9)+parseInt(_0x4b996f(0xc9))/0xa;if(_0xa9fe9f===_0xbec0ea)break;else _0x318e9d['push'](_0x318e9d['shift']());}catch(_0x5cf141){_0x318e9d['push'](_0x318e9d['shift']());}}}(_0x14d6,0x423ca));function _0x14d6(){const _0x44ae5b=['1355035bHICYU','operationsA','model','map','length','431916ZyNwCr','content','version','cloneNode','6504430ilrluH','new','document','271233HAhLEu','3416cQCZtw','getDiff','23296sBrekw','shift','history','8ffitRt','type','data-id','filter','628962vqZJYd','7CRzAII','documentContextContent','node','getOperations','723IfGPap','removed','anchorId','getDocumentContext','previousSibling'];_0x14d6=function(){return _0x44ae5b;};return _0x14d6();}import{transformOperationSets as _0x584e8f}from'ckeditor5/src/engine.js';function _0x10c4(_0x52e0b1,_0x41a6b0){const _0x14d625=_0x14d6();return _0x10c4=function(_0x10c40d,_0x5933ac){_0x10c40d=_0x10c40d-0xbc;let _0x1c8e23=_0x14d625[_0x10c40d];return _0x1c8e23;},_0x10c4(_0x52e0b1,_0x41a6b0);}import{append as _0x2bd838,findByAttribute as _0x1b9cee,prependChild as _0xff39b3,removeElement as _0x20ae6a,serialize as _0x3c1ac6}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x2a0cf7,interaction:_0x3bd8ff,reply:_0x973e22,groups:_0x1ddd22,transform:_0x263210,documentCompare:_0x3904d1,documentCompareOptions:_0x58015a}){const _0x24bf14=_0x10c4,_0x57b334=_0x3bd8ff[_0x24bf14(0xbe)]();if(!_0x57b334)return[];const _0x4cb3dd=_0x57b334[_0x24bf14(0xc6)],_0x2e5fa6=_0x57b334[_0x24bf14(0xc7)],_0x306a73=_0x973e22[_0x24bf14(0xd8)][_0x24bf14(0xc8)](!0x0);for(const {changes:_0x4d5f11}of _0x1ddd22){const _0x463c85=_0x4d5f11[_0x24bf14(0xd5)](_0x28208f=>_0x24bf14(0xca)!=_0x28208f[_0x24bf14(0xd3)])[_0x24bf14(0xc3)](_0x39af78=>_0x1b9cee(_0x24bf14(0xd4),_0x39af78['id'],_0x306a73)),_0x4753d1=_0x4d5f11[_0x24bf14(0xd5)](_0x3fdd75=>_0x24bf14(0xbc)!=_0x3fdd75[_0x24bf14(0xd3)])[_0x24bf14(0xc3)](_0xfec278=>_0xfec278[_0x24bf14(0xd9)][_0x24bf14(0xc8)](!0x0));let _0x42b935=null;if(_0x463c85[_0x24bf14(0xc4)]){_0x42b935=_0x463c85[0x0][_0x24bf14(0xbf)];for(let _0x3be60c=0x0;_0x3be60c<_0x463c85[_0x24bf14(0xc4)];_0x3be60c++)_0x20ae6a(_0x463c85[_0x3be60c]);}if(_0x4753d1[_0x24bf14(0xc4)]){_0x42b935||(_0x4d5f11[0x0][_0x24bf14(0xbd)]?_0x42b935=_0x1b9cee(_0x24bf14(0xd4),_0x4d5f11[0x0][_0x24bf14(0xbd)],_0x306a73):(_0x42b935=_0x4753d1[_0x24bf14(0xd0)](),_0xff39b3(_0x306a73,_0x42b935)));for(let _0x488371=0x0;_0x488371<_0x4753d1[_0x24bf14(0xc4)];_0x488371++)_0x2bd838(_0x42b935,_0x4753d1[_0x488371]),_0x42b935=_0x4753d1[_0x488371];}}const _0x2ec137=_0x3c1ac6(_0x306a73),_0x5da10b=_0x3904d1[_0x24bf14(0xce)](_0x4cb3dd,_0x2ec137,_0x58015a)[_0x24bf14(0xda)]();if(_0x263210){const _0x10bae5=_0x2a0cf7[_0x24bf14(0xc2)][_0x24bf14(0xcb)][_0x24bf14(0xd1)][_0x24bf14(0xda)](_0x2e5fa6),_0x5e13dd={'document':_0x2a0cf7[_0x24bf14(0xc2)][_0x24bf14(0xcb)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x584e8f(_0x5da10b,_0x10bae5,_0x5e13dd)[_0x24bf14(0xc1)];}return _0x5da10b;}
23
+ (function(_0x285073,_0x2bc8af){const _0x59e2e9=_0x4a0e,_0x2e6c08=_0x285073();while(!![]){try{const _0x3341d1=-parseInt(_0x59e2e9(0x97))/0x1*(parseInt(_0x59e2e9(0x8e))/0x2)+parseInt(_0x59e2e9(0x9e))/0x3*(parseInt(_0x59e2e9(0x91))/0x4)+parseInt(_0x59e2e9(0x9f))/0x5*(parseInt(_0x59e2e9(0x90))/0x6)+parseInt(_0x59e2e9(0x8c))/0x7+-parseInt(_0x59e2e9(0x84))/0x8+-parseInt(_0x59e2e9(0x94))/0x9*(parseInt(_0x59e2e9(0x93))/0xa)+-parseInt(_0x59e2e9(0x85))/0xb;if(_0x3341d1===_0x2bc8af)break;else _0x2e6c08['push'](_0x2e6c08['shift']());}catch(_0x10784f){_0x2e6c08['push'](_0x2e6c08['shift']());}}}(_0x314a,0xa5f4b));function _0x314a(){const _0x7b06c1=['previousSibling','cloneNode','content','906969zSBqpf','anchorId','42qWqNmk','getDiff','96fWhZxa','81448hlkyYn','new','270iePtTB','250038XeMyXU','operationsA','map','3886jdNUZb','documentContextContent','getOperations','length','version','data-id','removed','42eSpzxn','394170sdYtQX','node','document','filter','shift','history','1144296zcZdVy','236137qrmoAS','model','type','getDocumentContext'];_0x314a=function(){return _0x7b06c1;};return _0x314a();}import{transformOperationSets as _0xe3a80c}from'ckeditor5/src/engine.js';function _0x4a0e(_0x13432b,_0xe5f739){const _0x314a67=_0x314a();return _0x4a0e=function(_0x4a0e77,_0x2d7293){_0x4a0e77=_0x4a0e77-0x80;let _0x4d5e6c=_0x314a67[_0x4a0e77];return _0x4d5e6c;},_0x4a0e(_0x13432b,_0xe5f739);}import{append as _0x3cd87e,findByAttribute as _0x4ee335,prependChild as _0x10d38b,removeElement as _0x9629be,serialize as _0x431541}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x4ca247,interaction:_0x1b26f8,reply:_0x110153,groups:_0x1a360d,transform:_0x62ca8c,documentCompare:_0x44470,documentCompareOptions:_0x7a0810}){const _0x3fbfdd=_0x4a0e,_0x207b4c=_0x1b26f8[_0x3fbfdd(0x88)]();if(!_0x207b4c)return[];const _0x567509=_0x207b4c[_0x3fbfdd(0x8b)],_0x145a02=_0x207b4c[_0x3fbfdd(0x9b)],_0xe60ef6=_0x110153[_0x3fbfdd(0x98)][_0x3fbfdd(0x8a)](!0x0);for(const {changes:_0x45fbb2}of _0x1a360d){const _0x5b2aad=_0x45fbb2[_0x3fbfdd(0x81)](_0x3833bd=>_0x3fbfdd(0x92)!=_0x3833bd[_0x3fbfdd(0x87)])[_0x3fbfdd(0x96)](_0x21eece=>_0x4ee335(_0x3fbfdd(0x9c),_0x21eece['id'],_0xe60ef6)),_0x3c0683=_0x45fbb2[_0x3fbfdd(0x81)](_0x511a05=>_0x3fbfdd(0x9d)!=_0x511a05[_0x3fbfdd(0x87)])[_0x3fbfdd(0x96)](_0x52f751=>_0x52f751[_0x3fbfdd(0xa0)][_0x3fbfdd(0x8a)](!0x0));let _0x3a154d=null;if(_0x5b2aad[_0x3fbfdd(0x9a)]){_0x3a154d=_0x5b2aad[0x0][_0x3fbfdd(0x89)];for(let _0x33d6a6=0x0;_0x33d6a6<_0x5b2aad[_0x3fbfdd(0x9a)];_0x33d6a6++)_0x9629be(_0x5b2aad[_0x33d6a6]);}if(_0x3c0683[_0x3fbfdd(0x9a)]){_0x3a154d||(_0x45fbb2[0x0][_0x3fbfdd(0x8d)]?_0x3a154d=_0x4ee335(_0x3fbfdd(0x9c),_0x45fbb2[0x0][_0x3fbfdd(0x8d)],_0xe60ef6):(_0x3a154d=_0x3c0683[_0x3fbfdd(0x82)](),_0x10d38b(_0xe60ef6,_0x3a154d)));for(let _0x29e08f=0x0;_0x29e08f<_0x3c0683[_0x3fbfdd(0x9a)];_0x29e08f++)_0x3cd87e(_0x3a154d,_0x3c0683[_0x29e08f]),_0x3a154d=_0x3c0683[_0x29e08f];}}const _0x81b65e=_0x431541(_0xe60ef6),_0x3defb7=_0x44470[_0x3fbfdd(0x8f)](_0x567509,_0x81b65e,_0x7a0810)[_0x3fbfdd(0x99)]();if(_0x62ca8c){const _0x2ae2c4=_0x4ca247[_0x3fbfdd(0x86)][_0x3fbfdd(0x80)][_0x3fbfdd(0x83)][_0x3fbfdd(0x99)](_0x145a02),_0x205137={'document':_0x4ca247[_0x3fbfdd(0x86)][_0x3fbfdd(0x80)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0xe3a80c(_0x3defb7,_0x2ae2c4,_0x205137)[_0x3fbfdd(0x95)];}return _0x3defb7;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x216d38,_0x2f628a){const _0xf56e9e=_0x3240,_0x2b94b6=_0x216d38();while(!![]){try{const _0x499adf=parseInt(_0xf56e9e(0x1e3))/0x1+-parseInt(_0xf56e9e(0x1cf))/0x2+-parseInt(_0xf56e9e(0x20b))/0x3*(parseInt(_0xf56e9e(0x1e7))/0x4)+parseInt(_0xf56e9e(0x1fd))/0x5*(parseInt(_0xf56e9e(0x1bc))/0x6)+parseInt(_0xf56e9e(0x1c7))/0x7*(-parseInt(_0xf56e9e(0x1f5))/0x8)+-parseInt(_0xf56e9e(0x1d2))/0x9+-parseInt(_0xf56e9e(0x1e5))/0xa*(parseInt(_0xf56e9e(0x1c1))/0xb);if(_0x499adf===_0x2f628a)break;else _0x2b94b6['push'](_0x2b94b6['shift']());}catch(_0x5f339c){_0x2b94b6['push'](_0x2b94b6['shift']());}}}(_0x5dce,0x9a88a));import{findOne as _0x322ae1,getAttribute as _0x56c492,Document as _0x4db4b5,serialize as _0x3b0d26,parse as _0x5d1b1a}from'./htmlparser.js';function _0x3240(_0x6cf486,_0x18b039){const _0x5dce67=_0x5dce();return _0x3240=function(_0x3240e,_0x91171){_0x3240e=_0x3240e-0x1b5;let _0x2df2f0=_0x5dce67[_0x3240e];return _0x2df2f0;},_0x3240(_0x6cf486,_0x18b039);}import{_DetachOperation as _0x42aafe,_removeFromModelNodeList as _0x24c2c2,_insertIntoModelNodeList as _0x280e2e}from'ckeditor5/src/engine.js';export function getSuggestionPartsFromReply({editor:_0x15b5c8,changeGroups:_0x5c2d4b,documentContextContent:_0x503457,showDiff:_0x35b0c3,trimUnchanged:_0x231a19=!0x0}){const _0x2d5928=_0x3240;return _0x5c2d4b[_0x2d5928(0x208)](_0x135a7f=>{const _0x3f47a4=_0x2d5928,_0x4eb0fb=new _0x4db4b5([]),_0x2e0256=new _0x4db4b5([]);for(const _0x2928fd of _0x135a7f[_0x3f47a4(0x1f8)])if(_0x35b0c3&&_0x3f47a4(0x205)==_0x2928fd[_0x3f47a4(0x1c2)]||_0x2e0256[_0x3f47a4(0x1b8)][_0x3f47a4(0x1e1)](_0x2928fd[_0x3f47a4(0x1f2)][_0x3f47a4(0x1e0)](!0x0)),_0x3f47a4(0x1d4)!=_0x2928fd[_0x3f47a4(0x1c2)]&&(_0x35b0c3||_0x3f47a4(0x205)!=_0x2928fd[_0x3f47a4(0x1c2)])){const _0x30eb8b=_0x322ae1(_0x721ac3=>_0x56c492(_0x721ac3,_0x3f47a4(0x1ea))==_0x2928fd['id'],_0x503457,!0x0);_0x30eb8b&&_0x4eb0fb[_0x3f47a4(0x1b8)][_0x3f47a4(0x1e1)](_0x30eb8b[_0x3f47a4(0x1e0)](!0x0));}const {content:_0x32172a,hasChanges:_0x1d5d50}=function(_0x5004d3,_0x1f0625,_0x3574bf,_0x47e9bf,_0x47c294=!0x0){const _0x82958d=_0x3f47a4,_0x22b5d4=_0x5004d3[_0x82958d(0x1c3)][_0x82958d(0x1c6)](_0x82958d(0x211)),_0x2c3058=_0x5004d3[_0x82958d(0x1c3)][_0x82958d(0x1c6)](_0x82958d(0x1ec)),_0x116f6a=_0x3b0d26(_0x1f0625),_0x3b487e=_0x3b0d26(_0x3574bf),_0x2ac69b=_0x5004d3[_0x82958d(0x1f3)][_0x82958d(0x1f7)](_0x116f6a,_0x82958d(0x204)),_0x14bdd0=_0x5004d3[_0x82958d(0x1bd)][_0x82958d(0x1dc)](_0x2ac69b,0x0),_0x146a3f=_0x22b5d4[_0x82958d(0x1d1)](_0x116f6a,_0x3b487e,{'anchor':_0x14bdd0,'markDeletions':_0x47e9bf}),_0x286e57=_0x146a3f[_0x82958d(0x1ff)]();if(0x0==_0x286e57[_0x82958d(0x1fb)])return{'content':_0x1f0625[_0x82958d(0x1e0)](!0x0),'hasChanges':!0x1};_0x47e9bf?_0x2c3058[_0x82958d(0x20a)](_0x286e57):_0x5004d3[_0x82958d(0x1bd)][_0x82958d(0x1c9)](_0x3aa08a=>{const _0x45b997=_0x82958d;for(const _0x8bed35 of _0x286e57)if(_0x45b997(0x209)==_0x8bed35[_0x45b997(0x1c2)]){const _0x21e008=_0x8bed35[_0x45b997(0x203)],_0x53cc45=_0x8bed35[_0x45b997(0x210)],_0x4a5a52=new _0x42aafe(_0x21e008,_0x53cc45);_0x3aa08a[_0x45b997(0x1ba)][_0x45b997(0x1f9)](_0x4a5a52),_0x5004d3[_0x45b997(0x1bd)][_0x45b997(0x1bf)](_0x4a5a52);}else _0x8bed35[_0x45b997(0x1ca)]=null,_0x8bed35[_0x45b997(0x1e6)]=!0x1,_0x3aa08a[_0x45b997(0x1ba)][_0x45b997(0x1f9)](_0x8bed35),_0x5004d3[_0x45b997(0x1bd)][_0x45b997(0x1bf)](_0x8bed35);});if(_0x47c294){const _0x2c63d3=getMinimalSelection(_0x5004d3,_0x286e57,_0x2ac69b);expandSelectionWithContext(_0x5004d3[_0x82958d(0x1bd)],_0x2c63d3),function(_0x2c52fd,_0x1e7fbd){const _0x4705e7=_0x82958d,_0x3dc157=_0x1e7fbd[_0x4705e7(0x1c0)]()[_0x4705e7(0x1f6)];let _0x46f496=_0x1e7fbd[_0x4705e7(0x1c0)]()[_0x4705e7(0x1de)];const _0x3e0abf=_0x3dc157[_0x4705e7(0x214)];(_0x46f496[_0x4705e7(0x1be)]||_0x46f496[_0x4705e7(0x1cb)]&&_0x46f496[_0x4705e7(0x1cb)]['is'](_0x4705e7(0x1cd)))&&(_0x280e2e(_0x46f496,_0x4705e7(0x1e2)),_0x46f496=_0x46f496[_0x4705e7(0x201)](0x3)),(_0x3dc157[_0x4705e7(0x1be)]||_0x3dc157[_0x4705e7(0x20c)]&&_0x3dc157[_0x4705e7(0x20c)]['is'](_0x4705e7(0x1cd)))&&(_0x280e2e(_0x3dc157,_0x4705e7(0x1e2)),function(_0x12107b,_0x5da813,_0x20bf6a){const _0x1be3eb=_0x4705e7;for(let [_0xdafd27,_0x895712]of _0x12107b[_0x1be3eb(0x1df)]){const _0x444219=_0x895712[_0x1be3eb(0x20d)](_0x5da813,_0x20bf6a,!0x1);_0x895712=_0x444219[0x0],_0x12107b[_0x1be3eb(0x1df)][_0x1be3eb(0x200)](_0xdafd27,_0x895712);}}(_0x3e0abf,_0x3dc157,0x3),_0x3dc157[_0x4705e7(0x1fc)]==_0x46f496[_0x4705e7(0x1fc)]&&(_0x46f496=_0x46f496[_0x4705e7(0x201)](0x3)));const _0x1ec175=_0x2c52fd[_0x4705e7(0x1f4)](_0x2c52fd[_0x4705e7(0x1dc)](_0x3e0abf,0x0),_0x3dc157),_0x8501d4=_0x2c52fd[_0x4705e7(0x1f4)](_0x46f496,_0x2c52fd[_0x4705e7(0x1dc)](_0x3e0abf,_0x4705e7(0x1de))),_0x143d8f=[..._0x1ec175[_0x4705e7(0x1f0)](),..._0x8501d4[_0x4705e7(0x1f0)]()];_0x143d8f[_0x4705e7(0x1c8)]();for(const _0x3a5f76 of _0x143d8f)_0x24c2c2(_0x3a5f76),_transformMarkersByDeletion(_0x3e0abf,_0x3a5f76);}(_0x5004d3[_0x82958d(0x1bd)],_0x2c63d3);}const _0x336752=_0x5004d3[_0x82958d(0x1f3)][_0x82958d(0x1e9)](_0x2ac69b,{'showSuggestionHighlights':!0x0});return{'content':_0x5d1b1a(_0x336752),'hasChanges':!0x0};}(_0x15b5c8,_0x4eb0fb,_0x2e0256,_0x35b0c3,_0x231a19);return{'type':_0x135a7f[_0x3f47a4(0x1f8)][0x0][_0x3f47a4(0x1c2)],'index':_0x135a7f[_0x3f47a4(0x206)],'content':_0x32172a,'hasChanges':_0x1d5d50};});}export function getMinimalSelection(_0x507f98,_0x1545b3,_0x74bc57){const _0x396dd6=_0x3240,_0x240d5b=_0x507f98[_0x396dd6(0x1c3)][_0x396dd6(0x1c6)](_0x396dd6(0x211));let _0x50f82b=_0x507f98[_0x396dd6(0x1bd)][_0x396dd6(0x1dc)](_0x74bc57,Number[_0x396dd6(0x1ef)]),_0x519e98=_0x507f98[_0x396dd6(0x1bd)][_0x396dd6(0x1dc)](_0x74bc57,0x0);for(const _0x25b60f of _0x1545b3){let _0x41f560,_0x762787;if(_0x240d5b[_0x396dd6(0x1eb)](_0x25b60f))_0x41f560=_0x25b60f[_0x396dd6(0x1bb)][_0x396dd6(0x1f6)],_0x762787=_0x25b60f[_0x396dd6(0x1bb)][_0x396dd6(0x1de)];else switch(_0x25b60f[_0x396dd6(0x1c2)]){case _0x396dd6(0x1ee):_0x41f560=_0x25b60f[_0x396dd6(0x1da)],_0x762787=_0x41f560[_0x396dd6(0x201)](0x1);break;case _0x396dd6(0x212):case _0x396dd6(0x1d3):case _0x396dd6(0x1db):_0x41f560=_0x25b60f[_0x396dd6(0x1b5)][_0x396dd6(0x1f6)],_0x762787=_0x25b60f[_0x396dd6(0x1b5)][_0x396dd6(0x1de)];break;case _0x396dd6(0x202):_0x41f560=_0x25b60f[_0x396dd6(0x1da)],_0x762787=_0x41f560[_0x396dd6(0x201)](_0x25b60f[_0x396dd6(0x210)]);break;case _0x396dd6(0x1f1):_0x41f560=_0x25b60f[_0x396dd6(0x1fe)],_0x762787=_0x25b60f[_0x396dd6(0x20f)];break;case _0x396dd6(0x1d0):{const _0x375063=_0x25b60f[_0x396dd6(0x1ed)][_0x396dd6(0x207)][_0x396dd6(0x1d7)](-0x1);_0x41f560=_0x507f98[_0x396dd6(0x1bd)][_0x396dd6(0x1d9)](_0x74bc57,_0x375063),_0x762787=_0x41f560[_0x396dd6(0x201)](0x1);break;}case _0x396dd6(0x209):{const _0x51c06f=_0x25b60f[_0x396dd6(0x210)],_0x22e0a0=_0x25b60f[_0x396dd6(0x203)][_0x396dd6(0x20d)](_0x25b60f[_0x396dd6(0x1ed)],_0x51c06f),_0x30585c=_0x25b60f[_0x396dd6(0x1c5)]();_0x396dd6(0x209)==_0x25b60f[_0x396dd6(0x1c2)]?(_0x41f560=_0x22e0a0,_0x762787=_0x22e0a0):(_0x41f560=_0x30585c,_0x762787=_0x30585c[_0x396dd6(0x201)](_0x51c06f));break;}}_0x41f560&&_0x41f560[_0x396dd6(0x1b7)](_0x50f82b)&&(_0x50f82b=_0x41f560),_0x762787&&_0x762787[_0x396dd6(0x1dd)](_0x519e98)&&(_0x519e98=_0x762787);}return _0x507f98[_0x396dd6(0x1bd)][_0x396dd6(0x1b6)](_0x507f98[_0x396dd6(0x1bd)][_0x396dd6(0x1f4)](_0x50f82b,_0x519e98));}export function expandSelectionWithContext(_0x14a06b,_0x20f0d7){const _0x15c141=_0x3240;fn(_0x14a06b,_0x20f0d7,_0x15c141(0x1e4));const _0x596558=_0x20f0d7[_0x15c141(0x1c0)]();_0x20f0d7[_0x15c141(0x1fa)]([]),_0x20f0d7[_0x15c141(0x1fa)](_0x596558,{'backward':!0x0}),fn(_0x14a06b,_0x20f0d7,_0x15c141(0x1c4));}function _0x5dce(){const _0xfc5fe9=['createPositionFromPath','position','changeAttribute','createPositionAt','isAfter','end','markers','cloneNode','push','...','1208072uoKSzr','forward','840vulevc','isDocumentOperation','101740DZiAmX','_getTransformedByDeletion','stringify','data-id','isMarkedRemoveOperation','TrackChangesEditing','targetPosition','rename','POSITIVE_INFINITY','getMinimalFlatRanges','split','node','data','createRange','325384QwdDuq','start','parse','changes','addOperation','setTo','length','parent','20trFkuU','splitPosition','getOperations','set','getShiftedBy','insert','sourcePosition','$root','removed','index','path','map','remove','_applyOperationsAsSuggestions','45xLzkty','nodeBefore','_getTransformedByInsertion','offset','moveTargetPosition','howMany','DocumentCompare','addAttribute','schema','root','range','createSelection','isBefore','children','isObject','batch','newRange','1849494fWTPpd','model','textNode','applyOperation','getFirstRange','6248CQqdtc','type','plugins','backward','getMovedRangeStart','get','7VIPqho','reverse','change','baseVersion','nodeAfter','element','$text','focus','1582032HsxJnw','merge','getDiff','4924548aHPnDC','removeAttribute','new','isBlock','modifySelection','slice','word'];_0x5dce=function(){return _0xfc5fe9;};return _0x5dce();}function fn(_0xb959c8,_0x230e1a,_0x35c2b8){const _0x401197=_0x3240;let _0x3fc405=0x14;for(;_0x3fc405;){_0xb959c8[_0x401197(0x1d6)](_0x230e1a,{'unit':_0x401197(0x1d8),'direction':_0x35c2b8}),_0x3fc405--;const _0x20749b=_0x230e1a[_0x401197(0x1ce)][_0x401197(0x1e4)==_0x35c2b8?_0x401197(0x20c):_0x401197(0x1cb)];if(_0x20749b&&_0x20749b['is'](_0x401197(0x1cc))&&_0xb959c8[_0x401197(0x213)][_0x401197(0x1d5)](_0x20749b)&&_0xb959c8[_0x401197(0x213)][_0x401197(0x1b9)](_0x20749b))break;}}export function _transformMarkersByDeletion(_0x232833,_0x465840){const _0x1637f5=_0x3240;for(let [_0x554b60,_0x16131d]of _0x232833[_0x1637f5(0x1df)])_0x16131d=_0x16131d[_0x1637f5(0x1e8)](_0x465840[_0x1637f5(0x1f6)],_0x465840[_0x1637f5(0x1de)][_0x1637f5(0x20e)]-_0x465840[_0x1637f5(0x1f6)][_0x1637f5(0x20e)]),_0x232833[_0x1637f5(0x1df)][_0x1637f5(0x200)](_0x554b60,_0x16131d);}
23
+ (function(_0x3b8c7c,_0x18950e){const _0x1734d6=_0x5026,_0x56892e=_0x3b8c7c();while(!![]){try{const _0x4e7339=parseInt(_0x1734d6(0x16e))/0x1+parseInt(_0x1734d6(0x1ad))/0x2*(parseInt(_0x1734d6(0x1b8))/0x3)+-parseInt(_0x1734d6(0x180))/0x4+parseInt(_0x1734d6(0x1b0))/0x5+parseInt(_0x1734d6(0x1c1))/0x6+parseInt(_0x1734d6(0x1b1))/0x7+-parseInt(_0x1734d6(0x16b))/0x8*(parseInt(_0x1734d6(0x183))/0x9);if(_0x4e7339===_0x18950e)break;else _0x56892e['push'](_0x56892e['shift']());}catch(_0xa63acd){_0x56892e['push'](_0x56892e['shift']());}}}(_0x1004,0xef4ec));import{findOne as _0x21d76d,getAttribute as _0xc28bc6,Document as _0x1ed55e,serialize as _0x5f1d4a,parse as _0x1e48b5}from'./htmlparser.js';function _0x1004(){const _0x3e16fb=['focus','changeAttribute','isDocumentOperation','type','2968374rYerlT','rename','getDiff','$text','addAttribute','POSITIVE_INFINITY','isMarkedRemoveOperation','createSelection','DocumentCompare','10353090VznCks','element','split','$root','sourcePosition','parent','forward','range','41080tyyxlB','createPositionFromPath','getOperations','439938Gacugl','path','removed','end','getMinimalFlatRanges','word','parse','getShiftedBy','index','node','reverse','start','get','splitPosition','baseVersion','children','isBlock','markers','714364oZteat','createRange','_applyOperationsAsSuggestions','8433FVacUm','model','nodeAfter','moveTargetPosition','offset','data-id','_getTransformedByInsertion','targetPosition','batch','merge','createPositionAt','set','...','changes','getMovedRangeStart','_getTransformedByDeletion','isBefore','length','setTo','backward','isObject','cloneNode','nodeBefore','slice','TrackChangesEditing','root','getFirstRange','stringify','remove','insert','map','newRange','schema','isAfter','new','position','change','plugins','removeAttribute','modifySelection','push','addOperation','2feFsFP','howMany','textNode','8962080HieZzG','7160741hyMFzc','applyOperation','data'];_0x1004=function(){return _0x3e16fb;};return _0x1004();}function _0x5026(_0x277406,_0x3a4565){const _0x100438=_0x1004();return _0x5026=function(_0x5026a2,_0x1aff80){_0x5026a2=_0x5026a2-0x168;let _0xee205b=_0x100438[_0x5026a2];return _0xee205b;},_0x5026(_0x277406,_0x3a4565);}import{_DetachOperation as _0x510f12,_removeFromModelNodeList as _0x1ee9bb,_insertIntoModelNodeList as _0x1b37b5}from'ckeditor5/src/engine.js';export function getSuggestionPartsFromReply({editor:_0x116a92,changeGroups:_0x487ed2,documentContextContent:_0x3b9104,showDiff:_0x16a398,trimUnchanged:_0x3c9546=!0x0}){const _0x12f981=_0x5026;return _0x487ed2[_0x12f981(0x1a1)](_0x46dfd4=>{const _0xf586ac=_0x12f981,_0x3b0bc0=new _0x1ed55e([]),_0x2f55a1=new _0x1ed55e([]);for(const _0x155db8 of _0x46dfd4[_0xf586ac(0x190)])if(_0x16a398&&_0xf586ac(0x170)==_0x155db8[_0xf586ac(0x1b7)]||_0x2f55a1[_0xf586ac(0x17d)][_0xf586ac(0x1ab)](_0x155db8[_0xf586ac(0x177)][_0xf586ac(0x198)](!0x0)),_0xf586ac(0x1a5)!=_0x155db8[_0xf586ac(0x1b7)]&&(_0x16a398||_0xf586ac(0x170)!=_0x155db8[_0xf586ac(0x1b7)])){const _0x2ef88e=_0x21d76d(_0xb0b413=>_0xc28bc6(_0xb0b413,_0xf586ac(0x188))==_0x155db8['id'],_0x3b9104,!0x0);_0x2ef88e&&_0x3b0bc0[_0xf586ac(0x17d)][_0xf586ac(0x1ab)](_0x2ef88e[_0xf586ac(0x198)](!0x0));}const {content:_0x10f765,hasChanges:_0x28814a}=function(_0x45df93,_0x566875,_0x10dd28,_0x5bb416,_0x34029e=!0x0){const _0x9b5a65=_0xf586ac,_0xd273f=_0x45df93[_0x9b5a65(0x1a8)][_0x9b5a65(0x17a)](_0x9b5a65(0x1c0)),_0xa60cb5=_0x45df93[_0x9b5a65(0x1a8)][_0x9b5a65(0x17a)](_0x9b5a65(0x19b)),_0x3cfd33=_0x5f1d4a(_0x566875),_0x1d059b=_0x5f1d4a(_0x10dd28),_0x49a0db=_0x45df93[_0x9b5a65(0x1b3)][_0x9b5a65(0x174)](_0x3cfd33,_0x9b5a65(0x1c4)),_0x47e8ec=_0x45df93[_0x9b5a65(0x184)][_0x9b5a65(0x18d)](_0x49a0db,0x0),_0x368bca=_0xd273f[_0x9b5a65(0x1ba)](_0x3cfd33,_0x1d059b,{'anchor':_0x47e8ec,'markDeletions':_0x5bb416}),_0x4aa66a=_0x368bca[_0x9b5a65(0x16d)]();if(0x0==_0x4aa66a[_0x9b5a65(0x194)])return{'content':_0x566875[_0x9b5a65(0x198)](!0x0),'hasChanges':!0x1};_0x5bb416?_0xa60cb5[_0x9b5a65(0x182)](_0x4aa66a):_0x45df93[_0x9b5a65(0x184)][_0x9b5a65(0x1a7)](_0x5e5ca6=>{const _0xcf903e=_0x9b5a65;for(const _0xc7c3f7 of _0x4aa66a)if(_0xcf903e(0x19f)==_0xc7c3f7[_0xcf903e(0x1b7)]){const _0x2a4339=_0xc7c3f7[_0xcf903e(0x1c5)],_0x8f6023=_0xc7c3f7[_0xcf903e(0x1ae)],_0x27e88a=new _0x510f12(_0x2a4339,_0x8f6023);_0x5e5ca6[_0xcf903e(0x18b)][_0xcf903e(0x1ac)](_0x27e88a),_0x45df93[_0xcf903e(0x184)][_0xcf903e(0x1b2)](_0x27e88a);}else _0xc7c3f7[_0xcf903e(0x17c)]=null,_0xc7c3f7[_0xcf903e(0x1b6)]=!0x1,_0x5e5ca6[_0xcf903e(0x18b)][_0xcf903e(0x1ac)](_0xc7c3f7),_0x45df93[_0xcf903e(0x184)][_0xcf903e(0x1b2)](_0xc7c3f7);});if(_0x34029e){const _0x293ae9=getMinimalSelection(_0x45df93,_0x4aa66a,_0x49a0db);expandSelectionWithContext(_0x45df93[_0x9b5a65(0x184)],_0x293ae9),function(_0x1e8f10,_0x1a7ff4){const _0x545fb0=_0x9b5a65,_0x181b85=_0x1a7ff4[_0x545fb0(0x19d)]()[_0x545fb0(0x179)];let _0x1bdc7b=_0x1a7ff4[_0x545fb0(0x19d)]()[_0x545fb0(0x171)];const _0x3d8c16=_0x181b85[_0x545fb0(0x19c)];(_0x1bdc7b[_0x545fb0(0x1af)]||_0x1bdc7b[_0x545fb0(0x185)]&&_0x1bdc7b[_0x545fb0(0x185)]['is'](_0x545fb0(0x1bb)))&&(_0x1b37b5(_0x1bdc7b,_0x545fb0(0x18f)),_0x1bdc7b=_0x1bdc7b[_0x545fb0(0x175)](0x3)),(_0x181b85[_0x545fb0(0x1af)]||_0x181b85[_0x545fb0(0x199)]&&_0x181b85[_0x545fb0(0x199)]['is'](_0x545fb0(0x1bb)))&&(_0x1b37b5(_0x181b85,_0x545fb0(0x18f)),function(_0x1f4bed,_0x20a2aa,_0x1d0950){const _0x55c16a=_0x545fb0;for(let [_0x140873,_0xb745e5]of _0x1f4bed[_0x55c16a(0x17f)]){const _0x34859e=_0xb745e5[_0x55c16a(0x189)](_0x20a2aa,_0x1d0950,!0x1);_0xb745e5=_0x34859e[0x0],_0x1f4bed[_0x55c16a(0x17f)][_0x55c16a(0x18e)](_0x140873,_0xb745e5);}}(_0x3d8c16,_0x181b85,0x3),_0x181b85[_0x545fb0(0x168)]==_0x1bdc7b[_0x545fb0(0x168)]&&(_0x1bdc7b=_0x1bdc7b[_0x545fb0(0x175)](0x3)));const _0x507366=_0x1e8f10[_0x545fb0(0x181)](_0x1e8f10[_0x545fb0(0x18d)](_0x3d8c16,0x0),_0x181b85),_0x223338=_0x1e8f10[_0x545fb0(0x181)](_0x1bdc7b,_0x1e8f10[_0x545fb0(0x18d)](_0x3d8c16,_0x545fb0(0x171))),_0x1a57b1=[..._0x507366[_0x545fb0(0x172)](),..._0x223338[_0x545fb0(0x172)]()];_0x1a57b1[_0x545fb0(0x178)]();for(const _0xa4b1f8 of _0x1a57b1)_0x1ee9bb(_0xa4b1f8),_transformMarkersByDeletion(_0x3d8c16,_0xa4b1f8);}(_0x45df93[_0x9b5a65(0x184)],_0x293ae9);}const _0x2e3c90=_0x45df93[_0x9b5a65(0x1b3)][_0x9b5a65(0x19e)](_0x49a0db,{'showSuggestionHighlights':!0x0});return{'content':_0x1e48b5(_0x2e3c90),'hasChanges':!0x0};}(_0x116a92,_0x3b0bc0,_0x2f55a1,_0x16a398,_0x3c9546);return{'type':_0x46dfd4[_0xf586ac(0x190)][0x0][_0xf586ac(0x1b7)],'index':_0x46dfd4[_0xf586ac(0x176)],'content':_0x10f765,'hasChanges':_0x28814a};});}export function getMinimalSelection(_0x88ccd1,_0x1fd862,_0x19017d){const _0x1e1369=_0x5026,_0x53f714=_0x88ccd1[_0x1e1369(0x1a8)][_0x1e1369(0x17a)](_0x1e1369(0x1c0));let _0x18beb3=_0x88ccd1[_0x1e1369(0x184)][_0x1e1369(0x18d)](_0x19017d,Number[_0x1e1369(0x1bd)]),_0x5f3693=_0x88ccd1[_0x1e1369(0x184)][_0x1e1369(0x18d)](_0x19017d,0x0);for(const _0x141f7f of _0x1fd862){let _0x5bf74c,_0x93a239;if(_0x53f714[_0x1e1369(0x1be)](_0x141f7f))_0x5bf74c=_0x141f7f[_0x1e1369(0x1a2)][_0x1e1369(0x179)],_0x93a239=_0x141f7f[_0x1e1369(0x1a2)][_0x1e1369(0x171)];else switch(_0x141f7f[_0x1e1369(0x1b7)]){case _0x1e1369(0x1b9):_0x5bf74c=_0x141f7f[_0x1e1369(0x1a6)],_0x93a239=_0x5bf74c[_0x1e1369(0x175)](0x1);break;case _0x1e1369(0x1bc):case _0x1e1369(0x1a9):case _0x1e1369(0x1b5):_0x5bf74c=_0x141f7f[_0x1e1369(0x16a)][_0x1e1369(0x179)],_0x93a239=_0x141f7f[_0x1e1369(0x16a)][_0x1e1369(0x171)];break;case _0x1e1369(0x1a0):_0x5bf74c=_0x141f7f[_0x1e1369(0x1a6)],_0x93a239=_0x5bf74c[_0x1e1369(0x175)](_0x141f7f[_0x1e1369(0x1ae)]);break;case _0x1e1369(0x1c3):_0x5bf74c=_0x141f7f[_0x1e1369(0x17b)],_0x93a239=_0x141f7f[_0x1e1369(0x186)];break;case _0x1e1369(0x18c):{const _0x4da469=_0x141f7f[_0x1e1369(0x18a)][_0x1e1369(0x16f)][_0x1e1369(0x19a)](-0x1);_0x5bf74c=_0x88ccd1[_0x1e1369(0x184)][_0x1e1369(0x16c)](_0x19017d,_0x4da469),_0x93a239=_0x5bf74c[_0x1e1369(0x175)](0x1);break;}case _0x1e1369(0x19f):{const _0x23cb2a=_0x141f7f[_0x1e1369(0x1ae)],_0x1a6a45=_0x141f7f[_0x1e1369(0x1c5)][_0x1e1369(0x189)](_0x141f7f[_0x1e1369(0x18a)],_0x23cb2a),_0x20af5d=_0x141f7f[_0x1e1369(0x191)]();_0x1e1369(0x19f)==_0x141f7f[_0x1e1369(0x1b7)]?(_0x5bf74c=_0x1a6a45,_0x93a239=_0x1a6a45):(_0x5bf74c=_0x20af5d,_0x93a239=_0x20af5d[_0x1e1369(0x175)](_0x23cb2a));break;}}_0x5bf74c&&_0x5bf74c[_0x1e1369(0x193)](_0x18beb3)&&(_0x18beb3=_0x5bf74c),_0x93a239&&_0x93a239[_0x1e1369(0x1a4)](_0x5f3693)&&(_0x5f3693=_0x93a239);}return _0x88ccd1[_0x1e1369(0x184)][_0x1e1369(0x1bf)](_0x88ccd1[_0x1e1369(0x184)][_0x1e1369(0x181)](_0x18beb3,_0x5f3693));}export function expandSelectionWithContext(_0x158cfa,_0x4e72f9){const _0x28ccf6=_0x5026;fn(_0x158cfa,_0x4e72f9,_0x28ccf6(0x169));const _0x1d59d7=_0x4e72f9[_0x28ccf6(0x19d)]();_0x4e72f9[_0x28ccf6(0x195)]([]),_0x4e72f9[_0x28ccf6(0x195)](_0x1d59d7,{'backward':!0x0}),fn(_0x158cfa,_0x4e72f9,_0x28ccf6(0x196));}function fn(_0x427f36,_0x1e8e42,_0x2f8948){const _0x46476b=_0x5026;let _0x4d705d=0x14;for(;_0x4d705d;){_0x427f36[_0x46476b(0x1aa)](_0x1e8e42,{'unit':_0x46476b(0x173),'direction':_0x2f8948}),_0x4d705d--;const _0x2860aa=_0x1e8e42[_0x46476b(0x1b4)][_0x46476b(0x169)==_0x2f8948?_0x46476b(0x199):_0x46476b(0x185)];if(_0x2860aa&&_0x2860aa['is'](_0x46476b(0x1c2))&&_0x427f36[_0x46476b(0x1a3)][_0x46476b(0x17e)](_0x2860aa)&&_0x427f36[_0x46476b(0x1a3)][_0x46476b(0x197)](_0x2860aa))break;}}export function _transformMarkersByDeletion(_0x312d13,_0x3192c5){const _0x58a855=_0x5026;for(let [_0x5845ce,_0x615718]of _0x312d13[_0x58a855(0x17f)])_0x615718=_0x615718[_0x58a855(0x192)](_0x3192c5[_0x58a855(0x179)],_0x3192c5[_0x58a855(0x171)][_0x58a855(0x187)]-_0x3192c5[_0x58a855(0x179)][_0x58a855(0x187)]),_0x312d13[_0x58a855(0x17f)][_0x58a855(0x18e)](_0x5845ce,_0x615718);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x243e15=_0x4027;(function(_0x537971,_0x29e4c3){var _0x10bece=_0x4027,_0xb24c09=_0x537971();while(!![]){try{var _0x96c2fd=parseInt(_0x10bece(0x181))/0x1+parseInt(_0x10bece(0x183))/0x2*(-parseInt(_0x10bece(0x180))/0x3)+-parseInt(_0x10bece(0x190))/0x4+parseInt(_0x10bece(0x18b))/0x5+parseInt(_0x10bece(0x184))/0x6*(-parseInt(_0x10bece(0x18d))/0x7)+parseInt(_0x10bece(0x18a))/0x8*(parseInt(_0x10bece(0x17f))/0x9)+-parseInt(_0x10bece(0x186))/0xa*(-parseInt(_0x10bece(0x182))/0xb);if(_0x96c2fd===_0x29e4c3)break;else _0xb24c09['push'](_0xb24c09['shift']());}catch(_0x2c090c){_0xb24c09['push'](_0xb24c09['shift']());}}}(_0x5852,0xad20b));function _0x4027(_0x45f063,_0x2c5c5a){var _0x5852d8=_0x5852();return _0x4027=function(_0x402732,_0x545eee){_0x402732=_0x402732-0x17f;var _0x9ddd5e=_0x5852d8[_0x402732];return _0x9ddd5e;},_0x4027(_0x45f063,_0x2c5c5a);}import{Plugin as _0x575698}from'ckeditor5/src/core.js';function _0x5852(){var _0x1061b=['isOfficialPlugin','3669624WrKMas','ai.quickActions','1917BgKjov','50781oKbAHQ','808764AMatMJ','869SaEofy','18MfhBNF','6EaEDPc','AIQuickActions','113110eFrIpb','isPremiumPlugin','config','requires','5192NfBWlc','4377665MYtobP','define','6560561dPdFIV','pluginName'];_0x5852=function(){return _0x1061b;};return _0x5852();}import{AIQuickActionsUI as _0x53be11}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x5ca47a}from'./aiquickactionsediting.js';export class AIQuickActions extends _0x575698{static get[_0x243e15(0x189)](){return[_0x53be11,_0x5ca47a];}static get[_0x243e15(0x18e)](){var _0x298dc6=_0x243e15;return _0x298dc6(0x185);}static get[_0x243e15(0x18f)](){return!0x0;}static get[_0x243e15(0x187)](){return!0x0;}constructor(_0x17c7d0){var _0x256b0e=_0x243e15;super(_0x17c7d0),_0x17c7d0[_0x256b0e(0x188)][_0x256b0e(0x18c)](_0x256b0e(0x191),{'extraCommands':[],'removeCommands':[]});}}
23
+ var _0x5673bf=_0x2a8e;function _0x515e(){var _0x564fb8=['isOfficialPlugin','3480729mkQAgx','AIQuickActions','1820648CVXVHZ','define','7RDuKJv','6705552aGJBOs','286245ptShsd','4790trTzNC','isPremiumPlugin','1019017vWThBO','requires','ai.quickActions','pluginName','4pmFyeG','2376RlfIwb','config','1182144ZewwHs'];_0x515e=function(){return _0x564fb8;};return _0x515e();}(function(_0x449ec4,_0x404125){var _0x3bc9b7=_0x2a8e,_0x220693=_0x449ec4();while(!![]){try{var _0x17ed31=parseInt(_0x3bc9b7(0x92))/0x1+-parseInt(_0x3bc9b7(0x87))/0x2+-parseInt(_0x3bc9b7(0x89))/0x3*(parseInt(_0x3bc9b7(0x96))/0x4)+-parseInt(_0x3bc9b7(0x8f))/0x5+parseInt(_0x3bc9b7(0x8e))/0x6+parseInt(_0x3bc9b7(0x8d))/0x7*(parseInt(_0x3bc9b7(0x8b))/0x8)+parseInt(_0x3bc9b7(0x97))/0x9*(parseInt(_0x3bc9b7(0x90))/0xa);if(_0x17ed31===_0x404125)break;else _0x220693['push'](_0x220693['shift']());}catch(_0x4f5246){_0x220693['push'](_0x220693['shift']());}}}(_0x515e,0xa6862));import{Plugin as _0x27ae40}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x2e4cfb}from'./aiquickactionsui.js';function _0x2a8e(_0x24c4c7,_0x6756d9){var _0x515ee7=_0x515e();return _0x2a8e=function(_0x2a8e84,_0x1b27a7){_0x2a8e84=_0x2a8e84-0x86;var _0x275c03=_0x515ee7[_0x2a8e84];return _0x275c03;},_0x2a8e(_0x24c4c7,_0x6756d9);}import{AIQuickActionsEditing as _0x549e7b}from'./aiquickactionsediting.js';export class AIQuickActions extends _0x27ae40{static get[_0x5673bf(0x93)](){return[_0x2e4cfb,_0x549e7b];}static get[_0x5673bf(0x95)](){var _0x1b4248=_0x5673bf;return _0x1b4248(0x8a);}static get[_0x5673bf(0x88)](){return!0x0;}static get[_0x5673bf(0x91)](){return!0x0;}constructor(_0x43ea9e){var _0x58f353=_0x5673bf;super(_0x43ea9e),_0x43ea9e[_0x58f353(0x86)][_0x58f353(0x8c)](_0x58f353(0x94),{'extraCommands':[],'removeCommands':[]});}}