@ckeditor/ckeditor5-ai 47.4.0-alpha.5 → 47.4.0-alpha.6

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 (130) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/package.json +15 -15
  4. package/src/aiactions/aiactions.js +1 -1
  5. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  6. package/src/aiactions/model/aiactionsreply.js +1 -1
  7. package/src/aiassistant/adapters/aiadapter.js +1 -1
  8. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  9. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  10. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  11. package/src/aiassistant/aiassistant.js +1 -1
  12. package/src/aiassistant/aiassistantediting.js +1 -1
  13. package/src/aiassistant/aiassistantui.js +1 -1
  14. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  15. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  16. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  17. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  18. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  19. package/src/aiassistant/ui/form/aiformview.js +1 -1
  20. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  21. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  22. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  23. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  24. package/src/aiballoon/aiballoon.js +1 -1
  25. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  26. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  27. package/src/aiballoon/ui/aiballoonview.js +1 -1
  28. package/src/aichat/aichat.js +1 -1
  29. package/src/aichat/aichatcontroller.js +1 -1
  30. package/src/aichat/aichatui.js +1 -1
  31. package/src/aichat/model/aichatcontext.js +1 -1
  32. package/src/aichat/model/aichatconversation.js +1 -1
  33. package/src/aichat/model/aichatinteraction.js +1 -1
  34. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  35. package/src/aichat/ui/aichatfeedview.js +1 -1
  36. package/src/aichat/ui/aichatheaderview.js +1 -1
  37. package/src/aichat/ui/aichatview.js +1 -1
  38. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  39. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  40. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  41. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  42. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  43. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  44. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  45. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  46. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  48. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  49. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  50. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  51. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  56. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  57. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  58. package/src/aichat/utils/promisequeue.js +1 -1
  59. package/src/aichathistory/aichathistory.js +1 -1
  60. package/src/aichathistory/aichathistorycontroller.js +1 -1
  61. package/src/aichathistory/aichathistoryui.js +1 -1
  62. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  63. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  64. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  65. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  66. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  67. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  68. package/src/aicore/aiconnector.js +1 -1
  69. package/src/aicore/aiediting.js +1 -1
  70. package/src/aicore/model/aicapabilities.js +1 -1
  71. package/src/aicore/model/aiinteraction.js +1 -1
  72. package/src/aicore/model/aimodels.js +1 -1
  73. package/src/aicore/model/aireply.js +1 -1
  74. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  75. package/src/aicore/pipeline/airesponseparser.js +2 -2
  76. package/src/aicore/ui/aidisclaimerview.js +1 -1
  77. package/src/aicore/ui/aiskeleton.js +1 -1
  78. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  79. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  80. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  81. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  82. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  83. package/src/aicore/utils/createresizebutton.js +1 -1
  84. package/src/aicore/utils/documentposition.js +1 -1
  85. package/src/aicore/utils/documentrange.js +1 -1
  86. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  87. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  88. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  89. package/src/aicore/utils/htmlparser.js +1 -1
  90. package/src/aicore/utils/htmlstreamer.js +1 -1
  91. package/src/aicore/utils/scrollmanager.js +1 -1
  92. package/src/aieditorintegration/aieditorintegration.js +1 -1
  93. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  94. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  95. package/src/aiquickactions/aiquickactions.js +1 -1
  96. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  97. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  98. package/src/aiquickactions/aiquickactionsui.js +1 -1
  99. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  100. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  101. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  102. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  103. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  104. package/src/aireviewmode/aireviewmode.js +1 -1
  105. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  106. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  107. package/src/aireviewmode/aireviewmodeui.js +1 -1
  108. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  109. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  110. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  111. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  112. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  113. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  114. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  115. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  116. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  117. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  118. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  119. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  120. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  121. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  122. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  123. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  124. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  125. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  126. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  127. package/src/aitabs/aitabs.js +1 -1
  128. package/src/aitabs/tabs/aitabsview.js +1 -1
  129. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  130. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ff95b=_0x3b8e;(function(_0x4c45a3,_0x1fac03){const _0x35f1de=_0x3b8e,_0x5b6265=_0x4c45a3();while(!![]){try{const _0x4faa99=parseInt(_0x35f1de(0xfa))/0x1+parseInt(_0x35f1de(0x10a))/0x2*(-parseInt(_0x35f1de(0x120))/0x3)+-parseInt(_0x35f1de(0x115))/0x4*(parseInt(_0x35f1de(0xfb))/0x5)+-parseInt(_0x35f1de(0x118))/0x6*(parseInt(_0x35f1de(0xd5))/0x7)+-parseInt(_0x35f1de(0xda))/0x8+parseInt(_0x35f1de(0xea))/0x9*(-parseInt(_0x35f1de(0xe4))/0xa)+parseInt(_0x35f1de(0xf4))/0xb;if(_0x4faa99===_0x1fac03)break;else _0x5b6265['push'](_0x5b6265['shift']());}catch(_0x428096){_0x5b6265['push'](_0x5b6265['shift']());}}}(_0x4c62,0x1e50b));import{ContextPlugin as _0x332554}from'ckeditor5/src/core.js';function _0x3b8e(_0xd0431a,_0x3c153e){const _0x4c62fa=_0x4c62();return _0x3b8e=function(_0x3b8e6f,_0x39b992){_0x3b8e6f=_0x3b8e6f-0xd0;let _0xa952f4=_0x4c62fa[_0x3b8e6f];return _0xa952f4;},_0x3b8e(_0xd0431a,_0x3c153e);}import{IconAIReview as _0x4229ae}from'ckeditor5/src/icons.js';import{BodyCollection as _0x43703a}from'ckeditor5/src/ui.js';import{AITabs as _0x207682}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x5b8597}from'./ui/aireviewmodeview.js';import{getTranslation as _0x5a0ef1}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x3d08dc}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x1ff95b(0x11d),_0x1ff95b(0x107),_0x1ff95b(0xd9),_0x1ff95b(0xdd),_0x1ff95b(0xf1),_0x1ff95b(0xde),_0x1ff95b(0xdb),_0x1ff95b(0xd8),_0x1ff95b(0x129),_0x1ff95b(0x12b),_0x1ff95b(0xe2),_0x1ff95b(0x109)];function _0x4c62(){const _0x10600e=['pluginName','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','status','delegate','193823GNqlSh','init','addCheckRunResult','acceptChange','abortReviewStream','1751832TmaVrX','activateChange','setActiveStateInResults','toggleDiff','leaveReviewModeResultList','isOfficialPlugin','_bodyCollection','isPremiumPlugin','finishReview','_reviewModeView','100UHOJBM','reviewCheckListView','rejected','find','showReviewCheckResultsView','showDiffInBalloon','119970hSfUZp','setItemAsInactive','context','element','AIReviewModeUI','setAvailableChecks','locale','acceptAllChanges','destroy','hideChangeBalloon','6104780qMsadL','view','getResults','resetActiveStateInResults','hideActionsWhenResultIsReady','get','167977kyaDDe','45GMKLvi','showGeneralReviewModeErrorView','hideResult','accepted','error-general','hideDiffInBalloon','showChunkErrorView','showCheckRunResults','showActionsWhenResultIsReady','requires','attachToDom','setItemAsActive','runReviewCheck','showResult','retryReview','2mHbIhz','showGeneralResultsErrorView','showReviewCheckList','showReviewCompletedView','showChangeBalloon','reviewMode','_reviewModeBalloonSuggestionItemView','getChangeElement','error-chunk','deactivateChange','fire','50668mgrJTa','AITabs','showReviewCheckListView','6JaHXnq','setChecks','plugins','showCheckRunResult','hideBalloon','getReviewCheckList','addTab','setTitle','314445lilvvk','hasChecks','leaveReviewMode','showBalloon','outdated','setCheckResultTitle','activateTab','forEach','reviewCheckResultsView','dismissChange','AI_REVIEW_MODE','learnMore','detachFromDom','updateChangeState','showNoChangesView'];_0x4c62=function(){return _0x10600e;};return _0x4c62();}export class AIReviewModeUI extends _0x332554{[_0x1ff95b(0xe3)];[_0x1ff95b(0x110)];[_0x1ff95b(0xe0)];static get[_0x1ff95b(0x104)](){return[_0x207682];}static get[_0x1ff95b(0xd1)](){const _0x13a3a0=_0x1ff95b;return _0x13a3a0(0xee);}static get[_0x1ff95b(0xdf)](){return!0x0;}static get[_0x1ff95b(0xe1)](){return!0x0;}constructor(_0xb6478a){const _0x175b02=_0x1ff95b;super(_0xb6478a),this[_0x175b02(0xe0)]=new _0x43703a(this[_0x175b02(0xec)][_0x175b02(0xf0)]),this[_0x175b02(0xe0)][_0x175b02(0x105)](),this[_0x175b02(0xe3)]=new _0x5b8597(this[_0x175b02(0xec)][_0x175b02(0xf0)]),this[_0x175b02(0xe3)][_0x175b02(0xd4)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x175b02(0x110)]=new _0x3d08dc(this[_0x175b02(0xec)][_0x175b02(0xf0)],this[_0x175b02(0xe0)]),this[_0x175b02(0x110)][_0x175b02(0xd4)](_0x175b02(0xd8),_0x175b02(0x129),_0x175b02(0x113))['to'](this);}[_0x1ff95b(0xd6)](){const _0xfab606=_0x1ff95b,_0x458f41=this[_0xfab606(0xec)][_0xfab606(0x11a)][_0xfab606(0xf9)](_0xfab606(0x116));_0x458f41[_0xfab606(0xf5)]['on'](_0xfab606(0x126),(_0x27cf12,_0x2a57ed)=>{const _0x2a1bec=_0xfab606;_0x2a1bec(0x10f)===_0x2a57ed?this[_0x2a1bec(0x114)](_0x2a1bec(0x11d)):this[_0x2a1bec(0x114)](_0x2a1bec(0x122));}),_0x458f41[_0xfab606(0xf5)][_0xfab606(0x11e)]({'id':_0xfab606(0x10f),'buttonLabel':_0x5a0ef1(this[_0xfab606(0xec)][_0xfab606(0xf0)],_0xfab606(0x12a)),'buttonIcon':_0x4229ae,'order':0x0,'content':this[_0xfab606(0xe3)]});}[_0x1ff95b(0xf2)](){const _0x154416=_0x1ff95b;this[_0x154416(0xe0)][_0x154416(0x12c)](),super[_0x154416(0xf2)]();}[_0x1ff95b(0xef)](_0x3c1872){const _0xf14ca8=_0x1ff95b;this[_0xf14ca8(0xe3)][_0xf14ca8(0xe5)][_0xf14ca8(0x121)]()||this[_0xf14ca8(0xe3)][_0xf14ca8(0xe5)][_0xf14ca8(0x119)](_0x3c1872),this[_0xf14ca8(0xe3)][_0xf14ca8(0x117)]();}[_0x1ff95b(0x10c)](){const _0x4e952f=_0x1ff95b;this[_0x4e952f(0x114)](_0x4e952f(0x11d));}[_0x1ff95b(0x102)](_0x6b493){const _0x5c1e19=_0x1ff95b;_0x6b493&&(_0x5c1e19(0xff)!==_0x6b493[_0x5c1e19(0xd3)]?_0x5c1e19(0x112)!==_0x6b493[_0x5c1e19(0xd3)]?this[_0x5c1e19(0xe3)][_0x5c1e19(0xe8)]():this[_0x5c1e19(0x101)]():this[_0x5c1e19(0x10b)]());}[_0x1ff95b(0x11b)](_0xcc0686){const _0x13f3dc=_0x1ff95b;this[_0x13f3dc(0xe3)][_0x13f3dc(0xd7)](_0xcc0686);}[_0x1ff95b(0x10b)](){const _0x3b80c0=_0x1ff95b;this[_0x3b80c0(0xe3)][_0x3b80c0(0x10b)]();}[_0x1ff95b(0xfc)](_0x303f9f){const _0x45424f=_0x1ff95b;this[_0x45424f(0xe3)][_0x45424f(0xfc)](_0x303f9f??_0x5a0ef1(this[_0x45424f(0xec)][_0x45424f(0xf0)],_0x45424f(0xd2)));}[_0x1ff95b(0x101)](){const _0x5e5c2d=_0x1ff95b;this[_0x5e5c2d(0xe3)][_0x5e5c2d(0x101)]();}[_0x1ff95b(0x125)](_0x214207,_0x1d08f1){const _0x54cd9f=_0x1ff95b;this[_0x54cd9f(0xe3)][_0x54cd9f(0x128)][_0x54cd9f(0x11f)](_0x214207,_0x1d08f1);}[_0x1ff95b(0xdc)](_0x5596f0){const _0x8fa8a0=_0x1ff95b;this[_0x8fa8a0(0xe3)][_0x8fa8a0(0x128)][_0x8fa8a0(0xf6)]()[_0x8fa8a0(0x127)](_0xf9d06=>{const _0x43f397=_0x8fa8a0;_0xf9d06['id']===_0x5596f0&&_0xf9d06[_0x43f397(0x106)]();});}[_0x1ff95b(0xf7)](){const _0x4108df=_0x1ff95b;this[_0x4108df(0xe3)][_0x4108df(0x128)][_0x4108df(0xf6)]()[_0x4108df(0x127)](_0x3788f3=>_0x3788f3[_0x4108df(0xeb)]());}[_0x1ff95b(0x12d)](_0x4dd9bd,_0x55f0ed){const _0x419e14=_0x1ff95b;_0x419e14(0xfe)===_0x55f0ed||_0x419e14(0xe6)===_0x55f0ed||_0x419e14(0x124)===_0x55f0ed?this[_0x419e14(0xe3)][_0x419e14(0x128)][_0x419e14(0xfd)](_0x4dd9bd,_0x55f0ed):this[_0x419e14(0xe3)][_0x419e14(0x128)][_0x419e14(0x108)](_0x4dd9bd,_0x55f0ed);}[_0x1ff95b(0x10d)](){const _0x4419a9=_0x1ff95b;this[_0x4419a9(0xe3)][_0x4419a9(0x10d)]();}[_0x1ff95b(0x103)](){const _0x2b3f68=_0x1ff95b;this[_0x2b3f68(0xe3)][_0x2b3f68(0x103)]();}[_0x1ff95b(0xd0)](){const _0x474ee4=_0x1ff95b;this[_0x474ee4(0xe3)][_0x474ee4(0xd0)]();}[_0x1ff95b(0xf8)](){const _0x3552c0=_0x1ff95b;this[_0x3552c0(0xe3)][_0x3552c0(0xf8)]();}[_0x1ff95b(0x10e)](_0x55c556,_0x5d6856,_0x3812d8,_0x372ec1,_0x17e6e8,_0x1008d6){const _0x34f503=_0x1ff95b;this[_0x34f503(0x110)][_0x34f503(0x123)](_0x55c556,_0x5d6856,_0x3812d8,_0x372ec1,_0x17e6e8,_0x1008d6);}[_0x1ff95b(0xf3)](){const _0x318ec8=_0x1ff95b;this[_0x318ec8(0x110)][_0x318ec8(0x11c)]();}[_0x1ff95b(0x100)](){const _0x261ebd=_0x1ff95b;this[_0x261ebd(0x110)][_0x261ebd(0x100)]();}[_0x1ff95b(0xe9)](){const _0x1d0047=_0x1ff95b;this[_0x1d0047(0x110)][_0x1d0047(0xe9)]();}[_0x1ff95b(0x111)](_0x36bed1){const _0x3236af=_0x1ff95b,_0x3730e4=this[_0x3236af(0xe3)][_0x3236af(0x128)][_0x3236af(0xf6)]()[_0x3236af(0xe7)](_0x14d8ff=>_0x14d8ff['id']===_0x36bed1);return _0x3730e4?_0x3730e4[_0x3236af(0xed)]:null;}[_0x1ff95b(0x113)](){const _0x449ad6=_0x1ff95b;this[_0x449ad6(0x110)][_0x449ad6(0x113)]();}}
23
+ const _0x4d99bf=_0x41b5;(function(_0x49a2c3,_0x2b5e52){const _0x8eb70a=_0x41b5,_0x53829=_0x49a2c3();while(!![]){try{const _0x54980a=-parseInt(_0x8eb70a(0x1c9))/0x1+parseInt(_0x8eb70a(0x1e2))/0x2+parseInt(_0x8eb70a(0x1fe))/0x3*(-parseInt(_0x8eb70a(0x20c))/0x4)+parseInt(_0x8eb70a(0x1f3))/0x5+-parseInt(_0x8eb70a(0x1df))/0x6+parseInt(_0x8eb70a(0x201))/0x7*(-parseInt(_0x8eb70a(0x204))/0x8)+parseInt(_0x8eb70a(0x210))/0x9*(parseInt(_0x8eb70a(0x1e4))/0xa);if(_0x54980a===_0x2b5e52)break;else _0x53829['push'](_0x53829['shift']());}catch(_0x2a335b){_0x53829['push'](_0x53829['shift']());}}}(_0x4376,0x4dff7));import{ContextPlugin as _0x46c2ed}from'ckeditor5/src/core.js';function _0x41b5(_0x2317ca,_0xc3b5c7){const _0x43762c=_0x4376();return _0x41b5=function(_0x41b5df,_0x5ae384){_0x41b5df=_0x41b5df-0x1ba;let _0x5e4e61=_0x43762c[_0x41b5df];return _0x5e4e61;},_0x41b5(_0x2317ca,_0xc3b5c7);}import{IconAIReview as _0x4aeb36}from'ckeditor5/src/icons.js';function _0x4376(){const _0x55131e=['570083rXGVxT','setTitle','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','showDiffInBalloon','init','setCheckResultTitle','element','addTab','reviewMode','AIReviewModeUI','_reviewModeBalloonSuggestionItemView','runReviewCheck','context','isOfficialPlugin','getResults','toggleDiff','hideActionsWhenResultIsReady','acceptChange','setItemAsActive','getReviewCheckList','_reviewModeView','reviewCheckListView','1982982UclwgA','showActionsWhenResultIsReady','addCheckRunResult','183552JITOhc','updateChangeState','9954670zCaHBK','get','locale','showChunkErrorView','showResult','isPremiumPlugin','hideBalloon','setAvailableChecks','showGeneralReviewModeErrorView','detachFromDom','acceptAllChanges','setActiveStateInResults','outdated','plugins','_bodyCollection','3139960qSjqzC','destroy','error-general','deactivateChange','resetActiveStateInResults','hideChangeBalloon','pluginName','showCheckRunResults','hideResult','getChangeElement','rejected','93075yYhRtT','learnMore','leaveReviewMode','1081591pJVTJJ','abortReviewStream','showReviewCompletedView','16EiHroF','AITabs','status','requires','attachToDom','showReviewCheckResultsView','hasChecks','showReviewCheckList','24jQCHEY','view','setChecks','showReviewCheckListView','9JgLjbv','reviewCheckResultsView','fire','find','accepted','activateChange','showGeneralResultsErrorView','forEach','showNoChangesView','leaveReviewModeResultList','retryReview','AI_REVIEW_MODE','dismissChange','delegate','showChangeBalloon','error-chunk','setItemAsInactive','hideDiffInBalloon','activateTab','showCheckRunResult','finishReview','showBalloon'];_0x4376=function(){return _0x55131e;};return _0x4376();}import{BodyCollection as _0x3cd79e}from'ckeditor5/src/ui.js';import{AITabs as _0xb34831}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x4694b0}from'./ui/aireviewmodeview.js';import{getTranslation as _0xf71d6b}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x5cdca9}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x4d99bf(0x1dc),_0x4d99bf(0x1d4),_0x4d99bf(0x202),_0x4d99bf(0x1d8),_0x4d99bf(0x1ee),_0x4d99bf(0x1bc),_0x4d99bf(0x215),_0x4d99bf(0x1da),_0x4d99bf(0x1bf),_0x4d99bf(0x1ff),_0x4d99bf(0x1c7),_0x4d99bf(0x1bd)];export class AIReviewModeUI extends _0x46c2ed{[_0x4d99bf(0x1dd)];[_0x4d99bf(0x1d3)];[_0x4d99bf(0x1f2)];static get[_0x4d99bf(0x207)](){return[_0xb34831];}static get[_0x4d99bf(0x1f9)](){const _0x216d4e=_0x4d99bf;return _0x216d4e(0x1d2);}static get[_0x4d99bf(0x1d6)](){return!0x0;}static get[_0x4d99bf(0x1e9)](){return!0x0;}constructor(_0x1531c6){const _0x2890be=_0x4d99bf;super(_0x1531c6),this[_0x2890be(0x1f2)]=new _0x3cd79e(this[_0x2890be(0x1d5)][_0x2890be(0x1e6)]),this[_0x2890be(0x1f2)][_0x2890be(0x208)](),this[_0x2890be(0x1dd)]=new _0x4694b0(this[_0x2890be(0x1d5)][_0x2890be(0x1e6)]),this[_0x2890be(0x1dd)][_0x2890be(0x1c0)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x2890be(0x1d3)]=new _0x5cdca9(this[_0x2890be(0x1d5)][_0x2890be(0x1e6)],this[_0x2890be(0x1f2)]),this[_0x2890be(0x1d3)][_0x2890be(0x1c0)](_0x2890be(0x1da),_0x2890be(0x1bf),_0x2890be(0x1f6))['to'](this);}[_0x4d99bf(0x1cd)](){const _0x8d9003=_0x4d99bf,_0x58faa0=this[_0x8d9003(0x1d5)][_0x8d9003(0x1f1)][_0x8d9003(0x1e5)](_0x8d9003(0x205));_0x58faa0[_0x8d9003(0x20d)]['on'](_0x8d9003(0x1c5),(_0x36bf4c,_0x50cafe)=>{const _0x1481fc=_0x8d9003;_0x1481fc(0x1d1)===_0x50cafe?this[_0x1481fc(0x212)](_0x1481fc(0x1dc)):this[_0x1481fc(0x212)](_0x1481fc(0x200));}),_0x58faa0[_0x8d9003(0x20d)][_0x8d9003(0x1d0)]({'id':_0x8d9003(0x1d1),'buttonLabel':_0xf71d6b(this[_0x8d9003(0x1d5)][_0x8d9003(0x1e6)],_0x8d9003(0x1be)),'buttonIcon':_0x4aeb36,'order':0x0,'content':this[_0x8d9003(0x1dd)]});}[_0x4d99bf(0x1f4)](){const _0x43bbeb=_0x4d99bf;this[_0x43bbeb(0x1f2)][_0x43bbeb(0x1ed)](),super[_0x43bbeb(0x1f4)]();}[_0x4d99bf(0x1eb)](_0x4660be){const _0x18d2df=_0x4d99bf;this[_0x18d2df(0x1dd)][_0x18d2df(0x1de)][_0x18d2df(0x20a)]()||this[_0x18d2df(0x1dd)][_0x18d2df(0x1de)][_0x18d2df(0x20e)](_0x4660be),this[_0x18d2df(0x1dd)][_0x18d2df(0x20f)]();}[_0x4d99bf(0x20b)](){const _0x3171c3=_0x4d99bf;this[_0x3171c3(0x212)](_0x3171c3(0x1dc));}[_0x4d99bf(0x1fa)](_0x2e676c){const _0x262cf2=_0x4d99bf;_0x2e676c&&(_0x262cf2(0x1f5)!==_0x2e676c[_0x262cf2(0x206)]?_0x262cf2(0x1c2)!==_0x2e676c[_0x262cf2(0x206)]?this[_0x262cf2(0x1dd)][_0x262cf2(0x209)]():this[_0x262cf2(0x1e7)]():this[_0x262cf2(0x216)]());}[_0x4d99bf(0x1c6)](_0x2c068e){const _0x34fb37=_0x4d99bf;this[_0x34fb37(0x1dd)][_0x34fb37(0x1e1)](_0x2c068e);}[_0x4d99bf(0x216)](){const _0x4218d8=_0x4d99bf;this[_0x4218d8(0x1dd)][_0x4218d8(0x216)]();}[_0x4d99bf(0x1ec)](_0x7975d9){const _0x799f81=_0x4d99bf;this[_0x799f81(0x1dd)][_0x799f81(0x1ec)](_0x7975d9??_0xf71d6b(this[_0x799f81(0x1d5)][_0x799f81(0x1e6)],_0x799f81(0x1cb)));}[_0x4d99bf(0x1e7)](){const _0x5738e1=_0x4d99bf;this[_0x5738e1(0x1dd)][_0x5738e1(0x1e7)]();}[_0x4d99bf(0x1ce)](_0xa24ae0,_0x3726d7){const _0x4c253a=_0x4d99bf;this[_0x4c253a(0x1dd)][_0x4c253a(0x211)][_0x4c253a(0x1ca)](_0xa24ae0,_0x3726d7);}[_0x4d99bf(0x1ef)](_0x298650){const _0x595fd8=_0x4d99bf;this[_0x595fd8(0x1dd)][_0x595fd8(0x211)][_0x595fd8(0x1d7)]()[_0x595fd8(0x1ba)](_0x31acce=>{const _0x3f3b6f=_0x595fd8;_0x31acce['id']===_0x298650&&_0x31acce[_0x3f3b6f(0x1db)]();});}[_0x4d99bf(0x1f7)](){const _0x57e0e5=_0x4d99bf;this[_0x57e0e5(0x1dd)][_0x57e0e5(0x211)][_0x57e0e5(0x1d7)]()[_0x57e0e5(0x1ba)](_0x496b29=>_0x496b29[_0x57e0e5(0x1c3)]());}[_0x4d99bf(0x1e3)](_0x2db3b7,_0x19c8f9){const _0x15fa95=_0x4d99bf;_0x15fa95(0x214)===_0x19c8f9||_0x15fa95(0x1fd)===_0x19c8f9||_0x15fa95(0x1f0)===_0x19c8f9?this[_0x15fa95(0x1dd)][_0x15fa95(0x211)][_0x15fa95(0x1fb)](_0x2db3b7,_0x19c8f9):this[_0x15fa95(0x1dd)][_0x15fa95(0x211)][_0x15fa95(0x1e8)](_0x2db3b7,_0x19c8f9);}[_0x4d99bf(0x203)](){const _0x363d66=_0x4d99bf;this[_0x363d66(0x1dd)][_0x363d66(0x203)]();}[_0x4d99bf(0x1e0)](){const _0x1a7f8f=_0x4d99bf;this[_0x1a7f8f(0x1dd)][_0x1a7f8f(0x1e0)]();}[_0x4d99bf(0x1bb)](){const _0x2a4492=_0x4d99bf;this[_0x2a4492(0x1dd)][_0x2a4492(0x1bb)]();}[_0x4d99bf(0x1d9)](){const _0x9f5012=_0x4d99bf;this[_0x9f5012(0x1dd)][_0x9f5012(0x1d9)]();}[_0x4d99bf(0x1c1)](_0x7dd48e,_0x125db6,_0x55bf38,_0x30870f,_0xd5b3a5,_0x4f8f4f){const _0x1edd7a=_0x4d99bf;this[_0x1edd7a(0x1d3)][_0x1edd7a(0x1c8)](_0x7dd48e,_0x125db6,_0x55bf38,_0x30870f,_0xd5b3a5,_0x4f8f4f);}[_0x4d99bf(0x1f8)](){const _0x55c148=_0x4d99bf;this[_0x55c148(0x1d3)][_0x55c148(0x1ea)]();}[_0x4d99bf(0x1c4)](){const _0x4b4083=_0x4d99bf;this[_0x4b4083(0x1d3)][_0x4b4083(0x1c4)]();}[_0x4d99bf(0x1cc)](){const _0x5dad37=_0x4d99bf;this[_0x5dad37(0x1d3)][_0x5dad37(0x1cc)]();}[_0x4d99bf(0x1fc)](_0x363c89){const _0x2e51a3=_0x4d99bf,_0x469fce=this[_0x2e51a3(0x1dd)][_0x2e51a3(0x211)][_0x2e51a3(0x1d7)]()[_0x2e51a3(0x213)](_0x2cdee0=>_0x2cdee0['id']===_0x363c89);return _0x469fce?_0x469fce[_0x2e51a3(0x1cf)]:null;}[_0x4d99bf(0x1f6)](){const _0x57a764=_0x4d99bf;this[_0x57a764(0x1d3)][_0x57a764(0x1f6)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x50be(){var _0x1ea0fa=['4901031vRBxJl','454893YqGgUt','models','160ESCoBl','9107840rlEvdu','263599lYDTys','135595dndQom','275957VDJWLt','60ZoXeQK','904332ARPfqD','68NPaYND','6vxzpmS','_models'];_0x50be=function(){return _0x1ea0fa;};return _0x50be();}var _0x1123a0=_0x22d1;function _0x22d1(_0x56e3c8,_0x304159){var _0x50beeb=_0x50be();return _0x22d1=function(_0x22d15d,_0x5e2e0e){_0x22d15d=_0x22d15d-0x80;var _0x527d7d=_0x50beeb[_0x22d15d];return _0x527d7d;},_0x22d1(_0x56e3c8,_0x304159);}(function(_0x15d000,_0x4ff579){var _0x2fdaa3=_0x22d1,_0x497d02=_0x15d000();while(!![]){try{var _0x413192=parseInt(_0x2fdaa3(0x87))/0x1+parseInt(_0x2fdaa3(0x89))/0x2*(parseInt(_0x2fdaa3(0x8c))/0x3)+-parseInt(_0x2fdaa3(0x88))/0x4*(-parseInt(_0x2fdaa3(0x84))/0x5)+-parseInt(_0x2fdaa3(0x86))/0x6*(-parseInt(_0x2fdaa3(0x83))/0x7)+-parseInt(_0x2fdaa3(0x82))/0x8+-parseInt(_0x2fdaa3(0x8b))/0x9+-parseInt(_0x2fdaa3(0x81))/0xa*(-parseInt(_0x2fdaa3(0x85))/0xb);if(_0x413192===_0x4ff579)break;else _0x497d02['push'](_0x497d02['shift']());}catch(_0x4a498f){_0x497d02['push'](_0x497d02['shift']());}}}(_0x50be,0xdf6e3));import{AIReviewCheck as _0x1a0fe2}from'./aireviewcheck.js';export class AIReviewCheckCustom extends _0x1a0fe2{[_0x1123a0(0x8a)]=[];get[_0x1123a0(0x80)](){var _0x312151=_0x1123a0;return this[_0x312151(0x8a)];}set[_0x1123a0(0x80)](_0x23dd64){var _0x317099=_0x1123a0;this[_0x317099(0x8a)]=_0x23dd64;}}
23
+ var _0x166aad=_0x57d5;function _0x1711(){var _0x52a6d6=['39Bvrhrk','264dQAwyL','451565fAZijc','7131114HuzTXW','589776OEfYvC','_models','102039FIVIMa','models','2417680WjmjVc','8HXEEni','204236SuskFg','32165420CXFhSw'];_0x1711=function(){return _0x52a6d6;};return _0x1711();}(function(_0x134cbb,_0x4fa1e9){var _0x4ba519=_0x57d5,_0x1dec30=_0x134cbb();while(!![]){try{var _0x4e0c42=-parseInt(_0x4ba519(0x1a7))/0x1+parseInt(_0x4ba519(0x1a9))/0x2+-parseInt(_0x4ba519(0x1a5))/0x3*(parseInt(_0x4ba519(0x1af))/0x4)+-parseInt(_0x4ba519(0x1ad))/0x5+parseInt(_0x4ba519(0x1a6))/0x6*(-parseInt(_0x4ba519(0x1ab))/0x7)+parseInt(_0x4ba519(0x1ae))/0x8*(-parseInt(_0x4ba519(0x1a8))/0x9)+parseInt(_0x4ba519(0x1b0))/0xa;if(_0x4e0c42===_0x4fa1e9)break;else _0x1dec30['push'](_0x1dec30['shift']());}catch(_0x14bd4f){_0x1dec30['push'](_0x1dec30['shift']());}}}(_0x1711,0x74e6c));function _0x57d5(_0x56ba88,_0x5a7bb7){var _0x1711f2=_0x1711();return _0x57d5=function(_0x57d52a,_0x9214b){_0x57d52a=_0x57d52a-0x1a5;var _0x422ffe=_0x1711f2[_0x57d52a];return _0x422ffe;},_0x57d5(_0x56ba88,_0x5a7bb7);}import{AIReviewCheck as _0x1163a8}from'./aireviewcheck.js';export class AIReviewCheckCustom extends _0x1163a8{[_0x166aad(0x1aa)]=[];get[_0x166aad(0x1ac)](){var _0x29252c=_0x166aad;return this[_0x29252c(0x1aa)];}set[_0x166aad(0x1ac)](_0x36086f){var _0x2990bf=_0x166aad;this[_0x2990bf(0x1aa)]=_0x36086f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x9c8cb6=_0x3b6f;(function(_0x17b98d,_0x4624db){var _0x1dd4b5=_0x3b6f,_0x33c9ed=_0x17b98d();while(!![]){try{var _0x417aa3=-parseInt(_0x1dd4b5(0x1e3))/0x1*(-parseInt(_0x1dd4b5(0x1d6))/0x2)+-parseInt(_0x1dd4b5(0x1e5))/0x3+parseInt(_0x1dd4b5(0x1de))/0x4+-parseInt(_0x1dd4b5(0x1da))/0x5+parseInt(_0x1dd4b5(0x1e1))/0x6+-parseInt(_0x1dd4b5(0x1dc))/0x7*(-parseInt(_0x1dd4b5(0x1e6))/0x8)+parseInt(_0x1dd4b5(0x1e2))/0x9*(-parseInt(_0x1dd4b5(0x1e0))/0xa);if(_0x417aa3===_0x4624db)break;else _0x33c9ed['push'](_0x33c9ed['shift']());}catch(_0x2cdb52){_0x33c9ed['push'](_0x33c9ed['shift']());}}}(_0x12b7,0x9185b));function _0x3b6f(_0x18e9b9,_0x533acc){var _0x12b74d=_0x12b7();return _0x3b6f=function(_0x3b6f24,_0x1c687e){_0x3b6f24=_0x3b6f24-0x1d5;var _0x414b86=_0x12b74d[_0x3b6f24];return _0x414b86;},_0x3b6f(_0x18e9b9,_0x533acc);}import{ObservableMixin as _0xaafa4d}from'ckeditor5/src/utils.js';function _0x12b7(){var _0x26611b=['386410VJyQUQ','6827076gbSpdT','45RJXIbG','199iGYzpg','removeCheckById','3439536vkDDpM','977728Opqmiy','filter','custom','7062dvMcll','map','_checks','checks','3642170JvJuOE','find','35IlknRG','getCheckById','850460gppNtm','_mapCheckDefinitions'];_0x12b7=function(){return _0x26611b;};return _0x12b7();}import{AIReviewCheck as _0x421e7d}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x4fc0f1}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0xaafa4d(){[_0x9c8cb6(0x1d8)];constructor(_0x37dbc5){var _0x214337=_0x9c8cb6;super(),this[_0x214337(0x1d8)]=this[_0x214337(0x1df)](_0x37dbc5);}get[_0x9c8cb6(0x1d9)](){var _0x42e862=_0x9c8cb6;return this[_0x42e862(0x1d8)];}[_0x9c8cb6(0x1dd)](_0x456207){var _0x180e52=_0x9c8cb6;return this[_0x180e52(0x1d9)][_0x180e52(0x1db)](_0x1f8939=>_0x1f8939['id']===_0x456207);}[_0x9c8cb6(0x1e4)](_0x49be3f){var _0x14ae36=_0x9c8cb6;this[_0x14ae36(0x1d8)]=this[_0x14ae36(0x1d8)][_0x14ae36(0x1e7)](_0x2c642e=>_0x2c642e['id']!==_0x49be3f);}[_0x9c8cb6(0x1df)](_0x17bf22){var _0x3ae781=_0x9c8cb6;return _0x17bf22[_0x3ae781(0x1d7)](_0x13552c=>_0x3ae781(0x1d5)===_0x13552c['id']?new _0x4fc0f1(_0x13552c):new _0x421e7d(_0x13552c));}}
23
+ function _0x5bc8(_0x5291a9,_0x291be0){var _0x5c983f=_0x5c98();return _0x5bc8=function(_0x5bc8c9,_0x1fc74a){_0x5bc8c9=_0x5bc8c9-0x1ae;var _0x2fb0b2=_0x5c983f[_0x5bc8c9];return _0x2fb0b2;},_0x5bc8(_0x5291a9,_0x291be0);}var _0x129431=_0x5bc8;function _0x5c98(){var _0x1b2b1a=['10343259aGitLx','3017664PUqVWD','_mapCheckDefinitions','getCheckById','_checks','filter','removeCheckById','4710608BkfWdP','12817qNqOIp','3593170QLRAAT','checks','10iblQIb','6199eeXgoG','find','1069290VeywUO','custom','map','68IjjgiW','24awkhkB'];_0x5c98=function(){return _0x1b2b1a;};return _0x5c98();}(function(_0x433ca2,_0x468f18){var _0xfcc7bb=_0x5bc8,_0x114532=_0x433ca2();while(!![]){try{var _0x1b6c9c=parseInt(_0xfcc7bb(0x1bf))/0x1*(parseInt(_0xfcc7bb(0x1b1))/0x2)+-parseInt(_0xfcc7bb(0x1ae))/0x3+-parseInt(_0xfcc7bb(0x1b4))/0x4+parseInt(_0xfcc7bb(0x1bc))/0x5+-parseInt(_0xfcc7bb(0x1b2))/0x6*(-parseInt(_0xfcc7bb(0x1bb))/0x7)+-parseInt(_0xfcc7bb(0x1ba))/0x8+parseInt(_0xfcc7bb(0x1b3))/0x9*(parseInt(_0xfcc7bb(0x1be))/0xa);if(_0x1b6c9c===_0x468f18)break;else _0x114532['push'](_0x114532['shift']());}catch(_0x3cf617){_0x114532['push'](_0x114532['shift']());}}}(_0x5c98,0x5e4ff));import{ObservableMixin as _0x2b491a}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x86d025}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x19469b}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x2b491a(){[_0x129431(0x1b7)];constructor(_0x52ca49){var _0xe3720e=_0x129431;super(),this[_0xe3720e(0x1b7)]=this[_0xe3720e(0x1b5)](_0x52ca49);}get[_0x129431(0x1bd)](){var _0x3148cc=_0x129431;return this[_0x3148cc(0x1b7)];}[_0x129431(0x1b6)](_0xad36da){var _0x311962=_0x129431;return this[_0x311962(0x1bd)][_0x311962(0x1c0)](_0xa3c89=>_0xa3c89['id']===_0xad36da);}[_0x129431(0x1b9)](_0x36bb0b){var _0x33363e=_0x129431;this[_0x33363e(0x1b7)]=this[_0x33363e(0x1b7)][_0x33363e(0x1b8)](_0x9c94fe=>_0x9c94fe['id']!==_0x36bb0b);}[_0x129431(0x1b5)](_0x17d2cb){var _0xeacaf4=_0x129431;return _0x17d2cb[_0xeacaf4(0x1b0)](_0x58df41=>_0xeacaf4(0x1af)===_0x58df41['id']?new _0x19469b(_0x58df41):new _0x86d025(_0x58df41));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x12f1fe=_0xe68b;(function(_0x158a15,_0x575090){var _0x397f8a=_0xe68b,_0x208880=_0x158a15();while(!![]){try{var _0x2a574f=-parseInt(_0x397f8a(0xe7))/0x1+parseInt(_0x397f8a(0xe8))/0x2*(-parseInt(_0x397f8a(0xe9))/0x3)+-parseInt(_0x397f8a(0xee))/0x4*(-parseInt(_0x397f8a(0xe2))/0x5)+-parseInt(_0x397f8a(0xec))/0x6+-parseInt(_0x397f8a(0xe3))/0x7*(parseInt(_0x397f8a(0xed))/0x8)+-parseInt(_0x397f8a(0xe4))/0x9+parseInt(_0x397f8a(0xea))/0xa;if(_0x2a574f===_0x575090)break;else _0x208880['push'](_0x208880['shift']());}catch(_0x1aac28){_0x208880['push'](_0x208880['shift']());}}}(_0x3855,0xa03cb));import{EmitterMixin as _0x43c489}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x43c489(){['id'];[_0x12f1fe(0xeb)];[_0x12f1fe(0xe6)];[_0x12f1fe(0xe5)];constructor({id:_0x4ca4c0,contentNew:_0x2b4898,contentInitial:_0x50aa7f,documentVersion:_0x4918b0}){var _0x5356cc=_0x12f1fe;super(),this['id']=_0x4ca4c0,this[_0x5356cc(0xeb)]=_0x2b4898,this[_0x5356cc(0xe6)]=_0x50aa7f,this[_0x5356cc(0xe5)]=_0x4918b0;}}function _0xe68b(_0x2d342a,_0x3d3f1b){var _0x385507=_0x3855();return _0xe68b=function(_0xe68b32,_0x18687f){_0xe68b32=_0xe68b32-0xe2;var _0x3fb057=_0x385507[_0xe68b32];return _0x3fb057;},_0xe68b(_0x2d342a,_0x3d3f1b);}function _0x3855(){var _0x5894ec=['contentInitial','185359VjdzGv','1186PUsfKI','870YuAZvg','23163420oTTdNf','contentNew','2406396qvdAhx','41392eaRxZn','28dvXvxh','258475pPkCQc','1589qPlrhe','800847AFglof','documentVersion'];_0x3855=function(){return _0x5894ec;};return _0x3855();}
23
+ function _0x1955(_0x357ec0,_0x3903d6){var _0x6d2e45=_0x6d2e();return _0x1955=function(_0x19556c,_0x1b368c){_0x19556c=_0x19556c-0x11d;var _0x46384d=_0x6d2e45[_0x19556c];return _0x46384d;},_0x1955(_0x357ec0,_0x3903d6);}var _0xbf5532=_0x1955;(function(_0x31682e,_0x41897c){var _0xb3d887=_0x1955,_0x3470ec=_0x31682e();while(!![]){try{var _0x1a6dc3=parseInt(_0xb3d887(0x124))/0x1*(-parseInt(_0xb3d887(0x121))/0x2)+parseInt(_0xb3d887(0x122))/0x3+parseInt(_0xb3d887(0x11d))/0x4+parseInt(_0xb3d887(0x11e))/0x5+parseInt(_0xb3d887(0x120))/0x6*(-parseInt(_0xb3d887(0x126))/0x7)+parseInt(_0xb3d887(0x125))/0x8+parseInt(_0xb3d887(0x11f))/0x9;if(_0x1a6dc3===_0x41897c)break;else _0x3470ec['push'](_0x3470ec['shift']());}catch(_0x321e1c){_0x3470ec['push'](_0x3470ec['shift']());}}}(_0x6d2e,0x1f9d3));import{EmitterMixin as _0x4be012}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x4be012(){['id'];[_0xbf5532(0x128)];[_0xbf5532(0x123)];[_0xbf5532(0x127)];constructor({id:_0x33b3ba,contentNew:_0x28e4a0,contentInitial:_0x5a09dd,documentVersion:_0x43b922}){var _0x243719=_0xbf5532;super(),this['id']=_0x33b3ba,this[_0x243719(0x128)]=_0x28e4a0,this[_0x243719(0x123)]=_0x5a09dd,this[_0x243719(0x127)]=_0x43b922;}}function _0x6d2e(){var _0x2a8d6b=['700353osuTLs','366906DsCdJv','58754nxdqAg','222618ZXFaak','contentInitial','7gkSMvs','206160RyuaZV','7YTzPck','documentVersion','contentNew','384164btuqEQ','612235aIvFBw'];_0x6d2e=function(){return _0x2a8d6b;};return _0x6d2e();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16da33=_0x3e31;(function(_0x35bd3d,_0x451bdd){const _0xc0326e=_0x3e31,_0x316779=_0x35bd3d();while(!![]){try{const _0x467bc4=-parseInt(_0xc0326e(0x16e))/0x1+-parseInt(_0xc0326e(0x187))/0x2+-parseInt(_0xc0326e(0x161))/0x3*(-parseInt(_0xc0326e(0x17e))/0x4)+-parseInt(_0xc0326e(0x152))/0x5+parseInt(_0xc0326e(0x16d))/0x6*(-parseInt(_0xc0326e(0x188))/0x7)+parseInt(_0xc0326e(0x15d))/0x8*(-parseInt(_0xc0326e(0x172))/0x9)+parseInt(_0xc0326e(0x153))/0xa;if(_0x467bc4===_0x451bdd)break;else _0x316779['push'](_0x316779['shift']());}catch(_0x486998){_0x316779['push'](_0x316779['shift']());}}}(_0x2c29,0xc2b82));function _0x2c29(){const _0x5e9f3a=['title','message','_addReviewCheckResult','change:status','isActivated','event','reviewCheckResultChangeStatusUpdated','aborted','770595sFqiGs','32542980sBxxDv','processedResultsCount','sendRating','isChangeActive','status','getActiveChanges','get','getChangeById','markChangeAsRejected','abortController','8424cSHaAH','subTitle','ready','reviewCheckResultAdded','477hOfeOw','review-metadata','_activeRequest','_aiConnector','_sendRatingRequest','reviewName','documentData','fire','updateDocumentData','elements','isRated','error-general','325266GZJrnZ','924494lGuOkt','callId','size','data','63xNRtPt','find','version','_changes','hasModifications','clear','markChangeAsPending','finished','forceReadyState','includes','_reviewParams','_sourceCheck','33752ywqJdM','isAnyChangeActivated','length','getContent','dataId','rejected','filter','addResultChanges','change:isActivated','2280534PuzkQA','203HOpyLq','getStream','abort','_results','markChangeAsAccepted','reviewCheckResultActivated','currentError','push','reviewCheckResultDeactivated','operation','textDelta','some','_checkIfFinished','accepted','_createApiRequest','reviewCheckRunUpdated','every','activateChange','error','loading','markChangeAsOutdated','_documentData','set','forEach','initialized','_currentError','outdated','pending','restart','parent','markAllChangesAsAccepted','error-chunk','unmodified','ai-request-aborted','_reviewArgs','reviewCheckResultReady','start','deactivateChange'];_0x2c29=function(){return _0x5e9f3a;};return _0x2c29();}import{ObservableMixin as _0x157eff,uid as _0x252c3f}from'ckeditor5/src/utils.js';function _0x3e31(_0x59a574,_0x48b183){const _0x2c29b3=_0x2c29();return _0x3e31=function(_0x3e31a7,_0x56a2b6){_0x3e31a7=_0x3e31a7-0x152;let _0xc6e81e=_0x2c29b3[_0x3e31a7];return _0xc6e81e;},_0x3e31(_0x59a574,_0x48b183);}import{AIReviewCheckResult as _0x1dc359}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x16a447}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x157eff(){['id']=_0x252c3f();[_0x16da33(0x16f)];[_0x16da33(0x18b)]=new Map();[_0x16da33(0x175)]=[];[_0x16da33(0x17d)];[_0x16da33(0x19d)];[_0x16da33(0x164)];[_0x16da33(0x17c)];[_0x16da33(0x1aa)];[_0x16da33(0x163)]=null;[_0x16da33(0x1a1)];constructor(_0x290053,_0x2255f7,_0x1ad20f,_0x25cc64,_0x26d272){const _0x572949=_0x16da33;super(),this[_0x572949(0x17d)]=_0x2255f7,this[_0x572949(0x19d)]=_0x290053,this[_0x572949(0x164)]=_0x1ad20f,this[_0x572949(0x17c)]=_0x25cc64,this[_0x572949(0x1aa)]=_0x26d272,this['on'](_0x572949(0x1b1),(_0x4bc660,_0x1b7230,_0x31f8ff)=>{const _0x52bbde=_0x572949;this[_0x52bbde(0x168)](_0x52bbde(0x197),{'status':_0x31f8ff,'run':this,'error':this[_0x52bbde(0x1a1)]});}),this[_0x572949(0x19e)](_0x572949(0x157),_0x572949(0x1a0));}get[_0x16da33(0x167)](){const _0x3e4c7f=_0x16da33;return this[_0x3e4c7f(0x19d)];}get[_0x16da33(0x154)](){const _0x168800=_0x16da33;return this[_0x168800(0x18b)][_0x168800(0x170)];}get[_0x16da33(0x1ae)](){const _0x49f0c8=_0x16da33;return this[_0x49f0c8(0x17d)][_0x49f0c8(0x1ae)];}get[_0x16da33(0x15e)](){return'';}get[_0x16da33(0x166)](){const _0x409287=_0x16da33;return this[_0x409287(0x17d)]['id'];}get[_0x16da33(0x176)](){const _0x48312d=_0x16da33;return!this[_0x48312d(0x175)][_0x48312d(0x198)](_0x2daf70=>_0x48312d(0x1a3)===_0x2daf70[_0x48312d(0x157)]);}get[_0x16da33(0x18e)](){const _0x39aee1=_0x16da33;return this[_0x39aee1(0x1a1)];}[_0x16da33(0x169)](_0xca22c4){const _0x5147e0=_0x16da33;this[_0x5147e0(0x19d)]=_0xca22c4;}async[_0x16da33(0x1ac)](){const _0x3b030e=_0x16da33;this[_0x3b030e(0x157)]=_0x3b030e(0x19b),this[_0x3b030e(0x1a1)]=void 0x0;try{this[_0x3b030e(0x163)]=this[_0x3b030e(0x196)]();const _0x4fe4f4=await this[_0x3b030e(0x163)][_0x3b030e(0x189)]();this[_0x3b030e(0x157)]=_0x3b030e(0x171);for await(const _0x54611d of _0x4fe4f4)_0x3b030e(0x1a8)!==_0x54611d[_0x3b030e(0x171)][_0x3b030e(0x191)]&&(_0x3b030e(0x19a)!==_0x54611d[_0x3b030e(0x171)][_0x3b030e(0x191)]?_0x3b030e(0x162)!==_0x54611d[_0x3b030e(0x1b3)]?this[_0x3b030e(0x1b0)](_0x54611d[_0x3b030e(0x171)][_0x3b030e(0x182)],_0x54611d[_0x3b030e(0x171)][_0x3b030e(0x192)]):this[_0x3b030e(0x16f)]=_0x54611d[_0x3b030e(0x171)][_0x3b030e(0x16f)]:this[_0x3b030e(0x157)]=_0x3b030e(0x1a7));_0x3b030e(0x1a7)!==this[_0x3b030e(0x157)]&&(0x0===this[_0x3b030e(0x18b)][_0x3b030e(0x170)]||0x0===this[_0x3b030e(0x175)][_0x3b030e(0x180)]?this[_0x3b030e(0x157)]=_0x3b030e(0x1a8):this[_0x3b030e(0x157)]=_0x3b030e(0x15f));}catch(_0x59c4ac){this[_0x3b030e(0x1a1)]=_0x59c4ac,_0x59c4ac instanceof Error&&_0x59c4ac[_0x3b030e(0x1af)][_0x3b030e(0x17b)](_0x3b030e(0x1a9))?this[_0x3b030e(0x157)]=_0x3b030e(0x1b5):this[_0x3b030e(0x157)]=_0x3b030e(0x16c);}finally{this[_0x3b030e(0x163)]=null;}}async[_0x16da33(0x1a4)](){const _0x424ffc=_0x16da33;this[_0x424ffc(0x18b)][_0x424ffc(0x177)](),this[_0x424ffc(0x175)][_0x424ffc(0x180)]=0x0,this[_0x424ffc(0x1a1)]=void 0x0,await this[_0x424ffc(0x1ac)]();}[_0x16da33(0x185)](_0x40369c,_0x1d8aad){const _0x59fa7d=_0x16da33,_0x3e0277=this[_0x59fa7d(0x18b)][_0x59fa7d(0x159)](_0x40369c);if(!_0x3e0277)return;if(0x0===_0x1d8aad[_0x59fa7d(0x180)])return;const _0x2d0051=[];_0x1d8aad[_0x59fa7d(0x19f)]((_0x121883,_0x126db2)=>{const _0x5175a0=_0x59fa7d,_0x45b07f=new _0x16a447(_0x3e0277['id']+'-'+_0x126db2,_0x121883,_0x3e0277);_0x45b07f['on'](_0x5175a0(0x1b1),()=>{const _0x134498=_0x5175a0;this[_0x134498(0x168)](_0x134498(0x1b4),{'change':_0x45b07f,'status':_0x45b07f[_0x134498(0x157)]});}),_0x45b07f['on'](_0x5175a0(0x186),()=>{const _0x11ad90=_0x5175a0;_0x45b07f[_0x11ad90(0x1b2)]?this[_0x11ad90(0x168)](_0x11ad90(0x18d),{'change':_0x45b07f}):this[_0x11ad90(0x168)](_0x11ad90(0x190),{'change':_0x45b07f});}),this[_0x5175a0(0x175)][_0x5175a0(0x18f)](_0x45b07f),_0x2d0051[_0x5175a0(0x18f)](_0x45b07f);}),this[_0x59fa7d(0x168)](_0x59fa7d(0x1ab),{'changes':_0x2d0051,'result':_0x3e0277,'source':this});}[_0x16da33(0x18a)](){const _0x3705ce=_0x16da33;this[_0x3705ce(0x163)]&&(this[_0x3705ce(0x163)][_0x3705ce(0x15c)][_0x3705ce(0x18a)](),this[_0x3705ce(0x163)]=null,this[_0x3705ce(0x157)]=_0x3705ce(0x1b5));}[_0x16da33(0x156)](_0x5dc7b6){const _0x56116d=_0x16da33,_0x494320=this[_0x56116d(0x175)][_0x56116d(0x173)](_0x5119fe=>_0x5119fe['id']===_0x5dc7b6);return!(!_0x494320||_0x56116d(0x1a3)!==_0x494320[_0x56116d(0x157)]);}[_0x16da33(0x17f)](){const _0x486515=_0x16da33;return this[_0x486515(0x175)][_0x486515(0x193)](_0x33d80f=>!0x0===_0x33d80f[_0x486515(0x1b2)]);}[_0x16da33(0x158)](){const _0x42a597=_0x16da33;return this[_0x42a597(0x175)][_0x42a597(0x184)](_0x1a2cfa=>_0x42a597(0x1a3)===_0x1a2cfa[_0x42a597(0x157)]);}[_0x16da33(0x15a)](_0x249c03){const _0x35d60e=_0x16da33;return this[_0x35d60e(0x175)][_0x35d60e(0x173)](_0x3ad716=>_0x3ad716['id']===_0x249c03);}[_0x16da33(0x1a6)](){const _0x1a243e=_0x16da33;for(const _0x30ce5d of this[_0x1a243e(0x175)])_0x1a243e(0x1a3)===_0x30ce5d[_0x1a243e(0x157)]&&(_0x30ce5d[_0x1a243e(0x157)]=_0x1a243e(0x195));this[_0x1a243e(0x194)]();}[_0x16da33(0x18c)](_0x272333){const _0xd8ff32=_0x16da33,_0x300ac8=this[_0xd8ff32(0x175)][_0xd8ff32(0x173)](_0x1fd544=>_0x1fd544['id']===_0x272333);_0x300ac8&&_0xd8ff32(0x1a3)===_0x300ac8[_0xd8ff32(0x157)]&&(_0x300ac8[_0xd8ff32(0x157)]=_0xd8ff32(0x195)),this[_0xd8ff32(0x194)]();}[_0x16da33(0x15b)](_0x24d3c6){const _0x560fe2=_0x16da33,_0x355d4a=this[_0x560fe2(0x175)][_0x560fe2(0x173)](_0x119826=>_0x119826['id']===_0x24d3c6);_0x355d4a&&_0x560fe2(0x1a3)===_0x355d4a[_0x560fe2(0x157)]&&(_0x355d4a[_0x560fe2(0x157)]=_0x560fe2(0x183)),this[_0x560fe2(0x194)]();}[_0x16da33(0x19c)](_0x3f4aad){const _0x494d9f=_0x16da33,_0x1d5511=this[_0x494d9f(0x175)][_0x494d9f(0x173)](_0x4997b6=>_0x4997b6['id']===_0x3f4aad);_0x1d5511&&_0x494d9f(0x1a3)===_0x1d5511[_0x494d9f(0x157)]&&(_0x1d5511[_0x494d9f(0x157)]=_0x494d9f(0x1a2)),this[_0x494d9f(0x194)]();}[_0x16da33(0x178)](_0x36a616){const _0xf42bd9=_0x16da33,_0x2e9052=this[_0xf42bd9(0x175)][_0xf42bd9(0x173)](_0x3971e6=>_0x3971e6['id']===_0x36a616);_0x2e9052&&_0xf42bd9(0x1a2)===_0x2e9052[_0xf42bd9(0x157)]&&(_0x2e9052[_0xf42bd9(0x157)]=_0xf42bd9(0x1a3)),this[_0xf42bd9(0x194)]();}[_0x16da33(0x199)](_0x5ad467){const _0x4affcb=_0x16da33;this[_0x4affcb(0x175)][_0x4affcb(0x184)](_0x2a4ad5=>_0x2a4ad5[_0x4affcb(0x1b2)]&&_0x2a4ad5['id']!==_0x5ad467)[_0x4affcb(0x19f)](_0x313c6a=>{const _0x4b5a88=_0x4affcb;_0x313c6a[_0x4b5a88(0x1b2)]=!0x1;});const _0x1d90d4=this[_0x4affcb(0x175)][_0x4affcb(0x173)](_0x474d48=>_0x474d48['id']===_0x5ad467);_0x1d90d4&&_0x4affcb(0x1a3)===_0x1d90d4[_0x4affcb(0x157)]&&(_0x1d90d4[_0x4affcb(0x1b2)]=!0x0);}[_0x16da33(0x1ad)](){const _0x38b18f=_0x16da33;this[_0x38b18f(0x175)][_0x38b18f(0x184)](_0x3cac60=>_0x3cac60[_0x38b18f(0x1b2)])[_0x38b18f(0x19f)](_0x33d9ec=>{const _0x205834=_0x38b18f;_0x33d9ec[_0x205834(0x1b2)]=!0x1;});}[_0x16da33(0x17a)](){const _0x465366=_0x16da33;this[_0x465366(0x157)]=_0x465366(0x15f);}async[_0x16da33(0x155)](_0x5ddd7d){const _0x28d3bc=_0x16da33;if(_0x28d3bc(0x1a0)===this[_0x28d3bc(0x157)]||_0x28d3bc(0x19b)===this[_0x28d3bc(0x157)]||_0x28d3bc(0x171)===this[_0x28d3bc(0x157)])return;if(!this[_0x28d3bc(0x16f)]||0x0===this[_0x28d3bc(0x175)][_0x28d3bc(0x180)])return;let _0x51810f;if(_0x5ddd7d){const _0x4e3161=this[_0x28d3bc(0x175)][_0x28d3bc(0x173)](_0x2da86b=>_0x2da86b['id']===_0x5ddd7d);if(_0x4e3161&&_0x4e3161[_0x28d3bc(0x16b)])return;_0x4e3161&&(_0x51810f=_0x4e3161[_0x28d3bc(0x1a5)]['id'],_0x4e3161[_0x28d3bc(0x16b)]=!0x0);}const _0x1d0b45={'positiveCount':this[_0x28d3bc(0x175)][_0x28d3bc(0x184)](_0x281191=>_0x28d3bc(0x195)===_0x281191[_0x28d3bc(0x157)])[_0x28d3bc(0x180)],'totalCount':this[_0x28d3bc(0x175)][_0x28d3bc(0x180)]};this[_0x28d3bc(0x165)](_0x1d0b45,this[_0x28d3bc(0x16f)],_0x51810f);}[_0x16da33(0x1b0)](_0x27ff8e,_0x1db4b0){const _0x38b852=_0x16da33,_0x2679f2=this[_0x38b852(0x19d)][_0x38b852(0x16a)][_0x38b852(0x159)](_0x27ff8e);if(!_0x2679f2)return;const _0x8e8e16=_0x2679f2[_0x38b852(0x181)]();if(_0x8e8e16===_0x1db4b0)return;const _0x2a0c8a=new _0x1dc359({'id':_0x27ff8e,'contentInitial':_0x8e8e16,'contentNew':_0x1db4b0,'documentVersion':this[_0x38b852(0x19d)][_0x38b852(0x174)]});this[_0x38b852(0x18b)][_0x38b852(0x19e)](_0x2a0c8a['id'],_0x2a0c8a),this[_0x38b852(0x168)](_0x38b852(0x160),{'result':_0x2a0c8a,'source':this});}[_0x16da33(0x194)](){const _0x2e05ae=_0x16da33;_0x2e05ae(0x179)===this[_0x2e05ae(0x157)]&&(this[_0x2e05ae(0x175)][_0x2e05ae(0x184)](_0xc62f9c=>_0x2e05ae(0x1a3)===_0xc62f9c[_0x2e05ae(0x157)])[_0x2e05ae(0x180)]>0x0&&(this[_0x2e05ae(0x157)]=_0x2e05ae(0x15f))),_0x2e05ae(0x15f)===this[_0x2e05ae(0x157)]&&(0x0===this[_0x2e05ae(0x175)][_0x2e05ae(0x184)](_0x382230=>_0x2e05ae(0x1a3)===_0x382230[_0x2e05ae(0x157)])[_0x2e05ae(0x180)]&&(this[_0x2e05ae(0x157)]=_0x2e05ae(0x179)));}}
23
+ const _0x327453=_0x2991;(function(_0x5500a3,_0x438d18){const _0x1f1f26=_0x2991,_0x13870a=_0x5500a3();while(!![]){try{const _0x38bab3=parseInt(_0x1f1f26(0x17c))/0x1+-parseInt(_0x1f1f26(0x139))/0x2*(parseInt(_0x1f1f26(0x174))/0x3)+-parseInt(_0x1f1f26(0x154))/0x4*(-parseInt(_0x1f1f26(0x12c))/0x5)+parseInt(_0x1f1f26(0x178))/0x6*(parseInt(_0x1f1f26(0x11f))/0x7)+parseInt(_0x1f1f26(0x147))/0x8*(-parseInt(_0x1f1f26(0x12a))/0x9)+-parseInt(_0x1f1f26(0x14e))/0xa*(parseInt(_0x1f1f26(0x126))/0xb)+-parseInt(_0x1f1f26(0x15f))/0xc*(parseInt(_0x1f1f26(0x13e))/0xd);if(_0x38bab3===_0x438d18)break;else _0x13870a['push'](_0x13870a['shift']());}catch(_0x55b09f){_0x13870a['push'](_0x13870a['shift']());}}}(_0x3ff8,0x22f0e));import{ObservableMixin as _0x210ea1,uid as _0x414748}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x408af3}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x55f0e8}from'./aireviewcheckresultchange.js';function _0x3ff8(){const _0x56b5ac=['reviewCheckResultActivated','dataId','event','abort','615406rRwYFx','aborted','markChangeAsPending','addResultChanges','50355UbakoO','error-general','5pbeplE','reviewCheckResultReady','getActiveChanges','size','_results','_activeRequest','unmodified','outdated','currentError','error','hasModifications','subTitle','_checkIfFinished','2PpSDmx','message','callId','isActivated','push','98553sYafWm','operation','getContent','change:status','_sourceCheck','forEach','parent','change:isActivated','reviewCheckResultChangeStatusUpdated','24YwSqua','markChangeAsAccepted','start','get','abortController','_documentData','reviewName','20rIEmsW','version','_createApiRequest','initialized','_changes','clear','899208bhgBWX','set','data','includes','status','restart','forceReadyState','isChangeActive','markChangeAsOutdated','ready','reviewCheckResultDeactivated','132mxRsAl','length','isAnyChangeActivated','filter','markAllChangesAsAccepted','documentData','_currentError','fire','activateChange','accepted','reviewCheckRunUpdated','find','review-metadata','_addReviewCheckResult','error-chunk','every','markChangeAsRejected','some','reviewCheckResultAdded','rejected','deactivateChange','374217gcFYRE','_reviewArgs','_aiConnector','_sendRatingRequest','30yEClnY','getStream','title','pending','231878Xezoxe','textDelta','finished','getChangeById','isRated','updateDocumentData','ai-request-aborted','elements','_reviewParams','processedResultsCount','32543xAUJTh','sendRating','loading'];_0x3ff8=function(){return _0x56b5ac;};return _0x3ff8();}function _0x2991(_0x59b9cc,_0x53ddc8){const _0x3ff874=_0x3ff8();return _0x2991=function(_0x29915d,_0x45a21a){_0x29915d=_0x29915d-0x117;let _0x4edded=_0x3ff874[_0x29915d];return _0x4edded;},_0x2991(_0x59b9cc,_0x53ddc8);}export class AIReviewCheckRun extends _0x210ea1(){['id']=_0x414748();[_0x327453(0x13b)];[_0x327453(0x130)]=new Map();[_0x327453(0x152)]=[];[_0x327453(0x142)];[_0x327453(0x14c)];[_0x327453(0x176)];[_0x327453(0x11d)];[_0x327453(0x175)];[_0x327453(0x131)]=null;[_0x327453(0x165)];constructor(_0x37bba1,_0x17b0e4,_0x43d6cb,_0x2b78a9,_0x5b96e0){const _0x55ebd6=_0x327453;super(),this[_0x55ebd6(0x142)]=_0x17b0e4,this[_0x55ebd6(0x14c)]=_0x37bba1,this[_0x55ebd6(0x176)]=_0x43d6cb,this[_0x55ebd6(0x11d)]=_0x2b78a9,this[_0x55ebd6(0x175)]=_0x5b96e0,this['on'](_0x55ebd6(0x141),(_0x46abe2,_0x28ea8d,_0x169104)=>{const _0x4b9d4b=_0x55ebd6;this[_0x4b9d4b(0x166)](_0x4b9d4b(0x169),{'status':_0x169104,'run':this,'error':this[_0x4b9d4b(0x165)]});}),this[_0x55ebd6(0x155)](_0x55ebd6(0x158),_0x55ebd6(0x151));}get[_0x327453(0x164)](){const _0x36c35c=_0x327453;return this[_0x36c35c(0x14c)];}get[_0x327453(0x11e)](){const _0x2c8105=_0x327453;return this[_0x2c8105(0x130)][_0x2c8105(0x12f)];}get[_0x327453(0x17a)](){const _0x2c1ba9=_0x327453;return this[_0x2c1ba9(0x142)][_0x2c1ba9(0x17a)];}get[_0x327453(0x137)](){return'';}get[_0x327453(0x14d)](){const _0x29c51c=_0x327453;return this[_0x29c51c(0x142)]['id'];}get[_0x327453(0x136)](){const _0x676cfa=_0x327453;return!this[_0x676cfa(0x152)][_0x676cfa(0x16e)](_0x57677e=>_0x676cfa(0x17b)===_0x57677e[_0x676cfa(0x158)]);}get[_0x327453(0x134)](){const _0x345166=_0x327453;return this[_0x345166(0x165)];}[_0x327453(0x11a)](_0x45f3a9){const _0xe38cf6=_0x327453;this[_0xe38cf6(0x14c)]=_0x45f3a9;}async[_0x327453(0x149)](){const _0x294276=_0x327453;this[_0x294276(0x158)]=_0x294276(0x121),this[_0x294276(0x165)]=void 0x0;try{this[_0x294276(0x131)]=this[_0x294276(0x150)]();const _0xc852db=await this[_0x294276(0x131)][_0x294276(0x179)]();this[_0x294276(0x158)]=_0x294276(0x156);for await(const _0x518ffb of _0xc852db)_0x294276(0x132)!==_0x518ffb[_0x294276(0x156)][_0x294276(0x13f)]&&(_0x294276(0x135)!==_0x518ffb[_0x294276(0x156)][_0x294276(0x13f)]?_0x294276(0x16b)!==_0x518ffb[_0x294276(0x124)]?this[_0x294276(0x16c)](_0x518ffb[_0x294276(0x156)][_0x294276(0x123)],_0x518ffb[_0x294276(0x156)][_0x294276(0x17d)]):this[_0x294276(0x13b)]=_0x518ffb[_0x294276(0x156)][_0x294276(0x13b)]:this[_0x294276(0x158)]=_0x294276(0x16d));_0x294276(0x16d)!==this[_0x294276(0x158)]&&(0x0===this[_0x294276(0x130)][_0x294276(0x12f)]||0x0===this[_0x294276(0x152)][_0x294276(0x160)]?this[_0x294276(0x158)]=_0x294276(0x132):this[_0x294276(0x158)]=_0x294276(0x15d));}catch(_0x3ba2fd){this[_0x294276(0x165)]=_0x3ba2fd,_0x3ba2fd instanceof Error&&_0x3ba2fd[_0x294276(0x13a)][_0x294276(0x157)](_0x294276(0x11b))?this[_0x294276(0x158)]=_0x294276(0x127):this[_0x294276(0x158)]=_0x294276(0x12b);}finally{this[_0x294276(0x131)]=null;}}async[_0x327453(0x159)](){const _0x377003=_0x327453;this[_0x377003(0x130)][_0x377003(0x153)](),this[_0x377003(0x152)][_0x377003(0x160)]=0x0,this[_0x377003(0x165)]=void 0x0,await this[_0x377003(0x149)]();}[_0x327453(0x129)](_0x4540a1,_0x1d9a53){const _0x48fe0f=_0x327453,_0x26c748=this[_0x48fe0f(0x130)][_0x48fe0f(0x14a)](_0x4540a1);if(!_0x26c748)return;if(0x0===_0x1d9a53[_0x48fe0f(0x160)])return;const _0x2564b7=[];_0x1d9a53[_0x48fe0f(0x143)]((_0x197aca,_0x31ecdf)=>{const _0x44bb50=_0x48fe0f,_0x3be50a=new _0x55f0e8(_0x26c748['id']+'-'+_0x31ecdf,_0x197aca,_0x26c748);_0x3be50a['on'](_0x44bb50(0x141),()=>{const _0x2a2380=_0x44bb50;this[_0x2a2380(0x166)](_0x2a2380(0x146),{'change':_0x3be50a,'status':_0x3be50a[_0x2a2380(0x158)]});}),_0x3be50a['on'](_0x44bb50(0x145),()=>{const _0xf8242b=_0x44bb50;_0x3be50a[_0xf8242b(0x13c)]?this[_0xf8242b(0x166)](_0xf8242b(0x122),{'change':_0x3be50a}):this[_0xf8242b(0x166)](_0xf8242b(0x15e),{'change':_0x3be50a});}),this[_0x44bb50(0x152)][_0x44bb50(0x13d)](_0x3be50a),_0x2564b7[_0x44bb50(0x13d)](_0x3be50a);}),this[_0x48fe0f(0x166)](_0x48fe0f(0x12d),{'changes':_0x2564b7,'result':_0x26c748,'source':this});}[_0x327453(0x125)](){const _0x2d6e26=_0x327453;this[_0x2d6e26(0x131)]&&(this[_0x2d6e26(0x131)][_0x2d6e26(0x14b)][_0x2d6e26(0x125)](),this[_0x2d6e26(0x131)]=null,this[_0x2d6e26(0x158)]=_0x2d6e26(0x127));}[_0x327453(0x15b)](_0x5dc4d3){const _0x1c4e4d=_0x327453,_0x2414be=this[_0x1c4e4d(0x152)][_0x1c4e4d(0x16a)](_0x542a4d=>_0x542a4d['id']===_0x5dc4d3);return!(!_0x2414be||_0x1c4e4d(0x17b)!==_0x2414be[_0x1c4e4d(0x158)]);}[_0x327453(0x161)](){const _0x35dec6=_0x327453;return this[_0x35dec6(0x152)][_0x35dec6(0x170)](_0x424461=>!0x0===_0x424461[_0x35dec6(0x13c)]);}[_0x327453(0x12e)](){const _0x40c27e=_0x327453;return this[_0x40c27e(0x152)][_0x40c27e(0x162)](_0x4bb7c6=>_0x40c27e(0x17b)===_0x4bb7c6[_0x40c27e(0x158)]);}[_0x327453(0x118)](_0x5021ed){const _0x244bcb=_0x327453;return this[_0x244bcb(0x152)][_0x244bcb(0x16a)](_0x25ea69=>_0x25ea69['id']===_0x5021ed);}[_0x327453(0x163)](){const _0x47406f=_0x327453;for(const _0x5b5ee2 of this[_0x47406f(0x152)])_0x47406f(0x17b)===_0x5b5ee2[_0x47406f(0x158)]&&(_0x5b5ee2[_0x47406f(0x158)]=_0x47406f(0x168));this[_0x47406f(0x138)]();}[_0x327453(0x148)](_0x14e9c0){const _0x47950b=_0x327453,_0x4958ea=this[_0x47950b(0x152)][_0x47950b(0x16a)](_0x4c2af2=>_0x4c2af2['id']===_0x14e9c0);_0x4958ea&&_0x47950b(0x17b)===_0x4958ea[_0x47950b(0x158)]&&(_0x4958ea[_0x47950b(0x158)]=_0x47950b(0x168)),this[_0x47950b(0x138)]();}[_0x327453(0x16f)](_0x2a6ccc){const _0x37f359=_0x327453,_0x3886f1=this[_0x37f359(0x152)][_0x37f359(0x16a)](_0x36a1f7=>_0x36a1f7['id']===_0x2a6ccc);_0x3886f1&&_0x37f359(0x17b)===_0x3886f1[_0x37f359(0x158)]&&(_0x3886f1[_0x37f359(0x158)]=_0x37f359(0x172)),this[_0x37f359(0x138)]();}[_0x327453(0x15c)](_0x5b8eb2){const _0x5d4a05=_0x327453,_0x112ab8=this[_0x5d4a05(0x152)][_0x5d4a05(0x16a)](_0x550deb=>_0x550deb['id']===_0x5b8eb2);_0x112ab8&&_0x5d4a05(0x17b)===_0x112ab8[_0x5d4a05(0x158)]&&(_0x112ab8[_0x5d4a05(0x158)]=_0x5d4a05(0x133)),this[_0x5d4a05(0x138)]();}[_0x327453(0x128)](_0x5b5c6d){const _0x43eaa1=_0x327453,_0x1cd7ff=this[_0x43eaa1(0x152)][_0x43eaa1(0x16a)](_0x238515=>_0x238515['id']===_0x5b5c6d);_0x1cd7ff&&_0x43eaa1(0x133)===_0x1cd7ff[_0x43eaa1(0x158)]&&(_0x1cd7ff[_0x43eaa1(0x158)]=_0x43eaa1(0x17b)),this[_0x43eaa1(0x138)]();}[_0x327453(0x167)](_0x1af35e){const _0x1ea27d=_0x327453;this[_0x1ea27d(0x152)][_0x1ea27d(0x162)](_0x2bba03=>_0x2bba03[_0x1ea27d(0x13c)]&&_0x2bba03['id']!==_0x1af35e)[_0x1ea27d(0x143)](_0xbfea72=>{const _0x2da589=_0x1ea27d;_0xbfea72[_0x2da589(0x13c)]=!0x1;});const _0xda7821=this[_0x1ea27d(0x152)][_0x1ea27d(0x16a)](_0x2c76d1=>_0x2c76d1['id']===_0x1af35e);_0xda7821&&_0x1ea27d(0x17b)===_0xda7821[_0x1ea27d(0x158)]&&(_0xda7821[_0x1ea27d(0x13c)]=!0x0);}[_0x327453(0x173)](){const _0x3fdb49=_0x327453;this[_0x3fdb49(0x152)][_0x3fdb49(0x162)](_0x63ba56=>_0x63ba56[_0x3fdb49(0x13c)])[_0x3fdb49(0x143)](_0x3c1c78=>{const _0x309838=_0x3fdb49;_0x3c1c78[_0x309838(0x13c)]=!0x1;});}[_0x327453(0x15a)](){const _0x4c96a9=_0x327453;this[_0x4c96a9(0x158)]=_0x4c96a9(0x15d);}async[_0x327453(0x120)](_0x5f02a7){const _0x20ad1d=_0x327453;if(_0x20ad1d(0x151)===this[_0x20ad1d(0x158)]||_0x20ad1d(0x121)===this[_0x20ad1d(0x158)]||_0x20ad1d(0x156)===this[_0x20ad1d(0x158)])return;if(!this[_0x20ad1d(0x13b)]||0x0===this[_0x20ad1d(0x152)][_0x20ad1d(0x160)])return;let _0x21da65;if(_0x5f02a7){const _0x42b3f0=this[_0x20ad1d(0x152)][_0x20ad1d(0x16a)](_0x18b9ef=>_0x18b9ef['id']===_0x5f02a7);if(_0x42b3f0&&_0x42b3f0[_0x20ad1d(0x119)])return;_0x42b3f0&&(_0x21da65=_0x42b3f0[_0x20ad1d(0x144)]['id'],_0x42b3f0[_0x20ad1d(0x119)]=!0x0);}const _0x287500={'positiveCount':this[_0x20ad1d(0x152)][_0x20ad1d(0x162)](_0x5c27ef=>_0x20ad1d(0x168)===_0x5c27ef[_0x20ad1d(0x158)])[_0x20ad1d(0x160)],'totalCount':this[_0x20ad1d(0x152)][_0x20ad1d(0x160)]};this[_0x20ad1d(0x177)](_0x287500,this[_0x20ad1d(0x13b)],_0x21da65);}[_0x327453(0x16c)](_0x207d61,_0x2394fa){const _0x50b286=_0x327453,_0x312231=this[_0x50b286(0x14c)][_0x50b286(0x11c)][_0x50b286(0x14a)](_0x207d61);if(!_0x312231)return;const _0x80ae9c=_0x312231[_0x50b286(0x140)]();if(_0x80ae9c===_0x2394fa)return;const _0x469d28=new _0x408af3({'id':_0x207d61,'contentInitial':_0x80ae9c,'contentNew':_0x2394fa,'documentVersion':this[_0x50b286(0x14c)][_0x50b286(0x14f)]});this[_0x50b286(0x130)][_0x50b286(0x155)](_0x469d28['id'],_0x469d28),this[_0x50b286(0x166)](_0x50b286(0x171),{'result':_0x469d28,'source':this});}[_0x327453(0x138)](){const _0x3414eb=_0x327453;_0x3414eb(0x117)===this[_0x3414eb(0x158)]&&(this[_0x3414eb(0x152)][_0x3414eb(0x162)](_0x51eb59=>_0x3414eb(0x17b)===_0x51eb59[_0x3414eb(0x158)])[_0x3414eb(0x160)]>0x0&&(this[_0x3414eb(0x158)]=_0x3414eb(0x15d))),_0x3414eb(0x15d)===this[_0x3414eb(0x158)]&&(0x0===this[_0x3414eb(0x152)][_0x3414eb(0x162)](_0x1bc7dd=>_0x3414eb(0x17b)===_0x1bc7dd[_0x3414eb(0x158)])[_0x3414eb(0x160)]&&(this[_0x3414eb(0x158)]=_0x3414eb(0x117)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x49612f=_0x390e;function _0x390e(_0x5e0d37,_0x1eaf89){var _0x33e0a=_0x33e0();return _0x390e=function(_0x390eae,_0x4c770b){_0x390eae=_0x390eae-0x7e;var _0xfc43bf=_0x33e0a[_0x390eae];return _0xfc43bf;},_0x390e(_0x5e0d37,_0x1eaf89);}(function(_0x5f1a34,_0x9dfa62){var _0x2f1db4=_0x390e,_0x425678=_0x5f1a34();while(!![]){try{var _0x1e0aa8=-parseInt(_0x2f1db4(0x95))/0x1*(parseInt(_0x2f1db4(0x89))/0x2)+-parseInt(_0x2f1db4(0x8d))/0x3*(parseInt(_0x2f1db4(0x85))/0x4)+parseInt(_0x2f1db4(0x87))/0x5*(-parseInt(_0x2f1db4(0x8f))/0x6)+-parseInt(_0x2f1db4(0x93))/0x7*(-parseInt(_0x2f1db4(0x92))/0x8)+parseInt(_0x2f1db4(0x84))/0x9*(parseInt(_0x2f1db4(0x82))/0xa)+parseInt(_0x2f1db4(0x91))/0xb*(-parseInt(_0x2f1db4(0x7e))/0xc)+-parseInt(_0x2f1db4(0x83))/0xd*(-parseInt(_0x2f1db4(0x86))/0xe);if(_0x1e0aa8===_0x9dfa62)break;else _0x425678['push'](_0x425678['shift']());}catch(_0xfe2ac1){_0x425678['push'](_0x425678['shift']());}}}(_0x33e0,0xb49da));import{AIReviewCheckRun as _0x1c670c}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x1c670c{[_0x49612f(0x90)];[_0x49612f(0x8b)];constructor(_0x47482d,_0x11fad9,_0x44cf3c,_0x3b77b7,_0x392d81){var _0x3238fc=_0x49612f;super(_0x44cf3c,_0x3b77b7,_0x392d81),this[_0x3238fc(0x90)]=_0x47482d,this[_0x3238fc(0x8b)]=_0x11fad9;}get[_0x49612f(0x80)](){var _0x4b2b0a=_0x49612f;return this[_0x4b2b0a(0x90)];}[_0x49612f(0x94)](){var _0x127af4=_0x49612f;return this[_0x127af4(0x88)][_0x127af4(0x7f)]({'content':this[_0x127af4(0x8a)][_0x127af4(0x8e)],'prompt':this[_0x127af4(0x90)],'model':this[_0x127af4(0x8b)]});}[_0x49612f(0x8c)](_0x143f7c,_0x13c74b,_0x577fa4){var _0x587fc5=_0x49612f;return this[_0x587fc5(0x88)][_0x587fc5(0x81)](_0x13c74b,_0x143f7c,_0x577fa4);}}function _0x33e0(){var _0x4af985=['23457cJmtZV','_createApiRequest','1358877FqJOzl','35196ndDsiU','callCustomReview','subTitle','upsertCustomAIReviewRating','1070fyWrYA','24397243pRPmqd','4392djxZLa','4FFEWNX','28fPKlDQ','5hxWBwF','_aiConnector','2CljEvJ','_documentData','_model','_sendRatingRequest','3725751LoJhdK','content','1303446ZymfUF','_prompt','3091xkYNAq','1376gBFkDM'];_0x33e0=function(){return _0x4af985;};return _0x33e0();}
23
+ function _0x1d92(){var _0x5def5b=['content','6182281IOResU','_model','1467RuqAqk','_sendRatingRequest','1803609xYQyXz','_documentData','120549YmQnTU','_createApiRequest','_aiConnector','326396XLMzhT','8jaiZKW','1MXhCuD','728NTwuvS','5736305mTVFOK','3295992FwozLv','upsertCustomAIReviewRating','subTitle','270EawKNz','callCustomReview','_prompt'];_0x1d92=function(){return _0x5def5b;};return _0x1d92();}function _0x5f87(_0x2b58b7,_0x2cfda1){var _0x1d92fa=_0x1d92();return _0x5f87=function(_0x5f8726,_0x3b3d6a){_0x5f8726=_0x5f8726-0x1e1;var _0x265395=_0x1d92fa[_0x5f8726];return _0x265395;},_0x5f87(_0x2b58b7,_0x2cfda1);}var _0x432c71=_0x5f87;(function(_0x120066,_0x5e297d){var _0x1b385a=_0x5f87,_0x3c019e=_0x120066();while(!![]){try{var _0x297741=parseInt(_0x1b385a(0x1e7))/0x1*(parseInt(_0x1b385a(0x1e5))/0x2)+parseInt(_0x1b385a(0x1f3))/0x3*(parseInt(_0x1b385a(0x1e8))/0x4)+-parseInt(_0x1b385a(0x1e9))/0x5+parseInt(_0x1b385a(0x1ea))/0x6+parseInt(_0x1b385a(0x1f1))/0x7+parseInt(_0x1b385a(0x1e6))/0x8*(-parseInt(_0x1b385a(0x1f5))/0x9)+-parseInt(_0x1b385a(0x1ed))/0xa*(-parseInt(_0x1b385a(0x1e2))/0xb);if(_0x297741===_0x5e297d)break;else _0x3c019e['push'](_0x3c019e['shift']());}catch(_0x4c5405){_0x3c019e['push'](_0x3c019e['shift']());}}}(_0x1d92,0x9a86e));import{AIReviewCheckRun as _0x287711}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x287711{[_0x432c71(0x1ef)];[_0x432c71(0x1f2)];constructor(_0x4e88a2,_0x4d3b7b,_0x12ea0d,_0x36bc38,_0x2adc94){var _0x4073d7=_0x432c71;super(_0x12ea0d,_0x36bc38,_0x2adc94),this[_0x4073d7(0x1ef)]=_0x4e88a2,this[_0x4073d7(0x1f2)]=_0x4d3b7b;}get[_0x432c71(0x1ec)](){var _0x508848=_0x432c71;return this[_0x508848(0x1ef)];}[_0x432c71(0x1e3)](){var _0x4d9cbb=_0x432c71;return this[_0x4d9cbb(0x1e4)][_0x4d9cbb(0x1ee)]({'content':this[_0x4d9cbb(0x1e1)][_0x4d9cbb(0x1f0)],'prompt':this[_0x4d9cbb(0x1ef)],'model':this[_0x4d9cbb(0x1f2)]});}[_0x432c71(0x1f4)](_0x2c32e2,_0x2dc6a8,_0x392fce){var _0x26e680=_0x432c71;return this[_0x26e680(0x1e4)][_0x26e680(0x1eb)](_0x2dc6a8,_0x2c32e2,_0x392fce);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3be452=_0x4c3f;(function(_0x413871,_0xb09c05){const _0x4bd1e2=_0x4c3f,_0x42cda9=_0x413871();while(!![]){try{const _0x2e5cae=parseInt(_0x4bd1e2(0x148))/0x1+-parseInt(_0x4bd1e2(0x14e))/0x2*(-parseInt(_0x4bd1e2(0x14f))/0x3)+parseInt(_0x4bd1e2(0x14c))/0x4+-parseInt(_0x4bd1e2(0x14b))/0x5+parseInt(_0x4bd1e2(0x141))/0x6*(-parseInt(_0x4bd1e2(0x145))/0x7)+-parseInt(_0x4bd1e2(0x147))/0x8+-parseInt(_0x4bd1e2(0x146))/0x9*(-parseInt(_0x4bd1e2(0x13f))/0xa);if(_0x2e5cae===_0xb09c05)break;else _0x42cda9['push'](_0x42cda9['shift']());}catch(_0x513c0a){_0x42cda9['push'](_0x42cda9['shift']());}}}(_0x518d,0x75a6b));import{AIReviewCheckRun as _0x48f5ee}from'./aireviewcheckrun.js';function _0x4c3f(_0x51a6df,_0x52e8f4){const _0x518dcb=_0x518d();return _0x4c3f=function(_0x4c3fc5,_0x5aa19e){_0x4c3fc5=_0x4c3fc5-0x132;let _0x26b492=_0x518dcb[_0x4c3fc5];return _0x26b492;},_0x4c3f(_0x51a6df,_0x52e8f4);}export class AIReviewSystemCheckRun extends _0x48f5ee{get[_0x3be452(0x13c)](){const _0x23348c=_0x3be452;if(!this[_0x23348c(0x13b)]||0x0===this[_0x23348c(0x13b)][_0x23348c(0x134)])return'';const _0x1c571e=[];if(this[_0x23348c(0x13b)][_0x23348c(0x134)]>0x0&&this[_0x23348c(0x14d)][_0x23348c(0x150)])for(let _0xa8868e=0x0;_0xa8868e<this[_0x23348c(0x13b)][_0x23348c(0x134)];_0xa8868e++){if(!this[_0x23348c(0x13b)][_0xa8868e]||!this[_0x23348c(0x14d)][_0x23348c(0x150)][_0xa8868e])continue;const _0x3f24ee=this[_0x23348c(0x14d)][_0x23348c(0x150)][_0xa8868e],_0xc4a221=_0x3f24ee[_0x23348c(0x132)]?.[_0x23348c(0x137)](_0x3b739f=>_0x3b739f['id']===this[_0x23348c(0x13b)][_0xa8868e]);_0xc4a221&&_0x1c571e[_0x23348c(0x13d)](_0xc4a221[_0x23348c(0x13e)]);}return _0x1c571e[_0x23348c(0x140)](',\x20');}get[_0x3be452(0x144)](){const _0x11065d=_0x3be452;return this[_0x11065d(0x149)]();}[_0x3be452(0x138)](){const _0x5c3d8b=_0x3be452;return this[_0x5c3d8b(0x136)][_0x5c3d8b(0x135)]({'reviewName':this[_0x5c3d8b(0x149)](),'content':this[_0x5c3d8b(0x133)][_0x5c3d8b(0x139)],'args':this[_0x5c3d8b(0x142)]});}[_0x3be452(0x143)](_0x31a78e,_0x319cbf,_0x263f3c){const _0xd64043=_0x3be452;return this[_0xd64043(0x136)][_0xd64043(0x13a)](this[_0xd64043(0x144)],_0x319cbf,_0x31a78e,_0x263f3c);}[_0x3be452(0x149)](){const _0x31fff7=_0x3be452;return!this[_0x31fff7(0x13b)]||0x0===this[_0x31fff7(0x13b)][_0x31fff7(0x134)]||this[_0x31fff7(0x14d)][_0x31fff7(0x14a)]?this[_0x31fff7(0x14d)]['id']:[this[_0x31fff7(0x14d)]['id'],...this[_0x31fff7(0x13b)]][_0x31fff7(0x140)]('-');}}function _0x518d(){const _0xc1741=['_sourceCheck','20028NPlqYY','240noaSgd','options','data','_documentData','length','callSystemReview','_aiConnector','find','_createApiRequest','content','upsertAIReviewRating','_reviewParams','subTitle','push','label','128370NIlkPP','join','1292898TAMEDM','_reviewArgs','_sendRatingRequest','reviewName','21fqayxt','522epbWyb','3651464ychOfw','483834sjhByY','_composeReviewName','useArgs','2759105ayadaA','428408LImGnj'];_0x518d=function(){return _0xc1741;};return _0x518d();}
23
+ function _0x35d6(_0x3781f4,_0x4bd098){const _0x5876ce=_0x5876();return _0x35d6=function(_0x35d6e7,_0x406a9d){_0x35d6e7=_0x35d6e7-0xa4;let _0x41d3c9=_0x5876ce[_0x35d6e7];return _0x41d3c9;},_0x35d6(_0x3781f4,_0x4bd098);}const _0x3e70f3=_0x35d6;(function(_0x364d46,_0x6c9a1a){const _0x2a430d=_0x35d6,_0x1ff9e6=_0x364d46();while(!![]){try{const _0x50778c=parseInt(_0x2a430d(0xb0))/0x1*(-parseInt(_0x2a430d(0xc1))/0x2)+parseInt(_0x2a430d(0xbc))/0x3*(-parseInt(_0x2a430d(0xb7))/0x4)+-parseInt(_0x2a430d(0xc0))/0x5*(-parseInt(_0x2a430d(0xa5))/0x6)+parseInt(_0x2a430d(0xa9))/0x7*(-parseInt(_0x2a430d(0xb6))/0x8)+-parseInt(_0x2a430d(0xb1))/0x9+parseInt(_0x2a430d(0xa6))/0xa*(parseInt(_0x2a430d(0xbd))/0xb)+parseInt(_0x2a430d(0xab))/0xc;if(_0x50778c===_0x6c9a1a)break;else _0x1ff9e6['push'](_0x1ff9e6['shift']());}catch(_0x587101){_0x1ff9e6['push'](_0x1ff9e6['shift']());}}}(_0x5876,0xe5594));function _0x5876(){const _0x34238b=['_documentData','reviewName','subTitle','111832YEhtKE','4BDhISU','useArgs','find','data','upsertAIReviewRating','4047066SEtCEz','330SVkmwq','push','_reviewArgs','1606655FldYbb','6XsCqut','content','join','_sendRatingRequest','_reviewParams','30cxJIvW','87070QINHUy','length','callSystemReview','7SqnjWn','_aiConnector','27806532KTJPys','_composeReviewName','label','_createApiRequest','options','504499ojhWRe','3322494dwRmAZ','_sourceCheck'];_0x5876=function(){return _0x34238b;};return _0x5876();}import{AIReviewCheckRun as _0x9d6a6b}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0x9d6a6b{get[_0x3e70f3(0xb5)](){const _0xbef4f5=_0x3e70f3;if(!this[_0xbef4f5(0xa4)]||0x0===this[_0xbef4f5(0xa4)][_0xbef4f5(0xa7)])return'';const _0x576518=[];if(this[_0xbef4f5(0xa4)][_0xbef4f5(0xa7)]>0x0&&this[_0xbef4f5(0xb2)][_0xbef4f5(0xaf)])for(let _0xe457a7=0x0;_0xe457a7<this[_0xbef4f5(0xa4)][_0xbef4f5(0xa7)];_0xe457a7++){if(!this[_0xbef4f5(0xa4)][_0xe457a7]||!this[_0xbef4f5(0xb2)][_0xbef4f5(0xaf)][_0xe457a7])continue;const _0x3283e6=this[_0xbef4f5(0xb2)][_0xbef4f5(0xaf)][_0xe457a7],_0x3e4ea2=_0x3283e6[_0xbef4f5(0xba)]?.[_0xbef4f5(0xb9)](_0xab04eb=>_0xab04eb['id']===this[_0xbef4f5(0xa4)][_0xe457a7]);_0x3e4ea2&&_0x576518[_0xbef4f5(0xbe)](_0x3e4ea2[_0xbef4f5(0xad)]);}return _0x576518[_0xbef4f5(0xc3)](',\x20');}get[_0x3e70f3(0xb4)](){const _0x19c8ec=_0x3e70f3;return this[_0x19c8ec(0xac)]();}[_0x3e70f3(0xae)](){const _0x51c862=_0x3e70f3;return this[_0x51c862(0xaa)][_0x51c862(0xa8)]({'reviewName':this[_0x51c862(0xac)](),'content':this[_0x51c862(0xb3)][_0x51c862(0xc2)],'args':this[_0x51c862(0xbf)]});}[_0x3e70f3(0xc4)](_0x467489,_0x8c6286,_0x47dbb3){const _0x5d9edd=_0x3e70f3;return this[_0x5d9edd(0xaa)][_0x5d9edd(0xbb)](this[_0x5d9edd(0xb4)],_0x8c6286,_0x467489,_0x47dbb3);}[_0x3e70f3(0xac)](){const _0x10acb7=_0x3e70f3;return!this[_0x10acb7(0xa4)]||0x0===this[_0x10acb7(0xa4)][_0x10acb7(0xa7)]||this[_0x10acb7(0xb2)][_0x10acb7(0xb8)]?this[_0x10acb7(0xb2)]['id']:[this[_0x10acb7(0xb2)]['id'],...this[_0x10acb7(0xa4)]][_0x10acb7(0xc3)]('-');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3e155e=_0x41fb;(function(_0x2c0898,_0xce6777){var _0x2a08bf=_0x41fb,_0xbfcef=_0x2c0898();while(!![]){try{var _0x55812c=parseInt(_0x2a08bf(0x76))/0x1+parseInt(_0x2a08bf(0x6b))/0x2*(parseInt(_0x2a08bf(0x78))/0x3)+parseInt(_0x2a08bf(0x70))/0x4*(-parseInt(_0x2a08bf(0x6e))/0x5)+-parseInt(_0x2a08bf(0x80))/0x6*(-parseInt(_0x2a08bf(0x71))/0x7)+parseInt(_0x2a08bf(0x72))/0x8+-parseInt(_0x2a08bf(0x81))/0x9+-parseInt(_0x2a08bf(0x84))/0xa*(parseInt(_0x2a08bf(0x6c))/0xb);if(_0x55812c===_0xce6777)break;else _0xbfcef['push'](_0xbfcef['shift']());}catch(_0x150e22){_0xbfcef['push'](_0xbfcef['shift']());}}}(_0x104c,0xa3686));function _0x104c(){var _0x27d440=['maxRows','1302Uciwkm','377496FDtesm','element','keystrokes','960vNqaZq','ai-review-mode-prompt-input','17170eGaFUj','107305pVxWiB','listenTo','105SMgNUB','ck-review-mode__prompt-input','161924fwXfZe','25067FZTRpH','3129296cigoix','extendTemplate','isEmpty','trim','831674VsJCiE','value','174zCYgDE','MAX_ROWS','update','render','set','minRows','MIN_ROWS'];_0x104c=function(){return _0x27d440;};return _0x104c();}function _0x41fb(_0x295d18,_0x1545cb){var _0x104c6d=_0x104c();return _0x41fb=function(_0x41fbc5,_0x33dd43){_0x41fbc5=_0x41fbc5-0x6b;var _0x55505e=_0x104c6d[_0x41fbc5];return _0x55505e;},_0x41fb(_0x295d18,_0x1545cb);}import{TextareaView as _0x3479e1}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x47c9eb}from'ckeditor5/src/utils.js';export class AIReviewModePromptInputView extends _0x3479e1{[_0x3e155e(0x83)];static [_0x3e155e(0x7e)]=0x1;static [_0x3e155e(0x79)]=0xc;constructor(_0x8d77f0){var _0x5ab18a=_0x3e155e;super(_0x8d77f0),this[_0x5ab18a(0x7c)](_0x5ab18a(0x74),!0x0),this[_0x5ab18a(0x83)]=new _0x47c9eb(),this[_0x5ab18a(0x7d)]=AIReviewModePromptInputView[_0x5ab18a(0x7e)],this[_0x5ab18a(0x7f)]=AIReviewModePromptInputView[_0x5ab18a(0x79)],this[_0x5ab18a(0x73)]({'attributes':{'id':_0x5ab18a(0x85),'class':['ck',_0x5ab18a(0x6f)]}});}[_0x3e155e(0x7b)](){var _0x31fb4e=_0x3e155e;super[_0x31fb4e(0x7b)](),this['on'](_0x31fb4e(0x7a),()=>{var _0x3d5590=_0x31fb4e;this[_0x3d5590(0x74)]=''===this[_0x3d5590(0x82)][_0x3d5590(0x77)]?.[_0x3d5590(0x75)]();}),this[_0x31fb4e(0x83)][_0x31fb4e(0x6d)](this[_0x31fb4e(0x82)]);}}
23
+ var _0x3dd6e2=_0x1cdc;(function(_0x380a48,_0x73ed67){var _0x1470ff=_0x1cdc,_0x23f83a=_0x380a48();while(!![]){try{var _0x14aa0d=parseInt(_0x1470ff(0x17d))/0x1+-parseInt(_0x1470ff(0x167))/0x2+parseInt(_0x1470ff(0x170))/0x3+-parseInt(_0x1470ff(0x178))/0x4+-parseInt(_0x1470ff(0x17a))/0x5+parseInt(_0x1470ff(0x16b))/0x6+parseInt(_0x1470ff(0x173))/0x7*(parseInt(_0x1470ff(0x174))/0x8);if(_0x14aa0d===_0x73ed67)break;else _0x23f83a['push'](_0x23f83a['shift']());}catch(_0x2fbe04){_0x23f83a['push'](_0x23f83a['shift']());}}}(_0x1e32,0x6916f));import{TextareaView as _0x403439}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x255a67}from'ckeditor5/src/utils.js';function _0x1e32(){var _0x136098=['listenTo','maxRows','trim','MIN_ROWS','1427889MLsrNn','extendTemplate','element','7947366EQinNd','8fcxoWO','ai-review-mode-prompt-input','render','minRows','2944992NHAGQC','isEmpty','809470MlLvdQ','set','keystrokes','48462jgSzPd','update','1377558UOdlNL','value','ck-review-mode__prompt-input','MAX_ROWS','2145630rCroxi'];_0x1e32=function(){return _0x136098;};return _0x1e32();}function _0x1cdc(_0x2316e9,_0x45d868){var _0x1e326b=_0x1e32();return _0x1cdc=function(_0x1cdc36,_0x5b0545){_0x1cdc36=_0x1cdc36-0x167;var _0xed52c6=_0x1e326b[_0x1cdc36];return _0xed52c6;},_0x1cdc(_0x2316e9,_0x45d868);}export class AIReviewModePromptInputView extends _0x403439{[_0x3dd6e2(0x17c)];static [_0x3dd6e2(0x16f)]=0x1;static [_0x3dd6e2(0x16a)]=0xc;constructor(_0x337c94){var _0x404fde=_0x3dd6e2;super(_0x337c94),this[_0x404fde(0x17b)](_0x404fde(0x179),!0x0),this[_0x404fde(0x17c)]=new _0x255a67(),this[_0x404fde(0x177)]=AIReviewModePromptInputView[_0x404fde(0x16f)],this[_0x404fde(0x16d)]=AIReviewModePromptInputView[_0x404fde(0x16a)],this[_0x404fde(0x171)]({'attributes':{'id':_0x404fde(0x175),'class':['ck',_0x404fde(0x169)]}});}[_0x3dd6e2(0x176)](){var _0x387c27=_0x3dd6e2;super[_0x387c27(0x176)](),this['on'](_0x387c27(0x17e),()=>{var _0x26e2a8=_0x387c27;this[_0x26e2a8(0x179)]=''===this[_0x26e2a8(0x172)][_0x26e2a8(0x168)]?.[_0x26e2a8(0x16e)]();}),this[_0x387c27(0x17c)][_0x387c27(0x16c)](this[_0x387c27(0x172)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3bf5ae=_0x3ff2;(function(_0x27e233,_0x45ce4d){const _0x377a4d=_0x3ff2,_0x18f335=_0x27e233();while(!![]){try{const _0x41f50b=parseInt(_0x377a4d(0x111))/0x1*(parseInt(_0x377a4d(0x10f))/0x2)+-parseInt(_0x377a4d(0x137))/0x3*(parseInt(_0x377a4d(0x13a))/0x4)+parseInt(_0x377a4d(0x117))/0x5+parseInt(_0x377a4d(0x136))/0x6*(-parseInt(_0x377a4d(0x123))/0x7)+parseInt(_0x377a4d(0x13b))/0x8+parseInt(_0x377a4d(0x11f))/0x9*(-parseInt(_0x377a4d(0x148))/0xa)+-parseInt(_0x377a4d(0x147))/0xb*(parseInt(_0x377a4d(0x10d))/0xc);if(_0x41f50b===_0x45ce4d)break;else _0x18f335['push'](_0x18f335['shift']());}catch(_0x4213c9){_0x18f335['push'](_0x18f335['shift']());}}}(_0x5243,0x28958));import{Rect as _0x5c5c4c,getConstrainedViewportRect as _0x3fa4e4,global as _0x14eb75}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x4a7bfe,View as _0x519f3a,clickOutsideHandler as _0x4cd3a2}from'ckeditor5/src/ui.js';function _0x5243(){const _0x38b727=['querySelectorAll','documentElement','unpin','reverse','forEach','right','document','div','getBoundingClientRect','_pinnedTargetChangeId','setTemplate','_removeActiveClassFromMarkers','left','6byLWER','1545vykEYv','isVisible','hover','80fggJQQ','834800bjiFGt','_createContentView','from','getIntersection','.ck-ai-review-mode__change_active','resultResponseView','classList','showDiffInBalloon','ck-ai-review-mode__change_active','deactivateChange','content','add','1573OrLRuF','572560NjtErN','_isPinnedRectVisible','arrow_','ck-content','fire','innerHTML','arrow_se','locale','resultItemView','isDiffActive','clientY','ck-ai-review-mode__suggestion-text','extendTemplate','push','position','hide','span[data-marker-id*=\x22','_setupClickOutsideHandler','render','_getPointedRectIndexFromEvent','bottom','width','getClientRects','replace','contentDiffed','acceptChange','click','_setActiveClassOnMarker','show','hideBalloon','1308diIRWG','remove','2IHUppo','ck-ai-review-mode-balloon-panel-suggestion_diff-active','223735oPwTwR','pin','bindTemplate','_getBestRectPositionOnHover','element','set','1585810nDrKeC','delegate','_getBestRectPositionOnClick','updateContent','showBalloon','ck-reset','top','dismissChange','27sPrarB','length','changeId','hideDiffInBalloon','1969520xdwAKn','showDiff','_pinnedTargetElement','_pinnedRectIndex','ck-ai-review-mode-balloon-panel-suggestion','clientX'];_0x5243=function(){return _0x38b727;};return _0x5243();}import{AIReviewModeReviewCheckListItemResultsView as _0x5ec1bc}from'./aireviewmodechecklistitemresultview.js';function _0x3ff2(_0x5452d4,_0x3e002f){const _0x524391=_0x5243();return _0x3ff2=function(_0x3ff212,_0x34a1b7){_0x3ff212=_0x3ff212-0x104;let _0x1858ec=_0x524391[_0x3ff212];return _0x1858ec;},_0x3ff2(_0x5452d4,_0x3e002f);}import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x4a7bfe{[_0x3bf5ae(0x150)];[_0x3bf5ae(0x126)]=void 0x0;[_0x3bf5ae(0x125)]=void 0x0;[_0x3bf5ae(0x132)]=void 0x0;constructor(_0x331785,_0x54bc7c){const _0x20d02f=_0x3bf5ae;super(_0x331785),this[_0x20d02f(0x116)]({'isVisible':!0x1,'position':_0x20d02f(0x14e),'class':null,'top':0x0,'left':0x0}),this[_0x20d02f(0x154)]({'tag':_0x20d02f(0x130),'attributes':{'class':[_0x20d02f(0x11c)],'tabindex':'-1'}}),this[_0x20d02f(0x116)](_0x20d02f(0x151),!0x1),this[_0x20d02f(0x145)][_0x20d02f(0x146)](this[_0x20d02f(0x13c)]()),_0x54bc7c[_0x20d02f(0x146)](this);}[_0x3bf5ae(0x15a)](){const _0x30d036=_0x3bf5ae;super[_0x30d036(0x15a)](),this[_0x30d036(0x159)]();}[_0x3bf5ae(0x11a)](_0x19b7e1){const _0x16c1df=_0x3bf5ae;this[_0x16c1df(0x150)][_0x16c1df(0x121)]=_0x19b7e1['id'],this[_0x16c1df(0x150)][_0x16c1df(0x140)][_0x16c1df(0x115)][_0x16c1df(0x14d)]=_0x19b7e1[_0x16c1df(0x107)];}[_0x3bf5ae(0x11b)](_0x162c92,_0xa3e192,_0x4cd54f,_0xbb2ed2,_0x4a9936,_0x43467a){const _0x50f4dd=_0x3bf5ae;this[_0x50f4dd(0x134)](),this[_0x50f4dd(0x11a)](_0x162c92),this[_0x50f4dd(0x10b)]();const _0x20fe4c=Array[_0x50f4dd(0x13d)](_0xa3e192[_0x50f4dd(0x105)]())[_0x50f4dd(0x12c)](),_0x9fdd70=this[_0x50f4dd(0x15b)](_0x4cd54f,_0x20fe4c);_0x50f4dd(0x109)===_0xbb2ed2?(this[_0x50f4dd(0x151)]=!0x0,this[_0x50f4dd(0x10a)](_0x162c92['id']),this[_0x50f4dd(0x112)]({'target':()=>this[_0x50f4dd(0x119)](_0xa3e192,_0x9fdd70,_0x162c92['id'],_0x4a9936,_0x43467a)})):_0x50f4dd(0x139)===_0xbb2ed2&&(this[_0x50f4dd(0x151)]=!0x1,this[_0x50f4dd(0x112)]({'target':()=>this[_0x50f4dd(0x114)](_0xa3e192,_0x9fdd70,_0x162c92['id'])}));}[_0x3bf5ae(0x10c)](){const _0x2050fc=_0x3bf5ae;this[_0x2050fc(0x157)](),this[_0x2050fc(0x12b)](),this[_0x2050fc(0x134)](),this[_0x2050fc(0x126)]=void 0x0,this[_0x2050fc(0x125)]=void 0x0,this[_0x2050fc(0x132)]=void 0x0;}[_0x3bf5ae(0x122)](){const _0x15c66e=_0x3bf5ae;this[_0x15c66e(0x150)][_0x15c66e(0x124)]=!0x1;}[_0x3bf5ae(0x142)](){const _0x18b8f9=_0x3bf5ae;this[_0x18b8f9(0x150)][_0x18b8f9(0x124)]=!0x0;}[_0x3bf5ae(0x144)](){const _0x124758=_0x3bf5ae;this[_0x124758(0x14c)](_0x124758(0x144));}[_0x3bf5ae(0x134)](){const _0x1f1f36=_0x3bf5ae;_0x14eb75[_0x1f1f36(0x12f)][_0x1f1f36(0x129)](_0x1f1f36(0x13f))[_0x1f1f36(0x12d)](_0x54a7c0=>{const _0x4f57e5=_0x1f1f36;_0x54a7c0[_0x4f57e5(0x141)][_0x4f57e5(0x10e)](_0x4f57e5(0x143));});}[_0x3bf5ae(0x10a)](_0x40b02e){const _0x11cbca=_0x3bf5ae;_0x14eb75[_0x11cbca(0x12f)][_0x11cbca(0x129)](_0x11cbca(0x158)+_0x40b02e+'\x22]')[_0x11cbca(0x12d)](_0x31abfe=>{const _0x1ae823=_0x11cbca;_0x31abfe[_0x1ae823(0x141)][_0x1ae823(0x146)](_0x1ae823(0x143));});}[_0x3bf5ae(0x159)](){const _0x43c5be=_0x3bf5ae;_0x4cd3a2({'emitter':this,'activator':()=>this[_0x43c5be(0x138)],'contextElements':()=>{const _0x459882=_0x43c5be,_0x220336=[this[_0x459882(0x115)]];return this[_0x459882(0x125)]&&_0x220336[_0x459882(0x155)](this[_0x459882(0x125)]),_0x220336;},'callback':()=>{const _0x5a1b2b=_0x43c5be;this[_0x5a1b2b(0x157)](),this[_0x5a1b2b(0x12b)](),this[_0x5a1b2b(0x134)](),this[_0x5a1b2b(0x144)](),this[_0x5a1b2b(0x125)]=void 0x0,this[_0x5a1b2b(0x126)]=void 0x0,this[_0x5a1b2b(0x132)]=void 0x0;}});}[_0x3bf5ae(0x13c)](){const _0x41e482=_0x3bf5ae,_0x1cf7c2=new _0x519f3a();return this[_0x41e482(0x150)]=new _0x5ec1bc(this[_0x41e482(0x14f)],''),this[_0x41e482(0x150)][_0x41e482(0x140)][_0x41e482(0x154)]({'attributes':{'class':[_0x41e482(0x14b)]}}),this[_0x41e482(0x150)][_0x41e482(0x118)](_0x41e482(0x108),_0x41e482(0x11e))['to'](this),_0x1cf7c2[_0x41e482(0x133)]({'tag':_0x41e482(0x130),'attributes':{'class':[_0x41e482(0x11c),_0x41e482(0x127),this[_0x41e482(0x113)]['if'](_0x41e482(0x151),_0x41e482(0x110))]},'children':[{'tag':'p','attributes':{'class':[_0x41e482(0x153)]},'children':[this[_0x41e482(0x150)]]}]}),_0x1cf7c2;}[_0x3bf5ae(0x119)](_0x560a1c,_0xa06fe,_0x16fd07,_0x3e744f,_0x8dda67){const _0xf0737c=_0x3bf5ae,_0x5599e4=this[_0xf0737c(0x156)][_0xf0737c(0x106)](_0xf0737c(0x14a),''),_0x25ce07=Array[_0xf0737c(0x13d)](_0x560a1c[_0xf0737c(0x105)]());let _0x1e83f8,_0x1180d8=_0x25ce07[_0xf0737c(0x12c)]();return void 0x0!==_0xa06fe&&this[_0xf0737c(0x149)](_0x1180d8[_0xa06fe],_0x3e744f,_0x8dda67)?(_0x1e83f8=_0x1180d8[_0xa06fe],this[_0xf0737c(0x126)]=_0xa06fe):this[_0xf0737c(0x149)](_0x1180d8[0x0],_0x3e744f,_0x8dda67)&&void 0x0===_0xa06fe?_0x1e83f8=_0x1180d8[0x0]:(_0x1180d8='s'==_0x5599e4[0x0]?[..._0x25ce07][_0xf0737c(0x12c)]():_0x25ce07,_0x1180d8[_0xf0737c(0x12d)](_0x2129e1=>{const _0x50f354=_0xf0737c;this[_0x50f354(0x149)](_0x2129e1,_0x3e744f,_0x8dda67)&&(_0x1e83f8=_0x2129e1);})),this[_0xf0737c(0x132)]=_0x16fd07,this[_0xf0737c(0x125)]=_0x560a1c,_0x1e83f8||_0x560a1c[_0xf0737c(0x131)]();}[_0x3bf5ae(0x114)](_0x4edb3d,_0x4fd18f,_0x44c3df){const _0x28525b=_0x3bf5ae,_0x4b704a=Array[_0x28525b(0x13d)](_0x4edb3d[_0x28525b(0x105)]())[_0x28525b(0x12c)]();if(void 0x0===this[_0x28525b(0x126)]&&void 0x0!==_0x4fd18f&&this[_0x28525b(0x132)]!==_0x44c3df)return this[_0x28525b(0x126)]=_0x4fd18f,this[_0x28525b(0x125)]=_0x4edb3d,this[_0x28525b(0x132)]=_0x44c3df,_0x4b704a[_0x4fd18f];if(void 0x0!==this[_0x28525b(0x126)]&&this[_0x28525b(0x132)]===_0x44c3df){if(_0x4edb3d!==this[_0x28525b(0x125)])return Array[_0x28525b(0x13d)](this[_0x28525b(0x125)][_0x28525b(0x105)]())[_0x28525b(0x12c)]()[this[_0x28525b(0x126)]];return _0x4b704a[this[_0x28525b(0x126)]];}return void 0x0!==_0x4fd18f&&this[_0x28525b(0x132)]!==_0x44c3df?(this[_0x28525b(0x126)]=_0x4fd18f,this[_0x28525b(0x125)]=_0x4edb3d,this[_0x28525b(0x132)]=_0x44c3df,_0x4b704a[_0x4fd18f]):_0x4edb3d[_0x28525b(0x131)]();}[_0x3bf5ae(0x15b)](_0x4aeb73,_0x2d3800){const _0xdcbcad=_0x3bf5ae;if(_0x4aeb73)for(let _0x3a76ef=0x0;_0x3a76ef<_0x2d3800[_0xdcbcad(0x120)];_0x3a76ef++){const _0x54c6c9=_0x2d3800[_0x3a76ef];if(_0x4aeb73[_0xdcbcad(0x128)]>=_0x54c6c9[_0xdcbcad(0x135)]-0x3&&_0x4aeb73[_0xdcbcad(0x128)]<=_0x54c6c9[_0xdcbcad(0x12e)]+0x3&&_0x4aeb73[_0xdcbcad(0x152)]>=_0x54c6c9[_0xdcbcad(0x11d)]-0x3&&_0x4aeb73[_0xdcbcad(0x152)]<=_0x54c6c9[_0xdcbcad(0x15c)]+0x3)return _0x3a76ef;}}[_0x3bf5ae(0x149)](_0x1fbac3,_0x3c4d81,_0x22ba13){const _0x36b269=_0x3bf5ae,_0x4d52eb=new _0x5c5c4c(_0x1fbac3),_0x1a18e8=_0x3c4d81||document[_0x36b269(0x12a)],_0x4c8ce9=_0x4d52eb[_0x36b269(0x13e)](_0x3fa4e4(_0x22ba13)),_0x572036=new _0x5c5c4c(_0x1a18e8)[_0x36b269(0x13e)](_0x4d52eb);return!!(_0x4c8ce9&&_0x572036&&_0x4d52eb[_0x36b269(0x104)]>0x0);}}
23
+ const _0x3f64d6=_0x3730;function _0x3bcf(){const _0x5dc9e3=['content','clientX','push','resultResponseView','div','resultItemView','setTemplate','1602234LDMscd','919362Jsousz','locale','5284PeReEH','_getBestRectPositionOnHover','hideBalloon','delegate','show','bindTemplate','hover','width','clientY','classList','_getPointedRectIndexFromEvent','hide','ck-ai-review-mode__change_active','ck-reset','_pinnedTargetElement','380556EfbOAM','showDiff','showBalloon','_pinnedTargetChangeId','render','_pinnedRectIndex','documentElement','deactivateChange','hideDiffInBalloon','element','.ck-ai-review-mode__change_active','document','ck-content','left','top','4510192cGtVyx','from','arrow_se','contentDiffed','reverse','getBoundingClientRect','set','span[data-marker-id*=\x22','isDiffActive','innerHTML','forEach','click','acceptChange','right','_removeActiveClassFromMarkers','querySelectorAll','_getBestRectPositionOnClick','unpin','ck-ai-review-mode-balloon-panel-suggestion','_setActiveClassOnMarker','fire','_createContentView','ck-ai-review-mode__suggestion-text','remove','extendTemplate','arrow_','add','5667060VzySaz','dismissChange','_isPinnedRectVisible','getClientRects','position','changeId','bottom','15uRNXQx','150xCkogt','pin','_setupClickOutsideHandler','getIntersection','replace','showDiffInBalloon','123222fEhieZ','ck-ai-review-mode-balloon-panel-suggestion_diff-active','isVisible','length','updateContent','13fQjVbK'];_0x3bcf=function(){return _0x5dc9e3;};return _0x3bcf();}function _0x3730(_0x1e88d4,_0x348896){const _0x3bcf88=_0x3bcf();return _0x3730=function(_0x3730c2,_0x2f969c){_0x3730c2=_0x3730c2-0x182;let _0x384ee4=_0x3bcf88[_0x3730c2];return _0x384ee4;},_0x3730(_0x1e88d4,_0x348896);}(function(_0x413d90,_0x90356b){const _0x1e9ed2=_0x3730,_0x17128b=_0x413d90();while(!![]){try{const _0x26223d=-parseInt(_0x1e9ed2(0x1c2))/0x1*(-parseInt(_0x1e9ed2(0x1bd))/0x2)+parseInt(_0x1e9ed2(0x1cb))/0x3+parseInt(_0x1e9ed2(0x1cd))/0x4*(-parseInt(_0x1e9ed2(0x1b6))/0x5)+-parseInt(_0x1e9ed2(0x1ca))/0x6+parseInt(_0x1e9ed2(0x1af))/0x7+-parseInt(_0x1e9ed2(0x194))/0x8+-parseInt(_0x1e9ed2(0x185))/0x9*(parseInt(_0x1e9ed2(0x1b7))/0xa);if(_0x26223d===_0x90356b)break;else _0x17128b['push'](_0x17128b['shift']());}catch(_0x33481d){_0x17128b['push'](_0x17128b['shift']());}}}(_0x3bcf,0x6d5c5));import{Rect as _0xb63643,getConstrainedViewportRect as _0x3cfbeb,global as _0x101aad}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x928b63,View as _0x4124c6,clickOutsideHandler as _0x229e5e}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCheckListItemResultsView as _0x37922c}from'./aireviewmodechecklistitemresultview.js';import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x928b63{[_0x3f64d6(0x1c8)];[_0x3f64d6(0x18a)]=void 0x0;[_0x3f64d6(0x184)]=void 0x0;[_0x3f64d6(0x188)]=void 0x0;constructor(_0x7aa83e,_0x2a4ad9){const _0x3efe73=_0x3f64d6;super(_0x7aa83e),this[_0x3efe73(0x19a)]({'isVisible':!0x1,'position':_0x3efe73(0x196),'class':null,'top':0x0,'left':0x0}),this[_0x3efe73(0x1ac)]({'tag':_0x3efe73(0x1c7),'attributes':{'class':[_0x3efe73(0x183)],'tabindex':'-1'}}),this[_0x3efe73(0x19a)](_0x3efe73(0x19c),!0x1),this[_0x3efe73(0x1c3)][_0x3efe73(0x1ae)](this[_0x3efe73(0x1a9)]()),_0x2a4ad9[_0x3efe73(0x1ae)](this);}[_0x3f64d6(0x189)](){const _0x5eedae=_0x3f64d6;super[_0x5eedae(0x189)](),this[_0x5eedae(0x1b9)]();}[_0x3f64d6(0x1c1)](_0x1fc819){const _0x1217ff=_0x3f64d6;this[_0x1217ff(0x1c8)][_0x1217ff(0x1b4)]=_0x1fc819['id'],this[_0x1217ff(0x1c8)][_0x1217ff(0x1c6)][_0x1217ff(0x18e)][_0x1217ff(0x19d)]=_0x1fc819[_0x1217ff(0x197)];}[_0x3f64d6(0x187)](_0x4fdace,_0x5e403e,_0x1978c3,_0x59a494,_0x4d1bad,_0x2a4046){const _0x585d20=_0x3f64d6;this[_0x585d20(0x1a2)](),this[_0x585d20(0x1c1)](_0x4fdace),this[_0x585d20(0x1d1)]();const _0x1468d5=Array[_0x585d20(0x195)](_0x5e403e[_0x585d20(0x1b2)]())[_0x585d20(0x198)](),_0x36ee90=this[_0x585d20(0x1d7)](_0x1978c3,_0x1468d5);_0x585d20(0x19f)===_0x59a494?(this[_0x585d20(0x19c)]=!0x0,this[_0x585d20(0x1a7)](_0x4fdace['id']),this[_0x585d20(0x1b8)]({'target':()=>this[_0x585d20(0x1a4)](_0x5e403e,_0x36ee90,_0x4fdace['id'],_0x4d1bad,_0x2a4046)})):_0x585d20(0x1d3)===_0x59a494&&(this[_0x585d20(0x19c)]=!0x1,this[_0x585d20(0x1b8)]({'target':()=>this[_0x585d20(0x1ce)](_0x5e403e,_0x36ee90,_0x4fdace['id'])}));}[_0x3f64d6(0x1cf)](){const _0x3e999d=_0x3f64d6;this[_0x3e999d(0x1d8)](),this[_0x3e999d(0x1a5)](),this[_0x3e999d(0x1a2)](),this[_0x3e999d(0x18a)]=void 0x0,this[_0x3e999d(0x184)]=void 0x0,this[_0x3e999d(0x188)]=void 0x0;}[_0x3f64d6(0x18d)](){const _0x364df6=_0x3f64d6;this[_0x364df6(0x1c8)][_0x364df6(0x186)]=!0x1;}[_0x3f64d6(0x1bc)](){const _0x28ccf6=_0x3f64d6;this[_0x28ccf6(0x1c8)][_0x28ccf6(0x186)]=!0x0;}[_0x3f64d6(0x18c)](){const _0x5d21e6=_0x3f64d6;this[_0x5d21e6(0x1a8)](_0x5d21e6(0x18c));}[_0x3f64d6(0x1a2)](){const _0x5ad210=_0x3f64d6;_0x101aad[_0x5ad210(0x190)][_0x5ad210(0x1a3)](_0x5ad210(0x18f))[_0x5ad210(0x19e)](_0x546ae7=>{const _0x4645e0=_0x5ad210;_0x546ae7[_0x4645e0(0x1d6)][_0x4645e0(0x1ab)](_0x4645e0(0x182));});}[_0x3f64d6(0x1a7)](_0x2eedc6){const _0x1eb457=_0x3f64d6;_0x101aad[_0x1eb457(0x190)][_0x1eb457(0x1a3)](_0x1eb457(0x19b)+_0x2eedc6+'\x22]')[_0x1eb457(0x19e)](_0x1c979f=>{const _0x186826=_0x1eb457;_0x1c979f[_0x186826(0x1d6)][_0x186826(0x1ae)](_0x186826(0x182));});}[_0x3f64d6(0x1b9)](){const _0x38ed64=_0x3f64d6;_0x229e5e({'emitter':this,'activator':()=>this[_0x38ed64(0x1bf)],'contextElements':()=>{const _0x449950=_0x38ed64,_0x5cc67e=[this[_0x449950(0x18e)]];return this[_0x449950(0x184)]&&_0x5cc67e[_0x449950(0x1c5)](this[_0x449950(0x184)]),_0x5cc67e;},'callback':()=>{const _0x3f3bb5=_0x38ed64;this[_0x3f3bb5(0x1d8)](),this[_0x3f3bb5(0x1a5)](),this[_0x3f3bb5(0x1a2)](),this[_0x3f3bb5(0x18c)](),this[_0x3f3bb5(0x184)]=void 0x0,this[_0x3f3bb5(0x18a)]=void 0x0,this[_0x3f3bb5(0x188)]=void 0x0;}});}[_0x3f64d6(0x1a9)](){const _0x5545dd=_0x3f64d6,_0xcbbd89=new _0x4124c6();return this[_0x5545dd(0x1c8)]=new _0x37922c(this[_0x5545dd(0x1cc)],''),this[_0x5545dd(0x1c8)][_0x5545dd(0x1c6)][_0x5545dd(0x1ac)]({'attributes':{'class':[_0x5545dd(0x191)]}}),this[_0x5545dd(0x1c8)][_0x5545dd(0x1d0)](_0x5545dd(0x1a0),_0x5545dd(0x1b0))['to'](this),_0xcbbd89[_0x5545dd(0x1c9)]({'tag':_0x5545dd(0x1c7),'attributes':{'class':[_0x5545dd(0x183),_0x5545dd(0x1a6),this[_0x5545dd(0x1d2)]['if'](_0x5545dd(0x19c),_0x5545dd(0x1be))]},'children':[{'tag':'p','attributes':{'class':[_0x5545dd(0x1aa)]},'children':[this[_0x5545dd(0x1c8)]]}]}),_0xcbbd89;}[_0x3f64d6(0x1a4)](_0x3c4fb7,_0x3c892e,_0x5de47a,_0x3bee5c,_0x166ce9){const _0x205a2e=_0x3f64d6,_0x160753=this[_0x205a2e(0x1b3)][_0x205a2e(0x1bb)](_0x205a2e(0x1ad),''),_0x233e88=Array[_0x205a2e(0x195)](_0x3c4fb7[_0x205a2e(0x1b2)]());let _0x9805d3,_0x3e8312=_0x233e88[_0x205a2e(0x198)]();return void 0x0!==_0x3c892e&&this[_0x205a2e(0x1b1)](_0x3e8312[_0x3c892e],_0x3bee5c,_0x166ce9)?(_0x9805d3=_0x3e8312[_0x3c892e],this[_0x205a2e(0x18a)]=_0x3c892e):this[_0x205a2e(0x1b1)](_0x3e8312[0x0],_0x3bee5c,_0x166ce9)&&void 0x0===_0x3c892e?_0x9805d3=_0x3e8312[0x0]:(_0x3e8312='s'==_0x160753[0x0]?[..._0x233e88][_0x205a2e(0x198)]():_0x233e88,_0x3e8312[_0x205a2e(0x19e)](_0x421a2c=>{const _0x31506f=_0x205a2e;this[_0x31506f(0x1b1)](_0x421a2c,_0x3bee5c,_0x166ce9)&&(_0x9805d3=_0x421a2c);})),this[_0x205a2e(0x188)]=_0x5de47a,this[_0x205a2e(0x184)]=_0x3c4fb7,_0x9805d3||_0x3c4fb7[_0x205a2e(0x199)]();}[_0x3f64d6(0x1ce)](_0x222790,_0xe820c,_0x2392b5){const _0x210819=_0x3f64d6,_0x12410b=Array[_0x210819(0x195)](_0x222790[_0x210819(0x1b2)]())[_0x210819(0x198)]();if(void 0x0===this[_0x210819(0x18a)]&&void 0x0!==_0xe820c&&this[_0x210819(0x188)]!==_0x2392b5)return this[_0x210819(0x18a)]=_0xe820c,this[_0x210819(0x184)]=_0x222790,this[_0x210819(0x188)]=_0x2392b5,_0x12410b[_0xe820c];if(void 0x0!==this[_0x210819(0x18a)]&&this[_0x210819(0x188)]===_0x2392b5){if(_0x222790!==this[_0x210819(0x184)])return Array[_0x210819(0x195)](this[_0x210819(0x184)][_0x210819(0x1b2)]())[_0x210819(0x198)]()[this[_0x210819(0x18a)]];return _0x12410b[this[_0x210819(0x18a)]];}return void 0x0!==_0xe820c&&this[_0x210819(0x188)]!==_0x2392b5?(this[_0x210819(0x18a)]=_0xe820c,this[_0x210819(0x184)]=_0x222790,this[_0x210819(0x188)]=_0x2392b5,_0x12410b[_0xe820c]):_0x222790[_0x210819(0x199)]();}[_0x3f64d6(0x1d7)](_0x260c5a,_0x20bcf0){const _0x34ba17=_0x3f64d6;if(_0x260c5a)for(let _0x21d9cf=0x0;_0x21d9cf<_0x20bcf0[_0x34ba17(0x1c0)];_0x21d9cf++){const _0x609541=_0x20bcf0[_0x21d9cf];if(_0x260c5a[_0x34ba17(0x1c4)]>=_0x609541[_0x34ba17(0x192)]-0x3&&_0x260c5a[_0x34ba17(0x1c4)]<=_0x609541[_0x34ba17(0x1a1)]+0x3&&_0x260c5a[_0x34ba17(0x1d5)]>=_0x609541[_0x34ba17(0x193)]-0x3&&_0x260c5a[_0x34ba17(0x1d5)]<=_0x609541[_0x34ba17(0x1b5)]+0x3)return _0x21d9cf;}}[_0x3f64d6(0x1b1)](_0x218892,_0x25ca74,_0x3e02dc){const _0x352947=_0x3f64d6,_0x144e78=new _0xb63643(_0x218892),_0x4f48d0=_0x25ca74||document[_0x352947(0x18b)],_0x2f3e27=_0x144e78[_0x352947(0x1ba)](_0x3cfbeb(_0x3e02dc)),_0x232caa=new _0xb63643(_0x4f48d0)[_0x352947(0x1ba)](_0x144e78);return!!(_0x2f3e27&&_0x232caa&&_0x144e78[_0x352947(0x1d4)]>0x0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46a60d=_0x54a1;(function(_0x22f29a,_0x529fa6){const _0x1b88a5=_0x54a1,_0x5ae647=_0x22f29a();while(!![]){try{const _0x2db602=-parseInt(_0x1b88a5(0x147))/0x1*(-parseInt(_0x1b88a5(0x146))/0x2)+-parseInt(_0x1b88a5(0x116))/0x3+-parseInt(_0x1b88a5(0x130))/0x4*(-parseInt(_0x1b88a5(0x124))/0x5)+-parseInt(_0x1b88a5(0x132))/0x6+parseInt(_0x1b88a5(0x156))/0x7*(-parseInt(_0x1b88a5(0x12f))/0x8)+parseInt(_0x1b88a5(0x151))/0x9+parseInt(_0x1b88a5(0x144))/0xa*(parseInt(_0x1b88a5(0x12e))/0xb);if(_0x2db602===_0x529fa6)break;else _0x5ae647['push'](_0x5ae647['shift']());}catch(_0x51070c){_0x5ae647['push'](_0x5ae647['shift']());}}}(_0x6ae0,0x6d38f));function _0x54a1(_0x4364c5,_0x352562){const _0x6ae035=_0x6ae0();return _0x54a1=function(_0x54a173,_0x4e12ce){_0x54a173=_0x54a173-0x10e;let _0x2275cc=_0x6ae035[_0x54a173];return _0x2275cc;},_0x54a1(_0x4364c5,_0x352562);}import{View as _0x140e87,ButtonView as _0x4cb1ef}from'ckeditor5/src/ui.js';import{IconInfo as _0x572867,IconCheck as _0x5c9696,IconCancel as _0x149c67,IconOutdated as _0x34d7f7}from'ckeditor5/src/icons.js';import{getTranslation as _0x71a00e}from'../../aicore/utils/common-translations.js';function _0x6ae0(){const _0x974cc2=['AI_REVIEW_MODE_DISMISS_CHANGE','accepted','ck-ai-review-mode__check-run-result-response','setTemplate','pending','dismissChange','div','AI_REVIEW_MODE_ACCEPT_CHANGE','status','894240YmYQZA','infoButtonView','fire','ck-ai-review-mode__check-run-result-dismiss-button','outdatedButtonView','5437474bugRmh','resultResponseView','isOn','locale','menuitemcheckbox','ck-ai-review-mode__check-run-result-action-buttons','ck-ai-review-mode__check-run-result-status-button','extendTemplate','_createInfoButtonView','2373126iDZeqG','ck-ai-button-tertiary-filled','isInfoToggleOn','_createDismissButtonView','bindTemplate','ck-ai-review-mode__check-run-result','isActive','rejected','ck-ai-review-mode__check-run-result-footer','dismissButtonView','_createAcceptButtonView','_createResultResponseView','ck-ai-button-secondary','disabled','30aTiKvr','ck-ai-review-mode__check-run-result-accept-button','ck-hidden','ck-content','AI_REVIEW_MODE_LEARN_MORE','set','change:status','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','changeId','icon','11DTmNjt','8TwZPpc','269732GCusBA','acceptButtonView','538830rQAxZd','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','label','acceptChange','ck-content-direct-excluded','bind','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','outdated','stopPropagation','showDiff','click','_createOutdatedButtonView','setItemAsInactive','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','isEnabled','setItemAsActive','ck-ai-review-mode__check-run-result_active','execute','11109740abHZqo','activateChange','22ahCRAT','44552ysIKKm'];_0x6ae0=function(){return _0x974cc2;};return _0x6ae0();}export class AIReviewModeReviewCheckListItemResultsView extends _0x140e87{[_0x46a60d(0x10e)];[_0x46a60d(0x131)];[_0x46a60d(0x11f)];[_0x46a60d(0x152)];[_0x46a60d(0x155)];constructor(_0x446b13,_0x28abac){const _0x344926=_0x46a60d;super(_0x446b13),this['id']=_0x28abac,this[_0x344926(0x129)](_0x344926(0x150),_0x344926(0x14c)),this[_0x344926(0x129)](_0x344926(0x12c),_0x28abac),this[_0x344926(0x10e)]=this[_0x344926(0x121)](),this[_0x344926(0x131)]=this[_0x344926(0x120)](),this[_0x344926(0x11f)]=this[_0x344926(0x119)](),this[_0x344926(0x152)]=this[_0x344926(0x115)](),this[_0x344926(0x155)]=this[_0x344926(0x13d)](),this[_0x344926(0x129)](_0x344926(0x118),!0x1),this[_0x344926(0x129)](_0x344926(0x11c),!0x1),this[_0x344926(0x129)](_0x344926(0x13b),!0x0),this[_0x344926(0x14b)]({'tag':_0x344926(0x14e),'attributes':{'class':[_0x344926(0x11b),this[_0x344926(0x11a)]['if'](_0x344926(0x11c),_0x344926(0x142))]},'on':{'click':this[_0x344926(0x11a)]['to'](_0x344926(0x13c))},'children':[this[_0x344926(0x10e)],{'tag':_0x344926(0x14e),'attributes':{'class':[_0x344926(0x11e)]},'children':[{'tag':_0x344926(0x14e),'attributes':{'class':[_0x344926(0x112)]},'children':[this[_0x344926(0x131)],this[_0x344926(0x11f)],this[_0x344926(0x155)]]},this[_0x344926(0x152)]]}]}),this['on'](_0x344926(0x13c),()=>{const _0x3b869b=_0x344926;this[_0x3b869b(0x153)](_0x3b869b(0x145),{'id':_0x28abac,'source':this});});}[_0x46a60d(0x141)](){const _0x1b042c=_0x46a60d;this[_0x1b042c(0x11c)]=!0x0;}[_0x46a60d(0x13e)](){const _0x1e8e1a=_0x46a60d;this[_0x1e8e1a(0x11c)]=!0x1;}[_0x46a60d(0x121)](){const _0x3d4efb=_0x46a60d,_0x99d817=new _0x140e87(this[_0x3d4efb(0x110)]);return _0x99d817[_0x3d4efb(0x14b)]({'tag':_0x3d4efb(0x14e),'attributes':{'class':['ck',_0x3d4efb(0x127),_0x3d4efb(0x136),_0x3d4efb(0x14a),this[_0x3d4efb(0x11a)]['if'](_0x3d4efb(0x13b),_0x3d4efb(0x126),_0x6c550=>!_0x6c550)]}}),_0x99d817;}[_0x46a60d(0x120)](){const _0x47ec9e=_0x46a60d,_0x3cfe77=new _0x4cb1ef(this[_0x47ec9e(0x110)]);return _0x3cfe77[_0x47ec9e(0x129)]({'label':_0x71a00e(this[_0x47ec9e(0x110)],_0x47ec9e(0x14f)),'withText':!0x0}),_0x3cfe77[_0x47ec9e(0x114)]({'on':{'click':this[_0x47ec9e(0x11a)]['to'](_0x36f1a6=>{const _0x11b567=_0x47ec9e;this[_0x11b567(0x153)](_0x11b567(0x135),{'id':this[_0x11b567(0x12c)]}),_0x36f1a6[_0x11b567(0x13a)]();})},'attributes':{'class':[_0x47ec9e(0x122),_0x47ec9e(0x125),this[_0x47ec9e(0x11a)]['if'](_0x47ec9e(0x150),_0x47ec9e(0x126),_0x4b37ce=>_0x47ec9e(0x14c)!==_0x4b37ce&&_0x47ec9e(0x149)!==_0x4b37ce),this[_0x47ec9e(0x11a)]['if'](_0x47ec9e(0x150),_0x47ec9e(0x125),_0x2a935b=>_0x47ec9e(0x14c)===_0x2a935b),this[_0x47ec9e(0x11a)]['if'](_0x47ec9e(0x150),_0x47ec9e(0x113),_0x494af7=>_0x47ec9e(0x149)===_0x494af7)]}}),this['on'](_0x47ec9e(0x12a),(_0x201d9e,_0x98f917,_0x126825)=>{const _0x573757=_0x47ec9e;_0x3cfe77[_0x573757(0x140)]=!0x1,_0x573757(0x149)===_0x126825&&(_0x3cfe77[_0x573757(0x134)]=_0x71a00e(this[_0x573757(0x110)],_0x573757(0x138)),_0x3cfe77[_0x573757(0x12d)]=_0x5c9696);}),_0x3cfe77;}[_0x46a60d(0x119)](){const _0x422fcf=_0x46a60d,_0x3932a3=new _0x4cb1ef(this[_0x422fcf(0x110)]);return _0x3932a3[_0x422fcf(0x129)]({'label':_0x71a00e(this[_0x422fcf(0x110)],_0x422fcf(0x148)),'withText':!0x0}),_0x3932a3[_0x422fcf(0x114)]({'on':{'click':this[_0x422fcf(0x11a)]['to'](_0x5a2798=>{const _0x15081f=_0x422fcf;this[_0x15081f(0x153)](_0x15081f(0x14d),{'id':this[_0x15081f(0x12c)]}),_0x5a2798[_0x15081f(0x13a)]();})},'attributes':{'class':[_0x422fcf(0x117),this[_0x422fcf(0x11a)]['if'](_0x422fcf(0x150),_0x422fcf(0x126),_0x4d0e2c=>_0x422fcf(0x14c)!==_0x4d0e2c&&_0x422fcf(0x11d)!==_0x4d0e2c),this[_0x422fcf(0x11a)]['if'](_0x422fcf(0x150),_0x422fcf(0x154),_0x5d0906=>_0x422fcf(0x14c)===_0x5d0906),this[_0x422fcf(0x11a)]['if'](_0x422fcf(0x150),_0x422fcf(0x113),_0x408966=>_0x422fcf(0x11d)===_0x408966)]}}),this['on'](_0x422fcf(0x12a),(_0x14cefc,_0x34519f,_0xea2a83)=>{const _0xf70d88=_0x422fcf;_0x3932a3[_0xf70d88(0x140)]=!0x1,_0xf70d88(0x11d)===_0xea2a83&&(_0x3932a3[_0xf70d88(0x134)]=_0x71a00e(this[_0xf70d88(0x110)],_0xf70d88(0x12b)),_0x3932a3[_0xf70d88(0x12d)]=_0x149c67);}),_0x3932a3;}[_0x46a60d(0x115)](){const _0x55251b=_0x46a60d,_0x3ceb84=new _0x4cb1ef(this[_0x55251b(0x110)]);return _0x3ceb84[_0x55251b(0x129)]({'label':_0x71a00e(this[_0x55251b(0x110)],_0x55251b(0x128)),'icon':_0x572867,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x55251b(0x111),'class':_0x55251b(0x133)}),_0x3ceb84[_0x55251b(0x137)](_0x55251b(0x10f))['to'](this,_0x55251b(0x118),_0x5cf451=>_0x5cf451),_0x3ceb84['on'](_0x55251b(0x143),()=>{const _0x15f995=_0x55251b;this[_0x15f995(0x118)]=!this[_0x15f995(0x118)];}),_0x3ceb84;}[_0x46a60d(0x13d)](){const _0x459bf0=_0x46a60d,_0x3af56c=new _0x4cb1ef(this[_0x459bf0(0x110)]);return _0x3af56c[_0x459bf0(0x129)]({'label':_0x71a00e(this[_0x459bf0(0x110)],_0x459bf0(0x13f)),'icon':_0x34d7f7,'withText':!0x0,'isEnabled':!0x1}),_0x3af56c[_0x459bf0(0x114)]({'attributes':{'class':[_0x459bf0(0x122),_0x459bf0(0x113),this[_0x459bf0(0x11a)]['if'](_0x459bf0(0x150),_0x459bf0(0x126),_0x1fc1ba=>_0x459bf0(0x139)!==_0x1fc1ba)],'disabled':_0x459bf0(0x123)}}),_0x3af56c;}}
23
+ const _0x9a072c=_0x13da;(function(_0x2ee1c5,_0xbece2){const _0x261984=_0x13da,_0x53bd6b=_0x2ee1c5();while(!![]){try{const _0x17880d=parseInt(_0x261984(0x1a3))/0x1*(parseInt(_0x261984(0x1b9))/0x2)+parseInt(_0x261984(0x1a4))/0x3+parseInt(_0x261984(0x1ac))/0x4+parseInt(_0x261984(0x1ad))/0x5*(-parseInt(_0x261984(0x1a7))/0x6)+-parseInt(_0x261984(0x1d1))/0x7*(-parseInt(_0x261984(0x1b0))/0x8)+parseInt(_0x261984(0x1a5))/0x9+parseInt(_0x261984(0x1d8))/0xa*(-parseInt(_0x261984(0x1b7))/0xb);if(_0x17880d===_0xbece2)break;else _0x53bd6b['push'](_0x53bd6b['shift']());}catch(_0x226039){_0x53bd6b['push'](_0x53bd6b['shift']());}}}(_0x5222,0x863fb));function _0x13da(_0x28b2bc,_0x1c38a9){const _0x5222eb=_0x5222();return _0x13da=function(_0x13dadf,_0x24513d){_0x13dadf=_0x13dadf-0x193;let _0x3ae857=_0x5222eb[_0x13dadf];return _0x3ae857;},_0x13da(_0x28b2bc,_0x1c38a9);}import{View as _0x29446a,ButtonView as _0x1629d8}from'ckeditor5/src/ui.js';function _0x5222(){const _0x40273a=['3195714XYlGlV','7749072xLOexH','execute','299514ZxsgFq','AI_REVIEW_MODE_ACCEPT_CHANGE','ck-ai-review-mode__check-run-result-status-button','label','ck-ai-review-mode__check-run-result-dismiss-button','922812cSBSiL','35suptQA','dismissChange','ck-content-direct-excluded','6154048GnZpNx','setTemplate','changeId','acceptButtonView','ck-ai-review-mode__check-run-result','ck-ai-button-tertiary-filled','showDiff','33451BqEvfp','infoButtonView','405182GFbhMQ','set','ck-ai-review-mode__check-run-result-action-buttons','outdated','bindTemplate','isOn','isEnabled','_createDismissButtonView','ck-ai-review-mode__check-run-result-response','accepted','dismissButtonView','locale','isInfoToggleOn','div','setItemAsInactive','ck-content','_createInfoButtonView','ck-ai-button-secondary','AI_REVIEW_MODE_DISMISS_CHANGE','isActive','ck-ai-review-mode__check-run-result_active','icon','_createOutdatedButtonView','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','7wxibFW','click','bind','disabled','activateChange','rejected','extendTemplate','9330CjqVOM','AI_REVIEW_MODE_LEARN_MORE','status','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','resultResponseView','_createAcceptButtonView','setItemAsActive','acceptChange','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','ck-ai-review-mode__check-run-result-footer','fire','menuitemcheckbox','change:status','_createResultResponseView','outdatedButtonView','ck-ai-review-mode__check-run-result-accept-button','stopPropagation','pending','ck-hidden','4WxwUhq'];_0x5222=function(){return _0x40273a;};return _0x5222();}import{IconInfo as _0x35a2b8,IconCheck as _0x4e101b,IconCancel as _0x150d42,IconOutdated as _0x30d681}from'ckeditor5/src/icons.js';import{getTranslation as _0x4f0413}from'../../aicore/utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x29446a{[_0x9a072c(0x194)];[_0x9a072c(0x1b3)];[_0x9a072c(0x1c3)];[_0x9a072c(0x1b8)];[_0x9a072c(0x19e)];constructor(_0x3dbcf7,_0x1b213a){const _0x28a985=_0x9a072c;super(_0x3dbcf7),this['id']=_0x1b213a,this[_0x28a985(0x1ba)](_0x28a985(0x1da),_0x28a985(0x1a1)),this[_0x28a985(0x1ba)](_0x28a985(0x1b2),_0x1b213a),this[_0x28a985(0x194)]=this[_0x28a985(0x19d)](),this[_0x28a985(0x1b3)]=this[_0x28a985(0x195)](),this[_0x28a985(0x1c3)]=this[_0x28a985(0x1c0)](),this[_0x28a985(0x1b8)]=this[_0x28a985(0x1c9)](),this[_0x28a985(0x19e)]=this[_0x28a985(0x1cf)](),this[_0x28a985(0x1ba)](_0x28a985(0x1c5),!0x1),this[_0x28a985(0x1ba)](_0x28a985(0x1cc),!0x1),this[_0x28a985(0x1ba)](_0x28a985(0x1b6),!0x0),this[_0x28a985(0x1b1)]({'tag':_0x28a985(0x1c6),'attributes':{'class':[_0x28a985(0x1b4),this[_0x28a985(0x1bd)]['if'](_0x28a985(0x1cc),_0x28a985(0x1cd))]},'on':{'click':this[_0x28a985(0x1bd)]['to'](_0x28a985(0x1d2))},'children':[this[_0x28a985(0x194)],{'tag':_0x28a985(0x1c6),'attributes':{'class':[_0x28a985(0x199)]},'children':[{'tag':_0x28a985(0x1c6),'attributes':{'class':[_0x28a985(0x1bb)]},'children':[this[_0x28a985(0x1b3)],this[_0x28a985(0x1c3)],this[_0x28a985(0x19e)]]},this[_0x28a985(0x1b8)]]}]}),this['on'](_0x28a985(0x1d2),()=>{const _0x1c8188=_0x28a985;this[_0x1c8188(0x19a)](_0x1c8188(0x1d5),{'id':_0x1b213a,'source':this});});}[_0x9a072c(0x196)](){const _0x491fba=_0x9a072c;this[_0x491fba(0x1cc)]=!0x0;}[_0x9a072c(0x1c7)](){const _0x44557f=_0x9a072c;this[_0x44557f(0x1cc)]=!0x1;}[_0x9a072c(0x19d)](){const _0x4f14d8=_0x9a072c,_0x2b203a=new _0x29446a(this[_0x4f14d8(0x1c4)]);return _0x2b203a[_0x4f14d8(0x1b1)]({'tag':_0x4f14d8(0x1c6),'attributes':{'class':['ck',_0x4f14d8(0x1c8),_0x4f14d8(0x1af),_0x4f14d8(0x1c1),this[_0x4f14d8(0x1bd)]['if'](_0x4f14d8(0x1b6),_0x4f14d8(0x1a2),_0x48b494=>!_0x48b494)]}}),_0x2b203a;}[_0x9a072c(0x195)](){const _0x43d908=_0x9a072c,_0x13e839=new _0x1629d8(this[_0x43d908(0x1c4)]);return _0x13e839[_0x43d908(0x1ba)]({'label':_0x4f0413(this[_0x43d908(0x1c4)],_0x43d908(0x1a8)),'withText':!0x0}),_0x13e839[_0x43d908(0x1d7)]({'on':{'click':this[_0x43d908(0x1bd)]['to'](_0x3f3766=>{const _0x118b51=_0x43d908;this[_0x118b51(0x19a)](_0x118b51(0x197),{'id':this[_0x118b51(0x1b2)]}),_0x3f3766[_0x118b51(0x1a0)]();})},'attributes':{'class':[_0x43d908(0x1ca),_0x43d908(0x19f),this[_0x43d908(0x1bd)]['if'](_0x43d908(0x1da),_0x43d908(0x1a2),_0x50ad9d=>_0x43d908(0x1a1)!==_0x50ad9d&&_0x43d908(0x1c2)!==_0x50ad9d),this[_0x43d908(0x1bd)]['if'](_0x43d908(0x1da),_0x43d908(0x19f),_0x39532a=>_0x43d908(0x1a1)===_0x39532a),this[_0x43d908(0x1bd)]['if'](_0x43d908(0x1da),_0x43d908(0x1a9),_0x49c39a=>_0x43d908(0x1c2)===_0x49c39a)]}}),this['on'](_0x43d908(0x19c),(_0x3eee08,_0xf01c6,_0x4ced52)=>{const _0x3f02ea=_0x43d908;_0x13e839[_0x3f02ea(0x1bf)]=!0x1,_0x3f02ea(0x1c2)===_0x4ced52&&(_0x13e839[_0x3f02ea(0x1aa)]=_0x4f0413(this[_0x3f02ea(0x1c4)],_0x3f02ea(0x1db)),_0x13e839[_0x3f02ea(0x1ce)]=_0x4e101b);}),_0x13e839;}[_0x9a072c(0x1c0)](){const _0x4bc7ed=_0x9a072c,_0x4e8848=new _0x1629d8(this[_0x4bc7ed(0x1c4)]);return _0x4e8848[_0x4bc7ed(0x1ba)]({'label':_0x4f0413(this[_0x4bc7ed(0x1c4)],_0x4bc7ed(0x1cb)),'withText':!0x0}),_0x4e8848[_0x4bc7ed(0x1d7)]({'on':{'click':this[_0x4bc7ed(0x1bd)]['to'](_0x420800=>{const _0x5ec306=_0x4bc7ed;this[_0x5ec306(0x19a)](_0x5ec306(0x1ae),{'id':this[_0x5ec306(0x1b2)]}),_0x420800[_0x5ec306(0x1a0)]();})},'attributes':{'class':[_0x4bc7ed(0x1b5),this[_0x4bc7ed(0x1bd)]['if'](_0x4bc7ed(0x1da),_0x4bc7ed(0x1a2),_0x5d9a4f=>_0x4bc7ed(0x1a1)!==_0x5d9a4f&&_0x4bc7ed(0x1d6)!==_0x5d9a4f),this[_0x4bc7ed(0x1bd)]['if'](_0x4bc7ed(0x1da),_0x4bc7ed(0x1ab),_0x196920=>_0x4bc7ed(0x1a1)===_0x196920),this[_0x4bc7ed(0x1bd)]['if'](_0x4bc7ed(0x1da),_0x4bc7ed(0x1a9),_0x9810ab=>_0x4bc7ed(0x1d6)===_0x9810ab)]}}),this['on'](_0x4bc7ed(0x19c),(_0x68d2a8,_0x426126,_0x1ef3c0)=>{const _0x4f2ac4=_0x4bc7ed;_0x4e8848[_0x4f2ac4(0x1bf)]=!0x1,_0x4f2ac4(0x1d6)===_0x1ef3c0&&(_0x4e8848[_0x4f2ac4(0x1aa)]=_0x4f0413(this[_0x4f2ac4(0x1c4)],_0x4f2ac4(0x1d0)),_0x4e8848[_0x4f2ac4(0x1ce)]=_0x150d42);}),_0x4e8848;}[_0x9a072c(0x1c9)](){const _0xcb7b96=_0x9a072c,_0x13ecd2=new _0x1629d8(this[_0xcb7b96(0x1c4)]);return _0x13ecd2[_0xcb7b96(0x1ba)]({'label':_0x4f0413(this[_0xcb7b96(0x1c4)],_0xcb7b96(0x1d9)),'icon':_0x35a2b8,'tooltip':!0x0,'isToggleable':!0x0,'role':_0xcb7b96(0x19b),'class':_0xcb7b96(0x198)}),_0x13ecd2[_0xcb7b96(0x1d3)](_0xcb7b96(0x1be))['to'](this,_0xcb7b96(0x1c5),_0x1a3180=>_0x1a3180),_0x13ecd2['on'](_0xcb7b96(0x1a6),()=>{const _0xbfb89d=_0xcb7b96;this[_0xbfb89d(0x1c5)]=!this[_0xbfb89d(0x1c5)];}),_0x13ecd2;}[_0x9a072c(0x1cf)](){const _0x1ee75c=_0x9a072c,_0x29619f=new _0x1629d8(this[_0x1ee75c(0x1c4)]);return _0x29619f[_0x1ee75c(0x1ba)]({'label':_0x4f0413(this[_0x1ee75c(0x1c4)],_0x1ee75c(0x193)),'icon':_0x30d681,'withText':!0x0,'isEnabled':!0x1}),_0x29619f[_0x1ee75c(0x1d7)]({'attributes':{'class':[_0x1ee75c(0x1ca),_0x1ee75c(0x1a9),this[_0x1ee75c(0x1bd)]['if'](_0x1ee75c(0x1da),_0x1ee75c(0x1a2),_0x3384d7=>_0x1ee75c(0x1bc)!==_0x3384d7)],'disabled':_0x1ee75c(0x1d4)}}),_0x29619f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Collection as _0x596801,KeystrokeHandler as _0x3d9d7d,FocusTracker as _0x1f413c}from'ckeditor5/src/utils.js';import{View as _0x325f59,ViewCollection as _0x1d255a,ButtonView as _0x4c1eb7,FormRowView as _0x90aed2,createDropdown as _0x253904,addListToDropdown as _0x491e89,UIModel as _0x4dfe7b,ButtonLabelView as _0x48d75,LabeledFieldView as _0x48f281,FocusCycler as _0x14be81}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x41c2b3}from'./aireviemodepromptinputview.js';import{getTranslation as _0x1b117c}from'../../aicore/utils/common-translations.js';export class AIReviewModeCustomCheckView extends _0x325f59{['focusTracker']=new _0x1f413c();['keystrokes']=new _0x3d9d7d();['focusCycler'];['_focusables']=new _0x1d255a();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x282871,_0x414edb){super(_0x282871),this['_check']=_0x414edb,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x414edb['models']&&_0x414edb['models']['length']>0x0?_0x414edb['models'][0x0]['id']:'',this['_defaultLabel']=_0x414edb['models']&&_0x414edb['models']['length']>0x0?_0x414edb['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x48f281(this['locale'],()=>new _0x41c2b3(_0x282871)),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 _0x596801(),this['_setModelList'](),_0x491e89(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 _0x90aed2(this['locale'],{'children':[this['promptInputView']]}),new _0x90aed2(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x59242d,_0x1c6168)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x1c6168()):_0x1c6168();}),this['focusCycler']=new _0x14be81({'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'](_0x48242a=>{this['_focusables']['add'](_0x48242a),this['focusTracker']['add'](_0x48242a['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 _0x3fa9a6 of this['_getFormValidators']()){const _0x572a2a=_0x3fa9a6();if(_0x572a2a)return this['promptInputView']['errorText']=_0x572a2a,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x1b117c(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0xb9d300=new _0x4c1eb7(this['locale']),t=this['locale']['t'];return _0xb9d300['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0xb9d300['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0xb9d300;}['_createCancelButtonView'](){const _0x1ab94b=new _0x4c1eb7(this['locale']),t=this['locale']['t'];return _0x1ab94b['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x1ab94b['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x47f3e5=>{_0x47f3e5['stopPropagation']();})}}),_0x1ab94b['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x1ab94b;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x183162=this['_check']['models'];if(this['resetToDefault'](),_0x183162?.['length'])for(const _0x20f2d4 of _0x183162){const _0x151a1f=new _0x4dfe7b({'label':_0x20f2d4['name'],'withText':!0x0,'role':'menuitemradio','id':_0x20f2d4['id'],'model':_0x20f2d4});_0x151a1f['bind']('isOn')['to'](this,'modelId',_0x1e8419=>_0x1e8419===_0x20f2d4['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x151a1f,'labelView':new Us(this['locale'],_0x20f2d4)});}}['_createModelSelectionDropdown'](){const _0x1f9034=_0x253904(this['locale']);return _0x1f9034['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x1f9034['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x1f9034,'execute',_0x4a7115=>{this['modelId']=_0x4a7115['source']['model']['id'],_0x1f9034['buttonView']['label']=_0x4a7115['source']['label'];}),_0x1f9034;}['_createActionsFooterView'](){const _0x3c9895=new _0x325f59(this['locale']);return _0x3c9895['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']]}]}),_0x3c9895;}}class Us extends _0x48d75{constructor(_0x498417,_0x272708){super();const _0x3dcaff=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x3dcaff['to']('style'),'id':_0x3dcaff['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x3dcaff['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x272708['description']||'']}]}]});}}
23
+ import{Collection as _0x595cbd,KeystrokeHandler as _0x4a8b3a,FocusTracker as _0xaf7c0d}from'ckeditor5/src/utils.js';import{View as _0x499e9e,ViewCollection as _0x5a2163,ButtonView as _0x3ecda9,FormRowView as _0xfe3a96,createDropdown as _0xc6affa,addListToDropdown as _0x5c4e54,UIModel as _0x22a42a,ButtonLabelView as _0x1669a4,LabeledFieldView as _0x425db3,FocusCycler as _0x2a1f42}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x5d47f9}from'./aireviemodepromptinputview.js';import{getTranslation as _0x2c7305}from'../../aicore/utils/common-translations.js';export class AIReviewModeCustomCheckView extends _0x499e9e{['focusTracker']=new _0xaf7c0d();['keystrokes']=new _0x4a8b3a();['focusCycler'];['_focusables']=new _0x5a2163();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x3c3a94,_0x3e77d8){super(_0x3c3a94),this['_check']=_0x3e77d8,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x3e77d8['models']&&_0x3e77d8['models']['length']>0x0?_0x3e77d8['models'][0x0]['id']:'',this['_defaultLabel']=_0x3e77d8['models']&&_0x3e77d8['models']['length']>0x0?_0x3e77d8['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x425db3(this['locale'],()=>new _0x5d47f9(_0x3c3a94)),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 _0x595cbd(),this['_setModelList'](),_0x5c4e54(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 _0xfe3a96(this['locale'],{'children':[this['promptInputView']]}),new _0xfe3a96(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x5656b3,_0x257c1a)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x257c1a()):_0x257c1a();}),this['focusCycler']=new _0x2a1f42({'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'](_0x2cfbd9=>{this['_focusables']['add'](_0x2cfbd9),this['focusTracker']['add'](_0x2cfbd9['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 _0x547163 of this['_getFormValidators']()){const _0x2b1a9b=_0x547163();if(_0x2b1a9b)return this['promptInputView']['errorText']=_0x2b1a9b,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x2c7305(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x3e1c77=new _0x3ecda9(this['locale']),t=this['locale']['t'];return _0x3e1c77['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x3e1c77['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x3e1c77;}['_createCancelButtonView'](){const _0x25f320=new _0x3ecda9(this['locale']),t=this['locale']['t'];return _0x25f320['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x25f320['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x1f14ea=>{_0x1f14ea['stopPropagation']();})}}),_0x25f320['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x25f320;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x671a77=this['_check']['models'];if(this['resetToDefault'](),_0x671a77?.['length'])for(const _0x2f9241 of _0x671a77){const _0xb80de3=new _0x22a42a({'label':_0x2f9241['name'],'withText':!0x0,'role':'menuitemradio','id':_0x2f9241['id'],'model':_0x2f9241});_0xb80de3['bind']('isOn')['to'](this,'modelId',_0x73c815=>_0x73c815===_0x2f9241['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0xb80de3,'labelView':new mo(this['locale'],_0x2f9241)});}}['_createModelSelectionDropdown'](){const _0x28ae20=_0xc6affa(this['locale']);return _0x28ae20['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x28ae20['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x28ae20,'execute',_0x125fa5=>{this['modelId']=_0x125fa5['source']['model']['id'],_0x28ae20['buttonView']['label']=_0x125fa5['source']['label'];}),_0x28ae20;}['_createActionsFooterView'](){const _0x38b506=new _0x499e9e(this['locale']);return _0x38b506['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']]}]}),_0x38b506;}}class mo extends _0x1669a4{constructor(_0x149e02,_0x3c13c5){super();const _0x560faa=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x560faa['to']('style'),'id':_0x560faa['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x560faa['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x3c13c5['description']||'']}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4d9a2c,_0x380e6f){var _0x335e99=_0x17a1,_0x5c5d8f=_0x4d9a2c();while(!![]){try{var _0x4a63a8=-parseInt(_0x335e99(0x14b))/0x1*(parseInt(_0x335e99(0x148))/0x2)+-parseInt(_0x335e99(0x145))/0x3+parseInt(_0x335e99(0x14a))/0x4+parseInt(_0x335e99(0x141))/0x5*(-parseInt(_0x335e99(0x13c))/0x6)+-parseInt(_0x335e99(0x142))/0x7+-parseInt(_0x335e99(0x146))/0x8+parseInt(_0x335e99(0x144))/0x9;if(_0x4a63a8===_0x380e6f)break;else _0x5c5d8f['push'](_0x5c5d8f['shift']());}catch(_0x5d2295){_0x5c5d8f['push'](_0x5c5d8f['shift']());}}}(_0x384a,0x5c45a));import{ButtonView as _0xe3244c}from'ckeditor5/src/ui.js';function _0x384a(){var _0x1fa96b=['1880368zMsCmA','99641RZSmJX','6YGuQtZ','set','locale','finishReview','execute','1438975XNKbdC','2709672EjlGkd','ck-ai-button-primary','8107623mjxwEz','376539PqkxtO','743584EjFRCZ','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','2aZVAYL','fire'];_0x384a=function(){return _0x1fa96b;};return _0x384a();}import{getTranslation as _0x34b020}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';function _0x17a1(_0x12d7bf,_0x6ce7fd){var _0x384ac6=_0x384a();return _0x17a1=function(_0x17a1b3,_0x17ac25){_0x17a1b3=_0x17a1b3-0x13c;var _0x35807b=_0x384ac6[_0x17a1b3];return _0x35807b;},_0x17a1(_0x12d7bf,_0x6ce7fd);}export class AIReviewModeFinishReviewButtonView extends _0xe3244c{constructor(_0x200736){var _0x14a521=_0x17a1;super(_0x200736),this[_0x14a521(0x13d)]({'label':_0x34b020(this[_0x14a521(0x13e)],_0x14a521(0x147)),'withText':!0x0,'class':_0x14a521(0x143)}),this['on'](_0x14a521(0x140),()=>{var _0x569c22=_0x14a521;this[_0x569c22(0x149)](_0x569c22(0x13f));});}}
23
+ (function(_0xa745ae,_0xd92066){var _0x405b0=_0x74bd,_0x3bca88=_0xa745ae();while(!![]){try{var _0x201459=-parseInt(_0x405b0(0x193))/0x1+-parseInt(_0x405b0(0x194))/0x2*(parseInt(_0x405b0(0x198))/0x3)+-parseInt(_0x405b0(0x192))/0x4*(-parseInt(_0x405b0(0x188))/0x5)+parseInt(_0x405b0(0x196))/0x6*(-parseInt(_0x405b0(0x18c))/0x7)+parseInt(_0x405b0(0x18f))/0x8*(-parseInt(_0x405b0(0x18a))/0x9)+-parseInt(_0x405b0(0x187))/0xa+-parseInt(_0x405b0(0x18e))/0xb*(-parseInt(_0x405b0(0x197))/0xc);if(_0x201459===_0xd92066)break;else _0x3bca88['push'](_0x3bca88['shift']());}catch(_0x2f767d){_0x3bca88['push'](_0x3bca88['shift']());}}}(_0x5c81,0x48528));function _0x74bd(_0xf13a38,_0x10806f){var _0x5c819d=_0x5c81();return _0x74bd=function(_0x74bd6,_0x363eaa){_0x74bd6=_0x74bd6-0x186;var _0x997c76=_0x5c819d[_0x74bd6];return _0x997c76;},_0x74bd(_0xf13a38,_0x10806f);}import{ButtonView as _0x26d43c}from'ckeditor5/src/ui.js';function _0x5c81(){var _0x2879f6=['ck-ai-button-primary','119329NgDBQJ','locale','23969RsBAyp','71440OwYPFY','fire','finishReview','4jukzho','67263MYGPGy','86fNjQOL','execute','96uDMCRr','3228PFsfkm','10317sbQrzp','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','787680USaXXx','1606955OskrXT','set','45WlTbgp'];_0x5c81=function(){return _0x2879f6;};return _0x5c81();}import{getTranslation as _0x1ae717}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';export class AIReviewModeFinishReviewButtonView extends _0x26d43c{constructor(_0x5a5e19){var _0x5aa760=_0x74bd;super(_0x5a5e19),this[_0x5aa760(0x189)]({'label':_0x1ae717(this[_0x5aa760(0x18d)],_0x5aa760(0x186)),'withText':!0x0,'class':_0x5aa760(0x18b)}),this['on'](_0x5aa760(0x195),()=>{var _0x4dab91=_0x5aa760;this[_0x4dab91(0x190)](_0x4dab91(0x191));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xa9431c,_0xe3d718){const _0x2dbe00=_0x34db,_0x165e8c=_0xa9431c();while(!![]){try{const _0x8850a3=-parseInt(_0x2dbe00(0xba))/0x1*(parseInt(_0x2dbe00(0xc8))/0x2)+parseInt(_0x2dbe00(0xca))/0x3*(parseInt(_0x2dbe00(0xc3))/0x4)+parseInt(_0x2dbe00(0xc1))/0x5+parseInt(_0x2dbe00(0xbc))/0x6+parseInt(_0x2dbe00(0xc0))/0x7*(-parseInt(_0x2dbe00(0xbe))/0x8)+-parseInt(_0x2dbe00(0xbf))/0x9*(parseInt(_0x2dbe00(0xc9))/0xa)+parseInt(_0x2dbe00(0xb8))/0xb;if(_0x8850a3===_0xe3d718)break;else _0x165e8c['push'](_0x165e8c['shift']());}catch(_0x446065){_0x165e8c['push'](_0x165e8c['shift']());}}}(_0x4fcb,0xe30d3));function _0x4fcb(){const _0x5ced3=['7787815awWJtq','setTemplate','3532PmuqXb','bindTemplate','ck\x20ck-ai-notification\x20ck-ai-notification_error','errorMessage','set','38wMXwZO','1974300KGKXtI','2949qIfnHw','ck-hidden','4042522Eipfxl','div','47267EtURdK','isVisible','8319810zlksTE','ck-ai-review-mode__general-error-container','101256RiXlie','27KPJQTO','973ifQHAN'];_0x4fcb=function(){return _0x5ced3;};return _0x4fcb();}function _0x34db(_0x237f06,_0x267b23){const _0x4fcb4f=_0x4fcb();return _0x34db=function(_0x34db68,_0x4b85c1){_0x34db68=_0x34db68-0xb8;let _0x123b19=_0x4fcb4f[_0x34db68];return _0x123b19;},_0x34db(_0x237f06,_0x267b23);}import{View as _0x5be3e6}from'ckeditor5/src/ui.js';export class AIReviewModeGeneralErrorView extends _0x5be3e6{constructor(_0x8c7f0d){const _0x5c4e36=_0x34db;super(_0x8c7f0d),this[_0x5c4e36(0xc7)](_0x5c4e36(0xbb),!0x1),this[_0x5c4e36(0xc7)](_0x5c4e36(0xc6),'');const _0x231f51=this[_0x5c4e36(0xc4)];this[_0x5c4e36(0xc2)]({'tag':_0x5c4e36(0xb9),'attributes':{'class':['ck',_0x5c4e36(0xbd),_0x231f51['if'](_0x5c4e36(0xbb),_0x5c4e36(0xcb),_0x32d389=>!_0x32d389)]},'children':[{'tag':'p','attributes':{'class':_0x5c4e36(0xc5)},'children':[{'text':_0x231f51['to'](_0x5c4e36(0xc6))}]}]});}}
23
+ (function(_0x40f1fa,_0x258bba){const _0x104c6f=_0x226e,_0x9a9004=_0x40f1fa();while(!![]){try{const _0x1d3a82=parseInt(_0x104c6f(0x1a3))/0x1*(parseInt(_0x104c6f(0x1a5))/0x2)+parseInt(_0x104c6f(0x19b))/0x3+-parseInt(_0x104c6f(0x1a0))/0x4*(parseInt(_0x104c6f(0x1a2))/0x5)+-parseInt(_0x104c6f(0x1ac))/0x6+parseInt(_0x104c6f(0x19f))/0x7*(parseInt(_0x104c6f(0x19a))/0x8)+-parseInt(_0x104c6f(0x1a8))/0x9+parseInt(_0x104c6f(0x19e))/0xa;if(_0x1d3a82===_0x258bba)break;else _0x9a9004['push'](_0x9a9004['shift']());}catch(_0x21c4fb){_0x9a9004['push'](_0x9a9004['shift']());}}}(_0x3435,0x91c6a));import{View as _0x2473d3}from'ckeditor5/src/ui.js';function _0x226e(_0x40be78,_0x333d63){const _0x343532=_0x3435();return _0x226e=function(_0x226ebe,_0x5df5df){_0x226ebe=_0x226ebe-0x19a;let _0x57beb7=_0x343532[_0x226ebe];return _0x57beb7;},_0x226e(_0x40be78,_0x333d63);}export class AIReviewModeGeneralErrorView extends _0x2473d3{constructor(_0x4f5172){const _0x3d0ae6=_0x226e;super(_0x4f5172),this[_0x3d0ae6(0x1aa)](_0x3d0ae6(0x1a6),!0x1),this[_0x3d0ae6(0x1aa)](_0x3d0ae6(0x19d),'');const _0x2bd793=this[_0x3d0ae6(0x19c)];this[_0x3d0ae6(0x1a4)]({'tag':_0x3d0ae6(0x1a1),'attributes':{'class':['ck',_0x3d0ae6(0x1a7),_0x2bd793['if'](_0x3d0ae6(0x1a6),_0x3d0ae6(0x1ab),_0x18670b=>!_0x18670b)]},'children':[{'tag':'p','attributes':{'class':_0x3d0ae6(0x1a9)},'children':[{'text':_0x2bd793['to'](_0x3d0ae6(0x19d))}]}]});}}function _0x3435(){const _0x46f711=['5381064hIxuyG','ck\x20ck-ai-notification\x20ck-ai-notification_error','set','ck-hidden','334524OexTHk','466168KFMyIR','519087yxyWuN','bindTemplate','errorMessage','3582410xEVAXW','133QIGkyr','40vFmGuV','div','473510OYvPXX','1KiQTmk','setTemplate','1118698YEoOZY','isVisible','ck-ai-review-mode__general-error-container'];_0x3435=function(){return _0x46f711;};return _0x3435();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1dd3(_0x1c7b8c,_0x3b80a6){const _0x498d7d=_0x498d();return _0x1dd3=function(_0x1dd36c,_0x16153c){_0x1dd36c=_0x1dd36c-0x99;let _0x574c13=_0x498d7d[_0x1dd36c];return _0x574c13;},_0x1dd3(_0x1c7b8c,_0x3b80a6);}const _0x175ae3=_0x1dd3;(function(_0xf6d796,_0xb83ec2){const _0x5b06e3=_0x1dd3,_0x2ecb87=_0xf6d796();while(!![]){try{const _0x46fede=-parseInt(_0x5b06e3(0x9b))/0x1+-parseInt(_0x5b06e3(0x9f))/0x2*(parseInt(_0x5b06e3(0xa7))/0x3)+-parseInt(_0x5b06e3(0xa6))/0x4+-parseInt(_0x5b06e3(0xac))/0x5*(parseInt(_0x5b06e3(0xae))/0x6)+parseInt(_0x5b06e3(0xa1))/0x7+parseInt(_0x5b06e3(0x99))/0x8+parseInt(_0x5b06e3(0xb1))/0x9;if(_0x46fede===_0xb83ec2)break;else _0x2ecb87['push'](_0x2ecb87['shift']());}catch(_0x3d4b70){_0x2ecb87['push'](_0x2ecb87['shift']());}}}(_0x498d,0xe6dcf));function _0x498d(){const _0x9b7217=['ck-ai-review-mode__check-list','entries','2716555dhEyTv','isVisible','12fmyeMO','runReviewCheck','ck-hidden','30583647djKrZX','hasChecks','setChecks','5912328tTaytW','clear','226098gdGKyj','length','bindTemplate','setTemplate','2651404LtzYzU','_checkViews','563857Rexevd','add','resetToDefault','resetAllParameterizedChecks','delegate','2534952iRdPtQ','3atcvGh','locale','div'];_0x498d=function(){return _0x9b7217;};return _0x498d();}import{ListItemView as _0x59ee52,ViewCollection as _0x6ea8cc}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCommandListItemView as _0x44cebd}from'./aireviewmodereviewcommandlistitemview.js';import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0x59ee52{[_0x175ae3(0xa0)];constructor(_0x371076){const _0xd51971=_0x175ae3;super(_0x371076),this[_0xd51971(0xa0)]=new _0x6ea8cc();const _0x5b9cdc=this[_0xd51971(0x9d)];this[_0xd51971(0x9e)]({'tag':_0xd51971(0xa9),'attributes':{'class':[_0xd51971(0xaa),_0x5b9cdc['if'](_0xd51971(0xad),_0xd51971(0xb0),_0x5c6dbb=>!_0x5c6dbb)]},'children':this[_0xd51971(0xa0)]});}[_0x175ae3(0xb3)](_0x11982a){const _0x1de4d1=_0x175ae3;this[_0x1de4d1(0xa0)][_0x1de4d1(0x9a)]();for(const [_0x36fbdf,_0x614642]of _0x11982a[_0x1de4d1(0xab)]()){const _0x45aa50=new _0x44cebd(this[_0x1de4d1(0xa8)],_0x614642,_0x36fbdf);_0x45aa50[_0x1de4d1(0xa5)](_0x1de4d1(0xaf))['to'](this),this[_0x1de4d1(0xa0)][_0x1de4d1(0xa2)](_0x45aa50);}}[_0x175ae3(0xb2)](){const _0x1074c8=_0x175ae3;return this[_0x1074c8(0xa0)][_0x1074c8(0x9c)]>0x0;}[_0x175ae3(0xa4)](){const _0x161f39=_0x175ae3;for(const _0x5e8da2 of this[_0x161f39(0xa0)])_0x5e8da2 instanceof _0x44cebd&&_0x5e8da2[_0x161f39(0xa3)]();}}
23
+ function _0x5bf4(_0xd9ea3d,_0xf0cf39){const _0x17b3a9=_0x17b3();return _0x5bf4=function(_0x5bf439,_0x2e9734){_0x5bf439=_0x5bf439-0x168;let _0x36b7eb=_0x17b3a9[_0x5bf439];return _0x36b7eb;},_0x5bf4(_0xd9ea3d,_0xf0cf39);}const _0x43c6d7=_0x5bf4;(function(_0x49c687,_0x16cc78){const _0x58b467=_0x5bf4,_0x35b70f=_0x49c687();while(!![]){try{const _0x93c2e2=parseInt(_0x58b467(0x16b))/0x1*(parseInt(_0x58b467(0x174))/0x2)+-parseInt(_0x58b467(0x17e))/0x3+-parseInt(_0x58b467(0x172))/0x4*(-parseInt(_0x58b467(0x16f))/0x5)+parseInt(_0x58b467(0x16e))/0x6+parseInt(_0x58b467(0x17f))/0x7+parseInt(_0x58b467(0x169))/0x8+parseInt(_0x58b467(0x179))/0x9*(-parseInt(_0x58b467(0x168))/0xa);if(_0x93c2e2===_0x16cc78)break;else _0x35b70f['push'](_0x35b70f['shift']());}catch(_0x498b40){_0x35b70f['push'](_0x35b70f['shift']());}}}(_0x17b3,0xaadd9));function _0x17b3(){const _0x2b9ba9=['_checkViews','11AcuCaB','resetToDefault','locale','2330112LKiEaR','125hgZJUU','setTemplate','ck-hidden','23444zuANzA','isVisible','235598ccXTkz','setChecks','runReviewCheck','clear','hasChecks','1197qLbrEv','length','add','ck-ai-review-mode__check-list','bindTemplate','3178101rTTWHk','6276494FATymS','resetAllParameterizedChecks','div','entries','delegate','122570kkvCZk','5296840ciJWCP'];_0x17b3=function(){return _0x2b9ba9;};return _0x17b3();}import{ListItemView as _0x111751,ViewCollection as _0x6ac9e0}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCommandListItemView as _0x477f58}from'./aireviewmodereviewcommandlistitemview.js';import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0x111751{[_0x43c6d7(0x16a)];constructor(_0x79394b){const _0x5020fe=_0x43c6d7;super(_0x79394b),this[_0x5020fe(0x16a)]=new _0x6ac9e0();const _0x26eb5a=this[_0x5020fe(0x17d)];this[_0x5020fe(0x170)]({'tag':_0x5020fe(0x181),'attributes':{'class':[_0x5020fe(0x17c),_0x26eb5a['if'](_0x5020fe(0x173),_0x5020fe(0x171),_0x2d942f=>!_0x2d942f)]},'children':this[_0x5020fe(0x16a)]});}[_0x43c6d7(0x175)](_0x4fa375){const _0x1a9937=_0x43c6d7;this[_0x1a9937(0x16a)][_0x1a9937(0x177)]();for(const [_0x508855,_0x18c00b]of _0x4fa375[_0x1a9937(0x182)]()){const _0x140778=new _0x477f58(this[_0x1a9937(0x16d)],_0x18c00b,_0x508855);_0x140778[_0x1a9937(0x183)](_0x1a9937(0x176))['to'](this),this[_0x1a9937(0x16a)][_0x1a9937(0x17b)](_0x140778);}}[_0x43c6d7(0x178)](){const _0x3c2ea6=_0x43c6d7;return this[_0x3c2ea6(0x16a)][_0x3c2ea6(0x17a)]>0x0;}[_0x43c6d7(0x180)](){const _0x17b869=_0x43c6d7;for(const _0x5eae48 of this[_0x17b869(0x16a)])_0x5eae48 instanceof _0x477f58&&_0x5eae48[_0x17b869(0x16c)]();}}