@ckeditor/ckeditor5-ai 47.2.0-alpha.7 → 47.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/package.json +15 -15
  4. package/src/aiactions/aiactions.js +1 -1
  5. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  6. package/src/aiactions/model/aiactionsreply.js +1 -1
  7. package/src/aiassistant/adapters/aiadapter.js +1 -1
  8. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  9. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  10. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  11. package/src/aiassistant/aiassistant.js +1 -1
  12. package/src/aiassistant/aiassistantediting.js +1 -1
  13. package/src/aiassistant/aiassistantui.js +1 -1
  14. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  15. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  16. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  17. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  18. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  19. package/src/aiassistant/ui/form/aiformview.js +1 -1
  20. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  21. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  22. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  23. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  24. package/src/aiballoon/aiballoon.js +1 -1
  25. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  26. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  27. package/src/aiballoon/ui/aiballoonview.js +1 -1
  28. package/src/aichat/aichat.js +1 -1
  29. package/src/aichat/aichatcontroller.js +1 -1
  30. package/src/aichat/aichatui.js +1 -1
  31. package/src/aichat/model/aichatcontext.js +1 -1
  32. package/src/aichat/model/aichatconversation.js +1 -1
  33. package/src/aichat/model/aichatinteraction.js +1 -1
  34. package/src/aichat/model/aichatmodels.js +1 -1
  35. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  36. package/src/aichat/ui/aichatfeedview.js +1 -1
  37. package/src/aichat/ui/aichatheaderview.js +1 -1
  38. package/src/aichat/ui/aichatview.js +1 -1
  39. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  40. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  41. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  42. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  43. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  44. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  45. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  46. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  48. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  49. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  50. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  51. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  56. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  57. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  58. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  59. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  60. package/src/aichat/utils/eventnames.js +1 -1
  61. package/src/aichat/utils/promisequeue.js +1 -1
  62. package/src/aichathistory/aichathistory.js +1 -1
  63. package/src/aichathistory/aichathistorycontroller.js +1 -1
  64. package/src/aichathistory/aichathistoryui.js +1 -1
  65. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  66. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  67. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  68. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  69. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  70. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  71. package/src/aicore/aiconnector.js +1 -1
  72. package/src/aicore/aiediting.js +1 -1
  73. package/src/aicore/model/aicapabilities.js +1 -1
  74. package/src/aicore/model/aiinteraction.js +1 -1
  75. package/src/aicore/model/aimodels.js +1 -1
  76. package/src/aicore/model/aireply.js +1 -1
  77. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  78. package/src/aicore/pipeline/airesponseparser.js +2 -2
  79. package/src/aicore/ui/aidisclaimerview.js +1 -1
  80. package/src/aicore/ui/aiskeleton.js +1 -1
  81. package/src/aicore/ui/aispinner.js +1 -1
  82. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  83. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  84. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  85. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  86. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  87. package/src/aicore/utils/createresizebutton.js +1 -1
  88. package/src/aicore/utils/documentrange.js +1 -1
  89. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  90. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  91. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  92. package/src/aicore/utils/htmlparser.js +1 -1
  93. package/src/aicore/utils/htmlstreamer.js +1 -1
  94. package/src/aieditorintegration/aieditorintegration.js +1 -1
  95. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  96. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  97. package/src/aiquickactions/aiquickactions.js +1 -1
  98. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  99. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  100. package/src/aiquickactions/aiquickactionsui.js +1 -1
  101. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  102. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  103. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  104. package/src/aireviewmode/aireviewmode.js +1 -1
  105. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  106. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  107. package/src/aireviewmode/aireviewmodeui.js +1 -1
  108. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  109. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  110. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  111. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  112. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  113. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  114. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  115. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  116. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  117. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  118. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  119. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  120. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  121. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  122. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  123. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  124. package/src/aitabs/aitabs.js +1 -1
  125. package/src/aitabs/tabs/aitabsview.js +1 -1
  126. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  127. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e94a8=_0x7ea7;(function(_0x383dee,_0x2210d2){const _0x2098bf=_0x7ea7,_0x54ebc0=_0x383dee();while(!![]){try{const _0x4563b1=-parseInt(_0x2098bf(0x153))/0x1*(-parseInt(_0x2098bf(0x141))/0x2)+parseInt(_0x2098bf(0x14e))/0x3+-parseInt(_0x2098bf(0x157))/0x4*(parseInt(_0x2098bf(0x14d))/0x5)+parseInt(_0x2098bf(0x13d))/0x6+parseInt(_0x2098bf(0x134))/0x7+parseInt(_0x2098bf(0x137))/0x8*(-parseInt(_0x2098bf(0x149))/0x9)+-parseInt(_0x2098bf(0x143))/0xa;if(_0x4563b1===_0x2210d2)break;else _0x54ebc0['push'](_0x54ebc0['shift']());}catch(_0x293938){_0x54ebc0['push'](_0x54ebc0['shift']());}}}(_0x3d15,0xc67e9));function _0x7ea7(_0x23f685,_0x547842){const _0x3d15e9=_0x3d15();return _0x7ea7=function(_0x7ea76f,_0x47aa29){_0x7ea76f=_0x7ea76f-0x12f;let _0x16cbd1=_0x3d15e9[_0x7ea76f];return _0x16cbd1;},_0x7ea7(_0x23f685,_0x547842);}function _0x3d15(){const _0x20c3e5=['24px','552112vKIXAc','ck-ai-skeleton__item','fill','setTemplate','88px','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','3483624GhCvjp','class','128px','div','64234TaoNdB','tag','9098600fpAfXC','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','align','center','100%','140px','90KYyvxD','72px','width:\x20','right','1689410YKKCOo','4191891MKBJLh','44px','left','250px','width','1UzKtII','map','ck-ai-skeleton','attributes','4nKfczB','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','40px',';\x20height:\x20','_createSkeletonItems','height','5186279HmLwNQ','150px'];_0x3d15=function(){return _0x20c3e5;};return _0x3d15();}import{View as _0x52c1c3}from'ckeditor5/src/ui.js';export class AISkeletonView extends _0x52c1c3{constructor(_0xc3583b,_0x1a8e2b){const _0x4c31ff=_0x7ea7;super(_0xc3583b),this[_0x4c31ff(0x13a)]({'tag':_0x4c31ff(0x140),'attributes':{'class':['ck',_0x4c31ff(0x155)]},'children':this[_0x4c31ff(0x132)](_0x1a8e2b)});}[_0x5e94a8(0x132)](_0x32d459){const _0x3f2bb1=_0x5e94a8,_0x1bd91f=['ck',_0x3f2bb1(0x138)];return _0x32d459[_0x3f2bb1(0x154)](_0x2a866f=>{const _0x287553=_0x3f2bb1;let _0x56ce67='';switch(_0x2a866f[_0x287553(0x156)][_0x287553(0x145)]){case _0x287553(0x14c):_0x56ce67=_0x287553(0x144);break;case _0x287553(0x146):_0x56ce67=_0x287553(0x12f);break;case _0x287553(0x150):_0x56ce67=_0x287553(0x13c);}return{'tag':_0x2a866f[_0x287553(0x142)],'attributes':{'class':[..._0x1bd91f,_0x2a866f[_0x287553(0x156)][_0x287553(0x13e)]?_0x2a866f[_0x287553(0x156)][_0x287553(0x13e)]:''],'style':_0x287553(0x14b)+_0x2a866f[_0x287553(0x156)][_0x287553(0x152)]+_0x287553(0x131)+_0x2a866f[_0x287553(0x156)][_0x287553(0x133)]+';'+_0x56ce67}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x5e94a8(0x140),'attributes':{'width':_0x5e94a8(0x147),'height':_0x5e94a8(0x14a),'align':_0x5e94a8(0x14c)}},{'tag':_0x5e94a8(0x140),'attributes':{'width':_0x5e94a8(0x151),'height':_0x5e94a8(0x130),'align':_0x5e94a8(0x14c)}},{'tag':_0x5e94a8(0x140),'attributes':{'width':_0x5e94a8(0x147),'height':_0x5e94a8(0x13b),'align':_0x5e94a8(0x14c)}},{'tag':_0x5e94a8(0x140),'attributes':{'width':_0x5e94a8(0x135),'height':_0x5e94a8(0x130),'align':_0x5e94a8(0x14c)}},{'tag':_0x5e94a8(0x140),'attributes':{'width':_0x5e94a8(0x147),'height':_0x5e94a8(0x148),'align':_0x5e94a8(0x14c)}},{'tag':_0x5e94a8(0x140),'attributes':{'width':_0x5e94a8(0x151),'height':_0x5e94a8(0x130),'align':_0x5e94a8(0x14c)}},{'tag':_0x5e94a8(0x140),'attributes':{'width':_0x5e94a8(0x147),'height':_0x5e94a8(0x13b),'align':_0x5e94a8(0x14c)}}],'aiHistory':ta(0x5,_0x5e94a8(0x147),_0x5e94a8(0x14f),_0x5e94a8(0x14c)),'aiChatResources':ta(0x8,_0x5e94a8(0x147),_0x5e94a8(0x136),_0x5e94a8(0x14c)),'aiReviewChecks':[{'tag':_0x5e94a8(0x140),'attributes':{'width':_0x5e94a8(0x13f),'height':_0x5e94a8(0x136),'align':_0x5e94a8(0x150)}},{'tag':_0x5e94a8(0x140),'attributes':{'width':_0x5e94a8(0x147),'height':_0x5e94a8(0x136),'align':_0x5e94a8(0x150)}},{'tag':_0x5e94a8(0x140),'attributes':{'width':_0x5e94a8(0x13f),'height':_0x5e94a8(0x136),'align':_0x5e94a8(0x150)}}]};function ta(_0x4b1ecf,_0x2f0600,_0x356c06,_0x1e8742){const _0x23e93f=_0x5e94a8;return new Array(_0x4b1ecf)[_0x23e93f(0x139)](null)[_0x23e93f(0x154)](()=>({'tag':_0x23e93f(0x140),'attributes':{'width':_0x2f0600,'height':_0x356c06,'align':_0x1e8742}}));}
23
+ const _0x328094=_0x380f;(function(_0x28ecba,_0x4f1b3f){const _0x2fe8ba=_0x380f,_0x24b7eb=_0x28ecba();while(!![]){try{const _0x22b356=-parseInt(_0x2fe8ba(0xfe))/0x1*(parseInt(_0x2fe8ba(0xef))/0x2)+-parseInt(_0x2fe8ba(0x100))/0x3*(parseInt(_0x2fe8ba(0xec))/0x4)+parseInt(_0x2fe8ba(0x103))/0x5+parseInt(_0x2fe8ba(0x101))/0x6+-parseInt(_0x2fe8ba(0xe9))/0x7+parseInt(_0x2fe8ba(0xe7))/0x8+parseInt(_0x2fe8ba(0xe6))/0x9;if(_0x22b356===_0x4f1b3f)break;else _0x24b7eb['push'](_0x24b7eb['shift']());}catch(_0x5f4cee){_0x24b7eb['push'](_0x24b7eb['shift']());}}}(_0x139e,0xcce55));import{View as _0x4392af}from'ckeditor5/src/ui.js';function _0x380f(_0x503ea1,_0x372182){const _0x139e00=_0x139e();return _0x380f=function(_0x380f46,_0x54c956){_0x380f46=_0x380f46-0xe0;let _0x5f5af7=_0x139e00[_0x380f46];return _0x5f5af7;},_0x380f(_0x503ea1,_0x372182);}function _0x139e(){const _0x5ee15c=['tag','_createSkeletonItems','width:\x20','63478QoCPnR','ck-ai-skeleton__item','165pQIdZM','3860328YkQeGN','align','1924205fdsADu','140px','24px','right','width','100%','ck-ai-skeleton','128px','left','class','72px','14273991YVoYwJ','4572184MLBHiW','attributes','1608369GnIAVQ','250px','fill','121628YwmvEJ','150px','map','14QPEoKt','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','height','div','88px','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','44px','setTemplate',';\x20height:\x20','center','40px'];_0x139e=function(){return _0x5ee15c;};return _0x139e();}export class AISkeletonView extends _0x4392af{constructor(_0x2a3e3f,_0x32da1e){const _0x23d908=_0x380f;super(_0x2a3e3f),this[_0x23d908(0xf7)]({'tag':_0x23d908(0xf3),'attributes':{'class':['ck',_0x23d908(0xe1)]},'children':this[_0x23d908(0xfc)](_0x32da1e)});}[_0x328094(0xfc)](_0xf52c80){const _0x846d9b=_0x328094,_0x426bfa=['ck',_0x846d9b(0xff)];return _0xf52c80[_0x846d9b(0xee)](_0x32268=>{const _0x4d3410=_0x846d9b;let _0x37b581='';switch(_0x32268[_0x4d3410(0xe8)][_0x4d3410(0x102)]){case _0x4d3410(0x106):_0x37b581=_0x4d3410(0xf1);break;case _0x4d3410(0xf9):_0x37b581=_0x4d3410(0xf5);break;case _0x4d3410(0xe3):_0x37b581=_0x4d3410(0xf0);}return{'tag':_0x32268[_0x4d3410(0xfb)],'attributes':{'class':[..._0x426bfa,_0x32268[_0x4d3410(0xe8)][_0x4d3410(0xe4)]?_0x32268[_0x4d3410(0xe8)][_0x4d3410(0xe4)]:''],'style':_0x4d3410(0xfd)+_0x32268[_0x4d3410(0xe8)][_0x4d3410(0x107)]+_0x4d3410(0xf8)+_0x32268[_0x4d3410(0xe8)][_0x4d3410(0xf2)]+';'+_0x37b581}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x328094(0xf3),'attributes':{'width':_0x328094(0xe0),'height':_0x328094(0xe5),'align':_0x328094(0x106)}},{'tag':_0x328094(0xf3),'attributes':{'width':_0x328094(0xea),'height':_0x328094(0xfa),'align':_0x328094(0x106)}},{'tag':_0x328094(0xf3),'attributes':{'width':_0x328094(0xe0),'height':_0x328094(0xf4),'align':_0x328094(0x106)}},{'tag':_0x328094(0xf3),'attributes':{'width':_0x328094(0xed),'height':_0x328094(0xfa),'align':_0x328094(0x106)}},{'tag':_0x328094(0xf3),'attributes':{'width':_0x328094(0xe0),'height':_0x328094(0x104),'align':_0x328094(0x106)}},{'tag':_0x328094(0xf3),'attributes':{'width':_0x328094(0xea),'height':_0x328094(0xfa),'align':_0x328094(0x106)}},{'tag':_0x328094(0xf3),'attributes':{'width':_0x328094(0xe0),'height':_0x328094(0xf4),'align':_0x328094(0x106)}}],'aiHistory':ta(0x5,_0x328094(0xe0),_0x328094(0xf6),_0x328094(0x106)),'aiChatResources':ta(0x8,_0x328094(0xe0),_0x328094(0x105),_0x328094(0x106)),'aiReviewChecks':[{'tag':_0x328094(0xf3),'attributes':{'width':_0x328094(0xe2),'height':_0x328094(0x105),'align':_0x328094(0xe3)}},{'tag':_0x328094(0xf3),'attributes':{'width':_0x328094(0xe0),'height':_0x328094(0x105),'align':_0x328094(0xe3)}},{'tag':_0x328094(0xf3),'attributes':{'width':_0x328094(0xe2),'height':_0x328094(0x105),'align':_0x328094(0xe3)}}]};function ta(_0xa668d0,_0x552abe,_0x24547,_0x12c353){const _0x1a91a3=_0x328094;return new Array(_0xa668d0)[_0x1a91a3(0xeb)](null)[_0x1a91a3(0xee)](()=>({'tag':_0x1a91a3(0xf3),'attributes':{'width':_0x552abe,'height':_0x24547,'align':_0x12c353}}));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2fa4(){const _0x1c143d=['extendTemplate','783774tpJXIe','2fLUHXp','653561hepStM','24mqPbGS','6nuxTCr','5397084RyavFX','20yVCNDZ','1619400xxoJQq','783965HhUwwb','1279730hEvrBo','436504UHVECN','ck-ai-spinner','span','ck-ai-spinner_'];_0x2fa4=function(){return _0x1c143d;};return _0x2fa4();}(function(_0x3a48ec,_0x46cf64){const _0x4dbf03=_0x3693,_0x3fc000=_0x3a48ec();while(!![]){try{const _0x1e269a=parseInt(_0x4dbf03(0x15b))/0x1*(parseInt(_0x4dbf03(0x15a))/0x2)+parseInt(_0x4dbf03(0x151))/0x3+parseInt(_0x4dbf03(0x154))/0x4+-parseInt(_0x4dbf03(0x153))/0x5+parseInt(_0x4dbf03(0x14e))/0x6*(parseInt(_0x4dbf03(0x152))/0x7)+parseInt(_0x4dbf03(0x14d))/0x8*(parseInt(_0x4dbf03(0x159))/0x9)+-parseInt(_0x4dbf03(0x150))/0xa*(parseInt(_0x4dbf03(0x14f))/0xb);if(_0x1e269a===_0x46cf64)break;else _0x3fc000['push'](_0x3fc000['shift']());}catch(_0x92c11a){_0x3fc000['push'](_0x3fc000['shift']());}}}(_0x2fa4,0x6b0ea));function _0x3693(_0x3df7d2,_0x31b1c5){const _0x2fa411=_0x2fa4();return _0x3693=function(_0x369315,_0x1af63a){_0x369315=_0x369315-0x14d;let _0x5c48da=_0x2fa411[_0x369315];return _0x5c48da;},_0x3693(_0x3df7d2,_0x31b1c5);}import{SpinnerView as _0xa04818}from'ckeditor5/src/ui.js';export class AISpinnerView extends _0xa04818{constructor(_0x190c20=void 0x0){const _0x1b4be8=_0x3693;super();const _0x2bb4c0=_0x190c20?_0x1b4be8(0x157)+_0x190c20:'';this[_0x1b4be8(0x158)]({'tag':_0x1b4be8(0x156),'attributes':{'class':[_0x1b4be8(0x155),_0x2bb4c0]}});}}
23
+ function _0x43d2(_0x196f6e,_0x45bd2c){const _0x377600=_0x3776();return _0x43d2=function(_0x43d260,_0x4b70df){_0x43d260=_0x43d260-0x14a;let _0xa62445=_0x377600[_0x43d260];return _0xa62445;},_0x43d2(_0x196f6e,_0x45bd2c);}function _0x3776(){const _0x1ec7ca=['525593oYAtBO','span','extendTemplate','ck-ai-spinner_','9140124sIGPGk','20336505HQomLG','ck-ai-spinner','1625748VaHFSw','461895bUyDpt','61096ljLfWd','1014624GnHSJt'];_0x3776=function(){return _0x1ec7ca;};return _0x3776();}(function(_0x2f168b,_0x2de970){const _0xc6b9ea=_0x43d2,_0x32604f=_0x2f168b();while(!![]){try{const _0x32b2de=-parseInt(_0xc6b9ea(0x151))/0x1+parseInt(_0xc6b9ea(0x150))/0x2+-parseInt(_0xc6b9ea(0x14d))/0x3+parseInt(_0xc6b9ea(0x14f))/0x4+parseInt(_0xc6b9ea(0x14e))/0x5+-parseInt(_0xc6b9ea(0x14a))/0x6+parseInt(_0xc6b9ea(0x14b))/0x7;if(_0x32b2de===_0x2de970)break;else _0x32604f['push'](_0x32604f['shift']());}catch(_0x1e3771){_0x32604f['push'](_0x32604f['shift']());}}}(_0x3776,0xe2e25));import{SpinnerView as _0x43374c}from'ckeditor5/src/ui.js';export class AISpinnerView extends _0x43374c{constructor(_0x3b4c3c=void 0x0){const _0xbc8f5f=_0x43d2;super();const _0x42a1f8=_0x3b4c3c?_0xbc8f5f(0x154)+_0x3b4c3c:'';this[_0xbc8f5f(0x153)]({'tag':_0xbc8f5f(0x152),'attributes':{'class':[_0xbc8f5f(0x14c),_0x42a1f8]}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4afc(_0x37f554,_0x5d9604){const _0x1c145a=_0x1c14();return _0x4afc=function(_0x4afcab,_0x4b91ed){_0x4afcab=_0x4afcab-0x1e4;let _0x46c7ab=_0x1c145a[_0x4afcab];return _0x46c7ab;},_0x4afc(_0x37f554,_0x5d9604);}const _0x2d72f9=_0x4afc;(function(_0x4c30db,_0x4223d5){const _0xde48a0=_0x4afc,_0x5bc611=_0x4c30db();while(!![]){try{const _0x26752d=-parseInt(_0xde48a0(0x201))/0x1*(-parseInt(_0xde48a0(0x208))/0x2)+parseInt(_0xde48a0(0x216))/0x3*(parseInt(_0xde48a0(0x20d))/0x4)+-parseInt(_0xde48a0(0x211))/0x5+parseInt(_0xde48a0(0x20f))/0x6+parseInt(_0xde48a0(0x206))/0x7*(-parseInt(_0xde48a0(0x1ff))/0x8)+-parseInt(_0xde48a0(0x1e9))/0x9+-parseInt(_0xde48a0(0x1fd))/0xa*(parseInt(_0xde48a0(0x203))/0xb);if(_0x26752d===_0x4223d5)break;else _0x5bc611['push'](_0x5bc611['shift']());}catch(_0x5f12b9){_0x5bc611['push'](_0x5bc611['shift']());}}}(_0x1c14,0x1d354));function _0x1c14(){const _0x28674f=['isLoading','showChanges','dislikeButton','add','1145862DBDdMj','locale','isOn','AI_MINI_TOOLBAR_COPY','likeButton','_setupCopyButton','customView','AI_SUGGESTION_BUTTON_SHOW_CHANGES','isEnabled','items','showChangesButton','extendTemplate','ck-ai-mini-toolbar\x20ck-hidden','_setupRatingButtons','bind','execute','showLike','set','dislike','ck-ai-mini-toolbar','710YgHvsX','class','416432jtwaih','ck-ai-mini-toolbar-copy-button','168353vZbzGq','AI_MINI_TOOLBAR_DISLIKE','12485umiTAo','_config','length','7ypxjPt','AI_MINI_TOOLBAR_LIKE','2osnVwr','toggleShowChanges','ck-ai-mini-toolbar-copy-button__check-mark','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','_setupShowChangesButton','122788xYoprm','addMany','1083822jkSCtM','showDislike','153955jouctn','fire','showCopy','like','children','6UOxeFY','full','copyButton'];_0x1c14=function(){return _0x28674f;};return _0x1c14();}import{ButtonView as _0x536766,IconView as _0x4b86e1,ToolbarView as _0x466c5b}from'ckeditor5/src/ui.js';import{IconCheck as _0x2e54ff,IconCopy as _0x23a0ee,IconShowChangesOff as _0x5d8381,IconShowChangesOn as _0x3cad7a,IconThumbDown as _0x645623,IconThumbUp as _0x52db1a}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x122fed}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x466c5b{[_0x2d72f9(0x1e4)];[_0x2d72f9(0x1ed)];[_0x2d72f9(0x1e7)];[_0x2d72f9(0x1f3)];[_0x2d72f9(0x204)];constructor(_0xa267d8,_0x136d18={},_0x1b99a4){const _0x2d1e51=_0x2d72f9;super(_0xa267d8),this[_0x2d1e51(0x1fa)](_0x2d1e51(0x1e5),!0x1),this[_0x2d1e51(0x204)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x136d18};const _0x1ddad7=!(this[_0x2d1e51(0x204)][_0x2d1e51(0x213)]||this[_0x2d1e51(0x204)][_0x2d1e51(0x1e6)]||this[_0x2d1e51(0x204)][_0x2d1e51(0x1f9)]||this[_0x2d1e51(0x204)][_0x2d1e51(0x210)]||this[_0x2d1e51(0x204)][_0x2d1e51(0x1ef)]?.[_0x2d1e51(0x205)]);this[_0x2d1e51(0x1fe)]=_0x1ddad7?_0x2d1e51(0x1f5):_0x2d1e51(0x1fc),this[_0x2d1e51(0x204)][_0x2d1e51(0x213)]&&(this[_0x2d1e51(0x1ee)](),this[_0x2d1e51(0x1f2)][_0x2d1e51(0x1e8)](this[_0x2d1e51(0x1e4)])),this[_0x2d1e51(0x204)][_0x2d1e51(0x1e6)]&&(this[_0x2d1e51(0x20c)](_0x1b99a4),this[_0x2d1e51(0x1f2)][_0x2d1e51(0x1e8)](this[_0x2d1e51(0x1f3)])),this[_0x2d1e51(0x1f6)](),this[_0x2d1e51(0x204)][_0x2d1e51(0x1f9)]&&this[_0x2d1e51(0x1f2)][_0x2d1e51(0x1e8)](this[_0x2d1e51(0x1ed)]),this[_0x2d1e51(0x204)][_0x2d1e51(0x210)]&&this[_0x2d1e51(0x1f2)][_0x2d1e51(0x1e8)](this[_0x2d1e51(0x1e7)]),this[_0x2d1e51(0x204)][_0x2d1e51(0x1ef)]&&this[_0x2d1e51(0x1f2)][_0x2d1e51(0x20e)](this[_0x2d1e51(0x204)][_0x2d1e51(0x1ef)]);}[_0x2d72f9(0x1f6)](){const _0x1b85a4=_0x2d72f9;this[_0x1b85a4(0x1ed)]=new _0x536766(this[_0x1b85a4(0x1ea)]),this[_0x1b85a4(0x1ed)][_0x1b85a4(0x1fa)]({'icon':_0x52db1a,'label':_0x122fed(this[_0x1b85a4(0x1ea)],_0x1b85a4(0x207)),'tooltip':!0x0}),this[_0x1b85a4(0x1ed)][_0x1b85a4(0x1f7)](_0x1b85a4(0x1f1))['to'](this,_0x1b85a4(0x1e5),_0x322b35=>!_0x322b35),this[_0x1b85a4(0x1ed)]['on'](_0x1b85a4(0x1f8),()=>{const _0x462c65=_0x1b85a4;this[_0x462c65(0x212)](_0x462c65(0x214));}),this[_0x1b85a4(0x1e7)]=new _0x536766(this[_0x1b85a4(0x1ea)]),this[_0x1b85a4(0x1e7)][_0x1b85a4(0x1fa)]({'icon':_0x645623,'label':_0x122fed(this[_0x1b85a4(0x1ea)],_0x1b85a4(0x202)),'tooltip':!0x0}),this[_0x1b85a4(0x1e7)][_0x1b85a4(0x1f7)](_0x1b85a4(0x1f1))['to'](this,_0x1b85a4(0x1e5),_0x32c7b7=>!_0x32c7b7),this[_0x1b85a4(0x1e7)]['on'](_0x1b85a4(0x1f8),()=>{const _0x470b44=_0x1b85a4;this[_0x470b44(0x212)](_0x470b44(0x1fb));});}[_0x2d72f9(0x1ee)](){const _0x978632=_0x2d72f9;this[_0x978632(0x1e4)]=new _0x536766(this[_0x978632(0x1ea)]),this[_0x978632(0x1e4)][_0x978632(0x1fa)]({'icon':_0x23a0ee,'label':_0x122fed(this[_0x978632(0x1ea)],_0x978632(0x1ec)),'class':_0x978632(0x200),'tooltip':!0x0}),this[_0x978632(0x1e4)][_0x978632(0x1f7)](_0x978632(0x1f1))['to'](this,_0x978632(0x1e5),_0x330b3e=>!_0x330b3e);const _0x20429e=new _0x4b86e1();_0x20429e[_0x978632(0x1fa)]({'content':_0x2e54ff}),_0x20429e[_0x978632(0x1f4)]({'attributes':{'class':[_0x978632(0x20a)]}}),this[_0x978632(0x1e4)]['on'](_0x978632(0x1f8),()=>{const _0x151c78=_0x978632;this[_0x151c78(0x1e4)][_0x151c78(0x1fe)]=_0x151c78(0x20b),setTimeout(()=>{const _0x3471b3=_0x151c78;this[_0x3471b3(0x1e4)][_0x3471b3(0x1fe)]=_0x3471b3(0x200);},0x7d0);}),this[_0x978632(0x1e4)][_0x978632(0x215)][_0x978632(0x1e8)](_0x20429e);}[_0x2d72f9(0x20c)](_0x2da71d){const _0x59f81f=_0x2d72f9;this[_0x59f81f(0x1f3)]=new _0x536766(this[_0x59f81f(0x1ea)]),this[_0x59f81f(0x1f3)][_0x59f81f(0x1fa)]({'icon':_0x5d8381,'label':_0x122fed(this[_0x59f81f(0x1ea)],_0x59f81f(0x1f0)),'withText':_0x59f81f(0x217)==this[_0x59f81f(0x204)][_0x59f81f(0x1e6)],'tooltip':_0x59f81f(0x217)!=this[_0x59f81f(0x204)][_0x59f81f(0x1e6)],'isOn':_0x2da71d}),this[_0x59f81f(0x1f3)][_0x59f81f(0x1f7)](_0x59f81f(0x1f1))['to'](this,_0x59f81f(0x1e5),_0x4160e5=>!_0x4160e5),this[_0x59f81f(0x1f3)]['on'](_0x59f81f(0x1f8),()=>{const _0x3c0284=_0x59f81f,_0x1bc4f4=!this[_0x3c0284(0x1f3)][_0x3c0284(0x1eb)];this[_0x3c0284(0x1f3)][_0x3c0284(0x1fa)]({'isOn':_0x1bc4f4,'icon':_0x1bc4f4?_0x3cad7a:_0x5d8381}),this[_0x3c0284(0x212)](_0x3c0284(0x209),_0x1bc4f4);});}}
23
+ function _0x14cf(){const _0x1b84f2=['4427760ntLtLe','dislike','_config','showDislike','isEnabled','customView','6966WLIUSv','bind','toggleShowChanges','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','dislikeButton','children','showChangesButton','copyButton','showChanges','set','showCopy','ck-ai-mini-toolbar-copy-button__check-mark','_setupRatingButtons','AI_SUGGESTION_BUTTON_SHOW_CHANGES','extendTemplate','109448wjPwFn','locale','execute','fire','items','likeButton','4330088zkAGUs','like','_setupShowChangesButton','ck-ai-mini-toolbar\x20ck-hidden','AI_MINI_TOOLBAR_COPY','ck-ai-mini-toolbar-copy-button','2007364LcFCuG','36duSyOq','AI_MINI_TOOLBAR_DISLIKE','full','ck-ai-mini-toolbar','isOn','580BuzGhG','_setupCopyButton','showLike','class','1vYFAMW','add','6036700OMyZog','addMany','length','isLoading','AI_MINI_TOOLBAR_LIKE','1907835MGKIqp'];_0x14cf=function(){return _0x1b84f2;};return _0x14cf();}function _0x44da(_0xf616a9,_0x57886d){const _0x14cf55=_0x14cf();return _0x44da=function(_0x44da68,_0x3bf87f){_0x44da68=_0x44da68-0x178;let _0x3e8ee4=_0x14cf55[_0x44da68];return _0x3e8ee4;},_0x44da(_0xf616a9,_0x57886d);}const _0x548e22=_0x44da;(function(_0x42940a,_0x603ba3){const _0x23a7c1=_0x44da,_0x1aa80e=_0x42940a();while(!![]){try{const _0x485143=parseInt(_0x23a7c1(0x18a))/0x1*(-parseInt(_0x23a7c1(0x180))/0x2)+-parseInt(_0x23a7c1(0x198))/0x3*(-parseInt(_0x23a7c1(0x186))/0x4)+parseInt(_0x23a7c1(0x191))/0x5+parseInt(_0x23a7c1(0x192))/0x6+parseInt(_0x23a7c1(0x17a))/0x7+-parseInt(_0x23a7c1(0x1a7))/0x8*(-parseInt(_0x23a7c1(0x181))/0x9)+-parseInt(_0x23a7c1(0x18c))/0xa;if(_0x485143===_0x603ba3)break;else _0x1aa80e['push'](_0x1aa80e['shift']());}catch(_0x45dd26){_0x1aa80e['push'](_0x1aa80e['shift']());}}}(_0x14cf,0x7f7bd));import{ButtonView as _0x2fce27,IconView as _0x13a4a,ToolbarView as _0x51f8cf}from'ckeditor5/src/ui.js';import{IconCheck as _0x26c615,IconCopy as _0x4a7def,IconShowChangesOff as _0x361dbc,IconShowChangesOn as _0x3179c2,IconThumbDown as _0x10c465,IconThumbUp as _0x23ee3b}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x5a2009}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x51f8cf{[_0x548e22(0x19f)];[_0x548e22(0x179)];[_0x548e22(0x19c)];[_0x548e22(0x19e)];[_0x548e22(0x194)];constructor(_0x5b6b8e,_0x5915a3={},_0x535ceb){const _0x160137=_0x548e22;super(_0x5b6b8e),this[_0x160137(0x1a1)](_0x160137(0x18f),!0x1),this[_0x160137(0x194)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x5915a3};const _0x1c9982=!(this[_0x160137(0x194)][_0x160137(0x1a2)]||this[_0x160137(0x194)][_0x160137(0x1a0)]||this[_0x160137(0x194)][_0x160137(0x188)]||this[_0x160137(0x194)][_0x160137(0x195)]||this[_0x160137(0x194)][_0x160137(0x197)]?.[_0x160137(0x18e)]);this[_0x160137(0x189)]=_0x1c9982?_0x160137(0x17d):_0x160137(0x184),this[_0x160137(0x194)][_0x160137(0x1a2)]&&(this[_0x160137(0x187)](),this[_0x160137(0x178)][_0x160137(0x18b)](this[_0x160137(0x19f)])),this[_0x160137(0x194)][_0x160137(0x1a0)]&&(this[_0x160137(0x17c)](_0x535ceb),this[_0x160137(0x178)][_0x160137(0x18b)](this[_0x160137(0x19e)])),this[_0x160137(0x1a4)](),this[_0x160137(0x194)][_0x160137(0x188)]&&this[_0x160137(0x178)][_0x160137(0x18b)](this[_0x160137(0x179)]),this[_0x160137(0x194)][_0x160137(0x195)]&&this[_0x160137(0x178)][_0x160137(0x18b)](this[_0x160137(0x19c)]),this[_0x160137(0x194)][_0x160137(0x197)]&&this[_0x160137(0x178)][_0x160137(0x18d)](this[_0x160137(0x194)][_0x160137(0x197)]);}[_0x548e22(0x1a4)](){const _0x220ac1=_0x548e22;this[_0x220ac1(0x179)]=new _0x2fce27(this[_0x220ac1(0x1a8)]),this[_0x220ac1(0x179)][_0x220ac1(0x1a1)]({'icon':_0x23ee3b,'label':_0x5a2009(this[_0x220ac1(0x1a8)],_0x220ac1(0x190)),'tooltip':!0x0}),this[_0x220ac1(0x179)][_0x220ac1(0x199)](_0x220ac1(0x196))['to'](this,_0x220ac1(0x18f),_0x11174e=>!_0x11174e),this[_0x220ac1(0x179)]['on'](_0x220ac1(0x1a9),()=>{const _0x4860e5=_0x220ac1;this[_0x4860e5(0x1aa)](_0x4860e5(0x17b));}),this[_0x220ac1(0x19c)]=new _0x2fce27(this[_0x220ac1(0x1a8)]),this[_0x220ac1(0x19c)][_0x220ac1(0x1a1)]({'icon':_0x10c465,'label':_0x5a2009(this[_0x220ac1(0x1a8)],_0x220ac1(0x182)),'tooltip':!0x0}),this[_0x220ac1(0x19c)][_0x220ac1(0x199)](_0x220ac1(0x196))['to'](this,_0x220ac1(0x18f),_0xe4cf0d=>!_0xe4cf0d),this[_0x220ac1(0x19c)]['on'](_0x220ac1(0x1a9),()=>{const _0xa5252b=_0x220ac1;this[_0xa5252b(0x1aa)](_0xa5252b(0x193));});}[_0x548e22(0x187)](){const _0x7b4912=_0x548e22;this[_0x7b4912(0x19f)]=new _0x2fce27(this[_0x7b4912(0x1a8)]),this[_0x7b4912(0x19f)][_0x7b4912(0x1a1)]({'icon':_0x4a7def,'label':_0x5a2009(this[_0x7b4912(0x1a8)],_0x7b4912(0x17e)),'class':_0x7b4912(0x17f),'tooltip':!0x0}),this[_0x7b4912(0x19f)][_0x7b4912(0x199)](_0x7b4912(0x196))['to'](this,_0x7b4912(0x18f),_0x15bb51=>!_0x15bb51);const _0x6a5fe=new _0x13a4a();_0x6a5fe[_0x7b4912(0x1a1)]({'content':_0x26c615}),_0x6a5fe[_0x7b4912(0x1a6)]({'attributes':{'class':[_0x7b4912(0x1a3)]}}),this[_0x7b4912(0x19f)]['on'](_0x7b4912(0x1a9),()=>{const _0x1d8300=_0x7b4912;this[_0x1d8300(0x19f)][_0x1d8300(0x189)]=_0x1d8300(0x19b),setTimeout(()=>{const _0x253176=_0x1d8300;this[_0x253176(0x19f)][_0x253176(0x189)]=_0x253176(0x17f);},0x7d0);}),this[_0x7b4912(0x19f)][_0x7b4912(0x19d)][_0x7b4912(0x18b)](_0x6a5fe);}[_0x548e22(0x17c)](_0x4ed772){const _0x2f60a1=_0x548e22;this[_0x2f60a1(0x19e)]=new _0x2fce27(this[_0x2f60a1(0x1a8)]),this[_0x2f60a1(0x19e)][_0x2f60a1(0x1a1)]({'icon':_0x361dbc,'label':_0x5a2009(this[_0x2f60a1(0x1a8)],_0x2f60a1(0x1a5)),'withText':_0x2f60a1(0x183)==this[_0x2f60a1(0x194)][_0x2f60a1(0x1a0)],'tooltip':_0x2f60a1(0x183)!=this[_0x2f60a1(0x194)][_0x2f60a1(0x1a0)],'isOn':_0x4ed772}),this[_0x2f60a1(0x19e)][_0x2f60a1(0x199)](_0x2f60a1(0x196))['to'](this,_0x2f60a1(0x18f),_0xb476e7=>!_0xb476e7),this[_0x2f60a1(0x19e)]['on'](_0x2f60a1(0x1a9),()=>{const _0x2847f3=_0x2f60a1,_0x1bba66=!this[_0x2847f3(0x19e)][_0x2847f3(0x185)];this[_0x2847f3(0x19e)][_0x2847f3(0x1a1)]({'isOn':_0x1bba66,'icon':_0x1bba66?_0x3179c2:_0x361dbc}),this[_0x2847f3(0x1aa)](_0x2847f3(0x19a),_0x1bba66);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x390e81=_0x14b1;(function(_0x5e4bfb,_0x21a014){const _0xc13967=_0x14b1,_0x4337e7=_0x5e4bfb();while(!![]){try{const _0x56c2aa=-parseInt(_0xc13967(0x156))/0x1+parseInt(_0xc13967(0x124))/0x2*(-parseInt(_0xc13967(0x149))/0x3)+parseInt(_0xc13967(0x14d))/0x4+-parseInt(_0xc13967(0x13a))/0x5*(parseInt(_0xc13967(0x137))/0x6)+-parseInt(_0xc13967(0x12b))/0x7*(parseInt(_0xc13967(0x145))/0x8)+parseInt(_0xc13967(0x146))/0x9+parseInt(_0xc13967(0x133))/0xa*(parseInt(_0xc13967(0x14f))/0xb);if(_0x56c2aa===_0x21a014)break;else _0x4337e7['push'](_0x4337e7['shift']());}catch(_0x46c1df){_0x4337e7['push'](_0x4337e7['shift']());}}}(_0x2b41,0x309c0));import{View as _0x11f012}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x469089}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0xec8dcd}from'../../utils/eventnames.js';function _0x2b41(){const _0x22984d=['warning','createCollection','124281RXyIxA','push','setContent','ck-ai-suggestion__body__content-parts','526416jnLgmH','add','11uujBBG','empty-parts-warning','div','_areActionsDisabled','abort','hasPendingParts','state','269871YlgyjH','_updateContentPartsPromiseQueue','find','length','forEach','AI_SUGGESTION_NO_PARTS_WARNING','enqueue','AI_SUGGESTION_EMPTY_PART_WARNING','partDefinition','filter','6VFBmjS','ck-ai-suggestion__body','_showUnchangedParts','addEventListener','_children','isVisible','pending','129437tsBshV','partsCount','set','delegate','updatePartState','_emptyPartsWarningView','updateContentParts','hasNonEmptyParts','10950650gcRGCM','toggleHeader','locale','hasChanges','2118pRnpKs','from','_availableActions','4955iLJRiD','getPartView','updateContent','some','index','findIndex','_cachedContentParts','markAsDone','queueEmptyPromise','first','setTemplate','136yzdKKd','276813LwflXZ'];_0x2b41=function(){return _0x22984d;};return _0x2b41();}function _0x14b1(_0x4e91fd,_0x35b4e5){const _0x2b41bd=_0x2b41();return _0x14b1=function(_0x14b113,_0x3ea71e){_0x14b113=_0x14b113-0x122;let _0x1b7a8b=_0x2b41bd[_0x14b113];return _0x1b7a8b;},_0x14b1(_0x4e91fd,_0x35b4e5);}import{PromiseQueue as _0x3d3cea}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x10fb79}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x12614e}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x11f012{[_0x390e81(0x128)];[_0x390e81(0x152)];[_0x390e81(0x126)];[_0x390e81(0x157)];[_0x390e81(0x130)];[_0x390e81(0x139)];[_0x390e81(0x140)]=[];constructor(_0x4fc691,_0x5d27fe){const _0x40f642=_0x390e81;super(_0x4fc691);const {areActionsDisabled:_0x5cca71,showUnchangedParts:_0x3ade38,availableActions:_0x2e25dc}=_0x5d27fe;this[_0x40f642(0x152)]=_0x5cca71,this[_0x40f642(0x126)]=_0x3ade38,this[_0x40f642(0x139)]=_0x2e25dc,this[_0x40f642(0x12d)](_0x40f642(0x154),!0x1),this[_0x40f642(0x128)]=this[_0x40f642(0x148)](),this[_0x40f642(0x157)]=new _0x3d3cea(),this[_0x40f642(0x130)]=new _0x10fb79({'id':_0x40f642(0x150),'initialContent':_0x12614e(_0x4fc691,_0x40f642(0x15d)),'level':_0x40f642(0x147)}),this[_0x40f642(0x130)][_0x40f642(0x129)]=!0x1,this[_0x40f642(0x144)]({'tag':_0x40f642(0x151),'attributes':{'class':['ck',_0x40f642(0x125)]},'children':[{'tag':_0x40f642(0x151),'attributes':{'class':['ck',_0x40f642(0x14c)]},'children':this[_0x40f642(0x128)]},this[_0x40f642(0x130)]]});}get[_0x390e81(0x12c)](){const _0x10061f=_0x390e81;return this[_0x10061f(0x128)][_0x10061f(0x159)];}async[_0x390e81(0x131)]({parts:_0x5acf62,renderingStrategy:_0x4b1fe3,abortSignal:_0x40e5ae}){const _0x4f5b27=_0x390e81;this[_0x4f5b27(0x128)][_0x4f5b27(0x159)]?_0x5acf62[_0x4f5b27(0x15a)](_0x25c798=>{const _0x43d6fb=_0x4f5b27,_0x39a127=this[_0x43d6fb(0x140)][_0x43d6fb(0x13f)](_0x1fda3e=>_0x1fda3e[_0x43d6fb(0x13e)]==_0x25c798[_0x43d6fb(0x13e)]);-0x1===_0x39a127?this[_0x43d6fb(0x140)][_0x43d6fb(0x14a)](_0x25c798):this[_0x43d6fb(0x140)][_0x39a127]=_0x25c798;}):this[_0x4f5b27(0x140)]=_0x5acf62;for(const _0x1a66f5 of _0x5acf62[_0x4f5b27(0x123)](_0x12b002=>_0x12b002[_0x4f5b27(0x136)]))this[_0x4f5b27(0x157)][_0x4f5b27(0x15c)](async _0x577d46=>{const _0x57a316=_0x4f5b27;let _0x100f7a=this[_0x57a316(0x13b)](_0x1a66f5[_0x57a316(0x13e)]);_0x100f7a||(_0x100f7a=new _0x469089(this[_0x57a316(0x135)],{'part':_0x1a66f5,'uiIndex':this[_0x57a316(0x128)][_0x57a316(0x159)]+0x1,'areActionsDisabled':this[_0x57a316(0x152)],'availableActions':this[_0x57a316(0x139)]}),_0x100f7a[_0x57a316(0x12e)](..._0xec8dcd)['to'](this),this[_0x57a316(0x128)][_0x57a316(0x14e)](_0x100f7a),this[_0x57a316(0x154)]=!0x0),0x2===this[_0x57a316(0x128)][_0x57a316(0x159)]&&this[_0x57a316(0x128)][_0x57a316(0x143)][_0x57a316(0x134)](!0x0),_0x100f7a[_0x57a316(0x134)](this[_0x57a316(0x128)][_0x57a316(0x159)]>0x1),await _0x100f7a[_0x57a316(0x13c)]({'part':_0x1a66f5,'renderingStrategy':_0x4b1fe3,'showUnchangedParts':this[_0x57a316(0x126)],'abortSignal':_0x577d46});});return _0x40e5ae?.[_0x4f5b27(0x127)](_0x4f5b27(0x153),()=>{const _0x461f5e=_0x4f5b27;this[_0x461f5e(0x157)][_0x461f5e(0x153)]();}),this[_0x4f5b27(0x157)][_0x4f5b27(0x142)];}[_0x390e81(0x12f)](_0x1f5a5c,_0x5b696a){const _0x5963c1=_0x390e81,_0x2d8aff=this[_0x5963c1(0x13b)](_0x1f5a5c);_0x2d8aff&&(_0x2d8aff[_0x5963c1(0x155)]=_0x5b696a),this[_0x5963c1(0x154)]=_0x5963c1(0x12a)==_0x5b696a||Array[_0x5963c1(0x138)](this[_0x5963c1(0x128)])[_0x5963c1(0x13d)](_0x831fef=>_0x5963c1(0x12a)==_0x831fef[_0x5963c1(0x155)]);}[_0x390e81(0x13b)](_0x33cc4c){const _0x385250=_0x390e81;return this[_0x385250(0x128)][_0x385250(0x158)](_0x1d3edf=>_0x1d3edf[_0x385250(0x122)][_0x385250(0x13e)]==_0x33cc4c)??null;}[_0x390e81(0x141)](){const _0x41f49e=_0x390e81;if(!this[_0x41f49e(0x126)]){const _0x2e6b4f=!this[_0x41f49e(0x140)][_0x41f49e(0x158)](({hasChanges:_0x25ac60})=>_0x25ac60),_0xf4756=!!this[_0x41f49e(0x140)][_0x41f49e(0x158)](({hasChanges:_0xb908fa})=>!_0xb908fa);this[_0x41f49e(0x130)][_0x41f49e(0x129)]=0x0==this[_0x41f49e(0x128)][_0x41f49e(0x159)]||_0xf4756,_0x2e6b4f?this[_0x41f49e(0x130)][_0x41f49e(0x14b)](_0x12614e(this[_0x41f49e(0x135)],_0x41f49e(0x15b))):this[_0x41f49e(0x130)][_0x41f49e(0x14b)](_0x12614e(this[_0x41f49e(0x135)],_0x41f49e(0x15d)));}}get[_0x390e81(0x132)](){const _0x3a9ca7=_0x390e81;return!!this[_0x3a9ca7(0x128)][_0x3a9ca7(0x158)](_0x1fac78=>_0x1fac78[_0x3a9ca7(0x122)][_0x3a9ca7(0x136)]);}}
23
+ const _0x51b509=_0x241f;function _0x2172(){const _0x52e3cc=['14003143qZSDDq','addEventListener','index','partsCount','AI_SUGGESTION_EMPTY_PART_WARNING','AI_SUGGESTION_NO_PARTS_WARNING','from','40208kIkwIc','setContent','forEach','filter','_showUnchangedParts','length','updateContentParts','getPartView','partDefinition','createCollection','ck-ai-suggestion__body','10046eiWijP','_areActionsDisabled','288630MIFKMG','23mwEpot','setTemplate','markAsDone','empty-parts-warning','_availableActions','7042100xqfgxe','updatePartState','enqueue','hasChanges','_children','isVisible','pending','_emptyPartsWarningView','set','locale','abort','find','2225091UWRgdV','639dauslF','add','28Hwpzyy','_cachedContentParts','updateContent','hasPendingParts','push','_updateContentPartsPromiseQueue','warning','3111003RUGZEX','div','state','delegate','6Itggft','first','some','findIndex','hasNonEmptyParts','toggleHeader','queueEmptyPromise','ck-ai-suggestion__body__content-parts'];_0x2172=function(){return _0x52e3cc;};return _0x2172();}(function(_0x5106ce,_0x2206a6){const _0x5c6b2e=_0x241f,_0x4bf7c1=_0x5106ce();while(!![]){try{const _0x20956c=parseInt(_0x5c6b2e(0x1fb))/0x1*(parseInt(_0x5c6b2e(0x1f8))/0x2)+-parseInt(_0x5c6b2e(0x20c))/0x3+-parseInt(_0x5c6b2e(0x20f))/0x4*(-parseInt(_0x5c6b2e(0x1fa))/0x5)+parseInt(_0x5c6b2e(0x1de))/0x6*(parseInt(_0x5c6b2e(0x216))/0x7)+parseInt(_0x5c6b2e(0x1ed))/0x8*(-parseInt(_0x5c6b2e(0x20d))/0x9)+-parseInt(_0x5c6b2e(0x200))/0xa+parseInt(_0x5c6b2e(0x1e6))/0xb;if(_0x20956c===_0x2206a6)break;else _0x4bf7c1['push'](_0x4bf7c1['shift']());}catch(_0x294796){_0x4bf7c1['push'](_0x4bf7c1['shift']());}}}(_0x2172,0x6a07c));function _0x241f(_0x2ed16f,_0x29584a){const _0x217211=_0x2172();return _0x241f=function(_0x241f83,_0x34cc8f){_0x241f83=_0x241f83-0x1dd;let _0x4b6598=_0x217211[_0x241f83];return _0x4b6598;},_0x241f(_0x2ed16f,_0x29584a);}import{View as _0xec6198}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x22b186}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x232536}from'../../utils/eventnames.js';import{PromiseQueue as _0xe5a898}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x2edb0e}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x165ad1}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0xec6198{[_0x51b509(0x204)];[_0x51b509(0x1f9)];[_0x51b509(0x1f1)];[_0x51b509(0x214)];[_0x51b509(0x207)];[_0x51b509(0x1ff)];[_0x51b509(0x210)]=[];constructor(_0x5fae44,_0x56d12b){const _0xbed00e=_0x51b509;super(_0x5fae44);const {areActionsDisabled:_0x1e2239,showUnchangedParts:_0xb4cfac,availableActions:_0xb0e808}=_0x56d12b;this[_0xbed00e(0x1f9)]=_0x1e2239,this[_0xbed00e(0x1f1)]=_0xb4cfac,this[_0xbed00e(0x1ff)]=_0xb0e808,this[_0xbed00e(0x208)](_0xbed00e(0x212),!0x1),this[_0xbed00e(0x204)]=this[_0xbed00e(0x1f6)](),this[_0xbed00e(0x214)]=new _0xe5a898(),this[_0xbed00e(0x207)]=new _0x2edb0e({'id':_0xbed00e(0x1fe),'initialContent':_0x165ad1(_0x5fae44,_0xbed00e(0x1ea)),'level':_0xbed00e(0x215)}),this[_0xbed00e(0x207)][_0xbed00e(0x205)]=!0x1,this[_0xbed00e(0x1fc)]({'tag':_0xbed00e(0x217),'attributes':{'class':['ck',_0xbed00e(0x1f7)]},'children':[{'tag':_0xbed00e(0x217),'attributes':{'class':['ck',_0xbed00e(0x1e5)]},'children':this[_0xbed00e(0x204)]},this[_0xbed00e(0x207)]]});}get[_0x51b509(0x1e9)](){const _0x4b0db4=_0x51b509;return this[_0x4b0db4(0x204)][_0x4b0db4(0x1f2)];}async[_0x51b509(0x1f3)]({parts:_0x5e01c2,renderingStrategy:_0x277c81,abortSignal:_0x3f4980}){const _0x158247=_0x51b509;this[_0x158247(0x204)][_0x158247(0x1f2)]?_0x5e01c2[_0x158247(0x1ef)](_0x5ae8ab=>{const _0x689308=_0x158247,_0x4851a2=this[_0x689308(0x210)][_0x689308(0x1e1)](_0x1c0ead=>_0x1c0ead[_0x689308(0x1e8)]==_0x5ae8ab[_0x689308(0x1e8)]);-0x1===_0x4851a2?this[_0x689308(0x210)][_0x689308(0x213)](_0x5ae8ab):this[_0x689308(0x210)][_0x4851a2]=_0x5ae8ab;}):this[_0x158247(0x210)]=_0x5e01c2;for(const _0x45c2c0 of _0x5e01c2[_0x158247(0x1f0)](_0x1f5fe7=>_0x1f5fe7[_0x158247(0x203)]))this[_0x158247(0x214)][_0x158247(0x202)](async _0x19cf54=>{const _0x245b86=_0x158247;let _0x466291=this[_0x245b86(0x1f4)](_0x45c2c0[_0x245b86(0x1e8)]);_0x466291||(_0x466291=new _0x22b186(this[_0x245b86(0x209)],{'part':_0x45c2c0,'uiIndex':this[_0x245b86(0x204)][_0x245b86(0x1f2)]+0x1,'areActionsDisabled':this[_0x245b86(0x1f9)],'availableActions':this[_0x245b86(0x1ff)]}),_0x466291[_0x245b86(0x1dd)](..._0x232536)['to'](this),this[_0x245b86(0x204)][_0x245b86(0x20e)](_0x466291),this[_0x245b86(0x212)]=!0x0),0x2===this[_0x245b86(0x204)][_0x245b86(0x1f2)]&&this[_0x245b86(0x204)][_0x245b86(0x1df)][_0x245b86(0x1e3)](!0x0),_0x466291[_0x245b86(0x1e3)](this[_0x245b86(0x204)][_0x245b86(0x1f2)]>0x1),await _0x466291[_0x245b86(0x211)]({'part':_0x45c2c0,'renderingStrategy':_0x277c81,'showUnchangedParts':this[_0x245b86(0x1f1)],'abortSignal':_0x19cf54});});return _0x3f4980?.[_0x158247(0x1e7)](_0x158247(0x20a),()=>{const _0x5e1dd6=_0x158247;this[_0x5e1dd6(0x214)][_0x5e1dd6(0x20a)]();}),this[_0x158247(0x214)][_0x158247(0x1e4)];}[_0x51b509(0x201)](_0x57b6ca,_0x64a955){const _0x4f4242=_0x51b509,_0x171d39=this[_0x4f4242(0x1f4)](_0x57b6ca);_0x171d39&&(_0x171d39[_0x4f4242(0x218)]=_0x64a955),this[_0x4f4242(0x212)]=_0x4f4242(0x206)==_0x64a955||Array[_0x4f4242(0x1ec)](this[_0x4f4242(0x204)])[_0x4f4242(0x1e0)](_0x2a60bf=>_0x4f4242(0x206)==_0x2a60bf[_0x4f4242(0x218)]);}[_0x51b509(0x1f4)](_0x2aa1c5){const _0x450c2f=_0x51b509;return this[_0x450c2f(0x204)][_0x450c2f(0x20b)](_0x1f97e6=>_0x1f97e6[_0x450c2f(0x1f5)][_0x450c2f(0x1e8)]==_0x2aa1c5)??null;}[_0x51b509(0x1fd)](){const _0x1301b9=_0x51b509;if(!this[_0x1301b9(0x1f1)]){const _0x30e360=!this[_0x1301b9(0x210)][_0x1301b9(0x20b)](({hasChanges:_0x4fc4b5})=>_0x4fc4b5),_0x458827=!!this[_0x1301b9(0x210)][_0x1301b9(0x20b)](({hasChanges:_0x3b47bf})=>!_0x3b47bf);this[_0x1301b9(0x207)][_0x1301b9(0x205)]=0x0==this[_0x1301b9(0x204)][_0x1301b9(0x1f2)]||_0x458827,_0x30e360?this[_0x1301b9(0x207)][_0x1301b9(0x1ee)](_0x165ad1(this[_0x1301b9(0x209)],_0x1301b9(0x1eb))):this[_0x1301b9(0x207)][_0x1301b9(0x1ee)](_0x165ad1(this[_0x1301b9(0x209)],_0x1301b9(0x1ea)));}}get[_0x51b509(0x1e2)](){const _0x2f455f=_0x51b509;return!!this[_0x2f455f(0x204)][_0x2f455f(0x20b)](_0x5bb685=>_0x5bb685[_0x2f455f(0x1f5)][_0x2f455f(0x203)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5398ed=_0x470b;(function(_0x4d9373,_0x11aee5){const _0x3f4a23=_0x470b,_0x377d7b=_0x4d9373();while(!![]){try{const _0x49bcbb=parseInt(_0x3f4a23(0x184))/0x1+-parseInt(_0x3f4a23(0x141))/0x2+parseInt(_0x3f4a23(0x175))/0x3+parseInt(_0x3f4a23(0x196))/0x4*(-parseInt(_0x3f4a23(0x18f))/0x5)+-parseInt(_0x3f4a23(0x179))/0x6*(parseInt(_0x3f4a23(0x17d))/0x7)+-parseInt(_0x3f4a23(0x190))/0x8+parseInt(_0x3f4a23(0x17e))/0x9*(parseInt(_0x3f4a23(0x150))/0xa);if(_0x49bcbb===_0x11aee5)break;else _0x377d7b['push'](_0x377d7b['shift']());}catch(_0x3cccde){_0x377d7b['push'](_0x377d7b['shift']());}}}(_0x3635,0x423c6));import{IconWeb as _0x146e5f}from'@ckeditor/ckeditor5-icons';import{View as _0x2f5c56,ButtonView as _0x15e239,IconView as _0x299f0c}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0xba3fe3}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x4d75fa}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x19d641}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x527548}from'../../utils/eventnames.js';import{AISpinnerView as _0x31e85a}from'../aispinner.js';function _0x3635(){const _0x28b337=['children','textContent','ck-ai-web-sources','.ck-ai-suggestion__error-text','loaderView','element','querySelector','35094ZGUmkT','ck-ai-suggestion__loader','url','sourcesView','6yOUvDh','AI_CHAT_IS_WRITING','ck-ai-web-sources__header','addMany','3186456IhFIOP','549ZgAdnh','extendTemplate','isErrorVisible','updateSources','ck-ai-suggestion__error','toggleShowChanges','389082pEbGnW','div','showChangesToggleView','bindTemplate','delegate','_createLoaderView','span','hideLoader','AI_CHAT_SOURCES_HEADER','set','headerView','5YKiFDP','1022448dAuxGX','ck-rounded-corners','bodyView','areChangesVisible','setErrorState','ck-ai-suggestion__loader-text','1968852SdmlnM','showError','content','311578rBgBuL','isOn','icon','clearLoading','isLoaderVisible','map','hasNonEmptyParts','_createErrorView','add','ck-hidden','hideError','updateContent','createCollection','isVisible','ck-ai-suggestion__error-text','180580CnsIRx','miniToolbarView','isShowChangesToggleVisible','ck-ai-web-source__image','clearErrorState','title','AI_CHAT_GENERIC_ERROR','small','setTemplate','isLoading','updateContentParts','locale','fire','removeNavigationItem','errorView','favicon','ck-ai-suggestion__container','ck\x20ck-ai-web-source','showLoader','remove','img','toggleSuggestionDisplayMode','open','isEnabled','markAsDone','items','_blank','bind','setLoading','addNavigationItem'];_0x3635=function(){return _0x28b337;};return _0x3635();}import{getTranslation as _0x45a966}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x2f5c56{[_0x5398ed(0x192)];[_0x5398ed(0x151)];[_0x5398ed(0x16e)];[_0x5398ed(0x18e)];[_0x5398ed(0x172)];[_0x5398ed(0x15e)];[_0x5398ed(0x178)];constructor(_0x161949,_0x496875){const _0x32bd31=_0x5398ed;super(_0x161949);const {showDiff:_0x2d87d6,areActionsDisabled:_0x3982ca,miniToolbarConfig:_0x386036,hideHeader:_0x1ccee2,showLoader:_0xd124cd,showUnchangedParts:_0x2fee24,availableActions:_0x2d2d7b}=_0x496875;this[_0x32bd31(0x18d)](_0x32bd31(0x193),!0x1),this[_0x32bd31(0x18d)](_0x32bd31(0x145),!!_0xd124cd),this[_0x32bd31(0x18d)](_0x32bd31(0x180),!0x1),this[_0x32bd31(0x18d)](_0x32bd31(0x159),!0x1),this[_0x32bd31(0x16e)]=this[_0x32bd31(0x14d)](),_0x1ccee2||(this[_0x32bd31(0x18e)]=new _0x4d75fa(_0x161949,{'showDiff':_0x2d87d6}),this[_0x32bd31(0x18e)]['on'](_0x32bd31(0x183),(_0x30cadc,_0x10dc87)=>{const _0x4dc5f8=_0x32bd31;this[_0x4dc5f8(0x193)]=_0x10dc87[_0x4dc5f8(0x142)],this[_0x4dc5f8(0x15c)](_0x4dc5f8(0x165),{'showDiff':_0x10dc87[_0x4dc5f8(0x142)]});}),this[_0x32bd31(0x16e)][_0x32bd31(0x149)](this[_0x32bd31(0x18e)])),this[_0x32bd31(0x192)]=new _0x19d641(_0x161949,{'areActionsDisabled':_0x3982ca,'showUnchangedParts':!!_0x2fee24,'availableActions':_0x2d2d7b}),this[_0x32bd31(0x192)][_0x32bd31(0x188)](..._0x527548)['to'](this),this[_0x32bd31(0x192)][_0x32bd31(0x17f)]({'attributes':{'class':[this[_0x32bd31(0x187)]['if'](_0x32bd31(0x145),_0x32bd31(0x14a)),this[_0x32bd31(0x187)]['if'](_0x32bd31(0x180),_0x32bd31(0x14a))]}}),this[_0x32bd31(0x151)]=new _0xba3fe3(_0x161949,_0x386036,_0x2d87d6),this[_0x32bd31(0x151)][_0x32bd31(0x188)](..._0x527548)['to'](this),this[_0x32bd31(0x151)]['on'](_0x32bd31(0x183),(_0x3c5fe7,_0x21aa39)=>{const _0x2a73bd=_0x32bd31;this[_0x2a73bd(0x193)]=_0x21aa39,this[_0x2a73bd(0x15c)](_0x2a73bd(0x165),{'showDiff':_0x21aa39});}),this[_0x32bd31(0x151)][_0x32bd31(0x16b)](_0x32bd31(0x159))['to'](this),this[_0x32bd31(0x16e)][_0x32bd31(0x149)](this[_0x32bd31(0x192)]),this[_0x32bd31(0x16e)][_0x32bd31(0x149)](this[_0x32bd31(0x151)]),this[_0x32bd31(0x178)]=new AIWebSourcesView(this[_0x32bd31(0x15b)]),this[_0x32bd31(0x16e)][_0x32bd31(0x149)](this[_0x32bd31(0x178)]),_0xd124cd&&(this[_0x32bd31(0x172)]=this[_0x32bd31(0x189)](),this[_0x32bd31(0x16e)][_0x32bd31(0x149)](this[_0x32bd31(0x172)])),this[_0x32bd31(0x15e)]=this[_0x32bd31(0x148)](),this[_0x32bd31(0x16e)][_0x32bd31(0x149)](this[_0x32bd31(0x15e)]),this[_0x32bd31(0x158)]({'tag':_0x32bd31(0x185),'attributes':{'class':['ck',_0x32bd31(0x160),_0x32bd31(0x191)]},'children':this[_0x32bd31(0x16e)]});}async[_0x5398ed(0x14c)](_0xab4a15){const _0x353634=_0x5398ed;await this[_0x353634(0x192)][_0x353634(0x15a)](_0xab4a15);}[_0x5398ed(0x181)](_0x1aeced){const _0x4cd899=_0x5398ed;this[_0x4cd899(0x178)][_0x4cd899(0x16e)][_0x4cd899(0x17c)](_0x1aeced[_0x4cd899(0x146)](_0x21c5f8=>new AIWebSourceView(this[_0x4cd899(0x15b)],_0x21c5f8))),this[_0x4cd899(0x178)][_0x4cd899(0x14e)]=!0x0;}[_0x5398ed(0x162)](){const _0xb6be41=_0x5398ed;this[_0xb6be41(0x172)]&&(this[_0xb6be41(0x145)]=!0x0);}[_0x5398ed(0x18b)](){const _0x9603e1=_0x5398ed;this[_0x9603e1(0x172)]&&(this[_0x9603e1(0x145)]=!0x1);}[_0x5398ed(0x197)](_0x1175d3){const _0x33c311=_0x5398ed;if(this[_0x33c311(0x15e)]){const _0x57976c=this[_0x33c311(0x15e)][_0x33c311(0x173)]?.[_0x33c311(0x174)](_0x33c311(0x171));_0x57976c&&(_0x57976c[_0x33c311(0x16f)]=_0x1175d3),this[_0x33c311(0x180)]=!0x0;}}[_0x5398ed(0x14b)](){const _0x486439=_0x5398ed;this[_0x486439(0x15e)]&&(this[_0x486439(0x180)]=!0x1);}[_0x5398ed(0x168)](){const _0x138d31=_0x5398ed;this[_0x138d31(0x192)][_0x138d31(0x168)](),this[_0x138d31(0x18e)]&&(this[_0x138d31(0x18e)][_0x138d31(0x152)]=this[_0x138d31(0x192)][_0x138d31(0x147)]);}[_0x5398ed(0x16c)](){const _0x44ce2a=_0x5398ed;this[_0x44ce2a(0x159)]=!0x0;}[_0x5398ed(0x144)](){const _0x57147e=_0x5398ed;this[_0x57147e(0x159)]=!0x1;}[_0x5398ed(0x194)](){const _0x1c5148=_0x5398ed;this[_0x1c5148(0x151)]&&(this[_0x1c5148(0x151)][_0x1c5148(0x159)]=!0x0),this[_0x1c5148(0x18e)]?.[_0x1c5148(0x186)]&&(this[_0x1c5148(0x18e)][_0x1c5148(0x186)][_0x1c5148(0x167)]=!0x1);}[_0x5398ed(0x154)](){const _0x4dbe4f=_0x5398ed;this[_0x4dbe4f(0x151)]&&(this[_0x4dbe4f(0x151)][_0x4dbe4f(0x159)]=!0x1),this[_0x4dbe4f(0x18e)]?.[_0x4dbe4f(0x186)]&&(this[_0x4dbe4f(0x18e)][_0x4dbe4f(0x186)][_0x4dbe4f(0x167)]=!0x0);}[_0x5398ed(0x16d)](_0x52488f){const _0x52e403=_0x5398ed;this[_0x52e403(0x151)][_0x52e403(0x169)][_0x52e403(0x149)](_0x52488f);}[_0x5398ed(0x15d)](_0x3f09a3){const _0x2e54f4=_0x5398ed;this[_0x2e54f4(0x151)][_0x2e54f4(0x169)][_0x2e54f4(0x163)](_0x3f09a3);}[_0x5398ed(0x189)](){const _0x5f08cc=_0x5398ed,_0x589ce4=new _0x2f5c56(this[_0x5f08cc(0x15b)]),_0x2bd9fe=new _0x31e85a(_0x5f08cc(0x157));_0x2bd9fe[_0x5f08cc(0x14e)]=!0x0;const _0x1e8989=new _0x2f5c56(this[_0x5f08cc(0x15b)]);return _0x1e8989[_0x5f08cc(0x158)]({'tag':_0x5f08cc(0x18a),'attributes':{'class':['ck',_0x5f08cc(0x195)]},'children':[_0x45a966(this[_0x5f08cc(0x15b)],_0x5f08cc(0x17a))]}),_0x589ce4[_0x5f08cc(0x158)]({'tag':_0x5f08cc(0x185),'attributes':{'class':['ck',_0x5f08cc(0x176),this[_0x5f08cc(0x187)]['if'](_0x5f08cc(0x145),_0x5f08cc(0x14a),_0x493127=>!_0x493127)]},'children':[_0x2bd9fe,_0x1e8989]}),_0x589ce4;}[_0x5398ed(0x148)](){const _0x1095cf=_0x5398ed,_0x1620af=new _0x2f5c56(this[_0x1095cf(0x15b)]),_0xb581cd=new _0x2f5c56(this[_0x1095cf(0x15b)]);return _0xb581cd[_0x1095cf(0x158)]({'tag':_0x1095cf(0x18a),'attributes':{'class':['ck',_0x1095cf(0x14f)]},'children':[_0x45a966(this[_0x1095cf(0x15b)],_0x1095cf(0x156))]}),_0x1620af[_0x1095cf(0x158)]({'tag':_0x1095cf(0x185),'attributes':{'class':['ck',_0x1095cf(0x182),this[_0x1095cf(0x187)]['if'](_0x1095cf(0x180),_0x1095cf(0x14a),_0x1d8b54=>!_0x1d8b54)]},'children':[_0xb581cd]}),_0x1620af;}}function _0x470b(_0x478eb6,_0x2793ef){const _0x3635a3=_0x3635();return _0x470b=function(_0x470b91,_0x3e9d7c){_0x470b91=_0x470b91-0x141;let _0x413f9c=_0x3635a3[_0x470b91];return _0x413f9c;},_0x470b(_0x478eb6,_0x2793ef);}export class AIWebSourcesView extends _0x2f5c56{[_0x5398ed(0x16e)];constructor(_0x110cf8){const _0x2c0cb6=_0x5398ed;super(_0x110cf8),this[_0x2c0cb6(0x16e)]=this[_0x2c0cb6(0x14d)](),this[_0x2c0cb6(0x18d)](_0x2c0cb6(0x14e),!0x1),this[_0x2c0cb6(0x158)]({'tag':_0x2c0cb6(0x185),'attributes':{'class':['ck',_0x2c0cb6(0x170),this[_0x2c0cb6(0x187)]['if'](_0x2c0cb6(0x14e),_0x2c0cb6(0x14a),_0xa805c2=>!_0xa805c2)]},'children':this[_0x2c0cb6(0x16e)]});const _0x5ebb31=new _0x2f5c56(this[_0x2c0cb6(0x15b)]),_0x2c19cf=new _0x299f0c();_0x2c19cf[_0x2c0cb6(0x198)]=_0x146e5f,_0x5ebb31[_0x2c0cb6(0x158)]({'tag':_0x2c0cb6(0x185),'attributes':{'class':['ck',_0x2c0cb6(0x17b)]},'children':[_0x2c19cf,{'tag':_0x2c0cb6(0x18a),'children':[{'text':_0x45a966(this[_0x2c0cb6(0x15b)],_0x2c0cb6(0x18c))}]}]}),this[_0x2c0cb6(0x16e)][_0x2c0cb6(0x149)](_0x5ebb31);}}export class AIWebSourceView extends _0x15e239{constructor(_0x137175,_0x37fea7){const _0x24aa4a=_0x5398ed;super(_0x137175),this[_0x24aa4a(0x18d)]({'label':_0x37fea7[_0x24aa4a(0x155)],'tooltip':_0x37fea7[_0x24aa4a(0x155)],'class':[_0x24aa4a(0x161)],'withText':!0x0});const _0x108aa6=this[_0x24aa4a(0x187)];if(this[_0x24aa4a(0x17f)]({'on':{'click':_0x108aa6['to'](()=>{const _0x567e56=_0x24aa4a;window[_0x567e56(0x166)](_0x37fea7[_0x567e56(0x177)],_0x567e56(0x16a));})}}),_0x37fea7[_0x24aa4a(0x15f)]){const _0x35a949=new _0x2f5c56(_0x137175);_0x35a949[_0x24aa4a(0x158)]({'tag':_0x24aa4a(0x164),'attributes':{'src':_0x37fea7[_0x24aa4a(0x15f)]||_0x146e5f,'alt':_0x37fea7[_0x24aa4a(0x155)],'class':[_0x24aa4a(0x153)]}}),this[_0x24aa4a(0x16e)][_0x24aa4a(0x149)](_0x35a949);}else this[_0x24aa4a(0x18d)](_0x24aa4a(0x143),_0x146e5f);}}
23
+ function _0x4c5e(){const _0x204482=['AI_CHAT_GENERIC_ERROR','10ROIHxb','updateContentParts','fire','2nPSopz','1911024bWHYDA','bodyView','addMany','762120cCmzej','clearLoading','.ck-ai-suggestion__error-text','10CXkSYm','AI_CHAT_IS_WRITING','3232071djlXqy','90936TNyBZX','isLoaderVisible','hideError','isShowChangesToggleVisible','showError','delegate','ck-hidden','bind','setErrorState','ck-ai-web-source__image','isOn','add','showLoader','favicon','setLoading','ck-rounded-corners','img','areChangesVisible','setTemplate','bindTemplate','map','hideLoader','small','span','children','isLoading','sourcesView','content','ck-ai-suggestion__container','ck-ai-suggestion__loader-text','ck-ai-web-sources','_createErrorView','isErrorVisible','AI_CHAT_SOURCES_HEADER','element','updateContent','icon','markAsDone','title','url','ck\x20ck-ai-web-source','querySelector','removeNavigationItem','clearErrorState','addNavigationItem','ck-ai-web-sources__header','remove','ck-ai-suggestion__error-text','errorView','headerView','items','div','isVisible','open','extendTemplate','210246xOEUww','createCollection','_createLoaderView','showChangesToggleView','hasNonEmptyParts','textContent','locale','ck-ai-suggestion__loader','set','updateSources','toggleShowChanges','isEnabled','ck-ai-suggestion__error','231732tLZBFM','miniToolbarView','toggleSuggestionDisplayMode','_blank','loaderView','2115106MUNFNx'];_0x4c5e=function(){return _0x204482;};return _0x4c5e();}const _0x1da984=_0x10f8;(function(_0x34821b,_0x177d5f){const _0x969e8e=_0x10f8,_0x241c01=_0x34821b();while(!![]){try{const _0x7f17f4=-parseInt(_0x969e8e(0x86))/0x1+parseInt(_0x969e8e(0x90))/0x2*(parseInt(_0x969e8e(0x9a))/0x3)+parseInt(_0x969e8e(0x94))/0x4+parseInt(_0x969e8e(0x8d))/0x5*(parseInt(_0x969e8e(0x79))/0x6)+parseInt(_0x969e8e(0x8b))/0x7+parseInt(_0x969e8e(0x91))/0x8+-parseInt(_0x969e8e(0x99))/0x9*(parseInt(_0x969e8e(0x97))/0xa);if(_0x7f17f4===_0x177d5f)break;else _0x241c01['push'](_0x241c01['shift']());}catch(_0x144876){_0x241c01['push'](_0x241c01['shift']());}}}(_0x4c5e,0x3add5));function _0x10f8(_0x100764,_0x303631){const _0x4c5ef2=_0x4c5e();return _0x10f8=function(_0x10f876,_0x3b0763){_0x10f876=_0x10f876-0x72;let _0x42fdc7=_0x4c5ef2[_0x10f876];return _0x42fdc7;},_0x10f8(_0x100764,_0x303631);}import{IconWeb as _0x2ea748}from'@ckeditor/ckeditor5-icons';import{View as _0x1a9f56,ButtonView as _0x524081,IconView as _0x28659e}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x26d643}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0xdea083}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x21a5e3}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x3b2c5f}from'../../utils/eventnames.js';import{AISpinnerView as _0x44a4af}from'../aispinner.js';import{getTranslation as _0x4cee78}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x1a9f56{[_0x1da984(0x92)];[_0x1da984(0x87)];[_0x1da984(0xb2)];[_0x1da984(0x73)];[_0x1da984(0x8a)];[_0x1da984(0x72)];[_0x1da984(0xb4)];constructor(_0xf5b86d,_0x2ae6f9){const _0x2a65fd=_0x1da984;super(_0xf5b86d);const {showDiff:_0x466575,areActionsDisabled:_0x1eb0a7,miniToolbarConfig:_0x209207,hideHeader:_0x564224,showLoader:_0x54741f,showUnchangedParts:_0x534fcb,availableActions:_0x2ba278}=_0x2ae6f9;this[_0x2a65fd(0x81)](_0x2a65fd(0xab),!0x1),this[_0x2a65fd(0x81)](_0x2a65fd(0x9b),!!_0x54741f),this[_0x2a65fd(0x81)](_0x2a65fd(0xba),!0x1),this[_0x2a65fd(0x81)](_0x2a65fd(0xb3),!0x1),this[_0x2a65fd(0xb2)]=this[_0x2a65fd(0x7a)](),_0x564224||(this[_0x2a65fd(0x73)]=new _0xdea083(_0xf5b86d,{'showDiff':_0x466575}),this[_0x2a65fd(0x73)]['on'](_0x2a65fd(0x83),(_0x114cc5,_0x5126fd)=>{const _0x10fd00=_0x2a65fd;this[_0x10fd00(0xab)]=_0x5126fd[_0x10fd00(0xa4)],this[_0x10fd00(0x8f)](_0x10fd00(0x88),{'showDiff':_0x5126fd[_0x10fd00(0xa4)]});}),this[_0x2a65fd(0xb2)][_0x2a65fd(0xa5)](this[_0x2a65fd(0x73)])),this[_0x2a65fd(0x92)]=new _0x21a5e3(_0xf5b86d,{'areActionsDisabled':_0x1eb0a7,'showUnchangedParts':!!_0x534fcb,'availableActions':_0x2ba278}),this[_0x2a65fd(0x92)][_0x2a65fd(0x9f)](..._0x3b2c5f)['to'](this),this[_0x2a65fd(0x92)][_0x2a65fd(0x78)]({'attributes':{'class':[this[_0x2a65fd(0xad)]['if'](_0x2a65fd(0x9b),_0x2a65fd(0xa0)),this[_0x2a65fd(0xad)]['if'](_0x2a65fd(0xba),_0x2a65fd(0xa0))]}}),this[_0x2a65fd(0x87)]=new _0x26d643(_0xf5b86d,_0x209207,_0x466575),this[_0x2a65fd(0x87)][_0x2a65fd(0x9f)](..._0x3b2c5f)['to'](this),this[_0x2a65fd(0x87)]['on'](_0x2a65fd(0x83),(_0x37a7eb,_0x2ab9ef)=>{const _0x14fdcf=_0x2a65fd;this[_0x14fdcf(0xab)]=_0x2ab9ef,this[_0x14fdcf(0x8f)](_0x14fdcf(0x88),{'showDiff':_0x2ab9ef});}),this[_0x2a65fd(0x87)][_0x2a65fd(0xa1)](_0x2a65fd(0xb3))['to'](this),this[_0x2a65fd(0xb2)][_0x2a65fd(0xa5)](this[_0x2a65fd(0x92)]),this[_0x2a65fd(0xb2)][_0x2a65fd(0xa5)](this[_0x2a65fd(0x87)]),this[_0x2a65fd(0xb4)]=new AIWebSourcesView(this[_0x2a65fd(0x7f)]),this[_0x2a65fd(0xb2)][_0x2a65fd(0xa5)](this[_0x2a65fd(0xb4)]),_0x54741f&&(this[_0x2a65fd(0x8a)]=this[_0x2a65fd(0x7b)](),this[_0x2a65fd(0xb2)][_0x2a65fd(0xa5)](this[_0x2a65fd(0x8a)])),this[_0x2a65fd(0x72)]=this[_0x2a65fd(0xb9)](),this[_0x2a65fd(0xb2)][_0x2a65fd(0xa5)](this[_0x2a65fd(0x72)]),this[_0x2a65fd(0xac)]({'tag':_0x2a65fd(0x75),'attributes':{'class':['ck',_0x2a65fd(0xb6),_0x2a65fd(0xa9)]},'children':this[_0x2a65fd(0xb2)]});}async[_0x1da984(0xbd)](_0x3572fb){const _0x411440=_0x1da984;await this[_0x411440(0x92)][_0x411440(0x8e)](_0x3572fb);}[_0x1da984(0x82)](_0x90d801){const _0x4050a4=_0x1da984;this[_0x4050a4(0xb4)][_0x4050a4(0xb2)][_0x4050a4(0x93)](_0x90d801[_0x4050a4(0xae)](_0x3630d9=>new AIWebSourceView(this[_0x4050a4(0x7f)],_0x3630d9))),this[_0x4050a4(0xb4)][_0x4050a4(0x76)]=!0x0;}[_0x1da984(0xa6)](){const _0x22780e=_0x1da984;this[_0x22780e(0x8a)]&&(this[_0x22780e(0x9b)]=!0x0);}[_0x1da984(0xaf)](){const _0x419dd3=_0x1da984;this[_0x419dd3(0x8a)]&&(this[_0x419dd3(0x9b)]=!0x1);}[_0x1da984(0x9e)](_0x2c0080){const _0xb8e7bd=_0x1da984;if(this[_0xb8e7bd(0x72)]){const _0x188cba=this[_0xb8e7bd(0x72)][_0xb8e7bd(0xbc)]?.[_0xb8e7bd(0xc3)](_0xb8e7bd(0x96));_0x188cba&&(_0x188cba[_0xb8e7bd(0x7e)]=_0x2c0080),this[_0xb8e7bd(0xba)]=!0x0;}}[_0x1da984(0x9c)](){const _0x336946=_0x1da984;this[_0x336946(0x72)]&&(this[_0x336946(0xba)]=!0x1);}[_0x1da984(0xbf)](){const _0x5d7e32=_0x1da984;this[_0x5d7e32(0x92)][_0x5d7e32(0xbf)](),this[_0x5d7e32(0x73)]&&(this[_0x5d7e32(0x73)][_0x5d7e32(0x9d)]=this[_0x5d7e32(0x92)][_0x5d7e32(0x7d)]);}[_0x1da984(0xa8)](){const _0x49170e=_0x1da984;this[_0x49170e(0xb3)]=!0x0;}[_0x1da984(0x95)](){const _0x1a882d=_0x1da984;this[_0x1a882d(0xb3)]=!0x1;}[_0x1da984(0xa2)](){const _0x41a972=_0x1da984;this[_0x41a972(0x87)]&&(this[_0x41a972(0x87)][_0x41a972(0xb3)]=!0x0),this[_0x41a972(0x73)]?.[_0x41a972(0x7c)]&&(this[_0x41a972(0x73)][_0x41a972(0x7c)][_0x41a972(0x84)]=!0x1);}[_0x1da984(0xc5)](){const _0x919214=_0x1da984;this[_0x919214(0x87)]&&(this[_0x919214(0x87)][_0x919214(0xb3)]=!0x1),this[_0x919214(0x73)]?.[_0x919214(0x7c)]&&(this[_0x919214(0x73)][_0x919214(0x7c)][_0x919214(0x84)]=!0x0);}[_0x1da984(0xc6)](_0x4ce5e0){const _0x339412=_0x1da984;this[_0x339412(0x87)][_0x339412(0x74)][_0x339412(0xa5)](_0x4ce5e0);}[_0x1da984(0xc4)](_0xd9e9e4){const _0x5ad5cc=_0x1da984;this[_0x5ad5cc(0x87)][_0x5ad5cc(0x74)][_0x5ad5cc(0xc8)](_0xd9e9e4);}[_0x1da984(0x7b)](){const _0x4706e8=_0x1da984,_0x23b57f=new _0x1a9f56(this[_0x4706e8(0x7f)]),_0x3aa8e3=new _0x44a4af(_0x4706e8(0xb0));_0x3aa8e3[_0x4706e8(0x76)]=!0x0;const _0x19a19a=new _0x1a9f56(this[_0x4706e8(0x7f)]);return _0x19a19a[_0x4706e8(0xac)]({'tag':_0x4706e8(0xb1),'attributes':{'class':['ck',_0x4706e8(0xb7)]},'children':[_0x4cee78(this[_0x4706e8(0x7f)],_0x4706e8(0x98))]}),_0x23b57f[_0x4706e8(0xac)]({'tag':_0x4706e8(0x75),'attributes':{'class':['ck',_0x4706e8(0x80),this[_0x4706e8(0xad)]['if'](_0x4706e8(0x9b),_0x4706e8(0xa0),_0x38e62d=>!_0x38e62d)]},'children':[_0x3aa8e3,_0x19a19a]}),_0x23b57f;}[_0x1da984(0xb9)](){const _0x3a1f8f=_0x1da984,_0x47be01=new _0x1a9f56(this[_0x3a1f8f(0x7f)]),_0x1bd537=new _0x1a9f56(this[_0x3a1f8f(0x7f)]);return _0x1bd537[_0x3a1f8f(0xac)]({'tag':_0x3a1f8f(0xb1),'attributes':{'class':['ck',_0x3a1f8f(0xc9)]},'children':[_0x4cee78(this[_0x3a1f8f(0x7f)],_0x3a1f8f(0x8c))]}),_0x47be01[_0x3a1f8f(0xac)]({'tag':_0x3a1f8f(0x75),'attributes':{'class':['ck',_0x3a1f8f(0x85),this[_0x3a1f8f(0xad)]['if'](_0x3a1f8f(0xba),_0x3a1f8f(0xa0),_0x5e980f=>!_0x5e980f)]},'children':[_0x1bd537]}),_0x47be01;}}export class AIWebSourcesView extends _0x1a9f56{[_0x1da984(0xb2)];constructor(_0x173c19){const _0x1be0db=_0x1da984;super(_0x173c19),this[_0x1be0db(0xb2)]=this[_0x1be0db(0x7a)](),this[_0x1be0db(0x81)](_0x1be0db(0x76),!0x1),this[_0x1be0db(0xac)]({'tag':_0x1be0db(0x75),'attributes':{'class':['ck',_0x1be0db(0xb8),this[_0x1be0db(0xad)]['if'](_0x1be0db(0x76),_0x1be0db(0xa0),_0x5e6ce6=>!_0x5e6ce6)]},'children':this[_0x1be0db(0xb2)]});const _0x4429fc=new _0x1a9f56(this[_0x1be0db(0x7f)]),_0x150e33=new _0x28659e();_0x150e33[_0x1be0db(0xb5)]=_0x2ea748,_0x4429fc[_0x1be0db(0xac)]({'tag':_0x1be0db(0x75),'attributes':{'class':['ck',_0x1be0db(0xc7)]},'children':[_0x150e33,{'tag':_0x1be0db(0xb1),'children':[{'text':_0x4cee78(this[_0x1be0db(0x7f)],_0x1be0db(0xbb))}]}]}),this[_0x1be0db(0xb2)][_0x1be0db(0xa5)](_0x4429fc);}}export class AIWebSourceView extends _0x524081{constructor(_0x452bac,_0x362594){const _0xf39302=_0x1da984;super(_0x452bac),this[_0xf39302(0x81)]({'label':_0x362594[_0xf39302(0xc0)],'tooltip':_0x362594[_0xf39302(0xc0)],'class':[_0xf39302(0xc2)],'withText':!0x0});const _0x4fb2d3=this[_0xf39302(0xad)];if(this[_0xf39302(0x78)]({'on':{'click':_0x4fb2d3['to'](()=>{const _0x480641=_0xf39302;window[_0x480641(0x77)](_0x362594[_0x480641(0xc1)],_0x480641(0x89));})}}),_0x362594[_0xf39302(0xa7)]){const _0x5e1ffa=new _0x1a9f56(_0x452bac);_0x5e1ffa[_0xf39302(0xac)]({'tag':_0xf39302(0xaa),'attributes':{'src':_0x362594[_0xf39302(0xa7)]||_0x2ea748,'alt':_0x362594[_0xf39302(0xc0)],'class':[_0xf39302(0xa3)]}}),this[_0xf39302(0xb2)][_0xf39302(0xa5)](_0x5e1ffa);}else this[_0xf39302(0x81)](_0xf39302(0xbe),_0x2ea748);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c4f5d=_0x1699;(function(_0x435ef4,_0x5b49ff){const _0x45b9e1=_0x1699,_0xfd504=_0x435ef4();while(!![]){try{const _0x234487=-parseInt(_0x45b9e1(0x1c4))/0x1+parseInt(_0x45b9e1(0x1b3))/0x2*(-parseInt(_0x45b9e1(0x1be))/0x3)+parseInt(_0x45b9e1(0x1f4))/0x4*(parseInt(_0x45b9e1(0x1ce))/0x5)+-parseInt(_0x45b9e1(0x1aa))/0x6+parseInt(_0x45b9e1(0x1c3))/0x7*(-parseInt(_0x45b9e1(0x1e1))/0x8)+-parseInt(_0x45b9e1(0x1bf))/0x9*(-parseInt(_0x45b9e1(0x1c2))/0xa)+parseInt(_0x45b9e1(0x1cc))/0xb;if(_0x234487===_0x5b49ff)break;else _0xfd504['push'](_0xfd504['shift']());}catch(_0x424cd8){_0xfd504['push'](_0xfd504['shift']());}}}(_0x391a,0x3ac41));import{View as _0x59fbb2,IconView as _0x8b6642,ToolbarView as _0x47a300,ButtonView as _0x39856b}from'ckeditor5/src/ui.js';function _0x391a(){const _0x5ccfd2=['AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','AI_SUGGESTION_CONTENT_PART_DELETE','ck-ai-suggestion__body__content-part__title__label','div','items','ck-content','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','ck-ai-suggestion__body__content-part__icon-rejected','AI_SUGGESTION_CONTENT_PART_REJECTED','996051CWRpBe','336051peUPjs','innerHTML','content','80eQXMsM','1795731sehlGT','301800SylAmM','streaming','rejectSuggestion','animation:\x20ck-html-streamer-fade-in\x20.5s','ck-ai-suggestion__body__content-part__title','isEnabled','ck-ai-suggestion__body__content-part_','hasChanges','6458617mJgRgv','bind','10NWMKbT','ck-ai-suggestion__body__content-part__icon-title','pending','fire','htmlStreamer','ck-ai-suggestion__body__content-part__content','delegate','remove','_toolbarView','isVisible','span','mouseLeaveSuggestion','_iconStateRejected','ck-ai-suggestion__body__content-part_active','createCollection','_iconStateAccepted','contentView','partDefinition','extendTemplate','8riHjnH','element','stream','addMany','children','ck-ai-suggestion__body__content-part','insertSuggestion','_iconStateOutdated','rejected','outdated','includes','ck-reset_all-excluded','setTemplate','has','toString','AI_SUGGESTION_CONTENT_PART_OUTDATED','index','ck-ai-suggestion__body__content-part__icon-outdated','accepted','696892cnGIqG','state','ck-hidden','execute','headerView','bindTemplate','ck-ai-suggestion__body__content-part__icon-accepted','push','619500SOnkfT','set','toggleHeader','add','updateContent','change:state','AI_SUGGESTION_CONTENT_PART_TITLE','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','mouseOverSuggestion','2zyzFFM','showChangeInText'];_0x391a=function(){return _0x5ccfd2;};return _0x391a();}import{IconAddComment as _0x21b9a5,IconDocumentWithLoupe as _0x5707dc,IconDocumentWithCheckmark as _0x12658b,IconDocumentWithCross as _0x5afd2c,IconRemove as _0x887d8a,IconThreeStars as _0x52ae50}from'ckeditor5/src/icons.js';import{HTMLStreamer as _0x528f22}from'../../utils/htmlstreamer.js';import{getTranslation as _0x4f503a}from'../../utils/common-translations.js';import{serialize as _0x5d62a4}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x34e82c}from'../../utils/eventnames.js';function _0x1699(_0x4e7730,_0x400f37){const _0x391a58=_0x391a();return _0x1699=function(_0x169927,_0x1ce276){_0x169927=_0x169927-0x1a6;let _0x287eef=_0x391a58[_0x169927];return _0x287eef;},_0x1699(_0x4e7730,_0x400f37);}export class AISuggestionBodyViewContentPartView extends _0x59fbb2{[_0x5c4f5d(0x1d2)];[_0x5c4f5d(0x1e5)];[_0x5c4f5d(0x1a6)];[_0x5c4f5d(0x1de)];constructor(_0x3b99fc,{part:_0x772017,uiIndex:_0x280384,areActionsDisabled:_0x39098d,availableActions:_0xab72b3}){const _0x2ec07f=_0x5c4f5d;super(_0x3b99fc),this[_0x2ec07f(0x1ab)](_0x2ec07f(0x1df),_0x772017),this[_0x2ec07f(0x1ab)](_0x2ec07f(0x1f5),_0x2ec07f(0x1d0)),this[_0x2ec07f(0x1ab)](_0x2ec07f(0x1d7),!0x1),this[_0x2ec07f(0x1cd)](_0x2ec07f(0x1c9))['to'](this,_0x2ec07f(0x1f5),_0x41d2f6=>_0x2ec07f(0x1d0)==_0x41d2f6&&!_0x39098d),this[_0x2ec07f(0x1e5)]=this[_0x2ec07f(0x1dc)](),this[_0x2ec07f(0x1d2)]=new _0x528f22({'textNodeStyle':_0x2ec07f(0x1c7),'delay':0x14}),this[_0x2ec07f(0x1a6)]=new Un(_0x3b99fc,{'part':_0x772017,'uiIndex':_0x280384,'availableActions':_0xab72b3}),this[_0x2ec07f(0x1a6)][_0x2ec07f(0x1cd)](_0x2ec07f(0x1df))['to'](this),this[_0x2ec07f(0x1a6)][_0x2ec07f(0x1cd)](_0x2ec07f(0x1c9))['to'](this),this[_0x2ec07f(0x1a6)][_0x2ec07f(0x1cd)](_0x2ec07f(0x1f5))['to'](this),this[_0x2ec07f(0x1a6)][_0x2ec07f(0x1d4)](..._0x34e82c)['to'](this);const _0x59192d=this[_0x2ec07f(0x1a7)];this[_0x2ec07f(0x1de)]=new _0x59fbb2(),this[_0x2ec07f(0x1de)][_0x2ec07f(0x1ed)]({'tag':_0x2ec07f(0x1b8),'attributes':{'class':['ck',_0x2ec07f(0x1ba),_0x2ec07f(0x1ec),_0x2ec07f(0x1d3)]}}),this[_0x2ec07f(0x1e5)][_0x2ec07f(0x1e4)]([this[_0x2ec07f(0x1de)]]),this[_0x2ec07f(0x1ed)]({'tag':_0x2ec07f(0x1b8),'attributes':{'class':['ck',_0x2ec07f(0x1e6),_0x59192d['to'](_0x2ec07f(0x1f5),_0x4ac6d8=>_0x2ec07f(0x1ca)+_0x4ac6d8),_0x59192d['to'](_0x2ec07f(0x1c9),_0x1c035c=>_0x1c035c?_0x2ec07f(0x1db):void 0x0),_0x59192d['if'](_0x2ec07f(0x1d7),_0x2ec07f(0x1f6),_0x40a73a=>!_0x40a73a)]},'children':this[_0x2ec07f(0x1e5)],'on':{'mouseenter':_0x59192d['to'](()=>{const _0x5d324e=_0x2ec07f;this[_0x5d324e(0x1c9)]&&this[_0x5d324e(0x1d1)](_0x5d324e(0x1b2),{'index':_0x772017[_0x5d324e(0x1f1)]});}),'mouseleave':_0x59192d['to'](()=>{const _0x3d9e17=_0x2ec07f;this[_0x3d9e17(0x1c9)]&&this[_0x3d9e17(0x1d1)](_0x3d9e17(0x1d9),{'index':_0x772017[_0x3d9e17(0x1f1)]});})}});}async[_0x5c4f5d(0x1ae)]({part:_0x5d46f0,renderingStrategy:_0x4cb123,showUnchangedParts:_0x3110fe=!0x1,abortSignal:_0x5ba550}){const _0x3d7235=_0x5c4f5d;this[_0x3d7235(0x1df)]=_0x5d46f0,this[_0x3d7235(0x1d7)]=this[_0x3d7235(0x1df)][_0x3d7235(0x1cb)]||_0x3110fe,this[_0x3d7235(0x1d7)]&&(_0x3d7235(0x1c5)===_0x4cb123?await this[_0x3d7235(0x1d2)][_0x3d7235(0x1e3)]({'document':this[_0x3d7235(0x1df)][_0x3d7235(0x1c1)],'targetElement':this[_0x3d7235(0x1de)][_0x3d7235(0x1e2)],'abortSignal':_0x5ba550}):this[_0x3d7235(0x1de)][_0x3d7235(0x1e2)][_0x3d7235(0x1c0)]=_0x5d62a4(this[_0x3d7235(0x1df)][_0x3d7235(0x1c1)]));}[_0x5c4f5d(0x1ac)](_0xb1742a){const _0x1983a8=_0x5c4f5d;_0xb1742a?this[_0x1983a8(0x1e5)][_0x1983a8(0x1ee)](this[_0x1983a8(0x1a6)])||this[_0x1983a8(0x1e5)][_0x1983a8(0x1ad)](this[_0x1983a8(0x1a6)],0x0):this[_0x1983a8(0x1e5)][_0x1983a8(0x1ee)](this[_0x1983a8(0x1a6)])&&this[_0x1983a8(0x1e5)][_0x1983a8(0x1d5)](this[_0x1983a8(0x1a6)]);}}class Un extends _0x59fbb2{[_0x5c4f5d(0x1e5)];[_0x5c4f5d(0x1d6)];[_0x5c4f5d(0x1dd)];[_0x5c4f5d(0x1da)];[_0x5c4f5d(0x1e8)];constructor(_0x19962c,{part:_0x4c0e6a,uiIndex:_0xabc61a,availableActions:_0x1606c2}){const _0x25bce5=_0x5c4f5d;super(_0x19962c),this[_0x25bce5(0x1ab)](_0x25bce5(0x1df),_0x4c0e6a),this[_0x25bce5(0x1ab)](_0x25bce5(0x1c9),!0x0),this[_0x25bce5(0x1ab)](_0x25bce5(0x1f5),_0x25bce5(0x1d0));const _0x28e7cd=new _0x8b6642();_0x28e7cd[_0x25bce5(0x1c1)]=_0x52ae50,_0x28e7cd[_0x25bce5(0x1e0)]({'attributes':{'class':[_0x25bce5(0x1cf)]}});const _0x1118a3=[];if(_0x1606c2[_0x25bce5(0x1eb)](_0x25bce5(0x1b4))){const _0x1536cf=new _0x39856b(_0x19962c);_0x1536cf[_0x25bce5(0x1ab)]({'label':_0x4f503a(_0x19962c,_0x25bce5(0x1b1)),'tooltip':!0x0,'withText':!0x1,'icon':_0x5707dc}),_0x1536cf[_0x25bce5(0x1cd)](_0x25bce5(0x1c9))['to'](this),_0x1536cf['on'](_0x25bce5(0x1f7),()=>{const _0xc270a3=_0x25bce5;this[_0xc270a3(0x1d1)](_0xc270a3(0x1b4),{'index':_0x4c0e6a[_0xc270a3(0x1f1)]});}),_0x1118a3[_0x25bce5(0x1a9)](_0x1536cf);}if(_0x1606c2[_0x25bce5(0x1eb)](_0x25bce5(0x1e7))){const _0x35add2=new _0x39856b(_0x19962c);_0x35add2[_0x25bce5(0x1ab)]({'label':_0x4f503a(_0x19962c,_0x25bce5(0x1bb)),'tooltip':!0x0,'withText':!0x1,'icon':_0x21b9a5}),_0x35add2[_0x25bce5(0x1cd)](_0x25bce5(0x1c9))['to'](this),_0x35add2['on'](_0x25bce5(0x1f7),()=>{const _0x36a816=_0x25bce5;this[_0x36a816(0x1d1)](_0x36a816(0x1e7),{'index':_0x4c0e6a[_0x36a816(0x1f1)]});}),_0x1118a3[_0x25bce5(0x1a9)](_0x35add2);}const _0x56514f=new _0x39856b(_0x19962c);_0x56514f[_0x25bce5(0x1ab)]({'label':_0x4f503a(_0x19962c,_0x25bce5(0x1b6)),'tooltip':!0x0,'withText':!0x1,'icon':_0x887d8a}),_0x56514f[_0x25bce5(0x1cd)](_0x25bce5(0x1c9))['to'](this),_0x56514f['on'](_0x25bce5(0x1f7),()=>{const _0x48c8d0=_0x25bce5;this[_0x48c8d0(0x1d1)](_0x48c8d0(0x1c6),{'index':_0x4c0e6a[_0x48c8d0(0x1f1)]});}),_0x1118a3[_0x25bce5(0x1a9)](_0x56514f),this[_0x25bce5(0x1d6)]=new _0x47a300(_0x19962c),this[_0x25bce5(0x1d6)][_0x25bce5(0x1b9)][_0x25bce5(0x1e4)](_0x1118a3),this[_0x25bce5(0x1dd)]=new _0x8b6642(),this[_0x25bce5(0x1dd)][_0x25bce5(0x1c1)]=_0x12658b,this[_0x25bce5(0x1dd)][_0x25bce5(0x1e0)]({'attributes':{'class':[_0x25bce5(0x1a8)],'data-cke-tooltip-text':_0x4f503a(_0x19962c,_0x25bce5(0x1b5)),'data-cke-tooltip-position':'n'}}),this[_0x25bce5(0x1da)]=new _0x8b6642(),this[_0x25bce5(0x1da)][_0x25bce5(0x1c1)]=_0x5afd2c,this[_0x25bce5(0x1da)][_0x25bce5(0x1e0)]({'attributes':{'class':[_0x25bce5(0x1bc)],'data-cke-tooltip-text':_0x4f503a(_0x19962c,_0x25bce5(0x1bd)),'data-cke-tooltip-position':'n'}}),this[_0x25bce5(0x1e8)]=new _0x8b6642(),this[_0x25bce5(0x1e8)][_0x25bce5(0x1c1)]=_0x5afd2c,this[_0x25bce5(0x1e8)][_0x25bce5(0x1e0)]({'attributes':{'class':[_0x25bce5(0x1f2)],'data-cke-tooltip-text':_0x4f503a(_0x19962c,_0x25bce5(0x1f0)),'data-cke-tooltip-position':'n'}});const _0xe91bc9=new _0x59fbb2(_0x19962c);_0xe91bc9[_0x25bce5(0x1ed)]({'tag':_0x25bce5(0x1d8),'attributes':{'class':['ck',_0x25bce5(0x1b7)]},'children':[_0x4f503a(_0x19962c,_0x25bce5(0x1b0),_0xabc61a[_0x25bce5(0x1ef)]())]}),this[_0x25bce5(0x1e5)]=this[_0x25bce5(0x1dc)](),this[_0x25bce5(0x1e5)][_0x25bce5(0x1e4)]([_0x28e7cd,_0xe91bc9,this[_0x25bce5(0x1d6)]]),this[_0x25bce5(0x1ed)]({'tag':_0x25bce5(0x1b8),'attributes':{'class':['ck',_0x25bce5(0x1ec),_0x25bce5(0x1c8)]},'children':this[_0x25bce5(0x1e5)]}),this['on'](_0x25bce5(0x1af),(_0x27a825,_0x16a533,_0x510e22,_0x3a886d)=>{const _0x376aac=_0x25bce5;switch(_0x3a886d){case _0x376aac(0x1d0):this[_0x376aac(0x1e5)][_0x376aac(0x1d5)](this[_0x376aac(0x1d6)]);break;case _0x376aac(0x1f3):this[_0x376aac(0x1e5)][_0x376aac(0x1d5)](this[_0x376aac(0x1dd)]);break;case _0x376aac(0x1e9):this[_0x376aac(0x1e5)][_0x376aac(0x1d5)](this[_0x376aac(0x1da)]);break;case _0x376aac(0x1ea):this[_0x376aac(0x1e5)][_0x376aac(0x1d5)](this[_0x376aac(0x1e8)]);}switch(_0x510e22){case _0x376aac(0x1d0):this[_0x376aac(0x1e5)][_0x376aac(0x1ad)](this[_0x376aac(0x1d6)]);break;case _0x376aac(0x1f3):this[_0x376aac(0x1e5)][_0x376aac(0x1ad)](this[_0x376aac(0x1dd)]);break;case _0x376aac(0x1e9):this[_0x376aac(0x1e5)][_0x376aac(0x1ad)](this[_0x376aac(0x1da)]);break;case _0x376aac(0x1ea):this[_0x376aac(0x1e5)][_0x376aac(0x1ad)](this[_0x376aac(0x1e8)]);}});}}
23
+ const _0x3eba9f=_0x3298;(function(_0x48553b,_0x50988a){const _0xb6716c=_0x3298,_0x4377f5=_0x48553b();while(!![]){try{const _0x5c153b=parseInt(_0xb6716c(0x8c))/0x1*(-parseInt(_0xb6716c(0xaf))/0x2)+parseInt(_0xb6716c(0x97))/0x3*(parseInt(_0xb6716c(0xc3))/0x4)+parseInt(_0xb6716c(0xbc))/0x5*(parseInt(_0xb6716c(0xa0))/0x6)+-parseInt(_0xb6716c(0xae))/0x7*(-parseInt(_0xb6716c(0xb2))/0x8)+parseInt(_0xb6716c(0xc4))/0x9+-parseInt(_0xb6716c(0x9b))/0xa+parseInt(_0xb6716c(0x8f))/0xb;if(_0x5c153b===_0x50988a)break;else _0x4377f5['push'](_0x4377f5['shift']());}catch(_0x215bdf){_0x4377f5['push'](_0x4377f5['shift']());}}}(_0x12e1,0xae865));import{View as _0x35f705,IconView as _0x1c5159,ToolbarView as _0x2d01b9,ButtonView as _0x22e700}from'ckeditor5/src/ui.js';function _0x12e1(){const _0x535635=['children','460mOWFiW','2039157aCrWYs','toggleHeader','headerView','ck-hidden','AI_SUGGESTION_CONTENT_PART_DELETE','streaming','div','ck-ai-suggestion__body__content-part__title__label','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','ck-ai-suggestion__body__content-part_active','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','set','delegate','has','updateContent','hasChanges','state','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','_toolbarView','ck-reset_all-excluded','ck-ai-suggestion__body__content-part','index','animation:\x20ck-html-streamer-fade-in\x20.5s','addMany','ck-ai-suggestion__body__content-part__icon-outdated','innerHTML','1708WPDwDU','stream','fire','3597165fpBfSP','add','extendTemplate','isEnabled','outdated','bind','includes','AI_SUGGESTION_CONTENT_PART_REJECTED','8544xohwtm','AI_SUGGESTION_CONTENT_PART_OUTDATED','change:state','ck-ai-suggestion__body__content-part__icon-title','8117610xVoKaE','_iconStateRejected','items','accepted','_iconStateOutdated','138AWRtCD','pending','ck-ai-suggestion__body__content-part__content','setTemplate','element','createCollection','contentView','mouseLeaveSuggestion','execute','partDefinition','showChangeInText','ck-ai-suggestion__body__content-part__icon-accepted','_iconStateAccepted','remove','53431VyJtqf','610LnFGfq','ck-ai-suggestion__body__content-part__title','AI_SUGGESTION_CONTENT_PART_TITLE','488vebUpY','ck-content','toString','rejected','insertSuggestion','push','ck-ai-suggestion__body__content-part_','rejectSuggestion','ck-ai-suggestion__body__content-part__icon-rejected','isVisible','152355lzBecO','content','htmlStreamer','mouseOverSuggestion','bindTemplate','span'];_0x12e1=function(){return _0x535635;};return _0x12e1();}import{IconAddComment as _0x4953f2,IconDocumentWithLoupe as _0x1db53e,IconDocumentWithCheckmark as _0x2df5c5,IconDocumentWithCross as _0x4fbf46,IconRemove as _0x22b7c5,IconThreeStars as _0x1ca645}from'ckeditor5/src/icons.js';import{HTMLStreamer as _0x33f41d}from'../../utils/htmlstreamer.js';function _0x3298(_0x5fe1c6,_0xf790b0){const _0x12e135=_0x12e1();return _0x3298=function(_0x32988b,_0xb93822){_0x32988b=_0x32988b-0x7c;let _0xc6369a=_0x12e135[_0x32988b];return _0xc6369a;},_0x3298(_0x5fe1c6,_0xf790b0);}import{getTranslation as _0xae8653}from'../../utils/common-translations.js';import{serialize as _0x54c9ee}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x2d8eb0}from'../../utils/eventnames.js';export class AISuggestionBodyViewContentPartView extends _0x35f705{[_0x3eba9f(0xbe)];[_0x3eba9f(0xc2)];[_0x3eba9f(0xc6)];[_0x3eba9f(0xa6)];constructor(_0x34b5ae,{part:_0x221e6d,uiIndex:_0x26f68d,areActionsDisabled:_0x1cc42d,availableActions:_0x4fc0a6}){const _0x58646d=_0x3eba9f;super(_0x34b5ae),this[_0x58646d(0x7d)](_0x58646d(0xa9),_0x221e6d),this[_0x58646d(0x7d)](_0x58646d(0x82),_0x58646d(0xa1)),this[_0x58646d(0x7d)](_0x58646d(0xbb),!0x1),this[_0x58646d(0x94)](_0x58646d(0x92))['to'](this,_0x58646d(0x82),_0x4362fb=>_0x58646d(0xa1)==_0x4362fb&&!_0x1cc42d),this[_0x58646d(0xc2)]=this[_0x58646d(0xa5)](),this[_0x58646d(0xbe)]=new _0x33f41d({'textNodeStyle':_0x58646d(0x88),'delay':0x14}),this[_0x58646d(0xc6)]=new Un(_0x34b5ae,{'part':_0x221e6d,'uiIndex':_0x26f68d,'availableActions':_0x4fc0a6}),this[_0x58646d(0xc6)][_0x58646d(0x94)](_0x58646d(0xa9))['to'](this),this[_0x58646d(0xc6)][_0x58646d(0x94)](_0x58646d(0x92))['to'](this),this[_0x58646d(0xc6)][_0x58646d(0x94)](_0x58646d(0x82))['to'](this),this[_0x58646d(0xc6)][_0x58646d(0x7e)](..._0x2d8eb0)['to'](this);const _0x45e9b0=this[_0x58646d(0xc0)];this[_0x58646d(0xa6)]=new _0x35f705(),this[_0x58646d(0xa6)][_0x58646d(0xa3)]({'tag':_0x58646d(0xca),'attributes':{'class':['ck',_0x58646d(0xb3),_0x58646d(0x85),_0x58646d(0xa2)]}}),this[_0x58646d(0xc2)][_0x58646d(0x89)]([this[_0x58646d(0xa6)]]),this[_0x58646d(0xa3)]({'tag':_0x58646d(0xca),'attributes':{'class':['ck',_0x58646d(0x86),_0x45e9b0['to'](_0x58646d(0x82),_0x1f56e6=>_0x58646d(0xb8)+_0x1f56e6),_0x45e9b0['to'](_0x58646d(0x92),_0x533038=>_0x533038?_0x58646d(0xcd):void 0x0),_0x45e9b0['if'](_0x58646d(0xbb),_0x58646d(0xc7),_0x19c79b=>!_0x19c79b)]},'children':this[_0x58646d(0xc2)],'on':{'mouseenter':_0x45e9b0['to'](()=>{const _0x2cb137=_0x58646d;this[_0x2cb137(0x92)]&&this[_0x2cb137(0x8e)](_0x2cb137(0xbf),{'index':_0x221e6d[_0x2cb137(0x87)]});}),'mouseleave':_0x45e9b0['to'](()=>{const _0xce91a8=_0x58646d;this[_0xce91a8(0x92)]&&this[_0xce91a8(0x8e)](_0xce91a8(0xa7),{'index':_0x221e6d[_0xce91a8(0x87)]});})}});}async[_0x3eba9f(0x80)]({part:_0x598817,renderingStrategy:_0x4bf67d,showUnchangedParts:_0x2e276b=!0x1,abortSignal:_0x483fb0}){const _0x27b719=_0x3eba9f;this[_0x27b719(0xa9)]=_0x598817,this[_0x27b719(0xbb)]=this[_0x27b719(0xa9)][_0x27b719(0x81)]||_0x2e276b,this[_0x27b719(0xbb)]&&(_0x27b719(0xc9)===_0x4bf67d?await this[_0x27b719(0xbe)][_0x27b719(0x8d)]({'document':this[_0x27b719(0xa9)][_0x27b719(0xbd)],'targetElement':this[_0x27b719(0xa6)][_0x27b719(0xa4)],'abortSignal':_0x483fb0}):this[_0x27b719(0xa6)][_0x27b719(0xa4)][_0x27b719(0x8b)]=_0x54c9ee(this[_0x27b719(0xa9)][_0x27b719(0xbd)]));}[_0x3eba9f(0xc5)](_0x1a2fb2){const _0x2cd7d2=_0x3eba9f;_0x1a2fb2?this[_0x2cd7d2(0xc2)][_0x2cd7d2(0x7f)](this[_0x2cd7d2(0xc6)])||this[_0x2cd7d2(0xc2)][_0x2cd7d2(0x90)](this[_0x2cd7d2(0xc6)],0x0):this[_0x2cd7d2(0xc2)][_0x2cd7d2(0x7f)](this[_0x2cd7d2(0xc6)])&&this[_0x2cd7d2(0xc2)][_0x2cd7d2(0xad)](this[_0x2cd7d2(0xc6)]);}}class Un extends _0x35f705{[_0x3eba9f(0xc2)];[_0x3eba9f(0x84)];[_0x3eba9f(0xac)];[_0x3eba9f(0x9c)];[_0x3eba9f(0x9f)];constructor(_0xd8c4ab,{part:_0xd63989,uiIndex:_0x3d3c55,availableActions:_0x3035fc}){const _0x3573bc=_0x3eba9f;super(_0xd8c4ab),this[_0x3573bc(0x7d)](_0x3573bc(0xa9),_0xd63989),this[_0x3573bc(0x7d)](_0x3573bc(0x92),!0x0),this[_0x3573bc(0x7d)](_0x3573bc(0x82),_0x3573bc(0xa1));const _0x116590=new _0x1c5159();_0x116590[_0x3573bc(0xbd)]=_0x1ca645,_0x116590[_0x3573bc(0x91)]({'attributes':{'class':[_0x3573bc(0x9a)]}});const _0xd8b233=[];if(_0x3035fc[_0x3573bc(0x95)](_0x3573bc(0xaa))){const _0x5c2102=new _0x22e700(_0xd8c4ab);_0x5c2102[_0x3573bc(0x7d)]({'label':_0xae8653(_0xd8c4ab,_0x3573bc(0xcc)),'tooltip':!0x0,'withText':!0x1,'icon':_0x1db53e}),_0x5c2102[_0x3573bc(0x94)](_0x3573bc(0x92))['to'](this),_0x5c2102['on'](_0x3573bc(0xa8),()=>{const _0x35fe40=_0x3573bc;this[_0x35fe40(0x8e)](_0x35fe40(0xaa),{'index':_0xd63989[_0x35fe40(0x87)]});}),_0xd8b233[_0x3573bc(0xb7)](_0x5c2102);}if(_0x3035fc[_0x3573bc(0x95)](_0x3573bc(0xb6))){const _0x52b422=new _0x22e700(_0xd8c4ab);_0x52b422[_0x3573bc(0x7d)]({'label':_0xae8653(_0xd8c4ab,_0x3573bc(0x83)),'tooltip':!0x0,'withText':!0x1,'icon':_0x4953f2}),_0x52b422[_0x3573bc(0x94)](_0x3573bc(0x92))['to'](this),_0x52b422['on'](_0x3573bc(0xa8),()=>{const _0x20f651=_0x3573bc;this[_0x20f651(0x8e)](_0x20f651(0xb6),{'index':_0xd63989[_0x20f651(0x87)]});}),_0xd8b233[_0x3573bc(0xb7)](_0x52b422);}const _0x1c29b1=new _0x22e700(_0xd8c4ab);_0x1c29b1[_0x3573bc(0x7d)]({'label':_0xae8653(_0xd8c4ab,_0x3573bc(0xc8)),'tooltip':!0x0,'withText':!0x1,'icon':_0x22b7c5}),_0x1c29b1[_0x3573bc(0x94)](_0x3573bc(0x92))['to'](this),_0x1c29b1['on'](_0x3573bc(0xa8),()=>{const _0x47265c=_0x3573bc;this[_0x47265c(0x8e)](_0x47265c(0xb9),{'index':_0xd63989[_0x47265c(0x87)]});}),_0xd8b233[_0x3573bc(0xb7)](_0x1c29b1),this[_0x3573bc(0x84)]=new _0x2d01b9(_0xd8c4ab),this[_0x3573bc(0x84)][_0x3573bc(0x9d)][_0x3573bc(0x89)](_0xd8b233),this[_0x3573bc(0xac)]=new _0x1c5159(),this[_0x3573bc(0xac)][_0x3573bc(0xbd)]=_0x2df5c5,this[_0x3573bc(0xac)][_0x3573bc(0x91)]({'attributes':{'class':[_0x3573bc(0xab)],'data-cke-tooltip-text':_0xae8653(_0xd8c4ab,_0x3573bc(0x7c)),'data-cke-tooltip-position':'n'}}),this[_0x3573bc(0x9c)]=new _0x1c5159(),this[_0x3573bc(0x9c)][_0x3573bc(0xbd)]=_0x4fbf46,this[_0x3573bc(0x9c)][_0x3573bc(0x91)]({'attributes':{'class':[_0x3573bc(0xba)],'data-cke-tooltip-text':_0xae8653(_0xd8c4ab,_0x3573bc(0x96)),'data-cke-tooltip-position':'n'}}),this[_0x3573bc(0x9f)]=new _0x1c5159(),this[_0x3573bc(0x9f)][_0x3573bc(0xbd)]=_0x4fbf46,this[_0x3573bc(0x9f)][_0x3573bc(0x91)]({'attributes':{'class':[_0x3573bc(0x8a)],'data-cke-tooltip-text':_0xae8653(_0xd8c4ab,_0x3573bc(0x98)),'data-cke-tooltip-position':'n'}});const _0x17c62f=new _0x35f705(_0xd8c4ab);_0x17c62f[_0x3573bc(0xa3)]({'tag':_0x3573bc(0xc1),'attributes':{'class':['ck',_0x3573bc(0xcb)]},'children':[_0xae8653(_0xd8c4ab,_0x3573bc(0xb1),_0x3d3c55[_0x3573bc(0xb4)]())]}),this[_0x3573bc(0xc2)]=this[_0x3573bc(0xa5)](),this[_0x3573bc(0xc2)][_0x3573bc(0x89)]([_0x116590,_0x17c62f,this[_0x3573bc(0x84)]]),this[_0x3573bc(0xa3)]({'tag':_0x3573bc(0xca),'attributes':{'class':['ck',_0x3573bc(0x85),_0x3573bc(0xb0)]},'children':this[_0x3573bc(0xc2)]}),this['on'](_0x3573bc(0x99),(_0x12d3b8,_0x59f03b,_0x33cc5a,_0x304836)=>{const _0x521a01=_0x3573bc;switch(_0x304836){case _0x521a01(0xa1):this[_0x521a01(0xc2)][_0x521a01(0xad)](this[_0x521a01(0x84)]);break;case _0x521a01(0x9e):this[_0x521a01(0xc2)][_0x521a01(0xad)](this[_0x521a01(0xac)]);break;case _0x521a01(0xb5):this[_0x521a01(0xc2)][_0x521a01(0xad)](this[_0x521a01(0x9c)]);break;case _0x521a01(0x93):this[_0x521a01(0xc2)][_0x521a01(0xad)](this[_0x521a01(0x9f)]);}switch(_0x33cc5a){case _0x521a01(0xa1):this[_0x521a01(0xc2)][_0x521a01(0x90)](this[_0x521a01(0x84)]);break;case _0x521a01(0x9e):this[_0x521a01(0xc2)][_0x521a01(0x90)](this[_0x521a01(0xac)]);break;case _0x521a01(0xb5):this[_0x521a01(0xc2)][_0x521a01(0x90)](this[_0x521a01(0x9c)]);break;case _0x521a01(0x93):this[_0x521a01(0xc2)][_0x521a01(0x90)](this[_0x521a01(0x9f)]);}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ebabd=_0x14b2;(function(_0x31c4c6,_0x39550b){const _0x11d330=_0x14b2,_0x3c9f31=_0x31c4c6();while(!![]){try{const _0x462e71=parseInt(_0x11d330(0x100))/0x1*(-parseInt(_0x11d330(0x102))/0x2)+-parseInt(_0x11d330(0xec))/0x3+parseInt(_0x11d330(0x109))/0x4+parseInt(_0x11d330(0xf4))/0x5*(parseInt(_0x11d330(0xe9))/0x6)+-parseInt(_0x11d330(0xef))/0x7+-parseInt(_0x11d330(0x108))/0x8*(parseInt(_0x11d330(0xed))/0x9)+-parseInt(_0x11d330(0x106))/0xa*(-parseInt(_0x11d330(0xf7))/0xb);if(_0x462e71===_0x39550b)break;else _0x3c9f31['push'](_0x3c9f31['shift']());}catch(_0x94f505){_0x3c9f31['push'](_0x3c9f31['shift']());}}}(_0x2173,0xa523a));function _0x2173(){const _0x1ed04a=['toggleShowChanges','add','330801NzNRII','iconView','2YhZfcc','filter','isShowChangesToggleVisible','isVisible','33108210sVvWPX','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','216euEofZ','2539176Tsjlpk','bind','showDiff','showHeader','isOn','span','508278Zkltte','icon','execute','3982293mKSvKl','397989qLbkOp','ck-ai-suggestion__header','4105024OFqYZd','children','showChangesToggleView','remove','fire','10JxLJBj','div','setTemplate','11rxnLhF','AI_SUGGESTION_HEADER_TITLE','AI_SUGGESTION_BUTTON_SHOW_CHANGES','render','ck-hidden','content','set'];_0x2173=function(){return _0x1ed04a;};return _0x2173();}import{getTranslation as _0x12606b}from'../../utils/common-translations.js';import{ButtonView as _0x4a4d6a,IconView as _0x3cb449,View as _0x2a76b4}from'ckeditor5/src/ui.js';import{IconDocument as _0x4a59de,IconShowChangesOff as _0x428fd7,IconShowChangesOn as _0x2c1c70}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x2a76b4{[_0x1ebabd(0xf1)];constructor(_0x27f62a,_0x171f41){const _0x3fd29f=_0x1ebabd;super(_0x27f62a),this[_0x3fd29f(0xfd)](_0x3fd29f(0x104),!0x0),this[_0x3fd29f(0xf1)]=new ShowChangesToggleView(_0x27f62a),this[_0x3fd29f(0xf1)][_0x3fd29f(0xfd)]({'class':_0x3fd29f(0x107),'label':_0x12606b(_0x27f62a,_0x3fd29f(0xf9)),'withText':!0x0}),this[_0x3fd29f(0xf1)][_0x3fd29f(0x10d)]=_0x171f41[_0x3fd29f(0x10b)],this[_0x3fd29f(0xf1)][_0x3fd29f(0x10a)](_0x3fd29f(0x105))['to'](this,_0x3fd29f(0x104)),this[_0x3fd29f(0xf1)][_0x3fd29f(0x10a)](_0x3fd29f(0xea))['to'](this[_0x3fd29f(0xf1)],_0x3fd29f(0x10d),_0x40d752=>_0x40d752?_0x2c1c70:_0x428fd7),this[_0x3fd29f(0xf1)]['on'](_0x3fd29f(0xeb),()=>{const _0x321e95=_0x3fd29f;this[_0x321e95(0xf1)][_0x321e95(0x10d)]=!this[_0x321e95(0xf1)][_0x321e95(0x10d)],this[_0x321e95(0xf3)](_0x321e95(0xfe),{'isOn':this[_0x321e95(0xf1)][_0x321e95(0x10d)]});});const _0x9621c8=new _0x3cb449();_0x9621c8[_0x3fd29f(0xfc)]=_0x4a59de,this[_0x3fd29f(0xf6)]({'tag':_0x3fd29f(0xf5),'attributes':{'class':['ck',_0x3fd29f(0xee),!0x1===_0x171f41[_0x3fd29f(0x10c)]?_0x3fd29f(0xfb):null][_0x3fd29f(0x103)](Boolean)},'children':[_0x9621c8,{'tag':_0x3fd29f(0xe8),'children':[_0x12606b(_0x27f62a,_0x3fd29f(0xf8))]},this[_0x3fd29f(0xf1)]]});}}function _0x14b2(_0x4461f5,_0x42c511){const _0x21737c=_0x2173();return _0x14b2=function(_0x14b2ad,_0x49604b){_0x14b2ad=_0x14b2ad-0xe8;let _0x3b7535=_0x21737c[_0x14b2ad];return _0x3b7535;},_0x14b2(_0x4461f5,_0x42c511);}export class ShowChangesToggleView extends _0x4a4d6a{[_0x1ebabd(0xfa)](){const _0x29bff1=_0x1ebabd;super[_0x29bff1(0xfa)](),this[_0x29bff1(0xf0)][_0x29bff1(0xf2)](this[_0x29bff1(0x101)]),this[_0x29bff1(0xf0)][_0x29bff1(0xff)](this[_0x29bff1(0x101)]);}}
23
+ const _0x5185fd=_0x38b4;(function(_0x2fbed5,_0x4e143e){const _0x40332f=_0x38b4,_0x43ef63=_0x2fbed5();while(!![]){try{const _0x3dfab2=parseInt(_0x40332f(0x135))/0x1+-parseInt(_0x40332f(0x143))/0x2*(-parseInt(_0x40332f(0x13f))/0x3)+-parseInt(_0x40332f(0x124))/0x4*(-parseInt(_0x40332f(0x130))/0x5)+parseInt(_0x40332f(0x12d))/0x6+-parseInt(_0x40332f(0x136))/0x7+-parseInt(_0x40332f(0x138))/0x8*(-parseInt(_0x40332f(0x12e))/0x9)+-parseInt(_0x40332f(0x137))/0xa;if(_0x3dfab2===_0x4e143e)break;else _0x43ef63['push'](_0x43ef63['shift']());}catch(_0x1a9b54){_0x43ef63['push'](_0x43ef63['shift']());}}}(_0x4c65,0x24a0c));import{getTranslation as _0xacdc69}from'../../utils/common-translations.js';import{ButtonView as _0x546675,IconView as _0x4ed35a,View as _0x388647}from'ckeditor5/src/ui.js';function _0x4c65(){const _0x1367ad=['set','isShowChangesToggleVisible','showChangesToggleView','32JPBMpH','div','iconView','ck-ai-suggestion__header','showDiff','showHeader','AI_SUGGESTION_BUTTON_SHOW_CHANGES','isVisible','bind','1602396JMQEKK','15759XKmlkT','render','83925iQgdXg','filter','AI_SUGGESTION_HEADER_TITLE','isOn','add','124242vKuIHO','928039LXlyCI','4382420iyvLNm','64hyKLNV','icon','children','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','remove','span','toggleShowChanges','60417jqknMp','fire','content','ck-hidden','18GpmojC','execute','setTemplate'];_0x4c65=function(){return _0x1367ad;};return _0x4c65();}import{IconDocument as _0x314bbf,IconShowChangesOff as _0x3abb23,IconShowChangesOn as _0x4335bf}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x388647{[_0x5185fd(0x123)];constructor(_0x5640ce,_0x3753eb){const _0x2237c9=_0x5185fd;super(_0x5640ce),this[_0x2237c9(0x146)](_0x2237c9(0x147),!0x0),this[_0x2237c9(0x123)]=new ShowChangesToggleView(_0x5640ce),this[_0x2237c9(0x123)][_0x2237c9(0x146)]({'class':_0x2237c9(0x13b),'label':_0xacdc69(_0x5640ce,_0x2237c9(0x12a)),'withText':!0x0}),this[_0x2237c9(0x123)][_0x2237c9(0x133)]=_0x3753eb[_0x2237c9(0x128)],this[_0x2237c9(0x123)][_0x2237c9(0x12c)](_0x2237c9(0x12b))['to'](this,_0x2237c9(0x147)),this[_0x2237c9(0x123)][_0x2237c9(0x12c)](_0x2237c9(0x139))['to'](this[_0x2237c9(0x123)],_0x2237c9(0x133),_0x2a6338=>_0x2a6338?_0x4335bf:_0x3abb23),this[_0x2237c9(0x123)]['on'](_0x2237c9(0x144),()=>{const _0x57c68c=_0x2237c9;this[_0x57c68c(0x123)][_0x57c68c(0x133)]=!this[_0x57c68c(0x123)][_0x57c68c(0x133)],this[_0x57c68c(0x140)](_0x57c68c(0x13e),{'isOn':this[_0x57c68c(0x123)][_0x57c68c(0x133)]});});const _0x48f52e=new _0x4ed35a();_0x48f52e[_0x2237c9(0x141)]=_0x314bbf,this[_0x2237c9(0x145)]({'tag':_0x2237c9(0x125),'attributes':{'class':['ck',_0x2237c9(0x127),!0x1===_0x3753eb[_0x2237c9(0x129)]?_0x2237c9(0x142):null][_0x2237c9(0x131)](Boolean)},'children':[_0x48f52e,{'tag':_0x2237c9(0x13d),'children':[_0xacdc69(_0x5640ce,_0x2237c9(0x132))]},this[_0x2237c9(0x123)]]});}}function _0x38b4(_0x3e3ca9,_0x3c4105){const _0x4c65cb=_0x4c65();return _0x38b4=function(_0x38b479,_0x155237){_0x38b479=_0x38b479-0x123;let _0x3928c8=_0x4c65cb[_0x38b479];return _0x3928c8;},_0x38b4(_0x3e3ca9,_0x3c4105);}export class ShowChangesToggleView extends _0x546675{[_0x5185fd(0x12f)](){const _0x1af22a=_0x5185fd;super[_0x1af22a(0x12f)](),this[_0x1af22a(0x13a)][_0x1af22a(0x13c)](this[_0x1af22a(0x126)]),this[_0x1af22a(0x13a)][_0x1af22a(0x134)](this[_0x1af22a(0x126)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4b02d2,_0x48953a){const _0x38d97d=_0x18cf,_0x69f438=_0x4b02d2();while(!![]){try{const _0x13bab9=parseInt(_0x38d97d(0x88))/0x1*(-parseInt(_0x38d97d(0x91))/0x2)+-parseInt(_0x38d97d(0x9b))/0x3*(parseInt(_0x38d97d(0x8c))/0x4)+-parseInt(_0x38d97d(0x8f))/0x5*(parseInt(_0x38d97d(0x8d))/0x6)+parseInt(_0x38d97d(0x98))/0x7+parseInt(_0x38d97d(0x9a))/0x8+-parseInt(_0x38d97d(0x8a))/0x9*(parseInt(_0x38d97d(0x90))/0xa)+parseInt(_0x38d97d(0x97))/0xb;if(_0x13bab9===_0x48953a)break;else _0x69f438['push'](_0x69f438['shift']());}catch(_0x4ce237){_0x69f438['push'](_0x69f438['shift']());}}}(_0x2609,0x47089));import{ButtonView as _0x3cc1af}from'ckeditor5/src/ui.js';import{IconMaximize as _0x2ea253,IconMinimize as _0x426026}from'ckeditor5/src/icons.js';function _0x18cf(_0x48e87d,_0x7b7df9){const _0x260990=_0x2609();return _0x18cf=function(_0x18cfd4,_0x5cca43){_0x18cfd4=_0x18cfd4-0x87;let _0x2244fb=_0x260990[_0x18cfd4];return _0x2244fb;},_0x18cf(_0x48e87d,_0x7b7df9);}import{getTranslation as _0x1e6ade}from'../../aicore/utils/common-translations.js';export function createResizeButton(_0x498e98,_0x201f81){const _0xfc830=_0x18cf,_0x4ab4c8=new _0x3cc1af(_0x498e98),_0x7b0506=_0x1e6ade(_0x498e98,_0xfc830(0x94)),_0x29ae97=_0x1e6ade(_0x498e98,_0xfc830(0x8e));return _0x4ab4c8[_0xfc830(0x93)]({'withText':!0x1,'icon':_0x2ea253,'tooltip':!0x0,'class':_0xfc830(0x92)}),_0x4ab4c8[_0xfc830(0x87)](_0xfc830(0x89))['to'](_0x201f81,_0xfc830(0x99),_0x420785=>_0x420785?_0x7b0506:_0x29ae97),_0x4ab4c8[_0xfc830(0x87)](_0xfc830(0x95))['to'](_0x201f81,_0xfc830(0x99),_0x504b53=>_0x504b53?_0x426026:_0x2ea253),_0x4ab4c8[_0xfc830(0x87)](_0xfc830(0x8b))['to'](_0x201f81,_0xfc830(0x99)),_0x4ab4c8['on'](_0xfc830(0x96),()=>{const _0x341c2e=_0xfc830;_0x201f81[_0x341c2e(0x9c)](_0x341c2e(0x9d));}),_0x4ab4c8;}function _0x2609(){const _0x59526a=['label','2979gDAhux','isOn','260ItkojD','10662sDSwHQ','AI_TABS_LABEL_MAXIMIZE','1315kMorVM','7450kgVzKX','54758csRXlb','ck-ai-tabs__resize\x20ck-ai-button-tertiary-text','set','AI_TABS_LABEL_MINIMIZE','icon','execute','7668067vUBugB','1733900Ehjkpz','isMaximized','4315520ZvPcUr','19596UtPvAo','fire','resizeTabs','bind','2ucSkPK'];_0x2609=function(){return _0x59526a;};return _0x2609();}
23
+ function _0x5f28(_0x136e6d,_0x34c909){const _0x4f33bf=_0x4f33();return _0x5f28=function(_0x5f28b5,_0xcac652){_0x5f28b5=_0x5f28b5-0x68;let _0x28eafe=_0x4f33bf[_0x5f28b5];return _0x28eafe;},_0x5f28(_0x136e6d,_0x34c909);}function _0x4f33(){const _0x246724=['4081915wnxKRV','4FsgvTr','isMaximized','isOn','1576iwlIri','label','resizeTabs','bind','fire','10450386wEDVFK','ck-ai-tabs__resize\x20ck-ai-button-tertiary-text','icon','execute','AI_TABS_LABEL_MAXIMIZE','10WMgETN','357977piaiUJ','1137YjZPSL','3481728BExggB','45311psLvWA','set','9220KTHrHG','4169110TYxliq','AI_TABS_LABEL_MINIMIZE'];_0x4f33=function(){return _0x246724;};return _0x4f33();}(function(_0x75f83,_0x5398f4){const _0xa2f36e=_0x5f28,_0x11fff7=_0x75f83();while(!![]){try{const _0x211a06=-parseInt(_0xa2f36e(0x73))/0x1*(parseInt(_0xa2f36e(0x7c))/0x2)+parseInt(_0xa2f36e(0x74))/0x3*(parseInt(_0xa2f36e(0x78))/0x4)+parseInt(_0xa2f36e(0x7b))/0x5+-parseInt(_0xa2f36e(0x75))/0x6+parseInt(_0xa2f36e(0x76))/0x7*(parseInt(_0xa2f36e(0x68))/0x8)+-parseInt(_0xa2f36e(0x6d))/0x9+-parseInt(_0xa2f36e(0x72))/0xa*(-parseInt(_0xa2f36e(0x79))/0xb);if(_0x211a06===_0x5398f4)break;else _0x11fff7['push'](_0x11fff7['shift']());}catch(_0x411835){_0x11fff7['push'](_0x11fff7['shift']());}}}(_0x4f33,0xd87f5));import{ButtonView as _0x47c15a}from'ckeditor5/src/ui.js';import{IconMaximize as _0x46ff11,IconMinimize as _0x317808}from'ckeditor5/src/icons.js';import{getTranslation as _0x6279ab}from'../../aicore/utils/common-translations.js';export function createResizeButton(_0x5875f5,_0x31a356){const _0xdf0d43=_0x5f28,_0x33aeb2=new _0x47c15a(_0x5875f5),_0x3b8d4c=_0x6279ab(_0x5875f5,_0xdf0d43(0x7a)),_0x22943b=_0x6279ab(_0x5875f5,_0xdf0d43(0x71));return _0x33aeb2[_0xdf0d43(0x77)]({'withText':!0x1,'icon':_0x46ff11,'tooltip':!0x0,'class':_0xdf0d43(0x6e)}),_0x33aeb2[_0xdf0d43(0x6b)](_0xdf0d43(0x69))['to'](_0x31a356,_0xdf0d43(0x7d),_0x2502eb=>_0x2502eb?_0x3b8d4c:_0x22943b),_0x33aeb2[_0xdf0d43(0x6b)](_0xdf0d43(0x6f))['to'](_0x31a356,_0xdf0d43(0x7d),_0x17c5b4=>_0x17c5b4?_0x317808:_0x46ff11),_0x33aeb2[_0xdf0d43(0x6b)](_0xdf0d43(0x7e))['to'](_0x31a356,_0xdf0d43(0x7d)),_0x33aeb2['on'](_0xdf0d43(0x70),()=>{const _0x4f5ad9=_0xdf0d43;_0x31a356[_0x4f5ad9(0x6c)](_0x4f5ad9(0x6a));}),_0x33aeb2;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2bfe1d=_0x3b28;function _0x14a0(){const _0x5e144d=['firstChild','end','51ynOLtm','createAfter','getNudgedToWordBoundary','416566JkRhzd','path','length','document','includes','4472272zAvJMV','lastChild','getContent','slice','previousNode','1JJdDSZ','reverse','5536225vVEgsJ','6951252lyDzQi','createFromPath','createBefore','isEqual','6605988NNQiob','createAt','parent','start','306268NXrGpi','forEach','push','nextNode','23820057MOmLLX','data'];_0x14a0=function(){return _0x5e144d;};return _0x14a0();}function _0x3b28(_0x5eea39,_0x4bc558){const _0x14a051=_0x14a0();return _0x3b28=function(_0x3b2808,_0x2bc1e2){_0x3b2808=_0x3b2808-0x143;let _0x1c54f2=_0x14a051[_0x3b2808];return _0x1c54f2;},_0x3b28(_0x5eea39,_0x4bc558);}(function(_0x51931c,_0x33a7ae){const _0x105565=_0x3b28,_0x3402d2=_0x51931c();while(!![]){try{const _0x1f8589=-parseInt(_0x105565(0x14d))/0x1*(parseInt(_0x105565(0x143))/0x2)+-parseInt(_0x105565(0x160))/0x3*(parseInt(_0x105565(0x158))/0x4)+parseInt(_0x105565(0x14f))/0x5+-parseInt(_0x105565(0x154))/0x6+-parseInt(_0x105565(0x150))/0x7+parseInt(_0x105565(0x148))/0x8+parseInt(_0x105565(0x15c))/0x9;if(_0x1f8589===_0x33a7ae)break;else _0x3402d2['push'](_0x3402d2['shift']());}catch(_0x5d96b1){_0x3402d2['push'](_0x3402d2['shift']());}}}(_0x14a0,0xad184));import{DocumentPosition as _0x4b9208}from'./documentposition.js';import{clone as _0x28a28f,getParents as _0x1f17f4,Document as _0x37abee,Text as _0x26ff5f,isTag as _0x32d7b3,isText as _0x693e7c,replaceElement as _0x409feb,removeElement as _0x12ed8d}from'./htmlparser.js';export class DocumentRange{[_0x2bfe1d(0x157)];[_0x2bfe1d(0x15f)];constructor(_0x1bbed1,_0x20d2ee){const _0x473def=_0x2bfe1d;this[_0x473def(0x157)]=_0x1bbed1,this[_0x473def(0x15f)]=_0x20d2ee;}[_0x2bfe1d(0x153)](_0x5cfa89){const _0x1efecd=_0x2bfe1d;return this==_0x5cfa89||this[_0x1efecd(0x157)][_0x1efecd(0x153)](_0x5cfa89[_0x1efecd(0x157)])&&this[_0x1efecd(0x15f)][_0x1efecd(0x153)](_0x5cfa89[_0x1efecd(0x15f)]);}[_0x2bfe1d(0x162)](){const _0x384f91=_0x2bfe1d;return new DocumentRange(this[_0x384f91(0x157)][_0x384f91(0x162)](_0x384f91(0x157)),this[_0x384f91(0x15f)][_0x384f91(0x162)](_0x384f91(0x15f)));}[_0x2bfe1d(0x14a)](){const _0x16538d=_0x2bfe1d,_0x49f511=_0x28a28f(this[_0x16538d(0x157)][_0x16538d(0x146)]),_0x4f3b72=_0x4b9208[_0x16538d(0x151)](_0x49f511,this[_0x16538d(0x157)][_0x16538d(0x144)]),_0x4e1626=_0x4b9208[_0x16538d(0x151)](_0x49f511,this[_0x16538d(0x15f)][_0x16538d(0x144)]);let _0x4d7844,_0x25ac93;if(_0x693e7c(_0x4f3b72[_0x16538d(0x156)])){const _0x4fb0c7=_0x4f3b72[_0x16538d(0x144)][_0x4f3b72[_0x16538d(0x144)][_0x16538d(0x145)]-0x1],_0xfea37=new _0x26ff5f(_0x4f3b72[_0x16538d(0x156)][_0x16538d(0x15d)][_0x16538d(0x14b)](_0x4fb0c7));_0x409feb(_0x4f3b72[_0x16538d(0x156)],_0xfea37),_0x4d7844=_0xfea37;}else _0x4d7844=_0x4f3b72[_0x16538d(0x15b)];if(_0x693e7c(_0x4e1626[_0x16538d(0x156)])){const _0x5830d0=_0x4e1626[_0x16538d(0x144)][_0x4e1626[_0x16538d(0x144)][_0x16538d(0x145)]-0x1],_0x9933fc=new _0x26ff5f(_0x4e1626[_0x16538d(0x156)][_0x16538d(0x15d)][_0x16538d(0x14b)](0x0,_0x5830d0));_0x409feb(_0x4e1626[_0x16538d(0x156)],_0x9933fc),_0x25ac93=_0x9933fc;}else _0x25ac93=_0x4e1626[_0x16538d(0x14c)];if(!(_0x4d7844&&_0x25ac93&&_0x49f511[_0x16538d(0x15e)]&&_0x49f511[_0x16538d(0x149)]))return new _0x37abee([]);const _0xc4f228=_0x1f17f4(_0x4d7844),_0xe3efc5=_0x1f17f4(_0x25ac93),_0x22743b=[],_0x4345fd=[];let _0x46891b=_0x49f511[_0x16538d(0x15e)];for(;_0x46891b&&_0x46891b!==_0x4d7844;){let _0x461e54;_0xc4f228[_0x16538d(0x147)](_0x46891b)||_0x22743b[_0x16538d(0x15a)](_0x46891b),_0x461e54=_0x32d7b3(_0x46891b)?_0x4b9208[_0x16538d(0x155)](_0x49f511,_0x46891b,_0x16538d(0x157)):_0x4b9208[_0x16538d(0x161)](_0x49f511,_0x46891b),_0x46891b=_0x461e54?_0x461e54[_0x16538d(0x15b)]:null;}for(_0x46891b=_0x49f511[_0x16538d(0x149)];_0x46891b&&_0x46891b!==_0x25ac93;){let _0x37e583;_0xe3efc5[_0x16538d(0x147)](_0x46891b)||_0x4345fd[_0x16538d(0x15a)](_0x46891b),_0x37e583=_0x32d7b3(_0x46891b)?_0x4b9208[_0x16538d(0x155)](_0x49f511,_0x46891b,_0x16538d(0x15f)):_0x4b9208[_0x16538d(0x152)](_0x49f511,_0x46891b),_0x46891b=_0x37e583?_0x37e583[_0x16538d(0x14c)]:null;}return _0x22743b[_0x16538d(0x159)](_0x3fc212=>{_0x12ed8d(_0x3fc212);}),_0x4345fd[_0x16538d(0x14e)]()[_0x16538d(0x159)](_0x573afd=>{_0x12ed8d(_0x573afd);}),_0x49f511;}}
23
+ function _0x870d(_0x2be025,_0x58c26b){const _0x56c19f=_0x56c1();return _0x870d=function(_0x870d78,_0x7edd02){_0x870d78=_0x870d78-0xe7;let _0x4bf92e=_0x56c19f[_0x870d78];return _0x4bf92e;},_0x870d(_0x2be025,_0x58c26b);}const _0x173b39=_0x870d;(function(_0x1a1929,_0x62661d){const _0x5205c5=_0x870d,_0x3aefc6=_0x1a1929();while(!![]){try{const _0x580ae3=parseInt(_0x5205c5(0xfb))/0x1+parseInt(_0x5205c5(0x103))/0x2+parseInt(_0x5205c5(0xf8))/0x3*(parseInt(_0x5205c5(0x101))/0x4)+-parseInt(_0x5205c5(0xff))/0x5*(-parseInt(_0x5205c5(0x100))/0x6)+parseInt(_0x5205c5(0xec))/0x7*(parseInt(_0x5205c5(0xf9))/0x8)+-parseInt(_0x5205c5(0x102))/0x9+parseInt(_0x5205c5(0xed))/0xa*(-parseInt(_0x5205c5(0xee))/0xb);if(_0x580ae3===_0x62661d)break;else _0x3aefc6['push'](_0x3aefc6['shift']());}catch(_0x4b12c5){_0x3aefc6['push'](_0x3aefc6['shift']());}}}(_0x56c1,0x40aa4));import{DocumentPosition as _0x35d255}from'./documentposition.js';import{clone as _0x3c0830,getParents as _0xcd1c48,Document as _0x16e63f,Text as _0x2d1964,isTag as _0x289556,isText as _0xd5e985,replaceElement as _0xf22e62,removeElement as _0xe0d080}from'./htmlparser.js';export class DocumentRange{[_0x173b39(0xe7)];[_0x173b39(0xf2)];constructor(_0x21b028,_0x1ce160){const _0x3f507a=_0x173b39;this[_0x3f507a(0xe7)]=_0x21b028,this[_0x3f507a(0xf2)]=_0x1ce160;}[_0x173b39(0xf3)](_0x3c571d){const _0x3492a3=_0x173b39;return this==_0x3c571d||this[_0x3492a3(0xe7)][_0x3492a3(0xf3)](_0x3c571d[_0x3492a3(0xe7)])&&this[_0x3492a3(0xf2)][_0x3492a3(0xf3)](_0x3c571d[_0x3492a3(0xf2)]);}[_0x173b39(0x108)](){const _0x574762=_0x173b39;return new DocumentRange(this[_0x574762(0xe7)][_0x574762(0x108)](_0x574762(0xe7)),this[_0x574762(0xf2)][_0x574762(0x108)](_0x574762(0xf2)));}[_0x173b39(0x106)](){const _0x593f71=_0x173b39,_0x5191cc=_0x3c0830(this[_0x593f71(0xe7)][_0x593f71(0xe8)]),_0x54f0ef=_0x35d255[_0x593f71(0x104)](_0x5191cc,this[_0x593f71(0xe7)][_0x593f71(0xf0)]),_0x14b9d9=_0x35d255[_0x593f71(0x104)](_0x5191cc,this[_0x593f71(0xf2)][_0x593f71(0xf0)]);let _0x1cd398,_0x49117f;if(_0xd5e985(_0x54f0ef[_0x593f71(0xeb)])){const _0x40b060=_0x54f0ef[_0x593f71(0xf0)][_0x54f0ef[_0x593f71(0xf0)][_0x593f71(0xfe)]-0x1],_0x237df0=new _0x2d1964(_0x54f0ef[_0x593f71(0xeb)][_0x593f71(0xf1)][_0x593f71(0xfc)](_0x40b060));_0xf22e62(_0x54f0ef[_0x593f71(0xeb)],_0x237df0),_0x1cd398=_0x237df0;}else _0x1cd398=_0x54f0ef[_0x593f71(0xf4)];if(_0xd5e985(_0x14b9d9[_0x593f71(0xeb)])){const _0x1a0b0e=_0x14b9d9[_0x593f71(0xf0)][_0x14b9d9[_0x593f71(0xf0)][_0x593f71(0xfe)]-0x1],_0x3e4ce8=new _0x2d1964(_0x14b9d9[_0x593f71(0xeb)][_0x593f71(0xf1)][_0x593f71(0xfc)](0x0,_0x1a0b0e));_0xf22e62(_0x14b9d9[_0x593f71(0xeb)],_0x3e4ce8),_0x49117f=_0x3e4ce8;}else _0x49117f=_0x14b9d9[_0x593f71(0xf6)];if(!(_0x1cd398&&_0x49117f&&_0x5191cc[_0x593f71(0xef)]&&_0x5191cc[_0x593f71(0xfd)]))return new _0x16e63f([]);const _0xeaa455=_0xcd1c48(_0x1cd398),_0x469ebe=_0xcd1c48(_0x49117f),_0x51d11a=[],_0xd88631=[];let _0x3c74f6=_0x5191cc[_0x593f71(0xef)];for(;_0x3c74f6&&_0x3c74f6!==_0x1cd398;){let _0x3ba17b;_0xeaa455[_0x593f71(0xe9)](_0x3c74f6)||_0x51d11a[_0x593f71(0x105)](_0x3c74f6),_0x3ba17b=_0x289556(_0x3c74f6)?_0x35d255[_0x593f71(0xfa)](_0x5191cc,_0x3c74f6,_0x593f71(0xe7)):_0x35d255[_0x593f71(0x107)](_0x5191cc,_0x3c74f6),_0x3c74f6=_0x3ba17b?_0x3ba17b[_0x593f71(0xf4)]:null;}for(_0x3c74f6=_0x5191cc[_0x593f71(0xfd)];_0x3c74f6&&_0x3c74f6!==_0x49117f;){let _0x26c08e;_0x469ebe[_0x593f71(0xe9)](_0x3c74f6)||_0xd88631[_0x593f71(0x105)](_0x3c74f6),_0x26c08e=_0x289556(_0x3c74f6)?_0x35d255[_0x593f71(0xfa)](_0x5191cc,_0x3c74f6,_0x593f71(0xf2)):_0x35d255[_0x593f71(0xf5)](_0x5191cc,_0x3c74f6),_0x3c74f6=_0x26c08e?_0x26c08e[_0x593f71(0xf6)]:null;}return _0x51d11a[_0x593f71(0xf7)](_0x285ebf=>{_0xe0d080(_0x285ebf);}),_0xd88631[_0x593f71(0xea)]()[_0x593f71(0xf7)](_0x29f4f1=>{_0xe0d080(_0x29f4f1);}),_0x5191cc;}}function _0x56c1(){const _0x48c52b=['parent','14HYGlCE','165610WFVSIm','660jdzZVL','firstChild','path','data','end','isEqual','nextNode','createBefore','previousNode','forEach','160959sPRKFB','2108504KRnKgK','createAt','505169cTLjvL','slice','lastChild','length','20135bjwtIa','258reLutA','16XgLydm','3148119LTtSIy','376502VYgIcS','createFromPath','push','getContent','createAfter','getNudgedToWordBoundary','start','document','includes','reverse'];_0x56c1=function(){return _0x48c52b;};return _0x56c1();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x41cd43,_0x13c30f){var _0x3b01a4=_0x41b6,_0x1da8ab=_0x41cd43();while(!![]){try{var _0x331a4c=parseInt(_0x3b01a4(0x197))/0x1+parseInt(_0x3b01a4(0x18d))/0x2*(-parseInt(_0x3b01a4(0x18e))/0x3)+-parseInt(_0x3b01a4(0x199))/0x4*(-parseInt(_0x3b01a4(0x18f))/0x5)+-parseInt(_0x3b01a4(0x195))/0x6+parseInt(_0x3b01a4(0x191))/0x7*(-parseInt(_0x3b01a4(0x18a))/0x8)+parseInt(_0x3b01a4(0x198))/0x9*(-parseInt(_0x3b01a4(0x193))/0xa)+parseInt(_0x3b01a4(0x19a))/0xb;if(_0x331a4c===_0x13c30f)break;else _0x1da8ab['push'](_0x1da8ab['shift']());}catch(_0x566c0a){_0x1da8ab['push'](_0x1da8ab['shift']());}}}(_0x439d,0xbafdb));function _0x439d(){var _0x5e06c7=['4133778qrysuY','AIChat:\x20Multiple\x20editor\x20instances\x20detected.\x20Only\x20the\x20first\x20editor\x20instance\x20will\x20be\x20used\x20for\x20AI\x20operations.\x20This\x20configuration\x20is\x20not\x20fully\x20supported\x20and\x20may\x20lead\x20to\x20unexpected\x20behavior.','1097921krgGcy','267039tVEOJL','5725588fRQJlR','10089464NeNRjU','7723496LgXzin','warn','length','438vsITSJ','13245jmnGAh','5WidpJL','editors','7LnvOwn','get','20TXOciQ','ai-get-editor-from-context-no-editor'];_0x439d=function(){return _0x5e06c7;};return _0x439d();}import{CKEditorError as _0xd7a89c}from'ckeditor5/src/utils.js';import{Editor as _0x1589b2}from'ckeditor5/src/core.js';function _0x41b6(_0x1b8ae2,_0x50e60c){var _0x439d21=_0x439d();return _0x41b6=function(_0x41b67d,_0x833ca2){_0x41b67d=_0x41b67d-0x18a;var _0x259ce4=_0x439d21[_0x41b67d];return _0x259ce4;},_0x41b6(_0x1b8ae2,_0x50e60c);}export function getEditorFromContext(_0x4aa12a){var _0x1136c2=_0x41b6;if(_0x4aa12a instanceof _0x1589b2)return _0x4aa12a;if(_0x4aa12a?.[_0x1136c2(0x190)]&&_0x4aa12a[_0x1136c2(0x190)][_0x1136c2(0x192)](0x0))return _0x4aa12a[_0x1136c2(0x190)][_0x1136c2(0x18c)]>0x1&&console[_0x1136c2(0x18b)](_0x1136c2(0x196)),_0x4aa12a[_0x1136c2(0x190)][_0x1136c2(0x192)](0x0);throw new _0xd7a89c(_0x1136c2(0x194));}
23
+ (function(_0x578122,_0x435c6b){var _0x1583e0=_0x1423,_0x74c4eb=_0x578122();while(!![]){try{var _0x250892=-parseInt(_0x1583e0(0xc5))/0x1+-parseInt(_0x1583e0(0xc1))/0x2*(parseInt(_0x1583e0(0xba))/0x3)+parseInt(_0x1583e0(0xbc))/0x4+parseInt(_0x1583e0(0xbd))/0x5+-parseInt(_0x1583e0(0xb9))/0x6+parseInt(_0x1583e0(0xc2))/0x7*(parseInt(_0x1583e0(0xbf))/0x8)+-parseInt(_0x1583e0(0xc4))/0x9;if(_0x250892===_0x435c6b)break;else _0x74c4eb['push'](_0x74c4eb['shift']());}catch(_0x44966f){_0x74c4eb['push'](_0x74c4eb['shift']());}}}(_0x3d90,0x7232d));import{CKEditorError as _0x101a94}from'ckeditor5/src/utils.js';import{Editor as _0x48a41e}from'ckeditor5/src/core.js';function _0x1423(_0x58373b,_0xe0ce2c){var _0x3d9030=_0x3d90();return _0x1423=function(_0x14234b,_0x3cbf18){_0x14234b=_0x14234b-0xb8;var _0x2dd741=_0x3d9030[_0x14234b];return _0x2dd741;},_0x1423(_0x58373b,_0xe0ce2c);}export function getEditorFromContext(_0x52b531){var _0x2a73da=_0x1423;if(_0x52b531 instanceof _0x48a41e)return _0x52b531;if(_0x52b531?.[_0x2a73da(0xb8)]&&_0x52b531[_0x2a73da(0xb8)][_0x2a73da(0xc0)](0x0))return _0x52b531[_0x2a73da(0xb8)][_0x2a73da(0xc3)]>0x1&&console[_0x2a73da(0xbb)](_0x2a73da(0xbe)),_0x52b531[_0x2a73da(0xb8)][_0x2a73da(0xc0)](0x0);throw new _0x101a94(_0x2a73da(0xc6));}function _0x3d90(){var _0xb94a42=['371DqZgGg','length','2092581QovSUh','285349dTnmcR','ai-get-editor-from-context-no-editor','editors','4163592dCyQbj','3KQDLkp','warn','1415808KERBwd','3665955IDumhc','AIChat:\x20Multiple\x20editor\x20instances\x20detected.\x20Only\x20the\x20first\x20editor\x20instance\x20will\x20be\x20used\x20for\x20AI\x20operations.\x20This\x20configuration\x20is\x20not\x20fully\x20supported\x20and\x20may\x20lead\x20to\x20unexpected\x20behavior.','90632bHbtby','get','16066tfdaVy'];_0x3d90=function(){return _0xb94a42;};return _0x3d90();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2d6cba,_0x4632cc){const _0x4e8a0d=_0x2381,_0x45661f=_0x2d6cba();while(!![]){try{const _0x30da86=-parseInt(_0x4e8a0d(0x15d))/0x1+-parseInt(_0x4e8a0d(0x15c))/0x2+-parseInt(_0x4e8a0d(0x156))/0x3+parseInt(_0x4e8a0d(0x139))/0x4*(parseInt(_0x4e8a0d(0x13a))/0x5)+-parseInt(_0x4e8a0d(0x141))/0x6*(-parseInt(_0x4e8a0d(0x146))/0x7)+-parseInt(_0x4e8a0d(0x13b))/0x8*(-parseInt(_0x4e8a0d(0x159))/0x9)+parseInt(_0x4e8a0d(0x149))/0xa;if(_0x30da86===_0x4632cc)break;else _0x45661f['push'](_0x45661f['shift']());}catch(_0x29d362){_0x45661f['push'](_0x45661f['shift']());}}}(_0x1344,0x63b9c));import{transformOperationSets as _0x488b8e}from'ckeditor5/src/engine.js';function _0x2381(_0x34b1c6,_0x5cc3d2){const _0x13443f=_0x1344();return _0x2381=function(_0x238101,_0x26f4d6){_0x238101=_0x238101-0x139;let _0x49171c=_0x13443f[_0x238101];return _0x49171c;},_0x2381(_0x34b1c6,_0x5cc3d2);}import{append as _0x5793b5,findByAttribute as _0x1cfa3e,prependChild as _0x28ba5c,removeElement as _0x32ed3a,serialize as _0x3ec73a}from'./htmlparser.js';function _0x1344(){const _0xb7e4b6=['shift','76316XvQIDq','70PTtaSZ','8UFuDKW','operationsA','getRange','new','getDiff','history','822phYyoK','getDocumentContext','cloneNode','document','content','7798rHoRnM','get','length','6445750frCgLs','getOperations','anchorId','type','markers','node','removed','oldRange','name','model','map','documentContextContent','filter','2364513nDujNM','version','previousSibling','3075174qvggqw','data-id','marker','418100lNTKHQ','288joQfPi'];_0x1344=function(){return _0xb7e4b6;};return _0x1344();}export function getOperationsFromReply({editor:_0x352711,interaction:_0x490b90,reply:_0x471f83,groups:_0x3ce634,transform:_0x29d18d,documentCompare:_0x19a0f9,documentCompareOptions:_0x536c67}){const _0x596863=_0x2381,_0x26a696=_0x490b90[_0x596863(0x142)]();if(!_0x26a696)return[];const _0x44d260=_0x26a696[_0x596863(0x145)],_0x216031=_0x26a696[_0x596863(0x157)],_0x243167=_0x471f83[_0x596863(0x154)][_0x596863(0x143)](!0x0);for(const {changes:_0x106ee6}of _0x3ce634){const _0x440ef4=_0x106ee6[_0x596863(0x155)](_0x808101=>_0x596863(0x13e)!=_0x808101[_0x596863(0x14c)])[_0x596863(0x153)](_0x26e9ca=>_0x1cfa3e(_0x596863(0x15a),_0x26e9ca['id'],_0x243167)),_0x9a6e4e=_0x106ee6[_0x596863(0x155)](_0x33438f=>_0x596863(0x14f)!=_0x33438f[_0x596863(0x14c)])[_0x596863(0x153)](_0x23173e=>_0x23173e[_0x596863(0x14e)][_0x596863(0x143)](!0x0));let _0x130433=null;if(_0x440ef4[_0x596863(0x148)]){_0x130433=_0x440ef4[0x0][_0x596863(0x158)];for(let _0x30d06f=0x0;_0x30d06f<_0x440ef4[_0x596863(0x148)];_0x30d06f++)_0x32ed3a(_0x440ef4[_0x30d06f]);}if(_0x9a6e4e[_0x596863(0x148)]){_0x130433||(_0x106ee6[0x0][_0x596863(0x14b)]?_0x130433=_0x1cfa3e(_0x596863(0x15a),_0x106ee6[0x0][_0x596863(0x14b)],_0x243167):(_0x130433=_0x9a6e4e[_0x596863(0x15e)](),_0x28ba5c(_0x243167,_0x130433)));for(let _0x3dc3fc=0x0;_0x3dc3fc<_0x9a6e4e[_0x596863(0x148)];_0x3dc3fc++)_0x5793b5(_0x130433,_0x9a6e4e[_0x3dc3fc]),_0x130433=_0x9a6e4e[_0x3dc3fc];}}const _0x584891=_0x3ec73a(_0x243167),_0xedbaef=_0x19a0f9[_0x596863(0x13f)](_0x44d260,_0x584891,_0x536c67)[_0x596863(0x14a)]();if(_0x29d18d){const _0x302b9a=_0x352711[_0x596863(0x152)][_0x596863(0x144)][_0x596863(0x140)][_0x596863(0x14a)](_0x216031),_0x254b3d={'document':_0x352711[_0x596863(0x152)][_0x596863(0x144)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x488b8e(_0xedbaef,_0x302b9a,_0x254b3d)[_0x596863(0x13c)];}return _0xedbaef;}export function fixMarkerOperationOldRange(_0x38b834,_0x838fec){const _0x390e93=_0x2381;if(_0x390e93(0x15b)!=_0x838fec[_0x390e93(0x14c)])return;const _0x59ce0e=_0x38b834[_0x390e93(0x152)][_0x390e93(0x14d)][_0x390e93(0x147)](_0x838fec[_0x390e93(0x151)]);_0x59ce0e&&(_0x838fec[_0x390e93(0x150)]=_0x59ce0e[_0x390e93(0x13d)]());}
23
+ (function(_0x16ac35,_0x147278){const _0x371e0d=_0x394d,_0x2c70f5=_0x16ac35();while(!![]){try{const _0x5694cf=-parseInt(_0x371e0d(0xd3))/0x1+-parseInt(_0x371e0d(0xe0))/0x2*(parseInt(_0x371e0d(0xd5))/0x3)+parseInt(_0x371e0d(0xc6))/0x4+-parseInt(_0x371e0d(0xe8))/0x5*(-parseInt(_0x371e0d(0xcd))/0x6)+-parseInt(_0x371e0d(0xea))/0x7+-parseInt(_0x371e0d(0xd0))/0x8*(-parseInt(_0x371e0d(0xd1))/0x9)+parseInt(_0x371e0d(0xc8))/0xa*(parseInt(_0x371e0d(0xcc))/0xb);if(_0x5694cf===_0x147278)break;else _0x2c70f5['push'](_0x2c70f5['shift']());}catch(_0x7b59c5){_0x2c70f5['push'](_0x2c70f5['shift']());}}}(_0xb4b5,0x6c867));import{transformOperationSets as _0x30e342}from'ckeditor5/src/engine.js';import{append as _0x1fe211,findByAttribute as _0x113a08,prependChild as _0x440ee8,removeElement as _0x385078,serialize as _0x82a9c9}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x4b4668,interaction:_0x466846,reply:_0x33744e,groups:_0x34b532,transform:_0x822399,documentCompare:_0x5ae4ec,documentCompareOptions:_0x19f55e}){const _0x56a3c9=_0x394d,_0x619dcb=_0x466846[_0x56a3c9(0xdd)]();if(!_0x619dcb)return[];const _0x3764d6=_0x619dcb[_0x56a3c9(0xca)],_0x44870=_0x619dcb[_0x56a3c9(0xc7)],_0x3b0521=_0x33744e[_0x56a3c9(0xec)][_0x56a3c9(0xda)](!0x0);for(const {changes:_0x4cddee}of _0x34b532){const _0x348f1a=_0x4cddee[_0x56a3c9(0xe6)](_0x58e87b=>_0x56a3c9(0xe3)!=_0x58e87b[_0x56a3c9(0xd8)])[_0x56a3c9(0xdb)](_0x3395c2=>_0x113a08(_0x56a3c9(0xcf),_0x3395c2['id'],_0x3b0521)),_0x3cd836=_0x4cddee[_0x56a3c9(0xe6)](_0xff9e8c=>_0x56a3c9(0xd6)!=_0xff9e8c[_0x56a3c9(0xd8)])[_0x56a3c9(0xdb)](_0x5d0556=>_0x5d0556[_0x56a3c9(0xe9)][_0x56a3c9(0xda)](!0x0));let _0x44a547=null;if(_0x348f1a[_0x56a3c9(0xe1)]){_0x44a547=_0x348f1a[0x0][_0x56a3c9(0xd4)];for(let _0x33dcfc=0x0;_0x33dcfc<_0x348f1a[_0x56a3c9(0xe1)];_0x33dcfc++)_0x385078(_0x348f1a[_0x33dcfc]);}if(_0x3cd836[_0x56a3c9(0xe1)]){_0x44a547||(_0x4cddee[0x0][_0x56a3c9(0xe4)]?_0x44a547=_0x113a08(_0x56a3c9(0xcf),_0x4cddee[0x0][_0x56a3c9(0xe4)],_0x3b0521):(_0x44a547=_0x3cd836[_0x56a3c9(0xc9)](),_0x440ee8(_0x3b0521,_0x44a547)));for(let _0x2c22a2=0x0;_0x2c22a2<_0x3cd836[_0x56a3c9(0xe1)];_0x2c22a2++)_0x1fe211(_0x44a547,_0x3cd836[_0x2c22a2]),_0x44a547=_0x3cd836[_0x2c22a2];}}const _0x354da3=_0x82a9c9(_0x3b0521),_0x3a0fb0=_0x5ae4ec[_0x56a3c9(0xe2)](_0x3764d6,_0x354da3,_0x19f55e)[_0x56a3c9(0xd7)]();if(_0x822399){const _0x86768=_0x4b4668[_0x56a3c9(0xeb)][_0x56a3c9(0xe5)][_0x56a3c9(0xce)][_0x56a3c9(0xd7)](_0x44870),_0x68cc20={'document':_0x4b4668[_0x56a3c9(0xeb)][_0x56a3c9(0xe5)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x30e342(_0x3a0fb0,_0x86768,_0x68cc20)[_0x56a3c9(0xd2)];}return _0x3a0fb0;}function _0xb4b5(){const _0x56b835=['shift','content','get','4103ymrHcE','676488ztNtlZ','history','data-id','24dougWF','2029887JEkiov','operationsA','626207dcizXO','previousSibling','182253xZElcB','removed','getOperations','type','name','cloneNode','map','marker','getDocumentContext','oldRange','getRange','26VIzdod','length','getDiff','new','anchorId','document','filter','markers','20sKnfgC','node','858067LBSMVl','model','documentContextContent','1826848mNmWUc','version','10690kpitNb'];_0xb4b5=function(){return _0x56b835;};return _0xb4b5();}function _0x394d(_0x4802cc,_0x9aeb1b){const _0xb4b5f7=_0xb4b5();return _0x394d=function(_0x394d87,_0x371efd){_0x394d87=_0x394d87-0xc6;let _0x5da889=_0xb4b5f7[_0x394d87];return _0x5da889;},_0x394d(_0x4802cc,_0x9aeb1b);}export function fixMarkerOperationOldRange(_0x359fce,_0x59fc54){const _0x44c362=_0x394d;if(_0x44c362(0xdc)!=_0x59fc54[_0x44c362(0xd8)])return;const _0x4fe609=_0x359fce[_0x44c362(0xeb)][_0x44c362(0xe7)][_0x44c362(0xcb)](_0x59fc54[_0x44c362(0xd9)]);_0x4fe609&&(_0x59fc54[_0x44c362(0xde)]=_0x4fe609[_0x44c362(0xdf)]());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x54d5(_0x549521,_0xf918b5){const _0x231471=_0x2314();return _0x54d5=function(_0x54d5cb,_0x5003f2){_0x54d5cb=_0x54d5cb-0x74;let _0x49ca22=_0x231471[_0x54d5cb];return _0x49ca22;},_0x54d5(_0x549521,_0xf918b5);}(function(_0x46ca44,_0x214afc){const _0x2b59b8=_0x54d5,_0x2056fb=_0x46ca44();while(!![]){try{const _0x1c0045=-parseInt(_0x2b59b8(0xca))/0x1+-parseInt(_0x2b59b8(0xac))/0x2+-parseInt(_0x2b59b8(0xb1))/0x3*(parseInt(_0x2b59b8(0x80))/0x4)+-parseInt(_0x2b59b8(0xba))/0x5*(-parseInt(_0x2b59b8(0x9c))/0x6)+parseInt(_0x2b59b8(0x7c))/0x7*(parseInt(_0x2b59b8(0x9a))/0x8)+parseInt(_0x2b59b8(0x94))/0x9*(parseInt(_0x2b59b8(0x9e))/0xa)+parseInt(_0x2b59b8(0xb9))/0xb*(parseInt(_0x2b59b8(0xbc))/0xc);if(_0x1c0045===_0x214afc)break;else _0x2056fb['push'](_0x2056fb['shift']());}catch(_0xdb565b){_0x2056fb['push'](_0x2056fb['shift']());}}}(_0x2314,0x61551));import{findOne as _0x20ffc2,getAttribute as _0x55a120,Document as _0x2fd21a,serialize as _0x5d2971,parse as _0x1bf414}from'./htmlparser.js';import{fixElementSuggestionRange as _0x209ab6}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x408d9e,_DetachOperation as _0x5cc912,_removeFromModelNodeList as _0x5a0750,_insertIntoModelNodeList as _0x12d9f0}from'ckeditor5/src/engine.js';import{uid as _0x4638d6}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x2cb17b,changeGroups:_0x515048,documentContextContent:_0xdf14e8,showDiff:_0x1d6556,trimUnchanged:_0x437454=!0x0}){const _0x394ff0=_0x54d5;return _0x515048[_0x394ff0(0xb3)](_0x85112c=>{const _0x1f69b4=_0x394ff0,_0x2cca6d=new _0x2fd21a([]),_0x28ab25=new _0x2fd21a([]);for(const _0x4f070a of _0x85112c[_0x1f69b4(0x98)])if(_0x1d6556&&_0x1f69b4(0x95)==_0x4f070a[_0x1f69b4(0xb2)]||_0x28ab25[_0x1f69b4(0x93)][_0x1f69b4(0xa5)](_0x4f070a[_0x1f69b4(0xa6)][_0x1f69b4(0xdc)](!0x0)),_0x1f69b4(0xad)!=_0x4f070a[_0x1f69b4(0xb2)]&&(_0x1d6556||_0x1f69b4(0x95)!=_0x4f070a[_0x1f69b4(0xb2)])){const _0x408af3=_0x20ffc2(_0x3ec4d0=>_0x55a120(_0x3ec4d0,_0x1f69b4(0xd6))==_0x4f070a['id'],_0xdf14e8,!0x0);_0x408af3&&_0x2cca6d[_0x1f69b4(0x93)][_0x1f69b4(0xa5)](_0x408af3[_0x1f69b4(0xdc)](!0x0));}const {content:_0x27be09,hasChanges:_0x166e61}=function(_0x41e0b8,_0x287e1a,_0x419cd8,_0x453caa,_0x17a398=!0x0){const _0x26c5a4=_0x1f69b4,_0x1d7d7a=_0x41e0b8[_0x26c5a4(0xc9)][_0x26c5a4(0xe8)](_0x26c5a4(0x8d)),_0x31bb39=_0x5d2971(_0x287e1a),_0x422c03=_0x5d2971(_0x419cd8),_0x213d19=_0x41e0b8[_0x26c5a4(0x82)][_0x26c5a4(0x91)](_0x31bb39,_0x26c5a4(0xd0)),_0x5ce6e0=_0x41e0b8[_0x26c5a4(0xe7)][_0x26c5a4(0x9b)](_0x213d19,0x0),_0x4c01f7=_0x1d7d7a[_0x26c5a4(0x99)](_0x31bb39,_0x422c03,{'anchor':_0x5ce6e0,'markDeletions':_0x453caa}),_0x3bbbba=_0x4c01f7[_0x26c5a4(0xc4)]();if(0x0==_0x3bbbba[_0x26c5a4(0x92)])return{'content':_0x287e1a[_0x26c5a4(0xdc)](!0x0),'hasChanges':!0x1};_0x453caa?function(_0x2a48d3,_0x1231a2,_0x17eb16){const _0x5cc744=_0x26c5a4;if(0x0==_0x2a48d3[_0x5cc744(0x92)])return;const _0x4568bc=_0x17eb16[_0x5cc744(0xc9)][_0x5cc744(0xe8)](_0x5cc744(0x8d)),_0x344558=_0x17eb16[_0x5cc744(0xc9)][_0x5cc744(0xe8)](_0x5cc744(0xd9));_0x17eb16[_0x5cc744(0xe7)][_0x5cc744(0x97)](_0x19c5f6=>{const _0x4c6631=_0x5cc744,_0x5b627d=new Set();for(let _0x4c9969=0x0;_0x4c9969<_0x2a48d3[_0x4c6631(0x92)];_0x4c9969++){const _0x2f0d63=_0x2a48d3[_0x4c9969];if(_0x2f0d63[_0x4c6631(0xce)]=null,_0x2f0d63[_0x4c6631(0xa2)]=!0x1,_0x4568bc[_0x4c6631(0xc3)](_0x2f0d63)){const _0x353006=_0x209ab6(_0x2f0d63[_0x4c6631(0x8e)],_0x17eb16[_0x4c6631(0xe7)]),_0x317c7d=_0x4c6631(0x7d)+_0x4638d6()+_0x4c6631(0x84);_0x1231a2[_0x4c6631(0x9d)][_0x4c6631(0xc5)](_0x317c7d,_0x353006);}else switch(_0x2f0d63[_0x4c6631(0xb2)]){case _0x4c6631(0xae):{if(_0x2f0d63[_0x4c6631(0x9f)]==_0x2f0d63[_0x4c6631(0xb7)])break;_0x19c5f6[_0x4c6631(0xaf)][_0x4c6631(0xbb)](_0x2f0d63),_0x17eb16[_0x4c6631(0xe7)][_0x4c6631(0x96)](_0x2f0d63);const _0x2468a3=_0x4c6631(0x76),_0x328774=_0x2f0d63[_0x4c6631(0xbe)],_0x416ed8=_0x17eb16[_0x4c6631(0xe7)][_0x4c6631(0xd4)](_0x328774,_0x17eb16[_0x4c6631(0xe7)][_0x4c6631(0x9b)](_0x328774[_0x4c6631(0x86)],_0x4c6631(0xd3))),_0x10387e=_0x4c6631(0xdd)+_0x2468a3+':'+_0x4638d6()+_0x4c6631(0x84);_0x1231a2[_0x4c6631(0x9d)][_0x4c6631(0xc5)](_0x10387e,_0x416ed8);break;}case _0x4c6631(0x8f):case _0x4c6631(0x83):case _0x4c6631(0xe6):{if(_0x2f0d63[_0x4c6631(0xea)]==_0x2f0d63[_0x4c6631(0xa8)])break;_0x19c5f6[_0x4c6631(0xaf)][_0x4c6631(0xbb)](_0x2f0d63),_0x17eb16[_0x4c6631(0xe7)][_0x4c6631(0x96)](_0x2f0d63);const _0x28f995=_0x2f0d63[_0x4c6631(0xa7)];if(!_0x344558[_0x4c6631(0xb4)](_0x28f995))break;const _0x51a050=_0x209ab6(_0x2f0d63[_0x4c6631(0x85)],_0x17eb16[_0x4c6631(0xe7)]),_0x4ff7ad=_0x4c6631(0xdd)+_0x28f995+':'+_0x4638d6()+_0x4c6631(0x84);_0x1231a2[_0x4c6631(0x9d)][_0x4c6631(0xc5)](_0x4ff7ad,_0x51a050);break;}case _0x4c6631(0xb8):{_0x19c5f6[_0x4c6631(0xaf)][_0x4c6631(0xbb)](_0x2f0d63),_0x17eb16[_0x4c6631(0xe7)][_0x4c6631(0x96)](_0x2f0d63);if(_0x2a48d3[_0x4c9969+0x1]&&_0x4c6631(0xe5)==_0x2a48d3[_0x4c9969+0x1][_0x4c6631(0xb2)]){ro(_0x1231a2,_0x2f0d63);break;}const _0x25af95=_0x2f0d63[_0x4c6631(0xbe)],_0x125618=_0x2f0d63[_0x4c6631(0xc2)],_0x2adc00=_0x209ab6(_0x17eb16[_0x4c6631(0xe7)][_0x4c6631(0xd4)](_0x25af95,_0x25af95[_0x4c6631(0xcb)](_0x125618)),_0x17eb16[_0x4c6631(0xe7)]),_0x3413fd=_0x4c6631(0xe4)+_0x4638d6()+_0x4c6631(0x84);_0x1231a2[_0x4c6631(0x9d)][_0x4c6631(0xc5)](_0x3413fd,_0x2adc00);break;}case _0x4c6631(0xbf):{_0x19c5f6[_0x4c6631(0xaf)][_0x4c6631(0xbb)](_0x2f0d63),_0x17eb16[_0x4c6631(0xe7)][_0x4c6631(0x96)](_0x2f0d63);const _0x50d8e5=_0x2f0d63[_0x4c6631(0x8c)],_0x27bd68=_0x2f0d63[_0x4c6631(0xaa)],_0x4fb8b8=_0x17eb16[_0x4c6631(0xe7)][_0x4c6631(0xd4)](_0x50d8e5,_0x27bd68),_0xec5d34=_0x4c6631(0xe4)+_0x4638d6()+_0x4c6631(0x84);_0x1231a2[_0x4c6631(0x9d)][_0x4c6631(0xc5)](_0xec5d34,_0x4fb8b8);break;}case _0x4c6631(0xe5):{_0x19c5f6[_0x4c6631(0xaf)][_0x4c6631(0xbb)](_0x2f0d63),_0x17eb16[_0x4c6631(0xe7)][_0x4c6631(0x96)](_0x2f0d63),_0x2a48d3[_0x4c9969-0x1]&&_0x4c6631(0xb8)==_0x2a48d3[_0x4c9969-0x1][_0x4c6631(0xb2)]&&ro(_0x1231a2,_0x2f0d63);const _0x107e50=_0x2f0d63[_0x4c6631(0x87)](),_0x2faf0e=_0x2f0d63[_0x4c6631(0xc2)];for(let _0x286c79=0x0;_0x286c79<_0x2faf0e;_0x286c79++){const _0x4bdb97=_0x107e50[_0x4c6631(0xcb)](_0x286c79)[_0x4c6631(0x86)];_0x5b627d[_0x4c6631(0xde)](_0x4bdb97);}break;}case _0x4c6631(0xd5):{const _0x2abcae=_0x2f0d63[_0x4c6631(0x78)],_0x2baea7=_0x2f0d63[_0x4c6631(0xc2)],_0x599696=new _0x5cc912(_0x2abcae,_0x2baea7);_0x19c5f6[_0x4c6631(0xaf)][_0x4c6631(0xbb)](_0x599696),_0x17eb16[_0x4c6631(0xe7)][_0x4c6631(0x96)](_0x599696);break;}}}for(const _0x58ad59 of _0x5b627d){const _0x4ce5ba=_0x17eb16[_0x4c6631(0xe7)][_0x4c6631(0xc6)](_0x58ad59),_0x3d86d6=_0x4c6631(0xc7)+_0x4638d6()+_0x4c6631(0x84);_0x1231a2[_0x4c6631(0x9d)][_0x4c6631(0xc5)](_0x3d86d6,_0x209ab6(_0x4ce5ba,_0x17eb16[_0x4c6631(0xe7)]));}});}(_0x3bbbba,_0x213d19,_0x41e0b8):_0x41e0b8[_0x26c5a4(0xe7)][_0x26c5a4(0x97)](_0x56f614=>{const _0x58b899=_0x26c5a4;for(const _0xa2b75d of _0x3bbbba)if(_0x58b899(0xd5)==_0xa2b75d[_0x58b899(0xb2)]){const _0x3e49d5=_0xa2b75d[_0x58b899(0x78)],_0x5caa6c=_0xa2b75d[_0x58b899(0xc2)],_0x78f0ee=new _0x5cc912(_0x3e49d5,_0x5caa6c);_0x56f614[_0x58b899(0xaf)][_0x58b899(0xbb)](_0x78f0ee),_0x41e0b8[_0x58b899(0xe7)][_0x58b899(0x96)](_0x78f0ee);}else{if(_0x58b899(0x74)==_0xa2b75d[_0x58b899(0xb2)]){const _0x36984b=_0xa2b75d[_0x58b899(0x8b)],_0x4156e7=_0xa2b75d[_0x58b899(0x8e)];_0x213d19[_0x58b899(0x9d)][_0x58b899(0xc5)](_0x36984b,_0x4156e7);}else _0xa2b75d[_0x58b899(0xce)]=null,_0xa2b75d[_0x58b899(0xa2)]=!0x1,_0x56f614[_0x58b899(0xaf)][_0x58b899(0xbb)](_0xa2b75d),_0x41e0b8[_0x58b899(0xe7)][_0x58b899(0x96)](_0xa2b75d);}});if(_0x17a398){const _0x5ca7a2=getMinimalSelection(_0x41e0b8,_0x3bbbba,_0x213d19);expandSelectionWithContext(_0x41e0b8[_0x26c5a4(0xe7)],_0x5ca7a2),function(_0x570b5d,_0x4dfd3e){const _0x1ec2f6=_0x26c5a4,_0xb5e095=_0x4dfd3e[_0x1ec2f6(0xe9)]()[_0x1ec2f6(0xda)];let _0x5a3547=_0x4dfd3e[_0x1ec2f6(0xe9)]()[_0x1ec2f6(0xd3)];const _0x5e36dd=_0xb5e095[_0x1ec2f6(0xcd)];(_0x5a3547[_0x1ec2f6(0x7f)]||_0x5a3547[_0x1ec2f6(0x86)]&&_0x5a3547[_0x1ec2f6(0x86)]['is'](_0x1ec2f6(0xb0)))&&(_0x12d9f0(_0x5a3547,_0x1ec2f6(0xbd)),_0x5a3547=_0x5a3547[_0x1ec2f6(0xcb)](0x3)),(_0xb5e095[_0x1ec2f6(0x7f)]||_0xb5e095[_0x1ec2f6(0xb5)]&&_0xb5e095[_0x1ec2f6(0xb5)]['is'](_0x1ec2f6(0xb0)))&&(_0x12d9f0(_0xb5e095,_0x1ec2f6(0xbd)),function(_0x4a8f20,_0x4b3960,_0x4c42dd){const _0x2fddc0=_0x1ec2f6;for(let [_0x50f384,_0x3563d5]of _0x4a8f20[_0x2fddc0(0x9d)]){const _0x27cd4e=_0x3563d5[_0x2fddc0(0xa3)](_0x4b3960,_0x4c42dd,!0x1);_0x3563d5=_0x27cd4e[0x0],_0x4a8f20[_0x2fddc0(0x9d)][_0x2fddc0(0xc5)](_0x50f384,_0x3563d5);}}(_0x5e36dd,_0xb5e095,0x3),_0xb5e095[_0x1ec2f6(0xc1)]==_0x5a3547[_0x1ec2f6(0xc1)]&&(_0x5a3547=_0x5a3547[_0x1ec2f6(0xcb)](0x3)));const _0x4036f6=_0x570b5d[_0x1ec2f6(0xd4)](_0x570b5d[_0x1ec2f6(0x9b)](_0x5e36dd,0x0),_0xb5e095),_0x2c97f5=_0x570b5d[_0x1ec2f6(0xd4)](_0x5a3547,_0x570b5d[_0x1ec2f6(0x9b)](_0x5e36dd,_0x1ec2f6(0xd3))),_0x4b719d=[..._0x4036f6[_0x1ec2f6(0x77)](),..._0x2c97f5[_0x1ec2f6(0x77)]()];_0x4b719d[_0x1ec2f6(0xa4)]();for(const _0x421643 of _0x4b719d)_0x5a0750(_0x421643),_transformMarkersByDeletion(_0x5e36dd,_0x421643);}(_0x41e0b8[_0x26c5a4(0xe7)],_0x5ca7a2);}const _0x19081c=_0x41e0b8[_0x26c5a4(0x82)][_0x26c5a4(0xcf)](_0x213d19,{'showSuggestionHighlights':!0x0});return{'content':_0x1bf414(_0x19081c),'hasChanges':!0x0};}(_0x2cb17b,_0x2cca6d,_0x28ab25,_0x1d6556,_0x437454);return{'type':_0x85112c[_0x1f69b4(0x98)][0x0][_0x1f69b4(0xb2)],'index':_0x85112c[_0x1f69b4(0x75)],'content':_0x27be09,'hasChanges':_0x166e61};});}function ro(_0x2e53d8,_0x1c0979){const _0xfd1827=_0x54d5;for(const [_0x89de95,_0x43d5be]of _0x2e53d8[_0xfd1827(0x9d)]){const _0x335e7a=_0x408d9e[_0xfd1827(0xa1)](_0x43d5be[_0xfd1827(0xd8)](_0x1c0979));_0x2e53d8[_0xfd1827(0x9d)][_0xfd1827(0xc5)](_0x89de95,_0x335e7a);}}export function getMinimalSelection(_0x7027d7,_0x47165e,_0x52b209){const _0x3552a4=_0x54d5,_0x5c8fed=_0x7027d7[_0x3552a4(0xc9)][_0x3552a4(0xe8)](_0x3552a4(0x8d));let _0x1998d1=_0x7027d7[_0x3552a4(0xe7)][_0x3552a4(0x9b)](_0x52b209,Number[_0x3552a4(0xdb)]),_0x389c4e=_0x7027d7[_0x3552a4(0xe7)][_0x3552a4(0x9b)](_0x52b209,0x0);for(const _0x2fa478 of _0x47165e){let _0x59f0f6,_0x2bf62a;if(_0x5c8fed[_0x3552a4(0xc3)](_0x2fa478))_0x59f0f6=_0x2fa478[_0x3552a4(0x8e)][_0x3552a4(0xda)],_0x2bf62a=_0x2fa478[_0x3552a4(0x8e)][_0x3552a4(0xd3)];else switch(_0x1998d1=_0x1998d1[_0x3552a4(0xd8)](_0x2fa478),_0x389c4e=_0x389c4e[_0x3552a4(0xd8)](_0x2fa478),_0x2fa478[_0x3552a4(0xb2)]){case _0x3552a4(0xae):_0x59f0f6=_0x2fa478[_0x3552a4(0xbe)],_0x2bf62a=_0x59f0f6[_0x3552a4(0xcb)](0x1);break;case _0x3552a4(0x8f):case _0x3552a4(0x83):case _0x3552a4(0xe6):_0x59f0f6=_0x2fa478[_0x3552a4(0x85)][_0x3552a4(0xda)],_0x2bf62a=_0x2fa478[_0x3552a4(0x85)][_0x3552a4(0xd3)];break;case _0x3552a4(0xb8):_0x59f0f6=_0x2fa478[_0x3552a4(0xbe)],_0x2bf62a=_0x59f0f6[_0x3552a4(0xcb)](_0x2fa478[_0x3552a4(0xc2)]);break;case _0x3552a4(0xbf):_0x59f0f6=_0x2fa478[_0x3552a4(0x8c)],_0x2bf62a=_0x2fa478[_0x3552a4(0xaa)];break;case _0x3552a4(0x7e):{const _0x56d92e=_0x2fa478[_0x3552a4(0xab)][_0x3552a4(0x81)][_0x3552a4(0x90)](0x0,-0x1);_0x59f0f6=_0x7027d7[_0x3552a4(0xe7)][_0x3552a4(0xe0)](_0x52b209,_0x56d92e),_0x2bf62a=_0x59f0f6[_0x3552a4(0xcb)](0x1);break;}case _0x3552a4(0xd5):{const _0x469775=_0x2fa478[_0x3552a4(0xc2)],_0x11d052=_0x2fa478[_0x3552a4(0x78)][_0x3552a4(0xa3)](_0x2fa478[_0x3552a4(0xab)],_0x469775),_0x15b832=_0x2fa478[_0x3552a4(0x87)]();_0x3552a4(0xd5)==_0x2fa478[_0x3552a4(0xb2)]?(_0x59f0f6=_0x11d052,_0x2bf62a=_0x11d052):(_0x59f0f6=_0x15b832,_0x2bf62a=_0x15b832[_0x3552a4(0xcb)](_0x469775));break;}}_0x59f0f6&&_0x59f0f6[_0x3552a4(0x79)](_0x1998d1)&&(_0x1998d1=_0x59f0f6[_0x3552a4(0xd1)](),_0x1998d1[_0x3552a4(0xd7)]=_0x3552a4(0xd2)),_0x2bf62a&&_0x2bf62a[_0x3552a4(0xe1)](_0x389c4e)&&(_0x389c4e=_0x2bf62a[_0x3552a4(0xd1)](),_0x389c4e[_0x3552a4(0xd7)]=_0x3552a4(0xd2));}return _0x7027d7[_0x3552a4(0xe7)][_0x3552a4(0xa0)](_0x7027d7[_0x3552a4(0xe7)][_0x3552a4(0xd4)](_0x1998d1,_0x389c4e));}export function expandSelectionWithContext(_0x5cbf5a,_0x21af02){const _0x534efa=_0x54d5;so(_0x5cbf5a,_0x21af02,_0x534efa(0x8a));const _0x287bf8=_0x21af02[_0x534efa(0xe9)]();_0x21af02[_0x534efa(0x7b)]([]),_0x21af02[_0x534efa(0x7b)](_0x287bf8,{'backward':!0x0}),so(_0x5cbf5a,_0x21af02,_0x534efa(0xe3));}function so(_0x2b03d5,_0x5169a9,_0x4605bc){const _0x4a257b=_0x54d5;let _0x6812d=0x14;for(;_0x6812d;){_0x2b03d5[_0x4a257b(0xb6)](_0x5169a9,{'unit':_0x4a257b(0x7a),'direction':_0x4605bc}),_0x6812d--;const _0x5a8276=_0x5169a9[_0x4a257b(0xe2)][_0x4a257b(0x8a)==_0x4605bc?_0x4a257b(0xb5):_0x4a257b(0x86)];if(_0x5a8276&&_0x5a8276['is'](_0x4a257b(0xc8))&&_0x2b03d5[_0x4a257b(0x88)][_0x4a257b(0xdf)](_0x5a8276)&&_0x2b03d5[_0x4a257b(0x88)][_0x4a257b(0xc0)](_0x5a8276))break;}}export function _transformMarkersByDeletion(_0x171222,_0x305c9a){const _0xa2ed31=_0x54d5;for(const [_0x25afca,_0x1341ce]of _0x171222[_0xa2ed31(0x9d)]){const _0x2b2254=_0x1341ce[_0xa2ed31(0xa9)](_0x305c9a[_0xa2ed31(0xda)],_0x305c9a[_0xa2ed31(0xd3)][_0xa2ed31(0x89)]-_0x305c9a[_0xa2ed31(0xda)][_0xa2ed31(0x89)]);null!=_0x2b2254?_0x171222[_0xa2ed31(0x9d)][_0xa2ed31(0xc5)](_0x25afca,_0x2b2254):_0x171222[_0xa2ed31(0x9d)][_0xa2ed31(0xcc)](_0x25afca);}}function _0x2314(){const _0x571eba=['targetPosition','925186eqDIGR','new','rename','batch','$text','3Fnhrcq','type','map','isRegisteredAttribute','nodeBefore','modifySelection','newName','insert','3043777fLfnIx','1687890rhYXpb','addOperation','36aLiGvS','...','position','split','isObject','parent','howMany','isMarkedRemoveOperation','getOperations','set','createRangeOn','suggestion:formatBlock:$fakeWrap:','element','plugins','640164ZNGVnV','getShiftedBy','delete','root','baseVersion','stringify','$root','clone','toNone','end','createRange','remove','data-id','stickiness','getTransformedByOperation','SuggestionsConversion','start','POSITIVE_INFINITY','cloneNode','suggestion:attribute:','add','isBlock','createPositionFromPath','isAfter','focus','backward','suggestion:insertion:','move','changeAttribute','model','get','getFirstRange','oldValue','marker','index','$elementName','getMinimalFlatRanges','sourcePosition','isBefore','word','setTo','7nKdjcL','suggestion:deletion:','merge','textNode','2123048TsbrJr','path','data','removeAttribute',':$aiSuggestion','range','nodeAfter','getMovedRangeStart','schema','offset','forward','name','splitPosition','DocumentCompare','newRange','addAttribute','slice','parse','length','children','45ALsnuH','removed','applyOperation','change','changes','getDiff','6083024GSFzEH','createPositionAt','6cNZFyl','markers','208230YKgqgA','oldName','createSelection','_createFromRanges','isDocumentOperation','_getTransformedByInsertion','reverse','push','node','key','newValue','_getTransformedByDeletion','moveTargetPosition'];_0x2314=function(){return _0x571eba;};return _0x2314();}
23
+ (function(_0x32848b,_0x474415){const _0xd920fd=_0x362d,_0x3b0c6a=_0x32848b();while(!![]){try{const _0x4024f8=-parseInt(_0xd920fd(0x1c5))/0x1+-parseInt(_0xd920fd(0x1c4))/0x2+parseInt(_0xd920fd(0x1eb))/0x3*(-parseInt(_0xd920fd(0x1e8))/0x4)+-parseInt(_0xd920fd(0x201))/0x5*(-parseInt(_0xd920fd(0x1fc))/0x6)+parseInt(_0xd920fd(0x1f3))/0x7*(parseInt(_0xd920fd(0x1de))/0x8)+-parseInt(_0xd920fd(0x223))/0x9+-parseInt(_0xd920fd(0x207))/0xa*(-parseInt(_0xd920fd(0x1db))/0xb);if(_0x4024f8===_0x474415)break;else _0x3b0c6a['push'](_0x3b0c6a['shift']());}catch(_0x2119bc){_0x3b0c6a['push'](_0x3b0c6a['shift']());}}}(_0x32b0,0x6d3c6));import{findOne as _0x448039,getAttribute as _0x158721,Document as _0x27606b,serialize as _0x4122bb,parse as _0x5033dc}from'./htmlparser.js';import{fixElementSuggestionRange as _0x35622b}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x75e70e,_DetachOperation as _0x45fc33,_removeFromModelNodeList as _0x5be7bd,_insertIntoModelNodeList as _0x1dc99b}from'ckeditor5/src/engine.js';import{uid as _0x4bc712}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x2c0449,changeGroups:_0x42bace,documentContextContent:_0x5b8d17,showDiff:_0x5f3bd8,trimUnchanged:_0x8674c4=!0x0}){const _0x452195=_0x362d;return _0x42bace[_0x452195(0x21a)](_0xb08e35=>{const _0x3ae6cc=_0x452195,_0x2b7abb=new _0x27606b([]),_0x29ce3b=new _0x27606b([]);for(const _0x158f02 of _0xb08e35[_0x3ae6cc(0x1e5)])if(_0x5f3bd8&&_0x3ae6cc(0x227)==_0x158f02[_0x3ae6cc(0x21d)]||_0x29ce3b[_0x3ae6cc(0x217)][_0x3ae6cc(0x22c)](_0x158f02[_0x3ae6cc(0x1f0)][_0x3ae6cc(0x1dc)](!0x0)),_0x3ae6cc(0x1ed)!=_0x158f02[_0x3ae6cc(0x21d)]&&(_0x5f3bd8||_0x3ae6cc(0x227)!=_0x158f02[_0x3ae6cc(0x21d)])){const _0x36bb82=_0x448039(_0x23712b=>_0x158721(_0x23712b,_0x3ae6cc(0x1c7))==_0x158f02['id'],_0x5b8d17,!0x0);_0x36bb82&&_0x2b7abb[_0x3ae6cc(0x217)][_0x3ae6cc(0x22c)](_0x36bb82[_0x3ae6cc(0x1dc)](!0x0));}const {content:_0x83671d,hasChanges:_0x493fd4}=function(_0x23603f,_0xecfdd3,_0x243c9e,_0x3e4ac3,_0xee353b=!0x0){const _0x490e4f=_0x3ae6cc,_0x8feaf6=_0x23603f[_0x490e4f(0x21c)][_0x490e4f(0x22b)](_0x490e4f(0x21b)),_0x4633d0=_0x4122bb(_0xecfdd3),_0x3209af=_0x4122bb(_0x243c9e),_0x238d8c=_0x23603f[_0x490e4f(0x1c1)][_0x490e4f(0x224)](_0x4633d0,_0x490e4f(0x214)),_0x191d09=_0x23603f[_0x490e4f(0x1d7)][_0x490e4f(0x1cc)](_0x238d8c,0x0),_0x15e31d=_0x8feaf6[_0x490e4f(0x206)](_0x4633d0,_0x3209af,{'anchor':_0x191d09,'markDeletions':_0x3e4ac3}),_0x412cce=_0x15e31d[_0x490e4f(0x202)]();if(0x0==_0x412cce[_0x490e4f(0x1e1)])return{'content':_0xecfdd3[_0x490e4f(0x1dc)](!0x0),'hasChanges':!0x1};_0x3e4ac3?function(_0x3f74a3,_0x163a77,_0x35f62a){const _0x2e0b70=_0x490e4f;if(0x0==_0x3f74a3[_0x2e0b70(0x1e1)])return;const _0x43957b=_0x35f62a[_0x2e0b70(0x21c)][_0x2e0b70(0x22b)](_0x2e0b70(0x21b)),_0x33dc76=_0x35f62a[_0x2e0b70(0x21c)][_0x2e0b70(0x22b)](_0x2e0b70(0x228));_0x35f62a[_0x2e0b70(0x1d7)][_0x2e0b70(0x1cf)](_0x4d0228=>{const _0x5ada4b=_0x2e0b70,_0x12a1ae=new Set();for(let _0x373c0f=0x0;_0x373c0f<_0x3f74a3[_0x5ada4b(0x1e1)];_0x373c0f++){const _0x3a8b23=_0x3f74a3[_0x373c0f];if(_0x3a8b23[_0x5ada4b(0x225)]=null,_0x3a8b23[_0x5ada4b(0x1ca)]=!0x1,_0x43957b[_0x5ada4b(0x1ef)](_0x3a8b23)){const _0x223acc=_0x35622b(_0x3a8b23[_0x5ada4b(0x1d2)],_0x35f62a[_0x5ada4b(0x1d7)]),_0x548a38=_0x5ada4b(0x1d4)+_0x4bc712()+_0x5ada4b(0x205);_0x163a77[_0x5ada4b(0x20d)][_0x5ada4b(0x1cb)](_0x548a38,_0x223acc);}else switch(_0x3a8b23[_0x5ada4b(0x21d)]){case _0x5ada4b(0x219):{if(_0x3a8b23[_0x5ada4b(0x1ea)]==_0x3a8b23[_0x5ada4b(0x1ee)])break;_0x4d0228[_0x5ada4b(0x1e4)][_0x5ada4b(0x1fe)](_0x3a8b23),_0x35f62a[_0x5ada4b(0x1d7)][_0x5ada4b(0x1fa)](_0x3a8b23);const _0x2da9f9=_0x5ada4b(0x1d9),_0x3362ca=_0x3a8b23[_0x5ada4b(0x1bc)],_0x111ed6=_0x35f62a[_0x5ada4b(0x1d7)][_0x5ada4b(0x1e9)](_0x3362ca,_0x35f62a[_0x5ada4b(0x1d7)][_0x5ada4b(0x1cc)](_0x3362ca[_0x5ada4b(0x1d6)],_0x5ada4b(0x1d3))),_0x3b33c7=_0x5ada4b(0x1d1)+_0x2da9f9+':'+_0x4bc712()+_0x5ada4b(0x205);_0x163a77[_0x5ada4b(0x20d)][_0x5ada4b(0x1cb)](_0x3b33c7,_0x111ed6);break;}case _0x5ada4b(0x216):case _0x5ada4b(0x1f7):case _0x5ada4b(0x1f9):{if(_0x3a8b23[_0x5ada4b(0x213)]==_0x3a8b23[_0x5ada4b(0x1fb)])break;_0x4d0228[_0x5ada4b(0x1e4)][_0x5ada4b(0x1fe)](_0x3a8b23),_0x35f62a[_0x5ada4b(0x1d7)][_0x5ada4b(0x1fa)](_0x3a8b23);const _0x3103a2=_0x3a8b23[_0x5ada4b(0x22a)];if(!_0x33dc76[_0x5ada4b(0x1ff)](_0x3103a2))break;const _0x56ab40=_0x35622b(_0x3a8b23[_0x5ada4b(0x1c9)],_0x35f62a[_0x5ada4b(0x1d7)]),_0x9e52e2=_0x5ada4b(0x1d1)+_0x3103a2+':'+_0x4bc712()+_0x5ada4b(0x205);_0x163a77[_0x5ada4b(0x20d)][_0x5ada4b(0x1cb)](_0x9e52e2,_0x56ab40);break;}case _0x5ada4b(0x1fd):{_0x4d0228[_0x5ada4b(0x1e4)][_0x5ada4b(0x1fe)](_0x3a8b23),_0x35f62a[_0x5ada4b(0x1d7)][_0x5ada4b(0x1fa)](_0x3a8b23);if(_0x3f74a3[_0x373c0f+0x1]&&_0x5ada4b(0x1bd)==_0x3f74a3[_0x373c0f+0x1][_0x5ada4b(0x21d)]){ro(_0x163a77,_0x3a8b23);break;}const _0x98f1c0=_0x3a8b23[_0x5ada4b(0x1bc)],_0x203dbf=_0x3a8b23[_0x5ada4b(0x1c3)],_0x5dc7a6=_0x35622b(_0x35f62a[_0x5ada4b(0x1d7)][_0x5ada4b(0x1e9)](_0x98f1c0,_0x98f1c0[_0x5ada4b(0x1bf)](_0x203dbf)),_0x35f62a[_0x5ada4b(0x1d7)]),_0xca5527=_0x5ada4b(0x1da)+_0x4bc712()+_0x5ada4b(0x205);_0x163a77[_0x5ada4b(0x20d)][_0x5ada4b(0x1cb)](_0xca5527,_0x5dc7a6);break;}case _0x5ada4b(0x1d5):{_0x4d0228[_0x5ada4b(0x1e4)][_0x5ada4b(0x1fe)](_0x3a8b23),_0x35f62a[_0x5ada4b(0x1d7)][_0x5ada4b(0x1fa)](_0x3a8b23);const _0x5a74aa=_0x3a8b23[_0x5ada4b(0x1c0)],_0x56d1e4=_0x3a8b23[_0x5ada4b(0x1ba)],_0xadbaaa=_0x35f62a[_0x5ada4b(0x1d7)][_0x5ada4b(0x1e9)](_0x5a74aa,_0x56d1e4),_0x9cb23f=_0x5ada4b(0x1da)+_0x4bc712()+_0x5ada4b(0x205);_0x163a77[_0x5ada4b(0x20d)][_0x5ada4b(0x1cb)](_0x9cb23f,_0xadbaaa);break;}case _0x5ada4b(0x1bd):{_0x4d0228[_0x5ada4b(0x1e4)][_0x5ada4b(0x1fe)](_0x3a8b23),_0x35f62a[_0x5ada4b(0x1d7)][_0x5ada4b(0x1fa)](_0x3a8b23),_0x3f74a3[_0x373c0f-0x1]&&_0x5ada4b(0x1fd)==_0x3f74a3[_0x373c0f-0x1][_0x5ada4b(0x21d)]&&ro(_0x163a77,_0x3a8b23);const _0x653cca=_0x3a8b23[_0x5ada4b(0x1e3)](),_0x39913c=_0x3a8b23[_0x5ada4b(0x1c3)];for(let _0x112e74=0x0;_0x112e74<_0x39913c;_0x112e74++){const _0x219926=_0x653cca[_0x5ada4b(0x1bf)](_0x112e74)[_0x5ada4b(0x1d6)];_0x12a1ae[_0x5ada4b(0x211)](_0x219926);}break;}case _0x5ada4b(0x1c8):{const _0x2f57f8=_0x3a8b23[_0x5ada4b(0x1bb)],_0x4411fb=_0x3a8b23[_0x5ada4b(0x1c3)],_0x57fd78=new _0x45fc33(_0x2f57f8,_0x4411fb);_0x4d0228[_0x5ada4b(0x1e4)][_0x5ada4b(0x1fe)](_0x57fd78),_0x35f62a[_0x5ada4b(0x1d7)][_0x5ada4b(0x1fa)](_0x57fd78);break;}}}for(const _0x9d9649 of _0x12a1ae){const _0x56582c=_0x35f62a[_0x5ada4b(0x1d7)][_0x5ada4b(0x210)](_0x9d9649),_0x178bc2=_0x5ada4b(0x215)+_0x4bc712()+_0x5ada4b(0x205);_0x163a77[_0x5ada4b(0x20d)][_0x5ada4b(0x1cb)](_0x178bc2,_0x35622b(_0x56582c,_0x35f62a[_0x5ada4b(0x1d7)]));}});}(_0x412cce,_0x238d8c,_0x23603f):_0x23603f[_0x490e4f(0x1d7)][_0x490e4f(0x1cf)](_0x2f86aa=>{const _0x2293c5=_0x490e4f;for(const _0x3318c3 of _0x412cce)if(_0x2293c5(0x1c8)==_0x3318c3[_0x2293c5(0x21d)]){const _0x40ba30=_0x3318c3[_0x2293c5(0x1bb)],_0x2a9c99=_0x3318c3[_0x2293c5(0x1c3)],_0x4e46c3=new _0x45fc33(_0x40ba30,_0x2a9c99);_0x2f86aa[_0x2293c5(0x1e4)][_0x2293c5(0x1fe)](_0x4e46c3),_0x23603f[_0x2293c5(0x1d7)][_0x2293c5(0x1fa)](_0x4e46c3);}else{if(_0x2293c5(0x20b)==_0x3318c3[_0x2293c5(0x21d)]){const _0x29822d=_0x3318c3[_0x2293c5(0x229)],_0x2cb7b5=_0x3318c3[_0x2293c5(0x1d2)];_0x238d8c[_0x2293c5(0x20d)][_0x2293c5(0x1cb)](_0x29822d,_0x2cb7b5);}else _0x3318c3[_0x2293c5(0x225)]=null,_0x3318c3[_0x2293c5(0x1ca)]=!0x1,_0x2f86aa[_0x2293c5(0x1e4)][_0x2293c5(0x1fe)](_0x3318c3),_0x23603f[_0x2293c5(0x1d7)][_0x2293c5(0x1fa)](_0x3318c3);}});if(_0xee353b){const _0x12965f=getMinimalSelection(_0x23603f,_0x412cce,_0x238d8c);expandSelectionWithContext(_0x23603f[_0x490e4f(0x1d7)],_0x12965f),function(_0x10f04c,_0x58d5d5){const _0xcf9aff=_0x490e4f,_0x451f3f=_0x58d5d5[_0xcf9aff(0x1ce)]()[_0xcf9aff(0x1d0)];let _0x1d58ab=_0x58d5d5[_0xcf9aff(0x1ce)]()[_0xcf9aff(0x1d3)];const _0x2f4af0=_0x451f3f[_0xcf9aff(0x20a)];(_0x1d58ab[_0xcf9aff(0x1e0)]||_0x1d58ab[_0xcf9aff(0x1d6)]&&_0x1d58ab[_0xcf9aff(0x1d6)]['is'](_0xcf9aff(0x1cd)))&&(_0x1dc99b(_0x1d58ab,_0xcf9aff(0x22d)),_0x1d58ab=_0x1d58ab[_0xcf9aff(0x1bf)](0x3)),(_0x451f3f[_0xcf9aff(0x1e0)]||_0x451f3f[_0xcf9aff(0x1d8)]&&_0x451f3f[_0xcf9aff(0x1d8)]['is'](_0xcf9aff(0x1cd)))&&(_0x1dc99b(_0x451f3f,_0xcf9aff(0x22d)),function(_0x44ff93,_0x4c85ba,_0x32e5f1){const _0x1c52df=_0xcf9aff;for(let [_0x55f349,_0x1f110f]of _0x44ff93[_0x1c52df(0x20d)]){const _0x51d1c3=_0x1f110f[_0x1c52df(0x20e)](_0x4c85ba,_0x32e5f1,!0x1);_0x1f110f=_0x51d1c3[0x0],_0x44ff93[_0x1c52df(0x20d)][_0x1c52df(0x1cb)](_0x55f349,_0x1f110f);}}(_0x2f4af0,_0x451f3f,0x3),_0x451f3f[_0xcf9aff(0x1df)]==_0x1d58ab[_0xcf9aff(0x1df)]&&(_0x1d58ab=_0x1d58ab[_0xcf9aff(0x1bf)](0x3)));const _0x5d56a7=_0x10f04c[_0xcf9aff(0x1e9)](_0x10f04c[_0xcf9aff(0x1cc)](_0x2f4af0,0x0),_0x451f3f),_0x2cab94=_0x10f04c[_0xcf9aff(0x1e9)](_0x1d58ab,_0x10f04c[_0xcf9aff(0x1cc)](_0x2f4af0,_0xcf9aff(0x1d3))),_0x2b6e8a=[..._0x5d56a7[_0xcf9aff(0x204)](),..._0x2cab94[_0xcf9aff(0x204)]()];_0x2b6e8a[_0xcf9aff(0x1c2)]();for(const _0x1e5353 of _0x2b6e8a)_0x5be7bd(_0x1e5353),_transformMarkersByDeletion(_0x2f4af0,_0x1e5353);}(_0x23603f[_0x490e4f(0x1d7)],_0x12965f);}const _0x2fd6b9=_0x23603f[_0x490e4f(0x1c1)][_0x490e4f(0x1f8)](_0x238d8c,{'showSuggestionHighlights':!0x0});return{'content':_0x5033dc(_0x2fd6b9),'hasChanges':!0x0};}(_0x2c0449,_0x2b7abb,_0x29ce3b,_0x5f3bd8,_0x8674c4);return{'type':_0xb08e35[_0x3ae6cc(0x1e5)][0x0][_0x3ae6cc(0x21d)],'index':_0xb08e35[_0x3ae6cc(0x203)],'content':_0x83671d,'hasChanges':_0x493fd4};});}function ro(_0x16ad71,_0x5ce850){const _0x9e6962=_0x362d;for(const [_0x238867,_0x3c38f4]of _0x16ad71[_0x9e6962(0x20d)]){const _0x2a5b56=_0x75e70e[_0x9e6962(0x226)](_0x3c38f4[_0x9e6962(0x1f1)](_0x5ce850));_0x16ad71[_0x9e6962(0x20d)][_0x9e6962(0x1cb)](_0x238867,_0x2a5b56);}}function _0x32b0(){const _0x44e7bb=['applyOperation','newValue','42vBNSZm','insert','addOperation','isRegisteredAttribute','merge','488345uRqdOo','getOperations','index','getMinimalFlatRanges',':$aiSuggestion','getDiff','14440fKMXji','schema','delete','root','marker','offset','markers','_getTransformedByInsertion','isBlock','createRangeOn','add','_getTransformedByDeletion','oldValue','$root','suggestion:formatBlock:$fakeWrap:','addAttribute','children','backward','rename','map','DocumentCompare','plugins','type','targetPosition','toNone','clone','element','modifySelection','4725063PzFyYA','parse','baseVersion','_createFromRanges','removed','SuggestionsConversion','name','key','get','push','...','slice','isBefore','moveTargetPosition','sourcePosition','position','move','setTo','getShiftedBy','splitPosition','data','reverse','howMany','925658FCDlto','816780EheEFP','stickiness','data-id','remove','range','isDocumentOperation','set','createPositionAt','$text','getFirstRange','change','start','suggestion:attribute:','newRange','end','suggestion:deletion:','split','nodeAfter','model','nodeBefore','$elementName','suggestion:insertion:','17017rXaFlq','cloneNode','forward','172504wBxjQB','parent','textNode','length','isObject','getMovedRangeStart','batch','changes','focus','word','22296SzmjJM','createRange','oldName','393ubBNnM','POSITIVE_INFINITY','new','newName','isMarkedRemoveOperation','node','getTransformedByOperation','isAfter','21EyaxqT','path','createPositionFromPath','createSelection','removeAttribute','stringify','changeAttribute'];_0x32b0=function(){return _0x44e7bb;};return _0x32b0();}export function getMinimalSelection(_0x392986,_0x5d5dee,_0x5ad6af){const _0x2d1095=_0x362d,_0x2ddbb1=_0x392986[_0x2d1095(0x21c)][_0x2d1095(0x22b)](_0x2d1095(0x21b));let _0x58a3ec=_0x392986[_0x2d1095(0x1d7)][_0x2d1095(0x1cc)](_0x5ad6af,Number[_0x2d1095(0x1ec)]),_0x32f6b2=_0x392986[_0x2d1095(0x1d7)][_0x2d1095(0x1cc)](_0x5ad6af,0x0);for(const _0x54a626 of _0x5d5dee){let _0x120323,_0x438091;if(_0x2ddbb1[_0x2d1095(0x1ef)](_0x54a626))_0x120323=_0x54a626[_0x2d1095(0x1d2)][_0x2d1095(0x1d0)],_0x438091=_0x54a626[_0x2d1095(0x1d2)][_0x2d1095(0x1d3)];else switch(_0x58a3ec=_0x58a3ec[_0x2d1095(0x1f1)](_0x54a626),_0x32f6b2=_0x32f6b2[_0x2d1095(0x1f1)](_0x54a626),_0x54a626[_0x2d1095(0x21d)]){case _0x2d1095(0x219):_0x120323=_0x54a626[_0x2d1095(0x1bc)],_0x438091=_0x120323[_0x2d1095(0x1bf)](0x1);break;case _0x2d1095(0x216):case _0x2d1095(0x1f7):case _0x2d1095(0x1f9):_0x120323=_0x54a626[_0x2d1095(0x1c9)][_0x2d1095(0x1d0)],_0x438091=_0x54a626[_0x2d1095(0x1c9)][_0x2d1095(0x1d3)];break;case _0x2d1095(0x1fd):_0x120323=_0x54a626[_0x2d1095(0x1bc)],_0x438091=_0x120323[_0x2d1095(0x1bf)](_0x54a626[_0x2d1095(0x1c3)]);break;case _0x2d1095(0x1d5):_0x120323=_0x54a626[_0x2d1095(0x1c0)],_0x438091=_0x54a626[_0x2d1095(0x1ba)];break;case _0x2d1095(0x200):{const _0x4b5c21=_0x54a626[_0x2d1095(0x21e)][_0x2d1095(0x1f4)][_0x2d1095(0x1b8)](0x0,-0x1);_0x120323=_0x392986[_0x2d1095(0x1d7)][_0x2d1095(0x1f5)](_0x5ad6af,_0x4b5c21),_0x438091=_0x120323[_0x2d1095(0x1bf)](0x1);break;}case _0x2d1095(0x1c8):{const _0x28bb7f=_0x54a626[_0x2d1095(0x1c3)],_0x52f7=_0x54a626[_0x2d1095(0x1bb)][_0x2d1095(0x20e)](_0x54a626[_0x2d1095(0x21e)],_0x28bb7f),_0x2a0885=_0x54a626[_0x2d1095(0x1e3)]();_0x2d1095(0x1c8)==_0x54a626[_0x2d1095(0x21d)]?(_0x120323=_0x52f7,_0x438091=_0x52f7):(_0x120323=_0x2a0885,_0x438091=_0x2a0885[_0x2d1095(0x1bf)](_0x28bb7f));break;}}_0x120323&&_0x120323[_0x2d1095(0x1b9)](_0x58a3ec)&&(_0x58a3ec=_0x120323[_0x2d1095(0x220)](),_0x58a3ec[_0x2d1095(0x1c6)]=_0x2d1095(0x21f)),_0x438091&&_0x438091[_0x2d1095(0x1f2)](_0x32f6b2)&&(_0x32f6b2=_0x438091[_0x2d1095(0x220)](),_0x32f6b2[_0x2d1095(0x1c6)]=_0x2d1095(0x21f));}return _0x392986[_0x2d1095(0x1d7)][_0x2d1095(0x1f6)](_0x392986[_0x2d1095(0x1d7)][_0x2d1095(0x1e9)](_0x58a3ec,_0x32f6b2));}export function expandSelectionWithContext(_0x44e8e9,_0x2355fd){const _0x46e72d=_0x362d;so(_0x44e8e9,_0x2355fd,_0x46e72d(0x1dd));const _0x49153f=_0x2355fd[_0x46e72d(0x1ce)]();_0x2355fd[_0x46e72d(0x1be)]([]),_0x2355fd[_0x46e72d(0x1be)](_0x49153f,{'backward':!0x0}),so(_0x44e8e9,_0x2355fd,_0x46e72d(0x218));}function so(_0x38f8cf,_0xd26430,_0x3e614a){const _0x550628=_0x362d;let _0x794ae4=0x14;for(;_0x794ae4;){_0x38f8cf[_0x550628(0x222)](_0xd26430,{'unit':_0x550628(0x1e7),'direction':_0x3e614a}),_0x794ae4--;const _0x2fa6eb=_0xd26430[_0x550628(0x1e6)][_0x550628(0x1dd)==_0x3e614a?_0x550628(0x1d8):_0x550628(0x1d6)];if(_0x2fa6eb&&_0x2fa6eb['is'](_0x550628(0x221))&&_0x38f8cf[_0x550628(0x208)][_0x550628(0x20f)](_0x2fa6eb)&&_0x38f8cf[_0x550628(0x208)][_0x550628(0x1e2)](_0x2fa6eb))break;}}function _0x362d(_0x14f6e4,_0x1826e1){const _0x32b0a9=_0x32b0();return _0x362d=function(_0x362dac,_0x4cbe5b){_0x362dac=_0x362dac-0x1b8;let _0x547dc2=_0x32b0a9[_0x362dac];return _0x547dc2;},_0x362d(_0x14f6e4,_0x1826e1);}export function _transformMarkersByDeletion(_0x1bb290,_0x371ce9){const _0x3b420b=_0x362d;for(const [_0x4fc7cc,_0x177c5b]of _0x1bb290[_0x3b420b(0x20d)]){const _0x2b53be=_0x177c5b[_0x3b420b(0x212)](_0x371ce9[_0x3b420b(0x1d0)],_0x371ce9[_0x3b420b(0x1d3)][_0x3b420b(0x20c)]-_0x371ce9[_0x3b420b(0x1d0)][_0x3b420b(0x20c)]);null!=_0x2b53be?_0x1bb290[_0x3b420b(0x20d)][_0x3b420b(0x1cb)](_0x4fc7cc,_0x2b53be):_0x1bb290[_0x3b420b(0x20d)][_0x3b420b(0x209)](_0x4fc7cc);}}