@ckeditor/ckeditor5-ai 47.6.1-alpha.1 → 47.6.2-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +0 -4
- package/build/ai.js +2 -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/lang/contexts.json +1 -0
- package/package.json +15 -16
- 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.d.ts +15 -156
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.d.ts +2 -0
- 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.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
- package/build/966.ai.js +0 -5
- package/build/translations/en.js +0 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x358f(){const _0x51221f=['2JinaRX','change:isOpen','selection','from','has','hideFakeVisualSelection','set','5HfWbnR','309984gJBSMC','297ihiuAR','getRanges','children','5082144tvsTKa','2966391AVHyCF','icon','locale','AIEditing','panelView','buttonView','length','1040740rmaOhx','ck-ai-quick-actions-dropdown','6411181zsrhZU','add','document','resetSearch','model','4290964pcsDhW','showFakeVisualSelection','get','label','795634glwBEy','plugins','ai-quick-actions-dropdown-selection'];_0x358f=function(){return _0x51221f;};return _0x358f();}(function(_0x562903,_0x4beb45){const _0x4edb1f=_0x58a2,_0x19663f=_0x562903();while(!![]){try{const _0x46262e=-parseInt(_0x4edb1f(0x20d))/0x1+-parseInt(_0x4edb1f(0x210))/0x2*(-parseInt(_0x4edb1f(0x1fb))/0x3)+parseInt(_0x4edb1f(0x209))/0x4*(-parseInt(_0x4edb1f(0x1f5))/0x5)+-parseInt(_0x4edb1f(0x1fa))/0x6+-parseInt(_0x4edb1f(0x204))/0x7+-parseInt(_0x4edb1f(0x1f6))/0x8+-parseInt(_0x4edb1f(0x1f7))/0x9*(-parseInt(_0x4edb1f(0x202))/0xa);if(_0x46262e===_0x4beb45)break;else _0x19663f['push'](_0x19663f['shift']());}catch(_0xf96aa7){_0x19663f['push'](_0x19663f['shift']());}}}(_0x358f,0xb7e39));function _0x58a2(_0x4b0cdd,_0x349def){const _0x358fbf=_0x358f();return _0x58a2=function(_0x58a26b,_0x3ef5b5){_0x58a26b=_0x58a26b-0x1f3;let _0x560f16=_0x358fbf[_0x58a26b];return _0x560f16;},_0x58a2(_0x4b0cdd,_0x349def);}import{createDropdown as _0x38631b}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x2323e3}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x3ce19f}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x4dcc91}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x22eab3){const {editor:_0xaed40c,content:_0x3dc0da,buttonDefinition:_0x1a0dfa,bodyCollection:_0x4c6426,hasSearch:_0x4bf3e9=!0x1}=_0x22eab3;return()=>{const _0x36ad98=_0x58a2,_0x32f1d5=_0xaed40c[_0x36ad98(0x1fd)],_0x35b385=_0x38631b(_0x32f1d5);_0x35b385[_0x36ad98(0x200)][_0x36ad98(0x1f4)]({'icon':_0x1a0dfa[_0x36ad98(0x1fc)]??_0x2323e3,'label':_0x1a0dfa[_0x36ad98(0x20c)],'tooltip':!0x0}),_0x35b385[_0x36ad98(0x1f4)]({'class':_0x36ad98(0x203)});const _0x2bc358=new _0x3ce19f(_0xaed40c,_0x3dc0da,_0x35b385,_0x4c6426,_0x4bf3e9);if(_0x35b385[_0x36ad98(0x1ff)][_0x36ad98(0x1f9)][_0x36ad98(0x205)](_0x2bc358),_0x4bf3e9){const _0x3b4b00=_0x36ad98(0x20f);_0x35b385['on'](_0x36ad98(0x211),(_0x337c46,_0x12a7e6,_0x36108e)=>{const _0x149436=_0x36ad98;if(_0x36108e){if(_0xaed40c[_0x149436(0x20e)][_0x149436(0x214)](_0x149436(0x1fe))){const _0x7d76c9=_0xaed40c[_0x149436(0x20e)][_0x149436(0x20b)](_0x4dcc91),_0x444c62=_0xaed40c[_0x149436(0x208)][_0x149436(0x206)][_0x149436(0x212)],_0x4f41bd=Array[_0x149436(0x213)](_0x444c62[_0x149436(0x1f8)]());_0x4f41bd[_0x149436(0x201)]>0x0&&_0x7d76c9[_0x149436(0x20a)](_0x4f41bd,_0x3b4b00,!0x1,!0x0);}}else _0xaed40c[_0x149436(0x20e)][_0x149436(0x214)](_0x149436(0x1fe))&&_0xaed40c[_0x149436(0x20e)][_0x149436(0x20b)](_0x4dcc91)[_0x149436(0x1f3)](_0x3b4b00),_0x2bc358[_0x149436(0x207)]();});}return _0x35b385;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x124a(){const _0x3b2246=['2473849ySIDeN','label','toLowerCase','sort','trim','6LRfuaA','_allListItems','filter','269208tnhmrr','item','addMany','_highlightQuery','_clearHighlight','map','source','forEach','groupLabel','includes','_allSearchableItems','172XeDZji','2ifUQLZ','2933607gLYvTg','1795080AoyfWT','clear','items','highlightViews','104CKvCxO','26532528eyWOor','899318Szmhxu','length','function','highlightText','104290oLGXqg'];_0x124a=function(){return _0x3b2246;};return _0x124a();}const _0x259cdf=_0x5cb2;(function(_0x320a95,_0x41541f){const _0x4a24b5=_0x5cb2,_0x31dd35=_0x320a95();while(!![]){try{const _0x4bed30=-parseInt(_0x4a24b5(0x1c9))/0x1*(parseInt(_0x4a24b5(0x1c1))/0x2)+-parseInt(_0x4a24b5(0x1c2))/0x3+-parseInt(_0x4a24b5(0x1c0))/0x4*(parseInt(_0x4a24b5(0x1cd))/0x5)+parseInt(_0x4a24b5(0x1d3))/0x6*(parseInt(_0x4a24b5(0x1ce))/0x7)+-parseInt(_0x4a24b5(0x1c7))/0x8*(-parseInt(_0x4a24b5(0x1b5))/0x9)+parseInt(_0x4a24b5(0x1c3))/0xa+parseInt(_0x4a24b5(0x1c8))/0xb;if(_0x4bed30===_0x41541f)break;else _0x31dd35['push'](_0x31dd35['shift']());}catch(_0x20c273){_0x31dd35['push'](_0x31dd35['shift']());}}}(_0x124a,0x88a7a));import{ListView as _0x204d74}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x4e0ff1}from'es-toolkit/compat';function _0x5cb2(_0x3b6199,_0xfd1770){const _0x124ad8=_0x124a();return _0x5cb2=function(_0x5cb2cb,_0x57b8d2){_0x5cb2cb=_0x5cb2cb-0x1b3;let _0x467b5c=_0x124ad8[_0x5cb2cb];return _0x467b5c;},_0x5cb2(_0x3b6199,_0xfd1770);}export class AIQuickActionsFilteredListView extends _0x204d74{[_0x259cdf(0x1b3)];[_0x259cdf(0x1bf)];constructor(_0x4ee047,_0x469f38,_0x4125d4){const _0x4d606e=_0x259cdf;super(_0x4ee047),this[_0x4d606e(0x1b3)]=_0x469f38,this[_0x4d606e(0x1bf)]=_0x4125d4;}[_0x259cdf(0x1b4)](_0x4b1234){const _0x160eb9=_0x259cdf;if(!_0x4b1234)return this[_0x160eb9(0x1c5)][_0x160eb9(0x1c4)](),this[_0x160eb9(0x1c5)][_0x160eb9(0x1b7)](this[_0x160eb9(0x1b3)]),this[_0x160eb9(0x1b9)](),{'resultsCount':this[_0x160eb9(0x1b3)][_0x160eb9(0x1ca)],'totalItemsCount':this[_0x160eb9(0x1b3)][_0x160eb9(0x1ca)]};const _0xe412c=_0x4b1234[_0x160eb9(0x1bb)][_0x160eb9(0x1d0)]()[_0x160eb9(0x1d2)](),_0x5db5c8=this[_0x160eb9(0x1bf)][_0x160eb9(0x1b4)](_0x2c2676=>(_0x2c2676[_0x160eb9(0x1bd)]?_0x2c2676[_0x160eb9(0x1cf)]+'\x20('+_0x2c2676[_0x160eb9(0x1bd)]+')':_0x2c2676[_0x160eb9(0x1cf)])[_0x160eb9(0x1d0)]()[_0x160eb9(0x1be)](_0xe412c));return this[_0x160eb9(0x1c5)][_0x160eb9(0x1c4)](),this[_0x160eb9(0x1c5)][_0x160eb9(0x1b7)](_0x5db5c8[_0x160eb9(0x1d1)]((_0x29b57e,_0x1470c5)=>{const _0x470dff=_0x160eb9,_0x463d04=_0x29b57e[_0x470dff(0x1bd)],_0x492514=_0x1470c5[_0x470dff(0x1bd)];return _0x463d04||_0x492514?_0x463d04?0x1:-0x1:0x0;})[_0x160eb9(0x1ba)](_0x4041cd=>_0x4041cd[_0x160eb9(0x1b6)])),this[_0x160eb9(0x1b8)](_0xe412c,_0x5db5c8),{'resultsCount':_0x5db5c8[_0x160eb9(0x1ca)],'totalItemsCount':this[_0x160eb9(0x1bf)][_0x160eb9(0x1ca)]};}[_0x259cdf(0x1b8)](_0x45458e,_0x4ec72c){const _0x318a6e=_0x259cdf;if(!_0x45458e)return;const _0x4a72ac=new RegExp(_0x4e0ff1(_0x45458e),'gi');_0x4ec72c[_0x318a6e(0x1bc)](_0x161019=>{const _0x45bab5=_0x318a6e;_0x161019[_0x45bab5(0x1c6)]&&_0x161019[_0x45bab5(0x1c6)][_0x45bab5(0x1bc)](_0x5de639=>{const _0x47cdb4=_0x45bab5;_0x47cdb4(0x1cb)==typeof _0x5de639[_0x47cdb4(0x1cc)]&&_0x5de639[_0x47cdb4(0x1cc)](_0x4a72ac);});});}[_0x259cdf(0x1b9)](){const _0x58c66f=_0x259cdf;this[_0x58c66f(0x1bf)][_0x58c66f(0x1bc)](_0xe9283b=>{const _0x2a08f0=_0x58c66f;_0xe9283b[_0x2a08f0(0x1c6)]&&_0xe9283b[_0x2a08f0(0x1c6)][_0x2a08f0(0x1bc)](_0x2ce467=>{const _0x20f0b7=_0x2a08f0;_0x20f0b7(0x1cb)==typeof _0x2ce467[_0x20f0b7(0x1cc)]&&_0x2ce467[_0x20f0b7(0x1cc)](null);});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3475(_0x4110b9,_0xe83e7a){var _0x4ebbc3=_0x4ebb();return _0x3475=function(_0x347562,_0x405bfb){_0x347562=_0x347562-0x8c;var _0x3c22ae=_0x4ebbc3[_0x347562];return _0x3c22ae;},_0x3475(_0x4110b9,_0xe83e7a);}function _0x4ebb(){var _0x554709=['41880AhbtZC','873IfYyta','setTemplate','417aaxgYu','102RCEGej','5814360OrVfxI','356rbSLEC','AI_DISCLAIMER_TEXT','ck-ai-balloon__disclaimer-content','ck-ai-balloon__disclaimer','1565anrBNr','div','1706784TkhSsa','33ZsIWYx','150017SGFTby','412gtFIpa','4651895bQmAHy'];_0x4ebb=function(){return _0x554709;};return _0x4ebb();}(function(_0x401ec3,_0x5651f2){var _0x286a5f=_0x3475,_0x1cd1cd=_0x401ec3();while(!![]){try{var _0x20eb85=parseInt(_0x286a5f(0x8d))/0x1*(parseInt(_0x286a5f(0x92))/0x2)+parseInt(_0x286a5f(0x97))/0x3*(parseInt(_0x286a5f(0x9a))/0x4)+parseInt(_0x286a5f(0x93))/0x5+-parseInt(_0x286a5f(0x98))/0x6*(parseInt(_0x286a5f(0x91))/0x7)+parseInt(_0x286a5f(0x94))/0x8*(-parseInt(_0x286a5f(0x95))/0x9)+parseInt(_0x286a5f(0x99))/0xa+parseInt(_0x286a5f(0x90))/0xb*(-parseInt(_0x286a5f(0x8f))/0xc);if(_0x20eb85===_0x5651f2)break;else _0x1cd1cd['push'](_0x1cd1cd['shift']());}catch(_0x22b1a6){_0x1cd1cd['push'](_0x1cd1cd['shift']());}}}(_0x4ebb,0x85bae));import{View as _0x32d072}from'ckeditor5/src/ui.js';import{getTranslation as _0x1b9f7b}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonDisclaimerView extends _0x32d072{constructor(_0xeadd34){var _0x37d65a=_0x3475;super(_0xeadd34),this[_0x37d65a(0x96)]({'tag':_0x37d65a(0x8e),'attributes':{'class':['ck',_0x37d65a(0x8c)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x37d65a(0x9c)]},'children':[{'text':_0x1b9f7b(_0xeadd34,_0x37d65a(0x9b))}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4b87(){const _0x205d15=['117TJuCzn','isEnabled','577384DXOTME','7206Qyedip','2189985Ozzuyr','AI_BALLOON_APPLY_BUTTON','extendTemplate','ck-ai-button-secondary','ck-ai-balloon__toolbar','locale','753385RPaTng','18300HLfXmA','_createButton','bind','set','isVisible','737QObVGG','1994522DilnVR','AI_BALLOON_SUGGEST_BUTTON','items','68vRjqmG','add','setButtonsVisibility','applyButton','443740ehGgwy','suggestButton','3409YoZxqo','ck-ai-button-primary'];_0x4b87=function(){return _0x205d15;};return _0x4b87();}const _0x4ee1d9=_0x58bd;(function(_0x3faae3,_0x8f46f9){const _0x3eeb5a=_0x58bd,_0x4a2851=_0x3faae3();while(!![]){try{const _0x2d6bf0=-parseInt(_0x3eeb5a(0x1aa))/0x1+-parseInt(_0x3eeb5a(0x1b1))/0x2+parseInt(_0x3eeb5a(0x1ab))/0x3*(parseInt(_0x3eeb5a(0x198))/0x4)+-parseInt(_0x3eeb5a(0x1a4))/0x5+parseInt(_0x3eeb5a(0x1a3))/0x6*(parseInt(_0x3eeb5a(0x19e))/0x7)+-parseInt(_0x3eeb5a(0x1a2))/0x8*(parseInt(_0x3eeb5a(0x1a0))/0x9)+parseInt(_0x3eeb5a(0x19c))/0xa*(parseInt(_0x3eeb5a(0x1b0))/0xb);if(_0x2d6bf0===_0x8f46f9)break;else _0x4a2851['push'](_0x4a2851['shift']());}catch(_0x49169a){_0x4a2851['push'](_0x4a2851['shift']());}}}(_0x4b87,0x828e1));import{ToolbarView as _0x20adc4,ButtonView as _0x22a2bb}from'ckeditor5/src/ui.js';import{getTranslation as _0x4979f5}from'../../../aicore/utils/common-translations.js';function _0x58bd(_0x2ee0ef,_0x1d7d58){const _0x4b876c=_0x4b87();return _0x58bd=function(_0x58bd14,_0x434132){_0x58bd14=_0x58bd14-0x197;let _0x9684cf=_0x4b876c[_0x58bd14];return _0x9684cf;},_0x58bd(_0x2ee0ef,_0x1d7d58);}export class AIActionsBalloonToolbarView extends _0x20adc4{constructor(_0x474b18,_0x2ce83a=!0x0,_0x24403e=!0x0){const _0x29e930=_0x58bd;super(_0x474b18),this[_0x29e930(0x1ae)](_0x29e930(0x1a1),!0x1),_0x2ce83a&&(this[_0x29e930(0x19b)]=this[_0x29e930(0x1ac)](_0x4979f5(_0x474b18,_0x29e930(0x1a5)),_0x29e930(0x19f)),this[_0x29e930(0x19b)][_0x29e930(0x1ad)](_0x29e930(0x1a1))['to'](this),this[_0x29e930(0x197)][_0x29e930(0x199)](this[_0x29e930(0x19b)])),_0x24403e&&(this[_0x29e930(0x19d)]=this[_0x29e930(0x1ac)](_0x4979f5(_0x474b18,_0x29e930(0x1b2)),_0x2ce83a?_0x29e930(0x1a7):_0x29e930(0x19f)),this[_0x29e930(0x19d)][_0x29e930(0x1ad)](_0x29e930(0x1a1))['to'](this),this[_0x29e930(0x197)][_0x29e930(0x199)](this[_0x29e930(0x19d)])),this[_0x29e930(0x19a)]({'showApplyButton':_0x2ce83a,'showSuggestButton':_0x24403e}),this[_0x29e930(0x1a6)]({'attributes':{'class':[_0x29e930(0x1a8)]}});}[_0x4ee1d9(0x19a)]({showApplyButton:_0x2626a2,showSuggestButton:_0x58ca31}){const _0x3a5092=_0x4ee1d9;this[_0x3a5092(0x19b)]&&(this[_0x3a5092(0x19b)][_0x3a5092(0x1af)]=_0x2626a2),this[_0x3a5092(0x19d)]&&(this[_0x3a5092(0x19d)][_0x3a5092(0x1af)]=_0x58ca31);}[_0x4ee1d9(0x1ac)](_0x320a76,_0x47a9f0){const _0x59c187=_0x4ee1d9,_0x2622d5=new _0x22a2bb(this[_0x59c187(0x1a9)]);return _0x2622d5[_0x59c187(0x1ae)]({'label':_0x320a76,'class':_0x47a9f0,'isVisible':!0x0,'withText':!0x0}),_0x2622d5;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2c4724=_0x3b3b;(function(_0x60babe,_0x51f0cb){const _0x10247c=_0x3b3b,_0xb30222=_0x60babe();while(!![]){try{const _0x3a0b02=parseInt(_0x10247c(0x1ce))/0x1*(-parseInt(_0x10247c(0x1da))/0x2)+parseInt(_0x10247c(0x173))/0x3*(parseInt(_0x10247c(0x180))/0x4)+-parseInt(_0x10247c(0x176))/0x5+parseInt(_0x10247c(0x1a3))/0x6*(-parseInt(_0x10247c(0x1a8))/0x7)+-parseInt(_0x10247c(0x190))/0x8+-parseInt(_0x10247c(0x18e))/0x9+parseInt(_0x10247c(0x1cd))/0xa;if(_0x3a0b02===_0x51f0cb)break;else _0xb30222['push'](_0xb30222['shift']());}catch(_0x2c7b1e){_0xb30222['push'](_0xb30222['shift']());}}}(_0x454a,0x3468c));import{ViewCollection as _0x5e48ce,FocusCycler as _0xcfc5e0,ButtonView as _0x30cc80,View as _0x1c0adb}from'ckeditor5/src/ui.js';function _0x454a(){const _0x2c1935=['_addContentWrapper','clear','1/1','_getScrollableElement','_navigationNextButton','insertSuggestion','items','delegate','_miniToolbarView','destroy','updateMiniToolbarButtons','fire','createCollection','_streamableContentView','_hasError','clearErrorState','element','_isLoading','startAutoScroll','showNext','isTrackChangesOn','toggleShowChangesEnabled','_setupMiniToolbarButtons','_navigationPreviousButton','AI_ACTIONS_TRY_AGAIN','includes','8551560RMPvsN','3687GIpFAY','toggleIsLoading','focusFirst','miniToolbarConfig','change:isTrackChangesOn','add','showError','setButtonsVisibility','locale','showPrevious','div','render','10spdyLE','setInteractionCount','AI_ACTIONS_NEXT_INTERACTION','updateContent','disableMiniToolbarButtons','stopAutoScroll','_config','bind','bindTemplate','start','isShowChangesOn','isEnabled','suggestButton','ck-ai-navigation-button\x20ck-ai-previous-button','span','ck-ai-navigation-button\x20ck-ai-next-button','toggleShowChanges','102ZUKhIj','has','setIsLoading','1479985AyEgZG','focus','tab','ck-ai-actions-balloon-main','_keystrokes','_loaderView','availableActions','_initializeScrollManager','showLoader','_addToolbar','27452ZlOvMq','isBusy','_toolbarView','focusCycler','_createLoaderView','showBlockingError','ck-ai-actions-balloon-content-wrapper','remove','clearContent','set','setTemplate','_focusables','shift\x20+\x20tab','stop','3559374CnyEyo','_contentWrapper','1019568NipxBq','_dialogContent','_createMiniToolbar','ck-ai-actions-balloon-content','isVisible','_toggleToolbarButtonsVisibility','toggleSuggestionDisplayMode','_errorView','_createStreamableContentView','hideError','resetShowChangesButton','applyButton','listenTo','_addDisclaimerView','execute','focusLast','_focusTracker','AI_ACTIONS_PREVIOUS_INTERACTION','addMiniToolbarItem','12eYGzLf','_navigationCounter','update','removeMiniToolbarItem','applySuggestion','127631XkzIPJ','ck-ai-custom-action-button','interactionCount','setErrorState','hideLoader','addMany','_navigationTryAgainButton','tryAgain','_disclaimerView','_scrollManager','ck-ai-interaction-counter'];_0x454a=function(){return _0x2c1935;};return _0x454a();}import{FocusTracker as _0x2f2abd,KeystrokeHandler as _0xcec81f}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x44126d}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x1714c3}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x1d8e02}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x33173a}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0xc5870c}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x53d3aa}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x41f7dd}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x32219c,IconPreviousArrow as _0x166adc,IconRefresh as _0x11cab4}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2fc938}from'../../../aicore/utils/common-translations.js';function _0x3b3b(_0x2eb9cd,_0x58ee5e){const _0x454a62=_0x454a();return _0x3b3b=function(_0x3b3b12,_0x5cd32d){_0x3b3b12=_0x3b3b12-0x171;let _0x2fd258=_0x454a62[_0x3b3b12];return _0x2fd258;},_0x3b3b(_0x2eb9cd,_0x58ee5e);}import{AIBalloonView as _0x2f9d06}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x2c4724(0x1a7),_0x2c4724(0x1b8)];export class AIActionsBalloonView extends _0x2f9d06{[_0x2c4724(0x183)];[_0x2c4724(0x1e0)];[_0x2c4724(0x18f)];[_0x2c4724(0x1c0)];[_0x2c4724(0x182)];[_0x2c4724(0x1bb)];[_0x2c4724(0x17b)];[_0x2c4724(0x1b0)];[_0x2c4724(0x1a0)];[_0x2c4724(0x17a)];[_0x2c4724(0x191)];[_0x2c4724(0x18b)];[_0x2c4724(0x1b1)];[_0x2c4724(0x1ca)];[_0x2c4724(0x1b7)];[_0x2c4724(0x1ae)];[_0x2c4724(0x1a4)];constructor(_0x1582ba,_0x67746a){const _0x1b919b=_0x2c4724;super(_0x1582ba),this[_0x1b919b(0x189)](_0x1b919b(0x181),!0x1),this[_0x1b919b(0x189)](_0x1b919b(0x1c7),!0x1),this[_0x1b919b(0x189)](_0x1b919b(0x1c4),!0x1),this[_0x1b919b(0x189)](_0x1b919b(0x1c1),!0x1),this[_0x1b919b(0x1e0)]=_0x67746a,this[_0x1b919b(0x1a0)]=new _0x2f2abd(),this[_0x1b919b(0x17a)]=new _0xcec81f(),this[_0x1b919b(0x18b)]=this[_0x1b919b(0x1bf)](),this[_0x1b919b(0x183)]=new _0xcfc5e0({'focusables':this[_0x1b919b(0x18b)],'focusTracker':this[_0x1b919b(0x1a0)],'keystrokeHandler':this[_0x1b919b(0x17a)],'actions':{'focusPrevious':_0x1b919b(0x18c),'focusNext':_0x1b919b(0x178)}}),this[_0x1b919b(0x191)]=new _0x5e48ce(),this[_0x1b919b(0x1b3)](_0x67746a),this[_0x1b919b(0x19d)](),this[_0x1b919b(0x17f)](_0x67746a),this[_0x1b919b(0x18b)][_0x1b919b(0x1b4)](),this[_0x1b919b(0x18b)][_0x1b919b(0x1ad)]([this[_0x1b919b(0x182)]]),this[_0x1b919b(0x18a)]({'tag':_0x1b919b(0x1d8),'attributes':{'class':[_0x1b919b(0x179)]},'children':this[_0x1b919b(0x191)]}),this['on'](_0x1b919b(0x1d2),()=>{const _0x1dd6d2=_0x1b919b;this[_0x1dd6d2(0x195)](_0x67746a);});}[_0x2c4724(0x1d9)](){const _0x16c8b7=_0x2c4724;super[_0x16c8b7(0x1d9)]();for(const _0x5d3fed of this[_0x16c8b7(0x18b)])this[_0x16c8b7(0x1a0)][_0x16c8b7(0x1d3)](_0x5d3fed[_0x16c8b7(0x1c3)]);this[_0x16c8b7(0x17a)][_0x16c8b7(0x19c)](this[_0x16c8b7(0x1c3)]),this[_0x16c8b7(0x17d)]();}[_0x2c4724(0x1bc)](){const _0x3b82bf=_0x2c4724;super[_0x3b82bf(0x1bc)](),this[_0x3b82bf(0x1b1)]&&this[_0x3b82bf(0x1b1)][_0x3b82bf(0x1bc)]();}[_0x2c4724(0x177)](_0xddaffc){const _0x5a8647=_0x2c4724;-0x1===_0xddaffc?this[_0x5a8647(0x183)][_0x5a8647(0x19f)]():this[_0x5a8647(0x183)][_0x5a8647(0x1d0)]();}[_0x2c4724(0x175)](_0x156a1b){const _0xeb130f=_0x2c4724;this[_0xeb130f(0x1c4)]=_0x156a1b;}[_0x2c4724(0x1ab)](){const _0x26011b=_0x2c4724;this[_0x26011b(0x1c1)]=!0x0,this[_0x26011b(0x1bb)][_0x26011b(0x1c8)](!0x1);}[_0x2c4724(0x1c2)](){const _0x50f112=_0x2c4724;this[_0x50f112(0x1c1)]=!0x1,this[_0x50f112(0x1bb)][_0x50f112(0x1c8)](!0x0);}[_0x2c4724(0x1d4)](_0xd260c4){const _0xa9c13e=_0x2c4724;super[_0xa9c13e(0x1d4)](_0xd260c4),this[_0xa9c13e(0x191)][_0xa9c13e(0x174)](this[_0xa9c13e(0x197)])||this[_0xa9c13e(0x191)][_0xa9c13e(0x1d3)](this[_0xa9c13e(0x197)],0x0);}[_0x2c4724(0x199)](){const _0x3bc8d9=_0x2c4724;super[_0x3bc8d9(0x199)](),this[_0x3bc8d9(0x1c2)]();}[_0x2c4724(0x185)](_0x212de3){const _0x3af684=_0x2c4724;super[_0x3af684(0x185)](_0x212de3),this[_0x3af684(0x1ab)]();}[_0x2c4724(0x1a2)](_0x115a3a){const _0x48b6f2=_0x2c4724;this[_0x48b6f2(0x1bb)][_0x48b6f2(0x1b9)][_0x48b6f2(0x174)](_0x115a3a)||this[_0x48b6f2(0x1bb)][_0x48b6f2(0x1b9)][_0x48b6f2(0x1d3)](_0x115a3a);}[_0x2c4724(0x1a6)](_0x5a2b58){const _0x559193=_0x2c4724;this[_0x559193(0x1bb)][_0x559193(0x1b9)][_0x559193(0x174)](_0x5a2b58)&&this[_0x559193(0x1bb)][_0x559193(0x1b9)][_0x559193(0x187)](_0x5a2b58);}[_0x2c4724(0x17e)](){const _0x1dd0dc=_0x2c4724;this[_0x1dd0dc(0x17b)]&&(this[_0x1dd0dc(0x1c4)]=!0x0);}[_0x2c4724(0x1ac)](){const _0x37cc08=_0x2c4724;this[_0x37cc08(0x17b)]&&(this[_0x37cc08(0x1c4)]=!0x1);}[_0x2c4724(0x195)]({showApplyButton:_0x578fe3,showSuggestButton:_0x1d14cc}){const _0xf4dcc5=_0x2c4724;_0x578fe3=_0x578fe3&&!this[_0xf4dcc5(0x1c7)]&&this[_0xf4dcc5(0x1e0)][_0xf4dcc5(0x17c)][_0xf4dcc5(0x1cc)](_0xf4dcc5(0x1a7)),_0x1d14cc=_0x1d14cc&&this[_0xf4dcc5(0x1e0)][_0xf4dcc5(0x17c)][_0xf4dcc5(0x1cc)](_0xf4dcc5(0x1b8)),this[_0xf4dcc5(0x182)][_0xf4dcc5(0x1d5)]({'showApplyButton':_0x578fe3,'showSuggestButton':_0x1d14cc});}async[_0x2c4724(0x1dd)](_0x4cb2fc){const _0x1ba3f4=_0x2c4724;await this[_0x1ba3f4(0x1c0)][_0x1ba3f4(0x1a5)](_0x4cb2fc);}[_0x2c4724(0x188)](){const _0x5cb466=_0x2c4724;this[_0x5cb466(0x1c0)][_0x5cb466(0x1b4)]();}[_0x2c4724(0x1b3)](_0x270401){const _0xae1a80=_0x2c4724;this[_0xae1a80(0x18f)]=new _0x1c0adb(this[_0xae1a80(0x1d6)]),this[_0xae1a80(0x18f)][_0xae1a80(0x18a)]({'tag':_0xae1a80(0x1d8),'attributes':{'class':[_0xae1a80(0x193)]},'children':[{'tag':_0xae1a80(0x1d8),'attributes':{'class':[_0xae1a80(0x186)]},'children':[this[_0xae1a80(0x184)](),this[_0xae1a80(0x198)]()]},this[_0xae1a80(0x192)](_0x270401[_0xae1a80(0x1d1)])]}),this[_0xae1a80(0x191)][_0xae1a80(0x1d3)](this[_0xae1a80(0x18f)]);}[_0x2c4724(0x19d)](){const _0x1f1059=_0x2c4724;this[_0x1f1059(0x1b0)]=new _0x1714c3(this[_0x1f1059(0x1d6)]),this[_0x1f1059(0x191)][_0x1f1059(0x1d3)](this[_0x1f1059(0x1b0)]);}[_0x2c4724(0x17f)]({showApplyButton:_0x4de651,showSuggestButton:_0x2dca5a}){const _0x935050=_0x2c4724;this[_0x935050(0x182)]=new _0x44126d(this[_0x935050(0x1d6)],_0x4de651,_0x2dca5a),this[_0x935050(0x182)][_0x935050(0x19b)]?.['on'](_0x935050(0x19e),()=>{const _0x5506ed=_0x935050;this[_0x5506ed(0x1be)](_0x5506ed(0x1a7));}),this[_0x935050(0x182)][_0x935050(0x1e6)]?.['on'](_0x935050(0x19e),()=>{const _0x45ee1f=_0x935050;this[_0x45ee1f(0x1be)](_0x45ee1f(0x1b8));}),this[_0x935050(0x182)][_0x935050(0x1e1)](_0x935050(0x1e5))['to'](this,_0x935050(0x181),this,_0x935050(0x1c4),this,_0x935050(0x1c1),(_0x4ec91f,_0xb8a89,_0x1e79c8)=>!(_0x4ec91f||_0xb8a89||_0x1e79c8)),this[_0x935050(0x195)]({'showApplyButton':_0x4de651,'showSuggestButton':_0x2dca5a}),this[_0x935050(0x191)][_0x935050(0x1d3)](this[_0x935050(0x182)]);}[_0x2c4724(0x192)](_0x3bdc74){const _0x45506b=_0x2c4724;return this[_0x45506b(0x1bb)]=new _0x33173a(this[_0x45506b(0x1d6)],_0x3bdc74),this[_0x45506b(0x1bb)][_0x45506b(0x1ba)](..._0xc5870c)['to'](this),this[_0x45506b(0x1bb)]['on'](_0x45506b(0x172),()=>{const _0x3d0588=_0x45506b;this[_0x3d0588(0x1bb)][_0x3d0588(0x1e4)]=!this[_0x3d0588(0x1bb)][_0x3d0588(0x1e4)],this[_0x3d0588(0x1be)](_0x3d0588(0x196),{'showDiff':this[_0x3d0588(0x1bb)][_0x3d0588(0x1e4)]});}),this[_0x45506b(0x1bb)][_0x45506b(0x1e1)](_0x45506b(0x1e5))['to'](this,_0x45506b(0x181),this,_0x45506b(0x1c4),(_0xd4cb52,_0x33ff53)=>!(_0xd4cb52||_0x33ff53)),this[_0x45506b(0x1bb)];}[_0x2c4724(0x184)](){const _0x53471f=_0x2c4724;return this[_0x53471f(0x17b)]=new _0x53d3aa(this[_0x53471f(0x1d6)]),this[_0x53471f(0x17b)][_0x53471f(0x1e1)](_0x53471f(0x194))['to'](this,_0x53471f(0x1c4)),this[_0x53471f(0x17b)];}[_0x2c4724(0x198)](){const _0x18edbc=_0x2c4724;return this[_0x18edbc(0x1c0)]=new _0x41f7dd(this[_0x18edbc(0x1d6)]),this[_0x18edbc(0x1c0)];}[_0x2c4724(0x1c9)](){const _0x13a00e=_0x2c4724,_0xc5a070=new _0x30cc80(this[_0x13a00e(0x1d6)]),_0x2d69fb=new _0x30cc80(this[_0x13a00e(0x1d6)]),_0x918f68=new Ln(this[_0x13a00e(0x1d6)]),_0x2a5181=new _0x30cc80(this[_0x13a00e(0x1d6)]);_0xc5a070[_0x13a00e(0x189)]({'icon':_0x11cab4,'label':_0x2fc938(this[_0x13a00e(0x1d6)],_0x13a00e(0x1cb)),'tooltip':!0x0,'class':_0x13a00e(0x1a9)}),_0x2d69fb[_0x13a00e(0x189)]({'icon':_0x166adc,'tooltip':_0x2fc938(this[_0x13a00e(0x1d6)],_0x13a00e(0x1a1)),'class':_0x13a00e(0x1e7)}),_0x2a5181[_0x13a00e(0x189)]({'icon':_0x32219c,'tooltip':_0x2fc938(this[_0x13a00e(0x1d6)],_0x13a00e(0x1dc)),'class':_0x13a00e(0x171)}),_0xc5a070[_0x13a00e(0x1e1)](_0x13a00e(0x1e5))['to'](this,_0x13a00e(0x181),_0x4d494e=>!_0x4d494e),_0xc5a070['on'](_0x13a00e(0x19e),()=>{const _0x1fb90b=_0x13a00e;this[_0x1fb90b(0x1be)](_0x1fb90b(0x1af));}),_0x2d69fb[_0x13a00e(0x1e1)](_0x13a00e(0x1e5))['to'](this,_0x13a00e(0x181),_0x1d6531=>!_0x1d6531),_0x2d69fb['on'](_0x13a00e(0x19e),()=>{const _0x3d1e65=_0x13a00e;this[_0x3d1e65(0x1be)](_0x3d1e65(0x1d7));}),_0x2a5181[_0x13a00e(0x1e1)](_0x13a00e(0x1e5))['to'](this,_0x13a00e(0x181),_0x5adcbe=>!_0x5adcbe),_0x2a5181['on'](_0x13a00e(0x19e),()=>{const _0x3c7e4e=_0x13a00e;this[_0x3c7e4e(0x1be)](_0x3c7e4e(0x1c6));}),this[_0x13a00e(0x1ca)]=_0x2d69fb,this[_0x13a00e(0x1a4)]=_0x918f68,this[_0x13a00e(0x1b7)]=_0x2a5181,this[_0x13a00e(0x1ae)]=_0xc5a070;}[_0x2c4724(0x1bd)](_0x56dceb,_0x231ed3){const _0x404ea3=_0x2c4724;this[_0x404ea3(0x1ca)]||this[_0x404ea3(0x1c9)]();const _0x13cc42=_0x56dceb>0x1;if(this[_0x404ea3(0x1a2)](this[_0x404ea3(0x1ae)]),_0x13cc42){this[_0x404ea3(0x1a2)](this[_0x404ea3(0x1ca)]),this[_0x404ea3(0x1a2)](this[_0x404ea3(0x1a4)]),this[_0x404ea3(0x1a2)](this[_0x404ea3(0x1b7)]);const _0x3c5be8=_0x56dceb-_0x231ed3;this[_0x404ea3(0x1a4)][_0x404ea3(0x1db)](_0x3c5be8+'/'+_0x56dceb),this[_0x404ea3(0x1ca)][_0x404ea3(0x1e5)]=_0x231ed3<_0x56dceb-0x1,this[_0x404ea3(0x1b7)][_0x404ea3(0x1e5)]=_0x231ed3>0x0;}else this[_0x404ea3(0x1a6)](this[_0x404ea3(0x1ca)]),this[_0x404ea3(0x1a6)](this[_0x404ea3(0x1a4)]),this[_0x404ea3(0x1a6)](this[_0x404ea3(0x1b7)]);}[_0x2c4724(0x1de)](){const _0x220867=_0x2c4724;this[_0x220867(0x1ae)][_0x220867(0x1e5)]=!0x1,this[_0x220867(0x1ca)][_0x220867(0x1e5)]=!0x1,this[_0x220867(0x1b7)][_0x220867(0x1e5)]=!0x1;}[_0x2c4724(0x1c5)](){const _0x4c0325=_0x2c4724;this[_0x4c0325(0x17d)](),this[_0x4c0325(0x1b1)]&&this[_0x4c0325(0x1b1)][_0x4c0325(0x1e3)]();}[_0x2c4724(0x1df)](){const _0x16db3e=_0x2c4724;this[_0x16db3e(0x1b1)]&&this[_0x16db3e(0x1b1)][_0x16db3e(0x18d)]();}[_0x2c4724(0x1cf)](_0x4ecf99){const _0x575e5e=_0x2c4724;this[_0x575e5e(0x1c4)]=_0x4ecf99;}[_0x2c4724(0x19a)](){const _0x4ad6c1=_0x2c4724;this[_0x4ad6c1(0x1bb)][_0x4ad6c1(0x1e4)]=!0x1;}[_0x2c4724(0x17d)](){const _0x2bf07f=_0x2c4724,_0x8c4a03=this[_0x2bf07f(0x1b6)]();_0x8c4a03&&!this[_0x2bf07f(0x1b1)]&&(this[_0x2bf07f(0x1b1)]=new _0x1d8e02(_0x8c4a03));}[_0x2c4724(0x1b6)](){const _0x153885=_0x2c4724;return this[_0x153885(0x1c0)][_0x153885(0x1c3)];}}class Ln extends _0x1c0adb{constructor(_0xcc3d0d){const _0x4d5cf1=_0x2c4724;super(_0xcc3d0d);const _0x16b7e1=this[_0x4d5cf1(0x1e2)];this[_0x4d5cf1(0x189)](_0x4d5cf1(0x1aa),_0x4d5cf1(0x1b5)),this[_0x4d5cf1(0x18a)]({'tag':_0x4d5cf1(0x1e8),'attributes':{'class':[_0x4d5cf1(0x1b2)]},'children':[{'text':_0x16b7e1['to'](_0x4d5cf1(0x1aa))}]});}[_0x2c4724(0x1db)](_0x4b8fd1){const _0x26aaba=_0x2c4724;this[_0x26aaba(0x189)](_0x26aaba(0x1aa),_0x4b8fd1);}}
|
|
23
|
+
function _0x4557(_0x28bb74,_0x4a73da){const _0x266ff7=_0x266f();return _0x4557=function(_0x455772,_0x5d342f){_0x455772=_0x455772-0x92;let _0x3fba39=_0x266ff7[_0x455772];return _0x3fba39;},_0x4557(_0x28bb74,_0x4a73da);}function _0x266f(){const _0x2c2f2f=['resetShowChangesButton','ck-ai-actions-balloon-content-wrapper','updateContent','applyButton','isVisible','showNext','div','AI_ACTIONS_NEXT_INTERACTION','focusLast','bindTemplate','shift\x20+\x20tab','_dialogContent','1105186MQStog','ck-ai-actions-balloon-main','toggleShowChangesEnabled','14MyXsEE','destroy','showPrevious','_setupMiniToolbarButtons','_contentWrapper','_disclaimerView','miniToolbarConfig','_streamableContentView','isBusy','setButtonsVisibility','fire','updateMiniToolbarButtons','ck-ai-custom-action-button','applySuggestion','_loaderView','setTemplate','change:isTrackChangesOn','update','1/1','_addContentWrapper','ck-ai-navigation-button\x20ck-ai-previous-button','670974WOMyWB','hideError','start','listenTo','_initializeScrollManager','AI_ACTIONS_PREVIOUS_INTERACTION','addMiniToolbarItem','_getScrollableElement','hideLoader','availableActions','showLoader','9279nvLnJZ','_errorView','_createLoaderView','ck-ai-interaction-counter','_isLoading','removeMiniToolbarItem','locale','ck-ai-actions-balloon-content','clearErrorState','stop','showBlockingError','isEnabled','2728emGjDn','execute','_focusTracker','toggleIsLoading','items','isTrackChangesOn','_createStreamableContentView','toggleSuggestionDisplayMode','_keystrokes','tab','focus','startAutoScroll','_navigationNextButton','setInteractionCount','set','showError','AI_ACTIONS_TRY_AGAIN','suggestButton','_navigationTryAgainButton','_createMiniToolbar','delegate','add','clear','stopAutoScroll','_toolbarView','element','interactionCount','disableMiniToolbarButtons','52ScwWtD','createCollection','_navigationCounter','_addDisclaimerView','setIsLoading','484840sZSKwn','297HuKLaE','includes','has','_navigationPreviousButton','_toggleToolbarButtonsVisibility','span','_config','_addToolbar','insertSuggestion','setErrorState','focusFirst','_scrollManager','bind','_hasError','focusCycler','7938240hYWdmB','addMany','_focusables','1565417xpqaBh','330918bwCwTI','render','remove','ck-ai-navigation-button\x20ck-ai-next-button','clearContent','isShowChangesOn','tryAgain','toggleShowChanges','_miniToolbarView'];_0x266f=function(){return _0x2c2f2f;};return _0x266f();}const _0x232975=_0x4557;(function(_0x4ba3aa,_0x9a8563){const _0x405cdb=_0x4557,_0x3018f9=_0x4ba3aa();while(!![]){try{const _0x58ce07=parseInt(_0x405cdb(0xa6))/0x1+parseInt(_0x405cdb(0xbc))/0x2+-parseInt(_0x405cdb(0xa7))/0x3*(parseInt(_0x405cdb(0x107))/0x4)+parseInt(_0x405cdb(0xa3))/0x5+parseInt(_0x405cdb(0xd4))/0x6*(parseInt(_0x405cdb(0xbf))/0x7)+parseInt(_0x405cdb(0xeb))/0x8*(-parseInt(_0x405cdb(0xdf))/0x9)+parseInt(_0x405cdb(0x93))/0xa*(-parseInt(_0x405cdb(0x94))/0xb);if(_0x58ce07===_0x9a8563)break;else _0x3018f9['push'](_0x3018f9['shift']());}catch(_0x2d77d1){_0x3018f9['push'](_0x3018f9['shift']());}}}(_0x266f,0xcbc8b));import{ViewCollection as _0x194f12,FocusCycler as _0x4583d0,ButtonView as _0x14c892,View as _0xb7107}from'ckeditor5/src/ui.js';import{FocusTracker as _0xca16a9,KeystrokeHandler as _0x5aaa1a}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0xea8d92}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x160f10}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x15b607}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x554d71}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x36162b}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x4e7b7a}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0xdc73b4}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x56f43b,IconPreviousArrow as _0x4f1005,IconRefresh as _0x164e69}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0xb00982}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x4b4525}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x232975(0xcc),_0x232975(0x9c)];export class AIActionsBalloonView extends _0x4b4525{[_0x232975(0xa2)];[_0x232975(0x9a)];[_0x232975(0xc3)];[_0x232975(0xc6)];[_0x232975(0x103)];[_0x232975(0xaf)];[_0x232975(0xcd)];[_0x232975(0xc4)];[_0x232975(0xed)];[_0x232975(0xf3)];[_0x232975(0xbb)];[_0x232975(0xa5)];[_0x232975(0x9f)];[_0x232975(0x97)];[_0x232975(0xf7)];[_0x232975(0xfd)];[_0x232975(0x109)];constructor(_0x4918ef,_0x54454f){const _0x50cfc7=_0x232975;super(_0x4918ef),this[_0x50cfc7(0xf9)](_0x50cfc7(0xc7),!0x1),this[_0x50cfc7(0xf9)](_0x50cfc7(0xf0),!0x1),this[_0x50cfc7(0xf9)](_0x50cfc7(0xe3),!0x1),this[_0x50cfc7(0xf9)](_0x50cfc7(0xa1),!0x1),this[_0x50cfc7(0x9a)]=_0x54454f,this[_0x50cfc7(0xed)]=new _0xca16a9(),this[_0x50cfc7(0xf3)]=new _0x5aaa1a(),this[_0x50cfc7(0xa5)]=this[_0x50cfc7(0x108)](),this[_0x50cfc7(0xa2)]=new _0x4583d0({'focusables':this[_0x50cfc7(0xa5)],'focusTracker':this[_0x50cfc7(0xed)],'keystrokeHandler':this[_0x50cfc7(0xf3)],'actions':{'focusPrevious':_0x50cfc7(0xba),'focusNext':_0x50cfc7(0xf4)}}),this[_0x50cfc7(0xbb)]=new _0x194f12(),this[_0x50cfc7(0xd2)](_0x54454f),this[_0x50cfc7(0x10a)](),this[_0x50cfc7(0x9b)](_0x54454f),this[_0x50cfc7(0xa5)][_0x50cfc7(0x101)](),this[_0x50cfc7(0xa5)][_0x50cfc7(0xa4)]([this[_0x50cfc7(0x103)]]),this[_0x50cfc7(0xce)]({'tag':_0x50cfc7(0xb6),'attributes':{'class':[_0x50cfc7(0xbd)]},'children':this[_0x50cfc7(0xbb)]}),this['on'](_0x50cfc7(0xcf),()=>{const _0x49d397=_0x50cfc7;this[_0x49d397(0x98)](_0x54454f);});}[_0x232975(0xa8)](){const _0x4aea94=_0x232975;super[_0x4aea94(0xa8)]();for(const _0x3aab69 of this[_0x4aea94(0xa5)])this[_0x4aea94(0xed)][_0x4aea94(0x100)](_0x3aab69[_0x4aea94(0x104)]);this[_0x4aea94(0xf3)][_0x4aea94(0xd7)](this[_0x4aea94(0x104)]),this[_0x4aea94(0xd8)]();}[_0x232975(0xc0)](){const _0x3826f6=_0x232975;super[_0x3826f6(0xc0)](),this[_0x3826f6(0x9f)]&&this[_0x3826f6(0x9f)][_0x3826f6(0xc0)]();}[_0x232975(0xf5)](_0x53d65d){const _0x263fc7=_0x232975;-0x1===_0x53d65d?this[_0x263fc7(0xa2)][_0x263fc7(0xb8)]():this[_0x263fc7(0xa2)][_0x263fc7(0x9e)]();}[_0x232975(0x92)](_0x288f55){const _0x117a3e=_0x232975;this[_0x117a3e(0xe3)]=_0x288f55;}[_0x232975(0x9d)](){const _0x28a296=_0x232975;this[_0x28a296(0xa1)]=!0x0,this[_0x28a296(0xaf)][_0x28a296(0xbe)](!0x1);}[_0x232975(0xe7)](){const _0x3608d4=_0x232975;this[_0x3608d4(0xa1)]=!0x1,this[_0x3608d4(0xaf)][_0x3608d4(0xbe)](!0x0);}[_0x232975(0xfa)](_0x37633c){const _0x5effa2=_0x232975;super[_0x5effa2(0xfa)](_0x37633c),this[_0x5effa2(0xbb)][_0x5effa2(0x96)](this[_0x5effa2(0xe0)])||this[_0x5effa2(0xbb)][_0x5effa2(0x100)](this[_0x5effa2(0xe0)],0x0);}[_0x232975(0xd5)](){const _0xd1641e=_0x232975;super[_0xd1641e(0xd5)](),this[_0xd1641e(0xe7)]();}[_0x232975(0xe9)](_0x218b2f){const _0x2787a4=_0x232975;super[_0x2787a4(0xe9)](_0x218b2f),this[_0x2787a4(0x9d)]();}[_0x232975(0xda)](_0x122326){const _0x12b456=_0x232975;this[_0x12b456(0xaf)][_0x12b456(0xef)][_0x12b456(0x96)](_0x122326)||this[_0x12b456(0xaf)][_0x12b456(0xef)][_0x12b456(0x100)](_0x122326);}[_0x232975(0xe4)](_0x22fc87){const _0xd842ed=_0x232975;this[_0xd842ed(0xaf)][_0xd842ed(0xef)][_0xd842ed(0x96)](_0x22fc87)&&this[_0xd842ed(0xaf)][_0xd842ed(0xef)][_0xd842ed(0xa9)](_0x22fc87);}[_0x232975(0xde)](){const _0xaac8dc=_0x232975;this[_0xaac8dc(0xcd)]&&(this[_0xaac8dc(0xe3)]=!0x0);}[_0x232975(0xdc)](){const _0x5d3bda=_0x232975;this[_0x5d3bda(0xcd)]&&(this[_0x5d3bda(0xe3)]=!0x1);}[_0x232975(0x98)]({showApplyButton:_0x46f2a0,showSuggestButton:_0xb5307}){const _0x5ea4a8=_0x232975;_0x46f2a0=_0x46f2a0&&!this[_0x5ea4a8(0xf0)]&&this[_0x5ea4a8(0x9a)][_0x5ea4a8(0xdd)][_0x5ea4a8(0x95)](_0x5ea4a8(0xcc)),_0xb5307=_0xb5307&&this[_0x5ea4a8(0x9a)][_0x5ea4a8(0xdd)][_0x5ea4a8(0x95)](_0x5ea4a8(0x9c)),this[_0x5ea4a8(0x103)][_0x5ea4a8(0xc8)]({'showApplyButton':_0x46f2a0,'showSuggestButton':_0xb5307});}async[_0x232975(0xb2)](_0x307bce){const _0x5519af=_0x232975;await this[_0x5519af(0xc6)][_0x5519af(0xd0)](_0x307bce);}[_0x232975(0xab)](){const _0x560bd9=_0x232975;this[_0x560bd9(0xc6)][_0x560bd9(0x101)]();}[_0x232975(0xd2)](_0x438063){const _0x3c066e=_0x232975;this[_0x3c066e(0xc3)]=new _0xb7107(this[_0x3c066e(0xe5)]),this[_0x3c066e(0xc3)][_0x3c066e(0xce)]({'tag':_0x3c066e(0xb6),'attributes':{'class':[_0x3c066e(0xe6)]},'children':[{'tag':_0x3c066e(0xb6),'attributes':{'class':[_0x3c066e(0xb1)]},'children':[this[_0x3c066e(0xe1)](),this[_0x3c066e(0xf1)]()]},this[_0x3c066e(0xfe)](_0x438063[_0x3c066e(0xc5)])]}),this[_0x3c066e(0xbb)][_0x3c066e(0x100)](this[_0x3c066e(0xc3)]);}[_0x232975(0x10a)](){const _0x6812bb=_0x232975;this[_0x6812bb(0xc4)]=new _0x160f10(this[_0x6812bb(0xe5)]),this[_0x6812bb(0xbb)][_0x6812bb(0x100)](this[_0x6812bb(0xc4)]);}[_0x232975(0x9b)]({showApplyButton:_0xc83ad,showSuggestButton:_0x2a8a9f}){const _0x3940a9=_0x232975;this[_0x3940a9(0x103)]=new _0xea8d92(this[_0x3940a9(0xe5)],_0xc83ad,_0x2a8a9f),this[_0x3940a9(0x103)][_0x3940a9(0xb3)]?.['on'](_0x3940a9(0xec),()=>{const _0x6b7b56=_0x3940a9;this[_0x6b7b56(0xc9)](_0x6b7b56(0xcc));}),this[_0x3940a9(0x103)][_0x3940a9(0xfc)]?.['on'](_0x3940a9(0xec),()=>{const _0x1771eb=_0x3940a9;this[_0x1771eb(0xc9)](_0x1771eb(0x9c));}),this[_0x3940a9(0x103)][_0x3940a9(0xa0)](_0x3940a9(0xea))['to'](this,_0x3940a9(0xc7),this,_0x3940a9(0xe3),this,_0x3940a9(0xa1),(_0x393361,_0xa99854,_0x583037)=>!(_0x393361||_0xa99854||_0x583037)),this[_0x3940a9(0x98)]({'showApplyButton':_0xc83ad,'showSuggestButton':_0x2a8a9f}),this[_0x3940a9(0xbb)][_0x3940a9(0x100)](this[_0x3940a9(0x103)]);}[_0x232975(0xfe)](_0x1d185b){const _0x1bdb93=_0x232975;return this[_0x1bdb93(0xaf)]=new _0x554d71(this[_0x1bdb93(0xe5)],_0x1d185b),this[_0x1bdb93(0xaf)][_0x1bdb93(0xff)](..._0x36162b)['to'](this),this[_0x1bdb93(0xaf)]['on'](_0x1bdb93(0xae),()=>{const _0x34ba2b=_0x1bdb93;this[_0x34ba2b(0xaf)][_0x34ba2b(0xac)]=!this[_0x34ba2b(0xaf)][_0x34ba2b(0xac)],this[_0x34ba2b(0xc9)](_0x34ba2b(0xf2),{'showDiff':this[_0x34ba2b(0xaf)][_0x34ba2b(0xac)]});}),this[_0x1bdb93(0xaf)][_0x1bdb93(0xa0)](_0x1bdb93(0xea))['to'](this,_0x1bdb93(0xc7),this,_0x1bdb93(0xe3),(_0x3f2e29,_0x376aff)=>!(_0x3f2e29||_0x376aff)),this[_0x1bdb93(0xaf)];}[_0x232975(0xe1)](){const _0x557422=_0x232975;return this[_0x557422(0xcd)]=new _0x4e7b7a(this[_0x557422(0xe5)]),this[_0x557422(0xcd)][_0x557422(0xa0)](_0x557422(0xb4))['to'](this,_0x557422(0xe3)),this[_0x557422(0xcd)];}[_0x232975(0xf1)](){const _0x16ae4e=_0x232975;return this[_0x16ae4e(0xc6)]=new _0xdc73b4(this[_0x16ae4e(0xe5)]),this[_0x16ae4e(0xc6)];}[_0x232975(0xc2)](){const _0x4130a8=_0x232975,_0x2f66de=new _0x14c892(this[_0x4130a8(0xe5)]),_0x131087=new _0x14c892(this[_0x4130a8(0xe5)]),_0x227c49=new Ln(this[_0x4130a8(0xe5)]),_0x6a2eb4=new _0x14c892(this[_0x4130a8(0xe5)]);_0x2f66de[_0x4130a8(0xf9)]({'icon':_0x164e69,'label':_0xb00982(this[_0x4130a8(0xe5)],_0x4130a8(0xfb)),'tooltip':!0x0,'class':_0x4130a8(0xcb)}),_0x131087[_0x4130a8(0xf9)]({'icon':_0x4f1005,'tooltip':_0xb00982(this[_0x4130a8(0xe5)],_0x4130a8(0xd9)),'class':_0x4130a8(0xd3)}),_0x6a2eb4[_0x4130a8(0xf9)]({'icon':_0x56f43b,'tooltip':_0xb00982(this[_0x4130a8(0xe5)],_0x4130a8(0xb7)),'class':_0x4130a8(0xaa)}),_0x2f66de[_0x4130a8(0xa0)](_0x4130a8(0xea))['to'](this,_0x4130a8(0xc7),_0x1ac222=>!_0x1ac222),_0x2f66de['on'](_0x4130a8(0xec),()=>{const _0x49bb39=_0x4130a8;this[_0x49bb39(0xc9)](_0x49bb39(0xad));}),_0x131087[_0x4130a8(0xa0)](_0x4130a8(0xea))['to'](this,_0x4130a8(0xc7),_0x2cafa7=>!_0x2cafa7),_0x131087['on'](_0x4130a8(0xec),()=>{const _0x1490ed=_0x4130a8;this[_0x1490ed(0xc9)](_0x1490ed(0xc1));}),_0x6a2eb4[_0x4130a8(0xa0)](_0x4130a8(0xea))['to'](this,_0x4130a8(0xc7),_0x20a5ac=>!_0x20a5ac),_0x6a2eb4['on'](_0x4130a8(0xec),()=>{const _0x53b50e=_0x4130a8;this[_0x53b50e(0xc9)](_0x53b50e(0xb5));}),this[_0x4130a8(0x97)]=_0x131087,this[_0x4130a8(0x109)]=_0x227c49,this[_0x4130a8(0xf7)]=_0x6a2eb4,this[_0x4130a8(0xfd)]=_0x2f66de;}[_0x232975(0xca)](_0x59af38,_0x6a254){const _0x372fa1=_0x232975;this[_0x372fa1(0x97)]||this[_0x372fa1(0xc2)]();const _0x511b87=_0x59af38>0x1;if(this[_0x372fa1(0xda)](this[_0x372fa1(0xfd)]),_0x511b87){this[_0x372fa1(0xda)](this[_0x372fa1(0x97)]),this[_0x372fa1(0xda)](this[_0x372fa1(0x109)]),this[_0x372fa1(0xda)](this[_0x372fa1(0xf7)]);const _0x961e04=_0x59af38-_0x6a254;this[_0x372fa1(0x109)][_0x372fa1(0xf8)](_0x961e04+'/'+_0x59af38),this[_0x372fa1(0x97)][_0x372fa1(0xea)]=_0x6a254<_0x59af38-0x1,this[_0x372fa1(0xf7)][_0x372fa1(0xea)]=_0x6a254>0x0;}else this[_0x372fa1(0xe4)](this[_0x372fa1(0x97)]),this[_0x372fa1(0xe4)](this[_0x372fa1(0x109)]),this[_0x372fa1(0xe4)](this[_0x372fa1(0xf7)]);}[_0x232975(0x106)](){const _0x404a83=_0x232975;this[_0x404a83(0xfd)][_0x404a83(0xea)]=!0x1,this[_0x404a83(0x97)][_0x404a83(0xea)]=!0x1,this[_0x404a83(0xf7)][_0x404a83(0xea)]=!0x1;}[_0x232975(0xf6)](){const _0x451335=_0x232975;this[_0x451335(0xd8)](),this[_0x451335(0x9f)]&&this[_0x451335(0x9f)][_0x451335(0xd6)]();}[_0x232975(0x102)](){const _0x394a4b=_0x232975;this[_0x394a4b(0x9f)]&&this[_0x394a4b(0x9f)][_0x394a4b(0xe8)]();}[_0x232975(0xee)](_0x24e63d){const _0x1411f4=_0x232975;this[_0x1411f4(0xe3)]=_0x24e63d;}[_0x232975(0xb0)](){const _0x7ca221=_0x232975;this[_0x7ca221(0xaf)][_0x7ca221(0xac)]=!0x1;}[_0x232975(0xd8)](){const _0x3ff114=_0x232975,_0xe0e7d=this[_0x3ff114(0xdb)]();_0xe0e7d&&!this[_0x3ff114(0x9f)]&&(this[_0x3ff114(0x9f)]=new _0x15b607(_0xe0e7d));}[_0x232975(0xdb)](){const _0x50f39c=_0x232975;return this[_0x50f39c(0xc6)][_0x50f39c(0x104)];}}class Ln extends _0xb7107{constructor(_0x52954c){const _0x36fda6=_0x232975;super(_0x52954c);const _0x5659bd=this[_0x36fda6(0xb9)];this[_0x36fda6(0xf9)](_0x36fda6(0x105),_0x36fda6(0xd1)),this[_0x36fda6(0xce)]({'tag':_0x36fda6(0x99),'attributes':{'class':[_0x36fda6(0xe2)]},'children':[{'text':_0x5659bd['to'](_0x36fda6(0x105))}]});}[_0x232975(0xf8)](_0x232e70){const _0xf51be7=_0x232975;this[_0xf51be7(0xf9)](_0xf51be7(0x105),_0x232e70);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1be54f=_0x5f0a;function _0x5f0a(_0x136f65,_0x279132){const _0x4500a0=_0x4500();return _0x5f0a=function(_0x5f0a17,_0x4d91c4){_0x5f0a17=_0x5f0a17-0x66;let _0x3a6593=_0x4500a0[_0x5f0a17];return _0x3a6593;},_0x5f0a(_0x136f65,_0x279132);}function _0x4500(){const _0x26ed13=['25529097HfMXsm','1550244NUVnPC','47226WGxMnu','menuitem','10XobBOw','set','ck-dropdown-menu-list__nested-menu__button','add','mouseenter','isOn','children','39WDesED','973IGOsOK','extendTemplate','arrowView','_createArrowView','5182504ZqWHvP','95538zYhTci','bindTemplate','10NpjdYy','1371097HxTFnc','content','ck-dropdown-menu-list__nested-menu__button__arrow','render','6317703CQitaG'];_0x4500=function(){return _0x26ed13;};return _0x4500();}(function(_0x5ccc4e,_0x1d9d39){const _0x59366f=_0x5f0a,_0x3c5c1c=_0x5ccc4e();while(!![]){try{const _0x21be2a=parseInt(_0x59366f(0x75))/0x1+-parseInt(_0x59366f(0x72))/0x2*(-parseInt(_0x59366f(0x6c))/0x3)+parseInt(_0x59366f(0x7b))/0x4*(parseInt(_0x59366f(0x7e))/0x5)+-parseInt(_0x59366f(0x7c))/0x6*(parseInt(_0x59366f(0x6d))/0x7)+parseInt(_0x59366f(0x71))/0x8+parseInt(_0x59366f(0x79))/0x9+parseInt(_0x59366f(0x74))/0xa*(-parseInt(_0x59366f(0x7a))/0xb);if(_0x21be2a===_0x1d9d39)break;else _0x3c5c1c['push'](_0x3c5c1c['shift']());}catch(_0x569c59){_0x3c5c1c['push'](_0x3c5c1c['shift']());}}}(_0x4500,0xab694));import{IconView as _0x40b2df,ListItemButtonView as _0x253580}from'ckeditor5/src/ui.js';import{IconDropdownArrow as _0x532574}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x253580{[_0x1be54f(0x6f)];constructor(_0x27a9e4,_0x55208c){const _0x35e1bf=_0x1be54f;super(_0x27a9e4,_0x55208c);const _0x1dcce8=this[_0x35e1bf(0x73)];this[_0x35e1bf(0x66)]({'withText':!0x0,'role':_0x35e1bf(0x7d)}),this[_0x35e1bf(0x6f)]=this[_0x35e1bf(0x70)](),this[_0x35e1bf(0x6e)]({'attributes':{'class':[_0x35e1bf(0x67)],'aria-haspopup':!0x0,'aria-expanded':this[_0x35e1bf(0x73)]['to'](_0x35e1bf(0x6a),_0x3fb7b6=>String(_0x3fb7b6)),'data-cke-tooltip-disabled':_0x1dcce8['to'](_0x35e1bf(0x6a))},'on':{'mouseenter':_0x1dcce8['to'](_0x35e1bf(0x69))}});}[_0x1be54f(0x78)](){const _0x16254d=_0x1be54f;super[_0x16254d(0x78)](),this[_0x16254d(0x6b)][_0x16254d(0x68)](this[_0x16254d(0x6f)]);}[_0x1be54f(0x70)](){const _0x24f845=_0x1be54f,_0x4c39f4=new _0x40b2df();return _0x4c39f4[_0x24f845(0x76)]=_0x532574,_0x4c39f4[_0x24f845(0x6e)]({'attributes':{'class':_0x24f845(0x77)}}),_0x4c39f4;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x16c808=_0x5a9a;(function(_0x129e39,_0x190f55){const _0x454cef=_0x5a9a,_0x49cb81=_0x129e39();while(!![]){try{const _0x139fe3=-parseInt(_0x454cef(0x220))/0x1+-parseInt(_0x454cef(0x219))/0x2+-parseInt(_0x454cef(0x18a))/0x3*(parseInt(_0x454cef(0x1e4))/0x4)+-parseInt(_0x454cef(0x206))/0x5*(parseInt(_0x454cef(0x1f3))/0x6)+parseInt(_0x454cef(0x21d))/0x7+-parseInt(_0x454cef(0x212))/0x8*(parseInt(_0x454cef(0x213))/0x9)+parseInt(_0x454cef(0x1e2))/0xa;if(_0x139fe3===_0x190f55)break;else _0x49cb81['push'](_0x49cb81['shift']());}catch(_0x16ec72){_0x49cb81['push'](_0x49cb81['shift']());}}}(_0x58da,0x7e8c9));import{ContextPlugin as _0x3a7f10}from'ckeditor5/src/core.js';function _0x58da(){const _0xd41e9c=['markChangeAsRejected','length','getActiveChanges','_onReviewCheckRun','ck-ai-translate-mode-content','_aiReviewCoreEditing','117870NmyJUE','showActionsWhenResultIsReady','_onActivateChange','_aiReviewCoreUi','changeMarkerRemoved','activateChange','init','setCheckResultTitle','leaveReview','_logError','showCheckRunResult','ai-review-mode-models-unable-to-retrieve','_createReviewCheckRun','start','_initRequiredPlugins','processedResultsCount','hasModifications','_changeActivationSource','showReviewCompletedView','35RiwqZH','_aiReviewCheckList','finishReview','includes','getChangeElement','showGeneralReviewCoreErrorView','subTitle','ai-review-mode-no-current-check-run','data','unmodified','AIConnector','acceptChange','2792TChtzO','19773gkBWLZ','retryReview','ck-ai_review-highlights','dismissChange','updateDocumentData','change','1679964uQaAqE','locale','.ck-ai_review__check-run-result','_onChangeMarkerClicked','6566462jlTYEX','_getChangeContentElement','sendRating','288186ffbnMo','_getChecksList','_onChangeMarkerBlurred','leaveReviewCoreResultList','getReviewCheckList','reviewCheckResultReady','showCheckRunResults','246ncDfKA','isPremiumPlugin','currentError','_currentReviewCheckRun','deactivateChange','showGeneralResultsErrorView','ai-review-mode-check-run-general-error','acceptAllChanges','args','showNoChangesView','_onChangeMarkerRestored','markChangeAsAccepted','changes','isOfficialPlugin','restart','getRoot','source','setAvailableChecks','reviewCheckResultAdded','closest','map','stopListening','_getTranslationWithDefault','showChunkErrorView','switchToReadOnly','changeMarkerClicked','_onReviewCheckResultActivated','_onReviewCheckResultDeactivated','error-general','changeMarkerBlurred','title','checks','reviewCheckResultDeactivated','ai-review-mode-check-run-chunk-error','listenTo','ai-review-mode-source-check-not-found','document','ck-ai_review-diff','abortReviewStream','clearAllMarkers','addResultChanges','_onCheckRunFinished','params','showReviewCheckList','panel','content','_scrollToChange','result','contentNew','error-chunk','finished','reviewCheckRunUpdated','reviewCheckResultChangeStatusUpdated','_markChangePositionInEditorContent','_diffContent','markAllChangesAsAccepted','message','updateChangeState','removeClass','ai-review-mode-check-run-failed','reviewCheckResultActivated','ai-request-aborted','_onChangeMarkerRemoved','context','hideChangeBalloon','getCheckById','abort','markChangeAsPending','startsWith','rejectChange','switchToEdit','view','changeMarkerRestored','loading','requires','get','ready','runReviewCheck','forceReadyState','getEditor','_onChangeMarkerHovered','changeId','changeMarkerHovered','contentInitial','_aiConnector','applyChange','getDocumentData','_onDeactivateChange','16888930lhidWO','aborted','3716iAoEdf','emitter','plugins','_onReviewRunLeave','markChangeAsOutdated','documentData','editing','status','isChangeActive'];_0x58da=function(){return _0xd41e9c;};return _0x58da();}import{CKEditorError as _0x2e48dc,logError as _0x1fe368,scrollAncestorsToShowTarget as _0x1fc600,scrollViewportToShowTarget as _0x318e8d}from'ckeditor5/src/utils.js';import{AIReviewSystemCheckRun as _0x5ebdba}from'./model/aireviewsystemcheckrun.js';function _0x5a9a(_0x22b763,_0x266f32){const _0x58da1f=_0x58da();return _0x5a9a=function(_0x5a9a4c,_0x2bd283){_0x5a9a4c=_0x5a9a4c-0x188;let _0x206691=_0x58da1f[_0x5a9a4c];return _0x206691;},_0x5a9a(_0x22b763,_0x266f32);}import{getTranslation as _0x58ab39}from'../aicore/utils/common-translations.js';import{AIConnector as _0x39de01}from'../aicore/aiconnector.js';export class AIReviewCoreController extends _0x3a7f10{[_0x16c808(0x1de)];[_0x16c808(0x1f6)];[_0x16c808(0x1f2)];[_0x16c808(0x207)];[_0x16c808(0x18d)];[_0x16c808(0x204)]=null;static get[_0x16c808(0x1d4)](){return[_0x39de01];}static get[_0x16c808(0x197)](){return!0x0;}static get[_0x16c808(0x18b)](){return!0x0;}async[_0x16c808(0x1f9)](){const _0x1b474f=_0x16c808;this[_0x1b474f(0x201)](),this[_0x1b474f(0x207)]=await this[_0x1b474f(0x221)](),this[_0x1b474f(0x1ac)](this[_0x1b474f(0x1f6)],_0x1b474f(0x224),()=>{const _0x1a7e7f=_0x1b474f;this[_0x1a7e7f(0x1f6)][_0x1a7e7f(0x19b)](this[_0x1a7e7f(0x207)][_0x1a7e7f(0x1a9)]);}),this[_0x1b474f(0x1ac)](this[_0x1b474f(0x1f6)],_0x1b474f(0x1d7),async(_0x1cf7e6,_0x2e29b8)=>{const _0x26a82a=_0x1b474f,_0x5a8dad=this[_0x26a82a(0x207)][_0x26a82a(0x1cb)](_0x2e29b8['id']);if(_0x5a8dad){this[_0x26a82a(0x1f0)](_0x2e29b8),this[_0x26a82a(0x1f2)][_0x26a82a(0x1a2)](),this[_0x26a82a(0x18d)]=this[_0x26a82a(0x1ff)](_0x2e29b8,_0x5a8dad),this[_0x26a82a(0x1f6)][_0x26a82a(0x1fa)](this[_0x26a82a(0x18d)][_0x26a82a(0x1a8)],this[_0x26a82a(0x18d)][_0x26a82a(0x20c)]),this[_0x26a82a(0x18d)]['on'](_0x26a82a(0x1bd),(_0x1cb52a,_0x50274b)=>{const _0x40e87e=_0x26a82a;switch(_0x50274b[_0x40e87e(0x1eb)]){case _0x40e87e(0x20e):case _0x40e87e(0x1d3):this[_0x40e87e(0x1f6)][_0x40e87e(0x189)](_0x50274b);break;case _0x40e87e(0x1bc):this[_0x40e87e(0x1b3)]();break;case _0x40e87e(0x1d6):this[_0x40e87e(0x1f6)][_0x40e87e(0x1f4)]();break;case _0x40e87e(0x20f):this[_0x40e87e(0x1f6)][_0x40e87e(0x193)]();break;case _0x40e87e(0x1a6):this[_0x40e87e(0x1f6)][_0x40e87e(0x18f)](),this[_0x40e87e(0x1fc)](new _0x2e48dc(_0x40e87e(0x190),this,void 0x0,this[_0x40e87e(0x18d)]?.[_0x40e87e(0x18c)]));break;case _0x40e87e(0x1bb):this[_0x40e87e(0x1f6)][_0x40e87e(0x1a1)](),this[_0x40e87e(0x1fc)](new _0x2e48dc(_0x40e87e(0x1ab),this,void 0x0,this[_0x40e87e(0x18d)]?.[_0x40e87e(0x18c)]));break;case _0x40e87e(0x1e3):this[_0x40e87e(0x18d)]&&this[_0x40e87e(0x18d)][_0x40e87e(0x202)]>0x0?setTimeout(()=>{const _0x148609=_0x40e87e;this[_0x148609(0x18d)]?.[_0x148609(0x1d8)]();},0x0):this[_0x40e87e(0x1e7)](!0x0);}_0x40e87e(0x1d6)!==_0x50274b[_0x40e87e(0x1eb)]&&_0x40e87e(0x1bb)!==_0x50274b[_0x40e87e(0x1eb)]&&_0x40e87e(0x1a6)!==_0x50274b[_0x40e87e(0x1eb)]||this[_0x40e87e(0x18d)]?.[_0x40e87e(0x21f)]();}),this[_0x26a82a(0x18d)]['on'](_0x26a82a(0x19c),(_0xbb6fec,_0x574689)=>{const _0x469006=_0x26a82a;if(!this[_0x469006(0x18d)])throw new _0x2e48dc(_0x469006(0x20d),this);const _0x1102e7=this[_0x469006(0x1c0)](_0x574689[_0x469006(0x1b9)][_0x469006(0x1dd)],_0x574689[_0x469006(0x1b9)][_0x469006(0x1ba)]);_0x574689[_0x469006(0x19a)][_0x469006(0x1b2)](_0x574689[_0x469006(0x1b9)]['id'],_0x1102e7);}),this[_0x26a82a(0x18d)]['on'](_0x26a82a(0x188),(_0xdab6f3,_0x3d473a)=>{const _0x46951a=_0x26a82a;for(const _0x460ca4 of _0x3d473a[_0x46951a(0x196)])this[_0x46951a(0x1f6)][_0x46951a(0x1fd)](_0x460ca4);this[_0x46951a(0x1bf)](_0x3d473a[_0x46951a(0x196)],_0x3d473a[_0x46951a(0x19a)][_0x46951a(0x1e9)]);}),this[_0x26a82a(0x18d)]['on'](_0x26a82a(0x1be),(_0xc790f2,_0x5eb20e)=>{const _0x19a3f4=_0x26a82a;this[_0x19a3f4(0x1f6)][_0x19a3f4(0x1c3)](_0x5eb20e[_0x19a3f4(0x218)]['id'],_0x5eb20e[_0x19a3f4(0x1eb)]);}),this[_0x26a82a(0x18d)]['on'](_0x26a82a(0x1c6),(_0x874d46,_0x1e1e27)=>{const _0x3e8171=_0x26a82a;this[_0x3e8171(0x1a4)](_0x1e1e27);}),this[_0x26a82a(0x18d)]['on'](_0x26a82a(0x1aa),()=>{const _0x5b3a4f=_0x26a82a;this[_0x5b3a4f(0x1a5)]();});try{await this[_0x26a82a(0x18d)][_0x26a82a(0x200)]();}catch(_0x4ba2bd){_0x4ba2bd instanceof Error&&_0x4ba2bd[_0x26a82a(0x1c2)][_0x26a82a(0x209)](_0x26a82a(0x1c7))||(_0x4ba2bd instanceof _0x2e48dc?this[_0x26a82a(0x1fc)](_0x4ba2bd):this[_0x26a82a(0x1fc)](new _0x2e48dc(_0x26a82a(0x1c5),this,void 0x0,_0x4ba2bd)));}}else this[_0x26a82a(0x1fc)](new _0x2e48dc(_0x26a82a(0x1ad),this,{'checkId':_0x2e29b8['id']}));}),this[_0x1b474f(0x1ac)](this[_0x1b474f(0x1f6)],_0x1b474f(0x1fb),()=>{const _0x508f3b=_0x1b474f;this[_0x508f3b(0x1e7)]();}),this[_0x1b474f(0x1ac)](this[_0x1b474f(0x1f6)],_0x1b474f(0x223),()=>{const _0x450c2e=_0x1b474f;this[_0x450c2e(0x1e7)](!0x0);}),this[_0x1b474f(0x1ac)](this[_0x1b474f(0x1f6)],_0x1b474f(0x1b0),()=>{const _0x5dc53f=_0x1b474f;this[_0x5dc53f(0x18d)]&&this[_0x5dc53f(0x18d)][_0x5dc53f(0x1cc)]();}),this[_0x1b474f(0x1ac)](this[_0x1b474f(0x1f6)],_0x1b474f(0x208),()=>{const _0x4eb267=_0x1b474f;this[_0x4eb267(0x1e7)](!0x0);}),this[_0x1b474f(0x1ac)](this[_0x1b474f(0x1f6)],_0x1b474f(0x191),()=>{const _0x21180c=_0x1b474f;if(!this[_0x21180c(0x18d)])return;const _0x8c4577=this[_0x21180c(0x18d)][_0x21180c(0x1ef)]();if(!_0x8c4577[_0x21180c(0x1ee)])return;this[_0x21180c(0x1f2)][_0x21180c(0x1df)](_0x8c4577[_0x21180c(0x19e)](_0x3f8c97=>_0x3f8c97['id']));const _0x1c607e=this[_0x21180c(0x18d)];_0x1c607e[_0x21180c(0x1c1)](),_0x1c607e[_0x21180c(0x21f)]();}),this[_0x1b474f(0x1ac)](this[_0x1b474f(0x1f6)],_0x1b474f(0x211),(_0x4eb9d6,_0x233805)=>{const _0x3bec4a=_0x1b474f;this[_0x3bec4a(0x18d)]&&this[_0x3bec4a(0x18d)][_0x3bec4a(0x1ec)](_0x233805['id'])&&(this[_0x3bec4a(0x1f2)][_0x3bec4a(0x1df)]([_0x233805['id']]),this[_0x3bec4a(0x18d)][_0x3bec4a(0x195)](_0x233805['id']),this[_0x3bec4a(0x1f6)][_0x3bec4a(0x1ca)](),this[_0x3bec4a(0x18d)][_0x3bec4a(0x21f)](_0x233805['id']));}),this[_0x1b474f(0x1ac)](this[_0x1b474f(0x1f6)],_0x1b474f(0x216),(_0x2b1655,_0x51d5bf)=>{const _0xe091af=_0x1b474f;this[_0xe091af(0x18d)]&&this[_0xe091af(0x18d)][_0xe091af(0x1ec)](_0x51d5bf['id'])&&(this[_0xe091af(0x1f2)][_0xe091af(0x1cf)](_0x51d5bf['id']),this[_0xe091af(0x18d)][_0xe091af(0x1ed)](_0x51d5bf['id']),this[_0xe091af(0x1f6)][_0xe091af(0x1ca)](),this[_0xe091af(0x18d)][_0xe091af(0x21f)](_0x51d5bf['id']));}),this[_0x1b474f(0x1ac)](this[_0x1b474f(0x1f6)],_0x1b474f(0x214),async()=>{const _0x5379c5=_0x1b474f;this[_0x5379c5(0x18d)]&&(this[_0x5379c5(0x1f2)][_0x5379c5(0x1b1)](),this[_0x5379c5(0x18d)][_0x5379c5(0x217)](this[_0x5379c5(0x1f2)][_0x5379c5(0x1e0)]()),await this[_0x5379c5(0x18d)][_0x5379c5(0x198)]());}),this[_0x1b474f(0x1ac)](this[_0x1b474f(0x1f6)],_0x1b474f(0x1f8),(_0xe619aa,_0x5608a2)=>{const _0x5e2fbb=_0x1b474f;this[_0x5e2fbb(0x1f5)](_0x5608a2);}),this[_0x1b474f(0x1ac)](this[_0x1b474f(0x1f6)],_0x1b474f(0x18e),(_0x5d4d5b,_0x59571d)=>{const _0x9f564=_0x1b474f;this[_0x9f564(0x1e1)](_0x59571d);}),this[_0x1b474f(0x1ac)](this[_0x1b474f(0x1f2)][_0x1b474f(0x1e5)],_0x1b474f(0x1a3),(_0x26536b,_0x57c0cf)=>{const _0x295008=_0x1b474f;this[_0x295008(0x21c)](_0x26536b,_0x57c0cf);}),this[_0x1b474f(0x1ac)](this[_0x1b474f(0x1f2)][_0x1b474f(0x1e5)],_0x1b474f(0x1dc),(_0x2bf522,_0x5944c4)=>{const _0x48f480=_0x1b474f;this[_0x48f480(0x1da)](_0x2bf522,_0x5944c4);}),this[_0x1b474f(0x1ac)](this[_0x1b474f(0x1f2)][_0x1b474f(0x1e5)],_0x1b474f(0x1a7),()=>{const _0x3851a2=_0x1b474f;this[_0x3851a2(0x222)]();}),this[_0x1b474f(0x1ac)](this[_0x1b474f(0x1f2)][_0x1b474f(0x1e5)],_0x1b474f(0x1f7),(_0x136732,_0x3297f2)=>{const _0x3b58a0=_0x1b474f;this[_0x3b58a0(0x1c8)](_0x136732,_0x3297f2);}),this[_0x1b474f(0x1ac)](this[_0x1b474f(0x1f2)][_0x1b474f(0x1e5)],_0x1b474f(0x1d2),(_0xf4f391,_0x53ef04)=>{const _0x4145c1=_0x1b474f;this[_0x4145c1(0x194)](_0xf4f391,_0x53ef04);});}[_0x16c808(0x1ff)](_0x25ad67,_0x2f5917){const _0x2d37c8=_0x16c808;return new _0x5ebdba(this[_0x2d37c8(0x1f2)][_0x2d37c8(0x1e0)](),_0x2f5917,this[_0x2d37c8(0x1de)],_0x25ad67[_0x2d37c8(0x1b4)],_0x25ad67[_0x2d37c8(0x192)]);}[_0x16c808(0x1c8)](_0x33b401,_0x30fb8e){const _0x16ade4=_0x16c808;this[_0x16ade4(0x18d)]&&this[_0x16ade4(0x18d)][_0x16ade4(0x1e8)](_0x30fb8e[_0x16ade4(0x1db)]);}[_0x16c808(0x194)](_0x1fb9d6,_0x186f7f){const _0x22a6ae=_0x16c808;this[_0x22a6ae(0x18d)]&&this[_0x22a6ae(0x18d)][_0x22a6ae(0x1cd)](_0x186f7f[_0x22a6ae(0x1db)]);}[_0x16c808(0x1b3)](){const _0x560eb9=_0x16c808;this[_0x560eb9(0x1f6)][_0x560eb9(0x205)]();}[_0x16c808(0x201)](){const _0x281f9d=_0x16c808;this[_0x281f9d(0x1de)]=this[_0x281f9d(0x1c9)][_0x281f9d(0x1e6)][_0x281f9d(0x1d5)](_0x281f9d(0x210));}[_0x16c808(0x1e7)](_0x9697d5=!0x1){const _0x15bef5=_0x16c808;this[_0x15bef5(0x18d)]&&(this[_0x15bef5(0x18d)][_0x15bef5(0x203)]||this[_0x15bef5(0x18d)][_0x15bef5(0x21f)](),this[_0x15bef5(0x18d)][_0x15bef5(0x19f)](),this[_0x15bef5(0x18d)][_0x15bef5(0x1cc)](),this[_0x15bef5(0x18d)]=void 0x0),_0x9697d5&&this[_0x15bef5(0x1f6)][_0x15bef5(0x1b5)](),this[_0x15bef5(0x1f2)][_0x15bef5(0x1b1)](),this[_0x15bef5(0x1f2)][_0x15bef5(0x1d0)](),this[_0x15bef5(0x204)]=null;const _0x483e2f=this[_0x15bef5(0x1f2)][_0x15bef5(0x1d9)]();_0x483e2f&&_0x483e2f[_0x15bef5(0x1ea)][_0x15bef5(0x1d1)][_0x15bef5(0x218)](_0x2feb0d=>{const _0x5297e4=_0x15bef5,_0xd3f99b=_0x483e2f[_0x5297e4(0x1ea)][_0x5297e4(0x1d1)][_0x5297e4(0x1ae)][_0x5297e4(0x199)]();_0x2feb0d[_0x5297e4(0x1c4)](_0x5297e4(0x1af),_0xd3f99b),_0x2feb0d[_0x5297e4(0x1c4)](_0x5297e4(0x215),_0xd3f99b),_0x2feb0d[_0x5297e4(0x1c4)](_0x5297e4(0x1f1),_0xd3f99b);});}[_0x16c808(0x1a0)](_0x59eb59,_0x3afcb5){const _0x21e578=_0x16c808,_0x1b8e65=this[_0x21e578(0x1c9)][_0x21e578(0x21a)],_0x944636=_0x58ab39(_0x1b8e65,_0x59eb59);return _0x944636===_0x59eb59?_0x3afcb5:_0x944636;}[_0x16c808(0x1fc)](_0x19613a,_0x5c3c9c=!0x1){const _0x58a01f=_0x16c808;_0x1fe368(_0x19613a[_0x58a01f(0x1c2)]),_0x5c3c9c||(_0x19613a[_0x58a01f(0x1c2)][_0x58a01f(0x1ce)](_0x58a01f(0x1fe))?this[_0x58a01f(0x1f6)][_0x58a01f(0x20b)]():this[_0x58a01f(0x1f6)][_0x58a01f(0x18f)]());}[_0x16c808(0x1b8)](_0x540b68){const _0x3b90a9=_0x16c808;if(_0x3b90a9(0x1b7)===this[_0x3b90a9(0x204)]){const _0x1e48aa=this[_0x3b90a9(0x1f6)][_0x3b90a9(0x20a)](_0x540b68);_0x1e48aa&&_0x1fc600(_0x1e48aa[_0x3b90a9(0x19d)](_0x3b90a9(0x21b))||_0x1e48aa);}else{if(_0x3b90a9(0x1b6)===this[_0x3b90a9(0x204)]){const _0x2f31c4=this[_0x3b90a9(0x21e)](_0x540b68);if(!_0x2f31c4)return;_0x318e8d({'target':_0x2f31c4,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0});}}}}
|
|
23
|
+
function _0x22e3(){const _0x1cb78d=['ready','_aiReviewCoreUi','startsWith','changeMarkerClicked','finishReview','message','applyChange','showCheckRunResults','dismissChange','ai-request-aborted','forceReadyState','_getChangeContentElement','markChangeAsPending','data','view','init','stopListening','status','_markChangePositionInEditorContent','_onChangeMarkerRemoved','showGeneralReviewCoreErrorView','contentInitial','panel','documentData','get','showReviewCompletedView','markChangeAsAccepted','_onChangeMarkerClicked','setCheckResultTitle','5416260WFaDbB','acceptChange','unmodified','_createReviewCheckRun','16560060enfYEG','_currentReviewCheckRun','switchToReadOnly','contentNew','changeMarkerRestored','getRoot','runReviewCheck','_logError','_onReviewCheckResultActivated','includes','changes','subTitle','plugins','_initRequiredPlugins','91112kmtAhW','updateDocumentData','getChangeElement','showNoChangesView','_aiReviewCoreEditing','isPremiumPlugin','error-chunk','locale','_changeActivationSource','showReviewCheckList','isChangeActive','hasModifications','_aiConnector','start','502206JNWFUn','change','markAllChangesAsAccepted','rejectChange','ai-review-mode-check-run-chunk-error','1662800SolAtG','77bVKiLd','source','removeClass','map','getDocumentData','changeId','_getChecksList','showActionsWhenResultIsReady','63ypKcMK','markChangeAsRejected','reviewCheckResultAdded','_diffContent','setAvailableChecks','requires','closest','abort','551548cdckCp','AIConnector','ai-review-mode-source-check-not-found','sendRating','_getTranslationWithDefault','24AtkUeF','result','_onReviewRunLeave','length','ck-ai_review-diff','loading','title','ai-review-mode-no-current-check-run','_onReviewCheckRun','listenTo','acceptAllChanges','getReviewCheckList','params','retryReview','_scrollToChange','changeMarkerHovered','_onReviewCheckResultDeactivated','document','ai-review-mode-check-run-failed','updateChangeState','_onDeactivateChange','_onChangeMarkerRestored','getCheckById','currentError','editing','aborted','showCheckRunResult','addResultChanges','ck-ai_review-highlights','leaveReviewCoreResultList','isOfficialPlugin','activateChange','finished','processedResultsCount','reviewCheckResultDeactivated','ai-review-mode-check-run-general-error','changeMarkerBlurred','_onActivateChange','content','ai-review-mode-models-unable-to-retrieve','795051WcPJTt','reviewCheckResultActivated','getEditor','error-general','markChangeAsOutdated','emitter','restart','_onChangeMarkerHovered','hideChangeBalloon','showChunkErrorView','_onChangeMarkerBlurred','reviewCheckResultReady','changeMarkerRemoved','_onCheckRunFinished','context','_aiReviewCheckList','getActiveChanges','deactivateChange','ck-ai-translate-mode-content','leaveReview','args','reviewCheckResultChangeStatusUpdated','reviewCheckRunUpdated','.ck-ai_review__check-run-result','abortReviewStream','showGeneralResultsErrorView','checks','switchToEdit','clearAllMarkers'];_0x22e3=function(){return _0x1cb78d;};return _0x22e3();}const _0x36c3c5=_0x2ce8;(function(_0x486378,_0x222670){const _0x3ad57e=_0x2ce8,_0x10046b=_0x486378();while(!![]){try{const _0x146732=-parseInt(_0x3ad57e(0x1fb))/0x1+-parseInt(_0x3ad57e(0x1d7))/0x2*(-parseInt(_0x3ad57e(0x1f3))/0x3)+parseInt(_0x3ad57e(0x1ea))/0x4+-parseInt(_0x3ad57e(0x1c5))/0x5+parseInt(_0x3ad57e(0x1e5))/0x6*(-parseInt(_0x3ad57e(0x1eb))/0x7)+-parseInt(_0x3ad57e(0x200))/0x8*(-parseInt(_0x3ad57e(0x228))/0x9)+parseInt(_0x3ad57e(0x1c9))/0xa;if(_0x146732===_0x222670)break;else _0x10046b['push'](_0x10046b['shift']());}catch(_0x3ff2cd){_0x10046b['push'](_0x10046b['shift']());}}}(_0x22e3,0xb4260));import{ContextPlugin as _0x1b7432}from'ckeditor5/src/core.js';import{CKEditorError as _0x59f7ac,logError as _0x128c0b,scrollAncestorsToShowTarget as _0x3cfaa9,scrollViewportToShowTarget as _0x32c935}from'ckeditor5/src/utils.js';function _0x2ce8(_0x205a61,_0x309128){const _0x22e3ee=_0x22e3();return _0x2ce8=function(_0x2ce88a,_0x1703ee){_0x2ce88a=_0x2ce88a-0x1bc;let _0x34a0cc=_0x22e3ee[_0x2ce88a];return _0x34a0cc;},_0x2ce8(_0x205a61,_0x309128);}import{AIReviewSystemCheckRun as _0x240383}from'./model/aireviewsystemcheckrun.js';import{getTranslation as _0x2b63e2}from'../aicore/utils/common-translations.js';import{AIConnector as _0x30fa6d}from'../aicore/aiconnector.js';export class AIReviewCoreController extends _0x1b7432{[_0x36c3c5(0x1e3)];[_0x36c3c5(0x246)];[_0x36c3c5(0x1db)];[_0x36c3c5(0x237)];[_0x36c3c5(0x1ca)];[_0x36c3c5(0x1df)]=null;static get[_0x36c3c5(0x1f8)](){return[_0x30fa6d];}static get[_0x36c3c5(0x21e)](){return!0x0;}static get[_0x36c3c5(0x1dc)](){return!0x0;}async[_0x36c3c5(0x254)](){const _0x11c827=_0x36c3c5;this[_0x11c827(0x1d6)](),this[_0x11c827(0x237)]=await this[_0x11c827(0x1f1)](),this[_0x11c827(0x209)](this[_0x11c827(0x246)],_0x11c827(0x20b),()=>{const _0x4a7a89=_0x11c827;this[_0x4a7a89(0x246)][_0x4a7a89(0x1f7)](this[_0x4a7a89(0x237)][_0x4a7a89(0x242)]);}),this[_0x11c827(0x209)](this[_0x11c827(0x246)],_0x11c827(0x1cf),async(_0x4bfaca,_0x1b34b8)=>{const _0x52f737=_0x11c827,_0x4bd517=this[_0x52f737(0x237)][_0x52f737(0x216)](_0x1b34b8['id']);if(_0x4bd517){this[_0x52f737(0x208)](_0x1b34b8),this[_0x52f737(0x1db)][_0x52f737(0x1cb)](),this[_0x52f737(0x1ca)]=this[_0x52f737(0x1c8)](_0x1b34b8,_0x4bd517),this[_0x52f737(0x246)][_0x52f737(0x1c4)](this[_0x52f737(0x1ca)][_0x52f737(0x206)],this[_0x52f737(0x1ca)][_0x52f737(0x1d4)]),this[_0x52f737(0x1ca)]['on'](_0x52f737(0x23e),(_0x51123f,_0x271e4d)=>{const _0x33d89d=_0x52f737;switch(_0x271e4d[_0x33d89d(0x256)]){case _0x33d89d(0x252):case _0x33d89d(0x205):this[_0x33d89d(0x246)][_0x33d89d(0x24c)](_0x271e4d);break;case _0x33d89d(0x220):this[_0x33d89d(0x235)]();break;case _0x33d89d(0x245):this[_0x33d89d(0x246)][_0x33d89d(0x1f2)]();break;case _0x33d89d(0x1c7):this[_0x33d89d(0x246)][_0x33d89d(0x1da)]();break;case _0x33d89d(0x22b):this[_0x33d89d(0x246)][_0x33d89d(0x241)](),this[_0x33d89d(0x1d0)](new _0x59f7ac(_0x33d89d(0x223),this,void 0x0,this[_0x33d89d(0x1ca)]?.[_0x33d89d(0x217)]));break;case _0x33d89d(0x1dd):this[_0x33d89d(0x246)][_0x33d89d(0x231)](),this[_0x33d89d(0x1d0)](new _0x59f7ac(_0x33d89d(0x1e9),this,void 0x0,this[_0x33d89d(0x1ca)]?.[_0x33d89d(0x217)]));break;case _0x33d89d(0x219):this[_0x33d89d(0x1ca)]&&this[_0x33d89d(0x1ca)][_0x33d89d(0x221)]>0x0?setTimeout(()=>{const _0x1ca8a8=_0x33d89d;this[_0x1ca8a8(0x1ca)]?.[_0x1ca8a8(0x24f)]();},0x0):this[_0x33d89d(0x202)](!0x0);}_0x33d89d(0x245)!==_0x271e4d[_0x33d89d(0x256)]&&_0x33d89d(0x1dd)!==_0x271e4d[_0x33d89d(0x256)]&&_0x33d89d(0x22b)!==_0x271e4d[_0x33d89d(0x256)]||this[_0x33d89d(0x1ca)]?.[_0x33d89d(0x1fe)]();}),this[_0x52f737(0x1ca)]['on'](_0x52f737(0x1f5),(_0x369d54,_0xa14419)=>{const _0x197409=_0x52f737;if(!this[_0x197409(0x1ca)])throw new _0x59f7ac(_0x197409(0x207),this);const _0x1c86cf=this[_0x197409(0x1f6)](_0xa14419[_0x197409(0x201)][_0x197409(0x1bd)],_0xa14419[_0x197409(0x201)][_0x197409(0x1cc)]);_0xa14419[_0x197409(0x1ec)][_0x197409(0x21b)](_0xa14419[_0x197409(0x201)]['id'],_0x1c86cf);}),this[_0x52f737(0x1ca)]['on'](_0x52f737(0x233),(_0x17691c,_0x11a148)=>{const _0xad57a1=_0x52f737;for(const _0x13b2a2 of _0x11a148[_0xad57a1(0x1d3)])this[_0xad57a1(0x246)][_0xad57a1(0x21a)](_0x13b2a2);this[_0xad57a1(0x257)](_0x11a148[_0xad57a1(0x1d3)],_0x11a148[_0xad57a1(0x1ec)][_0xad57a1(0x1bf)]);}),this[_0x52f737(0x1ca)]['on'](_0x52f737(0x23d),(_0x12596c,_0x4827b6)=>{const _0x733640=_0x52f737;this[_0x733640(0x246)][_0x733640(0x213)](_0x4827b6[_0x733640(0x1e6)]['id'],_0x4827b6[_0x733640(0x256)]);}),this[_0x52f737(0x1ca)]['on'](_0x52f737(0x229),(_0x3c73fd,_0x53bb54)=>{const _0x3ad65d=_0x52f737;this[_0x3ad65d(0x1d1)](_0x53bb54);}),this[_0x52f737(0x1ca)]['on'](_0x52f737(0x222),()=>{const _0x3e5d95=_0x52f737;this[_0x3e5d95(0x210)]();});try{await this[_0x52f737(0x1ca)][_0x52f737(0x1e4)]();}catch(_0x48c9fd){_0x48c9fd instanceof Error&&_0x48c9fd[_0x52f737(0x24a)][_0x52f737(0x1d2)](_0x52f737(0x24e))||(_0x48c9fd instanceof _0x59f7ac?this[_0x52f737(0x1d0)](_0x48c9fd):this[_0x52f737(0x1d0)](new _0x59f7ac(_0x52f737(0x212),this,void 0x0,_0x48c9fd)));}}else this[_0x52f737(0x1d0)](new _0x59f7ac(_0x52f737(0x1fd),this,{'checkId':_0x1b34b8['id']}));}),this[_0x11c827(0x209)](this[_0x11c827(0x246)],_0x11c827(0x23b),()=>{const _0x4eca32=_0x11c827;this[_0x4eca32(0x202)]();}),this[_0x11c827(0x209)](this[_0x11c827(0x246)],_0x11c827(0x21d),()=>{const _0x37ac21=_0x11c827;this[_0x37ac21(0x202)](!0x0);}),this[_0x11c827(0x209)](this[_0x11c827(0x246)],_0x11c827(0x240),()=>{const _0x4d938e=_0x11c827;this[_0x4d938e(0x1ca)]&&this[_0x4d938e(0x1ca)][_0x4d938e(0x1fa)]();}),this[_0x11c827(0x209)](this[_0x11c827(0x246)],_0x11c827(0x249),()=>{const _0x42a9f8=_0x11c827;this[_0x42a9f8(0x202)](!0x0);}),this[_0x11c827(0x209)](this[_0x11c827(0x246)],_0x11c827(0x20a),()=>{const _0x43fe40=_0x11c827;if(!this[_0x43fe40(0x1ca)])return;const _0x1f5ca5=this[_0x43fe40(0x1ca)][_0x43fe40(0x238)]();if(!_0x1f5ca5[_0x43fe40(0x203)])return;this[_0x43fe40(0x1db)][_0x43fe40(0x24b)](_0x1f5ca5[_0x43fe40(0x1ee)](_0x22ccf5=>_0x22ccf5['id']));const _0x3f8581=this[_0x43fe40(0x1ca)];_0x3f8581[_0x43fe40(0x1e7)](),_0x3f8581[_0x43fe40(0x1fe)]();}),this[_0x11c827(0x209)](this[_0x11c827(0x246)],_0x11c827(0x1c6),(_0x312e9b,_0x284def)=>{const _0x423598=_0x11c827;this[_0x423598(0x1ca)]&&this[_0x423598(0x1ca)][_0x423598(0x1e1)](_0x284def['id'])&&(this[_0x423598(0x1db)][_0x423598(0x24b)]([_0x284def['id']]),this[_0x423598(0x1ca)][_0x423598(0x1c2)](_0x284def['id']),this[_0x423598(0x246)][_0x423598(0x230)](),this[_0x423598(0x1ca)][_0x423598(0x1fe)](_0x284def['id']));}),this[_0x11c827(0x209)](this[_0x11c827(0x246)],_0x11c827(0x24d),(_0x427749,_0x315ceb)=>{const _0x4e9d5b=_0x11c827;this[_0x4e9d5b(0x1ca)]&&this[_0x4e9d5b(0x1ca)][_0x4e9d5b(0x1e1)](_0x315ceb['id'])&&(this[_0x4e9d5b(0x1db)][_0x4e9d5b(0x1e8)](_0x315ceb['id']),this[_0x4e9d5b(0x1ca)][_0x4e9d5b(0x1f4)](_0x315ceb['id']),this[_0x4e9d5b(0x246)][_0x4e9d5b(0x230)](),this[_0x4e9d5b(0x1ca)][_0x4e9d5b(0x1fe)](_0x315ceb['id']));}),this[_0x11c827(0x209)](this[_0x11c827(0x246)],_0x11c827(0x20d),async()=>{const _0x5ed355=_0x11c827;this[_0x5ed355(0x1ca)]&&(this[_0x5ed355(0x1db)][_0x5ed355(0x244)](),this[_0x5ed355(0x1ca)][_0x5ed355(0x1d8)](this[_0x5ed355(0x1db)][_0x5ed355(0x1ef)]()),await this[_0x5ed355(0x1ca)][_0x5ed355(0x22e)]());}),this[_0x11c827(0x209)](this[_0x11c827(0x246)],_0x11c827(0x21f),(_0x3c40d9,_0x28555c)=>{const _0x72191=_0x11c827;this[_0x72191(0x225)](_0x28555c);}),this[_0x11c827(0x209)](this[_0x11c827(0x246)],_0x11c827(0x239),(_0x396982,_0x2ee206)=>{const _0x2bf62a=_0x11c827;this[_0x2bf62a(0x214)](_0x2ee206);}),this[_0x11c827(0x209)](this[_0x11c827(0x1db)][_0x11c827(0x22d)],_0x11c827(0x248),(_0x5094b6,_0x2f6799)=>{const _0x36a266=_0x11c827;this[_0x36a266(0x1c3)](_0x5094b6,_0x2f6799);}),this[_0x11c827(0x209)](this[_0x11c827(0x1db)][_0x11c827(0x22d)],_0x11c827(0x20f),(_0x4ae715,_0x86a648)=>{const _0x430895=_0x11c827;this[_0x430895(0x22f)](_0x4ae715,_0x86a648);}),this[_0x11c827(0x209)](this[_0x11c827(0x1db)][_0x11c827(0x22d)],_0x11c827(0x224),()=>{const _0x37d402=_0x11c827;this[_0x37d402(0x232)]();}),this[_0x11c827(0x209)](this[_0x11c827(0x1db)][_0x11c827(0x22d)],_0x11c827(0x234),(_0x420be0,_0x3b8655)=>{const _0x2f15d7=_0x11c827;this[_0x2f15d7(0x258)](_0x420be0,_0x3b8655);}),this[_0x11c827(0x209)](this[_0x11c827(0x1db)][_0x11c827(0x22d)],_0x11c827(0x1cd),(_0x17cef8,_0x5255d2)=>{const _0x206b0c=_0x11c827;this[_0x206b0c(0x215)](_0x17cef8,_0x5255d2);});}[_0x36c3c5(0x1c8)](_0x39fcf1,_0x9afe1c){const _0x362b18=_0x36c3c5;return new _0x240383(this[_0x362b18(0x1db)][_0x362b18(0x1ef)](),_0x9afe1c,this[_0x362b18(0x1e3)],_0x39fcf1[_0x362b18(0x20c)],_0x39fcf1[_0x362b18(0x23c)]);}[_0x36c3c5(0x258)](_0x20e0b2,_0x48cc7d){const _0xbe7035=_0x36c3c5;this[_0xbe7035(0x1ca)]&&this[_0xbe7035(0x1ca)][_0xbe7035(0x22c)](_0x48cc7d[_0xbe7035(0x1f0)]);}[_0x36c3c5(0x215)](_0x4a953a,_0x4e5cf7){const _0xcfe8e6=_0x36c3c5;this[_0xcfe8e6(0x1ca)]&&this[_0xcfe8e6(0x1ca)][_0xcfe8e6(0x251)](_0x4e5cf7[_0xcfe8e6(0x1f0)]);}[_0x36c3c5(0x235)](){const _0x4645d9=_0x36c3c5;this[_0x4645d9(0x246)][_0x4645d9(0x1c1)]();}[_0x36c3c5(0x1d6)](){const _0x50ed65=_0x36c3c5;this[_0x50ed65(0x1e3)]=this[_0x50ed65(0x236)][_0x50ed65(0x1d5)][_0x50ed65(0x1c0)](_0x50ed65(0x1fc));}[_0x36c3c5(0x202)](_0x2c46ba=!0x1){const _0x2200ce=_0x36c3c5;this[_0x2200ce(0x1ca)]&&(this[_0x2200ce(0x1ca)][_0x2200ce(0x1e2)]||this[_0x2200ce(0x1ca)][_0x2200ce(0x1fe)](),this[_0x2200ce(0x1ca)][_0x2200ce(0x255)](),this[_0x2200ce(0x1ca)][_0x2200ce(0x1fa)](),this[_0x2200ce(0x1ca)]=void 0x0),_0x2c46ba&&this[_0x2200ce(0x246)][_0x2200ce(0x1e0)](),this[_0x2200ce(0x1db)][_0x2200ce(0x244)](),this[_0x2200ce(0x1db)][_0x2200ce(0x243)](),this[_0x2200ce(0x1df)]=null;const _0x300e97=this[_0x2200ce(0x1db)][_0x2200ce(0x22a)]();_0x300e97&&_0x300e97[_0x2200ce(0x218)][_0x2200ce(0x253)][_0x2200ce(0x1e6)](_0x384249=>{const _0x2ac704=_0x2200ce,_0x4d1e67=_0x300e97[_0x2ac704(0x218)][_0x2ac704(0x253)][_0x2ac704(0x211)][_0x2ac704(0x1ce)]();_0x384249[_0x2ac704(0x1ed)](_0x2ac704(0x204),_0x4d1e67),_0x384249[_0x2ac704(0x1ed)](_0x2ac704(0x21c),_0x4d1e67),_0x384249[_0x2ac704(0x1ed)](_0x2ac704(0x23a),_0x4d1e67);});}[_0x36c3c5(0x1ff)](_0x4f74a7,_0x9d4d08){const _0x5e431f=_0x36c3c5,_0x3c433b=this[_0x5e431f(0x236)][_0x5e431f(0x1de)],_0x4de82b=_0x2b63e2(_0x3c433b,_0x4f74a7);return _0x4de82b===_0x4f74a7?_0x9d4d08:_0x4de82b;}[_0x36c3c5(0x1d0)](_0xa997db,_0x4401a5=!0x1){const _0x1f4433=_0x36c3c5;_0x128c0b(_0xa997db[_0x1f4433(0x24a)]),_0x4401a5||(_0xa997db[_0x1f4433(0x24a)][_0x1f4433(0x247)](_0x1f4433(0x227))?this[_0x1f4433(0x246)][_0x1f4433(0x1bc)]():this[_0x1f4433(0x246)][_0x1f4433(0x241)]());}[_0x36c3c5(0x20e)](_0x5b3836){const _0x5c2b6a=_0x36c3c5;if(_0x5c2b6a(0x226)===this[_0x5c2b6a(0x1df)]){const _0x3f69c0=this[_0x5c2b6a(0x246)][_0x5c2b6a(0x1d9)](_0x5b3836);_0x3f69c0&&_0x3cfaa9(_0x3f69c0[_0x5c2b6a(0x1f9)](_0x5c2b6a(0x23f))||_0x3f69c0);}else{if(_0x5c2b6a(0x1be)===this[_0x5c2b6a(0x1df)]){const _0x1be3ff=this[_0x5c2b6a(0x250)](_0x5b3836);if(!_0x1be3ff)return;_0x32c935({'target':_0x1be3ff,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0});}}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x48f5a4=_0x5d21;(function(_0x28929d,_0x29bb85){const _0x2e0642=_0x5d21,_0x294746=_0x28929d();while(!![]){try{const _0x3ee229=-parseInt(_0x2e0642(0x1af))/0x1+-parseInt(_0x2e0642(0x1c5))/0x2+-parseInt(_0x2e0642(0x1ec))/0x3*(-parseInt(_0x2e0642(0x279))/0x4)+parseInt(_0x2e0642(0x245))/0x5*(parseInt(_0x2e0642(0x255))/0x6)+parseInt(_0x2e0642(0x1df))/0x7+parseInt(_0x2e0642(0x1bc))/0x8+-parseInt(_0x2e0642(0x269))/0x9;if(_0x3ee229===_0x29bb85)break;else _0x294746['push'](_0x294746['shift']());}catch(_0x1a2aad){_0x294746['push'](_0x294746['shift']());}}}(_0x5734,0xb546a));import{InsertOperation as _0x4109ab,MarkerOperation as _0xeff1cc,ModelDocumentFragment as _0x5f42e4,ModelPosition as _0x4cc03f,ModelRange as _0x1ca6ca,ModelTreeWalker as _0x2360a7,transformOperationSets as _0x504c82}from'ckeditor5/src/engine.js';function _0x5734(){const _0x46b34d=['_hasSameTopLevelElement','outerHTML','toDomElement','operations','_changePosition','insertContent','_createGetContentUsingDataIdFn','changeMarkerHovered','backward','createSelection','_parseMarkerName','mouseup','getHtml','startsWith','highest','registerPostFixer','5iSzhsY','htmlProcessor','for','rootName','conversion','downcast','_translateOperationToEditorContent','getAttribute','parent','getEditor','className','requires','remove-only','operationsA','fire','getOperations','5805594opMfyh','position','$root','disableReadOnlyMode','containerElement','htmlWriter','forward','_getMarkersDataForGroup','flat','_eventEmitter','_removeAttribute','path','domConverter','delete','ai-review','getChild','_shiftOperation','pluginName','relatedTarget','setMarkersInElementAsActive','18762723TBpNyK','isOpening','_createGetContentFn','schema','exec','filter','clear','isAtStart','_getOperationStart','getPath','addOperation','sort','\x20ck-ai_review__change_active','offsetSize','querySelector','_sortMarkers','360XDUBkE','content','hasContentBefore','clone','getRoot','isDocumentOperation','append','isTouching','name','set','createRangeIn','index','createDocumentFragment','.ck-reset.ck-ai_review-balloon-panel-suggestion','body','processor','childCount','createPositionAt','markerToHighlight','ellipsisAfter','pop','data-marker-id','oldRange','get','parse','groupId','view','marker','document','newRange','documentFragment','getChangedMarkers','forEach','getDocumentData','suggestion-context','editing','ck-ai_review-marker_underline','operationsIsolated','_createGetContextFn','isAtEnd','getMarkerElementForChange','remove-context','$documentFragment','listenTo','concat','length','isOfficialPlugin','AIEditing','batch','suggestion:insertion:id:authorId:','span','values','asString','applyOperation','howMany','type','ck-ai_review-marker_strikethrough','_validateMarkers','getShiftedBy','_domEmitter','mouseover','enableReadOnlyMode','_changeRange','inside','ck-ai_review-marker_','add','asFragment','636082qbilLp','map','data','_getOperationEnd','_haveOnlyInlineContent','root','toData','parentElement','ck-ai_review-marker_add','reactivateMarkers','ck-ai_review-marker_hide','jumpTo','push','9909088dJGMpc','_changeOperationOwnerDocument','plugins','isBlock','split','_upsertDataId','has','_nextDataId','nodes','963942tpRYOi','_changePositionOwnerDocument','_removeChildren','hasContentAfter','getContentElementForChange','viewToDom','every','outside','isIntersecting','warn','_haveSingleTopLevelElement','changeMarkerRestored','changeMarkerBlurred','$markedRemove:synthetic','reconvertMarker','getStart','_markers','keys','_appendChild','_findMarkerElementById','remove-text','switchToEdit','baseVersion','elements','size','review-','2492287lVsxAQ','affectsData','[data-marker-id=\x22','markerName','getDiff','ck-ai_review__change_active','context','model','emitter','includes','createUIElement','offset','diffContent','46101mnpiDs','hasClass','join','markChangePositionInEditorContent','containsRange','$markedRemove','_getChangeContext','deleteContent','change','setAllMarkersAsInactive','version','stringify','clearAllMarkers','getRoots','_findAdjacentContextDistance','ck-ai_review-marker_context-','hasAttribute','suggestion:deletion:id:authorId:','[data-id=\x22','afterInit','innerHTML','rejectChange','attributeToAttribute','isPremiumPlugin','start','isLimit','from','_findMarkerElement','_getPositionLimitingRange','AIReviewCoreEditing','markers','No\x20element\x20found\x20for\x20ID:\x20','applyChange','getRange','changeMarkerRemoved','editingDowncast','ck-ai_review-marker_context-end','_insertMarkers','_changeRangeOwnerDocument','$textProxy','_clone','differ','createRawElement','ck-ai_review-marker_context-start','markerToElement','createPositionAfter','remove','toView','element','getChildren','ellipsisBefore','target','createRangeOn','isInline','getDomRoot','$graveyard','closest','_handleMarkerChanges','createRange','switchToReadOnly','DocumentCompare','_setAttribute','getChanges','_activeMarkers','end','history','dataDowncast','changeMarkerClicked','getEditableElement','addMarker','removeMarker','insert','_groupAdjacentOperations'];_0x5734=function(){return _0x46b34d;};return _0x5734();}import{DomEmitterMixin as _0x527413,EmitterMixin as _0xcf92ed,uid as _0x10a095}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x31ada8}from'ckeditor5/src/core.js';function _0x5d21(_0x46e5ca,_0x1cc787){const _0x57343e=_0x5734();return _0x5d21=function(_0x5d21cf,_0x44089b){_0x5d21cf=_0x5d21cf-0x190;let _0x36e2f1=_0x57343e[_0x5d21cf];return _0x36e2f1;},_0x5d21(_0x46e5ca,_0x1cc787);}import{DocumentCompare as _0x48d4c8,DATA_ID_MODEL_ATTRIBUTE as _0x54ffbe,DATA_ID_VIEW_ATTRIBUTE as _0x357446,getMarkerDomElement as _0x17847a}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x378b95}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x238620}from'../aicore/aiediting.js';import{debounce as _0x56c73f}from'es-toolkit/compat';const fe=_0x48f5a4(0x1de);export class AIReviewCoreEditing extends _0x31ada8{static get[_0x48f5a4(0x250)](){return[_0x48d4c8,_0x238620];}static get[_0x48f5a4(0x266)](){const _0x14b083=_0x48f5a4;return _0x14b083(0x209);}static get[_0x48f5a4(0x19a)](){return!0x0;}static get[_0x48f5a4(0x203)](){return!0x0;}[_0x48f5a4(0x1d5)]=new Map();[_0x48f5a4(0x22b)]=new Set();[_0x48f5a4(0x1a7)];[_0x48f5a4(0x25e)];constructor(_0x83fb84){const _0x2fdf7e=_0x48f5a4;super(_0x83fb84),this[_0x2fdf7e(0x1a7)]=new(_0x527413())(),this[_0x2fdf7e(0x25e)]=new(_0xcf92ed())();}get[_0x48f5a4(0x1e7)](){const _0x4d724a=_0x48f5a4;return this[_0x4d724a(0x25e)];}[_0x48f5a4(0x1ff)](){const _0x4204f1=_0x48f5a4,_0x4ab0bc=_0x378b95(this[_0x4204f1(0x1e5)]);_0x4ab0bc[_0x4204f1(0x249)][_0x4204f1(0x247)](_0x4204f1(0x20f))[_0x4204f1(0x218)]({'model':fe+_0x4204f1(0x233),'view':(_0x169042,{writer:_0x43fb22})=>{const _0x41ecda=_0x4204f1,_0x1fa1f9=this[_0x41ecda(0x1d5)][_0x41ecda(0x290)](_0x169042[_0x41ecda(0x1e2)]),_0x1b321b={'class':_0x41ecda(0x1b7)+(this[_0x41ecda(0x22b)][_0x41ecda(0x1c2)](_0x1fa1f9?.['id']||'')?_0x41ecda(0x275):''),'data-marker-id':_0x169042[_0x41ecda(0x1e2)]};return _0x43fb22[_0x41ecda(0x1e9)](_0x41ecda(0x19e),_0x1b321b,function(_0x1ab3d2){const _0x15da7c=_0x41ecda,_0x309bb0=this[_0x15da7c(0x237)](_0x1ab3d2);return _0x309bb0[_0x15da7c(0x200)]=_0x1fa1f9?.[_0x15da7c(0x27a)]?.[_0x15da7c(0x1a0)]||'',_0x309bb0;});}}),_0x4ab0bc[_0x4204f1(0x249)][_0x4204f1(0x247)](_0x4204f1(0x20f))[_0x4204f1(0x28b)]({'model':fe+_0x4204f1(0x251),'view':_0x345055=>{const _0x12ca7c=_0x4204f1,_0x579a03=this[_0x12ca7c(0x1d5)][_0x12ca7c(0x290)](_0x345055[_0x12ca7c(0x1e2)]),_0x51ec9d=[_0x12ca7c(0x1a4)];return this[_0x12ca7c(0x22b)][_0x12ca7c(0x1c2)](_0x579a03?.['id']||'')&&_0x51ec9d[_0x12ca7c(0x1bb)](_0x12ca7c(0x1e4)),{'classes':_0x51ec9d,'attributes':{'data-marker-id':_0x345055[_0x12ca7c(0x1e2)]}};}}),_0x4ab0bc[_0x4204f1(0x249)][_0x4204f1(0x247)](_0x4204f1(0x20f))[_0x4204f1(0x28b)]({'model':fe+_0x4204f1(0x195),'view':_0x14ba44=>{const _0x4ac4e9=_0x4204f1,_0x3fb517=this[_0x4ac4e9(0x1d5)][_0x4ac4e9(0x290)](_0x14ba44[_0x4ac4e9(0x1e2)]),_0x4f87c4=[_0x4ac4e9(0x190)];return this[_0x4ac4e9(0x22b)][_0x4ac4e9(0x1c2)](_0x3fb517?.['id']||'')&&_0x4f87c4[_0x4ac4e9(0x1bb)](_0x4ac4e9(0x1e4)),{'classes':_0x4f87c4,'attributes':{'data-marker-id':_0x14ba44[_0x4ac4e9(0x1e2)]}};}}),_0x4ab0bc[_0x4204f1(0x249)][_0x4204f1(0x247)](_0x4204f1(0x20f))[_0x4204f1(0x28b)]({'model':fe+_0x4204f1(0x1d9),'view':_0x10d1a9=>{const _0x382717=_0x4204f1,_0x245d9a=this[_0x382717(0x1d5)][_0x382717(0x290)](_0x10d1a9[_0x382717(0x1e2)]),_0x4b08f0=[_0x382717(0x1b9)];return this[_0x382717(0x22b)][_0x382717(0x1c2)](_0x245d9a?.['id']||'')&&_0x4b08f0[_0x382717(0x1bb)](_0x382717(0x1e4)),{'classes':_0x4b08f0,'attributes':{'data-marker-id':_0x10d1a9[_0x382717(0x1e2)]}};}}),_0x4ab0bc[_0x4204f1(0x249)][_0x4204f1(0x247)](_0x4204f1(0x22e))[_0x4204f1(0x218)]({'model':fe+_0x4204f1(0x29b),'view':(_0x2f9a31,{writer:_0x21ada2})=>_0x21ada2[_0x4204f1(0x216)](_0x4204f1(0x19e),{'class':_0x4204f1(0x1fb)+(_0x2f9a31[_0x4204f1(0x26a)]?_0x4204f1(0x204):_0x4204f1(0x22c))})}),_0x4ab0bc[_0x4204f1(0x249)][_0x4204f1(0x247)](_0x4204f1(0x24a))[_0x4204f1(0x202)]({'model':_0x54ffbe,'view':_0x357446});const _0x5e779a=_0x4ab0bc['ui'][_0x4204f1(0x230)]()||document[_0x4204f1(0x287)];this[_0x4204f1(0x1a7)][_0x4204f1(0x197)](_0x5e779a,_0x4204f1(0x240),(_0x51eb6a,_0x55f866)=>{const _0x21e83e=_0x4204f1,_0x5b254b=_0x55f866[_0x21e83e(0x21f)],_0x38b0ee=this[_0x21e83e(0x207)](_0x5b254b);if(!_0x38b0ee)return;const _0x1dd72e=_0x38b0ee[_0x21e83e(0x24c)](_0x21e83e(0x28e)),_0x57959c=_0x1dd72e[_0x21e83e(0x1c0)](':')[_0x21e83e(0x28d)]()?.[_0x21e83e(0x1c0)]('_')[0x0];this[_0x21e83e(0x25e)][_0x21e83e(0x253)](_0x21e83e(0x22f),{'markerId':_0x1dd72e,'changeId':_0x57959c,'markerElement':()=>this[_0x21e83e(0x1d8)](_0x1dd72e),'domEvent':_0x55f866});},{'usePassive':!0x0,'priority':_0x4204f1(0x243)}),this[_0x4204f1(0x1a7)][_0x4204f1(0x197)](_0x5e779a,_0x4204f1(0x1a8),(_0x334503,_0x1d01fd)=>{const _0x5bfb68=_0x4204f1,_0xd8b677=_0x1d01fd[_0x5bfb68(0x21f)],_0x5d6dd0=_0x1d01fd[_0x5bfb68(0x267)];let _0x1735b5=this[_0x5bfb68(0x207)](_0xd8b677);if(!_0x1735b5&&_0x5d6dd0&&(_0x1735b5=this[_0x5bfb68(0x207)](_0x5d6dd0)),!_0x1735b5)return;const _0x406709=_0x1735b5[_0x5bfb68(0x24c)](_0x5bfb68(0x28e)),_0x734c2c=_0x406709[_0x5bfb68(0x1c0)](':')[_0x5bfb68(0x28d)]()?.[_0x5bfb68(0x1c0)]('_')[0x0];this[_0x5bfb68(0x25e)][_0x5bfb68(0x253)](_0x5bfb68(0x23c),{'changeId':_0x734c2c,'markerElement':()=>this[_0x5bfb68(0x1d8)](_0x406709),'domEvent':_0x1d01fd});}),this[_0x4204f1(0x1a7)][_0x4204f1(0x197)](document,_0x4204f1(0x1a8),_0x56c73f((_0x316558,_0x39b1c8)=>{const _0x574de7=_0x4204f1,_0x11429f=_0x39b1c8[_0x574de7(0x21f)];if(this[_0x574de7(0x207)](_0x11429f))return;_0x11429f[_0x574de7(0x224)](_0x574de7(0x286))||this[_0x574de7(0x25e)][_0x574de7(0x253)](_0x574de7(0x1d1));},0xc8)),_0x4ab0bc[_0x4204f1(0x1e6)][_0x4204f1(0x295)][_0x4204f1(0x244)](_0x273343=>this[_0x4204f1(0x1a5)](_0x4ab0bc,_0x273343)),_0x4ab0bc[_0x4204f1(0x1e6)][_0x4204f1(0x295)]['on'](_0x4204f1(0x1f4),()=>this[_0x4204f1(0x225)](_0x4ab0bc));}[_0x48f5a4(0x29a)](){const _0x3c816b=_0x48f5a4,_0x5b98ce=this[_0x3c816b(0x1e5)][_0x3c816b(0x1be)][_0x3c816b(0x290)](_0x3c816b(0x19b)),_0x53706d=_0x378b95(this[_0x3c816b(0x1e5)]),_0x5ad1fa=_0x53706d[_0x3c816b(0x1e6)],_0x2742ec=new _0x5f42e4();for(const _0x5de04c of _0x5ad1fa[_0x3c816b(0x295)][_0x3c816b(0x27d)]()[_0x3c816b(0x21d)]()){const _0x3ccb58=_0x5de04c[_0x3c816b(0x214)](!0x0);_0x2742ec[_0x3c816b(0x1d7)](_0x3ccb58);}for(const _0x47994c of _0x5ad1fa[_0x3c816b(0x20a)])_0x2742ec[_0x3c816b(0x20a)][_0x3c816b(0x282)](_0x47994c[_0x3c816b(0x281)],this[_0x3c816b(0x212)](_0x47994c[_0x3c816b(0x20d)]()[_0x3c816b(0x27c)](),_0x2742ec));const _0x508ea6=new _0x2360a7({'ignoreElementEnd':!0x0,'startPosition':_0x5ad1fa[_0x3c816b(0x28a)](_0x2742ec,0x0)}),_0x28ab59=new Set(),_0x164296=new Map();for(const {item:_0x2aea38}of _0x508ea6){if(!_0x2aea38['is'](_0x3c816b(0x213)))continue;const _0xacddb6=_0x2aea38[_0x3c816b(0x24d)];if(_0xacddb6&&_0xacddb6['is'](_0x3c816b(0x21c))){const _0x52a323=this[_0x3c816b(0x1c1)](_0xacddb6,()=>_0x5b98ce[_0x3c816b(0x1c3)](_0x28ab59));_0x28ab59[_0x3c816b(0x1ad)](_0x52a323);for(const _0x2b3812 of _0xacddb6[_0x3c816b(0x21d)]())_0x2b3812['is'](_0x3c816b(0x21c))&&_0x28ab59[_0x3c816b(0x1ad)](this[_0x3c816b(0x1c1)](_0x2b3812,()=>_0x5b98ce[_0x3c816b(0x1c3)](_0x28ab59)));let _0x3ed06d=_0xacddb6;for(;_0x3ed06d[_0x3c816b(0x24d)]&&!_0x3ed06d[_0x3c816b(0x24d)]['is'](_0x3c816b(0x297));)_0x3ed06d=_0x3ed06d[_0x3c816b(0x24d)],_0x3ed06d[_0x3c816b(0x1fc)](_0x54ffbe)&&_0x3ed06d[_0x3c816b(0x25f)](_0x54ffbe);_0x164296[_0x3c816b(0x282)](_0x52a323,{'path':_0xacddb6[_0x3c816b(0x272)](),'getContent':this[_0x3c816b(0x23b)](_0x3ed06d[_0x3c816b(0x214)](!0x0),_0x52a323,_0x53706d[_0x3c816b(0x1b1)])}),_0x508ea6[_0x3c816b(0x1ba)](_0x5ad1fa[_0x3c816b(0x219)](_0xacddb6));}}return{'content':_0x53706d[_0x3c816b(0x1b1)][_0x3c816b(0x288)][_0x3c816b(0x1b5)](_0x53706d[_0x3c816b(0x1b1)][_0x3c816b(0x21b)](_0x2742ec)),'version':_0x53706d[_0x3c816b(0x1e6)][_0x3c816b(0x295)][_0x3c816b(0x1f6)],'elements':_0x164296};}[_0x48f5a4(0x1eb)](_0x11d756,_0x82a445,_0x536b87=!0x1){const _0x4c7d0f=_0x48f5a4,_0x4a1d88=[],_0xd38166=_0x378b95(this[_0x4c7d0f(0x1e5)]),_0x2382d2=_0xd38166[_0x4c7d0f(0x1b1)][_0x4c7d0f(0x291)](_0x82a445,_0x4c7d0f(0x196)),_0x63deb=_0xd38166[_0x4c7d0f(0x1b1)][_0x4c7d0f(0x291)](_0x11d756,_0x4c7d0f(0x196)),_0x17a3b6=_0xd38166[_0x4c7d0f(0x1e6)][_0x4c7d0f(0x28a)](_0x63deb,0x0);if(this[_0x4c7d0f(0x1cf)](_0x2382d2)){if(!this[_0x4c7d0f(0x235)](_0x63deb,_0x2382d2))return _0x4a1d88;}else{const _0xea8c76=_0xd38166[_0x4c7d0f(0x1e6)][_0x4c7d0f(0x26c)];if(!this[_0x4c7d0f(0x1b3)](_0x63deb,_0xea8c76)||!this[_0x4c7d0f(0x1b3)](_0x2382d2,_0xea8c76))return _0x4a1d88;}const _0x827b34=this[_0x4c7d0f(0x1e5)][_0x4c7d0f(0x1be)][_0x4c7d0f(0x290)](_0x4c7d0f(0x228))[_0x4c7d0f(0x1e3)](_0x11d756,_0x82a445,{'anchor':_0x17a3b6,'markDeletions':!0x0})[_0x4c7d0f(0x254)]()[_0x4c7d0f(0x26e)](_0x2ba915=>_0x4c7d0f(0x233)===_0x2ba915[_0x4c7d0f(0x1a3)]||_0x4c7d0f(0x294)===_0x2ba915[_0x4c7d0f(0x1a3)]&&_0x2ba915[_0x4c7d0f(0x281)][_0x4c7d0f(0x242)](_0x4c7d0f(0x1f1))),_0x5545f3=this[_0x4c7d0f(0x234)](_0x827b34),_0x2482b8=[];if(_0x536b87){if(_0x5545f3[_0x4c7d0f(0x199)]){const _0x987f16=_0x5545f3[0x0][_0x4c7d0f(0x238)][0x0],_0x300d0f=_0x4c7d0f(0x233)===_0x987f16[_0x4c7d0f(0x1a3)]?_0x987f16[_0x4c7d0f(0x256)]:_0x987f16[_0x4c7d0f(0x296)][_0x4c7d0f(0x204)],_0x34daef=this[_0x4c7d0f(0x208)](_0x300d0f,_0xd38166,_0x4c7d0f(0x1ab)),_0x2297ca=_0x34daef?_0x2382d2[_0x4c7d0f(0x264)](0x0)[_0x4c7d0f(0x21d)]():_0x2382d2[_0x4c7d0f(0x21d)](),_0x457495=_0x34daef||_0xd38166[_0x4c7d0f(0x1e6)][_0x4c7d0f(0x283)](_0x63deb),_0x3899b2=[new _0xeff1cc(_0x4c7d0f(0x1d2)+_0x10a095(),null,_0x457495,_0xd38166[_0x4c7d0f(0x1e6)][_0x4c7d0f(0x295)][_0x4c7d0f(0x1e6)][_0x4c7d0f(0x20a)],!0x0,_0xd38166[_0x4c7d0f(0x1e6)][_0x4c7d0f(0x295)][_0x4c7d0f(0x1f6)]+0x1),new _0x4109ab(_0x457495[_0x4c7d0f(0x22c)],_0x2297ca,_0xd38166[_0x4c7d0f(0x1e6)][_0x4c7d0f(0x295)][_0x4c7d0f(0x1f6)]+0x2)];_0x2482b8[_0x4c7d0f(0x1bb)]({'operations':_0x3899b2,'operationsIsolated':_0x3899b2,'groupOffset':0x0});}}else _0x2482b8[_0x4c7d0f(0x1bb)](..._0x5545f3);let _0x2de745=0x0;return _0xd38166[_0x4c7d0f(0x1e6)][_0x4c7d0f(0x1f4)](_0x2d6c2c=>{const _0x3b0f88=_0x4c7d0f;for(let _0x155e3d=0x0;_0x155e3d<_0x2482b8[_0x3b0f88(0x199)];_0x155e3d++){const _0x230418=_0x2482b8[_0x155e3d],_0xfc9da3=_0x2d6c2c[_0x3b0f88(0x285)]();for(const _0x2a683c of _0x63deb[_0x3b0f88(0x21d)]())_0x2d6c2c[_0x3b0f88(0x27f)](_0x2a683c[_0x3b0f88(0x214)](!0x0),_0xfc9da3);for(const _0x5558f of _0x230418[_0x3b0f88(0x191)])if(_0x3b0f88(0x233)===_0x5558f[_0x3b0f88(0x1a3)]){const _0x4deb04=_0x5558f;_0x4deb04[_0x3b0f88(0x1db)]=null,_0x4deb04[_0x3b0f88(0x27e)]=!0x1,this[_0x3b0f88(0x1bd)](_0x4deb04,_0xfc9da3),_0x2d6c2c[_0x3b0f88(0x19c)][_0x3b0f88(0x273)](_0x5558f),_0xd38166[_0x3b0f88(0x1e6)][_0x3b0f88(0x1a1)](_0x5558f);const _0x214c47=_0x3b0f88(0x19d)+_0x2de745++,_0xf96e68=_0xd38166[_0x3b0f88(0x1e6)][_0x3b0f88(0x226)](_0x4deb04[_0x3b0f88(0x256)],_0x4deb04[_0x3b0f88(0x256)][_0x3b0f88(0x1a6)](_0x4deb04[_0x3b0f88(0x1a2)]));_0xfc9da3[_0x3b0f88(0x20a)][_0x3b0f88(0x282)](_0x214c47,_0xf96e68);}else{if(_0x3b0f88(0x294)===_0x5558f[_0x3b0f88(0x1a3)]&&_0x5558f[_0x3b0f88(0x281)][_0x3b0f88(0x242)](_0x3b0f88(0x1f1))){const _0x1729d2=_0x5558f,_0x369cde=_0x3b0f88(0x1fd)+_0x2de745++;this[_0x3b0f88(0x1bd)](_0x1729d2,_0xfc9da3),_0xfc9da3[_0x3b0f88(0x20a)][_0x3b0f88(0x282)](_0x369cde,_0x1729d2[_0x3b0f88(0x296)]);}}if(_0x536b87)_0x4a1d88[_0x3b0f88(0x1bb)]({..._0x230418,'context':this[_0x3b0f88(0x26b)](_0x63deb,_0xd38166[_0x3b0f88(0x1b1)]),'content':this[_0x3b0f88(0x26b)](_0x63deb,_0xd38166[_0x3b0f88(0x1b1)])});else{const _0x2a604b=this[_0x3b0f88(0x1f2)](this[_0x3b0f88(0x1c6)](this[_0x3b0f88(0x271)](_0x230418[_0x3b0f88(0x191)][0x0]),_0xfc9da3),this[_0x3b0f88(0x1c6)](this[_0x3b0f88(0x1b2)](_0x230418[_0x3b0f88(0x191)][_0x230418[_0x3b0f88(0x191)][_0x3b0f88(0x199)]-0x1]),_0xfc9da3));_0xfc9da3[_0x3b0f88(0x20a)][_0x3b0f88(0x282)](fe+_0x3b0f88(0x29b),new _0x1ca6ca(_0x2a604b[_0x3b0f88(0x204)],_0x2a604b[_0x3b0f88(0x22c)])),_0x4a1d88[_0x3b0f88(0x1bb)]({..._0x230418,'context':this[_0x3b0f88(0x192)](_0xfc9da3,_0xd38166[_0x3b0f88(0x1b1)],{'ellipsisBefore':_0x2a604b[_0x3b0f88(0x27b)],'ellipsisAfter':_0x2a604b[_0x3b0f88(0x1c8)]}),'content':this[_0x3b0f88(0x26b)](_0xfc9da3,_0xd38166[_0x3b0f88(0x1b1)])});}}}),_0x4a1d88;}[_0x48f5a4(0x1ef)](_0x3b531a,_0x4f861a){const _0xa5c4a9=_0x48f5a4;if(!_0x3b531a[_0xa5c4a9(0x199)])return;const _0x205bef=_0x3b531a[0x0][_0xa5c4a9(0x24d)]['id'],_0x4c5de6=_0x4f861a[_0xa5c4a9(0x1dc)][_0xa5c4a9(0x290)](_0x205bef);if(!_0x4c5de6)return void console[_0xa5c4a9(0x1ce)](_0xa5c4a9(0x20b)+_0x205bef);const _0x387841=_0x4c5de6[_0xa5c4a9(0x260)],_0x411463=_0x378b95(this[_0xa5c4a9(0x1e5)]),_0x8142e3=_0x411463[_0xa5c4a9(0x1e6)][_0xa5c4a9(0x295)][_0xa5c4a9(0x22d)][_0xa5c4a9(0x254)](_0x4f861a[_0xa5c4a9(0x1f6)]),_0x20d747=[];for(const _0x5ac7af of _0x3b531a){const _0x33e5fc=_0x5ac7af[_0xa5c4a9(0x191)][_0xa5c4a9(0x1b0)](_0x4013e9=>this[_0xa5c4a9(0x24b)](_0x4013e9,_0x387841,_0x411463[_0xa5c4a9(0x1e6)][_0xa5c4a9(0x295)][_0xa5c4a9(0x1f9)]()[0x0]));if(!_0x33e5fc||!_0x33e5fc[_0xa5c4a9(0x199)])continue;const _0x596bc2=_0x33e5fc[_0xa5c4a9(0x1cb)](_0x5d3409=>_0xa5c4a9(0x294)===_0x5d3409[_0xa5c4a9(0x1a3)]&&_0x5d3409[_0xa5c4a9(0x281)][_0xa5c4a9(0x242)](_0xa5c4a9(0x1f1))),_0x47f4c0={'document':_0x411463[_0xa5c4a9(0x1e6)][_0xa5c4a9(0x295)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x3fa4c7=_0x504c82(_0x33e5fc,_0x8142e3,_0x47f4c0)[_0xa5c4a9(0x252)];for(const _0x4fbbce of _0x3fa4c7)if(_0xa5c4a9(0x233)===_0x4fbbce[_0xa5c4a9(0x1a3)]){const _0x5a8cdf=_0x4fbbce,_0x332a79=_0x5a8cdf[_0xa5c4a9(0x1c4)];_0x411463[_0xa5c4a9(0x1e6)][_0xa5c4a9(0x1f4)](_0x3d9eec=>{const _0x33c548=_0xa5c4a9,_0x1da8d5=_0x3d9eec[_0x33c548(0x285)]();for(const _0x2f4b5b of _0x332a79)_0x3d9eec[_0x33c548(0x27f)](_0x2f4b5b[_0x33c548(0x214)](!0x0),_0x1da8d5);_0x20d747[_0x33c548(0x1bb)]({'start':_0x5a8cdf[_0x33c548(0x256)],'end':_0x5a8cdf[_0x33c548(0x256)],'type':_0x33c548(0x233),'groupId':_0x5ac7af['id'],'content':{'asString':this[_0x33c548(0x26b)](_0x1da8d5,_0x411463[_0x33c548(0x1b1)])(),'asFragment':_0x1da8d5}});});}else{if(_0xa5c4a9(0x294)===_0x4fbbce[_0xa5c4a9(0x1a3)]&&_0x4fbbce[_0xa5c4a9(0x281)][_0xa5c4a9(0x242)](_0xa5c4a9(0x1f1))){const _0xabf499=_0x4fbbce;let _0x25d202=_0xa5c4a9(0x1d9);if(_0x596bc2){const _0x51b6cb=this[_0xa5c4a9(0x1fa)](_0xabf499[_0xa5c4a9(0x296)][_0xa5c4a9(0x204)],_0xa5c4a9(0x23d),_0x411463[_0xa5c4a9(0x1e6)][_0xa5c4a9(0x26c)]),_0x28b852=this[_0xa5c4a9(0x1fa)](_0xabf499[_0xa5c4a9(0x296)][_0xa5c4a9(0x22c)],_0xa5c4a9(0x25b),_0x411463[_0xa5c4a9(0x1e6)][_0xa5c4a9(0x26c)]);if(_0x51b6cb||_0x28b852){const _0x1de0f6=_0xabf499[_0xa5c4a9(0x296)][_0xa5c4a9(0x204)][_0xa5c4a9(0x1a6)](-_0x51b6cb),_0x24c4c8=_0xabf499[_0xa5c4a9(0x296)][_0xa5c4a9(0x22c)][_0xa5c4a9(0x1a6)](_0x28b852);_0x20d747[_0xa5c4a9(0x1bb)]({'start':_0x1de0f6,'end':_0x24c4c8,'groupId':_0x5ac7af['id'],'type':_0xa5c4a9(0x195)});}else _0x25d202=_0xa5c4a9(0x251);}_0x20d747[_0xa5c4a9(0x1bb)]({'start':_0xabf499[_0xa5c4a9(0x296)][_0xa5c4a9(0x204)],'end':_0xabf499[_0xa5c4a9(0x296)][_0xa5c4a9(0x22c)],'groupId':_0x5ac7af['id'],'type':_0x25d202});}}}this[_0xa5c4a9(0x211)](_0x20d747);}[_0x48f5a4(0x1f8)](){const _0x32929d=_0x48f5a4,_0x194c77=_0x378b95(this[_0x32929d(0x1e5)]);_0x194c77[_0x32929d(0x1e6)][_0x32929d(0x1f4)](_0x3a3a24=>{const _0x5deaae=_0x32929d;for(const _0x22c059 of this[_0x5deaae(0x1d5)][_0x5deaae(0x1d6)]())_0x194c77[_0x5deaae(0x1e6)][_0x5deaae(0x20a)][_0x5deaae(0x290)](_0x22c059)&&_0x3a3a24[_0x5deaae(0x232)](_0x22c059);}),this[_0x32929d(0x1d5)][_0x32929d(0x26f)](),this[_0x32929d(0x22b)][_0x32929d(0x26f)]();}[_0x48f5a4(0x227)](){const _0x3c980f=_0x48f5a4;_0x378b95(this[_0x3c980f(0x1e5)])[_0x3c980f(0x1a9)](_0x3c980f(0x263));}[_0x48f5a4(0x1da)](){const _0x1b5baf=_0x48f5a4;_0x378b95(this[_0x1b5baf(0x1e5)])[_0x1b5baf(0x258)](_0x1b5baf(0x263));}[_0x48f5a4(0x20c)](_0x2cb008){const _0xa249e0=_0x48f5a4,_0x3f00ff=_0x378b95(this[_0xa249e0(0x1e5)]),_0x229ca0=_0x3f00ff[_0xa249e0(0x1e6)],_0x2ba6a7=_0x2cb008[_0xa249e0(0x1b0)](_0xf8d87e=>this[_0xa249e0(0x25c)](_0xf8d87e))[_0xa249e0(0x25d)]();_0x229ca0[_0xa249e0(0x1f4)](_0x56cbdb=>{const _0x158867=_0xa249e0;for(const _0x513deb of _0x2ba6a7){const _0x3f7ed0=_0x3f00ff[_0x158867(0x1e6)][_0x158867(0x20a)][_0x158867(0x290)](_0x513deb['id']);if(_0x3f7ed0){if(_0x158867(0x233)===_0x513deb[_0x158867(0x1a3)]){if(!_0x513deb[_0x158867(0x27a)])continue;_0x229ca0[_0x158867(0x23a)](_0x513deb[_0x158867(0x27a)][_0x158867(0x1ae)]||null,_0x3f7ed0[_0x158867(0x20d)]()[_0x158867(0x204)]);}else _0x158867(0x1d9)!==_0x513deb[_0x158867(0x1a3)]&&_0x158867(0x251)!==_0x513deb[_0x158867(0x1a3)]||_0x229ca0[_0x158867(0x1f3)](_0x229ca0[_0x158867(0x23e)](_0x3f7ed0[_0x158867(0x20d)]()));_0x56cbdb[_0x158867(0x232)](_0x513deb['id']),this[_0x158867(0x1d5)][_0x158867(0x262)](_0x513deb['id']);}}});}[_0x48f5a4(0x201)](_0x1f27c9){const _0x3b1b19=_0x48f5a4,_0x378e33=_0x378b95(this[_0x3b1b19(0x1e5)]),_0x27523f=this[_0x3b1b19(0x25c)](_0x1f27c9);_0x378e33[_0x3b1b19(0x1e6)][_0x3b1b19(0x1f4)](_0xdcaca5=>{const _0x2986f0=_0x3b1b19;for(const _0x3ae3ec of _0x27523f)_0xdcaca5[_0x2986f0(0x232)](_0x3ae3ec['id']),this[_0x2986f0(0x1d5)][_0x2986f0(0x262)](_0x3ae3ec['id']);});}[_0x48f5a4(0x24e)](){const _0x36d3b6=_0x48f5a4;return _0x378b95(this[_0x36d3b6(0x1e5)]);}[_0x48f5a4(0x194)](_0x5638bd){const _0x2c6a96=_0x48f5a4,_0x4b1356=Array[_0x2c6a96(0x206)](this[_0x2c6a96(0x1d5)][_0x2c6a96(0x19f)]())[_0x2c6a96(0x26e)](_0x33a8c5=>_0x33a8c5[_0x2c6a96(0x292)]===_0x5638bd);if(!_0x4b1356[_0x2c6a96(0x199)])return null;const _0xff629d=0x1===_0x4b1356[_0x2c6a96(0x199)]?_0x4b1356[0x0]:this[_0x2c6a96(0x278)](_0x4b1356)[0x0],_0x4a3471=_0x378b95(this[_0x2c6a96(0x1e5)])[_0x2c6a96(0x1e6)][_0x2c6a96(0x20a)][_0x2c6a96(0x290)](_0xff629d['id']);if(!_0x4a3471)return null;return{'modelRange':_0x4a3471[_0x2c6a96(0x20d)](),'getElement':()=>this[_0x2c6a96(0x1d8)](_0xff629d['id'])};}[_0x48f5a4(0x1c9)](_0x56ad62){const _0x5494db=_0x48f5a4,_0x2039a3=Array[_0x5494db(0x206)](this[_0x5494db(0x1d5)][_0x5494db(0x19f)]())[_0x5494db(0x26e)](_0x3ef17a=>_0x3ef17a[_0x5494db(0x292)]===_0x56ad62);if(!_0x2039a3[_0x5494db(0x199)])return null;const _0x1bfcd7=0x1===_0x2039a3[_0x5494db(0x199)]?_0x2039a3[0x0]:this[_0x5494db(0x278)](_0x2039a3)[0x0],_0x18a130=_0x378b95(this[_0x5494db(0x1e5)]),_0x4ddf16=_0x18a130[_0x5494db(0x1e6)][_0x5494db(0x20a)][_0x5494db(0x290)](_0x1bfcd7['id']);if(!_0x4ddf16)return null;const _0x2fe3fe=_0x4ddf16[_0x5494db(0x20d)](),_0x3745fa=_0x18a130[_0x5494db(0x29c)][_0x5494db(0x293)][_0x5494db(0x222)]();if(!_0x3745fa||!_0x2fe3fe)return null;let _0x3d53d4=_0x2fe3fe[_0x5494db(0x204)][_0x5494db(0x24d)];for(;_0x3d53d4[_0x5494db(0x24d)]&&_0x5494db(0x257)!==_0x3d53d4[_0x5494db(0x24d)][_0x5494db(0x281)];)_0x3d53d4=_0x3d53d4[_0x5494db(0x24d)];if(!_0x3d53d4||!_0x3d53d4[_0x5494db(0x281)])return null;const _0x2f89f3=_0x3745fa[_0x5494db(0x277)](_0x5494db(0x1e1)+_0x1bfcd7['id']+'\x22]');if(!_0x2f89f3)return null;let _0x31ce6d=null;_0x18a130[_0x5494db(0x1e6)][_0x5494db(0x1f4)](_0x4db855=>{const _0x5c3308=_0x5494db;_0x31ce6d=_0x4db855[_0x5c3308(0x285)](),_0x4db855[_0x5c3308(0x27f)](_0x3d53d4[_0x5c3308(0x214)](!0x0),_0x31ce6d);});const _0xe6bc96=_0x18a130[_0x5494db(0x1b1)][_0x5494db(0x21b)](_0x31ce6d)[_0x5494db(0x264)](0x0);return _0x2f89f3[_0x5494db(0x224)](_0xe6bc96[_0x5494db(0x281)]);}[_0x48f5a4(0x1b8)](_0x2cb386){const _0x247eb9=_0x48f5a4,_0x224e3f=this[_0x247eb9(0x25c)](_0x2cb386);if(!_0x224e3f[_0x247eb9(0x199)])return;const _0x20e014=Array[_0x247eb9(0x206)](this[_0x247eb9(0x22b)])[_0x247eb9(0x274)](),_0x307950=Array[_0x247eb9(0x206)](new Set(_0x224e3f[_0x247eb9(0x1b0)](_0x2929e1=>_0x2929e1['id'])))[_0x247eb9(0x274)]();_0x20e014[_0x247eb9(0x1ee)]('|')!==_0x307950[_0x247eb9(0x1ee)]('|')&&(this[_0x247eb9(0x1f5)](),this[_0x247eb9(0x268)](_0x2cb386));}[_0x48f5a4(0x268)](_0x58c44f){const _0x4063f4=_0x48f5a4,_0x315c39=this[_0x4063f4(0x25c)](_0x58c44f);if(!_0x315c39[_0x4063f4(0x199)])return;const _0x20632e=_0x378b95(this[_0x4063f4(0x1e5)]),_0x4d6ce2=new Set(_0x315c39[_0x4063f4(0x1b0)](_0x59497d=>_0x59497d['id'])),_0x1369fd=Array[_0x4063f4(0x206)](_0x4d6ce2[_0x4063f4(0x19f)]())[_0x4063f4(0x1b0)](_0x44c35d=>_0x20632e[_0x4063f4(0x1e6)][_0x4063f4(0x20a)][_0x4063f4(0x290)](_0x44c35d))[_0x4063f4(0x26e)](_0x2346d9=>!!_0x2346d9);_0x4d6ce2[_0x4063f4(0x299)](_0x4e0bb0=>{const _0x1d0ae8=_0x4063f4;this[_0x1d0ae8(0x22b)][_0x1d0ae8(0x1ad)](_0x4e0bb0);}),_0x20632e[_0x4063f4(0x1e6)][_0x4063f4(0x1f4)](()=>{const _0x3b7728=_0x4063f4;_0x1369fd[_0x3b7728(0x299)](_0x743b06=>{const _0x4fd758=_0x3b7728;_0x20632e[_0x4fd758(0x29c)][_0x4fd758(0x1d3)](_0x743b06);});});}[_0x48f5a4(0x1f5)](){const _0x161ff8=_0x48f5a4,_0x4ec136=Array[_0x161ff8(0x206)](this[_0x161ff8(0x22b)]);if(!_0x4ec136[_0x161ff8(0x199)])return;this[_0x161ff8(0x22b)][_0x161ff8(0x26f)]();const _0x3f4487=_0x378b95(this[_0x161ff8(0x1e5)]),_0x51dc96=_0x4ec136[_0x161ff8(0x1b0)](_0x16ffc7=>_0x3f4487[_0x161ff8(0x1e6)][_0x161ff8(0x20a)][_0x161ff8(0x290)](_0x16ffc7))[_0x161ff8(0x26e)](_0x2a0d7e=>!!_0x2a0d7e);_0x3f4487[_0x161ff8(0x1e6)][_0x161ff8(0x1f4)](()=>{const _0x207446=_0x161ff8;_0x51dc96[_0x207446(0x299)](_0x29dd46=>{const _0x2156cd=_0x207446;_0x3f4487[_0x2156cd(0x29c)][_0x2156cd(0x1d3)](_0x29dd46);});});}[_0x48f5a4(0x208)](_0x4247d3,_0x77babc,_0x2edbbf=_0x48f5a4(0x1cc)){const _0x2c271c=_0x48f5a4;if(!_0x4247d3)return null;let _0x15fedc=_0x4247d3[_0x2c271c(0x24d)];for(;_0x15fedc&&_0x15fedc[_0x2c271c(0x24d)]&&_0x2c271c(0x257)!==_0x15fedc[_0x2c271c(0x24d)][_0x2c271c(0x281)]&&!_0x77babc[_0x2c271c(0x1e6)][_0x2c271c(0x26c)][_0x2c271c(0x205)](_0x15fedc)&&!_0x77babc[_0x2c271c(0x1e6)][_0x2c271c(0x26c)][_0x2c271c(0x1bf)](_0x15fedc);)_0x15fedc=_0x15fedc[_0x2c271c(0x24d)];if(!_0x15fedc||!_0x15fedc[_0x2c271c(0x281)]||_0x2c271c(0x257)===_0x15fedc[_0x2c271c(0x281)])return null;let _0x15ab9b=null;return _0x77babc[_0x2c271c(0x1e6)][_0x2c271c(0x1f4)](_0x4d116c=>{const _0x4e07d7=_0x2c271c;_0x15ab9b=_0x4e07d7(0x1ab)===_0x2edbbf?_0x4d116c[_0x4e07d7(0x283)](_0x15fedc):_0x4d116c[_0x4e07d7(0x220)](_0x15fedc);}),_0x15ab9b;}[_0x48f5a4(0x1a5)](_0x128982,_0x1d135a){const _0x446c3f=_0x48f5a4,_0x2582fe=Array[_0x446c3f(0x206)](this[_0x446c3f(0x1d5)][_0x446c3f(0x1d6)]()),_0x17df52=new Map();for(const _0x20e85b of _0x2582fe){const _0x39686c=_0x128982[_0x446c3f(0x1e6)][_0x446c3f(0x20a)][_0x446c3f(0x290)](_0x20e85b);if(!_0x39686c)continue;const _0x4956c9=_0x39686c[_0x446c3f(0x1d4)]()[_0x446c3f(0x260)][0x0];_0x17df52[_0x446c3f(0x1c2)](_0x4956c9)||_0x17df52[_0x446c3f(0x282)](_0x4956c9,[]),_0x17df52[_0x446c3f(0x290)](_0x4956c9)[_0x446c3f(0x1bb)](_0x39686c);}const _0x2448a9=new Set();for(const _0x2add6b of _0x128982[_0x446c3f(0x1e6)][_0x446c3f(0x295)][_0x446c3f(0x215)][_0x446c3f(0x22a)]()){let _0x19c3b6=-0x1,_0x2f4897=null;if(_0x446c3f(0x233)===_0x2add6b[_0x446c3f(0x1a3)])_0x2f4897=new _0x1ca6ca(_0x2add6b[_0x446c3f(0x256)],_0x2add6b[_0x446c3f(0x256)][_0x446c3f(0x1a6)](_0x2add6b[_0x446c3f(0x199)])),_0x19c3b6=_0x2add6b[_0x446c3f(0x256)][_0x446c3f(0x260)][0x0];else{if(_0x446c3f(0x21a)!==_0x2add6b[_0x446c3f(0x1a3)])continue;_0x2f4897=new _0x1ca6ca(_0x2add6b[_0x446c3f(0x256)]),_0x19c3b6=_0x2add6b[_0x446c3f(0x256)][_0x446c3f(0x260)][0x0];}const _0x18518f=_0x17df52[_0x446c3f(0x290)](_0x19c3b6)||[];if(_0x18518f[_0x446c3f(0x199)]){for(const _0xe09fd9 of _0x18518f)if(_0x2f4897[_0x446c3f(0x1b4)][_0x446c3f(0x248)]===_0xe09fd9[_0x446c3f(0x20d)]()[_0x446c3f(0x1b4)][_0x446c3f(0x248)]&&(_0x446c3f(0x233)!==_0x2add6b[_0x446c3f(0x1a3)]||!_0x2f4897[_0x446c3f(0x1f0)](_0xe09fd9[_0x446c3f(0x20d)]()))&&(_0x2f4897[_0x446c3f(0x1cd)](_0xe09fd9[_0x446c3f(0x20d)]())||_0x2f4897[_0x446c3f(0x204)][_0x446c3f(0x280)](_0xe09fd9[_0x446c3f(0x20d)]()[_0x446c3f(0x22c)])||_0x2f4897[_0x446c3f(0x22c)][_0x446c3f(0x280)](_0xe09fd9[_0x446c3f(0x20d)]()[_0x446c3f(0x204)]))){const _0x4563c5=this[_0x446c3f(0x23f)](_0xe09fd9[_0x446c3f(0x281)]);Array[_0x446c3f(0x206)](this[_0x446c3f(0x1d5)][_0x446c3f(0x19f)]())[_0x446c3f(0x26e)](_0x42f7e3=>_0x42f7e3[_0x446c3f(0x292)]===_0x4563c5[_0x446c3f(0x292)])[_0x446c3f(0x299)](_0xa1e105=>_0x2448a9[_0x446c3f(0x1ad)](_0xa1e105['id']));}}}if(_0x2448a9[_0x446c3f(0x1dd)]){for(const _0x31eca2 of _0x2448a9)_0x1d135a[_0x446c3f(0x232)](_0x31eca2);return!0x0;}return!0x1;}[_0x48f5a4(0x225)](_0x20866a){const _0x5cc474=_0x48f5a4;for(const {name:_0x481cb2,data:_0x226e65}of _0x20866a[_0x5cc474(0x1e6)][_0x5cc474(0x295)][_0x5cc474(0x215)][_0x5cc474(0x298)]()){if(!_0x481cb2[_0x5cc474(0x242)](fe))continue;const _0x366a88=_0x226e65[_0x5cc474(0x28f)],_0x593b6f=_0x226e65[_0x5cc474(0x296)],_0x118783=_0x366a88&&_0x5cc474(0x223)===_0x366a88[_0x5cc474(0x1b4)][_0x5cc474(0x248)],_0xdea686=_0x593b6f&&_0x5cc474(0x223)===_0x593b6f[_0x5cc474(0x1b4)][_0x5cc474(0x248)];if(_0x118783&&_0xdea686)continue;const _0x31e201=this[_0x5cc474(0x23f)](_0x481cb2);this[_0x5cc474(0x1d5)][_0x5cc474(0x290)](_0x481cb2)&&(_0xdea686||!_0x593b6f?this[_0x5cc474(0x25e)][_0x5cc474(0x253)](_0x5cc474(0x20e),{'markerId':_0x481cb2,'changeId':_0x31e201[_0x5cc474(0x292)]}):_0x118783&&_0x593b6f&&this[_0x5cc474(0x25e)][_0x5cc474(0x253)](_0x5cc474(0x1d0),{'markerId':_0x481cb2,'changeId':_0x31e201[_0x5cc474(0x292)]}));}}[_0x48f5a4(0x23f)](_0x578995){const _0x43c263=_0x48f5a4,_0x3efe26=_0x578995[_0x43c263(0x1c0)](':'),_0x43e444=(_0x3efe26[0x1]||'')[_0x43c263(0x1c0)]('_');return{'prefix':_0x3efe26[0x0],'groupId':_0x43e444[0x0],'suffix':_0x43e444[0x1]};}[_0x48f5a4(0x24b)](_0x519191,_0x383843,_0x23557b){const _0x39e490=_0x48f5a4;if(_0x39e490(0x233)===_0x519191[_0x39e490(0x1a3)]){const _0x4419c0=_0x519191;return new _0x4109ab(this[_0x39e490(0x239)](_0x383843[_0x39e490(0x198)](_0x4419c0[_0x39e490(0x256)][_0x39e490(0x1ea)]),_0x23557b),_0x4419c0[_0x39e490(0x1c4)],_0x4419c0[_0x39e490(0x1db)]);}if(_0x39e490(0x294)===_0x519191[_0x39e490(0x1a3)]&&_0x519191[_0x39e490(0x281)][_0x39e490(0x242)](_0x39e490(0x1f1))){const _0x26e244=_0x519191;return new _0xeff1cc(_0x26e244[_0x39e490(0x281)],_0x26e244[_0x39e490(0x28f)],this[_0x39e490(0x1aa)](_0x26e244[_0x39e490(0x296)],_0x383843[_0x39e490(0x198)](_0x26e244[_0x39e490(0x296)][_0x39e490(0x204)][_0x39e490(0x1ea)]),_0x383843[_0x39e490(0x198)](_0x26e244[_0x39e490(0x296)][_0x39e490(0x22c)][_0x39e490(0x1ea)]),_0x23557b),_0x26e244[_0x39e490(0x1d5)],_0x26e244[_0x39e490(0x1e0)],_0x26e244[_0x39e490(0x1db)]);}return _0x519191;}[_0x48f5a4(0x234)](_0x253b08){const _0x544dd9=_0x48f5a4;if(!_0x253b08[_0x544dd9(0x199)])return[];const _0x35bfa5=[];let _0x84723f=0x0,_0x54b5d2=0x0,_0x48e482=[];for(let _0x13e348=0x0;_0x13e348<=_0x253b08[_0x544dd9(0x199)];_0x13e348++){const _0x1785b7=_0x253b08[_0x13e348],_0x99e005=_0x253b08[_0x13e348-0x1];!_0x1785b7||_0x99e005&&!this[_0x544dd9(0x1b2)](_0x99e005)[_0x544dd9(0x280)](this[_0x544dd9(0x271)](_0x1785b7))?(_0x35bfa5[_0x544dd9(0x1bb)]({'operations':_0x48e482,'operationsIsolated':_0x48e482[_0x544dd9(0x1b0)](_0x4edddc=>this[_0x544dd9(0x265)](_0x4edddc[_0x544dd9(0x27c)](),-_0x54b5d2)),'groupOffset':_0x84723f}),_0x48e482=_0x1785b7?[_0x1785b7]:[],_0x54b5d2+=_0x84723f,_0x84723f=0x0):_0x48e482[_0x544dd9(0x1bb)](_0x1785b7),_0x1785b7&&_0x544dd9(0x233)===_0x1785b7[_0x544dd9(0x1a3)]&&(_0x84723f+=_0x1785b7[_0x544dd9(0x1a2)]);}return _0x35bfa5;}[_0x48f5a4(0x1fa)](_0x3ab828,_0x444d28,_0x5befac,_0x5dfb88=0x1){const _0x3771b0=_0x48f5a4,_0x2e3117=new _0x2360a7({'startPosition':_0x3ab828,'direction':_0x444d28});let _0x333597=0x0;for(let _0x412f7c=0x0;_0x412f7c<_0x5dfb88;_0x412f7c++){let _0x473947=0x0,_0x2f4ace=!0x1,_0x9447ca=_0x3771b0(0x25b)===_0x444d28?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x1b7fb4}of _0x2e3117)if(_0x1b7fb4['is'](_0x3771b0(0x213))){const _0xcf4d6e=_0x9447ca[_0x3771b0(0x26d)](_0x1b7fb4[_0x3771b0(0x1b1)]);if(_0xcf4d6e&&_0xcf4d6e[_0x3771b0(0x199)]){if(_0x473947+=_0x3771b0(0x25b)===_0x444d28?_0xcf4d6e[_0x3771b0(0x284)]+_0xcf4d6e[0x0][_0x3771b0(0x199)]:_0x1b7fb4[_0x3771b0(0x1b1)][_0x3771b0(0x199)]-_0xcf4d6e[_0x3771b0(0x284)],_0xcf4d6e[0x0][_0x3771b0(0x199)]!==_0x1b7fb4[_0x3771b0(0x1b1)][_0x3771b0(0x199)])break;_0x2f4ace=!0x0,_0x9447ca=_0x3771b0(0x25b)===_0x444d28?/^\w+/:/\w+$/;}else{if(_0x2f4ace)break;_0x473947+=_0x1b7fb4[_0x3771b0(0x276)];}}else{if(_0x1b7fb4['is'](_0x3771b0(0x21c))){_0x5befac[_0x3771b0(0x221)](_0x1b7fb4)&&!_0x2f4ace&&(_0x473947+=0x1);break;}}_0x333597+=_0x473947,_0x2e3117[_0x3771b0(0x1ba)](_0x3ab828[_0x3771b0(0x1a6)](_0x3771b0(0x25b)===_0x444d28?_0x333597:-_0x333597));}return _0x333597;}[_0x48f5a4(0x1f2)](_0xe6a88e,_0x3e835a){const _0x4cb287=_0x48f5a4,_0x484e73=_0x378b95(this[_0x4cb287(0x1e5)])[_0x4cb287(0x1e6)][_0x4cb287(0x26c)],_0x1b2353=this[_0x4cb287(0x1fa)](_0xe6a88e,_0x4cb287(0x23d),_0x484e73,0x6),_0x235aef=this[_0x4cb287(0x1fa)](_0x3e835a,_0x4cb287(0x25b),_0x484e73,0x6),_0x3b954f=_0xe6a88e[_0x4cb287(0x1a6)](-_0x1b2353),_0x278fd7=_0x3e835a[_0x4cb287(0x1a6)](_0x235aef);return{'start':_0x3b954f,'end':_0x278fd7,'hasContentBefore':!_0x3b954f[_0x4cb287(0x270)],'hasContentAfter':!_0x278fd7[_0x4cb287(0x193)]};}[_0x48f5a4(0x211)](_0x187e98){const _0x273462=_0x48f5a4,_0x20357d=this[_0x273462(0x1e5)][_0x273462(0x1be)][_0x273462(0x290)](_0x273462(0x19b)),_0x4772ca=new Set();_0x378b95(this[_0x273462(0x1e5)])[_0x273462(0x1e6)][_0x273462(0x1f4)](_0x44e54e=>{const _0x26dec0=_0x273462;for(const _0xcd48e3 of _0x187e98){const _0x4ed281=''+fe+_0xcd48e3[_0x26dec0(0x1a3)]+':'+_0xcd48e3[_0x26dec0(0x292)]+'_'+_0x20357d[_0x26dec0(0x1c3)](_0x4772ca);this[_0x26dec0(0x1d5)][_0x26dec0(0x282)](_0x4ed281,{'id':_0x4ed281,'groupId':_0xcd48e3[_0x26dec0(0x292)],'type':_0xcd48e3[_0x26dec0(0x1a3)],'content':_0xcd48e3[_0x26dec0(0x27a)]}),_0x44e54e[_0x26dec0(0x231)](_0x4ed281,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x44e54e[_0x26dec0(0x226)](_0xcd48e3[_0x26dec0(0x204)],_0xcd48e3[_0x26dec0(0x22c)])});}});}[_0x48f5a4(0x192)](_0x182fc0,_0x14b9f8,_0x3e5834){let _0x42698f='';return()=>{const _0x56c508=_0x5d21;if(!_0x42698f){const _0x4451c0=_0x14b9f8[_0x56c508(0x21b)](_0x182fc0,{'showSuggestionHighlights':!0x0});let _0xb716b6=_0x4451c0[_0x56c508(0x264)](0x0);if(_0xb716b6['is'](_0x56c508(0x259))||(_0xb716b6=_0x4451c0),!_0xb716b6)return'';let _0x409e61=!0x1;const _0x22a9be=[];for(const _0x718ef3 of _0xb716b6[_0x56c508(0x21d)]())_0x718ef3['is'](_0x56c508(0x21c),_0x56c508(0x19e))&&_0x718ef3[_0x56c508(0x1ed)](_0x56c508(0x210))&&(_0x409e61=!0x1),_0x409e61&&_0x22a9be[_0x56c508(0x1bb)](_0x718ef3),_0x718ef3['is'](_0x56c508(0x21c),_0x56c508(0x19e))&&_0x718ef3[_0x56c508(0x1ed)](_0x56c508(0x217))&&(_0x409e61=!0x0);_0xb716b6[_0x56c508(0x1c7)](0x0,_0xb716b6[_0x56c508(0x289)]),_0x3e5834?.[_0x56c508(0x21e)]&&_0xb716b6[_0x56c508(0x1d7)]('…'),_0xb716b6[_0x56c508(0x1d7)](_0x22a9be),_0x3e5834?.[_0x56c508(0x28c)]&&_0xb716b6[_0x56c508(0x1d7)]('…');const _0x391b73=_0x14b9f8[_0x56c508(0x246)][_0x56c508(0x261)][_0x56c508(0x1ca)](_0x4451c0),_0x3cdf62=_0x14b9f8[_0x56c508(0x246)][_0x56c508(0x25a)][_0x56c508(0x241)](_0x391b73);_0x42698f=_0x3cdf62;}return _0x42698f;};}[_0x48f5a4(0x26b)](_0x300692,_0x2f8749){const _0x2ca389=_0x48f5a4;let _0x3b96cf='';return()=>(_0x3b96cf||(_0x3b96cf=_0x2f8749[_0x2ca389(0x1f7)](_0x300692,{'showSuggestionHighlights':!0x0})),_0x3b96cf);}[_0x48f5a4(0x23b)](_0x21d495,_0x28b39b,_0x30f34a){let _0x75405b='';return()=>{const _0xf28019=_0x5d21;if(!_0x75405b){const _0x4cb8fa=_0x30f34a[_0xf28019(0x21b)](new _0x5f42e4(_0x21d495)),_0x35c3ce=_0x30f34a[_0xf28019(0x246)][_0xf28019(0x261)][_0xf28019(0x1ca)](_0x4cb8fa)[_0xf28019(0x277)](_0xf28019(0x1fe)+_0x28b39b+'\x22]');_0x75405b=_0x35c3ce?.[_0xf28019(0x236)]||'';}return _0x75405b;};}[_0x48f5a4(0x207)](_0x64451f,_0x2a7b94=0x5){const _0x1c2109=_0x48f5a4;let _0x39fe19=_0x64451f,_0x4cb3ee=null;for(let _0x5a9066=0x0;_0x5a9066<_0x2a7b94&&_0x39fe19;_0x5a9066++){if(!_0x39fe19[_0x1c2109(0x24f)]){_0x39fe19=_0x39fe19[_0x1c2109(0x1b6)];continue;}if(!(''+_0x39fe19[_0x1c2109(0x24f)])[_0x1c2109(0x1e8)](_0x1c2109(0x1ac))){_0x39fe19=_0x39fe19[_0x1c2109(0x1b6)];continue;}if(!_0x39fe19[_0x1c2109(0x24c)](_0x1c2109(0x28e)))break;_0x4cb3ee=_0x39fe19;break;}return _0x4cb3ee;}[_0x48f5a4(0x1d8)](_0x138c00){const _0x522904=_0x48f5a4,_0x48e5d3=_0x378b95(this[_0x522904(0x1e5)]),_0x1e1f0c=_0x48e5d3[_0x522904(0x1e6)][_0x522904(0x20a)][_0x522904(0x290)](_0x138c00);return _0x1e1f0c?_0x17847a(_0x48e5d3[_0x522904(0x29c)],_0x1e1f0c):null;}[_0x48f5a4(0x25c)](_0x3049b1){const _0x50e5f1=_0x48f5a4;return Array[_0x50e5f1(0x206)](this[_0x50e5f1(0x1d5)][_0x50e5f1(0x19f)]())[_0x50e5f1(0x26e)](_0x48df81=>_0x48df81[_0x50e5f1(0x292)]===_0x3049b1);}[_0x48f5a4(0x271)](_0x2e4a9f){const _0x5c33b3=_0x48f5a4;return _0x5c33b3(0x233)===_0x2e4a9f[_0x5c33b3(0x1a3)]?_0x2e4a9f[_0x5c33b3(0x256)]:_0x2e4a9f[_0x5c33b3(0x296)][_0x5c33b3(0x204)];}[_0x48f5a4(0x1b2)](_0x2622c4,_0x30991b=!0x1){const _0xaf9a03=_0x48f5a4;return _0xaf9a03(0x233)===_0x2622c4[_0xaf9a03(0x1a3)]?_0x30991b?_0x2622c4[_0xaf9a03(0x256)]:_0x2622c4[_0xaf9a03(0x256)][_0xaf9a03(0x1a6)](_0x2622c4[_0xaf9a03(0x1a2)]):_0x2622c4[_0xaf9a03(0x296)][_0xaf9a03(0x22c)];}[_0x48f5a4(0x265)](_0x7e01d,_0x20dacb){const _0x4691f7=_0x48f5a4;return _0x4691f7(0x233)===_0x7e01d[_0x4691f7(0x1a3)]?_0x7e01d[_0x4691f7(0x256)]=_0x7e01d[_0x4691f7(0x256)][_0x4691f7(0x1a6)](_0x20dacb):_0x4691f7(0x294)===_0x7e01d[_0x4691f7(0x1a3)]&&_0x7e01d[_0x4691f7(0x296)]&&(_0x7e01d[_0x4691f7(0x296)]=new _0x1ca6ca(_0x7e01d[_0x4691f7(0x296)][_0x4691f7(0x204)][_0x4691f7(0x1a6)](_0x20dacb),_0x7e01d[_0x4691f7(0x296)][_0x4691f7(0x22c)][_0x4691f7(0x1a6)](_0x20dacb))),_0x7e01d;}[_0x48f5a4(0x1bd)](_0x38c5d6,_0x1604e3){const _0x52f8c9=_0x48f5a4;_0x52f8c9(0x233)===_0x38c5d6[_0x52f8c9(0x1a3)]?_0x38c5d6[_0x52f8c9(0x256)]=this[_0x52f8c9(0x1c6)](_0x38c5d6[_0x52f8c9(0x256)],_0x1604e3):_0x52f8c9(0x294)===_0x38c5d6[_0x52f8c9(0x1a3)]&&_0x38c5d6[_0x52f8c9(0x296)]&&(_0x38c5d6[_0x52f8c9(0x296)]=this[_0x52f8c9(0x212)](_0x38c5d6[_0x52f8c9(0x296)],_0x1604e3));}[_0x48f5a4(0x1c6)](_0x263754,_0x2acf28){const _0x5c5409=_0x48f5a4;return new _0x4cc03f(_0x2acf28,_0x263754[_0x5c5409(0x260)]);}[_0x48f5a4(0x212)](_0x5191e9,_0x1a80f7){const _0x3395b8=_0x48f5a4;return new _0x1ca6ca(this[_0x3395b8(0x1c6)](_0x5191e9[_0x3395b8(0x204)],_0x1a80f7),this[_0x3395b8(0x1c6)](_0x5191e9[_0x3395b8(0x22c)],_0x1a80f7));}[_0x48f5a4(0x239)](_0x1ec807,_0x5670af){return new _0x4cc03f(_0x5670af,[..._0x1ec807]);}[_0x48f5a4(0x1aa)](_0x2dfd18,_0x4536e3,_0x43003a,_0x3ea7c1){const _0x3c0c14=_0x48f5a4;return new _0x1ca6ca(this[_0x3c0c14(0x239)](_0x4536e3,_0x3ea7c1),this[_0x3c0c14(0x239)](_0x43003a,_0x3ea7c1));}[_0x48f5a4(0x278)](_0x427ba4){const _0x2d730b=_0x48f5a4,_0x38c616=_0x267eb3=>{const _0x2e2c8b=_0x5d21;switch(_0x267eb3){case _0x2e2c8b(0x233):return 0x0;case _0x2e2c8b(0x195):return 0x1;case _0x2e2c8b(0x251):return 0x2;case _0x2e2c8b(0x1d9):return 0x3;}};return _0x427ba4[_0x2d730b(0x274)]((_0x534c50,_0x78cfc0)=>_0x38c616(_0x534c50[_0x2d730b(0x1a3)])-_0x38c616(_0x78cfc0[_0x2d730b(0x1a3)]));}[_0x48f5a4(0x235)](_0x501a5d,_0x1464f1){const _0x3cc1e8=_0x48f5a4,_0x75453b=_0x501a5d[_0x3cc1e8(0x264)](0x0),_0x1ff8ac=_0x1464f1[_0x3cc1e8(0x264)](0x0);return!(!_0x75453b||!_0x1ff8ac)&&((!_0x75453b['is'](_0x3cc1e8(0x21c))||!_0x1ff8ac['is'](_0x3cc1e8(0x21c))||_0x75453b[_0x3cc1e8(0x281)]===_0x1ff8ac[_0x3cc1e8(0x281)])&&!(_0x75453b['is'](_0x3cc1e8(0x21c))&&!_0x1ff8ac['is'](_0x3cc1e8(0x21c))||!_0x75453b['is'](_0x3cc1e8(0x21c))&&_0x1ff8ac['is'](_0x3cc1e8(0x21c))));}[_0x48f5a4(0x1cf)](_0x2219c2){const _0x35e296=_0x48f5a4;return 0x1===_0x2219c2[_0x35e296(0x289)];}[_0x48f5a4(0x1b3)](_0x26d45a,_0x1483a2){const _0x44af8b=_0x48f5a4;for(const _0x2d89f6 of _0x26d45a[_0x44af8b(0x21d)]())if(_0x2d89f6['is'](_0x44af8b(0x21c))&&!_0x1483a2[_0x44af8b(0x221)](_0x2d89f6))return!0x1;return!0x0;}[_0x48f5a4(0x1c1)](_0xf77067,_0xaa552e){const _0x48b107=_0x48f5a4;let _0x3813f7=_0xf77067[_0x48b107(0x24c)](_0x54ffbe);return _0x3813f7||(_0x3813f7=_0xaa552e(),_0xf77067[_0x48b107(0x229)](_0x54ffbe,_0x3813f7)),_0x3813f7;}}
|
|
23
|
+
const _0x53d7b2=_0x4119;(function(_0x5a62a8,_0xefd6c3){const _0x20f523=_0x4119,_0x104a82=_0x5a62a8();while(!![]){try{const _0x3f690b=parseInt(_0x20f523(0x16e))/0x1*(parseInt(_0x20f523(0x17f))/0x2)+parseInt(_0x20f523(0x115))/0x3*(-parseInt(_0x20f523(0x150))/0x4)+parseInt(_0x20f523(0x19d))/0x5+-parseInt(_0x20f523(0x15b))/0x6*(-parseInt(_0x20f523(0x103))/0x7)+parseInt(_0x20f523(0xcb))/0x8*(parseInt(_0x20f523(0xee))/0x9)+-parseInt(_0x20f523(0x19c))/0xa+-parseInt(_0x20f523(0x19e))/0xb;if(_0x3f690b===_0xefd6c3)break;else _0x104a82['push'](_0x104a82['shift']());}catch(_0x4f1543){_0x104a82['push'](_0x104a82['shift']());}}}(_0x46cf,0xd7f70));import{InsertOperation as _0x90cb5c,MarkerOperation as _0x369666,ModelDocumentFragment as _0xbf939,ModelPosition as _0x9c1191,ModelRange as _0x3a73c2,ModelTreeWalker as _0x5ccc09,transformOperationSets as _0x3a453d}from'ckeditor5/src/engine.js';function _0x4119(_0x3ec7e0,_0x28e8ea){const _0x46cf59=_0x46cf();return _0x4119=function(_0x41194c,_0x43cbcb){_0x41194c=_0x41194c-0xa1;let _0x1fd3cc=_0x46cf59[_0x41194c];return _0x1fd3cc;},_0x4119(_0x3ec7e0,_0x28e8ea);}import{DomEmitterMixin as _0x14ce52,EmitterMixin as _0xcae8a5,uid as _0x1d9c3e}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x4890e6}from'ckeditor5/src/core.js';import{DocumentCompare as _0x3b1d7e,DATA_ID_MODEL_ATTRIBUTE as _0x4efb12,DATA_ID_VIEW_ATTRIBUTE as _0x4cfc06,getMarkerDomElement as _0x585855}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x1c8702}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x5d8ef0}from'../aicore/aiediting.js';import{debounce as _0x54c9c3}from'es-toolkit/compat';const fe=_0x53d7b2(0xc5);function _0x46cf(){const _0x16c720=['set','_getPositionLimitingRange','disableReadOnlyMode','_changeRangeOwnerDocument','582387GtTsvs','clone','getRoot','ellipsisAfter','toView','_eventEmitter','data-marker-id','getDocumentData','_nextDataId','AIEditing','toDomElement','getChangedMarkers','ck-ai_review-marker_underline','operationsA','document','mouseover','_changePositionOwnerDocument','offsetSize','createUIElement','getStart','hasAttribute','_changeRange','_markers','schema','editingDowncast','dataDowncast','getContentElementForChange','isInline','keys','differ','getRange','position','applyOperation','isAtStart','ck-ai_review-marker_context-end','context','createSelection','groupId','\x20ck-ai_review__change_active','sort','hasContentAfter','hasContentBefore','rootName','$root','createRangeOn','reactivateMarkers','changeMarkerClicked','_changeOperationOwnerDocument','createPositionAt','_findAdjacentContextDistance','addMarker','_clone','_getChangeContext','root','rejectChange','_getMarkersDataForGroup','concat','ai-review','content','16jqbnBA','name','history','split','ck-ai_review-marker_context-start','nodes','.ck-reset.ck-ai_review-balloon-panel-suggestion','_removeAttribute','$textProxy','No\x20element\x20found\x20for\x20ID:\x20','toData','1014xvWLRP','data','$graveyard','start','startsWith','_changePosition','createRawElement','filter','isOpening','markerToElement','_getOperationStart','_findMarkerElement','span','ellipsisBefore','operations','domConverter','getMarkerElementForChange','has','every','4209vlpuEp','size','documentFragment','inside','[data-id=\x22','changeMarkerRestored','_handleMarkerChanges','diffContent','_appendChild','asFragment','getShiftedBy','markers','htmlWriter','end','change','getOperations','closest','800dnfHSA','removeMarker','length','$markedRemove','afterInit','batch','remove-only','deleteContent','_createGetContextFn','addOperation','_groupAdjacentOperations','isDocumentOperation','delete','processor','_createGetContentFn','$markedRemove:synthetic','insert','getRoots','_upsertDataId','createDocumentFragment','affectsData','stringify','fire','isIntersecting','relatedTarget','AIReviewCoreEditing','getChanges','offset','join','6775860UqrgEn','1733825ARGUcH','23958341jsnKoY','childCount','asString','getPath','_createGetContentUsingDataIdFn','downcast','attributeToAttribute','from','elements','suggestion:insertion:id:authorId:','editing','_getOperationEnd','remove-text','changeMarkerRemoved','createPositionAfter','ck-ai_review-marker_hide','outerHTML','_setAttribute','jumpTo','suggestion:deletion:id:authorId:','_validateMarkers','_translateOperationToEditorContent','clearAllMarkers','markerToHighlight','emitter','viewToDom','className','for','DocumentCompare','querySelector','type','requires','enableReadOnlyMode','marker','mouseup','innerHTML','createRangeIn','switchToEdit','hasClass','howMany','values','newRange','add','getAttribute','append','parse','pop','version','markerName','setMarkersInElementAsActive','applyChange','getEditor','htmlProcessor','remove-context','review-','markChangePositionInEditorContent','isAtEnd','includes','_parseMarkerName','oldRange','616ZfyggI','path','parent','ck-ai_review-marker_context-','getDomRoot','containerElement','_hasSameTopLevelElement','changeMarkerHovered','get','flat','_removeChildren','setAllMarkersAsInactive','outside','_shiftOperation','baseVersion','getDiff','_insertMarkers','isTouching','ck-ai_review__change_active','view','createRange','pluginName','forEach','isPremiumPlugin','getChildren','switchToReadOnly','_findMarkerElementById','_domEmitter','_haveOnlyInlineContent','reconvertMarker','parentElement','map','ck-ai_review-marker_strikethrough','index','$documentFragment','100449QIVvBD','ck-ai_review-marker_add','_haveSingleTopLevelElement','remove','getHtml','highest','operationsIsolated','insertContent','isLimit','exec','backward','model','warn','containsRange','body','changeMarkerBlurred','getChild','conversion','[data-marker-id=\x22','forward','_sortMarkers','67389dbhsgD','isOfficialPlugin','clear','_activeMarkers','ck-ai_review-marker_','isBlock','registerPostFixer','target','getEditableElement','listenTo','element','suggestion-context','push','plugins'];_0x46cf=function(){return _0x16c720;};return _0x46cf();}export class AIReviewCoreEditing extends _0x4890e6{static get[_0x53d7b2(0xae)](){return[_0x3b1d7e,_0x5d8ef0];}static get[_0x53d7b2(0xe0)](){const _0x145110=_0x53d7b2;return _0x145110(0x198);}static get[_0x53d7b2(0x104)](){return!0x0;}static get[_0x53d7b2(0xe2)](){return!0x0;}[_0x53d7b2(0x12b)]=new Map();[_0x53d7b2(0x106)]=new Set();[_0x53d7b2(0xe6)];[_0x53d7b2(0x11a)];constructor(_0x15afcf){const _0x3ae5ae=_0x53d7b2;super(_0x15afcf),this[_0x3ae5ae(0xe6)]=new(_0x14ce52())(),this[_0x3ae5ae(0x11a)]=new(_0xcae8a5())();}get[_0x53d7b2(0xa7)](){const _0x37adf5=_0x53d7b2;return this[_0x37adf5(0x11a)];}[_0x53d7b2(0x183)](){const _0x5a43fd=_0x53d7b2,_0x3c85f0=_0x1c8702(this[_0x5a43fd(0x138)]);_0x3c85f0[_0x5a43fd(0xff)][_0x5a43fd(0xaa)](_0x5a43fd(0x12d))[_0x5a43fd(0x164)]({'model':fe+_0x5a43fd(0x18f),'view':(_0x542b9b,{writer:_0x155a2d})=>{const _0x3b3aba=_0x5a43fd,_0x20b68b=this[_0x3b3aba(0x12b)][_0x3b3aba(0xd3)](_0x542b9b[_0x3b3aba(0xbf)]),_0x5d53fd={'class':_0x3b3aba(0xef)+(this[_0x3b3aba(0x106)][_0x3b3aba(0x16c)](_0x20b68b?.['id']||'')?_0x3b3aba(0x13b):''),'data-marker-id':_0x542b9b[_0x3b3aba(0xbf)]};return _0x155a2d[_0x3b3aba(0x127)](_0x3b3aba(0x167),_0x5d53fd,function(_0x1fb3fa){const _0xe4befc=_0x3b3aba,_0x81726b=this[_0xe4befc(0x11f)](_0x1fb3fa);return _0x81726b[_0xe4befc(0xb2)]=_0x20b68b?.[_0xe4befc(0x14f)]?.[_0xe4befc(0x1a0)]||'',_0x81726b;});}}),_0x3c85f0[_0x5a43fd(0xff)][_0x5a43fd(0xaa)](_0x5a43fd(0x12d))[_0x5a43fd(0xa6)]({'model':fe+_0x5a43fd(0x185),'view':_0x4f8ec8=>{const _0x13779a=_0x5a43fd,_0x401144=this[_0x13779a(0x12b)][_0x13779a(0xd3)](_0x4f8ec8[_0x13779a(0xbf)]),_0x2d6828=[_0x13779a(0xeb)];return this[_0x13779a(0x106)][_0x13779a(0x16c)](_0x401144?.['id']||'')&&_0x2d6828[_0x13779a(0x10f)](_0x13779a(0xdd)),{'classes':_0x2d6828,'attributes':{'data-marker-id':_0x4f8ec8[_0x13779a(0xbf)]}};}}),_0x3c85f0[_0x5a43fd(0xff)][_0x5a43fd(0xaa)](_0x5a43fd(0x12d))[_0x5a43fd(0xa6)]({'model':fe+_0x5a43fd(0xc4),'view':_0x523ff2=>{const _0x4aab8b=_0x5a43fd,_0x3b9cb9=this[_0x4aab8b(0x12b)][_0x4aab8b(0xd3)](_0x523ff2[_0x4aab8b(0xbf)]),_0x525597=[_0x4aab8b(0x121)];return this[_0x4aab8b(0x106)][_0x4aab8b(0x16c)](_0x3b9cb9?.['id']||'')&&_0x525597[_0x4aab8b(0x10f)](_0x4aab8b(0xdd)),{'classes':_0x525597,'attributes':{'data-marker-id':_0x523ff2[_0x4aab8b(0xbf)]}};}}),_0x3c85f0[_0x5a43fd(0xff)][_0x5a43fd(0xaa)](_0x5a43fd(0x12d))[_0x5a43fd(0xa6)]({'model':fe+_0x5a43fd(0x1aa),'view':_0x3f4e91=>{const _0x3d99ef=_0x5a43fd,_0x3b869c=this[_0x3d99ef(0x12b)][_0x3d99ef(0xd3)](_0x3f4e91[_0x3d99ef(0xbf)]),_0x2db2e2=[_0x3d99ef(0x1ad)];return this[_0x3d99ef(0x106)][_0x3d99ef(0x16c)](_0x3b869c?.['id']||'')&&_0x2db2e2[_0x3d99ef(0x10f)](_0x3d99ef(0xdd)),{'classes':_0x2db2e2,'attributes':{'data-marker-id':_0x3f4e91[_0x3d99ef(0xbf)]}};}}),_0x3c85f0[_0x5a43fd(0xff)][_0x5a43fd(0xaa)](_0x5a43fd(0x12e))[_0x5a43fd(0x164)]({'model':fe+_0x5a43fd(0x10e),'view':(_0x26ede8,{writer:_0x682547})=>_0x682547[_0x5a43fd(0x161)](_0x5a43fd(0x167),{'class':_0x5a43fd(0xce)+(_0x26ede8[_0x5a43fd(0x163)]?_0x5a43fd(0x15e):_0x5a43fd(0x17b))})}),_0x3c85f0[_0x5a43fd(0xff)][_0x5a43fd(0xaa)](_0x5a43fd(0x1a3))[_0x5a43fd(0x1a4)]({'model':_0x4efb12,'view':_0x4cfc06});const _0x628feb=_0x3c85f0['ui'][_0x5a43fd(0x10b)]()||document[_0x5a43fd(0xfc)];this[_0x5a43fd(0xe6)][_0x5a43fd(0x10c)](_0x628feb,_0x5a43fd(0xb1),(_0x3f334a,_0x107b93)=>{const _0x48455a=_0x5a43fd,_0x2e0f15=_0x107b93[_0x48455a(0x10a)],_0x15e531=this[_0x48455a(0x166)](_0x2e0f15);if(!_0x15e531)return;const _0x2ef2d8=_0x15e531[_0x48455a(0xba)](_0x48455a(0x11b)),_0x53e89d=_0x2ef2d8[_0x48455a(0x153)](':')[_0x48455a(0xbd)]()?.[_0x48455a(0x153)]('_')[0x0];this[_0x48455a(0x11a)][_0x48455a(0x195)](_0x48455a(0x143),{'markerId':_0x2ef2d8,'changeId':_0x53e89d,'markerElement':()=>this[_0x48455a(0xe5)](_0x2ef2d8),'domEvent':_0x107b93});},{'usePassive':!0x0,'priority':_0x5a43fd(0xf3)}),this[_0x5a43fd(0xe6)][_0x5a43fd(0x10c)](_0x628feb,_0x5a43fd(0x124),(_0x43582d,_0x444641)=>{const _0x496747=_0x5a43fd,_0xa675f6=_0x444641[_0x496747(0x10a)],_0x297fbd=_0x444641[_0x496747(0x197)];let _0x547735=this[_0x496747(0x166)](_0xa675f6);if(!_0x547735&&_0x297fbd&&(_0x547735=this[_0x496747(0x166)](_0x297fbd)),!_0x547735)return;const _0x2e55bb=_0x547735[_0x496747(0xba)](_0x496747(0x11b)),_0x1685bc=_0x2e55bb[_0x496747(0x153)](':')[_0x496747(0xbd)]()?.[_0x496747(0x153)]('_')[0x0];this[_0x496747(0x11a)][_0x496747(0x195)](_0x496747(0xd2),{'changeId':_0x1685bc,'markerElement':()=>this[_0x496747(0xe5)](_0x2e55bb),'domEvent':_0x444641});}),this[_0x5a43fd(0xe6)][_0x5a43fd(0x10c)](document,_0x5a43fd(0x124),_0x54c9c3((_0x4d8bd4,_0x36a7b6)=>{const _0x20a7f0=_0x5a43fd,_0x29ad05=_0x36a7b6[_0x20a7f0(0x10a)];if(this[_0x20a7f0(0x166)](_0x29ad05))return;_0x29ad05[_0x20a7f0(0x17e)](_0x20a7f0(0x156))||this[_0x20a7f0(0x11a)][_0x20a7f0(0x195)](_0x20a7f0(0xfd));},0xc8)),_0x3c85f0[_0x5a43fd(0xf9)][_0x5a43fd(0x123)][_0x5a43fd(0x109)](_0x77ca76=>this[_0x5a43fd(0xa3)](_0x3c85f0,_0x77ca76)),_0x3c85f0[_0x5a43fd(0xf9)][_0x5a43fd(0x123)]['on'](_0x5a43fd(0x17c),()=>this[_0x5a43fd(0x174)](_0x3c85f0));}[_0x53d7b2(0x11c)](){const _0x4a39fa=_0x53d7b2,_0x40e23e=this[_0x4a39fa(0x138)][_0x4a39fa(0x110)][_0x4a39fa(0xd3)](_0x4a39fa(0x11e)),_0x269be2=_0x1c8702(this[_0x4a39fa(0x138)]),_0x5b3d11=_0x269be2[_0x4a39fa(0xf9)],_0x595865=new _0xbf939();for(const _0x5df126 of _0x5b3d11[_0x4a39fa(0x123)][_0x4a39fa(0x117)]()[_0x4a39fa(0xe3)]()){const _0x32cfaa=_0x5df126[_0x4a39fa(0x148)](!0x0);_0x595865[_0x4a39fa(0x176)](_0x32cfaa);}for(const _0x30641d of _0x5b3d11[_0x4a39fa(0x179)])_0x595865[_0x4a39fa(0x179)][_0x4a39fa(0x111)](_0x30641d[_0x4a39fa(0x151)],this[_0x4a39fa(0x114)](_0x30641d[_0x4a39fa(0x133)]()[_0x4a39fa(0x116)](),_0x595865));const _0xf58825=new _0x5ccc09({'ignoreElementEnd':!0x0,'startPosition':_0x5b3d11[_0x4a39fa(0x145)](_0x595865,0x0)}),_0x1df398=new Set(),_0x28f539=new Map();for(const {item:_0x2ccafc}of _0xf58825){if(!_0x2ccafc['is'](_0x4a39fa(0x158)))continue;const _0xb46405=_0x2ccafc[_0x4a39fa(0xcd)];if(_0xb46405&&_0xb46405['is'](_0x4a39fa(0x10d))){const _0xc32479=this[_0x4a39fa(0x191)](_0xb46405,()=>_0x40e23e[_0x4a39fa(0x11d)](_0x1df398));_0x1df398[_0x4a39fa(0xb9)](_0xc32479);for(const _0x314494 of _0xb46405[_0x4a39fa(0xe3)]())_0x314494['is'](_0x4a39fa(0x10d))&&_0x1df398[_0x4a39fa(0xb9)](this[_0x4a39fa(0x191)](_0x314494,()=>_0x40e23e[_0x4a39fa(0x11d)](_0x1df398)));let _0x291e2f=_0xb46405;for(;_0x291e2f[_0x4a39fa(0xcd)]&&!_0x291e2f[_0x4a39fa(0xcd)]['is'](_0x4a39fa(0x170));)_0x291e2f=_0x291e2f[_0x4a39fa(0xcd)],_0x291e2f[_0x4a39fa(0x129)](_0x4efb12)&&_0x291e2f[_0x4a39fa(0x157)](_0x4efb12);_0x28f539[_0x4a39fa(0x111)](_0xc32479,{'path':_0xb46405[_0x4a39fa(0x1a1)](),'getContent':this[_0x4a39fa(0x1a2)](_0x291e2f[_0x4a39fa(0x148)](!0x0),_0xc32479,_0x269be2[_0x4a39fa(0x15c)])}),_0xf58825[_0x4a39fa(0xa1)](_0x5b3d11[_0x4a39fa(0x1ac)](_0xb46405));}}return{'content':_0x269be2[_0x4a39fa(0x15c)][_0x4a39fa(0x18c)][_0x4a39fa(0x15a)](_0x269be2[_0x4a39fa(0x15c)][_0x4a39fa(0x119)](_0x595865)),'version':_0x269be2[_0x4a39fa(0xf9)][_0x4a39fa(0x123)][_0x4a39fa(0xbe)],'elements':_0x28f539};}[_0x53d7b2(0x175)](_0x207c65,_0x3ccbc8,_0xda4a0b=!0x1){const _0x2e05a3=_0x53d7b2,_0xc44e0c=[],_0x4f5a1a=_0x1c8702(this[_0x2e05a3(0x138)]),_0x689109=_0x4f5a1a[_0x2e05a3(0x15c)][_0x2e05a3(0xbc)](_0x3ccbc8,_0x2e05a3(0xed)),_0x16e883=_0x4f5a1a[_0x2e05a3(0x15c)][_0x2e05a3(0xbc)](_0x207c65,_0x2e05a3(0xed)),_0x14b83a=_0x4f5a1a[_0x2e05a3(0xf9)][_0x2e05a3(0x145)](_0x16e883,0x0);if(this[_0x2e05a3(0xf0)](_0x689109)){if(!this[_0x2e05a3(0xd1)](_0x16e883,_0x689109))return _0xc44e0c;}else{const _0x216d48=_0x4f5a1a[_0x2e05a3(0xf9)][_0x2e05a3(0x12c)];if(!this[_0x2e05a3(0xe7)](_0x16e883,_0x216d48)||!this[_0x2e05a3(0xe7)](_0x689109,_0x216d48))return _0xc44e0c;}const _0x405cee=this[_0x2e05a3(0x138)][_0x2e05a3(0x110)][_0x2e05a3(0xd3)](_0x2e05a3(0xab))[_0x2e05a3(0xda)](_0x207c65,_0x3ccbc8,{'anchor':_0x14b83a,'markDeletions':!0x0})[_0x2e05a3(0x17d)]()[_0x2e05a3(0x162)](_0xe2b695=>_0x2e05a3(0x18f)===_0xe2b695[_0x2e05a3(0xad)]||_0x2e05a3(0xb0)===_0xe2b695[_0x2e05a3(0xad)]&&_0xe2b695[_0x2e05a3(0x151)][_0x2e05a3(0x15f)](_0x2e05a3(0x182))),_0x5d3db8=this[_0x2e05a3(0x189)](_0x405cee),_0x3eea1d=[];if(_0xda4a0b){if(_0x5d3db8[_0x2e05a3(0x181)]){const _0xc93eae=_0x5d3db8[0x0][_0x2e05a3(0x169)][0x0],_0x4f6aa5=_0x2e05a3(0x18f)===_0xc93eae[_0x2e05a3(0xad)]?_0xc93eae[_0x2e05a3(0x134)]:_0xc93eae[_0x2e05a3(0xb8)][_0x2e05a3(0x15e)],_0x28fa7d=this[_0x2e05a3(0x112)](_0x4f6aa5,_0x4f5a1a,_0x2e05a3(0x171)),_0x4805ba=_0x28fa7d?_0x689109[_0x2e05a3(0xfe)](0x0)[_0x2e05a3(0xe3)]():_0x689109[_0x2e05a3(0xe3)](),_0x42001e=_0x28fa7d||_0x4f5a1a[_0x2e05a3(0xf9)][_0x2e05a3(0xb3)](_0x16e883),_0x3c4bc3=[new _0x369666(_0x2e05a3(0x18e)+_0x1d9c3e(),null,_0x42001e,_0x4f5a1a[_0x2e05a3(0xf9)][_0x2e05a3(0x123)][_0x2e05a3(0xf9)][_0x2e05a3(0x179)],!0x0,_0x4f5a1a[_0x2e05a3(0xf9)][_0x2e05a3(0x123)][_0x2e05a3(0xbe)]+0x1),new _0x90cb5c(_0x42001e[_0x2e05a3(0x17b)],_0x4805ba,_0x4f5a1a[_0x2e05a3(0xf9)][_0x2e05a3(0x123)][_0x2e05a3(0xbe)]+0x2)];_0x3eea1d[_0x2e05a3(0x10f)]({'operations':_0x3c4bc3,'operationsIsolated':_0x3c4bc3,'groupOffset':0x0});}}else _0x3eea1d[_0x2e05a3(0x10f)](..._0x5d3db8);let _0x5b2d0c=0x0;return _0x4f5a1a[_0x2e05a3(0xf9)][_0x2e05a3(0x17c)](_0x14a450=>{const _0x1fdde5=_0x2e05a3;for(let _0xcc24a8=0x0;_0xcc24a8<_0x3eea1d[_0x1fdde5(0x181)];_0xcc24a8++){const _0x16246f=_0x3eea1d[_0xcc24a8],_0x48a15=_0x14a450[_0x1fdde5(0x192)]();for(const _0x4c76d6 of _0x16e883[_0x1fdde5(0xe3)]())_0x14a450[_0x1fdde5(0xbb)](_0x4c76d6[_0x1fdde5(0x148)](!0x0),_0x48a15);for(const _0x522d8e of _0x16246f[_0x1fdde5(0xf4)])if(_0x1fdde5(0x18f)===_0x522d8e[_0x1fdde5(0xad)]){const _0x1b69b1=_0x522d8e;_0x1b69b1[_0x1fdde5(0xd9)]=null,_0x1b69b1[_0x1fdde5(0x18a)]=!0x1,this[_0x1fdde5(0x144)](_0x1b69b1,_0x48a15),_0x14a450[_0x1fdde5(0x184)][_0x1fdde5(0x188)](_0x522d8e),_0x4f5a1a[_0x1fdde5(0xf9)][_0x1fdde5(0x135)](_0x522d8e);const _0x11408d=_0x1fdde5(0x1a7)+_0x5b2d0c++,_0x375f80=_0x4f5a1a[_0x1fdde5(0xf9)][_0x1fdde5(0xdf)](_0x1b69b1[_0x1fdde5(0x134)],_0x1b69b1[_0x1fdde5(0x134)][_0x1fdde5(0x178)](_0x1b69b1[_0x1fdde5(0xb6)]));_0x48a15[_0x1fdde5(0x179)][_0x1fdde5(0x111)](_0x11408d,_0x375f80);}else{if(_0x1fdde5(0xb0)===_0x522d8e[_0x1fdde5(0xad)]&&_0x522d8e[_0x1fdde5(0x151)][_0x1fdde5(0x15f)](_0x1fdde5(0x182))){const _0x2ebed4=_0x522d8e,_0x48ec38=_0x1fdde5(0xa2)+_0x5b2d0c++;this[_0x1fdde5(0x144)](_0x2ebed4,_0x48a15),_0x48a15[_0x1fdde5(0x179)][_0x1fdde5(0x111)](_0x48ec38,_0x2ebed4[_0x1fdde5(0xb8)]);}}if(_0xda4a0b)_0xc44e0c[_0x1fdde5(0x10f)]({..._0x16246f,'context':this[_0x1fdde5(0x18d)](_0x16e883,_0x4f5a1a[_0x1fdde5(0x15c)]),'content':this[_0x1fdde5(0x18d)](_0x16e883,_0x4f5a1a[_0x1fdde5(0x15c)])});else{const _0xed5c6e=this[_0x1fdde5(0x149)](this[_0x1fdde5(0x125)](this[_0x1fdde5(0x165)](_0x16246f[_0x1fdde5(0xf4)][0x0]),_0x48a15),this[_0x1fdde5(0x125)](this[_0x1fdde5(0x1a9)](_0x16246f[_0x1fdde5(0xf4)][_0x16246f[_0x1fdde5(0xf4)][_0x1fdde5(0x181)]-0x1]),_0x48a15));_0x48a15[_0x1fdde5(0x179)][_0x1fdde5(0x111)](fe+_0x1fdde5(0x10e),new _0x3a73c2(_0xed5c6e[_0x1fdde5(0x15e)],_0xed5c6e[_0x1fdde5(0x17b)])),_0xc44e0c[_0x1fdde5(0x10f)]({..._0x16246f,'context':this[_0x1fdde5(0x187)](_0x48a15,_0x4f5a1a[_0x1fdde5(0x15c)],{'ellipsisBefore':_0xed5c6e[_0x1fdde5(0x13e)],'ellipsisAfter':_0xed5c6e[_0x1fdde5(0x13d)]}),'content':this[_0x1fdde5(0x18d)](_0x48a15,_0x4f5a1a[_0x1fdde5(0x15c)])});}}}),_0xc44e0c;}[_0x53d7b2(0xc6)](_0x2b65c9,_0x12400d){const _0xb21e53=_0x53d7b2;if(!_0x2b65c9[_0xb21e53(0x181)])return;const _0xb96b09=_0x2b65c9[0x0][_0xb21e53(0xcd)]['id'],_0x4a9e11=_0x12400d[_0xb21e53(0x1a6)][_0xb21e53(0xd3)](_0xb96b09);if(!_0x4a9e11)return void console[_0xb21e53(0xfa)](_0xb21e53(0x159)+_0xb96b09);const _0xcca13e=_0x4a9e11[_0xb21e53(0xcc)],_0xa18df7=_0x1c8702(this[_0xb21e53(0x138)]),_0x4da224=_0xa18df7[_0xb21e53(0xf9)][_0xb21e53(0x123)][_0xb21e53(0x152)][_0xb21e53(0x17d)](_0x12400d[_0xb21e53(0xbe)]),_0x16efdc=[];for(const _0x4231a2 of _0x2b65c9){const _0x556772=_0x4231a2[_0xb21e53(0xf4)][_0xb21e53(0xea)](_0x2c7875=>this[_0xb21e53(0xa4)](_0x2c7875,_0xcca13e,_0xa18df7[_0xb21e53(0xf9)][_0xb21e53(0x123)][_0xb21e53(0x190)]()[0x0]));if(!_0x556772||!_0x556772[_0xb21e53(0x181)])continue;const _0x4ba6c9=_0x556772[_0xb21e53(0x16d)](_0x2b7e22=>_0xb21e53(0xb0)===_0x2b7e22[_0xb21e53(0xad)]&&_0x2b7e22[_0xb21e53(0x151)][_0xb21e53(0x15f)](_0xb21e53(0x182))),_0x11d221={'document':_0xa18df7[_0xb21e53(0xf9)][_0xb21e53(0x123)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x5c0063=_0x3a453d(_0x556772,_0x4da224,_0x11d221)[_0xb21e53(0x122)];for(const _0x3ba581 of _0x5c0063)if(_0xb21e53(0x18f)===_0x3ba581[_0xb21e53(0xad)]){const _0x4abf5e=_0x3ba581,_0x2b9188=_0x4abf5e[_0xb21e53(0x155)];_0xa18df7[_0xb21e53(0xf9)][_0xb21e53(0x17c)](_0x5c15df=>{const _0x2102d1=_0xb21e53,_0x1ec559=_0x5c15df[_0x2102d1(0x192)]();for(const _0x2412b7 of _0x2b9188)_0x5c15df[_0x2102d1(0xbb)](_0x2412b7[_0x2102d1(0x148)](!0x0),_0x1ec559);_0x16efdc[_0x2102d1(0x10f)]({'start':_0x4abf5e[_0x2102d1(0x134)],'end':_0x4abf5e[_0x2102d1(0x134)],'type':_0x2102d1(0x18f),'groupId':_0x4231a2['id'],'content':{'asString':this[_0x2102d1(0x18d)](_0x1ec559,_0xa18df7[_0x2102d1(0x15c)])(),'asFragment':_0x1ec559}});});}else{if(_0xb21e53(0xb0)===_0x3ba581[_0xb21e53(0xad)]&&_0x3ba581[_0xb21e53(0x151)][_0xb21e53(0x15f)](_0xb21e53(0x182))){const _0x169e7a=_0x3ba581;let _0x1433d7=_0xb21e53(0x1aa);if(_0x4ba6c9){const _0x41babb=this[_0xb21e53(0x146)](_0x169e7a[_0xb21e53(0xb8)][_0xb21e53(0x15e)],_0xb21e53(0xf8),_0xa18df7[_0xb21e53(0xf9)][_0xb21e53(0x12c)]),_0x445300=this[_0xb21e53(0x146)](_0x169e7a[_0xb21e53(0xb8)][_0xb21e53(0x17b)],_0xb21e53(0x101),_0xa18df7[_0xb21e53(0xf9)][_0xb21e53(0x12c)]);if(_0x41babb||_0x445300){const _0x258dd4=_0x169e7a[_0xb21e53(0xb8)][_0xb21e53(0x15e)][_0xb21e53(0x178)](-_0x41babb),_0xc546a0=_0x169e7a[_0xb21e53(0xb8)][_0xb21e53(0x17b)][_0xb21e53(0x178)](_0x445300);_0x16efdc[_0xb21e53(0x10f)]({'start':_0x258dd4,'end':_0xc546a0,'groupId':_0x4231a2['id'],'type':_0xb21e53(0xc4)});}else _0x1433d7=_0xb21e53(0x185);}_0x16efdc[_0xb21e53(0x10f)]({'start':_0x169e7a[_0xb21e53(0xb8)][_0xb21e53(0x15e)],'end':_0x169e7a[_0xb21e53(0xb8)][_0xb21e53(0x17b)],'groupId':_0x4231a2['id'],'type':_0x1433d7});}}}this[_0xb21e53(0xdb)](_0x16efdc);}[_0x53d7b2(0xa5)](){const _0x18eba8=_0x53d7b2,_0x102674=_0x1c8702(this[_0x18eba8(0x138)]);_0x102674[_0x18eba8(0xf9)][_0x18eba8(0x17c)](_0x32fd2a=>{const _0x2ee0ac=_0x18eba8;for(const _0x3c7f25 of this[_0x2ee0ac(0x12b)][_0x2ee0ac(0x131)]())_0x102674[_0x2ee0ac(0xf9)][_0x2ee0ac(0x179)][_0x2ee0ac(0xd3)](_0x3c7f25)&&_0x32fd2a[_0x2ee0ac(0x180)](_0x3c7f25);}),this[_0x18eba8(0x12b)][_0x18eba8(0x105)](),this[_0x18eba8(0x106)][_0x18eba8(0x105)]();}[_0x53d7b2(0xe4)](){const _0x5f0802=_0x53d7b2;_0x1c8702(this[_0x5f0802(0x138)])[_0x5f0802(0xaf)](_0x5f0802(0x14e));}[_0x53d7b2(0xb4)](){const _0x1c9b18=_0x53d7b2;_0x1c8702(this[_0x1c9b18(0x138)])[_0x1c9b18(0x113)](_0x1c9b18(0x14e));}[_0x53d7b2(0xc1)](_0x3e8b54){const _0x245d8b=_0x53d7b2,_0x938758=_0x1c8702(this[_0x245d8b(0x138)]),_0x514b1d=_0x938758[_0x245d8b(0xf9)],_0x283292=_0x3e8b54[_0x245d8b(0xea)](_0x161545=>this[_0x245d8b(0x14c)](_0x161545))[_0x245d8b(0xd4)]();_0x514b1d[_0x245d8b(0x17c)](_0x3eb95e=>{const _0x4a92de=_0x245d8b;for(const _0x45924c of _0x283292){const _0x99879e=_0x938758[_0x4a92de(0xf9)][_0x4a92de(0x179)][_0x4a92de(0xd3)](_0x45924c['id']);if(_0x99879e){if(_0x4a92de(0x18f)===_0x45924c[_0x4a92de(0xad)]){if(!_0x45924c[_0x4a92de(0x14f)])continue;_0x514b1d[_0x4a92de(0xf5)](_0x45924c[_0x4a92de(0x14f)][_0x4a92de(0x177)]||null,_0x99879e[_0x4a92de(0x133)]()[_0x4a92de(0x15e)]);}else _0x4a92de(0x1aa)!==_0x45924c[_0x4a92de(0xad)]&&_0x4a92de(0x185)!==_0x45924c[_0x4a92de(0xad)]||_0x514b1d[_0x4a92de(0x186)](_0x514b1d[_0x4a92de(0x139)](_0x99879e[_0x4a92de(0x133)]()));_0x3eb95e[_0x4a92de(0x180)](_0x45924c['id']),this[_0x4a92de(0x12b)][_0x4a92de(0x18b)](_0x45924c['id']);}}});}[_0x53d7b2(0x14b)](_0x2e7e1b){const _0x24b7e7=_0x53d7b2,_0x3401a9=_0x1c8702(this[_0x24b7e7(0x138)]),_0x383ead=this[_0x24b7e7(0x14c)](_0x2e7e1b);_0x3401a9[_0x24b7e7(0xf9)][_0x24b7e7(0x17c)](_0x5407c3=>{const _0x293f7a=_0x24b7e7;for(const _0x59f846 of _0x383ead)_0x5407c3[_0x293f7a(0x180)](_0x59f846['id']),this[_0x293f7a(0x12b)][_0x293f7a(0x18b)](_0x59f846['id']);});}[_0x53d7b2(0xc2)](){const _0xb8e73=_0x53d7b2;return _0x1c8702(this[_0xb8e73(0x138)]);}[_0x53d7b2(0x16b)](_0x165192){const _0x2afcf=_0x53d7b2,_0x4d7df2=Array[_0x2afcf(0x1a5)](this[_0x2afcf(0x12b)][_0x2afcf(0xb7)]())[_0x2afcf(0x162)](_0x7c3d85=>_0x7c3d85[_0x2afcf(0x13a)]===_0x165192);if(!_0x4d7df2[_0x2afcf(0x181)])return null;const _0x388f6c=0x1===_0x4d7df2[_0x2afcf(0x181)]?_0x4d7df2[0x0]:this[_0x2afcf(0x102)](_0x4d7df2)[0x0],_0x4e7626=_0x1c8702(this[_0x2afcf(0x138)])[_0x2afcf(0xf9)][_0x2afcf(0x179)][_0x2afcf(0xd3)](_0x388f6c['id']);if(!_0x4e7626)return null;return{'modelRange':_0x4e7626[_0x2afcf(0x133)](),'getElement':()=>this[_0x2afcf(0xe5)](_0x388f6c['id'])};}[_0x53d7b2(0x12f)](_0x3cd092){const _0x59528f=_0x53d7b2,_0xc2d530=Array[_0x59528f(0x1a5)](this[_0x59528f(0x12b)][_0x59528f(0xb7)]())[_0x59528f(0x162)](_0x5b7402=>_0x5b7402[_0x59528f(0x13a)]===_0x3cd092);if(!_0xc2d530[_0x59528f(0x181)])return null;const _0xc83f0d=0x1===_0xc2d530[_0x59528f(0x181)]?_0xc2d530[0x0]:this[_0x59528f(0x102)](_0xc2d530)[0x0],_0x3a6b59=_0x1c8702(this[_0x59528f(0x138)]),_0x16af1b=_0x3a6b59[_0x59528f(0xf9)][_0x59528f(0x179)][_0x59528f(0xd3)](_0xc83f0d['id']);if(!_0x16af1b)return null;const _0x7900a=_0x16af1b[_0x59528f(0x133)](),_0x5c7e7d=_0x3a6b59[_0x59528f(0x1a8)][_0x59528f(0xde)][_0x59528f(0xcf)]();if(!_0x5c7e7d||!_0x7900a)return null;let _0xc923ad=_0x7900a[_0x59528f(0x15e)][_0x59528f(0xcd)];for(;_0xc923ad[_0x59528f(0xcd)]&&_0x59528f(0x140)!==_0xc923ad[_0x59528f(0xcd)][_0x59528f(0x151)];)_0xc923ad=_0xc923ad[_0x59528f(0xcd)];if(!_0xc923ad||!_0xc923ad[_0x59528f(0x151)])return null;const _0x54a1d6=_0x5c7e7d[_0x59528f(0xac)](_0x59528f(0x100)+_0xc83f0d['id']+'\x22]');if(!_0x54a1d6)return null;let _0x3082c2=null;_0x3a6b59[_0x59528f(0xf9)][_0x59528f(0x17c)](_0x15b055=>{const _0x3af258=_0x59528f;_0x3082c2=_0x15b055[_0x3af258(0x192)](),_0x15b055[_0x3af258(0xbb)](_0xc923ad[_0x3af258(0x148)](!0x0),_0x3082c2);});const _0x4bdfa0=_0x3a6b59[_0x59528f(0x15c)][_0x59528f(0x119)](_0x3082c2)[_0x59528f(0xfe)](0x0);return _0x54a1d6[_0x59528f(0x17e)](_0x4bdfa0[_0x59528f(0x151)]);}[_0x53d7b2(0x142)](_0x36aa40){const _0x49f124=_0x53d7b2,_0x6bb779=this[_0x49f124(0x14c)](_0x36aa40);if(!_0x6bb779[_0x49f124(0x181)])return;const _0x299b63=Array[_0x49f124(0x1a5)](this[_0x49f124(0x106)])[_0x49f124(0x13c)](),_0x5b7f34=Array[_0x49f124(0x1a5)](new Set(_0x6bb779[_0x49f124(0xea)](_0x64e709=>_0x64e709['id'])))[_0x49f124(0x13c)]();_0x299b63[_0x49f124(0x19b)]('|')!==_0x5b7f34[_0x49f124(0x19b)]('|')&&(this[_0x49f124(0xd6)](),this[_0x49f124(0xc0)](_0x36aa40));}[_0x53d7b2(0xc0)](_0x492e44){const _0x1e6800=_0x53d7b2,_0x88837f=this[_0x1e6800(0x14c)](_0x492e44);if(!_0x88837f[_0x1e6800(0x181)])return;const _0x36314a=_0x1c8702(this[_0x1e6800(0x138)]),_0x55fd12=new Set(_0x88837f[_0x1e6800(0xea)](_0x18e4e5=>_0x18e4e5['id'])),_0x414466=Array[_0x1e6800(0x1a5)](_0x55fd12[_0x1e6800(0xb7)]())[_0x1e6800(0xea)](_0x3cf65c=>_0x36314a[_0x1e6800(0xf9)][_0x1e6800(0x179)][_0x1e6800(0xd3)](_0x3cf65c))[_0x1e6800(0x162)](_0x272de7=>!!_0x272de7);_0x55fd12[_0x1e6800(0xe1)](_0x44a9ec=>{const _0x14af26=_0x1e6800;this[_0x14af26(0x106)][_0x14af26(0xb9)](_0x44a9ec);}),_0x36314a[_0x1e6800(0xf9)][_0x1e6800(0x17c)](()=>{const _0x228bcc=_0x1e6800;_0x414466[_0x228bcc(0xe1)](_0x343864=>{const _0x494327=_0x228bcc;_0x36314a[_0x494327(0x1a8)][_0x494327(0xe8)](_0x343864);});});}[_0x53d7b2(0xd6)](){const _0x447b46=_0x53d7b2,_0x1d7225=Array[_0x447b46(0x1a5)](this[_0x447b46(0x106)]);if(!_0x1d7225[_0x447b46(0x181)])return;this[_0x447b46(0x106)][_0x447b46(0x105)]();const _0x1fe890=_0x1c8702(this[_0x447b46(0x138)]),_0x35911e=_0x1d7225[_0x447b46(0xea)](_0x42aba3=>_0x1fe890[_0x447b46(0xf9)][_0x447b46(0x179)][_0x447b46(0xd3)](_0x42aba3))[_0x447b46(0x162)](_0xab4369=>!!_0xab4369);_0x1fe890[_0x447b46(0xf9)][_0x447b46(0x17c)](()=>{const _0x5978d7=_0x447b46;_0x35911e[_0x5978d7(0xe1)](_0x339613=>{const _0x38133f=_0x5978d7;_0x1fe890[_0x38133f(0x1a8)][_0x38133f(0xe8)](_0x339613);});});}[_0x53d7b2(0x112)](_0xfa4e35,_0x20bf90,_0x326f73=_0x53d7b2(0xd7)){const _0x3147d6=_0x53d7b2;if(!_0xfa4e35)return null;let _0x5cdae5=_0xfa4e35[_0x3147d6(0xcd)];for(;_0x5cdae5&&_0x5cdae5[_0x3147d6(0xcd)]&&_0x3147d6(0x140)!==_0x5cdae5[_0x3147d6(0xcd)][_0x3147d6(0x151)]&&!_0x20bf90[_0x3147d6(0xf9)][_0x3147d6(0x12c)][_0x3147d6(0xf6)](_0x5cdae5)&&!_0x20bf90[_0x3147d6(0xf9)][_0x3147d6(0x12c)][_0x3147d6(0x108)](_0x5cdae5);)_0x5cdae5=_0x5cdae5[_0x3147d6(0xcd)];if(!_0x5cdae5||!_0x5cdae5[_0x3147d6(0x151)]||_0x3147d6(0x140)===_0x5cdae5[_0x3147d6(0x151)])return null;let _0x587a20=null;return _0x20bf90[_0x3147d6(0xf9)][_0x3147d6(0x17c)](_0x306215=>{const _0x156a92=_0x3147d6;_0x587a20=_0x156a92(0x171)===_0x326f73?_0x306215[_0x156a92(0xb3)](_0x5cdae5):_0x306215[_0x156a92(0x141)](_0x5cdae5);}),_0x587a20;}[_0x53d7b2(0xa3)](_0x5c2a73,_0x42cb24){const _0x292cb9=_0x53d7b2,_0x1e5d8f=Array[_0x292cb9(0x1a5)](this[_0x292cb9(0x12b)][_0x292cb9(0x131)]()),_0x8c54ae=new Map();for(const _0x554e82 of _0x1e5d8f){const _0x2575a7=_0x5c2a73[_0x292cb9(0xf9)][_0x292cb9(0x179)][_0x292cb9(0xd3)](_0x554e82);if(!_0x2575a7)continue;const _0x430801=_0x2575a7[_0x292cb9(0x128)]()[_0x292cb9(0xcc)][0x0];_0x8c54ae[_0x292cb9(0x16c)](_0x430801)||_0x8c54ae[_0x292cb9(0x111)](_0x430801,[]),_0x8c54ae[_0x292cb9(0xd3)](_0x430801)[_0x292cb9(0x10f)](_0x2575a7);}const _0x40faf7=new Set();for(const _0xdf8d24 of _0x5c2a73[_0x292cb9(0xf9)][_0x292cb9(0x123)][_0x292cb9(0x132)][_0x292cb9(0x199)]()){let _0x32cf8d=-0x1,_0x50d27e=null;if(_0x292cb9(0x18f)===_0xdf8d24[_0x292cb9(0xad)])_0x50d27e=new _0x3a73c2(_0xdf8d24[_0x292cb9(0x134)],_0xdf8d24[_0x292cb9(0x134)][_0x292cb9(0x178)](_0xdf8d24[_0x292cb9(0x181)])),_0x32cf8d=_0xdf8d24[_0x292cb9(0x134)][_0x292cb9(0xcc)][0x0];else{if(_0x292cb9(0xf1)!==_0xdf8d24[_0x292cb9(0xad)])continue;_0x50d27e=new _0x3a73c2(_0xdf8d24[_0x292cb9(0x134)]),_0x32cf8d=_0xdf8d24[_0x292cb9(0x134)][_0x292cb9(0xcc)][0x0];}const _0x2793e0=_0x8c54ae[_0x292cb9(0xd3)](_0x32cf8d)||[];if(_0x2793e0[_0x292cb9(0x181)]){for(const _0x24067e of _0x2793e0)if(_0x50d27e[_0x292cb9(0x14a)][_0x292cb9(0x13f)]===_0x24067e[_0x292cb9(0x133)]()[_0x292cb9(0x14a)][_0x292cb9(0x13f)]&&(_0x292cb9(0x18f)!==_0xdf8d24[_0x292cb9(0xad)]||!_0x50d27e[_0x292cb9(0xfb)](_0x24067e[_0x292cb9(0x133)]()))&&(_0x50d27e[_0x292cb9(0x196)](_0x24067e[_0x292cb9(0x133)]())||_0x50d27e[_0x292cb9(0x15e)][_0x292cb9(0xdc)](_0x24067e[_0x292cb9(0x133)]()[_0x292cb9(0x17b)])||_0x50d27e[_0x292cb9(0x17b)][_0x292cb9(0xdc)](_0x24067e[_0x292cb9(0x133)]()[_0x292cb9(0x15e)]))){const _0x5e7921=this[_0x292cb9(0xc9)](_0x24067e[_0x292cb9(0x151)]);Array[_0x292cb9(0x1a5)](this[_0x292cb9(0x12b)][_0x292cb9(0xb7)]())[_0x292cb9(0x162)](_0x386ec4=>_0x386ec4[_0x292cb9(0x13a)]===_0x5e7921[_0x292cb9(0x13a)])[_0x292cb9(0xe1)](_0x586725=>_0x40faf7[_0x292cb9(0xb9)](_0x586725['id']));}}}if(_0x40faf7[_0x292cb9(0x16f)]){for(const _0x5ddfba of _0x40faf7)_0x42cb24[_0x292cb9(0x180)](_0x5ddfba);return!0x0;}return!0x1;}[_0x53d7b2(0x174)](_0x392d15){const _0x413e3b=_0x53d7b2;for(const {name:_0x31cee8,data:_0x41029d}of _0x392d15[_0x413e3b(0xf9)][_0x413e3b(0x123)][_0x413e3b(0x132)][_0x413e3b(0x120)]()){if(!_0x31cee8[_0x413e3b(0x15f)](fe))continue;const _0x77a859=_0x41029d[_0x413e3b(0xca)],_0x2bb360=_0x41029d[_0x413e3b(0xb8)],_0x2367a8=_0x77a859&&_0x413e3b(0x15d)===_0x77a859[_0x413e3b(0x14a)][_0x413e3b(0x13f)],_0x5d3225=_0x2bb360&&_0x413e3b(0x15d)===_0x2bb360[_0x413e3b(0x14a)][_0x413e3b(0x13f)];if(_0x2367a8&&_0x5d3225)continue;const _0x1f25f8=this[_0x413e3b(0xc9)](_0x31cee8);this[_0x413e3b(0x12b)][_0x413e3b(0xd3)](_0x31cee8)&&(_0x5d3225||!_0x2bb360?this[_0x413e3b(0x11a)][_0x413e3b(0x195)](_0x413e3b(0x1ab),{'markerId':_0x31cee8,'changeId':_0x1f25f8[_0x413e3b(0x13a)]}):_0x2367a8&&_0x2bb360&&this[_0x413e3b(0x11a)][_0x413e3b(0x195)](_0x413e3b(0x173),{'markerId':_0x31cee8,'changeId':_0x1f25f8[_0x413e3b(0x13a)]}));}}[_0x53d7b2(0xc9)](_0x4c25e4){const _0x3d2810=_0x53d7b2,_0x2f68e7=_0x4c25e4[_0x3d2810(0x153)](':'),_0x540a74=(_0x2f68e7[0x1]||'')[_0x3d2810(0x153)]('_');return{'prefix':_0x2f68e7[0x0],'groupId':_0x540a74[0x0],'suffix':_0x540a74[0x1]};}[_0x53d7b2(0xa4)](_0x4a24dc,_0x2e94a3,_0x5ba89a){const _0x5339f2=_0x53d7b2;if(_0x5339f2(0x18f)===_0x4a24dc[_0x5339f2(0xad)]){const _0x2644f6=_0x4a24dc;return new _0x90cb5c(this[_0x5339f2(0x160)](_0x2e94a3[_0x5339f2(0x14d)](_0x2644f6[_0x5339f2(0x134)][_0x5339f2(0x19a)]),_0x5ba89a),_0x2644f6[_0x5339f2(0x155)],_0x2644f6[_0x5339f2(0xd9)]);}if(_0x5339f2(0xb0)===_0x4a24dc[_0x5339f2(0xad)]&&_0x4a24dc[_0x5339f2(0x151)][_0x5339f2(0x15f)](_0x5339f2(0x182))){const _0x2721b6=_0x4a24dc;return new _0x369666(_0x2721b6[_0x5339f2(0x151)],_0x2721b6[_0x5339f2(0xca)],this[_0x5339f2(0x12a)](_0x2721b6[_0x5339f2(0xb8)],_0x2e94a3[_0x5339f2(0x14d)](_0x2721b6[_0x5339f2(0xb8)][_0x5339f2(0x15e)][_0x5339f2(0x19a)]),_0x2e94a3[_0x5339f2(0x14d)](_0x2721b6[_0x5339f2(0xb8)][_0x5339f2(0x17b)][_0x5339f2(0x19a)]),_0x5ba89a),_0x2721b6[_0x5339f2(0x12b)],_0x2721b6[_0x5339f2(0x193)],_0x2721b6[_0x5339f2(0xd9)]);}return _0x4a24dc;}[_0x53d7b2(0x189)](_0x2090ac){const _0x4d171a=_0x53d7b2;if(!_0x2090ac[_0x4d171a(0x181)])return[];const _0x5dd73b=[];let _0xabc5bc=0x0,_0x3923d6=0x0,_0x251bfa=[];for(let _0x534cad=0x0;_0x534cad<=_0x2090ac[_0x4d171a(0x181)];_0x534cad++){const _0x1d0633=_0x2090ac[_0x534cad],_0x5cb711=_0x2090ac[_0x534cad-0x1];!_0x1d0633||_0x5cb711&&!this[_0x4d171a(0x1a9)](_0x5cb711)[_0x4d171a(0xdc)](this[_0x4d171a(0x165)](_0x1d0633))?(_0x5dd73b[_0x4d171a(0x10f)]({'operations':_0x251bfa,'operationsIsolated':_0x251bfa[_0x4d171a(0xea)](_0x10d11f=>this[_0x4d171a(0xd8)](_0x10d11f[_0x4d171a(0x116)](),-_0x3923d6)),'groupOffset':_0xabc5bc}),_0x251bfa=_0x1d0633?[_0x1d0633]:[],_0x3923d6+=_0xabc5bc,_0xabc5bc=0x0):_0x251bfa[_0x4d171a(0x10f)](_0x1d0633),_0x1d0633&&_0x4d171a(0x18f)===_0x1d0633[_0x4d171a(0xad)]&&(_0xabc5bc+=_0x1d0633[_0x4d171a(0xb6)]);}return _0x5dd73b;}[_0x53d7b2(0x146)](_0x511a7e,_0x3f42fb,_0x3b364a,_0x48d46c=0x1){const _0xfec6cf=_0x53d7b2,_0x5eb8af=new _0x5ccc09({'startPosition':_0x511a7e,'direction':_0x3f42fb});let _0x59ac1a=0x0;for(let _0x1be06a=0x0;_0x1be06a<_0x48d46c;_0x1be06a++){let _0xb27cf8=0x0,_0xbeb55a=!0x1,_0x544e52=_0xfec6cf(0x101)===_0x3f42fb?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x32f937}of _0x5eb8af)if(_0x32f937['is'](_0xfec6cf(0x158))){const _0x6a28d4=_0x544e52[_0xfec6cf(0xf7)](_0x32f937[_0xfec6cf(0x15c)]);if(_0x6a28d4&&_0x6a28d4[_0xfec6cf(0x181)]){if(_0xb27cf8+=_0xfec6cf(0x101)===_0x3f42fb?_0x6a28d4[_0xfec6cf(0xec)]+_0x6a28d4[0x0][_0xfec6cf(0x181)]:_0x32f937[_0xfec6cf(0x15c)][_0xfec6cf(0x181)]-_0x6a28d4[_0xfec6cf(0xec)],_0x6a28d4[0x0][_0xfec6cf(0x181)]!==_0x32f937[_0xfec6cf(0x15c)][_0xfec6cf(0x181)])break;_0xbeb55a=!0x0,_0x544e52=_0xfec6cf(0x101)===_0x3f42fb?/^\w+/:/\w+$/;}else{if(_0xbeb55a)break;_0xb27cf8+=_0x32f937[_0xfec6cf(0x126)];}}else{if(_0x32f937['is'](_0xfec6cf(0x10d))){_0x3b364a[_0xfec6cf(0x130)](_0x32f937)&&!_0xbeb55a&&(_0xb27cf8+=0x1);break;}}_0x59ac1a+=_0xb27cf8,_0x5eb8af[_0xfec6cf(0xa1)](_0x511a7e[_0xfec6cf(0x178)](_0xfec6cf(0x101)===_0x3f42fb?_0x59ac1a:-_0x59ac1a));}return _0x59ac1a;}[_0x53d7b2(0x149)](_0x5d083f,_0x3a6d1f){const _0x584816=_0x53d7b2,_0x4213d1=_0x1c8702(this[_0x584816(0x138)])[_0x584816(0xf9)][_0x584816(0x12c)],_0x20d793=this[_0x584816(0x146)](_0x5d083f,_0x584816(0xf8),_0x4213d1,0x6),_0x51b152=this[_0x584816(0x146)](_0x3a6d1f,_0x584816(0x101),_0x4213d1,0x6),_0x2c245f=_0x5d083f[_0x584816(0x178)](-_0x20d793),_0x3e6e46=_0x3a6d1f[_0x584816(0x178)](_0x51b152);return{'start':_0x2c245f,'end':_0x3e6e46,'hasContentBefore':!_0x2c245f[_0x584816(0x136)],'hasContentAfter':!_0x3e6e46[_0x584816(0xc7)]};}[_0x53d7b2(0xdb)](_0x49886f){const _0x3be9d3=_0x53d7b2,_0x19301c=this[_0x3be9d3(0x138)][_0x3be9d3(0x110)][_0x3be9d3(0xd3)](_0x3be9d3(0x11e)),_0x2f0d7a=new Set();_0x1c8702(this[_0x3be9d3(0x138)])[_0x3be9d3(0xf9)][_0x3be9d3(0x17c)](_0x49b9df=>{const _0x42fed5=_0x3be9d3;for(const _0x1fd710 of _0x49886f){const _0x1c3740=''+fe+_0x1fd710[_0x42fed5(0xad)]+':'+_0x1fd710[_0x42fed5(0x13a)]+'_'+_0x19301c[_0x42fed5(0x11d)](_0x2f0d7a);this[_0x42fed5(0x12b)][_0x42fed5(0x111)](_0x1c3740,{'id':_0x1c3740,'groupId':_0x1fd710[_0x42fed5(0x13a)],'type':_0x1fd710[_0x42fed5(0xad)],'content':_0x1fd710[_0x42fed5(0x14f)]}),_0x49b9df[_0x42fed5(0x147)](_0x1c3740,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x49b9df[_0x42fed5(0xdf)](_0x1fd710[_0x42fed5(0x15e)],_0x1fd710[_0x42fed5(0x17b)])});}});}[_0x53d7b2(0x187)](_0x2cdb33,_0x1a05b4,_0x30679b){let _0x3abf87='';return()=>{const _0x53bb64=_0x4119;if(!_0x3abf87){const _0x57f9bb=_0x1a05b4[_0x53bb64(0x119)](_0x2cdb33,{'showSuggestionHighlights':!0x0});let _0x3c859e=_0x57f9bb[_0x53bb64(0xfe)](0x0);if(_0x3c859e['is'](_0x53bb64(0xd0))||(_0x3c859e=_0x57f9bb),!_0x3c859e)return'';let _0x426f24=!0x1;const _0xfe6cf4=[];for(const _0x27ec99 of _0x3c859e[_0x53bb64(0xe3)]())_0x27ec99['is'](_0x53bb64(0x10d),_0x53bb64(0x167))&&_0x27ec99[_0x53bb64(0xb5)](_0x53bb64(0x137))&&(_0x426f24=!0x1),_0x426f24&&_0xfe6cf4[_0x53bb64(0x10f)](_0x27ec99),_0x27ec99['is'](_0x53bb64(0x10d),_0x53bb64(0x167))&&_0x27ec99[_0x53bb64(0xb5)](_0x53bb64(0x154))&&(_0x426f24=!0x0);_0x3c859e[_0x53bb64(0xd5)](0x0,_0x3c859e[_0x53bb64(0x19f)]),_0x30679b?.[_0x53bb64(0x168)]&&_0x3c859e[_0x53bb64(0x176)]('…'),_0x3c859e[_0x53bb64(0x176)](_0xfe6cf4),_0x30679b?.[_0x53bb64(0x118)]&&_0x3c859e[_0x53bb64(0x176)]('…');const _0x1a1571=_0x1a05b4[_0x53bb64(0xc3)][_0x53bb64(0x16a)][_0x53bb64(0xa8)](_0x57f9bb),_0x4ce80d=_0x1a05b4[_0x53bb64(0xc3)][_0x53bb64(0x17a)][_0x53bb64(0xf2)](_0x1a1571);_0x3abf87=_0x4ce80d;}return _0x3abf87;};}[_0x53d7b2(0x18d)](_0x5dd4ab,_0x1c2e90){const _0x4c80ea=_0x53d7b2;let _0x58577e='';return()=>(_0x58577e||(_0x58577e=_0x1c2e90[_0x4c80ea(0x194)](_0x5dd4ab,{'showSuggestionHighlights':!0x0})),_0x58577e);}[_0x53d7b2(0x1a2)](_0xb755a8,_0x2af2e7,_0x276fad){let _0x4e1437='';return()=>{const _0x3cc372=_0x4119;if(!_0x4e1437){const _0xb9e5b9=_0x276fad[_0x3cc372(0x119)](new _0xbf939(_0xb755a8)),_0x562e59=_0x276fad[_0x3cc372(0xc3)][_0x3cc372(0x16a)][_0x3cc372(0xa8)](_0xb9e5b9)[_0x3cc372(0xac)](_0x3cc372(0x172)+_0x2af2e7+'\x22]');_0x4e1437=_0x562e59?.[_0x3cc372(0x1ae)]||'';}return _0x4e1437;};}[_0x53d7b2(0x166)](_0x58db5d,_0x4a6ad1=0x5){const _0x3be92d=_0x53d7b2;let _0x3f610f=_0x58db5d,_0x1afbab=null;for(let _0x6fc83a=0x0;_0x6fc83a<_0x4a6ad1&&_0x3f610f;_0x6fc83a++){if(!_0x3f610f[_0x3be92d(0xa9)]){_0x3f610f=_0x3f610f[_0x3be92d(0xe9)];continue;}if(!(''+_0x3f610f[_0x3be92d(0xa9)])[_0x3be92d(0xc8)](_0x3be92d(0x107))){_0x3f610f=_0x3f610f[_0x3be92d(0xe9)];continue;}if(!_0x3f610f[_0x3be92d(0xba)](_0x3be92d(0x11b)))break;_0x1afbab=_0x3f610f;break;}return _0x1afbab;}[_0x53d7b2(0xe5)](_0x3eda33){const _0x3d8afd=_0x53d7b2,_0x4617b0=_0x1c8702(this[_0x3d8afd(0x138)]),_0x43adc2=_0x4617b0[_0x3d8afd(0xf9)][_0x3d8afd(0x179)][_0x3d8afd(0xd3)](_0x3eda33);return _0x43adc2?_0x585855(_0x4617b0[_0x3d8afd(0x1a8)],_0x43adc2):null;}[_0x53d7b2(0x14c)](_0x16e35c){const _0x3e01a0=_0x53d7b2;return Array[_0x3e01a0(0x1a5)](this[_0x3e01a0(0x12b)][_0x3e01a0(0xb7)]())[_0x3e01a0(0x162)](_0xda84d6=>_0xda84d6[_0x3e01a0(0x13a)]===_0x16e35c);}[_0x53d7b2(0x165)](_0x4a930f){const _0x18a671=_0x53d7b2;return _0x18a671(0x18f)===_0x4a930f[_0x18a671(0xad)]?_0x4a930f[_0x18a671(0x134)]:_0x4a930f[_0x18a671(0xb8)][_0x18a671(0x15e)];}[_0x53d7b2(0x1a9)](_0x318e4b,_0x34999f=!0x1){const _0x510f58=_0x53d7b2;return _0x510f58(0x18f)===_0x318e4b[_0x510f58(0xad)]?_0x34999f?_0x318e4b[_0x510f58(0x134)]:_0x318e4b[_0x510f58(0x134)][_0x510f58(0x178)](_0x318e4b[_0x510f58(0xb6)]):_0x318e4b[_0x510f58(0xb8)][_0x510f58(0x17b)];}[_0x53d7b2(0xd8)](_0x141212,_0x5efa5c){const _0x2ee8f1=_0x53d7b2;return _0x2ee8f1(0x18f)===_0x141212[_0x2ee8f1(0xad)]?_0x141212[_0x2ee8f1(0x134)]=_0x141212[_0x2ee8f1(0x134)][_0x2ee8f1(0x178)](_0x5efa5c):_0x2ee8f1(0xb0)===_0x141212[_0x2ee8f1(0xad)]&&_0x141212[_0x2ee8f1(0xb8)]&&(_0x141212[_0x2ee8f1(0xb8)]=new _0x3a73c2(_0x141212[_0x2ee8f1(0xb8)][_0x2ee8f1(0x15e)][_0x2ee8f1(0x178)](_0x5efa5c),_0x141212[_0x2ee8f1(0xb8)][_0x2ee8f1(0x17b)][_0x2ee8f1(0x178)](_0x5efa5c))),_0x141212;}[_0x53d7b2(0x144)](_0x2b4c06,_0x8587e9){const _0x3d6c18=_0x53d7b2;_0x3d6c18(0x18f)===_0x2b4c06[_0x3d6c18(0xad)]?_0x2b4c06[_0x3d6c18(0x134)]=this[_0x3d6c18(0x125)](_0x2b4c06[_0x3d6c18(0x134)],_0x8587e9):_0x3d6c18(0xb0)===_0x2b4c06[_0x3d6c18(0xad)]&&_0x2b4c06[_0x3d6c18(0xb8)]&&(_0x2b4c06[_0x3d6c18(0xb8)]=this[_0x3d6c18(0x114)](_0x2b4c06[_0x3d6c18(0xb8)],_0x8587e9));}[_0x53d7b2(0x125)](_0x2a5857,_0x42fd0f){const _0xb04c03=_0x53d7b2;return new _0x9c1191(_0x42fd0f,_0x2a5857[_0xb04c03(0xcc)]);}[_0x53d7b2(0x114)](_0x56ba89,_0x3a7885){const _0x1baec2=_0x53d7b2;return new _0x3a73c2(this[_0x1baec2(0x125)](_0x56ba89[_0x1baec2(0x15e)],_0x3a7885),this[_0x1baec2(0x125)](_0x56ba89[_0x1baec2(0x17b)],_0x3a7885));}[_0x53d7b2(0x160)](_0x547f07,_0x17efb1){return new _0x9c1191(_0x17efb1,[..._0x547f07]);}[_0x53d7b2(0x12a)](_0x5c8ff5,_0x436499,_0x20bf39,_0x503dba){const _0x29862a=_0x53d7b2;return new _0x3a73c2(this[_0x29862a(0x160)](_0x436499,_0x503dba),this[_0x29862a(0x160)](_0x20bf39,_0x503dba));}[_0x53d7b2(0x102)](_0x577deb){const _0x28124e=_0x53d7b2,_0x403633=_0x181be5=>{const _0x120f0a=_0x4119;switch(_0x181be5){case _0x120f0a(0x18f):return 0x0;case _0x120f0a(0xc4):return 0x1;case _0x120f0a(0x185):return 0x2;case _0x120f0a(0x1aa):return 0x3;}};return _0x577deb[_0x28124e(0x13c)]((_0x30964a,_0x2c1b5d)=>_0x403633(_0x30964a[_0x28124e(0xad)])-_0x403633(_0x2c1b5d[_0x28124e(0xad)]));}[_0x53d7b2(0xd1)](_0x43ea83,_0x4d2c28){const _0x562768=_0x53d7b2,_0x1e5eaa=_0x43ea83[_0x562768(0xfe)](0x0),_0x592bee=_0x4d2c28[_0x562768(0xfe)](0x0);return!(!_0x1e5eaa||!_0x592bee)&&((!_0x1e5eaa['is'](_0x562768(0x10d))||!_0x592bee['is'](_0x562768(0x10d))||_0x1e5eaa[_0x562768(0x151)]===_0x592bee[_0x562768(0x151)])&&!(_0x1e5eaa['is'](_0x562768(0x10d))&&!_0x592bee['is'](_0x562768(0x10d))||!_0x1e5eaa['is'](_0x562768(0x10d))&&_0x592bee['is'](_0x562768(0x10d))));}[_0x53d7b2(0xf0)](_0x452b60){const _0x3a1d14=_0x53d7b2;return 0x1===_0x452b60[_0x3a1d14(0x19f)];}[_0x53d7b2(0xe7)](_0x26032,_0x4d5826){const _0x23deb6=_0x53d7b2;for(const _0x535308 of _0x26032[_0x23deb6(0xe3)]())if(_0x535308['is'](_0x23deb6(0x10d))&&!_0x4d5826[_0x23deb6(0x130)](_0x535308))return!0x1;return!0x0;}[_0x53d7b2(0x191)](_0x23cdc8,_0xd5fa76){const _0x3a6f1c=_0x53d7b2;let _0x128c94=_0x23cdc8[_0x3a6f1c(0xba)](_0x4efb12);return _0x128c94||(_0x128c94=_0xd5fa76(),_0x23cdc8[_0x3a6f1c(0x1af)](_0x4efb12,_0x128c94)),_0x128c94;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5248(_0x3baa69,_0x2b1bf0){const _0x21ea1c=_0x21ea();return _0x5248=function(_0x524837,_0x2f4432){_0x524837=_0x524837-0x15c;let _0x2a3747=_0x21ea1c[_0x524837];return _0x2a3747;},_0x5248(_0x3baa69,_0x2b1bf0);}const _0x4e5d6d=_0x5248;function _0x21ea(){const _0x4a9e23=['264584ALjDSM','outdated','leaveReviewCoreResultList','locale','context','showResult','retryReview','showCheckRunResult','isPremiumPlugin','delegate','dismissChange','runReviewCheck','hideBalloon','showActionsWhenResultIsReady','showNoChangesView','getReviewCheckList','showChunkErrorView','setItemAsActive','hideDiffInBalloon','showCheckRunResults','6641376TMRhmG','resetActiveStateInResults','setTitle','showReviewCheckListView','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','init','showBalloon','reviewCheckResultsView','setChecks','finishReview','hasChecks','showGeneralResultsErrorView','toggleDiff','destroy','ai.models.showModelSelector','isOfficialPlugin','6330bsTiIZ','showDiffInBalloon','requires','updateChangeState','showReviewCheckList','rejected','config','addCheckRunResult','_bodyCollection','9WGyFzW','acceptAllChanges','getResults','_mainView','2417611HmjXVc','showChangeBalloon','activateChange','5056lHtvub','error-chunk','setItemAsInactive','15697DTOLXn','_balloonSuggestionView','3577152JjYcrr','forEach','accepted','hideActionsWhenResultIsReady','plugins','detachFromDom','getChangeElement','setAvailableChecks','1008hiBLxv','reviewCheckListView','setActiveStateInResults','fire','setCheckResultTitle','showGeneralReviewCoreErrorView','725557HfLgwh','deactivateChange','learnMore','status','hideResult','get','registerTab','showReviewCheckResultsView','45kxvasw','acceptChange','AITabs','error-general','element','createMainView','showReviewCompletedView','abortReviewStream','attachToDom','find','hideChangeBalloon'];_0x21ea=function(){return _0x4a9e23;};return _0x21ea();}(function(_0x39699e,_0xaaa8b4){const _0x3d4ea5=_0x5248,_0x1c4813=_0x39699e();while(!![]){try{const _0x5cac03=-parseInt(_0x3d4ea5(0x166))/0x1+-parseInt(_0x3d4ea5(0x1ad))/0x2*(parseInt(_0x3d4ea5(0x160))/0x3)+-parseInt(_0x3d4ea5(0x179))/0x4*(parseInt(_0x3d4ea5(0x16e))/0x5)+parseInt(_0x3d4ea5(0x18d))/0x6+parseInt(_0x3d4ea5(0x1aa))/0x7+parseInt(_0x3d4ea5(0x1b2))/0x8*(parseInt(_0x3d4ea5(0x1a6))/0x9)+parseInt(_0x3d4ea5(0x19d))/0xa*(parseInt(_0x3d4ea5(0x1b0))/0xb);if(_0x5cac03===_0xaaa8b4)break;else _0x1c4813['push'](_0x1c4813['shift']());}catch(_0xb182fe){_0x1c4813['push'](_0x1c4813['shift']());}}}(_0x21ea,0x9a669));import{ContextPlugin as _0x38bf2d}from'ckeditor5/src/core.js';import{BodyCollection as _0xc3538f}from'ckeditor5/src/ui.js';import{getTranslation as _0x3eb67f}from'../aicore/utils/common-translations.js';import{AITabs as _0x4ad7f0}from'../aitabs/aitabs.js';import{AIReviewCoreBalloonSuggestionItemView as _0x40533f}from'./ui/aireviewcoreballoonsuggestionview.js';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x4e5d6d(0x188),_0x4e5d6d(0x184),_0x4e5d6d(0x175),_0x4e5d6d(0x199),_0x4e5d6d(0x1a7),_0x4e5d6d(0x17b),_0x4e5d6d(0x1ac),_0x4e5d6d(0x167),_0x4e5d6d(0x16f),_0x4e5d6d(0x183),_0x4e5d6d(0x168),_0x4e5d6d(0x196),_0x4e5d6d(0x17f)];import'../../theme/common/aiheader.css';import'../../theme/common/ainotification.css';import'../../theme/common/aibutton.css';import'../../theme/common/aitrackchanges.css';import'../../theme/aireviewcore/aireviewcore.css';export class AIReviewCoreUI extends _0x38bf2d{[_0x4e5d6d(0x1a9)];[_0x4e5d6d(0x1b1)];[_0x4e5d6d(0x1a5)];static get[_0x4e5d6d(0x19f)](){return[_0x4ad7f0];}static get[_0x4e5d6d(0x19c)](){return!0x0;}static get[_0x4e5d6d(0x181)](){return!0x0;}constructor(_0x5e3eb4){const _0x464d6e=_0x4e5d6d;super(_0x5e3eb4),this[_0x464d6e(0x1a5)]=new _0xc3538f(this[_0x464d6e(0x17d)][_0x464d6e(0x17c)]),this[_0x464d6e(0x1a5)][_0x464d6e(0x176)](),this[_0x464d6e(0x1a9)]=this[_0x464d6e(0x173)](),this[_0x464d6e(0x1a9)][_0x464d6e(0x182)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x464d6e(0x1b1)]=new _0x40533f(this[_0x464d6e(0x17d)][_0x464d6e(0x17c)],this[_0x464d6e(0x1a5)]),this[_0x464d6e(0x1b1)][_0x464d6e(0x182)](_0x464d6e(0x16f),_0x464d6e(0x183),_0x464d6e(0x167))['to'](this);}[_0x4e5d6d(0x192)](){const _0x41bbbd=_0x4e5d6d,_0x24bdff=this[_0x41bbbd(0x17d)][_0x41bbbd(0x15c)][_0x41bbbd(0x16b)](_0x41bbbd(0x170));this[_0x41bbbd(0x16c)](_0x24bdff);}[_0x4e5d6d(0x19a)](){const _0x28e2f9=_0x4e5d6d;this[_0x28e2f9(0x1a5)][_0x28e2f9(0x15d)](),super[_0x28e2f9(0x19a)]();}[_0x4e5d6d(0x15f)](_0x5cd2e3){const _0x5e387e=_0x4e5d6d;if(!this[_0x5e387e(0x1a9)][_0x5e387e(0x161)][_0x5e387e(0x197)]()){const _0x1c6344=!this[_0x5e387e(0x17d)][_0x5e387e(0x1a3)][_0x5e387e(0x16b)](_0x5e387e(0x19b));this[_0x5e387e(0x1a9)][_0x5e387e(0x161)][_0x5e387e(0x195)](_0x5cd2e3,_0x1c6344);}this[_0x5e387e(0x1a9)][_0x5e387e(0x190)]();}[_0x4e5d6d(0x1a1)](){const _0x1276ad=_0x4e5d6d;this[_0x1276ad(0x163)](_0x1276ad(0x188));}[_0x4e5d6d(0x18c)](_0x4741fe){const _0x54adbd=_0x4e5d6d;_0x4741fe&&(_0x54adbd(0x171)!==_0x4741fe[_0x54adbd(0x169)]?_0x54adbd(0x1ae)!==_0x4741fe[_0x54adbd(0x169)]?this[_0x54adbd(0x1a9)][_0x54adbd(0x16d)]():this[_0x54adbd(0x189)]():this[_0x54adbd(0x198)]());}[_0x4e5d6d(0x180)](_0x14ac77){const _0x7a8f06=_0x4e5d6d;this[_0x7a8f06(0x1a9)][_0x7a8f06(0x1a4)](_0x14ac77);}[_0x4e5d6d(0x198)](){const _0x489104=_0x4e5d6d;this[_0x489104(0x1a9)][_0x489104(0x198)]();}[_0x4e5d6d(0x165)](_0x2b59b5){const _0x52f87b=_0x4e5d6d;this[_0x52f87b(0x1a9)][_0x52f87b(0x165)](_0x2b59b5??_0x3eb67f(this[_0x52f87b(0x17d)][_0x52f87b(0x17c)],_0x52f87b(0x191)));}[_0x4e5d6d(0x189)](){const _0x15d244=_0x4e5d6d;this[_0x15d244(0x1a9)][_0x15d244(0x189)]();}[_0x4e5d6d(0x164)](_0x37898a,_0x387b9d){const _0x4c05b8=_0x4e5d6d;this[_0x4c05b8(0x1a9)][_0x4c05b8(0x194)][_0x4c05b8(0x18f)](_0x37898a,_0x387b9d);}[_0x4e5d6d(0x162)](_0x538df3){const _0x17d9c7=_0x4e5d6d;this[_0x17d9c7(0x1a9)][_0x17d9c7(0x194)][_0x17d9c7(0x1a8)]()[_0x17d9c7(0x1b3)](_0x4ed5d5=>{const _0xbf2074=_0x17d9c7;_0x4ed5d5['id']===_0x538df3&&_0x4ed5d5[_0xbf2074(0x18a)]();});}[_0x4e5d6d(0x18e)](){const _0x407f90=_0x4e5d6d;this[_0x407f90(0x1a9)][_0x407f90(0x194)][_0x407f90(0x1a8)]()[_0x407f90(0x1b3)](_0x2f5b20=>_0x2f5b20[_0x407f90(0x1af)]());}[_0x4e5d6d(0x1a0)](_0x3a8590,_0x4c34fe){const _0x20196e=_0x4e5d6d;_0x20196e(0x1b4)===_0x4c34fe||_0x20196e(0x1a2)===_0x4c34fe||_0x20196e(0x17a)===_0x4c34fe?this[_0x20196e(0x1a9)][_0x20196e(0x194)][_0x20196e(0x16a)](_0x3a8590,_0x4c34fe):this[_0x20196e(0x1a9)][_0x20196e(0x194)][_0x20196e(0x17e)](_0x3a8590,_0x4c34fe);}[_0x4e5d6d(0x174)](){const _0x3dee0d=_0x4e5d6d;this[_0x3dee0d(0x1a9)][_0x3dee0d(0x174)]();}[_0x4e5d6d(0x186)](){const _0x4da3a0=_0x4e5d6d;this[_0x4da3a0(0x1a9)][_0x4da3a0(0x186)]();}[_0x4e5d6d(0x187)](){const _0x20f419=_0x4e5d6d;this[_0x20f419(0x1a9)][_0x20f419(0x187)]();}[_0x4e5d6d(0x1b5)](){const _0x34b1f0=_0x4e5d6d;this[_0x34b1f0(0x1a9)][_0x34b1f0(0x1b5)]();}[_0x4e5d6d(0x1ab)](_0x4df07f,_0x1be9bc,_0x42a966,_0xaa7feb,_0x412a10,_0x112d25){const _0x54cb10=_0x4e5d6d;this[_0x54cb10(0x1b1)][_0x54cb10(0x193)](_0x4df07f,_0x1be9bc,_0x42a966,_0xaa7feb,_0x412a10,_0x112d25);}[_0x4e5d6d(0x178)](){const _0x31b91e=_0x4e5d6d;this[_0x31b91e(0x1b1)][_0x31b91e(0x185)]();}[_0x4e5d6d(0x18b)](){const _0x3895c0=_0x4e5d6d;this[_0x3895c0(0x1b1)][_0x3895c0(0x18b)]();}[_0x4e5d6d(0x19e)](){const _0x3c5a09=_0x4e5d6d;this[_0x3c5a09(0x1b1)][_0x3c5a09(0x19e)]();}[_0x4e5d6d(0x15e)](_0x35a527){const _0x2dfec2=_0x4e5d6d,_0x3cd263=this[_0x2dfec2(0x1a9)][_0x2dfec2(0x194)][_0x2dfec2(0x1a8)]()[_0x2dfec2(0x177)](_0xd964d7=>_0xd964d7['id']===_0x35a527);return _0x3cd263?_0x3cd263[_0x2dfec2(0x172)]:null;}[_0x4e5d6d(0x167)](){const _0xc873f=_0x4e5d6d;this[_0xc873f(0x1b1)][_0xc873f(0x167)]();}}
|