@ckeditor/ckeditor5-ai 47.6.1 → 47.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +0 -4
- package/build/ai.js +2 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +1 -0
- package/package.json +15 -16
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.d.ts +15 -156
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.d.ts +2 -0
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
- package/build/966.ai.js +0 -5
- package/build/translations/en.js +0 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x505d(_0x4ad75d,_0x3cf087){const _0x1197bd=_0x1197();return _0x505d=function(_0x505dfa,_0x182437){_0x505dfa=_0x505dfa-0xe8;let _0x2aae9b=_0x1197bd[_0x505dfa];return _0x2aae9b;},_0x505d(_0x4ad75d,_0x3cf087);}function _0x1197(){const _0x4caa92=['13VWHBVG','document','resetSearch','974182fKesyR','30612APLabt','AIEditing','children','panelView','ai-quick-actions-dropdown-selection','selection','add','from','showFakeVisualSelection','set','getRanges','icon','hideFakeVisualSelection','2142183qTOXxE','45027puvjqq','32378NPVrQz','ck-ai-quick-actions-dropdown','label','get','6174800naFBbS','buttonView','930cubmBY','change:isOpen','model','2072CcWDOw','4wbZdib','1206725dndzGp','locale','length','has','plugins'];_0x1197=function(){return _0x4caa92;};return _0x1197();}(function(_0x23275b,_0x5d6985){const _0x2fe0c7=_0x505d,_0x2f3fe2=_0x23275b();while(!![]){try{const _0x5f1218=parseInt(_0x2fe0c7(0x108))/0x1*(parseInt(_0x2fe0c7(0xf8))/0x2)+-parseInt(_0x2fe0c7(0xf6))/0x3+parseInt(_0x2fe0c7(0x102))/0x4*(-parseInt(_0x2fe0c7(0x103))/0x5)+-parseInt(_0x2fe0c7(0xe9))/0x6*(-parseInt(_0x2fe0c7(0x101))/0x7)+parseInt(_0x2fe0c7(0xfc))/0x8+-parseInt(_0x2fe0c7(0xf7))/0x9*(parseInt(_0x2fe0c7(0xfe))/0xa)+-parseInt(_0x2fe0c7(0xe8))/0xb;if(_0x5f1218===_0x5d6985)break;else _0x2f3fe2['push'](_0x2f3fe2['shift']());}catch(_0x5c0f9c){_0x2f3fe2['push'](_0x2f3fe2['shift']());}}}(_0x1197,0xf00d4));import{createDropdown as _0xe2d627}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x5c6ded}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0xc913df}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x334cfa}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x21461f){const {editor:_0x48ebc6,content:_0x29c14c,buttonDefinition:_0x1b9990,bodyCollection:_0x4e5f5d,hasSearch:_0x4eef99=!0x1}=_0x21461f;return()=>{const _0x368522=_0x505d,_0x74a5d4=_0x48ebc6[_0x368522(0x104)],_0x2579b7=_0xe2d627(_0x74a5d4);_0x2579b7[_0x368522(0xfd)][_0x368522(0xf2)]({'icon':_0x1b9990[_0x368522(0xf4)]??_0x5c6ded,'label':_0x1b9990[_0x368522(0xfa)],'tooltip':!0x0}),_0x2579b7[_0x368522(0xf2)]({'class':_0x368522(0xf9)});const _0x2f6475=new _0xc913df(_0x48ebc6,_0x29c14c,_0x2579b7,_0x4e5f5d,_0x4eef99);if(_0x2579b7[_0x368522(0xec)][_0x368522(0xeb)][_0x368522(0xef)](_0x2f6475),_0x4eef99){const _0x39eb42=_0x368522(0xed);_0x2579b7['on'](_0x368522(0xff),(_0x4db144,_0x2fd33b,_0x3c8d10)=>{const _0x56661f=_0x368522;if(_0x3c8d10){if(_0x48ebc6[_0x56661f(0x107)][_0x56661f(0x106)](_0x56661f(0xea))){const _0x56f36e=_0x48ebc6[_0x56661f(0x107)][_0x56661f(0xfb)](_0x334cfa),_0x1a882b=_0x48ebc6[_0x56661f(0x100)][_0x56661f(0x109)][_0x56661f(0xee)],_0x15a0c6=Array[_0x56661f(0xf0)](_0x1a882b[_0x56661f(0xf3)]());_0x15a0c6[_0x56661f(0x105)]>0x0&&_0x56f36e[_0x56661f(0xf1)](_0x15a0c6,_0x39eb42,!0x1,!0x0);}}else _0x48ebc6[_0x56661f(0x107)][_0x56661f(0x106)](_0x56661f(0xea))&&_0x48ebc6[_0x56661f(0x107)][_0x56661f(0xfb)](_0x334cfa)[_0x56661f(0xf5)](_0x39eb42),_0x2f6475[_0x56661f(0x10a)]();});}return _0x2579b7;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x124a(){const _0x3b2246=['2473849ySIDeN','label','toLowerCase','sort','trim','6LRfuaA','_allListItems','filter','269208tnhmrr','item','addMany','_highlightQuery','_clearHighlight','map','source','forEach','groupLabel','includes','_allSearchableItems','172XeDZji','2ifUQLZ','2933607gLYvTg','1795080AoyfWT','clear','items','highlightViews','104CKvCxO','26532528eyWOor','899318Szmhxu','length','function','highlightText','104290oLGXqg'];_0x124a=function(){return _0x3b2246;};return _0x124a();}const _0x259cdf=_0x5cb2;(function(_0x320a95,_0x41541f){const _0x4a24b5=_0x5cb2,_0x31dd35=_0x320a95();while(!![]){try{const _0x4bed30=-parseInt(_0x4a24b5(0x1c9))/0x1*(parseInt(_0x4a24b5(0x1c1))/0x2)+-parseInt(_0x4a24b5(0x1c2))/0x3+-parseInt(_0x4a24b5(0x1c0))/0x4*(parseInt(_0x4a24b5(0x1cd))/0x5)+parseInt(_0x4a24b5(0x1d3))/0x6*(parseInt(_0x4a24b5(0x1ce))/0x7)+-parseInt(_0x4a24b5(0x1c7))/0x8*(-parseInt(_0x4a24b5(0x1b5))/0x9)+parseInt(_0x4a24b5(0x1c3))/0xa+parseInt(_0x4a24b5(0x1c8))/0xb;if(_0x4bed30===_0x41541f)break;else _0x31dd35['push'](_0x31dd35['shift']());}catch(_0x20c273){_0x31dd35['push'](_0x31dd35['shift']());}}}(_0x124a,0x88a7a));import{ListView as _0x204d74}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x4e0ff1}from'es-toolkit/compat';function _0x5cb2(_0x3b6199,_0xfd1770){const _0x124ad8=_0x124a();return _0x5cb2=function(_0x5cb2cb,_0x57b8d2){_0x5cb2cb=_0x5cb2cb-0x1b3;let _0x467b5c=_0x124ad8[_0x5cb2cb];return _0x467b5c;},_0x5cb2(_0x3b6199,_0xfd1770);}export class AIQuickActionsFilteredListView extends _0x204d74{[_0x259cdf(0x1b3)];[_0x259cdf(0x1bf)];constructor(_0x4ee047,_0x469f38,_0x4125d4){const _0x4d606e=_0x259cdf;super(_0x4ee047),this[_0x4d606e(0x1b3)]=_0x469f38,this[_0x4d606e(0x1bf)]=_0x4125d4;}[_0x259cdf(0x1b4)](_0x4b1234){const _0x160eb9=_0x259cdf;if(!_0x4b1234)return this[_0x160eb9(0x1c5)][_0x160eb9(0x1c4)](),this[_0x160eb9(0x1c5)][_0x160eb9(0x1b7)](this[_0x160eb9(0x1b3)]),this[_0x160eb9(0x1b9)](),{'resultsCount':this[_0x160eb9(0x1b3)][_0x160eb9(0x1ca)],'totalItemsCount':this[_0x160eb9(0x1b3)][_0x160eb9(0x1ca)]};const _0xe412c=_0x4b1234[_0x160eb9(0x1bb)][_0x160eb9(0x1d0)]()[_0x160eb9(0x1d2)](),_0x5db5c8=this[_0x160eb9(0x1bf)][_0x160eb9(0x1b4)](_0x2c2676=>(_0x2c2676[_0x160eb9(0x1bd)]?_0x2c2676[_0x160eb9(0x1cf)]+'\x20('+_0x2c2676[_0x160eb9(0x1bd)]+')':_0x2c2676[_0x160eb9(0x1cf)])[_0x160eb9(0x1d0)]()[_0x160eb9(0x1be)](_0xe412c));return this[_0x160eb9(0x1c5)][_0x160eb9(0x1c4)](),this[_0x160eb9(0x1c5)][_0x160eb9(0x1b7)](_0x5db5c8[_0x160eb9(0x1d1)]((_0x29b57e,_0x1470c5)=>{const _0x470dff=_0x160eb9,_0x463d04=_0x29b57e[_0x470dff(0x1bd)],_0x492514=_0x1470c5[_0x470dff(0x1bd)];return _0x463d04||_0x492514?_0x463d04?0x1:-0x1:0x0;})[_0x160eb9(0x1ba)](_0x4041cd=>_0x4041cd[_0x160eb9(0x1b6)])),this[_0x160eb9(0x1b8)](_0xe412c,_0x5db5c8),{'resultsCount':_0x5db5c8[_0x160eb9(0x1ca)],'totalItemsCount':this[_0x160eb9(0x1bf)][_0x160eb9(0x1ca)]};}[_0x259cdf(0x1b8)](_0x45458e,_0x4ec72c){const _0x318a6e=_0x259cdf;if(!_0x45458e)return;const _0x4a72ac=new RegExp(_0x4e0ff1(_0x45458e),'gi');_0x4ec72c[_0x318a6e(0x1bc)](_0x161019=>{const _0x45bab5=_0x318a6e;_0x161019[_0x45bab5(0x1c6)]&&_0x161019[_0x45bab5(0x1c6)][_0x45bab5(0x1bc)](_0x5de639=>{const _0x47cdb4=_0x45bab5;_0x47cdb4(0x1cb)==typeof _0x5de639[_0x47cdb4(0x1cc)]&&_0x5de639[_0x47cdb4(0x1cc)](_0x4a72ac);});});}[_0x259cdf(0x1b9)](){const _0x58c66f=_0x259cdf;this[_0x58c66f(0x1bf)][_0x58c66f(0x1bc)](_0xe9283b=>{const _0x2a08f0=_0x58c66f;_0xe9283b[_0x2a08f0(0x1c6)]&&_0xe9283b[_0x2a08f0(0x1c6)][_0x2a08f0(0x1bc)](_0x2ce467=>{const _0x20f0b7=_0x2a08f0;_0x20f0b7(0x1cb)==typeof _0x2ce467[_0x20f0b7(0x1cc)]&&_0x2ce467[_0x20f0b7(0x1cc)](null);});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3475(_0x4110b9,_0xe83e7a){var _0x4ebbc3=_0x4ebb();return _0x3475=function(_0x347562,_0x405bfb){_0x347562=_0x347562-0x8c;var _0x3c22ae=_0x4ebbc3[_0x347562];return _0x3c22ae;},_0x3475(_0x4110b9,_0xe83e7a);}function _0x4ebb(){var _0x554709=['41880AhbtZC','873IfYyta','setTemplate','417aaxgYu','102RCEGej','5814360OrVfxI','356rbSLEC','AI_DISCLAIMER_TEXT','ck-ai-balloon__disclaimer-content','ck-ai-balloon__disclaimer','1565anrBNr','div','1706784TkhSsa','33ZsIWYx','150017SGFTby','412gtFIpa','4651895bQmAHy'];_0x4ebb=function(){return _0x554709;};return _0x4ebb();}(function(_0x401ec3,_0x5651f2){var _0x286a5f=_0x3475,_0x1cd1cd=_0x401ec3();while(!![]){try{var _0x20eb85=parseInt(_0x286a5f(0x8d))/0x1*(parseInt(_0x286a5f(0x92))/0x2)+parseInt(_0x286a5f(0x97))/0x3*(parseInt(_0x286a5f(0x9a))/0x4)+parseInt(_0x286a5f(0x93))/0x5+-parseInt(_0x286a5f(0x98))/0x6*(parseInt(_0x286a5f(0x91))/0x7)+parseInt(_0x286a5f(0x94))/0x8*(-parseInt(_0x286a5f(0x95))/0x9)+parseInt(_0x286a5f(0x99))/0xa+parseInt(_0x286a5f(0x90))/0xb*(-parseInt(_0x286a5f(0x8f))/0xc);if(_0x20eb85===_0x5651f2)break;else _0x1cd1cd['push'](_0x1cd1cd['shift']());}catch(_0x22b1a6){_0x1cd1cd['push'](_0x1cd1cd['shift']());}}}(_0x4ebb,0x85bae));import{View as _0x32d072}from'ckeditor5/src/ui.js';import{getTranslation as _0x1b9f7b}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonDisclaimerView extends _0x32d072{constructor(_0xeadd34){var _0x37d65a=_0x3475;super(_0xeadd34),this[_0x37d65a(0x96)]({'tag':_0x37d65a(0x8e),'attributes':{'class':['ck',_0x37d65a(0x8c)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x37d65a(0x9c)]},'children':[{'text':_0x1b9f7b(_0xeadd34,_0x37d65a(0x9b))}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4b87(){const _0x205d15=['117TJuCzn','isEnabled','577384DXOTME','7206Qyedip','2189985Ozzuyr','AI_BALLOON_APPLY_BUTTON','extendTemplate','ck-ai-button-secondary','ck-ai-balloon__toolbar','locale','753385RPaTng','18300HLfXmA','_createButton','bind','set','isVisible','737QObVGG','1994522DilnVR','AI_BALLOON_SUGGEST_BUTTON','items','68vRjqmG','add','setButtonsVisibility','applyButton','443740ehGgwy','suggestButton','3409YoZxqo','ck-ai-button-primary'];_0x4b87=function(){return _0x205d15;};return _0x4b87();}const _0x4ee1d9=_0x58bd;(function(_0x3faae3,_0x8f46f9){const _0x3eeb5a=_0x58bd,_0x4a2851=_0x3faae3();while(!![]){try{const _0x2d6bf0=-parseInt(_0x3eeb5a(0x1aa))/0x1+-parseInt(_0x3eeb5a(0x1b1))/0x2+parseInt(_0x3eeb5a(0x1ab))/0x3*(parseInt(_0x3eeb5a(0x198))/0x4)+-parseInt(_0x3eeb5a(0x1a4))/0x5+parseInt(_0x3eeb5a(0x1a3))/0x6*(parseInt(_0x3eeb5a(0x19e))/0x7)+-parseInt(_0x3eeb5a(0x1a2))/0x8*(parseInt(_0x3eeb5a(0x1a0))/0x9)+parseInt(_0x3eeb5a(0x19c))/0xa*(parseInt(_0x3eeb5a(0x1b0))/0xb);if(_0x2d6bf0===_0x8f46f9)break;else _0x4a2851['push'](_0x4a2851['shift']());}catch(_0x49169a){_0x4a2851['push'](_0x4a2851['shift']());}}}(_0x4b87,0x828e1));import{ToolbarView as _0x20adc4,ButtonView as _0x22a2bb}from'ckeditor5/src/ui.js';import{getTranslation as _0x4979f5}from'../../../aicore/utils/common-translations.js';function _0x58bd(_0x2ee0ef,_0x1d7d58){const _0x4b876c=_0x4b87();return _0x58bd=function(_0x58bd14,_0x434132){_0x58bd14=_0x58bd14-0x197;let _0x9684cf=_0x4b876c[_0x58bd14];return _0x9684cf;},_0x58bd(_0x2ee0ef,_0x1d7d58);}export class AIActionsBalloonToolbarView extends _0x20adc4{constructor(_0x474b18,_0x2ce83a=!0x0,_0x24403e=!0x0){const _0x29e930=_0x58bd;super(_0x474b18),this[_0x29e930(0x1ae)](_0x29e930(0x1a1),!0x1),_0x2ce83a&&(this[_0x29e930(0x19b)]=this[_0x29e930(0x1ac)](_0x4979f5(_0x474b18,_0x29e930(0x1a5)),_0x29e930(0x19f)),this[_0x29e930(0x19b)][_0x29e930(0x1ad)](_0x29e930(0x1a1))['to'](this),this[_0x29e930(0x197)][_0x29e930(0x199)](this[_0x29e930(0x19b)])),_0x24403e&&(this[_0x29e930(0x19d)]=this[_0x29e930(0x1ac)](_0x4979f5(_0x474b18,_0x29e930(0x1b2)),_0x2ce83a?_0x29e930(0x1a7):_0x29e930(0x19f)),this[_0x29e930(0x19d)][_0x29e930(0x1ad)](_0x29e930(0x1a1))['to'](this),this[_0x29e930(0x197)][_0x29e930(0x199)](this[_0x29e930(0x19d)])),this[_0x29e930(0x19a)]({'showApplyButton':_0x2ce83a,'showSuggestButton':_0x24403e}),this[_0x29e930(0x1a6)]({'attributes':{'class':[_0x29e930(0x1a8)]}});}[_0x4ee1d9(0x19a)]({showApplyButton:_0x2626a2,showSuggestButton:_0x58ca31}){const _0x3a5092=_0x4ee1d9;this[_0x3a5092(0x19b)]&&(this[_0x3a5092(0x19b)][_0x3a5092(0x1af)]=_0x2626a2),this[_0x3a5092(0x19d)]&&(this[_0x3a5092(0x19d)][_0x3a5092(0x1af)]=_0x58ca31);}[_0x4ee1d9(0x1ac)](_0x320a76,_0x47a9f0){const _0x59c187=_0x4ee1d9,_0x2622d5=new _0x22a2bb(this[_0x59c187(0x1a9)]);return _0x2622d5[_0x59c187(0x1ae)]({'label':_0x320a76,'class':_0x47a9f0,'isVisible':!0x0,'withText':!0x0}),_0x2622d5;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3274f7=_0x5c3b;(function(_0x44afde,_0x33d2c8){const _0x591ee7=_0x5c3b,_0x4c92f3=_0x44afde();while(!![]){try{const _0x5d57b5=-parseInt(_0x591ee7(0x21c))/0x1+-parseInt(_0x591ee7(0x1e9))/0x2+parseInt(_0x591ee7(0x1de))/0x3*(-parseInt(_0x591ee7(0x22a))/0x4)+-parseInt(_0x591ee7(0x1d8))/0x5+-parseInt(_0x591ee7(0x1ca))/0x6*(parseInt(_0x591ee7(0x203))/0x7)+parseInt(_0x591ee7(0x225))/0x8*(parseInt(_0x591ee7(0x1c0))/0x9)+-parseInt(_0x591ee7(0x21e))/0xa*(-parseInt(_0x591ee7(0x21d))/0xb);if(_0x5d57b5===_0x33d2c8)break;else _0x4c92f3['push'](_0x4c92f3['shift']());}catch(_0xd48986){_0x4c92f3['push'](_0x4c92f3['shift']());}}}(_0x52fe,0xd2a36));import{ViewCollection as _0x403060,FocusCycler as _0xb6b500,ButtonView as _0x29032d,View as _0xb6f329}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3e6110,KeystrokeHandler as _0x17ed93}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x4b4481}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x537f32}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x3de202}from'../../../aicore/utils/scrollmanager.js';function _0x52fe(){const _0x4863c4=['toggleSuggestionDisplayMode','hideLoader','AI_ACTIONS_NEXT_INTERACTION','includes','_addDisclaimerView','_navigationTryAgainButton','focusCycler','12khaWBc','set','isVisible','AI_ACTIONS_PREVIOUS_INTERACTION','toggleShowChangesEnabled','toggleShowChanges','_navigationNextButton','_navigationCounter','_keystrokes','createCollection','applySuggestion','update','applyButton','ck-ai-actions-balloon-main','4571965LErtXn','AI_ACTIONS_TRY_AGAIN','_contentWrapper','tab','bind','_focusables','201eUxQCs','_scrollManager','span','availableActions','stopAutoScroll','resetShowChangesButton','ck-ai-navigation-button\x20ck-ai-next-button','_isLoading','_toggleToolbarButtonsVisibility','add','showNext','324362sGxmkQ','div','_addToolbar','isEnabled','setIsLoading','miniToolbarConfig','addMany','_config','setButtonsVisibility','clear','ck-ai-actions-balloon-content','_setupMiniToolbarButtons','showError','ck-ai-actions-balloon-content-wrapper','_hasError','isShowChangesOn','updateContent','start','setErrorState','ck-ai-custom-action-button','isTrackChangesOn','stop','clearContent','1/1','focus','_createLoaderView','1957193yDKtYq','_errorView','_initializeScrollManager','hideError','render','_navigationPreviousButton','change:isTrackChangesOn','clearErrorState','_streamableContentView','_toolbarView','shift\x20+\x20tab','disableMiniToolbarButtons','showLoader','updateMiniToolbarButtons','tryAgain','startAutoScroll','interactionCount','addMiniToolbarItem','_disclaimerView','_focusTracker','showBlockingError','setTemplate','locale','ck-ai-interaction-counter','element','1466062rcJuYp','12468269aYfjcj','30bqJSZd','has','remove','_addContentWrapper','_loaderView','ck-ai-navigation-button\x20ck-ai-previous-button','_dialogContent','104AkelQU','_createStreamableContentView','fire','focusFirst','showPrevious','37732zgPdTn','_getScrollableElement','destroy','listenTo','bindTemplate','items','isBusy','suggestButton','insertSuggestion','focusLast','_miniToolbarView','removeMiniToolbarItem','toggleIsLoading','setInteractionCount','delegate','828126mqRczL','_createMiniToolbar','execute'];_0x52fe=function(){return _0x4863c4;};return _0x52fe();}import{AIMiniToolbarView as _0x1250c3}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';function _0x5c3b(_0x2199ba,_0x3b0f44){const _0x52fe50=_0x52fe();return _0x5c3b=function(_0x5c3b4f,_0x3afe4b){_0x5c3b4f=_0x5c3b4f-0x1b6;let _0x5e7d62=_0x52fe50[_0x5c3b4f];return _0x5e7d62;},_0x5c3b(_0x2199ba,_0x3b0f44);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x4482d4}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x442fde}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x5c7ad6}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x70a9a4,IconPreviousArrow as _0x55e6f2,IconRefresh as _0x354089}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x21f58b}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x3c754c}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x3274f7(0x1d4),_0x3274f7(0x1b9)];export class AIActionsBalloonView extends _0x3c754c{[_0x3274f7(0x1c9)];[_0x3274f7(0x1f0)];[_0x3274f7(0x1da)];[_0x3274f7(0x20b)];[_0x3274f7(0x20c)];[_0x3274f7(0x1bb)];[_0x3274f7(0x222)];[_0x3274f7(0x215)];[_0x3274f7(0x216)];[_0x3274f7(0x1d2)];[_0x3274f7(0x224)];[_0x3274f7(0x1dd)];[_0x3274f7(0x1df)];[_0x3274f7(0x208)];[_0x3274f7(0x1d0)];[_0x3274f7(0x1c8)];[_0x3274f7(0x1d1)];constructor(_0x38ecc3,_0x3fe0e1){const _0x2677b1=_0x3274f7;super(_0x38ecc3),this[_0x2677b1(0x1cb)](_0x2677b1(0x1b7),!0x1),this[_0x2677b1(0x1cb)](_0x2677b1(0x1fd),!0x1),this[_0x2677b1(0x1cb)](_0x2677b1(0x1e5),!0x1),this[_0x2677b1(0x1cb)](_0x2677b1(0x1f7),!0x1),this[_0x2677b1(0x1f0)]=_0x3fe0e1,this[_0x2677b1(0x216)]=new _0x3e6110(),this[_0x2677b1(0x1d2)]=new _0x17ed93(),this[_0x2677b1(0x1dd)]=this[_0x2677b1(0x1d3)](),this[_0x2677b1(0x1c9)]=new _0xb6b500({'focusables':this[_0x2677b1(0x1dd)],'focusTracker':this[_0x2677b1(0x216)],'keystrokeHandler':this[_0x2677b1(0x1d2)],'actions':{'focusPrevious':_0x2677b1(0x20d),'focusNext':_0x2677b1(0x1db)}}),this[_0x2677b1(0x224)]=new _0x403060(),this[_0x2677b1(0x221)](_0x3fe0e1),this[_0x2677b1(0x1c7)](),this[_0x2677b1(0x1eb)](_0x3fe0e1),this[_0x2677b1(0x1dd)][_0x2677b1(0x1f2)](),this[_0x2677b1(0x1dd)][_0x2677b1(0x1ef)]([this[_0x2677b1(0x20c)]]),this[_0x2677b1(0x218)]({'tag':_0x2677b1(0x1ea),'attributes':{'class':[_0x2677b1(0x1d7)]},'children':this[_0x2677b1(0x224)]}),this['on'](_0x2677b1(0x209),()=>{const _0x4292e9=_0x2677b1;this[_0x4292e9(0x1e6)](_0x3fe0e1);});}[_0x3274f7(0x207)](){const _0x2a4e05=_0x3274f7;super[_0x2a4e05(0x207)]();for(const _0x55d754 of this[_0x2a4e05(0x1dd)])this[_0x2a4e05(0x216)][_0x2a4e05(0x1e7)](_0x55d754[_0x2a4e05(0x21b)]);this[_0x2a4e05(0x1d2)][_0x2a4e05(0x22d)](this[_0x2a4e05(0x21b)]),this[_0x2a4e05(0x205)]();}[_0x3274f7(0x22c)](){const _0x436e26=_0x3274f7;super[_0x436e26(0x22c)](),this[_0x436e26(0x1df)]&&this[_0x436e26(0x1df)][_0x436e26(0x22c)]();}[_0x3274f7(0x201)](_0x16f101){const _0x3e4e4a=_0x3274f7;-0x1===_0x16f101?this[_0x3e4e4a(0x1c9)][_0x3e4e4a(0x1ba)]():this[_0x3e4e4a(0x1c9)][_0x3e4e4a(0x228)]();}[_0x3274f7(0x1ed)](_0x5bb63b){const _0x29cce5=_0x3274f7;this[_0x29cce5(0x1e5)]=_0x5bb63b;}[_0x3274f7(0x1fb)](){const _0x19cd97=_0x3274f7;this[_0x19cd97(0x1f7)]=!0x0,this[_0x19cd97(0x1bb)][_0x19cd97(0x1ce)](!0x1);}[_0x3274f7(0x20a)](){const _0x2f1bac=_0x3274f7;this[_0x2f1bac(0x1f7)]=!0x1,this[_0x2f1bac(0x1bb)][_0x2f1bac(0x1ce)](!0x0);}[_0x3274f7(0x1f5)](_0x3f22d5){const _0x1a46b4=_0x3274f7;super[_0x1a46b4(0x1f5)](_0x3f22d5),this[_0x1a46b4(0x224)][_0x1a46b4(0x21f)](this[_0x1a46b4(0x204)])||this[_0x1a46b4(0x224)][_0x1a46b4(0x1e7)](this[_0x1a46b4(0x204)],0x0);}[_0x3274f7(0x206)](){const _0x3d3f5e=_0x3274f7;super[_0x3d3f5e(0x206)](),this[_0x3d3f5e(0x20a)]();}[_0x3274f7(0x217)](_0x192657){const _0x160145=_0x3274f7;super[_0x160145(0x217)](_0x192657),this[_0x160145(0x1fb)]();}[_0x3274f7(0x214)](_0x1e8569){const _0x150d9d=_0x3274f7;this[_0x150d9d(0x1bb)][_0x150d9d(0x1b6)][_0x150d9d(0x21f)](_0x1e8569)||this[_0x150d9d(0x1bb)][_0x150d9d(0x1b6)][_0x150d9d(0x1e7)](_0x1e8569);}[_0x3274f7(0x1bc)](_0x431acd){const _0x97de70=_0x3274f7;this[_0x97de70(0x1bb)][_0x97de70(0x1b6)][_0x97de70(0x21f)](_0x431acd)&&this[_0x97de70(0x1bb)][_0x97de70(0x1b6)][_0x97de70(0x220)](_0x431acd);}[_0x3274f7(0x20f)](){const _0x111091=_0x3274f7;this[_0x111091(0x222)]&&(this[_0x111091(0x1e5)]=!0x0);}[_0x3274f7(0x1c4)](){const _0x126fe8=_0x3274f7;this[_0x126fe8(0x222)]&&(this[_0x126fe8(0x1e5)]=!0x1);}[_0x3274f7(0x1e6)]({showApplyButton:_0x1fb248,showSuggestButton:_0x554a8e}){const _0x3b6940=_0x3274f7;_0x1fb248=_0x1fb248&&!this[_0x3b6940(0x1fd)]&&this[_0x3b6940(0x1f0)][_0x3b6940(0x1e1)][_0x3b6940(0x1c6)](_0x3b6940(0x1d4)),_0x554a8e=_0x554a8e&&this[_0x3b6940(0x1f0)][_0x3b6940(0x1e1)][_0x3b6940(0x1c6)](_0x3b6940(0x1b9)),this[_0x3b6940(0x20c)][_0x3b6940(0x1f1)]({'showApplyButton':_0x1fb248,'showSuggestButton':_0x554a8e});}async[_0x3274f7(0x1f9)](_0x35a069){const _0x15b327=_0x3274f7;await this[_0x15b327(0x20b)][_0x15b327(0x1d5)](_0x35a069);}[_0x3274f7(0x1ff)](){const _0x932d50=_0x3274f7;this[_0x932d50(0x20b)][_0x932d50(0x1f2)]();}[_0x3274f7(0x221)](_0x4f5680){const _0x910cd0=_0x3274f7;this[_0x910cd0(0x1da)]=new _0xb6f329(this[_0x910cd0(0x219)]),this[_0x910cd0(0x1da)][_0x910cd0(0x218)]({'tag':_0x910cd0(0x1ea),'attributes':{'class':[_0x910cd0(0x1f3)]},'children':[{'tag':_0x910cd0(0x1ea),'attributes':{'class':[_0x910cd0(0x1f6)]},'children':[this[_0x910cd0(0x202)](),this[_0x910cd0(0x226)]()]},this[_0x910cd0(0x1c1)](_0x4f5680[_0x910cd0(0x1ee)])]}),this[_0x910cd0(0x224)][_0x910cd0(0x1e7)](this[_0x910cd0(0x1da)]);}[_0x3274f7(0x1c7)](){const _0x12f2f5=_0x3274f7;this[_0x12f2f5(0x215)]=new _0x537f32(this[_0x12f2f5(0x219)]),this[_0x12f2f5(0x224)][_0x12f2f5(0x1e7)](this[_0x12f2f5(0x215)]);}[_0x3274f7(0x1eb)]({showApplyButton:_0x63fdba,showSuggestButton:_0x59afe2}){const _0x3a6631=_0x3274f7;this[_0x3a6631(0x20c)]=new _0x4b4481(this[_0x3a6631(0x219)],_0x63fdba,_0x59afe2),this[_0x3a6631(0x20c)][_0x3a6631(0x1d6)]?.['on'](_0x3a6631(0x1c2),()=>{const _0x62f7a8=_0x3a6631;this[_0x62f7a8(0x227)](_0x62f7a8(0x1d4));}),this[_0x3a6631(0x20c)][_0x3a6631(0x1b8)]?.['on'](_0x3a6631(0x1c2),()=>{const _0x162b44=_0x3a6631;this[_0x162b44(0x227)](_0x162b44(0x1b9));}),this[_0x3a6631(0x20c)][_0x3a6631(0x1dc)](_0x3a6631(0x1ec))['to'](this,_0x3a6631(0x1b7),this,_0x3a6631(0x1e5),this,_0x3a6631(0x1f7),(_0x503d29,_0xf73fe3,_0x47b681)=>!(_0x503d29||_0xf73fe3||_0x47b681)),this[_0x3a6631(0x1e6)]({'showApplyButton':_0x63fdba,'showSuggestButton':_0x59afe2}),this[_0x3a6631(0x224)][_0x3a6631(0x1e7)](this[_0x3a6631(0x20c)]);}[_0x3274f7(0x1c1)](_0x5eb135){const _0x6da43=_0x3274f7;return this[_0x6da43(0x1bb)]=new _0x1250c3(this[_0x6da43(0x219)],_0x5eb135),this[_0x6da43(0x1bb)][_0x6da43(0x1bf)](..._0x4482d4)['to'](this),this[_0x6da43(0x1bb)]['on'](_0x6da43(0x1cf),()=>{const _0xec8bf7=_0x6da43;this[_0xec8bf7(0x1bb)][_0xec8bf7(0x1f8)]=!this[_0xec8bf7(0x1bb)][_0xec8bf7(0x1f8)],this[_0xec8bf7(0x227)](_0xec8bf7(0x1c3),{'showDiff':this[_0xec8bf7(0x1bb)][_0xec8bf7(0x1f8)]});}),this[_0x6da43(0x1bb)][_0x6da43(0x1dc)](_0x6da43(0x1ec))['to'](this,_0x6da43(0x1b7),this,_0x6da43(0x1e5),(_0x7e6d2b,_0x24dd68)=>!(_0x7e6d2b||_0x24dd68)),this[_0x6da43(0x1bb)];}[_0x3274f7(0x202)](){const _0x558ca4=_0x3274f7;return this[_0x558ca4(0x222)]=new _0x442fde(this[_0x558ca4(0x219)]),this[_0x558ca4(0x222)][_0x558ca4(0x1dc)](_0x558ca4(0x1cc))['to'](this,_0x558ca4(0x1e5)),this[_0x558ca4(0x222)];}[_0x3274f7(0x226)](){const _0x500cf5=_0x3274f7;return this[_0x500cf5(0x20b)]=new _0x5c7ad6(this[_0x500cf5(0x219)]),this[_0x500cf5(0x20b)];}[_0x3274f7(0x1f4)](){const _0x39fa9f=_0x3274f7,_0x1f40ca=new _0x29032d(this[_0x39fa9f(0x219)]),_0x1c2bf0=new _0x29032d(this[_0x39fa9f(0x219)]),_0xb43109=new Ln(this[_0x39fa9f(0x219)]),_0x1ea182=new _0x29032d(this[_0x39fa9f(0x219)]);_0x1f40ca[_0x39fa9f(0x1cb)]({'icon':_0x354089,'label':_0x21f58b(this[_0x39fa9f(0x219)],_0x39fa9f(0x1d9)),'tooltip':!0x0,'class':_0x39fa9f(0x1fc)}),_0x1c2bf0[_0x39fa9f(0x1cb)]({'icon':_0x55e6f2,'tooltip':_0x21f58b(this[_0x39fa9f(0x219)],_0x39fa9f(0x1cd)),'class':_0x39fa9f(0x223)}),_0x1ea182[_0x39fa9f(0x1cb)]({'icon':_0x70a9a4,'tooltip':_0x21f58b(this[_0x39fa9f(0x219)],_0x39fa9f(0x1c5)),'class':_0x39fa9f(0x1e4)}),_0x1f40ca[_0x39fa9f(0x1dc)](_0x39fa9f(0x1ec))['to'](this,_0x39fa9f(0x1b7),_0x235fcb=>!_0x235fcb),_0x1f40ca['on'](_0x39fa9f(0x1c2),()=>{const _0x1d22ce=_0x39fa9f;this[_0x1d22ce(0x227)](_0x1d22ce(0x211));}),_0x1c2bf0[_0x39fa9f(0x1dc)](_0x39fa9f(0x1ec))['to'](this,_0x39fa9f(0x1b7),_0x59030e=>!_0x59030e),_0x1c2bf0['on'](_0x39fa9f(0x1c2),()=>{const _0x983607=_0x39fa9f;this[_0x983607(0x227)](_0x983607(0x229));}),_0x1ea182[_0x39fa9f(0x1dc)](_0x39fa9f(0x1ec))['to'](this,_0x39fa9f(0x1b7),_0xbcf244=>!_0xbcf244),_0x1ea182['on'](_0x39fa9f(0x1c2),()=>{const _0xf887b5=_0x39fa9f;this[_0xf887b5(0x227)](_0xf887b5(0x1e8));}),this[_0x39fa9f(0x208)]=_0x1c2bf0,this[_0x39fa9f(0x1d1)]=_0xb43109,this[_0x39fa9f(0x1d0)]=_0x1ea182,this[_0x39fa9f(0x1c8)]=_0x1f40ca;}[_0x3274f7(0x210)](_0x316fcb,_0x4fef44){const _0x27cf3b=_0x3274f7;this[_0x27cf3b(0x208)]||this[_0x27cf3b(0x1f4)]();const _0x2232a0=_0x316fcb>0x1;if(this[_0x27cf3b(0x214)](this[_0x27cf3b(0x1c8)]),_0x2232a0){this[_0x27cf3b(0x214)](this[_0x27cf3b(0x208)]),this[_0x27cf3b(0x214)](this[_0x27cf3b(0x1d1)]),this[_0x27cf3b(0x214)](this[_0x27cf3b(0x1d0)]);const _0x47492d=_0x316fcb-_0x4fef44;this[_0x27cf3b(0x1d1)][_0x27cf3b(0x1be)](_0x47492d+'/'+_0x316fcb),this[_0x27cf3b(0x208)][_0x27cf3b(0x1ec)]=_0x4fef44<_0x316fcb-0x1,this[_0x27cf3b(0x1d0)][_0x27cf3b(0x1ec)]=_0x4fef44>0x0;}else this[_0x27cf3b(0x1bc)](this[_0x27cf3b(0x208)]),this[_0x27cf3b(0x1bc)](this[_0x27cf3b(0x1d1)]),this[_0x27cf3b(0x1bc)](this[_0x27cf3b(0x1d0)]);}[_0x3274f7(0x20e)](){const _0x55072f=_0x3274f7;this[_0x55072f(0x1c8)][_0x55072f(0x1ec)]=!0x1,this[_0x55072f(0x208)][_0x55072f(0x1ec)]=!0x1,this[_0x55072f(0x1d0)][_0x55072f(0x1ec)]=!0x1;}[_0x3274f7(0x212)](){const _0x3f531e=_0x3274f7;this[_0x3f531e(0x205)](),this[_0x3f531e(0x1df)]&&this[_0x3f531e(0x1df)][_0x3f531e(0x1fa)]();}[_0x3274f7(0x1e2)](){const _0x1f7382=_0x3274f7;this[_0x1f7382(0x1df)]&&this[_0x1f7382(0x1df)][_0x1f7382(0x1fe)]();}[_0x3274f7(0x1bd)](_0x4790d4){const _0x1b92dd=_0x3274f7;this[_0x1b92dd(0x1e5)]=_0x4790d4;}[_0x3274f7(0x1e3)](){const _0x33e89b=_0x3274f7;this[_0x33e89b(0x1bb)][_0x33e89b(0x1f8)]=!0x1;}[_0x3274f7(0x205)](){const _0x312867=_0x3274f7,_0x438815=this[_0x312867(0x22b)]();_0x438815&&!this[_0x312867(0x1df)]&&(this[_0x312867(0x1df)]=new _0x3de202(_0x438815));}[_0x3274f7(0x22b)](){const _0x5bd29d=_0x3274f7;return this[_0x5bd29d(0x20b)][_0x5bd29d(0x21b)];}}class Ln extends _0xb6f329{constructor(_0x5599ad){const _0x560a3d=_0x3274f7;super(_0x5599ad);const _0x5118e0=this[_0x560a3d(0x22e)];this[_0x560a3d(0x1cb)](_0x560a3d(0x213),_0x560a3d(0x200)),this[_0x560a3d(0x218)]({'tag':_0x560a3d(0x1e0),'attributes':{'class':[_0x560a3d(0x21a)]},'children':[{'text':_0x5118e0['to'](_0x560a3d(0x213))}]});}[_0x3274f7(0x1be)](_0xf1893e){const _0x3cc8c4=_0x3274f7;this[_0x3cc8c4(0x1cb)](_0x3cc8c4(0x213),_0xf1893e);}}
|
|
23
|
+
const _0x5279b1=_0x3250;(function(_0x29dc26,_0x4efeb2){const _0x4bc465=_0x3250,_0x520691=_0x29dc26();while(!![]){try{const _0x15e3fd=parseInt(_0x4bc465(0xde))/0x1+-parseInt(_0x4bc465(0x115))/0x2+parseInt(_0x4bc465(0x124))/0x3+-parseInt(_0x4bc465(0x13a))/0x4+parseInt(_0x4bc465(0xf0))/0x5+parseInt(_0x4bc465(0xeb))/0x6+-parseInt(_0x4bc465(0xe6))/0x7*(parseInt(_0x4bc465(0xe5))/0x8);if(_0x15e3fd===_0x4efeb2)break;else _0x520691['push'](_0x520691['shift']());}catch(_0x5c5657){_0x520691['push'](_0x520691['shift']());}}}(_0x2b31,0x79697));import{ViewCollection as _0xb599d3,FocusCycler as _0x2b06a3,ButtonView as _0x1d448b,View as _0x165cb8}from'ckeditor5/src/ui.js';import{FocusTracker as _0x503ac0,KeystrokeHandler as _0x340eab}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x3c54dc}from'./aiactionsballoontoolbarview.js';function _0x3250(_0x36f086,_0x3d078c){const _0x2b3163=_0x2b31();return _0x3250=function(_0x3250a9,_0x5a9198){_0x3250a9=_0x3250a9-0xd6;let _0x474a81=_0x2b3163[_0x3250a9];return _0x474a81;},_0x3250(_0x36f086,_0x3d078c);}function _0x2b31(){const _0x30904c=['focus','_getScrollableElement','suggestButton','update','isVisible','updateMiniToolbarButtons','updateContent','2415588mAbVwD','setButtonsVisibility','isBusy','_config','_navigationTryAgainButton','_navigationPreviousButton','hideLoader','setTemplate','element','AI_ACTIONS_TRY_AGAIN','focusLast','showLoader','AI_ACTIONS_NEXT_INTERACTION','_loaderView','tryAgain','delegate','_miniToolbarView','miniToolbarConfig','insertSuggestion','toggleIsLoading','1/1','showBlockingError','2024088knVsqU','_streamableContentView','_setupMiniToolbarButtons','shift\x20+\x20tab','showNext','ck-ai-actions-balloon-content','span','ck-ai-actions-balloon-main','listenTo','ck-ai-actions-balloon-content-wrapper','isTrackChangesOn','render','clear','stop','includes','change:isTrackChangesOn','addMiniToolbarItem','showPrevious','destroy','tab','_keystrokes','_contentWrapper','execute','showError','_errorView','_isLoading','324884DRWcnV','_addToolbar','_hasError','_addDisclaimerView','_disclaimerView','setIsLoading','_scrollManager','8856XeSDWG','2758HRiFyW','ck-ai-custom-action-button','ck-ai-navigation-button\x20ck-ai-previous-button','hideError','ck-ai-interaction-counter','1538286iCkTPc','clearContent','locale','toggleShowChangesEnabled','createCollection','4726245qtEMxr','start','interactionCount','clearErrorState','_focusables','setInteractionCount','applySuggestion','div','startAutoScroll','isShowChangesOn','_navigationNextButton','_toggleToolbarButtonsVisibility','_addContentWrapper','bind','ck-ai-navigation-button\x20ck-ai-next-button','removeMiniToolbarItem','stopAutoScroll','_navigationCounter','resetShowChangesButton','focusCycler','set','toggleSuggestionDisplayMode','isEnabled','add','_toolbarView','remove','fire','_createMiniToolbar','toggleShowChanges','_dialogContent','items','_initializeScrollManager','_createStreamableContentView','_createLoaderView','focusFirst','addMany','applyButton','1784454YonhIn','setErrorState','bindTemplate','has','AI_ACTIONS_PREVIOUS_INTERACTION','disableMiniToolbarButtons','availableActions','_focusTracker'];_0x2b31=function(){return _0x30904c;};return _0x2b31();}import{AIActionsBalloonDisclaimerView as _0x540228}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x491d58}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x1087b0}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x56fc51}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x5496de}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x17d216}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x4b6c04,IconPreviousArrow as _0x1863fc,IconRefresh as _0x232518}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x504635}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x573131}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x5279b1(0xf6),_0x5279b1(0x136)];export class AIActionsBalloonView extends _0x573131{[_0x5279b1(0x103)];[_0x5279b1(0x127)];[_0x5279b1(0xd9)];[_0x5279b1(0x13b)];[_0x5279b1(0x108)];[_0x5279b1(0x134)];[_0x5279b1(0x131)];[_0x5279b1(0xe2)];[_0x5279b1(0x11c)];[_0x5279b1(0xd8)];[_0x5279b1(0x10d)];[_0x5279b1(0xf4)];[_0x5279b1(0xe4)];[_0x5279b1(0x129)];[_0x5279b1(0xfa)];[_0x5279b1(0x128)];[_0x5279b1(0x101)];constructor(_0x592cbd,_0x14ddd8){const _0x3e2a0a=_0x5279b1;super(_0x592cbd),this[_0x3e2a0a(0x104)](_0x3e2a0a(0x126),!0x1),this[_0x3e2a0a(0x104)](_0x3e2a0a(0x144),!0x1),this[_0x3e2a0a(0x104)](_0x3e2a0a(0xdd),!0x1),this[_0x3e2a0a(0x104)](_0x3e2a0a(0xe0),!0x1),this[_0x3e2a0a(0x127)]=_0x14ddd8,this[_0x3e2a0a(0x11c)]=new _0x503ac0(),this[_0x3e2a0a(0xd8)]=new _0x340eab(),this[_0x3e2a0a(0xf4)]=this[_0x3e2a0a(0xef)](),this[_0x3e2a0a(0x103)]=new _0x2b06a3({'focusables':this[_0x3e2a0a(0xf4)],'focusTracker':this[_0x3e2a0a(0x11c)],'keystrokeHandler':this[_0x3e2a0a(0xd8)],'actions':{'focusPrevious':_0x3e2a0a(0x13d),'focusNext':_0x3e2a0a(0xd7)}}),this[_0x3e2a0a(0x10d)]=new _0xb599d3(),this[_0x3e2a0a(0xfc)](_0x14ddd8),this[_0x3e2a0a(0xe1)](),this[_0x3e2a0a(0xdf)](_0x14ddd8),this[_0x3e2a0a(0xf4)][_0x3e2a0a(0x146)](),this[_0x3e2a0a(0xf4)][_0x3e2a0a(0x113)]([this[_0x3e2a0a(0x108)]]),this[_0x3e2a0a(0x12b)]({'tag':_0x3e2a0a(0xf7),'attributes':{'class':[_0x3e2a0a(0x141)]},'children':this[_0x3e2a0a(0x10d)]}),this['on'](_0x3e2a0a(0x149),()=>{const _0x5b5d72=_0x3e2a0a;this[_0x5b5d72(0xfb)](_0x14ddd8);});}[_0x5279b1(0x145)](){const _0x4613db=_0x5279b1;super[_0x4613db(0x145)]();for(const _0x3faa7e of this[_0x4613db(0xf4)])this[_0x4613db(0x11c)][_0x4613db(0x107)](_0x3faa7e[_0x4613db(0x12c)]);this[_0x4613db(0xd8)][_0x4613db(0x142)](this[_0x4613db(0x12c)]),this[_0x4613db(0x10f)]();}[_0x5279b1(0xd6)](){const _0x5e0c0d=_0x5279b1;super[_0x5e0c0d(0xd6)](),this[_0x5e0c0d(0xe4)]&&this[_0x5e0c0d(0xe4)][_0x5e0c0d(0xd6)]();}[_0x5279b1(0x11d)](_0x2bcf6c){const _0x49f9bb=_0x5279b1;-0x1===_0x2bcf6c?this[_0x49f9bb(0x103)][_0x49f9bb(0x12e)]():this[_0x49f9bb(0x103)][_0x49f9bb(0x112)]();}[_0x5279b1(0xe3)](_0x32f3c2){const _0x3c36a7=_0x5279b1;this[_0x3c36a7(0xdd)]=_0x32f3c2;}[_0x5279b1(0x116)](){const _0x49dfa9=_0x5279b1;this[_0x49dfa9(0xe0)]=!0x0,this[_0x49dfa9(0x134)][_0x49dfa9(0xee)](!0x1);}[_0x5279b1(0xf3)](){const _0x1c4308=_0x5279b1;this[_0x1c4308(0xe0)]=!0x1,this[_0x1c4308(0x134)][_0x1c4308(0xee)](!0x0);}[_0x5279b1(0xdb)](_0x54189e){const _0x59d368=_0x5279b1;super[_0x59d368(0xdb)](_0x54189e),this[_0x59d368(0x10d)][_0x59d368(0x118)](this[_0x59d368(0xdc)])||this[_0x59d368(0x10d)][_0x59d368(0x107)](this[_0x59d368(0xdc)],0x0);}[_0x5279b1(0xe9)](){const _0x3e17e1=_0x5279b1;super[_0x3e17e1(0xe9)](),this[_0x3e17e1(0xf3)]();}[_0x5279b1(0x139)](_0x41fa74){const _0x496778=_0x5279b1;super[_0x496778(0x139)](_0x41fa74),this[_0x496778(0x116)]();}[_0x5279b1(0x14a)](_0xced74a){const _0x494c26=_0x5279b1;this[_0x494c26(0x134)][_0x494c26(0x10e)][_0x494c26(0x118)](_0xced74a)||this[_0x494c26(0x134)][_0x494c26(0x10e)][_0x494c26(0x107)](_0xced74a);}[_0x5279b1(0xff)](_0x446f73){const _0x19e87b=_0x5279b1;this[_0x19e87b(0x134)][_0x19e87b(0x10e)][_0x19e87b(0x118)](_0x446f73)&&this[_0x19e87b(0x134)][_0x19e87b(0x10e)][_0x19e87b(0x109)](_0x446f73);}[_0x5279b1(0x12f)](){const _0x164798=_0x5279b1;this[_0x164798(0x131)]&&(this[_0x164798(0xdd)]=!0x0);}[_0x5279b1(0x12a)](){const _0x48f59c=_0x5279b1;this[_0x48f59c(0x131)]&&(this[_0x48f59c(0xdd)]=!0x1);}[_0x5279b1(0xfb)]({showApplyButton:_0x1b5923,showSuggestButton:_0x3a39cd}){const _0x421b24=_0x5279b1;_0x1b5923=_0x1b5923&&!this[_0x421b24(0x144)]&&this[_0x421b24(0x127)][_0x421b24(0x11b)][_0x421b24(0x148)](_0x421b24(0xf6)),_0x3a39cd=_0x3a39cd&&this[_0x421b24(0x127)][_0x421b24(0x11b)][_0x421b24(0x148)](_0x421b24(0x136)),this[_0x421b24(0x108)][_0x421b24(0x125)]({'showApplyButton':_0x1b5923,'showSuggestButton':_0x3a39cd});}async[_0x5279b1(0x123)](_0x148121){const _0x527129=_0x5279b1;await this[_0x527129(0x13b)][_0x527129(0x120)](_0x148121);}[_0x5279b1(0xec)](){const _0x1f8c62=_0x5279b1;this[_0x1f8c62(0x13b)][_0x1f8c62(0x146)]();}[_0x5279b1(0xfc)](_0xef389a){const _0x57c8a2=_0x5279b1;this[_0x57c8a2(0xd9)]=new _0x165cb8(this[_0x57c8a2(0xed)]),this[_0x57c8a2(0xd9)][_0x57c8a2(0x12b)]({'tag':_0x57c8a2(0xf7),'attributes':{'class':[_0x57c8a2(0x13f)]},'children':[{'tag':_0x57c8a2(0xf7),'attributes':{'class':[_0x57c8a2(0x143)]},'children':[this[_0x57c8a2(0x111)](),this[_0x57c8a2(0x110)]()]},this[_0x57c8a2(0x10b)](_0xef389a[_0x57c8a2(0x135)])]}),this[_0x57c8a2(0x10d)][_0x57c8a2(0x107)](this[_0x57c8a2(0xd9)]);}[_0x5279b1(0xe1)](){const _0x149cb0=_0x5279b1;this[_0x149cb0(0xe2)]=new _0x540228(this[_0x149cb0(0xed)]),this[_0x149cb0(0x10d)][_0x149cb0(0x107)](this[_0x149cb0(0xe2)]);}[_0x5279b1(0xdf)]({showApplyButton:_0x3cfe91,showSuggestButton:_0x11473e}){const _0x2e77d9=_0x5279b1;this[_0x2e77d9(0x108)]=new _0x3c54dc(this[_0x2e77d9(0xed)],_0x3cfe91,_0x11473e),this[_0x2e77d9(0x108)][_0x2e77d9(0x114)]?.['on'](_0x2e77d9(0xda),()=>{const _0x2b7d73=_0x2e77d9;this[_0x2b7d73(0x10a)](_0x2b7d73(0xf6));}),this[_0x2e77d9(0x108)][_0x2e77d9(0x11f)]?.['on'](_0x2e77d9(0xda),()=>{const _0x470fd5=_0x2e77d9;this[_0x470fd5(0x10a)](_0x470fd5(0x136));}),this[_0x2e77d9(0x108)][_0x2e77d9(0xfd)](_0x2e77d9(0x106))['to'](this,_0x2e77d9(0x126),this,_0x2e77d9(0xdd),this,_0x2e77d9(0xe0),(_0x5c7856,_0x13ad96,_0x3e6d15)=>!(_0x5c7856||_0x13ad96||_0x3e6d15)),this[_0x2e77d9(0xfb)]({'showApplyButton':_0x3cfe91,'showSuggestButton':_0x11473e}),this[_0x2e77d9(0x10d)][_0x2e77d9(0x107)](this[_0x2e77d9(0x108)]);}[_0x5279b1(0x10b)](_0x5bcf45){const _0x4fec3e=_0x5279b1;return this[_0x4fec3e(0x134)]=new _0x1087b0(this[_0x4fec3e(0xed)],_0x5bcf45),this[_0x4fec3e(0x134)][_0x4fec3e(0x133)](..._0x56fc51)['to'](this),this[_0x4fec3e(0x134)]['on'](_0x4fec3e(0x10c),()=>{const _0x4cfbeb=_0x4fec3e;this[_0x4cfbeb(0x134)][_0x4cfbeb(0xf9)]=!this[_0x4cfbeb(0x134)][_0x4cfbeb(0xf9)],this[_0x4cfbeb(0x10a)](_0x4cfbeb(0x105),{'showDiff':this[_0x4cfbeb(0x134)][_0x4cfbeb(0xf9)]});}),this[_0x4fec3e(0x134)][_0x4fec3e(0xfd)](_0x4fec3e(0x106))['to'](this,_0x4fec3e(0x126),this,_0x4fec3e(0xdd),(_0x48cc1f,_0xa50b7f)=>!(_0x48cc1f||_0xa50b7f)),this[_0x4fec3e(0x134)];}[_0x5279b1(0x111)](){const _0xfd3fc7=_0x5279b1;return this[_0xfd3fc7(0x131)]=new _0x5496de(this[_0xfd3fc7(0xed)]),this[_0xfd3fc7(0x131)][_0xfd3fc7(0xfd)](_0xfd3fc7(0x121))['to'](this,_0xfd3fc7(0xdd)),this[_0xfd3fc7(0x131)];}[_0x5279b1(0x110)](){const _0x40ebf5=_0x5279b1;return this[_0x40ebf5(0x13b)]=new _0x17d216(this[_0x40ebf5(0xed)]),this[_0x40ebf5(0x13b)];}[_0x5279b1(0x13c)](){const _0x20459a=_0x5279b1,_0x344037=new _0x1d448b(this[_0x20459a(0xed)]),_0xbf8cb8=new _0x1d448b(this[_0x20459a(0xed)]),_0x4f8ed2=new Ln(this[_0x20459a(0xed)]),_0x284e93=new _0x1d448b(this[_0x20459a(0xed)]);_0x344037[_0x20459a(0x104)]({'icon':_0x232518,'label':_0x504635(this[_0x20459a(0xed)],_0x20459a(0x12d)),'tooltip':!0x0,'class':_0x20459a(0xe7)}),_0xbf8cb8[_0x20459a(0x104)]({'icon':_0x1863fc,'tooltip':_0x504635(this[_0x20459a(0xed)],_0x20459a(0x119)),'class':_0x20459a(0xe8)}),_0x284e93[_0x20459a(0x104)]({'icon':_0x4b6c04,'tooltip':_0x504635(this[_0x20459a(0xed)],_0x20459a(0x130)),'class':_0x20459a(0xfe)}),_0x344037[_0x20459a(0xfd)](_0x20459a(0x106))['to'](this,_0x20459a(0x126),_0x4aa58f=>!_0x4aa58f),_0x344037['on'](_0x20459a(0xda),()=>{const _0x20283a=_0x20459a;this[_0x20283a(0x10a)](_0x20283a(0x132));}),_0xbf8cb8[_0x20459a(0xfd)](_0x20459a(0x106))['to'](this,_0x20459a(0x126),_0x474487=>!_0x474487),_0xbf8cb8['on'](_0x20459a(0xda),()=>{const _0x8d8a6=_0x20459a;this[_0x8d8a6(0x10a)](_0x8d8a6(0x14b));}),_0x284e93[_0x20459a(0xfd)](_0x20459a(0x106))['to'](this,_0x20459a(0x126),_0x171963=>!_0x171963),_0x284e93['on'](_0x20459a(0xda),()=>{const _0x972e49=_0x20459a;this[_0x972e49(0x10a)](_0x972e49(0x13e));}),this[_0x20459a(0x129)]=_0xbf8cb8,this[_0x20459a(0x101)]=_0x4f8ed2,this[_0x20459a(0xfa)]=_0x284e93,this[_0x20459a(0x128)]=_0x344037;}[_0x5279b1(0x122)](_0x2d992b,_0x1000e0){const _0x3c64a3=_0x5279b1;this[_0x3c64a3(0x129)]||this[_0x3c64a3(0x13c)]();const _0x3c1a46=_0x2d992b>0x1;if(this[_0x3c64a3(0x14a)](this[_0x3c64a3(0x128)]),_0x3c1a46){this[_0x3c64a3(0x14a)](this[_0x3c64a3(0x129)]),this[_0x3c64a3(0x14a)](this[_0x3c64a3(0x101)]),this[_0x3c64a3(0x14a)](this[_0x3c64a3(0xfa)]);const _0x24cb19=_0x2d992b-_0x1000e0;this[_0x3c64a3(0x101)][_0x3c64a3(0xf5)](_0x24cb19+'/'+_0x2d992b),this[_0x3c64a3(0x129)][_0x3c64a3(0x106)]=_0x1000e0<_0x2d992b-0x1,this[_0x3c64a3(0xfa)][_0x3c64a3(0x106)]=_0x1000e0>0x0;}else this[_0x3c64a3(0xff)](this[_0x3c64a3(0x129)]),this[_0x3c64a3(0xff)](this[_0x3c64a3(0x101)]),this[_0x3c64a3(0xff)](this[_0x3c64a3(0xfa)]);}[_0x5279b1(0x11a)](){const _0x5d7011=_0x5279b1;this[_0x5d7011(0x128)][_0x5d7011(0x106)]=!0x1,this[_0x5d7011(0x129)][_0x5d7011(0x106)]=!0x1,this[_0x5d7011(0xfa)][_0x5d7011(0x106)]=!0x1;}[_0x5279b1(0xf8)](){const _0x43689f=_0x5279b1;this[_0x43689f(0x10f)](),this[_0x43689f(0xe4)]&&this[_0x43689f(0xe4)][_0x43689f(0xf1)]();}[_0x5279b1(0x100)](){const _0x203588=_0x5279b1;this[_0x203588(0xe4)]&&this[_0x203588(0xe4)][_0x203588(0x147)]();}[_0x5279b1(0x137)](_0x4597f8){const _0x247ce4=_0x5279b1;this[_0x247ce4(0xdd)]=_0x4597f8;}[_0x5279b1(0x102)](){const _0x280c04=_0x5279b1;this[_0x280c04(0x134)][_0x280c04(0xf9)]=!0x1;}[_0x5279b1(0x10f)](){const _0x120f37=_0x5279b1,_0x11f1e3=this[_0x120f37(0x11e)]();_0x11f1e3&&!this[_0x120f37(0xe4)]&&(this[_0x120f37(0xe4)]=new _0x491d58(_0x11f1e3));}[_0x5279b1(0x11e)](){const _0x4265f7=_0x5279b1;return this[_0x4265f7(0x13b)][_0x4265f7(0x12c)];}}class Ln extends _0x165cb8{constructor(_0x94e044){const _0x5d00d5=_0x5279b1;super(_0x94e044);const _0x14e9fe=this[_0x5d00d5(0x117)];this[_0x5d00d5(0x104)](_0x5d00d5(0xf2),_0x5d00d5(0x138)),this[_0x5d00d5(0x12b)]({'tag':_0x5d00d5(0x140),'attributes':{'class':[_0x5d00d5(0xea)]},'children':[{'text':_0x14e9fe['to'](_0x5d00d5(0xf2))}]});}[_0x5279b1(0xf5)](_0x1f9ec6){const _0x49c7a6=_0x5279b1;this[_0x49c7a6(0x104)](_0x49c7a6(0xf2),_0x1f9ec6);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1be54f=_0x5f0a;function _0x5f0a(_0x136f65,_0x279132){const _0x4500a0=_0x4500();return _0x5f0a=function(_0x5f0a17,_0x4d91c4){_0x5f0a17=_0x5f0a17-0x66;let _0x3a6593=_0x4500a0[_0x5f0a17];return _0x3a6593;},_0x5f0a(_0x136f65,_0x279132);}function _0x4500(){const _0x26ed13=['25529097HfMXsm','1550244NUVnPC','47226WGxMnu','menuitem','10XobBOw','set','ck-dropdown-menu-list__nested-menu__button','add','mouseenter','isOn','children','39WDesED','973IGOsOK','extendTemplate','arrowView','_createArrowView','5182504ZqWHvP','95538zYhTci','bindTemplate','10NpjdYy','1371097HxTFnc','content','ck-dropdown-menu-list__nested-menu__button__arrow','render','6317703CQitaG'];_0x4500=function(){return _0x26ed13;};return _0x4500();}(function(_0x5ccc4e,_0x1d9d39){const _0x59366f=_0x5f0a,_0x3c5c1c=_0x5ccc4e();while(!![]){try{const _0x21be2a=parseInt(_0x59366f(0x75))/0x1+-parseInt(_0x59366f(0x72))/0x2*(-parseInt(_0x59366f(0x6c))/0x3)+parseInt(_0x59366f(0x7b))/0x4*(parseInt(_0x59366f(0x7e))/0x5)+-parseInt(_0x59366f(0x7c))/0x6*(parseInt(_0x59366f(0x6d))/0x7)+parseInt(_0x59366f(0x71))/0x8+parseInt(_0x59366f(0x79))/0x9+parseInt(_0x59366f(0x74))/0xa*(-parseInt(_0x59366f(0x7a))/0xb);if(_0x21be2a===_0x1d9d39)break;else _0x3c5c1c['push'](_0x3c5c1c['shift']());}catch(_0x569c59){_0x3c5c1c['push'](_0x3c5c1c['shift']());}}}(_0x4500,0xab694));import{IconView as _0x40b2df,ListItemButtonView as _0x253580}from'ckeditor5/src/ui.js';import{IconDropdownArrow as _0x532574}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x253580{[_0x1be54f(0x6f)];constructor(_0x27a9e4,_0x55208c){const _0x35e1bf=_0x1be54f;super(_0x27a9e4,_0x55208c);const _0x1dcce8=this[_0x35e1bf(0x73)];this[_0x35e1bf(0x66)]({'withText':!0x0,'role':_0x35e1bf(0x7d)}),this[_0x35e1bf(0x6f)]=this[_0x35e1bf(0x70)](),this[_0x35e1bf(0x6e)]({'attributes':{'class':[_0x35e1bf(0x67)],'aria-haspopup':!0x0,'aria-expanded':this[_0x35e1bf(0x73)]['to'](_0x35e1bf(0x6a),_0x3fb7b6=>String(_0x3fb7b6)),'data-cke-tooltip-disabled':_0x1dcce8['to'](_0x35e1bf(0x6a))},'on':{'mouseenter':_0x1dcce8['to'](_0x35e1bf(0x69))}});}[_0x1be54f(0x78)](){const _0x16254d=_0x1be54f;super[_0x16254d(0x78)](),this[_0x16254d(0x6b)][_0x16254d(0x68)](this[_0x16254d(0x6f)]);}[_0x1be54f(0x70)](){const _0x24f845=_0x1be54f,_0x4c39f4=new _0x40b2df();return _0x4c39f4[_0x24f845(0x76)]=_0x532574,_0x4c39f4[_0x24f845(0x6e)]({'attributes':{'class':_0x24f845(0x77)}}),_0x4c39f4;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x26635c=_0x26f3;(function(_0x4e2fa4,_0x39581c){const _0x151d81=_0x26f3,_0xf9dbab=_0x4e2fa4();while(!![]){try{const _0x5b52ea=-parseInt(_0x151d81(0xaf))/0x1+parseInt(_0x151d81(0x7d))/0x2*(-parseInt(_0x151d81(0xa2))/0x3)+parseInt(_0x151d81(0x111))/0x4*(parseInt(_0x151d81(0x88))/0x5)+parseInt(_0x151d81(0xd6))/0x6*(-parseInt(_0x151d81(0x92))/0x7)+-parseInt(_0x151d81(0xfd))/0x8*(-parseInt(_0x151d81(0x9a))/0x9)+-parseInt(_0x151d81(0x83))/0xa+parseInt(_0x151d81(0xa9))/0xb*(parseInt(_0x151d81(0xeb))/0xc);if(_0x5b52ea===_0x39581c)break;else _0xf9dbab['push'](_0xf9dbab['shift']());}catch(_0x3aa96a){_0xf9dbab['push'](_0xf9dbab['shift']());}}}(_0x1454,0x440bc));import{ContextPlugin as _0x1ec4d6}from'ckeditor5/src/core.js';function _0x26f3(_0x278a45,_0x677739){const _0x14540d=_0x1454();return _0x26f3=function(_0x26f339,_0x38d205){_0x26f339=_0x26f339-0x7a;let _0x87ff7f=_0x14540d[_0x26f339];return _0x87ff7f;},_0x26f3(_0x278a45,_0x677739);}import{CKEditorError as _0x4524dd,logError as _0x1dbef8,scrollAncestorsToShowTarget as _0x526a18,scrollViewportToShowTarget as _0x53a795}from'ckeditor5/src/utils.js';import{AIReviewSystemCheckRun as _0x5466ac}from'./model/aireviewsystemcheckrun.js';import{getTranslation as _0x40a950}from'../aicore/utils/common-translations.js';import{AIConnector as _0x2a13e1}from'../aicore/aiconnector.js';function _0x1454(){const _0x4e7d71=['markChangeAsAccepted','dismissChange','hasModifications','params','showReviewCheckList','finished','getActiveChanges','restart','switchToEdit','getRoot','requires','title','ai-request-aborted','_onChangeMarkerHovered','4YnaLfP','documentData','_onReviewRunLeave','_onChangeMarkerBlurred','result','showCheckRunResults','includes','plugins','_onReviewCheckResultActivated','_aiReviewCoreEditing','_aiReviewCoreUi','2rDMouo','changeMarkerClicked','reviewCheckResultActivated','getDocumentData','updateChangeState','getEditor','522280qfvryQ','args','ai-review-mode-models-unable-to-retrieve','start','map','2327935hsJJGa','markChangeAsPending','ck-ai_review-diff','_onChangeMarkerClicked','currentError','_markChangePositionInEditorContent','getCheckById','leaveReview','showChunkErrorView','emitter','1012347PnECOD','data','_currentReviewCheckRun','showCheckRunResult','leaveReviewCoreResultList','init','ai-review-mode-no-current-check-run','_scrollToChange','9OYDyss','ck-ai-translate-mode-content','startsWith','get','closest','showGeneralReviewCoreErrorView','message','deactivateChange','1060149IbcRya','changeMarkerBlurred','abortReviewStream','panel','contentInitial','reviewCheckResultReady','loading','404140SSCVOU','reviewCheckResultAdded','status','unmodified','markChangeAsRejected','stopListening','145876huRliO','_changeActivationSource','markChangeAsOutdated','error-general','rejectChange','runReviewCheck','isOfficialPlugin','addResultChanges','locale','sendRating','acceptAllChanges','switchToReadOnly','setCheckResultTitle','change','_aiReviewCheckList','abort','_initRequiredPlugins','markAllChangesAsAccepted','getReviewCheckList','checks','applyChange','showNoChangesView','aborted','isChangeActive','getChangeElement','ai-review-mode-source-check-not-found','hideChangeBalloon','forceReadyState','ai-review-mode-check-run-failed','_getChecksList','contentNew','removeClass','isPremiumPlugin','showActionsWhenResultIsReady','_diffContent','setAvailableChecks','ck-ai_review-highlights','ai-review-mode-check-run-general-error','_onDeactivateChange','6pjXChD','updateDocumentData','ready','showReviewCompletedView','_createReviewCheckRun','context','changeMarkerHovered','AIConnector','changes','activateChange','_getTranslationWithDefault','.ck-ai_review__check-run-result','ai-review-mode-check-run-chunk-error','editing','_onReviewCheckResultDeactivated','reviewCheckResultChangeStatusUpdated','acceptChange','reviewCheckRunUpdated','reviewCheckResultDeactivated','retryReview','subTitle','60PaTmxQ','error-chunk','_aiConnector','_onChangeMarkerRestored','processedResultsCount','_onActivateChange','changeId','_logError','_onReviewCheckRun','source','listenTo','showGeneralResultsErrorView','clearAllMarkers','_onCheckRunFinished','finishReview','_onChangeMarkerRemoved','view','_getChangeContentElement','2604296tzQHgg','content','changeMarkerRemoved','length','changeMarkerRestored','document'];_0x1454=function(){return _0x4e7d71;};return _0x1454();}export class AIReviewCoreController extends _0x1ec4d6{[_0x26635c(0xed)];[_0x26635c(0x7c)];[_0x26635c(0x7b)];[_0x26635c(0xbd)];[_0x26635c(0x94)];[_0x26635c(0xb0)]=null;static get[_0x26635c(0x10d)](){return[_0x2a13e1];}static get[_0x26635c(0xb5)](){return!0x0;}static get[_0x26635c(0xcf)](){return!0x0;}async[_0x26635c(0x97)](){const _0x347a01=_0x26635c;this[_0x347a01(0xbf)](),this[_0x347a01(0xbd)]=await this[_0x347a01(0xcc)](),this[_0x347a01(0xf5)](this[_0x347a01(0x7c)],_0x347a01(0xc1),()=>{const _0x20b4e1=_0x347a01;this[_0x20b4e1(0x7c)][_0x20b4e1(0xd2)](this[_0x20b4e1(0xbd)][_0x20b4e1(0xc2)]);}),this[_0x347a01(0xf5)](this[_0x347a01(0x7c)],_0x347a01(0xb4),async(_0x419b5b,_0x387007)=>{const _0x3fd792=_0x347a01,_0x575bd0=this[_0x3fd792(0xbd)][_0x3fd792(0x8e)](_0x387007['id']);if(_0x575bd0){this[_0x3fd792(0xf3)](_0x387007),this[_0x3fd792(0x7b)][_0x3fd792(0xba)](),this[_0x3fd792(0x94)]=this[_0x3fd792(0xda)](_0x387007,_0x575bd0),this[_0x3fd792(0x7c)][_0x3fd792(0xbb)](this[_0x3fd792(0x94)][_0x3fd792(0x10e)],this[_0x3fd792(0x94)][_0x3fd792(0xea)]),this[_0x3fd792(0x94)]['on'](_0x3fd792(0xe7),(_0x59e95e,_0x350172)=>{const _0x3a2c8d=_0x3fd792;switch(_0x350172[_0x3a2c8d(0xab)]){case _0x3a2c8d(0x93):case _0x3a2c8d(0xa8):this[_0x3a2c8d(0x7c)][_0x3a2c8d(0x116)](_0x350172);break;case _0x3a2c8d(0x108):this[_0x3a2c8d(0xf8)]();break;case _0x3a2c8d(0xd8):this[_0x3a2c8d(0x7c)][_0x3a2c8d(0xd0)]();break;case _0x3a2c8d(0xac):this[_0x3a2c8d(0x7c)][_0x3a2c8d(0xc4)]();break;case _0x3a2c8d(0xb2):this[_0x3a2c8d(0x7c)][_0x3a2c8d(0xf6)](),this[_0x3a2c8d(0xf2)](new _0x4524dd(_0x3a2c8d(0xd4),this,void 0x0,this[_0x3a2c8d(0x94)]?.[_0x3a2c8d(0x8c)]));break;case _0x3a2c8d(0xec):this[_0x3a2c8d(0x7c)][_0x3a2c8d(0x90)](),this[_0x3a2c8d(0xf2)](new _0x4524dd(_0x3a2c8d(0xe2),this,void 0x0,this[_0x3a2c8d(0x94)]?.[_0x3a2c8d(0x8c)]));break;case _0x3a2c8d(0xc5):this[_0x3a2c8d(0x94)]&&this[_0x3a2c8d(0x94)][_0x3a2c8d(0xef)]>0x0?setTimeout(()=>{const _0x41e0d9=_0x3a2c8d;this[_0x41e0d9(0x94)]?.[_0x41e0d9(0xca)]();},0x0):this[_0x3a2c8d(0x113)](!0x0);}_0x3a2c8d(0xd8)!==_0x350172[_0x3a2c8d(0xab)]&&_0x3a2c8d(0xec)!==_0x350172[_0x3a2c8d(0xab)]&&_0x3a2c8d(0xb2)!==_0x350172[_0x3a2c8d(0xab)]||this[_0x3a2c8d(0x94)]?.[_0x3a2c8d(0xb8)]();}),this[_0x3fd792(0x94)]['on'](_0x3fd792(0xaa),(_0x410c3f,_0x3b9369)=>{const _0x44c0fb=_0x3fd792;if(!this[_0x44c0fb(0x94)])throw new _0x4524dd(_0x44c0fb(0x98),this);const _0x135ff4=this[_0x44c0fb(0xd1)](_0x3b9369[_0x44c0fb(0x115)][_0x44c0fb(0xa6)],_0x3b9369[_0x44c0fb(0x115)][_0x44c0fb(0xcd)]);_0x3b9369[_0x44c0fb(0xf4)][_0x44c0fb(0xb6)](_0x3b9369[_0x44c0fb(0x115)]['id'],_0x135ff4);}),this[_0x3fd792(0x94)]['on'](_0x3fd792(0xa7),(_0x308a8b,_0x52b1f)=>{const _0x78aa5b=_0x3fd792;for(const _0xfed0d3 of _0x52b1f[_0x78aa5b(0xde)])this[_0x78aa5b(0x7c)][_0x78aa5b(0x95)](_0xfed0d3);this[_0x78aa5b(0x8d)](_0x52b1f[_0x78aa5b(0xde)],_0x52b1f[_0x78aa5b(0xf4)][_0x78aa5b(0x112)]);}),this[_0x3fd792(0x94)]['on'](_0x3fd792(0xe5),(_0x4d46b3,_0x36bb3b)=>{const _0xce179c=_0x3fd792;this[_0xce179c(0x7c)][_0xce179c(0x81)](_0x36bb3b[_0xce179c(0xbc)]['id'],_0x36bb3b[_0xce179c(0xab)]);}),this[_0x3fd792(0x94)]['on'](_0x3fd792(0x7f),(_0xe2a7d4,_0x264705)=>{const _0x2e3c1a=_0x3fd792;this[_0x2e3c1a(0x7a)](_0x264705);}),this[_0x3fd792(0x94)]['on'](_0x3fd792(0xe8),()=>{const _0x21bf38=_0x3fd792;this[_0x21bf38(0xe4)]();});try{await this[_0x3fd792(0x94)][_0x3fd792(0x86)]();}catch(_0xd015a4){_0xd015a4 instanceof Error&&_0xd015a4[_0x3fd792(0xa0)][_0x3fd792(0x117)](_0x3fd792(0x10f))||(_0xd015a4 instanceof _0x4524dd?this[_0x3fd792(0xf2)](_0xd015a4):this[_0x3fd792(0xf2)](new _0x4524dd(_0x3fd792(0xcb),this,void 0x0,_0xd015a4)));}}else this[_0x3fd792(0xf2)](new _0x4524dd(_0x3fd792(0xc8),this,{'checkId':_0x387007['id']}));}),this[_0x347a01(0xf5)](this[_0x347a01(0x7c)],_0x347a01(0x8f),()=>{const _0x3062ad=_0x347a01;this[_0x3062ad(0x113)]();}),this[_0x347a01(0xf5)](this[_0x347a01(0x7c)],_0x347a01(0x96),()=>{const _0x4e9ff5=_0x347a01;this[_0x4e9ff5(0x113)](!0x0);}),this[_0x347a01(0xf5)](this[_0x347a01(0x7c)],_0x347a01(0xa4),()=>{const _0x305fbb=_0x347a01;this[_0x305fbb(0x94)]&&this[_0x305fbb(0x94)][_0x305fbb(0xbe)]();}),this[_0x347a01(0xf5)](this[_0x347a01(0x7c)],_0x347a01(0xf9),()=>{const _0x1b3d6a=_0x347a01;this[_0x1b3d6a(0x113)](!0x0);}),this[_0x347a01(0xf5)](this[_0x347a01(0x7c)],_0x347a01(0xb9),()=>{const _0x5610a6=_0x347a01;if(!this[_0x5610a6(0x94)])return;const _0x413a28=this[_0x5610a6(0x94)][_0x5610a6(0x109)]();if(!_0x413a28[_0x5610a6(0x100)])return;this[_0x5610a6(0x7b)][_0x5610a6(0xc3)](_0x413a28[_0x5610a6(0x87)](_0x553c91=>_0x553c91['id']));const _0x3da511=this[_0x5610a6(0x94)];_0x3da511[_0x5610a6(0xc0)](),_0x3da511[_0x5610a6(0xb8)]();}),this[_0x347a01(0xf5)](this[_0x347a01(0x7c)],_0x347a01(0xe6),(_0x4b127f,_0x309b90)=>{const _0x56007c=_0x347a01;this[_0x56007c(0x94)]&&this[_0x56007c(0x94)][_0x56007c(0xc6)](_0x309b90['id'])&&(this[_0x56007c(0x7b)][_0x56007c(0xc3)]([_0x309b90['id']]),this[_0x56007c(0x94)][_0x56007c(0x103)](_0x309b90['id']),this[_0x56007c(0x7c)][_0x56007c(0xc9)](),this[_0x56007c(0x94)][_0x56007c(0xb8)](_0x309b90['id']));}),this[_0x347a01(0xf5)](this[_0x347a01(0x7c)],_0x347a01(0x104),(_0x3fae89,_0x504686)=>{const _0x72cfb9=_0x347a01;this[_0x72cfb9(0x94)]&&this[_0x72cfb9(0x94)][_0x72cfb9(0xc6)](_0x504686['id'])&&(this[_0x72cfb9(0x7b)][_0x72cfb9(0xb3)](_0x504686['id']),this[_0x72cfb9(0x94)][_0x72cfb9(0xad)](_0x504686['id']),this[_0x72cfb9(0x7c)][_0x72cfb9(0xc9)](),this[_0x72cfb9(0x94)][_0x72cfb9(0xb8)](_0x504686['id']));}),this[_0x347a01(0xf5)](this[_0x347a01(0x7c)],_0x347a01(0xe9),async()=>{const _0x469d79=_0x347a01;this[_0x469d79(0x94)]&&(this[_0x469d79(0x7b)][_0x469d79(0xf7)](),this[_0x469d79(0x94)][_0x469d79(0xd7)](this[_0x469d79(0x7b)][_0x469d79(0x80)]()),await this[_0x469d79(0x94)][_0x469d79(0x10a)]());}),this[_0x347a01(0xf5)](this[_0x347a01(0x7c)],_0x347a01(0xdf),(_0x166039,_0x49ef95)=>{const _0x43164a=_0x347a01;this[_0x43164a(0xf0)](_0x49ef95);}),this[_0x347a01(0xf5)](this[_0x347a01(0x7c)],_0x347a01(0xa1),(_0x4ae509,_0x3e042b)=>{const _0x233dbd=_0x347a01;this[_0x233dbd(0xd5)](_0x3e042b);}),this[_0x347a01(0xf5)](this[_0x347a01(0x7b)][_0x347a01(0x91)],_0x347a01(0x7e),(_0x3e97f8,_0x31f7e4)=>{const _0x217c62=_0x347a01;this[_0x217c62(0x8b)](_0x3e97f8,_0x31f7e4);}),this[_0x347a01(0xf5)](this[_0x347a01(0x7b)][_0x347a01(0x91)],_0x347a01(0xdc),(_0x3c6cd8,_0x1b7326)=>{const _0x35163e=_0x347a01;this[_0x35163e(0x110)](_0x3c6cd8,_0x1b7326);}),this[_0x347a01(0xf5)](this[_0x347a01(0x7b)][_0x347a01(0x91)],_0x347a01(0xa3),()=>{const _0x49f6b4=_0x347a01;this[_0x49f6b4(0x114)]();}),this[_0x347a01(0xf5)](this[_0x347a01(0x7b)][_0x347a01(0x91)],_0x347a01(0xff),(_0x594327,_0x2fddfa)=>{const _0xa146b4=_0x347a01;this[_0xa146b4(0xfa)](_0x594327,_0x2fddfa);}),this[_0x347a01(0xf5)](this[_0x347a01(0x7b)][_0x347a01(0x91)],_0x347a01(0x101),(_0x48273b,_0x352923)=>{const _0x64878a=_0x347a01;this[_0x64878a(0xee)](_0x48273b,_0x352923);});}[_0x26635c(0xda)](_0x438f1c,_0x17f7f3){const _0x19face=_0x26635c;return new _0x5466ac(this[_0x19face(0x7b)][_0x19face(0x80)](),_0x17f7f3,this[_0x19face(0xed)],_0x438f1c[_0x19face(0x106)],_0x438f1c[_0x19face(0x84)]);}[_0x26635c(0xfa)](_0x21fd07,_0x55eb3d){const _0x34ce6c=_0x26635c;this[_0x34ce6c(0x94)]&&this[_0x34ce6c(0x94)][_0x34ce6c(0xb1)](_0x55eb3d[_0x34ce6c(0xf1)]);}[_0x26635c(0xee)](_0x53fa6d,_0x2071b6){const _0x1f4291=_0x26635c;this[_0x1f4291(0x94)]&&this[_0x1f4291(0x94)][_0x1f4291(0x89)](_0x2071b6[_0x1f4291(0xf1)]);}[_0x26635c(0xf8)](){const _0x51d902=_0x26635c;this[_0x51d902(0x7c)][_0x51d902(0xd9)]();}[_0x26635c(0xbf)](){const _0x2399d9=_0x26635c;this[_0x2399d9(0xed)]=this[_0x2399d9(0xdb)][_0x2399d9(0x118)][_0x2399d9(0x9d)](_0x2399d9(0xdd));}[_0x26635c(0x113)](_0x49ba07=!0x1){const _0x1581de=_0x26635c;this[_0x1581de(0x94)]&&(this[_0x1581de(0x94)][_0x1581de(0x105)]||this[_0x1581de(0x94)][_0x1581de(0xb8)](),this[_0x1581de(0x94)][_0x1581de(0xae)](),this[_0x1581de(0x94)][_0x1581de(0xbe)](),this[_0x1581de(0x94)]=void 0x0),_0x49ba07&&this[_0x1581de(0x7c)][_0x1581de(0x107)](),this[_0x1581de(0x7b)][_0x1581de(0xf7)](),this[_0x1581de(0x7b)][_0x1581de(0x10b)](),this[_0x1581de(0xb0)]=null;const _0x1324bf=this[_0x1581de(0x7b)][_0x1581de(0x82)]();_0x1324bf&&_0x1324bf[_0x1581de(0xe3)][_0x1581de(0xfb)][_0x1581de(0xbc)](_0x362e06=>{const _0x1faaeb=_0x1581de,_0x59eea5=_0x1324bf[_0x1faaeb(0xe3)][_0x1faaeb(0xfb)][_0x1faaeb(0x102)][_0x1faaeb(0x10c)]();_0x362e06[_0x1faaeb(0xce)](_0x1faaeb(0x8a),_0x59eea5),_0x362e06[_0x1faaeb(0xce)](_0x1faaeb(0xd3),_0x59eea5),_0x362e06[_0x1faaeb(0xce)](_0x1faaeb(0x9b),_0x59eea5);});}[_0x26635c(0xe0)](_0x4811da,_0x37266d){const _0x5422f6=_0x26635c,_0x2d7dde=this[_0x5422f6(0xdb)][_0x5422f6(0xb7)],_0x13144a=_0x40a950(_0x2d7dde,_0x4811da);return _0x13144a===_0x4811da?_0x37266d:_0x13144a;}[_0x26635c(0xf2)](_0x4c8c85,_0x1be3f4=!0x1){const _0x5db243=_0x26635c;_0x1dbef8(_0x4c8c85[_0x5db243(0xa0)]),_0x1be3f4||(_0x4c8c85[_0x5db243(0xa0)][_0x5db243(0x9c)](_0x5db243(0x85))?this[_0x5db243(0x7c)][_0x5db243(0x9f)]():this[_0x5db243(0x7c)][_0x5db243(0xf6)]());}[_0x26635c(0x99)](_0xe1ab16){const _0x208fc5=_0x26635c;if(_0x208fc5(0xfe)===this[_0x208fc5(0xb0)]){const _0x3ad99e=this[_0x208fc5(0x7c)][_0x208fc5(0xc7)](_0xe1ab16);_0x3ad99e&&_0x526a18(_0x3ad99e[_0x208fc5(0x9e)](_0x208fc5(0xe1))||_0x3ad99e);}else{if(_0x208fc5(0xa5)===this[_0x208fc5(0xb0)]){const _0x47a42b=this[_0x208fc5(0xfc)](_0xe1ab16);if(!_0x47a42b)return;_0x53a795({'target':_0x47a42b,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0});}}}}
|
|
23
|
+
function _0x422d(){const _0x3f6d7a=['start','_onActivateChange','ai-review-mode-check-run-general-error','editing','_onChangeMarkerClicked','showGeneralResultsErrorView','status','_getChecksList','finishReview','isPremiumPlugin','deactivateChange','_aiReviewCoreUi','addResultChanges','showCheckRunResult','subTitle','reviewCheckResultDeactivated','241038fUJoCz','ai-review-mode-source-check-not-found','_onChangeMarkerRestored','leaveReviewCoreResultList','_onCheckRunFinished','ai-review-mode-models-unable-to-retrieve','_markChangePositionInEditorContent','getRoot','context','getCheckById','document','switchToReadOnly','requires','markChangeAsRejected','getActiveChanges','view','title','8LzAhpA','args','updateDocumentData','changeMarkerClicked','changeMarkerHovered','_createReviewCheckRun','reviewCheckResultReady','.ck-ai_review__check-run-result','sendRating','source','_onReviewCheckResultDeactivated','startsWith','includes','markChangeAsOutdated','acceptAllChanges','reviewCheckRunUpdated','loading','ck-ai-translate-mode-content','leaveReview','reviewCheckResultChangeStatusUpdated','showNoChangesView','documentData','unmodified','showReviewCompletedView','_currentReviewCheckRun','40200DSfWYV','forceReadyState','showCheckRunResults','_diffContent','result','plugins','ck-ai_review-diff','markChangeAsAccepted','_aiConnector','aborted','abort','error-general','_onDeactivateChange','getEditor','restart','markAllChangesAsAccepted','ai-review-mode-no-current-check-run','hasModifications','changeMarkerRestored','changeId','updateChangeState','applyChange','acceptChange','showReviewCheckList','locale','AIConnector','map','_getTranslationWithDefault','1213770MCtvEx','_onReviewRunLeave','runReviewCheck','setCheckResultTitle','clearAllMarkers','_onChangeMarkerBlurred','changeMarkerRemoved','content','rejectChange','dismissChange','get','contentNew','emitter','removeClass','_getChangeContentElement','_aiReviewCoreEditing','changeMarkerBlurred','stopListening','abortReviewStream','switchToEdit','reviewCheckResultActivated','changes','currentError','closest','listenTo','483056fLLpYx','ai-review-mode-check-run-failed','3616970JVjaTX','getChangeElement','panel','5FgghVA','showGeneralReviewCoreErrorView','message','setAvailableChecks','change','_logError','contentInitial','ready','retryReview','isOfficialPlugin','checks','length','_onChangeMarkerRemoved','isChangeActive','activateChange','showActionsWhenResultIsReady','_initRequiredPlugins','showChunkErrorView','_onChangeMarkerHovered','getDocumentData','params','10043SBqXGa','_scrollToChange','reviewCheckResultAdded','hideChangeBalloon','_onReviewCheckResultActivated','error-chunk','data','markChangeAsPending','36vgeRGZ','init','_onReviewCheckRun','ai-request-aborted','ai-review-mode-check-run-chunk-error','processedResultsCount','ck-ai_review-highlights','_aiReviewCheckList','finished','1475054GLNYtB','_changeActivationSource','getReviewCheckList'];_0x422d=function(){return _0x3f6d7a;};return _0x422d();}const _0xbe886a=_0x271c;(function(_0x12d008,_0x27a145){const _0x3f27da=_0x271c,_0x3ec98=_0x12d008();while(!![]){try{const _0x46d434=-parseInt(_0x3f27da(0x22c))/0x1*(parseInt(_0x3f27da(0x234))/0x2)+parseInt(_0x3f27da(0x1dd))/0x3+-parseInt(_0x3f27da(0x212))/0x4+parseInt(_0x3f27da(0x217))/0x5*(-parseInt(_0x3f27da(0x1f9))/0x6)+-parseInt(_0x3f27da(0x23d))/0x7*(-parseInt(_0x3f27da(0x1c4))/0x8)+parseInt(_0x3f27da(0x1b3))/0x9+parseInt(_0x3f27da(0x214))/0xa;if(_0x46d434===_0x27a145)break;else _0x3ec98['push'](_0x3ec98['shift']());}catch(_0x20c2df){_0x3ec98['push'](_0x3ec98['shift']());}}}(_0x422d,0x1a8e0));function _0x271c(_0x47630c,_0x2c4426){const _0x422dd0=_0x422d();return _0x271c=function(_0x271cb7,_0x31ac79){_0x271cb7=_0x271cb7-0x1a2;let _0x3c8b45=_0x422dd0[_0x271cb7];return _0x3c8b45;},_0x271c(_0x47630c,_0x2c4426);}import{ContextPlugin as _0x44a0e1}from'ckeditor5/src/core.js';import{CKEditorError as _0x5d37fa,logError as _0x2c2eec,scrollAncestorsToShowTarget as _0x2d2df9,scrollViewportToShowTarget as _0x28f2e8}from'ckeditor5/src/utils.js';import{AIReviewSystemCheckRun as _0x527880}from'./model/aireviewsystemcheckrun.js';import{getTranslation as _0x2b9b98}from'../aicore/utils/common-translations.js';import{AIConnector as _0x2d9d25}from'../aicore/aiconnector.js';export class AIReviewCoreController extends _0x44a0e1{[_0xbe886a(0x1e5)];[_0xbe886a(0x1ae)];[_0xbe886a(0x208)];[_0xbe886a(0x23b)];[_0xbe886a(0x1dc)];[_0xbe886a(0x23e)]=null;static get[_0xbe886a(0x1bf)](){return[_0x2d9d25];}static get[_0xbe886a(0x220)](){return!0x0;}static get[_0xbe886a(0x1ac)](){return!0x0;}async[_0xbe886a(0x235)](){const _0x297d4a=_0xbe886a;this[_0x297d4a(0x227)](),this[_0x297d4a(0x23b)]=await this[_0x297d4a(0x1aa)](),this[_0x297d4a(0x211)](this[_0x297d4a(0x1ae)],_0x297d4a(0x1a2),()=>{const _0x80d20c=_0x297d4a;this[_0x80d20c(0x1ae)][_0x80d20c(0x21a)](this[_0x80d20c(0x23b)][_0x80d20c(0x221)]);}),this[_0x297d4a(0x211)](this[_0x297d4a(0x1ae)],_0x297d4a(0x1fb),async(_0x326081,_0x4fb322)=>{const _0x13dde8=_0x297d4a,_0x3f11f4=this[_0x13dde8(0x23b)][_0x13dde8(0x1bc)](_0x4fb322['id']);if(_0x3f11f4){this[_0x13dde8(0x236)](_0x4fb322),this[_0x13dde8(0x208)][_0x13dde8(0x1be)](),this[_0x13dde8(0x1dc)]=this[_0x13dde8(0x1c9)](_0x4fb322,_0x3f11f4),this[_0x13dde8(0x1ae)][_0x13dde8(0x1fc)](this[_0x13dde8(0x1dc)][_0x13dde8(0x1c3)],this[_0x13dde8(0x1dc)][_0x13dde8(0x1b1)]),this[_0x13dde8(0x1dc)]['on'](_0x13dde8(0x1d3),(_0x27918d,_0x33aad1)=>{const _0x23e4c1=_0x13dde8;switch(_0x33aad1[_0x23e4c1(0x1a9)]){case _0x23e4c1(0x232):case _0x23e4c1(0x1d4):this[_0x23e4c1(0x1ae)][_0x23e4c1(0x1df)](_0x33aad1);break;case _0x23e4c1(0x23c):this[_0x23e4c1(0x1b7)]();break;case _0x23e4c1(0x21e):this[_0x23e4c1(0x1ae)][_0x23e4c1(0x226)]();break;case _0x23e4c1(0x1da):this[_0x23e4c1(0x1ae)][_0x23e4c1(0x1d8)]();break;case _0x23e4c1(0x1e8):this[_0x23e4c1(0x1ae)][_0x23e4c1(0x1a8)](),this[_0x23e4c1(0x21c)](new _0x5d37fa(_0x23e4c1(0x1a5),this,void 0x0,this[_0x23e4c1(0x1dc)]?.[_0x23e4c1(0x20f)]));break;case _0x23e4c1(0x231):this[_0x23e4c1(0x1ae)][_0x23e4c1(0x228)](),this[_0x23e4c1(0x21c)](new _0x5d37fa(_0x23e4c1(0x238),this,void 0x0,this[_0x23e4c1(0x1dc)]?.[_0x23e4c1(0x20f)]));break;case _0x23e4c1(0x1e6):this[_0x23e4c1(0x1dc)]&&this[_0x23e4c1(0x1dc)][_0x23e4c1(0x239)]>0x0?setTimeout(()=>{const _0x12eeaa=_0x23e4c1;this[_0x12eeaa(0x1dc)]?.[_0x12eeaa(0x1de)]();},0x0):this[_0x23e4c1(0x1fa)](!0x0);}_0x23e4c1(0x21e)!==_0x33aad1[_0x23e4c1(0x1a9)]&&_0x23e4c1(0x231)!==_0x33aad1[_0x23e4c1(0x1a9)]&&_0x23e4c1(0x1e8)!==_0x33aad1[_0x23e4c1(0x1a9)]||this[_0x23e4c1(0x1dc)]?.[_0x23e4c1(0x1cc)]();}),this[_0x13dde8(0x1dc)]['on'](_0x13dde8(0x22e),(_0x40cc75,_0x274c63)=>{const _0x1207ce=_0x13dde8;if(!this[_0x1207ce(0x1dc)])throw new _0x5d37fa(_0x1207ce(0x1ed),this);const _0xb12804=this[_0x1207ce(0x1e0)](_0x274c63[_0x1207ce(0x1e1)][_0x1207ce(0x21d)],_0x274c63[_0x1207ce(0x1e1)][_0x1207ce(0x204)]);_0x274c63[_0x1207ce(0x1cd)][_0x1207ce(0x1af)](_0x274c63[_0x1207ce(0x1e1)]['id'],_0xb12804);}),this[_0x13dde8(0x1dc)]['on'](_0x13dde8(0x1ca),(_0x543442,_0x14b26a)=>{const _0x242515=_0x13dde8;for(const _0x4b55ad of _0x14b26a[_0x242515(0x20e)])this[_0x242515(0x1ae)][_0x242515(0x1b0)](_0x4b55ad);this[_0x242515(0x1b9)](_0x14b26a[_0x242515(0x20e)],_0x14b26a[_0x242515(0x1cd)][_0x242515(0x1d9)]);}),this[_0x13dde8(0x1dc)]['on'](_0x13dde8(0x1d7),(_0x22cdc7,_0x3fe78a)=>{const _0x1fb08c=_0x13dde8;this[_0x1fb08c(0x1ae)][_0x1fb08c(0x1f1)](_0x3fe78a[_0x1fb08c(0x21b)]['id'],_0x3fe78a[_0x1fb08c(0x1a9)]);}),this[_0x13dde8(0x1dc)]['on'](_0x13dde8(0x20d),(_0x279de0,_0x170737)=>{const _0x441844=_0x13dde8;this[_0x441844(0x230)](_0x170737);}),this[_0x13dde8(0x1dc)]['on'](_0x13dde8(0x1b2),()=>{const _0x10c7a8=_0x13dde8;this[_0x10c7a8(0x1ce)]();});try{await this[_0x13dde8(0x1dc)][_0x13dde8(0x1a3)]();}catch(_0x3f2a02){_0x3f2a02 instanceof Error&&_0x3f2a02[_0x13dde8(0x219)][_0x13dde8(0x1d0)](_0x13dde8(0x237))||(_0x3f2a02 instanceof _0x5d37fa?this[_0x13dde8(0x21c)](_0x3f2a02):this[_0x13dde8(0x21c)](new _0x5d37fa(_0x13dde8(0x213),this,void 0x0,_0x3f2a02)));}}else this[_0x13dde8(0x21c)](new _0x5d37fa(_0x13dde8(0x1b4),this,{'checkId':_0x4fb322['id']}));}),this[_0x297d4a(0x211)](this[_0x297d4a(0x1ae)],_0x297d4a(0x1d6),()=>{const _0x54291e=_0x297d4a;this[_0x54291e(0x1fa)]();}),this[_0x297d4a(0x211)](this[_0x297d4a(0x1ae)],_0x297d4a(0x1b6),()=>{const _0x46594b=_0x297d4a;this[_0x46594b(0x1fa)](!0x0);}),this[_0x297d4a(0x211)](this[_0x297d4a(0x1ae)],_0x297d4a(0x20b),()=>{const _0x4d6797=_0x297d4a;this[_0x4d6797(0x1dc)]&&this[_0x4d6797(0x1dc)][_0x4d6797(0x1e7)]();}),this[_0x297d4a(0x211)](this[_0x297d4a(0x1ae)],_0x297d4a(0x1ab),()=>{const _0x358236=_0x297d4a;this[_0x358236(0x1fa)](!0x0);}),this[_0x297d4a(0x211)](this[_0x297d4a(0x1ae)],_0x297d4a(0x1d2),()=>{const _0x3e86e6=_0x297d4a;if(!this[_0x3e86e6(0x1dc)])return;const _0x1b7548=this[_0x3e86e6(0x1dc)][_0x3e86e6(0x1c1)]();if(!_0x1b7548[_0x3e86e6(0x222)])return;this[_0x3e86e6(0x208)][_0x3e86e6(0x1f2)](_0x1b7548[_0x3e86e6(0x1f7)](_0x2cb9e4=>_0x2cb9e4['id']));const _0x260d58=this[_0x3e86e6(0x1dc)];_0x260d58[_0x3e86e6(0x1ec)](),_0x260d58[_0x3e86e6(0x1cc)]();}),this[_0x297d4a(0x211)](this[_0x297d4a(0x1ae)],_0x297d4a(0x1f3),(_0x19ab8f,_0x4c515e)=>{const _0x94e700=_0x297d4a;this[_0x94e700(0x1dc)]&&this[_0x94e700(0x1dc)][_0x94e700(0x224)](_0x4c515e['id'])&&(this[_0x94e700(0x208)][_0x94e700(0x1f2)]([_0x4c515e['id']]),this[_0x94e700(0x1dc)][_0x94e700(0x1e4)](_0x4c515e['id']),this[_0x94e700(0x1ae)][_0x94e700(0x22f)](),this[_0x94e700(0x1dc)][_0x94e700(0x1cc)](_0x4c515e['id']));}),this[_0x297d4a(0x211)](this[_0x297d4a(0x1ae)],_0x297d4a(0x202),(_0x26b10d,_0x168f25)=>{const _0x754afc=_0x297d4a;this[_0x754afc(0x1dc)]&&this[_0x754afc(0x1dc)][_0x754afc(0x224)](_0x168f25['id'])&&(this[_0x754afc(0x208)][_0x754afc(0x201)](_0x168f25['id']),this[_0x754afc(0x1dc)][_0x754afc(0x1c0)](_0x168f25['id']),this[_0x754afc(0x1ae)][_0x754afc(0x22f)](),this[_0x754afc(0x1dc)][_0x754afc(0x1cc)](_0x168f25['id']));}),this[_0x297d4a(0x211)](this[_0x297d4a(0x1ae)],_0x297d4a(0x21f),async()=>{const _0x5abe6a=_0x297d4a;this[_0x5abe6a(0x1dc)]&&(this[_0x5abe6a(0x208)][_0x5abe6a(0x1fd)](),this[_0x5abe6a(0x1dc)][_0x5abe6a(0x1c6)](this[_0x5abe6a(0x208)][_0x5abe6a(0x22a)]()),await this[_0x5abe6a(0x1dc)][_0x5abe6a(0x1eb)]());}),this[_0x297d4a(0x211)](this[_0x297d4a(0x1ae)],_0x297d4a(0x225),(_0x4e927d,_0xb2d426)=>{const _0x33ef0d=_0x297d4a;this[_0x33ef0d(0x1a4)](_0xb2d426);}),this[_0x297d4a(0x211)](this[_0x297d4a(0x1ae)],_0x297d4a(0x1ad),(_0x14269c,_0x388d71)=>{const _0xa0b171=_0x297d4a;this[_0xa0b171(0x1e9)](_0x388d71);}),this[_0x297d4a(0x211)](this[_0x297d4a(0x208)][_0x297d4a(0x205)],_0x297d4a(0x1c7),(_0x253373,_0x4406da)=>{const _0x35a3d0=_0x297d4a;this[_0x35a3d0(0x1a7)](_0x253373,_0x4406da);}),this[_0x297d4a(0x211)](this[_0x297d4a(0x208)][_0x297d4a(0x205)],_0x297d4a(0x1c8),(_0x164141,_0x57b68e)=>{const _0x35ee74=_0x297d4a;this[_0x35ee74(0x229)](_0x164141,_0x57b68e);}),this[_0x297d4a(0x211)](this[_0x297d4a(0x208)][_0x297d4a(0x205)],_0x297d4a(0x209),()=>{const _0x2b3433=_0x297d4a;this[_0x2b3433(0x1fe)]();}),this[_0x297d4a(0x211)](this[_0x297d4a(0x208)][_0x297d4a(0x205)],_0x297d4a(0x1ff),(_0x3d4ddc,_0x4c4a8e)=>{const _0x1c0cc8=_0x297d4a;this[_0x1c0cc8(0x223)](_0x3d4ddc,_0x4c4a8e);}),this[_0x297d4a(0x211)](this[_0x297d4a(0x208)][_0x297d4a(0x205)],_0x297d4a(0x1ef),(_0x281a27,_0x4b919)=>{const _0x526234=_0x297d4a;this[_0x526234(0x1b5)](_0x281a27,_0x4b919);});}[_0xbe886a(0x1c9)](_0x4c6df1,_0x557f47){const _0x3859e2=_0xbe886a;return new _0x527880(this[_0x3859e2(0x208)][_0x3859e2(0x22a)](),_0x557f47,this[_0x3859e2(0x1e5)],_0x4c6df1[_0x3859e2(0x22b)],_0x4c6df1[_0x3859e2(0x1c5)]);}[_0xbe886a(0x223)](_0x312377,_0x338bcb){const _0x353d23=_0xbe886a;this[_0x353d23(0x1dc)]&&this[_0x353d23(0x1dc)][_0x353d23(0x1d1)](_0x338bcb[_0x353d23(0x1f0)]);}[_0xbe886a(0x1b5)](_0x2595f3,_0x336799){const _0x31d763=_0xbe886a;this[_0x31d763(0x1dc)]&&this[_0x31d763(0x1dc)][_0x31d763(0x233)](_0x336799[_0x31d763(0x1f0)]);}[_0xbe886a(0x1b7)](){const _0x2a00ed=_0xbe886a;this[_0x2a00ed(0x1ae)][_0x2a00ed(0x1db)]();}[_0xbe886a(0x227)](){const _0x41f0e7=_0xbe886a;this[_0x41f0e7(0x1e5)]=this[_0x41f0e7(0x1bb)][_0x41f0e7(0x1e2)][_0x41f0e7(0x203)](_0x41f0e7(0x1f6));}[_0xbe886a(0x1fa)](_0x267d72=!0x1){const _0x4050e4=_0xbe886a;this[_0x4050e4(0x1dc)]&&(this[_0x4050e4(0x1dc)][_0x4050e4(0x1ee)]||this[_0x4050e4(0x1dc)][_0x4050e4(0x1cc)](),this[_0x4050e4(0x1dc)][_0x4050e4(0x20a)](),this[_0x4050e4(0x1dc)][_0x4050e4(0x1e7)](),this[_0x4050e4(0x1dc)]=void 0x0),_0x267d72&&this[_0x4050e4(0x1ae)][_0x4050e4(0x1f4)](),this[_0x4050e4(0x208)][_0x4050e4(0x1fd)](),this[_0x4050e4(0x208)][_0x4050e4(0x20c)](),this[_0x4050e4(0x23e)]=null;const _0x40084f=this[_0x4050e4(0x208)][_0x4050e4(0x1ea)]();_0x40084f&&_0x40084f[_0x4050e4(0x1a6)][_0x4050e4(0x1c2)][_0x4050e4(0x21b)](_0x1b2fe2=>{const _0x37c46b=_0x4050e4,_0x29353c=_0x40084f[_0x37c46b(0x1a6)][_0x37c46b(0x1c2)][_0x37c46b(0x1bd)][_0x37c46b(0x1ba)]();_0x1b2fe2[_0x37c46b(0x206)](_0x37c46b(0x1e3),_0x29353c),_0x1b2fe2[_0x37c46b(0x206)](_0x37c46b(0x23a),_0x29353c),_0x1b2fe2[_0x37c46b(0x206)](_0x37c46b(0x1d5),_0x29353c);});}[_0xbe886a(0x1f8)](_0x21355d,_0x557671){const _0x4c0db6=_0xbe886a,_0x311ffd=this[_0x4c0db6(0x1bb)][_0x4c0db6(0x1f5)],_0x544f0c=_0x2b9b98(_0x311ffd,_0x21355d);return _0x544f0c===_0x21355d?_0x557671:_0x544f0c;}[_0xbe886a(0x21c)](_0x10c4f1,_0x4ba308=!0x1){const _0x324ec6=_0xbe886a;_0x2c2eec(_0x10c4f1[_0x324ec6(0x219)]),_0x4ba308||(_0x10c4f1[_0x324ec6(0x219)][_0x324ec6(0x1cf)](_0x324ec6(0x1b8))?this[_0x324ec6(0x1ae)][_0x324ec6(0x218)]():this[_0x324ec6(0x1ae)][_0x324ec6(0x1a8)]());}[_0xbe886a(0x22d)](_0x2e629e){const _0x296955=_0xbe886a;if(_0x296955(0x200)===this[_0x296955(0x23e)]){const _0x5ae30f=this[_0x296955(0x1ae)][_0x296955(0x215)](_0x2e629e);_0x5ae30f&&_0x2d2df9(_0x5ae30f[_0x296955(0x210)](_0x296955(0x1cb))||_0x5ae30f);}else{if(_0x296955(0x216)===this[_0x296955(0x23e)]){const _0x4d75c6=this[_0x296955(0x207)](_0x2e629e);if(!_0x4d75c6)return;_0x28f2e8({'target':_0x4d75c6,'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 _0x19b180=_0x80bc;(function(_0x5a0b64,_0x56149a){const _0x147d40=_0x80bc,_0x596199=_0x5a0b64();while(!![]){try{const _0x3afb96=parseInt(_0x147d40(0x160))/0x1*(parseInt(_0x147d40(0x17e))/0x2)+parseInt(_0x147d40(0xc8))/0x3*(parseInt(_0x147d40(0x19f))/0x4)+-parseInt(_0x147d40(0x12d))/0x5+-parseInt(_0x147d40(0xd0))/0x6*(parseInt(_0x147d40(0xda))/0x7)+-parseInt(_0x147d40(0x147))/0x8+-parseInt(_0x147d40(0xf5))/0x9+-parseInt(_0x147d40(0x144))/0xa*(-parseInt(_0x147d40(0x154))/0xb);if(_0x3afb96===_0x56149a)break;else _0x596199['push'](_0x596199['shift']());}catch(_0x75788a){_0x596199['push'](_0x596199['shift']());}}}(_0x664c,0x265bf));import{InsertOperation as _0x368f3b,MarkerOperation as _0x476d1e,ModelDocumentFragment as _0x43ae55,ModelPosition as _0x378a27,ModelRange as _0xe11065,ModelTreeWalker as _0x4e1fa9,transformOperationSets as _0x4ea486}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x2f16c2,EmitterMixin as _0x5d0532,uid as _0x4e4492}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x45512c}from'ckeditor5/src/core.js';function _0x80bc(_0x4acbb2,_0x346487){const _0x664ce1=_0x664c();return _0x80bc=function(_0x80bc2b,_0x54e8b3){_0x80bc2b=_0x80bc2b-0xc8;let _0x59185e=_0x664ce1[_0x80bc2b];return _0x59185e;},_0x80bc(_0x4acbb2,_0x346487);}import{DocumentCompare as _0x5391c9,DATA_ID_MODEL_ATTRIBUTE as _0x1c0dfb,DATA_ID_VIEW_ATTRIBUTE as _0x38cd26,getMarkerDomElement as _0x12aaf9}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x3099f4}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x18af61}from'../aicore/aiediting.js';import{debounce as _0x2df4e4}from'es-toolkit/compat';function _0x664c(){const _0x351b8a=['getDiff','getMarkerElementForChange','changeMarkerRemoved','enableReadOnlyMode','hasClass','\x20ck-ai_review__change_active','[data-id=\x22','_findMarkerElement','_insertMarkers','dataDowncast','isDocumentOperation','toData','attributeToAttribute','markChangePositionInEditorContent','_groupAdjacentOperations','startsWith','groupId','_hasSameTopLevelElement','every','getAttribute','schema','version','_removeChildren','root','processor','insertContent','span','values','pop','delete','_appendChild','removeMarker','markers','suggestion-context','markerToHighlight','content','1351200aDNaZp','containsRange','createRawElement','isInline','position','createRangeOn','hasContentAfter','$markedRemove:synthetic','getDocumentData','newRange','oldRange','editing','switchToEdit','changeMarkerRestored','plugins','_createGetContentUsingDataIdFn','model','get','isOfficialPlugin','differ','.ck-reset.ck-ai_review-balloon-panel-suggestion','className','getContentElementForChange','439730jsgump','ai-review','ellipsisAfter','1187720geTQPF','_upsertDataId','setMarkersInElementAsActive','No\x20element\x20found\x20for\x20ID:\x20','remove-only','isAtStart','_markers','listenTo','_haveOnlyInlineContent','set','changeMarkerHovered','stringify','warn','231EIAAAi','isBlock','applyOperation','remove','_findAdjacentContextDistance','markerName','ck-ai_review-marker_context-end','isAtEnd','createPositionAfter','highest','createPositionAt','toView','3701RfnplF','split','getHtml','conversion','_validateMarkers','diffContent','isIntersecting','_activeMarkers','_findMarkerElementById','fire','_handleMarkerChanges','innerHTML','markerToElement','deleteContent','_getOperationEnd','createDocumentFragment','push','forward','outside','append','_createGetContextFn','closest','$documentFragment','setAllMarkersAsInactive','view','getRange','batch','addMarker','concat','data','26mUJTlV','AIEditing','index','offset','_nextDataId','_shiftOperation','registerPostFixer','htmlProcessor','operationsIsolated','$graveyard','querySelector','ck-ai_review-marker_add','clone','documentFragment','suggestion:deletion:id:authorId:','_getChangeContext','size','ck-ai_review-marker_context-','emitter','_changeRangeOwnerDocument','forEach','applyChange','affectsData','DocumentCompare','createUIElement','toDomElement','element','$root','backward','data-marker-id','baseVersion','marker','add','147676fhxKMV','length','end','getRoot','history','map','_changeOperationOwnerDocument','clear','getStart','start','sort','remove-text','_translateOperationToEditorContent','getEditor','ck-ai_review-marker_underline','for','editingDowncast','name','join','_changeRange','reactivateMarkers','howMany','_createGetContentFn','getChanges','relatedTarget','ck-ai_review__change_active','childCount','_eventEmitter','changeMarkerClicked','clearAllMarkers','elements','from','AIReviewCoreEditing','_sortMarkers','[data-marker-id=\x22','createRange','htmlWriter','has','_changePositionOwnerDocument','parent','ellipsisBefore','target','exec','isTouching','offsetSize','pluginName','ck-ai_review-marker_strikethrough','asString','context','_domEmitter','rejectChange','addOperation','isOpening','viewToDom','body','review-','9MhAUKk','_getPositionLimitingRange','_setAttribute','suggestion:insertion:id:authorId:','outerHTML','remove-context','flat','getPath','6KXeZIl','createRangeIn','ck-ai_review-marker_hide','asFragment','mouseup','changeMarkerBlurred','_clone','path','_removeAttribute','type','1884281KPhIJH','_parseMarkerName','getEditableElement','_getMarkersDataForGroup','rootName','_getOperationStart','_haveSingleTopLevelElement','parentElement','hasAttribute','getChild','operationsA','getChangedMarkers','operations','_changePosition','document','getShiftedBy','inside','keys','parse','domConverter','$textProxy','ck-ai_review-marker_','createSelection','switchToReadOnly','reconvertMarker','$markedRemove','disableReadOnlyMode','2135664VztEuE','jumpTo','isLimit','hasContentBefore','containerElement','change','getOperations','afterInit','downcast','insert','nodes','mouseover','ck-ai_review-marker_context-start','getChildren','requires','getDomRoot','filter','isPremiumPlugin','includes','getRoots'];_0x664c=function(){return _0x351b8a;};return _0x664c();}const Lt=_0x19b180(0x1d6);export class AIReviewCoreEditing extends _0x45512c{static get[_0x19b180(0x103)](){return[_0x5391c9,_0x18af61];}static get[_0x19b180(0x1cc)](){const _0x3cd873=_0x19b180;return _0x3cd873(0x1bf);}static get[_0x19b180(0x13f)](){return!0x0;}static get[_0x19b180(0x106)](){return!0x0;}[_0x19b180(0x14d)]=new Map();[_0x19b180(0x167)]=new Set();[_0x19b180(0x1d0)];[_0x19b180(0x1ba)];constructor(_0x4022ba){const _0x2f1c76=_0x19b180;super(_0x4022ba),this[_0x2f1c76(0x1d0)]=new(_0x2f16c2())(),this[_0x2f1c76(0x1ba)]=new(_0x5d0532())();}get[_0x19b180(0x190)](){const _0x13b2f7=_0x19b180;return this[_0x13b2f7(0x1ba)];}[_0x19b180(0xfc)](){const _0x6fa96e=_0x19b180,_0x32c785=_0x3099f4(this[_0x6fa96e(0x1cf)]);_0x32c785[_0x6fa96e(0x163)][_0x6fa96e(0x1ae)](_0x6fa96e(0x1af))[_0x6fa96e(0x16c)]({'model':Lt+_0x6fa96e(0xfe),'view':(_0x12ebca,{writer:_0x406f15})=>{const _0x36aeea=_0x6fa96e,_0x2a281b=this[_0x36aeea(0x14d)][_0x36aeea(0x13e)](_0x12ebca[_0x36aeea(0x159)]),_0x4d6464={'class':_0x36aeea(0x189)+(this[_0x36aeea(0x167)][_0x36aeea(0x1c4)](_0x2a281b?.['id']||'')?_0x36aeea(0x10e):''),'data-marker-id':_0x12ebca[_0x36aeea(0x159)]};return _0x406f15[_0x36aeea(0x196)](_0x36aeea(0x123),_0x4d6464,function(_0x17b122){const _0xb924d1=_0x36aeea,_0x2e439f=this[_0xb924d1(0x197)](_0x17b122);return _0x2e439f[_0xb924d1(0x16b)]=_0x2a281b?.[_0xb924d1(0x12c)]?.[_0xb924d1(0x1ce)]||'',_0x2e439f;});}}),_0x32c785[_0x6fa96e(0x163)][_0x6fa96e(0x1ae)](_0x6fa96e(0x1af))[_0x6fa96e(0x12b)]({'model':Lt+_0x6fa96e(0x14b),'view':_0x4f9006=>{const _0x140e52=_0x6fa96e,_0x2e8437=this[_0x140e52(0x14d)][_0x140e52(0x13e)](_0x4f9006[_0x140e52(0x159)]),_0xbe442f=[_0x140e52(0x1cd)];return this[_0x140e52(0x167)][_0x140e52(0x1c4)](_0x2e8437?.['id']||'')&&_0xbe442f[_0x140e52(0x170)](_0x140e52(0x1b8)),{'classes':_0xbe442f,'attributes':{'data-marker-id':_0x4f9006[_0x140e52(0x159)]}};}}),_0x32c785[_0x6fa96e(0x163)][_0x6fa96e(0x1ae)](_0x6fa96e(0x1af))[_0x6fa96e(0x12b)]({'model':Lt+_0x6fa96e(0xcd),'view':_0x31c376=>{const _0x2ed472=_0x6fa96e,_0x25bb65=this[_0x2ed472(0x14d)][_0x2ed472(0x13e)](_0x31c376[_0x2ed472(0x159)]),_0x211594=[_0x2ed472(0x1ad)];return this[_0x2ed472(0x167)][_0x2ed472(0x1c4)](_0x25bb65?.['id']||'')&&_0x211594[_0x2ed472(0x170)](_0x2ed472(0x1b8)),{'classes':_0x211594,'attributes':{'data-marker-id':_0x31c376[_0x2ed472(0x159)]}};}}),_0x32c785[_0x6fa96e(0x163)][_0x6fa96e(0x1ae)](_0x6fa96e(0x1af))[_0x6fa96e(0x12b)]({'model':Lt+_0x6fa96e(0x1aa),'view':_0x2d3c41=>{const _0x1eaf3d=_0x6fa96e,_0x27197a=this[_0x1eaf3d(0x14d)][_0x1eaf3d(0x13e)](_0x2d3c41[_0x1eaf3d(0x159)]),_0x1cae5b=[_0x1eaf3d(0xd2)];return this[_0x1eaf3d(0x167)][_0x1eaf3d(0x1c4)](_0x27197a?.['id']||'')&&_0x1cae5b[_0x1eaf3d(0x170)](_0x1eaf3d(0x1b8)),{'classes':_0x1cae5b,'attributes':{'data-marker-id':_0x2d3c41[_0x1eaf3d(0x159)]}};}}),_0x32c785[_0x6fa96e(0x163)][_0x6fa96e(0x1ae)](_0x6fa96e(0x112))[_0x6fa96e(0x16c)]({'model':Lt+_0x6fa96e(0x12a),'view':(_0x2a4cd6,{writer:_0x1784c8})=>_0x1784c8[_0x6fa96e(0x12f)](_0x6fa96e(0x123),{'class':_0x6fa96e(0x18f)+(_0x2a4cd6[_0x6fa96e(0x1d3)]?_0x6fa96e(0x1a8):_0x6fa96e(0x1a1))})}),_0x32c785[_0x6fa96e(0x163)][_0x6fa96e(0x1ae)](_0x6fa96e(0xfd))[_0x6fa96e(0x115)]({'model':_0x1c0dfb,'view':_0x38cd26});const _0x3ecdec=_0x32c785['ui'][_0x6fa96e(0xdc)]()||document[_0x6fa96e(0x1d5)];this[_0x6fa96e(0x1d0)][_0x6fa96e(0x14e)](_0x3ecdec,_0x6fa96e(0xd4),(_0x1675a0,_0xefd73e)=>{const _0x11577b=_0x6fa96e,_0x116504=_0xefd73e[_0x11577b(0x1c8)],_0x305ae5=this[_0x11577b(0x110)](_0x116504);if(!_0x305ae5)return;const _0x1dc796=_0x305ae5[_0x11577b(0x11c)](_0x11577b(0x19b)),_0x4ab65f=_0x1dc796[_0x11577b(0x161)](':')[_0x11577b(0x125)]()?.[_0x11577b(0x161)]('_')[0x0];this[_0x11577b(0x1ba)][_0x11577b(0x169)](_0x11577b(0x1bb),{'markerId':_0x1dc796,'changeId':_0x4ab65f,'markerElement':()=>this[_0x11577b(0x168)](_0x1dc796),'domEvent':_0xefd73e});},{'usePassive':!0x0,'priority':_0x6fa96e(0x15d)}),this[_0x6fa96e(0x1d0)][_0x6fa96e(0x14e)](_0x3ecdec,_0x6fa96e(0x100),(_0x5d66f6,_0x49da76)=>{const _0x703330=_0x6fa96e,_0x1d7083=_0x49da76[_0x703330(0x1c8)],_0x41d9ed=_0x49da76[_0x703330(0x1b7)];let _0x3dc3a2=this[_0x703330(0x110)](_0x1d7083);if(!_0x3dc3a2&&_0x41d9ed&&(_0x3dc3a2=this[_0x703330(0x110)](_0x41d9ed)),!_0x3dc3a2)return;const _0x1ef0c1=_0x3dc3a2[_0x703330(0x11c)](_0x703330(0x19b)),_0x23567c=_0x1ef0c1[_0x703330(0x161)](':')[_0x703330(0x125)]()?.[_0x703330(0x161)]('_')[0x0];this[_0x703330(0x1ba)][_0x703330(0x169)](_0x703330(0x151),{'changeId':_0x23567c,'markerElement':()=>this[_0x703330(0x168)](_0x1ef0c1),'domEvent':_0x49da76});}),this[_0x6fa96e(0x1d0)][_0x6fa96e(0x14e)](document,_0x6fa96e(0x100),_0x2df4e4((_0x3ff777,_0x265281)=>{const _0x38e655=_0x6fa96e,_0x2ad099=_0x265281[_0x38e655(0x1c8)];if(this[_0x38e655(0x110)](_0x2ad099))return;_0x2ad099[_0x38e655(0x175)](_0x38e655(0x141))||this[_0x38e655(0x1ba)][_0x38e655(0x169)](_0x38e655(0xd5));},0xc8)),_0x32c785[_0x6fa96e(0x13d)][_0x6fa96e(0xe8)][_0x6fa96e(0x184)](_0x146e4d=>this[_0x6fa96e(0x164)](_0x32c785,_0x146e4d)),_0x32c785[_0x6fa96e(0x13d)][_0x6fa96e(0xe8)]['on'](_0x6fa96e(0xfa),()=>this[_0x6fa96e(0x16a)](_0x32c785));}[_0x19b180(0x135)](){const _0x32f3e8=_0x19b180,_0x4d4ef9=this[_0x32f3e8(0x1cf)][_0x32f3e8(0x13b)][_0x32f3e8(0x13e)](_0x32f3e8(0x17f)),_0xc66f63=_0x3099f4(this[_0x32f3e8(0x1cf)]),_0x5eeeb1=_0xc66f63[_0x32f3e8(0x13d)],_0x5663fa=new _0x43ae55();for(const _0x51177e of _0x5eeeb1[_0x32f3e8(0xe8)][_0x32f3e8(0x1a2)]()[_0x32f3e8(0x102)]()){const _0x2200a5=_0x51177e[_0x32f3e8(0xd6)](!0x0);_0x5663fa[_0x32f3e8(0x127)](_0x2200a5);}for(const _0x2818de of _0x5eeeb1[_0x32f3e8(0x129)])_0x5663fa[_0x32f3e8(0x129)][_0x32f3e8(0x150)](_0x2818de[_0x32f3e8(0x1b0)],this[_0x32f3e8(0x191)](_0x2818de[_0x32f3e8(0x179)]()[_0x32f3e8(0x18a)](),_0x5663fa));const _0x56a532=new _0x4e1fa9({'ignoreElementEnd':!0x0,'startPosition':_0x5eeeb1[_0x32f3e8(0x15e)](_0x5663fa,0x0)}),_0x4fc7af=new Set(),_0x43b4d7=new Map();for(const {item:_0x380cde}of _0x56a532){if(!_0x380cde['is'](_0x32f3e8(0xee)))continue;const _0x95311a=_0x380cde[_0x32f3e8(0x1c6)];if(_0x95311a&&_0x95311a['is'](_0x32f3e8(0x198))){const _0x56979b=this[_0x32f3e8(0x148)](_0x95311a,()=>_0x4d4ef9[_0x32f3e8(0x182)](_0x4fc7af));_0x4fc7af[_0x32f3e8(0x19e)](_0x56979b);for(const _0x51b5f0 of _0x95311a[_0x32f3e8(0x102)]())_0x51b5f0['is'](_0x32f3e8(0x198))&&_0x4fc7af[_0x32f3e8(0x19e)](this[_0x32f3e8(0x148)](_0x51b5f0,()=>_0x4d4ef9[_0x32f3e8(0x182)](_0x4fc7af)));let _0x3166a2=_0x95311a;for(;_0x3166a2[_0x32f3e8(0x1c6)]&&!_0x3166a2[_0x32f3e8(0x1c6)]['is'](_0x32f3e8(0x18b));)_0x3166a2=_0x3166a2[_0x32f3e8(0x1c6)],_0x3166a2[_0x32f3e8(0xe2)](_0x1c0dfb)&&_0x3166a2[_0x32f3e8(0xd8)](_0x1c0dfb);_0x43b4d7[_0x32f3e8(0x150)](_0x56979b,{'path':_0x95311a[_0x32f3e8(0xcf)](),'getContent':this[_0x32f3e8(0x13c)](_0x3166a2[_0x32f3e8(0xd6)](!0x0),_0x56979b,_0xc66f63[_0x32f3e8(0x17d)])}),_0x56a532[_0x32f3e8(0xf6)](_0x5eeeb1[_0x32f3e8(0x15c)](_0x95311a));}}return{'content':_0xc66f63[_0x32f3e8(0x17d)][_0x32f3e8(0x121)][_0x32f3e8(0x114)](_0xc66f63[_0x32f3e8(0x17d)][_0x32f3e8(0x15f)](_0x5663fa)),'version':_0xc66f63[_0x32f3e8(0x13d)][_0x32f3e8(0xe8)][_0x32f3e8(0x11e)],'elements':_0x43b4d7};}[_0x19b180(0x165)](_0x291253,_0x281908,_0x39b681=!0x1){const _0x54aa3c=_0x19b180,_0x4f6652=[],_0x418cb6=_0x3099f4(this[_0x54aa3c(0x1cf)]),_0x4c6925=_0x418cb6[_0x54aa3c(0x17d)][_0x54aa3c(0xec)](_0x281908,_0x54aa3c(0x176)),_0x3b8b3e=_0x418cb6[_0x54aa3c(0x17d)][_0x54aa3c(0xec)](_0x291253,_0x54aa3c(0x176)),_0x49939d=_0x418cb6[_0x54aa3c(0x13d)][_0x54aa3c(0x15e)](_0x3b8b3e,0x0);if(this[_0x54aa3c(0xe0)](_0x4c6925)){if(!this[_0x54aa3c(0x11a)](_0x3b8b3e,_0x4c6925))return _0x4f6652;}else{const _0x515696=_0x418cb6[_0x54aa3c(0x13d)][_0x54aa3c(0x11d)];if(!this[_0x54aa3c(0x14f)](_0x3b8b3e,_0x515696)||!this[_0x54aa3c(0x14f)](_0x4c6925,_0x515696))return _0x4f6652;}const _0x356c76=this[_0x54aa3c(0x1cf)][_0x54aa3c(0x13b)][_0x54aa3c(0x13e)](_0x54aa3c(0x195))[_0x54aa3c(0x109)](_0x291253,_0x281908,{'anchor':_0x49939d,'markDeletions':!0x0})[_0x54aa3c(0xfb)]()[_0x54aa3c(0x105)](_0x5849d5=>_0x54aa3c(0xfe)===_0x5849d5[_0x54aa3c(0xd9)]||_0x54aa3c(0x19d)===_0x5849d5[_0x54aa3c(0xd9)]&&_0x5849d5[_0x54aa3c(0x1b0)][_0x54aa3c(0x118)](_0x54aa3c(0xf3))),_0x348e76=this[_0x54aa3c(0x117)](_0x356c76),_0x188c70=[];if(_0x39b681){if(_0x348e76[_0x54aa3c(0x1a0)]){const _0x49096d=_0x348e76[0x0][_0x54aa3c(0xe6)][0x0],_0x167334=_0x54aa3c(0xfe)===_0x49096d[_0x54aa3c(0xd9)]?_0x49096d[_0x54aa3c(0x131)]:_0x49096d[_0x54aa3c(0x136)][_0x54aa3c(0x1a8)],_0x566e35=this[_0x54aa3c(0xc9)](_0x167334,_0x418cb6,_0x54aa3c(0xea)),_0x57d77e=_0x566e35?_0x4c6925[_0x54aa3c(0xe3)](0x0)[_0x54aa3c(0x102)]():_0x4c6925[_0x54aa3c(0x102)](),_0x596817=_0x566e35||_0x418cb6[_0x54aa3c(0x13d)][_0x54aa3c(0xd1)](_0x3b8b3e),_0x6701ac=[new _0x476d1e(_0x54aa3c(0x134)+_0x4e4492(),null,_0x596817,_0x418cb6[_0x54aa3c(0x13d)][_0x54aa3c(0xe8)][_0x54aa3c(0x13d)][_0x54aa3c(0x129)],!0x0,_0x418cb6[_0x54aa3c(0x13d)][_0x54aa3c(0xe8)][_0x54aa3c(0x11e)]+0x1),new _0x368f3b(_0x596817[_0x54aa3c(0x1a1)],_0x57d77e,_0x418cb6[_0x54aa3c(0x13d)][_0x54aa3c(0xe8)][_0x54aa3c(0x11e)]+0x2)];_0x188c70[_0x54aa3c(0x170)]({'operations':_0x6701ac,'operationsIsolated':_0x6701ac,'groupOffset':0x0});}}else _0x188c70[_0x54aa3c(0x170)](..._0x348e76);let _0x51a77c=0x0;return _0x418cb6[_0x54aa3c(0x13d)][_0x54aa3c(0xfa)](_0x5bba03=>{const _0x13b386=_0x54aa3c;for(let _0x4c58ef=0x0;_0x4c58ef<_0x188c70[_0x13b386(0x1a0)];_0x4c58ef++){const _0x170829=_0x188c70[_0x4c58ef],_0x4406aa=_0x5bba03[_0x13b386(0x16f)]();for(const _0x588f09 of _0x3b8b3e[_0x13b386(0x102)]())_0x5bba03[_0x13b386(0x173)](_0x588f09[_0x13b386(0xd6)](!0x0),_0x4406aa);for(const _0x3f333c of _0x170829[_0x13b386(0x186)])if(_0x13b386(0xfe)===_0x3f333c[_0x13b386(0xd9)]){const _0x1c3311=_0x3f333c;_0x1c3311[_0x13b386(0x19c)]=null,_0x1c3311[_0x13b386(0x113)]=!0x1,this[_0x13b386(0x1a5)](_0x1c3311,_0x4406aa),_0x5bba03[_0x13b386(0x17a)][_0x13b386(0x1d2)](_0x3f333c),_0x418cb6[_0x13b386(0x13d)][_0x13b386(0x156)](_0x3f333c);const _0x362cee=_0x13b386(0xcb)+_0x51a77c++,_0x193f7c=_0x418cb6[_0x13b386(0x13d)][_0x13b386(0x1c2)](_0x1c3311[_0x13b386(0x131)],_0x1c3311[_0x13b386(0x131)][_0x13b386(0xe9)](_0x1c3311[_0x13b386(0x1b4)]));_0x4406aa[_0x13b386(0x129)][_0x13b386(0x150)](_0x362cee,_0x193f7c);}else{if(_0x13b386(0x19d)===_0x3f333c[_0x13b386(0xd9)]&&_0x3f333c[_0x13b386(0x1b0)][_0x13b386(0x118)](_0x13b386(0xf3))){const _0x2125c8=_0x3f333c,_0x37a8eb=_0x13b386(0x18c)+_0x51a77c++;this[_0x13b386(0x1a5)](_0x2125c8,_0x4406aa),_0x4406aa[_0x13b386(0x129)][_0x13b386(0x150)](_0x37a8eb,_0x2125c8[_0x13b386(0x136)]);}}if(_0x39b681)_0x4f6652[_0x13b386(0x170)]({..._0x170829,'context':this[_0x13b386(0x1b5)](_0x3b8b3e,_0x418cb6[_0x13b386(0x17d)]),'content':this[_0x13b386(0x1b5)](_0x3b8b3e,_0x418cb6[_0x13b386(0x17d)])});else{const _0x5c3e09=this[_0x13b386(0x18d)](this[_0x13b386(0x1c5)](this[_0x13b386(0xdf)](_0x170829[_0x13b386(0x186)][0x0]),_0x4406aa),this[_0x13b386(0x1c5)](this[_0x13b386(0x16e)](_0x170829[_0x13b386(0x186)][_0x170829[_0x13b386(0x186)][_0x13b386(0x1a0)]-0x1]),_0x4406aa));_0x4406aa[_0x13b386(0x129)][_0x13b386(0x150)](Lt+_0x13b386(0x12a),new _0xe11065(_0x5c3e09[_0x13b386(0x1a8)],_0x5c3e09[_0x13b386(0x1a1)])),_0x4f6652[_0x13b386(0x170)]({..._0x170829,'context':this[_0x13b386(0x174)](_0x4406aa,_0x418cb6[_0x13b386(0x17d)],{'ellipsisBefore':_0x5c3e09[_0x13b386(0xf8)],'ellipsisAfter':_0x5c3e09[_0x13b386(0x133)]}),'content':this[_0x13b386(0x1b5)](_0x4406aa,_0x418cb6[_0x13b386(0x17d)])});}}}),_0x4f6652;}[_0x19b180(0x116)](_0x426458,_0x5b9c94){const _0x10db1e=_0x19b180;if(!_0x426458[_0x10db1e(0x1a0)])return;const _0x41e77b=_0x426458[0x0][_0x10db1e(0x1c6)]['id'],_0x76fe46=_0x5b9c94[_0x10db1e(0x1bd)][_0x10db1e(0x13e)](_0x41e77b);if(!_0x76fe46)return void console[_0x10db1e(0x153)](_0x10db1e(0x14a)+_0x41e77b);const _0x28328a=_0x76fe46[_0x10db1e(0xd7)],_0x4a41db=_0x3099f4(this[_0x10db1e(0x1cf)]),_0x3aa7e1=_0x4a41db[_0x10db1e(0x13d)][_0x10db1e(0xe8)][_0x10db1e(0x1a3)][_0x10db1e(0xfb)](_0x5b9c94[_0x10db1e(0x11e)]),_0x23d825=[];for(const _0x308d30 of _0x426458){const _0x1e351d=_0x308d30[_0x10db1e(0x186)][_0x10db1e(0x1a4)](_0xdeac60=>this[_0x10db1e(0x1ab)](_0xdeac60,_0x28328a,_0x4a41db[_0x10db1e(0x13d)][_0x10db1e(0xe8)][_0x10db1e(0x108)]()[0x0]));if(!_0x1e351d||!_0x1e351d[_0x10db1e(0x1a0)])continue;const _0xeac013=_0x1e351d[_0x10db1e(0x11b)](_0x3c4445=>_0x10db1e(0x19d)===_0x3c4445[_0x10db1e(0xd9)]&&_0x3c4445[_0x10db1e(0x1b0)][_0x10db1e(0x118)](_0x10db1e(0xf3))),_0x8058f7={'document':_0x4a41db[_0x10db1e(0x13d)][_0x10db1e(0xe8)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x5c3dd4=_0x4ea486(_0x1e351d,_0x3aa7e1,_0x8058f7)[_0x10db1e(0xe4)];for(const _0xc01126 of _0x5c3dd4)if(_0x10db1e(0xfe)===_0xc01126[_0x10db1e(0xd9)]){const _0x13394a=_0xc01126,_0xd7ff61=_0x13394a[_0x10db1e(0xff)];_0x4a41db[_0x10db1e(0x13d)][_0x10db1e(0xfa)](_0x2799f1=>{const _0x503a94=_0x10db1e,_0xc21389=_0x2799f1[_0x503a94(0x16f)]();for(const _0x39bc81 of _0xd7ff61)_0x2799f1[_0x503a94(0x173)](_0x39bc81[_0x503a94(0xd6)](!0x0),_0xc21389);_0x23d825[_0x503a94(0x170)]({'start':_0x13394a[_0x503a94(0x131)],'end':_0x13394a[_0x503a94(0x131)],'type':_0x503a94(0xfe),'groupId':_0x308d30['id'],'content':{'asString':this[_0x503a94(0x1b5)](_0xc21389,_0x4a41db[_0x503a94(0x17d)])(),'asFragment':_0xc21389}});});}else{if(_0x10db1e(0x19d)===_0xc01126[_0x10db1e(0xd9)]&&_0xc01126[_0x10db1e(0x1b0)][_0x10db1e(0x118)](_0x10db1e(0xf3))){const _0x3f59cc=_0xc01126;let _0x40c09d=_0x10db1e(0x1aa);if(_0xeac013){const _0x553ce6=this[_0x10db1e(0x158)](_0x3f59cc[_0x10db1e(0x136)][_0x10db1e(0x1a8)],_0x10db1e(0x19a),_0x4a41db[_0x10db1e(0x13d)][_0x10db1e(0x11d)]),_0x11bc3=this[_0x10db1e(0x158)](_0x3f59cc[_0x10db1e(0x136)][_0x10db1e(0x1a1)],_0x10db1e(0x171),_0x4a41db[_0x10db1e(0x13d)][_0x10db1e(0x11d)]);if(_0x553ce6||_0x11bc3){const _0xb702ed=_0x3f59cc[_0x10db1e(0x136)][_0x10db1e(0x1a8)][_0x10db1e(0xe9)](-_0x553ce6),_0x5c3476=_0x3f59cc[_0x10db1e(0x136)][_0x10db1e(0x1a1)][_0x10db1e(0xe9)](_0x11bc3);_0x23d825[_0x10db1e(0x170)]({'start':_0xb702ed,'end':_0x5c3476,'groupId':_0x308d30['id'],'type':_0x10db1e(0xcd)});}else _0x40c09d=_0x10db1e(0x14b);}_0x23d825[_0x10db1e(0x170)]({'start':_0x3f59cc[_0x10db1e(0x136)][_0x10db1e(0x1a8)],'end':_0x3f59cc[_0x10db1e(0x136)][_0x10db1e(0x1a1)],'groupId':_0x308d30['id'],'type':_0x40c09d});}}}this[_0x10db1e(0x111)](_0x23d825);}[_0x19b180(0x1bc)](){const _0x109c94=_0x19b180,_0x53bbcf=_0x3099f4(this[_0x109c94(0x1cf)]);_0x53bbcf[_0x109c94(0x13d)][_0x109c94(0xfa)](_0x1b28e6=>{const _0x29b292=_0x109c94;for(const _0xfba671 of this[_0x29b292(0x14d)][_0x29b292(0xeb)]())_0x53bbcf[_0x29b292(0x13d)][_0x29b292(0x129)][_0x29b292(0x13e)](_0xfba671)&&_0x1b28e6[_0x29b292(0x128)](_0xfba671);}),this[_0x109c94(0x14d)][_0x109c94(0x1a6)](),this[_0x109c94(0x167)][_0x109c94(0x1a6)]();}[_0x19b180(0xf1)](){const _0x25b651=_0x19b180;_0x3099f4(this[_0x25b651(0x1cf)])[_0x25b651(0x10c)](_0x25b651(0x145));}[_0x19b180(0x139)](){const _0x5784e3=_0x19b180;_0x3099f4(this[_0x5784e3(0x1cf)])[_0x5784e3(0xf4)](_0x5784e3(0x145));}[_0x19b180(0x193)](_0x579233){const _0x5c2029=_0x19b180,_0xc3f334=_0x3099f4(this[_0x5c2029(0x1cf)]),_0x2e042f=_0xc3f334[_0x5c2029(0x13d)],_0x4a32d9=_0x579233[_0x5c2029(0x1a4)](_0x526a02=>this[_0x5c2029(0xdd)](_0x526a02))[_0x5c2029(0xce)]();_0x2e042f[_0x5c2029(0xfa)](_0x5333d5=>{const _0x3cd47d=_0x5c2029;for(const _0x477c4f of _0x4a32d9){const _0x2b4796=_0xc3f334[_0x3cd47d(0x13d)][_0x3cd47d(0x129)][_0x3cd47d(0x13e)](_0x477c4f['id']);if(_0x2b4796){if(_0x3cd47d(0xfe)===_0x477c4f[_0x3cd47d(0xd9)]){if(!_0x477c4f[_0x3cd47d(0x12c)])continue;_0x2e042f[_0x3cd47d(0x122)](_0x477c4f[_0x3cd47d(0x12c)][_0x3cd47d(0xd3)]||null,_0x2b4796[_0x3cd47d(0x179)]()[_0x3cd47d(0x1a8)]);}else _0x3cd47d(0x1aa)!==_0x477c4f[_0x3cd47d(0xd9)]&&_0x3cd47d(0x14b)!==_0x477c4f[_0x3cd47d(0xd9)]||_0x2e042f[_0x3cd47d(0x16d)](_0x2e042f[_0x3cd47d(0xf0)](_0x2b4796[_0x3cd47d(0x179)]()));_0x5333d5[_0x3cd47d(0x128)](_0x477c4f['id']),this[_0x3cd47d(0x14d)][_0x3cd47d(0x126)](_0x477c4f['id']);}}});}[_0x19b180(0x1d1)](_0x266c8f){const _0xc07802=_0x19b180,_0x1b68b0=_0x3099f4(this[_0xc07802(0x1cf)]),_0x545789=this[_0xc07802(0xdd)](_0x266c8f);_0x1b68b0[_0xc07802(0x13d)][_0xc07802(0xfa)](_0x6912a0=>{const _0x1c90a6=_0xc07802;for(const _0x558cd1 of _0x545789)_0x6912a0[_0x1c90a6(0x128)](_0x558cd1['id']),this[_0x1c90a6(0x14d)][_0x1c90a6(0x126)](_0x558cd1['id']);});}[_0x19b180(0x1ac)](){const _0x145916=_0x19b180;return _0x3099f4(this[_0x145916(0x1cf)]);}[_0x19b180(0x10a)](_0x3e86be){const _0x291a75=_0x19b180,_0x237c5c=Array[_0x291a75(0x1be)](this[_0x291a75(0x14d)][_0x291a75(0x124)]())[_0x291a75(0x105)](_0x25ca3b=>_0x25ca3b[_0x291a75(0x119)]===_0x3e86be);if(!_0x237c5c[_0x291a75(0x1a0)])return null;const _0x1e2af4=0x1===_0x237c5c[_0x291a75(0x1a0)]?_0x237c5c[0x0]:this[_0x291a75(0x1c0)](_0x237c5c)[0x0],_0x4ba946=_0x3099f4(this[_0x291a75(0x1cf)])[_0x291a75(0x13d)][_0x291a75(0x129)][_0x291a75(0x13e)](_0x1e2af4['id']);if(!_0x4ba946)return null;return{'modelRange':_0x4ba946[_0x291a75(0x179)](),'getElement':()=>this[_0x291a75(0x168)](_0x1e2af4['id'])};}[_0x19b180(0x143)](_0x5f1a48){const _0x37137f=_0x19b180,_0x2d758a=Array[_0x37137f(0x1be)](this[_0x37137f(0x14d)][_0x37137f(0x124)]())[_0x37137f(0x105)](_0x3cfe18=>_0x3cfe18[_0x37137f(0x119)]===_0x5f1a48);if(!_0x2d758a[_0x37137f(0x1a0)])return null;const _0x38209b=0x1===_0x2d758a[_0x37137f(0x1a0)]?_0x2d758a[0x0]:this[_0x37137f(0x1c0)](_0x2d758a)[0x0],_0x501917=_0x3099f4(this[_0x37137f(0x1cf)]),_0x6a31f6=_0x501917[_0x37137f(0x13d)][_0x37137f(0x129)][_0x37137f(0x13e)](_0x38209b['id']);if(!_0x6a31f6)return null;const _0x1de376=_0x6a31f6[_0x37137f(0x179)](),_0x51a1ba=_0x501917[_0x37137f(0x138)][_0x37137f(0x178)][_0x37137f(0x104)]();if(!_0x51a1ba||!_0x1de376)return null;let _0x4d48ca=_0x1de376[_0x37137f(0x1a8)][_0x37137f(0x1c6)];for(;_0x4d48ca[_0x37137f(0x1c6)]&&_0x37137f(0x199)!==_0x4d48ca[_0x37137f(0x1c6)][_0x37137f(0x1b0)];)_0x4d48ca=_0x4d48ca[_0x37137f(0x1c6)];if(!_0x4d48ca||!_0x4d48ca[_0x37137f(0x1b0)])return null;const _0x16de96=_0x51a1ba[_0x37137f(0x188)](_0x37137f(0x1c1)+_0x38209b['id']+'\x22]');if(!_0x16de96)return null;let _0x5cd13e=null;_0x501917[_0x37137f(0x13d)][_0x37137f(0xfa)](_0x6a8995=>{const _0x1a27b0=_0x37137f;_0x5cd13e=_0x6a8995[_0x1a27b0(0x16f)](),_0x6a8995[_0x1a27b0(0x173)](_0x4d48ca[_0x1a27b0(0xd6)](!0x0),_0x5cd13e);});const _0x52201d=_0x501917[_0x37137f(0x17d)][_0x37137f(0x15f)](_0x5cd13e)[_0x37137f(0xe3)](0x0);return _0x16de96[_0x37137f(0x175)](_0x52201d[_0x37137f(0x1b0)]);}[_0x19b180(0x1b3)](_0x48649d){const _0x1eb4b5=_0x19b180,_0x5f3518=this[_0x1eb4b5(0xdd)](_0x48649d);if(!_0x5f3518[_0x1eb4b5(0x1a0)])return;const _0x5a3f36=Array[_0x1eb4b5(0x1be)](this[_0x1eb4b5(0x167)])[_0x1eb4b5(0x1a9)](),_0x1238dc=Array[_0x1eb4b5(0x1be)](new Set(_0x5f3518[_0x1eb4b5(0x1a4)](_0x445db5=>_0x445db5['id'])))[_0x1eb4b5(0x1a9)]();_0x5a3f36[_0x1eb4b5(0x1b1)]('|')!==_0x1238dc[_0x1eb4b5(0x1b1)]('|')&&(this[_0x1eb4b5(0x177)](),this[_0x1eb4b5(0x149)](_0x48649d));}[_0x19b180(0x149)](_0x5baaf0){const _0x2ff1a3=_0x19b180,_0x3b0d28=this[_0x2ff1a3(0xdd)](_0x5baaf0);if(!_0x3b0d28[_0x2ff1a3(0x1a0)])return;const _0x5da6b0=_0x3099f4(this[_0x2ff1a3(0x1cf)]),_0x3c472a=new Set(_0x3b0d28[_0x2ff1a3(0x1a4)](_0x2e299d=>_0x2e299d['id'])),_0x9d6ee8=Array[_0x2ff1a3(0x1be)](_0x3c472a[_0x2ff1a3(0x124)]())[_0x2ff1a3(0x1a4)](_0x2cbaee=>_0x5da6b0[_0x2ff1a3(0x13d)][_0x2ff1a3(0x129)][_0x2ff1a3(0x13e)](_0x2cbaee))[_0x2ff1a3(0x105)](_0x56d87f=>!!_0x56d87f);_0x3c472a[_0x2ff1a3(0x192)](_0x2c458a=>{const _0x1efa1d=_0x2ff1a3;this[_0x1efa1d(0x167)][_0x1efa1d(0x19e)](_0x2c458a);}),_0x5da6b0[_0x2ff1a3(0x13d)][_0x2ff1a3(0xfa)](()=>{const _0x51775f=_0x2ff1a3;_0x9d6ee8[_0x51775f(0x192)](_0xc26cf=>{const _0x414d78=_0x51775f;_0x5da6b0[_0x414d78(0x138)][_0x414d78(0xf2)](_0xc26cf);});});}[_0x19b180(0x177)](){const _0x5b2362=_0x19b180,_0x3bfe95=Array[_0x5b2362(0x1be)](this[_0x5b2362(0x167)]);if(!_0x3bfe95[_0x5b2362(0x1a0)])return;this[_0x5b2362(0x167)][_0x5b2362(0x1a6)]();const _0x11acc3=_0x3099f4(this[_0x5b2362(0x1cf)]),_0x25dac8=_0x3bfe95[_0x5b2362(0x1a4)](_0x1795f9=>_0x11acc3[_0x5b2362(0x13d)][_0x5b2362(0x129)][_0x5b2362(0x13e)](_0x1795f9))[_0x5b2362(0x105)](_0x5cdf2a=>!!_0x5cdf2a);_0x11acc3[_0x5b2362(0x13d)][_0x5b2362(0xfa)](()=>{const _0x5c69b0=_0x5b2362;_0x25dac8[_0x5c69b0(0x192)](_0x1e7540=>{const _0x14212c=_0x5c69b0;_0x11acc3[_0x14212c(0x138)][_0x14212c(0xf2)](_0x1e7540);});});}[_0x19b180(0xc9)](_0x120938,_0x365411,_0x2cce90=_0x19b180(0x172)){const _0x170080=_0x19b180;if(!_0x120938)return null;let _0x5618e6=_0x120938[_0x170080(0x1c6)];for(;_0x5618e6&&_0x5618e6[_0x170080(0x1c6)]&&_0x170080(0x199)!==_0x5618e6[_0x170080(0x1c6)][_0x170080(0x1b0)]&&!_0x365411[_0x170080(0x13d)][_0x170080(0x11d)][_0x170080(0xf7)](_0x5618e6)&&!_0x365411[_0x170080(0x13d)][_0x170080(0x11d)][_0x170080(0x155)](_0x5618e6);)_0x5618e6=_0x5618e6[_0x170080(0x1c6)];if(!_0x5618e6||!_0x5618e6[_0x170080(0x1b0)]||_0x170080(0x199)===_0x5618e6[_0x170080(0x1b0)])return null;let _0x19f4e8=null;return _0x365411[_0x170080(0x13d)][_0x170080(0xfa)](_0x1dc43b=>{const _0x12646b=_0x170080;_0x19f4e8=_0x12646b(0xea)===_0x2cce90?_0x1dc43b[_0x12646b(0xd1)](_0x5618e6):_0x1dc43b[_0x12646b(0x132)](_0x5618e6);}),_0x19f4e8;}[_0x19b180(0x164)](_0x151975,_0x53947e){const _0x5446cd=_0x19b180,_0x160dc0=Array[_0x5446cd(0x1be)](this[_0x5446cd(0x14d)][_0x5446cd(0xeb)]()),_0x2d1bec=new Map();for(const _0x4795f5 of _0x160dc0){const _0x552811=_0x151975[_0x5446cd(0x13d)][_0x5446cd(0x129)][_0x5446cd(0x13e)](_0x4795f5);if(!_0x552811)continue;const _0x1c4cae=_0x552811[_0x5446cd(0x1a7)]()[_0x5446cd(0xd7)][0x0];_0x2d1bec[_0x5446cd(0x1c4)](_0x1c4cae)||_0x2d1bec[_0x5446cd(0x150)](_0x1c4cae,[]),_0x2d1bec[_0x5446cd(0x13e)](_0x1c4cae)[_0x5446cd(0x170)](_0x552811);}const _0x469eba=new Set();for(const _0x501312 of _0x151975[_0x5446cd(0x13d)][_0x5446cd(0xe8)][_0x5446cd(0x140)][_0x5446cd(0x1b6)]()){let _0x3f8411=-0x1,_0x4daa5f=null;if(_0x5446cd(0xfe)===_0x501312[_0x5446cd(0xd9)])_0x4daa5f=new _0xe11065(_0x501312[_0x5446cd(0x131)],_0x501312[_0x5446cd(0x131)][_0x5446cd(0xe9)](_0x501312[_0x5446cd(0x1a0)])),_0x3f8411=_0x501312[_0x5446cd(0x131)][_0x5446cd(0xd7)][0x0];else{if(_0x5446cd(0x157)!==_0x501312[_0x5446cd(0xd9)])continue;_0x4daa5f=new _0xe11065(_0x501312[_0x5446cd(0x131)]),_0x3f8411=_0x501312[_0x5446cd(0x131)][_0x5446cd(0xd7)][0x0];}const _0x212ee4=_0x2d1bec[_0x5446cd(0x13e)](_0x3f8411)||[];if(_0x212ee4[_0x5446cd(0x1a0)]){for(const _0x19dba8 of _0x212ee4)if(_0x4daa5f[_0x5446cd(0x120)][_0x5446cd(0xde)]===_0x19dba8[_0x5446cd(0x179)]()[_0x5446cd(0x120)][_0x5446cd(0xde)]&&(_0x5446cd(0xfe)!==_0x501312[_0x5446cd(0xd9)]||!_0x4daa5f[_0x5446cd(0x12e)](_0x19dba8[_0x5446cd(0x179)]()))&&(_0x4daa5f[_0x5446cd(0x166)](_0x19dba8[_0x5446cd(0x179)]())||_0x4daa5f[_0x5446cd(0x1a8)][_0x5446cd(0x1ca)](_0x19dba8[_0x5446cd(0x179)]()[_0x5446cd(0x1a1)])||_0x4daa5f[_0x5446cd(0x1a1)][_0x5446cd(0x1ca)](_0x19dba8[_0x5446cd(0x179)]()[_0x5446cd(0x1a8)]))){const _0x5e324d=this[_0x5446cd(0xdb)](_0x19dba8[_0x5446cd(0x1b0)]);Array[_0x5446cd(0x1be)](this[_0x5446cd(0x14d)][_0x5446cd(0x124)]())[_0x5446cd(0x105)](_0x494db3=>_0x494db3[_0x5446cd(0x119)]===_0x5e324d[_0x5446cd(0x119)])[_0x5446cd(0x192)](_0x4e0756=>_0x469eba[_0x5446cd(0x19e)](_0x4e0756['id']));}}}if(_0x469eba[_0x5446cd(0x18e)]){for(const _0x220372 of _0x469eba)_0x53947e[_0x5446cd(0x128)](_0x220372);return!0x0;}return!0x1;}[_0x19b180(0x16a)](_0x1d42db){const _0x3948d0=_0x19b180;for(const {name:_0x18fd4c,data:_0x22e3ac}of _0x1d42db[_0x3948d0(0x13d)][_0x3948d0(0xe8)][_0x3948d0(0x140)][_0x3948d0(0xe5)]()){if(!_0x18fd4c[_0x3948d0(0x118)](Lt))continue;const _0x1b0dd8=_0x22e3ac[_0x3948d0(0x137)],_0x5cc23d=_0x22e3ac[_0x3948d0(0x136)],_0x2776f4=_0x1b0dd8&&_0x3948d0(0x187)===_0x1b0dd8[_0x3948d0(0x120)][_0x3948d0(0xde)],_0x3688d7=_0x5cc23d&&_0x3948d0(0x187)===_0x5cc23d[_0x3948d0(0x120)][_0x3948d0(0xde)];if(_0x2776f4&&_0x3688d7)continue;const _0x28d461=this[_0x3948d0(0xdb)](_0x18fd4c);this[_0x3948d0(0x14d)][_0x3948d0(0x13e)](_0x18fd4c)&&(_0x3688d7||!_0x5cc23d?this[_0x3948d0(0x1ba)][_0x3948d0(0x169)](_0x3948d0(0x10b),{'markerId':_0x18fd4c,'changeId':_0x28d461[_0x3948d0(0x119)]}):_0x2776f4&&_0x5cc23d&&this[_0x3948d0(0x1ba)][_0x3948d0(0x169)](_0x3948d0(0x13a),{'markerId':_0x18fd4c,'changeId':_0x28d461[_0x3948d0(0x119)]}));}}[_0x19b180(0xdb)](_0x25fe15){const _0x1d7060=_0x19b180,_0x4006e2=_0x25fe15[_0x1d7060(0x161)](':'),_0x46a392=(_0x4006e2[0x1]||'')[_0x1d7060(0x161)]('_');return{'prefix':_0x4006e2[0x0],'groupId':_0x46a392[0x0],'suffix':_0x46a392[0x1]};}[_0x19b180(0x1ab)](_0x42fb20,_0x5607b7,_0xbe74f0){const _0x13f1bf=_0x19b180;if(_0x13f1bf(0xfe)===_0x42fb20[_0x13f1bf(0xd9)]){const _0x17e486=_0x42fb20;return new _0x368f3b(this[_0x13f1bf(0xe7)](_0x5607b7[_0x13f1bf(0x17c)](_0x17e486[_0x13f1bf(0x131)][_0x13f1bf(0x181)]),_0xbe74f0),_0x17e486[_0x13f1bf(0xff)],_0x17e486[_0x13f1bf(0x19c)]);}if(_0x13f1bf(0x19d)===_0x42fb20[_0x13f1bf(0xd9)]&&_0x42fb20[_0x13f1bf(0x1b0)][_0x13f1bf(0x118)](_0x13f1bf(0xf3))){const _0x14a0af=_0x42fb20;return new _0x476d1e(_0x14a0af[_0x13f1bf(0x1b0)],_0x14a0af[_0x13f1bf(0x137)],this[_0x13f1bf(0x1b2)](_0x14a0af[_0x13f1bf(0x136)],_0x5607b7[_0x13f1bf(0x17c)](_0x14a0af[_0x13f1bf(0x136)][_0x13f1bf(0x1a8)][_0x13f1bf(0x181)]),_0x5607b7[_0x13f1bf(0x17c)](_0x14a0af[_0x13f1bf(0x136)][_0x13f1bf(0x1a1)][_0x13f1bf(0x181)]),_0xbe74f0),_0x14a0af[_0x13f1bf(0x14d)],_0x14a0af[_0x13f1bf(0x194)],_0x14a0af[_0x13f1bf(0x19c)]);}return _0x42fb20;}[_0x19b180(0x117)](_0xc1abd1){const _0x50588e=_0x19b180;if(!_0xc1abd1[_0x50588e(0x1a0)])return[];const _0x2a7865=[];let _0xe24c40=0x0,_0x3ebaac=0x0,_0x2c8a3c=[];for(let _0x489b7f=0x0;_0x489b7f<=_0xc1abd1[_0x50588e(0x1a0)];_0x489b7f++){const _0x2587da=_0xc1abd1[_0x489b7f],_0x5f023a=_0xc1abd1[_0x489b7f-0x1];!_0x2587da||_0x5f023a&&!this[_0x50588e(0x16e)](_0x5f023a)[_0x50588e(0x1ca)](this[_0x50588e(0xdf)](_0x2587da))?(_0x2a7865[_0x50588e(0x170)]({'operations':_0x2c8a3c,'operationsIsolated':_0x2c8a3c[_0x50588e(0x1a4)](_0x3aa7d8=>this[_0x50588e(0x183)](_0x3aa7d8[_0x50588e(0x18a)](),-_0x3ebaac)),'groupOffset':_0xe24c40}),_0x2c8a3c=_0x2587da?[_0x2587da]:[],_0x3ebaac+=_0xe24c40,_0xe24c40=0x0):_0x2c8a3c[_0x50588e(0x170)](_0x2587da),_0x2587da&&_0x50588e(0xfe)===_0x2587da[_0x50588e(0xd9)]&&(_0xe24c40+=_0x2587da[_0x50588e(0x1b4)]);}return _0x2a7865;}[_0x19b180(0x158)](_0x34c994,_0x4738eb,_0x17849f,_0x31b5a8=0x1){const _0x1ff7bb=_0x19b180,_0x73aaf9=new _0x4e1fa9({'startPosition':_0x34c994,'direction':_0x4738eb});let _0x16a015=0x0;for(let _0x4eae5a=0x0;_0x4eae5a<_0x31b5a8;_0x4eae5a++){let _0x1baa9b=0x0,_0x4a22a3=!0x1,_0x31db2b=_0x1ff7bb(0x171)===_0x4738eb?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x143005}of _0x73aaf9)if(_0x143005['is'](_0x1ff7bb(0xee))){const _0x1b49ca=_0x31db2b[_0x1ff7bb(0x1c9)](_0x143005[_0x1ff7bb(0x17d)]);if(_0x1b49ca&&_0x1b49ca[_0x1ff7bb(0x1a0)]){if(_0x1baa9b+=_0x1ff7bb(0x171)===_0x4738eb?_0x1b49ca[_0x1ff7bb(0x180)]+_0x1b49ca[0x0][_0x1ff7bb(0x1a0)]:_0x143005[_0x1ff7bb(0x17d)][_0x1ff7bb(0x1a0)]-_0x1b49ca[_0x1ff7bb(0x180)],_0x1b49ca[0x0][_0x1ff7bb(0x1a0)]!==_0x143005[_0x1ff7bb(0x17d)][_0x1ff7bb(0x1a0)])break;_0x4a22a3=!0x0,_0x31db2b=_0x1ff7bb(0x171)===_0x4738eb?/^\w+/:/\w+$/;}else{if(_0x4a22a3)break;_0x1baa9b+=_0x143005[_0x1ff7bb(0x1cb)];}}else{if(_0x143005['is'](_0x1ff7bb(0x198))){_0x17849f[_0x1ff7bb(0x130)](_0x143005)&&!_0x4a22a3&&(_0x1baa9b+=0x1);break;}}_0x16a015+=_0x1baa9b,_0x73aaf9[_0x1ff7bb(0xf6)](_0x34c994[_0x1ff7bb(0xe9)](_0x1ff7bb(0x171)===_0x4738eb?_0x16a015:-_0x16a015));}return _0x16a015;}[_0x19b180(0x18d)](_0x1fa8e5,_0x564bca){const _0x4de035=_0x19b180,_0x2b097c=_0x3099f4(this[_0x4de035(0x1cf)])[_0x4de035(0x13d)][_0x4de035(0x11d)],_0x3a6f05=this[_0x4de035(0x158)](_0x1fa8e5,_0x4de035(0x19a),_0x2b097c,0x6),_0x126085=this[_0x4de035(0x158)](_0x564bca,_0x4de035(0x171),_0x2b097c,0x6),_0x356e59=_0x1fa8e5[_0x4de035(0xe9)](-_0x3a6f05),_0x3d0b30=_0x564bca[_0x4de035(0xe9)](_0x126085);return{'start':_0x356e59,'end':_0x3d0b30,'hasContentBefore':!_0x356e59[_0x4de035(0x14c)],'hasContentAfter':!_0x3d0b30[_0x4de035(0x15b)]};}[_0x19b180(0x111)](_0x121463){const _0xab99c9=_0x19b180,_0x33afe4=this[_0xab99c9(0x1cf)][_0xab99c9(0x13b)][_0xab99c9(0x13e)](_0xab99c9(0x17f)),_0x134782=new Set();_0x3099f4(this[_0xab99c9(0x1cf)])[_0xab99c9(0x13d)][_0xab99c9(0xfa)](_0x38163d=>{const _0x599e8f=_0xab99c9;for(const _0x35dac0 of _0x121463){const _0x3ead35=''+Lt+_0x35dac0[_0x599e8f(0xd9)]+':'+_0x35dac0[_0x599e8f(0x119)]+'_'+_0x33afe4[_0x599e8f(0x182)](_0x134782);this[_0x599e8f(0x14d)][_0x599e8f(0x150)](_0x3ead35,{'id':_0x3ead35,'groupId':_0x35dac0[_0x599e8f(0x119)],'type':_0x35dac0[_0x599e8f(0xd9)],'content':_0x35dac0[_0x599e8f(0x12c)]}),_0x38163d[_0x599e8f(0x17b)](_0x3ead35,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x38163d[_0x599e8f(0x1c2)](_0x35dac0[_0x599e8f(0x1a8)],_0x35dac0[_0x599e8f(0x1a1)])});}});}[_0x19b180(0x174)](_0x268c3a,_0x343bcf,_0x2beed0){let _0x5f586e='';return()=>{const _0xf3f808=_0x80bc;if(!_0x5f586e){const _0x3bf27f=_0x343bcf[_0xf3f808(0x15f)](_0x268c3a,{'showSuggestionHighlights':!0x0});let _0x437615=_0x3bf27f[_0xf3f808(0xe3)](0x0);if(_0x437615['is'](_0xf3f808(0xf9))||(_0x437615=_0x3bf27f),!_0x437615)return'';let _0x3419af=!0x1;const _0x8201f4=[];for(const _0x5c65db of _0x437615[_0xf3f808(0x102)]())_0x5c65db['is'](_0xf3f808(0x198),_0xf3f808(0x123))&&_0x5c65db[_0xf3f808(0x10d)](_0xf3f808(0x15a))&&(_0x3419af=!0x1),_0x3419af&&_0x8201f4[_0xf3f808(0x170)](_0x5c65db),_0x5c65db['is'](_0xf3f808(0x198),_0xf3f808(0x123))&&_0x5c65db[_0xf3f808(0x10d)](_0xf3f808(0x101))&&(_0x3419af=!0x0);_0x437615[_0xf3f808(0x11f)](0x0,_0x437615[_0xf3f808(0x1b9)]),_0x2beed0?.[_0xf3f808(0x1c7)]&&_0x437615[_0xf3f808(0x127)]('…'),_0x437615[_0xf3f808(0x127)](_0x8201f4),_0x2beed0?.[_0xf3f808(0x146)]&&_0x437615[_0xf3f808(0x127)]('…');const _0x353539=_0x343bcf[_0xf3f808(0x185)][_0xf3f808(0xed)][_0xf3f808(0x1d4)](_0x3bf27f),_0x151285=_0x343bcf[_0xf3f808(0x185)][_0xf3f808(0x1c3)][_0xf3f808(0x162)](_0x353539);_0x5f586e=_0x151285;}return _0x5f586e;};}[_0x19b180(0x1b5)](_0x308ed9,_0x217751){const _0x4cfade=_0x19b180;let _0x2e65ae='';return()=>(_0x2e65ae||(_0x2e65ae=_0x217751[_0x4cfade(0x152)](_0x308ed9,{'showSuggestionHighlights':!0x0})),_0x2e65ae);}[_0x19b180(0x13c)](_0x5b1edc,_0x50c9b6,_0x1a9f03){let _0x507b1e='';return()=>{const _0x84b8ce=_0x80bc;if(!_0x507b1e){const _0x1c2338=_0x1a9f03[_0x84b8ce(0x15f)](new _0x43ae55(_0x5b1edc)),_0x3bcbcc=_0x1a9f03[_0x84b8ce(0x185)][_0x84b8ce(0xed)][_0x84b8ce(0x1d4)](_0x1c2338)[_0x84b8ce(0x188)](_0x84b8ce(0x10f)+_0x50c9b6+'\x22]');_0x507b1e=_0x3bcbcc?.[_0x84b8ce(0xcc)]||'';}return _0x507b1e;};}[_0x19b180(0x110)](_0x57d19b,_0x24edfe=0x5){const _0x1fa49d=_0x19b180;let _0x59cf10=_0x57d19b,_0x499a64=null;for(let _0x18fdbb=0x0;_0x18fdbb<_0x24edfe&&_0x59cf10;_0x18fdbb++){if(!_0x59cf10[_0x1fa49d(0x142)]){_0x59cf10=_0x59cf10[_0x1fa49d(0xe1)];continue;}if(!(''+_0x59cf10[_0x1fa49d(0x142)])[_0x1fa49d(0x107)](_0x1fa49d(0xef))){_0x59cf10=_0x59cf10[_0x1fa49d(0xe1)];continue;}if(!_0x59cf10[_0x1fa49d(0x11c)](_0x1fa49d(0x19b)))break;_0x499a64=_0x59cf10;break;}return _0x499a64;}[_0x19b180(0x168)](_0x39c668){const _0x478da3=_0x19b180,_0x7d9caf=_0x3099f4(this[_0x478da3(0x1cf)]),_0x341c7d=_0x7d9caf[_0x478da3(0x13d)][_0x478da3(0x129)][_0x478da3(0x13e)](_0x39c668);return _0x341c7d?_0x12aaf9(_0x7d9caf[_0x478da3(0x138)],_0x341c7d):null;}[_0x19b180(0xdd)](_0x597b81){const _0x5493c7=_0x19b180;return Array[_0x5493c7(0x1be)](this[_0x5493c7(0x14d)][_0x5493c7(0x124)]())[_0x5493c7(0x105)](_0x153bd4=>_0x153bd4[_0x5493c7(0x119)]===_0x597b81);}[_0x19b180(0xdf)](_0x5dc2bd){const _0x26d416=_0x19b180;return _0x26d416(0xfe)===_0x5dc2bd[_0x26d416(0xd9)]?_0x5dc2bd[_0x26d416(0x131)]:_0x5dc2bd[_0x26d416(0x136)][_0x26d416(0x1a8)];}[_0x19b180(0x16e)](_0x4e1c7a,_0x2f270b=!0x1){const _0x559a10=_0x19b180;return _0x559a10(0xfe)===_0x4e1c7a[_0x559a10(0xd9)]?_0x2f270b?_0x4e1c7a[_0x559a10(0x131)]:_0x4e1c7a[_0x559a10(0x131)][_0x559a10(0xe9)](_0x4e1c7a[_0x559a10(0x1b4)]):_0x4e1c7a[_0x559a10(0x136)][_0x559a10(0x1a1)];}[_0x19b180(0x183)](_0x43d00f,_0x26e895){const _0x4ebec9=_0x19b180;return _0x4ebec9(0xfe)===_0x43d00f[_0x4ebec9(0xd9)]?_0x43d00f[_0x4ebec9(0x131)]=_0x43d00f[_0x4ebec9(0x131)][_0x4ebec9(0xe9)](_0x26e895):_0x4ebec9(0x19d)===_0x43d00f[_0x4ebec9(0xd9)]&&_0x43d00f[_0x4ebec9(0x136)]&&(_0x43d00f[_0x4ebec9(0x136)]=new _0xe11065(_0x43d00f[_0x4ebec9(0x136)][_0x4ebec9(0x1a8)][_0x4ebec9(0xe9)](_0x26e895),_0x43d00f[_0x4ebec9(0x136)][_0x4ebec9(0x1a1)][_0x4ebec9(0xe9)](_0x26e895))),_0x43d00f;}[_0x19b180(0x1a5)](_0x49593a,_0x461e0c){const _0x283243=_0x19b180;_0x283243(0xfe)===_0x49593a[_0x283243(0xd9)]?_0x49593a[_0x283243(0x131)]=this[_0x283243(0x1c5)](_0x49593a[_0x283243(0x131)],_0x461e0c):_0x283243(0x19d)===_0x49593a[_0x283243(0xd9)]&&_0x49593a[_0x283243(0x136)]&&(_0x49593a[_0x283243(0x136)]=this[_0x283243(0x191)](_0x49593a[_0x283243(0x136)],_0x461e0c));}[_0x19b180(0x1c5)](_0x1af4ac,_0x1e174b){const _0x35c48f=_0x19b180;return new _0x378a27(_0x1e174b,_0x1af4ac[_0x35c48f(0xd7)]);}[_0x19b180(0x191)](_0x29779c,_0x769b59){const _0x19a53d=_0x19b180;return new _0xe11065(this[_0x19a53d(0x1c5)](_0x29779c[_0x19a53d(0x1a8)],_0x769b59),this[_0x19a53d(0x1c5)](_0x29779c[_0x19a53d(0x1a1)],_0x769b59));}[_0x19b180(0xe7)](_0x4a4dec,_0x21203c){return new _0x378a27(_0x21203c,[..._0x4a4dec]);}[_0x19b180(0x1b2)](_0x4a884f,_0x5aa149,_0x51bd9b,_0x3c6700){const _0x458028=_0x19b180;return new _0xe11065(this[_0x458028(0xe7)](_0x5aa149,_0x3c6700),this[_0x458028(0xe7)](_0x51bd9b,_0x3c6700));}[_0x19b180(0x1c0)](_0x3aa3aa){const _0x47ea8d=_0x19b180,_0x1ffa37=_0x5843fe=>{const _0x12a5c6=_0x80bc;switch(_0x5843fe){case _0x12a5c6(0xfe):return 0x0;case _0x12a5c6(0xcd):return 0x1;case _0x12a5c6(0x14b):return 0x2;case _0x12a5c6(0x1aa):return 0x3;}};return _0x3aa3aa[_0x47ea8d(0x1a9)]((_0xfb569e,_0x35b22e)=>_0x1ffa37(_0xfb569e[_0x47ea8d(0xd9)])-_0x1ffa37(_0x35b22e[_0x47ea8d(0xd9)]));}[_0x19b180(0x11a)](_0x4bf10b,_0x5929e3){const _0x130be9=_0x19b180,_0x78eeee=_0x4bf10b[_0x130be9(0xe3)](0x0),_0x540909=_0x5929e3[_0x130be9(0xe3)](0x0);return!(!_0x78eeee||!_0x540909)&&((!_0x78eeee['is'](_0x130be9(0x198))||!_0x540909['is'](_0x130be9(0x198))||_0x78eeee[_0x130be9(0x1b0)]===_0x540909[_0x130be9(0x1b0)])&&!(_0x78eeee['is'](_0x130be9(0x198))&&!_0x540909['is'](_0x130be9(0x198))||!_0x78eeee['is'](_0x130be9(0x198))&&_0x540909['is'](_0x130be9(0x198))));}[_0x19b180(0xe0)](_0x4b2298){const _0x5985a9=_0x19b180;return 0x1===_0x4b2298[_0x5985a9(0x1b9)];}[_0x19b180(0x14f)](_0x57c409,_0x3f031a){const _0x61d90e=_0x19b180;for(const _0x5ee8c0 of _0x57c409[_0x61d90e(0x102)]())if(_0x5ee8c0['is'](_0x61d90e(0x198))&&!_0x3f031a[_0x61d90e(0x130)](_0x5ee8c0))return!0x1;return!0x0;}[_0x19b180(0x148)](_0x406604,_0x1efe96){const _0x9f85e2=_0x19b180;let _0x745d95=_0x406604[_0x9f85e2(0x11c)](_0x1c0dfb);return _0x745d95||(_0x745d95=_0x1efe96(),_0x406604[_0x9f85e2(0xca)](_0x1c0dfb,_0x745d95)),_0x745d95;}}
|
|
23
|
+
function _0x2191(_0x166c7f,_0x21fd99){const _0x55435a=_0x5543();return _0x2191=function(_0x2191e5,_0x59c221){_0x2191e5=_0x2191e5-0x6d;let _0x4a6b0c=_0x55435a[_0x2191e5];return _0x4a6b0c;},_0x2191(_0x166c7f,_0x21fd99);}const _0x187ff7=_0x2191;(function(_0x1cb38a,_0x4879d1){const _0x7bb079=_0x2191,_0x2651c0=_0x1cb38a();while(!![]){try{const _0x16ae15=-parseInt(_0x7bb079(0xac))/0x1*(parseInt(_0x7bb079(0x151))/0x2)+parseInt(_0x7bb079(0xec))/0x3+-parseInt(_0x7bb079(0xf4))/0x4*(-parseInt(_0x7bb079(0x80))/0x5)+-parseInt(_0x7bb079(0x12b))/0x6*(-parseInt(_0x7bb079(0x9c))/0x7)+parseInt(_0x7bb079(0x178))/0x8+-parseInt(_0x7bb079(0x8c))/0x9*(-parseInt(_0x7bb079(0xe3))/0xa)+-parseInt(_0x7bb079(0x129))/0xb;if(_0x16ae15===_0x4879d1)break;else _0x2651c0['push'](_0x2651c0['shift']());}catch(_0x30ec4d){_0x2651c0['push'](_0x2651c0['shift']());}}}(_0x5543,0x6f29e));import{InsertOperation as _0x9fcd9f,MarkerOperation as _0x5a464a,ModelDocumentFragment as _0x1933a4,ModelPosition as _0x568b74,ModelRange as _0x319c20,ModelTreeWalker as _0x1fcd91,transformOperationSets as _0x531351}from'ckeditor5/src/engine.js';function _0x5543(){const _0x5aed65=['getDomRoot','context','getDocumentData','schema','5580197IFtkJD','offsetSize','highest','flat','document','index','ck-ai_review-marker_context-start','createUIElement','get','isBlock','disableReadOnlyMode','_createGetContentUsingDataIdFn','markerToElement','hasContentAfter','domConverter','documentFragment','849092AGqYjL','data-marker-id','requires','_getMarkersDataForGroup','No\x20element\x20found\x20for\x20ID:\x20','hasClass','filter','includes','createRangeOn','editingDowncast','_groupAdjacentOperations','_getPositionLimitingRange','_changePositionOwnerDocument','batch','target','createSelection','isInline','reconvertMarker','getEditableElement','_sortMarkers','operations','changeMarkerRemoved','containsRange','clearAllMarkers','insertContent','getEditor','changeMarkerBlurred','body','parentElement','editing','inside','every','_getOperationStart','_removeAttribute','delete','isAtStart','getChangedMarkers','emitter','createRange','backward','toDomElement','_findMarkerElementById','$markedRemove:synthetic','$documentFragment','operationsA','attributeToAttribute','toData','append','keys','dataDowncast','_nextDataId','split','_findMarkerElement','_validateMarkers','_setAttribute','1030CLibdu','changeMarkerHovered','htmlProcessor','changeMarkerClicked','ellipsisAfter','values','$graveyard','_createGetContextFn','getShiftedBy','547560lShnje','oldRange','review-','has','_shiftOperation','operationsIsolated','_createGetContentFn','isTouching','28wUGpIM','version','outerHTML','getHtml','for','size','span','map','element','deleteContent','_appendChild','plugins','join','remove-context','root','asFragment','addOperation','childCount','getRoots','createDocumentFragment','applyChange','outside','remove-only','$textProxy','_clone','_changeRange','getStart','createRawElement','viewToDom','jumpTo','setAllMarkersAsInactive','AIEditing','_changeRangeOwnerDocument','getContentElementForChange','markerName','remove','setMarkersInElementAsActive','relatedTarget','markChangePositionInEditorContent','ck-ai_review-marker_add','ck-ai_review-marker_context-','_upsertDataId','push','ck-ai_review__change_active','_findAdjacentContextDistance','name','start','data','reactivateMarkers','\x20ck-ai_review__change_active','affectsData','processor','_changeOperationOwnerDocument','11570471owSbaO','isOpening','6LUSeiX','ellipsisBefore','getOperations','removeMarker','enableReadOnlyMode','isAtEnd','[data-marker-id=\x22','isDocumentOperation','className','forEach','set','concat','type','nodes','suggestion:deletion:id:authorId:','switchToEdit','_haveSingleTopLevelElement','getChanges','length','history','asString','isIntersecting','groupId','getPath','hasContentBefore','conversion','howMany','isOfficialPlugin','DocumentCompare','getChildren','isPremiumPlugin','getAttribute','fire','getMarkerElementForChange','exec','_getOperationEnd','view','startsWith','2vLdUwo','end','_insertMarkers','containerElement','parse','from','warn','registerPostFixer','elements','createPositionAfter','newRange','parent','_translateOperationToEditorContent','rootName','htmlWriter','forward','mouseover','_getChangeContext','path','getRoot','markerToHighlight','innerHTML','sort','isLimit','baseVersion','getDiff','closest','_handleMarkerChanges','insert','$root','position','change','remove-text','_changePosition','getChild','addMarker','stringify','getRange','_domEmitter','5043000AuqVQw','ai-review','toView','applyOperation','$markedRemove','suggestion:insertion:id:authorId:','differ','content','switchToReadOnly','AIReviewCoreEditing','markers','_parseMarkerName','hasAttribute','pop','changeMarkerRestored','_removeChildren','offset','diffContent','model','ck-ai_review-marker_context-end','add','listenTo','rejectChange','138740NmbgLm','_haveOnlyInlineContent','_eventEmitter','mouseup','_hasSameTopLevelElement','pluginName','afterInit','[data-id=\x22','.ck-reset.ck-ai_review-balloon-panel-suggestion','ck-ai_review-marker_','downcast','ck-ai_review-marker_underline','48231obZwBA','querySelector','_activeMarkers','clone','ck-ai_review-marker_strikethrough','ck-ai_review-marker_hide','suggestion-context','createRangeIn','createPositionAt','_markers','marker','clear'];_0x5543=function(){return _0x5aed65;};return _0x5543();}import{DomEmitterMixin as _0x194388,EmitterMixin as _0xb2965a,uid as _0x5df4bc}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x3a9b5f}from'ckeditor5/src/core.js';import{DocumentCompare as _0x100a87,DATA_ID_MODEL_ATTRIBUTE as _0xab71f,DATA_ID_VIEW_ATTRIBUTE as _0xbe4fda,getMarkerDomElement as _0x37d925}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x5ecf5d}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x4102db}from'../aicore/aiediting.js';import{debounce as _0x3542b1}from'es-toolkit/compat';const Me=_0x187ff7(0xee);export class AIReviewCoreEditing extends _0x3a9b5f{static get[_0x187ff7(0xae)](){return[_0x100a87,_0x4102db];}static get[_0x187ff7(0x85)](){const _0x2faaf8=_0x187ff7;return _0x2faaf8(0x72);}static get[_0x187ff7(0x146)](){return!0x0;}static get[_0x187ff7(0x149)](){return!0x0;}[_0x187ff7(0x95)]=new Map();[_0x187ff7(0x8e)]=new Set();[_0x187ff7(0x177)];[_0x187ff7(0x82)];constructor(_0x3115c1){const _0x4abfc9=_0x187ff7;super(_0x3115c1),this[_0x4abfc9(0x177)]=new(_0x194388())(),this[_0x4abfc9(0x82)]=new(_0xb2965a())();}get[_0x187ff7(0xd1)](){const _0xe335fb=_0x187ff7;return this[_0xe335fb(0x82)];}[_0x187ff7(0x86)](){const _0x4b8322=_0x187ff7,_0x53de8b=_0x5ecf5d(this[_0x4b8322(0x99)]);_0x53de8b[_0x4b8322(0x144)][_0x4b8322(0xf8)](_0x4b8322(0xb5))[_0x4b8322(0xa8)]({'model':Me+_0x4b8322(0x16d),'view':(_0x32e3f1,{writer:_0x27eb3e})=>{const _0x4b8d2b=_0x4b8322,_0x3afc34=this[_0x4b8d2b(0x95)][_0x4b8d2b(0xa4)](_0x32e3f1[_0x4b8d2b(0x116)]),_0x2b5b6b={'class':_0x4b8d2b(0x11b)+(this[_0x4b8d2b(0x8e)][_0x4b8d2b(0xef)](_0x3afc34?.['id']||'')?_0x4b8d2b(0x125):''),'data-marker-id':_0x32e3f1[_0x4b8d2b(0x116)]};return _0x27eb3e[_0x4b8d2b(0xa3)](_0x4b8d2b(0xfa),_0x2b5b6b,function(_0x50aba1){const _0x32788d=_0x4b8d2b,_0x5773cd=this[_0x32788d(0xd4)](_0x50aba1);return _0x5773cd[_0x32788d(0x166)]=_0x3afc34?.[_0x32788d(0x70)]?.[_0x32788d(0x13f)]||'',_0x5773cd;});}}),_0x53de8b[_0x4b8322(0x144)][_0x4b8322(0xf8)](_0x4b8322(0xb5))[_0x4b8322(0x165)]({'model':Me+_0x4b8322(0x10a),'view':_0xde8bb5=>{const _0x70bcc9=_0x4b8322,_0x387109=this[_0x70bcc9(0x95)][_0x70bcc9(0xa4)](_0xde8bb5[_0x70bcc9(0x116)]),_0x2c7913=[_0x70bcc9(0x90)];return this[_0x70bcc9(0x8e)][_0x70bcc9(0xef)](_0x387109?.['id']||'')&&_0x2c7913[_0x70bcc9(0x11e)](_0x70bcc9(0x11f)),{'classes':_0x2c7913,'attributes':{'data-marker-id':_0xde8bb5[_0x70bcc9(0x116)]}};}}),_0x53de8b[_0x4b8322(0x144)][_0x4b8322(0xf8)](_0x4b8322(0xb5))[_0x4b8322(0x165)]({'model':Me+_0x4b8322(0x101),'view':_0x153daa=>{const _0x1eacc9=_0x4b8322,_0xa1cc71=this[_0x1eacc9(0x95)][_0x1eacc9(0xa4)](_0x153daa[_0x1eacc9(0x116)]),_0x48b0b4=[_0x1eacc9(0x8b)];return this[_0x1eacc9(0x8e)][_0x1eacc9(0xef)](_0xa1cc71?.['id']||'')&&_0x48b0b4[_0x1eacc9(0x11e)](_0x1eacc9(0x11f)),{'classes':_0x48b0b4,'attributes':{'data-marker-id':_0x153daa[_0x1eacc9(0x116)]}};}}),_0x53de8b[_0x4b8322(0x144)][_0x4b8322(0xf8)](_0x4b8322(0xb5))[_0x4b8322(0x165)]({'model':Me+_0x4b8322(0x171),'view':_0x1fa213=>{const _0x197d4b=_0x4b8322,_0x2a3406=this[_0x197d4b(0x95)][_0x197d4b(0xa4)](_0x1fa213[_0x197d4b(0x116)]),_0x37eb84=[_0x197d4b(0x91)];return this[_0x197d4b(0x8e)][_0x197d4b(0xef)](_0x2a3406?.['id']||'')&&_0x37eb84[_0x197d4b(0x11e)](_0x197d4b(0x11f)),{'classes':_0x37eb84,'attributes':{'data-marker-id':_0x1fa213[_0x197d4b(0x116)]}};}}),_0x53de8b[_0x4b8322(0x144)][_0x4b8322(0xf8)](_0x4b8322(0xdd))[_0x4b8322(0xa8)]({'model':Me+_0x4b8322(0x92),'view':(_0x50fdc4,{writer:_0x2cfe15})=>_0x2cfe15[_0x4b8322(0x10f)](_0x4b8322(0xfa),{'class':_0x4b8322(0x11c)+(_0x50fdc4[_0x4b8322(0x12a)]?_0x4b8322(0x122):_0x4b8322(0x152))})}),_0x53de8b[_0x4b8322(0x144)][_0x4b8322(0xf8)](_0x4b8322(0x8a))[_0x4b8322(0xd9)]({'model':_0xab71f,'view':_0xbe4fda});const _0x2e9759=_0x53de8b['ui'][_0x4b8322(0xbe)]()||document[_0x4b8322(0xc7)];this[_0x4b8322(0x177)][_0x4b8322(0x7e)](_0x2e9759,_0x4b8322(0x83),(_0x201f40,_0x3a57a3)=>{const _0x1d9be=_0x4b8322,_0x423bcf=_0x3a57a3[_0x1d9be(0xba)],_0x2694ed=this[_0x1d9be(0xe0)](_0x423bcf);if(!_0x2694ed)return;const _0x29b136=_0x2694ed[_0x1d9be(0x14a)](_0x1d9be(0xad)),_0x8f0481=_0x29b136[_0x1d9be(0xdf)](':')[_0x1d9be(0x76)]()?.[_0x1d9be(0xdf)]('_')[0x0];this[_0x1d9be(0x82)][_0x1d9be(0x14b)](_0x1d9be(0xe6),{'markerId':_0x29b136,'changeId':_0x8f0481,'markerElement':()=>this[_0x1d9be(0xd5)](_0x29b136),'domEvent':_0x3a57a3});},{'usePassive':!0x0,'priority':_0x4b8322(0x9e)}),this[_0x4b8322(0x177)][_0x4b8322(0x7e)](_0x2e9759,_0x4b8322(0x161),(_0x486d97,_0x1bcf8d)=>{const _0x56e7fa=_0x4b8322,_0x59f861=_0x1bcf8d[_0x56e7fa(0xba)],_0x14afe2=_0x1bcf8d[_0x56e7fa(0x119)];let _0x4e4bfe=this[_0x56e7fa(0xe0)](_0x59f861);if(!_0x4e4bfe&&_0x14afe2&&(_0x4e4bfe=this[_0x56e7fa(0xe0)](_0x14afe2)),!_0x4e4bfe)return;const _0x41e8be=_0x4e4bfe[_0x56e7fa(0x14a)](_0x56e7fa(0xad)),_0x26888c=_0x41e8be[_0x56e7fa(0xdf)](':')[_0x56e7fa(0x76)]()?.[_0x56e7fa(0xdf)]('_')[0x0];this[_0x56e7fa(0x82)][_0x56e7fa(0x14b)](_0x56e7fa(0xe4),{'changeId':_0x26888c,'markerElement':()=>this[_0x56e7fa(0xd5)](_0x41e8be),'domEvent':_0x1bcf8d});}),this[_0x4b8322(0x177)][_0x4b8322(0x7e)](document,_0x4b8322(0x161),_0x3542b1((_0x40623b,_0x162df7)=>{const _0x10178f=_0x4b8322,_0x374a78=_0x162df7[_0x10178f(0xba)];if(this[_0x10178f(0xe0)](_0x374a78))return;_0x374a78[_0x10178f(0x16b)](_0x10178f(0x88))||this[_0x10178f(0x82)][_0x10178f(0x14b)](_0x10178f(0xc6));},0xc8)),_0x53de8b[_0x4b8322(0x7b)][_0x4b8322(0xa0)][_0x4b8322(0x158)](_0xb012e2=>this[_0x4b8322(0xe1)](_0x53de8b,_0xb012e2)),_0x53de8b[_0x4b8322(0x7b)][_0x4b8322(0xa0)]['on'](_0x4b8322(0x170),()=>this[_0x4b8322(0x16c)](_0x53de8b));}[_0x187ff7(0x9a)](){const _0x328184=_0x187ff7,_0x2cb53f=this[_0x328184(0x99)][_0x328184(0xff)][_0x328184(0xa4)](_0x328184(0x113)),_0x338d2f=_0x5ecf5d(this[_0x328184(0x99)]),_0x5b7f4d=_0x338d2f[_0x328184(0x7b)],_0x537e40=new _0x1933a4();for(const _0x1a6cbe of _0x5b7f4d[_0x328184(0xa0)][_0x328184(0x164)]()[_0x328184(0x148)]()){const _0x10424e=_0x1a6cbe[_0x328184(0x10c)](!0x0);_0x537e40[_0x328184(0xfe)](_0x10424e);}for(const _0x413728 of _0x5b7f4d[_0x328184(0x73)])_0x537e40[_0x328184(0x73)][_0x328184(0x135)](_0x413728[_0x328184(0x121)],this[_0x328184(0x114)](_0x413728[_0x328184(0x176)]()[_0x328184(0x8f)](),_0x537e40));const _0x417196=new _0x1fcd91({'ignoreElementEnd':!0x0,'startPosition':_0x5b7f4d[_0x328184(0x94)](_0x537e40,0x0)}),_0x396c76=new Set(),_0x20b593=new Map();for(const {item:_0x139ae9}of _0x417196){if(!_0x139ae9['is'](_0x328184(0x10b)))continue;const _0x4b17c3=_0x139ae9[_0x328184(0x15c)];if(_0x4b17c3&&_0x4b17c3['is'](_0x328184(0xfc))){const _0x2fecb4=this[_0x328184(0x11d)](_0x4b17c3,()=>_0x2cb53f[_0x328184(0xde)](_0x396c76));_0x396c76[_0x328184(0x7d)](_0x2fecb4);for(const _0x4a50b6 of _0x4b17c3[_0x328184(0x148)]())_0x4a50b6['is'](_0x328184(0xfc))&&_0x396c76[_0x328184(0x7d)](this[_0x328184(0x11d)](_0x4a50b6,()=>_0x2cb53f[_0x328184(0xde)](_0x396c76)));let _0x31c4f0=_0x4b17c3;for(;_0x31c4f0[_0x328184(0x15c)]&&!_0x31c4f0[_0x328184(0x15c)]['is'](_0x328184(0xab));)_0x31c4f0=_0x31c4f0[_0x328184(0x15c)],_0x31c4f0[_0x328184(0x75)](_0xab71f)&&_0x31c4f0[_0x328184(0xcd)](_0xab71f);_0x20b593[_0x328184(0x135)](_0x2fecb4,{'path':_0x4b17c3[_0x328184(0x142)](),'getContent':this[_0x328184(0xa7)](_0x31c4f0[_0x328184(0x10c)](!0x0),_0x2fecb4,_0x338d2f[_0x328184(0x123)])}),_0x417196[_0x328184(0x111)](_0x5b7f4d[_0x328184(0x15a)](_0x4b17c3));}}return{'content':_0x338d2f[_0x328184(0x123)][_0x328184(0x127)][_0x328184(0xda)](_0x338d2f[_0x328184(0x123)][_0x328184(0x17a)](_0x537e40)),'version':_0x338d2f[_0x328184(0x7b)][_0x328184(0xa0)][_0x328184(0xf5)],'elements':_0x20b593};}[_0x187ff7(0x7a)](_0x36dc3b,_0x274567,_0x466703=!0x1){const _0x15a828=_0x187ff7,_0x3e7c95=[],_0x33fb6e=_0x5ecf5d(this[_0x15a828(0x99)]),_0x311cc1=_0x33fb6e[_0x15a828(0x123)][_0x15a828(0x155)](_0x274567,_0x15a828(0xd7)),_0x2d062a=_0x33fb6e[_0x15a828(0x123)][_0x15a828(0x155)](_0x36dc3b,_0x15a828(0xd7)),_0x348c0e=_0x33fb6e[_0x15a828(0x7b)][_0x15a828(0x94)](_0x2d062a,0x0);if(this[_0x15a828(0x13b)](_0x311cc1)){if(!this[_0x15a828(0x84)](_0x2d062a,_0x311cc1))return _0x3e7c95;}else{const _0x2b83b6=_0x33fb6e[_0x15a828(0x7b)][_0x15a828(0x9b)];if(!this[_0x15a828(0x81)](_0x2d062a,_0x2b83b6)||!this[_0x15a828(0x81)](_0x311cc1,_0x2b83b6))return _0x3e7c95;}const _0x27ecee=this[_0x15a828(0x99)][_0x15a828(0xff)][_0x15a828(0xa4)](_0x15a828(0x147))[_0x15a828(0x16a)](_0x36dc3b,_0x274567,{'anchor':_0x348c0e,'markDeletions':!0x0})[_0x15a828(0x12d)]()[_0x15a828(0xb2)](_0x506ab4=>_0x15a828(0x16d)===_0x506ab4[_0x15a828(0x137)]||_0x15a828(0x96)===_0x506ab4[_0x15a828(0x137)]&&_0x506ab4[_0x15a828(0x121)][_0x15a828(0x150)](_0x15a828(0x6d))),_0x2db380=this[_0x15a828(0xb6)](_0x27ecee),_0x85b169=[];if(_0x466703){if(_0x2db380[_0x15a828(0x13d)]){const _0x2d73fe=_0x2db380[0x0][_0x15a828(0xc0)][0x0],_0x1c135a=_0x15a828(0x16d)===_0x2d73fe[_0x15a828(0x137)]?_0x2d73fe[_0x15a828(0x16f)]:_0x2d73fe[_0x15a828(0x15b)][_0x15a828(0x122)],_0xf35ba3=this[_0x15a828(0xb7)](_0x1c135a,_0x33fb6e,_0x15a828(0xca)),_0x5cf00f=_0xf35ba3?_0x311cc1[_0x15a828(0x173)](0x0)[_0x15a828(0x148)]():_0x311cc1[_0x15a828(0x148)](),_0x2bbdc1=_0xf35ba3||_0x33fb6e[_0x15a828(0x7b)][_0x15a828(0x93)](_0x2d062a),_0x3063d3=[new _0x5a464a(_0x15a828(0xd6)+_0x5df4bc(),null,_0x2bbdc1,_0x33fb6e[_0x15a828(0x7b)][_0x15a828(0xa0)][_0x15a828(0x7b)][_0x15a828(0x73)],!0x0,_0x33fb6e[_0x15a828(0x7b)][_0x15a828(0xa0)][_0x15a828(0xf5)]+0x1),new _0x9fcd9f(_0x2bbdc1[_0x15a828(0x152)],_0x5cf00f,_0x33fb6e[_0x15a828(0x7b)][_0x15a828(0xa0)][_0x15a828(0xf5)]+0x2)];_0x85b169[_0x15a828(0x11e)]({'operations':_0x3063d3,'operationsIsolated':_0x3063d3,'groupOffset':0x0});}}else _0x85b169[_0x15a828(0x11e)](..._0x2db380);let _0xb94c46=0x0;return _0x33fb6e[_0x15a828(0x7b)][_0x15a828(0x170)](_0x2fe7e3=>{const _0x23c157=_0x15a828;for(let _0x1f76d5=0x0;_0x1f76d5<_0x85b169[_0x23c157(0x13d)];_0x1f76d5++){const _0x352c07=_0x85b169[_0x1f76d5],_0x2c7045=_0x2fe7e3[_0x23c157(0x107)]();for(const _0x42af0e of _0x2d062a[_0x23c157(0x148)]())_0x2fe7e3[_0x23c157(0xdb)](_0x42af0e[_0x23c157(0x10c)](!0x0),_0x2c7045);for(const _0x5a64ea of _0x352c07[_0x23c157(0xf1)])if(_0x23c157(0x16d)===_0x5a64ea[_0x23c157(0x137)]){const _0x17c663=_0x5a64ea;_0x17c663[_0x23c157(0x169)]=null,_0x17c663[_0x23c157(0x132)]=!0x1,this[_0x23c157(0x128)](_0x17c663,_0x2c7045),_0x2fe7e3[_0x23c157(0xb9)][_0x23c157(0x104)](_0x5a64ea),_0x33fb6e[_0x23c157(0x7b)][_0x23c157(0x17b)](_0x5a64ea);const _0x4fac7c=_0x23c157(0x6e)+_0xb94c46++,_0x455a85=_0x33fb6e[_0x23c157(0x7b)][_0x23c157(0xd2)](_0x17c663[_0x23c157(0x16f)],_0x17c663[_0x23c157(0x16f)][_0x23c157(0xeb)](_0x17c663[_0x23c157(0x145)]));_0x2c7045[_0x23c157(0x73)][_0x23c157(0x135)](_0x4fac7c,_0x455a85);}else{if(_0x23c157(0x96)===_0x5a64ea[_0x23c157(0x137)]&&_0x5a64ea[_0x23c157(0x121)][_0x23c157(0x150)](_0x23c157(0x6d))){const _0x397f4e=_0x5a64ea,_0x4d3ea1=_0x23c157(0x139)+_0xb94c46++;this[_0x23c157(0x128)](_0x397f4e,_0x2c7045),_0x2c7045[_0x23c157(0x73)][_0x23c157(0x135)](_0x4d3ea1,_0x397f4e[_0x23c157(0x15b)]);}}if(_0x466703)_0x3e7c95[_0x23c157(0x11e)]({..._0x352c07,'context':this[_0x23c157(0xf2)](_0x2d062a,_0x33fb6e[_0x23c157(0x123)]),'content':this[_0x23c157(0xf2)](_0x2d062a,_0x33fb6e[_0x23c157(0x123)])});else{const _0x43664b=this[_0x23c157(0x162)](this[_0x23c157(0xb8)](this[_0x23c157(0xcc)](_0x352c07[_0x23c157(0xf1)][0x0]),_0x2c7045),this[_0x23c157(0xb8)](this[_0x23c157(0x14e)](_0x352c07[_0x23c157(0xf1)][_0x352c07[_0x23c157(0xf1)][_0x23c157(0x13d)]-0x1]),_0x2c7045));_0x2c7045[_0x23c157(0x73)][_0x23c157(0x135)](Me+_0x23c157(0x92),new _0x319c20(_0x43664b[_0x23c157(0x122)],_0x43664b[_0x23c157(0x152)])),_0x3e7c95[_0x23c157(0x11e)]({..._0x352c07,'context':this[_0x23c157(0xea)](_0x2c7045,_0x33fb6e[_0x23c157(0x123)],{'ellipsisBefore':_0x43664b[_0x23c157(0x143)],'ellipsisAfter':_0x43664b[_0x23c157(0xa9)]}),'content':this[_0x23c157(0xf2)](_0x2c7045,_0x33fb6e[_0x23c157(0x123)])});}}}),_0x3e7c95;}[_0x187ff7(0x11a)](_0x165eaf,_0x1e41e1){const _0x314775=_0x187ff7;if(!_0x165eaf[_0x314775(0x13d)])return;const _0x26b061=_0x165eaf[0x0][_0x314775(0x15c)]['id'],_0x57d1cd=_0x1e41e1[_0x314775(0x159)][_0x314775(0xa4)](_0x26b061);if(!_0x57d1cd)return void console[_0x314775(0x157)](_0x314775(0xb0)+_0x26b061);const _0xaf80b1=_0x57d1cd[_0x314775(0x163)],_0x7aea7a=_0x5ecf5d(this[_0x314775(0x99)]),_0x24953d=_0x7aea7a[_0x314775(0x7b)][_0x314775(0xa0)][_0x314775(0x13e)][_0x314775(0x12d)](_0x1e41e1[_0x314775(0xf5)]),_0x34939a=[];for(const _0xf37147 of _0x165eaf){const _0x42ae9d=_0xf37147[_0x314775(0xf1)][_0x314775(0xfb)](_0x52c9fd=>this[_0x314775(0x15d)](_0x52c9fd,_0xaf80b1,_0x7aea7a[_0x314775(0x7b)][_0x314775(0xa0)][_0x314775(0x106)]()[0x0]));if(!_0x42ae9d||!_0x42ae9d[_0x314775(0x13d)])continue;const _0x5cbf94=_0x42ae9d[_0x314775(0xcb)](_0x2c748c=>_0x314775(0x96)===_0x2c748c[_0x314775(0x137)]&&_0x2c748c[_0x314775(0x121)][_0x314775(0x150)](_0x314775(0x6d))),_0x58ccea={'document':_0x7aea7a[_0x314775(0x7b)][_0x314775(0xa0)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x7c2f79=_0x531351(_0x42ae9d,_0x24953d,_0x58ccea)[_0x314775(0xd8)];for(const _0x41ecee of _0x7c2f79)if(_0x314775(0x16d)===_0x41ecee[_0x314775(0x137)]){const _0x2852b6=_0x41ecee,_0x2961a1=_0x2852b6[_0x314775(0x138)];_0x7aea7a[_0x314775(0x7b)][_0x314775(0x170)](_0x36484e=>{const _0x48eb8d=_0x314775,_0x1d2059=_0x36484e[_0x48eb8d(0x107)]();for(const _0x273987 of _0x2961a1)_0x36484e[_0x48eb8d(0xdb)](_0x273987[_0x48eb8d(0x10c)](!0x0),_0x1d2059);_0x34939a[_0x48eb8d(0x11e)]({'start':_0x2852b6[_0x48eb8d(0x16f)],'end':_0x2852b6[_0x48eb8d(0x16f)],'type':_0x48eb8d(0x16d),'groupId':_0xf37147['id'],'content':{'asString':this[_0x48eb8d(0xf2)](_0x1d2059,_0x7aea7a[_0x48eb8d(0x123)])(),'asFragment':_0x1d2059}});});}else{if(_0x314775(0x96)===_0x41ecee[_0x314775(0x137)]&&_0x41ecee[_0x314775(0x121)][_0x314775(0x150)](_0x314775(0x6d))){const _0x470cb8=_0x41ecee;let _0x5580db=_0x314775(0x171);if(_0x5cbf94){const _0x1e1e73=this[_0x314775(0x120)](_0x470cb8[_0x314775(0x15b)][_0x314775(0x122)],_0x314775(0xd3),_0x7aea7a[_0x314775(0x7b)][_0x314775(0x9b)]),_0x42a9e0=this[_0x314775(0x120)](_0x470cb8[_0x314775(0x15b)][_0x314775(0x152)],_0x314775(0x160),_0x7aea7a[_0x314775(0x7b)][_0x314775(0x9b)]);if(_0x1e1e73||_0x42a9e0){const _0x49a19d=_0x470cb8[_0x314775(0x15b)][_0x314775(0x122)][_0x314775(0xeb)](-_0x1e1e73),_0x32683f=_0x470cb8[_0x314775(0x15b)][_0x314775(0x152)][_0x314775(0xeb)](_0x42a9e0);_0x34939a[_0x314775(0x11e)]({'start':_0x49a19d,'end':_0x32683f,'groupId':_0xf37147['id'],'type':_0x314775(0x101)});}else _0x5580db=_0x314775(0x10a);}_0x34939a[_0x314775(0x11e)]({'start':_0x470cb8[_0x314775(0x15b)][_0x314775(0x122)],'end':_0x470cb8[_0x314775(0x15b)][_0x314775(0x152)],'groupId':_0xf37147['id'],'type':_0x5580db});}}}this[_0x314775(0x153)](_0x34939a);}[_0x187ff7(0xc3)](){const _0x91c18=_0x187ff7,_0x947f07=_0x5ecf5d(this[_0x91c18(0x99)]);_0x947f07[_0x91c18(0x7b)][_0x91c18(0x170)](_0x1e15a3=>{const _0x8384fd=_0x91c18;for(const _0x3e9571 of this[_0x8384fd(0x95)][_0x8384fd(0xdc)]())_0x947f07[_0x8384fd(0x7b)][_0x8384fd(0x73)][_0x8384fd(0xa4)](_0x3e9571)&&_0x1e15a3[_0x8384fd(0x12e)](_0x3e9571);}),this[_0x91c18(0x95)][_0x91c18(0x97)](),this[_0x91c18(0x8e)][_0x91c18(0x97)]();}[_0x187ff7(0x71)](){const _0x56e40c=_0x187ff7;_0x5ecf5d(this[_0x56e40c(0x99)])[_0x56e40c(0x12f)](_0x56e40c(0x179));}[_0x187ff7(0x13a)](){const _0x3625c2=_0x187ff7;_0x5ecf5d(this[_0x3625c2(0x99)])[_0x3625c2(0xa6)](_0x3625c2(0x179));}[_0x187ff7(0x108)](_0x3f517f){const _0x583c9e=_0x187ff7,_0x58f6b4=_0x5ecf5d(this[_0x583c9e(0x99)]),_0x22d921=_0x58f6b4[_0x583c9e(0x7b)],_0x28ebf5=_0x3f517f[_0x583c9e(0xfb)](_0x298b1d=>this[_0x583c9e(0xaf)](_0x298b1d))[_0x583c9e(0x9f)]();_0x22d921[_0x583c9e(0x170)](_0xe57c47=>{const _0xbbe637=_0x583c9e;for(const _0x573802 of _0x28ebf5){const _0xe24224=_0x58f6b4[_0xbbe637(0x7b)][_0xbbe637(0x73)][_0xbbe637(0xa4)](_0x573802['id']);if(_0xe24224){if(_0xbbe637(0x16d)===_0x573802[_0xbbe637(0x137)]){if(!_0x573802[_0xbbe637(0x70)])continue;_0x22d921[_0xbbe637(0xc4)](_0x573802[_0xbbe637(0x70)][_0xbbe637(0x103)]||null,_0xe24224[_0xbbe637(0x176)]()[_0xbbe637(0x122)]);}else _0xbbe637(0x171)!==_0x573802[_0xbbe637(0x137)]&&_0xbbe637(0x10a)!==_0x573802[_0xbbe637(0x137)]||_0x22d921[_0xbbe637(0xfd)](_0x22d921[_0xbbe637(0xbb)](_0xe24224[_0xbbe637(0x176)]()));_0xe57c47[_0xbbe637(0x12e)](_0x573802['id']),this[_0xbbe637(0x95)][_0xbbe637(0xce)](_0x573802['id']);}}});}[_0x187ff7(0x7f)](_0x575f4d){const _0x1406dc=_0x187ff7,_0x4c2943=_0x5ecf5d(this[_0x1406dc(0x99)]),_0x4bfec4=this[_0x1406dc(0xaf)](_0x575f4d);_0x4c2943[_0x1406dc(0x7b)][_0x1406dc(0x170)](_0x39d2e3=>{const _0x1736d3=_0x1406dc;for(const _0x1ef1e3 of _0x4bfec4)_0x39d2e3[_0x1736d3(0x12e)](_0x1ef1e3['id']),this[_0x1736d3(0x95)][_0x1736d3(0xce)](_0x1ef1e3['id']);});}[_0x187ff7(0xc5)](){const _0x170c74=_0x187ff7;return _0x5ecf5d(this[_0x170c74(0x99)]);}[_0x187ff7(0x14c)](_0x48932c){const _0x68c105=_0x187ff7,_0x5b4575=Array[_0x68c105(0x156)](this[_0x68c105(0x95)][_0x68c105(0xe8)]())[_0x68c105(0xb2)](_0x2a4e69=>_0x2a4e69[_0x68c105(0x141)]===_0x48932c);if(!_0x5b4575[_0x68c105(0x13d)])return null;const _0x580ccb=0x1===_0x5b4575[_0x68c105(0x13d)]?_0x5b4575[0x0]:this[_0x68c105(0xbf)](_0x5b4575)[0x0],_0x44d658=_0x5ecf5d(this[_0x68c105(0x99)])[_0x68c105(0x7b)][_0x68c105(0x73)][_0x68c105(0xa4)](_0x580ccb['id']);if(!_0x44d658)return null;return{'modelRange':_0x44d658[_0x68c105(0x176)](),'getElement':()=>this[_0x68c105(0xd5)](_0x580ccb['id'])};}[_0x187ff7(0x115)](_0x49c8a4){const _0x11e545=_0x187ff7,_0x419218=Array[_0x11e545(0x156)](this[_0x11e545(0x95)][_0x11e545(0xe8)]())[_0x11e545(0xb2)](_0x14234d=>_0x14234d[_0x11e545(0x141)]===_0x49c8a4);if(!_0x419218[_0x11e545(0x13d)])return null;const _0xffbc40=0x1===_0x419218[_0x11e545(0x13d)]?_0x419218[0x0]:this[_0x11e545(0xbf)](_0x419218)[0x0],_0x59d35c=_0x5ecf5d(this[_0x11e545(0x99)]),_0x44caf3=_0x59d35c[_0x11e545(0x7b)][_0x11e545(0x73)][_0x11e545(0xa4)](_0xffbc40['id']);if(!_0x44caf3)return null;const _0x14185e=_0x44caf3[_0x11e545(0x176)](),_0x455bb2=_0x59d35c[_0x11e545(0xc9)][_0x11e545(0x14f)][_0x11e545(0x98)]();if(!_0x455bb2||!_0x14185e)return null;let _0x35f112=_0x14185e[_0x11e545(0x122)][_0x11e545(0x15c)];for(;_0x35f112[_0x11e545(0x15c)]&&_0x11e545(0x16e)!==_0x35f112[_0x11e545(0x15c)][_0x11e545(0x121)];)_0x35f112=_0x35f112[_0x11e545(0x15c)];if(!_0x35f112||!_0x35f112[_0x11e545(0x121)])return null;const _0x26408b=_0x455bb2[_0x11e545(0x8d)](_0x11e545(0x131)+_0xffbc40['id']+'\x22]');if(!_0x26408b)return null;let _0xe40911=null;_0x59d35c[_0x11e545(0x7b)][_0x11e545(0x170)](_0x47d55a=>{const _0x7a91ed=_0x11e545;_0xe40911=_0x47d55a[_0x7a91ed(0x107)](),_0x47d55a[_0x7a91ed(0xdb)](_0x35f112[_0x7a91ed(0x10c)](!0x0),_0xe40911);});const _0x26b47c=_0x59d35c[_0x11e545(0x123)][_0x11e545(0x17a)](_0xe40911)[_0x11e545(0x173)](0x0);return _0x26408b[_0x11e545(0x16b)](_0x26b47c[_0x11e545(0x121)]);}[_0x187ff7(0x124)](_0x27a021){const _0x511d32=_0x187ff7,_0x45536a=this[_0x511d32(0xaf)](_0x27a021);if(!_0x45536a[_0x511d32(0x13d)])return;const _0x4a5d89=Array[_0x511d32(0x156)](this[_0x511d32(0x8e)])[_0x511d32(0x167)](),_0x504e4f=Array[_0x511d32(0x156)](new Set(_0x45536a[_0x511d32(0xfb)](_0x2c7439=>_0x2c7439['id'])))[_0x511d32(0x167)]();_0x4a5d89[_0x511d32(0x100)]('|')!==_0x504e4f[_0x511d32(0x100)]('|')&&(this[_0x511d32(0x112)](),this[_0x511d32(0x118)](_0x27a021));}[_0x187ff7(0x118)](_0x85073b){const _0xf5f0e7=_0x187ff7,_0x14812b=this[_0xf5f0e7(0xaf)](_0x85073b);if(!_0x14812b[_0xf5f0e7(0x13d)])return;const _0x30c258=_0x5ecf5d(this[_0xf5f0e7(0x99)]),_0x49cd20=new Set(_0x14812b[_0xf5f0e7(0xfb)](_0x1b497d=>_0x1b497d['id'])),_0x2b8d2a=Array[_0xf5f0e7(0x156)](_0x49cd20[_0xf5f0e7(0xe8)]())[_0xf5f0e7(0xfb)](_0x4e2efe=>_0x30c258[_0xf5f0e7(0x7b)][_0xf5f0e7(0x73)][_0xf5f0e7(0xa4)](_0x4e2efe))[_0xf5f0e7(0xb2)](_0x33b03c=>!!_0x33b03c);_0x49cd20[_0xf5f0e7(0x134)](_0x233668=>{const _0x4768e5=_0xf5f0e7;this[_0x4768e5(0x8e)][_0x4768e5(0x7d)](_0x233668);}),_0x30c258[_0xf5f0e7(0x7b)][_0xf5f0e7(0x170)](()=>{const _0x5b17d4=_0xf5f0e7;_0x2b8d2a[_0x5b17d4(0x134)](_0x36f870=>{const _0xb6d285=_0x5b17d4;_0x30c258[_0xb6d285(0xc9)][_0xb6d285(0xbd)](_0x36f870);});});}[_0x187ff7(0x112)](){const _0x3e65eb=_0x187ff7,_0x4b8372=Array[_0x3e65eb(0x156)](this[_0x3e65eb(0x8e)]);if(!_0x4b8372[_0x3e65eb(0x13d)])return;this[_0x3e65eb(0x8e)][_0x3e65eb(0x97)]();const _0x341526=_0x5ecf5d(this[_0x3e65eb(0x99)]),_0x543032=_0x4b8372[_0x3e65eb(0xfb)](_0xcd0231=>_0x341526[_0x3e65eb(0x7b)][_0x3e65eb(0x73)][_0x3e65eb(0xa4)](_0xcd0231))[_0x3e65eb(0xb2)](_0x3642ef=>!!_0x3642ef);_0x341526[_0x3e65eb(0x7b)][_0x3e65eb(0x170)](()=>{const _0x4f0e08=_0x3e65eb;_0x543032[_0x4f0e08(0x134)](_0x4b062b=>{const _0xe99c66=_0x4f0e08;_0x341526[_0xe99c66(0xc9)][_0xe99c66(0xbd)](_0x4b062b);});});}[_0x187ff7(0xb7)](_0x2216ee,_0x2dc62a,_0x372981=_0x187ff7(0x109)){const _0x482abd=_0x187ff7;if(!_0x2216ee)return null;let _0x121080=_0x2216ee[_0x482abd(0x15c)];for(;_0x121080&&_0x121080[_0x482abd(0x15c)]&&_0x482abd(0x16e)!==_0x121080[_0x482abd(0x15c)][_0x482abd(0x121)]&&!_0x2dc62a[_0x482abd(0x7b)][_0x482abd(0x9b)][_0x482abd(0x168)](_0x121080)&&!_0x2dc62a[_0x482abd(0x7b)][_0x482abd(0x9b)][_0x482abd(0xa5)](_0x121080);)_0x121080=_0x121080[_0x482abd(0x15c)];if(!_0x121080||!_0x121080[_0x482abd(0x121)]||_0x482abd(0x16e)===_0x121080[_0x482abd(0x121)])return null;let _0x3dca90=null;return _0x2dc62a[_0x482abd(0x7b)][_0x482abd(0x170)](_0x1ff823=>{const _0x3eea35=_0x482abd;_0x3dca90=_0x3eea35(0xca)===_0x372981?_0x1ff823[_0x3eea35(0x93)](_0x121080):_0x1ff823[_0x3eea35(0xb4)](_0x121080);}),_0x3dca90;}[_0x187ff7(0xe1)](_0x17211b,_0x5baaad){const _0x75c038=_0x187ff7,_0x2aba9d=Array[_0x75c038(0x156)](this[_0x75c038(0x95)][_0x75c038(0xdc)]()),_0xbeb716=new Map();for(const _0x192a0b of _0x2aba9d){const _0x3980bf=_0x17211b[_0x75c038(0x7b)][_0x75c038(0x73)][_0x75c038(0xa4)](_0x192a0b);if(!_0x3980bf)continue;const _0x3140cf=_0x3980bf[_0x75c038(0x10e)]()[_0x75c038(0x163)][0x0];_0xbeb716[_0x75c038(0xef)](_0x3140cf)||_0xbeb716[_0x75c038(0x135)](_0x3140cf,[]),_0xbeb716[_0x75c038(0xa4)](_0x3140cf)[_0x75c038(0x11e)](_0x3980bf);}const _0x5e2fb4=new Set();for(const _0x2e91f0 of _0x17211b[_0x75c038(0x7b)][_0x75c038(0xa0)][_0x75c038(0x6f)][_0x75c038(0x13c)]()){let _0x2ee00b=-0x1,_0x571ca5=null;if(_0x75c038(0x16d)===_0x2e91f0[_0x75c038(0x137)])_0x571ca5=new _0x319c20(_0x2e91f0[_0x75c038(0x16f)],_0x2e91f0[_0x75c038(0x16f)][_0x75c038(0xeb)](_0x2e91f0[_0x75c038(0x13d)])),_0x2ee00b=_0x2e91f0[_0x75c038(0x16f)][_0x75c038(0x163)][0x0];else{if(_0x75c038(0x117)!==_0x2e91f0[_0x75c038(0x137)])continue;_0x571ca5=new _0x319c20(_0x2e91f0[_0x75c038(0x16f)]),_0x2ee00b=_0x2e91f0[_0x75c038(0x16f)][_0x75c038(0x163)][0x0];}const _0x43f169=_0xbeb716[_0x75c038(0xa4)](_0x2ee00b)||[];if(_0x43f169[_0x75c038(0x13d)]){for(const _0x3ecc1b of _0x43f169)if(_0x571ca5[_0x75c038(0x102)][_0x75c038(0x15e)]===_0x3ecc1b[_0x75c038(0x176)]()[_0x75c038(0x102)][_0x75c038(0x15e)]&&(_0x75c038(0x16d)!==_0x2e91f0[_0x75c038(0x137)]||!_0x571ca5[_0x75c038(0xc2)](_0x3ecc1b[_0x75c038(0x176)]()))&&(_0x571ca5[_0x75c038(0x140)](_0x3ecc1b[_0x75c038(0x176)]())||_0x571ca5[_0x75c038(0x122)][_0x75c038(0xf3)](_0x3ecc1b[_0x75c038(0x176)]()[_0x75c038(0x152)])||_0x571ca5[_0x75c038(0x152)][_0x75c038(0xf3)](_0x3ecc1b[_0x75c038(0x176)]()[_0x75c038(0x122)]))){const _0x3682ea=this[_0x75c038(0x74)](_0x3ecc1b[_0x75c038(0x121)]);Array[_0x75c038(0x156)](this[_0x75c038(0x95)][_0x75c038(0xe8)]())[_0x75c038(0xb2)](_0x5d2ce4=>_0x5d2ce4[_0x75c038(0x141)]===_0x3682ea[_0x75c038(0x141)])[_0x75c038(0x134)](_0x1d83eb=>_0x5e2fb4[_0x75c038(0x7d)](_0x1d83eb['id']));}}}if(_0x5e2fb4[_0x75c038(0xf9)]){for(const _0x1ceadf of _0x5e2fb4)_0x5baaad[_0x75c038(0x12e)](_0x1ceadf);return!0x0;}return!0x1;}[_0x187ff7(0x16c)](_0x4d3fe6){const _0x4fe2e3=_0x187ff7;for(const {name:_0x38af23,data:_0x321f8b}of _0x4d3fe6[_0x4fe2e3(0x7b)][_0x4fe2e3(0xa0)][_0x4fe2e3(0x6f)][_0x4fe2e3(0xd0)]()){if(!_0x38af23[_0x4fe2e3(0x150)](Me))continue;const _0x5668cc=_0x321f8b[_0x4fe2e3(0xed)],_0x1f9f05=_0x321f8b[_0x4fe2e3(0x15b)],_0xee87e=_0x5668cc&&_0x4fe2e3(0xe9)===_0x5668cc[_0x4fe2e3(0x102)][_0x4fe2e3(0x15e)],_0x128532=_0x1f9f05&&_0x4fe2e3(0xe9)===_0x1f9f05[_0x4fe2e3(0x102)][_0x4fe2e3(0x15e)];if(_0xee87e&&_0x128532)continue;const _0x3fa9a3=this[_0x4fe2e3(0x74)](_0x38af23);this[_0x4fe2e3(0x95)][_0x4fe2e3(0xa4)](_0x38af23)&&(_0x128532||!_0x1f9f05?this[_0x4fe2e3(0x82)][_0x4fe2e3(0x14b)](_0x4fe2e3(0xc1),{'markerId':_0x38af23,'changeId':_0x3fa9a3[_0x4fe2e3(0x141)]}):_0xee87e&&_0x1f9f05&&this[_0x4fe2e3(0x82)][_0x4fe2e3(0x14b)](_0x4fe2e3(0x77),{'markerId':_0x38af23,'changeId':_0x3fa9a3[_0x4fe2e3(0x141)]}));}}[_0x187ff7(0x74)](_0x1497f4){const _0x4d846a=_0x187ff7,_0x175f6b=_0x1497f4[_0x4d846a(0xdf)](':'),_0xf27bbf=(_0x175f6b[0x1]||'')[_0x4d846a(0xdf)]('_');return{'prefix':_0x175f6b[0x0],'groupId':_0xf27bbf[0x0],'suffix':_0xf27bbf[0x1]};}[_0x187ff7(0x15d)](_0x5a1839,_0x3a4736,_0x475bd1){const _0x1a4d24=_0x187ff7;if(_0x1a4d24(0x16d)===_0x5a1839[_0x1a4d24(0x137)]){const _0x346adc=_0x5a1839;return new _0x9fcd9f(this[_0x1a4d24(0x172)](_0x3a4736[_0x1a4d24(0x136)](_0x346adc[_0x1a4d24(0x16f)][_0x1a4d24(0x79)]),_0x475bd1),_0x346adc[_0x1a4d24(0x138)],_0x346adc[_0x1a4d24(0x169)]);}if(_0x1a4d24(0x96)===_0x5a1839[_0x1a4d24(0x137)]&&_0x5a1839[_0x1a4d24(0x121)][_0x1a4d24(0x150)](_0x1a4d24(0x6d))){const _0x4fa9da=_0x5a1839;return new _0x5a464a(_0x4fa9da[_0x1a4d24(0x121)],_0x4fa9da[_0x1a4d24(0xed)],this[_0x1a4d24(0x10d)](_0x4fa9da[_0x1a4d24(0x15b)],_0x3a4736[_0x1a4d24(0x136)](_0x4fa9da[_0x1a4d24(0x15b)][_0x1a4d24(0x122)][_0x1a4d24(0x79)]),_0x3a4736[_0x1a4d24(0x136)](_0x4fa9da[_0x1a4d24(0x15b)][_0x1a4d24(0x152)][_0x1a4d24(0x79)]),_0x475bd1),_0x4fa9da[_0x1a4d24(0x95)],_0x4fa9da[_0x1a4d24(0x126)],_0x4fa9da[_0x1a4d24(0x169)]);}return _0x5a1839;}[_0x187ff7(0xb6)](_0x3bb359){const _0x521485=_0x187ff7;if(!_0x3bb359[_0x521485(0x13d)])return[];const _0x1976fa=[];let _0x1ecb92=0x0,_0x2bdc1d=0x0,_0x4453c7=[];for(let _0xfd8272=0x0;_0xfd8272<=_0x3bb359[_0x521485(0x13d)];_0xfd8272++){const _0x315488=_0x3bb359[_0xfd8272],_0x3327ec=_0x3bb359[_0xfd8272-0x1];!_0x315488||_0x3327ec&&!this[_0x521485(0x14e)](_0x3327ec)[_0x521485(0xf3)](this[_0x521485(0xcc)](_0x315488))?(_0x1976fa[_0x521485(0x11e)]({'operations':_0x4453c7,'operationsIsolated':_0x4453c7[_0x521485(0xfb)](_0x4e8bad=>this[_0x521485(0xf0)](_0x4e8bad[_0x521485(0x8f)](),-_0x2bdc1d)),'groupOffset':_0x1ecb92}),_0x4453c7=_0x315488?[_0x315488]:[],_0x2bdc1d+=_0x1ecb92,_0x1ecb92=0x0):_0x4453c7[_0x521485(0x11e)](_0x315488),_0x315488&&_0x521485(0x16d)===_0x315488[_0x521485(0x137)]&&(_0x1ecb92+=_0x315488[_0x521485(0x145)]);}return _0x1976fa;}[_0x187ff7(0x120)](_0xa61965,_0x2add96,_0x7453e4,_0x2c5a9f=0x1){const _0x5f06ea=_0x187ff7,_0x5ce71e=new _0x1fcd91({'startPosition':_0xa61965,'direction':_0x2add96});let _0x38b584=0x0;for(let _0x44cc2e=0x0;_0x44cc2e<_0x2c5a9f;_0x44cc2e++){let _0x46396f=0x0,_0xe97de6=!0x1,_0x571785=_0x5f06ea(0x160)===_0x2add96?/^\W*\w+/:/\w+\W*$/;for(const {item:_0xc1d034}of _0x5ce71e)if(_0xc1d034['is'](_0x5f06ea(0x10b))){const _0x2c3c1a=_0x571785[_0x5f06ea(0x14d)](_0xc1d034[_0x5f06ea(0x123)]);if(_0x2c3c1a&&_0x2c3c1a[_0x5f06ea(0x13d)]){if(_0x46396f+=_0x5f06ea(0x160)===_0x2add96?_0x2c3c1a[_0x5f06ea(0xa1)]+_0x2c3c1a[0x0][_0x5f06ea(0x13d)]:_0xc1d034[_0x5f06ea(0x123)][_0x5f06ea(0x13d)]-_0x2c3c1a[_0x5f06ea(0xa1)],_0x2c3c1a[0x0][_0x5f06ea(0x13d)]!==_0xc1d034[_0x5f06ea(0x123)][_0x5f06ea(0x13d)])break;_0xe97de6=!0x0,_0x571785=_0x5f06ea(0x160)===_0x2add96?/^\w+/:/\w+$/;}else{if(_0xe97de6)break;_0x46396f+=_0xc1d034[_0x5f06ea(0x9d)];}}else{if(_0xc1d034['is'](_0x5f06ea(0xfc))){_0x7453e4[_0x5f06ea(0xbc)](_0xc1d034)&&!_0xe97de6&&(_0x46396f+=0x1);break;}}_0x38b584+=_0x46396f,_0x5ce71e[_0x5f06ea(0x111)](_0xa61965[_0x5f06ea(0xeb)](_0x5f06ea(0x160)===_0x2add96?_0x38b584:-_0x38b584));}return _0x38b584;}[_0x187ff7(0x162)](_0x2ee40c,_0x492ce6){const _0x20a488=_0x187ff7,_0x411220=_0x5ecf5d(this[_0x20a488(0x99)])[_0x20a488(0x7b)][_0x20a488(0x9b)],_0x120b0f=this[_0x20a488(0x120)](_0x2ee40c,_0x20a488(0xd3),_0x411220,0x6),_0x620df8=this[_0x20a488(0x120)](_0x492ce6,_0x20a488(0x160),_0x411220,0x6),_0x3c3060=_0x2ee40c[_0x20a488(0xeb)](-_0x120b0f),_0x4e31ca=_0x492ce6[_0x20a488(0xeb)](_0x620df8);return{'start':_0x3c3060,'end':_0x4e31ca,'hasContentBefore':!_0x3c3060[_0x20a488(0xcf)],'hasContentAfter':!_0x4e31ca[_0x20a488(0x130)]};}[_0x187ff7(0x153)](_0x16537e){const _0x137784=_0x187ff7,_0x1488a4=this[_0x137784(0x99)][_0x137784(0xff)][_0x137784(0xa4)](_0x137784(0x113)),_0x58486a=new Set();_0x5ecf5d(this[_0x137784(0x99)])[_0x137784(0x7b)][_0x137784(0x170)](_0x28a41a=>{const _0x12ef8e=_0x137784;for(const _0x44ca72 of _0x16537e){const _0x6b38c5=''+Me+_0x44ca72[_0x12ef8e(0x137)]+':'+_0x44ca72[_0x12ef8e(0x141)]+'_'+_0x1488a4[_0x12ef8e(0xde)](_0x58486a);this[_0x12ef8e(0x95)][_0x12ef8e(0x135)](_0x6b38c5,{'id':_0x6b38c5,'groupId':_0x44ca72[_0x12ef8e(0x141)],'type':_0x44ca72[_0x12ef8e(0x137)],'content':_0x44ca72[_0x12ef8e(0x70)]}),_0x28a41a[_0x12ef8e(0x174)](_0x6b38c5,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x28a41a[_0x12ef8e(0xd2)](_0x44ca72[_0x12ef8e(0x122)],_0x44ca72[_0x12ef8e(0x152)])});}});}[_0x187ff7(0xea)](_0x2f6636,_0x562763,_0x4f174d){let _0x37b8f3='';return()=>{const _0x3d84a8=_0x2191;if(!_0x37b8f3){const _0x220eb0=_0x562763[_0x3d84a8(0x17a)](_0x2f6636,{'showSuggestionHighlights':!0x0});let _0x2d6f02=_0x220eb0[_0x3d84a8(0x173)](0x0);if(_0x2d6f02['is'](_0x3d84a8(0x154))||(_0x2d6f02=_0x220eb0),!_0x2d6f02)return'';let _0x1ded31=!0x1;const _0x1ff5df=[];for(const _0x470311 of _0x2d6f02[_0x3d84a8(0x148)]())_0x470311['is'](_0x3d84a8(0xfc),_0x3d84a8(0xfa))&&_0x470311[_0x3d84a8(0xb1)](_0x3d84a8(0x7c))&&(_0x1ded31=!0x1),_0x1ded31&&_0x1ff5df[_0x3d84a8(0x11e)](_0x470311),_0x470311['is'](_0x3d84a8(0xfc),_0x3d84a8(0xfa))&&_0x470311[_0x3d84a8(0xb1)](_0x3d84a8(0xa2))&&(_0x1ded31=!0x0);_0x2d6f02[_0x3d84a8(0x78)](0x0,_0x2d6f02[_0x3d84a8(0x105)]),_0x4f174d?.[_0x3d84a8(0x12c)]&&_0x2d6f02[_0x3d84a8(0xfe)]('…'),_0x2d6f02[_0x3d84a8(0xfe)](_0x1ff5df),_0x4f174d?.[_0x3d84a8(0xe7)]&&_0x2d6f02[_0x3d84a8(0xfe)]('…');const _0x159ec9=_0x562763[_0x3d84a8(0xe5)][_0x3d84a8(0xaa)][_0x3d84a8(0x110)](_0x220eb0),_0x5dcf66=_0x562763[_0x3d84a8(0xe5)][_0x3d84a8(0x15f)][_0x3d84a8(0xf7)](_0x159ec9);_0x37b8f3=_0x5dcf66;}return _0x37b8f3;};}[_0x187ff7(0xf2)](_0x29a890,_0x139c70){const _0x4961f8=_0x187ff7;let _0x565827='';return()=>(_0x565827||(_0x565827=_0x139c70[_0x4961f8(0x175)](_0x29a890,{'showSuggestionHighlights':!0x0})),_0x565827);}[_0x187ff7(0xa7)](_0x254a7e,_0x102261,_0x12139c){let _0x3877a7='';return()=>{const _0x200966=_0x2191;if(!_0x3877a7){const _0x53b4d4=_0x12139c[_0x200966(0x17a)](new _0x1933a4(_0x254a7e)),_0x5f4398=_0x12139c[_0x200966(0xe5)][_0x200966(0xaa)][_0x200966(0x110)](_0x53b4d4)[_0x200966(0x8d)](_0x200966(0x87)+_0x102261+'\x22]');_0x3877a7=_0x5f4398?.[_0x200966(0xf6)]||'';}return _0x3877a7;};}[_0x187ff7(0xe0)](_0x176409,_0x4ce69f=0x5){const _0x4455c8=_0x187ff7;let _0x42269f=_0x176409,_0x8e57df=null;for(let _0x2fcd34=0x0;_0x2fcd34<_0x4ce69f&&_0x42269f;_0x2fcd34++){if(!_0x42269f[_0x4455c8(0x133)]){_0x42269f=_0x42269f[_0x4455c8(0xc8)];continue;}if(!(''+_0x42269f[_0x4455c8(0x133)])[_0x4455c8(0xb3)](_0x4455c8(0x89))){_0x42269f=_0x42269f[_0x4455c8(0xc8)];continue;}if(!_0x42269f[_0x4455c8(0x14a)](_0x4455c8(0xad)))break;_0x8e57df=_0x42269f;break;}return _0x8e57df;}[_0x187ff7(0xd5)](_0x218a08){const _0x7c33e4=_0x187ff7,_0x5cc9ad=_0x5ecf5d(this[_0x7c33e4(0x99)]),_0x153380=_0x5cc9ad[_0x7c33e4(0x7b)][_0x7c33e4(0x73)][_0x7c33e4(0xa4)](_0x218a08);return _0x153380?_0x37d925(_0x5cc9ad[_0x7c33e4(0xc9)],_0x153380):null;}[_0x187ff7(0xaf)](_0x5eebd7){const _0x16e1f1=_0x187ff7;return Array[_0x16e1f1(0x156)](this[_0x16e1f1(0x95)][_0x16e1f1(0xe8)]())[_0x16e1f1(0xb2)](_0x1eb256=>_0x1eb256[_0x16e1f1(0x141)]===_0x5eebd7);}[_0x187ff7(0xcc)](_0x8e388a){const _0x17e0d7=_0x187ff7;return _0x17e0d7(0x16d)===_0x8e388a[_0x17e0d7(0x137)]?_0x8e388a[_0x17e0d7(0x16f)]:_0x8e388a[_0x17e0d7(0x15b)][_0x17e0d7(0x122)];}[_0x187ff7(0x14e)](_0x3f4baa,_0xcfe518=!0x1){const _0x6a3e9a=_0x187ff7;return _0x6a3e9a(0x16d)===_0x3f4baa[_0x6a3e9a(0x137)]?_0xcfe518?_0x3f4baa[_0x6a3e9a(0x16f)]:_0x3f4baa[_0x6a3e9a(0x16f)][_0x6a3e9a(0xeb)](_0x3f4baa[_0x6a3e9a(0x145)]):_0x3f4baa[_0x6a3e9a(0x15b)][_0x6a3e9a(0x152)];}[_0x187ff7(0xf0)](_0x5dcde4,_0x84b15f){const _0x364127=_0x187ff7;return _0x364127(0x16d)===_0x5dcde4[_0x364127(0x137)]?_0x5dcde4[_0x364127(0x16f)]=_0x5dcde4[_0x364127(0x16f)][_0x364127(0xeb)](_0x84b15f):_0x364127(0x96)===_0x5dcde4[_0x364127(0x137)]&&_0x5dcde4[_0x364127(0x15b)]&&(_0x5dcde4[_0x364127(0x15b)]=new _0x319c20(_0x5dcde4[_0x364127(0x15b)][_0x364127(0x122)][_0x364127(0xeb)](_0x84b15f),_0x5dcde4[_0x364127(0x15b)][_0x364127(0x152)][_0x364127(0xeb)](_0x84b15f))),_0x5dcde4;}[_0x187ff7(0x128)](_0x423632,_0xae9c26){const _0x14ddd5=_0x187ff7;_0x14ddd5(0x16d)===_0x423632[_0x14ddd5(0x137)]?_0x423632[_0x14ddd5(0x16f)]=this[_0x14ddd5(0xb8)](_0x423632[_0x14ddd5(0x16f)],_0xae9c26):_0x14ddd5(0x96)===_0x423632[_0x14ddd5(0x137)]&&_0x423632[_0x14ddd5(0x15b)]&&(_0x423632[_0x14ddd5(0x15b)]=this[_0x14ddd5(0x114)](_0x423632[_0x14ddd5(0x15b)],_0xae9c26));}[_0x187ff7(0xb8)](_0x59d6cf,_0x20cff5){const _0x27afbb=_0x187ff7;return new _0x568b74(_0x20cff5,_0x59d6cf[_0x27afbb(0x163)]);}[_0x187ff7(0x114)](_0x55a320,_0x5dfd8f){const _0xec765f=_0x187ff7;return new _0x319c20(this[_0xec765f(0xb8)](_0x55a320[_0xec765f(0x122)],_0x5dfd8f),this[_0xec765f(0xb8)](_0x55a320[_0xec765f(0x152)],_0x5dfd8f));}[_0x187ff7(0x172)](_0x14db08,_0x335874){return new _0x568b74(_0x335874,[..._0x14db08]);}[_0x187ff7(0x10d)](_0x217306,_0x242521,_0x2e34b8,_0x4764b7){const _0x421f82=_0x187ff7;return new _0x319c20(this[_0x421f82(0x172)](_0x242521,_0x4764b7),this[_0x421f82(0x172)](_0x2e34b8,_0x4764b7));}[_0x187ff7(0xbf)](_0x41828b){const _0x218db9=_0x187ff7,_0x1233b0=_0x558276=>{const _0x1ac642=_0x2191;switch(_0x558276){case _0x1ac642(0x16d):return 0x0;case _0x1ac642(0x101):return 0x1;case _0x1ac642(0x10a):return 0x2;case _0x1ac642(0x171):return 0x3;}};return _0x41828b[_0x218db9(0x167)]((_0x1cd123,_0x57b979)=>_0x1233b0(_0x1cd123[_0x218db9(0x137)])-_0x1233b0(_0x57b979[_0x218db9(0x137)]));}[_0x187ff7(0x84)](_0x468ef1,_0x5b3091){const _0x5a8742=_0x187ff7,_0x5e6ad2=_0x468ef1[_0x5a8742(0x173)](0x0),_0x108a1b=_0x5b3091[_0x5a8742(0x173)](0x0);return!(!_0x5e6ad2||!_0x108a1b)&&((!_0x5e6ad2['is'](_0x5a8742(0xfc))||!_0x108a1b['is'](_0x5a8742(0xfc))||_0x5e6ad2[_0x5a8742(0x121)]===_0x108a1b[_0x5a8742(0x121)])&&!(_0x5e6ad2['is'](_0x5a8742(0xfc))&&!_0x108a1b['is'](_0x5a8742(0xfc))||!_0x5e6ad2['is'](_0x5a8742(0xfc))&&_0x108a1b['is'](_0x5a8742(0xfc))));}[_0x187ff7(0x13b)](_0x1ef2cd){const _0x542a0d=_0x187ff7;return 0x1===_0x1ef2cd[_0x542a0d(0x105)];}[_0x187ff7(0x81)](_0x599b0a,_0x204ead){const _0x3262c3=_0x187ff7;for(const _0x21c1b6 of _0x599b0a[_0x3262c3(0x148)]())if(_0x21c1b6['is'](_0x3262c3(0xfc))&&!_0x204ead[_0x3262c3(0xbc)](_0x21c1b6))return!0x1;return!0x0;}[_0x187ff7(0x11d)](_0x520f80,_0xbadc41){const _0x84b3f=_0x187ff7;let _0x14b5fc=_0x520f80[_0x84b3f(0x14a)](_0xab71f);return _0x14b5fc||(_0x14b5fc=_0xbadc41(),_0x520f80[_0x84b3f(0xe2)](_0xab71f,_0x14b5fc)),_0x14b5fc;}}
|