@ckeditor/ckeditor5-ai 47.6.0-alpha.2 → 47.6.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.d.ts +8 -4
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x2e26ad,_0x1698d7){const _0x115e7c=_0x1280,_0x5015b2=_0x2e26ad();while(!![]){try{const _0x2f7fc4=parseInt(_0x115e7c(0xb6))/0x1*(-parseInt(_0x115e7c(0xd1))/0x2)+-parseInt(_0x115e7c(0xb7))/0x3+-parseInt(_0x115e7c(0xcd))/0x4+-parseInt(_0x115e7c(0xd3))/0x5+-parseInt(_0x115e7c(0xbd))/0x6*(-parseInt(_0x115e7c(0xbf))/0x7)+parseInt(_0x115e7c(0xcf))/0x8*(parseInt(_0x115e7c(0xc2))/0x9)+parseInt(_0x115e7c(0xb9))/0xa*(parseInt(_0x115e7c(0xd2))/0xb);if(_0x2f7fc4===_0x1698d7)break;else _0x5015b2['push'](_0x5015b2['shift']());}catch(_0x2aee44){_0x5015b2['push'](_0x5015b2['shift']());}}}(_0x6095,0xd195d));import{createDropdown as _0x1e2e60}from'ckeditor5/src/ui.js';function _0x1280(_0x168814,_0x137091){const _0x6095cc=_0x6095();return _0x1280=function(_0x1280e2,_0x4cd39c){_0x1280e2=_0x1280e2-0xb1;let _0x4e1e87=_0x6095cc[_0x1280e2];return _0x4e1e87;},_0x1280(_0x168814,_0x137091);}import{IconAIQuickActions as _0x26ecd8}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x23759d}from'./aiquickactionsdropdowncontentview.js';function _0x6095(){const _0x2cc5ac=['ck-ai-quick-actions-dropdown','10MLMXAI','model','document','getRanges','1309308BMSAZE','hideFakeVisualSelection','35YpDfUY','set','has','9owxUrq','get','resetSearch','icon','children','buttonView','plugins','change:isOpen','showFakeVisualSelection','length','locale','5498584NhxYej','ai-quick-actions-dropdown-selection','6831416SuXMwY','selection','102WFnHxR','31309861LOJSeg','2060810Aicnvv','label','add','AIEditing','panelView','from','15237OrCwJR','4107036vckYoG'];_0x6095=function(){return _0x2cc5ac;};return _0x6095();}import{AIEditing as _0x180006}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x639528){const {editor:_0x1b9523,content:_0x35249b,buttonDefinition:_0x29e63b,bodyCollection:_0x455160,hasSearch:_0x3f0072=!0x1}=_0x639528;return()=>{const _0x54bd74=_0x1280,_0x24aa1e=_0x1b9523[_0x54bd74(0xcc)],_0x15aebd=_0x1e2e60(_0x24aa1e);_0x15aebd[_0x54bd74(0xc7)][_0x54bd74(0xc0)]({'icon':_0x29e63b[_0x54bd74(0xc5)]??_0x26ecd8,'label':_0x29e63b[_0x54bd74(0xb1)],'tooltip':!0x0}),_0x15aebd[_0x54bd74(0xc0)]({'class':_0x54bd74(0xb8)});const _0x5f3a5a=new _0x23759d(_0x1b9523,_0x35249b,_0x15aebd,_0x455160,_0x3f0072);if(_0x15aebd[_0x54bd74(0xb4)][_0x54bd74(0xc6)][_0x54bd74(0xb2)](_0x5f3a5a),_0x3f0072){const _0xc6f79f=_0x54bd74(0xce);_0x15aebd['on'](_0x54bd74(0xc9),(_0x2a25e5,_0x381eea,_0x33b537)=>{const _0x5e56a1=_0x54bd74;if(_0x33b537){if(_0x1b9523[_0x5e56a1(0xc8)][_0x5e56a1(0xc1)](_0x5e56a1(0xb3))){const _0x2a0a8d=_0x1b9523[_0x5e56a1(0xc8)][_0x5e56a1(0xc3)](_0x180006),_0x62a34=_0x1b9523[_0x5e56a1(0xba)][_0x5e56a1(0xbb)][_0x5e56a1(0xd0)],_0x6183b9=Array[_0x5e56a1(0xb5)](_0x62a34[_0x5e56a1(0xbc)]());_0x6183b9[_0x5e56a1(0xcb)]>0x0&&_0x2a0a8d[_0x5e56a1(0xca)](_0x6183b9,_0xc6f79f,!0x1,!0x0);}}else _0x1b9523[_0x5e56a1(0xc8)][_0x5e56a1(0xc1)](_0x5e56a1(0xb3))&&_0x1b9523[_0x5e56a1(0xc8)][_0x5e56a1(0xc3)](_0x180006)[_0x5e56a1(0xbe)](_0xc6f79f),_0x5f3a5a[_0x5e56a1(0xc4)]();});}return _0x15aebd;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0xf8828b=_0x21ed;function _0x27ba(){const _0x395a93=['includes','1506UKFejn','filter','3256110SNnTHz','toLowerCase','highlightText','items','sort','580608JUtFeC','_allSearchableItems','1283608uabhkB','groupLabel','highlightViews','length','4840HlQFoI','function','trim','4jeaQAt','_highlightQuery','770670rzyYQw','map','item','_allListItems','forEach','_clearHighlight','516268vidbzI','label','clear','source','addMany','163239vIeqBO'];_0x27ba=function(){return _0x395a93;};return _0x27ba();}(function(_0x5880c6,_0x836375){const _0x2748b5=_0x21ed,_0x20d9b7=_0x5880c6();while(!![]){try{const _0x3acf89=-parseInt(_0x2748b5(0x20c))/0x1*(-parseInt(_0x2748b5(0x1ff))/0x2)+parseInt(_0x2748b5(0x201))/0x3+-parseInt(_0x2748b5(0x207))/0x4+parseInt(_0x2748b5(0x1fc))/0x5*(-parseInt(_0x2748b5(0x1ef))/0x6)+-parseInt(_0x2748b5(0x1f6))/0x7+-parseInt(_0x2748b5(0x1f8))/0x8+parseInt(_0x2748b5(0x1f1))/0x9;if(_0x3acf89===_0x836375)break;else _0x20d9b7['push'](_0x20d9b7['shift']());}catch(_0x335013){_0x20d9b7['push'](_0x20d9b7['shift']());}}}(_0x27ba,0x50800));import{ListView as _0x2219e0}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x3b3cf3}from'es-toolkit/compat';function _0x21ed(_0x1625ef,_0x534b10){const _0x27ba23=_0x27ba();return _0x21ed=function(_0x21ed5a,_0x310cf4){_0x21ed5a=_0x21ed5a-0x1ef;let _0x14a8d5=_0x27ba23[_0x21ed5a];return _0x14a8d5;},_0x21ed(_0x1625ef,_0x534b10);}export class AIQuickActionsFilteredListView extends _0x2219e0{[_0xf8828b(0x204)];[_0xf8828b(0x1f7)];constructor(_0x4fed8,_0x26bb8c,_0x4713de){const _0x200300=_0xf8828b;super(_0x4fed8),this[_0x200300(0x204)]=_0x26bb8c,this[_0x200300(0x1f7)]=_0x4713de;}[_0xf8828b(0x1f0)](_0x1aa6aa){const _0x289e38=_0xf8828b;if(!_0x1aa6aa)return this[_0x289e38(0x1f4)][_0x289e38(0x209)](),this[_0x289e38(0x1f4)][_0x289e38(0x20b)](this[_0x289e38(0x204)]),this[_0x289e38(0x206)](),{'resultsCount':this[_0x289e38(0x204)][_0x289e38(0x1fb)],'totalItemsCount':this[_0x289e38(0x204)][_0x289e38(0x1fb)]};const _0x33755d=_0x1aa6aa[_0x289e38(0x20a)][_0x289e38(0x1f2)]()[_0x289e38(0x1fe)](),_0x1685d0=this[_0x289e38(0x1f7)][_0x289e38(0x1f0)](_0x3a2e4c=>(_0x3a2e4c[_0x289e38(0x1f9)]?_0x3a2e4c[_0x289e38(0x208)]+'\x20('+_0x3a2e4c[_0x289e38(0x1f9)]+')':_0x3a2e4c[_0x289e38(0x208)])[_0x289e38(0x1f2)]()[_0x289e38(0x20d)](_0x33755d));return this[_0x289e38(0x1f4)][_0x289e38(0x209)](),this[_0x289e38(0x1f4)][_0x289e38(0x20b)](_0x1685d0[_0x289e38(0x1f5)]((_0x4128e7,_0x42ce00)=>{const _0x56c12e=_0x289e38,_0x1d3d2a=_0x4128e7[_0x56c12e(0x1f9)],_0x4e1156=_0x42ce00[_0x56c12e(0x1f9)];return _0x1d3d2a||_0x4e1156?_0x1d3d2a?0x1:-0x1:0x0;})[_0x289e38(0x202)](_0x48196=>_0x48196[_0x289e38(0x203)])),this[_0x289e38(0x200)](_0x33755d,_0x1685d0),{'resultsCount':_0x1685d0[_0x289e38(0x1fb)],'totalItemsCount':this[_0x289e38(0x1f7)][_0x289e38(0x1fb)]};}[_0xf8828b(0x200)](_0x1ce7ec,_0x13a8be){const _0x4c6f83=_0xf8828b;if(!_0x1ce7ec)return;const _0x14e6fb=new RegExp(_0x3b3cf3(_0x1ce7ec),'gi');_0x13a8be[_0x4c6f83(0x205)](_0x38a123=>{const _0x1b94c5=_0x4c6f83;_0x38a123[_0x1b94c5(0x1fa)]&&_0x38a123[_0x1b94c5(0x1fa)][_0x1b94c5(0x205)](_0x4f6f78=>{const _0x46f9a8=_0x1b94c5;_0x46f9a8(0x1fd)==typeof _0x4f6f78[_0x46f9a8(0x1f3)]&&_0x4f6f78[_0x46f9a8(0x1f3)](_0x14e6fb);});});}[_0xf8828b(0x206)](){const _0xe2ad55=_0xf8828b;this[_0xe2ad55(0x1f7)][_0xe2ad55(0x205)](_0xfad740=>{const _0x1eeb05=_0xe2ad55;_0xfad740[_0x1eeb05(0x1fa)]&&_0xfad740[_0x1eeb05(0x1fa)][_0x1eeb05(0x205)](_0x261827=>{const _0x5499bd=_0x1eeb05;_0x5499bd(0x1fd)==typeof _0x261827[_0x5499bd(0x1f3)]&&_0x261827[_0x5499bd(0x1f3)](null);});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x311edb,_0x1c18f8){var _0x197341=_0x1faa,_0x47cda8=_0x311edb();while(!![]){try{var _0x22177a=-parseInt(_0x197341(0x1d6))/0x1*(-parseInt(_0x197341(0x1dd))/0x2)+parseInt(_0x197341(0x1db))/0x3*(parseInt(_0x197341(0x1df))/0x4)+parseInt(_0x197341(0x1d7))/0x5*(parseInt(_0x197341(0x1d2))/0x6)+parseInt(_0x197341(0x1dc))/0x7*(parseInt(_0x197341(0x1e0))/0x8)+parseInt(_0x197341(0x1e2))/0x9+parseInt(_0x197341(0x1de))/0xa*(parseInt(_0x197341(0x1d3))/0xb)+-parseInt(_0x197341(0x1da))/0xc;if(_0x22177a===_0x1c18f8)break;else _0x47cda8['push'](_0x47cda8['shift']());}catch(_0xe7201b){_0x47cda8['push'](_0x47cda8['shift']());}}}(_0x23cb,0x65899));import{View as _0x3b7923}from'ckeditor5/src/ui.js';import{getTranslation as _0x1be2c8}from'../../../aicore/utils/common-translations.js';function _0x23cb(){var _0x33b662=['445319fjvZuc','554ITWdyt','1970VqPSEd','10072bqEOmT','16ptfFHZ','div','7205679fzGcpV','1003566YxdftG','39391NZlPjP','ck-ai-balloon__disclaimer','AI_DISCLAIMER_TEXT','2627aAvVGf','15WDBgYt','setTemplate','ck-ai-balloon__disclaimer-content','35194332crUFyx','579DholDN'];_0x23cb=function(){return _0x33b662;};return _0x23cb();}function _0x1faa(_0x26586a,_0x123268){var _0x23cb0d=_0x23cb();return _0x1faa=function(_0x1faa1f,_0x1a77ef){_0x1faa1f=_0x1faa1f-0x1d2;var _0x26c2ef=_0x23cb0d[_0x1faa1f];return _0x26c2ef;},_0x1faa(_0x26586a,_0x123268);}export class AIActionsBalloonDisclaimerView extends _0x3b7923{constructor(_0x3abc3a){var _0x37ba1e=_0x1faa;super(_0x3abc3a),this[_0x37ba1e(0x1d8)]({'tag':_0x37ba1e(0x1e1),'attributes':{'class':['ck',_0x37ba1e(0x1d4)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x37ba1e(0x1d9)]},'children':[{'text':_0x1be2c8(_0x3abc3a,_0x37ba1e(0x1d5))}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0xab5fb5=_0x37c6;function _0x37c6(_0x29eaad,_0x521108){const _0x4b186a=_0x4b18();return _0x37c6=function(_0x37c673,_0x1b5ea3){_0x37c673=_0x37c673-0x101;let _0x52ddda=_0x4b186a[_0x37c673];return _0x52ddda;},_0x37c6(_0x29eaad,_0x521108);}function _0x4b18(){const _0x4b05e5=['14kSPinB','suggestButton','959172qDlOpf','_createButton','setButtonsVisibility','4257368wirFjf','17512MeAXew','items','ck-ai-button-secondary','applyButton','ck-ai-balloon__toolbar','1237068OgMPSc','9EHfaDL','set','locale','isEnabled','extendTemplate','bind','9757570MEUMnz','5245040rcBLXg','AI_BALLOON_SUGGEST_BUTTON','isVisible','55ZVRKIB','538943PZmSRa','AI_BALLOON_APPLY_BUTTON','add','2GBNUOv','258WBmhcg','ck-ai-button-primary'];_0x4b18=function(){return _0x4b05e5;};return _0x4b18();}(function(_0x4ea209,_0x3a6d86){const _0x3f4178=_0x37c6,_0x1e64c5=_0x4ea209();while(!![]){try{const _0x91c0a5=-parseInt(_0x3f4178(0x105))/0x1*(-parseInt(_0x3f4178(0x108))/0x2)+-parseInt(_0x3f4178(0x109))/0x3*(parseInt(_0x3f4178(0x111))/0x4)+parseInt(_0x3f4178(0x101))/0x5+parseInt(_0x3f4178(0x116))/0x6+parseInt(_0x3f4178(0x10b))/0x7*(-parseInt(_0x3f4178(0x110))/0x8)+-parseInt(_0x3f4178(0x117))/0x9*(-parseInt(_0x3f4178(0x11d))/0xa)+parseInt(_0x3f4178(0x104))/0xb*(-parseInt(_0x3f4178(0x10d))/0xc);if(_0x91c0a5===_0x3a6d86)break;else _0x1e64c5['push'](_0x1e64c5['shift']());}catch(_0x4487e0){_0x1e64c5['push'](_0x1e64c5['shift']());}}}(_0x4b18,0xe2e65));import{ToolbarView as _0x27c641,ButtonView as _0x38386f}from'ckeditor5/src/ui.js';import{getTranslation as _0x5c5427}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonToolbarView extends _0x27c641{constructor(_0x3c1c19,_0x59488c=!0x0,_0x55760f=!0x0){const _0x4b36f3=_0x37c6;super(_0x3c1c19),this[_0x4b36f3(0x118)](_0x4b36f3(0x11a),!0x1),_0x59488c&&(this[_0x4b36f3(0x114)]=this[_0x4b36f3(0x10e)](_0x5c5427(_0x3c1c19,_0x4b36f3(0x106)),_0x4b36f3(0x10a)),this[_0x4b36f3(0x114)][_0x4b36f3(0x11c)](_0x4b36f3(0x11a))['to'](this),this[_0x4b36f3(0x112)][_0x4b36f3(0x107)](this[_0x4b36f3(0x114)])),_0x55760f&&(this[_0x4b36f3(0x10c)]=this[_0x4b36f3(0x10e)](_0x5c5427(_0x3c1c19,_0x4b36f3(0x102)),_0x59488c?_0x4b36f3(0x113):_0x4b36f3(0x10a)),this[_0x4b36f3(0x10c)][_0x4b36f3(0x11c)](_0x4b36f3(0x11a))['to'](this),this[_0x4b36f3(0x112)][_0x4b36f3(0x107)](this[_0x4b36f3(0x10c)])),this[_0x4b36f3(0x10f)]({'showApplyButton':_0x59488c,'showSuggestButton':_0x55760f}),this[_0x4b36f3(0x11b)]({'attributes':{'class':[_0x4b36f3(0x115)]}});}[_0xab5fb5(0x10f)]({showApplyButton:_0x25624b,showSuggestButton:_0x52ee96}){const _0x400683=_0xab5fb5;this[_0x400683(0x114)]&&(this[_0x400683(0x114)][_0x400683(0x103)]=_0x25624b),this[_0x400683(0x10c)]&&(this[_0x400683(0x10c)][_0x400683(0x103)]=_0x52ee96);}[_0xab5fb5(0x10e)](_0x255df1,_0x891bad){const _0x1a6e43=_0xab5fb5,_0x567182=new _0x38386f(this[_0x1a6e43(0x119)]);return _0x567182[_0x1a6e43(0x118)]({'label':_0x255df1,'class':_0x891bad,'isVisible':!0x0,'withText':!0x0}),_0x567182;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x131fd2=_0x147c;(function(_0x321e0c,_0x193efe){const _0x2e8f53=_0x147c,_0xfb4a04=_0x321e0c();while(!![]){try{const _0x86eb2=-parseInt(_0x2e8f53(0x15b))/0x1+parseInt(_0x2e8f53(0x130))/0x2*(parseInt(_0x2e8f53(0x10f))/0x3)+parseInt(_0x2e8f53(0x162))/0x4*(-parseInt(_0x2e8f53(0x105))/0x5)+parseInt(_0x2e8f53(0xfb))/0x6+-parseInt(_0x2e8f53(0xf8))/0x7+parseInt(_0x2e8f53(0x11f))/0x8*(parseInt(_0x2e8f53(0x166))/0x9)+parseInt(_0x2e8f53(0x11b))/0xa*(parseInt(_0x2e8f53(0x147))/0xb);if(_0x86eb2===_0x193efe)break;else _0xfb4a04['push'](_0xfb4a04['shift']());}catch(_0x200b60){_0xfb4a04['push'](_0xfb4a04['shift']());}}}(_0x5df0,0xcb932));function _0x147c(_0x755e71,_0x439c7e){const _0x5df035=_0x5df0();return _0x147c=function(_0x147c9d,_0x5205d7){_0x147c9d=_0x147c9d-0xf8;let _0xbfe0e6=_0x5df035[_0x147c9d];return _0xbfe0e6;},_0x147c(_0x755e71,_0x439c7e);}import{ViewCollection as _0x264526,FocusCycler as _0x437d8a,ButtonView as _0x1024de,View as _0x1215e3}from'ckeditor5/src/ui.js';import{FocusTracker as _0x39cb82,KeystrokeHandler as _0x123ed5}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x1a6a89}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x9255ce}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x3fc1f3}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x5e9433}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x71d015}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x524ccf}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x3a2a0e}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x514b8a,IconPreviousArrow as _0x4e2925,IconRefresh as _0x5d1b83}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x104b49}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x2e99aa}from'../../../aiballoon/ui/aiballoonview.js';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x131fd2(0x156),_0x131fd2(0x10d)];export class AIActionsBalloonView extends _0x2e99aa{[_0x131fd2(0x125)];[_0x131fd2(0x16f)];[_0x131fd2(0x11e)];[_0x131fd2(0x10e)];[_0x131fd2(0xff)];[_0x131fd2(0x12a)];[_0x131fd2(0x124)];[_0x131fd2(0x127)];[_0x131fd2(0x13f)];[_0x131fd2(0x14f)];[_0x131fd2(0x141)];[_0x131fd2(0x100)];[_0x131fd2(0x101)];[_0x131fd2(0x103)];[_0x131fd2(0x131)];[_0x131fd2(0xfe)];[_0x131fd2(0x102)];constructor(_0xf9c343,_0x31ae56){const _0x307c97=_0x131fd2;super(_0xf9c343),this[_0x307c97(0x11d)](_0x307c97(0x158),!0x1),this[_0x307c97(0x11d)](_0x307c97(0x15f),!0x1),this[_0x307c97(0x11d)](_0x307c97(0x119),!0x1),this[_0x307c97(0x11d)](_0x307c97(0x165),!0x1),this[_0x307c97(0x16f)]=_0x31ae56,this[_0x307c97(0x13f)]=new _0x39cb82(),this[_0x307c97(0x14f)]=new _0x123ed5(),this[_0x307c97(0x100)]=this[_0x307c97(0x151)](),this[_0x307c97(0x125)]=new _0x437d8a({'focusables':this[_0x307c97(0x100)],'focusTracker':this[_0x307c97(0x13f)],'keystrokeHandler':this[_0x307c97(0x14f)],'actions':{'focusPrevious':_0x307c97(0x114),'focusNext':_0x307c97(0x138)}}),this[_0x307c97(0x141)]=new _0x264526(),this[_0x307c97(0x143)](_0x31ae56),this[_0x307c97(0x161)](),this[_0x307c97(0x133)](_0x31ae56),this[_0x307c97(0x100)][_0x307c97(0x134)](),this[_0x307c97(0x100)][_0x307c97(0x10b)]([this[_0x307c97(0xff)]]),this[_0x307c97(0x107)]({'tag':_0x307c97(0x15c),'attributes':{'class':[_0x307c97(0xf9)]},'children':this[_0x307c97(0x141)]}),this['on'](_0x307c97(0x11c),()=>{const _0x3acaca=_0x307c97;this[_0x3acaca(0x111)](_0x31ae56);});}[_0x131fd2(0x154)](){const _0x4ae5a1=_0x131fd2;super[_0x4ae5a1(0x154)]();for(const _0x238001 of this[_0x4ae5a1(0x100)])this[_0x4ae5a1(0x13f)][_0x4ae5a1(0x116)](_0x238001[_0x4ae5a1(0x14e)]);this[_0x4ae5a1(0x14f)][_0x4ae5a1(0x16a)](this[_0x4ae5a1(0x14e)]),this[_0x4ae5a1(0x132)]();}[_0x131fd2(0x117)](){const _0x343762=_0x131fd2;super[_0x343762(0x117)](),this[_0x343762(0x101)]&&this[_0x343762(0x101)][_0x343762(0x117)]();}[_0x131fd2(0x170)](_0x104934){const _0x2c914b=_0x131fd2;-0x1===_0x104934?this[_0x2c914b(0x125)][_0x2c914b(0x104)]():this[_0x2c914b(0x125)][_0x2c914b(0x167)]();}[_0x131fd2(0x163)](_0x437fab){const _0x53afd0=_0x131fd2;this[_0x53afd0(0x119)]=_0x437fab;}[_0x131fd2(0x140)](){const _0x5dc3d6=_0x131fd2;this[_0x5dc3d6(0x165)]=!0x0,this[_0x5dc3d6(0x12a)][_0x5dc3d6(0x160)](!0x1);}[_0x131fd2(0x146)](){const _0x3e01d4=_0x131fd2;this[_0x3e01d4(0x165)]=!0x1,this[_0x3e01d4(0x12a)][_0x3e01d4(0x160)](!0x0);}[_0x131fd2(0x15a)](_0x328e26){const _0x4df22c=_0x131fd2;super[_0x4df22c(0x15a)](_0x328e26),this[_0x4df22c(0x141)][_0x4df22c(0x14d)](this[_0x4df22c(0x14c)])||this[_0x4df22c(0x141)][_0x4df22c(0x116)](this[_0x4df22c(0x14c)],0x0);}[_0x131fd2(0x135)](){const _0x446813=_0x131fd2;super[_0x446813(0x135)](),this[_0x446813(0x146)]();}[_0x131fd2(0x169)](_0x11ba12){const _0x10ddcd=_0x131fd2;super[_0x10ddcd(0x169)](_0x11ba12),this[_0x10ddcd(0x140)]();}[_0x131fd2(0x120)](_0xbde443){const _0x182dc2=_0x131fd2;this[_0x182dc2(0x12a)][_0x182dc2(0x13d)][_0x182dc2(0x14d)](_0xbde443)||this[_0x182dc2(0x12a)][_0x182dc2(0x13d)][_0x182dc2(0x116)](_0xbde443);}[_0x131fd2(0x136)](_0xe54e64){const _0x17d9b0=_0x131fd2;this[_0x17d9b0(0x12a)][_0x17d9b0(0x13d)][_0x17d9b0(0x14d)](_0xe54e64)&&this[_0x17d9b0(0x12a)][_0x17d9b0(0x13d)][_0x17d9b0(0x129)](_0xe54e64);}[_0x131fd2(0x150)](){const _0x35d074=_0x131fd2;this[_0x35d074(0x124)]&&(this[_0x35d074(0x119)]=!0x0);}[_0x131fd2(0x144)](){const _0x240b2b=_0x131fd2;this[_0x240b2b(0x124)]&&(this[_0x240b2b(0x119)]=!0x1);}[_0x131fd2(0x111)]({showApplyButton:_0x16b0f5,showSuggestButton:_0x345faa}){const _0x45a8ff=_0x131fd2;_0x16b0f5=_0x16b0f5&&!this[_0x45a8ff(0x15f)]&&this[_0x45a8ff(0x16f)][_0x45a8ff(0x10a)][_0x45a8ff(0x10c)](_0x45a8ff(0x156)),_0x345faa=_0x345faa&&this[_0x45a8ff(0x16f)][_0x45a8ff(0x10a)][_0x45a8ff(0x10c)](_0x45a8ff(0x10d)),this[_0x45a8ff(0xff)][_0x45a8ff(0x16c)]({'showApplyButton':_0x16b0f5,'showSuggestButton':_0x345faa});}async[_0x131fd2(0xfc)](_0x5c0c45){const _0x567c9c=_0x131fd2;await this[_0x567c9c(0x10e)][_0x567c9c(0x16d)](_0x5c0c45);}[_0x131fd2(0x128)](){const _0x501806=_0x131fd2;this[_0x501806(0x10e)][_0x501806(0x134)]();}[_0x131fd2(0x143)](_0xf96d95){const _0x121be0=_0x131fd2;this[_0x121be0(0x11e)]=new _0x1215e3(this[_0x121be0(0x12b)]),this[_0x121be0(0x11e)][_0x121be0(0x107)]({'tag':_0x121be0(0x15c),'attributes':{'class':[_0x121be0(0x123)]},'children':[{'tag':_0x121be0(0x15c),'attributes':{'class':[_0x121be0(0x149)]},'children':[this[_0x121be0(0x153)](),this[_0x121be0(0x15e)]()]},this[_0x121be0(0x142)](_0xf96d95[_0x121be0(0x13a)])]}),this[_0x121be0(0x141)][_0x121be0(0x116)](this[_0x121be0(0x11e)]);}[_0x131fd2(0x161)](){const _0x264734=_0x131fd2;this[_0x264734(0x127)]=new _0x9255ce(this[_0x264734(0x12b)]),this[_0x264734(0x141)][_0x264734(0x116)](this[_0x264734(0x127)]);}[_0x131fd2(0x133)]({showApplyButton:_0x4647a6,showSuggestButton:_0x196544}){const _0x297ce5=_0x131fd2;this[_0x297ce5(0xff)]=new _0x1a6a89(this[_0x297ce5(0x12b)],_0x4647a6,_0x196544),this[_0x297ce5(0xff)][_0x297ce5(0x137)]?.['on'](_0x297ce5(0x14a),()=>{const _0x1fc2c1=_0x297ce5;this[_0x1fc2c1(0x12e)](_0x1fc2c1(0x156));}),this[_0x297ce5(0xff)][_0x297ce5(0x13c)]?.['on'](_0x297ce5(0x14a),()=>{const _0x4b60aa=_0x297ce5;this[_0x4b60aa(0x12e)](_0x4b60aa(0x10d));}),this[_0x297ce5(0xff)][_0x297ce5(0xfa)](_0x297ce5(0x148))['to'](this,_0x297ce5(0x158),this,_0x297ce5(0x119),this,_0x297ce5(0x165),(_0x5db73c,_0x3092a0,_0x21a0a1)=>!(_0x5db73c||_0x3092a0||_0x21a0a1)),this[_0x297ce5(0x111)]({'showApplyButton':_0x4647a6,'showSuggestButton':_0x196544}),this[_0x297ce5(0x141)][_0x297ce5(0x116)](this[_0x297ce5(0xff)]);}[_0x131fd2(0x142)](_0x2e9378){const _0x413b37=_0x131fd2;return this[_0x413b37(0x12a)]=new _0x5e9433(this[_0x413b37(0x12b)],_0x2e9378),this[_0x413b37(0x12a)][_0x413b37(0x12f)](..._0x71d015)['to'](this),this[_0x413b37(0x12a)]['on'](_0x413b37(0x113),()=>{const _0x15ce56=_0x413b37;this[_0x15ce56(0x12a)][_0x15ce56(0x159)]=!this[_0x15ce56(0x12a)][_0x15ce56(0x159)],this[_0x15ce56(0x12e)](_0x15ce56(0x145),{'showDiff':this[_0x15ce56(0x12a)][_0x15ce56(0x159)]});}),this[_0x413b37(0x12a)][_0x413b37(0xfa)](_0x413b37(0x148))['to'](this,_0x413b37(0x158),this,_0x413b37(0x119),(_0x2a41f6,_0x18509e)=>!(_0x2a41f6||_0x18509e)),this[_0x413b37(0x12a)];}[_0x131fd2(0x153)](){const _0x4cb353=_0x131fd2;return this[_0x4cb353(0x124)]=new _0x524ccf(this[_0x4cb353(0x12b)]),this[_0x4cb353(0x124)][_0x4cb353(0xfa)](_0x4cb353(0x109))['to'](this,_0x4cb353(0x119)),this[_0x4cb353(0x124)];}[_0x131fd2(0x15e)](){const _0x1c4b48=_0x131fd2;return this[_0x1c4b48(0x10e)]=new _0x3a2a0e(this[_0x1c4b48(0x12b)]),this[_0x1c4b48(0x10e)];}[_0x131fd2(0x16b)](){const _0x203be3=_0x131fd2,_0x5ed2d7=new _0x1024de(this[_0x203be3(0x12b)]),_0xb31349=new _0x1024de(this[_0x203be3(0x12b)]),_0x583391=new Dn(this[_0x203be3(0x12b)]),_0x3a379b=new _0x1024de(this[_0x203be3(0x12b)]);_0x5ed2d7[_0x203be3(0x11d)]({'icon':_0x5d1b83,'label':_0x104b49(this[_0x203be3(0x12b)],_0x203be3(0x139)),'tooltip':!0x0,'class':_0x203be3(0x157)}),_0xb31349[_0x203be3(0x11d)]({'icon':_0x4e2925,'tooltip':_0x104b49(this[_0x203be3(0x12b)],_0x203be3(0x106)),'class':_0x203be3(0x112)}),_0x3a379b[_0x203be3(0x11d)]({'icon':_0x514b8a,'tooltip':_0x104b49(this[_0x203be3(0x12b)],_0x203be3(0x15d)),'class':_0x203be3(0x11a)}),_0x5ed2d7[_0x203be3(0xfa)](_0x203be3(0x148))['to'](this,_0x203be3(0x158),_0x97b0ec=>!_0x97b0ec),_0x5ed2d7['on'](_0x203be3(0x14a),()=>{const _0x5c5430=_0x203be3;this[_0x5c5430(0x12e)](_0x5c5430(0x14b));}),_0xb31349[_0x203be3(0xfa)](_0x203be3(0x148))['to'](this,_0x203be3(0x158),_0x2dfe04=>!_0x2dfe04),_0xb31349['on'](_0x203be3(0x14a),()=>{const _0x1cc55f=_0x203be3;this[_0x1cc55f(0x12e)](_0x1cc55f(0x12c));}),_0x3a379b[_0x203be3(0xfa)](_0x203be3(0x148))['to'](this,_0x203be3(0x158),_0x51f284=>!_0x51f284),_0x3a379b['on'](_0x203be3(0x14a),()=>{const _0x4db9d6=_0x203be3;this[_0x4db9d6(0x12e)](_0x4db9d6(0x13b));}),this[_0x203be3(0x103)]=_0xb31349,this[_0x203be3(0x102)]=_0x583391,this[_0x203be3(0x131)]=_0x3a379b,this[_0x203be3(0xfe)]=_0x5ed2d7;}[_0x131fd2(0x118)](_0x11f593,_0x32403b){const _0x192fed=_0x131fd2;this[_0x192fed(0x103)]||this[_0x192fed(0x16b)]();const _0x274de2=_0x11f593>0x1;if(this[_0x192fed(0x120)](this[_0x192fed(0xfe)]),_0x274de2){this[_0x192fed(0x120)](this[_0x192fed(0x103)]),this[_0x192fed(0x120)](this[_0x192fed(0x102)]),this[_0x192fed(0x120)](this[_0x192fed(0x131)]);const _0x6a0aab=_0x11f593-_0x32403b;this[_0x192fed(0x102)][_0x192fed(0x168)](_0x6a0aab+'/'+_0x11f593),this[_0x192fed(0x103)][_0x192fed(0x148)]=_0x32403b<_0x11f593-0x1,this[_0x192fed(0x131)][_0x192fed(0x148)]=_0x32403b>0x0;}else this[_0x192fed(0x136)](this[_0x192fed(0x103)]),this[_0x192fed(0x136)](this[_0x192fed(0x102)]),this[_0x192fed(0x136)](this[_0x192fed(0x131)]);}[_0x131fd2(0x12d)](){const _0x145455=_0x131fd2;this[_0x145455(0xfe)][_0x145455(0x148)]=!0x1,this[_0x145455(0x103)][_0x145455(0x148)]=!0x1,this[_0x145455(0x131)][_0x145455(0x148)]=!0x1;}[_0x131fd2(0x126)](){const _0x112d81=_0x131fd2;this[_0x112d81(0x132)](),this[_0x112d81(0x101)]&&this[_0x112d81(0x101)][_0x112d81(0x122)]();}[_0x131fd2(0x155)](){const _0x4c332c=_0x131fd2;this[_0x4c332c(0x101)]&&this[_0x4c332c(0x101)][_0x4c332c(0x16e)]();}[_0x131fd2(0xfd)](_0x7d3313){const _0x1209d6=_0x131fd2;this[_0x1209d6(0x119)]=_0x7d3313;}[_0x131fd2(0x164)](){const _0x42e7cb=_0x131fd2;this[_0x42e7cb(0x12a)][_0x42e7cb(0x159)]=!0x1;}[_0x131fd2(0x132)](){const _0x207dce=_0x131fd2,_0x520f10=this[_0x207dce(0x110)]();_0x520f10&&!this[_0x207dce(0x101)]&&(this[_0x207dce(0x101)]=new _0x3fc1f3(_0x520f10));}[_0x131fd2(0x110)](){const _0x1f4577=_0x131fd2;return this[_0x1f4577(0x10e)][_0x1f4577(0x14e)];}}function _0x5df0(){const _0x4dcddd=['createCollection','ck-ai-interaction-counter','_createLoaderView','render','stopAutoScroll','applySuggestion','ck-ai-custom-action-button','isBusy','isShowChangesOn','showError','1481496FQNoQN','div','AI_ACTIONS_NEXT_INTERACTION','_createStreamableContentView','isTrackChangesOn','toggleShowChangesEnabled','_addDisclaimerView','2895348mtbMqH','setIsLoading','resetShowChangesButton','_hasError','333qmCLgp','focusFirst','setInteractionCount','showBlockingError','listenTo','_setupMiniToolbarButtons','setButtonsVisibility','update','stop','_config','focus','9499245vAmkKo','ck-ai-actions-balloon-main','bind','4483752zFodxo','updateContent','toggleIsLoading','_navigationTryAgainButton','_toolbarView','_focusables','_scrollManager','_navigationCounter','_navigationPreviousButton','focusLast','5PiPKBU','AI_ACTIONS_PREVIOUS_INTERACTION','setTemplate','interactionCount','isVisible','availableActions','addMany','includes','insertSuggestion','_streamableContentView','78423wdbmuj','_getScrollableElement','_toggleToolbarButtonsVisibility','ck-ai-navigation-button\x20ck-ai-previous-button','toggleShowChanges','shift\x20+\x20tab','span','add','destroy','updateMiniToolbarButtons','_isLoading','ck-ai-navigation-button\x20ck-ai-next-button','160850NmMsAk','change:isTrackChangesOn','set','_contentWrapper','167288GTdIhY','addMiniToolbarItem','bindTemplate','start','ck-ai-actions-balloon-content','_loaderView','focusCycler','startAutoScroll','_disclaimerView','clearContent','remove','_miniToolbarView','locale','showPrevious','disableMiniToolbarButtons','fire','delegate','12UKegYf','_navigationNextButton','_initializeScrollManager','_addToolbar','clear','hideError','removeMiniToolbarItem','applyButton','tab','AI_ACTIONS_TRY_AGAIN','miniToolbarConfig','showNext','suggestButton','items','1/1','_focusTracker','setErrorState','_dialogContent','_createMiniToolbar','_addContentWrapper','hideLoader','toggleSuggestionDisplayMode','clearErrorState','1859hbhdLN','isEnabled','ck-ai-actions-balloon-content-wrapper','execute','tryAgain','_errorView','has','element','_keystrokes','showLoader'];_0x5df0=function(){return _0x4dcddd;};return _0x5df0();}class Dn extends _0x1215e3{constructor(_0x556e48){const _0xdfec07=_0x131fd2;super(_0x556e48);const _0x514124=this[_0xdfec07(0x121)];this[_0xdfec07(0x11d)](_0xdfec07(0x108),_0xdfec07(0x13e)),this[_0xdfec07(0x107)]({'tag':_0xdfec07(0x115),'attributes':{'class':[_0xdfec07(0x152)]},'children':[{'text':_0x514124['to'](_0xdfec07(0x108))}]});}[_0x131fd2(0x168)](_0x35cb62){const _0x1f5812=_0x131fd2;this[_0x1f5812(0x11d)](_0x1f5812(0x108),_0x35cb62);}}
|
|
23
|
+
const _0x1a6633=_0x34a7;(function(_0x38fb6b,_0x5361d1){const _0x352364=_0x34a7,_0x1f4737=_0x38fb6b();while(!![]){try{const _0x36338f=-parseInt(_0x352364(0xaf))/0x1*(-parseInt(_0x352364(0xe8))/0x2)+parseInt(_0x352364(0xa4))/0x3*(parseInt(_0x352364(0x93))/0x4)+parseInt(_0x352364(0xbe))/0x5+-parseInt(_0x352364(0x9c))/0x6*(-parseInt(_0x352364(0x8b))/0x7)+parseInt(_0x352364(0xb8))/0x8+-parseInt(_0x352364(0xec))/0x9+-parseInt(_0x352364(0xbd))/0xa;if(_0x36338f===_0x5361d1)break;else _0x1f4737['push'](_0x1f4737['shift']());}catch(_0x3ba3da){_0x1f4737['push'](_0x1f4737['shift']());}}}(_0x20f7,0x2e65d));import{ViewCollection as _0x1d0dc9,FocusCycler as _0x52635e,ButtonView as _0x1c8847,View as _0x562f25}from'ckeditor5/src/ui.js';import{FocusTracker as _0x537ae0,KeystrokeHandler as _0x1a422b}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x1e964b}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x472855}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x1dc96b}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x4718e4}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';function _0x34a7(_0x5187a2,_0x514298){const _0x20f772=_0x20f7();return _0x34a7=function(_0x34a721,_0x57150b){_0x34a721=_0x34a721-0x7a;let _0x4dfae4=_0x20f772[_0x34a721];return _0x4dfae4;},_0x34a7(_0x5187a2,_0x514298);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x446de9}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x411793}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x80a27c}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x56ae29,IconPreviousArrow as _0x3dca8c,IconRefresh as _0x25656f}from'@ckeditor/ckeditor5-icons';function _0x20f7(){const _0x5d7ed3=['bindTemplate','3330830touWIv','246105lxkhQR','shift\x20+\x20tab','bind','_errorView','AI_ACTIONS_NEXT_INTERACTION','_toolbarView','start','showNext','ck-ai-actions-balloon-content','ck-ai-navigation-button\x20ck-ai-next-button','hideError','fire','showLoader','_addContentWrapper','clearErrorState','setInteractionCount','_addDisclaimerView','span','_keystrokes','removeMiniToolbarItem','items','ck-ai-actions-balloon-main','setButtonsVisibility','setTemplate','_disclaimerView','listenTo','includes','_navigationNextButton','1/1','_createStreamableContentView','addMany','_navigationPreviousButton','isBusy','AI_ACTIONS_TRY_AGAIN','_loaderView','suggestButton','_focusables','_focusTracker','add','disableMiniToolbarButtons','ck-ai-navigation-button\x20ck-ai-previous-button','remove','148PQNIly','_initializeScrollManager','clearContent','focusCycler','3003309RytRSR','_setupMiniToolbarButtons','AI_ACTIONS_PREVIOUS_INTERACTION','setIsLoading','set','_hasError','hideLoader','toggleSuggestionDisplayMode','focus','destroy','_contentWrapper','_dialogContent','locale','stopAutoScroll','_createLoaderView','updateMiniToolbarButtons','startAutoScroll','focusFirst','addMiniToolbarItem','createCollection','element','change:isTrackChangesOn','ck-ai-custom-action-button','2432479mAaWIM','_scrollManager','focusLast','delegate','showError','showBlockingError','_miniToolbarView','_navigationCounter','177884GAfwop','ck-ai-interaction-counter','tab','ck-ai-actions-balloon-content-wrapper','_getScrollableElement','_streamableContentView','_toggleToolbarButtonsVisibility','setErrorState','isShowChangesOn','6eyOgsq','_isLoading','_navigationTryAgainButton','showPrevious','miniToolbarConfig','insertSuggestion','div','isVisible','3zofMCE','isEnabled','interactionCount','isTrackChangesOn','applySuggestion','_createMiniToolbar','_config','render','has','_addToolbar','toggleShowChangesEnabled','3764bltJzR','updateContent','update','stop','toggleIsLoading','execute','applyButton','clear','availableActions','1096832CbCKll','tryAgain','resetShowChangesButton','toggleShowChanges'];_0x20f7=function(){return _0x5d7ed3;};return _0x20f7();}import{getTranslation as _0x4b5ad0}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x1ca4ce}from'../../../aiballoon/ui/aiballoonview.js';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x1a6633(0xa8),_0x1a6633(0xa1)];export class AIActionsBalloonView extends _0x1ca4ce{[_0x1a6633(0xeb)];[_0x1a6633(0xaa)];[_0x1a6633(0x7e)];[_0x1a6633(0x98)];[_0x1a6633(0xc3)];[_0x1a6633(0x91)];[_0x1a6633(0xe0)];[_0x1a6633(0xd6)];[_0x1a6633(0xe3)];[_0x1a6633(0xd0)];[_0x1a6633(0x7f)];[_0x1a6633(0xe2)];[_0x1a6633(0x8c)];[_0x1a6633(0xdd)];[_0x1a6633(0xd9)];[_0x1a6633(0x9e)];[_0x1a6633(0x92)];constructor(_0x359d81,_0x12f748){const _0x32655c=_0x1a6633;super(_0x359d81),this[_0x32655c(0xf0)](_0x32655c(0xde),!0x1),this[_0x32655c(0xf0)](_0x32655c(0xa7),!0x1),this[_0x32655c(0xf0)](_0x32655c(0x9d),!0x1),this[_0x32655c(0xf0)](_0x32655c(0xf1),!0x1),this[_0x32655c(0xaa)]=_0x12f748,this[_0x32655c(0xe3)]=new _0x537ae0(),this[_0x32655c(0xd0)]=new _0x1a422b(),this[_0x32655c(0xe2)]=this[_0x32655c(0x87)](),this[_0x32655c(0xeb)]=new _0x52635e({'focusables':this[_0x32655c(0xe2)],'focusTracker':this[_0x32655c(0xe3)],'keystrokeHandler':this[_0x32655c(0xd0)],'actions':{'focusPrevious':_0x32655c(0xbf),'focusNext':_0x32655c(0x95)}}),this[_0x32655c(0x7f)]=new _0x1d0dc9(),this[_0x32655c(0xcb)](_0x12f748),this[_0x32655c(0xce)](),this[_0x32655c(0xad)](_0x12f748),this[_0x32655c(0xe2)][_0x32655c(0xb6)](),this[_0x32655c(0xe2)][_0x32655c(0xdc)]([this[_0x32655c(0xc3)]]),this[_0x32655c(0xd5)]({'tag':_0x32655c(0xa2),'attributes':{'class':[_0x32655c(0xd3)]},'children':this[_0x32655c(0x7f)]}),this['on'](_0x32655c(0x89),()=>{const _0x5b911b=_0x32655c;this[_0x5b911b(0x99)](_0x12f748);});}[_0x1a6633(0xab)](){const _0x1d0f12=_0x1a6633;super[_0x1d0f12(0xab)]();for(const _0x3dd2de of this[_0x1d0f12(0xe2)])this[_0x1d0f12(0xe3)][_0x1d0f12(0xe4)](_0x3dd2de[_0x1d0f12(0x88)]);this[_0x1d0f12(0xd0)][_0x1d0f12(0xd7)](this[_0x1d0f12(0x88)]),this[_0x1d0f12(0xe9)]();}[_0x1a6633(0x7d)](){const _0x17912a=_0x1a6633;super[_0x17912a(0x7d)](),this[_0x17912a(0x8c)]&&this[_0x17912a(0x8c)][_0x17912a(0x7d)]();}[_0x1a6633(0x7c)](_0x3aa450){const _0xfb084a=_0x1a6633;-0x1===_0x3aa450?this[_0xfb084a(0xeb)][_0xfb084a(0x8d)]():this[_0xfb084a(0xeb)][_0xfb084a(0x85)]();}[_0x1a6633(0xef)](_0xd282cc){const _0x278de5=_0x1a6633;this[_0x278de5(0x9d)]=_0xd282cc;}[_0x1a6633(0x9a)](){const _0x51dd45=_0x1a6633;this[_0x51dd45(0xf1)]=!0x0,this[_0x51dd45(0x91)][_0x51dd45(0xae)](!0x1);}[_0x1a6633(0xcc)](){const _0x5d6f7c=_0x1a6633;this[_0x5d6f7c(0xf1)]=!0x1,this[_0x5d6f7c(0x91)][_0x5d6f7c(0xae)](!0x0);}[_0x1a6633(0x8f)](_0x5e5630){const _0x5820d3=_0x1a6633;super[_0x5820d3(0x8f)](_0x5e5630),this[_0x5820d3(0x7f)][_0x5820d3(0xac)](this[_0x5820d3(0xc1)])||this[_0x5820d3(0x7f)][_0x5820d3(0xe4)](this[_0x5820d3(0xc1)],0x0);}[_0x1a6633(0xc8)](){const _0x26e2e7=_0x1a6633;super[_0x26e2e7(0xc8)](),this[_0x26e2e7(0xcc)]();}[_0x1a6633(0x90)](_0x1b8ba8){const _0x23ceae=_0x1a6633;super[_0x23ceae(0x90)](_0x1b8ba8),this[_0x23ceae(0x9a)]();}[_0x1a6633(0x86)](_0x4b8062){const _0x4df9e9=_0x1a6633;this[_0x4df9e9(0x91)][_0x4df9e9(0xd2)][_0x4df9e9(0xac)](_0x4b8062)||this[_0x4df9e9(0x91)][_0x4df9e9(0xd2)][_0x4df9e9(0xe4)](_0x4b8062);}[_0x1a6633(0xd1)](_0xad131f){const _0x14cc58=_0x1a6633;this[_0x14cc58(0x91)][_0x14cc58(0xd2)][_0x14cc58(0xac)](_0xad131f)&&this[_0x14cc58(0x91)][_0x14cc58(0xd2)][_0x14cc58(0xe7)](_0xad131f);}[_0x1a6633(0xca)](){const _0x22bd56=_0x1a6633;this[_0x22bd56(0xe0)]&&(this[_0x22bd56(0x9d)]=!0x0);}[_0x1a6633(0x7a)](){const _0x424e2e=_0x1a6633;this[_0x424e2e(0xe0)]&&(this[_0x424e2e(0x9d)]=!0x1);}[_0x1a6633(0x99)]({showApplyButton:_0x252d63,showSuggestButton:_0x5b37e0}){const _0x2e8ff3=_0x1a6633;_0x252d63=_0x252d63&&!this[_0x2e8ff3(0xa7)]&&this[_0x2e8ff3(0xaa)][_0x2e8ff3(0xb7)][_0x2e8ff3(0xd8)](_0x2e8ff3(0xa8)),_0x5b37e0=_0x5b37e0&&this[_0x2e8ff3(0xaa)][_0x2e8ff3(0xb7)][_0x2e8ff3(0xd8)](_0x2e8ff3(0xa1)),this[_0x2e8ff3(0xc3)][_0x2e8ff3(0xd4)]({'showApplyButton':_0x252d63,'showSuggestButton':_0x5b37e0});}async[_0x1a6633(0xb0)](_0x27eb55){const _0x4a7598=_0x1a6633;await this[_0x4a7598(0x98)][_0x4a7598(0xb1)](_0x27eb55);}[_0x1a6633(0xea)](){const _0x36dc49=_0x1a6633;this[_0x36dc49(0x98)][_0x36dc49(0xb6)]();}[_0x1a6633(0xcb)](_0x4ac783){const _0x494e4f=_0x1a6633;this[_0x494e4f(0x7e)]=new _0x562f25(this[_0x494e4f(0x80)]),this[_0x494e4f(0x7e)][_0x494e4f(0xd5)]({'tag':_0x494e4f(0xa2),'attributes':{'class':[_0x494e4f(0xc6)]},'children':[{'tag':_0x494e4f(0xa2),'attributes':{'class':[_0x494e4f(0x96)]},'children':[this[_0x494e4f(0x82)](),this[_0x494e4f(0xdb)]()]},this[_0x494e4f(0xa9)](_0x4ac783[_0x494e4f(0xa0)])]}),this[_0x494e4f(0x7f)][_0x494e4f(0xe4)](this[_0x494e4f(0x7e)]);}[_0x1a6633(0xce)](){const _0x26de6e=_0x1a6633;this[_0x26de6e(0xd6)]=new _0x472855(this[_0x26de6e(0x80)]),this[_0x26de6e(0x7f)][_0x26de6e(0xe4)](this[_0x26de6e(0xd6)]);}[_0x1a6633(0xad)]({showApplyButton:_0x288d65,showSuggestButton:_0x54cb46}){const _0x556bfd=_0x1a6633;this[_0x556bfd(0xc3)]=new _0x1e964b(this[_0x556bfd(0x80)],_0x288d65,_0x54cb46),this[_0x556bfd(0xc3)][_0x556bfd(0xb5)]?.['on'](_0x556bfd(0xb4),()=>{const _0x58b6a1=_0x556bfd;this[_0x58b6a1(0xc9)](_0x58b6a1(0xa8));}),this[_0x556bfd(0xc3)][_0x556bfd(0xe1)]?.['on'](_0x556bfd(0xb4),()=>{const _0x340779=_0x556bfd;this[_0x340779(0xc9)](_0x340779(0xa1));}),this[_0x556bfd(0xc3)][_0x556bfd(0xc0)](_0x556bfd(0xa5))['to'](this,_0x556bfd(0xde),this,_0x556bfd(0x9d),this,_0x556bfd(0xf1),(_0x4f5ba5,_0x4d78cf,_0x4cf0e3)=>!(_0x4f5ba5||_0x4d78cf||_0x4cf0e3)),this[_0x556bfd(0x99)]({'showApplyButton':_0x288d65,'showSuggestButton':_0x54cb46}),this[_0x556bfd(0x7f)][_0x556bfd(0xe4)](this[_0x556bfd(0xc3)]);}[_0x1a6633(0xa9)](_0x42089d){const _0x16355d=_0x1a6633;return this[_0x16355d(0x91)]=new _0x4718e4(this[_0x16355d(0x80)],_0x42089d),this[_0x16355d(0x91)][_0x16355d(0x8e)](..._0x446de9)['to'](this),this[_0x16355d(0x91)]['on'](_0x16355d(0xbb),()=>{const _0x867305=_0x16355d;this[_0x867305(0x91)][_0x867305(0x9b)]=!this[_0x867305(0x91)][_0x867305(0x9b)],this[_0x867305(0xc9)](_0x867305(0x7b),{'showDiff':this[_0x867305(0x91)][_0x867305(0x9b)]});}),this[_0x16355d(0x91)][_0x16355d(0xc0)](_0x16355d(0xa5))['to'](this,_0x16355d(0xde),this,_0x16355d(0x9d),(_0x382e4d,_0x7f43e4)=>!(_0x382e4d||_0x7f43e4)),this[_0x16355d(0x91)];}[_0x1a6633(0x82)](){const _0x160e03=_0x1a6633;return this[_0x160e03(0xe0)]=new _0x411793(this[_0x160e03(0x80)]),this[_0x160e03(0xe0)][_0x160e03(0xc0)](_0x160e03(0xa3))['to'](this,_0x160e03(0x9d)),this[_0x160e03(0xe0)];}[_0x1a6633(0xdb)](){const _0x3e8dd7=_0x1a6633;return this[_0x3e8dd7(0x98)]=new _0x80a27c(this[_0x3e8dd7(0x80)]),this[_0x3e8dd7(0x98)];}[_0x1a6633(0xed)](){const _0x11067c=_0x1a6633,_0x5ee307=new _0x1c8847(this[_0x11067c(0x80)]),_0x2f281b=new _0x1c8847(this[_0x11067c(0x80)]),_0x1ff40b=new Ln(this[_0x11067c(0x80)]),_0x3a66c8=new _0x1c8847(this[_0x11067c(0x80)]);_0x5ee307[_0x11067c(0xf0)]({'icon':_0x25656f,'label':_0x4b5ad0(this[_0x11067c(0x80)],_0x11067c(0xdf)),'tooltip':!0x0,'class':_0x11067c(0x8a)}),_0x2f281b[_0x11067c(0xf0)]({'icon':_0x3dca8c,'tooltip':_0x4b5ad0(this[_0x11067c(0x80)],_0x11067c(0xee)),'class':_0x11067c(0xe6)}),_0x3a66c8[_0x11067c(0xf0)]({'icon':_0x56ae29,'tooltip':_0x4b5ad0(this[_0x11067c(0x80)],_0x11067c(0xc2)),'class':_0x11067c(0xc7)}),_0x5ee307[_0x11067c(0xc0)](_0x11067c(0xa5))['to'](this,_0x11067c(0xde),_0x119c5e=>!_0x119c5e),_0x5ee307['on'](_0x11067c(0xb4),()=>{const _0x2b27d5=_0x11067c;this[_0x2b27d5(0xc9)](_0x2b27d5(0xb9));}),_0x2f281b[_0x11067c(0xc0)](_0x11067c(0xa5))['to'](this,_0x11067c(0xde),_0x18de2d=>!_0x18de2d),_0x2f281b['on'](_0x11067c(0xb4),()=>{const _0x4786a3=_0x11067c;this[_0x4786a3(0xc9)](_0x4786a3(0x9f));}),_0x3a66c8[_0x11067c(0xc0)](_0x11067c(0xa5))['to'](this,_0x11067c(0xde),_0x550b47=>!_0x550b47),_0x3a66c8['on'](_0x11067c(0xb4),()=>{const _0xb9afd1=_0x11067c;this[_0xb9afd1(0xc9)](_0xb9afd1(0xc5));}),this[_0x11067c(0xdd)]=_0x2f281b,this[_0x11067c(0x92)]=_0x1ff40b,this[_0x11067c(0xd9)]=_0x3a66c8,this[_0x11067c(0x9e)]=_0x5ee307;}[_0x1a6633(0x83)](_0x2bc573,_0x367961){const _0x361f7d=_0x1a6633;this[_0x361f7d(0xdd)]||this[_0x361f7d(0xed)]();const _0x252f94=_0x2bc573>0x1;if(this[_0x361f7d(0x86)](this[_0x361f7d(0x9e)]),_0x252f94){this[_0x361f7d(0x86)](this[_0x361f7d(0xdd)]),this[_0x361f7d(0x86)](this[_0x361f7d(0x92)]),this[_0x361f7d(0x86)](this[_0x361f7d(0xd9)]);const _0x1b7863=_0x2bc573-_0x367961;this[_0x361f7d(0x92)][_0x361f7d(0xcd)](_0x1b7863+'/'+_0x2bc573),this[_0x361f7d(0xdd)][_0x361f7d(0xa5)]=_0x367961<_0x2bc573-0x1,this[_0x361f7d(0xd9)][_0x361f7d(0xa5)]=_0x367961>0x0;}else this[_0x361f7d(0xd1)](this[_0x361f7d(0xdd)]),this[_0x361f7d(0xd1)](this[_0x361f7d(0x92)]),this[_0x361f7d(0xd1)](this[_0x361f7d(0xd9)]);}[_0x1a6633(0xe5)](){const _0x25de02=_0x1a6633;this[_0x25de02(0x9e)][_0x25de02(0xa5)]=!0x1,this[_0x25de02(0xdd)][_0x25de02(0xa5)]=!0x1,this[_0x25de02(0xd9)][_0x25de02(0xa5)]=!0x1;}[_0x1a6633(0x84)](){const _0x261126=_0x1a6633;this[_0x261126(0xe9)](),this[_0x261126(0x8c)]&&this[_0x261126(0x8c)][_0x261126(0xc4)]();}[_0x1a6633(0x81)](){const _0x3276ee=_0x1a6633;this[_0x3276ee(0x8c)]&&this[_0x3276ee(0x8c)][_0x3276ee(0xb2)]();}[_0x1a6633(0xb3)](_0x174aa5){const _0x17f198=_0x1a6633;this[_0x17f198(0x9d)]=_0x174aa5;}[_0x1a6633(0xba)](){const _0x591932=_0x1a6633;this[_0x591932(0x91)][_0x591932(0x9b)]=!0x1;}[_0x1a6633(0xe9)](){const _0x1b2615=_0x1a6633,_0x1a8d38=this[_0x1b2615(0x97)]();_0x1a8d38&&!this[_0x1b2615(0x8c)]&&(this[_0x1b2615(0x8c)]=new _0x1dc96b(_0x1a8d38));}[_0x1a6633(0x97)](){const _0x24a0e9=_0x1a6633;return this[_0x24a0e9(0x98)][_0x24a0e9(0x88)];}}class Ln extends _0x562f25{constructor(_0x421049){const _0x4063a7=_0x1a6633;super(_0x421049);const _0x44fb91=this[_0x4063a7(0xbc)];this[_0x4063a7(0xf0)](_0x4063a7(0xa6),_0x4063a7(0xda)),this[_0x4063a7(0xd5)]({'tag':_0x4063a7(0xcf),'attributes':{'class':[_0x4063a7(0x94)]},'children':[{'text':_0x44fb91['to'](_0x4063a7(0xa6))}]});}[_0x1a6633(0xcd)](_0xa7ff88){const _0x340bd8=_0x1a6633;this[_0x340bd8(0xf0)](_0x340bd8(0xa6),_0xa7ff88);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xcfda(){const _0x441ae1=['add','1177wNwpoW','ck-dropdown-menu-list__nested-menu__button__arrow','mouseenter','extendTemplate','set','render','content','5803238QlnorM','2220312fMPYxH','bindTemplate','children','38299tYJzKb','2264040nojwxz','6FwMywi','_createArrowView','menuitem','ck-dropdown-menu-list__nested-menu__button','arrowView','845tsOgKB','28PoaxPQ','26410kJGLTs','isOn','13108SusjmN','3452583CqtEeB'];_0xcfda=function(){return _0x441ae1;};return _0xcfda();}const _0x2b3201=_0xc058;function _0xc058(_0x16a7d3,_0x26bf1d){const _0xcfda4c=_0xcfda();return _0xc058=function(_0xc05841,_0x8fd26b){_0xc05841=_0xc05841-0x117;let _0x17676e=_0xcfda4c[_0xc05841];return _0x17676e;},_0xc058(_0x16a7d3,_0x26bf1d);}(function(_0x50baed,_0x3f0760){const _0x3287f2=_0xc058,_0x152294=_0x50baed();while(!![]){try{const _0x1f06ad=parseInt(_0x3287f2(0x12b))/0x1*(-parseInt(_0x3287f2(0x11a))/0x2)+parseInt(_0x3287f2(0x11e))/0x3+-parseInt(_0x3287f2(0x11d))/0x4*(parseInt(_0x3287f2(0x119))/0x5)+parseInt(_0x3287f2(0x12d))/0x6*(parseInt(_0x3287f2(0x127))/0x7)+parseInt(_0x3287f2(0x128))/0x8+-parseInt(_0x3287f2(0x12c))/0x9+parseInt(_0x3287f2(0x11b))/0xa*(-parseInt(_0x3287f2(0x120))/0xb);if(_0x1f06ad===_0x3f0760)break;else _0x152294['push'](_0x152294['shift']());}catch(_0x23e66a){_0x152294['push'](_0x152294['shift']());}}}(_0xcfda,0x9a9c8));import{IconView as _0x41acbf,ListItemButtonView as _0x15dce2}from'ckeditor5/src/ui.js';import{IconDropdownArrow as _0x1498ab}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x15dce2{[_0x2b3201(0x118)];constructor(_0x4128e0,_0x11f7a3){const _0x70fa1a=_0x2b3201;super(_0x4128e0,_0x11f7a3);const _0x481526=this[_0x70fa1a(0x129)];this[_0x70fa1a(0x124)]({'withText':!0x0,'role':_0x70fa1a(0x12f)}),this[_0x70fa1a(0x118)]=this[_0x70fa1a(0x12e)](),this[_0x70fa1a(0x123)]({'attributes':{'class':[_0x70fa1a(0x117)],'aria-haspopup':!0x0,'aria-expanded':this[_0x70fa1a(0x129)]['to'](_0x70fa1a(0x11c),_0x28ca5e=>String(_0x28ca5e)),'data-cke-tooltip-disabled':_0x481526['to'](_0x70fa1a(0x11c))},'on':{'mouseenter':_0x481526['to'](_0x70fa1a(0x122))}});}[_0x2b3201(0x125)](){const _0x3f9cad=_0x2b3201;super[_0x3f9cad(0x125)](),this[_0x3f9cad(0x12a)][_0x3f9cad(0x11f)](this[_0x3f9cad(0x118)]);}[_0x2b3201(0x12e)](){const _0xb87762=_0x2b3201,_0x5308f3=new _0x41acbf();return _0x5308f3[_0xb87762(0x126)]=_0x1498ab,_0x5308f3[_0xb87762(0x123)]({'attributes':{'class':_0xb87762(0x121)}}),_0x5308f3;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2bfda3=_0x39eb;(function(_0x3478e9,_0x417191){const _0x22d3cc=_0x39eb,_0x16405a=_0x3478e9();while(!![]){try{const _0x57ab24=-parseInt(_0x22d3cc(0x120))/0x1*(parseInt(_0x22d3cc(0x10f))/0x2)+-parseInt(_0x22d3cc(0xc3))/0x3*(parseInt(_0x22d3cc(0x105))/0x4)+-parseInt(_0x22d3cc(0xd5))/0x5+parseInt(_0x22d3cc(0xd4))/0x6*(-parseInt(_0x22d3cc(0x97))/0x7)+-parseInt(_0x22d3cc(0x106))/0x8*(parseInt(_0x22d3cc(0x11e))/0x9)+parseInt(_0x22d3cc(0x107))/0xa+parseInt(_0x22d3cc(0xb3))/0xb;if(_0x57ab24===_0x417191)break;else _0x16405a['push'](_0x16405a['shift']());}catch(_0x74a76f){_0x16405a['push'](_0x16405a['shift']());}}}(_0x2831,0x3fc15));function _0x2831(){const _0x83c7ae=['aborted','ai-review-mode-no-current-check-run','_currentReviewCheckRun','showReviewCompletedView','_onCheckRunFinished','reviewCheckResultDeactivated','getEditor','error-general','deactivateChange','args','listenTo','status','rejectChange','runReviewCheck','getDocumentData','getChangeElement','leaveReview','showNoChangesView','map','_changeActivationSource','21kQicou','hideChangeBalloon','finished','error-chunk','changeMarkerClicked','ai-review-mode-check-run-failed','params','_diffContent','_markChangePositionInEditorContent','_onChangeMarkerHovered','hasModifications','subTitle','includes','message','_onChangeMarkerRemoved','showGeneralReviewCoreErrorView','activateChange','showCheckRunResult','abort','acceptChange','loading','getActiveChanges','_onReviewCheckResultDeactivated','get','_aiReviewCheckList','markChangeAsAccepted','_onReviewCheckRun','_onReviewRunLeave','12954557jPQlsn','title','context','_createReviewCheckRun','isPremiumPlugin','changeMarkerRestored','ai-review-mode-check-run-chunk-error','markChangeAsOutdated','processedResultsCount','retryReview','ck-ai_review-diff','ai-request-aborted','isOfficialPlugin','_onChangeMarkerBlurred','sendRating','emitter','3123AjrDNb','markAllChangesAsAccepted','requires','restart','_aiReviewCoreEditing','change','_scrollToChange','forceReadyState','showActionsWhenResultIsReady','result','_logError','showCheckRunResults','view','applyChange','acceptAllChanges','.ck-ai_review__check-run-result','changeMarkerBlurred','140046ITAXOf','911275mgWpNo','getRoot','reviewCheckRunUpdated','updateChangeState','setCheckResultTitle','documentData','ai-review-mode-check-run-general-error','dismissChange','panel','reviewCheckResultReady','ck-ai_review-highlights','changeId','unmodified','_getTranslationWithDefault','changes','_onChangeMarkerRestored','contentInitial','setAvailableChecks','showReviewCheckList','changeMarkerHovered','markChangeAsRejected','contentNew','_initRequiredPlugins','init','_onDeactivateChange','getCheckById','isChangeActive','data','reviewCheckResultAdded','length','_getChecksList','changeMarkerRemoved','AIConnector','content','finishReview','addResultChanges','checks','closest','ready','source','_onActivateChange','ck-ai-translate-mode-content','_getChangeContentElement','ai-review-mode-models-unable-to-retrieve','getReviewCheckList','switchToEdit','_aiReviewCoreUi','showChunkErrorView','1064JhWsOf','88TUQWkH','447820bGxQUW','stopListening','locale','showGeneralResultsErrorView','markChangeAsPending','_onChangeMarkerClicked','plugins','start','2336OpPeKA','_aiConnector','startsWith','currentError','reviewCheckResultActivated','ai-review-mode-source-check-not-found','clearAllMarkers','_onReviewCheckResultActivated','abortReviewStream','updateDocumentData','removeClass','document','editing','leaveReviewCoreResultList','reviewCheckResultChangeStatusUpdated','60192PCJegN','switchToReadOnly','307YbgyFX'];_0x2831=function(){return _0x83c7ae;};return _0x2831();}import{ContextPlugin as _0x3c4c87}from'ckeditor5/src/core.js';function _0x39eb(_0x156e0a,_0x1d273f){const _0x283143=_0x2831();return _0x39eb=function(_0x39ebe7,_0x2e3f4b){_0x39ebe7=_0x39ebe7-0x89;let _0x1b0147=_0x283143[_0x39ebe7];return _0x1b0147;},_0x39eb(_0x156e0a,_0x1d273f);}import{CKEditorError as _0x1e421d,logError as _0x20e0c0,scrollAncestorsToShowTarget as _0x3b4990,scrollViewportToShowTarget as _0x16ddb1}from'ckeditor5/src/utils.js';import{AIReviewSystemCheckRun as _0x34685c}from'./model/aireviewsystemcheckrun.js';import{getTranslation as _0x29f7e5}from'../aicore/utils/common-translations.js';import{AIConnector as _0x50aa77}from'../aicore/aiconnector.js';export class AIReviewCoreController extends _0x3c4c87{[_0x2bfda3(0x110)];[_0x2bfda3(0x103)];[_0x2bfda3(0xc7)];[_0x2bfda3(0xaf)];[_0x2bfda3(0x123)];[_0x2bfda3(0x96)]=null;static get[_0x2bfda3(0xc5)](){return[_0x50aa77];}static get[_0x2bfda3(0xbf)](){return!0x0;}static get[_0x2bfda3(0xb7)](){return!0x0;}async[_0x2bfda3(0xec)](){const _0xf35a5d=_0x2bfda3;this[_0xf35a5d(0xeb)](),this[_0xf35a5d(0xaf)]=await this[_0xf35a5d(0xf3)](),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0x103)],_0xf35a5d(0x101),()=>{const _0x235a83=_0xf35a5d;this[_0x235a83(0x103)][_0x235a83(0xe6)](this[_0x235a83(0xaf)][_0x235a83(0xf9)]);}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0x103)],_0xf35a5d(0x90),async(_0x2eb1be,_0x22efa6)=>{const _0x3ad3c0=_0xf35a5d,_0x19b3e6=this[_0x3ad3c0(0xaf)][_0x3ad3c0(0xee)](_0x22efa6['id']);if(_0x19b3e6){this[_0x3ad3c0(0xb1)](_0x22efa6),this[_0x3ad3c0(0xc7)][_0x3ad3c0(0x11f)](),this[_0x3ad3c0(0x123)]=this[_0x3ad3c0(0xb6)](_0x22efa6,_0x19b3e6),this[_0x3ad3c0(0x103)][_0x3ad3c0(0xd9)](this[_0x3ad3c0(0x123)][_0x3ad3c0(0xb4)],this[_0x3ad3c0(0x123)][_0x3ad3c0(0xa2)]),this[_0x3ad3c0(0x123)]['on'](_0x3ad3c0(0xd7),(_0x2c6649,_0x541eaa)=>{const _0x1b9e96=_0x3ad3c0;switch(_0x541eaa[_0x1b9e96(0x8e)]){case _0x1b9e96(0xf0):case _0x1b9e96(0xab):this[_0x1b9e96(0x103)][_0x1b9e96(0xce)](_0x541eaa);break;case _0x1b9e96(0x99):this[_0x1b9e96(0x125)]();break;case _0x1b9e96(0xfb):this[_0x1b9e96(0x103)][_0x1b9e96(0xcb)]();break;case _0x1b9e96(0xe1):this[_0x1b9e96(0x103)][_0x1b9e96(0x94)]();break;case _0x1b9e96(0x8a):this[_0x1b9e96(0x103)][_0x1b9e96(0x10a)](),this[_0x1b9e96(0xcd)](new _0x1e421d(_0x1b9e96(0xdb),this,void 0x0,this[_0x1b9e96(0x123)]?.[_0x1b9e96(0x112)]));break;case _0x1b9e96(0x9a):this[_0x1b9e96(0x103)][_0x1b9e96(0x104)](),this[_0x1b9e96(0xcd)](new _0x1e421d(_0x1b9e96(0xb9),this,void 0x0,this[_0x1b9e96(0x123)]?.[_0x1b9e96(0x112)]));break;case _0x1b9e96(0x121):this[_0x1b9e96(0x123)]&&this[_0x1b9e96(0x123)][_0x1b9e96(0xbb)]>0x0?setTimeout(()=>{const _0xc7a91f=_0x1b9e96;this[_0xc7a91f(0x123)]?.[_0xc7a91f(0xca)]();},0x0):this[_0x1b9e96(0xb2)](!0x0);}_0x1b9e96(0xfb)!==_0x541eaa[_0x1b9e96(0x8e)]&&_0x1b9e96(0x9a)!==_0x541eaa[_0x1b9e96(0x8e)]&&_0x1b9e96(0x8a)!==_0x541eaa[_0x1b9e96(0x8e)]||this[_0x1b9e96(0x123)]?.[_0x1b9e96(0xc1)]();}),this[_0x3ad3c0(0x123)]['on'](_0x3ad3c0(0xf1),(_0x22a06f,_0x224f4f)=>{const _0xf150ee=_0x3ad3c0;if(!this[_0xf150ee(0x123)])throw new _0x1e421d(_0xf150ee(0x122),this);const _0x49c120=this[_0xf150ee(0x9e)](_0x224f4f[_0xf150ee(0xcc)][_0xf150ee(0xe5)],_0x224f4f[_0xf150ee(0xcc)][_0xf150ee(0xea)]);_0x224f4f[_0xf150ee(0xfc)][_0xf150ee(0xf8)](_0x224f4f[_0xf150ee(0xcc)]['id'],_0x49c120);}),this[_0x3ad3c0(0x123)]['on'](_0x3ad3c0(0xde),(_0x19f2d3,_0x52123c)=>{const _0x1ee168=_0x3ad3c0;for(const _0x1fb58c of _0x52123c[_0x1ee168(0xe3)])this[_0x1ee168(0x103)][_0x1ee168(0xa8)](_0x1fb58c);this[_0x1ee168(0x9f)](_0x52123c[_0x1ee168(0xe3)],_0x52123c[_0x1ee168(0xfc)][_0x1ee168(0xda)]);}),this[_0x3ad3c0(0x123)]['on'](_0x3ad3c0(0x11d),(_0x270c5b,_0x2ef6f3)=>{const _0x3df94e=_0x3ad3c0;this[_0x3df94e(0x103)][_0x3df94e(0xd8)](_0x2ef6f3[_0x3df94e(0xc8)]['id'],_0x2ef6f3[_0x3df94e(0x8e)]);}),this[_0x3ad3c0(0x123)]['on'](_0x3ad3c0(0x113),(_0x348d53,_0x311ff1)=>{const _0x560c2f=_0x3ad3c0;this[_0x560c2f(0x116)](_0x311ff1);}),this[_0x3ad3c0(0x123)]['on'](_0x3ad3c0(0x126),()=>{const _0x3f438a=_0x3ad3c0;this[_0x3f438a(0xad)]();});try{await this[_0x3ad3c0(0x123)][_0x3ad3c0(0x10e)]();}catch(_0x2073fb){_0x2073fb instanceof Error&&_0x2073fb[_0x3ad3c0(0xa4)][_0x3ad3c0(0xa3)](_0x3ad3c0(0xbe))||(_0x2073fb instanceof _0x1e421d?this[_0x3ad3c0(0xcd)](_0x2073fb):this[_0x3ad3c0(0xcd)](new _0x1e421d(_0x3ad3c0(0x9c),this,void 0x0,_0x2073fb)));}}else this[_0x3ad3c0(0xcd)](new _0x1e421d(_0x3ad3c0(0x114),this,{'checkId':_0x22efa6['id']}));}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0x103)],_0xf35a5d(0x93),()=>{const _0x1a7faf=_0xf35a5d;this[_0x1a7faf(0xb2)]();}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0x103)],_0xf35a5d(0x11c),()=>{const _0x30add1=_0xf35a5d;this[_0x30add1(0xb2)](!0x0);}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0x103)],_0xf35a5d(0x117),()=>{const _0x57367c=_0xf35a5d;this[_0x57367c(0x123)]&&this[_0x57367c(0x123)][_0x57367c(0xa9)]();}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0x103)],_0xf35a5d(0xf7),()=>{const _0xd7c153=_0xf35a5d;this[_0xd7c153(0xb2)](!0x0);}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0x103)],_0xf35a5d(0xd1),()=>{const _0x304ac9=_0xf35a5d;if(!this[_0x304ac9(0x123)])return;const _0x1b36d9=this[_0x304ac9(0x123)][_0x304ac9(0xac)]();if(!_0x1b36d9[_0x304ac9(0xf2)])return;this[_0x304ac9(0xc7)][_0x304ac9(0xd0)](_0x1b36d9[_0x304ac9(0x95)](_0x583e74=>_0x583e74['id']));const _0x5ceaa4=this[_0x304ac9(0x123)];_0x5ceaa4[_0x304ac9(0xc4)](),_0x5ceaa4[_0x304ac9(0xc1)]();}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0x103)],_0xf35a5d(0xaa),(_0x5020bd,_0x594a46)=>{const _0x5d952c=_0xf35a5d;this[_0x5d952c(0x123)]&&this[_0x5d952c(0x123)][_0x5d952c(0xef)](_0x594a46['id'])&&(this[_0x5d952c(0xc7)][_0x5d952c(0xd0)]([_0x594a46['id']]),this[_0x5d952c(0x123)][_0x5d952c(0xb0)](_0x594a46['id']),this[_0x5d952c(0x103)][_0x5d952c(0x98)](),this[_0x5d952c(0x123)][_0x5d952c(0xc1)](_0x594a46['id']));}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0x103)],_0xf35a5d(0xdc),(_0x462462,_0x26da2f)=>{const _0x2b4377=_0xf35a5d;this[_0x2b4377(0x123)]&&this[_0x2b4377(0x123)][_0x2b4377(0xef)](_0x26da2f['id'])&&(this[_0x2b4377(0xc7)][_0x2b4377(0x8f)](_0x26da2f['id']),this[_0x2b4377(0x123)][_0x2b4377(0xe9)](_0x26da2f['id']),this[_0x2b4377(0x103)][_0x2b4377(0x98)](),this[_0x2b4377(0x123)][_0x2b4377(0xc1)](_0x26da2f['id']));}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0x103)],_0xf35a5d(0xbc),async()=>{const _0x181c12=_0xf35a5d;this[_0x181c12(0x123)]&&(this[_0x181c12(0xc7)][_0x181c12(0x115)](),this[_0x181c12(0x123)][_0x181c12(0x118)](this[_0x181c12(0xc7)][_0x181c12(0x91)]()),await this[_0x181c12(0x123)][_0x181c12(0xc6)]());}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0x103)],_0xf35a5d(0xa7),(_0x336c02,_0x2a5921)=>{const _0xac18fb=_0xf35a5d;this[_0xac18fb(0xfd)](_0x2a5921);}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0x103)],_0xf35a5d(0x8b),(_0x1f2c06,_0x1c49cf)=>{const _0x5b071b=_0xf35a5d;this[_0x5b071b(0xed)](_0x1c49cf);}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0xc7)][_0xf35a5d(0xc2)],_0xf35a5d(0x9b),(_0x4f930e,_0x3b3cd2)=>{const _0x35a27a=_0xf35a5d;this[_0x35a27a(0x10c)](_0x4f930e,_0x3b3cd2);}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0xc7)][_0xf35a5d(0xc2)],_0xf35a5d(0xe8),(_0x5b338e,_0xdfe14d)=>{const _0x18adba=_0xf35a5d;this[_0x18adba(0xa0)](_0x5b338e,_0xdfe14d);}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0xc7)][_0xf35a5d(0xc2)],_0xf35a5d(0xd3),()=>{const _0x313cdb=_0xf35a5d;this[_0x313cdb(0xc0)]();}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0xc7)][_0xf35a5d(0xc2)],_0xf35a5d(0xf4),(_0xfe00d7,_0x482bcc)=>{const _0x4e1340=_0xf35a5d;this[_0x4e1340(0xa5)](_0xfe00d7,_0x482bcc);}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0xc7)][_0xf35a5d(0xc2)],_0xf35a5d(0xb8),(_0x598ebd,_0x4c7aca)=>{const _0x224963=_0xf35a5d;this[_0x224963(0xe4)](_0x598ebd,_0x4c7aca);});}[_0x2bfda3(0xb6)](_0x1f72fe,_0x4a4d67){const _0xa9df6d=_0x2bfda3;return new _0x34685c(this[_0xa9df6d(0xc7)][_0xa9df6d(0x91)](),_0x4a4d67,this[_0xa9df6d(0x110)],_0x1f72fe[_0xa9df6d(0x9d)],_0x1f72fe[_0xa9df6d(0x8c)]);}[_0x2bfda3(0xa5)](_0xdde4e2,_0x51a480){const _0xa3a34e=_0x2bfda3;this[_0xa3a34e(0x123)]&&this[_0xa3a34e(0x123)][_0xa3a34e(0xba)](_0x51a480[_0xa3a34e(0xe0)]);}[_0x2bfda3(0xe4)](_0x24f646,_0x664207){const _0x23dac8=_0x2bfda3;this[_0x23dac8(0x123)]&&this[_0x23dac8(0x123)][_0x23dac8(0x10b)](_0x664207[_0x23dac8(0xe0)]);}[_0x2bfda3(0x125)](){const _0x242415=_0x2bfda3;this[_0x242415(0x103)][_0x242415(0x124)]();}[_0x2bfda3(0xeb)](){const _0x1eb4f3=_0x2bfda3;this[_0x1eb4f3(0x110)]=this[_0x1eb4f3(0xb5)][_0x1eb4f3(0x10d)][_0x1eb4f3(0xae)](_0x1eb4f3(0xf5));}[_0x2bfda3(0xb2)](_0x55a370=!0x1){const _0x23153a=_0x2bfda3;this[_0x23153a(0x123)]&&(this[_0x23153a(0x123)][_0x23153a(0xa1)]||this[_0x23153a(0x123)][_0x23153a(0xc1)](),this[_0x23153a(0x123)][_0x23153a(0x108)](),this[_0x23153a(0x123)][_0x23153a(0xa9)](),this[_0x23153a(0x123)]=void 0x0),_0x55a370&&this[_0x23153a(0x103)][_0x23153a(0xe7)](),this[_0x23153a(0xc7)][_0x23153a(0x115)](),this[_0x23153a(0xc7)][_0x23153a(0x102)](),this[_0x23153a(0x96)]=null;const _0x589632=this[_0x23153a(0xc7)][_0x23153a(0x89)]();_0x589632&&_0x589632[_0x23153a(0x11b)][_0x23153a(0xcf)][_0x23153a(0xc8)](_0x3c4330=>{const _0x1c7935=_0x23153a,_0x4f1c92=_0x589632[_0x1c7935(0x11b)][_0x1c7935(0xcf)][_0x1c7935(0x11a)][_0x1c7935(0xd6)]();_0x3c4330[_0x1c7935(0x119)](_0x1c7935(0xbd),_0x4f1c92),_0x3c4330[_0x1c7935(0x119)](_0x1c7935(0xdf),_0x4f1c92),_0x3c4330[_0x1c7935(0x119)](_0x1c7935(0xfe),_0x4f1c92);});}[_0x2bfda3(0xe2)](_0x14cc2b,_0x5476f4){const _0x2b5305=_0x2bfda3,_0x4ec374=this[_0x2b5305(0xb5)][_0x2b5305(0x109)],_0x583509=_0x29f7e5(_0x4ec374,_0x14cc2b);return _0x583509===_0x14cc2b?_0x5476f4:_0x583509;}[_0x2bfda3(0xcd)](_0x384a1e,_0x3228a7=!0x1){const _0x15090b=_0x2bfda3;_0x20e0c0(_0x384a1e[_0x15090b(0xa4)]),_0x3228a7||(_0x384a1e[_0x15090b(0xa4)][_0x15090b(0x111)](_0x15090b(0x100))?this[_0x15090b(0x103)][_0x15090b(0xa6)]():this[_0x15090b(0x103)][_0x15090b(0x10a)]());}[_0x2bfda3(0xc9)](_0x2135bb){const _0x294afa=_0x2bfda3;if(_0x294afa(0xf6)===this[_0x294afa(0x96)]){const _0x357aa7=this[_0x294afa(0x103)][_0x294afa(0x92)](_0x2135bb);_0x357aa7&&_0x3b4990(_0x357aa7[_0x294afa(0xfa)](_0x294afa(0xd2))||_0x357aa7);}else{if(_0x294afa(0xdd)===this[_0x294afa(0x96)]){const _0x490a5e=this[_0x294afa(0xff)](_0x2135bb);if(!_0x490a5e)return;_0x16ddb1({'target':_0x490a5e,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0});}}}}
|
|
23
|
+
const _0x51c21f=_0x3c30;(function(_0x126b3a,_0x30e5fa){const _0x338d1f=_0x3c30,_0x18a996=_0x126b3a();while(!![]){try{const _0x4c6458=-parseInt(_0x338d1f(0x1af))/0x1+parseInt(_0x338d1f(0x15f))/0x2*(-parseInt(_0x338d1f(0x1c8))/0x3)+parseInt(_0x338d1f(0x15b))/0x4+-parseInt(_0x338d1f(0x1a4))/0x5*(-parseInt(_0x338d1f(0x181))/0x6)+parseInt(_0x338d1f(0x1d3))/0x7*(parseInt(_0x338d1f(0x17e))/0x8)+-parseInt(_0x338d1f(0x1ca))/0x9+parseInt(_0x338d1f(0x1b3))/0xa;if(_0x4c6458===_0x30e5fa)break;else _0x18a996['push'](_0x18a996['shift']());}catch(_0x2a0c01){_0x18a996['push'](_0x18a996['shift']());}}}(_0x4335,0x41ee9));function _0x4335(){const _0x5d6478=['error-chunk','length','change','acceptChange','_getTranslationWithDefault','_aiReviewCoreEditing','getDocumentData','_onChangeMarkerRemoved','hideChangeBalloon','context','_aiReviewCoreUi','17874pHUPEB','checks','874188wQlkOv','panel','reviewCheckResultAdded','reviewCheckResultReady','markAllChangesAsAccepted','markChangeAsRejected','error-general','changeMarkerRestored','hasModifications','189ZCRFiO','markChangeAsPending','unmodified','data','markChangeAsOutdated','loading','_diffContent','switchToEdit','activateChange','restart','finishReview','view','acceptAllChanges','_onChangeMarkerHovered','retryReview','reviewCheckRunUpdated','_onDeactivateChange','showCheckRunResults','leaveReviewCoreResultList','_createReviewCheckRun','_scrollToChange','status','ai-review-mode-check-run-failed','markChangeAsAccepted','document','aborted','closest','ai-review-mode-no-current-check-run','_onReviewRunLeave','ai-review-mode-models-unable-to-retrieve','_markChangePositionInEditorContent','_onReviewCheckResultActivated','ck-ai_review-diff','deactivateChange','documentData','stopListening','editing','1028556UNZFNH','reviewCheckResultActivated','init','ck-ai-translate-mode-content','74zxqlAH','_onReviewCheckRun','getEditor','reviewCheckResultChangeStatusUpdated','_aiReviewCheckList','isChangeActive','showChunkErrorView','ai-review-mode-check-run-general-error','getCheckById','abortReviewStream','getChangeElement','sendRating','addResultChanges','getRoot','_aiConnector','removeClass','ck-ai_review-highlights','changeMarkerHovered','requires','AIConnector','updateDocumentData','_logError','args','_getChangeContentElement','message','currentError','clearAllMarkers','dismissChange','_onChangeMarkerClicked','applyChange','processedResultsCount','58768kJSrHb','listenTo','forceReadyState','408558ONaHMB','_onChangeMarkerBlurred','leaveReview','get','_onReviewCheckResultDeactivated','switchToReadOnly','showGeneralResultsErrorView','changeMarkerClicked','isOfficialPlugin','setCheckResultTitle','ai-review-mode-source-check-not-found','setAvailableChecks','changeMarkerRemoved','reviewCheckResultDeactivated','plugins','ai-request-aborted','changeId','_onCheckRunFinished','map','finished','showActionsWhenResultIsReady','showGeneralReviewCoreErrorView','includes','showReviewCheckList','changes','start','title','updateChangeState','params','result','getActiveChanges','isPremiumPlugin','_currentReviewCheckRun','changeMarkerBlurred','contentInitial','10DYdJnR','showReviewCompletedView','ai-review-mode-check-run-chunk-error','_initRequiredPlugins','runReviewCheck','showNoChangesView','rejectChange','source','emitter','subTitle','content','187608mGWxwd','_onActivateChange','locale','ready','1835760OBfWPs','.ck-ai_review__check-run-result','abort','contentNew','_changeActivationSource','showCheckRunResult','getReviewCheckList','_getChecksList','_onChangeMarkerRestored','startsWith'];_0x4335=function(){return _0x5d6478;};return _0x4335();}function _0x3c30(_0x1fdb31,_0x586c83){const _0x433552=_0x4335();return _0x3c30=function(_0x3c30fd,_0x2e83f5){_0x3c30fd=_0x3c30fd-0x15b;let _0x5cefcc=_0x433552[_0x3c30fd];return _0x5cefcc;},_0x3c30(_0x1fdb31,_0x586c83);}import{ContextPlugin as _0x52e372}from'ckeditor5/src/core.js';import{CKEditorError as _0x5deb78,logError as _0x1ee28f,scrollAncestorsToShowTarget as _0x17952e,scrollViewportToShowTarget as _0x3d713a}from'ckeditor5/src/utils.js';import{AIReviewSystemCheckRun as _0xa6edb1}from'./model/aireviewsystemcheckrun.js';import{getTranslation as _0x3f4403}from'../aicore/utils/common-translations.js';import{AIConnector as _0x189328}from'../aicore/aiconnector.js';export class AIReviewCoreController extends _0x52e372{[_0x51c21f(0x16d)];[_0x51c21f(0x1c7)];[_0x51c21f(0x1c2)];[_0x51c21f(0x163)];[_0x51c21f(0x1a1)];[_0x51c21f(0x1b7)]=null;static get[_0x51c21f(0x171)](){return[_0x189328];}static get[_0x51c21f(0x189)](){return!0x0;}static get[_0x51c21f(0x1a0)](){return!0x0;}async[_0x51c21f(0x15d)](){const _0x2fbd34=_0x51c21f;this[_0x2fbd34(0x1a7)](),this[_0x2fbd34(0x163)]=await this[_0x2fbd34(0x1ba)](),this[_0x2fbd34(0x17f)](this[_0x2fbd34(0x1c7)],_0x2fbd34(0x1b9),()=>{const _0x3a7b01=_0x2fbd34;this[_0x3a7b01(0x1c7)][_0x3a7b01(0x18c)](this[_0x3a7b01(0x163)][_0x3a7b01(0x1c9)]);}),this[_0x2fbd34(0x17f)](this[_0x2fbd34(0x1c7)],_0x2fbd34(0x1a8),async(_0x1bd5f5,_0x1200d6)=>{const _0xc91d44=_0x2fbd34,_0x36f2f9=this[_0xc91d44(0x163)][_0xc91d44(0x167)](_0x1200d6['id']);if(_0x36f2f9){this[_0xc91d44(0x160)](_0x1200d6),this[_0xc91d44(0x1c2)][_0xc91d44(0x186)](),this[_0xc91d44(0x1a1)]=this[_0xc91d44(0x1e6)](_0x1200d6,_0x36f2f9),this[_0xc91d44(0x1c7)][_0xc91d44(0x18a)](this[_0xc91d44(0x1a1)][_0xc91d44(0x19b)],this[_0xc91d44(0x1a1)][_0xc91d44(0x1ad)]),this[_0xc91d44(0x1a1)]['on'](_0xc91d44(0x1e2),(_0x1ca14f,_0x7d3ef)=>{const _0x3a1671=_0xc91d44;switch(_0x7d3ef[_0x3a1671(0x1e8)]){case _0x3a1671(0x1d6):case _0x3a1671(0x1d8):this[_0x3a1671(0x1c7)][_0x3a1671(0x1e4)](_0x7d3ef);break;case _0x3a1671(0x194):this[_0x3a1671(0x192)]();break;case _0x3a1671(0x1b2):this[_0x3a1671(0x1c7)][_0x3a1671(0x195)]();break;case _0x3a1671(0x1d5):this[_0x3a1671(0x1c7)][_0x3a1671(0x1a9)]();break;case _0x3a1671(0x1d0):this[_0x3a1671(0x1c7)][_0x3a1671(0x187)](),this[_0x3a1671(0x174)](new _0x5deb78(_0x3a1671(0x166),this,void 0x0,this[_0x3a1671(0x1a1)]?.[_0x3a1671(0x178)]));break;case _0x3a1671(0x1bd):this[_0x3a1671(0x1c7)][_0x3a1671(0x165)](),this[_0x3a1671(0x174)](new _0x5deb78(_0x3a1671(0x1a6),this,void 0x0,this[_0x3a1671(0x1a1)]?.[_0x3a1671(0x178)]));break;case _0x3a1671(0x1ec):this[_0x3a1671(0x1a1)]&&this[_0x3a1671(0x1a1)][_0x3a1671(0x17d)]>0x0?setTimeout(()=>{const _0x15cdd9=_0x3a1671;this[_0x15cdd9(0x1a1)]?.[_0x15cdd9(0x180)]();},0x0):this[_0x3a1671(0x1ef)](!0x0);}_0x3a1671(0x1b2)!==_0x7d3ef[_0x3a1671(0x1e8)]&&_0x3a1671(0x1bd)!==_0x7d3ef[_0x3a1671(0x1e8)]&&_0x3a1671(0x1d0)!==_0x7d3ef[_0x3a1671(0x1e8)]||this[_0x3a1671(0x1a1)]?.[_0x3a1671(0x16a)]();}),this[_0xc91d44(0x1a1)]['on'](_0xc91d44(0x1cc),(_0xb80f05,_0xda42a3)=>{const _0x54bd4c=_0xc91d44;if(!this[_0x54bd4c(0x1a1)])throw new _0x5deb78(_0x54bd4c(0x1ee),this);const _0x45d23e=this[_0x54bd4c(0x1d9)](_0xda42a3[_0x54bd4c(0x19e)][_0x54bd4c(0x1a3)],_0xda42a3[_0x54bd4c(0x19e)][_0x54bd4c(0x1b6)]);_0xda42a3[_0x54bd4c(0x1ab)][_0x54bd4c(0x16b)](_0xda42a3[_0x54bd4c(0x19e)]['id'],_0x45d23e);}),this[_0xc91d44(0x1a1)]['on'](_0xc91d44(0x1cd),(_0x4c0114,_0x1f28d2)=>{const _0x1fd5a0=_0xc91d44;for(const _0x4aa84d of _0x1f28d2[_0x1fd5a0(0x199)])this[_0x1fd5a0(0x1c7)][_0x1fd5a0(0x1b8)](_0x4aa84d);this[_0x1fd5a0(0x1f1)](_0x1f28d2[_0x1fd5a0(0x199)],_0x1f28d2[_0x1fd5a0(0x1ab)][_0x1fd5a0(0x1f5)]);}),this[_0xc91d44(0x1a1)]['on'](_0xc91d44(0x162),(_0x1aa4be,_0x311a56)=>{const _0x4e8a41=_0xc91d44;this[_0x4e8a41(0x1c7)][_0x4e8a41(0x19c)](_0x311a56[_0x4e8a41(0x1bf)]['id'],_0x311a56[_0x4e8a41(0x1e8)]);}),this[_0xc91d44(0x1a1)]['on'](_0xc91d44(0x15c),(_0x44d074,_0x286c96)=>{const _0x8b6f8e=_0xc91d44;this[_0x8b6f8e(0x1f2)](_0x286c96);}),this[_0xc91d44(0x1a1)]['on'](_0xc91d44(0x18e),()=>{const _0xc45f4f=_0xc91d44;this[_0xc45f4f(0x185)]();});try{await this[_0xc91d44(0x1a1)][_0xc91d44(0x19a)]();}catch(_0x5c0b85){_0x5c0b85 instanceof Error&&_0x5c0b85[_0xc91d44(0x177)][_0xc91d44(0x197)](_0xc91d44(0x190))||(_0x5c0b85 instanceof _0x5deb78?this[_0xc91d44(0x174)](_0x5c0b85):this[_0xc91d44(0x174)](new _0x5deb78(_0xc91d44(0x1e9),this,void 0x0,_0x5c0b85)));}}else this[_0xc91d44(0x174)](new _0x5deb78(_0xc91d44(0x18b),this,{'checkId':_0x1200d6['id']}));}),this[_0x2fbd34(0x17f)](this[_0x2fbd34(0x1c7)],_0x2fbd34(0x183),()=>{const _0x5e9444=_0x2fbd34;this[_0x5e9444(0x1ef)]();}),this[_0x2fbd34(0x17f)](this[_0x2fbd34(0x1c7)],_0x2fbd34(0x1e5),()=>{const _0x2ce9d5=_0x2fbd34;this[_0x2ce9d5(0x1ef)](!0x0);}),this[_0x2fbd34(0x17f)](this[_0x2fbd34(0x1c7)],_0x2fbd34(0x168),()=>{const _0x3c629b=_0x2fbd34;this[_0x3c629b(0x1a1)]&&this[_0x3c629b(0x1a1)][_0x3c629b(0x1b5)]();}),this[_0x2fbd34(0x17f)](this[_0x2fbd34(0x1c7)],_0x2fbd34(0x1dd),()=>{const _0x3d9fc7=_0x2fbd34;this[_0x3d9fc7(0x1ef)](!0x0);}),this[_0x2fbd34(0x17f)](this[_0x2fbd34(0x1c7)],_0x2fbd34(0x1df),()=>{const _0x103200=_0x2fbd34;if(!this[_0x103200(0x1a1)])return;const _0x3b7dca=this[_0x103200(0x1a1)][_0x103200(0x19f)]();if(!_0x3b7dca[_0x103200(0x1be)])return;this[_0x103200(0x1c2)][_0x103200(0x17c)](_0x3b7dca[_0x103200(0x193)](_0x1bbb45=>_0x1bbb45['id']));const _0x5a4a5a=this[_0x103200(0x1a1)];_0x5a4a5a[_0x103200(0x1ce)](),_0x5a4a5a[_0x103200(0x16a)]();}),this[_0x2fbd34(0x17f)](this[_0x2fbd34(0x1c7)],_0x2fbd34(0x1c0),(_0x361e28,_0x169aa8)=>{const _0x14eceb=_0x2fbd34;this[_0x14eceb(0x1a1)]&&this[_0x14eceb(0x1a1)][_0x14eceb(0x164)](_0x169aa8['id'])&&(this[_0x14eceb(0x1c2)][_0x14eceb(0x17c)]([_0x169aa8['id']]),this[_0x14eceb(0x1a1)][_0x14eceb(0x1ea)](_0x169aa8['id']),this[_0x14eceb(0x1c7)][_0x14eceb(0x1c5)](),this[_0x14eceb(0x1a1)][_0x14eceb(0x16a)](_0x169aa8['id']));}),this[_0x2fbd34(0x17f)](this[_0x2fbd34(0x1c7)],_0x2fbd34(0x17a),(_0x41d150,_0x48b45a)=>{const _0x27c4fa=_0x2fbd34;this[_0x27c4fa(0x1a1)]&&this[_0x27c4fa(0x1a1)][_0x27c4fa(0x164)](_0x48b45a['id'])&&(this[_0x27c4fa(0x1c2)][_0x27c4fa(0x1aa)](_0x48b45a['id']),this[_0x27c4fa(0x1a1)][_0x27c4fa(0x1cf)](_0x48b45a['id']),this[_0x27c4fa(0x1c7)][_0x27c4fa(0x1c5)](),this[_0x27c4fa(0x1a1)][_0x27c4fa(0x16a)](_0x48b45a['id']));}),this[_0x2fbd34(0x17f)](this[_0x2fbd34(0x1c7)],_0x2fbd34(0x1e1),async()=>{const _0x16468f=_0x2fbd34;this[_0x16468f(0x1a1)]&&(this[_0x16468f(0x1c2)][_0x16468f(0x179)](),this[_0x16468f(0x1a1)][_0x16468f(0x173)](this[_0x16468f(0x1c2)][_0x16468f(0x1c3)]()),await this[_0x16468f(0x1a1)][_0x16468f(0x1dc)]());}),this[_0x2fbd34(0x17f)](this[_0x2fbd34(0x1c7)],_0x2fbd34(0x1db),(_0x957716,_0x3435f3)=>{const _0x457a74=_0x2fbd34;this[_0x457a74(0x1b0)](_0x3435f3);}),this[_0x2fbd34(0x17f)](this[_0x2fbd34(0x1c7)],_0x2fbd34(0x1f4),(_0x182c8b,_0x1bf689)=>{const _0x506d6e=_0x2fbd34;this[_0x506d6e(0x1e3)](_0x1bf689);}),this[_0x2fbd34(0x17f)](this[_0x2fbd34(0x1c2)][_0x2fbd34(0x1ac)],_0x2fbd34(0x188),(_0x15fb01,_0x3293aa)=>{const _0x14de2a=_0x2fbd34;this[_0x14de2a(0x17b)](_0x15fb01,_0x3293aa);}),this[_0x2fbd34(0x17f)](this[_0x2fbd34(0x1c2)][_0x2fbd34(0x1ac)],_0x2fbd34(0x170),(_0x3a59b8,_0x3c0828)=>{const _0x54e1b2=_0x2fbd34;this[_0x54e1b2(0x1e0)](_0x3a59b8,_0x3c0828);}),this[_0x2fbd34(0x17f)](this[_0x2fbd34(0x1c2)][_0x2fbd34(0x1ac)],_0x2fbd34(0x1a2),()=>{const _0x1f0a8d=_0x2fbd34;this[_0x1f0a8d(0x182)]();}),this[_0x2fbd34(0x17f)](this[_0x2fbd34(0x1c2)][_0x2fbd34(0x1ac)],_0x2fbd34(0x18d),(_0x8fdf33,_0x2b7261)=>{const _0x24dcea=_0x2fbd34;this[_0x24dcea(0x1c4)](_0x8fdf33,_0x2b7261);}),this[_0x2fbd34(0x17f)](this[_0x2fbd34(0x1c2)][_0x2fbd34(0x1ac)],_0x2fbd34(0x1d1),(_0x2610ee,_0x424589)=>{const _0x42609e=_0x2fbd34;this[_0x42609e(0x1bb)](_0x2610ee,_0x424589);});}[_0x51c21f(0x1e6)](_0x304877,_0x47f987){const _0xd26bbd=_0x51c21f;return new _0xa6edb1(this[_0xd26bbd(0x1c2)][_0xd26bbd(0x1c3)](),_0x47f987,this[_0xd26bbd(0x16d)],_0x304877[_0xd26bbd(0x19d)],_0x304877[_0xd26bbd(0x175)]);}[_0x51c21f(0x1c4)](_0x8487d5,_0x3cfd80){const _0x59735f=_0x51c21f;this[_0x59735f(0x1a1)]&&this[_0x59735f(0x1a1)][_0x59735f(0x1d7)](_0x3cfd80[_0x59735f(0x191)]);}[_0x51c21f(0x1bb)](_0x4f25d4,_0x13eb41){const _0x4d171f=_0x51c21f;this[_0x4d171f(0x1a1)]&&this[_0x4d171f(0x1a1)][_0x4d171f(0x1d4)](_0x13eb41[_0x4d171f(0x191)]);}[_0x51c21f(0x192)](){const _0x31ac3c=_0x51c21f;this[_0x31ac3c(0x1c7)][_0x31ac3c(0x1a5)]();}[_0x51c21f(0x1a7)](){const _0x2e18e2=_0x51c21f;this[_0x2e18e2(0x16d)]=this[_0x2e18e2(0x1c6)][_0x2e18e2(0x18f)][_0x2e18e2(0x184)](_0x2e18e2(0x172));}[_0x51c21f(0x1ef)](_0x1fa4bb=!0x1){const _0x493523=_0x51c21f;this[_0x493523(0x1a1)]&&(this[_0x493523(0x1a1)][_0x493523(0x1d2)]||this[_0x493523(0x1a1)][_0x493523(0x16a)](),this[_0x493523(0x1a1)][_0x493523(0x1f6)](),this[_0x493523(0x1a1)][_0x493523(0x1b5)](),this[_0x493523(0x1a1)]=void 0x0),_0x1fa4bb&&this[_0x493523(0x1c7)][_0x493523(0x198)](),this[_0x493523(0x1c2)][_0x493523(0x179)](),this[_0x493523(0x1c2)][_0x493523(0x1da)](),this[_0x493523(0x1b7)]=null;const _0x22d0eb=this[_0x493523(0x1c2)][_0x493523(0x161)]();_0x22d0eb&&_0x22d0eb[_0x493523(0x1f7)][_0x493523(0x1de)][_0x493523(0x1bf)](_0x26be9b=>{const _0x2b8d09=_0x493523,_0x2a8472=_0x22d0eb[_0x2b8d09(0x1f7)][_0x2b8d09(0x1de)][_0x2b8d09(0x1eb)][_0x2b8d09(0x16c)]();_0x26be9b[_0x2b8d09(0x16e)](_0x2b8d09(0x1f3),_0x2a8472),_0x26be9b[_0x2b8d09(0x16e)](_0x2b8d09(0x16f),_0x2a8472),_0x26be9b[_0x2b8d09(0x16e)](_0x2b8d09(0x15e),_0x2a8472);});}[_0x51c21f(0x1c1)](_0x482b71,_0x2078c9){const _0x16dcc7=_0x51c21f,_0x406843=this[_0x16dcc7(0x1c6)][_0x16dcc7(0x1b1)],_0x5e176b=_0x3f4403(_0x406843,_0x482b71);return _0x5e176b===_0x482b71?_0x2078c9:_0x5e176b;}[_0x51c21f(0x174)](_0x26bfaf,_0x1c9017=!0x1){const _0x389900=_0x51c21f;_0x1ee28f(_0x26bfaf[_0x389900(0x177)]),_0x1c9017||(_0x26bfaf[_0x389900(0x177)][_0x389900(0x1bc)](_0x389900(0x1f0))?this[_0x389900(0x1c7)][_0x389900(0x196)]():this[_0x389900(0x1c7)][_0x389900(0x187)]());}[_0x51c21f(0x1e7)](_0x203807){const _0x4d4850=_0x51c21f;if(_0x4d4850(0x1ae)===this[_0x4d4850(0x1b7)]){const _0x36ae9c=this[_0x4d4850(0x1c7)][_0x4d4850(0x169)](_0x203807);_0x36ae9c&&_0x17952e(_0x36ae9c[_0x4d4850(0x1ed)](_0x4d4850(0x1b4))||_0x36ae9c);}else{if(_0x4d4850(0x1cb)===this[_0x4d4850(0x1b7)]){const _0x258756=this[_0x4d4850(0x176)](_0x203807);if(!_0x258756)return;_0x3d713a({'target':_0x258756,'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 _0x4be8b8=_0x3c8d;function _0x5979(){const _0x51aa32=['deleteContent','includes','childCount','_changeRange','target','data-marker-id','_createGetContextFn','_findMarkerElement','hasAttribute','ck-ai_review-marker_context-start','backward','applyChange','differ','outside','editing','remove-context','suggestion:insertion:id:authorId:','_getMarkersDataForGroup','createDocumentFragment','removeMarker','createSelection','getDocumentData','$graveyard','view','createPositionAfter','clone','content','size','AIReviewCoreEditing','\x20ck-ai_review__change_active','isOfficialPlugin','diffContent','setAllMarkersAsInactive','hasClass','parse','operationsA','viewToDom','document','_haveOnlyInlineContent','createRangeOn','getRoot','1108446fnbddh','_createGetContentUsingDataIdFn','containerElement','path','ck-ai_review-marker_strikethrough','_removeAttribute','.ck-reset.ck-ai_review-balloon-panel-suggestion','elements','className','getDiff','type','offset','getEditor','_clone','[data-marker-id=\x22','getContentElementForChange','changeMarkerHovered','dataDowncast','parentElement','operationsIsolated','remove-only','getAttribute','AIEditing','reactivateMarkers','position','model','changeMarkerClicked','history','toData','toView','getChangedMarkers','ck-ai_review-marker_hide','$markedRemove','_changeRangeOwnerDocument','has','from','version','_removeChildren','switchToEdit','domConverter','_translateOperationToEditorContent','22671gZiDNC','_handleMarkerChanges','offsetSize','getPath','changeMarkerBlurred','$markedRemove:synthetic','changeMarkerRemoved','remove','_sortMarkers','add','getChildren','ellipsisBefore','schema','newRange','getChild','attributeToAttribute','ck-ai_review-marker_underline','marker','reconvertMarker','documentFragment','push','getRoots','2aewMnp','suggestion-context','ai-review','isIntersecting','isPremiumPlugin','368VUweqU','DocumentCompare','length','rootName','enableReadOnlyMode','set','isAtStart','_getPositionLimitingRange','start','ellipsisAfter','isDocumentOperation','hasContentBefore','asFragment','context','requires','parent','oldRange','relatedTarget','getEditableElement','forEach','root','filter','emitter','data','_getChangeContext','getStart','getChanges','append','for','$documentFragment','_insertMarkers','toDomElement','isBlock','_shiftOperation','_createGetContentFn','listenTo','join','split','No\x20element\x20found\x20for\x20ID:\x20','end','htmlWriter','_domEmitter','isAtEnd','isOpening','insertContent','flat','clearAllMarkers','innerHTML','ck-ai_review-marker_context-end','createPositionAt','setMarkersInElementAsActive','insert','141228dNFcsl','body','_getOperationEnd','_hasSameTopLevelElement','markerName','jumpTo','affectsData','every','rejectChange','review-','mouseover','mouseup','pluginName','56QdcOJx','batch','pop','createRangeIn','downcast','exec','27966IDFbqD','getShiftedBy','htmlProcessor','querySelector','_changePositionOwnerDocument','addOperation','change','getOperations','[data-id=\x22','applyOperation','suggestion:deletion:id:authorId:','markerToHighlight','fire','conversion','groupId','createUIElement','_nextDataId','highest','getMarkerElementForChange','delete','containsRange','sort','$root','name','_getOperationStart','warn','_groupAdjacentOperations','remove-text','_setAttribute','asString','stringify','keys','ck-ai_review-marker_','133520DWnhDL','ck-ai_review-marker_context-','element','processor','862280ofnoFu','changeMarkerRestored','isInline','get','_validateMarkers','_changeOperationOwnerDocument','_parseMarkerName','values','getDomRoot','nodes','inside','afterInit','$textProxy','switchToReadOnly','closest','getRange','markChangePositionInEditorContent','markerToElement','_activeMarkers','_markers','_upsertDataId','_changePosition','span','isTouching','_appendChild','ck-ai_review-marker_add','map','createRawElement','registerPostFixer','startsWith','addMarker','operations','index','plugins','markers','ck-ai_review__change_active','forward','disableReadOnlyMode','baseVersion','_eventEmitter','clear','getHtml','isLimit','concat','_findAdjacentContextDistance','createRange','_haveSingleTopLevelElement','_findMarkerElementById','howMany','hasContentAfter','outerHTML','editingDowncast'];_0x5979=function(){return _0x51aa32;};return _0x5979();}(function(_0x51295d,_0x522f7f){const _0x1a06f6=_0x3c8d,_0x13caa9=_0x51295d();while(!![]){try{const _0x6f3b38=-parseInt(_0x1a06f6(0x280))/0x1*(-parseInt(_0x1a06f6(0x234))/0x2)+-parseInt(_0x1a06f6(0x26d))/0x3+parseInt(_0x1a06f6(0x239))/0x4+-parseInt(_0x1a06f6(0x198))/0x5+parseInt(_0x1a06f6(0x1f5))/0x6+-parseInt(_0x1a06f6(0x27a))/0x7*(-parseInt(_0x1a06f6(0x194))/0x8)+parseInt(_0x1a06f6(0x21e))/0x9;if(_0x6f3b38===_0x522f7f)break;else _0x13caa9['push'](_0x13caa9['shift']());}catch(_0x27ed4e){_0x13caa9['push'](_0x13caa9['shift']());}}}(_0x5979,0x1f91a));import{InsertOperation as _0x5e2a10,MarkerOperation as _0x1085bf,ModelDocumentFragment as _0xb3fca0,ModelPosition as _0x563f6e,ModelRange as _0x16d84a,ModelTreeWalker as _0xd0d51e,transformOperationSets as _0x6ce8be}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x2d8d54,EmitterMixin as _0x3a97d8,uid as _0x300e90}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x5800aa}from'ckeditor5/src/core.js';import{DocumentCompare as _0x33678a,DATA_ID_MODEL_ATTRIBUTE as _0x539ba8,DATA_ID_VIEW_ATTRIBUTE as _0x171e0f,getMarkerDomElement as _0x339c2f}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x1821c6}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x43a540}from'../aicore/aiediting.js';function _0x3c8d(_0x34e071,_0x251ad2){const _0x597990=_0x5979();return _0x3c8d=function(_0x3c8d5e,_0x4bb6d9){_0x3c8d5e=_0x3c8d5e-0x186;let _0x19805c=_0x597990[_0x3c8d5e];return _0x19805c;},_0x3c8d(_0x34e071,_0x251ad2);}import{debounce as _0x439db5}from'es-toolkit/compat';const fe=_0x4be8b8(0x276);export class AIReviewCoreEditing extends _0x5800aa{static get[_0x4be8b8(0x247)](){return[_0x33678a,_0x43a540];}static get[_0x4be8b8(0x279)](){const _0x4e38b2=_0x4be8b8;return _0x4e38b2(0x1e8);}static get[_0x4be8b8(0x1ea)](){return!0x0;}static get[_0x4be8b8(0x238)](){return!0x0;}[_0x4be8b8(0x1ab)]=new Map();[_0x4be8b8(0x1aa)]=new Set();[_0x4be8b8(0x262)];[_0x4be8b8(0x1bf)];constructor(_0x34a85c){const _0x3fc173=_0x4be8b8;super(_0x34a85c),this[_0x3fc173(0x262)]=new(_0x2d8d54())(),this[_0x3fc173(0x1bf)]=new(_0x3a97d8())();}get[_0x4be8b8(0x24f)](){const _0x42d57a=_0x4be8b8;return this[_0x42d57a(0x1bf)];}[_0x4be8b8(0x1a3)](){const _0x4a66c0=_0x4be8b8,_0x483f48=_0x1821c6(this[_0x4a66c0(0x246)]);_0x483f48[_0x4a66c0(0x28d)][_0x4a66c0(0x255)](_0x4a66c0(0x1cb))[_0x4a66c0(0x1a9)]({'model':fe+_0x4a66c0(0x26c),'view':(_0x3632d1,{writer:_0xbbb666})=>{const _0x4c2959=_0x4a66c0,_0x66317a=this[_0x4c2959(0x1ab)][_0x4c2959(0x19b)](_0x3632d1[_0x4c2959(0x271)]),_0x8db060={'class':_0x4c2959(0x1b1)+(this[_0x4c2959(0x1aa)][_0x4c2959(0x217)](_0x66317a?.['id']||'')?_0x4c2959(0x1e9):''),'data-marker-id':_0x3632d1[_0x4c2959(0x271)]};return _0xbbb666[_0x4c2959(0x28f)](_0x4c2959(0x1ae),_0x8db060,function(_0x2952a0){const _0x4aa5b5=_0x4c2959,_0x5b8365=this[_0x4aa5b5(0x258)](_0x2952a0);return _0x5b8365[_0x4aa5b5(0x268)]=_0x66317a?.[_0x4aa5b5(0x1e6)]?.[_0x4aa5b5(0x190)]||'',_0x5b8365;});}}),_0x483f48[_0x4a66c0(0x28d)][_0x4a66c0(0x255)](_0x4a66c0(0x1cb))[_0x4a66c0(0x28b)]({'model':fe+_0x4a66c0(0x209),'view':_0xec2de8=>{const _0x599584=_0x4a66c0,_0x1a057c=this[_0x599584(0x1ab)][_0x599584(0x19b)](_0xec2de8[_0x599584(0x271)]),_0x20f53c=[_0x599584(0x1f9)];return this[_0x599584(0x1aa)][_0x599584(0x217)](_0x1a057c?.['id']||'')&&_0x20f53c[_0x599584(0x232)](_0x599584(0x1bb)),{'classes':_0x20f53c,'attributes':{'data-marker-id':_0xec2de8[_0x599584(0x271)]}};}}),_0x483f48[_0x4a66c0(0x28d)][_0x4a66c0(0x255)](_0x4a66c0(0x1cb))[_0x4a66c0(0x28b)]({'model':fe+_0x4a66c0(0x1db),'view':_0x276056=>{const _0x33e98d=_0x4a66c0,_0x3e7a2b=this[_0x33e98d(0x1ab)][_0x33e98d(0x19b)](_0x276056[_0x33e98d(0x271)]),_0x1b630a=[_0x33e98d(0x22e)];return this[_0x33e98d(0x1aa)][_0x33e98d(0x217)](_0x3e7a2b?.['id']||'')&&_0x1b630a[_0x33e98d(0x232)](_0x33e98d(0x1bb)),{'classes':_0x1b630a,'attributes':{'data-marker-id':_0x276056[_0x33e98d(0x271)]}};}}),_0x483f48[_0x4a66c0(0x28d)][_0x4a66c0(0x255)](_0x4a66c0(0x1cb))[_0x4a66c0(0x28b)]({'model':fe+_0x4a66c0(0x18e),'view':_0x1e3366=>{const _0x291988=_0x4a66c0,_0x360baa=this[_0x291988(0x1ab)][_0x291988(0x19b)](_0x1e3366[_0x291988(0x271)]),_0x583378=[_0x291988(0x214)];return this[_0x291988(0x1aa)][_0x291988(0x217)](_0x360baa?.['id']||'')&&_0x583378[_0x291988(0x232)](_0x291988(0x1bb)),{'classes':_0x583378,'attributes':{'data-marker-id':_0x1e3366[_0x291988(0x271)]}};}}),_0x483f48[_0x4a66c0(0x28d)][_0x4a66c0(0x255)](_0x4a66c0(0x206))[_0x4a66c0(0x1a9)]({'model':fe+_0x4a66c0(0x235),'view':(_0x4739ca,{writer:_0x1277c2})=>_0x1277c2[_0x4a66c0(0x1b3)](_0x4a66c0(0x1ae),{'class':_0x4a66c0(0x195)+(_0x4739ca[_0x4a66c0(0x264)]?_0x4a66c0(0x241):_0x4a66c0(0x260))})}),_0x483f48[_0x4a66c0(0x28d)][_0x4a66c0(0x255)](_0x4a66c0(0x27e))[_0x4a66c0(0x22d)]({'model':_0x539ba8,'view':_0x171e0f});const _0x5377d3=_0x483f48['ui'][_0x4a66c0(0x24b)]()||document[_0x4a66c0(0x26e)];this[_0x4a66c0(0x262)][_0x4a66c0(0x25c)](_0x5377d3,_0x4a66c0(0x278),(_0x5e10a3,_0x155362)=>{const _0x16fc20=_0x4a66c0,_0x2222c9=_0x155362[_0x16fc20(0x1d0)],_0x34460a=this[_0x16fc20(0x1d3)](_0x2222c9);if(!_0x34460a)return;const _0x10d214=_0x34460a[_0x16fc20(0x20a)](_0x16fc20(0x1d1)),_0x359bb3=_0x10d214[_0x16fc20(0x25e)](':')[_0x16fc20(0x27c)]()?.[_0x16fc20(0x25e)]('_')[0x0];this[_0x16fc20(0x1bf)][_0x16fc20(0x28c)](_0x16fc20(0x20f),{'markerId':_0x10d214,'changeId':_0x359bb3,'markerElement':()=>this[_0x16fc20(0x1c7)](_0x10d214),'domEvent':_0x155362});},{'usePassive':!0x0,'priority':_0x4a66c0(0x291)}),this[_0x4a66c0(0x262)][_0x4a66c0(0x25c)](_0x5377d3,_0x4a66c0(0x277),(_0x3f9b21,_0x51d596)=>{const _0x314f13=_0x4a66c0,_0x44ae25=_0x51d596[_0x314f13(0x1d0)],_0x2f4552=_0x51d596[_0x314f13(0x24a)];let _0x16f414=this[_0x314f13(0x1d3)](_0x44ae25);if(!_0x16f414&&_0x2f4552&&(_0x16f414=this[_0x314f13(0x1d3)](_0x2f4552)),!_0x16f414)return;const _0x500b86=_0x16f414[_0x314f13(0x20a)](_0x314f13(0x1d1)),_0x3a750e=_0x500b86[_0x314f13(0x25e)](':')[_0x314f13(0x27c)]()?.[_0x314f13(0x25e)]('_')[0x0];this[_0x314f13(0x1bf)][_0x314f13(0x28c)](_0x314f13(0x205),{'changeId':_0x3a750e,'markerElement':()=>this[_0x314f13(0x1c7)](_0x500b86),'domEvent':_0x51d596});}),this[_0x4a66c0(0x262)][_0x4a66c0(0x25c)](document,_0x4a66c0(0x277),_0x439db5((_0x39c307,_0x1343aa)=>{const _0x4ffe32=_0x4a66c0,_0x42defc=_0x1343aa[_0x4ffe32(0x1d0)];if(this[_0x4ffe32(0x1d3)](_0x42defc))return;_0x42defc[_0x4ffe32(0x1a6)](_0x4ffe32(0x1fb))||this[_0x4ffe32(0x1bf)][_0x4ffe32(0x28c)](_0x4ffe32(0x222));},0xc8)),_0x483f48[_0x4a66c0(0x20e)][_0x4a66c0(0x1f1)][_0x4a66c0(0x1b4)](_0x4654ec=>this[_0x4a66c0(0x19c)](_0x483f48,_0x4654ec)),_0x483f48[_0x4a66c0(0x20e)][_0x4a66c0(0x1f1)]['on'](_0x4a66c0(0x286),()=>this[_0x4a66c0(0x21f)](_0x483f48));}[_0x4be8b8(0x1e1)](){const _0x4ffda6=_0x4be8b8,_0x44c6c6=this[_0x4ffda6(0x246)][_0x4ffda6(0x1b9)][_0x4ffda6(0x19b)](_0x4ffda6(0x20b)),_0x43b29c=_0x1821c6(this[_0x4ffda6(0x246)]),_0x50d098=_0x43b29c[_0x4ffda6(0x20e)],_0x5834ef=new _0xb3fca0();for(const _0x37c97a of _0x50d098[_0x4ffda6(0x1f1)][_0x4ffda6(0x1f4)]()[_0x4ffda6(0x228)]()){const _0x4605bc=_0x37c97a[_0x4ffda6(0x202)](!0x0);_0x5834ef[_0x4ffda6(0x1b0)](_0x4605bc);}for(const _0x330944 of _0x50d098[_0x4ffda6(0x1ba)])_0x5834ef[_0x4ffda6(0x1ba)][_0x4ffda6(0x23e)](_0x330944[_0x4ffda6(0x18a)],this[_0x4ffda6(0x216)](_0x330944[_0x4ffda6(0x1a7)]()[_0x4ffda6(0x1e5)](),_0x5834ef));const _0x4c3c6f=new _0xd0d51e({'ignoreElementEnd':!0x0,'startPosition':_0x50d098[_0x4ffda6(0x26a)](_0x5834ef,0x0)}),_0x2b9da9=new Set(),_0x1c41f8=new Map();for(const {item:_0x774dc5}of _0x4c3c6f){if(!_0x774dc5['is'](_0x4ffda6(0x1a4)))continue;const _0x4ad21c=_0x774dc5[_0x4ffda6(0x248)];if(_0x4ad21c&&_0x4ad21c['is'](_0x4ffda6(0x196))){const _0x3a2444=this[_0x4ffda6(0x1ac)](_0x4ad21c,()=>_0x44c6c6[_0x4ffda6(0x290)](_0x2b9da9));_0x2b9da9[_0x4ffda6(0x227)](_0x3a2444);for(const _0x4b85f2 of _0x4ad21c[_0x4ffda6(0x228)]())_0x4b85f2['is'](_0x4ffda6(0x196))&&_0x2b9da9[_0x4ffda6(0x227)](this[_0x4ffda6(0x1ac)](_0x4b85f2,()=>_0x44c6c6[_0x4ffda6(0x290)](_0x2b9da9)));let _0x2219c8=_0x4ad21c;for(;_0x2219c8[_0x4ffda6(0x248)]&&!_0x2219c8[_0x4ffda6(0x248)]['is'](_0x4ffda6(0x231));)_0x2219c8=_0x2219c8[_0x4ffda6(0x248)],_0x2219c8[_0x4ffda6(0x1d4)](_0x539ba8)&&_0x2219c8[_0x4ffda6(0x1fa)](_0x539ba8);_0x1c41f8[_0x4ffda6(0x23e)](_0x3a2444,{'path':_0x4ad21c[_0x4ffda6(0x221)](),'getContent':this[_0x4ffda6(0x1f6)](_0x2219c8[_0x4ffda6(0x202)](!0x0),_0x3a2444,_0x43b29c[_0x4ffda6(0x250)])}),_0x4c3c6f[_0x4ffda6(0x272)](_0x50d098[_0x4ffda6(0x1e4)](_0x4ad21c));}}return{'content':_0x43b29c[_0x4ffda6(0x250)][_0x4ffda6(0x197)][_0x4ffda6(0x211)](_0x43b29c[_0x4ffda6(0x250)][_0x4ffda6(0x212)](_0x5834ef)),'version':_0x43b29c[_0x4ffda6(0x20e)][_0x4ffda6(0x1f1)][_0x4ffda6(0x219)],'elements':_0x1c41f8};}[_0x4be8b8(0x1eb)](_0x2be6f3,_0x2f5e56,_0x50de72=!0x1){const _0x514449=_0x4be8b8,_0x45bc35=[],_0x2571ac=_0x1821c6(this[_0x514449(0x246)]),_0x23cdde=_0x2571ac[_0x514449(0x250)][_0x514449(0x1ee)](_0x2f5e56,_0x514449(0x256)),_0x45b4e2=_0x2571ac[_0x514449(0x250)][_0x514449(0x1ee)](_0x2be6f3,_0x514449(0x256)),_0x2f54ef=_0x2571ac[_0x514449(0x20e)][_0x514449(0x26a)](_0x45b4e2,0x0);if(this[_0x514449(0x1c6)](_0x23cdde)){if(!this[_0x514449(0x270)](_0x45b4e2,_0x23cdde))return _0x45bc35;}else{const _0x2f65d8=_0x2571ac[_0x514449(0x20e)][_0x514449(0x22a)];if(!this[_0x514449(0x1f2)](_0x45b4e2,_0x2f65d8)||!this[_0x514449(0x1f2)](_0x23cdde,_0x2f65d8))return _0x45bc35;}const _0x59c406=this[_0x514449(0x246)][_0x514449(0x1b9)][_0x514449(0x19b)](_0x514449(0x23a))[_0x514449(0x1fe)](_0x2be6f3,_0x2f5e56,{'anchor':_0x2f54ef,'markDeletions':!0x0})[_0x514449(0x287)]()[_0x514449(0x24e)](_0x11ef82=>_0x514449(0x26c)===_0x11ef82[_0x514449(0x1ff)]||_0x514449(0x22f)===_0x11ef82[_0x514449(0x1ff)]&&_0x11ef82[_0x514449(0x18a)][_0x514449(0x1b5)](_0x514449(0x215))),_0x37b771=this[_0x514449(0x18d)](_0x59c406),_0x158a36=[];if(_0x50de72){if(_0x37b771[_0x514449(0x23b)]){const _0x5bc710=_0x37b771[0x0][_0x514449(0x1b7)][0x0],_0x174907=_0x514449(0x26c)===_0x5bc710[_0x514449(0x1ff)]?_0x5bc710[_0x514449(0x20d)]:_0x5bc710[_0x514449(0x22b)][_0x514449(0x241)],_0x3b7f33=this[_0x514449(0x240)](_0x174907,_0x2571ac,_0x514449(0x1a2)),_0xf1537f=_0x3b7f33?_0x23cdde[_0x514449(0x22c)](0x0)[_0x514449(0x228)]():_0x23cdde[_0x514449(0x228)](),_0x507570=_0x3b7f33||_0x2571ac[_0x514449(0x20e)][_0x514449(0x27d)](_0x45b4e2),_0xbf8346=[new _0x1085bf(_0x514449(0x223)+_0x300e90(),null,_0x507570,_0x2571ac[_0x514449(0x20e)][_0x514449(0x1f1)][_0x514449(0x20e)][_0x514449(0x1ba)],!0x0,_0x2571ac[_0x514449(0x20e)][_0x514449(0x1f1)][_0x514449(0x219)]+0x1),new _0x5e2a10(_0x507570[_0x514449(0x260)],_0xf1537f,_0x2571ac[_0x514449(0x20e)][_0x514449(0x1f1)][_0x514449(0x219)]+0x2)];_0x158a36[_0x514449(0x232)]({'operations':_0xbf8346,'operationsIsolated':_0xbf8346,'groupOffset':0x0});}}else _0x158a36[_0x514449(0x232)](..._0x37b771);let _0xf4665a=0x0;return _0x2571ac[_0x514449(0x20e)][_0x514449(0x286)](_0x50c064=>{const _0x641272=_0x514449;for(let _0x2697fa=0x0;_0x2697fa<_0x158a36[_0x641272(0x23b)];_0x2697fa++){const _0x208279=_0x158a36[_0x2697fa],_0x37dac4=_0x50c064[_0x641272(0x1de)]();for(const _0x81a3d of _0x45b4e2[_0x641272(0x228)]())_0x50c064[_0x641272(0x254)](_0x81a3d[_0x641272(0x202)](!0x0),_0x37dac4);for(const _0x195976 of _0x208279[_0x641272(0x208)])if(_0x641272(0x26c)===_0x195976[_0x641272(0x1ff)]){const _0x42f9c4=_0x195976;_0x42f9c4[_0x641272(0x1be)]=null,_0x42f9c4[_0x641272(0x243)]=!0x1,this[_0x641272(0x19d)](_0x42f9c4,_0x37dac4),_0x50c064[_0x641272(0x27b)][_0x641272(0x285)](_0x195976),_0x2571ac[_0x641272(0x20e)][_0x641272(0x289)](_0x195976);const _0x4156e7=_0x641272(0x1dc)+_0xf4665a++,_0x1069b9=_0x2571ac[_0x641272(0x20e)][_0x641272(0x1c5)](_0x42f9c4[_0x641272(0x20d)],_0x42f9c4[_0x641272(0x20d)][_0x641272(0x281)](_0x42f9c4[_0x641272(0x1c8)]));_0x37dac4[_0x641272(0x1ba)][_0x641272(0x23e)](_0x4156e7,_0x1069b9);}else{if(_0x641272(0x22f)===_0x195976[_0x641272(0x1ff)]&&_0x195976[_0x641272(0x18a)][_0x641272(0x1b5)](_0x641272(0x215))){const _0x12834f=_0x195976,_0x20ae80=_0x641272(0x28a)+_0xf4665a++;this[_0x641272(0x19d)](_0x12834f,_0x37dac4),_0x37dac4[_0x641272(0x1ba)][_0x641272(0x23e)](_0x20ae80,_0x12834f[_0x641272(0x22b)]);}}if(_0x50de72)_0x45bc35[_0x641272(0x232)]({..._0x208279,'context':this[_0x641272(0x25b)](_0x45b4e2,_0x2571ac[_0x641272(0x250)]),'content':this[_0x641272(0x25b)](_0x45b4e2,_0x2571ac[_0x641272(0x250)])});else{const _0x2cf229=this[_0x641272(0x251)](this[_0x641272(0x284)](this[_0x641272(0x18b)](_0x208279[_0x641272(0x208)][0x0]),_0x37dac4),this[_0x641272(0x284)](this[_0x641272(0x26f)](_0x208279[_0x641272(0x208)][_0x208279[_0x641272(0x208)][_0x641272(0x23b)]-0x1]),_0x37dac4));_0x37dac4[_0x641272(0x1ba)][_0x641272(0x23e)](fe+_0x641272(0x235),new _0x16d84a(_0x2cf229[_0x641272(0x241)],_0x2cf229[_0x641272(0x260)])),_0x45bc35[_0x641272(0x232)]({..._0x208279,'context':this[_0x641272(0x1d2)](_0x37dac4,_0x2571ac[_0x641272(0x250)],{'ellipsisBefore':_0x2cf229[_0x641272(0x244)],'ellipsisAfter':_0x2cf229[_0x641272(0x1c9)]}),'content':this[_0x641272(0x25b)](_0x37dac4,_0x2571ac[_0x641272(0x250)])});}}}),_0x45bc35;}[_0x4be8b8(0x1a8)](_0x20c57d,_0x35ddb4){const _0x5a20fd=_0x4be8b8;if(!_0x20c57d[_0x5a20fd(0x23b)])return;const _0x3b0c4b=_0x20c57d[0x0][_0x5a20fd(0x248)]['id'],_0x179724=_0x35ddb4[_0x5a20fd(0x1fc)][_0x5a20fd(0x19b)](_0x3b0c4b);if(!_0x179724)return void console[_0x5a20fd(0x18c)](_0x5a20fd(0x25f)+_0x3b0c4b);const _0x11ab84=_0x179724[_0x5a20fd(0x1f8)],_0x55a627=_0x1821c6(this[_0x5a20fd(0x246)]),_0x32b7b0=_0x55a627[_0x5a20fd(0x20e)][_0x5a20fd(0x1f1)][_0x5a20fd(0x210)][_0x5a20fd(0x287)](_0x35ddb4[_0x5a20fd(0x219)]),_0x4ed85a=[];for(const _0x18ebf1 of _0x20c57d){const _0x4e3527=_0x18ebf1[_0x5a20fd(0x208)][_0x5a20fd(0x1b2)](_0x11c909=>this[_0x5a20fd(0x21d)](_0x11c909,_0x11ab84,_0x55a627[_0x5a20fd(0x20e)][_0x5a20fd(0x1f1)][_0x5a20fd(0x233)]()[0x0]));if(!_0x4e3527||!_0x4e3527[_0x5a20fd(0x23b)])continue;const _0xdff403=_0x4e3527[_0x5a20fd(0x274)](_0x346fa8=>_0x5a20fd(0x22f)===_0x346fa8[_0x5a20fd(0x1ff)]&&_0x346fa8[_0x5a20fd(0x18a)][_0x5a20fd(0x1b5)](_0x5a20fd(0x215))),_0xc33def={'document':_0x55a627[_0x5a20fd(0x20e)][_0x5a20fd(0x1f1)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x3ec031=_0x6ce8be(_0x4e3527,_0x32b7b0,_0xc33def)[_0x5a20fd(0x1ef)];for(const _0x1d73e8 of _0x3ec031)if(_0x5a20fd(0x26c)===_0x1d73e8[_0x5a20fd(0x1ff)]){const _0x4316e3=_0x1d73e8,_0x440d3d=_0x4316e3[_0x5a20fd(0x1a1)];_0x55a627[_0x5a20fd(0x20e)][_0x5a20fd(0x286)](_0x2a1226=>{const _0x47d746=_0x5a20fd,_0x5b166e=_0x2a1226[_0x47d746(0x1de)]();for(const _0x5b1054 of _0x440d3d)_0x2a1226[_0x47d746(0x254)](_0x5b1054[_0x47d746(0x202)](!0x0),_0x5b166e);_0x4ed85a[_0x47d746(0x232)]({'start':_0x4316e3[_0x47d746(0x20d)],'end':_0x4316e3[_0x47d746(0x20d)],'type':_0x47d746(0x26c),'groupId':_0x18ebf1['id'],'content':{'asString':this[_0x47d746(0x25b)](_0x5b166e,_0x55a627[_0x47d746(0x250)])(),'asFragment':_0x5b166e}});});}else{if(_0x5a20fd(0x22f)===_0x1d73e8[_0x5a20fd(0x1ff)]&&_0x1d73e8[_0x5a20fd(0x18a)][_0x5a20fd(0x1b5)](_0x5a20fd(0x215))){const _0x419327=_0x1d73e8;let _0x47b4a5=_0x5a20fd(0x18e);if(_0xdff403){const _0x505f3e=this[_0x5a20fd(0x1c4)](_0x419327[_0x5a20fd(0x22b)][_0x5a20fd(0x241)],_0x5a20fd(0x1d6),_0x55a627[_0x5a20fd(0x20e)][_0x5a20fd(0x22a)]),_0x200271=this[_0x5a20fd(0x1c4)](_0x419327[_0x5a20fd(0x22b)][_0x5a20fd(0x260)],_0x5a20fd(0x1bc),_0x55a627[_0x5a20fd(0x20e)][_0x5a20fd(0x22a)]);if(_0x505f3e||_0x200271){const _0x29551e=_0x419327[_0x5a20fd(0x22b)][_0x5a20fd(0x241)][_0x5a20fd(0x281)](-_0x505f3e),_0x2689a3=_0x419327[_0x5a20fd(0x22b)][_0x5a20fd(0x260)][_0x5a20fd(0x281)](_0x200271);_0x4ed85a[_0x5a20fd(0x232)]({'start':_0x29551e,'end':_0x2689a3,'groupId':_0x18ebf1['id'],'type':_0x5a20fd(0x1db)});}else _0x47b4a5=_0x5a20fd(0x209);}_0x4ed85a[_0x5a20fd(0x232)]({'start':_0x419327[_0x5a20fd(0x22b)][_0x5a20fd(0x241)],'end':_0x419327[_0x5a20fd(0x22b)][_0x5a20fd(0x260)],'groupId':_0x18ebf1['id'],'type':_0x47b4a5});}}}this[_0x5a20fd(0x257)](_0x4ed85a);}[_0x4be8b8(0x267)](){const _0x193706=_0x4be8b8,_0x309cf8=_0x1821c6(this[_0x193706(0x246)]);_0x309cf8[_0x193706(0x20e)][_0x193706(0x286)](_0xf80164=>{const _0x492986=_0x193706;for(const _0x4245b8 of this[_0x492986(0x1ab)][_0x492986(0x192)]())_0x309cf8[_0x492986(0x20e)][_0x492986(0x1ba)][_0x492986(0x19b)](_0x4245b8)&&_0xf80164[_0x492986(0x1df)](_0x4245b8);}),this[_0x193706(0x1ab)][_0x193706(0x1c0)](),this[_0x193706(0x1aa)][_0x193706(0x1c0)]();}[_0x4be8b8(0x1a5)](){const _0x441be0=_0x4be8b8;_0x1821c6(this[_0x441be0(0x246)])[_0x441be0(0x23d)](_0x441be0(0x236));}[_0x4be8b8(0x21b)](){const _0x169bf6=_0x4be8b8;_0x1821c6(this[_0x169bf6(0x246)])[_0x169bf6(0x1bd)](_0x169bf6(0x236));}[_0x4be8b8(0x1d7)](_0xc1527e){const _0x3fcd1b=_0x4be8b8,_0x5724ee=_0x1821c6(this[_0x3fcd1b(0x246)]),_0x268ed5=_0x5724ee[_0x3fcd1b(0x20e)],_0x1a98d3=_0xc1527e[_0x3fcd1b(0x1b2)](_0x13218c=>this[_0x3fcd1b(0x1dd)](_0x13218c))[_0x3fcd1b(0x266)]();_0x268ed5[_0x3fcd1b(0x286)](_0x4c2087=>{const _0x49319e=_0x3fcd1b;for(const _0x38f467 of _0x1a98d3){const _0x45c426=_0x5724ee[_0x49319e(0x20e)][_0x49319e(0x1ba)][_0x49319e(0x19b)](_0x38f467['id']);if(_0x45c426){if(_0x49319e(0x26c)===_0x38f467[_0x49319e(0x1ff)]){if(!_0x38f467[_0x49319e(0x1e6)])continue;_0x268ed5[_0x49319e(0x265)](_0x38f467[_0x49319e(0x1e6)][_0x49319e(0x245)]||null,_0x45c426[_0x49319e(0x1a7)]()[_0x49319e(0x241)]);}else _0x49319e(0x18e)!==_0x38f467[_0x49319e(0x1ff)]&&_0x49319e(0x209)!==_0x38f467[_0x49319e(0x1ff)]||_0x268ed5[_0x49319e(0x1cc)](_0x268ed5[_0x49319e(0x1e0)](_0x45c426[_0x49319e(0x1a7)]()));_0x4c2087[_0x49319e(0x1df)](_0x38f467['id']),this[_0x49319e(0x1ab)][_0x49319e(0x186)](_0x38f467['id']);}}});}[_0x4be8b8(0x275)](_0x1c8b26){const _0xce0982=_0x4be8b8,_0x46e03f=_0x1821c6(this[_0xce0982(0x246)]),_0x13f62a=this[_0xce0982(0x1dd)](_0x1c8b26);_0x46e03f[_0xce0982(0x20e)][_0xce0982(0x286)](_0x1b62c9=>{const _0xff5fd2=_0xce0982;for(const _0x161620 of _0x13f62a)_0x1b62c9[_0xff5fd2(0x1df)](_0x161620['id']),this[_0xff5fd2(0x1ab)][_0xff5fd2(0x186)](_0x161620['id']);});}[_0x4be8b8(0x201)](){const _0xd5dcff=_0x4be8b8;return _0x1821c6(this[_0xd5dcff(0x246)]);}[_0x4be8b8(0x292)](_0x5f23dd){const _0x20b868=_0x4be8b8,_0x3b99a5=Array[_0x20b868(0x218)](this[_0x20b868(0x1ab)][_0x20b868(0x19f)]())[_0x20b868(0x24e)](_0x2f03f9=>_0x2f03f9[_0x20b868(0x28e)]===_0x5f23dd);if(!_0x3b99a5[_0x20b868(0x23b)])return null;const _0x370cad=0x1===_0x3b99a5[_0x20b868(0x23b)]?_0x3b99a5[0x0]:this[_0x20b868(0x226)](_0x3b99a5)[0x0],_0xb0c618=_0x1821c6(this[_0x20b868(0x246)])[_0x20b868(0x20e)][_0x20b868(0x1ba)][_0x20b868(0x19b)](_0x370cad['id']);if(!_0xb0c618)return null;return{'modelRange':_0xb0c618[_0x20b868(0x1a7)](),'getElement':()=>this[_0x20b868(0x1c7)](_0x370cad['id'])};}[_0x4be8b8(0x204)](_0x32d156){const _0x112d17=_0x4be8b8,_0x3d337a=Array[_0x112d17(0x218)](this[_0x112d17(0x1ab)][_0x112d17(0x19f)]())[_0x112d17(0x24e)](_0x545fd4=>_0x545fd4[_0x112d17(0x28e)]===_0x32d156);if(!_0x3d337a[_0x112d17(0x23b)])return null;const _0x2e8e7c=0x1===_0x3d337a[_0x112d17(0x23b)]?_0x3d337a[0x0]:this[_0x112d17(0x226)](_0x3d337a)[0x0],_0x3f16ec=_0x1821c6(this[_0x112d17(0x246)]),_0x1108ce=_0x3f16ec[_0x112d17(0x20e)][_0x112d17(0x1ba)][_0x112d17(0x19b)](_0x2e8e7c['id']);if(!_0x1108ce)return null;const _0x3f1504=_0x1108ce[_0x112d17(0x1a7)](),_0x23df26=_0x3f16ec[_0x112d17(0x1da)][_0x112d17(0x1e3)][_0x112d17(0x1a0)]();if(!_0x23df26||!_0x3f1504)return null;let _0x227261=_0x3f1504[_0x112d17(0x241)][_0x112d17(0x248)];for(;_0x227261[_0x112d17(0x248)]&&_0x112d17(0x189)!==_0x227261[_0x112d17(0x248)][_0x112d17(0x18a)];)_0x227261=_0x227261[_0x112d17(0x248)];if(!_0x227261||!_0x227261[_0x112d17(0x18a)])return null;const _0x5b1836=_0x23df26[_0x112d17(0x283)](_0x112d17(0x203)+_0x2e8e7c['id']+'\x22]');if(!_0x5b1836)return null;let _0x1b1a98=null;_0x3f16ec[_0x112d17(0x20e)][_0x112d17(0x286)](_0x38e49f=>{const _0x22fb97=_0x112d17;_0x1b1a98=_0x38e49f[_0x22fb97(0x1de)](),_0x38e49f[_0x22fb97(0x254)](_0x227261[_0x22fb97(0x202)](!0x0),_0x1b1a98);});const _0x198180=_0x3f16ec[_0x112d17(0x250)][_0x112d17(0x212)](_0x1b1a98)[_0x112d17(0x22c)](0x0);return _0x5b1836[_0x112d17(0x1a6)](_0x198180[_0x112d17(0x18a)]);}[_0x4be8b8(0x20c)](_0x3ce164){const _0x257007=_0x4be8b8,_0x1e26ba=this[_0x257007(0x1dd)](_0x3ce164);if(!_0x1e26ba[_0x257007(0x23b)])return;const _0x4df1a0=Array[_0x257007(0x218)](this[_0x257007(0x1aa)])[_0x257007(0x188)](),_0x5dfd47=Array[_0x257007(0x218)](new Set(_0x1e26ba[_0x257007(0x1b2)](_0x7a6758=>_0x7a6758['id'])))[_0x257007(0x188)]();_0x4df1a0[_0x257007(0x25d)]('|')!==_0x5dfd47[_0x257007(0x25d)]('|')&&(this[_0x257007(0x1ec)](),this[_0x257007(0x26b)](_0x3ce164));}[_0x4be8b8(0x26b)](_0x4400c3){const _0x555e24=_0x4be8b8,_0x12de30=this[_0x555e24(0x1dd)](_0x4400c3);if(!_0x12de30[_0x555e24(0x23b)])return;const _0x2d136e=_0x1821c6(this[_0x555e24(0x246)]),_0x6f0227=new Set(_0x12de30[_0x555e24(0x1b2)](_0x598bf7=>_0x598bf7['id'])),_0x150281=Array[_0x555e24(0x218)](_0x6f0227[_0x555e24(0x19f)]())[_0x555e24(0x1b2)](_0x1a7f83=>_0x2d136e[_0x555e24(0x20e)][_0x555e24(0x1ba)][_0x555e24(0x19b)](_0x1a7f83))[_0x555e24(0x24e)](_0x4e0bc0=>!!_0x4e0bc0);_0x6f0227[_0x555e24(0x24c)](_0x36cdfe=>{const _0x53b091=_0x555e24;this[_0x53b091(0x1aa)][_0x53b091(0x227)](_0x36cdfe);}),_0x2d136e[_0x555e24(0x20e)][_0x555e24(0x286)](()=>{const _0x3b6ad2=_0x555e24;_0x150281[_0x3b6ad2(0x24c)](_0x19fb77=>{const _0x24783d=_0x3b6ad2;_0x2d136e[_0x24783d(0x1da)][_0x24783d(0x230)](_0x19fb77);});});}[_0x4be8b8(0x1ec)](){const _0x232a9a=_0x4be8b8,_0x108380=Array[_0x232a9a(0x218)](this[_0x232a9a(0x1aa)]);if(!_0x108380[_0x232a9a(0x23b)])return;this[_0x232a9a(0x1aa)][_0x232a9a(0x1c0)]();const _0x323315=_0x1821c6(this[_0x232a9a(0x246)]),_0x4369cd=_0x108380[_0x232a9a(0x1b2)](_0x347430=>_0x323315[_0x232a9a(0x20e)][_0x232a9a(0x1ba)][_0x232a9a(0x19b)](_0x347430))[_0x232a9a(0x24e)](_0x3de2ff=>!!_0x3de2ff);_0x323315[_0x232a9a(0x20e)][_0x232a9a(0x286)](()=>{const _0x177840=_0x232a9a;_0x4369cd[_0x177840(0x24c)](_0x293d81=>{const _0x3fc842=_0x177840;_0x323315[_0x3fc842(0x1da)][_0x3fc842(0x230)](_0x293d81);});});}[_0x4be8b8(0x240)](_0x682e69,_0x545061,_0x27cde7=_0x4be8b8(0x1d9)){const _0x483dc3=_0x4be8b8;if(!_0x682e69)return null;let _0x17680c=_0x682e69[_0x483dc3(0x248)];for(;_0x17680c&&_0x17680c[_0x483dc3(0x248)]&&_0x483dc3(0x189)!==_0x17680c[_0x483dc3(0x248)][_0x483dc3(0x18a)]&&!_0x545061[_0x483dc3(0x20e)][_0x483dc3(0x22a)][_0x483dc3(0x1c2)](_0x17680c)&&!_0x545061[_0x483dc3(0x20e)][_0x483dc3(0x22a)][_0x483dc3(0x259)](_0x17680c);)_0x17680c=_0x17680c[_0x483dc3(0x248)];if(!_0x17680c||!_0x17680c[_0x483dc3(0x18a)]||_0x483dc3(0x189)===_0x17680c[_0x483dc3(0x18a)])return null;let _0x2c72c0=null;return _0x545061[_0x483dc3(0x20e)][_0x483dc3(0x286)](_0x15a0ac=>{const _0x3381c6=_0x483dc3;_0x2c72c0=_0x3381c6(0x1a2)===_0x27cde7?_0x15a0ac[_0x3381c6(0x27d)](_0x17680c):_0x15a0ac[_0x3381c6(0x1f3)](_0x17680c);}),_0x2c72c0;}[_0x4be8b8(0x19c)](_0x40ed6f,_0xb1ad10){const _0x5c39a5=_0x4be8b8,_0x154ed1=Array[_0x5c39a5(0x218)](this[_0x5c39a5(0x1ab)][_0x5c39a5(0x192)]()),_0xc27867=new Map();for(const _0x4546f5 of _0x154ed1){const _0x2156dd=_0x40ed6f[_0x5c39a5(0x20e)][_0x5c39a5(0x1ba)][_0x5c39a5(0x19b)](_0x4546f5);if(!_0x2156dd)continue;const _0x20444a=_0x2156dd[_0x5c39a5(0x252)]()[_0x5c39a5(0x1f8)][0x0];_0xc27867[_0x5c39a5(0x217)](_0x20444a)||_0xc27867[_0x5c39a5(0x23e)](_0x20444a,[]),_0xc27867[_0x5c39a5(0x19b)](_0x20444a)[_0x5c39a5(0x232)](_0x2156dd);}const _0x4aed0d=new Set();for(const _0x49155b of _0x40ed6f[_0x5c39a5(0x20e)][_0x5c39a5(0x1f1)][_0x5c39a5(0x1d8)][_0x5c39a5(0x253)]()){let _0x322b82=-0x1,_0x2a45fa=null;if(_0x5c39a5(0x26c)===_0x49155b[_0x5c39a5(0x1ff)])_0x2a45fa=new _0x16d84a(_0x49155b[_0x5c39a5(0x20d)],_0x49155b[_0x5c39a5(0x20d)][_0x5c39a5(0x281)](_0x49155b[_0x5c39a5(0x23b)])),_0x322b82=_0x49155b[_0x5c39a5(0x20d)][_0x5c39a5(0x1f8)][0x0];else{if(_0x5c39a5(0x225)!==_0x49155b[_0x5c39a5(0x1ff)])continue;_0x2a45fa=new _0x16d84a(_0x49155b[_0x5c39a5(0x20d)]),_0x322b82=_0x49155b[_0x5c39a5(0x20d)][_0x5c39a5(0x1f8)][0x0];}const _0x2fbac9=_0xc27867[_0x5c39a5(0x19b)](_0x322b82)||[];if(_0x2fbac9[_0x5c39a5(0x23b)]){for(const _0x38d993 of _0x2fbac9)if(_0x2a45fa[_0x5c39a5(0x24d)][_0x5c39a5(0x23c)]===_0x38d993[_0x5c39a5(0x1a7)]()[_0x5c39a5(0x24d)][_0x5c39a5(0x23c)]&&(_0x5c39a5(0x26c)!==_0x49155b[_0x5c39a5(0x1ff)]||!_0x2a45fa[_0x5c39a5(0x187)](_0x38d993[_0x5c39a5(0x1a7)]()))&&(_0x2a45fa[_0x5c39a5(0x237)](_0x38d993[_0x5c39a5(0x1a7)]())||_0x2a45fa[_0x5c39a5(0x241)][_0x5c39a5(0x1af)](_0x38d993[_0x5c39a5(0x1a7)]()[_0x5c39a5(0x260)])||_0x2a45fa[_0x5c39a5(0x260)][_0x5c39a5(0x1af)](_0x38d993[_0x5c39a5(0x1a7)]()[_0x5c39a5(0x241)]))){const _0x38fc8b=this[_0x5c39a5(0x19e)](_0x38d993[_0x5c39a5(0x18a)]);Array[_0x5c39a5(0x218)](this[_0x5c39a5(0x1ab)][_0x5c39a5(0x19f)]())[_0x5c39a5(0x24e)](_0x49b592=>_0x49b592[_0x5c39a5(0x28e)]===_0x38fc8b[_0x5c39a5(0x28e)])[_0x5c39a5(0x24c)](_0xb9b8b1=>_0x4aed0d[_0x5c39a5(0x227)](_0xb9b8b1['id']));}}}if(_0x4aed0d[_0x5c39a5(0x1e7)]){for(const _0x40039c of _0x4aed0d)_0xb1ad10[_0x5c39a5(0x1df)](_0x40039c);return!0x0;}return!0x1;}[_0x4be8b8(0x21f)](_0x56b2ba){const _0x72103b=_0x4be8b8;for(const {name:_0x55e30d,data:_0x31f844}of _0x56b2ba[_0x72103b(0x20e)][_0x72103b(0x1f1)][_0x72103b(0x1d8)][_0x72103b(0x213)]()){if(!_0x55e30d[_0x72103b(0x1b5)](fe))continue;const _0x5db59f=_0x31f844[_0x72103b(0x249)],_0xe3f0a5=_0x31f844[_0x72103b(0x22b)],_0x47512b=_0x5db59f&&_0x72103b(0x1e2)===_0x5db59f[_0x72103b(0x24d)][_0x72103b(0x23c)],_0x443d79=_0xe3f0a5&&_0x72103b(0x1e2)===_0xe3f0a5[_0x72103b(0x24d)][_0x72103b(0x23c)];if(_0x47512b&&_0x443d79)continue;const _0x3bc731=this[_0x72103b(0x19e)](_0x55e30d);this[_0x72103b(0x1ab)][_0x72103b(0x19b)](_0x55e30d)&&(_0x443d79||!_0xe3f0a5?this[_0x72103b(0x1bf)][_0x72103b(0x28c)](_0x72103b(0x224),{'markerId':_0x55e30d,'changeId':_0x3bc731[_0x72103b(0x28e)]}):_0x47512b&&_0xe3f0a5&&this[_0x72103b(0x1bf)][_0x72103b(0x28c)](_0x72103b(0x199),{'markerId':_0x55e30d,'changeId':_0x3bc731[_0x72103b(0x28e)]}));}}[_0x4be8b8(0x19e)](_0x492ccc){const _0x30f52f=_0x4be8b8,_0x50a042=_0x492ccc[_0x30f52f(0x25e)](':'),_0xe82f24=(_0x50a042[0x1]||'')[_0x30f52f(0x25e)]('_');return{'prefix':_0x50a042[0x0],'groupId':_0xe82f24[0x0],'suffix':_0xe82f24[0x1]};}[_0x4be8b8(0x21d)](_0x26ffde,_0x1afac5,_0x3292a8){const _0x11d6f4=_0x4be8b8;if(_0x11d6f4(0x26c)===_0x26ffde[_0x11d6f4(0x1ff)]){const _0x406697=_0x26ffde;return new _0x5e2a10(this[_0x11d6f4(0x1ad)](_0x1afac5[_0x11d6f4(0x1c3)](_0x406697[_0x11d6f4(0x20d)][_0x11d6f4(0x200)]),_0x3292a8),_0x406697[_0x11d6f4(0x1a1)],_0x406697[_0x11d6f4(0x1be)]);}if(_0x11d6f4(0x22f)===_0x26ffde[_0x11d6f4(0x1ff)]&&_0x26ffde[_0x11d6f4(0x18a)][_0x11d6f4(0x1b5)](_0x11d6f4(0x215))){const _0x5d1b81=_0x26ffde;return new _0x1085bf(_0x5d1b81[_0x11d6f4(0x18a)],_0x5d1b81[_0x11d6f4(0x249)],this[_0x11d6f4(0x1cf)](_0x5d1b81[_0x11d6f4(0x22b)],_0x1afac5[_0x11d6f4(0x1c3)](_0x5d1b81[_0x11d6f4(0x22b)][_0x11d6f4(0x241)][_0x11d6f4(0x200)]),_0x1afac5[_0x11d6f4(0x1c3)](_0x5d1b81[_0x11d6f4(0x22b)][_0x11d6f4(0x260)][_0x11d6f4(0x200)]),_0x3292a8),_0x5d1b81[_0x11d6f4(0x1ab)],_0x5d1b81[_0x11d6f4(0x273)],_0x5d1b81[_0x11d6f4(0x1be)]);}return _0x26ffde;}[_0x4be8b8(0x18d)](_0x20e872){const _0x50d946=_0x4be8b8;if(!_0x20e872[_0x50d946(0x23b)])return[];const _0xcce378=[];let _0x25ecf5=0x0,_0x39bcee=0x0,_0x2e9a43=[];for(let _0x26a8f3=0x0;_0x26a8f3<=_0x20e872[_0x50d946(0x23b)];_0x26a8f3++){const _0x417afb=_0x20e872[_0x26a8f3],_0x1eda12=_0x20e872[_0x26a8f3-0x1];!_0x417afb||_0x1eda12&&!this[_0x50d946(0x26f)](_0x1eda12)[_0x50d946(0x1af)](this[_0x50d946(0x18b)](_0x417afb))?(_0xcce378[_0x50d946(0x232)]({'operations':_0x2e9a43,'operationsIsolated':_0x2e9a43[_0x50d946(0x1b2)](_0x30fd71=>this[_0x50d946(0x25a)](_0x30fd71[_0x50d946(0x1e5)](),-_0x39bcee)),'groupOffset':_0x25ecf5}),_0x2e9a43=_0x417afb?[_0x417afb]:[],_0x39bcee+=_0x25ecf5,_0x25ecf5=0x0):_0x2e9a43[_0x50d946(0x232)](_0x417afb),_0x417afb&&_0x50d946(0x26c)===_0x417afb[_0x50d946(0x1ff)]&&(_0x25ecf5+=_0x417afb[_0x50d946(0x1c8)]);}return _0xcce378;}[_0x4be8b8(0x1c4)](_0x469a5f,_0x19bba3,_0x5207ee,_0x4ff964=0x1){const _0x571fb7=_0x4be8b8,_0x475a49=new _0xd0d51e({'startPosition':_0x469a5f,'direction':_0x19bba3});let _0x456960=0x0;for(let _0x3b6ff1=0x0;_0x3b6ff1<_0x4ff964;_0x3b6ff1++){let _0x419b04=0x0,_0x3443cb=!0x1,_0x344874=_0x571fb7(0x1bc)===_0x19bba3?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x4b4ee1}of _0x475a49)if(_0x4b4ee1['is'](_0x571fb7(0x1a4))){const _0x54ea4c=_0x344874[_0x571fb7(0x27f)](_0x4b4ee1[_0x571fb7(0x250)]);if(_0x54ea4c&&_0x54ea4c[_0x571fb7(0x23b)]){if(_0x419b04+=_0x571fb7(0x1bc)===_0x19bba3?_0x54ea4c[_0x571fb7(0x1b8)]+_0x54ea4c[0x0][_0x571fb7(0x23b)]:_0x4b4ee1[_0x571fb7(0x250)][_0x571fb7(0x23b)]-_0x54ea4c[_0x571fb7(0x1b8)],_0x54ea4c[0x0][_0x571fb7(0x23b)]!==_0x4b4ee1[_0x571fb7(0x250)][_0x571fb7(0x23b)])break;_0x3443cb=!0x0,_0x344874=_0x571fb7(0x1bc)===_0x19bba3?/^\w+/:/\w+$/;}else{if(_0x3443cb)break;_0x419b04+=_0x4b4ee1[_0x571fb7(0x220)];}}else{if(_0x4b4ee1['is'](_0x571fb7(0x196))){_0x5207ee[_0x571fb7(0x19a)](_0x4b4ee1)&&!_0x3443cb&&(_0x419b04+=0x1);break;}}_0x456960+=_0x419b04,_0x475a49[_0x571fb7(0x272)](_0x469a5f[_0x571fb7(0x281)](_0x571fb7(0x1bc)===_0x19bba3?_0x456960:-_0x456960));}return _0x456960;}[_0x4be8b8(0x251)](_0x1c9e2d,_0x5e96b4){const _0x154e43=_0x4be8b8,_0x3da60e=_0x1821c6(this[_0x154e43(0x246)])[_0x154e43(0x20e)][_0x154e43(0x22a)],_0x1dc7e3=this[_0x154e43(0x1c4)](_0x1c9e2d,_0x154e43(0x1d6),_0x3da60e,0x6),_0x372600=this[_0x154e43(0x1c4)](_0x5e96b4,_0x154e43(0x1bc),_0x3da60e,0x6),_0x132599=_0x1c9e2d[_0x154e43(0x281)](-_0x1dc7e3),_0x39c5c2=_0x5e96b4[_0x154e43(0x281)](_0x372600);return{'start':_0x132599,'end':_0x39c5c2,'hasContentBefore':!_0x132599[_0x154e43(0x23f)],'hasContentAfter':!_0x39c5c2[_0x154e43(0x263)]};}[_0x4be8b8(0x257)](_0x488dae){const _0x2340d3=_0x4be8b8,_0xde5c3b=this[_0x2340d3(0x246)][_0x2340d3(0x1b9)][_0x2340d3(0x19b)](_0x2340d3(0x20b)),_0x5715b4=new Set();_0x1821c6(this[_0x2340d3(0x246)])[_0x2340d3(0x20e)][_0x2340d3(0x286)](_0x24e062=>{const _0x363ea8=_0x2340d3;for(const _0x510e56 of _0x488dae){const _0x10dbf9=''+fe+_0x510e56[_0x363ea8(0x1ff)]+':'+_0x510e56[_0x363ea8(0x28e)]+'_'+_0xde5c3b[_0x363ea8(0x290)](_0x5715b4);this[_0x363ea8(0x1ab)][_0x363ea8(0x23e)](_0x10dbf9,{'id':_0x10dbf9,'groupId':_0x510e56[_0x363ea8(0x28e)],'type':_0x510e56[_0x363ea8(0x1ff)],'content':_0x510e56[_0x363ea8(0x1e6)]}),_0x24e062[_0x363ea8(0x1b6)](_0x10dbf9,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x24e062[_0x363ea8(0x1c5)](_0x510e56[_0x363ea8(0x241)],_0x510e56[_0x363ea8(0x260)])});}});}[_0x4be8b8(0x1d2)](_0x15f455,_0x2ff6a5,_0xe916d0){let _0x4b2dfb='';return()=>{const _0xb98eaf=_0x3c8d;if(!_0x4b2dfb){const _0x4b63a7=_0x2ff6a5[_0xb98eaf(0x212)](_0x15f455,{'showSuggestionHighlights':!0x0});let _0x31f942=_0x4b63a7[_0xb98eaf(0x22c)](0x0);if(_0x31f942['is'](_0xb98eaf(0x1f7))||(_0x31f942=_0x4b63a7),!_0x31f942)return'';let _0x1f9d25=!0x1;const _0x1d5f18=[];for(const _0x47fbc3 of _0x31f942[_0xb98eaf(0x228)]())_0x47fbc3['is'](_0xb98eaf(0x196),_0xb98eaf(0x1ae))&&_0x47fbc3[_0xb98eaf(0x1ed)](_0xb98eaf(0x269))&&(_0x1f9d25=!0x1),_0x1f9d25&&_0x1d5f18[_0xb98eaf(0x232)](_0x47fbc3),_0x47fbc3['is'](_0xb98eaf(0x196),_0xb98eaf(0x1ae))&&_0x47fbc3[_0xb98eaf(0x1ed)](_0xb98eaf(0x1d5))&&(_0x1f9d25=!0x0);_0x31f942[_0xb98eaf(0x21a)](0x0,_0x31f942[_0xb98eaf(0x1ce)]),_0xe916d0?.[_0xb98eaf(0x229)]&&_0x31f942[_0xb98eaf(0x1b0)]('…'),_0x31f942[_0xb98eaf(0x1b0)](_0x1d5f18),_0xe916d0?.[_0xb98eaf(0x242)]&&_0x31f942[_0xb98eaf(0x1b0)]('…');const _0x139d55=_0x2ff6a5[_0xb98eaf(0x282)][_0xb98eaf(0x21c)][_0xb98eaf(0x1f0)](_0x4b63a7),_0x3b2606=_0x2ff6a5[_0xb98eaf(0x282)][_0xb98eaf(0x261)][_0xb98eaf(0x1c1)](_0x139d55);_0x4b2dfb=_0x3b2606;}return _0x4b2dfb;};}[_0x4be8b8(0x25b)](_0x3b65bf,_0x324699){const _0x208bfc=_0x4be8b8;let _0x49009c='';return()=>(_0x49009c||(_0x49009c=_0x324699[_0x208bfc(0x191)](_0x3b65bf,{'showSuggestionHighlights':!0x0})),_0x49009c);}[_0x4be8b8(0x1f6)](_0x3cb98f,_0x55c461,_0x5b61fa){let _0xe09e4f='';return()=>{const _0x9d514a=_0x3c8d;if(!_0xe09e4f){const _0x24f90c=_0x5b61fa[_0x9d514a(0x212)](new _0xb3fca0(_0x3cb98f)),_0x7600d=_0x5b61fa[_0x9d514a(0x282)][_0x9d514a(0x21c)][_0x9d514a(0x1f0)](_0x24f90c)[_0x9d514a(0x283)](_0x9d514a(0x288)+_0x55c461+'\x22]');_0xe09e4f=_0x7600d?.[_0x9d514a(0x1ca)]||'';}return _0xe09e4f;};}[_0x4be8b8(0x1d3)](_0x27b6e1,_0x37fc54=0x5){const _0x80275e=_0x4be8b8;let _0x3f94fa=_0x27b6e1,_0x138d5c=null;for(let _0x229706=0x0;_0x229706<_0x37fc54&&_0x3f94fa;_0x229706++){if(!_0x3f94fa[_0x80275e(0x1fd)]){_0x3f94fa=_0x3f94fa[_0x80275e(0x207)];continue;}if(!(''+_0x3f94fa[_0x80275e(0x1fd)])[_0x80275e(0x1cd)](_0x80275e(0x193))){_0x3f94fa=_0x3f94fa[_0x80275e(0x207)];continue;}if(!_0x3f94fa[_0x80275e(0x20a)](_0x80275e(0x1d1)))break;_0x138d5c=_0x3f94fa;break;}return _0x138d5c;}[_0x4be8b8(0x1c7)](_0x1beb7f){const _0x204ac8=_0x4be8b8,_0x218d25=_0x1821c6(this[_0x204ac8(0x246)]),_0x40a4f1=_0x218d25[_0x204ac8(0x20e)][_0x204ac8(0x1ba)][_0x204ac8(0x19b)](_0x1beb7f);return _0x40a4f1?_0x339c2f(_0x218d25[_0x204ac8(0x1da)],_0x40a4f1):null;}[_0x4be8b8(0x1dd)](_0x490ae9){const _0x1a559f=_0x4be8b8;return Array[_0x1a559f(0x218)](this[_0x1a559f(0x1ab)][_0x1a559f(0x19f)]())[_0x1a559f(0x24e)](_0x22cbc9=>_0x22cbc9[_0x1a559f(0x28e)]===_0x490ae9);}[_0x4be8b8(0x18b)](_0x1a7aa6){const _0x4e7fa9=_0x4be8b8;return _0x4e7fa9(0x26c)===_0x1a7aa6[_0x4e7fa9(0x1ff)]?_0x1a7aa6[_0x4e7fa9(0x20d)]:_0x1a7aa6[_0x4e7fa9(0x22b)][_0x4e7fa9(0x241)];}[_0x4be8b8(0x26f)](_0x7a58cb,_0x931f4a=!0x1){const _0x2e2251=_0x4be8b8;return _0x2e2251(0x26c)===_0x7a58cb[_0x2e2251(0x1ff)]?_0x931f4a?_0x7a58cb[_0x2e2251(0x20d)]:_0x7a58cb[_0x2e2251(0x20d)][_0x2e2251(0x281)](_0x7a58cb[_0x2e2251(0x1c8)]):_0x7a58cb[_0x2e2251(0x22b)][_0x2e2251(0x260)];}[_0x4be8b8(0x25a)](_0x3588ee,_0x251536){const _0x53dfc2=_0x4be8b8;return _0x53dfc2(0x26c)===_0x3588ee[_0x53dfc2(0x1ff)]?_0x3588ee[_0x53dfc2(0x20d)]=_0x3588ee[_0x53dfc2(0x20d)][_0x53dfc2(0x281)](_0x251536):_0x53dfc2(0x22f)===_0x3588ee[_0x53dfc2(0x1ff)]&&_0x3588ee[_0x53dfc2(0x22b)]&&(_0x3588ee[_0x53dfc2(0x22b)]=new _0x16d84a(_0x3588ee[_0x53dfc2(0x22b)][_0x53dfc2(0x241)][_0x53dfc2(0x281)](_0x251536),_0x3588ee[_0x53dfc2(0x22b)][_0x53dfc2(0x260)][_0x53dfc2(0x281)](_0x251536))),_0x3588ee;}[_0x4be8b8(0x19d)](_0x4b65c5,_0x3db01f){const _0x15eff4=_0x4be8b8;_0x15eff4(0x26c)===_0x4b65c5[_0x15eff4(0x1ff)]?_0x4b65c5[_0x15eff4(0x20d)]=this[_0x15eff4(0x284)](_0x4b65c5[_0x15eff4(0x20d)],_0x3db01f):_0x15eff4(0x22f)===_0x4b65c5[_0x15eff4(0x1ff)]&&_0x4b65c5[_0x15eff4(0x22b)]&&(_0x4b65c5[_0x15eff4(0x22b)]=this[_0x15eff4(0x216)](_0x4b65c5[_0x15eff4(0x22b)],_0x3db01f));}[_0x4be8b8(0x284)](_0x3f1a53,_0xf9dc29){const _0x542f2c=_0x4be8b8;return new _0x563f6e(_0xf9dc29,_0x3f1a53[_0x542f2c(0x1f8)]);}[_0x4be8b8(0x216)](_0x17768f,_0x4dda31){const _0x438e71=_0x4be8b8;return new _0x16d84a(this[_0x438e71(0x284)](_0x17768f[_0x438e71(0x241)],_0x4dda31),this[_0x438e71(0x284)](_0x17768f[_0x438e71(0x260)],_0x4dda31));}[_0x4be8b8(0x1ad)](_0x3d8c9a,_0x357d16){return new _0x563f6e(_0x357d16,[..._0x3d8c9a]);}[_0x4be8b8(0x1cf)](_0x42a0cc,_0x315ccc,_0xba04ee,_0x7ec0b1){const _0x2a1d7a=_0x4be8b8;return new _0x16d84a(this[_0x2a1d7a(0x1ad)](_0x315ccc,_0x7ec0b1),this[_0x2a1d7a(0x1ad)](_0xba04ee,_0x7ec0b1));}[_0x4be8b8(0x226)](_0x5e82ea){const _0x101a2a=_0x4be8b8,_0x1f99a7=_0x2946be=>{const _0x2b3b3e=_0x3c8d;switch(_0x2946be){case _0x2b3b3e(0x26c):return 0x0;case _0x2b3b3e(0x1db):return 0x1;case _0x2b3b3e(0x209):return 0x2;case _0x2b3b3e(0x18e):return 0x3;}};return _0x5e82ea[_0x101a2a(0x188)]((_0x266a96,_0xeeed20)=>_0x1f99a7(_0x266a96[_0x101a2a(0x1ff)])-_0x1f99a7(_0xeeed20[_0x101a2a(0x1ff)]));}[_0x4be8b8(0x270)](_0x2c90f8,_0xfc53ef){const _0x1a98da=_0x4be8b8,_0x5f3914=_0x2c90f8[_0x1a98da(0x22c)](0x0),_0x2cefc7=_0xfc53ef[_0x1a98da(0x22c)](0x0);return!(!_0x5f3914||!_0x2cefc7)&&((!_0x5f3914['is'](_0x1a98da(0x196))||!_0x2cefc7['is'](_0x1a98da(0x196))||_0x5f3914[_0x1a98da(0x18a)]===_0x2cefc7[_0x1a98da(0x18a)])&&!(_0x5f3914['is'](_0x1a98da(0x196))&&!_0x2cefc7['is'](_0x1a98da(0x196))||!_0x5f3914['is'](_0x1a98da(0x196))&&_0x2cefc7['is'](_0x1a98da(0x196))));}[_0x4be8b8(0x1c6)](_0x1c2e1a){const _0x2a6f81=_0x4be8b8;return 0x1===_0x1c2e1a[_0x2a6f81(0x1ce)];}[_0x4be8b8(0x1f2)](_0xb673f9,_0x3e381c){const _0x3adc4c=_0x4be8b8;for(const _0x5525a4 of _0xb673f9[_0x3adc4c(0x228)]())if(_0x5525a4['is'](_0x3adc4c(0x196))&&!_0x3e381c[_0x3adc4c(0x19a)](_0x5525a4))return!0x1;return!0x0;}[_0x4be8b8(0x1ac)](_0x4b62ac,_0x953d1d){const _0x543222=_0x4be8b8;let _0x3f0f8f=_0x4b62ac[_0x543222(0x20a)](_0x539ba8);return _0x3f0f8f||(_0x3f0f8f=_0x953d1d(),_0x4b62ac[_0x543222(0x18f)](_0x539ba8,_0x3f0f8f)),_0x3f0f8f;}}
|
|
23
|
+
const _0x2bba59=_0x31c9;(function(_0x2e2be4,_0x5e8d32){const _0x5d79c1=_0x31c9,_0x458666=_0x2e2be4();while(!![]){try{const _0x2cdab2=-parseInt(_0x5d79c1(0x1f7))/0x1+-parseInt(_0x5d79c1(0x157))/0x2*(-parseInt(_0x5d79c1(0x198))/0x3)+-parseInt(_0x5d79c1(0x11a))/0x4*(-parseInt(_0x5d79c1(0x163))/0x5)+-parseInt(_0x5d79c1(0x12f))/0x6*(parseInt(_0x5d79c1(0x156))/0x7)+parseInt(_0x5d79c1(0x1dd))/0x8*(parseInt(_0x5d79c1(0x146))/0x9)+parseInt(_0x5d79c1(0x194))/0xa+-parseInt(_0x5d79c1(0x188))/0xb;if(_0x2cdab2===_0x5e8d32)break;else _0x458666['push'](_0x458666['shift']());}catch(_0x1616b3){_0x458666['push'](_0x458666['shift']());}}}(_0x2b99,0x5e866));import{InsertOperation as _0x3c6f29,MarkerOperation as _0x29241a,ModelDocumentFragment as _0x1bb858,ModelPosition as _0x448c2e,ModelRange as _0x39987f,ModelTreeWalker as _0x43e510,transformOperationSets as _0x20c5db}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x407768,EmitterMixin as _0x540326,uid as _0x50d683}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x449706}from'ckeditor5/src/core.js';import{DocumentCompare as _0x56dd61,DATA_ID_MODEL_ATTRIBUTE as _0xd2d3b3,DATA_ID_VIEW_ATTRIBUTE as _0x12c48f,getMarkerDomElement as _0x122c12}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0xc0fe28}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x160896}from'../aicore/aiediting.js';function _0x31c9(_0x15324e,_0x393fbb){const _0x2b999f=_0x2b99();return _0x31c9=function(_0x31c93b,_0x27c169){_0x31c93b=_0x31c93b-0xed;let _0x176851=_0x2b999f[_0x31c93b];return _0x176851;},_0x31c9(_0x15324e,_0x393fbb);}function _0x2b99(){const _0x18677c=['getRoots','disableReadOnlyMode','offsetSize','dataDowncast','addOperation','_activeMarkers','_findMarkerElementById','[data-marker-id=\x22','_getMarkersDataForGroup','schema','closest','editing','context','stringify','change','_validateMarkers','clone','nodes','_appendChild','_removeChildren','getRoot','newRange','mouseover','markerName','_removeAttribute','changeMarkerRestored','_setAttribute','element','_markers','className','backward','getDiff','.ck-reset.ck-ai_review-balloon-panel-suggestion','_insertMarkers','changeMarkerClicked','ck-ai_review-marker_strikethrough','insertContent','AIEditing','howMany','emitter','_findAdjacentContextDistance','from','getShiftedBy','parent','AIReviewCoreEditing','childCount','editingDowncast','addMarker','ck-ai_review-marker_underline','createRangeOn','fire','_haveOnlyInlineContent','join','applyOperation','outside','applyChange','ck-ai_review-marker_','position','64cyETGF','_createGetContentFn','setMarkersInElementAsActive','reconvertMarker','_changePosition','_hasSameTopLevelElement','body','innerHTML','filter','$graveyard','sort','ck-ai_review-marker_context-end','asString','push','ai-review','affectsData','parse','size','suggestion-context','getAttribute','_changeRange','suggestion:deletion:id:authorId:','getEditor','rejectChange','ellipsisBefore','reactivateMarkers','161587AZaMvH','relatedTarget','changeMarkerRemoved','remove','startsWith','isDocumentOperation','_findMarkerElement','\x20ck-ai_review__change_active','getChild','hasContentBefore','getMarkerElementForChange','_getChangeContext','querySelector','getDomRoot','parentElement','delete','changeMarkerBlurred','afterInit','review-','isOfficialPlugin','registerPostFixer','isPremiumPlugin','pop','content','type','isLimit','getHtml','DocumentCompare','_changeRangeOwnerDocument','attributeToAttribute','marker','ck-ai_review__change_active','createPositionAt','toData','processor','_translateOperationToEditorContent','groupId','_clone','for','differ','get','set','viewToDom','outerHTML','createDocumentFragment','_handleMarkerChanges','[data-id=\x22','every','oldRange','setAllMarkersAsInactive','740932JfVlRo','target','isInline','createRangeIn','path','_sortMarkers','markerToHighlight','hasClass','root','_groupAdjacentOperations','_changeOperationOwnerDocument','forEach','offset','history','_domEmitter','warn','listenTo','_shiftOperation','switchToReadOnly','downcast','conversion','390BZmWpn','getPath','baseVersion','documentFragment','plugins','hasAttribute','changeMarkerHovered','insert','getChanges','isAtEnd','getContentElementForChange','_upsertDataId','markers','has','operationsA','_createGetContextFn','data','$root','rootName','markerToElement','name','version','isAtStart','266967dZkdJw','mouseup','ck-ai_review-marker_context-','remove-context','$markedRemove:synthetic','keys','enableReadOnlyMode','ck-ai_review-marker_hide','getOperations','elements','getEditableElement','data-marker-id','createPositionAfter','_changePositionOwnerDocument','hasContentAfter','flat','29715QHAlNx','2joeHgs','$documentFragment','view','span','clearAllMarkers','operations','requires','ck-ai_review-marker_add','getChildren','values','_nextDataId','ck-ai_review-marker_context-start','20jGFhGP','append','containerElement','add','asFragment','removeMarker','$markedRemove','markChangePositionInEditorContent','exec','batch','isOpening','concat','containsRange','htmlProcessor','createRawElement','jumpTo','suggestion:insertion:id:authorId:','highest','pluginName','length','$textProxy','deleteContent','includes','isBlock','ellipsisAfter','operationsIsolated','document','_haveSingleTopLevelElement','remove-text','getDocumentData','domConverter','createUIElement','clear','diffContent','No\x20element\x20found\x20for\x20ID:\x20','createSelection','isTouching','11677204gfYtTx','index','start','isIntersecting','model','inside','getChangedMarkers','htmlWriter','switchToEdit','forward','remove-only','_getOperationStart','7439120DWDnUv','_eventEmitter','end','createRange','492306ANsLXS','getRange','_createGetContentUsingDataIdFn','split','toDomElement','map','_parseMarkerName','getStart','_getOperationEnd','toView','_getPositionLimitingRange'];_0x2b99=function(){return _0x18677c;};return _0x2b99();}import{debounce as _0x3da6a0}from'es-toolkit/compat';const fe=_0x2bba59(0xfa);export class AIReviewCoreEditing extends _0x449706{static get[_0x2bba59(0x15d)](){return[_0x56dd61,_0x160896];}static get[_0x2bba59(0x175)](){const _0x3537ff=_0x2bba59;return _0x3537ff(0x1cf);}static get[_0x2bba59(0xfb)](){return!0x0;}static get[_0x2bba59(0xfd)](){return!0x0;}[_0x2bba59(0x1bf)]=new Map();[_0x2bba59(0x1a8)]=new Set();[_0x2bba59(0x128)];[_0x2bba59(0x195)];constructor(_0x20cef2){const _0x230626=_0x2bba59;super(_0x20cef2),this[_0x230626(0x128)]=new(_0x407768())(),this[_0x230626(0x195)]=new(_0x540326())();}get[_0x2bba59(0x1ca)](){const _0x52b14d=_0x2bba59;return this[_0x52b14d(0x195)];}[_0x2bba59(0xf9)](){const _0x29b002=_0x2bba59,_0x482bad=_0xc0fe28(this[_0x29b002(0x1af)]);_0x482bad[_0x29b002(0x12e)][_0x29b002(0x10e)](_0x29b002(0x1d1))[_0x29b002(0x142)]({'model':fe+_0x29b002(0x136),'view':(_0x4b61de,{writer:_0x4726ef})=>{const _0xf852de=_0x29b002,_0x5016ae=this[_0xf852de(0x1bf)][_0xf852de(0x110)](_0x4b61de[_0xf852de(0x1ba)]),_0x255763={'class':_0xf852de(0x15e)+(this[_0xf852de(0x1a8)][_0xf852de(0x13c)](_0x5016ae?.['id']||'')?_0xf852de(0xef):''),'data-marker-id':_0x4b61de[_0xf852de(0x1ba)]};return _0x4726ef[_0xf852de(0x182)](_0xf852de(0x15a),_0x255763,function(_0x59e50b){const _0x15a8a8=_0xf852de,_0x44fd8a=this[_0x15a8a8(0x19c)](_0x59e50b);return _0x44fd8a[_0x15a8a8(0x1e4)]=_0x5016ae?.[_0x15a8a8(0xff)]?.[_0x15a8a8(0x1e9)]||'',_0x44fd8a;});}}),_0x482bad[_0x29b002(0x12e)][_0x29b002(0x10e)](_0x29b002(0x1d1))[_0x29b002(0x120)]({'model':fe+_0x29b002(0x192),'view':_0x26cafa=>{const _0x1d0198=_0x29b002,_0x267b89=this[_0x1d0198(0x1bf)][_0x1d0198(0x110)](_0x26cafa[_0x1d0198(0x1ba)]),_0x5d5e6f=[_0x1d0198(0x1c6)];return this[_0x1d0198(0x1a8)][_0x1d0198(0x13c)](_0x267b89?.['id']||'')&&_0x5d5e6f[_0x1d0198(0x1ea)](_0x1d0198(0x107)),{'classes':_0x5d5e6f,'attributes':{'data-marker-id':_0x26cafa[_0x1d0198(0x1ba)]}};}}),_0x482bad[_0x29b002(0x12e)][_0x29b002(0x10e)](_0x29b002(0x1d1))[_0x29b002(0x120)]({'model':fe+_0x29b002(0x149),'view':_0x524afb=>{const _0x147ebe=_0x29b002,_0x37e003=this[_0x147ebe(0x1bf)][_0x147ebe(0x110)](_0x524afb[_0x147ebe(0x1ba)]),_0x1de8b8=[_0x147ebe(0x1d3)];return this[_0x147ebe(0x1a8)][_0x147ebe(0x13c)](_0x37e003?.['id']||'')&&_0x1de8b8[_0x147ebe(0x1ea)](_0x147ebe(0x107)),{'classes':_0x1de8b8,'attributes':{'data-marker-id':_0x524afb[_0x147ebe(0x1ba)]}};}}),_0x482bad[_0x29b002(0x12e)][_0x29b002(0x10e)](_0x29b002(0x1d1))[_0x29b002(0x120)]({'model':fe+_0x29b002(0x17f),'view':_0x4c3e3c=>{const _0x180aae=_0x29b002,_0x4975a4=this[_0x180aae(0x1bf)][_0x180aae(0x110)](_0x4c3e3c[_0x180aae(0x1ba)]),_0x45da2b=[_0x180aae(0x14d)];return this[_0x180aae(0x1a8)][_0x180aae(0x13c)](_0x4975a4?.['id']||'')&&_0x45da2b[_0x180aae(0x1ea)](_0x180aae(0x107)),{'classes':_0x45da2b,'attributes':{'data-marker-id':_0x4c3e3c[_0x180aae(0x1ba)]}};}}),_0x482bad[_0x29b002(0x12e)][_0x29b002(0x10e)](_0x29b002(0x1a6))[_0x29b002(0x142)]({'model':fe+_0x29b002(0x1ef),'view':(_0x31c156,{writer:_0x3c7221})=>_0x3c7221[_0x29b002(0x171)](_0x29b002(0x15a),{'class':_0x29b002(0x148)+(_0x31c156[_0x29b002(0x16d)]?_0x29b002(0x18a):_0x29b002(0x196))})}),_0x482bad[_0x29b002(0x12e)][_0x29b002(0x10e)](_0x29b002(0x12d))[_0x29b002(0x105)]({'model':_0xd2d3b3,'view':_0x12c48f});const _0x49ecaa=_0x482bad['ui'][_0x29b002(0x150)]()||document[_0x29b002(0x1e3)];this[_0x29b002(0x128)][_0x29b002(0x12a)](_0x49ecaa,_0x29b002(0x147),(_0x3d17ca,_0x531368)=>{const _0x3e569e=_0x29b002,_0x54fb18=_0x531368[_0x3e569e(0x11b)],_0x115eb8=this[_0x3e569e(0xee)](_0x54fb18);if(!_0x115eb8)return;const _0x2fe127=_0x115eb8[_0x3e569e(0x1f0)](_0x3e569e(0x151)),_0x18f1ff=_0x2fe127[_0x3e569e(0x19b)](':')[_0x3e569e(0xfe)]()?.[_0x3e569e(0x19b)]('_')[0x0];this[_0x3e569e(0x195)][_0x3e569e(0x1d5)](_0x3e569e(0x1c5),{'markerId':_0x2fe127,'changeId':_0x18f1ff,'markerElement':()=>this[_0x3e569e(0x1a9)](_0x2fe127),'domEvent':_0x531368});},{'usePassive':!0x0,'priority':_0x29b002(0x174)}),this[_0x29b002(0x128)][_0x29b002(0x12a)](_0x49ecaa,_0x29b002(0x1b9),(_0x4eb559,_0x8382c8)=>{const _0x16fdf2=_0x29b002,_0x411d1d=_0x8382c8[_0x16fdf2(0x11b)],_0x51c43e=_0x8382c8[_0x16fdf2(0x1f8)];let _0x134377=this[_0x16fdf2(0xee)](_0x411d1d);if(!_0x134377&&_0x51c43e&&(_0x134377=this[_0x16fdf2(0xee)](_0x51c43e)),!_0x134377)return;const _0x643446=_0x134377[_0x16fdf2(0x1f0)](_0x16fdf2(0x151)),_0x564ff9=_0x643446[_0x16fdf2(0x19b)](':')[_0x16fdf2(0xfe)]()?.[_0x16fdf2(0x19b)]('_')[0x0];this[_0x16fdf2(0x195)][_0x16fdf2(0x1d5)](_0x16fdf2(0x135),{'changeId':_0x564ff9,'markerElement':()=>this[_0x16fdf2(0x1a9)](_0x643446),'domEvent':_0x8382c8});}),this[_0x29b002(0x128)][_0x29b002(0x12a)](document,_0x29b002(0x1b9),_0x3da6a0((_0x5b4ccb,_0x2b067c)=>{const _0x1afadf=_0x29b002,_0x4319d6=_0x2b067c[_0x1afadf(0x11b)];if(this[_0x1afadf(0xee)](_0x4319d6))return;_0x4319d6[_0x1afadf(0x1ad)](_0x1afadf(0x1c3))||this[_0x1afadf(0x195)][_0x1afadf(0x1d5)](_0x1afadf(0xf8));},0xc8)),_0x482bad[_0x29b002(0x18c)][_0x29b002(0x17d)][_0x29b002(0xfc)](_0xa9b2f5=>this[_0x29b002(0x1b2)](_0x482bad,_0xa9b2f5)),_0x482bad[_0x29b002(0x18c)][_0x29b002(0x17d)]['on'](_0x29b002(0x1b1),()=>this[_0x29b002(0x115)](_0x482bad));}[_0x2bba59(0x180)](){const _0x477d40=_0x2bba59,_0x4ab1bd=this[_0x477d40(0x1af)][_0x477d40(0x133)][_0x477d40(0x110)](_0x477d40(0x1c8)),_0x4e651d=_0xc0fe28(this[_0x477d40(0x1af)]),_0x2070b8=_0x4e651d[_0x477d40(0x18c)],_0x24ee4c=new _0x1bb858();for(const _0x198520 of _0x2070b8[_0x477d40(0x17d)][_0x477d40(0x1b7)]()[_0x477d40(0x15f)]()){const _0x4255f4=_0x198520[_0x477d40(0x10d)](!0x0);_0x24ee4c[_0x477d40(0x1b5)](_0x4255f4);}for(const _0x3070e6 of _0x2070b8[_0x477d40(0x13b)])_0x24ee4c[_0x477d40(0x13b)][_0x477d40(0x111)](_0x3070e6[_0x477d40(0x143)],this[_0x477d40(0x104)](_0x3070e6[_0x477d40(0x199)]()[_0x477d40(0x1b3)](),_0x24ee4c));const _0x313e38=new _0x43e510({'ignoreElementEnd':!0x0,'startPosition':_0x2070b8[_0x477d40(0x108)](_0x24ee4c,0x0)}),_0x38e7d1=new Set(),_0x202153=new Map();for(const {item:_0x348b13}of _0x313e38){if(!_0x348b13['is'](_0x477d40(0x177)))continue;const _0x57668f=_0x348b13[_0x477d40(0x1ce)];if(_0x57668f&&_0x57668f['is'](_0x477d40(0x1be))){const _0x4d0af8=this[_0x477d40(0x13a)](_0x57668f,()=>_0x4ab1bd[_0x477d40(0x161)](_0x38e7d1));_0x38e7d1[_0x477d40(0x166)](_0x4d0af8);for(const _0x767f1b of _0x57668f[_0x477d40(0x15f)]())_0x767f1b['is'](_0x477d40(0x1be))&&_0x38e7d1[_0x477d40(0x166)](this[_0x477d40(0x13a)](_0x767f1b,()=>_0x4ab1bd[_0x477d40(0x161)](_0x38e7d1)));let _0x3394ca=_0x57668f;for(;_0x3394ca[_0x477d40(0x1ce)]&&!_0x3394ca[_0x477d40(0x1ce)]['is'](_0x477d40(0x132));)_0x3394ca=_0x3394ca[_0x477d40(0x1ce)],_0x3394ca[_0x477d40(0x134)](_0xd2d3b3)&&_0x3394ca[_0x477d40(0x1bb)](_0xd2d3b3);_0x202153[_0x477d40(0x111)](_0x4d0af8,{'path':_0x57668f[_0x477d40(0x130)](),'getContent':this[_0x477d40(0x19a)](_0x3394ca[_0x477d40(0x10d)](!0x0),_0x4d0af8,_0x4e651d[_0x477d40(0x13f)])}),_0x313e38[_0x477d40(0x172)](_0x2070b8[_0x477d40(0x152)](_0x57668f));}}return{'content':_0x4e651d[_0x477d40(0x13f)][_0x477d40(0x10a)][_0x477d40(0x109)](_0x4e651d[_0x477d40(0x13f)][_0x477d40(0x1a1)](_0x24ee4c)),'version':_0x4e651d[_0x477d40(0x18c)][_0x477d40(0x17d)][_0x477d40(0x144)],'elements':_0x202153};}[_0x2bba59(0x184)](_0x2a7e88,_0x390f7e,_0xeb7ebc=!0x1){const _0x44440f=_0x2bba59,_0x28b916=[],_0x3a61de=_0xc0fe28(this[_0x44440f(0x1af)]),_0x50a1ea=_0x3a61de[_0x44440f(0x13f)][_0x44440f(0x1ed)](_0x390f7e,_0x44440f(0x158)),_0x444176=_0x3a61de[_0x44440f(0x13f)][_0x44440f(0x1ed)](_0x2a7e88,_0x44440f(0x158)),_0x194217=_0x3a61de[_0x44440f(0x18c)][_0x44440f(0x108)](_0x444176,0x0);if(this[_0x44440f(0x17e)](_0x50a1ea)){if(!this[_0x44440f(0x1e2)](_0x444176,_0x50a1ea))return _0x28b916;}else{const _0x5e7045=_0x3a61de[_0x44440f(0x18c)][_0x44440f(0x1ac)];if(!this[_0x44440f(0x1d6)](_0x444176,_0x5e7045)||!this[_0x44440f(0x1d6)](_0x50a1ea,_0x5e7045))return _0x28b916;}const _0x33061b=this[_0x44440f(0x1af)][_0x44440f(0x133)][_0x44440f(0x110)](_0x44440f(0x103))[_0x44440f(0x1c2)](_0x2a7e88,_0x390f7e,{'anchor':_0x194217,'markDeletions':!0x0})[_0x44440f(0x14e)]()[_0x44440f(0x1e5)](_0x221ffd=>_0x44440f(0x136)===_0x221ffd[_0x44440f(0x100)]||_0x44440f(0x106)===_0x221ffd[_0x44440f(0x100)]&&_0x221ffd[_0x44440f(0x143)][_0x44440f(0x1fb)](_0x44440f(0x169))),_0x24f769=this[_0x44440f(0x123)](_0x33061b),_0x59bde0=[];if(_0xeb7ebc){if(_0x24f769[_0x44440f(0x176)]){const _0x25fdd6=_0x24f769[0x0][_0x44440f(0x15c)][0x0],_0x950b5c=_0x44440f(0x136)===_0x25fdd6[_0x44440f(0x100)]?_0x25fdd6[_0x44440f(0x1dc)]:_0x25fdd6[_0x44440f(0x1b8)][_0x44440f(0x18a)],_0x228882=this[_0x44440f(0x1a2)](_0x950b5c,_0x3a61de,_0x44440f(0x18d)),_0x443d80=_0x228882?_0x50a1ea[_0x44440f(0xf0)](0x0)[_0x44440f(0x15f)]():_0x50a1ea[_0x44440f(0x15f)](),_0x2151d4=_0x228882||_0x3a61de[_0x44440f(0x18c)][_0x44440f(0x11d)](_0x444176),_0x59126b=[new _0x29241a(_0x44440f(0x14a)+_0x50d683(),null,_0x2151d4,_0x3a61de[_0x44440f(0x18c)][_0x44440f(0x17d)][_0x44440f(0x18c)][_0x44440f(0x13b)],!0x0,_0x3a61de[_0x44440f(0x18c)][_0x44440f(0x17d)][_0x44440f(0x144)]+0x1),new _0x3c6f29(_0x2151d4[_0x44440f(0x196)],_0x443d80,_0x3a61de[_0x44440f(0x18c)][_0x44440f(0x17d)][_0x44440f(0x144)]+0x2)];_0x59bde0[_0x44440f(0x1ea)]({'operations':_0x59126b,'operationsIsolated':_0x59126b,'groupOffset':0x0});}}else _0x59bde0[_0x44440f(0x1ea)](..._0x24f769);let _0x4160df=0x0;return _0x3a61de[_0x44440f(0x18c)][_0x44440f(0x1b1)](_0x57ec4f=>{const _0x40a8ae=_0x44440f;for(let _0x2a8589=0x0;_0x2a8589<_0x59bde0[_0x40a8ae(0x176)];_0x2a8589++){const _0x196689=_0x59bde0[_0x2a8589],_0x105453=_0x57ec4f[_0x40a8ae(0x114)]();for(const _0x378c2c of _0x444176[_0x40a8ae(0x15f)]())_0x57ec4f[_0x40a8ae(0x164)](_0x378c2c[_0x40a8ae(0x10d)](!0x0),_0x105453);for(const _0x53e3bf of _0x196689[_0x40a8ae(0x17c)])if(_0x40a8ae(0x136)===_0x53e3bf[_0x40a8ae(0x100)]){const _0xf0218e=_0x53e3bf;_0xf0218e[_0x40a8ae(0x131)]=null,_0xf0218e[_0x40a8ae(0xed)]=!0x1,this[_0x40a8ae(0x124)](_0xf0218e,_0x105453),_0x57ec4f[_0x40a8ae(0x16c)][_0x40a8ae(0x1a7)](_0x53e3bf),_0x3a61de[_0x40a8ae(0x18c)][_0x40a8ae(0x1d8)](_0x53e3bf);const _0x5c38e7=_0x40a8ae(0x173)+_0x4160df++,_0x13bccb=_0x3a61de[_0x40a8ae(0x18c)][_0x40a8ae(0x197)](_0xf0218e[_0x40a8ae(0x1dc)],_0xf0218e[_0x40a8ae(0x1dc)][_0x40a8ae(0x1cd)](_0xf0218e[_0x40a8ae(0x1c9)]));_0x105453[_0x40a8ae(0x13b)][_0x40a8ae(0x111)](_0x5c38e7,_0x13bccb);}else{if(_0x40a8ae(0x106)===_0x53e3bf[_0x40a8ae(0x100)]&&_0x53e3bf[_0x40a8ae(0x143)][_0x40a8ae(0x1fb)](_0x40a8ae(0x169))){const _0x78ac08=_0x53e3bf,_0x5df556=_0x40a8ae(0x1f2)+_0x4160df++;this[_0x40a8ae(0x124)](_0x78ac08,_0x105453),_0x105453[_0x40a8ae(0x13b)][_0x40a8ae(0x111)](_0x5df556,_0x78ac08[_0x40a8ae(0x1b8)]);}}if(_0xeb7ebc)_0x28b916[_0x40a8ae(0x1ea)]({..._0x196689,'context':this[_0x40a8ae(0x1de)](_0x444176,_0x3a61de[_0x40a8ae(0x13f)]),'content':this[_0x40a8ae(0x1de)](_0x444176,_0x3a61de[_0x40a8ae(0x13f)])});else{const _0x1c1074=this[_0x40a8ae(0xf3)](this[_0x40a8ae(0x153)](this[_0x40a8ae(0x193)](_0x196689[_0x40a8ae(0x17c)][0x0]),_0x105453),this[_0x40a8ae(0x153)](this[_0x40a8ae(0x1a0)](_0x196689[_0x40a8ae(0x17c)][_0x196689[_0x40a8ae(0x17c)][_0x40a8ae(0x176)]-0x1]),_0x105453));_0x105453[_0x40a8ae(0x13b)][_0x40a8ae(0x111)](fe+_0x40a8ae(0x1ef),new _0x39987f(_0x1c1074[_0x40a8ae(0x18a)],_0x1c1074[_0x40a8ae(0x196)])),_0x28b916[_0x40a8ae(0x1ea)]({..._0x196689,'context':this[_0x40a8ae(0x13e)](_0x105453,_0x3a61de[_0x40a8ae(0x13f)],{'ellipsisBefore':_0x1c1074[_0x40a8ae(0xf1)],'ellipsisAfter':_0x1c1074[_0x40a8ae(0x154)]}),'content':this[_0x40a8ae(0x1de)](_0x105453,_0x3a61de[_0x40a8ae(0x13f)])});}}}),_0x28b916;}[_0x2bba59(0x16a)](_0x8bb9ba,_0x394a37){const _0x18a9be=_0x2bba59;if(!_0x8bb9ba[_0x18a9be(0x176)])return;const _0x1bab3e=_0x8bb9ba[0x0][_0x18a9be(0x1ce)]['id'],_0x5eac8b=_0x394a37[_0x18a9be(0x14f)][_0x18a9be(0x110)](_0x1bab3e);if(!_0x5eac8b)return void console[_0x18a9be(0x129)](_0x18a9be(0x185)+_0x1bab3e);const _0x2e17c5=_0x5eac8b[_0x18a9be(0x11e)],_0x5203ee=_0xc0fe28(this[_0x18a9be(0x1af)]),_0x400ec5=_0x5203ee[_0x18a9be(0x18c)][_0x18a9be(0x17d)][_0x18a9be(0x127)][_0x18a9be(0x14e)](_0x394a37[_0x18a9be(0x144)]),_0x560e8f=[];for(const _0xd9ec7f of _0x8bb9ba){const _0x311aa6=_0xd9ec7f[_0x18a9be(0x17c)][_0x18a9be(0x19d)](_0x1404b5=>this[_0x18a9be(0x10b)](_0x1404b5,_0x2e17c5,_0x5203ee[_0x18a9be(0x18c)][_0x18a9be(0x17d)][_0x18a9be(0x1a3)]()[0x0]));if(!_0x311aa6||!_0x311aa6[_0x18a9be(0x176)])continue;const _0x1c6805=_0x311aa6[_0x18a9be(0x117)](_0x55595c=>_0x18a9be(0x106)===_0x55595c[_0x18a9be(0x100)]&&_0x55595c[_0x18a9be(0x143)][_0x18a9be(0x1fb)](_0x18a9be(0x169))),_0x18094c={'document':_0x5203ee[_0x18a9be(0x18c)][_0x18a9be(0x17d)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x3e6934=_0x20c5db(_0x311aa6,_0x400ec5,_0x18094c)[_0x18a9be(0x13d)];for(const _0x164f0b of _0x3e6934)if(_0x18a9be(0x136)===_0x164f0b[_0x18a9be(0x100)]){const _0x31f25d=_0x164f0b,_0x10f186=_0x31f25d[_0x18a9be(0x1b4)];_0x5203ee[_0x18a9be(0x18c)][_0x18a9be(0x1b1)](_0x24beed=>{const _0x1b7131=_0x18a9be,_0x283619=_0x24beed[_0x1b7131(0x114)]();for(const _0x2c1b03 of _0x10f186)_0x24beed[_0x1b7131(0x164)](_0x2c1b03[_0x1b7131(0x10d)](!0x0),_0x283619);_0x560e8f[_0x1b7131(0x1ea)]({'start':_0x31f25d[_0x1b7131(0x1dc)],'end':_0x31f25d[_0x1b7131(0x1dc)],'type':_0x1b7131(0x136),'groupId':_0xd9ec7f['id'],'content':{'asString':this[_0x1b7131(0x1de)](_0x283619,_0x5203ee[_0x1b7131(0x13f)])(),'asFragment':_0x283619}});});}else{if(_0x18a9be(0x106)===_0x164f0b[_0x18a9be(0x100)]&&_0x164f0b[_0x18a9be(0x143)][_0x18a9be(0x1fb)](_0x18a9be(0x169))){const _0x25c709=_0x164f0b;let _0x3bd39f=_0x18a9be(0x17f);if(_0x1c6805){const _0x883819=this[_0x18a9be(0x1cb)](_0x25c709[_0x18a9be(0x1b8)][_0x18a9be(0x18a)],_0x18a9be(0x1c1),_0x5203ee[_0x18a9be(0x18c)][_0x18a9be(0x1ac)]),_0x4af2ce=this[_0x18a9be(0x1cb)](_0x25c709[_0x18a9be(0x1b8)][_0x18a9be(0x196)],_0x18a9be(0x191),_0x5203ee[_0x18a9be(0x18c)][_0x18a9be(0x1ac)]);if(_0x883819||_0x4af2ce){const _0x2b9028=_0x25c709[_0x18a9be(0x1b8)][_0x18a9be(0x18a)][_0x18a9be(0x1cd)](-_0x883819),_0x2f9bef=_0x25c709[_0x18a9be(0x1b8)][_0x18a9be(0x196)][_0x18a9be(0x1cd)](_0x4af2ce);_0x560e8f[_0x18a9be(0x1ea)]({'start':_0x2b9028,'end':_0x2f9bef,'groupId':_0xd9ec7f['id'],'type':_0x18a9be(0x149)});}else _0x3bd39f=_0x18a9be(0x192);}_0x560e8f[_0x18a9be(0x1ea)]({'start':_0x25c709[_0x18a9be(0x1b8)][_0x18a9be(0x18a)],'end':_0x25c709[_0x18a9be(0x1b8)][_0x18a9be(0x196)],'groupId':_0xd9ec7f['id'],'type':_0x3bd39f});}}}this[_0x18a9be(0x1c4)](_0x560e8f);}[_0x2bba59(0x15b)](){const _0x49409a=_0x2bba59,_0x310d01=_0xc0fe28(this[_0x49409a(0x1af)]);_0x310d01[_0x49409a(0x18c)][_0x49409a(0x1b1)](_0x1c47f9=>{const _0x14c861=_0x49409a;for(const _0xb914b7 of this[_0x14c861(0x1bf)][_0x14c861(0x14b)]())_0x310d01[_0x14c861(0x18c)][_0x14c861(0x13b)][_0x14c861(0x110)](_0xb914b7)&&_0x1c47f9[_0x14c861(0x168)](_0xb914b7);}),this[_0x49409a(0x1bf)][_0x49409a(0x183)](),this[_0x49409a(0x1a8)][_0x49409a(0x183)]();}[_0x2bba59(0x12c)](){const _0x291a00=_0x2bba59;_0xc0fe28(this[_0x291a00(0x1af)])[_0x291a00(0x14c)](_0x291a00(0x1eb));}[_0x2bba59(0x190)](){const _0x1a0b21=_0x2bba59;_0xc0fe28(this[_0x1a0b21(0x1af)])[_0x1a0b21(0x1a4)](_0x1a0b21(0x1eb));}[_0x2bba59(0x1da)](_0x1a4253){const _0x3336be=_0x2bba59,_0x12d003=_0xc0fe28(this[_0x3336be(0x1af)]),_0x3931ba=_0x12d003[_0x3336be(0x18c)],_0x1bc542=_0x1a4253[_0x3336be(0x19d)](_0x1863bc=>this[_0x3336be(0x1ab)](_0x1863bc))[_0x3336be(0x155)]();_0x3931ba[_0x3336be(0x1b1)](_0x3905a3=>{const _0x623a14=_0x3336be;for(const _0x2ce03b of _0x1bc542){const _0x2c6c9b=_0x12d003[_0x623a14(0x18c)][_0x623a14(0x13b)][_0x623a14(0x110)](_0x2ce03b['id']);if(_0x2c6c9b){if(_0x623a14(0x136)===_0x2ce03b[_0x623a14(0x100)]){if(!_0x2ce03b[_0x623a14(0xff)])continue;_0x3931ba[_0x623a14(0x1c7)](_0x2ce03b[_0x623a14(0xff)][_0x623a14(0x167)]||null,_0x2c6c9b[_0x623a14(0x199)]()[_0x623a14(0x18a)]);}else _0x623a14(0x17f)!==_0x2ce03b[_0x623a14(0x100)]&&_0x623a14(0x192)!==_0x2ce03b[_0x623a14(0x100)]||_0x3931ba[_0x623a14(0x178)](_0x3931ba[_0x623a14(0x186)](_0x2c6c9b[_0x623a14(0x199)]()));_0x3905a3[_0x623a14(0x168)](_0x2ce03b['id']),this[_0x623a14(0x1bf)][_0x623a14(0xf7)](_0x2ce03b['id']);}}});}[_0x2bba59(0x1f4)](_0x127c22){const _0x53adae=_0x2bba59,_0x1962cd=_0xc0fe28(this[_0x53adae(0x1af)]),_0x509f16=this[_0x53adae(0x1ab)](_0x127c22);_0x1962cd[_0x53adae(0x18c)][_0x53adae(0x1b1)](_0x57e0fc=>{const _0x557f0e=_0x53adae;for(const _0x54bff0 of _0x509f16)_0x57e0fc[_0x557f0e(0x168)](_0x54bff0['id']),this[_0x557f0e(0x1bf)][_0x557f0e(0xf7)](_0x54bff0['id']);});}[_0x2bba59(0x1f3)](){const _0x39a270=_0x2bba59;return _0xc0fe28(this[_0x39a270(0x1af)]);}[_0x2bba59(0xf2)](_0x18e01e){const _0x1ccda5=_0x2bba59,_0x3fed9c=Array[_0x1ccda5(0x1cc)](this[_0x1ccda5(0x1bf)][_0x1ccda5(0x160)]())[_0x1ccda5(0x1e5)](_0x193275=>_0x193275[_0x1ccda5(0x10c)]===_0x18e01e);if(!_0x3fed9c[_0x1ccda5(0x176)])return null;const _0x1fcd93=0x1===_0x3fed9c[_0x1ccda5(0x176)]?_0x3fed9c[0x0]:this[_0x1ccda5(0x11f)](_0x3fed9c)[0x0],_0x10c638=_0xc0fe28(this[_0x1ccda5(0x1af)])[_0x1ccda5(0x18c)][_0x1ccda5(0x13b)][_0x1ccda5(0x110)](_0x1fcd93['id']);if(!_0x10c638)return null;return{'modelRange':_0x10c638[_0x1ccda5(0x199)](),'getElement':()=>this[_0x1ccda5(0x1a9)](_0x1fcd93['id'])};}[_0x2bba59(0x139)](_0xaea7f0){const _0x235be9=_0x2bba59,_0xbf31d2=Array[_0x235be9(0x1cc)](this[_0x235be9(0x1bf)][_0x235be9(0x160)]())[_0x235be9(0x1e5)](_0x5c63c3=>_0x5c63c3[_0x235be9(0x10c)]===_0xaea7f0);if(!_0xbf31d2[_0x235be9(0x176)])return null;const _0x5f1b30=0x1===_0xbf31d2[_0x235be9(0x176)]?_0xbf31d2[0x0]:this[_0x235be9(0x11f)](_0xbf31d2)[0x0],_0x5a440b=_0xc0fe28(this[_0x235be9(0x1af)]),_0x379d93=_0x5a440b[_0x235be9(0x18c)][_0x235be9(0x13b)][_0x235be9(0x110)](_0x5f1b30['id']);if(!_0x379d93)return null;const _0xac42b1=_0x379d93[_0x235be9(0x199)](),_0x1d3dc2=_0x5a440b[_0x235be9(0x1ae)][_0x235be9(0x159)][_0x235be9(0xf5)]();if(!_0x1d3dc2||!_0xac42b1)return null;let _0x20b36f=_0xac42b1[_0x235be9(0x18a)][_0x235be9(0x1ce)];for(;_0x20b36f[_0x235be9(0x1ce)]&&_0x235be9(0x140)!==_0x20b36f[_0x235be9(0x1ce)][_0x235be9(0x143)];)_0x20b36f=_0x20b36f[_0x235be9(0x1ce)];if(!_0x20b36f||!_0x20b36f[_0x235be9(0x143)])return null;const _0x4970de=_0x1d3dc2[_0x235be9(0xf4)](_0x235be9(0x1aa)+_0x5f1b30['id']+'\x22]');if(!_0x4970de)return null;let _0xc59a2c=null;_0x5a440b[_0x235be9(0x18c)][_0x235be9(0x1b1)](_0x3b0f00=>{const _0x5d6b1e=_0x235be9;_0xc59a2c=_0x3b0f00[_0x5d6b1e(0x114)](),_0x3b0f00[_0x5d6b1e(0x164)](_0x20b36f[_0x5d6b1e(0x10d)](!0x0),_0xc59a2c);});const _0x1815fc=_0x5a440b[_0x235be9(0x13f)][_0x235be9(0x1a1)](_0xc59a2c)[_0x235be9(0xf0)](0x0);return _0x4970de[_0x235be9(0x1ad)](_0x1815fc[_0x235be9(0x143)]);}[_0x2bba59(0x1f6)](_0x151192){const _0x389ac3=_0x2bba59,_0x1d306b=this[_0x389ac3(0x1ab)](_0x151192);if(!_0x1d306b[_0x389ac3(0x176)])return;const _0x9f0328=Array[_0x389ac3(0x1cc)](this[_0x389ac3(0x1a8)])[_0x389ac3(0x1e7)](),_0x414239=Array[_0x389ac3(0x1cc)](new Set(_0x1d306b[_0x389ac3(0x19d)](_0x1ceaa2=>_0x1ceaa2['id'])))[_0x389ac3(0x1e7)]();_0x9f0328[_0x389ac3(0x1d7)]('|')!==_0x414239[_0x389ac3(0x1d7)]('|')&&(this[_0x389ac3(0x119)](),this[_0x389ac3(0x1df)](_0x151192));}[_0x2bba59(0x1df)](_0x297a6a){const _0x3d526e=_0x2bba59,_0x33ee33=this[_0x3d526e(0x1ab)](_0x297a6a);if(!_0x33ee33[_0x3d526e(0x176)])return;const _0x5c6a8a=_0xc0fe28(this[_0x3d526e(0x1af)]),_0x178fe9=new Set(_0x33ee33[_0x3d526e(0x19d)](_0x535abc=>_0x535abc['id'])),_0xafc9ee=Array[_0x3d526e(0x1cc)](_0x178fe9[_0x3d526e(0x160)]())[_0x3d526e(0x19d)](_0x5a8fdf=>_0x5c6a8a[_0x3d526e(0x18c)][_0x3d526e(0x13b)][_0x3d526e(0x110)](_0x5a8fdf))[_0x3d526e(0x1e5)](_0x821290=>!!_0x821290);_0x178fe9[_0x3d526e(0x125)](_0x115fb2=>{const _0x519f9e=_0x3d526e;this[_0x519f9e(0x1a8)][_0x519f9e(0x166)](_0x115fb2);}),_0x5c6a8a[_0x3d526e(0x18c)][_0x3d526e(0x1b1)](()=>{const _0x4f86dd=_0x3d526e;_0xafc9ee[_0x4f86dd(0x125)](_0x2dcb4=>{const _0x52baa9=_0x4f86dd;_0x5c6a8a[_0x52baa9(0x1ae)][_0x52baa9(0x1e0)](_0x2dcb4);});});}[_0x2bba59(0x119)](){const _0xebb727=_0x2bba59,_0x2393a7=Array[_0xebb727(0x1cc)](this[_0xebb727(0x1a8)]);if(!_0x2393a7[_0xebb727(0x176)])return;this[_0xebb727(0x1a8)][_0xebb727(0x183)]();const _0xf0177c=_0xc0fe28(this[_0xebb727(0x1af)]),_0x5f46e2=_0x2393a7[_0xebb727(0x19d)](_0x4125c6=>_0xf0177c[_0xebb727(0x18c)][_0xebb727(0x13b)][_0xebb727(0x110)](_0x4125c6))[_0xebb727(0x1e5)](_0x3a0cb7=>!!_0x3a0cb7);_0xf0177c[_0xebb727(0x18c)][_0xebb727(0x1b1)](()=>{const _0x2c2264=_0xebb727;_0x5f46e2[_0x2c2264(0x125)](_0x3cb67a=>{const _0x1b03cd=_0x2c2264;_0xf0177c[_0x1b03cd(0x1ae)][_0x1b03cd(0x1e0)](_0x3cb67a);});});}[_0x2bba59(0x1a2)](_0x5dcf81,_0x1ff485,_0x392940=_0x2bba59(0x1d9)){const _0x249e21=_0x2bba59;if(!_0x5dcf81)return null;let _0x40fb2e=_0x5dcf81[_0x249e21(0x1ce)];for(;_0x40fb2e&&_0x40fb2e[_0x249e21(0x1ce)]&&_0x249e21(0x140)!==_0x40fb2e[_0x249e21(0x1ce)][_0x249e21(0x143)]&&!_0x1ff485[_0x249e21(0x18c)][_0x249e21(0x1ac)][_0x249e21(0x101)](_0x40fb2e)&&!_0x1ff485[_0x249e21(0x18c)][_0x249e21(0x1ac)][_0x249e21(0x17a)](_0x40fb2e);)_0x40fb2e=_0x40fb2e[_0x249e21(0x1ce)];if(!_0x40fb2e||!_0x40fb2e[_0x249e21(0x143)]||_0x249e21(0x140)===_0x40fb2e[_0x249e21(0x143)])return null;let _0x433277=null;return _0x1ff485[_0x249e21(0x18c)][_0x249e21(0x1b1)](_0x857247=>{const _0xab9f11=_0x249e21;_0x433277=_0xab9f11(0x18d)===_0x392940?_0x857247[_0xab9f11(0x11d)](_0x40fb2e):_0x857247[_0xab9f11(0x1d4)](_0x40fb2e);}),_0x433277;}[_0x2bba59(0x1b2)](_0x52a8b6,_0x2a5843){const _0xc7d7b8=_0x2bba59,_0x29e43c=Array[_0xc7d7b8(0x1cc)](this[_0xc7d7b8(0x1bf)][_0xc7d7b8(0x14b)]()),_0x5c3d48=new Map();for(const _0x4439fd of _0x29e43c){const _0x1c24b0=_0x52a8b6[_0xc7d7b8(0x18c)][_0xc7d7b8(0x13b)][_0xc7d7b8(0x110)](_0x4439fd);if(!_0x1c24b0)continue;const _0x350347=_0x1c24b0[_0xc7d7b8(0x19f)]()[_0xc7d7b8(0x11e)][0x0];_0x5c3d48[_0xc7d7b8(0x13c)](_0x350347)||_0x5c3d48[_0xc7d7b8(0x111)](_0x350347,[]),_0x5c3d48[_0xc7d7b8(0x110)](_0x350347)[_0xc7d7b8(0x1ea)](_0x1c24b0);}const _0x5ed3b7=new Set();for(const _0x467a98 of _0x52a8b6[_0xc7d7b8(0x18c)][_0xc7d7b8(0x17d)][_0xc7d7b8(0x10f)][_0xc7d7b8(0x137)]()){let _0x531f58=-0x1,_0xed8141=null;if(_0xc7d7b8(0x136)===_0x467a98[_0xc7d7b8(0x100)])_0xed8141=new _0x39987f(_0x467a98[_0xc7d7b8(0x1dc)],_0x467a98[_0xc7d7b8(0x1dc)][_0xc7d7b8(0x1cd)](_0x467a98[_0xc7d7b8(0x176)])),_0x531f58=_0x467a98[_0xc7d7b8(0x1dc)][_0xc7d7b8(0x11e)][0x0];else{if(_0xc7d7b8(0x1fa)!==_0x467a98[_0xc7d7b8(0x100)])continue;_0xed8141=new _0x39987f(_0x467a98[_0xc7d7b8(0x1dc)]),_0x531f58=_0x467a98[_0xc7d7b8(0x1dc)][_0xc7d7b8(0x11e)][0x0];}const _0x4606d1=_0x5c3d48[_0xc7d7b8(0x110)](_0x531f58)||[];if(_0x4606d1[_0xc7d7b8(0x176)]){for(const _0x4bc0e5 of _0x4606d1)if(_0xed8141[_0xc7d7b8(0x122)][_0xc7d7b8(0x141)]===_0x4bc0e5[_0xc7d7b8(0x199)]()[_0xc7d7b8(0x122)][_0xc7d7b8(0x141)]&&(_0xc7d7b8(0x136)!==_0x467a98[_0xc7d7b8(0x100)]||!_0xed8141[_0xc7d7b8(0x16f)](_0x4bc0e5[_0xc7d7b8(0x199)]()))&&(_0xed8141[_0xc7d7b8(0x18b)](_0x4bc0e5[_0xc7d7b8(0x199)]())||_0xed8141[_0xc7d7b8(0x18a)][_0xc7d7b8(0x187)](_0x4bc0e5[_0xc7d7b8(0x199)]()[_0xc7d7b8(0x196)])||_0xed8141[_0xc7d7b8(0x196)][_0xc7d7b8(0x187)](_0x4bc0e5[_0xc7d7b8(0x199)]()[_0xc7d7b8(0x18a)]))){const _0x35a867=this[_0xc7d7b8(0x19e)](_0x4bc0e5[_0xc7d7b8(0x143)]);Array[_0xc7d7b8(0x1cc)](this[_0xc7d7b8(0x1bf)][_0xc7d7b8(0x160)]())[_0xc7d7b8(0x1e5)](_0xf6dd3a=>_0xf6dd3a[_0xc7d7b8(0x10c)]===_0x35a867[_0xc7d7b8(0x10c)])[_0xc7d7b8(0x125)](_0x145f13=>_0x5ed3b7[_0xc7d7b8(0x166)](_0x145f13['id']));}}}if(_0x5ed3b7[_0xc7d7b8(0x1ee)]){for(const _0x18e285 of _0x5ed3b7)_0x2a5843[_0xc7d7b8(0x168)](_0x18e285);return!0x0;}return!0x1;}[_0x2bba59(0x115)](_0xbd404){const _0x4cf55a=_0x2bba59;for(const {name:_0x3bbae7,data:_0xe4a22}of _0xbd404[_0x4cf55a(0x18c)][_0x4cf55a(0x17d)][_0x4cf55a(0x10f)][_0x4cf55a(0x18e)]()){if(!_0x3bbae7[_0x4cf55a(0x1fb)](fe))continue;const _0x333c73=_0xe4a22[_0x4cf55a(0x118)],_0x3f1bdf=_0xe4a22[_0x4cf55a(0x1b8)],_0x3add4e=_0x333c73&&_0x4cf55a(0x1e6)===_0x333c73[_0x4cf55a(0x122)][_0x4cf55a(0x141)],_0xd52e68=_0x3f1bdf&&_0x4cf55a(0x1e6)===_0x3f1bdf[_0x4cf55a(0x122)][_0x4cf55a(0x141)];if(_0x3add4e&&_0xd52e68)continue;const _0x35c1ca=this[_0x4cf55a(0x19e)](_0x3bbae7);this[_0x4cf55a(0x1bf)][_0x4cf55a(0x110)](_0x3bbae7)&&(_0xd52e68||!_0x3f1bdf?this[_0x4cf55a(0x195)][_0x4cf55a(0x1d5)](_0x4cf55a(0x1f9),{'markerId':_0x3bbae7,'changeId':_0x35c1ca[_0x4cf55a(0x10c)]}):_0x3add4e&&_0x3f1bdf&&this[_0x4cf55a(0x195)][_0x4cf55a(0x1d5)](_0x4cf55a(0x1bc),{'markerId':_0x3bbae7,'changeId':_0x35c1ca[_0x4cf55a(0x10c)]}));}}[_0x2bba59(0x19e)](_0x160250){const _0x2de1f2=_0x2bba59,_0x5d5512=_0x160250[_0x2de1f2(0x19b)](':'),_0x4ea687=(_0x5d5512[0x1]||'')[_0x2de1f2(0x19b)]('_');return{'prefix':_0x5d5512[0x0],'groupId':_0x4ea687[0x0],'suffix':_0x4ea687[0x1]};}[_0x2bba59(0x10b)](_0x5d5858,_0x5cfb57,_0x215585){const _0x29e906=_0x2bba59;if(_0x29e906(0x136)===_0x5d5858[_0x29e906(0x100)]){const _0x28ca24=_0x5d5858;return new _0x3c6f29(this[_0x29e906(0x1e1)](_0x5cfb57[_0x29e906(0x16e)](_0x28ca24[_0x29e906(0x1dc)][_0x29e906(0x126)]),_0x215585),_0x28ca24[_0x29e906(0x1b4)],_0x28ca24[_0x29e906(0x131)]);}if(_0x29e906(0x106)===_0x5d5858[_0x29e906(0x100)]&&_0x5d5858[_0x29e906(0x143)][_0x29e906(0x1fb)](_0x29e906(0x169))){const _0x645bcc=_0x5d5858;return new _0x29241a(_0x645bcc[_0x29e906(0x143)],_0x645bcc[_0x29e906(0x118)],this[_0x29e906(0x1f1)](_0x645bcc[_0x29e906(0x1b8)],_0x5cfb57[_0x29e906(0x16e)](_0x645bcc[_0x29e906(0x1b8)][_0x29e906(0x18a)][_0x29e906(0x126)]),_0x5cfb57[_0x29e906(0x16e)](_0x645bcc[_0x29e906(0x1b8)][_0x29e906(0x196)][_0x29e906(0x126)]),_0x215585),_0x645bcc[_0x29e906(0x1bf)],_0x645bcc[_0x29e906(0x1ec)],_0x645bcc[_0x29e906(0x131)]);}return _0x5d5858;}[_0x2bba59(0x123)](_0x294b74){const _0x40c4ad=_0x2bba59;if(!_0x294b74[_0x40c4ad(0x176)])return[];const _0x134d5b=[];let _0x5ed5f3=0x0,_0x330ed0=0x0,_0x8a7919=[];for(let _0x53eb24=0x0;_0x53eb24<=_0x294b74[_0x40c4ad(0x176)];_0x53eb24++){const _0x5a429e=_0x294b74[_0x53eb24],_0x5f0158=_0x294b74[_0x53eb24-0x1];!_0x5a429e||_0x5f0158&&!this[_0x40c4ad(0x1a0)](_0x5f0158)[_0x40c4ad(0x187)](this[_0x40c4ad(0x193)](_0x5a429e))?(_0x134d5b[_0x40c4ad(0x1ea)]({'operations':_0x8a7919,'operationsIsolated':_0x8a7919[_0x40c4ad(0x19d)](_0x1564cf=>this[_0x40c4ad(0x12b)](_0x1564cf[_0x40c4ad(0x1b3)](),-_0x330ed0)),'groupOffset':_0x5ed5f3}),_0x8a7919=_0x5a429e?[_0x5a429e]:[],_0x330ed0+=_0x5ed5f3,_0x5ed5f3=0x0):_0x8a7919[_0x40c4ad(0x1ea)](_0x5a429e),_0x5a429e&&_0x40c4ad(0x136)===_0x5a429e[_0x40c4ad(0x100)]&&(_0x5ed5f3+=_0x5a429e[_0x40c4ad(0x1c9)]);}return _0x134d5b;}[_0x2bba59(0x1cb)](_0x25cb98,_0x7cb55f,_0x17979b,_0x45916f=0x1){const _0x48b87f=_0x2bba59,_0x4ddf91=new _0x43e510({'startPosition':_0x25cb98,'direction':_0x7cb55f});let _0x180c2f=0x0;for(let _0x479023=0x0;_0x479023<_0x45916f;_0x479023++){let _0x599598=0x0,_0x3ad392=!0x1,_0x19a91a=_0x48b87f(0x191)===_0x7cb55f?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x323580}of _0x4ddf91)if(_0x323580['is'](_0x48b87f(0x177))){const _0x486bb3=_0x19a91a[_0x48b87f(0x16b)](_0x323580[_0x48b87f(0x13f)]);if(_0x486bb3&&_0x486bb3[_0x48b87f(0x176)]){if(_0x599598+=_0x48b87f(0x191)===_0x7cb55f?_0x486bb3[_0x48b87f(0x189)]+_0x486bb3[0x0][_0x48b87f(0x176)]:_0x323580[_0x48b87f(0x13f)][_0x48b87f(0x176)]-_0x486bb3[_0x48b87f(0x189)],_0x486bb3[0x0][_0x48b87f(0x176)]!==_0x323580[_0x48b87f(0x13f)][_0x48b87f(0x176)])break;_0x3ad392=!0x0,_0x19a91a=_0x48b87f(0x191)===_0x7cb55f?/^\w+/:/\w+$/;}else{if(_0x3ad392)break;_0x599598+=_0x323580[_0x48b87f(0x1a5)];}}else{if(_0x323580['is'](_0x48b87f(0x1be))){_0x17979b[_0x48b87f(0x11c)](_0x323580)&&!_0x3ad392&&(_0x599598+=0x1);break;}}_0x180c2f+=_0x599598,_0x4ddf91[_0x48b87f(0x172)](_0x25cb98[_0x48b87f(0x1cd)](_0x48b87f(0x191)===_0x7cb55f?_0x180c2f:-_0x180c2f));}return _0x180c2f;}[_0x2bba59(0xf3)](_0x2c7c58,_0x48360b){const _0x47d7e7=_0x2bba59,_0xab0712=_0xc0fe28(this[_0x47d7e7(0x1af)])[_0x47d7e7(0x18c)][_0x47d7e7(0x1ac)],_0x59e095=this[_0x47d7e7(0x1cb)](_0x2c7c58,_0x47d7e7(0x1c1),_0xab0712,0x6),_0x49b035=this[_0x47d7e7(0x1cb)](_0x48360b,_0x47d7e7(0x191),_0xab0712,0x6),_0x93a5ed=_0x2c7c58[_0x47d7e7(0x1cd)](-_0x59e095),_0x4d27e6=_0x48360b[_0x47d7e7(0x1cd)](_0x49b035);return{'start':_0x93a5ed,'end':_0x4d27e6,'hasContentBefore':!_0x93a5ed[_0x47d7e7(0x145)],'hasContentAfter':!_0x4d27e6[_0x47d7e7(0x138)]};}[_0x2bba59(0x1c4)](_0x23f545){const _0x41098b=_0x2bba59,_0xc7d5f8=this[_0x41098b(0x1af)][_0x41098b(0x133)][_0x41098b(0x110)](_0x41098b(0x1c8)),_0x2aa329=new Set();_0xc0fe28(this[_0x41098b(0x1af)])[_0x41098b(0x18c)][_0x41098b(0x1b1)](_0x167f29=>{const _0x325088=_0x41098b;for(const _0x374add of _0x23f545){const _0x3405a1=''+fe+_0x374add[_0x325088(0x100)]+':'+_0x374add[_0x325088(0x10c)]+'_'+_0xc7d5f8[_0x325088(0x161)](_0x2aa329);this[_0x325088(0x1bf)][_0x325088(0x111)](_0x3405a1,{'id':_0x3405a1,'groupId':_0x374add[_0x325088(0x10c)],'type':_0x374add[_0x325088(0x100)],'content':_0x374add[_0x325088(0xff)]}),_0x167f29[_0x325088(0x1d2)](_0x3405a1,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x167f29[_0x325088(0x197)](_0x374add[_0x325088(0x18a)],_0x374add[_0x325088(0x196)])});}});}[_0x2bba59(0x13e)](_0x21a7fb,_0x517cb9,_0x1a9f13){let _0x400ec8='';return()=>{const _0x5ae404=_0x31c9;if(!_0x400ec8){const _0x2cb5bc=_0x517cb9[_0x5ae404(0x1a1)](_0x21a7fb,{'showSuggestionHighlights':!0x0});let _0xaf89db=_0x2cb5bc[_0x5ae404(0xf0)](0x0);if(_0xaf89db['is'](_0x5ae404(0x165))||(_0xaf89db=_0x2cb5bc),!_0xaf89db)return'';let _0x3cfcec=!0x1;const _0x3874d9=[];for(const _0x272fc2 of _0xaf89db[_0x5ae404(0x15f)]())_0x272fc2['is'](_0x5ae404(0x1be),_0x5ae404(0x15a))&&_0x272fc2[_0x5ae404(0x121)](_0x5ae404(0x1e8))&&(_0x3cfcec=!0x1),_0x3cfcec&&_0x3874d9[_0x5ae404(0x1ea)](_0x272fc2),_0x272fc2['is'](_0x5ae404(0x1be),_0x5ae404(0x15a))&&_0x272fc2[_0x5ae404(0x121)](_0x5ae404(0x162))&&(_0x3cfcec=!0x0);_0xaf89db[_0x5ae404(0x1b6)](0x0,_0xaf89db[_0x5ae404(0x1d0)]),_0x1a9f13?.[_0x5ae404(0x1f5)]&&_0xaf89db[_0x5ae404(0x1b5)]('…'),_0xaf89db[_0x5ae404(0x1b5)](_0x3874d9),_0x1a9f13?.[_0x5ae404(0x17b)]&&_0xaf89db[_0x5ae404(0x1b5)]('…');const _0x5742be=_0x517cb9[_0x5ae404(0x170)][_0x5ae404(0x181)][_0x5ae404(0x112)](_0x2cb5bc),_0x56acc0=_0x517cb9[_0x5ae404(0x170)][_0x5ae404(0x18f)][_0x5ae404(0x102)](_0x5742be);_0x400ec8=_0x56acc0;}return _0x400ec8;};}[_0x2bba59(0x1de)](_0x1507a5,_0x46aa18){const _0x477a10=_0x2bba59;let _0x4b5db2='';return()=>(_0x4b5db2||(_0x4b5db2=_0x46aa18[_0x477a10(0x1b0)](_0x1507a5,{'showSuggestionHighlights':!0x0})),_0x4b5db2);}[_0x2bba59(0x19a)](_0x4a371c,_0x31eead,_0x175f63){let _0x5d30d4='';return()=>{const _0x46caef=_0x31c9;if(!_0x5d30d4){const _0x527abb=_0x175f63[_0x46caef(0x1a1)](new _0x1bb858(_0x4a371c)),_0x463d3f=_0x175f63[_0x46caef(0x170)][_0x46caef(0x181)][_0x46caef(0x112)](_0x527abb)[_0x46caef(0xf4)](_0x46caef(0x116)+_0x31eead+'\x22]');_0x5d30d4=_0x463d3f?.[_0x46caef(0x113)]||'';}return _0x5d30d4;};}[_0x2bba59(0xee)](_0x4e6b2e,_0x14159c=0x5){const _0x268f46=_0x2bba59;let _0x10f6cf=_0x4e6b2e,_0x411a6e=null;for(let _0xf80fd5=0x0;_0xf80fd5<_0x14159c&&_0x10f6cf;_0xf80fd5++){if(!_0x10f6cf[_0x268f46(0x1c0)]){_0x10f6cf=_0x10f6cf[_0x268f46(0xf6)];continue;}if(!(''+_0x10f6cf[_0x268f46(0x1c0)])[_0x268f46(0x179)](_0x268f46(0x1db))){_0x10f6cf=_0x10f6cf[_0x268f46(0xf6)];continue;}if(!_0x10f6cf[_0x268f46(0x1f0)](_0x268f46(0x151)))break;_0x411a6e=_0x10f6cf;break;}return _0x411a6e;}[_0x2bba59(0x1a9)](_0x4ff6da){const _0x3f7823=_0x2bba59,_0x4b81e0=_0xc0fe28(this[_0x3f7823(0x1af)]),_0x5e8439=_0x4b81e0[_0x3f7823(0x18c)][_0x3f7823(0x13b)][_0x3f7823(0x110)](_0x4ff6da);return _0x5e8439?_0x122c12(_0x4b81e0[_0x3f7823(0x1ae)],_0x5e8439):null;}[_0x2bba59(0x1ab)](_0x185534){const _0x2fd452=_0x2bba59;return Array[_0x2fd452(0x1cc)](this[_0x2fd452(0x1bf)][_0x2fd452(0x160)]())[_0x2fd452(0x1e5)](_0x48a9bb=>_0x48a9bb[_0x2fd452(0x10c)]===_0x185534);}[_0x2bba59(0x193)](_0xedd6d4){const _0x30cdef=_0x2bba59;return _0x30cdef(0x136)===_0xedd6d4[_0x30cdef(0x100)]?_0xedd6d4[_0x30cdef(0x1dc)]:_0xedd6d4[_0x30cdef(0x1b8)][_0x30cdef(0x18a)];}[_0x2bba59(0x1a0)](_0x440c15,_0xc1d5d6=!0x1){const _0x313b0f=_0x2bba59;return _0x313b0f(0x136)===_0x440c15[_0x313b0f(0x100)]?_0xc1d5d6?_0x440c15[_0x313b0f(0x1dc)]:_0x440c15[_0x313b0f(0x1dc)][_0x313b0f(0x1cd)](_0x440c15[_0x313b0f(0x1c9)]):_0x440c15[_0x313b0f(0x1b8)][_0x313b0f(0x196)];}[_0x2bba59(0x12b)](_0x4afeb6,_0x23cc92){const _0x3c57c4=_0x2bba59;return _0x3c57c4(0x136)===_0x4afeb6[_0x3c57c4(0x100)]?_0x4afeb6[_0x3c57c4(0x1dc)]=_0x4afeb6[_0x3c57c4(0x1dc)][_0x3c57c4(0x1cd)](_0x23cc92):_0x3c57c4(0x106)===_0x4afeb6[_0x3c57c4(0x100)]&&_0x4afeb6[_0x3c57c4(0x1b8)]&&(_0x4afeb6[_0x3c57c4(0x1b8)]=new _0x39987f(_0x4afeb6[_0x3c57c4(0x1b8)][_0x3c57c4(0x18a)][_0x3c57c4(0x1cd)](_0x23cc92),_0x4afeb6[_0x3c57c4(0x1b8)][_0x3c57c4(0x196)][_0x3c57c4(0x1cd)](_0x23cc92))),_0x4afeb6;}[_0x2bba59(0x124)](_0x43171c,_0x156784){const _0x577a2f=_0x2bba59;_0x577a2f(0x136)===_0x43171c[_0x577a2f(0x100)]?_0x43171c[_0x577a2f(0x1dc)]=this[_0x577a2f(0x153)](_0x43171c[_0x577a2f(0x1dc)],_0x156784):_0x577a2f(0x106)===_0x43171c[_0x577a2f(0x100)]&&_0x43171c[_0x577a2f(0x1b8)]&&(_0x43171c[_0x577a2f(0x1b8)]=this[_0x577a2f(0x104)](_0x43171c[_0x577a2f(0x1b8)],_0x156784));}[_0x2bba59(0x153)](_0x3a8792,_0x397af6){const _0xbd16a5=_0x2bba59;return new _0x448c2e(_0x397af6,_0x3a8792[_0xbd16a5(0x11e)]);}[_0x2bba59(0x104)](_0x23d985,_0x5dc53c){const _0x5db2a1=_0x2bba59;return new _0x39987f(this[_0x5db2a1(0x153)](_0x23d985[_0x5db2a1(0x18a)],_0x5dc53c),this[_0x5db2a1(0x153)](_0x23d985[_0x5db2a1(0x196)],_0x5dc53c));}[_0x2bba59(0x1e1)](_0x399960,_0x286d5c){return new _0x448c2e(_0x286d5c,[..._0x399960]);}[_0x2bba59(0x1f1)](_0x2be90b,_0x5430dd,_0x54698d,_0x2d57f6){const _0x46af6a=_0x2bba59;return new _0x39987f(this[_0x46af6a(0x1e1)](_0x5430dd,_0x2d57f6),this[_0x46af6a(0x1e1)](_0x54698d,_0x2d57f6));}[_0x2bba59(0x11f)](_0xf33011){const _0x171314=_0x2bba59,_0x4fbee4=_0x36dd6d=>{const _0xe6a3a1=_0x31c9;switch(_0x36dd6d){case _0xe6a3a1(0x136):return 0x0;case _0xe6a3a1(0x149):return 0x1;case _0xe6a3a1(0x192):return 0x2;case _0xe6a3a1(0x17f):return 0x3;}};return _0xf33011[_0x171314(0x1e7)]((_0x2d9658,_0x3a0585)=>_0x4fbee4(_0x2d9658[_0x171314(0x100)])-_0x4fbee4(_0x3a0585[_0x171314(0x100)]));}[_0x2bba59(0x1e2)](_0x1468c8,_0x1bd2aa){const _0x8cbe50=_0x2bba59,_0x3bea87=_0x1468c8[_0x8cbe50(0xf0)](0x0),_0x5db4bf=_0x1bd2aa[_0x8cbe50(0xf0)](0x0);return!(!_0x3bea87||!_0x5db4bf)&&((!_0x3bea87['is'](_0x8cbe50(0x1be))||!_0x5db4bf['is'](_0x8cbe50(0x1be))||_0x3bea87[_0x8cbe50(0x143)]===_0x5db4bf[_0x8cbe50(0x143)])&&!(_0x3bea87['is'](_0x8cbe50(0x1be))&&!_0x5db4bf['is'](_0x8cbe50(0x1be))||!_0x3bea87['is'](_0x8cbe50(0x1be))&&_0x5db4bf['is'](_0x8cbe50(0x1be))));}[_0x2bba59(0x17e)](_0x3438e4){const _0x45f877=_0x2bba59;return 0x1===_0x3438e4[_0x45f877(0x1d0)];}[_0x2bba59(0x1d6)](_0x1b122f,_0x147b9c){const _0x31516a=_0x2bba59;for(const _0x558d85 of _0x1b122f[_0x31516a(0x15f)]())if(_0x558d85['is'](_0x31516a(0x1be))&&!_0x147b9c[_0x31516a(0x11c)](_0x558d85))return!0x1;return!0x0;}[_0x2bba59(0x13a)](_0x3655af,_0x2a5d77){const _0x161d3d=_0x2bba59;let _0x12b5c9=_0x3655af[_0x161d3d(0x1f0)](_0xd2d3b3);return _0x12b5c9||(_0x12b5c9=_0x2a5d77(),_0x3655af[_0x161d3d(0x1bd)](_0xd2d3b3,_0x12b5c9)),_0x12b5c9;}}
|