@ckeditor/ckeditor5-ai 47.1.0-alpha.0 → 47.1.0-alpha.1

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 (122) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +4 -4
  3. package/package.json +15 -15
  4. package/src/aiactions/aiactions.js +1 -1
  5. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  6. package/src/aiactions/model/aiactionsreply.js +1 -1
  7. package/src/aiassistant/adapters/aiadapter.js +1 -1
  8. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  9. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  10. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  11. package/src/aiassistant/aiassistant.js +1 -1
  12. package/src/aiassistant/aiassistantediting.js +1 -1
  13. package/src/aiassistant/aiassistantui.js +1 -1
  14. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  15. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  16. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  17. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  18. package/src/aiassistant/ui/form/aiformview.js +1 -1
  19. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  20. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  21. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  22. package/src/aiballoon/aiballoon.js +1 -1
  23. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  24. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  25. package/src/aiballoon/ui/aiballoonview.js +1 -1
  26. package/src/aichat/aichat.js +1 -1
  27. package/src/aichat/aichatcontroller.js +1 -1
  28. package/src/aichat/aichatui.js +1 -1
  29. package/src/aichat/model/aichatcontext.js +1 -1
  30. package/src/aichat/model/aichatconversation.js +1 -1
  31. package/src/aichat/model/aichatinteraction.js +1 -1
  32. package/src/aichat/model/aichatmodels.js +1 -1
  33. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  34. package/src/aichat/ui/aichatfeedview.js +1 -1
  35. package/src/aichat/ui/aichatheaderview.js +1 -1
  36. package/src/aichat/ui/aichatview.js +1 -1
  37. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  38. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  39. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  40. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  41. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  42. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  43. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  44. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  45. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  46. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  48. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  49. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  50. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  51. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  56. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  57. package/src/aichat/utils/eventnames.js +1 -1
  58. package/src/aichat/utils/promisequeue.js +1 -1
  59. package/src/aichat/utils/scrollmanager.js +1 -1
  60. package/src/aichathistory/aichathistory.js +1 -1
  61. package/src/aichathistory/aichathistorycontroller.js +1 -1
  62. package/src/aichathistory/aichathistoryui.js +1 -1
  63. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  64. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  65. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  66. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  67. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  68. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  69. package/src/aicore/aiconnector.js +1 -1
  70. package/src/aicore/aiediting.js +1 -1
  71. package/src/aicore/model/aicapabilities.js +1 -1
  72. package/src/aicore/model/aiinteraction.js +1 -1
  73. package/src/aicore/model/aireply.js +1 -1
  74. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  75. package/src/aicore/pipeline/airesponseparser.js +2 -2
  76. package/src/aicore/ui/aidisclaimerview.js +1 -1
  77. package/src/aicore/ui/aiskeleton.js +1 -1
  78. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  79. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  80. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  81. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  82. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  83. package/src/aicore/utils/createresizebutton.js +1 -1
  84. package/src/aicore/utils/documentposition.js +1 -1
  85. package/src/aicore/utils/documentrange.js +1 -1
  86. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  87. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  88. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  89. package/src/aicore/utils/htmlparser.js +1 -1
  90. package/src/aicore/utils/htmlstreamer.js +1 -1
  91. package/src/aieditorintegration/aieditorintegration.js +1 -1
  92. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  93. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  94. package/src/aiquickactions/aiquickactions.js +1 -1
  95. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  96. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  97. package/src/aiquickactions/aiquickactionsui.js +1 -1
  98. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  99. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  100. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  101. package/src/aireviewmode/aireviewmode.js +1 -1
  102. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  103. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  104. package/src/aireviewmode/aireviewmodeui.js +1 -1
  105. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  106. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  107. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  108. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  109. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  110. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  111. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  112. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  113. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  114. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  115. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  116. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  117. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  118. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  119. package/src/aitabs/aitabs.js +1 -1
  120. package/src/aitabs/tabs/aitabsview.js +1 -1
  121. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  122. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f9be9=_0x1315;(function(_0x54e8ed,_0x1e2484){const _0x3b965b=_0x1315,_0x4aa71d=_0x54e8ed();while(!![]){try{const _0x1bd593=-parseInt(_0x3b965b(0xd2))/0x1+-parseInt(_0x3b965b(0xd0))/0x2+parseInt(_0x3b965b(0xd6))/0x3+parseInt(_0x3b965b(0xe7))/0x4+-parseInt(_0x3b965b(0xd1))/0x5+-parseInt(_0x3b965b(0xd9))/0x6*(-parseInt(_0x3b965b(0xe9))/0x7)+-parseInt(_0x3b965b(0xe8))/0x8*(parseInt(_0x3b965b(0xcf))/0x9);if(_0x1bd593===_0x1e2484)break;else _0x4aa71d['push'](_0x4aa71d['shift']());}catch(_0x4b8a81){_0x4aa71d['push'](_0x4aa71d['shift']());}}}(_0x56c2,0x952d8));import{CKEditorError as _0x5dd983,compareArrays as _0x41739d}from'ckeditor5/src/utils.js';function _0x56c2(){const _0x32c7d6=['data','previousNode','ai-documentposition-createfrompath-path-cannot-be-empty','createBefore','createAt','getNudgedToWordBoundary','path','isEqual','document','createAfter','reduce','nextNode','parent','3532704FgOviz','843664oKCfVo','4802dQPYJP','indexOf','match','ai-documentposition-index-out-of-bounds','end','slice','9EvERRC','2395246qpHYoF','667035eMeaXZ','416850eqXANh','length','createFromPath','start','2475666SKFVkC','same','index','6612sNzFlU'];_0x56c2=function(){return _0x32c7d6;};return _0x56c2();}function _0x1315(_0x8f6545,_0x54c14f){const _0x56c258=_0x56c2();return _0x1315=function(_0x1315b1,_0x187414){_0x1315b1=_0x1315b1-0xce;let _0x5999cf=_0x56c258[_0x1315b1];return _0x5999cf;},_0x1315(_0x8f6545,_0x54c14f);}import{getNodePath as _0x261ead,isText as _0x4beb05,getChildren as _0x449626,isDocument as _0x36a531,getParent as _0x205bbe,textContent as _0x1f3758,hasChildren as _0x33545f}from'./htmlparser.js';export class DocumentPosition{[_0x4f9be9(0xe6)];[_0x4f9be9(0xd8)];[_0x4f9be9(0xe2)];constructor(_0x57385d,_0x545a52,_0x1f2e8e){const _0x40e4de=_0x4f9be9;if(_0x4beb05(_0x545a52)&&_0x1f2e8e>_0x545a52[_0x40e4de(0xda)][_0x40e4de(0xd3)])throw new _0x5dd983(_0x40e4de(0xec),null,{'index':_0x1f2e8e,'parent':_0x545a52});if(_0x33545f(_0x545a52)&&_0x1f2e8e>_0x449626(_0x545a52)[_0x40e4de(0xd3)])throw new _0x5dd983(_0x40e4de(0xec),null,{'index':_0x1f2e8e,'parent':_0x545a52});if(_0x1f2e8e<0x0)throw new _0x5dd983(_0x40e4de(0xec),null,{'index':_0x1f2e8e,'parent':_0x545a52});this[_0x40e4de(0xe6)]=_0x545a52,this[_0x40e4de(0xd8)]=_0x1f2e8e,this[_0x40e4de(0xe2)]=_0x57385d;}get[_0x4f9be9(0xe0)](){const _0x5edb92=_0x4f9be9;return[..._0x261ead(this[_0x5edb92(0xe6)]),this[_0x5edb92(0xd8)]];}[_0x4f9be9(0xe1)](_0x5829d5){const _0xb3cbf8=_0x4f9be9;return this[_0xb3cbf8(0xe2)]==_0x5829d5[_0xb3cbf8(0xe2)]&&_0xb3cbf8(0xd7)===_0x41739d(this[_0xb3cbf8(0xe0)],_0x5829d5[_0xb3cbf8(0xe0)]);}get[_0x4f9be9(0xe5)](){const _0x88e1a4=_0x4f9be9;if(_0x33545f(this[_0x88e1a4(0xe6)])){const _0x8de4e3=_0x449626(this[_0x88e1a4(0xe6)])[this[_0x88e1a4(0xd8)]];if(_0x8de4e3)return _0x8de4e3;{const _0x4425bc=DocumentPosition[_0x88e1a4(0xe3)](this[_0x88e1a4(0xe2)],this[_0x88e1a4(0xe6)]);if(_0x4425bc)return _0x4425bc[_0x88e1a4(0xe5)];}}return null;}get[_0x4f9be9(0xdb)](){const _0x16a2ff=_0x4f9be9;if(_0x33545f(this[_0x16a2ff(0xe6)])){const _0x2b24ad=_0x449626(this[_0x16a2ff(0xe6)])[this[_0x16a2ff(0xd8)]-0x1];if(_0x2b24ad)return _0x2b24ad;{const _0x3ed204=DocumentPosition[_0x16a2ff(0xdd)](this[_0x16a2ff(0xe2)],this[_0x16a2ff(0xe6)]);if(_0x3ed204)return _0x3ed204[_0x16a2ff(0xdb)];}}return null;}[_0x4f9be9(0xdf)](_0x5b7c11=_0x4f9be9(0xd5)){const _0x3c2b87=_0x4f9be9;if(!_0x4beb05(this[_0x3c2b87(0xe6)]))return this;const _0x8c5f78=this[_0x3c2b87(0xe0)][this[_0x3c2b87(0xe0)][_0x3c2b87(0xd3)]-0x1],_0x22d530=_0x1f3758(this[_0x3c2b87(0xe6)])[_0x3c2b87(0xeb)](/(?:\s*\S+\s*)/g);let _0x3f3857=0x0,_0x18c61f=_0x8c5f78;for(const _0x262c78 of _0x22d530){if(_0x3f3857+_0x262c78[_0x3c2b87(0xd3)]===_0x8c5f78)return this;if(_0x3f3857+_0x262c78[_0x3c2b87(0xd3)]>_0x8c5f78){_0x18c61f=_0x3c2b87(0xd5)===_0x5b7c11?_0x3f3857:_0x3f3857+_0x262c78[_0x3c2b87(0xd3)];break;}_0x3f3857+=_0x262c78[_0x3c2b87(0xd3)];}return DocumentPosition[_0x3c2b87(0xde)](this[_0x3c2b87(0xe2)],this[_0x3c2b87(0xe6)],_0x18c61f);}static[_0x4f9be9(0xe3)](_0x28e572,_0x231370){const _0x3370e2=_0x4f9be9;if(_0x36a531(_0x231370))return null;const _0x5a0573=_0x205bbe(_0x231370);return DocumentPosition[_0x3370e2(0xde)](_0x28e572,_0x5a0573,_0x449626(_0x5a0573)[_0x3370e2(0xea)](_0x231370)+0x1);}static[_0x4f9be9(0xdd)](_0xcab6fb,_0xbfd924){const _0x25216a=_0x4f9be9;if(_0x36a531(_0xbfd924))return null;const _0x1c80b4=_0x205bbe(_0xbfd924);return DocumentPosition[_0x25216a(0xde)](_0xcab6fb,_0x1c80b4,_0x449626(_0x1c80b4)[_0x25216a(0xea)](_0xbfd924));}static[_0x4f9be9(0xde)](_0x5857d2,_0x543099,_0x39bb20=_0x4f9be9(0xd5)){const _0x5d0afe=_0x4f9be9;return new DocumentPosition(_0x5857d2,_0x543099,_0x5d0afe(0xd5)===_0x39bb20?0x0:_0x5d0afe(0xed)===_0x39bb20?_0x4beb05(_0x543099)?_0x543099[_0x5d0afe(0xda)][_0x5d0afe(0xd3)]:_0x449626(_0x543099)[_0x5d0afe(0xd3)]:_0x39bb20);}static[_0x4f9be9(0xd4)](_0x8fe87b,_0xd49ff2){const _0x13c0dd=_0x4f9be9;if(!_0xd49ff2[_0x13c0dd(0xd3)])throw new _0x5dd983(_0x13c0dd(0xdc),null,{'path':_0xd49ff2});const _0xe87e57=_0xd49ff2[_0x13c0dd(0xce)](0x0,-0x1)[_0x13c0dd(0xe4)]((_0x4bd09f,_0x512d45)=>_0x4beb05(_0x4bd09f)?_0x4bd09f:_0x449626(_0x4bd09f)[_0x512d45],_0x8fe87b);return DocumentPosition[_0x13c0dd(0xde)](_0x8fe87b,_0xe87e57,_0xd49ff2[_0xd49ff2[_0x13c0dd(0xd3)]-0x1]);}}
23
+ function _0x3a0f(){const _0x3173bf=['reduce','index','path','length','43834EwJglV','createAt','match','same','3126105SpBcTV','createBefore','getNudgedToWordBoundary','previousNode','slice','createFromPath','3300657EhcHuA','nextNode','ai-documentposition-index-out-of-bounds','2676eTeril','data','isEqual','81762bAHsdB','1353340lQvzni','905CVsNHw','856WKJtOl','99cBGfRU','12AVbCgC','indexOf','document','parent','3735020dOzUGt','end','start','ai-documentposition-createfrompath-path-cannot-be-empty','createAfter'];_0x3a0f=function(){return _0x3173bf;};return _0x3a0f();}function _0x5baa(_0x221b5d,_0x48f020){const _0x3a0f7b=_0x3a0f();return _0x5baa=function(_0x5baaab,_0x4d7ca2){_0x5baaab=_0x5baaab-0x88;let _0x3ed703=_0x3a0f7b[_0x5baaab];return _0x3ed703;},_0x5baa(_0x221b5d,_0x48f020);}const _0xaeede2=_0x5baa;(function(_0x340149,_0x37110d){const _0x324033=_0x5baa,_0x2d5205=_0x340149();while(!![]){try{const _0x5179d8=parseInt(_0x324033(0xa0))/0x1*(-parseInt(_0x324033(0x9b))/0x2)+parseInt(_0x324033(0x95))/0x3+parseInt(_0x324033(0xa4))/0x4+parseInt(_0x324033(0x9d))/0x5*(parseInt(_0x324033(0x98))/0x6)+-parseInt(_0x324033(0x8b))/0x7*(-parseInt(_0x324033(0x9e))/0x8)+-parseInt(_0x324033(0x8f))/0x9+-parseInt(_0x324033(0x9c))/0xa*(parseInt(_0x324033(0x9f))/0xb);if(_0x5179d8===_0x37110d)break;else _0x2d5205['push'](_0x2d5205['shift']());}catch(_0x4240de){_0x2d5205['push'](_0x2d5205['shift']());}}}(_0x3a0f,0xb1eeb));import{CKEditorError as _0x17a684,compareArrays as _0x34481b}from'ckeditor5/src/utils.js';import{getNodePath as _0x2eb0ed,isText as _0x21d262,getChildren as _0xd615c,isDocument as _0x18f67d,getParent as _0x424809,textContent as _0x14c741,hasChildren as _0x354f22}from'./htmlparser.js';export class DocumentPosition{[_0xaeede2(0xa3)];[_0xaeede2(0x88)];[_0xaeede2(0xa2)];constructor(_0x3e49fc,_0x4e7a7f,_0xc1c4a5){const _0x47dcba=_0xaeede2;if(_0x21d262(_0x4e7a7f)&&_0xc1c4a5>_0x4e7a7f[_0x47dcba(0x99)][_0x47dcba(0x8a)])throw new _0x17a684(_0x47dcba(0x97),null,{'index':_0xc1c4a5,'parent':_0x4e7a7f});if(_0x354f22(_0x4e7a7f)&&_0xc1c4a5>_0xd615c(_0x4e7a7f)[_0x47dcba(0x8a)])throw new _0x17a684(_0x47dcba(0x97),null,{'index':_0xc1c4a5,'parent':_0x4e7a7f});if(_0xc1c4a5<0x0)throw new _0x17a684(_0x47dcba(0x97),null,{'index':_0xc1c4a5,'parent':_0x4e7a7f});this[_0x47dcba(0xa3)]=_0x4e7a7f,this[_0x47dcba(0x88)]=_0xc1c4a5,this[_0x47dcba(0xa2)]=_0x3e49fc;}get[_0xaeede2(0x89)](){const _0x2cf5dd=_0xaeede2;return[..._0x2eb0ed(this[_0x2cf5dd(0xa3)]),this[_0x2cf5dd(0x88)]];}[_0xaeede2(0x9a)](_0x9e092c){const _0x224056=_0xaeede2;return this[_0x224056(0xa2)]==_0x9e092c[_0x224056(0xa2)]&&_0x224056(0x8e)===_0x34481b(this[_0x224056(0x89)],_0x9e092c[_0x224056(0x89)]);}get[_0xaeede2(0x96)](){const _0x6812e3=_0xaeede2;if(_0x354f22(this[_0x6812e3(0xa3)])){const _0x3070b6=_0xd615c(this[_0x6812e3(0xa3)])[this[_0x6812e3(0x88)]];if(_0x3070b6)return _0x3070b6;{const _0x573ebf=DocumentPosition[_0x6812e3(0xa8)](this[_0x6812e3(0xa2)],this[_0x6812e3(0xa3)]);if(_0x573ebf)return _0x573ebf[_0x6812e3(0x96)];}}return null;}get[_0xaeede2(0x92)](){const _0x38188f=_0xaeede2;if(_0x354f22(this[_0x38188f(0xa3)])){const _0x2a51eb=_0xd615c(this[_0x38188f(0xa3)])[this[_0x38188f(0x88)]-0x1];if(_0x2a51eb)return _0x2a51eb;{const _0x31f9fb=DocumentPosition[_0x38188f(0x90)](this[_0x38188f(0xa2)],this[_0x38188f(0xa3)]);if(_0x31f9fb)return _0x31f9fb[_0x38188f(0x92)];}}return null;}[_0xaeede2(0x91)](_0x5b952b=_0xaeede2(0xa6)){const _0x4e369a=_0xaeede2;if(!_0x21d262(this[_0x4e369a(0xa3)]))return this;const _0x3ac055=this[_0x4e369a(0x89)][this[_0x4e369a(0x89)][_0x4e369a(0x8a)]-0x1],_0x29b55e=_0x14c741(this[_0x4e369a(0xa3)])[_0x4e369a(0x8d)](/(?:\s*\S+\s*)/g);let _0x33e122=0x0,_0x11e2a8=_0x3ac055;for(const _0x536b68 of _0x29b55e){if(_0x33e122+_0x536b68[_0x4e369a(0x8a)]===_0x3ac055)return this;if(_0x33e122+_0x536b68[_0x4e369a(0x8a)]>_0x3ac055){_0x11e2a8=_0x4e369a(0xa6)===_0x5b952b?_0x33e122:_0x33e122+_0x536b68[_0x4e369a(0x8a)];break;}_0x33e122+=_0x536b68[_0x4e369a(0x8a)];}return DocumentPosition[_0x4e369a(0x8c)](this[_0x4e369a(0xa2)],this[_0x4e369a(0xa3)],_0x11e2a8);}static[_0xaeede2(0xa8)](_0x39f86d,_0x4474af){const _0x24f90a=_0xaeede2;if(_0x18f67d(_0x4474af))return null;const _0x51276f=_0x424809(_0x4474af);return DocumentPosition[_0x24f90a(0x8c)](_0x39f86d,_0x51276f,_0xd615c(_0x51276f)[_0x24f90a(0xa1)](_0x4474af)+0x1);}static[_0xaeede2(0x90)](_0x380c22,_0x7c2e65){const _0x1c31ca=_0xaeede2;if(_0x18f67d(_0x7c2e65))return null;const _0x52e313=_0x424809(_0x7c2e65);return DocumentPosition[_0x1c31ca(0x8c)](_0x380c22,_0x52e313,_0xd615c(_0x52e313)[_0x1c31ca(0xa1)](_0x7c2e65));}static[_0xaeede2(0x8c)](_0x458932,_0x321969,_0x22708c=_0xaeede2(0xa6)){const _0x51afcb=_0xaeede2;return new DocumentPosition(_0x458932,_0x321969,_0x51afcb(0xa6)===_0x22708c?0x0:_0x51afcb(0xa5)===_0x22708c?_0x21d262(_0x321969)?_0x321969[_0x51afcb(0x99)][_0x51afcb(0x8a)]:_0xd615c(_0x321969)[_0x51afcb(0x8a)]:_0x22708c);}static[_0xaeede2(0x94)](_0xeaff29,_0x6295d5){const _0x2cb5dc=_0xaeede2;if(!_0x6295d5[_0x2cb5dc(0x8a)])throw new _0x17a684(_0x2cb5dc(0xa7),null,{'path':_0x6295d5});const _0x10fb2e=_0x6295d5[_0x2cb5dc(0x93)](0x0,-0x1)[_0x2cb5dc(0xa9)]((_0x490abe,_0x1c3580)=>_0x21d262(_0x490abe)?_0x490abe:_0xd615c(_0x490abe)[_0x1c3580],_0xeaff29);return DocumentPosition[_0x2cb5dc(0x8c)](_0xeaff29,_0x10fb2e,_0x6295d5[_0x6295d5[_0x2cb5dc(0x8a)]-0x1]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x116e(_0x5d4b1c,_0x224a7e){const _0x223980=_0x2239();return _0x116e=function(_0x116e62,_0x44975d){_0x116e62=_0x116e62-0xce;let _0x26326c=_0x223980[_0x116e62];return _0x26326c;},_0x116e(_0x5d4b1c,_0x224a7e);}const _0x2b80f3=_0x116e;(function(_0x3912f2,_0xf8da9c){const _0x200e10=_0x116e,_0x215669=_0x3912f2();while(!![]){try{const _0x446854=parseInt(_0x200e10(0xe0))/0x1*(parseInt(_0x200e10(0xd2))/0x2)+-parseInt(_0x200e10(0xe5))/0x3+parseInt(_0x200e10(0xde))/0x4*(-parseInt(_0x200e10(0xdb))/0x5)+-parseInt(_0x200e10(0xce))/0x6+-parseInt(_0x200e10(0xdc))/0x7*(-parseInt(_0x200e10(0xed))/0x8)+parseInt(_0x200e10(0xda))/0x9+parseInt(_0x200e10(0xe2))/0xa;if(_0x446854===_0xf8da9c)break;else _0x215669['push'](_0x215669['shift']());}catch(_0x264f33){_0x215669['push'](_0x215669['shift']());}}}(_0x2239,0xcbf8b));import{DocumentPosition as _0x993962}from'./documentposition.js';import{clone as _0x56a2dc,getParents as _0x1f8520,Document as _0x5990d6,Text as _0x7d933,isTag as _0x49c500,isText as _0x5174d8,replaceElement as _0x35679d,removeElement as _0x14c5d4}from'./htmlparser.js';export class DocumentRange{[_0x2b80f3(0xe7)];[_0x2b80f3(0xeb)];constructor(_0x2ca6ac,_0x214ead){const _0x900b9e=_0x2b80f3;this[_0x900b9e(0xe7)]=_0x2ca6ac,this[_0x900b9e(0xeb)]=_0x214ead;}[_0x2b80f3(0xd4)](_0x2f8d46){const _0x339598=_0x2b80f3;return this==_0x2f8d46||this[_0x339598(0xe7)][_0x339598(0xd4)](_0x2f8d46[_0x339598(0xe7)])&&this[_0x339598(0xeb)][_0x339598(0xd4)](_0x2f8d46[_0x339598(0xeb)]);}[_0x2b80f3(0xe4)](){const _0x5c302e=_0x2b80f3;return new DocumentRange(this[_0x5c302e(0xe7)][_0x5c302e(0xe4)](_0x5c302e(0xe7)),this[_0x5c302e(0xeb)][_0x5c302e(0xe4)](_0x5c302e(0xeb)));}[_0x2b80f3(0xdd)](){const _0x224fcc=_0x2b80f3,_0x1d3c62=_0x56a2dc(this[_0x224fcc(0xe7)][_0x224fcc(0xec)]),_0x3665de=_0x993962[_0x224fcc(0xe6)](_0x1d3c62,this[_0x224fcc(0xe7)][_0x224fcc(0xe9)]),_0x27e6b8=_0x993962[_0x224fcc(0xe6)](_0x1d3c62,this[_0x224fcc(0xeb)][_0x224fcc(0xe9)]);let _0x59c6a3,_0x4b5582;if(_0x5174d8(_0x3665de[_0x224fcc(0xe1)])){const _0x145017=_0x3665de[_0x224fcc(0xe9)][_0x3665de[_0x224fcc(0xe9)][_0x224fcc(0xcf)]-0x1],_0x317a69=new _0x7d933(_0x3665de[_0x224fcc(0xe1)][_0x224fcc(0xd7)][_0x224fcc(0xe8)](_0x145017));_0x35679d(_0x3665de[_0x224fcc(0xe1)],_0x317a69),_0x59c6a3=_0x317a69;}else _0x59c6a3=_0x3665de[_0x224fcc(0xd1)];if(_0x5174d8(_0x27e6b8[_0x224fcc(0xe1)])){const _0x3fe445=_0x27e6b8[_0x224fcc(0xe9)][_0x27e6b8[_0x224fcc(0xe9)][_0x224fcc(0xcf)]-0x1],_0xb9761=new _0x7d933(_0x27e6b8[_0x224fcc(0xe1)][_0x224fcc(0xd7)][_0x224fcc(0xe8)](0x0,_0x3fe445));_0x35679d(_0x27e6b8[_0x224fcc(0xe1)],_0xb9761),_0x4b5582=_0xb9761;}else _0x4b5582=_0x27e6b8[_0x224fcc(0xd0)];if(!(_0x59c6a3&&_0x4b5582&&_0x1d3c62[_0x224fcc(0xe3)]&&_0x1d3c62[_0x224fcc(0xee)]))return new _0x5990d6([]);const _0x1a7c92=_0x1f8520(_0x59c6a3),_0x444e1d=_0x1f8520(_0x4b5582),_0x89e092=[],_0x13057b=[];let _0x4c5e82=_0x1d3c62[_0x224fcc(0xe3)];for(;_0x4c5e82&&_0x4c5e82!==_0x59c6a3;){let _0x4e37ae;_0x1a7c92[_0x224fcc(0xdf)](_0x4c5e82)||_0x89e092[_0x224fcc(0xd8)](_0x4c5e82),_0x4e37ae=_0x49c500(_0x4c5e82)?_0x993962[_0x224fcc(0xea)](_0x1d3c62,_0x4c5e82,_0x224fcc(0xe7)):_0x993962[_0x224fcc(0xd5)](_0x1d3c62,_0x4c5e82),_0x4c5e82=_0x4e37ae?_0x4e37ae[_0x224fcc(0xd1)]:null;}for(_0x4c5e82=_0x1d3c62[_0x224fcc(0xee)];_0x4c5e82&&_0x4c5e82!==_0x4b5582;){let _0x69aa4c;_0x444e1d[_0x224fcc(0xdf)](_0x4c5e82)||_0x13057b[_0x224fcc(0xd8)](_0x4c5e82),_0x69aa4c=_0x49c500(_0x4c5e82)?_0x993962[_0x224fcc(0xea)](_0x1d3c62,_0x4c5e82,_0x224fcc(0xeb)):_0x993962[_0x224fcc(0xd9)](_0x1d3c62,_0x4c5e82),_0x4c5e82=_0x69aa4c?_0x69aa4c[_0x224fcc(0xd0)]:null;}return _0x89e092[_0x224fcc(0xd3)](_0x558770=>{_0x14c5d4(_0x558770);}),_0x13057b[_0x224fcc(0xd6)]()[_0x224fcc(0xd3)](_0x8f6644=>{_0x14c5d4(_0x8f6644);}),_0x1d3c62;}}function _0x2239(){const _0xb49ba7=['766458Koqcdz','235lvxwXd','7ajKyhY','getContent','43728ztiSEi','includes','58883xRvQdZ','parent','2632740YGeTwA','firstChild','getNudgedToWordBoundary','2200077aMPXTm','createFromPath','start','slice','path','createAt','end','document','1365512efunlF','lastChild','158016HFnZgk','length','previousNode','nextNode','54OWlfcf','forEach','isEqual','createAfter','reverse','data','push','createBefore'];_0x2239=function(){return _0xb49ba7;};return _0x2239();}
23
+ function _0x19f2(_0xfb9357,_0x419ee3){const _0x3c3c2d=_0x3c3c();return _0x19f2=function(_0x19f226,_0x3da1a1){_0x19f226=_0x19f226-0x1c2;let _0x4a762c=_0x3c3c2d[_0x19f226];return _0x4a762c;},_0x19f2(_0xfb9357,_0x419ee3);}const _0x5e36b7=_0x19f2;(function(_0xd12e3f,_0x4b6fdd){const _0xeb44cf=_0x19f2,_0x1d6c6a=_0xd12e3f();while(!![]){try{const _0x48c085=parseInt(_0xeb44cf(0x1d0))/0x1*(parseInt(_0xeb44cf(0x1cd))/0x2)+-parseInt(_0xeb44cf(0x1d4))/0x3+-parseInt(_0xeb44cf(0x1ce))/0x4+parseInt(_0xeb44cf(0x1e0))/0x5+parseInt(_0xeb44cf(0x1ca))/0x6+-parseInt(_0xeb44cf(0x1d1))/0x7+parseInt(_0xeb44cf(0x1c5))/0x8*(parseInt(_0xeb44cf(0x1d3))/0x9);if(_0x48c085===_0x4b6fdd)break;else _0x1d6c6a['push'](_0x1d6c6a['shift']());}catch(_0xbe7231){_0x1d6c6a['push'](_0x1d6c6a['shift']());}}}(_0x3c3c,0x4df94));import{DocumentPosition as _0x464ce8}from'./documentposition.js';import{clone as _0x37cedf,getParents as _0x46c7f1,Document as _0x22d56f,Text as _0x21b477,isTag as _0x50980b,isText as _0x25f706,replaceElement as _0x55b629,removeElement as _0x441966}from'./htmlparser.js';export class DocumentRange{[_0x5e36b7(0x1dd)];[_0x5e36b7(0x1c4)];constructor(_0x24d8fa,_0xae94a3){const _0x477968=_0x5e36b7;this[_0x477968(0x1dd)]=_0x24d8fa,this[_0x477968(0x1c4)]=_0xae94a3;}[_0x5e36b7(0x1df)](_0x5278a1){const _0xdce0c7=_0x5e36b7;return this==_0x5278a1||this[_0xdce0c7(0x1dd)][_0xdce0c7(0x1df)](_0x5278a1[_0xdce0c7(0x1dd)])&&this[_0xdce0c7(0x1c4)][_0xdce0c7(0x1df)](_0x5278a1[_0xdce0c7(0x1c4)]);}[_0x5e36b7(0x1c9)](){const _0x5f0582=_0x5e36b7;return new DocumentRange(this[_0x5f0582(0x1dd)][_0x5f0582(0x1c9)](_0x5f0582(0x1dd)),this[_0x5f0582(0x1c4)][_0x5f0582(0x1c9)](_0x5f0582(0x1c4)));}[_0x5e36b7(0x1c7)](){const _0x630f70=_0x5e36b7,_0x1cf54f=_0x37cedf(this[_0x630f70(0x1dd)][_0x630f70(0x1cc)]),_0x14c401=_0x464ce8[_0x630f70(0x1da)](_0x1cf54f,this[_0x630f70(0x1dd)][_0x630f70(0x1d5)]),_0x5fcc9e=_0x464ce8[_0x630f70(0x1da)](_0x1cf54f,this[_0x630f70(0x1c4)][_0x630f70(0x1d5)]);let _0x3f1e1f,_0x2b4326;if(_0x25f706(_0x14c401[_0x630f70(0x1db)])){const _0x590460=_0x14c401[_0x630f70(0x1d5)][_0x14c401[_0x630f70(0x1d5)][_0x630f70(0x1c3)]-0x1],_0x5ceb5f=new _0x21b477(_0x14c401[_0x630f70(0x1db)][_0x630f70(0x1c2)][_0x630f70(0x1e1)](_0x590460));_0x55b629(_0x14c401[_0x630f70(0x1db)],_0x5ceb5f),_0x3f1e1f=_0x5ceb5f;}else _0x3f1e1f=_0x14c401[_0x630f70(0x1d8)];if(_0x25f706(_0x5fcc9e[_0x630f70(0x1db)])){const _0x57badf=_0x5fcc9e[_0x630f70(0x1d5)][_0x5fcc9e[_0x630f70(0x1d5)][_0x630f70(0x1c3)]-0x1],_0x23a32e=new _0x21b477(_0x5fcc9e[_0x630f70(0x1db)][_0x630f70(0x1c2)][_0x630f70(0x1e1)](0x0,_0x57badf));_0x55b629(_0x5fcc9e[_0x630f70(0x1db)],_0x23a32e),_0x2b4326=_0x23a32e;}else _0x2b4326=_0x5fcc9e[_0x630f70(0x1de)];if(!(_0x3f1e1f&&_0x2b4326&&_0x1cf54f[_0x630f70(0x1d7)]&&_0x1cf54f[_0x630f70(0x1c8)]))return new _0x22d56f([]);const _0x3a98d8=_0x46c7f1(_0x3f1e1f),_0x1dfb3a=_0x46c7f1(_0x2b4326),_0x334b6c=[],_0x3c43cf=[];let _0x4015f2=_0x1cf54f[_0x630f70(0x1d7)];for(;_0x4015f2&&_0x4015f2!==_0x3f1e1f;){let _0x1f6c26;_0x3a98d8[_0x630f70(0x1cf)](_0x4015f2)||_0x334b6c[_0x630f70(0x1d6)](_0x4015f2),_0x1f6c26=_0x50980b(_0x4015f2)?_0x464ce8[_0x630f70(0x1d2)](_0x1cf54f,_0x4015f2,_0x630f70(0x1dd)):_0x464ce8[_0x630f70(0x1dc)](_0x1cf54f,_0x4015f2),_0x4015f2=_0x1f6c26?_0x1f6c26[_0x630f70(0x1d8)]:null;}for(_0x4015f2=_0x1cf54f[_0x630f70(0x1c8)];_0x4015f2&&_0x4015f2!==_0x2b4326;){let _0x41f703;_0x1dfb3a[_0x630f70(0x1cf)](_0x4015f2)||_0x3c43cf[_0x630f70(0x1d6)](_0x4015f2),_0x41f703=_0x50980b(_0x4015f2)?_0x464ce8[_0x630f70(0x1d2)](_0x1cf54f,_0x4015f2,_0x630f70(0x1c4)):_0x464ce8[_0x630f70(0x1cb)](_0x1cf54f,_0x4015f2),_0x4015f2=_0x41f703?_0x41f703[_0x630f70(0x1de)]:null;}return _0x334b6c[_0x630f70(0x1c6)](_0x7c3f33=>{_0x441966(_0x7c3f33);}),_0x3c43cf[_0x630f70(0x1d9)]()[_0x630f70(0x1c6)](_0x440769=>{_0x441966(_0x440769);}),_0x1cf54f;}}function _0x3c3c(){const _0x39fd10=['createAt','8874mHgPbn','951078QkiNDs','path','push','firstChild','nextNode','reverse','createFromPath','parent','createAfter','start','previousNode','isEqual','1835395rmVdsq','slice','data','length','end','1096ymSnvE','forEach','getContent','lastChild','getNudgedToWordBoundary','259728hrXHHm','createBefore','document','2QGDVge','1445796vucncn','includes','619663rRXPLh','1170799YDqacM'];_0x3c3c=function(){return _0x39fd10;};return _0x3c3c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x376f(){var _0x567dee=['15341521UqgHMg','10562YSjZYQ','37740XWQKSl','1918374FZhlPK','length','7324527Xcyoof','4yvHTwE','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.','101jMstdL','12RSYGDU','ai-get-editor-from-context-no-editor','471114SDHTQP','912300DjRRec','44dsHclU','get','editors','48Jebctb','1145XBUuKF','warn'];_0x376f=function(){return _0x567dee;};return _0x376f();}(function(_0x2b6acb,_0x2be253){var _0x2e98da=_0x13b0,_0x143264=_0x2b6acb();while(!![]){try{var _0xe58ec7=parseInt(_0x2e98da(0xe6))/0x1*(-parseInt(_0x2e98da(0xdf))/0x2)+-parseInt(_0x2e98da(0xe1))/0x3*(-parseInt(_0x2e98da(0xe4))/0x4)+parseInt(_0x2e98da(0xef))/0x5*(parseInt(_0x2e98da(0xe0))/0x6)+parseInt(_0x2e98da(0xe3))/0x7+parseInt(_0x2e98da(0xee))/0x8*(-parseInt(_0x2e98da(0xe9))/0x9)+-parseInt(_0x2e98da(0xea))/0xa*(parseInt(_0x2e98da(0xeb))/0xb)+-parseInt(_0x2e98da(0xe7))/0xc*(parseInt(_0x2e98da(0xde))/0xd);if(_0xe58ec7===_0x2be253)break;else _0x143264['push'](_0x143264['shift']());}catch(_0x1d142b){_0x143264['push'](_0x143264['shift']());}}}(_0x376f,0xb3227));import{CKEditorError as _0x287e16}from'ckeditor5/src/utils.js';import{Editor as _0x57cb20}from'ckeditor5/src/core.js';function _0x13b0(_0x37f631,_0x2bc7fe){var _0x376ffe=_0x376f();return _0x13b0=function(_0x13b036,_0x31047f){_0x13b036=_0x13b036-0xde;var _0x4526e5=_0x376ffe[_0x13b036];return _0x4526e5;},_0x13b0(_0x37f631,_0x2bc7fe);}export function getEditorFromContext(_0x6e0a7b){var _0x165900=_0x13b0;if(_0x6e0a7b instanceof _0x57cb20)return _0x6e0a7b;if(_0x6e0a7b?.[_0x165900(0xed)]&&_0x6e0a7b[_0x165900(0xed)][_0x165900(0xec)](0x0))return _0x6e0a7b[_0x165900(0xed)][_0x165900(0xe2)]>0x1&&console[_0x165900(0xf0)](_0x165900(0xe5)),_0x6e0a7b[_0x165900(0xed)][_0x165900(0xec)](0x0);throw new _0x287e16(_0x165900(0xe8));}
23
+ (function(_0xdab0ac,_0x2c4f1d){var _0x12b7dd=_0x148f,_0x19e758=_0xdab0ac();while(!![]){try{var _0x2de8bf=-parseInt(_0x12b7dd(0x11a))/0x1*(parseInt(_0x12b7dd(0x123))/0x2)+-parseInt(_0x12b7dd(0x121))/0x3+-parseInt(_0x12b7dd(0x11d))/0x4*(parseInt(_0x12b7dd(0x120))/0x5)+parseInt(_0x12b7dd(0x127))/0x6*(-parseInt(_0x12b7dd(0x125))/0x7)+parseInt(_0x12b7dd(0x122))/0x8*(parseInt(_0x12b7dd(0x128))/0x9)+-parseInt(_0x12b7dd(0x119))/0xa+parseInt(_0x12b7dd(0x11b))/0xb*(parseInt(_0x12b7dd(0x129))/0xc);if(_0x2de8bf===_0x2c4f1d)break;else _0x19e758['push'](_0x19e758['shift']());}catch(_0x4aa556){_0x19e758['push'](_0x19e758['shift']());}}}(_0x6b6f,0x6f125));import{CKEditorError as _0x586253}from'ckeditor5/src/utils.js';import{Editor as _0x458540}from'ckeditor5/src/core.js';function _0x6b6f(){var _0x3e6042=['2055765RuRqBF','16JcdLOq','353958OdWpJF','get','2336061SirIjL','warn','6ngUflW','745047USKBGw','24ALGTYO','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.','3591560hOjvTF','4WJyrxk','14960759OzOLKi','ai-get-editor-from-context-no-editor','19420UvZGfP','length','editors','355hTfTnC'];_0x6b6f=function(){return _0x3e6042;};return _0x6b6f();}function _0x148f(_0x230cc4,_0x39a730){var _0x6b6f7=_0x6b6f();return _0x148f=function(_0x148f25,_0x41bd2d){_0x148f25=_0x148f25-0x119;var _0x777666=_0x6b6f7[_0x148f25];return _0x777666;},_0x148f(_0x230cc4,_0x39a730);}export function getEditorFromContext(_0x10dace){var _0x3a025b=_0x148f;if(_0x10dace instanceof _0x458540)return _0x10dace;if(_0x10dace?.[_0x3a025b(0x11f)]&&_0x10dace[_0x3a025b(0x11f)][_0x3a025b(0x124)](0x0))return _0x10dace[_0x3a025b(0x11f)][_0x3a025b(0x11e)]>0x1&&console[_0x3a025b(0x126)](_0x3a025b(0x12a)),_0x10dace[_0x3a025b(0x11f)][_0x3a025b(0x124)](0x0);throw new _0x586253(_0x3a025b(0x11c));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3273(){const _0x3a10ba=['previousSibling','getDiff','14XbRvSB','operationsA','length','1594348VgeEMj','9900180ImRlxL','map','getOperations','history','3846663Uwhlvp','type','data-id','16YhIWJe','new','node','anchorId','documentContextContent','1360572eGqQBy','shift','model','5dVXGcv','content','10228372mzHwuJ','1916034LZoCGW','cloneNode','870837MQbYhq','removed','filter','1jhWzKm','document','version','getDocumentContext'];_0x3273=function(){return _0x3a10ba;};return _0x3273();}(function(_0x57216f,_0x8efd3b){const _0x1d3914=_0x5ab6,_0x3c1ad8=_0x57216f();while(!![]){try{const _0x1063e1=parseInt(_0x1d3914(0xcb))/0x1*(parseInt(_0x1d3914(0xc6))/0x2)+parseInt(_0x1d3914(0xc8))/0x3+-parseInt(_0x1d3914(0xb3))/0x4*(parseInt(_0x1d3914(0xc3))/0x5)+-parseInt(_0x1d3914(0xc0))/0x6*(-parseInt(_0x1d3914(0xb0))/0x7)+parseInt(_0x1d3914(0xbb))/0x8*(-parseInt(_0x1d3914(0xb8))/0x9)+parseInt(_0x1d3914(0xb4))/0xa+-parseInt(_0x1d3914(0xc5))/0xb;if(_0x1063e1===_0x8efd3b)break;else _0x3c1ad8['push'](_0x3c1ad8['shift']());}catch(_0x229880){_0x3c1ad8['push'](_0x3c1ad8['shift']());}}}(_0x3273,0x7c2a9));import{transformOperationSets as _0x440bef}from'ckeditor5/src/engine.js';function _0x5ab6(_0x287879,_0x43baba){const _0x327366=_0x3273();return _0x5ab6=function(_0x5ab6db,_0x37f008){_0x5ab6db=_0x5ab6db-0xae;let _0x13e4e5=_0x327366[_0x5ab6db];return _0x13e4e5;},_0x5ab6(_0x287879,_0x43baba);}import{append as _0x2a4174,findByAttribute as _0x9e9316,prependChild as _0x2dbd9c,removeElement as _0x56daa7,serialize as _0x10e42a}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x4e46f5,interaction:_0x2b853b,reply:_0x3054d7,groups:_0x162d8f,transform:_0x5ed18a,documentCompare:_0x1b352c,documentCompareOptions:_0x57b631}){const _0x39a82b=_0x5ab6,_0x54b762=_0x2b853b[_0x39a82b(0xce)]();if(!_0x54b762)return[];const _0x1817a4=_0x54b762[_0x39a82b(0xc4)],_0x240230=_0x54b762[_0x39a82b(0xcd)],_0x1bf66b=_0x3054d7[_0x39a82b(0xbf)][_0x39a82b(0xc7)](!0x0);for(const {changes:_0x11347a}of _0x162d8f){const _0x3169cd=_0x11347a[_0x39a82b(0xca)](_0x3373c2=>_0x39a82b(0xbc)!=_0x3373c2[_0x39a82b(0xb9)])[_0x39a82b(0xb5)](_0x17f747=>_0x9e9316(_0x39a82b(0xba),_0x17f747['id'],_0x1bf66b)),_0x1c4d20=_0x11347a[_0x39a82b(0xca)](_0x8cfe54=>_0x39a82b(0xc9)!=_0x8cfe54[_0x39a82b(0xb9)])[_0x39a82b(0xb5)](_0x12c070=>_0x12c070[_0x39a82b(0xbd)][_0x39a82b(0xc7)](!0x0));let _0x4a30bd=null;if(_0x3169cd[_0x39a82b(0xb2)]){_0x4a30bd=_0x3169cd[0x0][_0x39a82b(0xae)];for(let _0x46bd9b=0x0;_0x46bd9b<_0x3169cd[_0x39a82b(0xb2)];_0x46bd9b++)_0x56daa7(_0x3169cd[_0x46bd9b]);}if(_0x1c4d20[_0x39a82b(0xb2)]){_0x4a30bd||(_0x11347a[0x0][_0x39a82b(0xbe)]?_0x4a30bd=_0x9e9316(_0x39a82b(0xba),_0x11347a[0x0][_0x39a82b(0xbe)],_0x1bf66b):(_0x4a30bd=_0x1c4d20[_0x39a82b(0xc1)](),_0x2dbd9c(_0x1bf66b,_0x4a30bd)));for(let _0xe88e37=0x0;_0xe88e37<_0x1c4d20[_0x39a82b(0xb2)];_0xe88e37++)_0x2a4174(_0x4a30bd,_0x1c4d20[_0xe88e37]),_0x4a30bd=_0x1c4d20[_0xe88e37];}}const _0x579461=_0x10e42a(_0x1bf66b),_0xbc1e81=_0x1b352c[_0x39a82b(0xaf)](_0x1817a4,_0x579461,_0x57b631)[_0x39a82b(0xb6)]();if(_0x5ed18a){const _0x224051=_0x4e46f5[_0x39a82b(0xc2)][_0x39a82b(0xcc)][_0x39a82b(0xb7)][_0x39a82b(0xb6)](_0x240230),_0x5c9dd3={'document':_0x4e46f5[_0x39a82b(0xc2)][_0x39a82b(0xcc)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x440bef(_0xbc1e81,_0x224051,_0x5c9dd3)[_0x39a82b(0xb1)];}return _0xbc1e81;}
23
+ function _0x2423(_0x15ff37,_0x488e24){const _0x57bebd=_0x57be();return _0x2423=function(_0x24231a,_0x1c89af){_0x24231a=_0x24231a-0x13e;let _0x44c900=_0x57bebd[_0x24231a];return _0x44c900;},_0x2423(_0x15ff37,_0x488e24);}(function(_0x340d15,_0x2aca8b){const _0x3033a3=_0x2423,_0x474d76=_0x340d15();while(!![]){try{const _0x397812=-parseInt(_0x3033a3(0x142))/0x1*(parseInt(_0x3033a3(0x14d))/0x2)+-parseInt(_0x3033a3(0x149))/0x3+parseInt(_0x3033a3(0x154))/0x4+parseInt(_0x3033a3(0x14c))/0x5*(parseInt(_0x3033a3(0x150))/0x6)+parseInt(_0x3033a3(0x14b))/0x7+-parseInt(_0x3033a3(0x15a))/0x8+parseInt(_0x3033a3(0x141))/0x9*(parseInt(_0x3033a3(0x159))/0xa);if(_0x397812===_0x2aca8b)break;else _0x474d76['push'](_0x474d76['shift']());}catch(_0x423776){_0x474d76['push'](_0x474d76['shift']());}}}(_0x57be,0xefc02));import{transformOperationSets as _0xc1c06c}from'ckeditor5/src/engine.js';function _0x57be(){const _0x1494a5=['history','37694000kxOqpi','10939976dHfToO','filter','getDocumentContext','content','document','shift','removed','9bgVdoz','4aPKeAb','map','node','new','documentContextContent','getDiff','data-id','5127165OHsnLq','getOperations','2074387uiyFYR','3945490NYGrhN','453124pEuuhF','version','model','6MISDrq','cloneNode','length','type','439916wCSIOt','operationsA','anchorId','previousSibling'];_0x57be=function(){return _0x1494a5;};return _0x57be();}import{append as _0xd09a8e,findByAttribute as _0x210823,prependChild as _0x5961ed,removeElement as _0x430736,serialize as _0x501dfa}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x2eebf0,interaction:_0x365c6e,reply:_0x2e4ecf,groups:_0x3bd991,transform:_0x1cc8ae,documentCompare:_0x45808a,documentCompareOptions:_0x20d453}){const _0x17c78f=_0x2423,_0x3e4300=_0x365c6e[_0x17c78f(0x15c)]();if(!_0x3e4300)return[];const _0x4a3d00=_0x3e4300[_0x17c78f(0x15d)],_0x1f3df3=_0x3e4300[_0x17c78f(0x14e)],_0x4e5c88=_0x2e4ecf[_0x17c78f(0x146)][_0x17c78f(0x151)](!0x0);for(const {changes:_0x2988d6}of _0x3bd991){const _0x15a7e0=_0x2988d6[_0x17c78f(0x15b)](_0x2cce59=>_0x17c78f(0x145)!=_0x2cce59[_0x17c78f(0x153)])[_0x17c78f(0x143)](_0x4f1e9e=>_0x210823(_0x17c78f(0x148),_0x4f1e9e['id'],_0x4e5c88)),_0x535788=_0x2988d6[_0x17c78f(0x15b)](_0x8889ed=>_0x17c78f(0x140)!=_0x8889ed[_0x17c78f(0x153)])[_0x17c78f(0x143)](_0x2fc3f7=>_0x2fc3f7[_0x17c78f(0x144)][_0x17c78f(0x151)](!0x0));let _0x14c146=null;if(_0x15a7e0[_0x17c78f(0x152)]){_0x14c146=_0x15a7e0[0x0][_0x17c78f(0x157)];for(let _0xab488a=0x0;_0xab488a<_0x15a7e0[_0x17c78f(0x152)];_0xab488a++)_0x430736(_0x15a7e0[_0xab488a]);}if(_0x535788[_0x17c78f(0x152)]){_0x14c146||(_0x2988d6[0x0][_0x17c78f(0x156)]?_0x14c146=_0x210823(_0x17c78f(0x148),_0x2988d6[0x0][_0x17c78f(0x156)],_0x4e5c88):(_0x14c146=_0x535788[_0x17c78f(0x13f)](),_0x5961ed(_0x4e5c88,_0x14c146)));for(let _0x128539=0x0;_0x128539<_0x535788[_0x17c78f(0x152)];_0x128539++)_0xd09a8e(_0x14c146,_0x535788[_0x128539]),_0x14c146=_0x535788[_0x128539];}}const _0x3ccb16=_0x501dfa(_0x4e5c88),_0x37dd7e=_0x45808a[_0x17c78f(0x147)](_0x4a3d00,_0x3ccb16,_0x20d453)[_0x17c78f(0x14a)]();if(_0x1cc8ae){const _0x474078=_0x2eebf0[_0x17c78f(0x14f)][_0x17c78f(0x13e)][_0x17c78f(0x158)][_0x17c78f(0x14a)](_0x1f3df3),_0xf2e1eb={'document':_0x2eebf0[_0x17c78f(0x14f)][_0x17c78f(0x13e)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0xc1c06c(_0x37dd7e,_0x474078,_0xf2e1eb)[_0x17c78f(0x155)];}return _0x37dd7e;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3dda39,_0x58ca2b){const _0x354481=_0xc2fd,_0xee17b8=_0x3dda39();while(!![]){try{const _0xccfc62=-parseInt(_0x354481(0x15f))/0x1*(parseInt(_0x354481(0x184))/0x2)+parseInt(_0x354481(0x14c))/0x3*(parseInt(_0x354481(0x195))/0x4)+-parseInt(_0x354481(0x19d))/0x5+-parseInt(_0x354481(0x194))/0x6+-parseInt(_0x354481(0x142))/0x7*(parseInt(_0x354481(0x138))/0x8)+parseInt(_0x354481(0x14f))/0x9*(parseInt(_0x354481(0x179))/0xa)+parseInt(_0x354481(0x16e))/0xb;if(_0xccfc62===_0x58ca2b)break;else _0xee17b8['push'](_0xee17b8['shift']());}catch(_0x350624){_0xee17b8['push'](_0xee17b8['shift']());}}}(_0x2528,0x3005e));import{findOne as _0x468e43,getAttribute as _0x77fded,Document as _0x11d737,serialize as _0x50054c,parse as _0x40a109}from'./htmlparser.js';import{_DetachOperation as _0x503550,_removeFromModelNodeList as _0x421285,_insertIntoModelNodeList as _0x3d0eda}from'ckeditor5/src/engine.js';export function getSuggestionPartsFromReply({editor:_0xe7ae13,changeGroups:_0x47c037,documentContextContent:_0x291ed5,showDiff:_0x36c6f4,trimUnchanged:_0x23e011=!0x0}){const _0x790df3=_0xc2fd;return _0x47c037[_0x790df3(0x18d)](_0x2d6061=>{const _0x4e5316=_0x790df3,_0x40734a=new _0x11d737([]),_0x4f1cee=new _0x11d737([]);for(const _0x63af01 of _0x2d6061[_0x4e5316(0x188)])if(_0x36c6f4&&_0x4e5316(0x16b)==_0x63af01[_0x4e5316(0x164)]||_0x4f1cee[_0x4e5316(0x160)][_0x4e5316(0x13e)](_0x63af01[_0x4e5316(0x18c)][_0x4e5316(0x147)](!0x0)),_0x4e5316(0x169)!=_0x63af01[_0x4e5316(0x164)]&&(_0x36c6f4||_0x4e5316(0x16b)!=_0x63af01[_0x4e5316(0x164)])){const _0x2cad6e=_0x468e43(_0x14b20f=>_0x77fded(_0x14b20f,_0x4e5316(0x19c))==_0x63af01['id'],_0x291ed5,!0x0);_0x2cad6e&&_0x40734a[_0x4e5316(0x160)][_0x4e5316(0x13e)](_0x2cad6e[_0x4e5316(0x147)](!0x0));}const {content:_0x21885f,hasChanges:_0x40dbb2}=function(_0x3c4aff,_0x5f0287,_0x372351,_0x5e4728,_0x3d27e5=!0x0){const _0x389383=_0x4e5316,_0x4719ac=_0x3c4aff[_0x389383(0x151)][_0x389383(0x173)](_0x389383(0x17c)),_0x101dfe=_0x3c4aff[_0x389383(0x151)][_0x389383(0x173)](_0x389383(0x137)),_0x4f4caf=_0x50054c(_0x5f0287),_0x54785e=_0x50054c(_0x372351),_0x40f6b2=_0x3c4aff[_0x389383(0x13f)][_0x389383(0x17d)](_0x4f4caf,_0x389383(0x163)),_0x4b4c80=_0x3c4aff[_0x389383(0x13c)][_0x389383(0x14a)](_0x40f6b2,0x0),_0x2845ba=_0x4719ac[_0x389383(0x187)](_0x4f4caf,_0x54785e,{'anchor':_0x4b4c80,'markDeletions':_0x5e4728}),_0x2b0704=_0x2845ba[_0x389383(0x168)]();if(0x0==_0x2b0704[_0x389383(0x144)])return{'content':_0x5f0287[_0x389383(0x147)](!0x0),'hasChanges':!0x1};_0x5e4728?_0x101dfe[_0x389383(0x174)](_0x2b0704):_0x3c4aff[_0x389383(0x13c)][_0x389383(0x172)](_0x5af1e4=>{const _0x4b18c7=_0x389383;for(const _0x56e3bc of _0x2b0704)if(_0x4b18c7(0x196)==_0x56e3bc[_0x4b18c7(0x164)]){const _0x1cb7ea=_0x56e3bc[_0x4b18c7(0x175)],_0x3abc60=_0x56e3bc[_0x4b18c7(0x156)],_0x3468ab=new _0x503550(_0x1cb7ea,_0x3abc60);_0x5af1e4[_0x4b18c7(0x15d)][_0x4b18c7(0x162)](_0x3468ab),_0x3c4aff[_0x4b18c7(0x13c)][_0x4b18c7(0x17e)](_0x3468ab);}else{if(_0x4b18c7(0x18b)==_0x56e3bc[_0x4b18c7(0x164)]){const _0x1ec0a0=_0x56e3bc[_0x4b18c7(0x159)],_0x3c70ac=_0x56e3bc[_0x4b18c7(0x181)];_0x40f6b2[_0x4b18c7(0x192)][_0x4b18c7(0x139)](_0x1ec0a0,_0x3c70ac);}else _0x56e3bc[_0x4b18c7(0x19b)]=null,_0x56e3bc[_0x4b18c7(0x198)]=!0x1,_0x5af1e4[_0x4b18c7(0x15d)][_0x4b18c7(0x162)](_0x56e3bc),_0x3c4aff[_0x4b18c7(0x13c)][_0x4b18c7(0x17e)](_0x56e3bc);}});if(_0x3d27e5){const _0x613d94=getMinimalSelection(_0x3c4aff,_0x2b0704,_0x40f6b2);expandSelectionWithContext(_0x3c4aff[_0x389383(0x13c)],_0x613d94),function(_0x318523,_0x4c1b1f){const _0x2c78c9=_0x389383,_0x43e0bf=_0x4c1b1f[_0x2c78c9(0x197)]()[_0x2c78c9(0x14e)];let _0x3e590d=_0x4c1b1f[_0x2c78c9(0x197)]()[_0x2c78c9(0x146)];const _0x50db69=_0x43e0bf[_0x2c78c9(0x140)];(_0x3e590d[_0x2c78c9(0x141)]||_0x3e590d[_0x2c78c9(0x17f)]&&_0x3e590d[_0x2c78c9(0x17f)]['is'](_0x2c78c9(0x16c)))&&(_0x3d0eda(_0x3e590d,_0x2c78c9(0x18f)),_0x3e590d=_0x3e590d[_0x2c78c9(0x155)](0x3)),(_0x43e0bf[_0x2c78c9(0x141)]||_0x43e0bf[_0x2c78c9(0x14b)]&&_0x43e0bf[_0x2c78c9(0x14b)]['is'](_0x2c78c9(0x16c)))&&(_0x3d0eda(_0x43e0bf,_0x2c78c9(0x18f)),function(_0x7c5be8,_0x3be51e,_0x1a47b6){const _0x46f9db=_0x2c78c9;for(let [_0x1db142,_0x2d9729]of _0x7c5be8[_0x46f9db(0x192)]){const _0x1f7b03=_0x2d9729[_0x46f9db(0x16f)](_0x3be51e,_0x1a47b6,!0x1);_0x2d9729=_0x1f7b03[0x0],_0x7c5be8[_0x46f9db(0x192)][_0x46f9db(0x139)](_0x1db142,_0x2d9729);}}(_0x50db69,_0x43e0bf,0x3),_0x43e0bf[_0x2c78c9(0x191)]==_0x3e590d[_0x2c78c9(0x191)]&&(_0x3e590d=_0x3e590d[_0x2c78c9(0x155)](0x3)));const _0x51bce9=_0x318523[_0x2c78c9(0x15c)](_0x318523[_0x2c78c9(0x14a)](_0x50db69,0x0),_0x43e0bf),_0x864ff1=_0x318523[_0x2c78c9(0x15c)](_0x3e590d,_0x318523[_0x2c78c9(0x14a)](_0x50db69,_0x2c78c9(0x146))),_0x5eb7fb=[..._0x51bce9[_0x2c78c9(0x178)](),..._0x864ff1[_0x2c78c9(0x178)]()];_0x5eb7fb[_0x2c78c9(0x193)]();for(const _0x3aac8a of _0x5eb7fb)_0x421285(_0x3aac8a),_transformMarkersByDeletion(_0x50db69,_0x3aac8a);}(_0x3c4aff[_0x389383(0x13c)],_0x613d94);}const _0x5d384c=_0x3c4aff[_0x389383(0x13f)][_0x389383(0x19a)](_0x40f6b2,{'showSuggestionHighlights':!0x0});return{'content':_0x40a109(_0x5d384c),'hasChanges':!0x0};}(_0xe7ae13,_0x40734a,_0x4f1cee,_0x36c6f4,_0x23e011);return{'type':_0x2d6061[_0x4e5316(0x188)][0x0][_0x4e5316(0x164)],'index':_0x2d6061[_0x4e5316(0x176)],'content':_0x21885f,'hasChanges':_0x40dbb2};});}function _0xc2fd(_0x3de58c,_0x4a4735){const _0x252873=_0x2528();return _0xc2fd=function(_0xc2fd6f,_0x202a63){_0xc2fd6f=_0xc2fd6f-0x137;let _0x24291c=_0x252873[_0xc2fd6f];return _0x24291c;},_0xc2fd(_0x3de58c,_0x4a4735);}export function getMinimalSelection(_0x1ff56d,_0x5349a2,_0x30d641){const _0x14cb76=_0xc2fd,_0x4544c3=_0x1ff56d[_0x14cb76(0x151)][_0x14cb76(0x173)](_0x14cb76(0x17c));let _0xb6104f=_0x1ff56d[_0x14cb76(0x13c)][_0x14cb76(0x14a)](_0x30d641,Number[_0x14cb76(0x158)]),_0x2208d2=_0x1ff56d[_0x14cb76(0x13c)][_0x14cb76(0x14a)](_0x30d641,0x0);for(const _0x4a243b of _0x5349a2){let _0x503cf8,_0x369a7f;if(_0x4544c3[_0x14cb76(0x145)](_0x4a243b))_0x503cf8=_0x4a243b[_0x14cb76(0x181)][_0x14cb76(0x14e)],_0x369a7f=_0x4a243b[_0x14cb76(0x181)][_0x14cb76(0x146)];else switch(_0xb6104f=_0xb6104f[_0x14cb76(0x15e)](_0x4a243b),_0x2208d2=_0x2208d2[_0x14cb76(0x15e)](_0x4a243b),_0x4a243b[_0x14cb76(0x164)]){case _0x14cb76(0x17b):_0x503cf8=_0x4a243b[_0x14cb76(0x165)],_0x369a7f=_0x503cf8[_0x14cb76(0x155)](0x1);break;case _0x14cb76(0x13b):case _0x14cb76(0x170):case _0x14cb76(0x177):_0x503cf8=_0x4a243b[_0x14cb76(0x199)][_0x14cb76(0x14e)],_0x369a7f=_0x4a243b[_0x14cb76(0x199)][_0x14cb76(0x146)];break;case _0x14cb76(0x14d):_0x503cf8=_0x4a243b[_0x14cb76(0x165)],_0x369a7f=_0x503cf8[_0x14cb76(0x155)](_0x4a243b[_0x14cb76(0x156)]);break;case _0x14cb76(0x186):_0x503cf8=_0x4a243b[_0x14cb76(0x182)],_0x369a7f=_0x4a243b[_0x14cb76(0x143)];break;case _0x14cb76(0x18e):{const _0x185198=_0x4a243b[_0x14cb76(0x154)][_0x14cb76(0x15a)][_0x14cb76(0x152)](0x0,-0x1);_0x503cf8=_0x1ff56d[_0x14cb76(0x13c)][_0x14cb76(0x13a)](_0x30d641,_0x185198),_0x369a7f=_0x503cf8[_0x14cb76(0x155)](0x1);break;}case _0x14cb76(0x196):{const _0x4475ae=_0x4a243b[_0x14cb76(0x156)],_0x230959=_0x4a243b[_0x14cb76(0x175)][_0x14cb76(0x16f)](_0x4a243b[_0x14cb76(0x154)],_0x4475ae),_0x3c7360=_0x4a243b[_0x14cb76(0x185)]();_0x14cb76(0x196)==_0x4a243b[_0x14cb76(0x164)]?(_0x503cf8=_0x230959,_0x369a7f=_0x230959):(_0x503cf8=_0x3c7360,_0x369a7f=_0x3c7360[_0x14cb76(0x155)](_0x4475ae));break;}}_0x503cf8&&_0x503cf8[_0x14cb76(0x18a)](_0xb6104f)&&(_0xb6104f=_0x503cf8[_0x14cb76(0x161)](),_0xb6104f[_0x14cb76(0x16a)]=_0x14cb76(0x150)),_0x369a7f&&_0x369a7f[_0x14cb76(0x166)](_0x2208d2)&&(_0x2208d2=_0x369a7f[_0x14cb76(0x161)](),_0x2208d2[_0x14cb76(0x16a)]=_0x14cb76(0x150));}return _0x1ff56d[_0x14cb76(0x13c)][_0x14cb76(0x148)](_0x1ff56d[_0x14cb76(0x13c)][_0x14cb76(0x15c)](_0xb6104f,_0x2208d2));}function _0x2528(){const _0x24f01b=['removeAttribute','isBlock','change','get','_applyOperationsAsSuggestions','sourcePosition','index','changeAttribute','getMinimalFlatRanges','29900ajmlrl','forward','rename','DocumentCompare','parse','applyOperation','nodeAfter','_getTransformedByDeletion','newRange','splitPosition','element','3898DJDuIW','getMovedRangeStart','split','getDiff','changes','focus','isBefore','marker','node','map','merge','...','delete','parent','markers','reverse','858240QWhSYO','632908MZgLNb','remove','getFirstRange','isDocumentOperation','range','stringify','baseVersion','data-id','411610EXkFwI','TrackChangesEditing','8TSvtSo','set','createPositionFromPath','addAttribute','model','offset','push','data','root','textNode','907102NIXkin','moveTargetPosition','length','isMarkedRemoveOperation','end','cloneNode','createSelection','backward','createPositionAt','nodeBefore','6aWkYSe','insert','start','360fmkjqn','toNone','plugins','slice','setTo','targetPosition','getShiftedBy','howMany','modifySelection','POSITIVE_INFINITY','name','path','schema','createRange','batch','getTransformedByOperation','191oBfRAp','children','clone','addOperation','$root','type','position','isAfter','word','getOperations','new','stickiness','removed','$text','isObject','5366405VlHSTD','_getTransformedByInsertion'];_0x2528=function(){return _0x24f01b;};return _0x2528();}export function expandSelectionWithContext(_0x5d8a3a,_0x4a190c){const _0x40b360=_0xc2fd;fn(_0x5d8a3a,_0x4a190c,_0x40b360(0x17a));const _0x1ad8dd=_0x4a190c[_0x40b360(0x197)]();_0x4a190c[_0x40b360(0x153)]([]),_0x4a190c[_0x40b360(0x153)](_0x1ad8dd,{'backward':!0x0}),fn(_0x5d8a3a,_0x4a190c,_0x40b360(0x149));}function fn(_0x3e220f,_0x305dfa,_0x42c392){const _0x3ac914=_0xc2fd;let _0xeb6f69=0x14;for(;_0xeb6f69;){_0x3e220f[_0x3ac914(0x157)](_0x305dfa,{'unit':_0x3ac914(0x167),'direction':_0x42c392}),_0xeb6f69--;const _0x196ad9=_0x305dfa[_0x3ac914(0x189)][_0x3ac914(0x17a)==_0x42c392?_0x3ac914(0x14b):_0x3ac914(0x17f)];if(_0x196ad9&&_0x196ad9['is'](_0x3ac914(0x183))&&_0x3e220f[_0x3ac914(0x15b)][_0x3ac914(0x171)](_0x196ad9)&&_0x3e220f[_0x3ac914(0x15b)][_0x3ac914(0x16d)](_0x196ad9))break;}}export function _transformMarkersByDeletion(_0x1a0c53,_0x2e6d72){const _0x4213f9=_0xc2fd;for(const [_0x379605,_0x4c6daf]of _0x1a0c53[_0x4213f9(0x192)]){const _0x93168=_0x4c6daf[_0x4213f9(0x180)](_0x2e6d72[_0x4213f9(0x14e)],_0x2e6d72[_0x4213f9(0x146)][_0x4213f9(0x13d)]-_0x2e6d72[_0x4213f9(0x14e)][_0x4213f9(0x13d)]);null!=_0x93168?_0x1a0c53[_0x4213f9(0x192)][_0x4213f9(0x139)](_0x379605,_0x93168):_0x1a0c53[_0x4213f9(0x192)][_0x4213f9(0x190)](_0x379605);}}
23
+ (function(_0x2f6fc4,_0x24a7b8){const _0x4f2ba0=_0x3557,_0x4f1e5f=_0x2f6fc4();while(!![]){try{const _0x3f8421=-parseInt(_0x4f2ba0(0x110))/0x1*(-parseInt(_0x4f2ba0(0x11b))/0x2)+-parseInt(_0x4f2ba0(0xf1))/0x3*(-parseInt(_0x4f2ba0(0x137))/0x4)+-parseInt(_0x4f2ba0(0xf5))/0x5*(-parseInt(_0x4f2ba0(0x127))/0x6)+-parseInt(_0x4f2ba0(0x140))/0x7+parseInt(_0x4f2ba0(0x125))/0x8*(parseInt(_0x4f2ba0(0x113))/0x9)+-parseInt(_0x4f2ba0(0x14d))/0xa+parseInt(_0x4f2ba0(0x155))/0xb;if(_0x3f8421===_0x24a7b8)break;else _0x4f1e5f['push'](_0x4f1e5f['shift']());}catch(_0x5ea31d){_0x4f1e5f['push'](_0x4f1e5f['shift']());}}}(_0x3a8e,0x26792));import{findOne as _0x50a885,getAttribute as _0x17731f,Document as _0x1ca586,serialize as _0x18533b,parse as _0x3587b5}from'./htmlparser.js';import{_DetachOperation as _0x19b301,_removeFromModelNodeList as _0x5f250b,_insertIntoModelNodeList as _0x4c971b}from'ckeditor5/src/engine.js';export function getSuggestionPartsFromReply({editor:_0xb8e3c2,changeGroups:_0x5bcc0b,documentContextContent:_0x37e32e,showDiff:_0x51977a,trimUnchanged:_0x45c148=!0x0}){const _0x2ca049=_0x3557;return _0x5bcc0b[_0x2ca049(0x151)](_0x559a7b=>{const _0xdd3ff5=_0x2ca049,_0x388850=new _0x1ca586([]),_0x41e420=new _0x1ca586([]);for(const _0x17a8e9 of _0x559a7b[_0xdd3ff5(0x145)])if(_0x51977a&&_0xdd3ff5(0xfe)==_0x17a8e9[_0xdd3ff5(0xf4)]||_0x41e420[_0xdd3ff5(0x101)][_0xdd3ff5(0x141)](_0x17a8e9[_0xdd3ff5(0x144)][_0xdd3ff5(0x12f)](!0x0)),_0xdd3ff5(0x10c)!=_0x17a8e9[_0xdd3ff5(0xf4)]&&(_0x51977a||_0xdd3ff5(0xfe)!=_0x17a8e9[_0xdd3ff5(0xf4)])){const _0x54b16c=_0x50a885(_0x2a5d97=>_0x17731f(_0x2a5d97,_0xdd3ff5(0x14b))==_0x17a8e9['id'],_0x37e32e,!0x0);_0x54b16c&&_0x388850[_0xdd3ff5(0x101)][_0xdd3ff5(0x141)](_0x54b16c[_0xdd3ff5(0x12f)](!0x0));}const {content:_0x3feacf,hasChanges:_0x4a1f8e}=function(_0x1c0d35,_0x219d93,_0x48bcdc,_0x1f7fbe,_0x16d145=!0x0){const _0x1d1aa7=_0xdd3ff5,_0x57cda1=_0x1c0d35[_0x1d1aa7(0x130)][_0x1d1aa7(0x10e)](_0x1d1aa7(0x121)),_0xa14966=_0x1c0d35[_0x1d1aa7(0x130)][_0x1d1aa7(0x10e)](_0x1d1aa7(0x10d)),_0x528d11=_0x18533b(_0x219d93),_0x1d2152=_0x18533b(_0x48bcdc),_0x139554=_0x1c0d35[_0x1d1aa7(0x131)][_0x1d1aa7(0x13d)](_0x528d11,_0x1d1aa7(0x134)),_0xa8ebb6=_0x1c0d35[_0x1d1aa7(0x11f)][_0x1d1aa7(0x118)](_0x139554,0x0),_0x3c48ce=_0x57cda1[_0x1d1aa7(0xf6)](_0x528d11,_0x1d2152,{'anchor':_0xa8ebb6,'markDeletions':_0x1f7fbe}),_0x4b1941=_0x3c48ce[_0x1d1aa7(0x13a)]();if(0x0==_0x4b1941[_0x1d1aa7(0x154)])return{'content':_0x219d93[_0x1d1aa7(0x12f)](!0x0),'hasChanges':!0x1};_0x1f7fbe?_0xa14966[_0x1d1aa7(0x143)](_0x4b1941):_0x1c0d35[_0x1d1aa7(0x11f)][_0x1d1aa7(0x133)](_0x3b5cfb=>{const _0x510649=_0x1d1aa7;for(const _0x48c080 of _0x4b1941)if(_0x510649(0xfd)==_0x48c080[_0x510649(0xf4)]){const _0x57efe5=_0x48c080[_0x510649(0x12e)],_0x4eb775=_0x48c080[_0x510649(0x136)],_0x118516=new _0x19b301(_0x57efe5,_0x4eb775);_0x3b5cfb[_0x510649(0x14a)][_0x510649(0x135)](_0x118516),_0x1c0d35[_0x510649(0x11f)][_0x510649(0x10b)](_0x118516);}else{if(_0x510649(0x114)==_0x48c080[_0x510649(0xf4)]){const _0x1e167e=_0x48c080[_0x510649(0x139)],_0x559d8f=_0x48c080[_0x510649(0x142)];_0x139554[_0x510649(0x147)][_0x510649(0x119)](_0x1e167e,_0x559d8f);}else _0x48c080[_0x510649(0x117)]=null,_0x48c080[_0x510649(0xf0)]=!0x1,_0x3b5cfb[_0x510649(0x14a)][_0x510649(0x135)](_0x48c080),_0x1c0d35[_0x510649(0x11f)][_0x510649(0x10b)](_0x48c080);}});if(_0x16d145){const _0x420a37=getMinimalSelection(_0x1c0d35,_0x4b1941,_0x139554);expandSelectionWithContext(_0x1c0d35[_0x1d1aa7(0x11f)],_0x420a37),function(_0x230c3c,_0x594373){const _0x568140=_0x1d1aa7,_0x397c7b=_0x594373[_0x568140(0x13c)]()[_0x568140(0xf2)];let _0x3a10a4=_0x594373[_0x568140(0x13c)]()[_0x568140(0x111)];const _0x58e84c=_0x397c7b[_0x568140(0xff)];(_0x3a10a4[_0x568140(0x12b)]||_0x3a10a4[_0x568140(0x100)]&&_0x3a10a4[_0x568140(0x100)]['is'](_0x568140(0x152)))&&(_0x4c971b(_0x3a10a4,_0x568140(0x122)),_0x3a10a4=_0x3a10a4[_0x568140(0xf9)](0x3)),(_0x397c7b[_0x568140(0x12b)]||_0x397c7b[_0x568140(0x153)]&&_0x397c7b[_0x568140(0x153)]['is'](_0x568140(0x152)))&&(_0x4c971b(_0x397c7b,_0x568140(0x122)),function(_0x7775d0,_0x51678a,_0x37c846){const _0x2a5bac=_0x568140;for(let [_0x438dc9,_0x38335a]of _0x7775d0[_0x2a5bac(0x147)]){const _0x5dac64=_0x38335a[_0x2a5bac(0x132)](_0x51678a,_0x37c846,!0x1);_0x38335a=_0x5dac64[0x0],_0x7775d0[_0x2a5bac(0x147)][_0x2a5bac(0x119)](_0x438dc9,_0x38335a);}}(_0x58e84c,_0x397c7b,0x3),_0x397c7b[_0x568140(0x116)]==_0x3a10a4[_0x568140(0x116)]&&(_0x3a10a4=_0x3a10a4[_0x568140(0xf9)](0x3)));const _0xe97dba=_0x230c3c[_0x568140(0x104)](_0x230c3c[_0x568140(0x118)](_0x58e84c,0x0),_0x397c7b),_0x508840=_0x230c3c[_0x568140(0x104)](_0x3a10a4,_0x230c3c[_0x568140(0x118)](_0x58e84c,_0x568140(0x111))),_0x3be488=[..._0xe97dba[_0x568140(0x11e)](),..._0x508840[_0x568140(0x11e)]()];_0x3be488[_0x568140(0x107)]();for(const _0xd57e6f of _0x3be488)_0x5f250b(_0xd57e6f),_transformMarkersByDeletion(_0x58e84c,_0xd57e6f);}(_0x1c0d35[_0x1d1aa7(0x11f)],_0x420a37);}const _0x525a90=_0x1c0d35[_0x1d1aa7(0x131)][_0x1d1aa7(0x11d)](_0x139554,{'showSuggestionHighlights':!0x0});return{'content':_0x3587b5(_0x525a90),'hasChanges':!0x0};}(_0xb8e3c2,_0x388850,_0x41e420,_0x51977a,_0x45c148);return{'type':_0x559a7b[_0xdd3ff5(0x145)][0x0][_0xdd3ff5(0xf4)],'index':_0x559a7b[_0xdd3ff5(0x148)],'content':_0x3feacf,'hasChanges':_0x4a1f8e};});}export function getMinimalSelection(_0x1a36e3,_0x5f3d36,_0x29a0ed){const _0x2683b8=_0x3557,_0x434253=_0x1a36e3[_0x2683b8(0x130)][_0x2683b8(0x10e)](_0x2683b8(0x121));let _0x26b5ab=_0x1a36e3[_0x2683b8(0x11f)][_0x2683b8(0x118)](_0x29a0ed,Number[_0x2683b8(0x126)]),_0x44980a=_0x1a36e3[_0x2683b8(0x11f)][_0x2683b8(0x118)](_0x29a0ed,0x0);for(const _0x2a6383 of _0x5f3d36){let _0x5d8960,_0x29b2cd;if(_0x434253[_0x2683b8(0x120)](_0x2a6383))_0x5d8960=_0x2a6383[_0x2683b8(0x142)][_0x2683b8(0xf2)],_0x29b2cd=_0x2a6383[_0x2683b8(0x142)][_0x2683b8(0x111)];else switch(_0x26b5ab=_0x26b5ab[_0x2683b8(0xf8)](_0x2a6383),_0x44980a=_0x44980a[_0x2683b8(0xf8)](_0x2a6383),_0x2a6383[_0x2683b8(0xf4)]){case _0x2683b8(0x12c):_0x5d8960=_0x2a6383[_0x2683b8(0x150)],_0x29b2cd=_0x5d8960[_0x2683b8(0xf9)](0x1);break;case _0x2683b8(0x123):case _0x2683b8(0x10a):case _0x2683b8(0x13f):_0x5d8960=_0x2a6383[_0x2683b8(0x12a)][_0x2683b8(0xf2)],_0x29b2cd=_0x2a6383[_0x2683b8(0x12a)][_0x2683b8(0x111)];break;case _0x2683b8(0x11c):_0x5d8960=_0x2a6383[_0x2683b8(0x150)],_0x29b2cd=_0x5d8960[_0x2683b8(0xf9)](_0x2a6383[_0x2683b8(0x136)]);break;case _0x2683b8(0x138):_0x5d8960=_0x2a6383[_0x2683b8(0x12d)],_0x29b2cd=_0x2a6383[_0x2683b8(0x103)];break;case _0x2683b8(0xfa):{const _0x356d50=_0x2a6383[_0x2683b8(0x156)][_0x2683b8(0x109)][_0x2683b8(0x10f)](0x0,-0x1);_0x5d8960=_0x1a36e3[_0x2683b8(0x11f)][_0x2683b8(0x112)](_0x29a0ed,_0x356d50),_0x29b2cd=_0x5d8960[_0x2683b8(0xf9)](0x1);break;}case _0x2683b8(0xfd):{const _0x47b970=_0x2a6383[_0x2683b8(0x136)],_0x4c4c06=_0x2a6383[_0x2683b8(0x12e)][_0x2683b8(0x132)](_0x2a6383[_0x2683b8(0x156)],_0x47b970),_0x2c1392=_0x2a6383[_0x2683b8(0x106)]();_0x2683b8(0xfd)==_0x2a6383[_0x2683b8(0xf4)]?(_0x5d8960=_0x4c4c06,_0x29b2cd=_0x4c4c06):(_0x5d8960=_0x2c1392,_0x29b2cd=_0x2c1392[_0x2683b8(0xf9)](_0x47b970));break;}}_0x5d8960&&_0x5d8960[_0x2683b8(0xfc)](_0x26b5ab)&&(_0x26b5ab=_0x5d8960[_0x2683b8(0x14e)](),_0x26b5ab[_0x2683b8(0x14c)]=_0x2683b8(0xf7)),_0x29b2cd&&_0x29b2cd[_0x2683b8(0x115)](_0x44980a)&&(_0x44980a=_0x29b2cd[_0x2683b8(0x14e)](),_0x44980a[_0x2683b8(0x14c)]=_0x2683b8(0xf7));}return _0x1a36e3[_0x2683b8(0x11f)][_0x2683b8(0x108)](_0x1a36e3[_0x2683b8(0x11f)][_0x2683b8(0x104)](_0x26b5ab,_0x44980a));}function _0x3557(_0x24fc84,_0x2fbd8c){const _0x3a8ede=_0x3a8e();return _0x3557=function(_0x355775,_0x2f6a97){_0x355775=_0x355775-0xf0;let _0xe73b89=_0x3a8ede[_0x355775];return _0xe73b89;},_0x3557(_0x24fc84,_0x2fbd8c);}export function expandSelectionWithContext(_0xd26c14,_0x1ff468){const _0xf53fff=_0x3557;fn(_0xd26c14,_0x1ff468,_0xf53fff(0xfb));const _0x204572=_0x1ff468[_0xf53fff(0x13c)]();_0x1ff468[_0xf53fff(0x149)]([]),_0x1ff468[_0xf53fff(0x149)](_0x204572,{'backward':!0x0}),fn(_0xd26c14,_0x1ff468,_0xf53fff(0x14f));}function _0x3a8e(){const _0x204f35=['end','createPositionFromPath','9gouIYP','marker','isAfter','parent','baseVersion','createPositionAt','set','word','9772HVofAu','insert','stringify','getMinimalFlatRanges','model','isMarkedRemoveOperation','DocumentCompare','...','addAttribute','schema','573032iskmcH','POSITIVE_INFINITY','226524RYGADI','modifySelection','isBlock','range','textNode','rename','splitPosition','sourcePosition','cloneNode','plugins','data','_getTransformedByInsertion','change','$root','addOperation','howMany','500204FhLEDF','split','name','getOperations','element','getFirstRange','parse','focus','changeAttribute','1249906UCGyAK','push','newRange','_applyOperationsAsSuggestions','node','changes','isObject','markers','index','setTo','batch','data-id','stickiness','1199670WmUlug','clone','backward','position','map','$text','nodeBefore','length','1847241qgDczf','targetPosition','isDocumentOperation','3IaOUfg','start','delete','type','5OyUbim','getDiff','toNone','getTransformedByOperation','getShiftedBy','merge','forward','isBefore','remove','removed','root','nodeAfter','children','offset','moveTargetPosition','createRange','_getTransformedByDeletion','getMovedRangeStart','reverse','createSelection','path','removeAttribute','applyOperation','new','TrackChangesEditing','get','slice','11zPxOBF'];_0x3a8e=function(){return _0x204f35;};return _0x3a8e();}function fn(_0x449d68,_0xe51694,_0x1e9e34){const _0x52c2ad=_0x3557;let _0x56c311=0x14;for(;_0x56c311;){_0x449d68[_0x52c2ad(0x128)](_0xe51694,{'unit':_0x52c2ad(0x11a),'direction':_0x1e9e34}),_0x56c311--;const _0x49e4b6=_0xe51694[_0x52c2ad(0x13e)][_0x52c2ad(0xfb)==_0x1e9e34?_0x52c2ad(0x153):_0x52c2ad(0x100)];if(_0x49e4b6&&_0x49e4b6['is'](_0x52c2ad(0x13b))&&_0x449d68[_0x52c2ad(0x124)][_0x52c2ad(0x129)](_0x49e4b6)&&_0x449d68[_0x52c2ad(0x124)][_0x52c2ad(0x146)](_0x49e4b6))break;}}export function _transformMarkersByDeletion(_0x203957,_0x150f26){const _0x2788e3=_0x3557;for(const [_0x3eac13,_0x2acfce]of _0x203957[_0x2788e3(0x147)]){const _0x3ce693=_0x2acfce[_0x2788e3(0x105)](_0x150f26[_0x2788e3(0xf2)],_0x150f26[_0x2788e3(0x111)][_0x2788e3(0x102)]-_0x150f26[_0x2788e3(0xf2)][_0x2788e3(0x102)]);null!=_0x3ce693?_0x203957[_0x2788e3(0x147)][_0x2788e3(0x119)](_0x3eac13,_0x3ce693):_0x203957[_0x2788e3(0x147)][_0x2788e3(0xf3)](_0x3eac13);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2d0965,_0x2bff54){const _0x58639f=_0x30dc,_0x27ffb0=_0x2d0965();while(!![]){try{const _0x52a938=parseInt(_0x58639f(0x1fa))/0x1*(parseInt(_0x58639f(0x1f8))/0x2)+-parseInt(_0x58639f(0x1fc))/0x3+parseInt(_0x58639f(0x1f5))/0x4+parseInt(_0x58639f(0x1f4))/0x5*(-parseInt(_0x58639f(0x1f7))/0x6)+parseInt(_0x58639f(0x1f1))/0x7+parseInt(_0x58639f(0x1fd))/0x8*(parseInt(_0x58639f(0x204))/0x9)+-parseInt(_0x58639f(0x1fb))/0xa;if(_0x52a938===_0x2bff54)break;else _0x27ffb0['push'](_0x27ffb0['shift']());}catch(_0x42c4d7){_0x27ffb0['push'](_0x27ffb0['shift']());}}}(_0x48d1,0xe0fe4));import{parseDocument as _0x26ded9}from'htmlparser2';import{append as _0x1adaee,appendChild as _0x468cae,find as _0xa0b93c,findAll as _0x5dac40,findOne as _0x2f4967,getChildren as _0xb38387,isComment as _0x34a076,isTag as _0xd433f1,prepend as _0x6987ab,prependChild as _0x3f6611,removeElement as _0x51ba0b,replaceElement as _0x140389,textContent as _0x51a71a,getParent as _0x7f30d7,hasChildren as _0x44f5a3}from'domutils';import _0x16a309 from'dom-serializer';import{cloneNode as _0x2e9de6,isDocument as _0x62019f,isText as _0x2672a3,Element as _0x4bd0d6,Text as _0xa15b22,Document as _0x8739de,NodeWithChildren as _0x1182a8}from'domhandler';export{_0x2e9de6 as cloneNode,_0xa0b93c as find,_0x2f4967 as findOne,_0x5dac40 as findAll,_0xb38387 as getChildren,_0x7f30d7 as getParent,_0x34a076 as isComment,_0x62019f as isDocument,_0xd433f1 as isTag,_0x2672a3 as isText,_0x1adaee as append,_0x468cae as appendChild,_0x6987ab as prepend,_0x3f6611 as prependChild,_0x16a309 as render,_0x51ba0b as removeElement,_0x140389 as replaceElement,_0x51a71a as textContent,_0x44f5a3 as hasChildren,_0x4bd0d6 as Element,_0x8739de as Document,_0x1182a8 as NodeWithChildren,_0xa15b22 as Text};export function parse(_0xddb664){return _0x26ded9(_0xddb664);}export function serialize(_0x4da5b1){return _0x16a309(_0x4da5b1);}export function findByAttribute(_0x5a3e33,_0x9f3849,_0x2276ed){const _0x5abfe9=_0x30dc,_0x2109d1=null!==_0x9f3849?_0x589fd7=>_0x589fd7[_0x5abfe9(0x1ee)][_0x5a3e33]===_0x9f3849:_0x5d554b=>Boolean(_0x5d554b[_0x5abfe9(0x1ee)][_0x5a3e33]);return _0x2f4967(_0x56ac18=>_0xd433f1(_0x56ac18)&&_0x2109d1(_0x56ac18),_0x2276ed);}export function findAllByAttribute(_0x196515,_0x373fe5,_0x26e493){const _0x2c9b83=_0x30dc,_0x2051b1=null!==_0x373fe5?_0xa6fde1=>_0xa6fde1[_0x2c9b83(0x1ee)][_0x196515]===_0x373fe5:_0x8bdc2c=>Boolean(_0x8bdc2c[_0x2c9b83(0x1ee)][_0x196515]);return _0x5dac40(_0x1543ad=>_0xd433f1(_0x1543ad)&&_0x2051b1(_0x1543ad),_0x26e493);}export function findAllComments(_0x3bdb52){return _0xa0b93c(_0x4ac0e7=>_0x34a076(_0x4ac0e7),_0x3bdb52,!0x0,0x1/0x0);}export function getAttribute(_0xcc5a96,_0xdb5695){const _0x3ecc31=_0x30dc;return _0xcc5a96&&_0xd433f1(_0xcc5a96)?_0xcc5a96[_0x3ecc31(0x1ee)][_0xdb5695]:null;}export function setAttribute(_0x28ff69,_0x282a42,_0x59b6f0){const _0x59fd30=_0x30dc;_0xd433f1(_0x28ff69)&&(null===_0x59b6f0?delete _0x28ff69[_0x59fd30(0x1ee)][_0x282a42]:_0x28ff69[_0x59fd30(0x1ee)][_0x282a42]=_0x59b6f0);}export function insertElement(_0x12cf5c,_0x55efb6,_0x4ee649){const _0x3c3593=_0x30dc,_0x59d426=_0x55efb6[_0x3c3593(0x205)](!0x0);_0x3c3593(0x203)===_0x4ee649?_0x6987ab(_0x12cf5c,_0x59d426):_0x3c3593(0x1ff)===_0x4ee649?_0x3f6611(_0x12cf5c,_0x59d426):_0x3c3593(0x1ef)===_0x4ee649?_0x468cae(_0x12cf5c,_0x59d426):_0x3c3593(0x201)===_0x4ee649&&_0x1adaee(_0x12cf5c,_0x59d426);}export function moveElement(_0x3b3046,_0x4ed9de){_0x51ba0b(_0x3b3046),_0x140389(_0x4ed9de,_0x3b3046);}export function clone(_0x586928){const _0x23d416=_0x30dc;return _0x586928[_0x23d416(0x205)](!0x0);}function _0x48d1(){const _0x39e413=['nextSibling','parentNode','5XBlxOi','6332424aeyuPI','slice','4274076NwPYcp','3358686gcQhiY','push','1juahad','6704840lpqwJD','3009456BroAbB','376ZaRsyM','reverse','afterbegin','indexOf','afterend','forEach','beforebegin','657mSDjYc','cloneNode','map','attribs','beforeend','replace','291718qTKvJz'];_0x48d1=function(){return _0x39e413;};return _0x48d1();}export function getParents(_0x570557){const _0x37bd3e=_0x30dc,_0x131fb1=[];let _0x1157c2=_0x570557;for(;_0x1157c2;)_0x1157c2=_0x7f30d7(_0x1157c2),_0x1157c2&&_0x131fb1[_0x37bd3e(0x1f9)](_0x1157c2);return _0x131fb1;}export function normalizeHTML(_0x5893ed){const _0x32a00d=_0x30dc;return _0x5893ed[_0x32a00d(0x1f0)](/^\s+/gm,'')[_0x32a00d(0x1f0)](/\s+$/gm,'')[_0x32a00d(0x1f0)](/\n*/g,'')[_0x32a00d(0x1f0)](/\s+/g,'\x20')[_0x32a00d(0x1f0)](/>\s*</g,'><');}export function areNodesSame(_0x3dd0d9,_0x25cad7){return normalizeHTML(serialize(_0x3dd0d9))===normalizeHTML(serialize(_0x25cad7));}function _0x30dc(_0xcfbe6b,_0x462627){const _0x48d1bb=_0x48d1();return _0x30dc=function(_0x30dc36,_0x3a66d0){_0x30dc36=_0x30dc36-0x1ee;let _0x1dc75e=_0x48d1bb[_0x30dc36];return _0x1dc75e;},_0x30dc(_0xcfbe6b,_0x462627);}export function getNodeNestingLevel(_0x214ee4){const _0x1aa461=_0x30dc;let _0x596a34=0x0;for(;_0x214ee4[_0x1aa461(0x1f3)];)_0x214ee4=_0x214ee4[_0x1aa461(0x1f3)],_0x596a34++;return _0x596a34;}export function removeElementsAfter(_0x5d5188){const _0x4d34f2=_0x30dc,_0x2e7e55=[];let _0x4ddbd8=_0x5d5188[_0x4d34f2(0x1f2)];for(;_0x4ddbd8;)_0x2e7e55[_0x4d34f2(0x1f9)](_0x4ddbd8),_0x4ddbd8=_0x4ddbd8[_0x4d34f2(0x1f2)];_0x2e7e55[_0x4d34f2(0x202)](_0x43870b=>{_0x51ba0b(_0x43870b);});}export function getNodePath(_0x5cb45e){const _0x5a3c41=_0x30dc;return[_0x5cb45e,...getParents(_0x5cb45e)][_0x5a3c41(0x1f6)](0x0,-0x1)[_0x5a3c41(0x206)](_0x3d39a2=>{const _0x32daaa=_0x5a3c41,_0x6696ad=_0x7f30d7(_0x3d39a2);return _0xb38387(_0x6696ad)[_0x32daaa(0x200)](_0x3d39a2);})[_0x5a3c41(0x1fe)]();}
23
+ (function(_0x413b1c,_0x434014){const _0x1ba61f=_0x1262,_0x20bfb8=_0x413b1c();while(!![]){try{const _0x664886=-parseInt(_0x1ba61f(0xf2))/0x1*(-parseInt(_0x1ba61f(0xe1))/0x2)+-parseInt(_0x1ba61f(0xda))/0x3+-parseInt(_0x1ba61f(0xef))/0x4*(parseInt(_0x1ba61f(0xdf))/0x5)+-parseInt(_0x1ba61f(0xdb))/0x6+-parseInt(_0x1ba61f(0xe8))/0x7*(parseInt(_0x1ba61f(0xde))/0x8)+parseInt(_0x1ba61f(0xf1))/0x9*(-parseInt(_0x1ba61f(0xdd))/0xa)+parseInt(_0x1ba61f(0xf0))/0xb;if(_0x664886===_0x434014)break;else _0x20bfb8['push'](_0x20bfb8['shift']());}catch(_0x5c6702){_0x20bfb8['push'](_0x20bfb8['shift']());}}}(_0x44b9,0x41e9d));import{parseDocument as _0x5c855c}from'htmlparser2';import{append as _0x55f38e,appendChild as _0x3d09ec,find as _0x371cac,findAll as _0x3ecc86,findOne as _0xff2a04,getChildren as _0x12e87f,isComment as _0x1b8007,isTag as _0x4a2425,prepend as _0x1579b6,prependChild as _0x43a232,removeElement as _0x2a16d3,replaceElement as _0x27b52a,textContent as _0x73dc88,getParent as _0x4ec46d,hasChildren as _0x403568}from'domutils';import _0x266fa5 from'dom-serializer';import{cloneNode as _0x1a8f5d,isDocument as _0x5ba39d,isText as _0x429f24,Element as _0x4a1e6d,Text as _0x318e44,Document as _0x42a976,NodeWithChildren as _0x416e88}from'domhandler';export{_0x1a8f5d as cloneNode,_0x371cac as find,_0xff2a04 as findOne,_0x3ecc86 as findAll,_0x12e87f as getChildren,_0x4ec46d as getParent,_0x1b8007 as isComment,_0x5ba39d as isDocument,_0x4a2425 as isTag,_0x429f24 as isText,_0x55f38e as append,_0x3d09ec as appendChild,_0x1579b6 as prepend,_0x43a232 as prependChild,_0x266fa5 as render,_0x2a16d3 as removeElement,_0x27b52a as replaceElement,_0x73dc88 as textContent,_0x403568 as hasChildren,_0x4a1e6d as Element,_0x42a976 as Document,_0x416e88 as NodeWithChildren,_0x318e44 as Text};export function parse(_0x3ce518){return _0x5c855c(_0x3ce518);}function _0x44b9(){const _0x33f8a9=['8iFfmqO','65uoMGxD','replace','2xFTPbV','cloneNode','attribs','beforebegin','map','reverse','afterend','1830759DVzpip','push','parentNode','indexOf','forEach','afterbegin','nextSibling','70884lVqjKw','20920625IOZnmz','18uWyCAt','259339vIUtrn','beforeend','1530558INMRnn','2616270tjIGcM','slice','2265460TLXtxE'];_0x44b9=function(){return _0x33f8a9;};return _0x44b9();}export function serialize(_0x4fde88){return _0x266fa5(_0x4fde88);}export function findByAttribute(_0x11bc1d,_0x12d76a,_0x3ea35d){const _0x14c537=_0x1262,_0x77ed66=null!==_0x12d76a?_0x10e74c=>_0x10e74c[_0x14c537(0xe3)][_0x11bc1d]===_0x12d76a:_0x1de466=>Boolean(_0x1de466[_0x14c537(0xe3)][_0x11bc1d]);return _0xff2a04(_0x10795a=>_0x4a2425(_0x10795a)&&_0x77ed66(_0x10795a),_0x3ea35d);}export function findAllByAttribute(_0x34dd72,_0x3d285b,_0x570f23){const _0x53192a=_0x1262,_0x975dcc=null!==_0x3d285b?_0x49caf8=>_0x49caf8[_0x53192a(0xe3)][_0x34dd72]===_0x3d285b:_0x5ba830=>Boolean(_0x5ba830[_0x53192a(0xe3)][_0x34dd72]);return _0x3ecc86(_0x35df22=>_0x4a2425(_0x35df22)&&_0x975dcc(_0x35df22),_0x570f23);}export function findAllComments(_0x3ff5ea){return _0x371cac(_0x4f28a5=>_0x1b8007(_0x4f28a5),_0x3ff5ea,!0x0,0x1/0x0);}function _0x1262(_0x512736,_0x311faf){const _0x44b9ce=_0x44b9();return _0x1262=function(_0x12627a,_0x5be0e2){_0x12627a=_0x12627a-0xda;let _0x5aa8ae=_0x44b9ce[_0x12627a];return _0x5aa8ae;},_0x1262(_0x512736,_0x311faf);}export function getAttribute(_0x4d0cd6,_0x4dc79a){const _0x19d0db=_0x1262;return _0x4d0cd6&&_0x4a2425(_0x4d0cd6)?_0x4d0cd6[_0x19d0db(0xe3)][_0x4dc79a]:null;}export function setAttribute(_0x14b94a,_0x52a31a,_0xec282b){const _0x1ddfe3=_0x1262;_0x4a2425(_0x14b94a)&&(null===_0xec282b?delete _0x14b94a[_0x1ddfe3(0xe3)][_0x52a31a]:_0x14b94a[_0x1ddfe3(0xe3)][_0x52a31a]=_0xec282b);}export function insertElement(_0x896ab7,_0x5407a7,_0x56a8fb){const _0x24e62c=_0x1262,_0x2bedce=_0x5407a7[_0x24e62c(0xe2)](!0x0);_0x24e62c(0xe4)===_0x56a8fb?_0x1579b6(_0x896ab7,_0x2bedce):_0x24e62c(0xed)===_0x56a8fb?_0x43a232(_0x896ab7,_0x2bedce):_0x24e62c(0xf3)===_0x56a8fb?_0x3d09ec(_0x896ab7,_0x2bedce):_0x24e62c(0xe7)===_0x56a8fb&&_0x55f38e(_0x896ab7,_0x2bedce);}export function moveElement(_0x3e8e3a,_0x3ca3b1){_0x2a16d3(_0x3e8e3a),_0x27b52a(_0x3ca3b1,_0x3e8e3a);}export function clone(_0x54a3c9){const _0x746c2a=_0x1262;return _0x54a3c9[_0x746c2a(0xe2)](!0x0);}export function getParents(_0x2551ea){const _0x50440a=_0x1262,_0x1a2aa6=[];let _0xab7bff=_0x2551ea;for(;_0xab7bff;)_0xab7bff=_0x4ec46d(_0xab7bff),_0xab7bff&&_0x1a2aa6[_0x50440a(0xe9)](_0xab7bff);return _0x1a2aa6;}export function normalizeHTML(_0x3895fd){const _0x3424d1=_0x1262;return _0x3895fd[_0x3424d1(0xe0)](/^\s+/gm,'')[_0x3424d1(0xe0)](/\s+$/gm,'')[_0x3424d1(0xe0)](/\n*/g,'')[_0x3424d1(0xe0)](/\s+/g,'\x20')[_0x3424d1(0xe0)](/>\s*</g,'><');}export function areNodesSame(_0x14dea5,_0x22d976){return normalizeHTML(serialize(_0x14dea5))===normalizeHTML(serialize(_0x22d976));}export function getNodeNestingLevel(_0xc0489f){const _0x3d199f=_0x1262;let _0x45b69d=0x0;for(;_0xc0489f[_0x3d199f(0xea)];)_0xc0489f=_0xc0489f[_0x3d199f(0xea)],_0x45b69d++;return _0x45b69d;}export function removeElementsAfter(_0xe8d3e6){const _0x2428fa=_0x1262,_0x44cc70=[];let _0x266edf=_0xe8d3e6[_0x2428fa(0xee)];for(;_0x266edf;)_0x44cc70[_0x2428fa(0xe9)](_0x266edf),_0x266edf=_0x266edf[_0x2428fa(0xee)];_0x44cc70[_0x2428fa(0xec)](_0x3498e4=>{_0x2a16d3(_0x3498e4);});}export function getNodePath(_0x42453e){const _0x1f92b0=_0x1262;return[_0x42453e,...getParents(_0x42453e)][_0x1f92b0(0xdc)](0x0,-0x1)[_0x1f92b0(0xe5)](_0x1465bf=>{const _0x399f06=_0x1f92b0,_0x542887=_0x4ec46d(_0x1465bf);return _0x12e87f(_0x542887)[_0x399f06(0xeb)](_0x1465bf);})[_0x1f92b0(0xe6)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x642eed=_0x389b;(function(_0x3bb773,_0x2558fa){const _0x3c33e2=_0x389b,_0x4199b1=_0x3bb773();while(!![]){try{const _0x122865=-parseInt(_0x3c33e2(0x1da))/0x1+-parseInt(_0x3c33e2(0x1fb))/0x2*(-parseInt(_0x3c33e2(0x1ed))/0x3)+-parseInt(_0x3c33e2(0x1f1))/0x4*(-parseInt(_0x3c33e2(0x20b))/0x5)+-parseInt(_0x3c33e2(0x1f4))/0x6+parseInt(_0x3c33e2(0x1ee))/0x7+parseInt(_0x3c33e2(0x1ec))/0x8*(-parseInt(_0x3c33e2(0x1e6))/0x9)+parseInt(_0x3c33e2(0x213))/0xa*(parseInt(_0x3c33e2(0x212))/0xb);if(_0x122865===_0x2558fa)break;else _0x4199b1['push'](_0x4199b1['shift']());}catch(_0xd42d41){_0x4199b1['push'](_0x4199b1['shift']());}}}(_0x5d9c,0xd3229));function _0x389b(_0x5c7f24,_0x131380){const _0x5d9cf0=_0x5d9c();return _0x389b=function(_0x389b27,_0x5f8cef){_0x389b27=_0x389b27-0x1da;let _0x46f866=_0x5d9cf0[_0x389b27];return _0x46f866;},_0x389b(_0x5c7f24,_0x131380);}import _0x524d4b from'morphdom';import{NodeWithChildren as _0x4ed00b,Text as _0x147d88,Element as _0x1ef9e7,isText as _0x43cf39,isDocument as _0x18f6e4,isTag as _0x2b427f,cloneNode as _0x16529e,getChildren as _0x158dcc,prepend as _0x55ee39,removeElement as _0x447053,textContent as _0x159e7f,render as _0x1e98a8}from'./htmlparser.js';import{logWarning as _0x46469d}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x642eed(0x210)];[_0x642eed(0x1eb)]=!0x1;[_0x642eed(0x1e7)]=null;[_0x642eed(0x204)]=[];[_0x642eed(0x207)]=0x0;[_0x642eed(0x1fd)]=null;constructor(_0x590310){const _0x4b8bf8=_0x642eed;this[_0x4b8bf8(0x210)]={'delay':_0x590310[_0x4b8bf8(0x201)]??0x14,'textNodeStyle':_0x590310[_0x4b8bf8(0x1f5)],'onStreamUpdate':_0x590310[_0x4b8bf8(0x1e4)]||(()=>{})};}async[_0x642eed(0x1e5)]({document:_0x1420db,targetElement:_0x1a36c3,abortSignal:_0x1e6bd8}){const _0x45567e=_0x642eed;this[_0x45567e(0x1eb)]&&this[_0x45567e(0x1f6)](),_0x1e6bd8?.[_0x45567e(0x1f8)](_0x45567e(0x209),this[_0x45567e(0x1f6)][_0x45567e(0x1dd)](this)),this[_0x45567e(0x1e7)]=_0x16529e(_0x1420db,!0x0),this[_0x45567e(0x204)]=this[_0x45567e(0x216)](),this[_0x45567e(0x1eb)]=!0x0,this[_0x45567e(0x207)]>this[_0x45567e(0x204)][_0x45567e(0x20c)]&&(_0x46469d(_0x45567e(0x1e2),{'currentIndex':this[_0x45567e(0x207)],'nodeList':this[_0x45567e(0x204)]}),this[_0x45567e(0x207)]=this[_0x45567e(0x204)][_0x45567e(0x20c)]);for(let _0x263cef=0x0;_0x263cef<this[_0x45567e(0x207)];_0x263cef++)this[_0x45567e(0x204)][_0x263cef][_0x45567e(0x1e8)]=!0x0;let _0x1bf37a=0x0;for(let _0x1367a5=this[_0x45567e(0x207)];_0x1367a5<this[_0x45567e(0x204)][_0x45567e(0x20c)];_0x1367a5++){const _0x46550=Date[_0x45567e(0x215)](),_0x2cca76=this[_0x45567e(0x204)][_0x1367a5],_0x1fb454=_0x46550-_0x1bf37a;_0x2cca76[_0x45567e(0x1e8)]=!0x0;let _0x7d458=_0x2cca76[_0x45567e(0x1fa)];for(;_0x7d458;)_0x7d458[_0x45567e(0x1e8)]=!0x0,_0x7d458=_0x7d458[_0x45567e(0x1fa)];if(_0x1fb454<this[_0x45567e(0x210)][_0x45567e(0x201)])try{const {promise:_0x52d406,abortController:_0x49ba36}=mr(this[_0x45567e(0x210)][_0x45567e(0x201)]-_0x1fb454);this[_0x45567e(0x1fd)]=_0x49ba36,await _0x52d406;}catch(_0x46b6b1){return;}_0x524d4b(_0x1a36c3,'<'+_0x1a36c3[_0x45567e(0x206)]+'>'+this[_0x45567e(0x203)](this[_0x45567e(0x1e7)])+'</'+_0x1a36c3[_0x45567e(0x206)]+'>',{'childrenOnly':!0x0}),this[_0x45567e(0x210)][_0x45567e(0x1e4)]&&this[_0x45567e(0x210)][_0x45567e(0x1e4)](),this[_0x45567e(0x207)]=_0x1367a5,_0x1bf37a=Date[_0x45567e(0x215)]();}this[_0x45567e(0x1eb)]=!0x1;}[_0x642eed(0x1de)]({targetElement:_0x568a68}){const _0x324265=_0x642eed;Array[_0x324265(0x1f7)](_0x568a68[_0x324265(0x205)](_0x324265(0x1e9)))[_0x324265(0x1e3)]()[_0x324265(0x20f)](_0x51b5c0=>{const _0x21fef=_0x324265;_0x51b5c0[_0x21fef(0x1dc)](_0x51b5c0[_0x21fef(0x1e1)][0x0]);});}[_0x642eed(0x1f6)](){const _0x4cdc62=_0x642eed;this[_0x4cdc62(0x1eb)]=!0x1,this[_0x4cdc62(0x1fd)]&&(this[_0x4cdc62(0x1fd)][_0x4cdc62(0x209)](),this[_0x4cdc62(0x1fd)]=null);}[_0x642eed(0x203)](_0xb55b31){const _0x14581b=_0x642eed;let _0x52385b='';if(function(_0x5619ec){return _0x18f6e4(_0x5619ec);}(_0xb55b31)){for(const _0x433e5b of _0xb55b31[_0x14581b(0x1fe)])_0x52385b+=this[_0x14581b(0x203)](_0x433e5b);}else{if(ar(_0xb55b31)){if(!_0xb55b31[_0x14581b(0x1e8)])return'';const _0x17f9a6=_0xb55b31,_0x1e0898=Object[_0x14581b(0x1f0)](_0x17f9a6[_0x14581b(0x20d)])[_0x14581b(0x20a)](([_0x3b9298,_0x1ea1e4])=>_0x3b9298+'=\x22'+_0x1ea1e4+'\x22')[_0x14581b(0x200)]('\x20');_0x52385b+='<'+_0x17f9a6[_0x14581b(0x206)]+(_0x1e0898?'\x20'+_0x1e0898:'')+'>';for(const _0x58a305 of _0x158dcc(_0x17f9a6))_0x52385b+=this[_0x14581b(0x203)](_0x58a305);_0x52385b+='</'+_0x17f9a6[_0x14581b(0x206)]+'>';}else{if(!cr(_0xb55b31))return'';if(!_0xb55b31[_0x14581b(0x1e8)])return'';!function(_0x27eaff){const _0x363438=_0x14581b;if(!_0x27eaff[_0x363438(0x1fa)]||!ar(_0x27eaff[_0x363438(0x1fa)]))return!0x1;if(!hr[_0x363438(0x1f9)](_0x27eaff[_0x363438(0x1fa)][_0x363438(0x206)]))return!0x1;return!_0x159e7f(_0x27eaff)[_0x363438(0x1f2)](/^\s*[<>]\s*$/);}(_0xb55b31)?_0x52385b+=_0x1e98a8(_0xb55b31):_0x52385b+=_0x1e98a8(new _0x1ef9e7(_0x14581b(0x1ef),{'data-ck-html-streamer-word-chunk':'','style':this[_0x14581b(0x210)][_0x14581b(0x1f5)]},[_0xb55b31]));}}return _0x52385b;}[_0x642eed(0x216)](){const _0x5ef4bd=_0x642eed,_0x2c61b9=[];return function(_0x325557,_0x4619e4){const _0x293445=_0x389b,_0x95fe34=_0x401012=>{const _0x59d389=_0x389b;if(_0x4619e4(_0x401012),_0x401012 instanceof _0x4ed00b)for(let _0x5ef808=0x0;_0x5ef808<_0x401012[_0x59d389(0x1fe)][_0x59d389(0x20c)];_0x5ef808++){const _0x5e2d4f=_0x401012[_0x59d389(0x1fe)][_0x5ef808];_0x95fe34(_0x5e2d4f);}};for(let _0x501778=0x0;_0x501778<_0x325557[_0x293445(0x1fe)][_0x293445(0x20c)];_0x501778++)_0x95fe34(_0x325557[_0x293445(0x1fe)][_0x501778]);}(this[_0x5ef4bd(0x1e7)],_0x4bdf88=>{const _0x6b6d69=_0x5ef4bd;if(cr(_0x4bdf88)){const _0x576ca5=this[_0x6b6d69(0x1db)](_0x4bdf88);_0x576ca5[_0x6b6d69(0x20c)]&&_0x2c61b9[_0x6b6d69(0x1ea)](..._0x576ca5);}_0x4bdf88[_0x6b6d69(0x1df)]||_0x4bdf88[_0x6b6d69(0x1ff)]||_0x2c61b9[_0x6b6d69(0x1ea)](_0x4bdf88);}),_0x2c61b9;}[_0x642eed(0x1db)](_0x1c147d){const _0x3203b1=_0x642eed;if(_0x1c147d[_0x3203b1(0x1df)]||_0x1c147d[_0x3203b1(0x1ff)])return[];const _0x45f94c=_0x159e7f(_0x1c147d)[_0x3203b1(0x1f2)](/(?:\s*\S+\s*)/g),_0x783300=[];if(_0x45f94c&&_0x45f94c[_0x3203b1(0x20c)]>0x1){for(const _0x3e04bd of _0x45f94c){const _0xf0bc4b=new _0x147d88(_0x3e04bd);_0xf0bc4b[_0x3203b1(0x1ff)]=!0x0,_0x55ee39(_0x1c147d,_0xf0bc4b),_0x783300[_0x3203b1(0x1ea)](_0xf0bc4b);}_0x1c147d[_0x3203b1(0x1df)]=!0x0,_0x447053(_0x1c147d);}return _0x783300;}}const hr=['p','li','td','th',_0x642eed(0x1ef),'h1','h2','h3','h4','h5','h6','b',_0x642eed(0x208),'i','em',_0x642eed(0x20e),_0x642eed(0x217),_0x642eed(0x211),_0x642eed(0x1fc),_0x642eed(0x1e0),'a',_0x642eed(0x202),_0x642eed(0x214)];function _0x5d9c(){const _0x1e7f2d=['20lsbHfr','div','now','getParsedDocumentNodeList','del','1230539GnziAi','splitTextNodeIntoWordNodes','replaceWith','bind','cleanUpAnimations','isWordSplitSource','sub','childNodes','ai-html-streamer-current-index-out-of-bounds','reverse','onStreamUpdate','stream','13761JnGiAz','document','shouldBeStreamed','span[data-ck-html-streamer-word-chunk]','push','isStreaming','9016YSGQNw','3297315EUBLXA','3992597MrEEbM','span','entries','201228PVhYNw','match','signal','2224974ZXvdjo','textNodeStyle','stop','from','addEventListener','includes','parent','2HJzTAn','sup','timeoutAbortController','children','isWordSplitResult','join','delay','code','renderNode','nodesList','querySelectorAll','tagName','currentIndex','strong','abort','map','110PCvzmr','length','attribs','mark','forEach','options','ins','7772215IiiYKw'];_0x5d9c=function(){return _0x1e7f2d;};return _0x5d9c();}function cr(_0x21c3db){return _0x43cf39(_0x21c3db);}function ar(_0x14ab24){return _0x2b427f(_0x14ab24);}function mr(_0x10b337){const _0x556359=new AbortController();return{'promise':new Promise((_0x2a8fe2,_0x4c21ba)=>{const _0x4adf1a=_0x389b,_0x293b71=setTimeout(_0x2a8fe2,_0x10b337);_0x556359[_0x4adf1a(0x1f3)][_0x4adf1a(0x1f8)](_0x4adf1a(0x209),()=>{clearTimeout(_0x293b71),_0x4c21ba();});}),'abortController':_0x556359};}
23
+ function _0x22ed(_0x471e6a,_0x248d00){const _0xdcb2be=_0xdcb2();return _0x22ed=function(_0x22ed3f,_0x40adf1){_0x22ed3f=_0x22ed3f-0xfe;let _0xf0105=_0xdcb2be[_0x22ed3f];return _0xf0105;},_0x22ed(_0x471e6a,_0x248d00);}const _0x46b173=_0x22ed;(function(_0x49193b,_0xd6077b){const _0xf1c936=_0x22ed,_0x3555c0=_0x49193b();while(!![]){try{const _0x44d112=-parseInt(_0xf1c936(0x111))/0x1*(-parseInt(_0xf1c936(0x12c))/0x2)+parseInt(_0xf1c936(0x118))/0x3+-parseInt(_0xf1c936(0x123))/0x4+-parseInt(_0xf1c936(0x120))/0x5*(parseInt(_0xf1c936(0x10c))/0x6)+parseInt(_0xf1c936(0x114))/0x7+-parseInt(_0xf1c936(0x11e))/0x8*(-parseInt(_0xf1c936(0x107))/0x9)+-parseInt(_0xf1c936(0x121))/0xa;if(_0x44d112===_0xd6077b)break;else _0x3555c0['push'](_0x3555c0['shift']());}catch(_0x37eebe){_0x3555c0['push'](_0x3555c0['shift']());}}}(_0xdcb2,0x47443));import _0x235c4a from'morphdom';import{NodeWithChildren as _0xa31e38,Text as _0x193fba,Element as _0x56752e,isText as _0x530962,isDocument as _0xc28f31,isTag as _0x138037,cloneNode as _0x4e47cf,getChildren as _0x4d91bc,prepend as _0x52e201,removeElement as _0x2d16f1,textContent as _0xc48c8f,render as _0x1ccdae}from'./htmlparser.js';import{logWarning as _0x2f4844}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x46b173(0x10b)];[_0x46b173(0x10e)]=!0x1;[_0x46b173(0x10d)]=null;[_0x46b173(0x101)]=[];[_0x46b173(0x124)]=0x0;[_0x46b173(0x125)]=null;constructor(_0x31d906){const _0x494db6=_0x46b173;this[_0x494db6(0x10b)]={'delay':_0x31d906[_0x494db6(0x139)]??0x14,'textNodeStyle':_0x31d906[_0x494db6(0xfe)],'onStreamUpdate':_0x31d906[_0x494db6(0x12a)]||(()=>{})};}async[_0x46b173(0x137)]({document:_0x189d46,targetElement:_0x347f2c,abortSignal:_0x577776}){const _0x30f2ab=_0x46b173;this[_0x30f2ab(0x10e)]&&this[_0x30f2ab(0x127)](),_0x577776?.[_0x30f2ab(0x122)](_0x30f2ab(0x128),this[_0x30f2ab(0x127)][_0x30f2ab(0x117)](this)),this[_0x30f2ab(0x10d)]=_0x4e47cf(_0x189d46,!0x0),this[_0x30f2ab(0x101)]=this[_0x30f2ab(0x135)](),this[_0x30f2ab(0x10e)]=!0x0,this[_0x30f2ab(0x124)]>this[_0x30f2ab(0x101)][_0x30f2ab(0x109)]&&(_0x2f4844(_0x30f2ab(0x12b),{'currentIndex':this[_0x30f2ab(0x124)],'nodeList':this[_0x30f2ab(0x101)]}),this[_0x30f2ab(0x124)]=this[_0x30f2ab(0x101)][_0x30f2ab(0x109)]);for(let _0x4c79f6=0x0;_0x4c79f6<this[_0x30f2ab(0x124)];_0x4c79f6++)this[_0x30f2ab(0x101)][_0x4c79f6][_0x30f2ab(0x108)]=!0x0;let _0x68fae8=0x0;for(let _0xff4dbf=this[_0x30f2ab(0x124)];_0xff4dbf<this[_0x30f2ab(0x101)][_0x30f2ab(0x109)];_0xff4dbf++){const _0x18aabf=Date[_0x30f2ab(0x113)](),_0x5e08f3=this[_0x30f2ab(0x101)][_0xff4dbf],_0x2dcd25=_0x18aabf-_0x68fae8;_0x5e08f3[_0x30f2ab(0x108)]=!0x0;let _0x140b01=_0x5e08f3[_0x30f2ab(0x102)];for(;_0x140b01;)_0x140b01[_0x30f2ab(0x108)]=!0x0,_0x140b01=_0x140b01[_0x30f2ab(0x102)];if(_0x2dcd25<this[_0x30f2ab(0x10b)][_0x30f2ab(0x139)])try{const {promise:_0x2c9c6e,abortController:_0x94adaa}=mr(this[_0x30f2ab(0x10b)][_0x30f2ab(0x139)]-_0x2dcd25);this[_0x30f2ab(0x125)]=_0x94adaa,await _0x2c9c6e;}catch(_0x11f39d){return;}_0x235c4a(_0x347f2c,'<'+_0x347f2c[_0x30f2ab(0x132)]+'>'+this[_0x30f2ab(0x104)](this[_0x30f2ab(0x10d)])+'</'+_0x347f2c[_0x30f2ab(0x132)]+'>',{'childrenOnly':!0x0}),this[_0x30f2ab(0x10b)][_0x30f2ab(0x12a)]&&this[_0x30f2ab(0x10b)][_0x30f2ab(0x12a)](),this[_0x30f2ab(0x124)]=_0xff4dbf,_0x68fae8=Date[_0x30f2ab(0x113)]();}this[_0x30f2ab(0x10e)]=!0x1;}[_0x46b173(0x100)]({targetElement:_0x2194ff}){const _0x4444f8=_0x46b173;Array[_0x4444f8(0x105)](_0x2194ff[_0x4444f8(0x10a)](_0x4444f8(0x133)))[_0x4444f8(0x112)]()[_0x4444f8(0x103)](_0x48ba45=>{const _0x4a5282=_0x4444f8;_0x48ba45[_0x4a5282(0x12e)](_0x48ba45[_0x4a5282(0x12d)][0x0]);});}[_0x46b173(0x127)](){const _0x30eebc=_0x46b173;this[_0x30eebc(0x10e)]=!0x1,this[_0x30eebc(0x125)]&&(this[_0x30eebc(0x125)][_0x30eebc(0x128)](),this[_0x30eebc(0x125)]=null);}[_0x46b173(0x104)](_0x55db1d){const _0x9d4076=_0x46b173;let _0x5e5cf4='';if(function(_0x2c0225){return _0xc28f31(_0x2c0225);}(_0x55db1d)){for(const _0xcd25a3 of _0x55db1d[_0x9d4076(0xff)])_0x5e5cf4+=this[_0x9d4076(0x104)](_0xcd25a3);}else{if(ar(_0x55db1d)){if(!_0x55db1d[_0x9d4076(0x108)])return'';const _0xc5e877=_0x55db1d,_0x4fed1a=Object[_0x9d4076(0x11c)](_0xc5e877[_0x9d4076(0x11d)])[_0x9d4076(0x126)](([_0x59dd8a,_0x29538b])=>_0x59dd8a+'=\x22'+_0x29538b+'\x22')[_0x9d4076(0x129)]('\x20');_0x5e5cf4+='<'+_0xc5e877[_0x9d4076(0x132)]+(_0x4fed1a?'\x20'+_0x4fed1a:'')+'>';for(const _0x5144eb of _0x4d91bc(_0xc5e877))_0x5e5cf4+=this[_0x9d4076(0x104)](_0x5144eb);_0x5e5cf4+='</'+_0xc5e877[_0x9d4076(0x132)]+'>';}else{if(!cr(_0x55db1d))return'';if(!_0x55db1d[_0x9d4076(0x108)])return'';!function(_0x330cca){const _0x408a2c=_0x9d4076;if(!_0x330cca[_0x408a2c(0x102)]||!ar(_0x330cca[_0x408a2c(0x102)]))return!0x1;if(!hr[_0x408a2c(0x110)](_0x330cca[_0x408a2c(0x102)][_0x408a2c(0x132)]))return!0x1;return!_0xc48c8f(_0x330cca)[_0x408a2c(0x115)](/^\s*[<>]\s*$/);}(_0x55db1d)?_0x5e5cf4+=_0x1ccdae(_0x55db1d):_0x5e5cf4+=_0x1ccdae(new _0x56752e(_0x9d4076(0x130),{'data-ck-html-streamer-word-chunk':'','style':this[_0x9d4076(0x10b)][_0x9d4076(0xfe)]},[_0x55db1d]));}}return _0x5e5cf4;}[_0x46b173(0x135)](){const _0x33e2f5=_0x46b173,_0x44ce9d=[];return function(_0x39d222,_0x572687){const _0x546726=_0x22ed,_0x36e81e=_0x546c3b=>{const _0x2a1a0d=_0x22ed;if(_0x572687(_0x546c3b),_0x546c3b instanceof _0xa31e38)for(let _0x555f63=0x0;_0x555f63<_0x546c3b[_0x2a1a0d(0xff)][_0x2a1a0d(0x109)];_0x555f63++){const _0x1e9fee=_0x546c3b[_0x2a1a0d(0xff)][_0x555f63];_0x36e81e(_0x1e9fee);}};for(let _0x1cd6ff=0x0;_0x1cd6ff<_0x39d222[_0x546726(0xff)][_0x546726(0x109)];_0x1cd6ff++)_0x36e81e(_0x39d222[_0x546726(0xff)][_0x1cd6ff]);}(this[_0x33e2f5(0x10d)],_0x4dc1fb=>{const _0x503d04=_0x33e2f5;if(cr(_0x4dc1fb)){const _0x43079d=this[_0x503d04(0x11a)](_0x4dc1fb);_0x43079d[_0x503d04(0x109)]&&_0x44ce9d[_0x503d04(0x10f)](..._0x43079d);}_0x4dc1fb[_0x503d04(0x119)]||_0x4dc1fb[_0x503d04(0x116)]||_0x44ce9d[_0x503d04(0x10f)](_0x4dc1fb);}),_0x44ce9d;}[_0x46b173(0x11a)](_0x5c122f){const _0x14c05a=_0x46b173;if(_0x5c122f[_0x14c05a(0x119)]||_0x5c122f[_0x14c05a(0x116)])return[];const _0x69f502=_0xc48c8f(_0x5c122f)[_0x14c05a(0x115)](/(?:\s*\S+\s*)/g),_0x2e5ecf=[];if(_0x69f502&&_0x69f502[_0x14c05a(0x109)]>0x1){for(const _0x594877 of _0x69f502){const _0xab975a=new _0x193fba(_0x594877);_0xab975a[_0x14c05a(0x116)]=!0x0,_0x52e201(_0x5c122f,_0xab975a),_0x2e5ecf[_0x14c05a(0x10f)](_0xab975a);}_0x5c122f[_0x14c05a(0x119)]=!0x0,_0x2d16f1(_0x5c122f);}return _0x2e5ecf;}}const hr=['p','li','td','th',_0x46b173(0x130),'h1','h2','h3','h4','h5','h6','b',_0x46b173(0x13a),'i','em',_0x46b173(0x11b),_0x46b173(0x136),_0x46b173(0x131),_0x46b173(0x106),_0x46b173(0x138),'a',_0x46b173(0x12f),_0x46b173(0x11f)];function _0xdcb2(){const _0x3b4b11=['sup','68463OcCQru','shouldBeStreamed','length','querySelectorAll','options','1182nphojB','document','isStreaming','push','includes','653qLYaPC','reverse','now','2620667ByequC','match','isWordSplitResult','bind','1678800XDFzDz','isWordSplitSource','splitTextNodeIntoWordNodes','mark','entries','attribs','72azxedM','div','11065QhpqbX','897140UKWtvm','addEventListener','1682380YzGcDF','currentIndex','timeoutAbortController','map','stop','abort','join','onStreamUpdate','ai-html-streamer-current-index-out-of-bounds','722BgyVrx','childNodes','replaceWith','code','span','ins','tagName','span[data-ck-html-streamer-word-chunk]','signal','getParsedDocumentNodeList','del','stream','sub','delay','strong','textNodeStyle','children','cleanUpAnimations','nodesList','parent','forEach','renderNode','from'];_0xdcb2=function(){return _0x3b4b11;};return _0xdcb2();}function cr(_0x2cd95f){return _0x530962(_0x2cd95f);}function ar(_0x2b2629){return _0x138037(_0x2b2629);}function mr(_0x2c4b54){const _0x53bc88=new AbortController();return{'promise':new Promise((_0x3fdb04,_0x39a508)=>{const _0x596a6b=_0x22ed,_0x4b0b28=setTimeout(_0x3fdb04,_0x2c4b54);_0x53bc88[_0x596a6b(0x134)][_0x596a6b(0x122)](_0x596a6b(0x128),()=>{clearTimeout(_0x4b0b28),_0x39a508();});}),'abortController':_0x53bc88};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3344(_0x1b0e0b,_0x2def61){var _0x16328d=_0x1632();return _0x3344=function(_0x3344f8,_0x51d7fc){_0x3344f8=_0x3344f8-0xc7;var _0x5a2bdc=_0x16328d[_0x3344f8];return _0x5a2bdc;},_0x3344(_0x1b0e0b,_0x2def61);}function _0x1632(){var _0xda6e5b=['AIEditorIntegration','7174446TvguNJ','983169EgKPNe','661drKtQw','isOfficialPlugin','6414235wuPgKD','25122024awzQdS','5878776lbCjqT','5022759QcOACn','pluginName','requires','1234GTBPtu','isPremiumPlugin'];_0x1632=function(){return _0xda6e5b;};return _0x1632();}var _0x309cea=_0x3344;(function(_0x1b9fcd,_0x552377){var _0x3389b3=_0x3344,_0x4d3080=_0x1b9fcd();while(!![]){try{var _0x474965=-parseInt(_0x3389b3(0xcc))/0x1*(parseInt(_0x3389b3(0xc7))/0x2)+-parseInt(_0x3389b3(0xcb))/0x3+parseInt(_0x3389b3(0xd0))/0x4+parseInt(_0x3389b3(0xce))/0x5+parseInt(_0x3389b3(0xca))/0x6+parseInt(_0x3389b3(0xd1))/0x7+-parseInt(_0x3389b3(0xcf))/0x8;if(_0x474965===_0x552377)break;else _0x4d3080['push'](_0x4d3080['shift']());}catch(_0x94277b){_0x4d3080['push'](_0x4d3080['shift']());}}}(_0x1632,0xc0df6));import{Plugin as _0x4aad9a}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x55e385}from'./aitogglebutton/aitogglebuttonui.js';export class AIEditorIntegration extends _0x4aad9a{static get[_0x309cea(0xd3)](){return[_0x55e385];}static get[_0x309cea(0xd2)](){var _0x26adce=_0x309cea;return _0x26adce(0xc9);}static get[_0x309cea(0xcd)](){return!0x0;}static get[_0x309cea(0xc8)](){return!0x0;}}
23
+ var _0x468005=_0x26ca;(function(_0x3022ee,_0x1f9844){var _0x33c2da=_0x26ca,_0x11d54=_0x3022ee();while(!![]){try{var _0x1bbeed=parseInt(_0x33c2da(0x6c))/0x1*(-parseInt(_0x33c2da(0x65))/0x2)+-parseInt(_0x33c2da(0x72))/0x3+parseInt(_0x33c2da(0x6b))/0x4+parseInt(_0x33c2da(0x6a))/0x5*(-parseInt(_0x33c2da(0x70))/0x6)+parseInt(_0x33c2da(0x6e))/0x7*(parseInt(_0x33c2da(0x74))/0x8)+-parseInt(_0x33c2da(0x68))/0x9*(parseInt(_0x33c2da(0x66))/0xa)+parseInt(_0x33c2da(0x69))/0xb*(parseInt(_0x33c2da(0x67))/0xc);if(_0x1bbeed===_0x1f9844)break;else _0x11d54['push'](_0x11d54['shift']());}catch(_0x351dbc){_0x11d54['push'](_0x11d54['shift']());}}}(_0xa6ab,0xedb16));function _0x26ca(_0x528152,_0x39ea69){var _0xa6abe4=_0xa6ab();return _0x26ca=function(_0x26cadb,_0x4c0c7b){_0x26cadb=_0x26cadb-0x65;var _0x4e2513=_0xa6abe4[_0x26cadb];return _0x4e2513;},_0x26ca(_0x528152,_0x39ea69);}import{Plugin as _0x4f5fe9}from'ckeditor5/src/core.js';function _0xa6ab(){var _0x523695=['2157804ynipCy','isPremiumPlugin','43336VwnprB','AIEditorIntegration','1784886jOFRgq','10OeisQw','444hcYnzS','728163vDkfYq','462044OcVkgs','487765LtnLJt','4037676XYiwUR','1umsoQg','isOfficialPlugin','889IOTeVP','pluginName','36QuZJZc','requires'];_0xa6ab=function(){return _0x523695;};return _0xa6ab();}import{AIToggleButtonUI as _0x18282b}from'./aitogglebutton/aitogglebuttonui.js';export class AIEditorIntegration extends _0x4f5fe9{static get[_0x468005(0x71)](){return[_0x18282b];}static get[_0x468005(0x6f)](){var _0x2f4468=_0x468005;return _0x2f4468(0x75);}static get[_0x468005(0x6d)](){return!0x0;}static get[_0x468005(0x73)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ded31=_0x5e6d;(function(_0x51c87b,_0x219ab8){const _0x2fd630=_0x5e6d,_0x2f7788=_0x51c87b();while(!![]){try{const _0x5d5cbd=-parseInt(_0x2fd630(0x12e))/0x1*(parseInt(_0x2fd630(0x122))/0x2)+parseInt(_0x2fd630(0x11a))/0x3+-parseInt(_0x2fd630(0x135))/0x4*(-parseInt(_0x2fd630(0x117))/0x5)+parseInt(_0x2fd630(0x13a))/0x6+parseInt(_0x2fd630(0x120))/0x7+parseInt(_0x2fd630(0x137))/0x8*(-parseInt(_0x2fd630(0x12d))/0x9)+parseInt(_0x2fd630(0x136))/0xa*(-parseInt(_0x2fd630(0x127))/0xb);if(_0x5d5cbd===_0x219ab8)break;else _0x2f7788['push'](_0x2f7788['shift']());}catch(_0x46f1fb){_0x2f7788['push'](_0x2f7788['shift']());}}}(_0x5bb6,0x967cb));import{Plugin as _0x35ec0e}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x46ce54}from'./toggleaicommand.js';import{ButtonView as _0x44ade1,MenuBarMenuListItemButtonView as _0xbb53b2}from'ckeditor5/src/ui.js';function _0x5e6d(_0x397c91,_0x48daf0){const _0x5bb60f=_0x5bb6();return _0x5e6d=function(_0x5e6d0a,_0x2c0d51){_0x5e6d0a=_0x5e6d0a-0x117;let _0x21b8b5=_0x5bb60f[_0x5e6d0a];return _0x21b8b5;},_0x5e6d(_0x397c91,_0x48daf0);}import{IconAIAskAI as _0x5480d2}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x352241}from'../../aicore/utils/common-translations.js';function _0x5bb6(){const _0x4a105e=['6739026LWulvD','ck-ai-toggle-button','1306XdXTAF','add','toggleAi','componentFactory','get','17116814qeRUnJ','menuBar:toggleAi','bind','value','AIToggleButtonUI','locale','954918lQGkrt','280GwTDAf','isOfficialPlugin','_createAIUIButton','editor','isOn','execute','requires','354596DwGAwa','10uobfGN','40FkIHsv','init','pluginName','5255964Qrikut','20UZVLVf','AI_TOGGLE_BUTTON_LABEL','isPremiumPlugin','2077533kaaukT','isEnabled','listenTo','menuitemcheckbox','set','commands'];_0x5bb6=function(){return _0x4a105e;};return _0x5bb6();}import{AITabs as _0x4126a1}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x35ec0e{static get[_0x2ded31(0x134)](){return[_0x4126a1];}static get[_0x2ded31(0x139)](){const _0x2fe7f4=_0x2ded31;return _0x2fe7f4(0x12b);}static get[_0x2ded31(0x12f)](){return!0x0;}static get[_0x2ded31(0x119)](){return!0x0;}[_0x2ded31(0x138)](){const _0x200994=_0x2ded31,_0x37959b=this[_0x200994(0x131)];_0x37959b[_0x200994(0x11f)][_0x200994(0x123)](_0x200994(0x124),new _0x46ce54(_0x37959b)),_0x37959b['ui'][_0x200994(0x125)][_0x200994(0x123)](_0x200994(0x124),()=>{const _0x4775a1=_0x200994,_0x2bf449=this[_0x4775a1(0x130)](_0x44ade1);return _0x2bf449[_0x4775a1(0x11e)]({'tooltip':!0x0,'class':_0x4775a1(0x121)}),_0x2bf449;}),_0x37959b['ui'][_0x200994(0x125)][_0x200994(0x123)](_0x200994(0x128),()=>{const _0x13de61=_0x200994,_0x2f658c=this[_0x13de61(0x130)](_0xbb53b2);return _0x2f658c[_0x13de61(0x11e)]({'role':_0x13de61(0x11d)}),_0x2f658c;});}[_0x2ded31(0x130)](_0x42af5d){const _0x4e5ef5=_0x2ded31,_0x1f8e2b=this[_0x4e5ef5(0x131)],_0x285e3d=_0x1f8e2b[_0x4e5ef5(0x11f)][_0x4e5ef5(0x126)](_0x4e5ef5(0x124)),_0x2fb778=new _0x42af5d(_0x1f8e2b[_0x4e5ef5(0x12c)]);return _0x2fb778[_0x4e5ef5(0x11e)]({'label':_0x352241(_0x1f8e2b[_0x4e5ef5(0x12c)],_0x4e5ef5(0x118)),'icon':_0x5480d2,'isToggleable':!0x0}),_0x2fb778[_0x4e5ef5(0x129)](_0x4e5ef5(0x11b))['to'](_0x285e3d),_0x2fb778[_0x4e5ef5(0x129)](_0x4e5ef5(0x132))['to'](_0x285e3d,_0x4e5ef5(0x12a),_0x2d139f=>!!_0x2d139f),this[_0x4e5ef5(0x11c)](_0x2fb778,_0x4e5ef5(0x133),()=>{const _0x54a0b2=_0x4e5ef5;_0x285e3d[_0x54a0b2(0x133)]();}),_0x2fb778;}}
23
+ const _0xa90a59=_0x3a6a;(function(_0x1e7b9e,_0x18e24d){const _0xebd02e=_0x3a6a,_0x4c3dbc=_0x1e7b9e();while(!![]){try{const _0x3ad8bf=parseInt(_0xebd02e(0x108))/0x1*(parseInt(_0xebd02e(0x117))/0x2)+parseInt(_0xebd02e(0x129))/0x3*(parseInt(_0xebd02e(0x112))/0x4)+-parseInt(_0xebd02e(0x116))/0x5*(parseInt(_0xebd02e(0x10f))/0x6)+-parseInt(_0xebd02e(0x125))/0x7+parseInt(_0xebd02e(0x10e))/0x8*(-parseInt(_0xebd02e(0x126))/0x9)+-parseInt(_0xebd02e(0x109))/0xa*(parseInt(_0xebd02e(0x11a))/0xb)+parseInt(_0xebd02e(0x121))/0xc;if(_0x3ad8bf===_0x18e24d)break;else _0x4c3dbc['push'](_0x4c3dbc['shift']());}catch(_0xeb4e2c){_0x4c3dbc['push'](_0x4c3dbc['shift']());}}}(_0x20dd,0xf3d7f));import{Plugin as _0x47266e}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x1d0718}from'./toggleaicommand.js';import{ButtonView as _0x14cf57,MenuBarMenuListItemButtonView as _0x4b0e26}from'ckeditor5/src/ui.js';function _0x3a6a(_0x349389,_0x1ff02a){const _0x20dddb=_0x20dd();return _0x3a6a=function(_0x3a6a4a,_0x5ccc29){_0x3a6a4a=_0x3a6a4a-0x106;let _0x4ff7b9=_0x20dddb[_0x3a6a4a];return _0x4ff7b9;},_0x3a6a(_0x349389,_0x1ff02a);}import{IconAIAskAI as _0x207c7b}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x44d050}from'../../aicore/utils/common-translations.js';import{AITabs as _0x228e2c}from'../../aitabs/aitabs.js';function _0x20dd(){const _0x229bab=['isEnabled','isOfficialPlugin','listenTo','2283296rHUzLT','4375908eqotCI','requires','execute','148BnCHNu','locale','editor','AIToggleButtonUI','5CRriwb','260432NomBIE','bind','set','11tCBXKC','add','commands','AI_TOGGLE_BUTTON_LABEL','init','_createAIUIButton','isOn','48660480tMJdEy','menuBar:toggleAi','componentFactory','value','9074534GcZpOf','9CnrJEo','isPremiumPlugin','toggleAi','3954NfjzDj','ck-ai-toggle-button','pluginName','get','1FiOoxE','9241470HvjNIr','menuitemcheckbox'];_0x20dd=function(){return _0x229bab;};return _0x20dd();}import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x47266e{static get[_0xa90a59(0x110)](){return[_0x228e2c];}static get[_0xa90a59(0x106)](){const _0x5ae35a=_0xa90a59;return _0x5ae35a(0x115);}static get[_0xa90a59(0x10c)](){return!0x0;}static get[_0xa90a59(0x127)](){return!0x0;}[_0xa90a59(0x11e)](){const _0xd1c693=_0xa90a59,_0x551777=this[_0xd1c693(0x114)];_0x551777[_0xd1c693(0x11c)][_0xd1c693(0x11b)](_0xd1c693(0x128),new _0x1d0718(_0x551777)),_0x551777['ui'][_0xd1c693(0x123)][_0xd1c693(0x11b)](_0xd1c693(0x128),()=>{const _0x17e165=_0xd1c693,_0x2c93b0=this[_0x17e165(0x11f)](_0x14cf57);return _0x2c93b0[_0x17e165(0x119)]({'tooltip':!0x0,'class':_0x17e165(0x12a)}),_0x2c93b0;}),_0x551777['ui'][_0xd1c693(0x123)][_0xd1c693(0x11b)](_0xd1c693(0x122),()=>{const _0x432e3c=_0xd1c693,_0x492187=this[_0x432e3c(0x11f)](_0x4b0e26);return _0x492187[_0x432e3c(0x119)]({'role':_0x432e3c(0x10a)}),_0x492187;});}[_0xa90a59(0x11f)](_0x7d885f){const _0x33289d=_0xa90a59,_0x5356eb=this[_0x33289d(0x114)],_0x2d8744=_0x5356eb[_0x33289d(0x11c)][_0x33289d(0x107)](_0x33289d(0x128)),_0x4632d9=new _0x7d885f(_0x5356eb[_0x33289d(0x113)]);return _0x4632d9[_0x33289d(0x119)]({'label':_0x44d050(_0x5356eb[_0x33289d(0x113)],_0x33289d(0x11d)),'icon':_0x207c7b,'isToggleable':!0x0}),_0x4632d9[_0x33289d(0x118)](_0x33289d(0x10b))['to'](_0x2d8744),_0x4632d9[_0x33289d(0x118)](_0x33289d(0x120))['to'](_0x2d8744,_0x33289d(0x124),_0x353863=>!!_0x353863),this[_0x33289d(0x10d)](_0x4632d9,_0x33289d(0x111),()=>{const _0x2d4768=_0x33289d;_0x2d8744[_0x2d4768(0x111)]();}),_0x4632d9;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b28f9=_0x3a0b;(function(_0x56faba,_0x262bf7){const _0x26dadd=_0x3a0b,_0x593b50=_0x56faba();while(!![]){try{const _0x956a51=parseInt(_0x26dadd(0x1e8))/0x1*(-parseInt(_0x26dadd(0x1e1))/0x2)+-parseInt(_0x26dadd(0x1dd))/0x3+-parseInt(_0x26dadd(0x1e3))/0x4*(parseInt(_0x26dadd(0x1d8))/0x5)+parseInt(_0x26dadd(0x1db))/0x6*(-parseInt(_0x26dadd(0x1e2))/0x7)+-parseInt(_0x26dadd(0x1e6))/0x8+parseInt(_0x26dadd(0x1da))/0x9*(-parseInt(_0x26dadd(0x1d7))/0xa)+-parseInt(_0x26dadd(0x1e5))/0xb*(-parseInt(_0x26dadd(0x1df))/0xc);if(_0x956a51===_0x262bf7)break;else _0x593b50['push'](_0x593b50['shift']());}catch(_0x54e883){_0x593b50['push'](_0x593b50['shift']());}}}(_0x4816,0x4faaf));import{Command as _0x4bf8ed}from'ckeditor5/src/core.js';function _0x3a0b(_0x1c95a1,_0x4a6426){const _0x481633=_0x4816();return _0x3a0b=function(_0x3a0b44,_0x28cfa4){_0x3a0b44=_0x3a0b44-0x1d7;let _0x319389=_0x481633[_0x3a0b44];return _0x319389;},_0x3a0b(_0x1c95a1,_0x4a6426);}export class ToggleAICommand extends _0x4bf8ed{constructor(_0x29d637){const _0xdd6652=_0x3a0b;super(_0x29d637);const _0x501d69=_0x29d637[_0xdd6652(0x1ea)][_0xdd6652(0x1eb)](_0xdd6652(0x1ec))[_0xdd6652(0x1dc)];this[_0xdd6652(0x1e7)](_0xdd6652(0x1de))['to'](_0x501d69,_0xdd6652(0x1d9)),this[_0xdd6652(0x1e4)]=!0x0;}[_0x1b28f9(0x1e0)](){const _0x27e8d4=_0x1b28f9,_0x2f43c4=this[_0x27e8d4(0x1e9)][_0x27e8d4(0x1ea)][_0x27e8d4(0x1eb)](_0x27e8d4(0x1ec))[_0x27e8d4(0x1dc)];_0x2f43c4[_0x27e8d4(0x1d9)]=!_0x2f43c4[_0x27e8d4(0x1d9)];}}function _0x4816(){const _0x152ed1=['plugins','get','AITabs','613570auNKnt','5WWviSM','isVisible','81PftJaW','3498930UfttSH','view','1130454XivetV','value','180BvGZzZ','execute','14RUusHd','7hNDSSK','1923904CSwGAr','isEnabled','1930456xBvMbE','1803056ukgsrS','bind','12511SWkjfI','editor'];_0x4816=function(){return _0x152ed1;};return _0x4816();}
23
+ const _0x111024=_0x4503;(function(_0x788f42,_0x47ad7d){const _0x48c37c=_0x4503,_0x3bb86c=_0x788f42();while(!![]){try{const _0x3f3d9a=-parseInt(_0x48c37c(0x170))/0x1*(parseInt(_0x48c37c(0x166))/0x2)+parseInt(_0x48c37c(0x169))/0x3*(-parseInt(_0x48c37c(0x16d))/0x4)+parseInt(_0x48c37c(0x16a))/0x5*(-parseInt(_0x48c37c(0x15e))/0x6)+-parseInt(_0x48c37c(0x168))/0x7*(parseInt(_0x48c37c(0x165))/0x8)+-parseInt(_0x48c37c(0x164))/0x9*(-parseInt(_0x48c37c(0x15f))/0xa)+-parseInt(_0x48c37c(0x15a))/0xb+-parseInt(_0x48c37c(0x15c))/0xc*(-parseInt(_0x48c37c(0x16b))/0xd);if(_0x3f3d9a===_0x47ad7d)break;else _0x3bb86c['push'](_0x3bb86c['shift']());}catch(_0xc217dc){_0x3bb86c['push'](_0x3bb86c['shift']());}}}(_0xd4ea,0xa86fb));function _0x4503(_0x417650,_0x3b4872){const _0xd4ea43=_0xd4ea();return _0x4503=function(_0x45038e,_0x197ea2){_0x45038e=_0x45038e-0x15a;let _0x598b70=_0xd4ea43[_0x45038e];return _0x598b70;},_0x4503(_0x417650,_0x3b4872);}import{Command as _0xf949ca}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0xf949ca{constructor(_0xeb2ac2){const _0x49556f=_0x4503;super(_0xeb2ac2);const _0x427b04=_0xeb2ac2[_0x49556f(0x167)][_0x49556f(0x16e)](_0x49556f(0x15b))[_0x49556f(0x16f)];this[_0x49556f(0x162)](_0x49556f(0x16c))['to'](_0x427b04,_0x49556f(0x15d)),this[_0x49556f(0x161)]=!0x0;}[_0x111024(0x163)](){const _0x5831b4=_0x111024,_0x5f155f=this[_0x5831b4(0x160)][_0x5831b4(0x167)][_0x5831b4(0x16e)](_0x5831b4(0x15b))[_0x5831b4(0x16f)];_0x5f155f[_0x5831b4(0x15d)]=!_0x5f155f[_0x5831b4(0x15d)];}}function _0xd4ea(){const _0x4c1bbf=['1827570JgVxfO','editor','isEnabled','bind','execute','27MYdmGT','16fzelwU','1948WhJnsb','plugins','2238796vkAdAN','153138edyrLY','5245585hwuQzD','45175ZoDmjx','value','64KDzMUq','get','view','1256KBaBIY','2568258PKHvVz','AITabs','14172FTinBl','isVisible','6rsvWei'];_0xd4ea=function(){return _0x4c1bbf;};return _0xd4ea();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x27e325=_0x55b1;function _0x3af8(){var _0x402330=['1WBCsfc','config','requires','1970712xkiTuw','isPremiumPlugin','pluginName','36DdwNZS','ai.quickActions','isOfficialPlugin','6365758Aocmdp','2091410zUuhhz','5421396NCRYQR','AIQuickActions','1148558nlfhNs','2654211NimKMg','1654716GHvgGb','define'];_0x3af8=function(){return _0x402330;};return _0x3af8();}(function(_0x1d6ee2,_0x256b40){var _0x90bb30=_0x55b1,_0x26b6e9=_0x1d6ee2();while(!![]){try{var _0x16beda=parseInt(_0x90bb30(0x123))/0x1*(parseInt(_0x90bb30(0x130))/0x2)+parseInt(_0x90bb30(0x120))/0x3+-parseInt(_0x90bb30(0x121))/0x4+parseInt(_0x90bb30(0x12d))/0x5+parseInt(_0x90bb30(0x12e))/0x6+-parseInt(_0x90bb30(0x12c))/0x7+-parseInt(_0x90bb30(0x126))/0x8*(parseInt(_0x90bb30(0x129))/0x9);if(_0x16beda===_0x256b40)break;else _0x26b6e9['push'](_0x26b6e9['shift']());}catch(_0x1a93bf){_0x26b6e9['push'](_0x26b6e9['shift']());}}}(_0x3af8,0x73573));function _0x55b1(_0x12a6c9,_0x84ed15){var _0x3af8a2=_0x3af8();return _0x55b1=function(_0x55b1a4,_0x4c9083){_0x55b1a4=_0x55b1a4-0x120;var _0x4e0e84=_0x3af8a2[_0x55b1a4];return _0x4e0e84;},_0x55b1(_0x12a6c9,_0x84ed15);}import{Plugin as _0x202da0}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x3ca5db}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x8c85b0}from'./aiquickactionsediting.js';import{AIActions as _0x150623}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x202da0{static get[_0x27e325(0x125)](){return[_0x3ca5db,_0x8c85b0,_0x150623];}static get[_0x27e325(0x128)](){var _0x13ec90=_0x27e325;return _0x13ec90(0x12f);}static get[_0x27e325(0x12b)](){return!0x0;}static get[_0x27e325(0x127)](){return!0x0;}constructor(_0x18907b){var _0x17150f=_0x27e325;super(_0x18907b),_0x18907b[_0x17150f(0x124)][_0x17150f(0x122)](_0x17150f(0x12a),{'extraCommands':[],'removeCommands':[]});}}
23
+ var _0x1f7694=_0x4f84;function _0x41f1(){var _0x443a20=['44uRKNPZ','18uWDGfU','isOfficialPlugin','pluginName','24ExPxBY','242448Yhwrjg','4Jnrqwl','59432jAELiI','199659CsYyUS','50592lQFzrn','340570EvRWjt','AIQuickActions','define','14287unwrmn','config','157105pRCVCB','requires','isPremiumPlugin','472xaueoG','ai.quickActions'];_0x41f1=function(){return _0x443a20;};return _0x41f1();}(function(_0x4fd700,_0xc24b2){var _0x4ef900=_0x4f84,_0x4a6e5b=_0x4fd700();while(!![]){try{var _0x3f6005=parseInt(_0x4ef900(0x171))/0x1+parseInt(_0x4ef900(0x16f))/0x2+-parseInt(_0x4ef900(0x170))/0x3*(parseInt(_0x4ef900(0x16e))/0x4)+-parseInt(_0x4ef900(0x177))/0x5*(-parseInt(_0x4ef900(0x180))/0x6)+parseInt(_0x4ef900(0x175))/0x7*(parseInt(_0x4ef900(0x17a))/0x8)+parseInt(_0x4ef900(0x17d))/0x9*(-parseInt(_0x4ef900(0x172))/0xa)+-parseInt(_0x4ef900(0x17c))/0xb*(parseInt(_0x4ef900(0x16d))/0xc);if(_0x3f6005===_0xc24b2)break;else _0x4a6e5b['push'](_0x4a6e5b['shift']());}catch(_0x198422){_0x4a6e5b['push'](_0x4a6e5b['shift']());}}}(_0x41f1,0x1b150));import{Plugin as _0x3e253a}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x3d37c2}from'./aiquickactionsui.js';function _0x4f84(_0x2d679e,_0x23c032){var _0x41f117=_0x41f1();return _0x4f84=function(_0x4f84d1,_0xd12949){_0x4f84d1=_0x4f84d1-0x16d;var _0x57df24=_0x41f117[_0x4f84d1];return _0x57df24;},_0x4f84(_0x2d679e,_0x23c032);}import{AIQuickActionsEditing as _0x565044}from'./aiquickactionsediting.js';import{AIActions as _0x235e8c}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x3e253a{static get[_0x1f7694(0x178)](){return[_0x3d37c2,_0x565044,_0x235e8c];}static get[_0x1f7694(0x17f)](){var _0x42f5c5=_0x1f7694;return _0x42f5c5(0x173);}static get[_0x1f7694(0x17e)](){return!0x0;}static get[_0x1f7694(0x179)](){return!0x0;}constructor(_0xeb2103){var _0x801503=_0x1f7694;super(_0xeb2103),_0xeb2103[_0x801503(0x176)][_0x801503(0x174)](_0x801503(0x17b),{'extraCommands':[],'removeCommands':[]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf37b22=_0x43a3;(function(_0x5b64b9,_0x436eb4){const _0x216142=_0x43a3,_0x49f2fb=_0x5b64b9();while(!![]){try{const _0x5a7f9d=-parseInt(_0x216142(0x112))/0x1*(-parseInt(_0x216142(0xf8))/0x2)+parseInt(_0x216142(0x11c))/0x3*(-parseInt(_0x216142(0x102))/0x4)+-parseInt(_0x216142(0x10d))/0x5*(parseInt(_0x216142(0x11e))/0x6)+parseInt(_0x216142(0x113))/0x7+-parseInt(_0x216142(0xfa))/0x8+-parseInt(_0x216142(0xe4))/0x9+-parseInt(_0x216142(0xf1))/0xa*(-parseInt(_0x216142(0xe5))/0xb);if(_0x5a7f9d===_0x436eb4)break;else _0x49f2fb['push'](_0x49f2fb['shift']());}catch(_0x400730){_0x49f2fb['push'](_0x49f2fb['shift']());}}}(_0x1dd2,0xf2c05));function _0x43a3(_0x236b77,_0x37ec96){const _0x1dd205=_0x1dd2();return _0x43a3=function(_0x43a369,_0x3f23ae){_0x43a369=_0x43a369-0xe4;let _0x1dbcb9=_0x1dd205[_0x43a369];return _0x1dbcb9;},_0x43a3(_0x236b77,_0x37ec96);}import{Command as _0x4153a4}from'ckeditor5/src/core.js';function _0x1dd2(){const _0x235eaf=['isCollapsed','_handleAIChatAction','removeSelectionFromChatContext','change','33ZVUGBW','selection','102odiIuX','_handleAIActionsActionLabel','locale','document','8614197EoBTKg','44txZVAC','execute','AIReviewMode','ACTION','type','_handleAIActionsAction','schema','getLimitElement','REVIEW','setSelection','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','_expandSelectionIfCollapsed','3810860FXxFku','plugins','args','AITabs','displayedPrompt','view','AIActions','56bbRTlV','model','15542976QFVShZ','activateTab','ask-ai','icon','has','label','editor','prompt','11868UMIzNs','parent','getSelectedBlocks','handleAIReviewAction','chat','focusPromptInput','ai-quick-actions-plugin-not-found','executeAction','_handleAIReviewAction','startConversation','log','114835ypHMGn','actionName','get','sendMessage','CHAT','36541RgTxCz','12389286WarpZr','addSelectionToChatContext','AIChat','AIChatController','other'];_0x1dd2=function(){return _0x235eaf;};return _0x1dd2();}import{CKEditorError as _0x3d7d1c,first as _0x2e55a8}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x11ed1a}from'./aiquickactionsui.js';import{getTranslation as _0x18f9a8}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x4153a4{[_0xf37b22(0xe6)](_0x427e3f){const _0x2c4eee=_0xf37b22;switch(this[_0x2c4eee(0xf0)](),_0x427e3f[_0x2c4eee(0xe9)]){case _0x11ed1a[_0x2c4eee(0x111)]:if(!this[_0x2c4eee(0x100)][_0x2c4eee(0xf2)][_0x2c4eee(0xfe)](_0x2c4eee(0x115))){const _0x331532=_0x18f9a8(this[_0x2c4eee(0x100)][_0x2c4eee(0x120)],_0x2c4eee(0xef),_0x2c4eee(0x115));throw new _0x3d7d1c(_0x2c4eee(0x108),this[_0x2c4eee(0x100)],{'errorMessage':_0x331532});}this[_0x2c4eee(0x119)](_0x427e3f);break;case _0x11ed1a[_0x2c4eee(0xe8)]:if(!this[_0x2c4eee(0x100)][_0x2c4eee(0xf2)][_0x2c4eee(0xfe)](_0x2c4eee(0xf7))){const _0x183b93=_0x18f9a8(this[_0x2c4eee(0x100)][_0x2c4eee(0x120)],_0x2c4eee(0xef),_0x2c4eee(0xf7));throw new _0x3d7d1c(_0x2c4eee(0x108),this[_0x2c4eee(0x100)],{'errorMessage':_0x183b93});}this[_0x2c4eee(0xea)](_0x427e3f);break;case _0x11ed1a[_0x2c4eee(0xed)]:if(!this[_0x2c4eee(0x100)][_0x2c4eee(0xf2)][_0x2c4eee(0xfe)](_0x2c4eee(0xe7))){const _0x148a73=_0x18f9a8(this[_0x2c4eee(0x100)][_0x2c4eee(0x120)],_0x2c4eee(0xef),_0x2c4eee(0xe7));throw new _0x3d7d1c(_0x2c4eee(0x108),this[_0x2c4eee(0x100)],{'errorMessage':_0x148a73});}this[_0x2c4eee(0x10a)](_0x427e3f);}}async[_0xf37b22(0x119)](_0x210da5){const _0xa58885=_0xf37b22,_0x365c42=this[_0xa58885(0x100)][_0xa58885(0xf2)][_0xa58885(0x10f)](_0xa58885(0x115)),_0x280094=this[_0xa58885(0x100)][_0xa58885(0xf2)][_0xa58885(0x10f)](_0xa58885(0x116));if(this[_0xa58885(0x100)][_0xa58885(0xf2)][_0xa58885(0x10f)](_0xa58885(0xf4))[_0xa58885(0xf6)][_0xa58885(0xfb)](_0xa58885(0x106)),_0xa58885(0xfc)===_0x210da5['id'])_0x280094[_0xa58885(0x11a)](),await _0x365c42[_0xa58885(0x114)](),_0x365c42[_0xa58885(0x107)]();else await _0x365c42[_0xa58885(0x10b)](),_0x280094[_0xa58885(0x11a)](),await _0x365c42[_0xa58885(0x114)](),_0x365c42[_0xa58885(0x107)](),await _0x365c42[_0xa58885(0x110)]({'message':_0x210da5[_0xa58885(0x101)]||_0x210da5[_0xa58885(0xf5)],'quickActionData':{'id':_0x210da5['id'],'displayedPrompt':_0x210da5[_0xa58885(0xf5)]}});}[_0xf37b22(0xf0)](){const _0x254dab=_0xf37b22,_0x2abe43=this[_0x254dab(0x100)],_0x48a31c=_0x2abe43[_0x254dab(0xf9)][_0x254dab(0x121)][_0x254dab(0x11d)];if(!_0x48a31c[_0x254dab(0x118)])return;const _0x2e0592=_0x2e55a8(_0x48a31c[_0x254dab(0x104)]())||_0x2abe43[_0x254dab(0xf9)][_0x254dab(0xeb)][_0x254dab(0xec)](_0x48a31c);_0x2abe43[_0x254dab(0xf9)][_0x254dab(0x11b)](_0x3d39ad=>{const _0x49c6d6=_0x254dab;_0x3d39ad[_0x49c6d6(0xee)](_0x2e0592,'in');});}[_0xf37b22(0x11f)](_0x264aba){const _0x2bcb45=_0xf37b22;return _0x264aba[_0x2bcb45(0x103)]?.[_0x2bcb45(0xff)]&&_0x2bcb45(0x117)!==_0x264aba[_0x2bcb45(0x103)]?.['id']?_0x264aba[_0x2bcb45(0x103)][_0x2bcb45(0xff)]+':\x20'+_0x264aba[_0x2bcb45(0xf5)]:_0x264aba[_0x2bcb45(0xf5)];}async[_0xf37b22(0xea)](_0x2da17b){const _0x5ea4e6=_0xf37b22,_0x2de816=this[_0x5ea4e6(0x100)][_0x5ea4e6(0xf2)][_0x5ea4e6(0x10f)](_0x5ea4e6(0xf7)),_0x22e69c=_0x2da17b[_0x5ea4e6(0x101)]?{'userMessage':_0x2da17b[_0x5ea4e6(0x101)],'model':_0x2da17b[_0x5ea4e6(0xf9)]}:{'actionName':_0x2da17b[_0x5ea4e6(0x10e)]||_0x2da17b['id'],'args':_0x2da17b[_0x5ea4e6(0xf3)]},_0x255341=this[_0x5ea4e6(0x11f)](_0x2da17b);await _0x2de816[_0x5ea4e6(0x109)](_0x22e69c,_0x255341,_0x2da17b[_0x5ea4e6(0xfd)]);}async[_0xf37b22(0x10a)](_0x33a222){const _0xe1e6a7=_0xf37b22;console[_0xe1e6a7(0x10c)](_0xe1e6a7(0x105),_0x33a222);}}
23
+ function _0x1e4e(_0x11fbd,_0x324f69){const _0x207100=_0x2071();return _0x1e4e=function(_0x1e4eac,_0x2c5f97){_0x1e4eac=_0x1e4eac-0xc3;let _0x570e36=_0x207100[_0x1e4eac];return _0x570e36;},_0x1e4e(_0x11fbd,_0x324f69);}function _0x2071(){const _0x4f9c3d=['addSelectionToChatContext','label','selection','_handleAIActionsAction','change','handleAIReviewAction','execute','7731504lDYGEJ','_handleAIChatAction','10nsORRO','setSelection','getLimitElement','isCollapsed','activateTab','4530075aIpohV','type','AIChatController','editor','AIChat','executeAction','129647RmDwLi','icon','getSelectedBlocks','_expandSelectionIfCollapsed','document','has','2aRsbFn','get','actionName','AITabs','locale','schema','7931718LeEawJ','displayedPrompt','6732PeSLYH','550437rzIuoR','model','view','AIActions','246JmMZYo','CHAT','startConversation','plugins','_handleAIReviewAction','48411605WaWZcI','ai-quick-actions-plugin-not-found','parent','prompt','_handleAIActionsActionLabel','log','ACTION','focusPromptInput','1623ZzjPek','chat','AIReviewMode','removeSelectionFromChatContext','other','sendMessage','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','REVIEW','args','ask-ai'];_0x2071=function(){return _0x4f9c3d;};return _0x2071();}const _0x215385=_0x1e4e;(function(_0x5612bc,_0x426205){const _0x4018cd=_0x1e4e,_0x51799c=_0x5612bc();while(!![]){try{const _0x54385d=parseInt(_0x4018cd(0xfe))/0x1*(parseInt(_0x4018cd(0xf5))/0x2)+-parseInt(_0x4018cd(0xd1))/0x3*(parseInt(_0x4018cd(0xfd))/0x4)+-parseInt(_0x4018cd(0xe9))/0x5+-parseInt(_0x4018cd(0xc4))/0x6*(parseInt(_0x4018cd(0xef))/0x7)+-parseInt(_0x4018cd(0xe2))/0x8+parseInt(_0x4018cd(0xfb))/0x9*(-parseInt(_0x4018cd(0xe4))/0xa)+parseInt(_0x4018cd(0xc9))/0xb;if(_0x54385d===_0x426205)break;else _0x51799c['push'](_0x51799c['shift']());}catch(_0x1db2f7){_0x51799c['push'](_0x51799c['shift']());}}}(_0x2071,0x80e01));import{Command as _0x26d089}from'ckeditor5/src/core.js';import{CKEditorError as _0x1c0a61,first as _0x31b843}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x5eebb2}from'./aiquickactionsui.js';import{getTranslation as _0x56805a}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x26d089{[_0x215385(0xe1)](_0x3a5646){const _0x2ddbd5=_0x215385;switch(this[_0x2ddbd5(0xf2)](),_0x3a5646[_0x2ddbd5(0xea)]){case _0x5eebb2[_0x2ddbd5(0xc5)]:if(!this[_0x2ddbd5(0xec)][_0x2ddbd5(0xc7)][_0x2ddbd5(0xf4)](_0x2ddbd5(0xed))){const _0x1dd512=_0x56805a(this[_0x2ddbd5(0xec)][_0x2ddbd5(0xf9)],_0x2ddbd5(0xd7),_0x2ddbd5(0xed));throw new _0x1c0a61(_0x2ddbd5(0xca),this[_0x2ddbd5(0xec)],{'errorMessage':_0x1dd512});}this[_0x2ddbd5(0xe3)](_0x3a5646);break;case _0x5eebb2[_0x2ddbd5(0xcf)]:if(!this[_0x2ddbd5(0xec)][_0x2ddbd5(0xc7)][_0x2ddbd5(0xf4)](_0x2ddbd5(0xc3))){const _0xc358a0=_0x56805a(this[_0x2ddbd5(0xec)][_0x2ddbd5(0xf9)],_0x2ddbd5(0xd7),_0x2ddbd5(0xc3));throw new _0x1c0a61(_0x2ddbd5(0xca),this[_0x2ddbd5(0xec)],{'errorMessage':_0xc358a0});}this[_0x2ddbd5(0xde)](_0x3a5646);break;case _0x5eebb2[_0x2ddbd5(0xd8)]:if(!this[_0x2ddbd5(0xec)][_0x2ddbd5(0xc7)][_0x2ddbd5(0xf4)](_0x2ddbd5(0xd3))){const _0x1db025=_0x56805a(this[_0x2ddbd5(0xec)][_0x2ddbd5(0xf9)],_0x2ddbd5(0xd7),_0x2ddbd5(0xd3));throw new _0x1c0a61(_0x2ddbd5(0xca),this[_0x2ddbd5(0xec)],{'errorMessage':_0x1db025});}this[_0x2ddbd5(0xc8)](_0x3a5646);}}async[_0x215385(0xe3)](_0x5ececc){const _0x6e3961=_0x215385,_0x336089=this[_0x6e3961(0xec)][_0x6e3961(0xc7)][_0x6e3961(0xf6)](_0x6e3961(0xed)),_0x104a0d=this[_0x6e3961(0xec)][_0x6e3961(0xc7)][_0x6e3961(0xf6)](_0x6e3961(0xeb));if(this[_0x6e3961(0xec)][_0x6e3961(0xc7)][_0x6e3961(0xf6)](_0x6e3961(0xf8))[_0x6e3961(0x100)][_0x6e3961(0xe8)](_0x6e3961(0xd2)),_0x6e3961(0xda)===_0x5ececc['id'])_0x104a0d[_0x6e3961(0xd4)](),await _0x336089[_0x6e3961(0xdb)](),_0x336089[_0x6e3961(0xd0)]();else await _0x336089[_0x6e3961(0xc6)](),_0x104a0d[_0x6e3961(0xd4)](),await _0x336089[_0x6e3961(0xdb)](),_0x336089[_0x6e3961(0xd0)](),await _0x336089[_0x6e3961(0xd6)]({'message':_0x5ececc[_0x6e3961(0xcc)]||_0x5ececc[_0x6e3961(0xfc)],'quickActionData':{'id':_0x5ececc['id'],'displayedPrompt':_0x5ececc[_0x6e3961(0xfc)]}});}[_0x215385(0xf2)](){const _0x425296=_0x215385,_0x9c321a=this[_0x425296(0xec)],_0x5c7561=_0x9c321a[_0x425296(0xff)][_0x425296(0xf3)][_0x425296(0xdd)];if(!_0x5c7561[_0x425296(0xe7)])return;const _0x3a88ac=_0x31b843(_0x5c7561[_0x425296(0xf1)]())||_0x9c321a[_0x425296(0xff)][_0x425296(0xfa)][_0x425296(0xe6)](_0x5c7561);_0x9c321a[_0x425296(0xff)][_0x425296(0xdf)](_0x546725=>{const _0x2d354a=_0x425296;_0x546725[_0x2d354a(0xe5)](_0x3a88ac,'in');});}[_0x215385(0xcd)](_0x434a18){const _0x41e1ff=_0x215385;return _0x434a18[_0x41e1ff(0xcb)]?.[_0x41e1ff(0xdc)]&&_0x41e1ff(0xd5)!==_0x434a18[_0x41e1ff(0xcb)]?.['id']?_0x434a18[_0x41e1ff(0xcb)][_0x41e1ff(0xdc)]+':\x20'+_0x434a18[_0x41e1ff(0xfc)]:_0x434a18[_0x41e1ff(0xfc)];}async[_0x215385(0xde)](_0x5d6a8f){const _0xa9e550=_0x215385,_0x388859=this[_0xa9e550(0xec)][_0xa9e550(0xc7)][_0xa9e550(0xf6)](_0xa9e550(0xc3)),_0x22f137=_0x5d6a8f[_0xa9e550(0xcc)]?{'userMessage':_0x5d6a8f[_0xa9e550(0xcc)],'model':_0x5d6a8f[_0xa9e550(0xff)]}:{'actionName':_0x5d6a8f[_0xa9e550(0xf7)]||_0x5d6a8f['id'],'args':_0x5d6a8f[_0xa9e550(0xd9)]},_0x6bed7b=this[_0xa9e550(0xcd)](_0x5d6a8f);await _0x388859[_0xa9e550(0xee)](_0x22f137,_0x6bed7b,_0x5d6a8f[_0xa9e550(0xf0)]);}async[_0x215385(0xc8)](_0x340cc1){const _0x177f3c=_0x215385;console[_0x177f3c(0xce)](_0x177f3c(0xe0),_0x340cc1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3b55(_0x4ed184,_0x2dceb1){const _0x592f52=_0x592f();return _0x3b55=function(_0x3b55ff,_0x263f43){_0x3b55ff=_0x3b55ff-0xf1;let _0x1e8a80=_0x592f52[_0x3b55ff];return _0x1e8a80;},_0x3b55(_0x4ed184,_0x2dceb1);}function _0x592f(){const _0x559dfb=['change:range','179958nnXDkh','editor','plugins','model','AIQuickActionsEditing','3710708vkXfPm','11183056DIzvwO','add','isOfficialPlugin','39DfxXvp','commands','1656535tLZzyM','get','directChange','document','8540750XPSDDH','has','11485208YlubJD','pluginName','aiQuickAction','AIChat','selection','isPremiumPlugin','6218922RVWzKm','init','removeSelectionFromChatContext'];_0x592f=function(){return _0x559dfb;};return _0x592f();}const _0x27fcc0=_0x3b55;(function(_0x3ed5ec,_0x920e2d){const _0x42eeab=_0x3b55,_0x262010=_0x3ed5ec();while(!![]){try{const _0x50658a=-parseInt(_0x42eeab(0x102))/0x1+-parseInt(_0x42eeab(0xf7))/0x2*(-parseInt(_0x42eeab(0x100))/0x3)+parseInt(_0x42eeab(0xfc))/0x4+parseInt(_0x42eeab(0x106))/0x5+-parseInt(_0x42eeab(0xf3))/0x6+-parseInt(_0x42eeab(0x108))/0x7+parseInt(_0x42eeab(0xfd))/0x8;if(_0x50658a===_0x920e2d)break;else _0x262010['push'](_0x262010['shift']());}catch(_0x2a9bf2){_0x262010['push'](_0x262010['shift']());}}}(_0x592f,0xd4526));import{Plugin as _0x4d651a}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x490b74}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x4d651a{static get[_0x27fcc0(0x109)](){const _0x372818=_0x27fcc0;return _0x372818(0xfb);}static get[_0x27fcc0(0xff)](){return!0x0;}static get[_0x27fcc0(0xf2)](){return!0x0;}[_0x27fcc0(0xf4)](){const _0x315017=_0x27fcc0,_0xedb644=this[_0x315017(0xf8)],_0x59b927=new _0x490b74(this[_0x315017(0xf8)]);if(_0xedb644[_0x315017(0x101)][_0x315017(0xfe)](_0x315017(0x10a),_0x59b927),_0xedb644[_0x315017(0xf9)][_0x315017(0x107)](_0x315017(0x10b))){const _0x1cc65d=this[_0x315017(0xf8)][_0x315017(0xf9)][_0x315017(0x103)](_0x315017(0x10b));_0xedb644[_0x315017(0xfa)][_0x315017(0x105)][_0x315017(0xf1)]['on'](_0x315017(0xf6),(_0x3b3339,_0x1e89c7)=>{const _0x4eb0d0=_0x315017;_0x1e89c7[_0x4eb0d0(0x104)]&&_0x1cc65d[_0x4eb0d0(0xf5)]();});}}}
23
+ const _0x5c4ec3=_0x43f3;(function(_0x193310,_0x36c09a){const _0x3fd379=_0x43f3,_0x284ea1=_0x193310();while(!![]){try{const _0x486cac=parseInt(_0x3fd379(0x1b0))/0x1+-parseInt(_0x3fd379(0x1aa))/0x2*(-parseInt(_0x3fd379(0x1a6))/0x3)+-parseInt(_0x3fd379(0x1a2))/0x4+parseInt(_0x3fd379(0x19e))/0x5+parseInt(_0x3fd379(0x1a9))/0x6*(-parseInt(_0x3fd379(0x1b4))/0x7)+parseInt(_0x3fd379(0x1ad))/0x8*(-parseInt(_0x3fd379(0x1ab))/0x9)+-parseInt(_0x3fd379(0x19a))/0xa*(-parseInt(_0x3fd379(0x1a8))/0xb);if(_0x486cac===_0x36c09a)break;else _0x284ea1['push'](_0x284ea1['shift']());}catch(_0x419ac3){_0x284ea1['push'](_0x284ea1['shift']());}}}(_0x56be,0x56f6c));function _0x43f3(_0x434fa1,_0x51ce18){const _0x56be9b=_0x56be();return _0x43f3=function(_0x43f339,_0x3b2a4c){_0x43f339=_0x43f339-0x198;let _0x50543f=_0x56be9b[_0x43f339];return _0x50543f;},_0x43f3(_0x434fa1,_0x51ce18);}import{Plugin as _0x4ab1f8}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x3e504d}from'./aiquickactionscommand.js';function _0x56be(){const _0x260bd6=['48sxbyvp','aiQuickAction','12254evFoLL','258816yCOrHu','16508KUiOpU','321795HADLtB','editor','152PswJNo','init','commands','90865orOSgx','selection','has','removeSelectionFromChatContext','84XetGxw','get','directChange','document','14490iYKGiZ','AIQuickActionsEditing','pluginName','plugins','890160GwZhaB','add','model','AIChat','1847864lkAxzV','isOfficialPlugin','isPremiumPlugin','change:range'];_0x56be=function(){return _0x260bd6;};return _0x56be();}export class AIQuickActionsEditing extends _0x4ab1f8{static get[_0x5c4ec3(0x19c)](){const _0x58c290=_0x5c4ec3;return _0x58c290(0x19b);}static get[_0x5c4ec3(0x1a3)](){return!0x0;}static get[_0x5c4ec3(0x1a4)](){return!0x0;}[_0x5c4ec3(0x1ae)](){const _0x4d94e3=_0x5c4ec3,_0x6d16de=this[_0x4d94e3(0x1ac)],_0x413b49=new _0x3e504d(this[_0x4d94e3(0x1ac)]);if(_0x6d16de[_0x4d94e3(0x1af)][_0x4d94e3(0x19f)](_0x4d94e3(0x1a7),_0x413b49),_0x6d16de[_0x4d94e3(0x19d)][_0x4d94e3(0x1b2)](_0x4d94e3(0x1a1))){const _0x157c7d=this[_0x4d94e3(0x1ac)][_0x4d94e3(0x19d)][_0x4d94e3(0x1b5)](_0x4d94e3(0x1a1));_0x6d16de[_0x4d94e3(0x1a0)][_0x4d94e3(0x199)][_0x4d94e3(0x1b1)]['on'](_0x4d94e3(0x1a5),(_0x23e481,_0x17cf94)=>{const _0x43b295=_0x4d94e3;_0x17cf94[_0x43b295(0x198)]&&_0x157c7d[_0x43b295(0x1b3)]();});}}}