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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) 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/aiactionsreply.js +1 -1
  6. package/src/aiassistant/aiassistantediting.js +1 -1
  7. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  8. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  9. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  10. package/src/aiassistant/ui/form/aiformview.js +1 -1
  11. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  12. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  13. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  14. package/src/aiballoon/aiballoon.js +1 -1
  15. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  16. package/src/aiballoon/ui/aiballoonview.js +1 -1
  17. package/src/aichat/aichat.js +1 -1
  18. package/src/aichat/aichatcontroller.js +1 -1
  19. package/src/aichat/aichatui.js +1 -1
  20. package/src/aichat/model/aichatcontext.js +1 -1
  21. package/src/aichat/model/aichatconversation.js +1 -1
  22. package/src/aichat/model/aichatinteraction.js +1 -1
  23. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  24. package/src/aichat/ui/aichatfeedview.js +1 -1
  25. package/src/aichat/ui/aichatheaderview.js +1 -1
  26. package/src/aichat/ui/aichatview.js +1 -1
  27. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  28. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  29. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  30. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  31. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  32. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  33. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  34. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  35. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  36. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  37. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  38. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  39. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  40. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  41. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  42. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  43. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  44. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  45. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  46. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  47. package/src/aichathistory/aichathistory.js +1 -1
  48. package/src/aichathistory/aichathistorycontroller.js +1 -1
  49. package/src/aichathistory/aichathistoryui.js +1 -1
  50. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  51. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  52. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  53. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  54. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  55. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  56. package/src/aicore/aiconnector.js +1 -1
  57. package/src/aicore/aiediting.js +1 -1
  58. package/src/aicore/model/aiinteraction.js +1 -1
  59. package/src/aicore/model/aimodels.js +1 -1
  60. package/src/aicore/model/aireply.js +1 -1
  61. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  62. package/src/aicore/pipeline/airesponseparser.js +2 -2
  63. package/src/aicore/ui/aidisclaimerview.js +1 -1
  64. package/src/aicore/ui/aiskeleton.js +1 -1
  65. package/src/aicore/ui/aispinner.js +1 -1
  66. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  67. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  68. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  69. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  70. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  71. package/src/aicore/utils/documentposition.js +1 -1
  72. package/src/aicore/utils/documentrange.js +1 -1
  73. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  74. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  75. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  76. package/src/aicore/utils/htmlparser.js +1 -1
  77. package/src/aicore/utils/htmlstreamer.js +1 -1
  78. package/src/aicore/utils/scrollmanager.js +1 -1
  79. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  80. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  81. package/src/aiquickactions/aiquickactionsui.js +1 -1
  82. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  83. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  84. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  85. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  86. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  87. package/src/aireviewmode/aireviewmode.js +1 -1
  88. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  89. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  90. package/src/aireviewmode/aireviewmodeui.js +1 -1
  91. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  92. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  93. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  94. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  95. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  96. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  97. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  98. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  99. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  100. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  101. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  102. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  103. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  104. package/src/aitabs/aitabs.js +1 -1
  105. package/src/aitabs/tabs/aitabsview.js +1 -1
  106. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5d2f(_0x4ab6ac,_0x486702){const _0x50651b=_0x5065();return _0x5d2f=function(_0x5d2f1f,_0x2fa659){_0x5d2f1f=_0x5d2f1f-0x1eb;let _0x45f55a=_0x50651b[_0x5d2f1f];return _0x45f55a;},_0x5d2f(_0x4ab6ac,_0x486702);}const _0x31c6e6=_0x5d2f;(function(_0x94e81e,_0x363b18){const _0x53b914=_0x5d2f,_0x2c08a2=_0x94e81e();while(!![]){try{const _0x4f4803=parseInt(_0x53b914(0x25c))/0x1*(parseInt(_0x53b914(0x20d))/0x2)+parseInt(_0x53b914(0x1f5))/0x3*(-parseInt(_0x53b914(0x24d))/0x4)+parseInt(_0x53b914(0x2d9))/0x5*(parseInt(_0x53b914(0x247))/0x6)+parseInt(_0x53b914(0x273))/0x7+-parseInt(_0x53b914(0x226))/0x8+-parseInt(_0x53b914(0x2d2))/0x9*(-parseInt(_0x53b914(0x23e))/0xa)+parseInt(_0x53b914(0x243))/0xb;if(_0x4f4803===_0x363b18)break;else _0x2c08a2['push'](_0x2c08a2['shift']());}catch(_0x8eb80d){_0x2c08a2['push'](_0x2c08a2['shift']());}}}(_0x5065,0xc6cdc));import{InsertOperation as _0x33b408,MarkerOperation as _0x2f2032,ModelDocumentFragment as _0x5e895e,ModelPosition as _0x20fb9b,ModelRange as _0x209645,ModelTreeWalker as _0x30c98b,transformOperationSets as _0x50fe86}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x59d68b,EmitterMixin as _0xe1a427}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x35615b}from'ckeditor5/src/core.js';import{DocumentCompare as _0x444061,DATA_ID_MODEL_ATTRIBUTE as _0x236358,DATA_ID_VIEW_ATTRIBUTE as _0x56224b}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x13137f}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x2d508e}from'../aicore/aiediting.js';import{debounce as _0x470a52}from'es-toolkit/compat';const we=_0x31c6e6(0x230);export class AIReviewModeEditing extends _0x35615b{static get[_0x31c6e6(0x245)](){const _0x102a25=_0x31c6e6;return _0x102a25(0x254);}static get[_0x31c6e6(0x276)](){return[_0x444061,_0x2d508e];}static get[_0x31c6e6(0x2b6)](){return!0x0;}static get[_0x31c6e6(0x27a)](){return!0x0;}[_0x31c6e6(0x20a)]=new Map();[_0x31c6e6(0x2ca)];[_0x31c6e6(0x29b)];constructor(_0xbf38c1){const _0x20e35c=_0x31c6e6;super(_0xbf38c1),this[_0x20e35c(0x2ca)]=new(_0x59d68b())(),this[_0x20e35c(0x29b)]=new(_0xe1a427())();}get[_0x31c6e6(0x212)](){const _0x19e787=_0x31c6e6;return this[_0x19e787(0x29b)];}[_0x31c6e6(0x27d)](){const _0x297580=_0x31c6e6,_0x1e3af2=_0x13137f(this[_0x297580(0x1ec)]);_0x1e3af2[_0x297580(0x2cd)][_0x297580(0x2bc)](_0x297580(0x271))[_0x297580(0x291)]({'model':we+_0x297580(0x21d),'view':(_0x292c92,{writer:_0x5cf9d0})=>{const _0x7d7bb7=_0x297580,_0x213af6=this[_0x7d7bb7(0x20a)][_0x7d7bb7(0x2b8)](_0x292c92[_0x7d7bb7(0x292)]),_0x2a354e={'class':_0x7d7bb7(0x21a),'data-marker-id':_0x292c92[_0x7d7bb7(0x292)]};return _0x5cf9d0[_0x7d7bb7(0x250)](_0x7d7bb7(0x26b),_0x2a354e,function(_0x5435d3){const _0x1984b9=_0x7d7bb7,_0x3b7362=this[_0x1984b9(0x2b9)](_0x5435d3);return _0x3b7362[_0x1984b9(0x238)]=_0x213af6?.[_0x1984b9(0x221)]||'',_0x3b7362;});}}),_0x1e3af2[_0x297580(0x2cd)][_0x297580(0x2bc)](_0x297580(0x271))[_0x297580(0x2c3)]({'model':we+_0x297580(0x2c7),'view':_0x3b729a=>({'classes':_0x297580(0x2d0),'attributes':{'data-marker-id':_0x3b729a[_0x297580(0x292)]}})}),_0x1e3af2[_0x297580(0x2cd)][_0x297580(0x2bc)](_0x297580(0x271))[_0x297580(0x2c3)]({'model':we+_0x297580(0x2de),'view':_0x171cca=>({'classes':_0x297580(0x215),'attributes':{'data-marker-id':_0x171cca[_0x297580(0x292)]}})}),_0x1e3af2[_0x297580(0x2cd)][_0x297580(0x2bc)](_0x297580(0x271))[_0x297580(0x2c3)]({'model':we+_0x297580(0x246),'view':_0x160508=>({'classes':_0x297580(0x280),'attributes':{'data-marker-id':_0x160508[_0x297580(0x292)]}})}),_0x1e3af2[_0x297580(0x2cd)][_0x297580(0x2bc)](_0x297580(0x236))[_0x297580(0x291)]({'model':we+_0x297580(0x2ae),'view':(_0x2fb65e,{writer:_0x57141a})=>_0x57141a[_0x297580(0x239)](_0x297580(0x26b),{'class':_0x297580(0x2d1)+(_0x2fb65e[_0x297580(0x21c)]?_0x297580(0x2c1):_0x297580(0x224))})}),_0x1e3af2[_0x297580(0x2cd)][_0x297580(0x2bc)](_0x297580(0x2dd))[_0x297580(0x2da)]({'model':_0x236358,'view':_0x56224b}),this[_0x297580(0x2ca)][_0x297580(0x282)](document,_0x297580(0x22a),(_0x402acd,_0x126497)=>{const _0x167257=_0x297580,_0x3bb133=_0x126497[_0x167257(0x1f2)],_0xdda711=this[_0x167257(0x2e2)](_0x3bb133);if(!_0xdda711)return;const _0x47137b=_0xdda711[_0x167257(0x253)](_0x167257(0x1eb)),_0x1c5e7d=_0x47137b[_0x167257(0x2ad)](':')[_0x167257(0x2b4)]()?.[_0x167257(0x2ad)]('_')[0x0];this[_0x167257(0x29b)][_0x167257(0x296)](_0x167257(0x235),{'markerId':_0x47137b,'changeId':_0x1c5e7d,'markerElement':_0xdda711,'domEvent':_0x126497});}),this[_0x297580(0x2ca)][_0x297580(0x282)](document,_0x297580(0x2c8),(_0x15707f,_0x53bcce)=>{const _0x19b131=_0x297580,_0x27b1f8=_0x53bcce[_0x19b131(0x1f2)],_0x2d1581=_0x53bcce[_0x19b131(0x26d)];let _0x48d0b0=this[_0x19b131(0x2e2)](_0x27b1f8);if(!_0x48d0b0&&_0x2d1581&&(_0x48d0b0=this[_0x19b131(0x2e2)](_0x2d1581)),!_0x48d0b0)return;const _0x163833=_0x48d0b0[_0x19b131(0x253)](_0x19b131(0x1eb)),_0x57430e=_0x163833[_0x19b131(0x2ad)](':')[_0x19b131(0x2b4)]()?.[_0x19b131(0x2ad)]('_')[0x0];this[_0x19b131(0x29b)][_0x19b131(0x296)](_0x19b131(0x205),{'changeId':_0x57430e,'markerElement':_0x48d0b0,'domEvent':_0x53bcce});}),this[_0x297580(0x2ca)][_0x297580(0x282)](document,_0x297580(0x2c8),_0x470a52((_0x338293,_0x75279e)=>{const _0x499af2=_0x297580,_0xe491c6=_0x75279e[_0x499af2(0x1f2)];if(this[_0x499af2(0x2e2)](_0xe491c6))return;_0xe491c6[_0x499af2(0x2b0)](_0x499af2(0x1f1))||this[_0x499af2(0x29b)][_0x499af2(0x296)](_0x499af2(0x213));},0xc8)),_0x1e3af2[_0x297580(0x252)][_0x297580(0x267)][_0x297580(0x2a5)](_0x58ead7=>this[_0x297580(0x234)](_0x1e3af2,_0x58ead7)),_0x1e3af2[_0x297580(0x252)][_0x297580(0x267)]['on'](_0x297580(0x29f),()=>this[_0x297580(0x1f3)](_0x1e3af2));}[_0x31c6e6(0x201)](){const _0x30626f=_0x31c6e6,_0x71bee0=this[_0x30626f(0x1ec)][_0x30626f(0x202)][_0x30626f(0x2b8)](_0x30626f(0x217)),_0xda3cdc=_0x13137f(this[_0x30626f(0x1ec)]),_0x5ef0ab=_0xda3cdc[_0x30626f(0x252)],_0x365ac2=new _0x5e895e();for(const _0x33c160 of _0x5ef0ab[_0x30626f(0x267)][_0x30626f(0x2a4)]()[_0x30626f(0x24a)]()){const _0x10cd1a=_0x33c160[_0x30626f(0x2a3)](!0x0);_0x365ac2[_0x30626f(0x22e)](_0x10cd1a);}for(const _0xc58e59 of _0x5ef0ab[_0x30626f(0x1fa)])_0x365ac2[_0x30626f(0x1fa)][_0x30626f(0x2d6)](_0xc58e59[_0x30626f(0x2b5)],this[_0x30626f(0x2c6)](_0xc58e59[_0x30626f(0x288)]()[_0x30626f(0x2c0)](),_0x365ac2));const _0x376437=new _0x30c98b({'ignoreElementEnd':!0x0,'startPosition':_0x5ef0ab[_0x30626f(0x2b2)](_0x365ac2,0x0)}),_0x24fe1f=new Set(),_0x124f83=new Map();for(const {item:_0x4c1d36}of _0x376437){if(!_0x4c1d36['is'](_0x30626f(0x2d3)))continue;const _0x5d88cb=_0x4c1d36[_0x30626f(0x2c4)];if(_0x5d88cb&&_0x5d88cb['is'](_0x30626f(0x1fe))){const _0x96de7d=this[_0x30626f(0x20b)](_0x5d88cb,()=>_0x71bee0[_0x30626f(0x23c)](_0x24fe1f));_0x24fe1f[_0x30626f(0x2a2)](_0x96de7d);for(const _0x43a408 of _0x5d88cb[_0x30626f(0x24a)]())_0x43a408['is'](_0x30626f(0x1fe))&&_0x24fe1f[_0x30626f(0x2a2)](this[_0x30626f(0x20b)](_0x43a408,()=>_0x71bee0[_0x30626f(0x23c)](_0x24fe1f)));let _0x3616a9=_0x5d88cb;for(;_0x3616a9[_0x30626f(0x2c4)]&&!_0x3616a9[_0x30626f(0x2c4)]['is'](_0x30626f(0x29d));)_0x3616a9=_0x3616a9[_0x30626f(0x2c4)],_0x3616a9[_0x30626f(0x227)](_0x236358)&&_0x3616a9[_0x30626f(0x28b)](_0x236358);_0x124f83[_0x30626f(0x2d6)](_0x96de7d,{'path':_0x5d88cb[_0x30626f(0x20e)](),'getContent':this[_0x30626f(0x1ef)](_0x3616a9[_0x30626f(0x2a3)](!0x0),_0x96de7d,_0xda3cdc[_0x30626f(0x285)])}),_0x376437[_0x30626f(0x2ce)](_0x5ef0ab[_0x30626f(0x268)](_0x5d88cb));}}return{'content':_0xda3cdc[_0x30626f(0x285)][_0x30626f(0x1fc)][_0x30626f(0x210)](_0xda3cdc[_0x30626f(0x285)][_0x30626f(0x28a)](_0x365ac2)),'version':_0xda3cdc[_0x30626f(0x252)][_0x30626f(0x267)][_0x30626f(0x22c)],'elements':_0x124f83};}[_0x31c6e6(0x1ee)](_0x1bf990,_0x507544){const _0x142cef=_0x31c6e6,_0x2b70eb=[],_0x36cd85=_0x13137f(this[_0x142cef(0x1ec)]),_0x18cdac=_0x36cd85[_0x142cef(0x285)][_0x142cef(0x240)](_0x507544,_0x142cef(0x272)),_0x394d66=_0x36cd85[_0x142cef(0x285)][_0x142cef(0x240)](_0x1bf990,_0x142cef(0x272)),_0x947de3=_0x36cd85[_0x142cef(0x252)][_0x142cef(0x2b2)](_0x394d66,0x0);if(this[_0x142cef(0x24c)](_0x18cdac)){if(!this[_0x142cef(0x200)](_0x394d66,_0x18cdac))return _0x2b70eb;}else{const _0x5e55e2=_0x36cd85[_0x142cef(0x252)][_0x142cef(0x228)];if(!this[_0x142cef(0x2e0)](_0x394d66,_0x5e55e2)||!this[_0x142cef(0x2e0)](_0x18cdac,_0x5e55e2))return _0x2b70eb;}const _0x46adfe=this[_0x142cef(0x1ec)][_0x142cef(0x202)][_0x142cef(0x2b8)](_0x142cef(0x298))[_0x142cef(0x290)](_0x1bf990,_0x507544,{'anchor':_0x947de3,'markDeletions':!0x0})[_0x142cef(0x260)]()[_0x142cef(0x28c)](_0x3c2138=>_0x142cef(0x21d)===_0x3c2138[_0x142cef(0x222)]||_0x142cef(0x263)===_0x3c2138[_0x142cef(0x222)]&&_0x3c2138[_0x142cef(0x2b5)][_0x142cef(0x26c)](_0x142cef(0x21e))),_0x2ce7a8=this[_0x142cef(0x29a)](_0x46adfe);let _0x5c65ad=0x0;return _0x36cd85[_0x142cef(0x252)][_0x142cef(0x29f)](_0x17f9b3=>{const _0x478ed5=_0x142cef;for(let _0x2db94=0x0;_0x2db94<_0x2ce7a8[_0x478ed5(0x257)];_0x2db94++){const _0x575f5b=_0x2ce7a8[_0x2db94],_0x2da7ab=_0x17f9b3[_0x478ed5(0x2ba)]();for(const _0x40704d of _0x394d66[_0x478ed5(0x24a)]())_0x17f9b3[_0x478ed5(0x208)](_0x40704d[_0x478ed5(0x2a3)](!0x0),_0x2da7ab);for(const _0x17f009 of _0x575f5b[_0x478ed5(0x28e)])if(_0x478ed5(0x21d)===_0x17f009[_0x478ed5(0x222)]){const _0x3555ff=_0x17f009;_0x3555ff[_0x478ed5(0x211)]=null,_0x3555ff[_0x478ed5(0x2be)]=!0x1,this[_0x478ed5(0x237)](_0x3555ff,_0x2da7ab),_0x17f9b3[_0x478ed5(0x2cb)][_0x478ed5(0x1ed)](_0x17f009),_0x36cd85[_0x478ed5(0x252)][_0x478ed5(0x1f4)](_0x17f009);const _0x235bde=_0x478ed5(0x28f)+_0x5c65ad++,_0x3be856=_0x36cd85[_0x478ed5(0x252)][_0x478ed5(0x2bf)](_0x3555ff[_0x478ed5(0x259)],_0x3555ff[_0x478ed5(0x259)][_0x478ed5(0x1f7)](_0x3555ff[_0x478ed5(0x255)]));_0x2da7ab[_0x478ed5(0x1fa)][_0x478ed5(0x2d6)](_0x235bde,_0x3be856);}else{if(_0x478ed5(0x263)===_0x17f009[_0x478ed5(0x222)]&&_0x17f009[_0x478ed5(0x2b5)][_0x478ed5(0x26c)](_0x478ed5(0x21e))){const _0x32b294=_0x17f009,_0x27d179=_0x478ed5(0x299)+_0x5c65ad++;this[_0x478ed5(0x237)](_0x32b294,_0x2da7ab),_0x2da7ab[_0x478ed5(0x1fa)][_0x478ed5(0x2d6)](_0x27d179,_0x32b294[_0x478ed5(0x2a9)]);}}const _0x2a6256=this[_0x478ed5(0x251)](this[_0x478ed5(0x297)](this[_0x478ed5(0x258)](_0x575f5b[_0x478ed5(0x28e)][0x0]),_0x2da7ab),this[_0x478ed5(0x297)](this[_0x478ed5(0x229)](_0x575f5b[_0x478ed5(0x28e)][_0x575f5b[_0x478ed5(0x28e)][_0x478ed5(0x257)]-0x1]),_0x2da7ab));_0x2da7ab[_0x478ed5(0x1fa)][_0x478ed5(0x2d6)](we+_0x478ed5(0x2ae),new _0x209645(_0x2a6256[_0x478ed5(0x2c1)],_0x2a6256[_0x478ed5(0x224)])),_0x2b70eb[_0x478ed5(0x277)]({..._0x575f5b,'context':this[_0x478ed5(0x286)](_0x2da7ab,_0x36cd85[_0x478ed5(0x285)],{'ellipsisBefore':_0x2a6256[_0x478ed5(0x2e1)],'ellipsisAfter':_0x2a6256[_0x478ed5(0x25e)]}),'content':this[_0x478ed5(0x28d)](_0x2da7ab,_0x36cd85[_0x478ed5(0x285)])});}}),_0x2b70eb;}[_0x31c6e6(0x23d)](_0x5af564,_0x13627c){const _0x44f884=_0x31c6e6;if(!_0x5af564[_0x44f884(0x257)])return;const _0x556c17=_0x5af564[0x0][_0x44f884(0x2c4)]['id'],_0x2a0b4f=_0x13627c[_0x44f884(0x231)][_0x44f884(0x2b8)](_0x556c17);if(!_0x2a0b4f)return void console[_0x44f884(0x283)](_0x44f884(0x24f)+_0x556c17);const _0x52ca9d=_0x2a0b4f[_0x44f884(0x23a)],_0x76dc90=_0x13137f(this[_0x44f884(0x1ec)]),_0x30011e=_0x76dc90[_0x44f884(0x252)][_0x44f884(0x267)][_0x44f884(0x295)][_0x44f884(0x260)](_0x13627c[_0x44f884(0x22c)]),_0x3687f1=[];for(const _0x3929f4 of _0x5af564){const _0x54abe1=_0x3929f4[_0x44f884(0x28e)][_0x44f884(0x22f)](_0x270be5=>this[_0x44f884(0x223)](_0x270be5,_0x52ca9d,_0x76dc90[_0x44f884(0x252)][_0x44f884(0x267)][_0x44f884(0x261)]()[0x0]));if(!_0x54abe1||!_0x54abe1[_0x44f884(0x257)])continue;const _0x3da59f=_0x54abe1[_0x44f884(0x216)](_0x1c31d3=>_0x44f884(0x263)===_0x1c31d3[_0x44f884(0x222)]&&_0x1c31d3[_0x44f884(0x2b5)][_0x44f884(0x26c)](_0x44f884(0x21e))),_0x155c17={'document':_0x76dc90[_0x44f884(0x252)][_0x44f884(0x267)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x20983=_0x50fe86(_0x54abe1,_0x30011e,_0x155c17)[_0x44f884(0x264)];for(const _0x491d83 of _0x20983)if(_0x44f884(0x21d)===_0x491d83[_0x44f884(0x222)]){const _0x9f13ef=_0x491d83,_0x477e8e=_0x9f13ef[_0x44f884(0x274)];let _0x58e871='';for(const _0x3f56e6 of _0x477e8e)_0x3f56e6&&_0x3f56e6['is'](_0x44f884(0x275))&&(_0x58e871+=_0x3f56e6[_0x44f884(0x285)]);_0x3687f1[_0x44f884(0x277)]({'start':_0x9f13ef[_0x44f884(0x259)],'end':_0x9f13ef[_0x44f884(0x259)],'type':_0x44f884(0x21d),'groupId':_0x3929f4['id'],'text':_0x58e871});}else{if(_0x44f884(0x263)===_0x491d83[_0x44f884(0x222)]&&_0x491d83[_0x44f884(0x2b5)][_0x44f884(0x26c)](_0x44f884(0x21e))){const _0x420213=_0x491d83;let _0x4ef3c8=_0x44f884(0x246);if(_0x3da59f){const _0x5c861a=this[_0x44f884(0x2c2)](_0x420213[_0x44f884(0x2a9)][_0x44f884(0x2c1)],_0x44f884(0x219),_0x76dc90[_0x44f884(0x252)][_0x44f884(0x228)]),_0x37449b=this[_0x44f884(0x2c2)](_0x420213[_0x44f884(0x2a9)][_0x44f884(0x224)],_0x44f884(0x23b),_0x76dc90[_0x44f884(0x252)][_0x44f884(0x228)]);if(_0x5c861a||_0x37449b){const _0x436b50=_0x420213[_0x44f884(0x2a9)][_0x44f884(0x2c1)][_0x44f884(0x1f7)](-_0x5c861a),_0x11e528=_0x420213[_0x44f884(0x2a9)][_0x44f884(0x224)][_0x44f884(0x1f7)](_0x37449b);_0x3687f1[_0x44f884(0x277)]({'start':_0x436b50,'end':_0x11e528,'groupId':_0x3929f4['id'],'type':_0x44f884(0x2de)});}else _0x4ef3c8=_0x44f884(0x2c7);}_0x3687f1[_0x44f884(0x277)]({'start':_0x420213[_0x44f884(0x2a9)][_0x44f884(0x2c1)],'end':_0x420213[_0x44f884(0x2a9)][_0x44f884(0x224)],'groupId':_0x3929f4['id'],'type':_0x4ef3c8});}}}this[_0x44f884(0x204)](_0x3687f1);}[_0x31c6e6(0x21b)](){const _0x37b751=_0x31c6e6,_0x44f251=_0x13137f(this[_0x37b751(0x1ec)]);_0x44f251[_0x37b751(0x252)][_0x37b751(0x29f)](_0x7dfa4f=>{const _0x5f0d33=_0x37b751;for(const _0x22e3a0 of this[_0x5f0d33(0x20a)][_0x5f0d33(0x214)]())_0x44f251[_0x5f0d33(0x252)][_0x5f0d33(0x1fa)][_0x5f0d33(0x2b8)](_0x22e3a0)&&_0x7dfa4f[_0x5f0d33(0x244)](_0x22e3a0);}),this[_0x37b751(0x20a)][_0x37b751(0x20f)]();}[_0x31c6e6(0x2cc)](){const _0x5515df=_0x31c6e6;_0x13137f(this[_0x5515df(0x1ec)])[_0x5515df(0x24b)](_0x5515df(0x284));}[_0x31c6e6(0x233)](){const _0x207fc9=_0x31c6e6;_0x13137f(this[_0x207fc9(0x1ec)])[_0x207fc9(0x25d)](_0x207fc9(0x284));}[_0x31c6e6(0x2bb)](_0x306989){const _0x5a4412=_0x31c6e6,_0x318fa4=_0x13137f(this[_0x5a4412(0x1ec)]),_0x115fcb=_0x318fa4[_0x5a4412(0x252)],_0x1c1417=_0x306989[_0x5a4412(0x22f)](_0x2f7f8f=>this[_0x5a4412(0x2c5)](_0x2f7f8f))[_0x5a4412(0x249)]();_0x115fcb[_0x5a4412(0x29f)](_0x178448=>{const _0x304dd2=_0x5a4412;for(const _0x256a0a of _0x1c1417){const _0xa6c0ad=_0x318fa4[_0x304dd2(0x252)][_0x304dd2(0x1fa)][_0x304dd2(0x2b8)](_0x256a0a['id']);_0xa6c0ad&&(_0x304dd2(0x21d)===_0x256a0a[_0x304dd2(0x222)]?_0x115fcb[_0x304dd2(0x289)](_0x178448[_0x304dd2(0x22d)](_0x256a0a[_0x304dd2(0x221)]||''),_0xa6c0ad[_0x304dd2(0x288)]()[_0x304dd2(0x2c1)]):_0x304dd2(0x246)!==_0x256a0a[_0x304dd2(0x222)]&&_0x304dd2(0x2c7)!==_0x256a0a[_0x304dd2(0x222)]||_0x115fcb[_0x304dd2(0x269)](_0x115fcb[_0x304dd2(0x1ff)](_0xa6c0ad[_0x304dd2(0x288)]())),_0x178448[_0x304dd2(0x244)](_0x256a0a['id']),this[_0x304dd2(0x20a)][_0x304dd2(0x26e)](_0x256a0a['id']));}});}[_0x31c6e6(0x2d8)](_0x59f57e){const _0xcef3d3=_0x31c6e6,_0x254005=_0x13137f(this[_0xcef3d3(0x1ec)]),_0x10b361=this[_0xcef3d3(0x2c5)](_0x59f57e);_0x254005[_0xcef3d3(0x252)][_0xcef3d3(0x29f)](_0x4cf3f8=>{const _0x63c4b4=_0xcef3d3;for(const _0x244110 of _0x10b361)_0x4cf3f8[_0x63c4b4(0x244)](_0x244110['id']),this[_0x63c4b4(0x20a)][_0x63c4b4(0x26e)](_0x244110['id']);});}[_0x31c6e6(0x27c)](){const _0x94a72d=_0x31c6e6;return _0x13137f(this[_0x94a72d(0x1ec)]);}[_0x31c6e6(0x2a8)](_0x39f203){const _0x326813=_0x31c6e6,_0x25e2ff=Array[_0x326813(0x1f0)](this[_0x326813(0x20a)][_0x326813(0x29e)]())[_0x326813(0x28c)](_0x316fd7=>_0x316fd7[_0x326813(0x27e)]===_0x39f203);if(!_0x25e2ff[_0x326813(0x257)])return null;const _0x5b0577=0x1===_0x25e2ff[_0x326813(0x257)]?_0x25e2ff[0x0]:this[_0x326813(0x23f)](_0x25e2ff)[0x0],_0x45dc08=_0x13137f(this[_0x326813(0x1ec)]),_0x50f126=_0x45dc08[_0x326813(0x252)][_0x326813(0x1fa)][_0x326813(0x2b8)](_0x5b0577['id']);if(!_0x50f126)return null;const _0x2ae85d=_0x50f126[_0x326813(0x288)](),_0x29c9ed=_0x45dc08[_0x326813(0x2d4)][_0x326813(0x248)][_0x326813(0x24e)]();if(!_0x29c9ed||!_0x2ae85d)return null;const _0x17e3aa=_0x29c9ed[_0x326813(0x225)](_0x326813(0x2db)+_0x5b0577['id']+'\x22]');return _0x17e3aa?{'modelRange':_0x2ae85d,'domElement':_0x17e3aa}:null;}[_0x31c6e6(0x234)](_0x1016cf,_0x4537eb){const _0x16b215=_0x31c6e6,_0x1cdf0e=Array[_0x16b215(0x1f0)](this[_0x16b215(0x20a)][_0x16b215(0x214)]()),_0x37ff79=new Map();for(const _0xd630d0 of _0x1cdf0e){const _0x201db2=_0x1016cf[_0x16b215(0x252)][_0x16b215(0x1fa)][_0x16b215(0x2b8)](_0xd630d0);if(!_0x201db2)continue;const _0x308ddd=_0x201db2[_0x16b215(0x2ac)]()[_0x16b215(0x23a)][0x0];_0x37ff79[_0x16b215(0x2a1)](_0x308ddd)||_0x37ff79[_0x16b215(0x2d6)](_0x308ddd,[]),_0x37ff79[_0x16b215(0x2b8)](_0x308ddd)[_0x16b215(0x277)](_0x201db2);}const _0x30222f=new Set();for(const _0x3e2dbb of _0x1016cf[_0x16b215(0x252)][_0x16b215(0x267)][_0x16b215(0x2c9)][_0x16b215(0x2b1)]()){let _0xde0ee8=-0x1,_0x46ce74=null;if(_0x16b215(0x21d)===_0x3e2dbb[_0x16b215(0x222)])_0x46ce74=new _0x209645(_0x3e2dbb[_0x16b215(0x259)],_0x3e2dbb[_0x16b215(0x259)][_0x16b215(0x1f7)](_0x3e2dbb[_0x16b215(0x257)])),_0xde0ee8=_0x3e2dbb[_0x16b215(0x259)][_0x16b215(0x23a)][0x0];else{if(_0x16b215(0x25b)!==_0x3e2dbb[_0x16b215(0x222)])continue;_0x46ce74=new _0x209645(_0x3e2dbb[_0x16b215(0x259)]),_0xde0ee8=_0x3e2dbb[_0x16b215(0x259)][_0x16b215(0x23a)][0x0];}const _0x166ea6=_0x37ff79[_0x16b215(0x2b8)](_0xde0ee8)||[];if(_0x166ea6[_0x16b215(0x257)]){for(const _0x747683 of _0x166ea6)if(_0x46ce74[_0x16b215(0x25f)][_0x16b215(0x2b7)]===_0x747683[_0x16b215(0x288)]()[_0x16b215(0x25f)][_0x16b215(0x2b7)]&&(_0x16b215(0x21d)!==_0x3e2dbb[_0x16b215(0x222)]||!_0x46ce74[_0x16b215(0x2d7)](_0x747683[_0x16b215(0x288)]()))&&(_0x46ce74[_0x16b215(0x2a0)](_0x747683[_0x16b215(0x288)]())||_0x46ce74[_0x16b215(0x2c1)][_0x16b215(0x2af)](_0x747683[_0x16b215(0x288)]()[_0x16b215(0x224)])||_0x46ce74[_0x16b215(0x224)][_0x16b215(0x2af)](_0x747683[_0x16b215(0x288)]()[_0x16b215(0x2c1)]))){const _0x42acca=this[_0x16b215(0x241)](_0x747683[_0x16b215(0x2b5)]);Array[_0x16b215(0x1f0)](this[_0x16b215(0x20a)][_0x16b215(0x29e)]())[_0x16b215(0x28c)](_0x592bcf=>_0x592bcf[_0x16b215(0x27e)]===_0x42acca[_0x16b215(0x27e)])[_0x16b215(0x26f)](_0x3631f4=>_0x30222f[_0x16b215(0x2a2)](_0x3631f4['id']));}}}if(_0x30222f[_0x16b215(0x26a)]){for(const _0x2d41d1 of _0x30222f)_0x4537eb[_0x16b215(0x244)](_0x2d41d1);return!0x0;}return!0x1;}[_0x31c6e6(0x1f3)](_0x890524){const _0x104cef=_0x31c6e6;for(const {name:_0x17058f,data:_0x4d8170}of _0x890524[_0x104cef(0x252)][_0x104cef(0x267)][_0x104cef(0x2c9)][_0x104cef(0x1fd)]()){if(!_0x17058f[_0x104cef(0x26c)](we))continue;const _0x1eb8ef=_0x4d8170[_0x104cef(0x281)],_0x1963f8=_0x4d8170[_0x104cef(0x2a9)],_0xa45cdf=_0x1eb8ef&&_0x104cef(0x1f8)===_0x1eb8ef[_0x104cef(0x25f)][_0x104cef(0x2b7)],_0x34ef6f=_0x1963f8&&_0x104cef(0x1f8)===_0x1963f8[_0x104cef(0x25f)][_0x104cef(0x2b7)];if(_0xa45cdf&&_0x34ef6f)continue;const _0x5e06ba=this[_0x104cef(0x241)](_0x17058f);this[_0x104cef(0x20a)][_0x104cef(0x2b8)](_0x17058f)&&(_0x34ef6f||!_0x1963f8?this[_0x104cef(0x29b)][_0x104cef(0x296)](_0x104cef(0x2ab),{'markerId':_0x17058f,'changeId':_0x5e06ba[_0x104cef(0x27e)]}):_0xa45cdf&&_0x1963f8&&this[_0x104cef(0x29b)][_0x104cef(0x296)](_0x104cef(0x256),{'markerId':_0x17058f,'changeId':_0x5e06ba[_0x104cef(0x27e)]}));}}[_0x31c6e6(0x241)](_0x1db545){const _0x3c4532=_0x31c6e6,_0x36aa3b=_0x1db545[_0x3c4532(0x2ad)](':'),_0x2e2abb=(_0x36aa3b[0x1]||'')[_0x3c4532(0x2ad)]('_');return{'prefix':_0x36aa3b[0x0],'groupId':_0x2e2abb[0x0],'suffix':_0x2e2abb[0x1]};}[_0x31c6e6(0x223)](_0x437169,_0x1e029e,_0x122c89){const _0x5eaf6a=_0x31c6e6;if(_0x5eaf6a(0x21d)===_0x437169[_0x5eaf6a(0x222)]){const _0x29ed2f=_0x437169;return new _0x33b408(this[_0x5eaf6a(0x25a)](_0x1e029e[_0x5eaf6a(0x2bd)](_0x29ed2f[_0x5eaf6a(0x259)][_0x5eaf6a(0x1f9)]),_0x122c89),_0x29ed2f[_0x5eaf6a(0x274)],_0x29ed2f[_0x5eaf6a(0x211)]);}if(_0x5eaf6a(0x263)===_0x437169[_0x5eaf6a(0x222)]&&_0x437169[_0x5eaf6a(0x2b5)][_0x5eaf6a(0x26c)](_0x5eaf6a(0x21e))){const _0x379b26=_0x437169;return new _0x2f2032(_0x379b26[_0x5eaf6a(0x2b5)],_0x379b26[_0x5eaf6a(0x281)],this[_0x5eaf6a(0x2b3)](_0x379b26[_0x5eaf6a(0x2a9)],_0x1e029e[_0x5eaf6a(0x2bd)](_0x379b26[_0x5eaf6a(0x2a9)][_0x5eaf6a(0x2c1)][_0x5eaf6a(0x1f9)]),_0x1e029e[_0x5eaf6a(0x2bd)](_0x379b26[_0x5eaf6a(0x2a9)][_0x5eaf6a(0x224)][_0x5eaf6a(0x1f9)]),_0x122c89),_0x379b26[_0x5eaf6a(0x20a)],_0x379b26[_0x5eaf6a(0x270)],_0x379b26[_0x5eaf6a(0x211)]);}return _0x437169;}[_0x31c6e6(0x29a)](_0x498da6){const _0x2cb0c7=_0x31c6e6;if(!_0x498da6[_0x2cb0c7(0x257)])return[];const _0x1f3fd4=[];let _0x39d3a1=0x0,_0x39f7e5=0x0,_0x14bdd1=[];for(let _0x3bdc01=0x0;_0x3bdc01<=_0x498da6[_0x2cb0c7(0x257)];_0x3bdc01++){const _0xc6116d=_0x498da6[_0x3bdc01],_0x3c7cdd=_0x498da6[_0x3bdc01-0x1];!_0xc6116d||_0x3c7cdd&&!this[_0x2cb0c7(0x229)](_0x3c7cdd)[_0x2cb0c7(0x2af)](this[_0x2cb0c7(0x258)](_0xc6116d))?(_0x1f3fd4[_0x2cb0c7(0x277)]({'operations':_0x14bdd1,'operationsIsolated':_0x14bdd1[_0x2cb0c7(0x22f)](_0x187dbf=>this[_0x2cb0c7(0x21f)](_0x187dbf[_0x2cb0c7(0x2c0)](),-_0x39f7e5)),'groupOffset':_0x39d3a1}),_0x14bdd1=_0xc6116d?[_0xc6116d]:[],_0x39f7e5+=_0x39d3a1,_0x39d3a1=0x0):_0x14bdd1[_0x2cb0c7(0x277)](_0xc6116d),_0xc6116d&&_0x2cb0c7(0x21d)===_0xc6116d[_0x2cb0c7(0x222)]&&(_0x39d3a1+=_0xc6116d[_0x2cb0c7(0x255)]);}return _0x1f3fd4;}[_0x31c6e6(0x2c2)](_0x22fc7e,_0x4b0264,_0xe2d949,_0x415c81=0x1){const _0x5a788b=_0x31c6e6,_0x3e0e9f=new _0x30c98b({'startPosition':_0x22fc7e,'direction':_0x4b0264});let _0x2883b1=0x0;for(let _0x402857=0x0;_0x402857<_0x415c81;_0x402857++){let _0x26e9f2=0x0,_0x468254=!0x1,_0x55a67c=_0x5a788b(0x23b)===_0x4b0264?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x2a9869}of _0x3e0e9f)if(_0x2a9869['is'](_0x5a788b(0x2d3))){const _0x204891=_0x55a67c[_0x5a788b(0x279)](_0x2a9869[_0x5a788b(0x285)]);if(_0x204891&&_0x204891[_0x5a788b(0x257)]){if(_0x26e9f2+=_0x5a788b(0x23b)===_0x4b0264?_0x204891[_0x5a788b(0x294)]+_0x204891[0x0][_0x5a788b(0x257)]:_0x2a9869[_0x5a788b(0x285)][_0x5a788b(0x257)]-_0x204891[_0x5a788b(0x294)],_0x204891[0x0][_0x5a788b(0x257)]!==_0x2a9869[_0x5a788b(0x285)][_0x5a788b(0x257)])break;_0x468254=!0x0,_0x55a67c=_0x5a788b(0x23b)===_0x4b0264?/^\w+/:/\w+$/;}else{if(_0x468254)break;_0x26e9f2+=_0x2a9869[_0x5a788b(0x2d5)];}}else{if(_0x2a9869['is'](_0x5a788b(0x1fe))){_0xe2d949[_0x5a788b(0x2dc)](_0x2a9869)&&!_0x468254&&(_0x26e9f2+=0x1);break;}}_0x2883b1+=_0x26e9f2,_0x3e0e9f[_0x5a788b(0x2ce)](_0x22fc7e[_0x5a788b(0x1f7)](_0x5a788b(0x23b)===_0x4b0264?_0x2883b1:-_0x2883b1));}return _0x2883b1;}[_0x31c6e6(0x251)](_0x15638b,_0x5caa2c){const _0x361857=_0x31c6e6,_0xe70000=_0x13137f(this[_0x361857(0x1ec)])[_0x361857(0x252)][_0x361857(0x228)],_0x2ebc0d=this[_0x361857(0x2c2)](_0x15638b,_0x361857(0x219),_0xe70000,0x6),_0x49a02d=this[_0x361857(0x2c2)](_0x5caa2c,_0x361857(0x23b),_0xe70000,0x6),_0x6e4e4d=_0x15638b[_0x361857(0x1f7)](-_0x2ebc0d),_0x57beac=_0x5caa2c[_0x361857(0x1f7)](_0x49a02d);return{'start':_0x6e4e4d,'end':_0x57beac,'hasContentBefore':!_0x6e4e4d[_0x361857(0x220)],'hasContentAfter':!_0x57beac[_0x361857(0x266)]};}[_0x31c6e6(0x204)](_0x382e74){const _0x4d30c9=_0x31c6e6,_0x4f7df6=this[_0x4d30c9(0x1ec)][_0x4d30c9(0x202)][_0x4d30c9(0x2b8)](_0x4d30c9(0x217)),_0xa21128=new Set();_0x13137f(this[_0x4d30c9(0x1ec)])[_0x4d30c9(0x252)][_0x4d30c9(0x29f)](_0x55168c=>{const _0x56b4c4=_0x4d30c9;for(const _0x11749b of _0x382e74){const _0x4789b3=''+we+_0x11749b[_0x56b4c4(0x222)]+':'+_0x11749b[_0x56b4c4(0x27e)]+'_'+_0x4f7df6[_0x56b4c4(0x23c)](_0xa21128);this[_0x56b4c4(0x20a)][_0x56b4c4(0x2d6)](_0x4789b3,{'id':_0x4789b3,'groupId':_0x11749b[_0x56b4c4(0x27e)],'type':_0x11749b[_0x56b4c4(0x222)],'text':_0x11749b[_0x56b4c4(0x221)]}),_0x55168c[_0x56b4c4(0x207)](_0x4789b3,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x55168c[_0x56b4c4(0x2bf)](_0x11749b[_0x56b4c4(0x2c1)],_0x11749b[_0x56b4c4(0x224)])});}});}[_0x31c6e6(0x286)](_0x18fcd0,_0x3c0a07,_0x2d697a){let _0x428b59='';return()=>{const _0x27a78d=_0x5d2f;if(!_0x428b59){const _0x18aea2=_0x3c0a07[_0x27a78d(0x28a)](_0x18fcd0,{'showSuggestionHighlights':!0x0});let _0x205d30=_0x18aea2[_0x27a78d(0x293)](0x0);if(_0x205d30['is'](_0x27a78d(0x209))||(_0x205d30=_0x18aea2),!_0x205d30)return'';let _0x437ada=!0x1;const _0xd2f880=[];for(const _0x1015b0 of _0x205d30[_0x27a78d(0x24a)]())_0x1015b0['is'](_0x27a78d(0x1fe),_0x27a78d(0x26b))&&_0x1015b0[_0x27a78d(0x2df)](_0x27a78d(0x2a7))&&(_0x437ada=!0x1),_0x437ada&&_0xd2f880[_0x27a78d(0x277)](_0x1015b0),_0x1015b0['is'](_0x27a78d(0x1fe),_0x27a78d(0x26b))&&_0x1015b0[_0x27a78d(0x2df)](_0x27a78d(0x242))&&(_0x437ada=!0x0);_0x205d30[_0x27a78d(0x232)](0x0,_0x205d30[_0x27a78d(0x2aa)]),_0x2d697a?.[_0x27a78d(0x22b)]&&_0x205d30[_0x27a78d(0x22e)]('…'),_0x205d30[_0x27a78d(0x22e)](_0xd2f880),_0x2d697a?.[_0x27a78d(0x218)]&&_0x205d30[_0x27a78d(0x22e)]('…');const _0x427343=_0x3c0a07[_0x27a78d(0x2cf)][_0x27a78d(0x265)][_0x27a78d(0x278)](_0x18aea2),_0x3f904d=_0x3c0a07[_0x27a78d(0x2cf)][_0x27a78d(0x27b)][_0x27a78d(0x1f6)](_0x427343);_0x428b59=_0x3f904d;}return _0x428b59;};}[_0x31c6e6(0x28d)](_0x50f6df,_0x4fd691){const _0x2f5fa3=_0x31c6e6;let _0x241217='';return()=>(_0x241217||(_0x241217=_0x4fd691[_0x2f5fa3(0x29c)](_0x50f6df,{'showSuggestionHighlights':!0x0})),_0x241217);}[_0x31c6e6(0x1ef)](_0x158244,_0x5c41f5,_0x3cac71){let _0x1b7e79='';return()=>{const _0x118f0f=_0x5d2f;if(!_0x1b7e79){const _0xb01e99=_0x3cac71[_0x118f0f(0x28a)](new _0x5e895e(_0x158244)),_0x186806=_0x3cac71[_0x118f0f(0x2cf)][_0x118f0f(0x265)][_0x118f0f(0x278)](_0xb01e99)[_0x118f0f(0x225)](_0x118f0f(0x203)+_0x5c41f5+'\x22]');_0x1b7e79=_0x186806?.[_0x118f0f(0x287)]||'';}return _0x1b7e79;};}[_0x31c6e6(0x2e2)](_0xf3e90,_0x868cb6=0x5){const _0x46cc32=_0x31c6e6;let _0x2355b2=_0xf3e90,_0x1f57e2=null;for(let _0x2fd6ac=0x0;_0x2fd6ac<_0x868cb6&&_0x2355b2;_0x2fd6ac++){if(!_0x2355b2[_0x46cc32(0x1fb)]){_0x2355b2=_0x2355b2[_0x46cc32(0x206)];continue;}if(!(''+_0x2355b2[_0x46cc32(0x1fb)])[_0x46cc32(0x20c)](_0x46cc32(0x2a6))){_0x2355b2=_0x2355b2[_0x46cc32(0x206)];continue;}if(!_0x2355b2[_0x46cc32(0x253)](_0x46cc32(0x1eb)))break;_0x1f57e2=_0x2355b2;break;}return _0x1f57e2;}[_0x31c6e6(0x2c5)](_0x423964){const _0x34c03b=_0x31c6e6;return Array[_0x34c03b(0x1f0)](this[_0x34c03b(0x20a)][_0x34c03b(0x29e)]())[_0x34c03b(0x28c)](_0x2a1eac=>_0x2a1eac[_0x34c03b(0x27e)]===_0x423964);}[_0x31c6e6(0x258)](_0x536c92){const _0x38e5a5=_0x31c6e6;return _0x38e5a5(0x21d)===_0x536c92[_0x38e5a5(0x222)]?_0x536c92[_0x38e5a5(0x259)]:_0x536c92[_0x38e5a5(0x2a9)][_0x38e5a5(0x2c1)];}[_0x31c6e6(0x229)](_0x1e3c9c,_0x54d25e=!0x1){const _0x45b79c=_0x31c6e6;return _0x45b79c(0x21d)===_0x1e3c9c[_0x45b79c(0x222)]?_0x54d25e?_0x1e3c9c[_0x45b79c(0x259)]:_0x1e3c9c[_0x45b79c(0x259)][_0x45b79c(0x1f7)](_0x1e3c9c[_0x45b79c(0x255)]):_0x1e3c9c[_0x45b79c(0x2a9)][_0x45b79c(0x224)];}[_0x31c6e6(0x21f)](_0x3d7e29,_0x5a5666){const _0x6c70f5=_0x31c6e6;return _0x6c70f5(0x21d)===_0x3d7e29[_0x6c70f5(0x222)]?_0x3d7e29[_0x6c70f5(0x259)]=_0x3d7e29[_0x6c70f5(0x259)][_0x6c70f5(0x1f7)](_0x5a5666):_0x6c70f5(0x263)===_0x3d7e29[_0x6c70f5(0x222)]&&_0x3d7e29[_0x6c70f5(0x2a9)]&&(_0x3d7e29[_0x6c70f5(0x2a9)]=new _0x209645(_0x3d7e29[_0x6c70f5(0x2a9)][_0x6c70f5(0x2c1)][_0x6c70f5(0x1f7)](_0x5a5666),_0x3d7e29[_0x6c70f5(0x2a9)][_0x6c70f5(0x224)][_0x6c70f5(0x1f7)](_0x5a5666))),_0x3d7e29;}[_0x31c6e6(0x237)](_0x6247dc,_0x4731f5){const _0x450033=_0x31c6e6;_0x450033(0x21d)===_0x6247dc[_0x450033(0x222)]?_0x6247dc[_0x450033(0x259)]=this[_0x450033(0x297)](_0x6247dc[_0x450033(0x259)],_0x4731f5):_0x450033(0x263)===_0x6247dc[_0x450033(0x222)]&&_0x6247dc[_0x450033(0x2a9)]&&(_0x6247dc[_0x450033(0x2a9)]=this[_0x450033(0x2c6)](_0x6247dc[_0x450033(0x2a9)],_0x4731f5));}[_0x31c6e6(0x297)](_0x5697ff,_0x479cf0){const _0x4cfe21=_0x31c6e6;return new _0x20fb9b(_0x479cf0,_0x5697ff[_0x4cfe21(0x23a)]);}[_0x31c6e6(0x2c6)](_0x4127bf,_0x50440a){const _0x2f3703=_0x31c6e6;return new _0x209645(this[_0x2f3703(0x297)](_0x4127bf[_0x2f3703(0x2c1)],_0x50440a),this[_0x2f3703(0x297)](_0x4127bf[_0x2f3703(0x224)],_0x50440a));}[_0x31c6e6(0x25a)](_0x329b49,_0x423b7b){return new _0x20fb9b(_0x423b7b,[..._0x329b49]);}[_0x31c6e6(0x2b3)](_0x4a089f,_0x191d70,_0x1440c9,_0x469790){const _0x8f77c1=_0x31c6e6;return new _0x209645(this[_0x8f77c1(0x25a)](_0x191d70,_0x469790),this[_0x8f77c1(0x25a)](_0x1440c9,_0x469790));}[_0x31c6e6(0x23f)](_0x1622a9){const _0x24f61a=_0x31c6e6,_0x284926=_0x4b5279=>{const _0x5b93df=_0x5d2f;switch(_0x4b5279){case _0x5b93df(0x21d):return 0x1;case _0x5b93df(0x2de):return 0x2;case _0x5b93df(0x2c7):return 0x3;case _0x5b93df(0x246):return 0x4;}};return _0x1622a9[_0x24f61a(0x27f)]((_0x114854,_0x55f63)=>_0x284926(_0x114854[_0x24f61a(0x222)])-_0x284926(_0x55f63[_0x24f61a(0x222)]));}[_0x31c6e6(0x200)](_0x29cd97,_0x5356d6){const _0x3933c8=_0x31c6e6,_0x16bf3b=_0x29cd97[_0x3933c8(0x293)](0x0),_0x583fb8=_0x5356d6[_0x3933c8(0x293)](0x0);return!(!_0x16bf3b||!_0x583fb8)&&((!_0x16bf3b['is'](_0x3933c8(0x1fe))||!_0x583fb8['is'](_0x3933c8(0x1fe))||_0x16bf3b[_0x3933c8(0x2b5)]===_0x583fb8[_0x3933c8(0x2b5)])&&!(_0x16bf3b['is'](_0x3933c8(0x1fe))&&!_0x583fb8['is'](_0x3933c8(0x1fe))||!_0x16bf3b['is'](_0x3933c8(0x1fe))&&_0x583fb8['is'](_0x3933c8(0x1fe))));}[_0x31c6e6(0x24c)](_0x50f247){const _0x24c892=_0x31c6e6;return 0x1===_0x50f247[_0x24c892(0x2aa)];}[_0x31c6e6(0x2e0)](_0x5acc5d,_0x10da45){const _0x3911e4=_0x31c6e6;for(const _0x5abd34 of _0x5acc5d[_0x3911e4(0x24a)]())if(_0x5abd34['is'](_0x3911e4(0x1fe))&&!_0x10da45[_0x3911e4(0x2dc)](_0x5abd34))return!0x1;return!0x0;}[_0x31c6e6(0x20b)](_0x254dc8,_0x5fe9f4){const _0x1dc76d=_0x31c6e6;let _0x150d79=_0x254dc8[_0x1dc76d(0x253)](_0x236358);return _0x150d79||(_0x150d79=_0x5fe9f4(),_0x254dc8[_0x1dc76d(0x262)](_0x236358,_0x150d79)),_0x150d79;}}function _0x5065(){const _0x5bb26b=['_parseMarkerName','ck-ai_review-mode-marker_context-start','82137Brgewi','removeMarker','pluginName','remove-text','6SxAOaC','view','flat','getChildren','enableReadOnlyMode','_haveSingleTopLevelElement','12oIXCwn','getDomRoot','No\x20element\x20found\x20for\x20ID:\x20','createUIElement','_getChangeContext','model','getAttribute','AIReviewModeEditing','howMany','changeMarkerRestored','length','_getOperationStart','position','_changePosition','remove','1032GOhbCV','disableReadOnlyMode','hasContentAfter','root','getOperations','getRoots','_setAttribute','marker','operationsA','domConverter','isAtEnd','document','createPositionAfter','deleteContent','size','span','startsWith','relatedTarget','delete','forEach','affectsData','editingDowncast','$documentFragment','1042237oyILzw','nodes','model:$text','requires','push','viewToDom','exec','isPremiumPlugin','htmlWriter','getEditor','afterInit','groupId','sort','ck-ai_review-mode-marker_hide','oldRange','listenTo','warn','ai-review-mode','data','_createGetContextFn','outerHTML','getRange','insertContent','toView','_removeAttribute','filter','_createGetContentFn','operationsIsolated','suggestion:insertion:id:authorId:','getDiff','markerToElement','markerName','getChild','index','history','fire','_changePositionOwnerDocument','DocumentCompare','suggestion:deletion:id:authorId:','_groupAdjacentOperations','_eventEmitter','stringify','documentFragment','values','change','isIntersecting','has','add','_clone','getRoot','registerPostFixer','ck-ai_review-mode-marker_','ck-ai_review-mode-marker_context-end','getMarkerElementForChange','newRange','childCount','changeMarkerRemoved','getStart','split','suggestion-context','isTouching','closest','getChanges','createPositionAt','_changeRange','pop','name','isOfficialPlugin','rootName','get','toDomElement','createDocumentFragment','applyChange','for','concat','isDocumentOperation','createRange','clone','start','_findAdjacentContextDistance','markerToHighlight','parent','_getMarkersDataForGroup','_changeRangeOwnerDocument','remove-only','mouseover','differ','_domEmitter','batch','switchToReadOnly','conversion','jumpTo','htmlProcessor','ck-ai_review-mode-marker_strikethrough','ck-ai_review-mode-marker_context-','45yEmvim','$textProxy','editing','offsetSize','set','containsRange','rejectChange','2125745GJPmdz','attributeToAttribute','[data-marker-id=\x22','isInline','downcast','remove-context','hasClass','_haveOnlyInlineContent','hasContentBefore','_findMarkerElement','data-marker-id','context','addOperation','diffContent','_createGetContentUsingDataIdFn','from','.ck-reset.ck-ai-review-mode-balloon-panel-suggestion','target','_handleMarkerChanges','applyOperation','865938UqHYLV','getHtml','getShiftedBy','$graveyard','offset','markers','className','processor','getChangedMarkers','element','createSelection','_hasSameTopLevelElement','getDocumentData','plugins','[data-id=\x22','_insertMarkers','changeMarkerHovered','parentElement','addMarker','append','containerElement','_markers','_upsertDataId','includes','584RFwbBd','getPath','clear','toData','baseVersion','emitter','changeMarkerBlurred','keys','ck-ai_review-mode-marker_underline','every','AIEditing','ellipsisAfter','backward','ck-ai_review-mode-marker_add','clearAllMarkers','isOpening','insert','$markedRemove','_shiftOperation','isAtStart','text','type','_translateOperationToEditorContent','end','querySelector','5093944zBmXxs','hasAttribute','schema','_getOperationEnd','click','ellipsisBefore','version','createText','_appendChild','map','reviewmode-','elements','_removeChildren','switchToEdit','_validateMarkers','changeMarkerClick','dataDowncast','_changeOperationOwnerDocument','innerHTML','createRawElement','path','forward','_nextDataId','markChangePositionInEditorContent','2868260XLeUXu','_sortMarkers','parse'];_0x5065=function(){return _0x5bb26b;};return _0x5065();}
23
+ function _0x49b8(){const _0x345063=['keys','get','exec','flat','batch','index','mouseover','$graveyard','text','isAtEnd','isIntersecting','conversion','clone','_domEmitter','getRoot','end','add','getDocumentData','pluginName','getPath','1437387RCTQNv','getRoots','jumpTo','differ','_hasSameTopLevelElement','emitter','getHtml','values','map','_getChangeContext','_getOperationStart','insert','_getMarkersDataForGroup','clear','affectsData','click','_appendChild','offsetSize','baseVersion','isTouching','_nextDataId','_handleMarkerChanges','parse','1854684cyaYmO','remove-only','createText','isInline','4206290HkSFpj','getChangedMarkers','htmlWriter','newRange','20QDTOTP','.ck-reset.ck-ai-review-mode-balloon-panel-suggestion','plugins','warn','11gdKEzM','has','length','listenTo','type','[data-marker-id=\x22','viewToDom','changeMarkerRestored','applyOperation','domConverter','operationsA','stringify','getMarkerElementForChange','getChild','root','getAttribute','diffContent','version','_validateMarkers','hasClass','isAtStart','_shiftOperation','_clone','set','switchToEdit','marker','_removeChildren','ai-review-mode','ck-ai_review-mode-marker_','span','backward','$markedRemove','for','oldRange','_changeOperationOwnerDocument','ck-ai_review-mode-marker_hide','ck-ai_review-mode-marker_add','data-marker-id','createPositionAt','offset','enableReadOnlyMode','ck-ai_review-mode-marker_strikethrough','createRange','markChangePositionInEditorContent','requires','rejectChange','remove','ck-ai_review-mode-marker_context-','createSelection','size','$textProxy','suggestion:deletion:id:authorId:','addMarker','downcast','hasContentBefore','afterInit','childCount','createRawElement','change','changeMarkerRemoved','path','getShiftedBy','ck-ai_review-mode-marker_context-end','forEach','getDomRoot','position','getRange','createPositionAfter','sort','ck-ai_review-mode-marker_context-start','_markers','No\x20element\x20found\x20for\x20ID:\x20','hasAttribute','_findAdjacentContextDistance','markerToHighlight','disableReadOnlyMode','delete','model','removeMarker','_createGetContentUsingDataIdFn','_insertMarkers','outerHTML','forward','getOperations','[data-id=\x22','editing','containsRange','schema','relatedTarget','toView','isOfficialPlugin','document','ck-ai_review-mode-marker_underline','target','89212YxPDVU','_removeAttribute','createDocumentFragment','1069905PdNHam','operationsIsolated','view','split','attributeToAttribute','$documentFragment','getDiff','closest','groupId','3838472qmlPQB','howMany','element','markers','nodes','_eventEmitter','pop','dataDowncast','ellipsisBefore','_groupAdjacentOperations','htmlProcessor','name','_findMarkerElement','39cbDCsj','_setAttribute','remove-context','_haveSingleTopLevelElement','_createGetContentFn','_changeRange','isPremiumPlugin','switchToReadOnly','addOperation','getStart','concat','24ZtEZff','documentFragment','rootName','applyChange','toDomElement','_sortMarkers','_upsertDataId','deleteContent','clearAllMarkers','changeMarkerHovered','createUIElement','containerElement','getChildren','data','innerHTML','from','context','parent','AIReviewModeEditing','push','_getOperationEnd','_changeRangeOwnerDocument','_createGetContextFn','changeMarkerClick','every','_parseMarkerName','77261fZGViG','className','filter','_changePosition','AIEditing','_haveOnlyInlineContent','markerName','fire','insertContent','toData','model:$text','isOpening','suggestion:insertion:id:authorId:','markerToElement','remove-text','startsWith','processor','suggestion-context','isDocumentOperation','includes','_translateOperationToEditorContent','changeMarkerBlurred','append','ellipsisAfter','editingDowncast','getChanges','querySelector','elements','DocumentCompare','getEditor','reviewmode-','_changePositionOwnerDocument','parentElement','history','hasContentAfter','registerPostFixer','start'];_0x49b8=function(){return _0x345063;};return _0x49b8();}const _0xb93684=_0x26dd;(function(_0x32a87c,_0x138fc6){const _0x50aa5d=_0x26dd,_0x27c828=_0x32a87c();while(!![]){try{const _0x46faaa=-parseInt(_0x50aa5d(0x19e))/0x1*(-parseInt(_0x50aa5d(0x1f6))/0x2)+parseInt(_0x50aa5d(0x271))/0x3*(-parseInt(_0x50aa5d(0x258))/0x4)+parseInt(_0x50aa5d(0x25b))/0x5*(parseInt(_0x50aa5d(0x184))/0x6)+-parseInt(_0x50aa5d(0x1d7))/0x7+-parseInt(_0x50aa5d(0x264))/0x8+parseInt(_0x50aa5d(0x1ee))/0x9+parseInt(_0x50aa5d(0x1f2))/0xa*(-parseInt(_0x50aa5d(0x1fa))/0xb);if(_0x46faaa===_0x138fc6)break;else _0x27c828['push'](_0x27c828['shift']());}catch(_0x56d641){_0x27c828['push'](_0x27c828['shift']());}}}(_0x49b8,0x6b26c));import{InsertOperation as _0x2e93b6,MarkerOperation as _0x595ac0,ModelDocumentFragment as _0x206c0f,ModelPosition as _0x5c0767,ModelRange as _0x1bde60,ModelTreeWalker as _0x1dfb85,transformOperationSets as _0x539e1e}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x137975,EmitterMixin as _0x157e15}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x1c5d8f}from'ckeditor5/src/core.js';import{DocumentCompare as _0x85ea13,DATA_ID_MODEL_ATTRIBUTE as _0x58ba64,DATA_ID_VIEW_ATTRIBUTE as _0x50b335}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x39bc1e}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x598d40}from'../aicore/aiediting.js';import{debounce as _0x8f894e}from'es-toolkit/compat';function _0x26dd(_0x1c5691,_0x2f3f23){const _0x49b8d1=_0x49b8();return _0x26dd=function(_0x26ddc8,_0x25e2f6){_0x26ddc8=_0x26ddc8-0x17a;let _0x306599=_0x49b8d1[_0x26ddc8];return _0x306599;},_0x26dd(_0x1c5691,_0x2f3f23);}const we=_0xb93684(0x1bc);export class AIReviewModeEditing extends _0x1c5d8f{static get[_0xb93684(0x1d5)](){const _0x4e322f=_0xb93684;return _0x4e322f(0x196);}static get[_0xb93684(0x226)](){return[_0x85ea13,_0x598d40];}static get[_0xb93684(0x254)](){return!0x0;}static get[_0xb93684(0x17f)](){return!0x0;}[_0xb93684(0x240)]=new Map();[_0xb93684(0x1d0)];[_0xb93684(0x269)];constructor(_0x2fcbb1){const _0x3511e6=_0xb93684;super(_0x2fcbb1),this[_0x3511e6(0x1d0)]=new(_0x137975())(),this[_0x3511e6(0x269)]=new(_0x157e15())();}get[_0xb93684(0x1dc)](){const _0x125aaf=_0xb93684;return this[_0x125aaf(0x269)];}[_0xb93684(0x231)](){const _0x215a56=_0xb93684,_0x32b400=_0x39bc1e(this[_0x215a56(0x194)]);_0x32b400[_0x215a56(0x1ce)][_0x215a56(0x21a)](_0x215a56(0x1b6))[_0x215a56(0x1ab)]({'model':we+_0x215a56(0x1e2),'view':(_0x1b62ef,{writer:_0x4aa840})=>{const _0x13d36e=_0x215a56,_0x28bb66=this[_0x13d36e(0x240)][_0x13d36e(0x1c4)](_0x1b62ef[_0x13d36e(0x1a4)]),_0x1f515e={'class':_0x13d36e(0x21e),'data-marker-id':_0x1b62ef[_0x13d36e(0x1a4)]};return _0x4aa840[_0x13d36e(0x18e)](_0x13d36e(0x217),_0x1f515e,function(_0x3a745c){const _0x45de3f=_0x13d36e,_0x46e86d=this[_0x45de3f(0x188)](_0x3a745c);return _0x46e86d[_0x45de3f(0x192)]=_0x28bb66?.[_0x45de3f(0x1cb)]||'',_0x46e86d;});}}),_0x32b400[_0x215a56(0x1ce)][_0x215a56(0x21a)](_0x215a56(0x1b6))[_0x215a56(0x244)]({'model':we+_0x215a56(0x1ef),'view':_0x50c9b2=>({'classes':_0x215a56(0x223),'attributes':{'data-marker-id':_0x50c9b2[_0x215a56(0x1a4)]}})}),_0x32b400[_0x215a56(0x1ce)][_0x215a56(0x21a)](_0x215a56(0x1b6))[_0x215a56(0x244)]({'model':we+_0x215a56(0x17b),'view':_0x5e7527=>({'classes':_0x215a56(0x256),'attributes':{'data-marker-id':_0x5e7527[_0x215a56(0x1a4)]}})}),_0x32b400[_0x215a56(0x1ce)][_0x215a56(0x21a)](_0x215a56(0x1b6))[_0x215a56(0x244)]({'model':we+_0x215a56(0x1ac),'view':_0x461919=>({'classes':_0x215a56(0x21d),'attributes':{'data-marker-id':_0x461919[_0x215a56(0x1a4)]}})}),_0x32b400[_0x215a56(0x1ce)][_0x215a56(0x21a)](_0x215a56(0x26b))[_0x215a56(0x1ab)]({'model':we+_0x215a56(0x1af),'view':(_0x4d296f,{writer:_0x3bdc5b})=>_0x3bdc5b[_0x215a56(0x233)](_0x215a56(0x217),{'class':_0x215a56(0x229)+(_0x4d296f[_0x215a56(0x1a9)]?_0x215a56(0x1c2):_0x215a56(0x1d2))})}),_0x32b400[_0x215a56(0x1ce)][_0x215a56(0x21a)](_0x215a56(0x22f))[_0x215a56(0x25f)]({'model':_0x58ba64,'view':_0x50b335}),this[_0x215a56(0x1d0)][_0x215a56(0x1fd)](document,_0x215a56(0x1e6),(_0x49c504,_0x27813b)=>{const _0x2f5277=_0x215a56,_0x40c3a6=_0x27813b[_0x2f5277(0x257)],_0x312557=this[_0x2f5277(0x270)](_0x40c3a6);if(!_0x312557)return;const _0x320407=_0x312557[_0x2f5277(0x209)](_0x2f5277(0x21f)),_0x75492a=_0x320407[_0x2f5277(0x25e)](':')[_0x2f5277(0x26a)]()?.[_0x2f5277(0x25e)]('_')[0x0];this[_0x2f5277(0x269)][_0x2f5277(0x1a5)](_0x2f5277(0x19b),{'markerId':_0x320407,'changeId':_0x75492a,'markerElement':_0x312557,'domEvent':_0x27813b});}),this[_0x215a56(0x1d0)][_0x215a56(0x1fd)](document,_0x215a56(0x1c9),(_0x2b1885,_0x2c4ad7)=>{const _0x9f8cfd=_0x215a56,_0x15efa3=_0x2c4ad7[_0x9f8cfd(0x257)],_0x2ed3bf=_0x2c4ad7[_0x9f8cfd(0x252)];let _0x4cb8bf=this[_0x9f8cfd(0x270)](_0x15efa3);if(!_0x4cb8bf&&_0x2ed3bf&&(_0x4cb8bf=this[_0x9f8cfd(0x270)](_0x2ed3bf)),!_0x4cb8bf)return;const _0x3ecc9d=_0x4cb8bf[_0x9f8cfd(0x209)](_0x9f8cfd(0x21f)),_0x3ba876=_0x3ecc9d[_0x9f8cfd(0x25e)](':')[_0x9f8cfd(0x26a)]()?.[_0x9f8cfd(0x25e)]('_')[0x0];this[_0x9f8cfd(0x269)][_0x9f8cfd(0x1a5)](_0x9f8cfd(0x18d),{'changeId':_0x3ba876,'markerElement':_0x4cb8bf,'domEvent':_0x2c4ad7});}),this[_0x215a56(0x1d0)][_0x215a56(0x1fd)](document,_0x215a56(0x1c9),_0x8f894e((_0x53985f,_0x48e7eb)=>{const _0x1e6d86=_0x215a56,_0x476ea1=_0x48e7eb[_0x1e6d86(0x257)];if(this[_0x1e6d86(0x270)](_0x476ea1))return;_0x476ea1[_0x1e6d86(0x262)](_0x1e6d86(0x1f7))||this[_0x1e6d86(0x269)][_0x1e6d86(0x1a5)](_0x1e6d86(0x1b3));},0xc8)),_0x32b400[_0x215a56(0x247)][_0x215a56(0x255)][_0x215a56(0x1c1)](_0x381e3b=>this[_0x215a56(0x20c)](_0x32b400,_0x381e3b)),_0x32b400[_0x215a56(0x247)][_0x215a56(0x255)]['on'](_0x215a56(0x234),()=>this[_0x215a56(0x1ec)](_0x32b400));}[_0xb93684(0x1d4)](){const _0x143f6b=_0xb93684,_0x18870f=this[_0x143f6b(0x194)][_0x143f6b(0x1f8)][_0x143f6b(0x1c4)](_0x143f6b(0x1a2)),_0x2c3624=_0x39bc1e(this[_0x143f6b(0x194)]),_0x4585ed=_0x2c3624[_0x143f6b(0x247)],_0x1b645c=new _0x206c0f();for(const _0x8888cc of _0x4585ed[_0x143f6b(0x255)][_0x143f6b(0x1d1)]()[_0x143f6b(0x190)]()){const _0x10d476=_0x8888cc[_0x143f6b(0x210)](!0x0);_0x1b645c[_0x143f6b(0x1e7)](_0x10d476);}for(const _0x1d764c of _0x4585ed[_0x143f6b(0x267)])_0x1b645c[_0x143f6b(0x267)][_0x143f6b(0x211)](_0x1d764c[_0x143f6b(0x26f)],this[_0x143f6b(0x199)](_0x1d764c[_0x143f6b(0x23c)]()[_0x143f6b(0x1cf)](),_0x1b645c));const _0x5707ce=new _0x1dfb85({'ignoreElementEnd':!0x0,'startPosition':_0x4585ed[_0x143f6b(0x220)](_0x1b645c,0x0)}),_0x596f0e=new Set(),_0x9346cc=new Map();for(const {item:_0x25b503}of _0x5707ce){if(!_0x25b503['is'](_0x143f6b(0x22c)))continue;const _0x1219fc=_0x25b503[_0x143f6b(0x195)];if(_0x1219fc&&_0x1219fc['is'](_0x143f6b(0x266))){const _0x3c204b=this[_0x143f6b(0x18a)](_0x1219fc,()=>_0x18870f[_0x143f6b(0x1eb)](_0x596f0e));_0x596f0e[_0x143f6b(0x1d3)](_0x3c204b);for(const _0x181a72 of _0x1219fc[_0x143f6b(0x190)]())_0x181a72['is'](_0x143f6b(0x266))&&_0x596f0e[_0x143f6b(0x1d3)](this[_0x143f6b(0x18a)](_0x181a72,()=>_0x18870f[_0x143f6b(0x1eb)](_0x596f0e)));let _0x5abde4=_0x1219fc;for(;_0x5abde4[_0x143f6b(0x195)]&&!_0x5abde4[_0x143f6b(0x195)]['is'](_0x143f6b(0x185));)_0x5abde4=_0x5abde4[_0x143f6b(0x195)],_0x5abde4[_0x143f6b(0x242)](_0x58ba64)&&_0x5abde4[_0x143f6b(0x259)](_0x58ba64);_0x9346cc[_0x143f6b(0x211)](_0x3c204b,{'path':_0x1219fc[_0x143f6b(0x1d6)](),'getContent':this[_0x143f6b(0x249)](_0x5abde4[_0x143f6b(0x210)](!0x0),_0x3c204b,_0x2c3624[_0x143f6b(0x191)])}),_0x5707ce[_0x143f6b(0x1d9)](_0x4585ed[_0x143f6b(0x23d)](_0x1219fc));}}return{'content':_0x2c3624[_0x143f6b(0x191)][_0x143f6b(0x1ae)][_0x143f6b(0x1a7)](_0x2c3624[_0x143f6b(0x191)][_0x143f6b(0x253)](_0x1b645c)),'version':_0x2c3624[_0x143f6b(0x247)][_0x143f6b(0x255)][_0x143f6b(0x20b)],'elements':_0x9346cc};}[_0xb93684(0x20a)](_0x5b446b,_0xfd9900){const _0xd3dc42=_0xb93684,_0x1e5770=[],_0x51d085=_0x39bc1e(this[_0xd3dc42(0x194)]),_0x256205=_0x51d085[_0xd3dc42(0x191)][_0xd3dc42(0x1ed)](_0xfd9900,_0xd3dc42(0x260)),_0x5e8853=_0x51d085[_0xd3dc42(0x191)][_0xd3dc42(0x1ed)](_0x5b446b,_0xd3dc42(0x260)),_0x5426d3=_0x51d085[_0xd3dc42(0x247)][_0xd3dc42(0x220)](_0x5e8853,0x0);if(this[_0xd3dc42(0x17c)](_0x256205)){if(!this[_0xd3dc42(0x1db)](_0x5e8853,_0x256205))return _0x1e5770;}else{const _0x3781dd=_0x51d085[_0xd3dc42(0x247)][_0xd3dc42(0x251)];if(!this[_0xd3dc42(0x1a3)](_0x5e8853,_0x3781dd)||!this[_0xd3dc42(0x1a3)](_0x256205,_0x3781dd))return _0x1e5770;}const _0xfcc6ab=this[_0xd3dc42(0x194)][_0xd3dc42(0x1f8)][_0xd3dc42(0x1c4)](_0xd3dc42(0x1ba))[_0xd3dc42(0x261)](_0x5b446b,_0xfd9900,{'anchor':_0x5426d3,'markDeletions':!0x0})[_0xd3dc42(0x24d)]()[_0xd3dc42(0x1a0)](_0x41ca64=>_0xd3dc42(0x1e2)===_0x41ca64[_0xd3dc42(0x1fe)]||_0xd3dc42(0x213)===_0x41ca64[_0xd3dc42(0x1fe)]&&_0x41ca64[_0xd3dc42(0x26f)][_0xd3dc42(0x1ad)](_0xd3dc42(0x219))),_0x283f74=this[_0xd3dc42(0x26d)](_0xfcc6ab);let _0x310cff=0x0;return _0x51d085[_0xd3dc42(0x247)][_0xd3dc42(0x234)](_0x1faec0=>{const _0x2dc0c8=_0xd3dc42;for(let _0x15c807=0x0;_0x15c807<_0x283f74[_0x2dc0c8(0x1fc)];_0x15c807++){const _0x5cedb8=_0x283f74[_0x15c807],_0x479ac6=_0x1faec0[_0x2dc0c8(0x25a)]();for(const _0x4a5de8 of _0x5e8853[_0x2dc0c8(0x190)]())_0x1faec0[_0x2dc0c8(0x1b4)](_0x4a5de8[_0x2dc0c8(0x210)](!0x0),_0x479ac6);for(const _0x303dd7 of _0x5cedb8[_0x2dc0c8(0x25c)])if(_0x2dc0c8(0x1e2)===_0x303dd7[_0x2dc0c8(0x1fe)]){const _0x79104f=_0x303dd7;_0x79104f[_0x2dc0c8(0x1e9)]=null,_0x79104f[_0x2dc0c8(0x1b0)]=!0x1,this[_0x2dc0c8(0x21c)](_0x79104f,_0x479ac6),_0x1faec0[_0x2dc0c8(0x1c7)][_0x2dc0c8(0x181)](_0x303dd7),_0x51d085[_0x2dc0c8(0x247)][_0x2dc0c8(0x202)](_0x303dd7);const _0x2777e2=_0x2dc0c8(0x1aa)+_0x310cff++,_0x16baab=_0x51d085[_0x2dc0c8(0x247)][_0x2dc0c8(0x224)](_0x79104f[_0x2dc0c8(0x23b)],_0x79104f[_0x2dc0c8(0x23b)][_0x2dc0c8(0x237)](_0x79104f[_0x2dc0c8(0x265)]));_0x479ac6[_0x2dc0c8(0x267)][_0x2dc0c8(0x211)](_0x2777e2,_0x16baab);}else{if(_0x2dc0c8(0x213)===_0x303dd7[_0x2dc0c8(0x1fe)]&&_0x303dd7[_0x2dc0c8(0x26f)][_0x2dc0c8(0x1ad)](_0x2dc0c8(0x219))){const _0x276df5=_0x303dd7,_0x3a3788=_0x2dc0c8(0x22d)+_0x310cff++;this[_0x2dc0c8(0x21c)](_0x276df5,_0x479ac6),_0x479ac6[_0x2dc0c8(0x267)][_0x2dc0c8(0x211)](_0x3a3788,_0x276df5[_0x2dc0c8(0x1f5)]);}}const _0x79d0ec=this[_0x2dc0c8(0x1e0)](this[_0x2dc0c8(0x1bd)](this[_0x2dc0c8(0x1e1)](_0x5cedb8[_0x2dc0c8(0x25c)][0x0]),_0x479ac6),this[_0x2dc0c8(0x1bd)](this[_0x2dc0c8(0x198)](_0x5cedb8[_0x2dc0c8(0x25c)][_0x5cedb8[_0x2dc0c8(0x25c)][_0x2dc0c8(0x1fc)]-0x1]),_0x479ac6));_0x479ac6[_0x2dc0c8(0x267)][_0x2dc0c8(0x211)](we+_0x2dc0c8(0x1af),new _0x1bde60(_0x79d0ec[_0x2dc0c8(0x1c2)],_0x79d0ec[_0x2dc0c8(0x1d2)])),_0x1e5770[_0x2dc0c8(0x197)]({..._0x5cedb8,'context':this[_0x2dc0c8(0x19a)](_0x479ac6,_0x51d085[_0x2dc0c8(0x191)],{'ellipsisBefore':_0x79d0ec[_0x2dc0c8(0x230)],'ellipsisAfter':_0x79d0ec[_0x2dc0c8(0x1c0)]}),'content':this[_0x2dc0c8(0x17d)](_0x479ac6,_0x51d085[_0x2dc0c8(0x191)])});}}),_0x1e5770;}[_0xb93684(0x225)](_0x23f701,_0x44e863){const _0x4c6c06=_0xb93684;if(!_0x23f701[_0x4c6c06(0x1fc)])return;const _0x3616e8=_0x23f701[0x0][_0x4c6c06(0x195)]['id'],_0xf07b84=_0x44e863[_0x4c6c06(0x1b9)][_0x4c6c06(0x1c4)](_0x3616e8);if(!_0xf07b84)return void console[_0x4c6c06(0x1f9)](_0x4c6c06(0x241)+_0x3616e8);const _0x18a900=_0xf07b84[_0x4c6c06(0x236)],_0x3283c8=_0x39bc1e(this[_0x4c6c06(0x194)]),_0x5bbe1a=_0x3283c8[_0x4c6c06(0x247)][_0x4c6c06(0x255)][_0x4c6c06(0x1bf)][_0x4c6c06(0x24d)](_0x44e863[_0x4c6c06(0x20b)]),_0x46dbfc=[];for(const _0x52805d of _0x23f701){const _0x55a94a=_0x52805d[_0x4c6c06(0x25c)][_0x4c6c06(0x1df)](_0x36025b=>this[_0x4c6c06(0x1b2)](_0x36025b,_0x18a900,_0x3283c8[_0x4c6c06(0x247)][_0x4c6c06(0x255)][_0x4c6c06(0x1d8)]()[0x0]));if(!_0x55a94a||!_0x55a94a[_0x4c6c06(0x1fc)])continue;const _0x384f30=_0x55a94a[_0x4c6c06(0x19c)](_0x46ad9c=>_0x4c6c06(0x213)===_0x46ad9c[_0x4c6c06(0x1fe)]&&_0x46ad9c[_0x4c6c06(0x26f)][_0x4c6c06(0x1ad)](_0x4c6c06(0x219))),_0x3da3b6={'document':_0x3283c8[_0x4c6c06(0x247)][_0x4c6c06(0x255)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x2acb93=_0x539e1e(_0x55a94a,_0x5bbe1a,_0x3da3b6)[_0x4c6c06(0x204)];for(const _0x1a2b9e of _0x2acb93)if(_0x4c6c06(0x1e2)===_0x1a2b9e[_0x4c6c06(0x1fe)]){const _0x521fd5=_0x1a2b9e,_0x2cf8b6=_0x521fd5[_0x4c6c06(0x268)];let _0x5d7ea2='';for(const _0x41c8a8 of _0x2cf8b6)_0x41c8a8&&_0x41c8a8['is'](_0x4c6c06(0x1a8))&&(_0x5d7ea2+=_0x41c8a8[_0x4c6c06(0x191)]);_0x46dbfc[_0x4c6c06(0x197)]({'start':_0x521fd5[_0x4c6c06(0x23b)],'end':_0x521fd5[_0x4c6c06(0x23b)],'type':_0x4c6c06(0x1e2),'groupId':_0x52805d['id'],'text':_0x5d7ea2});}else{if(_0x4c6c06(0x213)===_0x1a2b9e[_0x4c6c06(0x1fe)]&&_0x1a2b9e[_0x4c6c06(0x26f)][_0x4c6c06(0x1ad)](_0x4c6c06(0x219))){const _0x63cba0=_0x1a2b9e;let _0x2f6aba=_0x4c6c06(0x1ac);if(_0x384f30){const _0x34ab04=this[_0x4c6c06(0x243)](_0x63cba0[_0x4c6c06(0x1f5)][_0x4c6c06(0x1c2)],_0x4c6c06(0x218),_0x3283c8[_0x4c6c06(0x247)][_0x4c6c06(0x251)]),_0x2ce7d8=this[_0x4c6c06(0x243)](_0x63cba0[_0x4c6c06(0x1f5)][_0x4c6c06(0x1d2)],_0x4c6c06(0x24c),_0x3283c8[_0x4c6c06(0x247)][_0x4c6c06(0x251)]);if(_0x34ab04||_0x2ce7d8){const _0x42285c=_0x63cba0[_0x4c6c06(0x1f5)][_0x4c6c06(0x1c2)][_0x4c6c06(0x237)](-_0x34ab04),_0x22c4e3=_0x63cba0[_0x4c6c06(0x1f5)][_0x4c6c06(0x1d2)][_0x4c6c06(0x237)](_0x2ce7d8);_0x46dbfc[_0x4c6c06(0x197)]({'start':_0x42285c,'end':_0x22c4e3,'groupId':_0x52805d['id'],'type':_0x4c6c06(0x17b)});}else _0x2f6aba=_0x4c6c06(0x1ef);}_0x46dbfc[_0x4c6c06(0x197)]({'start':_0x63cba0[_0x4c6c06(0x1f5)][_0x4c6c06(0x1c2)],'end':_0x63cba0[_0x4c6c06(0x1f5)][_0x4c6c06(0x1d2)],'groupId':_0x52805d['id'],'type':_0x2f6aba});}}}this[_0x4c6c06(0x24a)](_0x46dbfc);}[_0xb93684(0x18c)](){const _0x3f1348=_0xb93684,_0x4e4b91=_0x39bc1e(this[_0x3f1348(0x194)]);_0x4e4b91[_0x3f1348(0x247)][_0x3f1348(0x234)](_0x133fc2=>{const _0x125111=_0x3f1348;for(const _0x1b924a of this[_0x125111(0x240)][_0x125111(0x1c3)]())_0x4e4b91[_0x125111(0x247)][_0x125111(0x267)][_0x125111(0x1c4)](_0x1b924a)&&_0x133fc2[_0x125111(0x248)](_0x1b924a);}),this[_0x3f1348(0x240)][_0x3f1348(0x1e4)]();}[_0xb93684(0x180)](){const _0x1cab83=_0xb93684;_0x39bc1e(this[_0x1cab83(0x194)])[_0x1cab83(0x222)](_0x1cab83(0x215));}[_0xb93684(0x212)](){const _0xe4c15=_0xb93684;_0x39bc1e(this[_0xe4c15(0x194)])[_0xe4c15(0x245)](_0xe4c15(0x215));}[_0xb93684(0x187)](_0x75545a){const _0x112bf8=_0xb93684,_0x45f897=_0x39bc1e(this[_0x112bf8(0x194)]),_0x1d3968=_0x45f897[_0x112bf8(0x247)],_0x2506d6=_0x75545a[_0x112bf8(0x1df)](_0x22197f=>this[_0x112bf8(0x1e3)](_0x22197f))[_0x112bf8(0x1c6)]();_0x1d3968[_0x112bf8(0x234)](_0x34f155=>{const _0x3b4aa5=_0x112bf8;for(const _0x2b50ac of _0x2506d6){const _0x85a288=_0x45f897[_0x3b4aa5(0x247)][_0x3b4aa5(0x267)][_0x3b4aa5(0x1c4)](_0x2b50ac['id']);_0x85a288&&(_0x3b4aa5(0x1e2)===_0x2b50ac[_0x3b4aa5(0x1fe)]?_0x1d3968[_0x3b4aa5(0x1a6)](_0x34f155[_0x3b4aa5(0x1f0)](_0x2b50ac[_0x3b4aa5(0x1cb)]||''),_0x85a288[_0x3b4aa5(0x23c)]()[_0x3b4aa5(0x1c2)]):_0x3b4aa5(0x1ac)!==_0x2b50ac[_0x3b4aa5(0x1fe)]&&_0x3b4aa5(0x1ef)!==_0x2b50ac[_0x3b4aa5(0x1fe)]||_0x1d3968[_0x3b4aa5(0x18b)](_0x1d3968[_0x3b4aa5(0x22a)](_0x85a288[_0x3b4aa5(0x23c)]())),_0x34f155[_0x3b4aa5(0x248)](_0x2b50ac['id']),this[_0x3b4aa5(0x240)][_0x3b4aa5(0x246)](_0x2b50ac['id']));}});}[_0xb93684(0x227)](_0x371d0e){const _0x530a24=_0xb93684,_0x1b2b25=_0x39bc1e(this[_0x530a24(0x194)]),_0x34f787=this[_0x530a24(0x1e3)](_0x371d0e);_0x1b2b25[_0x530a24(0x247)][_0x530a24(0x234)](_0x28923f=>{const _0xf49369=_0x530a24;for(const _0x4b88b0 of _0x34f787)_0x28923f[_0xf49369(0x248)](_0x4b88b0['id']),this[_0xf49369(0x240)][_0xf49369(0x246)](_0x4b88b0['id']);});}[_0xb93684(0x1bb)](){const _0x1364a6=_0xb93684;return _0x39bc1e(this[_0x1364a6(0x194)]);}[_0xb93684(0x206)](_0x8540e5){const _0x4b172e=_0xb93684,_0xef2253=Array[_0x4b172e(0x193)](this[_0x4b172e(0x240)][_0x4b172e(0x1de)]())[_0x4b172e(0x1a0)](_0xcdb667=>_0xcdb667[_0x4b172e(0x263)]===_0x8540e5);if(!_0xef2253[_0x4b172e(0x1fc)])return null;const _0x4ef9d3=0x1===_0xef2253[_0x4b172e(0x1fc)]?_0xef2253[0x0]:this[_0x4b172e(0x189)](_0xef2253)[0x0],_0x2518c1=_0x39bc1e(this[_0x4b172e(0x194)]),_0x4af808=_0x2518c1[_0x4b172e(0x247)][_0x4b172e(0x267)][_0x4b172e(0x1c4)](_0x4ef9d3['id']);if(!_0x4af808)return null;const _0x1f4ed6=_0x4af808[_0x4b172e(0x23c)](),_0x162c24=_0x2518c1[_0x4b172e(0x24f)][_0x4b172e(0x25d)][_0x4b172e(0x23a)]();if(!_0x162c24||!_0x1f4ed6)return null;const _0xb8173=_0x162c24[_0x4b172e(0x1b8)](_0x4b172e(0x1ff)+_0x4ef9d3['id']+'\x22]');return _0xb8173?{'modelRange':_0x1f4ed6,'domElement':_0xb8173}:null;}[_0xb93684(0x20c)](_0x3da75c,_0x19b9ff){const _0x9b1c90=_0xb93684,_0x428ae9=Array[_0x9b1c90(0x193)](this[_0x9b1c90(0x240)][_0x9b1c90(0x1c3)]()),_0x4d4043=new Map();for(const _0x5192d0 of _0x428ae9){const _0x24d0f5=_0x3da75c[_0x9b1c90(0x247)][_0x9b1c90(0x267)][_0x9b1c90(0x1c4)](_0x5192d0);if(!_0x24d0f5)continue;const _0x2974eb=_0x24d0f5[_0x9b1c90(0x182)]()[_0x9b1c90(0x236)][0x0];_0x4d4043[_0x9b1c90(0x1fb)](_0x2974eb)||_0x4d4043[_0x9b1c90(0x211)](_0x2974eb,[]),_0x4d4043[_0x9b1c90(0x1c4)](_0x2974eb)[_0x9b1c90(0x197)](_0x24d0f5);}const _0x3f17d3=new Set();for(const _0x45cd68 of _0x3da75c[_0x9b1c90(0x247)][_0x9b1c90(0x255)][_0x9b1c90(0x1da)][_0x9b1c90(0x1b7)]()){let _0x2d20bc=-0x1,_0x3efb97=null;if(_0x9b1c90(0x1e2)===_0x45cd68[_0x9b1c90(0x1fe)])_0x3efb97=new _0x1bde60(_0x45cd68[_0x9b1c90(0x23b)],_0x45cd68[_0x9b1c90(0x23b)][_0x9b1c90(0x237)](_0x45cd68[_0x9b1c90(0x1fc)])),_0x2d20bc=_0x45cd68[_0x9b1c90(0x23b)][_0x9b1c90(0x236)][0x0];else{if(_0x9b1c90(0x228)!==_0x45cd68[_0x9b1c90(0x1fe)])continue;_0x3efb97=new _0x1bde60(_0x45cd68[_0x9b1c90(0x23b)]),_0x2d20bc=_0x45cd68[_0x9b1c90(0x23b)][_0x9b1c90(0x236)][0x0];}const _0x2fb2bc=_0x4d4043[_0x9b1c90(0x1c4)](_0x2d20bc)||[];if(_0x2fb2bc[_0x9b1c90(0x1fc)]){for(const _0x14c062 of _0x2fb2bc)if(_0x3efb97[_0x9b1c90(0x208)][_0x9b1c90(0x186)]===_0x14c062[_0x9b1c90(0x23c)]()[_0x9b1c90(0x208)][_0x9b1c90(0x186)]&&(_0x9b1c90(0x1e2)!==_0x45cd68[_0x9b1c90(0x1fe)]||!_0x3efb97[_0x9b1c90(0x250)](_0x14c062[_0x9b1c90(0x23c)]()))&&(_0x3efb97[_0x9b1c90(0x1cd)](_0x14c062[_0x9b1c90(0x23c)]())||_0x3efb97[_0x9b1c90(0x1c2)][_0x9b1c90(0x1ea)](_0x14c062[_0x9b1c90(0x23c)]()[_0x9b1c90(0x1d2)])||_0x3efb97[_0x9b1c90(0x1d2)][_0x9b1c90(0x1ea)](_0x14c062[_0x9b1c90(0x23c)]()[_0x9b1c90(0x1c2)]))){const _0x32b1fa=this[_0x9b1c90(0x19d)](_0x14c062[_0x9b1c90(0x26f)]);Array[_0x9b1c90(0x193)](this[_0x9b1c90(0x240)][_0x9b1c90(0x1de)]())[_0x9b1c90(0x1a0)](_0x571d97=>_0x571d97[_0x9b1c90(0x263)]===_0x32b1fa[_0x9b1c90(0x263)])[_0x9b1c90(0x239)](_0x5c9a44=>_0x3f17d3[_0x9b1c90(0x1d3)](_0x5c9a44['id']));}}}if(_0x3f17d3[_0x9b1c90(0x22b)]){for(const _0x1e57c9 of _0x3f17d3)_0x19b9ff[_0x9b1c90(0x248)](_0x1e57c9);return!0x0;}return!0x1;}[_0xb93684(0x1ec)](_0x5666c4){const _0x3de7f6=_0xb93684;for(const {name:_0x468579,data:_0x5b8dcd}of _0x5666c4[_0x3de7f6(0x247)][_0x3de7f6(0x255)][_0x3de7f6(0x1da)][_0x3de7f6(0x1f3)]()){if(!_0x468579[_0x3de7f6(0x1ad)](we))continue;const _0x1d1166=_0x5b8dcd[_0x3de7f6(0x21b)],_0x4891a6=_0x5b8dcd[_0x3de7f6(0x1f5)],_0x2faeb2=_0x1d1166&&_0x3de7f6(0x1ca)===_0x1d1166[_0x3de7f6(0x208)][_0x3de7f6(0x186)],_0x29b75c=_0x4891a6&&_0x3de7f6(0x1ca)===_0x4891a6[_0x3de7f6(0x208)][_0x3de7f6(0x186)];if(_0x2faeb2&&_0x29b75c)continue;const _0x5e5a58=this[_0x3de7f6(0x19d)](_0x468579);this[_0x3de7f6(0x240)][_0x3de7f6(0x1c4)](_0x468579)&&(_0x29b75c||!_0x4891a6?this[_0x3de7f6(0x269)][_0x3de7f6(0x1a5)](_0x3de7f6(0x235),{'markerId':_0x468579,'changeId':_0x5e5a58[_0x3de7f6(0x263)]}):_0x2faeb2&&_0x4891a6&&this[_0x3de7f6(0x269)][_0x3de7f6(0x1a5)](_0x3de7f6(0x201),{'markerId':_0x468579,'changeId':_0x5e5a58[_0x3de7f6(0x263)]}));}}[_0xb93684(0x19d)](_0x4cb704){const _0x29a8da=_0xb93684,_0x1b684b=_0x4cb704[_0x29a8da(0x25e)](':'),_0xcfe760=(_0x1b684b[0x1]||'')[_0x29a8da(0x25e)]('_');return{'prefix':_0x1b684b[0x0],'groupId':_0xcfe760[0x0],'suffix':_0xcfe760[0x1]};}[_0xb93684(0x1b2)](_0x1078a6,_0x10b371,_0x28a55f){const _0x343dd0=_0xb93684;if(_0x343dd0(0x1e2)===_0x1078a6[_0x343dd0(0x1fe)]){const _0x2dd76c=_0x1078a6;return new _0x2e93b6(this[_0x343dd0(0x1a1)](_0x10b371[_0x343dd0(0x183)](_0x2dd76c[_0x343dd0(0x23b)][_0x343dd0(0x221)]),_0x28a55f),_0x2dd76c[_0x343dd0(0x268)],_0x2dd76c[_0x343dd0(0x1e9)]);}if(_0x343dd0(0x213)===_0x1078a6[_0x343dd0(0x1fe)]&&_0x1078a6[_0x343dd0(0x26f)][_0x343dd0(0x1ad)](_0x343dd0(0x219))){const _0x1232c0=_0x1078a6;return new _0x595ac0(_0x1232c0[_0x343dd0(0x26f)],_0x1232c0[_0x343dd0(0x21b)],this[_0x343dd0(0x17e)](_0x1232c0[_0x343dd0(0x1f5)],_0x10b371[_0x343dd0(0x183)](_0x1232c0[_0x343dd0(0x1f5)][_0x343dd0(0x1c2)][_0x343dd0(0x221)]),_0x10b371[_0x343dd0(0x183)](_0x1232c0[_0x343dd0(0x1f5)][_0x343dd0(0x1d2)][_0x343dd0(0x221)]),_0x28a55f),_0x1232c0[_0x343dd0(0x240)],_0x1232c0[_0x343dd0(0x1e5)],_0x1232c0[_0x343dd0(0x1e9)]);}return _0x1078a6;}[_0xb93684(0x26d)](_0x22e154){const _0x24fb1a=_0xb93684;if(!_0x22e154[_0x24fb1a(0x1fc)])return[];const _0x1414a6=[];let _0x3b3c9d=0x0,_0x408fdc=0x0,_0x553c48=[];for(let _0x5ed25f=0x0;_0x5ed25f<=_0x22e154[_0x24fb1a(0x1fc)];_0x5ed25f++){const _0x390d83=_0x22e154[_0x5ed25f],_0x4408f7=_0x22e154[_0x5ed25f-0x1];!_0x390d83||_0x4408f7&&!this[_0x24fb1a(0x198)](_0x4408f7)[_0x24fb1a(0x1ea)](this[_0x24fb1a(0x1e1)](_0x390d83))?(_0x1414a6[_0x24fb1a(0x197)]({'operations':_0x553c48,'operationsIsolated':_0x553c48[_0x24fb1a(0x1df)](_0x52f48c=>this[_0x24fb1a(0x20f)](_0x52f48c[_0x24fb1a(0x1cf)](),-_0x408fdc)),'groupOffset':_0x3b3c9d}),_0x553c48=_0x390d83?[_0x390d83]:[],_0x408fdc+=_0x3b3c9d,_0x3b3c9d=0x0):_0x553c48[_0x24fb1a(0x197)](_0x390d83),_0x390d83&&_0x24fb1a(0x1e2)===_0x390d83[_0x24fb1a(0x1fe)]&&(_0x3b3c9d+=_0x390d83[_0x24fb1a(0x265)]);}return _0x1414a6;}[_0xb93684(0x243)](_0x353d76,_0x153419,_0x493cb3,_0x3532dc=0x1){const _0xb59616=_0xb93684,_0x1df9f9=new _0x1dfb85({'startPosition':_0x353d76,'direction':_0x153419});let _0x4ab8a4=0x0;for(let _0x31829a=0x0;_0x31829a<_0x3532dc;_0x31829a++){let _0x1c2ed6=0x0,_0x1d583d=!0x1,_0x5283a7=_0xb59616(0x24c)===_0x153419?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x10a6de}of _0x1df9f9)if(_0x10a6de['is'](_0xb59616(0x22c))){const _0x485ad4=_0x5283a7[_0xb59616(0x1c5)](_0x10a6de[_0xb59616(0x191)]);if(_0x485ad4&&_0x485ad4[_0xb59616(0x1fc)]){if(_0x1c2ed6+=_0xb59616(0x24c)===_0x153419?_0x485ad4[_0xb59616(0x1c8)]+_0x485ad4[0x0][_0xb59616(0x1fc)]:_0x10a6de[_0xb59616(0x191)][_0xb59616(0x1fc)]-_0x485ad4[_0xb59616(0x1c8)],_0x485ad4[0x0][_0xb59616(0x1fc)]!==_0x10a6de[_0xb59616(0x191)][_0xb59616(0x1fc)])break;_0x1d583d=!0x0,_0x5283a7=_0xb59616(0x24c)===_0x153419?/^\w+/:/\w+$/;}else{if(_0x1d583d)break;_0x1c2ed6+=_0x10a6de[_0xb59616(0x1e8)];}}else{if(_0x10a6de['is'](_0xb59616(0x266))){_0x493cb3[_0xb59616(0x1f1)](_0x10a6de)&&!_0x1d583d&&(_0x1c2ed6+=0x1);break;}}_0x4ab8a4+=_0x1c2ed6,_0x1df9f9[_0xb59616(0x1d9)](_0x353d76[_0xb59616(0x237)](_0xb59616(0x24c)===_0x153419?_0x4ab8a4:-_0x4ab8a4));}return _0x4ab8a4;}[_0xb93684(0x1e0)](_0x3a1480,_0x47b472){const _0x532059=_0xb93684,_0x14aa5c=_0x39bc1e(this[_0x532059(0x194)])[_0x532059(0x247)][_0x532059(0x251)],_0x23f655=this[_0x532059(0x243)](_0x3a1480,_0x532059(0x218),_0x14aa5c,0x6),_0x1b11c9=this[_0x532059(0x243)](_0x47b472,_0x532059(0x24c),_0x14aa5c,0x6),_0x58ae3f=_0x3a1480[_0x532059(0x237)](-_0x23f655),_0x173e80=_0x47b472[_0x532059(0x237)](_0x1b11c9);return{'start':_0x58ae3f,'end':_0x173e80,'hasContentBefore':!_0x58ae3f[_0x532059(0x20e)],'hasContentAfter':!_0x173e80[_0x532059(0x1cc)]};}[_0xb93684(0x24a)](_0x1fe246){const _0x29cf94=_0xb93684,_0x3a54a3=this[_0x29cf94(0x194)][_0x29cf94(0x1f8)][_0x29cf94(0x1c4)](_0x29cf94(0x1a2)),_0x126ef0=new Set();_0x39bc1e(this[_0x29cf94(0x194)])[_0x29cf94(0x247)][_0x29cf94(0x234)](_0x31a710=>{const _0x4f1235=_0x29cf94;for(const _0x28b167 of _0x1fe246){const _0x28e9c1=''+we+_0x28b167[_0x4f1235(0x1fe)]+':'+_0x28b167[_0x4f1235(0x263)]+'_'+_0x3a54a3[_0x4f1235(0x1eb)](_0x126ef0);this[_0x4f1235(0x240)][_0x4f1235(0x211)](_0x28e9c1,{'id':_0x28e9c1,'groupId':_0x28b167[_0x4f1235(0x263)],'type':_0x28b167[_0x4f1235(0x1fe)],'text':_0x28b167[_0x4f1235(0x1cb)]}),_0x31a710[_0x4f1235(0x22e)](_0x28e9c1,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x31a710[_0x4f1235(0x224)](_0x28b167[_0x4f1235(0x1c2)],_0x28b167[_0x4f1235(0x1d2)])});}});}[_0xb93684(0x19a)](_0x31ef94,_0xc9e7bb,_0x2adddd){let _0x3fcd9b='';return()=>{const _0x409f04=_0x26dd;if(!_0x3fcd9b){const _0x5cccb9=_0xc9e7bb[_0x409f04(0x253)](_0x31ef94,{'showSuggestionHighlights':!0x0});let _0x215f49=_0x5cccb9[_0x409f04(0x207)](0x0);if(_0x215f49['is'](_0x409f04(0x18f))||(_0x215f49=_0x5cccb9),!_0x215f49)return'';let _0x48f7c3=!0x1;const _0x2155b7=[];for(const _0x47263b of _0x215f49[_0x409f04(0x190)]())_0x47263b['is'](_0x409f04(0x266),_0x409f04(0x217))&&_0x47263b[_0x409f04(0x20d)](_0x409f04(0x238))&&(_0x48f7c3=!0x1),_0x48f7c3&&_0x2155b7[_0x409f04(0x197)](_0x47263b),_0x47263b['is'](_0x409f04(0x266),_0x409f04(0x217))&&_0x47263b[_0x409f04(0x20d)](_0x409f04(0x23f))&&(_0x48f7c3=!0x0);_0x215f49[_0x409f04(0x214)](0x0,_0x215f49[_0x409f04(0x232)]),_0x2adddd?.[_0x409f04(0x26c)]&&_0x215f49[_0x409f04(0x1e7)]('…'),_0x215f49[_0x409f04(0x1e7)](_0x2155b7),_0x2adddd?.[_0x409f04(0x1b5)]&&_0x215f49[_0x409f04(0x1e7)]('…');const _0xcbeb07=_0xc9e7bb[_0x409f04(0x26e)][_0x409f04(0x203)][_0x409f04(0x200)](_0x5cccb9),_0x441e32=_0xc9e7bb[_0x409f04(0x26e)][_0x409f04(0x1f4)][_0x409f04(0x1dd)](_0xcbeb07);_0x3fcd9b=_0x441e32;}return _0x3fcd9b;};}[_0xb93684(0x17d)](_0x5d0390,_0x7e7b9a){const _0x48b9f2=_0xb93684;let _0x1c81fc='';return()=>(_0x1c81fc||(_0x1c81fc=_0x7e7b9a[_0x48b9f2(0x205)](_0x5d0390,{'showSuggestionHighlights':!0x0})),_0x1c81fc);}[_0xb93684(0x249)](_0x21f099,_0x2f9e35,_0x291aed){let _0x8360d7='';return()=>{const _0xc0649=_0x26dd;if(!_0x8360d7){const _0xa43aed=_0x291aed[_0xc0649(0x253)](new _0x206c0f(_0x21f099)),_0x170ee4=_0x291aed[_0xc0649(0x26e)][_0xc0649(0x203)][_0xc0649(0x200)](_0xa43aed)[_0xc0649(0x1b8)](_0xc0649(0x24e)+_0x2f9e35+'\x22]');_0x8360d7=_0x170ee4?.[_0xc0649(0x24b)]||'';}return _0x8360d7;};}[_0xb93684(0x270)](_0x47ab30,_0x1744f4=0x5){const _0x475065=_0xb93684;let _0x40203e=_0x47ab30,_0x3264f5=null;for(let _0x1cfc88=0x0;_0x1cfc88<_0x1744f4&&_0x40203e;_0x1cfc88++){if(!_0x40203e[_0x475065(0x19f)]){_0x40203e=_0x40203e[_0x475065(0x1be)];continue;}if(!(''+_0x40203e[_0x475065(0x19f)])[_0x475065(0x1b1)](_0x475065(0x216))){_0x40203e=_0x40203e[_0x475065(0x1be)];continue;}if(!_0x40203e[_0x475065(0x209)](_0x475065(0x21f)))break;_0x3264f5=_0x40203e;break;}return _0x3264f5;}[_0xb93684(0x1e3)](_0x36475a){const _0x57b42e=_0xb93684;return Array[_0x57b42e(0x193)](this[_0x57b42e(0x240)][_0x57b42e(0x1de)]())[_0x57b42e(0x1a0)](_0x442c90=>_0x442c90[_0x57b42e(0x263)]===_0x36475a);}[_0xb93684(0x1e1)](_0x2eee99){const _0x3f2edc=_0xb93684;return _0x3f2edc(0x1e2)===_0x2eee99[_0x3f2edc(0x1fe)]?_0x2eee99[_0x3f2edc(0x23b)]:_0x2eee99[_0x3f2edc(0x1f5)][_0x3f2edc(0x1c2)];}[_0xb93684(0x198)](_0x15742f,_0xd781d9=!0x1){const _0x5af908=_0xb93684;return _0x5af908(0x1e2)===_0x15742f[_0x5af908(0x1fe)]?_0xd781d9?_0x15742f[_0x5af908(0x23b)]:_0x15742f[_0x5af908(0x23b)][_0x5af908(0x237)](_0x15742f[_0x5af908(0x265)]):_0x15742f[_0x5af908(0x1f5)][_0x5af908(0x1d2)];}[_0xb93684(0x20f)](_0x1d8aed,_0x436209){const _0x4f310e=_0xb93684;return _0x4f310e(0x1e2)===_0x1d8aed[_0x4f310e(0x1fe)]?_0x1d8aed[_0x4f310e(0x23b)]=_0x1d8aed[_0x4f310e(0x23b)][_0x4f310e(0x237)](_0x436209):_0x4f310e(0x213)===_0x1d8aed[_0x4f310e(0x1fe)]&&_0x1d8aed[_0x4f310e(0x1f5)]&&(_0x1d8aed[_0x4f310e(0x1f5)]=new _0x1bde60(_0x1d8aed[_0x4f310e(0x1f5)][_0x4f310e(0x1c2)][_0x4f310e(0x237)](_0x436209),_0x1d8aed[_0x4f310e(0x1f5)][_0x4f310e(0x1d2)][_0x4f310e(0x237)](_0x436209))),_0x1d8aed;}[_0xb93684(0x21c)](_0x4b1138,_0x4468ab){const _0x3cfa01=_0xb93684;_0x3cfa01(0x1e2)===_0x4b1138[_0x3cfa01(0x1fe)]?_0x4b1138[_0x3cfa01(0x23b)]=this[_0x3cfa01(0x1bd)](_0x4b1138[_0x3cfa01(0x23b)],_0x4468ab):_0x3cfa01(0x213)===_0x4b1138[_0x3cfa01(0x1fe)]&&_0x4b1138[_0x3cfa01(0x1f5)]&&(_0x4b1138[_0x3cfa01(0x1f5)]=this[_0x3cfa01(0x199)](_0x4b1138[_0x3cfa01(0x1f5)],_0x4468ab));}[_0xb93684(0x1bd)](_0x935e7b,_0x329b0e){const _0x321037=_0xb93684;return new _0x5c0767(_0x329b0e,_0x935e7b[_0x321037(0x236)]);}[_0xb93684(0x199)](_0x410f94,_0x52018d){const _0x3df9de=_0xb93684;return new _0x1bde60(this[_0x3df9de(0x1bd)](_0x410f94[_0x3df9de(0x1c2)],_0x52018d),this[_0x3df9de(0x1bd)](_0x410f94[_0x3df9de(0x1d2)],_0x52018d));}[_0xb93684(0x1a1)](_0x561024,_0x5a26dc){return new _0x5c0767(_0x5a26dc,[..._0x561024]);}[_0xb93684(0x17e)](_0x33c74d,_0x1d0766,_0xc20850,_0x25e815){const _0x4083a0=_0xb93684;return new _0x1bde60(this[_0x4083a0(0x1a1)](_0x1d0766,_0x25e815),this[_0x4083a0(0x1a1)](_0xc20850,_0x25e815));}[_0xb93684(0x189)](_0x477f9e){const _0x2a58cd=_0xb93684,_0x16ee8f=_0x2c67b3=>{const _0x27119e=_0x26dd;switch(_0x2c67b3){case _0x27119e(0x1e2):return 0x1;case _0x27119e(0x17b):return 0x2;case _0x27119e(0x1ef):return 0x3;case _0x27119e(0x1ac):return 0x4;}};return _0x477f9e[_0x2a58cd(0x23e)]((_0x52bd7e,_0x211495)=>_0x16ee8f(_0x52bd7e[_0x2a58cd(0x1fe)])-_0x16ee8f(_0x211495[_0x2a58cd(0x1fe)]));}[_0xb93684(0x1db)](_0x1a6cd5,_0x506353){const _0x5ca5eb=_0xb93684,_0x41278=_0x1a6cd5[_0x5ca5eb(0x207)](0x0),_0x20fdc0=_0x506353[_0x5ca5eb(0x207)](0x0);return!(!_0x41278||!_0x20fdc0)&&((!_0x41278['is'](_0x5ca5eb(0x266))||!_0x20fdc0['is'](_0x5ca5eb(0x266))||_0x41278[_0x5ca5eb(0x26f)]===_0x20fdc0[_0x5ca5eb(0x26f)])&&!(_0x41278['is'](_0x5ca5eb(0x266))&&!_0x20fdc0['is'](_0x5ca5eb(0x266))||!_0x41278['is'](_0x5ca5eb(0x266))&&_0x20fdc0['is'](_0x5ca5eb(0x266))));}[_0xb93684(0x17c)](_0x57b6dc){const _0xaea65f=_0xb93684;return 0x1===_0x57b6dc[_0xaea65f(0x232)];}[_0xb93684(0x1a3)](_0x46bd07,_0x43a091){const _0x1788b2=_0xb93684;for(const _0x23baf1 of _0x46bd07[_0x1788b2(0x190)]())if(_0x23baf1['is'](_0x1788b2(0x266))&&!_0x43a091[_0x1788b2(0x1f1)](_0x23baf1))return!0x1;return!0x0;}[_0xb93684(0x18a)](_0x5a1d62,_0x7c2522){const _0x54f335=_0xb93684;let _0x1c672a=_0x5a1d62[_0x54f335(0x209)](_0x58ba64);return _0x1c672a||(_0x1c672a=_0x7c2522(),_0x5a1d62[_0x54f335(0x17a)](_0x58ba64,_0x1c672a)),_0x1c672a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x232e7b=_0x33e8;(function(_0x14057b,_0x165525){const _0x24eefc=_0x33e8,_0x202b86=_0x14057b();while(!![]){try{const _0x440748=-parseInt(_0x24eefc(0x1b2))/0x1+parseInt(_0x24eefc(0x1b0))/0x2*(parseInt(_0x24eefc(0x1a2))/0x3)+parseInt(_0x24eefc(0x190))/0x4*(parseInt(_0x24eefc(0x1b7))/0x5)+parseInt(_0x24eefc(0x163))/0x6*(-parseInt(_0x24eefc(0x174))/0x7)+-parseInt(_0x24eefc(0x173))/0x8*(-parseInt(_0x24eefc(0x1a4))/0x9)+-parseInt(_0x24eefc(0x1ae))/0xa+-parseInt(_0x24eefc(0x184))/0xb*(-parseInt(_0x24eefc(0x18d))/0xc);if(_0x440748===_0x165525)break;else _0x202b86['push'](_0x202b86['shift']());}catch(_0x31fa0d){_0x202b86['push'](_0x202b86['shift']());}}}(_0xfa3d,0x34ab1));import{ContextPlugin as _0x3ce22d}from'ckeditor5/src/core.js';import{IconAIReview as _0x56073e}from'ckeditor5/src/icons.js';import{BodyCollection as _0x5ab6bc}from'ckeditor5/src/ui.js';import{AITabs as _0x786c10}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x19e311}from'./ui/aireviewmodeview.js';function _0x33e8(_0x4c38f9,_0x2e8c36){const _0xfa3d9b=_0xfa3d();return _0x33e8=function(_0x33e8e1,_0x760c98){_0x33e8e1=_0x33e8e1-0x161;let _0x13c19d=_0xfa3d9b[_0x33e8e1];return _0x13c19d;},_0x33e8(_0x4c38f9,_0x2e8c36);}import{getTranslation as _0x4e0f8f}from'../aicore/utils/common-translations.js';function _0xfa3d(){const _0x26b1ad=['isOfficialPlugin','leaveReviewMode','deactivateChange','runReviewCheck','outdated','setAvailableChecks','showCheckRunResults','showReviewCheckListView','setChecks','89023bobzLA','AI_REVIEW_MODE','reviewMode','status','hasChecks','delegate','showReviewCheckResultsView','showCheckRunResult','reviewCheckListView','216CJsOCM','init','setItemAsInactive','268otjBpA','_reviewModeView','requires','addTab','setTitle','activateChange','showChunkErrorView','showGeneralReviewModeErrorView','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','abortReviewStream','hideBalloon','hideDiffInBalloon','plugins','detachFromDom','addCheckRunResult','showBalloon','showNoChangesView','activateTab','306237iEbCbB','showReviewCompletedView','9YGqkAP','setItemAsActive','error-general','leaveReviewModeResultList','getChangeElement','acceptAllChanges','fire','showChangeBalloon','error-chunk','retryReview','2314070OXwNXS','get','4MHMxDW','showDiffInBalloon','6977FtvPDb','isPremiumPlugin','setCheckResultTitle','finishReview','destroy','26095ZHMMvw','hideActionsWhenResultIsReady','find','getResults','rejected','getReviewCheckList','accepted','dismissChange','showActionsWhenResultIsReady','hideChangeBalloon','forEach','228UFwGRG','learnMore','reviewCheckResultsView','AIReviewModeUI','attachToDom','_bodyCollection','toggleDiff','hideResult','_reviewModeBalloonSuggestionItemView','showGeneralResultsErrorView','showReviewCheckList','resetActiveStateInResults','pluginName','AITabs','view','locale','661904jwJrlv','60445XNnxqr','context','acceptChange','element','updateChangeState','setActiveStateInResults','showResult'];_0xfa3d=function(){return _0x26b1ad;};return _0xfa3d();}import{AIReviewModeBalloonSuggestionItemView as _0x35773d}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x232e7b(0x1bc),_0x232e7b(0x17e),_0x232e7b(0x199),_0x232e7b(0x169),_0x232e7b(0x1a9),_0x232e7b(0x1a7),_0x232e7b(0x195),_0x232e7b(0x176),_0x232e7b(0x1be),_0x232e7b(0x164),_0x232e7b(0x1b5),_0x232e7b(0x1ad)];export class AIReviewModeUI extends _0x3ce22d{[_0x232e7b(0x191)];[_0x232e7b(0x16b)];[_0x232e7b(0x168)];static get[_0x232e7b(0x192)](){return[_0x786c10];}static get[_0x232e7b(0x16f)](){const _0x163f6b=_0x232e7b;return _0x163f6b(0x166);}static get[_0x232e7b(0x17b)](){return!0x0;}static get[_0x232e7b(0x1b3)](){return!0x0;}constructor(_0x480d83){const _0x1709e2=_0x232e7b;super(_0x480d83),this[_0x1709e2(0x168)]=new _0x5ab6bc(this[_0x1709e2(0x175)][_0x1709e2(0x172)]),this[_0x1709e2(0x168)][_0x1709e2(0x167)](),this[_0x1709e2(0x191)]=new _0x19e311(this[_0x1709e2(0x175)][_0x1709e2(0x172)]),this[_0x1709e2(0x191)][_0x1709e2(0x189)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x1709e2(0x16b)]=new _0x35773d(this[_0x1709e2(0x175)][_0x1709e2(0x172)],this[_0x1709e2(0x168)]),this[_0x1709e2(0x16b)][_0x1709e2(0x189)](_0x1709e2(0x176),_0x1709e2(0x1be),_0x1709e2(0x17d))['to'](this);}[_0x232e7b(0x18e)](){const _0x5c530d=_0x232e7b,_0x3eca75=this[_0x5c530d(0x175)][_0x5c530d(0x19c)][_0x5c530d(0x1af)](_0x5c530d(0x170));_0x3eca75[_0x5c530d(0x171)]['on'](_0x5c530d(0x1a1),(_0x7814c2,_0x1923c3)=>{const _0x18a69a=_0x5c530d;_0x18a69a(0x186)===_0x1923c3?this[_0x18a69a(0x1aa)](_0x18a69a(0x1bc)):this[_0x18a69a(0x1aa)](_0x18a69a(0x17c));}),_0x3eca75[_0x5c530d(0x171)][_0x5c530d(0x193)]({'id':_0x5c530d(0x186),'buttonLabel':_0x4e0f8f(this[_0x5c530d(0x175)][_0x5c530d(0x172)],_0x5c530d(0x185)),'buttonIcon':_0x56073e,'order':0x0,'content':this[_0x5c530d(0x191)]});}[_0x232e7b(0x1b6)](){const _0x2ff1d4=_0x232e7b;this[_0x2ff1d4(0x168)][_0x2ff1d4(0x19d)](),super[_0x2ff1d4(0x1b6)]();}[_0x232e7b(0x180)](_0x435465){const _0x358ad6=_0x232e7b;this[_0x358ad6(0x191)][_0x358ad6(0x18c)][_0x358ad6(0x188)]()||this[_0x358ad6(0x191)][_0x358ad6(0x18c)][_0x358ad6(0x183)](_0x435465),this[_0x358ad6(0x191)][_0x358ad6(0x182)]();}[_0x232e7b(0x16d)](){const _0x154a9b=_0x232e7b;this[_0x154a9b(0x1aa)](_0x154a9b(0x1bc));}[_0x232e7b(0x181)](_0x368d30){const _0x30b47b=_0x232e7b;_0x368d30&&(_0x30b47b(0x1a6)!==_0x368d30[_0x30b47b(0x187)]?_0x30b47b(0x1ac)!==_0x368d30[_0x30b47b(0x187)]?this[_0x30b47b(0x191)][_0x30b47b(0x18a)]():this[_0x30b47b(0x196)]():this[_0x30b47b(0x16c)]());}[_0x232e7b(0x18b)](_0x2285fa){const _0xf78bfa=_0x232e7b;this[_0xf78bfa(0x191)][_0xf78bfa(0x19e)](_0x2285fa);}[_0x232e7b(0x16c)](){const _0x5213d5=_0x232e7b;this[_0x5213d5(0x191)][_0x5213d5(0x16c)]();}[_0x232e7b(0x197)](_0x31b825){const _0x4343bc=_0x232e7b;this[_0x4343bc(0x191)][_0x4343bc(0x197)](_0x31b825??_0x4e0f8f(this[_0x4343bc(0x175)][_0x4343bc(0x172)],_0x4343bc(0x198)));}[_0x232e7b(0x196)](){const _0x4e4d78=_0x232e7b;this[_0x4e4d78(0x191)][_0x4e4d78(0x196)]();}[_0x232e7b(0x1b4)](_0x35400a,_0x36c87e){const _0x5a5996=_0x232e7b;this[_0x5a5996(0x191)][_0x5a5996(0x165)][_0x5a5996(0x194)](_0x35400a,_0x36c87e);}[_0x232e7b(0x179)](_0x3fd08){const _0x8afb0c=_0x232e7b;this[_0x8afb0c(0x191)][_0x8afb0c(0x165)][_0x8afb0c(0x1ba)]()[_0x8afb0c(0x162)](_0x79b570=>{const _0x4e6014=_0x8afb0c;_0x79b570['id']===_0x3fd08&&_0x79b570[_0x4e6014(0x1a5)]();});}[_0x232e7b(0x16e)](){const _0x5adbe5=_0x232e7b;this[_0x5adbe5(0x191)][_0x5adbe5(0x165)][_0x5adbe5(0x1ba)]()[_0x5adbe5(0x162)](_0x5ce624=>_0x5ce624[_0x5adbe5(0x18f)]());}[_0x232e7b(0x178)](_0x569377,_0x300b4a){const _0x51a559=_0x232e7b;_0x51a559(0x1bd)===_0x300b4a||_0x51a559(0x1bb)===_0x300b4a||_0x51a559(0x17f)===_0x300b4a?this[_0x51a559(0x191)][_0x51a559(0x165)][_0x51a559(0x16a)](_0x569377,_0x300b4a):this[_0x51a559(0x191)][_0x51a559(0x165)][_0x51a559(0x17a)](_0x569377,_0x300b4a);}[_0x232e7b(0x1a3)](){const _0x292541=_0x232e7b;this[_0x292541(0x191)][_0x292541(0x1a3)]();}[_0x232e7b(0x1bf)](){const _0x169e60=_0x232e7b;this[_0x169e60(0x191)][_0x169e60(0x1bf)]();}[_0x232e7b(0x1a0)](){const _0x273f61=_0x232e7b;this[_0x273f61(0x191)][_0x273f61(0x1a0)]();}[_0x232e7b(0x1b8)](){const _0x3259c2=_0x232e7b;this[_0x3259c2(0x191)][_0x3259c2(0x1b8)]();}[_0x232e7b(0x1ab)](_0x5c2697,_0x3dedc7,_0x1267c5,_0xa1ca36,_0x3ddbac,_0x5d1578){const _0xb144bb=_0x232e7b;this[_0xb144bb(0x16b)][_0xb144bb(0x19f)](_0x5c2697,_0x3dedc7,_0x1267c5,_0xa1ca36,_0x3ddbac,_0x5d1578);}[_0x232e7b(0x161)](){const _0x2bc1a0=_0x232e7b;this[_0x2bc1a0(0x16b)][_0x2bc1a0(0x19a)]();}[_0x232e7b(0x19b)](){const _0x28d817=_0x232e7b;this[_0x28d817(0x16b)][_0x28d817(0x19b)]();}[_0x232e7b(0x1b1)](){const _0xb34f5f=_0x232e7b;this[_0xb34f5f(0x16b)][_0xb34f5f(0x1b1)]();}[_0x232e7b(0x1a8)](_0x33cff0){const _0x9a7997=_0x232e7b,_0x1c0ad2=this[_0x9a7997(0x191)][_0x9a7997(0x165)][_0x9a7997(0x1ba)]()[_0x9a7997(0x1b9)](_0x19d56b=>_0x19d56b['id']===_0x33cff0);return _0x1c0ad2?_0x1c0ad2[_0x9a7997(0x177)]:null;}[_0x232e7b(0x17d)](){const _0x1be78d=_0x232e7b;this[_0x1be78d(0x16b)][_0x1be78d(0x17d)]();}}
23
+ const _0x52159d=_0x2cba;(function(_0x539603,_0x527685){const _0x4edfe6=_0x2cba,_0x540282=_0x539603();while(!![]){try{const _0x510798=-parseInt(_0x4edfe6(0x1dc))/0x1+parseInt(_0x4edfe6(0x19c))/0x2*(-parseInt(_0x4edfe6(0x1e7))/0x3)+parseInt(_0x4edfe6(0x1ac))/0x4+parseInt(_0x4edfe6(0x1e0))/0x5*(parseInt(_0x4edfe6(0x1d9))/0x6)+parseInt(_0x4edfe6(0x1dd))/0x7*(parseInt(_0x4edfe6(0x1b0))/0x8)+parseInt(_0x4edfe6(0x198))/0x9*(-parseInt(_0x4edfe6(0x1b1))/0xa)+parseInt(_0x4edfe6(0x1f4))/0xb;if(_0x510798===_0x527685)break;else _0x540282['push'](_0x540282['shift']());}catch(_0x545a2b){_0x540282['push'](_0x540282['shift']());}}}(_0x3016,0x90c07));import{ContextPlugin as _0x54a92d}from'ckeditor5/src/core.js';import{IconAIReview as _0x4c7538}from'ckeditor5/src/icons.js';import{BodyCollection as _0x16c44e}from'ckeditor5/src/ui.js';import{AITabs as _0x1bdf97}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x38adfc}from'./ui/aireviewmodeview.js';import{getTranslation as _0x26b0d5}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0xd338b3}from'./ui/aireviewmodeballoonsuggestionview.js';function _0x2cba(_0xe06c,_0x36421a){const _0x3016cc=_0x3016();return _0x2cba=function(_0x2cba4f,_0x1515bc){_0x2cba4f=_0x2cba4f-0x197;let _0x17c8f5=_0x3016cc[_0x2cba4f];return _0x17c8f5;},_0x2cba(_0xe06c,_0x36421a);}import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x52159d(0x1c6),_0x52159d(0x19e),_0x52159d(0x1db),_0x52159d(0x1a6),_0x52159d(0x1b8),_0x52159d(0x1cb),_0x52159d(0x19a),_0x52159d(0x19f),_0x52159d(0x1e9),_0x52159d(0x1e2),_0x52159d(0x1f2),_0x52159d(0x1b7)];export class AIReviewModeUI extends _0x54a92d{[_0x52159d(0x1bb)];[_0x52159d(0x1b3)];[_0x52159d(0x1c1)];static get[_0x52159d(0x1cd)](){return[_0x1bdf97];}static get[_0x52159d(0x1b4)](){const _0x25ace6=_0x52159d;return _0x25ace6(0x1da);}static get[_0x52159d(0x1a2)](){return!0x0;}static get[_0x52159d(0x1ea)](){return!0x0;}constructor(_0x120755){const _0x46e90=_0x52159d;super(_0x120755),this[_0x46e90(0x1c1)]=new _0x16c44e(this[_0x46e90(0x1c5)][_0x46e90(0x1c0)]),this[_0x46e90(0x1c1)][_0x46e90(0x1cc)](),this[_0x46e90(0x1bb)]=new _0x38adfc(this[_0x46e90(0x1c5)][_0x46e90(0x1c0)]),this[_0x46e90(0x1bb)][_0x46e90(0x1ef)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x46e90(0x1b3)]=new _0xd338b3(this[_0x46e90(0x1c5)][_0x46e90(0x1c0)],this[_0x46e90(0x1c1)]),this[_0x46e90(0x1b3)][_0x46e90(0x1ef)](_0x46e90(0x19f),_0x46e90(0x1e9),_0x46e90(0x1e1))['to'](this);}[_0x52159d(0x1e6)](){const _0x382ae4=_0x52159d,_0xab5a4e=this[_0x382ae4(0x1c5)][_0x382ae4(0x1a8)][_0x382ae4(0x1ca)](_0x382ae4(0x1c9));_0xab5a4e[_0x382ae4(0x1bc)]['on'](_0x382ae4(0x1ce),(_0x5af487,_0x165ee6)=>{const _0x4ea9ba=_0x382ae4;_0x4ea9ba(0x1e8)===_0x165ee6?this[_0x4ea9ba(0x1e5)](_0x4ea9ba(0x1c6)):this[_0x4ea9ba(0x1e5)](_0x4ea9ba(0x1a1));}),_0xab5a4e[_0x382ae4(0x1bc)][_0x382ae4(0x1b9)]({'id':_0x382ae4(0x1e8),'buttonLabel':_0x26b0d5(this[_0x382ae4(0x1c5)][_0x382ae4(0x1c0)],_0x382ae4(0x1de)),'buttonIcon':_0x4c7538,'order':0x0,'content':this[_0x382ae4(0x1bb)]});}[_0x52159d(0x1ad)](){const _0x2b5263=_0x52159d;this[_0x2b5263(0x1c1)][_0x2b5263(0x1e4)](),super[_0x2b5263(0x1ad)]();}[_0x52159d(0x1ba)](_0x167bfe){const _0x21a793=_0x52159d;this[_0x21a793(0x1bb)][_0x21a793(0x1d7)][_0x21a793(0x1c2)]()||this[_0x21a793(0x1bb)][_0x21a793(0x1d7)][_0x21a793(0x1bf)](_0x167bfe),this[_0x21a793(0x1bb)][_0x21a793(0x1df)]();}[_0x52159d(0x1ec)](){const _0x552996=_0x52159d;this[_0x552996(0x1e5)](_0x552996(0x1c6));}[_0x52159d(0x1cf)](_0x1efa1f){const _0x5f55d4=_0x52159d;_0x1efa1f&&(_0x5f55d4(0x1c3)!==_0x1efa1f[_0x5f55d4(0x1ab)]?_0x5f55d4(0x199)!==_0x1efa1f[_0x5f55d4(0x1ab)]?this[_0x5f55d4(0x1bb)][_0x5f55d4(0x1d0)]():this[_0x5f55d4(0x1eb)]():this[_0x5f55d4(0x1bd)]());}[_0x52159d(0x1ae)](_0x1f78b8){const _0x2f51cb=_0x52159d;this[_0x2f51cb(0x1bb)][_0x2f51cb(0x19d)](_0x1f78b8);}[_0x52159d(0x1bd)](){const _0x2448bb=_0x52159d;this[_0x2448bb(0x1bb)][_0x2448bb(0x1bd)]();}[_0x52159d(0x1ed)](_0x5726e8){const _0xa7991a=_0x52159d;this[_0xa7991a(0x1bb)][_0xa7991a(0x1ed)](_0x5726e8??_0x26b0d5(this[_0xa7991a(0x1c5)][_0xa7991a(0x1c0)],_0xa7991a(0x1a9)));}[_0x52159d(0x1eb)](){const _0x5b3f11=_0x52159d;this[_0x5b3f11(0x1bb)][_0x5b3f11(0x1eb)]();}[_0x52159d(0x1af)](_0x34c8eb,_0x263668){const _0x53afb8=_0x52159d;this[_0x53afb8(0x1bb)][_0x53afb8(0x1aa)][_0x53afb8(0x1b6)](_0x34c8eb,_0x263668);}[_0x52159d(0x1c4)](_0x20e002){const _0x307559=_0x52159d;this[_0x307559(0x1bb)][_0x307559(0x1aa)][_0x307559(0x1d1)]()[_0x307559(0x1a3)](_0x1e1b9e=>{const _0x112390=_0x307559;_0x1e1b9e['id']===_0x20e002&&_0x1e1b9e[_0x112390(0x1f1)]();});}[_0x52159d(0x1d2)](){const _0xaf4ad2=_0x52159d;this[_0xaf4ad2(0x1bb)][_0xaf4ad2(0x1aa)][_0xaf4ad2(0x1d1)]()[_0xaf4ad2(0x1a3)](_0x3e17ff=>_0x3e17ff[_0xaf4ad2(0x1e3)]());}[_0x52159d(0x1ee)](_0x1b582b,_0x3c36a5){const _0x3ae68b=_0x52159d;_0x3ae68b(0x1b2)===_0x3c36a5||_0x3ae68b(0x1d6)===_0x3c36a5||_0x3ae68b(0x1a7)===_0x3c36a5?this[_0x3ae68b(0x1bb)][_0x3ae68b(0x1aa)][_0x3ae68b(0x1c8)](_0x1b582b,_0x3c36a5):this[_0x3ae68b(0x1bb)][_0x3ae68b(0x1aa)][_0x3ae68b(0x197)](_0x1b582b,_0x3c36a5);}[_0x52159d(0x19b)](){const _0xd93850=_0x52159d;this[_0xd93850(0x1bb)][_0xd93850(0x19b)]();}[_0x52159d(0x1d4)](){const _0x5f5b8b=_0x52159d;this[_0x5f5b8b(0x1bb)][_0x5f5b8b(0x1d4)]();}[_0x52159d(0x1a0)](){const _0x3df9d8=_0x52159d;this[_0x3df9d8(0x1bb)][_0x3df9d8(0x1a0)]();}[_0x52159d(0x1d5)](){const _0x279133=_0x52159d;this[_0x279133(0x1bb)][_0x279133(0x1d5)]();}[_0x52159d(0x1d8)](_0x11c7a3,_0x2e961f,_0x4da901,_0x44d6a0,_0x513c20,_0x30f78c){const _0x1303a3=_0x52159d;this[_0x1303a3(0x1b3)][_0x1303a3(0x1a5)](_0x11c7a3,_0x2e961f,_0x4da901,_0x44d6a0,_0x513c20,_0x30f78c);}[_0x52159d(0x1c7)](){const _0x46f64=_0x52159d;this[_0x46f64(0x1b3)][_0x46f64(0x1f3)]();}[_0x52159d(0x1d3)](){const _0xa6a4b4=_0x52159d;this[_0xa6a4b4(0x1b3)][_0xa6a4b4(0x1d3)]();}[_0x52159d(0x1b5)](){const _0x53c158=_0x52159d;this[_0x53c158(0x1b3)][_0x53c158(0x1b5)]();}[_0x52159d(0x1f0)](_0x2406ea){const _0x24d017=_0x52159d,_0x5eea1a=this[_0x24d017(0x1bb)][_0x24d017(0x1aa)][_0x24d017(0x1d1)]()[_0x24d017(0x1be)](_0x250011=>_0x250011['id']===_0x2406ea);return _0x5eea1a?_0x5eea1a[_0x24d017(0x1a4)]:null;}[_0x52159d(0x1e1)](){const _0x467b8c=_0x52159d;this[_0x467b8c(0x1b3)][_0x467b8c(0x1e1)]();}}function _0x3016(){const _0x49231e=['_reviewModeBalloonSuggestionItemView','pluginName','showDiffInBalloon','setTitle','retryReview','acceptAllChanges','addTab','setAvailableChecks','_reviewModeView','view','showGeneralResultsErrorView','find','setChecks','locale','_bodyCollection','hasChecks','error-general','setActiveStateInResults','context','getReviewCheckList','hideChangeBalloon','hideResult','AITabs','get','leaveReviewModeResultList','attachToDom','requires','activateTab','showCheckRunResults','showReviewCheckResultsView','getResults','resetActiveStateInResults','hideDiffInBalloon','showActionsWhenResultIsReady','hideActionsWhenResultIsReady','rejected','reviewCheckListView','showChangeBalloon','14106uQuavY','AIReviewModeUI','abortReviewStream','852796wFrZdD','1184288REZejF','AI_REVIEW_MODE','showReviewCheckListView','2485VupSsV','deactivateChange','learnMore','setItemAsInactive','detachFromDom','fire','init','708gwFnsh','reviewMode','dismissChange','isPremiumPlugin','showChunkErrorView','showReviewCheckList','showGeneralReviewModeErrorView','updateChangeState','delegate','getChangeElement','setItemAsActive','finishReview','hideBalloon','1359600WXaIYC','showResult','4627026JYWTcU','error-chunk','activateChange','showReviewCompletedView','8132ZyqRrp','addCheckRunResult','runReviewCheck','acceptChange','showNoChangesView','leaveReviewMode','isOfficialPlugin','forEach','element','showBalloon','toggleDiff','outdated','plugins','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','reviewCheckResultsView','status','3828672lfglLA','destroy','showCheckRunResult','setCheckResultTitle','56XmOvPL','20ejBfxo','accepted'];_0x3016=function(){return _0x49231e;};return _0x3016();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x40c0b3=_0x11f5;(function(_0x44ee81,_0x456b9f){var _0x547643=_0x11f5,_0x766e6f=_0x44ee81();while(!![]){try{var _0x19e3cb=-parseInt(_0x547643(0xd0))/0x1*(parseInt(_0x547643(0xd9))/0x2)+-parseInt(_0x547643(0xd5))/0x3*(-parseInt(_0x547643(0xcb))/0x4)+parseInt(_0x547643(0xd4))/0x5+parseInt(_0x547643(0xd3))/0x6*(parseInt(_0x547643(0xc7))/0x7)+-parseInt(_0x547643(0xca))/0x8+-parseInt(_0x547643(0xd2))/0x9*(-parseInt(_0x547643(0xd8))/0xa)+-parseInt(_0x547643(0xd6))/0xb;if(_0x19e3cb===_0x456b9f)break;else _0x766e6f['push'](_0x766e6f['shift']());}catch(_0x25b079){_0x766e6f['push'](_0x766e6f['shift']());}}}(_0x2ad5,0x7da12));import{AIReviewCheckRun as _0xd0b85d}from'./aireviewcheckrun.js';function _0x2ad5(){var _0x4cf67d=['content','subTitle','_createApiRequest','_aiConnector','142ZCLVry','upsertCustomAIReviewRating','1944UDLaXv','6mrmHCM','2882200BcotPe','1739859XctGtG','703560TTGRGp','callCustomReview','14230NPkJcf','9032LiHiwJ','_documentData','_sendRatingRequest','4970434AHJKrU','_prompt','_model','7632104ETMyTT','4mMefbx'];_0x2ad5=function(){return _0x4cf67d;};return _0x2ad5();}function _0x11f5(_0x449776,_0x46d6a8){var _0x2ad596=_0x2ad5();return _0x11f5=function(_0x11f5be,_0x41d390){_0x11f5be=_0x11f5be-0xc6;var _0x3a31e1=_0x2ad596[_0x11f5be];return _0x3a31e1;},_0x11f5(_0x449776,_0x46d6a8);}export class AIReviewCustomCheckRun extends _0xd0b85d{[_0x40c0b3(0xc8)];[_0x40c0b3(0xc9)];constructor(_0x418388,_0x515190,_0x5e1737,_0x4cac12,_0x12f054){var _0x13b003=_0x40c0b3;super(_0x5e1737,_0x4cac12,_0x12f054),this[_0x13b003(0xc8)]=_0x418388,this[_0x13b003(0xc9)]=_0x515190;}get[_0x40c0b3(0xcd)](){var _0x567768=_0x40c0b3;return this[_0x567768(0xc8)];}[_0x40c0b3(0xce)](){var _0xac86da=_0x40c0b3;return this[_0xac86da(0xcf)][_0xac86da(0xd7)]({'content':this[_0xac86da(0xda)][_0xac86da(0xcc)],'prompt':this[_0xac86da(0xc8)],'model':this[_0xac86da(0xc9)]});}[_0x40c0b3(0xc6)](_0x2d572a,_0x594327,_0x110942){var _0x20775d=_0x40c0b3;return this[_0x20775d(0xcf)][_0x20775d(0xd1)](_0x594327,_0x2d572a,_0x110942);}}
23
+ var _0x1d1f8e=_0x3178;function _0x59ba(){var _0x52ffca=['18ptCQek','2126645TNdkpY','264068XwdJTR','212587ardXJT','_prompt','_aiConnector','callCustomReview','6bpFNza','subTitle','_model','upsertCustomAIReviewRating','77fguOUE','_documentData','5141402TkTPXs','content','24MyOZzV','_createApiRequest','1559392YUTpjr','2864590YYTbkB','167820JrEYXu','_sendRatingRequest'];_0x59ba=function(){return _0x52ffca;};return _0x59ba();}(function(_0x48f1a0,_0xedae6a){var _0xd70354=_0x3178,_0x28275d=_0x48f1a0();while(!![]){try{var _0xdfec75=-parseInt(_0xd70354(0xcc))/0x1+-parseInt(_0xd70354(0xc7))/0x2+-parseInt(_0xd70354(0xc3))/0x3*(parseInt(_0xd70354(0xcb))/0x4)+-parseInt(_0xd70354(0xca))/0x5+-parseInt(_0xd70354(0xbb))/0x6*(parseInt(_0xd70354(0xc1))/0x7)+parseInt(_0xd70354(0xc5))/0x8*(parseInt(_0xd70354(0xc9))/0x9)+parseInt(_0xd70354(0xc6))/0xa*(parseInt(_0xd70354(0xbf))/0xb);if(_0xdfec75===_0xedae6a)break;else _0x28275d['push'](_0x28275d['shift']());}catch(_0x2a596c){_0x28275d['push'](_0x28275d['shift']());}}}(_0x59ba,0x643f5));import{AIReviewCheckRun as _0x2de0c6}from'./aireviewcheckrun.js';function _0x3178(_0x3bc3a4,_0x29b385){var _0x59babe=_0x59ba();return _0x3178=function(_0x31787c,_0x2cde96){_0x31787c=_0x31787c-0xba;var _0x2269ae=_0x59babe[_0x31787c];return _0x2269ae;},_0x3178(_0x3bc3a4,_0x29b385);}export class AIReviewCustomCheckRun extends _0x2de0c6{[_0x1d1f8e(0xcd)];[_0x1d1f8e(0xbd)];constructor(_0x20b100,_0x4e16fa,_0x2d5b75,_0x5aa906,_0x499c78){var _0x5eddd9=_0x1d1f8e;super(_0x2d5b75,_0x5aa906,_0x499c78),this[_0x5eddd9(0xcd)]=_0x20b100,this[_0x5eddd9(0xbd)]=_0x4e16fa;}get[_0x1d1f8e(0xbc)](){var _0x11ab12=_0x1d1f8e;return this[_0x11ab12(0xcd)];}[_0x1d1f8e(0xc4)](){var _0x5993a1=_0x1d1f8e;return this[_0x5993a1(0xce)][_0x5993a1(0xba)]({'content':this[_0x5993a1(0xc0)][_0x5993a1(0xc2)],'prompt':this[_0x5993a1(0xcd)],'model':this[_0x5993a1(0xbd)]});}[_0x1d1f8e(0xc8)](_0x465f11,_0xf49719,_0x2cc0c5){var _0x186e31=_0x1d1f8e;return this[_0x186e31(0xce)][_0x186e31(0xbe)](_0xf49719,_0x465f11,_0x2cc0c5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e6ddc=_0x536f;(function(_0x4f82a4,_0x43e64d){const _0xdabcd9=_0x536f,_0x5adfa6=_0x4f82a4();while(!![]){try{const _0x33b54e=-parseInt(_0xdabcd9(0xd9))/0x1*(parseInt(_0xdabcd9(0xc4))/0x2)+parseInt(_0xdabcd9(0xbf))/0x3+parseInt(_0xdabcd9(0xd7))/0x4+parseInt(_0xdabcd9(0xd4))/0x5+-parseInt(_0xdabcd9(0xd6))/0x6+-parseInt(_0xdabcd9(0xcf))/0x7+-parseInt(_0xdabcd9(0xc0))/0x8*(-parseInt(_0xdabcd9(0xd8))/0x9);if(_0x33b54e===_0x43e64d)break;else _0x5adfa6['push'](_0x5adfa6['shift']());}catch(_0x365f8d){_0x5adfa6['push'](_0x5adfa6['shift']());}}}(_0x1dcd,0x8d166));function _0x1dcd(){const _0xc2896a=['callSystemReview','634415CzbSkI','_aiConnector','979458bNmfeF','1676020FLKEtr','7798464VvOeSS','419AoIeiE','length','useArgs','find','1752291BIsUYT','8ZKVXXe','upsertAIReviewRating','_sourceCheck','_createApiRequest','4714AvPMEb','data','join','push','_reviewArgs','_reviewParams','_sendRatingRequest','_documentData','options','label','reviewName','1874327LCLlQc','subTitle','_composeReviewName','content'];_0x1dcd=function(){return _0xc2896a;};return _0x1dcd();}function _0x536f(_0x437b47,_0x3f55db){const _0x1dcd33=_0x1dcd();return _0x536f=function(_0x536ff4,_0x39deaa){_0x536ff4=_0x536ff4-0xbe;let _0x4a6b16=_0x1dcd33[_0x536ff4];return _0x4a6b16;},_0x536f(_0x437b47,_0x3f55db);}import{AIReviewCheckRun as _0x430b7a}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0x430b7a{get[_0x3e6ddc(0xd0)](){const _0x3d0990=_0x3e6ddc;if(!this[_0x3d0990(0xc9)]||0x0===this[_0x3d0990(0xc9)][_0x3d0990(0xda)])return'';const _0x532fdf=[];if(this[_0x3d0990(0xc9)][_0x3d0990(0xda)]>0x0&&this[_0x3d0990(0xc2)][_0x3d0990(0xcc)])for(let _0x59fcac=0x0;_0x59fcac<this[_0x3d0990(0xc9)][_0x3d0990(0xda)];_0x59fcac++){if(!this[_0x3d0990(0xc9)][_0x59fcac]||!this[_0x3d0990(0xc2)][_0x3d0990(0xcc)][_0x59fcac])continue;const _0x507d6e=this[_0x3d0990(0xc2)][_0x3d0990(0xcc)][_0x59fcac],_0x50f40c=_0x507d6e[_0x3d0990(0xc5)]?.[_0x3d0990(0xbe)](_0x110555=>_0x110555['id']===this[_0x3d0990(0xc9)][_0x59fcac]);_0x50f40c&&_0x532fdf[_0x3d0990(0xc7)](_0x50f40c[_0x3d0990(0xcd)]);}return _0x532fdf[_0x3d0990(0xc6)](',\x20');}get[_0x3e6ddc(0xce)](){const _0x3412e8=_0x3e6ddc;return this[_0x3412e8(0xd1)]();}[_0x3e6ddc(0xc3)](){const _0x5ab14c=_0x3e6ddc;return this[_0x5ab14c(0xd5)][_0x5ab14c(0xd3)]({'reviewName':this[_0x5ab14c(0xd1)](),'content':this[_0x5ab14c(0xcb)][_0x5ab14c(0xd2)],'args':this[_0x5ab14c(0xc8)]});}[_0x3e6ddc(0xca)](_0x34267c,_0x148124,_0x45ae76){const _0x4a2c04=_0x3e6ddc;return this[_0x4a2c04(0xd5)][_0x4a2c04(0xc1)](this[_0x4a2c04(0xce)],_0x148124,_0x34267c,_0x45ae76);}[_0x3e6ddc(0xd1)](){const _0x2abcb0=_0x3e6ddc;return!this[_0x2abcb0(0xc9)]||0x0===this[_0x2abcb0(0xc9)][_0x2abcb0(0xda)]||this[_0x2abcb0(0xc2)][_0x2abcb0(0xdb)]?this[_0x2abcb0(0xc2)]['id']:[this[_0x2abcb0(0xc2)]['id'],...this[_0x2abcb0(0xc9)]][_0x2abcb0(0xc6)]('-');}}
23
+ const _0x5aecaf=_0x5dbd;(function(_0x3c13fa,_0x56648f){const _0x2dd9a7=_0x5dbd,_0x52c3d1=_0x3c13fa();while(!![]){try{const _0x537c31=parseInt(_0x2dd9a7(0x18f))/0x1*(parseInt(_0x2dd9a7(0x18e))/0x2)+-parseInt(_0x2dd9a7(0x19e))/0x3+-parseInt(_0x2dd9a7(0x192))/0x4*(parseInt(_0x2dd9a7(0x185))/0x5)+parseInt(_0x2dd9a7(0x19a))/0x6*(-parseInt(_0x2dd9a7(0x193))/0x7)+-parseInt(_0x2dd9a7(0x19b))/0x8*(parseInt(_0x2dd9a7(0x18d))/0x9)+parseInt(_0x2dd9a7(0x186))/0xa+parseInt(_0x2dd9a7(0x187))/0xb;if(_0x537c31===_0x56648f)break;else _0x52c3d1['push'](_0x52c3d1['shift']());}catch(_0x2f7d14){_0x52c3d1['push'](_0x52c3d1['shift']());}}}(_0x564f,0x59ff1));function _0x564f(){const _0x4c9fa1=['_reviewArgs','_createApiRequest','1029003lrLPvO','reviewName','length','_aiConnector','_reviewParams','callSystemReview','_sendRatingRequest','65CLuIsu','1261580ljaqiB','22096294VZnYkc','subTitle','_documentData','label','find','join','6392349YYYKQX','2VQswVx','298325rIbFjf','data','content','183292OBFrgA','7csmNhR','_composeReviewName','options','useArgs','push','upsertAIReviewRating','_sourceCheck','2493906Ljngse','8IFmHkf'];_0x564f=function(){return _0x4c9fa1;};return _0x564f();}import{AIReviewCheckRun as _0x4a4e76}from'./aireviewcheckrun.js';function _0x5dbd(_0x49f588,_0x5e4b11){const _0x564f6b=_0x564f();return _0x5dbd=function(_0x5dbd0c,_0xccb449){_0x5dbd0c=_0x5dbd0c-0x182;let _0x50371b=_0x564f6b[_0x5dbd0c];return _0x50371b;},_0x5dbd(_0x49f588,_0x5e4b11);}export class AIReviewSystemCheckRun extends _0x4a4e76{get[_0x5aecaf(0x188)](){const _0x51504a=_0x5aecaf;if(!this[_0x51504a(0x182)]||0x0===this[_0x51504a(0x182)][_0x51504a(0x1a0)])return'';const _0x5bf961=[];if(this[_0x51504a(0x182)][_0x51504a(0x1a0)]>0x0&&this[_0x51504a(0x199)][_0x51504a(0x195)])for(let _0x3b8b7c=0x0;_0x3b8b7c<this[_0x51504a(0x182)][_0x51504a(0x1a0)];_0x3b8b7c++){if(!this[_0x51504a(0x182)][_0x3b8b7c]||!this[_0x51504a(0x199)][_0x51504a(0x195)][_0x3b8b7c])continue;const _0x59f87e=this[_0x51504a(0x199)][_0x51504a(0x195)][_0x3b8b7c],_0x1951f6=_0x59f87e[_0x51504a(0x190)]?.[_0x51504a(0x18b)](_0x4fc3a2=>_0x4fc3a2['id']===this[_0x51504a(0x182)][_0x3b8b7c]);_0x1951f6&&_0x5bf961[_0x51504a(0x197)](_0x1951f6[_0x51504a(0x18a)]);}return _0x5bf961[_0x51504a(0x18c)](',\x20');}get[_0x5aecaf(0x19f)](){const _0x12822c=_0x5aecaf;return this[_0x12822c(0x194)]();}[_0x5aecaf(0x19d)](){const _0x476ce5=_0x5aecaf;return this[_0x476ce5(0x1a1)][_0x476ce5(0x183)]({'reviewName':this[_0x476ce5(0x194)](),'content':this[_0x476ce5(0x189)][_0x476ce5(0x191)],'args':this[_0x476ce5(0x19c)]});}[_0x5aecaf(0x184)](_0x188e85,_0xc0efe,_0x88f633){const _0x355f53=_0x5aecaf;return this[_0x355f53(0x1a1)][_0x355f53(0x198)](this[_0x355f53(0x19f)],_0xc0efe,_0x188e85,_0x88f633);}[_0x5aecaf(0x194)](){const _0x46447e=_0x5aecaf;return!this[_0x46447e(0x182)]||0x0===this[_0x46447e(0x182)][_0x46447e(0x1a0)]||this[_0x46447e(0x199)][_0x46447e(0x196)]?this[_0x46447e(0x199)]['id']:[this[_0x46447e(0x199)]['id'],...this[_0x46447e(0x182)]][_0x46447e(0x18c)]('-');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x523d(_0x23ffa4,_0x53f69e){const _0x26fd6b=_0x26fd();return _0x523d=function(_0x523de1,_0x4ee91e){_0x523de1=_0x523de1-0x138;let _0x289f5a=_0x26fd6b[_0x523de1];return _0x289f5a;},_0x523d(_0x23ffa4,_0x53f69e);}const _0x4c9708=_0x523d;(function(_0x3d2edc,_0x1b5932){const _0x1140d6=_0x523d,_0x55e1c1=_0x3d2edc();while(!![]){try{const _0x122c75=-parseInt(_0x1140d6(0x16a))/0x1*(-parseInt(_0x1140d6(0x146))/0x2)+-parseInt(_0x1140d6(0x145))/0x3*(parseInt(_0x1140d6(0x18b))/0x4)+parseInt(_0x1140d6(0x152))/0x5+parseInt(_0x1140d6(0x160))/0x6+-parseInt(_0x1140d6(0x18e))/0x7*(-parseInt(_0x1140d6(0x13e))/0x8)+parseInt(_0x1140d6(0x14a))/0x9*(-parseInt(_0x1140d6(0x142))/0xa)+-parseInt(_0x1140d6(0x171))/0xb*(parseInt(_0x1140d6(0x16c))/0xc);if(_0x122c75===_0x1b5932)break;else _0x55e1c1['push'](_0x55e1c1['shift']());}catch(_0x486658){_0x55e1c1['push'](_0x55e1c1['shift']());}}}(_0x26fd,0x5fc56));import{Rect as _0x5173d3,getConstrainedViewportRect as _0x34c7c9,global as _0x3b26ad}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x42669d,View as _0x3c9bcc,clickOutsideHandler as _0x971788}from'ckeditor5/src/ui.js';function _0x26fd(){const _0x424ae8=['_isPinnedRectVisible','top','classList','arrow_se','ck-ai-review-mode__suggestion-text','updateContent','resultResponseView','showDiff','fire','arrow_','showDiffInBalloon','_setupClickOutsideHandler','delegate','unpin','div','innerHTML','_pinnedTargetElement','_setActiveClassOnMarker','forEach','316FQHjZD','clientY','_createContentView','7HjJanO','reverse','_getBestRectPositionOnHover','push','span[data-marker-id*=\x22','element','_getPointedRectIndexFromEvent','ck-ai-review-mode__change_active','_removeActiveClassFromMarkers','4182488brzDjF','showBalloon','pin','isDiffActive','10BpDEGW','document','documentElement','17349xrWsYZ','134GsFZOx','resultItemView','click','getBoundingClientRect','1609371qLKBjR','right','changeId','width','hideDiffInBalloon','isVisible','getIntersection','render','1358000uDBhky','_pinnedRectIndex','locale','content','contentDiffed','ck-content','_pinnedTargetChangeId','extendTemplate','ck-reset','dismissChange','ck-ai-review-mode-balloon-panel-suggestion_diff-active','set','acceptChange','hideBalloon','415848tOTxcW','from','bindTemplate','hover','getClientRects','querySelectorAll','replace','hide','left','deactivateChange','8577rkOMQQ','bottom','4704MbQCWm','_getBestRectPositionOnClick','add','length','position','11517WkTBtd','remove','show','clientX','ck-ai-review-mode-balloon-panel-suggestion','setTemplate','.ck-ai-review-mode__change_active'];_0x26fd=function(){return _0x424ae8;};return _0x26fd();}import{AIReviewModeReviewCheckListItemResultsView as _0xb7e54}from'./aireviewmodechecklistitemresultview.js';import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x42669d{[_0x4c9708(0x147)];[_0x4c9708(0x153)]=void 0x0;[_0x4c9708(0x188)]=void 0x0;[_0x4c9708(0x158)]=void 0x0;constructor(_0x405347,_0x2c0543){const _0x4fbf0b=_0x4c9708;super(_0x405347),this[_0x4fbf0b(0x15d)]({'isVisible':!0x1,'position':_0x4fbf0b(0x17b),'class':null,'top':0x0,'left':0x0}),this[_0x4fbf0b(0x159)]({'tag':_0x4fbf0b(0x186),'attributes':{'class':[_0x4fbf0b(0x15a)],'tabindex':'-1'}}),this[_0x4fbf0b(0x15d)](_0x4fbf0b(0x141),!0x1),this[_0x4fbf0b(0x155)][_0x4fbf0b(0x16e)](this[_0x4fbf0b(0x18d)]()),_0x2c0543[_0x4fbf0b(0x16e)](this);}[_0x4c9708(0x151)](){const _0x4dab7b=_0x4c9708;super[_0x4dab7b(0x151)](),this[_0x4dab7b(0x183)]();}[_0x4c9708(0x17d)](_0x15a796){const _0x44741c=_0x4c9708;this[_0x44741c(0x147)][_0x44741c(0x14c)]=_0x15a796['id'],this[_0x44741c(0x147)][_0x44741c(0x17e)][_0x44741c(0x13a)][_0x44741c(0x187)]=_0x15a796[_0x44741c(0x156)];}[_0x4c9708(0x13f)](_0x40143f,_0x36ed2c,_0x43914c,_0x5283cb,_0x4c488d,_0x594668){const _0x4b4a39=_0x4c9708;this[_0x4b4a39(0x13d)](),this[_0x4b4a39(0x17d)](_0x40143f),this[_0x4b4a39(0x173)]();const _0x6ab895=Array[_0x4b4a39(0x161)](_0x36ed2c[_0x4b4a39(0x164)]())[_0x4b4a39(0x18f)](),_0x5c2e13=this[_0x4b4a39(0x13b)](_0x43914c,_0x6ab895);_0x4b4a39(0x148)===_0x5283cb?(this[_0x4b4a39(0x141)]=!0x0,this[_0x4b4a39(0x189)](_0x40143f['id']),this[_0x4b4a39(0x140)]({'target':()=>this[_0x4b4a39(0x16d)](_0x36ed2c,_0x5c2e13,_0x40143f['id'],_0x4c488d,_0x594668)})):_0x4b4a39(0x163)===_0x5283cb&&(this[_0x4b4a39(0x141)]=!0x1,this[_0x4b4a39(0x140)]({'target':()=>this[_0x4b4a39(0x190)](_0x36ed2c,_0x5c2e13,_0x40143f['id'])}));}[_0x4c9708(0x15f)](){const _0x50f215=_0x4c9708;this[_0x50f215(0x167)](),this[_0x50f215(0x185)](),this[_0x50f215(0x13d)](),this[_0x50f215(0x153)]=void 0x0,this[_0x50f215(0x188)]=void 0x0,this[_0x50f215(0x158)]=void 0x0;}[_0x4c9708(0x14e)](){const _0x2e4e3c=_0x4c9708;this[_0x2e4e3c(0x147)][_0x2e4e3c(0x17f)]=!0x1;}[_0x4c9708(0x182)](){const _0x357048=_0x4c9708;this[_0x357048(0x147)][_0x357048(0x17f)]=!0x0;}[_0x4c9708(0x169)](){const _0x72b7d8=_0x4c9708;this[_0x72b7d8(0x180)](_0x72b7d8(0x169));}[_0x4c9708(0x13d)](){const _0x53815c=_0x4c9708;_0x3b26ad[_0x53815c(0x143)][_0x53815c(0x165)](_0x53815c(0x177))[_0x53815c(0x18a)](_0x5a998f=>{const _0xdb242f=_0x53815c;_0x5a998f[_0xdb242f(0x17a)][_0xdb242f(0x172)](_0xdb242f(0x13c));});}[_0x4c9708(0x189)](_0x300221){const _0x1d4530=_0x4c9708;_0x3b26ad[_0x1d4530(0x143)][_0x1d4530(0x165)](_0x1d4530(0x139)+_0x300221+'\x22]')[_0x1d4530(0x18a)](_0x45475b=>{const _0x3b0640=_0x1d4530;_0x45475b[_0x3b0640(0x17a)][_0x3b0640(0x16e)](_0x3b0640(0x13c));});}[_0x4c9708(0x183)](){const _0x296581=_0x4c9708;_0x971788({'emitter':this,'activator':()=>this[_0x296581(0x14f)],'contextElements':()=>{const _0x356414=_0x296581,_0x949436=[this[_0x356414(0x13a)]];return this[_0x356414(0x188)]&&_0x949436[_0x356414(0x138)](this[_0x356414(0x188)]),_0x949436;},'callback':()=>{const _0x5070c4=_0x296581;this[_0x5070c4(0x167)](),this[_0x5070c4(0x185)](),this[_0x5070c4(0x13d)](),this[_0x5070c4(0x169)](),this[_0x5070c4(0x188)]=void 0x0,this[_0x5070c4(0x153)]=void 0x0,this[_0x5070c4(0x158)]=void 0x0;}});}[_0x4c9708(0x18d)](){const _0x4949b6=_0x4c9708,_0x3151c9=new _0x3c9bcc();return this[_0x4949b6(0x147)]=new _0xb7e54(this[_0x4949b6(0x154)],''),this[_0x4949b6(0x147)][_0x4949b6(0x17e)][_0x4949b6(0x159)]({'attributes':{'class':[_0x4949b6(0x157)]}}),this[_0x4949b6(0x147)][_0x4949b6(0x184)](_0x4949b6(0x15e),_0x4949b6(0x15b))['to'](this),_0x3151c9[_0x4949b6(0x176)]({'tag':_0x4949b6(0x186),'attributes':{'class':[_0x4949b6(0x15a),_0x4949b6(0x175),this[_0x4949b6(0x162)]['if'](_0x4949b6(0x141),_0x4949b6(0x15c))]},'children':[{'tag':'p','attributes':{'class':[_0x4949b6(0x17c)]},'children':[this[_0x4949b6(0x147)]]}]}),_0x3151c9;}[_0x4c9708(0x16d)](_0x59f216,_0x163516,_0x132a3f,_0xe59769,_0x1d7c00){const _0x56f1b1=_0x4c9708,_0x372c6e=this[_0x56f1b1(0x170)][_0x56f1b1(0x166)](_0x56f1b1(0x181),''),_0x7f476b=Array[_0x56f1b1(0x161)](_0x59f216[_0x56f1b1(0x164)]());let _0x29c78a,_0x520f55=_0x7f476b[_0x56f1b1(0x18f)]();return void 0x0!==_0x163516&&this[_0x56f1b1(0x178)](_0x520f55[_0x163516],_0xe59769,_0x1d7c00)?(_0x29c78a=_0x520f55[_0x163516],this[_0x56f1b1(0x153)]=_0x163516):this[_0x56f1b1(0x178)](_0x520f55[0x0],_0xe59769,_0x1d7c00)&&void 0x0===_0x163516?_0x29c78a=_0x520f55[0x0]:(_0x520f55='s'==_0x372c6e[0x0]?[..._0x7f476b][_0x56f1b1(0x18f)]():_0x7f476b,_0x520f55[_0x56f1b1(0x18a)](_0x5329c8=>{const _0xc70c4=_0x56f1b1;this[_0xc70c4(0x178)](_0x5329c8,_0xe59769,_0x1d7c00)&&(_0x29c78a=_0x5329c8);})),this[_0x56f1b1(0x158)]=_0x132a3f,this[_0x56f1b1(0x188)]=_0x59f216,_0x29c78a||_0x59f216[_0x56f1b1(0x149)]();}[_0x4c9708(0x190)](_0x48e318,_0x3c60b1,_0x56282d){const _0x3ce207=_0x4c9708,_0x1b39e1=Array[_0x3ce207(0x161)](_0x48e318[_0x3ce207(0x164)]())[_0x3ce207(0x18f)]();if(void 0x0===this[_0x3ce207(0x153)]&&void 0x0!==_0x3c60b1&&this[_0x3ce207(0x158)]!==_0x56282d)return this[_0x3ce207(0x153)]=_0x3c60b1,this[_0x3ce207(0x188)]=_0x48e318,this[_0x3ce207(0x158)]=_0x56282d,_0x1b39e1[_0x3c60b1];if(void 0x0!==this[_0x3ce207(0x153)]&&this[_0x3ce207(0x158)]===_0x56282d){if(_0x48e318!==this[_0x3ce207(0x188)])return Array[_0x3ce207(0x161)](this[_0x3ce207(0x188)][_0x3ce207(0x164)]())[_0x3ce207(0x18f)]()[this[_0x3ce207(0x153)]];return _0x1b39e1[this[_0x3ce207(0x153)]];}return void 0x0!==_0x3c60b1&&this[_0x3ce207(0x158)]!==_0x56282d?(this[_0x3ce207(0x153)]=_0x3c60b1,this[_0x3ce207(0x188)]=_0x48e318,this[_0x3ce207(0x158)]=_0x56282d,_0x1b39e1[_0x3c60b1]):_0x48e318[_0x3ce207(0x149)]();}[_0x4c9708(0x13b)](_0x1b1fad,_0x4b7330){const _0x3a8d2a=_0x4c9708;if(_0x1b1fad)for(let _0x317298=0x0;_0x317298<_0x4b7330[_0x3a8d2a(0x16f)];_0x317298++){const _0x35b928=_0x4b7330[_0x317298];if(_0x1b1fad[_0x3a8d2a(0x174)]>=_0x35b928[_0x3a8d2a(0x168)]-0x3&&_0x1b1fad[_0x3a8d2a(0x174)]<=_0x35b928[_0x3a8d2a(0x14b)]+0x3&&_0x1b1fad[_0x3a8d2a(0x18c)]>=_0x35b928[_0x3a8d2a(0x179)]-0x3&&_0x1b1fad[_0x3a8d2a(0x18c)]<=_0x35b928[_0x3a8d2a(0x16b)]+0x3)return _0x317298;}}[_0x4c9708(0x178)](_0x518dd8,_0x5eea3,_0x2760c6){const _0x4ad1f8=_0x4c9708,_0x573310=new _0x5173d3(_0x518dd8),_0x2161cb=_0x5eea3||document[_0x4ad1f8(0x144)],_0x26d917=_0x573310[_0x4ad1f8(0x150)](_0x34c7c9(_0x2760c6)),_0x36a7e5=new _0x5173d3(_0x2161cb)[_0x4ad1f8(0x150)](_0x573310);return!!(_0x26d917&&_0x36a7e5&&_0x573310[_0x4ad1f8(0x14d)]>0x0);}}
23
+ const _0x49aa92=_0x4eb7;(function(_0x17df4d,_0x20f2d4){const _0x46cba8=_0x4eb7,_0x311f11=_0x17df4d();while(!![]){try{const _0x239430=parseInt(_0x46cba8(0xb5))/0x1+-parseInt(_0x46cba8(0xed))/0x2*(-parseInt(_0x46cba8(0xe5))/0x3)+-parseInt(_0x46cba8(0xc3))/0x4+parseInt(_0x46cba8(0xd3))/0x5*(-parseInt(_0x46cba8(0xf1))/0x6)+parseInt(_0x46cba8(0xce))/0x7+parseInt(_0x46cba8(0xbb))/0x8+parseInt(_0x46cba8(0xf9))/0x9*(-parseInt(_0x46cba8(0xc9))/0xa);if(_0x239430===_0x20f2d4)break;else _0x311f11['push'](_0x311f11['shift']());}catch(_0x2143f5){_0x311f11['push'](_0x311f11['shift']());}}}(_0x33a3,0xe3591));function _0x33a3(){const _0x52d5ee=['isVisible','span[data-marker-id*=\x22','.ck-ai-review-mode__change_active','acceptChange','setTemplate','655581WvcmqE','arrow_se','_getBestRectPositionOnClick','ck-ai-review-mode-balloon-panel-suggestion','_pinnedRectIndex','contentDiffed','12665096YwzgHM','extendTemplate','right','unpin','ck-content','deactivateChange','ck-ai-review-mode__change_active','dismissChange','5240852EtLZyi','hide','content','classList','querySelectorAll','element','80sNGmWS','click','left','length','innerHTML','9030455TGVSIs','width','show','reverse','delegate','1835UlcDrU','hideBalloon','changeId','getBoundingClientRect','_setupClickOutsideHandler','replace','_getPointedRectIndexFromEvent','render','documentElement','locale','fire','clientX','_getBestRectPositionOnHover','getIntersection','bottom','add','position','hideDiffInBalloon','6717TtwOwN','top','_isPinnedRectVisible','div','set','hover','_createContentView','forEach','1182WpKVRF','document','bindTemplate','ck-reset','11460axlcks','_removeActiveClassFromMarkers','showDiffInBalloon','resultItemView','_setActiveClassOnMarker','clientY','arrow_','_pinnedTargetElement','2148336QbvgoQ','ck-ai-review-mode__suggestion-text','from','updateContent','remove','showDiff','isDiffActive','pin','resultResponseView','getClientRects','_pinnedTargetChangeId','push','showBalloon','ck-ai-review-mode-balloon-panel-suggestion_diff-active'];_0x33a3=function(){return _0x52d5ee;};return _0x33a3();}import{Rect as _0x308dbd,getConstrainedViewportRect as _0x326ff9,global as _0x4afeb9}from'ckeditor5/src/utils.js';function _0x4eb7(_0x4775d7,_0x1dc562){const _0x33a33b=_0x33a3();return _0x4eb7=function(_0x4eb750,_0xedfc79){_0x4eb750=_0x4eb750-0xa6;let _0x970c4a=_0x33a33b[_0x4eb750];return _0x970c4a;},_0x4eb7(_0x4775d7,_0x1dc562);}import{BalloonPanelView as _0x26502a,View as _0x343b20,clickOutsideHandler as _0x16413f}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCheckListItemResultsView as _0xb5a62b}from'./aireviewmodechecklistitemresultview.js';import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x26502a{[_0x49aa92(0xf4)];[_0x49aa92(0xb9)]=void 0x0;[_0x49aa92(0xf8)]=void 0x0;[_0x49aa92(0xac)]=void 0x0;constructor(_0x2cb42a,_0x4f5f3c){const _0x3b3cbf=_0x49aa92;super(_0x2cb42a),this[_0x3b3cbf(0xe9)]({'isVisible':!0x1,'position':_0x3b3cbf(0xb6),'class':null,'top':0x0,'left':0x0}),this[_0x3b3cbf(0xbc)]({'tag':_0x3b3cbf(0xe8),'attributes':{'class':[_0x3b3cbf(0xf0)],'tabindex':'-1'}}),this[_0x3b3cbf(0xe9)](_0x3b3cbf(0xa8),!0x1),this[_0x3b3cbf(0xc5)][_0x3b3cbf(0xe2)](this[_0x3b3cbf(0xeb)]()),_0x4f5f3c[_0x3b3cbf(0xe2)](this);}[_0x49aa92(0xda)](){const _0x25b810=_0x49aa92;super[_0x25b810(0xda)](),this[_0x25b810(0xd7)]();}[_0x49aa92(0xfc)](_0x5246c8){const _0x1bfcca=_0x49aa92;this[_0x1bfcca(0xf4)][_0x1bfcca(0xd5)]=_0x5246c8['id'],this[_0x1bfcca(0xf4)][_0x1bfcca(0xaa)][_0x1bfcca(0xc8)][_0x1bfcca(0xcd)]=_0x5246c8[_0x1bfcca(0xba)];}[_0x49aa92(0xae)](_0x46adcb,_0xd336e9,_0x487909,_0x353717,_0x11fe7b,_0x1bc88a){const _0x18f428=_0x49aa92;this[_0x18f428(0xf2)](),this[_0x18f428(0xfc)](_0x46adcb),this[_0x18f428(0xd0)]();const _0x1029cb=Array[_0x18f428(0xfb)](_0xd336e9[_0x18f428(0xab)]())[_0x18f428(0xd1)](),_0x5a784d=this[_0x18f428(0xd9)](_0x487909,_0x1029cb);_0x18f428(0xca)===_0x353717?(this[_0x18f428(0xa8)]=!0x0,this[_0x18f428(0xf5)](_0x46adcb['id']),this[_0x18f428(0xa9)]({'target':()=>this[_0x18f428(0xb7)](_0xd336e9,_0x5a784d,_0x46adcb['id'],_0x11fe7b,_0x1bc88a)})):_0x18f428(0xea)===_0x353717&&(this[_0x18f428(0xa8)]=!0x1,this[_0x18f428(0xa9)]({'target':()=>this[_0x18f428(0xdf)](_0xd336e9,_0x5a784d,_0x46adcb['id'])}));}[_0x49aa92(0xd4)](){const _0x685a2c=_0x49aa92;this[_0x685a2c(0xc4)](),this[_0x685a2c(0xbe)](),this[_0x685a2c(0xf2)](),this[_0x685a2c(0xb9)]=void 0x0,this[_0x685a2c(0xf8)]=void 0x0,this[_0x685a2c(0xac)]=void 0x0;}[_0x49aa92(0xe4)](){const _0x24b4be=_0x49aa92;this[_0x24b4be(0xf4)][_0x24b4be(0xa7)]=!0x1;}[_0x49aa92(0xf3)](){const _0x201a6a=_0x49aa92;this[_0x201a6a(0xf4)][_0x201a6a(0xa7)]=!0x0;}[_0x49aa92(0xc0)](){const _0x3ca122=_0x49aa92;this[_0x3ca122(0xdd)](_0x3ca122(0xc0));}[_0x49aa92(0xf2)](){const _0x485a62=_0x49aa92;_0x4afeb9[_0x485a62(0xee)][_0x485a62(0xc7)](_0x485a62(0xb2))[_0x485a62(0xec)](_0x7e5980=>{const _0x1bc5aa=_0x485a62;_0x7e5980[_0x1bc5aa(0xc6)][_0x1bc5aa(0xa6)](_0x1bc5aa(0xc1));});}[_0x49aa92(0xf5)](_0x2fb4d2){const _0x4a024b=_0x49aa92;_0x4afeb9[_0x4a024b(0xee)][_0x4a024b(0xc7)](_0x4a024b(0xb1)+_0x2fb4d2+'\x22]')[_0x4a024b(0xec)](_0x4d513f=>{const _0x24bb71=_0x4a024b;_0x4d513f[_0x24bb71(0xc6)][_0x24bb71(0xe2)](_0x24bb71(0xc1));});}[_0x49aa92(0xd7)](){const _0x14d64f=_0x49aa92;_0x16413f({'emitter':this,'activator':()=>this[_0x14d64f(0xb0)],'contextElements':()=>{const _0x26587e=_0x14d64f,_0x2da7c4=[this[_0x26587e(0xc8)]];return this[_0x26587e(0xf8)]&&_0x2da7c4[_0x26587e(0xad)](this[_0x26587e(0xf8)]),_0x2da7c4;},'callback':()=>{const _0x264e5e=_0x14d64f;this[_0x264e5e(0xc4)](),this[_0x264e5e(0xbe)](),this[_0x264e5e(0xf2)](),this[_0x264e5e(0xc0)](),this[_0x264e5e(0xf8)]=void 0x0,this[_0x264e5e(0xb9)]=void 0x0,this[_0x264e5e(0xac)]=void 0x0;}});}[_0x49aa92(0xeb)](){const _0x566533=_0x49aa92,_0x10661e=new _0x343b20();return this[_0x566533(0xf4)]=new _0xb5a62b(this[_0x566533(0xdc)],''),this[_0x566533(0xf4)][_0x566533(0xaa)][_0x566533(0xbc)]({'attributes':{'class':[_0x566533(0xbf)]}}),this[_0x566533(0xf4)][_0x566533(0xd2)](_0x566533(0xb3),_0x566533(0xc2))['to'](this),_0x10661e[_0x566533(0xb4)]({'tag':_0x566533(0xe8),'attributes':{'class':[_0x566533(0xf0),_0x566533(0xb8),this[_0x566533(0xef)]['if'](_0x566533(0xa8),_0x566533(0xaf))]},'children':[{'tag':'p','attributes':{'class':[_0x566533(0xfa)]},'children':[this[_0x566533(0xf4)]]}]}),_0x10661e;}[_0x49aa92(0xb7)](_0x2851fb,_0x2e4863,_0x17a4ac,_0x4ac0bf,_0x4f1de0){const _0x23145e=_0x49aa92,_0x5f367d=this[_0x23145e(0xe3)][_0x23145e(0xd8)](_0x23145e(0xf7),''),_0x5c517c=Array[_0x23145e(0xfb)](_0x2851fb[_0x23145e(0xab)]());let _0x19b851,_0x1866f5=_0x5c517c[_0x23145e(0xd1)]();return void 0x0!==_0x2e4863&&this[_0x23145e(0xe7)](_0x1866f5[_0x2e4863],_0x4ac0bf,_0x4f1de0)?(_0x19b851=_0x1866f5[_0x2e4863],this[_0x23145e(0xb9)]=_0x2e4863):this[_0x23145e(0xe7)](_0x1866f5[0x0],_0x4ac0bf,_0x4f1de0)&&void 0x0===_0x2e4863?_0x19b851=_0x1866f5[0x0]:(_0x1866f5='s'==_0x5f367d[0x0]?[..._0x5c517c][_0x23145e(0xd1)]():_0x5c517c,_0x1866f5[_0x23145e(0xec)](_0xaf2550=>{const _0x1a1ce3=_0x23145e;this[_0x1a1ce3(0xe7)](_0xaf2550,_0x4ac0bf,_0x4f1de0)&&(_0x19b851=_0xaf2550);})),this[_0x23145e(0xac)]=_0x17a4ac,this[_0x23145e(0xf8)]=_0x2851fb,_0x19b851||_0x2851fb[_0x23145e(0xd6)]();}[_0x49aa92(0xdf)](_0x291156,_0x7c9966,_0x2038f3){const _0x12d559=_0x49aa92,_0x3c7af8=Array[_0x12d559(0xfb)](_0x291156[_0x12d559(0xab)]())[_0x12d559(0xd1)]();if(void 0x0===this[_0x12d559(0xb9)]&&void 0x0!==_0x7c9966&&this[_0x12d559(0xac)]!==_0x2038f3)return this[_0x12d559(0xb9)]=_0x7c9966,this[_0x12d559(0xf8)]=_0x291156,this[_0x12d559(0xac)]=_0x2038f3,_0x3c7af8[_0x7c9966];if(void 0x0!==this[_0x12d559(0xb9)]&&this[_0x12d559(0xac)]===_0x2038f3){if(_0x291156!==this[_0x12d559(0xf8)])return Array[_0x12d559(0xfb)](this[_0x12d559(0xf8)][_0x12d559(0xab)]())[_0x12d559(0xd1)]()[this[_0x12d559(0xb9)]];return _0x3c7af8[this[_0x12d559(0xb9)]];}return void 0x0!==_0x7c9966&&this[_0x12d559(0xac)]!==_0x2038f3?(this[_0x12d559(0xb9)]=_0x7c9966,this[_0x12d559(0xf8)]=_0x291156,this[_0x12d559(0xac)]=_0x2038f3,_0x3c7af8[_0x7c9966]):_0x291156[_0x12d559(0xd6)]();}[_0x49aa92(0xd9)](_0x22454d,_0x9a43cf){const _0x4b9fe4=_0x49aa92;if(_0x22454d)for(let _0x1cf7ca=0x0;_0x1cf7ca<_0x9a43cf[_0x4b9fe4(0xcc)];_0x1cf7ca++){const _0x495107=_0x9a43cf[_0x1cf7ca];if(_0x22454d[_0x4b9fe4(0xde)]>=_0x495107[_0x4b9fe4(0xcb)]-0x3&&_0x22454d[_0x4b9fe4(0xde)]<=_0x495107[_0x4b9fe4(0xbd)]+0x3&&_0x22454d[_0x4b9fe4(0xf6)]>=_0x495107[_0x4b9fe4(0xe6)]-0x3&&_0x22454d[_0x4b9fe4(0xf6)]<=_0x495107[_0x4b9fe4(0xe1)]+0x3)return _0x1cf7ca;}}[_0x49aa92(0xe7)](_0x5cdad1,_0xf8b6cb,_0x1beef6){const _0x503977=_0x49aa92,_0x56fef6=new _0x308dbd(_0x5cdad1),_0x432446=_0xf8b6cb||document[_0x503977(0xdb)],_0x2867aa=_0x56fef6[_0x503977(0xe0)](_0x326ff9(_0x1beef6)),_0x149ca7=new _0x308dbd(_0x432446)[_0x503977(0xe0)](_0x56fef6);return!!(_0x2867aa&&_0x149ca7&&_0x56fef6[_0x503977(0xcf)]>0x0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x101d(_0x2ef088,_0x45f430){const _0x1688be=_0x1688();return _0x101d=function(_0x101dde,_0x39962a){_0x101dde=_0x101dde-0xdb;let _0xdfe006=_0x1688be[_0x101dde];return _0xdfe006;},_0x101d(_0x2ef088,_0x45f430);}function _0x1688(){const _0xddc19c=['disabled','ck-ai-review-mode__check-run-result-action-buttons','resultResponseView','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','ck-ai-button-secondary','pending','98790ocUGLt','rejected','setTemplate','_createDismissButtonView','isInfoToggleOn','fire','click','extendTemplate','isEnabled','execute','_createOutdatedButtonView','ck-hidden','637263YBYMyT','setItemAsActive','status','dismissButtonView','showDiff','_createAcceptButtonView','setItemAsInactive','acceptChange','activateChange','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','1314bhuFOG','ck-ai-review-mode__check-run-result-footer','change:status','acceptButtonView','menuitemcheckbox','div','outdated','stopPropagation','accepted','ck-ai-review-mode__check-run-result-dismiss-button','locale','1023844MZlKTh','AI_REVIEW_MODE_LEARN_MORE','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','562120fkFODv','3618237mZpcHG','ck-content','isOn','1322336ztufXk','ck-ai-review-mode__check-run-result-accept-button','AI_REVIEW_MODE_DISMISS_CHANGE','dismissChange','ck-ai-button-tertiary-filled','_createResultResponseView','ck-content-direct-excluded','outdatedButtonView','ck-ai-review-mode__check-run-result-status-button','bind','icon','ck-ai-review-mode__check-run-result-response','infoButtonView','AI_REVIEW_MODE_ACCEPT_CHANGE','isActive','changeId','label','ck-ai-review-mode__check-run-result_active','3025NNnPAP','set','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','ck-ai-review-mode__check-run-result','_createInfoButtonView','bindTemplate'];_0x1688=function(){return _0xddc19c;};return _0x1688();}const _0x358336=_0x101d;(function(_0x276ca2,_0x419dc9){const _0x5ceccb=_0x101d,_0x2b9c5a=_0x276ca2();while(!![]){try{const _0x8d4010=parseInt(_0x5ceccb(0x117))/0x1+-parseInt(_0x5ceccb(0xed))/0x2+parseInt(_0x5ceccb(0x10b))/0x3+-parseInt(_0x5ceccb(0xe6))/0x4+-parseInt(_0x5ceccb(0xff))/0x5*(-parseInt(_0x5ceccb(0xdb))/0x6)+parseInt(_0x5ceccb(0xea))/0x7+-parseInt(_0x5ceccb(0xe9))/0x8;if(_0x8d4010===_0x419dc9)break;else _0x2b9c5a['push'](_0x2b9c5a['shift']());}catch(_0x589035){_0x2b9c5a['push'](_0x2b9c5a['shift']());}}}(_0x1688,0x51199));import{View as _0x495832,ButtonView as _0x2c8b02}from'ckeditor5/src/ui.js';import{IconInfo as _0x2e94fa,IconCheck as _0x34e849,IconCancel as _0x187729,IconOutdated as _0x349a47}from'ckeditor5/src/icons.js';import{getTranslation as _0x15c18f}from'../../aicore/utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x495832{[_0x358336(0x107)];[_0x358336(0xde)];[_0x358336(0x11a)];[_0x358336(0xf9)];[_0x358336(0xf4)];constructor(_0x1c0c82,_0x37c320){const _0x29013f=_0x358336;super(_0x1c0c82),this['id']=_0x37c320,this[_0x29013f(0x100)](_0x29013f(0x119),_0x29013f(0x10a)),this[_0x29013f(0x100)](_0x29013f(0xfc),_0x37c320),this[_0x29013f(0x107)]=this[_0x29013f(0xf2)](),this[_0x29013f(0xde)]=this[_0x29013f(0x11c)](),this[_0x29013f(0x11a)]=this[_0x29013f(0x10e)](),this[_0x29013f(0xf9)]=this[_0x29013f(0x103)](),this[_0x29013f(0xf4)]=this[_0x29013f(0x115)](),this[_0x29013f(0x100)](_0x29013f(0x10f),!0x1),this[_0x29013f(0x100)](_0x29013f(0xfb),!0x1),this[_0x29013f(0x100)](_0x29013f(0x11b),!0x0),this[_0x29013f(0x10d)]({'tag':_0x29013f(0xe0),'attributes':{'class':[_0x29013f(0x102),this[_0x29013f(0x104)]['if'](_0x29013f(0xfb),_0x29013f(0xfe))]},'on':{'click':this[_0x29013f(0x104)]['to'](_0x29013f(0x111))},'children':[this[_0x29013f(0x107)],{'tag':_0x29013f(0xe0),'attributes':{'class':[_0x29013f(0xdc)]},'children':[{'tag':_0x29013f(0xe0),'attributes':{'class':[_0x29013f(0x106)]},'children':[this[_0x29013f(0xde)],this[_0x29013f(0x11a)],this[_0x29013f(0xf4)]]},this[_0x29013f(0xf9)]]}]}),this['on'](_0x29013f(0x111),()=>{const _0x590464=_0x29013f;this[_0x590464(0x110)](_0x590464(0x11f),{'id':_0x37c320,'source':this});});}[_0x358336(0x118)](){const _0x39d979=_0x358336;this[_0x39d979(0xfb)]=!0x0;}[_0x358336(0x11d)](){const _0x4aaf42=_0x358336;this[_0x4aaf42(0xfb)]=!0x1;}[_0x358336(0xf2)](){const _0x5c0401=_0x358336,_0x55ccc6=new _0x495832(this[_0x5c0401(0xe5)]);return _0x55ccc6[_0x5c0401(0x10d)]({'tag':_0x5c0401(0xe0),'attributes':{'class':['ck',_0x5c0401(0xeb),_0x5c0401(0xf3),_0x5c0401(0xf8),this[_0x5c0401(0x104)]['if'](_0x5c0401(0x11b),_0x5c0401(0x116),_0x536a44=>!_0x536a44)]}}),_0x55ccc6;}[_0x358336(0x11c)](){const _0xfd765a=_0x358336,_0x78c21=new _0x2c8b02(this[_0xfd765a(0xe5)]);return _0x78c21[_0xfd765a(0x100)]({'label':_0x15c18f(this[_0xfd765a(0xe5)],_0xfd765a(0xfa)),'withText':!0x0}),_0x78c21[_0xfd765a(0x112)]({'on':{'click':this[_0xfd765a(0x104)]['to'](_0x2eb007=>{const _0x525935=_0xfd765a;this[_0x525935(0x110)](_0x525935(0x11e),{'id':this[_0x525935(0xfc)]}),_0x2eb007[_0x525935(0xe2)]();})},'attributes':{'class':[_0xfd765a(0x109),_0xfd765a(0xee),this[_0xfd765a(0x104)]['if'](_0xfd765a(0x119),_0xfd765a(0x116),_0x510a05=>_0xfd765a(0x10a)!==_0x510a05&&_0xfd765a(0xe3)!==_0x510a05),this[_0xfd765a(0x104)]['if'](_0xfd765a(0x119),_0xfd765a(0xee),_0x15bf7a=>_0xfd765a(0x10a)===_0x15bf7a),this[_0xfd765a(0x104)]['if'](_0xfd765a(0x119),_0xfd765a(0xf5),_0x24bd39=>_0xfd765a(0xe3)===_0x24bd39)]}}),this['on'](_0xfd765a(0xdd),(_0x45797d,_0x591dda,_0x3dfade)=>{const _0x5ea3f7=_0xfd765a;_0x78c21[_0x5ea3f7(0x113)]=!0x1,_0x5ea3f7(0xe3)===_0x3dfade&&(_0x78c21[_0x5ea3f7(0xfd)]=_0x15c18f(this[_0x5ea3f7(0xe5)],_0x5ea3f7(0x101)),_0x78c21[_0x5ea3f7(0xf7)]=_0x34e849);}),_0x78c21;}[_0x358336(0x10e)](){const _0xefaafd=_0x358336,_0x56b6fa=new _0x2c8b02(this[_0xefaafd(0xe5)]);return _0x56b6fa[_0xefaafd(0x100)]({'label':_0x15c18f(this[_0xefaafd(0xe5)],_0xefaafd(0xef)),'withText':!0x0}),_0x56b6fa[_0xefaafd(0x112)]({'on':{'click':this[_0xefaafd(0x104)]['to'](_0x444911=>{const _0x4bf57d=_0xefaafd;this[_0x4bf57d(0x110)](_0x4bf57d(0xf0),{'id':this[_0x4bf57d(0xfc)]}),_0x444911[_0x4bf57d(0xe2)]();})},'attributes':{'class':[_0xefaafd(0xf1),this[_0xefaafd(0x104)]['if'](_0xefaafd(0x119),_0xefaafd(0x116),_0xd2604a=>_0xefaafd(0x10a)!==_0xd2604a&&_0xefaafd(0x10c)!==_0xd2604a),this[_0xefaafd(0x104)]['if'](_0xefaafd(0x119),_0xefaafd(0xe4),_0x250f8b=>_0xefaafd(0x10a)===_0x250f8b),this[_0xefaafd(0x104)]['if'](_0xefaafd(0x119),_0xefaafd(0xf5),_0xd16f47=>_0xefaafd(0x10c)===_0xd16f47)]}}),this['on'](_0xefaafd(0xdd),(_0x5ea381,_0x524460,_0xfa5c96)=>{const _0x1edefd=_0xefaafd;_0x56b6fa[_0x1edefd(0x113)]=!0x1,_0x1edefd(0x10c)===_0xfa5c96&&(_0x56b6fa[_0x1edefd(0xfd)]=_0x15c18f(this[_0x1edefd(0xe5)],_0x1edefd(0x120)),_0x56b6fa[_0x1edefd(0xf7)]=_0x187729);}),_0x56b6fa;}[_0x358336(0x103)](){const _0x18a3a6=_0x358336,_0x3c5db5=new _0x2c8b02(this[_0x18a3a6(0xe5)]);return _0x3c5db5[_0x18a3a6(0x100)]({'label':_0x15c18f(this[_0x18a3a6(0xe5)],_0x18a3a6(0xe7)),'icon':_0x2e94fa,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x18a3a6(0xdf),'class':_0x18a3a6(0xe8)}),_0x3c5db5[_0x18a3a6(0xf6)](_0x18a3a6(0xec))['to'](this,_0x18a3a6(0x10f),_0x574721=>_0x574721),_0x3c5db5['on'](_0x18a3a6(0x114),()=>{const _0x8d008=_0x18a3a6;this[_0x8d008(0x10f)]=!this[_0x8d008(0x10f)];}),_0x3c5db5;}[_0x358336(0x115)](){const _0x5a0ed1=_0x358336,_0x518c98=new _0x2c8b02(this[_0x5a0ed1(0xe5)]);return _0x518c98[_0x5a0ed1(0x100)]({'label':_0x15c18f(this[_0x5a0ed1(0xe5)],_0x5a0ed1(0x108)),'icon':_0x349a47,'withText':!0x0,'isEnabled':!0x1}),_0x518c98[_0x5a0ed1(0x112)]({'attributes':{'class':[_0x5a0ed1(0x109),_0x5a0ed1(0xf5),this[_0x5a0ed1(0x104)]['if'](_0x5a0ed1(0x119),_0x5a0ed1(0x116),_0x2e0d5f=>_0x5a0ed1(0xe1)!==_0x2e0d5f)],'disabled':_0x5a0ed1(0x105)}}),_0x518c98;}}
23
+ const _0x13b296=_0x479b;(function(_0x80e9e3,_0x3e247f){const _0x10597a=_0x479b,_0x2ce9d0=_0x80e9e3();while(!![]){try{const _0x57ff0b=parseInt(_0x10597a(0x1bc))/0x1+parseInt(_0x10597a(0x1b4))/0x2*(parseInt(_0x10597a(0x1b7))/0x3)+parseInt(_0x10597a(0x1b1))/0x4*(parseInt(_0x10597a(0x1c5))/0x5)+parseInt(_0x10597a(0x1e9))/0x6+-parseInt(_0x10597a(0x1c1))/0x7*(-parseInt(_0x10597a(0x1e7))/0x8)+parseInt(_0x10597a(0x1c0))/0x9+parseInt(_0x10597a(0x1c4))/0xa*(-parseInt(_0x10597a(0x1c8))/0xb);if(_0x57ff0b===_0x3e247f)break;else _0x2ce9d0['push'](_0x2ce9d0['shift']());}catch(_0x467251){_0x2ce9d0['push'](_0x2ce9d0['shift']());}}}(_0xec06,0x1bf2e));import{View as _0x52423b,ButtonView as _0xca5dc7}from'ckeditor5/src/ui.js';function _0x479b(_0xe76b0,_0x5efe05){const _0xec06a8=_0xec06();return _0x479b=function(_0x479bde,_0x295c31){_0x479bde=_0x479bde-0x1ab;let _0x2268c5=_0xec06a8[_0x479bde];return _0x2268c5;},_0x479b(_0xe76b0,_0x5efe05);}function _0xec06(){const _0x551ed1=['setItemAsInactive','extendTemplate','isInfoToggleOn','menuitemcheckbox','acceptButtonView','disabled','ck-ai-review-mode__check-run-result-accept-button','isEnabled','ck-content','8ooaqxS','_createInfoButtonView','1119342lVDAMk','_createOutdatedButtonView','ck-ai-button-secondary','change:status','dismissChange','ck-ai-review-mode__check-run-result-footer','div','label','ck-hidden','stopPropagation','resultResponseView','outdatedButtonView','infoButtonView','ck-ai-review-mode__check-run-result-status-button','ck-ai-review-mode__check-run-result-dismiss-button','click','AI_REVIEW_MODE_DISMISS_CHANGE','88Fjpqpo','isOn','setTemplate','2nfjDxo','icon','showDiff','385791qKhBow','bindTemplate','ck-ai-button-tertiary-filled','isActive','ck-ai-review-mode__check-run-result-action-buttons','144890tgjHsh','accepted','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','setItemAsActive','541944BKZHEO','1046948rcveWW','outdated','locale','110mlSTuK','34140rsWKMs','changeId','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','705562mesaWS','execute','status','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','dismissButtonView','pending','_createAcceptButtonView','fire','rejected','AI_REVIEW_MODE_LEARN_MORE','acceptChange','AI_REVIEW_MODE_ACCEPT_CHANGE','_createDismissButtonView','ck-ai-review-mode__check-run-result','ck-ai-review-mode__check-run-result_active','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','ck-ai-review-mode__check-run-result-response','activateChange','set','_createResultResponseView','bind','ck-content-direct-excluded'];_0xec06=function(){return _0x551ed1;};return _0xec06();}import{IconInfo as _0x1ac10f,IconCheck as _0x168478,IconCancel as _0x17efc5,IconOutdated as _0x4ea8dd}from'ckeditor5/src/icons.js';import{getTranslation as _0x12acac}from'../../aicore/utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x52423b{[_0x13b296(0x1f3)];[_0x13b296(0x1e2)];[_0x13b296(0x1cc)];[_0x13b296(0x1ac)];[_0x13b296(0x1ab)];constructor(_0x11d246,_0xf27756){const _0x24501f=_0x13b296;super(_0x11d246),this['id']=_0xf27756,this[_0x24501f(0x1da)](_0x24501f(0x1ca),_0x24501f(0x1cd)),this[_0x24501f(0x1da)](_0x24501f(0x1c6),_0xf27756),this[_0x24501f(0x1f3)]=this[_0x24501f(0x1db)](),this[_0x24501f(0x1e2)]=this[_0x24501f(0x1ce)](),this[_0x24501f(0x1cc)]=this[_0x24501f(0x1d4)](),this[_0x24501f(0x1ac)]=this[_0x24501f(0x1e8)](),this[_0x24501f(0x1ab)]=this[_0x24501f(0x1ea)](),this[_0x24501f(0x1da)](_0x24501f(0x1e0),!0x1),this[_0x24501f(0x1da)](_0x24501f(0x1ba),!0x1),this[_0x24501f(0x1da)](_0x24501f(0x1b6),!0x0),this[_0x24501f(0x1b3)]({'tag':_0x24501f(0x1ef),'attributes':{'class':[_0x24501f(0x1d5),this[_0x24501f(0x1b8)]['if'](_0x24501f(0x1ba),_0x24501f(0x1d6))]},'on':{'click':this[_0x24501f(0x1b8)]['to'](_0x24501f(0x1af))},'children':[this[_0x24501f(0x1f3)],{'tag':_0x24501f(0x1ef),'attributes':{'class':[_0x24501f(0x1ee)]},'children':[{'tag':_0x24501f(0x1ef),'attributes':{'class':[_0x24501f(0x1bb)]},'children':[this[_0x24501f(0x1e2)],this[_0x24501f(0x1cc)],this[_0x24501f(0x1ab)]]},this[_0x24501f(0x1ac)]]}]}),this['on'](_0x24501f(0x1af),()=>{const _0x8c9d3a=_0x24501f;this[_0x8c9d3a(0x1cf)](_0x8c9d3a(0x1d9),{'id':_0xf27756,'source':this});});}[_0x13b296(0x1bf)](){const _0x35af01=_0x13b296;this[_0x35af01(0x1ba)]=!0x0;}[_0x13b296(0x1de)](){const _0x586d7e=_0x13b296;this[_0x586d7e(0x1ba)]=!0x1;}[_0x13b296(0x1db)](){const _0x48e87f=_0x13b296,_0xd8883f=new _0x52423b(this[_0x48e87f(0x1c3)]);return _0xd8883f[_0x48e87f(0x1b3)]({'tag':_0x48e87f(0x1ef),'attributes':{'class':['ck',_0x48e87f(0x1e6),_0x48e87f(0x1dd),_0x48e87f(0x1d8),this[_0x48e87f(0x1b8)]['if'](_0x48e87f(0x1b6),_0x48e87f(0x1f1),_0x3139b5=>!_0x3139b5)]}}),_0xd8883f;}[_0x13b296(0x1ce)](){const _0x4e16e6=_0x13b296,_0x57c387=new _0xca5dc7(this[_0x4e16e6(0x1c3)]);return _0x57c387[_0x4e16e6(0x1da)]({'label':_0x12acac(this[_0x4e16e6(0x1c3)],_0x4e16e6(0x1d3)),'withText':!0x0}),_0x57c387[_0x4e16e6(0x1df)]({'on':{'click':this[_0x4e16e6(0x1b8)]['to'](_0x336cd4=>{const _0x498a5b=_0x4e16e6;this[_0x498a5b(0x1cf)](_0x498a5b(0x1d2),{'id':this[_0x498a5b(0x1c6)]}),_0x336cd4[_0x498a5b(0x1f2)]();})},'attributes':{'class':[_0x4e16e6(0x1eb),_0x4e16e6(0x1e4),this[_0x4e16e6(0x1b8)]['if'](_0x4e16e6(0x1ca),_0x4e16e6(0x1f1),_0x436003=>_0x4e16e6(0x1cd)!==_0x436003&&_0x4e16e6(0x1bd)!==_0x436003),this[_0x4e16e6(0x1b8)]['if'](_0x4e16e6(0x1ca),_0x4e16e6(0x1e4),_0x15d59a=>_0x4e16e6(0x1cd)===_0x15d59a),this[_0x4e16e6(0x1b8)]['if'](_0x4e16e6(0x1ca),_0x4e16e6(0x1ad),_0x1dc00e=>_0x4e16e6(0x1bd)===_0x1dc00e)]}}),this['on'](_0x4e16e6(0x1ec),(_0x332821,_0x3e0ebc,_0x249f3d)=>{const _0x31c723=_0x4e16e6;_0x57c387[_0x31c723(0x1e5)]=!0x1,_0x31c723(0x1bd)===_0x249f3d&&(_0x57c387[_0x31c723(0x1f0)]=_0x12acac(this[_0x31c723(0x1c3)],_0x31c723(0x1d7)),_0x57c387[_0x31c723(0x1b5)]=_0x168478);}),_0x57c387;}[_0x13b296(0x1d4)](){const _0x34d98a=_0x13b296,_0xdfd925=new _0xca5dc7(this[_0x34d98a(0x1c3)]);return _0xdfd925[_0x34d98a(0x1da)]({'label':_0x12acac(this[_0x34d98a(0x1c3)],_0x34d98a(0x1b0)),'withText':!0x0}),_0xdfd925[_0x34d98a(0x1df)]({'on':{'click':this[_0x34d98a(0x1b8)]['to'](_0x235d40=>{const _0x51cdf2=_0x34d98a;this[_0x51cdf2(0x1cf)](_0x51cdf2(0x1ed),{'id':this[_0x51cdf2(0x1c6)]}),_0x235d40[_0x51cdf2(0x1f2)]();})},'attributes':{'class':[_0x34d98a(0x1b9),this[_0x34d98a(0x1b8)]['if'](_0x34d98a(0x1ca),_0x34d98a(0x1f1),_0x4f080d=>_0x34d98a(0x1cd)!==_0x4f080d&&_0x34d98a(0x1d0)!==_0x4f080d),this[_0x34d98a(0x1b8)]['if'](_0x34d98a(0x1ca),_0x34d98a(0x1ae),_0x4a51ed=>_0x34d98a(0x1cd)===_0x4a51ed),this[_0x34d98a(0x1b8)]['if'](_0x34d98a(0x1ca),_0x34d98a(0x1ad),_0x57d812=>_0x34d98a(0x1d0)===_0x57d812)]}}),this['on'](_0x34d98a(0x1ec),(_0x44d2c0,_0x1949e2,_0x58b9cf)=>{const _0x1f0afb=_0x34d98a;_0xdfd925[_0x1f0afb(0x1e5)]=!0x1,_0x1f0afb(0x1d0)===_0x58b9cf&&(_0xdfd925[_0x1f0afb(0x1f0)]=_0x12acac(this[_0x1f0afb(0x1c3)],_0x1f0afb(0x1cb)),_0xdfd925[_0x1f0afb(0x1b5)]=_0x17efc5);}),_0xdfd925;}[_0x13b296(0x1e8)](){const _0x1f1e2e=_0x13b296,_0x33302c=new _0xca5dc7(this[_0x1f1e2e(0x1c3)]);return _0x33302c[_0x1f1e2e(0x1da)]({'label':_0x12acac(this[_0x1f1e2e(0x1c3)],_0x1f1e2e(0x1d1)),'icon':_0x1ac10f,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x1f1e2e(0x1e1),'class':_0x1f1e2e(0x1c7)}),_0x33302c[_0x1f1e2e(0x1dc)](_0x1f1e2e(0x1b2))['to'](this,_0x1f1e2e(0x1e0),_0x830410=>_0x830410),_0x33302c['on'](_0x1f1e2e(0x1c9),()=>{const _0x3a5907=_0x1f1e2e;this[_0x3a5907(0x1e0)]=!this[_0x3a5907(0x1e0)];}),_0x33302c;}[_0x13b296(0x1ea)](){const _0x48989a=_0x13b296,_0x95b93f=new _0xca5dc7(this[_0x48989a(0x1c3)]);return _0x95b93f[_0x48989a(0x1da)]({'label':_0x12acac(this[_0x48989a(0x1c3)],_0x48989a(0x1be)),'icon':_0x4ea8dd,'withText':!0x0,'isEnabled':!0x1}),_0x95b93f[_0x48989a(0x1df)]({'attributes':{'class':[_0x48989a(0x1eb),_0x48989a(0x1ad),this[_0x48989a(0x1b8)]['if'](_0x48989a(0x1ca),_0x48989a(0x1f1),_0x57fb5d=>_0x48989a(0x1c2)!==_0x57fb5d)],'disabled':_0x48989a(0x1e3)}}),_0x95b93f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Collection as _0x2b7528,KeystrokeHandler as _0x4f85a8,FocusTracker as _0x5ee350}from'ckeditor5/src/utils.js';import{View as _0x4329af,ViewCollection as _0x276897,ButtonView as _0x4fad47,FormRowView as _0x36ae3b,createDropdown as _0x31904a,addListToDropdown as _0x5caffb,UIModel as _0x3a7c6d,ButtonLabelView as _0x5dbcef,LabeledFieldView as _0x4dae46,FocusCycler as _0xc6ce24}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x39da27}from'./aireviemodepromptinputview.js';import{getTranslation as _0x429618}from'../../aicore/utils/common-translations.js';export class AIReviewModeCustomCheckView extends _0x4329af{['focusTracker']=new _0x5ee350();['keystrokes']=new _0x4f85a8();['focusCycler'];['_focusables']=new _0x276897();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x125b70,_0x5a24d7){super(_0x125b70),this['_check']=_0x5a24d7,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x5a24d7['models']&&_0x5a24d7['models']['length']>0x0?_0x5a24d7['models'][0x0]['id']:'',this['_defaultLabel']=_0x5a24d7['models']&&_0x5a24d7['models']['length']>0x0?_0x5a24d7['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x4dae46(this['locale'],()=>new _0x39da27(_0x125b70)),this['promptInputView']['fieldView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['fieldView']['on']('input',()=>{this['prompt']=this['promptInputView']['fieldView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x2b7528(),this['_setModelList'](),_0x5caffb(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions']},'children':[new _0x36ae3b(this['locale'],{'children':[this['promptInputView']]}),new _0x36ae3b(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x965c11,_0x2bdc59)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x2bdc59()):_0x2bdc59();}),this['focusCycler']=new _0xc6ce24({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}));}['render'](){super['render'](),([this['promptInputView'],this['_modelSelectionDropdown'],this['cancelButtonView'],this['submitButtonView']]['forEach'](_0x188e6c=>{this['_focusables']['add'](_0x188e6c),this['focusTracker']['add'](_0x188e6c['element']);}),this['keystrokes']['listenTo'](this['element']));}get['modelDefaultValue'](){return this['_defaultValue'];}get['modelDefaultLabel'](){return this['_defaultLabel'];}['resetToDefault'](){this['prompt']='',this['modelId']=this['modelDefaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['modelDefaultLabel'],this['resetFormValidationStatus']();}['resetFormValidationStatus'](){this['promptInputView']['errorText']='';}['_isValid'](){this['resetFormValidationStatus']();for(const _0x17f2ff of this['_getFormValidators']()){const _0x42ba5=_0x17f2ff();if(_0x42ba5)return this['promptInputView']['errorText']=_0x42ba5,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x429618(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0xd1b3a7=new _0x4fad47(this['locale']),t=this['locale']['t'];return _0xd1b3a7['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0xd1b3a7['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0xd1b3a7;}['_createCancelButtonView'](){const _0x1d9a65=new _0x4fad47(this['locale']),t=this['locale']['t'];return _0x1d9a65['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x1d9a65['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x54f13b=>{_0x54f13b['stopPropagation']();})}}),_0x1d9a65['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x1d9a65;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x440c48=this['_check']['models'];if(this['resetToDefault'](),_0x440c48?.['length'])for(const _0x159668 of _0x440c48){const _0x2048f4=new _0x3a7c6d({'label':_0x159668['name'],'withText':!0x0,'role':'menuitemradio','id':_0x159668['id'],'model':_0x159668});_0x2048f4['bind']('isOn')['to'](this,'modelId',_0x27ceef=>_0x27ceef===_0x159668['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x2048f4,'labelView':new Us(this['locale'],_0x159668)});}}['_createModelSelectionDropdown'](){const _0x555976=_0x31904a(this['locale']);return _0x555976['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x555976['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x555976,'execute',_0xe020db=>{this['modelId']=_0xe020db['source']['model']['id'],_0x555976['buttonView']['label']=_0xe020db['source']['label'];}),_0x555976;}['_createActionsFooterView'](){const _0x12a085=new _0x4329af(this['locale']);return _0x12a085['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x12a085;}}class Us extends _0x5dbcef{constructor(_0x20e0aa,_0x3a690f){super();const _0x42c4be=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x42c4be['to']('style'),'id':_0x42c4be['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x42c4be['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x3a690f['description']||'']}]}]});}}
23
+ import{Collection as _0x11b7f7,KeystrokeHandler as _0x3d09f0,FocusTracker as _0x232294}from'ckeditor5/src/utils.js';import{View as _0x5ce15a,ViewCollection as _0x4a1f6d,ButtonView as _0x5ebac2,FormRowView as _0x1d5b96,createDropdown as _0x12b58b,addListToDropdown as _0x277962,UIModel as _0x4f16fb,ButtonLabelView as _0x4ed596,LabeledFieldView as _0x399c0e,FocusCycler as _0x11c23a}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x4a8c86}from'./aireviemodepromptinputview.js';import{getTranslation as _0x94716c}from'../../aicore/utils/common-translations.js';export class AIReviewModeCustomCheckView extends _0x5ce15a{['focusTracker']=new _0x232294();['keystrokes']=new _0x3d09f0();['focusCycler'];['_focusables']=new _0x4a1f6d();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x445129,_0xda487){super(_0x445129),this['_check']=_0xda487,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0xda487['models']&&_0xda487['models']['length']>0x0?_0xda487['models'][0x0]['id']:'',this['_defaultLabel']=_0xda487['models']&&_0xda487['models']['length']>0x0?_0xda487['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x399c0e(this['locale'],()=>new _0x4a8c86(_0x445129)),this['promptInputView']['fieldView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['fieldView']['on']('input',()=>{this['prompt']=this['promptInputView']['fieldView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x11b7f7(),this['_setModelList'](),_0x277962(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions']},'children':[new _0x1d5b96(this['locale'],{'children':[this['promptInputView']]}),new _0x1d5b96(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0xfb4daa,_0x4f72b3)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x4f72b3()):_0x4f72b3();}),this['focusCycler']=new _0x11c23a({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}));}['render'](){super['render'](),([this['promptInputView'],this['_modelSelectionDropdown'],this['cancelButtonView'],this['submitButtonView']]['forEach'](_0xdb1080=>{this['_focusables']['add'](_0xdb1080),this['focusTracker']['add'](_0xdb1080['element']);}),this['keystrokes']['listenTo'](this['element']));}get['modelDefaultValue'](){return this['_defaultValue'];}get['modelDefaultLabel'](){return this['_defaultLabel'];}['resetToDefault'](){this['prompt']='',this['modelId']=this['modelDefaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['modelDefaultLabel'],this['resetFormValidationStatus']();}['resetFormValidationStatus'](){this['promptInputView']['errorText']='';}['_isValid'](){this['resetFormValidationStatus']();for(const _0x53f0e5 of this['_getFormValidators']()){const _0x5f48f7=_0x53f0e5();if(_0x5f48f7)return this['promptInputView']['errorText']=_0x5f48f7,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x94716c(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x54357f=new _0x5ebac2(this['locale']),t=this['locale']['t'];return _0x54357f['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x54357f['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x54357f;}['_createCancelButtonView'](){const _0x4b76e1=new _0x5ebac2(this['locale']),t=this['locale']['t'];return _0x4b76e1['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x4b76e1['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x28ed04=>{_0x28ed04['stopPropagation']();})}}),_0x4b76e1['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x4b76e1;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x17b912=this['_check']['models'];if(this['resetToDefault'](),_0x17b912?.['length'])for(const _0x133ba3 of _0x17b912){const _0x3b10bd=new _0x4f16fb({'label':_0x133ba3['name'],'withText':!0x0,'role':'menuitemradio','id':_0x133ba3['id'],'model':_0x133ba3});_0x3b10bd['bind']('isOn')['to'](this,'modelId',_0x194fac=>_0x194fac===_0x133ba3['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x3b10bd,'labelView':new Js(this['locale'],_0x133ba3)});}}['_createModelSelectionDropdown'](){const _0x4a1ebf=_0x12b58b(this['locale']);return _0x4a1ebf['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x4a1ebf['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x4a1ebf,'execute',_0x2cff52=>{this['modelId']=_0x2cff52['source']['model']['id'],_0x4a1ebf['buttonView']['label']=_0x2cff52['source']['label'];}),_0x4a1ebf;}['_createActionsFooterView'](){const _0x995579=new _0x5ce15a(this['locale']);return _0x995579['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x995579;}}class Js extends _0x4ed596{constructor(_0x23bee0,_0x580005){super();const _0x4470f9=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x4470f9['to']('style'),'id':_0x4470f9['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x4470f9['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x580005['description']||'']}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x38e0(){const _0x569c93=['ck\x20ck-ai-notification\x20ck-ai-notification_error','1038606ZhDUng','ck-ai-review-mode__general-error-container','10dFEprZ','bindTemplate','766708njYTuf','12399417GyYcdm','1821015xPiNHG','3069660KsTdvn','ck-hidden','2VFFXiz','1110648rdJFlE','errorMessage','isVisible','div','15193IToNFe','setTemplate','5TouXnx','set'];_0x38e0=function(){return _0x569c93;};return _0x38e0();}function _0x1724(_0x42dd59,_0x3d225f){const _0x38e06d=_0x38e0();return _0x1724=function(_0x172444,_0x232512){_0x172444=_0x172444-0x1bd;let _0x2109c8=_0x38e06d[_0x172444];return _0x2109c8;},_0x1724(_0x42dd59,_0x3d225f);}(function(_0x34519c,_0x4b0143){const _0x2a5543=_0x1724,_0x5e5401=_0x34519c();while(!![]){try{const _0x3a5e52=-parseInt(_0x2a5543(0x1c2))/0x1*(parseInt(_0x2a5543(0x1bd))/0x2)+-parseInt(_0x2a5543(0x1c7))/0x3+-parseInt(_0x2a5543(0x1cb))/0x4*(-parseInt(_0x2a5543(0x1c4))/0x5)+-parseInt(_0x2a5543(0x1ce))/0x6+-parseInt(_0x2a5543(0x1cd))/0x7+-parseInt(_0x2a5543(0x1be))/0x8+parseInt(_0x2a5543(0x1cc))/0x9*(parseInt(_0x2a5543(0x1c9))/0xa);if(_0x3a5e52===_0x4b0143)break;else _0x5e5401['push'](_0x5e5401['shift']());}catch(_0x5325b4){_0x5e5401['push'](_0x5e5401['shift']());}}}(_0x38e0,0x489c1));import{View as _0x3434f4}from'ckeditor5/src/ui.js';export class AIReviewModeGeneralErrorView extends _0x3434f4{constructor(_0x56ac02){const _0x38aaf8=_0x1724;super(_0x56ac02),this[_0x38aaf8(0x1c5)](_0x38aaf8(0x1c0),!0x1),this[_0x38aaf8(0x1c5)](_0x38aaf8(0x1bf),'');const _0x172b8e=this[_0x38aaf8(0x1ca)];this[_0x38aaf8(0x1c3)]({'tag':_0x38aaf8(0x1c1),'attributes':{'class':['ck',_0x38aaf8(0x1c8),_0x172b8e['if'](_0x38aaf8(0x1c0),_0x38aaf8(0x1cf),_0x2351f3=>!_0x2351f3)]},'children':[{'tag':'p','attributes':{'class':_0x38aaf8(0x1c6)},'children':[{'text':_0x172b8e['to'](_0x38aaf8(0x1bf))}]}]});}}
23
+ function _0x50de(_0x49d8a7,_0x2df6c5){const _0xb8ee9b=_0xb8ee();return _0x50de=function(_0x50de46,_0x9c80b1){_0x50de46=_0x50de46-0x98;let _0x54fc99=_0xb8ee9b[_0x50de46];return _0x54fc99;},_0x50de(_0x49d8a7,_0x2df6c5);}function _0xb8ee(){const _0x4a27d0=['setTemplate','7753050zBeaQb','2433JNblAy','6GkAlRX','3165032GpyJgL','240418PTwaUk','set','267905cVVZWY','531867asFJbd','ck-ai-review-mode__general-error-container','96SCjNVa','18JOsSlB','4688Pxwgao','errorMessage','div','ck\x20ck-ai-notification\x20ck-ai-notification_error','1954667MCkBBW','ck-hidden','1XqffNI','bindTemplate','isVisible'];_0xb8ee=function(){return _0x4a27d0;};return _0xb8ee();}(function(_0x47e92a,_0xfcced4){const _0x4f8561=_0x50de,_0x593d2a=_0x47e92a();while(!![]){try{const _0x5b7483=parseInt(_0x4f8561(0xa7))/0x1*(parseInt(_0x4f8561(0x9a))/0x2)+-parseInt(_0x4f8561(0xac))/0x3*(parseInt(_0x4f8561(0xa1))/0x4)+parseInt(_0x4f8561(0x9c))/0x5*(-parseInt(_0x4f8561(0x98))/0x6)+parseInt(_0x4f8561(0x9d))/0x7+-parseInt(_0x4f8561(0x99))/0x8*(parseInt(_0x4f8561(0xa0))/0x9)+parseInt(_0x4f8561(0xab))/0xa+-parseInt(_0x4f8561(0xa5))/0xb*(-parseInt(_0x4f8561(0x9f))/0xc);if(_0x5b7483===_0xfcced4)break;else _0x593d2a['push'](_0x593d2a['shift']());}catch(_0x470d6d){_0x593d2a['push'](_0x593d2a['shift']());}}}(_0xb8ee,0x91eec));import{View as _0x417797}from'ckeditor5/src/ui.js';export class AIReviewModeGeneralErrorView extends _0x417797{constructor(_0x1e84ef){const _0x2d2ab7=_0x50de;super(_0x1e84ef),this[_0x2d2ab7(0x9b)](_0x2d2ab7(0xa9),!0x1),this[_0x2d2ab7(0x9b)](_0x2d2ab7(0xa2),'');const _0x347350=this[_0x2d2ab7(0xa8)];this[_0x2d2ab7(0xaa)]({'tag':_0x2d2ab7(0xa3),'attributes':{'class':['ck',_0x2d2ab7(0x9e),_0x347350['if'](_0x2d2ab7(0xa9),_0x2d2ab7(0xa6),_0x59f201=>!_0x59f201)]},'children':[{'tag':'p','attributes':{'class':_0x2d2ab7(0xa4)},'children':[{'text':_0x347350['to'](_0x2d2ab7(0xa2))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2106e0=_0x205b;(function(_0x5e7da0,_0x5173b0){const _0x4ccb70=_0x205b,_0x7e3445=_0x5e7da0();while(!![]){try{const _0x53d420=parseInt(_0x4ccb70(0x137))/0x1*(parseInt(_0x4ccb70(0x145))/0x2)+-parseInt(_0x4ccb70(0x134))/0x3*(-parseInt(_0x4ccb70(0x139))/0x4)+parseInt(_0x4ccb70(0x141))/0x5*(parseInt(_0x4ccb70(0x12f))/0x6)+-parseInt(_0x4ccb70(0x13d))/0x7+parseInt(_0x4ccb70(0x136))/0x8*(parseInt(_0x4ccb70(0x133))/0x9)+parseInt(_0x4ccb70(0x132))/0xa*(parseInt(_0x4ccb70(0x13f))/0xb)+-parseInt(_0x4ccb70(0x138))/0xc;if(_0x53d420===_0x5173b0)break;else _0x7e3445['push'](_0x7e3445['shift']());}catch(_0x1d2553){_0x7e3445['push'](_0x7e3445['shift']());}}}(_0x4844,0xefafb));function _0x205b(_0x3d64d1,_0x255865){const _0x48448b=_0x4844();return _0x205b=function(_0x205b3c,_0x28f790){_0x205b3c=_0x205b3c-0x128;let _0x5a2688=_0x48448b[_0x205b3c];return _0x5a2688;},_0x205b(_0x3d64d1,_0x255865);}import{ListItemView as _0x30091e,ViewCollection as _0x3838d0}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCommandListItemView as _0x31cf41}from'./aireviewmodereviewcommandlistitemview.js';function _0x4844(){const _0x3b478d=['330rLDYrs','locale','_checkViews','316790BIbwUU','9BcTSty','6oymhcG','bindTemplate','15680728tDKVmw','576461WrSDsh','48243660LcfVbR','2391456DMHXKw','length','ck-hidden','clear','12240326aSXQjv','setTemplate','627FLDgwQ','add','110245FNoUXb','ck-ai-review-mode__check-list','isVisible','delegate','2jrqhPx','div','hasChecks','entries','setChecks','resetAllParameterizedChecks','runReviewCheck','resetToDefault'];_0x4844=function(){return _0x3b478d;};return _0x4844();}import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0x30091e{[_0x2106e0(0x131)];constructor(_0x440aa3){const _0x1df351=_0x2106e0;super(_0x440aa3),this[_0x1df351(0x131)]=new _0x3838d0();const _0x202d6a=this[_0x1df351(0x135)];this[_0x1df351(0x13e)]({'tag':_0x1df351(0x128),'attributes':{'class':[_0x1df351(0x142),_0x202d6a['if'](_0x1df351(0x143),_0x1df351(0x13b),_0x3aea35=>!_0x3aea35)]},'children':this[_0x1df351(0x131)]});}[_0x2106e0(0x12b)](_0x225644){const _0x58d01a=_0x2106e0;this[_0x58d01a(0x131)][_0x58d01a(0x13c)]();for(const [_0x51a4ae,_0x23f9b5]of _0x225644[_0x58d01a(0x12a)]()){const _0xfc0a1b=new _0x31cf41(this[_0x58d01a(0x130)],_0x23f9b5,_0x51a4ae);_0xfc0a1b[_0x58d01a(0x144)](_0x58d01a(0x12d))['to'](this),this[_0x58d01a(0x131)][_0x58d01a(0x140)](_0xfc0a1b);}}[_0x2106e0(0x129)](){const _0x2e4e8e=_0x2106e0;return this[_0x2e4e8e(0x131)][_0x2e4e8e(0x13a)]>0x0;}[_0x2106e0(0x12c)](){const _0x49e17a=_0x2106e0;for(const _0x1dcad3 of this[_0x49e17a(0x131)])_0x1dcad3 instanceof _0x31cf41&&_0x1dcad3[_0x49e17a(0x12e)]();}}
23
+ const _0x192d05=_0x2904;function _0x14e9(){const _0x566dd9=['hasChecks','isVisible','add','div','length','1366656dcftcV','ck-ai-review-mode__check-list','4888872aSPUKN','16615753DYEUXp','entries','2431854yJjFMQ','runReviewCheck','resetAllParameterizedChecks','setChecks','delegate','6051414XAmzqq','ck-hidden','resetToDefault','clear','5111285bbSkjg','bindTemplate','_checkViews','819189fllZQi','locale','setTemplate'];_0x14e9=function(){return _0x566dd9;};return _0x14e9();}(function(_0x463958,_0x5d1c34){const _0x47b530=_0x2904,_0xa44a1a=_0x463958();while(!![]){try{const _0x221f65=-parseInt(_0x47b530(0x1a3))/0x1+-parseInt(_0x47b530(0x1b0))/0x2+-parseInt(_0x47b530(0x1ab))/0x3+-parseInt(_0x47b530(0x1ad))/0x4+parseInt(_0x47b530(0x1a0))/0x5+parseInt(_0x47b530(0x19c))/0x6+parseInt(_0x47b530(0x1ae))/0x7;if(_0x221f65===_0x5d1c34)break;else _0xa44a1a['push'](_0xa44a1a['shift']());}catch(_0xaa0f4e){_0xa44a1a['push'](_0xa44a1a['shift']());}}}(_0x14e9,0xa8da3));import{ListItemView as _0x494466,ViewCollection as _0x2cd332}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCommandListItemView as _0x46c3a1}from'./aireviewmodereviewcommandlistitemview.js';function _0x2904(_0xf05805,_0x4c8dfa){const _0x14e9a3=_0x14e9();return _0x2904=function(_0x290422,_0x5755c3){_0x290422=_0x290422-0x199;let _0x3b17a2=_0x14e9a3[_0x290422];return _0x3b17a2;},_0x2904(_0xf05805,_0x4c8dfa);}import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0x494466{[_0x192d05(0x1a2)];constructor(_0x2e998a){const _0x293c8f=_0x192d05;super(_0x2e998a),this[_0x293c8f(0x1a2)]=new _0x2cd332();const _0x8af6b5=this[_0x293c8f(0x1a1)];this[_0x293c8f(0x1a5)]({'tag':_0x293c8f(0x1a9),'attributes':{'class':[_0x293c8f(0x1ac),_0x8af6b5['if'](_0x293c8f(0x1a7),_0x293c8f(0x19d),_0x5961bd=>!_0x5961bd)]},'children':this[_0x293c8f(0x1a2)]});}[_0x192d05(0x19a)](_0xf05131){const _0x3bca43=_0x192d05;this[_0x3bca43(0x1a2)][_0x3bca43(0x19f)]();for(const [_0x325e2b,_0x3272d3]of _0xf05131[_0x3bca43(0x1af)]()){const _0x20fa95=new _0x46c3a1(this[_0x3bca43(0x1a4)],_0x3272d3,_0x325e2b);_0x20fa95[_0x3bca43(0x19b)](_0x3bca43(0x1b1))['to'](this),this[_0x3bca43(0x1a2)][_0x3bca43(0x1a8)](_0x20fa95);}}[_0x192d05(0x1a6)](){const _0x50074d=_0x192d05;return this[_0x50074d(0x1a2)][_0x50074d(0x1aa)]>0x0;}[_0x192d05(0x199)](){const _0x4c0511=_0x192d05;for(const _0xae0dac of this[_0x4c0511(0x1a2)])_0xae0dac instanceof _0x46c3a1&&_0xae0dac[_0x4c0511(0x19e)]();}}