@ckeditor/ckeditor5-ai 47.2.0-alpha.7 → 47.2.0

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 (127) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/package.json +15 -15
  4. package/src/aiactions/aiactions.js +1 -1
  5. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  6. package/src/aiactions/model/aiactionsreply.js +1 -1
  7. package/src/aiassistant/adapters/aiadapter.js +1 -1
  8. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  9. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  10. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  11. package/src/aiassistant/aiassistant.js +1 -1
  12. package/src/aiassistant/aiassistantediting.js +1 -1
  13. package/src/aiassistant/aiassistantui.js +1 -1
  14. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  15. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  16. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  17. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  18. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  19. package/src/aiassistant/ui/form/aiformview.js +1 -1
  20. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  21. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  22. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  23. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  24. package/src/aiballoon/aiballoon.js +1 -1
  25. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  26. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  27. package/src/aiballoon/ui/aiballoonview.js +1 -1
  28. package/src/aichat/aichat.js +1 -1
  29. package/src/aichat/aichatcontroller.js +1 -1
  30. package/src/aichat/aichatui.js +1 -1
  31. package/src/aichat/model/aichatcontext.js +1 -1
  32. package/src/aichat/model/aichatconversation.js +1 -1
  33. package/src/aichat/model/aichatinteraction.js +1 -1
  34. package/src/aichat/model/aichatmodels.js +1 -1
  35. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  36. package/src/aichat/ui/aichatfeedview.js +1 -1
  37. package/src/aichat/ui/aichatheaderview.js +1 -1
  38. package/src/aichat/ui/aichatview.js +1 -1
  39. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  40. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  41. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  42. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  43. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  44. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  45. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  46. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  48. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  49. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  50. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  51. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  56. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  57. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  58. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  59. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  60. package/src/aichat/utils/eventnames.js +1 -1
  61. package/src/aichat/utils/promisequeue.js +1 -1
  62. package/src/aichathistory/aichathistory.js +1 -1
  63. package/src/aichathistory/aichathistorycontroller.js +1 -1
  64. package/src/aichathistory/aichathistoryui.js +1 -1
  65. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  66. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  67. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  68. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  69. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  70. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  71. package/src/aicore/aiconnector.js +1 -1
  72. package/src/aicore/aiediting.js +1 -1
  73. package/src/aicore/model/aicapabilities.js +1 -1
  74. package/src/aicore/model/aiinteraction.js +1 -1
  75. package/src/aicore/model/aimodels.js +1 -1
  76. package/src/aicore/model/aireply.js +1 -1
  77. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  78. package/src/aicore/pipeline/airesponseparser.js +2 -2
  79. package/src/aicore/ui/aidisclaimerview.js +1 -1
  80. package/src/aicore/ui/aiskeleton.js +1 -1
  81. package/src/aicore/ui/aispinner.js +1 -1
  82. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  83. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  84. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  85. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  86. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  87. package/src/aicore/utils/createresizebutton.js +1 -1
  88. package/src/aicore/utils/documentrange.js +1 -1
  89. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  90. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  91. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  92. package/src/aicore/utils/htmlparser.js +1 -1
  93. package/src/aicore/utils/htmlstreamer.js +1 -1
  94. package/src/aieditorintegration/aieditorintegration.js +1 -1
  95. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  96. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  97. package/src/aiquickactions/aiquickactions.js +1 -1
  98. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  99. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  100. package/src/aiquickactions/aiquickactionsui.js +1 -1
  101. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  102. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  103. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.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/aireviewchecklist.js +1 -1
  109. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  110. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  111. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  112. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  113. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  114. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  115. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  116. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  117. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  118. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  119. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  120. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  121. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  122. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  123. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  124. package/src/aitabs/aitabs.js +1 -1
  125. package/src/aitabs/tabs/aitabsview.js +1 -1
  126. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  127. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1aa025=_0x4b83;(function(_0x567f0e,_0x4c7e7b){const _0x56c5dd=_0x4b83,_0x225d5d=_0x567f0e();while(!![]){try{const _0x4741a3=-parseInt(_0x56c5dd(0x174))/0x1*(parseInt(_0x56c5dd(0x208))/0x2)+-parseInt(_0x56c5dd(0x1e9))/0x3+parseInt(_0x56c5dd(0x187))/0x4*(parseInt(_0x56c5dd(0x193))/0x5)+parseInt(_0x56c5dd(0x18f))/0x6+-parseInt(_0x56c5dd(0x16d))/0x7+parseInt(_0x56c5dd(0x173))/0x8*(-parseInt(_0x56c5dd(0x1f4))/0x9)+parseInt(_0x56c5dd(0x1ff))/0xa;if(_0x4741a3===_0x4c7e7b)break;else _0x225d5d['push'](_0x225d5d['shift']());}catch(_0x13cf3a){_0x225d5d['push'](_0x225d5d['shift']());}}}(_0x281f,0x3e690));import{ContextPlugin as _0x494ec3}from'ckeditor5/src/core.js';import{CKEditorError as _0x41f3db,logError as _0x23d9db,scrollAncestorsToShowTarget as _0xe6cbf3,scrollViewportToShowTarget as _0x37398f}from'ckeditor5/src/utils.js';import{AIConnector as _0x295a15}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x31b34f}from'./model/aireviewchecklist.js';function _0x4b83(_0x54f720,_0x372184){const _0x281f92=_0x281f();return _0x4b83=function(_0x4b83f7,_0x34b6c1){_0x4b83f7=_0x4b83f7-0x165;let _0x5bacb5=_0x281f92[_0x4b83f7];return _0x5bacb5;},_0x4b83(_0x54f720,_0x372184);}import{AIReviewSystemCheckRun as _0x2a0637}from'./model/aireviewsystemcheckrun.js';function _0x281f(){const _0x13d860=['abortReviewStream','_aiReviewModeUi','activateChange','result','finished','getCheckById','length','ai-review-mode-check-run-chunk-error','removeClass','acceptAllChanges','_currentReviewCheckRun','applyChange','AIReviewModeController','change','editing','ai-request-aborted','_DESCRIPTION','prompt','locale','title','238896iRCIiv','label','AIReviewModeEditing','addClass','requires','ck-ai-review-mode-diff','.ck-ai-review-mode__check-run-result','ai-review-mode-no-current-check-run','description','deactivateChange','reviewCheckResultAdded','932013GsnPYS','changeMarkerClick','addResultChanges','getEditor','getAll','context','ai-review-mode-check-run-failed','setAvailableChecks','error-chunk','toUpperCase','domElement','4725400wLSQBz','reviewCheckResultDeactivated','source','_onDiffChange','pluginName','contentNew','reviewCheckResultActivated','AIConnector','model','3056EVEFrH','_aiReviewModeEditing','emitter','showReviewCompletedView','message','aborted','setCheckResultTitle','markChangeAsRejected','closest','options','documentData','_OPTIONS_DATA_','showChunkErrorView','custom','showGeneralErrorView','_aiReviewCheckList','1751358IOqSPV','markChangePositionInEditorContent','data','acceptChange','diffContent','_isDiffOn','16fPWzMY','237WnrMmn','_logError','contentInitial','runReviewCheck','stopListening','dismissChange','getRoot','changes','showNoChangesView','reviewCheckRunUpdated','getReviewCheckList','showCheckRunResults','listenTo','isCustom','getChangeElement','reviewCheckResultChangeStatusUpdated','models','markChangeAsAccepted','abort','4zaZJmG','changeMarkerRestored','_aiConnector','switchToReadOnly','includes','ready','config','_changeActivationSource','3055926wIplEH','leaveReviewMode','replaceAll','_onReviewModeRunLeave','864235yjzpAJ','processedResultsCount','AI_REVIEW_CHECK_','panel','getDocumentData','currentError','ai-review-mode-check-run-general-error','getActiveChanges','ck-ai-review-mode-highlights','AIReviewModeUI','forceReadyState','changeMarkerRemoved','setActiveStateInResults','map','loading','find','ai-review-mode-source-check-not-found','status','reviewCheckResultReady','isPremiumPlugin','showReviewCheckList','init','subTitle','unmodified','isChangeActive','hideDiffInBalloon','retryReview','switchToEdit','restart','_TITLE','content','document','rejectChange','markChangeAsOutdated','hasModifications','_getTranslationWithDefault','resetActiveStateInResults','showDiffInBalloon','hideChangeBalloon','sendRating','start','updateChangeState','showActionsWhenResultIsReady','get','translate','markChangeAsPending','params','error-general','toggleDiff','showCheckRunResult','markAllChangesAsAccepted','clearAllMarkers','checks','getMarkerElementForChange','changeId','showChangeBalloon','finishReview','view','args','AI_MODEL_DESCRIPTION_','plugins','leaveReviewModeResultList','ai.reviewMode.translations','_OPTIONS_LABEL','_translateReviewChecks','isOfficialPlugin'];_0x281f=function(){return _0x13d860;};return _0x281f();}import{AIReviewCustomCheckRun as _0x28a381}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x572835}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x5144b0}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x460d6a}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x494ec3{[_0x1aa025(0x189)];[_0x1aa025(0x1d6)];[_0x1aa025(0x209)];[_0x1aa025(0x16c)];[_0x1aa025(0x1df)];[_0x1aa025(0x172)]=!0x1;[_0x1aa025(0x18e)]=null;static get[_0x1aa025(0x1ed)](){return[_0x295a15];}static get[_0x1aa025(0x203)](){const _0x21cee4=_0x1aa025;return _0x21cee4(0x1e1);}static get[_0x1aa025(0x1d4)](){return!0x0;}static get[_0x1aa025(0x1a6)](){return!0x0;}async[_0x1aa025(0x1a8)](){const _0x59e6c8=_0x1aa025;this[_0x59e6c8(0x189)]=this[_0x59e6c8(0x1f9)][_0x59e6c8(0x1cf)][_0x59e6c8(0x1be)](_0x59e6c8(0x206)),this[_0x59e6c8(0x1d6)]=this[_0x59e6c8(0x1f9)][_0x59e6c8(0x1cf)][_0x59e6c8(0x1be)](_0x59e6c8(0x19c)),this[_0x59e6c8(0x209)]=this[_0x59e6c8(0x1f9)][_0x59e6c8(0x1cf)][_0x59e6c8(0x1be)](_0x59e6c8(0x1eb));const _0x136cfd=this[_0x59e6c8(0x1f9)][_0x59e6c8(0x18d)][_0x59e6c8(0x1be)](_0x59e6c8(0x1d1));if(_0x136cfd){for(const _0x3a863d of _0x5144b0)_0x59e6c8(0x1bf)===_0x3a863d['id']&&(_0x3a863d[_0x59e6c8(0x166)][0x0][_0x59e6c8(0x16f)]=_0x136cfd);}const _0x3a906b=this[_0x59e6c8(0x1d3)](_0x5144b0);this[_0x59e6c8(0x16c)]=new _0x31b34f(_0x3a906b);const _0x22dd16=this[_0x59e6c8(0x16c)][_0x59e6c8(0x1c7)][_0x59e6c8(0x1a2)](_0x1ed798=>_0x59e6c8(0x16a)===_0x1ed798['id']);if(_0x22dd16){const _0x400d09=await new _0x572835({'connector':this[_0x59e6c8(0x189)]})[_0x59e6c8(0x1f8)]();_0x22dd16[_0x59e6c8(0x184)]=_0x400d09[_0x59e6c8(0x1a0)](_0x4e98d9=>({..._0x4e98d9,'description':this[_0x59e6c8(0x1b6)](_0x59e6c8(0x1ce)+_0x4e98d9['id'][_0x59e6c8(0x1fd)](),_0x4e98d9[_0x59e6c8(0x1f1)])}));}this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x17e),()=>{const _0xc89e26=_0x59e6c8;this[_0xc89e26(0x1d6)][_0xc89e26(0x1fb)](this[_0xc89e26(0x16c)][_0xc89e26(0x1c7)]);}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x177),async(_0xb0479e,_0x559411)=>{const _0x56c73f=_0x59e6c8,_0x4ba7cb=this[_0x56c73f(0x16c)][_0x56c73f(0x1da)](_0x559411['id']);if(_0x4ba7cb){this[_0x56c73f(0x202)](this[_0x56c73f(0x172)]),_0x559411[_0x56c73f(0x181)]?this[_0x56c73f(0x1df)]=new _0x28a381(_0x559411[_0x56c73f(0x1cd)][_0x56c73f(0x1e6)],_0x559411[_0x56c73f(0x1cd)][_0x56c73f(0x207)],this[_0x56c73f(0x209)][_0x56c73f(0x197)](),_0x4ba7cb,this[_0x56c73f(0x189)]):this[_0x56c73f(0x1df)]=new _0x2a0637(this[_0x56c73f(0x209)][_0x56c73f(0x197)](),_0x4ba7cb,this[_0x56c73f(0x189)],_0x559411[_0x56c73f(0x1c1)],_0x559411[_0x56c73f(0x1cd)]),this[_0x56c73f(0x1d6)][_0x56c73f(0x20e)](this[_0x56c73f(0x1df)][_0x56c73f(0x1e8)],this[_0x56c73f(0x1df)][_0x56c73f(0x1a9)]),this[_0x56c73f(0x1df)]['on'](_0x56c73f(0x17d),(_0x1fb39b,_0x39abce)=>{const _0x2e4039=_0x56c73f;_0x2e4039(0x16f)===_0x39abce[_0x2e4039(0x1a4)]||_0x2e4039(0x1a1)===_0x39abce[_0x2e4039(0x1a4)]?(this[_0x2e4039(0x209)][_0x2e4039(0x18a)](),this[_0x2e4039(0x1d6)][_0x2e4039(0x17f)](_0x39abce)):_0x2e4039(0x1d9)===_0x39abce[_0x2e4039(0x1a4)]?this[_0x2e4039(0x1d6)][_0x2e4039(0x20b)]():_0x2e4039(0x18c)===_0x39abce[_0x2e4039(0x1a4)]?this[_0x2e4039(0x1d6)][_0x2e4039(0x1bd)]():_0x2e4039(0x1aa)===_0x39abce[_0x2e4039(0x1a4)]?this[_0x2e4039(0x1d6)][_0x2e4039(0x17c)]():_0x2e4039(0x1c2)===_0x39abce[_0x2e4039(0x1a4)]?(this[_0x2e4039(0x1d6)][_0x2e4039(0x16b)](),this[_0x2e4039(0x175)](new _0x41f3db(_0x2e4039(0x199),this,this[_0x2e4039(0x1df)]?.[_0x2e4039(0x198)]))):_0x2e4039(0x1fc)===_0x39abce[_0x2e4039(0x1a4)]?(this[_0x2e4039(0x1d6)][_0x2e4039(0x169)](),this[_0x2e4039(0x175)](new _0x41f3db(_0x2e4039(0x1dc),this,this[_0x2e4039(0x1df)]?.[_0x2e4039(0x198)]))):_0x2e4039(0x20d)===_0x39abce[_0x2e4039(0x1a4)]&&(this[_0x2e4039(0x1df)]&&this[_0x2e4039(0x1df)][_0x2e4039(0x194)]>0x0?setTimeout(()=>{const _0x419145=_0x2e4039;this[_0x419145(0x1df)]?.[_0x419145(0x19d)]();},0x0):this[_0x2e4039(0x192)](!0x0)),_0x2e4039(0x18c)!==_0x39abce[_0x2e4039(0x1a4)]&&_0x2e4039(0x1fc)!==_0x39abce[_0x2e4039(0x1a4)]&&_0x2e4039(0x1c2)!==_0x39abce[_0x2e4039(0x1a4)]||this[_0x2e4039(0x1df)]?.[_0x2e4039(0x1ba)]();}),this[_0x56c73f(0x1df)]['on'](_0x56c73f(0x1f3),(_0x2381e5,_0x5b2583)=>{const _0x1de109=_0x56c73f;if(!this[_0x1de109(0x1df)])throw new _0x41f3db(_0x1de109(0x1f0),this);const _0x48eeda=this[_0x1de109(0x209)][_0x1de109(0x171)](_0x5b2583[_0x1de109(0x1d8)][_0x1de109(0x176)],_0x5b2583[_0x1de109(0x1d8)][_0x1de109(0x204)]);_0x5b2583[_0x1de109(0x201)][_0x1de109(0x1f6)](_0x5b2583[_0x1de109(0x1d8)]['id'],_0x48eeda);}),this[_0x56c73f(0x1df)]['on'](_0x56c73f(0x1a5),(_0x351f1b,_0x778abb)=>{const _0x89fc8d=_0x56c73f;for(const _0x4a12d8 of _0x778abb[_0x89fc8d(0x17b)])this[_0x89fc8d(0x1d6)][_0x89fc8d(0x1c4)](_0x4a12d8);this[_0x89fc8d(0x209)][_0x89fc8d(0x16e)](_0x778abb[_0x89fc8d(0x17b)],_0x778abb[_0x89fc8d(0x201)][_0x89fc8d(0x167)]);}),this[_0x56c73f(0x1df)]['on'](_0x56c73f(0x183),(_0x14accd,_0xf5d1c)=>{const _0x29bc5d=_0x56c73f;this[_0x29bc5d(0x1d6)][_0x29bc5d(0x1bc)](_0xf5d1c[_0x29bc5d(0x1e2)]['id'],_0xf5d1c[_0x29bc5d(0x1a4)]);}),this[_0x56c73f(0x1df)]['on'](_0x56c73f(0x205),(_0x309b31,_0x213e0a)=>{const _0x10f55f=_0x56c73f;this[_0x10f55f(0x1d6)][_0x10f55f(0x19f)](_0x213e0a[_0x10f55f(0x1e2)]['id']);const _0x37f236=this[_0x10f55f(0x209)][_0x10f55f(0x1c8)](_0x213e0a[_0x10f55f(0x1e2)]['id']);if(_0x37f236){if(_0x10f55f(0x1b1)===this[_0x10f55f(0x18e)]){const _0x4accee=this[_0x10f55f(0x1d6)][_0x10f55f(0x182)](_0x213e0a[_0x10f55f(0x1e2)]['id']);_0x4accee&&_0xe6cbf3(_0x4accee[_0x10f55f(0x165)](_0x10f55f(0x1ef))||_0x4accee);}else{if(_0x10f55f(0x196)===this[_0x10f55f(0x18e)]){const _0x468e01={'target':_0x37f236[_0x10f55f(0x1fe)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x37398f(_0x468e01);}}this[_0x10f55f(0x1d6)][_0x10f55f(0x1ca)](_0x213e0a[_0x10f55f(0x1e2)],_0x37f236[_0x10f55f(0x1fe)]);}}),this[_0x56c73f(0x1df)]['on'](_0x56c73f(0x200),()=>{const _0xdbd698=_0x56c73f;this[_0xdbd698(0x1d6)][_0xdbd698(0x1b7)](),this[_0xdbd698(0x1d6)][_0xdbd698(0x1b9)]();});try{await this[_0x56c73f(0x1df)][_0x56c73f(0x1bb)]();}catch(_0x5d3909){_0x5d3909 instanceof Error&&_0x5d3909[_0x56c73f(0x20c)][_0x56c73f(0x18b)](_0x56c73f(0x1e4))||(_0x5d3909 instanceof _0x41f3db?this[_0x56c73f(0x175)](_0x5d3909):this[_0x56c73f(0x175)](new _0x41f3db(_0x56c73f(0x1fa),this,{'error':_0x5d3909})));}}else this[_0x56c73f(0x175)](new _0x41f3db(_0x56c73f(0x1a3),this,{'checkId':_0x559411['id']}));}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x190),()=>{const _0x14111b=_0x59e6c8;this[_0x14111b(0x192)]();}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x1d0),()=>{const _0x1d493d=_0x59e6c8;this[_0x1d493d(0x192)](!0x0);}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x1d5),()=>{const _0x8feb08=_0x59e6c8;this[_0x8feb08(0x1df)]&&this[_0x8feb08(0x1df)][_0x8feb08(0x186)]();}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x1cb),()=>{const _0x3a5d8c=_0x59e6c8;this[_0x3a5d8c(0x192)](!0x0);}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x1de),()=>{const _0x1afb98=_0x59e6c8;if(!this[_0x1afb98(0x1df)])return;const _0x27d6f7=this[_0x1afb98(0x1df)][_0x1afb98(0x19a)]();_0x27d6f7[_0x1afb98(0x1db)]&&(this[_0x1afb98(0x209)][_0x1afb98(0x1e0)](_0x27d6f7[_0x1afb98(0x1a0)](_0x5bf972=>_0x5bf972['id'])),this[_0x1afb98(0x1df)][_0x1afb98(0x1c5)](),this[_0x1afb98(0x1df)][_0x1afb98(0x1ba)]());}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x170),(_0x55c8f5,_0x517f83)=>{const _0x4ab0c9=_0x59e6c8;this[_0x4ab0c9(0x1df)]&&this[_0x4ab0c9(0x1df)][_0x4ab0c9(0x1ab)](_0x517f83['id'])&&(this[_0x4ab0c9(0x209)][_0x4ab0c9(0x1e0)]([_0x517f83['id']]),this[_0x4ab0c9(0x1df)][_0x4ab0c9(0x185)](_0x517f83['id']),this[_0x4ab0c9(0x1d6)][_0x4ab0c9(0x1b9)](),this[_0x4ab0c9(0x1df)][_0x4ab0c9(0x1ba)](_0x517f83['id']));}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x179),(_0x3b70e3,_0xa1616d)=>{const _0x3eac5f=_0x59e6c8;this[_0x3eac5f(0x1df)]&&this[_0x3eac5f(0x1df)][_0x3eac5f(0x1ab)](_0xa1616d['id'])&&(this[_0x3eac5f(0x209)][_0x3eac5f(0x1b3)](_0xa1616d['id']),this[_0x3eac5f(0x1df)][_0x3eac5f(0x20f)](_0xa1616d['id']),this[_0x3eac5f(0x1d6)][_0x3eac5f(0x1b9)](),this[_0x3eac5f(0x1df)][_0x3eac5f(0x1ba)](_0xa1616d['id']));}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x1c3),(_0x23ebc8,_0x1bdab3)=>{const _0x28216e=_0x59e6c8;this[_0x28216e(0x172)]=_0x1bdab3['on'],this[_0x28216e(0x202)](this[_0x28216e(0x172)]);}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x1ad),async()=>{const _0x4ca516=_0x59e6c8;this[_0x4ca516(0x1df)]&&await this[_0x4ca516(0x1df)][_0x4ca516(0x1af)]();}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x1d7),(_0x2872c7,_0x20e5a5)=>{const _0x37fe5b=_0x59e6c8;this[_0x37fe5b(0x1df)]&&(this[_0x37fe5b(0x18e)]=_0x37fe5b(0x196),this[_0x37fe5b(0x1df)][_0x37fe5b(0x1d7)](_0x20e5a5['id']));}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x1f2),()=>{const _0x534eee=_0x59e6c8;this[_0x534eee(0x1df)]&&this[_0x534eee(0x1df)][_0x534eee(0x1f2)]();}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x209)][_0x59e6c8(0x20a)],_0x59e6c8(0x1f5),(_0x4e74f9,_0x22edbc)=>{const _0xbad6ef=_0x59e6c8;this[_0xbad6ef(0x1df)]&&(this[_0xbad6ef(0x18e)]=_0xbad6ef(0x1b1),this[_0xbad6ef(0x1df)][_0xbad6ef(0x1d7)](_0x22edbc[_0xbad6ef(0x1c9)]));}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x209)][_0x59e6c8(0x20a)],_0x59e6c8(0x19e),(_0x43a96a,_0x1fd9cb)=>{const _0x5a1730=_0x59e6c8;this[_0x5a1730(0x1df)]&&this[_0x5a1730(0x1df)][_0x5a1730(0x1b4)](_0x1fd9cb[_0x5a1730(0x1c9)]);}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x209)][_0x59e6c8(0x20a)],_0x59e6c8(0x188),(_0x586054,_0x4514bb)=>{const _0x46e9b7=_0x59e6c8;this[_0x46e9b7(0x1df)]&&this[_0x46e9b7(0x1df)][_0x46e9b7(0x1c0)](_0x4514bb[_0x46e9b7(0x1c9)]);});}[_0x1aa025(0x192)](_0x1290b9=!0x1){const _0xc1aa35=_0x1aa025;this[_0xc1aa35(0x1df)]&&(this[_0xc1aa35(0x1df)][_0xc1aa35(0x1b5)]||this[_0xc1aa35(0x1df)][_0xc1aa35(0x1ba)](),this[_0xc1aa35(0x1df)][_0xc1aa35(0x178)](),this[_0xc1aa35(0x1df)][_0xc1aa35(0x186)](),this[_0xc1aa35(0x1df)]=void 0x0),_0x1290b9&&this[_0xc1aa35(0x1d6)][_0xc1aa35(0x1a7)](),this[_0xc1aa35(0x209)][_0xc1aa35(0x1c6)](),this[_0xc1aa35(0x209)][_0xc1aa35(0x1ae)](),this[_0xc1aa35(0x18e)]=null;const _0x8c8c18=this[_0xc1aa35(0x209)][_0xc1aa35(0x1f7)]();_0x8c8c18&&_0x8c8c18[_0xc1aa35(0x1e3)][_0xc1aa35(0x1cc)][_0xc1aa35(0x1e2)](_0x2c6d0b=>{const _0x4f4394=_0xc1aa35,_0x34ac7f=_0x8c8c18[_0x4f4394(0x1e3)][_0x4f4394(0x1cc)][_0x4f4394(0x1b2)][_0x4f4394(0x17a)]();_0x2c6d0b[_0x4f4394(0x1dd)](_0x4f4394(0x1ee),_0x34ac7f),_0x2c6d0b[_0x4f4394(0x1dd)](_0x4f4394(0x19b),_0x34ac7f);});}[_0x1aa025(0x202)](_0x4798e8){const _0x5031a5=_0x1aa025,_0x2c4ba5=this[_0x5031a5(0x209)][_0x5031a5(0x1f7)]();_0x4798e8?this[_0x5031a5(0x1d6)][_0x5031a5(0x1ac)]():this[_0x5031a5(0x1d6)][_0x5031a5(0x1b8)](),_0x2c4ba5&&_0x2c4ba5[_0x5031a5(0x1e3)][_0x5031a5(0x1cc)][_0x5031a5(0x1e2)](_0x1ffa37=>{const _0x31127d=_0x5031a5,_0x47af30=_0x2c4ba5[_0x31127d(0x1e3)][_0x31127d(0x1cc)][_0x31127d(0x1b2)][_0x31127d(0x17a)]();_0x1ffa37[_0x31127d(0x1dd)](_0x31127d(0x1ee),_0x47af30),_0x1ffa37[_0x31127d(0x1dd)](_0x31127d(0x19b),_0x47af30),_0x1ffa37[_0x31127d(0x1ec)](_0x4798e8?_0x31127d(0x1ee):_0x31127d(0x19b),_0x47af30);});}[_0x1aa025(0x1d3)](_0x47ae49){const _0x4a6571=_0x1aa025;return _0x47ae49[_0x4a6571(0x1a0)](_0x5bafd8=>{const _0x3b36f3=_0x4a6571,_0x59845c=_0x3b36f3(0x195)+_0x5bafd8['id'][_0x3b36f3(0x1fd)]()[_0x3b36f3(0x191)]('-','_'),_0x421691={..._0x5bafd8,'title':this[_0x3b36f3(0x1b6)](_0x59845c+_0x3b36f3(0x1b0),_0x5bafd8[_0x3b36f3(0x1e8)]),'description':this[_0x3b36f3(0x1b6)](_0x59845c+_0x3b36f3(0x1e5),_0x5bafd8[_0x3b36f3(0x1f1)])};return _0x5bafd8[_0x3b36f3(0x166)]&&(_0x421691[_0x3b36f3(0x166)]=_0x5bafd8[_0x3b36f3(0x166)][_0x3b36f3(0x1a0)](_0x161b69=>({..._0x161b69,'label':this[_0x3b36f3(0x1b6)](_0x59845c+_0x3b36f3(0x1d2),_0x161b69[_0x3b36f3(0x1ea)]||''),'data':_0x161b69[_0x3b36f3(0x16f)]?_0x161b69[_0x3b36f3(0x16f)][_0x3b36f3(0x1a0)](_0x4e1a1f=>({..._0x4e1a1f,'label':this[_0x3b36f3(0x1b6)](_0x59845c+_0x3b36f3(0x168)+_0x4e1a1f['id'][_0x3b36f3(0x1fd)](),_0x4e1a1f[_0x3b36f3(0x1ea)])})):void 0x0}))),_0x421691;});}[_0x1aa025(0x1b6)](_0x2dd2db,_0x49df4d){const _0x3ea11a=_0x1aa025,_0xba1332=this[_0x3ea11a(0x1f9)][_0x3ea11a(0x1e7)],_0x34c842=_0x460d6a(_0xba1332,_0x2dd2db);return _0x34c842===_0x2dd2db?_0x49df4d:_0x34c842;}[_0x1aa025(0x175)](_0x2898b8){const _0x19dcda=_0x1aa025;_0x23d9db(_0x2898b8[_0x19dcda(0x20c)]),this[_0x19dcda(0x1d6)][_0x19dcda(0x16b)]();}}
23
+ const _0x58339a=_0x34c7;(function(_0x5055a7,_0x34208e){const _0x339235=_0x34c7,_0x531f9a=_0x5055a7();while(!![]){try{const _0x3c59d0=parseInt(_0x339235(0x23c))/0x1+-parseInt(_0x339235(0x213))/0x2+parseInt(_0x339235(0x26d))/0x3+parseInt(_0x339235(0x246))/0x4+parseInt(_0x339235(0x1cf))/0x5*(-parseInt(_0x339235(0x1ed))/0x6)+-parseInt(_0x339235(0x250))/0x7+parseInt(_0x339235(0x219))/0x8;if(_0x3c59d0===_0x34208e)break;else _0x531f9a['push'](_0x531f9a['shift']());}catch(_0x28a9cd){_0x531f9a['push'](_0x531f9a['shift']());}}}(_0x3576,0x43c5f));import{ContextPlugin as _0x24c5d2}from'ckeditor5/src/core.js';import{CKEditorError as _0x3576cd,logError as _0x46ad18,scrollAncestorsToShowTarget as _0xa00fe,scrollViewportToShowTarget as _0xc92221}from'ckeditor5/src/utils.js';import{AIConnector as _0x5a2af0}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x26058c}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x2e33d3}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0xec0af9}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x3ee920}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x121cb0}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x374ad5}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x24c5d2{[_0x58339a(0x1fa)];[_0x58339a(0x25b)];[_0x58339a(0x227)];[_0x58339a(0x22b)];[_0x58339a(0x259)];[_0x58339a(0x1d8)]=!0x1;[_0x58339a(0x1d2)]=null;static get[_0x58339a(0x24b)](){return[_0x5a2af0];}static get[_0x58339a(0x1fd)](){const _0x1bab50=_0x58339a;return _0x1bab50(0x1da);}static get[_0x58339a(0x1e1)](){return!0x0;}static get[_0x58339a(0x232)](){return!0x0;}async[_0x58339a(0x1e4)](){const _0x1f2c95=_0x58339a;this[_0x1f2c95(0x1fa)]=this[_0x1f2c95(0x1fc)][_0x1f2c95(0x25a)][_0x1f2c95(0x205)](_0x1f2c95(0x1ef)),this[_0x1f2c95(0x25b)]=this[_0x1f2c95(0x1fc)][_0x1f2c95(0x25a)][_0x1f2c95(0x205)](_0x1f2c95(0x1ff)),this[_0x1f2c95(0x227)]=this[_0x1f2c95(0x1fc)][_0x1f2c95(0x25a)][_0x1f2c95(0x205)](_0x1f2c95(0x212));const _0x29b193=this[_0x1f2c95(0x1fc)][_0x1f2c95(0x1f9)][_0x1f2c95(0x205)](_0x1f2c95(0x1d5));if(_0x29b193){for(const _0x244404 of _0x121cb0)_0x1f2c95(0x268)===_0x244404['id']&&(_0x244404[_0x1f2c95(0x1dd)][0x0][_0x1f2c95(0x21a)]=_0x29b193);}const _0x4acc48=this[_0x1f2c95(0x253)](_0x121cb0);this[_0x1f2c95(0x22b)]=new _0x26058c(_0x4acc48);const _0x433746=this[_0x1f2c95(0x22b)][_0x1f2c95(0x206)][_0x1f2c95(0x230)](_0x67ce6a=>_0x1f2c95(0x22c)===_0x67ce6a['id']);if(_0x433746){const _0x1f34b6=await new _0x3ee920({'connector':this[_0x1f2c95(0x1fa)]})[_0x1f2c95(0x1f5)]();_0x433746[_0x1f2c95(0x1f7)]=_0x1f34b6[_0x1f2c95(0x22e)](_0x549b15=>({..._0x549b15,'description':this[_0x1f2c95(0x236)](_0x1f2c95(0x1ce)+_0x549b15['id'][_0x1f2c95(0x204)](),_0x549b15[_0x1f2c95(0x24c)])}));}this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x25b)],_0x1f2c95(0x1e6),()=>{const _0x52643a=_0x1f2c95;this[_0x52643a(0x25b)][_0x52643a(0x233)](this[_0x52643a(0x22b)][_0x52643a(0x206)]);}),this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x25b)],_0x1f2c95(0x247),async(_0x45f26e,_0x37d800)=>{const _0x2fa947=_0x1f2c95,_0x156fb3=this[_0x2fa947(0x22b)][_0x2fa947(0x218)](_0x37d800['id']);if(_0x156fb3){this[_0x2fa947(0x256)](this[_0x2fa947(0x1d8)]),_0x37d800[_0x2fa947(0x1e3)]?this[_0x2fa947(0x259)]=new _0xec0af9(_0x37d800[_0x2fa947(0x1fb)][_0x2fa947(0x210)],_0x37d800[_0x2fa947(0x1fb)][_0x2fa947(0x26f)],this[_0x2fa947(0x227)][_0x2fa947(0x255)](),_0x156fb3,this[_0x2fa947(0x1fa)]):this[_0x2fa947(0x259)]=new _0x2e33d3(this[_0x2fa947(0x227)][_0x2fa947(0x255)](),_0x156fb3,this[_0x2fa947(0x1fa)],_0x37d800[_0x2fa947(0x1de)],_0x37d800[_0x2fa947(0x1fb)]),this[_0x2fa947(0x25b)][_0x2fa947(0x1d0)](this[_0x2fa947(0x259)][_0x2fa947(0x24e)],this[_0x2fa947(0x259)][_0x2fa947(0x240)]),this[_0x2fa947(0x259)]['on'](_0x2fa947(0x241),(_0x48ac99,_0x159540)=>{const _0x23a108=_0x2fa947;_0x23a108(0x21a)===_0x159540[_0x23a108(0x214)]||_0x23a108(0x21b)===_0x159540[_0x23a108(0x214)]?(this[_0x23a108(0x227)][_0x23a108(0x201)](),this[_0x23a108(0x25b)][_0x23a108(0x211)](_0x159540)):_0x23a108(0x1fe)===_0x159540[_0x23a108(0x214)]?this[_0x23a108(0x25b)][_0x23a108(0x1f3)]():_0x23a108(0x1e2)===_0x159540[_0x23a108(0x214)]?this[_0x23a108(0x25b)][_0x23a108(0x1dc)]():_0x23a108(0x20a)===_0x159540[_0x23a108(0x214)]?this[_0x23a108(0x25b)][_0x23a108(0x26c)]():_0x23a108(0x207)===_0x159540[_0x23a108(0x214)]?(this[_0x23a108(0x25b)][_0x23a108(0x265)](),this[_0x23a108(0x263)](new _0x3576cd(_0x23a108(0x269),this,this[_0x23a108(0x259)]?.[_0x23a108(0x238)]))):_0x23a108(0x215)===_0x159540[_0x23a108(0x214)]?(this[_0x23a108(0x25b)][_0x23a108(0x275)](),this[_0x23a108(0x263)](new _0x3576cd(_0x23a108(0x23b),this,this[_0x23a108(0x259)]?.[_0x23a108(0x238)]))):_0x23a108(0x22d)===_0x159540[_0x23a108(0x214)]&&(this[_0x23a108(0x259)]&&this[_0x23a108(0x259)][_0x23a108(0x217)]>0x0?setTimeout(()=>{const _0x52bd17=_0x23a108;this[_0x52bd17(0x259)]?.[_0x52bd17(0x25c)]();},0x0):this[_0x23a108(0x1ee)](!0x0)),_0x23a108(0x1e2)!==_0x159540[_0x23a108(0x214)]&&_0x23a108(0x215)!==_0x159540[_0x23a108(0x214)]&&_0x23a108(0x207)!==_0x159540[_0x23a108(0x214)]||this[_0x23a108(0x259)]?.[_0x23a108(0x276)]();}),this[_0x2fa947(0x259)]['on'](_0x2fa947(0x254),(_0x45cc44,_0x12c3dd)=>{const _0x118e31=_0x2fa947;if(!this[_0x118e31(0x259)])throw new _0x3576cd(_0x118e31(0x1e0),this);const _0x4234a8=this[_0x118e31(0x227)][_0x118e31(0x261)](_0x12c3dd[_0x118e31(0x237)][_0x118e31(0x271)],_0x12c3dd[_0x118e31(0x237)][_0x118e31(0x1f0)]);_0x12c3dd[_0x118e31(0x202)][_0x118e31(0x1d4)](_0x12c3dd[_0x118e31(0x237)]['id'],_0x4234a8);}),this[_0x2fa947(0x259)]['on'](_0x2fa947(0x25d),(_0xb2a855,_0x414764)=>{const _0x5d232f=_0x2fa947;for(const _0x55d3f7 of _0x414764[_0x5d232f(0x20c)])this[_0x5d232f(0x25b)][_0x5d232f(0x239)](_0x55d3f7);this[_0x5d232f(0x227)][_0x5d232f(0x21c)](_0x414764[_0x5d232f(0x20c)],_0x414764[_0x5d232f(0x202)][_0x5d232f(0x24d)]);}),this[_0x2fa947(0x259)]['on'](_0x2fa947(0x244),(_0x5ccca5,_0xcbe2b7)=>{const _0x2e9929=_0x2fa947;this[_0x2e9929(0x25b)][_0x2e9929(0x1d6)](_0xcbe2b7[_0x2e9929(0x252)]['id'],_0xcbe2b7[_0x2e9929(0x214)]);}),this[_0x2fa947(0x259)]['on'](_0x2fa947(0x21d),(_0x5b3845,_0x1d590a)=>{const _0x179640=_0x2fa947;this[_0x179640(0x25b)][_0x179640(0x257)](_0x1d590a[_0x179640(0x252)]['id']);const _0x35d608=this[_0x179640(0x227)][_0x179640(0x220)](_0x1d590a[_0x179640(0x252)]['id']);if(_0x35d608){if(_0x179640(0x1f6)===this[_0x179640(0x1d2)]){const _0x190de9=this[_0x179640(0x25b)][_0x179640(0x1d9)](_0x1d590a[_0x179640(0x252)]['id']);_0x190de9&&_0xa00fe(_0x190de9[_0x179640(0x20d)](_0x179640(0x200))||_0x190de9);}else{if(_0x179640(0x1eb)===this[_0x179640(0x1d2)]){const _0x5a4d55={'target':_0x35d608[_0x179640(0x23f)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0xc92221(_0x5a4d55);}}this[_0x179640(0x25b)][_0x179640(0x1e9)](_0x1d590a[_0x179640(0x252)],_0x35d608[_0x179640(0x23f)]);}}),this[_0x2fa947(0x259)]['on'](_0x2fa947(0x23e),()=>{const _0x3dd2bc=_0x2fa947;this[_0x3dd2bc(0x25b)][_0x3dd2bc(0x243)](),this[_0x3dd2bc(0x25b)][_0x3dd2bc(0x225)]();});try{await this[_0x2fa947(0x259)][_0x2fa947(0x1d1)]();}catch(_0x156bab){_0x156bab instanceof Error&&_0x156bab[_0x2fa947(0x248)][_0x2fa947(0x222)](_0x2fa947(0x26a))||(_0x156bab instanceof _0x3576cd?this[_0x2fa947(0x263)](_0x156bab):this[_0x2fa947(0x263)](new _0x3576cd(_0x2fa947(0x1d7),this,{'error':_0x156bab})));}}else this[_0x2fa947(0x263)](new _0x3576cd(_0x2fa947(0x228),this,{'checkId':_0x37d800['id']}));}),this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x25b)],_0x1f2c95(0x1f8),()=>{const _0x3a2159=_0x1f2c95;this[_0x3a2159(0x1ee)]();}),this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x25b)],_0x1f2c95(0x266),()=>{const _0xa1e92d=_0x1f2c95;this[_0xa1e92d(0x1ee)](!0x0);}),this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x25b)],_0x1f2c95(0x1df),()=>{const _0x4d490b=_0x1f2c95;this[_0x4d490b(0x259)]&&this[_0x4d490b(0x259)][_0x4d490b(0x208)]();}),this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x25b)],_0x1f2c95(0x22f),()=>{const _0x235549=_0x1f2c95;this[_0x235549(0x1ee)](!0x0);}),this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x25b)],_0x1f2c95(0x1f1),()=>{const _0x413199=_0x1f2c95;if(!this[_0x413199(0x259)])return;const _0x1f78ee=this[_0x413199(0x259)][_0x413199(0x1ec)]();_0x1f78ee[_0x413199(0x203)]&&(this[_0x413199(0x227)][_0x413199(0x25f)](_0x1f78ee[_0x413199(0x22e)](_0x3752b2=>_0x3752b2['id'])),this[_0x413199(0x259)][_0x413199(0x231)](),this[_0x413199(0x259)][_0x413199(0x276)]());}),this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x25b)],_0x1f2c95(0x234),(_0x348ff0,_0x82d1df)=>{const _0x24eec4=_0x1f2c95;this[_0x24eec4(0x259)]&&this[_0x24eec4(0x259)][_0x24eec4(0x221)](_0x82d1df['id'])&&(this[_0x24eec4(0x227)][_0x24eec4(0x25f)]([_0x82d1df['id']]),this[_0x24eec4(0x259)][_0x24eec4(0x251)](_0x82d1df['id']),this[_0x24eec4(0x25b)][_0x24eec4(0x225)](),this[_0x24eec4(0x259)][_0x24eec4(0x276)](_0x82d1df['id']));}),this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x25b)],_0x1f2c95(0x24f),(_0x3e3ad2,_0x3f779b)=>{const _0xb520ac=_0x1f2c95;this[_0xb520ac(0x259)]&&this[_0xb520ac(0x259)][_0xb520ac(0x221)](_0x3f779b['id'])&&(this[_0xb520ac(0x227)][_0xb520ac(0x26b)](_0x3f779b['id']),this[_0xb520ac(0x259)][_0xb520ac(0x260)](_0x3f779b['id']),this[_0xb520ac(0x25b)][_0xb520ac(0x225)](),this[_0xb520ac(0x259)][_0xb520ac(0x276)](_0x3f779b['id']));}),this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x25b)],_0x1f2c95(0x23d),(_0x3e3527,_0x3ae633)=>{const _0xf245a=_0x1f2c95;this[_0xf245a(0x1d8)]=_0x3ae633['on'],this[_0xf245a(0x256)](this[_0xf245a(0x1d8)]);}),this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x25b)],_0x1f2c95(0x229),async()=>{const _0x22d43c=_0x1f2c95;this[_0x22d43c(0x259)]&&await this[_0x22d43c(0x259)][_0x22d43c(0x1db)]();}),this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x25b)],_0x1f2c95(0x245),(_0x2ae073,_0x5083cb)=>{const _0x75191=_0x1f2c95;this[_0x75191(0x259)]&&(this[_0x75191(0x1d2)]=_0x75191(0x1eb),this[_0x75191(0x259)][_0x75191(0x245)](_0x5083cb['id']));}),this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x25b)],_0x1f2c95(0x25e),()=>{const _0x2de5fc=_0x1f2c95;this[_0x2de5fc(0x259)]&&this[_0x2de5fc(0x259)][_0x2de5fc(0x25e)]();}),this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x227)][_0x1f2c95(0x242)],_0x1f2c95(0x24a),(_0x25424c,_0x4137cb)=>{const _0x1bd593=_0x1f2c95;this[_0x1bd593(0x259)]&&(this[_0x1bd593(0x1d2)]=_0x1bd593(0x1f6),this[_0x1bd593(0x259)][_0x1bd593(0x245)](_0x4137cb[_0x1bd593(0x1e5)]));}),this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x227)][_0x1f2c95(0x242)],_0x1f2c95(0x262),(_0x2d7d80,_0x446b8d)=>{const _0x4414b7=_0x1f2c95;this[_0x4414b7(0x259)]&&this[_0x4414b7(0x259)][_0x4414b7(0x270)](_0x446b8d[_0x4414b7(0x1e5)]);}),this[_0x1f2c95(0x22a)](this[_0x1f2c95(0x227)][_0x1f2c95(0x242)],_0x1f2c95(0x26e),(_0x478832,_0x35a1ff)=>{const _0x83a4c3=_0x1f2c95;this[_0x83a4c3(0x259)]&&this[_0x83a4c3(0x259)][_0x83a4c3(0x273)](_0x35a1ff[_0x83a4c3(0x1e5)]);});}[_0x58339a(0x1ee)](_0x4dcfd6=!0x1){const _0x1c206f=_0x58339a;this[_0x1c206f(0x259)]&&(this[_0x1c206f(0x259)][_0x1c206f(0x21e)]||this[_0x1c206f(0x259)][_0x1c206f(0x276)](),this[_0x1c206f(0x259)][_0x1c206f(0x235)](),this[_0x1c206f(0x259)][_0x1c206f(0x208)](),this[_0x1c206f(0x259)]=void 0x0),_0x4dcfd6&&this[_0x1c206f(0x25b)][_0x1c206f(0x249)](),this[_0x1c206f(0x227)][_0x1c206f(0x21f)](),this[_0x1c206f(0x227)][_0x1c206f(0x267)](),this[_0x1c206f(0x1d2)]=null;const _0x4c7265=this[_0x1c206f(0x227)][_0x1c206f(0x1ea)]();_0x4c7265&&_0x4c7265[_0x1c206f(0x209)][_0x1c206f(0x1f4)][_0x1c206f(0x252)](_0x7b313=>{const _0x328df2=_0x1c206f,_0x5b4c2d=_0x4c7265[_0x328df2(0x209)][_0x328df2(0x1f4)][_0x328df2(0x20e)][_0x328df2(0x20f)]();_0x7b313[_0x328df2(0x23a)](_0x328df2(0x216),_0x5b4c2d),_0x7b313[_0x328df2(0x23a)](_0x328df2(0x1f2),_0x5b4c2d);});}[_0x58339a(0x256)](_0x16d99b){const _0x24d321=_0x58339a,_0x1eda4e=this[_0x24d321(0x227)][_0x24d321(0x1ea)]();_0x16d99b?this[_0x24d321(0x25b)][_0x24d321(0x20b)]():this[_0x24d321(0x25b)][_0x24d321(0x223)](),_0x1eda4e&&_0x1eda4e[_0x24d321(0x209)][_0x24d321(0x1f4)][_0x24d321(0x252)](_0xa92e56=>{const _0x533c8f=_0x24d321,_0x5ad98b=_0x1eda4e[_0x533c8f(0x209)][_0x533c8f(0x1f4)][_0x533c8f(0x20e)][_0x533c8f(0x20f)]();_0xa92e56[_0x533c8f(0x23a)](_0x533c8f(0x216),_0x5ad98b),_0xa92e56[_0x533c8f(0x23a)](_0x533c8f(0x1f2),_0x5ad98b),_0xa92e56[_0x533c8f(0x274)](_0x16d99b?_0x533c8f(0x216):_0x533c8f(0x1f2),_0x5ad98b);});}[_0x58339a(0x253)](_0x480c06){const _0x2e6049=_0x58339a;return _0x480c06[_0x2e6049(0x22e)](_0x38cafa=>{const _0x23889e=_0x2e6049,_0x2e5883=_0x23889e(0x226)+_0x38cafa['id'][_0x23889e(0x204)]()[_0x23889e(0x258)]('-','_'),_0x52709d={..._0x38cafa,'title':this[_0x23889e(0x236)](_0x2e5883+_0x23889e(0x264),_0x38cafa[_0x23889e(0x24e)]),'description':this[_0x23889e(0x236)](_0x2e5883+_0x23889e(0x1e8),_0x38cafa[_0x23889e(0x24c)])};return _0x38cafa[_0x23889e(0x1dd)]&&(_0x52709d[_0x23889e(0x1dd)]=_0x38cafa[_0x23889e(0x1dd)][_0x23889e(0x22e)](_0x3c29a2=>({..._0x3c29a2,'label':this[_0x23889e(0x236)](_0x2e5883+_0x23889e(0x1e7),_0x3c29a2[_0x23889e(0x1d3)]||''),'data':_0x3c29a2[_0x23889e(0x21a)]?_0x3c29a2[_0x23889e(0x21a)][_0x23889e(0x22e)](_0x262e7f=>({..._0x262e7f,'label':this[_0x23889e(0x236)](_0x2e5883+_0x23889e(0x272)+_0x262e7f['id'][_0x23889e(0x204)](),_0x262e7f[_0x23889e(0x1d3)])})):void 0x0}))),_0x52709d;});}[_0x58339a(0x236)](_0x2d9005,_0x18758c){const _0x2a9320=_0x58339a,_0x38410f=this[_0x2a9320(0x1fc)][_0x2a9320(0x224)],_0x18a679=_0x374ad5(_0x38410f,_0x2d9005);return _0x18a679===_0x2d9005?_0x18758c:_0x18a679;}[_0x58339a(0x263)](_0x19792b){const _0x334bf6=_0x58339a;_0x46ad18(_0x19792b[_0x334bf6(0x248)]),this[_0x334bf6(0x25b)][_0x334bf6(0x265)]();}}function _0x34c7(_0x26659c,_0x13014d){const _0x357666=_0x3576();return _0x34c7=function(_0x34c701,_0x5a9337){_0x34c701=_0x34c701-0x1ce;let _0x3f8025=_0x357666[_0x34c701];return _0x3f8025;},_0x34c7(_0x26659c,_0x13014d);}function _0x3576(){const _0x423a65=['getCheckById','4891952aejFpa','data','loading','markChangePositionInEditorContent','reviewCheckResultActivated','hasModifications','clearAllMarkers','getMarkerElementForChange','isChangeActive','includes','showDiffInBalloon','locale','hideChangeBalloon','AI_REVIEW_CHECK_','_aiReviewModeEditing','ai-review-mode-source-check-not-found','retryReview','listenTo','_aiReviewCheckList','custom','aborted','map','finishReview','find','markAllChangesAsAccepted','isPremiumPlugin','setAvailableChecks','acceptChange','stopListening','_getTranslationWithDefault','result','currentError','showCheckRunResult','removeClass','ai-review-mode-check-run-chunk-error','52048UEBawn','toggleDiff','reviewCheckResultDeactivated','domElement','subTitle','reviewCheckRunUpdated','emitter','resetActiveStateInResults','reviewCheckResultChangeStatusUpdated','activateChange','247504ZjtYqq','runReviewCheck','message','showReviewCheckList','changeMarkerClick','requires','description','documentData','title','dismissChange','2888326Aulldd','markChangeAsAccepted','change','_translateReviewChecks','reviewCheckResultAdded','getDocumentData','_onDiffChange','setActiveStateInResults','replaceAll','_currentReviewCheckRun','plugins','_aiReviewModeUi','forceReadyState','reviewCheckResultReady','deactivateChange','applyChange','markChangeAsRejected','diffContent','changeMarkerRemoved','_logError','_TITLE','showGeneralErrorView','leaveReviewModeResultList','switchToEdit','translate','ai-review-mode-check-run-general-error','ai-request-aborted','rejectChange','showNoChangesView','1271943TuBXpl','changeMarkerRestored','model','markChangeAsOutdated','contentInitial','_OPTIONS_DATA_','markChangeAsPending','addClass','showChunkErrorView','sendRating','AI_MODEL_DESCRIPTION_','15205jssnEu','setCheckResultTitle','start','_changeActivationSource','label','addResultChanges','ai.reviewMode.translations','updateChangeState','ai-review-mode-check-run-failed','_isDiffOn','getChangeElement','AIReviewModeController','restart','showActionsWhenResultIsReady','options','params','abortReviewStream','ai-review-mode-no-current-check-run','isOfficialPlugin','ready','isCustom','init','changeId','getReviewCheckList','_OPTIONS_LABEL','_DESCRIPTION','showChangeBalloon','getEditor','panel','getActiveChanges','276CpmYPd','_onReviewModeRunLeave','AIConnector','contentNew','acceptAllChanges','ck-ai-review-mode-highlights','showReviewCompletedView','view','getAll','content','models','leaveReviewMode','config','_aiConnector','args','context','pluginName','finished','AIReviewModeUI','.ck-ai-review-mode__check-run-result','switchToReadOnly','source','length','toUpperCase','get','checks','error-general','abort','editing','unmodified','hideDiffInBalloon','changes','closest','document','getRoot','prompt','showCheckRunResults','AIReviewModeEditing','638592KpnVbf','status','error-chunk','ck-ai-review-mode-diff','processedResultsCount'];_0x3576=function(){return _0x423a65;};return _0x3576();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x222a(_0x29e2b7,_0x2951f6){const _0x2bb341=_0x2bb3();return _0x222a=function(_0x222aeb,_0x335f12){_0x222aeb=_0x222aeb-0xda;let _0x381010=_0x2bb341[_0x222aeb];return _0x381010;},_0x222a(_0x29e2b7,_0x2951f6);}const _0x28cd29=_0x222a;(function(_0x43f5ac,_0x53d5b1){const _0x55727d=_0x222a,_0x37d167=_0x43f5ac();while(!![]){try{const _0x549f62=-parseInt(_0x55727d(0x13d))/0x1+parseInt(_0x55727d(0x159))/0x2*(-parseInt(_0x55727d(0xe6))/0x3)+-parseInt(_0x55727d(0x1ab))/0x4*(-parseInt(_0x55727d(0x17f))/0x5)+parseInt(_0x55727d(0x194))/0x6*(parseInt(_0x55727d(0x1bf))/0x7)+-parseInt(_0x55727d(0xf8))/0x8+parseInt(_0x55727d(0x181))/0x9+parseInt(_0x55727d(0xeb))/0xa;if(_0x549f62===_0x53d5b1)break;else _0x37d167['push'](_0x37d167['shift']());}catch(_0x11bfd4){_0x37d167['push'](_0x37d167['shift']());}}}(_0x2bb3,0xeb3b8));import{InsertOperation as _0xcc3b8c,MarkerOperation as _0x2fa0df,ModelDocumentFragment as _0x234b28,ModelPosition as _0x3c6d10,ModelRange as _0x4af4fe,ModelTreeWalker as _0xfa2a36,transformOperationSets as _0x3d470e}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x32c5d8,EmitterMixin as _0x3e1b75}from'ckeditor5/src/utils.js';function _0x2bb3(){const _0x3e3a9b=['getHtml','markerToElement','size','isOfficialPlugin','className','schema','1319624SbZszI','root','createRange','editingDowncast','pluginName','add','hasContentBefore','_translateOperationToEditorContent','model:$text','getShiftedBy','markerName','isPremiumPlugin','click','hasClass','_findMarkerElement','text','viewToDom','htmlProcessor','$documentFragment','isAtEnd','flat','documentFragment','removeMarker','remove-text','startsWith','for','createRawElement','getPath','25136mneITt','getDocumentData','insert','version','_parseMarkerName','_getChangeContext','getRoot','map','_markers','addOperation','position','createDocumentFragment','howMany','disableReadOnlyMode','parse','[data-id=\x22','element','createText','enableReadOnlyMode','exec','parent','$textProxy','has','change','ck-ai_review-mode-marker_','getChildren','baseVersion','caption','createUIElement','_getOperationStart','childCount','context','_clone','isAtStart','remove','markers','clone','_hasSameTopLevelElement','10950KLPtbq','emitter','16008417fokVkV','keys','newRange','history','view','ck-ai_review-mode-marker_hide','_changePositionOwnerDocument','AIEditing','suggestion:insertion:id:authorId:','index','applyChange','_appendChild','getChanges','document','conversion','listenTo','split','differ','_eventEmitter','72894zAETBO','toData','isInline','getChild','parentElement','type','values','rejectChange','offset','from','isIntersecting','ck-ai_review-mode-marker_context-end','innerHTML','append','hasAttribute','ck-ai_review-mode-marker_context-','AIReviewModeEditing','getMarkerElementForChange','applyOperation','span','editing','htmlWriter','model','816rcsVnZ','afterInit','jumpTo','$markedRemove','getOperations','sort','getRange','plugins','deleteContent','getEditor','forEach','_findAdjacentContextDistance','nodes','_getMarkersDataForGroup','_changePosition','operationsIsolated','data','_changeRange','clear','length','406FxgZTd','containsRange','getDomRoot','ck-ai_review-mode-marker_add','_domEmitter','changeMarkerRemoved','_createGetContentFn','_changeRangeOwnerDocument','operationsA','addMarker','includes','target','batch','getAttribute','_createGetContextFn','backward','push','end','ck-ai_review-mode-marker_underline','get','_createGetContentUsingDataIdFn','186GsnqQX','_nextDataId','requires','dataDowncast','_getOperationEnd','13933890qUEfRM','[data-marker-id=\x22','_sortMarkers','processor','diffContent','createSelection','pop','ai-review-mode','createPositionAfter','markerToHighlight','toView','markChangePositionInEditorContent','_validateMarkers','10089216kfmILz','insertContent','fire','remove-only','switchToReadOnly','createPositionAt','clearAllMarkers','oldRange','getChangedMarkers','hasContentAfter','offsetSize','isTouching','suggestion-context','marker','$graveyard','elements','ck-ai_review-mode-marker_strikethrough','name','DocumentCompare','attributeToAttribute','_setAttribute','isOpening','concat','changeMarkerRestored','suggestion:deletion:id:authorId:','_handleMarkerChanges','groupId','_insertMarkers','getRoots','stringify','_groupAdjacentOperations','ck-ai_review-mode-marker_context-start','getDiff','rootName','set','isDocumentOperation','_removeAttribute','registerPostFixer','delete','every','reviewmode-','getStart','_changeOperationOwnerDocument','downcast','filter','switchToEdit','warn','No\x20element\x20found\x20for\x20ID:\x20','_removeChildren','data-marker-id','domConverter','toDomElement','ellipsisBefore','forward','affectsData','outerHTML','start','querySelector','_shiftOperation','path','ellipsisAfter','changeMarkerClick','remove-context'];_0x2bb3=function(){return _0x3e3a9b;};return _0x2bb3();}import{ContextPlugin as _0x3d42ac}from'ckeditor5/src/core.js';import{DocumentCompare as _0x187bcb,DATA_ID_MODEL_ATTRIBUTE as _0x2f28bd,DATA_ID_VIEW_ATTRIBUTE as _0x3929c}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x147c02}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x48eb4a}from'../aicore/aiediting.js';const me=_0x28cd29(0x120);export class AIReviewModeEditing extends _0x3d42ac{static get[_0x28cd29(0x141)](){const _0x109285=_0x28cd29;return _0x109285(0x1a4);}static get[_0x28cd29(0xe8)](){return[_0x187bcb,_0x48eb4a];}static get[_0x28cd29(0x13a)](){return!0x0;}static get[_0x28cd29(0x148)](){return!0x0;}[_0x28cd29(0x161)]=new Map();[_0x28cd29(0x1c3)];[_0x28cd29(0x193)];constructor(_0x55000d){const _0x373001=_0x28cd29;super(_0x55000d),this[_0x373001(0x1c3)]=new(_0x32c5d8())(),this[_0x373001(0x193)]=new(_0x3e1b75())();}get[_0x28cd29(0x180)](){const _0x1b951e=_0x28cd29;return this[_0x1b951e(0x193)];}[_0x28cd29(0x1ac)](){const _0xbf4e49=_0x28cd29,_0x11a059=_0x147c02(this[_0xbf4e49(0x178)]);_0x11a059[_0xbf4e49(0x18f)][_0xbf4e49(0x156)](_0xbf4e49(0x140))[_0xbf4e49(0x138)]({'model':me+_0xbf4e49(0x15b),'view':(_0x1c8fc4,{writer:_0x12f174})=>{const _0x3fef49=_0xbf4e49,_0x5af366=this[_0x3fef49(0x161)][_0x3fef49(0xe4)](_0x1c8fc4[_0x3fef49(0x147)]),_0x2ece17={'class':_0x3fef49(0x1c2),'data-marker-id':_0x1c8fc4[_0x3fef49(0x147)]};return _0x12f174[_0x3fef49(0x175)](_0x3fef49(0x1a7),_0x2ece17,function(_0x137143){const _0x3ede40=_0x3fef49,_0x8afca4=this[_0x3ede40(0x12b)](_0x137143);return _0x8afca4[_0x3ede40(0x1a0)]=_0x5af366?.[_0x3ede40(0x14c)]||'',_0x8afca4;});}}),_0x11a059[_0xbf4e49(0x18f)][_0xbf4e49(0x156)](_0xbf4e49(0x140))[_0xbf4e49(0xf4)]({'model':me+_0xbf4e49(0xfb),'view':_0x4d66f8=>({'classes':_0xbf4e49(0x108),'attributes':{'data-marker-id':_0x4d66f8[_0xbf4e49(0x147)]}})}),_0x11a059[_0xbf4e49(0x18f)][_0xbf4e49(0x156)](_0xbf4e49(0x140))[_0xbf4e49(0xf4)]({'model':me+_0xbf4e49(0x136),'view':_0x599792=>({'classes':_0xbf4e49(0xe3),'attributes':{'data-marker-id':_0x599792[_0xbf4e49(0x147)]}})}),_0x11a059[_0xbf4e49(0x18f)][_0xbf4e49(0x156)](_0xbf4e49(0x140))[_0xbf4e49(0xf4)]({'model':me+_0xbf4e49(0x154),'view':_0x280a35=>({'classes':_0xbf4e49(0x186),'attributes':{'data-marker-id':_0x280a35[_0xbf4e49(0x147)]}})}),_0x11a059[_0xbf4e49(0x18f)][_0xbf4e49(0x156)](_0xbf4e49(0xe9))[_0xbf4e49(0x138)]({'model':me+_0xbf4e49(0x104),'view':(_0x23ef2c,{writer:_0x4d09ee})=>_0x4d09ee[_0xbf4e49(0x157)](_0xbf4e49(0x1a7),{'class':_0xbf4e49(0x1a3)+(_0x23ef2c[_0xbf4e49(0x10d)]?_0xbf4e49(0x130):_0xbf4e49(0xe2))})}),_0x11a059[_0xbf4e49(0x18f)][_0xbf4e49(0x156)](_0xbf4e49(0x123))[_0xbf4e49(0x10b)]({'model':_0x2f28bd,'view':_0x3929c}),this[_0xbf4e49(0x1c3)][_0xbf4e49(0x190)](document,_0xbf4e49(0x149),(_0x1edbef,_0x2708b0)=>{const _0x484889=_0xbf4e49,_0x2bbbe2=_0x2708b0[_0x484889(0xdc)],_0x28962d=this[_0x484889(0x14b)](_0x2bbbe2);if(!_0x28962d)return;const _0x3fb0bd=_0x28962d[_0x484889(0xde)](_0x484889(0x129)),_0x8ae227=_0x3fb0bd[_0x484889(0x191)](':')[_0x484889(0xf1)]()?.[_0x484889(0x191)]('_')[0x0];this[_0x484889(0x193)][_0x484889(0xfa)](_0x484889(0x135),{'markerId':_0x3fb0bd,'changeId':_0x8ae227});}),_0x11a059[_0xbf4e49(0x1aa)][_0xbf4e49(0x18e)][_0xbf4e49(0x11d)](_0x22dded=>this[_0xbf4e49(0xf7)](_0x11a059,_0x22dded)),_0x11a059[_0xbf4e49(0x1aa)][_0xbf4e49(0x18e)]['on'](_0xbf4e49(0x170),()=>this[_0xbf4e49(0x111)](_0x11a059));}[_0x28cd29(0x15a)](){const _0x246b3c=_0x28cd29,_0x44e610=this[_0x246b3c(0x178)][_0x246b3c(0x1b2)][_0x246b3c(0xe4)](_0x246b3c(0x188)),_0x2ef577=_0x147c02(this[_0x246b3c(0x178)]),_0x2fd171=_0x2ef577[_0x246b3c(0x1aa)],_0x492009=new _0x234b28();for(const _0x121100 of _0x2fd171[_0x246b3c(0x18e)][_0x246b3c(0x15f)]()[_0x246b3c(0x172)]()){const _0x150dcd=_0x121100[_0x246b3c(0x179)](!0x0);_0x492009[_0x246b3c(0x18c)](_0x150dcd);}for(const _0x78443f of _0x2fd171[_0x246b3c(0x17c)])_0x492009[_0x246b3c(0x17c)][_0x246b3c(0x11a)](_0x78443f[_0x246b3c(0x109)],this[_0x246b3c(0x1c6)](_0x78443f[_0x246b3c(0x1b1)]()[_0x246b3c(0x17d)](),_0x492009));const _0x36950c=new _0xfa2a36({'ignoreElementEnd':!0x0,'startPosition':_0x2fd171[_0x246b3c(0xfd)](_0x492009,0x0)}),_0x5cb08b=new Set(),_0x2baf57=new Map();for(const {item:_0x68854e}of _0x36950c){if(!_0x68854e['is'](_0x246b3c(0x16e)))continue;const _0x5906a4=_0x68854e[_0x246b3c(0x16d)];if((!_0x5906a4||!_0x5906a4['is'](_0x246b3c(0x169),_0x246b3c(0x174)))&&(_0x5906a4&&_0x5906a4['is'](_0x246b3c(0x169)))){let _0x4772b8=_0x5906a4[_0x246b3c(0xde)](_0x2f28bd);_0x4772b8||(_0x4772b8=_0x44e610[_0x246b3c(0xe7)](_0x5cb08b),_0x5906a4[_0x246b3c(0x10c)](_0x2f28bd,_0x4772b8)),_0x5cb08b[_0x246b3c(0x142)](_0x4772b8);let _0x5b30a9=_0x5906a4;for(;_0x5b30a9[_0x246b3c(0x16d)]&&!_0x5b30a9[_0x246b3c(0x16d)]['is'](_0x246b3c(0x152));)_0x5b30a9=_0x5b30a9[_0x246b3c(0x16d)],_0x5b30a9[_0x246b3c(0x1a2)](_0x2f28bd)&&_0x5b30a9[_0x246b3c(0x11c)](_0x2f28bd);_0x2baf57[_0x246b3c(0x11a)](_0x4772b8,{'path':_0x5906a4[_0x246b3c(0x158)](),'getContent':this[_0x246b3c(0xe5)](_0x5b30a9[_0x246b3c(0x179)](!0x0),_0x4772b8,_0x2ef577[_0x246b3c(0x1bb)])}),_0x36950c[_0x246b3c(0x1ad)](_0x2fd171[_0x246b3c(0xf3)](_0x5906a4));}}return{'content':_0x2ef577[_0x246b3c(0x1bb)][_0x246b3c(0xee)][_0x246b3c(0x195)](_0x2ef577[_0x246b3c(0x1bb)][_0x246b3c(0xf5)](_0x492009)),'version':_0x2ef577[_0x246b3c(0x1aa)][_0x246b3c(0x18e)][_0x246b3c(0x15c)],'elements':_0x2baf57};}[_0x28cd29(0xef)](_0x15c656,_0x319a12){const _0xac0132=_0x28cd29,_0x5615ce=[],_0xa00c3e=_0x147c02(this[_0xac0132(0x178)]),_0x59e580=_0xa00c3e[_0xac0132(0x1bb)][_0xac0132(0x167)](_0x15c656,_0xac0132(0x14f)),_0xa92c2a=_0xa00c3e[_0xac0132(0x1aa)][_0xac0132(0xfd)](_0x59e580,0x0),_0x4603d8=_0xa00c3e[_0xac0132(0x1bb)][_0xac0132(0x167)](_0x319a12,_0xac0132(0x14f));if(!this[_0xac0132(0x17e)](_0x59e580,_0x4603d8))return _0x5615ce;const _0x432e68=this[_0xac0132(0x178)][_0xac0132(0x1b2)][_0xac0132(0xe4)](_0xac0132(0x10a))[_0xac0132(0x118)](_0x15c656,_0x319a12,{'anchor':_0xa92c2a,'markDeletions':!0x0})[_0xac0132(0x1af)]()[_0xac0132(0x124)](_0x12b65a=>_0xac0132(0x15b)===_0x12b65a[_0xac0132(0x199)]||_0xac0132(0x105)===_0x12b65a[_0xac0132(0x199)]&&_0x12b65a[_0xac0132(0x109)][_0xac0132(0x155)](_0xac0132(0x1ae))),_0x21d006=this[_0xac0132(0x116)](_0x432e68);let _0x494db8=0x0;return _0xa00c3e[_0xac0132(0x1aa)][_0xac0132(0x170)](_0x4c548a=>{const _0x2b9097=_0xac0132;for(let _0x2969f6=0x0;_0x2969f6<_0x21d006[_0x2b9097(0x1be)];_0x2969f6++){const _0x56869d=_0x21d006[_0x2969f6],_0x490b58=_0x4c548a[_0x2b9097(0x164)]();for(const _0x53a0d3 of _0x59e580[_0x2b9097(0x172)]())_0x4c548a[_0x2b9097(0x1a1)](_0x53a0d3[_0x2b9097(0x179)](!0x0),_0x490b58);for(const _0x2ebbec of _0x56869d[_0x2b9097(0x1ba)])if(_0x2b9097(0x15b)===_0x2ebbec[_0x2b9097(0x199)]){const _0x43bcea=_0x2ebbec;_0x43bcea[_0x2b9097(0x173)]=null,_0x43bcea[_0x2b9097(0x11b)]=!0x1,this[_0x2b9097(0x122)](_0x43bcea,_0x490b58),_0x4c548a[_0x2b9097(0xdd)][_0x2b9097(0x162)](_0x2ebbec),_0xa00c3e[_0x2b9097(0x1aa)][_0x2b9097(0x1a6)](_0x2ebbec);const _0x230eff=_0x2b9097(0x189)+_0x494db8++,_0x21fa4a=_0xa00c3e[_0x2b9097(0x1aa)][_0x2b9097(0x13f)](_0x43bcea[_0x2b9097(0x163)],_0x43bcea[_0x2b9097(0x163)][_0x2b9097(0x146)](_0x43bcea[_0x2b9097(0x165)]));_0x490b58[_0x2b9097(0x17c)][_0x2b9097(0x11a)](_0x230eff,_0x21fa4a);}else{if(_0x2b9097(0x105)===_0x2ebbec[_0x2b9097(0x199)]&&_0x2ebbec[_0x2b9097(0x109)][_0x2b9097(0x155)](_0x2b9097(0x1ae))){const _0x2ccd54=_0x2ebbec,_0x60a06b=_0x2b9097(0x110)+_0x494db8++;this[_0x2b9097(0x122)](_0x2ccd54,_0x490b58),_0x490b58[_0x2b9097(0x17c)][_0x2b9097(0x11a)](_0x60a06b,_0x2ccd54[_0x2b9097(0x183)]);}}const _0x2ae6f8=this[_0x2b9097(0x15e)](this[_0x2b9097(0x187)](this[_0x2b9097(0x176)](_0x56869d[_0x2b9097(0x1ba)][0x0]),_0x490b58),this[_0x2b9097(0x187)](this[_0x2b9097(0xea)](_0x56869d[_0x2b9097(0x1ba)][_0x56869d[_0x2b9097(0x1ba)][_0x2b9097(0x1be)]-0x1]),_0x490b58));_0x490b58[_0x2b9097(0x17c)][_0x2b9097(0x11a)](me+_0x2b9097(0x104),new _0x4af4fe(_0x2ae6f8[_0x2b9097(0x130)],_0x2ae6f8[_0x2b9097(0xe2)])),_0x5615ce[_0x2b9097(0xe1)]({..._0x56869d,'context':this[_0x2b9097(0xdf)](_0x490b58,_0xa00c3e[_0x2b9097(0x1bb)],{'ellipsisBefore':_0x2ae6f8[_0x2b9097(0x143)],'ellipsisAfter':_0x2ae6f8[_0x2b9097(0x101)]}),'content':this[_0x2b9097(0x1c5)](_0x490b58,_0xa00c3e[_0x2b9097(0x1bb)])});}}),_0x5615ce;}[_0x28cd29(0xf6)](_0x599976,_0x3b59ff){const _0x588a0e=_0x28cd29;if(!_0x599976[_0x588a0e(0x1be)])return;const _0x2f9ece=_0x599976[0x0][_0x588a0e(0x16d)]['id'],_0x367e17=_0x3b59ff[_0x588a0e(0x107)][_0x588a0e(0xe4)](_0x2f9ece);if(!_0x367e17)return void console[_0x588a0e(0x126)](_0x588a0e(0x127)+_0x2f9ece);const _0x45a5e0=_0x367e17[_0x588a0e(0x133)],_0x27431f=_0x147c02(this[_0x588a0e(0x178)]),_0x577e37=_0x27431f[_0x588a0e(0x1aa)][_0x588a0e(0x18e)][_0x588a0e(0x184)][_0x588a0e(0x1af)](_0x3b59ff[_0x588a0e(0x15c)]),_0x33c24d=[];for(const _0x2662f0 of _0x599976){const _0x3c110c=_0x2662f0[_0x588a0e(0x1ba)][_0x588a0e(0x160)](_0x17734a=>this[_0x588a0e(0x144)](_0x17734a,_0x45a5e0,_0x27431f[_0x588a0e(0x1aa)][_0x588a0e(0x18e)][_0x588a0e(0x114)]()[0x0]));if(!_0x3c110c||!_0x3c110c[_0x588a0e(0x1be)])continue;const _0x337c39=_0x3c110c[_0x588a0e(0x11f)](_0xdbc9f6=>_0x588a0e(0x105)===_0xdbc9f6[_0x588a0e(0x199)]&&_0xdbc9f6[_0x588a0e(0x109)][_0x588a0e(0x155)](_0x588a0e(0x1ae))),_0x4a99c8={'document':_0x27431f[_0x588a0e(0x1aa)][_0x588a0e(0x18e)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x111ad8=_0x3d470e(_0x3c110c,_0x577e37,_0x4a99c8)[_0x588a0e(0x1c7)];for(const _0x59f639 of _0x111ad8)if(_0x588a0e(0x15b)===_0x59f639[_0x588a0e(0x199)]){const _0x48ae12=_0x59f639,_0x2474e3=_0x48ae12[_0x588a0e(0x1b7)];let _0x4aa894='';for(const _0x4e5c21 of _0x2474e3)_0x4e5c21&&_0x4e5c21['is'](_0x588a0e(0x145))&&(_0x4aa894+=_0x4e5c21[_0x588a0e(0x1bb)]);_0x33c24d[_0x588a0e(0xe1)]({'start':_0x48ae12[_0x588a0e(0x163)],'end':_0x48ae12[_0x588a0e(0x163)],'type':_0x588a0e(0x15b),'groupId':_0x2662f0['id'],'text':_0x4aa894});}else{if(_0x588a0e(0x105)===_0x59f639[_0x588a0e(0x199)]&&_0x59f639[_0x588a0e(0x109)][_0x588a0e(0x155)](_0x588a0e(0x1ae))){const _0x2d8aa0=_0x59f639;let _0x24e766=_0x588a0e(0x154);if(_0x337c39){const _0x2e89d8=this[_0x588a0e(0x1b6)](_0x2d8aa0[_0x588a0e(0x183)][_0x588a0e(0x130)],_0x588a0e(0xe0),_0x27431f[_0x588a0e(0x1aa)][_0x588a0e(0x13c)]),_0x40cf76=this[_0x588a0e(0x1b6)](_0x2d8aa0[_0x588a0e(0x183)][_0x588a0e(0xe2)],_0x588a0e(0x12d),_0x27431f[_0x588a0e(0x1aa)][_0x588a0e(0x13c)]);if(_0x2e89d8||_0x40cf76){const _0x1950fc=_0x2d8aa0[_0x588a0e(0x183)][_0x588a0e(0x130)][_0x588a0e(0x146)](-_0x2e89d8),_0x306da4=_0x2d8aa0[_0x588a0e(0x183)][_0x588a0e(0xe2)][_0x588a0e(0x146)](_0x40cf76);_0x33c24d[_0x588a0e(0xe1)]({'start':_0x1950fc,'end':_0x306da4,'groupId':_0x2662f0['id'],'type':_0x588a0e(0x136)});}else _0x24e766=_0x588a0e(0xfb);}_0x33c24d[_0x588a0e(0xe1)]({'start':_0x2d8aa0[_0x588a0e(0x183)][_0x588a0e(0x130)],'end':_0x2d8aa0[_0x588a0e(0x183)][_0x588a0e(0xe2)],'groupId':_0x2662f0['id'],'type':_0x24e766});}}}this[_0x588a0e(0x113)](_0x33c24d);}[_0x28cd29(0xfe)](){const _0x5557e7=_0x28cd29,_0x50e44f=_0x147c02(this[_0x5557e7(0x178)]);_0x50e44f[_0x5557e7(0x1aa)][_0x5557e7(0x170)](_0x371a84=>{const _0x3a4684=_0x5557e7;for(const _0xb4aa96 of this[_0x3a4684(0x161)][_0x3a4684(0x182)]())_0x50e44f[_0x3a4684(0x1aa)][_0x3a4684(0x17c)][_0x3a4684(0xe4)](_0xb4aa96)&&_0x371a84[_0x3a4684(0x153)](_0xb4aa96);}),this[_0x5557e7(0x161)][_0x5557e7(0x1bd)]();}[_0x28cd29(0xfc)](){const _0xc52833=_0x28cd29;_0x147c02(this[_0xc52833(0x178)])[_0xc52833(0x16b)](_0xc52833(0xf2));}[_0x28cd29(0x125)](){const _0x5df08d=_0x28cd29;_0x147c02(this[_0x5df08d(0x178)])[_0x5df08d(0x166)](_0x5df08d(0xf2));}[_0x28cd29(0x18b)](_0x4a57cf){const _0x12f614=_0x28cd29,_0x42a6e7=_0x147c02(this[_0x12f614(0x178)]),_0x378d17=_0x42a6e7[_0x12f614(0x1aa)],_0x8b325c=_0x4a57cf[_0x12f614(0x160)](_0x5c7350=>this[_0x12f614(0x1b8)](_0x5c7350))[_0x12f614(0x151)]();_0x378d17[_0x12f614(0x170)](_0x53a65e=>{const _0x3f2975=_0x12f614;for(const _0xde3c1d of _0x8b325c){const _0x5742c5=_0x42a6e7[_0x3f2975(0x1aa)][_0x3f2975(0x17c)][_0x3f2975(0xe4)](_0xde3c1d['id']);_0x5742c5&&(_0x3f2975(0x15b)===_0xde3c1d[_0x3f2975(0x199)]?_0x378d17[_0x3f2975(0xf9)](_0x53a65e[_0x3f2975(0x16a)](_0xde3c1d[_0x3f2975(0x14c)]||''),_0x5742c5[_0x3f2975(0x1b1)]()[_0x3f2975(0x130)]):_0x3f2975(0x154)!==_0xde3c1d[_0x3f2975(0x199)]&&_0x3f2975(0xfb)!==_0xde3c1d[_0x3f2975(0x199)]||_0x378d17[_0x3f2975(0x1b3)](_0x378d17[_0x3f2975(0xf0)](_0x5742c5[_0x3f2975(0x1b1)]())),_0x53a65e[_0x3f2975(0x153)](_0xde3c1d['id']),this[_0x3f2975(0x161)][_0x3f2975(0x11e)](_0xde3c1d['id']));}});}[_0x28cd29(0x19b)](_0x475798){const _0x322dcc=_0x28cd29,_0x4db6db=_0x147c02(this[_0x322dcc(0x178)]),_0x558095=this[_0x322dcc(0x1b8)](_0x475798);_0x4db6db[_0x322dcc(0x1aa)][_0x322dcc(0x170)](_0x1ec2ed=>{const _0xd69185=_0x322dcc;for(const _0x3b9522 of _0x558095)_0x1ec2ed[_0xd69185(0x153)](_0x3b9522['id']),this[_0xd69185(0x161)][_0xd69185(0x11e)](_0x3b9522['id']);});}[_0x28cd29(0x1b4)](){const _0x3614cf=_0x28cd29;return _0x147c02(this[_0x3614cf(0x178)]);}[_0x28cd29(0x1a5)](_0x303eee){const _0xd5d31b=_0x28cd29,_0x5e1d6f=Array[_0xd5d31b(0x19d)](this[_0xd5d31b(0x161)][_0xd5d31b(0x19a)]())[_0xd5d31b(0x124)](_0x1994c5=>_0x1994c5[_0xd5d31b(0x112)]===_0x303eee);if(!_0x5e1d6f[_0xd5d31b(0x1be)])return null;const _0x17e594=0x1===_0x5e1d6f[_0xd5d31b(0x1be)]?_0x5e1d6f[0x0]:this[_0xd5d31b(0xed)](_0x5e1d6f)[0x0],_0x2dcf33=_0x147c02(this[_0xd5d31b(0x178)]),_0x44c1ba=_0x2dcf33[_0xd5d31b(0x1aa)][_0xd5d31b(0x17c)][_0xd5d31b(0xe4)](_0x17e594['id']);if(!_0x44c1ba)return null;const _0x15cef9=_0x44c1ba[_0xd5d31b(0x1b1)](),_0x1b8a69=_0x2dcf33[_0xd5d31b(0x1a8)][_0xd5d31b(0x185)][_0xd5d31b(0x1c1)]();if(!_0x1b8a69||!_0x15cef9)return null;const _0x318cae=_0x1b8a69[_0xd5d31b(0x131)](_0xd5d31b(0xec)+_0x17e594['id']+'\x22]');return _0x318cae?{'modelRange':_0x15cef9,'domElement':_0x318cae}:null;}[_0x28cd29(0xf7)](_0x1cada2,_0x46f635){const _0x37e074=_0x28cd29,_0x320434=Array[_0x37e074(0x19d)](this[_0x37e074(0x161)][_0x37e074(0x182)]()),_0x2df57d=new Map();for(const _0x47bdca of _0x320434){const _0x82e359=_0x1cada2[_0x37e074(0x1aa)][_0x37e074(0x17c)][_0x37e074(0xe4)](_0x47bdca);if(!_0x82e359)continue;const _0x3fd98a=_0x82e359[_0x37e074(0x121)]()[_0x37e074(0x133)][0x0];_0x2df57d[_0x37e074(0x16f)](_0x3fd98a)||_0x2df57d[_0x37e074(0x11a)](_0x3fd98a,[]),_0x2df57d[_0x37e074(0xe4)](_0x3fd98a)[_0x37e074(0xe1)](_0x82e359);}const _0x5b7807=new Set();for(const _0x30160f of _0x1cada2[_0x37e074(0x1aa)][_0x37e074(0x18e)][_0x37e074(0x192)][_0x37e074(0x18d)]()){let _0x1e6e99=-0x1,_0x5c8f85=null;if(_0x37e074(0x15b)===_0x30160f[_0x37e074(0x199)])_0x5c8f85=new _0x4af4fe(_0x30160f[_0x37e074(0x163)],_0x30160f[_0x37e074(0x163)][_0x37e074(0x146)](_0x30160f[_0x37e074(0x1be)])),_0x1e6e99=_0x30160f[_0x37e074(0x163)][_0x37e074(0x133)][0x0];else{if(_0x37e074(0x17b)!==_0x30160f[_0x37e074(0x199)])continue;_0x5c8f85=new _0x4af4fe(_0x30160f[_0x37e074(0x163)]),_0x1e6e99=_0x30160f[_0x37e074(0x163)][_0x37e074(0x133)][0x0];}const _0x3ab644=_0x2df57d[_0x37e074(0xe4)](_0x1e6e99)||[];if(_0x3ab644[_0x37e074(0x1be)]){for(const _0x583b8e of _0x3ab644)if(_0x5c8f85[_0x37e074(0x13e)][_0x37e074(0x119)]===_0x583b8e[_0x37e074(0x1b1)]()[_0x37e074(0x13e)][_0x37e074(0x119)]&&(_0x37e074(0x15b)!==_0x30160f[_0x37e074(0x199)]||!_0x5c8f85[_0x37e074(0x1c0)](_0x583b8e[_0x37e074(0x1b1)]()))&&(_0x5c8f85[_0x37e074(0x19e)](_0x583b8e[_0x37e074(0x1b1)]())||_0x5c8f85[_0x37e074(0x130)][_0x37e074(0x103)](_0x583b8e[_0x37e074(0x1b1)]()[_0x37e074(0xe2)])||_0x5c8f85[_0x37e074(0xe2)][_0x37e074(0x103)](_0x583b8e[_0x37e074(0x1b1)]()[_0x37e074(0x130)]))){const _0x2df0cf=this[_0x37e074(0x15d)](_0x583b8e[_0x37e074(0x109)]);Array[_0x37e074(0x19d)](this[_0x37e074(0x161)][_0x37e074(0x19a)]())[_0x37e074(0x124)](_0x528f66=>_0x528f66[_0x37e074(0x112)]===_0x2df0cf[_0x37e074(0x112)])[_0x37e074(0x1b5)](_0x3a77ef=>_0x5b7807[_0x37e074(0x142)](_0x3a77ef['id']));}}}if(_0x5b7807[_0x37e074(0x139)]){for(const _0x4e97ed of _0x5b7807)_0x46f635[_0x37e074(0x153)](_0x4e97ed);return!0x0;}return!0x1;}[_0x28cd29(0x111)](_0x3c7276){const _0x247d02=_0x28cd29;for(const {name:_0x9747cf,data:_0x19ba77}of _0x3c7276[_0x247d02(0x1aa)][_0x247d02(0x18e)][_0x247d02(0x192)][_0x247d02(0x100)]()){if(!_0x9747cf[_0x247d02(0x155)](me))continue;const _0x5870a9=_0x19ba77[_0x247d02(0xff)],_0x3efd3a=_0x19ba77[_0x247d02(0x183)],_0x2bdee2=_0x5870a9&&_0x247d02(0x106)===_0x5870a9[_0x247d02(0x13e)][_0x247d02(0x119)],_0xefb11a=_0x3efd3a&&_0x247d02(0x106)===_0x3efd3a[_0x247d02(0x13e)][_0x247d02(0x119)];if(_0x2bdee2&&_0xefb11a)continue;const _0x3d034b=this[_0x247d02(0x15d)](_0x9747cf);this[_0x247d02(0x161)][_0x247d02(0xe4)](_0x9747cf)&&(_0xefb11a||!_0x3efd3a?this[_0x247d02(0x193)][_0x247d02(0xfa)](_0x247d02(0x1c4),{'markerId':_0x9747cf,'changeId':_0x3d034b[_0x247d02(0x112)]}):_0x2bdee2&&_0x3efd3a&&this[_0x247d02(0x193)][_0x247d02(0xfa)](_0x247d02(0x10f),{'markerId':_0x9747cf,'changeId':_0x3d034b[_0x247d02(0x112)]}));}}[_0x28cd29(0x15d)](_0x2f61d2){const _0x47e066=_0x28cd29,_0x3c2302=_0x2f61d2[_0x47e066(0x191)](':'),_0x438f33=(_0x3c2302[0x1]||'')[_0x47e066(0x191)]('_');return{'prefix':_0x3c2302[0x0],'groupId':_0x438f33[0x0],'suffix':_0x438f33[0x1]};}[_0x28cd29(0x144)](_0x21ec1e,_0x1dbb1,_0x2c1f33){const _0x17da45=_0x28cd29;if(_0x17da45(0x15b)===_0x21ec1e[_0x17da45(0x199)]){const _0x407a78=_0x21ec1e;return new _0xcc3b8c(this[_0x17da45(0x1b9)](_0x1dbb1[_0x17da45(0x10e)](_0x407a78[_0x17da45(0x163)][_0x17da45(0x19c)]),_0x2c1f33),_0x407a78[_0x17da45(0x1b7)],_0x407a78[_0x17da45(0x173)]);}if(_0x17da45(0x105)===_0x21ec1e[_0x17da45(0x199)]&&_0x21ec1e[_0x17da45(0x109)][_0x17da45(0x155)](_0x17da45(0x1ae))){const _0x288c55=_0x21ec1e;return new _0x2fa0df(_0x288c55[_0x17da45(0x109)],_0x288c55[_0x17da45(0xff)],this[_0x17da45(0x1bc)](_0x288c55[_0x17da45(0x183)],_0x1dbb1[_0x17da45(0x10e)](_0x288c55[_0x17da45(0x183)][_0x17da45(0x130)][_0x17da45(0x19c)]),_0x1dbb1[_0x17da45(0x10e)](_0x288c55[_0x17da45(0x183)][_0x17da45(0xe2)][_0x17da45(0x19c)]),_0x2c1f33),_0x288c55[_0x17da45(0x161)],_0x288c55[_0x17da45(0x12e)],_0x288c55[_0x17da45(0x173)]);}return _0x21ec1e;}[_0x28cd29(0x116)](_0xe767b9){const _0x56bbdd=_0x28cd29;if(!_0xe767b9[_0x56bbdd(0x1be)])return[];const _0x471062=[];let _0x53d749=0x0,_0x17226f=0x0,_0x4ffc24=[];for(let _0x5227ba=0x0;_0x5227ba<=_0xe767b9[_0x56bbdd(0x1be)];_0x5227ba++){const _0x37db9d=_0xe767b9[_0x5227ba],_0x18b6c2=_0xe767b9[_0x5227ba-0x1];!_0x37db9d||_0x18b6c2&&!this[_0x56bbdd(0xea)](_0x18b6c2)[_0x56bbdd(0x103)](this[_0x56bbdd(0x176)](_0x37db9d))?(_0x471062[_0x56bbdd(0xe1)]({'operations':_0x4ffc24,'operationsIsolated':_0x4ffc24[_0x56bbdd(0x160)](_0x3bc27f=>this[_0x56bbdd(0x132)](_0x3bc27f[_0x56bbdd(0x17d)](),-_0x17226f)),'groupOffset':_0x53d749}),_0x4ffc24=_0x37db9d?[_0x37db9d]:[],_0x17226f+=_0x53d749,_0x53d749=0x0):_0x4ffc24[_0x56bbdd(0xe1)](_0x37db9d),_0x37db9d&&_0x56bbdd(0x15b)===_0x37db9d[_0x56bbdd(0x199)]&&(_0x53d749+=_0x37db9d[_0x56bbdd(0x165)]);}return _0x471062;}[_0x28cd29(0x1b6)](_0x31d9ed,_0x236ae1,_0x44ac60,_0x2f926a=0x1){const _0x444858=_0x28cd29,_0x154065=new _0xfa2a36({'startPosition':_0x31d9ed,'direction':_0x236ae1});let _0x190012=0x0;for(let _0x59f8ca=0x0;_0x59f8ca<_0x2f926a;_0x59f8ca++){let _0x13ed4e=0x0,_0x5ced92=!0x1,_0x3e39fc=_0x444858(0x12d)===_0x236ae1?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x16abd3}of _0x154065)if(_0x16abd3['is'](_0x444858(0x16e))){const _0x566163=_0x3e39fc[_0x444858(0x16c)](_0x16abd3[_0x444858(0x1bb)]);if(_0x566163&&_0x566163[_0x444858(0x1be)]){if(_0x13ed4e+=_0x444858(0x12d)===_0x236ae1?_0x566163[_0x444858(0x18a)]+_0x566163[0x0][_0x444858(0x1be)]:_0x16abd3[_0x444858(0x1bb)][_0x444858(0x1be)]-_0x566163[_0x444858(0x18a)],_0x566163[0x0][_0x444858(0x1be)]!==_0x16abd3[_0x444858(0x1bb)][_0x444858(0x1be)])break;_0x5ced92=!0x0,_0x3e39fc=_0x444858(0x12d)===_0x236ae1?/^\w+/:/\w+$/;}else{if(_0x5ced92)break;_0x13ed4e+=_0x16abd3[_0x444858(0x102)];}}else{if(_0x16abd3['is'](_0x444858(0x169))){_0x44ac60[_0x444858(0x196)](_0x16abd3)&&!_0x5ced92&&(_0x13ed4e+=0x1);break;}}_0x190012+=_0x13ed4e,_0x154065[_0x444858(0x1ad)](_0x31d9ed[_0x444858(0x146)](_0x444858(0x12d)===_0x236ae1?_0x190012:-_0x190012));}return _0x190012;}[_0x28cd29(0x15e)](_0x7636e8,_0x59df46){const _0x47de87=_0x28cd29,_0xc0906b=_0x147c02(this[_0x47de87(0x178)])[_0x47de87(0x1aa)][_0x47de87(0x13c)],_0x5375d8=this[_0x47de87(0x1b6)](_0x7636e8,_0x47de87(0xe0),_0xc0906b,0x6),_0x2c7fe2=this[_0x47de87(0x1b6)](_0x59df46,_0x47de87(0x12d),_0xc0906b,0x6),_0x586c07=_0x7636e8[_0x47de87(0x146)](-_0x5375d8),_0x298d73=_0x59df46[_0x47de87(0x146)](_0x2c7fe2);return{'start':_0x586c07,'end':_0x298d73,'hasContentBefore':!_0x586c07[_0x47de87(0x17a)],'hasContentAfter':!_0x298d73[_0x47de87(0x150)]};}[_0x28cd29(0x113)](_0x115dbf){const _0x45e10b=_0x28cd29,_0x4dfc02=this[_0x45e10b(0x178)][_0x45e10b(0x1b2)][_0x45e10b(0xe4)](_0x45e10b(0x188)),_0x23b827=new Set();_0x147c02(this[_0x45e10b(0x178)])[_0x45e10b(0x1aa)][_0x45e10b(0x170)](_0x5742b6=>{const _0x3799d9=_0x45e10b;for(const _0xec4fd of _0x115dbf){const _0x3822ff=''+me+_0xec4fd[_0x3799d9(0x199)]+':'+_0xec4fd[_0x3799d9(0x112)]+'_'+_0x4dfc02[_0x3799d9(0xe7)](_0x23b827);this[_0x3799d9(0x161)][_0x3799d9(0x11a)](_0x3822ff,{'id':_0x3822ff,'groupId':_0xec4fd[_0x3799d9(0x112)],'type':_0xec4fd[_0x3799d9(0x199)],'text':_0xec4fd[_0x3799d9(0x14c)]}),_0x5742b6[_0x3799d9(0xda)](_0x3822ff,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5742b6[_0x3799d9(0x13f)](_0xec4fd[_0x3799d9(0x130)],_0xec4fd[_0x3799d9(0xe2)])});}});}[_0x28cd29(0xdf)](_0x456d21,_0x160e82,_0xda189a){let _0x52b998='';return()=>{const _0x1fef8a=_0x222a;if(!_0x52b998){const _0x5e4201=_0x160e82[_0x1fef8a(0xf5)](_0x456d21,{'showSuggestionHighlights':!0x0}),_0x327435=_0x5e4201[_0x1fef8a(0x197)](0x0);if(!_0x327435)return'';let _0xed8edf=!0x1;const _0x2b6692=[];for(const _0x278175 of _0x327435[_0x1fef8a(0x172)]())_0x278175['is'](_0x1fef8a(0x169),_0x1fef8a(0x1a7))&&_0x278175[_0x1fef8a(0x14a)](_0x1fef8a(0x19f))&&(_0xed8edf=!0x1),_0xed8edf&&_0x2b6692[_0x1fef8a(0xe1)](_0x278175),_0x278175['is'](_0x1fef8a(0x169),_0x1fef8a(0x1a7))&&_0x278175[_0x1fef8a(0x14a)](_0x1fef8a(0x117))&&(_0xed8edf=!0x0);_0x327435[_0x1fef8a(0x128)](0x0,_0x327435[_0x1fef8a(0x177)]),_0xda189a?.[_0x1fef8a(0x12c)]&&_0x327435[_0x1fef8a(0x18c)]('…'),_0x327435[_0x1fef8a(0x18c)](_0x2b6692),_0xda189a?.[_0x1fef8a(0x134)]&&_0x327435[_0x1fef8a(0x18c)]('…');const _0x4bec12=_0x160e82[_0x1fef8a(0x14e)][_0x1fef8a(0x12a)][_0x1fef8a(0x14d)](_0x5e4201),_0x1b5f40=_0x160e82[_0x1fef8a(0x14e)][_0x1fef8a(0x1a9)][_0x1fef8a(0x137)](_0x4bec12);_0x52b998=_0x1b5f40;}return _0x52b998;};}[_0x28cd29(0x1c5)](_0x2a87d3,_0x40d287){const _0x5d6d8a=_0x28cd29;let _0x5332dc='';return()=>(_0x5332dc||(_0x5332dc=_0x40d287[_0x5d6d8a(0x115)](_0x2a87d3,{'showSuggestionHighlights':!0x0})),_0x5332dc);}[_0x28cd29(0xe5)](_0x39d3b0,_0x5e2178,_0x6689a6){let _0x139954='';return()=>{const _0x715e6=_0x222a;if(!_0x139954){const _0x4a8846=_0x6689a6[_0x715e6(0xf5)](new _0x234b28(_0x39d3b0)),_0xf9345c=_0x6689a6[_0x715e6(0x14e)][_0x715e6(0x12a)][_0x715e6(0x14d)](_0x4a8846)[_0x715e6(0x131)](_0x715e6(0x168)+_0x5e2178+'\x22]');_0x139954=_0xf9345c?.[_0x715e6(0x12f)]||'';}return _0x139954;};}[_0x28cd29(0x14b)](_0x5741cc,_0x24e7d3=0x5){const _0x57c5cf=_0x28cd29;let _0x1ee6fb=_0x5741cc,_0xf37c62=null;for(let _0x303ea4=0x0;_0x303ea4<_0x24e7d3&&_0x1ee6fb;_0x303ea4++){if(!_0x1ee6fb[_0x57c5cf(0x13b)]){_0x1ee6fb=_0x1ee6fb[_0x57c5cf(0x198)];continue;}if(!(''+_0x1ee6fb[_0x57c5cf(0x13b)])[_0x57c5cf(0xdb)](_0x57c5cf(0x171))){_0x1ee6fb=_0x1ee6fb[_0x57c5cf(0x198)];continue;}if(!_0x1ee6fb[_0x57c5cf(0xde)](_0x57c5cf(0x129)))break;_0xf37c62=_0x1ee6fb;break;}return _0xf37c62;}[_0x28cd29(0x1b8)](_0x5a7646){const _0xf5524b=_0x28cd29;return Array[_0xf5524b(0x19d)](this[_0xf5524b(0x161)][_0xf5524b(0x19a)]())[_0xf5524b(0x124)](_0x267f0a=>_0x267f0a[_0xf5524b(0x112)]===_0x5a7646);}[_0x28cd29(0x176)](_0x25d713){const _0x4c59cf=_0x28cd29;return _0x4c59cf(0x15b)===_0x25d713[_0x4c59cf(0x199)]?_0x25d713[_0x4c59cf(0x163)]:_0x25d713[_0x4c59cf(0x183)][_0x4c59cf(0x130)];}[_0x28cd29(0xea)](_0x4bc513,_0x3e4362=!0x1){const _0xfdb6be=_0x28cd29;return _0xfdb6be(0x15b)===_0x4bc513[_0xfdb6be(0x199)]?_0x3e4362?_0x4bc513[_0xfdb6be(0x163)]:_0x4bc513[_0xfdb6be(0x163)][_0xfdb6be(0x146)](_0x4bc513[_0xfdb6be(0x165)]):_0x4bc513[_0xfdb6be(0x183)][_0xfdb6be(0xe2)];}[_0x28cd29(0x132)](_0x5b6d52,_0x1c2277){const _0x5b424c=_0x28cd29;return _0x5b424c(0x15b)===_0x5b6d52[_0x5b424c(0x199)]?_0x5b6d52[_0x5b424c(0x163)]=_0x5b6d52[_0x5b424c(0x163)][_0x5b424c(0x146)](_0x1c2277):_0x5b424c(0x105)===_0x5b6d52[_0x5b424c(0x199)]&&_0x5b6d52[_0x5b424c(0x183)]&&(_0x5b6d52[_0x5b424c(0x183)]=new _0x4af4fe(_0x5b6d52[_0x5b424c(0x183)][_0x5b424c(0x130)][_0x5b424c(0x146)](_0x1c2277),_0x5b6d52[_0x5b424c(0x183)][_0x5b424c(0xe2)][_0x5b424c(0x146)](_0x1c2277))),_0x5b6d52;}[_0x28cd29(0x122)](_0x3f82e9,_0x18eb9a){const _0x5385cd=_0x28cd29;_0x5385cd(0x15b)===_0x3f82e9[_0x5385cd(0x199)]?_0x3f82e9[_0x5385cd(0x163)]=this[_0x5385cd(0x187)](_0x3f82e9[_0x5385cd(0x163)],_0x18eb9a):_0x5385cd(0x105)===_0x3f82e9[_0x5385cd(0x199)]&&_0x3f82e9[_0x5385cd(0x183)]&&(_0x3f82e9[_0x5385cd(0x183)]=this[_0x5385cd(0x1c6)](_0x3f82e9[_0x5385cd(0x183)],_0x18eb9a));}[_0x28cd29(0x187)](_0x4e3d12,_0x5af9f3){const _0x2899e5=_0x28cd29;return new _0x3c6d10(_0x5af9f3,_0x4e3d12[_0x2899e5(0x133)]);}[_0x28cd29(0x1c6)](_0x140d16,_0x3635f6){const _0x1f5ac0=_0x28cd29;return new _0x4af4fe(this[_0x1f5ac0(0x187)](_0x140d16[_0x1f5ac0(0x130)],_0x3635f6),this[_0x1f5ac0(0x187)](_0x140d16[_0x1f5ac0(0xe2)],_0x3635f6));}[_0x28cd29(0x1b9)](_0x1fa199,_0x520f00){return new _0x3c6d10(_0x520f00,[..._0x1fa199]);}[_0x28cd29(0x1bc)](_0x1af65e,_0x4d112a,_0x3999c1,_0x3e71be){const _0x39eed1=_0x28cd29;return new _0x4af4fe(this[_0x39eed1(0x1b9)](_0x4d112a,_0x3e71be),this[_0x39eed1(0x1b9)](_0x3999c1,_0x3e71be));}[_0x28cd29(0xed)](_0x11b428){const _0x4b209b=_0x28cd29,_0x2b7292=_0x266c6e=>{const _0x54e1ed=_0x222a;switch(_0x266c6e){case _0x54e1ed(0x15b):return 0x1;case _0x54e1ed(0x136):return 0x2;case _0x54e1ed(0xfb):return 0x3;case _0x54e1ed(0x154):return 0x4;}};return _0x11b428[_0x4b209b(0x1b0)]((_0xa2c64e,_0x8db866)=>_0x2b7292(_0xa2c64e[_0x4b209b(0x199)])-_0x2b7292(_0x8db866[_0x4b209b(0x199)]));}[_0x28cd29(0x17e)](_0x3a2e9c,_0x1aefe3){const _0x3e7f20=_0x28cd29,_0x3eb1a9=_0x3a2e9c[_0x3e7f20(0x197)](0x0),_0x2e172c=_0x1aefe3[_0x3e7f20(0x197)](0x0);return!(!_0x3eb1a9||!_0x2e172c)&&((!_0x3eb1a9['is'](_0x3e7f20(0x169))||!_0x2e172c['is'](_0x3e7f20(0x169))||_0x3eb1a9[_0x3e7f20(0x109)]===_0x2e172c[_0x3e7f20(0x109)])&&!(_0x3eb1a9['is'](_0x3e7f20(0x169))&&!_0x2e172c['is'](_0x3e7f20(0x169))||!_0x3eb1a9['is'](_0x3e7f20(0x169))&&_0x2e172c['is'](_0x3e7f20(0x169))));}}
23
+ const _0x230b3b=_0x51b5;(function(_0x5849a0,_0x31f069){const _0x33f9d5=_0x51b5,_0x5d8cd6=_0x5849a0();while(!![]){try{const _0x555a8e=-parseInt(_0x33f9d5(0x124))/0x1+-parseInt(_0x33f9d5(0x141))/0x2*(parseInt(_0x33f9d5(0x153))/0x3)+-parseInt(_0x33f9d5(0x174))/0x4*(parseInt(_0x33f9d5(0x165))/0x5)+parseInt(_0x33f9d5(0x167))/0x6*(-parseInt(_0x33f9d5(0x1ef))/0x7)+-parseInt(_0x33f9d5(0x1f0))/0x8*(parseInt(_0x33f9d5(0x1ff))/0x9)+-parseInt(_0x33f9d5(0x1e4))/0xa*(parseInt(_0x33f9d5(0x144))/0xb)+-parseInt(_0x33f9d5(0x164))/0xc*(-parseInt(_0x33f9d5(0x16c))/0xd);if(_0x555a8e===_0x31f069)break;else _0x5d8cd6['push'](_0x5d8cd6['shift']());}catch(_0x230e04){_0x5d8cd6['push'](_0x5d8cd6['shift']());}}}(_0x4644,0x476ee));import{InsertOperation as _0x1900c7,MarkerOperation as _0x44ec3e,ModelDocumentFragment as _0x277d2a,ModelPosition as _0x1256cf,ModelRange as _0x2fa77b,ModelTreeWalker as _0xc24a46,transformOperationSets as _0x1f3c7f}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x42c415,EmitterMixin as _0x2b82a6}from'ckeditor5/src/utils.js';import{ContextPlugin as _0xe3e8d}from'ckeditor5/src/core.js';function _0x51b5(_0x1da5ed,_0x2794db){const _0x464480=_0x4644();return _0x51b5=function(_0x51b5cf,_0x104103){_0x51b5cf=_0x51b5cf-0x117;let _0x2045ee=_0x464480[_0x51b5cf];return _0x2045ee;},_0x51b5(_0x1da5ed,_0x2794db);}function _0x4644(){const _0xba699e=['suggestion-context','toData','getChildren','childCount','start','offsetSize','affectsData','every','applyChange','dataDowncast','_translateOperationToEditorContent','_appendChild','history','hasClass','getChangedMarkers','warn','containsRange','getPath','createSelection','exec','end','remove-text','isOfficialPlugin','insertContent','sort','_changeOperationOwnerDocument','set','_getChangeContext','_createGetContentFn','getHtml','model','_removeChildren','[data-id=\x22','processor','ck-ai_review-mode-marker_hide','changeMarkerClick','_domEmitter','_shiftOperation','requires','position','ck-ai_review-mode-marker_context-','name','createDocumentFragment','schema','registerPostFixer','elements','changeMarkerRemoved','remove-context','append','createPositionAt','pluginName','index','operationsA','click','length','oldRange','getRoots','documentFragment','target','_parseMarkerName','span','getChanges','clone','context','forEach','_markers','domConverter','data-marker-id','markChangePositionInEditorContent','map','element','ck-ai_review-mode-marker_underline','suggestion:deletion:id:authorId:','_removeAttribute','[data-marker-id=\x22','_changeRange','_insertMarkers','$documentFragment','flat','filter','getStart','parse','toDomElement','add','switchToReadOnly','_setAttribute','_getOperationStart','attributeToAttribute','for','getDomRoot','parent','_changePosition','enableReadOnlyMode','remove','backward','parentElement','keys','pop','howMany','toView','ck-ai_review-mode-marker_context-end','batch','isAtStart','plugins','conversion','createUIElement','$markedRemove','createText','addOperation','markerName','type','2895670cvztsl','disableReadOnlyMode','hasContentBefore','hasContentAfter','DocumentCompare','isIntersecting','downcast','_changeRangeOwnerDocument','concat','suggestion:insertion:id:authorId:','remove-only','14DtISRX','1384bsTjWi','isInline','innerHTML','getOperations','markerToHighlight','createRange','offset','isPremiumPlugin','querySelector','_createGetContentUsingDataIdFn','has','forward','getMarkerElementForChange','viewToDom','getRange','24093DrFJXj','version','newRange','push','AIEditing','_eventEmitter','htmlWriter','jumpTo','groupId','reviewmode-','stringify','_getMarkersDataForGroup','operationsIsolated','_getOperationEnd','delete','_nextDataId','emitter','_sortMarkers','_findMarkerElement','getDiff','ck-ai_review-mode-marker_strikethrough','markers','455910rnuMfx','getDocumentData','size','getShiftedBy','createPositionAfter','applyOperation','addMarker','htmlProcessor','baseVersion','model:$text','removeMarker','AIReviewModeEditing','ai-review-mode','_handleMarkerChanges','_groupAdjacentOperations','ck-ai_review-mode-marker_add','getRoot','rejectChange','switchToEdit','isOpening','hasAttribute','getEditor','startsWith','ck-ai_review-mode-marker_','editingDowncast','No\x20element\x20found\x20for\x20ID:\x20','outerHTML','change','_createGetContextFn','98FbZTJn','rootName','fire','22iAKoTn','insert','getAttribute','from','root','marker','path','includes','_changePositionOwnerDocument','markerToElement','split','_validateMarkers','caption','values','className','34659hZjNGR','get','changeMarkerRestored','ck-ai_review-mode-marker_context-start','afterInit','diffContent','nodes','clear','$graveyard','isTouching','isDocumentOperation','getChild','createRawElement','$textProxy','listenTo','_findAdjacentContextDistance','text','372ffGSUs','30IMhJLL','_clone','1650504MIGsOO','data','deleteContent','editing','view','1441778lTUJrv','clearAllMarkers','isAtEnd','ellipsisAfter','document','differ','ellipsisBefore','_hasSameTopLevelElement','354044XOEiGo'];_0x4644=function(){return _0xba699e;};return _0x4644();}import{DocumentCompare as _0x53f5b9,DATA_ID_MODEL_ATTRIBUTE as _0x9df2c5,DATA_ID_VIEW_ATTRIBUTE as _0x37a4ae}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x4793dc}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x7ff054}from'../aicore/aiediting.js';const we=_0x230b3b(0x117);export class AIReviewModeEditing extends _0xe3e8d{static get[_0x230b3b(0x1a7)](){const _0x138dc4=_0x230b3b;return _0x138dc4(0x12f);}static get[_0x230b3b(0x19b)](){return[_0x53f5b9,_0x7ff054];}static get[_0x230b3b(0x18b)](){return!0x0;}static get[_0x230b3b(0x1f7)](){return!0x0;}[_0x230b3b(0x1b6)]=new Map();[_0x230b3b(0x199)];[_0x230b3b(0x204)];constructor(_0x34a825){const _0x1f72e4=_0x230b3b;super(_0x34a825),this[_0x1f72e4(0x199)]=new(_0x42c415())(),this[_0x1f72e4(0x204)]=new(_0x2b82a6())();}get[_0x230b3b(0x11e)](){const _0x10cda5=_0x230b3b;return this[_0x10cda5(0x204)];}[_0x230b3b(0x157)](){const _0x3a3d62=_0x230b3b,_0xcd84d1=_0x4793dc(this[_0x3a3d62(0x1b4)]);_0xcd84d1[_0x3a3d62(0x1dd)][_0x3a3d62(0x1cd)](_0x3a3d62(0x13c))[_0x3a3d62(0x14d)]({'model':we+_0x3a3d62(0x145),'view':(_0x1cf676,{writer:_0x6d9e35})=>{const _0x2413e8=_0x3a3d62,_0xacd8b=this[_0x2413e8(0x1b6)][_0x2413e8(0x154)](_0x1cf676[_0x2413e8(0x1e2)]),_0x58e53e={'class':_0x2413e8(0x133),'data-marker-id':_0x1cf676[_0x2413e8(0x1e2)]};return _0x6d9e35[_0x2413e8(0x1de)](_0x2413e8(0x1b1),_0x58e53e,function(_0x45fad6){const _0x18c25c=_0x2413e8,_0x3e9857=this[_0x18c25c(0x1c7)](_0x45fad6);return _0x3e9857[_0x18c25c(0x1f2)]=_0xacd8b?.[_0x18c25c(0x163)]||'',_0x3e9857;});}}),_0xcd84d1[_0x3a3d62(0x1dd)][_0x3a3d62(0x1cd)](_0x3a3d62(0x13c))[_0x3a3d62(0x1f4)]({'model':we+_0x3a3d62(0x1ee),'view':_0x4796e9=>({'classes':_0x3a3d62(0x122),'attributes':{'data-marker-id':_0x4796e9[_0x3a3d62(0x1e2)]}})}),_0xcd84d1[_0x3a3d62(0x1dd)][_0x3a3d62(0x1cd)](_0x3a3d62(0x13c))[_0x3a3d62(0x1f4)]({'model':we+_0x3a3d62(0x1a4),'view':_0x2b3663=>({'classes':_0x3a3d62(0x1bc),'attributes':{'data-marker-id':_0x2b3663[_0x3a3d62(0x1e2)]}})}),_0xcd84d1[_0x3a3d62(0x1dd)][_0x3a3d62(0x1cd)](_0x3a3d62(0x13c))[_0x3a3d62(0x1f4)]({'model':we+_0x3a3d62(0x18a),'view':_0x4d3230=>({'classes':_0x3a3d62(0x197),'attributes':{'data-marker-id':_0x4d3230[_0x3a3d62(0x1e2)]}})}),_0xcd84d1[_0x3a3d62(0x1dd)][_0x3a3d62(0x1cd)](_0x3a3d62(0x17e))[_0x3a3d62(0x14d)]({'model':we+_0x3a3d62(0x175),'view':(_0x568b29,{writer:_0x56c221})=>_0x56c221[_0x3a3d62(0x15f)](_0x3a3d62(0x1b1),{'class':_0x3a3d62(0x19d)+(_0x568b29[_0x3a3d62(0x137)]?_0x3a3d62(0x179):_0x3a3d62(0x189))})}),_0xcd84d1[_0x3a3d62(0x1dd)][_0x3a3d62(0x1cd)](_0x3a3d62(0x1ea))[_0x3a3d62(0x1cc)]({'model':_0x9df2c5,'view':_0x37a4ae}),this[_0x3a3d62(0x199)][_0x3a3d62(0x161)](document,_0x3a3d62(0x1aa),(_0x5095bc,_0x7bcb78)=>{const _0x21d5b2=_0x3a3d62,_0x45cd74=_0x7bcb78[_0x21d5b2(0x1af)],_0x3ccc6f=this[_0x21d5b2(0x120)](_0x45cd74);if(!_0x3ccc6f)return;const _0x5804c6=_0x3ccc6f[_0x21d5b2(0x146)](_0x21d5b2(0x1b8)),_0x385ec8=_0x5804c6[_0x21d5b2(0x14e)](':')[_0x21d5b2(0x1d6)]()?.[_0x21d5b2(0x14e)]('_')[0x0];this[_0x21d5b2(0x204)][_0x21d5b2(0x143)](_0x21d5b2(0x198),{'markerId':_0x5804c6,'changeId':_0x385ec8});}),_0xcd84d1[_0x3a3d62(0x193)][_0x3a3d62(0x170)][_0x3a3d62(0x1a1)](_0x2feae8=>this[_0x3a3d62(0x14f)](_0xcd84d1,_0x2feae8)),_0xcd84d1[_0x3a3d62(0x193)][_0x3a3d62(0x170)]['on'](_0x3a3d62(0x13f),()=>this[_0x3a3d62(0x131)](_0xcd84d1));}[_0x230b3b(0x125)](){const _0x367ebc=_0x230b3b,_0x253941=this[_0x367ebc(0x1b4)][_0x367ebc(0x1dc)][_0x367ebc(0x154)](_0x367ebc(0x203)),_0x32139b=_0x4793dc(this[_0x367ebc(0x1b4)]),_0x791d6b=_0x32139b[_0x367ebc(0x193)],_0x1db5c5=new _0x277d2a();for(const _0x550de0 of _0x791d6b[_0x367ebc(0x170)][_0x367ebc(0x134)]()[_0x367ebc(0x177)]()){const _0x4dec1a=_0x550de0[_0x367ebc(0x166)](!0x0);_0x1db5c5[_0x367ebc(0x180)](_0x4dec1a);}for(const _0x549c35 of _0x791d6b[_0x367ebc(0x123)])_0x1db5c5[_0x367ebc(0x123)][_0x367ebc(0x18f)](_0x549c35[_0x367ebc(0x19e)],this[_0x367ebc(0x1eb)](_0x549c35[_0x367ebc(0x1fe)]()[_0x367ebc(0x1b3)](),_0x1db5c5));const _0x3c3601=new _0xc24a46({'ignoreElementEnd':!0x0,'startPosition':_0x791d6b[_0x367ebc(0x1a6)](_0x1db5c5,0x0)}),_0x31a300=new Set(),_0x519fc8=new Map();for(const {item:_0x518c87}of _0x3c3601){if(!_0x518c87['is'](_0x367ebc(0x160)))continue;const _0x267af2=_0x518c87[_0x367ebc(0x1cf)];if((!_0x267af2||!_0x267af2['is'](_0x367ebc(0x1bb),_0x367ebc(0x150)))&&(_0x267af2&&_0x267af2['is'](_0x367ebc(0x1bb)))){let _0x4d316b=_0x267af2[_0x367ebc(0x146)](_0x9df2c5);_0x4d316b||(_0x4d316b=_0x253941[_0x367ebc(0x11d)](_0x31a300),_0x267af2[_0x367ebc(0x1ca)](_0x9df2c5,_0x4d316b)),_0x31a300[_0x367ebc(0x1c8)](_0x4d316b);let _0x21c00c=_0x267af2;for(;_0x21c00c[_0x367ebc(0x1cf)]&&!_0x21c00c[_0x367ebc(0x1cf)]['is'](_0x367ebc(0x1ae));)_0x21c00c=_0x21c00c[_0x367ebc(0x1cf)],_0x21c00c[_0x367ebc(0x138)](_0x9df2c5)&&_0x21c00c[_0x367ebc(0x1be)](_0x9df2c5);_0x519fc8[_0x367ebc(0x18f)](_0x4d316b,{'path':_0x267af2[_0x367ebc(0x186)](),'getContent':this[_0x367ebc(0x1f9)](_0x21c00c[_0x367ebc(0x166)](!0x0),_0x4d316b,_0x32139b[_0x367ebc(0x168)])}),_0x3c3601[_0x367ebc(0x206)](_0x791d6b[_0x367ebc(0x128)](_0x267af2));}}return{'content':_0x32139b[_0x367ebc(0x168)][_0x367ebc(0x196)][_0x367ebc(0x176)](_0x32139b[_0x367ebc(0x168)][_0x367ebc(0x1d8)](_0x1db5c5)),'version':_0x32139b[_0x367ebc(0x193)][_0x367ebc(0x170)][_0x367ebc(0x200)],'elements':_0x519fc8};}[_0x230b3b(0x158)](_0x14a129,_0x350b48){const _0x2783a8=_0x230b3b,_0x23087a=[],_0x138d76=_0x4793dc(this[_0x2783a8(0x1b4)]),_0xef50be=_0x138d76[_0x2783a8(0x168)][_0x2783a8(0x1c6)](_0x14a129,_0x2783a8(0x1c2)),_0x5ccc0=_0x138d76[_0x2783a8(0x193)][_0x2783a8(0x1a6)](_0xef50be,0x0),_0x3ddaad=_0x138d76[_0x2783a8(0x168)][_0x2783a8(0x1c6)](_0x350b48,_0x2783a8(0x1c2));if(!this[_0x2783a8(0x173)](_0xef50be,_0x3ddaad))return _0x23087a;const _0x2e1ee3=this[_0x2783a8(0x1b4)][_0x2783a8(0x1dc)][_0x2783a8(0x154)](_0x2783a8(0x1e8))[_0x2783a8(0x121)](_0x14a129,_0x350b48,{'anchor':_0x5ccc0,'markDeletions':!0x0})[_0x2783a8(0x1f3)]()[_0x2783a8(0x1c4)](_0x2f45b0=>_0x2783a8(0x145)===_0x2f45b0[_0x2783a8(0x1e3)]||_0x2783a8(0x149)===_0x2f45b0[_0x2783a8(0x1e3)]&&_0x2f45b0[_0x2783a8(0x19e)][_0x2783a8(0x13a)](_0x2783a8(0x1df))),_0x172f55=this[_0x2783a8(0x132)](_0x2e1ee3);let _0x20f1e1=0x0;return _0x138d76[_0x2783a8(0x193)][_0x2783a8(0x13f)](_0x31e67f=>{const _0x4943cb=_0x2783a8;for(let _0x167666=0x0;_0x167666<_0x172f55[_0x4943cb(0x1ab)];_0x167666++){const _0x51b081=_0x172f55[_0x167666],_0x3ff393=_0x31e67f[_0x4943cb(0x19f)]();for(const _0x86cc23 of _0xef50be[_0x4943cb(0x177)]())_0x31e67f[_0x4943cb(0x1a5)](_0x86cc23[_0x4943cb(0x166)](!0x0),_0x3ff393);for(const _0x15c458 of _0x51b081[_0x4943cb(0x11a)])if(_0x4943cb(0x145)===_0x15c458[_0x4943cb(0x1e3)]){const _0x23603a=_0x15c458;_0x23603a[_0x4943cb(0x12c)]=null,_0x23603a[_0x4943cb(0x15d)]=!0x1,this[_0x4943cb(0x18e)](_0x23603a,_0x3ff393),_0x31e67f[_0x4943cb(0x1da)][_0x4943cb(0x1e1)](_0x15c458),_0x138d76[_0x4943cb(0x193)][_0x4943cb(0x129)](_0x15c458);const _0x556074=_0x4943cb(0x1ed)+_0x20f1e1++,_0x4fc5b9=_0x138d76[_0x4943cb(0x193)][_0x4943cb(0x1f5)](_0x23603a[_0x4943cb(0x19c)],_0x23603a[_0x4943cb(0x19c)][_0x4943cb(0x127)](_0x23603a[_0x4943cb(0x1d7)]));_0x3ff393[_0x4943cb(0x123)][_0x4943cb(0x18f)](_0x556074,_0x4fc5b9);}else{if(_0x4943cb(0x149)===_0x15c458[_0x4943cb(0x1e3)]&&_0x15c458[_0x4943cb(0x19e)][_0x4943cb(0x13a)](_0x4943cb(0x1df))){const _0x3a15ed=_0x15c458,_0x526fba=_0x4943cb(0x1bd)+_0x20f1e1++;this[_0x4943cb(0x18e)](_0x3a15ed,_0x3ff393),_0x3ff393[_0x4943cb(0x123)][_0x4943cb(0x18f)](_0x526fba,_0x3a15ed[_0x4943cb(0x201)]);}}const _0x5a2f64=this[_0x4943cb(0x190)](this[_0x4943cb(0x14c)](this[_0x4943cb(0x1cb)](_0x51b081[_0x4943cb(0x11a)][0x0]),_0x3ff393),this[_0x4943cb(0x14c)](this[_0x4943cb(0x11b)](_0x51b081[_0x4943cb(0x11a)][_0x51b081[_0x4943cb(0x11a)][_0x4943cb(0x1ab)]-0x1]),_0x3ff393));_0x3ff393[_0x4943cb(0x123)][_0x4943cb(0x18f)](we+_0x4943cb(0x175),new _0x2fa77b(_0x5a2f64[_0x4943cb(0x179)],_0x5a2f64[_0x4943cb(0x189)])),_0x23087a[_0x4943cb(0x202)]({..._0x51b081,'context':this[_0x4943cb(0x140)](_0x3ff393,_0x138d76[_0x4943cb(0x168)],{'ellipsisBefore':_0x5a2f64[_0x4943cb(0x1e6)],'ellipsisAfter':_0x5a2f64[_0x4943cb(0x1e7)]}),'content':this[_0x4943cb(0x191)](_0x3ff393,_0x138d76[_0x4943cb(0x168)])});}}),_0x23087a;}[_0x230b3b(0x1b9)](_0x40d38e,_0xe20a2c){const _0x2ce701=_0x230b3b;if(!_0x40d38e[_0x2ce701(0x1ab)])return;const _0x17c1bb=_0x40d38e[0x0][_0x2ce701(0x1cf)]['id'],_0x2420e0=_0xe20a2c[_0x2ce701(0x1a2)][_0x2ce701(0x154)](_0x17c1bb);if(!_0x2420e0)return void console[_0x2ce701(0x184)](_0x2ce701(0x13d)+_0x17c1bb);const _0x1e114d=_0x2420e0[_0x2ce701(0x14a)],_0xa2182c=_0x4793dc(this[_0x2ce701(0x1b4)]),_0x57bf92=_0xa2182c[_0x2ce701(0x193)][_0x2ce701(0x170)][_0x2ce701(0x181)][_0x2ce701(0x1f3)](_0xe20a2c[_0x2ce701(0x200)]),_0x38a7b7=[];for(const _0x15bc01 of _0x40d38e){const _0x46266a=_0x15bc01[_0x2ce701(0x11a)][_0x2ce701(0x1ba)](_0x2f6288=>this[_0x2ce701(0x17f)](_0x2f6288,_0x1e114d,_0xa2182c[_0x2ce701(0x193)][_0x2ce701(0x170)][_0x2ce701(0x1ad)]()[0x0]));if(!_0x46266a||!_0x46266a[_0x2ce701(0x1ab)])continue;const _0x1c35c5=_0x46266a[_0x2ce701(0x17c)](_0x1732c4=>_0x2ce701(0x149)===_0x1732c4[_0x2ce701(0x1e3)]&&_0x1732c4[_0x2ce701(0x19e)][_0x2ce701(0x13a)](_0x2ce701(0x1df))),_0x1482a8={'document':_0xa2182c[_0x2ce701(0x193)][_0x2ce701(0x170)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x57b0e7=_0x1f3c7f(_0x46266a,_0x57bf92,_0x1482a8)[_0x2ce701(0x1a9)];for(const _0x29b225 of _0x57b0e7)if(_0x2ce701(0x145)===_0x29b225[_0x2ce701(0x1e3)]){const _0x402f07=_0x29b225,_0xaacc4c=_0x402f07[_0x2ce701(0x159)];let _0x54d264='';for(const _0x139b62 of _0xaacc4c)_0x139b62&&_0x139b62['is'](_0x2ce701(0x12d))&&(_0x54d264+=_0x139b62[_0x2ce701(0x168)]);_0x38a7b7[_0x2ce701(0x202)]({'start':_0x402f07[_0x2ce701(0x19c)],'end':_0x402f07[_0x2ce701(0x19c)],'type':_0x2ce701(0x145),'groupId':_0x15bc01['id'],'text':_0x54d264});}else{if(_0x2ce701(0x149)===_0x29b225[_0x2ce701(0x1e3)]&&_0x29b225[_0x2ce701(0x19e)][_0x2ce701(0x13a)](_0x2ce701(0x1df))){const _0x40132d=_0x29b225;let _0x2c47df=_0x2ce701(0x18a);if(_0x1c35c5){const _0x12a1db=this[_0x2ce701(0x162)](_0x40132d[_0x2ce701(0x201)][_0x2ce701(0x179)],_0x2ce701(0x1d3),_0xa2182c[_0x2ce701(0x193)][_0x2ce701(0x1a0)]),_0x2059a6=this[_0x2ce701(0x162)](_0x40132d[_0x2ce701(0x201)][_0x2ce701(0x189)],_0x2ce701(0x1fb),_0xa2182c[_0x2ce701(0x193)][_0x2ce701(0x1a0)]);if(_0x12a1db||_0x2059a6){const _0x37cc02=_0x40132d[_0x2ce701(0x201)][_0x2ce701(0x179)][_0x2ce701(0x127)](-_0x12a1db),_0xc8c0f2=_0x40132d[_0x2ce701(0x201)][_0x2ce701(0x189)][_0x2ce701(0x127)](_0x2059a6);_0x38a7b7[_0x2ce701(0x202)]({'start':_0x37cc02,'end':_0xc8c0f2,'groupId':_0x15bc01['id'],'type':_0x2ce701(0x1a4)});}else _0x2c47df=_0x2ce701(0x1ee);}_0x38a7b7[_0x2ce701(0x202)]({'start':_0x40132d[_0x2ce701(0x201)][_0x2ce701(0x179)],'end':_0x40132d[_0x2ce701(0x201)][_0x2ce701(0x189)],'groupId':_0x15bc01['id'],'type':_0x2c47df});}}}this[_0x2ce701(0x1c1)](_0x38a7b7);}[_0x230b3b(0x16d)](){const _0xdecb4c=_0x230b3b,_0x198cc3=_0x4793dc(this[_0xdecb4c(0x1b4)]);_0x198cc3[_0xdecb4c(0x193)][_0xdecb4c(0x13f)](_0x281743=>{const _0x3cdfd3=_0xdecb4c;for(const _0x20eee1 of this[_0x3cdfd3(0x1b6)][_0x3cdfd3(0x1d5)]())_0x198cc3[_0x3cdfd3(0x193)][_0x3cdfd3(0x123)][_0x3cdfd3(0x154)](_0x20eee1)&&_0x281743[_0x3cdfd3(0x12e)](_0x20eee1);}),this[_0xdecb4c(0x1b6)][_0xdecb4c(0x15a)]();}[_0x230b3b(0x1c9)](){const _0x3ccbd0=_0x230b3b;_0x4793dc(this[_0x3ccbd0(0x1b4)])[_0x3ccbd0(0x1d1)](_0x3ccbd0(0x130));}[_0x230b3b(0x136)](){const _0x5e77a3=_0x230b3b;_0x4793dc(this[_0x5e77a3(0x1b4)])[_0x5e77a3(0x1e5)](_0x5e77a3(0x130));}[_0x230b3b(0x17d)](_0x4e2e10){const _0xb2469f=_0x230b3b,_0x1c3dfe=_0x4793dc(this[_0xb2469f(0x1b4)]),_0x44955d=_0x1c3dfe[_0xb2469f(0x193)],_0x58c5e6=_0x4e2e10[_0xb2469f(0x1ba)](_0x2fecc9=>this[_0xb2469f(0x119)](_0x2fecc9))[_0xb2469f(0x1c3)]();_0x44955d[_0xb2469f(0x13f)](_0xf4a286=>{const _0x2b0d47=_0xb2469f;for(const _0x2a460b of _0x58c5e6){const _0x3afe55=_0x1c3dfe[_0x2b0d47(0x193)][_0x2b0d47(0x123)][_0x2b0d47(0x154)](_0x2a460b['id']);_0x3afe55&&(_0x2b0d47(0x145)===_0x2a460b[_0x2b0d47(0x1e3)]?_0x44955d[_0x2b0d47(0x18c)](_0xf4a286[_0x2b0d47(0x1e0)](_0x2a460b[_0x2b0d47(0x163)]||''),_0x3afe55[_0x2b0d47(0x1fe)]()[_0x2b0d47(0x179)]):_0x2b0d47(0x18a)!==_0x2a460b[_0x2b0d47(0x1e3)]&&_0x2b0d47(0x1ee)!==_0x2a460b[_0x2b0d47(0x1e3)]||_0x44955d[_0x2b0d47(0x169)](_0x44955d[_0x2b0d47(0x187)](_0x3afe55[_0x2b0d47(0x1fe)]())),_0xf4a286[_0x2b0d47(0x12e)](_0x2a460b['id']),this[_0x2b0d47(0x1b6)][_0x2b0d47(0x11c)](_0x2a460b['id']));}});}[_0x230b3b(0x135)](_0x8a26b9){const _0x2b0f1d=_0x230b3b,_0x1e53b5=_0x4793dc(this[_0x2b0f1d(0x1b4)]),_0x24b500=this[_0x2b0f1d(0x119)](_0x8a26b9);_0x1e53b5[_0x2b0f1d(0x193)][_0x2b0f1d(0x13f)](_0x5b355e=>{const _0x56a254=_0x2b0f1d;for(const _0x3ae21d of _0x24b500)_0x5b355e[_0x56a254(0x12e)](_0x3ae21d['id']),this[_0x56a254(0x1b6)][_0x56a254(0x11c)](_0x3ae21d['id']);});}[_0x230b3b(0x139)](){const _0x42c452=_0x230b3b;return _0x4793dc(this[_0x42c452(0x1b4)]);}[_0x230b3b(0x1fc)](_0x3d74ee){const _0x2c4392=_0x230b3b,_0x15e6a4=Array[_0x2c4392(0x147)](this[_0x2c4392(0x1b6)][_0x2c4392(0x151)]())[_0x2c4392(0x1c4)](_0x52de76=>_0x52de76[_0x2c4392(0x207)]===_0x3d74ee);if(!_0x15e6a4[_0x2c4392(0x1ab)])return null;const _0x24adf6=0x1===_0x15e6a4[_0x2c4392(0x1ab)]?_0x15e6a4[0x0]:this[_0x2c4392(0x11f)](_0x15e6a4)[0x0],_0x19f5b8=_0x4793dc(this[_0x2c4392(0x1b4)]),_0x4dea50=_0x19f5b8[_0x2c4392(0x193)][_0x2c4392(0x123)][_0x2c4392(0x154)](_0x24adf6['id']);if(!_0x4dea50)return null;const _0x584d3f=_0x4dea50[_0x2c4392(0x1fe)](),_0x4d82e6=_0x19f5b8[_0x2c4392(0x16a)][_0x2c4392(0x16b)][_0x2c4392(0x1ce)]();if(!_0x4d82e6||!_0x584d3f)return null;const _0x16b485=_0x4d82e6[_0x2c4392(0x1f8)](_0x2c4392(0x1bf)+_0x24adf6['id']+'\x22]');return _0x16b485?{'modelRange':_0x584d3f,'domElement':_0x16b485}:null;}[_0x230b3b(0x14f)](_0x43d5de,_0x1e9131){const _0x41065b=_0x230b3b,_0x1013ae=Array[_0x41065b(0x147)](this[_0x41065b(0x1b6)][_0x41065b(0x1d5)]()),_0x23bb50=new Map();for(const _0x4f878d of _0x1013ae){const _0x58daa2=_0x43d5de[_0x41065b(0x193)][_0x41065b(0x123)][_0x41065b(0x154)](_0x4f878d);if(!_0x58daa2)continue;const _0x2bc571=_0x58daa2[_0x41065b(0x1c5)]()[_0x41065b(0x14a)][0x0];_0x23bb50[_0x41065b(0x1fa)](_0x2bc571)||_0x23bb50[_0x41065b(0x18f)](_0x2bc571,[]),_0x23bb50[_0x41065b(0x154)](_0x2bc571)[_0x41065b(0x202)](_0x58daa2);}const _0x262a7e=new Set();for(const _0x5dac95 of _0x43d5de[_0x41065b(0x193)][_0x41065b(0x170)][_0x41065b(0x171)][_0x41065b(0x1b2)]()){let _0x1c2889=-0x1,_0x469dd9=null;if(_0x41065b(0x145)===_0x5dac95[_0x41065b(0x1e3)])_0x469dd9=new _0x2fa77b(_0x5dac95[_0x41065b(0x19c)],_0x5dac95[_0x41065b(0x19c)][_0x41065b(0x127)](_0x5dac95[_0x41065b(0x1ab)])),_0x1c2889=_0x5dac95[_0x41065b(0x19c)][_0x41065b(0x14a)][0x0];else{if(_0x41065b(0x1d2)!==_0x5dac95[_0x41065b(0x1e3)])continue;_0x469dd9=new _0x2fa77b(_0x5dac95[_0x41065b(0x19c)]),_0x1c2889=_0x5dac95[_0x41065b(0x19c)][_0x41065b(0x14a)][0x0];}const _0x1f096f=_0x23bb50[_0x41065b(0x154)](_0x1c2889)||[];if(_0x1f096f[_0x41065b(0x1ab)]){for(const _0x86cfe5 of _0x1f096f)if(_0x469dd9[_0x41065b(0x148)][_0x41065b(0x142)]===_0x86cfe5[_0x41065b(0x1fe)]()[_0x41065b(0x148)][_0x41065b(0x142)]&&(_0x41065b(0x145)!==_0x5dac95[_0x41065b(0x1e3)]||!_0x469dd9[_0x41065b(0x185)](_0x86cfe5[_0x41065b(0x1fe)]()))&&(_0x469dd9[_0x41065b(0x1e9)](_0x86cfe5[_0x41065b(0x1fe)]())||_0x469dd9[_0x41065b(0x179)][_0x41065b(0x15c)](_0x86cfe5[_0x41065b(0x1fe)]()[_0x41065b(0x189)])||_0x469dd9[_0x41065b(0x189)][_0x41065b(0x15c)](_0x86cfe5[_0x41065b(0x1fe)]()[_0x41065b(0x179)]))){const _0x32fb39=this[_0x41065b(0x1b0)](_0x86cfe5[_0x41065b(0x19e)]);Array[_0x41065b(0x147)](this[_0x41065b(0x1b6)][_0x41065b(0x151)]())[_0x41065b(0x1c4)](_0x4d91cb=>_0x4d91cb[_0x41065b(0x207)]===_0x32fb39[_0x41065b(0x207)])[_0x41065b(0x1b5)](_0xe31e53=>_0x262a7e[_0x41065b(0x1c8)](_0xe31e53['id']));}}}if(_0x262a7e[_0x41065b(0x126)]){for(const _0x44f1e9 of _0x262a7e)_0x1e9131[_0x41065b(0x12e)](_0x44f1e9);return!0x0;}return!0x1;}[_0x230b3b(0x131)](_0x4bcc40){const _0x35cd29=_0x230b3b;for(const {name:_0x3615a0,data:_0x42fee0}of _0x4bcc40[_0x35cd29(0x193)][_0x35cd29(0x170)][_0x35cd29(0x171)][_0x35cd29(0x183)]()){if(!_0x3615a0[_0x35cd29(0x13a)](we))continue;const _0x3c8261=_0x42fee0[_0x35cd29(0x1ac)],_0x328b12=_0x42fee0[_0x35cd29(0x201)],_0x308c58=_0x3c8261&&_0x35cd29(0x15b)===_0x3c8261[_0x35cd29(0x148)][_0x35cd29(0x142)],_0x4be4f2=_0x328b12&&_0x35cd29(0x15b)===_0x328b12[_0x35cd29(0x148)][_0x35cd29(0x142)];if(_0x308c58&&_0x4be4f2)continue;const _0x454d76=this[_0x35cd29(0x1b0)](_0x3615a0);this[_0x35cd29(0x1b6)][_0x35cd29(0x154)](_0x3615a0)&&(_0x4be4f2||!_0x328b12?this[_0x35cd29(0x204)][_0x35cd29(0x143)](_0x35cd29(0x1a3),{'markerId':_0x3615a0,'changeId':_0x454d76[_0x35cd29(0x207)]}):_0x308c58&&_0x328b12&&this[_0x35cd29(0x204)][_0x35cd29(0x143)](_0x35cd29(0x155),{'markerId':_0x3615a0,'changeId':_0x454d76[_0x35cd29(0x207)]}));}}[_0x230b3b(0x1b0)](_0x4f95f2){const _0x4f642c=_0x230b3b,_0x5b0045=_0x4f95f2[_0x4f642c(0x14e)](':'),_0x1e8e99=(_0x5b0045[0x1]||'')[_0x4f642c(0x14e)]('_');return{'prefix':_0x5b0045[0x0],'groupId':_0x1e8e99[0x0],'suffix':_0x1e8e99[0x1]};}[_0x230b3b(0x17f)](_0x6c7574,_0x2488d2,_0x18dd02){const _0x4b55d0=_0x230b3b;if(_0x4b55d0(0x145)===_0x6c7574[_0x4b55d0(0x1e3)]){const _0x4258fe=_0x6c7574;return new _0x1900c7(this[_0x4b55d0(0x1d0)](_0x2488d2[_0x4b55d0(0x1ec)](_0x4258fe[_0x4b55d0(0x19c)][_0x4b55d0(0x1f6)]),_0x18dd02),_0x4258fe[_0x4b55d0(0x159)],_0x4258fe[_0x4b55d0(0x12c)]);}if(_0x4b55d0(0x149)===_0x6c7574[_0x4b55d0(0x1e3)]&&_0x6c7574[_0x4b55d0(0x19e)][_0x4b55d0(0x13a)](_0x4b55d0(0x1df))){const _0x15dd50=_0x6c7574;return new _0x44ec3e(_0x15dd50[_0x4b55d0(0x19e)],_0x15dd50[_0x4b55d0(0x1ac)],this[_0x4b55d0(0x1c0)](_0x15dd50[_0x4b55d0(0x201)],_0x2488d2[_0x4b55d0(0x1ec)](_0x15dd50[_0x4b55d0(0x201)][_0x4b55d0(0x179)][_0x4b55d0(0x1f6)]),_0x2488d2[_0x4b55d0(0x1ec)](_0x15dd50[_0x4b55d0(0x201)][_0x4b55d0(0x189)][_0x4b55d0(0x1f6)]),_0x18dd02),_0x15dd50[_0x4b55d0(0x1b6)],_0x15dd50[_0x4b55d0(0x17b)],_0x15dd50[_0x4b55d0(0x12c)]);}return _0x6c7574;}[_0x230b3b(0x132)](_0x905922){const _0x1723b7=_0x230b3b;if(!_0x905922[_0x1723b7(0x1ab)])return[];const _0xcaefab=[];let _0x2ec18f=0x0,_0x3e7d21=0x0,_0x5b9f1c=[];for(let _0x58785a=0x0;_0x58785a<=_0x905922[_0x1723b7(0x1ab)];_0x58785a++){const _0x5870b5=_0x905922[_0x58785a],_0x439689=_0x905922[_0x58785a-0x1];!_0x5870b5||_0x439689&&!this[_0x1723b7(0x11b)](_0x439689)[_0x1723b7(0x15c)](this[_0x1723b7(0x1cb)](_0x5870b5))?(_0xcaefab[_0x1723b7(0x202)]({'operations':_0x5b9f1c,'operationsIsolated':_0x5b9f1c[_0x1723b7(0x1ba)](_0x40756f=>this[_0x1723b7(0x19a)](_0x40756f[_0x1723b7(0x1b3)](),-_0x3e7d21)),'groupOffset':_0x2ec18f}),_0x5b9f1c=_0x5870b5?[_0x5870b5]:[],_0x3e7d21+=_0x2ec18f,_0x2ec18f=0x0):_0x5b9f1c[_0x1723b7(0x202)](_0x5870b5),_0x5870b5&&_0x1723b7(0x145)===_0x5870b5[_0x1723b7(0x1e3)]&&(_0x2ec18f+=_0x5870b5[_0x1723b7(0x1d7)]);}return _0xcaefab;}[_0x230b3b(0x162)](_0x5f0e22,_0x49f6ca,_0x12620b,_0x5cb618=0x1){const _0x57105e=_0x230b3b,_0x2d3540=new _0xc24a46({'startPosition':_0x5f0e22,'direction':_0x49f6ca});let _0x1281d6=0x0;for(let _0x2db3ff=0x0;_0x2db3ff<_0x5cb618;_0x2db3ff++){let _0x3fba89=0x0,_0x218a69=!0x1,_0x31a675=_0x57105e(0x1fb)===_0x49f6ca?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x5d4a44}of _0x2d3540)if(_0x5d4a44['is'](_0x57105e(0x160))){const _0x4b8a49=_0x31a675[_0x57105e(0x188)](_0x5d4a44[_0x57105e(0x168)]);if(_0x4b8a49&&_0x4b8a49[_0x57105e(0x1ab)]){if(_0x3fba89+=_0x57105e(0x1fb)===_0x49f6ca?_0x4b8a49[_0x57105e(0x1a8)]+_0x4b8a49[0x0][_0x57105e(0x1ab)]:_0x5d4a44[_0x57105e(0x168)][_0x57105e(0x1ab)]-_0x4b8a49[_0x57105e(0x1a8)],_0x4b8a49[0x0][_0x57105e(0x1ab)]!==_0x5d4a44[_0x57105e(0x168)][_0x57105e(0x1ab)])break;_0x218a69=!0x0,_0x31a675=_0x57105e(0x1fb)===_0x49f6ca?/^\w+/:/\w+$/;}else{if(_0x218a69)break;_0x3fba89+=_0x5d4a44[_0x57105e(0x17a)];}}else{if(_0x5d4a44['is'](_0x57105e(0x1bb))){_0x12620b[_0x57105e(0x1f1)](_0x5d4a44)&&!_0x218a69&&(_0x3fba89+=0x1);break;}}_0x1281d6+=_0x3fba89,_0x2d3540[_0x57105e(0x206)](_0x5f0e22[_0x57105e(0x127)](_0x57105e(0x1fb)===_0x49f6ca?_0x1281d6:-_0x1281d6));}return _0x1281d6;}[_0x230b3b(0x190)](_0x16527a,_0x3b0856){const _0x46e42b=_0x230b3b,_0x525500=_0x4793dc(this[_0x46e42b(0x1b4)])[_0x46e42b(0x193)][_0x46e42b(0x1a0)],_0x51fe24=this[_0x46e42b(0x162)](_0x16527a,_0x46e42b(0x1d3),_0x525500,0x6),_0x41a343=this[_0x46e42b(0x162)](_0x3b0856,_0x46e42b(0x1fb),_0x525500,0x6),_0x1e5783=_0x16527a[_0x46e42b(0x127)](-_0x51fe24),_0x3204ec=_0x3b0856[_0x46e42b(0x127)](_0x41a343);return{'start':_0x1e5783,'end':_0x3204ec,'hasContentBefore':!_0x1e5783[_0x46e42b(0x1db)],'hasContentAfter':!_0x3204ec[_0x46e42b(0x16e)]};}[_0x230b3b(0x1c1)](_0x45b0cc){const _0xfe7e20=_0x230b3b,_0x211c1e=this[_0xfe7e20(0x1b4)][_0xfe7e20(0x1dc)][_0xfe7e20(0x154)](_0xfe7e20(0x203)),_0x4db690=new Set();_0x4793dc(this[_0xfe7e20(0x1b4)])[_0xfe7e20(0x193)][_0xfe7e20(0x13f)](_0x541523=>{const _0x4b55c9=_0xfe7e20;for(const _0x36db43 of _0x45b0cc){const _0x24f8ca=''+we+_0x36db43[_0x4b55c9(0x1e3)]+':'+_0x36db43[_0x4b55c9(0x207)]+'_'+_0x211c1e[_0x4b55c9(0x11d)](_0x4db690);this[_0x4b55c9(0x1b6)][_0x4b55c9(0x18f)](_0x24f8ca,{'id':_0x24f8ca,'groupId':_0x36db43[_0x4b55c9(0x207)],'type':_0x36db43[_0x4b55c9(0x1e3)],'text':_0x36db43[_0x4b55c9(0x163)]}),_0x541523[_0x4b55c9(0x12a)](_0x24f8ca,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x541523[_0x4b55c9(0x1f5)](_0x36db43[_0x4b55c9(0x179)],_0x36db43[_0x4b55c9(0x189)])});}});}[_0x230b3b(0x140)](_0x2c51da,_0x839eeb,_0x2fe4d7){let _0x10d816='';return()=>{const _0x2cd76f=_0x51b5;if(!_0x10d816){const _0x5e86e7=_0x839eeb[_0x2cd76f(0x1d8)](_0x2c51da,{'showSuggestionHighlights':!0x0}),_0x5f0a53=_0x5e86e7[_0x2cd76f(0x15e)](0x0);if(!_0x5f0a53)return'';let _0x1eceab=!0x1;const _0x1fec20=[];for(const _0x502da5 of _0x5f0a53[_0x2cd76f(0x177)]())_0x502da5['is'](_0x2cd76f(0x1bb),_0x2cd76f(0x1b1))&&_0x502da5[_0x2cd76f(0x182)](_0x2cd76f(0x1d9))&&(_0x1eceab=!0x1),_0x1eceab&&_0x1fec20[_0x2cd76f(0x202)](_0x502da5),_0x502da5['is'](_0x2cd76f(0x1bb),_0x2cd76f(0x1b1))&&_0x502da5[_0x2cd76f(0x182)](_0x2cd76f(0x156))&&(_0x1eceab=!0x0);_0x5f0a53[_0x2cd76f(0x194)](0x0,_0x5f0a53[_0x2cd76f(0x178)]),_0x2fe4d7?.[_0x2cd76f(0x172)]&&_0x5f0a53[_0x2cd76f(0x180)]('…'),_0x5f0a53[_0x2cd76f(0x180)](_0x1fec20),_0x2fe4d7?.[_0x2cd76f(0x16f)]&&_0x5f0a53[_0x2cd76f(0x180)]('…');const _0x18ce98=_0x839eeb[_0x2cd76f(0x12b)][_0x2cd76f(0x1b7)][_0x2cd76f(0x1fd)](_0x5e86e7),_0x1f0827=_0x839eeb[_0x2cd76f(0x12b)][_0x2cd76f(0x205)][_0x2cd76f(0x192)](_0x18ce98);_0x10d816=_0x1f0827;}return _0x10d816;};}[_0x230b3b(0x191)](_0x20dca2,_0x365f18){const _0x5900ea=_0x230b3b;let _0x314c01='';return()=>(_0x314c01||(_0x314c01=_0x365f18[_0x5900ea(0x118)](_0x20dca2,{'showSuggestionHighlights':!0x0})),_0x314c01);}[_0x230b3b(0x1f9)](_0x13006b,_0x174fd8,_0x448b50){let _0xf81963='';return()=>{const _0x5009de=_0x51b5;if(!_0xf81963){const _0x3dd325=_0x448b50[_0x5009de(0x1d8)](new _0x277d2a(_0x13006b)),_0x25afdd=_0x448b50[_0x5009de(0x12b)][_0x5009de(0x1b7)][_0x5009de(0x1fd)](_0x3dd325)[_0x5009de(0x1f8)](_0x5009de(0x195)+_0x174fd8+'\x22]');_0xf81963=_0x25afdd?.[_0x5009de(0x13e)]||'';}return _0xf81963;};}[_0x230b3b(0x120)](_0x13a49,_0x13b17b=0x5){const _0x3aae31=_0x230b3b;let _0x545718=_0x13a49,_0x26eb9e=null;for(let _0x4cb2e8=0x0;_0x4cb2e8<_0x13b17b&&_0x545718;_0x4cb2e8++){if(!_0x545718[_0x3aae31(0x152)]){_0x545718=_0x545718[_0x3aae31(0x1d4)];continue;}if(!(''+_0x545718[_0x3aae31(0x152)])[_0x3aae31(0x14b)](_0x3aae31(0x13b))){_0x545718=_0x545718[_0x3aae31(0x1d4)];continue;}if(!_0x545718[_0x3aae31(0x146)](_0x3aae31(0x1b8)))break;_0x26eb9e=_0x545718;break;}return _0x26eb9e;}[_0x230b3b(0x119)](_0x3d20a2){const _0x412b33=_0x230b3b;return Array[_0x412b33(0x147)](this[_0x412b33(0x1b6)][_0x412b33(0x151)]())[_0x412b33(0x1c4)](_0x12615f=>_0x12615f[_0x412b33(0x207)]===_0x3d20a2);}[_0x230b3b(0x1cb)](_0x13a459){const _0x5ca9dd=_0x230b3b;return _0x5ca9dd(0x145)===_0x13a459[_0x5ca9dd(0x1e3)]?_0x13a459[_0x5ca9dd(0x19c)]:_0x13a459[_0x5ca9dd(0x201)][_0x5ca9dd(0x179)];}[_0x230b3b(0x11b)](_0x4d71e2,_0x2360a9=!0x1){const _0x247e8b=_0x230b3b;return _0x247e8b(0x145)===_0x4d71e2[_0x247e8b(0x1e3)]?_0x2360a9?_0x4d71e2[_0x247e8b(0x19c)]:_0x4d71e2[_0x247e8b(0x19c)][_0x247e8b(0x127)](_0x4d71e2[_0x247e8b(0x1d7)]):_0x4d71e2[_0x247e8b(0x201)][_0x247e8b(0x189)];}[_0x230b3b(0x19a)](_0x7c962f,_0x2706c4){const _0x10f465=_0x230b3b;return _0x10f465(0x145)===_0x7c962f[_0x10f465(0x1e3)]?_0x7c962f[_0x10f465(0x19c)]=_0x7c962f[_0x10f465(0x19c)][_0x10f465(0x127)](_0x2706c4):_0x10f465(0x149)===_0x7c962f[_0x10f465(0x1e3)]&&_0x7c962f[_0x10f465(0x201)]&&(_0x7c962f[_0x10f465(0x201)]=new _0x2fa77b(_0x7c962f[_0x10f465(0x201)][_0x10f465(0x179)][_0x10f465(0x127)](_0x2706c4),_0x7c962f[_0x10f465(0x201)][_0x10f465(0x189)][_0x10f465(0x127)](_0x2706c4))),_0x7c962f;}[_0x230b3b(0x18e)](_0x9f0670,_0x2c8f4d){const _0x4c6304=_0x230b3b;_0x4c6304(0x145)===_0x9f0670[_0x4c6304(0x1e3)]?_0x9f0670[_0x4c6304(0x19c)]=this[_0x4c6304(0x14c)](_0x9f0670[_0x4c6304(0x19c)],_0x2c8f4d):_0x4c6304(0x149)===_0x9f0670[_0x4c6304(0x1e3)]&&_0x9f0670[_0x4c6304(0x201)]&&(_0x9f0670[_0x4c6304(0x201)]=this[_0x4c6304(0x1eb)](_0x9f0670[_0x4c6304(0x201)],_0x2c8f4d));}[_0x230b3b(0x14c)](_0x202861,_0x195ee8){const _0x44ffb4=_0x230b3b;return new _0x1256cf(_0x195ee8,_0x202861[_0x44ffb4(0x14a)]);}[_0x230b3b(0x1eb)](_0x26aaa9,_0x3e8122){const _0x55bfad=_0x230b3b;return new _0x2fa77b(this[_0x55bfad(0x14c)](_0x26aaa9[_0x55bfad(0x179)],_0x3e8122),this[_0x55bfad(0x14c)](_0x26aaa9[_0x55bfad(0x189)],_0x3e8122));}[_0x230b3b(0x1d0)](_0x433dfd,_0x4f14ba){return new _0x1256cf(_0x4f14ba,[..._0x433dfd]);}[_0x230b3b(0x1c0)](_0x31b90b,_0x5d8b33,_0x2766d3,_0x3a02c6){const _0x1f21f0=_0x230b3b;return new _0x2fa77b(this[_0x1f21f0(0x1d0)](_0x5d8b33,_0x3a02c6),this[_0x1f21f0(0x1d0)](_0x2766d3,_0x3a02c6));}[_0x230b3b(0x11f)](_0x252da4){const _0x431a98=_0x230b3b,_0x1164e8=_0x11d2a2=>{const _0x30b451=_0x51b5;switch(_0x11d2a2){case _0x30b451(0x145):return 0x1;case _0x30b451(0x1a4):return 0x2;case _0x30b451(0x1ee):return 0x3;case _0x30b451(0x18a):return 0x4;}};return _0x252da4[_0x431a98(0x18d)]((_0x3af14c,_0x1d86ad)=>_0x1164e8(_0x3af14c[_0x431a98(0x1e3)])-_0x1164e8(_0x1d86ad[_0x431a98(0x1e3)]));}[_0x230b3b(0x173)](_0xd2b3bb,_0x1613ab){const _0x302944=_0x230b3b,_0x1f5b27=_0xd2b3bb[_0x302944(0x15e)](0x0),_0x18fd11=_0x1613ab[_0x302944(0x15e)](0x0);return!(!_0x1f5b27||!_0x18fd11)&&((!_0x1f5b27['is'](_0x302944(0x1bb))||!_0x18fd11['is'](_0x302944(0x1bb))||_0x1f5b27[_0x302944(0x19e)]===_0x18fd11[_0x302944(0x19e)])&&!(_0x1f5b27['is'](_0x302944(0x1bb))&&!_0x18fd11['is'](_0x302944(0x1bb))||!_0x1f5b27['is'](_0x302944(0x1bb))&&_0x18fd11['is'](_0x302944(0x1bb))));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3623ed=_0x3a23;function _0x42d6(){const _0x250e14=['find','setCheckResultTitle','leaveReviewModeResultList','addTab','reviewCheckListView','view','showChunkErrorView','showCheckRunResult','forEach','showResult','_reviewModeView','get','AI_REVIEW_MODE','hideResult','retryReview','acceptAllChanges','_reviewModeBalloonSuggestionItemView','requires','showReviewCompletedView','hasChecks','hideBalloon','36oVUtwm','addCheckRunResult','status','showGeneralErrorView','showNoChangesView','showCheckRunResults','detachFromDom','isOfficialPlugin','leaveReviewMode','AIReviewModeUI','showActionsWhenResultIsReady','fire','acceptChange','plugins','3ULcsDm','showBalloon','setAvailableChecks','3346063NrwJGY','1933960nGtgCL','setActiveStateInResults','setChecks','learnMore','runReviewCheck','context','6117792ANAljE','element','locale','4708wOYaVh','setTitle','reviewCheckResultsView','delegate','hideChangeBalloon','resetActiveStateInResults','hideActionsWhenResultIsReady','toggleDiff','rejected','reviewMode','showChangeBalloon','pluginName','dismissChange','2860972JkNMHZ','23135690fzSrGk','hideDiffInBalloon','error-general','getResults','outdated','deactivateChange','abortReviewStream','attachToDom','showDiffInBalloon','activateChange','finishReview','getChangeElement','setItemAsActive','activateTab','setItemAsInactive','getReviewCheckList','showReviewCheckResultsView','21iHLsBD','AITabs','accepted','init','destroy','error-chunk','showReviewCheckList','_bodyCollection','updateChangeState','407464EERmiW','isPremiumPlugin','showReviewCheckListView'];_0x42d6=function(){return _0x250e14;};return _0x42d6();}(function(_0x46969e,_0x5e74b5){const _0xd1b686=_0x3a23,_0x212e16=_0x46969e();while(!![]){try{const _0x1c6381=parseInt(_0xd1b686(0x217))/0x1*(parseInt(_0xd1b686(0x1f8))/0x2)+-parseInt(_0xd1b686(0x1eb))/0x3*(parseInt(_0xd1b686(0x205))/0x4)+-parseInt(_0xd1b686(0x1ef))/0x5+-parseInt(_0xd1b686(0x1f5))/0x6+parseInt(_0xd1b686(0x1ee))/0x7+-parseInt(_0xd1b686(0x220))/0x8*(parseInt(_0xd1b686(0x1dd))/0x9)+parseInt(_0xd1b686(0x206))/0xa;if(_0x1c6381===_0x5e74b5)break;else _0x212e16['push'](_0x212e16['shift']());}catch(_0xea23b9){_0x212e16['push'](_0x212e16['shift']());}}}(_0x42d6,0x7de1d));import{ContextPlugin as _0x3d1969}from'ckeditor5/src/core.js';import{IconAIReview as _0x1497c5}from'ckeditor5/src/icons.js';import{BodyCollection as _0x5878be}from'ckeditor5/src/ui.js';import{AITabs as _0x24b18c}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x5f3ed1}from'./ui/aireviewmodeview.js';import{getTranslation as _0x36c14e}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x353c0a}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';function _0x3a23(_0x174a49,_0x5ef359){const _0x42d64c=_0x42d6();return _0x3a23=function(_0x3a2324,_0xfd8973){_0x3a2324=_0x3a2324-0x1d3;let _0xa18664=_0x42d64c[_0x3a2324];return _0xa18664;},_0x3a23(_0x174a49,_0x5ef359);}export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x3623ed(0x215),_0x3623ed(0x1f3),_0x3623ed(0x20c),_0x3623ed(0x1ff),_0x3623ed(0x1d7),_0x3623ed(0x225),_0x3623ed(0x20f),_0x3623ed(0x1e9),_0x3623ed(0x204),_0x3623ed(0x1f2),_0x3623ed(0x210),_0x3623ed(0x1d6)];export class AIReviewModeUI extends _0x3d1969{[_0x3623ed(0x22d)];[_0x3623ed(0x1d8)];[_0x3623ed(0x21e)];static get[_0x3623ed(0x1d9)](){return[_0x24b18c];}static get[_0x3623ed(0x203)](){const _0x382442=_0x3623ed;return _0x382442(0x1e6);}static get[_0x3623ed(0x1e4)](){return!0x0;}static get[_0x3623ed(0x221)](){return!0x0;}constructor(_0x4a38ab){const _0x44c41c=_0x3623ed;super(_0x4a38ab),this[_0x44c41c(0x21e)]=new _0x5878be(this[_0x44c41c(0x1f4)][_0x44c41c(0x1f7)]),this[_0x44c41c(0x21e)][_0x44c41c(0x20d)](),this[_0x44c41c(0x22d)]=new _0x5f3ed1(this[_0x44c41c(0x1f4)][_0x44c41c(0x1f7)]),this[_0x44c41c(0x22d)][_0x44c41c(0x1fb)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x44c41c(0x1d8)]=new _0x353c0a(this[_0x44c41c(0x1f4)][_0x44c41c(0x1f7)],this[_0x44c41c(0x21e)]),this[_0x44c41c(0x1d8)][_0x44c41c(0x1fb)](_0x44c41c(0x1e9),_0x44c41c(0x204),_0x44c41c(0x20b))['to'](this);}[_0x3623ed(0x21a)](){const _0x20b51f=_0x3623ed,_0x52cdff=this[_0x20b51f(0x1f4)][_0x20b51f(0x1ea)][_0x20b51f(0x1d3)](_0x20b51f(0x218));_0x52cdff[_0x20b51f(0x228)]['on'](_0x20b51f(0x213),(_0x4e5640,_0x28a613)=>{const _0x201225=_0x20b51f;_0x201225(0x201)===_0x28a613?this[_0x201225(0x1e8)](_0x201225(0x215)):this[_0x201225(0x1e8)](_0x201225(0x1e5));}),_0x52cdff[_0x20b51f(0x228)][_0x20b51f(0x226)]({'id':_0x20b51f(0x201),'buttonLabel':_0x36c14e(this[_0x20b51f(0x1f4)][_0x20b51f(0x1f7)],_0x20b51f(0x1d4)),'buttonIcon':_0x1497c5,'order':0x0,'content':this[_0x20b51f(0x22d)]});}[_0x3623ed(0x21b)](){const _0x267a6c=_0x3623ed;this[_0x267a6c(0x21e)][_0x267a6c(0x1e3)](),super[_0x267a6c(0x21b)]();}[_0x3623ed(0x1ed)](_0x2aa791){const _0x87f97b=_0x3623ed;this[_0x87f97b(0x22d)][_0x87f97b(0x227)][_0x87f97b(0x1db)]()||this[_0x87f97b(0x22d)][_0x87f97b(0x227)][_0x87f97b(0x1f1)](_0x2aa791),this[_0x87f97b(0x22d)][_0x87f97b(0x222)]();}[_0x3623ed(0x21d)](){const _0x178cbe=_0x3623ed;this[_0x178cbe(0x1e8)](_0x178cbe(0x215));}[_0x3623ed(0x1e2)](_0xc749f7){const _0x56abcb=_0x3623ed;_0xc749f7&&(_0x56abcb(0x208)!==_0xc749f7[_0x56abcb(0x1df)]?_0x56abcb(0x21c)!==_0xc749f7[_0x56abcb(0x1df)]?this[_0x56abcb(0x22d)][_0x56abcb(0x216)]():this[_0x56abcb(0x229)]():this[_0x56abcb(0x1e0)]());}[_0x3623ed(0x22a)](_0x3bf0bf){const _0x30e58d=_0x3623ed;this[_0x30e58d(0x22d)][_0x30e58d(0x1de)](_0x3bf0bf);}[_0x3623ed(0x1e0)](){const _0x200ddf=_0x3623ed;this[_0x200ddf(0x22d)][_0x200ddf(0x1e0)]();}[_0x3623ed(0x229)](){const _0x21e298=_0x3623ed;this[_0x21e298(0x22d)][_0x21e298(0x229)]();}[_0x3623ed(0x224)](_0x41c8ff,_0x2cbeeb){const _0x2e500c=_0x3623ed;this[_0x2e500c(0x22d)][_0x2e500c(0x1fa)][_0x2e500c(0x1f9)](_0x41c8ff,_0x2cbeeb);}[_0x3623ed(0x1f0)](_0xfc1e15){const _0xb7db7f=_0x3623ed;this[_0xb7db7f(0x22d)][_0xb7db7f(0x1fa)][_0xb7db7f(0x209)]()[_0xb7db7f(0x22b)](_0x5d8049=>{const _0x3d83e2=_0xb7db7f;_0x5d8049['id']===_0xfc1e15&&_0x5d8049[_0x3d83e2(0x212)]();});}[_0x3623ed(0x1fd)](){const _0x50adc9=_0x3623ed;this[_0x50adc9(0x22d)][_0x50adc9(0x1fa)][_0x50adc9(0x209)]()[_0x50adc9(0x22b)](_0x8734f5=>_0x8734f5[_0x50adc9(0x214)]());}[_0x3623ed(0x21f)](_0x16f70f,_0x4a1ebe){const _0x1f8501=_0x3623ed;_0x1f8501(0x219)===_0x4a1ebe||_0x1f8501(0x200)===_0x4a1ebe||_0x1f8501(0x20a)===_0x4a1ebe?this[_0x1f8501(0x22d)][_0x1f8501(0x1fa)][_0x1f8501(0x1d5)](_0x16f70f,_0x4a1ebe):this[_0x1f8501(0x22d)][_0x1f8501(0x1fa)][_0x1f8501(0x22c)](_0x16f70f,_0x4a1ebe);}[_0x3623ed(0x1da)](){const _0x242768=_0x3623ed;this[_0x242768(0x22d)][_0x242768(0x1da)]();}[_0x3623ed(0x1e7)](){const _0x1109a1=_0x3623ed;this[_0x1109a1(0x22d)][_0x1109a1(0x1e7)]();}[_0x3623ed(0x1e1)](){const _0x347b9d=_0x3623ed;this[_0x347b9d(0x22d)][_0x347b9d(0x1e1)]();}[_0x3623ed(0x1fe)](){const _0x12e930=_0x3623ed;this[_0x12e930(0x22d)][_0x12e930(0x1fe)]();}[_0x3623ed(0x202)](_0x1b8fb3,_0x57fb1e){const _0x2401b1=_0x3623ed;this[_0x2401b1(0x1d8)][_0x2401b1(0x1ec)](_0x1b8fb3,_0x57fb1e);}[_0x3623ed(0x1fc)](){const _0x47083f=_0x3623ed;this[_0x47083f(0x1d8)][_0x47083f(0x1dc)]();}[_0x3623ed(0x207)](){const _0x18edd5=_0x3623ed;this[_0x18edd5(0x1d8)][_0x18edd5(0x207)]();}[_0x3623ed(0x20e)](){const _0x54401a=_0x3623ed;this[_0x54401a(0x1d8)][_0x54401a(0x20e)]();}[_0x3623ed(0x211)](_0x183134){const _0x215c73=_0x3623ed,_0x2115f1=this[_0x215c73(0x22d)][_0x215c73(0x1fa)][_0x215c73(0x209)]()[_0x215c73(0x223)](_0x16c008=>_0x16c008['id']===_0x183134);return _0x2115f1?_0x2115f1[_0x215c73(0x1f6)]:null;}[_0x3623ed(0x20b)](){const _0x12097c=_0x3623ed;this[_0x12097c(0x1d8)][_0x12097c(0x20b)]();}}
23
+ const _0x2bac87=_0x3b6d;(function(_0x4d4a4c,_0x27b6c9){const _0x3f6809=_0x3b6d,_0x50763a=_0x4d4a4c();while(!![]){try{const _0x413d55=parseInt(_0x3f6809(0xfa))/0x1+parseInt(_0x3f6809(0xea))/0x2*(-parseInt(_0x3f6809(0xfe))/0x3)+parseInt(_0x3f6809(0xf5))/0x4+parseInt(_0x3f6809(0x116))/0x5*(-parseInt(_0x3f6809(0xf9))/0x6)+-parseInt(_0x3f6809(0xc6))/0x7+-parseInt(_0x3f6809(0x111))/0x8*(parseInt(_0x3f6809(0xf8))/0x9)+parseInt(_0x3f6809(0xe9))/0xa;if(_0x413d55===_0x27b6c9)break;else _0x50763a['push'](_0x50763a['shift']());}catch(_0x15cbbd){_0x50763a['push'](_0x50763a['shift']());}}}(_0x4a76,0x9feac));function _0x3b6d(_0x116f77,_0x1b1aeb){const _0x4a76da=_0x4a76();return _0x3b6d=function(_0x3b6d0f,_0x37dd08){_0x3b6d0f=_0x3b6d0f-0xc4;let _0x10a6f2=_0x4a76da[_0x3b6d0f];return _0x10a6f2;},_0x3b6d(_0x116f77,_0x1b1aeb);}import{ContextPlugin as _0x4e2403}from'ckeditor5/src/core.js';import{IconAIReview as _0x29061b}from'ckeditor5/src/icons.js';import{BodyCollection as _0x30bfae}from'ckeditor5/src/ui.js';import{AITabs as _0x45b2ef}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x3350fb}from'./ui/aireviewmodeview.js';function _0x4a76(){const _0x375e57=['getReviewCheckList','showReviewCheckList','showReviewCheckResultsView','fire','showActionsWhenResultIsReady','_reviewModeView','updateChangeState','pluginName','activateChange','delegate','abortReviewStream','toggleDiff','showReviewCompletedView','reviewCheckResultsView','31563250QgMvyB','52XymrDB','hideResult','plugins','hasChecks','setActiveStateInResults','_bodyCollection','isOfficialPlugin','getResults','outdated','setCheckResultTitle','error-general','1036404XmnEZY','learnMore','showChangeBalloon','1737PtJKXZ','276LWVtoR','398506snDqjv','retryReview','finishReview','showResult','129462ZsxHpm','isPremiumPlugin','resetActiveStateInResults','error-chunk','showCheckRunResults','getChangeElement','showNoChangesView','status','acceptAllChanges','forEach','addCheckRunResult','rejected','acceptChange','init','setChecks','AI_REVIEW_MODE','reviewCheckListView','setTitle','locale','10160zjclHw','setAvailableChecks','find','element','showReviewCheckListView','93605KTnzXL','accepted','hideChangeBalloon','deactivateChange','destroy','activateTab','leaveReviewModeResultList','requires','hideActionsWhenResultIsReady','setItemAsActive','dismissChange','6514424YxHSVI','runReviewCheck','addTab','view','setItemAsInactive','showDiffInBalloon','leaveReviewMode','showGeneralErrorView','AITabs','reviewMode','_reviewModeBalloonSuggestionItemView','get','hideBalloon','showCheckRunResult','AIReviewModeUI','hideDiffInBalloon','showBalloon','context','detachFromDom','attachToDom','showChunkErrorView'];_0x4a76=function(){return _0x375e57;};return _0x4a76();}import{getTranslation as _0x164a5a}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x193c84}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x2bac87(0xdb),_0x2bac87(0xc7),_0x2bac87(0xe5),_0x2bac87(0xe6),_0x2bac87(0x106),_0x2bac87(0x11c),_0x2bac87(0xe3),_0x2bac87(0x10a),_0x2bac87(0xc5),_0x2bac87(0xf6),_0x2bac87(0xfc),_0x2bac87(0xfb)];export class AIReviewModeUI extends _0x4e2403{[_0x2bac87(0xe0)];[_0x2bac87(0xd0)];[_0x2bac87(0xef)];static get[_0x2bac87(0x11d)](){return[_0x45b2ef];}static get[_0x2bac87(0xe2)](){const _0x49bf0f=_0x2bac87;return _0x49bf0f(0xd4);}static get[_0x2bac87(0xf0)](){return!0x0;}static get[_0x2bac87(0xff)](){return!0x0;}constructor(_0x3306ac){const _0x2d127a=_0x2bac87;super(_0x3306ac),this[_0x2d127a(0xef)]=new _0x30bfae(this[_0x2d127a(0xd7)][_0x2d127a(0x110)]),this[_0x2d127a(0xef)][_0x2d127a(0xd9)](),this[_0x2d127a(0xe0)]=new _0x3350fb(this[_0x2d127a(0xd7)][_0x2d127a(0x110)]),this[_0x2d127a(0xe0)][_0x2d127a(0xe4)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x2d127a(0xd0)]=new _0x193c84(this[_0x2d127a(0xd7)][_0x2d127a(0x110)],this[_0x2d127a(0xef)]),this[_0x2d127a(0xd0)][_0x2d127a(0xe4)](_0x2d127a(0x10a),_0x2d127a(0xc5),_0x2d127a(0x119))['to'](this);}[_0x2bac87(0x10b)](){const _0x3b7038=_0x2bac87,_0x1f9919=this[_0x3b7038(0xd7)][_0x3b7038(0xec)][_0x3b7038(0xd1)](_0x3b7038(0xce));_0x1f9919[_0x3b7038(0xc9)]['on'](_0x3b7038(0x11b),(_0x46e2ec,_0xdec8d8)=>{const _0x2f4238=_0x3b7038;_0x2f4238(0xcf)===_0xdec8d8?this[_0x2f4238(0xde)](_0x2f4238(0xdb)):this[_0x2f4238(0xde)](_0x2f4238(0xcc));}),_0x1f9919[_0x3b7038(0xc9)][_0x3b7038(0xc8)]({'id':_0x3b7038(0xcf),'buttonLabel':_0x164a5a(this[_0x3b7038(0xd7)][_0x3b7038(0x110)],_0x3b7038(0x10d)),'buttonIcon':_0x29061b,'order':0x0,'content':this[_0x3b7038(0xe0)]});}[_0x2bac87(0x11a)](){const _0x22d7d2=_0x2bac87;this[_0x22d7d2(0xef)][_0x22d7d2(0xd8)](),super[_0x22d7d2(0x11a)]();}[_0x2bac87(0x112)](_0x2a90b4){const _0x316c98=_0x2bac87;this[_0x316c98(0xe0)][_0x316c98(0x10e)][_0x316c98(0xed)]()||this[_0x316c98(0xe0)][_0x316c98(0x10e)][_0x316c98(0x10c)](_0x2a90b4),this[_0x316c98(0xe0)][_0x316c98(0x115)]();}[_0x2bac87(0xdc)](){const _0x4386b3=_0x2bac87;this[_0x4386b3(0xde)](_0x4386b3(0xdb));}[_0x2bac87(0x102)](_0x2b9a69){const _0x310d18=_0x2bac87;_0x2b9a69&&(_0x310d18(0xf4)!==_0x2b9a69[_0x310d18(0x105)]?_0x310d18(0x101)!==_0x2b9a69[_0x310d18(0x105)]?this[_0x310d18(0xe0)][_0x310d18(0xdd)]():this[_0x310d18(0xda)]():this[_0x310d18(0xcd)]());}[_0x2bac87(0xd3)](_0x38d36a){const _0x1a8163=_0x2bac87;this[_0x1a8163(0xe0)][_0x1a8163(0x108)](_0x38d36a);}[_0x2bac87(0xcd)](){const _0x605020=_0x2bac87;this[_0x605020(0xe0)][_0x605020(0xcd)]();}[_0x2bac87(0xda)](){const _0x589e98=_0x2bac87;this[_0x589e98(0xe0)][_0x589e98(0xda)]();}[_0x2bac87(0xf3)](_0x14b0e1,_0x58d034){const _0x6ca81e=_0x2bac87;this[_0x6ca81e(0xe0)][_0x6ca81e(0xe8)][_0x6ca81e(0x10f)](_0x14b0e1,_0x58d034);}[_0x2bac87(0xee)](_0x168fd6){const _0x443f18=_0x2bac87;this[_0x443f18(0xe0)][_0x443f18(0xe8)][_0x443f18(0xf1)]()[_0x443f18(0x107)](_0x4dd03c=>{const _0x51e457=_0x443f18;_0x4dd03c['id']===_0x168fd6&&_0x4dd03c[_0x51e457(0xc4)]();});}[_0x2bac87(0x100)](){const _0x5266ae=_0x2bac87;this[_0x5266ae(0xe0)][_0x5266ae(0xe8)][_0x5266ae(0xf1)]()[_0x5266ae(0x107)](_0xe6c69=>_0xe6c69[_0x5266ae(0xca)]());}[_0x2bac87(0xe1)](_0x301fb0,_0x362d04){const _0x210502=_0x2bac87;_0x210502(0x117)===_0x362d04||_0x210502(0x109)===_0x362d04||_0x210502(0xf2)===_0x362d04?this[_0x210502(0xe0)][_0x210502(0xe8)][_0x210502(0xeb)](_0x301fb0,_0x362d04):this[_0x210502(0xe0)][_0x210502(0xe8)][_0x210502(0xfd)](_0x301fb0,_0x362d04);}[_0x2bac87(0xe7)](){const _0x1ae683=_0x2bac87;this[_0x1ae683(0xe0)][_0x1ae683(0xe7)]();}[_0x2bac87(0xdf)](){const _0x1b131c=_0x2bac87;this[_0x1b131c(0xe0)][_0x1b131c(0xdf)]();}[_0x2bac87(0x104)](){const _0x52e3be=_0x2bac87;this[_0x52e3be(0xe0)][_0x52e3be(0x104)]();}[_0x2bac87(0x11e)](){const _0x1da2db=_0x2bac87;this[_0x1da2db(0xe0)][_0x1da2db(0x11e)]();}[_0x2bac87(0xf7)](_0x3a6223,_0x30cab5){const _0xc767c8=_0x2bac87;this[_0xc767c8(0xd0)][_0xc767c8(0xd6)](_0x3a6223,_0x30cab5);}[_0x2bac87(0x118)](){const _0x4a9b95=_0x2bac87;this[_0x4a9b95(0xd0)][_0x4a9b95(0xd2)]();}[_0x2bac87(0xd5)](){const _0x384021=_0x2bac87;this[_0x384021(0xd0)][_0x384021(0xd5)]();}[_0x2bac87(0xcb)](){const _0x48ac23=_0x2bac87;this[_0x48ac23(0xd0)][_0x48ac23(0xcb)]();}[_0x2bac87(0x103)](_0x2faf8c){const _0x4c0a30=_0x2bac87,_0x65dac2=this[_0x4c0a30(0xe0)][_0x4c0a30(0xe8)][_0x4c0a30(0xf1)]()[_0x4c0a30(0x113)](_0x5cea2f=>_0x5cea2f['id']===_0x2faf8c);return _0x65dac2?_0x65dac2[_0x4c0a30(0x114)]:null;}[_0x2bac87(0x119)](){const _0x2099f1=_0x2bac87;this[_0x2099f1(0xd0)][_0x2099f1(0x119)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4e74c1=_0x2371;(function(_0x30e886,_0x3d4c89){var _0x188f15=_0x2371,_0x1e1771=_0x30e886();while(!![]){try{var _0x54ed10=parseInt(_0x188f15(0xc2))/0x1+-parseInt(_0x188f15(0xba))/0x2+parseInt(_0x188f15(0xc4))/0x3+-parseInt(_0x188f15(0xc9))/0x4+parseInt(_0x188f15(0xc8))/0x5*(parseInt(_0x188f15(0xc5))/0x6)+parseInt(_0x188f15(0xbc))/0x7*(parseInt(_0x188f15(0xc1))/0x8)+-parseInt(_0x188f15(0xbd))/0x9*(-parseInt(_0x188f15(0xc7))/0xa);if(_0x54ed10===_0x3d4c89)break;else _0x1e1771['push'](_0x1e1771['shift']());}catch(_0x6d45d6){_0x1e1771['push'](_0x1e1771['shift']());}}}(_0xa762,0x75d92));function _0x2371(_0x228e2a,_0x85af0d){var _0xa76230=_0xa762();return _0x2371=function(_0x2371a5,_0x43b971){_0x2371a5=_0x2371a5-0xb9;var _0x31c449=_0xa76230[_0x2371a5];return _0x31c449;},_0x2371(_0x228e2a,_0x85af0d);}import{ObservableMixin as _0x3b54c4}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x1daf90}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x111551}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x3b54c4(){[_0x4e74c1(0xc6)];constructor(_0x5c7f52){var _0x1d6132=_0x4e74c1;super(),this[_0x1d6132(0xc6)]=this[_0x1d6132(0xbb)](_0x5c7f52);}get[_0x4e74c1(0xbe)](){var _0x3cf8c=_0x4e74c1;return this[_0x3cf8c(0xc6)];}[_0x4e74c1(0xbf)](_0x3e2aa1){var _0x526e7d=_0x4e74c1;return this[_0x526e7d(0xbe)][_0x526e7d(0xc3)](_0x38f51e=>_0x38f51e['id']===_0x3e2aa1);}[_0x4e74c1(0xbb)](_0x123d45){var _0x284af9=_0x4e74c1;return _0x123d45[_0x284af9(0xb9)](_0x13ae18=>_0x284af9(0xc0)===_0x13ae18['id']?new _0x111551(_0x13ae18):new _0x1daf90(_0x13ae18));}}function _0xa762(){var _0xe65f3=['map','362670PIzDux','_mapCheckDefinitions','140JGiEWU','1314sIEJKz','checks','getCheckById','custom','145256JCYXoh','654661SQzCQA','find','386745EzvHXY','48894awZthk','_checks','30590Ctpmlh','5PudhhC','3749752gwTMzu'];_0xa762=function(){return _0xe65f3;};return _0xa762();}
23
+ var _0x293e83=_0x4bd0;(function(_0x3ee8d3,_0x201afc){var _0x377af3=_0x4bd0,_0x4a8dfd=_0x3ee8d3();while(!![]){try{var _0x1f9326=-parseInt(_0x377af3(0xd3))/0x1+parseInt(_0x377af3(0xdc))/0x2+parseInt(_0x377af3(0xdf))/0x3*(parseInt(_0x377af3(0xd4))/0x4)+-parseInt(_0x377af3(0xde))/0x5+-parseInt(_0x377af3(0xd6))/0x6+-parseInt(_0x377af3(0xd7))/0x7+parseInt(_0x377af3(0xda))/0x8;if(_0x1f9326===_0x201afc)break;else _0x4a8dfd['push'](_0x4a8dfd['shift']());}catch(_0x1dcfd2){_0x4a8dfd['push'](_0x4a8dfd['shift']());}}}(_0x15c5,0x9c84e));function _0x15c5(){var _0x557d22=['custom','_mapCheckDefinitions','395811meagzN','1504vrYCXZ','getCheckById','2588868EjPUtr','6478262sldJtX','map','find','9792456yruMOi','checks','1347694ByBzee','_checks','1178715QYITva','5838IFFQXN'];_0x15c5=function(){return _0x557d22;};return _0x15c5();}import{ObservableMixin as _0x56e9c6}from'ckeditor5/src/utils.js';function _0x4bd0(_0x403ad1,_0x2431d3){var _0x15c5b1=_0x15c5();return _0x4bd0=function(_0x4bd0d9,_0x641fe9){_0x4bd0d9=_0x4bd0d9-0xd3;var _0x27f5b5=_0x15c5b1[_0x4bd0d9];return _0x27f5b5;},_0x4bd0(_0x403ad1,_0x2431d3);}import{AIReviewCheck as _0x178232}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x251d1a}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x56e9c6(){[_0x293e83(0xdd)];constructor(_0x13577b){var _0x53ad32=_0x293e83;super(),this[_0x53ad32(0xdd)]=this[_0x53ad32(0xe1)](_0x13577b);}get[_0x293e83(0xdb)](){var _0x50849a=_0x293e83;return this[_0x50849a(0xdd)];}[_0x293e83(0xd5)](_0x311e44){var _0x876203=_0x293e83;return this[_0x876203(0xdb)][_0x876203(0xd9)](_0x288e0c=>_0x288e0c['id']===_0x311e44);}[_0x293e83(0xe1)](_0x4e2f36){var _0x4b82aa=_0x293e83;return _0x4e2f36[_0x4b82aa(0xd8)](_0x1600ec=>_0x4b82aa(0xe0)===_0x1600ec['id']?new _0x251d1a(_0x1600ec):new _0x178232(_0x1600ec));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x30b9(_0x5b1c53,_0x3b5911){var _0x3ff109=_0x3ff1();return _0x30b9=function(_0x30b931,_0x43d4be){_0x30b931=_0x30b931-0x19f;var _0x133e0b=_0x3ff109[_0x30b931];return _0x133e0b;},_0x30b9(_0x5b1c53,_0x3b5911);}var _0x2f51f7=_0x30b9;(function(_0x404e86,_0x3ab6db){var _0x391d9b=_0x30b9,_0x4a9784=_0x404e86();while(!![]){try{var _0x4b021f=-parseInt(_0x391d9b(0x1a4))/0x1+parseInt(_0x391d9b(0x1a2))/0x2+-parseInt(_0x391d9b(0x1a9))/0x3+parseInt(_0x391d9b(0x1a5))/0x4+-parseInt(_0x391d9b(0x1a0))/0x5*(-parseInt(_0x391d9b(0x1a7))/0x6)+-parseInt(_0x391d9b(0x1a6))/0x7+parseInt(_0x391d9b(0x19f))/0x8;if(_0x4b021f===_0x3ab6db)break;else _0x4a9784['push'](_0x4a9784['shift']());}catch(_0x35885c){_0x4a9784['push'](_0x4a9784['shift']());}}}(_0x3ff1,0xab73e));import{EmitterMixin as _0x4a8ce7}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x4a8ce7(){['id'];[_0x2f51f7(0x1a3)];[_0x2f51f7(0x1a8)];[_0x2f51f7(0x1a1)];constructor({id:_0x2bd04f,contentNew:_0x153543,contentInitial:_0x4379de,documentVersion:_0x17a25e}){var _0x347ae9=_0x2f51f7;super(),this['id']=_0x2bd04f,this[_0x347ae9(0x1a3)]=_0x153543,this[_0x347ae9(0x1a8)]=_0x4379de,this[_0x347ae9(0x1a1)]=_0x17a25e;}}function _0x3ff1(){var _0x2477b6=['1392111rerHsB','6537112sxVmgE','437305PTTkPZ','documentVersion','2734008qsNtsI','contentNew','1186073XnYRbd','436112WbpRQw','197764zemWUe','6wiqiAs','contentInitial'];_0x3ff1=function(){return _0x2477b6;};return _0x3ff1();}
23
+ var _0x242b9a=_0x5ecf;(function(_0x4211ac,_0x3c16f6){var _0x493f79=_0x5ecf,_0xcf961d=_0x4211ac();while(!![]){try{var _0x4221d6=parseInt(_0x493f79(0x1e3))/0x1*(-parseInt(_0x493f79(0x1e7))/0x2)+parseInt(_0x493f79(0x1ea))/0x3*(parseInt(_0x493f79(0x1e5))/0x4)+-parseInt(_0x493f79(0x1eb))/0x5+-parseInt(_0x493f79(0x1e6))/0x6+-parseInt(_0x493f79(0x1ee))/0x7*(parseInt(_0x493f79(0x1e8))/0x8)+-parseInt(_0x493f79(0x1ed))/0x9*(-parseInt(_0x493f79(0x1e9))/0xa)+parseInt(_0x493f79(0x1ef))/0xb;if(_0x4221d6===_0x3c16f6)break;else _0xcf961d['push'](_0xcf961d['shift']());}catch(_0x45240f){_0xcf961d['push'](_0xcf961d['shift']());}}}(_0x39d1,0xb7307));function _0x5ecf(_0x2b5e33,_0x16e94b){var _0x39d1ba=_0x39d1();return _0x5ecf=function(_0x5ecfba,_0x20982d){_0x5ecfba=_0x5ecfba-0x1e2;var _0xe425df=_0x39d1ba[_0x5ecfba];return _0xe425df;},_0x5ecf(_0x2b5e33,_0x16e94b);}function _0x39d1(){var _0x1422bd=['2398645iThhMR','contentInitial','2971035QDhzmX','6433ZtFwsM','20392163IEqHuQ','documentVersion','2wTQVli','contentNew','28MOolPm','7548666xZJhvu','1176944qMtTpv','7416AKbtBs','40WxkfYF','575463pgEmls'];_0x39d1=function(){return _0x1422bd;};return _0x39d1();}import{EmitterMixin as _0x122540}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x122540(){['id'];[_0x242b9a(0x1e4)];[_0x242b9a(0x1ec)];[_0x242b9a(0x1e2)];constructor({id:_0x433da0,contentNew:_0x224733,contentInitial:_0xff26f7,documentVersion:_0xca7d27}){var _0x361989=_0x242b9a;super(),this['id']=_0x433da0,this[_0x361989(0x1e4)]=_0x224733,this[_0x361989(0x1ec)]=_0xff26f7,this[_0x361989(0x1e2)]=_0xca7d27;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x531597=_0x9d19;function _0x9d19(_0x4f5e07,_0x30f17a){var _0x466631=_0x4666();return _0x9d19=function(_0x9d197a,_0xaa39e9){_0x9d197a=_0x9d197a-0xef;var _0x5a37b0=_0x466631[_0x9d197a];return _0x5a37b0;},_0x9d19(_0x4f5e07,_0x30f17a);}(function(_0x450647,_0x4110c5){var _0x5cedf8=_0x9d19,_0x2a5713=_0x450647();while(!![]){try{var _0x522e63=parseInt(_0x5cedf8(0x102))/0x1+-parseInt(_0x5cedf8(0x100))/0x2+-parseInt(_0x5cedf8(0xfa))/0x3+parseInt(_0x5cedf8(0xf6))/0x4+-parseInt(_0x5cedf8(0xf7))/0x5*(-parseInt(_0x5cedf8(0xf8))/0x6)+-parseInt(_0x5cedf8(0xf9))/0x7+-parseInt(_0x5cedf8(0xf2))/0x8*(-parseInt(_0x5cedf8(0xfb))/0x9);if(_0x522e63===_0x4110c5)break;else _0x2a5713['push'](_0x2a5713['shift']());}catch(_0x17f777){_0x2a5713['push'](_0x2a5713['shift']());}}}(_0x4666,0xd257d));import{ObservableMixin as _0x22a7b1}from'ckeditor5/src/utils.js';function _0x4666(){var _0xab8285=['set','_data','6667712AYpwCx','5TfblDG','1481586jIoXre','8442224FjuzDN','1555332JZSDay','279fLZtod','change:status','parent','context','contentDiffed','2934448BsULKp','operations','1031807gFKKbV','isActivated','pending','operationsIsolated','_editorOperations','isRated','285832Fkzgnv','status'];_0x4666=function(){return _0xab8285;};return _0x4666();}export class AIReviewCheckResultChange extends _0x22a7b1(){['id'];[_0x531597(0xfd)];[_0x531597(0xf5)];[_0x531597(0xf0)]=[];constructor(_0x581b0d,_0x16fe74,_0xfa65aa){var _0x1a2e60=_0x531597;super(),this['id']=_0x581b0d,this[_0x1a2e60(0xfd)]=_0xfa65aa,this[_0x1a2e60(0xf5)]=_0x16fe74,this[_0x1a2e60(0xf4)](_0x1a2e60(0x103),!0x1),this[_0x1a2e60(0xf4)](_0x1a2e60(0xf1),!0x1),this[_0x1a2e60(0xf4)](_0x1a2e60(0xf3),_0x1a2e60(0x104)),this['on'](_0x1a2e60(0xfc),()=>{var _0x30618b=_0x1a2e60;_0x30618b(0x104)!==this[_0x30618b(0xf3)]&&this[_0x30618b(0x103)]&&(this[_0x30618b(0x103)]=!0x1);});}get[_0x531597(0xff)](){var _0x19e19a=_0x531597;return this[_0x19e19a(0xf5)][_0x19e19a(0xfe)]();}get[_0x531597(0x101)](){var _0x5cf4a9=_0x531597;return this[_0x5cf4a9(0xf5)][_0x5cf4a9(0x101)];}get[_0x531597(0xef)](){var _0x3e61a1=_0x531597;return this[_0x3e61a1(0xf5)][_0x3e61a1(0xef)];}}
23
+ var _0x416e11=_0x3752;function _0x24df(){var _0x4b5687=['context','set','_data','status','isRated','7652659RWPfZu','6644076KKehhc','9YzzDol','3934068macORy','62727TjHIFo','change:status','719352vDevUg','5GzigDm','2969704llcgMJ','operations','_editorOperations','parent','pending','operationsIsolated','isActivated','330400UwJErh','contentDiffed'];_0x24df=function(){return _0x4b5687;};return _0x24df();}(function(_0x4a594d,_0x25739d){var _0x546e6e=_0x3752,_0x131968=_0x4a594d();while(!![]){try{var _0x48764d=-parseInt(_0x546e6e(0x190))/0x1+parseInt(_0x546e6e(0x19d))/0x2+parseInt(_0x546e6e(0x19b))/0x3+parseInt(_0x546e6e(0x19a))/0x4+-parseInt(_0x546e6e(0x188))/0x5*(parseInt(_0x546e6e(0x198))/0x6)+parseInt(_0x546e6e(0x197))/0x7+-parseInt(_0x546e6e(0x189))/0x8*(parseInt(_0x546e6e(0x199))/0x9);if(_0x48764d===_0x25739d)break;else _0x131968['push'](_0x131968['shift']());}catch(_0x312bc3){_0x131968['push'](_0x131968['shift']());}}}(_0x24df,0x9e4bc));import{ObservableMixin as _0xd9b935}from'ckeditor5/src/utils.js';function _0x3752(_0x15b9b0,_0xf10391){var _0x24df49=_0x24df();return _0x3752=function(_0x3752fa,_0x2169b4){_0x3752fa=_0x3752fa-0x188;var _0x1e59c6=_0x24df49[_0x3752fa];return _0x1e59c6;},_0x3752(_0x15b9b0,_0xf10391);}export class AIReviewCheckResultChange extends _0xd9b935(){['id'];[_0x416e11(0x18c)];[_0x416e11(0x194)];[_0x416e11(0x18b)]=[];constructor(_0x201263,_0xe4f139,_0x16bacd){var _0xfe434f=_0x416e11;super(),this['id']=_0x201263,this[_0xfe434f(0x18c)]=_0x16bacd,this[_0xfe434f(0x194)]=_0xe4f139,this[_0xfe434f(0x193)](_0xfe434f(0x18f),!0x1),this[_0xfe434f(0x193)](_0xfe434f(0x196),!0x1),this[_0xfe434f(0x193)](_0xfe434f(0x195),_0xfe434f(0x18d)),this['on'](_0xfe434f(0x19c),()=>{var _0x155cf8=_0xfe434f;_0x155cf8(0x18d)!==this[_0x155cf8(0x195)]&&this[_0x155cf8(0x18f)]&&(this[_0x155cf8(0x18f)]=!0x1);});}get[_0x416e11(0x191)](){var _0x4ad422=_0x416e11;return this[_0x4ad422(0x194)][_0x4ad422(0x192)]();}get[_0x416e11(0x18a)](){var _0x9aec09=_0x416e11;return this[_0x9aec09(0x194)][_0x9aec09(0x18a)];}get[_0x416e11(0x18e)](){var _0x1e987c=_0x416e11;return this[_0x1e987c(0x194)][_0x1e987c(0x18e)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e186=_0x43b5;(function(_0x1cfa66,_0xa2dfa8){const _0x1d3a06=_0x43b5,_0x165f8d=_0x1cfa66();while(!![]){try{const _0x2355c6=-parseInt(_0x1d3a06(0x116))/0x1*(parseInt(_0x1d3a06(0x14c))/0x2)+parseInt(_0x1d3a06(0x104))/0x3*(-parseInt(_0x1d3a06(0x127))/0x4)+-parseInt(_0x1d3a06(0x13e))/0x5+parseInt(_0x1d3a06(0x11c))/0x6+parseInt(_0x1d3a06(0x14a))/0x7*(parseInt(_0x1d3a06(0x121))/0x8)+-parseInt(_0x1d3a06(0x101))/0x9+-parseInt(_0x1d3a06(0x13a))/0xa*(-parseInt(_0x1d3a06(0xff))/0xb);if(_0x2355c6===_0xa2dfa8)break;else _0x165f8d['push'](_0x165f8d['shift']());}catch(_0x580cb5){_0x165f8d['push'](_0x165f8d['shift']());}}}(_0x34f8,0x27eae));function _0x43b5(_0x1f8965,_0xb47383){const _0x34f86a=_0x34f8();return _0x43b5=function(_0x43b5ca,_0x22e2e3){_0x43b5ca=_0x43b5ca-0xfd;let _0x11b7df=_0x34f86a[_0x43b5ca];return _0x11b7df;},_0x43b5(_0x1f8965,_0xb47383);}import{ObservableMixin as _0x49e87f,uid as _0x765001}from'ckeditor5/src/utils.js';function _0x34f8(){const _0x3c0205=['review-metadata','every','getContent','169038YAIHPu','change:isActivated','size','data','finished','24FYMEHV','unmodified','_results','event','title','hasModifications','73540gzhyai','_checkIfFinished','_sendRatingRequest','callId','markChangeAsRejected','_documentData','_reviewParams','currentError','ready','message','_sourceCheck','_createApiRequest','processedResultsCount','reviewName','change:status','aborted','find','fire','markChangeAsOutdated','130RAOqch','reviewCheckResultAdded','forceReadyState','sendRating','1137260VwPVgd','error-chunk','forEach','operation','_aiConnector','initialized','addResultChanges','activateChange','filter','markChangeAsPending','deactivateChange','abortController','421337QLuhrp','reviewCheckResultActivated','5708RgbgvP','reviewCheckResultReady','clear','textDelta','isRated','_addReviewCheckResult','restart','get','length','pending','reviewCheckResultDeactivated','status','getStream','version','parent','reviewCheckRunUpdated','loading','ai-request-aborted','elements','documentData','792836BoORCx','rejected','1893573CBQfdC','getActiveChanges','_activeRequest','39pZFTbw','includes','error','reviewCheckResultChangeStatusUpdated','start','_changes','isActivated','isChangeActive','subTitle','push','markAllChangesAsAccepted','outdated','_reviewArgs','markChangeAsAccepted','accepted','abort','_currentError','dataId','107tXblix','set','error-general'];_0x34f8=function(){return _0x3c0205;};return _0x34f8();}import{AIReviewCheckResult as _0xc052f1}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x8e12e9}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x49e87f(){['id']=_0x765001();[_0x1e186(0x12a)];[_0x1e186(0x123)]=new Map();[_0x1e186(0x109)]=[];[_0x1e186(0x12c)];[_0x1e186(0x131)];[_0x1e186(0x142)];[_0x1e186(0x12d)];[_0x1e186(0x110)];[_0x1e186(0x103)]=null;[_0x1e186(0x114)];constructor(_0x8d9259,_0xc8753a,_0x114c69,_0x4d0786,_0xb4ee8c){const _0x5a96c9=_0x1e186;super(),this[_0x5a96c9(0x12c)]=_0x8d9259,this[_0x5a96c9(0x131)]=_0xc8753a,this[_0x5a96c9(0x142)]=_0x114c69,this[_0x5a96c9(0x12d)]=_0x4d0786,this[_0x5a96c9(0x110)]=_0xb4ee8c,this['on'](_0x5a96c9(0x135),(_0x5d0855,_0x1dd1fc,_0x520a93)=>{const _0xe8a9c2=_0x5a96c9;this[_0xe8a9c2(0x138)](_0xe8a9c2(0x15b),{'status':_0x520a93,'run':this,'error':this[_0xe8a9c2(0x114)]});}),this[_0x5a96c9(0x117)](_0x5a96c9(0x157),_0x5a96c9(0x143));}get[_0x1e186(0xfe)](){const _0x1ae29c=_0x1e186;return this[_0x1ae29c(0x12c)];}get[_0x1e186(0x133)](){const _0x59c585=_0x1e186;return this[_0x59c585(0x123)][_0x59c585(0x11e)];}get[_0x1e186(0x125)](){const _0x42c236=_0x1e186;return this[_0x42c236(0x131)][_0x42c236(0x125)];}get[_0x1e186(0x10c)](){return'';}get[_0x1e186(0x134)](){const _0x4880eb=_0x1e186;return this[_0x4880eb(0x131)]['id'];}get[_0x1e186(0x126)](){const _0x2679e0=_0x1e186;return!this[_0x2679e0(0x109)][_0x2679e0(0x11a)](_0x5d0f3e=>_0x2679e0(0x155)===_0x5d0f3e[_0x2679e0(0x157)]);}get[_0x1e186(0x12e)](){const _0xf3ee9e=_0x1e186;return this[_0xf3ee9e(0x114)];}async[_0x1e186(0x108)](){const _0xe43fa4=_0x1e186;this[_0xe43fa4(0x157)]=_0xe43fa4(0x15c),this[_0xe43fa4(0x114)]=void 0x0;try{this[_0xe43fa4(0x103)]=this[_0xe43fa4(0x132)]();const _0x36b9c4=await this[_0xe43fa4(0x103)][_0xe43fa4(0x158)]();this[_0xe43fa4(0x157)]=_0xe43fa4(0x11f);for await(const _0x36ffbc of _0x36b9c4)_0xe43fa4(0x122)!==_0x36ffbc[_0xe43fa4(0x11f)][_0xe43fa4(0x141)]&&(_0xe43fa4(0x106)!==_0x36ffbc[_0xe43fa4(0x11f)][_0xe43fa4(0x141)]?_0xe43fa4(0x119)!==_0x36ffbc[_0xe43fa4(0x124)]?this[_0xe43fa4(0x151)](_0x36ffbc[_0xe43fa4(0x11f)][_0xe43fa4(0x115)],_0x36ffbc[_0xe43fa4(0x11f)][_0xe43fa4(0x14f)]):this[_0xe43fa4(0x12a)]=_0x36ffbc[_0xe43fa4(0x11f)][_0xe43fa4(0x12a)]:this[_0xe43fa4(0x157)]=_0xe43fa4(0x13f));_0xe43fa4(0x13f)!==this[_0xe43fa4(0x157)]&&(0x0===this[_0xe43fa4(0x123)][_0xe43fa4(0x11e)]?this[_0xe43fa4(0x157)]=_0xe43fa4(0x122):this[_0xe43fa4(0x157)]=_0xe43fa4(0x12f));}catch(_0x2b657e){this[_0xe43fa4(0x114)]=_0x2b657e,_0x2b657e instanceof Error&&_0x2b657e[_0xe43fa4(0x130)][_0xe43fa4(0x105)](_0xe43fa4(0x15d))?this[_0xe43fa4(0x157)]=_0xe43fa4(0x136):this[_0xe43fa4(0x157)]=_0xe43fa4(0x118);}finally{this[_0xe43fa4(0x103)]=null;}}async[_0x1e186(0x152)](){const _0x3b94dc=_0x1e186;this[_0x3b94dc(0x123)][_0x3b94dc(0x14e)](),this[_0x3b94dc(0x109)][_0x3b94dc(0x154)]=0x0,this[_0x3b94dc(0x114)]=void 0x0,await this[_0x3b94dc(0x108)]();}[_0x1e186(0x144)](_0x1f55b4,_0x2e6e71){const _0x164b4e=_0x1e186,_0x4a8f56=this[_0x164b4e(0x123)][_0x164b4e(0x153)](_0x1f55b4);if(!_0x4a8f56)return;const _0x1af17e=[];_0x2e6e71[_0x164b4e(0x140)]((_0x2789d5,_0x56eb9b)=>{const _0x1867f8=_0x164b4e,_0xc8b245=new _0x8e12e9(_0x4a8f56['id']+'-'+_0x56eb9b,_0x2789d5,_0x4a8f56);_0xc8b245['on'](_0x1867f8(0x135),()=>{const _0xa755ea=_0x1867f8;this[_0xa755ea(0x138)](_0xa755ea(0x107),{'change':_0xc8b245,'status':_0xc8b245[_0xa755ea(0x157)]});}),_0xc8b245['on'](_0x1867f8(0x11d),()=>{const _0x51ac37=_0x1867f8;_0xc8b245[_0x51ac37(0x10a)]?this[_0x51ac37(0x138)](_0x51ac37(0x14b),{'change':_0xc8b245}):this[_0x51ac37(0x138)](_0x51ac37(0x156),{'change':_0xc8b245});}),this[_0x1867f8(0x109)][_0x1867f8(0x10d)](_0xc8b245),_0x1af17e[_0x1867f8(0x10d)](_0xc8b245);}),this[_0x164b4e(0x138)](_0x164b4e(0x14d),{'changes':_0x1af17e,'result':_0x4a8f56,'source':this});}[_0x1e186(0x113)](){const _0x29ace9=_0x1e186;this[_0x29ace9(0x103)]&&(this[_0x29ace9(0x103)][_0x29ace9(0x149)][_0x29ace9(0x113)](),this[_0x29ace9(0x103)]=null,this[_0x29ace9(0x157)]=_0x29ace9(0x136));}[_0x1e186(0x10b)](_0x145d8d){const _0x31b3d0=_0x1e186,_0x3bd0a7=this[_0x31b3d0(0x109)][_0x31b3d0(0x137)](_0x1fccc6=>_0x1fccc6['id']===_0x145d8d);return!(!_0x3bd0a7||_0x31b3d0(0x155)!==_0x3bd0a7[_0x31b3d0(0x157)]);}[_0x1e186(0x102)](){const _0x34a326=_0x1e186;return this[_0x34a326(0x109)][_0x34a326(0x146)](_0x5c93a0=>_0x34a326(0x155)===_0x5c93a0[_0x34a326(0x157)]);}[_0x1e186(0x10e)](){const _0x14b1b8=_0x1e186;for(const _0xbe581a of this[_0x14b1b8(0x109)])_0x14b1b8(0x155)===_0xbe581a[_0x14b1b8(0x157)]&&(_0xbe581a[_0x14b1b8(0x157)]=_0x14b1b8(0x112));this[_0x14b1b8(0x128)]();}[_0x1e186(0x111)](_0xba9c10){const _0x3540a0=_0x1e186,_0x3052a2=this[_0x3540a0(0x109)][_0x3540a0(0x137)](_0x493d32=>_0x493d32['id']===_0xba9c10);_0x3052a2&&_0x3540a0(0x155)===_0x3052a2[_0x3540a0(0x157)]&&(_0x3052a2[_0x3540a0(0x157)]=_0x3540a0(0x112)),this[_0x3540a0(0x128)]();}[_0x1e186(0x12b)](_0x118072){const _0x1a0712=_0x1e186,_0x7d4752=this[_0x1a0712(0x109)][_0x1a0712(0x137)](_0x4c896e=>_0x4c896e['id']===_0x118072);_0x7d4752&&_0x1a0712(0x155)===_0x7d4752[_0x1a0712(0x157)]&&(_0x7d4752[_0x1a0712(0x157)]=_0x1a0712(0x100)),this[_0x1a0712(0x128)]();}[_0x1e186(0x139)](_0x2389ae){const _0x1fa32c=_0x1e186,_0x5e6466=this[_0x1fa32c(0x109)][_0x1fa32c(0x137)](_0x57f1bb=>_0x57f1bb['id']===_0x2389ae);_0x5e6466&&_0x1fa32c(0x155)===_0x5e6466[_0x1fa32c(0x157)]&&(_0x5e6466[_0x1fa32c(0x157)]=_0x1fa32c(0x10f)),this[_0x1fa32c(0x128)]();}[_0x1e186(0x147)](_0x351a25){const _0x1f9121=_0x1e186,_0x1c561a=this[_0x1f9121(0x109)][_0x1f9121(0x137)](_0x3b524f=>_0x3b524f['id']===_0x351a25);_0x1c561a&&_0x1f9121(0x10f)===_0x1c561a[_0x1f9121(0x157)]&&(_0x1c561a[_0x1f9121(0x157)]=_0x1f9121(0x155)),this[_0x1f9121(0x128)]();}[_0x1e186(0x145)](_0x24e930){const _0x3d3c84=_0x1e186;this[_0x3d3c84(0x109)][_0x3d3c84(0x146)](_0x5497b0=>_0x5497b0[_0x3d3c84(0x10a)]&&_0x5497b0['id']!==_0x24e930)[_0x3d3c84(0x140)](_0x6ac949=>{const _0x3114bb=_0x3d3c84;_0x6ac949[_0x3114bb(0x10a)]=!0x1;});const _0x59cda7=this[_0x3d3c84(0x109)][_0x3d3c84(0x137)](_0x18b405=>_0x18b405['id']===_0x24e930);_0x59cda7&&_0x3d3c84(0x155)===_0x59cda7[_0x3d3c84(0x157)]&&(_0x59cda7[_0x3d3c84(0x10a)]=!0x0);}[_0x1e186(0x148)](){const _0x1ad87d=_0x1e186;this[_0x1ad87d(0x109)][_0x1ad87d(0x146)](_0x58c3ba=>_0x58c3ba[_0x1ad87d(0x10a)])[_0x1ad87d(0x140)](_0x29552a=>{const _0x38deca=_0x1ad87d;_0x29552a[_0x38deca(0x10a)]=!0x1;});}[_0x1e186(0x13c)](){const _0x2b7e7f=_0x1e186;this[_0x2b7e7f(0x157)]=_0x2b7e7f(0x12f);}async[_0x1e186(0x13d)](_0x8d3c39){const _0x55fd4d=_0x1e186;if(_0x55fd4d(0x143)===this[_0x55fd4d(0x157)]||_0x55fd4d(0x15c)===this[_0x55fd4d(0x157)]||_0x55fd4d(0x11f)===this[_0x55fd4d(0x157)])return;if(!this[_0x55fd4d(0x12a)]||0x0===this[_0x55fd4d(0x109)][_0x55fd4d(0x154)])return;let _0x17f44c;if(_0x8d3c39){const _0x4f21fa=this[_0x55fd4d(0x109)][_0x55fd4d(0x137)](_0x52fbce=>_0x52fbce['id']===_0x8d3c39);if(_0x4f21fa&&_0x4f21fa[_0x55fd4d(0x150)])return;_0x4f21fa&&(_0x17f44c=_0x4f21fa[_0x55fd4d(0x15a)]['id'],_0x4f21fa[_0x55fd4d(0x150)]=!0x0);}const _0x5c5954={'positiveCount':this[_0x55fd4d(0x109)][_0x55fd4d(0x146)](_0x237775=>_0x55fd4d(0x112)===_0x237775[_0x55fd4d(0x157)])[_0x55fd4d(0x154)],'totalCount':this[_0x55fd4d(0x109)][_0x55fd4d(0x154)]};this[_0x55fd4d(0x129)](_0x5c5954,this[_0x55fd4d(0x12a)],_0x17f44c);}[_0x1e186(0x151)](_0x1b129c,_0x5b4f71){const _0x51f11e=_0x1e186,_0x1d1fe2=this[_0x51f11e(0x12c)][_0x51f11e(0xfd)][_0x51f11e(0x153)](_0x1b129c);if(!_0x1d1fe2)return;const _0x21c210=_0x1d1fe2[_0x51f11e(0x11b)]();if(_0x21c210===_0x5b4f71)return;const _0x404499=new _0xc052f1({'id':_0x1b129c,'contentInitial':_0x21c210,'contentNew':_0x5b4f71,'documentVersion':this[_0x51f11e(0x12c)][_0x51f11e(0x159)]});this[_0x51f11e(0x123)][_0x51f11e(0x117)](_0x404499['id'],_0x404499),this[_0x51f11e(0x138)](_0x51f11e(0x13b),{'result':_0x404499,'source':this});}[_0x1e186(0x128)](){const _0x28df5b=_0x1e186;_0x28df5b(0x120)===this[_0x28df5b(0x157)]&&(this[_0x28df5b(0x109)][_0x28df5b(0x146)](_0x267c31=>_0x28df5b(0x155)===_0x267c31[_0x28df5b(0x157)])[_0x28df5b(0x154)]>0x0&&(this[_0x28df5b(0x157)]=_0x28df5b(0x12f))),_0x28df5b(0x12f)===this[_0x28df5b(0x157)]&&(0x0===this[_0x28df5b(0x109)][_0x28df5b(0x146)](_0x148975=>_0x28df5b(0x155)===_0x148975[_0x28df5b(0x157)])[_0x28df5b(0x154)]&&(this[_0x28df5b(0x157)]=_0x28df5b(0x120)));}}
23
+ const _0x170f8d=_0x2d45;(function(_0x1b3e27,_0x56b655){const _0x5c6a01=_0x2d45,_0x4fdbea=_0x1b3e27();while(!![]){try{const _0x40f217=-parseInt(_0x5c6a01(0x218))/0x1*(parseInt(_0x5c6a01(0x235))/0x2)+parseInt(_0x5c6a01(0x1eb))/0x3+parseInt(_0x5c6a01(0x22d))/0x4+-parseInt(_0x5c6a01(0x1ee))/0x5*(-parseInt(_0x5c6a01(0x1f7))/0x6)+parseInt(_0x5c6a01(0x214))/0x7+-parseInt(_0x5c6a01(0x1fa))/0x8+-parseInt(_0x5c6a01(0x216))/0x9*(parseInt(_0x5c6a01(0x21d))/0xa);if(_0x40f217===_0x56b655)break;else _0x4fdbea['push'](_0x4fdbea['shift']());}catch(_0x8fb44e){_0x4fdbea['push'](_0x4fdbea['shift']());}}}(_0x1cea,0x75b50));function _0x1cea(){const _0x11a985=['311853WMiYNW','getContent','error-chunk','520035KRGCoc','isChangeActive','reviewName','version','reviewCheckResultAdded','error-general','forceReadyState','abortController','restart','6CHnqao','unmodified','getStream','2556720wtxuGC','_sendRatingRequest','set','filter','markChangeAsPending','review-metadata','elements','addResultChanges','_changes','currentError','_createApiRequest','abort','sendRating','clear','push','parent','ai-request-aborted','find','loading','forEach','outdated','deactivateChange','processedResultsCount','isRated','subTitle','size','6207390WIaKTU','change:isActivated','5485527ayDRdi','message','26mVKTjD','initialized','activateChange','length','ready','10CvGfqc','markChangeAsAccepted','change:status','start','rejected','_results','status','_reviewArgs','_addReviewCheckResult','event','aborted','markChangeAsOutdated','callId','reviewCheckRunUpdated','documentData','getActiveChanges','1666788XZxckb','get','hasModifications','title','isActivated','pending','reviewCheckResultReady','_activeRequest','7708yymIFM','operation','markAllChangesAsAccepted','accepted','_sourceCheck','data','includes','finished','fire','_reviewParams','dataId','_aiConnector','textDelta','every','error','_documentData','reviewCheckResultActivated','reviewCheckResultChangeStatusUpdated','_checkIfFinished','reviewCheckResultDeactivated','_currentError','markChangeAsRejected'];_0x1cea=function(){return _0x11a985;};return _0x1cea();}import{ObservableMixin as _0x1524c7,uid as _0x163526}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x3e9c2d}from'./aireviewcheckresult.js';function _0x2d45(_0x4539d2,_0x249512){const _0x1ceae1=_0x1cea();return _0x2d45=function(_0x2d4585,_0x478ca0){_0x2d4585=_0x2d4585-0x1d8;let _0xde19cd=_0x1ceae1[_0x2d4585];return _0xde19cd;},_0x2d45(_0x4539d2,_0x249512);}import{AIReviewCheckResultChange as _0x1b2148}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x1524c7(){['id']=_0x163526();[_0x170f8d(0x229)];[_0x170f8d(0x222)]=new Map();[_0x170f8d(0x202)]=[];[_0x170f8d(0x1e4)];[_0x170f8d(0x1d9)];[_0x170f8d(0x1e0)];[_0x170f8d(0x1de)];[_0x170f8d(0x224)];[_0x170f8d(0x234)]=null;[_0x170f8d(0x1e9)];constructor(_0x5b22cd,_0x50afb1,_0x15f19d,_0x1231ba,_0x5b37d5){const _0x41da22=_0x170f8d;super(),this[_0x41da22(0x1e4)]=_0x5b22cd,this[_0x41da22(0x1d9)]=_0x50afb1,this[_0x41da22(0x1e0)]=_0x15f19d,this[_0x41da22(0x1de)]=_0x1231ba,this[_0x41da22(0x224)]=_0x5b37d5,this['on'](_0x41da22(0x21f),(_0x50fcbe,_0x46c36f,_0x2e1839)=>{const _0x59b4f0=_0x41da22;this[_0x59b4f0(0x1dd)](_0x59b4f0(0x22a),{'status':_0x2e1839,'run':this,'error':this[_0x59b4f0(0x1e9)]});}),this[_0x41da22(0x1fc)](_0x41da22(0x223),_0x41da22(0x219));}get[_0x170f8d(0x22b)](){const _0x22736e=_0x170f8d;return this[_0x22736e(0x1e4)];}get[_0x170f8d(0x210)](){const _0x399c94=_0x170f8d;return this[_0x399c94(0x222)][_0x399c94(0x213)];}get[_0x170f8d(0x230)](){const _0x55d4e5=_0x170f8d;return this[_0x55d4e5(0x1d9)][_0x55d4e5(0x230)];}get[_0x170f8d(0x212)](){return'';}get[_0x170f8d(0x1f0)](){const _0x730cf6=_0x170f8d;return this[_0x730cf6(0x1d9)]['id'];}get[_0x170f8d(0x22f)](){const _0x3352dc=_0x170f8d;return!this[_0x3352dc(0x202)][_0x3352dc(0x1e2)](_0x59d468=>_0x3352dc(0x232)===_0x59d468[_0x3352dc(0x223)]);}get[_0x170f8d(0x203)](){const _0xc57e47=_0x170f8d;return this[_0xc57e47(0x1e9)];}async[_0x170f8d(0x220)](){const _0x2613c2=_0x170f8d;this[_0x2613c2(0x223)]=_0x2613c2(0x20c),this[_0x2613c2(0x1e9)]=void 0x0;try{this[_0x2613c2(0x234)]=this[_0x2613c2(0x204)]();const _0x3c7bdd=await this[_0x2613c2(0x234)][_0x2613c2(0x1f9)]();this[_0x2613c2(0x223)]=_0x2613c2(0x1da);for await(const _0x400cb6 of _0x3c7bdd)_0x2613c2(0x1f8)!==_0x400cb6[_0x2613c2(0x1da)][_0x2613c2(0x236)]&&(_0x2613c2(0x1e3)!==_0x400cb6[_0x2613c2(0x1da)][_0x2613c2(0x236)]?_0x2613c2(0x1ff)!==_0x400cb6[_0x2613c2(0x226)]?this[_0x2613c2(0x225)](_0x400cb6[_0x2613c2(0x1da)][_0x2613c2(0x1df)],_0x400cb6[_0x2613c2(0x1da)][_0x2613c2(0x1e1)]):this[_0x2613c2(0x229)]=_0x400cb6[_0x2613c2(0x1da)][_0x2613c2(0x229)]:this[_0x2613c2(0x223)]=_0x2613c2(0x1ed));_0x2613c2(0x1ed)!==this[_0x2613c2(0x223)]&&(0x0===this[_0x2613c2(0x222)][_0x2613c2(0x213)]?this[_0x2613c2(0x223)]=_0x2613c2(0x1f8):this[_0x2613c2(0x223)]=_0x2613c2(0x21c));}catch(_0x54e1aa){this[_0x2613c2(0x1e9)]=_0x54e1aa,_0x54e1aa instanceof Error&&_0x54e1aa[_0x2613c2(0x217)][_0x2613c2(0x1db)](_0x2613c2(0x20a))?this[_0x2613c2(0x223)]=_0x2613c2(0x227):this[_0x2613c2(0x223)]=_0x2613c2(0x1f3);}finally{this[_0x2613c2(0x234)]=null;}}async[_0x170f8d(0x1f6)](){const _0x49f5be=_0x170f8d;this[_0x49f5be(0x222)][_0x49f5be(0x207)](),this[_0x49f5be(0x202)][_0x49f5be(0x21b)]=0x0,this[_0x49f5be(0x1e9)]=void 0x0,await this[_0x49f5be(0x220)]();}[_0x170f8d(0x201)](_0x103cbd,_0x111c6b){const _0x527ae1=_0x170f8d,_0x43f0f1=this[_0x527ae1(0x222)][_0x527ae1(0x22e)](_0x103cbd);if(!_0x43f0f1)return;const _0x41cffa=[];_0x111c6b[_0x527ae1(0x20d)]((_0x23e06d,_0x41f6ac)=>{const _0x633d5d=_0x527ae1,_0x44198b=new _0x1b2148(_0x43f0f1['id']+'-'+_0x41f6ac,_0x23e06d,_0x43f0f1);_0x44198b['on'](_0x633d5d(0x21f),()=>{const _0x39df13=_0x633d5d;this[_0x39df13(0x1dd)](_0x39df13(0x1e6),{'change':_0x44198b,'status':_0x44198b[_0x39df13(0x223)]});}),_0x44198b['on'](_0x633d5d(0x215),()=>{const _0x2c31c4=_0x633d5d;_0x44198b[_0x2c31c4(0x231)]?this[_0x2c31c4(0x1dd)](_0x2c31c4(0x1e5),{'change':_0x44198b}):this[_0x2c31c4(0x1dd)](_0x2c31c4(0x1e8),{'change':_0x44198b});}),this[_0x633d5d(0x202)][_0x633d5d(0x208)](_0x44198b),_0x41cffa[_0x633d5d(0x208)](_0x44198b);}),this[_0x527ae1(0x1dd)](_0x527ae1(0x233),{'changes':_0x41cffa,'result':_0x43f0f1,'source':this});}[_0x170f8d(0x205)](){const _0x463163=_0x170f8d;this[_0x463163(0x234)]&&(this[_0x463163(0x234)][_0x463163(0x1f5)][_0x463163(0x205)](),this[_0x463163(0x234)]=null,this[_0x463163(0x223)]=_0x463163(0x227));}[_0x170f8d(0x1ef)](_0x49b90d){const _0x47bc8c=_0x170f8d,_0x16d36a=this[_0x47bc8c(0x202)][_0x47bc8c(0x20b)](_0x529308=>_0x529308['id']===_0x49b90d);return!(!_0x16d36a||_0x47bc8c(0x232)!==_0x16d36a[_0x47bc8c(0x223)]);}[_0x170f8d(0x22c)](){const _0x1c65ab=_0x170f8d;return this[_0x1c65ab(0x202)][_0x1c65ab(0x1fd)](_0x5cef91=>_0x1c65ab(0x232)===_0x5cef91[_0x1c65ab(0x223)]);}[_0x170f8d(0x237)](){const _0x516de7=_0x170f8d;for(const _0x2119bf of this[_0x516de7(0x202)])_0x516de7(0x232)===_0x2119bf[_0x516de7(0x223)]&&(_0x2119bf[_0x516de7(0x223)]=_0x516de7(0x1d8));this[_0x516de7(0x1e7)]();}[_0x170f8d(0x21e)](_0x41746d){const _0x4b27e7=_0x170f8d,_0x23fe7a=this[_0x4b27e7(0x202)][_0x4b27e7(0x20b)](_0x4f3cec=>_0x4f3cec['id']===_0x41746d);_0x23fe7a&&_0x4b27e7(0x232)===_0x23fe7a[_0x4b27e7(0x223)]&&(_0x23fe7a[_0x4b27e7(0x223)]=_0x4b27e7(0x1d8)),this[_0x4b27e7(0x1e7)]();}[_0x170f8d(0x1ea)](_0x7a7367){const _0x214a33=_0x170f8d,_0x1ddb92=this[_0x214a33(0x202)][_0x214a33(0x20b)](_0x5df50b=>_0x5df50b['id']===_0x7a7367);_0x1ddb92&&_0x214a33(0x232)===_0x1ddb92[_0x214a33(0x223)]&&(_0x1ddb92[_0x214a33(0x223)]=_0x214a33(0x221)),this[_0x214a33(0x1e7)]();}[_0x170f8d(0x228)](_0x5acbe0){const _0x285bd3=_0x170f8d,_0x49d0d2=this[_0x285bd3(0x202)][_0x285bd3(0x20b)](_0x8ac529=>_0x8ac529['id']===_0x5acbe0);_0x49d0d2&&_0x285bd3(0x232)===_0x49d0d2[_0x285bd3(0x223)]&&(_0x49d0d2[_0x285bd3(0x223)]=_0x285bd3(0x20e)),this[_0x285bd3(0x1e7)]();}[_0x170f8d(0x1fe)](_0x1a5ba6){const _0x47e000=_0x170f8d,_0x3d8744=this[_0x47e000(0x202)][_0x47e000(0x20b)](_0x115ddf=>_0x115ddf['id']===_0x1a5ba6);_0x3d8744&&_0x47e000(0x20e)===_0x3d8744[_0x47e000(0x223)]&&(_0x3d8744[_0x47e000(0x223)]=_0x47e000(0x232)),this[_0x47e000(0x1e7)]();}[_0x170f8d(0x21a)](_0x6b7ba8){const _0x45dde2=_0x170f8d;this[_0x45dde2(0x202)][_0x45dde2(0x1fd)](_0x5a91e3=>_0x5a91e3[_0x45dde2(0x231)]&&_0x5a91e3['id']!==_0x6b7ba8)[_0x45dde2(0x20d)](_0x1e6558=>{const _0x5fa6a1=_0x45dde2;_0x1e6558[_0x5fa6a1(0x231)]=!0x1;});const _0x858675=this[_0x45dde2(0x202)][_0x45dde2(0x20b)](_0x50651d=>_0x50651d['id']===_0x6b7ba8);_0x858675&&_0x45dde2(0x232)===_0x858675[_0x45dde2(0x223)]&&(_0x858675[_0x45dde2(0x231)]=!0x0);}[_0x170f8d(0x20f)](){const _0x4e8a23=_0x170f8d;this[_0x4e8a23(0x202)][_0x4e8a23(0x1fd)](_0x5a02a6=>_0x5a02a6[_0x4e8a23(0x231)])[_0x4e8a23(0x20d)](_0x455fb8=>{const _0x4d3a9c=_0x4e8a23;_0x455fb8[_0x4d3a9c(0x231)]=!0x1;});}[_0x170f8d(0x1f4)](){const _0x1b163d=_0x170f8d;this[_0x1b163d(0x223)]=_0x1b163d(0x21c);}async[_0x170f8d(0x206)](_0x2e6d81){const _0x188d66=_0x170f8d;if(_0x188d66(0x219)===this[_0x188d66(0x223)]||_0x188d66(0x20c)===this[_0x188d66(0x223)]||_0x188d66(0x1da)===this[_0x188d66(0x223)])return;if(!this[_0x188d66(0x229)]||0x0===this[_0x188d66(0x202)][_0x188d66(0x21b)])return;let _0x122b0e;if(_0x2e6d81){const _0x9b3219=this[_0x188d66(0x202)][_0x188d66(0x20b)](_0x34c115=>_0x34c115['id']===_0x2e6d81);if(_0x9b3219&&_0x9b3219[_0x188d66(0x211)])return;_0x9b3219&&(_0x122b0e=_0x9b3219[_0x188d66(0x209)]['id'],_0x9b3219[_0x188d66(0x211)]=!0x0);}const _0x1726f2={'positiveCount':this[_0x188d66(0x202)][_0x188d66(0x1fd)](_0x2df59e=>_0x188d66(0x1d8)===_0x2df59e[_0x188d66(0x223)])[_0x188d66(0x21b)],'totalCount':this[_0x188d66(0x202)][_0x188d66(0x21b)]};this[_0x188d66(0x1fb)](_0x1726f2,this[_0x188d66(0x229)],_0x122b0e);}[_0x170f8d(0x225)](_0x59e6a5,_0x1439d7){const _0x31d022=_0x170f8d,_0x266ab6=this[_0x31d022(0x1e4)][_0x31d022(0x200)][_0x31d022(0x22e)](_0x59e6a5);if(!_0x266ab6)return;const _0x317e7b=_0x266ab6[_0x31d022(0x1ec)]();if(_0x317e7b===_0x1439d7)return;const _0x5b927d=new _0x3e9c2d({'id':_0x59e6a5,'contentInitial':_0x317e7b,'contentNew':_0x1439d7,'documentVersion':this[_0x31d022(0x1e4)][_0x31d022(0x1f1)]});this[_0x31d022(0x222)][_0x31d022(0x1fc)](_0x5b927d['id'],_0x5b927d),this[_0x31d022(0x1dd)](_0x31d022(0x1f2),{'result':_0x5b927d,'source':this});}[_0x170f8d(0x1e7)](){const _0x390806=_0x170f8d;_0x390806(0x1dc)===this[_0x390806(0x223)]&&(this[_0x390806(0x202)][_0x390806(0x1fd)](_0x5383a5=>_0x390806(0x232)===_0x5383a5[_0x390806(0x223)])[_0x390806(0x21b)]>0x0&&(this[_0x390806(0x223)]=_0x390806(0x21c))),_0x390806(0x21c)===this[_0x390806(0x223)]&&(0x0===this[_0x390806(0x202)][_0x390806(0x1fd)](_0xbb08fc=>_0x390806(0x232)===_0xbb08fc[_0x390806(0x223)])[_0x390806(0x21b)]&&(this[_0x390806(0x223)]=_0x390806(0x1dc)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xf4da9a=_0x1f18;(function(_0x5a08c3,_0x41d3f6){var _0x58c304=_0x1f18,_0x4149d3=_0x5a08c3();while(!![]){try{var _0x3a02ef=parseInt(_0x58c304(0x18d))/0x1+parseInt(_0x58c304(0x182))/0x2*(-parseInt(_0x58c304(0x191))/0x3)+parseInt(_0x58c304(0x17c))/0x4*(-parseInt(_0x58c304(0x183))/0x5)+parseInt(_0x58c304(0x18a))/0x6*(parseInt(_0x58c304(0x185))/0x7)+parseInt(_0x58c304(0x17e))/0x8+parseInt(_0x58c304(0x178))/0x9*(-parseInt(_0x58c304(0x18f))/0xa)+parseInt(_0x58c304(0x189))/0xb;if(_0x3a02ef===_0x41d3f6)break;else _0x4149d3['push'](_0x4149d3['shift']());}catch(_0x547b34){_0x4149d3['push'](_0x4149d3['shift']());}}}(_0x44f2,0x41742));import{TextareaView as _0x461a6d}from'ckeditor5/src/ui.js';function _0x44f2(){var _0x23e22b=['2270ySlROC','extendTemplate','1257LZARIL','update','10134nxPJpJ','listenTo','maxRows','MIN_ROWS','28448fcNKan','ai-review-mode-prompt-input','2549888WZhunM','element','ck-review-mode__prompt-input','value','1588UNLhgG','10PvlsgW','MAX_ROWS','22141KGSSwP','minRows','trim','isEmpty','5912929LmFNbk','24wOABDa','render','set','1683mMvLpy','keystrokes'];_0x44f2=function(){return _0x23e22b;};return _0x44f2();}function _0x1f18(_0x659e02,_0xd0021c){var _0x44f293=_0x44f2();return _0x1f18=function(_0x1f18bf,_0x56b554){_0x1f18bf=_0x1f18bf-0x178;var _0x2eb004=_0x44f293[_0x1f18bf];return _0x2eb004;},_0x1f18(_0x659e02,_0xd0021c);}import{KeystrokeHandler as _0xe5cda0}from'ckeditor5/src/utils.js';export class AIReviewModePromptInputView extends _0x461a6d{[_0xf4da9a(0x18e)];static [_0xf4da9a(0x17b)]=0x1;static [_0xf4da9a(0x184)]=0xc;constructor(_0x24da07){var _0x245f6f=_0xf4da9a;super(_0x24da07),this[_0x245f6f(0x18c)](_0x245f6f(0x188),!0x0),this[_0x245f6f(0x18e)]=new _0xe5cda0(),this[_0x245f6f(0x186)]=AIReviewModePromptInputView[_0x245f6f(0x17b)],this[_0x245f6f(0x17a)]=AIReviewModePromptInputView[_0x245f6f(0x184)],this[_0x245f6f(0x190)]({'attributes':{'id':_0x245f6f(0x17d),'class':['ck',_0x245f6f(0x180)]}});}[_0xf4da9a(0x18b)](){var _0x559d08=_0xf4da9a;super[_0x559d08(0x18b)](),this['on'](_0x559d08(0x192),()=>{var _0x595533=_0x559d08;this[_0x595533(0x188)]=''===this[_0x595533(0x17f)][_0x595533(0x181)]?.[_0x595533(0x187)]();}),this[_0x559d08(0x18e)][_0x559d08(0x179)](this[_0x559d08(0x17f)]);}}
23
+ var _0x521365=_0x2515;(function(_0x30c907,_0x57aa26){var _0x1c0d9e=_0x2515,_0x42bcac=_0x30c907();while(!![]){try{var _0x5dea90=parseInt(_0x1c0d9e(0x202))/0x1*(-parseInt(_0x1c0d9e(0x1f3))/0x2)+-parseInt(_0x1c0d9e(0x204))/0x3*(-parseInt(_0x1c0d9e(0x1f5))/0x4)+-parseInt(_0x1c0d9e(0x1f2))/0x5+-parseInt(_0x1c0d9e(0x1ee))/0x6*(parseInt(_0x1c0d9e(0x1f1))/0x7)+parseInt(_0x1c0d9e(0x1fd))/0x8*(-parseInt(_0x1c0d9e(0x1f9))/0x9)+parseInt(_0x1c0d9e(0x1eb))/0xa*(parseInt(_0x1c0d9e(0x203))/0xb)+parseInt(_0x1c0d9e(0x1ec))/0xc;if(_0x5dea90===_0x57aa26)break;else _0x42bcac['push'](_0x42bcac['shift']());}catch(_0x5eb595){_0x42bcac['push'](_0x42bcac['shift']());}}}(_0x2839,0x75cb3));function _0x2515(_0x292dd6,_0x24e89c){var _0x2839d0=_0x2839();return _0x2515=function(_0x25159f,_0x313990){_0x25159f=_0x25159f-0x1e9;var _0x269e58=_0x2839d0[_0x25159f];return _0x269e58;},_0x2515(_0x292dd6,_0x24e89c);}import{TextareaView as _0x368f9f}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0xc257d}from'ckeditor5/src/utils.js';export class AIReviewModePromptInputView extends _0x368f9f{[_0x521365(0x1fb)];static [_0x521365(0x1f0)]=0x1;static [_0x521365(0x200)]=0xc;constructor(_0x1fcf98){var _0x1494bc=_0x521365;super(_0x1fcf98),this[_0x1494bc(0x1fc)](_0x1494bc(0x1f4),!0x0),this[_0x1494bc(0x1fb)]=new _0xc257d(),this[_0x1494bc(0x1ea)]=AIReviewModePromptInputView[_0x1494bc(0x1f0)],this[_0x1494bc(0x1ff)]=AIReviewModePromptInputView[_0x1494bc(0x200)],this[_0x1494bc(0x201)]({'attributes':{'id':_0x1494bc(0x1f6),'class':['ck',_0x1494bc(0x1fe)]}});}[_0x521365(0x1ef)](){var _0x20ee54=_0x521365;super[_0x20ee54(0x1ef)](),this['on'](_0x20ee54(0x1e9),()=>{var _0x701d6=_0x20ee54;this[_0x701d6(0x1f4)]=''===this[_0x701d6(0x1fa)][_0x701d6(0x1f7)]?.[_0x701d6(0x1f8)]();}),this[_0x20ee54(0x1fb)][_0x20ee54(0x1ed)](this[_0x20ee54(0x1fa)]);}}function _0x2839(){var _0x583589=['18397XBHiXj','661573ImPhKo','1109316VwWKuL','update','minRows','130opGtpU','10124772kzBeIu','listenTo','198AgRkMf','render','MIN_ROWS','193823kjSZyH','1854970QXJtwE','2HWbIZw','isEmpty','4ZIfRtE','ai-review-mode-prompt-input','value','trim','27emHTCs','element','keystrokes','set','559336zlzFZZ','ck-review-mode__prompt-input','maxRows','MAX_ROWS','extendTemplate'];_0x2839=function(){return _0x583589;};return _0x2839();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15cbe8=_0x2754;function _0x2754(_0x2c2e03,_0x64e3ef){const _0x4a57ce=_0x4a57();return _0x2754=function(_0x2754af,_0x29a831){_0x2754af=_0x2754af-0x81;let _0x42f906=_0x4a57ce[_0x2754af];return _0x42f906;},_0x2754(_0x2c2e03,_0x64e3ef);}(function(_0x313183,_0x4dbd7f){const _0x487037=_0x2754,_0xf90946=_0x313183();while(!![]){try{const _0x145485=-parseInt(_0x487037(0x9b))/0x1+-parseInt(_0x487037(0x90))/0x2+parseInt(_0x487037(0x94))/0x3*(-parseInt(_0x487037(0xa3))/0x4)+-parseInt(_0x487037(0x85))/0x5*(-parseInt(_0x487037(0x8c))/0x6)+parseInt(_0x487037(0x81))/0x7*(-parseInt(_0x487037(0xa0))/0x8)+-parseInt(_0x487037(0xaf))/0x9+parseInt(_0x487037(0x83))/0xa;if(_0x145485===_0x4dbd7f)break;else _0xf90946['push'](_0xf90946['shift']());}catch(_0x40a591){_0xf90946['push'](_0xf90946['shift']());}}}(_0x4a57,0x7c4fa));import{BalloonPanelView as _0x3fb84f,View as _0x1eebf6,clickOutsideHandler as _0x2ff179}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCheckListItemResultsView as _0x13e6dd}from'./aireviewmodechecklistitemresultview.js';import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';function _0x4a57(){const _0x18301a=['_getBestRectPosition','ck-ai-review-mode__suggestion-text','locale','deactivateChange','add','4645323mqVrzg','show','ck-ai-review-mode-balloon-panel-suggestion','showBalloon','updateContent','hideBalloon','46389BVtFbF','resultResponseView','25532460GfRxbx','innerHTML','5BbjBBo','dismissChange','extendTemplate','_setupClickOutsideHandler','fire','content','changeId','4087554VJzEAi','acceptChange','ck-reset','setTemplate','1814364pelHLf','contentDiffed','arrow_se','set','363KnKyrv','_createContentView','width','resultItemView','hideDiffInBalloon','showDiffInBalloon','isVisible','691539QZkUiL','showDiff','getClientRects','find','div','480YBLpCY','from','render','7036idXPuw','hide','delegate','ck-content','pin','unpin','element'];_0x4a57=function(){return _0x18301a;};return _0x4a57();}import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x3fb84f{[_0x15cbe8(0x97)];constructor(_0x1d3d86,_0xc36c28){const _0xc9df4=_0x15cbe8;super(_0x1d3d86),this[_0xc9df4(0x93)]({'isVisible':!0x1,'position':_0xc9df4(0x92),'class':null,'top':0x0,'left':0x0}),this[_0xc9df4(0x87)]({'tag':_0xc9df4(0x9f),'attributes':{'class':[_0xc9df4(0x8e)],'tabindex':'-1'}}),this[_0xc9df4(0x8a)][_0xc9df4(0xae)](this[_0xc9df4(0x95)]()),_0xc36c28[_0xc9df4(0xae)](this);}[_0x15cbe8(0xa2)](){const _0x4aaafe=_0x15cbe8;super[_0x4aaafe(0xa2)](),this[_0x4aaafe(0x88)]();}[_0x15cbe8(0xb3)](_0x1da367){const _0x462d01=_0x15cbe8;this[_0x462d01(0x97)][_0x462d01(0x8b)]=_0x1da367['id'],this[_0x462d01(0x97)][_0x462d01(0x82)][_0x462d01(0xa9)][_0x462d01(0x84)]=_0x1da367[_0x462d01(0x91)];}[_0x15cbe8(0xb2)](_0x1152d7,_0x3e72f6){const _0x172918=_0x15cbe8;this[_0x172918(0xb3)](_0x1152d7),this[_0x172918(0xb0)](),this[_0x172918(0xa7)]({'target':()=>this[_0x172918(0xaa)](_0x3e72f6)});}[_0x15cbe8(0xb4)](){const _0x8f76a=_0x15cbe8;this[_0x8f76a(0xa4)](),this[_0x8f76a(0xa8)]();}[_0x15cbe8(0x98)](){const _0x15d459=_0x15cbe8;this[_0x15d459(0x97)][_0x15d459(0x9c)]=!0x1;}[_0x15cbe8(0x99)](){const _0x18421b=_0x15cbe8;this[_0x18421b(0x97)][_0x18421b(0x9c)]=!0x0;}[_0x15cbe8(0xad)](){const _0x2ea656=_0x15cbe8;this[_0x2ea656(0x89)](_0x2ea656(0xad));}[_0x15cbe8(0x88)](){const _0x5b4ad1=_0x15cbe8;_0x2ff179({'emitter':this,'activator':()=>this[_0x5b4ad1(0x9a)],'contextElements':[this[_0x5b4ad1(0xa9)]],'callback':()=>{const _0x4c9ed4=_0x5b4ad1;this[_0x4c9ed4(0xb4)](),this[_0x4c9ed4(0xad)]();}});}[_0x15cbe8(0x95)](){const _0x35e175=_0x15cbe8,_0x4bcc74=new _0x1eebf6();return this[_0x35e175(0x97)]=new _0x13e6dd(this[_0x35e175(0xac)],''),this[_0x35e175(0x97)][_0x35e175(0x82)][_0x35e175(0x87)]({'attributes':{'class':[_0x35e175(0xa6)]}}),this[_0x35e175(0x97)][_0x35e175(0xa5)](_0x35e175(0x8d),_0x35e175(0x86))['to'](this),_0x4bcc74[_0x35e175(0x8f)]({'tag':_0x35e175(0x9f),'attributes':{'class':[_0x35e175(0x8e),_0x35e175(0xb1)]},'children':[{'tag':'p','attributes':{'class':[_0x35e175(0xab)]},'children':[this[_0x35e175(0x97)]]}]}),_0x4bcc74;}[_0x15cbe8(0xaa)](_0x55c2ea){const _0x291a61=_0x15cbe8,_0x30c47f=Array[_0x291a61(0xa1)](_0x55c2ea[_0x291a61(0x9d)]());return _0x30c47f[_0x291a61(0x9e)](_0x4ec3da=>_0x4ec3da[_0x291a61(0x96)]>0x0)||_0x30c47f[0x0];}}
23
+ const _0x18d01b=_0x226e;(function(_0x5635d9,_0x2c1fc4){const _0x41ffd3=_0x226e,_0x1f2d21=_0x5635d9();while(!![]){try{const _0x3a0edd=parseInt(_0x41ffd3(0x16d))/0x1*(parseInt(_0x41ffd3(0x175))/0x2)+-parseInt(_0x41ffd3(0x15b))/0x3*(parseInt(_0x41ffd3(0x15c))/0x4)+-parseInt(_0x41ffd3(0x16c))/0x5+parseInt(_0x41ffd3(0x160))/0x6+-parseInt(_0x41ffd3(0x16b))/0x7*(-parseInt(_0x41ffd3(0x170))/0x8)+parseInt(_0x41ffd3(0x153))/0x9*(parseInt(_0x41ffd3(0x158))/0xa)+parseInt(_0x41ffd3(0x156))/0xb*(-parseInt(_0x41ffd3(0x15a))/0xc);if(_0x3a0edd===_0x2c1fc4)break;else _0x1f2d21['push'](_0x1f2d21['shift']());}catch(_0x80fe0f){_0x1f2d21['push'](_0x1f2d21['shift']());}}}(_0x2cc2,0x5556b));import{BalloonPanelView as _0x639ee2,View as _0x100042,clickOutsideHandler as _0x5a228e}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCheckListItemResultsView as _0x2e415d}from'./aireviewmodechecklistitemresultview.js';function _0x226e(_0x703028,_0x5cfbbe){const _0x2cc223=_0x2cc2();return _0x226e=function(_0x226eaa,_0x33e9a0){_0x226eaa=_0x226eaa-0x146;let _0x627c54=_0x2cc223[_0x226eaa];return _0x627c54;},_0x226e(_0x703028,_0x5cfbbe);}import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x639ee2{[_0x18d01b(0x164)];constructor(_0x12dac9,_0x3a4d03){const _0x1073e7=_0x18d01b;super(_0x12dac9),this[_0x1073e7(0x169)]({'isVisible':!0x1,'position':_0x1073e7(0x17a),'class':null,'top':0x0,'left':0x0}),this[_0x1073e7(0x178)]({'tag':_0x1073e7(0x15e),'attributes':{'class':[_0x1073e7(0x152)],'tabindex':'-1'}}),this[_0x1073e7(0x168)][_0x1073e7(0x176)](this[_0x1073e7(0x166)]()),_0x3a4d03[_0x1073e7(0x176)](this);}[_0x18d01b(0x16e)](){const _0x459f73=_0x18d01b;super[_0x459f73(0x16e)](),this[_0x459f73(0x151)]();}[_0x18d01b(0x15f)](_0x25b515){const _0x4f0be7=_0x18d01b;this[_0x4f0be7(0x164)][_0x4f0be7(0x167)]=_0x25b515['id'],this[_0x4f0be7(0x164)][_0x4f0be7(0x147)][_0x4f0be7(0x173)][_0x4f0be7(0x155)]=_0x25b515[_0x4f0be7(0x159)];}[_0x18d01b(0x172)](_0x1de32b,_0x137584){const _0x20569c=_0x18d01b;this[_0x20569c(0x15f)](_0x1de32b),this[_0x20569c(0x163)](),this[_0x20569c(0x162)]({'target':()=>this[_0x20569c(0x14c)](_0x137584)});}[_0x18d01b(0x16f)](){const _0x1fc4e3=_0x18d01b;this[_0x1fc4e3(0x154)](),this[_0x1fc4e3(0x165)]();}[_0x18d01b(0x17b)](){const _0x17099e=_0x18d01b;this[_0x17099e(0x164)][_0x17099e(0x161)]=!0x1;}[_0x18d01b(0x177)](){const _0x5b0e3d=_0x18d01b;this[_0x5b0e3d(0x164)][_0x5b0e3d(0x161)]=!0x0;}[_0x18d01b(0x157)](){const _0x4d3d84=_0x18d01b;this[_0x4d3d84(0x14d)](_0x4d3d84(0x157));}[_0x18d01b(0x151)](){const _0x4314c5=_0x18d01b;_0x5a228e({'emitter':this,'activator':()=>this[_0x4314c5(0x150)],'contextElements':[this[_0x4314c5(0x173)]],'callback':()=>{const _0x3ffef5=_0x4314c5;this[_0x3ffef5(0x16f)](),this[_0x3ffef5(0x157)]();}});}[_0x18d01b(0x166)](){const _0x5baaf8=_0x18d01b,_0x256ba9=new _0x100042();return this[_0x5baaf8(0x164)]=new _0x2e415d(this[_0x5baaf8(0x15d)],''),this[_0x5baaf8(0x164)][_0x5baaf8(0x147)][_0x5baaf8(0x178)]({'attributes':{'class':[_0x5baaf8(0x14a)]}}),this[_0x5baaf8(0x164)][_0x5baaf8(0x148)](_0x5baaf8(0x14e),_0x5baaf8(0x179))['to'](this),_0x256ba9[_0x5baaf8(0x146)]({'tag':_0x5baaf8(0x15e),'attributes':{'class':[_0x5baaf8(0x152),_0x5baaf8(0x14b)]},'children':[{'tag':'p','attributes':{'class':[_0x5baaf8(0x16a)]},'children':[this[_0x5baaf8(0x164)]]}]}),_0x256ba9;}[_0x18d01b(0x14c)](_0x569da0){const _0x578be8=_0x18d01b,_0x51adc6=Array[_0x578be8(0x174)](_0x569da0[_0x578be8(0x171)]());return _0x51adc6[_0x578be8(0x149)](_0x1642a3=>_0x1642a3[_0x578be8(0x14f)]>0x0)||_0x51adc6[0x0];}}function _0x2cc2(){const _0x2394c1=['acceptChange','width','isVisible','_setupClickOutsideHandler','ck-reset','14409ZPsrWK','hide','innerHTML','539RFyAFb','deactivateChange','850RjZHbt','contentDiffed','54744VmwWHE','3qhSbvQ','453032iavgTq','locale','div','updateContent','2727366uzxWqb','showDiff','pin','show','resultItemView','unpin','_createContentView','changeId','content','set','ck-ai-review-mode__suggestion-text','23044SSixkS','3036710ttknAl','21vkOMjE','render','hideBalloon','1208BFJHLD','getClientRects','showBalloon','element','from','19614OXYcYl','add','showDiffInBalloon','extendTemplate','dismissChange','arrow_se','hideDiffInBalloon','setTemplate','resultResponseView','delegate','find','ck-content','ck-ai-review-mode-balloon-panel-suggestion','_getBestRectPosition','fire'];_0x2cc2=function(){return _0x2394c1;};return _0x2cc2();}