@ckeditor/ckeditor5-ai 47.4.0-alpha.2 → 47.4.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) 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/model/aiactionsreply.js +1 -1
  5. package/src/aiassistant/aiassistantediting.js +1 -1
  6. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  7. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  8. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  9. package/src/aiassistant/ui/form/aiformview.js +1 -1
  10. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  11. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  12. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  13. package/src/aichat/aichat.js +1 -1
  14. package/src/aichat/aichatcontroller.js +1 -1
  15. package/src/aichat/aichatui.js +1 -1
  16. package/src/aichat/model/aichatcontext.js +1 -1
  17. package/src/aichat/model/aichatconversation.js +1 -1
  18. package/src/aichat/model/aichatinteraction.js +1 -1
  19. package/src/aichat/ui/aichatfeedview.js +1 -1
  20. package/src/aichat/ui/aichatheaderview.js +1 -1
  21. package/src/aichat/ui/aichatview.js +1 -1
  22. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  23. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  24. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  25. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  26. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  27. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  28. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  29. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  30. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  31. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  32. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  33. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  34. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  35. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  36. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  37. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  38. package/src/aichathistory/aichathistory.js +1 -1
  39. package/src/aichathistory/aichathistorycontroller.js +1 -1
  40. package/src/aichathistory/aichathistoryui.js +1 -1
  41. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  42. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  43. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  44. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  45. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  46. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  47. package/src/aicore/aiediting.js +1 -1
  48. package/src/aicore/model/aiinteraction.js +1 -1
  49. package/src/aicore/model/aimodels.js +1 -1
  50. package/src/aicore/model/aireply.js +1 -1
  51. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  52. package/src/aicore/pipeline/airesponseparser.js +2 -2
  53. package/src/aicore/ui/aispinner.js +1 -1
  54. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  55. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  56. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  57. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  58. package/src/aicore/utils/documentposition.js +1 -1
  59. package/src/aicore/utils/documentrange.js +1 -1
  60. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  61. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  62. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  63. package/src/aicore/utils/htmlparser.js +1 -1
  64. package/src/aicore/utils/htmlstreamer.js +1 -1
  65. package/src/aicore/utils/scrollmanager.js +1 -1
  66. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  67. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  68. package/src/aiquickactions/aiquickactionsui.js +1 -1
  69. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  70. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  71. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  72. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  73. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  74. package/src/aireviewmode/aireviewmodeui.js +1 -1
  75. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  76. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  77. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  78. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  79. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  80. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  81. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  82. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  83. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  84. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  85. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  86. package/src/aitabs/aitabs.js +1 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x53aa(_0x2274d2,_0x422aa0){const _0x3f8a92=_0x3f8a();return _0x53aa=function(_0x53aab3,_0x11fbfb){_0x53aab3=_0x53aab3-0xd1;let _0x3fc47f=_0x3f8a92[_0x53aab3];return _0x3fc47f;},_0x53aa(_0x2274d2,_0x422aa0);}function _0x3f8a(){const _0x586948=['12SUmNjv','7829000uyMcAN','previousSibling','data-unstable','8450071XxewfB','_markWrappedElements','data-removed','_existingDataIds','_generateUid','4429707oKzKYP','length','markUnstableElements','childNodes','_getNodeDataId','_markLastTagElementUnstable','new-element','includes','markUnstableElementsDepth','_isDelNode','_findNextElementWithDataId','_getUid','lastTouchedId','nodeType','3956900SoiFVm','has','_findFallbackReferenceNode','_isExistingContentComment','_touchedNodesState','replaceRemovedWith','merge','forEach','parentNode','reverse','trim','map','splice','74138RMRetE','newIds','slice','_isNewNode','removedIds','_insertNodes','_findPrevElementWithDataId','697380RzUUnw','afterbegin','_markUnstableElements','push','filter','_storeDeletedElementIds','27144225ejaFbX','cloneNode','cutAfterLastChange','afterend','true','19SMaYHk','_findReferenceNode','_removeSpecialComments','_hasWrappedParent','_replaceNode','indexOf','invalidIds','lastChild','modifiedIds','data-wrapped-id','nextSibling','from','data-id','_isExistingNode','match','beforebegin'];_0x3f8a=function(){return _0x586948;};return _0x3f8a();}const _0xa22a5b=_0x53aa;(function(_0x3eb6d4,_0x16e4b1){const _0x5bd760=_0x53aa,_0x43449e=_0x3eb6d4();while(!![]){try{const _0xb1a8ea=parseInt(_0x5bd760(0x10f))/0x1*(parseInt(_0x5bd760(0xfd))/0x2)+-parseInt(_0x5bd760(0xe2))/0x3+-parseInt(_0x5bd760(0xf0))/0x4+-parseInt(_0x5bd760(0x104))/0x5*(parseInt(_0x5bd760(0xd9))/0x6)+-parseInt(_0x5bd760(0xdd))/0x7+parseInt(_0x5bd760(0xda))/0x8+parseInt(_0x5bd760(0x10a))/0x9;if(_0xb1a8ea===_0x16e4b1)break;else _0x43449e['push'](_0x43449e['shift']());}catch(_0x52d12f){_0x43449e['push'](_0x43449e['shift']());}}}(_0x3f8a,0xb6636));import{ObservableMixin as _0x490767,uid as _0x7dcf7b}from'ckeditor5/src/utils.js';import{findAllByAttribute as _0x115cec,findByAttribute as _0x1c323b,getAttribute as _0x2946a5,isComment as _0x382de5,isTag as _0x3ecd8b,insertElement as _0x30f484,moveElement as _0x47b18b,removeElement as _0x3b07f4,replaceElement as _0x558d5d,serialize as _0x3f0e33,setAttribute as _0x10261f,clone as _0x49bbac,findAllComments as _0x12afb2,getParents as _0x51bd01,getNodeNestingLevel as _0x1dbfa5,areNodesSame as _0x138cb6,removeElementsAfter as _0x4d89bf}from'../utils/htmlparser.js';export class AIResponseApplier extends/* #__PURE__ -- @preserve */
24
- _0x490767(){[_0xa22a5b(0xe1)];[_0xa22a5b(0xf4)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0xa22a5b(0xe0)]=new Set();constructor(_0x58b109){const _0x342a66=_0xa22a5b;super(),this[_0x342a66(0xe1)]=_0x58b109||_0x7dcf7b;}[_0xa22a5b(0xf6)](_0x490dce,_0x5ae247,_0x3c16e2){const _0x4bbf83=_0xa22a5b,_0x179318=_0x49bbac(_0x490dce);if(0x0===_0x5ae247[_0x4bbf83(0xe5)][_0x4bbf83(0xe3)]){const _0x51f110=[];return _0x115cec(_0x4bbf83(0xd5),_0x4bbf83(0xe8),_0x179318)[_0x4bbf83(0xf7)](_0x21c979=>{const _0x1c33bc=_0x4bbf83,_0x18881a=this[_0x1c33bc(0xe1)]();_0x10261f(_0x21c979,_0x1c33bc(0xd5),_0x18881a),_0x51f110[_0x1c33bc(0x107)](_0x18881a);}),this[_0x4bbf83(0x111)](_0x179318),{'parsedContent':_0x179318,'newNodeIds':_0x51f110,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x3c16e2&&_0x3c16e2[_0x4bbf83(0xe4)]&&this[_0x4bbf83(0xe7)](_0x179318),this[_0x4bbf83(0xf4)][_0x4bbf83(0xfe)]=[],this[_0x4bbf83(0xf4)][_0x4bbf83(0xd1)]=[],this[_0x4bbf83(0xf4)][_0x4bbf83(0x101)]=[],this[_0x4bbf83(0xf4)][_0x4bbf83(0x115)]=[],this[_0x4bbf83(0xf4)][_0x4bbf83(0xee)]=null,this[_0x4bbf83(0xe0)]=new Set(_0x115cec(_0x4bbf83(0xd5),null,_0x5ae247)[_0x4bbf83(0xfb)](_0x387b9e=>_0x2946a5(_0x387b9e,_0x4bbf83(0xd5)))[_0x4bbf83(0x108)](_0x4469eb=>!!_0x4469eb));let _0x177788=-0x1,_0x10bfb3=!0x1;const _0x2b4137=_0x179318[_0x4bbf83(0xe5)],_0x4bf22c=Array[_0x4bbf83(0xd4)](_0x2b4137)[_0x4bbf83(0x108)](_0x1c15bb=>!(0x3===_0x1c15bb[_0x4bbf83(0xef)]&&''===_0x3f0e33(_0x1c15bb)[_0x4bbf83(0xfa)]())),_0x18a477=_0x4bf22c[_0x4bbf83(0xe3)];for(let _0x50f75c=0x0;_0x50f75c<_0x18a477;_0x50f75c++){const _0xd352da=_0x4bf22c[_0x50f75c],_0x14ced5=_0x4bf22c[_0x50f75c+0x1];if(this[_0x4bbf83(0x100)](_0xd352da)){if(-0x1===_0x177788&&(_0x177788=_0x50f75c),this[_0x4bbf83(0xde)](_0xd352da),!this[_0x4bbf83(0x100)](_0x14ced5)){const [_0xb54e33,_0x2c3a19]=this[_0x4bbf83(0x110)](_0xd352da,_0x10bfb3,_0x5ae247);if(_0xb54e33){const _0x2a529f=Array[_0x4bbf83(0xd4)](_0x4bf22c)[_0x4bbf83(0xff)](_0x177788,_0x50f75c+0x1);this[_0x4bbf83(0x102)](_0xb54e33,_0x2a529f,_0x2c3a19),_0x177788=-0x1;}}}else{if(this[_0x4bbf83(0xf3)](_0xd352da))_0x10bfb3=!0x0;else{if(this[_0x4bbf83(0xd6)](_0xd352da)){const _0x5236f3=_0x2946a5(_0xd352da,_0x4bbf83(0xd5));if(_0x5236f3&&this[_0x4bbf83(0xe0)][_0x4bbf83(0xf1)](_0x5236f3)){const _0x384d18=_0x1c323b(_0x4bbf83(0xd5),_0x5236f3,_0x5ae247);this[_0x4bbf83(0x113)](_0x384d18,_0xd352da);}if(this[_0x4bbf83(0xf4)][_0x4bbf83(0x101)][_0x4bbf83(0xe9)](_0x5236f3)){const _0xd6d8e8=this[_0x4bbf83(0xf4)][_0x4bbf83(0x101)][_0x4bbf83(0x114)](_0x5236f3);this[_0x4bbf83(0xf4)][_0x4bbf83(0x101)][_0x4bbf83(0xfc)](_0xd6d8e8,0x1);}}else{if(this[_0x4bbf83(0xeb)](_0xd352da)){const _0xdbb8cb=_0x2946a5(_0xd352da,_0x4bbf83(0xd5));this[_0x4bbf83(0xf4)][_0x4bbf83(0xd1)][_0x4bbf83(0xe9)](_0xdbb8cb)||this[_0x4bbf83(0x109)](_0xd352da);}}}}}for(const _0x587721 of this[_0x4bbf83(0xf4)][_0x4bbf83(0x101)]){const _0x5a78a9=_0x1c323b(_0x4bbf83(0xd5),_0x587721,_0x5ae247);if(_0x5a78a9){if(_0x3c16e2&&_0x3c16e2[_0x4bbf83(0xf5)]){this[_0x4bbf83(0xf4)][_0x4bbf83(0xee)]=_0x587721;const _0x175c90=_0x3c16e2[_0x4bbf83(0xf5)][_0x4bbf83(0x10b)](!0x0);_0x10261f(_0x175c90,_0x4bbf83(0xd5),_0x587721),_0x10261f(_0x175c90,_0x4bbf83(0xdf),_0x4bbf83(0x10e)),_0x558d5d(_0x5a78a9,_0x175c90);}else _0x3b07f4(_0x5a78a9);}}if(_0x115cec(_0x4bbf83(0xd2),null,_0x5ae247)[_0x4bbf83(0xf7)](_0x382f01=>{const _0x905d08=_0x4bbf83,_0x2f52ee=_0x2946a5(_0x382f01,_0x905d08(0xd2)),_0x2e2c08=_0x1c323b(_0x905d08(0xd5),_0x2f52ee,_0x5ae247);_0x2e2c08&&_0x47b18b(_0x2e2c08,_0x382f01);}),_0x115cec(_0x4bbf83(0xd5),_0x4bbf83(0xe8),_0x5ae247)[_0x4bbf83(0xf7)](_0x330c67=>{const _0x4d79f4=_0x4bbf83,_0x52ff50=this[_0x4d79f4(0xed)](_0x330c67);_0x10261f(_0x330c67,_0x4d79f4(0xd5),_0x52ff50),this[_0x4d79f4(0xf4)][_0x4d79f4(0xfe)][_0x4d79f4(0x107)](_0x52ff50);}),this[_0x4bbf83(0x111)](_0x5ae247),_0x3c16e2&&_0x3c16e2[_0x4bbf83(0xe4)]&&this[_0x4bbf83(0x106)](_0x5ae247,_0x3c16e2[_0x4bbf83(0xea)]||0x0),_0x3c16e2&&_0x3c16e2[_0x4bbf83(0x10c)]&&this[_0x4bbf83(0xf4)][_0x4bbf83(0xee)]){let _0x59a869=_0x1c323b(_0x4bbf83(0xd5),this[_0x4bbf83(0xf4)][_0x4bbf83(0xee)],_0x5ae247);for(;_0x59a869;)_0x4d89bf(_0x59a869),_0x59a869=_0x59a869[_0x4bbf83(0xf8)];}return{'parsedContent':_0x5ae247,'newNodeIds':this[_0x4bbf83(0xf4)][_0x4bbf83(0xfe)],'modifiedNodeIds':this[_0x4bbf83(0xf4)][_0x4bbf83(0xd1)],'removedNodeIds':this[_0x4bbf83(0xf4)][_0x4bbf83(0x101)]};}[_0xa22a5b(0x102)](_0x6c6579,_0x35baac,_0x4dde69){const _0x5bb32c=_0xa22a5b;for(const _0x29538a of _0x35baac){const _0x19d83b=this[_0x5bb32c(0xed)](_0x29538a);_0x10261f(_0x29538a,_0x5bb32c(0xd5),_0x19d83b),this[_0x5bb32c(0xf4)][_0x5bb32c(0xfe)][_0x5bb32c(0x107)](_0x19d83b),this[_0x5bb32c(0xf4)][_0x5bb32c(0xee)]=_0x19d83b;}const _0x2f1eff=_0x5bb32c(0x105)===_0x4dde69||_0x5bb32c(0x10d)===_0x4dde69?_0x35baac[_0x5bb32c(0xf9)]():_0x35baac;for(const _0x42a73d of _0x2f1eff)_0x30f484(_0x6c6579,_0x42a73d,_0x4dde69);}[_0xa22a5b(0x113)](_0x275061,_0x129644){const _0x51baa3=_0xa22a5b;if(!_0x275061)return;if(_0x138cb6(_0x275061,_0x129644))return;const _0x2e6535=this[_0x51baa3(0xed)](_0x275061);_0x10261f(_0x129644,_0x51baa3(0xd5),_0x2e6535),this[_0x51baa3(0xf4)][_0x51baa3(0xd1)][_0x51baa3(0x107)](_0x2e6535),this[_0x51baa3(0xf4)][_0x51baa3(0xee)]=_0x2e6535,_0x558d5d(_0x275061,_0x129644[_0x51baa3(0x10b)](!0x0));}[_0xa22a5b(0x110)](_0x1522ec,_0x52c129,_0x2481c0){const _0x55975e=_0xa22a5b,_0x5d836e=this[_0x55975e(0x103)](_0x1522ec,!0x1);if(_0x5d836e){const _0x22fc22=this[_0x55975e(0xe6)](_0x5d836e),_0x284420=_0x1c323b(_0x55975e(0xd5),_0x22fc22,_0x2481c0);if(_0x284420)return[_0x284420,_0x55975e(0x10d)];this[_0x55975e(0xf4)][_0x55975e(0x115)][_0x55975e(0x107)](_0x22fc22);}const _0x52cd80=this[_0x55975e(0xec)](_0x1522ec,!0x1);if(_0x52cd80){const _0x258c07=this[_0x55975e(0xe6)](_0x52cd80),_0x5abec6=_0x1c323b(_0x55975e(0xd5),_0x258c07,_0x2481c0);if(_0x5abec6)return[_0x5abec6,_0x55975e(0xd8)];this[_0x55975e(0xf4)][_0x55975e(0x115)][_0x55975e(0x107)](_0x258c07);}return _0x52c129?_0x1522ec[_0x55975e(0xd3)]?this[_0x55975e(0xf2)](_0x1522ec,_0x2481c0):[_0x2481c0[_0x55975e(0xe5)][_0x2481c0[_0x55975e(0xe5)][_0x55975e(0xe3)]-0x1],_0x55975e(0x10d)]:[_0x2481c0[_0x55975e(0xe5)][0x0],_0x55975e(0xd8)];}[_0xa22a5b(0xf2)](_0x5e0c9f,_0x391cd5){const _0x4c58fb=_0xa22a5b,_0x1e5dec=[],_0x4a956b=this[_0x4c58fb(0x103)](_0x5e0c9f,!0x0);if(_0x4a956b){const _0x5cbd86=this[_0x4c58fb(0xe6)](_0x4a956b),_0x11eb9f=_0x1c323b(_0x4c58fb(0xd5),_0x5cbd86,_0x391cd5);_0x11eb9f&&_0x1e5dec[_0x4c58fb(0x107)]([_0x11eb9f,_0x4c58fb(0x10d)]);}const _0x411958=this[_0x4c58fb(0xec)](_0x5e0c9f,!0x0);if(_0x411958){const _0x7764da=this[_0x4c58fb(0xe6)](_0x411958),_0x18245a=_0x1c323b(_0x4c58fb(0xd5),_0x7764da,_0x391cd5);_0x18245a&&_0x1e5dec[_0x4c58fb(0x107)]([_0x18245a,_0x4c58fb(0xd8)]);}if(_0x1e5dec[_0x4c58fb(0xe3)]>0x1)return _0x1dbfa5(_0x1e5dec[0x0][0x0])<=_0x1dbfa5(_0x1e5dec[0x1][0x0])?_0x1e5dec[0x0]:_0x1e5dec[0x1];return 0x1===_0x1e5dec[_0x4c58fb(0xe3)]?_0x1e5dec[0x0]:[_0x391cd5[_0x4c58fb(0x116)],_0x4c58fb(0x10d)];}[_0xa22a5b(0xec)](_0x28f726,_0x15c3d1){const _0x36f2ca=_0xa22a5b;let _0x17b31d=_0x28f726[_0x36f2ca(0xd3)],_0x569d0e=null,_0x12d9a3=!0x1;for(;_0x17b31d;){if(_0x382de5(_0x17b31d)){if(this[_0x36f2ca(0xeb)](_0x17b31d)&&(_0x569d0e=_0x17b31d),this[_0x36f2ca(0xf3)](_0x17b31d)&&_0x15c3d1&&!_0x12d9a3){_0x12d9a3=!0x0,_0x17b31d=_0x17b31d[_0x36f2ca(0xd3)];continue;}break;}const _0xfce0dd=_0x2946a5(_0x17b31d,_0x36f2ca(0xd5));if(_0xfce0dd&&_0x36f2ca(0xe8)!==_0xfce0dd&&this[_0x36f2ca(0xe0)][_0x36f2ca(0xf1)](_0xfce0dd)){_0x569d0e=_0x17b31d;break;}_0x17b31d=_0x17b31d[_0x36f2ca(0xd3)];}return _0x569d0e;}[_0xa22a5b(0x103)](_0x959158,_0x42b730){const _0x20f3c7=_0xa22a5b;let _0x2330f5=_0x959158[_0x20f3c7(0xdb)],_0x524425=null,_0xb54807=!0x1;for(;_0x2330f5;){if(_0x382de5(_0x2330f5)){if(this[_0x20f3c7(0xeb)](_0x2330f5)&&(_0x524425=_0x2330f5),this[_0x20f3c7(0xf3)](_0x2330f5)&&_0x42b730&&!_0xb54807){_0xb54807=!0x0,_0x2330f5=_0x2330f5[_0x20f3c7(0xdb)];continue;}break;}const _0x78a01=_0x2946a5(_0x2330f5,_0x20f3c7(0xd5));if(_0x78a01&&_0x20f3c7(0xe8)!==_0x78a01&&this[_0x20f3c7(0xe0)][_0x20f3c7(0xf1)](_0x78a01)){_0x524425=_0x2330f5;break;}_0x2330f5=_0x2330f5[_0x20f3c7(0xdb)];}return _0x524425;}[_0xa22a5b(0xde)](_0x5dc72f){const _0x53b41b=_0xa22a5b;_0x3ecd8b(_0x5dc72f)&&_0x115cec(_0x53b41b(0xd5),null,_0x5dc72f)[_0x53b41b(0xf7)](_0x431d7e=>{const _0x407507=_0x53b41b;if(this[_0x407507(0xd6)](_0x431d7e)&&!this[_0x407507(0x112)](_0x431d7e)){const _0x1332ca=_0x2946a5(_0x431d7e,_0x407507(0xd5));_0x10261f(_0x431d7e,_0x407507(0xd2),_0x1332ca),_0x10261f(_0x431d7e,_0x407507(0xd5),null);}});}[_0xa22a5b(0xe6)](_0x4f4e9b){const _0x21469=_0xa22a5b;if(!_0x4f4e9b)return null;if(_0x3ecd8b(_0x4f4e9b))return _0x2946a5(_0x4f4e9b,_0x21469(0xd5));if(_0x382de5(_0x4f4e9b)){const _0x46ad58=_0x3f0e33(_0x4f4e9b)[_0x21469(0xd7)](/removed[\s*-]data-id="([^"]+)"/);if(_0x46ad58&&_0x46ad58[0x1])return _0x46ad58[0x1];}return null;}[_0xa22a5b(0x109)](_0x65d643){const _0x2e0b28=_0xa22a5b;if(_0x382de5(_0x65d643)){const _0x2dcfce=_0x3f0e33(_0x65d643)[_0x2e0b28(0xd7)](/removed[\s*-]data-id="([^"]+)"/);_0x2dcfce&&_0x2dcfce[0x1]&&this[_0x2e0b28(0xf4)][_0x2e0b28(0x101)][_0x2e0b28(0x107)](_0x2dcfce[0x1]);}}[_0xa22a5b(0xed)](_0x2c448f){const _0x2982f4=_0xa22a5b;return this[_0x2982f4(0xd6)](_0x2c448f)?_0x2946a5(_0x2c448f,_0x2982f4(0xd5)):this[_0x2982f4(0xe1)]();}[_0xa22a5b(0x111)](_0x47a7b6){const _0x54f61f=_0xa22a5b;_0x12afb2(_0x47a7b6)[_0x54f61f(0x108)](_0x40a913=>this[_0x54f61f(0xeb)](_0x40a913)||this[_0x54f61f(0xf3)](_0x40a913))[_0x54f61f(0xf7)](_0x5b43ab=>{_0x3b07f4(_0x5b43ab);});}[_0xa22a5b(0xe7)](_0x198a93){const _0x590241=_0xa22a5b,_0x55771f=_0x198a93[_0x590241(0xe5)],_0x4e867d=_0x55771f[_0x55771f[_0x590241(0xe3)]-0x1];_0x4e867d&&_0x3ecd8b(_0x4e867d)&&_0x10261f(_0x4e867d,_0x590241(0xdc),_0x590241(0x10e));}[_0xa22a5b(0x106)](_0x3aca38,_0x607ad5){const _0x3b4d36=_0xa22a5b,_0x1436a0=_0x1c323b(_0x3b4d36(0xdc),_0x3b4d36(0x10e),_0x3aca38);if(!_0x1436a0)return;const _0x39bb70=_0x51bd01(_0x1436a0)[_0x3b4d36(0xff)](0x0,-0x1),_0x48bcaa=_0x39bb70[_0x3b4d36(0xe3)];let _0x36d20c=_0x1436a0;if(_0x48bcaa>_0x607ad5){let _0x3cfb16=_0x48bcaa,_0x21005a=null;for(;_0x3cfb16>_0x607ad5&&_0x3cfb16>=0x0;)_0x3cfb16--,_0x21005a=_0x39bb70[_0x3cfb16];_0x21005a&&(_0x36d20c=_0x21005a,_0x10261f(_0x1436a0,_0x3b4d36(0xdc),null),_0x10261f(_0x21005a,_0x3b4d36(0xdc),_0x3b4d36(0x10e)));}else{if(_0x48bcaa<_0x607ad5){let _0x358d85=_0x48bcaa,_0x914add=_0x1436a0;for(;_0x358d85<_0x607ad5;){const _0x5dcdff=_0x914add[_0x3b4d36(0xe5)][_0x3b4d36(0x108)](_0x7b725b=>_0x3ecd8b(_0x7b725b));if(0x0===_0x5dcdff[_0x3b4d36(0xe3)])break;_0x358d85++,_0x914add=_0x5dcdff[_0x5dcdff[_0x3b4d36(0xe3)]-0x1];}_0x914add&&(_0x36d20c=_0x914add,_0x10261f(_0x1436a0,_0x3b4d36(0xdc),null),_0x10261f(_0x914add,_0x3b4d36(0xdc),_0x3b4d36(0x10e)));}}let _0x52750f=_0x36d20c;for(;_0x52750f;){for(;_0x52750f[_0x3b4d36(0xd3)];)_0x52750f=_0x52750f[_0x3b4d36(0xd3)],_0x3ecd8b(_0x52750f)&&_0x10261f(_0x52750f,_0x3b4d36(0xdc),_0x3b4d36(0x10e));_0x52750f=_0x52750f[_0x3b4d36(0xf8)];}}[_0xa22a5b(0x100)](_0x433cda){const _0x3ad879=_0xa22a5b;return Boolean(_0x3ad879(0xe8)===_0x2946a5(_0x433cda,_0x3ad879(0xd5)));}[_0xa22a5b(0xd6)](_0x3d5b9d){const _0x584166=_0xa22a5b;return Boolean((_0x2946a5(_0x3d5b9d,_0x584166(0xd5))||'')[_0x584166(0xe3)]>0x0&&_0x584166(0xe8)!==_0x2946a5(_0x3d5b9d,_0x584166(0xd5)));}[_0xa22a5b(0xeb)](_0x3c4835){const _0x4cdc2c=_0xa22a5b;return!!_0x3c4835&&Boolean(_0x382de5(_0x3c4835)&&_0x3f0e33(_0x3c4835)[_0x4cdc2c(0xd7)](/removed[\s*-]data-id="[^"]+"/));}[_0xa22a5b(0x112)](_0xfa9151){const _0xdc09a=_0xa22a5b;let _0x7e4161=_0xfa9151[_0xdc09a(0xf8)];for(;_0x7e4161;){if(_0x2946a5(_0x7e4161,_0xdc09a(0xd2)))return!0x0;_0x7e4161=_0x7e4161[_0xdc09a(0xf8)];}return!0x1;}[_0xa22a5b(0xf3)](_0x5aae87){const _0x100f5e=_0xa22a5b;return Boolean(_0x382de5(_0x5aae87)&&_0x3f0e33(_0x5aae87)[_0x100f5e(0xd7)](/\s*existing[\s*-](content|document)\s*/g));}}
23
+ const _0x46e315=_0x4d48;function _0x4d48(_0x20c747,_0x436ac5){const _0x53c868=_0x53c8();return _0x4d48=function(_0x4d4829,_0x333970){_0x4d4829=_0x4d4829-0x9b;let _0x5cd0ee=_0x53c868[_0x4d4829];return _0x5cd0ee;},_0x4d48(_0x20c747,_0x436ac5);}(function(_0x15dc0c,_0x553dc8){const _0x395c89=_0x4d48,_0x66627c=_0x15dc0c();while(!![]){try{const _0x34983a=-parseInt(_0x395c89(0xdc))/0x1*(parseInt(_0x395c89(0xae))/0x2)+parseInt(_0x395c89(0xb0))/0x3*(-parseInt(_0x395c89(0xbe))/0x4)+parseInt(_0x395c89(0xc2))/0x5*(parseInt(_0x395c89(0xa3))/0x6)+parseInt(_0x395c89(0xcb))/0x7*(-parseInt(_0x395c89(0xbd))/0x8)+-parseInt(_0x395c89(0x9c))/0x9+-parseInt(_0x395c89(0xd0))/0xa*(-parseInt(_0x395c89(0x9f))/0xb)+parseInt(_0x395c89(0xaf))/0xc*(parseInt(_0x395c89(0xc3))/0xd);if(_0x34983a===_0x553dc8)break;else _0x66627c['push'](_0x66627c['shift']());}catch(_0x28b767){_0x66627c['push'](_0x66627c['shift']());}}}(_0x53c8,0x45232));import{ObservableMixin as _0x258ec0,uid as _0x4c15dc}from'ckeditor5/src/utils.js';function _0x53c8(){const _0xca0f3c=['from','match','_markUnstableElements','175355IMivnN','6513nBqdxs','data-wrapped-id','_removeSpecialComments','_replaceNode','_findNextElementWithDataId','_markLastTagElementUnstable','data-unstable','newIds','1561595maAzxU','data-removed','_findFallbackReferenceNode','length','_generateUid','3310350EaQfvR','splice','_existingDataIds','removedIds','data-id','_markWrappedElements','map','nodeType','childNodes','_isExistingContentComment','_findReferenceNode','_isNewNode','466469tkTLrH','indexOf','filter','afterend','_isExistingNode','replaceRemovedWith','afterbegin','_touchedNodesState','new-element','beforebegin','459837FuiCYe','_getUid','lastChild','11SXbIIc','slice','merge','invalidIds','84BUzECM','_getNodeDataId','trim','_findPrevElementWithDataId','cutAfterLastChange','true','forEach','has','_insertNodes','cloneNode','push','2HGQXkg','12192wzEzsU','76803qsTRIM','_isDelNode','includes','lastTouchedId','_storeDeletedElementIds','nextSibling','reverse','parentNode','previousSibling','markUnstableElements','modifiedIds','markUnstableElementsDepth','_hasWrappedParent','8LlLkCA','48qICGsa'];_0x53c8=function(){return _0xca0f3c;};return _0x53c8();}import{findAllByAttribute as _0x5cd323,findByAttribute as _0xde5fce,getAttribute as _0x256857,isComment as _0x22821a,isTag as _0x454369,insertElement as _0xd22dc5,moveElement as _0xea4c65,removeElement as _0x323bdf,replaceElement as _0x53f494,serialize as _0xacb80d,setAttribute as _0x50f153,clone as _0x4f1a86,findAllComments as _0x2f5be0,getParents as _0x481fef,getNodeNestingLevel as _0x3ea9e0,areNodesSame as _0x4b5d3b,removeElementsAfter as _0x47346d}from'../utils/htmlparser.js';export class AIResponseApplier extends/* #__PURE__ -- @preserve */
24
+ _0x258ec0(){[_0x46e315(0xcf)];[_0x46e315(0xe3)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x46e315(0xd2)]=new Set();constructor(_0x65303c){const _0x5bf4=_0x46e315;super(),this[_0x5bf4(0xcf)]=_0x65303c||_0x4c15dc;}[_0x46e315(0xa1)](_0x5414b9,_0x887038,_0x485b44){const _0x344975=_0x46e315,_0x126800=_0x4f1a86(_0x5414b9);if(0x0===_0x887038[_0x344975(0xd8)][_0x344975(0xce)]){const _0x5e3b6e=[];return _0x5cd323(_0x344975(0xd4),_0x344975(0xe4),_0x126800)[_0x344975(0xa9)](_0x597218=>{const _0x135690=_0x344975,_0x89594b=this[_0x135690(0xcf)]();_0x50f153(_0x597218,_0x135690(0xd4),_0x89594b),_0x5e3b6e[_0x135690(0xad)](_0x89594b);}),this[_0x344975(0xc5)](_0x126800),{'parsedContent':_0x126800,'newNodeIds':_0x5e3b6e,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x485b44&&_0x485b44[_0x344975(0xb9)]&&this[_0x344975(0xc8)](_0x126800),this[_0x344975(0xe3)][_0x344975(0xca)]=[],this[_0x344975(0xe3)][_0x344975(0xba)]=[],this[_0x344975(0xe3)][_0x344975(0xd3)]=[],this[_0x344975(0xe3)][_0x344975(0xa2)]=[],this[_0x344975(0xe3)][_0x344975(0xb3)]=null,this[_0x344975(0xd2)]=new Set(_0x5cd323(_0x344975(0xd4),null,_0x887038)[_0x344975(0xd6)](_0x36869e=>_0x256857(_0x36869e,_0x344975(0xd4)))[_0x344975(0xde)](_0x194e93=>!!_0x194e93));let _0x3159c3=-0x1,_0x1d003d=!0x1;const _0x274f8b=_0x126800[_0x344975(0xd8)],_0xf5dab4=Array[_0x344975(0xbf)](_0x274f8b)[_0x344975(0xde)](_0x59b825=>!(0x3===_0x59b825[_0x344975(0xd7)]&&''===_0xacb80d(_0x59b825)[_0x344975(0xa5)]())),_0x423b20=_0xf5dab4[_0x344975(0xce)];for(let _0xc91eb=0x0;_0xc91eb<_0x423b20;_0xc91eb++){const _0x2836e3=_0xf5dab4[_0xc91eb],_0x5a4d39=_0xf5dab4[_0xc91eb+0x1];if(this[_0x344975(0xdb)](_0x2836e3)){if(-0x1===_0x3159c3&&(_0x3159c3=_0xc91eb),this[_0x344975(0xd5)](_0x2836e3),!this[_0x344975(0xdb)](_0x5a4d39)){const [_0x17b622,_0x3bb3ed]=this[_0x344975(0xda)](_0x2836e3,_0x1d003d,_0x887038);if(_0x17b622){const _0x6c2b78=Array[_0x344975(0xbf)](_0xf5dab4)[_0x344975(0xa0)](_0x3159c3,_0xc91eb+0x1);this[_0x344975(0xab)](_0x17b622,_0x6c2b78,_0x3bb3ed),_0x3159c3=-0x1;}}}else{if(this[_0x344975(0xd9)](_0x2836e3))_0x1d003d=!0x0;else{if(this[_0x344975(0xe0)](_0x2836e3)){const _0x32eec8=_0x256857(_0x2836e3,_0x344975(0xd4));if(_0x32eec8&&this[_0x344975(0xd2)][_0x344975(0xaa)](_0x32eec8)){const _0x384c72=_0xde5fce(_0x344975(0xd4),_0x32eec8,_0x887038);this[_0x344975(0xc6)](_0x384c72,_0x2836e3);}if(this[_0x344975(0xe3)][_0x344975(0xd3)][_0x344975(0xb2)](_0x32eec8)){const _0x551b3a=this[_0x344975(0xe3)][_0x344975(0xd3)][_0x344975(0xdd)](_0x32eec8);this[_0x344975(0xe3)][_0x344975(0xd3)][_0x344975(0xd1)](_0x551b3a,0x1);}}else{if(this[_0x344975(0xb1)](_0x2836e3)){const _0xe9dbb4=_0x256857(_0x2836e3,_0x344975(0xd4));this[_0x344975(0xe3)][_0x344975(0xba)][_0x344975(0xb2)](_0xe9dbb4)||this[_0x344975(0xb4)](_0x2836e3);}}}}}for(const _0x500e70 of this[_0x344975(0xe3)][_0x344975(0xd3)]){const _0x49d14b=_0xde5fce(_0x344975(0xd4),_0x500e70,_0x887038);if(_0x49d14b){if(_0x485b44&&_0x485b44[_0x344975(0xe1)]){this[_0x344975(0xe3)][_0x344975(0xb3)]=_0x500e70;const _0x486abb=_0x485b44[_0x344975(0xe1)][_0x344975(0xac)](!0x0);_0x50f153(_0x486abb,_0x344975(0xd4),_0x500e70),_0x50f153(_0x486abb,_0x344975(0xcc),_0x344975(0xa8)),_0x53f494(_0x49d14b,_0x486abb);}else _0x323bdf(_0x49d14b);}}if(_0x5cd323(_0x344975(0xc4),null,_0x887038)[_0x344975(0xa9)](_0x56d34d=>{const _0x4e40a4=_0x344975,_0x2c9a3b=_0x256857(_0x56d34d,_0x4e40a4(0xc4)),_0x594b10=_0xde5fce(_0x4e40a4(0xd4),_0x2c9a3b,_0x887038);_0x594b10&&_0xea4c65(_0x594b10,_0x56d34d);}),_0x5cd323(_0x344975(0xd4),_0x344975(0xe4),_0x887038)[_0x344975(0xa9)](_0x12ec6d=>{const _0x4c3422=_0x344975,_0x150fe1=this[_0x4c3422(0x9d)](_0x12ec6d);_0x50f153(_0x12ec6d,_0x4c3422(0xd4),_0x150fe1),this[_0x4c3422(0xe3)][_0x4c3422(0xca)][_0x4c3422(0xad)](_0x150fe1);}),this[_0x344975(0xc5)](_0x887038),_0x485b44&&_0x485b44[_0x344975(0xb9)]&&this[_0x344975(0xc1)](_0x887038,_0x485b44[_0x344975(0xbb)]||0x0),_0x485b44&&_0x485b44[_0x344975(0xa7)]&&this[_0x344975(0xe3)][_0x344975(0xb3)]){let _0x5de5d0=_0xde5fce(_0x344975(0xd4),this[_0x344975(0xe3)][_0x344975(0xb3)],_0x887038);for(;_0x5de5d0;)_0x47346d(_0x5de5d0),_0x5de5d0=_0x5de5d0[_0x344975(0xb7)];}return{'parsedContent':_0x887038,'newNodeIds':this[_0x344975(0xe3)][_0x344975(0xca)],'modifiedNodeIds':this[_0x344975(0xe3)][_0x344975(0xba)],'removedNodeIds':this[_0x344975(0xe3)][_0x344975(0xd3)]};}[_0x46e315(0xab)](_0x429bf0,_0x4ed62d,_0x32073e){const _0x47272a=_0x46e315;for(const _0x406d5a of _0x4ed62d){const _0x16309e=this[_0x47272a(0x9d)](_0x406d5a);_0x50f153(_0x406d5a,_0x47272a(0xd4),_0x16309e),this[_0x47272a(0xe3)][_0x47272a(0xca)][_0x47272a(0xad)](_0x16309e),this[_0x47272a(0xe3)][_0x47272a(0xb3)]=_0x16309e;}const _0x2f9b70=_0x47272a(0xe2)===_0x32073e||_0x47272a(0xdf)===_0x32073e?_0x4ed62d[_0x47272a(0xb6)]():_0x4ed62d;for(const _0x588cd4 of _0x2f9b70)_0xd22dc5(_0x429bf0,_0x588cd4,_0x32073e);}[_0x46e315(0xc6)](_0x1cb315,_0x473f31){const _0x2a3187=_0x46e315;if(!_0x1cb315)return;if(_0x4b5d3b(_0x1cb315,_0x473f31))return;const _0x42b3a3=this[_0x2a3187(0x9d)](_0x1cb315);_0x50f153(_0x473f31,_0x2a3187(0xd4),_0x42b3a3),this[_0x2a3187(0xe3)][_0x2a3187(0xba)][_0x2a3187(0xad)](_0x42b3a3),this[_0x2a3187(0xe3)][_0x2a3187(0xb3)]=_0x42b3a3,_0x53f494(_0x1cb315,_0x473f31[_0x2a3187(0xac)](!0x0));}[_0x46e315(0xda)](_0x709b8d,_0x302edc,_0x3d3a32){const _0xa8a197=_0x46e315,_0x3c6a19=this[_0xa8a197(0xa6)](_0x709b8d,!0x1);if(_0x3c6a19){const _0x566dc4=this[_0xa8a197(0xa4)](_0x3c6a19),_0x3f2f55=_0xde5fce(_0xa8a197(0xd4),_0x566dc4,_0x3d3a32);if(_0x3f2f55)return[_0x3f2f55,_0xa8a197(0xdf)];this[_0xa8a197(0xe3)][_0xa8a197(0xa2)][_0xa8a197(0xad)](_0x566dc4);}const _0x38c84e=this[_0xa8a197(0xc7)](_0x709b8d,!0x1);if(_0x38c84e){const _0x4032df=this[_0xa8a197(0xa4)](_0x38c84e),_0x5af77a=_0xde5fce(_0xa8a197(0xd4),_0x4032df,_0x3d3a32);if(_0x5af77a)return[_0x5af77a,_0xa8a197(0x9b)];this[_0xa8a197(0xe3)][_0xa8a197(0xa2)][_0xa8a197(0xad)](_0x4032df);}return _0x302edc?_0x709b8d[_0xa8a197(0xb5)]?this[_0xa8a197(0xcd)](_0x709b8d,_0x3d3a32):[_0x3d3a32[_0xa8a197(0xd8)][_0x3d3a32[_0xa8a197(0xd8)][_0xa8a197(0xce)]-0x1],_0xa8a197(0xdf)]:[_0x3d3a32[_0xa8a197(0xd8)][0x0],_0xa8a197(0x9b)];}[_0x46e315(0xcd)](_0x1fc552,_0x3119c2){const _0x5bd545=_0x46e315,_0x10eb4f=[],_0x23ae09=this[_0x5bd545(0xa6)](_0x1fc552,!0x0);if(_0x23ae09){const _0x110db2=this[_0x5bd545(0xa4)](_0x23ae09),_0x5cb47e=_0xde5fce(_0x5bd545(0xd4),_0x110db2,_0x3119c2);_0x5cb47e&&_0x10eb4f[_0x5bd545(0xad)]([_0x5cb47e,_0x5bd545(0xdf)]);}const _0x2765e3=this[_0x5bd545(0xc7)](_0x1fc552,!0x0);if(_0x2765e3){const _0x5570a4=this[_0x5bd545(0xa4)](_0x2765e3),_0x5a57b9=_0xde5fce(_0x5bd545(0xd4),_0x5570a4,_0x3119c2);_0x5a57b9&&_0x10eb4f[_0x5bd545(0xad)]([_0x5a57b9,_0x5bd545(0x9b)]);}if(_0x10eb4f[_0x5bd545(0xce)]>0x1)return _0x3ea9e0(_0x10eb4f[0x0][0x0])<=_0x3ea9e0(_0x10eb4f[0x1][0x0])?_0x10eb4f[0x0]:_0x10eb4f[0x1];return 0x1===_0x10eb4f[_0x5bd545(0xce)]?_0x10eb4f[0x0]:[_0x3119c2[_0x5bd545(0x9e)],_0x5bd545(0xdf)];}[_0x46e315(0xc7)](_0x13db2b,_0xfbbf0e){const _0x142749=_0x46e315;let _0x174178=_0x13db2b[_0x142749(0xb5)],_0x2a410a=null,_0x298c43=!0x1;for(;_0x174178;){if(_0x22821a(_0x174178)){if(this[_0x142749(0xb1)](_0x174178)&&(_0x2a410a=_0x174178),this[_0x142749(0xd9)](_0x174178)&&_0xfbbf0e&&!_0x298c43){_0x298c43=!0x0,_0x174178=_0x174178[_0x142749(0xb5)];continue;}break;}const _0x630b85=_0x256857(_0x174178,_0x142749(0xd4));if(_0x630b85&&_0x142749(0xe4)!==_0x630b85&&this[_0x142749(0xd2)][_0x142749(0xaa)](_0x630b85)){_0x2a410a=_0x174178;break;}_0x174178=_0x174178[_0x142749(0xb5)];}return _0x2a410a;}[_0x46e315(0xa6)](_0x1af78d,_0x2d4fc1){const _0x5482aa=_0x46e315;let _0x248670=_0x1af78d[_0x5482aa(0xb8)],_0x24f0c1=null,_0x3b663d=!0x1;for(;_0x248670;){if(_0x22821a(_0x248670)){if(this[_0x5482aa(0xb1)](_0x248670)&&(_0x24f0c1=_0x248670),this[_0x5482aa(0xd9)](_0x248670)&&_0x2d4fc1&&!_0x3b663d){_0x3b663d=!0x0,_0x248670=_0x248670[_0x5482aa(0xb8)];continue;}break;}const _0x2f9ed2=_0x256857(_0x248670,_0x5482aa(0xd4));if(_0x2f9ed2&&_0x5482aa(0xe4)!==_0x2f9ed2&&this[_0x5482aa(0xd2)][_0x5482aa(0xaa)](_0x2f9ed2)){_0x24f0c1=_0x248670;break;}_0x248670=_0x248670[_0x5482aa(0xb8)];}return _0x24f0c1;}[_0x46e315(0xd5)](_0x46b16b){const _0x266500=_0x46e315;_0x454369(_0x46b16b)&&_0x5cd323(_0x266500(0xd4),null,_0x46b16b)[_0x266500(0xa9)](_0x3bf7ed=>{const _0x192a73=_0x266500;if(this[_0x192a73(0xe0)](_0x3bf7ed)&&!this[_0x192a73(0xbc)](_0x3bf7ed)){const _0x31b538=_0x256857(_0x3bf7ed,_0x192a73(0xd4));_0x50f153(_0x3bf7ed,_0x192a73(0xc4),_0x31b538),_0x50f153(_0x3bf7ed,_0x192a73(0xd4),null);}});}[_0x46e315(0xa4)](_0x213169){const _0x3513ee=_0x46e315;if(!_0x213169)return null;if(_0x454369(_0x213169))return _0x256857(_0x213169,_0x3513ee(0xd4));if(_0x22821a(_0x213169)){const _0x5e3117=_0xacb80d(_0x213169)[_0x3513ee(0xc0)](/removed[\s*-]data-id="([^"]+)"/);if(_0x5e3117&&_0x5e3117[0x1])return _0x5e3117[0x1];}return null;}[_0x46e315(0xb4)](_0x1fb901){const _0x173734=_0x46e315;if(_0x22821a(_0x1fb901)){const _0xb84c81=_0xacb80d(_0x1fb901)[_0x173734(0xc0)](/removed[\s*-]data-id="([^"]+)"/);_0xb84c81&&_0xb84c81[0x1]&&this[_0x173734(0xe3)][_0x173734(0xd3)][_0x173734(0xad)](_0xb84c81[0x1]);}}[_0x46e315(0x9d)](_0x2209db){const _0x2ab10b=_0x46e315;return this[_0x2ab10b(0xe0)](_0x2209db)?_0x256857(_0x2209db,_0x2ab10b(0xd4)):this[_0x2ab10b(0xcf)]();}[_0x46e315(0xc5)](_0x5683f3){const _0x31cc1d=_0x46e315;_0x2f5be0(_0x5683f3)[_0x31cc1d(0xde)](_0x5a09db=>this[_0x31cc1d(0xb1)](_0x5a09db)||this[_0x31cc1d(0xd9)](_0x5a09db))[_0x31cc1d(0xa9)](_0x6a9fe2=>{_0x323bdf(_0x6a9fe2);});}[_0x46e315(0xc8)](_0x404006){const _0x47b63d=_0x46e315,_0x2bce6f=_0x404006[_0x47b63d(0xd8)],_0x46d649=_0x2bce6f[_0x2bce6f[_0x47b63d(0xce)]-0x1];_0x46d649&&_0x454369(_0x46d649)&&_0x50f153(_0x46d649,_0x47b63d(0xc9),_0x47b63d(0xa8));}[_0x46e315(0xc1)](_0x3a1594,_0x1f4163){const _0x3beed1=_0x46e315,_0x572059=_0xde5fce(_0x3beed1(0xc9),_0x3beed1(0xa8),_0x3a1594);if(!_0x572059)return;const _0x5569d2=_0x481fef(_0x572059)[_0x3beed1(0xa0)](0x0,-0x1),_0x31c582=_0x5569d2[_0x3beed1(0xce)];let _0x4b9fdb=_0x572059;if(_0x31c582>_0x1f4163){let _0x498666=_0x31c582,_0x2201c8=null;for(;_0x498666>_0x1f4163&&_0x498666>=0x0;)_0x498666--,_0x2201c8=_0x5569d2[_0x498666];_0x2201c8&&(_0x4b9fdb=_0x2201c8,_0x50f153(_0x572059,_0x3beed1(0xc9),null),_0x50f153(_0x2201c8,_0x3beed1(0xc9),_0x3beed1(0xa8)));}else{if(_0x31c582<_0x1f4163){let _0x438af5=_0x31c582,_0x166ab6=_0x572059;for(;_0x438af5<_0x1f4163;){const _0x4fb3cc=_0x166ab6[_0x3beed1(0xd8)][_0x3beed1(0xde)](_0x2cda78=>_0x454369(_0x2cda78));if(0x0===_0x4fb3cc[_0x3beed1(0xce)])break;_0x438af5++,_0x166ab6=_0x4fb3cc[_0x4fb3cc[_0x3beed1(0xce)]-0x1];}_0x166ab6&&(_0x4b9fdb=_0x166ab6,_0x50f153(_0x572059,_0x3beed1(0xc9),null),_0x50f153(_0x166ab6,_0x3beed1(0xc9),_0x3beed1(0xa8)));}}let _0x156d64=_0x4b9fdb;for(;_0x156d64;){for(;_0x156d64[_0x3beed1(0xb5)];)_0x156d64=_0x156d64[_0x3beed1(0xb5)],_0x454369(_0x156d64)&&_0x50f153(_0x156d64,_0x3beed1(0xc9),_0x3beed1(0xa8));_0x156d64=_0x156d64[_0x3beed1(0xb7)];}}[_0x46e315(0xdb)](_0x44127d){const _0x37cab6=_0x46e315;return Boolean(_0x37cab6(0xe4)===_0x256857(_0x44127d,_0x37cab6(0xd4)));}[_0x46e315(0xe0)](_0xbbde3f){const _0x5aff52=_0x46e315;return Boolean((_0x256857(_0xbbde3f,_0x5aff52(0xd4))||'')[_0x5aff52(0xce)]>0x0&&_0x5aff52(0xe4)!==_0x256857(_0xbbde3f,_0x5aff52(0xd4)));}[_0x46e315(0xb1)](_0x3f80a8){const _0x293726=_0x46e315;return!!_0x3f80a8&&Boolean(_0x22821a(_0x3f80a8)&&_0xacb80d(_0x3f80a8)[_0x293726(0xc0)](/removed[\s*-]data-id="[^"]+"/));}[_0x46e315(0xbc)](_0x4ed08d){const _0x375abb=_0x46e315;let _0x9f9795=_0x4ed08d[_0x375abb(0xb7)];for(;_0x9f9795;){if(_0x256857(_0x9f9795,_0x375abb(0xc4)))return!0x0;_0x9f9795=_0x9f9795[_0x375abb(0xb7)];}return!0x1;}[_0x46e315(0xd9)](_0x232977){const _0x362f62=_0x46e315;return Boolean(_0x22821a(_0x232977)&&_0xacb80d(_0x232977)[_0x362f62(0xc0)](/\s*existing[\s*-](content|document)\s*/g));}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x64a5ec=_0x51e2;(function(_0x354d25,_0x5d6167){const _0x246c99=_0x51e2,_0x519747=_0x354d25();while(!![]){try{const _0x2e87a6=-parseInt(_0x246c99(0x16d))/0x1*(-parseInt(_0x246c99(0x16b))/0x2)+parseInt(_0x246c99(0x163))/0x3*(-parseInt(_0x246c99(0x177))/0x4)+-parseInt(_0x246c99(0x175))/0x5*(-parseInt(_0x246c99(0x173))/0x6)+-parseInt(_0x246c99(0x165))/0x7*(-parseInt(_0x246c99(0x167))/0x8)+parseInt(_0x246c99(0x166))/0x9+parseInt(_0x246c99(0x174))/0xa*(parseInt(_0x246c99(0x171))/0xb)+-parseInt(_0x246c99(0x16f))/0xc;if(_0x2e87a6===_0x5d6167)break;else _0x519747['push'](_0x519747['shift']());}catch(_0x247945){_0x519747['push'](_0x519747['shift']());}}}(_0x294d,0x343df));function _0x51e2(_0x8d61b7,_0x5096f6){const _0x294dc0=_0x294d();return _0x51e2=function(_0x51e2c6,_0x1e10b0){_0x51e2c6=_0x51e2c6-0x163;let _0x3e36d9=_0x294dc0[_0x51e2c6];return _0x3e36d9;},_0x51e2(_0x8d61b7,_0x5096f6);}import{ObservableMixin as _0x47ca7d}from'ckeditor5/src/utils.js';import{MarkdownGfmMdToHtml as _0x2f3919}from'@ckeditor/ckeditor5-markdown-gfm';import{parse as _0x7486a6}from'../utils/htmlparser.js';function _0x294d(){const _0x4dd219=['460SmTzyD','_parseHTML','52NavLgg','78114JBkFyi','children','1799dEnuAz','1041480afSQYh','11496cHLdMI','<dummy>','convertMarkdownToHTML','_m2html','34978Xvpgfl','parse','9ZJEvkB','parseAndNormalizeHTML','7899216vtprrI','replace','2027377MzMhjc','</dummy>','25044uQbYgx','10UICPZz'];_0x294d=function(){return _0x4dd219;};return _0x294d();}export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
- _0x47ca7d(){[_0x64a5ec(0x16a)];constructor(){const _0x333d57=_0x64a5ec;super(),this[_0x333d57(0x16a)]=new _0x2f3919();}[_0x64a5ec(0x169)](_0x4b7486){const _0x2f0433=_0x64a5ec,_0x5774b0=this[_0x2f0433(0x16a)][_0x2f0433(0x16c)](_0x4b7486);return this[_0x2f0433(0x16e)](_0x5774b0);}[_0x64a5ec(0x16e)](_0x2c6616){const _0x39c9f8=_0x64a5ec;return this[_0x39c9f8(0x176)](_0x2c6616);}[_0x64a5ec(0x176)](_0x557363){const _0x2402d8=_0x64a5ec,_0x1e416b=_0x557363[_0x2402d8(0x170)](/^\t+/gm,'\x20')[_0x2402d8(0x170)](/\n*/g,'')[_0x2402d8(0x170)](/\s+/g,'\x20')[_0x2402d8(0x170)](/<[^>]*?$/g,''),_0x10403f=_0x7486a6(_0x2402d8(0x168)+_0x1e416b+_0x2402d8(0x172));return _0x10403f[_0x2402d8(0x164)]=_0x10403f[_0x2402d8(0x164)][0x0][_0x2402d8(0x164)],_0x10403f;}}
23
+ function _0x56d4(){const _0x3fde78=['39153aaedtV','316ubcdlO','convertMarkdownToHTML','80bolaBQ','3843qtZZLd','127djDfHI','6RNCqUA','11801671qYlhkH','replace','children','parseAndNormalizeHTML','<dummy>','_parseHTML','8818JxnRdH','12359784arnroz','257906ofTnAr','</dummy>','_m2html','27992mIiVgc','parse','2122425FgjUZB'];_0x56d4=function(){return _0x3fde78;};return _0x56d4();}const _0x51c3a9=_0x1db9;(function(_0x45db57,_0x59a838){const _0x5aea79=_0x1db9,_0x1be310=_0x45db57();while(!![]){try{const _0x5e268a=-parseInt(_0x5aea79(0xd2))/0x1*(-parseInt(_0x5aea79(0xda))/0x2)+parseInt(_0x5aea79(0xe2))/0x3*(-parseInt(_0x5aea79(0xe3))/0x4)+parseInt(_0x5aea79(0xe1))/0x5+parseInt(_0x5aea79(0xd3))/0x6*(-parseInt(_0x5aea79(0xd4))/0x7)+-parseInt(_0x5aea79(0xdf))/0x8*(-parseInt(_0x5aea79(0xd1))/0x9)+-parseInt(_0x5aea79(0xd0))/0xa*(-parseInt(_0x5aea79(0xdc))/0xb)+parseInt(_0x5aea79(0xdb))/0xc;if(_0x5e268a===_0x59a838)break;else _0x1be310['push'](_0x1be310['shift']());}catch(_0x153951){_0x1be310['push'](_0x1be310['shift']());}}}(_0x56d4,0xef07d));import{ObservableMixin as _0x1ea39b}from'ckeditor5/src/utils.js';import{MarkdownGfmMdToHtml as _0x2f8f29}from'@ckeditor/ckeditor5-markdown-gfm';function _0x1db9(_0x5e68c2,_0x47c9b0){const _0x56d458=_0x56d4();return _0x1db9=function(_0x1db9a5,_0x156906){_0x1db9a5=_0x1db9a5-0xd0;let _0x45934e=_0x56d458[_0x1db9a5];return _0x45934e;},_0x1db9(_0x5e68c2,_0x47c9b0);}import{parse as _0x1aa41a}from'../utils/htmlparser.js';export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
+ _0x1ea39b(){[_0x51c3a9(0xde)];constructor(){const _0x24fe98=_0x51c3a9;super(),this[_0x24fe98(0xde)]=new _0x2f8f29();}[_0x51c3a9(0xe4)](_0x1f2da1){const _0x29f5ca=_0x51c3a9,_0x22d0d9=this[_0x29f5ca(0xde)][_0x29f5ca(0xe0)](_0x1f2da1);return this[_0x29f5ca(0xd7)](_0x22d0d9);}[_0x51c3a9(0xd7)](_0x56d0bf){const _0x27a04f=_0x51c3a9;return this[_0x27a04f(0xd9)](_0x56d0bf);}[_0x51c3a9(0xd9)](_0x42c97a){const _0x2b490a=_0x51c3a9,_0x19ff32=_0x42c97a[_0x2b490a(0xd5)](/^\t+/gm,'\x20')[_0x2b490a(0xd5)](/\n*/g,'')[_0x2b490a(0xd5)](/\s+/g,'\x20')[_0x2b490a(0xd5)](/<[^>]*?$/g,''),_0x3a8c0f=_0x1aa41a(_0x2b490a(0xd8)+_0x19ff32+_0x2b490a(0xdd));return _0x3a8c0f[_0x2b490a(0xd6)]=_0x3a8c0f[_0x2b490a(0xd6)][0x0][_0x2b490a(0xd6)],_0x3a8c0f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x44b3(_0x2314c5,_0x41d668){const _0x509cdb=_0x509c();return _0x44b3=function(_0x44b3eb,_0x17abb9){_0x44b3eb=_0x44b3eb-0x19a;let _0xcae72c=_0x509cdb[_0x44b3eb];return _0xcae72c;},_0x44b3(_0x2314c5,_0x41d668);}(function(_0x393138,_0x54da2d){const _0x4aa19f=_0x44b3,_0x3bcaab=_0x393138();while(!![]){try{const _0xc5de45=-parseInt(_0x4aa19f(0x1a6))/0x1*(-parseInt(_0x4aa19f(0x19a))/0x2)+parseInt(_0x4aa19f(0x1a2))/0x3*(-parseInt(_0x4aa19f(0x1a8))/0x4)+parseInt(_0x4aa19f(0x19e))/0x5*(-parseInt(_0x4aa19f(0x19b))/0x6)+parseInt(_0x4aa19f(0x1a7))/0x7*(parseInt(_0x4aa19f(0x1a9))/0x8)+-parseInt(_0x4aa19f(0x19f))/0x9+-parseInt(_0x4aa19f(0x19c))/0xa*(parseInt(_0x4aa19f(0x1a0))/0xb)+parseInt(_0x4aa19f(0x1a5))/0xc;if(_0xc5de45===_0x54da2d)break;else _0x3bcaab['push'](_0x3bcaab['shift']());}catch(_0x5cb9a2){_0x3bcaab['push'](_0x3bcaab['shift']());}}}(_0x509c,0xb7e20));import{SpinnerView as _0x3ba110}from'ckeditor5/src/ui.js';function _0x509c(){const _0xf997cf=['20907804TEaopL','1OGgrgt','126UYrrsc','106844wUXVSA','159096HeJPyR','434046glHBwB','207168Nndoiz','6454010ZJVBLF','extendTemplate','110DMunJF','951147kpJoHD','11ojWoDM','ck-ai-spinner','6UyJRhL','span','ck-ai-spinner_'];_0x509c=function(){return _0xf997cf;};return _0x509c();}export class AISpinnerView extends _0x3ba110{constructor(_0x48efc9=void 0x0){const _0xf55904=_0x44b3;super();const _0x385012=_0x48efc9?_0xf55904(0x1a4)+_0x48efc9:'';this[_0xf55904(0x19d)]({'tag':_0xf55904(0x1a3),'attributes':{'class':[_0xf55904(0x1a1),_0x385012]}});}}
23
+ function _0x5272(_0x140dc4,_0x520b3e){const _0x1ec617=_0x1ec6();return _0x5272=function(_0x52721f,_0x45d49){_0x52721f=_0x52721f-0xf2;let _0x3eb0b2=_0x1ec617[_0x52721f];return _0x3eb0b2;},_0x5272(_0x140dc4,_0x520b3e);}(function(_0x3daae8,_0x4f0060){const _0xf03237=_0x5272,_0x42babd=_0x3daae8();while(!![]){try{const _0x1d47ed=parseInt(_0xf03237(0xf2))/0x1*(parseInt(_0xf03237(0xfd))/0x2)+-parseInt(_0xf03237(0xf7))/0x3+parseInt(_0xf03237(0xf6))/0x4+parseInt(_0xf03237(0xf4))/0x5*(-parseInt(_0xf03237(0xfe))/0x6)+parseInt(_0xf03237(0xf5))/0x7*(parseInt(_0xf03237(0x101))/0x8)+-parseInt(_0xf03237(0xff))/0x9*(-parseInt(_0xf03237(0xf3))/0xa)+parseInt(_0xf03237(0x100))/0xb*(parseInt(_0xf03237(0xfa))/0xc);if(_0x1d47ed===_0x4f0060)break;else _0x42babd['push'](_0x42babd['shift']());}catch(_0x210992){_0x42babd['push'](_0x42babd['shift']());}}}(_0x1ec6,0x74b4c));function _0x1ec6(){const _0x385b0a=['386110HTHFhh','7362TJczWK','183942WIANZj','312158IVCRWk','196624YTMzQa','1mNYnwq','310zhCVMJ','2110rWXYnR','14AobTUU','1957728QaaGVW','1533867oXFRgM','ck-ai-spinner','span','60vIoioH','ck-ai-spinner_','extendTemplate'];_0x1ec6=function(){return _0x385b0a;};return _0x1ec6();}import{SpinnerView as _0x5a1a8b}from'ckeditor5/src/ui.js';export class AISpinnerView extends _0x5a1a8b{constructor(_0x44df14=void 0x0){const _0x4dabb5=_0x5272;super();const _0x4275e7=_0x44df14?_0x4dabb5(0xfb)+_0x44df14:'';this[_0x4dabb5(0xfc)]({'tag':_0x4dabb5(0xf9),'attributes':{'class':[_0x4dabb5(0xf8),_0x4275e7]}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x483a9e=_0x548f;(function(_0x3481ad,_0x2e9da2){const _0x56f4e5=_0x548f,_0x550a13=_0x3481ad();while(!![]){try{const _0xa55ac5=parseInt(_0x56f4e5(0x156))/0x1*(parseInt(_0x56f4e5(0x16f))/0x2)+parseInt(_0x56f4e5(0x14a))/0x3+parseInt(_0x56f4e5(0x163))/0x4*(parseInt(_0x56f4e5(0x151))/0x5)+parseInt(_0x56f4e5(0x157))/0x6*(-parseInt(_0x56f4e5(0x15f))/0x7)+parseInt(_0x56f4e5(0x164))/0x8*(-parseInt(_0x56f4e5(0x14f))/0x9)+-parseInt(_0x56f4e5(0x13e))/0xa*(-parseInt(_0x56f4e5(0x143))/0xb)+parseInt(_0x56f4e5(0x16a))/0xc*(-parseInt(_0x56f4e5(0x167))/0xd);if(_0xa55ac5===_0x2e9da2)break;else _0x550a13['push'](_0x550a13['shift']());}catch(_0x5ae968){_0x550a13['push'](_0x550a13['shift']());}}}(_0x4da3,0x4bb82));import{ButtonView as _0x2861ce,IconView as _0x5792a3,ToolbarView as _0x1a50c9}from'ckeditor5/src/ui.js';function _0x548f(_0x1e507d,_0x5a70a1){const _0x4da3ab=_0x4da3();return _0x548f=function(_0x548f4c,_0x4c9c19){_0x548f4c=_0x548f4c-0x13e;let _0x32c7b7=_0x4da3ab[_0x548f4c];return _0x32c7b7;},_0x548f(_0x1e507d,_0x5a70a1);}import{IconCheck as _0x2ad410,IconCopy as _0xb8034d,IconShowChangesOff as _0x2b5637,IconShowChangesOn as _0x95678e,IconThumbDown as _0x115cc9,IconThumbUp as _0x57a8dd}from'@ckeditor/ckeditor5-icons';function _0x4da3(){const _0x35aac1=['addMany','AI_MINI_TOOLBAR_LIKE','1352INHaQG','showLike','ck-ai-mini-toolbar-copy-button__check-mark','16980dhappI','dislike','dislikeButton','showChangesButton','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','814598VuItRC','ck-ai-mini-toolbar','_setupShowChangesButton','extendTemplate','items','40OqDAOP','isLoading','showCopy','AI_MINI_TOOLBAR_COPY','full','392029LHrUgS','fire','like','ck-ai-mini-toolbar\x20ck-hidden','ck-ai-mini-toolbar-copy-button','children','length','1610880NWvKYH','AI_MINI_TOOLBAR_DISLIKE','locale','_setupRatingButtons','class','650682SpqNJm','likeButton','1005595fcjZGN','toggleShowChanges','execute','set','customView','1yPCpFJ','3156qdCuLn','showDislike','add','_config','isEnabled','AI_SUGGESTION_BUTTON_SHOW_CHANGES','copyButton','_setupCopyButton','4319pUdlCO','bind','showChanges','isOn','4WevogL','56lYMRtO'];_0x4da3=function(){return _0x35aac1;};return _0x4da3();}import{getTranslation as _0x3b1760}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x1a50c9{[_0x483a9e(0x15d)];[_0x483a9e(0x150)];[_0x483a9e(0x16c)];[_0x483a9e(0x16d)];[_0x483a9e(0x15a)];constructor(_0x59ae65,_0x46223a={},_0x12e42e){const _0x566d5d=_0x483a9e;super(_0x59ae65),this[_0x566d5d(0x154)](_0x566d5d(0x13f),!0x1),this[_0x566d5d(0x15a)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x46223a};const _0x246087=!(this[_0x566d5d(0x15a)][_0x566d5d(0x140)]||this[_0x566d5d(0x15a)][_0x566d5d(0x161)]||this[_0x566d5d(0x15a)][_0x566d5d(0x168)]||this[_0x566d5d(0x15a)][_0x566d5d(0x158)]||this[_0x566d5d(0x15a)][_0x566d5d(0x155)]?.[_0x566d5d(0x149)]);this[_0x566d5d(0x14e)]=_0x246087?_0x566d5d(0x146):_0x566d5d(0x170),this[_0x566d5d(0x15a)][_0x566d5d(0x140)]&&(this[_0x566d5d(0x15e)](),this[_0x566d5d(0x173)][_0x566d5d(0x159)](this[_0x566d5d(0x15d)])),this[_0x566d5d(0x15a)][_0x566d5d(0x161)]&&(this[_0x566d5d(0x171)](_0x12e42e),this[_0x566d5d(0x173)][_0x566d5d(0x159)](this[_0x566d5d(0x16d)])),this[_0x566d5d(0x14d)](),this[_0x566d5d(0x15a)][_0x566d5d(0x168)]&&this[_0x566d5d(0x173)][_0x566d5d(0x159)](this[_0x566d5d(0x150)]),this[_0x566d5d(0x15a)][_0x566d5d(0x158)]&&this[_0x566d5d(0x173)][_0x566d5d(0x159)](this[_0x566d5d(0x16c)]),this[_0x566d5d(0x15a)][_0x566d5d(0x155)]&&this[_0x566d5d(0x173)][_0x566d5d(0x165)](this[_0x566d5d(0x15a)][_0x566d5d(0x155)]);}[_0x483a9e(0x14d)](){const _0x195173=_0x483a9e;this[_0x195173(0x150)]=new _0x2861ce(this[_0x195173(0x14c)]),this[_0x195173(0x150)][_0x195173(0x154)]({'icon':_0x57a8dd,'label':_0x3b1760(this[_0x195173(0x14c)],_0x195173(0x166)),'tooltip':!0x0}),this[_0x195173(0x150)][_0x195173(0x160)](_0x195173(0x15b))['to'](this,_0x195173(0x13f),_0x3b383c=>!_0x3b383c),this[_0x195173(0x150)]['on'](_0x195173(0x153),()=>{const _0x3a82fe=_0x195173;this[_0x3a82fe(0x144)](_0x3a82fe(0x145));}),this[_0x195173(0x16c)]=new _0x2861ce(this[_0x195173(0x14c)]),this[_0x195173(0x16c)][_0x195173(0x154)]({'icon':_0x115cc9,'label':_0x3b1760(this[_0x195173(0x14c)],_0x195173(0x14b)),'tooltip':!0x0}),this[_0x195173(0x16c)][_0x195173(0x160)](_0x195173(0x15b))['to'](this,_0x195173(0x13f),_0x648a0e=>!_0x648a0e),this[_0x195173(0x16c)]['on'](_0x195173(0x153),()=>{const _0x320044=_0x195173;this[_0x320044(0x144)](_0x320044(0x16b));});}[_0x483a9e(0x15e)](){const _0x1c1aa8=_0x483a9e;this[_0x1c1aa8(0x15d)]=new _0x2861ce(this[_0x1c1aa8(0x14c)]),this[_0x1c1aa8(0x15d)][_0x1c1aa8(0x154)]({'icon':_0xb8034d,'label':_0x3b1760(this[_0x1c1aa8(0x14c)],_0x1c1aa8(0x141)),'class':_0x1c1aa8(0x147),'tooltip':!0x0}),this[_0x1c1aa8(0x15d)][_0x1c1aa8(0x160)](_0x1c1aa8(0x15b))['to'](this,_0x1c1aa8(0x13f),_0x24831a=>!_0x24831a);const _0x38b8f0=new _0x5792a3();_0x38b8f0[_0x1c1aa8(0x154)]({'content':_0x2ad410}),_0x38b8f0[_0x1c1aa8(0x172)]({'attributes':{'class':[_0x1c1aa8(0x169)]}}),this[_0x1c1aa8(0x15d)]['on'](_0x1c1aa8(0x153),()=>{const _0x39589d=_0x1c1aa8;this[_0x39589d(0x15d)][_0x39589d(0x14e)]=_0x39589d(0x16e),setTimeout(()=>{const _0x28f1df=_0x39589d;this[_0x28f1df(0x15d)][_0x28f1df(0x14e)]=_0x28f1df(0x147);},0x7d0);}),this[_0x1c1aa8(0x15d)][_0x1c1aa8(0x148)][_0x1c1aa8(0x159)](_0x38b8f0);}[_0x483a9e(0x171)](_0x503fdf){const _0x2d1dfa=_0x483a9e;this[_0x2d1dfa(0x16d)]=new _0x2861ce(this[_0x2d1dfa(0x14c)]),this[_0x2d1dfa(0x16d)][_0x2d1dfa(0x154)]({'icon':_0x2b5637,'label':_0x3b1760(this[_0x2d1dfa(0x14c)],_0x2d1dfa(0x15c)),'withText':_0x2d1dfa(0x142)==this[_0x2d1dfa(0x15a)][_0x2d1dfa(0x161)],'tooltip':_0x2d1dfa(0x142)!=this[_0x2d1dfa(0x15a)][_0x2d1dfa(0x161)],'isOn':_0x503fdf}),this[_0x2d1dfa(0x16d)][_0x2d1dfa(0x160)](_0x2d1dfa(0x15b))['to'](this,_0x2d1dfa(0x13f),_0x180c41=>!_0x180c41),this[_0x2d1dfa(0x16d)]['on'](_0x2d1dfa(0x153),()=>{const _0x4f1f56=_0x2d1dfa,_0x31338d=!this[_0x4f1f56(0x16d)][_0x4f1f56(0x162)];this[_0x4f1f56(0x16d)][_0x4f1f56(0x154)]({'isOn':_0x31338d,'icon':_0x31338d?_0x95678e:_0x2b5637}),this[_0x4f1f56(0x144)](_0x4f1f56(0x152),_0x31338d);});}}
23
+ const _0x3f2065=_0x18cc;(function(_0x55d8dc,_0x445d03){const _0x2c171b=_0x18cc,_0x2d3613=_0x55d8dc();while(!![]){try{const _0x33fccd=-parseInt(_0x2c171b(0x1da))/0x1+-parseInt(_0x2c171b(0x1fb))/0x2*(-parseInt(_0x2c171b(0x1f1))/0x3)+parseInt(_0x2c171b(0x1d5))/0x4+parseInt(_0x2c171b(0x200))/0x5+-parseInt(_0x2c171b(0x207))/0x6*(-parseInt(_0x2c171b(0x1ff))/0x7)+-parseInt(_0x2c171b(0x203))/0x8+-parseInt(_0x2c171b(0x1fc))/0x9*(-parseInt(_0x2c171b(0x1ed))/0xa);if(_0x33fccd===_0x445d03)break;else _0x2d3613['push'](_0x2d3613['shift']());}catch(_0x516c5b){_0x2d3613['push'](_0x2d3613['shift']());}}}(_0x5d94,0x8aa4f));import{ButtonView as _0x4b93e4,IconView as _0x4878f1,ToolbarView as _0x3f1142}from'ckeditor5/src/ui.js';import{IconCheck as _0xbd9328,IconCopy as _0x2b044d,IconShowChangesOff as _0x480d4a,IconShowChangesOn as _0xd15c37,IconThumbDown as _0x1115f9,IconThumbUp as _0x2f957b}from'@ckeditor/ckeditor5-icons';function _0x18cc(_0x30c7ba,_0xf0b847){const _0x5d9462=_0x5d94();return _0x18cc=function(_0x18cc30,_0x49a917){_0x18cc30=_0x18cc30-0x1d5;let _0x754ce=_0x5d9462[_0x18cc30];return _0x754ce;},_0x18cc(_0x30c7ba,_0xf0b847);}function _0x5d94(){const _0x3d852b=['2095284pMjWau','AI_MINI_TOOLBAR_DISLIKE','class','showDislike','children','946815KuaxZx','ck-ai-mini-toolbar\x20ck-hidden','length','isEnabled','toggleShowChanges','showCopy','copyButton','isLoading','showChanges','_config','_setupRatingButtons','execute','ck-ai-mini-toolbar','AI_SUGGESTION_BUTTON_SHOW_CHANGES','ck-ai-mini-toolbar-copy-button','extendTemplate','locale','add','full','10nEVtzj','dislike','fire','bind','6651PgaTfX','items','_setupShowChangesButton','likeButton','showLike','AI_MINI_TOOLBAR_LIKE','_setupCopyButton','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','like','showChangesButton','436sjtwjI','249489GPeuKz','set','ck-ai-mini-toolbar-copy-button__check-mark','14aPmvyr','4766380HPZSMg','customView','addMany','7088768xZWJGh','AI_MINI_TOOLBAR_COPY','isOn','dislikeButton','1238022zouyey'];_0x5d94=function(){return _0x3d852b;};return _0x5d94();}import{getTranslation as _0x2e02b6}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x3f1142{[_0x3f2065(0x1e0)];[_0x3f2065(0x1f4)];[_0x3f2065(0x206)];[_0x3f2065(0x1fa)];[_0x3f2065(0x1e3)];constructor(_0x522e95,_0xa88be6={},_0x2e8101){const _0x2b1718=_0x3f2065;super(_0x522e95),this[_0x2b1718(0x1fd)](_0x2b1718(0x1e1),!0x1),this[_0x2b1718(0x1e3)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0xa88be6};const _0x50c34d=!(this[_0x2b1718(0x1e3)][_0x2b1718(0x1df)]||this[_0x2b1718(0x1e3)][_0x2b1718(0x1e2)]||this[_0x2b1718(0x1e3)][_0x2b1718(0x1f5)]||this[_0x2b1718(0x1e3)][_0x2b1718(0x1d8)]||this[_0x2b1718(0x1e3)][_0x2b1718(0x201)]?.[_0x2b1718(0x1dc)]);this[_0x2b1718(0x1d7)]=_0x50c34d?_0x2b1718(0x1db):_0x2b1718(0x1e6),this[_0x2b1718(0x1e3)][_0x2b1718(0x1df)]&&(this[_0x2b1718(0x1f7)](),this[_0x2b1718(0x1f2)][_0x2b1718(0x1eb)](this[_0x2b1718(0x1e0)])),this[_0x2b1718(0x1e3)][_0x2b1718(0x1e2)]&&(this[_0x2b1718(0x1f3)](_0x2e8101),this[_0x2b1718(0x1f2)][_0x2b1718(0x1eb)](this[_0x2b1718(0x1fa)])),this[_0x2b1718(0x1e4)](),this[_0x2b1718(0x1e3)][_0x2b1718(0x1f5)]&&this[_0x2b1718(0x1f2)][_0x2b1718(0x1eb)](this[_0x2b1718(0x1f4)]),this[_0x2b1718(0x1e3)][_0x2b1718(0x1d8)]&&this[_0x2b1718(0x1f2)][_0x2b1718(0x1eb)](this[_0x2b1718(0x206)]),this[_0x2b1718(0x1e3)][_0x2b1718(0x201)]&&this[_0x2b1718(0x1f2)][_0x2b1718(0x202)](this[_0x2b1718(0x1e3)][_0x2b1718(0x201)]);}[_0x3f2065(0x1e4)](){const _0xeba8f6=_0x3f2065;this[_0xeba8f6(0x1f4)]=new _0x4b93e4(this[_0xeba8f6(0x1ea)]),this[_0xeba8f6(0x1f4)][_0xeba8f6(0x1fd)]({'icon':_0x2f957b,'label':_0x2e02b6(this[_0xeba8f6(0x1ea)],_0xeba8f6(0x1f6)),'tooltip':!0x0}),this[_0xeba8f6(0x1f4)][_0xeba8f6(0x1f0)](_0xeba8f6(0x1dd))['to'](this,_0xeba8f6(0x1e1),_0x27456a=>!_0x27456a),this[_0xeba8f6(0x1f4)]['on'](_0xeba8f6(0x1e5),()=>{const _0x1e09cc=_0xeba8f6;this[_0x1e09cc(0x1ef)](_0x1e09cc(0x1f9));}),this[_0xeba8f6(0x206)]=new _0x4b93e4(this[_0xeba8f6(0x1ea)]),this[_0xeba8f6(0x206)][_0xeba8f6(0x1fd)]({'icon':_0x1115f9,'label':_0x2e02b6(this[_0xeba8f6(0x1ea)],_0xeba8f6(0x1d6)),'tooltip':!0x0}),this[_0xeba8f6(0x206)][_0xeba8f6(0x1f0)](_0xeba8f6(0x1dd))['to'](this,_0xeba8f6(0x1e1),_0x4b4dcd=>!_0x4b4dcd),this[_0xeba8f6(0x206)]['on'](_0xeba8f6(0x1e5),()=>{const _0x4c0ff0=_0xeba8f6;this[_0x4c0ff0(0x1ef)](_0x4c0ff0(0x1ee));});}[_0x3f2065(0x1f7)](){const _0x44cffc=_0x3f2065;this[_0x44cffc(0x1e0)]=new _0x4b93e4(this[_0x44cffc(0x1ea)]),this[_0x44cffc(0x1e0)][_0x44cffc(0x1fd)]({'icon':_0x2b044d,'label':_0x2e02b6(this[_0x44cffc(0x1ea)],_0x44cffc(0x204)),'class':_0x44cffc(0x1e8),'tooltip':!0x0}),this[_0x44cffc(0x1e0)][_0x44cffc(0x1f0)](_0x44cffc(0x1dd))['to'](this,_0x44cffc(0x1e1),_0x4ffbc0=>!_0x4ffbc0);const _0x4d9ce9=new _0x4878f1();_0x4d9ce9[_0x44cffc(0x1fd)]({'content':_0xbd9328}),_0x4d9ce9[_0x44cffc(0x1e9)]({'attributes':{'class':[_0x44cffc(0x1fe)]}}),this[_0x44cffc(0x1e0)]['on'](_0x44cffc(0x1e5),()=>{const _0xb592e0=_0x44cffc;this[_0xb592e0(0x1e0)][_0xb592e0(0x1d7)]=_0xb592e0(0x1f8),setTimeout(()=>{const _0x1bd85a=_0xb592e0;this[_0x1bd85a(0x1e0)][_0x1bd85a(0x1d7)]=_0x1bd85a(0x1e8);},0x7d0);}),this[_0x44cffc(0x1e0)][_0x44cffc(0x1d9)][_0x44cffc(0x1eb)](_0x4d9ce9);}[_0x3f2065(0x1f3)](_0x41d50c){const _0x1cbb6a=_0x3f2065;this[_0x1cbb6a(0x1fa)]=new _0x4b93e4(this[_0x1cbb6a(0x1ea)]),this[_0x1cbb6a(0x1fa)][_0x1cbb6a(0x1fd)]({'icon':_0x480d4a,'label':_0x2e02b6(this[_0x1cbb6a(0x1ea)],_0x1cbb6a(0x1e7)),'withText':_0x1cbb6a(0x1ec)==this[_0x1cbb6a(0x1e3)][_0x1cbb6a(0x1e2)],'tooltip':_0x1cbb6a(0x1ec)!=this[_0x1cbb6a(0x1e3)][_0x1cbb6a(0x1e2)],'isOn':_0x41d50c}),this[_0x1cbb6a(0x1fa)][_0x1cbb6a(0x1f0)](_0x1cbb6a(0x1dd))['to'](this,_0x1cbb6a(0x1e1),_0x57f169=>!_0x57f169),this[_0x1cbb6a(0x1fa)]['on'](_0x1cbb6a(0x1e5),()=>{const _0x2fea4b=_0x1cbb6a,_0x5cb5e5=!this[_0x2fea4b(0x1fa)][_0x2fea4b(0x205)];this[_0x2fea4b(0x1fa)][_0x2fea4b(0x1fd)]({'isOn':_0x5cb5e5,'icon':_0x5cb5e5?_0xd15c37:_0x480d4a}),this[_0x2fea4b(0x1ef)](_0x2fea4b(0x1de),_0x5cb5e5);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ad021=_0x1ec9;(function(_0x15b99a,_0x504263){const _0x4571fd=_0x1ec9,_0x13746b=_0x15b99a();while(!![]){try{const _0x4edf34=parseInt(_0x4571fd(0x7a))/0x1*(-parseInt(_0x4571fd(0xd2))/0x2)+parseInt(_0x4571fd(0xb8))/0x3+-parseInt(_0x4571fd(0x7d))/0x4+parseInt(_0x4571fd(0xa5))/0x5+-parseInt(_0x4571fd(0x98))/0x6+parseInt(_0x4571fd(0xde))/0x7*(-parseInt(_0x4571fd(0x9a))/0x8)+parseInt(_0x4571fd(0x7f))/0x9*(parseInt(_0x4571fd(0xcd))/0xa);if(_0x4edf34===_0x504263)break;else _0x13746b['push'](_0x13746b['shift']());}catch(_0x127b63){_0x13746b['push'](_0x13746b['shift']());}}}(_0x7eec,0x2b5d5));import{IconWeb as _0x46da96}from'@ckeditor/ckeditor5-icons';import{View as _0x39c6ec,ButtonView as _0x539371,IconView as _0x139c82,BalloonPanelView as _0x56d45b}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x5a8379}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x125293}from'./aisuggestionheaderview.js';function _0x1ec9(_0x9dea1e,_0xb18431){const _0x7eec35=_0x7eec();return _0x1ec9=function(_0x1ec99a,_0x401953){_0x1ec99a=_0x1ec99a-0x6a;let _0x1cb10b=_0x7eec35[_0x1ec99a];return _0x1cb10b;},_0x1ec9(_0x9dea1e,_0xb18431);}import{AISuggestionBodyView as _0x13b5a2}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x432706}from'../../utils/eventnames.js';import{AISpinnerView as _0x461891}from'../aispinner.js';import{getTranslation as _0x1b69e0}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x39c6ec{[_0x5ad021(0x9b)];[_0x5ad021(0x9e)];[_0x5ad021(0x6c)];[_0x5ad021(0x93)];[_0x5ad021(0x95)];[_0x5ad021(0xca)];[_0x5ad021(0xd5)];[_0x5ad021(0xbd)];constructor(_0x5d33f0,_0x2c5fd4,_0x5f3782){const _0x1f42ca=_0x5ad021;super(_0x5d33f0),this[_0x1f42ca(0xbd)]=_0x5f3782;const {showDiff:_0x37c409,areActionsDisabled:_0x54e29a,miniToolbarConfig:_0x204197,hideHeader:_0x339e11,showLoader:_0x4f7816,showUnchangedParts:_0x23e317,availableActions:_0x565591}=_0x2c5fd4;this[_0x1f42ca(0xb0)](_0x1f42ca(0xa1),!0x1),this[_0x1f42ca(0xb0)](_0x1f42ca(0xb4),!!_0x4f7816),this[_0x1f42ca(0xb0)](_0x1f42ca(0xac),!0x1),this[_0x1f42ca(0xb0)](_0x1f42ca(0x88),!0x1),this[_0x1f42ca(0x6c)]=this[_0x1f42ca(0x82)](),_0x339e11||(this[_0x1f42ca(0x93)]=new _0x125293(_0x5d33f0,{'showDiff':_0x37c409}),this[_0x1f42ca(0x93)]['on'](_0x1f42ca(0x90),(_0x36c9df,_0x2dc4fc)=>{const _0x358257=_0x1f42ca;this[_0x358257(0xa1)]=_0x2dc4fc[_0x358257(0xc2)],this[_0x358257(0xb9)](_0x358257(0x6e),{'showDiff':_0x2dc4fc[_0x358257(0xc2)]});}),this[_0x1f42ca(0x6c)][_0x1f42ca(0xb5)](this[_0x1f42ca(0x93)])),this[_0x1f42ca(0x9b)]=new _0x13b5a2(_0x5d33f0,{'areActionsDisabled':_0x54e29a,'showUnchangedParts':!!_0x23e317,'availableActions':_0x565591}),this[_0x1f42ca(0x9b)][_0x1f42ca(0x74)](..._0x432706)['to'](this),this[_0x1f42ca(0x9b)][_0x1f42ca(0x7b)]({'attributes':{'class':[this[_0x1f42ca(0x6b)]['if'](_0x1f42ca(0xb4),_0x1f42ca(0xb6)),this[_0x1f42ca(0x6b)]['if'](_0x1f42ca(0xac),_0x1f42ca(0xb6))]}}),this[_0x1f42ca(0x9e)]=new _0x5a8379(_0x5d33f0,_0x204197,_0x37c409),this[_0x1f42ca(0x9e)][_0x1f42ca(0x74)](..._0x432706)['to'](this),this[_0x1f42ca(0x9e)]['on'](_0x1f42ca(0x90),(_0x756911,_0x4759bf)=>{const _0x4e358e=_0x1f42ca;this[_0x4e358e(0xa1)]=_0x4759bf,this[_0x4e358e(0xb9)](_0x4e358e(0x6e),{'showDiff':_0x4759bf});}),this[_0x1f42ca(0x9e)][_0x1f42ca(0xd3)](_0x1f42ca(0x88))['to'](this),this[_0x1f42ca(0x6c)][_0x1f42ca(0xb5)](this[_0x1f42ca(0x9b)]),this[_0x1f42ca(0x6c)][_0x1f42ca(0xb5)](this[_0x1f42ca(0x9e)]),this[_0x1f42ca(0xd5)]=new AIWebSourcesView(this[_0x1f42ca(0xdb)],this[_0x1f42ca(0xbd)]),this[_0x1f42ca(0x6c)][_0x1f42ca(0xb5)](this[_0x1f42ca(0xd5)]),_0x4f7816&&(this[_0x1f42ca(0x95)]=this[_0x1f42ca(0xa7)](),this[_0x1f42ca(0x6c)][_0x1f42ca(0xb5)](this[_0x1f42ca(0x95)])),this[_0x1f42ca(0xca)]=this[_0x1f42ca(0xbb)](),this[_0x1f42ca(0x6c)][_0x1f42ca(0xb5)](this[_0x1f42ca(0xca)]),this[_0x1f42ca(0xc8)]({'tag':_0x1f42ca(0x8b),'attributes':{'class':['ck',_0x1f42ca(0xdc),_0x1f42ca(0xda)]},'children':this[_0x1f42ca(0x6c)]});}async[_0x5ad021(0xb1)](_0x5443b5){const _0x36f3aa=_0x5ad021;await this[_0x36f3aa(0x9b)][_0x36f3aa(0x84)](_0x5443b5);}[_0x5ad021(0x70)](_0x5407bf){const _0x3a933e=_0x5ad021,_0x55c501=this[_0x3a933e(0xd5)],_0x1a4907=_0x55c501[_0x3a933e(0x75)];_0x55c501[_0x3a933e(0x6c)][_0x3a933e(0x7e)](_0x5407bf[_0x3a933e(0x80)](_0x482e81=>new AIWebSourceView(this[_0x3a933e(0xdb)],_0x482e81,_0x1a4907))),_0x55c501[_0x3a933e(0xaa)]=!0x0;}[_0x5ad021(0xa9)](){const _0x175864=_0x5ad021;this[_0x175864(0x95)]&&(this[_0x175864(0xb4)]=!0x0);}[_0x5ad021(0x86)](){const _0xb695e3=_0x5ad021;this[_0xb695e3(0x95)]&&(this[_0xb695e3(0xb4)]=!0x1);}[_0x5ad021(0x76)](_0x5b3b88){const _0x361e26=_0x5ad021;if(this[_0x361e26(0xca)]){const _0x254db8=this[_0x361e26(0xca)][_0x361e26(0x89)]?.[_0x361e26(0xc4)](_0x361e26(0xab));_0x254db8&&(_0x254db8[_0x361e26(0xbf)]=_0x5b3b88),this[_0x361e26(0xac)]=!0x0;}}[_0x5ad021(0xc5)](){const _0x18b40a=_0x5ad021;this[_0x18b40a(0xca)]&&(this[_0x18b40a(0xac)]=!0x1);}[_0x5ad021(0x9c)](){const _0x53bc7c=_0x5ad021;this[_0x53bc7c(0x9b)][_0x53bc7c(0x9c)](),this[_0x53bc7c(0x93)]&&(this[_0x53bc7c(0x93)][_0x53bc7c(0x8f)]=this[_0x53bc7c(0x9b)][_0x53bc7c(0x87)]);}[_0x5ad021(0xa8)](){const _0x196af8=_0x5ad021;this[_0x196af8(0x88)]=!0x0;}[_0x5ad021(0xa3)](){const _0x296add=_0x5ad021;this[_0x296add(0x88)]=!0x1;}[_0x5ad021(0x8c)](){const _0x56fc64=_0x5ad021;this[_0x56fc64(0x9e)]&&(this[_0x56fc64(0x9e)][_0x56fc64(0x88)]=!0x0),this[_0x56fc64(0x93)]?.[_0x56fc64(0x8a)]&&(this[_0x56fc64(0x93)][_0x56fc64(0x8a)][_0x56fc64(0x7c)]=!0x1);}[_0x5ad021(0xb2)](){const _0x35c87b=_0x5ad021;this[_0x35c87b(0x9e)]&&(this[_0x35c87b(0x9e)][_0x35c87b(0x88)]=!0x1),this[_0x35c87b(0x93)]?.[_0x35c87b(0x8a)]&&(this[_0x35c87b(0x93)][_0x35c87b(0x8a)][_0x35c87b(0x7c)]=!0x0);}[_0x5ad021(0x81)](_0x1fba90){const _0x595152=_0x5ad021;this[_0x595152(0x9e)][_0x595152(0xdf)][_0x595152(0xb5)](_0x1fba90);}[_0x5ad021(0x94)](_0x595614){const _0x7f754f=_0x5ad021;this[_0x7f754f(0x9e)][_0x7f754f(0xdf)][_0x7f754f(0x8d)](_0x595614);}[_0x5ad021(0xa7)](){const _0x511d44=_0x5ad021,_0x2a2b17=new _0x39c6ec(this[_0x511d44(0xdb)]),_0x37f79f=new _0x461891(_0x511d44(0x91));_0x37f79f[_0x511d44(0xaa)]=!0x0;const _0x2a825c=new _0x39c6ec(this[_0x511d44(0xdb)]);return _0x2a825c[_0x511d44(0xc8)]({'tag':_0x511d44(0xc7),'attributes':{'class':['ck',_0x511d44(0xdd)]},'children':[_0x1b69e0(this[_0x511d44(0xdb)],_0x511d44(0xa2))]}),_0x2a2b17[_0x511d44(0xc8)]({'tag':_0x511d44(0x8b),'attributes':{'class':['ck',_0x511d44(0xc9),this[_0x511d44(0x6b)]['if'](_0x511d44(0xb4),_0x511d44(0xb6),_0x11b0c1=>!_0x11b0c1)]},'children':[_0x37f79f,_0x2a825c]}),_0x2a2b17;}[_0x5ad021(0xbb)](){const _0x53270d=_0x5ad021,_0xdfe7e5=new _0x39c6ec(this[_0x53270d(0xdb)]),_0x2012a1=new _0x39c6ec(this[_0x53270d(0xdb)]);return _0x2012a1[_0x53270d(0xc8)]({'tag':_0x53270d(0xc7),'attributes':{'class':['ck',_0x53270d(0xba)]},'children':[_0x1b69e0(this[_0x53270d(0xdb)],_0x53270d(0xc1))]}),_0xdfe7e5[_0x53270d(0xc8)]({'tag':_0x53270d(0x8b),'attributes':{'class':['ck',_0x53270d(0xad),this[_0x53270d(0x6b)]['if'](_0x53270d(0xac),_0x53270d(0xb6),_0x5d8816=>!_0x5d8816)]},'children':[_0x2012a1]}),_0xdfe7e5;}}export class AIWebSourcesView extends _0x39c6ec{[_0x5ad021(0x6c)];[_0x5ad021(0x75)];[_0x5ad021(0x77)];constructor(_0x267def,_0x4d074a){const _0x832f48=_0x5ad021;super(_0x267def),this[_0x832f48(0x77)]=_0x4d074a,this[_0x832f48(0x6c)]=this[_0x832f48(0x82)](),this[_0x832f48(0xb0)](_0x832f48(0xaa),!0x1),this[_0x832f48(0xc8)]({'tag':_0x832f48(0x8b),'attributes':{'class':['ck',_0x832f48(0xc6),this[_0x832f48(0x6b)]['if'](_0x832f48(0xaa),_0x832f48(0xb6),_0x21cf42=>!_0x21cf42)]},'children':this[_0x832f48(0x6c)]});const _0x25f242=new _0x39c6ec(this[_0x832f48(0xdb)]),_0x12eaad=new _0x139c82();_0x12eaad[_0x832f48(0x96)]=_0x46da96,_0x25f242[_0x832f48(0xc8)]({'tag':_0x832f48(0x8b),'attributes':{'class':['ck',_0x832f48(0xd4)]},'children':[_0x12eaad,{'tag':_0x832f48(0xc7),'children':[{'text':_0x1b69e0(this[_0x832f48(0xdb)],_0x832f48(0x9d))}]}]}),this[_0x832f48(0x6c)][_0x832f48(0xb5)](_0x25f242),this[_0x832f48(0xe0)](_0x267def);}[_0x5ad021(0xe0)](_0x717051){const _0xf3cb2d=_0x5ad021;this[_0xf3cb2d(0x75)]=new _0x56d45b(_0x717051),this[_0xf3cb2d(0x75)][_0xf3cb2d(0x7b)]({'attributes':{'class':[_0xf3cb2d(0xcf)]}}),this[_0xf3cb2d(0x77)][_0xf3cb2d(0xb5)](this[_0xf3cb2d(0x75)]);}}export class AIWebSourceView extends _0x539371{[_0x5ad021(0x75)];[_0x5ad021(0x78)];constructor(_0x8df61b,_0x23be21,_0x4cdbd9){const _0x23ad62=_0x5ad021;super(_0x8df61b),this[_0x23ad62(0x78)]=_0x23be21,this[_0x23ad62(0x75)]=_0x4cdbd9,this[_0x23ad62(0xb0)]({'label':_0x23be21[_0x23ad62(0xd1)],'class':[_0x23ad62(0xc0)],'withText':!0x0});const _0x456cf9=this[_0x23ad62(0x6b)];if(this[_0x23ad62(0x7b)]({'on':{'click':_0x456cf9['to'](()=>{const _0x32d75e=_0x23ad62;window[_0x32d75e(0xa0)](_0x23be21[_0x32d75e(0x8e)],_0x32d75e(0xbc));}),'mouseenter':_0x456cf9['to'](()=>{const _0x441ea8=_0x23ad62;this[_0x441ea8(0xd8)]();}),'mouseleave':_0x456cf9['to'](()=>{const _0x499f43=_0x23ad62;this[_0x499f43(0xce)]();})}}),_0x23be21[_0x23ad62(0xd0)]){const _0x2a9182=new _0x39c6ec(_0x8df61b);_0x2a9182[_0x23ad62(0xc8)]({'tag':_0x23ad62(0xd7),'attributes':{'src':_0x23be21[_0x23ad62(0xd0)]||_0x46da96,'alt':_0x23be21[_0x23ad62(0xd1)],'class':[_0x23ad62(0xbe)]}}),this[_0x23ad62(0x6c)][_0x23ad62(0xb5)](_0x2a9182);}else this[_0x23ad62(0xb0)](_0x23ad62(0xd9),_0x46da96);}[_0x5ad021(0xa4)](_0xe1f80f,_0x18bd55){const _0xf1d851=_0x5ad021,_0x34f340=new _0x39c6ec(_0xe1f80f),_0x1bd790=[];let _0x4e1f7b;_0x18bd55?.[_0xf1d851(0xd0)]?(_0x4e1f7b=new _0x39c6ec(_0xe1f80f),_0x4e1f7b[_0xf1d851(0xc8)]({'tag':_0xf1d851(0xd7),'attributes':{'src':_0x18bd55[_0xf1d851(0xd0)],'alt':_0x18bd55[_0xf1d851(0xd1)],'class':[_0xf1d851(0x92)]}})):(_0x4e1f7b=new _0x139c82(),_0x4e1f7b[_0xf1d851(0x96)]=_0x46da96,_0x4e1f7b[_0xf1d851(0x7b)]({'attributes':{'alt':_0x18bd55[_0xf1d851(0xd1)],'class':[_0xf1d851(0x92)]}})),_0x1bd790[_0xf1d851(0xb3)](_0x4e1f7b);const _0xce0486=new _0x39c6ec(_0xe1f80f);_0xce0486[_0xf1d851(0xc8)]({'tag':'a','attributes':{'class':[_0xf1d851(0x9f)],'href':_0x18bd55[_0xf1d851(0x8e)]},'children':[{'text':new URL(_0x18bd55[_0xf1d851(0x8e)])?.[_0xf1d851(0xb7)]}]}),_0x1bd790[_0xf1d851(0xb3)](_0xce0486);const _0x303ac4=new _0x39c6ec(_0xe1f80f);_0x303ac4[_0xf1d851(0xc8)]({'tag':_0xf1d851(0x8b),'attributes':{'class':[_0xf1d851(0xd6)]},'children':_0x1bd790});const _0x2f794a=new _0x39c6ec(_0xe1f80f);return _0x2f794a[_0xf1d851(0xc8)]({'tag':_0xf1d851(0xc7),'attributes':{'class':[_0xf1d851(0xd6),_0xf1d851(0x72)]},'children':[{'text':_0x18bd55[_0xf1d851(0xd1)][_0xf1d851(0x73)]>0x190?_0x18bd55[_0xf1d851(0xd1)][_0xf1d851(0x71)](0x0,0x190)+_0xf1d851(0xc3):_0x18bd55[_0xf1d851(0xd1)]}]}),_0x34f340[_0xf1d851(0xc8)]({'tag':_0xf1d851(0x8b),'attributes':{'class':['ck',_0xf1d851(0xcb)]},'children':[_0x303ac4,_0x2f794a]}),_0x34f340;}[_0x5ad021(0xd8)](){const _0x5b9b9c=_0x5ad021;this[_0x5b9b9c(0x6f)](),this[_0x5b9b9c(0x75)][_0x5b9b9c(0xa6)]({'target':this[_0x5b9b9c(0x89)],'positions':[_0x56d45b[_0x5b9b9c(0xae)][_0x5b9b9c(0x6d)],_0x56d45b[_0x5b9b9c(0xae)][_0x5b9b9c(0xcc)],_0x56d45b[_0x5b9b9c(0xae)][_0x5b9b9c(0x6a)]],'limiter':document[_0x5b9b9c(0xc4)](_0x5b9b9c(0xaf))}),this[_0x5b9b9c(0x75)][_0x5b9b9c(0x79)]();}[_0x5ad021(0xce)](){const _0x2a91b2=_0x5ad021;this[_0x2a91b2(0x75)][_0x2a91b2(0x97)]();}[_0x5ad021(0x6f)](){const _0x3fe208=_0x5ad021;this[_0x3fe208(0x75)][_0x3fe208(0x96)][_0x3fe208(0x99)](0x0)?.[_0x3fe208(0x85)](),this[_0x3fe208(0x75)][_0x3fe208(0x96)][_0x3fe208(0x83)]();const _0xe12d49=this[_0x3fe208(0xa4)](this[_0x3fe208(0xdb)],this[_0x3fe208(0x78)]);this[_0x3fe208(0x75)][_0x3fe208(0x96)][_0x3fe208(0xb5)](_0xe12d49);}}function _0x7eec(){const _0x19d8d3=['isEnabled','11604OZEHYN','addMany','27UDYHCe','map','addNavigationItem','createCollection','clear','updateContentParts','destroy','hideLoader','hasNonEmptyParts','isLoading','element','showChangesToggleView','div','setErrorState','remove','url','isShowChangesToggleVisible','toggleShowChanges','small','ck-ai-web-source__tooltip-image','headerView','removeNavigationItem','loaderView','content','hide','594288nJIbNg','get','784968zBNRhy','bodyView','markAsDone','AI_CHAT_SOURCES_HEADER','miniToolbarView','ck-ai-web-source__tooltip-url','open','areChangesVisible','AI_CHAT_IS_WRITING','clearLoading','_createTooltipContentView','413935VnJLSX','pin','_createLoaderView','setLoading','showLoader','isVisible','.ck-ai-suggestion__error-text','isErrorVisible','ck-ai-suggestion__error','defaultPositions','.ck-ai-chat','set','updateContent','clearErrorState','push','isLoaderVisible','add','ck-hidden','hostname','765642lOvDqp','fire','ck-ai-suggestion__error-text','_createErrorView','_blank','_bodyCollection','ck-ai-web-source__image','textContent','ck\x20ck-ai-web-source','AI_CHAT_GENERIC_ERROR','isOn','...','querySelector','hideError','ck-ai-web-sources','span','setTemplate','ck-ai-suggestion__loader','errorView','ck-ai-web-source__tooltip','northArrowSouthWest','1928110WfEGSL','_hideTooltip','ck-ai-web-source__tooltip-balloon','favicon','title','6UNwngp','bind','ck-ai-web-sources__header','sourcesView','ck-ai-web-source__tooltip-row','img','_showTooltip','icon','ck-rounded-corners','locale','ck-ai-suggestion__container','ck-ai-suggestion__loader-text','21UNPajC','items','_setupBalloonPanel','northArrowSouthEast','bindTemplate','children','northArrowSouth','toggleSuggestionDisplayMode','_updateTooltipContent','updateSources','substring','ck-ai-web-source__tooltip-title','length','delegate','balloonPanelView','showError','bodyCollection','source','show','114167LFkmYL','extendTemplate'];_0x7eec=function(){return _0x19d8d3;};return _0x7eec();}
23
+ const _0x3e1658=_0x3393;(function(_0x3c5180,_0x207cd6){const _0x3c324a=_0x3393,_0x208266=_0x3c5180();while(!![]){try{const _0x3f4343=-parseInt(_0x3c324a(0x105))/0x1*(parseInt(_0x3c324a(0xe4))/0x2)+parseInt(_0x3c324a(0xcf))/0x3+-parseInt(_0x3c324a(0xbb))/0x4+-parseInt(_0x3c324a(0x109))/0x5*(parseInt(_0x3c324a(0xd9))/0x6)+parseInt(_0x3c324a(0xe3))/0x7+parseInt(_0x3c324a(0xc8))/0x8+parseInt(_0x3c324a(0xd1))/0x9;if(_0x3f4343===_0x207cd6)break;else _0x208266['push'](_0x208266['shift']());}catch(_0x16dc59){_0x208266['push'](_0x208266['shift']());}}}(_0x502f,0xf1d70));import{IconWeb as _0x2d2950}from'@ckeditor/ckeditor5-icons';import{View as _0x4aa873,ButtonView as _0xf9fff,IconView as _0x9544e5,BalloonPanelView as _0x3477c0}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x27fc0c}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x2d1ef1}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x57074b}from'./aisuggestionbodyview.js';function _0x3393(_0x14dee9,_0x427368){const _0x502fa9=_0x502f();return _0x3393=function(_0x3393cc,_0x285139){_0x3393cc=_0x3393cc-0xaf;let _0x26baed=_0x502fa9[_0x3393cc];return _0x26baed;},_0x3393(_0x14dee9,_0x427368);}function _0x502f(){const _0x2ca0e1=['areChangesVisible','hasNonEmptyParts','clear','get','4286379EKqtcF','ck-ai-suggestion__container','3797136ZoOAtF','AI_CHAT_SOURCES_HEADER','isLoading','bodyView','removeNavigationItem','ck-ai-suggestion__loader-text','locale','textContent','6vHXYBv','isEnabled','addMany','span','ck-ai-web-source__tooltip-title','length','show','addNavigationItem','.ck-ai-chat','items','7165816QysGIi','394UjXqZj','ck-ai-web-source__tooltip-image','ck-hidden','...','toggleSuggestionDisplayMode','clearErrorState','ck-ai-web-sources','add','_bodyCollection','updateContent','icon','ck\x20ck-ai-web-source','ck-rounded-corners','hide','AI_CHAT_IS_WRITING','ck-ai-suggestion__error-text','favicon','ck-ai-web-source__tooltip-balloon','createCollection','fire','delegate','title','markAsDone','isShowChangesToggleVisible','_createErrorView','open','defaultPositions','errorView','ck-ai-web-source__tooltip-row','ck-ai-web-source__tooltip-url','content','toggleShowChanges','updateContentParts','5217qMMeCT','ck-ai-web-sources__header','bind','clearLoading','9473670siwYKJ','_blank','.ck-ai-suggestion__error-text','map','_showTooltip','isLoaderVisible','bindTemplate','remove','showError','querySelector','loaderView','source','balloonPanelView','setErrorState','_setupBalloonPanel','ck-ai-web-source__image','pin','northArrowSouthEast','isVisible','ck-ai-suggestion__error','hideError','_createTooltipContentView','setLoading','_createLoaderView','AI_CHAT_GENERIC_ERROR','updateSources','headerView','hostname','substring','_updateTooltipContent','extendTemplate','northArrowSouth','ck-ai-suggestion__loader','small','children','miniToolbarView','element','div','img','url','1241848BrTLUo','sourcesView','set','ck-ai-web-source__tooltip','_hideTooltip','showLoader','hideLoader','setTemplate','bodyCollection','push','isOn','northArrowSouthWest','isErrorVisible','10793088aGzdTt','showChangesToggleView','destroy'];_0x502f=function(){return _0x2ca0e1;};return _0x502f();}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x4c9446}from'../../utils/eventnames.js';import{AISpinnerView as _0x4ba7b8}from'../aispinner.js';import{getTranslation as _0x347c88}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x4aa873{[_0x3e1658(0xd4)];[_0x3e1658(0xb6)];[_0x3e1658(0xb5)];[_0x3e1658(0x123)];[_0x3e1658(0x113)];[_0x3e1658(0xff)];[_0x3e1658(0xbc)];[_0x3e1658(0xec)];constructor(_0x5d8e8c,_0x371cc3,_0x4049a7){const _0x2c7490=_0x3e1658;super(_0x5d8e8c),this[_0x2c7490(0xec)]=_0x4049a7;const {showDiff:_0x5d5b3c,areActionsDisabled:_0x4408fc,miniToolbarConfig:_0x15221d,hideHeader:_0xab8f8c,showLoader:_0x20bf3f,showUnchangedParts:_0x4eedd1,availableActions:_0x41eaf7}=_0x371cc3;this[_0x2c7490(0xbd)](_0x2c7490(0xcb),!0x1),this[_0x2c7490(0xbd)](_0x2c7490(0x10e),!!_0x20bf3f),this[_0x2c7490(0xbd)](_0x2c7490(0xc7),!0x1),this[_0x2c7490(0xbd)](_0x2c7490(0xd3),!0x1),this[_0x2c7490(0xb5)]=this[_0x2c7490(0xf6)](),_0xab8f8c||(this[_0x2c7490(0x123)]=new _0x2d1ef1(_0x5d8e8c,{'showDiff':_0x5d5b3c}),this[_0x2c7490(0x123)]['on'](_0x2c7490(0x103),(_0x5382f2,_0x677b2f)=>{const _0xcdb66d=_0x2c7490;this[_0xcdb66d(0xcb)]=_0x677b2f[_0xcdb66d(0xc5)],this[_0xcdb66d(0xf7)](_0xcdb66d(0xe8),{'showDiff':_0x677b2f[_0xcdb66d(0xc5)]});}),this[_0x2c7490(0xb5)][_0x2c7490(0xeb)](this[_0x2c7490(0x123)])),this[_0x2c7490(0xd4)]=new _0x57074b(_0x5d8e8c,{'areActionsDisabled':_0x4408fc,'showUnchangedParts':!!_0x4eedd1,'availableActions':_0x41eaf7}),this[_0x2c7490(0xd4)][_0x2c7490(0xf8)](..._0x4c9446)['to'](this),this[_0x2c7490(0xd4)][_0x2c7490(0xb1)]({'attributes':{'class':[this[_0x2c7490(0x10f)]['if'](_0x2c7490(0x10e),_0x2c7490(0xe6)),this[_0x2c7490(0x10f)]['if'](_0x2c7490(0xc7),_0x2c7490(0xe6))]}}),this[_0x2c7490(0xb6)]=new _0x27fc0c(_0x5d8e8c,_0x15221d,_0x5d5b3c),this[_0x2c7490(0xb6)][_0x2c7490(0xf8)](..._0x4c9446)['to'](this),this[_0x2c7490(0xb6)]['on'](_0x2c7490(0x103),(_0x1add03,_0x5e628b)=>{const _0x18242b=_0x2c7490;this[_0x18242b(0xcb)]=_0x5e628b,this[_0x18242b(0xf7)](_0x18242b(0xe8),{'showDiff':_0x5e628b});}),this[_0x2c7490(0xb6)][_0x2c7490(0x107)](_0x2c7490(0xd3))['to'](this),this[_0x2c7490(0xb5)][_0x2c7490(0xeb)](this[_0x2c7490(0xd4)]),this[_0x2c7490(0xb5)][_0x2c7490(0xeb)](this[_0x2c7490(0xb6)]),this[_0x2c7490(0xbc)]=new AIWebSourcesView(this[_0x2c7490(0xd7)],this[_0x2c7490(0xec)]),this[_0x2c7490(0xb5)][_0x2c7490(0xeb)](this[_0x2c7490(0xbc)]),_0x20bf3f&&(this[_0x2c7490(0x113)]=this[_0x2c7490(0x120)](),this[_0x2c7490(0xb5)][_0x2c7490(0xeb)](this[_0x2c7490(0x113)])),this[_0x2c7490(0xff)]=this[_0x2c7490(0xfc)](),this[_0x2c7490(0xb5)][_0x2c7490(0xeb)](this[_0x2c7490(0xff)]),this[_0x2c7490(0xc2)]({'tag':_0x2c7490(0xb8),'attributes':{'class':['ck',_0x2c7490(0xd0),_0x2c7490(0xf0)]},'children':this[_0x2c7490(0xb5)]});}async[_0x3e1658(0xed)](_0x110c14){const _0x2ae096=_0x3e1658;await this[_0x2ae096(0xd4)][_0x2ae096(0x104)](_0x110c14);}[_0x3e1658(0x122)](_0x43fe34){const _0x53c5df=_0x3e1658,_0x6ddb6a=this[_0x53c5df(0xbc)],_0x1a05d4=_0x6ddb6a[_0x53c5df(0x115)];_0x6ddb6a[_0x53c5df(0xb5)][_0x53c5df(0xdb)](_0x43fe34[_0x53c5df(0x10c)](_0x4ff56c=>new AIWebSourceView(this[_0x53c5df(0xd7)],_0x4ff56c,_0x1a05d4))),_0x6ddb6a[_0x53c5df(0x11b)]=!0x0;}[_0x3e1658(0xc0)](){const _0x5448bb=_0x3e1658;this[_0x5448bb(0x113)]&&(this[_0x5448bb(0x10e)]=!0x0);}[_0x3e1658(0xc1)](){const _0x179379=_0x3e1658;this[_0x179379(0x113)]&&(this[_0x179379(0x10e)]=!0x1);}[_0x3e1658(0x111)](_0x4fb2ef){const _0x26ad80=_0x3e1658;if(this[_0x26ad80(0xff)]){const _0xb1cb2c=this[_0x26ad80(0xff)][_0x26ad80(0xb7)]?.[_0x26ad80(0x112)](_0x26ad80(0x10b));_0xb1cb2c&&(_0xb1cb2c[_0x26ad80(0xd8)]=_0x4fb2ef),this[_0x26ad80(0xc7)]=!0x0;}}[_0x3e1658(0x11d)](){const _0xb7a196=_0x3e1658;this[_0xb7a196(0xff)]&&(this[_0xb7a196(0xc7)]=!0x1);}[_0x3e1658(0xfa)](){const _0x354837=_0x3e1658;this[_0x354837(0xd4)][_0x354837(0xfa)](),this[_0x354837(0x123)]&&(this[_0x354837(0x123)][_0x354837(0xfb)]=this[_0x354837(0xd4)][_0x354837(0xcc)]);}[_0x3e1658(0x11f)](){const _0x43fe58=_0x3e1658;this[_0x43fe58(0xd3)]=!0x0;}[_0x3e1658(0x108)](){const _0x30d93d=_0x3e1658;this[_0x30d93d(0xd3)]=!0x1;}[_0x3e1658(0x116)](){const _0x291fe6=_0x3e1658;this[_0x291fe6(0xb6)]&&(this[_0x291fe6(0xb6)][_0x291fe6(0xd3)]=!0x0),this[_0x291fe6(0x123)]?.[_0x291fe6(0xc9)]&&(this[_0x291fe6(0x123)][_0x291fe6(0xc9)][_0x291fe6(0xda)]=!0x1);}[_0x3e1658(0xe9)](){const _0x582d82=_0x3e1658;this[_0x582d82(0xb6)]&&(this[_0x582d82(0xb6)][_0x582d82(0xd3)]=!0x1),this[_0x582d82(0x123)]?.[_0x582d82(0xc9)]&&(this[_0x582d82(0x123)][_0x582d82(0xc9)][_0x582d82(0xda)]=!0x0);}[_0x3e1658(0xe0)](_0x2812b4){const _0xc5caa5=_0x3e1658;this[_0xc5caa5(0xb6)][_0xc5caa5(0xe2)][_0xc5caa5(0xeb)](_0x2812b4);}[_0x3e1658(0xd5)](_0xfd530e){const _0x5d842a=_0x3e1658;this[_0x5d842a(0xb6)][_0x5d842a(0xe2)][_0x5d842a(0x110)](_0xfd530e);}[_0x3e1658(0x120)](){const _0x4e3444=_0x3e1658,_0x577be1=new _0x4aa873(this[_0x4e3444(0xd7)]),_0x4f143d=new _0x4ba7b8(_0x4e3444(0xb4));_0x4f143d[_0x4e3444(0x11b)]=!0x0;const _0x4a4a4f=new _0x4aa873(this[_0x4e3444(0xd7)]);return _0x4a4a4f[_0x4e3444(0xc2)]({'tag':_0x4e3444(0xdc),'attributes':{'class':['ck',_0x4e3444(0xd6)]},'children':[_0x347c88(this[_0x4e3444(0xd7)],_0x4e3444(0xf2))]}),_0x577be1[_0x4e3444(0xc2)]({'tag':_0x4e3444(0xb8),'attributes':{'class':['ck',_0x4e3444(0xb3),this[_0x4e3444(0x10f)]['if'](_0x4e3444(0x10e),_0x4e3444(0xe6),_0x3c7ec9=>!_0x3c7ec9)]},'children':[_0x4f143d,_0x4a4a4f]}),_0x577be1;}[_0x3e1658(0xfc)](){const _0x67d0a2=_0x3e1658,_0x33e6d2=new _0x4aa873(this[_0x67d0a2(0xd7)]),_0x1e4a7a=new _0x4aa873(this[_0x67d0a2(0xd7)]);return _0x1e4a7a[_0x67d0a2(0xc2)]({'tag':_0x67d0a2(0xdc),'attributes':{'class':['ck',_0x67d0a2(0xf3)]},'children':[_0x347c88(this[_0x67d0a2(0xd7)],_0x67d0a2(0x121))]}),_0x33e6d2[_0x67d0a2(0xc2)]({'tag':_0x67d0a2(0xb8),'attributes':{'class':['ck',_0x67d0a2(0x11c),this[_0x67d0a2(0x10f)]['if'](_0x67d0a2(0xc7),_0x67d0a2(0xe6),_0x43d3c4=>!_0x43d3c4)]},'children':[_0x1e4a7a]}),_0x33e6d2;}}export class AIWebSourcesView extends _0x4aa873{[_0x3e1658(0xb5)];[_0x3e1658(0x115)];[_0x3e1658(0xc3)];constructor(_0x4a4b2d,_0x22e673){const _0xa6ab2e=_0x3e1658;super(_0x4a4b2d),this[_0xa6ab2e(0xc3)]=_0x22e673,this[_0xa6ab2e(0xb5)]=this[_0xa6ab2e(0xf6)](),this[_0xa6ab2e(0xbd)](_0xa6ab2e(0x11b),!0x1),this[_0xa6ab2e(0xc2)]({'tag':_0xa6ab2e(0xb8),'attributes':{'class':['ck',_0xa6ab2e(0xea),this[_0xa6ab2e(0x10f)]['if'](_0xa6ab2e(0x11b),_0xa6ab2e(0xe6),_0x2d9fb8=>!_0x2d9fb8)]},'children':this[_0xa6ab2e(0xb5)]});const _0x82c741=new _0x4aa873(this[_0xa6ab2e(0xd7)]),_0x20cc90=new _0x9544e5();_0x20cc90[_0xa6ab2e(0x102)]=_0x2d2950,_0x82c741[_0xa6ab2e(0xc2)]({'tag':_0xa6ab2e(0xb8),'attributes':{'class':['ck',_0xa6ab2e(0x106)]},'children':[_0x20cc90,{'tag':_0xa6ab2e(0xdc),'children':[{'text':_0x347c88(this[_0xa6ab2e(0xd7)],_0xa6ab2e(0xd2))}]}]}),this[_0xa6ab2e(0xb5)][_0xa6ab2e(0xeb)](_0x82c741),this[_0xa6ab2e(0x117)](_0x4a4b2d);}[_0x3e1658(0x117)](_0x2fdff3){const _0xc920ce=_0x3e1658;this[_0xc920ce(0x115)]=new _0x3477c0(_0x2fdff3),this[_0xc920ce(0x115)][_0xc920ce(0xb1)]({'attributes':{'class':[_0xc920ce(0xf5)]}}),this[_0xc920ce(0xc3)][_0xc920ce(0xeb)](this[_0xc920ce(0x115)]);}}export class AIWebSourceView extends _0xf9fff{[_0x3e1658(0x115)];[_0x3e1658(0x114)];constructor(_0x3a7b90,_0x26b17e,_0x1c9989){const _0x4d4407=_0x3e1658;super(_0x3a7b90),this[_0x4d4407(0x114)]=_0x26b17e,this[_0x4d4407(0x115)]=_0x1c9989,this[_0x4d4407(0xbd)]({'label':_0x26b17e[_0x4d4407(0xf9)],'class':[_0x4d4407(0xef)],'withText':!0x0});const _0x4d5e2c=this[_0x4d4407(0x10f)];if(this[_0x4d4407(0xb1)]({'on':{'click':_0x4d5e2c['to'](()=>{const _0x4c6e56=_0x4d4407;window[_0x4c6e56(0xfd)](_0x26b17e[_0x4c6e56(0xba)],_0x4c6e56(0x10a));}),'mouseenter':_0x4d5e2c['to'](()=>{const _0xf65a35=_0x4d4407;this[_0xf65a35(0x10d)]();}),'mouseleave':_0x4d5e2c['to'](()=>{const _0x4c2f5d=_0x4d4407;this[_0x4c2f5d(0xbf)]();})}}),_0x26b17e[_0x4d4407(0xf4)]){const _0x3a677e=new _0x4aa873(_0x3a7b90);_0x3a677e[_0x4d4407(0xc2)]({'tag':_0x4d4407(0xb9),'attributes':{'src':_0x26b17e[_0x4d4407(0xf4)]||_0x2d2950,'alt':_0x26b17e[_0x4d4407(0xf9)],'class':[_0x4d4407(0x118)]}}),this[_0x4d4407(0xb5)][_0x4d4407(0xeb)](_0x3a677e);}else this[_0x4d4407(0xbd)](_0x4d4407(0xee),_0x2d2950);}[_0x3e1658(0x11e)](_0x344560,_0x270ec0){const _0x1e461b=_0x3e1658,_0x3b786f=new _0x4aa873(_0x344560),_0x4ddba1=[];let _0x5e7662;_0x270ec0?.[_0x1e461b(0xf4)]?(_0x5e7662=new _0x4aa873(_0x344560),_0x5e7662[_0x1e461b(0xc2)]({'tag':_0x1e461b(0xb9),'attributes':{'src':_0x270ec0[_0x1e461b(0xf4)],'alt':_0x270ec0[_0x1e461b(0xf9)],'class':[_0x1e461b(0xe5)]}})):(_0x5e7662=new _0x9544e5(),_0x5e7662[_0x1e461b(0x102)]=_0x2d2950,_0x5e7662[_0x1e461b(0xb1)]({'attributes':{'alt':_0x270ec0[_0x1e461b(0xf9)],'class':[_0x1e461b(0xe5)]}})),_0x4ddba1[_0x1e461b(0xc4)](_0x5e7662);const _0x31ac2a=new _0x4aa873(_0x344560);_0x31ac2a[_0x1e461b(0xc2)]({'tag':'a','attributes':{'class':[_0x1e461b(0x101)],'href':_0x270ec0[_0x1e461b(0xba)]},'children':[{'text':new URL(_0x270ec0[_0x1e461b(0xba)])?.[_0x1e461b(0x124)]}]}),_0x4ddba1[_0x1e461b(0xc4)](_0x31ac2a);const _0x3e3823=new _0x4aa873(_0x344560);_0x3e3823[_0x1e461b(0xc2)]({'tag':_0x1e461b(0xb8),'attributes':{'class':[_0x1e461b(0x100)]},'children':_0x4ddba1});const _0x2cfec7=new _0x4aa873(_0x344560);return _0x2cfec7[_0x1e461b(0xc2)]({'tag':_0x1e461b(0xdc),'attributes':{'class':[_0x1e461b(0x100),_0x1e461b(0xdd)]},'children':[{'text':_0x270ec0[_0x1e461b(0xf9)][_0x1e461b(0xde)]>0x190?_0x270ec0[_0x1e461b(0xf9)][_0x1e461b(0xaf)](0x0,0x190)+_0x1e461b(0xe7):_0x270ec0[_0x1e461b(0xf9)]}]}),_0x3b786f[_0x1e461b(0xc2)]({'tag':_0x1e461b(0xb8),'attributes':{'class':['ck',_0x1e461b(0xbe)]},'children':[_0x3e3823,_0x2cfec7]}),_0x3b786f;}[_0x3e1658(0x10d)](){const _0xe7e8ac=_0x3e1658;this[_0xe7e8ac(0xb0)](),this[_0xe7e8ac(0x115)][_0xe7e8ac(0x119)]({'target':this[_0xe7e8ac(0xb7)],'positions':[_0x3477c0[_0xe7e8ac(0xfe)][_0xe7e8ac(0xb2)],_0x3477c0[_0xe7e8ac(0xfe)][_0xe7e8ac(0xc6)],_0x3477c0[_0xe7e8ac(0xfe)][_0xe7e8ac(0x11a)]],'limiter':document[_0xe7e8ac(0x112)](_0xe7e8ac(0xe1))}),this[_0xe7e8ac(0x115)][_0xe7e8ac(0xdf)]();}[_0x3e1658(0xbf)](){const _0x37b5a1=_0x3e1658;this[_0x37b5a1(0x115)][_0x37b5a1(0xf1)]();}[_0x3e1658(0xb0)](){const _0x22118d=_0x3e1658;this[_0x22118d(0x115)][_0x22118d(0x102)][_0x22118d(0xce)](0x0)?.[_0x22118d(0xca)](),this[_0x22118d(0x115)][_0x22118d(0x102)][_0x22118d(0xcd)]();const _0x3874de=this[_0x22118d(0x11e)](this[_0x22118d(0xd7)],this[_0x22118d(0x114)]);this[_0x22118d(0x115)][_0x22118d(0x102)][_0x22118d(0xeb)](_0x3874de);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a7430=_0x182a;(function(_0x141d91,_0x3d93db){const _0x2358d3=_0x182a,_0x209560=_0x141d91();while(!![]){try{const _0x3f258f=-parseInt(_0x2358d3(0x149))/0x1*(-parseInt(_0x2358d3(0x137))/0x2)+parseInt(_0x2358d3(0x16c))/0x3*(parseInt(_0x2358d3(0x16b))/0x4)+-parseInt(_0x2358d3(0x163))/0x5*(-parseInt(_0x2358d3(0x160))/0x6)+parseInt(_0x2358d3(0x161))/0x7+parseInt(_0x2358d3(0x134))/0x8+parseInt(_0x2358d3(0x151))/0x9+parseInt(_0x2358d3(0x166))/0xa*(-parseInt(_0x2358d3(0x16d))/0xb);if(_0x3f258f===_0x3d93db)break;else _0x209560['push'](_0x209560['shift']());}catch(_0x209d9e){_0x209560['push'](_0x209560['shift']());}}}(_0x40d1,0x3cb07));import{View as _0x48a254,IconView as _0x2d7818,ToolbarView as _0x742b3b,ButtonView as _0x446938}from'ckeditor5/src/ui.js';import{IconAddComment as _0x5466ab,IconDocumentWithLoupe as _0x32bf4d,IconDocumentWithCheckmark as _0x37d53f,IconDocumentWithCross as _0x3942d2,IconRemove as _0x585c26,IconThreeStars as _0x26771b}from'ckeditor5/src/icons.js';import{HTMLStreamer as _0x14e145}from'../../utils/htmlstreamer.js';import{getTranslation as _0x332af6}from'../../utils/common-translations.js';function _0x182a(_0xb257ff,_0x499d56){const _0x40d1c0=_0x40d1();return _0x182a=function(_0x182ab8,_0x26bff9){_0x182ab8=_0x182ab8-0x124;let _0x372df1=_0x40d1c0[_0x182ab8];return _0x372df1;},_0x182a(_0xb257ff,_0x499d56);}import{serialize as _0x25aae7}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x2489fe}from'../../utils/eventnames.js';export class AISuggestionBodyViewContentPartView extends _0x48a254{[_0x3a7430(0x16f)];[_0x3a7430(0x143)];[_0x3a7430(0x14d)];[_0x3a7430(0x14b)];constructor(_0x11dc21,{part:_0x5842fc,uiIndex:_0x551bab,areActionsDisabled:_0x7ce74d,availableActions:_0x216b50}){const _0x34a5b5=_0x3a7430;super(_0x11dc21),this[_0x34a5b5(0x16a)](_0x34a5b5(0x13c),_0x5842fc),this[_0x34a5b5(0x16a)](_0x34a5b5(0x174),_0x34a5b5(0x129)),this[_0x34a5b5(0x16a)](_0x34a5b5(0x142),!0x1),this[_0x34a5b5(0x15e)](_0x34a5b5(0x133))['to'](this,_0x34a5b5(0x174),_0xd8ee15=>_0x34a5b5(0x129)==_0xd8ee15&&!_0x7ce74d),this[_0x34a5b5(0x143)]=this[_0x34a5b5(0x126)](),this[_0x34a5b5(0x16f)]=new _0x14e145({'textNodeStyle':_0x34a5b5(0x147),'delay':0x14}),this[_0x34a5b5(0x14d)]=new Un(_0x11dc21,{'part':_0x5842fc,'uiIndex':_0x551bab,'availableActions':_0x216b50}),this[_0x34a5b5(0x14d)][_0x34a5b5(0x15e)](_0x34a5b5(0x13c))['to'](this),this[_0x34a5b5(0x14d)][_0x34a5b5(0x15e)](_0x34a5b5(0x133))['to'](this),this[_0x34a5b5(0x14d)][_0x34a5b5(0x15e)](_0x34a5b5(0x174))['to'](this),this[_0x34a5b5(0x14d)][_0x34a5b5(0x170)](..._0x2489fe)['to'](this);const _0x4b8cd5=this[_0x34a5b5(0x144)];this[_0x34a5b5(0x14b)]=new _0x48a254(),this[_0x34a5b5(0x14b)][_0x34a5b5(0x146)]({'tag':_0x34a5b5(0x159),'attributes':{'class':['ck',_0x34a5b5(0x15b),_0x34a5b5(0x14f),_0x34a5b5(0x13e)]}}),this[_0x34a5b5(0x143)][_0x34a5b5(0x167)]([this[_0x34a5b5(0x14b)]]),this[_0x34a5b5(0x146)]({'tag':_0x34a5b5(0x159),'attributes':{'class':['ck',_0x34a5b5(0x128),_0x4b8cd5['to'](_0x34a5b5(0x174),_0x180551=>_0x34a5b5(0x13d)+_0x180551),_0x4b8cd5['to'](_0x34a5b5(0x133),_0x2546e1=>_0x2546e1?_0x34a5b5(0x132):void 0x0),_0x4b8cd5['if'](_0x34a5b5(0x142),_0x34a5b5(0x173),_0x4a681c=>!_0x4a681c)]},'children':this[_0x34a5b5(0x143)],'on':{'mouseenter':_0x4b8cd5['to'](()=>{const _0x3bf96b=_0x34a5b5;this[_0x3bf96b(0x133)]&&this[_0x3bf96b(0x16e)](_0x3bf96b(0x14e),{'index':_0x5842fc[_0x3bf96b(0x15d)]});}),'mouseleave':_0x4b8cd5['to'](()=>{const _0x5419b3=_0x34a5b5;this[_0x5419b3(0x133)]&&this[_0x5419b3(0x16e)](_0x5419b3(0x12b),{'index':_0x5842fc[_0x5419b3(0x15d)]});})}});}async[_0x3a7430(0x148)]({part:_0xbb3ff2,renderingStrategy:_0x28e9fe,showUnchangedParts:_0x11e685=!0x1,abortSignal:_0xd7f133}){const _0x1f8112=_0x3a7430;this[_0x1f8112(0x13c)]=_0xbb3ff2,this[_0x1f8112(0x142)]=this[_0x1f8112(0x13c)][_0x1f8112(0x131)]||_0x11e685,this[_0x1f8112(0x142)]&&(_0x1f8112(0x162)===_0x28e9fe?await this[_0x1f8112(0x16f)][_0x1f8112(0x12a)]({'document':this[_0x1f8112(0x13c)][_0x1f8112(0x12c)],'targetElement':this[_0x1f8112(0x14b)][_0x1f8112(0x145)],'abortSignal':_0xd7f133}):this[_0x1f8112(0x14b)][_0x1f8112(0x145)][_0x1f8112(0x125)]=_0x25aae7(this[_0x1f8112(0x13c)][_0x1f8112(0x12c)]));}[_0x3a7430(0x150)](_0x958dc4){const _0x3f25c1=_0x3a7430;_0x958dc4?this[_0x3f25c1(0x143)][_0x3f25c1(0x175)](this[_0x3f25c1(0x14d)])||this[_0x3f25c1(0x143)][_0x3f25c1(0x140)](this[_0x3f25c1(0x14d)],0x0):this[_0x3f25c1(0x143)][_0x3f25c1(0x175)](this[_0x3f25c1(0x14d)])&&this[_0x3f25c1(0x143)][_0x3f25c1(0x136)](this[_0x3f25c1(0x14d)]);}}function _0x40d1(){const _0x26bf4e=['370eiZQkq','includes','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','3550090KSyxGq','addMany','toString','_iconStateAccepted','set','24IuGvOo','53319gcuBvu','44WPNGEr','fire','htmlStreamer','delegate','_iconStateOutdated','rejectSuggestion','ck-hidden','state','has','AI_SUGGESTION_CONTENT_PART_OUTDATED','innerHTML','createCollection','ck-ai-suggestion__body__content-part__icon-accepted','ck-ai-suggestion__body__content-part','pending','stream','mouseLeaveSuggestion','content','AI_SUGGESTION_CONTENT_PART_TITLE','ck-ai-suggestion__body__content-part__icon-rejected','execute','AI_SUGGESTION_CONTENT_PART_DELETE','hasChanges','ck-ai-suggestion__body__content-part_active','isEnabled','1437400jBiQto','extendTemplate','remove','6tsVLDu','span','ck-ai-suggestion__body__content-part__title__label','change:state','_toolbarView','partDefinition','ck-ai-suggestion__body__content-part_','ck-ai-suggestion__body__content-part__content','ck-ai-suggestion__body__content-part__title','add','_iconStateRejected','isVisible','children','bindTemplate','element','setTemplate','animation:\x20ck-html-streamer-fade-in\x20.5s','updateContent','108334LSUGCx','push','contentView','AI_SUGGESTION_CONTENT_PART_REJECTED','headerView','mouseOverSuggestion','ck-reset_all-excluded','toggleHeader','3059433kYdFwe','items','rejected','ck-ai-suggestion__body__content-part__icon-title','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','insertSuggestion','ck-ai-suggestion__body__content-part__icon-outdated','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','div','outdated','ck-content','showChangeInText','index','bind','accepted','23862RvMath','2961483nHqQzE','streaming'];_0x40d1=function(){return _0x26bf4e;};return _0x40d1();}class Un extends _0x48a254{[_0x3a7430(0x143)];[_0x3a7430(0x13b)];[_0x3a7430(0x169)];[_0x3a7430(0x141)];[_0x3a7430(0x171)];constructor(_0x47e032,{part:_0x3be254,uiIndex:_0x40857d,availableActions:_0x5d8c01}){const _0x38e81d=_0x3a7430;super(_0x47e032),this[_0x38e81d(0x16a)](_0x38e81d(0x13c),_0x3be254),this[_0x38e81d(0x16a)](_0x38e81d(0x133),!0x0),this[_0x38e81d(0x16a)](_0x38e81d(0x174),_0x38e81d(0x129));const _0x112dd9=new _0x2d7818();_0x112dd9[_0x38e81d(0x12c)]=_0x26771b,_0x112dd9[_0x38e81d(0x135)]({'attributes':{'class':[_0x38e81d(0x154)]}});const _0x10c1fb=[];if(_0x5d8c01[_0x38e81d(0x164)](_0x38e81d(0x15c))){const _0x5dad09=new _0x446938(_0x47e032);_0x5dad09[_0x38e81d(0x16a)]({'label':_0x332af6(_0x47e032,_0x38e81d(0x155)),'tooltip':!0x0,'withText':!0x1,'icon':_0x32bf4d}),_0x5dad09[_0x38e81d(0x15e)](_0x38e81d(0x133))['to'](this),_0x5dad09['on'](_0x38e81d(0x12f),()=>{const _0x51d59c=_0x38e81d;this[_0x51d59c(0x16e)](_0x51d59c(0x15c),{'index':_0x3be254[_0x51d59c(0x15d)]});}),_0x10c1fb[_0x38e81d(0x14a)](_0x5dad09);}if(_0x5d8c01[_0x38e81d(0x164)](_0x38e81d(0x156))){const _0x2bd4f4=new _0x446938(_0x47e032);_0x2bd4f4[_0x38e81d(0x16a)]({'label':_0x332af6(_0x47e032,_0x38e81d(0x165)),'tooltip':!0x0,'withText':!0x1,'icon':_0x5466ab}),_0x2bd4f4[_0x38e81d(0x15e)](_0x38e81d(0x133))['to'](this),_0x2bd4f4['on'](_0x38e81d(0x12f),()=>{const _0x381c97=_0x38e81d;this[_0x381c97(0x16e)](_0x381c97(0x156),{'index':_0x3be254[_0x381c97(0x15d)]});}),_0x10c1fb[_0x38e81d(0x14a)](_0x2bd4f4);}const _0x133908=new _0x446938(_0x47e032);_0x133908[_0x38e81d(0x16a)]({'label':_0x332af6(_0x47e032,_0x38e81d(0x130)),'tooltip':!0x0,'withText':!0x1,'icon':_0x585c26}),_0x133908[_0x38e81d(0x15e)](_0x38e81d(0x133))['to'](this),_0x133908['on'](_0x38e81d(0x12f),()=>{const _0x42a8b1=_0x38e81d;this[_0x42a8b1(0x16e)](_0x42a8b1(0x172),{'index':_0x3be254[_0x42a8b1(0x15d)]});}),_0x10c1fb[_0x38e81d(0x14a)](_0x133908),this[_0x38e81d(0x13b)]=new _0x742b3b(_0x47e032),this[_0x38e81d(0x13b)][_0x38e81d(0x152)][_0x38e81d(0x167)](_0x10c1fb),this[_0x38e81d(0x169)]=new _0x2d7818(),this[_0x38e81d(0x169)][_0x38e81d(0x12c)]=_0x37d53f,this[_0x38e81d(0x169)][_0x38e81d(0x135)]({'attributes':{'class':[_0x38e81d(0x127)],'data-cke-tooltip-text':_0x332af6(_0x47e032,_0x38e81d(0x158)),'data-cke-tooltip-position':'n'}}),this[_0x38e81d(0x141)]=new _0x2d7818(),this[_0x38e81d(0x141)][_0x38e81d(0x12c)]=_0x3942d2,this[_0x38e81d(0x141)][_0x38e81d(0x135)]({'attributes':{'class':[_0x38e81d(0x12e)],'data-cke-tooltip-text':_0x332af6(_0x47e032,_0x38e81d(0x14c)),'data-cke-tooltip-position':'n'}}),this[_0x38e81d(0x171)]=new _0x2d7818(),this[_0x38e81d(0x171)][_0x38e81d(0x12c)]=_0x3942d2,this[_0x38e81d(0x171)][_0x38e81d(0x135)]({'attributes':{'class':[_0x38e81d(0x157)],'data-cke-tooltip-text':_0x332af6(_0x47e032,_0x38e81d(0x124)),'data-cke-tooltip-position':'n'}});const _0x2580ff=new _0x48a254(_0x47e032);_0x2580ff[_0x38e81d(0x146)]({'tag':_0x38e81d(0x138),'attributes':{'class':['ck',_0x38e81d(0x139)]},'children':[_0x332af6(_0x47e032,_0x38e81d(0x12d),_0x40857d[_0x38e81d(0x168)]())]}),this[_0x38e81d(0x143)]=this[_0x38e81d(0x126)](),this[_0x38e81d(0x143)][_0x38e81d(0x167)]([_0x112dd9,_0x2580ff,this[_0x38e81d(0x13b)]]),this[_0x38e81d(0x146)]({'tag':_0x38e81d(0x159),'attributes':{'class':['ck',_0x38e81d(0x14f),_0x38e81d(0x13f)]},'children':this[_0x38e81d(0x143)]}),this['on'](_0x38e81d(0x13a),(_0x1060f3,_0x3ebdc5,_0x27ad5c,_0x27c0ff)=>{const _0x51661c=_0x38e81d;switch(_0x27c0ff){case _0x51661c(0x129):this[_0x51661c(0x143)][_0x51661c(0x136)](this[_0x51661c(0x13b)]);break;case _0x51661c(0x15f):this[_0x51661c(0x143)][_0x51661c(0x136)](this[_0x51661c(0x169)]);break;case _0x51661c(0x153):this[_0x51661c(0x143)][_0x51661c(0x136)](this[_0x51661c(0x141)]);break;case _0x51661c(0x15a):this[_0x51661c(0x143)][_0x51661c(0x136)](this[_0x51661c(0x171)]);}switch(_0x27ad5c){case _0x51661c(0x129):this[_0x51661c(0x143)][_0x51661c(0x140)](this[_0x51661c(0x13b)]);break;case _0x51661c(0x15f):this[_0x51661c(0x143)][_0x51661c(0x140)](this[_0x51661c(0x169)]);break;case _0x51661c(0x153):this[_0x51661c(0x143)][_0x51661c(0x140)](this[_0x51661c(0x141)]);break;case _0x51661c(0x15a):this[_0x51661c(0x143)][_0x51661c(0x140)](this[_0x51661c(0x171)]);}});}}
23
+ const _0x3c5e05=_0x3cc3;(function(_0x2f2bc0,_0x466eb0){const _0x698e0e=_0x3cc3,_0x2596b0=_0x2f2bc0();while(!![]){try{const _0x417832=-parseInt(_0x698e0e(0x1d8))/0x1*(parseInt(_0x698e0e(0x1df))/0x2)+parseInt(_0x698e0e(0x1e3))/0x3*(parseInt(_0x698e0e(0x1d9))/0x4)+-parseInt(_0x698e0e(0x211))/0x5+parseInt(_0x698e0e(0x1c7))/0x6+-parseInt(_0x698e0e(0x1d4))/0x7+-parseInt(_0x698e0e(0x1f9))/0x8*(parseInt(_0x698e0e(0x1ee))/0x9)+parseInt(_0x698e0e(0x1e1))/0xa;if(_0x417832===_0x466eb0)break;else _0x2596b0['push'](_0x2596b0['shift']());}catch(_0x3b55e9){_0x2596b0['push'](_0x2596b0['shift']());}}}(_0x5da7,0x77eef));import{View as _0x408872,IconView as _0x5444ee,ToolbarView as _0x2f1b0d,ButtonView as _0x3f9e34}from'ckeditor5/src/ui.js';import{IconAddComment as _0x51e83b,IconDocumentWithLoupe as _0x48406c,IconDocumentWithCheckmark as _0x41b948,IconDocumentWithCross as _0x43354d,IconRemove as _0x231061,IconThreeStars as _0x5095b4}from'ckeditor5/src/icons.js';import{HTMLStreamer as _0x4baa74}from'../../utils/htmlstreamer.js';function _0x3cc3(_0x37e4da,_0x231600){const _0x5da7e9=_0x5da7();return _0x3cc3=function(_0x3cc336,_0x3ce7b5){_0x3cc336=_0x3cc336-0x1c2;let _0x507ea3=_0x5da7e9[_0x3cc336];return _0x507ea3;},_0x3cc3(_0x37e4da,_0x231600);}import{getTranslation as _0x1889d7}from'../../utils/common-translations.js';function _0x5da7(){const _0x55a6c6=['showChangeInText','AI_SUGGESTION_CONTENT_PART_REJECTED','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','239416DvCIrf','remove','hasChanges','state','_iconStateRejected','animation:\x20ck-html-streamer-fade-in\x20.5s','toggleHeader','includes','isVisible','extendTemplate','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','ck-ai-suggestion__body__content-part__title__label','span','htmlStreamer','rejected','innerHTML','ck-ai-suggestion__body__content-part__title','ck-hidden','items','div','ck-ai-suggestion__body__content-part__content','AI_SUGGESTION_CONTENT_PART_TITLE','streaming','pending','2160750uwdCya','updateContent','has','_iconStateOutdated','push','ck-ai-suggestion__body__content-part__icon-outdated','rejectSuggestion','5606964bmZKtA','ck-ai-suggestion__body__content-part__icon-accepted','ck-reset_all-excluded','toString','bind','execute','ck-ai-suggestion__body__content-part','add','mouseLeaveSuggestion','AI_SUGGESTION_CONTENT_PART_DELETE','_toolbarView','headerView','set','6734140BAQqyj','children','index','isEnabled','87941qtYViH','55140SWfsfz','content','AI_SUGGESTION_CONTENT_PART_OUTDATED','change:state','fire','ck-content','4EarpJV','ck-ai-suggestion__body__content-part_active','9376000oWZOAJ','stream','204qapCTu','accepted','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','ck-ai-suggestion__body__content-part_','outdated','addMany','_iconStateAccepted','element','partDefinition','mouseOverSuggestion','contentView','225xlEnor','delegate','bindTemplate','ck-ai-suggestion__body__content-part__icon-title','ck-ai-suggestion__body__content-part__icon-rejected','createCollection','insertSuggestion','setTemplate'];_0x5da7=function(){return _0x55a6c6;};return _0x5da7();}import{serialize as _0x364398}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x1dd460}from'../../utils/eventnames.js';export class AISuggestionBodyViewContentPartView extends _0x408872{[_0x3c5e05(0x206)];[_0x3c5e05(0x1d5)];[_0x3c5e05(0x1d2)];[_0x3c5e05(0x1ed)];constructor(_0x3de806,{part:_0xb35075,uiIndex:_0x530b38,areActionsDisabled:_0x3f5504,availableActions:_0x526618}){const _0x3fa2e5=_0x3c5e05;super(_0x3de806),this[_0x3fa2e5(0x1d3)](_0x3fa2e5(0x1eb),_0xb35075),this[_0x3fa2e5(0x1d3)](_0x3fa2e5(0x1fc),_0x3fa2e5(0x210)),this[_0x3fa2e5(0x1d3)](_0x3fa2e5(0x201),!0x1),this[_0x3fa2e5(0x1cb)](_0x3fa2e5(0x1d7))['to'](this,_0x3fa2e5(0x1fc),_0x2727b4=>_0x3fa2e5(0x210)==_0x2727b4&&!_0x3f5504),this[_0x3fa2e5(0x1d5)]=this[_0x3fa2e5(0x1f3)](),this[_0x3fa2e5(0x206)]=new _0x4baa74({'textNodeStyle':_0x3fa2e5(0x1fe),'delay':0x14}),this[_0x3fa2e5(0x1d2)]=new Vn(_0x3de806,{'part':_0xb35075,'uiIndex':_0x530b38,'availableActions':_0x526618}),this[_0x3fa2e5(0x1d2)][_0x3fa2e5(0x1cb)](_0x3fa2e5(0x1eb))['to'](this),this[_0x3fa2e5(0x1d2)][_0x3fa2e5(0x1cb)](_0x3fa2e5(0x1d7))['to'](this),this[_0x3fa2e5(0x1d2)][_0x3fa2e5(0x1cb)](_0x3fa2e5(0x1fc))['to'](this),this[_0x3fa2e5(0x1d2)][_0x3fa2e5(0x1ef)](..._0x1dd460)['to'](this);const _0x46ac16=this[_0x3fa2e5(0x1f0)];this[_0x3fa2e5(0x1ed)]=new _0x408872(),this[_0x3fa2e5(0x1ed)][_0x3fa2e5(0x1f5)]({'tag':_0x3fa2e5(0x20c),'attributes':{'class':['ck',_0x3fa2e5(0x1de),_0x3fa2e5(0x1c9),_0x3fa2e5(0x20d)]}}),this[_0x3fa2e5(0x1d5)][_0x3fa2e5(0x1e8)]([this[_0x3fa2e5(0x1ed)]]),this[_0x3fa2e5(0x1f5)]({'tag':_0x3fa2e5(0x20c),'attributes':{'class':['ck',_0x3fa2e5(0x1cd),_0x46ac16['to'](_0x3fa2e5(0x1fc),_0x2f7a34=>_0x3fa2e5(0x1e6)+_0x2f7a34),_0x46ac16['to'](_0x3fa2e5(0x1d7),_0x2cc540=>_0x2cc540?_0x3fa2e5(0x1e0):void 0x0),_0x46ac16['if'](_0x3fa2e5(0x201),_0x3fa2e5(0x20a),_0x2b65de=>!_0x2b65de)]},'children':this[_0x3fa2e5(0x1d5)],'on':{'mouseenter':_0x46ac16['to'](()=>{const _0x7c34ef=_0x3fa2e5;this[_0x7c34ef(0x1d7)]&&this[_0x7c34ef(0x1dd)](_0x7c34ef(0x1ec),{'index':_0xb35075[_0x7c34ef(0x1d6)]});}),'mouseleave':_0x46ac16['to'](()=>{const _0x6a344d=_0x3fa2e5;this[_0x6a344d(0x1d7)]&&this[_0x6a344d(0x1dd)](_0x6a344d(0x1cf),{'index':_0xb35075[_0x6a344d(0x1d6)]});})}});}async[_0x3c5e05(0x212)]({part:_0x3592f5,renderingStrategy:_0x57caf2,showUnchangedParts:_0x417aa5=!0x1,abortSignal:_0x5b8a32}){const _0x41f018=_0x3c5e05;this[_0x41f018(0x1eb)]=_0x3592f5,this[_0x41f018(0x201)]=this[_0x41f018(0x1eb)][_0x41f018(0x1fb)]||_0x417aa5,this[_0x41f018(0x201)]&&(_0x41f018(0x20f)===_0x57caf2?await this[_0x41f018(0x206)][_0x41f018(0x1e2)]({'document':this[_0x41f018(0x1eb)][_0x41f018(0x1da)],'targetElement':this[_0x41f018(0x1ed)][_0x41f018(0x1ea)],'abortSignal':_0x5b8a32}):this[_0x41f018(0x1ed)][_0x41f018(0x1ea)][_0x41f018(0x208)]=_0x364398(this[_0x41f018(0x1eb)][_0x41f018(0x1da)]));}[_0x3c5e05(0x1ff)](_0xe22bd7){const _0x2fe0f4=_0x3c5e05;_0xe22bd7?this[_0x2fe0f4(0x1d5)][_0x2fe0f4(0x1c2)](this[_0x2fe0f4(0x1d2)])||this[_0x2fe0f4(0x1d5)][_0x2fe0f4(0x1ce)](this[_0x2fe0f4(0x1d2)],0x0):this[_0x2fe0f4(0x1d5)][_0x2fe0f4(0x1c2)](this[_0x2fe0f4(0x1d2)])&&this[_0x2fe0f4(0x1d5)][_0x2fe0f4(0x1fa)](this[_0x2fe0f4(0x1d2)]);}}class Vn extends _0x408872{[_0x3c5e05(0x1d5)];[_0x3c5e05(0x1d1)];[_0x3c5e05(0x1e9)];[_0x3c5e05(0x1fd)];[_0x3c5e05(0x1c3)];constructor(_0x2b4e25,{part:_0x5c64c4,uiIndex:_0x517bd1,availableActions:_0x259857}){const _0x183624=_0x3c5e05;super(_0x2b4e25),this[_0x183624(0x1d3)](_0x183624(0x1eb),_0x5c64c4),this[_0x183624(0x1d3)](_0x183624(0x1d7),!0x0),this[_0x183624(0x1d3)](_0x183624(0x1fc),_0x183624(0x210));const _0x4be6d2=new _0x5444ee();_0x4be6d2[_0x183624(0x1da)]=_0x5095b4,_0x4be6d2[_0x183624(0x202)]({'attributes':{'class':[_0x183624(0x1f1)]}});const _0x10820e=[];if(_0x259857[_0x183624(0x200)](_0x183624(0x1f6))){const _0x145a3a=new _0x3f9e34(_0x2b4e25);_0x145a3a[_0x183624(0x1d3)]({'label':_0x1889d7(_0x2b4e25,_0x183624(0x203)),'tooltip':!0x0,'withText':!0x1,'icon':_0x48406c}),_0x145a3a[_0x183624(0x1cb)](_0x183624(0x1d7))['to'](this),_0x145a3a['on'](_0x183624(0x1cc),()=>{const _0x386fb6=_0x183624;this[_0x386fb6(0x1dd)](_0x386fb6(0x1f6),{'index':_0x5c64c4[_0x386fb6(0x1d6)]});}),_0x10820e[_0x183624(0x1c4)](_0x145a3a);}if(_0x259857[_0x183624(0x200)](_0x183624(0x1f4))){const _0x1de8fc=new _0x3f9e34(_0x2b4e25);_0x1de8fc[_0x183624(0x1d3)]({'label':_0x1889d7(_0x2b4e25,_0x183624(0x1f8)),'tooltip':!0x0,'withText':!0x1,'icon':_0x51e83b}),_0x1de8fc[_0x183624(0x1cb)](_0x183624(0x1d7))['to'](this),_0x1de8fc['on'](_0x183624(0x1cc),()=>{const _0x37c25f=_0x183624;this[_0x37c25f(0x1dd)](_0x37c25f(0x1f4),{'index':_0x5c64c4[_0x37c25f(0x1d6)]});}),_0x10820e[_0x183624(0x1c4)](_0x1de8fc);}const _0x18849d=new _0x3f9e34(_0x2b4e25);_0x18849d[_0x183624(0x1d3)]({'label':_0x1889d7(_0x2b4e25,_0x183624(0x1d0)),'tooltip':!0x0,'withText':!0x1,'icon':_0x231061}),_0x18849d[_0x183624(0x1cb)](_0x183624(0x1d7))['to'](this),_0x18849d['on'](_0x183624(0x1cc),()=>{const _0x7616e0=_0x183624;this[_0x7616e0(0x1dd)](_0x7616e0(0x1c6),{'index':_0x5c64c4[_0x7616e0(0x1d6)]});}),_0x10820e[_0x183624(0x1c4)](_0x18849d),this[_0x183624(0x1d1)]=new _0x2f1b0d(_0x2b4e25),this[_0x183624(0x1d1)][_0x183624(0x20b)][_0x183624(0x1e8)](_0x10820e),this[_0x183624(0x1e9)]=new _0x5444ee(),this[_0x183624(0x1e9)][_0x183624(0x1da)]=_0x41b948,this[_0x183624(0x1e9)][_0x183624(0x202)]({'attributes':{'class':[_0x183624(0x1c8)],'data-cke-tooltip-text':_0x1889d7(_0x2b4e25,_0x183624(0x1e5)),'data-cke-tooltip-position':'n'}}),this[_0x183624(0x1fd)]=new _0x5444ee(),this[_0x183624(0x1fd)][_0x183624(0x1da)]=_0x43354d,this[_0x183624(0x1fd)][_0x183624(0x202)]({'attributes':{'class':[_0x183624(0x1f2)],'data-cke-tooltip-text':_0x1889d7(_0x2b4e25,_0x183624(0x1f7)),'data-cke-tooltip-position':'n'}}),this[_0x183624(0x1c3)]=new _0x5444ee(),this[_0x183624(0x1c3)][_0x183624(0x1da)]=_0x43354d,this[_0x183624(0x1c3)][_0x183624(0x202)]({'attributes':{'class':[_0x183624(0x1c5)],'data-cke-tooltip-text':_0x1889d7(_0x2b4e25,_0x183624(0x1db)),'data-cke-tooltip-position':'n'}});const _0x48cc46=new _0x408872(_0x2b4e25);_0x48cc46[_0x183624(0x1f5)]({'tag':_0x183624(0x205),'attributes':{'class':['ck',_0x183624(0x204)]},'children':[_0x1889d7(_0x2b4e25,_0x183624(0x20e),_0x517bd1[_0x183624(0x1ca)]())]}),this[_0x183624(0x1d5)]=this[_0x183624(0x1f3)](),this[_0x183624(0x1d5)][_0x183624(0x1e8)]([_0x4be6d2,_0x48cc46,this[_0x183624(0x1d1)]]),this[_0x183624(0x1f5)]({'tag':_0x183624(0x20c),'attributes':{'class':['ck',_0x183624(0x1c9),_0x183624(0x209)]},'children':this[_0x183624(0x1d5)]}),this['on'](_0x183624(0x1dc),(_0x53bc6d,_0x118efb,_0x35805a,_0x26044f)=>{const _0xaa3ef3=_0x183624;switch(_0x26044f){case _0xaa3ef3(0x210):this[_0xaa3ef3(0x1d5)][_0xaa3ef3(0x1fa)](this[_0xaa3ef3(0x1d1)]);break;case _0xaa3ef3(0x1e4):this[_0xaa3ef3(0x1d5)][_0xaa3ef3(0x1fa)](this[_0xaa3ef3(0x1e9)]);break;case _0xaa3ef3(0x207):this[_0xaa3ef3(0x1d5)][_0xaa3ef3(0x1fa)](this[_0xaa3ef3(0x1fd)]);break;case _0xaa3ef3(0x1e7):this[_0xaa3ef3(0x1d5)][_0xaa3ef3(0x1fa)](this[_0xaa3ef3(0x1c3)]);}switch(_0x35805a){case _0xaa3ef3(0x210):this[_0xaa3ef3(0x1d5)][_0xaa3ef3(0x1ce)](this[_0xaa3ef3(0x1d1)]);break;case _0xaa3ef3(0x1e4):this[_0xaa3ef3(0x1d5)][_0xaa3ef3(0x1ce)](this[_0xaa3ef3(0x1e9)]);break;case _0xaa3ef3(0x207):this[_0xaa3ef3(0x1d5)][_0xaa3ef3(0x1ce)](this[_0xaa3ef3(0x1fd)]);break;case _0xaa3ef3(0x1e7):this[_0xaa3ef3(0x1d5)][_0xaa3ef3(0x1ce)](this[_0xaa3ef3(0x1c3)]);}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d0ae2=_0x4802;function _0x3a80(){const _0x33517b=['20255499ywzunZ','AI_SUGGESTION_BUTTON_SHOW_CHANGES','isOn','fire','setTemplate','isVisible','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','417906QNVGBp','span','render','AI_SUGGESTION_HEADER_TITLE','add','filter','content','2242751FDzhko','ck-ai-suggestion__header','isShowChangesToggleVisible','toggleShowChanges','execute','showHeader','8opcnFk','1047065onWaAo','ck-hidden','15qeGrLJ','bind','remove','showChangesToggleView','children','382699jYmDtY','showDiff','176334hPQWqn','icon','set','100uYJHSX','div','230264iTGcdJ','iconView','6LxCsif'];_0x3a80=function(){return _0x33517b;};return _0x3a80();}(function(_0x2eaf2d,_0x47d19f){const _0x488b65=_0x4802,_0x27a0c0=_0x2eaf2d();while(!![]){try{const _0x2ac753=-parseInt(_0x488b65(0xdf))/0x1+parseInt(_0x488b65(0xe1))/0x2+parseInt(_0x488b65(0xda))/0x3*(-parseInt(_0x488b65(0xc0))/0x4)+-parseInt(_0x488b65(0xd8))/0x5*(parseInt(_0x488b65(0xc2))/0x6)+parseInt(_0x488b65(0xd1))/0x7*(-parseInt(_0x488b65(0xd7))/0x8)+-parseInt(_0x488b65(0xca))/0x9*(parseInt(_0x488b65(0xbe))/0xa)+parseInt(_0x488b65(0xc3))/0xb;if(_0x2ac753===_0x47d19f)break;else _0x27a0c0['push'](_0x27a0c0['shift']());}catch(_0x398372){_0x27a0c0['push'](_0x27a0c0['shift']());}}}(_0x3a80,0x40ac5));import{getTranslation as _0x2dc03d}from'../../utils/common-translations.js';import{ButtonView as _0x1e0e40,IconView as _0x5df976,View as _0x1e5796}from'ckeditor5/src/ui.js';import{IconDocument as _0x23ddc4,IconShowChangesOff as _0x519e81,IconShowChangesOn as _0x335bfe}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x1e5796{[_0x2d0ae2(0xdd)];constructor(_0xdc72f,_0x5e5e87){const _0x19a317=_0x2d0ae2;super(_0xdc72f),this[_0x19a317(0xbd)](_0x19a317(0xd3),!0x0),this[_0x19a317(0xdd)]=new ShowChangesToggleView(_0xdc72f),this[_0x19a317(0xdd)][_0x19a317(0xbd)]({'class':_0x19a317(0xc9),'label':_0x2dc03d(_0xdc72f,_0x19a317(0xc4)),'withText':!0x0}),this[_0x19a317(0xdd)][_0x19a317(0xc5)]=_0x5e5e87[_0x19a317(0xe0)],this[_0x19a317(0xdd)][_0x19a317(0xdb)](_0x19a317(0xc8))['to'](this,_0x19a317(0xd3)),this[_0x19a317(0xdd)][_0x19a317(0xdb)](_0x19a317(0xbc))['to'](this[_0x19a317(0xdd)],_0x19a317(0xc5),_0x4641c0=>_0x4641c0?_0x335bfe:_0x519e81),this[_0x19a317(0xdd)]['on'](_0x19a317(0xd5),()=>{const _0x246edd=_0x19a317;this[_0x246edd(0xdd)][_0x246edd(0xc5)]=!this[_0x246edd(0xdd)][_0x246edd(0xc5)],this[_0x246edd(0xc6)](_0x246edd(0xd4),{'isOn':this[_0x246edd(0xdd)][_0x246edd(0xc5)]});});const _0x568ee8=new _0x5df976();_0x568ee8[_0x19a317(0xd0)]=_0x23ddc4,this[_0x19a317(0xc7)]({'tag':_0x19a317(0xbf),'attributes':{'class':['ck',_0x19a317(0xd2),!0x1===_0x5e5e87[_0x19a317(0xd6)]?_0x19a317(0xd9):null][_0x19a317(0xcf)](Boolean)},'children':[_0x568ee8,{'tag':_0x19a317(0xcb),'children':[_0x2dc03d(_0xdc72f,_0x19a317(0xcd))]},this[_0x19a317(0xdd)]]});}}function _0x4802(_0x41a7df,_0x320b3f){const _0x3a8029=_0x3a80();return _0x4802=function(_0x480259,_0x5b0c25){_0x480259=_0x480259-0xbc;let _0x31981d=_0x3a8029[_0x480259];return _0x31981d;},_0x4802(_0x41a7df,_0x320b3f);}export class ShowChangesToggleView extends _0x1e0e40{[_0x2d0ae2(0xcc)](){const _0x4a7c1a=_0x2d0ae2;super[_0x4a7c1a(0xcc)](),this[_0x4a7c1a(0xde)][_0x4a7c1a(0xdc)](this[_0x4a7c1a(0xc1)]),this[_0x4a7c1a(0xde)][_0x4a7c1a(0xce)](this[_0x4a7c1a(0xc1)]);}}
23
+ function _0x1457(_0x3d1826,_0x38f265){const _0x38d11c=_0x38d1();return _0x1457=function(_0x145722,_0x3c7942){_0x145722=_0x145722-0x14a;let _0x5f07df=_0x38d11c[_0x145722];return _0x5f07df;},_0x1457(_0x3d1826,_0x38f265);}const _0x372223=_0x1457;(function(_0x4ad771,_0x35b7ba){const _0x5d7f67=_0x1457,_0x1afdd6=_0x4ad771();while(!![]){try{const _0x1704cf=-parseInt(_0x5d7f67(0x168))/0x1*(-parseInt(_0x5d7f67(0x14a))/0x2)+-parseInt(_0x5d7f67(0x167))/0x3+-parseInt(_0x5d7f67(0x169))/0x4*(-parseInt(_0x5d7f67(0x156))/0x5)+parseInt(_0x5d7f67(0x16b))/0x6+-parseInt(_0x5d7f67(0x161))/0x7+parseInt(_0x5d7f67(0x15c))/0x8*(-parseInt(_0x5d7f67(0x155))/0x9)+parseInt(_0x5d7f67(0x157))/0xa*(parseInt(_0x5d7f67(0x14c))/0xb);if(_0x1704cf===_0x35b7ba)break;else _0x1afdd6['push'](_0x1afdd6['shift']());}catch(_0x401294){_0x1afdd6['push'](_0x1afdd6['shift']());}}}(_0x38d1,0xcd9e0));import{getTranslation as _0x3e9817}from'../../utils/common-translations.js';function _0x38d1(){const _0x15c5c4=['toggleShowChanges','isOn','2utwVZk','isShowChangesToggleVisible','26917rJGCUk','iconView','showChangesToggleView','render','AI_SUGGESTION_HEADER_TITLE','icon','showDiff','ck-ai-suggestion__header','fire','1585989HKsDNW','254165ZSnxfy','2470OccFmt','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','add','children','AI_SUGGESTION_BUTTON_SHOW_CHANGES','8dWTXTn','set','setTemplate','ck-hidden','showHeader','4482793AHFkgh','content','execute','isVisible','bind','span','4382598YUETLc','836561EpcvzE','64zwOewd','remove','5192376twoQpM','filter','div'];_0x38d1=function(){return _0x15c5c4;};return _0x38d1();}import{ButtonView as _0x374715,IconView as _0x30e5f9,View as _0x2f82cb}from'ckeditor5/src/ui.js';import{IconDocument as _0x3f5917,IconShowChangesOff as _0x7543e4,IconShowChangesOn as _0x287779}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x2f82cb{[_0x372223(0x14e)];constructor(_0xf007b4,_0x306ae3){const _0x6fdc6=_0x372223;super(_0xf007b4),this[_0x6fdc6(0x15d)](_0x6fdc6(0x14b),!0x0),this[_0x6fdc6(0x14e)]=new ShowChangesToggleView(_0xf007b4),this[_0x6fdc6(0x14e)][_0x6fdc6(0x15d)]({'class':_0x6fdc6(0x158),'label':_0x3e9817(_0xf007b4,_0x6fdc6(0x15b)),'withText':!0x0}),this[_0x6fdc6(0x14e)][_0x6fdc6(0x16f)]=_0x306ae3[_0x6fdc6(0x152)],this[_0x6fdc6(0x14e)][_0x6fdc6(0x165)](_0x6fdc6(0x164))['to'](this,_0x6fdc6(0x14b)),this[_0x6fdc6(0x14e)][_0x6fdc6(0x165)](_0x6fdc6(0x151))['to'](this[_0x6fdc6(0x14e)],_0x6fdc6(0x16f),_0x129a7f=>_0x129a7f?_0x287779:_0x7543e4),this[_0x6fdc6(0x14e)]['on'](_0x6fdc6(0x163),()=>{const _0x3b63ce=_0x6fdc6;this[_0x3b63ce(0x14e)][_0x3b63ce(0x16f)]=!this[_0x3b63ce(0x14e)][_0x3b63ce(0x16f)],this[_0x3b63ce(0x154)](_0x3b63ce(0x16e),{'isOn':this[_0x3b63ce(0x14e)][_0x3b63ce(0x16f)]});});const _0x348419=new _0x30e5f9();_0x348419[_0x6fdc6(0x162)]=_0x3f5917,this[_0x6fdc6(0x15e)]({'tag':_0x6fdc6(0x16d),'attributes':{'class':['ck',_0x6fdc6(0x153),!0x1===_0x306ae3[_0x6fdc6(0x160)]?_0x6fdc6(0x15f):null][_0x6fdc6(0x16c)](Boolean)},'children':[_0x348419,{'tag':_0x6fdc6(0x166),'children':[_0x3e9817(_0xf007b4,_0x6fdc6(0x150))]},this[_0x6fdc6(0x14e)]]});}}export class ShowChangesToggleView extends _0x374715{[_0x372223(0x14f)](){const _0x3dff1d=_0x372223;super[_0x3dff1d(0x14f)](),this[_0x3dff1d(0x15a)][_0x3dff1d(0x16a)](this[_0x3dff1d(0x14d)]),this[_0x3dff1d(0x15a)][_0x3dff1d(0x159)](this[_0x3dff1d(0x14d)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x563ae4=_0x41d1;(function(_0x23f948,_0x22a1dc){const _0x17f445=_0x41d1,_0x30b912=_0x23f948();while(!![]){try{const _0x2fa250=-parseInt(_0x17f445(0x1c7))/0x1+parseInt(_0x17f445(0x1d0))/0x2+parseInt(_0x17f445(0x1d9))/0x3+-parseInt(_0x17f445(0x1c6))/0x4*(-parseInt(_0x17f445(0x1d5))/0x5)+parseInt(_0x17f445(0x1db))/0x6*(-parseInt(_0x17f445(0x1c9))/0x7)+-parseInt(_0x17f445(0x1dc))/0x8+parseInt(_0x17f445(0x1e3))/0x9*(parseInt(_0x17f445(0x1de))/0xa);if(_0x2fa250===_0x22a1dc)break;else _0x30b912['push'](_0x30b912['shift']());}catch(_0x59d9ce){_0x30b912['push'](_0x30b912['shift']());}}}(_0x194c,0x485e4));function _0x194c(){const _0x4b36e1=['getNudgedToWordBoundary','createBefore','963odGMmW','document','length','path','2277136AlafLQ','182577iDyrIf','parent','44611sBrLnM','start','isEqual','slice','end','data','match','509964TUsuqI','createAt','reduce','same','createFromPath','5iYNuEv','index','ai-documentposition-index-out-of-bounds','createAfter','327825drAuKf','indexOf','324yPvseF','1635640IYBZtO','previousNode','8790ccFzHV','nextNode','ai-documentposition-createfrompath-path-cannot-be-empty'];_0x194c=function(){return _0x4b36e1;};return _0x194c();}import{CKEditorError as _0x4f1a00,compareArrays as _0x3ea961}from'ckeditor5/src/utils.js';import{getNodePath as _0x12cf3a,isText as _0x209e0b,getChildren as _0x259f92,isDocument as _0x495fbd,getParent as _0x218b45,textContent as _0x1b80fb,hasChildren as _0x390bc4}from'./htmlparser.js';function _0x41d1(_0x4b92ad,_0x355f73){const _0x194cd1=_0x194c();return _0x41d1=function(_0x41d1ba,_0x57c8f5){_0x41d1ba=_0x41d1ba-0x1c3;let _0x23d0e7=_0x194cd1[_0x41d1ba];return _0x23d0e7;},_0x41d1(_0x4b92ad,_0x355f73);}export class DocumentPosition{[_0x563ae4(0x1c8)];[_0x563ae4(0x1d6)];[_0x563ae4(0x1c3)];constructor(_0x298681,_0xf75b28,_0x241c1d){const _0x76a8c0=_0x563ae4;if(_0x209e0b(_0xf75b28)&&_0x241c1d>_0xf75b28[_0x76a8c0(0x1ce)][_0x76a8c0(0x1c4)])throw new _0x4f1a00(_0x76a8c0(0x1d7),null,{'index':_0x241c1d,'parent':_0xf75b28});if(_0x390bc4(_0xf75b28)&&_0x241c1d>_0x259f92(_0xf75b28)[_0x76a8c0(0x1c4)])throw new _0x4f1a00(_0x76a8c0(0x1d7),null,{'index':_0x241c1d,'parent':_0xf75b28});if(_0x241c1d<0x0)throw new _0x4f1a00(_0x76a8c0(0x1d7),null,{'index':_0x241c1d,'parent':_0xf75b28});this[_0x76a8c0(0x1c8)]=_0xf75b28,this[_0x76a8c0(0x1d6)]=_0x241c1d,this[_0x76a8c0(0x1c3)]=_0x298681;}get[_0x563ae4(0x1c5)](){const _0x1af8b4=_0x563ae4;return[..._0x12cf3a(this[_0x1af8b4(0x1c8)]),this[_0x1af8b4(0x1d6)]];}[_0x563ae4(0x1cb)](_0x3465e7){const _0x8b77c0=_0x563ae4;return this[_0x8b77c0(0x1c3)]==_0x3465e7[_0x8b77c0(0x1c3)]&&_0x8b77c0(0x1d3)===_0x3ea961(this[_0x8b77c0(0x1c5)],_0x3465e7[_0x8b77c0(0x1c5)]);}get[_0x563ae4(0x1df)](){const _0x5c14b1=_0x563ae4;if(_0x390bc4(this[_0x5c14b1(0x1c8)])){const _0x562276=_0x259f92(this[_0x5c14b1(0x1c8)])[this[_0x5c14b1(0x1d6)]];if(_0x562276)return _0x562276;{const _0x22d949=DocumentPosition[_0x5c14b1(0x1d8)](this[_0x5c14b1(0x1c3)],this[_0x5c14b1(0x1c8)]);if(_0x22d949)return _0x22d949[_0x5c14b1(0x1df)];}}return null;}get[_0x563ae4(0x1dd)](){const _0x109c61=_0x563ae4;if(_0x390bc4(this[_0x109c61(0x1c8)])){const _0x5e25ef=_0x259f92(this[_0x109c61(0x1c8)])[this[_0x109c61(0x1d6)]-0x1];if(_0x5e25ef)return _0x5e25ef;{const _0x3d1abf=DocumentPosition[_0x109c61(0x1e2)](this[_0x109c61(0x1c3)],this[_0x109c61(0x1c8)]);if(_0x3d1abf)return _0x3d1abf[_0x109c61(0x1dd)];}}return null;}[_0x563ae4(0x1e1)](_0x50fe82=_0x563ae4(0x1ca)){const _0x166b36=_0x563ae4;if(!_0x209e0b(this[_0x166b36(0x1c8)]))return this;const _0x160abf=this[_0x166b36(0x1c5)][this[_0x166b36(0x1c5)][_0x166b36(0x1c4)]-0x1],_0x41e3ff=_0x1b80fb(this[_0x166b36(0x1c8)])[_0x166b36(0x1cf)](/(?:\s*\S+\s*)/g);let _0x260c23=0x0,_0x3849aa=_0x160abf;for(const _0x3424ef of _0x41e3ff){if(_0x260c23+_0x3424ef[_0x166b36(0x1c4)]===_0x160abf)return this;if(_0x260c23+_0x3424ef[_0x166b36(0x1c4)]>_0x160abf){_0x3849aa=_0x166b36(0x1ca)===_0x50fe82?_0x260c23:_0x260c23+_0x3424ef[_0x166b36(0x1c4)];break;}_0x260c23+=_0x3424ef[_0x166b36(0x1c4)];}return DocumentPosition[_0x166b36(0x1d1)](this[_0x166b36(0x1c3)],this[_0x166b36(0x1c8)],_0x3849aa);}static[_0x563ae4(0x1d8)](_0x4d3d2d,_0x21c4c2){const _0x3a550e=_0x563ae4;if(_0x495fbd(_0x21c4c2))return null;const _0x2f3871=_0x218b45(_0x21c4c2);return DocumentPosition[_0x3a550e(0x1d1)](_0x4d3d2d,_0x2f3871,_0x259f92(_0x2f3871)[_0x3a550e(0x1da)](_0x21c4c2)+0x1);}static[_0x563ae4(0x1e2)](_0x1c4b9a,_0x420b19){const _0x3ebc21=_0x563ae4;if(_0x495fbd(_0x420b19))return null;const _0x1da0a6=_0x218b45(_0x420b19);return DocumentPosition[_0x3ebc21(0x1d1)](_0x1c4b9a,_0x1da0a6,_0x259f92(_0x1da0a6)[_0x3ebc21(0x1da)](_0x420b19));}static[_0x563ae4(0x1d1)](_0x5b02d3,_0x16599b,_0x34f449=_0x563ae4(0x1ca)){const _0x569a68=_0x563ae4;return new DocumentPosition(_0x5b02d3,_0x16599b,_0x569a68(0x1ca)===_0x34f449?0x0:_0x569a68(0x1cd)===_0x34f449?_0x209e0b(_0x16599b)?_0x16599b[_0x569a68(0x1ce)][_0x569a68(0x1c4)]:_0x259f92(_0x16599b)[_0x569a68(0x1c4)]:_0x34f449);}static[_0x563ae4(0x1d4)](_0x1e53e2,_0x39be37){const _0x134dcc=_0x563ae4;if(!_0x39be37[_0x134dcc(0x1c4)])throw new _0x4f1a00(_0x134dcc(0x1e0),null,{'path':_0x39be37});const _0x6ec6c9=_0x39be37[_0x134dcc(0x1cc)](0x0,-0x1)[_0x134dcc(0x1d2)]((_0x17f1e8,_0x1d2288)=>_0x209e0b(_0x17f1e8)?_0x17f1e8:_0x259f92(_0x17f1e8)[_0x1d2288],_0x1e53e2);return DocumentPosition[_0x134dcc(0x1d1)](_0x1e53e2,_0x6ec6c9,_0x39be37[_0x39be37[_0x134dcc(0x1c4)]-0x1]);}}
23
+ function _0x4a77(){const _0x21fe5b=['match','same','createAt','4YufbiI','previousNode','13512653zzuedf','ai-documentposition-index-out-of-bounds','createFromPath','end','1809010hsAVfH','3581289azcvHd','start','path','createBefore','indexOf','nextNode','parent','createAfter','5VpGsrI','reduce','1546128pDIGrZ','document','length','isEqual','slice','2362494rvDJbb','ai-documentposition-createfrompath-path-cannot-be-empty','index','getNudgedToWordBoundary','10VZYvDQ','data','5977758BTxPSn','8CbgeWT','1016684naJMhY'];_0x4a77=function(){return _0x21fe5b;};return _0x4a77();}const _0x5d0a26=_0x37a1;(function(_0x543531,_0x455607){const _0x181e3d=_0x37a1,_0x577758=_0x543531();while(!![]){try{const _0x3f0961=-parseInt(_0x181e3d(0xf2))/0x1+-parseInt(_0x181e3d(0xe5))/0x2+-parseInt(_0x181e3d(0xea))/0x3*(-parseInt(_0x181e3d(0xf6))/0x4)+parseInt(_0x181e3d(0xe3))/0x5*(parseInt(_0x181e3d(0xf0))/0x6)+-parseInt(_0x181e3d(0xfc))/0x7+-parseInt(_0x181e3d(0xf1))/0x8*(parseInt(_0x181e3d(0xfd))/0x9)+parseInt(_0x181e3d(0xee))/0xa*(parseInt(_0x181e3d(0xf8))/0xb);if(_0x3f0961===_0x455607)break;else _0x577758['push'](_0x577758['shift']());}catch(_0x30685f){_0x577758['push'](_0x577758['shift']());}}}(_0x4a77,0x8a363));import{CKEditorError as _0x5f3e25,compareArrays as _0x34e441}from'ckeditor5/src/utils.js';import{getNodePath as _0x3eaed4,isText as _0x4af153,getChildren as _0x5a8245,isDocument as _0x34982c,getParent as _0xdc70c8,textContent as _0xe1f682,hasChildren as _0x190a13}from'./htmlparser.js';function _0x37a1(_0x5c9df0,_0x459f74){const _0x4a7710=_0x4a77();return _0x37a1=function(_0x37a1f1,_0xe358de){_0x37a1f1=_0x37a1f1-0xdd;let _0x21190a=_0x4a7710[_0x37a1f1];return _0x21190a;},_0x37a1(_0x5c9df0,_0x459f74);}export class DocumentPosition{[_0x5d0a26(0xe1)];[_0x5d0a26(0xec)];[_0x5d0a26(0xe6)];constructor(_0xd447a2,_0xf37d19,_0x4f1f6d){const _0x739867=_0x5d0a26;if(_0x4af153(_0xf37d19)&&_0x4f1f6d>_0xf37d19[_0x739867(0xef)][_0x739867(0xe7)])throw new _0x5f3e25(_0x739867(0xf9),null,{'index':_0x4f1f6d,'parent':_0xf37d19});if(_0x190a13(_0xf37d19)&&_0x4f1f6d>_0x5a8245(_0xf37d19)[_0x739867(0xe7)])throw new _0x5f3e25(_0x739867(0xf9),null,{'index':_0x4f1f6d,'parent':_0xf37d19});if(_0x4f1f6d<0x0)throw new _0x5f3e25(_0x739867(0xf9),null,{'index':_0x4f1f6d,'parent':_0xf37d19});this[_0x739867(0xe1)]=_0xf37d19,this[_0x739867(0xec)]=_0x4f1f6d,this[_0x739867(0xe6)]=_0xd447a2;}get[_0x5d0a26(0xdd)](){const _0x20e4a=_0x5d0a26;return[..._0x3eaed4(this[_0x20e4a(0xe1)]),this[_0x20e4a(0xec)]];}[_0x5d0a26(0xe8)](_0x9a3a4c){const _0x5b6869=_0x5d0a26;return this[_0x5b6869(0xe6)]==_0x9a3a4c[_0x5b6869(0xe6)]&&_0x5b6869(0xf4)===_0x34e441(this[_0x5b6869(0xdd)],_0x9a3a4c[_0x5b6869(0xdd)]);}get[_0x5d0a26(0xe0)](){const _0xbb59c7=_0x5d0a26;if(_0x190a13(this[_0xbb59c7(0xe1)])){const _0x266cb1=_0x5a8245(this[_0xbb59c7(0xe1)])[this[_0xbb59c7(0xec)]];if(_0x266cb1)return _0x266cb1;{const _0x5f9085=DocumentPosition[_0xbb59c7(0xe2)](this[_0xbb59c7(0xe6)],this[_0xbb59c7(0xe1)]);if(_0x5f9085)return _0x5f9085[_0xbb59c7(0xe0)];}}return null;}get[_0x5d0a26(0xf7)](){const _0x1fa43d=_0x5d0a26;if(_0x190a13(this[_0x1fa43d(0xe1)])){const _0x803a8=_0x5a8245(this[_0x1fa43d(0xe1)])[this[_0x1fa43d(0xec)]-0x1];if(_0x803a8)return _0x803a8;{const _0x3e7309=DocumentPosition[_0x1fa43d(0xde)](this[_0x1fa43d(0xe6)],this[_0x1fa43d(0xe1)]);if(_0x3e7309)return _0x3e7309[_0x1fa43d(0xf7)];}}return null;}[_0x5d0a26(0xed)](_0xbca803=_0x5d0a26(0xfe)){const _0x3b596b=_0x5d0a26;if(!_0x4af153(this[_0x3b596b(0xe1)]))return this;const _0x3bcb4a=this[_0x3b596b(0xdd)][this[_0x3b596b(0xdd)][_0x3b596b(0xe7)]-0x1],_0x4a82f2=_0xe1f682(this[_0x3b596b(0xe1)])[_0x3b596b(0xf3)](/(?:\s*\S+\s*)/g);let _0x29e2c0=0x0,_0x5a4258=_0x3bcb4a;for(const _0x491d04 of _0x4a82f2){if(_0x29e2c0+_0x491d04[_0x3b596b(0xe7)]===_0x3bcb4a)return this;if(_0x29e2c0+_0x491d04[_0x3b596b(0xe7)]>_0x3bcb4a){_0x5a4258=_0x3b596b(0xfe)===_0xbca803?_0x29e2c0:_0x29e2c0+_0x491d04[_0x3b596b(0xe7)];break;}_0x29e2c0+=_0x491d04[_0x3b596b(0xe7)];}return DocumentPosition[_0x3b596b(0xf5)](this[_0x3b596b(0xe6)],this[_0x3b596b(0xe1)],_0x5a4258);}static[_0x5d0a26(0xe2)](_0x504796,_0x5887b6){const _0x41813a=_0x5d0a26;if(_0x34982c(_0x5887b6))return null;const _0x5e3d4c=_0xdc70c8(_0x5887b6);return DocumentPosition[_0x41813a(0xf5)](_0x504796,_0x5e3d4c,_0x5a8245(_0x5e3d4c)[_0x41813a(0xdf)](_0x5887b6)+0x1);}static[_0x5d0a26(0xde)](_0x1abf3a,_0x1dd494){const _0x2f1984=_0x5d0a26;if(_0x34982c(_0x1dd494))return null;const _0x5c9389=_0xdc70c8(_0x1dd494);return DocumentPosition[_0x2f1984(0xf5)](_0x1abf3a,_0x5c9389,_0x5a8245(_0x5c9389)[_0x2f1984(0xdf)](_0x1dd494));}static[_0x5d0a26(0xf5)](_0x10e1c4,_0x5ad420,_0x3090c8=_0x5d0a26(0xfe)){const _0x2b62ec=_0x5d0a26;return new DocumentPosition(_0x10e1c4,_0x5ad420,_0x2b62ec(0xfe)===_0x3090c8?0x0:_0x2b62ec(0xfb)===_0x3090c8?_0x4af153(_0x5ad420)?_0x5ad420[_0x2b62ec(0xef)][_0x2b62ec(0xe7)]:_0x5a8245(_0x5ad420)[_0x2b62ec(0xe7)]:_0x3090c8);}static[_0x5d0a26(0xfa)](_0x1caae6,_0x171539){const _0x2cbdb2=_0x5d0a26;if(!_0x171539[_0x2cbdb2(0xe7)])throw new _0x5f3e25(_0x2cbdb2(0xeb),null,{'path':_0x171539});const _0x1190c7=_0x171539[_0x2cbdb2(0xe9)](0x0,-0x1)[_0x2cbdb2(0xe4)]((_0x4bd306,_0x53c915)=>_0x4af153(_0x4bd306)?_0x4bd306:_0x5a8245(_0x4bd306)[_0x53c915],_0x1caae6);return DocumentPosition[_0x2cbdb2(0xf5)](_0x1caae6,_0x1190c7,_0x171539[_0x171539[_0x2cbdb2(0xe7)]-0x1]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x140ca2=_0x34bf;(function(_0x5a7b5b,_0xb732b6){const _0x526496=_0x34bf,_0x5ba8da=_0x5a7b5b();while(!![]){try{const _0x1fd618=parseInt(_0x526496(0x15e))/0x1+-parseInt(_0x526496(0x16f))/0x2+parseInt(_0x526496(0x162))/0x3*(-parseInt(_0x526496(0x168))/0x4)+parseInt(_0x526496(0x167))/0x5+parseInt(_0x526496(0x15a))/0x6*(-parseInt(_0x526496(0x174))/0x7)+parseInt(_0x526496(0x171))/0x8*(parseInt(_0x526496(0x176))/0x9)+parseInt(_0x526496(0x165))/0xa*(parseInt(_0x526496(0x161))/0xb);if(_0x1fd618===_0xb732b6)break;else _0x5ba8da['push'](_0x5ba8da['shift']());}catch(_0x3fdb8c){_0x5ba8da['push'](_0x5ba8da['shift']());}}}(_0x355e,0x244e6));import{DocumentPosition as _0x4b5eab}from'./documentposition.js';function _0x355e(){const _0x5e2872=['getNudgedToWordBoundary','path','759DIoJyY','388203dwxnQt','isEqual','createAfter','39310sAtCYD','createAt','920630rUYony','4kxyBPB','length','push','reverse','getContent','nextNode','forEach','561186lpyuAP','parent','16ycSOfT','document','slice','668269ZGJxFd','lastChild','1006497oPgjxB','previousNode','includes','data','createFromPath','start','18qFlzfG','firstChild','createBefore','end','166074bFCoVx'];_0x355e=function(){return _0x5e2872;};return _0x355e();}import{clone as _0x4db59e,getParents as _0x202c0a,Document as _0x4185eb,Text as _0xff0970,isTag as _0x16a74a,isText as _0x45fb2d,replaceElement as _0x193e76,removeElement as _0x51dc21}from'./htmlparser.js';function _0x34bf(_0x268bbd,_0x158496){const _0x355e07=_0x355e();return _0x34bf=function(_0x34bfd0,_0x1bfb10){_0x34bfd0=_0x34bfd0-0x159;let _0x255df4=_0x355e07[_0x34bfd0];return _0x255df4;},_0x34bf(_0x268bbd,_0x158496);}export class DocumentRange{[_0x140ca2(0x159)];[_0x140ca2(0x15d)];constructor(_0x1edd2c,_0x46a562){const _0x348c6e=_0x140ca2;this[_0x348c6e(0x159)]=_0x1edd2c,this[_0x348c6e(0x15d)]=_0x46a562;}[_0x140ca2(0x163)](_0x411075){const _0x4eca87=_0x140ca2;return this==_0x411075||this[_0x4eca87(0x159)][_0x4eca87(0x163)](_0x411075[_0x4eca87(0x159)])&&this[_0x4eca87(0x15d)][_0x4eca87(0x163)](_0x411075[_0x4eca87(0x15d)]);}[_0x140ca2(0x15f)](){const _0x40791d=_0x140ca2;return new DocumentRange(this[_0x40791d(0x159)][_0x40791d(0x15f)](_0x40791d(0x159)),this[_0x40791d(0x15d)][_0x40791d(0x15f)](_0x40791d(0x15d)));}[_0x140ca2(0x16c)](){const _0x13e13b=_0x140ca2,_0x3ee430=_0x4db59e(this[_0x13e13b(0x159)][_0x13e13b(0x172)]),_0x5c2f47=_0x4b5eab[_0x13e13b(0x17a)](_0x3ee430,this[_0x13e13b(0x159)][_0x13e13b(0x160)]),_0x1ff56a=_0x4b5eab[_0x13e13b(0x17a)](_0x3ee430,this[_0x13e13b(0x15d)][_0x13e13b(0x160)]);let _0x2e1abe,_0x259c94;if(_0x45fb2d(_0x5c2f47[_0x13e13b(0x170)])){const _0x10feeb=_0x5c2f47[_0x13e13b(0x160)][_0x5c2f47[_0x13e13b(0x160)][_0x13e13b(0x169)]-0x1],_0x5aa6fd=new _0xff0970(_0x5c2f47[_0x13e13b(0x170)][_0x13e13b(0x179)][_0x13e13b(0x173)](_0x10feeb));_0x193e76(_0x5c2f47[_0x13e13b(0x170)],_0x5aa6fd),_0x2e1abe=_0x5aa6fd;}else _0x2e1abe=_0x5c2f47[_0x13e13b(0x16d)];if(_0x45fb2d(_0x1ff56a[_0x13e13b(0x170)])){const _0x407a43=_0x1ff56a[_0x13e13b(0x160)][_0x1ff56a[_0x13e13b(0x160)][_0x13e13b(0x169)]-0x1],_0x3da90d=new _0xff0970(_0x1ff56a[_0x13e13b(0x170)][_0x13e13b(0x179)][_0x13e13b(0x173)](0x0,_0x407a43));_0x193e76(_0x1ff56a[_0x13e13b(0x170)],_0x3da90d),_0x259c94=_0x3da90d;}else _0x259c94=_0x1ff56a[_0x13e13b(0x177)];if(!(_0x2e1abe&&_0x259c94&&_0x3ee430[_0x13e13b(0x15b)]&&_0x3ee430[_0x13e13b(0x175)]))return new _0x4185eb([]);const _0x1787a1=_0x202c0a(_0x2e1abe),_0x2b8935=_0x202c0a(_0x259c94),_0x4bcaeb=[],_0x2fcbd9=[];let _0x566650=_0x3ee430[_0x13e13b(0x15b)];for(;_0x566650&&_0x566650!==_0x2e1abe;){let _0xa3edf;_0x1787a1[_0x13e13b(0x178)](_0x566650)||_0x4bcaeb[_0x13e13b(0x16a)](_0x566650),_0xa3edf=_0x16a74a(_0x566650)?_0x4b5eab[_0x13e13b(0x166)](_0x3ee430,_0x566650,_0x13e13b(0x159)):_0x4b5eab[_0x13e13b(0x164)](_0x3ee430,_0x566650),_0x566650=_0xa3edf?_0xa3edf[_0x13e13b(0x16d)]:null;}for(_0x566650=_0x3ee430[_0x13e13b(0x175)];_0x566650&&_0x566650!==_0x259c94;){let _0x264e7c;_0x2b8935[_0x13e13b(0x178)](_0x566650)||_0x2fcbd9[_0x13e13b(0x16a)](_0x566650),_0x264e7c=_0x16a74a(_0x566650)?_0x4b5eab[_0x13e13b(0x166)](_0x3ee430,_0x566650,_0x13e13b(0x15d)):_0x4b5eab[_0x13e13b(0x15c)](_0x3ee430,_0x566650),_0x566650=_0x264e7c?_0x264e7c[_0x13e13b(0x177)]:null;}return _0x4bcaeb[_0x13e13b(0x16e)](_0x4f3ebf=>{_0x51dc21(_0x4f3ebf);}),_0x2fcbd9[_0x13e13b(0x16b)]()[_0x13e13b(0x16e)](_0x1060bc=>{_0x51dc21(_0x1060bc);}),_0x3ee430;}}
23
+ const _0x16e46c=_0xa644;(function(_0x4003a9,_0x6d508c){const _0xdc01b5=_0xa644,_0x5795c6=_0x4003a9();while(!![]){try{const _0x9fa3c2=-parseInt(_0xdc01b5(0x138))/0x1+parseInt(_0xdc01b5(0x141))/0x2*(parseInt(_0xdc01b5(0x131))/0x3)+parseInt(_0xdc01b5(0x14c))/0x4*(-parseInt(_0xdc01b5(0x12d))/0x5)+-parseInt(_0xdc01b5(0x12f))/0x6*(-parseInt(_0xdc01b5(0x13f))/0x7)+-parseInt(_0xdc01b5(0x14d))/0x8*(parseInt(_0xdc01b5(0x130))/0x9)+parseInt(_0xdc01b5(0x134))/0xa+-parseInt(_0xdc01b5(0x13d))/0xb*(-parseInt(_0xdc01b5(0x140))/0xc);if(_0x9fa3c2===_0x6d508c)break;else _0x5795c6['push'](_0x5795c6['shift']());}catch(_0x4f404a){_0x5795c6['push'](_0x5795c6['shift']());}}}(_0x2fb2,0x247b9));import{DocumentPosition as _0xdc308d}from'./documentposition.js';function _0x2fb2(){const _0x17aed4=['3941WBvsMC','140052oNFSOI','408ktjdDj','createAfter','length','includes','reverse','getContent','slice','lastChild','forEach','firstChild','isEqual','12zDEkak','112BfrqYm','path','data','310715fZWurm','push','282mKlmHV','78102YNtUzY','1545chShoi','start','createFromPath','2522960BDTuuM','createAt','getNudgedToWordBoundary','createBefore','159883zFUrMO','previousNode','document','parent','end','220ORnidd','nextNode'];_0x2fb2=function(){return _0x17aed4;};return _0x2fb2();}function _0xa644(_0x980bd,_0x2e6b92){const _0x2fb214=_0x2fb2();return _0xa644=function(_0xa644a3,_0x3705f6){_0xa644a3=_0xa644a3-0x12b;let _0x3aadbb=_0x2fb214[_0xa644a3];return _0x3aadbb;},_0xa644(_0x980bd,_0x2e6b92);}import{clone as _0x4bacb5,getParents as _0x31ebe4,Document as _0x2cdfc1,Text as _0x21d907,isTag as _0x2f865f,isText as _0x4ffaca,replaceElement as _0x5d72a4,removeElement as _0x3b7815}from'./htmlparser.js';export class DocumentRange{[_0x16e46c(0x132)];[_0x16e46c(0x13c)];constructor(_0x49cf92,_0xf6a0f6){const _0x244073=_0x16e46c;this[_0x244073(0x132)]=_0x49cf92,this[_0x244073(0x13c)]=_0xf6a0f6;}[_0x16e46c(0x14b)](_0x50c740){const _0x426262=_0x16e46c;return this==_0x50c740||this[_0x426262(0x132)][_0x426262(0x14b)](_0x50c740[_0x426262(0x132)])&&this[_0x426262(0x13c)][_0x426262(0x14b)](_0x50c740[_0x426262(0x13c)]);}[_0x16e46c(0x136)](){const _0x21eb54=_0x16e46c;return new DocumentRange(this[_0x21eb54(0x132)][_0x21eb54(0x136)](_0x21eb54(0x132)),this[_0x21eb54(0x13c)][_0x21eb54(0x136)](_0x21eb54(0x13c)));}[_0x16e46c(0x146)](){const _0x460b64=_0x16e46c,_0x574e90=_0x4bacb5(this[_0x460b64(0x132)][_0x460b64(0x13a)]),_0x1215d6=_0xdc308d[_0x460b64(0x133)](_0x574e90,this[_0x460b64(0x132)][_0x460b64(0x12b)]),_0x19b8b6=_0xdc308d[_0x460b64(0x133)](_0x574e90,this[_0x460b64(0x13c)][_0x460b64(0x12b)]);let _0x2be38b,_0x5e0bc6;if(_0x4ffaca(_0x1215d6[_0x460b64(0x13b)])){const _0x4a9a96=_0x1215d6[_0x460b64(0x12b)][_0x1215d6[_0x460b64(0x12b)][_0x460b64(0x143)]-0x1],_0x3cfc1f=new _0x21d907(_0x1215d6[_0x460b64(0x13b)][_0x460b64(0x12c)][_0x460b64(0x147)](_0x4a9a96));_0x5d72a4(_0x1215d6[_0x460b64(0x13b)],_0x3cfc1f),_0x2be38b=_0x3cfc1f;}else _0x2be38b=_0x1215d6[_0x460b64(0x13e)];if(_0x4ffaca(_0x19b8b6[_0x460b64(0x13b)])){const _0x4f27dd=_0x19b8b6[_0x460b64(0x12b)][_0x19b8b6[_0x460b64(0x12b)][_0x460b64(0x143)]-0x1],_0x1e2beb=new _0x21d907(_0x19b8b6[_0x460b64(0x13b)][_0x460b64(0x12c)][_0x460b64(0x147)](0x0,_0x4f27dd));_0x5d72a4(_0x19b8b6[_0x460b64(0x13b)],_0x1e2beb),_0x5e0bc6=_0x1e2beb;}else _0x5e0bc6=_0x19b8b6[_0x460b64(0x139)];if(!(_0x2be38b&&_0x5e0bc6&&_0x574e90[_0x460b64(0x14a)]&&_0x574e90[_0x460b64(0x148)]))return new _0x2cdfc1([]);const _0x17d9c6=_0x31ebe4(_0x2be38b),_0x5ae9a3=_0x31ebe4(_0x5e0bc6),_0x199814=[],_0x1da84b=[];let _0x2cdd37=_0x574e90[_0x460b64(0x14a)];for(;_0x2cdd37&&_0x2cdd37!==_0x2be38b;){let _0x35991b;_0x17d9c6[_0x460b64(0x144)](_0x2cdd37)||_0x199814[_0x460b64(0x12e)](_0x2cdd37),_0x35991b=_0x2f865f(_0x2cdd37)?_0xdc308d[_0x460b64(0x135)](_0x574e90,_0x2cdd37,_0x460b64(0x132)):_0xdc308d[_0x460b64(0x142)](_0x574e90,_0x2cdd37),_0x2cdd37=_0x35991b?_0x35991b[_0x460b64(0x13e)]:null;}for(_0x2cdd37=_0x574e90[_0x460b64(0x148)];_0x2cdd37&&_0x2cdd37!==_0x5e0bc6;){let _0x28e0bc;_0x5ae9a3[_0x460b64(0x144)](_0x2cdd37)||_0x1da84b[_0x460b64(0x12e)](_0x2cdd37),_0x28e0bc=_0x2f865f(_0x2cdd37)?_0xdc308d[_0x460b64(0x135)](_0x574e90,_0x2cdd37,_0x460b64(0x13c)):_0xdc308d[_0x460b64(0x137)](_0x574e90,_0x2cdd37),_0x2cdd37=_0x28e0bc?_0x28e0bc[_0x460b64(0x139)]:null;}return _0x199814[_0x460b64(0x149)](_0x469dbe=>{_0x3b7815(_0x469dbe);}),_0x1da84b[_0x460b64(0x145)]()[_0x460b64(0x149)](_0x5e4407=>{_0x3b7815(_0x5e4407);}),_0x574e90;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x23ad9c,_0x2a61ca){var _0x329778=_0x1de2,_0x5a51c9=_0x23ad9c();while(!![]){try{var _0x53bbd1=-parseInt(_0x329778(0x1e9))/0x1*(-parseInt(_0x329778(0x1e5))/0x2)+-parseInt(_0x329778(0x1dd))/0x3*(-parseInt(_0x329778(0x1e2))/0x4)+-parseInt(_0x329778(0x1dc))/0x5*(parseInt(_0x329778(0x1eb))/0x6)+parseInt(_0x329778(0x1ea))/0x7*(-parseInt(_0x329778(0x1e7))/0x8)+-parseInt(_0x329778(0x1e0))/0x9*(-parseInt(_0x329778(0x1de))/0xa)+parseInt(_0x329778(0x1db))/0xb*(-parseInt(_0x329778(0x1df))/0xc)+-parseInt(_0x329778(0x1e8))/0xd;if(_0x53bbd1===_0x2a61ca)break;else _0x5a51c9['push'](_0x5a51c9['shift']());}catch(_0x36187f){_0x5a51c9['push'](_0x5a51c9['shift']());}}}(_0x513b,0x5576e));function _0x1de2(_0x230ebe,_0x20358f){var _0x513bf4=_0x513b();return _0x1de2=function(_0x1de26b,_0x5e7563){_0x1de26b=_0x1de26b-0x1da;var _0x2f17a3=_0x513bf4[_0x1de26b];return _0x2f17a3;},_0x1de2(_0x230ebe,_0x20358f);}import{CKEditorError as _0x28ba32}from'ckeditor5/src/utils.js';import{Editor as _0x11c182}from'ckeditor5/src/core.js';function _0x513b(){var _0x7b5457=['get','675604qrwvqN','AIChat:\x20Multiple\x20editor\x20instances\x20detected.\x20Only\x20the\x20first\x20editor\x20instance\x20will\x20be\x20used\x20for\x20AI\x20operations.\x20This\x20configuration\x20is\x20not\x20fully\x20supported\x20and\x20may\x20lead\x20to\x20unexpected\x20behavior.','length','2FMuoMI','editors','56ihdliv','307918mphoVT','229167XaJGAq','139783eDKjvm','6gFRLqn','ai-get-editor-from-context-no-editor','warn','11YHGYHS','3144605QTlAXl','9cESbZs','244190mFrtrM','1567632Jxsoal','198kHGTkw'];_0x513b=function(){return _0x7b5457;};return _0x513b();}export function getEditorFromContext(_0x4ae43e){var _0xa270fd=_0x1de2;if(_0x4ae43e instanceof _0x11c182)return _0x4ae43e;if(_0x4ae43e?.[_0xa270fd(0x1e6)]&&_0x4ae43e[_0xa270fd(0x1e6)][_0xa270fd(0x1e1)](0x0))return _0x4ae43e[_0xa270fd(0x1e6)][_0xa270fd(0x1e4)]>0x1&&console[_0xa270fd(0x1da)](_0xa270fd(0x1e3)),_0x4ae43e[_0xa270fd(0x1e6)][_0xa270fd(0x1e1)](0x0);throw new _0x28ba32(_0xa270fd(0x1ec));}
23
+ (function(_0x27e05d,_0x423d51){var _0xda3c91=_0x408f,_0x479f48=_0x27e05d();while(!![]){try{var _0x59c27b=parseInt(_0xda3c91(0x1a6))/0x1+parseInt(_0xda3c91(0x1a0))/0x2+parseInt(_0xda3c91(0x1a3))/0x3*(parseInt(_0xda3c91(0x1a8))/0x4)+-parseInt(_0xda3c91(0x1aa))/0x5+parseInt(_0xda3c91(0x1a2))/0x6+-parseInt(_0xda3c91(0x1a7))/0x7+parseInt(_0xda3c91(0x1a1))/0x8;if(_0x59c27b===_0x423d51)break;else _0x479f48['push'](_0x479f48['shift']());}catch(_0x2edf31){_0x479f48['push'](_0x479f48['shift']());}}}(_0x583a,0xc82ce));import{CKEditorError as _0x2cad53}from'ckeditor5/src/utils.js';function _0x408f(_0x1bb019,_0x585e29){var _0x583acf=_0x583a();return _0x408f=function(_0x408ffc,_0x1700b8){_0x408ffc=_0x408ffc-0x19e;var _0x2aac88=_0x583acf[_0x408ffc];return _0x2aac88;},_0x408f(_0x1bb019,_0x585e29);}import{Editor as _0x197608}from'ckeditor5/src/core.js';function _0x583a(){var _0x141207=['969120lahsXM','6186esJwGp','warn','length','252126nkKoCW','4395986qJXnfR','564cpeffI','editors','3970310rrjaFq','ai-get-editor-from-context-no-editor','get','AIChat:\x20Multiple\x20editor\x20instances\x20detected.\x20Only\x20the\x20first\x20editor\x20instance\x20will\x20be\x20used\x20for\x20AI\x20operations.\x20This\x20configuration\x20is\x20not\x20fully\x20supported\x20and\x20may\x20lead\x20to\x20unexpected\x20behavior.','897622XVMpEp','8710232gevQnx'];_0x583a=function(){return _0x141207;};return _0x583a();}export function getEditorFromContext(_0x2e07ec){var _0x2e5c98=_0x408f;if(_0x2e07ec instanceof _0x197608)return _0x2e07ec;if(_0x2e07ec?.[_0x2e5c98(0x1a9)]&&_0x2e07ec[_0x2e5c98(0x1a9)][_0x2e5c98(0x19e)](0x0))return _0x2e07ec[_0x2e5c98(0x1a9)][_0x2e5c98(0x1a5)]>0x1&&console[_0x2e5c98(0x1a4)](_0x2e5c98(0x19f)),_0x2e07ec[_0x2e5c98(0x1a9)][_0x2e5c98(0x19e)](0x0);throw new _0x2cad53(_0x2e5c98(0x1ab));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1dbab0,_0x59100d){const _0x4b7039=_0x3c09,_0x408821=_0x1dbab0();while(!![]){try{const _0x128458=-parseInt(_0x4b7039(0x1b6))/0x1+parseInt(_0x4b7039(0x1b5))/0x2+parseInt(_0x4b7039(0x1b7))/0x3+-parseInt(_0x4b7039(0x1ac))/0x4+parseInt(_0x4b7039(0x1d0))/0x5+-parseInt(_0x4b7039(0x1c6))/0x6*(-parseInt(_0x4b7039(0x1ce))/0x7)+parseInt(_0x4b7039(0x1b4))/0x8*(parseInt(_0x4b7039(0x1c5))/0x9);if(_0x128458===_0x59100d)break;else _0x408821['push'](_0x408821['shift']());}catch(_0x518791){_0x408821['push'](_0x408821['shift']());}}}(_0x2496,0xb40d4));import{transformOperationSets as _0x29aa95}from'ckeditor5/src/engine.js';function _0x2496(){const _0x1dcb64=['document','content','filter','3402jyYUll','operationsA','6260940HrnPwm','3895964BmHEyM','markers','history','documentContextContent','model','getDiff','name','new','18904zjcYAl','27706fOYeWB','877406DsZpdj','450864NXbGMM','type','cloneNode','getOperations','marker','node','oldRange','version','removed','anchorId','length','getDocumentContext','shift','map','2502CPAdmr','6366FDhBus','data-id','get','getRange','previousSibling'];_0x2496=function(){return _0x1dcb64;};return _0x2496();}function _0x3c09(_0x26133c,_0x50d2d6){const _0x24967c=_0x2496();return _0x3c09=function(_0x3c09ce,_0x47a4ea){_0x3c09ce=_0x3c09ce-0x1ac;let _0x52d2e7=_0x24967c[_0x3c09ce];return _0x52d2e7;},_0x3c09(_0x26133c,_0x50d2d6);}import{append as _0x13dc9b,findByAttribute as _0x33c2ed,prependChild as _0x34dc8c,removeElement as _0x532aa3,serialize as _0x888708}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x2267c1,interaction:_0x35d460,reply:_0x2c89b0,groups:_0x14766c,transform:_0x4d0ae8,documentCompare:_0x255d7a,documentCompareOptions:_0x1bc800}){const _0xefb980=_0x3c09,_0x428d69=_0x35d460[_0xefb980(0x1c2)]();if(!_0x428d69)return[];const _0x3c0113=_0x428d69[_0xefb980(0x1cc)],_0x56b26a=_0x428d69[_0xefb980(0x1be)],_0x53577b=_0x2c89b0[_0xefb980(0x1af)][_0xefb980(0x1b9)](!0x0);for(const {changes:_0x816297}of _0x14766c){const _0x14c53d=_0x816297[_0xefb980(0x1cd)](_0x1f055d=>_0xefb980(0x1b3)!=_0x1f055d[_0xefb980(0x1b8)])[_0xefb980(0x1c4)](_0x4c1830=>_0x33c2ed(_0xefb980(0x1c7),_0x4c1830['id'],_0x53577b)),_0x208170=_0x816297[_0xefb980(0x1cd)](_0x1828cd=>_0xefb980(0x1bf)!=_0x1828cd[_0xefb980(0x1b8)])[_0xefb980(0x1c4)](_0xa24db2=>_0xa24db2[_0xefb980(0x1bc)][_0xefb980(0x1b9)](!0x0));let _0x2a1eb8=null;if(_0x14c53d[_0xefb980(0x1c1)]){_0x2a1eb8=_0x14c53d[0x0][_0xefb980(0x1ca)];for(let _0x4ff55b=0x0;_0x4ff55b<_0x14c53d[_0xefb980(0x1c1)];_0x4ff55b++)_0x532aa3(_0x14c53d[_0x4ff55b]);}if(_0x208170[_0xefb980(0x1c1)]){_0x2a1eb8||(_0x816297[0x0][_0xefb980(0x1c0)]?_0x2a1eb8=_0x33c2ed(_0xefb980(0x1c7),_0x816297[0x0][_0xefb980(0x1c0)],_0x53577b):(_0x2a1eb8=_0x208170[_0xefb980(0x1c3)](),_0x34dc8c(_0x53577b,_0x2a1eb8)));for(let _0x4af17c=0x0;_0x4af17c<_0x208170[_0xefb980(0x1c1)];_0x4af17c++)_0x13dc9b(_0x2a1eb8,_0x208170[_0x4af17c]),_0x2a1eb8=_0x208170[_0x4af17c];}}const _0x2c452d=_0x888708(_0x53577b),_0x2b8639=_0x255d7a[_0xefb980(0x1b1)](_0x3c0113,_0x2c452d,_0x1bc800)[_0xefb980(0x1ba)]();if(_0x4d0ae8){const _0x55d0bc=_0x2267c1[_0xefb980(0x1b0)][_0xefb980(0x1cb)][_0xefb980(0x1ae)][_0xefb980(0x1ba)](_0x56b26a),_0x2ee26b={'document':_0x2267c1[_0xefb980(0x1b0)][_0xefb980(0x1cb)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x29aa95(_0x2b8639,_0x55d0bc,_0x2ee26b)[_0xefb980(0x1cf)];}return _0x2b8639;}export function fixMarkerOperationOldRange(_0x57833a,_0x517026){const _0xe8e25c=_0x3c09;if(_0xe8e25c(0x1bb)!=_0x517026[_0xe8e25c(0x1b8)])return;const _0x39f733=_0x57833a[_0xe8e25c(0x1b0)][_0xe8e25c(0x1ad)][_0xe8e25c(0x1c8)](_0x517026[_0xe8e25c(0x1b2)]);_0x39f733&&(_0x517026[_0xe8e25c(0x1bd)]=_0x39f733[_0xe8e25c(0x1c9)]());}
23
+ function _0xf48a(){const _0x7465af=['anchorId','node','length','oldRange','previousSibling','version','model','data-id','type','content','getRange','name','8YEOTkt','filter','get','8691725NPwWNb','615472xCPzpd','operationsA','863997zNObuG','removed','163448jLDUjO','cloneNode','886660WGocOx','map','1596150JuHLFz','getDiff','marker','805684AIsYGW','history','document','documentContextContent','new','getDocumentContext','shift','getOperations','markers'];_0xf48a=function(){return _0x7465af;};return _0xf48a();}(function(_0x574604,_0x5cac87){const _0x55bd5a=_0x137b,_0x2d49aa=_0x574604();while(!![]){try{const _0x1c8874=parseInt(_0x55bd5a(0x189))/0x1+parseInt(_0x55bd5a(0x185))/0x2+parseInt(_0x55bd5a(0x187))/0x3+parseInt(_0x55bd5a(0x16c))/0x4+parseInt(_0x55bd5a(0x18b))/0x5+parseInt(_0x55bd5a(0x169))/0x6+-parseInt(_0x55bd5a(0x184))/0x7*(parseInt(_0x55bd5a(0x181))/0x8);if(_0x1c8874===_0x5cac87)break;else _0x2d49aa['push'](_0x2d49aa['shift']());}catch(_0x198f74){_0x2d49aa['push'](_0x2d49aa['shift']());}}}(_0xf48a,0x279ee));function _0x137b(_0x20eac9,_0x263220){const _0xf48a32=_0xf48a();return _0x137b=function(_0x137b34,_0x2fb1cf){_0x137b34=_0x137b34-0x168;let _0x5ce701=_0xf48a32[_0x137b34];return _0x5ce701;},_0x137b(_0x20eac9,_0x263220);}import{transformOperationSets as _0x38017d}from'ckeditor5/src/engine.js';import{append as _0xcb29e3,findByAttribute as _0x5d30eb,prependChild as _0x58b436,removeElement as _0x20aa4d,serialize as _0x57ba1c}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x5aca14,interaction:_0x5d0458,reply:_0x63ae3d,groups:_0x471011,transform:_0x39c433,documentCompare:_0x30b28e,documentCompareOptions:_0x12f67e}){const _0x549a5e=_0x137b,_0x2bd3d4=_0x5d0458[_0x549a5e(0x171)]();if(!_0x2bd3d4)return[];const _0x1a8762=_0x2bd3d4[_0x549a5e(0x17e)],_0x137499=_0x2bd3d4[_0x549a5e(0x17a)],_0x107ba9=_0x63ae3d[_0x549a5e(0x16f)][_0x549a5e(0x18a)](!0x0);for(const {changes:_0x3143e1}of _0x471011){const _0x34dcf2=_0x3143e1[_0x549a5e(0x182)](_0x4b3d66=>_0x549a5e(0x170)!=_0x4b3d66[_0x549a5e(0x17d)])[_0x549a5e(0x168)](_0x5dbd63=>_0x5d30eb(_0x549a5e(0x17c),_0x5dbd63['id'],_0x107ba9)),_0x4ae079=_0x3143e1[_0x549a5e(0x182)](_0x20760c=>_0x549a5e(0x188)!=_0x20760c[_0x549a5e(0x17d)])[_0x549a5e(0x168)](_0x51b250=>_0x51b250[_0x549a5e(0x176)][_0x549a5e(0x18a)](!0x0));let _0x319bb4=null;if(_0x34dcf2[_0x549a5e(0x177)]){_0x319bb4=_0x34dcf2[0x0][_0x549a5e(0x179)];for(let _0x4b5fad=0x0;_0x4b5fad<_0x34dcf2[_0x549a5e(0x177)];_0x4b5fad++)_0x20aa4d(_0x34dcf2[_0x4b5fad]);}if(_0x4ae079[_0x549a5e(0x177)]){_0x319bb4||(_0x3143e1[0x0][_0x549a5e(0x175)]?_0x319bb4=_0x5d30eb(_0x549a5e(0x17c),_0x3143e1[0x0][_0x549a5e(0x175)],_0x107ba9):(_0x319bb4=_0x4ae079[_0x549a5e(0x172)](),_0x58b436(_0x107ba9,_0x319bb4)));for(let _0x3efc15=0x0;_0x3efc15<_0x4ae079[_0x549a5e(0x177)];_0x3efc15++)_0xcb29e3(_0x319bb4,_0x4ae079[_0x3efc15]),_0x319bb4=_0x4ae079[_0x3efc15];}}const _0x1d032e=_0x57ba1c(_0x107ba9),_0x246d69=_0x30b28e[_0x549a5e(0x16a)](_0x1a8762,_0x1d032e,_0x12f67e)[_0x549a5e(0x173)]();if(_0x39c433){const _0x3ef03a=_0x5aca14[_0x549a5e(0x17b)][_0x549a5e(0x16e)][_0x549a5e(0x16d)][_0x549a5e(0x173)](_0x137499),_0x452849={'document':_0x5aca14[_0x549a5e(0x17b)][_0x549a5e(0x16e)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x38017d(_0x246d69,_0x3ef03a,_0x452849)[_0x549a5e(0x186)];}return _0x246d69;}export function fixMarkerOperationOldRange(_0x284ca1,_0x458fdb){const _0x2d12b8=_0x137b;if(_0x2d12b8(0x16b)!=_0x458fdb[_0x2d12b8(0x17d)])return;const _0x1d2018=_0x284ca1[_0x2d12b8(0x17b)][_0x2d12b8(0x174)][_0x2d12b8(0x183)](_0x458fdb[_0x2d12b8(0x180)]);_0x1d2018&&(_0x458fdb[_0x2d12b8(0x178)]=_0x1d2018[_0x2d12b8(0x17f)]());}