@ckeditor/ckeditor5-ai 47.6.1-alpha.1 → 47.6.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/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/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/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/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/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/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.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/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/tabs/tabbuttonview.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/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
|
-
const _0x1d4aa5=_0x5884;(function(_0x37fe88,_0x464179){const _0x5d4dc4=_0x5884,_0xebfc25=_0x37fe88();while(!![]){try{const _0x523e60=parseInt(_0x5d4dc4(0xa7))/0x1+-parseInt(_0x5d4dc4(0x95))/0x2*(-parseInt(_0x5d4dc4(0xf0))/0x3)+parseInt(_0x5d4dc4(0xa0))/0x4*(-parseInt(_0x5d4dc4(0xa6))/0x5)+-parseInt(_0x5d4dc4(0xd3))/0x6*(parseInt(_0x5d4dc4(0xe3))/0x7)+-parseInt(_0x5d4dc4(0xdb))/0x8+parseInt(_0x5d4dc4(0xb7))/0x9*(parseInt(_0x5d4dc4(0xbf))/0xa)+parseInt(_0x5d4dc4(0x103))/0xb;if(_0x523e60===_0x464179)break;else _0xebfc25['push'](_0xebfc25['shift']());}catch(_0x1f0ac9){_0xebfc25['push'](_0xebfc25['shift']());}}}(_0x1bad,0x4650a));import{CKEditorError as _0x5f3f2d}from'ckeditor5/src/utils.js';import{AIReviewCoreController as _0x215b5e}from'../aireviewcore/aireviewcorecontroller.js';import{AI_REVIEW_CHECKS as _0x31e9e9}from'./aireviewcheckdefinitions.js';import{AIReviewModeCheckList as _0xf340}from'./model/aireviewmodechecklist.js';function _0x5884(_0x460082,_0xa707ff){const _0x1bad7b=_0x1bad();return _0x5884=function(_0x588497,_0x576452){_0x588497=_0x588497-0x8d;let _0x343e63=_0x1bad7b[_0x588497];return _0x343e63;},_0x5884(_0x460082,_0xa707ff);}import{AIReviewCustomCheckRun as _0x21c877}from'./model/aireviewcustomcheckrun.js';import{AIReviewSystemCheckRun as _0x3b3815}from'../aireviewcore/model/aireviewsystemcheckrun.js';function _0x1bad(){const _0x71767d=['1152490wCxyJw','origin','pluginName','viewportOffset','_aiConnector','markerElement','ai.review.availableCommands','_getChecksList','_onChangeMarkerClicked','getDomRoot','_onReviewCheckResultDeactivated','context','document','markChangePositionInEditorContent','_isDiffOn','label','models','change','replaceAll','some','162Duzgga','all','title','listenTo','_hasDefaultAvailableCommands','_onDiffChange','params','changeId','4055480Nawidz','content','startsWith','length','isAnyChangeActivated','view','_markChangePositionInEditorContent','AI_REVIEW_CHECK_','139524LOepyA','removeClass','_createReviewCheckRun','ai.models','balloon','init','hover','isCustom','getAvailableModels','model','showChangeBalloon','resetActiveStateInResults','setMarkersInElementAsActive','6mIwRhp','getChangeById','deactivateChange','uiInteraction','prompt','push','_filterChecksWithMissingModel','_getTranslationWithDefault','_logError','options','_getModels','getRoot','_TITLE','removeCheckById','getMarkerElementForChange','_diffContent','_OPTIONS_LABEL','getDocumentData','_onReviewCheckResultActivated','4034184GeOWbM','editing','isExtra','_currentReviewCheckRun','domEvent','_scrollToChange','_onChangeMarkerBlurred','define','hideChangeBalloon','showDiffInBalloon','ai-review-mode-non-existent-commands-used','toggleDiff','_aiReviewCoreUi','_aiReviewCoreEditing','get','_onActivateChange','click','toUpperCase','ai.review.extraCommands','plugins','hideDiffInBalloon','forEach','_getChangeContentElement','setAllMarkersAsInactive','join','locale','defaultModel','_onReviewCheckRun','config','_translateReviewCheck','431020ZdTUKL','_onChangeMarkerHovered','filter','args','addClass','custom','getDefault','activateChange','data','diffContent','recommended','452QWUPNN','ck-ai_review-diff','setActiveStateInResults','_logErrorForNonExistentChecks','_OPTIONS_DATA_','getAll','605BUCTfi','203271EvRRQb','getElement','ai-review-mode-models-unable-to-retrieve','getClassNames','getEditor','default','setupChecks','_initRequiredPlugins','find','panel','ai-review-mode-command-unavailable-due-to-missing-model','description','AIReviewModeUI','_onDeactivateChange','AIReviewModeController','AIReviewCoreEditing','27XDDWnz','checks','_changeActivationSource','ck-ai_review-','_getExtraChecks','ck-ai_review-highlights','map','_DESCRIPTION'];_0x1bad=function(){return _0x71767d;};return _0x1bad();}import{AIModels as _0x58f5cc}from'../aicore/model/aimodels.js';import{AIReviewCheckCustom as _0x4c7821}from'./model/aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x417705}from'./model/aireviewcheckextra.js';import{AIReviewExtraCheckRun as _0x33434a}from'./model/aireviewextracheckrun.js';export class AIReviewModeController extends _0x215b5e{static get[_0x1d4aa5(0xc1)](){const _0x19c3a6=_0x1d4aa5;return _0x19c3a6(0xb5);}[_0x1d4aa5(0xcd)]=!0x1;[_0x1d4aa5(0xd7)]=!0x1;constructor(_0x2bd1a4){const _0x42c9c8=_0x1d4aa5;super(_0x2bd1a4),this[_0x42c9c8(0xd7)]=!this[_0x42c9c8(0xca)][_0x42c9c8(0x93)][_0x42c9c8(0x111)](_0x42c9c8(0xc5)),this[_0x42c9c8(0xca)][_0x42c9c8(0x93)][_0x42c9c8(0x10a)](_0x42c9c8(0xc5),_0x31e9e9[_0x42c9c8(0xbd)](_0x4f4aa0=>_0x4f4aa0['id'])),this[_0x42c9c8(0xca)][_0x42c9c8(0x93)][_0x42c9c8(0x10a)](_0x42c9c8(0x115),[]);}async[_0x1d4aa5(0xe8)](){const _0x46e300=_0x1d4aa5;await super[_0x46e300(0xe8)](),this[_0x46e300(0xd6)](this[_0x46e300(0x10f)],_0x46e300(0x10e),(_0x5d4539,_0x2b73ff)=>{const _0x16da58=_0x46e300;this[_0x16da58(0xcd)]=_0x2b73ff['on'],this[_0x16da58(0xd8)](this[_0x16da58(0xcd)]);});}[_0x1d4aa5(0xae)](){const _0x5a1f33=_0x1d4aa5;super[_0x5a1f33(0xae)](),this[_0x5a1f33(0x10f)]=this[_0x5a1f33(0xca)][_0x5a1f33(0x116)][_0x5a1f33(0x111)](_0x5a1f33(0xb3)),this[_0x5a1f33(0x110)]=this[_0x5a1f33(0xca)][_0x5a1f33(0x116)][_0x5a1f33(0x111)](_0x5a1f33(0xb6));}[_0x1d4aa5(0xe5)](_0x42a6a8,_0xad5d4b){const _0xb95eae=_0x1d4aa5;return _0x42a6a8[_0xb95eae(0xea)]?new _0x21c877(_0x42a6a8[_0xb95eae(0x98)][_0xb95eae(0xf4)],_0x42a6a8[_0xb95eae(0x98)][_0xb95eae(0xec)],this[_0xb95eae(0x110)][_0xb95eae(0x101)](),_0xad5d4b,this[_0xb95eae(0xc3)]):_0xad5d4b[_0xb95eae(0x105)]?new _0x33434a(_0xad5d4b[_0xb95eae(0xf4)],_0xad5d4b[_0xb95eae(0x91)]['id'],this[_0xb95eae(0x110)][_0xb95eae(0x101)](),_0xad5d4b,this[_0xb95eae(0xc3)]):new _0x3b3815(this[_0xb95eae(0x110)][_0xb95eae(0x101)](),_0xad5d4b,this[_0xb95eae(0xc3)],_0x42a6a8[_0xb95eae(0xd9)],_0x42a6a8[_0xb95eae(0x98)]);}[_0x1d4aa5(0x102)](_0x50d3e1){const _0x5e9639=_0x1d4aa5;this[_0x5e9639(0x10f)][_0x5e9639(0xa2)](_0x50d3e1[_0x5e9639(0xd0)]['id']),this[_0x5e9639(0x108)](_0x50d3e1[_0x5e9639(0xd0)]['id']);const _0x4f5785=this[_0x5e9639(0x110)][_0x5e9639(0xfe)](_0x50d3e1[_0x5e9639(0xd0)]['id']);if(!_0x4f5785)return;const _0x40c3=this[_0x5e9639(0x110)][_0x5e9639(0xab)]();this[_0x5e9639(0x10f)][_0x5e9639(0xed)](_0x50d3e1[_0x5e9639(0xd0)],()=>_0x4f5785[_0x5e9639(0xa8)](),void 0x0,_0x5e9639(0x113),_0x40c3?.[_0x5e9639(0x104)]?.[_0x5e9639(0xe0)]?.[_0x5e9639(0xc8)](),_0x40c3?.['ui']?.[_0x5e9639(0xc2)]),this[_0x5e9639(0x110)][_0x5e9639(0xef)](_0x50d3e1[_0x5e9639(0xd0)]['id']);}[_0x1d4aa5(0xc9)](){const _0x41b304=_0x1d4aa5;this[_0x41b304(0x10f)][_0x41b304(0xee)](),this[_0x41b304(0x10f)][_0x41b304(0x10b)](),this[_0x41b304(0x110)][_0x41b304(0x8e)]();}[_0x1d4aa5(0x112)](_0x3f02e0){const _0x27469e=_0x1d4aa5;this[_0x27469e(0x106)]&&_0x27469e(0x113)===_0x3f02e0[_0x27469e(0xf3)]&&(this[_0x27469e(0xb9)]=_0x27469e(0xb0),this[_0x27469e(0x106)][_0x27469e(0x9c)](_0x3f02e0['id']));}[_0x1d4aa5(0xb4)](_0x974965){const _0x363dce=_0x1d4aa5;this[_0x363dce(0x106)]&&_0x363dce(0xe7)===_0x974965[_0x363dce(0xc0)]&&this[_0x363dce(0x106)][_0x363dce(0xf2)]();}[_0x1d4aa5(0xc7)](_0x1b9189,_0x347867){const _0x5ce957=_0x1d4aa5;if(!this[_0x5ce957(0x106)])return;this[_0x5ce957(0xb9)]=_0x5ce957(0xdc),this[_0x5ce957(0x106)][_0x5ce957(0x9c)](_0x347867[_0x5ce957(0xda)]);const _0x3d3925=this[_0x5ce957(0x106)][_0x5ce957(0xf1)](_0x347867[_0x5ce957(0xda)]);if(!_0x3d3925)return;const _0x54991c=this[_0x5ce957(0x110)][_0x5ce957(0xab)]();this[_0x5ce957(0x10f)][_0x5ce957(0xed)](_0x3d3925,_0x347867[_0x5ce957(0xc4)],_0x347867[_0x5ce957(0x107)],_0x5ce957(0x113),_0x54991c?.[_0x5ce957(0x104)]?.[_0x5ce957(0xe0)]?.[_0x5ce957(0xc8)](),_0x54991c?.['ui']?.[_0x5ce957(0xc2)]);}[_0x1d4aa5(0x96)](_0x38d214,_0x73fcfd){const _0x61571d=_0x1d4aa5;if(!this[_0x61571d(0x106)])return;if(this[_0x61571d(0x106)][_0x61571d(0xdf)]())return;const _0x300ee3=this[_0x61571d(0x106)][_0x61571d(0xf1)](_0x73fcfd[_0x61571d(0xda)]);if(!_0x300ee3)return;const _0x516be4=this[_0x61571d(0x110)][_0x61571d(0xab)]();this[_0x61571d(0x10f)][_0x61571d(0xed)](_0x300ee3,_0x73fcfd[_0x61571d(0xc4)],_0x73fcfd[_0x61571d(0x107)],_0x61571d(0xe9),_0x516be4?.[_0x61571d(0x104)]?.[_0x61571d(0xe0)]?.[_0x61571d(0xc8)](),_0x516be4?.['ui']?.[_0x61571d(0xc2)]);}[_0x1d4aa5(0x109)](){const _0x2a403d=_0x1d4aa5;if(!this[_0x2a403d(0x106)])return;this[_0x2a403d(0x106)][_0x2a403d(0xdf)]()||this[_0x2a403d(0x10f)][_0x2a403d(0x10b)]();}[_0x1d4aa5(0x8d)](_0x30b286){const _0xb11ba3=_0x1d4aa5,_0x1ab82a=this[_0xb11ba3(0x110)][_0xb11ba3(0xfe)](_0x30b286);return _0x1ab82a?_0x1ab82a[_0xb11ba3(0xa8)]():null;}[_0x1d4aa5(0xe1)](_0x2c226a,_0x516fb8){const _0x18802e=_0x1d4aa5;this[_0x18802e(0x110)][_0x18802e(0xcc)](_0x2c226a,_0x516fb8);}[_0x1d4aa5(0xff)](_0x144493,_0x6809c5){const _0x11136d=_0x1d4aa5;return this[_0x11136d(0x110)][_0x11136d(0x9e)](_0x144493,_0x6809c5);}[_0x1d4aa5(0x92)](){const _0x4bcbbe=_0x1d4aa5;this[_0x4bcbbe(0xd8)](this[_0x4bcbbe(0xcd)]);}[_0x1d4aa5(0xd8)](_0x285d2c){const _0x5cf35d=_0x1d4aa5,_0x138bc6=this[_0x5cf35d(0x110)][_0x5cf35d(0xab)]();_0x285d2c?this[_0x5cf35d(0x10f)][_0x5cf35d(0x117)]():this[_0x5cf35d(0x10f)][_0x5cf35d(0x10c)](),_0x138bc6&&_0x138bc6[_0x5cf35d(0x104)][_0x5cf35d(0xe0)][_0x5cf35d(0xd0)](_0x39d108=>{const _0x42a1b3=_0x5cf35d,_0x47aa76=_0x138bc6[_0x42a1b3(0x104)][_0x42a1b3(0xe0)][_0x42a1b3(0xcb)][_0x42a1b3(0xfb)]();for(const _0x2d6476 of _0x47aa76[_0x42a1b3(0xaa)]())_0x2d6476[_0x42a1b3(0xdd)](_0x42a1b3(0xba))&&_0x39d108[_0x42a1b3(0xe4)](_0x2d6476,_0x47aa76);_0x39d108[_0x42a1b3(0x99)](_0x285d2c?_0x42a1b3(0xa1):_0x42a1b3(0xbc),_0x47aa76);});}async[_0x1d4aa5(0xc6)](){const _0x4a4dd6=_0x1d4aa5,_0x86193a=[..._0x31e9e9,...this[_0x4a4dd6(0xbb)]()],_0x12cddf=this[_0x4a4dd6(0xca)][_0x4a4dd6(0x93)][_0x4a4dd6(0x111)](_0x4a4dd6(0xc5))||[];this[_0x4a4dd6(0xa3)](_0x12cddf,_0x86193a);let _0x27b505=_0x86193a;this[_0x4a4dd6(0xd7)]||(_0x27b505=_0x12cddf[_0x4a4dd6(0xbd)](_0x6fda73=>_0x86193a[_0x4a4dd6(0xaf)](_0x59e244=>_0x59e244['id']===_0x6fda73))[_0x4a4dd6(0x97)](_0x5a530e=>!!_0x5a530e)),_0x27b505=_0x27b505[_0x4a4dd6(0xbd)](_0x3e9c95=>_0x3e9c95[_0x4a4dd6(0x105)]?_0x3e9c95:this[_0x4a4dd6(0x94)](_0x3e9c95));const _0x4efd11=_0x27b505[_0x4a4dd6(0xd2)](_0x4ae2b9=>_0x4ae2b9[_0x4a4dd6(0x105)]||_0x4a4dd6(0x9a)===_0x4ae2b9['id']);let _0x558ddc=[],_0x41ec8f=[],_0x326257=null;if(_0x4efd11){const _0x159dec=await this[_0x4a4dd6(0xfa)]();_0x558ddc=_0x159dec[_0x4a4dd6(0xd4)],_0x41ec8f=_0x159dec[_0x4a4dd6(0x9f)],_0x326257=_0x159dec[_0x4a4dd6(0xac)];}const _0x166799=new _0xf340(_0x558ddc,_0x41ec8f,_0x326257);return _0x166799[_0x4a4dd6(0xad)](_0x27b505),_0x4efd11&&this[_0x4a4dd6(0xf6)](_0x166799),_0x166799;}[_0x1d4aa5(0xbb)](){const _0x203c76=_0x1d4aa5;return(this[_0x203c76(0xca)][_0x203c76(0x93)][_0x203c76(0x111)](_0x203c76(0x115))||[])[_0x203c76(0xbd)](_0xffe89c=>({'id':_0xffe89c['id'],'commandId':_0xffe89c['id'],'title':_0xffe89c[_0x203c76(0xce)],'description':_0xffe89c[_0x203c76(0xb2)],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0xffe89c[_0x203c76(0xf4)],'model':_0xffe89c[_0x203c76(0xec)]}));}[_0x1d4aa5(0xa3)](_0x9223bd,_0x24e71a){const _0x3609a3=_0x1d4aa5,_0xb8657=_0x9223bd[_0x3609a3(0x97)](_0xd88d9c=>!_0x24e71a[_0x3609a3(0xd2)](_0x2b4965=>_0x2b4965['id']===_0xd88d9c));_0xb8657[_0x3609a3(0xde)]&&this[_0x3609a3(0xf8)](new _0x5f3f2d(_0x3609a3(0x10d),this,{'commandIds':_0xb8657[_0x3609a3(0x8f)](',\x20')}),!0x0);}async[_0x1d4aa5(0xfa)](){const _0x372aa1=_0x1d4aa5;try{const _0x114a10=new _0x58f5cc({'connector':this[_0x372aa1(0xc3)],'config':this[_0x372aa1(0xca)][_0x372aa1(0x93)][_0x372aa1(0x111)](_0x372aa1(0xe6)),'locale':this[_0x372aa1(0xca)][_0x372aa1(0x90)]});return{'all':await _0x114a10[_0x372aa1(0xa5)](),'recommended':await _0x114a10[_0x372aa1(0xeb)](),'default':await _0x114a10[_0x372aa1(0x9b)]()};}catch(_0x184aff){return this[_0x372aa1(0xf8)](new _0x5f3f2d(_0x372aa1(0xa9),this,void 0x0,_0x184aff)),{'all':[],'recommended':[],'default':null};}}[_0x1d4aa5(0x94)](_0x3b8fdf){const _0xe6c067=_0x1d4aa5,_0x3237ae=_0xe6c067(0xe2)+_0x3b8fdf['id'][_0xe6c067(0x114)]()[_0xe6c067(0xd1)]('-','_'),_0x4a3216={..._0x3b8fdf,'title':this[_0xe6c067(0xf7)](_0x3237ae+_0xe6c067(0xfc),_0x3b8fdf[_0xe6c067(0xd5)]),'description':this[_0xe6c067(0xf7)](_0x3237ae+_0xe6c067(0xbe),_0x3b8fdf[_0xe6c067(0xb2)])};return _0x3b8fdf[_0xe6c067(0xf9)]&&(_0x4a3216[_0xe6c067(0xf9)]=_0x3b8fdf[_0xe6c067(0xf9)][_0xe6c067(0xbd)](_0x4b39d5=>({..._0x4b39d5,'label':this[_0xe6c067(0xf7)](_0x3237ae+_0xe6c067(0x100),_0x4b39d5[_0xe6c067(0xce)]||''),'data':_0x4b39d5[_0xe6c067(0x9d)]?_0x4b39d5[_0xe6c067(0x9d)][_0xe6c067(0xbd)](_0x5ac491=>({..._0x5ac491,'label':this[_0xe6c067(0xf7)](_0x3237ae+_0xe6c067(0xa4)+_0x5ac491['id'][_0xe6c067(0x114)](),_0x5ac491[_0xe6c067(0xce)])})):void 0x0}))),_0x4a3216;}[_0x1d4aa5(0xf6)](_0xa27cfd){const _0x43dc7b=_0x1d4aa5,_0x3a29ef=[];_0xa27cfd[_0x43dc7b(0xb8)][_0x43dc7b(0x118)](_0x53e94b=>{const _0x21da68=_0x43dc7b;(_0x53e94b instanceof _0x417705&&!_0x53e94b[_0x21da68(0x91)]||_0x53e94b instanceof _0x4c7821&&!_0x53e94b[_0x21da68(0xcf)][_0x21da68(0xde)])&&_0x3a29ef[_0x21da68(0xf5)](_0x53e94b['id']);}),_0x3a29ef[_0x43dc7b(0xde)]&&_0x3a29ef[_0x43dc7b(0x118)](_0x447557=>{const _0x3df9a9=_0x43dc7b;_0xa27cfd[_0x3df9a9(0xfd)](_0x447557),this[_0x3df9a9(0xf8)](new _0x5f3f2d(_0x3df9a9(0xb1),this,{'commandId':_0x447557}),!0x0);});}}
|
|
23
|
+
const _0x4758ac=_0x1d41;(function(_0x13e4f3,_0x21a482){const _0xb7816f=_0x1d41,_0x51c1f0=_0x13e4f3();while(!![]){try{const _0x5dc727=parseInt(_0xb7816f(0x1c6))/0x1+parseInt(_0xb7816f(0x1c8))/0x2*(parseInt(_0xb7816f(0x195))/0x3)+parseInt(_0xb7816f(0x1b9))/0x4*(-parseInt(_0xb7816f(0x1ee))/0x5)+parseInt(_0xb7816f(0x1bb))/0x6*(-parseInt(_0xb7816f(0x212))/0x7)+-parseInt(_0xb7816f(0x202))/0x8+parseInt(_0xb7816f(0x1d6))/0x9+-parseInt(_0xb7816f(0x204))/0xa*(-parseInt(_0xb7816f(0x1cd))/0xb);if(_0x5dc727===_0x21a482)break;else _0x51c1f0['push'](_0x51c1f0['shift']());}catch(_0x3a9d30){_0x51c1f0['push'](_0x51c1f0['shift']());}}}(_0xa97e,0x4c184));import{CKEditorError as _0x5bc25c}from'ckeditor5/src/utils.js';import{AIReviewCoreController as _0xb60865}from'../aireviewcore/aireviewcorecontroller.js';import{AI_REVIEW_CHECKS as _0x1a279c}from'./aireviewcheckdefinitions.js';import{AIReviewModeCheckList as _0xc8a461}from'./model/aireviewmodechecklist.js';function _0x1d41(_0x2d8642,_0x4baa69){const _0xa97e82=_0xa97e();return _0x1d41=function(_0x1d4174,_0x2ff29a){_0x1d4174=_0x1d4174-0x190;let _0x5d4de2=_0xa97e82[_0x1d4174];return _0x5d4de2;},_0x1d41(_0x2d8642,_0x4baa69);}import{AIReviewCustomCheckRun as _0x440e79}from'./model/aireviewcustomcheckrun.js';import{AIReviewSystemCheckRun as _0x57f4ed}from'../aireviewcore/model/aireviewsystemcheckrun.js';import{AIModels as _0x35ceea}from'../aicore/model/aimodels.js';function _0xa97e(){const _0x165c7d=['content','_onReviewCheckResultDeactivated','params','init','plugins','4804632lFSFmX','config','7903690nCWHwG','_DESCRIPTION','getClassNames','description','toggleDiff','defaultModel','_OPTIONS_DATA_','args','ai-review-mode-non-existent-commands-used','setMarkersInElementAsActive','_aiReviewCoreUi','_getExtraChecks','custom','setActiveStateInResults','7oecbPX','get','_onChangeMarkerHovered','_onActivateChange','getRoot','ai.review.extraCommands','models','startsWith','checks','data','AIReviewModeUI','_translateReviewCheck','addClass','_isDiffOn','getAll','88422tCwmPH','change','isExtra','title','getDocumentData','_filterChecksWithMissingModel','hover','_aiReviewCoreEditing','_onReviewCheckRun','view','uiInteraction','replaceAll','changeId','domEvent','_getTranslationWithDefault','ai.review.availableCommands','_aiConnector','markChangePositionInEditorContent','_scrollToChange','_onChangeMarkerBlurred','prompt','isAnyChangeActivated','define','getEditor','_diffContent','deactivateChange','ck-ai_review-','push','setupChecks','removeClass','ai.models','showDiffInBalloon','_OPTIONS_LABEL','isCustom','panel','getElement','1444592pixArl','getAvailableModels','1043184ExXHDb','find','AI_REVIEW_CHECK_','map','AIReviewCoreEditing','_hasDefaultAvailableCommands','locale','hideChangeBalloon','label','ck-ai_review-diff','default','374914jGnyMd','AIReviewModeController','10qGiLHY','_onDiffChange','context','_getModels','diffContent','11evHaXv','origin','model','join','some','_markChangePositionInEditorContent','ai-review-mode-models-unable-to-retrieve','_changeActivationSource','_logError','1211598AQgiCQ','hideDiffInBalloon','_createReviewCheckRun','ai-review-mode-command-unavailable-due-to-missing-model','options','ck-ai_review-highlights','length','activateChange','_currentReviewCheckRun','filter','all','_logErrorForNonExistentChecks','getDefault','_onReviewCheckResultActivated','showChangeBalloon','markerElement','setAllMarkersAsInactive','getDomRoot','viewportOffset','recommended','getChangeById','resetActiveStateInResults','listenTo','_onChangeMarkerClicked','5TWQmSh','_TITLE','editing','removeCheckById','click','_onDeactivateChange','balloon','document','forEach','toUpperCase','pluginName','getMarkerElementForChange','_getChecksList','_getChangeContentElement','_initRequiredPlugins'];_0xa97e=function(){return _0x165c7d;};return _0xa97e();}import{AIReviewCheckCustom as _0x323e8d}from'./model/aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x8a1f02}from'./model/aireviewcheckextra.js';import{AIReviewExtraCheckRun as _0x323435}from'./model/aireviewextracheckrun.js';export class AIReviewModeController extends _0xb60865{static get[_0x4758ac(0x1f8)](){const _0x5bdc24=_0x4758ac;return _0x5bdc24(0x1c7);}[_0x4758ac(0x193)]=!0x1;[_0x4758ac(0x1c0)]=!0x1;constructor(_0x3650fb){const _0x46998b=_0x4758ac;super(_0x3650fb),this[_0x46998b(0x1c0)]=!this[_0x46998b(0x1ca)][_0x46998b(0x203)][_0x46998b(0x213)](_0x46998b(0x1a4)),this[_0x46998b(0x1ca)][_0x46998b(0x203)][_0x46998b(0x1ab)](_0x46998b(0x1a4),_0x1a279c[_0x46998b(0x1be)](_0x35cb1b=>_0x35cb1b['id'])),this[_0x46998b(0x1ca)][_0x46998b(0x203)][_0x46998b(0x1ab)](_0x46998b(0x217),[]);}async[_0x4758ac(0x200)](){const _0x3ffc0c=_0x4758ac;await super[_0x3ffc0c(0x200)](),this[_0x3ffc0c(0x1ec)](this[_0x3ffc0c(0x20e)],_0x3ffc0c(0x208),(_0x2febc4,_0x316843)=>{const _0x89dc8=_0x3ffc0c;this[_0x89dc8(0x193)]=_0x316843['on'],this[_0x89dc8(0x1c9)](this[_0x89dc8(0x193)]);});}[_0x4758ac(0x1fc)](){const _0x2b1bb5=_0x4758ac;super[_0x2b1bb5(0x1fc)](),this[_0x2b1bb5(0x20e)]=this[_0x2b1bb5(0x1ca)][_0x2b1bb5(0x201)][_0x2b1bb5(0x213)](_0x2b1bb5(0x190)),this[_0x2b1bb5(0x19c)]=this[_0x2b1bb5(0x1ca)][_0x2b1bb5(0x201)][_0x2b1bb5(0x213)](_0x2b1bb5(0x1bf));}[_0x4758ac(0x1d8)](_0x567c51,_0x4d83b8){const _0x44c72e=_0x4758ac;return _0x567c51[_0x44c72e(0x1b6)]?new _0x440e79(_0x567c51[_0x44c72e(0x20b)][_0x44c72e(0x1a9)],_0x567c51[_0x44c72e(0x20b)][_0x44c72e(0x1cf)],this[_0x44c72e(0x19c)][_0x44c72e(0x199)](),_0x4d83b8,this[_0x44c72e(0x1a5)]):_0x4d83b8[_0x44c72e(0x197)]?new _0x323435(_0x4d83b8[_0x44c72e(0x1a9)],_0x4d83b8[_0x44c72e(0x209)]['id'],this[_0x44c72e(0x19c)][_0x44c72e(0x199)](),_0x4d83b8,this[_0x44c72e(0x1a5)]):new _0x57f4ed(this[_0x44c72e(0x19c)][_0x44c72e(0x199)](),_0x4d83b8,this[_0x44c72e(0x1a5)],_0x567c51[_0x44c72e(0x1ff)],_0x567c51[_0x44c72e(0x20b)]);}[_0x4758ac(0x1e3)](_0x196247){const _0x4a102c=_0x4758ac;this[_0x4a102c(0x20e)][_0x4a102c(0x211)](_0x196247[_0x4a102c(0x196)]['id']),this[_0x4a102c(0x1a7)](_0x196247[_0x4a102c(0x196)]['id']);const _0x91287b=this[_0x4a102c(0x19c)][_0x4a102c(0x1f9)](_0x196247[_0x4a102c(0x196)]['id']);if(!_0x91287b)return;const _0x731373=this[_0x4a102c(0x19c)][_0x4a102c(0x1ac)]();this[_0x4a102c(0x20e)][_0x4a102c(0x1e4)](_0x196247[_0x4a102c(0x196)],()=>_0x91287b[_0x4a102c(0x1b8)](),void 0x0,_0x4a102c(0x1f2),_0x731373?.[_0x4a102c(0x1f0)]?.[_0x4a102c(0x19e)]?.[_0x4a102c(0x1e7)](),_0x731373?.['ui']?.[_0x4a102c(0x1e8)]),this[_0x4a102c(0x19c)][_0x4a102c(0x20d)](_0x196247[_0x4a102c(0x196)]['id']);}[_0x4758ac(0x1fe)](){const _0x361289=_0x4758ac;this[_0x361289(0x20e)][_0x361289(0x1eb)](),this[_0x361289(0x20e)][_0x361289(0x1c2)](),this[_0x361289(0x19c)][_0x361289(0x1e6)]();}[_0x4758ac(0x215)](_0x146690){const _0x2a338e=_0x4758ac;this[_0x2a338e(0x1de)]&&_0x2a338e(0x1f2)===_0x146690[_0x2a338e(0x19f)]&&(this[_0x2a338e(0x1d4)]=_0x2a338e(0x1b7),this[_0x2a338e(0x1de)][_0x2a338e(0x1dd)](_0x146690['id']));}[_0x4758ac(0x1f3)](_0x1dbfb5){const _0x2b1af6=_0x4758ac;this[_0x2b1af6(0x1de)]&&_0x2b1af6(0x1f4)===_0x1dbfb5[_0x2b1af6(0x1ce)]&&this[_0x2b1af6(0x1de)][_0x2b1af6(0x1ae)]();}[_0x4758ac(0x1ed)](_0x2587b4,_0x9d234f){const _0x18d657=_0x4758ac;if(!this[_0x18d657(0x1de)])return;this[_0x18d657(0x1d4)]=_0x18d657(0x1fd),this[_0x18d657(0x1de)][_0x18d657(0x1dd)](_0x9d234f[_0x18d657(0x1a1)]);const _0x4ef637=this[_0x18d657(0x1de)][_0x18d657(0x1ea)](_0x9d234f[_0x18d657(0x1a1)]);if(!_0x4ef637)return;const _0x3e89d5=this[_0x18d657(0x19c)][_0x18d657(0x1ac)]();this[_0x18d657(0x20e)][_0x18d657(0x1e4)](_0x4ef637,_0x9d234f[_0x18d657(0x1e5)],_0x9d234f[_0x18d657(0x1a2)],_0x18d657(0x1f2),_0x3e89d5?.[_0x18d657(0x1f0)]?.[_0x18d657(0x19e)]?.[_0x18d657(0x1e7)](),_0x3e89d5?.['ui']?.[_0x18d657(0x1e8)]);}[_0x4758ac(0x214)](_0x58da55,_0x495229){const _0x424da7=_0x4758ac;if(!this[_0x424da7(0x1de)])return;if(this[_0x424da7(0x1de)][_0x424da7(0x1aa)]())return;const _0x43929f=this[_0x424da7(0x1de)][_0x424da7(0x1ea)](_0x495229[_0x424da7(0x1a1)]);if(!_0x43929f)return;const _0x50e0d1=this[_0x424da7(0x19c)][_0x424da7(0x1ac)]();this[_0x424da7(0x20e)][_0x424da7(0x1e4)](_0x43929f,_0x495229[_0x424da7(0x1e5)],_0x495229[_0x424da7(0x1a2)],_0x424da7(0x19b),_0x50e0d1?.[_0x424da7(0x1f0)]?.[_0x424da7(0x19e)]?.[_0x424da7(0x1e7)](),_0x50e0d1?.['ui']?.[_0x424da7(0x1e8)]);}[_0x4758ac(0x1a8)](){const _0x372647=_0x4758ac;if(!this[_0x372647(0x1de)])return;this[_0x372647(0x1de)][_0x372647(0x1aa)]()||this[_0x372647(0x20e)][_0x372647(0x1c2)]();}[_0x4758ac(0x1fb)](_0x452865){const _0x2ad274=_0x4758ac,_0xd8def7=this[_0x2ad274(0x19c)][_0x2ad274(0x1f9)](_0x452865);return _0xd8def7?_0xd8def7[_0x2ad274(0x1b8)]():null;}[_0x4758ac(0x1d2)](_0x3db536,_0x2812d6){const _0x36bfca=_0x4758ac;this[_0x36bfca(0x19c)][_0x36bfca(0x1a6)](_0x3db536,_0x2812d6);}[_0x4758ac(0x1ad)](_0x187f61,_0x5139b0){const _0x209346=_0x4758ac;return this[_0x209346(0x19c)][_0x209346(0x1cc)](_0x187f61,_0x5139b0);}[_0x4758ac(0x19d)](){const _0x2f9a60=_0x4758ac;this[_0x2f9a60(0x1c9)](this[_0x2f9a60(0x193)]);}[_0x4758ac(0x1c9)](_0x4eb9b0){const _0x4e590d=_0x4758ac,_0x469e51=this[_0x4e590d(0x19c)][_0x4e590d(0x1ac)]();_0x4eb9b0?this[_0x4e590d(0x20e)][_0x4e590d(0x1d7)]():this[_0x4e590d(0x20e)][_0x4e590d(0x1b4)](),_0x469e51&&_0x469e51[_0x4e590d(0x1f0)][_0x4e590d(0x19e)][_0x4e590d(0x196)](_0x2a18c0=>{const _0x35836e=_0x4e590d,_0x2d6957=_0x469e51[_0x35836e(0x1f0)][_0x35836e(0x19e)][_0x35836e(0x1f5)][_0x35836e(0x216)]();for(const _0x5a42cc of _0x2d6957[_0x35836e(0x206)]())_0x5a42cc[_0x35836e(0x219)](_0x35836e(0x1af))&&_0x2a18c0[_0x35836e(0x1b2)](_0x5a42cc,_0x2d6957);_0x2a18c0[_0x35836e(0x192)](_0x4eb9b0?_0x35836e(0x1c4):_0x35836e(0x1db),_0x2d6957);});}async[_0x4758ac(0x1fa)](){const _0x2bcdf0=_0x4758ac,_0x38ee0f=[..._0x1a279c,...this[_0x2bcdf0(0x20f)]()],_0x5ae778=this[_0x2bcdf0(0x1ca)][_0x2bcdf0(0x203)][_0x2bcdf0(0x213)](_0x2bcdf0(0x1a4))||[];this[_0x2bcdf0(0x1e1)](_0x5ae778,_0x38ee0f);let _0x22b447=_0x38ee0f;this[_0x2bcdf0(0x1c0)]||(_0x22b447=_0x5ae778[_0x2bcdf0(0x1be)](_0x3bab48=>_0x38ee0f[_0x2bcdf0(0x1bc)](_0x1eb3b9=>_0x1eb3b9['id']===_0x3bab48))[_0x2bcdf0(0x1df)](_0x516414=>!!_0x516414)),_0x22b447=_0x22b447[_0x2bcdf0(0x1be)](_0x2611f1=>_0x2611f1[_0x2bcdf0(0x197)]?_0x2611f1:this[_0x2bcdf0(0x191)](_0x2611f1));const _0x2fe4aa=_0x22b447[_0x2bcdf0(0x1d1)](_0x512210=>_0x512210[_0x2bcdf0(0x197)]||_0x2bcdf0(0x210)===_0x512210['id']);let _0x281a03=[],_0x32a6ff=[],_0x4a98a4=null;if(_0x2fe4aa){const _0x2ff980=await this[_0x2bcdf0(0x1cb)]();_0x281a03=_0x2ff980[_0x2bcdf0(0x1e0)],_0x32a6ff=_0x2ff980[_0x2bcdf0(0x1e9)],_0x4a98a4=_0x2ff980[_0x2bcdf0(0x1c5)];}const _0x100db3=new _0xc8a461(_0x281a03,_0x32a6ff,_0x4a98a4);return _0x100db3[_0x2bcdf0(0x1b1)](_0x22b447),_0x2fe4aa&&this[_0x2bcdf0(0x19a)](_0x100db3),_0x100db3;}[_0x4758ac(0x20f)](){const _0x48cca4=_0x4758ac;return(this[_0x48cca4(0x1ca)][_0x48cca4(0x203)][_0x48cca4(0x213)](_0x48cca4(0x217))||[])[_0x48cca4(0x1be)](_0x1f9947=>({'id':_0x1f9947['id'],'commandId':_0x1f9947['id'],'title':_0x1f9947[_0x48cca4(0x1c3)],'description':_0x1f9947[_0x48cca4(0x207)],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x1f9947[_0x48cca4(0x1a9)],'model':_0x1f9947[_0x48cca4(0x1cf)]}));}[_0x4758ac(0x1e1)](_0x41f9ba,_0x5b5b3a){const _0x34337e=_0x4758ac,_0x2fcd97=_0x41f9ba[_0x34337e(0x1df)](_0x323210=>!_0x5b5b3a[_0x34337e(0x1d1)](_0x1156cf=>_0x1156cf['id']===_0x323210));_0x2fcd97[_0x34337e(0x1dc)]&&this[_0x34337e(0x1d5)](new _0x5bc25c(_0x34337e(0x20c),this,{'commandIds':_0x2fcd97[_0x34337e(0x1d0)](',\x20')}),!0x0);}async[_0x4758ac(0x1cb)](){const _0x4bf54a=_0x4758ac;try{const _0x165d08=new _0x35ceea({'connector':this[_0x4bf54a(0x1a5)],'config':this[_0x4bf54a(0x1ca)][_0x4bf54a(0x203)][_0x4bf54a(0x213)](_0x4bf54a(0x1b3)),'locale':this[_0x4bf54a(0x1ca)][_0x4bf54a(0x1c1)]});return{'all':await _0x165d08[_0x4bf54a(0x194)](),'recommended':await _0x165d08[_0x4bf54a(0x1ba)](),'default':await _0x165d08[_0x4bf54a(0x1e2)]()};}catch(_0x2743c7){return this[_0x4bf54a(0x1d5)](new _0x5bc25c(_0x4bf54a(0x1d3),this,void 0x0,_0x2743c7)),{'all':[],'recommended':[],'default':null};}}[_0x4758ac(0x191)](_0x38f020){const _0x5232f0=_0x4758ac,_0x3fd4d6=_0x5232f0(0x1bd)+_0x38f020['id'][_0x5232f0(0x1f7)]()[_0x5232f0(0x1a0)]('-','_'),_0x57a687={..._0x38f020,'title':this[_0x5232f0(0x1a3)](_0x3fd4d6+_0x5232f0(0x1ef),_0x38f020[_0x5232f0(0x198)]),'description':this[_0x5232f0(0x1a3)](_0x3fd4d6+_0x5232f0(0x205),_0x38f020[_0x5232f0(0x207)])};return _0x38f020[_0x5232f0(0x1da)]&&(_0x57a687[_0x5232f0(0x1da)]=_0x38f020[_0x5232f0(0x1da)][_0x5232f0(0x1be)](_0x5a149c=>({..._0x5a149c,'label':this[_0x5232f0(0x1a3)](_0x3fd4d6+_0x5232f0(0x1b5),_0x5a149c[_0x5232f0(0x1c3)]||''),'data':_0x5a149c[_0x5232f0(0x21b)]?_0x5a149c[_0x5232f0(0x21b)][_0x5232f0(0x1be)](_0x1ec384=>({..._0x1ec384,'label':this[_0x5232f0(0x1a3)](_0x3fd4d6+_0x5232f0(0x20a)+_0x1ec384['id'][_0x5232f0(0x1f7)](),_0x1ec384[_0x5232f0(0x1c3)])})):void 0x0}))),_0x57a687;}[_0x4758ac(0x19a)](_0x410cfc){const _0x2cd4fe=_0x4758ac,_0x1e2bc9=[];_0x410cfc[_0x2cd4fe(0x21a)][_0x2cd4fe(0x1f6)](_0x39d909=>{const _0x571f53=_0x2cd4fe;(_0x39d909 instanceof _0x8a1f02&&!_0x39d909[_0x571f53(0x209)]||_0x39d909 instanceof _0x323e8d&&!_0x39d909[_0x571f53(0x218)][_0x571f53(0x1dc)])&&_0x1e2bc9[_0x571f53(0x1b0)](_0x39d909['id']);}),_0x1e2bc9[_0x2cd4fe(0x1dc)]&&_0x1e2bc9[_0x2cd4fe(0x1f6)](_0x255e99=>{const _0x220d6f=_0x2cd4fe;_0x410cfc[_0x220d6f(0x1f1)](_0x255e99),this[_0x220d6f(0x1d5)](new _0x5bc25c(_0x220d6f(0x1d9),this,{'commandId':_0x255e99}),!0x0);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc3d681=_0x3f96;(function(_0x4d8109,_0x358779){const _0x5cab05=_0x3f96,_0xbae60e=_0x4d8109();while(!![]){try{const _0x2ca833=-parseInt(_0x5cab05(0x11d))/0x1+parseInt(_0x5cab05(0x11e))/0x2*(-parseInt(_0x5cab05(0x11c))/0x3)+parseInt(_0x5cab05(0x12a))/0x4*(-parseInt(_0x5cab05(0x133))/0x5)+parseInt(_0x5cab05(0x12f))/0x6+parseInt(_0x5cab05(0x130))/0x7+parseInt(_0x5cab05(0x11a))/0x8+parseInt(_0x5cab05(0x118))/0x9;if(_0x2ca833===_0x358779)break;else _0xbae60e['push'](_0xbae60e['shift']());}catch(_0x42f82b){_0xbae60e['push'](_0xbae60e['shift']());}}}(_0x4141,0x9634e));import{FormHeaderView as _0x45c420}from'ckeditor5/src/ui.js';import{IconAIReview as _0x269212}from'ckeditor5/src/icons.js';import{getTranslation as _0x1dd222}from'../aicore/utils/common-translations.js';import{AIReviewCoreView as _0x5e8846}from'../aireviewcore/ui/aireviewcoreview.js';import{AIReviewCoreUI as _0x177a23}from'../aireviewcore/aireviewcoreui.js';import{AIReviewCoreUICheckResultsView as _0x5b832e}from'../aireviewcore/ui/aireviewcoreuicheckresultsview.js';function _0x4141(){const _0x2cc29c=['6vZdNzE','798497uWHVni','41552dfwcKd','plugins','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','_mainView','pluginName','createMainView','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','view','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','fire','AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE','addTab','247260zKSYSA','leaveReview','AI_REVIEW_MODE','activateTab','AITabs','2835384fEJuAh','2702308zAeAmr','ck-ai-header\x20ck-ai-header_review','get','60QRaYHQ','context','getReviewCheckList','registerTab','locale','10112301lNqBwK','AIReviewModeUI','1719024OieOkv','reviewMode'];_0x4141=function(){return _0x2cc29c;};return _0x4141();}import{AIReviewCoreReviewCompletedView as _0x1dd41e}from'../aireviewcore/ui/aireviewcorereviewcompletedview.js';function _0x3f96(_0x2e4ccd,_0x27255d){const _0x414161=_0x4141();return _0x3f96=function(_0x3f9665,_0x4dd485){_0x3f9665=_0x3f9665-0x115;let _0x501ad6=_0x414161[_0x3f9665];return _0x501ad6;},_0x3f96(_0x2e4ccd,_0x27255d);}import{AIReviewCoreReviewCheckListView as _0xe79c29}from'../aireviewcore/ui/aireviewcorereviewchecklistview.js';export class AIReviewModeUI extends _0x177a23{static get[_0xc3d681(0x122)](){const _0x5c7457=_0xc3d681;return _0x5c7457(0x119);}[_0xc3d681(0x123)](){const _0x2e0970=_0xc3d681,_0x1970ab=this[_0x2e0970(0x134)][_0x2e0970(0x117)],_0x1aefc0=new _0x45c420(_0x1970ab,{'label':_0x1dd222(_0x1970ab,_0x2e0970(0x12c)),'icon':_0x269212,'class':_0x2e0970(0x131)});return new _0x5e8846(this[_0x2e0970(0x134)][_0x2e0970(0x117)],{'header':_0x1aefc0,'list':new _0xe79c29(_0x1970ab),'results':new _0x5b832e(_0x1970ab,{'generalErrorText':_0x1dd222(_0x1970ab,_0x2e0970(0x128))}),'completed':new _0x1dd41e(_0x1970ab,{'headerText':_0x1dd222(_0x1970ab,_0x2e0970(0x126)),'emptyResultsText':_0x1dd222(_0x1970ab,_0x2e0970(0x124)),'buttonText':_0x1dd222(_0x1970ab,_0x2e0970(0x120))})});}[_0xc3d681(0x116)](){const _0x494354=_0xc3d681,_0x581148=this[_0x494354(0x134)][_0x494354(0x11f)][_0x494354(0x132)](_0x494354(0x12e));_0x581148[_0x494354(0x125)]['on'](_0x494354(0x12d),(_0x178e10,_0x4b92c1)=>{const _0x29508c=_0x494354;_0x29508c(0x11b)===_0x4b92c1?this[_0x29508c(0x127)](_0x29508c(0x115)):this[_0x29508c(0x127)](_0x29508c(0x12b));}),_0x581148[_0x494354(0x125)][_0x494354(0x129)]({'id':_0x494354(0x11b),'buttonLabel':_0x1dd222(this[_0x494354(0x134)][_0x494354(0x117)],_0x494354(0x12c)),'buttonIcon':_0x269212,'order':0x0,'content':this[_0x494354(0x121)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x28ef(_0x15e46e,_0x540ffb){var _0x21968d=_0x2196();return _0x28ef=function(_0x28ef4d,_0x1b57c7){_0x28ef4d=_0x28ef4d-0x13f;var _0x38cbe0=_0x21968d[_0x28ef4d];return _0x38cbe0;},_0x28ef(_0x15e46e,_0x540ffb);}function _0x2196(){var _0x2fee22=['224cAxlfu','_defaultModel','7RRJmHP','defaultModel','128152AFmPAH','_models','1870384xFcKPh','50NRLqeQ','6483246rucMcb','13653252XNuAJz','models','7722440LPZlRx','11044QBlHEI','9630907UutKNf','9uabsEp'];_0x2196=function(){return _0x2fee22;};return _0x2196();}var _0x32124d=_0x28ef;(function(_0x1c9631,_0x4a7ff6){var _0x339369=_0x28ef,_0x57e482=_0x1c9631();while(!![]){try{var _0x5d3693=-parseInt(_0x339369(0x141))/0x1*(parseInt(_0x339369(0x144))/0x2)+-parseInt(_0x339369(0x143))/0x3*(parseInt(_0x339369(0x148))/0x4)+-parseInt(_0x339369(0x140))/0x5+parseInt(_0x339369(0x14c))/0x6*(parseInt(_0x339369(0x146))/0x7)+-parseInt(_0x339369(0x14a))/0x8+-parseInt(_0x339369(0x14d))/0x9+parseInt(_0x339369(0x14b))/0xa*(parseInt(_0x339369(0x142))/0xb);if(_0x5d3693===_0x4a7ff6)break;else _0x57e482['push'](_0x57e482['shift']());}catch(_0x4a6904){_0x57e482['push'](_0x57e482['shift']());}}}(_0x2196,0xca9ae));import{AIReviewCheck as _0x446054}from'../../aireviewcore/model/aireviewcheck.js';export class AIReviewCheckCustom extends _0x446054{[_0x32124d(0x149)]=[];[_0x32124d(0x145)]=null;constructor(_0x2d646b,_0x35246d,_0x55e4e4){var _0x38511a=_0x32124d;super(_0x2d646b),this[_0x38511a(0x149)]=_0x35246d,this[_0x38511a(0x145)]=_0x55e4e4;}get[_0x32124d(0x13f)](){var _0x3e2064=_0x32124d;return this[_0x3e2064(0x149)];}get[_0x32124d(0x147)](){var _0x25b660=_0x32124d;return this[_0x25b660(0x145)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x56c98b=_0x473b;function _0x473b(_0x2c84cc,_0x500051){var _0x2f8969=_0x2f89();return _0x473b=function(_0x473b49,_0xc125ac){_0x473b49=_0x473b49-0x190;var _0xd86aa8=_0x2f8969[_0x473b49];return _0xd86aa8;},_0x473b(_0x2c84cc,_0x500051);}(function(_0x542391,_0xf2348c){var _0x2c3a3b=_0x473b,_0x1485c3=_0x542391();while(!![]){try{var _0x479aea=parseInt(_0x2c3a3b(0x196))/0x1+parseInt(_0x2c3a3b(0x198))/0x2+-parseInt(_0x2c3a3b(0x199))/0x3+-parseInt(_0x2c3a3b(0x19d))/0x4+-parseInt(_0x2c3a3b(0x191))/0x5*(-parseInt(_0x2c3a3b(0x190))/0x6)+-parseInt(_0x2c3a3b(0x19c))/0x7+parseInt(_0x2c3a3b(0x19b))/0x8*(parseInt(_0x2c3a3b(0x195))/0x9);if(_0x479aea===_0xf2348c)break;else _0x1485c3['push'](_0x1485c3['shift']());}catch(_0x3bf510){_0x1485c3['push'](_0x1485c3['shift']());}}}(_0x2f89,0x86f65));import{AIReviewCheck as _0x4e717f}from'../../aireviewcore/model/aireviewcheck.js';export class AIReviewCheckExtra extends _0x4e717f{[_0x56c98b(0x194)]=!0x0;[_0x56c98b(0x197)];[_0x56c98b(0x19e)];[_0x56c98b(0x19a)]=null;constructor(_0x19966f,_0x50473e,_0x5956eb){var _0x1f8e9b=_0x56c98b;super(_0x19966f),this[_0x1f8e9b(0x197)]=_0x19966f[_0x1f8e9b(0x197)],this[_0x1f8e9b(0x19e)]=_0x19966f[_0x1f8e9b(0x19e)],this[_0x1f8e9b(0x19e)]?this[_0x1f8e9b(0x19a)]=_0x50473e[_0x1f8e9b(0x193)](_0x3c2cf9=>_0x3c2cf9['id']===this[_0x1f8e9b(0x19e)])||null:this[_0x1f8e9b(0x19a)]=_0x5956eb;}get[_0x56c98b(0x192)](){var _0xcede01=_0x56c98b;return this[_0xcede01(0x19a)];}}function _0x2f89(){var _0x5ac335=['2967153EoSTnc','_defaultModel','8cHzcGz','2291226SeEhQP','4067060aEnxBS','model','524466uEXLAq','60caiBLS','defaultModel','find','isExtra','5868936PgVcAd','470791aBGAjx','prompt','1428224oMxKdt'];_0x2f89=function(){return _0x5ac335;};return _0x2f89();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x518a(){var _0xbc7a0b=['124374xZcoCw','_aiConnector','1280752OxELnZ','339062xtWdrU','90848yEBzLL','_model','454448tYBBjk','callCustomReview','_documentData','10rRLxfu','_sendRatingRequest','content','upsertCustomAIReviewRating','_createApiRequest','subTitle','785406KpRzdf','_prompt','1652686MuekHH'];_0x518a=function(){return _0xbc7a0b;};return _0x518a();}var _0x3ee50a=_0x3500;(function(_0x4577a3,_0x227539){var _0x4011e2=_0x3500,_0x1739e7=_0x4577a3();while(!![]){try{var _0x550cfd=parseInt(_0x4011e2(0x7b))/0x1+-parseInt(_0x4011e2(0x7e))/0x2+parseInt(_0x4011e2(0x87))/0x3+-parseInt(_0x4011e2(0x8c))/0x4+-parseInt(_0x4011e2(0x81))/0x5*(parseInt(_0x4011e2(0x8a))/0x6)+parseInt(_0x4011e2(0x89))/0x7+-parseInt(_0x4011e2(0x7c))/0x8;if(_0x550cfd===_0x227539)break;else _0x1739e7['push'](_0x1739e7['shift']());}catch(_0x4ad695){_0x1739e7['push'](_0x1739e7['shift']());}}}(_0x518a,0x39cc0));function _0x3500(_0x3bb2b3,_0x4a1972){var _0x518ac5=_0x518a();return _0x3500=function(_0x350075,_0x346d14){_0x350075=_0x350075-0x7b;var _0x25a111=_0x518ac5[_0x350075];return _0x25a111;},_0x3500(_0x3bb2b3,_0x4a1972);}import{AIReviewCheckRun as _0x53d90f}from'../../aireviewcore/model/aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x53d90f{[_0x3ee50a(0x88)];[_0x3ee50a(0x7d)];constructor(_0x405bc7,_0x37106b,_0x59adc1,_0x11813e,_0x4e17c3){var _0x492c54=_0x3ee50a;super(_0x59adc1,_0x11813e,_0x4e17c3),this[_0x492c54(0x88)]=_0x405bc7,this[_0x492c54(0x7d)]=_0x37106b;}get[_0x3ee50a(0x86)](){var _0x479178=_0x3ee50a;return this[_0x479178(0x88)];}[_0x3ee50a(0x85)](){var _0x4d497c=_0x3ee50a;return this[_0x4d497c(0x8b)][_0x4d497c(0x7f)]({'content':this[_0x4d497c(0x80)][_0x4d497c(0x83)],'prompt':this[_0x4d497c(0x88)],'model':this[_0x4d497c(0x7d)]});}[_0x3ee50a(0x82)](_0xbb3b5a,_0x31fc48,_0x46d4fc){var _0x36bffd=_0x3ee50a;return this[_0x36bffd(0x8b)][_0x36bffd(0x84)](_0x31fc48,_0xbb3b5a,_0x46d4fc);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x542c(){var _0x5c07cd=['548772MVhFXf','model','9rXjSfF','_model','304285CroXIE','prompt','3659754PYNAeR','192430jzeFoM','4024552hEfZHR','998014URAxJB','subTitle','858634KaJwtH','_prompt'];_0x542c=function(){return _0x5c07cd;};return _0x542c();}var _0x6fcd7b=_0x3b77;function _0x3b77(_0x2d24ba,_0x561659){var _0x542cf5=_0x542c();return _0x3b77=function(_0x3b770d,_0x13d465){_0x3b770d=_0x3b770d-0x163;var _0xd70c30=_0x542cf5[_0x3b770d];return _0xd70c30;},_0x3b77(_0x2d24ba,_0x561659);}(function(_0x5ce238,_0x1e0b38){var _0x4da07f=_0x3b77,_0x55901b=_0x5ce238();while(!![]){try{var _0x20c7a6=-parseInt(_0x4da07f(0x167))/0x1+-parseInt(_0x4da07f(0x169))/0x2*(-parseInt(_0x4da07f(0x16f))/0x3)+-parseInt(_0x4da07f(0x16d))/0x4+-parseInt(_0x4da07f(0x164))/0x5+-parseInt(_0x4da07f(0x166))/0x6+-parseInt(_0x4da07f(0x16b))/0x7+parseInt(_0x4da07f(0x168))/0x8;if(_0x20c7a6===_0x1e0b38)break;else _0x55901b['push'](_0x55901b['shift']());}catch(_0x9c6834){_0x55901b['push'](_0x55901b['shift']());}}}(_0x542c,0xd61bd));import{AIReviewCustomCheckRun as _0x1aff0c}from'./aireviewcustomcheckrun.js';export class AIReviewExtraCheckRun extends _0x1aff0c{get[_0x6fcd7b(0x16a)](){return'';}set[_0x6fcd7b(0x165)](_0x517028){var _0x4d0113=_0x6fcd7b;this[_0x4d0113(0x16c)]=_0x517028;}set[_0x6fcd7b(0x16e)](_0x5c947f){var _0xef2c11=_0x6fcd7b;this[_0xef2c11(0x163)]=_0x5c947f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x15f22b=_0x28d2;(function(_0x35d5e2,_0x213490){var _0x106ac0=_0x28d2,_0x1e1d9a=_0x35d5e2();while(!![]){try{var _0x5f5a69=-parseInt(_0x106ac0(0x1f8))/0x1*(parseInt(_0x106ac0(0x1f5))/0x2)+-parseInt(_0x106ac0(0x1f1))/0x3+-parseInt(_0x106ac0(0x1fa))/0x4+parseInt(_0x106ac0(0x1f7))/0x5+parseInt(_0x106ac0(0x1fd))/0x6+parseInt(_0x106ac0(0x1f0))/0x7+parseInt(_0x106ac0(0x1f4))/0x8;if(_0x5f5a69===_0x213490)break;else _0x1e1d9a['push'](_0x1e1d9a['shift']());}catch(_0x1cffad){_0x1e1d9a['push'](_0x1e1d9a['shift']());}}}(_0x2a30,0x1db29));function _0x2a30(){var _0x4dd8f2=['_checks','1238678SMVtJS','612435wahWCC','isExtra','setupChecks','2214392aKVuYi','6GpkNTJ','custom','248895HmXeyb','73404muXuUe','map','439188xfRneV','_allModels','_defaultModel','913578LJFZpK','_recommendedModels'];_0x2a30=function(){return _0x4dd8f2;};return _0x2a30();}import{AIReviewCheckList as _0x302340}from'../../aireviewcore/model/aireviewchecklist.js';import{AIReviewCheck as _0x10a78c}from'../../aireviewcore/model/aireviewcheck.js';import{AIReviewCheckCustom as _0x65d494}from'./aireviewcheckcustom.js';function _0x28d2(_0x2a1c54,_0x2f145e){var _0x2a3090=_0x2a30();return _0x28d2=function(_0x28d227,_0x2ce1ff){_0x28d227=_0x28d227-0x1ef;var _0x3bf7f5=_0x2a3090[_0x28d227];return _0x3bf7f5;},_0x28d2(_0x2a1c54,_0x2f145e);}import{AIReviewCheckExtra as _0x2d4030}from'./aireviewcheckextra.js';export class AIReviewModeCheckList extends _0x302340{[_0x15f22b(0x1fb)]=[];[_0x15f22b(0x1fe)]=[];[_0x15f22b(0x1fc)]=null;constructor(_0x1b60fa,_0x432e5a,_0x44e5cc){var _0x5ed705=_0x15f22b;super(),this[_0x5ed705(0x1fb)]=_0x1b60fa,this[_0x5ed705(0x1fe)]=_0x432e5a,this[_0x5ed705(0x1fc)]=_0x44e5cc;}[_0x15f22b(0x1f3)](_0x23d2be){var _0x3e7099=_0x15f22b;this[_0x3e7099(0x1ef)]=_0x23d2be[_0x3e7099(0x1f9)](_0x353266=>!0x0===_0x353266[_0x3e7099(0x1f2)]?new _0x2d4030(_0x353266,this[_0x3e7099(0x1fb)],this[_0x3e7099(0x1fc)]):_0x3e7099(0x1f6)===_0x353266['id']?new _0x65d494(_0x353266,this[_0x3e7099(0x1fe)],this[_0x3e7099(0x1fc)]):new _0x10a78c(_0x353266));}}
|
package/src/aitabs/aitabs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x1576(_0x4e57fb,_0x365e7f){const _0x5b9de5=_0x5b9d();return _0x1576=function(_0x15768d,_0x274961){_0x15768d=_0x15768d-0x198;let _0x3e7d44=_0x5b9de5[_0x15768d];return _0x3e7d44;},_0x1576(_0x4e57fb,_0x365e7f);}const _0x344de3=_0x1576;(function(_0x3cf981,_0x777bb7){const _0x49160f=_0x1576,_0x465d85=_0x3cf981();while(!![]){try{const _0x335d14=-parseInt(_0x49160f(0x1c4))/0x1*(parseInt(_0x49160f(0x1c7))/0x2)+parseInt(_0x49160f(0x19d))/0x3+parseInt(_0x49160f(0x1a4))/0x4*(-parseInt(_0x49160f(0x1c3))/0x5)+-parseInt(_0x49160f(0x1c0))/0x6+parseInt(_0x49160f(0x1c2))/0x7*(parseInt(_0x49160f(0x1a1))/0x8)+-parseInt(_0x49160f(0x1a2))/0x9+parseInt(_0x49160f(0x1ac))/0xa*(parseInt(_0x49160f(0x1bb))/0xb);if(_0x335d14===_0x777bb7)break;else _0x465d85['push'](_0x465d85['shift']());}catch(_0x1a1bc3){_0x465d85['push'](_0x465d85['shift']());}}}(_0x5b9d,0x448de));import{ContextPlugin as _0x230611,Editor as _0xaf4608}from'ckeditor5/src/core.js';import{CKEditorError as _0x891eb5}from'ckeditor5/src/utils.js';import{AITabsMainView as _0x2b96f2,AI_TABS_VIEW_SIDES as _0x553c9d,AI_TABS_VIEW_TYPES as _0x4a3c33}from'./aitabsmainview.js';function _0x5b9d(){const _0x93d5a9=['render','resize','2607240ucJRwJ','4557483HpQXgq','element','311188TuoyLI','add','ai-tabs-unsupported-ui-side','config','right','destroy','includes','fire','23330cmuJKS','overlay','context','isOfficialPlugin','pluginName','bind','ai-tabs-sidebar-container-element-not-found','AITabs','showResizeButton','ai.container','appendChild','visibleByDefault','type','custom','switchType','2662MpMinv','ai-tabs-configuration-not-found','body','container','focusTracker','3157482sXRcIp','sidebar','7NaZHxx','5KwxsCz','5nOOeoM','side','set','7054HQkuUF','isPremiumPlugin','locale','resizedTabs','remove','switchSide','isMaximized','get','ai-tabs-unsupported-ui-type','1555119PeoKSp','view'];_0x5b9d=function(){return _0x93d5a9;};return _0x5b9d();}export class AITabs extends _0x230611{[_0x344de3(0x19e)];[_0x344de3(0x1be)]=null;[_0x344de3(0x1b4)]=!0x0;static get[_0x344de3(0x1b0)](){const _0x4c689f=_0x344de3;return _0x4c689f(0x1b3);}static get[_0x344de3(0x1af)](){return!0x0;}static get[_0x344de3(0x1c8)](){return!0x0;}constructor(_0x1ab314){const _0x25725d=_0x344de3;super(_0x1ab314);const _0xa4b69a=this[_0x25725d(0x1ae)][_0x25725d(0x1a7)][_0x25725d(0x19b)](_0x25725d(0x1b5));if(this[_0x25725d(0x1c6)](_0x25725d(0x1c5),_0x25725d(0x1a8)),!_0xa4b69a)throw new _0x891eb5(_0x25725d(0x1bc));if(void 0x0!==_0xa4b69a[_0x25725d(0x1b4)]&&(this[_0x25725d(0x1b4)]=_0xa4b69a[_0x25725d(0x1b4)]),_0x25725d(0x1c1)!==_0xa4b69a[_0x25725d(0x1b8)]&&_0x25725d(0x1ad)!==_0xa4b69a[_0x25725d(0x1b8)]||_0xa4b69a[_0x25725d(0x1c5)]&&(this[_0x25725d(0x1c5)]=_0xa4b69a[_0x25725d(0x1c5)]),_0x25725d(0x1c1)===_0xa4b69a[_0x25725d(0x1b8)]){if(this[_0x25725d(0x1be)]=_0xa4b69a[_0x25725d(0x1a3)],this[_0x25725d(0x1c6)](_0x25725d(0x1b8),_0x25725d(0x1c1)),!this[_0x25725d(0x1be)])throw new _0x891eb5(_0x25725d(0x1b2));}else _0x25725d(0x1ad)===_0xa4b69a[_0x25725d(0x1b8)]?(this[_0x25725d(0x1be)]=document[_0x25725d(0x1bd)],this[_0x25725d(0x1c6)](_0x25725d(0x1b8),_0x25725d(0x1ad))):(this[_0x25725d(0x1be)]=null,this[_0x25725d(0x1c6)](_0x25725d(0x1b8),_0x25725d(0x1b9)));this[_0x25725d(0x19e)]=new _0x2b96f2(this[_0x25725d(0x1ae)][_0x25725d(0x1c9)],{'side':this[_0x25725d(0x1c5)],'type':this[_0x25725d(0x1b8)],'visibleByDefault':void 0x0===_0xa4b69a[_0x25725d(0x1b7)]||_0xa4b69a[_0x25725d(0x1b7)]}),this[_0x25725d(0x19e)][_0x25725d(0x19f)](),this[_0x25725d(0x19e)][_0x25725d(0x1b1)](_0x25725d(0x1c5))['to'](this,_0x25725d(0x1c5)),this[_0x25725d(0x19e)][_0x25725d(0x1b1)](_0x25725d(0x1b8))['to'](this,_0x25725d(0x1b8)),this[_0x25725d(0x1be)]&&this[_0x25725d(0x1be)][_0x25725d(0x1b6)](this[_0x25725d(0x19e)][_0x25725d(0x1a3)]),this[_0x25725d(0x1ae)]instanceof _0xaf4608&&this[_0x25725d(0x1ae)]['ui'][_0x25725d(0x1bf)][_0x25725d(0x1a5)](this[_0x25725d(0x19e)][_0x25725d(0x1a3)]);}[_0x344de3(0x1ba)](_0x8e32c9){const _0xa710d4=_0x344de3;if(_0x8e32c9&&this[_0xa710d4(0x1b8)]!==_0x8e32c9){if(!_0x4a3c33[_0xa710d4(0x1aa)](_0x8e32c9))throw new _0x891eb5(_0xa710d4(0x19c));this[_0xa710d4(0x1b8)]=_0x8e32c9;}}[_0x344de3(0x199)](_0x489d65){const _0x4b6cf8=_0x344de3;if(_0x489d65&&this[_0x4b6cf8(0x1c5)]!==_0x489d65){if(!_0x553c9d[_0x4b6cf8(0x1aa)](_0x489d65))throw new _0x891eb5(_0x4b6cf8(0x1a6));this[_0x4b6cf8(0x1c5)]=_0x489d65;}}[_0x344de3(0x1a0)](){const _0xa2522e=_0x344de3;this[_0xa2522e(0x19e)][_0xa2522e(0x19a)]=!this[_0xa2522e(0x19e)][_0xa2522e(0x19a)],this[_0xa2522e(0x1ab)](_0xa2522e(0x1ca),this[_0xa2522e(0x19e)][_0xa2522e(0x19a)]);}[_0x344de3(0x1a9)](){const _0x47cfc7=_0x344de3;super[_0x47cfc7(0x1a9)](),this[_0x47cfc7(0x19e)][_0x47cfc7(0x1a9)](),this[_0x47cfc7(0x19e)][_0x47cfc7(0x1a3)]&&this[_0x47cfc7(0x19e)][_0x47cfc7(0x1a3)][_0x47cfc7(0x198)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x363d(_0x13a2ea,_0xe398a8){const _0x4eafd7=_0x4eaf();return _0x363d=function(_0x363d39,_0x4034a6){_0x363d39=_0x363d39-0x187;let _0x3c58fd=_0x4eafd7[_0x363d39];return _0x3c58fd;},_0x363d(_0x13a2ea,_0xe398a8);}function _0x4eaf(){const _0x5967f7=['386004bZAAWt','top','147860ohsmWa','ck-tab-button_','1298LdSXol','class','show','hide','isToggleable','1381961wxooEP','18PqPpTV','3040503wQdrny','isVisible','5463224JXRmGH','set','5809797qIBizR','2LqfqVB','10760TnByVE','bindTemplate','side','ck-tab-button','extendTemplate','88EAzPIA'];_0x4eaf=function(){return _0x5967f7;};return _0x4eaf();}const _0x37ddbe=_0x363d;(function(_0x232217,_0x253e4e){const _0x3a2a4a=_0x363d,_0x29d9d5=_0x232217();while(!![]){try{const _0x442181=parseInt(_0x3a2a4a(0x195))/0x1+parseInt(_0x3a2a4a(0x18e))/0x2*(-parseInt(_0x3a2a4a(0x189))/0x3)+-parseInt(_0x3a2a4a(0x194))/0x4*(parseInt(_0x3a2a4a(0x197))/0x5)+parseInt(_0x3a2a4a(0x188))/0x6*(parseInt(_0x3a2a4a(0x187))/0x7)+parseInt(_0x3a2a4a(0x18b))/0x8+parseInt(_0x3a2a4a(0x18d))/0x9+-parseInt(_0x3a2a4a(0x18f))/0xa*(-parseInt(_0x3a2a4a(0x199))/0xb);if(_0x442181===_0x253e4e)break;else _0x29d9d5['push'](_0x29d9d5['shift']());}catch(_0x2e971b){_0x29d9d5['push'](_0x29d9d5['shift']());}}}(_0x4eaf,0xbbe38));import{ButtonView as _0x33a34e}from'ckeditor5/src/ui.js';import{toArray as _0x17b0f1}from'ckeditor5/src/utils.js';import'../../../theme/aitabs/tabs/tabbuttonview.css';export class TabButtonView extends _0x33a34e{constructor(_0x347ea1,_0x3b1b6d={}){const _0x54c2cd=_0x363d;super(_0x347ea1),this[_0x54c2cd(0x19d)]=!0x0,this[_0x54c2cd(0x18c)](_0x54c2cd(0x191),_0x3b1b6d[_0x54c2cd(0x191)]||_0x54c2cd(0x196));const _0x4cb58c=this[_0x54c2cd(0x190)];this[_0x54c2cd(0x193)]({'attributes':{'class':[_0x54c2cd(0x192),..._0x17b0f1(_0x3b1b6d[_0x54c2cd(0x19a)]||[]),_0x4cb58c['to'](_0x54c2cd(0x191),_0x2a31ac=>_0x54c2cd(0x198)+_0x2a31ac),_0x4cb58c['to'](_0x54c2cd(0x19a))]}});}[_0x37ddbe(0x19b)](){const _0x4b082c=_0x37ddbe;this[_0x4b082c(0x18c)](_0x4b082c(0x18a),!0x0);}[_0x37ddbe(0x19c)](){const _0x21ef4c=_0x37ddbe;this[_0x21ef4c(0x18c)](_0x21ef4c(0x18a),!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2cd929=_0x48af;(function(_0x59b0df,_0x38404b){var _0x1bc0cc=_0x48af,_0x40b10a=_0x59b0df();while(!![]){try{var _0x1ef4a6=-parseInt(_0x1bc0cc(0x111))/0x1+-parseInt(_0x1bc0cc(0x11d))/0x2*(-parseInt(_0x1bc0cc(0x120))/0x3)+parseInt(_0x1bc0cc(0x11b))/0x4*(parseInt(_0x1bc0cc(0x11a))/0x5)+-parseInt(_0x1bc0cc(0x113))/0x6*(-parseInt(_0x1bc0cc(0x114))/0x7)+-parseInt(_0x1bc0cc(0x11f))/0x8*(-parseInt(_0x1bc0cc(0x11c))/0x9)+-parseInt(_0x1bc0cc(0x117))/0xa+-parseInt(_0x1bc0cc(0x115))/0xb;if(_0x1ef4a6===_0x38404b)break;else _0x40b10a['push'](_0x40b10a['shift']());}catch(_0xd17f3f){_0x40b10a['push'](_0x40b10a['shift']());}}}(_0x8448,0x7dd3c));import{ContextPlugin as _0x29c519}from'ckeditor5/src/core.js';function _0x48af(_0x212324,_0x29b156){var _0x8448d5=_0x8448();return _0x48af=function(_0x48af88,_0x1708d6){_0x48af88=_0x48af88-0x111;var _0x19d16c=_0x8448d5[_0x48af88];return _0x19d16c;},_0x48af(_0x212324,_0x29b156);}import{AITranslateController as _0x44cc8b}from'./aitranslatecontroller.js';function _0x8448(){var _0x530031=['3mTHneC','196881TTfazW','AITranslate','552rOFEBV','64505UokmLt','12367762QAcWWF','pluginName','3514680mRraRs','isPremiumPlugin','requires','195sxYFTp','13412IHHGgr','256518xNfFxQ','1449996xQbRbL','isOfficialPlugin','136ITRBrN'];_0x8448=function(){return _0x530031;};return _0x8448();}import{AITranslateUI as _0x9d7288}from'./aitranslateui.js';import{AIReviewCoreEditing as _0x40fc85}from'../aireviewcore/aireviewcoreediting.js';export class AITranslate extends _0x29c519{static get[_0x2cd929(0x119)](){return[_0x44cc8b,_0x9d7288,_0x40fc85];}static get[_0x2cd929(0x116)](){var _0x1e48a0=_0x2cd929;return _0x1e48a0(0x112);}static get[_0x2cd929(0x11e)](){return!0x0;}static get[_0x2cd929(0x118)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5a7ff0=_0x2725;(function(_0x239c80,_0x4e2b1e){const _0xcda71=_0x2725,_0x138a20=_0x239c80();while(!![]){try{const _0x1f35b8=-parseInt(_0xcda71(0xec))/0x1+parseInt(_0xcda71(0x98))/0x2*(parseInt(_0xcda71(0xfb))/0x3)+-parseInt(_0xcda71(0xa8))/0x4+parseInt(_0xcda71(0xda))/0x5+parseInt(_0xcda71(0xa1))/0x6*(parseInt(_0xcda71(0xf7))/0x7)+-parseInt(_0xcda71(0xef))/0x8*(-parseInt(_0xcda71(0xd9))/0x9)+-parseInt(_0xcda71(0xc4))/0xa;if(_0x1f35b8===_0x4e2b1e)break;else _0x138a20['push'](_0x138a20['shift']());}catch(_0x4722f5){_0x138a20['push'](_0x138a20['shift']());}}}(_0x4208,0x5948f));import{AIReviewCoreController as _0x23f8b4}from'../aireviewcore/aireviewcorecontroller.js';function _0x2725(_0x2af5d5,_0x391ff5){const _0x4208c6=_0x4208();return _0x2725=function(_0x2725cf,_0x5e18b7){_0x2725cf=_0x2725cf-0x95;let _0x9128e9=_0x4208c6[_0x2725cf];return _0x9128e9;},_0x2725(_0x2af5d5,_0x391ff5);}function _0x4208(){const _0x3ecb88=['korean','ck-ai-translate-','title','startsWith','setAllMarkersAsInactive','French','2739120aCcEkn','AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_','_aiConnector','getContentElementForChange','_markChangePositionInEditorContent','German','activateChange','_getChangeContentElement','setupChecks','_onChangeMarkerClicked','getEditor','plugins','_initRequiredPlugins','deactivateChange','_translateChecks','_onCheckRunFinished','changeId','map','Japanese','_onDeactivateChange','toUpperCase','63rkZxos','1072350DLTuxf','addClass','Portuguese','Chinese\x20(Simplified)','getDocumentData','getRoot','_onChangeMarkerBlurred','chinese','params','context','japanese','ai.translate.languages','document','label','_onReviewCheckRun','AIReviewCoreEditing','diffContent','portuguese','176347coGZBr','spanish','_getTranslationWithDefault','552008oexLEv','_onActivateChange','push','setActiveStateInResults','origin','Russian','italian','AITranslateUI','884947mFwOWc','_scrollToChange','removeClass','replaceAll','45XMDagY','setMarkersInElementAsActive','english','panel','_aiReviewCoreEditing','English','_createReviewCheckRun','_onReviewCheckResultActivated','19556STAJiZ','_changeActivationSource','change','french','ck-ai-review-','define','pluginName','Italian','click','6oCLulf','hover','markChangePositionInEditorContent','_onChangeMarkerHovered','getClassNames','russian','args','618392GouKMR','locale','resetActiveStateInResults','Korean','_diffContent','content','ck-ai-translate-mode-content','_onReviewCheckResultDeactivated','_onReviewRunLeave','_getChecksList','_aiReviewCoreUi','uiInteraction','reactivateMarkers','editing','AITranslateController','config','AI_REVIEW_CHECK_TRANSLATE_TITLE','Spanish','german','view','get','_currentReviewCheckRun'];_0x4208=function(){return _0x3ecb88;};return _0x4208();}import{AITranslateCheckList as _0x26b30d}from'./model/aitranslatechecklist.js';import{AITranslateCheckRun as _0x34558d}from'./model/aitranslatecheckrun.js';import{getTranslation as _0x17dfed}from'../aicore/utils/common-translations.js';export class AITranslateController extends _0x23f8b4{static get[_0x5a7ff0(0x9e)](){const _0x566aff=_0x5a7ff0;return _0x566aff(0xb6);}constructor(_0x8e5bb9){const _0x447030=_0x5a7ff0;super(_0x8e5bb9),this[_0x447030(0xe3)][_0x447030(0xb7)][_0x447030(0x9d)](_0x447030(0xe5),[{'label':_0x447030(0x95),'id':_0x447030(0xfd)},{'label':_0x447030(0xb9),'id':_0x447030(0xed)},{'label':_0x447030(0xc3),'id':_0x447030(0x9b)},{'label':_0x447030(0xc9),'id':_0x447030(0xba)},{'label':_0x447030(0xdd),'id':_0x447030(0xe1)},{'label':_0x447030(0xd6),'id':_0x447030(0xe4)},{'label':_0x447030(0xf4),'id':_0x447030(0xa6)},{'label':_0x447030(0xdc),'id':_0x447030(0xeb)},{'label':_0x447030(0xab),'id':_0x447030(0xbe)},{'label':_0x447030(0x9f),'id':_0x447030(0xf5)}]);}[_0x5a7ff0(0xd3)](){const _0x53e72d=_0x5a7ff0;this[_0x53e72d(0xb0)](!0x0);}[_0x5a7ff0(0xd0)](){const _0x56e75b=_0x5a7ff0;super[_0x56e75b(0xd0)](),this[_0x56e75b(0xb2)]=this[_0x56e75b(0xe3)][_0x56e75b(0xcf)][_0x56e75b(0xbc)](_0x56e75b(0xf6)),this[_0x56e75b(0xff)]=this[_0x56e75b(0xe3)][_0x56e75b(0xcf)][_0x56e75b(0xbc)](_0x56e75b(0xe9));}[_0x5a7ff0(0x96)](_0x117a4d,_0x145f74){const _0x504ef5=_0x5a7ff0;return new _0x34558d(this[_0x504ef5(0xff)][_0x504ef5(0xde)](),_0x145f74,this[_0x504ef5(0xc6)],_0x17dfed(this[_0x504ef5(0xe3)][_0x504ef5(0xa9)],_0x504ef5(0xb8)),_0x117a4d[_0x504ef5(0xe2)],_0x117a4d[_0x504ef5(0xa7)]);}[_0x5a7ff0(0x97)](_0x40e65f){const _0x32e26c=_0x5a7ff0;this[_0x32e26c(0xb2)][_0x32e26c(0xf2)](_0x40e65f[_0x32e26c(0x9a)]['id']),this[_0x32e26c(0xff)][_0x32e26c(0xfc)](_0x40e65f[_0x32e26c(0x9a)]['id']);}[_0x5a7ff0(0xaf)](){const _0x13b9ac=_0x5a7ff0;this[_0x13b9ac(0xff)][_0x13b9ac(0xc2)](),this[_0x13b9ac(0xb2)][_0x13b9ac(0xaa)]();}[_0x5a7ff0(0xf0)](_0x3e0f78){const _0x4dfe9b=_0x5a7ff0;this[_0x4dfe9b(0xbd)]&&(_0x4dfe9b(0xa2)===_0x3e0f78[_0x4dfe9b(0xb3)]&&(this[_0x4dfe9b(0x99)]=_0x4dfe9b(0xfe),this[_0x4dfe9b(0xbd)][_0x4dfe9b(0xca)](_0x3e0f78['id'])),_0x4dfe9b(0xa0)===_0x3e0f78[_0x4dfe9b(0xb3)]&&this[_0x4dfe9b(0xf8)](_0x3e0f78['id']));}[_0x5a7ff0(0xd7)](_0x44fafa){const _0x931cfb=_0x5a7ff0;this[_0x931cfb(0xbd)]&&_0x931cfb(0xfe)===_0x44fafa[_0x931cfb(0xf3)]&&this[_0x931cfb(0xbd)][_0x931cfb(0xd1)]();}[_0x5a7ff0(0xcd)](_0xfa015a,_0x10ce87){const _0x580d77=_0x5a7ff0;this[_0x580d77(0xbd)]&&(this[_0x580d77(0x99)]=_0x580d77(0xad),this[_0x580d77(0xbd)][_0x580d77(0xca)](_0x10ce87[_0x580d77(0xd4)]),this[_0x580d77(0xf8)](_0x10ce87[_0x580d77(0xd4)]));}[_0x5a7ff0(0xa4)](_0x43ace9,_0x46d422){const _0x1ecfcd=_0x5a7ff0;this[_0x1ecfcd(0xbd)]&&(this[_0x1ecfcd(0x99)]=_0x1ecfcd(0xad),this[_0x1ecfcd(0xbd)][_0x1ecfcd(0xca)](_0x46d422[_0x1ecfcd(0xd4)]),this[_0x1ecfcd(0xff)][_0x1ecfcd(0xb4)](_0x46d422[_0x1ecfcd(0xd4)]));}[_0x5a7ff0(0xe0)](){const _0x3395ca=_0x5a7ff0;this[_0x3395ca(0xbd)]&&_0x3395ca(0xad)===this[_0x3395ca(0x99)]&&(this[_0x3395ca(0xbd)][_0x3395ca(0xd1)](),this[_0x3395ca(0xff)][_0x3395ca(0xc2)]());}[_0x5a7ff0(0xcb)](_0x2555d7){const _0x22e045=_0x5a7ff0;return this[_0x22e045(0xff)][_0x22e045(0xc7)](_0x2555d7);}[_0x5a7ff0(0xc8)](_0xd4fd86,_0x15445e){const _0x4c20c0=_0x5a7ff0;this[_0x4c20c0(0xff)][_0x4c20c0(0xa3)](_0xd4fd86,_0x15445e);}[_0x5a7ff0(0xac)](_0x1d7e2b,_0x5b1698){const _0x576ad0=_0x5a7ff0;return this[_0x576ad0(0xff)][_0x576ad0(0xea)](_0x1d7e2b,_0x5b1698,!0x0);}[_0x5a7ff0(0xe8)](){const _0x51432c=_0x5a7ff0,_0x27bdc6=this[_0x51432c(0xff)][_0x51432c(0xce)]();_0x27bdc6&&_0x27bdc6[_0x51432c(0xb5)][_0x51432c(0xbb)][_0x51432c(0x9a)](_0x3e104b=>{const _0x42274e=_0x51432c,_0x103da2=_0x27bdc6[_0x42274e(0xb5)][_0x42274e(0xbb)][_0x42274e(0xe6)][_0x42274e(0xdf)]();for(const _0x543777 of _0x103da2[_0x42274e(0xa5)]())(_0x543777[_0x42274e(0xc1)](_0x42274e(0x9c))||_0x42274e(0xbf)===_0x543777)&&_0x3e104b[_0x42274e(0xf9)](_0x543777,_0x103da2);_0x3e104b[_0x42274e(0xdb)](_0x42274e(0xae),_0x103da2);});}async[_0x5a7ff0(0xb1)](){const _0x4897c4=_0x5a7ff0,_0x44b8b1=[],_0x3a8f88=this[_0x4897c4(0xe3)][_0x4897c4(0xb7)][_0x4897c4(0xbc)](_0x4897c4(0xe5))||[];for(const _0x26ab07 of _0x3a8f88)_0x44b8b1[_0x4897c4(0xf1)]({'title':_0x26ab07[_0x4897c4(0xe7)],'id':_0x26ab07['id'],'commandId':_0x26ab07['id'],'description':'','isParameterized':!0x1,'useArgs':!0x0,'args':{'language':_0x26ab07['id']}});const _0x982ca6=new _0x26b30d();return _0x982ca6[_0x4897c4(0xcc)](this[_0x4897c4(0xd2)](_0x44b8b1)),_0x982ca6;}[_0x5a7ff0(0xd2)](_0x4b3ad5){const _0x5b6591=_0x5a7ff0;return _0x4b3ad5[_0x5b6591(0xd5)](_0x20cd0b=>{const _0x5b190b=_0x5b6591,_0x4ece2f=_0x5b190b(0xc5)+_0x20cd0b[_0x5b190b(0xc0)][_0x5b190b(0xd8)]()[_0x5b190b(0xfa)]('-','_');return{..._0x20cd0b,'title':this[_0x5b190b(0xee)](_0x4ece2f,_0x20cd0b[_0x5b190b(0xc0)])};});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1dbba4=_0x1215;function _0x21e6(){const _0x418f1c=['458524KGoerf','30XUeiCU','40bIghOB','AI_TRANSLATE_FINISH_HEADER_TITLE','AI_REVIEW_CHECK_TRANSLATE_TITLE','4hsIamE','createMainView','AI_TRANSLATE_EMPTY_RESULTS_TEXT','66TdIxAX','1406776WmpLXN','65531rOAmna','leaveReview','locale','72TBiEag','view','1971skdRXr','ck-ai-translate-mode','activateTab','fire','_mainView','399755IiEFHi','extendTemplate','22066200RljsOs','context','registerTab','ck-ai-header\x20ck-ai-header_review-translate','plugins','translate','get','addTab','pluginName','569000rCjrTk','AI_TRANSLATE_FINISH_BUTTON_LABEL','AITranslateUI','AI_TRANSLATE_GENERAL_ERROR_MESSAGE','getReviewCheckList','AITabs'];_0x21e6=function(){return _0x418f1c;};return _0x21e6();}(function(_0x22885a,_0x46ecf2){const _0x1d5ae3=_0x1215,_0x18e166=_0x22885a();while(!![]){try{const _0x495f78=-parseInt(_0x1d5ae3(0x121))/0x1*(-parseInt(_0x1d5ae3(0x118))/0x2)+-parseInt(_0x1d5ae3(0x101))/0x3*(-parseInt(_0x1d5ae3(0x11c))/0x4)+parseInt(_0x1d5ae3(0x106))/0x5*(parseInt(_0x1d5ae3(0x11f))/0x6)+-parseInt(_0x1d5ae3(0x120))/0x7+parseInt(_0x1d5ae3(0x111))/0x8*(parseInt(_0x1d5ae3(0xff))/0x9)+-parseInt(_0x1d5ae3(0x119))/0xa*(-parseInt(_0x1d5ae3(0x117))/0xb)+-parseInt(_0x1d5ae3(0x108))/0xc;if(_0x495f78===_0x46ecf2)break;else _0x18e166['push'](_0x18e166['shift']());}catch(_0x4929b3){_0x18e166['push'](_0x18e166['shift']());}}}(_0x21e6,0x88799));import{FormHeaderView as _0xb9c383}from'ckeditor5/src/ui.js';import{IconAITranslate as _0x25fe26}from'ckeditor5/src/icons.js';function _0x1215(_0x5c2cc8,_0x40527d){const _0x21e68a=_0x21e6();return _0x1215=function(_0x1215f3,_0x409feb){_0x1215f3=_0x1215f3-0xff;let _0x5bac7b=_0x21e68a[_0x1215f3];return _0x5bac7b;},_0x1215(_0x5c2cc8,_0x40527d);}import{getTranslation as _0x2ba1d0}from'../aicore/utils/common-translations.js';import{AIReviewCoreUI as _0x733c0a}from'../aireviewcore/aireviewcoreui.js';import{AIReviewCoreView as _0x42e821}from'../aireviewcore/ui/aireviewcoreview.js';import{AITranslateCheckResultsView as _0xc9b239}from'./ui/aitranslatecheckresultsview.js';import{AIReviewCoreReviewCompletedView as _0xc5ec5a}from'../aireviewcore/ui/aireviewcorereviewcompletedview.js';import{AITranslateCheckListView as _0x469efc}from'./ui/aitranslatechecklistview.js';import'../../theme/aitranslate/aitranslate.css';export class AITranslateUI extends _0x733c0a{static get[_0x1dbba4(0x110)](){const _0x270ece=_0x1dbba4;return _0x270ece(0x113);}[_0x1dbba4(0x11d)](){const _0x12c2db=_0x1dbba4,_0x134ad2=this[_0x12c2db(0x109)][_0x12c2db(0x123)],_0x580e10=new _0xb9c383(_0x134ad2,{'label':_0x2ba1d0(_0x134ad2,_0x12c2db(0x11b)),'icon':_0x25fe26,'class':_0x12c2db(0x10b)}),_0x5302b7=new _0x42e821(_0x134ad2,{'header':_0x580e10,'list':new _0x469efc(_0x134ad2),'results':new _0xc9b239(_0x134ad2,{'generalErrorText':_0x2ba1d0(_0x134ad2,_0x12c2db(0x114))}),'completed':new _0xc5ec5a(_0x134ad2,{'headerText':_0x2ba1d0(_0x134ad2,_0x12c2db(0x11a)),'emptyResultsText':_0x2ba1d0(_0x134ad2,_0x12c2db(0x11e)),'buttonText':_0x2ba1d0(_0x134ad2,_0x12c2db(0x112))})});return _0x5302b7[_0x12c2db(0x107)]({'attributes':{'class':_0x12c2db(0x102)}}),_0x5302b7;}[_0x1dbba4(0x10a)](){const _0x56e0d7=_0x1dbba4,_0x361020=this[_0x56e0d7(0x109)][_0x56e0d7(0x10c)][_0x56e0d7(0x10e)](_0x56e0d7(0x116));_0x361020[_0x56e0d7(0x100)]['on'](_0x56e0d7(0x103),(_0xc43c9e,_0x2fdb29)=>{const _0x260826=_0x56e0d7;_0x260826(0x10d)===_0x2fdb29?this[_0x260826(0x104)](_0x260826(0x115)):this[_0x260826(0x104)](_0x260826(0x122));}),_0x361020[_0x56e0d7(0x100)][_0x56e0d7(0x10f)]({'id':_0x56e0d7(0x10d),'buttonLabel':_0x2ba1d0(this[_0x56e0d7(0x109)][_0x56e0d7(0x123)],_0x56e0d7(0x11b)),'buttonIcon':_0x25fe26,'order':0x0,'content':this[_0x56e0d7(0x105)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x58db(){var _0x223fbe=['2013435YoRqRO','3zvmrRH','1574520xzAdnu','apiId','433949IBPyed','14umVzBU','932112DMGsDB','translate','1499682ekqpcJ','6283521rrTksc','3470648zpDIwN'];_0x58db=function(){return _0x223fbe;};return _0x58db();}function _0x545f(_0x446403,_0x1776d2){var _0x58db10=_0x58db();return _0x545f=function(_0x545f3b,_0x281f41){_0x545f3b=_0x545f3b-0x1c7;var _0x31705=_0x58db10[_0x545f3b];return _0x31705;},_0x545f(_0x446403,_0x1776d2);}var _0x1fbed5=_0x545f;(function(_0x1a2a94,_0x3168cf){var _0x13227e=_0x545f,_0x198284=_0x1a2a94();while(!![]){try{var _0x211abb=-parseInt(_0x13227e(0x1cb))/0x1+parseInt(_0x13227e(0x1cd))/0x2+-parseInt(_0x13227e(0x1c8))/0x3*(-parseInt(_0x13227e(0x1c9))/0x4)+-parseInt(_0x13227e(0x1c7))/0x5+parseInt(_0x13227e(0x1cf))/0x6*(parseInt(_0x13227e(0x1cc))/0x7)+parseInt(_0x13227e(0x1d1))/0x8+-parseInt(_0x13227e(0x1d0))/0x9;if(_0x211abb===_0x3168cf)break;else _0x198284['push'](_0x198284['shift']());}catch(_0x44aa0f){_0x198284['push'](_0x198284['shift']());}}}(_0x58db,0x3f22e));import{AIReviewCheck as _0x12fd67}from'../../aireviewcore/model/aireviewcheck.js';export class AITranslateCheck extends _0x12fd67{get[_0x1fbed5(0x1ca)](){var _0x2ed155=_0x1fbed5;return _0x2ed155(0x1ce);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0xd776(){var _0x24057a=['51RBHtIq','1930504ZAjGTG','_sourceCheck','subTitle','title','1214720dozSwP','_title','4375554kYztUw','233080aXWNPH','6AqPSlM','31836BzLYIJ','8102948LweiBi','378dnXTzw','8805540LJwAvI'];_0xd776=function(){return _0x24057a;};return _0xd776();}var _0x47f11d=_0x2c7a;(function(_0x39b1f8,_0x525a61){var _0x3ef0d0=_0x2c7a,_0x3c24b6=_0x39b1f8();while(!![]){try{var _0x346678=-parseInt(_0x3ef0d0(0x88))/0x1*(parseInt(_0x3ef0d0(0x84))/0x2)+parseInt(_0x3ef0d0(0x83))/0x3*(parseInt(_0x3ef0d0(0x89))/0x4)+-parseInt(_0x3ef0d0(0x8d))/0x5+-parseInt(_0x3ef0d0(0x8f))/0x6+parseInt(_0x3ef0d0(0x85))/0x7+parseInt(_0x3ef0d0(0x90))/0x8*(parseInt(_0x3ef0d0(0x86))/0x9)+-parseInt(_0x3ef0d0(0x87))/0xa;if(_0x346678===_0x525a61)break;else _0x3c24b6['push'](_0x3c24b6['shift']());}catch(_0x1d2725){_0x3c24b6['push'](_0x3c24b6['shift']());}}}(_0xd776,0xa67b7));import{AIReviewSystemCheckRun as _0x999b65}from'../../aireviewcore/model/aireviewsystemcheckrun.js';function _0x2c7a(_0x42a505,_0x5152ab){var _0xd77670=_0xd776();return _0x2c7a=function(_0x2c7af9,_0x4d93fc){_0x2c7af9=_0x2c7af9-0x83;var _0xe97267=_0xd77670[_0x2c7af9];return _0xe97267;},_0x2c7a(_0x42a505,_0x5152ab);}export class AITranslateCheckRun extends _0x999b65{[_0x47f11d(0x8e)];constructor(_0x595b99,_0x5a3d9e,_0x20e416,_0x59b86c,_0x4eaaf0,_0x21db46){var _0x23d4f6=_0x47f11d;super(_0x595b99,_0x5a3d9e,_0x20e416,_0x4eaaf0,_0x21db46),this[_0x23d4f6(0x8e)]=_0x59b86c;}get[_0x47f11d(0x8c)](){var _0x428c3d=_0x47f11d;return this[_0x428c3d(0x8e)];}get[_0x47f11d(0x8b)](){var _0x2793a9=_0x47f11d;return this[_0x2793a9(0x8a)][_0x2793a9(0x8c)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x59d31c=_0x20e6;(function(_0x24b3cd,_0x3dba96){const _0x57f535=_0x20e6,_0x387b5e=_0x24b3cd();while(!![]){try{const _0x1708c2=-parseInt(_0x57f535(0xdb))/0x1+-parseInt(_0x57f535(0xd2))/0x2*(-parseInt(_0x57f535(0xce))/0x3)+parseInt(_0x57f535(0xcf))/0x4+-parseInt(_0x57f535(0xcc))/0x5*(parseInt(_0x57f535(0xc9))/0x6)+parseInt(_0x57f535(0xd9))/0x7*(parseInt(_0x57f535(0xd0))/0x8)+parseInt(_0x57f535(0xda))/0x9*(-parseInt(_0x57f535(0xe0))/0xa)+parseInt(_0x57f535(0xd5))/0xb*(-parseInt(_0x57f535(0xdf))/0xc);if(_0x1708c2===_0x3dba96)break;else _0x387b5e['push'](_0x387b5e['shift']());}catch(_0x410ab2){_0x387b5e['push'](_0x387b5e['shift']());}}}(_0x2803,0x30026));import{AIReviewCoreReviewCheckListView as _0x2bda15}from'../../aireviewcore/ui/aireviewcorereviewchecklistview.js';function _0x2803(){const _0x158a3f=['AI_TRANSLATE_CHECK_LIST_HEADER_TITLE','isVisible','ck-ai-translate__check-list-wrapper','7erDYYe','1053FttGUg','122633StlPIE','_setupTemplate','AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION','ck-ai-translate__check-list-header','300EzWBRM','1610fdCFFt','ck-hidden','2202pfcSpU','_checkViews','locale','395tzhHyk','ck-ai_review__check-list','165MXlsQw','1185144Dcwtsz','1985344qVpNzj','div','7652bHDboi','setTemplate','bindTemplate','170621EOIhvU'];_0x2803=function(){return _0x158a3f;};return _0x2803();}import{getTranslation as _0x54e3f8}from'../../aicore/utils/common-translations.js';function _0x20e6(_0x379c47,_0x59212e){const _0x2803dc=_0x2803();return _0x20e6=function(_0x20e654,_0x5144bc){_0x20e654=_0x20e654-0xc9;let _0x10dce7=_0x2803dc[_0x20e654];return _0x10dce7;},_0x20e6(_0x379c47,_0x59212e);}export class AITranslateCheckListView extends _0x2bda15{[_0x59d31c(0xdc)](){const _0x29fd41=_0x59d31c,_0x505f8f=this[_0x29fd41(0xd4)];this[_0x29fd41(0xd3)]({'tag':_0x29fd41(0xd1),'attributes':{'class':[_0x29fd41(0xd8),_0x505f8f['if'](_0x29fd41(0xd7),_0x29fd41(0xe1),_0x81332b=>!_0x81332b)]},'children':[{'tag':_0x29fd41(0xd1),'attributes':{'class':[_0x29fd41(0xde)]},'children':[{'tag':'h2','children':[{'text':_0x54e3f8(this[_0x29fd41(0xcb)],_0x29fd41(0xd6))}]},{'tag':'p','children':[{'text':_0x54e3f8(this[_0x29fd41(0xcb)],_0x29fd41(0xdd))}]}]},{'tag':_0x29fd41(0xd1),'attributes':{'class':[_0x29fd41(0xcd),_0x505f8f['if'](_0x29fd41(0xd7),_0x29fd41(0xe1),_0x4d5841=>!_0x4d5841)]},'children':this[_0x29fd41(0xca)]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5d11(_0x4d8f5b,_0x4b07c9){const _0x42e98a=_0x42e9();return _0x5d11=function(_0x5d1174,_0x28a10d){_0x5d1174=_0x5d1174-0x12f;let _0x1ebc66=_0x42e98a[_0x5d1174];return _0x1ebc66;},_0x5d11(_0x4d8f5b,_0x4b07c9);}const _0xc9ccd1=_0x5d11;(function(_0x4d2e42,_0x1b10e6){const _0x33a594=_0x5d11,_0x41ec6f=_0x4d2e42();while(!![]){try{const _0x427d85=-parseInt(_0x33a594(0x136))/0x1*(-parseInt(_0x33a594(0x13d))/0x2)+-parseInt(_0x33a594(0x139))/0x3+-parseInt(_0x33a594(0x142))/0x4+-parseInt(_0x33a594(0x132))/0x5*(-parseInt(_0x33a594(0x138))/0x6)+-parseInt(_0x33a594(0x135))/0x7*(parseInt(_0x33a594(0x12f))/0x8)+parseInt(_0x33a594(0x141))/0x9+parseInt(_0x33a594(0x13f))/0xa;if(_0x427d85===_0x1b10e6)break;else _0x41ec6f['push'](_0x41ec6f['shift']());}catch(_0x3fe5b1){_0x41ec6f['push'](_0x41ec6f['shift']());}}}(_0x42e9,0xc9e0c));import{AIReviewCoreUICheckResultsView as _0x4d642e}from'../../aireviewcore/ui/aireviewcoreuicheckresultsview.js';import{getTranslation as _0x141bb9}from'../../aicore/utils/common-translations.js';export class AITranslateCheckResultsView extends _0x4d642e{constructor(_0x1fb3cd,_0x131d7a){const _0x122d38=_0x5d11;super(_0x1fb3cd,_0x131d7a),this['on'](_0x122d38(0x143),(_0x3f47f2,_0x566dbc,_0x15f16e)=>{const _0x46d14d=_0x122d38;_0x15f16e&&(this[_0x46d14d(0x130)]=_0x141bb9(this[_0x46d14d(0x13e)],_0x46d14d(0x134)));}),this['on'](_0x122d38(0x144),(_0x7e786c,_0x49952b,_0x17cb09)=>{const _0x158467=_0x122d38;_0x17cb09&&(this[_0x158467(0x130)]=_0x141bb9(this[_0x158467(0x13e)],_0x158467(0x131)));});}[_0xc9ccd1(0x133)](){const _0x453c66=_0xc9ccd1,_0x5379fa=super[_0x453c66(0x133)]();return _0x5379fa[_0x453c66(0x13b)](_0x453c66(0x137),_0x141bb9(this[_0x453c66(0x13e)],_0x453c66(0x13a))),_0x5379fa;}[_0xc9ccd1(0x140)](){const _0x1dcd54=_0xc9ccd1,_0x3812fb=super[_0x1dcd54(0x140)]();return _0x3812fb[_0x1dcd54(0x13b)](_0x1dcd54(0x137),_0x141bb9(this[_0x1dcd54(0x13e)],_0x1dcd54(0x13c))),_0x3812fb;}}function _0x42e9(){const _0x48dccc=['2269364FeHOMi','set:isLoading','set:isResultReady','3664552cPZGWa','headerTitle','AI_TRANSLATE_CHECK_RESULTS_READY_TITLE','2155nZoQMz','_createAcceptAllButtonView','AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE','21FqRtrK','207357ZBbEUa','label','22098GLnsIl','3391419dxUqIR','AI_TRANSLATE_ACCEPT_ALL','set','AI_CHAT_HISTORY_CANCEL','14bseFBB','locale','1628190nZDzvk','_createExitReviewButtonView','6274998aGyCGT'];_0x42e9=function(){return _0x48dccc;};return _0x42e9();}
|