@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
- const _0xcda257=_0x453a;function _0x1f4b(){const _0x12283d=['AIActions','displayedPrompt','startConversation','other','setSelection','removeSelectionFromChatContext','AIChatController','519144cxjmvS','model','icon','parent','focusPromptInput','7217rgYhpW','7bqCosV','sendMessage','AIChat','locale','_handleAIReviewAction','_expandSelectionIfCollapsed','REVIEW','change','editor','173636gJNRoX','738276GhetbE','225vNPaxn','33710FkRXUf','prompt','addSelectionToChatContext','ask-ai','type','get','selection','ai-quick-actions-plugin-not-found','_handleAIChatAction','actionName','getSelectedBlocks','3ZIJRKJ','285960uFVEsI','label','isCollapsed','plugins','450776fBsTNs','chat','execute','_handleAIActionsActionLabel','handleAIReviewAction','AIReviewMode','log','has','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','_handleAIActionsAction','schema','args','ACTION','activateTab','CHAT','AITabs','executeAction','20ubbprv','document','getLimitElement','view'];_0x1f4b=function(){return _0x12283d;};return _0x1f4b();}(function(_0x351907,_0xf4ef2a){const _0x97769c=_0x453a,_0x50d3c9=_0x351907();while(!![]){try{const _0x57323b=parseInt(_0x97769c(0x1f1))/0x1+-parseInt(_0x97769c(0x20a))/0x2*(parseInt(_0x97769c(0x209))/0x3)+parseInt(_0x97769c(0x1fb))/0x4*(parseInt(_0x97769c(0x1e1))/0x5)+parseInt(_0x97769c(0x1ec))/0x6+-parseInt(_0x97769c(0x1f2))/0x7*(-parseInt(_0x97769c(0x20e))/0x8)+-parseInt(_0x97769c(0x1fd))/0x9*(parseInt(_0x97769c(0x1fe))/0xa)+parseInt(_0x97769c(0x1fc))/0xb;if(_0x57323b===_0xf4ef2a)break;else _0x50d3c9['push'](_0x50d3c9['shift']());}catch(_0x18bca1){_0x50d3c9['push'](_0x50d3c9['shift']());}}}(_0x1f4b,0x27f01));import{Command as _0x4c51ff}from'ckeditor5/src/core.js';import{CKEditorError as _0xd85df1,first as _0x2c2ae5}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x4c2f12}from'./aiquickactionsui.js';function _0x453a(_0x2a268a,_0x596ca2){const _0x1f4b6d=_0x1f4b();return _0x453a=function(_0x453a80,_0xf06ad0){_0x453a80=_0x453a80-0x1db;let _0x540305=_0x1f4b6d[_0x453a80];return _0x540305;},_0x453a(_0x2a268a,_0x596ca2);}import{getTranslation as _0x2b80db}from'./utils/common-translations.js';export class AIQuickActionsCommand extends _0x4c51ff{[_0xcda257(0x210)](_0x1d6d2e){const _0x312730=_0xcda257;switch(_0x1d6d2e[_0x312730(0x202)]){case _0x4c2f12[_0x312730(0x1de)]:if(!this[_0x312730(0x1fa)][_0x312730(0x20d)][_0x312730(0x215)](_0x312730(0x1f4))){const _0x3e3f97=_0x2b80db(this[_0x312730(0x1fa)][_0x312730(0x1f5)],_0x312730(0x216),_0x312730(0x1f4));throw new _0xd85df1(_0x312730(0x205),this[_0x312730(0x1fa)],{'errorMessage':_0x3e3f97});}this[_0x312730(0x206)](_0x1d6d2e);break;case _0x4c2f12[_0x312730(0x1dc)]:if(!this[_0x312730(0x1fa)][_0x312730(0x20d)][_0x312730(0x215)](_0x312730(0x1e5))){const _0xa861a5=_0x2b80db(this[_0x312730(0x1fa)][_0x312730(0x1f5)],_0x312730(0x216),_0x312730(0x1e5));throw new _0xd85df1(_0x312730(0x205),this[_0x312730(0x1fa)],{'errorMessage':_0xa861a5});}this[_0x312730(0x217)](_0x1d6d2e);break;case _0x4c2f12[_0x312730(0x1f8)]:if(!this[_0x312730(0x1fa)][_0x312730(0x20d)][_0x312730(0x215)](_0x312730(0x213))){const _0x55204a=_0x2b80db(this[_0x312730(0x1fa)][_0x312730(0x1f5)],_0x312730(0x216),_0x312730(0x213));throw new _0xd85df1(_0x312730(0x205),this[_0x312730(0x1fa)],{'errorMessage':_0x55204a});}this[_0x312730(0x1f6)](_0x1d6d2e);}}async[_0xcda257(0x206)](_0x112a64){const _0x130e08=_0xcda257,_0x5516d2=this[_0x130e08(0x1fa)][_0x130e08(0x20d)][_0x130e08(0x203)](_0x130e08(0x1f4)),_0x38c3ab=this[_0x130e08(0x1fa)][_0x130e08(0x20d)][_0x130e08(0x203)](_0x130e08(0x1eb));if(this[_0x130e08(0x1fa)][_0x130e08(0x20d)][_0x130e08(0x203)](_0x130e08(0x1df))[_0x130e08(0x1e4)][_0x130e08(0x1dd)](_0x130e08(0x20f)),_0x130e08(0x201)===_0x112a64['id'])_0x38c3ab[_0x130e08(0x1ea)](),this[_0x130e08(0x1f7)](),await _0x5516d2[_0x130e08(0x200)](),_0x5516d2[_0x130e08(0x1f0)]();else await _0x5516d2[_0x130e08(0x1e7)](),await _0x5516d2[_0x130e08(0x200)](),await _0x5516d2[_0x130e08(0x1f3)]({'message':_0x112a64[_0x130e08(0x1ff)]||_0x112a64[_0x130e08(0x1e6)],'quickActionData':{'id':_0x112a64['id'],'displayedPrompt':_0x112a64[_0x130e08(0x1e6)]}});}[_0xcda257(0x1f7)](){const _0x3d4c04=_0xcda257,_0x41c95f=this[_0x3d4c04(0x1fa)],_0x2ea375=_0x41c95f[_0x3d4c04(0x1ed)][_0x3d4c04(0x1e2)][_0x3d4c04(0x204)];if(!_0x2ea375[_0x3d4c04(0x20c)])return;const _0x217adb=_0x2c2ae5(_0x2ea375[_0x3d4c04(0x208)]())||_0x41c95f[_0x3d4c04(0x1ed)][_0x3d4c04(0x218)][_0x3d4c04(0x1e3)](_0x2ea375);_0x41c95f[_0x3d4c04(0x1ed)][_0x3d4c04(0x1f9)](_0x4a8bd7=>{const _0x305318=_0x3d4c04;_0x4a8bd7[_0x305318(0x1e9)](_0x217adb,'in');});}[_0xcda257(0x211)](_0x46ff3b){const _0x3ffa6c=_0xcda257;return _0x46ff3b[_0x3ffa6c(0x1ef)]?.[_0x3ffa6c(0x20b)]&&_0x3ffa6c(0x1e8)!==_0x46ff3b[_0x3ffa6c(0x1ef)]?.['id']?_0x46ff3b[_0x3ffa6c(0x1ef)][_0x3ffa6c(0x20b)]+':\x20'+_0x46ff3b[_0x3ffa6c(0x1e6)]:_0x46ff3b[_0x3ffa6c(0x1e6)];}async[_0xcda257(0x217)](_0x2d4872){const _0x3bb039=_0xcda257,_0x16d258=this[_0x3bb039(0x1fa)][_0x3bb039(0x20d)][_0x3bb039(0x203)](_0x3bb039(0x1e5)),_0x1101bb=_0x2d4872[_0x3bb039(0x1ff)]?{'userMessage':_0x2d4872[_0x3bb039(0x1ff)],'model':_0x2d4872[_0x3bb039(0x1ed)]}:{'actionName':_0x2d4872[_0x3bb039(0x207)]||_0x2d4872['id'],'args':_0x2d4872[_0x3bb039(0x1db)]},_0x1e8d3b=this[_0x3bb039(0x211)](_0x2d4872);await _0x16d258[_0x3bb039(0x1e0)](_0x1101bb,_0x1e8d3b,_0x2d4872[_0x3bb039(0x1ee)]);}async[_0xcda257(0x1f6)](_0x5a0202){const _0x13be2d=_0xcda257;console[_0x13be2d(0x214)](_0x13be2d(0x212),_0x5a0202);}}
23
+ const _0x539c47=_0x1e15;(function(_0x25b892,_0x1dbc07){const _0x36de99=_0x1e15,_0x52e460=_0x25b892();while(!![]){try{const _0x4a239d=-parseInt(_0x36de99(0xfa))/0x1*(-parseInt(_0x36de99(0xdf))/0x2)+parseInt(_0x36de99(0xcd))/0x3+parseInt(_0x36de99(0xe1))/0x4+-parseInt(_0x36de99(0xfe))/0x5*(-parseInt(_0x36de99(0xda))/0x6)+parseInt(_0x36de99(0xd0))/0x7+parseInt(_0x36de99(0xcc))/0x8+-parseInt(_0x36de99(0xd9))/0x9;if(_0x4a239d===_0x1dbc07)break;else _0x52e460['push'](_0x52e460['shift']());}catch(_0x3d4725){_0x52e460['push'](_0x52e460['shift']());}}}(_0x1fd1,0x91441));import{Command as _0x62a2a6}from'ckeditor5/src/core.js';import{CKEditorError as _0x44e386,first as _0x4bf6d4}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x2ef057}from'./aiquickactionsui.js';function _0x1e15(_0x56673c,_0x28ba47){const _0x1fd11=_0x1fd1();return _0x1e15=function(_0x1e1560,_0xdc2063){_0x1e1560=_0x1e1560-0xc5;let _0x32a681=_0x1fd11[_0x1e1560];return _0x32a681;},_0x1e15(_0x56673c,_0x28ba47);}import{getTranslation as _0x3c2582}from'./utils/common-translations.js';export class AIQuickActionsCommand extends _0x62a2a6{[_0x539c47(0x100)](_0x1414cc){const _0x57af8f=_0x539c47;switch(_0x1414cc[_0x57af8f(0xff)]){case _0x2ef057[_0x57af8f(0xc8)]:if(!this[_0x57af8f(0xf3)][_0x57af8f(0xd2)][_0x57af8f(0xc5)](_0x57af8f(0xf8))){const _0x27aea4=_0x3c2582(this[_0x57af8f(0xf3)][_0x57af8f(0xcf)],_0x57af8f(0xcb),_0x57af8f(0xf8));throw new _0x44e386(_0x57af8f(0xe7),this[_0x57af8f(0xf3)],{'errorMessage':_0x27aea4});}this[_0x57af8f(0xd1)](_0x1414cc);break;case _0x2ef057[_0x57af8f(0xf4)]:if(!this[_0x57af8f(0xf3)][_0x57af8f(0xd2)][_0x57af8f(0xc5)](_0x57af8f(0xe8))){const _0x565afc=_0x3c2582(this[_0x57af8f(0xf3)][_0x57af8f(0xcf)],_0x57af8f(0xcb),_0x57af8f(0xe8));throw new _0x44e386(_0x57af8f(0xe7),this[_0x57af8f(0xf3)],{'errorMessage':_0x565afc});}this[_0x57af8f(0xfb)](_0x1414cc);break;case _0x2ef057[_0x57af8f(0xdc)]:if(!this[_0x57af8f(0xf3)][_0x57af8f(0xd2)][_0x57af8f(0xc5)](_0x57af8f(0xd4))){const _0x31f997=_0x3c2582(this[_0x57af8f(0xf3)][_0x57af8f(0xcf)],_0x57af8f(0xcb),_0x57af8f(0xd4));throw new _0x44e386(_0x57af8f(0xe7),this[_0x57af8f(0xf3)],{'errorMessage':_0x31f997});}this[_0x57af8f(0xed)](_0x1414cc);}}async[_0x539c47(0xd1)](_0xac1b30){const _0x208892=_0x539c47,_0x4ca3d6=this[_0x208892(0xf3)][_0x208892(0xd2)][_0x208892(0xfd)](_0x208892(0xf8)),_0x41779a=this[_0x208892(0xf3)][_0x208892(0xd2)][_0x208892(0xfd)](_0x208892(0xef));if(this[_0x208892(0xf3)][_0x208892(0xd2)][_0x208892(0xfd)](_0x208892(0xc6))[_0x208892(0xeb)][_0x208892(0xee)](_0x208892(0xea)),_0x208892(0xe2)===_0xac1b30['id'])_0x41779a[_0x208892(0xd6)](),this[_0x208892(0xca)](),await _0x4ca3d6[_0x208892(0xe6)](),_0x4ca3d6[_0x208892(0xdb)]();else await _0x4ca3d6[_0x208892(0xdd)](),await _0x4ca3d6[_0x208892(0xe6)](),await _0x4ca3d6[_0x208892(0xe4)]({'message':_0xac1b30[_0x208892(0xc7)]||_0xac1b30[_0x208892(0xe3)],'quickActionData':{'id':_0xac1b30['id'],'displayedPrompt':_0xac1b30[_0x208892(0xe3)]}});}[_0x539c47(0xca)](){const _0x2c0cfa=_0x539c47,_0x37032c=this[_0x2c0cfa(0xf3)],_0x593296=_0x37032c[_0x2c0cfa(0xe0)][_0x2c0cfa(0xf1)][_0x2c0cfa(0xe9)];if(!_0x593296[_0x2c0cfa(0xf0)])return;const _0x166917=_0x4bf6d4(_0x593296[_0x2c0cfa(0xe5)]())||_0x37032c[_0x2c0cfa(0xe0)][_0x2c0cfa(0xfc)][_0x2c0cfa(0xf9)](_0x593296);_0x37032c[_0x2c0cfa(0xe0)][_0x2c0cfa(0xd7)](_0x37aab5=>{const _0x55bef3=_0x2c0cfa;_0x37aab5[_0x55bef3(0xf7)](_0x166917,'in');});}[_0x539c47(0xce)](_0x54d6e6){const _0x206cb5=_0x539c47;return _0x54d6e6[_0x206cb5(0xde)]?.[_0x206cb5(0xf5)]&&_0x206cb5(0xd3)!==_0x54d6e6[_0x206cb5(0xde)]?.['id']?_0x54d6e6[_0x206cb5(0xde)][_0x206cb5(0xf5)]+':\x20'+_0x54d6e6[_0x206cb5(0xe3)]:_0x54d6e6[_0x206cb5(0xe3)];}async[_0x539c47(0xfb)](_0x5180bc){const _0x5aa400=_0x539c47,_0x524274=this[_0x5aa400(0xf3)][_0x5aa400(0xd2)][_0x5aa400(0xfd)](_0x5aa400(0xe8)),_0x262ac0=_0x5180bc[_0x5aa400(0xc7)]?{'userMessage':_0x5180bc[_0x5aa400(0xc7)],'model':_0x5180bc[_0x5aa400(0xe0)]}:{'actionName':_0x5180bc[_0x5aa400(0xf6)]||_0x5180bc['id'],'args':_0x5180bc[_0x5aa400(0xec)]},_0x4545ce=this[_0x5aa400(0xce)](_0x5180bc);await _0x524274[_0x5aa400(0xd8)](_0x262ac0,_0x4545ce,_0x5180bc[_0x5aa400(0xf2)]);}async[_0x539c47(0xed)](_0x538fe2){const _0x223eaf=_0x539c47;console[_0x223eaf(0xc9)](_0x223eaf(0xd5),_0x538fe2);}}function _0x1fd1(){const _0x55c7ae=['30665556gxlYpw','6201324FSRttd','focusPromptInput','REVIEW','startConversation','parent','586916YOaOVb','model','397100KSthEG','ask-ai','displayedPrompt','sendMessage','getSelectedBlocks','addSelectionToChatContext','ai-quick-actions-plugin-not-found','AIActions','selection','chat','view','args','_handleAIReviewAction','activateTab','AIChatController','isCollapsed','document','icon','editor','ACTION','label','actionName','setSelection','AIChat','getLimitElement','1hjeHsp','_handleAIActionsAction','schema','get','5kTpJrD','type','execute','has','AITabs','prompt','CHAT','log','_expandSelectionIfCollapsed','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','7873856gLjZZr','1724427cxWjYk','_handleAIActionsActionLabel','locale','7118755QWbFuK','_handleAIChatAction','plugins','other','AIReviewMode','handleAIReviewAction','removeSelectionFromChatContext','change','executeAction'];_0x1fd1=function(){return _0x55c7ae;};return _0x1fd1();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53dba4=_0x321b;function _0x46e6(){const _0x22afaa=['2901474sgjFOK','isPremiumPlugin','add','AIChat','6400148sOIlqr','AIQuickActionsEditing','document','5599962NcsqFv','editor','13077464jIGXvb','has','aiQuickAction','215902gzYBTk','7032NCumuO','plugins','8176vVAwaI','directChange','change:range','isOfficialPlugin','get','10oQCkmW','5YVkcsR','8108425ailmCi','commands','init','pluginName','removeSelectionFromChatContext','selection','model'];_0x46e6=function(){return _0x22afaa;};return _0x46e6();}(function(_0xcb23d9,_0x5bacdd){const _0xf05d03=_0x321b,_0x4d9403=_0xcb23d9();while(!![]){try{const _0x3ec734=-parseInt(_0xf05d03(0xb8))/0x1*(parseInt(_0xf05d03(0xaf))/0x2)+-parseInt(_0xf05d03(0xc0))/0x3+parseInt(_0xf05d03(0xc4))/0x4+parseInt(_0xf05d03(0xb9))/0x5+parseInt(_0xf05d03(0xb0))/0x6*(parseInt(_0xf05d03(0xb2))/0x7)+-parseInt(_0xf05d03(0xac))/0x8+-parseInt(_0xf05d03(0xc7))/0x9*(parseInt(_0xf05d03(0xb7))/0xa);if(_0x3ec734===_0x5bacdd)break;else _0x4d9403['push'](_0x4d9403['shift']());}catch(_0x53e90c){_0x4d9403['push'](_0x4d9403['shift']());}}}(_0x46e6,0xc9db4));import{Plugin as _0x4b0888}from'ckeditor5/src/core.js';function _0x321b(_0x45c7c0,_0x5b79d5){const _0x46e6c8=_0x46e6();return _0x321b=function(_0x321b22,_0x2c11c6){_0x321b22=_0x321b22-0xab;let _0x1cce9f=_0x46e6c8[_0x321b22];return _0x1cce9f;},_0x321b(_0x45c7c0,_0x5b79d5);}import{AIQuickActionsCommand as _0xbe5b1e}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x4b0888{static get[_0x53dba4(0xbc)](){const _0x53bbc0=_0x53dba4;return _0x53bbc0(0xc5);}static get[_0x53dba4(0xb5)](){return!0x0;}static get[_0x53dba4(0xc1)](){return!0x0;}[_0x53dba4(0xbb)](){const _0x1f3ff1=_0x53dba4,_0x4070a9=this[_0x1f3ff1(0xab)],_0x2c558e=new _0xbe5b1e(this[_0x1f3ff1(0xab)]);if(_0x4070a9[_0x1f3ff1(0xba)][_0x1f3ff1(0xc2)](_0x1f3ff1(0xae),_0x2c558e),_0x4070a9[_0x1f3ff1(0xb1)][_0x1f3ff1(0xad)](_0x1f3ff1(0xc3))){const _0x34cf23=this[_0x1f3ff1(0xab)][_0x1f3ff1(0xb1)][_0x1f3ff1(0xb6)](_0x1f3ff1(0xc3));_0x4070a9[_0x1f3ff1(0xbf)][_0x1f3ff1(0xc6)][_0x1f3ff1(0xbe)]['on'](_0x1f3ff1(0xb4),(_0x55f432,_0x13d082)=>{const _0x60b440=_0x1f3ff1;_0x13d082[_0x60b440(0xb3)]&&_0x34cf23[_0x60b440(0xbd)]();});}}}
23
+ function _0x404d(){const _0x4150cf=['AIChat','AIQuickActionsEditing','add','directChange','738sknAUl','selection','4406340fWreak','plugins','16lKQRvp','172395SJeiUC','2JYFVgT','pluginName','1824573fNmfuv','change:range','22106dmWVVx','document','has','get','aiQuickAction','38945ErDgAi','72nUIPqi','model','22231011zJfsiS','editor','isOfficialPlugin','removeSelectionFromChatContext','isPremiumPlugin','init','commands','2968479KDajIH'];_0x404d=function(){return _0x4150cf;};return _0x404d();}const _0xbf9c6d=_0x222c;(function(_0x403f79,_0x5f4e48){const _0x3f87de=_0x222c,_0x33b1d4=_0x403f79();while(!![]){try{const _0x5a99ef=-parseInt(_0x3f87de(0x1cf))/0x1+parseInt(_0x3f87de(0x1d0))/0x2*(-parseInt(_0x3f87de(0x1d2))/0x3)+-parseInt(_0x3f87de(0x1bc))/0x4*(parseInt(_0x3f87de(0x1bb))/0x5)+-parseInt(_0x3f87de(0x1ca))/0x6*(parseInt(_0x3f87de(0x1b6))/0x7)+-parseInt(_0x3f87de(0x1ce))/0x8*(parseInt(_0x3f87de(0x1c5))/0x9)+parseInt(_0x3f87de(0x1cc))/0xa+parseInt(_0x3f87de(0x1be))/0xb;if(_0x5a99ef===_0x5f4e48)break;else _0x33b1d4['push'](_0x33b1d4['shift']());}catch(_0x507908){_0x33b1d4['push'](_0x33b1d4['shift']());}}}(_0x404d,0x784cf));function _0x222c(_0x4cdae6,_0x37bd86){const _0x404d11=_0x404d();return _0x222c=function(_0x222c90,_0x3b57e4){_0x222c90=_0x222c90-0x1b5;let _0x32cd97=_0x404d11[_0x222c90];return _0x32cd97;},_0x222c(_0x4cdae6,_0x37bd86);}import{Plugin as _0x20ecf1}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0xb0630f}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x20ecf1{static get[_0xbf9c6d(0x1d1)](){const _0x170bc5=_0xbf9c6d;return _0x170bc5(0x1c7);}static get[_0xbf9c6d(0x1c0)](){return!0x0;}static get[_0xbf9c6d(0x1c2)](){return!0x0;}[_0xbf9c6d(0x1c3)](){const _0x5d9ff2=_0xbf9c6d,_0x176969=this[_0x5d9ff2(0x1bf)],_0x470a37=new _0xb0630f(this[_0x5d9ff2(0x1bf)]);if(_0x176969[_0x5d9ff2(0x1c4)][_0x5d9ff2(0x1c8)](_0x5d9ff2(0x1ba),_0x470a37),_0x176969[_0x5d9ff2(0x1cd)][_0x5d9ff2(0x1b8)](_0x5d9ff2(0x1c6))){const _0x3b9faf=this[_0x5d9ff2(0x1bf)][_0x5d9ff2(0x1cd)][_0x5d9ff2(0x1b9)](_0x5d9ff2(0x1c6));_0x176969[_0x5d9ff2(0x1bd)][_0x5d9ff2(0x1b7)][_0x5d9ff2(0x1cb)]['on'](_0x5d9ff2(0x1b5),(_0x58ff85,_0xf7634e)=>{const _0x49604f=_0x5d9ff2;_0xf7634e[_0x49604f(0x1c9)]&&_0x3b9faf[_0x49604f(0x1c1)]();});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x50aede=_0xa784;(function(_0x22a785,_0x8f74a5){const _0x10e6e1=_0xa784,_0x1b2d4f=_0x22a785();while(!![]){try{const _0x1b8e62=parseInt(_0x10e6e1(0x20a))/0x1*(parseInt(_0x10e6e1(0x1f8))/0x2)+-parseInt(_0x10e6e1(0x1ef))/0x3+parseInt(_0x10e6e1(0x239))/0x4+-parseInt(_0x10e6e1(0x22c))/0x5+parseInt(_0x10e6e1(0x1e6))/0x6*(parseInt(_0x10e6e1(0x231))/0x7)+parseInt(_0x10e6e1(0x244))/0x8+-parseInt(_0x10e6e1(0x227))/0x9;if(_0x1b8e62===_0x8f74a5)break;else _0x1b2d4f['push'](_0x1b2d4f['shift']());}catch(_0x48e378){_0x1b2d4f['push'](_0x1b2d4f['shift']());}}}(_0x4693,0x5dccc));import{IconAIAdjustLength as _0x1b506d,IconAIAskAI as _0x421026,IconAIChangeTone as _0x56f9ca,IconAIChatCommands as _0x3bb9e3,IconAIContinueWriting as _0x2e8816,IconAIGrammarCheck as _0x404f32,IconAIImproveWriting as _0x3ebfe8,IconAIOther as _0x20f098,IconAIQuickActions as _0x2d0431,IconAITranslate as _0x35a76b}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x2289af}from'ckeditor5/src/core.js';import{getTranslation as _0x75d56d}from'./utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x5b3709}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x44cd54}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x444d3a,BalloonToolbar as _0x23c694}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const ne=_0x50aede(0x224),ae=_0x50aede(0x220),ce=_0x50aede(0x208);function _0xa784(_0x144f18,_0x44b168){const _0x4693cf=_0x4693();return _0xa784=function(_0xa78459,_0x5f58a8){_0xa78459=_0xa78459-0x1d1;let _0x487024=_0x4693cf[_0xa78459];return _0x487024;},_0xa784(_0x144f18,_0x44b168);}function _0x4693(){const _0x30d35b=['translate-to-korean','make-tone-direct','translate-to-portuguese','pluginName','REVIEW','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','translate-to-french','isOfficialPlugin','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','isPremiumPlugin','AI_QUICK_ACTIONS_CHAT_COMMANDS','make-tone-friendly','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','translate-to-chinese','AI_QUICK_ACTIONS_ADJUST_LENGTH','1704168HGCFXq','AI_QUICK_ACTIONS_MORE_FRIENDLY','make-shorter','AI_QUICK_ACTIONS_MAKE_LONGER','AI_QUICK_ACTIONS_TRANSLATE','1432760BBvmgC','AIQuickActionsUI','explain','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','replace','1197518MeELGX','translate-to-italian','language','chinese','requires','ACTION','_initializeQuickActionsComponentsAndCommands','map','1647324dhudZd','summarize','AI_QUICK_ACTIONS_CHANGE_TONE','get','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','attachToDom','_quickActionsDefinition','AI_QUICK_ACTIONS_MORE_CASUAL','AIReviewMode','adjust-length','translate-to-russian','1573080LlSlUo','AIActions','AI_QUICK_ACTIONS_MORE_CONFIDENT','ai.quickActions.removeCommands','aiQuickActions','fix-grammar','includes','_prepareQuickActionsDefinition','DisplayNames','uiLanguage','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','highlight-key-points','russian','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','config','AIChat','find','filter','AI_QUICK_ACTIONS_IMPROVE_WRITING','actions','editor','CHAT','_initializeQuickActionsDropdown','other','AI_QUICK_ACTIONS_SUMMARIZE','length','forEach','12SLVPAn','English','AI_QUICK_ACTIONS_MORE_DIRECT','make-longer','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_EXPLAIN','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','getDefaultQuickActions','658794malera','AI_QUICK_ACTIONS_MAKE_SHORTER','continue','chat-commands','add','english','korean','make-tone-confident','AI_QUICK_ACTIONS_HEADING','118iytxuU','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_OTHER','japanese','change-tone','translate-to-japanese','portuguese','translate-to-english','type','plugins','push','french','AI_QUICK_ACTIONS_ASK_AI','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','_getDefaultAndCustomActions','translate','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','make-tone-casual','2188HNQRpa','locale','make-tone-professional','AI_QUICK_ACTIONS_CONTINUE_WRITING','has','italian','init','_shouldIncludeAction','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','ask-ai','improve-writing','componentFactory','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS'];_0x4693=function(){return _0x30d35b;};return _0x4693();}export var AIQuickActionType;!function(_0x37d83e){const _0x418c47=_0x50aede;_0x37d83e[_0x418c47(0x1e0)]=_0x418c47(0x1e0),_0x37d83e[_0x418c47(0x236)]=_0x418c47(0x236),_0x37d83e[_0x418c47(0x21c)]=_0x418c47(0x21c);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x36acbe){const _0x30f458=_0x50aede;_0x36acbe[_0x30f458(0x1e0)]=_0x30f458(0x1da),_0x36acbe[_0x30f458(0x236)]=_0x30f458(0x245),_0x36acbe[_0x30f458(0x21c)]=_0x30f458(0x241);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x2289af{static get[_0x50aede(0x235)](){return[_0x23c694];}static get[_0x50aede(0x21b)](){const _0x451417=_0x50aede;return _0x451417(0x22d);}static get[_0x50aede(0x21f)](){return!0x0;}static get[_0x50aede(0x221)](){return!0x0;}[_0x50aede(0x210)](){const _0xb1fdbc=_0x50aede;this[_0xb1fdbc(0x1d2)](this[_0xb1fdbc(0x206)]()),this[_0xb1fdbc(0x237)]();}static[_0x50aede(0x1ee)](_0x203a97){return function(_0x481cfb){const _0x3d16c9=_0xa784,_0x142535=new Intl[(_0x3d16c9(0x1d3))](['en'],{'type':_0x3d16c9(0x233)})['of'](_0x481cfb[_0x3d16c9(0x1d4)]),_0x58aa26=_0x142535||_0x3d16c9(0x1e7),_0x4135df=[{'id':_0x3d16c9(0x213),'displayedPrompt':_0x75d56d(_0x481cfb,_0x3d16c9(0x204)),'type':AIQuickActionType[_0x3d16c9(0x1e0)],'icon':_0x421026},{'id':_0x3d16c9(0x1f2),'label':_0x75d56d(_0x481cfb,_0x3d16c9(0x222)),'icon':_0x3bb9e3,'actions':[{'id':_0x3d16c9(0x22e),'displayedPrompt':_0x75d56d(_0x481cfb,_0x3d16c9(0x1eb)),'prompt':ne[_0x3d16c9(0x230)]('%0',_0x58aa26),'type':AIQuickActionType[_0x3d16c9(0x1e0)]},{'id':_0x3d16c9(0x23a),'displayedPrompt':_0x75d56d(_0x481cfb,_0x3d16c9(0x1e3)),'prompt':ae[_0x3d16c9(0x230)]('%0',_0x58aa26),'type':AIQuickActionType[_0x3d16c9(0x1e0)]},{'id':_0x3d16c9(0x1d6),'displayedPrompt':_0x75d56d(_0x481cfb,_0x3d16c9(0x217)),'prompt':ce[_0x3d16c9(0x230)]('%0',_0x58aa26),'type':AIQuickActionType[_0x3d16c9(0x1e0)]}]},{'id':_0x3d16c9(0x214),'displayedPrompt':_0x75d56d(_0x481cfb,_0x3d16c9(0x1dd)),'type':AIQuickActionType[_0x3d16c9(0x236)],'icon':_0x3ebfe8},{'id':_0x3d16c9(0x1f1),'displayedPrompt':_0x75d56d(_0x481cfb,_0x3d16c9(0x20d)),'type':AIQuickActionType[_0x3d16c9(0x236)],'icon':_0x2e8816},{'id':_0x3d16c9(0x249),'displayedPrompt':_0x75d56d(_0x481cfb,_0x3d16c9(0x23d)),'type':AIQuickActionType[_0x3d16c9(0x236)],'icon':_0x404f32},{'id':_0x3d16c9(0x242),'label':_0x75d56d(_0x481cfb,_0x3d16c9(0x226)),'icon':_0x1b506d,'actions':[{'id':_0x3d16c9(0x229),'displayedPrompt':_0x75d56d(_0x481cfb,_0x3d16c9(0x1f0)),'type':AIQuickActionType[_0x3d16c9(0x236)]},{'id':_0x3d16c9(0x1e9),'displayedPrompt':_0x75d56d(_0x481cfb,_0x3d16c9(0x22a)),'type':AIQuickActionType[_0x3d16c9(0x236)]}]},{'id':_0x3d16c9(0x1fc),'label':_0x75d56d(_0x481cfb,_0x3d16c9(0x23b)),'icon':_0x56f9ca,'actions':[{'id':_0x3d16c9(0x209),'displayedPrompt':_0x75d56d(_0x481cfb,_0x3d16c9(0x240)),'type':AIQuickActionType[_0x3d16c9(0x236)]},{'id':_0x3d16c9(0x219),'displayedPrompt':_0x75d56d(_0x481cfb,_0x3d16c9(0x1e8)),'type':AIQuickActionType[_0x3d16c9(0x236)]},{'id':_0x3d16c9(0x223),'displayedPrompt':_0x75d56d(_0x481cfb,_0x3d16c9(0x228)),'type':AIQuickActionType[_0x3d16c9(0x236)]},{'id':_0x3d16c9(0x1f6),'displayedPrompt':_0x75d56d(_0x481cfb,_0x3d16c9(0x246)),'type':AIQuickActionType[_0x3d16c9(0x236)]},{'id':_0x3d16c9(0x20c),'displayedPrompt':_0x75d56d(_0x481cfb,_0x3d16c9(0x21d)),'type':AIQuickActionType[_0x3d16c9(0x236)]}]},{'id':_0x3d16c9(0x207),'label':_0x75d56d(_0x481cfb,_0x3d16c9(0x22b)),'icon':_0x35a76b,'actions':[{'id':_0x3d16c9(0x1ff),'displayedPrompt':_0x75d56d(_0x481cfb,_0x3d16c9(0x1d8)),'type':AIQuickActionType[_0x3d16c9(0x236)],'actionName':_0x3d16c9(0x207),'args':{'language':_0x3d16c9(0x1f4)}},{'id':_0x3d16c9(0x225),'displayedPrompt':_0x75d56d(_0x481cfb,_0x3d16c9(0x1ea)),'type':AIQuickActionType[_0x3d16c9(0x236)],'actionName':_0x3d16c9(0x207),'args':{'language':_0x3d16c9(0x234)}},{'id':_0x3d16c9(0x21e),'displayedPrompt':_0x75d56d(_0x481cfb,_0x3d16c9(0x1d5)),'type':AIQuickActionType[_0x3d16c9(0x236)],'actionName':_0x3d16c9(0x207),'args':{'language':_0x3d16c9(0x203)}},{'id':_0x3d16c9(0x1fd),'displayedPrompt':_0x75d56d(_0x481cfb,_0x3d16c9(0x212)),'type':AIQuickActionType[_0x3d16c9(0x236)],'actionName':_0x3d16c9(0x207),'args':{'language':_0x3d16c9(0x1fb)}},{'id':_0x3d16c9(0x21a),'displayedPrompt':_0x75d56d(_0x481cfb,_0x3d16c9(0x1f9)),'type':AIQuickActionType[_0x3d16c9(0x236)],'actionName':_0x3d16c9(0x207),'args':{'language':_0x3d16c9(0x1fe)}},{'id':_0x3d16c9(0x218),'displayedPrompt':_0x75d56d(_0x481cfb,_0x3d16c9(0x1ed)),'type':AIQuickActionType[_0x3d16c9(0x236)],'actionName':_0x3d16c9(0x207),'args':{'language':_0x3d16c9(0x1f5)}},{'id':_0x3d16c9(0x232),'displayedPrompt':_0x75d56d(_0x481cfb,_0x3d16c9(0x205)),'type':AIQuickActionType[_0x3d16c9(0x236)],'actionName':_0x3d16c9(0x207),'args':{'language':_0x3d16c9(0x20f)}},{'id':_0x3d16c9(0x243),'displayedPrompt':_0x75d56d(_0x481cfb,_0x3d16c9(0x22f)),'type':AIQuickActionType[_0x3d16c9(0x236)],'actionName':_0x3d16c9(0x207),'args':{'language':_0x3d16c9(0x1d7)}}]},{'id':_0x3d16c9(0x1e2),'label':_0x75d56d(_0x481cfb,_0x3d16c9(0x1fa)),'icon':_0x20f098,'actions':[]}];return _0x4135df;}(_0x203a97);}[_0x50aede(0x206)](){const _0x14c4b2=_0x50aede,_0x536957=AIQuickActionsUI[_0x14c4b2(0x1ee)](this[_0x14c4b2(0x1df)][_0x14c4b2(0x20b)]),_0x2d4ea4=(this[_0x14c4b2(0x1df)][_0x14c4b2(0x1d9)][_0x14c4b2(0x23c)](_0x14c4b2(0x216))||[])[_0x14c4b2(0x238)](_0x50bad7=>({..._0x50bad7,'icon':void 0x0}));return _0x536957[_0x14c4b2(0x1db)](_0x377d0c=>_0x14c4b2(0x1e2)===_0x377d0c['id'])[_0x14c4b2(0x1de)][_0x14c4b2(0x202)](..._0x2d4ea4),_0x536957;}[_0x50aede(0x237)](){const _0x5ce65b=_0x50aede,_0x48c10b=new _0x444d3a(this[_0x5ce65b(0x1df)][_0x5ce65b(0x20b)]);_0x48c10b[_0x5ce65b(0x23e)](),this[_0x5ce65b(0x1e1)](_0x48c10b),this[_0x5ce65b(0x1ec)](_0x48c10b);}[_0x50aede(0x1e1)](_0x105500){const _0x10c52c=_0x50aede;this[_0x10c52c(0x1df)]['ui'][_0x10c52c(0x215)][_0x10c52c(0x1f3)](_0x10c52c(0x248),_0x5b3709(this[_0x10c52c(0x1df)],this[_0x10c52c(0x23f)],{'icon':_0x2d0431,'label':_0x75d56d(this[_0x10c52c(0x1df)][_0x10c52c(0x20b)],_0x10c52c(0x1f7))},_0x105500));}[_0x50aede(0x1d2)](_0x1b7b1a){const _0x50eff7=_0x50aede;this[_0x50eff7(0x23f)]=_0x1b7b1a[_0x50eff7(0x238)](_0x4327f3=>{const _0x2359d5=_0x50eff7;if(_0x2359d5(0x1de)in _0x4327f3){const _0x35d894=_0x4327f3;return{..._0x35d894,'actions':_0x35d894[_0x2359d5(0x1de)][_0x2359d5(0x238)](_0x2e6828=>{const {actions:_0x383ef1,..._0x55895a}=_0x35d894;return{..._0x2e6828,'parent':_0x55895a};})[_0x2359d5(0x1dc)](_0x5c863d=>this[_0x2359d5(0x211)](_0x5c863d))};}return _0x4327f3;})[_0x50eff7(0x1dc)](_0x35775f=>_0x50eff7(0x1de)in _0x35775f?_0x35775f[_0x50eff7(0x1de)][_0x50eff7(0x1e4)]>0x0:this[_0x50eff7(0x211)](_0x35775f));}[_0x50aede(0x211)](_0x3298){const _0x36522e=_0x50aede,_0x4618e6=this[_0x36522e(0x1df)][_0x36522e(0x1d9)][_0x36522e(0x23c)](_0x36522e(0x247))||[];return this[_0x36522e(0x1df)][_0x36522e(0x201)][_0x36522e(0x20e)](AIQuickActionTypeToPluginName[_0x3298[_0x36522e(0x200)]])&&!_0x4618e6[_0x36522e(0x1d1)](_0x3298['id']);}[_0x50aede(0x1ec)](_0x4e622e){const _0x5954bb=_0x50aede;this[_0x5954bb(0x23f)][_0x5954bb(0x1e5)](_0x565ec9=>{const _0x546550=_0x5954bb;if(_0x546550(0x1de)in _0x565ec9){const _0x45910b=_0x5b3709(this[_0x546550(0x1df)],_0x565ec9[_0x546550(0x1de)],_0x565ec9,_0x4e622e);this[_0x546550(0x1df)]['ui'][_0x546550(0x215)][_0x546550(0x1f3)](_0x565ec9['id'],_0x45910b),_0x565ec9[_0x546550(0x1de)][_0x546550(0x1e5)](_0xcb5925=>{const _0x32c9ce=_0x546550,_0xad0bbd=_0x44cd54(this[_0x32c9ce(0x1df)],_0xcb5925);this[_0x32c9ce(0x1df)]['ui'][_0x32c9ce(0x215)][_0x32c9ce(0x1f3)](_0xcb5925['id'],_0xad0bbd);});}else{const _0x231fd4=_0x44cd54(this[_0x546550(0x1df)],_0x565ec9);this[_0x546550(0x1df)]['ui'][_0x546550(0x215)][_0x546550(0x1f3)](_0x565ec9['id'],_0x231fd4);}});}}
23
+ const _0x2a102c=_0x2e08;(function(_0x4b1c65,_0x1fc4a0){const _0x5ac786=_0x2e08,_0x3bc0cd=_0x4b1c65();while(!![]){try{const _0x44215e=parseInt(_0x5ac786(0x224))/0x1*(parseInt(_0x5ac786(0x230))/0x2)+parseInt(_0x5ac786(0x252))/0x3+-parseInt(_0x5ac786(0x21f))/0x4+parseInt(_0x5ac786(0x211))/0x5+-parseInt(_0x5ac786(0x232))/0x6+-parseInt(_0x5ac786(0x25e))/0x7+parseInt(_0x5ac786(0x21b))/0x8;if(_0x44215e===_0x1fc4a0)break;else _0x3bc0cd['push'](_0x3bc0cd['shift']());}catch(_0x2ba64a){_0x3bc0cd['push'](_0x3bc0cd['shift']());}}}(_0x426f,0x9eecc));import{IconAIAdjustLength as _0x301669,IconAIAskAI as _0x36da2a,IconAIChangeTone as _0x3e79e9,IconAIChatCommands as _0x22b6f6,IconAIContinueWriting as _0x2e7cd3,IconAIGrammarCheck as _0x30505a,IconAIImproveWriting as _0x1872f2,IconAIOther as _0x3906e9,IconAIQuickActions as _0x308a0d,IconAITranslate as _0x409849}from'@ckeditor/ckeditor5-icons';import{Plugin as _0xe69488}from'ckeditor5/src/core.js';import{getTranslation as _0x18d411}from'./utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x5ad8aa}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x5378bb}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x348796,BalloonToolbar as _0x18fbf3}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';function _0x2e08(_0x5c1c48,_0x537409){const _0x426fd9=_0x426f();return _0x2e08=function(_0x2e08f1,_0x5a92b0){_0x2e08f1=_0x2e08f1-0x1ef;let _0x2bf629=_0x426fd9[_0x2e08f1];return _0x2bf629;},_0x2e08(_0x5c1c48,_0x537409);}function _0x426f(){const _0x56a4a7=['requires','get','japanese','includes','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','_initializeQuickActionsComponents','improve-writing','AIActions','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','isOfficialPlugin','AI_QUICK_ACTIONS_CHAT_COMMANDS','editor','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','AIReviewMode','2983479eJnBFv','replace','type','attachToDom','getDefaultQuickActions','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','plugins','aiQuickActions','AI_QUICK_ACTIONS_IMPROVE_WRITING','AI_QUICK_ACTIONS_ADJUST_LENGTH','uiLanguage','explain','7365449VWKIhF','korean','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_ASK_AI','_prepareQuickActionsDefinition','AI_QUICK_ACTIONS_MORE_CASUAL','make-tone-friendly','_shouldIncludeAction','AI_QUICK_ACTIONS_MORE_DIRECT','translate-to-japanese','_quickActionsDefinition','find','AI_QUICK_ACTIONS_TRANSLATE','translate-to-italian','DisplayNames','config','AI_QUICK_ACTIONS_MAKE_LONGER','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_OTHER','fix-grammar','make-shorter','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','isPremiumPlugin','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_CONTINUE_WRITING','ACTION','ai.quickActions.removeCommands','chinese','ask-ai','make-longer','map','CHAT','translate-to-portuguese','push','summarize','_initializeQuickActionsDropdown','chat-commands','portuguese','English','translate-to-korean','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','2794985RDEFCk','continue','locale','make-tone-professional','translate-to-chinese','french','change-tone','AI_QUICK_ACTIONS_MORE_CONFIDENT','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','componentFactory','6918624CKMCOZ','make-tone-direct','length','highlight-key-points','2883084gQLoeF','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','add','AI_QUICK_ACTIONS_HEADING','_initializeQuickActionsComponentsAndCommands','354707pFvxmq','actions','AI_QUICK_ACTIONS_MORE_FRIENDLY','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','translate','AI_QUICK_ACTIONS_CHANGE_TONE','AIChat','AIQuickActionsUI','_getDefaultAndCustomActions','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','language','ai.quickActions.extraCommands','6RxxupB','italian','6351030Ndceyi','translate-to-french','REVIEW','filter','AI_QUICK_ACTIONS_SUMMARIZE','init','AI_QUICK_ACTIONS_MAKE_SHORTER','other','translate-to-russian','translate-to-english','pluginName','english','russian','adjust-length','make-tone-confident','has','make-tone-casual','forEach'];_0x426f=function(){return _0x56a4a7;};return _0x426f();}const Jt=_0x2a102c(0x22d),Vt=_0x2a102c(0x1f7),Xt=_0x2a102c(0x248);export var AIQuickActionType;!function(_0x226b59){const _0x5194d8=_0x2a102c;_0x226b59[_0x5194d8(0x205)]=_0x5194d8(0x205),_0x226b59[_0x5194d8(0x1ff)]=_0x5194d8(0x1ff),_0x226b59[_0x5194d8(0x234)]=_0x5194d8(0x234);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x55c685){const _0x4e3cc8=_0x2a102c;_0x55c685[_0x4e3cc8(0x205)]=_0x4e3cc8(0x22a),_0x55c685[_0x4e3cc8(0x1ff)]=_0x4e3cc8(0x24b),_0x55c685[_0x4e3cc8(0x234)]=_0x4e3cc8(0x251);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0xe69488{static get[_0x2a102c(0x244)](){return[_0x18fbf3];}static get[_0x2a102c(0x23c)](){const _0x2bc52b=_0x2a102c;return _0x2bc52b(0x22b);}static get[_0x2a102c(0x24d)](){return!0x0;}static get[_0x2a102c(0x1fc)](){return!0x0;}[_0x2a102c(0x237)](){const _0x2f2ff3=_0x2a102c;this[_0x2f2ff3(0x262)](this[_0x2f2ff3(0x22c)]()),this[_0x2f2ff3(0x223)]();}static[_0x2a102c(0x256)](_0x1458f0){return function(_0xf6eb6f){const _0x425000=_0x2e08,_0x47278e=new Intl[(_0x425000(0x1f4))](['en'],{'type':_0x425000(0x22e)})['of'](_0xf6eb6f[_0x425000(0x25c)]),_0x295e9e=_0x47278e||_0x425000(0x20c),_0x3a2dbc=[{'id':_0x425000(0x202),'displayedPrompt':_0x18d411(_0xf6eb6f,_0x425000(0x261)),'type':AIQuickActionType[_0x425000(0x205)],'icon':_0x36da2a},{'id':_0x425000(0x20a),'label':_0x18d411(_0xf6eb6f,_0x425000(0x24e)),'icon':_0x22b6f6,'actions':[{'id':_0x425000(0x25d),'displayedPrompt':_0x18d411(_0xf6eb6f,_0x425000(0x20e)),'prompt':Jt[_0x425000(0x253)]('%0',_0x295e9e),'type':AIQuickActionType[_0x425000(0x205)]},{'id':_0x425000(0x208),'displayedPrompt':_0x18d411(_0xf6eb6f,_0x425000(0x236)),'prompt':Vt[_0x425000(0x253)]('%0',_0x295e9e),'type':AIQuickActionType[_0x425000(0x205)]},{'id':_0x425000(0x21e),'displayedPrompt':_0x18d411(_0xf6eb6f,_0x425000(0x227)),'prompt':Xt[_0x425000(0x253)]('%0',_0x295e9e),'type':AIQuickActionType[_0x425000(0x205)]}]},{'id':_0x425000(0x24a),'displayedPrompt':_0x18d411(_0xf6eb6f,_0x425000(0x25a)),'type':AIQuickActionType[_0x425000(0x1ff)],'icon':_0x1872f2},{'id':_0x425000(0x212),'displayedPrompt':_0x18d411(_0xf6eb6f,_0x425000(0x1fe)),'type':AIQuickActionType[_0x425000(0x1ff)],'icon':_0x2e7cd3},{'id':_0x425000(0x1f9),'displayedPrompt':_0x18d411(_0xf6eb6f,_0x425000(0x250)),'type':AIQuickActionType[_0x425000(0x1ff)],'icon':_0x30505a},{'id':_0x425000(0x23f),'label':_0x18d411(_0xf6eb6f,_0x425000(0x25b)),'icon':_0x301669,'actions':[{'id':_0x425000(0x1fa),'displayedPrompt':_0x18d411(_0xf6eb6f,_0x425000(0x238)),'type':AIQuickActionType[_0x425000(0x1ff)]},{'id':_0x425000(0x203),'displayedPrompt':_0x18d411(_0xf6eb6f,_0x425000(0x1f6)),'type':AIQuickActionType[_0x425000(0x1ff)]}]},{'id':_0x425000(0x217),'label':_0x18d411(_0xf6eb6f,_0x425000(0x229)),'icon':_0x3e79e9,'actions':[{'id':_0x425000(0x242),'displayedPrompt':_0x18d411(_0xf6eb6f,_0x425000(0x263)),'type':AIQuickActionType[_0x425000(0x1ff)]},{'id':_0x425000(0x21c),'displayedPrompt':_0x18d411(_0xf6eb6f,_0x425000(0x266)),'type':AIQuickActionType[_0x425000(0x1ff)]},{'id':_0x425000(0x264),'displayedPrompt':_0x18d411(_0xf6eb6f,_0x425000(0x226)),'type':AIQuickActionType[_0x425000(0x1ff)]},{'id':_0x425000(0x240),'displayedPrompt':_0x18d411(_0xf6eb6f,_0x425000(0x218)),'type':AIQuickActionType[_0x425000(0x1ff)]},{'id':_0x425000(0x214),'displayedPrompt':_0x18d411(_0xf6eb6f,_0x425000(0x210)),'type':AIQuickActionType[_0x425000(0x1ff)]}]},{'id':_0x425000(0x228),'label':_0x18d411(_0xf6eb6f,_0x425000(0x1f2)),'icon':_0x409849,'actions':[{'id':_0x425000(0x23b),'displayedPrompt':_0x18d411(_0xf6eb6f,_0x425000(0x219)),'type':AIQuickActionType[_0x425000(0x1ff)],'actionName':_0x425000(0x228),'args':{'language':_0x425000(0x23d)}},{'id':_0x425000(0x215),'displayedPrompt':_0x18d411(_0xf6eb6f,_0x425000(0x260)),'type':AIQuickActionType[_0x425000(0x1ff)],'actionName':_0x425000(0x228),'args':{'language':_0x425000(0x201)}},{'id':_0x425000(0x233),'displayedPrompt':_0x18d411(_0xf6eb6f,_0x425000(0x257)),'type':AIQuickActionType[_0x425000(0x1ff)],'actionName':_0x425000(0x228),'args':{'language':_0x425000(0x216)}},{'id':_0x425000(0x1ef),'displayedPrompt':_0x18d411(_0xf6eb6f,_0x425000(0x1fd)),'type':AIQuickActionType[_0x425000(0x1ff)],'actionName':_0x425000(0x228),'args':{'language':_0x425000(0x246)}},{'id':_0x425000(0x206),'displayedPrompt':_0x18d411(_0xf6eb6f,_0x425000(0x20f)),'type':AIQuickActionType[_0x425000(0x1ff)],'actionName':_0x425000(0x228),'args':{'language':_0x425000(0x20b)}},{'id':_0x425000(0x20d),'displayedPrompt':_0x18d411(_0xf6eb6f,_0x425000(0x1fb)),'type':AIQuickActionType[_0x425000(0x1ff)],'actionName':_0x425000(0x228),'args':{'language':_0x425000(0x25f)}},{'id':_0x425000(0x1f3),'displayedPrompt':_0x18d411(_0xf6eb6f,_0x425000(0x24c)),'type':AIQuickActionType[_0x425000(0x1ff)],'actionName':_0x425000(0x228),'args':{'language':_0x425000(0x231)}},{'id':_0x425000(0x23a),'displayedPrompt':_0x18d411(_0xf6eb6f,_0x425000(0x220)),'type':AIQuickActionType[_0x425000(0x1ff)],'actionName':_0x425000(0x228),'args':{'language':_0x425000(0x23e)}}]},{'id':_0x425000(0x239),'label':_0x18d411(_0xf6eb6f,_0x425000(0x1f8)),'icon':_0x3906e9,'actions':[]}];return _0x3a2dbc;}(_0x1458f0);}[_0x2a102c(0x22c)](){const _0x2e5c4d=_0x2a102c,_0x39261f=AIQuickActionsUI[_0x2e5c4d(0x256)](this[_0x2e5c4d(0x24f)][_0x2e5c4d(0x213)]),_0x783e50=(this[_0x2e5c4d(0x24f)][_0x2e5c4d(0x1f5)][_0x2e5c4d(0x245)](_0x2e5c4d(0x22f))||[])[_0x2e5c4d(0x204)](_0x3ffbfe=>({..._0x3ffbfe,'icon':void 0x0}));return _0x39261f[_0x2e5c4d(0x1f1)](_0x44782a=>_0x2e5c4d(0x239)===_0x44782a['id'])[_0x2e5c4d(0x225)][_0x2e5c4d(0x207)](..._0x783e50),_0x39261f;}[_0x2a102c(0x223)](){const _0x193a89=_0x2a102c,_0x59dc54=new _0x348796(this[_0x193a89(0x24f)][_0x193a89(0x213)]);_0x59dc54[_0x193a89(0x255)](),this[_0x193a89(0x209)](_0x59dc54),this[_0x193a89(0x249)](_0x59dc54);}[_0x2a102c(0x209)](_0x201884){const _0x32b8af=_0x2a102c;this[_0x32b8af(0x24f)]['ui'][_0x32b8af(0x21a)][_0x32b8af(0x221)](_0x32b8af(0x259),_0x5ad8aa(this[_0x32b8af(0x24f)],this[_0x32b8af(0x1f0)],{'icon':_0x308a0d,'label':_0x18d411(this[_0x32b8af(0x24f)][_0x32b8af(0x213)],_0x32b8af(0x222))},_0x201884));}[_0x2a102c(0x262)](_0x3f85a4){const _0x1eb4f5=_0x2a102c;this[_0x1eb4f5(0x1f0)]=_0x3f85a4[_0x1eb4f5(0x204)](_0x1ad963=>{const _0x475ca5=_0x1eb4f5;if(_0x475ca5(0x225)in _0x1ad963){const _0x5ed471=_0x1ad963;return{..._0x5ed471,'actions':_0x5ed471[_0x475ca5(0x225)][_0x475ca5(0x204)](_0x8d037d=>{const {actions:_0x549018,..._0x2f1b5b}=_0x5ed471;return{..._0x8d037d,'parent':_0x2f1b5b};})[_0x475ca5(0x235)](_0x481b9e=>this[_0x475ca5(0x265)](_0x481b9e))};}return _0x1ad963;})[_0x1eb4f5(0x235)](_0xbc2441=>_0x1eb4f5(0x225)in _0xbc2441?_0xbc2441[_0x1eb4f5(0x225)][_0x1eb4f5(0x21d)]>0x0:this[_0x1eb4f5(0x265)](_0xbc2441));}[_0x2a102c(0x265)](_0x19a8a3){const _0x1bf1db=_0x2a102c,_0xd67e12=this[_0x1bf1db(0x24f)][_0x1bf1db(0x1f5)][_0x1bf1db(0x245)](_0x1bf1db(0x200))||[];return this[_0x1bf1db(0x24f)][_0x1bf1db(0x258)][_0x1bf1db(0x241)](AIQuickActionTypeToPluginName[_0x19a8a3[_0x1bf1db(0x254)]])&&!_0xd67e12[_0x1bf1db(0x247)](_0x19a8a3['id']);}[_0x2a102c(0x249)](_0x4b65f9){const _0x22fb8b=_0x2a102c;this[_0x22fb8b(0x1f0)][_0x22fb8b(0x243)](_0x57300b=>{const _0x26f87e=_0x22fb8b;if(_0x26f87e(0x225)in _0x57300b){const _0x21a676=_0x5ad8aa(this[_0x26f87e(0x24f)],_0x57300b[_0x26f87e(0x225)],_0x57300b,_0x4b65f9);this[_0x26f87e(0x24f)]['ui'][_0x26f87e(0x21a)][_0x26f87e(0x221)](_0x57300b['id'],_0x21a676),_0x57300b[_0x26f87e(0x225)][_0x26f87e(0x243)](_0x22ffaf=>{const _0x3522c5=_0x26f87e,_0x131c98=_0x5378bb(this[_0x3522c5(0x24f)],_0x22ffaf);this[_0x3522c5(0x24f)]['ui'][_0x3522c5(0x21a)][_0x3522c5(0x221)](_0x22ffaf['id'],_0x131c98);});}else{const _0x399887=_0x5378bb(this[_0x26f87e(0x24f)],_0x57300b);this[_0x26f87e(0x24f)]['ui'][_0x26f87e(0x21a)][_0x26f87e(0x221)](_0x57300b['id'],_0x399887);}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x45d6(){const _0x5de471=['266832qLQfsk','2142234VYEBMr','extendTemplate','execute','focus','set','2idaltb','aiQuickAction','bindTemplate','10097353dTfsie','parent','3657696rrZZJc','273901AJMrTS','displayedPrompt','editing','5560795PKIyaR','icon','7157576YrNowu','menuitem','view','commands','locale'];_0x45d6=function(){return _0x5de471;};return _0x45d6();}function _0x3f2f(_0x2dd06a,_0x593606){const _0x45d6f0=_0x45d6();return _0x3f2f=function(_0x3f2fc8,_0xffac15){_0x3f2fc8=_0x3f2fc8-0x1b1;let _0x6f88c9=_0x45d6f0[_0x3f2fc8];return _0x6f88c9;},_0x3f2f(_0x2dd06a,_0x593606);}(function(_0x196a37,_0x1fabc3){const _0x121642=_0x3f2f,_0x294433=_0x196a37();while(!![]){try{const _0x569a4f=-parseInt(_0x121642(0x1bd))/0x1*(parseInt(_0x121642(0x1b7))/0x2)+-parseInt(_0x121642(0x1b2))/0x3+-parseInt(_0x121642(0x1b1))/0x4+-parseInt(_0x121642(0x1c0))/0x5+parseInt(_0x121642(0x1bc))/0x6+parseInt(_0x121642(0x1ba))/0x7+parseInt(_0x121642(0x1c2))/0x8;if(_0x569a4f===_0x1fabc3)break;else _0x294433['push'](_0x294433['shift']());}catch(_0x372f10){_0x294433['push'](_0x294433['shift']());}}}(_0x45d6,0xbe6aa));import{ButtonView as _0xa1f8c9}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x14fa1d}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x3253a0,_0x1af35e,_0x748130=!0x1,_0x1891f7=!0x0){return()=>{const _0x2399bb=_0x3f2f,_0x12cc9d=_0x3253a0[_0x2399bb(0x1c6)],_0x5ecfa2=new _0xa1f8c9(_0x12cc9d),_0x418a27=_0x5ecfa2[_0x2399bb(0x1b9)];_0x5ecfa2[_0x2399bb(0x1b3)]({'on':{'mouseenter':_0x418a27['to'](()=>{const _0x43fd63=_0x2399bb;_0x5ecfa2[_0x43fd63(0x1b5)]();})}});const _0x6f0e4b=_0x1af35e[_0x2399bb(0x1c1)]??_0x1af35e[_0x2399bb(0x1bb)]?.[_0x2399bb(0x1c1)];return _0x5ecfa2[_0x2399bb(0x1b6)]({'label':_0x1af35e[_0x2399bb(0x1be)],'withText':_0x748130,'role':_0x2399bb(0x1c3),'icon':_0x1891f7?_0x6f0e4b??_0x14fa1d:void 0x0,'tooltip':!_0x748130}),_0x5ecfa2['on'](_0x2399bb(0x1b4),()=>{const _0x4a6443=_0x2399bb;_0x3253a0[_0x4a6443(0x1bf)][_0x4a6443(0x1c4)][_0x4a6443(0x1b5)](),_0x3253a0[_0x4a6443(0x1c5)][_0x4a6443(0x1b4)](_0x4a6443(0x1b8),_0x1af35e);}),_0x5ecfa2;};}
23
+ (function(_0x2bc7ad,_0x2d0798){const _0x5e896a=_0x5b11,_0x3e1074=_0x2bc7ad();while(!![]){try{const _0x2aaa2b=-parseInt(_0x5e896a(0x83))/0x1*(-parseInt(_0x5e896a(0x7f))/0x2)+-parseInt(_0x5e896a(0x8f))/0x3+-parseInt(_0x5e896a(0x82))/0x4*(-parseInt(_0x5e896a(0x8b))/0x5)+parseInt(_0x5e896a(0x87))/0x6*(-parseInt(_0x5e896a(0x86))/0x7)+parseInt(_0x5e896a(0x7d))/0x8+-parseInt(_0x5e896a(0x80))/0x9*(-parseInt(_0x5e896a(0x81))/0xa)+-parseInt(_0x5e896a(0x91))/0xb;if(_0x2aaa2b===_0x2d0798)break;else _0x3e1074['push'](_0x3e1074['shift']());}catch(_0x38a39e){_0x3e1074['push'](_0x3e1074['shift']());}}}(_0x3510,0x68ec7));function _0x5b11(_0x31bb97,_0x3fbf8e){const _0x3510da=_0x3510();return _0x5b11=function(_0x5b114b,_0x2c68f8){_0x5b114b=_0x5b114b-0x7c;let _0x62e86=_0x3510da[_0x5b114b];return _0x62e86;},_0x5b11(_0x31bb97,_0x3fbf8e);}import{ButtonView as _0x2587d1}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x4b8adc}from'@ckeditor/ckeditor5-icons';function _0x3510(){const _0x3ac134=['1602vqWWOf','37680DjjliV','340hZbYto','309195SQajKM','parent','icon','5677LbvBQc','942NfOvbZ','displayedPrompt','aiQuickAction','commands','37435FfgsFj','locale','focus','view','2368419OekXJB','execute','10913958qYEmyI','extendTemplate','editing','set','menuitem','3306048JchQpH','bindTemplate','4QeHsrb'];_0x3510=function(){return _0x3ac134;};return _0x3510();}export function aiQuickActionsButtonCreator(_0x253069,_0x20b4fa,_0x19bbaf=!0x1,_0x4bba78=!0x0){return()=>{const _0x5b1af1=_0x5b11,_0x1b6abe=_0x253069[_0x5b1af1(0x8c)],_0x5c84e8=new _0x2587d1(_0x1b6abe),_0xdc9aa1=_0x5c84e8[_0x5b1af1(0x7e)];_0x5c84e8[_0x5b1af1(0x92)]({'on':{'mouseenter':_0xdc9aa1['to'](()=>{const _0x31e1eb=_0x5b1af1;_0x5c84e8[_0x31e1eb(0x8d)]();})}});const _0x433927=_0x20b4fa[_0x5b1af1(0x85)]??_0x20b4fa[_0x5b1af1(0x84)]?.[_0x5b1af1(0x85)];return _0x5c84e8[_0x5b1af1(0x94)]({'label':_0x20b4fa[_0x5b1af1(0x88)],'withText':_0x19bbaf,'role':_0x5b1af1(0x7c),'icon':_0x4bba78?_0x433927??_0x4b8adc:void 0x0,'tooltip':!_0x19bbaf}),_0x5c84e8['on'](_0x5b1af1(0x90),()=>{const _0x225a47=_0x5b1af1;_0x253069[_0x225a47(0x93)][_0x225a47(0x8e)][_0x225a47(0x8d)](),_0x253069[_0x225a47(0x8a)][_0x225a47(0x90)](_0x225a47(0x89),_0x20b4fa);}),_0x5c84e8;};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x72f8(_0x25bec6,_0x1b9d53){const _0x390d28=_0x390d();return _0x72f8=function(_0x72f8c7,_0x6e9c37){_0x72f8c7=_0x72f8c7-0x1e5;let _0xf3c080=_0x390d28[_0x72f8c7];return _0xf3c080;},_0x72f8(_0x25bec6,_0x1b9d53);}const _0x3d1781=_0x72f8;(function(_0x5454e1,_0x1c6285){const _0x2ee4e6=_0x72f8,_0x26447d=_0x5454e1();while(!![]){try{const _0x4d341e=parseInt(_0x2ee4e6(0x201))/0x1+parseInt(_0x2ee4e6(0x225))/0x2+parseInt(_0x2ee4e6(0x1f3))/0x3+parseInt(_0x2ee4e6(0x217))/0x4+-parseInt(_0x2ee4e6(0x229))/0x5*(parseInt(_0x2ee4e6(0x21d))/0x6)+parseInt(_0x2ee4e6(0x1e9))/0x7+-parseInt(_0x2ee4e6(0x1f9))/0x8;if(_0x4d341e===_0x1c6285)break;else _0x26447d['push'](_0x26447d['shift']());}catch(_0x1612b4){_0x26447d['push'](_0x26447d['shift']());}}}(_0x390d,0xdb8d6));function _0x390d(){const _0x5a26c6=['ck-ai-quick-actions-group-panel','ck-ai-quick-actions-group-list','closest','5bxdwkC','render','menuitem','optionsListView','children','uiLanguageDirection','_setupGroupMenuBehavior','_openNestedPanels','focusCycler','.ck-ai-quick-actions-group-button','menu','addMany','ck-reset_all','forEach','4803799YZGktB','delete','keystrokes','actions','ArrowLeft','_createActionGroupButton','contains','clear','role','ck-rounded-corners','885477rHemXC','pin','_showNestedPanel','key','ArrowRight','content','4034328TCBeyA','get','.ck-ai-quick-actions-group-panel','isVisible','items','label','div','_createListItems','1530842qLUeSk','set','isOn','ck-dropdown-menu-list','setTemplate','relatedTarget','show','_createActionButton','ck-dropdown-menu__nested-menu__panel','hide','element','focusTracker','extendTemplate','bindTemplate','detachFromDom','_hideNestedPanel','ck-ai-quick-actions','_hideAllNestedPanels','add','focus','locale','_focusables','1743044ZyPIkQ','ck-ai-quick-actions-group-button','bind','_createGroupActionsList','_bodyCollection','eastSouth','10146414IatAbK','.ck-ai-quick-actions-group-list','addEventListener','_isMovingToNestedMenu','icon','mouseleave','rtl','destroy','293254wEwjdG'];_0x390d=function(){return _0x5a26c6;};return _0x390d();}import{View as _0x158252,ListItemView as _0x3c257f,ListView as _0x327206,BalloonPanelView as _0x45d449,DropdownMenuPanelPositioningFunctions as _0xc00e98,DropdownMenuButtonView as _0x572e78,ViewCollection as _0x4c36d7,FocusCycler as _0x4d28f2}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x2622cc}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x4a8063,KeystrokeHandler as _0xedf9be}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x53f1}from'./aiquickactionsbuttoncreator.js';const Fs=_0x3d1781(0x1e5),Js=_0x3d1781(0x22b);export class AIQuickActionsDropdownContentView extends _0x158252{[_0x3d1781(0x21b)];[_0x3d1781(0x22c)];[_0x3d1781(0x20c)];[_0x3d1781(0x1eb)];[_0x3d1781(0x216)];[_0x3d1781(0x231)];[_0x3d1781(0x230)]=new Set();constructor(_0x54f516,_0x146732,_0x591ef0,_0x172b58){const _0x46b881=_0x3d1781,_0x12b263=_0x54f516[_0x46b881(0x215)];super(_0x12b263),this[_0x46b881(0x21b)]=_0x172b58;const _0x5f2a9a=this[_0x46b881(0x200)](_0x54f516,_0x146732,_0x591ef0);this[_0x46b881(0x22c)]=new _0x327206(_0x12b263),this[_0x46b881(0x22c)][_0x46b881(0x1f1)]=Fs,this[_0x46b881(0x22c)][_0x46b881(0x1fd)][_0x46b881(0x1e6)](_0x5f2a9a),this[_0x46b881(0x20c)]=new _0x4a8063(),this[_0x46b881(0x1eb)]=new _0xedf9be(),this[_0x46b881(0x216)]=_0x5f2a9a,this[_0x46b881(0x231)]=new _0x4d28f2({'focusables':this[_0x46b881(0x216)],'focusTracker':this[_0x46b881(0x20c)],'keystrokeHandler':this[_0x46b881(0x1eb)]}),this[_0x46b881(0x205)]({'tag':_0x46b881(0x1ff),'attributes':{'class':['ck',_0x46b881(0x1e7),_0x46b881(0x211),_0x46b881(0x1f2)],'dir':_0x12b263[_0x46b881(0x22e)]},'children':[this[_0x46b881(0x22c)]]});}[_0x3d1781(0x200)](_0x16419b,_0x23a7cd,_0x16d06e){const _0x3f4b0c=_0x3d1781,_0x3c710b=new _0x4c36d7();return _0x23a7cd[_0x3f4b0c(0x1e8)](_0x4893a1=>{const _0x2da8ca=_0x3f4b0c;_0x2da8ca(0x1ec)in _0x4893a1?_0x3c710b[_0x2da8ca(0x213)](this[_0x2da8ca(0x1ee)](_0x16419b,_0x4893a1,_0x16d06e)):_0x3c710b[_0x2da8ca(0x213)](this[_0x2da8ca(0x208)](_0x16419b,_0x4893a1));}),_0x3c710b;}[_0x3d1781(0x208)](_0x1f4338,_0x394416){const _0x46a1b1=_0x3d1781,_0x46e46e=new _0x3c257f(this[_0x46a1b1(0x215)]),_0x2e6452=_0x53f1(_0x1f4338,_0x394416,!0x0)();return _0x46e46e[_0x46a1b1(0x22d)][_0x46a1b1(0x213)](_0x2e6452),_0x46e46e;}[_0x3d1781(0x1ee)](_0x224a7f,_0x508e88,_0x21f964){const _0x4aff50=_0x3d1781,_0x232b40=new _0x3c257f(this[_0x4aff50(0x215)]),_0x174612=new _0x572e78(this[_0x4aff50(0x215)]),_0x38d3bf=_0x174612[_0x4aff50(0x20e)],_0x1d4069=_0x4aff50(0x223)===_0x21f964[_0x4aff50(0x215)][_0x4aff50(0x22e)]?_0x4aff50(0x1f7):_0x4aff50(0x1ed),_0x4e3b9a=this[_0x4aff50(0x21a)](_0x224a7f,_0x508e88[_0x4aff50(0x1ec)],_0x21f964);_0x174612[_0x4aff50(0x202)]({'label':_0x508e88[_0x4aff50(0x1fe)],'withText':!0x0,'role':Js,'icon':_0x508e88[_0x4aff50(0x221)]??_0x2622cc}),_0x174612[_0x4aff50(0x20d)]({'on':{'mouseenter':_0x38d3bf['to'](()=>{const _0x2d9356=_0x4aff50;_0x174612[_0x2d9356(0x214)]();})}});const _0x5a6433=new _0x45d449(this[_0x4aff50(0x215)]);return _0x5a6433[_0x4aff50(0x20d)]({'attributes':{'class':['ck',_0x4aff50(0x1e7),_0x4aff50(0x226),_0x4aff50(0x209)]},'on':{'keydown':_0x38d3bf['to'](_0x67d322=>{const _0x299e5f=_0x4aff50;_0x67d322[_0x299e5f(0x1f6)]==_0x1d4069&&(_0x174612[_0x299e5f(0x214)](),this[_0x299e5f(0x210)](_0x5a6433));})}}),_0x174612[_0x4aff50(0x219)](_0x4aff50(0x203))['to'](_0x5a6433,_0x4aff50(0x1fc)),this[_0x4aff50(0x21b)][_0x4aff50(0x213)](_0x5a6433),_0x5a6433[_0x4aff50(0x1f8)][_0x4aff50(0x213)](_0x4e3b9a),this[_0x4aff50(0x22f)](_0x174612,_0x5a6433),_0x232b40[_0x4aff50(0x22d)][_0x4aff50(0x213)](_0x174612),_0x232b40;}[_0x3d1781(0x21a)](_0x5ae9b1,_0x2e518e,_0x3840f8){const _0x3c5a48=_0x3d1781,_0x5cb840=new _0x327206(this[_0x3c5a48(0x215)]);return _0x5cb840[_0x3c5a48(0x20d)]({'attributes':{'class':['ck',_0x3c5a48(0x1e7),_0x3c5a48(0x227),_0x3c5a48(0x204)]}}),_0x2e518e[_0x3c5a48(0x1e8)](_0xb5dc9f=>{const _0x568dfa=_0x3c5a48,_0x2b4ad9=new _0x3c257f(this[_0x568dfa(0x215)]),_0x5eaed4=_0x53f1(_0x5ae9b1,_0xb5dc9f,!0x0,!0x1)();_0x2b4ad9[_0x568dfa(0x22d)][_0x568dfa(0x213)](_0x5eaed4),_0x3840f8[_0x568dfa(0x20c)][_0x568dfa(0x213)](_0x5eaed4),_0x5cb840[_0x568dfa(0x1fd)][_0x568dfa(0x213)](_0x2b4ad9);}),_0x5cb840;}[_0x3d1781(0x22f)](_0x516ea3,_0x2ff574){const _0x5d999c=_0x3d1781,_0x11fa45=_0x516ea3[_0x5d999c(0x20e)],_0x3302c5=_0x5d999c(0x223)===_0x516ea3[_0x5d999c(0x215)][_0x5d999c(0x22e)]?_0x5d999c(0x1ed):_0x5d999c(0x1f7);_0x516ea3[_0x5d999c(0x20d)]({'attributes':{'class':[_0x5d999c(0x218)]},'on':{'mouseenter':_0x11fa45['to'](()=>{const _0x362347=_0x5d999c;this[_0x362347(0x1f5)](_0x2ff574,_0x516ea3);}),'mouseleave':_0x11fa45['to'](_0x2e2584=>{const _0x18ff72=_0x5d999c,_0x2b3147=_0x2e2584[_0x18ff72(0x206)];this[_0x18ff72(0x220)](_0x2b3147,_0x2ff574)||this[_0x18ff72(0x210)](_0x2ff574);}),'keydown':_0x11fa45['to'](_0x506675=>{const _0x256704=_0x5d999c;_0x506675[_0x256704(0x1f6)]==_0x3302c5&&(this[_0x256704(0x1f5)](_0x2ff574,_0x516ea3),_0x2ff574[_0x256704(0x1f8)][_0x256704(0x1fa)](0x0)[_0x256704(0x214)]());})}}),_0x2ff574['on'](_0x5d999c(0x22a),()=>{const _0x172881=_0x5d999c;_0x2ff574[_0x172881(0x20b)]?.[_0x172881(0x21f)](_0x172881(0x222),_0x1bbf7f=>{const _0x211281=_0x172881,_0x552361=_0x1bbf7f[_0x211281(0x206)];_0x516ea3[_0x211281(0x20b)]?.[_0x211281(0x1ef)](_0x552361)||this[_0x211281(0x220)](_0x552361,_0x2ff574)||this[_0x211281(0x210)](_0x2ff574);});});}[_0x3d1781(0x1f5)](_0x45f32e,_0x4d10cb){const _0x20510a=_0x3d1781;this[_0x20510a(0x230)][_0x20510a(0x1e8)](_0xfb816b=>{const _0x2e70af=_0x20510a;_0xfb816b!==_0x45f32e&&_0xfb816b[_0x2e70af(0x1fc)]&&_0xfb816b[_0x2e70af(0x20a)]();}),_0x45f32e[_0x20510a(0x207)](),_0x45f32e[_0x20510a(0x1f4)]({'positions':[_0xc00e98[_0x20510a(0x21c)]],'target':_0x4d10cb[_0x20510a(0x20b)],'fitInViewport':!0x0}),this[_0x20510a(0x230)][_0x20510a(0x213)](_0x45f32e);}[_0x3d1781(0x210)](_0x21b534){const _0x1c7de8=_0x3d1781;_0x21b534[_0x1c7de8(0x20a)](),this[_0x1c7de8(0x230)][_0x1c7de8(0x1ea)](_0x21b534);}[_0x3d1781(0x212)](){const _0x41e5b7=_0x3d1781;this[_0x41e5b7(0x230)][_0x41e5b7(0x1e8)](_0x5f29a3=>_0x5f29a3[_0x41e5b7(0x20a)]()),this[_0x41e5b7(0x230)][_0x41e5b7(0x1f0)]();}[_0x3d1781(0x220)](_0x2e4a1c,_0x4cb746){const _0x5b8bc2=_0x3d1781;if(!_0x2e4a1c)return!0x1;if(_0x4cb746[_0x5b8bc2(0x20b)]?.[_0x5b8bc2(0x1ef)](_0x2e4a1c))return!0x0;const _0x2ef0a6=_0x2e4a1c;return _0x2ef0a6[_0x5b8bc2(0x228)]&&(null!==_0x2ef0a6[_0x5b8bc2(0x228)](_0x5b8bc2(0x1fb))||null!==_0x2ef0a6[_0x5b8bc2(0x228)](_0x5b8bc2(0x21e))||null!==_0x2ef0a6[_0x5b8bc2(0x228)](_0x5b8bc2(0x232)));}[_0x3d1781(0x224)](){const _0x1fe60b=_0x3d1781;this[_0x1fe60b(0x212)](),this[_0x1fe60b(0x21b)][_0x1fe60b(0x20f)](),super[_0x1fe60b(0x224)]();}[_0x3d1781(0x214)](){const _0x1f4684=_0x3d1781;this[_0x1f4684(0x22c)][_0x1f4684(0x214)]();}}
23
+ function _0x363e(){const _0x523049=['extendTemplate','_isMovingToNestedMenu','74932UctLUT','ck-dropdown-menu__nested-menu__panel','bind','contains','_createListItems','260aailSI','_hideNestedPanel','div','locale','delete','_createGroupActionsList','2003457BCgCQv','destroy','mouseleave','ck-ai-quick-actions-group-panel','clear','_setupGroupMenuBehavior','isVisible','4056647YCNiVV','optionsListView','forEach','_openNestedPanels','relatedTarget','ck-rounded-corners','items','menu','ck-ai-quick-actions-group-button','label','content','_createActionButton','menuitem','keystrokes','_bodyCollection','1392612rHgJRC','ck-reset_all','element','ck-ai-quick-actions','add','.ck-ai-quick-actions-group-list','children','actions','get','340gjeknQ','eastSouth','setTemplate','ck-ai-quick-actions-group-list','rtl','focusCycler','pin','1482532cyrCzg','_showNestedPanel','render','isOn','role','2xTMyuy','.ck-ai-quick-actions-group-panel','ArrowLeft','bindTemplate','24oZxnbL','ArrowRight','_createActionGroupButton','7090523kjjONt','set','_focusables','100872BEIiyX','uiLanguageDirection','show','.ck-ai-quick-actions-group-button','focus','ck-dropdown-menu-list','addEventListener','24XVSPUE','icon','focusTracker','detachFromDom','closest','hide','addMany','_hideAllNestedPanels','key'];_0x363e=function(){return _0x523049;};return _0x363e();}const _0x294653=_0x5344;(function(_0x2d9050,_0x41f58c){const _0x2893eb=_0x5344,_0x186e12=_0x2d9050();while(!![]){try{const _0x5045a1=parseInt(_0x2893eb(0x235))/0x1+parseInt(_0x2893eb(0x23a))/0x2*(-parseInt(_0x2893eb(0x20f))/0x3)+parseInt(_0x2893eb(0x204))/0x4*(-parseInt(_0x2893eb(0x209))/0x5)+parseInt(_0x2893eb(0x225))/0x6+-parseInt(_0x2893eb(0x216))/0x7*(-parseInt(_0x2893eb(0x1f9))/0x8)+-parseInt(_0x2893eb(0x244))/0x9*(-parseInt(_0x2893eb(0x22e))/0xa)+parseInt(_0x2893eb(0x241))/0xb*(-parseInt(_0x2893eb(0x23e))/0xc);if(_0x5045a1===_0x41f58c)break;else _0x186e12['push'](_0x186e12['shift']());}catch(_0x1e62f0){_0x186e12['push'](_0x186e12['shift']());}}}(_0x363e,0xdc7ec));import{View as _0x17d47a,ListItemView as _0x88772f,ListView as _0x3d518c,BalloonPanelView as _0x17c74e,DropdownMenuPanelPositioningFunctions as _0x740a36,DropdownMenuButtonView as _0x263d19,ViewCollection as _0x41dc7d,FocusCycler as _0x445323}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x3629ab}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x54cc19,KeystrokeHandler as _0x2cc915}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x5ec9fc}from'./aiquickactionsbuttoncreator.js';const qs=_0x294653(0x21d),ys=_0x294653(0x222);function _0x5344(_0x3efda6,_0x586721){const _0x363e2b=_0x363e();return _0x5344=function(_0x534472,_0x68a6e4){_0x534472=_0x534472-0x1f3;let _0x4c1f4c=_0x363e2b[_0x534472];return _0x4c1f4c;},_0x5344(_0x3efda6,_0x586721);}export class AIQuickActionsDropdownContentView extends _0x17d47a{[_0x294653(0x224)];[_0x294653(0x217)];[_0x294653(0x1fb)];[_0x294653(0x223)];[_0x294653(0x243)];[_0x294653(0x233)];[_0x294653(0x219)]=new Set();constructor(_0x541afc,_0x1c5d5f,_0x3b94cf,_0x326769){const _0x3862f8=_0x294653,_0x5c84a1=_0x541afc[_0x3862f8(0x20c)];super(_0x5c84a1),this[_0x3862f8(0x224)]=_0x326769;const _0x4f7cb9=this[_0x3862f8(0x208)](_0x541afc,_0x1c5d5f,_0x3b94cf);this[_0x3862f8(0x217)]=new _0x3d518c(_0x5c84a1),this[_0x3862f8(0x217)][_0x3862f8(0x239)]=qs,this[_0x3862f8(0x217)][_0x3862f8(0x21c)][_0x3862f8(0x1ff)](_0x4f7cb9),this[_0x3862f8(0x1fb)]=new _0x54cc19(),this[_0x3862f8(0x223)]=new _0x2cc915(),this[_0x3862f8(0x243)]=_0x4f7cb9,this[_0x3862f8(0x233)]=new _0x445323({'focusables':this[_0x3862f8(0x243)],'focusTracker':this[_0x3862f8(0x1fb)],'keystrokeHandler':this[_0x3862f8(0x223)]}),this[_0x3862f8(0x230)]({'tag':_0x3862f8(0x20b),'attributes':{'class':['ck',_0x3862f8(0x226),_0x3862f8(0x228),_0x3862f8(0x21b)],'dir':_0x5c84a1[_0x3862f8(0x1f3)]},'children':[this[_0x3862f8(0x217)]]});}[_0x294653(0x208)](_0x690111,_0x57b661,_0x5594e5){const _0x15ed8c=_0x294653,_0x2b1b36=new _0x41dc7d();return _0x57b661[_0x15ed8c(0x218)](_0x1ae260=>{const _0x4bc253=_0x15ed8c;_0x4bc253(0x22c)in _0x1ae260?_0x2b1b36[_0x4bc253(0x229)](this[_0x4bc253(0x240)](_0x690111,_0x1ae260,_0x5594e5)):_0x2b1b36[_0x4bc253(0x229)](this[_0x4bc253(0x221)](_0x690111,_0x1ae260));}),_0x2b1b36;}[_0x294653(0x221)](_0x34cd10,_0x518bff){const _0x1dbe6a=_0x294653,_0x56c174=new _0x88772f(this[_0x1dbe6a(0x20c)]),_0x29bb07=_0x5ec9fc(_0x34cd10,_0x518bff,!0x0)();return _0x56c174[_0x1dbe6a(0x22b)][_0x1dbe6a(0x229)](_0x29bb07),_0x56c174;}[_0x294653(0x240)](_0x5992b2,_0x1b53a8,_0x43503b){const _0x103e30=_0x294653,_0x3a63ad=new _0x88772f(this[_0x103e30(0x20c)]),_0xf6343a=new _0x263d19(this[_0x103e30(0x20c)]),_0x2b586e=_0xf6343a[_0x103e30(0x23d)],_0x3811fc=_0x103e30(0x232)===_0x43503b[_0x103e30(0x20c)][_0x103e30(0x1f3)]?_0x103e30(0x23f):_0x103e30(0x23c),_0x229a6f=this[_0x103e30(0x20e)](_0x5992b2,_0x1b53a8[_0x103e30(0x22c)],_0x43503b);_0xf6343a[_0x103e30(0x242)]({'label':_0x1b53a8[_0x103e30(0x21f)],'withText':!0x0,'role':ys,'icon':_0x1b53a8[_0x103e30(0x1fa)]??_0x3629ab}),_0xf6343a[_0x103e30(0x202)]({'on':{'mouseenter':_0x2b586e['to'](()=>{const _0x5e4d98=_0x103e30;_0xf6343a[_0x5e4d98(0x1f6)]();})}});const _0x599ac2=new _0x17c74e(this[_0x103e30(0x20c)]);return _0x599ac2[_0x103e30(0x202)]({'attributes':{'class':['ck',_0x103e30(0x226),_0x103e30(0x212),_0x103e30(0x205)]},'on':{'keydown':_0x2b586e['to'](_0x8cd5bc=>{const _0x539e32=_0x103e30;_0x8cd5bc[_0x539e32(0x201)]==_0x3811fc&&(_0xf6343a[_0x539e32(0x1f6)](),this[_0x539e32(0x20a)](_0x599ac2));})}}),_0xf6343a[_0x103e30(0x206)](_0x103e30(0x238))['to'](_0x599ac2,_0x103e30(0x215)),this[_0x103e30(0x224)][_0x103e30(0x229)](_0x599ac2),_0x599ac2[_0x103e30(0x220)][_0x103e30(0x229)](_0x229a6f),this[_0x103e30(0x214)](_0xf6343a,_0x599ac2),_0x3a63ad[_0x103e30(0x22b)][_0x103e30(0x229)](_0xf6343a),_0x3a63ad;}[_0x294653(0x20e)](_0x59d2bb,_0x157617,_0x406d4c){const _0x113f88=_0x294653,_0xa6dd7a=new _0x3d518c(this[_0x113f88(0x20c)]);return _0xa6dd7a[_0x113f88(0x202)]({'attributes':{'class':['ck',_0x113f88(0x226),_0x113f88(0x231),_0x113f88(0x1f7)]}}),_0x157617[_0x113f88(0x218)](_0x3b5b7c=>{const _0x5c5376=_0x113f88,_0x3c1f2b=new _0x88772f(this[_0x5c5376(0x20c)]),_0xaf5510=_0x5ec9fc(_0x59d2bb,_0x3b5b7c,!0x0,!0x1)();_0x3c1f2b[_0x5c5376(0x22b)][_0x5c5376(0x229)](_0xaf5510),_0x406d4c[_0x5c5376(0x1fb)][_0x5c5376(0x229)](_0xaf5510),_0xa6dd7a[_0x5c5376(0x21c)][_0x5c5376(0x229)](_0x3c1f2b);}),_0xa6dd7a;}[_0x294653(0x214)](_0xe24bc2,_0x4af1ee){const _0x313b6e=_0x294653,_0x2a2771=_0xe24bc2[_0x313b6e(0x23d)],_0x4b5599=_0x313b6e(0x232)===_0xe24bc2[_0x313b6e(0x20c)][_0x313b6e(0x1f3)]?_0x313b6e(0x23c):_0x313b6e(0x23f);_0xe24bc2[_0x313b6e(0x202)]({'attributes':{'class':[_0x313b6e(0x21e)]},'on':{'mouseenter':_0x2a2771['to'](()=>{const _0x5e97df=_0x313b6e;this[_0x5e97df(0x236)](_0x4af1ee,_0xe24bc2);}),'mouseleave':_0x2a2771['to'](_0x122b14=>{const _0x1ee7fe=_0x313b6e,_0x18af3c=_0x122b14[_0x1ee7fe(0x21a)];this[_0x1ee7fe(0x203)](_0x18af3c,_0x4af1ee)||this[_0x1ee7fe(0x20a)](_0x4af1ee);}),'keydown':_0x2a2771['to'](_0x5169dd=>{const _0x1f85ed=_0x313b6e;_0x5169dd[_0x1f85ed(0x201)]==_0x4b5599&&(this[_0x1f85ed(0x236)](_0x4af1ee,_0xe24bc2),_0x4af1ee[_0x1f85ed(0x220)][_0x1f85ed(0x22d)](0x0)[_0x1f85ed(0x1f6)]());})}}),_0x4af1ee['on'](_0x313b6e(0x237),()=>{const _0x5b2e51=_0x313b6e;_0x4af1ee[_0x5b2e51(0x227)]?.[_0x5b2e51(0x1f8)](_0x5b2e51(0x211),_0x223a8e=>{const _0x590d2b=_0x5b2e51,_0x5ef00f=_0x223a8e[_0x590d2b(0x21a)];_0xe24bc2[_0x590d2b(0x227)]?.[_0x590d2b(0x207)](_0x5ef00f)||this[_0x590d2b(0x203)](_0x5ef00f,_0x4af1ee)||this[_0x590d2b(0x20a)](_0x4af1ee);});});}[_0x294653(0x236)](_0x57e059,_0x18a933){const _0x386d3d=_0x294653;this[_0x386d3d(0x219)][_0x386d3d(0x218)](_0x5146b4=>{const _0x109c00=_0x386d3d;_0x5146b4!==_0x57e059&&_0x5146b4[_0x109c00(0x215)]&&_0x5146b4[_0x109c00(0x1fe)]();}),_0x57e059[_0x386d3d(0x1f4)](),_0x57e059[_0x386d3d(0x234)]({'positions':[_0x740a36[_0x386d3d(0x22f)]],'target':_0x18a933[_0x386d3d(0x227)],'fitInViewport':!0x0}),this[_0x386d3d(0x219)][_0x386d3d(0x229)](_0x57e059);}[_0x294653(0x20a)](_0x509f11){const _0x541b03=_0x294653;_0x509f11[_0x541b03(0x1fe)](),this[_0x541b03(0x219)][_0x541b03(0x20d)](_0x509f11);}[_0x294653(0x200)](){const _0x210c17=_0x294653;this[_0x210c17(0x219)][_0x210c17(0x218)](_0x389bc2=>_0x389bc2[_0x210c17(0x1fe)]()),this[_0x210c17(0x219)][_0x210c17(0x213)]();}[_0x294653(0x203)](_0x2c2689,_0x291016){const _0x17e805=_0x294653;if(!_0x2c2689)return!0x1;if(_0x291016[_0x17e805(0x227)]?.[_0x17e805(0x207)](_0x2c2689))return!0x0;const _0x40142e=_0x2c2689;return _0x40142e[_0x17e805(0x1fd)]&&(null!==_0x40142e[_0x17e805(0x1fd)](_0x17e805(0x23b))||null!==_0x40142e[_0x17e805(0x1fd)](_0x17e805(0x22a))||null!==_0x40142e[_0x17e805(0x1fd)](_0x17e805(0x1f5)));}[_0x294653(0x210)](){const _0x471b88=_0x294653;this[_0x471b88(0x200)](),this[_0x471b88(0x224)][_0x471b88(0x1fc)](),super[_0x471b88(0x210)]();}[_0x294653(0x1f6)](){const _0x2e52c9=_0x294653;this[_0x2e52c9(0x217)][_0x2e52c9(0x1f6)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1ed8(){const _0x3ef663=['2248QYCtdi','36JZuxRj','locale','459127ySdqLC','label','11490900QaaimA','children','ck-ai-quick-actions-dropdown','3384822NDFFST','add','11wjUcZx','5UBVYus','16226zHtltx','buttonView','591420vyfkuA','icon','set','2TumUpP','803880vmIEaH','panelView','1301620oJwzEO'];_0x1ed8=function(){return _0x3ef663;};return _0x1ed8();}(function(_0x194243,_0x558b3f){const _0x42997c=_0xee74,_0x25cd62=_0x194243();while(!![]){try{const _0x412373=parseInt(_0x42997c(0x137))/0x1*(parseInt(_0x42997c(0x145))/0x2)+parseInt(_0x42997c(0x146))/0x3+-parseInt(_0x42997c(0x148))/0x4*(-parseInt(_0x42997c(0x13f))/0x5)+-parseInt(_0x42997c(0x13c))/0x6+-parseInt(_0x42997c(0x140))/0x7*(parseInt(_0x42997c(0x134))/0x8)+parseInt(_0x42997c(0x135))/0x9*(-parseInt(_0x42997c(0x142))/0xa)+-parseInt(_0x42997c(0x13e))/0xb*(-parseInt(_0x42997c(0x139))/0xc);if(_0x412373===_0x558b3f)break;else _0x25cd62['push'](_0x25cd62['shift']());}catch(_0x2a439a){_0x25cd62['push'](_0x25cd62['shift']());}}}(_0x1ed8,0x883b4));import{createDropdown as _0xf5bfb9}from'ckeditor5/src/ui.js';function _0xee74(_0x4a7b22,_0xb7e5a0){const _0x1ed8d3=_0x1ed8();return _0xee74=function(_0xee74e4,_0x40f28d){_0xee74e4=_0xee74e4-0x134;let _0x5853e2=_0x1ed8d3[_0xee74e4];return _0x5853e2;},_0xee74(_0x4a7b22,_0xb7e5a0);}import{IconAIQuickActions as _0x3bce28}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x568919}from'./aiquickactionsdropdowncontentview.js';export function aiQuickActionsDropdownCreator(_0x516e22,_0x366736,_0x5c9a6e,_0x482639){return()=>{const _0x360d34=_0xee74,_0x354dc6=_0x516e22[_0x360d34(0x136)],_0x3773e6=_0xf5bfb9(_0x354dc6);_0x3773e6[_0x360d34(0x141)][_0x360d34(0x144)]({'icon':_0x5c9a6e[_0x360d34(0x143)]??_0x3bce28,'label':_0x5c9a6e[_0x360d34(0x138)],'tooltip':!0x0}),_0x3773e6[_0x360d34(0x144)]({'class':_0x360d34(0x13b)});const _0x5836c6=new _0x568919(_0x516e22,_0x366736,_0x3773e6,_0x482639);return _0x3773e6[_0x360d34(0x147)][_0x360d34(0x13a)][_0x360d34(0x13d)](_0x5836c6),_0x3773e6;};}
23
+ (function(_0x38d68b,_0x1a8ddc){const _0x3a9097=_0x7911,_0xf1919f=_0x38d68b();while(!![]){try{const _0x1d47af=-parseInt(_0x3a9097(0x154))/0x1*(parseInt(_0x3a9097(0x14f))/0x2)+parseInt(_0x3a9097(0x15b))/0x3*(parseInt(_0x3a9097(0x15f))/0x4)+-parseInt(_0x3a9097(0x15d))/0x5+parseInt(_0x3a9097(0x153))/0x6+-parseInt(_0x3a9097(0x158))/0x7+-parseInt(_0x3a9097(0x14d))/0x8+parseInt(_0x3a9097(0x150))/0x9*(parseInt(_0x3a9097(0x159))/0xa);if(_0x1d47af===_0x1a8ddc)break;else _0xf1919f['push'](_0xf1919f['shift']());}catch(_0x32b498){_0xf1919f['push'](_0xf1919f['shift']());}}}(_0x11d2,0xa3bad));import{createDropdown as _0x2a302d}from'ckeditor5/src/ui.js';function _0x11d2(){const _0x8cdbd2=['label','5105786XYpGzC','710OsERqo','buttonView','141QhJqvD','add','1455355gmpHMm','ck-ai-quick-actions-dropdown','25820cbVYCJ','8448208BlOXES','locale','264926FvCYrH','321705OPGnth','children','panelView','1819446VMtIzu','3orpIMR','icon','set'];_0x11d2=function(){return _0x8cdbd2;};return _0x11d2();}import{IconAIQuickActions as _0x5e8184}from'@ckeditor/ckeditor5-icons';function _0x7911(_0x6a4e31,_0x8e0784){const _0x11d2f4=_0x11d2();return _0x7911=function(_0x7911f8,_0x333d66){_0x7911f8=_0x7911f8-0x14d;let _0x412996=_0x11d2f4[_0x7911f8];return _0x412996;},_0x7911(_0x6a4e31,_0x8e0784);}import{AIQuickActionsDropdownContentView as _0x50a953}from'./aiquickactionsdropdowncontentview.js';export function aiQuickActionsDropdownCreator(_0xbb065f,_0x7a1e5c,_0x5dcaac,_0x4a8356){return()=>{const _0x38ed16=_0x7911,_0x470b6e=_0xbb065f[_0x38ed16(0x14e)],_0x1c5e21=_0x2a302d(_0x470b6e);_0x1c5e21[_0x38ed16(0x15a)][_0x38ed16(0x156)]({'icon':_0x5dcaac[_0x38ed16(0x155)]??_0x5e8184,'label':_0x5dcaac[_0x38ed16(0x157)],'tooltip':!0x0}),_0x1c5e21[_0x38ed16(0x156)]({'class':_0x38ed16(0x15e)});const _0x37908b=new _0x50a953(_0xbb065f,_0x7a1e5c,_0x1c5e21,_0x4a8356);return _0x1c5e21[_0x38ed16(0x152)][_0x38ed16(0x151)][_0x38ed16(0x15c)](_0x37908b),_0x1c5e21;};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x26cb(_0x27936c,_0x603507){var _0x361773=_0x3617();return _0x26cb=function(_0x26cb9a,_0x18b8c6){_0x26cb9a=_0x26cb9a-0x140;var _0x356741=_0x361773[_0x26cb9a];return _0x356741;},_0x26cb(_0x27936c,_0x603507);}var _0x518fde=_0x26cb;function _0x3617(){var _0x54f294=['pluginName','isPremiumPlugin','679376FBnZfR','840857NapLrE','69210GLIXpo','2745748siifDe','1504356WdSYLB','50vRVrmK','AIReviewMode','112FVkRtj','requires','8103690HvsjLI','isOfficialPlugin','337673CMHGoq'];_0x3617=function(){return _0x54f294;};return _0x3617();}(function(_0x1fd1f9,_0x2cdb7b){var _0xd3d3d9=_0x26cb,_0x329a54=_0x1fd1f9();while(!![]){try{var _0x1e58f9=-parseInt(_0xd3d3d9(0x14c))/0x1+-parseInt(_0xd3d3d9(0x14b))/0x2+-parseInt(_0xd3d3d9(0x141))/0x3+parseInt(_0xd3d3d9(0x140))/0x4+parseInt(_0xd3d3d9(0x142))/0x5*(-parseInt(_0xd3d3d9(0x14d))/0x6)+parseInt(_0xd3d3d9(0x148))/0x7*(parseInt(_0xd3d3d9(0x144))/0x8)+parseInt(_0xd3d3d9(0x146))/0x9;if(_0x1e58f9===_0x2cdb7b)break;else _0x329a54['push'](_0x329a54['shift']());}catch(_0x3a4499){_0x329a54['push'](_0x329a54['shift']());}}}(_0x3617,0x717ce));import{ContextPlugin as _0x354660}from'ckeditor5/src/core.js';import{AIReviewModeController as _0xd8f75f}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x95bf9b}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0x55b29a}from'./aireviewmodeediting.js';export class AIReviewMode extends _0x354660{static get[_0x518fde(0x145)](){return[_0xd8f75f,_0x95bf9b,_0x55b29a];}static get[_0x518fde(0x149)](){var _0x55327a=_0x518fde;return _0x55327a(0x143);}static get[_0x518fde(0x147)](){return!0x0;}static get[_0x518fde(0x14a)](){return!0x0;}}
23
+ var _0x13c107=_0x52ae;(function(_0x283546,_0x5ad49c){var _0x8346ae=_0x52ae,_0x3e3f6b=_0x283546();while(!![]){try{var _0x5d1c23=parseInt(_0x8346ae(0x1dd))/0x1*(parseInt(_0x8346ae(0x1e4))/0x2)+parseInt(_0x8346ae(0x1e1))/0x3+parseInt(_0x8346ae(0x1d7))/0x4*(-parseInt(_0x8346ae(0x1d9))/0x5)+-parseInt(_0x8346ae(0x1da))/0x6+-parseInt(_0x8346ae(0x1de))/0x7*(parseInt(_0x8346ae(0x1df))/0x8)+parseInt(_0x8346ae(0x1db))/0x9*(parseInt(_0x8346ae(0x1dc))/0xa)+-parseInt(_0x8346ae(0x1e3))/0xb*(-parseInt(_0x8346ae(0x1e5))/0xc);if(_0x5d1c23===_0x5ad49c)break;else _0x3e3f6b['push'](_0x3e3f6b['shift']());}catch(_0x41a50c){_0x3e3f6b['push'](_0x3e3f6b['shift']());}}}(_0x5960,0xdb674));import{ContextPlugin as _0x312ebd}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x5dbacf}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x42f25f}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0x30f3f8}from'./aireviewmodeediting.js';export class AIReviewMode extends _0x312ebd{static get[_0x13c107(0x1d8)](){return[_0x5dbacf,_0x42f25f,_0x30f3f8];}static get[_0x13c107(0x1e0)](){var _0x4757ec=_0x13c107;return _0x4757ec(0x1d6);}static get[_0x13c107(0x1e2)](){return!0x0;}static get[_0x13c107(0x1e6)](){return!0x0;}}function _0x52ae(_0x44e5ac,_0x1e6549){var _0x59602e=_0x5960();return _0x52ae=function(_0x52aec4,_0x2fd8a3){_0x52aec4=_0x52aec4-0x1d6;var _0x1ba3b6=_0x59602e[_0x52aec4];return _0x1ba3b6;},_0x52ae(_0x44e5ac,_0x1e6549);}function _0x5960(){var _0x3dc446=['1264VuLdiZ','pluginName','4161678IhCULe','isOfficialPlugin','484Wpczhd','856306qtPXbo','220152UpPZAc','isPremiumPlugin','AIReviewMode','268DaXUYL','requires','21445YPupXC','6289530xNEuxz','6892929uhurgv','10sXvDoZ','1nSDiAD','51135KEsESK'];_0x5960=function(){return _0x3dc446;};return _0x5960();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x530c2a=_0x2ec5;(function(_0x424fdb,_0x4bd90d){const _0x4a5dab=_0x2ec5,_0x24babf=_0x424fdb();while(!![]){try{const _0x1c63d2=parseInt(_0x4a5dab(0x1fd))/0x1*(-parseInt(_0x4a5dab(0x22e))/0x2)+parseInt(_0x4a5dab(0x25e))/0x3*(-parseInt(_0x4a5dab(0x1e4))/0x4)+parseInt(_0x4a5dab(0x234))/0x5+parseInt(_0x4a5dab(0x21b))/0x6*(-parseInt(_0x4a5dab(0x229))/0x7)+-parseInt(_0x4a5dab(0x249))/0x8+parseInt(_0x4a5dab(0x266))/0x9+parseInt(_0x4a5dab(0x1fc))/0xa;if(_0x1c63d2===_0x4bd90d)break;else _0x24babf['push'](_0x24babf['shift']());}catch(_0x146ac0){_0x24babf['push'](_0x24babf['shift']());}}}(_0x4178,0xf0d8c));import{ContextPlugin as _0x5e879f}from'ckeditor5/src/core.js';import{CKEditorError as _0x449a4a,logError as _0x4d6f35,scrollAncestorsToShowTarget as _0x326f20,scrollViewportToShowTarget as _0x321948}from'ckeditor5/src/utils.js';import{AIConnector as _0x34febc}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x1071ff}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x4180ba}from'./model/aireviewsystemcheckrun.js';function _0x2ec5(_0x5e0959,_0x585a33){const _0x417896=_0x4178();return _0x2ec5=function(_0x2ec5a0,_0x57923b){_0x2ec5a0=_0x2ec5a0-0x1d3;let _0x32266f=_0x417896[_0x2ec5a0];return _0x32266f;},_0x2ec5(_0x5e0959,_0x585a33);}function _0x4178(){const _0x3a522d=['11774160xvphBA','remove','error-general','changeId','addResultChanges','showChangeBalloon','aireviewmode-no-current-check-run','showReviewCheckList','includes','description','source','toUpperCase','content','aireviewmode-check-run-failed','reviewCheckResultAdded','closest','changeMarkerClick','finished','_translateReviewChecks','classList','reviewCheckResultReady','_onReviewModeRunLeave','showReviewCompletedView','_TITLE','getReviewCheckList','reviewCheckResultRejected','documentData','_OPTIONS_LABEL','markAllChangesAsAccepted','1060460blwEzx','args','restart','AI_REVIEW_CHECK_','pluginName','requires','model','contentNew','prompt','clearAllMarkers','init','panel','reviewCheckResultActivated','getAll','AIReviewModeEditing','aborted','_aiReviewCheckList','length','acceptAllChanges','_isDiffOn','reviewCheckRunUpdated','dismissChange','abort','config','11634440NZplZx','499ePIjyE','rejected','_DESCRIPTION','label','showActionsWhenResultIsReady','stopListening','accepted','translate','toggleDiff','reviewCheckResultDeactivated','isOfficialPlugin','replaceAll','context','contentInitial','emitter','status','changes','getCheckById','domElement','_getTranslationWithDefault','ck-ai-review-mode-highlights','markChangePositionInEditorContent','deactivateChange','isCustom','setCheckResultTitle','leaveReviewMode','showChunkErrorView','_aiReviewModeUi','showCheckRunResult','.ck-ai-review-mode__check-run-result','42RWhKQF','getDocumentData','_OPTIONS_DATA_','showCheckRunResults','resetActiveStateInResults','processedResultsCount','_currentReviewCheckRun','setAvailableChecks','AIReviewModeUI','loading','listenTo','_logError','showNoChangesView','ai.reviewMode.translations','183099GGhmaX','_onDiffChange','getActiveChanges','map','acceptChange','40keHyfI','markChangeAsAccepted','isChangeActive','find','_aiReviewModeEditing','change','7613505HBtaNR','showGeneralErrorView','abortReviewStream','diffContent','message','get','_aiConnector','custom','options','checks','leaveReviewModeResultList','ai-request-aborted','AIReviewModeController','_changeActivationSource','AI_MODEL_DESCRIPTION_','reviewCheckResultAccepted','unmodified','forceReadyState','activateChange','models','data','7671944WbbKWR','title','ready','result','markChangeAsRejected','updateChangeState','finishReview','isPremiumPlugin','applyChange','getChangeElement','plugins','setActiveStateInResults','runReviewCheck','aireviewmode-source-check-not-found','AIConnector','switchToEdit','start','switchToReadOnly','getMarkerElementForChange','hideChangeBalloon','getContentElement','21lIHADt','ck-ai-review-mode-diff','locale','params','retryReview','add','rejectChange','error-chunk'];_0x4178=function(){return _0x3a522d;};return _0x4178();}import{AIReviewCustomCheckRun as _0x143762}from'./model/aireviewcustomcheckrun.js';import{AIReviewModels as _0x249172}from'./model/aireviewmodels.js';import{AI_REVIEW_CHECKS as _0x22905b}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x3c8087}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x5e879f{[_0x530c2a(0x23a)];[_0x530c2a(0x218)];[_0x530c2a(0x232)];[_0x530c2a(0x1f4)];[_0x530c2a(0x221)];[_0x530c2a(0x1f7)]=!0x1;[_0x530c2a(0x241)]=null;static get[_0x530c2a(0x1e9)](){return[_0x34febc];}static get[_0x530c2a(0x1e8)](){const _0x29f1e7=_0x530c2a;return _0x29f1e7(0x240);}static get[_0x530c2a(0x207)](){return!0x0;}static get[_0x530c2a(0x250)](){return!0x0;}async[_0x530c2a(0x1ee)](){const _0x585e34=_0x530c2a;this[_0x585e34(0x23a)]=this[_0x585e34(0x209)][_0x585e34(0x253)][_0x585e34(0x239)](_0x585e34(0x257)),this[_0x585e34(0x218)]=this[_0x585e34(0x209)][_0x585e34(0x253)][_0x585e34(0x239)](_0x585e34(0x223)),this[_0x585e34(0x232)]=this[_0x585e34(0x209)][_0x585e34(0x253)][_0x585e34(0x239)](_0x585e34(0x1f2));const _0x418c9b=this[_0x585e34(0x209)][_0x585e34(0x1fb)][_0x585e34(0x239)](_0x585e34(0x228));if(_0x418c9b){for(const _0xb6abd6 of _0x22905b)_0x585e34(0x204)===_0xb6abd6['id']&&(_0xb6abd6[_0x585e34(0x23c)][0x0][_0x585e34(0x248)]=_0x418c9b);}const _0x1ae085=this[_0x585e34(0x1d9)](_0x22905b);this[_0x585e34(0x1f4)]=new _0x1071ff(_0x1ae085);const _0x5a619d=this[_0x585e34(0x1f4)][_0x585e34(0x23d)][_0x585e34(0x231)](_0xb10a76=>_0x585e34(0x23b)===_0xb10a76['id']);if(_0x5a619d){const _0x1d34e1=await new _0x249172({'connector':this[_0x585e34(0x23a)]})[_0x585e34(0x1f1)]();_0x5a619d[_0x585e34(0x247)]=_0x1d34e1[_0x585e34(0x22c)](_0x28dafd=>({..._0x28dafd,'description':this[_0x585e34(0x210)](_0x585e34(0x242)+_0x28dafd['id'][_0x585e34(0x271)](),_0x28dafd[_0x585e34(0x26f)])}));}this[_0x585e34(0x225)](this[_0x585e34(0x218)],_0x585e34(0x1df),()=>{const _0x50af5b=_0x585e34;this[_0x50af5b(0x218)][_0x50af5b(0x222)](this[_0x50af5b(0x1f4)][_0x50af5b(0x23d)]);}),this[_0x585e34(0x225)](this[_0x585e34(0x218)],_0x585e34(0x255),async(_0x791670,_0xf421ac)=>{const _0x4cd975=_0x585e34,_0x2fa863=this[_0x4cd975(0x1f4)][_0x4cd975(0x20e)](_0xf421ac['id']);if(_0x2fa863){this[_0x4cd975(0x22a)](this[_0x4cd975(0x1f7)]),_0xf421ac[_0x4cd975(0x214)]?this[_0x4cd975(0x221)]=new _0x143762(_0xf421ac[_0x4cd975(0x1e5)][_0x4cd975(0x1ec)],_0xf421ac[_0x4cd975(0x1e5)][_0x4cd975(0x1ea)],this[_0x4cd975(0x232)][_0x4cd975(0x21c)](),_0x2fa863,this[_0x4cd975(0x23a)]):this[_0x4cd975(0x221)]=new _0x4180ba(this[_0x4cd975(0x232)][_0x4cd975(0x21c)](),_0x2fa863,this[_0x4cd975(0x23a)],_0xf421ac[_0x4cd975(0x261)],_0xf421ac[_0x4cd975(0x1e5)]),this[_0x4cd975(0x218)][_0x4cd975(0x215)](this[_0x4cd975(0x221)][_0x4cd975(0x24a)]),this[_0x4cd975(0x221)]['on'](_0x4cd975(0x1f8),(_0x439d78,_0x284e1e)=>{const _0x37faf2=_0x4cd975;_0x37faf2(0x248)===_0x284e1e[_0x37faf2(0x20c)]||_0x37faf2(0x224)===_0x284e1e[_0x37faf2(0x20c)]?(this[_0x37faf2(0x232)][_0x37faf2(0x25a)](),this[_0x37faf2(0x218)][_0x37faf2(0x21e)](_0x284e1e)):_0x37faf2(0x1d8)===_0x284e1e[_0x37faf2(0x20c)]?this[_0x37faf2(0x218)][_0x37faf2(0x1dd)]():_0x37faf2(0x24b)===_0x284e1e[_0x37faf2(0x20c)]?this[_0x37faf2(0x218)][_0x37faf2(0x201)]():_0x37faf2(0x244)===_0x284e1e[_0x37faf2(0x20c)]?this[_0x37faf2(0x218)][_0x37faf2(0x227)]():_0x37faf2(0x268)===_0x284e1e[_0x37faf2(0x20c)]?this[_0x37faf2(0x218)][_0x37faf2(0x235)]():_0x37faf2(0x265)===_0x284e1e[_0x37faf2(0x20c)]?this[_0x37faf2(0x218)][_0x37faf2(0x217)]():_0x37faf2(0x1f3)===_0x284e1e[_0x37faf2(0x20c)]&&(this[_0x37faf2(0x221)]&&this[_0x37faf2(0x221)][_0x37faf2(0x220)]>0x0?setTimeout(()=>{const _0x2772c7=_0x37faf2;this[_0x2772c7(0x221)]?.[_0x2772c7(0x245)]();},0x0):this[_0x37faf2(0x1dc)](!0x0));}),this[_0x4cd975(0x221)]['on'](_0x4cd975(0x1d5),(_0x3aff05,_0x39a9e3)=>{const _0x466b0b=_0x4cd975;if(!this[_0x466b0b(0x221)])throw new _0x449a4a(_0x466b0b(0x26c),this);const _0x4de42a=this[_0x466b0b(0x232)][_0x466b0b(0x237)](_0x39a9e3[_0x466b0b(0x24c)][_0x466b0b(0x20a)],_0x39a9e3[_0x466b0b(0x24c)][_0x466b0b(0x1eb)]);_0x39a9e3[_0x466b0b(0x270)][_0x466b0b(0x26a)](_0x39a9e3[_0x466b0b(0x24c)]['id'],_0x4de42a);}),this[_0x4cd975(0x221)]['on'](_0x4cd975(0x1db),(_0x45fd0a,_0xe1107d)=>{const _0x3a1846=_0x4cd975;for(const _0x5d300b of _0xe1107d[_0x3a1846(0x20d)])this[_0x3a1846(0x218)][_0x3a1846(0x219)](_0x5d300b);this[_0x3a1846(0x232)][_0x3a1846(0x212)](_0xe1107d[_0x3a1846(0x20d)],_0xe1107d[_0x3a1846(0x270)][_0x3a1846(0x1e1)]);}),this[_0x4cd975(0x221)]['on'](_0x4cd975(0x243),(_0x5a448e,_0x160361)=>{const _0x1ea98b=_0x4cd975;this[_0x1ea98b(0x218)][_0x1ea98b(0x24e)](_0x160361[_0x1ea98b(0x233)]['id'],_0x1ea98b(0x203));}),this[_0x4cd975(0x221)]['on'](_0x4cd975(0x1e0),(_0x14a34c,_0x560637)=>{const _0x396a69=_0x4cd975;this[_0x396a69(0x218)][_0x396a69(0x24e)](_0x560637[_0x396a69(0x233)]['id'],_0x396a69(0x1fe));}),this[_0x4cd975(0x221)]['on'](_0x4cd975(0x1f0),(_0x375b61,_0x5b40bd)=>{const _0x12dac4=_0x4cd975;this[_0x12dac4(0x218)][_0x12dac4(0x254)](_0x5b40bd[_0x12dac4(0x233)]['id']);const _0xcad691=this[_0x12dac4(0x232)][_0x12dac4(0x25b)](_0x5b40bd[_0x12dac4(0x233)]['id']);if(_0xcad691){if(_0x12dac4(0x1d3)===this[_0x12dac4(0x241)]){const _0x536b04=this[_0x12dac4(0x218)][_0x12dac4(0x252)](_0x5b40bd[_0x12dac4(0x233)]['id']);_0x536b04&&_0x326f20(_0x536b04[_0x12dac4(0x1d6)](_0x12dac4(0x21a))||_0x536b04);}else{if(_0x12dac4(0x1ef)===this[_0x12dac4(0x241)]){const _0x4a018b={'target':_0xcad691[_0x12dac4(0x20f)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x321948(_0x4a018b);}}this[_0x12dac4(0x218)][_0x12dac4(0x26b)](_0x5b40bd[_0x12dac4(0x233)],_0xcad691[_0x12dac4(0x20f)]);}}),this[_0x4cd975(0x221)]['on'](_0x4cd975(0x206),()=>{const _0x2bc334=_0x4cd975;this[_0x2bc334(0x218)][_0x2bc334(0x21f)]();});try{await this[_0x4cd975(0x221)][_0x4cd975(0x259)]();}catch(_0x17131a){_0x17131a instanceof Error&&_0x17131a[_0x4cd975(0x238)][_0x4cd975(0x26e)](_0x4cd975(0x23f))||(_0x17131a instanceof _0x449a4a?this[_0x4cd975(0x226)](_0x17131a):this[_0x4cd975(0x226)](new _0x449a4a(_0x4cd975(0x1d4),this,{'error':_0x17131a})));}}else this[_0x4cd975(0x226)](new _0x449a4a(_0x4cd975(0x256),this,{'checkId':_0xf421ac['id']}));}),this[_0x585e34(0x225)](this[_0x585e34(0x218)],_0x585e34(0x216),()=>{const _0x37c3fa=_0x585e34;this[_0x37c3fa(0x1dc)]();}),this[_0x585e34(0x225)](this[_0x585e34(0x218)],_0x585e34(0x23e),()=>{const _0x4a6705=_0x585e34;this[_0x4a6705(0x1dc)](!0x0);}),this[_0x585e34(0x225)](this[_0x585e34(0x218)],_0x585e34(0x236),()=>{const _0x48cda0=_0x585e34;this[_0x48cda0(0x221)]&&this[_0x48cda0(0x221)][_0x48cda0(0x1fa)]();}),this[_0x585e34(0x225)](this[_0x585e34(0x218)],_0x585e34(0x24f),()=>{const _0x38049f=_0x585e34;this[_0x38049f(0x1dc)](!0x0);}),this[_0x585e34(0x225)](this[_0x585e34(0x218)],_0x585e34(0x1f6),()=>{const _0x38c80c=_0x585e34;if(!this[_0x38c80c(0x221)])return;const _0x1b0dea=this[_0x38c80c(0x221)][_0x38c80c(0x22b)]();_0x1b0dea[_0x38c80c(0x1f5)]&&(this[_0x38c80c(0x232)][_0x38c80c(0x251)](_0x1b0dea[_0x38c80c(0x22c)](_0xeb48b3=>_0xeb48b3['id'])),this[_0x38c80c(0x221)][_0x38c80c(0x1e3)]());}),this[_0x585e34(0x225)](this[_0x585e34(0x218)],_0x585e34(0x22d),(_0x578852,_0x35788d)=>{const _0x2fcd87=_0x585e34;this[_0x2fcd87(0x221)]&&this[_0x2fcd87(0x221)][_0x2fcd87(0x230)](_0x35788d['id'])&&(this[_0x2fcd87(0x232)][_0x2fcd87(0x251)]([_0x35788d['id']]),this[_0x2fcd87(0x221)][_0x2fcd87(0x22f)](_0x35788d['id']),this[_0x2fcd87(0x218)][_0x2fcd87(0x25c)]());}),this[_0x585e34(0x225)](this[_0x585e34(0x218)],_0x585e34(0x1f9),(_0x1983c4,_0x3dc765)=>{const _0x2fe0ea=_0x585e34;this[_0x2fe0ea(0x221)]&&this[_0x2fe0ea(0x221)][_0x2fe0ea(0x230)](_0x3dc765['id'])&&(this[_0x2fe0ea(0x232)][_0x2fe0ea(0x264)](_0x3dc765['id']),this[_0x2fe0ea(0x221)][_0x2fe0ea(0x24d)](_0x3dc765['id']),this[_0x2fe0ea(0x218)][_0x2fe0ea(0x25c)]());}),this[_0x585e34(0x225)](this[_0x585e34(0x218)],_0x585e34(0x205),(_0x3fdde3,_0x26b211)=>{const _0x3ace1d=_0x585e34;this[_0x3ace1d(0x1f7)]=_0x26b211['on'],this[_0x3ace1d(0x22a)](this[_0x3ace1d(0x1f7)]);}),this[_0x585e34(0x225)](this[_0x585e34(0x218)],_0x585e34(0x262),async()=>{const _0x470bd9=_0x585e34;this[_0x470bd9(0x221)]&&await this[_0x470bd9(0x221)][_0x470bd9(0x1e6)]();}),this[_0x585e34(0x225)](this[_0x585e34(0x218)],_0x585e34(0x246),(_0x35a68b,_0x3f2bc9)=>{const _0x1466a4=_0x585e34;this[_0x1466a4(0x221)]&&(this[_0x1466a4(0x241)]=_0x1466a4(0x1ef),this[_0x1466a4(0x221)][_0x1466a4(0x246)](_0x3f2bc9['id']));}),this[_0x585e34(0x225)](this[_0x585e34(0x218)],_0x585e34(0x213),()=>{const _0x41c555=_0x585e34;this[_0x41c555(0x221)]&&this[_0x41c555(0x221)][_0x41c555(0x213)]();}),this[_0x585e34(0x225)](this[_0x585e34(0x232)][_0x585e34(0x20b)],_0x585e34(0x1d7),(_0x5cf580,_0xe291fb)=>{const _0x5680ef=_0x585e34;this[_0x5680ef(0x221)]&&(this[_0x5680ef(0x241)]=_0x5680ef(0x1d3),this[_0x5680ef(0x221)][_0x5680ef(0x246)](_0xe291fb[_0x5680ef(0x269)]));});}[_0x530c2a(0x1dc)](_0x19a1d7=!0x1){const _0x53701e=_0x530c2a;this[_0x53701e(0x221)]&&(this[_0x53701e(0x221)][_0x53701e(0x1fa)](),this[_0x53701e(0x221)][_0x53701e(0x202)](),this[_0x53701e(0x221)]=void 0x0),_0x19a1d7&&this[_0x53701e(0x218)][_0x53701e(0x26d)](),this[_0x53701e(0x232)][_0x53701e(0x1ed)](),this[_0x53701e(0x232)][_0x53701e(0x258)](),this[_0x53701e(0x241)]=null;const _0x4017f4=this[_0x53701e(0x232)][_0x53701e(0x25d)]();_0x4017f4&&(_0x4017f4[_0x53701e(0x1da)][_0x53701e(0x267)](_0x53701e(0x25f)),_0x4017f4[_0x53701e(0x1da)][_0x53701e(0x267)](_0x53701e(0x211)));}[_0x530c2a(0x22a)](_0x8df9e8){const _0x62a248=_0x530c2a,_0xda2f01=this[_0x62a248(0x232)][_0x62a248(0x25d)]();_0xda2f01&&(_0xda2f01[_0x62a248(0x1da)][_0x62a248(0x267)](_0x62a248(0x25f)),_0xda2f01[_0x62a248(0x1da)][_0x62a248(0x267)](_0x62a248(0x211)),_0xda2f01[_0x62a248(0x1da)][_0x62a248(0x263)](_0x8df9e8?_0x62a248(0x25f):_0x62a248(0x211)));}[_0x530c2a(0x1d9)](_0xd3a4d8){const _0x26ab52=_0x530c2a;return _0xd3a4d8[_0x26ab52(0x22c)](_0x17c97d=>{const _0x3e5f06=_0x26ab52,_0x25b848=_0x3e5f06(0x1e7)+_0x17c97d['id'][_0x3e5f06(0x271)]()[_0x3e5f06(0x208)]('-','_'),_0x51e4e4={..._0x17c97d,'title':this[_0x3e5f06(0x210)](_0x25b848+_0x3e5f06(0x1de),_0x17c97d[_0x3e5f06(0x24a)]),'description':this[_0x3e5f06(0x210)](_0x25b848+_0x3e5f06(0x1ff),_0x17c97d[_0x3e5f06(0x26f)])};return _0x17c97d[_0x3e5f06(0x23c)]&&(_0x51e4e4[_0x3e5f06(0x23c)]=_0x17c97d[_0x3e5f06(0x23c)][_0x3e5f06(0x22c)](_0x44da76=>({..._0x44da76,'label':this[_0x3e5f06(0x210)](_0x25b848+_0x3e5f06(0x1e2),_0x44da76[_0x3e5f06(0x200)]||''),'data':_0x44da76[_0x3e5f06(0x248)]?_0x44da76[_0x3e5f06(0x248)][_0x3e5f06(0x22c)](_0x3b1fa9=>({..._0x3b1fa9,'label':this[_0x3e5f06(0x210)](_0x25b848+_0x3e5f06(0x21d)+_0x3b1fa9['id'][_0x3e5f06(0x271)](),_0x3b1fa9[_0x3e5f06(0x200)])})):void 0x0}))),_0x51e4e4;});}[_0x530c2a(0x210)](_0x1eac27,_0x5a27fb){const _0x404130=_0x530c2a,_0x44814c=this[_0x404130(0x209)][_0x404130(0x260)],_0x1d188b=_0x3c8087(_0x44814c,_0x1eac27);return _0x1d188b===_0x1eac27?_0x5a27fb:_0x1d188b;}[_0x530c2a(0x226)](_0x39e9d7){const _0xb2f621=_0x530c2a;_0x4d6f35(_0x39e9d7[_0xb2f621(0x238)]),this[_0xb2f621(0x218)][_0xb2f621(0x235)]();}}
23
+ const _0x251b1f=_0x2061;(function(_0x1ed74e,_0x535896){const _0x43392f=_0x2061,_0x3d99ac=_0x1ed74e();while(!![]){try{const _0xd4ceed=-parseInt(_0x43392f(0x166))/0x1+-parseInt(_0x43392f(0xe5))/0x2*(-parseInt(_0x43392f(0x13c))/0x3)+parseInt(_0x43392f(0xee))/0x4*(parseInt(_0x43392f(0xdc))/0x5)+-parseInt(_0x43392f(0x127))/0x6*(parseInt(_0x43392f(0x128))/0x7)+-parseInt(_0x43392f(0x106))/0x8+parseInt(_0x43392f(0x177))/0x9*(-parseInt(_0x43392f(0x130))/0xa)+parseInt(_0x43392f(0x146))/0xb;if(_0xd4ceed===_0x535896)break;else _0x3d99ac['push'](_0x3d99ac['shift']());}catch(_0x46a1bf){_0x3d99ac['push'](_0x3d99ac['shift']());}}}(_0x47a0,0xdcb61));import{ContextPlugin as _0x447ad4}from'ckeditor5/src/core.js';import{CKEditorError as _0x401a4a,logError as _0x313c3d,scrollAncestorsToShowTarget as _0x696a62,scrollViewportToShowTarget as _0x85accb}from'ckeditor5/src/utils.js';import{AIConnector as _0x55d274}from'../aicore/aiconnector.js';function _0x47a0(){const _0x23c5f3=['showGeneralErrorView','showReviewCheckList','getChangeElement','80lsBtJp','params','aireviewmode-check-run-failed','contentInitial','panel','acceptChange','AI_MODEL_DESCRIPTION_','_aiReviewModeEditing','showChangeBalloon','emitter','_aiConnector','pluginName','reviewCheckRunUpdated','reviewCheckResultAccepted','getMarkerElementForChange','switchToReadOnly','diffContent','showCheckRunResults','start','args','contentNew','rejectChange','AIReviewModeController','aireviewmode-source-check-not-found','13705720ShaptN','documentData','loading','closest','isChangeActive','abortReviewStream','abort','content','changeId','plugins','length','_changeActivationSource','isCustom','hideChangeBalloon','.ck-ai-review-mode__check-run-result','reviewCheckResultActivated','label','setActiveStateInResults','showActionsWhenResultIsReady','markAllChangesAsAccepted','AI_REVIEW_CHECK_','activateChange','error-chunk','AIReviewModeEditing','AIConnector','prompt','description','_aiReviewCheckList','finishReview','ai-request-aborted','getReviewCheckList','runReviewCheck','toggleDiff','2176134uFVsIh','28AMwAxX','get','changes','restart','replaceAll','showReviewCompletedView','getActiveChanges','includes','4220mYLWvx','model','getDocumentData','clearAllMarkers','setCheckResultTitle','markChangePositionInEditorContent','showChunkErrorView','_translateReviewChecks','retryReview','message','_currentReviewCheckRun','rejected','1473OxevOB','ai.reviewMode.translations','getContentElement','source','getAll','addResultChanges','_OPTIONS_DATA_','accepted','change','leaveReviewMode','25426082kxlRTV','_aiReviewModeUi','leaveReviewModeResultList','dismissChange','_getTranslationWithDefault','options','reviewCheckResultAdded','aborted','switchToEdit','status','_onReviewModeRunLeave','updateChangeState','_onDiffChange','reviewCheckResultDeactivated','translate','applyChange','remove','classList','listenTo','isPremiumPlugin','showCheckRunResult','add','forceReadyState','title','_isDiffOn','find','reviewCheckResultRejected','domElement','config','deactivateChange','data','ready','568663IwcxMH','result','context','_TITLE','error-general','reviewCheckResultReady','custom','changeMarkerClick','acceptAllChanges','markChangeAsAccepted','aireviewmode-no-current-check-run','_OPTIONS_LABEL','_logError','isOfficialPlugin','setAvailableChecks','getCheckById','toUpperCase','9432TNeSZO','processedResultsCount','stopListening','models','map','447470PkEDAw','checks','showNoChangesView','_DESCRIPTION','resetActiveStateInResults','finished','AIReviewModeUI','ck-ai-review-mode-diff','markChangeAsRejected','3982snoQkt','locale','init','requires','unmodified','ck-ai-review-mode-highlights'];_0x47a0=function(){return _0x23c5f3;};return _0x47a0();}import{AIReviewCheckList as _0x1a1afd}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x5d0a75}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x1eda90}from'./model/aireviewcustomcheckrun.js';function _0x2061(_0x2d2768,_0x4899ab){const _0x47a096=_0x47a0();return _0x2061=function(_0x20616f,_0x4b6000){_0x20616f=_0x20616f-0xda;let _0x25c27=_0x47a096[_0x20616f];return _0x25c27;},_0x2061(_0x2d2768,_0x4899ab);}import{AIReviewModels as _0x5cb2e2}from'./model/aireviewmodels.js';import{AI_REVIEW_CHECKS as _0x54f0fe}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x2eb01}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x447ad4{[_0x251b1f(0xf8)];[_0x251b1f(0x147)];[_0x251b1f(0xf5)];[_0x251b1f(0x121)];[_0x251b1f(0x13a)];[_0x251b1f(0x15e)]=!0x1;[_0x251b1f(0x111)]=null;static get[_0x251b1f(0xe8)](){return[_0x55d274];}static get[_0x251b1f(0xf9)](){const _0x2ba12a=_0x251b1f;return _0x2ba12a(0x104);}static get[_0x251b1f(0x173)](){return!0x0;}static get[_0x251b1f(0x159)](){return!0x0;}async[_0x251b1f(0xe7)](){const _0x4d27c1=_0x251b1f;this[_0x4d27c1(0xf8)]=this[_0x4d27c1(0x168)][_0x4d27c1(0x10f)][_0x4d27c1(0x129)](_0x4d27c1(0x11e)),this[_0x4d27c1(0x147)]=this[_0x4d27c1(0x168)][_0x4d27c1(0x10f)][_0x4d27c1(0x129)](_0x4d27c1(0xe2)),this[_0x4d27c1(0xf5)]=this[_0x4d27c1(0x168)][_0x4d27c1(0x10f)][_0x4d27c1(0x129)](_0x4d27c1(0x11d));const _0x246adc=this[_0x4d27c1(0x168)][_0x4d27c1(0x162)][_0x4d27c1(0x129)](_0x4d27c1(0x13d));if(_0x246adc){for(const _0x49d9c5 of _0x54f0fe)_0x4d27c1(0x154)===_0x49d9c5['id']&&(_0x49d9c5[_0x4d27c1(0x14b)][0x0][_0x4d27c1(0x164)]=_0x246adc);}const _0x29fab7=this[_0x4d27c1(0x137)](_0x54f0fe);this[_0x4d27c1(0x121)]=new _0x1a1afd(_0x29fab7);const _0x4d6e1a=this[_0x4d27c1(0x121)][_0x4d27c1(0xdd)][_0x4d27c1(0x15f)](_0x3ca305=>_0x4d27c1(0x16c)===_0x3ca305['id']);if(_0x4d6e1a){const _0x4d29d1=await new _0x5cb2e2({'connector':this[_0x4d27c1(0xf8)]})[_0x4d27c1(0x140)]();_0x4d6e1a[_0x4d27c1(0xda)]=_0x4d29d1[_0x4d27c1(0xdb)](_0x108c0a=>({..._0x108c0a,'description':this[_0x4d27c1(0x14a)](_0x4d27c1(0xf4)+_0x108c0a['id'][_0x4d27c1(0x176)](),_0x108c0a[_0x4d27c1(0x120)])}));}this[_0x4d27c1(0x158)](this[_0x4d27c1(0x147)],_0x4d27c1(0x124),()=>{const _0x590ea1=_0x4d27c1;this[_0x590ea1(0x147)][_0x590ea1(0x174)](this[_0x590ea1(0x121)][_0x590ea1(0xdd)]);}),this[_0x4d27c1(0x158)](this[_0x4d27c1(0x147)],_0x4d27c1(0x125),async(_0x36b671,_0x1e02a4)=>{const _0x31494d=_0x4d27c1,_0x50ec6d=this[_0x31494d(0x121)][_0x31494d(0x175)](_0x1e02a4['id']);if(_0x50ec6d){this[_0x31494d(0x152)](this[_0x31494d(0x15e)]),_0x1e02a4[_0x31494d(0x112)]?this[_0x31494d(0x13a)]=new _0x1eda90(_0x1e02a4[_0x31494d(0x101)][_0x31494d(0x11f)],_0x1e02a4[_0x31494d(0x101)][_0x31494d(0x131)],this[_0x31494d(0xf5)][_0x31494d(0x132)](),_0x50ec6d,this[_0x31494d(0xf8)]):this[_0x31494d(0x13a)]=new _0x5d0a75(this[_0x31494d(0xf5)][_0x31494d(0x132)](),_0x50ec6d,this[_0x31494d(0xf8)],_0x1e02a4[_0x31494d(0xef)],_0x1e02a4[_0x31494d(0x101)]),this[_0x31494d(0x147)][_0x31494d(0x134)](this[_0x31494d(0x13a)][_0x31494d(0x15d)]),this[_0x31494d(0x13a)]['on'](_0x31494d(0xfa),(_0x7c7050,_0x4cbd45)=>{const _0x4fc284=_0x31494d;_0x4fc284(0x164)===_0x4cbd45[_0x4fc284(0x14f)]||_0x4fc284(0x108)===_0x4cbd45[_0x4fc284(0x14f)]?(this[_0x4fc284(0xf5)][_0x4fc284(0xfd)](),this[_0x4fc284(0x147)][_0x4fc284(0xff)](_0x4cbd45)):_0x4fc284(0xe1)===_0x4cbd45[_0x4fc284(0x14f)]?this[_0x4fc284(0x147)][_0x4fc284(0x12d)]():_0x4fc284(0x165)===_0x4cbd45[_0x4fc284(0x14f)]?this[_0x4fc284(0x147)][_0x4fc284(0x118)]():_0x4fc284(0xe9)===_0x4cbd45[_0x4fc284(0x14f)]?this[_0x4fc284(0x147)][_0x4fc284(0xde)]():_0x4fc284(0x16a)===_0x4cbd45[_0x4fc284(0x14f)]?this[_0x4fc284(0x147)][_0x4fc284(0xeb)]():_0x4fc284(0x11c)===_0x4cbd45[_0x4fc284(0x14f)]?this[_0x4fc284(0x147)][_0x4fc284(0x136)]():_0x4fc284(0x14d)===_0x4cbd45[_0x4fc284(0x14f)]&&(this[_0x4fc284(0x13a)]&&this[_0x4fc284(0x13a)][_0x4fc284(0x178)]>0x0?setTimeout(()=>{const _0x350ef4=_0x4fc284;this[_0x350ef4(0x13a)]?.[_0x350ef4(0x15c)]();},0x0):this[_0x4fc284(0x150)](!0x0));}),this[_0x31494d(0x13a)]['on'](_0x31494d(0x14c),(_0xf745df,_0x47fe27)=>{const _0x31d401=_0x31494d;if(!this[_0x31d401(0x13a)])throw new _0x401a4a(_0x31d401(0x170),this);const _0xf34ea1=this[_0x31d401(0xf5)][_0x31d401(0xfe)](_0x47fe27[_0x31d401(0x167)][_0x31d401(0xf1)],_0x47fe27[_0x31d401(0x167)][_0x31d401(0x102)]);_0x47fe27[_0x31d401(0x13f)][_0x31d401(0x141)](_0x47fe27[_0x31d401(0x167)]['id'],_0xf34ea1);}),this[_0x31494d(0x13a)]['on'](_0x31494d(0x16b),(_0x5e9677,_0x3b0183)=>{const _0x13b151=_0x31494d;for(const _0x363737 of _0x3b0183[_0x13b151(0x12a)])this[_0x13b151(0x147)][_0x13b151(0x15a)](_0x363737);this[_0x13b151(0xf5)][_0x13b151(0x135)](_0x3b0183[_0x13b151(0x12a)],_0x3b0183[_0x13b151(0x13f)][_0x13b151(0x107)]);}),this[_0x31494d(0x13a)]['on'](_0x31494d(0xfb),(_0x48a820,_0x3cb5ac)=>{const _0x31a116=_0x31494d;this[_0x31a116(0x147)][_0x31a116(0x151)](_0x3cb5ac[_0x31a116(0x144)]['id'],_0x31a116(0x143));}),this[_0x31494d(0x13a)]['on'](_0x31494d(0x160),(_0x37c189,_0x2aea40)=>{const _0x530835=_0x31494d;this[_0x530835(0x147)][_0x530835(0x151)](_0x2aea40[_0x530835(0x144)]['id'],_0x530835(0x13b));}),this[_0x31494d(0x13a)]['on'](_0x31494d(0x115),(_0x15a99b,_0x28139f)=>{const _0x1b6c30=_0x31494d;this[_0x1b6c30(0x147)][_0x1b6c30(0x117)](_0x28139f[_0x1b6c30(0x144)]['id']);const _0x16f13=this[_0x1b6c30(0xf5)][_0x1b6c30(0xfc)](_0x28139f[_0x1b6c30(0x144)]['id']);if(_0x16f13){if(_0x1b6c30(0x10d)===this[_0x1b6c30(0x111)]){const _0x3455d0=this[_0x1b6c30(0x147)][_0x1b6c30(0xed)](_0x28139f[_0x1b6c30(0x144)]['id']);_0x3455d0&&_0x696a62(_0x3455d0[_0x1b6c30(0x109)](_0x1b6c30(0x114))||_0x3455d0);}else{if(_0x1b6c30(0xf2)===this[_0x1b6c30(0x111)]){const _0x3033c9={'target':_0x16f13[_0x1b6c30(0x161)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x85accb(_0x3033c9);}}this[_0x1b6c30(0x147)][_0x1b6c30(0xf6)](_0x28139f[_0x1b6c30(0x144)],_0x16f13[_0x1b6c30(0x161)]);}}),this[_0x31494d(0x13a)]['on'](_0x31494d(0x153),()=>{const _0x33c53a=_0x31494d;this[_0x33c53a(0x147)][_0x33c53a(0xe0)]();});try{await this[_0x31494d(0x13a)][_0x31494d(0x100)]();}catch(_0x328458){_0x328458 instanceof Error&&_0x328458[_0x31494d(0x139)][_0x31494d(0x12f)](_0x31494d(0x123))||(_0x328458 instanceof _0x401a4a?this[_0x31494d(0x172)](_0x328458):this[_0x31494d(0x172)](new _0x401a4a(_0x31494d(0xf0),this,{'error':_0x328458})));}}else this[_0x31494d(0x172)](new _0x401a4a(_0x31494d(0x105),this,{'checkId':_0x1e02a4['id']}));}),this[_0x4d27c1(0x158)](this[_0x4d27c1(0x147)],_0x4d27c1(0x145),()=>{const _0x4d23ad=_0x4d27c1;this[_0x4d23ad(0x150)]();}),this[_0x4d27c1(0x158)](this[_0x4d27c1(0x147)],_0x4d27c1(0x148),()=>{const _0x70cd9c=_0x4d27c1;this[_0x70cd9c(0x150)](!0x0);}),this[_0x4d27c1(0x158)](this[_0x4d27c1(0x147)],_0x4d27c1(0x10b),()=>{const _0x224e15=_0x4d27c1;this[_0x224e15(0x13a)]&&this[_0x224e15(0x13a)][_0x224e15(0x10c)]();}),this[_0x4d27c1(0x158)](this[_0x4d27c1(0x147)],_0x4d27c1(0x122),()=>{const _0x1ed530=_0x4d27c1;this[_0x1ed530(0x150)](!0x0);}),this[_0x4d27c1(0x158)](this[_0x4d27c1(0x147)],_0x4d27c1(0x16e),()=>{const _0x30ab83=_0x4d27c1;if(!this[_0x30ab83(0x13a)])return;const _0x4d054d=this[_0x30ab83(0x13a)][_0x30ab83(0x12e)]();_0x4d054d[_0x30ab83(0x110)]&&(this[_0x30ab83(0xf5)][_0x30ab83(0x155)](_0x4d054d[_0x30ab83(0xdb)](_0x4c2b5f=>_0x4c2b5f['id'])),this[_0x30ab83(0x13a)][_0x30ab83(0x119)]());}),this[_0x4d27c1(0x158)](this[_0x4d27c1(0x147)],_0x4d27c1(0xf3),(_0x17dcb4,_0x5ca9d2)=>{const _0x9ba4a9=_0x4d27c1;this[_0x9ba4a9(0x13a)]&&this[_0x9ba4a9(0x13a)][_0x9ba4a9(0x10a)](_0x5ca9d2['id'])&&(this[_0x9ba4a9(0xf5)][_0x9ba4a9(0x155)]([_0x5ca9d2['id']]),this[_0x9ba4a9(0x13a)][_0x9ba4a9(0x16f)](_0x5ca9d2['id']),this[_0x9ba4a9(0x147)][_0x9ba4a9(0x113)]());}),this[_0x4d27c1(0x158)](this[_0x4d27c1(0x147)],_0x4d27c1(0x149),(_0x556180,_0x40432e)=>{const _0x2e7269=_0x4d27c1;this[_0x2e7269(0x13a)]&&this[_0x2e7269(0x13a)][_0x2e7269(0x10a)](_0x40432e['id'])&&(this[_0x2e7269(0xf5)][_0x2e7269(0x103)](_0x40432e['id']),this[_0x2e7269(0x13a)][_0x2e7269(0xe4)](_0x40432e['id']),this[_0x2e7269(0x147)][_0x2e7269(0x113)]());}),this[_0x4d27c1(0x158)](this[_0x4d27c1(0x147)],_0x4d27c1(0x126),(_0x2d4466,_0x33432a)=>{const _0x188269=_0x4d27c1;this[_0x188269(0x15e)]=_0x33432a['on'],this[_0x188269(0x152)](this[_0x188269(0x15e)]);}),this[_0x4d27c1(0x158)](this[_0x4d27c1(0x147)],_0x4d27c1(0x138),async()=>{const _0x5706b0=_0x4d27c1;this[_0x5706b0(0x13a)]&&await this[_0x5706b0(0x13a)][_0x5706b0(0x12b)]();}),this[_0x4d27c1(0x158)](this[_0x4d27c1(0x147)],_0x4d27c1(0x11b),(_0x4ef9f1,_0x2bc15d)=>{const _0x5ea645=_0x4d27c1;this[_0x5ea645(0x13a)]&&(this[_0x5ea645(0x111)]=_0x5ea645(0xf2),this[_0x5ea645(0x13a)][_0x5ea645(0x11b)](_0x2bc15d['id']));}),this[_0x4d27c1(0x158)](this[_0x4d27c1(0x147)],_0x4d27c1(0x163),()=>{const _0xebe239=_0x4d27c1;this[_0xebe239(0x13a)]&&this[_0xebe239(0x13a)][_0xebe239(0x163)]();}),this[_0x4d27c1(0x158)](this[_0x4d27c1(0xf5)][_0x4d27c1(0xf7)],_0x4d27c1(0x16d),(_0x386b84,_0x32a42e)=>{const _0x7b4d2d=_0x4d27c1;this[_0x7b4d2d(0x13a)]&&(this[_0x7b4d2d(0x111)]=_0x7b4d2d(0x10d),this[_0x7b4d2d(0x13a)][_0x7b4d2d(0x11b)](_0x32a42e[_0x7b4d2d(0x10e)]));});}[_0x251b1f(0x150)](_0x9b9c63=!0x1){const _0x3217f7=_0x251b1f;this[_0x3217f7(0x13a)]&&(this[_0x3217f7(0x13a)][_0x3217f7(0x10c)](),this[_0x3217f7(0x13a)][_0x3217f7(0x179)](),this[_0x3217f7(0x13a)]=void 0x0),_0x9b9c63&&this[_0x3217f7(0x147)][_0x3217f7(0xec)](),this[_0x3217f7(0xf5)][_0x3217f7(0x133)](),this[_0x3217f7(0xf5)][_0x3217f7(0x14e)](),this[_0x3217f7(0x111)]=null;const _0x40687e=this[_0x3217f7(0xf5)][_0x3217f7(0x13e)]();_0x40687e&&(_0x40687e[_0x3217f7(0x157)][_0x3217f7(0x156)](_0x3217f7(0xe3)),_0x40687e[_0x3217f7(0x157)][_0x3217f7(0x156)](_0x3217f7(0xea)));}[_0x251b1f(0x152)](_0x361c90){const _0x3f995e=_0x251b1f,_0x1647b0=this[_0x3f995e(0xf5)][_0x3f995e(0x13e)]();_0x1647b0&&(_0x1647b0[_0x3f995e(0x157)][_0x3f995e(0x156)](_0x3f995e(0xe3)),_0x1647b0[_0x3f995e(0x157)][_0x3f995e(0x156)](_0x3f995e(0xea)),_0x1647b0[_0x3f995e(0x157)][_0x3f995e(0x15b)](_0x361c90?_0x3f995e(0xe3):_0x3f995e(0xea)));}[_0x251b1f(0x137)](_0x345ef){const _0x39daba=_0x251b1f;return _0x345ef[_0x39daba(0xdb)](_0x273a2f=>{const _0x31793f=_0x39daba,_0x5cff14=_0x31793f(0x11a)+_0x273a2f['id'][_0x31793f(0x176)]()[_0x31793f(0x12c)]('-','_'),_0x56dd02={..._0x273a2f,'title':this[_0x31793f(0x14a)](_0x5cff14+_0x31793f(0x169),_0x273a2f[_0x31793f(0x15d)]),'description':this[_0x31793f(0x14a)](_0x5cff14+_0x31793f(0xdf),_0x273a2f[_0x31793f(0x120)])};return _0x273a2f[_0x31793f(0x14b)]&&(_0x56dd02[_0x31793f(0x14b)]=_0x273a2f[_0x31793f(0x14b)][_0x31793f(0xdb)](_0x5f22be=>({..._0x5f22be,'label':this[_0x31793f(0x14a)](_0x5cff14+_0x31793f(0x171),_0x5f22be[_0x31793f(0x116)]||''),'data':_0x5f22be[_0x31793f(0x164)]?_0x5f22be[_0x31793f(0x164)][_0x31793f(0xdb)](_0x196732=>({..._0x196732,'label':this[_0x31793f(0x14a)](_0x5cff14+_0x31793f(0x142)+_0x196732['id'][_0x31793f(0x176)](),_0x196732[_0x31793f(0x116)])})):void 0x0}))),_0x56dd02;});}[_0x251b1f(0x14a)](_0x9fb945,_0x7c6323){const _0x47b565=_0x251b1f,_0x16cc25=this[_0x47b565(0x168)][_0x47b565(0xe6)],_0x586675=_0x2eb01(_0x16cc25,_0x9fb945);return _0x586675===_0x9fb945?_0x7c6323:_0x586675;}[_0x251b1f(0x172)](_0xff8c16){const _0x1f3dab=_0x251b1f;_0x313c3d(_0xff8c16[_0x1f3dab(0x139)]),this[_0x1f3dab(0x147)][_0x1f3dab(0xeb)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f8f65=_0x36ec;(function(_0x54ba12,_0x331321){const _0x2b6a0a=_0x36ec,_0x1d65a1=_0x54ba12();while(!![]){try{const _0x2bedc1=parseInt(_0x2b6a0a(0x1a2))/0x1*(parseInt(_0x2b6a0a(0x11c))/0x2)+parseInt(_0x2b6a0a(0x13e))/0x3+-parseInt(_0x2b6a0a(0x148))/0x4*(-parseInt(_0x2b6a0a(0x1a1))/0x5)+parseInt(_0x2b6a0a(0x19e))/0x6+-parseInt(_0x2b6a0a(0x1a6))/0x7+-parseInt(_0x2b6a0a(0x13b))/0x8*(-parseInt(_0x2b6a0a(0x120))/0x9)+-parseInt(_0x2b6a0a(0x18e))/0xa;if(_0x2bedc1===_0x331321)break;else _0x1d65a1['push'](_0x1d65a1['shift']());}catch(_0x515366){_0x1d65a1['push'](_0x1d65a1['shift']());}}}(_0x181f,0x8c7b1));import{InsertOperation as _0xadc1bc,MarkerOperation as _0x22fc1a,ModelDocumentFragment as _0x4a4399,ModelPosition as _0x3699d3,ModelRange as _0x5b06c2,ModelTreeWalker as _0x4d4f5c,transformOperationSets as _0x1e19e7}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x3f0977,EmitterMixin as _0x49eb6b}from'ckeditor5/src/utils.js';function _0x36ec(_0x21ec86,_0x2b8370){const _0x181fc8=_0x181f();return _0x36ec=function(_0x36eca7,_0x18897e){_0x36eca7=_0x36eca7-0x107;let _0x6cc509=_0x181fc8[_0x36eca7];return _0x6cc509;},_0x36ec(_0x21ec86,_0x2b8370);}import{ContextPlugin as _0x3d8352}from'ckeditor5/src/core.js';import{DocumentCompare as _0x39ec43,DATA_ID_MODEL_ATTRIBUTE as _0x2fdc57,DATA_ID_VIEW_ATTRIBUTE as _0x2d7abf}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x181f(){const _0x4e03ab=['schema','documentFragment','_markers','toDomElement','_changePositionOwnerDocument','baseVersion','offset','from','className','backward','clear','conversion','applyChange','_groupAdjacentOperations','view','type','click','$markedRemove','element','ck-ai_review-mode-marker_underline','caption','target','stringify','operationsIsolated','getMarkerElementForChange','marker','createDocumentFragment','keys','[data-id=\x22','hasContentBefore','switchToEdit','_nextDataId','ck-ai_review-mode-marker_hide','_changeOperationOwnerDocument','_findMarkerElement','outerHTML','_setAttribute','groupId','addMarker','getDocumentData','includes','suggestion-context','set','values','getRoots','for','jumpTo','getRange','concat','position','parent','$documentFragment','ck-ai_review-mode-marker_','createText','isOfficialPlugin','start','filter','index','getRoot','18098830lXIHbc','exec','isOpening','_findAdjacentContextDistance','affectsData','createPositionAt','applyOperation','getChild','data-marker-id','markerToHighlight','markChangePositionInEditorContent','nodes','editing','_sortMarkers','querySelector','_getMarkersDataForGroup','4680672FQOcOf','_changeRange','afterInit','5wfQEYL','2075PUxdyl','hasContentAfter','parentElement','AIEditing','4623318EYByiJ','ai-review-mode','pluginName','isTouching','toView','pop','downcast','context','getChildren','fire','getPath','suggestion:insertion:id:authorId:','every','ck-ai_review-mode-marker_context-start','_domEmitter','path','disableReadOnlyMode','getShiftedBy','length','plugins','isInline','sort','name','enableReadOnlyMode','change','forward','history','startsWith','delete','markers','suggestion:deletion:id:authorId:','diffContent','_getChangeContext','remove-text','getHtml','isAtEnd','_changeRangeOwnerDocument','remove-only','_getTopElement','_changePosition','dataDowncast','elements','split','htmlProcessor','ck-ai_review-mode-marker_add','deleteContent','viewToDom','offsetSize','newRange','markerToElement','isAtStart','processor','data','createUIElement','getDomRoot','htmlWriter','getOperations','_createGetContentUsingDataIdFn','howMany','model','flat','_clone','add','append','[data-marker-id=\x22','requires','get','AIReviewModeEditing','addOperation','end','insert','DocumentCompare','isPremiumPlugin','push','editingDowncast','batch','_insertMarkers','ellipsisAfter','hasClass','94pciQur','toData','_getOperationStart','_translateOperationToEditorContent','800730yAGtSj','getAttribute','remove-context','ck-ai_review-mode-marker_context-','createRawElement','oldRange','markerName','removeMarker','span','_removeChildren','emitter','operationsA','createSelection','ellipsisBefore','_shiftOperation','isDocumentOperation','rejectChange','switchToReadOnly','getDiff','$textProxy','reviewmode-','ck-ai_review-mode-marker_context-end','getContentElement','text','No\x20element\x20found\x20for\x20ID:\x20','_eventEmitter','warn','88wKaxLC','ck-ai_review-mode-marker_strikethrough','listenTo','3407910RGzdUH','childCount','version','attributeToAttribute','map','domConverter','parse','clone','document','clearAllMarkers','213956nfTSxd','innerHTML','createRange','_createGetContentFn','_createGetContextFn','model:$text','insertContent','createPositionAfter','_getOperationEnd','_appendChild','changeMarkerClick'];_0x181f=function(){return _0x4e03ab;};return _0x181f();}import{getEditorFromContext as _0x387c48}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x4a61fc}from'../aicore/aiediting.js';const Gt=_0x3f8f65(0x134);export class AIReviewModeEditing extends _0x3d8352{static get[_0x3f8f65(0x1a8)](){const _0x489dce=_0x3f8f65;return _0x489dce(0x110);}static get[_0x3f8f65(0x10e)](){return[_0x39ec43,_0x4a61fc];}static get[_0x3f8f65(0x189)](){return!0x0;}static get[_0x3f8f65(0x115)](){return!0x0;}[_0x3f8f65(0x155)]=new Map();[_0x3f8f65(0x1b4)];[_0x3f8f65(0x139)];constructor(_0x13d5f5){const _0x2e2a5c=_0x3f8f65;super(_0x13d5f5),this[_0x2e2a5c(0x1b4)]=new(_0x3f0977())(),this[_0x2e2a5c(0x139)]=new(_0x49eb6b())();}get[_0x3f8f65(0x12a)](){const _0xe7c2eb=_0x3f8f65;return this[_0xe7c2eb(0x139)];}[_0x3f8f65(0x1a0)](){const _0x422960=_0x3f8f65,_0x3bf3c6=_0x387c48(this[_0x422960(0x1ad)]);_0x3bf3c6[_0x422960(0x15e)][_0x422960(0x180)](_0x422960(0x117))[_0x422960(0x1d7)]({'model':Gt+_0x422960(0x113),'view':(_0x36e24e,{writer:_0x26ab6f})=>{const _0x51b97c=_0x422960,_0x38c8b7=this[_0x51b97c(0x155)][_0x51b97c(0x10f)](_0x36e24e[_0x51b97c(0x126)]),_0xb25717={'class':_0x51b97c(0x1d2),'data-marker-id':_0x36e24e[_0x51b97c(0x126)]};return _0x26ab6f[_0x51b97c(0x1db)](_0x51b97c(0x128),_0xb25717,function(_0x22fc42){const _0x4f5004=_0x51b97c,_0x5715e2=this[_0x4f5004(0x156)](_0x22fc42);return _0x5715e2[_0x4f5004(0x149)]=_0x38c8b7?.[_0x4f5004(0x137)]||'',_0x5715e2;});}}),_0x3bf3c6[_0x422960(0x15e)][_0x422960(0x180)](_0x422960(0x117))[_0x422960(0x197)]({'model':Gt+_0x422960(0x1cb),'view':_0x58c5e8=>({'classes':_0x422960(0x13c),'attributes':{'data-marker-id':_0x58c5e8[_0x422960(0x126)]}})}),_0x3bf3c6[_0x422960(0x15e)][_0x422960(0x180)](_0x422960(0x117))[_0x422960(0x197)]({'model':Gt+_0x422960(0x122),'view':_0x464cf5=>({'classes':_0x422960(0x166),'attributes':{'data-marker-id':_0x464cf5[_0x422960(0x126)]}})}),_0x3bf3c6[_0x422960(0x15e)][_0x422960(0x180)](_0x422960(0x117))[_0x422960(0x197)]({'model':Gt+_0x422960(0x1c7),'view':_0x61728b=>({'classes':_0x422960(0x173),'attributes':{'data-marker-id':_0x61728b[_0x422960(0x126)]}})}),_0x3bf3c6[_0x422960(0x15e)][_0x422960(0x180)](_0x422960(0x1ce))[_0x422960(0x1d7)]({'model':Gt+_0x422960(0x17c),'view':(_0x4299e3,{writer:_0x318e91})=>_0x318e91[_0x422960(0x124)](_0x422960(0x128),{'class':_0x422960(0x123)+(_0x4299e3[_0x422960(0x190)]?_0x422960(0x18a):_0x422960(0x112))})}),_0x3bf3c6[_0x422960(0x15e)][_0x422960(0x180)](_0x422960(0x1ac))[_0x422960(0x141)]({'model':_0x2fdc57,'view':_0x2d7abf}),this[_0x422960(0x1b4)][_0x422960(0x13d)](document,_0x422960(0x163),(_0xff6d84,_0x15d8b5)=>{const _0x32b230=_0x422960,_0x2cd82f=_0x15d8b5[_0x32b230(0x168)],_0x2c88ba=this[_0x32b230(0x175)](_0x2cd82f);if(!_0x2c88ba)return;const _0x3408c9=_0x2c88ba[_0x32b230(0x121)](_0x32b230(0x196)),_0x4eb02c=_0x3408c9[_0x32b230(0x1d0)](':')[_0x32b230(0x1ab)]()?.[_0x32b230(0x1d0)]('_')[0x0];this[_0x32b230(0x139)][_0x32b230(0x1af)](_0x32b230(0x152),{'markerId':_0x3408c9,'changeId':_0x4eb02c});});}[_0x3f8f65(0x17a)](){const _0x556b21=_0x3f8f65,_0x1bce9b=this[_0x556b21(0x1ad)][_0x556b21(0x1b9)][_0x556b21(0x10f)](_0x556b21(0x1a5)),_0x1f06ec=_0x387c48(this[_0x556b21(0x1ad)]),_0x34ddf0=_0x1f06ec[_0x556b21(0x108)],_0x4d129c=new _0x4a4399();for(const _0x2f21d0 of _0x34ddf0[_0x556b21(0x146)][_0x556b21(0x18d)]()[_0x556b21(0x1ae)]()){const _0x83fc9c=_0x2f21d0[_0x556b21(0x10a)](!0x0);_0x4d129c[_0x556b21(0x151)](_0x83fc9c);}for(const _0x1a681f of _0x34ddf0[_0x556b21(0x1c3)])_0x4d129c[_0x556b21(0x1c3)][_0x556b21(0x17d)](_0x1a681f[_0x556b21(0x1bc)],this[_0x556b21(0x1ca)](_0x1a681f[_0x556b21(0x182)]()[_0x556b21(0x145)](),_0x4d129c));const _0x8bb20c=new _0x4d4f5c({'ignoreElementEnd':!0x0,'startPosition':_0x34ddf0[_0x556b21(0x193)](_0x4d129c,0x0)}),_0x464c8c=new Set(),_0x3beb07=new Map();for(const {item:_0x573986}of _0x8bb20c){if(!_0x573986['is'](_0x556b21(0x133)))continue;const _0x26f9a8=_0x573986[_0x556b21(0x185)];if((!_0x26f9a8||!_0x26f9a8['is'](_0x556b21(0x165),_0x556b21(0x167)))&&(_0x26f9a8&&_0x26f9a8['is'](_0x556b21(0x165)))){let _0x4f6552=_0x26f9a8[_0x556b21(0x121)](_0x2fdc57);_0x4f6552||(_0x4f6552=_0x1bce9b[_0x556b21(0x172)](_0x464c8c),_0x26f9a8[_0x556b21(0x177)](_0x2fdc57,_0x4f6552)),_0x464c8c[_0x556b21(0x10b)](_0x4f6552);const _0x3568c2=this[_0x556b21(0x1cc)](_0x26f9a8);_0x3beb07[_0x556b21(0x17d)](_0x4f6552,{'path':_0x26f9a8[_0x556b21(0x1b0)](),'getContent':this[_0x556b21(0x1df)](_0x3568c2[_0x556b21(0x10a)](!0x0),_0x4f6552,_0x1f06ec[_0x556b21(0x1da)])}),_0x8bb20c[_0x556b21(0x181)](_0x34ddf0[_0x556b21(0x14f)](_0x26f9a8));}}return{'content':_0x1f06ec[_0x556b21(0x1da)][_0x556b21(0x1d9)][_0x556b21(0x11d)](_0x1f06ec[_0x556b21(0x1da)][_0x556b21(0x1aa)](_0x4d129c)),'version':_0x1f06ec[_0x556b21(0x108)][_0x556b21(0x146)][_0x556b21(0x140)],'elements':_0x3beb07};}[_0x3f8f65(0x1c5)](_0x339a69,_0x56fdf4){const _0x159d55=_0x3f8f65,_0x48095c=_0x387c48(this[_0x159d55(0x1ad)]),_0x399f14=_0x48095c[_0x159d55(0x1da)][_0x159d55(0x144)](_0x339a69,_0x159d55(0x186)),_0x26867a=_0x48095c[_0x159d55(0x108)][_0x159d55(0x193)](_0x399f14,0x0),_0x1bd3f7=this[_0x159d55(0x1ad)][_0x159d55(0x1b9)][_0x159d55(0x10f)](_0x159d55(0x114))[_0x159d55(0x132)](_0x339a69,_0x56fdf4,{'anchor':_0x26867a,'markDeletions':!0x0})[_0x159d55(0x1de)]()[_0x159d55(0x18b)](_0x19c3db=>_0x159d55(0x113)===_0x19c3db[_0x159d55(0x162)]||_0x159d55(0x16c)===_0x19c3db[_0x159d55(0x162)]&&_0x19c3db[_0x159d55(0x1bc)][_0x159d55(0x1c1)](_0x159d55(0x164))),_0x1019a7=this[_0x159d55(0x160)](_0x1bd3f7),_0x3cec51=[];let _0x4d0694=0x0;return _0x48095c[_0x159d55(0x108)][_0x159d55(0x1be)](_0x253fc9=>{const _0x1cad94=_0x159d55;for(let _0x91fa37=0x0;_0x91fa37<_0x1019a7[_0x1cad94(0x1b8)];_0x91fa37++){const _0xe01c23=_0x1019a7[_0x91fa37],_0x1d4b3c=_0x253fc9[_0x1cad94(0x16d)]();for(const _0x403584 of _0x399f14[_0x1cad94(0x1ae)]())_0x253fc9[_0x1cad94(0x10c)](_0x403584[_0x1cad94(0x10a)](!0x0),_0x1d4b3c);for(const _0x1885a7 of _0xe01c23[_0x1cad94(0x16a)])if(_0x1cad94(0x113)===_0x1885a7[_0x1cad94(0x162)]){const _0x51f2e8=_0x1885a7;_0x51f2e8[_0x1cad94(0x158)]=null,_0x51f2e8[_0x1cad94(0x12f)]=!0x1,this[_0x1cad94(0x174)](_0x51f2e8,_0x1d4b3c),_0x253fc9[_0x1cad94(0x118)][_0x1cad94(0x111)](_0x1885a7),_0x48095c[_0x1cad94(0x108)][_0x1cad94(0x194)](_0x1885a7);const _0xc63ad=_0x1cad94(0x1b1)+_0x4d0694++,_0x4715ba=_0x48095c[_0x1cad94(0x108)][_0x1cad94(0x14a)](_0x51f2e8[_0x1cad94(0x184)],_0x51f2e8[_0x1cad94(0x184)][_0x1cad94(0x1b7)](_0x51f2e8[_0x1cad94(0x107)]));_0x1d4b3c[_0x1cad94(0x1c3)][_0x1cad94(0x17d)](_0xc63ad,_0x4715ba);}else{if(_0x1cad94(0x16c)===_0x1885a7[_0x1cad94(0x162)]&&_0x1885a7[_0x1cad94(0x1bc)][_0x1cad94(0x1c1)](_0x1cad94(0x164))){const _0x3b88cb=_0x1885a7,_0x271199=_0x1cad94(0x1c4)+_0x4d0694++;this[_0x1cad94(0x174)](_0x3b88cb,_0x1d4b3c),_0x1d4b3c[_0x1cad94(0x1c3)][_0x1cad94(0x17d)](_0x271199,_0x3b88cb[_0x1cad94(0x1d6)]);}}const _0x229f2e=this[_0x1cad94(0x1c6)](this[_0x1cad94(0x157)](this[_0x1cad94(0x11e)](_0xe01c23[_0x1cad94(0x16a)][0x0]),_0x1d4b3c),this[_0x1cad94(0x157)](this[_0x1cad94(0x150)](_0xe01c23[_0x1cad94(0x16a)][_0xe01c23[_0x1cad94(0x16a)][_0x1cad94(0x1b8)]-0x1]),_0x1d4b3c));_0x1d4b3c[_0x1cad94(0x1c3)][_0x1cad94(0x17d)](Gt+_0x1cad94(0x17c),new _0x5b06c2(_0x229f2e[_0x1cad94(0x18a)],_0x229f2e[_0x1cad94(0x112)])),_0x3cec51[_0x1cad94(0x116)]({..._0xe01c23,'context':this[_0x1cad94(0x14c)](_0x1d4b3c,_0x48095c[_0x1cad94(0x1da)],{'ellipsisBefore':_0x229f2e[_0x1cad94(0x170)],'ellipsisAfter':_0x229f2e[_0x1cad94(0x1a3)]}),'content':this[_0x1cad94(0x14b)](_0x1d4b3c,_0x48095c[_0x1cad94(0x1da)])});}}),_0x3cec51;}[_0x3f8f65(0x198)](_0x2b1d6f,_0x30acc2){const _0x35fb90=_0x3f8f65,_0x474236=_0x2b1d6f[0x0][_0x35fb90(0x185)]['id'],_0x5d5a8e=_0x30acc2[_0x35fb90(0x1cf)][_0x35fb90(0x10f)](_0x474236);if(!_0x5d5a8e)return void console[_0x35fb90(0x13a)](_0x35fb90(0x138)+_0x474236);const _0x41cbc8=_0x5d5a8e[_0x35fb90(0x1b5)],_0x3f37a5=_0x387c48(this[_0x35fb90(0x1ad)]),_0x43905e=_0x3f37a5[_0x35fb90(0x108)][_0x35fb90(0x146)][_0x35fb90(0x1c0)][_0x35fb90(0x1de)](_0x30acc2[_0x35fb90(0x140)]),_0x443acd=[];for(const _0x3f7d22 of _0x2b1d6f){const _0x443ad8=_0x3f7d22[_0x35fb90(0x16a)][_0x35fb90(0x142)](_0x4c4b19=>this[_0x35fb90(0x11f)](_0x4c4b19,_0x41cbc8,_0x3f37a5[_0x35fb90(0x108)][_0x35fb90(0x146)][_0x35fb90(0x17f)]()[0x0]));if(!_0x443ad8||!_0x443ad8[_0x35fb90(0x1b8)])continue;const _0x3f9ead=_0x443ad8[_0x35fb90(0x1b2)](_0x3b5cdb=>_0x35fb90(0x16c)===_0x3b5cdb[_0x35fb90(0x162)]&&_0x3b5cdb[_0x35fb90(0x1bc)][_0x35fb90(0x1c1)](_0x35fb90(0x164))),_0x1a3596={'document':_0x3f37a5[_0x35fb90(0x108)][_0x35fb90(0x146)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x4c8fe0=_0x1e19e7(_0x443ad8,_0x43905e,_0x1a3596)[_0x35fb90(0x12b)];for(const _0x55341f of _0x4c8fe0)if(_0x35fb90(0x113)===_0x55341f[_0x35fb90(0x162)]){const _0xf7e8a1=_0x55341f,_0x1d4393=_0xf7e8a1[_0x35fb90(0x199)];let _0x5e0ae3='';for(const _0x3a8a97 of _0x1d4393)_0x3a8a97&&_0x3a8a97['is'](_0x35fb90(0x14d))&&(_0x5e0ae3+=_0x3a8a97[_0x35fb90(0x1da)]);_0x443acd[_0x35fb90(0x116)]({'start':_0xf7e8a1[_0x35fb90(0x184)],'end':_0xf7e8a1[_0x35fb90(0x184)],'type':_0x35fb90(0x113),'groupId':_0x3f7d22['id'],'text':_0x5e0ae3});}else{if(_0x35fb90(0x16c)===_0x55341f[_0x35fb90(0x162)]&&_0x55341f[_0x35fb90(0x1bc)][_0x35fb90(0x1c1)](_0x35fb90(0x164))){const _0x51155e=_0x55341f;let _0xf33655=_0x35fb90(0x1c7);if(_0x3f9ead){const _0x1e42ff=this[_0x35fb90(0x191)](_0x51155e[_0x35fb90(0x1d6)][_0x35fb90(0x18a)],_0x35fb90(0x15c),_0x3f37a5[_0x35fb90(0x108)][_0x35fb90(0x153)]),_0x3c6414=this[_0x35fb90(0x191)](_0x51155e[_0x35fb90(0x1d6)][_0x35fb90(0x112)],_0x35fb90(0x1bf),_0x3f37a5[_0x35fb90(0x108)][_0x35fb90(0x153)]);if(_0x1e42ff||_0x3c6414){const _0x1fdfdd=_0x51155e[_0x35fb90(0x1d6)][_0x35fb90(0x18a)][_0x35fb90(0x1b7)](-_0x1e42ff),_0x24ae49=_0x51155e[_0x35fb90(0x1d6)][_0x35fb90(0x112)][_0x35fb90(0x1b7)](_0x3c6414);_0x443acd[_0x35fb90(0x116)]({'start':_0x1fdfdd,'end':_0x24ae49,'groupId':_0x3f7d22['id'],'type':_0x35fb90(0x122)});}else _0xf33655=_0x35fb90(0x1cb);}_0x443acd[_0x35fb90(0x116)]({'start':_0x51155e[_0x35fb90(0x1d6)][_0x35fb90(0x18a)],'end':_0x51155e[_0x35fb90(0x1d6)][_0x35fb90(0x112)],'groupId':_0x3f7d22['id'],'type':_0xf33655});}}}this[_0x35fb90(0x119)](_0x443acd);}[_0x3f8f65(0x147)](){const _0x4e584c=_0x3f8f65;_0x387c48(this[_0x4e584c(0x1ad)])[_0x4e584c(0x108)][_0x4e584c(0x1be)](_0x3bb1da=>{const _0x3f99a0=_0x4e584c;for(const _0x39e2c8 of this[_0x3f99a0(0x155)][_0x3f99a0(0x16e)]())_0x3bb1da[_0x3f99a0(0x127)](_0x39e2c8);}),this[_0x4e584c(0x155)][_0x4e584c(0x15d)]();}[_0x3f8f65(0x131)](){const _0x393c32=_0x3f8f65;_0x387c48(this[_0x393c32(0x1ad)])[_0x393c32(0x1bd)](_0x393c32(0x1a7));}[_0x3f8f65(0x171)](){const _0x528a35=_0x3f8f65;_0x387c48(this[_0x528a35(0x1ad)])[_0x528a35(0x1b6)](_0x528a35(0x1a7));}[_0x3f8f65(0x15f)](_0x279a91){const _0x4afd71=_0x3f8f65,_0x416596=_0x387c48(this[_0x4afd71(0x1ad)]),_0x154d79=_0x416596[_0x4afd71(0x108)],_0x120a08=_0x279a91[_0x4afd71(0x142)](_0x32675d=>this[_0x4afd71(0x19d)](_0x32675d))[_0x4afd71(0x109)]();_0x154d79[_0x4afd71(0x1be)](_0x2eaf7e=>{const _0x55c91c=_0x4afd71;for(const _0x297929 of _0x120a08){const _0x472bad=_0x416596[_0x55c91c(0x108)][_0x55c91c(0x1c3)][_0x55c91c(0x10f)](_0x297929['id']);_0x472bad&&(_0x55c91c(0x113)===_0x297929[_0x55c91c(0x162)]?_0x154d79[_0x55c91c(0x14e)](_0x2eaf7e[_0x55c91c(0x188)](_0x297929[_0x55c91c(0x137)]||''),_0x472bad[_0x55c91c(0x182)]()[_0x55c91c(0x18a)]):_0x55c91c(0x1c7)!==_0x297929[_0x55c91c(0x162)]&&_0x55c91c(0x1cb)!==_0x297929[_0x55c91c(0x162)]||_0x154d79[_0x55c91c(0x1d3)](_0x154d79[_0x55c91c(0x12c)](_0x472bad[_0x55c91c(0x182)]())),_0x2eaf7e[_0x55c91c(0x127)](_0x297929['id']),this[_0x55c91c(0x155)][_0x55c91c(0x1c2)](_0x297929['id']));}});}[_0x3f8f65(0x130)](_0x31d98f){const _0x3bf015=_0x3f8f65,_0x389b4e=_0x387c48(this[_0x3bf015(0x1ad)]),_0x2927ac=this[_0x3bf015(0x19d)](_0x31d98f);_0x389b4e[_0x3bf015(0x108)][_0x3bf015(0x1be)](_0x3cbd5b=>{const _0xc4bfe7=_0x3bf015;for(const _0x3ab039 of _0x2927ac)_0x3cbd5b[_0xc4bfe7(0x127)](_0x3ab039['id']),this[_0xc4bfe7(0x155)][_0xc4bfe7(0x1c2)](_0x3ab039['id']);});}[_0x3f8f65(0x136)](){const _0x178ac6=_0x3f8f65,_0xcf5f14=_0x387c48(this[_0x178ac6(0x1ad)]);return _0xcf5f14&&_0xcf5f14['ui']&&_0xcf5f14['ui'][_0x178ac6(0x165)]?_0xcf5f14['ui'][_0x178ac6(0x165)]:null;}[_0x3f8f65(0x16b)](_0x45a7bc){const _0xfc8061=_0x3f8f65,_0x2d070c=Array[_0xfc8061(0x15a)](this[_0xfc8061(0x155)][_0xfc8061(0x17e)]())[_0xfc8061(0x18b)](_0xd9c6c5=>_0xd9c6c5[_0xfc8061(0x178)]===_0x45a7bc);if(!_0x2d070c[_0xfc8061(0x1b8)])return null;const _0xc3ed5c=0x1===_0x2d070c[_0xfc8061(0x1b8)]?_0x2d070c[0x0]:this[_0xfc8061(0x19b)](_0x2d070c)[0x0],_0xd2d62f=_0x387c48(this[_0xfc8061(0x1ad)]),_0x399900=_0xd2d62f[_0xfc8061(0x108)][_0xfc8061(0x1c3)][_0xfc8061(0x10f)](_0xc3ed5c['id']);if(!_0x399900)return null;const _0x4a6eeb=_0x399900[_0xfc8061(0x182)](),_0x58ea25=_0xd2d62f[_0xfc8061(0x19a)][_0xfc8061(0x161)][_0xfc8061(0x1dc)]();if(!_0x58ea25||!_0x4a6eeb)return null;const _0x6823ad=_0x58ea25[_0xfc8061(0x19c)](_0xfc8061(0x10d)+_0xc3ed5c['id']+'\x22]');return _0x6823ad?{'modelRange':_0x4a6eeb,'domElement':_0x6823ad}:null;}[_0x3f8f65(0x11f)](_0xb90517,_0x34f793,_0x562a72){const _0x65de4b=_0x3f8f65;if(_0x65de4b(0x113)===_0xb90517[_0x65de4b(0x162)]){const _0x511cb0=_0xb90517;return new _0xadc1bc(this[_0x65de4b(0x1cd)](_0x511cb0[_0x65de4b(0x184)],_0x34f793[_0x65de4b(0x183)](_0x511cb0[_0x65de4b(0x184)][_0x65de4b(0x159)]),_0x562a72),_0x511cb0[_0x65de4b(0x199)],_0x511cb0[_0x65de4b(0x158)]);}if(_0x65de4b(0x16c)===_0xb90517[_0x65de4b(0x162)]&&_0xb90517[_0x65de4b(0x1bc)][_0x65de4b(0x1c1)](_0x65de4b(0x164))){const _0x12bad7=_0xb90517;return new _0x22fc1a(_0x12bad7[_0x65de4b(0x1bc)],_0x12bad7[_0x65de4b(0x125)],this[_0x65de4b(0x19f)](_0x12bad7[_0x65de4b(0x1d6)],_0x34f793[_0x65de4b(0x183)](_0x12bad7[_0x65de4b(0x1d6)][_0x65de4b(0x18a)][_0x65de4b(0x159)]),_0x34f793[_0x65de4b(0x183)](_0x12bad7[_0x65de4b(0x1d6)][_0x65de4b(0x112)][_0x65de4b(0x159)]),_0x562a72),_0x12bad7[_0x65de4b(0x155)],_0x12bad7[_0x65de4b(0x192)],_0x12bad7[_0x65de4b(0x158)]);}return _0xb90517;}[_0x3f8f65(0x160)](_0x1b0e1f){const _0x53e92d=_0x3f8f65;if(!_0x1b0e1f[_0x53e92d(0x1b8)])return[];const _0x1d0cd6=[];let _0x30dda7=0x0,_0x1d28d1=0x0,_0x568d39=[];for(let _0x504244=0x0;_0x504244<=_0x1b0e1f[_0x53e92d(0x1b8)];_0x504244++){const _0x4be984=_0x1b0e1f[_0x504244],_0x755875=_0x1b0e1f[_0x504244-0x1];!_0x4be984||_0x755875&&!this[_0x53e92d(0x150)](_0x755875)[_0x53e92d(0x1a9)](this[_0x53e92d(0x11e)](_0x4be984))?(_0x1d0cd6[_0x53e92d(0x116)]({'operations':_0x568d39,'operationsIsolated':_0x568d39[_0x53e92d(0x142)](_0x5e131b=>this[_0x53e92d(0x12e)](_0x5e131b[_0x53e92d(0x145)](),-_0x1d28d1)),'groupOffset':_0x30dda7}),_0x568d39=_0x4be984?[_0x4be984]:[],_0x1d28d1+=_0x30dda7,_0x30dda7=0x0):_0x568d39[_0x53e92d(0x116)](_0x4be984),_0x4be984&&_0x53e92d(0x113)===_0x4be984[_0x53e92d(0x162)]&&(_0x30dda7+=_0x4be984[_0x53e92d(0x107)]);}return _0x1d0cd6;}[_0x3f8f65(0x191)](_0x3be0fd,_0x39f346,_0x23b2cc,_0x136971=0x1){const _0x5bf6ae=_0x3f8f65,_0x2da8b7=new _0x4d4f5c({'startPosition':_0x3be0fd,'direction':_0x39f346});let _0x10fd07=0x0;for(let _0x108736=0x0;_0x108736<_0x136971;_0x108736++){let _0x7b8718=0x0,_0x3d9521=!0x1,_0xc79b98=_0x5bf6ae(0x1bf)===_0x39f346?/^\W*\w+/:/\w+\W*$/;for(const {item:_0xe13105}of _0x2da8b7)if(_0xe13105['is'](_0x5bf6ae(0x133))){const _0x4586ab=_0xc79b98[_0x5bf6ae(0x18f)](_0xe13105[_0x5bf6ae(0x1da)]);if(_0x4586ab&&_0x4586ab[_0x5bf6ae(0x1b8)]){if(_0x7b8718+=_0x5bf6ae(0x1bf)===_0x39f346?_0x4586ab[_0x5bf6ae(0x18c)]+_0x4586ab[0x0][_0x5bf6ae(0x1b8)]:_0xe13105[_0x5bf6ae(0x1da)][_0x5bf6ae(0x1b8)]-_0x4586ab[_0x5bf6ae(0x18c)],_0x4586ab[0x0][_0x5bf6ae(0x1b8)]!==_0xe13105[_0x5bf6ae(0x1da)][_0x5bf6ae(0x1b8)])break;_0x3d9521=!0x0,_0xc79b98=_0x5bf6ae(0x1bf)===_0x39f346?/^\w+/:/\w+$/;}else{if(_0x3d9521)break;_0x7b8718+=_0xe13105[_0x5bf6ae(0x1d5)];}}else{if(_0xe13105['is'](_0x5bf6ae(0x165))){_0x23b2cc[_0x5bf6ae(0x1ba)](_0xe13105)&&!_0x3d9521&&(_0x7b8718+=0x1);break;}}_0x10fd07+=_0x7b8718,_0x2da8b7[_0x5bf6ae(0x181)](_0x3be0fd[_0x5bf6ae(0x1b7)](_0x5bf6ae(0x1bf)===_0x39f346?_0x10fd07:-_0x10fd07));}return _0x10fd07;}[_0x3f8f65(0x1c6)](_0x8e085c,_0x2dadfa){const _0x3f4c28=_0x3f8f65,_0x3b206d=_0x387c48(this[_0x3f4c28(0x1ad)])[_0x3f4c28(0x108)][_0x3f4c28(0x153)],_0x2c1c01=this[_0x3f4c28(0x191)](_0x8e085c,_0x3f4c28(0x15c),_0x3b206d,0x6),_0x5b5d66=this[_0x3f4c28(0x191)](_0x2dadfa,_0x3f4c28(0x1bf),_0x3b206d,0x6),_0x52b256=_0x8e085c[_0x3f4c28(0x1b7)](-_0x2c1c01),_0x5712bb=_0x2dadfa[_0x3f4c28(0x1b7)](_0x5b5d66);return{'start':_0x52b256,'end':_0x5712bb,'hasContentBefore':!_0x52b256[_0x3f4c28(0x1d8)],'hasContentAfter':!_0x5712bb[_0x3f4c28(0x1c9)]};}[_0x3f8f65(0x119)](_0x5c9da5){const _0x34688f=_0x3f8f65,_0x1ae975=this[_0x34688f(0x1ad)][_0x34688f(0x1b9)][_0x34688f(0x10f)](_0x34688f(0x1a5)),_0x324ff7=new Set();_0x387c48(this[_0x34688f(0x1ad)])[_0x34688f(0x108)][_0x34688f(0x1be)](_0x2c11ac=>{const _0x2c8d60=_0x34688f;for(const _0x205a54 of _0x5c9da5){const _0x36cbae=''+Gt+_0x205a54[_0x2c8d60(0x162)]+':'+_0x205a54[_0x2c8d60(0x178)]+'_'+_0x1ae975[_0x2c8d60(0x172)](_0x324ff7);this[_0x2c8d60(0x155)][_0x2c8d60(0x17d)](_0x36cbae,{'id':_0x36cbae,'groupId':_0x205a54[_0x2c8d60(0x178)],'type':_0x205a54[_0x2c8d60(0x162)],'text':_0x205a54[_0x2c8d60(0x137)]}),_0x2c11ac[_0x2c8d60(0x179)](_0x36cbae,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2c11ac[_0x2c8d60(0x14a)](_0x205a54[_0x2c8d60(0x18a)],_0x205a54[_0x2c8d60(0x112)])});}});}[_0x3f8f65(0x14c)](_0x1a6dbc,_0x1ba692,_0xad613a){let _0x5cf59a='';return()=>{const _0x2d500d=_0x36ec;if(!_0x5cf59a){const _0x44df88=_0x1ba692[_0x2d500d(0x1aa)](_0x1a6dbc,{'showSuggestionHighlights':!0x0}),_0x2e3554=_0x44df88[_0x2d500d(0x195)](0x0);if(!_0x2e3554)return'';let _0x2c4b63=!0x1;const _0x190cfd=[];for(const _0x5444ca of _0x2e3554[_0x2d500d(0x1ae)]())_0x5444ca['is'](_0x2d500d(0x165),_0x2d500d(0x128))&&_0x5444ca[_0x2d500d(0x11b)](_0x2d500d(0x135))&&(_0x2c4b63=!0x1),_0x2c4b63&&_0x190cfd[_0x2d500d(0x116)](_0x5444ca),_0x5444ca['is'](_0x2d500d(0x165),_0x2d500d(0x128))&&_0x5444ca[_0x2d500d(0x11b)](_0x2d500d(0x1b3))&&(_0x2c4b63=!0x0);_0x2e3554[_0x2d500d(0x129)](0x0,_0x2e3554[_0x2d500d(0x13f)]),_0xad613a?.[_0x2d500d(0x12d)]&&_0x2e3554[_0x2d500d(0x151)]('…'),_0x2e3554[_0x2d500d(0x151)](_0x190cfd),_0xad613a?.[_0x2d500d(0x11a)]&&_0x2e3554[_0x2d500d(0x151)]('…');const _0x293104=_0x1ba692[_0x2d500d(0x1d1)][_0x2d500d(0x143)][_0x2d500d(0x1d4)](_0x44df88),_0x1e0c15=_0x1ba692[_0x2d500d(0x1d1)][_0x2d500d(0x1dd)][_0x2d500d(0x1c8)](_0x293104);_0x5cf59a=_0x1e0c15;}return _0x5cf59a;};}[_0x3f8f65(0x14b)](_0x2240f4,_0x1d5d77){const _0x3fd754=_0x3f8f65;let _0x3b6ef8='';return()=>(_0x3b6ef8||(_0x3b6ef8=_0x1d5d77[_0x3fd754(0x169)](_0x2240f4,{'showSuggestionHighlights':!0x0})),_0x3b6ef8);}[_0x3f8f65(0x1df)](_0x571ea1,_0x315ca1,_0x548686){let _0x1530d7='';return()=>{const _0xecff4e=_0x36ec;if(!_0x1530d7){const _0x99afd1=_0x548686[_0xecff4e(0x1aa)](new _0x4a4399(_0x571ea1)),_0x236e1a=_0x548686[_0xecff4e(0x1d1)][_0xecff4e(0x143)][_0xecff4e(0x1d4)](_0x99afd1)[_0xecff4e(0x19c)](_0xecff4e(0x16f)+_0x315ca1+'\x22]');_0x1530d7=_0x236e1a?.[_0xecff4e(0x176)]||'';}return _0x1530d7;};}[_0x3f8f65(0x175)](_0x1af99e,_0x6ba2ff=0x5){const _0x449c34=_0x3f8f65;let _0x53b41e=_0x1af99e,_0x1ff4c0=null;for(let _0x2c1a65=0x0;_0x2c1a65<_0x6ba2ff&&_0x53b41e;_0x2c1a65++){if(!_0x53b41e[_0x449c34(0x15b)]){_0x53b41e=_0x53b41e[_0x449c34(0x1a4)];continue;}if(!(''+_0x53b41e[_0x449c34(0x15b)])[_0x449c34(0x17b)](_0x449c34(0x187))){_0x53b41e=_0x53b41e[_0x449c34(0x1a4)];continue;}if(!_0x53b41e[_0x449c34(0x121)](_0x449c34(0x196)))break;_0x1ff4c0=_0x53b41e;break;}return _0x1ff4c0;}[_0x3f8f65(0x19d)](_0x1d12e0){const _0x511db7=_0x3f8f65;return Array[_0x511db7(0x15a)](this[_0x511db7(0x155)][_0x511db7(0x17e)]())[_0x511db7(0x18b)](_0x23d40f=>_0x23d40f[_0x511db7(0x178)]===_0x1d12e0);}[_0x3f8f65(0x11e)](_0x53a657){const _0x222bda=_0x3f8f65;return _0x222bda(0x113)===_0x53a657[_0x222bda(0x162)]?_0x53a657[_0x222bda(0x184)]:_0x53a657[_0x222bda(0x1d6)][_0x222bda(0x18a)];}[_0x3f8f65(0x150)](_0x5a1a6e,_0x266f43=!0x1){const _0x3730f2=_0x3f8f65;return _0x3730f2(0x113)===_0x5a1a6e[_0x3730f2(0x162)]?_0x266f43?_0x5a1a6e[_0x3730f2(0x184)]:_0x5a1a6e[_0x3730f2(0x184)][_0x3730f2(0x1b7)](_0x5a1a6e[_0x3730f2(0x107)]):_0x5a1a6e[_0x3730f2(0x1d6)][_0x3730f2(0x112)];}[_0x3f8f65(0x12e)](_0x3d857a,_0x46fca1){const _0x2ef606=_0x3f8f65;return _0x2ef606(0x113)===_0x3d857a[_0x2ef606(0x162)]?_0x3d857a[_0x2ef606(0x184)]=_0x3d857a[_0x2ef606(0x184)][_0x2ef606(0x1b7)](_0x46fca1):_0x2ef606(0x16c)===_0x3d857a[_0x2ef606(0x162)]&&_0x3d857a[_0x2ef606(0x1d6)]&&(_0x3d857a[_0x2ef606(0x1d6)]=new _0x5b06c2(_0x3d857a[_0x2ef606(0x1d6)][_0x2ef606(0x18a)][_0x2ef606(0x1b7)](_0x46fca1),_0x3d857a[_0x2ef606(0x1d6)][_0x2ef606(0x112)][_0x2ef606(0x1b7)](_0x46fca1))),_0x3d857a;}[_0x3f8f65(0x174)](_0x5cef88,_0x45e244){const _0x3791e1=_0x3f8f65;_0x3791e1(0x113)===_0x5cef88[_0x3791e1(0x162)]?_0x5cef88[_0x3791e1(0x184)]=this[_0x3791e1(0x157)](_0x5cef88[_0x3791e1(0x184)],_0x45e244):_0x3791e1(0x16c)===_0x5cef88[_0x3791e1(0x162)]&&_0x5cef88[_0x3791e1(0x1d6)]&&(_0x5cef88[_0x3791e1(0x1d6)]=this[_0x3791e1(0x1ca)](_0x5cef88[_0x3791e1(0x1d6)],_0x45e244));}[_0x3f8f65(0x157)](_0x22b046,_0x14d01a){const _0x217aa1=_0x3f8f65;return new _0x3699d3(_0x14d01a,_0x22b046[_0x217aa1(0x1b5)]);}[_0x3f8f65(0x1ca)](_0x5c9e01,_0x3587bc){const _0x2fd060=_0x3f8f65;return new _0x5b06c2(this[_0x2fd060(0x157)](_0x5c9e01[_0x2fd060(0x18a)],_0x3587bc),this[_0x2fd060(0x157)](_0x5c9e01[_0x2fd060(0x112)],_0x3587bc));}[_0x3f8f65(0x1cd)](_0xef11bd,_0x5224e7,_0x1f165c){return new _0x3699d3(_0x1f165c,[..._0x5224e7]);}[_0x3f8f65(0x19f)](_0x2f8695,_0x492aa5,_0x36358f,_0x29ed9e){const _0x220f6d=_0x3f8f65;return new _0x5b06c2(this[_0x220f6d(0x1cd)](_0x2f8695[_0x220f6d(0x18a)],_0x492aa5,_0x29ed9e),this[_0x220f6d(0x1cd)](_0x2f8695[_0x220f6d(0x112)],_0x36358f,_0x29ed9e));}[_0x3f8f65(0x1cc)](_0x354101){const _0x5ef604=_0x3f8f65;let _0x3f822b=_0x354101;for(;_0x3f822b[_0x5ef604(0x185)]&&!_0x3f822b[_0x5ef604(0x185)]['is'](_0x5ef604(0x154));)_0x3f822b=_0x3f822b[_0x5ef604(0x185)];return _0x3f822b;}[_0x3f8f65(0x19b)](_0xc273c7){const _0x21588f=_0x3f8f65,_0x1e80f6=_0x35a36e=>{const _0x4582b5=_0x36ec;switch(_0x35a36e){case _0x4582b5(0x113):return 0x1;case _0x4582b5(0x122):return 0x2;case _0x4582b5(0x1cb):return 0x3;case _0x4582b5(0x1c7):return 0x4;}};return _0xc273c7[_0x21588f(0x1bb)]((_0x16fd3f,_0x564ff5)=>_0x1e80f6(_0x16fd3f[_0x21588f(0x162)])-_0x1e80f6(_0x564ff5[_0x21588f(0x162)]));}}
23
+ const _0x55731f=_0x43ee;(function(_0x5a2f70,_0x4ceed5){const _0x44c21e=_0x43ee,_0x2d9126=_0x5a2f70();while(!![]){try{const _0x3ecc0f=-parseInt(_0x44c21e(0x2b1))/0x1*(-parseInt(_0x44c21e(0x2a5))/0x2)+parseInt(_0x44c21e(0x219))/0x3+parseInt(_0x44c21e(0x1da))/0x4+-parseInt(_0x44c21e(0x236))/0x5*(-parseInt(_0x44c21e(0x2af))/0x6)+-parseInt(_0x44c21e(0x273))/0x7*(-parseInt(_0x44c21e(0x1e3))/0x8)+parseInt(_0x44c21e(0x267))/0x9*(parseInt(_0x44c21e(0x2a3))/0xa)+-parseInt(_0x44c21e(0x27f))/0xb;if(_0x3ecc0f===_0x4ceed5)break;else _0x2d9126['push'](_0x2d9126['shift']());}catch(_0x48c5bc){_0x2d9126['push'](_0x2d9126['shift']());}}}(_0x541a,0x34ac7));function _0x43ee(_0xc5d033,_0x5a4f3e){const _0x541a03=_0x541a();return _0x43ee=function(_0x43ee4a,_0x5c77da){_0x43ee4a=_0x43ee4a-0x1da;let _0x542831=_0x541a03[_0x43ee4a];return _0x542831;},_0x43ee(_0xc5d033,_0x5a4f3e);}import{InsertOperation as _0x459e73,MarkerOperation as _0x43aad1,ModelDocumentFragment as _0x41dfcc,ModelPosition as _0x450e8b,ModelRange as _0x4bb759,ModelTreeWalker as _0x1d9402,transformOperationSets as _0x441e2f}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x153a02,EmitterMixin as _0xa0eb5e}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x3aa7ea}from'ckeditor5/src/core.js';import{DocumentCompare as _0x4b153b,DATA_ID_MODEL_ATTRIBUTE as _0x31e03e,DATA_ID_VIEW_ATTRIBUTE as _0x5dfe40}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x47fe83}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x3f2875}from'../aicore/aiediting.js';function _0x541a(){const _0x596f28=['baseVersion','288573RswVuR','remove-only','version','1467412kYpYVZ','getOperations','history','requires','AIEditing','_createGetContextFn','afterInit','keys','getPath','2518616ALaukK','createPositionAfter','stringify','backward','createRawElement','[data-id=\x22','createRange','_removeChildren','getAttribute','text','getShiftedBy','AIReviewModeEditing','clearAllMarkers','disableReadOnlyMode','set','_getOperationStart','isInline','dataDowncast','getDomRoot','applyOperation','_domEmitter','insert','exec','_shiftOperation','path','groupId','suggestion:insertion:id:authorId:','markerToElement','conversion','position','jumpTo','_changeRangeOwnerDocument','isAtEnd','span','markerName','_setAttribute','outerHTML','innerHTML','isDocumentOperation','ck-ai_review-mode-marker_underline','remove-context','querySelector','markChangePositionInEditorContent','type','plugins','operationsA','howMany','target','every','_insertMarkers','includes','offset','parentElement','getChildren','946794GHRxXy','schema','_getChangeContext','$markedRemove','ck-ai_review-mode-marker_add','_changePosition','change','warn','fire','applyChange','affectsData','document','_changeOperationOwnerDocument','markers','_findMarkerElement','_sortMarkers','element','toView','downcast','isOfficialPlugin','getContentElement','pluginName','getRoot','for','sort','className','clear','getRoots','getRange','1030475XJSoDx','isTouching','_createGetContentFn','_translateOperationToEditorContent','[data-marker-id=\x22','add','newRange','hasContentAfter','ai-review-mode','end','concat','_appendChild','split','ck-ai_review-mode-marker_','from','suggestion:deletion:id:authorId:','createUIElement','filter','getMarkerElementForChange','oldRange','remove-text','get','ck-ai_review-mode-marker_context-','_clone','enableReadOnlyMode','pop','values','operationsIsolated','parse','attributeToAttribute','getDocumentData','createDocumentFragment','name','getDiff','changeMarkerClick','createSelection','$textProxy','ck-ai_review-mode-marker_strikethrough','processor','childCount','context','htmlWriter','push','markerToHighlight','htmlProcessor','_getMarkersDataForGroup','hasContentBefore','switchToEdit','isAtStart','820467HDTUDf','start','_nextDataId','offsetSize','_createGetContentUsingDataIdFn','ellipsisBefore','addMarker','ellipsisAfter','index','marker','switchToReadOnly','length','7WKEYie','clone','data-marker-id','documentFragment','flat','data','elements','deleteContent','reviewmode-','DocumentCompare','ck-ai_review-mode-marker_hide','$documentFragment','18049317fpbNdd','toData','editingDowncast','click','suggestion-context','caption','addOperation','_findAdjacentContextDistance','isPremiumPlugin','_changePositionOwnerDocument','isOpening','startsWith','_markers','getChild','editing','map','ck-ai_review-mode-marker_context-end','_groupAdjacentOperations','append','No\x20element\x20found\x20for\x20ID:\x20','model:$text','removeMarker','_changeRange','emitter','diffContent','getHtml','view','domConverter','createPositionAt','delete','forward','rejectChange','insertContent','toDomElement','model','listenTo','40HYGBTm','hasClass','2dGrrTT','createText','_getTopElement','viewToDom','_eventEmitter','nodes','_getOperationEnd','batch','parent','ck-ai_review-mode-marker_context-start','6ffOCek'];_0x541a=function(){return _0x596f28;};return _0x541a();}const se=_0x55731f(0x27b);export class AIReviewModeEditing extends _0x3aa7ea{static get[_0x55731f(0x22e)](){const _0x4f71bc=_0x55731f;return _0x4f71bc(0x1ee);}static get[_0x55731f(0x1dd)](){return[_0x4b153b,_0x3f2875];}static get[_0x55731f(0x22c)](){return!0x0;}static get[_0x55731f(0x287)](){return!0x0;}[_0x55731f(0x28b)]=new Map();[_0x55731f(0x1f7)];[_0x55731f(0x2a9)];constructor(_0x4e6e76){const _0x6ec838=_0x55731f;super(_0x4e6e76),this[_0x6ec838(0x1f7)]=new(_0x153a02())(),this[_0x6ec838(0x2a9)]=new(_0xa0eb5e())();}get[_0x55731f(0x296)](){const _0x1e05b9=_0x55731f;return this[_0x1e05b9(0x2a9)];}[_0x55731f(0x1e0)](){const _0x483696=_0x55731f,_0x3f4c77=_0x47fe83(this[_0x483696(0x25e)]);_0x3f4c77[_0x483696(0x1ff)][_0x483696(0x230)](_0x483696(0x281))[_0x483696(0x1fe)]({'model':se+_0x483696(0x1f8),'view':(_0x401b0a,{writer:_0x52f43a})=>{const _0x5b5a60=_0x483696,_0xdab9e0=this[_0x5b5a60(0x28b)][_0x5b5a60(0x24b)](_0x401b0a[_0x5b5a60(0x205)]),_0x125272={'class':_0x5b5a60(0x21d),'data-marker-id':_0x401b0a[_0x5b5a60(0x205)]};return _0x52f43a[_0x5b5a60(0x246)](_0x5b5a60(0x204),_0x125272,function(_0x58d10d){const _0x3e3462=_0x5b5a60,_0xc1a477=this[_0x3e3462(0x2a0)](_0x58d10d);return _0xc1a477[_0x3e3462(0x208)]=_0xdab9e0?.[_0x3e3462(0x1ec)]||'',_0xc1a477;});}}),_0x3f4c77[_0x483696(0x1ff)][_0x483696(0x230)](_0x483696(0x281))[_0x483696(0x261)]({'model':se+_0x483696(0x2b2),'view':_0x404ab7=>({'classes':_0x483696(0x25b),'attributes':{'data-marker-id':_0x404ab7[_0x483696(0x205)]}})}),_0x3f4c77[_0x483696(0x1ff)][_0x483696(0x230)](_0x483696(0x281))[_0x483696(0x261)]({'model':se+_0x483696(0x20b),'view':_0x1a2769=>({'classes':_0x483696(0x20a),'attributes':{'data-marker-id':_0x1a2769[_0x483696(0x205)]}})}),_0x3f4c77[_0x483696(0x1ff)][_0x483696(0x230)](_0x483696(0x281))[_0x483696(0x261)]({'model':se+_0x483696(0x24a),'view':_0x23ba92=>({'classes':_0x483696(0x27d),'attributes':{'data-marker-id':_0x23ba92[_0x483696(0x205)]}})}),_0x3f4c77[_0x483696(0x1ff)][_0x483696(0x230)](_0x483696(0x1f4))[_0x483696(0x1fe)]({'model':se+_0x483696(0x283),'view':(_0x61b99d,{writer:_0x59592e})=>_0x59592e[_0x483696(0x1e7)](_0x483696(0x204),{'class':_0x483696(0x24c)+(_0x61b99d[_0x483696(0x289)]?_0x483696(0x268):_0x483696(0x23f))})}),_0x3f4c77[_0x483696(0x1ff)][_0x483696(0x230)](_0x483696(0x22b))[_0x483696(0x253)]({'model':_0x31e03e,'view':_0x5dfe40}),this[_0x483696(0x1f7)][_0x483696(0x2a2)](document,_0x483696(0x282),(_0x3a0a24,_0x59172f)=>{const _0x40d9da=_0x483696,_0x2e29cc=_0x59172f[_0x40d9da(0x212)],_0x3e1662=this[_0x40d9da(0x227)](_0x2e29cc);if(!_0x3e1662)return;const _0x452f15=_0x3e1662[_0x40d9da(0x1eb)](_0x40d9da(0x275)),_0x30e7ae=_0x452f15[_0x40d9da(0x242)](':')[_0x40d9da(0x24f)]()?.[_0x40d9da(0x242)]('_')[0x0];this[_0x40d9da(0x2a9)][_0x40d9da(0x221)](_0x40d9da(0x258),{'markerId':_0x452f15,'changeId':_0x30e7ae});});}[_0x55731f(0x254)](){const _0x310222=_0x55731f,_0xaa642d=this[_0x310222(0x25e)][_0x310222(0x20f)][_0x310222(0x24b)](_0x310222(0x1de)),_0x6fabf1=_0x47fe83(this[_0x310222(0x25e)]),_0x2a287e=_0x6fabf1[_0x310222(0x2a1)],_0x4e48c9=new _0x41dfcc();for(const _0x825996 of _0x2a287e[_0x310222(0x224)][_0x310222(0x22f)]()[_0x310222(0x218)]()){const _0x3041f8=_0x825996[_0x310222(0x24d)](!0x0);_0x4e48c9[_0x310222(0x241)](_0x3041f8);}for(const _0x1d6de9 of _0x2a287e[_0x310222(0x226)])_0x4e48c9[_0x310222(0x226)][_0x310222(0x1f1)](_0x1d6de9[_0x310222(0x256)],this[_0x310222(0x202)](_0x1d6de9[_0x310222(0x235)]()[_0x310222(0x274)](),_0x4e48c9));const _0x1f96de=new _0x1d9402({'ignoreElementEnd':!0x0,'startPosition':_0x2a287e[_0x310222(0x29b)](_0x4e48c9,0x0)}),_0xfd99d5=new Set(),_0x4df985=new Map();for(const {item:_0x5a1a6d}of _0x1f96de){if(!_0x5a1a6d['is'](_0x310222(0x25a)))continue;const _0x319695=_0x5a1a6d[_0x310222(0x2ad)];if((!_0x319695||!_0x319695['is'](_0x310222(0x229),_0x310222(0x284)))&&(_0x319695&&_0x319695['is'](_0x310222(0x229)))){let _0x3ebfaa=_0x319695[_0x310222(0x1eb)](_0x31e03e);_0x3ebfaa||(_0x3ebfaa=_0xaa642d[_0x310222(0x269)](_0xfd99d5),_0x319695[_0x310222(0x206)](_0x31e03e,_0x3ebfaa)),_0xfd99d5[_0x310222(0x23b)](_0x3ebfaa);const _0x567883=this[_0x310222(0x2a7)](_0x319695);_0x4df985[_0x310222(0x1f1)](_0x3ebfaa,{'path':_0x319695[_0x310222(0x1e2)](),'getContent':this[_0x310222(0x26b)](_0x567883[_0x310222(0x24d)](!0x0),_0x3ebfaa,_0x6fabf1[_0x310222(0x278)])}),_0x1f96de[_0x310222(0x201)](_0x2a287e[_0x310222(0x1e4)](_0x319695));}}return{'content':_0x6fabf1[_0x310222(0x278)][_0x310222(0x25c)][_0x310222(0x280)](_0x6fabf1[_0x310222(0x278)][_0x310222(0x22a)](_0x4e48c9)),'version':_0x6fabf1[_0x310222(0x2a1)][_0x310222(0x224)][_0x310222(0x2b3)],'elements':_0x4df985};}[_0x55731f(0x297)](_0x1f1f3d,_0x49ea61){const _0x2587ed=_0x55731f,_0x1f1494=_0x47fe83(this[_0x2587ed(0x25e)]),_0x64aaa4=_0x1f1494[_0x2587ed(0x278)][_0x2587ed(0x252)](_0x1f1f3d,_0x2587ed(0x27e)),_0x39fde8=_0x1f1494[_0x2587ed(0x2a1)][_0x2587ed(0x29b)](_0x64aaa4,0x0),_0x5c0de5=this[_0x2587ed(0x25e)][_0x2587ed(0x20f)][_0x2587ed(0x24b)](_0x2587ed(0x27c))[_0x2587ed(0x257)](_0x1f1f3d,_0x49ea61,{'anchor':_0x39fde8,'markDeletions':!0x0})[_0x2587ed(0x1db)]()[_0x2587ed(0x247)](_0x269a90=>_0x2587ed(0x1f8)===_0x269a90[_0x2587ed(0x20e)]||_0x2587ed(0x270)===_0x269a90[_0x2587ed(0x20e)]&&_0x269a90[_0x2587ed(0x256)][_0x2587ed(0x28a)](_0x2587ed(0x21c))),_0x33e8a3=this[_0x2587ed(0x290)](_0x5c0de5),_0x1e4fd4=[];let _0x3d392b=0x0;return _0x1f1494[_0x2587ed(0x2a1)][_0x2587ed(0x21f)](_0x33531a=>{const _0x1a570c=_0x2587ed;for(let _0x214027=0x0;_0x214027<_0x33e8a3[_0x1a570c(0x272)];_0x214027++){const _0x32ed9c=_0x33e8a3[_0x214027],_0x4e65e5=_0x33531a[_0x1a570c(0x255)]();for(const _0x26e028 of _0x64aaa4[_0x1a570c(0x218)]())_0x33531a[_0x1a570c(0x291)](_0x26e028[_0x1a570c(0x24d)](!0x0),_0x4e65e5);for(const _0x38c1c3 of _0x32ed9c[_0x1a570c(0x251)])if(_0x1a570c(0x1f8)===_0x38c1c3[_0x1a570c(0x20e)]){const _0x38760d=_0x38c1c3;_0x38760d[_0x1a570c(0x2b0)]=null,_0x38760d[_0x1a570c(0x209)]=!0x1,this[_0x1a570c(0x225)](_0x38760d,_0x4e65e5),_0x33531a[_0x1a570c(0x2ac)][_0x1a570c(0x285)](_0x38c1c3),_0x1f1494[_0x1a570c(0x2a1)][_0x1a570c(0x1f6)](_0x38c1c3);const _0x3396d1=_0x1a570c(0x1fd)+_0x3d392b++,_0x4960b7=_0x1f1494[_0x1a570c(0x2a1)][_0x1a570c(0x1e9)](_0x38760d[_0x1a570c(0x200)],_0x38760d[_0x1a570c(0x200)][_0x1a570c(0x1ed)](_0x38760d[_0x1a570c(0x211)]));_0x4e65e5[_0x1a570c(0x226)][_0x1a570c(0x1f1)](_0x3396d1,_0x4960b7);}else{if(_0x1a570c(0x270)===_0x38c1c3[_0x1a570c(0x20e)]&&_0x38c1c3[_0x1a570c(0x256)][_0x1a570c(0x28a)](_0x1a570c(0x21c))){const _0x384053=_0x38c1c3,_0x25e31d=_0x1a570c(0x245)+_0x3d392b++;this[_0x1a570c(0x225)](_0x384053,_0x4e65e5),_0x4e65e5[_0x1a570c(0x226)][_0x1a570c(0x1f1)](_0x25e31d,_0x384053[_0x1a570c(0x23c)]);}}const _0x5579f3=this[_0x1a570c(0x21b)](this[_0x1a570c(0x288)](this[_0x1a570c(0x1f2)](_0x32ed9c[_0x1a570c(0x251)][0x0]),_0x4e65e5),this[_0x1a570c(0x288)](this[_0x1a570c(0x2ab)](_0x32ed9c[_0x1a570c(0x251)][_0x32ed9c[_0x1a570c(0x251)][_0x1a570c(0x272)]-0x1]),_0x4e65e5));_0x4e65e5[_0x1a570c(0x226)][_0x1a570c(0x1f1)](se+_0x1a570c(0x283),new _0x4bb759(_0x5579f3[_0x1a570c(0x268)],_0x5579f3[_0x1a570c(0x23f)])),_0x1e4fd4[_0x1a570c(0x260)]({..._0x32ed9c,'context':this[_0x1a570c(0x1df)](_0x4e65e5,_0x1f1494[_0x1a570c(0x278)],{'ellipsisBefore':_0x5579f3[_0x1a570c(0x264)],'ellipsisAfter':_0x5579f3[_0x1a570c(0x23d)]}),'content':this[_0x1a570c(0x238)](_0x4e65e5,_0x1f1494[_0x1a570c(0x278)])});}}),_0x1e4fd4;}[_0x55731f(0x20d)](_0x6cb467,_0x3ba830){const _0x282a19=_0x55731f,_0x2729e6=_0x6cb467[0x0][_0x282a19(0x2ad)]['id'],_0x2f3536=_0x3ba830[_0x282a19(0x279)][_0x282a19(0x24b)](_0x2729e6);if(!_0x2f3536)return void console[_0x282a19(0x220)](_0x282a19(0x292)+_0x2729e6);const _0x5003ab=_0x2f3536[_0x282a19(0x1fb)],_0xfdf08a=_0x47fe83(this[_0x282a19(0x25e)]),_0x5ef8e7=_0xfdf08a[_0x282a19(0x2a1)][_0x282a19(0x224)][_0x282a19(0x1dc)][_0x282a19(0x1db)](_0x3ba830[_0x282a19(0x2b3)]),_0xbfa3e8=[];for(const _0x458b5f of _0x6cb467){const _0x5ba02d=_0x458b5f[_0x282a19(0x251)][_0x282a19(0x28e)](_0x1803ad=>this[_0x282a19(0x239)](_0x1803ad,_0x5003ab,_0xfdf08a[_0x282a19(0x2a1)][_0x282a19(0x224)][_0x282a19(0x234)]()[0x0]));if(!_0x5ba02d||!_0x5ba02d[_0x282a19(0x272)])continue;const _0x41a2c4=_0x5ba02d[_0x282a19(0x213)](_0x402db5=>_0x282a19(0x270)===_0x402db5[_0x282a19(0x20e)]&&_0x402db5[_0x282a19(0x256)][_0x282a19(0x28a)](_0x282a19(0x21c))),_0x47bfe7={'document':_0xfdf08a[_0x282a19(0x2a1)][_0x282a19(0x224)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x2e4886=_0x441e2f(_0x5ba02d,_0x5ef8e7,_0x47bfe7)[_0x282a19(0x210)];for(const _0x1e1eee of _0x2e4886)if(_0x282a19(0x1f8)===_0x1e1eee[_0x282a19(0x20e)]){const _0x13c06e=_0x1e1eee,_0x4defac=_0x13c06e[_0x282a19(0x2aa)];let _0x571045='';for(const _0x26c160 of _0x4defac)_0x26c160&&_0x26c160['is'](_0x282a19(0x293))&&(_0x571045+=_0x26c160[_0x282a19(0x278)]);_0xbfa3e8[_0x282a19(0x260)]({'start':_0x13c06e[_0x282a19(0x200)],'end':_0x13c06e[_0x282a19(0x200)],'type':_0x282a19(0x1f8),'groupId':_0x458b5f['id'],'text':_0x571045});}else{if(_0x282a19(0x270)===_0x1e1eee[_0x282a19(0x20e)]&&_0x1e1eee[_0x282a19(0x256)][_0x282a19(0x28a)](_0x282a19(0x21c))){const _0x175ce4=_0x1e1eee;let _0xc15c64=_0x282a19(0x24a);if(_0x41a2c4){const _0x449f03=this[_0x282a19(0x286)](_0x175ce4[_0x282a19(0x23c)][_0x282a19(0x268)],_0x282a19(0x1e6),_0xfdf08a[_0x282a19(0x2a1)][_0x282a19(0x21a)]),_0x52ff54=this[_0x282a19(0x286)](_0x175ce4[_0x282a19(0x23c)][_0x282a19(0x23f)],_0x282a19(0x29d),_0xfdf08a[_0x282a19(0x2a1)][_0x282a19(0x21a)]);if(_0x449f03||_0x52ff54){const _0x12ceb7=_0x175ce4[_0x282a19(0x23c)][_0x282a19(0x268)][_0x282a19(0x1ed)](-_0x449f03),_0x41563b=_0x175ce4[_0x282a19(0x23c)][_0x282a19(0x23f)][_0x282a19(0x1ed)](_0x52ff54);_0xbfa3e8[_0x282a19(0x260)]({'start':_0x12ceb7,'end':_0x41563b,'groupId':_0x458b5f['id'],'type':_0x282a19(0x20b)});}else _0xc15c64=_0x282a19(0x2b2);}_0xbfa3e8[_0x282a19(0x260)]({'start':_0x175ce4[_0x282a19(0x23c)][_0x282a19(0x268)],'end':_0x175ce4[_0x282a19(0x23c)][_0x282a19(0x23f)],'groupId':_0x458b5f['id'],'type':_0xc15c64});}}}this[_0x282a19(0x214)](_0xbfa3e8);}[_0x55731f(0x1ef)](){const _0x216b27=_0x55731f;_0x47fe83(this[_0x216b27(0x25e)])[_0x216b27(0x2a1)][_0x216b27(0x21f)](_0x3b6ed2=>{const _0x4410a4=_0x216b27;for(const _0x41fd9d of this[_0x4410a4(0x28b)][_0x4410a4(0x1e1)]())_0x3b6ed2[_0x4410a4(0x294)](_0x41fd9d);}),this[_0x216b27(0x28b)][_0x216b27(0x233)]();}[_0x55731f(0x271)](){const _0x2b63ef=_0x55731f;_0x47fe83(this[_0x2b63ef(0x25e)])[_0x2b63ef(0x24e)](_0x2b63ef(0x23e));}[_0x55731f(0x265)](){const _0x58066e=_0x55731f;_0x47fe83(this[_0x58066e(0x25e)])[_0x58066e(0x1f0)](_0x58066e(0x23e));}[_0x55731f(0x222)](_0x532100){const _0x1a640d=_0x55731f,_0x15f3e5=_0x47fe83(this[_0x1a640d(0x25e)]),_0x27a18a=_0x15f3e5[_0x1a640d(0x2a1)],_0x5be9d3=_0x532100[_0x1a640d(0x28e)](_0x304dda=>this[_0x1a640d(0x263)](_0x304dda))[_0x1a640d(0x277)]();_0x27a18a[_0x1a640d(0x21f)](_0x293c2c=>{const _0x1d0dc4=_0x1a640d;for(const _0x550fb1 of _0x5be9d3){const _0x34549d=_0x15f3e5[_0x1d0dc4(0x2a1)][_0x1d0dc4(0x226)][_0x1d0dc4(0x24b)](_0x550fb1['id']);_0x34549d&&(_0x1d0dc4(0x1f8)===_0x550fb1[_0x1d0dc4(0x20e)]?_0x27a18a[_0x1d0dc4(0x29f)](_0x293c2c[_0x1d0dc4(0x2a6)](_0x550fb1[_0x1d0dc4(0x1ec)]||''),_0x34549d[_0x1d0dc4(0x235)]()[_0x1d0dc4(0x268)]):_0x1d0dc4(0x24a)!==_0x550fb1[_0x1d0dc4(0x20e)]&&_0x1d0dc4(0x2b2)!==_0x550fb1[_0x1d0dc4(0x20e)]||_0x27a18a[_0x1d0dc4(0x27a)](_0x27a18a[_0x1d0dc4(0x259)](_0x34549d[_0x1d0dc4(0x235)]())),_0x293c2c[_0x1d0dc4(0x294)](_0x550fb1['id']),this[_0x1d0dc4(0x28b)][_0x1d0dc4(0x29c)](_0x550fb1['id']));}});}[_0x55731f(0x29e)](_0xa82a5b){const _0x31f272=_0x55731f,_0x491c23=_0x47fe83(this[_0x31f272(0x25e)]),_0x294d27=this[_0x31f272(0x263)](_0xa82a5b);_0x491c23[_0x31f272(0x2a1)][_0x31f272(0x21f)](_0x3c2a2e=>{const _0x50e255=_0x31f272;for(const _0x3bc8b9 of _0x294d27)_0x3c2a2e[_0x50e255(0x294)](_0x3bc8b9['id']),this[_0x50e255(0x28b)][_0x50e255(0x29c)](_0x3bc8b9['id']);});}[_0x55731f(0x22d)](){const _0xef8917=_0x55731f,_0x23c6d1=_0x47fe83(this[_0xef8917(0x25e)]);return _0x23c6d1&&_0x23c6d1['ui']&&_0x23c6d1['ui'][_0xef8917(0x229)]?_0x23c6d1['ui'][_0xef8917(0x229)]:null;}[_0x55731f(0x248)](_0x12c0cf){const _0xdaa3de=_0x55731f,_0x59c7e0=Array[_0xdaa3de(0x244)](this[_0xdaa3de(0x28b)][_0xdaa3de(0x250)]())[_0xdaa3de(0x247)](_0x1d2143=>_0x1d2143[_0xdaa3de(0x1fc)]===_0x12c0cf);if(!_0x59c7e0[_0xdaa3de(0x272)])return null;const _0x4bb57a=0x1===_0x59c7e0[_0xdaa3de(0x272)]?_0x59c7e0[0x0]:this[_0xdaa3de(0x228)](_0x59c7e0)[0x0],_0x17e325=_0x47fe83(this[_0xdaa3de(0x25e)]),_0x555aea=_0x17e325[_0xdaa3de(0x2a1)][_0xdaa3de(0x226)][_0xdaa3de(0x24b)](_0x4bb57a['id']);if(!_0x555aea)return null;const _0x550223=_0x555aea[_0xdaa3de(0x235)](),_0x2c5697=_0x17e325[_0xdaa3de(0x28d)][_0xdaa3de(0x299)][_0xdaa3de(0x1f5)]();if(!_0x2c5697||!_0x550223)return null;const _0x1b8895=_0x2c5697[_0xdaa3de(0x20c)](_0xdaa3de(0x23a)+_0x4bb57a['id']+'\x22]');return _0x1b8895?{'modelRange':_0x550223,'domElement':_0x1b8895}:null;}[_0x55731f(0x239)](_0x1dd8b0,_0x5cc80f,_0x414b6c){const _0x52c769=_0x55731f;if(_0x52c769(0x1f8)===_0x1dd8b0[_0x52c769(0x20e)]){const _0x333d80=_0x1dd8b0;return new _0x459e73(this[_0x52c769(0x21e)](_0x333d80[_0x52c769(0x200)],_0x5cc80f[_0x52c769(0x240)](_0x333d80[_0x52c769(0x200)][_0x52c769(0x216)]),_0x414b6c),_0x333d80[_0x52c769(0x2aa)],_0x333d80[_0x52c769(0x2b0)]);}if(_0x52c769(0x270)===_0x1dd8b0[_0x52c769(0x20e)]&&_0x1dd8b0[_0x52c769(0x256)][_0x52c769(0x28a)](_0x52c769(0x21c))){const _0x35679e=_0x1dd8b0;return new _0x43aad1(_0x35679e[_0x52c769(0x256)],_0x35679e[_0x52c769(0x249)],this[_0x52c769(0x295)](_0x35679e[_0x52c769(0x23c)],_0x5cc80f[_0x52c769(0x240)](_0x35679e[_0x52c769(0x23c)][_0x52c769(0x268)][_0x52c769(0x216)]),_0x5cc80f[_0x52c769(0x240)](_0x35679e[_0x52c769(0x23c)][_0x52c769(0x23f)][_0x52c769(0x216)]),_0x414b6c),_0x35679e[_0x52c769(0x28b)],_0x35679e[_0x52c769(0x223)],_0x35679e[_0x52c769(0x2b0)]);}return _0x1dd8b0;}[_0x55731f(0x290)](_0x1a6705){const _0x5b3f48=_0x55731f;if(!_0x1a6705[_0x5b3f48(0x272)])return[];const _0x1dfaf5=[];let _0x567daa=0x0,_0x335505=0x0,_0x25d606=[];for(let _0x1cffc4=0x0;_0x1cffc4<=_0x1a6705[_0x5b3f48(0x272)];_0x1cffc4++){const _0x4bf508=_0x1a6705[_0x1cffc4],_0x4f9f96=_0x1a6705[_0x1cffc4-0x1];!_0x4bf508||_0x4f9f96&&!this[_0x5b3f48(0x2ab)](_0x4f9f96)[_0x5b3f48(0x237)](this[_0x5b3f48(0x1f2)](_0x4bf508))?(_0x1dfaf5[_0x5b3f48(0x260)]({'operations':_0x25d606,'operationsIsolated':_0x25d606[_0x5b3f48(0x28e)](_0x2538dc=>this[_0x5b3f48(0x1fa)](_0x2538dc[_0x5b3f48(0x274)](),-_0x335505)),'groupOffset':_0x567daa}),_0x25d606=_0x4bf508?[_0x4bf508]:[],_0x335505+=_0x567daa,_0x567daa=0x0):_0x25d606[_0x5b3f48(0x260)](_0x4bf508),_0x4bf508&&_0x5b3f48(0x1f8)===_0x4bf508[_0x5b3f48(0x20e)]&&(_0x567daa+=_0x4bf508[_0x5b3f48(0x211)]);}return _0x1dfaf5;}[_0x55731f(0x286)](_0x18a5e3,_0x8dd133,_0x33ab29,_0x395344=0x1){const _0x15821d=_0x55731f,_0x16e788=new _0x1d9402({'startPosition':_0x18a5e3,'direction':_0x8dd133});let _0x5390d8=0x0;for(let _0x4e6c43=0x0;_0x4e6c43<_0x395344;_0x4e6c43++){let _0x4b9396=0x0,_0x5e4319=!0x1,_0x148b27=_0x15821d(0x29d)===_0x8dd133?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x4252c5}of _0x16e788)if(_0x4252c5['is'](_0x15821d(0x25a))){const _0x2cc059=_0x148b27[_0x15821d(0x1f9)](_0x4252c5[_0x15821d(0x278)]);if(_0x2cc059&&_0x2cc059[_0x15821d(0x272)]){if(_0x4b9396+=_0x15821d(0x29d)===_0x8dd133?_0x2cc059[_0x15821d(0x26f)]+_0x2cc059[0x0][_0x15821d(0x272)]:_0x4252c5[_0x15821d(0x278)][_0x15821d(0x272)]-_0x2cc059[_0x15821d(0x26f)],_0x2cc059[0x0][_0x15821d(0x272)]!==_0x4252c5[_0x15821d(0x278)][_0x15821d(0x272)])break;_0x5e4319=!0x0,_0x148b27=_0x15821d(0x29d)===_0x8dd133?/^\w+/:/\w+$/;}else{if(_0x5e4319)break;_0x4b9396+=_0x4252c5[_0x15821d(0x26a)];}}else{if(_0x4252c5['is'](_0x15821d(0x229))){_0x33ab29[_0x15821d(0x1f3)](_0x4252c5)&&!_0x5e4319&&(_0x4b9396+=0x1);break;}}_0x5390d8+=_0x4b9396,_0x16e788[_0x15821d(0x201)](_0x18a5e3[_0x15821d(0x1ed)](_0x15821d(0x29d)===_0x8dd133?_0x5390d8:-_0x5390d8));}return _0x5390d8;}[_0x55731f(0x21b)](_0x5bf87b,_0x36fbb3){const _0x58150f=_0x55731f,_0x51b600=_0x47fe83(this[_0x58150f(0x25e)])[_0x58150f(0x2a1)][_0x58150f(0x21a)],_0x1d380a=this[_0x58150f(0x286)](_0x5bf87b,_0x58150f(0x1e6),_0x51b600,0x6),_0x3a6140=this[_0x58150f(0x286)](_0x36fbb3,_0x58150f(0x29d),_0x51b600,0x6),_0x28cabc=_0x5bf87b[_0x58150f(0x1ed)](-_0x1d380a),_0x447d04=_0x36fbb3[_0x58150f(0x1ed)](_0x3a6140);return{'start':_0x28cabc,'end':_0x447d04,'hasContentBefore':!_0x28cabc[_0x58150f(0x266)],'hasContentAfter':!_0x447d04[_0x58150f(0x203)]};}[_0x55731f(0x214)](_0x35efe6){const _0x1e4be1=_0x55731f,_0x3f5fb0=this[_0x1e4be1(0x25e)][_0x1e4be1(0x20f)][_0x1e4be1(0x24b)](_0x1e4be1(0x1de)),_0x23dbbd=new Set();_0x47fe83(this[_0x1e4be1(0x25e)])[_0x1e4be1(0x2a1)][_0x1e4be1(0x21f)](_0x8d290c=>{const _0x5506ae=_0x1e4be1;for(const _0x3535ce of _0x35efe6){const _0x3f47b5=''+se+_0x3535ce[_0x5506ae(0x20e)]+':'+_0x3535ce[_0x5506ae(0x1fc)]+'_'+_0x3f5fb0[_0x5506ae(0x269)](_0x23dbbd);this[_0x5506ae(0x28b)][_0x5506ae(0x1f1)](_0x3f47b5,{'id':_0x3f47b5,'groupId':_0x3535ce[_0x5506ae(0x1fc)],'type':_0x3535ce[_0x5506ae(0x20e)],'text':_0x3535ce[_0x5506ae(0x1ec)]}),_0x8d290c[_0x5506ae(0x26d)](_0x3f47b5,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x8d290c[_0x5506ae(0x1e9)](_0x3535ce[_0x5506ae(0x268)],_0x3535ce[_0x5506ae(0x23f)])});}});}[_0x55731f(0x1df)](_0x21d7a8,_0x211b93,_0x198255){let _0x19ca7e='';return()=>{const _0x12db2f=_0x43ee;if(!_0x19ca7e){const _0x697ef0=_0x211b93[_0x12db2f(0x22a)](_0x21d7a8,{'showSuggestionHighlights':!0x0}),_0x1780d3=_0x697ef0[_0x12db2f(0x28c)](0x0);if(!_0x1780d3)return'';let _0x1b6a83=!0x1;const _0x51a5e8=[];for(const _0x135343 of _0x1780d3[_0x12db2f(0x218)]())_0x135343['is'](_0x12db2f(0x229),_0x12db2f(0x204))&&_0x135343[_0x12db2f(0x2a4)](_0x12db2f(0x28f))&&(_0x1b6a83=!0x1),_0x1b6a83&&_0x51a5e8[_0x12db2f(0x260)](_0x135343),_0x135343['is'](_0x12db2f(0x229),_0x12db2f(0x204))&&_0x135343[_0x12db2f(0x2a4)](_0x12db2f(0x2ae))&&(_0x1b6a83=!0x0);_0x1780d3[_0x12db2f(0x1ea)](0x0,_0x1780d3[_0x12db2f(0x25d)]),_0x198255?.[_0x12db2f(0x26c)]&&_0x1780d3[_0x12db2f(0x241)]('…'),_0x1780d3[_0x12db2f(0x241)](_0x51a5e8),_0x198255?.[_0x12db2f(0x26e)]&&_0x1780d3[_0x12db2f(0x241)]('…');const _0x175284=_0x211b93[_0x12db2f(0x262)][_0x12db2f(0x29a)][_0x12db2f(0x2a8)](_0x697ef0),_0x57e171=_0x211b93[_0x12db2f(0x262)][_0x12db2f(0x25f)][_0x12db2f(0x298)](_0x175284);_0x19ca7e=_0x57e171;}return _0x19ca7e;};}[_0x55731f(0x238)](_0x427dc5,_0x1768b4){const _0x5ef293=_0x55731f;let _0x471559='';return()=>(_0x471559||(_0x471559=_0x1768b4[_0x5ef293(0x1e5)](_0x427dc5,{'showSuggestionHighlights':!0x0})),_0x471559);}[_0x55731f(0x26b)](_0x40f423,_0x2443f5,_0x3d7bcd){let _0xf511ef='';return()=>{const _0x9466ae=_0x43ee;if(!_0xf511ef){const _0x121cc8=_0x3d7bcd[_0x9466ae(0x22a)](new _0x41dfcc(_0x40f423)),_0x17abae=_0x3d7bcd[_0x9466ae(0x262)][_0x9466ae(0x29a)][_0x9466ae(0x2a8)](_0x121cc8)[_0x9466ae(0x20c)](_0x9466ae(0x1e8)+_0x2443f5+'\x22]');_0xf511ef=_0x17abae?.[_0x9466ae(0x207)]||'';}return _0xf511ef;};}[_0x55731f(0x227)](_0x76343a,_0x1305b0=0x5){const _0x1cc24f=_0x55731f;let _0x43d6b1=_0x76343a,_0x55ef64=null;for(let _0x225723=0x0;_0x225723<_0x1305b0&&_0x43d6b1;_0x225723++){if(!_0x43d6b1[_0x1cc24f(0x232)]){_0x43d6b1=_0x43d6b1[_0x1cc24f(0x217)];continue;}if(!(''+_0x43d6b1[_0x1cc24f(0x232)])[_0x1cc24f(0x215)](_0x1cc24f(0x243))){_0x43d6b1=_0x43d6b1[_0x1cc24f(0x217)];continue;}if(!_0x43d6b1[_0x1cc24f(0x1eb)](_0x1cc24f(0x275)))break;_0x55ef64=_0x43d6b1;break;}return _0x55ef64;}[_0x55731f(0x263)](_0x435d36){const _0x2b7921=_0x55731f;return Array[_0x2b7921(0x244)](this[_0x2b7921(0x28b)][_0x2b7921(0x250)]())[_0x2b7921(0x247)](_0x77e47b=>_0x77e47b[_0x2b7921(0x1fc)]===_0x435d36);}[_0x55731f(0x1f2)](_0x43a44c){const _0x216425=_0x55731f;return _0x216425(0x1f8)===_0x43a44c[_0x216425(0x20e)]?_0x43a44c[_0x216425(0x200)]:_0x43a44c[_0x216425(0x23c)][_0x216425(0x268)];}[_0x55731f(0x2ab)](_0x14c0cd,_0x1b2290=!0x1){const _0x47669f=_0x55731f;return _0x47669f(0x1f8)===_0x14c0cd[_0x47669f(0x20e)]?_0x1b2290?_0x14c0cd[_0x47669f(0x200)]:_0x14c0cd[_0x47669f(0x200)][_0x47669f(0x1ed)](_0x14c0cd[_0x47669f(0x211)]):_0x14c0cd[_0x47669f(0x23c)][_0x47669f(0x23f)];}[_0x55731f(0x1fa)](_0x478cd0,_0x1518ca){const _0x46da0b=_0x55731f;return _0x46da0b(0x1f8)===_0x478cd0[_0x46da0b(0x20e)]?_0x478cd0[_0x46da0b(0x200)]=_0x478cd0[_0x46da0b(0x200)][_0x46da0b(0x1ed)](_0x1518ca):_0x46da0b(0x270)===_0x478cd0[_0x46da0b(0x20e)]&&_0x478cd0[_0x46da0b(0x23c)]&&(_0x478cd0[_0x46da0b(0x23c)]=new _0x4bb759(_0x478cd0[_0x46da0b(0x23c)][_0x46da0b(0x268)][_0x46da0b(0x1ed)](_0x1518ca),_0x478cd0[_0x46da0b(0x23c)][_0x46da0b(0x23f)][_0x46da0b(0x1ed)](_0x1518ca))),_0x478cd0;}[_0x55731f(0x225)](_0x794ee9,_0xe5e989){const _0xcb5ba3=_0x55731f;_0xcb5ba3(0x1f8)===_0x794ee9[_0xcb5ba3(0x20e)]?_0x794ee9[_0xcb5ba3(0x200)]=this[_0xcb5ba3(0x288)](_0x794ee9[_0xcb5ba3(0x200)],_0xe5e989):_0xcb5ba3(0x270)===_0x794ee9[_0xcb5ba3(0x20e)]&&_0x794ee9[_0xcb5ba3(0x23c)]&&(_0x794ee9[_0xcb5ba3(0x23c)]=this[_0xcb5ba3(0x202)](_0x794ee9[_0xcb5ba3(0x23c)],_0xe5e989));}[_0x55731f(0x288)](_0x3507c6,_0x3e5ed6){const _0x52ac50=_0x55731f;return new _0x450e8b(_0x3e5ed6,_0x3507c6[_0x52ac50(0x1fb)]);}[_0x55731f(0x202)](_0x57c149,_0xbb5242){const _0x45be9b=_0x55731f;return new _0x4bb759(this[_0x45be9b(0x288)](_0x57c149[_0x45be9b(0x268)],_0xbb5242),this[_0x45be9b(0x288)](_0x57c149[_0x45be9b(0x23f)],_0xbb5242));}[_0x55731f(0x21e)](_0x4183cb,_0x3d0eb3,_0x16bae9){return new _0x450e8b(_0x16bae9,[..._0x3d0eb3]);}[_0x55731f(0x295)](_0x391667,_0x308b28,_0x1b90e7,_0x10cbf7){const _0x2830b1=_0x55731f;return new _0x4bb759(this[_0x2830b1(0x21e)](_0x391667[_0x2830b1(0x268)],_0x308b28,_0x10cbf7),this[_0x2830b1(0x21e)](_0x391667[_0x2830b1(0x23f)],_0x1b90e7,_0x10cbf7));}[_0x55731f(0x2a7)](_0x1bf54b){const _0x45bb67=_0x55731f;let _0x5823be=_0x1bf54b;for(;_0x5823be[_0x45bb67(0x2ad)]&&!_0x5823be[_0x45bb67(0x2ad)]['is'](_0x45bb67(0x276));)_0x5823be=_0x5823be[_0x45bb67(0x2ad)];return _0x5823be;}[_0x55731f(0x228)](_0x5ac116){const _0x15a6de=_0x55731f,_0x471073=_0x13bc4b=>{const _0x507e8a=_0x43ee;switch(_0x13bc4b){case _0x507e8a(0x1f8):return 0x1;case _0x507e8a(0x20b):return 0x2;case _0x507e8a(0x2b2):return 0x3;case _0x507e8a(0x24a):return 0x4;}};return _0x5ac116[_0x15a6de(0x231)]((_0x3e38e7,_0x52b592)=>_0x471073(_0x3e38e7[_0x15a6de(0x20e)])-_0x471073(_0x52b592[_0x15a6de(0x20e)]));}}