@ckeditor/ckeditor5-ai 47.7.0-alpha.0 → 47.7.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/package.json +15 -15
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x492670=_0x4f93;(function(_0x48e3a5,_0x4cff23){var _0x513a60=_0x4f93,_0x30ca82=_0x48e3a5();while(!![]){try{var _0x1480ae=parseInt(_0x513a60(0x1ed))/0x1+-parseInt(_0x513a60(0x1ee))/0x2+parseInt(_0x513a60(0x1ea))/0x3+-parseInt(_0x513a60(0x1e8))/0x4*(-parseInt(_0x513a60(0x1e6))/0x5)+parseInt(_0x513a60(0x1ef))/0x6*(-parseInt(_0x513a60(0x1e9))/0x7)+parseInt(_0x513a60(0x1f1))/0x8+parseInt(_0x513a60(0x1e7))/0x9;if(_0x1480ae===_0x4cff23)break;else _0x30ca82['push'](_0x30ca82['shift']());}catch(_0x493ea3){_0x30ca82['push'](_0x30ca82['shift']());}}}(_0x2757,0x42511));import{EmitterMixin as _0x38e513}from'ckeditor5/src/utils.js';function _0x2757(){var _0x1a7acd=['207711KUzHta','402504nkLqhV','contentNew','documentVersion','49594Asjofn','809670BQhpgf','18FTGOeW','contentInitial','921304pEdFUE','19070mXrgRf','2105172jONbUS','244sqesSm'];_0x2757=function(){return _0x1a7acd;};return _0x2757();}function _0x4f93(_0x47f672,_0x18ba7d){var _0x27571b=_0x2757();return _0x4f93=function(_0x4f9373,_0x11fb54){_0x4f9373=_0x4f9373-0x1e6;var _0x3c0780=_0x27571b[_0x4f9373];return _0x3c0780;},_0x4f93(_0x47f672,_0x18ba7d);}export class AIReviewCheckResult extends _0x38e513(){['id'];[_0x492670(0x1eb)];[_0x492670(0x1f0)];[_0x492670(0x1ec)];constructor({id:_0x56cf65,contentNew:_0x319f85,contentInitial:_0x18d030,documentVersion:_0x2625f9}){var _0x309238=_0x492670;super(),this['id']=_0x56cf65,this[_0x309238(0x1eb)]=_0x319f85,this[_0x309238(0x1f0)]=_0x18d030,this[_0x309238(0x1ec)]=_0x2625f9;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x5449(_0x4c6d98,_0x3bd702){var _0x4466b0=_0x4466();return _0x5449=function(_0x544924,_0x4da7c0){_0x544924=_0x544924-0x18c;var _0x17374a=_0x4466b0[_0x544924];return _0x17374a;},_0x5449(_0x4c6d98,_0x3bd702);}var _0x1f7961=_0x5449;(function(_0x3bf034,_0x3aace9){var _0x4c3d01=_0x5449,_0x2c76e9=_0x3bf034();while(!![]){try{var _0xbe0803=parseInt(_0x4c3d01(0x196))/0x1*(-parseInt(_0x4c3d01(0x18d))/0x2)+parseInt(_0x4c3d01(0x18f))/0x3*(-parseInt(_0x4c3d01(0x1a3))/0x4)+parseInt(_0x4c3d01(0x197))/0x5+parseInt(_0x4c3d01(0x199))/0x6*(-parseInt(_0x4c3d01(0x19c))/0x7)+-parseInt(_0x4c3d01(0x18c))/0x8+-parseInt(_0x4c3d01(0x19b))/0x9*(parseInt(_0x4c3d01(0x18e))/0xa)+parseInt(_0x4c3d01(0x191))/0xb;if(_0xbe0803===_0x3aace9)break;else _0x2c76e9['push'](_0x2c76e9['shift']());}catch(_0x5daab9){_0x2c76e9['push'](_0x2c76e9['shift']());}}}(_0x4466,0x2127a));function _0x4466(){var _0x2b022e=['10BckjYf','15uRAGhM','status','4705558eezhaF','isRated','operations','set','change:status','2pOTsMM','795885vgYmUn','operationsIsolated','6lpFDam','context','584235vAndax','265307WbfDES','contentDiffed','parent','_editorOperations','pending','_data','isActivated','173656jUrimK','892072BVjmNn','19758hhoevd'];_0x4466=function(){return _0x2b022e;};return _0x4466();}import{ObservableMixin as _0x5241a7}from'ckeditor5/src/utils.js';export class AIReviewCheckResultChange extends _0x5241a7(){['id'];[_0x1f7961(0x19e)];[_0x1f7961(0x1a1)];[_0x1f7961(0x19f)]=[];constructor(_0x1ce825,_0x12b026,_0xd31b20){var _0xe4b1a7=_0x1f7961;super(),this['id']=_0x1ce825,this[_0xe4b1a7(0x19e)]=_0xd31b20,this[_0xe4b1a7(0x1a1)]=_0x12b026,this[_0xe4b1a7(0x194)](_0xe4b1a7(0x1a2),!0x1),this[_0xe4b1a7(0x194)](_0xe4b1a7(0x192),!0x1),this[_0xe4b1a7(0x194)](_0xe4b1a7(0x190),_0xe4b1a7(0x1a0)),this['on'](_0xe4b1a7(0x195),()=>{var _0x1515e2=_0xe4b1a7;_0x1515e2(0x1a0)!==this[_0x1515e2(0x190)]&&this[_0x1515e2(0x1a2)]&&(this[_0x1515e2(0x1a2)]=!0x1);});}get[_0x1f7961(0x19d)](){var _0x2375fe=_0x1f7961;return this[_0x2375fe(0x1a1)][_0x2375fe(0x19a)]();}get[_0x1f7961(0x193)](){var _0x37e3aa=_0x1f7961;return this[_0x37e3aa(0x1a1)][_0x37e3aa(0x193)];}get[_0x1f7961(0x198)](){var _0x3fc3c1=_0x1f7961;return this[_0x3fc3c1(0x1a1)][_0x3fc3c1(0x198)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x4973(){const _0x4fbdcb=['getStream','_wasAborted','pending','1546844CByssK','_sendRatingRequest','unmodified','_currentError','_reviewArgs','reviewCheckResultAdded','reviewCheckResultChangeStatusUpdated','push','find','_sourceCheck','reviewCheckResultActivated','parent','forceReadyState','size','reviewCheckResultReady','callId','reviewCheckResultDeactivated','activateChange','error-general','fire','_changes','restart','getChangeById','finished','set','subTitle','data','error-chunk','change:isActivated','status','markAllChangesAsAccepted','processedResultsCount','getActiveChanges','reviewCheckRunUpdated','3081480pcSWcC','version','some','isActivated','750858nlaGMr','abort','markChangeAsPending','sendRating','_aiConnector','error','isAnyChangeActivated','operation','forEach','start','isRated','_addReviewCheckResult','hasModifications','filter','ai-request-aborted','initialized','elements','markChangeAsOutdated','_activeRequest','addResultChanges','markChangeAsRejected','ready','review-metadata','outdated','6YaqKeC','aborted','title','1557850yiGKkV','change:status','1405191WwKsrq','80609npkcfT','event','includes','loading','_results','deactivateChange','rejected','accepted','markChangeAsAccepted','_documentData','isChangeActive','message','length','1477700NmFQTq','every','currentError','reviewName','get','documentData','_createApiRequest','clear','_reviewParams','getContent','abortController','_checkIfFinished','textDelta','updateDocumentData','dataId'];_0x4973=function(){return _0x4fbdcb;};return _0x4973();}const _0x5925e0=_0x46cc;(function(_0x15c3d0,_0x22b34f){const _0x455e63=_0x46cc,_0x448155=_0x15c3d0();while(!![]){try{const _0x50bba4=-parseInt(_0x455e63(0x13e))/0x1*(parseInt(_0x455e63(0x138))/0x2)+parseInt(_0x455e63(0x13d))/0x3+-parseInt(_0x455e63(0x15d))/0x4+-parseInt(_0x455e63(0x13b))/0x5+parseInt(_0x455e63(0x183))/0x6+parseInt(_0x455e63(0x14b))/0x7+parseInt(_0x455e63(0x17f))/0x8;if(_0x50bba4===_0x22b34f)break;else _0x448155['push'](_0x448155['shift']());}catch(_0x19244b){_0x448155['push'](_0x448155['shift']());}}}(_0x4973,0x3cf75));function _0x46cc(_0x447a2a,_0x4462cb){const _0x4973df=_0x4973();return _0x46cc=function(_0x46cc33,_0x4a368e){_0x46cc33=_0x46cc33-0x12d;let _0x3eb1b2=_0x4973df[_0x46cc33];return _0x3eb1b2;},_0x46cc(_0x447a2a,_0x4462cb);}import{ObservableMixin as _0x391050,uid as _0x258e89}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x43f6ca}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x3dd345}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x391050(){['id']=_0x258e89();[_0x5925e0(0x16c)];[_0x5925e0(0x142)]=new Map();[_0x5925e0(0x171)]=[];[_0x5925e0(0x166)];[_0x5925e0(0x147)];[_0x5925e0(0x187)];[_0x5925e0(0x153)];[_0x5925e0(0x161)];[_0x5925e0(0x132)]=null;[_0x5925e0(0x160)];[_0x5925e0(0x15b)]=!0x1;constructor(_0x5d4570,_0x13622c,_0x586a55,_0x4c80ae,_0x15a61a){const _0x2a9a7f=_0x5925e0;super(),this[_0x2a9a7f(0x166)]=_0x13622c,this[_0x2a9a7f(0x147)]=_0x5d4570,this[_0x2a9a7f(0x187)]=_0x586a55,this[_0x2a9a7f(0x153)]=_0x4c80ae,this[_0x2a9a7f(0x161)]=_0x15a61a,this['on'](_0x2a9a7f(0x13c),(_0x4ff9a5,_0x2a5841,_0x397574)=>{const _0x3e5c18=_0x2a9a7f;_0x3e5c18(0x139)==_0x397574&&(this[_0x3e5c18(0x15b)]=!0x0),this[_0x3e5c18(0x170)](_0x3e5c18(0x17e),{'status':_0x397574,'run':this,'error':this[_0x3e5c18(0x160)]});}),this[_0x2a9a7f(0x175)](_0x2a9a7f(0x17a),_0x2a9a7f(0x12f));}get[_0x5925e0(0x150)](){const _0x281ebf=_0x5925e0;return this[_0x281ebf(0x147)];}get[_0x5925e0(0x17c)](){const _0x1d167c=_0x5925e0;return this[_0x1d167c(0x142)][_0x1d167c(0x16a)];}get[_0x5925e0(0x13a)](){const _0x3e7e09=_0x5925e0;return this[_0x3e7e09(0x166)][_0x3e7e09(0x13a)];}get[_0x5925e0(0x176)](){return'';}get[_0x5925e0(0x14e)](){const _0x29eefd=_0x5925e0;return this[_0x29eefd(0x166)]['id'];}get[_0x5925e0(0x18f)](){const _0x507661=_0x5925e0;return!this[_0x507661(0x171)][_0x507661(0x14c)](_0x274911=>_0x507661(0x15c)===_0x274911[_0x507661(0x17a)]);}get[_0x5925e0(0x14d)](){const _0x52e7c8=_0x5925e0;return this[_0x52e7c8(0x160)];}[_0x5925e0(0x158)](_0x691ddb){const _0x1781a9=_0x5925e0;this[_0x1781a9(0x147)]=_0x691ddb;}async[_0x5925e0(0x18c)](){const _0x4b9f03=_0x5925e0;this[_0x4b9f03(0x17a)]=_0x4b9f03(0x141),this[_0x4b9f03(0x160)]=void 0x0;try{this[_0x4b9f03(0x132)]=this[_0x4b9f03(0x151)]();const _0x104e4f=await this[_0x4b9f03(0x132)][_0x4b9f03(0x15a)]();this[_0x4b9f03(0x17a)]=_0x4b9f03(0x177);for await(const _0x1ef371 of _0x104e4f)_0x4b9f03(0x15f)!==_0x1ef371[_0x4b9f03(0x177)][_0x4b9f03(0x18a)]&&(_0x4b9f03(0x188)!==_0x1ef371[_0x4b9f03(0x177)][_0x4b9f03(0x18a)]?_0x4b9f03(0x136)!==_0x1ef371[_0x4b9f03(0x13f)]?this[_0x4b9f03(0x18e)](_0x1ef371[_0x4b9f03(0x177)][_0x4b9f03(0x159)],_0x1ef371[_0x4b9f03(0x177)][_0x4b9f03(0x157)]):this[_0x4b9f03(0x16c)]=_0x1ef371[_0x4b9f03(0x177)][_0x4b9f03(0x16c)]:this[_0x4b9f03(0x17a)]=_0x4b9f03(0x178));_0x4b9f03(0x178)!==this[_0x4b9f03(0x17a)]&&(0x0===this[_0x4b9f03(0x142)][_0x4b9f03(0x16a)]||0x0===this[_0x4b9f03(0x171)][_0x4b9f03(0x14a)]?this[_0x4b9f03(0x17a)]=_0x4b9f03(0x15f):this[_0x4b9f03(0x17a)]=_0x4b9f03(0x135));}catch(_0x123336){this[_0x4b9f03(0x160)]=_0x123336,_0x123336 instanceof Error&&_0x123336[_0x4b9f03(0x149)][_0x4b9f03(0x140)](_0x4b9f03(0x12e))?this[_0x4b9f03(0x17a)]=_0x4b9f03(0x139):this[_0x4b9f03(0x17a)]=_0x4b9f03(0x16f);}finally{this[_0x4b9f03(0x132)]=null;}}async[_0x5925e0(0x172)](){const _0x292069=_0x5925e0;this[_0x292069(0x142)][_0x292069(0x152)](),this[_0x292069(0x171)][_0x292069(0x14a)]=0x0,this[_0x292069(0x160)]=void 0x0,await this[_0x292069(0x18c)]();}[_0x5925e0(0x133)](_0x57f9e8,_0x549559){const _0x3e2164=_0x5925e0,_0x1daa74=this[_0x3e2164(0x142)][_0x3e2164(0x14f)](_0x57f9e8);if(!_0x1daa74)return;if(0x0===_0x549559[_0x3e2164(0x14a)])return;const _0x3e872c=[];_0x549559[_0x3e2164(0x18b)]((_0x1dc8da,_0x117911)=>{const _0x17171d=_0x3e2164,_0x4bf5e7=new _0x3dd345(_0x1daa74['id']+'-'+_0x117911,_0x1dc8da,_0x1daa74);_0x4bf5e7['on'](_0x17171d(0x13c),()=>{const _0x254b61=_0x17171d;this[_0x254b61(0x170)](_0x254b61(0x163),{'change':_0x4bf5e7,'status':_0x4bf5e7[_0x254b61(0x17a)]});}),_0x4bf5e7['on'](_0x17171d(0x179),()=>{const _0xfcc946=_0x17171d;_0x4bf5e7[_0xfcc946(0x182)]?this[_0xfcc946(0x170)](_0xfcc946(0x167),{'change':_0x4bf5e7}):this[_0xfcc946(0x170)](_0xfcc946(0x16d),{'change':_0x4bf5e7});}),this[_0x17171d(0x171)][_0x17171d(0x164)](_0x4bf5e7),_0x3e872c[_0x17171d(0x164)](_0x4bf5e7);}),this[_0x3e2164(0x170)](_0x3e2164(0x16b),{'changes':_0x3e872c,'result':_0x1daa74,'source':this});}[_0x5925e0(0x184)](){const _0x39df29=_0x5925e0;this[_0x39df29(0x132)]&&(this[_0x39df29(0x132)][_0x39df29(0x155)][_0x39df29(0x184)](),this[_0x39df29(0x132)]=null,this[_0x39df29(0x17a)]=_0x39df29(0x139));}[_0x5925e0(0x148)](_0x54dbc6){const _0xac6cea=_0x5925e0,_0x4846a7=this[_0xac6cea(0x171)][_0xac6cea(0x165)](_0x266ee0=>_0x266ee0['id']===_0x54dbc6);return!(!_0x4846a7||_0xac6cea(0x15c)!==_0x4846a7[_0xac6cea(0x17a)]);}[_0x5925e0(0x189)](){const _0x633897=_0x5925e0;return this[_0x633897(0x171)][_0x633897(0x181)](_0x4036cb=>!0x0===_0x4036cb[_0x633897(0x182)]);}[_0x5925e0(0x17d)](){const _0x11e4bb=_0x5925e0;return this[_0x11e4bb(0x171)][_0x11e4bb(0x12d)](_0x1dea3d=>_0x11e4bb(0x15c)===_0x1dea3d[_0x11e4bb(0x17a)]);}[_0x5925e0(0x173)](_0x329276){const _0x4ecb9b=_0x5925e0;return this[_0x4ecb9b(0x171)][_0x4ecb9b(0x165)](_0x6e57b3=>_0x6e57b3['id']===_0x329276);}[_0x5925e0(0x17b)](){const _0x56fa60=_0x5925e0;for(const _0x3c85e1 of this[_0x56fa60(0x171)])_0x56fa60(0x15c)===_0x3c85e1[_0x56fa60(0x17a)]&&(_0x3c85e1[_0x56fa60(0x17a)]=_0x56fa60(0x145));this[_0x56fa60(0x156)]();}[_0x5925e0(0x146)](_0x15cb96){const _0x356182=_0x5925e0,_0x564a98=this[_0x356182(0x171)][_0x356182(0x165)](_0x245a9e=>_0x245a9e['id']===_0x15cb96);_0x564a98&&_0x356182(0x15c)===_0x564a98[_0x356182(0x17a)]&&(_0x564a98[_0x356182(0x17a)]=_0x356182(0x145)),this[_0x356182(0x156)]();}[_0x5925e0(0x134)](_0x2f097a){const _0x56b510=_0x5925e0,_0x56aef7=this[_0x56b510(0x171)][_0x56b510(0x165)](_0x3a80cf=>_0x3a80cf['id']===_0x2f097a);_0x56aef7&&_0x56b510(0x15c)===_0x56aef7[_0x56b510(0x17a)]&&(_0x56aef7[_0x56b510(0x17a)]=_0x56b510(0x144)),this[_0x56b510(0x156)]();}[_0x5925e0(0x131)](_0x332998){const _0x5ac2ea=_0x5925e0,_0x3b6b09=this[_0x5ac2ea(0x171)][_0x5ac2ea(0x165)](_0x346024=>_0x346024['id']===_0x332998);_0x3b6b09&&_0x5ac2ea(0x15c)===_0x3b6b09[_0x5ac2ea(0x17a)]&&(_0x3b6b09[_0x5ac2ea(0x17a)]=_0x5ac2ea(0x137)),this[_0x5ac2ea(0x156)]();}[_0x5925e0(0x185)](_0x175705){const _0x398d10=_0x5925e0,_0x2e07c5=this[_0x398d10(0x171)][_0x398d10(0x165)](_0x5d75b3=>_0x5d75b3['id']===_0x175705);_0x2e07c5&&_0x398d10(0x137)===_0x2e07c5[_0x398d10(0x17a)]&&(_0x2e07c5[_0x398d10(0x17a)]=_0x398d10(0x15c)),this[_0x398d10(0x156)]();}[_0x5925e0(0x16e)](_0x2ad23a){const _0x5160a1=_0x5925e0;this[_0x5160a1(0x171)][_0x5160a1(0x12d)](_0x12469f=>_0x12469f[_0x5160a1(0x182)]&&_0x12469f['id']!==_0x2ad23a)[_0x5160a1(0x18b)](_0x4b38ad=>{const _0x5c3e69=_0x5160a1;_0x4b38ad[_0x5c3e69(0x182)]=!0x1;});const _0x50bc4c=this[_0x5160a1(0x171)][_0x5160a1(0x165)](_0x48e86b=>_0x48e86b['id']===_0x2ad23a);_0x50bc4c&&_0x5160a1(0x15c)===_0x50bc4c[_0x5160a1(0x17a)]&&(_0x50bc4c[_0x5160a1(0x182)]=!0x0);}[_0x5925e0(0x143)](){const _0xdf830=_0x5925e0;this[_0xdf830(0x171)][_0xdf830(0x12d)](_0x4f4d7b=>_0x4f4d7b[_0xdf830(0x182)])[_0xdf830(0x18b)](_0x5b5043=>{const _0x2a43f9=_0xdf830;_0x5b5043[_0x2a43f9(0x182)]=!0x1;});}[_0x5925e0(0x169)](){const _0x52d77c=_0x5925e0;this[_0x52d77c(0x17a)]=_0x52d77c(0x135);}async[_0x5925e0(0x186)](_0x18a574){const _0x1a3002=_0x5925e0;if(_0x1a3002(0x12f)===this[_0x1a3002(0x17a)]||_0x1a3002(0x141)===this[_0x1a3002(0x17a)]||_0x1a3002(0x177)===this[_0x1a3002(0x17a)]||this[_0x1a3002(0x15b)])return;if(!this[_0x1a3002(0x16c)]||0x0===this[_0x1a3002(0x171)][_0x1a3002(0x14a)])return;let _0x3e46d6;if(_0x18a574){const _0x5993d8=this[_0x1a3002(0x171)][_0x1a3002(0x165)](_0x4d2623=>_0x4d2623['id']===_0x18a574);if(_0x5993d8&&_0x5993d8[_0x1a3002(0x18d)])return;_0x5993d8&&(_0x3e46d6=_0x5993d8[_0x1a3002(0x168)]['id'],_0x5993d8[_0x1a3002(0x18d)]=!0x0);}const _0x31feba={'positiveCount':this[_0x1a3002(0x171)][_0x1a3002(0x12d)](_0x2ee46e=>_0x1a3002(0x145)===_0x2ee46e[_0x1a3002(0x17a)])[_0x1a3002(0x14a)],'totalCount':this[_0x1a3002(0x171)][_0x1a3002(0x14a)]};this[_0x1a3002(0x15e)](_0x31feba,this[_0x1a3002(0x16c)],_0x3e46d6);}[_0x5925e0(0x18e)](_0x3fd287,_0x389364){const _0x5c69c6=_0x5925e0,_0x3c34f6=this[_0x5c69c6(0x147)][_0x5c69c6(0x130)][_0x5c69c6(0x14f)](_0x3fd287);if(!_0x3c34f6)return;const _0x7b85e0=_0x3c34f6[_0x5c69c6(0x154)]();if(_0x7b85e0===_0x389364)return;const _0x2b12dc=new _0x43f6ca({'id':_0x3fd287,'contentInitial':_0x7b85e0,'contentNew':_0x389364,'documentVersion':this[_0x5c69c6(0x147)][_0x5c69c6(0x180)]});this[_0x5c69c6(0x142)][_0x5c69c6(0x175)](_0x2b12dc['id'],_0x2b12dc),this[_0x5c69c6(0x170)](_0x5c69c6(0x162),{'result':_0x2b12dc,'source':this});}[_0x5925e0(0x156)](){const _0x41a819=_0x5925e0;_0x41a819(0x174)===this[_0x41a819(0x17a)]&&(this[_0x41a819(0x171)][_0x41a819(0x12d)](_0x31ad79=>_0x41a819(0x15c)===_0x31ad79[_0x41a819(0x17a)])[_0x41a819(0x14a)]>0x0&&(this[_0x41a819(0x17a)]=_0x41a819(0x135))),_0x41a819(0x135)===this[_0x41a819(0x17a)]&&(0x0===this[_0x41a819(0x171)][_0x41a819(0x12d)](_0x2f9ef0=>_0x41a819(0x15c)===_0x2f9ef0[_0x41a819(0x17a)])[_0x41a819(0x14a)]&&(this[_0x41a819(0x17a)]=_0x41a819(0x174)));}}
|
|
23
|
+
const _0x1245af=_0x4e88;(function(_0x5c5a1b,_0x5c315b){const _0x15dcdb=_0x4e88,_0x3f39ec=_0x5c5a1b();while(!![]){try{const _0x179606=-parseInt(_0x15dcdb(0x16a))/0x1*(parseInt(_0x15dcdb(0x1b9))/0x2)+parseInt(_0x15dcdb(0x1a6))/0x3+-parseInt(_0x15dcdb(0x1c4))/0x4*(-parseInt(_0x15dcdb(0x19b))/0x5)+parseInt(_0x15dcdb(0x16f))/0x6+-parseInt(_0x15dcdb(0x183))/0x7*(-parseInt(_0x15dcdb(0x1a3))/0x8)+-parseInt(_0x15dcdb(0x1a1))/0x9+parseInt(_0x15dcdb(0x1a5))/0xa;if(_0x179606===_0x5c315b)break;else _0x3f39ec['push'](_0x3f39ec['shift']());}catch(_0x2030b6){_0x3f39ec['push'](_0x3f39ec['shift']());}}}(_0x5680,0xb9b98));function _0x4e88(_0x17aae1,_0x339daf){const _0x5680e5=_0x5680();return _0x4e88=function(_0x4e8896,_0x38ea15){_0x4e8896=_0x4e8896-0x167;let _0x234d7e=_0x5680e5[_0x4e8896];return _0x234d7e;},_0x4e88(_0x17aae1,_0x339daf);}import{ObservableMixin as _0x59a304,uid as _0x13b4c1}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x2b815d}from'./aireviewcheckresult.js';function _0x5680(){const _0x883a42=['_results','some','forEach','change:isActivated','filter','ai-request-aborted','event','every','addResultChanges','finished','reviewCheckResultActivated','markChangeAsRejected','clear','aborted','get','20795JHTxQs','length','accepted','_addReviewCheckResult','processedResultsCount','reviewCheckResultDeactivated','8051985nJxkcI','find','1032Xszoip','_aiConnector','1978100zuJWMf','1404102wvwPgU','loading','abortController','_createApiRequest','reviewCheckRunUpdated','title','pending','unmodified','includes','version','fire','textDelta','deactivateChange','dataId','documentData','error','reviewCheckResultAdded','operation','markChangeAsAccepted','63718wvMNeX','_reviewParams','start','markChangeAsOutdated','markChangeAsPending','getContent','isChangeActive','data','_changes','reviewCheckResultReady','reviewCheckResultChangeStatusUpdated','1048JpqfxC','ready','sendRating','parent','_sourceCheck','change:status','forceReadyState','rejected','markAllChangesAsAccepted','_reviewArgs','_currentError','26tHPOkf','currentError','updateDocumentData','_checkIfFinished','subTitle','840684AWuoXY','elements','status','set','initialized','error-general','hasModifications','outdated','_documentData','activateChange','reviewName','isActivated','abort','getChangeById','message','callId','getActiveChanges','restart','isRated','_sendRatingRequest','31913SWDXAY','review-metadata','_wasAborted','error-chunk','_activeRequest','push','isAnyChangeActivated','size','getStream'];_0x5680=function(){return _0x883a42;};return _0x5680();}import{AIReviewCheckResultChange as _0x23d0df}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x59a304(){['id']=_0x13b4c1();[_0x1245af(0x17e)];[_0x1245af(0x18c)]=new Map();[_0x1245af(0x1c1)]=[];[_0x1245af(0x1c8)];[_0x1245af(0x177)];[_0x1245af(0x1a4)];[_0x1245af(0x1ba)];[_0x1245af(0x168)];[_0x1245af(0x187)]=null;[_0x1245af(0x169)];[_0x1245af(0x185)]=!0x1;constructor(_0xf36878,_0x5395c8,_0x76cfce,_0x20b640,_0x4177df){const _0x254f5e=_0x1245af;super(),this[_0x254f5e(0x1c8)]=_0x5395c8,this[_0x254f5e(0x177)]=_0xf36878,this[_0x254f5e(0x1a4)]=_0x76cfce,this[_0x254f5e(0x1ba)]=_0x20b640,this[_0x254f5e(0x168)]=_0x4177df,this['on'](_0x254f5e(0x1c9),(_0x621cab,_0x1b39d1,_0x3785e8)=>{const _0x505083=_0x254f5e;_0x505083(0x199)==_0x3785e8&&(this[_0x505083(0x185)]=!0x0),this[_0x505083(0x1b0)](_0x505083(0x1aa),{'status':_0x3785e8,'run':this,'error':this[_0x505083(0x169)]});}),this[_0x254f5e(0x172)](_0x254f5e(0x171),_0x254f5e(0x173));}get[_0x1245af(0x1b4)](){const _0x6e8acf=_0x1245af;return this[_0x6e8acf(0x177)];}get[_0x1245af(0x19f)](){const _0x2539ff=_0x1245af;return this[_0x2539ff(0x18c)][_0x2539ff(0x18a)];}get[_0x1245af(0x1ab)](){const _0x2e84cf=_0x1245af;return this[_0x2e84cf(0x1c8)][_0x2e84cf(0x1ab)];}get[_0x1245af(0x16e)](){return'';}get[_0x1245af(0x179)](){const _0x46cb4d=_0x1245af;return this[_0x46cb4d(0x1c8)]['id'];}get[_0x1245af(0x175)](){const _0x530360=_0x1245af;return!this[_0x530360(0x1c1)][_0x530360(0x193)](_0x122acf=>_0x530360(0x1ac)===_0x122acf[_0x530360(0x171)]);}get[_0x1245af(0x16b)](){const _0x974046=_0x1245af;return this[_0x974046(0x169)];}[_0x1245af(0x16c)](_0x432764){const _0x4fa419=_0x1245af;this[_0x4fa419(0x177)]=_0x432764;}async[_0x1245af(0x1bb)](){const _0xb95179=_0x1245af;this[_0xb95179(0x171)]=_0xb95179(0x1a7),this[_0xb95179(0x169)]=void 0x0;try{this[_0xb95179(0x187)]=this[_0xb95179(0x1a9)]();const _0x51691a=await this[_0xb95179(0x187)][_0xb95179(0x18b)]();this[_0xb95179(0x171)]=_0xb95179(0x1c0);for await(const _0x292260 of _0x51691a)_0xb95179(0x1ad)!==_0x292260[_0xb95179(0x1c0)][_0xb95179(0x1b7)]&&(_0xb95179(0x1b5)!==_0x292260[_0xb95179(0x1c0)][_0xb95179(0x1b7)]?_0xb95179(0x184)!==_0x292260[_0xb95179(0x192)]?this[_0xb95179(0x19e)](_0x292260[_0xb95179(0x1c0)][_0xb95179(0x1b3)],_0x292260[_0xb95179(0x1c0)][_0xb95179(0x1b1)]):this[_0xb95179(0x17e)]=_0x292260[_0xb95179(0x1c0)][_0xb95179(0x17e)]:this[_0xb95179(0x171)]=_0xb95179(0x186));_0xb95179(0x186)!==this[_0xb95179(0x171)]&&(0x0===this[_0xb95179(0x18c)][_0xb95179(0x18a)]||0x0===this[_0xb95179(0x1c1)][_0xb95179(0x19c)]?this[_0xb95179(0x171)]=_0xb95179(0x1ad):this[_0xb95179(0x171)]=_0xb95179(0x1c5));}catch(_0x22c28f){this[_0xb95179(0x169)]=_0x22c28f,_0x22c28f instanceof Error&&_0x22c28f[_0xb95179(0x17d)][_0xb95179(0x1ae)](_0xb95179(0x191))?this[_0xb95179(0x171)]=_0xb95179(0x199):this[_0xb95179(0x171)]=_0xb95179(0x174);}finally{this[_0xb95179(0x187)]=null;}}async[_0x1245af(0x180)](){const _0x573523=_0x1245af;this[_0x573523(0x18c)][_0x573523(0x198)](),this[_0x573523(0x1c1)][_0x573523(0x19c)]=0x0,this[_0x573523(0x169)]=void 0x0,await this[_0x573523(0x1bb)]();}[_0x1245af(0x194)](_0x484f87,_0x2d895e){const _0x3341db=_0x1245af,_0x3f8c53=this[_0x3341db(0x18c)][_0x3341db(0x19a)](_0x484f87);if(!_0x3f8c53)return;if(0x0===_0x2d895e[_0x3341db(0x19c)])return;const _0x4347c9=[];_0x2d895e[_0x3341db(0x18e)]((_0x5585cb,_0x1facf8)=>{const _0x11e2b8=_0x3341db,_0x251941=new _0x23d0df(_0x3f8c53['id']+'-'+_0x1facf8,_0x5585cb,_0x3f8c53);_0x251941['on'](_0x11e2b8(0x1c9),()=>{const _0x3c2472=_0x11e2b8;this[_0x3c2472(0x1b0)](_0x3c2472(0x1c3),{'change':_0x251941,'status':_0x251941[_0x3c2472(0x171)]});}),_0x251941['on'](_0x11e2b8(0x18f),()=>{const _0x2dbaa9=_0x11e2b8;_0x251941[_0x2dbaa9(0x17a)]?this[_0x2dbaa9(0x1b0)](_0x2dbaa9(0x196),{'change':_0x251941}):this[_0x2dbaa9(0x1b0)](_0x2dbaa9(0x1a0),{'change':_0x251941});}),this[_0x11e2b8(0x1c1)][_0x11e2b8(0x188)](_0x251941),_0x4347c9[_0x11e2b8(0x188)](_0x251941);}),this[_0x3341db(0x1b0)](_0x3341db(0x1c2),{'changes':_0x4347c9,'result':_0x3f8c53,'source':this});}[_0x1245af(0x17b)](){const _0x2b2486=_0x1245af;this[_0x2b2486(0x187)]&&(this[_0x2b2486(0x187)][_0x2b2486(0x1a8)][_0x2b2486(0x17b)](),this[_0x2b2486(0x187)]=null,this[_0x2b2486(0x171)]=_0x2b2486(0x199));}[_0x1245af(0x1bf)](_0x3e77c2){const _0x35559c=_0x1245af,_0x102404=this[_0x35559c(0x1c1)][_0x35559c(0x1a2)](_0x4c277c=>_0x4c277c['id']===_0x3e77c2);return!(!_0x102404||_0x35559c(0x1ac)!==_0x102404[_0x35559c(0x171)]);}[_0x1245af(0x189)](){const _0x4f6ee1=_0x1245af;return this[_0x4f6ee1(0x1c1)][_0x4f6ee1(0x18d)](_0x178247=>!0x0===_0x178247[_0x4f6ee1(0x17a)]);}[_0x1245af(0x17f)](){const _0x48f31c=_0x1245af;return this[_0x48f31c(0x1c1)][_0x48f31c(0x190)](_0x1eb3be=>_0x48f31c(0x1ac)===_0x1eb3be[_0x48f31c(0x171)]);}[_0x1245af(0x17c)](_0x1ff65d){const _0x54c412=_0x1245af;return this[_0x54c412(0x1c1)][_0x54c412(0x1a2)](_0x11e795=>_0x11e795['id']===_0x1ff65d);}[_0x1245af(0x167)](){const _0xe1ca90=_0x1245af;for(const _0x42e899 of this[_0xe1ca90(0x1c1)])_0xe1ca90(0x1ac)===_0x42e899[_0xe1ca90(0x171)]&&(_0x42e899[_0xe1ca90(0x171)]=_0xe1ca90(0x19d));this[_0xe1ca90(0x16d)]();}[_0x1245af(0x1b8)](_0x1f0dd3){const _0x319e2a=_0x1245af,_0x38beaf=this[_0x319e2a(0x1c1)][_0x319e2a(0x1a2)](_0x491d71=>_0x491d71['id']===_0x1f0dd3);_0x38beaf&&_0x319e2a(0x1ac)===_0x38beaf[_0x319e2a(0x171)]&&(_0x38beaf[_0x319e2a(0x171)]=_0x319e2a(0x19d)),this[_0x319e2a(0x16d)]();}[_0x1245af(0x197)](_0x1f55d2){const _0x2f4aab=_0x1245af,_0x304860=this[_0x2f4aab(0x1c1)][_0x2f4aab(0x1a2)](_0x145f97=>_0x145f97['id']===_0x1f55d2);_0x304860&&_0x2f4aab(0x1ac)===_0x304860[_0x2f4aab(0x171)]&&(_0x304860[_0x2f4aab(0x171)]=_0x2f4aab(0x1cb)),this[_0x2f4aab(0x16d)]();}[_0x1245af(0x1bc)](_0x5d2109){const _0xb0972c=_0x1245af,_0x185e51=this[_0xb0972c(0x1c1)][_0xb0972c(0x1a2)](_0x24acfb=>_0x24acfb['id']===_0x5d2109);_0x185e51&&_0xb0972c(0x1ac)===_0x185e51[_0xb0972c(0x171)]&&(_0x185e51[_0xb0972c(0x171)]=_0xb0972c(0x176)),this[_0xb0972c(0x16d)]();}[_0x1245af(0x1bd)](_0x2a3b33){const _0x41af74=_0x1245af,_0x372d71=this[_0x41af74(0x1c1)][_0x41af74(0x1a2)](_0x595f2e=>_0x595f2e['id']===_0x2a3b33);_0x372d71&&_0x41af74(0x176)===_0x372d71[_0x41af74(0x171)]&&(_0x372d71[_0x41af74(0x171)]=_0x41af74(0x1ac)),this[_0x41af74(0x16d)]();}[_0x1245af(0x178)](_0x27a29a){const _0x498d2c=_0x1245af;this[_0x498d2c(0x1c1)][_0x498d2c(0x190)](_0x2fad06=>_0x2fad06[_0x498d2c(0x17a)]&&_0x2fad06['id']!==_0x27a29a)[_0x498d2c(0x18e)](_0x3a378b=>{const _0x1ba3fb=_0x498d2c;_0x3a378b[_0x1ba3fb(0x17a)]=!0x1;});const _0x5f50b3=this[_0x498d2c(0x1c1)][_0x498d2c(0x1a2)](_0x57571c=>_0x57571c['id']===_0x27a29a);_0x5f50b3&&_0x498d2c(0x1ac)===_0x5f50b3[_0x498d2c(0x171)]&&(_0x5f50b3[_0x498d2c(0x17a)]=!0x0);}[_0x1245af(0x1b2)](){const _0x69cdd3=_0x1245af;this[_0x69cdd3(0x1c1)][_0x69cdd3(0x190)](_0x1a39e7=>_0x1a39e7[_0x69cdd3(0x17a)])[_0x69cdd3(0x18e)](_0x5c33d3=>{const _0x22d674=_0x69cdd3;_0x5c33d3[_0x22d674(0x17a)]=!0x1;});}[_0x1245af(0x1ca)](){const _0xbdd1f=_0x1245af;this[_0xbdd1f(0x171)]=_0xbdd1f(0x1c5);}async[_0x1245af(0x1c6)](_0x33cc5a){const _0x1323cf=_0x1245af;if(_0x1323cf(0x173)===this[_0x1323cf(0x171)]||_0x1323cf(0x1a7)===this[_0x1323cf(0x171)]||_0x1323cf(0x1c0)===this[_0x1323cf(0x171)]||this[_0x1323cf(0x185)])return;if(!this[_0x1323cf(0x17e)]||0x0===this[_0x1323cf(0x1c1)][_0x1323cf(0x19c)])return;let _0x310d74;if(_0x33cc5a){const _0x53128b=this[_0x1323cf(0x1c1)][_0x1323cf(0x1a2)](_0x3da09c=>_0x3da09c['id']===_0x33cc5a);if(_0x53128b&&_0x53128b[_0x1323cf(0x181)])return;_0x53128b&&(_0x310d74=_0x53128b[_0x1323cf(0x1c7)]['id'],_0x53128b[_0x1323cf(0x181)]=!0x0);}const _0x484888={'positiveCount':this[_0x1323cf(0x1c1)][_0x1323cf(0x190)](_0x29e732=>_0x1323cf(0x19d)===_0x29e732[_0x1323cf(0x171)])[_0x1323cf(0x19c)],'totalCount':this[_0x1323cf(0x1c1)][_0x1323cf(0x19c)]};this[_0x1323cf(0x182)](_0x484888,this[_0x1323cf(0x17e)],_0x310d74);}[_0x1245af(0x19e)](_0x1814c3,_0x186631){const _0x30a1b3=_0x1245af,_0x252003=this[_0x30a1b3(0x177)][_0x30a1b3(0x170)][_0x30a1b3(0x19a)](_0x1814c3);if(!_0x252003)return;const _0x5d8931=_0x252003[_0x30a1b3(0x1be)]();if(_0x5d8931===_0x186631)return;const _0x19b5a6=new _0x2b815d({'id':_0x1814c3,'contentInitial':_0x5d8931,'contentNew':_0x186631,'documentVersion':this[_0x30a1b3(0x177)][_0x30a1b3(0x1af)]});this[_0x30a1b3(0x18c)][_0x30a1b3(0x172)](_0x19b5a6['id'],_0x19b5a6),this[_0x30a1b3(0x1b0)](_0x30a1b3(0x1b6),{'result':_0x19b5a6,'source':this});}[_0x1245af(0x16d)](){const _0x1f25f8=_0x1245af;_0x1f25f8(0x195)===this[_0x1f25f8(0x171)]&&(this[_0x1f25f8(0x1c1)][_0x1f25f8(0x190)](_0xe1414f=>_0x1f25f8(0x1ac)===_0xe1414f[_0x1f25f8(0x171)])[_0x1f25f8(0x19c)]>0x0&&(this[_0x1f25f8(0x171)]=_0x1f25f8(0x1c5))),_0x1f25f8(0x1c5)===this[_0x1f25f8(0x171)]&&(0x0===this[_0x1f25f8(0x1c1)][_0x1f25f8(0x190)](_0x102dea=>_0x1f25f8(0x1ac)===_0x102dea[_0x1f25f8(0x171)])[_0x1f25f8(0x19c)]&&(this[_0x1f25f8(0x171)]=_0x1f25f8(0x195)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x46add6=_0x5071;function _0x535d(){const _0x24d694=['_aiConnector','45201hGvJXo','2325522wGACYl','subTitle','find','_composeReviewName','_documentData','length','4pgTDYQ','_createApiRequest','2903992pvhQSb','content','1071801VUEuRb','upsertAIReviewRating','join','push','callSystemReview','121091WXhbFT','8wwHnZc','reviewName','apiId','_sendRatingRequest','250220UhFCZO','12560280tSaErg','options','data','_reviewParams','label','20eoLsGp','_reviewArgs','useArgs','_sourceCheck'];_0x535d=function(){return _0x24d694;};return _0x535d();}(function(_0xd87fa1,_0x54e4ea){const _0x1ac218=_0x5071,_0x596054=_0xd87fa1();while(!![]){try{const _0x308f63=parseInt(_0x1ac218(0x181))/0x1+parseInt(_0x1ac218(0x16c))/0x2*(-parseInt(_0x1ac218(0x171))/0x3)+parseInt(_0x1ac218(0x178))/0x4*(parseInt(_0x1ac218(0x186))/0x5)+-parseInt(_0x1ac218(0x172))/0x6+-parseInt(_0x1ac218(0x17a))/0x7+-parseInt(_0x1ac218(0x182))/0x8*(parseInt(_0x1ac218(0x17c))/0x9)+parseInt(_0x1ac218(0x187))/0xa;if(_0x308f63===_0x54e4ea)break;else _0x596054['push'](_0x596054['shift']());}catch(_0x210a3c){_0x596054['push'](_0x596054['shift']());}}}(_0x535d,0x56a91));function _0x5071(_0x21860f,_0x2e66c9){const _0x535d93=_0x535d();return _0x5071=function(_0x507157,_0x4a0c4b){_0x507157=_0x507157-0x168;let _0x590d07=_0x535d93[_0x507157];return _0x590d07;},_0x5071(_0x21860f,_0x2e66c9);}import{AIReviewCheckRun as _0x3368f7}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0x3368f7{get[_0x46add6(0x173)](){const _0x56e296=_0x46add6;if(!this[_0x56e296(0x16a)]||0x0===this[_0x56e296(0x16a)][_0x56e296(0x177)])return'';const _0x4804f6=[];if(this[_0x56e296(0x16a)][_0x56e296(0x177)]>0x0&&this[_0x56e296(0x16f)][_0x56e296(0x168)])for(let _0x164c1c=0x0;_0x164c1c<this[_0x56e296(0x16a)][_0x56e296(0x177)];_0x164c1c++){if(!this[_0x56e296(0x16a)][_0x164c1c]||!this[_0x56e296(0x16f)][_0x56e296(0x168)][_0x164c1c])continue;const _0x46d5fb=this[_0x56e296(0x16f)][_0x56e296(0x168)][_0x164c1c],_0x5c086a=_0x46d5fb[_0x56e296(0x169)]?.[_0x56e296(0x174)](_0x28bbcd=>_0x28bbcd['id']===this[_0x56e296(0x16a)][_0x164c1c]);_0x5c086a&&_0x4804f6[_0x56e296(0x17f)](_0x5c086a[_0x56e296(0x16b)]);}return _0x4804f6[_0x56e296(0x17e)](',\x20');}get[_0x46add6(0x183)](){const _0x59b3fe=_0x46add6;return this[_0x59b3fe(0x175)]();}[_0x46add6(0x179)](){const _0x1a84c1=_0x46add6;return this[_0x1a84c1(0x170)][_0x1a84c1(0x180)]({'reviewName':this[_0x1a84c1(0x175)](),'content':this[_0x1a84c1(0x176)][_0x1a84c1(0x17b)],'args':this[_0x1a84c1(0x16d)]});}[_0x46add6(0x185)](_0x4bcc6a,_0x555c85,_0x3aff66){const _0x1b28da=_0x46add6;return this[_0x1b28da(0x170)][_0x1b28da(0x17d)](this[_0x1b28da(0x183)],_0x555c85,_0x4bcc6a,_0x3aff66);}[_0x46add6(0x175)](){const _0x13d84c=_0x46add6;return!this[_0x13d84c(0x16a)]||0x0===this[_0x13d84c(0x16a)][_0x13d84c(0x177)]||this[_0x13d84c(0x16f)][_0x13d84c(0x16e)]?this[_0x13d84c(0x16f)][_0x13d84c(0x184)]:[this[_0x13d84c(0x16f)][_0x13d84c(0x184)],...this[_0x13d84c(0x16a)]][_0x13d84c(0x17e)]('-');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3d098e=_0x4a73;(function(_0x32b805,_0x568708){const _0xf4331f=_0x4a73,_0x401032=_0x32b805();while(!![]){try{const _0x4a625e=-parseInt(_0xf4331f(0x111))/0x1*(-parseInt(_0xf4331f(0x11c))/0x2)+parseInt(_0xf4331f(0xf8))/0x3+parseInt(_0xf4331f(0xdb))/0x4*(parseInt(_0xf4331f(0xe5))/0x5)+-parseInt(_0xf4331f(0xea))/0x6*(-parseInt(_0xf4331f(0x101))/0x7)+parseInt(_0xf4331f(0xf0))/0x8+-parseInt(_0xf4331f(0xee))/0x9+-parseInt(_0xf4331f(0xfc))/0xa;if(_0x4a625e===_0x568708)break;else _0x401032['push'](_0x401032['shift']());}catch(_0x48890b){_0x401032['push'](_0x401032['shift']());}}}(_0x1199,0xaadc9));import{Rect as _0x3adf9c,getConstrainedViewportRect as _0x477307}from'ckeditor5/src/utils.js';function _0x4a73(_0x459fd4,_0x432281){const _0x1199d7=_0x1199();return _0x4a73=function(_0x4a73a9,_0x1eb138){_0x4a73a9=_0x4a73a9-0xd1;let _0x463a92=_0x1199d7[_0x4a73a9];return _0x463a92;},_0x4a73(_0x459fd4,_0x432281);}import{BalloonPanelView as _0x1c665c,View as _0x10295d,clickOutsideHandler as _0x4d1617}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x4877b1}from'./aireviewcorechecklistitemresultview.js';function _0x1199(){const _0x2ab62f=['_getPointedRectIndexFromEvent','3839328UPdaHK','resultItemView','showDiff','hideBalloon','arrow_se','length','_pinnedTargetElement','bindTemplate','2168058hoCzrU','documentElement','_pinnedTargetChangeId','click','3641070xMjEeL','arrow_','replace','bottom','showDiffInBalloon','21DGgucw','_getBestRectPositionOnClick','_pinnedRectIndex','fire','setTemplate','top','delegate','render','add','changeId','_setupClickOutsideHandler','deactivateChange','ck-ai_review-balloon-panel-suggestion_diff-active','ck-ai_review__suggestion-text','getClientRects','isVisible','1jbrsdC','content','div','pin','extendTemplate','right','reverse','_createContentView','set','locale','push','381818avphWq','balloon','showBalloon','getBoundingClientRect','innerHTML','show','resultResponseView','_getBestRectPositionOnHover','left','ck-reset','position','element','from','hover','4ZDvRDw','ck-ai_review-balloon-panel-suggestion','dismissChange','isDiffActive','updateContent','forEach','clientX','clientY','hide','acceptChange','1867565sMuGJO','getIntersection','hideDiffInBalloon','ck-content','unpin','188322qVzQAE','_isPinnedRectVisible','contentDiffed','width','7175061tqCgKA'];_0x1199=function(){return _0x2ab62f;};return _0x1199();}import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreBalloonSuggestionItemView extends _0x1c665c{[_0x3d098e(0xf1)];[_0x3d098e(0x103)]=void 0x0;[_0x3d098e(0xf6)]=void 0x0;[_0x3d098e(0xfa)]=void 0x0;constructor(_0x2c11f6,_0x336630){const _0x898ba4=_0x3d098e;super(_0x2c11f6),this[_0x898ba4(0x119)]({'isVisible':!0x1,'position':_0x898ba4(0xf4),'class':null,'top':0x0,'left':0x0}),this[_0x898ba4(0x115)]({'tag':_0x898ba4(0x113),'attributes':{'class':[_0x898ba4(0xd6)],'tabindex':'-1'}}),this[_0x898ba4(0x119)](_0x898ba4(0xde),!0x1),this[_0x898ba4(0x112)][_0x898ba4(0x109)](this[_0x898ba4(0x118)]()),_0x336630[_0x898ba4(0x109)](this);}[_0x3d098e(0x108)](){const _0x441e9d=_0x3d098e;super[_0x441e9d(0x108)](),this[_0x441e9d(0x10b)]();}[_0x3d098e(0xdf)](_0x4f8232){const _0x4790d6=_0x3d098e;this[_0x4790d6(0xf1)][_0x4790d6(0x10a)]=_0x4f8232['id'],this[_0x4790d6(0xf1)][_0x4790d6(0xd3)][_0x4790d6(0xd8)][_0x4790d6(0xd1)]=_0x4f8232[_0x4790d6(0xec)];}[_0x3d098e(0x11e)](_0x5483a8,_0x43f95d,_0x2a5f68,_0x2cbb25,_0x28616,_0x219557){const _0x17ee16=_0x3d098e,_0x21d592=_0x43f95d();if(!_0x21d592)return;this[_0x17ee16(0xdf)](_0x5483a8),this[_0x17ee16(0xd2)]();const _0x46149d=Array[_0x17ee16(0xd9)](_0x21d592[_0x17ee16(0x10f)]())[_0x17ee16(0x117)](),_0x1ece1c=this[_0x17ee16(0xef)](_0x2a5f68,_0x46149d),_0x1185cc=_0x46149d[_0x1ece1c??0x0];_0x17ee16(0xfb)===_0x2cbb25?(this[_0x17ee16(0xde)]=!0x0,this[_0x17ee16(0x114)]({'target':()=>this[_0x17ee16(0x102)](_0x43f95d(),_0x1ece1c,_0x5483a8['id'],_0x28616,_0x219557)||_0x1185cc})):_0x17ee16(0xda)===_0x2cbb25&&(this[_0x17ee16(0xde)]=!0x1,this[_0x17ee16(0x114)]({'target':()=>this[_0x17ee16(0xd4)](_0x43f95d(),_0x1ece1c,_0x5483a8['id'])||_0x1185cc}));}[_0x3d098e(0xf3)](){const _0x80ea4b=_0x3d098e;this[_0x80ea4b(0xe3)](),this[_0x80ea4b(0xe9)](),this[_0x80ea4b(0x103)]=void 0x0,this[_0x80ea4b(0xf6)]=void 0x0,this[_0x80ea4b(0xfa)]=void 0x0;}[_0x3d098e(0xe7)](){const _0x39a343=_0x3d098e;this[_0x39a343(0xf1)][_0x39a343(0xf2)]=!0x1;}[_0x3d098e(0x100)](){const _0x3dfac3=_0x3d098e;this[_0x3dfac3(0xf1)][_0x3dfac3(0xf2)]=!0x0;}[_0x3d098e(0x10c)](){const _0x76cf5a=_0x3d098e;this[_0x76cf5a(0x104)](_0x76cf5a(0x10c),{'origin':_0x76cf5a(0x11d)});}[_0x3d098e(0x10b)](){const _0x648d3e=_0x3d098e;_0x4d1617({'emitter':this,'activator':()=>this[_0x648d3e(0x110)],'contextElements':()=>{const _0x3771d1=_0x648d3e,_0x1f8e71=[this[_0x3771d1(0xd8)]];return this[_0x3771d1(0xf6)]&&_0x1f8e71[_0x3771d1(0x11b)](this[_0x3771d1(0xf6)]),_0x1f8e71;},'callback':()=>{const _0x5f9651=_0x648d3e;this[_0x5f9651(0xe3)](),this[_0x5f9651(0xe9)](),this[_0x5f9651(0x10c)](),this[_0x5f9651(0xf6)]=void 0x0,this[_0x5f9651(0x103)]=void 0x0,this[_0x5f9651(0xfa)]=void 0x0;}});}[_0x3d098e(0x118)](){const _0x5b6643=_0x3d098e,_0x5a47a2=new _0x10295d();return this[_0x5b6643(0xf1)]=new _0x4877b1(this[_0x5b6643(0x11a)],''),this[_0x5b6643(0xf1)][_0x5b6643(0xd3)][_0x5b6643(0x115)]({'attributes':{'class':[_0x5b6643(0xe8)]}}),this[_0x5b6643(0xf1)][_0x5b6643(0x107)](_0x5b6643(0xe4),_0x5b6643(0xdd))['to'](this),_0x5a47a2[_0x5b6643(0x105)]({'tag':_0x5b6643(0x113),'attributes':{'class':[_0x5b6643(0xd6),_0x5b6643(0xdc),this[_0x5b6643(0xf7)]['if'](_0x5b6643(0xde),_0x5b6643(0x10d))]},'children':[{'tag':'p','attributes':{'class':[_0x5b6643(0x10e)]},'children':[this[_0x5b6643(0xf1)]]}]}),_0x5a47a2;}[_0x3d098e(0x102)](_0x1c91c6,_0x1f5138,_0x2c2418,_0x4dc0b7,_0x24bd7f){const _0xc05aa2=_0x3d098e;if(!_0x1c91c6)return null;const _0x2afe8d=this[_0xc05aa2(0xd7)][_0xc05aa2(0xfe)](_0xc05aa2(0xfd),''),_0x5cbbdb=Array[_0xc05aa2(0xd9)](_0x1c91c6[_0xc05aa2(0x10f)]());let _0x3d3b25,_0x41b57a=_0x5cbbdb[_0xc05aa2(0x117)]();return void 0x0!==_0x1f5138&&this[_0xc05aa2(0xeb)](_0x41b57a[_0x1f5138],_0x4dc0b7,_0x24bd7f)?(_0x3d3b25=_0x41b57a[_0x1f5138],this[_0xc05aa2(0x103)]=_0x1f5138):this[_0xc05aa2(0xeb)](_0x41b57a[0x0],_0x4dc0b7,_0x24bd7f)&&void 0x0===_0x1f5138?_0x3d3b25=_0x41b57a[0x0]:(_0x41b57a='s'==_0x2afe8d[0x0]?[..._0x5cbbdb][_0xc05aa2(0x117)]():_0x5cbbdb,_0x41b57a[_0xc05aa2(0xe0)](_0x2d7a15=>{const _0x171fb6=_0xc05aa2;this[_0x171fb6(0xeb)](_0x2d7a15,_0x4dc0b7,_0x24bd7f)&&(_0x3d3b25=_0x2d7a15);})),this[_0xc05aa2(0xfa)]=_0x2c2418,this[_0xc05aa2(0xf6)]=_0x1c91c6,_0x3d3b25||_0x1c91c6[_0xc05aa2(0x11f)]();}[_0x3d098e(0xd4)](_0x24b97d,_0x1de9ee,_0x34f402){const _0x432163=_0x3d098e;if(!_0x24b97d)return null;const _0x381bda=Array[_0x432163(0xd9)](_0x24b97d[_0x432163(0x10f)]())[_0x432163(0x117)]();if(void 0x0===this[_0x432163(0x103)]&&void 0x0!==_0x1de9ee&&this[_0x432163(0xfa)]!==_0x34f402)return this[_0x432163(0x103)]=_0x1de9ee,this[_0x432163(0xf6)]=_0x24b97d,this[_0x432163(0xfa)]=_0x34f402,_0x381bda[_0x1de9ee];if(void 0x0!==this[_0x432163(0x103)]&&this[_0x432163(0xfa)]===_0x34f402){if(_0x24b97d!==this[_0x432163(0xf6)])return Array[_0x432163(0xd9)](this[_0x432163(0xf6)][_0x432163(0x10f)]())[_0x432163(0x117)]()[this[_0x432163(0x103)]];return _0x381bda[this[_0x432163(0x103)]];}return void 0x0!==_0x1de9ee&&this[_0x432163(0xfa)]!==_0x34f402?(this[_0x432163(0x103)]=_0x1de9ee,this[_0x432163(0xf6)]=_0x24b97d,this[_0x432163(0xfa)]=_0x34f402,_0x381bda[_0x1de9ee]):_0x24b97d[_0x432163(0x11f)]();}[_0x3d098e(0xef)](_0xffab2d,_0x127b8b){const _0x4a21ba=_0x3d098e;if(_0xffab2d)for(let _0x409edc=0x0;_0x409edc<_0x127b8b[_0x4a21ba(0xf5)];_0x409edc++){const _0x7496f3=_0x127b8b[_0x409edc];if(_0xffab2d[_0x4a21ba(0xe1)]>=_0x7496f3[_0x4a21ba(0xd5)]-0x3&&_0xffab2d[_0x4a21ba(0xe1)]<=_0x7496f3[_0x4a21ba(0x116)]+0x3&&_0xffab2d[_0x4a21ba(0xe2)]>=_0x7496f3[_0x4a21ba(0x106)]-0x3&&_0xffab2d[_0x4a21ba(0xe2)]<=_0x7496f3[_0x4a21ba(0xff)]+0x3)return _0x409edc;}}[_0x3d098e(0xeb)](_0x1853f7,_0x30c47a,_0x38a11d){const _0x19c063=_0x3d098e,_0x5aa0b7=new _0x3adf9c(_0x1853f7),_0x4d3abc=_0x30c47a||document[_0x19c063(0xf9)],_0x22ff3f=_0x5aa0b7[_0x19c063(0xe6)](_0x477307(_0x38a11d)),_0x597f43=new _0x3adf9c(_0x4d3abc)[_0x19c063(0xe6)](_0x5aa0b7);return!!(_0x22ff3f&&_0x597f43&&_0x5aa0b7[_0x19c063(0xed)]>0x0);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x318659=_0x1a6c;(function(_0x3a5a03,_0xa12c83){const _0x194a9e=_0x1a6c,_0x44102f=_0x3a5a03();while(!![]){try{const _0x5d942a=parseInt(_0x194a9e(0x147))/0x1+parseInt(_0x194a9e(0x14a))/0x2+parseInt(_0x194a9e(0x172))/0x3*(parseInt(_0x194a9e(0x164))/0x4)+-parseInt(_0x194a9e(0x18e))/0x5+parseInt(_0x194a9e(0x14c))/0x6*(parseInt(_0x194a9e(0x189))/0x7)+parseInt(_0x194a9e(0x181))/0x8*(-parseInt(_0x194a9e(0x16e))/0x9)+-parseInt(_0x194a9e(0x151))/0xa;if(_0x5d942a===_0xa12c83)break;else _0x44102f['push'](_0x44102f['shift']());}catch(_0x40535e){_0x44102f['push'](_0x44102f['shift']());}}}(_0x303c,0x9b78f));function _0x1a6c(_0x463ce9,_0x2c3ab3){const _0x303c19=_0x303c();return _0x1a6c=function(_0x1a6c9b,_0x15426e){_0x1a6c9b=_0x1a6c9b-0x13f;let _0x2c8534=_0x303c19[_0x1a6c9b];return _0x2c8534;},_0x1a6c(_0x463ce9,_0x2c3ab3);}function _0x303c(){const _0x42de35=['changeId','outdated','deactivateChange','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','menuitemcheckbox','AI_REVIEW_MODE_ACCEPT_CHANGE','isEnabled','pending','infoButtonView','ck-ai_review__check-run-result-accept-button','target','_createOutdatedButtonView','2800020FUShcg','ck-ai_review__check-run-result-action-buttons','disabled','ck-ai_review__check-run-result-status-button','bind','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','ck-ai-button-tertiary','stopPropagation','mouseover','change:status','3569418CIjOlf','ck-ai-button-secondary','_createDismissButtonView','AI_REVIEW_MODE_DISMISS_CHANGE','3dgLKAs','showDiff','execute','resultResponseView','setItemAsActive','ck-reset_all-excluded','setTemplate','ck-content','fire','bindTemplate','ck-ai_review__check-run-result-footer','panel','dismissChange','activateChange','extendTemplate','8OXRyJY','rejected','ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','icon','ck-ai_review__check-run-result-dismiss-button','accepted','AI_REVIEW_MODE_LEARN_MORE','7uMFTCp','setItemAsInactive','acceptChange','isActive','ck-ai_review__check-run-result_active','2228745VadyRI','status','_createInfoButtonView','acceptButtonView','set','ck-ai_review__check-run-result-response','isInfoToggleOn','hover','ck-hidden','516892RmhzWQ','isOn','ck-ai_review__check-run-result','1098670AyQTXv','outdatedButtonView','5979984JUYqos','_createAcceptButtonView','tagName','label','locale','12837300YvWqSk','_createResultResponseView','div','dismissButtonView','preventDefault','click','mouseout'];_0x303c=function(){return _0x42de35;};return _0x303c();}import{View as _0x537421,ButtonView as _0x313dc0}from'ckeditor5/src/ui.js';import{IconInfo as _0x20b20b,IconCheck as _0x2d6530,IconCancel as _0x53f029,IconOutdated as _0x3d5c60}from'ckeditor5/src/icons.js';import{getTranslation as _0x1fd10a}from'../../aicore/utils/common-translations.js';export class AIReviewCoreReviewCheckListItemResultsView extends _0x537421{[_0x318659(0x175)];[_0x318659(0x141)];[_0x318659(0x154)];[_0x318659(0x160)];[_0x318659(0x14b)];constructor(_0x387435,_0x7b479d){const _0x4ab17e=_0x318659;super(_0x387435),this['id']=_0x7b479d,this[_0x4ab17e(0x142)](_0x4ab17e(0x13f),_0x4ab17e(0x15f)),this[_0x4ab17e(0x142)](_0x4ab17e(0x158),_0x7b479d),this[_0x4ab17e(0x175)]=this[_0x4ab17e(0x152)](),this[_0x4ab17e(0x141)]=this[_0x4ab17e(0x14d)](),this[_0x4ab17e(0x154)]=this[_0x4ab17e(0x170)](),this[_0x4ab17e(0x160)]=this[_0x4ab17e(0x140)](),this[_0x4ab17e(0x14b)]=this[_0x4ab17e(0x163)](),this[_0x4ab17e(0x142)](_0x4ab17e(0x144),!0x1),this[_0x4ab17e(0x142)](_0x4ab17e(0x18c),!0x1),this[_0x4ab17e(0x142)](_0x4ab17e(0x173),!0x0),this[_0x4ab17e(0x178)]({'tag':_0x4ab17e(0x153),'attributes':{'class':[_0x4ab17e(0x149),this[_0x4ab17e(0x17b)]['if'](_0x4ab17e(0x18c),_0x4ab17e(0x18d))]},'on':{'click':this[_0x4ab17e(0x17b)]['to'](_0x4ab17e(0x156)),'mouseover':this[_0x4ab17e(0x17b)]['to'](_0x4ab17e(0x16c)),'mouseout':this[_0x4ab17e(0x17b)]['to'](_0x4ab17e(0x157))},'children':[this[_0x4ab17e(0x175)],{'tag':_0x4ab17e(0x153),'attributes':{'class':[_0x4ab17e(0x17c)]},'children':[{'tag':_0x4ab17e(0x153),'attributes':{'class':[_0x4ab17e(0x165)]},'children':[this[_0x4ab17e(0x141)],this[_0x4ab17e(0x154)],this[_0x4ab17e(0x14b)]]},this[_0x4ab17e(0x160)]]}]}),this['on'](_0x4ab17e(0x156),(_0xde8ad9,_0x32660b)=>{const _0x27b21a=_0x4ab17e;_0x32660b&&_0x32660b[_0x27b21a(0x162)]&&'A'===_0x32660b[_0x27b21a(0x162)][_0x27b21a(0x14e)]&&_0x32660b[_0x27b21a(0x155)](),this[_0x27b21a(0x17a)](_0x27b21a(0x17f),{'id':_0x7b479d,'source':this,'uiInteraction':_0x27b21a(0x156)});}),this['on'](_0x4ab17e(0x16c),()=>{const _0x38a3dd=_0x4ab17e;this[_0x38a3dd(0x17a)](_0x38a3dd(0x17f),{'id':_0x7b479d,'source':this,'uiInteraction':_0x38a3dd(0x145)});}),this['on'](_0x4ab17e(0x157),()=>{const _0x325e81=_0x4ab17e;this[_0x325e81(0x17a)](_0x325e81(0x15a),{'origin':_0x325e81(0x17d),'id':_0x7b479d,'source':this});});}[_0x318659(0x176)](){const _0xe6244d=_0x318659;this[_0xe6244d(0x18c)]=!0x0;}[_0x318659(0x18a)](){const _0x350e20=_0x318659;this[_0x350e20(0x18c)]=!0x1;}[_0x318659(0x152)](){const _0x3514f2=_0x318659,_0x45dd1a=new _0x537421(this[_0x3514f2(0x150)]);return _0x45dd1a[_0x3514f2(0x178)]({'tag':_0x3514f2(0x153),'attributes':{'class':['ck',_0x3514f2(0x179),_0x3514f2(0x177),_0x3514f2(0x143),this[_0x3514f2(0x17b)]['if'](_0x3514f2(0x173),_0x3514f2(0x146),_0x4f34d8=>!_0x4f34d8)]}}),_0x45dd1a;}[_0x318659(0x14d)](){const _0x52584d=_0x318659,_0x3b2890=new _0x313dc0(this[_0x52584d(0x150)]);return _0x3b2890[_0x52584d(0x142)]({'label':_0x1fd10a(this[_0x52584d(0x150)],_0x52584d(0x15d)),'withText':!0x0}),_0x3b2890[_0x52584d(0x180)]({'on':{'click':this[_0x52584d(0x17b)]['to'](_0x4c5b7b=>{const _0x45dd01=_0x52584d;this[_0x45dd01(0x17a)](_0x45dd01(0x18b),{'id':this[_0x45dd01(0x158)]}),_0x4c5b7b[_0x45dd01(0x16b)]();})},'attributes':{'class':[_0x52584d(0x16f),_0x52584d(0x161),this[_0x52584d(0x17b)]['if'](_0x52584d(0x13f),_0x52584d(0x146),_0x372b1d=>_0x52584d(0x15f)!==_0x372b1d&&_0x52584d(0x187)!==_0x372b1d),this[_0x52584d(0x17b)]['if'](_0x52584d(0x13f),_0x52584d(0x161),_0x3b0ae5=>_0x52584d(0x15f)===_0x3b0ae5),this[_0x52584d(0x17b)]['if'](_0x52584d(0x13f),_0x52584d(0x167),_0x4479e2=>_0x52584d(0x187)===_0x4479e2)]}}),this['on'](_0x52584d(0x16d),(_0x30e2bf,_0x27b622,_0x490eba)=>{const _0x3bc106=_0x52584d;_0x3b2890[_0x3bc106(0x15e)]=_0x3bc106(0x15f)===_0x490eba,_0x3bc106(0x187)===_0x490eba&&(_0x3b2890[_0x3bc106(0x14f)]=_0x1fd10a(this[_0x3bc106(0x150)],_0x3bc106(0x169)),_0x3b2890[_0x3bc106(0x185)]=_0x2d6530);}),_0x3b2890;}[_0x318659(0x170)](){const _0x3efb50=_0x318659,_0xe1ab0e=new _0x313dc0(this[_0x3efb50(0x150)]);return _0xe1ab0e[_0x3efb50(0x142)]({'label':_0x1fd10a(this[_0x3efb50(0x150)],_0x3efb50(0x171)),'withText':!0x0}),_0xe1ab0e[_0x3efb50(0x180)]({'on':{'click':this[_0x3efb50(0x17b)]['to'](_0x540b73=>{const _0x1b650d=_0x3efb50;this[_0x1b650d(0x17a)](_0x1b650d(0x17e),{'id':this[_0x1b650d(0x158)]}),_0x540b73[_0x1b650d(0x16b)]();})},'attributes':{'class':[_0x3efb50(0x16a),this[_0x3efb50(0x17b)]['if'](_0x3efb50(0x13f),_0x3efb50(0x146),_0x5b8676=>_0x3efb50(0x15f)!==_0x5b8676&&_0x3efb50(0x182)!==_0x5b8676),this[_0x3efb50(0x17b)]['if'](_0x3efb50(0x13f),_0x3efb50(0x186),_0x24c0c6=>_0x3efb50(0x15f)===_0x24c0c6),this[_0x3efb50(0x17b)]['if'](_0x3efb50(0x13f),_0x3efb50(0x167),_0x2741d1=>_0x3efb50(0x182)===_0x2741d1)]}}),this['on'](_0x3efb50(0x16d),(_0x52415b,_0x5e63c2,_0xd8d933)=>{const _0x54d2a6=_0x3efb50;_0xe1ab0e[_0x54d2a6(0x15e)]=_0x54d2a6(0x15f)===_0xd8d933,_0x54d2a6(0x182)===_0xd8d933&&(_0xe1ab0e[_0x54d2a6(0x14f)]=_0x1fd10a(this[_0x54d2a6(0x150)],_0x54d2a6(0x184)),_0xe1ab0e[_0x54d2a6(0x185)]=_0x53f029);}),_0xe1ab0e;}[_0x318659(0x140)](){const _0x480559=_0x318659,_0x1bbdee=new _0x313dc0(this[_0x480559(0x150)]);return _0x1bbdee[_0x480559(0x142)]({'label':_0x1fd10a(this[_0x480559(0x150)],_0x480559(0x188)),'icon':_0x20b20b,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x480559(0x15c),'class':_0x480559(0x183)}),_0x1bbdee[_0x480559(0x168)](_0x480559(0x148))['to'](this,_0x480559(0x144),_0x4cd6b0=>_0x4cd6b0),_0x1bbdee['on'](_0x480559(0x174),()=>{const _0x357c6a=_0x480559;this[_0x357c6a(0x144)]=!this[_0x357c6a(0x144)];}),_0x1bbdee;}[_0x318659(0x163)](){const _0x425f3c=_0x318659,_0x18d921=new _0x313dc0(this[_0x425f3c(0x150)]);return _0x18d921[_0x425f3c(0x142)]({'label':_0x1fd10a(this[_0x425f3c(0x150)],_0x425f3c(0x15b)),'icon':_0x3d5c60,'withText':!0x0,'isEnabled':!0x1}),_0x18d921[_0x425f3c(0x180)]({'attributes':{'class':[_0x425f3c(0x16f),_0x425f3c(0x167),this[_0x425f3c(0x17b)]['if'](_0x425f3c(0x13f),_0x425f3c(0x146),_0x1180e5=>_0x425f3c(0x159)!==_0x1180e5)],'disabled':_0x425f3c(0x166)}}),_0x18d921;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Collection as
|
|
23
|
+
import{Collection as _0x34c2b5,KeystrokeHandler as _0x409f49,FocusTracker as _0x4dbff8}from'ckeditor5/src/utils.js';import{View as _0x6b0250,ViewCollection as _0x440e79,ButtonView as _0x5bdfa6,FormRowView as _0x39ba9c,createDropdown as _0x26fa7a,addListToDropdown as _0x1e0957,UIModel as _0x55269f,ButtonLabelView as _0x2c3a60,LabeledFieldView as _0x3bf3db,FocusCycler as _0x50df46}from'ckeditor5/src/ui.js';import{getTranslation as _0x429a6a}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x29af56}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0x6b0250{['focusTracker']=new _0x4dbff8();['keystrokes']=new _0x409f49();['focusCycler'];['_focusables']=new _0x440e79();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x322b4a,_0x2f5780,_0x3dd9b4=!0x1){super(_0x322b4a),this['_check']=_0x2f5780,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x2f5780['defaultModel']?_0x2f5780['defaultModel']['id']:'',this['_defaultLabel']=_0x2f5780['defaultModel']?_0x2f5780['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x3bf3db(this['locale'],()=>new _0x29af56(_0x322b4a)),this['promptInputView']['fieldView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['fieldView']['on']('input',()=>{this['prompt']=this['promptInputView']['fieldView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x34c2b5(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x3dd9b4),_0x1e0957(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x39ba9c(this['locale'],{'children':[this['promptInputView']]}),new _0x39ba9c(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x56f4d2,_0x1b3b1c)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x1b3b1c()):_0x1b3b1c();}),this['focusCycler']=new _0x50df46({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}));}['render'](){super['render'](),([this['promptInputView'],this['_modelSelectionDropdown'],this['cancelButtonView'],this['submitButtonView']]['forEach'](_0x1f2236=>{this['_focusables']['add'](_0x1f2236),this['focusTracker']['add'](_0x1f2236['element']);}),this['keystrokes']['listenTo'](this['element']));}get['modelDefaultValue'](){return this['_defaultValue'];}get['modelDefaultLabel'](){return this['_defaultLabel'];}['resetToDefault'](){this['prompt']='',this['modelId']=this['modelDefaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['modelDefaultLabel'],this['resetFormValidationStatus']();}['resetFormValidationStatus'](){this['promptInputView']['errorText']='';}['_isValid'](){this['resetFormValidationStatus']();for(const _0x32db53 of this['_getFormValidators']()){const _0x16e7f8=_0x32db53();if(_0x16e7f8)return this['promptInputView']['errorText']=_0x16e7f8,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x429a6a(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x1aca38=new _0x5bdfa6(this['locale']),t=this['locale']['t'];return _0x1aca38['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x1aca38['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x1aca38;}['_createCancelButtonView'](){const _0x5662e8=new _0x5bdfa6(this['locale']),t=this['locale']['t'];return _0x5662e8['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x5662e8['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x54e709=>{_0x54e709['stopPropagation']();})}}),_0x5662e8['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x5662e8;}['_setModelList'](_0xe445fb){this['_modelSelectionDropdownItems']['clear']();const _0x26d0e0=this['_check']['models'];if(_0xe445fb)this['set']('modelDisplayMode','hidden');else{const _0x327885=0x1===_0x26d0e0['length'];this['set']('modelDisplayMode',_0x327885?'name':'selector');}if(this['resetToDefault'](),_0x26d0e0?.['length']){0x1===_0x26d0e0['length']&&this['set']('activeModelName',_0x26d0e0[0x0]['name']||_0x26d0e0[0x0]['id']);for(const _0x47dafc of _0x26d0e0){const _0xc5d808=new _0x55269f({'label':_0x47dafc['name'],'withText':!0x0,'role':'menuitemradio','id':_0x47dafc['id'],'model':_0x47dafc});_0xc5d808['bind']('isOn')['to'](this,'modelId',_0x4456e8=>_0x4456e8===_0x47dafc['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0xc5d808,'labelView':new ko(this['locale'],_0x47dafc)});}}}['_createModelSelectionDropdown'](){const _0x370982=_0x26fa7a(this['locale']);return _0x370982['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x370982['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x370982['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x596470=>'selector'===_0x596470),this['listenTo'](_0x370982,'execute',_0x4172b6=>{this['modelId']=_0x4172b6['source']['model']['id'],_0x370982['buttonView']['label']=_0x4172b6['source']['label'];}),_0x370982;}['_createModelNameView'](){const _0x85d4ae=new _o(this['locale']);return _0x85d4ae['bind']('text')['to'](this,'activeModelName',_0x1e771c=>_0x1e771c??''),_0x85d4ae['bind']('isVisible')['to'](this,'modelDisplayMode',_0x1a912d=>'name'===_0x1a912d),_0x85d4ae;}['_createActionsFooterView'](){const _0x541821=new _0x6b0250(this['locale']);return _0x541821['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x541821;}}class _o extends _0x6b0250{constructor(_0x90d584){super(_0x90d584),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x9d8280=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x9d8280['if']('isVisible','ck-hidden',_0x2f868d=>!_0x2f868d)]},'children':[{'text':_0x9d8280['to']('text')}]});}}class ko extends _0x2c3a60{constructor(_0x4c8ec8,_0x3e12e0){super();const _0x1aeee9=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x1aeee9['to']('style'),'id':_0x1aeee9['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x1aeee9['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x3e12e0['description']||'']}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2d72(_0x2125ee,_0x33953f){var _0x3750a=_0x3750();return _0x2d72=function(_0x2d7223,_0x404308){_0x2d7223=_0x2d7223-0x1b6;var _0x244cf6=_0x3750a[_0x2d7223];return _0x244cf6;},_0x2d72(_0x2125ee,_0x33953f);}(function(_0x5eee65,_0x6df0c9){var _0x4acb4b=_0x2d72,_0x58d39f=_0x5eee65();while(!![]){try{var _0x2cde72=parseInt(_0x4acb4b(0x1bf))/0x1*(parseInt(_0x4acb4b(0x1bd))/0x2)+-parseInt(_0x4acb4b(0x1be))/0x3*(-parseInt(_0x4acb4b(0x1c4))/0x4)+parseInt(_0x4acb4b(0x1ba))/0x5+parseInt(_0x4acb4b(0x1b9))/0x6+-parseInt(_0x4acb4b(0x1b7))/0x7*(-parseInt(_0x4acb4b(0x1b8))/0x8)+parseInt(_0x4acb4b(0x1bc))/0x9*(parseInt(_0x4acb4b(0x1c0))/0xa)+-parseInt(_0x4acb4b(0x1b6))/0xb;if(_0x2cde72===_0x6df0c9)break;else _0x58d39f['push'](_0x58d39f['shift']());}catch(_0x1f259a){_0x58d39f['push'](_0x58d39f['shift']());}}}(_0x3750,0x8c3e6));import{ButtonView as _0x39a568}from'ckeditor5/src/ui.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreFinishReviewButtonView extends _0x39a568{constructor(_0x4c3e10,_0x1301d4){var _0x56fab3=_0x2d72;super(_0x1301d4),this[_0x56fab3(0x1c3)]({'label':_0x4c3e10,'withText':!0x0,'class':_0x56fab3(0x1bb)}),this['on'](_0x56fab3(0x1c2),()=>{var _0x57910a=_0x56fab3;this[_0x57910a(0x1c1)](_0x57910a(0x1c5));});}}function _0x3750(){var _0x53d4a6=['839FeqaTX','10dMeulE','fire','execute','set','4030024ktRKpj','finishReview','30466513KlafiI','192885sQaItH','8hJpFIC','4864680loJDlG','2494420pqMGel','ck-ai-button-primary','1164177KwNteM','2074WjuFpj','3lWRvCv'];_0x3750=function(){return _0x53d4a6;};return _0x3750();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3b037e,_0x5bfe23){const _0x4e4f37=_0x308c,_0x22bd8d=_0x3b037e();while(!![]){try{const _0x19fd9f=-parseInt(_0x4e4f37(0x162))/0x1+-parseInt(_0x4e4f37(0x166))/0x2*(parseInt(_0x4e4f37(0x171))/0x3)+-parseInt(_0x4e4f37(0x168))/0x4+parseInt(_0x4e4f37(0x167))/0x5+-parseInt(_0x4e4f37(0x169))/0x6+-parseInt(_0x4e4f37(0x163))/0x7*(-parseInt(_0x4e4f37(0x16b))/0x8)+parseInt(_0x4e4f37(0x170))/0x9;if(_0x19fd9f===_0x5bfe23)break;else _0x22bd8d['push'](_0x22bd8d['shift']());}catch(_0x443d8e){_0x22bd8d['push'](_0x22bd8d['shift']());}}}(_0x141d,0x6c9f7));import{View as _0x44b544}from'ckeditor5/src/ui.js';function _0x308c(_0x58be47,_0xa95b46){const _0x141dc3=_0x141d();return _0x308c=function(_0x308c9,_0x4d7acc){_0x308c9=_0x308c9-0x160;let _0x534b0f=_0x141dc3[_0x308c9];return _0x534b0f;},_0x308c(_0x58be47,_0xa95b46);}export class AIReviewCoreGeneralErrorView extends _0x44b544{constructor(_0xce226e){const _0x4bb571=_0x308c;super(_0xce226e),this[_0x4bb571(0x16d)](_0x4bb571(0x164),!0x1),this[_0x4bb571(0x16d)](_0x4bb571(0x165),'');const _0x5f9a4e=this[_0x4bb571(0x161)];this[_0x4bb571(0x160)]({'tag':_0x4bb571(0x16f),'attributes':{'class':['ck',_0x4bb571(0x16e),_0x5f9a4e['if'](_0x4bb571(0x164),_0x4bb571(0x16c),_0x36d122=>!_0x36d122)]},'children':[{'tag':'p','attributes':{'class':_0x4bb571(0x16a)},'children':[{'text':_0x5f9a4e['to'](_0x4bb571(0x165))}]}]});}}function _0x141d(){const _0x17296e=['div','18401868pBfUrP','7947uBzZli','setTemplate','bindTemplate','409811KqRzEw','896889Couscp','isVisible','errorMessage','390GdGPgN','270440PQLWRI','2678520zaLmcW','2653236pUZLwz','ck\x20ck-ai-notification\x20ck-ai-notification_error','24KctmUy','ck-hidden','set','ck-ai_review__general-error-container'];_0x141d=function(){return _0x17296e;};return _0x141d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x1efb(_0x7f8241,_0x121fb7){var _0x16cd10=_0x16cd();return _0x1efb=function(_0x1efbb0,_0xa0a5ac){_0x1efbb0=_0x1efbb0-0xf3;var _0x56dea6=_0x16cd10[_0x1efbb0];return _0x56dea6;},_0x1efb(_0x7f8241,_0x121fb7);}var _0x522634=_0x1efb;(function(_0x585eb2,_0x578bd1){var _0x2ac46a=_0x1efb,_0x60526f=_0x585eb2();while(!![]){try{var _0x54c6ab=parseInt(_0x2ac46a(0xf9))/0x1+-parseInt(_0x2ac46a(0xfe))/0x2+parseInt(_0x2ac46a(0xfb))/0x3+-parseInt(_0x2ac46a(0x104))/0x4+parseInt(_0x2ac46a(0x105))/0x5*(parseInt(_0x2ac46a(0xf5))/0x6)+-parseInt(_0x2ac46a(0x108))/0x7*(-parseInt(_0x2ac46a(0x103))/0x8)+parseInt(_0x2ac46a(0x109))/0x9;if(_0x54c6ab===_0x578bd1)break;else _0x60526f['push'](_0x60526f['shift']());}catch(_0x1a0365){_0x60526f['push'](_0x60526f['shift']());}}}(_0x16cd,0x69911));import{TextareaView as _0x38cfb8}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0xa59a57}from'ckeditor5/src/utils.js';export class AIReviewCorePromptInputView extends _0x38cfb8{[_0x522634(0xff)];static [_0x522634(0xfa)]=0x1;static [_0x522634(0xfc)]=0xc;constructor(_0x236f65){var _0x2acf93=_0x522634;super(_0x236f65),this[_0x2acf93(0x106)](_0x2acf93(0x10a),!0x0),this[_0x2acf93(0xff)]=new _0xa59a57(),this[_0x2acf93(0xf4)]=AIReviewCorePromptInputView[_0x2acf93(0xfa)],this[_0x2acf93(0x10b)]=AIReviewCorePromptInputView[_0x2acf93(0xfc)],this[_0x2acf93(0xfd)]({'attributes':{'id':_0x2acf93(0xf7),'class':['ck',_0x2acf93(0xf8)]}});}[_0x522634(0x102)](){var _0x55b9e3=_0x522634;super[_0x55b9e3(0x102)](),this['on'](_0x55b9e3(0xf3),()=>{var _0x5350bb=_0x55b9e3;this[_0x5350bb(0x10a)]=''===this[_0x5350bb(0x101)][_0x5350bb(0xf6)]?.[_0x5350bb(0x107)]();}),this[_0x55b9e3(0xff)][_0x55b9e3(0x100)](this[_0x55b9e3(0x101)]);}}function _0x16cd(){var _0x4a5e7d=['5uvsbRI','set','trim','607271NejUzE','262620OvNzKC','isEmpty','maxRows','update','minRows','744792kcXjSX','value','ai-review-prompt-input','ck-review__prompt-input','772277xlJkwE','MIN_ROWS','576819gJSMwG','MAX_ROWS','extendTemplate','371614asTkOi','keystrokes','listenTo','element','render','24MHOGRI','3039652ZcNxVG'];_0x16cd=function(){return _0x4a5e7d;};return _0x16cd();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x335a(){const _0x378188=['add','setChecks','ck-hidden','680CpMKTW','50wyptoe','hasChecks','175AdIhPr','resetToDefault','isVisible','length','div','169052BhQFZN','268247jLeVHq','22408KTGhJU','runReviewCheck','locale','14649qOfQkP','1403347SOurVx','setTemplate','58382616ejozDM','_setupTemplate','clear','282AyazSe','ck-ai_review__check-list','bindTemplate','entries','245059oXIJpC','_checkViews','delegate','2151OTrDUm','resetAllParameterizedChecks'];_0x335a=function(){return _0x378188;};return _0x335a();}const _0xa0fac9=_0x3e1c;(function(_0x175db7,_0x523bc0){const _0x5bbaf0=_0x3e1c,_0x214d8d=_0x175db7();while(!![]){try{const _0x10f04e=-parseInt(_0x5bbaf0(0xc7))/0x1+parseInt(_0x5bbaf0(0xcf))/0x2*(-parseInt(_0x5bbaf0(0xbd))/0x3)+-parseInt(_0x5bbaf0(0xd7))/0x4*(parseInt(_0x5bbaf0(0xd2))/0x5)+-parseInt(_0x5bbaf0(0xc3))/0x6*(parseInt(_0x5bbaf0(0xd8))/0x7)+parseInt(_0x5bbaf0(0xd9))/0x8*(parseInt(_0x5bbaf0(0xca))/0x9)+parseInt(_0x5bbaf0(0xd0))/0xa*(parseInt(_0x5bbaf0(0xbe))/0xb)+parseInt(_0x5bbaf0(0xc0))/0xc;if(_0x10f04e===_0x523bc0)break;else _0x214d8d['push'](_0x214d8d['shift']());}catch(_0x2e75b3){_0x214d8d['push'](_0x214d8d['shift']());}}}(_0x335a,0xf0f5b));import{ListItemView as _0x358b2b,ViewCollection as _0x312271}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCommandListItemView as _0x3413de}from'./aireviewcorereviewcommandlistitemview.js';function _0x3e1c(_0x41c3a1,_0x5bd712){const _0x335ac2=_0x335a();return _0x3e1c=function(_0x3e1c16,_0x35f5eb){_0x3e1c16=_0x3e1c16-0xbd;let _0x5eaf39=_0x335ac2[_0x3e1c16];return _0x5eaf39;},_0x3e1c(_0x41c3a1,_0x5bd712);}import'../../../theme/aireviewcore/aireviewcore-check-list.css';export class AIReviewCoreReviewCheckListView extends _0x358b2b{[_0xa0fac9(0xc8)];constructor(_0x1bd313){const _0x3b26fc=_0xa0fac9;super(_0x1bd313),this[_0x3b26fc(0xc8)]=new _0x312271(),this[_0x3b26fc(0xc1)]();}[_0xa0fac9(0xcd)](_0x534efb,_0x4449fb=!0x1){const _0x529f93=_0xa0fac9;this[_0x529f93(0xc8)][_0x529f93(0xc2)]();for(const [_0x24a7a3,_0x935fd]of _0x534efb[_0x529f93(0xc6)]()){const _0x2a4a0f=new _0x3413de(this[_0x529f93(0xdb)],_0x935fd,_0x24a7a3,_0x4449fb);_0x2a4a0f[_0x529f93(0xc9)](_0x529f93(0xda))['to'](this),this[_0x529f93(0xc8)][_0x529f93(0xcc)](_0x2a4a0f);}}[_0xa0fac9(0xd1)](){const _0xf4391d=_0xa0fac9;return this[_0xf4391d(0xc8)][_0xf4391d(0xd5)]>0x0;}[_0xa0fac9(0xcb)](){const _0x4ea1c1=_0xa0fac9;for(const _0x2d773e of this[_0x4ea1c1(0xc8)])_0x2d773e instanceof _0x3413de&&_0x2d773e[_0x4ea1c1(0xd3)]();}[_0xa0fac9(0xc1)](){const _0x1cb016=_0xa0fac9,_0x48cb02=this[_0x1cb016(0xc5)];this[_0x1cb016(0xbf)]({'tag':_0x1cb016(0xd6),'attributes':{'class':[_0x1cb016(0xc4),_0x48cb02['if'](_0x1cb016(0xd4),_0x1cb016(0xce),_0x432c46=>!_0x432c46)]},'children':this[_0x1cb016(0xc8)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0x53ad62,IconView as _0x148121,View as _0x39c222,ViewCollection as _0x5daa06,ButtonView as _0x36c6ba,clickOutsideHandler as _0x2a5d96}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x2e74f2}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as _0x5e7971}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x3a32eb}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0x53ad62{['_formItemsCollection']=new _0x5daa06();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x366268,_0x30fd35,_0x206a5a,_0x29703a=!0x1){super(_0x366268),this['_hideModels']=_0x29703a,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x30fd35['isParameterized']);const _0xd64f0e=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai_review__check-list-item_selected',_0x5e0abe=>_0x5e0abe),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x51dc14=>_0x51dc14)],'style':{'--ck-ai-review-check-list-item-index':_0x206a5a}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-list-item-title-text']},'children':[{'text':_0x30fd35['title']}]},_0xd64f0e]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x30fd35['description']?[{'text':_0x30fd35['description']}]:[]}]}]},..._0x30fd35['isParameterized']?[this['_createParameterizedView'](_0x30fd35)]:[],...'custom'===_0x30fd35['id']?[this['_createCustomView'](_0x30fd35,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x30fd35['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x30fd35['id'],'args':_0x30fd35['useArgs']?_0x30fd35['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x2a5d96({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x5f5aac=>{_0x5f5aac['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x204c0f=new _0x148121();return _0x204c0f['content']=_0x2e74f2,_0x204c0f['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x204c0f;}['_createParameterizedView'](_0x20ffd5){const _0x391e45=new _0x39c222(),_0x2403db=this['_createFormView'](_0x20ffd5);return _0x391e45['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x55a244=>!_0x55a244)]},'children':[_0x2403db]}),_0x391e45;}['_createFormView'](_0x3d7f64){const _0x1ec55e=new _0x39c222(),_0x7ccd80=Array['isArray'](_0x3d7f64['options'])?_0x3d7f64['options']:[],_0x3c575a=new _0x36c6ba(this['locale']),t=this['locale']['t'];_0x3c575a['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x3c575a['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x1b52c5=>{_0x1b52c5['stopPropagation']();})}}),_0x3c575a['on']('execute',()=>{const _0x499ce2=[],_0x2ddd6c={};this['_formItemsCollection']['forEach'](_0x5af515=>{_0x499ce2['push'](_0x5af515['value']),_0x3d7f64['useArgs']&&_0x3d7f64['options']&&(_0x2ddd6c[_0x5af515['argsKey']]=_0x5af515['value']);}),this['fire']('runReviewCheck',{'id':_0x3d7f64['id'],'params':_0x499ce2['length']?_0x499ce2:void 0x0,'args':Object['keys'](_0x2ddd6c)['length']?_0x2ddd6c:void 0x0});});const _0x1e14c0=_0x7ccd80['length'];return _0x7ccd80['forEach']((_0x32ecac,_0x2cabcb)=>{const _0x3ccf0e=_0x2cabcb===_0x1e14c0-0x1;this['_formItemsCollection']['add'](new _0x5e7971(this['locale'],_0x32ecac,_0x3ccf0e?_0x3c575a:null));}),_0x1ec55e['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x1ec55e;}['_createCustomView'](_0x26057d,_0x11b8c2=!0x1){return this['_customCheckView']=new _0x3a32eb(this['locale'],_0x26057d,_0x11b8c2),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-parameterized','ck-ai_review__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x12ee1f=>!_0x12ee1f)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x535057,_0x2f69b8,_0x3c3c8d)=>{_0x3c3c8d||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x39cd86=_0x9c31;(function(_0x4817b2,_0x50dc9f){const _0x16fa26=_0x9c31,_0x590fa3=_0x4817b2();while(!![]){try{const _0x11af07=parseInt(_0x16fa26(0xc9))/0x1*(parseInt(_0x16fa26(0xc3))/0x2)+parseInt(_0x16fa26(0xd6))/0x3*(parseInt(_0x16fa26(0xb4))/0x4)+-parseInt(_0x16fa26(0xc5))/0x5*(-parseInt(_0x16fa26(0xcb))/0x6)+-parseInt(_0x16fa26(0xb6))/0x7*(-parseInt(_0x16fa26(0xbc))/0x8)+parseInt(_0x16fa26(0xca))/0x9+-parseInt(_0x16fa26(0xbb))/0xa+-parseInt(_0x16fa26(0xc4))/0xb*(parseInt(_0x16fa26(0xcd))/0xc);if(_0x11af07===_0x50dc9f)break;else _0x590fa3['push'](_0x590fa3['shift']());}catch(_0x2af083){_0x590fa3['push'](_0x590fa3['shift']());}}}(_0x4e44,0xe63fe));import{ListItemView as _0x4de054,View as _0x221534}from'ckeditor5/src/ui.js';import{AIReviewCoreFinishReviewButtonView as _0x2cf32f}from'./aireviewcorefinishreviewbuttonview.js';function _0x9c31(_0x1131a2,_0x3621d9){const _0x4e449c=_0x4e44();return _0x9c31=function(_0x9c315f,_0x13d8ec){_0x9c315f=_0x9c315f-0xb4;let _0x11abed=_0x4e449c[_0x9c315f];return _0x11abed;},_0x9c31(_0x1131a2,_0x3621d9);}function _0x4e44(){const _0x1ec8cb=['ck-hidden','2367996MRvXKH','ck-ai_review__review-completed-content-icon','_finishReviewButtonView','setTemplate','headerText','ck-ai_review__review-completed-header-title','emptyResultsText','_resultsHeader','span','12CuoJRp','632580JvavrD','ck-ai_review__review-completed-content','7BhMRhq','_createResultHeaderView','bindTemplate','ck-ai_review__review-completed','ck-ai_review__review-completed-content-text','11666540tmyyyf','11274392TdsobJ','delegate','_createFinishReviewButtonView','buttonText','ck-ai_review__review-completed-header-buttons','ck-ai_review__review-completed-header','div','19478iyztHj','154AJEgNU','11965rNeQGB','isVisible','locale','finishReview','71GBKJJS','3658842msNXbh','4344raWflM'];_0x4e44=function(){return _0x1ec8cb;};return _0x4e44();}import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreReviewCompletedView extends _0x4de054{[_0x39cd86(0xd4)];[_0x39cd86(0xcf)];constructor(_0x261e1c,_0x58b2a3){const _0x1f6fbd=_0x39cd86;super(_0x261e1c),this[_0x1f6fbd(0xcf)]=this[_0x1f6fbd(0xbe)](_0x58b2a3[_0x1f6fbd(0xbf)]),this[_0x1f6fbd(0xd4)]=this[_0x1f6fbd(0xb7)](_0x58b2a3[_0x1f6fbd(0xd1)]);const _0x48e15f=this[_0x1f6fbd(0xb8)];this[_0x1f6fbd(0xd0)]({'tag':_0x1f6fbd(0xc2),'attributes':{'class':[_0x1f6fbd(0xb9),_0x48e15f['if'](_0x1f6fbd(0xc6),_0x1f6fbd(0xcc),_0x1b1b05=>!_0x1b1b05)]},'children':[this[_0x1f6fbd(0xd4)],{'tag':_0x1f6fbd(0xc2),'attributes':{'class':[_0x1f6fbd(0xb5)]},'children':[{'tag':_0x1f6fbd(0xd5),'attributes':{'class':[_0x1f6fbd(0xce)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x1f6fbd(0xba)]},'children':[{'text':_0x58b2a3[_0x1f6fbd(0xd3)]}]}]}]});}[_0x39cd86(0xbe)](_0x1b2c1c){const _0x30ef09=_0x39cd86,_0x3a431d=new _0x2cf32f(_0x1b2c1c,this[_0x30ef09(0xc7)]);return _0x3a431d[_0x30ef09(0xbd)](_0x30ef09(0xc8))['to'](this),_0x3a431d;}[_0x39cd86(0xb7)](_0x3a7a61){const _0x439570=_0x39cd86,_0x430d7d=new _0x221534(this[_0x439570(0xc7)]);return _0x430d7d[_0x439570(0xd0)]({'tag':_0x439570(0xc2),'attributes':{'class':[_0x439570(0xc1)]},'children':[{'tag':_0x439570(0xd5),'attributes':{'class':[_0x439570(0xd2)]},'children':[{'text':_0x3a7a61}]},{'tag':_0x439570(0xc2),'attributes':{'class':[_0x439570(0xc0)]},'children':[this[_0x439570(0xcf)]]}]}),_0x430d7d;}}
|