@ckeditor/ckeditor5-ai 47.6.0-alpha.2 → 47.6.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.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/legacyerrors.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/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.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.d.ts +8 -4
- 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/aicontext.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/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.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/aicore/utils/scrollmanager.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/aireviewcheck.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/aireviewcheckdefinitions.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/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.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/aitabsmainview.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/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.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
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3309f0=_0x553a;(function(_0x3a4079,_0x293f25){const _0x388ac8=_0x553a,_0x24502b=_0x3a4079();while(!![]){try{const _0xb8db31=parseInt(_0x388ac8(0x9e))/0x1*(parseInt(_0x388ac8(0x87))/0x2)+-parseInt(_0x388ac8(0x80))/0x3*(parseInt(_0x388ac8(0xbd))/0x4)+parseInt(_0x388ac8(0x8c))/0x5+-parseInt(_0x388ac8(0x7c))/0x6*(-parseInt(_0x388ac8(0xb4))/0x7)+-parseInt(_0x388ac8(0x84))/0x8*(-parseInt(_0x388ac8(0xc9))/0x9)+parseInt(_0x388ac8(0xa2))/0xa+-parseInt(_0x388ac8(0x9a))/0xb;if(_0xb8db31===_0x293f25)break;else _0x24502b['push'](_0x24502b['shift']());}catch(_0x3f26fd){_0x24502b['push'](_0x24502b['shift']());}}}(_0x2470,0x51494));function _0x553a(_0x3d2848,_0x392fec){const _0x247086=_0x2470();return _0x553a=function(_0x553a28,_0x2f37f2){_0x553a28=_0x553a28-0x77;let _0x2140e0=_0x247086[_0x553a28];return _0x2140e0;},_0x553a(_0x3d2848,_0x392fec);}import{ContextPlugin as _0x762928}from'ckeditor5/src/core.js';import{BodyCollection as _0x4e5984}from'ckeditor5/src/ui.js';function _0x2470(){const _0x206bda=['showReviewCheckListView','showReviewCompletedView','deactivateChange','reviewCheckResultsView','dismissChange','abortReviewStream','createMainView','showReviewCheckList','setCheckResultTitle','retryReview','element','showCheckRunResults','7522394ZNsGSg','destroy','setChecks','getReviewCheckList','5LRfhif','config','hasChecks','setAvailableChecks','4847700YkYyQB','learnMore','finishReview','hideDiffInBalloon','_mainView','AITabs','reviewCheckListView','context','showChunkErrorView','error-chunk','forEach','outdated','activateChange','isPremiumPlugin','addCheckRunResult','hideBalloon','requires','delegate','14ZthfAG','hideChangeBalloon','setItemAsActive','isOfficialPlugin','showNoChangesView','showResult','showReviewCheckResultsView','leaveReviewCoreResultList','setActiveStateInResults','915304dDjeZF','detachFromDom','locale','init','showChangeBalloon','showActionsWhenResultIsReady','_balloonSuggestionView','resetActiveStateInResults','hideResult','registerTab','error-general','find','690750ZIkMqD','ai.models.showModelSelector','attachToDom','_bodyCollection','getResults','fire','showGeneralReviewCoreErrorView','showBalloon','get','accepted','setItemAsInactive','acceptAllChanges','toggleDiff','913914cMORKT','hideActionsWhenResultIsReady','acceptChange','showGeneralResultsErrorView','6sYeLfh','getChangeElement','runReviewCheck','setTitle','32vTkvPn','rejected','updateChangeState','30092HRMBet','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','status','showDiffInBalloon','showCheckRunResult','1514080NoXvhd','plugins'];_0x2470=function(){return _0x206bda;};return _0x2470();}import{getTranslation as _0x485e2a}from'../aicore/utils/common-translations.js';import{AITabs as _0x7d900b}from'../aitabs/aitabs.js';import{AIReviewCoreBalloonSuggestionItemView as _0x129778}from'./ui/aireviewcoreballoonsuggestionview.js';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x3309f0(0x9d),_0x3309f0(0x82),_0x3309f0(0x93),_0x3309f0(0x7b),_0x3309f0(0x7a),_0x3309f0(0xbb),_0x3309f0(0xae),_0x3309f0(0x90),_0x3309f0(0x7e),_0x3309f0(0x92),_0x3309f0(0xa3),_0x3309f0(0xa4),_0x3309f0(0x97)];export class AIReviewCoreUI extends _0x762928{[_0x3309f0(0xa6)];[_0x3309f0(0xc3)];[_0x3309f0(0xcc)];static get[_0x3309f0(0xb2)](){return[_0x7d900b];}static get[_0x3309f0(0xb7)](){return!0x0;}static get[_0x3309f0(0xaf)](){return!0x0;}constructor(_0x2c0b0d){const _0x3d7362=_0x3309f0;super(_0x2c0b0d),this[_0x3d7362(0xcc)]=new _0x4e5984(this[_0x3d7362(0xa9)][_0x3d7362(0xbf)]),this[_0x3d7362(0xcc)][_0x3d7362(0xcb)](),this[_0x3d7362(0xa6)]=this[_0x3d7362(0x94)](),this[_0x3d7362(0xa6)][_0x3d7362(0xb3)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x3d7362(0xc3)]=new _0x129778(this[_0x3d7362(0xa9)][_0x3d7362(0xbf)],this[_0x3d7362(0xcc)]),this[_0x3d7362(0xc3)][_0x3d7362(0xb3)](_0x3d7362(0x7e),_0x3d7362(0x92),_0x3d7362(0x90))['to'](this);}[_0x3309f0(0xc0)](){const _0x2c5aee=_0x3309f0,_0x25fd5c=this[_0x2c5aee(0xa9)][_0x2c5aee(0x8d)][_0x2c5aee(0x77)](_0x2c5aee(0xa7));this[_0x2c5aee(0xc6)](_0x25fd5c);}[_0x3309f0(0x9b)](){const _0x12a99a=_0x3309f0;this[_0x12a99a(0xcc)][_0x12a99a(0xbe)](),super[_0x12a99a(0x9b)]();}[_0x3309f0(0xa1)](_0x3200ab){const _0x1c81d4=_0x3309f0;if(!this[_0x1c81d4(0xa6)][_0x1c81d4(0xa8)][_0x1c81d4(0xa0)]()){const _0x340f9b=!this[_0x1c81d4(0xa9)][_0x1c81d4(0x9f)][_0x1c81d4(0x77)](_0x1c81d4(0xca));this[_0x1c81d4(0xa6)][_0x1c81d4(0xa8)][_0x1c81d4(0x9c)](_0x3200ab,_0x340f9b);}this[_0x1c81d4(0xa6)][_0x1c81d4(0x8e)]();}[_0x3309f0(0x95)](){const _0x4b3e92=_0x3309f0;this[_0x4b3e92(0xce)](_0x4b3e92(0x9d));}[_0x3309f0(0x99)](_0x3d0ce6){const _0x5457e0=_0x3309f0;_0x3d0ce6&&(_0x5457e0(0xc7)!==_0x3d0ce6[_0x5457e0(0x89)]?_0x5457e0(0xab)!==_0x3d0ce6[_0x5457e0(0x89)]?this[_0x5457e0(0xa6)][_0x5457e0(0xba)]():this[_0x5457e0(0xaa)]():this[_0x5457e0(0x7f)]());}[_0x3309f0(0x8b)](_0x2fd179){const _0x1eb093=_0x3309f0;this[_0x1eb093(0xa6)][_0x1eb093(0xb0)](_0x2fd179);}[_0x3309f0(0x7f)](){const _0x2706cb=_0x3309f0;this[_0x2706cb(0xa6)][_0x2706cb(0x7f)]();}[_0x3309f0(0xcf)](_0x2d74d1){const _0x52767c=_0x3309f0;this[_0x52767c(0xa6)][_0x52767c(0xcf)](_0x2d74d1??_0x485e2a(this[_0x52767c(0xa9)][_0x52767c(0xbf)],_0x52767c(0x88)));}[_0x3309f0(0xaa)](){const _0xbdd338=_0x3309f0;this[_0xbdd338(0xa6)][_0xbdd338(0xaa)]();}[_0x3309f0(0x96)](_0x507fc8,_0x51a8da){const _0x2b55c1=_0x3309f0;this[_0x2b55c1(0xa6)][_0x2b55c1(0x91)][_0x2b55c1(0x83)](_0x507fc8,_0x51a8da);}[_0x3309f0(0xbc)](_0x24a479){const _0x31a9ef=_0x3309f0;this[_0x31a9ef(0xa6)][_0x31a9ef(0x91)][_0x31a9ef(0xcd)]()[_0x31a9ef(0xac)](_0x4edbd9=>{const _0xe78fb2=_0x31a9ef;_0x4edbd9['id']===_0x24a479&&_0x4edbd9[_0xe78fb2(0xb6)]();});}[_0x3309f0(0xc4)](){const _0x54411a=_0x3309f0;this[_0x54411a(0xa6)][_0x54411a(0x91)][_0x54411a(0xcd)]()[_0x54411a(0xac)](_0x597f1f=>_0x597f1f[_0x54411a(0x79)]());}[_0x3309f0(0x86)](_0x178f99,_0xd08a4e){const _0x340619=_0x3309f0;_0x340619(0x78)===_0xd08a4e||_0x340619(0x85)===_0xd08a4e||_0x340619(0xad)===_0xd08a4e?this[_0x340619(0xa6)][_0x340619(0x91)][_0x340619(0xc5)](_0x178f99,_0xd08a4e):this[_0x340619(0xa6)][_0x340619(0x91)][_0x340619(0xb9)](_0x178f99,_0xd08a4e);}[_0x3309f0(0x8f)](){const _0x3179ed=_0x3309f0;this[_0x3179ed(0xa6)][_0x3179ed(0x8f)]();}[_0x3309f0(0xc2)](){const _0x2f7956=_0x3309f0;this[_0x2f7956(0xa6)][_0x2f7956(0xc2)]();}[_0x3309f0(0xb8)](){const _0x51227e=_0x3309f0;this[_0x51227e(0xa6)][_0x51227e(0xb8)]();}[_0x3309f0(0x7d)](){const _0xc0c491=_0x3309f0;this[_0xc0c491(0xa6)][_0xc0c491(0x7d)]();}[_0x3309f0(0xc1)](_0x3a283f,_0x1078e4,_0x257962,_0x2a33b2,_0xe25037,_0x3f9ac7){const _0x1d99ec=_0x3309f0;this[_0x1d99ec(0xc3)][_0x1d99ec(0xd0)](_0x3a283f,_0x1078e4,_0x257962,_0x2a33b2,_0xe25037,_0x3f9ac7);}[_0x3309f0(0xb5)](){const _0x15a516=_0x3309f0;this[_0x15a516(0xc3)][_0x15a516(0xb1)]();}[_0x3309f0(0xa5)](){const _0x388190=_0x3309f0;this[_0x388190(0xc3)][_0x388190(0xa5)]();}[_0x3309f0(0x8a)](){const _0x422a09=_0x3309f0;this[_0x422a09(0xc3)][_0x422a09(0x8a)]();}[_0x3309f0(0x81)](_0x4796cc){const _0x51b68c=_0x3309f0,_0x3506d1=this[_0x51b68c(0xa6)][_0x51b68c(0x91)][_0x51b68c(0xcd)]()[_0x51b68c(0xc8)](_0x435792=>_0x435792['id']===_0x4796cc);return _0x3506d1?_0x3506d1[_0x51b68c(0x98)]:null;}[_0x3309f0(0x90)](){const _0x4e6d84=_0x3309f0;this[_0x4e6d84(0xc3)][_0x4e6d84(0x90)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x560d(_0x2d7dd0,_0x1c34b5){var _0xe83315=_0xe833();return _0x560d=function(_0x560d2a,_0x22dce4){_0x560d2a=_0x560d2a-0x101;var _0x35617b=_0xe83315[_0x560d2a];return _0x35617b;},_0x560d(_0x2d7dd0,_0x1c34b5);}var _0x10c408=_0x560d;function _0xe833(){var _0x544675=['apiId','options','5951808yYRrXN','634295LYRzPh','38593lzPWvy','10509128CPpPiW','useArgs','title','commandId','1123020yixeHO','18AnRMJy','description','args','228540obxyFC','23897826tPkumd','30FxEKBF','isParameterized'];_0xe833=function(){return _0x544675;};return _0xe833();}(function(_0x5b4483,_0x26836b){var _0xa989c1=_0x560d,_0x4b2b2c=_0x5b4483();while(!![]){try{var _0x557503=-parseInt(_0xa989c1(0x107))/0x1+-parseInt(_0xa989c1(0x10c))/0x2+parseInt(_0xa989c1(0x101))/0x3*(parseInt(_0xa989c1(0x110))/0x4)+-parseInt(_0xa989c1(0x106))/0x5*(-parseInt(_0xa989c1(0x10d))/0x6)+-parseInt(_0xa989c1(0x108))/0x7+-parseInt(_0xa989c1(0x105))/0x8+parseInt(_0xa989c1(0x111))/0x9;if(_0x557503===_0x26836b)break;else _0x4b2b2c['push'](_0x4b2b2c['shift']());}catch(_0x123878){_0x4b2b2c['push'](_0x4b2b2c['shift']());}}}(_0xe833,0xba002));export class AIReviewCheck{['id'];[_0x10c408(0x10b)];[_0x10c408(0x10a)];[_0x10c408(0x10e)];[_0x10c408(0x102)];[_0x10c408(0x109)];[_0x10c408(0x104)];[_0x10c408(0x10f)];get[_0x10c408(0x103)](){var _0x5294d2=_0x10c408;return this[_0x5294d2(0x10b)];}constructor(_0x375f5e){var _0x45b62b=_0x10c408;this['id']=_0x375f5e['id'],this[_0x45b62b(0x10b)]=_0x375f5e[_0x45b62b(0x10b)],this[_0x45b62b(0x10a)]=_0x375f5e[_0x45b62b(0x10a)],this[_0x45b62b(0x10e)]=_0x375f5e[_0x45b62b(0x10e)],this[_0x45b62b(0x102)]=_0x375f5e[_0x45b62b(0x102)],this[_0x45b62b(0x109)]=_0x375f5e[_0x45b62b(0x109)],this[_0x45b62b(0x104)]=_0x375f5e[_0x45b62b(0x104)],this[_0x45b62b(0x10f)]=_0x375f5e[_0x45b62b(0x10f)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x151647=_0x5415;(function(_0x6f100e,_0x58da60){var _0x5c24ca=_0x5415,_0x40fe06=_0x6f100e();while(!![]){try{var _0x4840bc=parseInt(_0x5c24ca(0xef))/0x1*(parseInt(_0x5c24ca(0xf9))/0x2)+-parseInt(_0x5c24ca(0xed))/0x3+parseInt(_0x5c24ca(0xf4))/0x4*(-parseInt(_0x5c24ca(0xec))/0x5)+parseInt(_0x5c24ca(0xf7))/0x6*(parseInt(_0x5c24ca(0xf5))/0x7)+parseInt(_0x5c24ca(0xe9))/0x8+-parseInt(_0x5c24ca(0xea))/0x9*(-parseInt(_0x5c24ca(0xee))/0xa)+-parseInt(_0x5c24ca(0xeb))/0xb*(parseInt(_0x5c24ca(0xe8))/0xc);if(_0x4840bc===_0x58da60)break;else _0x40fe06['push'](_0x40fe06['shift']());}catch(_0x2310dc){_0x40fe06['push'](_0x40fe06['shift']());}}}(_0x480b,0x1b577));import{ObservableMixin as _0x31b388}from'ckeditor5/src/utils.js';function _0x480b(){var _0x1281e8=['filter','map','checks','276MnyFoo','144445zsCLXx','_checks','48IMyngR','setupChecks','46316epfeHi','getCheckById','removeCheckById','852HyFrXL','38728oJVxZp','27QZNtfW','17589dMrSQY','12895UMepbh','343827wjSllc','465790HqSIdQ','9dgxjZu','find'];_0x480b=function(){return _0x1281e8;};return _0x480b();}function _0x5415(_0x28b395,_0x43f3fd){var _0x480b49=_0x480b();return _0x5415=function(_0x5415b5,_0x38f84b){_0x5415b5=_0x5415b5-0xe8;var _0x1190d7=_0x480b49[_0x5415b5];return _0x1190d7;},_0x5415(_0x28b395,_0x43f3fd);}import{AIReviewCheck as _0x2ba36b}from'./aireviewcheck.js';export class AIReviewCheckList extends _0x31b388(){[_0x151647(0xf6)]=[];[_0x151647(0xf8)](_0x29aacf){var _0x2ea2e2=_0x151647;this[_0x2ea2e2(0xf6)]=_0x29aacf[_0x2ea2e2(0xf2)](_0x14ccf5=>new _0x2ba36b(_0x14ccf5));}get[_0x151647(0xf3)](){var _0x1abf55=_0x151647;return this[_0x1abf55(0xf6)];}[_0x151647(0xfa)](_0x5ecd17){var _0x113eb2=_0x151647;return this[_0x113eb2(0xf3)][_0x113eb2(0xf0)](_0x4937ab=>_0x4937ab['id']===_0x5ecd17);}[_0x151647(0xfb)](_0x241511){var _0x58a3d5=_0x151647;this[_0x58a3d5(0xf6)]=this[_0x58a3d5(0xf6)][_0x58a3d5(0xf1)](_0x144d96=>_0x144d96['id']!==_0x241511);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x334750=_0x1daf;function _0x1e99(){var _0x10d201=['139112abRJYW','17oBsjDe','contentNew','1168443buwuGa','1499656OpkLGu','431742XKjFDw','documentVersion','21694fVmeJB','767816llrEeE','4630zaWqHb','1098mFOukb','contentInitial'];_0x1e99=function(){return _0x10d201;};return _0x1e99();}(function(_0x2bf1d9,_0x230119){var _0x243467=_0x1daf,_0x348e36=_0x2bf1d9();while(!![]){try{var _0x15a6eb=parseInt(_0x243467(0x1df))/0x1*(parseInt(_0x243467(0x1e5))/0x2)+-parseInt(_0x243467(0x1e3))/0x3+-parseInt(_0x243467(0x1de))/0x4+parseInt(_0x243467(0x1e7))/0x5*(parseInt(_0x243467(0x1e8))/0x6)+-parseInt(_0x243467(0x1e6))/0x7+parseInt(_0x243467(0x1e2))/0x8+-parseInt(_0x243467(0x1e1))/0x9;if(_0x15a6eb===_0x230119)break;else _0x348e36['push'](_0x348e36['shift']());}catch(_0x115589){_0x348e36['push'](_0x348e36['shift']());}}}(_0x1e99,0x1e0e3));import{EmitterMixin as _0x1d9a1c}from'ckeditor5/src/utils.js';function _0x1daf(_0x3fcdbb,_0x1893c4){var _0x1e9997=_0x1e99();return _0x1daf=function(_0x1daff6,_0x4fd164){_0x1daff6=_0x1daff6-0x1de;var _0x13311e=_0x1e9997[_0x1daff6];return _0x13311e;},_0x1daf(_0x3fcdbb,_0x1893c4);}export class AIReviewCheckResult extends _0x1d9a1c(){['id'];[_0x334750(0x1e0)];[_0x334750(0x1e9)];[_0x334750(0x1e4)];constructor({id:_0x1d1ab3,contentNew:_0x127565,contentInitial:_0x105a10,documentVersion:_0x9baf63}){var _0x38c212=_0x334750;super(),this['id']=_0x1d1ab3,this[_0x38c212(0x1e0)]=_0x127565,this[_0x38c212(0x1e9)]=_0x105a10,this[_0x38c212(0x1e4)]=_0x9baf63;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3380(){var _0x507be9=['_editorOperations','745fdzfcX','_data','set','isActivated','499514vLKoKd','156921wyQEMO','9218OoRJYu','context','isRated','contentDiffed','operations','parent','3550xqcnUf','8aTGsBD','status','152458KSbfzj','6NmfcUu','operationsIsolated','2719213vkPybA','5540WGrJWx','change:status','pending','3345462ntGYYk'];_0x3380=function(){return _0x507be9;};return _0x3380();}var _0xa1c1f4=_0xe378;(function(_0x2b138b,_0x3e9f26){var _0xd3c569=_0xe378,_0x9eff45=_0x2b138b();while(!![]){try{var _0x2ae242=parseInt(_0xd3c569(0xa4))/0x1+-parseInt(_0xd3c569(0xaf))/0x2+-parseInt(_0xd3c569(0xa5))/0x3+-parseInt(_0xd3c569(0x9b))/0x4*(-parseInt(_0xd3c569(0xa0))/0x5)+-parseInt(_0xd3c569(0xb0))/0x6*(-parseInt(_0xd3c569(0xb2))/0x7)+parseInt(_0xd3c569(0xad))/0x8*(-parseInt(_0xd3c569(0x9e))/0x9)+parseInt(_0xd3c569(0xac))/0xa*(-parseInt(_0xd3c569(0xa6))/0xb);if(_0x2ae242===_0x3e9f26)break;else _0x9eff45['push'](_0x9eff45['shift']());}catch(_0x5398cb){_0x9eff45['push'](_0x9eff45['shift']());}}}(_0x3380,0x48692));import{ObservableMixin as _0x58cd2f}from'ckeditor5/src/utils.js';function _0xe378(_0x32ac6a,_0x598c88){var _0x3380f3=_0x3380();return _0xe378=function(_0xe37802,_0x41fbc4){_0xe37802=_0xe37802-0x9b;var _0x1ec96d=_0x3380f3[_0xe37802];return _0x1ec96d;},_0xe378(_0x32ac6a,_0x598c88);}export class AIReviewCheckResultChange extends _0x58cd2f(){['id'];[_0xa1c1f4(0xab)];[_0xa1c1f4(0xa1)];[_0xa1c1f4(0x9f)]=[];constructor(_0x1be0ad,_0x58da9b,_0x218954){var _0x43b379=_0xa1c1f4;super(),this['id']=_0x1be0ad,this[_0x43b379(0xab)]=_0x218954,this[_0x43b379(0xa1)]=_0x58da9b,this[_0x43b379(0xa2)](_0x43b379(0xa3),!0x1),this[_0x43b379(0xa2)](_0x43b379(0xa8),!0x1),this[_0x43b379(0xa2)](_0x43b379(0xae),_0x43b379(0x9d)),this['on'](_0x43b379(0x9c),()=>{var _0x33f644=_0x43b379;_0x33f644(0x9d)!==this[_0x33f644(0xae)]&&this[_0x33f644(0xa3)]&&(this[_0x33f644(0xa3)]=!0x1);});}get[_0xa1c1f4(0xa9)](){var _0x220205=_0xa1c1f4;return this[_0x220205(0xa1)][_0x220205(0xa7)]();}get[_0xa1c1f4(0xaa)](){var _0x302c36=_0xa1c1f4;return this[_0x302c36(0xa1)][_0x302c36(0xaa)];}get[_0xa1c1f4(0xb1)](){var _0x12fc7e=_0xa1c1f4;return this[_0x12fc7e(0xa1)][_0x12fc7e(0xb1)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1bb500=_0x3808;(function(_0x43f0cb,_0x29dd8a){const _0x38cb80=_0x3808,_0x1bdf22=_0x43f0cb();while(!![]){try{const _0x5dae11=-parseInt(_0x38cb80(0x1ef))/0x1+parseInt(_0x38cb80(0x202))/0x2+-parseInt(_0x38cb80(0x1c0))/0x3*(parseInt(_0x38cb80(0x204))/0x4)+-parseInt(_0x38cb80(0x1dc))/0x5*(parseInt(_0x38cb80(0x1d8))/0x6)+-parseInt(_0x38cb80(0x1e1))/0x7*(parseInt(_0x38cb80(0x1d3))/0x8)+-parseInt(_0x38cb80(0x1cf))/0x9+parseInt(_0x38cb80(0x215))/0xa;if(_0x5dae11===_0x29dd8a)break;else _0x1bdf22['push'](_0x1bdf22['shift']());}catch(_0x4329f4){_0x1bdf22['push'](_0x1bdf22['shift']());}}}(_0x1254,0x9cecb));function _0x3808(_0xb76b8,_0x3e7652){const _0x12540b=_0x1254();return _0x3808=function(_0x38089c,_0x110a21){_0x38089c=_0x38089c-0x1b8;let _0xe82a87=_0x12540b[_0x38089c];return _0xe82a87;},_0x3808(_0xb76b8,_0x3e7652);}function _0x1254(){const _0x4e2805=['event','680695XVPCuD','_addReviewCheckResult','clear','change:isActivated','isChangeActive','63xlGQdB','getStream','_aiConnector','ready','_documentData','currentError','_results','_changes','reviewCheckResultChangeStatusUpdated','markChangeAsPending','filter','length','set','isRated','459255eDMRQe','_currentError','loading','initialized','status','getActiveChanges','outdated','reviewCheckResultReady','documentData','find','addResultChanges','forceReadyState','reviewName','operation','restart','subTitle','parent','every','reviewCheckResultActivated','1473490wrVzWG','textDelta','268kCvxJa','includes','markChangeAsAccepted','title','_activeRequest','callId','get','_checkIfFinished','dataId','review-metadata','_wasAborted','isActivated','pending','ai-request-aborted','push','_reviewParams','fire','33024480zVCFYv','version','aborted','sendRating','unmodified','error','elements','isAnyChangeActivated','forEach','getContent','accepted','error-general','markChangeAsOutdated','_createApiRequest','error-chunk','deactivateChange','43455FUrAzf','markChangeAsRejected','_reviewArgs','reviewCheckResultAdded','_sendRatingRequest','data','some','updateDocumentData','finished','processedResultsCount','_sourceCheck','hasModifications','message','size','markAllChangesAsAccepted','8627139YEFKRw','change:status','reviewCheckResultDeactivated','abortController','654072rToctY','abort','getChangeById','reviewCheckRunUpdated','activateChange','12bffiRi','start','rejected'];_0x1254=function(){return _0x4e2805;};return _0x1254();}import{ObservableMixin as _0x10622f,uid as _0x14e6f4}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x43c07f}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x1a0fde}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x10622f(){['id']=_0x14e6f4();[_0x1bb500(0x209)];[_0x1bb500(0x1e7)]=new Map();[_0x1bb500(0x1e8)]=[];[_0x1bb500(0x1ca)];[_0x1bb500(0x1e5)];[_0x1bb500(0x1e3)];[_0x1bb500(0x213)];[_0x1bb500(0x1c2)];[_0x1bb500(0x208)]=null;[_0x1bb500(0x1f0)];[_0x1bb500(0x20e)]=!0x1;constructor(_0x4c4889,_0x560200,_0x464183,_0x3e92cb,_0x3edad3){const _0x41bb6a=_0x1bb500;super(),this[_0x41bb6a(0x1ca)]=_0x560200,this[_0x41bb6a(0x1e5)]=_0x4c4889,this[_0x41bb6a(0x1e3)]=_0x464183,this[_0x41bb6a(0x213)]=_0x3e92cb,this[_0x41bb6a(0x1c2)]=_0x3edad3,this['on'](_0x41bb6a(0x1d0),(_0x1aa51b,_0x25383f,_0x29ebf9)=>{const _0x2bd2e6=_0x41bb6a;_0x2bd2e6(0x217)==_0x29ebf9&&(this[_0x2bd2e6(0x20e)]=!0x0),this[_0x2bd2e6(0x214)](_0x2bd2e6(0x1d6),{'status':_0x29ebf9,'run':this,'error':this[_0x2bd2e6(0x1f0)]});}),this[_0x41bb6a(0x1ed)](_0x41bb6a(0x1f3),_0x41bb6a(0x1f2));}get[_0x1bb500(0x1f7)](){const _0x5689ca=_0x1bb500;return this[_0x5689ca(0x1e5)];}get[_0x1bb500(0x1c9)](){const _0x3192ea=_0x1bb500;return this[_0x3192ea(0x1e7)][_0x3192ea(0x1cd)];}get[_0x1bb500(0x207)](){const _0x102730=_0x1bb500;return this[_0x102730(0x1ca)][_0x102730(0x207)];}get[_0x1bb500(0x1fe)](){return'';}get[_0x1bb500(0x1fb)](){const _0xaeb892=_0x1bb500;return this[_0xaeb892(0x1ca)]['id'];}get[_0x1bb500(0x1cb)](){const _0x44c1a4=_0x1bb500;return!this[_0x44c1a4(0x1e8)][_0x44c1a4(0x200)](_0x2b0a7a=>_0x44c1a4(0x210)===_0x2b0a7a[_0x44c1a4(0x1f3)]);}get[_0x1bb500(0x1e6)](){const _0x323822=_0x1bb500;return this[_0x323822(0x1f0)];}[_0x1bb500(0x1c7)](_0x3ce062){const _0x2f0447=_0x1bb500;this[_0x2f0447(0x1e5)]=_0x3ce062;}async[_0x1bb500(0x1d9)](){const _0x517863=_0x1bb500;this[_0x517863(0x1f3)]=_0x517863(0x1f1),this[_0x517863(0x1f0)]=void 0x0;try{this[_0x517863(0x208)]=this[_0x517863(0x1bd)]();const _0xb89757=await this[_0x517863(0x208)][_0x517863(0x1e2)]();this[_0x517863(0x1f3)]=_0x517863(0x1c5);for await(const _0x1b4b6a of _0xb89757)_0x517863(0x219)!==_0x1b4b6a[_0x517863(0x1c5)][_0x517863(0x1fc)]&&(_0x517863(0x21a)!==_0x1b4b6a[_0x517863(0x1c5)][_0x517863(0x1fc)]?_0x517863(0x20d)!==_0x1b4b6a[_0x517863(0x1db)]?this[_0x517863(0x1dd)](_0x1b4b6a[_0x517863(0x1c5)][_0x517863(0x20c)],_0x1b4b6a[_0x517863(0x1c5)][_0x517863(0x203)]):this[_0x517863(0x209)]=_0x1b4b6a[_0x517863(0x1c5)][_0x517863(0x209)]:this[_0x517863(0x1f3)]=_0x517863(0x1be));_0x517863(0x1be)!==this[_0x517863(0x1f3)]&&(0x0===this[_0x517863(0x1e7)][_0x517863(0x1cd)]||0x0===this[_0x517863(0x1e8)][_0x517863(0x1ec)]?this[_0x517863(0x1f3)]=_0x517863(0x219):this[_0x517863(0x1f3)]=_0x517863(0x1e4));}catch(_0x1651f9){this[_0x517863(0x1f0)]=_0x1651f9,_0x1651f9 instanceof Error&&_0x1651f9[_0x517863(0x1cc)][_0x517863(0x205)](_0x517863(0x211))?this[_0x517863(0x1f3)]=_0x517863(0x217):this[_0x517863(0x1f3)]=_0x517863(0x1bb);}finally{this[_0x517863(0x208)]=null;}}async[_0x1bb500(0x1fd)](){const _0xaa2900=_0x1bb500;this[_0xaa2900(0x1e7)][_0xaa2900(0x1de)](),this[_0xaa2900(0x1e8)][_0xaa2900(0x1ec)]=0x0,this[_0xaa2900(0x1f0)]=void 0x0,await this[_0xaa2900(0x1d9)]();}[_0x1bb500(0x1f9)](_0x147f32,_0x411364){const _0x1eb096=_0x1bb500,_0x432074=this[_0x1eb096(0x1e7)][_0x1eb096(0x20a)](_0x147f32);if(!_0x432074)return;if(0x0===_0x411364[_0x1eb096(0x1ec)])return;const _0xd07499=[];_0x411364[_0x1eb096(0x1b8)]((_0x16f16d,_0x7f9067)=>{const _0x58caca=_0x1eb096,_0x4dc661=new _0x1a0fde(_0x432074['id']+'-'+_0x7f9067,_0x16f16d,_0x432074);_0x4dc661['on'](_0x58caca(0x1d0),()=>{const _0x282705=_0x58caca;this[_0x282705(0x214)](_0x282705(0x1e9),{'change':_0x4dc661,'status':_0x4dc661[_0x282705(0x1f3)]});}),_0x4dc661['on'](_0x58caca(0x1df),()=>{const _0x398eb7=_0x58caca;_0x4dc661[_0x398eb7(0x20f)]?this[_0x398eb7(0x214)](_0x398eb7(0x201),{'change':_0x4dc661}):this[_0x398eb7(0x214)](_0x398eb7(0x1d1),{'change':_0x4dc661});}),this[_0x58caca(0x1e8)][_0x58caca(0x212)](_0x4dc661),_0xd07499[_0x58caca(0x212)](_0x4dc661);}),this[_0x1eb096(0x214)](_0x1eb096(0x1f6),{'changes':_0xd07499,'result':_0x432074,'source':this});}[_0x1bb500(0x1d4)](){const _0x1c44a3=_0x1bb500;this[_0x1c44a3(0x208)]&&(this[_0x1c44a3(0x208)][_0x1c44a3(0x1d2)][_0x1c44a3(0x1d4)](),this[_0x1c44a3(0x208)]=null,this[_0x1c44a3(0x1f3)]=_0x1c44a3(0x217));}[_0x1bb500(0x1e0)](_0x4a9c52){const _0x127bda=_0x1bb500,_0x9ff37=this[_0x127bda(0x1e8)][_0x127bda(0x1f8)](_0x3819ef=>_0x3819ef['id']===_0x4a9c52);return!(!_0x9ff37||_0x127bda(0x210)!==_0x9ff37[_0x127bda(0x1f3)]);}[_0x1bb500(0x21c)](){const _0x37d5d2=_0x1bb500;return this[_0x37d5d2(0x1e8)][_0x37d5d2(0x1c6)](_0x9e4918=>!0x0===_0x9e4918[_0x37d5d2(0x20f)]);}[_0x1bb500(0x1f4)](){const _0x9e8b5=_0x1bb500;return this[_0x9e8b5(0x1e8)][_0x9e8b5(0x1eb)](_0x33a9f4=>_0x9e8b5(0x210)===_0x33a9f4[_0x9e8b5(0x1f3)]);}[_0x1bb500(0x1d5)](_0x3f1255){const _0x4e03d8=_0x1bb500;return this[_0x4e03d8(0x1e8)][_0x4e03d8(0x1f8)](_0x364d8a=>_0x364d8a['id']===_0x3f1255);}[_0x1bb500(0x1ce)](){const _0x765dff=_0x1bb500;for(const _0x43fed9 of this[_0x765dff(0x1e8)])_0x765dff(0x210)===_0x43fed9[_0x765dff(0x1f3)]&&(_0x43fed9[_0x765dff(0x1f3)]=_0x765dff(0x1ba));this[_0x765dff(0x20b)]();}[_0x1bb500(0x206)](_0x32ce25){const _0x41790c=_0x1bb500,_0x5adc54=this[_0x41790c(0x1e8)][_0x41790c(0x1f8)](_0x5173ee=>_0x5173ee['id']===_0x32ce25);_0x5adc54&&_0x41790c(0x210)===_0x5adc54[_0x41790c(0x1f3)]&&(_0x5adc54[_0x41790c(0x1f3)]=_0x41790c(0x1ba)),this[_0x41790c(0x20b)]();}[_0x1bb500(0x1c1)](_0x4c29fe){const _0x3d0284=_0x1bb500,_0x2720bf=this[_0x3d0284(0x1e8)][_0x3d0284(0x1f8)](_0x4dd5f6=>_0x4dd5f6['id']===_0x4c29fe);_0x2720bf&&_0x3d0284(0x210)===_0x2720bf[_0x3d0284(0x1f3)]&&(_0x2720bf[_0x3d0284(0x1f3)]=_0x3d0284(0x1da)),this[_0x3d0284(0x20b)]();}[_0x1bb500(0x1bc)](_0x26c313){const _0x162354=_0x1bb500,_0x166057=this[_0x162354(0x1e8)][_0x162354(0x1f8)](_0x3021c5=>_0x3021c5['id']===_0x26c313);_0x166057&&_0x162354(0x210)===_0x166057[_0x162354(0x1f3)]&&(_0x166057[_0x162354(0x1f3)]=_0x162354(0x1f5)),this[_0x162354(0x20b)]();}[_0x1bb500(0x1ea)](_0x3bd091){const _0x575cb8=_0x1bb500,_0x5c2c50=this[_0x575cb8(0x1e8)][_0x575cb8(0x1f8)](_0x492f4f=>_0x492f4f['id']===_0x3bd091);_0x5c2c50&&_0x575cb8(0x1f5)===_0x5c2c50[_0x575cb8(0x1f3)]&&(_0x5c2c50[_0x575cb8(0x1f3)]=_0x575cb8(0x210)),this[_0x575cb8(0x20b)]();}[_0x1bb500(0x1d7)](_0x1a33c5){const _0x17b9f7=_0x1bb500;this[_0x17b9f7(0x1e8)][_0x17b9f7(0x1eb)](_0x1c4993=>_0x1c4993[_0x17b9f7(0x20f)]&&_0x1c4993['id']!==_0x1a33c5)[_0x17b9f7(0x1b8)](_0x556552=>{const _0x3c5981=_0x17b9f7;_0x556552[_0x3c5981(0x20f)]=!0x1;});const _0x5cca01=this[_0x17b9f7(0x1e8)][_0x17b9f7(0x1f8)](_0x5d1946=>_0x5d1946['id']===_0x1a33c5);_0x5cca01&&_0x17b9f7(0x210)===_0x5cca01[_0x17b9f7(0x1f3)]&&(_0x5cca01[_0x17b9f7(0x20f)]=!0x0);}[_0x1bb500(0x1bf)](){const _0x4fc59e=_0x1bb500;this[_0x4fc59e(0x1e8)][_0x4fc59e(0x1eb)](_0x6932ac=>_0x6932ac[_0x4fc59e(0x20f)])[_0x4fc59e(0x1b8)](_0x3d2399=>{const _0x124f86=_0x4fc59e;_0x3d2399[_0x124f86(0x20f)]=!0x1;});}[_0x1bb500(0x1fa)](){const _0x36fbf5=_0x1bb500;this[_0x36fbf5(0x1f3)]=_0x36fbf5(0x1e4);}async[_0x1bb500(0x218)](_0x5567e0){const _0x13d0a8=_0x1bb500;if(_0x13d0a8(0x1f2)===this[_0x13d0a8(0x1f3)]||_0x13d0a8(0x1f1)===this[_0x13d0a8(0x1f3)]||_0x13d0a8(0x1c5)===this[_0x13d0a8(0x1f3)]||this[_0x13d0a8(0x20e)])return;if(!this[_0x13d0a8(0x209)]||0x0===this[_0x13d0a8(0x1e8)][_0x13d0a8(0x1ec)])return;let _0x4bbf38;if(_0x5567e0){const _0x2dbd5c=this[_0x13d0a8(0x1e8)][_0x13d0a8(0x1f8)](_0x4ffe90=>_0x4ffe90['id']===_0x5567e0);if(_0x2dbd5c&&_0x2dbd5c[_0x13d0a8(0x1ee)])return;_0x2dbd5c&&(_0x4bbf38=_0x2dbd5c[_0x13d0a8(0x1ff)]['id'],_0x2dbd5c[_0x13d0a8(0x1ee)]=!0x0);}const _0x3580af={'positiveCount':this[_0x13d0a8(0x1e8)][_0x13d0a8(0x1eb)](_0x1658d8=>_0x13d0a8(0x1ba)===_0x1658d8[_0x13d0a8(0x1f3)])[_0x13d0a8(0x1ec)],'totalCount':this[_0x13d0a8(0x1e8)][_0x13d0a8(0x1ec)]};this[_0x13d0a8(0x1c4)](_0x3580af,this[_0x13d0a8(0x209)],_0x4bbf38);}[_0x1bb500(0x1dd)](_0x594a96,_0x3495f6){const _0x1b616b=_0x1bb500,_0x5a7860=this[_0x1b616b(0x1e5)][_0x1b616b(0x21b)][_0x1b616b(0x20a)](_0x594a96);if(!_0x5a7860)return;const _0x3eb6f7=_0x5a7860[_0x1b616b(0x1b9)]();if(_0x3eb6f7===_0x3495f6)return;const _0x2733a7=new _0x43c07f({'id':_0x594a96,'contentInitial':_0x3eb6f7,'contentNew':_0x3495f6,'documentVersion':this[_0x1b616b(0x1e5)][_0x1b616b(0x216)]});this[_0x1b616b(0x1e7)][_0x1b616b(0x1ed)](_0x2733a7['id'],_0x2733a7),this[_0x1b616b(0x214)](_0x1b616b(0x1c3),{'result':_0x2733a7,'source':this});}[_0x1bb500(0x20b)](){const _0x11ad98=_0x1bb500;_0x11ad98(0x1c8)===this[_0x11ad98(0x1f3)]&&(this[_0x11ad98(0x1e8)][_0x11ad98(0x1eb)](_0x588cc7=>_0x11ad98(0x210)===_0x588cc7[_0x11ad98(0x1f3)])[_0x11ad98(0x1ec)]>0x0&&(this[_0x11ad98(0x1f3)]=_0x11ad98(0x1e4))),_0x11ad98(0x1e4)===this[_0x11ad98(0x1f3)]&&(0x0===this[_0x11ad98(0x1e8)][_0x11ad98(0x1eb)](_0x31ded6=>_0x11ad98(0x210)===_0x31ded6[_0x11ad98(0x1f3)])[_0x11ad98(0x1ec)]&&(this[_0x11ad98(0x1f3)]=_0x11ad98(0x1c8)));}}
|
|
23
|
+
const _0xd8a282=_0x492c;function _0x492c(_0x1dede6,_0x520386){const _0x40c0d0=_0x40c0();return _0x492c=function(_0x492c8,_0x3cfd70){_0x492c8=_0x492c8-0x11d;let _0x1700e9=_0x40c0d0[_0x492c8];return _0x1700e9;},_0x492c(_0x1dede6,_0x520386);}(function(_0x386f15,_0x379660){const _0xb4955c=_0x492c,_0x5554ce=_0x386f15();while(!![]){try{const _0x1e068d=-parseInt(_0xb4955c(0x12c))/0x1*(parseInt(_0xb4955c(0x13a))/0x2)+parseInt(_0xb4955c(0x123))/0x3*(parseInt(_0xb4955c(0x161))/0x4)+-parseInt(_0xb4955c(0x157))/0x5*(parseInt(_0xb4955c(0x146))/0x6)+parseInt(_0xb4955c(0x154))/0x7*(-parseInt(_0xb4955c(0x15f))/0x8)+-parseInt(_0xb4955c(0x138))/0x9*(-parseInt(_0xb4955c(0x163))/0xa)+parseInt(_0xb4955c(0x14c))/0xb+parseInt(_0xb4955c(0x129))/0xc*(parseInt(_0xb4955c(0x136))/0xd);if(_0x1e068d===_0x379660)break;else _0x5554ce['push'](_0x5554ce['shift']());}catch(_0x2d5857){_0x5554ce['push'](_0x5554ce['shift']());}}}(_0x40c0,0xc2ab5));import{ObservableMixin as _0xb54ff7,uid as _0x52aa25}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0xbfe31a}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x2ea548}from'./aireviewcheckresultchange.js';function _0x40c0(){const _0x4a97a9=['title','markChangeAsAccepted','317rRmyRB','rejected','abortController','some','size','loading','data','forceReadyState','filter','_currentError','626223XpmwAH','markAllChangesAsAccepted','6922890HYEiju','reviewCheckResultActivated','9138YfdnIh','_changes','processedResultsCount','change:status','abort','initialized','updateDocumentData','every','_reviewParams','aborted','version','pending','6978xIsxsW','review-metadata','get','hasModifications','accepted','forEach','11001320oigJzD','callId','status','unmodified','operation','getStream','start','subTitle','1678929fDnYgI','deactivateChange','fire','6505kiGQUr','currentError','isRated','_activeRequest','_sourceCheck','change:isActivated','restart','markChangeAsOutdated','24YvtOTc','reviewCheckResultAdded','8HQdIsV','isChangeActive','10jBtCwM','_createApiRequest','_results','event','set','finished','addResultChanges','error-general','_aiConnector','isActivated','error-chunk','dataId','reviewCheckResultReady','find','isAnyChangeActivated','elements','sendRating','getChangeById','reviewCheckResultChangeStatusUpdated','reviewName','reviewCheckRunUpdated','_reviewArgs','push','getContent','activateChange','_documentData','_addReviewCheckResult','reviewCheckResultDeactivated','outdated','clear','getActiveChanges','length','markChangeAsRejected','markChangeAsPending','ready','parent','_sendRatingRequest','ai-request-aborted','error','includes','1462284jYhdqW','_checkIfFinished','message','documentData','textDelta','_wasAborted','432lpKAQJ'];_0x40c0=function(){return _0x4a97a9;};return _0x40c0();}export class AIReviewCheckRun extends _0xb54ff7(){['id']=_0x52aa25();[_0xd8a282(0x14d)];[_0xd8a282(0x165)]=new Map();[_0xd8a282(0x13b)]=[];[_0xd8a282(0x15b)];[_0xd8a282(0x17c)];[_0xd8a282(0x16b)];[_0xd8a282(0x142)];[_0xd8a282(0x178)];[_0xd8a282(0x15a)]=null;[_0xd8a282(0x135)];[_0xd8a282(0x128)]=!0x1;constructor(_0x4e9d6d,_0x3fc48b,_0x5d5d1e,_0x4a3256,_0x9e46b3){const _0xbd5819=_0xd8a282;super(),this[_0xbd5819(0x15b)]=_0x3fc48b,this[_0xbd5819(0x17c)]=_0x4e9d6d,this[_0xbd5819(0x16b)]=_0x5d5d1e,this[_0xbd5819(0x142)]=_0x4a3256,this[_0xbd5819(0x178)]=_0x9e46b3,this['on'](_0xbd5819(0x13d),(_0x198eb7,_0x3973bd,_0x3a209b)=>{const _0x33a81f=_0xbd5819;_0x33a81f(0x143)==_0x3a209b&&(this[_0x33a81f(0x128)]=!0x0),this[_0x33a81f(0x156)](_0x33a81f(0x177),{'status':_0x3a209b,'run':this,'error':this[_0x33a81f(0x135)]});}),this[_0xbd5819(0x167)](_0xbd5819(0x14e),_0xbd5819(0x13f));}get[_0xd8a282(0x126)](){const _0x588fb2=_0xd8a282;return this[_0x588fb2(0x17c)];}get[_0xd8a282(0x13c)](){const _0x408e56=_0xd8a282;return this[_0x408e56(0x165)][_0x408e56(0x130)];}get[_0xd8a282(0x12a)](){const _0x47b695=_0xd8a282;return this[_0x47b695(0x15b)][_0x47b695(0x12a)];}get[_0xd8a282(0x153)](){return'';}get[_0xd8a282(0x176)](){const _0x2ea1fc=_0xd8a282;return this[_0x2ea1fc(0x15b)]['id'];}get[_0xd8a282(0x149)](){const _0x10a646=_0xd8a282;return!this[_0x10a646(0x13b)][_0x10a646(0x141)](_0xa30dbf=>_0x10a646(0x145)===_0xa30dbf[_0x10a646(0x14e)]);}get[_0xd8a282(0x158)](){const _0x3698d0=_0xd8a282;return this[_0x3698d0(0x135)];}[_0xd8a282(0x140)](_0x81c233){const _0x4ad0fb=_0xd8a282;this[_0x4ad0fb(0x17c)]=_0x81c233;}async[_0xd8a282(0x152)](){const _0x1c6766=_0xd8a282;this[_0x1c6766(0x14e)]=_0x1c6766(0x131),this[_0x1c6766(0x135)]=void 0x0;try{this[_0x1c6766(0x15a)]=this[_0x1c6766(0x164)]();const _0x21af71=await this[_0x1c6766(0x15a)][_0x1c6766(0x151)]();this[_0x1c6766(0x14e)]=_0x1c6766(0x132);for await(const _0x4c21c5 of _0x21af71)_0x1c6766(0x14f)!==_0x4c21c5[_0x1c6766(0x132)][_0x1c6766(0x150)]&&(_0x1c6766(0x121)!==_0x4c21c5[_0x1c6766(0x132)][_0x1c6766(0x150)]?_0x1c6766(0x147)!==_0x4c21c5[_0x1c6766(0x166)]?this[_0x1c6766(0x17d)](_0x4c21c5[_0x1c6766(0x132)][_0x1c6766(0x16e)],_0x4c21c5[_0x1c6766(0x132)][_0x1c6766(0x127)]):this[_0x1c6766(0x14d)]=_0x4c21c5[_0x1c6766(0x132)][_0x1c6766(0x14d)]:this[_0x1c6766(0x14e)]=_0x1c6766(0x16d));_0x1c6766(0x16d)!==this[_0x1c6766(0x14e)]&&(0x0===this[_0x1c6766(0x165)][_0x1c6766(0x130)]||0x0===this[_0x1c6766(0x13b)][_0x1c6766(0x182)]?this[_0x1c6766(0x14e)]=_0x1c6766(0x14f):this[_0x1c6766(0x14e)]=_0x1c6766(0x11d));}catch(_0x40a58a){this[_0x1c6766(0x135)]=_0x40a58a,_0x40a58a instanceof Error&&_0x40a58a[_0x1c6766(0x125)][_0x1c6766(0x122)](_0x1c6766(0x120))?this[_0x1c6766(0x14e)]=_0x1c6766(0x143):this[_0x1c6766(0x14e)]=_0x1c6766(0x16a);}finally{this[_0x1c6766(0x15a)]=null;}}async[_0xd8a282(0x15d)](){const _0x730f2f=_0xd8a282;this[_0x730f2f(0x165)][_0x730f2f(0x180)](),this[_0x730f2f(0x13b)][_0x730f2f(0x182)]=0x0,this[_0x730f2f(0x135)]=void 0x0,await this[_0x730f2f(0x152)]();}[_0xd8a282(0x169)](_0x297336,_0x443c67){const _0x18a519=_0xd8a282,_0x38e720=this[_0x18a519(0x165)][_0x18a519(0x148)](_0x297336);if(!_0x38e720)return;if(0x0===_0x443c67[_0x18a519(0x182)])return;const _0x2d2068=[];_0x443c67[_0x18a519(0x14b)]((_0x5a2ff2,_0xa89e6c)=>{const _0xef5b16=_0x18a519,_0x4fe1b0=new _0x2ea548(_0x38e720['id']+'-'+_0xa89e6c,_0x5a2ff2,_0x38e720);_0x4fe1b0['on'](_0xef5b16(0x13d),()=>{const _0x870539=_0xef5b16;this[_0x870539(0x156)](_0x870539(0x175),{'change':_0x4fe1b0,'status':_0x4fe1b0[_0x870539(0x14e)]});}),_0x4fe1b0['on'](_0xef5b16(0x15c),()=>{const _0xcb6358=_0xef5b16;_0x4fe1b0[_0xcb6358(0x16c)]?this[_0xcb6358(0x156)](_0xcb6358(0x139),{'change':_0x4fe1b0}):this[_0xcb6358(0x156)](_0xcb6358(0x17e),{'change':_0x4fe1b0});}),this[_0xef5b16(0x13b)][_0xef5b16(0x179)](_0x4fe1b0),_0x2d2068[_0xef5b16(0x179)](_0x4fe1b0);}),this[_0x18a519(0x156)](_0x18a519(0x16f),{'changes':_0x2d2068,'result':_0x38e720,'source':this});}[_0xd8a282(0x13e)](){const _0x113427=_0xd8a282;this[_0x113427(0x15a)]&&(this[_0x113427(0x15a)][_0x113427(0x12e)][_0x113427(0x13e)](),this[_0x113427(0x15a)]=null,this[_0x113427(0x14e)]=_0x113427(0x143));}[_0xd8a282(0x162)](_0x282d08){const _0x2d8f89=_0xd8a282,_0x579741=this[_0x2d8f89(0x13b)][_0x2d8f89(0x170)](_0x23775a=>_0x23775a['id']===_0x282d08);return!(!_0x579741||_0x2d8f89(0x145)!==_0x579741[_0x2d8f89(0x14e)]);}[_0xd8a282(0x171)](){const _0x162722=_0xd8a282;return this[_0x162722(0x13b)][_0x162722(0x12f)](_0x5b91a8=>!0x0===_0x5b91a8[_0x162722(0x16c)]);}[_0xd8a282(0x181)](){const _0x4ff714=_0xd8a282;return this[_0x4ff714(0x13b)][_0x4ff714(0x134)](_0x276c76=>_0x4ff714(0x145)===_0x276c76[_0x4ff714(0x14e)]);}[_0xd8a282(0x174)](_0x2d59b1){const _0x2c740c=_0xd8a282;return this[_0x2c740c(0x13b)][_0x2c740c(0x170)](_0x2898a5=>_0x2898a5['id']===_0x2d59b1);}[_0xd8a282(0x137)](){const _0x2276c4=_0xd8a282;for(const _0x3b58a0 of this[_0x2276c4(0x13b)])_0x2276c4(0x145)===_0x3b58a0[_0x2276c4(0x14e)]&&(_0x3b58a0[_0x2276c4(0x14e)]=_0x2276c4(0x14a));this[_0x2276c4(0x124)]();}[_0xd8a282(0x12b)](_0x36761f){const _0x19ed7a=_0xd8a282,_0x4e974d=this[_0x19ed7a(0x13b)][_0x19ed7a(0x170)](_0x41890b=>_0x41890b['id']===_0x36761f);_0x4e974d&&_0x19ed7a(0x145)===_0x4e974d[_0x19ed7a(0x14e)]&&(_0x4e974d[_0x19ed7a(0x14e)]=_0x19ed7a(0x14a)),this[_0x19ed7a(0x124)]();}[_0xd8a282(0x183)](_0x55f561){const _0x4f1990=_0xd8a282,_0xd4cf8=this[_0x4f1990(0x13b)][_0x4f1990(0x170)](_0x462e58=>_0x462e58['id']===_0x55f561);_0xd4cf8&&_0x4f1990(0x145)===_0xd4cf8[_0x4f1990(0x14e)]&&(_0xd4cf8[_0x4f1990(0x14e)]=_0x4f1990(0x12d)),this[_0x4f1990(0x124)]();}[_0xd8a282(0x15e)](_0x4e339c){const _0x4f7883=_0xd8a282,_0x24af77=this[_0x4f7883(0x13b)][_0x4f7883(0x170)](_0x13ca06=>_0x13ca06['id']===_0x4e339c);_0x24af77&&_0x4f7883(0x145)===_0x24af77[_0x4f7883(0x14e)]&&(_0x24af77[_0x4f7883(0x14e)]=_0x4f7883(0x17f)),this[_0x4f7883(0x124)]();}[_0xd8a282(0x184)](_0x29dc3f){const _0x3afded=_0xd8a282,_0x4e9382=this[_0x3afded(0x13b)][_0x3afded(0x170)](_0x5e333c=>_0x5e333c['id']===_0x29dc3f);_0x4e9382&&_0x3afded(0x17f)===_0x4e9382[_0x3afded(0x14e)]&&(_0x4e9382[_0x3afded(0x14e)]=_0x3afded(0x145)),this[_0x3afded(0x124)]();}[_0xd8a282(0x17b)](_0x3f51a0){const _0x306e8b=_0xd8a282;this[_0x306e8b(0x13b)][_0x306e8b(0x134)](_0x1960f4=>_0x1960f4[_0x306e8b(0x16c)]&&_0x1960f4['id']!==_0x3f51a0)[_0x306e8b(0x14b)](_0x4952d1=>{const _0x4be45f=_0x306e8b;_0x4952d1[_0x4be45f(0x16c)]=!0x1;});const _0x44f552=this[_0x306e8b(0x13b)][_0x306e8b(0x170)](_0x1323ad=>_0x1323ad['id']===_0x3f51a0);_0x44f552&&_0x306e8b(0x145)===_0x44f552[_0x306e8b(0x14e)]&&(_0x44f552[_0x306e8b(0x16c)]=!0x0);}[_0xd8a282(0x155)](){const _0x3e2d8a=_0xd8a282;this[_0x3e2d8a(0x13b)][_0x3e2d8a(0x134)](_0x9ac9f5=>_0x9ac9f5[_0x3e2d8a(0x16c)])[_0x3e2d8a(0x14b)](_0x37df62=>{const _0x327937=_0x3e2d8a;_0x37df62[_0x327937(0x16c)]=!0x1;});}[_0xd8a282(0x133)](){const _0x55e242=_0xd8a282;this[_0x55e242(0x14e)]=_0x55e242(0x11d);}async[_0xd8a282(0x173)](_0xb43ebe){const _0x4e1d5b=_0xd8a282;if(_0x4e1d5b(0x13f)===this[_0x4e1d5b(0x14e)]||_0x4e1d5b(0x131)===this[_0x4e1d5b(0x14e)]||_0x4e1d5b(0x132)===this[_0x4e1d5b(0x14e)]||this[_0x4e1d5b(0x128)])return;if(!this[_0x4e1d5b(0x14d)]||0x0===this[_0x4e1d5b(0x13b)][_0x4e1d5b(0x182)])return;let _0x138797;if(_0xb43ebe){const _0x338773=this[_0x4e1d5b(0x13b)][_0x4e1d5b(0x170)](_0x2e2ed6=>_0x2e2ed6['id']===_0xb43ebe);if(_0x338773&&_0x338773[_0x4e1d5b(0x159)])return;_0x338773&&(_0x138797=_0x338773[_0x4e1d5b(0x11e)]['id'],_0x338773[_0x4e1d5b(0x159)]=!0x0);}const _0x52c426={'positiveCount':this[_0x4e1d5b(0x13b)][_0x4e1d5b(0x134)](_0x1e2830=>_0x4e1d5b(0x14a)===_0x1e2830[_0x4e1d5b(0x14e)])[_0x4e1d5b(0x182)],'totalCount':this[_0x4e1d5b(0x13b)][_0x4e1d5b(0x182)]};this[_0x4e1d5b(0x11f)](_0x52c426,this[_0x4e1d5b(0x14d)],_0x138797);}[_0xd8a282(0x17d)](_0x453f83,_0x3e693e){const _0x3539b2=_0xd8a282,_0x2cdd18=this[_0x3539b2(0x17c)][_0x3539b2(0x172)][_0x3539b2(0x148)](_0x453f83);if(!_0x2cdd18)return;const _0x16b0ab=_0x2cdd18[_0x3539b2(0x17a)]();if(_0x16b0ab===_0x3e693e)return;const _0x1608b0=new _0xbfe31a({'id':_0x453f83,'contentInitial':_0x16b0ab,'contentNew':_0x3e693e,'documentVersion':this[_0x3539b2(0x17c)][_0x3539b2(0x144)]});this[_0x3539b2(0x165)][_0x3539b2(0x167)](_0x1608b0['id'],_0x1608b0),this[_0x3539b2(0x156)](_0x3539b2(0x160),{'result':_0x1608b0,'source':this});}[_0xd8a282(0x124)](){const _0x544bb2=_0xd8a282;_0x544bb2(0x168)===this[_0x544bb2(0x14e)]&&(this[_0x544bb2(0x13b)][_0x544bb2(0x134)](_0x448db4=>_0x544bb2(0x145)===_0x448db4[_0x544bb2(0x14e)])[_0x544bb2(0x182)]>0x0&&(this[_0x544bb2(0x14e)]=_0x544bb2(0x11d))),_0x544bb2(0x11d)===this[_0x544bb2(0x14e)]&&(0x0===this[_0x544bb2(0x13b)][_0x544bb2(0x134)](_0x107477=>_0x544bb2(0x145)===_0x107477[_0x544bb2(0x14e)])[_0x544bb2(0x182)]&&(this[_0x544bb2(0x14e)]=_0x544bb2(0x168)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x215b47=_0x1735;(function(_0xb3b4a2,_0x50aa83){const _0x2e34fd=_0x1735,_0x2b8ff8=_0xb3b4a2();while(!![]){try{const _0x2d304c=parseInt(_0x2e34fd(0x1b2))/0x1*(-parseInt(_0x2e34fd(0x1ab))/0x2)+-parseInt(_0x2e34fd(0x1b6))/0x3*(parseInt(_0x2e34fd(0x1af))/0x4)+-parseInt(_0x2e34fd(0x1b3))/0x5*(-parseInt(_0x2e34fd(0x1b8))/0x6)+parseInt(_0x2e34fd(0x1b0))/0x7*(parseInt(_0x2e34fd(0x1a1))/0x8)+-parseInt(_0x2e34fd(0x1b9))/0x9+-parseInt(_0x2e34fd(0x1bb))/0xa*(parseInt(_0x2e34fd(0x19c))/0xb)+-parseInt(_0x2e34fd(0x1b7))/0xc*(-parseInt(_0x2e34fd(0x1a5))/0xd);if(_0x2d304c===_0x50aa83)break;else _0x2b8ff8['push'](_0x2b8ff8['shift']());}catch(_0x38aedc){_0x2b8ff8['push'](_0x2b8ff8['shift']());}}}(_0x4ab2,0xe384a));import{AIReviewCheckRun as _0x519d56}from'./aireviewcheckrun.js';function _0x1735(_0x377177,_0x1530cb){const _0x4ab222=_0x4ab2();return _0x1735=function(_0x1735e6,_0x53abe0){_0x1735e6=_0x1735e6-0x199;let _0x14ac0d=_0x4ab222[_0x1735e6];return _0x14ac0d;},_0x1735(_0x377177,_0x1530cb);}function _0x4ab2(){const _0x10c13d=['push','_documentData','useArgs','13znWaMy','options','length','join','_sendRatingRequest','_aiConnector','32666ZDHCqx','upsertAIReviewRating','data','_reviewArgs','15728LEjwUo','39473OpPiMB','reviewName','37OtToaS','20ircrCI','subTitle','content','1029aotUlB','59032488MLaSnH','420114IjZECS','13003380TGXHDY','_composeReviewName','30yZcaBO','_sourceCheck','callSystemReview','_createApiRequest','6621241KpPGrG','label','find','apiId','_reviewParams','1328NURUUe'];_0x4ab2=function(){return _0x10c13d;};return _0x4ab2();}export class AIReviewSystemCheckRun extends _0x519d56{get[_0x215b47(0x1b4)](){const _0x4b7f38=_0x215b47;if(!this[_0x4b7f38(0x1a0)]||0x0===this[_0x4b7f38(0x1a0)][_0x4b7f38(0x1a7)])return'';const _0x3fb710=[];if(this[_0x4b7f38(0x1a0)][_0x4b7f38(0x1a7)]>0x0&&this[_0x4b7f38(0x199)][_0x4b7f38(0x1a6)])for(let _0x5caa21=0x0;_0x5caa21<this[_0x4b7f38(0x1a0)][_0x4b7f38(0x1a7)];_0x5caa21++){if(!this[_0x4b7f38(0x1a0)][_0x5caa21]||!this[_0x4b7f38(0x199)][_0x4b7f38(0x1a6)][_0x5caa21])continue;const _0x41922c=this[_0x4b7f38(0x199)][_0x4b7f38(0x1a6)][_0x5caa21],_0x147751=_0x41922c[_0x4b7f38(0x1ad)]?.[_0x4b7f38(0x19e)](_0x5468b7=>_0x5468b7['id']===this[_0x4b7f38(0x1a0)][_0x5caa21]);_0x147751&&_0x3fb710[_0x4b7f38(0x1a2)](_0x147751[_0x4b7f38(0x19d)]);}return _0x3fb710[_0x4b7f38(0x1a8)](',\x20');}get[_0x215b47(0x1b1)](){const _0xc4037d=_0x215b47;return this[_0xc4037d(0x1ba)]();}[_0x215b47(0x19b)](){const _0x4be82b=_0x215b47;return this[_0x4be82b(0x1aa)][_0x4be82b(0x19a)]({'reviewName':this[_0x4be82b(0x1ba)](),'content':this[_0x4be82b(0x1a3)][_0x4be82b(0x1b5)],'args':this[_0x4be82b(0x1ae)]});}[_0x215b47(0x1a9)](_0x2fc429,_0x2b7564,_0x30a000){const _0x447e65=_0x215b47;return this[_0x447e65(0x1aa)][_0x447e65(0x1ac)](this[_0x447e65(0x1b1)],_0x2b7564,_0x2fc429,_0x30a000);}[_0x215b47(0x1ba)](){const _0x163108=_0x215b47;return!this[_0x163108(0x1a0)]||0x0===this[_0x163108(0x1a0)][_0x163108(0x1a7)]||this[_0x163108(0x199)][_0x163108(0x1a4)]?this[_0x163108(0x199)][_0x163108(0x19f)]:[this[_0x163108(0x199)][_0x163108(0x19f)],...this[_0x163108(0x1a0)]][_0x163108(0x1a8)]('-');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3379(){const _0x589bf1=['innerHTML','content','contentDiffed','1413306TIuJgZ','_pinnedRectIndex','ck-reset','57246MQgIKW','_createContentView','2315988yTSqJl','push','right','_setupClickOutsideHandler','9RKulEJ','ck-ai_review-balloon-panel-suggestion_diff-active','arrow_se','fire','showDiffInBalloon','isVisible','resultItemView','8940RmxhYY','balloon','665okoPfQ','dismissChange','element','updateContent','delegate','width','_getBestRectPositionOnHover','from','div','hover','getIntersection','add','_getBestRectPositionOnClick','getBoundingClientRect','deactivateChange','_pinnedTargetElement','4092680NQyMTq','_getPointedRectIndexFromEvent','setTemplate','isDiffActive','replace','pin','show','getClientRects','extendTemplate','clientY','locale','position','ck-content','set','top','left','unpin','changeId','clientX','resultResponseView','ck-ai_review__suggestion-text','arrow_','click','showBalloon','forEach','8NGsXbM','render','hide','showDiff','1286269qXjcZX','length','ck-ai_review-balloon-panel-suggestion','reverse','hideDiffInBalloon','documentElement','_pinnedTargetChangeId','bindTemplate','acceptChange','16986370QQaiGd','bottom','hideBalloon','_isPinnedRectVisible'];_0x3379=function(){return _0x589bf1;};return _0x3379();}const _0x48a111=_0x6c95;(function(_0x11f300,_0x1063bf){const _0x4d3bd7=_0x6c95,_0x372319=_0x11f300();while(!![]){try{const _0xc9c58d=parseInt(_0x4d3bd7(0x1ae))/0x1+-parseInt(_0x4d3bd7(0x1aa))/0x2*(parseInt(_0x4d3bd7(0x1be))/0x3)+parseInt(_0x4d3bd7(0x1c3))/0x4+-parseInt(_0x4d3bd7(0x181))/0x5*(parseInt(_0x4d3bd7(0x17f))/0x6)+parseInt(_0x4d3bd7(0x1c1))/0x7+parseInt(_0x4d3bd7(0x191))/0x8*(-parseInt(_0x4d3bd7(0x178))/0x9)+parseInt(_0x4d3bd7(0x1b7))/0xa;if(_0xc9c58d===_0x1063bf)break;else _0x372319['push'](_0x372319['shift']());}catch(_0x1a2ece){_0x372319['push'](_0x372319['shift']());}}}(_0x3379,0xeebfe));import{Rect as _0x2fdf9,getConstrainedViewportRect as _0x26831a}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x3e42aa,View as _0x24bf69,clickOutsideHandler as _0x4cffd1}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCheckListItemResultsView as _0xa31570}from'./aireviewcorechecklistitemresultview.js';import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';function _0x6c95(_0xecf341,_0x4b6b13){const _0x33795a=_0x3379();return _0x6c95=function(_0x6c9571,_0x148eba){_0x6c9571=_0x6c9571-0x178;let _0x421db5=_0x33795a[_0x6c9571];return _0x421db5;},_0x6c95(_0xecf341,_0x4b6b13);}import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreBalloonSuggestionItemView extends _0x3e42aa{[_0x48a111(0x17e)];[_0x48a111(0x1bf)]=void 0x0;[_0x48a111(0x190)]=void 0x0;[_0x48a111(0x1b4)]=void 0x0;constructor(_0x460585,_0x9e1321){const _0x7487a6=_0x48a111;super(_0x460585),this[_0x7487a6(0x19e)]({'isVisible':!0x1,'position':_0x7487a6(0x17a),'class':null,'top':0x0,'left':0x0}),this[_0x7487a6(0x199)]({'tag':_0x7487a6(0x189),'attributes':{'class':[_0x7487a6(0x1c0)],'tabindex':'-1'}}),this[_0x7487a6(0x19e)](_0x7487a6(0x194),!0x1),this[_0x7487a6(0x1bc)][_0x7487a6(0x18c)](this[_0x7487a6(0x1c2)]()),_0x9e1321[_0x7487a6(0x18c)](this);}[_0x48a111(0x1ab)](){const _0x2c0f1b=_0x48a111;super[_0x2c0f1b(0x1ab)](),this[_0x2c0f1b(0x1c6)]();}[_0x48a111(0x184)](_0x3a53b8){const _0x19aaf4=_0x48a111;this[_0x19aaf4(0x17e)][_0x19aaf4(0x1a2)]=_0x3a53b8['id'],this[_0x19aaf4(0x17e)][_0x19aaf4(0x1a4)][_0x19aaf4(0x183)][_0x19aaf4(0x1bb)]=_0x3a53b8[_0x19aaf4(0x1bd)];}[_0x48a111(0x1a8)](_0x39a08a,_0x35b05b,_0x5db439,_0x46f2e1,_0x4241b6,_0x1484ad){const _0x9a4c06=_0x48a111,_0x21ca17=_0x35b05b();if(!_0x21ca17)return;this[_0x9a4c06(0x184)](_0x39a08a),this[_0x9a4c06(0x197)]();const _0x4ebfea=Array[_0x9a4c06(0x188)](_0x21ca17[_0x9a4c06(0x198)]())[_0x9a4c06(0x1b1)](),_0x46ce4f=this[_0x9a4c06(0x192)](_0x5db439,_0x4ebfea),_0x17d634=_0x4ebfea[_0x46ce4f??0x0];_0x9a4c06(0x1a7)===_0x46f2e1?(this[_0x9a4c06(0x194)]=!0x0,this[_0x9a4c06(0x196)]({'target':()=>this[_0x9a4c06(0x18d)](_0x35b05b(),_0x46ce4f,_0x39a08a['id'],_0x4241b6,_0x1484ad)||_0x17d634})):_0x9a4c06(0x18a)===_0x46f2e1&&(this[_0x9a4c06(0x194)]=!0x1,this[_0x9a4c06(0x196)]({'target':()=>this[_0x9a4c06(0x187)](_0x35b05b(),_0x46ce4f,_0x39a08a['id'])||_0x17d634}));}[_0x48a111(0x1b9)](){const _0xc01ff2=_0x48a111;this[_0xc01ff2(0x1ac)](),this[_0xc01ff2(0x1a1)](),this[_0xc01ff2(0x1bf)]=void 0x0,this[_0xc01ff2(0x190)]=void 0x0,this[_0xc01ff2(0x1b4)]=void 0x0;}[_0x48a111(0x1b2)](){const _0x45b4d5=_0x48a111;this[_0x45b4d5(0x17e)][_0x45b4d5(0x1ad)]=!0x1;}[_0x48a111(0x17c)](){const _0x4bc685=_0x48a111;this[_0x4bc685(0x17e)][_0x4bc685(0x1ad)]=!0x0;}[_0x48a111(0x18f)](){const _0x3f447e=_0x48a111;this[_0x3f447e(0x17b)](_0x3f447e(0x18f),{'origin':_0x3f447e(0x180)});}[_0x48a111(0x1c6)](){const _0xfe0ecf=_0x48a111;_0x4cffd1({'emitter':this,'activator':()=>this[_0xfe0ecf(0x17d)],'contextElements':()=>{const _0x901ea6=_0xfe0ecf,_0x56cd22=[this[_0x901ea6(0x183)]];return this[_0x901ea6(0x190)]&&_0x56cd22[_0x901ea6(0x1c4)](this[_0x901ea6(0x190)]),_0x56cd22;},'callback':()=>{const _0x2fb59a=_0xfe0ecf;this[_0x2fb59a(0x1ac)](),this[_0x2fb59a(0x1a1)](),this[_0x2fb59a(0x18f)](),this[_0x2fb59a(0x190)]=void 0x0,this[_0x2fb59a(0x1bf)]=void 0x0,this[_0x2fb59a(0x1b4)]=void 0x0;}});}[_0x48a111(0x1c2)](){const _0xa31be5=_0x48a111,_0x4126ea=new _0x24bf69();return this[_0xa31be5(0x17e)]=new _0xa31570(this[_0xa31be5(0x19b)],''),this[_0xa31be5(0x17e)][_0xa31be5(0x1a4)][_0xa31be5(0x199)]({'attributes':{'class':[_0xa31be5(0x19d)]}}),this[_0xa31be5(0x17e)][_0xa31be5(0x185)](_0xa31be5(0x1b6),_0xa31be5(0x182))['to'](this),_0x4126ea[_0xa31be5(0x193)]({'tag':_0xa31be5(0x189),'attributes':{'class':[_0xa31be5(0x1c0),_0xa31be5(0x1b0),this[_0xa31be5(0x1b5)]['if'](_0xa31be5(0x194),_0xa31be5(0x179))]},'children':[{'tag':'p','attributes':{'class':[_0xa31be5(0x1a5)]},'children':[this[_0xa31be5(0x17e)]]}]}),_0x4126ea;}[_0x48a111(0x18d)](_0x47dfc6,_0x23ac81,_0x1d2be0,_0x5c8ee6,_0x4c27f7){const _0x149245=_0x48a111;if(!_0x47dfc6)return null;const _0x37a6de=this[_0x149245(0x19c)][_0x149245(0x195)](_0x149245(0x1a6),''),_0x55c1e0=Array[_0x149245(0x188)](_0x47dfc6[_0x149245(0x198)]());let _0x135e8e,_0x26faab=_0x55c1e0[_0x149245(0x1b1)]();return void 0x0!==_0x23ac81&&this[_0x149245(0x1ba)](_0x26faab[_0x23ac81],_0x5c8ee6,_0x4c27f7)?(_0x135e8e=_0x26faab[_0x23ac81],this[_0x149245(0x1bf)]=_0x23ac81):this[_0x149245(0x1ba)](_0x26faab[0x0],_0x5c8ee6,_0x4c27f7)&&void 0x0===_0x23ac81?_0x135e8e=_0x26faab[0x0]:(_0x26faab='s'==_0x37a6de[0x0]?[..._0x55c1e0][_0x149245(0x1b1)]():_0x55c1e0,_0x26faab[_0x149245(0x1a9)](_0x52a2ac=>{const _0x2e0ffd=_0x149245;this[_0x2e0ffd(0x1ba)](_0x52a2ac,_0x5c8ee6,_0x4c27f7)&&(_0x135e8e=_0x52a2ac);})),this[_0x149245(0x1b4)]=_0x1d2be0,this[_0x149245(0x190)]=_0x47dfc6,_0x135e8e||_0x47dfc6[_0x149245(0x18e)]();}[_0x48a111(0x187)](_0x46c0af,_0x5a2cb2,_0x446612){const _0x31ca0e=_0x48a111;if(!_0x46c0af)return null;const _0x39ab22=Array[_0x31ca0e(0x188)](_0x46c0af[_0x31ca0e(0x198)]())[_0x31ca0e(0x1b1)]();if(void 0x0===this[_0x31ca0e(0x1bf)]&&void 0x0!==_0x5a2cb2&&this[_0x31ca0e(0x1b4)]!==_0x446612)return this[_0x31ca0e(0x1bf)]=_0x5a2cb2,this[_0x31ca0e(0x190)]=_0x46c0af,this[_0x31ca0e(0x1b4)]=_0x446612,_0x39ab22[_0x5a2cb2];if(void 0x0!==this[_0x31ca0e(0x1bf)]&&this[_0x31ca0e(0x1b4)]===_0x446612){if(_0x46c0af!==this[_0x31ca0e(0x190)])return Array[_0x31ca0e(0x188)](this[_0x31ca0e(0x190)][_0x31ca0e(0x198)]())[_0x31ca0e(0x1b1)]()[this[_0x31ca0e(0x1bf)]];return _0x39ab22[this[_0x31ca0e(0x1bf)]];}return void 0x0!==_0x5a2cb2&&this[_0x31ca0e(0x1b4)]!==_0x446612?(this[_0x31ca0e(0x1bf)]=_0x5a2cb2,this[_0x31ca0e(0x190)]=_0x46c0af,this[_0x31ca0e(0x1b4)]=_0x446612,_0x39ab22[_0x5a2cb2]):_0x46c0af[_0x31ca0e(0x18e)]();}[_0x48a111(0x192)](_0x516180,_0x195cbd){const _0x24a1e1=_0x48a111;if(_0x516180)for(let _0x2cf697=0x0;_0x2cf697<_0x195cbd[_0x24a1e1(0x1af)];_0x2cf697++){const _0x464948=_0x195cbd[_0x2cf697];if(_0x516180[_0x24a1e1(0x1a3)]>=_0x464948[_0x24a1e1(0x1a0)]-0x3&&_0x516180[_0x24a1e1(0x1a3)]<=_0x464948[_0x24a1e1(0x1c5)]+0x3&&_0x516180[_0x24a1e1(0x19a)]>=_0x464948[_0x24a1e1(0x19f)]-0x3&&_0x516180[_0x24a1e1(0x19a)]<=_0x464948[_0x24a1e1(0x1b8)]+0x3)return _0x2cf697;}}[_0x48a111(0x1ba)](_0xed2d03,_0x28b467,_0x1585d2){const _0x472f54=_0x48a111,_0x151696=new _0x2fdf9(_0xed2d03),_0x45bf20=_0x28b467||document[_0x472f54(0x1b3)],_0x1376f4=_0x151696[_0x472f54(0x18b)](_0x26831a(_0x1585d2)),_0x10111e=new _0x2fdf9(_0x45bf20)[_0x472f54(0x18b)](_0x151696);return!!(_0x1376f4&&_0x10111e&&_0x151696[_0x472f54(0x186)]>0x0);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x486f52=_0x2e98;function _0x24fb(){const _0x4e4601=['tagName','267741GQTzOQ','locale','ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','setItemAsActive','outdated','706256LxWcGs','ck-ai_review__check-run-result-action-buttons','AI_REVIEW_MODE_ACCEPT_CHANGE','execute','status','setTemplate','accepted','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','14288UzcdkX','isOn','change:status','ck-ai_review__check-run-result-accept-button','mouseover','label','bindTemplate','7046379QCbWMP','preventDefault','ck-ai_review__check-run-result-dismiss-button','124vxnmuy','477624JPvMdD','menuitemcheckbox','setItemAsInactive','resultResponseView','icon','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','acceptButtonView','extendTemplate','_createInfoButtonView','rejected','disabled','showDiff','target','31370OCwtxP','changeId','set','ck-ai_review__check-run-result','_createAcceptButtonView','stopPropagation','ck-ai_review__check-run-result_active','1358BNAVEi','hover','isEnabled','deactivateChange','_createDismissButtonView','pending','ck-content','acceptChange','isInfoToggleOn','dismissButtonView','ck-ai-button-secondary','isActive','activateChange','AI_REVIEW_MODE_DISMISS_CHANGE','ck-ai-button-tertiary','outdatedButtonView','134316GNnnME','div','infoButtonView','mouseout','ck-ai_review__check-run-result-status-button','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','bind','ck-ai_review__check-run-result-footer','click','ck-ai_review__check-run-result-response','ck-reset_all-excluded','fire','_createOutdatedButtonView','_createResultResponseView','dismissChange','AI_REVIEW_MODE_LEARN_MORE','panel','ck-hidden'];_0x24fb=function(){return _0x4e4601;};return _0x24fb();}(function(_0x53579e,_0x1173ec){const _0x139ea0=_0x2e98,_0x474ef1=_0x53579e();while(!![]){try{const _0x2c7a34=-parseInt(_0x139ea0(0x1b1))/0x1+-parseInt(_0x139ea0(0x1b6))/0x2+parseInt(_0x139ea0(0x1c9))/0x3+-parseInt(_0x139ea0(0x1c8))/0x4*(-parseInt(_0x139ea0(0x1d6))/0x5)+parseInt(_0x139ea0(0x19e))/0x6+-parseInt(_0x139ea0(0x1dd))/0x7*(parseInt(_0x139ea0(0x1be))/0x8)+parseInt(_0x139ea0(0x1c5))/0x9;if(_0x2c7a34===_0x1173ec)break;else _0x474ef1['push'](_0x474ef1['shift']());}catch(_0x4f1df1){_0x474ef1['push'](_0x474ef1['shift']());}}}(_0x24fb,0x2ecb2));import{View as _0x302098,ButtonView as _0x19c5c7}from'ckeditor5/src/ui.js';function _0x2e98(_0x2c2fd0,_0x3071d7){const _0x24fb35=_0x24fb();return _0x2e98=function(_0x2e983f,_0x447382){_0x2e983f=_0x2e983f-0x198;let _0x4217f1=_0x24fb35[_0x2e983f];return _0x4217f1;},_0x2e98(_0x2c2fd0,_0x3071d7);}import{IconInfo as _0x4b50a2,IconCheck as _0x736f5a,IconCancel as _0x5a7137,IconOutdated as _0x5bde53}from'ckeditor5/src/icons.js';import{getTranslation as _0x156c2f}from'../../aicore/utils/common-translations.js';export class AIReviewCoreReviewCheckListItemResultsView extends _0x302098{[_0x486f52(0x1cc)];[_0x486f52(0x1cf)];[_0x486f52(0x1e6)];[_0x486f52(0x1a0)];[_0x486f52(0x19d)];constructor(_0x10f866,_0x547c9f){const _0x87bad8=_0x486f52;super(_0x10f866),this['id']=_0x547c9f,this[_0x87bad8(0x1d8)](_0x87bad8(0x1ba),_0x87bad8(0x1e2)),this[_0x87bad8(0x1d8)](_0x87bad8(0x1d7),_0x547c9f),this[_0x87bad8(0x1cc)]=this[_0x87bad8(0x1ab)](),this[_0x87bad8(0x1cf)]=this[_0x87bad8(0x1da)](),this[_0x87bad8(0x1e6)]=this[_0x87bad8(0x1e1)](),this[_0x87bad8(0x1a0)]=this[_0x87bad8(0x1d1)](),this[_0x87bad8(0x19d)]=this[_0x87bad8(0x1aa)](),this[_0x87bad8(0x1d8)](_0x87bad8(0x1e5),!0x1),this[_0x87bad8(0x1d8)](_0x87bad8(0x199),!0x1),this[_0x87bad8(0x1d8)](_0x87bad8(0x1d4),!0x0),this[_0x87bad8(0x1bb)]({'tag':_0x87bad8(0x19f),'attributes':{'class':[_0x87bad8(0x1d9),this[_0x87bad8(0x1c4)]['if'](_0x87bad8(0x199),_0x87bad8(0x1dc))]},'on':{'click':this[_0x87bad8(0x1c4)]['to'](_0x87bad8(0x1a6)),'mouseover':this[_0x87bad8(0x1c4)]['to'](_0x87bad8(0x1c2)),'mouseout':this[_0x87bad8(0x1c4)]['to'](_0x87bad8(0x1a1))},'children':[this[_0x87bad8(0x1cc)],{'tag':_0x87bad8(0x19f),'attributes':{'class':[_0x87bad8(0x1a5)]},'children':[{'tag':_0x87bad8(0x19f),'attributes':{'class':[_0x87bad8(0x1b7)]},'children':[this[_0x87bad8(0x1cf)],this[_0x87bad8(0x1e6)],this[_0x87bad8(0x19d)]]},this[_0x87bad8(0x1a0)]]}]}),this['on'](_0x87bad8(0x1a6),(_0x352e1d,_0x13d3fc)=>{const _0x105016=_0x87bad8;_0x13d3fc&&_0x13d3fc[_0x105016(0x1d5)]&&'A'===_0x13d3fc[_0x105016(0x1d5)][_0x105016(0x1b0)]&&_0x13d3fc[_0x105016(0x1c6)](),this[_0x105016(0x1a9)](_0x105016(0x19a),{'id':_0x547c9f,'source':this,'uiInteraction':_0x105016(0x1a6)});}),this['on'](_0x87bad8(0x1c2),()=>{const _0x546e9c=_0x87bad8;this[_0x546e9c(0x1a9)](_0x546e9c(0x19a),{'id':_0x547c9f,'source':this,'uiInteraction':_0x546e9c(0x1de)});}),this['on'](_0x87bad8(0x1a1),()=>{const _0x5aeda0=_0x87bad8;this[_0x5aeda0(0x1a9)](_0x5aeda0(0x1e0),{'origin':_0x5aeda0(0x1ae),'id':_0x547c9f,'source':this});});}[_0x486f52(0x1b4)](){const _0x5e3dcd=_0x486f52;this[_0x5e3dcd(0x199)]=!0x0;}[_0x486f52(0x1cb)](){const _0x262dd0=_0x486f52;this[_0x262dd0(0x199)]=!0x1;}[_0x486f52(0x1ab)](){const _0x24db26=_0x486f52,_0x21a16a=new _0x302098(this[_0x24db26(0x1b2)]);return _0x21a16a[_0x24db26(0x1bb)]({'tag':_0x24db26(0x19f),'attributes':{'class':['ck',_0x24db26(0x1e3),_0x24db26(0x1a8),_0x24db26(0x1a7),this[_0x24db26(0x1c4)]['if'](_0x24db26(0x1d4),_0x24db26(0x1af),_0x4b48c9=>!_0x4b48c9)]}}),_0x21a16a;}[_0x486f52(0x1da)](){const _0x36e549=_0x486f52,_0x2d5d28=new _0x19c5c7(this[_0x36e549(0x1b2)]);return _0x2d5d28[_0x36e549(0x1d8)]({'label':_0x156c2f(this[_0x36e549(0x1b2)],_0x36e549(0x1b8)),'withText':!0x0}),_0x2d5d28[_0x36e549(0x1d0)]({'on':{'click':this[_0x36e549(0x1c4)]['to'](_0x248ceb=>{const _0x59517b=_0x36e549;this[_0x59517b(0x1a9)](_0x59517b(0x1e4),{'id':this[_0x59517b(0x1d7)]}),_0x248ceb[_0x59517b(0x1db)]();})},'attributes':{'class':[_0x36e549(0x198),_0x36e549(0x1c1),this[_0x36e549(0x1c4)]['if'](_0x36e549(0x1ba),_0x36e549(0x1af),_0x45eb75=>_0x36e549(0x1e2)!==_0x45eb75&&_0x36e549(0x1bc)!==_0x45eb75),this[_0x36e549(0x1c4)]['if'](_0x36e549(0x1ba),_0x36e549(0x1c1),_0x2638c9=>_0x36e549(0x1e2)===_0x2638c9),this[_0x36e549(0x1c4)]['if'](_0x36e549(0x1ba),_0x36e549(0x1a2),_0x319804=>_0x36e549(0x1bc)===_0x319804)]}}),this['on'](_0x36e549(0x1c0),(_0x18abcd,_0x16dd97,_0x45a86a)=>{const _0x4763b8=_0x36e549;_0x2d5d28[_0x4763b8(0x1df)]=_0x4763b8(0x1e2)===_0x45a86a,_0x4763b8(0x1bc)===_0x45a86a&&(_0x2d5d28[_0x4763b8(0x1c3)]=_0x156c2f(this[_0x4763b8(0x1b2)],_0x4763b8(0x1bd)),_0x2d5d28[_0x4763b8(0x1cd)]=_0x736f5a);}),_0x2d5d28;}[_0x486f52(0x1e1)](){const _0x1fe967=_0x486f52,_0x667b1=new _0x19c5c7(this[_0x1fe967(0x1b2)]);return _0x667b1[_0x1fe967(0x1d8)]({'label':_0x156c2f(this[_0x1fe967(0x1b2)],_0x1fe967(0x19b)),'withText':!0x0}),_0x667b1[_0x1fe967(0x1d0)]({'on':{'click':this[_0x1fe967(0x1c4)]['to'](_0x131528=>{const _0x54e481=_0x1fe967;this[_0x54e481(0x1a9)](_0x54e481(0x1ac),{'id':this[_0x54e481(0x1d7)]}),_0x131528[_0x54e481(0x1db)]();})},'attributes':{'class':[_0x1fe967(0x19c),this[_0x1fe967(0x1c4)]['if'](_0x1fe967(0x1ba),_0x1fe967(0x1af),_0x24f8da=>_0x1fe967(0x1e2)!==_0x24f8da&&_0x1fe967(0x1d2)!==_0x24f8da),this[_0x1fe967(0x1c4)]['if'](_0x1fe967(0x1ba),_0x1fe967(0x1c7),_0x5852bd=>_0x1fe967(0x1e2)===_0x5852bd),this[_0x1fe967(0x1c4)]['if'](_0x1fe967(0x1ba),_0x1fe967(0x1a2),_0x21ab87=>_0x1fe967(0x1d2)===_0x21ab87)]}}),this['on'](_0x1fe967(0x1c0),(_0x325903,_0x24a92e,_0x390210)=>{const _0x26880a=_0x1fe967;_0x667b1[_0x26880a(0x1df)]=_0x26880a(0x1e2)===_0x390210,_0x26880a(0x1d2)===_0x390210&&(_0x667b1[_0x26880a(0x1c3)]=_0x156c2f(this[_0x26880a(0x1b2)],_0x26880a(0x1ce)),_0x667b1[_0x26880a(0x1cd)]=_0x5a7137);}),_0x667b1;}[_0x486f52(0x1d1)](){const _0x467486=_0x486f52,_0x41c0c2=new _0x19c5c7(this[_0x467486(0x1b2)]);return _0x41c0c2[_0x467486(0x1d8)]({'label':_0x156c2f(this[_0x467486(0x1b2)],_0x467486(0x1ad)),'icon':_0x4b50a2,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x467486(0x1ca),'class':_0x467486(0x1b3)}),_0x41c0c2[_0x467486(0x1a4)](_0x467486(0x1bf))['to'](this,_0x467486(0x1e5),_0x2c8e26=>_0x2c8e26),_0x41c0c2['on'](_0x467486(0x1b9),()=>{const _0x3ab792=_0x467486;this[_0x3ab792(0x1e5)]=!this[_0x3ab792(0x1e5)];}),_0x41c0c2;}[_0x486f52(0x1aa)](){const _0x55e1df=_0x486f52,_0x1784a8=new _0x19c5c7(this[_0x55e1df(0x1b2)]);return _0x1784a8[_0x55e1df(0x1d8)]({'label':_0x156c2f(this[_0x55e1df(0x1b2)],_0x55e1df(0x1a3)),'icon':_0x5bde53,'withText':!0x0,'isEnabled':!0x1}),_0x1784a8[_0x55e1df(0x1d0)]({'attributes':{'class':[_0x55e1df(0x198),_0x55e1df(0x1a2),this[_0x55e1df(0x1c4)]['if'](_0x55e1df(0x1ba),_0x55e1df(0x1af),_0x58cea0=>_0x55e1df(0x1b5)!==_0x58cea0)],'disabled':_0x55e1df(0x1d3)}}),_0x1784a8;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Collection as
|
|
23
|
+
import{Collection as _0x5912fb,KeystrokeHandler as _0x584966,FocusTracker as _0x3811ea}from'ckeditor5/src/utils.js';import{View as _0x5cbbe6,ViewCollection as _0x4a4c6d,ButtonView as _0x19a226,FormRowView as _0xdfa618,createDropdown as _0x37b3b2,addListToDropdown as _0x4fd9b0,UIModel as _0x256347,ButtonLabelView as _0x11090d,LabeledFieldView as _0x72c218,FocusCycler as _0x382f31}from'ckeditor5/src/ui.js';import{getTranslation as _0x99ef40}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x8322c8}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0x5cbbe6{['focusTracker']=new _0x3811ea();['keystrokes']=new _0x584966();['focusCycler'];['_focusables']=new _0x4a4c6d();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x22285d,_0x1df25e,_0x26227f=!0x1){super(_0x22285d),this['_check']=_0x1df25e,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x1df25e['defaultModel']?_0x1df25e['defaultModel']['id']:'',this['_defaultLabel']=_0x1df25e['defaultModel']?_0x1df25e['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x72c218(this['locale'],()=>new _0x8322c8(_0x22285d)),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 _0x5912fb(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x26227f),_0x4fd9b0(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0xdfa618(this['locale'],{'children':[this['promptInputView']]}),new _0xdfa618(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x3df371,_0x172bb8)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x172bb8()):_0x172bb8();}),this['focusCycler']=new _0x382f31({'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'](_0x2a54d8=>{this['_focusables']['add'](_0x2a54d8),this['focusTracker']['add'](_0x2a54d8['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 _0x1a3310 of this['_getFormValidators']()){const _0x493aab=_0x1a3310();if(_0x493aab)return this['promptInputView']['errorText']=_0x493aab,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x99ef40(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x3d5ebf=new _0x19a226(this['locale']),t=this['locale']['t'];return _0x3d5ebf['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x3d5ebf['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x3d5ebf;}['_createCancelButtonView'](){const _0x18f82f=new _0x19a226(this['locale']),t=this['locale']['t'];return _0x18f82f['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x18f82f['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0xbcf215=>{_0xbcf215['stopPropagation']();})}}),_0x18f82f['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x18f82f;}['_setModelList'](_0x46e810){this['_modelSelectionDropdownItems']['clear']();const _0x37755f=this['_check']['models'];if(_0x46e810)this['set']('modelDisplayMode','hidden');else{const _0x13b7d8=0x1===_0x37755f['length'];this['set']('modelDisplayMode',_0x13b7d8?'name':'selector');}if(this['resetToDefault'](),_0x37755f?.['length']){0x1===_0x37755f['length']&&this['set']('activeModelName',_0x37755f[0x0]['name']||_0x37755f[0x0]['id']);for(const _0x3222bc of _0x37755f){const _0x2bb58d=new _0x256347({'label':_0x3222bc['name'],'withText':!0x0,'role':'menuitemradio','id':_0x3222bc['id'],'model':_0x3222bc});_0x2bb58d['bind']('isOn')['to'](this,'modelId',_0x25d0cd=>_0x25d0cd===_0x3222bc['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x2bb58d,'labelView':new ko(this['locale'],_0x3222bc)});}}}['_createModelSelectionDropdown'](){const _0x56544f=_0x37b3b2(this['locale']);return _0x56544f['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x56544f['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x56544f['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x345016=>'selector'===_0x345016),this['listenTo'](_0x56544f,'execute',_0x2c0cb9=>{this['modelId']=_0x2c0cb9['source']['model']['id'],_0x56544f['buttonView']['label']=_0x2c0cb9['source']['label'];}),_0x56544f;}['_createModelNameView'](){const _0x374041=new _o(this['locale']);return _0x374041['bind']('text')['to'](this,'activeModelName',_0x2fbb8b=>_0x2fbb8b??''),_0x374041['bind']('isVisible')['to'](this,'modelDisplayMode',_0x360507=>'name'===_0x360507),_0x374041;}['_createActionsFooterView'](){const _0xa0fffc=new _0x5cbbe6(this['locale']);return _0xa0fffc['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']]}]}),_0xa0fffc;}}class _o extends _0x5cbbe6{constructor(_0x1b9474){super(_0x1b9474),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x22f1a3=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x22f1a3['if']('isVisible','ck-hidden',_0x5cc87a=>!_0x5cc87a)]},'children':[{'text':_0x22f1a3['to']('text')}]});}}class ko extends _0x11090d{constructor(_0xbf493d,_0x4110df){super();const _0x4ba0d8=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x4ba0d8['to']('style'),'id':_0x4ba0d8['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x4ba0d8['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x4110df['description']||'']}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x28a43f,_0x74054){var _0x41605e=_0x56aa,_0x363b07=_0x28a43f();while(!![]){try{var _0x4f63ef=-parseInt(_0x41605e(0xfe))/0x1+-parseInt(_0x41605e(0xfc))/0x2+-parseInt(_0x41605e(0x100))/0x3+parseInt(_0x41605e(0x104))/0x4+parseInt(_0x41605e(0xfd))/0x5+parseInt(_0x41605e(0xfa))/0x6*(parseInt(_0x41605e(0x103))/0x7)+parseInt(_0x41605e(0xfb))/0x8;if(_0x4f63ef===_0x74054)break;else _0x363b07['push'](_0x363b07['shift']());}catch(_0x1e92f7){_0x363b07['push'](_0x363b07['shift']());}}}(_0x21d4,0xc3786));import{ButtonView as _0x1bd7b7}from'ckeditor5/src/ui.js';function _0x21d4(){var _0x4820cf=['execute','set','64918HXXvTT','2371384TYtPnq','fire','finishReview','894DYNfLB','1231608PCMweQ','868944NCVBHu','3681515dxhFmG','76357NpsMdq','ck-ai-button-primary','4660353lWMGqs'];_0x21d4=function(){return _0x4820cf;};return _0x21d4();}import'../../../theme/aireviewcore/aireviewcore-review-completed.css';function _0x56aa(_0x4675b6,_0x1b29be){var _0x21d4a4=_0x21d4();return _0x56aa=function(_0x56aa5f,_0x4c95f7){_0x56aa5f=_0x56aa5f-0xf8;var _0xcb85d5=_0x21d4a4[_0x56aa5f];return _0xcb85d5;},_0x56aa(_0x4675b6,_0x1b29be);}export class AIReviewCoreFinishReviewButtonView extends _0x1bd7b7{constructor(_0x212692,_0x8d038b){var _0x713be0=_0x56aa;super(_0x8d038b),this[_0x713be0(0x102)]({'label':_0x212692,'withText':!0x0,'class':_0x713be0(0xff)}),this['on'](_0x713be0(0x101),()=>{var _0x5905bf=_0x713be0;this[_0x5905bf(0xf8)](_0x5905bf(0xf9));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3189d7,_0x470462){const _0x2f7026=_0x3d51,_0x405220=_0x3189d7();while(!![]){try{const _0x369f2c=parseInt(_0x2f7026(0x8c))/0x1+-parseInt(_0x2f7026(0x88))/0x2+-parseInt(_0x2f7026(0x8a))/0x3*(-parseInt(_0x2f7026(0x7d))/0x4)+parseInt(_0x2f7026(0x7b))/0x5*(parseInt(_0x2f7026(0x7c))/0x6)+parseInt(_0x2f7026(0x8b))/0x7*(-parseInt(_0x2f7026(0x80))/0x8)+-parseInt(_0x2f7026(0x81))/0x9*(-parseInt(_0x2f7026(0x8d))/0xa)+-parseInt(_0x2f7026(0x87))/0xb;if(_0x369f2c===_0x470462)break;else _0x405220['push'](_0x405220['shift']());}catch(_0x4bb5f4){_0x405220['push'](_0x405220['shift']());}}}(_0x3a24,0x7c1df));import{View as _0x3421f6}from'ckeditor5/src/ui.js';function _0x3a24(){const _0x3bf0b4=['ck-ai_review__general-error-container','ck\x20ck-ai-notification\x20ck-ai-notification_error','errorMessage','isVisible','6034655AyTYGH','1070530pNRjBT','div','251598DxtcEs','7KLfRzL','729628lCSJNc','1305190JrvQwT','setTemplate','1980FPsxIU','13002YfqyfM','28zYQgbd','set','bindTemplate','6748856nREsbH','18snKdYU','ck-hidden'];_0x3a24=function(){return _0x3bf0b4;};return _0x3a24();}function _0x3d51(_0x3d5d3e,_0x14f00a){const _0x3a247d=_0x3a24();return _0x3d51=function(_0x3d51a7,_0x1280ca){_0x3d51a7=_0x3d51a7-0x7b;let _0x34df31=_0x3a247d[_0x3d51a7];return _0x34df31;},_0x3d51(_0x3d5d3e,_0x14f00a);}export class AIReviewCoreGeneralErrorView extends _0x3421f6{constructor(_0x454105){const _0x16c2d2=_0x3d51;super(_0x454105),this[_0x16c2d2(0x7e)](_0x16c2d2(0x86),!0x1),this[_0x16c2d2(0x7e)](_0x16c2d2(0x85),'');const _0x24f74c=this[_0x16c2d2(0x7f)];this[_0x16c2d2(0x8e)]({'tag':_0x16c2d2(0x89),'attributes':{'class':['ck',_0x16c2d2(0x83),_0x24f74c['if'](_0x16c2d2(0x86),_0x16c2d2(0x82),_0x5ba1af=>!_0x5ba1af)]},'children':[{'tag':'p','attributes':{'class':_0x16c2d2(0x84)},'children':[{'text':_0x24f74c['to'](_0x16c2d2(0x85))}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x45f6(_0x423d37,_0x4de7e3){var _0x40b168=_0x40b1();return _0x45f6=function(_0x45f670,_0x2cbbb0){_0x45f670=_0x45f670-0x81;var _0x38549a=_0x40b168[_0x45f670];return _0x38549a;},_0x45f6(_0x423d37,_0x4de7e3);}var _0x346511=_0x45f6;function _0x40b1(){var _0x1ef9b7=['896875riQZic','3071140EtbRxx','MAX_ROWS','ck-review__prompt-input','MIN_ROWS','listenTo','8VILVrF','keystrokes','value','8QLSdya','element','1092440YEFhBS','minRows','render','5685831LbPwgh','extendTemplate','maxRows','update','9165142PmtYDR','ai-review-prompt-input','1779234FaIFpv','trim','6987630eugCKV','isEmpty','set'];_0x40b1=function(){return _0x1ef9b7;};return _0x40b1();}(function(_0x5d43e2,_0x14f262){var _0x5a4c08=_0x45f6,_0x54137b=_0x5d43e2();while(!![]){try{var _0xf383fa=parseInt(_0x5a4c08(0x97))/0x1+parseInt(_0x5a4c08(0x8d))/0x2+-parseInt(_0x5a4c08(0x87))/0x3*(-parseInt(_0x5a4c08(0x95))/0x4)+parseInt(_0x5a4c08(0x8c))/0x5+-parseInt(_0x5a4c08(0x89))/0x6+-parseInt(_0x5a4c08(0x85))/0x7+-parseInt(_0x5a4c08(0x92))/0x8*(parseInt(_0x5a4c08(0x81))/0x9);if(_0xf383fa===_0x14f262)break;else _0x54137b['push'](_0x54137b['shift']());}catch(_0x906eb1){_0x54137b['push'](_0x54137b['shift']());}}}(_0x40b1,0xd8c3f));import{TextareaView as _0x17232a}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x24cb5e}from'ckeditor5/src/utils.js';export class AIReviewCorePromptInputView extends _0x17232a{[_0x346511(0x93)];static [_0x346511(0x90)]=0x1;static [_0x346511(0x8e)]=0xc;constructor(_0x8f2098){var _0x540605=_0x346511;super(_0x8f2098),this[_0x540605(0x8b)](_0x540605(0x8a),!0x0),this[_0x540605(0x93)]=new _0x24cb5e(),this[_0x540605(0x98)]=AIReviewCorePromptInputView[_0x540605(0x90)],this[_0x540605(0x83)]=AIReviewCorePromptInputView[_0x540605(0x8e)],this[_0x540605(0x82)]({'attributes':{'id':_0x540605(0x86),'class':['ck',_0x540605(0x8f)]}});}[_0x346511(0x99)](){var _0x3bea9b=_0x346511;super[_0x3bea9b(0x99)](),this['on'](_0x3bea9b(0x84),()=>{var _0x187249=_0x3bea9b;this[_0x187249(0x8a)]=''===this[_0x187249(0x96)][_0x187249(0x94)]?.[_0x187249(0x88)]();}),this[_0x3bea9b(0x93)][_0x3bea9b(0x91)](this[_0x3bea9b(0x96)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2871f3=_0x5367;function _0x7483(){const _0x1cfc82=['2213001hjpoqd','clear','ck-hidden','setChecks','isVisible','length','resetToDefault','55CjAZtY','bindTemplate','368CeTSaR','767492jUsDnA','resetAllParameterizedChecks','add','div','runReviewCheck','hasChecks','72fzJElW','15QKoYIG','ck-ai_review__check-list','314686LxzoHr','78911sZbzpF','delegate','entries','1989030XDlswO','42940atZqcQ','1403478kBrUps','_checkViews','_setupTemplate','locale','setTemplate'];_0x7483=function(){return _0x1cfc82;};return _0x7483();}(function(_0x32dcfd,_0x4ee617){const _0x5652f1=_0x5367,_0x3cdc60=_0x32dcfd();while(!![]){try{const _0x597283=-parseInt(_0x5652f1(0x97))/0x1+-parseInt(_0x5652f1(0x82))/0x2*(-parseInt(_0x5652f1(0x80))/0x3)+parseInt(_0x5652f1(0x96))/0x4*(-parseInt(_0x5652f1(0x87))/0x5)+parseInt(_0x5652f1(0x88))/0x6+parseInt(_0x5652f1(0x83))/0x7*(-parseInt(_0x5652f1(0x7f))/0x8)+parseInt(_0x5652f1(0x8d))/0x9+parseInt(_0x5652f1(0x86))/0xa*(parseInt(_0x5652f1(0x94))/0xb);if(_0x597283===_0x4ee617)break;else _0x3cdc60['push'](_0x3cdc60['shift']());}catch(_0x4bfc21){_0x3cdc60['push'](_0x3cdc60['shift']());}}}(_0x7483,0x92f83));import{ListItemView as _0x5ad55a,ViewCollection as _0x465a61}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCommandListItemView as _0x4b3edd}from'./aireviewcorereviewcommandlistitemview.js';import'../../../theme/aireviewcore/aireviewcore-check-list.css';function _0x5367(_0x115952,_0x499440){const _0x748301=_0x7483();return _0x5367=function(_0x536783,_0x1bc624){_0x536783=_0x536783-0x7b;let _0x19f052=_0x748301[_0x536783];return _0x19f052;},_0x5367(_0x115952,_0x499440);}export class AIReviewCoreReviewCheckListView extends _0x5ad55a{[_0x2871f3(0x89)];constructor(_0x29f85c){const _0x4d2292=_0x2871f3;super(_0x29f85c),this[_0x4d2292(0x89)]=new _0x465a61(),this[_0x4d2292(0x8a)]();}[_0x2871f3(0x90)](_0x3f2b28,_0x451d05=!0x1){const _0x44ca09=_0x2871f3;this[_0x44ca09(0x89)][_0x44ca09(0x8e)]();for(const [_0x1ea172,_0x2412dd]of _0x3f2b28[_0x44ca09(0x85)]()){const _0x3fbdb3=new _0x4b3edd(this[_0x44ca09(0x8b)],_0x2412dd,_0x1ea172,_0x451d05);_0x3fbdb3[_0x44ca09(0x84)](_0x44ca09(0x7d))['to'](this),this[_0x44ca09(0x89)][_0x44ca09(0x7b)](_0x3fbdb3);}}[_0x2871f3(0x7e)](){const _0x2c1c11=_0x2871f3;return this[_0x2c1c11(0x89)][_0x2c1c11(0x92)]>0x0;}[_0x2871f3(0x98)](){const _0xf29d45=_0x2871f3;for(const _0x141e3c of this[_0xf29d45(0x89)])_0x141e3c instanceof _0x4b3edd&&_0x141e3c[_0xf29d45(0x93)]();}[_0x2871f3(0x8a)](){const _0x3bf0e7=_0x2871f3,_0x34b8dc=this[_0x3bf0e7(0x95)];this[_0x3bf0e7(0x8c)]({'tag':_0x3bf0e7(0x7c),'attributes':{'class':[_0x3bf0e7(0x81),_0x34b8dc['if'](_0x3bf0e7(0x91),_0x3bf0e7(0x8f),_0x918641=>!_0x918641)]},'children':this[_0x3bf0e7(0x89)]});}}
|