@ckeditor/ckeditor5-ai 47.7.2-alpha.0 → 47.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) 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/awstextadapter.js +1 -1
  8. package/src/aiassistant/aiassistantediting.js +1 -1
  9. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  10. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  11. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  12. package/src/aiassistant/ui/form/aiformview.js +1 -1
  13. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  14. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  15. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  16. package/src/aiballoon/aiballoon.js +1 -1
  17. package/src/aichat/aichat.js +1 -1
  18. package/src/aichat/aichatballoon.js +1 -1
  19. package/src/aichat/aichatcontroller.js +1 -1
  20. package/src/aichat/aichatui.js +1 -1
  21. package/src/aichat/model/aichatcontext.js +1 -1
  22. package/src/aichat/model/aichatconversation.js +1 -1
  23. package/src/aichat/model/aichatinteraction.js +1 -1
  24. package/src/aichat/ui/aichatballoonview.js +1 -1
  25. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  26. package/src/aichat/ui/aichatfeedview.js +1 -1
  27. package/src/aichat/ui/aichatheaderview.js +1 -1
  28. package/src/aichat/ui/aichatview.js +1 -1
  29. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  30. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  31. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  32. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  33. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  34. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  35. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  36. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  37. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  38. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  39. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  40. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  41. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  42. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  43. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  44. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  45. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  46. package/src/aichat/utils/eventnames.js +1 -1
  47. package/src/aichathistory/aichathistory.js +1 -1
  48. package/src/aichathistory/aichathistorycontroller.js +1 -1
  49. package/src/aichathistory/aichathistoryui.js +1 -1
  50. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  51. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  52. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  53. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  54. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  55. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  56. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  57. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  58. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  59. package/src/aicore/aiconnector.js +1 -1
  60. package/src/aicore/aiediting.js +1 -1
  61. package/src/aicore/model/aiinteraction.js +1 -1
  62. package/src/aicore/model/aimodels.js +1 -1
  63. package/src/aicore/model/aireply.js +1 -1
  64. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  65. package/src/aicore/pipeline/airesponseparser.js +2 -2
  66. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  67. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  68. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  69. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  70. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  71. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  72. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  73. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  74. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  75. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  76. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  77. package/src/aicore/utils/documentposition.js +1 -1
  78. package/src/aicore/utils/documentrange.js +1 -1
  79. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  80. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  81. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  82. package/src/aicore/utils/htmlparser.js +1 -1
  83. package/src/aicore/utils/htmlstreamer.js +1 -1
  84. package/src/aieditorintegration/aieditorintegration.js +1 -1
  85. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  86. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  87. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  88. package/src/aiquickactions/aiquickactionsui.js +1 -1
  89. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  90. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  91. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  92. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  93. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  94. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  95. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  96. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  97. package/src/aireviewcore/aireviewcoreui.js +1 -1
  98. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  99. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  100. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  101. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  102. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  103. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  104. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  105. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  106. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  107. package/src/aireviewmode/aireviewmode.js +1 -1
  108. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  109. package/src/aitabs/aitabs.js +1 -1
  110. package/src/aitranslate/aitranslate.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x79db1b=_0x566e;function _0x566e(_0x457dc2,_0x566791){const _0x595de5=_0x595d();return _0x566e=function(_0x566ebc,_0x385ed2){_0x566ebc=_0x566ebc-0xa2;let _0x1b21d3=_0x595de5[_0x566ebc];return _0x1b21d3;},_0x566e(_0x457dc2,_0x566791);}(function(_0x3e4aef,_0x11d27d){const _0x32d646=_0x566e,_0x2dd576=_0x3e4aef();while(!![]){try{const _0x111998=parseInt(_0x32d646(0xae))/0x1+parseInt(_0x32d646(0xc9))/0x2+parseInt(_0x32d646(0xa3))/0x3+parseInt(_0x32d646(0xa2))/0x4+parseInt(_0x32d646(0xa5))/0x5+-parseInt(_0x32d646(0xab))/0x6+-parseInt(_0x32d646(0xc0))/0x7;if(_0x111998===_0x11d27d)break;else _0x2dd576['push'](_0x2dd576['shift']());}catch(_0x4c1c81){_0x2dd576['push'](_0x2dd576['shift']());}}}(_0x595d,0xe45a1));import{ButtonView as _0x28e919,IconView as _0xda42a8,ToolbarView as _0x4d2df1}from'ckeditor5/src/ui.js';import{IconCheck as _0x3fc73f,IconCopy as _0x32eed7,IconShowChangesOff as _0x465f13,IconShowChangesOn as _0x44e6eb,IconThumbDown as _0x258f08,IconThumbUp as _0x3902d5}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x27e306}from'../../utils/common-translations.js';import'../../../../theme/aichat/aiminitoolbar.css';function _0x595d(){const _0x252062=['AI_MINI_TOOLBAR_LIKE','fire','_setupShowChangesButton','isShowChangesOn','bind','927256myCfrg','isEnabled','extendTemplate','AI_MINI_TOOLBAR_COPY','toggleShowChanges','ck-ai-button-tertiary','showDislike','_setupCopyButton','AI_MINI_TOOLBAR_DISLIKE','showCopy','dislike','dislikeButton','1229252oXvawx','5478222yJtueb','toggleShowChangesEnabled','5920060raALNf','showChangesButton','likeButton','children','copyButton','showChanges','7657854XFpmnM','showLike','customView','1138017dIKMWg','icon','execute','AI_SUGGESTION_BUTTON_SHOW_CHANGES','items','ck-ai-mini-toolbar-copy-button','_config','locale','set','like','addMany','isOn','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','class','_setupRatingButtons','length','full','ck-ai-mini-toolbar-copy-button__check-mark','18951842qEUouQ','ck-ai-mini-toolbar\x20ck-hidden','add','ck-ai-mini-toolbar'];_0x595d=function(){return _0x252062;};return _0x595d();}export class AIMiniToolbarView extends _0x4d2df1{[_0x79db1b(0xa9)];[_0x79db1b(0xa7)];[_0x79db1b(0xd4)];[_0x79db1b(0xa6)];[_0x79db1b(0xb4)];constructor(_0x3687f0,_0x97241c={}){const _0x567beb=_0x79db1b;super(_0x3687f0),this[_0x567beb(0xb6)](_0x567beb(0xca),!0x0),this[_0x567beb(0xb6)](_0x567beb(0xc7),!0x1),this[_0x567beb(0xb4)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x97241c};const _0x49ab83=!(this[_0x567beb(0xb4)][_0x567beb(0xd2)]||this[_0x567beb(0xb4)][_0x567beb(0xaa)]||this[_0x567beb(0xb4)][_0x567beb(0xac)]||this[_0x567beb(0xb4)][_0x567beb(0xcf)]||this[_0x567beb(0xb4)][_0x567beb(0xad)]?.[_0x567beb(0xbd)]);this[_0x567beb(0xbb)]=_0x49ab83?_0x567beb(0xc1):_0x567beb(0xc3),this[_0x567beb(0xb4)][_0x567beb(0xd2)]&&(this[_0x567beb(0xd0)](),this[_0x567beb(0xb2)][_0x567beb(0xc2)](this[_0x567beb(0xa9)])),this[_0x567beb(0xb4)][_0x567beb(0xaa)]&&(this[_0x567beb(0xc6)](),this[_0x567beb(0xb2)][_0x567beb(0xc2)](this[_0x567beb(0xa6)])),this[_0x567beb(0xbc)](),this[_0x567beb(0xb4)][_0x567beb(0xac)]&&this[_0x567beb(0xb2)][_0x567beb(0xc2)](this[_0x567beb(0xa7)]),this[_0x567beb(0xb4)][_0x567beb(0xcf)]&&this[_0x567beb(0xb2)][_0x567beb(0xc2)](this[_0x567beb(0xd4)]),this[_0x567beb(0xb4)][_0x567beb(0xad)]&&this[_0x567beb(0xb2)][_0x567beb(0xb8)](this[_0x567beb(0xb4)][_0x567beb(0xad)]);}[_0x79db1b(0xa4)](_0x40fc1d){const _0x437776=_0x79db1b;this[_0x437776(0xa6)][_0x437776(0xca)]=_0x40fc1d;}[_0x79db1b(0xbc)](){const _0x53918b=_0x79db1b;this[_0x53918b(0xa7)]=new _0x28e919(this[_0x53918b(0xb5)]),this[_0x53918b(0xa7)][_0x53918b(0xb6)]({'icon':_0x3902d5,'label':_0x27e306(this[_0x53918b(0xb5)],_0x53918b(0xc4)),'tooltip':!0x0}),this[_0x53918b(0xa7)][_0x53918b(0xc8)](_0x53918b(0xca))['to'](this),this[_0x53918b(0xa7)]['on'](_0x53918b(0xb0),()=>{const _0x37ac23=_0x53918b;this[_0x37ac23(0xc5)](_0x37ac23(0xb7));}),this[_0x53918b(0xd4)]=new _0x28e919(this[_0x53918b(0xb5)]),this[_0x53918b(0xd4)][_0x53918b(0xb6)]({'icon':_0x258f08,'label':_0x27e306(this[_0x53918b(0xb5)],_0x53918b(0xd1)),'tooltip':!0x0}),this[_0x53918b(0xd4)][_0x53918b(0xc8)](_0x53918b(0xca))['to'](this),this[_0x53918b(0xd4)]['on'](_0x53918b(0xb0),()=>{const _0x27d672=_0x53918b;this[_0x27d672(0xc5)](_0x27d672(0xd3));});}[_0x79db1b(0xd0)](){const _0x325712=_0x79db1b;this[_0x325712(0xa9)]=new _0x28e919(this[_0x325712(0xb5)]),this[_0x325712(0xa9)][_0x325712(0xb6)]({'icon':_0x32eed7,'label':_0x27e306(this[_0x325712(0xb5)],_0x325712(0xcc)),'class':_0x325712(0xb3),'tooltip':!0x0}),this[_0x325712(0xa9)][_0x325712(0xc8)](_0x325712(0xca))['to'](this);const _0x842635=new _0xda42a8();_0x842635[_0x325712(0xb6)]({'content':_0x3fc73f}),_0x842635[_0x325712(0xcb)]({'attributes':{'class':[_0x325712(0xbf)]}}),this[_0x325712(0xa9)]['on'](_0x325712(0xb0),()=>{const _0x455306=_0x325712;this[_0x455306(0xa9)][_0x455306(0xbb)]=_0x455306(0xba),setTimeout(()=>{const _0x1d9df9=_0x455306;this[_0x1d9df9(0xa9)][_0x1d9df9(0xbb)]=_0x1d9df9(0xb3);},0x7d0);}),this[_0x325712(0xa9)][_0x325712(0xa8)][_0x325712(0xc2)](_0x842635);}[_0x79db1b(0xc6)](){const _0x19ee23=_0x79db1b;this[_0x19ee23(0xa6)]=new _0x28e919(this[_0x19ee23(0xb5)]),this[_0x19ee23(0xa6)][_0x19ee23(0xb6)]({'icon':_0x465f13,'label':_0x27e306(this[_0x19ee23(0xb5)],_0x19ee23(0xb1)),'withText':_0x19ee23(0xbe)==this[_0x19ee23(0xb4)][_0x19ee23(0xaa)],'tooltip':_0x19ee23(0xbe)!=this[_0x19ee23(0xb4)][_0x19ee23(0xaa)],'class':_0x19ee23(0xce)}),this[_0x19ee23(0xa6)][_0x19ee23(0xc8)](_0x19ee23(0xb9))['to'](this,_0x19ee23(0xc7)),this[_0x19ee23(0xa6)][_0x19ee23(0xc8)](_0x19ee23(0xca))['to'](this),this[_0x19ee23(0xa6)][_0x19ee23(0xc8)](_0x19ee23(0xaf))['to'](this,_0x19ee23(0xc7),_0x5bcb83=>_0x5bcb83?_0x44e6eb:_0x465f13),this[_0x19ee23(0xa6)]['on'](_0x19ee23(0xb0),()=>{const _0x266823=_0x19ee23;this[_0x266823(0xc5)](_0x266823(0xcd));});}}
23
+ const _0x29388a=_0x2f89;(function(_0x2b11c4,_0x3ba56d){const _0x23108a=_0x2f89,_0x12996e=_0x2b11c4();while(!![]){try{const _0x55a64f=parseInt(_0x23108a(0x175))/0x1+-parseInt(_0x23108a(0x185))/0x2*(-parseInt(_0x23108a(0x186))/0x3)+-parseInt(_0x23108a(0x19a))/0x4+parseInt(_0x23108a(0x19e))/0x5*(parseInt(_0x23108a(0x16f))/0x6)+parseInt(_0x23108a(0x194))/0x7*(parseInt(_0x23108a(0x18f))/0x8)+parseInt(_0x23108a(0x17f))/0x9*(parseInt(_0x23108a(0x18e))/0xa)+-parseInt(_0x23108a(0x183))/0xb*(parseInt(_0x23108a(0x17c))/0xc);if(_0x55a64f===_0x3ba56d)break;else _0x12996e['push'](_0x12996e['shift']());}catch(_0x1c76e3){_0x12996e['push'](_0x12996e['shift']());}}}(_0x28bc,0xee5bb));import{ButtonView as _0x3337a5,IconView as _0x7d30dd,ToolbarView as _0x33db5c}from'ckeditor5/src/ui.js';import{IconCheck as _0x9949af,IconCopy as _0x332129,IconShowChangesOff as _0x440d00,IconShowChangesOn as _0x192401,IconThumbDown as _0x35ca23,IconThumbUp as _0x2bfdc0}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x20316a}from'../../utils/common-translations.js';function _0x2f89(_0x321456,_0x4b9380){const _0x28bca1=_0x28bc();return _0x2f89=function(_0x2f8959,_0x52967c){_0x2f8959=_0x2f8959-0x168;let _0x35c86f=_0x28bca1[_0x2f8959];return _0x35c86f;},_0x2f89(_0x321456,_0x4b9380);}import'../../../../theme/aichat/aiminitoolbar.css';function _0x28bc(){const _0x43cdc0=['dislike','copyButton','length','160dOtldQ','728KYkrcv','class','like','showDislike','addMany','17059ruDeRH','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','locale','ck-ai-mini-toolbar-copy-button__check-mark','isEnabled','ck-ai-mini-toolbar\x20ck-hidden','5074144DxBkcQ','AI_MINI_TOOLBAR_COPY','toggleShowChanges','isShowChangesOn','7176815UbfjWK','bind','full','_setupCopyButton','ck-ai-mini-toolbar-copy-button','_setupShowChangesButton','items','customView','showCopy','6nAShhT','isOn','likeButton','extendTemplate','icon','fire','893820aBzAnC','ck-ai-button-tertiary','AI_SUGGESTION_BUTTON_SHOW_CHANGES','AI_MINI_TOOLBAR_DISLIKE','AI_MINI_TOOLBAR_LIKE','ck-ai-mini-toolbar','add','3156dTImZs','execute','showChanges','198342oOIepJ','toggleShowChangesEnabled','showChangesButton','showLike','34793brDEgS','dislikeButton','1852usjjVM','561bItBNC','set','children','_setupRatingButtons','_config'];_0x28bc=function(){return _0x43cdc0;};return _0x28bc();}export class AIMiniToolbarView extends _0x33db5c{[_0x29388a(0x18c)];[_0x29388a(0x171)];[_0x29388a(0x184)];[_0x29388a(0x181)];[_0x29388a(0x18a)];constructor(_0x315197,_0x528a83={}){const _0x4583ea=_0x29388a;super(_0x315197),this[_0x4583ea(0x187)](_0x4583ea(0x198),!0x0),this[_0x4583ea(0x187)](_0x4583ea(0x19d),!0x1),this[_0x4583ea(0x18a)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x528a83};const _0x163ff7=!(this[_0x4583ea(0x18a)][_0x4583ea(0x16e)]||this[_0x4583ea(0x18a)][_0x4583ea(0x17e)]||this[_0x4583ea(0x18a)][_0x4583ea(0x182)]||this[_0x4583ea(0x18a)][_0x4583ea(0x192)]||this[_0x4583ea(0x18a)][_0x4583ea(0x16d)]?.[_0x4583ea(0x18d)]);this[_0x4583ea(0x190)]=_0x163ff7?_0x4583ea(0x199):_0x4583ea(0x17a),this[_0x4583ea(0x18a)][_0x4583ea(0x16e)]&&(this[_0x4583ea(0x169)](),this[_0x4583ea(0x16c)][_0x4583ea(0x17b)](this[_0x4583ea(0x18c)])),this[_0x4583ea(0x18a)][_0x4583ea(0x17e)]&&(this[_0x4583ea(0x16b)](),this[_0x4583ea(0x16c)][_0x4583ea(0x17b)](this[_0x4583ea(0x181)])),this[_0x4583ea(0x189)](),this[_0x4583ea(0x18a)][_0x4583ea(0x182)]&&this[_0x4583ea(0x16c)][_0x4583ea(0x17b)](this[_0x4583ea(0x171)]),this[_0x4583ea(0x18a)][_0x4583ea(0x192)]&&this[_0x4583ea(0x16c)][_0x4583ea(0x17b)](this[_0x4583ea(0x184)]),this[_0x4583ea(0x18a)][_0x4583ea(0x16d)]&&this[_0x4583ea(0x16c)][_0x4583ea(0x193)](this[_0x4583ea(0x18a)][_0x4583ea(0x16d)]);}[_0x29388a(0x180)](_0x1b7e0c){const _0x358457=_0x29388a;this[_0x358457(0x181)][_0x358457(0x198)]=_0x1b7e0c;}[_0x29388a(0x189)](){const _0x7edfa5=_0x29388a;this[_0x7edfa5(0x171)]=new _0x3337a5(this[_0x7edfa5(0x196)]),this[_0x7edfa5(0x171)][_0x7edfa5(0x187)]({'icon':_0x2bfdc0,'label':_0x20316a(this[_0x7edfa5(0x196)],_0x7edfa5(0x179)),'tooltip':!0x0}),this[_0x7edfa5(0x171)][_0x7edfa5(0x19f)](_0x7edfa5(0x198))['to'](this),this[_0x7edfa5(0x171)]['on'](_0x7edfa5(0x17d),()=>{const _0x5c6439=_0x7edfa5;this[_0x5c6439(0x174)](_0x5c6439(0x191));}),this[_0x7edfa5(0x184)]=new _0x3337a5(this[_0x7edfa5(0x196)]),this[_0x7edfa5(0x184)][_0x7edfa5(0x187)]({'icon':_0x35ca23,'label':_0x20316a(this[_0x7edfa5(0x196)],_0x7edfa5(0x178)),'tooltip':!0x0}),this[_0x7edfa5(0x184)][_0x7edfa5(0x19f)](_0x7edfa5(0x198))['to'](this),this[_0x7edfa5(0x184)]['on'](_0x7edfa5(0x17d),()=>{const _0x9bda78=_0x7edfa5;this[_0x9bda78(0x174)](_0x9bda78(0x18b));});}[_0x29388a(0x169)](){const _0x25d143=_0x29388a;this[_0x25d143(0x18c)]=new _0x3337a5(this[_0x25d143(0x196)]),this[_0x25d143(0x18c)][_0x25d143(0x187)]({'icon':_0x332129,'label':_0x20316a(this[_0x25d143(0x196)],_0x25d143(0x19b)),'class':_0x25d143(0x16a),'tooltip':!0x0}),this[_0x25d143(0x18c)][_0x25d143(0x19f)](_0x25d143(0x198))['to'](this);const _0x5c5418=new _0x7d30dd();_0x5c5418[_0x25d143(0x187)]({'content':_0x9949af}),_0x5c5418[_0x25d143(0x172)]({'attributes':{'class':[_0x25d143(0x197)]}}),this[_0x25d143(0x18c)]['on'](_0x25d143(0x17d),()=>{const _0x23688d=_0x25d143;this[_0x23688d(0x18c)][_0x23688d(0x190)]=_0x23688d(0x195),setTimeout(()=>{const _0x53cd8f=_0x23688d;this[_0x53cd8f(0x18c)][_0x53cd8f(0x190)]=_0x53cd8f(0x16a);},0x7d0);}),this[_0x25d143(0x18c)][_0x25d143(0x188)][_0x25d143(0x17b)](_0x5c5418);}[_0x29388a(0x16b)](){const _0x14bf5b=_0x29388a;this[_0x14bf5b(0x181)]=new _0x3337a5(this[_0x14bf5b(0x196)]),this[_0x14bf5b(0x181)][_0x14bf5b(0x187)]({'icon':_0x440d00,'label':_0x20316a(this[_0x14bf5b(0x196)],_0x14bf5b(0x177)),'withText':_0x14bf5b(0x168)==this[_0x14bf5b(0x18a)][_0x14bf5b(0x17e)],'tooltip':_0x14bf5b(0x168)!=this[_0x14bf5b(0x18a)][_0x14bf5b(0x17e)],'class':_0x14bf5b(0x176)}),this[_0x14bf5b(0x181)][_0x14bf5b(0x19f)](_0x14bf5b(0x170))['to'](this,_0x14bf5b(0x19d)),this[_0x14bf5b(0x181)][_0x14bf5b(0x19f)](_0x14bf5b(0x198))['to'](this),this[_0x14bf5b(0x181)][_0x14bf5b(0x19f)](_0x14bf5b(0x173))['to'](this,_0x14bf5b(0x19d),_0x48a0af=>_0x48a0af?_0x192401:_0x440d00),this[_0x14bf5b(0x181)]['on'](_0x14bf5b(0x17d),()=>{const _0x44acfc=_0x14bf5b;this[_0x44acfc(0x174)](_0x44acfc(0x19c));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ea415=_0x5193;(function(_0x54a83a,_0x1316a9){const _0x8b9a87=_0x5193,_0x1ae7cd=_0x54a83a();while(!![]){try{const _0x4e304e=-parseInt(_0x8b9a87(0x18f))/0x1*(-parseInt(_0x8b9a87(0x19b))/0x2)+-parseInt(_0x8b9a87(0x1af))/0x3+-parseInt(_0x8b9a87(0x19e))/0x4+-parseInt(_0x8b9a87(0x174))/0x5*(parseInt(_0x8b9a87(0x199))/0x6)+-parseInt(_0x8b9a87(0x18a))/0x7*(parseInt(_0x8b9a87(0x17f))/0x8)+-parseInt(_0x8b9a87(0x1b3))/0x9*(-parseInt(_0x8b9a87(0x192))/0xa)+parseInt(_0x8b9a87(0x194))/0xb*(parseInt(_0x8b9a87(0x1a6))/0xc);if(_0x4e304e===_0x1316a9)break;else _0x1ae7cd['push'](_0x1ae7cd['shift']());}catch(_0x1ec83f){_0x1ae7cd['push'](_0x1ae7cd['shift']());}}}(_0x31d6,0x31546));import{View as _0x3c439a}from'ckeditor5/src/ui.js';function _0x5193(_0x4a5c71,_0x4b49a1){const _0x31d663=_0x31d6();return _0x5193=function(_0x519392,_0x5280a9){_0x519392=_0x519392-0x174;let _0x4bf4a1=_0x31d663[_0x519392];return _0x4bf4a1;},_0x5193(_0x4a5c71,_0x4b49a1);}function _0x31d6(){const _0x29c9ae=['queueEmptyPromise','areActionsDisabled','updateContent','setPartActive','availableActions','updateVisibility','41103NumjMU','updateContentParts','bodyCollection','add','234EURCfK','set','index','createCollection','push','enqueue','div','some','_cachedContentParts','hasChanges','10585nXIOid','_switchButtonLabelsPlurality','addEventListener','length','_children','delegate','partDefinition','_actionsView','setContent','AI_SUGGESTION_NO_PARTS_WARNING','ck-ai-suggestion__body__content-parts','48hlihwd','_sourcesView','filter','markAsDone','warning','find','isVisible','_updateContentPartsPromiseQueue','_showUnchangedParts','from','updatePartState','438431tXeyXL','getPartView','hasNonEmptyParts','isEnabled','_areActionsDisabled','1BPwYao','pending','_availableActions','90430hQQUwk','abort','649lBLezq','state','addSource','empty-parts-warning','AI_SUGGESTION_EMPTY_PART_WARNING','444UVrlQK','findIndex','756030wvAxQr','forEach','partsCount','274596phozDx','bind','locale','ck-ai-suggestion__body','hasPendingParts','setTemplate','isTrackChangesOn','_emptyPartsWarningView','41436qzCwVK','isActive','updateSources'];_0x31d6=function(){return _0x29c9ae;};return _0x31d6();}import{AISuggestionBodyViewContentPartView as _0x4d2749}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x129a38}from'../../utils/eventnames.js';import{PromiseQueue as _0x495c53}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x29a8e8}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x53d94a}from'../../utils/common-translations.js';import{AIChatFeedSuggestionItemActionsView as _0x5a00d1}from'../../../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIWebSourcesView as _0x17ac92}from'./aiwebsourcesview.js';export class AISuggestionBodyView extends _0x3c439a{[_0x4ea415(0x17b)];[_0x4ea415(0x180)];[_0x4ea415(0x178)];[_0x4ea415(0x18e)];[_0x4ea415(0x187)];[_0x4ea415(0x186)];[_0x4ea415(0x1a5)];[_0x4ea415(0x191)];[_0x4ea415(0x1bb)]=[];constructor(_0xbd089c,_0x5b0bf8){const _0x287bf0=_0x4ea415;super(_0xbd089c);const {areActionsDisabled:_0xa2b2a0,showUnchangedParts:_0x19463c,availableActions:_0x2a3b9b}=_0x5b0bf8;this[_0x287bf0(0x18e)]=_0xa2b2a0,this[_0x287bf0(0x187)]=_0x19463c,this[_0x287bf0(0x191)]=_0x2a3b9b,this[_0x287bf0(0x1b4)](_0x287bf0(0x1a2),!0x1),this[_0x287bf0(0x1b4)](_0x287bf0(0x1a4),!0x1),this[_0x287bf0(0x178)]=this[_0x287bf0(0x1b6)](),this[_0x287bf0(0x186)]=new _0x495c53(),this[_0x287bf0(0x1a5)]=new _0x29a8e8({'id':_0x287bf0(0x197),'initialContent':_0x53d94a(_0xbd089c,_0x287bf0(0x198)),'level':_0x287bf0(0x183)}),this[_0x287bf0(0x1a5)][_0x287bf0(0x185)]=!0x1,this[_0x287bf0(0x17b)]=new _0x5a00d1(_0xbd089c,_0x5b0bf8[_0x287bf0(0x1ad)],this[_0x287bf0(0x18e)]),this[_0x287bf0(0x17b)][_0x287bf0(0x19f)](_0x287bf0(0x1a4))['to'](this),this[_0x287bf0(0x180)]=new _0x17ac92(this[_0x287bf0(0x1a0)],_0x5b0bf8[_0x287bf0(0x1b1)]),_0x5b0bf8[_0x287bf0(0x1aa)]?this[_0x287bf0(0x17b)][_0x287bf0(0x18d)]=!0x1:this[_0x287bf0(0x17b)][_0x287bf0(0x19f)](_0x287bf0(0x18d))['to'](this,_0x287bf0(0x1a2)),this[_0x287bf0(0x17b)][_0x287bf0(0x179)](..._0x129a38)['to'](this),this[_0x287bf0(0x1a3)]({'tag':_0x287bf0(0x1b9),'attributes':{'class':['ck',_0x287bf0(0x1a1)]},'children':[{'tag':_0x287bf0(0x1b9),'attributes':{'class':['ck',_0x287bf0(0x17e)]},'children':this[_0x287bf0(0x178)]},this[_0x287bf0(0x1a5)],this[_0x287bf0(0x17b)],this[_0x287bf0(0x180)]]});}get[_0x4ea415(0x19d)](){const _0x3eb310=_0x4ea415;return this[_0x3eb310(0x178)][_0x3eb310(0x177)];}async[_0x4ea415(0x1b0)]({parts:_0x16ddb4,renderingStrategy:_0x542559,abortSignal:_0x293fad}){const _0x31fa17=_0x4ea415;this[_0x31fa17(0x178)][_0x31fa17(0x177)]?_0x16ddb4[_0x31fa17(0x19c)](_0x2a2a14=>{const _0x2ad4f7=_0x31fa17,_0x10d4a4=this[_0x2ad4f7(0x1bb)][_0x2ad4f7(0x19a)](_0x26d890=>_0x26d890[_0x2ad4f7(0x1b5)]==_0x2a2a14[_0x2ad4f7(0x1b5)]);-0x1===_0x10d4a4?this[_0x2ad4f7(0x1bb)][_0x2ad4f7(0x1b7)](_0x2a2a14):this[_0x2ad4f7(0x1bb)][_0x10d4a4]=_0x2a2a14;}):this[_0x31fa17(0x1bb)]=_0x16ddb4;const _0x1372a2=this[_0x31fa17(0x187)]?_0x16ddb4:_0x16ddb4[_0x31fa17(0x181)](_0x1cde34=>_0x1cde34[_0x31fa17(0x1bc)]);this[_0x31fa17(0x17b)][_0x31fa17(0x175)](_0x1372a2[_0x31fa17(0x177)]>0x1);for(const _0x2087ee of _0x1372a2)this[_0x31fa17(0x186)][_0x31fa17(0x1b8)](async _0x51ddad=>{const _0x4837fe=_0x31fa17;let _0x59f270=this[_0x4837fe(0x18b)](_0x2087ee[_0x4837fe(0x1b5)]);_0x59f270||(_0x59f270=new _0x4d2749(this[_0x4837fe(0x1a0)],{'part':_0x2087ee,'uiIndex':this[_0x4837fe(0x178)][_0x4837fe(0x177)]+0x1,'areActionsDisabled':this[_0x4837fe(0x18e)],'availableActions':this[_0x4837fe(0x191)]}),_0x59f270[_0x4837fe(0x179)](..._0x129a38)['to'](this),this[_0x4837fe(0x178)][_0x4837fe(0x1b2)](_0x59f270),this[_0x4837fe(0x1a2)]=!0x0),await _0x59f270[_0x4837fe(0x1ab)]({'part':_0x2087ee,'renderingStrategy':_0x542559,'showUnchangedParts':this[_0x4837fe(0x187)],'abortSignal':_0x51ddad}),_0x59f270[_0x4837fe(0x182)]();});return _0x293fad?.[_0x31fa17(0x176)](_0x31fa17(0x193),()=>{const _0x2f2bb4=_0x31fa17;this[_0x2f2bb4(0x186)][_0x2f2bb4(0x193)]();}),this[_0x31fa17(0x186)][_0x31fa17(0x1a9)];}[_0x4ea415(0x189)](_0x136305,_0x5dc8a0){const _0x299f62=_0x4ea415,_0x2b03e2=this[_0x299f62(0x18b)](_0x136305);_0x2b03e2&&(_0x2b03e2[_0x299f62(0x195)]=_0x5dc8a0),this[_0x299f62(0x1a2)]=_0x299f62(0x190)==_0x5dc8a0||Array[_0x299f62(0x188)](this[_0x299f62(0x178)])[_0x299f62(0x1ba)](_0x2079f1=>_0x299f62(0x190)==_0x2079f1[_0x299f62(0x195)]);}[_0x4ea415(0x1ac)](_0x551324,_0x31249b){const _0x4b2204=_0x4ea415;if(!0x1===_0x551324){for(const _0x4b3ff9 of this[_0x4b2204(0x178)])_0x4b3ff9[_0x4b2204(0x1a7)]=!0x1;}else{const _0x33252a=this[_0x4b2204(0x18b)](_0x551324);_0x33252a&&(_0x33252a[_0x4b2204(0x1a7)]=_0x31249b);}}[_0x4ea415(0x1a8)](_0x546757){const _0x32013c=_0x4ea415;_0x546757[_0x32013c(0x19c)](_0x4e61d8=>this[_0x32013c(0x180)][_0x32013c(0x196)](_0x4e61d8)),this[_0x32013c(0x180)][_0x32013c(0x185)]=!0x0;}[_0x4ea415(0x18b)](_0x3c940b){const _0x366624=_0x4ea415;return this[_0x366624(0x178)][_0x366624(0x184)](_0x921a1b=>_0x921a1b[_0x366624(0x17a)][_0x366624(0x1b5)]==_0x3c940b)??null;}[_0x4ea415(0x182)](){const _0x273dff=_0x4ea415;if(!this[_0x273dff(0x187)]){const _0x1c0902=!this[_0x273dff(0x1bb)][_0x273dff(0x184)](({hasChanges:_0x20ebc2})=>_0x20ebc2),_0x273d6c=!!this[_0x273dff(0x1bb)][_0x273dff(0x184)](({hasChanges:_0x4b7dd3})=>!_0x4b7dd3);this[_0x273dff(0x1a5)][_0x273dff(0x185)]=0x0==this[_0x273dff(0x178)][_0x273dff(0x177)]||_0x273d6c,_0x1c0902?this[_0x273dff(0x1a5)][_0x273dff(0x17c)](_0x53d94a(this[_0x273dff(0x1a0)],_0x273dff(0x17d))):this[_0x273dff(0x1a5)][_0x273dff(0x17c)](_0x53d94a(this[_0x273dff(0x1a0)],_0x273dff(0x198)));}this[_0x273dff(0x178)][_0x273dff(0x19c)](_0x2316d8=>_0x2316d8[_0x273dff(0x182)]()),this[_0x273dff(0x17b)][_0x273dff(0x1ae)](this[_0x273dff(0x18c)]);}get[_0x4ea415(0x18c)](){const _0x4aff82=_0x4ea415;return this[_0x4aff82(0x178)][_0x4aff82(0x181)](_0x2245e4=>_0x2245e4[_0x4aff82(0x17a)][_0x4aff82(0x1bc)])[_0x4aff82(0x177)]>0x0;}}
23
+ const _0x23142d=_0x4d3d;(function(_0x2b08f6,_0x242a7e){const _0x1a0b3c=_0x4d3d,_0x205875=_0x2b08f6();while(!![]){try{const _0x15812e=-parseInt(_0x1a0b3c(0x87))/0x1+-parseInt(_0x1a0b3c(0xa9))/0x2+parseInt(_0x1a0b3c(0x88))/0x3*(-parseInt(_0x1a0b3c(0xb9))/0x4)+parseInt(_0x1a0b3c(0x7d))/0x5+-parseInt(_0x1a0b3c(0x97))/0x6+parseInt(_0x1a0b3c(0xa4))/0x7*(-parseInt(_0x1a0b3c(0xa1))/0x8)+parseInt(_0x1a0b3c(0xb1))/0x9*(parseInt(_0x1a0b3c(0x9f))/0xa);if(_0x15812e===_0x242a7e)break;else _0x205875['push'](_0x205875['shift']());}catch(_0x24a47c){_0x205875['push'](_0x205875['shift']());}}}(_0x1d53,0x2b091));import{View as _0x3ca48a}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x4626c8}from'./aisuggestioncontentpartview.js';function _0x4d3d(_0x559097,_0x46a1e3){const _0x1d5306=_0x1d53();return _0x4d3d=function(_0x4d3d4d,_0x2bd99f){_0x4d3d4d=_0x4d3d4d-0x7d;let _0x31f265=_0x1d5306[_0x4d3d4d];return _0x31f265;},_0x4d3d(_0x559097,_0x46a1e3);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x37907c}from'../../utils/eventnames.js';function _0x1d53(){const _0x3c2517=['locale','addEventListener','isActive','delegate','enqueue','createCollection','updateSources','some','bodyCollection','_emptyPartsWarningView','82812nXEIrM','find','_switchButtonLabelsPlurality','partsCount','isTrackChangesOn','hasPendingParts','addSource','set','10gDnsLK','add','8ijZten','AI_SUGGESTION_NO_PARTS_WARNING','from','444472KKACTG','ck-ai-suggestion__body__content-parts','updatePartState','warning','_updateContentPartsPromiseQueue','578554CLTgwY','bind','partDefinition','index','setContent','isVisible','_children','ck-ai-suggestion__body','6886395wriWoe','isEnabled','_cachedContentParts','markAsDone','_availableActions','filter','_areActionsDisabled','pending','112DAzhUL','updateVisibility','setPartActive','updateContentParts','empty-parts-warning','areActionsDisabled','availableActions','setTemplate','_sourcesView','hasChanges','getPartView','818385IGRoHF','div','_actionsView','state','queueEmptyPromise','AI_SUGGESTION_EMPTY_PART_WARNING','updateContent','length','push','forEach','258136XUdwZj','13698IySpkU','abort','_showUnchangedParts','findIndex','hasNonEmptyParts'];_0x1d53=function(){return _0x3c2517;};return _0x1d53();}import{PromiseQueue as _0x46a451}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x2570d3}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x21e294}from'../../utils/common-translations.js';import{AIChatFeedSuggestionItemActionsView as _0xfb128e}from'../../../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIWebSourcesView as _0xe0fd5f}from'./aiwebsourcesview.js';export class AISuggestionBodyView extends _0x3ca48a{[_0x23142d(0x7f)];[_0x23142d(0xc1)];[_0x23142d(0xaf)];[_0x23142d(0xb7)];[_0x23142d(0x8a)];[_0x23142d(0xa8)];[_0x23142d(0x96)];[_0x23142d(0xb5)];[_0x23142d(0xb3)]=[];constructor(_0x3aacf8,_0x22b99a){const _0x5894e8=_0x23142d;super(_0x3aacf8);const {areActionsDisabled:_0x32e96d,showUnchangedParts:_0x4d4d5b,availableActions:_0x4d20b4}=_0x22b99a;this[_0x5894e8(0xb7)]=_0x32e96d,this[_0x5894e8(0x8a)]=_0x4d4d5b,this[_0x5894e8(0xb5)]=_0x4d20b4,this[_0x5894e8(0x9e)](_0x5894e8(0x9c),!0x1),this[_0x5894e8(0x9e)](_0x5894e8(0x9b),!0x1),this[_0x5894e8(0xaf)]=this[_0x5894e8(0x92)](),this[_0x5894e8(0xa8)]=new _0x46a451(),this[_0x5894e8(0x96)]=new _0x2570d3({'id':_0x5894e8(0xbd),'initialContent':_0x21e294(_0x3aacf8,_0x5894e8(0x82)),'level':_0x5894e8(0xa7)}),this[_0x5894e8(0x96)][_0x5894e8(0xae)]=!0x1,this[_0x5894e8(0x7f)]=new _0xfb128e(_0x3aacf8,_0x22b99a[_0x5894e8(0xbf)],this[_0x5894e8(0xb7)]),this[_0x5894e8(0x7f)][_0x5894e8(0xaa)](_0x5894e8(0x9b))['to'](this),this[_0x5894e8(0xc1)]=new _0xe0fd5f(this[_0x5894e8(0x8d)],_0x22b99a[_0x5894e8(0x95)]),_0x22b99a[_0x5894e8(0xbe)]?this[_0x5894e8(0x7f)][_0x5894e8(0xb2)]=!0x1:this[_0x5894e8(0x7f)][_0x5894e8(0xaa)](_0x5894e8(0xb2))['to'](this,_0x5894e8(0x9c)),this[_0x5894e8(0x7f)][_0x5894e8(0x90)](..._0x37907c)['to'](this),this[_0x5894e8(0xc0)]({'tag':_0x5894e8(0x7e),'attributes':{'class':['ck',_0x5894e8(0xb0)]},'children':[{'tag':_0x5894e8(0x7e),'attributes':{'class':['ck',_0x5894e8(0xa5)]},'children':this[_0x5894e8(0xaf)]},this[_0x5894e8(0x96)],this[_0x5894e8(0x7f)],this[_0x5894e8(0xc1)]]});}get[_0x23142d(0x9a)](){const _0x30a3e6=_0x23142d;return this[_0x30a3e6(0xaf)][_0x30a3e6(0x84)];}async[_0x23142d(0xbc)]({parts:_0x26f693,renderingStrategy:_0x4ddce5,abortSignal:_0x21628a}){const _0x30cb1b=_0x23142d;this[_0x30cb1b(0xaf)][_0x30cb1b(0x84)]?_0x26f693[_0x30cb1b(0x86)](_0x510154=>{const _0x2f65c2=_0x30cb1b,_0x115bd9=this[_0x2f65c2(0xb3)][_0x2f65c2(0x8b)](_0x1804f2=>_0x1804f2[_0x2f65c2(0xac)]==_0x510154[_0x2f65c2(0xac)]);-0x1===_0x115bd9?this[_0x2f65c2(0xb3)][_0x2f65c2(0x85)](_0x510154):this[_0x2f65c2(0xb3)][_0x115bd9]=_0x510154;}):this[_0x30cb1b(0xb3)]=_0x26f693;const _0x182ed2=this[_0x30cb1b(0x8a)]?_0x26f693:_0x26f693[_0x30cb1b(0xb6)](_0x446730=>_0x446730[_0x30cb1b(0xc2)]);this[_0x30cb1b(0x7f)][_0x30cb1b(0x99)](_0x182ed2[_0x30cb1b(0x84)]>0x1);for(const _0x1420ec of _0x182ed2)this[_0x30cb1b(0xa8)][_0x30cb1b(0x91)](async _0x435d98=>{const _0x51f3e5=_0x30cb1b;let _0x2217f3=this[_0x51f3e5(0xc3)](_0x1420ec[_0x51f3e5(0xac)]);_0x2217f3||(_0x2217f3=new _0x4626c8(this[_0x51f3e5(0x8d)],{'part':_0x1420ec,'uiIndex':this[_0x51f3e5(0xaf)][_0x51f3e5(0x84)]+0x1,'areActionsDisabled':this[_0x51f3e5(0xb7)],'availableActions':this[_0x51f3e5(0xb5)]}),_0x2217f3[_0x51f3e5(0x90)](..._0x37907c)['to'](this),this[_0x51f3e5(0xaf)][_0x51f3e5(0xa0)](_0x2217f3),this[_0x51f3e5(0x9c)]=!0x0),await _0x2217f3[_0x51f3e5(0x83)]({'part':_0x1420ec,'renderingStrategy':_0x4ddce5,'showUnchangedParts':this[_0x51f3e5(0x8a)],'abortSignal':_0x435d98}),_0x2217f3[_0x51f3e5(0xb4)]();});return _0x21628a?.[_0x30cb1b(0x8e)](_0x30cb1b(0x89),()=>{const _0x23a564=_0x30cb1b;this[_0x23a564(0xa8)][_0x23a564(0x89)]();}),this[_0x30cb1b(0xa8)][_0x30cb1b(0x81)];}[_0x23142d(0xa6)](_0x18a218,_0x1dbb74){const _0x43f68b=_0x23142d,_0x571528=this[_0x43f68b(0xc3)](_0x18a218);_0x571528&&(_0x571528[_0x43f68b(0x80)]=_0x1dbb74),this[_0x43f68b(0x9c)]=_0x43f68b(0xb8)==_0x1dbb74||Array[_0x43f68b(0xa3)](this[_0x43f68b(0xaf)])[_0x43f68b(0x94)](_0xd5f230=>_0x43f68b(0xb8)==_0xd5f230[_0x43f68b(0x80)]);}[_0x23142d(0xbb)](_0x5d490b,_0x23221e){const _0x4013aa=_0x23142d;if(!0x1===_0x5d490b){for(const _0xe57667 of this[_0x4013aa(0xaf)])_0xe57667[_0x4013aa(0x8f)]=!0x1;}else{const _0x301dfd=this[_0x4013aa(0xc3)](_0x5d490b);_0x301dfd&&(_0x301dfd[_0x4013aa(0x8f)]=_0x23221e);}}[_0x23142d(0x93)](_0x43574f){const _0x2006b5=_0x23142d;_0x43574f[_0x2006b5(0x86)](_0x16deb6=>this[_0x2006b5(0xc1)][_0x2006b5(0x9d)](_0x16deb6)),this[_0x2006b5(0xc1)][_0x2006b5(0xae)]=!0x0;}[_0x23142d(0xc3)](_0x548d46){const _0x2b1266=_0x23142d;return this[_0x2b1266(0xaf)][_0x2b1266(0x98)](_0x382fd7=>_0x382fd7[_0x2b1266(0xab)][_0x2b1266(0xac)]==_0x548d46)??null;}[_0x23142d(0xb4)](){const _0x4f558f=_0x23142d;if(!this[_0x4f558f(0x8a)]){const _0x364ebd=!this[_0x4f558f(0xb3)][_0x4f558f(0x98)](({hasChanges:_0x59601b})=>_0x59601b),_0x49025e=!!this[_0x4f558f(0xb3)][_0x4f558f(0x98)](({hasChanges:_0xbe84bb})=>!_0xbe84bb);this[_0x4f558f(0x96)][_0x4f558f(0xae)]=0x0==this[_0x4f558f(0xaf)][_0x4f558f(0x84)]||_0x49025e,_0x364ebd?this[_0x4f558f(0x96)][_0x4f558f(0xad)](_0x21e294(this[_0x4f558f(0x8d)],_0x4f558f(0xa2))):this[_0x4f558f(0x96)][_0x4f558f(0xad)](_0x21e294(this[_0x4f558f(0x8d)],_0x4f558f(0x82)));}this[_0x4f558f(0xaf)][_0x4f558f(0x86)](_0x122dcd=>_0x122dcd[_0x4f558f(0xb4)]()),this[_0x4f558f(0x7f)][_0x4f558f(0xba)](this[_0x4f558f(0x8c)]);}get[_0x23142d(0x8c)](){const _0x147ca1=_0x23142d;return this[_0x147ca1(0xaf)][_0x147ca1(0xb6)](_0x5d7a76=>_0x5d7a76[_0x147ca1(0xab)][_0x147ca1(0xc2)])[_0x147ca1(0x84)]>0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b10db=_0x5505;function _0x5505(_0x351621,_0x52f3bb){const _0x54b509=_0x54b5();return _0x5505=function(_0x550501,_0x35b1fd){_0x550501=_0x550501-0xdf;let _0x58f274=_0x54b509[_0x550501];return _0x58f274;},_0x5505(_0x351621,_0x52f3bb);}(function(_0x35dca6,_0x214970){const _0x56eb11=_0x5505,_0x1de6c5=_0x35dca6();while(!![]){try{const _0x570c23=-parseInt(_0x56eb11(0xed))/0x1+-parseInt(_0x56eb11(0xf1))/0x2+parseInt(_0x56eb11(0xf5))/0x3+-parseInt(_0x56eb11(0xdf))/0x4*(-parseInt(_0x56eb11(0xfa))/0x5)+-parseInt(_0x56eb11(0xf8))/0x6+parseInt(_0x56eb11(0xe5))/0x7+parseInt(_0x56eb11(0xeb))/0x8;if(_0x570c23===_0x214970)break;else _0x1de6c5['push'](_0x1de6c5['shift']());}catch(_0x5b8478){_0x1de6c5['push'](_0x1de6c5['shift']());}}}(_0x54b5,0x99890));import{View as _0x11940b}from'ckeditor5/src/ui.js';import{AISuggestionHeaderView as _0x2a8840}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x10eb5d}from'./aisuggestionbodyview.js';function _0x54b5(){const _0x5b11e9=['headerView','fire','updateSources','8242096gqmOEN','createCollection','933395ZxAfJd','bodyView','isOn','hasNonEmptyParts','210574DmVIov','children','delegate','setTemplate','2136429fdNofb','isShowChangesToggleVisible','add','4866288wqNjiW','ck-ai-suggestion__container','535SBuAdK','updateContent','areChangesVisible','markAsDone','set','21724VNywxG','toggleShowChanges','div','toggleSuggestionDisplayMode','ck-rounded-corners','updateContentParts','1085616TjfEZZ','bind','isTrackChangesOn'];_0x54b5=function(){return _0x5b11e9;};return _0x54b5();}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x164516}from'../../utils/eventnames.js';import'../../../../theme/aichat/aisuggestioncontainer.css';export class AISuggestionContainerView extends _0x11940b{[_0x1b10db(0xee)];[_0x1b10db(0xf2)];[_0x1b10db(0xe8)];constructor(_0x43e88c,_0xde7689,_0x58052f){const _0x3b509a=_0x1b10db;super(_0x43e88c);const {showDiff:_0x176578,areActionsDisabled:_0x6d732a,showUnchangedParts:_0x102343,availableActions:_0x1764e7}=_0xde7689;this[_0x3b509a(0xfe)](_0x3b509a(0xe7),!0x1),this[_0x3b509a(0xfe)](_0x3b509a(0xfc),!0x1),this[_0x3b509a(0xf2)]=this[_0x3b509a(0xec)](),this[_0x3b509a(0xe8)]=new _0x2a8840(_0x43e88c,{'showDiff':_0x176578}),this[_0x3b509a(0xe8)]['on'](_0x3b509a(0xe0),(_0x47bd67,_0x5e99dc)=>{const _0x5d5f4b=_0x3b509a;this[_0x5d5f4b(0xfc)]=_0x5e99dc[_0x5d5f4b(0xef)],this[_0x5d5f4b(0xe9)](_0x5d5f4b(0xe2),{'showDiff':_0x5e99dc[_0x5d5f4b(0xef)]});}),this[_0x3b509a(0xf2)][_0x3b509a(0xf7)](this[_0x3b509a(0xe8)]),this[_0x3b509a(0xee)]=new _0x10eb5d(_0x43e88c,{'areActionsDisabled':_0x6d732a,'showUnchangedParts':!!_0x102343,'availableActions':_0x1764e7,'bodyCollection':_0x58052f}),this[_0x3b509a(0xee)][_0x3b509a(0xf3)](..._0x164516)['to'](this),this[_0x3b509a(0xee)][_0x3b509a(0xe6)](_0x3b509a(0xe7))['to'](this),this[_0x3b509a(0xf2)][_0x3b509a(0xf7)](this[_0x3b509a(0xee)]),this[_0x3b509a(0xf4)]({'tag':_0x3b509a(0xe1),'attributes':{'class':['ck',_0x3b509a(0xf9),_0x3b509a(0xe3)]},'children':this[_0x3b509a(0xf2)]});}async[_0x1b10db(0xfb)](_0x26cf7c){const _0x5ee9b7=_0x1b10db;await this[_0x5ee9b7(0xee)][_0x5ee9b7(0xe4)](_0x26cf7c);}[_0x1b10db(0xea)](_0x1c734e){const _0x2c9da4=_0x1b10db;this[_0x2c9da4(0xee)][_0x2c9da4(0xea)](_0x1c734e);}[_0x1b10db(0xfd)](){const _0xe2245f=_0x1b10db;this[_0xe2245f(0xee)][_0xe2245f(0xfd)](),this[_0xe2245f(0xe8)]&&(this[_0xe2245f(0xe8)][_0xe2245f(0xf6)]=this[_0xe2245f(0xee)][_0xe2245f(0xf0)]);}}
23
+ const _0x52f5ab=_0x4b60;(function(_0x23bb33,_0x454795){const _0x5cfa85=_0x4b60,_0x1aef43=_0x23bb33();while(!![]){try{const _0xa4f6eb=-parseInt(_0x5cfa85(0x1b1))/0x1*(-parseInt(_0x5cfa85(0x1d2))/0x2)+-parseInt(_0x5cfa85(0x1b3))/0x3*(-parseInt(_0x5cfa85(0x1c9))/0x4)+-parseInt(_0x5cfa85(0x1d3))/0x5*(parseInt(_0x5cfa85(0x1b2))/0x6)+-parseInt(_0x5cfa85(0x1bc))/0x7*(parseInt(_0x5cfa85(0x1b4))/0x8)+-parseInt(_0x5cfa85(0x1c3))/0x9*(parseInt(_0x5cfa85(0x1bb))/0xa)+parseInt(_0x5cfa85(0x1c5))/0xb+-parseInt(_0x5cfa85(0x1be))/0xc*(-parseInt(_0x5cfa85(0x1ba))/0xd);if(_0xa4f6eb===_0x454795)break;else _0x1aef43['push'](_0x1aef43['shift']());}catch(_0x302a94){_0x1aef43['push'](_0x1aef43['shift']());}}}(_0x547b,0xa980f));function _0x4b60(_0x5565f6,_0x92e144){const _0x547b20=_0x547b();return _0x4b60=function(_0x4b6096,_0x2fb6a1){_0x4b6096=_0x4b6096-0x1b1;let _0x4e2eca=_0x547b20[_0x4b6096];return _0x4e2eca;},_0x4b60(_0x5565f6,_0x92e144);}import{View as _0x5b7987}from'ckeditor5/src/ui.js';import{AISuggestionHeaderView as _0x229fbe}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0xea5e3e}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x88b47}from'../../utils/eventnames.js';function _0x547b(){const _0x155b38=['isOn','updateContentParts','bind','ck-rounded-corners','2pTEwjj','68025mhkZXH','ck-ai-suggestion__container','children','981473sMyfuU','498LLvaci','2391kJUOGR','828680QYZfIk','delegate','set','fire','div','bodyView','1963pJtjYV','3649230movWQf','7LYKBwL','headerView','87540eTxeyo','toggleSuggestionDisplayMode','isShowChangesToggleVisible','toggleShowChanges','updateContent','9nIkDlB','hasNonEmptyParts','1886863neKZjV','add','createCollection','areChangesVisible','188NcCVEo','updateSources','markAsDone','isTrackChangesOn','setTemplate'];_0x547b=function(){return _0x155b38;};return _0x547b();}import'../../../../theme/aichat/aisuggestioncontainer.css';export class AISuggestionContainerView extends _0x5b7987{[_0x52f5ab(0x1b9)];[_0x52f5ab(0x1d5)];[_0x52f5ab(0x1bd)];constructor(_0x163349,_0x59397b,_0x314ceb){const _0xfb13ee=_0x52f5ab;super(_0x163349);const {showDiff:_0x570d62,areActionsDisabled:_0x179cbe,showUnchangedParts:_0x406937,availableActions:_0x47f1b7}=_0x59397b;this[_0xfb13ee(0x1b6)](_0xfb13ee(0x1cc),!0x1),this[_0xfb13ee(0x1b6)](_0xfb13ee(0x1c8),!0x1),this[_0xfb13ee(0x1d5)]=this[_0xfb13ee(0x1c7)](),this[_0xfb13ee(0x1bd)]=new _0x229fbe(_0x163349,{'showDiff':_0x570d62}),this[_0xfb13ee(0x1bd)]['on'](_0xfb13ee(0x1c1),(_0x540a63,_0x387794)=>{const _0x10fa1f=_0xfb13ee;this[_0x10fa1f(0x1c8)]=_0x387794[_0x10fa1f(0x1ce)],this[_0x10fa1f(0x1b7)](_0x10fa1f(0x1bf),{'showDiff':_0x387794[_0x10fa1f(0x1ce)]});}),this[_0xfb13ee(0x1d5)][_0xfb13ee(0x1c6)](this[_0xfb13ee(0x1bd)]),this[_0xfb13ee(0x1b9)]=new _0xea5e3e(_0x163349,{'areActionsDisabled':_0x179cbe,'showUnchangedParts':!!_0x406937,'availableActions':_0x47f1b7,'bodyCollection':_0x314ceb}),this[_0xfb13ee(0x1b9)][_0xfb13ee(0x1b5)](..._0x88b47)['to'](this),this[_0xfb13ee(0x1b9)][_0xfb13ee(0x1d0)](_0xfb13ee(0x1cc))['to'](this),this[_0xfb13ee(0x1d5)][_0xfb13ee(0x1c6)](this[_0xfb13ee(0x1b9)]),this[_0xfb13ee(0x1cd)]({'tag':_0xfb13ee(0x1b8),'attributes':{'class':['ck',_0xfb13ee(0x1d4),_0xfb13ee(0x1d1)]},'children':this[_0xfb13ee(0x1d5)]});}async[_0x52f5ab(0x1c2)](_0x1da433){const _0x3924dd=_0x52f5ab;await this[_0x3924dd(0x1b9)][_0x3924dd(0x1cf)](_0x1da433);}[_0x52f5ab(0x1ca)](_0x218eda){const _0x503ec8=_0x52f5ab;this[_0x503ec8(0x1b9)][_0x503ec8(0x1ca)](_0x218eda);}[_0x52f5ab(0x1cb)](){const _0x44a282=_0x52f5ab;this[_0x44a282(0x1b9)][_0x44a282(0x1cb)](),this[_0x44a282(0x1bd)]&&(this[_0x44a282(0x1bd)][_0x44a282(0x1c0)]=this[_0x44a282(0x1b9)][_0x44a282(0x1c4)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2c7b0b=_0x4cb9;(function(_0x5befd7,_0x1644db){var _0x41f6e6=_0x4cb9,_0x394953=_0x5befd7();while(!![]){try{var _0x3d6041=-parseInt(_0x41f6e6(0x1d4))/0x1+-parseInt(_0x41f6e6(0x1cf))/0x2*(-parseInt(_0x41f6e6(0x1b9))/0x3)+-parseInt(_0x41f6e6(0x1c5))/0x4*(-parseInt(_0x41f6e6(0x1c7))/0x5)+-parseInt(_0x41f6e6(0x1dd))/0x6*(-parseInt(_0x41f6e6(0x1e0))/0x7)+parseInt(_0x41f6e6(0x1dc))/0x8*(parseInt(_0x41f6e6(0x1d3))/0x9)+-parseInt(_0x41f6e6(0x1d5))/0xa+-parseInt(_0x41f6e6(0x1bc))/0xb*(parseInt(_0x41f6e6(0x1df))/0xc);if(_0x3d6041===_0x1644db)break;else _0x394953['push'](_0x394953['shift']());}catch(_0x21b645){_0x394953['push'](_0x394953['shift']());}}}(_0x5a11,0x88ca8));function _0x4cb9(_0x558b51,_0x50d97e){var _0x5a1148=_0x5a11();return _0x4cb9=function(_0x4cb914,_0x58ae4f){_0x4cb914=_0x4cb914-0x1b9;var _0x8b292f=_0x5a1148[_0x4cb914];return _0x8b292f;},_0x4cb9(_0x558b51,_0x50d97e);}function _0x5a11(){var _0x4a9acb=['AI_SUGGESTION_CONTENT_PART_TITLE','12Tngkwl','42GrWgZG','431328UXJXVp','index','div','8114700UcxAKH','addMany','applySuggestion','span','createCollection','titleLabelView','ck-reset_all-excluded','bind','ck-ai-suggestion__body__content-part__title__label','36268XWtQcS','remove','115aoWOzE','fire','ck-ai-suggestion__body__content-part__title','children','set','isEnabled','add','change:state','6ozYGvy','stateView','insertSuggestion','toolbarView','141975sNaoGu','181852aIdrxS','857240aLJNjD','setTemplate','pending','toString','state','setState','rejectSuggestion','136xOWfGn','657528hgEEvM'];_0x5a11=function(){return _0x4a9acb;};return _0x5a11();}import{View as _0x119f16}from'ckeditor5/src/ui.js';import{getTranslation as _0x351c68}from'../../utils/common-translations.js';import{AISuggestionContentPartStateView as _0x5666a6}from'./aisuggestioncontentpartstateview.js';import{AISuggestionContentPartToolbarView as _0x587334}from'./aisuggestioncontentparttoolbarview.js';export class AISuggestionContentPartHeaderView extends _0x119f16{[_0x2c7b0b(0x1d2)];[_0x2c7b0b(0x1d0)];[_0x2c7b0b(0x1c1)];[_0x2c7b0b(0x1ca)];constructor(_0x5d4dc9,{part:_0x84add4,uiIndex:_0x35abb5,availableActions:_0x22cfe5,areActionsDisabled:_0x541d8f}){var _0x2aacfc=_0x2c7b0b;super(_0x5d4dc9),this[_0x2aacfc(0x1cb)](_0x2aacfc(0x1cc),!0x0),this[_0x2aacfc(0x1cb)](_0x2aacfc(0x1d9),_0x2aacfc(0x1d7)),this[_0x2aacfc(0x1d2)]=new _0x587334(_0x5d4dc9,_0x22cfe5,_0x541d8f),this[_0x2aacfc(0x1d2)]['on'](_0x2aacfc(0x1db),()=>{var _0x29225f=_0x2aacfc;this[_0x29225f(0x1c8)](_0x29225f(0x1db),{'index':_0x84add4[_0x29225f(0x1ba)]});}),this[_0x2aacfc(0x1d2)]['on'](_0x2aacfc(0x1d1),()=>{var _0x129e8f=_0x2aacfc;this[_0x129e8f(0x1c8)](_0x129e8f(0x1d1),{'index':_0x84add4[_0x129e8f(0x1ba)]});}),this[_0x2aacfc(0x1d2)]['on'](_0x2aacfc(0x1be),()=>{var _0x56e3b8=_0x2aacfc;this[_0x56e3b8(0x1c8)](_0x56e3b8(0x1be),{'index':_0x84add4[_0x56e3b8(0x1ba)]});}),this[_0x2aacfc(0x1d2)][_0x2aacfc(0x1c3)](_0x2aacfc(0x1cc))['to'](this),this[_0x2aacfc(0x1d0)]=new _0x5666a6(_0x5d4dc9),this[_0x2aacfc(0x1c1)]=new AISuggestionBodyContentPartTitleLabelView(_0x5d4dc9,_0x35abb5),this[_0x2aacfc(0x1ca)]=this[_0x2aacfc(0x1c0)](),this[_0x2aacfc(0x1ca)][_0x2aacfc(0x1bd)]([this[_0x2aacfc(0x1c1)],this[_0x2aacfc(0x1d2)]]),this[_0x2aacfc(0x1d6)]({'tag':_0x2aacfc(0x1bb),'attributes':{'class':['ck',_0x2aacfc(0x1c2),_0x2aacfc(0x1c9)]},'children':this[_0x2aacfc(0x1ca)]}),this['on'](_0x2aacfc(0x1ce),(_0xa041d1,_0x5cff21,_0xd07d88,_0x28a194)=>{var _0x2aef9c=_0x2aacfc;_0x2aef9c(0x1d7)===_0x28a194?this[_0x2aef9c(0x1ca)][_0x2aef9c(0x1c6)](this[_0x2aef9c(0x1d2)]):this[_0x2aef9c(0x1ca)][_0x2aef9c(0x1c6)](this[_0x2aef9c(0x1d0)]),_0x2aef9c(0x1d7)===_0xd07d88?this[_0x2aef9c(0x1ca)][_0x2aef9c(0x1cd)](this[_0x2aef9c(0x1d2)]):(this[_0x2aef9c(0x1d0)][_0x2aef9c(0x1da)](_0xd07d88),this[_0x2aef9c(0x1ca)][_0x2aef9c(0x1cd)](this[_0x2aef9c(0x1d0)]));});}}class AISuggestionBodyContentPartTitleLabelView extends _0x119f16{constructor(_0x1ccc47,_0x397c68){var _0x2d75b0=_0x2c7b0b;super(_0x1ccc47),this[_0x2d75b0(0x1d6)]({'tag':_0x2d75b0(0x1bf),'attributes':{'class':['ck',_0x2d75b0(0x1c4)]},'children':[_0x351c68(_0x1ccc47,_0x2d75b0(0x1de),_0x397c68[_0x2d75b0(0x1d8)]())]});}}
23
+ var _0x1ed919=_0x58f9;(function(_0x52be79,_0x572af7){var _0x3bf2cc=_0x58f9,_0x4d397d=_0x52be79();while(!![]){try{var _0x57b31c=-parseInt(_0x3bf2cc(0x117))/0x1+-parseInt(_0x3bf2cc(0x12c))/0x2*(parseInt(_0x3bf2cc(0x114))/0x3)+-parseInt(_0x3bf2cc(0x12b))/0x4+-parseInt(_0x3bf2cc(0x10e))/0x5*(parseInt(_0x3bf2cc(0x11d))/0x6)+parseInt(_0x3bf2cc(0x119))/0x7+parseInt(_0x3bf2cc(0x129))/0x8*(parseInt(_0x3bf2cc(0x11f))/0x9)+parseInt(_0x3bf2cc(0x11c))/0xa*(parseInt(_0x3bf2cc(0x11a))/0xb);if(_0x57b31c===_0x572af7)break;else _0x4d397d['push'](_0x4d397d['shift']());}catch(_0x2c731f){_0x4d397d['push'](_0x4d397d['shift']());}}}(_0x1fd6,0xd7dad));import{View as _0x412287}from'ckeditor5/src/ui.js';import{getTranslation as _0x104eca}from'../../utils/common-translations.js';import{AISuggestionContentPartStateView as _0x1101ab}from'./aisuggestioncontentpartstateview.js';function _0x58f9(_0x1e75e1,_0xad01fb){var _0x1fd68a=_0x1fd6();return _0x58f9=function(_0x58f94f,_0x16bdf6){_0x58f94f=_0x58f94f-0x10d;var _0x9c976a=_0x1fd68a[_0x58f94f];return _0x9c976a;},_0x58f9(_0x1e75e1,_0xad01fb);}import{AISuggestionContentPartToolbarView as _0x5d3498}from'./aisuggestioncontentparttoolbarview.js';export class AISuggestionContentPartHeaderView extends _0x412287{[_0x1ed919(0x11e)];[_0x1ed919(0x115)];[_0x1ed919(0x121)];[_0x1ed919(0x133)];constructor(_0x5f2506,{part:_0x1bce92,uiIndex:_0x283189,availableActions:_0x5e1db2,areActionsDisabled:_0x3635b4}){var _0x137022=_0x1ed919;super(_0x5f2506),this[_0x137022(0x118)](_0x137022(0x12f),!0x0),this[_0x137022(0x118)](_0x137022(0x128),_0x137022(0x11b)),this[_0x137022(0x11e)]=new _0x5d3498(_0x5f2506,_0x5e1db2,_0x3635b4),this[_0x137022(0x11e)]['on'](_0x137022(0x116),()=>{var _0x26e5f4=_0x137022;this[_0x26e5f4(0x10d)](_0x26e5f4(0x116),{'index':_0x1bce92[_0x26e5f4(0x113)]});}),this[_0x137022(0x11e)]['on'](_0x137022(0x124),()=>{var _0x3348f1=_0x137022;this[_0x3348f1(0x10d)](_0x3348f1(0x124),{'index':_0x1bce92[_0x3348f1(0x113)]});}),this[_0x137022(0x11e)]['on'](_0x137022(0x112),()=>{var _0xf2b541=_0x137022;this[_0xf2b541(0x10d)](_0xf2b541(0x112),{'index':_0x1bce92[_0xf2b541(0x113)]});}),this[_0x137022(0x11e)][_0x137022(0x131)](_0x137022(0x12f))['to'](this),this[_0x137022(0x115)]=new _0x1101ab(_0x5f2506),this[_0x137022(0x121)]=new AISuggestionBodyContentPartTitleLabelView(_0x5f2506,_0x283189),this[_0x137022(0x133)]=this[_0x137022(0x10f)](),this[_0x137022(0x133)][_0x137022(0x120)]([this[_0x137022(0x121)],this[_0x137022(0x11e)]]),this[_0x137022(0x130)]({'tag':_0x137022(0x122),'attributes':{'class':['ck',_0x137022(0x127),_0x137022(0x110)]},'children':this[_0x137022(0x133)]}),this['on'](_0x137022(0x12a),(_0x540d4b,_0x3a7388,_0x27a9ba,_0x6a7fa)=>{var _0x231dc9=_0x137022;_0x231dc9(0x11b)===_0x6a7fa?this[_0x231dc9(0x133)][_0x231dc9(0x12d)](this[_0x231dc9(0x11e)]):this[_0x231dc9(0x133)][_0x231dc9(0x12d)](this[_0x231dc9(0x115)]),_0x231dc9(0x11b)===_0x27a9ba?this[_0x231dc9(0x133)][_0x231dc9(0x132)](this[_0x231dc9(0x11e)]):(this[_0x231dc9(0x115)][_0x231dc9(0x126)](_0x27a9ba),this[_0x231dc9(0x133)][_0x231dc9(0x132)](this[_0x231dc9(0x115)]));});}}class AISuggestionBodyContentPartTitleLabelView extends _0x412287{constructor(_0xa97ccd,_0x2afa49){var _0x29838c=_0x1ed919;super(_0xa97ccd),this[_0x29838c(0x130)]({'tag':_0x29838c(0x12e),'attributes':{'class':['ck',_0x29838c(0x123)]},'children':[_0x104eca(_0xa97ccd,_0x29838c(0x125),_0x2afa49[_0x29838c(0x111)]())]});}}function _0x1fd6(){var _0x3e4d17=['toString','applySuggestion','index','417nEocfk','stateView','rejectSuggestion','1262943XuTqEd','set','1602783BVzweu','11ZdIvSR','pending','35791160QlXrGJ','364914puPGbE','toolbarView','909WbxPLS','addMany','titleLabelView','div','ck-ai-suggestion__body__content-part__title__label','insertSuggestion','AI_SUGGESTION_CONTENT_PART_TITLE','setState','ck-reset_all-excluded','state','26968fdqYJW','change:state','3024728RxXBam','10042olMAas','remove','span','isEnabled','setTemplate','bind','add','children','fire','45IvaFXr','createCollection','ck-ai-suggestion__body__content-part__title'];_0x1fd6=function(){return _0x3e4d17;};return _0x1fd6();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e7d55=_0x5ddc;function _0x5ddc(_0x428cee,_0x2724e0){const _0x1f52ec=_0x1f52();return _0x5ddc=function(_0x5ddcc3,_0x534436){_0x5ddcc3=_0x5ddcc3-0x1d5;let _0x4376fe=_0x1f52ec[_0x5ddcc3];return _0x4376fe;},_0x5ddc(_0x428cee,_0x2724e0);}(function(_0x3896d1,_0x87b985){const _0xd61ea2=_0x5ddc,_0x289bff=_0x3896d1();while(!![]){try{const _0x7c08d0=-parseInt(_0xd61ea2(0x1df))/0x1+-parseInt(_0xd61ea2(0x1f2))/0x2+parseInt(_0xd61ea2(0x1e6))/0x3+parseInt(_0xd61ea2(0x1d8))/0x4+-parseInt(_0xd61ea2(0x1ee))/0x5*(-parseInt(_0xd61ea2(0x1f3))/0x6)+-parseInt(_0xd61ea2(0x1e2))/0x7+parseInt(_0xd61ea2(0x1e0))/0x8*(parseInt(_0xd61ea2(0x1dd))/0x9);if(_0x7c08d0===_0x87b985)break;else _0x289bff['push'](_0x289bff['shift']());}catch(_0x2965fc){_0x289bff['push'](_0x289bff['shift']());}}}(_0x1f52,0x974c8));import{IconView as _0x1c6602,View as _0x4b428f}from'ckeditor5/src/ui.js';import{IconBoxWithCross as _0x1e825d,IconBoxWithCheck as _0x1e0282}from'ckeditor5/src/icons.js';import{getTranslation as _0x4ba1fe}from'../../utils/common-translations.js';import'../../../../theme/common/aisuggestioncontentpartstate.css';export const ICON_STATE_MAP={'accepted':_0x1e0282,'rejected':_0x1e825d,'outdated':_0x1e825d};export class AISuggestionContentPartStateView extends _0x4b428f{[_0x2e7d55(0x1db)];constructor(_0x54af0a){const _0x2a440e=_0x2e7d55;super(_0x54af0a);const _0x146da2=this[_0x2a440e(0x1eb)];this[_0x2a440e(0x1d6)](_0x2a440e(0x1e9),_0x2a440e(0x1d5)),this[_0x2a440e(0x1d6)](_0x2a440e(0x1e3),!0x0),this[_0x2a440e(0x1db)]=new StateIconView(),this[_0x2a440e(0x1db)][_0x2a440e(0x1f0)](_0x2a440e(0x1e9))['to'](this),this[_0x2a440e(0x1e1)]({'tag':_0x2a440e(0x1da),'attributes':{'class':['ck',_0x2a440e(0x1de),_0x146da2['to'](_0x2a440e(0x1e9),_0x448da2=>_0x2a440e(0x1e4)+_0x448da2),_0x146da2['if'](_0x2a440e(0x1e3),_0x2a440e(0x1e8),_0x1e0160=>!_0x1e0160)]},'children':[{'tag':_0x2a440e(0x1e7),'attributes':{'class':[_0x2a440e(0x1f1)]},'children':[{'text':_0x146da2['to'](_0x2a440e(0x1e9),_0xf33f48=>{const _0x44bb36=_0x2a440e;switch(_0xf33f48){case _0x44bb36(0x1d5):return _0x4ba1fe(_0x54af0a,_0x44bb36(0x1d9));case _0x44bb36(0x1d7):return _0x4ba1fe(_0x54af0a,_0x44bb36(0x1ea));case _0x44bb36(0x1e5):return _0x4ba1fe(_0x54af0a,_0x44bb36(0x1ef));}})}]},this[_0x2a440e(0x1db)]]});}[_0x2e7d55(0x1ed)](_0x2f59ea){const _0x1ddddd=_0x2e7d55;this[_0x1ddddd(0x1e9)]=_0x2f59ea;}}function _0x1f52(){const _0x4b5a0a=['AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED','bind','ck-ai-suggestion__content-part-state__label','782384pVXCvI','18fnCjFP','accepted','set','rejected','284880qJcLOu','AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED','div','stateIconView','change:state','583731dUnpyT','ck-ai-suggestion__content-part-state','603108cnQKeB','104Sjzhfd','setTemplate','860818ZdTtkQ','isVisible','ck-ai-suggestion__content-part-state_','outdated','1791489vEHMUi','span','ck-hidden','state','AI_SUGGESTION_CONTENT_PART_STATE_REJECTED','bindTemplate','content','setState','375740aodCJw'];_0x1f52=function(){return _0x4b5a0a;};return _0x1f52();}export class StateIconView extends _0x1c6602{constructor(){const _0x143092=_0x2e7d55;super(),this[_0x143092(0x1d6)](_0x143092(0x1e9),_0x143092(0x1d5)),this[_0x143092(0x1ec)]=ICON_STATE_MAP[this[_0x143092(0x1e9)]],this['on'](_0x143092(0x1dc),()=>{const _0x25268e=_0x143092;this[_0x25268e(0x1ec)]=ICON_STATE_MAP[this[_0x25268e(0x1e9)]];});}}
23
+ const _0x3674dd=_0x90c2;(function(_0x2b0048,_0x4e9921){const _0x453743=_0x90c2,_0x43ee95=_0x2b0048();while(!![]){try{const _0x11c4cb=-parseInt(_0x453743(0xf0))/0x1+parseInt(_0x453743(0xdf))/0x2+-parseInt(_0x453743(0xe9))/0x3*(parseInt(_0x453743(0xe6))/0x4)+parseInt(_0x453743(0xe5))/0x5*(-parseInt(_0x453743(0xd4))/0x6)+parseInt(_0x453743(0xf1))/0x7+-parseInt(_0x453743(0xdd))/0x8+-parseInt(_0x453743(0xe3))/0x9*(-parseInt(_0x453743(0xd3))/0xa);if(_0x11c4cb===_0x4e9921)break;else _0x43ee95['push'](_0x43ee95['shift']());}catch(_0x1a972d){_0x43ee95['push'](_0x43ee95['shift']());}}}(_0x1138,0x30f6e));import{IconView as _0x42f566,View as _0x40dd4c}from'ckeditor5/src/ui.js';import{IconBoxWithCross as _0x3f36d8,IconBoxWithCheck as _0x3d12eb}from'ckeditor5/src/icons.js';import{getTranslation as _0x34aafe}from'../../utils/common-translations.js';import'../../../../theme/common/aisuggestioncontentpartstate.css';export const ICON_STATE_MAP={'accepted':_0x3d12eb,'rejected':_0x3f36d8,'outdated':_0x3f36d8};function _0x90c2(_0x23b168,_0x38ebe3){const _0x1138b2=_0x1138();return _0x90c2=function(_0x90c2ef,_0x24d284){_0x90c2ef=_0x90c2ef-0xd3;let _0x59fd58=_0x1138b2[_0x90c2ef];return _0x59fd58;},_0x90c2(_0x23b168,_0x38ebe3);}function _0x1138(){const _0x1ba622=['isVisible','9MphVFs','ck-hidden','20PLYdST','211672SbmMZW','setTemplate','rejected','18lfyIog','stateIconView','ck-ai-suggestion__content-part-state_','outdated','set','div','ck-ai-suggestion__content-part-state','388562MnrZFr','964040gbuWSx','bindTemplate','8784710FDOrpS','496146uBcOMc','setState','content','AI_SUGGESTION_CONTENT_PART_STATE_REJECTED','state','change:state','AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED','AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED','accepted','1295240SdnxZE','ck-ai-suggestion__content-part-state__label','766212ksQUkF','bind','span'];_0x1138=function(){return _0x1ba622;};return _0x1138();}export class AISuggestionContentPartStateView extends _0x40dd4c{[_0x3674dd(0xea)];constructor(_0x2c9a38){const _0x4c3b8e=_0x3674dd;super(_0x2c9a38);const _0x4e2ed4=this[_0x4c3b8e(0xf2)];this[_0x4c3b8e(0xed)](_0x4c3b8e(0xd8),_0x4c3b8e(0xdc)),this[_0x4c3b8e(0xed)](_0x4c3b8e(0xe2),!0x0),this[_0x4c3b8e(0xea)]=new StateIconView(),this[_0x4c3b8e(0xea)][_0x4c3b8e(0xe0)](_0x4c3b8e(0xd8))['to'](this),this[_0x4c3b8e(0xe7)]({'tag':_0x4c3b8e(0xee),'attributes':{'class':['ck',_0x4c3b8e(0xef),_0x4e2ed4['to'](_0x4c3b8e(0xd8),_0x42a40e=>_0x4c3b8e(0xeb)+_0x42a40e),_0x4e2ed4['if'](_0x4c3b8e(0xe2),_0x4c3b8e(0xe4),_0x68ae88=>!_0x68ae88)]},'children':[{'tag':_0x4c3b8e(0xe1),'attributes':{'class':[_0x4c3b8e(0xde)]},'children':[{'text':_0x4e2ed4['to'](_0x4c3b8e(0xd8),_0x2c181d=>{const _0x51b047=_0x4c3b8e;switch(_0x2c181d){case _0x51b047(0xdc):return _0x34aafe(_0x2c9a38,_0x51b047(0xdb));case _0x51b047(0xe8):return _0x34aafe(_0x2c9a38,_0x51b047(0xd7));case _0x51b047(0xec):return _0x34aafe(_0x2c9a38,_0x51b047(0xda));}})}]},this[_0x4c3b8e(0xea)]]});}[_0x3674dd(0xd5)](_0x543b3a){const _0xfc7e5f=_0x3674dd;this[_0xfc7e5f(0xd8)]=_0x543b3a;}}export class StateIconView extends _0x42f566{constructor(){const _0x4dd371=_0x3674dd;super(),this[_0x4dd371(0xed)](_0x4dd371(0xd8),_0x4dd371(0xdc)),this[_0x4dd371(0xd6)]=ICON_STATE_MAP[this[_0x4dd371(0xd8)]],this['on'](_0x4dd371(0xd9),()=>{const _0x21c944=_0x4dd371;this[_0x21c944(0xd6)]=ICON_STATE_MAP[this[_0x21c944(0xd8)]];});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x350b(_0x1c77ce,_0x97da7c){const _0x1227ab=_0x1227();return _0x350b=function(_0x350be0,_0x7cf8e2){_0x350be0=_0x350be0-0x121;let _0xaf73f3=_0x1227ab[_0x350be0];return _0xaf73f3;},_0x350b(_0x1c77ce,_0x97da7c);}const _0x2b9248=_0x350b;function _0x1227(){const _0x599e04=['rejectSuggestion','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','fire','84CkAMRR','execute','addMany','283881rDylMM','2056esefOJ','bind','applySuggestion','insertSuggestion','AI_SUGGESTION_CONTENT_PART_APPLY','AI_SUGGESTION_CONTENT_PART_REJECT','219YTXwiH','isEnabled','push','class','_applyButton','includes','ck-ai-suggestion-content-part-toolbar','15220kfEPAL','2513WdfAjy','8973mUZaCw','AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION','bindTemplate','extendTemplate','isVisible','setButtonsVisibility','4212890YmOgak','set','ck-hidden','items','_suggestButton','4688xHOIoB','2424ZWsVCS','3053220uLlFbd'];_0x1227=function(){return _0x599e04;};return _0x1227();}(function(_0x4fa29a,_0x4125b6){const _0x5756d1=_0x350b,_0x2c0c93=_0x4fa29a();while(!![]){try{const _0x50a10c=parseInt(_0x5756d1(0x127))/0x1+parseInt(_0x5756d1(0x142))/0x2*(-parseInt(_0x5756d1(0x12e))/0x3)+-parseInt(_0x5756d1(0x124))/0x4*(-parseInt(_0x5756d1(0x135))/0x5)+-parseInt(_0x5756d1(0x143))/0x6*(parseInt(_0x5756d1(0x136))/0x7)+-parseInt(_0x5756d1(0x128))/0x8*(-parseInt(_0x5756d1(0x137))/0x9)+parseInt(_0x5756d1(0x144))/0xa+-parseInt(_0x5756d1(0x13d))/0xb;if(_0x50a10c===_0x4125b6)break;else _0x2c0c93['push'](_0x2c0c93['shift']());}catch(_0x351ca1){_0x2c0c93['push'](_0x2c0c93['shift']());}}}(_0x1227,0x3352a));import{ButtonView as _0x29fd7d,ToolbarView as _0x19f75a}from'ckeditor5/src/ui.js';import{getTranslation as _0x5ef249}from'../../utils/common-translations.js';import{IconBoxWithCross as _0x2c28f8,IconBoxWithCheck as _0x58e844,IconBoxWithMarker as _0x1c903e,IconInfo as _0xe67a5e}from'ckeditor5/src/icons.js';import'../../../../theme/common/aisuggestioncontentparttoolbar.css';export class AISuggestionContentPartToolbarView extends _0x19f75a{[_0x2b9248(0x132)];[_0x2b9248(0x141)];constructor(_0x2ba869,_0x2754e3,_0x55d4e5){const _0x50db4=_0x2b9248;super(_0x2ba869);const _0x57d310=Boolean(_0x55d4e5);this[_0x50db4(0x13e)](_0x50db4(0x12f),!_0x57d310),this[_0x50db4(0x13e)](_0x50db4(0x13b),!0x0),this[_0x50db4(0x131)]=_0x50db4(0x134);const _0x3eeaa7=[];if(_0x57d310){const _0x3993eb=new _0x29fd7d(_0x2ba869);_0x3993eb[_0x50db4(0x13e)]({'label':_0x5ef249(_0x2ba869,_0x50db4(0x122)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0xe67a5e}),_0x3eeaa7[_0x50db4(0x130)](_0x3993eb);}else{_0x2754e3[_0x50db4(0x133)](_0x50db4(0x12a))&&(this[_0x50db4(0x132)]=new _0x29fd7d(_0x2ba869),this[_0x50db4(0x132)][_0x50db4(0x13e)]({'label':_0x5ef249(_0x2ba869,_0x50db4(0x12c)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x58e844}),this[_0x50db4(0x132)][_0x50db4(0x129)](_0x50db4(0x12f))['to'](this),this[_0x50db4(0x132)]['on'](_0x50db4(0x125),()=>{const _0x501fa5=_0x50db4;this[_0x501fa5(0x123)](_0x501fa5(0x12a));}),_0x3eeaa7[_0x50db4(0x130)](this[_0x50db4(0x132)])),_0x2754e3[_0x50db4(0x133)](_0x50db4(0x12b))&&(this[_0x50db4(0x141)]=new _0x29fd7d(_0x2ba869),this[_0x50db4(0x141)][_0x50db4(0x13e)]({'label':_0x5ef249(_0x2ba869,_0x50db4(0x138)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x1c903e}),this[_0x50db4(0x141)][_0x50db4(0x129)](_0x50db4(0x12f))['to'](this),this[_0x50db4(0x141)]['on'](_0x50db4(0x125),()=>{const _0x266093=_0x50db4;this[_0x266093(0x123)](_0x266093(0x12b));}),_0x3eeaa7[_0x50db4(0x130)](this[_0x50db4(0x141)]));const _0x22222c=new _0x29fd7d(_0x2ba869);_0x22222c[_0x50db4(0x13e)]({'label':_0x5ef249(_0x2ba869,_0x50db4(0x12d)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x2c28f8}),_0x22222c[_0x50db4(0x129)](_0x50db4(0x12f))['to'](this),_0x22222c['on'](_0x50db4(0x125),()=>{const _0x282444=_0x50db4;this[_0x282444(0x123)](_0x282444(0x121));}),_0x3eeaa7[_0x50db4(0x130)](_0x22222c);}this[_0x50db4(0x140)][_0x50db4(0x126)](_0x3eeaa7);const _0x787cf0=this[_0x50db4(0x139)];this[_0x50db4(0x13a)]({'attributes':{'class':[_0x787cf0['if'](_0x50db4(0x13b),_0x50db4(0x13f),_0x39723a=>!_0x39723a)]}});}[_0x2b9248(0x13c)]({showApplyButton:_0x34ce17,showSuggestButton:_0x53f68b}){const _0xf32c2=_0x2b9248;this[_0xf32c2(0x132)]&&(this[_0xf32c2(0x132)][_0xf32c2(0x13b)]=_0x34ce17),this[_0xf32c2(0x141)]&&(this[_0xf32c2(0x141)][_0xf32c2(0x13b)]=_0x53f68b);}}
23
+ const _0x2bf69b=_0x5799;(function(_0x2d8c0f,_0x2a7f80){const _0x51f41c=_0x5799,_0x1ae26e=_0x2d8c0f();while(!![]){try{const _0x1d02a1=parseInt(_0x51f41c(0x175))/0x1*(parseInt(_0x51f41c(0x188))/0x2)+parseInt(_0x51f41c(0x176))/0x3*(-parseInt(_0x51f41c(0x187))/0x4)+-parseInt(_0x51f41c(0x18a))/0x5*(parseInt(_0x51f41c(0x17c))/0x6)+parseInt(_0x51f41c(0x18b))/0x7+parseInt(_0x51f41c(0x171))/0x8*(parseInt(_0x51f41c(0x178))/0x9)+parseInt(_0x51f41c(0x191))/0xa+parseInt(_0x51f41c(0x18f))/0xb*(-parseInt(_0x51f41c(0x189))/0xc);if(_0x1d02a1===_0x2a7f80)break;else _0x1ae26e['push'](_0x1ae26e['shift']());}catch(_0x39acdb){_0x1ae26e['push'](_0x1ae26e['shift']());}}}(_0x269b,0x638bb));import{ButtonView as _0x4de861,ToolbarView as _0x448ddf}from'ckeditor5/src/ui.js';function _0x5799(_0x3e18cd,_0x59e1f7){const _0x269b69=_0x269b();return _0x5799=function(_0x5799e3,_0x5614cf){_0x5799e3=_0x5799e3-0x16e;let _0x49f412=_0x269b69[_0x5799e3];return _0x49f412;},_0x5799(_0x3e18cd,_0x59e1f7);}import{getTranslation as _0x47313c}from'../../utils/common-translations.js';import{IconBoxWithCross as _0x34bf7c,IconBoxWithCheck as _0x2694ee,IconBoxWithMarker as _0x462c56,IconInfo as _0x5e0f99}from'ckeditor5/src/icons.js';import'../../../../theme/common/aisuggestioncontentparttoolbar.css';function _0x269b(){const _0x20d252=['addMany','execute','36LOYkvc','items','extendTemplate','setButtonsVisibility','_applyButton','bindTemplate','isVisible','applySuggestion','class','ck-hidden','AI_SUGGESTION_CONTENT_PART_APPLY','3568dtJnSe','20044TyumFz','2076WZSxXI','388060xtLIIZ','3946817maALwg','_suggestButton','bind','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','20141mQZyXT','isEnabled','676580loRWKb','set','AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION','AI_SUGGESTION_CONTENT_PART_REJECT','fire','8qdhIkO','push','ck-ai-suggestion-content-part-toolbar','insertSuggestion','64meMxFA','561ASoRve','includes','756729ekGoOD','rejectSuggestion'];_0x269b=function(){return _0x20d252;};return _0x269b();}export class AISuggestionContentPartToolbarView extends _0x448ddf{[_0x2bf69b(0x180)];[_0x2bf69b(0x18c)];constructor(_0x1a43a8,_0x4a7b83,_0x3dbde9){const _0x1a3351=_0x2bf69b;super(_0x1a43a8);const _0x2b8df0=Boolean(_0x3dbde9);this[_0x1a3351(0x192)](_0x1a3351(0x190),!_0x2b8df0),this[_0x1a3351(0x192)](_0x1a3351(0x182),!0x0),this[_0x1a3351(0x184)]=_0x1a3351(0x173);const _0x51a70b=[];if(_0x2b8df0){const _0x182ce2=new _0x4de861(_0x1a43a8);_0x182ce2[_0x1a3351(0x192)]({'label':_0x47313c(_0x1a43a8,_0x1a3351(0x18e)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x5e0f99}),_0x51a70b[_0x1a3351(0x172)](_0x182ce2);}else{_0x4a7b83[_0x1a3351(0x177)](_0x1a3351(0x183))&&(this[_0x1a3351(0x180)]=new _0x4de861(_0x1a43a8),this[_0x1a3351(0x180)][_0x1a3351(0x192)]({'label':_0x47313c(_0x1a43a8,_0x1a3351(0x186)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x2694ee}),this[_0x1a3351(0x180)][_0x1a3351(0x18d)](_0x1a3351(0x190))['to'](this),this[_0x1a3351(0x180)]['on'](_0x1a3351(0x17b),()=>{const _0x3a44fd=_0x1a3351;this[_0x3a44fd(0x170)](_0x3a44fd(0x183));}),_0x51a70b[_0x1a3351(0x172)](this[_0x1a3351(0x180)])),_0x4a7b83[_0x1a3351(0x177)](_0x1a3351(0x174))&&(this[_0x1a3351(0x18c)]=new _0x4de861(_0x1a43a8),this[_0x1a3351(0x18c)][_0x1a3351(0x192)]({'label':_0x47313c(_0x1a43a8,_0x1a3351(0x16e)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x462c56}),this[_0x1a3351(0x18c)][_0x1a3351(0x18d)](_0x1a3351(0x190))['to'](this),this[_0x1a3351(0x18c)]['on'](_0x1a3351(0x17b),()=>{const _0x51e59e=_0x1a3351;this[_0x51e59e(0x170)](_0x51e59e(0x174));}),_0x51a70b[_0x1a3351(0x172)](this[_0x1a3351(0x18c)]));const _0x44ccdf=new _0x4de861(_0x1a43a8);_0x44ccdf[_0x1a3351(0x192)]({'label':_0x47313c(_0x1a43a8,_0x1a3351(0x16f)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x34bf7c}),_0x44ccdf[_0x1a3351(0x18d)](_0x1a3351(0x190))['to'](this),_0x44ccdf['on'](_0x1a3351(0x17b),()=>{const _0x1fb722=_0x1a3351;this[_0x1fb722(0x170)](_0x1fb722(0x179));}),_0x51a70b[_0x1a3351(0x172)](_0x44ccdf);}this[_0x1a3351(0x17d)][_0x1a3351(0x17a)](_0x51a70b);const _0x54826e=this[_0x1a3351(0x181)];this[_0x1a3351(0x17e)]({'attributes':{'class':[_0x54826e['if'](_0x1a3351(0x182),_0x1a3351(0x185),_0x3d4f85=>!_0x3d4f85)]}});}[_0x2bf69b(0x17f)]({showApplyButton:_0x417e18,showSuggestButton:_0x4ae8a8}){const _0x235217=_0x2bf69b;this[_0x235217(0x180)]&&(this[_0x235217(0x180)][_0x235217(0x182)]=_0x417e18),this[_0x235217(0x18c)]&&(this[_0x235217(0x18c)][_0x235217(0x182)]=_0x4ae8a8);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x12fa(_0x231261,_0x12d797){const _0x32c93a=_0x32c9();return _0x12fa=function(_0x12fadb,_0x5b4143){_0x12fadb=_0x12fadb-0x195;let _0x3684a4=_0x32c93a[_0x12fadb];return _0x3684a4;},_0x12fa(_0x231261,_0x12d797);}const _0x594bc0=_0x12fa;(function(_0x1658b8,_0x4f67b3){const _0x362b20=_0x12fa,_0x5d1e8b=_0x1658b8();while(!![]){try{const _0x5e38b3=-parseInt(_0x362b20(0x1a7))/0x1+-parseInt(_0x362b20(0x1ab))/0x2*(-parseInt(_0x362b20(0x1ba))/0x3)+-parseInt(_0x362b20(0x1c0))/0x4+-parseInt(_0x362b20(0x1a4))/0x5*(-parseInt(_0x362b20(0x1a9))/0x6)+-parseInt(_0x362b20(0x1c2))/0x7+parseInt(_0x362b20(0x1a6))/0x8+parseInt(_0x362b20(0x19a))/0x9;if(_0x5e38b3===_0x4f67b3)break;else _0x5d1e8b['push'](_0x5d1e8b['shift']());}catch(_0x487231){_0x5d1e8b['push'](_0x5d1e8b['shift']());}}}(_0x32c9,0xafafe));import{View as _0x5dae21}from'ckeditor5/src/ui.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x1c716a}from'../../utils/eventnames.js';function _0x32c9(){const _0x3ac52d=['showChangeInText','bindTemplate','toolbarView','updateContent','324726sXkkeJ','ck-ai-suggestion__body__content-part_active','div','isActive','state','_children','4596664LLuVgo','change:isDone','6849724XGczoC','setTemplate','set','delegate','ck-ai-suggestion__body__content-part_enabled','mouseLeaveSuggestion','fire','4829868xcWkmo','ck-ai-suggestion__body__content-part_','update','target','isVisible','markAsDone','mouseOverSuggestion','element','createCollection','isEnabled','40WWnnwb','isDone','9542784FHBkdS','754110CYJWMb','contains','348582lUgIhy','partDefinition','26PtYegI','ck-hidden','_streamableContentView','addMany','hasChanges','bind','_headerView','pending','change:state','ck-ai-suggestion__body__content-part','index'];_0x32c9=function(){return _0x3ac52d;};return _0x32c9();}import{AISuggestionContentPartHeaderView as _0x2b6e4a}from'./aisuggestioncontentpartheaderview.js';import{AISuggestionStreamableContentView as _0x3b471a}from'./aisuggestionstreamablecontentview.js';export class AISuggestionBodyViewContentPartView extends _0x5dae21{[_0x594bc0(0x1bf)];[_0x594bc0(0x1b1)];[_0x594bc0(0x1ad)];constructor(_0x1f60d0,{part:_0x4936ca,uiIndex:_0x5332dc,areActionsDisabled:_0x3220b1,availableActions:_0x43198f}){const _0x5e2b44=_0x594bc0;super(_0x1f60d0);const _0x200308=this[_0x5e2b44(0x1b7)];this[_0x5e2b44(0x195)](_0x5e2b44(0x1be),_0x5e2b44(0x1b2)),this[_0x5e2b44(0x195)](_0x5e2b44(0x1a5),!0x1),this[_0x5e2b44(0x195)](_0x5e2b44(0x19e),!0x1),this[_0x5e2b44(0x195)](_0x5e2b44(0x1bd),!0x1),this[_0x5e2b44(0x195)](_0x5e2b44(0x1a3),!0x1);const _0x2462b5=()=>{const _0x37300c=_0x5e2b44;this[_0x37300c(0x1a3)]=this[_0x37300c(0x1a5)]&&_0x37300c(0x1b2)==this[_0x37300c(0x1be)]&&!_0x3220b1;};this['on'](_0x5e2b44(0x1b3),_0x2462b5),this['on'](_0x5e2b44(0x1c1),_0x2462b5),_0x2462b5(),this[_0x5e2b44(0x1bf)]=this[_0x5e2b44(0x1a2)](),this[_0x5e2b44(0x1b1)]=new _0x2b6e4a(_0x1f60d0,{'part':_0x4936ca,'uiIndex':_0x5332dc,'availableActions':_0x43198f,'areActionsDisabled':_0x3220b1}),this[_0x5e2b44(0x1b1)][_0x5e2b44(0x1b0)](_0x5e2b44(0x1a3),_0x5e2b44(0x1be))['to'](this),this[_0x5e2b44(0x1b1)][_0x5e2b44(0x196)](..._0x1c716a)['to'](this),this[_0x5e2b44(0x1ad)]=new _0x3b471a(_0x1f60d0),this[_0x5e2b44(0x1bf)][_0x5e2b44(0x1ae)]([this[_0x5e2b44(0x1b1)],this[_0x5e2b44(0x1ad)]]),this[_0x5e2b44(0x1c3)]({'tag':_0x5e2b44(0x1bc),'attributes':{'class':['ck',_0x5e2b44(0x1b4),_0x200308['to'](_0x5e2b44(0x1be),_0x197caf=>_0x5e2b44(0x19b)+_0x197caf),_0x200308['if'](_0x5e2b44(0x1a3),_0x5e2b44(0x197)),_0x200308['if'](_0x5e2b44(0x1bd),_0x5e2b44(0x1bb)),_0x200308['if'](_0x5e2b44(0x19e),_0x5e2b44(0x1ac),_0x15d0ee=>!_0x15d0ee)]},'children':this[_0x5e2b44(0x1bf)],'on':{'mouseenter':_0x200308['to'](()=>{const _0x18d638=_0x5e2b44;this[_0x18d638(0x1a3)]&&this[_0x18d638(0x199)](_0x18d638(0x1a0),{'index':_0x4936ca[_0x18d638(0x1b5)]});}),'mouseleave':_0x200308['to'](()=>{const _0x53b542=_0x5e2b44;this[_0x53b542(0x1a3)]&&this[_0x53b542(0x199)](_0x53b542(0x198),{'index':_0x4936ca[_0x53b542(0x1b5)]});}),'click':_0x200308['to'](_0x1b5c5e=>{const _0x5007ab=_0x5e2b44,_0x118860=_0x1b5c5e[_0x5007ab(0x19d)];this[_0x5007ab(0x1a3)]&&!this[_0x5007ab(0x1b1)][_0x5007ab(0x1b8)][_0x5007ab(0x1a1)][_0x5007ab(0x1a8)](_0x118860)&&this[_0x5007ab(0x199)](_0x5007ab(0x1b6),{'index':_0x4936ca[_0x5007ab(0x1b5)]});})}});}async[_0x594bc0(0x1b9)]({part:_0x3fbd80,renderingStrategy:_0x450a47,showUnchangedParts:_0x3291a2=!0x1,abortSignal:_0x4b8d8d}){const _0x401b30=_0x594bc0;this[_0x401b30(0x1aa)]=_0x3fbd80,this[_0x401b30(0x19e)]=this[_0x401b30(0x1aa)][_0x401b30(0x1af)]||_0x3291a2,this[_0x401b30(0x19e)]&&await this[_0x401b30(0x1ad)][_0x401b30(0x19c)]({'part':_0x3fbd80,'renderingStrategy':_0x450a47,'abortSignal':_0x4b8d8d});}[_0x594bc0(0x19f)](){const _0x327119=_0x594bc0;this[_0x327119(0x1a5)]=!0x0;}}
23
+ function _0x2b82(_0x79b0b3,_0x226ca8){const _0x35d093=_0x35d0();return _0x2b82=function(_0x2b8279,_0x4161a6){_0x2b8279=_0x2b8279-0xd8;let _0x4dcf97=_0x35d093[_0x2b8279];return _0x4dcf97;},_0x2b82(_0x79b0b3,_0x226ca8);}const _0x1c04e6=_0x2b82;function _0x35d0(){const _0xfb80e7=['delegate','ck-ai-suggestion__body__content-part_','element','ck-ai-suggestion__body__content-part_enabled','createCollection','index','showChangeInText','ck-hidden','ck-ai-suggestion__body__content-part_active','toolbarView','addMany','mouseLeaveSuggestion','setTemplate','ck-ai-suggestion__body__content-part','bindTemplate','21WauAVI','partDefinition','contains','_children','isDone','3161730DABOUU','7fHZLaO','isActive','change:isDone','div','fire','hasChanges','412982HGrowe','set','isVisible','markAsDone','mouseOverSuggestion','2751032PrDLuU','updateContent','bind','5111766nTiBjN','isEnabled','update','change:state','1257246cwRiOa','_headerView','2kQVrSX','3744135fSilxJ','target','pending','_streamableContentView','state','111092fQzFKO'];_0x35d0=function(){return _0xfb80e7;};return _0x35d0();}(function(_0x1644ac,_0x5da352){const _0x4513db=_0x2b82,_0xb5ebbe=_0x1644ac();while(!![]){try{const _0x35c1f4=parseInt(_0x4513db(0xe9))/0x1*(parseInt(_0x4513db(0xf7))/0x2)+parseInt(_0x4513db(0xdd))/0x3*(-parseInt(_0x4513db(0xfd))/0x4)+-parseInt(_0x4513db(0xf8))/0x5+parseInt(_0x4513db(0xf1))/0x6+parseInt(_0x4513db(0xe3))/0x7*(-parseInt(_0x4513db(0xee))/0x8)+parseInt(_0x4513db(0xf5))/0x9+parseInt(_0x4513db(0xe2))/0xa;if(_0x35c1f4===_0x5da352)break;else _0xb5ebbe['push'](_0xb5ebbe['shift']());}catch(_0x7710de){_0xb5ebbe['push'](_0xb5ebbe['shift']());}}}(_0x35d0,0x69e1d));import{View as _0x2ece16}from'ckeditor5/src/ui.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0xf9d9ad}from'../../utils/eventnames.js';import{AISuggestionContentPartHeaderView as _0x2d0ae1}from'./aisuggestioncontentpartheaderview.js';import{AISuggestionStreamableContentView as _0x906d5d}from'./aisuggestionstreamablecontentview.js';export class AISuggestionBodyViewContentPartView extends _0x2ece16{[_0x1c04e6(0xe0)];[_0x1c04e6(0xf6)];[_0x1c04e6(0xfb)];constructor(_0x10e0a7,{part:_0x270a8e,uiIndex:_0x3da7ec,areActionsDisabled:_0x186f96,availableActions:_0x3a0175}){const _0x1699ce=_0x1c04e6;super(_0x10e0a7);const _0x2e71e1=this[_0x1699ce(0xdc)];this[_0x1699ce(0xea)](_0x1699ce(0xfc),_0x1699ce(0xfa)),this[_0x1699ce(0xea)](_0x1699ce(0xe1),!0x1),this[_0x1699ce(0xea)](_0x1699ce(0xeb),!0x1),this[_0x1699ce(0xea)](_0x1699ce(0xe4),!0x1),this[_0x1699ce(0xea)](_0x1699ce(0xf2),!0x1);const _0x3925e0=()=>{const _0x18ef15=_0x1699ce;this[_0x18ef15(0xf2)]=this[_0x18ef15(0xe1)]&&_0x18ef15(0xfa)==this[_0x18ef15(0xfc)]&&!_0x186f96;};this['on'](_0x1699ce(0xf4),_0x3925e0),this['on'](_0x1699ce(0xe5),_0x3925e0),_0x3925e0(),this[_0x1699ce(0xe0)]=this[_0x1699ce(0x102)](),this[_0x1699ce(0xf6)]=new _0x2d0ae1(_0x10e0a7,{'part':_0x270a8e,'uiIndex':_0x3da7ec,'availableActions':_0x3a0175,'areActionsDisabled':_0x186f96}),this[_0x1699ce(0xf6)][_0x1699ce(0xf0)](_0x1699ce(0xf2),_0x1699ce(0xfc))['to'](this),this[_0x1699ce(0xf6)][_0x1699ce(0xfe)](..._0xf9d9ad)['to'](this),this[_0x1699ce(0xfb)]=new _0x906d5d(_0x10e0a7),this[_0x1699ce(0xe0)][_0x1699ce(0xd8)]([this[_0x1699ce(0xf6)],this[_0x1699ce(0xfb)]]),this[_0x1699ce(0xda)]({'tag':_0x1699ce(0xe6),'attributes':{'class':['ck',_0x1699ce(0xdb),_0x2e71e1['to'](_0x1699ce(0xfc),_0x3a3c3d=>_0x1699ce(0xff)+_0x3a3c3d),_0x2e71e1['if'](_0x1699ce(0xf2),_0x1699ce(0x101)),_0x2e71e1['if'](_0x1699ce(0xe4),_0x1699ce(0x106)),_0x2e71e1['if'](_0x1699ce(0xeb),_0x1699ce(0x105),_0x3e7834=>!_0x3e7834)]},'children':this[_0x1699ce(0xe0)],'on':{'mouseenter':_0x2e71e1['to'](()=>{const _0x3abd8f=_0x1699ce;this[_0x3abd8f(0xf2)]&&this[_0x3abd8f(0xe7)](_0x3abd8f(0xed),{'index':_0x270a8e[_0x3abd8f(0x103)]});}),'mouseleave':_0x2e71e1['to'](()=>{const _0x199d4d=_0x1699ce;this[_0x199d4d(0xf2)]&&this[_0x199d4d(0xe7)](_0x199d4d(0xd9),{'index':_0x270a8e[_0x199d4d(0x103)]});}),'click':_0x2e71e1['to'](_0xa38e9c=>{const _0x56fb1a=_0x1699ce,_0x3c3e50=_0xa38e9c[_0x56fb1a(0xf9)];this[_0x56fb1a(0xf2)]&&!this[_0x56fb1a(0xf6)][_0x56fb1a(0x107)][_0x56fb1a(0x100)][_0x56fb1a(0xdf)](_0x3c3e50)&&this[_0x56fb1a(0xe7)](_0x56fb1a(0x104),{'index':_0x270a8e[_0x56fb1a(0x103)]});})}});}async[_0x1c04e6(0xef)]({part:_0x618130,renderingStrategy:_0x2a84ee,showUnchangedParts:_0x3111ed=!0x1,abortSignal:_0x427511}){const _0x311f41=_0x1c04e6;this[_0x311f41(0xde)]=_0x618130,this[_0x311f41(0xeb)]=this[_0x311f41(0xde)][_0x311f41(0xe8)]||_0x3111ed,this[_0x311f41(0xeb)]&&await this[_0x311f41(0xfb)][_0x311f41(0xf3)]({'part':_0x618130,'renderingStrategy':_0x2a84ee,'abortSignal':_0x427511});}[_0x1c04e6(0xec)](){const _0x2d3947=_0x1c04e6;this[_0x2d3947(0xe1)]=!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x460e1b=_0x2e37;(function(_0x189fd0,_0x3e2165){const _0x2e1432=_0x2e37,_0xb7508=_0x189fd0();while(!![]){try{const _0x4031a6=-parseInt(_0x2e1432(0x146))/0x1+parseInt(_0x2e1432(0x12e))/0x2*(-parseInt(_0x2e1432(0x130))/0x3)+-parseInt(_0x2e1432(0x13b))/0x4*(parseInt(_0x2e1432(0x13e))/0x5)+parseInt(_0x2e1432(0x141))/0x6*(-parseInt(_0x2e1432(0x132))/0x7)+parseInt(_0x2e1432(0x14f))/0x8+-parseInt(_0x2e1432(0x142))/0x9+parseInt(_0x2e1432(0x135))/0xa*(parseInt(_0x2e1432(0x14b))/0xb);if(_0x4031a6===_0x3e2165)break;else _0xb7508['push'](_0xb7508['shift']());}catch(_0x4571ae){_0xb7508['push'](_0xb7508['shift']());}}}(_0x1043,0xce180));import{getTranslation as _0x506ffe}from'../../utils/common-translations.js';function _0x2e37(_0x4ebc6f,_0x39f345){const _0x104316=_0x1043();return _0x2e37=function(_0x2e3734,_0x339822){_0x2e3734=_0x2e3734-0x12b;let _0x131797=_0x104316[_0x2e3734];return _0x131797;},_0x2e37(_0x4ebc6f,_0x39f345);}import{ButtonView as _0x37b8fd,IconView as _0x3fbab9,View as _0x4dec15}from'ckeditor5/src/ui.js';import{IconDocument as _0x323bdc,IconShowChangesOff as _0x269f4e,IconShowChangesOn as _0x5db2c5}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x4dec15{[_0x460e1b(0x144)];constructor(_0x3cc530,_0x335566){const _0x2b7ac1=_0x460e1b;super(_0x3cc530),this[_0x2b7ac1(0x148)](_0x2b7ac1(0x136),!0x0),this[_0x2b7ac1(0x144)]=new ShowChangesToggleView(_0x3cc530),this[_0x2b7ac1(0x144)][_0x2b7ac1(0x148)]({'class':_0x2b7ac1(0x12c),'label':_0x506ffe(_0x3cc530,_0x2b7ac1(0x147)),'withText':!0x0}),this[_0x2b7ac1(0x144)][_0x2b7ac1(0x150)]=_0x335566[_0x2b7ac1(0x145)],this[_0x2b7ac1(0x144)][_0x2b7ac1(0x13a)](_0x2b7ac1(0x134))['to'](this,_0x2b7ac1(0x136)),this[_0x2b7ac1(0x144)][_0x2b7ac1(0x13a)](_0x2b7ac1(0x14e))['to'](this[_0x2b7ac1(0x144)],_0x2b7ac1(0x150),_0xbb9157=>_0xbb9157?_0x5db2c5:_0x269f4e),this[_0x2b7ac1(0x144)]['on'](_0x2b7ac1(0x14a),()=>{const _0x137680=_0x2b7ac1;this[_0x137680(0x144)][_0x137680(0x150)]=!this[_0x137680(0x144)][_0x137680(0x150)],this[_0x137680(0x143)](_0x137680(0x138),{'isOn':this[_0x137680(0x144)][_0x137680(0x150)]});});const _0x59de62=new _0x3fbab9();_0x59de62[_0x2b7ac1(0x149)]=_0x323bdc,this[_0x2b7ac1(0x13f)]({'tag':_0x2b7ac1(0x137),'attributes':{'class':['ck',_0x2b7ac1(0x131),!0x1===_0x335566[_0x2b7ac1(0x12b)]?_0x2b7ac1(0x12d):null][_0x2b7ac1(0x13d)](Boolean)},'children':[_0x59de62,{'tag':_0x2b7ac1(0x140),'children':[_0x506ffe(_0x3cc530,_0x2b7ac1(0x14c))]},this[_0x2b7ac1(0x144)]]});}}export class ShowChangesToggleView extends _0x37b8fd{[_0x460e1b(0x133)](){const _0x4743bd=_0x460e1b;super[_0x4743bd(0x133)](),this[_0x4743bd(0x13c)][_0x4743bd(0x14d)](this[_0x4743bd(0x139)]),this[_0x4743bd(0x13c)][_0x4743bd(0x12f)](this[_0x4743bd(0x139)]);}}function _0x1043(){const _0x2be1f3=['showDiff','1459162PinkgP','AI_SUGGESTION_BUTTON_SHOW_CHANGES','set','content','execute','33nQbzTf','AI_SUGGESTION_HEADER_TITLE','remove','icon','10300744SJpxeB','isOn','showHeader','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','ck-hidden','2678CAfFgG','add','1095pgSJaS','ck-ai-suggestion__header','1027901rzlNpn','render','isVisible','14534440ybcCVd','isShowChangesToggleVisible','div','toggleShowChanges','iconView','bind','36oUADyG','children','filter','905785mttUFy','setTemplate','span','18AfxqGa','7064334DIwFfX','fire','showChangesToggleView'];_0x1043=function(){return _0x2be1f3;};return _0x1043();}
23
+ const _0x51388c=_0x5c1e;(function(_0x16fe41,_0x5a6b2c){const _0x1db85a=_0x5c1e,_0x357b88=_0x16fe41();while(!![]){try{const _0x40afbe=parseInt(_0x1db85a(0x1b3))/0x1+-parseInt(_0x1db85a(0x1b8))/0x2*(-parseInt(_0x1db85a(0x1af))/0x3)+-parseInt(_0x1db85a(0x1c7))/0x4+-parseInt(_0x1db85a(0x1cd))/0x5*(-parseInt(_0x1db85a(0x1cf))/0x6)+parseInt(_0x1db85a(0x1c3))/0x7*(-parseInt(_0x1db85a(0x1ca))/0x8)+-parseInt(_0x1db85a(0x1b7))/0x9*(parseInt(_0x1db85a(0x1ba))/0xa)+parseInt(_0x1db85a(0x1d0))/0xb*(-parseInt(_0x1db85a(0x1c0))/0xc);if(_0x40afbe===_0x5a6b2c)break;else _0x357b88['push'](_0x357b88['shift']());}catch(_0x12d5cc){_0x357b88['push'](_0x357b88['shift']());}}}(_0x5ccc,0x3ddf1));function _0x5ccc(){const _0x3b60e7=['span','90EVeRMy','showHeader','ck-ai-suggestion__header','bind','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','children','372dGfasw','isOn','filter','7TCYiwV','execute','icon','render','1553840MeWtRs','setTemplate','set','182216HhfenR','content','iconView','20EsSMOC','remove','711828jPlpeX','23166ZyZkWA','div','fire','isShowChangesToggleVisible','showDiff','AI_SUGGESTION_BUTTON_SHOW_CHANGES','30mwxENF','add','ck-hidden','showChangesToggleView','501795BoQEXy','toggleShowChanges','AI_SUGGESTION_HEADER_TITLE','isVisible','370989MOBHJo','24918xBOpqz'];_0x5ccc=function(){return _0x3b60e7;};return _0x5ccc();}import{getTranslation as _0x109d76}from'../../utils/common-translations.js';import{ButtonView as _0x2ca912,IconView as _0x4acde5,View as _0x998003}from'ckeditor5/src/ui.js';import{IconDocument as _0x419b16,IconShowChangesOff as _0x22ec48,IconShowChangesOn as _0x2f0ae8}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x998003{[_0x51388c(0x1b2)];constructor(_0x564fa8,_0x4c528b){const _0x469f2f=_0x51388c;super(_0x564fa8),this[_0x469f2f(0x1c9)](_0x469f2f(0x1ac),!0x0),this[_0x469f2f(0x1b2)]=new ShowChangesToggleView(_0x564fa8),this[_0x469f2f(0x1b2)][_0x469f2f(0x1c9)]({'class':_0x469f2f(0x1be),'label':_0x109d76(_0x564fa8,_0x469f2f(0x1ae)),'withText':!0x0}),this[_0x469f2f(0x1b2)][_0x469f2f(0x1c1)]=_0x4c528b[_0x469f2f(0x1ad)],this[_0x469f2f(0x1b2)][_0x469f2f(0x1bd)](_0x469f2f(0x1b6))['to'](this,_0x469f2f(0x1ac)),this[_0x469f2f(0x1b2)][_0x469f2f(0x1bd)](_0x469f2f(0x1c5))['to'](this[_0x469f2f(0x1b2)],_0x469f2f(0x1c1),_0x2ccc35=>_0x2ccc35?_0x2f0ae8:_0x22ec48),this[_0x469f2f(0x1b2)]['on'](_0x469f2f(0x1c4),()=>{const _0x42c1ce=_0x469f2f;this[_0x42c1ce(0x1b2)][_0x42c1ce(0x1c1)]=!this[_0x42c1ce(0x1b2)][_0x42c1ce(0x1c1)],this[_0x42c1ce(0x1d2)](_0x42c1ce(0x1b4),{'isOn':this[_0x42c1ce(0x1b2)][_0x42c1ce(0x1c1)]});});const _0x5b28f6=new _0x4acde5();_0x5b28f6[_0x469f2f(0x1cb)]=_0x419b16,this[_0x469f2f(0x1c8)]({'tag':_0x469f2f(0x1d1),'attributes':{'class':['ck',_0x469f2f(0x1bc),!0x1===_0x4c528b[_0x469f2f(0x1bb)]?_0x469f2f(0x1b1):null][_0x469f2f(0x1c2)](Boolean)},'children':[_0x5b28f6,{'tag':_0x469f2f(0x1b9),'children':[_0x109d76(_0x564fa8,_0x469f2f(0x1b5))]},this[_0x469f2f(0x1b2)]]});}}function _0x5c1e(_0x2cb53f,_0x32c5f3){const _0x5ccc48=_0x5ccc();return _0x5c1e=function(_0x5c1e1e,_0x471378){_0x5c1e1e=_0x5c1e1e-0x1ac;let _0xdb54e3=_0x5ccc48[_0x5c1e1e];return _0xdb54e3;},_0x5c1e(_0x2cb53f,_0x32c5f3);}export class ShowChangesToggleView extends _0x2ca912{[_0x51388c(0x1c6)](){const _0x4c25a2=_0x51388c;super[_0x4c25a2(0x1c6)](),this[_0x4c25a2(0x1bf)][_0x4c25a2(0x1ce)](this[_0x4c25a2(0x1cc)]),this[_0x4c25a2(0x1bf)][_0x4c25a2(0x1b0)](this[_0x4c25a2(0x1cc)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4b9587,_0x3fc4fc){const _0x3973f8=_0x1f79,_0x5907c9=_0x4b9587();while(!![]){try{const _0x19db51=parseInt(_0x3973f8(0x161))/0x1*(-parseInt(_0x3973f8(0x152))/0x2)+parseInt(_0x3973f8(0x155))/0x3*(parseInt(_0x3973f8(0x150))/0x4)+-parseInt(_0x3973f8(0x153))/0x5+-parseInt(_0x3973f8(0x15a))/0x6*(-parseInt(_0x3973f8(0x15d))/0x7)+parseInt(_0x3973f8(0x15e))/0x8+-parseInt(_0x3973f8(0x15c))/0x9+parseInt(_0x3973f8(0x158))/0xa;if(_0x19db51===_0x3fc4fc)break;else _0x5907c9['push'](_0x5907c9['shift']());}catch(_0x47c39e){_0x5907c9['push'](_0x5907c9['shift']());}}}(_0xcf3a,0x19f4e));import{View as _0x2b76c1}from'ckeditor5/src/ui.js';import{AISpinnerView as _0x4ead41}from'../aispinner.js';import{getTranslation as _0x12a73b}from'../../utils/common-translations.js';function _0x1f79(_0x255378,_0x3740c3){const _0xcf3ab9=_0xcf3a();return _0x1f79=function(_0x1f79a0,_0x452ad8){_0x1f79a0=_0x1f79a0-0x14f;let _0x2d297a=_0xcf3ab9[_0x1f79a0];return _0x2d297a;},_0x1f79(_0x255378,_0x3740c3);}export class AISuggestionLoaderView extends _0x2b76c1{constructor(_0x81a492){const _0x2279c5=_0x1f79;super(_0x81a492),this[_0x2279c5(0x162)](_0x2279c5(0x15b),!0x0);const _0x1321e0=new _0x4ead41(_0x2279c5(0x15f));_0x1321e0[_0x2279c5(0x15b)]=!0x0;const _0x12d78f=new _0x2b76c1(this[_0x2279c5(0x157)]);_0x12d78f[_0x2279c5(0x156)]({'tag':_0x2279c5(0x14f),'attributes':{'class':['ck',_0x2279c5(0x159)]},'children':[_0x12a73b(this[_0x2279c5(0x157)],_0x2279c5(0x164))]}),this[_0x2279c5(0x156)]({'tag':_0x2279c5(0x151),'attributes':{'class':['ck',_0x2279c5(0x160),this[_0x2279c5(0x163)]['if'](_0x2279c5(0x15b),_0x2279c5(0x154),_0x5ce60f=>!_0x5ce60f)]},'children':[_0x1321e0,_0x12d78f]});}}function _0xcf3a(){const _0x447516=['1383228abZqPM','70MRmYXj','1097248XgiUkC','small','ck-ai-suggestion__loader','169483kcdtOv','set','bindTemplate','AI_CHAT_IS_WRITING','span','28rhoMZR','div','2qeMleu','50475cbSluc','ck-hidden','20391myZwqg','setTemplate','locale','2300830sipfXL','ck-ai-suggestion__loader-text','14862ZpykRX','isVisible'];_0xcf3a=function(){return _0x447516;};return _0xcf3a();}
23
+ function _0xa9bb(_0x3c4f64,_0x1e78b7){const _0x209e0e=_0x209e();return _0xa9bb=function(_0xa9bbed,_0x12d978){_0xa9bbed=_0xa9bbed-0x105;let _0x53820e=_0x209e0e[_0xa9bbed];return _0x53820e;},_0xa9bb(_0x3c4f64,_0x1e78b7);}(function(_0x227c50,_0x2d8fe1){const _0xe06129=_0xa9bb,_0x34f5e8=_0x227c50();while(!![]){try{const _0x290a0d=-parseInt(_0xe06129(0x11a))/0x1*(-parseInt(_0xe06129(0x114))/0x2)+-parseInt(_0xe06129(0x115))/0x3+-parseInt(_0xe06129(0x10e))/0x4+-parseInt(_0xe06129(0x107))/0x5*(parseInt(_0xe06129(0x109))/0x6)+parseInt(_0xe06129(0x116))/0x7+-parseInt(_0xe06129(0x10f))/0x8*(-parseInt(_0xe06129(0x119))/0x9)+-parseInt(_0xe06129(0x10b))/0xa*(-parseInt(_0xe06129(0x10c))/0xb);if(_0x290a0d===_0x2d8fe1)break;else _0x34f5e8['push'](_0x34f5e8['shift']());}catch(_0xdb55e0){_0x34f5e8['push'](_0x34f5e8['shift']());}}}(_0x209e,0xdf3a8));import{View as _0x56872b}from'ckeditor5/src/ui.js';function _0x209e(){const _0x37fcd3=['71202IqMZTd','3282454EUjvAR','div','ck-ai-suggestion__loader','18ZaPdOo','4XULYwt','locale','ck-hidden','isVisible','1955515vCBGef','setTemplate','24GEpMnH','ck-ai-suggestion__loader-text','14026340HWgzSH','11BZWwcF','AI_CHAT_IS_WRITING','7112424RNRzjH','7182192prIUbP','span','bindTemplate','small','set','306746ZzLANq'];_0x209e=function(){return _0x37fcd3;};return _0x209e();}import{AISpinnerView as _0x3b8bb7}from'../aispinner.js';import{getTranslation as _0x2fdd83}from'../../utils/common-translations.js';export class AISuggestionLoaderView extends _0x56872b{constructor(_0x46ff8b){const _0x2cb8cf=_0xa9bb;super(_0x46ff8b),this[_0x2cb8cf(0x113)](_0x2cb8cf(0x106),!0x0);const _0x8c4536=new _0x3b8bb7(_0x2cb8cf(0x112));_0x8c4536[_0x2cb8cf(0x106)]=!0x0;const _0x2cc081=new _0x56872b(this[_0x2cb8cf(0x11b)]);_0x2cc081[_0x2cb8cf(0x108)]({'tag':_0x2cb8cf(0x110),'attributes':{'class':['ck',_0x2cb8cf(0x10a)]},'children':[_0x2fdd83(this[_0x2cb8cf(0x11b)],_0x2cb8cf(0x10d))]}),this[_0x2cb8cf(0x108)]({'tag':_0x2cb8cf(0x117),'attributes':{'class':['ck',_0x2cb8cf(0x118),this[_0x2cb8cf(0x111)]['if'](_0x2cb8cf(0x106),_0x2cb8cf(0x105),_0x4fdf6c=>!_0x4fdf6c)]},'children':[_0x8c4536,_0x2cc081]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x53bfa9=_0x5ead;(function(_0xc78244,_0x2ecca8){var _0x2a252a=_0x5ead,_0x1c7ad5=_0xc78244();while(!![]){try{var _0xc4f7ed=-parseInt(_0x2a252a(0x1a4))/0x1*(parseInt(_0x2a252a(0x1b2))/0x2)+-parseInt(_0x2a252a(0x1a8))/0x3+-parseInt(_0x2a252a(0x1a3))/0x4+-parseInt(_0x2a252a(0x1a2))/0x5*(parseInt(_0x2a252a(0x1ae))/0x6)+-parseInt(_0x2a252a(0x1a6))/0x7*(-parseInt(_0x2a252a(0x1b5))/0x8)+-parseInt(_0x2a252a(0x1b6))/0x9*(parseInt(_0x2a252a(0x1a1))/0xa)+-parseInt(_0x2a252a(0x1b3))/0xb*(-parseInt(_0x2a252a(0x1b4))/0xc);if(_0xc4f7ed===_0x2ecca8)break;else _0x1c7ad5['push'](_0x1c7ad5['shift']());}catch(_0x35db78){_0x1c7ad5['push'](_0x1c7ad5['shift']());}}}(_0x2e89,0x4dc08));function _0x2e89(){var _0x56982c=['2vsntxI','352JQbPxF','697260Dpqfxf','9808euVqDt','4927842eawrtw','setTemplate','element','div','stream','htmlStreamer','10rHtdPc','911515ivALnh','757620hxgWKA','522776dVkRoB','clear','1127cTgbjL','innerHTML','341847YicIGI','update','reset','ck-ai-suggestion-streamable-content','ck-content','ck-reset_all-excluded','12XHWYgm','animation:\x20ck-html-streamer-fade-in\x20.5s','streaming','content'];_0x2e89=function(){return _0x56982c;};return _0x2e89();}import{View as _0x1d986a}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x3f7e7a}from'../../utils/htmlstreamer.js';import{serialize as _0x8c9c01}from'../../utils/htmlparser.js';function _0x5ead(_0x485692,_0x19955c){var _0x2e89cf=_0x2e89();return _0x5ead=function(_0x5ead34,_0x4df401){_0x5ead34=_0x5ead34-0x19f;var _0x1497c3=_0x2e89cf[_0x5ead34];return _0x1497c3;},_0x5ead(_0x485692,_0x19955c);}import'../../../../theme/common/aisuggestionstreamablecontent.css';export class AISuggestionStreamableContentView extends _0x1d986a{[_0x53bfa9(0x1a0)];constructor(_0x22851a){var _0x35f671=_0x53bfa9;super(_0x22851a),this[_0x35f671(0x1a0)]=new _0x3f7e7a({'textNodeStyle':_0x35f671(0x1af),'delay':0x14}),this[_0x35f671(0x1b7)]({'tag':_0x35f671(0x1b9),'attributes':{'class':['ck',_0x35f671(0x1ac),_0x35f671(0x1ad),_0x35f671(0x1ab)]}});}async[_0x53bfa9(0x1a9)]({part:_0x2211bc,renderingStrategy:_0x105116,abortSignal:_0x3e3ef2}){var _0x348b72=_0x53bfa9;_0x348b72(0x1b0)===_0x105116?await this[_0x348b72(0x1a0)][_0x348b72(0x19f)]({'document':_0x2211bc[_0x348b72(0x1b1)],'targetElement':this[_0x348b72(0x1b8)],'abortSignal':_0x3e3ef2}):this[_0x348b72(0x1b8)][_0x348b72(0x1a7)]=_0x8c9c01(_0x2211bc[_0x348b72(0x1b1)]);}[_0x53bfa9(0x1a5)](){var _0x2daef1=_0x53bfa9;this[_0x2daef1(0x1a0)][_0x2daef1(0x1aa)](),this[_0x2daef1(0x1b8)][_0x2daef1(0x1a7)]='';}}
23
+ var _0x11d8d8=_0x2dfb;(function(_0x4570e4,_0x4739da){var _0xfc6ee7=_0x2dfb,_0x3ee503=_0x4570e4();while(!![]){try{var _0x80bbbd=-parseInt(_0xfc6ee7(0xd8))/0x1*(parseInt(_0xfc6ee7(0xd3))/0x2)+-parseInt(_0xfc6ee7(0xc5))/0x3+-parseInt(_0xfc6ee7(0xd2))/0x4*(parseInt(_0xfc6ee7(0xdd))/0x5)+parseInt(_0xfc6ee7(0xc6))/0x6*(-parseInt(_0xfc6ee7(0xc7))/0x7)+parseInt(_0xfc6ee7(0xcd))/0x8*(parseInt(_0xfc6ee7(0xd5))/0x9)+parseInt(_0xfc6ee7(0xc9))/0xa*(-parseInt(_0xfc6ee7(0xd4))/0xb)+-parseInt(_0xfc6ee7(0xd9))/0xc*(-parseInt(_0xfc6ee7(0xd1))/0xd);if(_0x80bbbd===_0x4739da)break;else _0x3ee503['push'](_0x3ee503['shift']());}catch(_0xb3c45b){_0x3ee503['push'](_0x3ee503['shift']());}}}(_0x1f22,0xaf2d2));import{View as _0x4d63cb}from'ckeditor5/src/ui.js';function _0x1f22(){var _0x31ae14=['185ksbMxl','clear','stream','ck-reset_all-excluded','4041648ZinGpm','3786sdPvrD','4249tOagYE','htmlStreamer','74810PYTCWJ','element','ck-content','update','8zMeeQQ','ck-ai-suggestion-streamable-content','animation:\x20ck-html-streamer-fade-in\x20.5s','innerHTML','3809kJfqTE','18116cnaNcp','21478YxjiSO','165ckaQai','547659knDQBB','streaming','content','113MdoryH','158916WGyHQQ','reset','div','setTemplate'];_0x1f22=function(){return _0x31ae14;};return _0x1f22();}function _0x2dfb(_0x352d6c,_0x627a64){var _0x1f22ce=_0x1f22();return _0x2dfb=function(_0x2dfb8c,_0x188fa5){_0x2dfb8c=_0x2dfb8c-0xc3;var _0x3c7bcc=_0x1f22ce[_0x2dfb8c];return _0x3c7bcc;},_0x2dfb(_0x352d6c,_0x627a64);}import{HTMLStreamer as _0x1d3739}from'../../utils/htmlstreamer.js';import{serialize as _0x2b5c1b}from'../../utils/htmlparser.js';import'../../../../theme/common/aisuggestionstreamablecontent.css';export class AISuggestionStreamableContentView extends _0x4d63cb{[_0x11d8d8(0xc8)];constructor(_0x379c7e){var _0x597489=_0x11d8d8;super(_0x379c7e),this[_0x597489(0xc8)]=new _0x1d3739({'textNodeStyle':_0x597489(0xcf),'delay':0x14}),this[_0x597489(0xdc)]({'tag':_0x597489(0xdb),'attributes':{'class':['ck',_0x597489(0xcb),_0x597489(0xc4),_0x597489(0xce)]}});}async[_0x11d8d8(0xcc)]({part:_0x9c033,renderingStrategy:_0x18bfbc,abortSignal:_0x5b781c}){var _0x5ee461=_0x11d8d8;_0x5ee461(0xd6)===_0x18bfbc?await this[_0x5ee461(0xc8)][_0x5ee461(0xc3)]({'document':_0x9c033[_0x5ee461(0xd7)],'targetElement':this[_0x5ee461(0xca)],'abortSignal':_0x5b781c}):this[_0x5ee461(0xca)][_0x5ee461(0xd0)]=_0x2b5c1b(_0x9c033[_0x5ee461(0xd7)]);}[_0x11d8d8(0xde)](){var _0x523775=_0x11d8d8;this[_0x523775(0xc8)][_0x523775(0xda)](),this[_0x523775(0xca)][_0x523775(0xd0)]='';}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x34b642=_0x1397;(function(_0x529546,_0x5f4d7d){const _0x27ff60=_0x1397,_0x2b72c3=_0x529546();while(!![]){try{const _0x370c26=parseInt(_0x27ff60(0xc4))/0x1*(parseInt(_0x27ff60(0x9b))/0x2)+parseInt(_0x27ff60(0xa4))/0x3*(-parseInt(_0x27ff60(0x8b))/0x4)+parseInt(_0x27ff60(0xa2))/0x5+-parseInt(_0x27ff60(0xc3))/0x6*(parseInt(_0x27ff60(0x91))/0x7)+parseInt(_0x27ff60(0x95))/0x8+parseInt(_0x27ff60(0xb5))/0x9+parseInt(_0x27ff60(0x96))/0xa*(-parseInt(_0x27ff60(0x83))/0xb);if(_0x370c26===_0x5f4d7d)break;else _0x2b72c3['push'](_0x2b72c3['shift']());}catch(_0x2aa198){_0x2b72c3['push'](_0x2b72c3['shift']());}}}(_0x3606,0xcfce1));function _0x3606(){const _0x5761f6=['addSource','AI_CHAT_SOURCES_HEADER','ck-ai-web-source__image','_createTooltipContentView','div','img','_showTooltip','ck-ai-web-source__tooltip-url','source','ck-ai-web-source__tooltip-image','bindTemplate','...','ck-ai-web-source__tooltip-title','setTemplate','destroy','13079106urkZrr','title','add','ck-ai-web-source__tooltip-row','_hideTooltip','locale','url','isVisible','.ck-ai-chat','favicon','span','querySelector','northArrowSouthWest','hide','378yZdDNx','687XINTPs','_updateTooltipContent','open','createCollection','165KWbwiv','ck\x20ck-ai-web-source','content','extendTemplate','push','ck-ai-web-source__tooltip-balloon','children','northArrowSouthEast','204148UmbvsK','length','pin','defaultPositions','set','ck-ai-web-sources__header','61768olnNBN','hostname','clear','icon','12371928GIVNYJ','1258630EqmPjy','balloonPanelView','ck-ai-web-sources','get','bodyCollection','1364UvGShK','show','element','substring','northArrowSouth','ck-hidden','_setupBalloonPanel','2451240nySDsU','_blank','39KwxAbk','ck-ai-web-source__tooltip'];_0x3606=function(){return _0x5761f6;};return _0x3606();}import{View as _0x3d4017,ButtonView as _0x59a21c,IconView as _0x22d089,BalloonPanelView as _0x13e942}from'ckeditor5/src/ui.js';import{IconWeb as _0x46727a}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x309e09}from'../../utils/common-translations.js';function _0x1397(_0x3f06f8,_0x2d40de){const _0x360671=_0x3606();return _0x1397=function(_0x139719,_0x787b44){_0x139719=_0x139719-0x80;let _0x735775=_0x360671[_0x139719];return _0x735775;},_0x1397(_0x3f06f8,_0x2d40de);}export class AIWebSourcesView extends _0x3d4017{[_0x34b642(0x89)];[_0x34b642(0x97)];[_0x34b642(0x9a)];constructor(_0x21acaf,_0x322400){const _0x4ac829=_0x34b642;super(_0x21acaf),this[_0x4ac829(0x9a)]=_0x322400,this[_0x4ac829(0x89)]=this[_0x4ac829(0x82)](),this[_0x4ac829(0x8f)](_0x4ac829(0xbc),!0x1),this[_0x4ac829(0xb3)]({'tag':_0x4ac829(0xaa),'attributes':{'class':['ck',_0x4ac829(0x98),this[_0x4ac829(0xb0)]['if'](_0x4ac829(0xbc),_0x4ac829(0xa0),_0x2bc738=>!_0x2bc738)]},'children':this[_0x4ac829(0x89)]});const _0x597fa2=new _0x3d4017(this[_0x4ac829(0xba)]),_0x158653=new _0x22d089();_0x158653[_0x4ac829(0x85)]=_0x46727a,_0x597fa2[_0x4ac829(0xb3)]({'tag':_0x4ac829(0xaa),'attributes':{'class':['ck',_0x4ac829(0x90)]},'children':[_0x158653,{'tag':_0x4ac829(0xbf),'children':[{'text':_0x309e09(this[_0x4ac829(0xba)],_0x4ac829(0xa7))}]}]}),this[_0x4ac829(0x89)][_0x4ac829(0xb7)](_0x597fa2),this[_0x4ac829(0xa1)](_0x21acaf);}[_0x34b642(0xa6)](_0x4e6cf2){const _0xdc008f=_0x34b642;this[_0xdc008f(0x89)][_0xdc008f(0xb7)](new AIWebSourceView(this[_0xdc008f(0xba)],_0x4e6cf2,this[_0xdc008f(0x97)]));}[_0x34b642(0xa1)](_0x5a6e8a){const _0x3dc319=_0x34b642;this[_0x3dc319(0x97)]=new _0x13e942(_0x5a6e8a),this[_0x3dc319(0x97)][_0x3dc319(0x86)]({'attributes':{'class':[_0x3dc319(0x88)]}}),this[_0x3dc319(0x9a)][_0x3dc319(0xb7)](this[_0x3dc319(0x97)]);}}export class AIWebSourceView extends _0x59a21c{[_0x34b642(0x97)];[_0x34b642(0xae)];constructor(_0x20c02f,_0x419948,_0x17cd74){const _0xa742b6=_0x34b642;super(_0x20c02f),this[_0xa742b6(0xae)]=_0x419948,this[_0xa742b6(0x97)]=_0x17cd74,this[_0xa742b6(0x8f)]({'label':_0x419948[_0xa742b6(0xb6)],'class':[_0xa742b6(0x84)],'withText':!0x0});const _0x59518b=this[_0xa742b6(0xb0)];if(this[_0xa742b6(0x86)]({'on':{'click':_0x59518b['to'](()=>{const _0x20fd1f=_0xa742b6;window[_0x20fd1f(0x81)](_0x419948[_0x20fd1f(0xbb)],_0x20fd1f(0xa3));}),'mouseenter':_0x59518b['to'](()=>{const _0x45634a=_0xa742b6;this[_0x45634a(0xac)]();}),'mouseleave':_0x59518b['to'](()=>{const _0x254805=_0xa742b6;this[_0x254805(0xb9)]();})}}),_0x419948[_0xa742b6(0xbe)]){const _0xf452d0=new _0x3d4017(_0x20c02f);_0xf452d0[_0xa742b6(0xb3)]({'tag':_0xa742b6(0xab),'attributes':{'src':_0x419948[_0xa742b6(0xbe)]||_0x46727a,'alt':_0x419948[_0xa742b6(0xb6)],'class':[_0xa742b6(0xa8)]}}),this[_0xa742b6(0x89)][_0xa742b6(0xb7)](_0xf452d0);}else this[_0xa742b6(0x8f)](_0xa742b6(0x94),_0x46727a);}[_0x34b642(0xa9)](_0x2a9ccd,_0x1cf3d8){const _0x4272fd=_0x34b642,_0x189fcc=new _0x3d4017(_0x2a9ccd),_0x38895d=[];let _0x350a1c;_0x1cf3d8?.[_0x4272fd(0xbe)]?(_0x350a1c=new _0x3d4017(_0x2a9ccd),_0x350a1c[_0x4272fd(0xb3)]({'tag':_0x4272fd(0xab),'attributes':{'src':_0x1cf3d8[_0x4272fd(0xbe)],'alt':_0x1cf3d8[_0x4272fd(0xb6)],'class':[_0x4272fd(0xaf)]}})):(_0x350a1c=new _0x22d089(),_0x350a1c[_0x4272fd(0x85)]=_0x46727a,_0x350a1c[_0x4272fd(0x86)]({'attributes':{'alt':_0x1cf3d8[_0x4272fd(0xb6)],'class':[_0x4272fd(0xaf)]}})),_0x38895d[_0x4272fd(0x87)](_0x350a1c);const _0x4a33f9=new _0x3d4017(_0x2a9ccd);_0x4a33f9[_0x4272fd(0xb3)]({'tag':'a','attributes':{'class':[_0x4272fd(0xad)],'href':_0x1cf3d8[_0x4272fd(0xbb)]},'children':[{'text':new URL(_0x1cf3d8[_0x4272fd(0xbb)])?.[_0x4272fd(0x92)]}]}),_0x38895d[_0x4272fd(0x87)](_0x4a33f9);const _0x1e33f8=new _0x3d4017(_0x2a9ccd);_0x1e33f8[_0x4272fd(0xb3)]({'tag':_0x4272fd(0xaa),'attributes':{'class':[_0x4272fd(0xb8)]},'children':_0x38895d});const _0x21d5e1=new _0x3d4017(_0x2a9ccd);return _0x21d5e1[_0x4272fd(0xb3)]({'tag':_0x4272fd(0xbf),'attributes':{'class':[_0x4272fd(0xb8),_0x4272fd(0xb2)]},'children':[{'text':_0x1cf3d8[_0x4272fd(0xb6)][_0x4272fd(0x8c)]>0x190?_0x1cf3d8[_0x4272fd(0xb6)][_0x4272fd(0x9e)](0x0,0x190)+_0x4272fd(0xb1):_0x1cf3d8[_0x4272fd(0xb6)]}]}),_0x189fcc[_0x4272fd(0xb3)]({'tag':_0x4272fd(0xaa),'attributes':{'class':['ck',_0x4272fd(0xa5)]},'children':[_0x1e33f8,_0x21d5e1]}),_0x189fcc;}[_0x34b642(0xac)](){const _0x33c138=_0x34b642;this[_0x33c138(0x80)](),this[_0x33c138(0x97)][_0x33c138(0x8d)]({'target':this[_0x33c138(0x9d)],'positions':[_0x13e942[_0x33c138(0x8e)][_0x33c138(0x9f)],_0x13e942[_0x33c138(0x8e)][_0x33c138(0xc1)],_0x13e942[_0x33c138(0x8e)][_0x33c138(0x8a)]],'limiter':document[_0x33c138(0xc0)](_0x33c138(0xbd))}),this[_0x33c138(0x97)][_0x33c138(0x9c)]();}[_0x34b642(0xb9)](){const _0x44e79f=_0x34b642;this[_0x44e79f(0x97)][_0x44e79f(0xc2)]();}[_0x34b642(0x80)](){const _0x596a97=_0x34b642;this[_0x596a97(0x97)][_0x596a97(0x85)][_0x596a97(0x99)](0x0)?.[_0x596a97(0xb4)](),this[_0x596a97(0x97)][_0x596a97(0x85)][_0x596a97(0x93)]();const _0x40c888=this[_0x596a97(0xa9)](this[_0x596a97(0xba)],this[_0x596a97(0xae)]);this[_0x596a97(0x97)][_0x596a97(0x85)][_0x596a97(0xb7)](_0x40c888);}}
23
+ const _0x2f6d48=_0x3a22;(function(_0x1c4fd4,_0x3b563f){const _0x6696fc=_0x3a22,_0x1fec0c=_0x1c4fd4();while(!![]){try{const _0x413c4c=parseInt(_0x6696fc(0x107))/0x1+parseInt(_0x6696fc(0xd5))/0x2+-parseInt(_0x6696fc(0xce))/0x3*(-parseInt(_0x6696fc(0xf3))/0x4)+parseInt(_0x6696fc(0xd6))/0x5*(parseInt(_0x6696fc(0x108))/0x6)+-parseInt(_0x6696fc(0xcf))/0x7*(parseInt(_0x6696fc(0xd8))/0x8)+parseInt(_0x6696fc(0xcb))/0x9+-parseInt(_0x6696fc(0xe4))/0xa;if(_0x413c4c===_0x3b563f)break;else _0x1fec0c['push'](_0x1fec0c['shift']());}catch(_0x5b8fcb){_0x1fec0c['push'](_0x1fec0c['shift']());}}}(_0x4587,0xbc85e));import{View as _0x3e0b7f,ButtonView as _0x4f7602,IconView as _0x1835a4,BalloonPanelView as _0x847d3b}from'ckeditor5/src/ui.js';function _0x4587(){const _0x110ba8=['ck-ai-web-sources','7925823JfKuKo','createCollection','AI_CHAT_SOURCES_HEADER','2151JmLkvv','21uZjrqS','set','isVisible','span','ck-ai-web-source__tooltip-image','pin','443300PKesxD','5jvogOL','setTemplate','1726288NbamdJ','length','open','hide','show','ck-ai-web-source__tooltip-url','bodyCollection','_hideTooltip','northArrowSouth','ck-hidden','add','_updateTooltipContent','20471260wzdWAa','_showTooltip','balloonPanelView','favicon','_setupBalloonPanel','locale','hostname','addSource','_createTooltipContentView','...','defaultPositions','title','substring','icon','northArrowSouthWest','3560vpckvh','get','children','ck-ai-web-sources__header','.ck-ai-chat','push','northArrowSouthEast','clear','destroy','ck-ai-web-source__tooltip-balloon','div','ck-ai-web-source__tooltip-title','element','_blank','extendTemplate','querySelector','source','ck\x20ck-ai-web-source','content','bindTemplate','510436bqwbvd','7294866RLJNQE','url','img','ck-ai-web-source__image','ck-ai-web-source__tooltip-row','ck-ai-web-source__tooltip'];_0x4587=function(){return _0x110ba8;};return _0x4587();}import{IconWeb as _0x94bf9f}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x357851}from'../../utils/common-translations.js';export class AIWebSourcesView extends _0x3e0b7f{[_0x2f6d48(0xf5)];[_0x2f6d48(0xe6)];[_0x2f6d48(0xde)];constructor(_0x432caf,_0x28d204){const _0x3e5f9a=_0x2f6d48;super(_0x432caf),this[_0x3e5f9a(0xde)]=_0x28d204,this[_0x3e5f9a(0xf5)]=this[_0x3e5f9a(0xcc)](),this[_0x3e5f9a(0xd0)](_0x3e5f9a(0xd1),!0x1),this[_0x3e5f9a(0xd7)]({'tag':_0x3e5f9a(0xfd),'attributes':{'class':['ck',_0x3e5f9a(0xca),this[_0x3e5f9a(0x106)]['if'](_0x3e5f9a(0xd1),_0x3e5f9a(0xe1),_0x2d9f09=>!_0x2d9f09)]},'children':this[_0x3e5f9a(0xf5)]});const _0x19f43d=new _0x3e0b7f(this[_0x3e5f9a(0xe9)]),_0x12a563=new _0x1835a4();_0x12a563[_0x3e5f9a(0x105)]=_0x94bf9f,_0x19f43d[_0x3e5f9a(0xd7)]({'tag':_0x3e5f9a(0xfd),'attributes':{'class':['ck',_0x3e5f9a(0xf6)]},'children':[_0x12a563,{'tag':_0x3e5f9a(0xd2),'children':[{'text':_0x357851(this[_0x3e5f9a(0xe9)],_0x3e5f9a(0xcd))}]}]}),this[_0x3e5f9a(0xf5)][_0x3e5f9a(0xe2)](_0x19f43d),this[_0x3e5f9a(0xe8)](_0x432caf);}[_0x2f6d48(0xeb)](_0x8f4f50){const _0x4af803=_0x2f6d48;this[_0x4af803(0xf5)][_0x4af803(0xe2)](new AIWebSourceView(this[_0x4af803(0xe9)],_0x8f4f50,this[_0x4af803(0xe6)]));}[_0x2f6d48(0xe8)](_0x2ff7db){const _0x408e4f=_0x2f6d48;this[_0x408e4f(0xe6)]=new _0x847d3b(_0x2ff7db),this[_0x408e4f(0xe6)][_0x408e4f(0x101)]({'attributes':{'class':[_0x408e4f(0xfc)]}}),this[_0x408e4f(0xde)][_0x408e4f(0xe2)](this[_0x408e4f(0xe6)]);}}function _0x3a22(_0x490494,_0x5d28f5){const _0x458779=_0x4587();return _0x3a22=function(_0x3a2271,_0x245673){_0x3a2271=_0x3a2271-0xc9;let _0x1c1486=_0x458779[_0x3a2271];return _0x1c1486;},_0x3a22(_0x490494,_0x5d28f5);}export class AIWebSourceView extends _0x4f7602{[_0x2f6d48(0xe6)];[_0x2f6d48(0x103)];constructor(_0x1d8354,_0x3ee8ff,_0x4d8cdd){const _0x26f499=_0x2f6d48;super(_0x1d8354),this[_0x26f499(0x103)]=_0x3ee8ff,this[_0x26f499(0xe6)]=_0x4d8cdd,this[_0x26f499(0xd0)]({'label':_0x3ee8ff[_0x26f499(0xef)],'class':[_0x26f499(0x104)],'withText':!0x0});const _0xc9480e=this[_0x26f499(0x106)];if(this[_0x26f499(0x101)]({'on':{'click':_0xc9480e['to'](()=>{const _0x3e2270=_0x26f499;window[_0x3e2270(0xda)](_0x3ee8ff[_0x3e2270(0x109)],_0x3e2270(0x100));}),'mouseenter':_0xc9480e['to'](()=>{const _0x2d0765=_0x26f499;this[_0x2d0765(0xe5)]();}),'mouseleave':_0xc9480e['to'](()=>{const _0x1db896=_0x26f499;this[_0x1db896(0xdf)]();})}}),_0x3ee8ff[_0x26f499(0xe7)]){const _0x15d75f=new _0x3e0b7f(_0x1d8354);_0x15d75f[_0x26f499(0xd7)]({'tag':_0x26f499(0x10a),'attributes':{'src':_0x3ee8ff[_0x26f499(0xe7)]||_0x94bf9f,'alt':_0x3ee8ff[_0x26f499(0xef)],'class':[_0x26f499(0x10b)]}}),this[_0x26f499(0xf5)][_0x26f499(0xe2)](_0x15d75f);}else this[_0x26f499(0xd0)](_0x26f499(0xf1),_0x94bf9f);}[_0x2f6d48(0xec)](_0x579b0a,_0x3f7071){const _0x3687d1=_0x2f6d48,_0x457ffd=new _0x3e0b7f(_0x579b0a),_0x1187f8=[];let _0x176968;_0x3f7071?.[_0x3687d1(0xe7)]?(_0x176968=new _0x3e0b7f(_0x579b0a),_0x176968[_0x3687d1(0xd7)]({'tag':_0x3687d1(0x10a),'attributes':{'src':_0x3f7071[_0x3687d1(0xe7)],'alt':_0x3f7071[_0x3687d1(0xef)],'class':[_0x3687d1(0xd3)]}})):(_0x176968=new _0x1835a4(),_0x176968[_0x3687d1(0x105)]=_0x94bf9f,_0x176968[_0x3687d1(0x101)]({'attributes':{'alt':_0x3f7071[_0x3687d1(0xef)],'class':[_0x3687d1(0xd3)]}})),_0x1187f8[_0x3687d1(0xf8)](_0x176968);const _0x3f18c6=new _0x3e0b7f(_0x579b0a);_0x3f18c6[_0x3687d1(0xd7)]({'tag':'a','attributes':{'class':[_0x3687d1(0xdd)],'href':_0x3f7071[_0x3687d1(0x109)]},'children':[{'text':new URL(_0x3f7071[_0x3687d1(0x109)])?.[_0x3687d1(0xea)]}]}),_0x1187f8[_0x3687d1(0xf8)](_0x3f18c6);const _0x2e18d8=new _0x3e0b7f(_0x579b0a);_0x2e18d8[_0x3687d1(0xd7)]({'tag':_0x3687d1(0xfd),'attributes':{'class':[_0x3687d1(0x10c)]},'children':_0x1187f8});const _0x432967=new _0x3e0b7f(_0x579b0a);return _0x432967[_0x3687d1(0xd7)]({'tag':_0x3687d1(0xd2),'attributes':{'class':[_0x3687d1(0x10c),_0x3687d1(0xfe)]},'children':[{'text':_0x3f7071[_0x3687d1(0xef)][_0x3687d1(0xd9)]>0x190?_0x3f7071[_0x3687d1(0xef)][_0x3687d1(0xf0)](0x0,0x190)+_0x3687d1(0xed):_0x3f7071[_0x3687d1(0xef)]}]}),_0x457ffd[_0x3687d1(0xd7)]({'tag':_0x3687d1(0xfd),'attributes':{'class':['ck',_0x3687d1(0xc9)]},'children':[_0x2e18d8,_0x432967]}),_0x457ffd;}[_0x2f6d48(0xe5)](){const _0x3d7445=_0x2f6d48;this[_0x3d7445(0xe3)](),this[_0x3d7445(0xe6)][_0x3d7445(0xd4)]({'target':this[_0x3d7445(0xff)],'positions':[_0x847d3b[_0x3d7445(0xee)][_0x3d7445(0xe0)],_0x847d3b[_0x3d7445(0xee)][_0x3d7445(0xf2)],_0x847d3b[_0x3d7445(0xee)][_0x3d7445(0xf9)]],'limiter':document[_0x3d7445(0x102)](_0x3d7445(0xf7))}),this[_0x3d7445(0xe6)][_0x3d7445(0xdc)]();}[_0x2f6d48(0xdf)](){const _0x5d31ff=_0x2f6d48;this[_0x5d31ff(0xe6)][_0x5d31ff(0xdb)]();}[_0x2f6d48(0xe3)](){const _0x53d3ca=_0x2f6d48;this[_0x53d3ca(0xe6)][_0x53d3ca(0x105)][_0x53d3ca(0xf4)](0x0)?.[_0x53d3ca(0xfb)](),this[_0x53d3ca(0xe6)][_0x53d3ca(0x105)][_0x53d3ca(0xfa)]();const _0x326e97=this[_0x53d3ca(0xec)](this[_0x53d3ca(0xe9)],this[_0x53d3ca(0x103)]);this[_0x53d3ca(0xe6)][_0x53d3ca(0x105)][_0x53d3ca(0xe2)](_0x326e97);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5213f6=_0x4e3b;function _0x2216(){const _0x4619f8=['parent','reduce','slice','7VhDSqe','12rpfLRN','createFromPath','4408utKCoy','nextNode','index','createAfter','indexOf','same','423TgqiWR','isEqual','createAt','ai-documentposition-createfrompath-path-cannot-be-empty','end','data','98nQXnKC','913eqUahD','889528HbbjcP','createBefore','2710878wqvxqr','ai-documentposition-index-out-of-bounds','match','getNudgedToWordBoundary','length','path','3gzufIB','start','document','2723nrlOzp','16810NDNfEo','6940973pnzIXS','previousNode','476700ZHQPpz'];_0x2216=function(){return _0x4619f8;};return _0x2216();}(function(_0x2c66ec,_0x187f9f){const _0x5c1050=_0x4e3b,_0x4927be=_0x2c66ec();while(!![]){try{const _0x570c87=-parseInt(_0x5c1050(0x1a9))/0x1*(parseInt(_0x5c1050(0x1c0))/0x2)+-parseInt(_0x5c1050(0x1a6))/0x3*(parseInt(_0x5c1050(0x1c2))/0x4)+-parseInt(_0x5c1050(0x1ad))/0x5+-parseInt(_0x5c1050(0x1c4))/0x6*(-parseInt(_0x5c1050(0x1b1))/0x7)+-parseInt(_0x5c1050(0x1b4))/0x8*(parseInt(_0x5c1050(0x1ba))/0x9)+-parseInt(_0x5c1050(0x1aa))/0xa*(parseInt(_0x5c1050(0x1c1))/0xb)+parseInt(_0x5c1050(0x1b2))/0xc*(parseInt(_0x5c1050(0x1ab))/0xd);if(_0x570c87===_0x187f9f)break;else _0x4927be['push'](_0x4927be['shift']());}catch(_0x5b4d69){_0x4927be['push'](_0x4927be['shift']());}}}(_0x2216,0x5a20d));function _0x4e3b(_0x2f304a,_0x3ae659){const _0x2216fa=_0x2216();return _0x4e3b=function(_0x4e3b6f,_0x14f50b){_0x4e3b6f=_0x4e3b6f-0x1a2;let _0x267758=_0x2216fa[_0x4e3b6f];return _0x267758;},_0x4e3b(_0x2f304a,_0x3ae659);}import{CKEditorError as _0xc5dba0,compareArrays as _0x425980}from'ckeditor5/src/utils.js';import{getNodePath as _0x6a773b,isText as _0xae5587,getChildren as _0x4f8434,isDocument as _0x19d9b8,getParent as _0x26ffee,textContent as _0x1bf446,hasChildren as _0x3c0bac}from'./htmlparser.js';export class DocumentPosition{[_0x5213f6(0x1ae)];[_0x5213f6(0x1b6)];[_0x5213f6(0x1a8)];constructor(_0x194d0e,_0x24c6d5,_0xf335a6){const _0x2ad0ca=_0x5213f6;if(_0xae5587(_0x24c6d5)&&_0xf335a6>_0x24c6d5[_0x2ad0ca(0x1bf)][_0x2ad0ca(0x1a4)])throw new _0xc5dba0(_0x2ad0ca(0x1c5),null,{'index':_0xf335a6,'parent':_0x24c6d5});if(_0x3c0bac(_0x24c6d5)&&_0xf335a6>_0x4f8434(_0x24c6d5)[_0x2ad0ca(0x1a4)])throw new _0xc5dba0(_0x2ad0ca(0x1c5),null,{'index':_0xf335a6,'parent':_0x24c6d5});if(_0xf335a6<0x0)throw new _0xc5dba0(_0x2ad0ca(0x1c5),null,{'index':_0xf335a6,'parent':_0x24c6d5});this[_0x2ad0ca(0x1ae)]=_0x24c6d5,this[_0x2ad0ca(0x1b6)]=_0xf335a6,this[_0x2ad0ca(0x1a8)]=_0x194d0e;}get[_0x5213f6(0x1a5)](){const _0x2d71ef=_0x5213f6;return[..._0x6a773b(this[_0x2d71ef(0x1ae)]),this[_0x2d71ef(0x1b6)]];}[_0x5213f6(0x1bb)](_0x83fd38){const _0x166ecf=_0x5213f6;return this[_0x166ecf(0x1a8)]==_0x83fd38[_0x166ecf(0x1a8)]&&_0x166ecf(0x1b9)===_0x425980(this[_0x166ecf(0x1a5)],_0x83fd38[_0x166ecf(0x1a5)]);}get[_0x5213f6(0x1b5)](){const _0x208b71=_0x5213f6;if(_0x3c0bac(this[_0x208b71(0x1ae)])){const _0x49c171=_0x4f8434(this[_0x208b71(0x1ae)])[this[_0x208b71(0x1b6)]];if(_0x49c171)return _0x49c171;{const _0x3e0902=DocumentPosition[_0x208b71(0x1b7)](this[_0x208b71(0x1a8)],this[_0x208b71(0x1ae)]);if(_0x3e0902)return _0x3e0902[_0x208b71(0x1b5)];}}return null;}get[_0x5213f6(0x1ac)](){const _0x4ad071=_0x5213f6;if(_0x3c0bac(this[_0x4ad071(0x1ae)])){const _0x5d1084=_0x4f8434(this[_0x4ad071(0x1ae)])[this[_0x4ad071(0x1b6)]-0x1];if(_0x5d1084)return _0x5d1084;{const _0xfd33a4=DocumentPosition[_0x4ad071(0x1c3)](this[_0x4ad071(0x1a8)],this[_0x4ad071(0x1ae)]);if(_0xfd33a4)return _0xfd33a4[_0x4ad071(0x1ac)];}}return null;}[_0x5213f6(0x1a3)](_0x1e1b9b=_0x5213f6(0x1a7)){const _0x41f103=_0x5213f6;if(!_0xae5587(this[_0x41f103(0x1ae)]))return this;const _0x5b8ea8=this[_0x41f103(0x1a5)][this[_0x41f103(0x1a5)][_0x41f103(0x1a4)]-0x1],_0x1ec43a=_0x1bf446(this[_0x41f103(0x1ae)])[_0x41f103(0x1a2)](/(?:\s*\S+\s*)/g);let _0x302ed3=0x0,_0x48789a=_0x5b8ea8;for(const _0x4220c5 of _0x1ec43a){if(_0x302ed3+_0x4220c5[_0x41f103(0x1a4)]===_0x5b8ea8)return this;if(_0x302ed3+_0x4220c5[_0x41f103(0x1a4)]>_0x5b8ea8){_0x48789a=_0x41f103(0x1a7)===_0x1e1b9b?_0x302ed3:_0x302ed3+_0x4220c5[_0x41f103(0x1a4)];break;}_0x302ed3+=_0x4220c5[_0x41f103(0x1a4)];}return DocumentPosition[_0x41f103(0x1bc)](this[_0x41f103(0x1a8)],this[_0x41f103(0x1ae)],_0x48789a);}static[_0x5213f6(0x1b7)](_0x9ecdf0,_0x2679dd){const _0x4e663f=_0x5213f6;if(_0x19d9b8(_0x2679dd))return null;const _0x496bed=_0x26ffee(_0x2679dd);return DocumentPosition[_0x4e663f(0x1bc)](_0x9ecdf0,_0x496bed,_0x4f8434(_0x496bed)[_0x4e663f(0x1b8)](_0x2679dd)+0x1);}static[_0x5213f6(0x1c3)](_0x5eca31,_0x37c10e){const _0x411aea=_0x5213f6;if(_0x19d9b8(_0x37c10e))return null;const _0xe6670a=_0x26ffee(_0x37c10e);return DocumentPosition[_0x411aea(0x1bc)](_0x5eca31,_0xe6670a,_0x4f8434(_0xe6670a)[_0x411aea(0x1b8)](_0x37c10e));}static[_0x5213f6(0x1bc)](_0x5d2754,_0x2ceb50,_0x21db0b=_0x5213f6(0x1a7)){const _0x36b3db=_0x5213f6;return new DocumentPosition(_0x5d2754,_0x2ceb50,_0x36b3db(0x1a7)===_0x21db0b?0x0:_0x36b3db(0x1be)===_0x21db0b?_0xae5587(_0x2ceb50)?_0x2ceb50[_0x36b3db(0x1bf)][_0x36b3db(0x1a4)]:_0x4f8434(_0x2ceb50)[_0x36b3db(0x1a4)]:_0x21db0b);}static[_0x5213f6(0x1b3)](_0x2d0415,_0x2026f3){const _0x19e1ce=_0x5213f6;if(!_0x2026f3[_0x19e1ce(0x1a4)])throw new _0xc5dba0(_0x19e1ce(0x1bd),null,{'path':_0x2026f3});const _0x345fec=_0x2026f3[_0x19e1ce(0x1b0)](0x0,-0x1)[_0x19e1ce(0x1af)]((_0x481e90,_0x51b01f)=>_0xae5587(_0x481e90)?_0x481e90:_0x4f8434(_0x481e90)[_0x51b01f],_0x2d0415);return DocumentPosition[_0x19e1ce(0x1bc)](_0x2d0415,_0x345fec,_0x2026f3[_0x2026f3[_0x19e1ce(0x1a4)]-0x1]);}}
23
+ const _0x509626=_0x41a2;(function(_0x3f6c58,_0x3d843f){const _0x9d03e9=_0x41a2,_0x316b4b=_0x3f6c58();while(!![]){try{const _0x4ee5f9=parseInt(_0x9d03e9(0x201))/0x1*(-parseInt(_0x9d03e9(0x202))/0x2)+-parseInt(_0x9d03e9(0x1e7))/0x3*(parseInt(_0x9d03e9(0x1ee))/0x4)+-parseInt(_0x9d03e9(0x1f3))/0x5+-parseInt(_0x9d03e9(0x1fd))/0x6+parseInt(_0x9d03e9(0x1e8))/0x7*(parseInt(_0x9d03e9(0x203))/0x8)+parseInt(_0x9d03e9(0x1f0))/0x9+-parseInt(_0x9d03e9(0x1f8))/0xa*(-parseInt(_0x9d03e9(0x1fb))/0xb);if(_0x4ee5f9===_0x3d843f)break;else _0x316b4b['push'](_0x316b4b['shift']());}catch(_0x5c6921){_0x316b4b['push'](_0x316b4b['shift']());}}}(_0x4579,0x90a3d));function _0x41a2(_0x4483a8,_0x2c6399){const _0x457932=_0x4579();return _0x41a2=function(_0x41a225,_0x3a4d8c){_0x41a225=_0x41a225-0x1e6;let _0x211308=_0x457932[_0x41a225];return _0x211308;},_0x41a2(_0x4483a8,_0x2c6399);}import{CKEditorError as _0x33f881,compareArrays as _0x1d86b6}from'ckeditor5/src/utils.js';import{getNodePath as _0x4b5aac,isText as _0x489da7,getChildren as _0x15a75f,isDocument as _0x39bc87,getParent as _0x306d31,textContent as _0x528a0e,hasChildren as _0x25ac58}from'./htmlparser.js';export class DocumentPosition{[_0x509626(0x1e6)];[_0x509626(0x1f2)];[_0x509626(0x1ff)];constructor(_0x12e097,_0x349e0d,_0x1c8a57){const _0xbf4f30=_0x509626;if(_0x489da7(_0x349e0d)&&_0x1c8a57>_0x349e0d[_0xbf4f30(0x1f1)][_0xbf4f30(0x1ea)])throw new _0x33f881(_0xbf4f30(0x1fe),null,{'index':_0x1c8a57,'parent':_0x349e0d});if(_0x25ac58(_0x349e0d)&&_0x1c8a57>_0x15a75f(_0x349e0d)[_0xbf4f30(0x1ea)])throw new _0x33f881(_0xbf4f30(0x1fe),null,{'index':_0x1c8a57,'parent':_0x349e0d});if(_0x1c8a57<0x0)throw new _0x33f881(_0xbf4f30(0x1fe),null,{'index':_0x1c8a57,'parent':_0x349e0d});this[_0xbf4f30(0x1e6)]=_0x349e0d,this[_0xbf4f30(0x1f2)]=_0x1c8a57,this[_0xbf4f30(0x1ff)]=_0x12e097;}get[_0x509626(0x1f6)](){const _0x45750b=_0x509626;return[..._0x4b5aac(this[_0x45750b(0x1e6)]),this[_0x45750b(0x1f2)]];}[_0x509626(0x1f4)](_0x211f68){const _0x310fc7=_0x509626;return this[_0x310fc7(0x1ff)]==_0x211f68[_0x310fc7(0x1ff)]&&_0x310fc7(0x1f7)===_0x1d86b6(this[_0x310fc7(0x1f6)],_0x211f68[_0x310fc7(0x1f6)]);}get[_0x509626(0x1e9)](){const _0x490a91=_0x509626;if(_0x25ac58(this[_0x490a91(0x1e6)])){const _0x4b4cb9=_0x15a75f(this[_0x490a91(0x1e6)])[this[_0x490a91(0x1f2)]];if(_0x4b4cb9)return _0x4b4cb9;{const _0x348a2e=DocumentPosition[_0x490a91(0x205)](this[_0x490a91(0x1ff)],this[_0x490a91(0x1e6)]);if(_0x348a2e)return _0x348a2e[_0x490a91(0x1e9)];}}return null;}get[_0x509626(0x206)](){const _0x350018=_0x509626;if(_0x25ac58(this[_0x350018(0x1e6)])){const _0x49b102=_0x15a75f(this[_0x350018(0x1e6)])[this[_0x350018(0x1f2)]-0x1];if(_0x49b102)return _0x49b102;{const _0x18378e=DocumentPosition[_0x350018(0x1fc)](this[_0x350018(0x1ff)],this[_0x350018(0x1e6)]);if(_0x18378e)return _0x18378e[_0x350018(0x206)];}}return null;}[_0x509626(0x204)](_0x337193=_0x509626(0x1f5)){const _0x58b10b=_0x509626;if(!_0x489da7(this[_0x58b10b(0x1e6)]))return this;const _0x55d551=this[_0x58b10b(0x1f6)][this[_0x58b10b(0x1f6)][_0x58b10b(0x1ea)]-0x1],_0x55e1b7=_0x528a0e(this[_0x58b10b(0x1e6)])[_0x58b10b(0x207)](/(?:\s*\S+\s*)/g);let _0x528c04=0x0,_0x157870=_0x55d551;for(const _0x1d115e of _0x55e1b7){if(_0x528c04+_0x1d115e[_0x58b10b(0x1ea)]===_0x55d551)return this;if(_0x528c04+_0x1d115e[_0x58b10b(0x1ea)]>_0x55d551){_0x157870=_0x58b10b(0x1f5)===_0x337193?_0x528c04:_0x528c04+_0x1d115e[_0x58b10b(0x1ea)];break;}_0x528c04+=_0x1d115e[_0x58b10b(0x1ea)];}return DocumentPosition[_0x58b10b(0x1f9)](this[_0x58b10b(0x1ff)],this[_0x58b10b(0x1e6)],_0x157870);}static[_0x509626(0x205)](_0x458b5e,_0x4b2a98){const _0x187e9d=_0x509626;if(_0x39bc87(_0x4b2a98))return null;const _0x4e5619=_0x306d31(_0x4b2a98);return DocumentPosition[_0x187e9d(0x1f9)](_0x458b5e,_0x4e5619,_0x15a75f(_0x4e5619)[_0x187e9d(0x1ef)](_0x4b2a98)+0x1);}static[_0x509626(0x1fc)](_0x593e78,_0x10b663){const _0x51a163=_0x509626;if(_0x39bc87(_0x10b663))return null;const _0x366774=_0x306d31(_0x10b663);return DocumentPosition[_0x51a163(0x1f9)](_0x593e78,_0x366774,_0x15a75f(_0x366774)[_0x51a163(0x1ef)](_0x10b663));}static[_0x509626(0x1f9)](_0x4e4aa7,_0x33577c,_0x125d4c=_0x509626(0x1f5)){const _0xcd11e=_0x509626;return new DocumentPosition(_0x4e4aa7,_0x33577c,_0xcd11e(0x1f5)===_0x125d4c?0x0:_0xcd11e(0x1fa)===_0x125d4c?_0x489da7(_0x33577c)?_0x33577c[_0xcd11e(0x1f1)][_0xcd11e(0x1ea)]:_0x15a75f(_0x33577c)[_0xcd11e(0x1ea)]:_0x125d4c);}static[_0x509626(0x1eb)](_0x3a214a,_0x55d87f){const _0xc8c51f=_0x509626;if(!_0x55d87f[_0xc8c51f(0x1ea)])throw new _0x33f881(_0xc8c51f(0x1ed),null,{'path':_0x55d87f});const _0x1abca6=_0x55d87f[_0xc8c51f(0x200)](0x0,-0x1)[_0xc8c51f(0x1ec)]((_0x292cb0,_0x21d1de)=>_0x489da7(_0x292cb0)?_0x292cb0:_0x15a75f(_0x292cb0)[_0x21d1de],_0x3a214a);return DocumentPosition[_0xc8c51f(0x1f9)](_0x3a214a,_0x1abca6,_0x55d87f[_0x55d87f[_0xc8c51f(0x1ea)]-0x1]);}}function _0x4579(){const _0xbdf934=['start','path','same','160930sAMoRE','createAt','end','946HQdVUB','createBefore','1209720IzdbuR','ai-documentposition-index-out-of-bounds','document','slice','1kEmrUf','1225260aCyywZ','6705960izwPOl','getNudgedToWordBoundary','createAfter','previousNode','match','parent','1532814ZOZirJ','7PVlHzC','nextNode','length','createFromPath','reduce','ai-documentposition-createfrompath-path-cannot-be-empty','4woyEay','indexOf','901656tGxRvy','data','index','2023970NCpMJy','isEqual'];_0x4579=function(){return _0xbdf934;};return _0x4579();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x268483=_0x1bf7;(function(_0x571b92,_0x41484f){const _0x248de5=_0x1bf7,_0x3cace5=_0x571b92();while(!![]){try{const _0xaa3144=-parseInt(_0x248de5(0x17a))/0x1*(-parseInt(_0x248de5(0x178))/0x2)+-parseInt(_0x248de5(0x181))/0x3+parseInt(_0x248de5(0x16d))/0x4*(-parseInt(_0x248de5(0x18a))/0x5)+parseInt(_0x248de5(0x17e))/0x6*(-parseInt(_0x248de5(0x188))/0x7)+-parseInt(_0x248de5(0x17f))/0x8+-parseInt(_0x248de5(0x185))/0x9*(parseInt(_0x248de5(0x180))/0xa)+parseInt(_0x248de5(0x176))/0xb;if(_0xaa3144===_0x41484f)break;else _0x3cace5['push'](_0x3cace5['shift']());}catch(_0x1c92b2){_0x3cace5['push'](_0x3cace5['shift']());}}}(_0x485f,0xc7ab5));import{DocumentPosition as _0x3c1279}from'./documentposition.js';function _0x485f(){const _0x23b5a3=['createBefore','length','document','4ihhGnm','createAfter','getNudgedToWordBoundary','push','forEach','path','getContent','createAt','previousNode','82882393jvgrzg','parent','6406tNlVyu','firstChild','50ABoLDe','start','createFromPath','slice','4284YbOMEj','12259208rCTYxw','28580kGjuvZ','4887999LQpBIy','data','end','nextNode','2790IHfkMF','reverse','lastChild','11725HrQCxN','isEqual','8167020bBlHJS','includes'];_0x485f=function(){return _0x23b5a3;};return _0x485f();}import{clone as _0x38f4ba,getParents as _0x5d37d0,Document as _0xdbb8a4,Text as _0x2b245c,isTag as _0x1e3cb5,isText as _0x5be09e,replaceElement as _0x1f7ef6,removeElement as _0x436195}from'./htmlparser.js';function _0x1bf7(_0x19422c,_0x44a34f){const _0x485f41=_0x485f();return _0x1bf7=function(_0x1bf77d,_0x4e1375){_0x1bf77d=_0x1bf77d-0x16a;let _0x1d0b4e=_0x485f41[_0x1bf77d];return _0x1d0b4e;},_0x1bf7(_0x19422c,_0x44a34f);}export class DocumentRange{[_0x268483(0x17b)];[_0x268483(0x183)];constructor(_0x48e537,_0xea03cd){const _0x9863d7=_0x268483;this[_0x9863d7(0x17b)]=_0x48e537,this[_0x9863d7(0x183)]=_0xea03cd;}[_0x268483(0x189)](_0x5e7fe3){const _0x361c15=_0x268483;return this==_0x5e7fe3||this[_0x361c15(0x17b)][_0x361c15(0x189)](_0x5e7fe3[_0x361c15(0x17b)])&&this[_0x361c15(0x183)][_0x361c15(0x189)](_0x5e7fe3[_0x361c15(0x183)]);}[_0x268483(0x16f)](){const _0x4b5248=_0x268483;return new DocumentRange(this[_0x4b5248(0x17b)][_0x4b5248(0x16f)](_0x4b5248(0x17b)),this[_0x4b5248(0x183)][_0x4b5248(0x16f)](_0x4b5248(0x183)));}[_0x268483(0x173)](){const _0x4978e5=_0x268483,_0x6e1601=_0x38f4ba(this[_0x4978e5(0x17b)][_0x4978e5(0x16c)]),_0x2ac5cb=_0x3c1279[_0x4978e5(0x17c)](_0x6e1601,this[_0x4978e5(0x17b)][_0x4978e5(0x172)]),_0x5b6ae9=_0x3c1279[_0x4978e5(0x17c)](_0x6e1601,this[_0x4978e5(0x183)][_0x4978e5(0x172)]);let _0x55c130,_0x2f5e04;if(_0x5be09e(_0x2ac5cb[_0x4978e5(0x177)])){const _0x3cc652=_0x2ac5cb[_0x4978e5(0x172)][_0x2ac5cb[_0x4978e5(0x172)][_0x4978e5(0x16b)]-0x1],_0xcaeb8=new _0x2b245c(_0x2ac5cb[_0x4978e5(0x177)][_0x4978e5(0x182)][_0x4978e5(0x17d)](_0x3cc652));_0x1f7ef6(_0x2ac5cb[_0x4978e5(0x177)],_0xcaeb8),_0x55c130=_0xcaeb8;}else _0x55c130=_0x2ac5cb[_0x4978e5(0x184)];if(_0x5be09e(_0x5b6ae9[_0x4978e5(0x177)])){const _0x50bf7a=_0x5b6ae9[_0x4978e5(0x172)][_0x5b6ae9[_0x4978e5(0x172)][_0x4978e5(0x16b)]-0x1],_0x11e6c7=new _0x2b245c(_0x5b6ae9[_0x4978e5(0x177)][_0x4978e5(0x182)][_0x4978e5(0x17d)](0x0,_0x50bf7a));_0x1f7ef6(_0x5b6ae9[_0x4978e5(0x177)],_0x11e6c7),_0x2f5e04=_0x11e6c7;}else _0x2f5e04=_0x5b6ae9[_0x4978e5(0x175)];if(!(_0x55c130&&_0x2f5e04&&_0x6e1601[_0x4978e5(0x179)]&&_0x6e1601[_0x4978e5(0x187)]))return new _0xdbb8a4([]);const _0x9cd5bd=_0x5d37d0(_0x55c130),_0x17e16d=_0x5d37d0(_0x2f5e04),_0x1f74d6=[],_0x144909=[];let _0x386ab2=_0x6e1601[_0x4978e5(0x179)];for(;_0x386ab2&&_0x386ab2!==_0x55c130;){let _0x56fc06;_0x9cd5bd[_0x4978e5(0x18b)](_0x386ab2)||_0x1f74d6[_0x4978e5(0x170)](_0x386ab2),_0x56fc06=_0x1e3cb5(_0x386ab2)?_0x3c1279[_0x4978e5(0x174)](_0x6e1601,_0x386ab2,_0x4978e5(0x17b)):_0x3c1279[_0x4978e5(0x16e)](_0x6e1601,_0x386ab2),_0x386ab2=_0x56fc06?_0x56fc06[_0x4978e5(0x184)]:null;}for(_0x386ab2=_0x6e1601[_0x4978e5(0x187)];_0x386ab2&&_0x386ab2!==_0x2f5e04;){let _0x46524f;_0x17e16d[_0x4978e5(0x18b)](_0x386ab2)||_0x144909[_0x4978e5(0x170)](_0x386ab2),_0x46524f=_0x1e3cb5(_0x386ab2)?_0x3c1279[_0x4978e5(0x174)](_0x6e1601,_0x386ab2,_0x4978e5(0x183)):_0x3c1279[_0x4978e5(0x16a)](_0x6e1601,_0x386ab2),_0x386ab2=_0x46524f?_0x46524f[_0x4978e5(0x175)]:null;}return _0x1f74d6[_0x4978e5(0x171)](_0x32c78b=>{_0x436195(_0x32c78b);}),_0x144909[_0x4978e5(0x186)]()[_0x4978e5(0x171)](_0x5c3cb9=>{_0x436195(_0x5c3cb9);}),_0x6e1601;}}
23
+ const _0x3ef2d2=_0x8c39;function _0x8c39(_0x41f825,_0x146893){const _0x2a3a11=_0x2a3a();return _0x8c39=function(_0x8c3937,_0x51b0db){_0x8c3937=_0x8c3937-0x1e6;let _0x4a5b9b=_0x2a3a11[_0x8c3937];return _0x4a5b9b;},_0x8c39(_0x41f825,_0x146893);}(function(_0x166c38,_0x4680ef){const _0x44c7c6=_0x8c39,_0x34ed23=_0x166c38();while(!![]){try{const _0x464a24=parseInt(_0x44c7c6(0x1f6))/0x1*(-parseInt(_0x44c7c6(0x1fa))/0x2)+-parseInt(_0x44c7c6(0x1ff))/0x3*(parseInt(_0x44c7c6(0x1f1))/0x4)+-parseInt(_0x44c7c6(0x203))/0x5*(parseInt(_0x44c7c6(0x1fb))/0x6)+-parseInt(_0x44c7c6(0x200))/0x7+-parseInt(_0x44c7c6(0x201))/0x8+parseInt(_0x44c7c6(0x1ed))/0x9+parseInt(_0x44c7c6(0x1e7))/0xa*(parseInt(_0x44c7c6(0x206))/0xb);if(_0x464a24===_0x4680ef)break;else _0x34ed23['push'](_0x34ed23['shift']());}catch(_0x401c18){_0x34ed23['push'](_0x34ed23['shift']());}}}(_0x2a3a,0x360ef));import{DocumentPosition as _0x1bcbf6}from'./documentposition.js';import{clone as _0x5a53df,getParents as _0x5aaf7f,Document as _0x4ba51f,Text as _0x2e32f1,isTag as _0x1a635a,isText as _0x1ac45a,replaceElement as _0x2fffaa,removeElement as _0x443df1}from'./htmlparser.js';export class DocumentRange{[_0x3ef2d2(0x1fe)];[_0x3ef2d2(0x1fd)];constructor(_0x5d7ef6,_0x528643){const _0x110d1a=_0x3ef2d2;this[_0x110d1a(0x1fe)]=_0x5d7ef6,this[_0x110d1a(0x1fd)]=_0x528643;}[_0x3ef2d2(0x202)](_0x2f9c55){const _0x41d41e=_0x3ef2d2;return this==_0x2f9c55||this[_0x41d41e(0x1fe)][_0x41d41e(0x202)](_0x2f9c55[_0x41d41e(0x1fe)])&&this[_0x41d41e(0x1fd)][_0x41d41e(0x202)](_0x2f9c55[_0x41d41e(0x1fd)]);}[_0x3ef2d2(0x205)](){const _0x50c211=_0x3ef2d2;return new DocumentRange(this[_0x50c211(0x1fe)][_0x50c211(0x205)](_0x50c211(0x1fe)),this[_0x50c211(0x1fd)][_0x50c211(0x205)](_0x50c211(0x1fd)));}[_0x3ef2d2(0x207)](){const _0x193e38=_0x3ef2d2,_0xf2fe66=_0x5a53df(this[_0x193e38(0x1fe)][_0x193e38(0x1fc)]),_0x2fd8da=_0x1bcbf6[_0x193e38(0x1e9)](_0xf2fe66,this[_0x193e38(0x1fe)][_0x193e38(0x1f3)]),_0x216b88=_0x1bcbf6[_0x193e38(0x1e9)](_0xf2fe66,this[_0x193e38(0x1fd)][_0x193e38(0x1f3)]);let _0x1e1000,_0x3c7e29;if(_0x1ac45a(_0x2fd8da[_0x193e38(0x1f9)])){const _0xbec130=_0x2fd8da[_0x193e38(0x1f3)][_0x2fd8da[_0x193e38(0x1f3)][_0x193e38(0x1eb)]-0x1],_0x348062=new _0x2e32f1(_0x2fd8da[_0x193e38(0x1f9)][_0x193e38(0x1f0)][_0x193e38(0x204)](_0xbec130));_0x2fffaa(_0x2fd8da[_0x193e38(0x1f9)],_0x348062),_0x1e1000=_0x348062;}else _0x1e1000=_0x2fd8da[_0x193e38(0x1ea)];if(_0x1ac45a(_0x216b88[_0x193e38(0x1f9)])){const _0x5cfe26=_0x216b88[_0x193e38(0x1f3)][_0x216b88[_0x193e38(0x1f3)][_0x193e38(0x1eb)]-0x1],_0x488655=new _0x2e32f1(_0x216b88[_0x193e38(0x1f9)][_0x193e38(0x1f0)][_0x193e38(0x204)](0x0,_0x5cfe26));_0x2fffaa(_0x216b88[_0x193e38(0x1f9)],_0x488655),_0x3c7e29=_0x488655;}else _0x3c7e29=_0x216b88[_0x193e38(0x1f2)];if(!(_0x1e1000&&_0x3c7e29&&_0xf2fe66[_0x193e38(0x1e6)]&&_0xf2fe66[_0x193e38(0x1f7)]))return new _0x4ba51f([]);const _0x1c767a=_0x5aaf7f(_0x1e1000),_0x119ed9=_0x5aaf7f(_0x3c7e29),_0x5d2b9b=[],_0x28c6ac=[];let _0x7a3879=_0xf2fe66[_0x193e38(0x1e6)];for(;_0x7a3879&&_0x7a3879!==_0x1e1000;){let _0x4a843c;_0x1c767a[_0x193e38(0x1ee)](_0x7a3879)||_0x5d2b9b[_0x193e38(0x1e8)](_0x7a3879),_0x4a843c=_0x1a635a(_0x7a3879)?_0x1bcbf6[_0x193e38(0x1ec)](_0xf2fe66,_0x7a3879,_0x193e38(0x1fe)):_0x1bcbf6[_0x193e38(0x1f8)](_0xf2fe66,_0x7a3879),_0x7a3879=_0x4a843c?_0x4a843c[_0x193e38(0x1ea)]:null;}for(_0x7a3879=_0xf2fe66[_0x193e38(0x1f7)];_0x7a3879&&_0x7a3879!==_0x3c7e29;){let _0x2fd78d;_0x119ed9[_0x193e38(0x1ee)](_0x7a3879)||_0x28c6ac[_0x193e38(0x1e8)](_0x7a3879),_0x2fd78d=_0x1a635a(_0x7a3879)?_0x1bcbf6[_0x193e38(0x1ec)](_0xf2fe66,_0x7a3879,_0x193e38(0x1fd)):_0x1bcbf6[_0x193e38(0x1f5)](_0xf2fe66,_0x7a3879),_0x7a3879=_0x2fd78d?_0x2fd78d[_0x193e38(0x1f2)]:null;}return _0x5d2b9b[_0x193e38(0x1ef)](_0x314f27=>{_0x443df1(_0x314f27);}),_0x28c6ac[_0x193e38(0x1f4)]()[_0x193e38(0x1ef)](_0x21b88a=>{_0x443df1(_0x21b88a);}),_0xf2fe66;}}function _0x2a3a(){const _0x22ecb9=['createAfter','parent','474xzcRjT','6uqKFoK','document','end','start','39cpXVJS','462966JLZjEt','2876592IGwHKs','isEqual','308525xRIjpG','slice','getNudgedToWordBoundary','22yqZToo','getContent','firstChild','4295890HdOoCZ','push','createFromPath','nextNode','length','createAt','2208645SqRqLK','includes','forEach','data','69700ZPYjPw','previousNode','path','reverse','createBefore','714nhlPsh','lastChild'];_0x2a3a=function(){return _0x22ecb9;};return _0x2a3a();}