@ckeditor/ckeditor5-ai 47.2.0-alpha.3 → 47.2.0-alpha.5

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 (129) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/package.json +15 -15
  4. package/src/aiactions/aiactions.js +1 -1
  5. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  6. package/src/aiactions/model/aiactionsreply.js +1 -1
  7. package/src/aiassistant/adapters/aiadapter.js +1 -1
  8. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  9. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  10. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  11. package/src/aiassistant/aiassistant.js +1 -1
  12. package/src/aiassistant/aiassistantediting.js +1 -1
  13. package/src/aiassistant/aiassistantui.js +1 -1
  14. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  15. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  16. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  17. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  18. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  19. package/src/aiassistant/ui/form/aiformview.js +1 -1
  20. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  21. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  22. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  23. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  24. package/src/aiballoon/aiballoon.js +1 -1
  25. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  26. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  27. package/src/aiballoon/ui/aiballoonview.js +1 -1
  28. package/src/aichat/aichat.js +1 -1
  29. package/src/aichat/aichatcontroller.js +1 -1
  30. package/src/aichat/aichatui.js +1 -1
  31. package/src/aichat/model/aichatcontext.js +1 -1
  32. package/src/aichat/model/aichatconversation.js +1 -1
  33. package/src/aichat/model/aichatinteraction.js +1 -1
  34. package/src/aichat/model/aichatmodels.js +1 -1
  35. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  36. package/src/aichat/ui/aichatfeedview.js +1 -1
  37. package/src/aichat/ui/aichatheaderview.js +1 -1
  38. package/src/aichat/ui/aichatview.js +1 -1
  39. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  40. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  41. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  42. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  43. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  44. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  45. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  46. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  48. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  49. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  50. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  51. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  56. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  57. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  58. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  59. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  60. package/src/aichat/utils/eventnames.js +1 -1
  61. package/src/aichat/utils/promisequeue.js +1 -1
  62. package/src/aichat/utils/scrollmanager.js +1 -1
  63. package/src/aichathistory/aichathistory.js +1 -1
  64. package/src/aichathistory/aichathistorycontroller.js +1 -1
  65. package/src/aichathistory/aichathistoryui.js +1 -1
  66. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  67. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  68. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  69. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  70. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  71. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  72. package/src/aicore/aiconnector.js +1 -1
  73. package/src/aicore/aiediting.js +1 -1
  74. package/src/aicore/model/aicapabilities.js +1 -1
  75. package/src/aicore/model/aiinteraction.js +1 -1
  76. package/src/aicore/model/aimodels.js +1 -1
  77. package/src/aicore/model/aireply.js +1 -1
  78. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  79. package/src/aicore/pipeline/airesponseparser.js +2 -2
  80. package/src/aicore/ui/aidisclaimerview.js +1 -1
  81. package/src/aicore/ui/aiskeleton.js +1 -1
  82. package/src/aicore/ui/aispinner.js +1 -1
  83. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  84. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  85. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  86. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  87. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  88. package/src/aicore/utils/createresizebutton.js +1 -1
  89. package/src/aicore/utils/documentrange.js +1 -1
  90. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  91. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  92. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  93. package/src/aicore/utils/htmlparser.js +1 -1
  94. package/src/aicore/utils/htmlstreamer.js +1 -1
  95. package/src/aieditorintegration/aieditorintegration.js +1 -1
  96. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  97. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  98. package/src/aiquickactions/aiquickactions.js +1 -1
  99. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  100. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  101. package/src/aiquickactions/aiquickactionsui.js +1 -1
  102. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  103. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  104. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  105. package/src/aireviewmode/aireviewmode.js +1 -1
  106. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  107. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  108. package/src/aireviewmode/aireviewmodeui.js +1 -1
  109. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  110. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  111. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  112. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  113. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  114. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  115. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  116. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  117. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  118. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  119. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  120. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  121. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  122. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  123. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  124. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  125. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  126. package/src/aitabs/aitabs.js +1 -1
  127. package/src/aitabs/tabs/aitabsview.js +1 -1
  128. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  129. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3c4658,_0x37284c){const _0x204ca4=_0x4bae,_0x74d456=_0x3c4658();while(!![]){try{const _0x226594=-parseInt(_0x204ca4(0xb2))/0x1*(-parseInt(_0x204ca4(0xbd))/0x2)+-parseInt(_0x204ca4(0xb8))/0x3*(parseInt(_0x204ca4(0xa6))/0x4)+-parseInt(_0x204ca4(0xac))/0x5+-parseInt(_0x204ca4(0xab))/0x6*(-parseInt(_0x204ca4(0xc0))/0x7)+-parseInt(_0x204ca4(0xa8))/0x8*(parseInt(_0x204ca4(0xaf))/0x9)+-parseInt(_0x204ca4(0x9e))/0xa+parseInt(_0x204ca4(0xa2))/0xb;if(_0x226594===_0x37284c)break;else _0x74d456['push'](_0x74d456['shift']());}catch(_0x38a8cc){_0x74d456['push'](_0x74d456['shift']());}}}(_0x6d08,0x57ea9));function _0x4bae(_0x356b72,_0x881f8){const _0x6d089c=_0x6d08();return _0x4bae=function(_0x4baeb3,_0x47ad0b){_0x4baeb3=_0x4baeb3-0x9a;let _0x44b10e=_0x6d089c[_0x4baeb3];return _0x44b10e;},_0x4bae(_0x356b72,_0x881f8);}import{transformOperationSets as _0xbb68ac}from'ckeditor5/src/engine.js';import{append as _0x278b96,findByAttribute as _0x26649e,prependChild as _0xdfb89e,removeElement as _0x4848bc,serialize as _0x1c8e3b}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x1678a5,interaction:_0x3da546,reply:_0x3879dd,groups:_0x5a68c8,transform:_0x3aa162,documentCompare:_0x5c0646,documentCompareOptions:_0x501eb8}){const _0x43e072=_0x4bae,_0x51049d=_0x3da546[_0x43e072(0xa4)]();if(!_0x51049d)return[];const _0x564b84=_0x51049d[_0x43e072(0xae)],_0x425b51=_0x51049d[_0x43e072(0xa5)],_0x304191=_0x3879dd[_0x43e072(0xa1)][_0x43e072(0xa0)](!0x0);for(const {changes:_0x8a64b2}of _0x5a68c8){const _0xdf0628=_0x8a64b2[_0x43e072(0xbb)](_0x1f98da=>_0x43e072(0x9d)!=_0x1f98da[_0x43e072(0xbe)])[_0x43e072(0xa7)](_0x3ae33a=>_0x26649e(_0x43e072(0xbf),_0x3ae33a['id'],_0x304191)),_0xcbe03c=_0x8a64b2[_0x43e072(0xbb)](_0x13c66c=>_0x43e072(0xb0)!=_0x13c66c[_0x43e072(0xbe)])[_0x43e072(0xa7)](_0x3132bc=>_0x3132bc[_0x43e072(0x9b)][_0x43e072(0xa0)](!0x0));let _0xcdfbc4=null;if(_0xdf0628[_0x43e072(0xb9)]){_0xcdfbc4=_0xdf0628[0x0][_0x43e072(0xb1)];for(let _0x4b0cf9=0x0;_0x4b0cf9<_0xdf0628[_0x43e072(0xb9)];_0x4b0cf9++)_0x4848bc(_0xdf0628[_0x4b0cf9]);}if(_0xcbe03c[_0x43e072(0xb9)]){_0xcdfbc4||(_0x8a64b2[0x0][_0x43e072(0xa9)]?_0xcdfbc4=_0x26649e(_0x43e072(0xbf),_0x8a64b2[0x0][_0x43e072(0xa9)],_0x304191):(_0xcdfbc4=_0xcbe03c[_0x43e072(0x9a)](),_0xdfb89e(_0x304191,_0xcdfbc4)));for(let _0x1b6c77=0x0;_0x1b6c77<_0xcbe03c[_0x43e072(0xb9)];_0x1b6c77++)_0x278b96(_0xcdfbc4,_0xcbe03c[_0x1b6c77]),_0xcdfbc4=_0xcbe03c[_0x1b6c77];}}const _0xe627bf=_0x1c8e3b(_0x304191),_0x23650f=_0x5c0646[_0x43e072(0xb4)](_0x564b84,_0xe627bf,_0x501eb8)[_0x43e072(0xb7)]();if(_0x3aa162){const _0x12ac43=_0x1678a5[_0x43e072(0xb5)][_0x43e072(0xbc)][_0x43e072(0xba)][_0x43e072(0xb7)](_0x425b51),_0x638a9c={'document':_0x1678a5[_0x43e072(0xb5)][_0x43e072(0xbc)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0xbb68ac(_0x23650f,_0x12ac43,_0x638a9c)[_0x43e072(0xa3)];}return _0x23650f;}export function fixMarkerOperationOldRange(_0x30a2c9,_0xb2ae1c){const _0xdc097f=_0x4bae;if(_0xdc097f(0x9c)!=_0xb2ae1c[_0xdc097f(0xbe)])return;const _0x581cf2=_0x30a2c9[_0xdc097f(0xb5)][_0xdc097f(0xb6)][_0xdc097f(0xb3)](_0xb2ae1c[_0xdc097f(0xaa)]);_0x581cf2&&(_0xb2ae1c[_0xdc097f(0xad)]=_0x581cf2[_0xdc097f(0x9f)]());}function _0x6d08(){const _0x35991f=['history','filter','document','84cOlRvW','type','data-id','27657FLsuug','shift','node','marker','new','5837940RrgTva','getRange','cloneNode','documentContextContent','16012612nFVXJO','operationsA','getDocumentContext','version','428lSWqUD','map','8XZyJjd','anchorId','name','264jkABaG','3491055MQoOOt','oldRange','content','5264829TpWICm','removed','previousSibling','14923wUePdW','get','getDiff','model','markers','getOperations','819QKrdLD','length'];_0x6d08=function(){return _0x35991f;};return _0x6d08();}
23
+ (function(_0xf4e24b,_0x361b20){const _0x2b9460=_0x42bc,_0x288afb=_0xf4e24b();while(!![]){try{const _0x721a9c=-parseInt(_0x2b9460(0x77))/0x1+parseInt(_0x2b9460(0x8b))/0x2+parseInt(_0x2b9460(0x94))/0x3*(parseInt(_0x2b9460(0x7d))/0x4)+-parseInt(_0x2b9460(0x8a))/0x5*(parseInt(_0x2b9460(0x74))/0x6)+parseInt(_0x2b9460(0x8e))/0x7*(parseInt(_0x2b9460(0x90))/0x8)+parseInt(_0x2b9460(0x99))/0x9*(-parseInt(_0x2b9460(0x8c))/0xa)+parseInt(_0x2b9460(0x7a))/0xb*(parseInt(_0x2b9460(0x92))/0xc);if(_0x721a9c===_0x361b20)break;else _0x288afb['push'](_0x288afb['shift']());}catch(_0x1b4c2c){_0x288afb['push'](_0x288afb['shift']());}}}(_0x2d16,0xce7f8));function _0x42bc(_0x3d2627,_0xcf782c){const _0x2d1620=_0x2d16();return _0x42bc=function(_0x42bc68,_0x5af2f1){_0x42bc68=_0x42bc68-0x72;let _0x35889e=_0x2d1620[_0x42bc68];return _0x35889e;},_0x42bc(_0x3d2627,_0xcf782c);}function _0x2d16(){const _0x295f3e=['getDocumentContext','779449IkuiTN','cloneNode','anchorId','5956ywUGYT','getDiff','node','history','content','version','filter','marker','document','markers','model','oldRange','get','3562015ljjsIb','562882MpBqVU','180uByNTg','getOperations','11350199xONYHZ','documentContextContent','8rLjYLp','map','48fOThzq','shift','186ubRyVJ','operationsA','name','data-id','length','41553dNZVDs','removed','getRange','6euSpnJ','previousSibling','type','637327JPRFGk','new'];_0x2d16=function(){return _0x295f3e;};return _0x2d16();}import{transformOperationSets as _0x4998c2}from'ckeditor5/src/engine.js';import{append as _0xc7a6e7,findByAttribute as _0x41f936,prependChild as _0x1f5e54,removeElement as _0x4ff632,serialize as _0x2418e8}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x28741f,interaction:_0x528457,reply:_0x169b59,groups:_0x13dd56,transform:_0x1fad6d,documentCompare:_0x2995ef,documentCompareOptions:_0x2288d1}){const _0x263776=_0x42bc,_0x1dc6e3=_0x528457[_0x263776(0x79)]();if(!_0x1dc6e3)return[];const _0xc5c8bd=_0x1dc6e3[_0x263776(0x81)],_0x475e61=_0x1dc6e3[_0x263776(0x82)],_0x51fc95=_0x169b59[_0x263776(0x8f)][_0x263776(0x7b)](!0x0);for(const {changes:_0x2ec2cb}of _0x13dd56){const _0x4f023d=_0x2ec2cb[_0x263776(0x83)](_0x29c659=>_0x263776(0x78)!=_0x29c659[_0x263776(0x76)])[_0x263776(0x91)](_0x1c86cb=>_0x41f936(_0x263776(0x97),_0x1c86cb['id'],_0x51fc95)),_0x3004b4=_0x2ec2cb[_0x263776(0x83)](_0x3a5f4d=>_0x263776(0x72)!=_0x3a5f4d[_0x263776(0x76)])[_0x263776(0x91)](_0x4e1e00=>_0x4e1e00[_0x263776(0x7f)][_0x263776(0x7b)](!0x0));let _0x2738ff=null;if(_0x4f023d[_0x263776(0x98)]){_0x2738ff=_0x4f023d[0x0][_0x263776(0x75)];for(let _0x4492d2=0x0;_0x4492d2<_0x4f023d[_0x263776(0x98)];_0x4492d2++)_0x4ff632(_0x4f023d[_0x4492d2]);}if(_0x3004b4[_0x263776(0x98)]){_0x2738ff||(_0x2ec2cb[0x0][_0x263776(0x7c)]?_0x2738ff=_0x41f936(_0x263776(0x97),_0x2ec2cb[0x0][_0x263776(0x7c)],_0x51fc95):(_0x2738ff=_0x3004b4[_0x263776(0x93)](),_0x1f5e54(_0x51fc95,_0x2738ff)));for(let _0x238b12=0x0;_0x238b12<_0x3004b4[_0x263776(0x98)];_0x238b12++)_0xc7a6e7(_0x2738ff,_0x3004b4[_0x238b12]),_0x2738ff=_0x3004b4[_0x238b12];}}const _0xb726cc=_0x2418e8(_0x51fc95),_0x1c4a5d=_0x2995ef[_0x263776(0x7e)](_0xc5c8bd,_0xb726cc,_0x2288d1)[_0x263776(0x8d)]();if(_0x1fad6d){const _0x1a8cad=_0x28741f[_0x263776(0x87)][_0x263776(0x85)][_0x263776(0x80)][_0x263776(0x8d)](_0x475e61),_0x4155e7={'document':_0x28741f[_0x263776(0x87)][_0x263776(0x85)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x4998c2(_0x1c4a5d,_0x1a8cad,_0x4155e7)[_0x263776(0x95)];}return _0x1c4a5d;}export function fixMarkerOperationOldRange(_0x26855d,_0x17beeb){const _0x52dd55=_0x42bc;if(_0x52dd55(0x84)!=_0x17beeb[_0x52dd55(0x76)])return;const _0x4545a7=_0x26855d[_0x52dd55(0x87)][_0x52dd55(0x86)][_0x52dd55(0x89)](_0x17beeb[_0x52dd55(0x96)]);_0x4545a7&&(_0x17beeb[_0x52dd55(0x88)]=_0x4545a7[_0x52dd55(0x73)]());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x379416,_0x2a938a){const _0x5a7af2=_0x31ff,_0x53790e=_0x379416();while(!![]){try{const _0x540101=parseInt(_0x5a7af2(0x123))/0x1+parseInt(_0x5a7af2(0x106))/0x2+-parseInt(_0x5a7af2(0x12c))/0x3*(-parseInt(_0x5a7af2(0xfe))/0x4)+-parseInt(_0x5a7af2(0xcd))/0x5*(-parseInt(_0x5a7af2(0x125))/0x6)+-parseInt(_0x5a7af2(0xde))/0x7*(parseInt(_0x5a7af2(0xc9))/0x8)+parseInt(_0x5a7af2(0xfc))/0x9*(parseInt(_0x5a7af2(0xf7))/0xa)+-parseInt(_0x5a7af2(0xd5))/0xb;if(_0x540101===_0x2a938a)break;else _0x53790e['push'](_0x53790e['shift']());}catch(_0x3bccd3){_0x53790e['push'](_0x53790e['shift']());}}}(_0x2cc4,0x1bafb));import{findOne as _0xc807df,getAttribute as _0x29ad94,Document as _0x8960cc,serialize as _0x1806fe,parse as _0x2dd9ca}from'./htmlparser.js';import{fixElementSuggestionRange as _0x2ed0e7}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x18e5cd,_DetachOperation as _0x27fd5f,_removeFromModelNodeList as _0x3e2398,_insertIntoModelNodeList as _0x407aa1}from'ckeditor5/src/engine.js';import{uid as _0x2a77d5}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x36234c,changeGroups:_0x3ae8f0,documentContextContent:_0x13e7a5,showDiff:_0x15b3c7,trimUnchanged:_0x537dd3=!0x0}){const _0x2ea768=_0x31ff;return _0x3ae8f0[_0x2ea768(0x108)](_0x3e99cc=>{const _0x420160=_0x2ea768,_0x50a0fc=new _0x8960cc([]),_0x77e0e4=new _0x8960cc([]);for(const _0x2794f3 of _0x3e99cc[_0x420160(0x132)])if(_0x15b3c7&&_0x420160(0xd0)==_0x2794f3[_0x420160(0x131)]||_0x77e0e4[_0x420160(0xc0)][_0x420160(0xbf)](_0x2794f3[_0x420160(0x12f)][_0x420160(0xeb)](!0x0)),_0x420160(0xff)!=_0x2794f3[_0x420160(0x131)]&&(_0x15b3c7||_0x420160(0xd0)!=_0x2794f3[_0x420160(0x131)])){const _0x4a04b9=_0xc807df(_0x296fa5=>_0x29ad94(_0x296fa5,_0x420160(0xe6))==_0x2794f3['id'],_0x13e7a5,!0x0);_0x4a04b9&&_0x50a0fc[_0x420160(0xc0)][_0x420160(0xbf)](_0x4a04b9[_0x420160(0xeb)](!0x0));}const {content:_0xbd480d,hasChanges:_0x17343f}=function(_0x27e70c,_0xe0bc7d,_0x4f7a86,_0x28ecc8,_0x62f5d4=!0x0){const _0x80d8ca=_0x420160,_0x1c329d=_0x27e70c[_0x80d8ca(0xf5)][_0x80d8ca(0xc6)](_0x80d8ca(0xfd)),_0x12a71d=_0x1806fe(_0xe0bc7d),_0x4c8c97=_0x1806fe(_0x4f7a86),_0x10662d=_0x27e70c[_0x80d8ca(0xe0)][_0x80d8ca(0xd9)](_0x12a71d,_0x80d8ca(0xd3)),_0x48fce5=_0x27e70c[_0x80d8ca(0x11a)][_0x80d8ca(0x119)](_0x10662d,0x0),_0x45979f=_0x1c329d[_0x80d8ca(0xe8)](_0x12a71d,_0x4c8c97,{'anchor':_0x48fce5,'markDeletions':_0x28ecc8}),_0x1f95ac=_0x45979f[_0x80d8ca(0x12b)]();if(0x0==_0x1f95ac[_0x80d8ca(0xe7)])return{'content':_0xe0bc7d[_0x80d8ca(0xeb)](!0x0),'hasChanges':!0x1};_0x28ecc8?function(_0x2db934,_0x143a18,_0xbe6b61){const _0x36f7c7=_0x80d8ca;if(0x0==_0x2db934[_0x36f7c7(0xe7)])return;const _0x1696e7=_0xbe6b61[_0x36f7c7(0xf5)][_0x36f7c7(0xc6)](_0x36f7c7(0xfd)),_0x263bd2=_0xbe6b61[_0x36f7c7(0xf5)][_0x36f7c7(0xc6)](_0x36f7c7(0x109));_0xbe6b61[_0x36f7c7(0x11a)][_0x36f7c7(0xc3)](_0x66e10f=>{const _0x283dce=_0x36f7c7,_0x45fc26=new Set();for(let _0x125677=0x0;_0x125677<_0x2db934[_0x283dce(0xe7)];_0x125677++){const _0x48861f=_0x2db934[_0x125677];if(_0x48861f[_0x283dce(0x117)]=null,_0x48861f[_0x283dce(0x10e)]=!0x1,_0x1696e7[_0x283dce(0x107)](_0x48861f)){const _0x3d5611=_0x2ed0e7(_0x48861f[_0x283dce(0x129)],_0xbe6b61[_0x283dce(0x11a)]),_0x3dd017=_0x283dce(0xf9)+_0x2a77d5()+_0x283dce(0x10c);_0x143a18[_0x283dce(0xc8)][_0x283dce(0xdf)](_0x3dd017,_0x3d5611);}else switch(_0x48861f[_0x283dce(0x131)]){case _0x283dce(0x12e):{if(_0x48861f[_0x283dce(0xd2)]==_0x48861f[_0x283dce(0xc4)])break;_0x66e10f[_0x283dce(0x116)][_0x283dce(0xdc)](_0x48861f),_0xbe6b61[_0x283dce(0x11a)][_0x283dce(0x101)](_0x48861f);const _0x5c7191=_0x283dce(0xd8),_0x54ed5f=_0x48861f[_0x283dce(0xd7)],_0x69c9c=_0xbe6b61[_0x283dce(0x11a)][_0x283dce(0x102)](_0x54ed5f,_0xbe6b61[_0x283dce(0x11a)][_0x283dce(0x119)](_0x54ed5f[_0x283dce(0x111)],_0x283dce(0xc2))),_0x24bb82=_0x283dce(0xf1)+_0x5c7191+':'+_0x2a77d5()+_0x283dce(0x10c);_0x143a18[_0x283dce(0xc8)][_0x283dce(0xdf)](_0x24bb82,_0x69c9c);break;}case _0x283dce(0xc5):case _0x283dce(0xc7):case _0x283dce(0xed):{if(_0x48861f[_0x283dce(0xfa)]==_0x48861f[_0x283dce(0x120)])break;_0x66e10f[_0x283dce(0x116)][_0x283dce(0xdc)](_0x48861f),_0xbe6b61[_0x283dce(0x11a)][_0x283dce(0x101)](_0x48861f);const _0x428966=_0x48861f[_0x283dce(0xef)];if(!_0x263bd2[_0x283dce(0xda)](_0x428966))break;const _0x3152c0=_0x2ed0e7(_0x48861f[_0x283dce(0x122)],_0xbe6b61[_0x283dce(0x11a)]),_0xb9aab7=_0x283dce(0xf1)+_0x428966+':'+_0x2a77d5()+_0x283dce(0x10c);_0x143a18[_0x283dce(0xc8)][_0x283dce(0xdf)](_0xb9aab7,_0x3152c0);break;}case _0x283dce(0xea):{_0x66e10f[_0x283dce(0x116)][_0x283dce(0xdc)](_0x48861f),_0xbe6b61[_0x283dce(0x11a)][_0x283dce(0x101)](_0x48861f);if(_0x2db934[_0x125677+0x1]&&_0x283dce(0x104)==_0x2db934[_0x125677+0x1][_0x283dce(0x131)]){ro(_0x143a18,_0x48861f);break;}const _0x11d2ce=_0x48861f[_0x283dce(0xd7)],_0x26be7c=_0x48861f[_0x283dce(0x10f)],_0x4a5d96=_0x2ed0e7(_0xbe6b61[_0x283dce(0x11a)][_0x283dce(0x102)](_0x11d2ce,_0x11d2ce[_0x283dce(0xf2)](_0x26be7c)),_0xbe6b61[_0x283dce(0x11a)]),_0x1985f8=_0x283dce(0xcb)+_0x2a77d5()+_0x283dce(0x10c);_0x143a18[_0x283dce(0xc8)][_0x283dce(0xdf)](_0x1985f8,_0x4a5d96);break;}case _0x283dce(0x11e):{_0x66e10f[_0x283dce(0x116)][_0x283dce(0xdc)](_0x48861f),_0xbe6b61[_0x283dce(0x11a)][_0x283dce(0x101)](_0x48861f);const _0x38d3e1=_0x48861f[_0x283dce(0xd1)],_0x219d0b=_0x48861f[_0x283dce(0x11f)],_0x4d35fc=_0xbe6b61[_0x283dce(0x11a)][_0x283dce(0x102)](_0x38d3e1,_0x219d0b),_0x9ecc5d=_0x283dce(0xcb)+_0x2a77d5()+_0x283dce(0x10c);_0x143a18[_0x283dce(0xc8)][_0x283dce(0xdf)](_0x9ecc5d,_0x4d35fc);break;}case _0x283dce(0x104):{_0x66e10f[_0x283dce(0x116)][_0x283dce(0xdc)](_0x48861f),_0xbe6b61[_0x283dce(0x11a)][_0x283dce(0x101)](_0x48861f),_0x2db934[_0x125677-0x1]&&_0x283dce(0xea)==_0x2db934[_0x125677-0x1][_0x283dce(0x131)]&&ro(_0x143a18,_0x48861f);const _0x47c5e1=_0x48861f[_0x283dce(0x121)](),_0x39bef4=_0x48861f[_0x283dce(0x10f)];for(let _0x525990=0x0;_0x525990<_0x39bef4;_0x525990++){const _0x202a51=_0x47c5e1[_0x283dce(0xf2)](_0x525990)[_0x283dce(0x111)];_0x45fc26[_0x283dce(0xd4)](_0x202a51);}break;}case _0x283dce(0x126):{const _0x2f4f44=_0x48861f[_0x283dce(0x124)],_0x1e3768=_0x48861f[_0x283dce(0x10f)],_0x270df8=new _0x27fd5f(_0x2f4f44,_0x1e3768);_0x66e10f[_0x283dce(0x116)][_0x283dce(0xdc)](_0x270df8),_0xbe6b61[_0x283dce(0x11a)][_0x283dce(0x101)](_0x270df8);break;}}}for(const _0x165a53 of _0x45fc26){const _0x175f4f=_0xbe6b61[_0x283dce(0x11a)][_0x283dce(0xf8)](_0x165a53),_0x26a2a7=_0x283dce(0x105)+_0x2a77d5()+_0x283dce(0x10c);_0x143a18[_0x283dce(0xc8)][_0x283dce(0xdf)](_0x26a2a7,_0x2ed0e7(_0x175f4f,_0xbe6b61[_0x283dce(0x11a)]));}});}(_0x1f95ac,_0x10662d,_0x27e70c):_0x27e70c[_0x80d8ca(0x11a)][_0x80d8ca(0xc3)](_0x2b4d55=>{const _0x686ad3=_0x80d8ca;for(const _0x2916cf of _0x1f95ac)if(_0x686ad3(0x126)==_0x2916cf[_0x686ad3(0x131)]){const _0x1d8212=_0x2916cf[_0x686ad3(0x124)],_0x30257d=_0x2916cf[_0x686ad3(0x10f)],_0x4e5bc6=new _0x27fd5f(_0x1d8212,_0x30257d);_0x2b4d55[_0x686ad3(0x116)][_0x686ad3(0xdc)](_0x4e5bc6),_0x27e70c[_0x686ad3(0x11a)][_0x686ad3(0x101)](_0x4e5bc6);}else{if(_0x686ad3(0xee)==_0x2916cf[_0x686ad3(0x131)]){const _0x5b361a=_0x2916cf[_0x686ad3(0xf4)],_0x1c8bcc=_0x2916cf[_0x686ad3(0x129)];_0x10662d[_0x686ad3(0xc8)][_0x686ad3(0xdf)](_0x5b361a,_0x1c8bcc);}else _0x2916cf[_0x686ad3(0x117)]=null,_0x2916cf[_0x686ad3(0x10e)]=!0x1,_0x2b4d55[_0x686ad3(0x116)][_0x686ad3(0xdc)](_0x2916cf),_0x27e70c[_0x686ad3(0x11a)][_0x686ad3(0x101)](_0x2916cf);}});if(_0x62f5d4){const _0x5a3a48=getMinimalSelection(_0x27e70c,_0x1f95ac,_0x10662d);expandSelectionWithContext(_0x27e70c[_0x80d8ca(0x11a)],_0x5a3a48),function(_0x55a466,_0x89caa1){const _0x111667=_0x80d8ca,_0x25a195=_0x89caa1[_0x111667(0xbd)]()[_0x111667(0xca)];let _0x2164ce=_0x89caa1[_0x111667(0xbd)]()[_0x111667(0xc2)];const _0x32d281=_0x25a195[_0x111667(0x112)];(_0x2164ce[_0x111667(0x114)]||_0x2164ce[_0x111667(0x111)]&&_0x2164ce[_0x111667(0x111)]['is'](_0x111667(0x10d)))&&(_0x407aa1(_0x2164ce,_0x111667(0x10a)),_0x2164ce=_0x2164ce[_0x111667(0xf2)](0x3)),(_0x25a195[_0x111667(0x114)]||_0x25a195[_0x111667(0x11c)]&&_0x25a195[_0x111667(0x11c)]['is'](_0x111667(0x10d)))&&(_0x407aa1(_0x25a195,_0x111667(0x10a)),function(_0x5317ac,_0x4159c7,_0x38b547){const _0x3d8f1f=_0x111667;for(let [_0x4f78fa,_0x243b23]of _0x5317ac[_0x3d8f1f(0xc8)]){const _0x231308=_0x243b23[_0x3d8f1f(0x127)](_0x4159c7,_0x38b547,!0x1);_0x243b23=_0x231308[0x0],_0x5317ac[_0x3d8f1f(0xc8)][_0x3d8f1f(0xdf)](_0x4f78fa,_0x243b23);}}(_0x32d281,_0x25a195,0x3),_0x25a195[_0x111667(0xd6)]==_0x2164ce[_0x111667(0xd6)]&&(_0x2164ce=_0x2164ce[_0x111667(0xf2)](0x3)));const _0x4ff215=_0x55a466[_0x111667(0x102)](_0x55a466[_0x111667(0x119)](_0x32d281,0x0),_0x25a195),_0x392a8b=_0x55a466[_0x111667(0x102)](_0x2164ce,_0x55a466[_0x111667(0x119)](_0x32d281,_0x111667(0xc2))),_0x1dae79=[..._0x4ff215[_0x111667(0xe1)](),..._0x392a8b[_0x111667(0xe1)]()];_0x1dae79[_0x111667(0x100)]();for(const _0x57d107 of _0x1dae79)_0x3e2398(_0x57d107),_transformMarkersByDeletion(_0x32d281,_0x57d107);}(_0x27e70c[_0x80d8ca(0x11a)],_0x5a3a48);}const _0x190cb6=_0x27e70c[_0x80d8ca(0xe0)][_0x80d8ca(0xdb)](_0x10662d,{'showSuggestionHighlights':!0x0});return{'content':_0x2dd9ca(_0x190cb6),'hasChanges':!0x0};}(_0x36234c,_0x50a0fc,_0x77e0e4,_0x15b3c7,_0x537dd3);return{'type':_0x3e99cc[_0x420160(0x132)][0x0][_0x420160(0x131)],'index':_0x3e99cc[_0x420160(0x12d)],'content':_0xbd480d,'hasChanges':_0x17343f};});}function ro(_0x2bd4a4,_0x10eb3f){const _0x2d1000=_0x31ff;for(const [_0x2dec4a,_0x53addb]of _0x2bd4a4[_0x2d1000(0xc8)]){const _0x997c63=_0x18e5cd[_0x2d1000(0xce)](_0x53addb[_0x2d1000(0x10b)](_0x10eb3f));_0x2bd4a4[_0x2d1000(0xc8)][_0x2d1000(0xdf)](_0x2dec4a,_0x997c63);}}export function getMinimalSelection(_0x1c63ef,_0x51d316,_0x2a6fd0){const _0x3f4559=_0x31ff,_0x3c027d=_0x1c63ef[_0x3f4559(0xf5)][_0x3f4559(0xc6)](_0x3f4559(0xfd));let _0xf2059e=_0x1c63ef[_0x3f4559(0x11a)][_0x3f4559(0x119)](_0x2a6fd0,Number[_0x3f4559(0x128)]),_0x2a47d4=_0x1c63ef[_0x3f4559(0x11a)][_0x3f4559(0x119)](_0x2a6fd0,0x0);for(const _0x2ad390 of _0x51d316){let _0x120764,_0x46ad3a;if(_0x3c027d[_0x3f4559(0x107)](_0x2ad390))_0x120764=_0x2ad390[_0x3f4559(0x129)][_0x3f4559(0xca)],_0x46ad3a=_0x2ad390[_0x3f4559(0x129)][_0x3f4559(0xc2)];else switch(_0xf2059e=_0xf2059e[_0x3f4559(0x10b)](_0x2ad390),_0x2a47d4=_0x2a47d4[_0x3f4559(0x10b)](_0x2ad390),_0x2ad390[_0x3f4559(0x131)]){case _0x3f4559(0x12e):_0x120764=_0x2ad390[_0x3f4559(0xd7)],_0x46ad3a=_0x120764[_0x3f4559(0xf2)](0x1);break;case _0x3f4559(0xc5):case _0x3f4559(0xc7):case _0x3f4559(0xed):_0x120764=_0x2ad390[_0x3f4559(0x122)][_0x3f4559(0xca)],_0x46ad3a=_0x2ad390[_0x3f4559(0x122)][_0x3f4559(0xc2)];break;case _0x3f4559(0xea):_0x120764=_0x2ad390[_0x3f4559(0xd7)],_0x46ad3a=_0x120764[_0x3f4559(0xf2)](_0x2ad390[_0x3f4559(0x10f)]);break;case _0x3f4559(0x11e):_0x120764=_0x2ad390[_0x3f4559(0xd1)],_0x46ad3a=_0x2ad390[_0x3f4559(0x11f)];break;case _0x3f4559(0xe9):{const _0x44d07c=_0x2ad390[_0x3f4559(0xf0)][_0x3f4559(0xcc)][_0x3f4559(0xe4)](0x0,-0x1);_0x120764=_0x1c63ef[_0x3f4559(0x11a)][_0x3f4559(0x115)](_0x2a6fd0,_0x44d07c),_0x46ad3a=_0x120764[_0x3f4559(0xf2)](0x1);break;}case _0x3f4559(0x126):{const _0x4e5c99=_0x2ad390[_0x3f4559(0x10f)],_0x2811c9=_0x2ad390[_0x3f4559(0x124)][_0x3f4559(0x127)](_0x2ad390[_0x3f4559(0xf0)],_0x4e5c99),_0x5137ea=_0x2ad390[_0x3f4559(0x121)]();_0x3f4559(0x126)==_0x2ad390[_0x3f4559(0x131)]?(_0x120764=_0x2811c9,_0x46ad3a=_0x2811c9):(_0x120764=_0x5137ea,_0x46ad3a=_0x5137ea[_0x3f4559(0xf2)](_0x4e5c99));break;}}_0x120764&&_0x120764[_0x3f4559(0xfb)](_0xf2059e)&&(_0xf2059e=_0x120764[_0x3f4559(0xf3)](),_0xf2059e[_0x3f4559(0x110)]=_0x3f4559(0x11d)),_0x46ad3a&&_0x46ad3a[_0x3f4559(0x103)](_0x2a47d4)&&(_0x2a47d4=_0x46ad3a[_0x3f4559(0xf3)](),_0x2a47d4[_0x3f4559(0x110)]=_0x3f4559(0x11d));}return _0x1c63ef[_0x3f4559(0x11a)][_0x3f4559(0x118)](_0x1c63ef[_0x3f4559(0x11a)][_0x3f4559(0x102)](_0xf2059e,_0x2a47d4));}export function expandSelectionWithContext(_0x2714c5,_0x422854){const _0x4ca44f=_0x31ff;so(_0x2714c5,_0x422854,_0x4ca44f(0xbe));const _0x198fdf=_0x422854[_0x4ca44f(0xbd)]();_0x422854[_0x4ca44f(0xcf)]([]),_0x422854[_0x4ca44f(0xcf)](_0x198fdf,{'backward':!0x0}),so(_0x2714c5,_0x422854,_0x4ca44f(0x12a));}function so(_0x269a66,_0x64b62c,_0x2087e9){const _0x55160d=_0x31ff;let _0x65981f=0x14;for(;_0x65981f;){_0x269a66[_0x55160d(0x113)](_0x64b62c,{'unit':_0x55160d(0xdd),'direction':_0x2087e9}),_0x65981f--;const _0x123f16=_0x64b62c[_0x55160d(0x11b)][_0x55160d(0xbe)==_0x2087e9?_0x55160d(0x11c):_0x55160d(0x111)];if(_0x123f16&&_0x123f16['is'](_0x55160d(0xe3))&&_0x269a66[_0x55160d(0xe5)][_0x55160d(0x130)](_0x123f16)&&_0x269a66[_0x55160d(0xe5)][_0x55160d(0xf6)](_0x123f16))break;}}function _0x31ff(_0x4bb23c,_0x3118d0){const _0x2cc43e=_0x2cc4();return _0x31ff=function(_0x31ff53,_0x1e5c98){_0x31ff53=_0x31ff53-0xbd;let _0xa53af6=_0x2cc43e[_0x31ff53];return _0xa53af6;},_0x31ff(_0x4bb23c,_0x3118d0);}function _0x2cc4(){const _0x40146c=['split','moveTargetPosition','newValue','getMovedRangeStart','range','7362vuqDfS','sourcePosition','390TnQUgQ','remove','_getTransformedByInsertion','POSITIVE_INFINITY','newRange','backward','getOperations','3CJDReI','index','rename','node','isBlock','type','changes','getFirstRange','forward','push','children','delete','end','change','newName','addAttribute','get','removeAttribute','markers','40TolDxz','start','suggestion:insertion:','path','13685CkzNpg','_createFromRanges','setTo','removed','splitPosition','oldName','$root','add','1582845hBXAIr','parent','position','$elementName','parse','isRegisteredAttribute','stringify','addOperation','word','97153IHSflm','set','data','getMinimalFlatRanges','offset','element','slice','schema','data-id','length','getDiff','merge','insert','cloneNode','_getTransformedByDeletion','changeAttribute','marker','key','targetPosition','suggestion:attribute:','getShiftedBy','clone','name','plugins','isObject','10mohkcf','createRangeOn','suggestion:deletion:','oldValue','isBefore','302211ZDtXDL','DocumentCompare','249316zZiwFs','new','reverse','applyOperation','createRange','isAfter','move','suggestion:formatBlock:$fakeWrap:','91036WNrmYE','isMarkedRemoveOperation','map','SuggestionsConversion','...','getTransformedByOperation',':$aiSuggestion','$text','isDocumentOperation','howMany','stickiness','nodeAfter','root','modifySelection','textNode','createPositionFromPath','batch','baseVersion','createSelection','createPositionAt','model','focus','nodeBefore','toNone'];_0x2cc4=function(){return _0x40146c;};return _0x2cc4();}export function _transformMarkersByDeletion(_0x59d016,_0x1faccf){const _0x1c50fe=_0x31ff;for(const [_0x9d1497,_0x5de943]of _0x59d016[_0x1c50fe(0xc8)]){const _0x10e0ae=_0x5de943[_0x1c50fe(0xec)](_0x1faccf[_0x1c50fe(0xca)],_0x1faccf[_0x1c50fe(0xc2)][_0x1c50fe(0xe2)]-_0x1faccf[_0x1c50fe(0xca)][_0x1c50fe(0xe2)]);null!=_0x10e0ae?_0x59d016[_0x1c50fe(0xc8)][_0x1c50fe(0xdf)](_0x9d1497,_0x10e0ae):_0x59d016[_0x1c50fe(0xc8)][_0x1c50fe(0xc1)](_0x9d1497);}}
23
+ function _0x5d79(){const _0x47f090=['54KnOzzL','path','word','getOperations','start','split','key','createSelection','schema','index','sourcePosition','node','removed','suggestion:attribute:','model','isDocumentOperation','clone','getMovedRangeStart','suggestion:deletion:','getShiftedBy','createPositionFromPath','insert','changes','getDiff','remove','isBlock','push','10767348vwefoQ','end','change','move','251997VfKHlz','changeAttribute','nodeAfter','toNone','parent','cloneNode','splitPosition','element','oldName','setTo','suggestion:formatBlock:$fakeWrap:','suggestion:insertion:','isMarkedRemoveOperation','root','addAttribute','applyOperation','createRangeOn','get','3425aScLJG','range','newValue','$elementName','POSITIVE_INFINITY','type','parse','length','2003344NXLUoQ','set','1wlzDYW','...','isObject','baseVersion','231OOFgQO','SuggestionsConversion','backward','forward','newRange','$root','batch','map',':$aiSuggestion','data-id','add','DocumentCompare','1562858AJGQUs','name','newName','getFirstRange','position','_getTransformedByInsertion','nodeBefore','getTransformedByOperation','data','focus','11sZGfPr','addOperation','offset','children','moveTargetPosition','stickiness','2922EzXpqK','new','$text','_getTransformedByDeletion','removeAttribute','oldValue','stringify','reverse','isRegisteredAttribute','merge','createRange','973870Cmomya','targetPosition','slice','marker','_createFromRanges','delete','plugins','472lfCUAu','rename','howMany','getMinimalFlatRanges','markers','isBefore','createPositionAt','textNode','isAfter','modifySelection'];_0x5d79=function(){return _0x47f090;};return _0x5d79();}(function(_0x3ab403,_0x345830){const _0x1b06cc=_0x297f,_0x2fed64=_0x3ab403();while(!![]){try{const _0x42a226=-parseInt(_0x1b06cc(0x166))/0x1*(parseInt(_0x1b06cc(0x176))/0x2)+parseInt(_0x1b06cc(0x14a))/0x3+parseInt(_0x1b06cc(0x121))/0x4*(-parseInt(_0x1b06cc(0x15c))/0x5)+parseInt(_0x1b06cc(0x186))/0x6*(-parseInt(_0x1b06cc(0x16a))/0x7)+-parseInt(_0x1b06cc(0x164))/0x8+-parseInt(_0x1b06cc(0x12b))/0x9*(-parseInt(_0x1b06cc(0x191))/0xa)+-parseInt(_0x1b06cc(0x180))/0xb*(-parseInt(_0x1b06cc(0x146))/0xc);if(_0x42a226===_0x345830)break;else _0x2fed64['push'](_0x2fed64['shift']());}catch(_0x2806ab){_0x2fed64['push'](_0x2fed64['shift']());}}}(_0x5d79,0x6aa74));import{findOne as _0x37e268,getAttribute as _0x299c8c,Document as _0x43922c,serialize as _0x1ba8da,parse as _0x45122a}from'./htmlparser.js';function _0x297f(_0x461f3c,_0x149942){const _0x5d79e4=_0x5d79();return _0x297f=function(_0x297fda,_0x4ad544){_0x297fda=_0x297fda-0x120;let _0x13d8cb=_0x5d79e4[_0x297fda];return _0x13d8cb;},_0x297f(_0x461f3c,_0x149942);}import{fixElementSuggestionRange as _0x1dee2d}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x23cb4a,_DetachOperation as _0x5844c0,_removeFromModelNodeList as _0xe2de61,_insertIntoModelNodeList as _0x5780bc}from'ckeditor5/src/engine.js';import{uid as _0x417017}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x28e1b,changeGroups:_0x568a7c,documentContextContent:_0x17ac7e,showDiff:_0x160d85,trimUnchanged:_0x34310f=!0x0}){const _0x4069d1=_0x297f;return _0x568a7c[_0x4069d1(0x171)](_0x121127=>{const _0x17d143=_0x4069d1,_0x48f182=new _0x43922c([]),_0x4fa10f=new _0x43922c([]);for(const _0x1f0fe9 of _0x121127[_0x17d143(0x141)])if(_0x160d85&&_0x17d143(0x137)==_0x1f0fe9[_0x17d143(0x161)]||_0x4fa10f[_0x17d143(0x183)][_0x17d143(0x145)](_0x1f0fe9[_0x17d143(0x136)][_0x17d143(0x14f)](!0x0)),_0x17d143(0x187)!=_0x1f0fe9[_0x17d143(0x161)]&&(_0x160d85||_0x17d143(0x137)!=_0x1f0fe9[_0x17d143(0x161)])){const _0x53a767=_0x37e268(_0x3e05a2=>_0x299c8c(_0x3e05a2,_0x17d143(0x173))==_0x1f0fe9['id'],_0x17ac7e,!0x0);_0x53a767&&_0x48f182[_0x17d143(0x183)][_0x17d143(0x145)](_0x53a767[_0x17d143(0x14f)](!0x0));}const {content:_0x244efd,hasChanges:_0x1bfb23}=function(_0x4ff684,_0x3e3938,_0x34d0b1,_0x36a697,_0x51d41d=!0x0){const _0x2debab=_0x17d143,_0x417d90=_0x4ff684[_0x2debab(0x120)][_0x2debab(0x15b)](_0x2debab(0x175)),_0x51956a=_0x1ba8da(_0x3e3938),_0xc5ec6d=_0x1ba8da(_0x34d0b1),_0x4e6e40=_0x4ff684[_0x2debab(0x17e)][_0x2debab(0x162)](_0x51956a,_0x2debab(0x16f)),_0x3864bb=_0x4ff684[_0x2debab(0x139)][_0x2debab(0x127)](_0x4e6e40,0x0),_0x4abd39=_0x417d90[_0x2debab(0x142)](_0x51956a,_0xc5ec6d,{'anchor':_0x3864bb,'markDeletions':_0x36a697}),_0x31ef0a=_0x4abd39[_0x2debab(0x12e)]();if(0x0==_0x31ef0a[_0x2debab(0x163)])return{'content':_0x3e3938[_0x2debab(0x14f)](!0x0),'hasChanges':!0x1};_0x36a697?function(_0x33dbda,_0x4e9e7d,_0x31839b){const _0x513fda=_0x2debab;if(0x0==_0x33dbda[_0x513fda(0x163)])return;const _0x17c774=_0x31839b[_0x513fda(0x120)][_0x513fda(0x15b)](_0x513fda(0x175)),_0x15c4c9=_0x31839b[_0x513fda(0x120)][_0x513fda(0x15b)](_0x513fda(0x16b));_0x31839b[_0x513fda(0x139)][_0x513fda(0x148)](_0x119d6c=>{const _0x2854ff=_0x513fda,_0x46e709=new Set();for(let _0x463ef4=0x0;_0x463ef4<_0x33dbda[_0x2854ff(0x163)];_0x463ef4++){const _0x5c9c60=_0x33dbda[_0x463ef4];if(_0x5c9c60[_0x2854ff(0x169)]=null,_0x5c9c60[_0x2854ff(0x13a)]=!0x1,_0x17c774[_0x2854ff(0x156)](_0x5c9c60)){const _0x54b8b0=_0x1dee2d(_0x5c9c60[_0x2854ff(0x16e)],_0x31839b[_0x2854ff(0x139)]),_0x1df2da=_0x2854ff(0x13d)+_0x417017()+_0x2854ff(0x172);_0x4e9e7d[_0x2854ff(0x125)][_0x2854ff(0x165)](_0x1df2da,_0x54b8b0);}else switch(_0x5c9c60[_0x2854ff(0x161)]){case _0x2854ff(0x122):{if(_0x5c9c60[_0x2854ff(0x152)]==_0x5c9c60[_0x2854ff(0x178)])break;_0x119d6c[_0x2854ff(0x170)][_0x2854ff(0x181)](_0x5c9c60),_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x159)](_0x5c9c60);const _0x196ce1=_0x2854ff(0x15f),_0x5076e9=_0x5c9c60[_0x2854ff(0x17a)],_0x1b82b5=_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x190)](_0x5076e9,_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x127)](_0x5076e9[_0x2854ff(0x14c)],_0x2854ff(0x147))),_0x2d5486=_0x2854ff(0x138)+_0x196ce1+':'+_0x417017()+_0x2854ff(0x172);_0x4e9e7d[_0x2854ff(0x125)][_0x2854ff(0x165)](_0x2d5486,_0x1b82b5);break;}case _0x2854ff(0x158):case _0x2854ff(0x18a):case _0x2854ff(0x14b):{if(_0x5c9c60[_0x2854ff(0x18b)]==_0x5c9c60[_0x2854ff(0x15e)])break;_0x119d6c[_0x2854ff(0x170)][_0x2854ff(0x181)](_0x5c9c60),_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x159)](_0x5c9c60);const _0x21dbf0=_0x5c9c60[_0x2854ff(0x131)];if(!_0x15c4c9[_0x2854ff(0x18e)](_0x21dbf0))break;const _0x53d381=_0x1dee2d(_0x5c9c60[_0x2854ff(0x15d)],_0x31839b[_0x2854ff(0x139)]),_0x2c6d2c=_0x2854ff(0x138)+_0x21dbf0+':'+_0x417017()+_0x2854ff(0x172);_0x4e9e7d[_0x2854ff(0x125)][_0x2854ff(0x165)](_0x2c6d2c,_0x53d381);break;}case _0x2854ff(0x140):{_0x119d6c[_0x2854ff(0x170)][_0x2854ff(0x181)](_0x5c9c60),_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x159)](_0x5c9c60);if(_0x33dbda[_0x463ef4+0x1]&&_0x2854ff(0x149)==_0x33dbda[_0x463ef4+0x1][_0x2854ff(0x161)]){ro(_0x4e9e7d,_0x5c9c60);break;}const _0xa7e124=_0x5c9c60[_0x2854ff(0x17a)],_0x406e88=_0x5c9c60[_0x2854ff(0x123)],_0xc07867=_0x1dee2d(_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x190)](_0xa7e124,_0xa7e124[_0x2854ff(0x13e)](_0x406e88)),_0x31839b[_0x2854ff(0x139)]),_0x2b1a5c=_0x2854ff(0x155)+_0x417017()+_0x2854ff(0x172);_0x4e9e7d[_0x2854ff(0x125)][_0x2854ff(0x165)](_0x2b1a5c,_0xc07867);break;}case _0x2854ff(0x130):{_0x119d6c[_0x2854ff(0x170)][_0x2854ff(0x181)](_0x5c9c60),_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x159)](_0x5c9c60);const _0x2a2f18=_0x5c9c60[_0x2854ff(0x150)],_0x50ea6a=_0x5c9c60[_0x2854ff(0x184)],_0x273ab2=_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x190)](_0x2a2f18,_0x50ea6a),_0x10b688=_0x2854ff(0x155)+_0x417017()+_0x2854ff(0x172);_0x4e9e7d[_0x2854ff(0x125)][_0x2854ff(0x165)](_0x10b688,_0x273ab2);break;}case _0x2854ff(0x149):{_0x119d6c[_0x2854ff(0x170)][_0x2854ff(0x181)](_0x5c9c60),_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x159)](_0x5c9c60),_0x33dbda[_0x463ef4-0x1]&&_0x2854ff(0x140)==_0x33dbda[_0x463ef4-0x1][_0x2854ff(0x161)]&&ro(_0x4e9e7d,_0x5c9c60);const _0x534b6e=_0x5c9c60[_0x2854ff(0x13c)](),_0x26ad00=_0x5c9c60[_0x2854ff(0x123)];for(let _0x1778ce=0x0;_0x1778ce<_0x26ad00;_0x1778ce++){const _0x268e24=_0x534b6e[_0x2854ff(0x13e)](_0x1778ce)[_0x2854ff(0x14c)];_0x46e709[_0x2854ff(0x174)](_0x268e24);}break;}case _0x2854ff(0x143):{const _0x16e824=_0x5c9c60[_0x2854ff(0x135)],_0x433be9=_0x5c9c60[_0x2854ff(0x123)],_0x5e1197=new _0x5844c0(_0x16e824,_0x433be9);_0x119d6c[_0x2854ff(0x170)][_0x2854ff(0x181)](_0x5e1197),_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x159)](_0x5e1197);break;}}}for(const _0xf6c3d9 of _0x46e709){const _0x1d3c49=_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x15a)](_0xf6c3d9),_0x225ac5=_0x2854ff(0x154)+_0x417017()+_0x2854ff(0x172);_0x4e9e7d[_0x2854ff(0x125)][_0x2854ff(0x165)](_0x225ac5,_0x1dee2d(_0x1d3c49,_0x31839b[_0x2854ff(0x139)]));}});}(_0x31ef0a,_0x4e6e40,_0x4ff684):_0x4ff684[_0x2debab(0x139)][_0x2debab(0x148)](_0x260979=>{const _0x3ceec1=_0x2debab;for(const _0x466196 of _0x31ef0a)if(_0x3ceec1(0x143)==_0x466196[_0x3ceec1(0x161)]){const _0x167d5e=_0x466196[_0x3ceec1(0x135)],_0x54d597=_0x466196[_0x3ceec1(0x123)],_0x3f9dca=new _0x5844c0(_0x167d5e,_0x54d597);_0x260979[_0x3ceec1(0x170)][_0x3ceec1(0x181)](_0x3f9dca),_0x4ff684[_0x3ceec1(0x139)][_0x3ceec1(0x159)](_0x3f9dca);}else{if(_0x3ceec1(0x194)==_0x466196[_0x3ceec1(0x161)]){const _0x3d63a2=_0x466196[_0x3ceec1(0x177)],_0x13f1d9=_0x466196[_0x3ceec1(0x16e)];_0x4e6e40[_0x3ceec1(0x125)][_0x3ceec1(0x165)](_0x3d63a2,_0x13f1d9);}else _0x466196[_0x3ceec1(0x169)]=null,_0x466196[_0x3ceec1(0x13a)]=!0x1,_0x260979[_0x3ceec1(0x170)][_0x3ceec1(0x181)](_0x466196),_0x4ff684[_0x3ceec1(0x139)][_0x3ceec1(0x159)](_0x466196);}});if(_0x51d41d){const _0x232c53=getMinimalSelection(_0x4ff684,_0x31ef0a,_0x4e6e40);expandSelectionWithContext(_0x4ff684[_0x2debab(0x139)],_0x232c53),function(_0x54d8fc,_0x3a6dab){const _0x2812f6=_0x2debab,_0xea2189=_0x3a6dab[_0x2812f6(0x179)]()[_0x2812f6(0x12f)];let _0x44e0e7=_0x3a6dab[_0x2812f6(0x179)]()[_0x2812f6(0x147)];const _0x5949bc=_0xea2189[_0x2812f6(0x157)];(_0x44e0e7[_0x2812f6(0x128)]||_0x44e0e7[_0x2812f6(0x14c)]&&_0x44e0e7[_0x2812f6(0x14c)]['is'](_0x2812f6(0x188)))&&(_0x5780bc(_0x44e0e7,_0x2812f6(0x167)),_0x44e0e7=_0x44e0e7[_0x2812f6(0x13e)](0x3)),(_0xea2189[_0x2812f6(0x128)]||_0xea2189[_0x2812f6(0x17c)]&&_0xea2189[_0x2812f6(0x17c)]['is'](_0x2812f6(0x188)))&&(_0x5780bc(_0xea2189,_0x2812f6(0x167)),function(_0x1b710e,_0x436b56,_0x2eca5b){const _0x2018d9=_0x2812f6;for(let [_0x49261e,_0x4290a5]of _0x1b710e[_0x2018d9(0x125)]){const _0x3a426f=_0x4290a5[_0x2018d9(0x17b)](_0x436b56,_0x2eca5b,!0x1);_0x4290a5=_0x3a426f[0x0],_0x1b710e[_0x2018d9(0x125)][_0x2018d9(0x165)](_0x49261e,_0x4290a5);}}(_0x5949bc,_0xea2189,0x3),_0xea2189[_0x2812f6(0x14e)]==_0x44e0e7[_0x2812f6(0x14e)]&&(_0x44e0e7=_0x44e0e7[_0x2812f6(0x13e)](0x3)));const _0x339e43=_0x54d8fc[_0x2812f6(0x190)](_0x54d8fc[_0x2812f6(0x127)](_0x5949bc,0x0),_0xea2189),_0x230437=_0x54d8fc[_0x2812f6(0x190)](_0x44e0e7,_0x54d8fc[_0x2812f6(0x127)](_0x5949bc,_0x2812f6(0x147))),_0x8259d5=[..._0x339e43[_0x2812f6(0x124)](),..._0x230437[_0x2812f6(0x124)]()];_0x8259d5[_0x2812f6(0x18d)]();for(const _0x3666ce of _0x8259d5)_0xe2de61(_0x3666ce),_transformMarkersByDeletion(_0x5949bc,_0x3666ce);}(_0x4ff684[_0x2debab(0x139)],_0x232c53);}const _0x32fdc7=_0x4ff684[_0x2debab(0x17e)][_0x2debab(0x18c)](_0x4e6e40,{'showSuggestionHighlights':!0x0});return{'content':_0x45122a(_0x32fdc7),'hasChanges':!0x0};}(_0x28e1b,_0x48f182,_0x4fa10f,_0x160d85,_0x34310f);return{'type':_0x121127[_0x17d143(0x141)][0x0][_0x17d143(0x161)],'index':_0x121127[_0x17d143(0x134)],'content':_0x244efd,'hasChanges':_0x1bfb23};});}function ro(_0x944aa4,_0x27dd6a){const _0xc807c6=_0x297f;for(const [_0x355142,_0xa692f2]of _0x944aa4[_0xc807c6(0x125)]){const _0x39d364=_0x23cb4a[_0xc807c6(0x195)](_0xa692f2[_0xc807c6(0x17d)](_0x27dd6a));_0x944aa4[_0xc807c6(0x125)][_0xc807c6(0x165)](_0x355142,_0x39d364);}}export function getMinimalSelection(_0x7d5d06,_0x28040b,_0x2f7f4e){const _0x5c9f0b=_0x297f,_0x55987e=_0x7d5d06[_0x5c9f0b(0x120)][_0x5c9f0b(0x15b)](_0x5c9f0b(0x175));let _0x37522f=_0x7d5d06[_0x5c9f0b(0x139)][_0x5c9f0b(0x127)](_0x2f7f4e,Number[_0x5c9f0b(0x160)]),_0x3c544c=_0x7d5d06[_0x5c9f0b(0x139)][_0x5c9f0b(0x127)](_0x2f7f4e,0x0);for(const _0x201a74 of _0x28040b){let _0x9507fa,_0x10911c;if(_0x55987e[_0x5c9f0b(0x156)](_0x201a74))_0x9507fa=_0x201a74[_0x5c9f0b(0x16e)][_0x5c9f0b(0x12f)],_0x10911c=_0x201a74[_0x5c9f0b(0x16e)][_0x5c9f0b(0x147)];else switch(_0x37522f=_0x37522f[_0x5c9f0b(0x17d)](_0x201a74),_0x3c544c=_0x3c544c[_0x5c9f0b(0x17d)](_0x201a74),_0x201a74[_0x5c9f0b(0x161)]){case _0x5c9f0b(0x122):_0x9507fa=_0x201a74[_0x5c9f0b(0x17a)],_0x10911c=_0x9507fa[_0x5c9f0b(0x13e)](0x1);break;case _0x5c9f0b(0x158):case _0x5c9f0b(0x18a):case _0x5c9f0b(0x14b):_0x9507fa=_0x201a74[_0x5c9f0b(0x15d)][_0x5c9f0b(0x12f)],_0x10911c=_0x201a74[_0x5c9f0b(0x15d)][_0x5c9f0b(0x147)];break;case _0x5c9f0b(0x140):_0x9507fa=_0x201a74[_0x5c9f0b(0x17a)],_0x10911c=_0x9507fa[_0x5c9f0b(0x13e)](_0x201a74[_0x5c9f0b(0x123)]);break;case _0x5c9f0b(0x130):_0x9507fa=_0x201a74[_0x5c9f0b(0x150)],_0x10911c=_0x201a74[_0x5c9f0b(0x184)];break;case _0x5c9f0b(0x18f):{const _0x387b26=_0x201a74[_0x5c9f0b(0x192)][_0x5c9f0b(0x12c)][_0x5c9f0b(0x193)](0x0,-0x1);_0x9507fa=_0x7d5d06[_0x5c9f0b(0x139)][_0x5c9f0b(0x13f)](_0x2f7f4e,_0x387b26),_0x10911c=_0x9507fa[_0x5c9f0b(0x13e)](0x1);break;}case _0x5c9f0b(0x143):{const _0x4579fc=_0x201a74[_0x5c9f0b(0x123)],_0x42e1e4=_0x201a74[_0x5c9f0b(0x135)][_0x5c9f0b(0x17b)](_0x201a74[_0x5c9f0b(0x192)],_0x4579fc),_0x2fd71b=_0x201a74[_0x5c9f0b(0x13c)]();_0x5c9f0b(0x143)==_0x201a74[_0x5c9f0b(0x161)]?(_0x9507fa=_0x42e1e4,_0x10911c=_0x42e1e4):(_0x9507fa=_0x2fd71b,_0x10911c=_0x2fd71b[_0x5c9f0b(0x13e)](_0x4579fc));break;}}_0x9507fa&&_0x9507fa[_0x5c9f0b(0x126)](_0x37522f)&&(_0x37522f=_0x9507fa[_0x5c9f0b(0x13b)](),_0x37522f[_0x5c9f0b(0x185)]=_0x5c9f0b(0x14d)),_0x10911c&&_0x10911c[_0x5c9f0b(0x129)](_0x3c544c)&&(_0x3c544c=_0x10911c[_0x5c9f0b(0x13b)](),_0x3c544c[_0x5c9f0b(0x185)]=_0x5c9f0b(0x14d));}return _0x7d5d06[_0x5c9f0b(0x139)][_0x5c9f0b(0x132)](_0x7d5d06[_0x5c9f0b(0x139)][_0x5c9f0b(0x190)](_0x37522f,_0x3c544c));}export function expandSelectionWithContext(_0x3cd7a8,_0x4f85f1){const _0x225a38=_0x297f;so(_0x3cd7a8,_0x4f85f1,_0x225a38(0x16d));const _0x9eb616=_0x4f85f1[_0x225a38(0x179)]();_0x4f85f1[_0x225a38(0x153)]([]),_0x4f85f1[_0x225a38(0x153)](_0x9eb616,{'backward':!0x0}),so(_0x3cd7a8,_0x4f85f1,_0x225a38(0x16c));}function so(_0x1c9ab9,_0x5a6781,_0x1defb4){const _0x4572fa=_0x297f;let _0x87745d=0x14;for(;_0x87745d;){_0x1c9ab9[_0x4572fa(0x12a)](_0x5a6781,{'unit':_0x4572fa(0x12d),'direction':_0x1defb4}),_0x87745d--;const _0x599a75=_0x5a6781[_0x4572fa(0x17f)][_0x4572fa(0x16d)==_0x1defb4?_0x4572fa(0x17c):_0x4572fa(0x14c)];if(_0x599a75&&_0x599a75['is'](_0x4572fa(0x151))&&_0x1c9ab9[_0x4572fa(0x133)][_0x4572fa(0x144)](_0x599a75)&&_0x1c9ab9[_0x4572fa(0x133)][_0x4572fa(0x168)](_0x599a75))break;}}export function _transformMarkersByDeletion(_0x48aa05,_0xbf91e0){const _0x2e84d7=_0x297f;for(const [_0x254fbe,_0x185d52]of _0x48aa05[_0x2e84d7(0x125)]){const _0x497ba1=_0x185d52[_0x2e84d7(0x189)](_0xbf91e0[_0x2e84d7(0x12f)],_0xbf91e0[_0x2e84d7(0x147)][_0x2e84d7(0x182)]-_0xbf91e0[_0x2e84d7(0x12f)][_0x2e84d7(0x182)]);null!=_0x497ba1?_0x48aa05[_0x2e84d7(0x125)][_0x2e84d7(0x165)](_0x254fbe,_0x497ba1):_0x48aa05[_0x2e84d7(0x125)][_0x2e84d7(0x196)](_0x254fbe);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4012de,_0xfaeb88){const _0x271c3a=_0x58c3,_0x2ee490=_0x4012de();while(!![]){try{const _0x290143=parseInt(_0x271c3a(0x1d2))/0x1+-parseInt(_0x271c3a(0x1d8))/0x2*(parseInt(_0x271c3a(0x1cf))/0x3)+parseInt(_0x271c3a(0x1de))/0x4*(-parseInt(_0x271c3a(0x1dd))/0x5)+-parseInt(_0x271c3a(0x1c9))/0x6+parseInt(_0x271c3a(0x1d1))/0x7*(-parseInt(_0x271c3a(0x1df))/0x8)+parseInt(_0x271c3a(0x1d4))/0x9*(parseInt(_0x271c3a(0x1d5))/0xa)+-parseInt(_0x271c3a(0x1e2))/0xb*(-parseInt(_0x271c3a(0x1db))/0xc);if(_0x290143===_0xfaeb88)break;else _0x2ee490['push'](_0x2ee490['shift']());}catch(_0xcecc1a){_0x2ee490['push'](_0x2ee490['shift']());}}}(_0xafca,0x3bee5));function _0x58c3(_0x5e2f85,_0x14e700){const _0xafcaef=_0xafca();return _0x58c3=function(_0x58c392,_0x444d13){_0x58c392=_0x58c392-0x1c8;let _0x4eac39=_0xafcaef[_0x58c392];return _0x4eac39;},_0x58c3(_0x5e2f85,_0x14e700);}import{parseDocument as _0x381455}from'htmlparser2';import{append as _0x5c3fa7,appendChild as _0x505b43,find as _0x3afff9,findAll as _0x2e6807,findOne as _0x381e26,getChildren as _0x2df6fa,isComment as _0x28f02e,isTag as _0x143571,prepend as _0x4a8a56,prependChild as _0x18a6ac,removeElement as _0xfaa2d0,replaceElement as _0xb2428,textContent as _0x2eef99,getParent as _0x150182,hasChildren as _0x794824}from'domutils';import _0x10b3e5 from'dom-serializer';import{cloneNode as _0x26bf98,isDocument as _0x2a0e26,isText as _0x48e9b5,Element as _0x116f43,Text as _0x3779a6,Document as _0x4c93ea,NodeWithChildren as _0x24dbce}from'domhandler';export{_0x26bf98 as cloneNode,_0x3afff9 as find,_0x381e26 as findOne,_0x2e6807 as findAll,_0x2df6fa as getChildren,_0x150182 as getParent,_0x28f02e as isComment,_0x2a0e26 as isDocument,_0x143571 as isTag,_0x48e9b5 as isText,_0x5c3fa7 as append,_0x505b43 as appendChild,_0x4a8a56 as prepend,_0x18a6ac as prependChild,_0x10b3e5 as render,_0xfaa2d0 as removeElement,_0xb2428 as replaceElement,_0x2eef99 as textContent,_0x794824 as hasChildren,_0x116f43 as Element,_0x4c93ea as Document,_0x24dbce as NodeWithChildren,_0x3779a6 as Text};export function parse(_0x434383){return _0x381455(_0x434383);}export function serialize(_0x2c3859){return _0x10b3e5(_0x2c3859);}export function findByAttribute(_0xa9d6d3,_0x16c6ae,_0x190636){const _0x46d5d6=_0x58c3,_0x12296c=null!==_0x16c6ae?_0x2aba40=>_0x2aba40[_0x46d5d6(0x1d6)][_0xa9d6d3]===_0x16c6ae:_0x5dbda3=>Boolean(_0x5dbda3[_0x46d5d6(0x1d6)][_0xa9d6d3]);return _0x381e26(_0x5c18ea=>_0x143571(_0x5c18ea)&&_0x12296c(_0x5c18ea),_0x190636);}export function findAllByAttribute(_0x20c9af,_0x2983b4,_0x34f3fe){const _0x8619a3=_0x58c3,_0x2abaa0=null!==_0x2983b4?_0x5e9286=>_0x5e9286[_0x8619a3(0x1d6)][_0x20c9af]===_0x2983b4:_0x5cfb32=>Boolean(_0x5cfb32[_0x8619a3(0x1d6)][_0x20c9af]);return _0x2e6807(_0x5ca882=>_0x143571(_0x5ca882)&&_0x2abaa0(_0x5ca882),_0x34f3fe);}function _0xafca(){const _0x50d397=['afterend','cloneNode','121bLIIfh','indexOf','1278714pRPWVB','replace','push','reverse','slice','forEach','27231PrqBBa','parentNode','42wmjZZP','421492KnAZZd','map','23094IShQMq','1870LBNaLS','attribs','beforeend','26fYHNah','nextSibling','beforebegin','301536zZLkPm','afterbegin','5NkCeqW','719828tFAGdf','561584PYoKyZ'];_0xafca=function(){return _0x50d397;};return _0xafca();}export function findAllComments(_0x5f1323){return _0x3afff9(_0x7380ea=>_0x28f02e(_0x7380ea),_0x5f1323,!0x0,0x1/0x0);}export function getAttribute(_0x4a9166,_0x36e7a1){const _0x332d41=_0x58c3;return _0x4a9166&&_0x143571(_0x4a9166)?_0x4a9166[_0x332d41(0x1d6)][_0x36e7a1]:null;}export function setAttribute(_0x32f8f5,_0x4cfacf,_0x1eec7d){const _0x406c9b=_0x58c3;_0x143571(_0x32f8f5)&&(null===_0x1eec7d?delete _0x32f8f5[_0x406c9b(0x1d6)][_0x4cfacf]:_0x32f8f5[_0x406c9b(0x1d6)][_0x4cfacf]=_0x1eec7d);}export function insertElement(_0x57e717,_0x499366,_0x296fc7){const _0x18e200=_0x58c3,_0x3a5ecd=_0x499366[_0x18e200(0x1e1)](!0x0);_0x18e200(0x1da)===_0x296fc7?_0x4a8a56(_0x57e717,_0x3a5ecd):_0x18e200(0x1dc)===_0x296fc7?_0x18a6ac(_0x57e717,_0x3a5ecd):_0x18e200(0x1d7)===_0x296fc7?_0x505b43(_0x57e717,_0x3a5ecd):_0x18e200(0x1e0)===_0x296fc7&&_0x5c3fa7(_0x57e717,_0x3a5ecd);}export function moveElement(_0xd3fde6,_0x4f2b65){_0xfaa2d0(_0xd3fde6),_0xb2428(_0x4f2b65,_0xd3fde6);}export function clone(_0x263f3e){const _0x509dad=_0x58c3;return _0x263f3e[_0x509dad(0x1e1)](!0x0);}export function getParents(_0x3d9138){const _0x35b4ef=_0x58c3,_0x50e975=[];let _0x528c0f=_0x3d9138;for(;_0x528c0f;)_0x528c0f=_0x150182(_0x528c0f),_0x528c0f&&_0x50e975[_0x35b4ef(0x1cb)](_0x528c0f);return _0x50e975;}export function normalizeHTML(_0x5bfdff){const _0x2c7913=_0x58c3;return _0x5bfdff[_0x2c7913(0x1ca)](/^\s+/gm,'')[_0x2c7913(0x1ca)](/\s+$/gm,'')[_0x2c7913(0x1ca)](/\n*/g,'')[_0x2c7913(0x1ca)](/\s+/g,'\x20')[_0x2c7913(0x1ca)](/>\s*</g,'><');}export function areNodesSame(_0x2730f9,_0x5bab02){return normalizeHTML(serialize(_0x2730f9))===normalizeHTML(serialize(_0x5bab02));}export function getNodeNestingLevel(_0x328af2){const _0x3f1b34=_0x58c3;let _0x460031=0x0;for(;_0x328af2[_0x3f1b34(0x1d0)];)_0x328af2=_0x328af2[_0x3f1b34(0x1d0)],_0x460031++;return _0x460031;}export function removeElementsAfter(_0x47d0c1){const _0x2886cf=_0x58c3,_0x287767=[];let _0x304886=_0x47d0c1[_0x2886cf(0x1d9)];for(;_0x304886;)_0x287767[_0x2886cf(0x1cb)](_0x304886),_0x304886=_0x304886[_0x2886cf(0x1d9)];_0x287767[_0x2886cf(0x1ce)](_0x7b63de=>{_0xfaa2d0(_0x7b63de);});}export function getNodePath(_0x483f6d){const _0x5b6330=_0x58c3;return[_0x483f6d,...getParents(_0x483f6d)][_0x5b6330(0x1cd)](0x0,-0x1)[_0x5b6330(0x1d3)](_0x1d3d94=>{const _0x38d3ec=_0x5b6330,_0x2c359c=_0x150182(_0x1d3d94);return _0x2df6fa(_0x2c359c)[_0x38d3ec(0x1c8)](_0x1d3d94);})[_0x5b6330(0x1cc)]();}
23
+ (function(_0x154376,_0x16639c){const _0x3de239=_0xd7bf,_0x2676c6=_0x154376();while(!![]){try{const _0x522149=parseInt(_0x3de239(0x14a))/0x1*(parseInt(_0x3de239(0x147))/0x2)+-parseInt(_0x3de239(0x152))/0x3*(-parseInt(_0x3de239(0x14c))/0x4)+parseInt(_0x3de239(0x149))/0x5+-parseInt(_0x3de239(0x140))/0x6+-parseInt(_0x3de239(0x13c))/0x7*(-parseInt(_0x3de239(0x14e))/0x8)+parseInt(_0x3de239(0x144))/0x9+parseInt(_0x3de239(0x141))/0xa*(-parseInt(_0x3de239(0x143))/0xb);if(_0x522149===_0x16639c)break;else _0x2676c6['push'](_0x2676c6['shift']());}catch(_0x590629){_0x2676c6['push'](_0x2676c6['shift']());}}}(_0x2ffd,0x36d47));function _0x2ffd(){const _0x5dcdcb=['6ZboqyW','beforebegin','1760745PWBojj','113463VozLFD','indexOf','116pkqREA','reverse','888JFCQwu','slice','afterend','attribs','28359MEFQMd','replace','beforeend','forEach','21399tKsCqr','parentNode','afterbegin','map','785052DjMJhq','10iDlcej','push','12086789RcQZzi','1333998fgYNvh','nextSibling','cloneNode'];_0x2ffd=function(){return _0x5dcdcb;};return _0x2ffd();}import{parseDocument as _0x31396f}from'htmlparser2';import{append as _0x39fb41,appendChild as _0x5ac0fa,find as _0x1b723c,findAll as _0x1e0352,findOne as _0x28a469,getChildren as _0x5cfd84,isComment as _0x2483d8,isTag as _0x406904,prepend as _0x13807f,prependChild as _0x381381,removeElement as _0xb66a73,replaceElement as _0xaf0c0c,textContent as _0x2b4e08,getParent as _0x1626c0,hasChildren as _0x26b8f3}from'domutils';import _0x28149f from'dom-serializer';import{cloneNode as _0x12e1e0,isDocument as _0x9af609,isText as _0x5eacdc,Element as _0x261e20,Text as _0x5c1374,Document as _0x47f11a,NodeWithChildren as _0x38bb84}from'domhandler';export{_0x12e1e0 as cloneNode,_0x1b723c as find,_0x28a469 as findOne,_0x1e0352 as findAll,_0x5cfd84 as getChildren,_0x1626c0 as getParent,_0x2483d8 as isComment,_0x9af609 as isDocument,_0x406904 as isTag,_0x5eacdc as isText,_0x39fb41 as append,_0x5ac0fa as appendChild,_0x13807f as prepend,_0x381381 as prependChild,_0x28149f as render,_0xb66a73 as removeElement,_0xaf0c0c as replaceElement,_0x2b4e08 as textContent,_0x26b8f3 as hasChildren,_0x261e20 as Element,_0x47f11a as Document,_0x38bb84 as NodeWithChildren,_0x5c1374 as Text};export function parse(_0x9feb2d){return _0x31396f(_0x9feb2d);}export function serialize(_0x4b3044){return _0x28149f(_0x4b3044);}export function findByAttribute(_0x2a3b06,_0x5127cf,_0x224b36){const _0x4d2770=_0xd7bf,_0x35fac3=null!==_0x5127cf?_0x120e7c=>_0x120e7c[_0x4d2770(0x151)][_0x2a3b06]===_0x5127cf:_0x3eedfe=>Boolean(_0x3eedfe[_0x4d2770(0x151)][_0x2a3b06]);return _0x28a469(_0x2694e4=>_0x406904(_0x2694e4)&&_0x35fac3(_0x2694e4),_0x224b36);}export function findAllByAttribute(_0x2d315c,_0x44e433,_0x334619){const _0x12fa4d=_0xd7bf,_0x621b54=null!==_0x44e433?_0xa43705=>_0xa43705[_0x12fa4d(0x151)][_0x2d315c]===_0x44e433:_0x129df6=>Boolean(_0x129df6[_0x12fa4d(0x151)][_0x2d315c]);return _0x1e0352(_0x2b03d3=>_0x406904(_0x2b03d3)&&_0x621b54(_0x2b03d3),_0x334619);}function _0xd7bf(_0x22c9d6,_0x36d786){const _0x2ffd7f=_0x2ffd();return _0xd7bf=function(_0xd7bffd,_0x432e3d){_0xd7bffd=_0xd7bffd-0x13b;let _0x6ae28e=_0x2ffd7f[_0xd7bffd];return _0x6ae28e;},_0xd7bf(_0x22c9d6,_0x36d786);}export function findAllComments(_0x9f82d8){return _0x1b723c(_0x3d86df=>_0x2483d8(_0x3d86df),_0x9f82d8,!0x0,0x1/0x0);}export function getAttribute(_0x1435ad,_0x5a1b90){const _0x1f7909=_0xd7bf;return _0x1435ad&&_0x406904(_0x1435ad)?_0x1435ad[_0x1f7909(0x151)][_0x5a1b90]:null;}export function setAttribute(_0x5a09e9,_0x5e8196,_0x236037){const _0x2a5984=_0xd7bf;_0x406904(_0x5a09e9)&&(null===_0x236037?delete _0x5a09e9[_0x2a5984(0x151)][_0x5e8196]:_0x5a09e9[_0x2a5984(0x151)][_0x5e8196]=_0x236037);}export function insertElement(_0x157411,_0x1e402a,_0x5ee329){const _0x1fc7da=_0xd7bf,_0x4e2245=_0x1e402a[_0x1fc7da(0x146)](!0x0);_0x1fc7da(0x148)===_0x5ee329?_0x13807f(_0x157411,_0x4e2245):_0x1fc7da(0x13e)===_0x5ee329?_0x381381(_0x157411,_0x4e2245):_0x1fc7da(0x154)===_0x5ee329?_0x5ac0fa(_0x157411,_0x4e2245):_0x1fc7da(0x150)===_0x5ee329&&_0x39fb41(_0x157411,_0x4e2245);}export function moveElement(_0x2bcc12,_0x4f3e2f){_0xb66a73(_0x2bcc12),_0xaf0c0c(_0x4f3e2f,_0x2bcc12);}export function clone(_0x484fa0){const _0x4c37a4=_0xd7bf;return _0x484fa0[_0x4c37a4(0x146)](!0x0);}export function getParents(_0x302738){const _0x19f60a=_0xd7bf,_0x263945=[];let _0x51ca35=_0x302738;for(;_0x51ca35;)_0x51ca35=_0x1626c0(_0x51ca35),_0x51ca35&&_0x263945[_0x19f60a(0x142)](_0x51ca35);return _0x263945;}export function normalizeHTML(_0x10a66a){const _0x281222=_0xd7bf;return _0x10a66a[_0x281222(0x153)](/^\s+/gm,'')[_0x281222(0x153)](/\s+$/gm,'')[_0x281222(0x153)](/\n*/g,'')[_0x281222(0x153)](/\s+/g,'\x20')[_0x281222(0x153)](/>\s*</g,'><');}export function areNodesSame(_0x44fed7,_0x44dfb8){return normalizeHTML(serialize(_0x44fed7))===normalizeHTML(serialize(_0x44dfb8));}export function getNodeNestingLevel(_0x4f9ee4){const _0x507d55=_0xd7bf;let _0x287262=0x0;for(;_0x4f9ee4[_0x507d55(0x13d)];)_0x4f9ee4=_0x4f9ee4[_0x507d55(0x13d)],_0x287262++;return _0x287262;}export function removeElementsAfter(_0x233f10){const _0x78af0=_0xd7bf,_0x59eabe=[];let _0x20c330=_0x233f10[_0x78af0(0x145)];for(;_0x20c330;)_0x59eabe[_0x78af0(0x142)](_0x20c330),_0x20c330=_0x20c330[_0x78af0(0x145)];_0x59eabe[_0x78af0(0x13b)](_0xc375da=>{_0xb66a73(_0xc375da);});}export function getNodePath(_0x460c6a){const _0xce0f00=_0xd7bf;return[_0x460c6a,...getParents(_0x460c6a)][_0xce0f00(0x14f)](0x0,-0x1)[_0xce0f00(0x13f)](_0x44cd28=>{const _0x3541cf=_0xce0f00,_0xed41a4=_0x1626c0(_0x44cd28);return _0x5cfd84(_0xed41a4)[_0x3541cf(0x14b)](_0x44cd28);})[_0xce0f00(0x14d)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4889d9=_0x243e;(function(_0x396a82,_0x437e3f){const _0x382178=_0x243e,_0x49e41d=_0x396a82();while(!![]){try{const _0x4df422=parseInt(_0x382178(0x136))/0x1*(-parseInt(_0x382178(0x148))/0x2)+parseInt(_0x382178(0x132))/0x3+-parseInt(_0x382178(0x150))/0x4+parseInt(_0x382178(0x166))/0x5*(parseInt(_0x382178(0x134))/0x6)+-parseInt(_0x382178(0x168))/0x7+-parseInt(_0x382178(0x13a))/0x8*(parseInt(_0x382178(0x15a))/0x9)+-parseInt(_0x382178(0x13d))/0xa*(-parseInt(_0x382178(0x162))/0xb);if(_0x4df422===_0x437e3f)break;else _0x49e41d['push'](_0x49e41d['shift']());}catch(_0x3baa74){_0x49e41d['push'](_0x49e41d['shift']());}}}(_0x1de2,0x4ccc7));import _0x434b01 from'morphdom';import{NodeWithChildren as _0x4cdbc7,Text as _0x1d0cab,Element as _0x37807b,isText as _0xf47fdb,isDocument as _0x3c2356,isTag as _0x4daaba,cloneNode as _0x923c21,getChildren as _0x323802,prepend as _0x29364e,removeElement as _0x21c1fc,textContent as _0x4f2b27,render as _0x1850e0}from'./htmlparser.js';function _0x243e(_0x3fee34,_0x18a9a1){const _0x1de2e2=_0x1de2();return _0x243e=function(_0x243eef,_0x5f3b9e){_0x243eef=_0x243eef-0x12f;let _0x14e8fa=_0x1de2e2[_0x243eef];return _0x14e8fa;},_0x243e(_0x3fee34,_0x18a9a1);}function _0x1de2(){const _0x477861=['tagName','stream','1824573TaRZFx','strong','6cpqFhB','parent','624665VBePOC','replaceWith','ai-html-streamer-current-index-out-of-bounds','length','40bmsMhu','includes','currentIndex','2531970XPEWtG','shouldBeStreamed','isWordSplitResult','sup','reverse','bind','delay','entries','nodesList','sub','splitTextNodeIntoWordNodes','2KSpgLl','attribs','getParsedDocumentNodeList','match','del','isWordSplitSource','textNodeStyle','signal','2438392zGCSxG','map','childNodes','querySelectorAll','join','span[data-ck-html-streamer-word-chunk]','code','cleanUpAnimations','div','push','755739xYeZsC','mark','document','span','options','forEach','timeoutAbortController','stop','55hWtFUF','onStreamUpdate','addEventListener','now','1177450SQlBek','children','986867IbuOnC','ins','abort','renderNode','isStreaming','from'];_0x1de2=function(){return _0x477861;};return _0x1de2();}import{logWarning as _0x492cf4}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x4889d9(0x15e)];[_0x4889d9(0x16c)]=!0x1;[_0x4889d9(0x15c)]=null;[_0x4889d9(0x145)]=[];[_0x4889d9(0x13c)]=0x0;[_0x4889d9(0x160)]=null;constructor(_0x44d468){const _0x4a6da4=_0x4889d9;this[_0x4a6da4(0x15e)]={'delay':_0x44d468[_0x4a6da4(0x143)]??0x14,'textNodeStyle':_0x44d468[_0x4a6da4(0x14e)],'onStreamUpdate':_0x44d468[_0x4a6da4(0x163)]||(()=>{})};}async[_0x4889d9(0x131)]({document:_0x582f25,targetElement:_0x1a86ab,abortSignal:_0x2d25fa}){const _0x4cb262=_0x4889d9;this[_0x4cb262(0x16c)]&&this[_0x4cb262(0x161)](),_0x2d25fa?.[_0x4cb262(0x164)](_0x4cb262(0x16a),this[_0x4cb262(0x161)][_0x4cb262(0x142)](this)),this[_0x4cb262(0x15c)]=_0x923c21(_0x582f25,!0x0),this[_0x4cb262(0x145)]=this[_0x4cb262(0x14a)](),this[_0x4cb262(0x16c)]=!0x0,this[_0x4cb262(0x13c)]>this[_0x4cb262(0x145)][_0x4cb262(0x139)]&&(_0x492cf4(_0x4cb262(0x138),{'currentIndex':this[_0x4cb262(0x13c)],'nodeList':this[_0x4cb262(0x145)]}),this[_0x4cb262(0x13c)]=this[_0x4cb262(0x145)][_0x4cb262(0x139)]);for(let _0x25bd0f=0x0;_0x25bd0f<this[_0x4cb262(0x13c)];_0x25bd0f++)this[_0x4cb262(0x145)][_0x25bd0f][_0x4cb262(0x13e)]=!0x0;let _0xd9b031=0x0;for(let _0xeecef6=this[_0x4cb262(0x13c)];_0xeecef6<this[_0x4cb262(0x145)][_0x4cb262(0x139)];_0xeecef6++){const _0x56824a=Date[_0x4cb262(0x165)](),_0x1f3460=this[_0x4cb262(0x145)][_0xeecef6],_0x1a98d2=_0x56824a-_0xd9b031;_0x1f3460[_0x4cb262(0x13e)]=!0x0;let _0x94f439=_0x1f3460[_0x4cb262(0x135)];for(;_0x94f439;)_0x94f439[_0x4cb262(0x13e)]=!0x0,_0x94f439=_0x94f439[_0x4cb262(0x135)];if(_0x1a98d2<this[_0x4cb262(0x15e)][_0x4cb262(0x143)])try{const {promise:_0x1496ad,abortController:_0x3f37ff}=pr(this[_0x4cb262(0x15e)][_0x4cb262(0x143)]-_0x1a98d2);this[_0x4cb262(0x160)]=_0x3f37ff,await _0x1496ad;}catch(_0x3f8266){return;}_0x434b01(_0x1a86ab,'<'+_0x1a86ab[_0x4cb262(0x130)]+'>'+this[_0x4cb262(0x16b)](this[_0x4cb262(0x15c)])+'</'+_0x1a86ab[_0x4cb262(0x130)]+'>',{'childrenOnly':!0x0}),this[_0x4cb262(0x15e)][_0x4cb262(0x163)]&&this[_0x4cb262(0x15e)][_0x4cb262(0x163)](),this[_0x4cb262(0x13c)]=_0xeecef6,_0xd9b031=Date[_0x4cb262(0x165)]();}this[_0x4cb262(0x16c)]=!0x1;}[_0x4889d9(0x157)]({targetElement:_0x102133}){const _0x48c0df=_0x4889d9;Array[_0x48c0df(0x12f)](_0x102133[_0x48c0df(0x153)](_0x48c0df(0x155)))[_0x48c0df(0x141)]()[_0x48c0df(0x15f)](_0x567ecc=>{const _0x4872e5=_0x48c0df;_0x567ecc[_0x4872e5(0x137)](_0x567ecc[_0x4872e5(0x152)][0x0]);});}[_0x4889d9(0x161)](){const _0x5481e0=_0x4889d9;this[_0x5481e0(0x16c)]=!0x1,this[_0x5481e0(0x160)]&&(this[_0x5481e0(0x160)][_0x5481e0(0x16a)](),this[_0x5481e0(0x160)]=null);}[_0x4889d9(0x16b)](_0x344eb4){const _0x3c70f2=_0x4889d9;let _0x38d470='';if(function(_0x962ee6){return _0x3c2356(_0x962ee6);}(_0x344eb4)){for(const _0x5e36aa of _0x344eb4[_0x3c70f2(0x167)])_0x38d470+=this[_0x3c70f2(0x16b)](_0x5e36aa);}else{if(dr(_0x344eb4)){if(!_0x344eb4[_0x3c70f2(0x13e)])return'';const _0x11b5ac=_0x344eb4,_0x21e0b3=Object[_0x3c70f2(0x144)](_0x11b5ac[_0x3c70f2(0x149)])[_0x3c70f2(0x151)](([_0x173500,_0x3df48d])=>_0x173500+'=\x22'+_0x3df48d+'\x22')[_0x3c70f2(0x154)]('\x20');_0x38d470+='<'+_0x11b5ac[_0x3c70f2(0x130)]+(_0x21e0b3?'\x20'+_0x21e0b3:'')+'>';for(const _0x23bd4f of _0x323802(_0x11b5ac))_0x38d470+=this[_0x3c70f2(0x16b)](_0x23bd4f);_0x38d470+='</'+_0x11b5ac[_0x3c70f2(0x130)]+'>';}else{if(!ar(_0x344eb4))return'';if(!_0x344eb4[_0x3c70f2(0x13e)])return'';!function(_0x2e49e1){const _0x246e69=_0x3c70f2;if(!_0x2e49e1[_0x246e69(0x135)]||!dr(_0x2e49e1[_0x246e69(0x135)]))return!0x1;if(!cr[_0x246e69(0x13b)](_0x2e49e1[_0x246e69(0x135)][_0x246e69(0x130)]))return!0x1;return!_0x4f2b27(_0x2e49e1)[_0x246e69(0x14b)](/^\s*[<>]\s*$/);}(_0x344eb4)?_0x38d470+=_0x1850e0(_0x344eb4):_0x38d470+=_0x1850e0(new _0x37807b(_0x3c70f2(0x15d),{'data-ck-html-streamer-word-chunk':'','style':this[_0x3c70f2(0x15e)][_0x3c70f2(0x14e)]},[_0x344eb4]));}}return _0x38d470;}[_0x4889d9(0x14a)](){const _0x552cd7=_0x4889d9,_0x55e6fa=[];return function(_0x384288,_0x27835e){const _0x1fb3dc=_0x243e,_0x4eaa52=_0x2e34ad=>{const _0x518960=_0x243e;if(_0x27835e(_0x2e34ad),_0x2e34ad instanceof _0x4cdbc7)for(let _0x32d649=0x0;_0x32d649<_0x2e34ad[_0x518960(0x167)][_0x518960(0x139)];_0x32d649++){const _0xf1a331=_0x2e34ad[_0x518960(0x167)][_0x32d649];_0x4eaa52(_0xf1a331);}};for(let _0x32778f=0x0;_0x32778f<_0x384288[_0x1fb3dc(0x167)][_0x1fb3dc(0x139)];_0x32778f++)_0x4eaa52(_0x384288[_0x1fb3dc(0x167)][_0x32778f]);}(this[_0x552cd7(0x15c)],_0x36803a=>{const _0xfe1923=_0x552cd7;if(ar(_0x36803a)){const _0x5c2dba=this[_0xfe1923(0x147)](_0x36803a);_0x5c2dba[_0xfe1923(0x139)]&&_0x55e6fa[_0xfe1923(0x159)](..._0x5c2dba);}_0x36803a[_0xfe1923(0x14d)]||_0x36803a[_0xfe1923(0x13f)]||_0x55e6fa[_0xfe1923(0x159)](_0x36803a);}),_0x55e6fa;}[_0x4889d9(0x147)](_0xf9db73){const _0x10f362=_0x4889d9;if(_0xf9db73[_0x10f362(0x14d)]||_0xf9db73[_0x10f362(0x13f)])return[];const _0x456ca4=_0x4f2b27(_0xf9db73)[_0x10f362(0x14b)](/(?:\s*\S+\s*)/g),_0x557787=[];if(_0x456ca4&&_0x456ca4[_0x10f362(0x139)]>0x1){for(const _0x46e7d0 of _0x456ca4){const _0x1ceee4=new _0x1d0cab(_0x46e7d0);_0x1ceee4[_0x10f362(0x13f)]=!0x0,_0x29364e(_0xf9db73,_0x1ceee4),_0x557787[_0x10f362(0x159)](_0x1ceee4);}_0xf9db73[_0x10f362(0x14d)]=!0x0,_0x21c1fc(_0xf9db73);}return _0x557787;}}const cr=['p','li','td','th',_0x4889d9(0x15d),'h1','h2','h3','h4','h5','h6','b',_0x4889d9(0x133),'i','em',_0x4889d9(0x15b),_0x4889d9(0x14c),_0x4889d9(0x169),_0x4889d9(0x140),_0x4889d9(0x146),'a',_0x4889d9(0x156),_0x4889d9(0x158)];function ar(_0x39b480){return _0xf47fdb(_0x39b480);}function dr(_0x2524c9){return _0x4daaba(_0x2524c9);}function pr(_0x500116){const _0x29060c=new AbortController();return{'promise':new Promise((_0x5ee33b,_0x522b9a)=>{const _0x2df6a8=_0x243e,_0xde7172=setTimeout(_0x5ee33b,_0x500116);_0x29060c[_0x2df6a8(0x14f)][_0x2df6a8(0x164)](_0x2df6a8(0x16a),()=>{clearTimeout(_0xde7172),_0x522b9a();});}),'abortController':_0x29060c};}
23
+ const _0x3b8a1a=_0x54c3;(function(_0x557d7f,_0x2f5ebe){const _0x7a2461=_0x54c3,_0x4eb86b=_0x557d7f();while(!![]){try{const _0x65e0f4=-parseInt(_0x7a2461(0x1df))/0x1+-parseInt(_0x7a2461(0x1d9))/0x2*(parseInt(_0x7a2461(0x1de))/0x3)+parseInt(_0x7a2461(0x1e0))/0x4*(parseInt(_0x7a2461(0x1d6))/0x5)+-parseInt(_0x7a2461(0x1c1))/0x6*(-parseInt(_0x7a2461(0x1b4))/0x7)+parseInt(_0x7a2461(0x1bf))/0x8*(parseInt(_0x7a2461(0x1ce))/0x9)+-parseInt(_0x7a2461(0x1e6))/0xa+parseInt(_0x7a2461(0x1e1))/0xb*(parseInt(_0x7a2461(0x1b3))/0xc);if(_0x65e0f4===_0x2f5ebe)break;else _0x4eb86b['push'](_0x4eb86b['shift']());}catch(_0x2611bb){_0x4eb86b['push'](_0x4eb86b['shift']());}}}(_0x10cf,0x994aa));import _0x43f2b9 from'morphdom';import{NodeWithChildren as _0x573230,Text as _0x57c87c,Element as _0x363ab7,isText as _0x5df9aa,isDocument as _0x2eee53,isTag as _0x8b2d8f,cloneNode as _0x5e58b4,getChildren as _0x2cbe9a,prepend as _0x21a36d,removeElement as _0x5575f9,textContent as _0x4ac33c,render as _0x176bcc}from'./htmlparser.js';function _0x54c3(_0x2804ae,_0x42bf91){const _0x10cf2d=_0x10cf();return _0x54c3=function(_0x54c3f4,_0x2fa5ff){_0x54c3f4=_0x54c3f4-0x1b3;let _0x4d7f0a=_0x10cf2d[_0x54c3f4];return _0x4d7f0a;},_0x54c3(_0x2804ae,_0x42bf91);}function _0x10cf(){const _0x114e49=['isStreaming','nodesList','sub','renderNode','children','isWordSplitResult','map','replaceWith','code','match','div','9KvJyFU','now','span[data-ck-html-streamer-word-chunk]','document','currentIndex','mark','includes','stream','25oppbkg','querySelectorAll','shouldBeStreamed','2PEbQZC','abort','span','bind','isWordSplitSource','3489171zMZvrh','134852NNEPEq','204392UXJJyW','121GYEsDj','del','strong','textNodeStyle','join','738960NHusAa','from','sup','splitTextNodeIntoWordNodes','tagName','childNodes','length','reverse','parent','attribs','entries','addEventListener','839892iRBtBq','1337zMhpaN','delay','onStreamUpdate','getParsedDocumentNodeList','stop','push','ins','timeoutAbortController','cleanUpAnimations','options','ai-html-streamer-current-index-out-of-bounds','7606424fSXxvo','forEach','738KMOCYU','signal'];_0x10cf=function(){return _0x114e49;};return _0x10cf();}import{logWarning as _0x35c309}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x3b8a1a(0x1bd)];[_0x3b8a1a(0x1c3)]=!0x1;[_0x3b8a1a(0x1d1)]=null;[_0x3b8a1a(0x1c4)]=[];[_0x3b8a1a(0x1d2)]=0x0;[_0x3b8a1a(0x1bb)]=null;constructor(_0x3a72da){const _0x1a3544=_0x3b8a1a;this[_0x1a3544(0x1bd)]={'delay':_0x3a72da[_0x1a3544(0x1b5)]??0x14,'textNodeStyle':_0x3a72da[_0x1a3544(0x1e4)],'onStreamUpdate':_0x3a72da[_0x1a3544(0x1b6)]||(()=>{})};}async[_0x3b8a1a(0x1d5)]({document:_0x2372d0,targetElement:_0x38b155,abortSignal:_0x581181}){const _0x22eb18=_0x3b8a1a;this[_0x22eb18(0x1c3)]&&this[_0x22eb18(0x1b8)](),_0x581181?.[_0x22eb18(0x1f1)](_0x22eb18(0x1da),this[_0x22eb18(0x1b8)][_0x22eb18(0x1dc)](this)),this[_0x22eb18(0x1d1)]=_0x5e58b4(_0x2372d0,!0x0),this[_0x22eb18(0x1c4)]=this[_0x22eb18(0x1b7)](),this[_0x22eb18(0x1c3)]=!0x0,this[_0x22eb18(0x1d2)]>this[_0x22eb18(0x1c4)][_0x22eb18(0x1ec)]&&(_0x35c309(_0x22eb18(0x1be),{'currentIndex':this[_0x22eb18(0x1d2)],'nodeList':this[_0x22eb18(0x1c4)]}),this[_0x22eb18(0x1d2)]=this[_0x22eb18(0x1c4)][_0x22eb18(0x1ec)]);for(let _0x7ba9a7=0x0;_0x7ba9a7<this[_0x22eb18(0x1d2)];_0x7ba9a7++)this[_0x22eb18(0x1c4)][_0x7ba9a7][_0x22eb18(0x1d8)]=!0x0;let _0x271660=0x0;for(let _0x21e4c6=this[_0x22eb18(0x1d2)];_0x21e4c6<this[_0x22eb18(0x1c4)][_0x22eb18(0x1ec)];_0x21e4c6++){const _0x22e50f=Date[_0x22eb18(0x1cf)](),_0x4898a7=this[_0x22eb18(0x1c4)][_0x21e4c6],_0xf87a8=_0x22e50f-_0x271660;_0x4898a7[_0x22eb18(0x1d8)]=!0x0;let _0x277af4=_0x4898a7[_0x22eb18(0x1ee)];for(;_0x277af4;)_0x277af4[_0x22eb18(0x1d8)]=!0x0,_0x277af4=_0x277af4[_0x22eb18(0x1ee)];if(_0xf87a8<this[_0x22eb18(0x1bd)][_0x22eb18(0x1b5)])try{const {promise:_0x24618a,abortController:_0x4255a8}=pr(this[_0x22eb18(0x1bd)][_0x22eb18(0x1b5)]-_0xf87a8);this[_0x22eb18(0x1bb)]=_0x4255a8,await _0x24618a;}catch(_0xcbbf95){return;}_0x43f2b9(_0x38b155,'<'+_0x38b155[_0x22eb18(0x1ea)]+'>'+this[_0x22eb18(0x1c6)](this[_0x22eb18(0x1d1)])+'</'+_0x38b155[_0x22eb18(0x1ea)]+'>',{'childrenOnly':!0x0}),this[_0x22eb18(0x1bd)][_0x22eb18(0x1b6)]&&this[_0x22eb18(0x1bd)][_0x22eb18(0x1b6)](),this[_0x22eb18(0x1d2)]=_0x21e4c6,_0x271660=Date[_0x22eb18(0x1cf)]();}this[_0x22eb18(0x1c3)]=!0x1;}[_0x3b8a1a(0x1bc)]({targetElement:_0x5704ba}){const _0x6dd74c=_0x3b8a1a;Array[_0x6dd74c(0x1e7)](_0x5704ba[_0x6dd74c(0x1d7)](_0x6dd74c(0x1d0)))[_0x6dd74c(0x1ed)]()[_0x6dd74c(0x1c0)](_0x18e6b2=>{const _0x319e0e=_0x6dd74c;_0x18e6b2[_0x319e0e(0x1ca)](_0x18e6b2[_0x319e0e(0x1eb)][0x0]);});}[_0x3b8a1a(0x1b8)](){const _0x3673ee=_0x3b8a1a;this[_0x3673ee(0x1c3)]=!0x1,this[_0x3673ee(0x1bb)]&&(this[_0x3673ee(0x1bb)][_0x3673ee(0x1da)](),this[_0x3673ee(0x1bb)]=null);}[_0x3b8a1a(0x1c6)](_0x35c3ec){const _0x5dd7d0=_0x3b8a1a;let _0x47f39e='';if(function(_0x2ad64a){return _0x2eee53(_0x2ad64a);}(_0x35c3ec)){for(const _0x3465b4 of _0x35c3ec[_0x5dd7d0(0x1c7)])_0x47f39e+=this[_0x5dd7d0(0x1c6)](_0x3465b4);}else{if(dr(_0x35c3ec)){if(!_0x35c3ec[_0x5dd7d0(0x1d8)])return'';const _0x33f07d=_0x35c3ec,_0x18ff34=Object[_0x5dd7d0(0x1f0)](_0x33f07d[_0x5dd7d0(0x1ef)])[_0x5dd7d0(0x1c9)](([_0x5b8d49,_0x2d372a])=>_0x5b8d49+'=\x22'+_0x2d372a+'\x22')[_0x5dd7d0(0x1e5)]('\x20');_0x47f39e+='<'+_0x33f07d[_0x5dd7d0(0x1ea)]+(_0x18ff34?'\x20'+_0x18ff34:'')+'>';for(const _0x191a3f of _0x2cbe9a(_0x33f07d))_0x47f39e+=this[_0x5dd7d0(0x1c6)](_0x191a3f);_0x47f39e+='</'+_0x33f07d[_0x5dd7d0(0x1ea)]+'>';}else{if(!ar(_0x35c3ec))return'';if(!_0x35c3ec[_0x5dd7d0(0x1d8)])return'';!function(_0x23ae05){const _0x53eab0=_0x5dd7d0;if(!_0x23ae05[_0x53eab0(0x1ee)]||!dr(_0x23ae05[_0x53eab0(0x1ee)]))return!0x1;if(!cr[_0x53eab0(0x1d4)](_0x23ae05[_0x53eab0(0x1ee)][_0x53eab0(0x1ea)]))return!0x1;return!_0x4ac33c(_0x23ae05)[_0x53eab0(0x1cc)](/^\s*[<>]\s*$/);}(_0x35c3ec)?_0x47f39e+=_0x176bcc(_0x35c3ec):_0x47f39e+=_0x176bcc(new _0x363ab7(_0x5dd7d0(0x1db),{'data-ck-html-streamer-word-chunk':'','style':this[_0x5dd7d0(0x1bd)][_0x5dd7d0(0x1e4)]},[_0x35c3ec]));}}return _0x47f39e;}[_0x3b8a1a(0x1b7)](){const _0x4c53c0=_0x3b8a1a,_0x440ec4=[];return function(_0x5127ae,_0x3b2e6a){const _0x40c150=_0x54c3,_0x50db6c=_0x424f4e=>{const _0x37ef2b=_0x54c3;if(_0x3b2e6a(_0x424f4e),_0x424f4e instanceof _0x573230)for(let _0xd10183=0x0;_0xd10183<_0x424f4e[_0x37ef2b(0x1c7)][_0x37ef2b(0x1ec)];_0xd10183++){const _0x47d945=_0x424f4e[_0x37ef2b(0x1c7)][_0xd10183];_0x50db6c(_0x47d945);}};for(let _0xb77401=0x0;_0xb77401<_0x5127ae[_0x40c150(0x1c7)][_0x40c150(0x1ec)];_0xb77401++)_0x50db6c(_0x5127ae[_0x40c150(0x1c7)][_0xb77401]);}(this[_0x4c53c0(0x1d1)],_0x43d67d=>{const _0x3a16ef=_0x4c53c0;if(ar(_0x43d67d)){const _0x22fbb9=this[_0x3a16ef(0x1e9)](_0x43d67d);_0x22fbb9[_0x3a16ef(0x1ec)]&&_0x440ec4[_0x3a16ef(0x1b9)](..._0x22fbb9);}_0x43d67d[_0x3a16ef(0x1dd)]||_0x43d67d[_0x3a16ef(0x1c8)]||_0x440ec4[_0x3a16ef(0x1b9)](_0x43d67d);}),_0x440ec4;}[_0x3b8a1a(0x1e9)](_0x1c730f){const _0x27d1e1=_0x3b8a1a;if(_0x1c730f[_0x27d1e1(0x1dd)]||_0x1c730f[_0x27d1e1(0x1c8)])return[];const _0x29244c=_0x4ac33c(_0x1c730f)[_0x27d1e1(0x1cc)](/(?:\s*\S+\s*)/g),_0x22d81b=[];if(_0x29244c&&_0x29244c[_0x27d1e1(0x1ec)]>0x1){for(const _0x362b10 of _0x29244c){const _0x11cade=new _0x57c87c(_0x362b10);_0x11cade[_0x27d1e1(0x1c8)]=!0x0,_0x21a36d(_0x1c730f,_0x11cade),_0x22d81b[_0x27d1e1(0x1b9)](_0x11cade);}_0x1c730f[_0x27d1e1(0x1dd)]=!0x0,_0x5575f9(_0x1c730f);}return _0x22d81b;}}const cr=['p','li','td','th',_0x3b8a1a(0x1db),'h1','h2','h3','h4','h5','h6','b',_0x3b8a1a(0x1e3),'i','em',_0x3b8a1a(0x1d3),_0x3b8a1a(0x1e2),_0x3b8a1a(0x1ba),_0x3b8a1a(0x1e8),_0x3b8a1a(0x1c5),'a',_0x3b8a1a(0x1cb),_0x3b8a1a(0x1cd)];function ar(_0x1d6dd3){return _0x5df9aa(_0x1d6dd3);}function dr(_0xf4733d){return _0x8b2d8f(_0xf4733d);}function pr(_0x6bae35){const _0x354e42=new AbortController();return{'promise':new Promise((_0x2355c4,_0x4b547c)=>{const _0x1898e8=_0x54c3,_0x4df4e6=setTimeout(_0x2355c4,_0x6bae35);_0x354e42[_0x1898e8(0x1c2)][_0x1898e8(0x1f1)](_0x1898e8(0x1da),()=>{clearTimeout(_0x4df4e6),_0x4b547c();});}),'abortController':_0x354e42};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xde3ed=_0x570d;(function(_0x1ae3f6,_0x417792){var _0x58a66e=_0x570d,_0x24d58d=_0x1ae3f6();while(!![]){try{var _0x21606b=-parseInt(_0x58a66e(0x1af))/0x1*(parseInt(_0x58a66e(0x1a9))/0x2)+-parseInt(_0x58a66e(0x1a6))/0x3*(parseInt(_0x58a66e(0x1ad))/0x4)+parseInt(_0x58a66e(0x1a1))/0x5*(-parseInt(_0x58a66e(0x1a8))/0x6)+parseInt(_0x58a66e(0x1ac))/0x7+parseInt(_0x58a66e(0x1a0))/0x8*(-parseInt(_0x58a66e(0x1a5))/0x9)+-parseInt(_0x58a66e(0x1ab))/0xa+parseInt(_0x58a66e(0x1aa))/0xb;if(_0x21606b===_0x417792)break;else _0x24d58d['push'](_0x24d58d['shift']());}catch(_0x5e748e){_0x24d58d['push'](_0x24d58d['shift']());}}}(_0xf614,0x3c32e));function _0xf614(){var _0x29dd48=['3345923xfmIDR','4RFdXoO','requires','33sfxqAk','1063856CJCfDe','14290pkyGNA','isPremiumPlugin','AIEditorIntegration','pluginName','9lKzUiG','880602bOpsSH','isOfficialPlugin','156KQveYI','234OsmYOt','8251826daaIcD','4768960nNZSWW'];_0xf614=function(){return _0x29dd48;};return _0xf614();}import{Plugin as _0x31d1c5}from'ckeditor5/src/core.js';function _0x570d(_0x3b4bef,_0xebd701){var _0xf614a4=_0xf614();return _0x570d=function(_0x570d19,_0x38bde6){_0x570d19=_0x570d19-0x1a0;var _0x4a3368=_0xf614a4[_0x570d19];return _0x4a3368;},_0x570d(_0x3b4bef,_0xebd701);}import{AIToggleButtonUI as _0x4c09bb}from'./aitogglebutton/aitogglebuttonui.js';import{SuggestionsConversion as _0x1e871e}from'@ckeditor/ckeditor5-collaboration-core';export class AIEditorIntegration extends _0x31d1c5{static get[_0xde3ed(0x1ae)](){return[_0x4c09bb,_0x1e871e];}static get[_0xde3ed(0x1a4)](){var _0x1049ea=_0xde3ed;return _0x1049ea(0x1a3);}static get[_0xde3ed(0x1a7)](){return!0x0;}static get[_0xde3ed(0x1a2)](){return!0x0;}}
23
+ function _0x263a(_0x5a037a,_0x277393){var _0x3b8b5f=_0x3b8b();return _0x263a=function(_0x263a25,_0xb9b4d8){_0x263a25=_0x263a25-0xb2;var _0x451dca=_0x3b8b5f[_0x263a25];return _0x451dca;},_0x263a(_0x5a037a,_0x277393);}function _0x3b8b(){var _0x456a62=['3445023qLuqGg','20dvPYGk','isOfficialPlugin','AIEditorIntegration','requires','25226894jRpFUG','2099732JBZeIp','12488iBwOPo','2274wJuVxY','5YwuRVe','isPremiumPlugin','913696bCAyRg','4585688cfdkli','pluginName','2vaebsO','2759472RDPCig','12OzMAVv'];_0x3b8b=function(){return _0x456a62;};return _0x3b8b();}var _0x3171c1=_0x263a;(function(_0x1330cf,_0x2c95bd){var _0x31ea70=_0x263a,_0xde038c=_0x1330cf();while(!![]){try{var _0x4f8ccd=parseInt(_0x31ea70(0xb7))/0x1+parseInt(_0x31ea70(0xba))/0x2*(-parseInt(_0x31ea70(0xbd))/0x3)+-parseInt(_0x31ea70(0xb2))/0x4*(parseInt(_0x31ea70(0xb5))/0x5)+parseInt(_0x31ea70(0xb4))/0x6*(-parseInt(_0x31ea70(0xb3))/0x7)+parseInt(_0x31ea70(0xb8))/0x8+parseInt(_0x31ea70(0xbb))/0x9*(-parseInt(_0x31ea70(0xbe))/0xa)+-parseInt(_0x31ea70(0xc2))/0xb*(-parseInt(_0x31ea70(0xbc))/0xc);if(_0x4f8ccd===_0x2c95bd)break;else _0xde038c['push'](_0xde038c['shift']());}catch(_0x8941ef){_0xde038c['push'](_0xde038c['shift']());}}}(_0x3b8b,0xc79e3));import{Plugin as _0xc84cb8}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x3699e0}from'./aitogglebutton/aitogglebuttonui.js';import{SuggestionsConversion as _0x470862}from'@ckeditor/ckeditor5-collaboration-core';export class AIEditorIntegration extends _0xc84cb8{static get[_0x3171c1(0xc1)](){return[_0x3699e0,_0x470862];}static get[_0x3171c1(0xb9)](){var _0x2f9e4e=_0x3171c1;return _0x2f9e4e(0xc0);}static get[_0x3171c1(0xbf)](){return!0x0;}static get[_0x3171c1(0xb6)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5219(_0x49837e,_0x180fb9){const _0x4c479d=_0x4c47();return _0x5219=function(_0x5219cf,_0x56d0ef){_0x5219cf=_0x5219cf-0x160;let _0x5530be=_0x4c479d[_0x5219cf];return _0x5530be;},_0x5219(_0x49837e,_0x180fb9);}const _0x4b55fe=_0x5219;(function(_0x5c3c37,_0x4e2750){const _0x2fd93b=_0x5219,_0x20dcac=_0x5c3c37();while(!![]){try{const _0x54d78d=-parseInt(_0x2fd93b(0x16a))/0x1*(-parseInt(_0x2fd93b(0x171))/0x2)+parseInt(_0x2fd93b(0x170))/0x3+-parseInt(_0x2fd93b(0x172))/0x4*(-parseInt(_0x2fd93b(0x165))/0x5)+-parseInt(_0x2fd93b(0x175))/0x6+parseInt(_0x2fd93b(0x177))/0x7+parseInt(_0x2fd93b(0x169))/0x8+-parseInt(_0x2fd93b(0x162))/0x9;if(_0x54d78d===_0x4e2750)break;else _0x20dcac['push'](_0x20dcac['shift']());}catch(_0x344507){_0x20dcac['push'](_0x20dcac['shift']());}}}(_0x4c47,0x59dae));import{Plugin as _0x2b22f9}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x5591d1}from'./toggleaicommand.js';import{ButtonView as _0x4ac729,MenuBarMenuListItemButtonView as _0x43b7e3}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x13d09d}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x1cc149}from'../../aicore/utils/common-translations.js';import{AITabs as _0x38feab}from'../../aitabs/aitabs.js';function _0x4c47(){const _0x2ff2ce=['editor','set','requires','menuBar:toggleAi','isOn','init','execute','get','isEnabled','toggleAi','isOfficialPlugin','listenTo','10373391sAkugU','locale','_createAIUIButton','230fKXhDX','bind','pluginName','menuitemcheckbox','2353552eonDtz','26BiZCLj','AIToggleButtonUI','ck-ai-toggle-button','componentFactory','value','isPremiumPlugin','269556wbNmbx','47612egZYCm','18248SHICBi','add','commands','1997964GiauBi','AI_TOGGLE_BUTTON_LABEL','4485495BcdoYZ'];_0x4c47=function(){return _0x2ff2ce;};return _0x4c47();}import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x2b22f9{static get[_0x4b55fe(0x17a)](){return[_0x38feab];}static get[_0x4b55fe(0x167)](){const _0x3c9a9b=_0x4b55fe;return _0x3c9a9b(0x16b);}static get[_0x4b55fe(0x160)](){return!0x0;}static get[_0x4b55fe(0x16f)](){return!0x0;}[_0x4b55fe(0x17d)](){const _0x47f1a3=_0x4b55fe,_0x354d9f=this[_0x47f1a3(0x178)];_0x354d9f[_0x47f1a3(0x174)][_0x47f1a3(0x173)](_0x47f1a3(0x181),new _0x5591d1(_0x354d9f)),_0x354d9f['ui'][_0x47f1a3(0x16d)][_0x47f1a3(0x173)](_0x47f1a3(0x181),()=>{const _0x1a4df2=_0x47f1a3,_0x4d9489=this[_0x1a4df2(0x164)](_0x4ac729);return _0x4d9489[_0x1a4df2(0x179)]({'tooltip':!0x0,'class':_0x1a4df2(0x16c)}),_0x4d9489;}),_0x354d9f['ui'][_0x47f1a3(0x16d)][_0x47f1a3(0x173)](_0x47f1a3(0x17b),()=>{const _0x217c79=_0x47f1a3,_0x161fed=this[_0x217c79(0x164)](_0x43b7e3);return _0x161fed[_0x217c79(0x179)]({'role':_0x217c79(0x168)}),_0x161fed;});}[_0x4b55fe(0x164)](_0x456c64){const _0x120dfb=_0x4b55fe,_0x35fd4a=this[_0x120dfb(0x178)],_0x37c494=_0x35fd4a[_0x120dfb(0x174)][_0x120dfb(0x17f)](_0x120dfb(0x181)),_0x3f3799=new _0x456c64(_0x35fd4a[_0x120dfb(0x163)]);return _0x3f3799[_0x120dfb(0x179)]({'label':_0x1cc149(_0x35fd4a[_0x120dfb(0x163)],_0x120dfb(0x176)),'icon':_0x13d09d,'isToggleable':!0x0}),_0x3f3799[_0x120dfb(0x166)](_0x120dfb(0x180))['to'](_0x37c494),_0x3f3799[_0x120dfb(0x166)](_0x120dfb(0x17c))['to'](_0x37c494,_0x120dfb(0x16e),_0x4b87e5=>!!_0x4b87e5),this[_0x120dfb(0x161)](_0x3f3799,_0x120dfb(0x17e),()=>{const _0x5f2c30=_0x120dfb;_0x37c494[_0x5f2c30(0x17e)]();}),_0x3f3799;}}
23
+ function _0x12f5(_0x24e80d,_0x4dba93){const _0x471a56=_0x471a();return _0x12f5=function(_0x12f548,_0x45ed04){_0x12f548=_0x12f548-0x109;let _0x2cf043=_0x471a56[_0x12f548];return _0x2cf043;},_0x12f5(_0x24e80d,_0x4dba93);}const _0x4d3dd3=_0x12f5;(function(_0x230715,_0x5442b6){const _0x5fffa0=_0x12f5,_0x3986a5=_0x230715();while(!![]){try{const _0x3f3c48=-parseInt(_0x5fffa0(0x117))/0x1*(parseInt(_0x5fffa0(0x12b))/0x2)+-parseInt(_0x5fffa0(0x119))/0x3*(parseInt(_0x5fffa0(0x125))/0x4)+parseInt(_0x5fffa0(0x10b))/0x5*(-parseInt(_0x5fffa0(0x118))/0x6)+-parseInt(_0x5fffa0(0x12a))/0x7*(-parseInt(_0x5fffa0(0x121))/0x8)+-parseInt(_0x5fffa0(0x113))/0x9*(-parseInt(_0x5fffa0(0x10d))/0xa)+parseInt(_0x5fffa0(0x123))/0xb+-parseInt(_0x5fffa0(0x10c))/0xc*(-parseInt(_0x5fffa0(0x116))/0xd);if(_0x3f3c48===_0x5442b6)break;else _0x3986a5['push'](_0x3986a5['shift']());}catch(_0x434203){_0x3986a5['push'](_0x3986a5['shift']());}}}(_0x471a,0xc69a1));import{Plugin as _0x40cc}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x46a3b6}from'./toggleaicommand.js';import{ButtonView as _0xbf6c15,MenuBarMenuListItemButtonView as _0x39ee96}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x13c643}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x130bf7}from'../../aicore/utils/common-translations.js';import{AITabs as _0x1a766a}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';function _0x471a(){const _0x51b0de=['516djIeXK','46540anyKuA','value','set','execute','requires','add','1062FpARjH','bind','isOfficialPlugin','435539VitXnl','1350JFOnKj','1339410rLppQg','3905598ovLFPB','ck-ai-toggle-button','get','editor','AI_TOGGLE_BUTTON_LABEL','AIToggleButtonUI','toggleAi','_createAIUIButton','5656HHFQvV','locale','4995826ErbVTg','init','4ETiDUa','menuBar:toggleAi','isEnabled','pluginName','commands','4557PVmPTT','838sVMsnz','componentFactory','isOn','menuitemcheckbox','listenTo','isPremiumPlugin','5nNdFzw'];_0x471a=function(){return _0x51b0de;};return _0x471a();}export class AIToggleButtonUI extends _0x40cc{static get[_0x4d3dd3(0x111)](){return[_0x1a766a];}static get[_0x4d3dd3(0x128)](){const _0x22e765=_0x4d3dd3;return _0x22e765(0x11e);}static get[_0x4d3dd3(0x115)](){return!0x0;}static get[_0x4d3dd3(0x10a)](){return!0x0;}[_0x4d3dd3(0x124)](){const _0x29a7da=_0x4d3dd3,_0x28f74e=this[_0x29a7da(0x11c)];_0x28f74e[_0x29a7da(0x129)][_0x29a7da(0x112)](_0x29a7da(0x11f),new _0x46a3b6(_0x28f74e)),_0x28f74e['ui'][_0x29a7da(0x12c)][_0x29a7da(0x112)](_0x29a7da(0x11f),()=>{const _0x53cc0b=_0x29a7da,_0x79aad6=this[_0x53cc0b(0x120)](_0xbf6c15);return _0x79aad6[_0x53cc0b(0x10f)]({'tooltip':!0x0,'class':_0x53cc0b(0x11a)}),_0x79aad6;}),_0x28f74e['ui'][_0x29a7da(0x12c)][_0x29a7da(0x112)](_0x29a7da(0x126),()=>{const _0x1189f3=_0x29a7da,_0x7e0918=this[_0x1189f3(0x120)](_0x39ee96);return _0x7e0918[_0x1189f3(0x10f)]({'role':_0x1189f3(0x12e)}),_0x7e0918;});}[_0x4d3dd3(0x120)](_0x139de0){const _0xe02f62=_0x4d3dd3,_0xdb013=this[_0xe02f62(0x11c)],_0x9c6104=_0xdb013[_0xe02f62(0x129)][_0xe02f62(0x11b)](_0xe02f62(0x11f)),_0x1316ee=new _0x139de0(_0xdb013[_0xe02f62(0x122)]);return _0x1316ee[_0xe02f62(0x10f)]({'label':_0x130bf7(_0xdb013[_0xe02f62(0x122)],_0xe02f62(0x11d)),'icon':_0x13c643,'isToggleable':!0x0}),_0x1316ee[_0xe02f62(0x114)](_0xe02f62(0x127))['to'](_0x9c6104),_0x1316ee[_0xe02f62(0x114)](_0xe02f62(0x12d))['to'](_0x9c6104,_0xe02f62(0x10e),_0x4e8f27=>!!_0x4e8f27),this[_0xe02f62(0x109)](_0x1316ee,_0xe02f62(0x110),()=>{const _0x2e52d1=_0xe02f62;_0x9c6104[_0x2e52d1(0x110)]();}),_0x1316ee;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1fb8(){const _0x252ecb=['818044ziTXSN','AITabs','12379535MVejfF','bind','value','isEnabled','73608ciNSEe','view','isVisible','33444FnUZQf','1528795BpFxCM','962440eoJQkD','9353922VHMlTn','editor','9kMFtLU','execute','get','3XQMNaz','plugins','1330dvTQVQ'];_0x1fb8=function(){return _0x252ecb;};return _0x1fb8();}const _0x46e130=_0x58c8;(function(_0x19d0f8,_0x3d6117){const _0x3ed85f=_0x58c8,_0x18b9a7=_0x19d0f8();while(!![]){try{const _0x2399c4=parseInt(_0x3ed85f(0x84))/0x1*(parseInt(_0x3ed85f(0x87))/0x2)+parseInt(_0x3ed85f(0x81))/0x3*(-parseInt(_0x3ed85f(0x7e))/0x4)+-parseInt(_0x3ed85f(0x7d))/0x5+-parseInt(_0x3ed85f(0x7f))/0x6+parseInt(_0x3ed85f(0x89))/0x7+-parseInt(_0x3ed85f(0x79))/0x8+parseInt(_0x3ed85f(0x7c))/0x9*(parseInt(_0x3ed85f(0x86))/0xa);if(_0x2399c4===_0x3d6117)break;else _0x18b9a7['push'](_0x18b9a7['shift']());}catch(_0x2e53b2){_0x18b9a7['push'](_0x18b9a7['shift']());}}}(_0x1fb8,0xda446));function _0x58c8(_0x3e367b,_0x3da72f){const _0x1fb8e2=_0x1fb8();return _0x58c8=function(_0x58c8ea,_0x136b5c){_0x58c8ea=_0x58c8ea-0x78;let _0x4e5891=_0x1fb8e2[_0x58c8ea];return _0x4e5891;},_0x58c8(_0x3e367b,_0x3da72f);}import{Command as _0x239850}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x239850{constructor(_0x5d618b){const _0x43ca6e=_0x58c8;super(_0x5d618b);const _0x10a348=_0x5d618b[_0x43ca6e(0x85)][_0x43ca6e(0x83)](_0x43ca6e(0x88))[_0x43ca6e(0x7a)];this[_0x43ca6e(0x8a)](_0x43ca6e(0x8b))['to'](_0x10a348,_0x43ca6e(0x7b)),this[_0x43ca6e(0x78)]=!0x0;}[_0x46e130(0x82)](){const _0x1ee5b7=_0x46e130,_0x4acb8e=this[_0x1ee5b7(0x80)][_0x1ee5b7(0x85)][_0x1ee5b7(0x83)](_0x1ee5b7(0x88))[_0x1ee5b7(0x7a)];_0x4acb8e[_0x1ee5b7(0x7b)]=!_0x4acb8e[_0x1ee5b7(0x7b)];}}
23
+ const _0x18ec53=_0x3909;function _0xf339(){const _0x123036=['AITabs','7QjiPFP','editor','isEnabled','4272876nSiKBZ','30CXqPbD','view','3914520zKEKEu','5097088CdwDVW','get','plugins','execute','bind','18988450okRjRe','value','708024PKCFFk','2756070ffUgch','682922nsRGzR','2JwlFRJ','isVisible'];_0xf339=function(){return _0x123036;};return _0xf339();}function _0x3909(_0x12de3c,_0x4fe641){const _0xf33987=_0xf339();return _0x3909=function(_0x3909b5,_0x55da34){_0x3909b5=_0x3909b5-0xd3;let _0x30f8c4=_0xf33987[_0x3909b5];return _0x30f8c4;},_0x3909(_0x12de3c,_0x4fe641);}(function(_0x11e49f,_0x2b1ddb){const _0x2af0c7=_0x3909,_0x51a260=_0x11e49f();while(!![]){try{const _0x48064a=-parseInt(_0x2af0c7(0xdb))/0x1*(-parseInt(_0x2af0c7(0xda))/0x2)+parseInt(_0x2af0c7(0xd9))/0x3+-parseInt(_0x2af0c7(0xe4))/0x4+-parseInt(_0x2af0c7(0xe2))/0x5*(-parseInt(_0x2af0c7(0xd8))/0x6)+-parseInt(_0x2af0c7(0xde))/0x7*(-parseInt(_0x2af0c7(0xe5))/0x8)+parseInt(_0x2af0c7(0xe1))/0x9+-parseInt(_0x2af0c7(0xd6))/0xa;if(_0x48064a===_0x2b1ddb)break;else _0x51a260['push'](_0x51a260['shift']());}catch(_0x468821){_0x51a260['push'](_0x51a260['shift']());}}}(_0xf339,0x84d3d));import{Command as _0x593f3d}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x593f3d{constructor(_0x3d418e){const _0x529894=_0x3909;super(_0x3d418e);const _0x279f54=_0x3d418e[_0x529894(0xd3)][_0x529894(0xe6)](_0x529894(0xdd))[_0x529894(0xe3)];this[_0x529894(0xd5)](_0x529894(0xd7))['to'](_0x279f54,_0x529894(0xdc)),this[_0x529894(0xe0)]=!0x0;}[_0x18ec53(0xd4)](){const _0x1529f0=_0x18ec53,_0x482d3f=this[_0x1529f0(0xdf)][_0x1529f0(0xd3)][_0x1529f0(0xe6)](_0x1529f0(0xdd))[_0x1529f0(0xe3)];_0x482d3f[_0x1529f0(0xdc)]=!_0x482d3f[_0x1529f0(0xdc)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1c150f=_0x565a;(function(_0x3226a3,_0x4a7e46){var _0x38dae0=_0x565a,_0x35a2e3=_0x3226a3();while(!![]){try{var _0x5c76bc=parseInt(_0x38dae0(0x8b))/0x1*(-parseInt(_0x38dae0(0x89))/0x2)+-parseInt(_0x38dae0(0x8f))/0x3*(-parseInt(_0x38dae0(0x86))/0x4)+-parseInt(_0x38dae0(0x88))/0x5*(parseInt(_0x38dae0(0x8c))/0x6)+parseInt(_0x38dae0(0x91))/0x7+-parseInt(_0x38dae0(0x82))/0x8*(-parseInt(_0x38dae0(0x8a))/0x9)+parseInt(_0x38dae0(0x8d))/0xa*(parseInt(_0x38dae0(0x84))/0xb)+-parseInt(_0x38dae0(0x85))/0xc;if(_0x5c76bc===_0x4a7e46)break;else _0x35a2e3['push'](_0x35a2e3['shift']());}catch(_0x15115b){_0x35a2e3['push'](_0x35a2e3['shift']());}}}(_0x12e1,0x69507));import{Plugin as _0x3fbd97}from'ckeditor5/src/core.js';function _0x12e1(){var _0x2fc52c=['isOfficialPlugin','define','80acnDkf','config','11pCdjdI','7966224XLhskr','560BiaDrG','ai.quickActions','260UDdWfW','1384spsGHb','356202MBUPEH','585UXYWUf','49272ZMMfyR','2061930AxeJcw','isPremiumPlugin','11898rmjKfj','AIQuickActions','5388950JFsWZC','pluginName','requires'];_0x12e1=function(){return _0x2fc52c;};return _0x12e1();}import{AIQuickActionsUI as _0x2e0654}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x5e33fc}from'./aiquickactionsediting.js';function _0x565a(_0x200a7d,_0x1657f8){var _0x12e11d=_0x12e1();return _0x565a=function(_0x565a69,_0x29c764){_0x565a69=_0x565a69-0x80;var _0x127329=_0x12e11d[_0x565a69];return _0x127329;},_0x565a(_0x200a7d,_0x1657f8);}import{AIActions as _0x4ca345}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x3fbd97{static get[_0x1c150f(0x93)](){return[_0x2e0654,_0x5e33fc,_0x4ca345];}static get[_0x1c150f(0x92)](){var _0x382808=_0x1c150f;return _0x382808(0x90);}static get[_0x1c150f(0x80)](){return!0x0;}static get[_0x1c150f(0x8e)](){return!0x0;}constructor(_0x2d393e){var _0x3df08f=_0x1c150f;super(_0x2d393e),_0x2d393e[_0x3df08f(0x83)][_0x3df08f(0x81)](_0x3df08f(0x87),{'extraCommands':[],'removeCommands':[]});}}
23
+ function _0x24ac(_0x407312,_0xbb683){var _0x37038a=_0x3703();return _0x24ac=function(_0x24ac85,_0x3d61ee){_0x24ac85=_0x24ac85-0x116;var _0x5853a4=_0x37038a[_0x24ac85];return _0x5853a4;},_0x24ac(_0x407312,_0xbb683);}var _0x5c44ef=_0x24ac;(function(_0xdfb235,_0x1669a6){var _0x53e13c=_0x24ac,_0x6fffab=_0xdfb235();while(!![]){try{var _0x49ef77=-parseInt(_0x53e13c(0x125))/0x1*(parseInt(_0x53e13c(0x119))/0x2)+-parseInt(_0x53e13c(0x123))/0x3+parseInt(_0x53e13c(0x124))/0x4+-parseInt(_0x53e13c(0x122))/0x5+-parseInt(_0x53e13c(0x118))/0x6+parseInt(_0x53e13c(0x11d))/0x7*(parseInt(_0x53e13c(0x11c))/0x8)+parseInt(_0x53e13c(0x120))/0x9;if(_0x49ef77===_0x1669a6)break;else _0x6fffab['push'](_0x6fffab['shift']());}catch(_0x420d4e){_0x6fffab['push'](_0x6fffab['shift']());}}}(_0x3703,0x1bd36));import{Plugin as _0x39fc87}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x92cdb6}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x2c4c25}from'./aiquickactionsediting.js';import{AIActions as _0x21e65a}from'../aiactions/aiactions.js';function _0x3703(){var _0x33ed8b=['286761zyohuY','761176VEzWfZ','1347cUIady','isPremiumPlugin','pluginName','isOfficialPlugin','295608ultGNn','334NtLgvq','config','AIQuickActions','3552qDnVSP','91MQxwfz','ai.quickActions','define','3276045OwJgKf','requires','381465oNpDZO'];_0x3703=function(){return _0x33ed8b;};return _0x3703();}export class AIQuickActions extends _0x39fc87{static get[_0x5c44ef(0x121)](){return[_0x92cdb6,_0x2c4c25,_0x21e65a];}static get[_0x5c44ef(0x116)](){var _0x26b13d=_0x5c44ef;return _0x26b13d(0x11b);}static get[_0x5c44ef(0x117)](){return!0x0;}static get[_0x5c44ef(0x126)](){return!0x0;}constructor(_0x2c5c13){var _0x330061=_0x5c44ef;super(_0x2c5c13),_0x2c5c13[_0x330061(0x11a)][_0x330061(0x11f)](_0x330061(0x11e),{'extraCommands':[],'removeCommands':[]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x19b2c0=_0x2446;(function(_0x53fd56,_0x170f04){const _0x18f2db=_0x2446,_0x29e8c5=_0x53fd56();while(!![]){try{const _0x3520e8=-parseInt(_0x18f2db(0x214))/0x1*(-parseInt(_0x18f2db(0x1e6))/0x2)+parseInt(_0x18f2db(0x207))/0x3*(-parseInt(_0x18f2db(0x1e8))/0x4)+-parseInt(_0x18f2db(0x1ec))/0x5+-parseInt(_0x18f2db(0x1ef))/0x6+parseInt(_0x18f2db(0x20b))/0x7*(-parseInt(_0x18f2db(0x1ea))/0x8)+-parseInt(_0x18f2db(0x224))/0x9*(-parseInt(_0x18f2db(0x212))/0xa)+parseInt(_0x18f2db(0x1f0))/0xb*(parseInt(_0x18f2db(0x1f8))/0xc);if(_0x3520e8===_0x170f04)break;else _0x29e8c5['push'](_0x29e8c5['shift']());}catch(_0x42cebf){_0x29e8c5['push'](_0x29e8c5['shift']());}}}(_0x3c05,0xe2bf0));function _0x3c05(){const _0x2e1122=['2260611DOAFTX','CHAT','focusPromptInput','other','5439iIqKPZ','locale','executeAction','activateTab','ai-quick-actions-plugin-not-found','ACTION','prompt','224300PzuDey','plugins','2rfukiv','removeSelectionFromChatContext','editor','change','_handleAIActionsActionLabel','schema','ask-ai','get','_handleAIReviewAction','chat','parent','isCollapsed','view','getSelectedBlocks','sendMessage','selection','153rErRUU','1658534HfSbqk','getLimitElement','4efuiPY','AIChatController','1976udjotd','AIActions','3941115XkDOMH','document','_handleAIChatAction','2610834aoXpCd','11xerDRA','execute','model','icon','displayedPrompt','actionName','log','AIChat','12692712NlyVPJ','_handleAIActionsAction','handleAIReviewAction','has','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','type','REVIEW','setSelection','_expandSelectionIfCollapsed','args','AITabs','startConversation','addSelectionToChatContext','AIReviewMode','label'];_0x3c05=function(){return _0x2e1122;};return _0x3c05();}function _0x2446(_0x50f1d5,_0xac25ae){const _0x3c058e=_0x3c05();return _0x2446=function(_0x244665,_0x2e9e58){_0x244665=_0x244665-0x1e6;let _0x1b1285=_0x3c058e[_0x244665];return _0x1b1285;},_0x2446(_0x50f1d5,_0xac25ae);}import{Command as _0x16b990}from'ckeditor5/src/core.js';import{CKEditorError as _0x189cf2,first as _0x42efb3}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x412b74}from'./aiquickactionsui.js';import{getTranslation as _0x39f8a6}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x16b990{[_0x19b2c0(0x1f1)](_0x3f01ef){const _0x2cf271=_0x19b2c0;switch(this[_0x2cf271(0x200)](),_0x3f01ef[_0x2cf271(0x1fd)]){case _0x412b74[_0x2cf271(0x208)]:if(!this[_0x2cf271(0x216)][_0x2cf271(0x213)][_0x2cf271(0x1fb)](_0x2cf271(0x1f7))){const _0x49c1cc=_0x39f8a6(this[_0x2cf271(0x216)][_0x2cf271(0x20c)],_0x2cf271(0x1fc),_0x2cf271(0x1f7));throw new _0x189cf2(_0x2cf271(0x20f),this[_0x2cf271(0x216)],{'errorMessage':_0x49c1cc});}this[_0x2cf271(0x1ee)](_0x3f01ef);break;case _0x412b74[_0x2cf271(0x210)]:if(!this[_0x2cf271(0x216)][_0x2cf271(0x213)][_0x2cf271(0x1fb)](_0x2cf271(0x1eb))){const _0x1f78dd=_0x39f8a6(this[_0x2cf271(0x216)][_0x2cf271(0x20c)],_0x2cf271(0x1fc),_0x2cf271(0x1eb));throw new _0x189cf2(_0x2cf271(0x20f),this[_0x2cf271(0x216)],{'errorMessage':_0x1f78dd});}this[_0x2cf271(0x1f9)](_0x3f01ef);break;case _0x412b74[_0x2cf271(0x1fe)]:if(!this[_0x2cf271(0x216)][_0x2cf271(0x213)][_0x2cf271(0x1fb)](_0x2cf271(0x205))){const _0xd71da6=_0x39f8a6(this[_0x2cf271(0x216)][_0x2cf271(0x20c)],_0x2cf271(0x1fc),_0x2cf271(0x205));throw new _0x189cf2(_0x2cf271(0x20f),this[_0x2cf271(0x216)],{'errorMessage':_0xd71da6});}this[_0x2cf271(0x21c)](_0x3f01ef);}}async[_0x19b2c0(0x1ee)](_0x25c4c7){const _0x92aa43=_0x19b2c0,_0x448279=this[_0x92aa43(0x216)][_0x92aa43(0x213)][_0x92aa43(0x21b)](_0x92aa43(0x1f7)),_0x4f46fd=this[_0x92aa43(0x216)][_0x92aa43(0x213)][_0x92aa43(0x21b)](_0x92aa43(0x1e9));if(this[_0x92aa43(0x216)][_0x92aa43(0x213)][_0x92aa43(0x21b)](_0x92aa43(0x202))[_0x92aa43(0x220)][_0x92aa43(0x20e)](_0x92aa43(0x21d)),_0x92aa43(0x21a)===_0x25c4c7['id'])_0x4f46fd[_0x92aa43(0x215)](),await _0x448279[_0x92aa43(0x204)](),_0x448279[_0x92aa43(0x209)]();else await _0x448279[_0x92aa43(0x203)](),_0x4f46fd[_0x92aa43(0x215)](),await _0x448279[_0x92aa43(0x204)](),_0x448279[_0x92aa43(0x209)](),await _0x448279[_0x92aa43(0x222)]({'message':_0x25c4c7[_0x92aa43(0x211)]||_0x25c4c7[_0x92aa43(0x1f4)],'quickActionData':{'id':_0x25c4c7['id'],'displayedPrompt':_0x25c4c7[_0x92aa43(0x1f4)]}});}[_0x19b2c0(0x200)](){const _0x38cacf=_0x19b2c0,_0x11116c=this[_0x38cacf(0x216)],_0x3f0f9d=_0x11116c[_0x38cacf(0x1f2)][_0x38cacf(0x1ed)][_0x38cacf(0x223)];if(!_0x3f0f9d[_0x38cacf(0x21f)])return;const _0x7349a1=_0x42efb3(_0x3f0f9d[_0x38cacf(0x221)]())||_0x11116c[_0x38cacf(0x1f2)][_0x38cacf(0x219)][_0x38cacf(0x1e7)](_0x3f0f9d);_0x11116c[_0x38cacf(0x1f2)][_0x38cacf(0x217)](_0x3d3b20=>{const _0xbe7bdb=_0x38cacf;_0x3d3b20[_0xbe7bdb(0x1ff)](_0x7349a1,'in');});}[_0x19b2c0(0x218)](_0x16f63e){const _0x1dcdc8=_0x19b2c0;return _0x16f63e[_0x1dcdc8(0x21e)]?.[_0x1dcdc8(0x206)]&&_0x1dcdc8(0x20a)!==_0x16f63e[_0x1dcdc8(0x21e)]?.['id']?_0x16f63e[_0x1dcdc8(0x21e)][_0x1dcdc8(0x206)]+':\x20'+_0x16f63e[_0x1dcdc8(0x1f4)]:_0x16f63e[_0x1dcdc8(0x1f4)];}async[_0x19b2c0(0x1f9)](_0x162c18){const _0x339ff1=_0x19b2c0,_0x3e0a43=this[_0x339ff1(0x216)][_0x339ff1(0x213)][_0x339ff1(0x21b)](_0x339ff1(0x1eb)),_0x37518b=_0x162c18[_0x339ff1(0x211)]?{'userMessage':_0x162c18[_0x339ff1(0x211)],'model':_0x162c18[_0x339ff1(0x1f2)]}:{'actionName':_0x162c18[_0x339ff1(0x1f5)]||_0x162c18['id'],'args':_0x162c18[_0x339ff1(0x201)]},_0x1b4f9f=this[_0x339ff1(0x218)](_0x162c18);await _0x3e0a43[_0x339ff1(0x20d)](_0x37518b,_0x1b4f9f,_0x162c18[_0x339ff1(0x1f3)]);}async[_0x19b2c0(0x21c)](_0x1b2b44){const _0x3a6487=_0x19b2c0;console[_0x3a6487(0x1f6)](_0x3a6487(0x1fa),_0x1b2b44);}}
23
+ function _0x44ec(){const _0xe02b7f=['icon','1168712SwFKWX','isCollapsed','execute','view','sendMessage','type','REVIEW','273996awRfrW','_handleAIReviewAction','document','actionName','displayedPrompt','getLimitElement','AIActions','selection','has','log','prompt','39EDZXCw','executeAction','2370EyVtMB','startConversation','handleAIReviewAction','focusPromptInput','_expandSelectionIfCollapsed','change','getSelectedBlocks','other','model','locale','chat','args','parent','plugins','schema','1878lxWDqE','AITabs','activateTab','addSelectionToChatContext','removeSelectionFromChatContext','AIChatController','editor','25210oCMuxL','18bpVUyk','ask-ai','142118dMQIkh','ai-quick-actions-plugin-not-found','5114599tpmyLT','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIChat','setSelection','CHAT','_handleAIChatAction','9995810ZPWlvX','ACTION','get','_handleAIActionsAction','label','AIReviewMode','_handleAIActionsActionLabel'];_0x44ec=function(){return _0xe02b7f;};return _0x44ec();}const _0xde05cf=_0x4780;(function(_0x4e75d1,_0x4ed855){const _0x440194=_0x4780,_0x26b829=_0x4e75d1();while(!![]){try{const _0x4c9ea0=-parseInt(_0x440194(0x161))/0x1+-parseInt(_0x440194(0x15e))/0x2*(-parseInt(_0x440194(0x146))/0x3)+-parseInt(_0x440194(0x178))/0x4+-parseInt(_0x440194(0x148))/0x5*(parseInt(_0x440194(0x157))/0x6)+-parseInt(_0x440194(0x163))/0x7+-parseInt(_0x440194(0x171))/0x8*(-parseInt(_0x440194(0x15f))/0x9)+parseInt(_0x440194(0x169))/0xa;if(_0x4c9ea0===_0x4ed855)break;else _0x26b829['push'](_0x26b829['shift']());}catch(_0x5e5522){_0x26b829['push'](_0x26b829['shift']());}}}(_0x44ec,0x595a4));import{Command as _0x51243c}from'ckeditor5/src/core.js';function _0x4780(_0x15b00d,_0x29c18c){const _0x44ecd3=_0x44ec();return _0x4780=function(_0x47801f,_0x833cc1){_0x47801f=_0x47801f-0x13c;let _0x575459=_0x44ecd3[_0x47801f];return _0x575459;},_0x4780(_0x15b00d,_0x29c18c);}import{CKEditorError as _0x2ed3fb,first as _0x3f9972}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x31487d}from'./aiquickactionsui.js';import{getTranslation as _0x42f0ad}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x51243c{[_0xde05cf(0x173)](_0x1d526f){const _0x6bb712=_0xde05cf;switch(this[_0x6bb712(0x14c)](),_0x1d526f[_0x6bb712(0x176)]){case _0x31487d[_0x6bb712(0x167)]:if(!this[_0x6bb712(0x15d)][_0x6bb712(0x155)][_0x6bb712(0x143)](_0x6bb712(0x165))){const _0x16b444=_0x42f0ad(this[_0x6bb712(0x15d)][_0x6bb712(0x151)],_0x6bb712(0x164),_0x6bb712(0x165));throw new _0x2ed3fb(_0x6bb712(0x162),this[_0x6bb712(0x15d)],{'errorMessage':_0x16b444});}this[_0x6bb712(0x168)](_0x1d526f);break;case _0x31487d[_0x6bb712(0x16a)]:if(!this[_0x6bb712(0x15d)][_0x6bb712(0x155)][_0x6bb712(0x143)](_0x6bb712(0x141))){const _0x57baeb=_0x42f0ad(this[_0x6bb712(0x15d)][_0x6bb712(0x151)],_0x6bb712(0x164),_0x6bb712(0x141));throw new _0x2ed3fb(_0x6bb712(0x162),this[_0x6bb712(0x15d)],{'errorMessage':_0x57baeb});}this[_0x6bb712(0x16c)](_0x1d526f);break;case _0x31487d[_0x6bb712(0x177)]:if(!this[_0x6bb712(0x15d)][_0x6bb712(0x155)][_0x6bb712(0x143)](_0x6bb712(0x16e))){const _0x4c0275=_0x42f0ad(this[_0x6bb712(0x15d)][_0x6bb712(0x151)],_0x6bb712(0x164),_0x6bb712(0x16e));throw new _0x2ed3fb(_0x6bb712(0x162),this[_0x6bb712(0x15d)],{'errorMessage':_0x4c0275});}this[_0x6bb712(0x13c)](_0x1d526f);}}async[_0xde05cf(0x168)](_0x2352c8){const _0x7fc887=_0xde05cf,_0xd48502=this[_0x7fc887(0x15d)][_0x7fc887(0x155)][_0x7fc887(0x16b)](_0x7fc887(0x165)),_0x1dccce=this[_0x7fc887(0x15d)][_0x7fc887(0x155)][_0x7fc887(0x16b)](_0x7fc887(0x15c));if(this[_0x7fc887(0x15d)][_0x7fc887(0x155)][_0x7fc887(0x16b)](_0x7fc887(0x158))[_0x7fc887(0x174)][_0x7fc887(0x159)](_0x7fc887(0x152)),_0x7fc887(0x160)===_0x2352c8['id'])_0x1dccce[_0x7fc887(0x15b)](),await _0xd48502[_0x7fc887(0x15a)](),_0xd48502[_0x7fc887(0x14b)]();else await _0xd48502[_0x7fc887(0x149)](),_0x1dccce[_0x7fc887(0x15b)](),await _0xd48502[_0x7fc887(0x15a)](),_0xd48502[_0x7fc887(0x14b)](),await _0xd48502[_0x7fc887(0x175)]({'message':_0x2352c8[_0x7fc887(0x145)]||_0x2352c8[_0x7fc887(0x13f)],'quickActionData':{'id':_0x2352c8['id'],'displayedPrompt':_0x2352c8[_0x7fc887(0x13f)]}});}[_0xde05cf(0x14c)](){const _0x4c6f57=_0xde05cf,_0x456ce8=this[_0x4c6f57(0x15d)],_0x485e22=_0x456ce8[_0x4c6f57(0x150)][_0x4c6f57(0x13d)][_0x4c6f57(0x142)];if(!_0x485e22[_0x4c6f57(0x172)])return;const _0x172c15=_0x3f9972(_0x485e22[_0x4c6f57(0x14e)]())||_0x456ce8[_0x4c6f57(0x150)][_0x4c6f57(0x156)][_0x4c6f57(0x140)](_0x485e22);_0x456ce8[_0x4c6f57(0x150)][_0x4c6f57(0x14d)](_0x2ed24c=>{const _0x94605f=_0x4c6f57;_0x2ed24c[_0x94605f(0x166)](_0x172c15,'in');});}[_0xde05cf(0x16f)](_0x4536dc){const _0x3ac5eb=_0xde05cf;return _0x4536dc[_0x3ac5eb(0x154)]?.[_0x3ac5eb(0x16d)]&&_0x3ac5eb(0x14f)!==_0x4536dc[_0x3ac5eb(0x154)]?.['id']?_0x4536dc[_0x3ac5eb(0x154)][_0x3ac5eb(0x16d)]+':\x20'+_0x4536dc[_0x3ac5eb(0x13f)]:_0x4536dc[_0x3ac5eb(0x13f)];}async[_0xde05cf(0x16c)](_0x4fb460){const _0x137352=_0xde05cf,_0x1e60c0=this[_0x137352(0x15d)][_0x137352(0x155)][_0x137352(0x16b)](_0x137352(0x141)),_0xad72be=_0x4fb460[_0x137352(0x145)]?{'userMessage':_0x4fb460[_0x137352(0x145)],'model':_0x4fb460[_0x137352(0x150)]}:{'actionName':_0x4fb460[_0x137352(0x13e)]||_0x4fb460['id'],'args':_0x4fb460[_0x137352(0x153)]},_0x32de49=this[_0x137352(0x16f)](_0x4fb460);await _0x1e60c0[_0x137352(0x147)](_0xad72be,_0x32de49,_0x4fb460[_0x137352(0x170)]);}async[_0xde05cf(0x13c)](_0x1640b7){const _0x4a8183=_0xde05cf;console[_0x4a8183(0x144)](_0x4a8183(0x14a),_0x1640b7);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x229d56=_0x382c;function _0x382c(_0x39dfab,_0x2bee4c){const _0x139d24=_0x139d();return _0x382c=function(_0x382cbf,_0x14e841){_0x382cbf=_0x382cbf-0xfa;let _0x52e97a=_0x139d24[_0x382cbf];return _0x52e97a;},_0x382c(_0x39dfab,_0x2bee4c);}(function(_0x395917,_0x2aa42f){const _0x14cc53=_0x382c,_0x632f42=_0x395917();while(!![]){try{const _0x2c1b6f=-parseInt(_0x14cc53(0x112))/0x1*(-parseInt(_0x14cc53(0xfe))/0x2)+parseInt(_0x14cc53(0x105))/0x3*(-parseInt(_0x14cc53(0x10e))/0x4)+parseInt(_0x14cc53(0x106))/0x5*(parseInt(_0x14cc53(0x10b))/0x6)+-parseInt(_0x14cc53(0xfc))/0x7+-parseInt(_0x14cc53(0x113))/0x8*(parseInt(_0x14cc53(0x111))/0x9)+parseInt(_0x14cc53(0xfd))/0xa+parseInt(_0x14cc53(0x108))/0xb;if(_0x2c1b6f===_0x2aa42f)break;else _0x632f42['push'](_0x632f42['shift']());}catch(_0xa8d7eb){_0x632f42['push'](_0x632f42['shift']());}}}(_0x139d,0x54aa5));import{Plugin as _0x21a104}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x55df31}from'./aiquickactionscommand.js';function _0x139d(){const _0x498438=['editor','isOfficialPlugin','removeSelectionFromChatContext','model','3141691YyjSxg','5661730YCWitn','316XyOAqE','change:range','get','has','plugins','selection','AIChat','141QeEddz','634285GwOJsT','AIQuickActionsEditing','1726461GuNSAY','add','document','18AJmpKz','directChange','aiQuickAction','23020rPKEXy','pluginName','isPremiumPlugin','2007UromzD','1673kEUHmu','10832IdubJT','init','commands'];_0x139d=function(){return _0x498438;};return _0x139d();}export class AIQuickActionsEditing extends _0x21a104{static get[_0x229d56(0x10f)](){const _0x28fec2=_0x229d56;return _0x28fec2(0x107);}static get[_0x229d56(0x117)](){return!0x0;}static get[_0x229d56(0x110)](){return!0x0;}[_0x229d56(0x114)](){const _0x3a6d43=_0x229d56,_0x27a637=this[_0x3a6d43(0x116)],_0x2fae77=new _0x55df31(this[_0x3a6d43(0x116)]);if(_0x27a637[_0x3a6d43(0x115)][_0x3a6d43(0x109)](_0x3a6d43(0x10d),_0x2fae77),_0x27a637[_0x3a6d43(0x102)][_0x3a6d43(0x101)](_0x3a6d43(0x104))){const _0x51c10d=this[_0x3a6d43(0x116)][_0x3a6d43(0x102)][_0x3a6d43(0x100)](_0x3a6d43(0x104));_0x27a637[_0x3a6d43(0xfb)][_0x3a6d43(0x10a)][_0x3a6d43(0x103)]['on'](_0x3a6d43(0xff),(_0x30faf2,_0x28bd3b)=>{const _0x1d770e=_0x3a6d43;_0x28bd3b[_0x1d770e(0x10c)]&&_0x51c10d[_0x1d770e(0xfa)]();});}}}
23
+ function _0x5ee9(_0x1971a0,_0x2393b0){const _0x2979c8=_0x2979();return _0x5ee9=function(_0x5ee932,_0xf72dda){_0x5ee932=_0x5ee932-0x1cf;let _0xfc9957=_0x2979c8[_0x5ee932];return _0xfc9957;},_0x5ee9(_0x1971a0,_0x2393b0);}const _0x1d1031=_0x5ee9;(function(_0x576e31,_0x5db659){const _0x147fde=_0x5ee9,_0x25f279=_0x576e31();while(!![]){try{const _0x4cdb8d=-parseInt(_0x147fde(0x1e5))/0x1*(-parseInt(_0x147fde(0x1d5))/0x2)+parseInt(_0x147fde(0x1dc))/0x3*(-parseInt(_0x147fde(0x1d6))/0x4)+-parseInt(_0x147fde(0x1e9))/0x5*(-parseInt(_0x147fde(0x1e7))/0x6)+parseInt(_0x147fde(0x1ec))/0x7+-parseInt(_0x147fde(0x1db))/0x8+parseInt(_0x147fde(0x1dd))/0x9*(-parseInt(_0x147fde(0x1e4))/0xa)+parseInt(_0x147fde(0x1d1))/0xb;if(_0x4cdb8d===_0x5db659)break;else _0x25f279['push'](_0x25f279['shift']());}catch(_0x1895a1){_0x25f279['push'](_0x25f279['shift']());}}}(_0x2979,0xdbacf));function _0x2979(){const _0x2755c1=['63YbzpGm','get','66EsPpRw','AIChat','148205ZOeSuI','add','isPremiumPlugin','5890115AcYZAO','model','selection','17250277xTHHGp','plugins','isOfficialPlugin','document','12586NUZAux','1145596KCbVzW','change:range','directChange','commands','AIQuickActionsEditing','12555784yDQYpq','3WNgEZf','9UPaORl','has','editor','init','pluginName','removeSelectionFromChatContext','aiQuickAction','3764990bYDiYp'];_0x2979=function(){return _0x2755c1;};return _0x2979();}import{Plugin as _0x43eada}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x3086d3}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x43eada{static get[_0x1d1031(0x1e1)](){const _0x430f6f=_0x1d1031;return _0x430f6f(0x1da);}static get[_0x1d1031(0x1d3)](){return!0x0;}static get[_0x1d1031(0x1eb)](){return!0x0;}[_0x1d1031(0x1e0)](){const _0xd1762b=_0x1d1031,_0x51f594=this[_0xd1762b(0x1df)],_0x340638=new _0x3086d3(this[_0xd1762b(0x1df)]);if(_0x51f594[_0xd1762b(0x1d9)][_0xd1762b(0x1ea)](_0xd1762b(0x1e3),_0x340638),_0x51f594[_0xd1762b(0x1d2)][_0xd1762b(0x1de)](_0xd1762b(0x1e8))){const _0x2ffec2=this[_0xd1762b(0x1df)][_0xd1762b(0x1d2)][_0xd1762b(0x1e6)](_0xd1762b(0x1e8));_0x51f594[_0xd1762b(0x1cf)][_0xd1762b(0x1d4)][_0xd1762b(0x1d0)]['on'](_0xd1762b(0x1d7),(_0x2d03e3,_0x4c7904)=>{const _0x4008e6=_0xd1762b;_0x4c7904[_0x4008e6(0x1d8)]&&_0x2ffec2[_0x4008e6(0x1e2)]();});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e4b66=_0x20c7;(function(_0xc15f10,_0x5c17aa){const _0xa8bd1a=_0x20c7,_0x23600b=_0xc15f10();while(!![]){try{const _0xc9f0fa=parseInt(_0xa8bd1a(0x1a0))/0x1+-parseInt(_0xa8bd1a(0x1df))/0x2+-parseInt(_0xa8bd1a(0x1bf))/0x3+-parseInt(_0xa8bd1a(0x19e))/0x4*(parseInt(_0xa8bd1a(0x17c))/0x5)+parseInt(_0xa8bd1a(0x196))/0x6+parseInt(_0xa8bd1a(0x1b7))/0x7*(-parseInt(_0xa8bd1a(0x1d5))/0x8)+-parseInt(_0xa8bd1a(0x1fd))/0x9*(-parseInt(_0xa8bd1a(0x211))/0xa);if(_0xc9f0fa===_0x5c17aa)break;else _0x23600b['push'](_0x23600b['shift']());}catch(_0x12d4b5){_0x23600b['push'](_0x23600b['shift']());}}}(_0x1876,0xa30fe));import{IconAIAdjustLength as _0x56f929,IconAIChangeTone as _0x410ce2,IconAIChatCommands as _0x22af37,IconAIContinueWriting as _0x37bd11,IconAIGrammarCheck as _0x4eda30,IconAIImproveWriting as _0x3f1473,IconAIOther as _0x3cf1fb,IconAIQuickActions as _0x3ca263,IconAITranslate as _0x2f9e7e}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x519353}from'ckeditor5/src/core.js';import{getTranslation as _0x5861f}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x32ab89}from'./ui/aiquickactionsdropdowncreator.js';function _0x1876(){const _0x31e17b=['AIReviewMode','delegate','panelView','requires','russian','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','spanish','_prepareQuickActionsDefinition','make-shorter','_shouldIncludeAction','commands','italian','AI_QUICK_ACTIONS_TRANSLATE','make-longer','make-tone-confident','values','french','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','1310274qiZLFo','japanese','make-tone-friendly','AI_QUICK_ACTIONS_MORE_CONFIDENT','init','aiQuickActions','translate-to-italian','plugins','1203492agKdpt','type','CHAT','forEach','_quickActionsDefinition','translate-to-portuguese','make-tone-direct','label','DisplayNames','translate-to-spanish','editing','change-tone','menuitem','length','translate-to-chinese','translate-to-korean','language','componentFactory','AI_QUICK_ACTIONS_EXPLAIN','menuBar:aiQuickActions','ai.quickActions.removeCommands','improve-writing','8XaditT','menu','pluginName','AIQuickActionsUI','translate-to-english','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','_executeQuickAction','isPremiumPlugin','menuBarView','_initializeQuickActionsMenuBar','1219718MAUIYI','aiQuickAction','make-tone-professional','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','ai.quickActions.extraCommands','add','some','config','replace','chinese','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','filter','execute','translate','AI_QUICK_ACTIONS_CHANGE_TONE','adjust-length','has','AI_QUICK_ACTIONS_OTHER','REVIEW','AI_QUICK_ACTIONS_CONTINUE_WRITING','AIChat','fix-grammar','items','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','isOfficialPlugin','german','korean','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','find','9vWXKaf','English','_initializeQuickActionsComponentsAndCommands','chat-commands','actions','view','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','children','AI_QUICK_ACTIONS_CHAT_COMMANDS','displayedPrompt','AI_QUICK_ACTIONS_ADJUST_LENGTH','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','map','locale','icon','_initializeQuickActionsDropdown','focus','portuguese','21319580bqBLEj','buttonView','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','35aBQUgH','english','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','translate-to-german','AI_QUICK_ACTIONS_MORE_CASUAL','translate-to-russian','summarize','AIActions','push','other','includes','AI_QUICK_ACTIONS_MAKE_LONGER','translate-to-japanese','set','ask-ai','_getDefaultAndCustomActions','getDefaultQuickActions','AI_QUICK_ACTIONS_ASK_AI','make-tone-casual','editor','explain','continue','close','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_MORE_FRIENDLY','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','3656808OltAGG','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','get','AI_QUICK_ACTIONS_IMPROVE_WRITING','AI_QUICK_ACTIONS_MORE_DIRECT','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_SUMMARIZE','uiLanguage','517672IlmozC','attachToDom','30607aoyjqE','AI_QUICK_ACTIONS_MAKE_SHORTER','ACTION','translate-to-french','highlight-key-points'];_0x1876=function(){return _0x31e17b;};return _0x1876();}import{aiQuickActionsButtonCreator as _0x47a01c}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x53682e,BalloonToolbar as _0x5cc0dc,MenuBarMenuView as _0x2d4ab2,MenuBarMenuListView as _0x3d6a1b,MenuBarMenuListItemView as _0x23f6aa,MenuBarMenuListItemButtonView as _0x22f7a0}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const Ft=_0x2e4b66(0x19b),Wt=_0x2e4b66(0x1aa),Bt=_0x2e4b66(0x20a);export var AIQuickActionType;function _0x20c7(_0x404885,_0x13017b){const _0x18762f=_0x1876();return _0x20c7=function(_0x20c76a,_0x2d753a){_0x20c76a=_0x20c76a-0x17c;let _0xe4eabc=_0x18762f[_0x20c76a];return _0xe4eabc;},_0x20c7(_0x404885,_0x13017b);}!function(_0xfdaaca){const _0xca27aa=_0x2e4b66;_0xfdaaca[_0xca27aa(0x1c1)]=_0xca27aa(0x1c1),_0xfdaaca[_0xca27aa(0x1a2)]=_0xca27aa(0x1a2),_0xfdaaca[_0xca27aa(0x1f1)]=_0xca27aa(0x1f1);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x56633c){const _0x194bba=_0x2e4b66;_0x56633c[_0x194bba(0x1c1)]=_0x194bba(0x1f3),_0x56633c[_0x194bba(0x1a2)]=_0x194bba(0x183),_0x56633c[_0x194bba(0x1f1)]=_0x194bba(0x1a5);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x519353{static get[_0x2e4b66(0x1a8)](){return[_0x5cc0dc];}static get[_0x2e4b66(0x1d7)](){const _0x1f1add=_0x2e4b66;return _0x1f1add(0x1d8);}static get[_0x2e4b66(0x1f8)](){return!0x0;}static get[_0x2e4b66(0x1dc)](){return!0x0;}[_0x2e4b66(0x1bb)](){const _0x5f2b31=_0x2e4b66;this[_0x5f2b31(0x1ac)](this[_0x5f2b31(0x18b)]()),this[_0x5f2b31(0x1ff)]();}static[_0x2e4b66(0x18c)](_0x252dfd){return function(_0x5396b2){const _0x2ef576=_0x20c7,_0x554069=new Intl[(_0x2ef576(0x1c7))](['en'],{'type':_0x2ef576(0x1cf)})['of'](_0x5396b2[_0x2ef576(0x19d)]),_0x5d5c4b=_0x554069||_0x2ef576(0x1fe),_0x2e3cdf=[{'id':_0x2ef576(0x18a),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x18d)),'type':AIQuickActionType[_0x2ef576(0x1c1)],'icon':_0x22af37},{'id':_0x2ef576(0x200),'label':_0x5861f(_0x5396b2,_0x2ef576(0x207)),'icon':_0x22af37,'actions':[{'id':_0x2ef576(0x190),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x1d1)),'prompt':Ft[_0x2ef576(0x1e7)]('%0',_0x5d5c4b),'type':AIQuickActionType[_0x2ef576(0x1c1)]},{'id':_0x2ef576(0x182),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x19c)),'prompt':Wt[_0x2ef576(0x1e7)]('%0',_0x5d5c4b),'type':AIQuickActionType[_0x2ef576(0x1c1)]},{'id':_0x2ef576(0x1a4),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x17e)),'prompt':Bt[_0x2ef576(0x1e7)]('%0',_0x5d5c4b),'type':AIQuickActionType[_0x2ef576(0x1c1)]}]},{'id':_0x2ef576(0x1d4),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x199)),'type':AIQuickActionType[_0x2ef576(0x1a2)],'icon':_0x3f1473},{'id':_0x2ef576(0x191),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x1f2)),'type':AIQuickActionType[_0x2ef576(0x1a2)],'icon':_0x37bd11},{'id':_0x2ef576(0x1f4),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x1fb)),'type':AIQuickActionType[_0x2ef576(0x1a2)],'icon':_0x4eda30},{'id':_0x2ef576(0x1ee),'label':_0x5861f(_0x5396b2,_0x2ef576(0x209)),'icon':_0x56f929,'actions':[{'id':_0x2ef576(0x1ad),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x1a1)),'type':AIQuickActionType[_0x2ef576(0x1a2)]},{'id':_0x2ef576(0x1b2),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x187)),'type':AIQuickActionType[_0x2ef576(0x1a2)]}]},{'id':_0x2ef576(0x1ca),'label':_0x5861f(_0x5396b2,_0x2ef576(0x1ed)),'icon':_0x410ce2,'actions':[{'id':_0x2ef576(0x18e),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x180)),'type':AIQuickActionType[_0x2ef576(0x1a2)]},{'id':_0x2ef576(0x1c5),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x19a)),'type':AIQuickActionType[_0x2ef576(0x1a2)]},{'id':_0x2ef576(0x1b9),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x194)),'type':AIQuickActionType[_0x2ef576(0x1a2)]},{'id':_0x2ef576(0x1b3),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x1ba)),'type':AIQuickActionType[_0x2ef576(0x1a2)]},{'id':_0x2ef576(0x1e1),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x1e2)),'type':AIQuickActionType[_0x2ef576(0x1a2)]}]},{'id':_0x2ef576(0x1ec),'label':_0x5861f(_0x5396b2,_0x2ef576(0x1b1)),'icon':_0x2f9e7e,'actions':[{'id':_0x2ef576(0x1d9),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x197)),'type':AIQuickActionType[_0x2ef576(0x1a2)],'actionName':_0x2ef576(0x1ec),'args':{'language':_0x2ef576(0x17d)}},{'id':_0x2ef576(0x1cd),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x195)),'type':AIQuickActionType[_0x2ef576(0x1a2)],'actionName':_0x2ef576(0x1ec),'args':{'language':_0x2ef576(0x1e8)}},{'id':_0x2ef576(0x1c8),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x1b6)),'type':AIQuickActionType[_0x2ef576(0x1a2)],'actionName':_0x2ef576(0x1ec),'args':{'language':_0x2ef576(0x1ab)}},{'id':_0x2ef576(0x17f),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x205)),'type':AIQuickActionType[_0x2ef576(0x1a2)],'actionName':_0x2ef576(0x1ec),'args':{'language':_0x2ef576(0x1f9)}},{'id':_0x2ef576(0x1a3),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x1da)),'type':AIQuickActionType[_0x2ef576(0x1a2)],'actionName':_0x2ef576(0x1ec),'args':{'language':_0x2ef576(0x1b5)}},{'id':_0x2ef576(0x188),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x213)),'type':AIQuickActionType[_0x2ef576(0x1a2)],'actionName':_0x2ef576(0x1ec),'args':{'language':_0x2ef576(0x1b8)}},{'id':_0x2ef576(0x1c4),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x193)),'type':AIQuickActionType[_0x2ef576(0x1a2)],'actionName':_0x2ef576(0x1ec),'args':{'language':_0x2ef576(0x210)}},{'id':_0x2ef576(0x1ce),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x1f7)),'type':AIQuickActionType[_0x2ef576(0x1a2)],'actionName':_0x2ef576(0x1ec),'args':{'language':_0x2ef576(0x1fa)}},{'id':_0x2ef576(0x1bd),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x203)),'type':AIQuickActionType[_0x2ef576(0x1a2)],'actionName':_0x2ef576(0x1ec),'args':{'language':_0x2ef576(0x1b0)}},{'id':_0x2ef576(0x181),'displayedPrompt':_0x5861f(_0x5396b2,_0x2ef576(0x1e9)),'type':AIQuickActionType[_0x2ef576(0x1a2)],'actionName':_0x2ef576(0x1ec),'args':{'language':_0x2ef576(0x1a9)}}]},{'id':_0x2ef576(0x185),'label':_0x5861f(_0x5396b2,_0x2ef576(0x1f0)),'icon':_0x3cf1fb,'actions':[]}];return _0x2e3cdf;}(_0x252dfd);}[_0x2e4b66(0x18b)](){const _0x823dc5=_0x2e4b66,_0xcf9bd5=AIQuickActionsUI[_0x823dc5(0x18c)](this[_0x823dc5(0x18f)][_0x823dc5(0x20c)]),_0x22a71d=(this[_0x823dc5(0x18f)][_0x823dc5(0x1e6)][_0x823dc5(0x198)](_0x823dc5(0x1e3))||[])[_0x823dc5(0x20b)](_0x3baaf9=>({..._0x3baaf9,'icon':void 0x0}));return _0xcf9bd5[_0x823dc5(0x1fc)](_0x586e97=>_0x823dc5(0x185)===_0x586e97['id'])[_0x823dc5(0x201)][_0x823dc5(0x184)](..._0x22a71d),_0xcf9bd5;}[_0x2e4b66(0x1ff)](){const _0x160c11=_0x2e4b66,_0x2306a1=new _0x53682e(this[_0x160c11(0x18f)][_0x160c11(0x20c)]);_0x2306a1[_0x160c11(0x19f)](),this[_0x160c11(0x20e)](_0x2306a1),this[_0x160c11(0x1de)](),this[_0x160c11(0x1f6)](_0x2306a1);}[_0x2e4b66(0x20e)](_0x28ab3b){const _0xef3870=_0x2e4b66;this[_0xef3870(0x18f)]['ui'][_0xef3870(0x1d0)][_0xef3870(0x1e4)](_0xef3870(0x1bc),_0x32ab89(this[_0xef3870(0x18f)],this[_0xef3870(0x1c3)],{'icon':_0x3ca263,'label':_0x5861f(this[_0xef3870(0x18f)][_0xef3870(0x20c)],_0xef3870(0x204))},_0x28ab3b));}[_0x2e4b66(0x1ac)](_0x8b1a09){const _0x39747e=_0x2e4b66;this[_0x39747e(0x1c3)]=_0x8b1a09[_0x39747e(0x20b)](_0x3d1890=>{const _0xed6b4b=_0x39747e;if(_0xed6b4b(0x201)in _0x3d1890){const _0xdbc4f8=_0x3d1890;return{..._0xdbc4f8,'actions':_0xdbc4f8[_0xed6b4b(0x201)][_0xed6b4b(0x20b)](_0x14f5d9=>{const {actions:_0x235bec,..._0x15a6b1}=_0xdbc4f8;return{..._0x14f5d9,'parent':_0x15a6b1};})[_0xed6b4b(0x1ea)](_0x5b63ec=>this[_0xed6b4b(0x1ae)](_0x5b63ec))};}return _0x3d1890;})[_0x39747e(0x1ea)](_0x1e7061=>_0x39747e(0x201)in _0x1e7061?_0x1e7061[_0x39747e(0x201)][_0x39747e(0x1cc)]>0x0:this[_0x39747e(0x1ae)](_0x1e7061));}[_0x2e4b66(0x1ae)](_0x577975){const _0x37d2b5=_0x2e4b66,_0x445251=this[_0x37d2b5(0x18f)][_0x37d2b5(0x1e6)][_0x37d2b5(0x198)](_0x37d2b5(0x1d3))||[];return this[_0x37d2b5(0x18f)][_0x37d2b5(0x1be)][_0x37d2b5(0x1ef)](AIQuickActionTypeToPluginName[_0x577975[_0x37d2b5(0x1c0)]])&&!_0x445251[_0x37d2b5(0x186)](_0x577975['id']);}[_0x2e4b66(0x1f6)](_0x2ff3ad){const _0x34ecf3=_0x2e4b66;this[_0x34ecf3(0x1c3)][_0x34ecf3(0x1c2)](_0x2403fb=>{const _0x41e2c4=_0x34ecf3;if(_0x41e2c4(0x201)in _0x2403fb){const _0x21fb04=_0x32ab89(this[_0x41e2c4(0x18f)],_0x2403fb[_0x41e2c4(0x201)],_0x2403fb,_0x2ff3ad);this[_0x41e2c4(0x18f)]['ui'][_0x41e2c4(0x1d0)][_0x41e2c4(0x1e4)](_0x2403fb['id'],_0x21fb04),_0x2403fb[_0x41e2c4(0x201)][_0x41e2c4(0x1c2)](_0x17835b=>{const _0xd0a8eb=_0x41e2c4,_0x29595f=_0x47a01c(this[_0xd0a8eb(0x18f)],_0x17835b);this[_0xd0a8eb(0x18f)]['ui'][_0xd0a8eb(0x1d0)][_0xd0a8eb(0x1e4)](_0x17835b['id'],_0x29595f);});}else{const _0x3280f8=_0x47a01c(this[_0x41e2c4(0x18f)],_0x2403fb,!0x1,!0x0,!0x1);this[_0x41e2c4(0x18f)]['ui'][_0x41e2c4(0x1d0)][_0x41e2c4(0x1e4)](_0x2403fb['id'],_0x3280f8);}});}[_0x2e4b66(0x1de)](){const _0xc2aa68=_0x2e4b66;this[_0xc2aa68(0x18f)]['ui'][_0xc2aa68(0x1d0)][_0xc2aa68(0x1e4)](_0xc2aa68(0x1d2),_0x579449=>{const _0x32a105=_0xc2aa68,_0x500b1b=new _0x2d4ab2(_0x579449),_0x3bde1c=_0x5861f(_0x579449,_0x32a105(0x204));_0x500b1b[_0x32a105(0x212)][_0x32a105(0x189)]({'label':_0x3bde1c,'icon':_0x3ca263});const _0x34a0b5=new _0x3d6a1b(_0x579449);_0x34a0b5[_0x32a105(0x189)]({'ariaLabel':_0x3bde1c,'role':_0x32a105(0x1d6)}),this[_0x32a105(0x1c3)][_0x32a105(0x1c2)](_0x196065=>{const _0x1b982b=_0x32a105;if(_0x1b982b(0x201)in _0x196065){const _0x2bac64=_0x196065,_0x1c1131=new _0x23f6aa(_0x579449,_0x500b1b),_0x11d5d3=new _0x2d4ab2(_0x579449),_0x22f386=new _0x3d6a1b(_0x579449);_0x11d5d3[_0x1b982b(0x212)][_0x1b982b(0x189)]({'label':_0x2bac64[_0x1b982b(0x1c6)],'icon':_0x2bac64[_0x1b982b(0x20d)]}),_0x2bac64[_0x1b982b(0x201)][_0x1b982b(0x1c2)](_0x446892=>{const _0x2671cb=_0x1b982b,_0x45adc1=new _0x23f6aa(_0x579449,_0x11d5d3),_0x47517a=new _0x22f7a0(_0x579449);_0x47517a[_0x2671cb(0x189)]({'label':_0x446892[_0x2671cb(0x208)],'icon':_0x446892[_0x2671cb(0x20d)],'role':_0x2671cb(0x1cb)}),_0x47517a['on'](_0x2671cb(0x1eb),()=>{const _0x3429cd=_0x2671cb;this[_0x3429cd(0x1db)](_0x446892);}),_0x47517a[_0x2671cb(0x1a6)](_0x2671cb(0x1eb))['to'](_0x11d5d3),_0x45adc1[_0x2671cb(0x206)][_0x2671cb(0x1e4)](_0x47517a),_0x22f386[_0x2671cb(0x1f5)][_0x2671cb(0x1e4)](_0x45adc1);}),_0x11d5d3[_0x1b982b(0x1a7)][_0x1b982b(0x206)][_0x1b982b(0x1e4)](_0x22f386),_0x1c1131[_0x1b982b(0x206)][_0x1b982b(0x1e4)](_0x11d5d3),_0x34a0b5[_0x1b982b(0x1f5)][_0x1b982b(0x1e4)](_0x1c1131);}else{const _0x4bbee5=_0x196065,_0x592d3e=new _0x23f6aa(_0x579449,_0x500b1b),_0x49e59a=new _0x22f7a0(_0x579449);_0x49e59a[_0x1b982b(0x189)]({'label':_0x4bbee5[_0x1b982b(0x208)],'icon':_0x4bbee5[_0x1b982b(0x20d)],'role':_0x1b982b(0x1cb)}),_0x49e59a['on'](_0x1b982b(0x1eb),()=>{const _0x2a6ce5=_0x1b982b;this[_0x2a6ce5(0x1db)](_0x4bbee5);}),_0x49e59a[_0x1b982b(0x1a6)](_0x1b982b(0x1eb))['to'](_0x500b1b),_0x592d3e[_0x1b982b(0x206)][_0x1b982b(0x1e4)](_0x49e59a),_0x34a0b5[_0x1b982b(0x1f5)][_0x1b982b(0x1e4)](_0x592d3e);}});const _0x2aa5ec=Object[_0x32a105(0x1b4)](AIQuickActionTypeToPluginName)[_0x32a105(0x1e5)](_0x4cd53f=>this[_0x32a105(0x18f)][_0x32a105(0x1be)][_0x32a105(0x1ef)](_0x4cd53f));return _0x500b1b[_0x32a105(0x189)]({'isEnabled':_0x2aa5ec}),_0x500b1b[_0x32a105(0x1a7)][_0x32a105(0x206)][_0x32a105(0x1e4)](_0x34a0b5),_0x500b1b;});}[_0x2e4b66(0x1db)](_0x2ae319){const _0x485ab6=_0x2e4b66,_0x29ab50=this[_0x485ab6(0x18f)];_0x29ab50[_0x485ab6(0x1c9)][_0x485ab6(0x202)][_0x485ab6(0x20f)](),_0x29ab50[_0x485ab6(0x1af)][_0x485ab6(0x1eb)](_0x485ab6(0x1e0),_0x2ae319);const _0x25b58e=_0x29ab50['ui'][_0x485ab6(0x202)][_0x485ab6(0x1dd)];_0x25b58e&&_0x25b58e[_0x485ab6(0x192)]&&_0x25b58e[_0x485ab6(0x192)]();}}
23
+ const _0x54759f=_0x1289;(function(_0xd350d2,_0x11c0fe){const _0xfc6a25=_0x1289,_0x5e97c6=_0xd350d2();while(!![]){try{const _0x86326f=-parseInt(_0xfc6a25(0x255))/0x1+-parseInt(_0xfc6a25(0x1f9))/0x2+parseInt(_0xfc6a25(0x1f7))/0x3*(parseInt(_0xfc6a25(0x1d8))/0x4)+-parseInt(_0xfc6a25(0x1ef))/0x5*(parseInt(_0xfc6a25(0x1f5))/0x6)+parseInt(_0xfc6a25(0x20e))/0x7*(parseInt(_0xfc6a25(0x220))/0x8)+-parseInt(_0xfc6a25(0x1fe))/0x9+parseInt(_0xfc6a25(0x229))/0xa;if(_0x86326f===_0x11c0fe)break;else _0x5e97c6['push'](_0x5e97c6['shift']());}catch(_0x516efc){_0x5e97c6['push'](_0x5e97c6['shift']());}}}(_0x7393,0x32be4));import{IconAIAdjustLength as _0x222f04,IconAIChangeTone as _0x45fbe5,IconAIChatCommands as _0x283328,IconAIContinueWriting as _0x20c05e,IconAIGrammarCheck as _0x22f05f,IconAIImproveWriting as _0x5ef8a6,IconAIOther as _0x61393,IconAIQuickActions as _0x4fd348,IconAITranslate as _0x3b59f7}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x101730}from'ckeditor5/src/core.js';import{getTranslation as _0x1f54cb}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x579963}from'./ui/aiquickactionsdropdowncreator.js';function _0x1289(_0x2d0b29,_0x1295c9){const _0x7393cc=_0x7393();return _0x1289=function(_0x12897b,_0x390f1a){_0x12897b=_0x12897b-0x1d1;let _0x13e3d5=_0x7393cc[_0x12897b];return _0x13e3d5;},_0x1289(_0x2d0b29,_0x1295c9);}import{aiQuickActionsButtonCreator as _0x4ece2d}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x590177,BalloonToolbar as _0x38db92,MenuBarMenuView as _0x13e747,MenuBarMenuListView as _0x35803a,MenuBarMenuListItemView as _0x2765ae,MenuBarMenuListItemButtonView as _0x4d6795}from'ckeditor5/src/ui.js';function _0x7393(){const _0x17c293=['translate','map','push','close','translate-to-spanish','_initializeQuickActionsComponents','_initializeQuickActionsMenuBar','language','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','translate-to-chinese','AI_QUICK_ACTIONS_MORE_DIRECT','requires','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_IMPROVE_WRITING','menuBar:aiQuickActions','translate-to-portuguese','delegate','CHAT','buttonView','translate-to-italian','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','translate-to-german','children','panelView','find','korean','make-tone-casual','AI_QUICK_ACTIONS_ASK_AI','set','getDefaultQuickActions','make-tone-friendly','167048hfdmUz','_getDefaultAndCustomActions','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','make-tone-confident','has','execute','label','portuguese','pluginName','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','displayedPrompt','translate-to-japanese','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','editor','actions','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','filter','other','items','japanese','AI_QUICK_ACTIONS_ADJUST_LENGTH','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','AI_QUICK_ACTIONS_TRANSLATE','_initializeQuickActionsDropdown','type','highlight-key-points','16jLgwDI','italian','REVIEW','uiLanguage','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','ask-ai','translate-to-russian','English','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','_initializeQuickActionsComponentsAndCommands','AIChat','translate-to-korean','editing','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','AI_QUICK_ACTIONS_MAKE_SHORTER','chat-commands','AI_QUICK_ACTIONS_EXPLAIN','menu','ai.quickActions.extraCommands','make-shorter','translate-to-english','values','AI_QUICK_ACTIONS_MORE_CASUAL','5QptrNr','AI_QUICK_ACTIONS_MORE_FRIENDLY','make-longer','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','spanish','plugins','1211898HbUSHM','_shouldIncludeAction','205341FsWOns','some','613196NKJDzQ','isOfficialPlugin','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','icon','russian','457083mDuOfR','ACTION','summarize','translate-to-french','_quickActionsDefinition','make-tone-professional','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','isPremiumPlugin','_prepareQuickActionsDefinition','componentFactory','german','replace','init','explain','add','aiQuickAction','113722qcxqWe','fix-grammar','AI_QUICK_ACTIONS_MORE_CONFIDENT','AIActions','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','aiQuickActions','view','menuitem','focus','AI_QUICK_ACTIONS_MAKE_LONGER','_executeQuickAction','chinese','AI_QUICK_ACTIONS_OTHER','AIReviewMode','length','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','improve-writing','168hyNNDl','adjust-length','get','includes','ai.quickActions.removeCommands','change-tone','continue','AI_QUICK_ACTIONS_HEADING','english','3193060MKBtmw','config','menuBarView','make-tone-direct','commands','AI_QUICK_ACTIONS_CHANGE_TONE','french','attachToDom','forEach','locale','AI_QUICK_ACTIONS_SUMMARIZE','AIQuickActionsUI','DisplayNames'];_0x7393=function(){return _0x17c293;};return _0x7393();}import'../../theme/aiquickactions/aiquickactions.css';const oe=_0x54759f(0x1fb),ae=_0x54759f(0x257),se=_0x54759f(0x1e0);export var AIQuickActionType;!function(_0x5b7b2b){const _0x1740b1=_0x54759f;_0x5b7b2b[_0x1740b1(0x247)]=_0x1740b1(0x247),_0x5b7b2b[_0x1740b1(0x1ff)]=_0x1740b1(0x1ff),_0x5b7b2b[_0x1740b1(0x1da)]=_0x1740b1(0x1da);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0xabfb45){const _0x4df967=_0x54759f;_0xabfb45[_0x4df967(0x247)]=_0x4df967(0x1e2),_0xabfb45[_0x4df967(0x1ff)]=_0x4df967(0x211),_0xabfb45[_0x4df967(0x1da)]=_0x4df967(0x21c);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x101730{static get[_0x54759f(0x241)](){return[_0x38db92];}static get[_0x54759f(0x25d)](){const _0x13d81e=_0x54759f;return _0x13d81e(0x234);}static get[_0x54759f(0x1fa)](){return!0x0;}static get[_0x54759f(0x205)](){return!0x0;}[_0x54759f(0x20a)](){const _0x2a7698=_0x54759f;this[_0x2a7698(0x206)](this[_0x2a7698(0x256)]()),this[_0x2a7698(0x1e1)]();}static[_0x54759f(0x253)](_0x36afc4){return function(_0x1f88f1){const _0x121f7a=_0x1289,_0x57c4d4=new Intl[(_0x121f7a(0x235))](['en'],{'type':_0x121f7a(0x23d)})['of'](_0x1f88f1[_0x121f7a(0x1db)]),_0x4d0646=_0x57c4d4||_0x121f7a(0x1df),_0x597c1a=[{'id':_0x121f7a(0x1dd),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x251)),'type':AIQuickActionType[_0x121f7a(0x247)],'icon':_0x283328},{'id':_0x121f7a(0x1e7),'label':_0x1f54cb(_0x1f88f1,_0x121f7a(0x212)),'icon':_0x283328,'actions':[{'id':_0x121f7a(0x20b),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1e8)),'prompt':oe[_0x121f7a(0x209)]('%0',_0x4d0646),'type':AIQuickActionType[_0x121f7a(0x247)]},{'id':_0x121f7a(0x200),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x233)),'prompt':ae[_0x121f7a(0x209)]('%0',_0x4d0646),'type':AIQuickActionType[_0x121f7a(0x247)]},{'id':_0x121f7a(0x1d7),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x261)),'prompt':se[_0x121f7a(0x209)]('%0',_0x4d0646),'type':AIQuickActionType[_0x121f7a(0x247)]}]},{'id':_0x121f7a(0x21f),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x243)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'icon':_0x5ef8a6},{'id':_0x121f7a(0x226),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x264)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'icon':_0x20c05e},{'id':_0x121f7a(0x20f),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x265)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'icon':_0x22f05f},{'id':_0x121f7a(0x221),'label':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1d2)),'icon':_0x222f04,'actions':[{'id':_0x121f7a(0x1eb),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1e6)),'type':AIQuickActionType[_0x121f7a(0x1ff)]},{'id':_0x121f7a(0x1f1),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x218)),'type':AIQuickActionType[_0x121f7a(0x1ff)]}]},{'id':_0x121f7a(0x225),'label':_0x1f54cb(_0x1f88f1,_0x121f7a(0x22e)),'icon':_0x45fbe5,'actions':[{'id':_0x121f7a(0x250),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1ee)),'type':AIQuickActionType[_0x121f7a(0x1ff)]},{'id':_0x121f7a(0x22c),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x240)),'type':AIQuickActionType[_0x121f7a(0x1ff)]},{'id':_0x121f7a(0x254),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1f0)),'type':AIQuickActionType[_0x121f7a(0x1ff)]},{'id':_0x121f7a(0x258),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x210)),'type':AIQuickActionType[_0x121f7a(0x1ff)]},{'id':_0x121f7a(0x203),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x25e)),'type':AIQuickActionType[_0x121f7a(0x1ff)]}]},{'id':_0x121f7a(0x236),'label':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1d4)),'icon':_0x3b59f7,'actions':[{'id':_0x121f7a(0x1ec),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x21e)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x228)}},{'id':_0x121f7a(0x23f),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x24a)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x21a)}},{'id':_0x121f7a(0x23a),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x213)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x1f3)}},{'id':_0x121f7a(0x24b),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1d3)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x208)}},{'id':_0x121f7a(0x201),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1dc)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x22f)}},{'id':_0x121f7a(0x260),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x204)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x1d1)}},{'id':_0x121f7a(0x245),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x242)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x25c)}},{'id':_0x121f7a(0x1e3),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1f2)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x24f)}},{'id':_0x121f7a(0x249),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x23e)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x1d9)}},{'id':_0x121f7a(0x1de),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1e5)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x1fd)}}]},{'id':_0x121f7a(0x267),'label':_0x1f54cb(_0x1f88f1,_0x121f7a(0x21b)),'icon':_0x61393,'actions':[]}];return _0x597c1a;}(_0x36afc4);}[_0x54759f(0x256)](){const _0x3189a2=_0x54759f,_0x50d872=AIQuickActionsUI[_0x3189a2(0x253)](this[_0x3189a2(0x262)][_0x3189a2(0x232)]),_0x106fde=(this[_0x3189a2(0x262)][_0x3189a2(0x22a)][_0x3189a2(0x222)](_0x3189a2(0x1ea))||[])[_0x3189a2(0x237)](_0x52f5d4=>({..._0x52f5d4,'icon':void 0x0}));return _0x50d872[_0x3189a2(0x24e)](_0x1b9b85=>_0x3189a2(0x267)===_0x1b9b85['id'])[_0x3189a2(0x263)][_0x3189a2(0x238)](..._0x106fde),_0x50d872;}[_0x54759f(0x1e1)](){const _0x198c40=_0x54759f,_0x483164=new _0x590177(this[_0x198c40(0x262)][_0x198c40(0x232)]);_0x483164[_0x198c40(0x230)](),this[_0x198c40(0x1d5)](_0x483164),this[_0x198c40(0x23c)](),this[_0x198c40(0x23b)](_0x483164);}[_0x54759f(0x1d5)](_0x3ba41f){const _0x4e7c0e=_0x54759f;this[_0x4e7c0e(0x262)]['ui'][_0x4e7c0e(0x207)][_0x4e7c0e(0x20c)](_0x4e7c0e(0x214),_0x579963(this[_0x4e7c0e(0x262)],this[_0x4e7c0e(0x202)],{'icon':_0x4fd348,'label':_0x1f54cb(this[_0x4e7c0e(0x262)][_0x4e7c0e(0x232)],_0x4e7c0e(0x227))},_0x3ba41f));}[_0x54759f(0x206)](_0x4d288d){const _0x153797=_0x54759f;this[_0x153797(0x202)]=_0x4d288d[_0x153797(0x237)](_0x5dedf=>{const _0x226ea0=_0x153797;if(_0x226ea0(0x263)in _0x5dedf){const _0x15b43b=_0x5dedf;return{..._0x15b43b,'actions':_0x15b43b[_0x226ea0(0x263)][_0x226ea0(0x237)](_0x249e29=>{const {actions:_0x2ec102,..._0x481955}=_0x15b43b;return{..._0x249e29,'parent':_0x481955};})[_0x226ea0(0x266)](_0x9fc19a=>this[_0x226ea0(0x1f6)](_0x9fc19a))};}return _0x5dedf;})[_0x153797(0x266)](_0x29d8fa=>_0x153797(0x263)in _0x29d8fa?_0x29d8fa[_0x153797(0x263)][_0x153797(0x21d)]>0x0:this[_0x153797(0x1f6)](_0x29d8fa));}[_0x54759f(0x1f6)](_0x50d85f){const _0xf2c1f2=_0x54759f,_0x15215b=this[_0xf2c1f2(0x262)][_0xf2c1f2(0x22a)][_0xf2c1f2(0x222)](_0xf2c1f2(0x224))||[];return this[_0xf2c1f2(0x262)][_0xf2c1f2(0x1f4)][_0xf2c1f2(0x259)](AIQuickActionTypeToPluginName[_0x50d85f[_0xf2c1f2(0x1d6)]])&&!_0x15215b[_0xf2c1f2(0x223)](_0x50d85f['id']);}[_0x54759f(0x23b)](_0x200241){const _0x3b406c=_0x54759f;this[_0x3b406c(0x202)][_0x3b406c(0x231)](_0x22a3d3=>{const _0x3b4dc1=_0x3b406c;if(_0x3b4dc1(0x263)in _0x22a3d3){const _0x3c227d=_0x579963(this[_0x3b4dc1(0x262)],_0x22a3d3[_0x3b4dc1(0x263)],_0x22a3d3,_0x200241);this[_0x3b4dc1(0x262)]['ui'][_0x3b4dc1(0x207)][_0x3b4dc1(0x20c)](_0x22a3d3['id'],_0x3c227d),_0x22a3d3[_0x3b4dc1(0x263)][_0x3b4dc1(0x231)](_0x8b2726=>{const _0x56fb1f=_0x3b4dc1,_0x2a7468=_0x4ece2d(this[_0x56fb1f(0x262)],_0x8b2726);this[_0x56fb1f(0x262)]['ui'][_0x56fb1f(0x207)][_0x56fb1f(0x20c)](_0x8b2726['id'],_0x2a7468);});}else{const _0x3dfb0c=_0x4ece2d(this[_0x3b4dc1(0x262)],_0x22a3d3,!0x1,!0x0,!0x1);this[_0x3b4dc1(0x262)]['ui'][_0x3b4dc1(0x207)][_0x3b4dc1(0x20c)](_0x22a3d3['id'],_0x3dfb0c);}});}[_0x54759f(0x23c)](){const _0x4c67a6=_0x54759f;this[_0x4c67a6(0x262)]['ui'][_0x4c67a6(0x207)][_0x4c67a6(0x20c)](_0x4c67a6(0x244),_0x178de0=>{const _0x3480b9=_0x4c67a6,_0x2074e6=new _0x13e747(_0x178de0),_0x3417e8=_0x1f54cb(_0x178de0,_0x3480b9(0x227));_0x2074e6[_0x3480b9(0x248)][_0x3480b9(0x252)]({'label':_0x3417e8,'icon':_0x4fd348});const _0x3e1d3c=new _0x35803a(_0x178de0);_0x3e1d3c[_0x3480b9(0x252)]({'ariaLabel':_0x3417e8,'role':_0x3480b9(0x1e9)}),this[_0x3480b9(0x202)][_0x3480b9(0x231)](_0x2791b3=>{const _0x25355e=_0x3480b9;if(_0x25355e(0x263)in _0x2791b3){const _0x348c17=_0x2791b3,_0x2f12c9=new _0x2765ae(_0x178de0,_0x2074e6),_0xc186a4=new _0x13e747(_0x178de0),_0x3d3cea=new _0x35803a(_0x178de0);_0xc186a4[_0x25355e(0x248)][_0x25355e(0x252)]({'label':_0x348c17[_0x25355e(0x25b)],'icon':_0x348c17[_0x25355e(0x1fc)]}),_0x348c17[_0x25355e(0x263)][_0x25355e(0x231)](_0x1df19c=>{const _0x511961=_0x25355e,_0x9e39a9=new _0x2765ae(_0x178de0,_0xc186a4),_0x2a4e95=new _0x4d6795(_0x178de0);_0x2a4e95[_0x511961(0x252)]({'label':_0x1df19c[_0x511961(0x25f)],'icon':_0x1df19c[_0x511961(0x1fc)],'role':_0x511961(0x216)}),_0x2a4e95['on'](_0x511961(0x25a),()=>{const _0x1eb0ac=_0x511961;this[_0x1eb0ac(0x219)](_0x1df19c);}),_0x2a4e95[_0x511961(0x246)](_0x511961(0x25a))['to'](_0xc186a4),_0x9e39a9[_0x511961(0x24c)][_0x511961(0x20c)](_0x2a4e95),_0x3d3cea[_0x511961(0x268)][_0x511961(0x20c)](_0x9e39a9);}),_0xc186a4[_0x25355e(0x24d)][_0x25355e(0x24c)][_0x25355e(0x20c)](_0x3d3cea),_0x2f12c9[_0x25355e(0x24c)][_0x25355e(0x20c)](_0xc186a4),_0x3e1d3c[_0x25355e(0x268)][_0x25355e(0x20c)](_0x2f12c9);}else{const _0x547ed8=_0x2791b3,_0x492c43=new _0x2765ae(_0x178de0,_0x2074e6),_0xaab24c=new _0x4d6795(_0x178de0);_0xaab24c[_0x25355e(0x252)]({'label':_0x547ed8[_0x25355e(0x25f)],'icon':_0x547ed8[_0x25355e(0x1fc)],'role':_0x25355e(0x216)}),_0xaab24c['on'](_0x25355e(0x25a),()=>{const _0x244e48=_0x25355e;this[_0x244e48(0x219)](_0x547ed8);}),_0xaab24c[_0x25355e(0x246)](_0x25355e(0x25a))['to'](_0x2074e6),_0x492c43[_0x25355e(0x24c)][_0x25355e(0x20c)](_0xaab24c),_0x3e1d3c[_0x25355e(0x268)][_0x25355e(0x20c)](_0x492c43);}});const _0xece94f=Object[_0x3480b9(0x1ed)](AIQuickActionTypeToPluginName)[_0x3480b9(0x1f8)](_0x717316=>this[_0x3480b9(0x262)][_0x3480b9(0x1f4)][_0x3480b9(0x259)](_0x717316));return _0x2074e6[_0x3480b9(0x252)]({'isEnabled':_0xece94f}),_0x2074e6[_0x3480b9(0x24d)][_0x3480b9(0x24c)][_0x3480b9(0x20c)](_0x3e1d3c),_0x2074e6;});}[_0x54759f(0x219)](_0x3ff460){const _0x44b95c=_0x54759f,_0x187f86=this[_0x44b95c(0x262)];_0x187f86[_0x44b95c(0x1e4)][_0x44b95c(0x215)][_0x44b95c(0x217)](),_0x187f86[_0x44b95c(0x22d)][_0x44b95c(0x25a)](_0x44b95c(0x20d),_0x3ff460);const _0xf930a1=_0x187f86['ui'][_0x44b95c(0x215)][_0x44b95c(0x22b)];_0xf930a1&&_0xf930a1[_0x44b95c(0x239)]&&_0xf930a1[_0x44b95c(0x239)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x224a99,_0x56b9b4){const _0x13486c=_0x150c,_0x1cee9f=_0x224a99();while(!![]){try{const _0x35ae5c=-parseInt(_0x13486c(0x17c))/0x1*(-parseInt(_0x13486c(0x180))/0x2)+parseInt(_0x13486c(0x18d))/0x3*(parseInt(_0x13486c(0x18f))/0x4)+parseInt(_0x13486c(0x195))/0x5*(-parseInt(_0x13486c(0x181))/0x6)+parseInt(_0x13486c(0x17e))/0x7*(parseInt(_0x13486c(0x18c))/0x8)+parseInt(_0x13486c(0x189))/0x9*(-parseInt(_0x13486c(0x194))/0xa)+-parseInt(_0x13486c(0x192))/0xb*(-parseInt(_0x13486c(0x183))/0xc)+-parseInt(_0x13486c(0x191))/0xd;if(_0x35ae5c===_0x56b9b4)break;else _0x1cee9f['push'](_0x1cee9f['shift']());}catch(_0x4c574e){_0x1cee9f['push'](_0x1cee9f['shift']());}}}(_0xb2bd,0x5c5b8));import{ButtonView as _0x405179}from'ckeditor5/src/ui.js';function _0x150c(_0x39db4e,_0x3df749){const _0xb2bdb4=_0xb2bd();return _0x150c=function(_0x150cce,_0x191b3d){_0x150cce=_0x150cce-0x17b;let _0x5c6046=_0xb2bdb4[_0x150cce];return _0x5c6046;},_0x150c(_0x39db4e,_0x3df749);}import{IconAIQuickActions as _0x315154}from'@ckeditor/ckeditor5-icons';function _0xb2bd(){const _0x2b2501=['icon','1947068WVaBma','editing','489710JLCrDi','397859AtCTZh','ck-ai-quick-actions-button','170PaVVMY','45VsmMoP','parent','locale','88625GUzPZm','set','2478917lrDXKJ','aiQuickAction','4QYDtoq','218088PIEMyv','extendTemplate','12iltlXG','commands','displayedPrompt','bindTemplate','focus','view','164763SMtpAw','menuitem','execute','8lxEcVD','3AcFmSX'];_0xb2bd=function(){return _0x2b2501;};return _0xb2bd();}export function aiQuickActionsButtonCreator(_0x49856b,_0x174813,_0x34952f=!0x1,_0xaa4903=!0x0,_0x5a972d=!0x0){return()=>{const _0x43c48b=_0x150c,_0x14dd5f=_0x49856b[_0x43c48b(0x17b)],_0x3974b5=new _0x405179(_0x14dd5f),_0x3a4972=_0x3974b5[_0x43c48b(0x186)];_0x5a972d&&_0x3974b5[_0x43c48b(0x182)]({'on':{'mouseenter':_0x3a4972['to'](()=>{const _0xbe4f7f=_0x43c48b;_0x3974b5[_0xbe4f7f(0x187)]();})}});const _0x1437bf=_0x174813[_0x43c48b(0x18e)]??_0x174813[_0x43c48b(0x196)]?.[_0x43c48b(0x18e)];return _0x3974b5[_0x43c48b(0x17d)]({'label':_0x174813[_0x43c48b(0x185)],'withText':_0x34952f,'role':_0x43c48b(0x18a),'icon':_0xaa4903?_0x1437bf??_0x315154:void 0x0,'tooltip':!_0x34952f,'class':_0x43c48b(0x193)}),_0x3974b5['on'](_0x43c48b(0x18b),()=>{const _0xf27346=_0x43c48b;_0x49856b[_0xf27346(0x190)][_0xf27346(0x188)][_0xf27346(0x187)](),_0x49856b[_0xf27346(0x184)][_0xf27346(0x18b)](_0xf27346(0x17f),_0x174813);}),_0x3974b5;};}
23
+ (function(_0x1e390a,_0x293ad2){const _0x2762fa=_0x3169,_0x1f862f=_0x1e390a();while(!![]){try{const _0x416853=parseInt(_0x2762fa(0x125))/0x1+-parseInt(_0x2762fa(0x12c))/0x2+parseInt(_0x2762fa(0x128))/0x3+-parseInt(_0x2762fa(0x12f))/0x4*(parseInt(_0x2762fa(0x135))/0x5)+parseInt(_0x2762fa(0x132))/0x6*(parseInt(_0x2762fa(0x124))/0x7)+parseInt(_0x2762fa(0x12a))/0x8*(-parseInt(_0x2762fa(0x136))/0x9)+parseInt(_0x2762fa(0x126))/0xa;if(_0x416853===_0x293ad2)break;else _0x1f862f['push'](_0x1f862f['shift']());}catch(_0x39eb6c){_0x1f862f['push'](_0x1f862f['shift']());}}}(_0x527e,0xd3533));function _0x3169(_0xd2205c,_0x32697d){const _0x527e82=_0x527e();return _0x3169=function(_0x316973,_0x5cf0db){_0x316973=_0x316973-0x120;let _0x3190fa=_0x527e82[_0x316973];return _0x3190fa;},_0x3169(_0xd2205c,_0x32697d);}import{ButtonView as _0x19db45}from'ckeditor5/src/ui.js';function _0x527e(){const _0x30050d=['8GfmaNe','parent','aiQuickAction','12KpByzV','displayedPrompt','ck-ai-quick-actions-button','965585HhylGy','153IaYszC','editing','bindTemplate','commands','set','execute','view','1391474ahliZp','458334CUqnOZ','19188630eHQsam','icon','458955xwXbhi','menuitem','778024YKQkQC','focus','45248pEjjrR','extendTemplate','locale'];_0x527e=function(){return _0x30050d;};return _0x527e();}import{IconAIQuickActions as _0x1443b2}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0xd6a95b,_0x95f2d6,_0x139e87=!0x1,_0x2638de=!0x0,_0x2b488b=!0x0){return()=>{const _0x4f8c10=_0x3169,_0x7b2875=_0xd6a95b[_0x4f8c10(0x12e)],_0x33a2fc=new _0x19db45(_0x7b2875),_0x761548=_0x33a2fc[_0x4f8c10(0x138)];_0x2b488b&&_0x33a2fc[_0x4f8c10(0x12d)]({'on':{'mouseenter':_0x761548['to'](()=>{const _0x4318cd=_0x4f8c10;_0x33a2fc[_0x4318cd(0x12b)]();})}});const _0x50b5bd=_0x95f2d6[_0x4f8c10(0x127)]??_0x95f2d6[_0x4f8c10(0x130)]?.[_0x4f8c10(0x127)];return _0x33a2fc[_0x4f8c10(0x121)]({'label':_0x95f2d6[_0x4f8c10(0x133)],'withText':_0x139e87,'role':_0x4f8c10(0x129),'icon':_0x2638de?_0x50b5bd??_0x1443b2:void 0x0,'tooltip':!_0x139e87,'class':_0x4f8c10(0x134)}),_0x33a2fc['on'](_0x4f8c10(0x122),()=>{const _0x27ecc2=_0x4f8c10;_0xd6a95b[_0x27ecc2(0x137)][_0x27ecc2(0x123)][_0x27ecc2(0x12b)](),_0xd6a95b[_0x27ecc2(0x120)][_0x27ecc2(0x122)](_0x27ecc2(0x131),_0x95f2d6);}),_0x33a2fc;};}