@ckeditor/ckeditor5-ai 47.7.1-alpha.0 → 47.7.2-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5213f6=_0x4e3b;function _0x2216(){const _0x4619f8=['parent','reduce','slice','7VhDSqe','12rpfLRN','createFromPath','4408utKCoy','nextNode','index','createAfter','indexOf','same','423TgqiWR','isEqual','createAt','ai-documentposition-createfrompath-path-cannot-be-empty','end','data','98nQXnKC','913eqUahD','889528HbbjcP','createBefore','2710878wqvxqr','ai-documentposition-index-out-of-bounds','match','getNudgedToWordBoundary','length','path','3gzufIB','start','document','2723nrlOzp','16810NDNfEo','6940973pnzIXS','previousNode','476700ZHQPpz'];_0x2216=function(){return _0x4619f8;};return _0x2216();}(function(_0x2c66ec,_0x187f9f){const _0x5c1050=_0x4e3b,_0x4927be=_0x2c66ec();while(!![]){try{const _0x570c87=-parseInt(_0x5c1050(0x1a9))/0x1*(parseInt(_0x5c1050(0x1c0))/0x2)+-parseInt(_0x5c1050(0x1a6))/0x3*(parseInt(_0x5c1050(0x1c2))/0x4)+-parseInt(_0x5c1050(0x1ad))/0x5+-parseInt(_0x5c1050(0x1c4))/0x6*(-parseInt(_0x5c1050(0x1b1))/0x7)+-parseInt(_0x5c1050(0x1b4))/0x8*(parseInt(_0x5c1050(0x1ba))/0x9)+-parseInt(_0x5c1050(0x1aa))/0xa*(parseInt(_0x5c1050(0x1c1))/0xb)+parseInt(_0x5c1050(0x1b2))/0xc*(parseInt(_0x5c1050(0x1ab))/0xd);if(_0x570c87===_0x187f9f)break;else _0x4927be['push'](_0x4927be['shift']());}catch(_0x5b4d69){_0x4927be['push'](_0x4927be['shift']());}}}(_0x2216,0x5a20d));function _0x4e3b(_0x2f304a,_0x3ae659){const _0x2216fa=_0x2216();return _0x4e3b=function(_0x4e3b6f,_0x14f50b){_0x4e3b6f=_0x4e3b6f-0x1a2;let _0x267758=_0x2216fa[_0x4e3b6f];return _0x267758;},_0x4e3b(_0x2f304a,_0x3ae659);}import{CKEditorError as _0xc5dba0,compareArrays as _0x425980}from'ckeditor5/src/utils.js';import{getNodePath as _0x6a773b,isText as _0xae5587,getChildren as _0x4f8434,isDocument as _0x19d9b8,getParent as _0x26ffee,textContent as _0x1bf446,hasChildren as _0x3c0bac}from'./htmlparser.js';export class DocumentPosition{[_0x5213f6(0x1ae)];[_0x5213f6(0x1b6)];[_0x5213f6(0x1a8)];constructor(_0x194d0e,_0x24c6d5,_0xf335a6){const _0x2ad0ca=_0x5213f6;if(_0xae5587(_0x24c6d5)&&_0xf335a6>_0x24c6d5[_0x2ad0ca(0x1bf)][_0x2ad0ca(0x1a4)])throw new _0xc5dba0(_0x2ad0ca(0x1c5),null,{'index':_0xf335a6,'parent':_0x24c6d5});if(_0x3c0bac(_0x24c6d5)&&_0xf335a6>_0x4f8434(_0x24c6d5)[_0x2ad0ca(0x1a4)])throw new _0xc5dba0(_0x2ad0ca(0x1c5),null,{'index':_0xf335a6,'parent':_0x24c6d5});if(_0xf335a6<0x0)throw new _0xc5dba0(_0x2ad0ca(0x1c5),null,{'index':_0xf335a6,'parent':_0x24c6d5});this[_0x2ad0ca(0x1ae)]=_0x24c6d5,this[_0x2ad0ca(0x1b6)]=_0xf335a6,this[_0x2ad0ca(0x1a8)]=_0x194d0e;}get[_0x5213f6(0x1a5)](){const _0x2d71ef=_0x5213f6;return[..._0x6a773b(this[_0x2d71ef(0x1ae)]),this[_0x2d71ef(0x1b6)]];}[_0x5213f6(0x1bb)](_0x83fd38){const _0x166ecf=_0x5213f6;return this[_0x166ecf(0x1a8)]==_0x83fd38[_0x166ecf(0x1a8)]&&_0x166ecf(0x1b9)===_0x425980(this[_0x166ecf(0x1a5)],_0x83fd38[_0x166ecf(0x1a5)]);}get[_0x5213f6(0x1b5)](){const _0x208b71=_0x5213f6;if(_0x3c0bac(this[_0x208b71(0x1ae)])){const _0x49c171=_0x4f8434(this[_0x208b71(0x1ae)])[this[_0x208b71(0x1b6)]];if(_0x49c171)return _0x49c171;{const _0x3e0902=DocumentPosition[_0x208b71(0x1b7)](this[_0x208b71(0x1a8)],this[_0x208b71(0x1ae)]);if(_0x3e0902)return _0x3e0902[_0x208b71(0x1b5)];}}return null;}get[_0x5213f6(0x1ac)](){const _0x4ad071=_0x5213f6;if(_0x3c0bac(this[_0x4ad071(0x1ae)])){const _0x5d1084=_0x4f8434(this[_0x4ad071(0x1ae)])[this[_0x4ad071(0x1b6)]-0x1];if(_0x5d1084)return _0x5d1084;{const _0xfd33a4=DocumentPosition[_0x4ad071(0x1c3)](this[_0x4ad071(0x1a8)],this[_0x4ad071(0x1ae)]);if(_0xfd33a4)return _0xfd33a4[_0x4ad071(0x1ac)];}}return null;}[_0x5213f6(0x1a3)](_0x1e1b9b=_0x5213f6(0x1a7)){const _0x41f103=_0x5213f6;if(!_0xae5587(this[_0x41f103(0x1ae)]))return this;const _0x5b8ea8=this[_0x41f103(0x1a5)][this[_0x41f103(0x1a5)][_0x41f103(0x1a4)]-0x1],_0x1ec43a=_0x1bf446(this[_0x41f103(0x1ae)])[_0x41f103(0x1a2)](/(?:\s*\S+\s*)/g);let _0x302ed3=0x0,_0x48789a=_0x5b8ea8;for(const _0x4220c5 of _0x1ec43a){if(_0x302ed3+_0x4220c5[_0x41f103(0x1a4)]===_0x5b8ea8)return this;if(_0x302ed3+_0x4220c5[_0x41f103(0x1a4)]>_0x5b8ea8){_0x48789a=_0x41f103(0x1a7)===_0x1e1b9b?_0x302ed3:_0x302ed3+_0x4220c5[_0x41f103(0x1a4)];break;}_0x302ed3+=_0x4220c5[_0x41f103(0x1a4)];}return DocumentPosition[_0x41f103(0x1bc)](this[_0x41f103(0x1a8)],this[_0x41f103(0x1ae)],_0x48789a);}static[_0x5213f6(0x1b7)](_0x9ecdf0,_0x2679dd){const _0x4e663f=_0x5213f6;if(_0x19d9b8(_0x2679dd))return null;const _0x496bed=_0x26ffee(_0x2679dd);return DocumentPosition[_0x4e663f(0x1bc)](_0x9ecdf0,_0x496bed,_0x4f8434(_0x496bed)[_0x4e663f(0x1b8)](_0x2679dd)+0x1);}static[_0x5213f6(0x1c3)](_0x5eca31,_0x37c10e){const _0x411aea=_0x5213f6;if(_0x19d9b8(_0x37c10e))return null;const _0xe6670a=_0x26ffee(_0x37c10e);return DocumentPosition[_0x411aea(0x1bc)](_0x5eca31,_0xe6670a,_0x4f8434(_0xe6670a)[_0x411aea(0x1b8)](_0x37c10e));}static[_0x5213f6(0x1bc)](_0x5d2754,_0x2ceb50,_0x21db0b=_0x5213f6(0x1a7)){const _0x36b3db=_0x5213f6;return new DocumentPosition(_0x5d2754,_0x2ceb50,_0x36b3db(0x1a7)===_0x21db0b?0x0:_0x36b3db(0x1be)===_0x21db0b?_0xae5587(_0x2ceb50)?_0x2ceb50[_0x36b3db(0x1bf)][_0x36b3db(0x1a4)]:_0x4f8434(_0x2ceb50)[_0x36b3db(0x1a4)]:_0x21db0b);}static[_0x5213f6(0x1b3)](_0x2d0415,_0x2026f3){const _0x19e1ce=_0x5213f6;if(!_0x2026f3[_0x19e1ce(0x1a4)])throw new _0xc5dba0(_0x19e1ce(0x1bd),null,{'path':_0x2026f3});const _0x345fec=_0x2026f3[_0x19e1ce(0x1b0)](0x0,-0x1)[_0x19e1ce(0x1af)]((_0x481e90,_0x51b01f)=>_0xae5587(_0x481e90)?_0x481e90:_0x4f8434(_0x481e90)[_0x51b01f],_0x2d0415);return DocumentPosition[_0x19e1ce(0x1bc)](_0x2d0415,_0x345fec,_0x2026f3[_0x2026f3[_0x19e1ce(0x1a4)]-0x1]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x268483=_0x1bf7;(function(_0x571b92,_0x41484f){const _0x248de5=_0x1bf7,_0x3cace5=_0x571b92();while(!![]){try{const _0xaa3144=-parseInt(_0x248de5(0x17a))/0x1*(-parseInt(_0x248de5(0x178))/0x2)+-parseInt(_0x248de5(0x181))/0x3+parseInt(_0x248de5(0x16d))/0x4*(-parseInt(_0x248de5(0x18a))/0x5)+parseInt(_0x248de5(0x17e))/0x6*(-parseInt(_0x248de5(0x188))/0x7)+-parseInt(_0x248de5(0x17f))/0x8+-parseInt(_0x248de5(0x185))/0x9*(parseInt(_0x248de5(0x180))/0xa)+parseInt(_0x248de5(0x176))/0xb;if(_0xaa3144===_0x41484f)break;else _0x3cace5['push'](_0x3cace5['shift']());}catch(_0x1c92b2){_0x3cace5['push'](_0x3cace5['shift']());}}}(_0x485f,0xc7ab5));import{DocumentPosition as _0x3c1279}from'./documentposition.js';function _0x485f(){const _0x23b5a3=['createBefore','length','document','4ihhGnm','createAfter','getNudgedToWordBoundary','push','forEach','path','getContent','createAt','previousNode','82882393jvgrzg','parent','6406tNlVyu','firstChild','50ABoLDe','start','createFromPath','slice','4284YbOMEj','12259208rCTYxw','28580kGjuvZ','4887999LQpBIy','data','end','nextNode','2790IHfkMF','reverse','lastChild','11725HrQCxN','isEqual','8167020bBlHJS','includes'];_0x485f=function(){return _0x23b5a3;};return _0x485f();}import{clone as _0x38f4ba,getParents as _0x5d37d0,Document as _0xdbb8a4,Text as _0x2b245c,isTag as _0x1e3cb5,isText as _0x5be09e,replaceElement as _0x1f7ef6,removeElement as _0x436195}from'./htmlparser.js';function _0x1bf7(_0x19422c,_0x44a34f){const _0x485f41=_0x485f();return _0x1bf7=function(_0x1bf77d,_0x4e1375){_0x1bf77d=_0x1bf77d-0x16a;let _0x1d0b4e=_0x485f41[_0x1bf77d];return _0x1d0b4e;},_0x1bf7(_0x19422c,_0x44a34f);}export class DocumentRange{[_0x268483(0x17b)];[_0x268483(0x183)];constructor(_0x48e537,_0xea03cd){const _0x9863d7=_0x268483;this[_0x9863d7(0x17b)]=_0x48e537,this[_0x9863d7(0x183)]=_0xea03cd;}[_0x268483(0x189)](_0x5e7fe3){const _0x361c15=_0x268483;return this==_0x5e7fe3||this[_0x361c15(0x17b)][_0x361c15(0x189)](_0x5e7fe3[_0x361c15(0x17b)])&&this[_0x361c15(0x183)][_0x361c15(0x189)](_0x5e7fe3[_0x361c15(0x183)]);}[_0x268483(0x16f)](){const _0x4b5248=_0x268483;return new DocumentRange(this[_0x4b5248(0x17b)][_0x4b5248(0x16f)](_0x4b5248(0x17b)),this[_0x4b5248(0x183)][_0x4b5248(0x16f)](_0x4b5248(0x183)));}[_0x268483(0x173)](){const _0x4978e5=_0x268483,_0x6e1601=_0x38f4ba(this[_0x4978e5(0x17b)][_0x4978e5(0x16c)]),_0x2ac5cb=_0x3c1279[_0x4978e5(0x17c)](_0x6e1601,this[_0x4978e5(0x17b)][_0x4978e5(0x172)]),_0x5b6ae9=_0x3c1279[_0x4978e5(0x17c)](_0x6e1601,this[_0x4978e5(0x183)][_0x4978e5(0x172)]);let _0x55c130,_0x2f5e04;if(_0x5be09e(_0x2ac5cb[_0x4978e5(0x177)])){const _0x3cc652=_0x2ac5cb[_0x4978e5(0x172)][_0x2ac5cb[_0x4978e5(0x172)][_0x4978e5(0x16b)]-0x1],_0xcaeb8=new _0x2b245c(_0x2ac5cb[_0x4978e5(0x177)][_0x4978e5(0x182)][_0x4978e5(0x17d)](_0x3cc652));_0x1f7ef6(_0x2ac5cb[_0x4978e5(0x177)],_0xcaeb8),_0x55c130=_0xcaeb8;}else _0x55c130=_0x2ac5cb[_0x4978e5(0x184)];if(_0x5be09e(_0x5b6ae9[_0x4978e5(0x177)])){const _0x50bf7a=_0x5b6ae9[_0x4978e5(0x172)][_0x5b6ae9[_0x4978e5(0x172)][_0x4978e5(0x16b)]-0x1],_0x11e6c7=new _0x2b245c(_0x5b6ae9[_0x4978e5(0x177)][_0x4978e5(0x182)][_0x4978e5(0x17d)](0x0,_0x50bf7a));_0x1f7ef6(_0x5b6ae9[_0x4978e5(0x177)],_0x11e6c7),_0x2f5e04=_0x11e6c7;}else _0x2f5e04=_0x5b6ae9[_0x4978e5(0x175)];if(!(_0x55c130&&_0x2f5e04&&_0x6e1601[_0x4978e5(0x179)]&&_0x6e1601[_0x4978e5(0x187)]))return new _0xdbb8a4([]);const _0x9cd5bd=_0x5d37d0(_0x55c130),_0x17e16d=_0x5d37d0(_0x2f5e04),_0x1f74d6=[],_0x144909=[];let _0x386ab2=_0x6e1601[_0x4978e5(0x179)];for(;_0x386ab2&&_0x386ab2!==_0x55c130;){let _0x56fc06;_0x9cd5bd[_0x4978e5(0x18b)](_0x386ab2)||_0x1f74d6[_0x4978e5(0x170)](_0x386ab2),_0x56fc06=_0x1e3cb5(_0x386ab2)?_0x3c1279[_0x4978e5(0x174)](_0x6e1601,_0x386ab2,_0x4978e5(0x17b)):_0x3c1279[_0x4978e5(0x16e)](_0x6e1601,_0x386ab2),_0x386ab2=_0x56fc06?_0x56fc06[_0x4978e5(0x184)]:null;}for(_0x386ab2=_0x6e1601[_0x4978e5(0x187)];_0x386ab2&&_0x386ab2!==_0x2f5e04;){let _0x46524f;_0x17e16d[_0x4978e5(0x18b)](_0x386ab2)||_0x144909[_0x4978e5(0x170)](_0x386ab2),_0x46524f=_0x1e3cb5(_0x386ab2)?_0x3c1279[_0x4978e5(0x174)](_0x6e1601,_0x386ab2,_0x4978e5(0x183)):_0x3c1279[_0x4978e5(0x16a)](_0x6e1601,_0x386ab2),_0x386ab2=_0x46524f?_0x46524f[_0x4978e5(0x175)]:null;}return _0x1f74d6[_0x4978e5(0x171)](_0x32c78b=>{_0x436195(_0x32c78b);}),_0x144909[_0x4978e5(0x186)]()[_0x4978e5(0x171)](_0x5c3cb9=>{_0x436195(_0x5c3cb9);}),_0x6e1601;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x40b3(){const _0x2d86da=['3262693ppbBNn','mouseOverSuggestion','1319522UekXdg','1839624gMSEBG','showChangeInText','595602VfsKCf','toggleSuggestionDisplayMode','like','1662384opPSgL','11656296uWTNwd','1WFJYGf','2418495ohnqnf','dislike','rejectSuggestion','applySuggestion','4WJcKpQ','mouseLeaveSuggestion','insertSuggestion'];_0x40b3=function(){return _0x2d86da;};return _0x40b3();}const _0xd0b89c=_0x198b;(function(_0x187b59,_0xd32104){const _0x116c4d=_0x198b,_0x420168=_0x187b59();while(!![]){try{const _0x18dc96=parseInt(_0x116c4d(0x136))/0x1*(-parseInt(_0x116c4d(0x140))/0x2)+-parseInt(_0x116c4d(0x143))/0x3+-parseInt(_0x116c4d(0x13b))/0x4*(-parseInt(_0x116c4d(0x137))/0x5)+-parseInt(_0x116c4d(0x141))/0x6+-parseInt(_0x116c4d(0x13e))/0x7+parseInt(_0x116c4d(0x134))/0x8+parseInt(_0x116c4d(0x135))/0x9;if(_0x18dc96===_0xd32104)break;else _0x420168['push'](_0x420168['shift']());}catch(_0x5011bb){_0x420168['push'](_0x420168['shift']());}}}(_0x40b3,0x56d3b));function _0x198b(_0x28196f,_0x3442bc){const _0x40b34b=_0x40b3();return _0x198b=function(_0x198b3b,_0x33b8e2){_0x198b3b=_0x198b3b-0x134;let _0x1ed766=_0x40b34b[_0x198b3b];return _0x1ed766;},_0x198b(_0x28196f,_0x3442bc);}export const AI_SUGGESTION_UI_EVENT_NAMES=[_0xd0b89c(0x142),_0xd0b89c(0x13d),_0xd0b89c(0x13a),_0xd0b89c(0x139),_0xd0b89c(0x13f),_0xd0b89c(0x13c),_0xd0b89c(0x144),_0xd0b89c(0x145),_0xd0b89c(0x138)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x141848,_0x3700ff){var _0x675246=_0xe4e5,_0xf7a270=_0x141848();while(!![]){try{var _0x3b5baa=parseInt(_0x675246(0xfc))/0x1+parseInt(_0x675246(0xff))/0x2*(-parseInt(_0x675246(0xf8))/0x3)+parseInt(_0x675246(0xfa))/0x4+parseInt(_0x675246(0xf7))/0x5+parseInt(_0x675246(0x101))/0x6*(-parseInt(_0x675246(0x100))/0x7)+-parseInt(_0x675246(0xf6))/0x8+parseInt(_0x675246(0x104))/0x9*(parseInt(_0x675246(0xfd))/0xa);if(_0x3b5baa===_0x3700ff)break;else _0xf7a270['push'](_0xf7a270['shift']());}catch(_0x3bd5ce){_0xf7a270['push'](_0xf7a270['shift']());}}}(_0xa06c,0xdc891));function _0xe4e5(_0x9db8f8,_0x488228){var _0xa06cfa=_0xa06c();return _0xe4e5=function(_0xe4e577,_0x4e1b9c){_0xe4e577=_0xe4e577-0xf5;var _0x496a27=_0xa06cfa[_0xe4e577];return _0x496a27;},_0xe4e5(_0x9db8f8,_0x488228);}import{CKEditorError as _0x303961}from'ckeditor5/src/utils.js';import{Editor as _0x38df17}from'ckeditor5/src/core.js';export function getEditorFromContext(_0x51a315){var _0x1a02cf=_0xe4e5;if(_0x51a315 instanceof _0x38df17)return _0x51a315;if(_0x51a315?.[_0x1a02cf(0x103)]&&_0x51a315[_0x1a02cf(0x103)][_0x1a02cf(0xf9)](0x0))return _0x51a315[_0x1a02cf(0x103)][_0x1a02cf(0xfe)]>0x1&&console[_0x1a02cf(0xf5)](_0x1a02cf(0xfb)),_0x51a315[_0x1a02cf(0x103)][_0x1a02cf(0xf9)](0x0);throw new _0x303961(_0x1a02cf(0x102));}function _0xa06c(){var _0xe04716=['AIChat:\x20Multiple\x20editor\x20instances\x20detected.\x20Only\x20the\x20first\x20editor\x20instance\x20will\x20be\x20used\x20for\x20AI\x20operations.\x20This\x20configuration\x20is\x20not\x20fully\x20supported\x20and\x20may\x20lead\x20to\x20unexpected\x20behavior.','640909FizHai','10fEBtAy','length','52nAADzZ','5387921fHmmsX','6UQAgwc','ai-get-editor-from-context-no-editor','editors','15243831jmLkac','warn','8421144VArjEh','5189735UjnROs','169485fLqeVI','get','3287656ZSYkpS'];_0xa06c=function(){return _0xe04716;};return _0xa06c();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x6ed4b0,_0x5d7859){const _0x2fe6bc=_0x4880,_0x52ce6e=_0x6ed4b0();while(!![]){try{const _0x3db299=-parseInt(_0x2fe6bc(0x1dc))/0x1*(-parseInt(_0x2fe6bc(0x1d3))/0x2)+-parseInt(_0x2fe6bc(0x1e5))/0x3*(-parseInt(_0x2fe6bc(0x1d1))/0x4)+-parseInt(_0x2fe6bc(0x1f0))/0x5*(parseInt(_0x2fe6bc(0x1df))/0x6)+-parseInt(_0x2fe6bc(0x1ce))/0x7+parseInt(_0x2fe6bc(0x1d4))/0x8*(parseInt(_0x2fe6bc(0x1ed))/0x9)+-parseInt(_0x2fe6bc(0x1d6))/0xa*(parseInt(_0x2fe6bc(0x1e9))/0xb)+parseInt(_0x2fe6bc(0x1e4))/0xc;if(_0x3db299===_0x5d7859)break;else _0x52ce6e['push'](_0x52ce6e['shift']());}catch(_0x409773){_0x52ce6e['push'](_0x52ce6e['shift']());}}}(_0x5ada,0x349fa));import{transformOperationSets as _0xeaf984}from'ckeditor5/src/engine.js';function _0x5ada(){const _0x2e77ab=['get','markers','oldRange','removed','5320284EDXFvZ','1530sgwyXz','cloneNode','getOperations','documentContextContent','11ZlKTcK','anchorId','type','previousSibling','81cNxnKW','getRange','filter','5snfdBV','getDiff','shift','node','map','operationsA','2887556IvJxWK','new','content','736wgAgmi','length','378414cZCWYZ','19848vhdjSV','getDocumentContext','685070fRdszp','document','history','version','data-id','model','1zdMHsA','marker','name','313032vqrxJh'];_0x5ada=function(){return _0x2e77ab;};return _0x5ada();}import{append as _0x58593d,findByAttribute as _0x3146be,prependChild as _0x391061,removeElement as _0xd248ce,serialize as _0x5190e1}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x5819f1,interaction:_0x54b45c,reply:_0x48c497,groups:_0x13311a,transform:_0x563d4a,documentCompare:_0xbf9014,documentCompareOptions:_0x75b29a}){const _0x5144f5=_0x4880,_0x3cf03d=_0x54b45c[_0x5144f5(0x1d5)]();if(!_0x3cf03d)return[];const _0x3843be=_0x3cf03d[_0x5144f5(0x1d0)],_0x1f0436=_0x3cf03d[_0x5144f5(0x1d9)],_0x20a4bd=_0x48c497[_0x5144f5(0x1e8)][_0x5144f5(0x1e6)](!0x0);for(const {changes:_0x5c4ba9}of _0x13311a){const _0x2fffd2=_0x5c4ba9[_0x5144f5(0x1ef)](_0x375032=>_0x5144f5(0x1cf)!=_0x375032[_0x5144f5(0x1eb)])[_0x5144f5(0x1cc)](_0x59b1f2=>_0x3146be(_0x5144f5(0x1da),_0x59b1f2['id'],_0x20a4bd)),_0x1a46c7=_0x5c4ba9[_0x5144f5(0x1ef)](_0x248e39=>_0x5144f5(0x1e3)!=_0x248e39[_0x5144f5(0x1eb)])[_0x5144f5(0x1cc)](_0x186d29=>_0x186d29[_0x5144f5(0x1cb)][_0x5144f5(0x1e6)](!0x0));let _0x38bd3e=null;if(_0x2fffd2[_0x5144f5(0x1d2)]){_0x38bd3e=_0x2fffd2[0x0][_0x5144f5(0x1ec)];for(let _0x5e6878=0x0;_0x5e6878<_0x2fffd2[_0x5144f5(0x1d2)];_0x5e6878++)_0xd248ce(_0x2fffd2[_0x5e6878]);}if(_0x1a46c7[_0x5144f5(0x1d2)]){_0x38bd3e||(_0x5c4ba9[0x0][_0x5144f5(0x1ea)]?_0x38bd3e=_0x3146be(_0x5144f5(0x1da),_0x5c4ba9[0x0][_0x5144f5(0x1ea)],_0x20a4bd):(_0x38bd3e=_0x1a46c7[_0x5144f5(0x1ca)](),_0x391061(_0x20a4bd,_0x38bd3e)));for(let _0x1879fb=0x0;_0x1879fb<_0x1a46c7[_0x5144f5(0x1d2)];_0x1879fb++)_0x58593d(_0x38bd3e,_0x1a46c7[_0x1879fb]),_0x38bd3e=_0x1a46c7[_0x1879fb];}}const _0x31f02a=_0x5190e1(_0x20a4bd),_0x169857=_0xbf9014[_0x5144f5(0x1c9)](_0x3843be,_0x31f02a,_0x75b29a)[_0x5144f5(0x1e7)]();if(_0x563d4a){const _0x3e9b89=_0x5819f1[_0x5144f5(0x1db)][_0x5144f5(0x1d7)][_0x5144f5(0x1d8)][_0x5144f5(0x1e7)](_0x1f0436),_0x44149f={'document':_0x5819f1[_0x5144f5(0x1db)][_0x5144f5(0x1d7)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0xeaf984(_0x169857,_0x3e9b89,_0x44149f)[_0x5144f5(0x1cd)];}return _0x169857;}function _0x4880(_0x21869e,_0x53cd2f){const _0x5ada5c=_0x5ada();return _0x4880=function(_0x4880b3,_0x562816){_0x4880b3=_0x4880b3-0x1c9;let _0xa2304a=_0x5ada5c[_0x4880b3];return _0xa2304a;},_0x4880(_0x21869e,_0x53cd2f);}export function fixMarkerOperationOldRange(_0xe89639,_0x208bda){const _0x4536e1=_0x4880;if(_0x4536e1(0x1dd)!=_0x208bda[_0x4536e1(0x1eb)])return;const _0xbef2ee=_0xe89639[_0x4536e1(0x1db)][_0x4536e1(0x1e1)][_0x4536e1(0x1e0)](_0x208bda[_0x4536e1(0x1de)]);_0xbef2ee&&(_0x208bda[_0x4536e1(0x1e2)]=_0xbef2ee[_0x4536e1(0x1ee)]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(_0x478a4f,_0x256253){const _0x4f29f7=_0x4817,_0x162190=_0x478a4f();while(!![]){try{const _0x35df29=-parseInt(_0x4f29f7(0x15a))/0x1+parseInt(_0x4f29f7(0x177))/0x2*(-parseInt(_0x4f29f7(0x144))/0x3)+parseInt(_0x4f29f7(0x19e))/0x4+-parseInt(_0x4f29f7(0x14d))/0x5*(parseInt(_0x4f29f7(0x148))/0x6)+parseInt(_0x4f29f7(0x194))/0x7+-parseInt(_0x4f29f7(0x166))/0x8*(-parseInt(_0x4f29f7(0x170))/0x9)+parseInt(_0x4f29f7(0x178))/0xa;if(_0x35df29===_0x256253)break;else _0x162190['push'](_0x162190['shift']());}catch(_0x508aee){_0x162190['push'](_0x162190['shift']());}}}(_0x55db,0x31266));import{findOne as _0x4c6a03,getAttribute as _0x2f664c,Document as _0x12f91e,serialize as _0x202a57,parse as _0x16d5fa}from'./htmlparser.js';import{fixElementSuggestionRange as _0x367c52}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x3cdad4,_DetachOperation as _0x8243bc,_removeFromModelNodeList as _0x470545,_insertIntoModelNodeList as _0x51a2e5}from'ckeditor5/src/engine.js';function _0x4817(_0x5602e9,_0x244c42){const _0x55db4d=_0x55db();return _0x4817=function(_0x481717,_0x62df03){_0x481717=_0x481717-0x135;let _0x2bc51c=_0x55db4d[_0x481717];return _0x2bc51c;},_0x4817(_0x5602e9,_0x244c42);}import{uid as _0x2cf2ee}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x14c25e,changeGroups:_0x3c5b3c,documentContextContent:_0x1cd55c,showDiff:_0x6768f3,trimUnchanged:_0x10e3bf=!0x0}){const _0x1749fb=_0x4817;return _0x3c5b3c[_0x1749fb(0x169)](_0x11e701=>{const _0x39a2c1=_0x1749fb,_0x5d0a28=new _0x12f91e([]),_0x50a0d1=new _0x12f91e([]);for(const _0x39e993 of _0x11e701[_0x39a2c1(0x164)])if(_0x6768f3&&_0x39a2c1(0x18f)==_0x39e993[_0x39a2c1(0x142)]||_0x50a0d1[_0x39a2c1(0x1a4)][_0x39a2c1(0x14a)](_0x39e993[_0x39a2c1(0x15f)][_0x39a2c1(0x191)](!0x0)),_0x39a2c1(0x173)!=_0x39e993[_0x39a2c1(0x142)]&&(_0x6768f3||_0x39a2c1(0x18f)!=_0x39e993[_0x39a2c1(0x142)])){const _0x2c7763=_0x4c6a03(_0x3bf28c=>_0x2f664c(_0x3bf28c,_0x39a2c1(0x163))==_0x39e993['id'],_0x1cd55c,!0x0);_0x2c7763&&_0x5d0a28[_0x39a2c1(0x1a4)][_0x39a2c1(0x14a)](_0x2c7763[_0x39a2c1(0x191)](!0x0));}const {content:_0xc135c0,hasChanges:_0xec35e}=function(_0x29203a,_0x4e1ed5,_0x57642c,_0x56b28c,_0x147190=!0x0){const _0x1e5ecf=_0x39a2c1,_0x2d443d=_0x29203a[_0x1e5ecf(0x151)][_0x1e5ecf(0x193)](_0x1e5ecf(0x159)),_0x27425b=_0x202a57(_0x4e1ed5),_0x2ee3a7=_0x202a57(_0x57642c),_0x5f3433=_0x29203a[_0x1e5ecf(0x18c)][_0x1e5ecf(0x16d)](_0x27425b,_0x1e5ecf(0x139)),_0x988b5d=_0x29203a[_0x1e5ecf(0x16f)][_0x1e5ecf(0x16a)](_0x5f3433,0x0),_0x3badf1=_0x2d443d[_0x1e5ecf(0x17d)](_0x27425b,_0x2ee3a7,{'anchor':_0x988b5d,'markDeletions':_0x56b28c}),_0x1eadf6=_0x3badf1[_0x1e5ecf(0x15e)]();if(0x0==_0x1eadf6[_0x1e5ecf(0x175)])return{'content':_0x4e1ed5[_0x1e5ecf(0x191)](!0x0),'hasChanges':!0x1};_0x56b28c?function(_0x3573ae,_0x56a604,_0x5f3e70){const _0xde5fa0=_0x1e5ecf;if(0x0==_0x3573ae[_0xde5fa0(0x175)])return;const _0x23a1f9=_0x5f3e70[_0xde5fa0(0x151)][_0xde5fa0(0x193)](_0xde5fa0(0x159)),_0x2a079f=_0x5f3e70[_0xde5fa0(0x151)][_0xde5fa0(0x193)](_0xde5fa0(0x145));_0x5f3e70[_0xde5fa0(0x16f)][_0xde5fa0(0x181)](_0x3bc61c=>{const _0x27d15a=_0xde5fa0,_0x575e02=new Set();for(let _0x1f8dc1=0x0;_0x1f8dc1<_0x3573ae[_0x27d15a(0x175)];_0x1f8dc1++){const _0x59a3ff=_0x3573ae[_0x1f8dc1];if(_0x59a3ff[_0x27d15a(0x172)]=null,_0x59a3ff[_0x27d15a(0x18d)]=!0x1,_0x23a1f9[_0x27d15a(0x184)](_0x59a3ff)){const _0x430650=_0x367c52(_0x59a3ff[_0x27d15a(0x195)],_0x5f3e70[_0x27d15a(0x16f)]),_0x46ad46=_0x27d15a(0x15b)+_0x2cf2ee()+_0x27d15a(0x1a6);_0x56a604[_0x27d15a(0x16c)][_0x27d15a(0x19a)](_0x46ad46,_0x430650);}else switch(_0x59a3ff[_0x27d15a(0x142)]){case _0x27d15a(0x196):{if(_0x59a3ff[_0x27d15a(0x17e)]==_0x59a3ff[_0x27d15a(0x168)])break;_0x3bc61c[_0x27d15a(0x146)][_0x27d15a(0x17c)](_0x59a3ff),_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x15c)](_0x59a3ff);const _0x507dc5=_0x27d15a(0x16e),_0x5157c1=_0x59a3ff[_0x27d15a(0x17a)],_0x2a75a7=_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x188)](_0x5157c1,_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x16a)](_0x5157c1[_0x27d15a(0x154)],_0x27d15a(0x140))),_0x27dd74=_0x27d15a(0x155)+_0x507dc5+':'+_0x2cf2ee()+_0x27d15a(0x1a6);_0x56a604[_0x27d15a(0x16c)][_0x27d15a(0x19a)](_0x27dd74,_0x2a75a7);break;}case _0x27d15a(0x19b):case _0x27d15a(0x1a9):case _0x27d15a(0x143):{if(_0x59a3ff[_0x27d15a(0x1a8)]==_0x59a3ff[_0x27d15a(0x18a)])break;_0x3bc61c[_0x27d15a(0x146)][_0x27d15a(0x17c)](_0x59a3ff),_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x15c)](_0x59a3ff);const _0x4d0a6f=_0x59a3ff[_0x27d15a(0x17f)];if(!_0x2a079f[_0x27d15a(0x185)](_0x4d0a6f))break;const _0x192b56=_0x367c52(_0x59a3ff[_0x27d15a(0x192)],_0x5f3e70[_0x27d15a(0x16f)]),_0x545045=_0x27d15a(0x155)+_0x4d0a6f+':'+_0x2cf2ee()+_0x27d15a(0x1a6);_0x56a604[_0x27d15a(0x16c)][_0x27d15a(0x19a)](_0x545045,_0x192b56);break;}case _0x27d15a(0x180):{_0x3bc61c[_0x27d15a(0x146)][_0x27d15a(0x17c)](_0x59a3ff),_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x15c)](_0x59a3ff);if(_0x3573ae[_0x1f8dc1+0x1]&&_0x27d15a(0x14c)==_0x3573ae[_0x1f8dc1+0x1][_0x27d15a(0x142)]){no(_0x56a604,_0x59a3ff);break;}const _0x402018=_0x59a3ff[_0x27d15a(0x17a)],_0xc49c94=_0x59a3ff[_0x27d15a(0x1a7)],_0x5fe648=_0x367c52(_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x188)](_0x402018,_0x402018[_0x27d15a(0x153)](_0xc49c94)),_0x5f3e70[_0x27d15a(0x16f)]),_0x5830e9=_0x27d15a(0x14b)+_0x2cf2ee()+_0x27d15a(0x1a6);_0x56a604[_0x27d15a(0x16c)][_0x27d15a(0x19a)](_0x5830e9,_0x5fe648);break;}case _0x27d15a(0x167):{_0x3bc61c[_0x27d15a(0x146)][_0x27d15a(0x17c)](_0x59a3ff),_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x15c)](_0x59a3ff);const _0x145c2e=_0x59a3ff[_0x27d15a(0x150)],_0x81882d=_0x59a3ff[_0x27d15a(0x161)],_0x1611ee=_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x188)](_0x145c2e,_0x81882d),_0x318602=_0x27d15a(0x14b)+_0x2cf2ee()+_0x27d15a(0x1a6);_0x56a604[_0x27d15a(0x16c)][_0x27d15a(0x19a)](_0x318602,_0x1611ee);break;}case _0x27d15a(0x14c):{_0x3bc61c[_0x27d15a(0x146)][_0x27d15a(0x17c)](_0x59a3ff),_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x15c)](_0x59a3ff),_0x3573ae[_0x1f8dc1-0x1]&&_0x27d15a(0x180)==_0x3573ae[_0x1f8dc1-0x1][_0x27d15a(0x142)]&&no(_0x56a604,_0x59a3ff);const _0x175d23=_0x59a3ff[_0x27d15a(0x183)](),_0x156feb=_0x59a3ff[_0x27d15a(0x1a7)];for(let _0x153602=0x0;_0x153602<_0x156feb;_0x153602++){const _0x51902e=_0x175d23[_0x27d15a(0x153)](_0x153602)[_0x27d15a(0x154)];_0x575e02[_0x27d15a(0x162)](_0x51902e);}break;}case _0x27d15a(0x136):{const _0x5f0f71=_0x59a3ff[_0x27d15a(0x13a)],_0x3ad930=_0x59a3ff[_0x27d15a(0x1a7)],_0x565820=new _0x8243bc(_0x5f0f71,_0x3ad930);_0x3bc61c[_0x27d15a(0x146)][_0x27d15a(0x17c)](_0x565820),_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x15c)](_0x565820);break;}}}for(const _0x55e8ab of _0x575e02){const _0x476521=_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x157)](_0x55e8ab),_0x5e899b=_0x27d15a(0x19f)+_0x2cf2ee()+_0x27d15a(0x1a6);_0x56a604[_0x27d15a(0x16c)][_0x27d15a(0x19a)](_0x5e899b,_0x367c52(_0x476521,_0x5f3e70[_0x27d15a(0x16f)]));}});}(_0x1eadf6,_0x5f3433,_0x29203a):_0x29203a[_0x1e5ecf(0x16f)][_0x1e5ecf(0x181)](_0x24b26d=>{const _0x8443d5=_0x1e5ecf;for(const _0x4c32e9 of _0x1eadf6)if(_0x8443d5(0x136)==_0x4c32e9[_0x8443d5(0x142)]){const _0xb513a9=_0x4c32e9[_0x8443d5(0x13a)],_0x1dda4f=_0x4c32e9[_0x8443d5(0x1a7)],_0x1c1ff8=new _0x8243bc(_0xb513a9,_0x1dda4f);_0x24b26d[_0x8443d5(0x146)][_0x8443d5(0x17c)](_0x1c1ff8),_0x29203a[_0x8443d5(0x16f)][_0x8443d5(0x15c)](_0x1c1ff8);}else{if(_0x8443d5(0x138)==_0x4c32e9[_0x8443d5(0x142)]){const _0x38a066=_0x4c32e9[_0x8443d5(0x1a5)],_0x1c1efd=_0x4c32e9[_0x8443d5(0x195)];null!==_0x1c1efd?_0x5f3433[_0x8443d5(0x16c)][_0x8443d5(0x19a)](_0x38a066,_0x1c1efd):_0x5f3433[_0x8443d5(0x16c)][_0x8443d5(0x149)](_0x38a066);}else _0x4c32e9[_0x8443d5(0x172)]=null,_0x4c32e9[_0x8443d5(0x18d)]=!0x1,_0x24b26d[_0x8443d5(0x146)][_0x8443d5(0x17c)](_0x4c32e9),_0x29203a[_0x8443d5(0x16f)][_0x8443d5(0x15c)](_0x4c32e9);}});if(_0x147190){const _0x3d7f49=getMinimalSelection(_0x29203a,_0x1eadf6,_0x5f3433);expandSelectionWithContext(_0x29203a[_0x1e5ecf(0x16f)],_0x3d7f49),function(_0x1bc86f,_0x44f76e){const _0x54b434=_0x1e5ecf,_0x5e1dc8=_0x44f76e[_0x54b434(0x18e)]()[_0x54b434(0x19c)];let _0x54d454=_0x44f76e[_0x54b434(0x18e)]()[_0x54b434(0x140)];const _0x343bc6=_0x5e1dc8[_0x54b434(0x199)];(_0x54d454[_0x54b434(0x1a3)]||_0x54d454[_0x54b434(0x154)]&&_0x54d454[_0x54b434(0x154)]['is'](_0x54b434(0x13b)))&&(_0x51a2e5(_0x54d454,_0x54b434(0x160)),_0x54d454=_0x54d454[_0x54b434(0x153)](0x3)),(_0x5e1dc8[_0x54b434(0x1a3)]||_0x5e1dc8[_0x54b434(0x198)]&&_0x5e1dc8[_0x54b434(0x198)]['is'](_0x54b434(0x13b)))&&(_0x51a2e5(_0x5e1dc8,_0x54b434(0x160)),function(_0x3e54c2,_0x1826b7,_0x4a2831){const _0x1c7d5d=_0x54b434;for(let [_0x4d42c5,_0x3f6c74]of _0x3e54c2[_0x1c7d5d(0x16c)]){const _0x1df2f3=_0x3f6c74[_0x1c7d5d(0x13d)](_0x1826b7,_0x4a2831,!0x1);_0x3f6c74=_0x1df2f3[0x0],_0x3e54c2[_0x1c7d5d(0x16c)][_0x1c7d5d(0x19a)](_0x4d42c5,_0x3f6c74);}}(_0x343bc6,_0x5e1dc8,0x3),_0x5e1dc8[_0x54b434(0x15d)]==_0x54d454[_0x54b434(0x15d)]&&(_0x54d454=_0x54d454[_0x54b434(0x153)](0x3)));const _0x15f5ac=_0x1bc86f[_0x54b434(0x188)](_0x1bc86f[_0x54b434(0x16a)](_0x343bc6,0x0),_0x5e1dc8),_0x1214bc=_0x1bc86f[_0x54b434(0x188)](_0x54d454,_0x1bc86f[_0x54b434(0x16a)](_0x343bc6,_0x54b434(0x140))),_0x2af0ac=[..._0x15f5ac[_0x54b434(0x137)](),..._0x1214bc[_0x54b434(0x137)]()];_0x2af0ac[_0x54b434(0x14f)]();for(const _0x517693 of _0x2af0ac)_0x470545(_0x517693),_transformMarkersByDeletion(_0x343bc6,_0x517693);}(_0x29203a[_0x1e5ecf(0x16f)],_0x3d7f49);}const _0x4be8ed=_0x29203a[_0x1e5ecf(0x18c)][_0x1e5ecf(0x16b)](_0x5f3433,{'showSuggestionHighlights':!0x0});return{'content':_0x16d5fa(_0x4be8ed),'hasChanges':!0x0};}(_0x14c25e,_0x5d0a28,_0x50a0d1,_0x6768f3,_0x10e3bf);return{'type':_0x11e701[_0x39a2c1(0x164)][0x0][_0x39a2c1(0x142)],'index':_0x11e701[_0x39a2c1(0x186)],'content':_0xc135c0,'hasChanges':_0xec35e};});}function no(_0x30f2b6,_0x5d8a6e){const _0x4742a2=_0x4817;for(const [_0x3c3e06,_0x46214f]of _0x30f2b6[_0x4742a2(0x16c)]){const _0x208fc5=_0x3cdad4[_0x4742a2(0x182)](_0x46214f[_0x4742a2(0x165)](_0x5d8a6e));_0x30f2b6[_0x4742a2(0x16c)][_0x4742a2(0x19a)](_0x3c3e06,_0x208fc5);}}function _0x55db(){const _0x762827=['createPositionAt','stringify','markers','parse','$elementName','model','16038XuBCPf','_getTransformedByDeletion','baseVersion','new','isAfter','length','modifySelection','90494EOeHTs','6248770xOKRau','schema','position','isBefore','addOperation','getDiff','oldName','key','insert','change','_createFromRanges','getMovedRangeStart','isMarkedRemoveOperation','isRegisteredAttribute','index','slice','createRange','createSelection','newValue','focus','data','isDocumentOperation','getFirstRange','removed','isBlock','cloneNode','range','get','1198064vGOTAt','newRange','rename','element','nodeBefore','root','set','addAttribute','start','forward','831812ShpEng','suggestion:formatBlock:$fakeWrap:','word','POSITIVE_INFINITY','merge','textNode','children','name',':$aiSuggestion','howMany','oldValue','removeAttribute','setTo','remove','getMinimalFlatRanges','marker','$root','sourcePosition','$text','isObject','_getTransformedByInsertion','offset','path','end','backward','type','changeAttribute','24ugRurG','SuggestionsConversion','batch','clone','1506IpGNTE','delete','push','suggestion:insertion:','move','6010gDVJil','createPositionFromPath','reverse','splitPosition','plugins','stickiness','getShiftedBy','nodeAfter','suggestion:attribute:','toNone','createRangeOn','targetPosition','DocumentCompare','390248PmMqqs','suggestion:deletion:','applyOperation','parent','getOperations','node','...','moveTargetPosition','add','data-id','changes','getTransformedByOperation','1128JaxgRR','split','newName','map'];_0x55db=function(){return _0x762827;};return _0x55db();}export function getMinimalSelection(_0x57d180,_0x2052b8,_0x5c80a3){const _0x4aa329=_0x4817,_0x15db3b=_0x57d180[_0x4aa329(0x151)][_0x4aa329(0x193)](_0x4aa329(0x159));let _0x13adde=_0x57d180[_0x4aa329(0x16f)][_0x4aa329(0x16a)](_0x5c80a3,Number[_0x4aa329(0x1a1)]),_0x47435d=_0x57d180[_0x4aa329(0x16f)][_0x4aa329(0x16a)](_0x5c80a3,0x0);for(const _0x347aa1 of _0x2052b8){let _0x1db5d2,_0x193d22;if(_0x15db3b[_0x4aa329(0x184)](_0x347aa1))_0x1db5d2=_0x347aa1[_0x4aa329(0x195)][_0x4aa329(0x19c)],_0x193d22=_0x347aa1[_0x4aa329(0x195)][_0x4aa329(0x140)];else switch(_0x13adde=_0x13adde[_0x4aa329(0x165)](_0x347aa1),_0x47435d=_0x47435d[_0x4aa329(0x165)](_0x347aa1),_0x347aa1[_0x4aa329(0x142)]){case _0x4aa329(0x196):_0x1db5d2=_0x347aa1[_0x4aa329(0x17a)],_0x193d22=_0x1db5d2[_0x4aa329(0x153)](0x1);break;case _0x4aa329(0x19b):case _0x4aa329(0x1a9):case _0x4aa329(0x143):_0x1db5d2=_0x347aa1[_0x4aa329(0x192)][_0x4aa329(0x19c)],_0x193d22=_0x347aa1[_0x4aa329(0x192)][_0x4aa329(0x140)];break;case _0x4aa329(0x180):_0x1db5d2=_0x347aa1[_0x4aa329(0x17a)],_0x193d22=_0x1db5d2[_0x4aa329(0x153)](_0x347aa1[_0x4aa329(0x1a7)]);break;case _0x4aa329(0x167):_0x1db5d2=_0x347aa1[_0x4aa329(0x150)],_0x193d22=_0x347aa1[_0x4aa329(0x161)];break;case _0x4aa329(0x1a2):{const _0xb14ca3=_0x347aa1[_0x4aa329(0x158)][_0x4aa329(0x13f)][_0x4aa329(0x187)](0x0,-0x1);_0x1db5d2=_0x57d180[_0x4aa329(0x16f)][_0x4aa329(0x14e)](_0x5c80a3,_0xb14ca3),_0x193d22=_0x1db5d2[_0x4aa329(0x153)](0x1);break;}case _0x4aa329(0x136):{const _0x14341e=_0x347aa1[_0x4aa329(0x1a7)],_0xfff4a1=_0x347aa1[_0x4aa329(0x13a)][_0x4aa329(0x13d)](_0x347aa1[_0x4aa329(0x158)],_0x14341e),_0x36a9e7=_0x347aa1[_0x4aa329(0x183)]();_0x4aa329(0x136)==_0x347aa1[_0x4aa329(0x142)]?(_0x1db5d2=_0xfff4a1,_0x193d22=_0xfff4a1):(_0x1db5d2=_0x36a9e7,_0x193d22=_0x36a9e7[_0x4aa329(0x153)](_0x14341e));break;}}_0x1db5d2&&_0x1db5d2[_0x4aa329(0x17b)](_0x13adde)&&(_0x13adde=_0x1db5d2[_0x4aa329(0x147)](),_0x13adde[_0x4aa329(0x152)]=_0x4aa329(0x156)),_0x193d22&&_0x193d22[_0x4aa329(0x174)](_0x47435d)&&(_0x47435d=_0x193d22[_0x4aa329(0x147)](),_0x47435d[_0x4aa329(0x152)]=_0x4aa329(0x156));}return _0x57d180[_0x4aa329(0x16f)][_0x4aa329(0x189)](_0x57d180[_0x4aa329(0x16f)][_0x4aa329(0x188)](_0x13adde,_0x47435d));}export function expandSelectionWithContext(_0x174b4f,_0x48ad73){const _0xacb4f9=_0x4817;ro(_0x174b4f,_0x48ad73,_0xacb4f9(0x19d));const _0x5d21a1=_0x48ad73[_0xacb4f9(0x18e)]();_0x48ad73[_0xacb4f9(0x135)]([]),_0x48ad73[_0xacb4f9(0x135)](_0x5d21a1,{'backward':!0x0}),ro(_0x174b4f,_0x48ad73,_0xacb4f9(0x141));}function ro(_0x49490a,_0x5c1494,_0x53487e){const _0x5bfe3b=_0x4817;let _0x4d4085=0x14;for(;_0x4d4085;){_0x49490a[_0x5bfe3b(0x176)](_0x5c1494,{'unit':_0x5bfe3b(0x1a0),'direction':_0x53487e}),_0x4d4085--;const _0x498056=_0x5c1494[_0x5bfe3b(0x18b)][_0x5bfe3b(0x19d)==_0x53487e?_0x5bfe3b(0x198):_0x5bfe3b(0x154)];if(_0x498056&&_0x498056['is'](_0x5bfe3b(0x197))&&_0x49490a[_0x5bfe3b(0x179)][_0x5bfe3b(0x190)](_0x498056)&&_0x49490a[_0x5bfe3b(0x179)][_0x5bfe3b(0x13c)](_0x498056))break;}}export function _transformMarkersByDeletion(_0x2a1de4,_0x31de2d){const _0x31d4ee=_0x4817;for(const [_0x2bad1c,_0x5da1f3]of _0x2a1de4[_0x31d4ee(0x16c)]){const _0x371ae2=_0x5da1f3[_0x31d4ee(0x171)](_0x31de2d[_0x31d4ee(0x19c)],_0x31de2d[_0x31d4ee(0x140)][_0x31d4ee(0x13e)]-_0x31de2d[_0x31d4ee(0x19c)][_0x31d4ee(0x13e)]);null!=_0x371ae2?_0x2a1de4[_0x31d4ee(0x16c)][_0x31d4ee(0x19a)](_0x2bad1c,_0x371ae2):_0x2a1de4[_0x31d4ee(0x16c)][_0x31d4ee(0x149)](_0x2bad1c);}}
|
|
23
|
+
function _0x184f(_0x36ba87,_0x11c53c){const _0x8d4783=_0x8d47();return _0x184f=function(_0x184fa9,_0x3c5e93){_0x184fa9=_0x184fa9-0x9b;let _0x5316fe=_0x8d4783[_0x184fa9];return _0x5316fe;},_0x184f(_0x36ba87,_0x11c53c);}(function(_0x251190,_0x10bea8){const _0x3a47b5=_0x184f,_0x22ee10=_0x251190();while(!![]){try{const _0x15fbee=parseInt(_0x3a47b5(0xed))/0x1+parseInt(_0x3a47b5(0xba))/0x2*(-parseInt(_0x3a47b5(0xdd))/0x3)+-parseInt(_0x3a47b5(0xa7))/0x4*(-parseInt(_0x3a47b5(0xdc))/0x5)+parseInt(_0x3a47b5(0xde))/0x6*(parseInt(_0x3a47b5(0xcf))/0x7)+parseInt(_0x3a47b5(0xa5))/0x8*(parseInt(_0x3a47b5(0xfa))/0x9)+-parseInt(_0x3a47b5(0xf0))/0xa*(parseInt(_0x3a47b5(0xfb))/0xb)+-parseInt(_0x3a47b5(0xd0))/0xc*(parseInt(_0x3a47b5(0xd9))/0xd);if(_0x15fbee===_0x10bea8)break;else _0x22ee10['push'](_0x22ee10['shift']());}catch(_0x26c31b){_0x22ee10['push'](_0x22ee10['shift']());}}}(_0x8d47,0xc3c2e));import{findOne as _0x3d4878,getAttribute as _0x2d654d,Document as _0x159c58,serialize as _0x298116,parse as _0x37ad22}from'./htmlparser.js';import{fixElementSuggestionRange as _0x4c5497}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x536317,_DetachOperation as _0x55bb1c,_removeFromModelNodeList as _0xee08e3,_insertIntoModelNodeList as _0x2d5f7d}from'ckeditor5/src/engine.js';function _0x8d47(){const _0x31292c=['isBefore','suggestion:insertion:','newRange','13vkLSex','length','merge','16025DQRinr','57BzDtCR','6VCeVET','marker','children','_getTransformedByDeletion','model','setTo','getShiftedBy','range','move','getOperations','nodeAfter','newName','name','textNode','data','87733qayfsh','slice','oldValue','13190hAKTGx','schema','targetPosition','sourcePosition','getMovedRangeStart','isBlock','batch','delete','suggestion:attribute:','stringify','9763731dWrNKW','9251cEQNOy','_getTransformedByInsertion','suggestion:deletion:','start','rename','path','map','end','markers','baseVersion','type','isRegisteredAttribute','forward','changeAttribute','plugins','createSelection','addOperation','SuggestionsConversion','removeAttribute','get','clone','$text','word','getFirstRange','splitPosition','root','isObject','index','getMinimalFlatRanges','focus','changes','parse','isMarkedRemoveOperation','modifySelection','8QWADIJ','getDiff','1604PfLZzJ','createPositionAt','addAttribute','cloneNode','element','backward','...','POSITIVE_INFINITY','removed','offset','push','getTransformedByOperation',':$aiSuggestion','applyOperation','toNone','createPositionFromPath','$root','stickiness','split','164446vMpsMq','suggestion:formatBlock:$fakeWrap:','moveTargetPosition','_createFromRanges','new','isDocumentOperation','data-id','createRangeOn','insert','parent','howMany','change','key','remove','position','isAfter','newValue','add','DocumentCompare','nodeBefore','reverse','9412669FEHIsi','3949320rllneC','createRange','node','set','oldName','$elementName'];_0x8d47=function(){return _0x31292c;};return _0x8d47();}import{uid as _0x5d297f}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x47e0eb,changeGroups:_0x1768cf,documentContextContent:_0x3f8347,showDiff:_0x39a2c9,trimUnchanged:_0x3c9689=!0x0}){const _0x2d12cc=_0x184f;return _0x1768cf[_0x2d12cc(0x101)](_0x187f71=>{const _0x8afe78=_0x2d12cc,_0x461df4=new _0x159c58([]),_0x2e1a36=new _0x159c58([]);for(const _0x4467cf of _0x187f71[_0x8afe78(0xa1)])if(_0x39a2c9&&_0x8afe78(0xaf)==_0x4467cf[_0x8afe78(0x105)]||_0x2e1a36[_0x8afe78(0xe0)][_0x8afe78(0xb1)](_0x4467cf[_0x8afe78(0xd2)][_0x8afe78(0xaa)](!0x0)),_0x8afe78(0xbe)!=_0x4467cf[_0x8afe78(0x105)]&&(_0x39a2c9||_0x8afe78(0xaf)!=_0x4467cf[_0x8afe78(0x105)])){const _0x37ae85=_0x3d4878(_0x231171=>_0x2d654d(_0x231171,_0x8afe78(0xc0))==_0x4467cf['id'],_0x3f8347,!0x0);_0x37ae85&&_0x461df4[_0x8afe78(0xe0)][_0x8afe78(0xb1)](_0x37ae85[_0x8afe78(0xaa)](!0x0));}const {content:_0x1bdd27,hasChanges:_0x1f726b}=function(_0x5d405a,_0x14cd8f,_0x3d4c69,_0x370bb3,_0x13ea8d=!0x0){const _0xb17ffb=_0x8afe78,_0x566a5e=_0x5d405a[_0xb17ffb(0x109)][_0xb17ffb(0x10e)](_0xb17ffb(0xcc)),_0x55c6b9=_0x298116(_0x14cd8f),_0x5836a7=_0x298116(_0x3d4c69),_0x4e4ab9=_0x5d405a[_0xb17ffb(0xec)][_0xb17ffb(0xa2)](_0x55c6b9,_0xb17ffb(0xb7)),_0x45ca12=_0x5d405a[_0xb17ffb(0xe2)][_0xb17ffb(0xa8)](_0x4e4ab9,0x0),_0x343653=_0x566a5e[_0xb17ffb(0xa6)](_0x55c6b9,_0x5836a7,{'anchor':_0x45ca12,'markDeletions':_0x370bb3}),_0x20215b=_0x343653[_0xb17ffb(0xe7)]();if(0x0==_0x20215b[_0xb17ffb(0xda)])return{'content':_0x14cd8f[_0xb17ffb(0xaa)](!0x0),'hasChanges':!0x1};_0x370bb3?function(_0x12afba,_0x9a620d,_0x3ca99c){const _0x325e60=_0xb17ffb;if(0x0==_0x12afba[_0x325e60(0xda)])return;const _0x3f8863=_0x3ca99c[_0x325e60(0x109)][_0x325e60(0x10e)](_0x325e60(0xcc)),_0x38cee0=_0x3ca99c[_0x325e60(0x109)][_0x325e60(0x10e)](_0x325e60(0x10c));_0x3ca99c[_0x325e60(0xe2)][_0x325e60(0xc5)](_0x3aaf11=>{const _0x888479=_0x325e60,_0x3d12f5=new Set();for(let _0x396cd1=0x0;_0x396cd1<_0x12afba[_0x888479(0xda)];_0x396cd1++){const _0x54ef5c=_0x12afba[_0x396cd1];if(_0x54ef5c[_0x888479(0x104)]=null,_0x54ef5c[_0x888479(0xbf)]=!0x1,_0x3f8863[_0x888479(0xa3)](_0x54ef5c)){const _0x5e8a2f=_0x4c5497(_0x54ef5c[_0x888479(0xd8)],_0x3ca99c[_0x888479(0xe2)]),_0xf63656=_0x888479(0xfd)+_0x5d297f()+_0x888479(0xb3);_0x9a620d[_0x888479(0x103)][_0x888479(0xd3)](_0xf63656,_0x5e8a2f);}else switch(_0x54ef5c[_0x888479(0x105)]){case _0x888479(0xff):{if(_0x54ef5c[_0x888479(0xd4)]==_0x54ef5c[_0x888479(0xe9)])break;_0x3aaf11[_0x888479(0xf6)][_0x888479(0x10b)](_0x54ef5c),_0x3ca99c[_0x888479(0xe2)][_0x888479(0xb4)](_0x54ef5c);const _0x5d1934=_0x888479(0xd5),_0x2a82bd=_0x54ef5c[_0x888479(0xc8)],_0x1cd0ee=_0x3ca99c[_0x888479(0xe2)][_0x888479(0xd1)](_0x2a82bd,_0x3ca99c[_0x888479(0xe2)][_0x888479(0xa8)](_0x2a82bd[_0x888479(0xe8)],_0x888479(0x102))),_0xa2d81=_0x888479(0xf8)+_0x5d1934+':'+_0x5d297f()+_0x888479(0xb3);_0x9a620d[_0x888479(0x103)][_0x888479(0xd3)](_0xa2d81,_0x1cd0ee);break;}case _0x888479(0xa9):case _0x888479(0x10d):case _0x888479(0x108):{if(_0x54ef5c[_0x888479(0xef)]==_0x54ef5c[_0x888479(0xca)])break;_0x3aaf11[_0x888479(0xf6)][_0x888479(0x10b)](_0x54ef5c),_0x3ca99c[_0x888479(0xe2)][_0x888479(0xb4)](_0x54ef5c);const _0x4d5781=_0x54ef5c[_0x888479(0xc6)];if(!_0x38cee0[_0x888479(0x106)](_0x4d5781))break;const _0x386967=_0x4c5497(_0x54ef5c[_0x888479(0xe5)],_0x3ca99c[_0x888479(0xe2)]),_0x5310d5=_0x888479(0xf8)+_0x4d5781+':'+_0x5d297f()+_0x888479(0xb3);_0x9a620d[_0x888479(0x103)][_0x888479(0xd3)](_0x5310d5,_0x386967);break;}case _0x888479(0xc2):{_0x3aaf11[_0x888479(0xf6)][_0x888479(0x10b)](_0x54ef5c),_0x3ca99c[_0x888479(0xe2)][_0x888479(0xb4)](_0x54ef5c);if(_0x12afba[_0x396cd1+0x1]&&_0x888479(0xe6)==_0x12afba[_0x396cd1+0x1][_0x888479(0x105)]){no(_0x9a620d,_0x54ef5c);break;}const _0x3e1ada=_0x54ef5c[_0x888479(0xc8)],_0x4a1894=_0x54ef5c[_0x888479(0xc4)],_0x187496=_0x4c5497(_0x3ca99c[_0x888479(0xe2)][_0x888479(0xd1)](_0x3e1ada,_0x3e1ada[_0x888479(0xe4)](_0x4a1894)),_0x3ca99c[_0x888479(0xe2)]),_0x350513=_0x888479(0xd7)+_0x5d297f()+_0x888479(0xb3);_0x9a620d[_0x888479(0x103)][_0x888479(0xd3)](_0x350513,_0x187496);break;}case _0x888479(0xb9):{_0x3aaf11[_0x888479(0xf6)][_0x888479(0x10b)](_0x54ef5c),_0x3ca99c[_0x888479(0xe2)][_0x888479(0xb4)](_0x54ef5c);const _0x7ced29=_0x54ef5c[_0x888479(0x9b)],_0x4377ab=_0x54ef5c[_0x888479(0xbc)],_0x29b713=_0x3ca99c[_0x888479(0xe2)][_0x888479(0xd1)](_0x7ced29,_0x4377ab),_0x3332cc=_0x888479(0xd7)+_0x5d297f()+_0x888479(0xb3);_0x9a620d[_0x888479(0x103)][_0x888479(0xd3)](_0x3332cc,_0x29b713);break;}case _0x888479(0xe6):{_0x3aaf11[_0x888479(0xf6)][_0x888479(0x10b)](_0x54ef5c),_0x3ca99c[_0x888479(0xe2)][_0x888479(0xb4)](_0x54ef5c),_0x12afba[_0x396cd1-0x1]&&_0x888479(0xc2)==_0x12afba[_0x396cd1-0x1][_0x888479(0x105)]&&no(_0x9a620d,_0x54ef5c);const _0x5cab5f=_0x54ef5c[_0x888479(0xf4)](),_0x4037c4=_0x54ef5c[_0x888479(0xc4)];for(let _0x162a42=0x0;_0x162a42<_0x4037c4;_0x162a42++){const _0x3418d7=_0x5cab5f[_0x888479(0xe4)](_0x162a42)[_0x888479(0xe8)];_0x3d12f5[_0x888479(0xcb)](_0x3418d7);}break;}case _0x888479(0xc7):{const _0xfa1f05=_0x54ef5c[_0x888479(0xf3)],_0x423bd4=_0x54ef5c[_0x888479(0xc4)],_0x147086=new _0x55bb1c(_0xfa1f05,_0x423bd4);_0x3aaf11[_0x888479(0xf6)][_0x888479(0x10b)](_0x147086),_0x3ca99c[_0x888479(0xe2)][_0x888479(0xb4)](_0x147086);break;}}}for(const _0x545e78 of _0x3d12f5){const _0x46e27d=_0x3ca99c[_0x888479(0xe2)][_0x888479(0xc1)](_0x545e78),_0x115d27=_0x888479(0xbb)+_0x5d297f()+_0x888479(0xb3);_0x9a620d[_0x888479(0x103)][_0x888479(0xd3)](_0x115d27,_0x4c5497(_0x46e27d,_0x3ca99c[_0x888479(0xe2)]));}});}(_0x20215b,_0x4e4ab9,_0x5d405a):_0x5d405a[_0xb17ffb(0xe2)][_0xb17ffb(0xc5)](_0x233ca2=>{const _0x392602=_0xb17ffb;for(const _0x5441dd of _0x20215b)if(_0x392602(0xc7)==_0x5441dd[_0x392602(0x105)]){const _0x4e04af=_0x5441dd[_0x392602(0xf3)],_0x181f6f=_0x5441dd[_0x392602(0xc4)],_0x552084=new _0x55bb1c(_0x4e04af,_0x181f6f);_0x233ca2[_0x392602(0xf6)][_0x392602(0x10b)](_0x552084),_0x5d405a[_0x392602(0xe2)][_0x392602(0xb4)](_0x552084);}else{if(_0x392602(0xdf)==_0x5441dd[_0x392602(0x105)]){const _0xe493d1=_0x5441dd[_0x392602(0xea)],_0x3030af=_0x5441dd[_0x392602(0xd8)];null!==_0x3030af?_0x4e4ab9[_0x392602(0x103)][_0x392602(0xd3)](_0xe493d1,_0x3030af):_0x4e4ab9[_0x392602(0x103)][_0x392602(0xf7)](_0xe493d1);}else _0x5441dd[_0x392602(0x104)]=null,_0x5441dd[_0x392602(0xbf)]=!0x1,_0x233ca2[_0x392602(0xf6)][_0x392602(0x10b)](_0x5441dd),_0x5d405a[_0x392602(0xe2)][_0x392602(0xb4)](_0x5441dd);}});if(_0x13ea8d){const _0xc02fa=getMinimalSelection(_0x5d405a,_0x20215b,_0x4e4ab9);expandSelectionWithContext(_0x5d405a[_0xb17ffb(0xe2)],_0xc02fa),function(_0x5c2eb7,_0x5f0299){const _0x13acdf=_0xb17ffb,_0xcb8d15=_0x5f0299[_0x13acdf(0x112)]()[_0x13acdf(0xfe)];let _0x5d2b9d=_0x5f0299[_0x13acdf(0x112)]()[_0x13acdf(0x102)];const _0x592626=_0xcb8d15[_0x13acdf(0x9c)];(_0x5d2b9d[_0x13acdf(0xeb)]||_0x5d2b9d[_0x13acdf(0xe8)]&&_0x5d2b9d[_0x13acdf(0xe8)]['is'](_0x13acdf(0x110)))&&(_0x2d5f7d(_0x5d2b9d,_0x13acdf(0xad)),_0x5d2b9d=_0x5d2b9d[_0x13acdf(0xe4)](0x3)),(_0xcb8d15[_0x13acdf(0xeb)]||_0xcb8d15[_0x13acdf(0xcd)]&&_0xcb8d15[_0x13acdf(0xcd)]['is'](_0x13acdf(0x110)))&&(_0x2d5f7d(_0xcb8d15,_0x13acdf(0xad)),function(_0x35e7ce,_0x474524,_0x1c27d8){const _0x18ed12=_0x13acdf;for(let [_0x3865d7,_0x36e837]of _0x35e7ce[_0x18ed12(0x103)]){const _0x4723a7=_0x36e837[_0x18ed12(0xfc)](_0x474524,_0x1c27d8,!0x1);_0x36e837=_0x4723a7[0x0],_0x35e7ce[_0x18ed12(0x103)][_0x18ed12(0xd3)](_0x3865d7,_0x36e837);}}(_0x592626,_0xcb8d15,0x3),_0xcb8d15[_0x13acdf(0xc3)]==_0x5d2b9d[_0x13acdf(0xc3)]&&(_0x5d2b9d=_0x5d2b9d[_0x13acdf(0xe4)](0x3)));const _0x38c25f=_0x5c2eb7[_0x13acdf(0xd1)](_0x5c2eb7[_0x13acdf(0xa8)](_0x592626,0x0),_0xcb8d15),_0x40e4dc=_0x5c2eb7[_0x13acdf(0xd1)](_0x5d2b9d,_0x5c2eb7[_0x13acdf(0xa8)](_0x592626,_0x13acdf(0x102))),_0xf7d8c0=[..._0x38c25f[_0x13acdf(0x9f)](),..._0x40e4dc[_0x13acdf(0x9f)]()];_0xf7d8c0[_0x13acdf(0xce)]();for(const _0x37af5d of _0xf7d8c0)_0xee08e3(_0x37af5d),_transformMarkersByDeletion(_0x592626,_0x37af5d);}(_0x5d405a[_0xb17ffb(0xe2)],_0xc02fa);}const _0x3bb2c7=_0x5d405a[_0xb17ffb(0xec)][_0xb17ffb(0xf9)](_0x4e4ab9,{'showSuggestionHighlights':!0x0});return{'content':_0x37ad22(_0x3bb2c7),'hasChanges':!0x0};}(_0x47e0eb,_0x461df4,_0x2e1a36,_0x39a2c9,_0x3c9689);return{'type':_0x187f71[_0x8afe78(0xa1)][0x0][_0x8afe78(0x105)],'index':_0x187f71[_0x8afe78(0x9e)],'content':_0x1bdd27,'hasChanges':_0x1f726b};});}function no(_0x36102a,_0x4eaf13){const _0x402ca6=_0x184f;for(const [_0x406b6f,_0x5e513d]of _0x36102a[_0x402ca6(0x103)]){const _0xf93865=_0x536317[_0x402ca6(0xbd)](_0x5e513d[_0x402ca6(0xb2)](_0x4eaf13));_0x36102a[_0x402ca6(0x103)][_0x402ca6(0xd3)](_0x406b6f,_0xf93865);}}export function getMinimalSelection(_0x36e835,_0x2bef31,_0x272a40){const _0x4a0aac=_0x184f,_0x27f1dc=_0x36e835[_0x4a0aac(0x109)][_0x4a0aac(0x10e)](_0x4a0aac(0xcc));let _0x3047d5=_0x36e835[_0x4a0aac(0xe2)][_0x4a0aac(0xa8)](_0x272a40,Number[_0x4a0aac(0xae)]),_0x4cfd89=_0x36e835[_0x4a0aac(0xe2)][_0x4a0aac(0xa8)](_0x272a40,0x0);for(const _0x2fa5f3 of _0x2bef31){let _0x3fb011,_0x4b17cf;if(_0x27f1dc[_0x4a0aac(0xa3)](_0x2fa5f3))_0x3fb011=_0x2fa5f3[_0x4a0aac(0xd8)][_0x4a0aac(0xfe)],_0x4b17cf=_0x2fa5f3[_0x4a0aac(0xd8)][_0x4a0aac(0x102)];else switch(_0x3047d5=_0x3047d5[_0x4a0aac(0xb2)](_0x2fa5f3),_0x4cfd89=_0x4cfd89[_0x4a0aac(0xb2)](_0x2fa5f3),_0x2fa5f3[_0x4a0aac(0x105)]){case _0x4a0aac(0xff):_0x3fb011=_0x2fa5f3[_0x4a0aac(0xc8)],_0x4b17cf=_0x3fb011[_0x4a0aac(0xe4)](0x1);break;case _0x4a0aac(0xa9):case _0x4a0aac(0x10d):case _0x4a0aac(0x108):_0x3fb011=_0x2fa5f3[_0x4a0aac(0xe5)][_0x4a0aac(0xfe)],_0x4b17cf=_0x2fa5f3[_0x4a0aac(0xe5)][_0x4a0aac(0x102)];break;case _0x4a0aac(0xc2):_0x3fb011=_0x2fa5f3[_0x4a0aac(0xc8)],_0x4b17cf=_0x3fb011[_0x4a0aac(0xe4)](_0x2fa5f3[_0x4a0aac(0xc4)]);break;case _0x4a0aac(0xb9):_0x3fb011=_0x2fa5f3[_0x4a0aac(0x9b)],_0x4b17cf=_0x2fa5f3[_0x4a0aac(0xbc)];break;case _0x4a0aac(0xdb):{const _0x310a82=_0x2fa5f3[_0x4a0aac(0xf2)][_0x4a0aac(0x100)][_0x4a0aac(0xee)](0x0,-0x1);_0x3fb011=_0x36e835[_0x4a0aac(0xe2)][_0x4a0aac(0xb6)](_0x272a40,_0x310a82),_0x4b17cf=_0x3fb011[_0x4a0aac(0xe4)](0x1);break;}case _0x4a0aac(0xc7):{const _0x4c587f=_0x2fa5f3[_0x4a0aac(0xc4)],_0x21918c=_0x2fa5f3[_0x4a0aac(0xf3)][_0x4a0aac(0xfc)](_0x2fa5f3[_0x4a0aac(0xf2)],_0x4c587f),_0x5378fc=_0x2fa5f3[_0x4a0aac(0xf4)]();_0x4a0aac(0xc7)==_0x2fa5f3[_0x4a0aac(0x105)]?(_0x3fb011=_0x21918c,_0x4b17cf=_0x21918c):(_0x3fb011=_0x5378fc,_0x4b17cf=_0x5378fc[_0x4a0aac(0xe4)](_0x4c587f));break;}}_0x3fb011&&_0x3fb011[_0x4a0aac(0xd6)](_0x3047d5)&&(_0x3047d5=_0x3fb011[_0x4a0aac(0x10f)](),_0x3047d5[_0x4a0aac(0xb8)]=_0x4a0aac(0xb5)),_0x4b17cf&&_0x4b17cf[_0x4a0aac(0xc9)](_0x4cfd89)&&(_0x4cfd89=_0x4b17cf[_0x4a0aac(0x10f)](),_0x4cfd89[_0x4a0aac(0xb8)]=_0x4a0aac(0xb5));}return _0x36e835[_0x4a0aac(0xe2)][_0x4a0aac(0x10a)](_0x36e835[_0x4a0aac(0xe2)][_0x4a0aac(0xd1)](_0x3047d5,_0x4cfd89));}export function expandSelectionWithContext(_0x321c7d,_0x110b7f){const _0x130f93=_0x184f;ro(_0x321c7d,_0x110b7f,_0x130f93(0x107));const _0x8a5d18=_0x110b7f[_0x130f93(0x112)]();_0x110b7f[_0x130f93(0xe3)]([]),_0x110b7f[_0x130f93(0xe3)](_0x8a5d18,{'backward':!0x0}),ro(_0x321c7d,_0x110b7f,_0x130f93(0xac));}function ro(_0x5bd3f4,_0x52d166,_0x22ed56){const _0x1c1001=_0x184f;let _0x4e90aa=0x14;for(;_0x4e90aa;){_0x5bd3f4[_0x1c1001(0xa4)](_0x52d166,{'unit':_0x1c1001(0x111),'direction':_0x22ed56}),_0x4e90aa--;const _0x124c33=_0x52d166[_0x1c1001(0xa0)][_0x1c1001(0x107)==_0x22ed56?_0x1c1001(0xcd):_0x1c1001(0xe8)];if(_0x124c33&&_0x124c33['is'](_0x1c1001(0xab))&&_0x5bd3f4[_0x1c1001(0xf1)][_0x1c1001(0xf5)](_0x124c33)&&_0x5bd3f4[_0x1c1001(0xf1)][_0x1c1001(0x9d)](_0x124c33))break;}}export function _transformMarkersByDeletion(_0x26992b,_0x22bc98){const _0x15bf3c=_0x184f;for(const [_0x30a60b,_0x53cd17]of _0x26992b[_0x15bf3c(0x103)]){const _0x10bfff=_0x53cd17[_0x15bf3c(0xe1)](_0x22bc98[_0x15bf3c(0xfe)],_0x22bc98[_0x15bf3c(0x102)][_0x15bf3c(0xb0)]-_0x22bc98[_0x15bf3c(0xfe)][_0x15bf3c(0xb0)]);null!=_0x10bfff?_0x26992b[_0x15bf3c(0x103)][_0x15bf3c(0xd3)](_0x30a60b,_0x10bfff):_0x26992b[_0x15bf3c(0x103)][_0x15bf3c(0xf7)](_0x30a60b);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x13d9c6,_0x28aee6){const _0x112a3e=_0xd6dc,_0x1e0f12=_0x13d9c6();while(!![]){try{const _0x366a44=parseInt(_0x112a3e(0xea))/0x1*(-parseInt(_0x112a3e(0xe1))/0x2)+parseInt(_0x112a3e(0xdc))/0x3*(parseInt(_0x112a3e(0xe7))/0x4)+-parseInt(_0x112a3e(0xdb))/0x5*(parseInt(_0x112a3e(0xd6))/0x6)+parseInt(_0x112a3e(0xd7))/0x7*(parseInt(_0x112a3e(0xde))/0x8)+-parseInt(_0x112a3e(0xe3))/0x9+-parseInt(_0x112a3e(0xe5))/0xa+parseInt(_0x112a3e(0xe9))/0xb;if(_0x366a44===_0x28aee6)break;else _0x1e0f12['push'](_0x1e0f12['shift']());}catch(_0x9364b4){_0x1e0f12['push'](_0x1e0f12['shift']());}}}(_0x3a86,0x9f24c));import{parseDocument as _0x156486}from'htmlparser2';function _0xd6dc(_0x4dea8a,_0x3f88c6){const _0x3a86d5=_0x3a86();return _0xd6dc=function(_0xd6dca5,_0x4a3e49){_0xd6dca5=_0xd6dca5-0xd6;let _0x5c4650=_0x3a86d5[_0xd6dca5];return _0x5c4650;},_0xd6dc(_0x4dea8a,_0x3f88c6);}import{append as _0x29ec5c,appendChild as _0x12f021,find as _0xebcbc1,findAll as _0x18560a,findOne as _0x42b4a3,getChildren as _0x9b1cea,isComment as _0x798bf8,isTag as _0x466f3c,prepend as _0x5947e3,prependChild as _0x525050,removeElement as _0x3ab336,replaceElement as _0xb973d1,textContent as _0x169efb,getParent as _0x3aaab9,hasChildren as _0x4ded4f}from'domutils';import _0x442d5d from'dom-serializer';import{cloneNode as _0x48a82f,isDocument as _0x11d87d,isText as _0x199602,Element as _0x3941da,Text as _0x35e64a,Document as _0x316410,NodeWithChildren as _0x1a80fd}from'domhandler';export{_0x48a82f as cloneNode,_0xebcbc1 as find,_0x42b4a3 as findOne,_0x18560a as findAll,_0x9b1cea as getChildren,_0x3aaab9 as getParent,_0x798bf8 as isComment,_0x11d87d as isDocument,_0x466f3c as isTag,_0x199602 as isText,_0x29ec5c as append,_0x12f021 as appendChild,_0x5947e3 as prepend,_0x525050 as prependChild,_0x442d5d as render,_0x3ab336 as removeElement,_0xb973d1 as replaceElement,_0x169efb as textContent,_0x4ded4f as hasChildren,_0x3941da as Element,_0x316410 as Document,_0x1a80fd as NodeWithChildren,_0x35e64a as Text};export function parse(_0x2aeaa9){return _0x156486(_0x2aeaa9);}export function serialize(_0x83bcc0){return _0x442d5d(_0x83bcc0);}export function findByAttribute(_0x20a3a8,_0x2beee8,_0x335cdb){const _0x3b734f=_0xd6dc,_0x1b9fe8=null!==_0x2beee8?_0xced694=>_0xced694[_0x3b734f(0xda)][_0x20a3a8]===_0x2beee8:_0x1ac8e3=>Boolean(_0x1ac8e3[_0x3b734f(0xda)][_0x20a3a8]);return _0x42b4a3(_0x1b9a6e=>_0x466f3c(_0x1b9a6e)&&_0x1b9fe8(_0x1b9a6e),_0x335cdb);}export function findAllByAttribute(_0x99273c,_0x4bbfae,_0x573c84){const _0x1e460b=_0xd6dc,_0x30f9de=null!==_0x4bbfae?_0x5e825e=>_0x5e825e[_0x1e460b(0xda)][_0x99273c]===_0x4bbfae:_0x79185c=>Boolean(_0x79185c[_0x1e460b(0xda)][_0x99273c]);return _0x18560a(_0x356aa3=>_0x466f3c(_0x356aa3)&&_0x30f9de(_0x356aa3),_0x573c84);}export function findAllComments(_0x5a24d2){return _0xebcbc1(_0x560465=>_0x798bf8(_0x560465),_0x5a24d2,!0x0,0x1/0x0);}export function getAttribute(_0x5c607d,_0x3a555b){const _0x234458=_0xd6dc;return _0x5c607d&&_0x466f3c(_0x5c607d)?_0x5c607d[_0x234458(0xda)][_0x3a555b]:null;}export function setAttribute(_0x351524,_0x4a332c,_0x566023){const _0x44ff71=_0xd6dc;_0x466f3c(_0x351524)&&(null===_0x566023?delete _0x351524[_0x44ff71(0xda)][_0x4a332c]:_0x351524[_0x44ff71(0xda)][_0x4a332c]=_0x566023);}export function insertElement(_0x25ad11,_0xf2732,_0x37a8a7){const _0x328c6a=_0xd6dc,_0x335b70=_0xf2732[_0x328c6a(0xeb)](!0x0);_0x328c6a(0xe2)===_0x37a8a7?_0x5947e3(_0x25ad11,_0x335b70):_0x328c6a(0xe6)===_0x37a8a7?_0x525050(_0x25ad11,_0x335b70):_0x328c6a(0xee)===_0x37a8a7?_0x12f021(_0x25ad11,_0x335b70):_0x328c6a(0xef)===_0x37a8a7&&_0x29ec5c(_0x25ad11,_0x335b70);}export function moveElement(_0x2d0b74,_0x285344){_0x3ab336(_0x2d0b74),_0xb973d1(_0x285344,_0x2d0b74);}export function clone(_0x59ad58){const _0x55b480=_0xd6dc;return _0x59ad58[_0x55b480(0xeb)](!0x0);}export function getParents(_0x46f448){const _0xd18a63=_0xd6dc,_0x1a43c7=[];let _0x106d3a=_0x46f448;for(;_0x106d3a;)_0x106d3a=_0x3aaab9(_0x106d3a),_0x106d3a&&_0x1a43c7[_0xd18a63(0xd9)](_0x106d3a);return _0x1a43c7;}export function normalizeHTML(_0x35337b){const _0x2cb670=_0xd6dc;return _0x35337b[_0x2cb670(0xe4)](/^\s+/gm,'')[_0x2cb670(0xe4)](/\s+$/gm,'')[_0x2cb670(0xe4)](/\n*/g,'')[_0x2cb670(0xe4)](/\s+/g,'\x20')[_0x2cb670(0xe4)](/>\s*</g,'><');}export function areNodesSame(_0x507f58,_0x595499){return normalizeHTML(serialize(_0x507f58))===normalizeHTML(serialize(_0x595499));}function _0x3a86(){const _0x247a53=['105UqADsR','nextSibling','push','attribs','3865325eJxYVL','78NgRvNQ','parentNode','621032VqvjFH','forEach','reverse','605482XRbrjz','beforebegin','10643751GaOaKT','replace','3337230cwqRYW','afterbegin','133928vdkAnS','indexOf','23290036UMCuwB','4GhxqGw','cloneNode','map','slice','beforeend','afterend','6eqZNBr'];_0x3a86=function(){return _0x247a53;};return _0x3a86();}export function getNodeNestingLevel(_0x23317e){const _0x280887=_0xd6dc;let _0xde6d73=0x0;for(;_0x23317e[_0x280887(0xdd)];)_0x23317e=_0x23317e[_0x280887(0xdd)],_0xde6d73++;return _0xde6d73;}export function removeElementsAfter(_0x3174f6){const _0x303f9c=_0xd6dc,_0x309cff=[];let _0xaa9575=_0x3174f6[_0x303f9c(0xd8)];for(;_0xaa9575;)_0x309cff[_0x303f9c(0xd9)](_0xaa9575),_0xaa9575=_0xaa9575[_0x303f9c(0xd8)];_0x309cff[_0x303f9c(0xdf)](_0x42974b=>{_0x3ab336(_0x42974b);});}export function getNodePath(_0x55192e){const _0x41b607=_0xd6dc;return[_0x55192e,...getParents(_0x55192e)][_0x41b607(0xed)](0x0,-0x1)[_0x41b607(0xec)](_0x3a0032=>{const _0xbde026=_0x41b607,_0x4b3c68=_0x3aaab9(_0x3a0032);return _0x9b1cea(_0x4b3c68)[_0xbde026(0xe8)](_0x3a0032);})[_0x41b607(0xe0)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x19ea35=_0x2c6c;(function(_0x1462c2,_0x235c1f){const _0x3788d9=_0x2c6c,_0x4aa6fb=_0x1462c2();while(!![]){try{const _0x321a09=parseInt(_0x3788d9(0x98))/0x1*(parseInt(_0x3788d9(0xa9))/0x2)+-parseInt(_0x3788d9(0x9b))/0x3*(parseInt(_0x3788d9(0xa1))/0x4)+parseInt(_0x3788d9(0x95))/0x5+-parseInt(_0x3788d9(0x94))/0x6*(-parseInt(_0x3788d9(0x8c))/0x7)+parseInt(_0x3788d9(0x87))/0x8+-parseInt(_0x3788d9(0xb5))/0x9*(-parseInt(_0x3788d9(0x81))/0xa)+-parseInt(_0x3788d9(0xa8))/0xb*(parseInt(_0x3788d9(0xbc))/0xc);if(_0x321a09===_0x235c1f)break;else _0x4aa6fb['push'](_0x4aa6fb['shift']());}catch(_0x5dbda9){_0x4aa6fb['push'](_0x4aa6fb['shift']());}}}(_0x15cc,0x39562));import _0x5be22c from'morphdom';import{NodeWithChildren as _0x52b22f,Text as _0x5a7453,Element as _0x4cb8b0,isText as _0x4ab041,isDocument as _0x5559c3,isTag as _0x165683,cloneNode as _0x146976,getChildren as _0x3ce37d,prepend as _0x18b40d,removeElement as _0x292e90,textContent as _0x2ea93d,render as _0x534aeb}from'./htmlparser.js';export class HTMLStreamer{[_0x19ea35(0xc0)];[_0x19ea35(0x93)]=!0x1;[_0x19ea35(0x83)]=null;[_0x19ea35(0xb2)]=[];[_0x19ea35(0x89)]=0x0;[_0x19ea35(0x8e)]=null;[_0x19ea35(0x8b)]=0x0;constructor(_0x22b95e){const _0x153211=_0x19ea35;this[_0x153211(0xc0)]={'delay':_0x22b95e[_0x153211(0xba)]??0x14,'textNodeStyle':_0x22b95e[_0x153211(0xb4)],'onStreamUpdate':_0x22b95e[_0x153211(0x85)]||(()=>{})};}async[_0x19ea35(0xa3)]({document:_0x4f160e,targetElement:_0x5c6379,abortSignal:_0xc7ddcb}){const _0x5a4db2=_0x19ea35;this[_0x5a4db2(0x93)]&&this[_0x5a4db2(0xb8)](),_0xc7ddcb?.[_0x5a4db2(0xbb)](_0x5a4db2(0x86),this[_0x5a4db2(0xb8)][_0x5a4db2(0x84)](this)),this[_0x5a4db2(0x83)]=_0x146976(_0x4f160e,!0x0),this[_0x5a4db2(0xb2)]=this[_0x5a4db2(0xac)](),this[_0x5a4db2(0x93)]=!0x0,this[_0x5a4db2(0x89)]>this[_0x5a4db2(0xb2)][_0x5a4db2(0x82)]&&(this[_0x5a4db2(0x89)]=this[_0x5a4db2(0xb2)][_0x5a4db2(0x82)]);for(let _0x3e1a9e=0x0;_0x3e1a9e<this[_0x5a4db2(0x89)];_0x3e1a9e++)this[_0x5a4db2(0xb2)][_0x3e1a9e][_0x5a4db2(0xa5)]=!0x0;do{const _0x565082=Date[_0x5a4db2(0xb0)](),_0x5048b7=this[_0x5a4db2(0xb2)][this[_0x5a4db2(0x89)]],_0x4dc56d=_0x565082-this[_0x5a4db2(0x8b)];if(_0x5048b7){_0x5048b7[_0x5a4db2(0xa5)]=!0x0;let _0x2f7c26=_0x5048b7[_0x5a4db2(0x97)];for(;_0x2f7c26;)_0x2f7c26[_0x5a4db2(0xa5)]=!0x0,_0x2f7c26=_0x2f7c26[_0x5a4db2(0x97)];}if(_0x4dc56d<this[_0x5a4db2(0xc0)][_0x5a4db2(0xba)])try{const {promise:_0x35d65d,abortController:_0x2687d4}=Cs(this[_0x5a4db2(0xc0)][_0x5a4db2(0xba)]-_0x4dc56d);this[_0x5a4db2(0x8e)]=_0x2687d4,await _0x35d65d;}catch(_0x5d401b){return;}_0x5be22c(_0x5c6379,'<'+_0x5c6379[_0x5a4db2(0x8d)]+'>'+this[_0x5a4db2(0x9c)](this[_0x5a4db2(0x83)])+'</'+_0x5c6379[_0x5a4db2(0x8d)]+'>',{'childrenOnly':!0x0}),this[_0x5a4db2(0xc0)][_0x5a4db2(0x85)]&&this[_0x5a4db2(0xc0)][_0x5a4db2(0x85)](),this[_0x5a4db2(0x89)]++,this[_0x5a4db2(0x8b)]=Date[_0x5a4db2(0xb0)]();}while(this[_0x5a4db2(0x89)]<this[_0x5a4db2(0xb2)][_0x5a4db2(0x82)]);this[_0x5a4db2(0x89)]=this[_0x5a4db2(0xb2)][_0x5a4db2(0x82)],this[_0x5a4db2(0x93)]=!0x1;}[_0x19ea35(0xae)](){const _0x22bd89=_0x19ea35;this[_0x22bd89(0x93)]=!0x1,this[_0x22bd89(0x83)]=null,this[_0x22bd89(0xb2)]=[],this[_0x22bd89(0x89)]=0x0,this[_0x22bd89(0x8e)]=null;}[_0x19ea35(0xb1)]({targetElement:_0xe16c7}){const _0x2edaa4=_0x19ea35;Array[_0x2edaa4(0x9e)](_0xe16c7[_0x2edaa4(0xab)](_0x2edaa4(0xa6)))[_0x2edaa4(0x91)]()[_0x2edaa4(0xbf)](_0x47d1ec=>{const _0x5b12eb=_0x2edaa4;_0x47d1ec[_0x5b12eb(0x9a)](_0x47d1ec[_0x5b12eb(0xa7)][0x0]);});}[_0x19ea35(0xb8)](){const _0x2496f9=_0x19ea35;this[_0x2496f9(0x93)]=!0x1,this[_0x2496f9(0x8e)]&&(this[_0x2496f9(0x8e)][_0x2496f9(0x86)](),this[_0x2496f9(0x8e)]=null);}[_0x19ea35(0x9c)](_0x4f57f3){const _0x4c8c47=_0x19ea35;let _0x75e025='';if(function(_0x4e2cf5){return _0x5559c3(_0x4e2cf5);}(_0x4f57f3)){for(const _0x408dc6 of _0x4f57f3[_0x4c8c47(0xb9)])_0x75e025+=this[_0x4c8c47(0x9c)](_0x408dc6);}else{if(Ts(_0x4f57f3)){if(!_0x4f57f3[_0x4c8c47(0xa5)])return'';const _0x576fa0=_0x4f57f3,_0x11638f=Object[_0x4c8c47(0x96)](_0x576fa0[_0x4c8c47(0xbe)])[_0x4c8c47(0xb6)](([_0x5c6571,_0x51ac44])=>_0x5c6571+'=\x22'+_0x51ac44+'\x22')[_0x4c8c47(0x8f)]('\x20');_0x75e025+='<'+_0x576fa0[_0x4c8c47(0x8d)]+(_0x11638f?'\x20'+_0x11638f:'')+'>';for(const _0x1aa523 of _0x3ce37d(_0x576fa0))_0x75e025+=this[_0x4c8c47(0x9c)](_0x1aa523);_0x75e025+='</'+_0x576fa0[_0x4c8c47(0x8d)]+'>';}else{if(!Ss(_0x4f57f3))return'';if(!_0x4f57f3[_0x4c8c47(0xa5)])return'';!function(_0x5c718a){const _0x4554af=_0x4c8c47;if(!_0x5c718a[_0x4554af(0x97)]||!Ts(_0x5c718a[_0x4554af(0x97)]))return!0x1;if(!ys[_0x4554af(0xa2)](_0x5c718a[_0x4554af(0x97)][_0x4554af(0x8d)]))return!0x1;return!_0x2ea93d(_0x5c718a)[_0x4554af(0x88)](/^\s*[<>]\s*$/);}(_0x4f57f3)?_0x75e025+=_0x534aeb(_0x4f57f3):_0x75e025+=_0x534aeb(new _0x4cb8b0(_0x4c8c47(0xb3),{'data-ck-html-streamer-word-chunk':'','style':this[_0x4c8c47(0xc0)][_0x4c8c47(0xb4)]},[_0x4f57f3]));}}return _0x75e025;}[_0x19ea35(0xac)](){const _0x207098=_0x19ea35,_0x2d1277=[];return function(_0x45b1dd,_0xf36c61){const _0x6c2a95=_0x2c6c,_0x1d025d=_0x42e00b=>{const _0x57f262=_0x2c6c;if(_0xf36c61(_0x42e00b),_0x42e00b instanceof _0x52b22f)for(let _0x20769c=0x0;_0x20769c<_0x42e00b[_0x57f262(0xb9)][_0x57f262(0x82)];_0x20769c++){const _0x86bf61=_0x42e00b[_0x57f262(0xb9)][_0x20769c];_0x1d025d(_0x86bf61);}};for(let _0x37d860=0x0;_0x37d860<_0x45b1dd[_0x6c2a95(0xb9)][_0x6c2a95(0x82)];_0x37d860++)_0x1d025d(_0x45b1dd[_0x6c2a95(0xb9)][_0x37d860]);}(this[_0x207098(0x83)],_0x203ef9=>{const _0x3cf59a=_0x207098;if(Ss(_0x203ef9)){const _0x30fd26=this[_0x3cf59a(0x9d)](_0x203ef9);_0x30fd26[_0x3cf59a(0x82)]&&_0x2d1277[_0x3cf59a(0xb7)](..._0x30fd26);}_0x203ef9[_0x3cf59a(0xaf)]||_0x203ef9[_0x3cf59a(0x8a)]||_0x2d1277[_0x3cf59a(0xb7)](_0x203ef9);}),_0x2d1277;}[_0x19ea35(0x9d)](_0xd12795){const _0x4cec4d=_0x19ea35;if(_0xd12795[_0x4cec4d(0xaf)]||_0xd12795[_0x4cec4d(0x8a)])return[];const _0x5a9b99=_0x2ea93d(_0xd12795)[_0x4cec4d(0x88)](/(?:\s*\S+\s*)/g),_0x3f438a=[];if(_0x5a9b99&&_0x5a9b99[_0x4cec4d(0x82)]>0x1){for(const _0xe9edaa of _0x5a9b99){const _0x2ec760=new _0x5a7453(_0xe9edaa);_0x2ec760[_0x4cec4d(0x8a)]=!0x0,_0x18b40d(_0xd12795,_0x2ec760),_0x3f438a[_0x4cec4d(0xb7)](_0x2ec760);}_0xd12795[_0x4cec4d(0xaf)]=!0x0,_0x292e90(_0xd12795);}return _0x3f438a;}}const ys=['p','li','td','th',_0x19ea35(0xb3),'h1','h2','h3','h4','h5','h6','b',_0x19ea35(0x9f),'i','em',_0x19ea35(0xbd),_0x19ea35(0xaa),_0x19ea35(0xad),_0x19ea35(0xa0),_0x19ea35(0x99),'a',_0x19ea35(0xa4),_0x19ea35(0x92)];function _0x2c6c(_0x58f139,_0x43ce58){const _0x15cca1=_0x15cc();return _0x2c6c=function(_0x2c6c69,_0x51a617){_0x2c6c69=_0x2c6c69-0x81;let _0x428593=_0x15cca1[_0x2c6c69];return _0x428593;},_0x2c6c(_0x58f139,_0x43ce58);}function Ss(_0x186297){return _0x4ab041(_0x186297);}function Ts(_0x7e627b){return _0x165683(_0x7e627b);}function Cs(_0x35a7fb){const _0x171b00=new AbortController();return{'promise':new Promise((_0x206ab4,_0x1de6e7)=>{const _0x3fbb5b=_0x2c6c,_0x27ff04=setTimeout(_0x206ab4,_0x35a7fb);_0x171b00[_0x3fbb5b(0x90)][_0x3fbb5b(0xbb)](_0x3fbb5b(0x86),()=>{clearTimeout(_0x27ff04),_0x1de6e7();});}),'abortController':_0x171b00};}function _0x15cc(){const _0x3f305f=['reverse','div','isStreaming','298458tpzOEv','2268250yagUwC','entries','parent','12szqDcO','sub','replaceWith','3zpTcHG','renderNode','splitTextNodeIntoWordNodes','from','strong','sup','1865980AGtVzz','includes','stream','code','shouldBeStreamed','span[data-ck-html-streamer-word-chunk]','childNodes','362021kopwHA','10522owijqh','del','querySelectorAll','getParsedDocumentNodeList','ins','reset','isWordSplitSource','now','cleanUpAnimations','nodesList','span','textNodeStyle','1590003yMWfiN','map','push','stop','children','delay','addEventListener','132CQYHIu','mark','attribs','forEach','options','10XpLNDr','length','document','bind','onStreamUpdate','abort','1765504lQWqVF','match','currentIndex','isWordSplitResult','lastUpdateTime','21xxtJMx','tagName','timeoutAbortController','join','signal'];_0x15cc=function(){return _0x3f305f;};return _0x15cc();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1154c0=_0x389a;function _0x40bf(){const _0x4bdce9=['PageDown','addEventListener','auto','End','_onUserEvent','keydown','74133KTlmYo','isUserPaused','Home','abort','4544406CJfyMx','921705TMqgPP','stop','destroy','1600nLUWDP','bind','_isAtBottom','ArrowDown','abortController','scrollHeight','touchstart','isRunning','includes','type','ArrowUp','7000ulwFMo','6094697NIMoDg','1032KrHbaQ','PageUp','scrollTo','wheel','_stop','deltaY','start','animationFrameId','signal','_rafUpdate','6133260CKzHGO','1980PbasPX','element','key','3882ieWqNl','pointerdown'];_0x40bf=function(){return _0x4bdce9;};return _0x40bf();}function _0x389a(_0x11cd05,_0x1d9bd3){const _0x40bfc4=_0x40bf();return _0x389a=function(_0x389a7a,_0x7b0898){_0x389a7a=_0x389a7a-0x1d2;let _0x27197e=_0x40bfc4[_0x389a7a];return _0x27197e;},_0x389a(_0x11cd05,_0x1d9bd3);}(function(_0x309236,_0x3a2181){const _0x47dd9d=_0x389a,_0xba022f=_0x309236();while(!![]){try{const _0x10393c=parseInt(_0x47dd9d(0x1f1))/0x1+-parseInt(_0x47dd9d(0x1e4))/0x2*(parseInt(_0x47dd9d(0x1e1))/0x3)+-parseInt(_0x47dd9d(0x1d4))/0x4*(-parseInt(_0x47dd9d(0x1f4))/0x5)+-parseInt(_0x47dd9d(0x1f0))/0x6+parseInt(_0x47dd9d(0x1d5))/0x7+-parseInt(_0x47dd9d(0x1d6))/0x8*(-parseInt(_0x47dd9d(0x1ec))/0x9)+-parseInt(_0x47dd9d(0x1e0))/0xa;if(_0x10393c===_0x3a2181)break;else _0xba022f['push'](_0xba022f['shift']());}catch(_0x168070){_0xba022f['push'](_0xba022f['shift']());}}}(_0x40bf,0xba51a));const Fs=[_0x1154c0(0x1d9),_0x1154c0(0x1fa),_0x1154c0(0x1e5),_0x1154c0(0x1eb)],Us=[_0x1154c0(0x1d3),_0x1154c0(0x1f7),_0x1154c0(0x1d7),_0x1154c0(0x1e6),_0x1154c0(0x1ee),_0x1154c0(0x1e9),'\x20'];export class ScrollManager{[_0x1154c0(0x1e2)];[_0x1154c0(0x1dd)];[_0x1154c0(0x1fb)];[_0x1154c0(0x1f8)];[_0x1154c0(0x1ed)];constructor(_0x75b59){const _0x338566=_0x1154c0;this[_0x338566(0x1e2)]=_0x75b59,this[_0x338566(0x1dd)]=null,this[_0x338566(0x1fb)]=!0x1,this[_0x338566(0x1f8)]=new AbortController(),this[_0x338566(0x1ed)]=!0x1;for(const _0x32630f of Fs){const _0x21d1a6=_0x338566(0x1eb)!==_0x32630f;this[_0x338566(0x1e2)][_0x338566(0x1e7)](_0x32630f,this[_0x338566(0x1ea)][_0x338566(0x1f5)](this),{'passive':_0x21d1a6,'signal':this[_0x338566(0x1f8)][_0x338566(0x1de)]});}}[_0x1154c0(0x1dc)](){const _0x3d4db7=_0x1154c0;this[_0x3d4db7(0x1fb)]||(this[_0x3d4db7(0x1fb)]=!0x0,this[_0x3d4db7(0x1ed)]=!0x1,this[_0x3d4db7(0x1dd)]=requestAnimationFrame(this[_0x3d4db7(0x1df)][_0x3d4db7(0x1f5)](this)));}[_0x1154c0(0x1f2)](){requestAnimationFrame(()=>{const _0x8d01ae=_0x389a;this[_0x8d01ae(0x1da)]();});}[_0x1154c0(0x1f3)](){const _0x18ef7f=_0x1154c0;this[_0x18ef7f(0x1da)](),this[_0x18ef7f(0x1f8)][_0x18ef7f(0x1ef)]();}[_0x1154c0(0x1da)](){const _0x3ef32a=_0x1154c0;null!==this[_0x3ef32a(0x1dd)]&&(cancelAnimationFrame(this[_0x3ef32a(0x1dd)]),this[_0x3ef32a(0x1dd)]=null),this[_0x3ef32a(0x1fb)]&&(this[_0x3ef32a(0x1fb)]=!0x1),this[_0x3ef32a(0x1ed)]=!0x1;}[_0x1154c0(0x1ea)](_0xfcac06){const _0x47b4c4=_0x1154c0;if(this[_0x47b4c4(0x1fb)]){if(_0x47b4c4(0x1eb)===_0xfcac06[_0x47b4c4(0x1d2)]){const _0x206f05=_0xfcac06[_0x47b4c4(0x1e3)];if(!Us[_0x47b4c4(0x1fc)](_0x206f05))return;}_0xfcac06 instanceof WheelEvent?_0xfcac06[_0x47b4c4(0x1db)]<0x0?this[_0x47b4c4(0x1ed)]=!0x0:this[_0x47b4c4(0x1ed)]=!this[_0x47b4c4(0x1f6)]():this[_0x47b4c4(0x1ed)]=!0x0;}}[_0x1154c0(0x1f6)](){const _0x2d7c7c=_0x1154c0,{scrollTop:_0x19def2,scrollHeight:_0x3bcd67,clientHeight:_0x877b7d}=this[_0x2d7c7c(0x1e2)];return _0x3bcd67-_0x19def2-_0x877b7d<=0x5;}[_0x1154c0(0x1df)](){const _0x7350d7=_0x1154c0;this[_0x7350d7(0x1fb)]&&(this[_0x7350d7(0x1ed)]||this[_0x7350d7(0x1e2)][_0x7350d7(0x1d8)]({'top':this[_0x7350d7(0x1e2)][_0x7350d7(0x1f9)],'behavior':_0x7350d7(0x1e8)}),this[_0x7350d7(0x1dd)]=requestAnimationFrame(this[_0x7350d7(0x1df)][_0x7350d7(0x1f5)](this)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x158146=_0x10b2;(function(_0x3479e2,_0x618c55){var _0x278c19=_0x10b2,_0x51e43f=_0x3479e2();while(!![]){try{var _0x24c5a0=-parseInt(_0x278c19(0x1cf))/0x1*(-parseInt(_0x278c19(0x1cc))/0x2)+-parseInt(_0x278c19(0x1d0))/0x3+parseInt(_0x278c19(0x1c4))/0x4*(parseInt(_0x278c19(0x1c7))/0x5)+-parseInt(_0x278c19(0x1c5))/0x6*(-parseInt(_0x278c19(0x1ce))/0x7)+-parseInt(_0x278c19(0x1c3))/0x8*(-parseInt(_0x278c19(0x1cd))/0x9)+-parseInt(_0x278c19(0x1c8))/0xa+-parseInt(_0x278c19(0x1ca))/0xb;if(_0x24c5a0===_0x618c55)break;else _0x51e43f['push'](_0x51e43f['shift']());}catch(_0x13f1a3){_0x51e43f['push'](_0x51e43f['shift']());}}}(_0x494b,0x54c7b));import{Plugin as _0x2428e2}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x35204b}from'./aitogglebutton/aitogglebuttonui.js';import{AIChatBalloon as _0x5876c2}from'../aichat/aichatballoon.js';import{SuggestionsConversion as _0x4de913}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x10b2(_0xed5457,_0x321550){var _0x494b75=_0x494b();return _0x10b2=function(_0x10b2da,_0x4c52c4){_0x10b2da=_0x10b2da-0x1c2;var _0x140560=_0x494b75[_0x10b2da];return _0x140560;},_0x10b2(_0xed5457,_0x321550);}export class AIEditorIntegration extends _0x2428e2{static get[_0x158146(0x1c9)](){return[_0x35204b,_0x5876c2,_0x4de913];}static get[_0x158146(0x1c2)](){var _0x1d7d8a=_0x158146;return _0x1d7d8a(0x1cb);}static get[_0x158146(0x1d1)](){return!0x0;}static get[_0x158146(0x1c6)](){return!0x0;}}function _0x494b(){var _0x5d4ddc=['14814lMDIsf','52094zeoxaz','66949uBBgYd','21117hTYitp','isOfficialPlugin','pluginName','1616WaiAPH','162076GZaGlF','60zoBimZ','isPremiumPlugin','25feJHdP','295630AQTGzN','requires','3218545pUQuHl','AIEditorIntegration','2PmATAh'];_0x494b=function(){return _0x5d4ddc;};return _0x494b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xff1d94=_0x37a6;(function(_0x2a71b0,_0x181f98){const _0x38a9b8=_0x37a6,_0x5b6e74=_0x2a71b0();while(!![]){try{const _0x3217ec=-parseInt(_0x38a9b8(0x18f))/0x1*(parseInt(_0x38a9b8(0x191))/0x2)+parseInt(_0x38a9b8(0x183))/0x3*(-parseInt(_0x38a9b8(0x181))/0x4)+parseInt(_0x38a9b8(0x17f))/0x5+parseInt(_0x38a9b8(0x198))/0x6+-parseInt(_0x38a9b8(0x187))/0x7*(-parseInt(_0x38a9b8(0x192))/0x8)+parseInt(_0x38a9b8(0x18c))/0x9*(parseInt(_0x38a9b8(0x194))/0xa)+-parseInt(_0x38a9b8(0x18b))/0xb;if(_0x3217ec===_0x181f98)break;else _0x5b6e74['push'](_0x5b6e74['shift']());}catch(_0x42a73e){_0x5b6e74['push'](_0x5b6e74['shift']());}}}(_0x1811,0xcf015));import{Plugin as _0x23bf8a}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x2ec84d}from'./toggleaicommand.js';import{ButtonView as _0x2e23fd,MenuBarMenuListItemButtonView as _0x1cd1e3}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x216d0c}from'@ckeditor/ckeditor5-icons';function _0x1811(){const _0x2dcb84=['7006295wvuIkh','editor','2795096leqjqg','locale','3oiEcEZ','toggleAi','AIToggleButtonUI','_createAIUIButton','9238789KGMgdw','execute','menuitemcheckbox','ck-ai-toggle-button','10881222wrQvMc','50211xgQCHx','pluginName','isEnabled','7747keNINy','AI_TOGGLE_BUTTON_LABEL','198SJeUCp','8SWogKV','isOfficialPlugin','490NKcSzN','componentFactory','isOn','menuBar:toggleAi','1850190Bmuxax','init','bind','value','add','requires','listenTo','isPremiumPlugin','get','commands','set'];_0x1811=function(){return _0x2dcb84;};return _0x1811();}import{getTranslation as _0x42bb2c}from'../../aicore/utils/common-translations.js';function _0x37a6(_0x488c16,_0x23c1ab){const _0x18110b=_0x1811();return _0x37a6=function(_0x37a6f5,_0x1be330){_0x37a6f5=_0x37a6f5-0x17c;let _0x19d45c=_0x18110b[_0x37a6f5];return _0x19d45c;},_0x37a6(_0x488c16,_0x23c1ab);}import{AITabs as _0x333bcc}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x23bf8a{static get[_0xff1d94(0x19d)](){return[_0x333bcc];}static get[_0xff1d94(0x18d)](){const _0x4f7c7e=_0xff1d94;return _0x4f7c7e(0x185);}static get[_0xff1d94(0x193)](){return!0x0;}static get[_0xff1d94(0x19f)](){return!0x0;}[_0xff1d94(0x199)](){const _0x54aef6=_0xff1d94,_0x1e71e6=this[_0x54aef6(0x180)];_0x1e71e6[_0x54aef6(0x17d)][_0x54aef6(0x19c)](_0x54aef6(0x184),new _0x2ec84d(_0x1e71e6)),_0x1e71e6['ui'][_0x54aef6(0x195)][_0x54aef6(0x19c)](_0x54aef6(0x184),()=>{const _0x42b2c2=_0x54aef6,_0x52d658=this[_0x42b2c2(0x186)](_0x2e23fd);return _0x52d658[_0x42b2c2(0x17e)]({'tooltip':!0x0,'class':_0x42b2c2(0x18a)}),_0x52d658;}),_0x1e71e6['ui'][_0x54aef6(0x195)][_0x54aef6(0x19c)](_0x54aef6(0x197),()=>{const _0x566d35=_0x54aef6,_0x9fa395=this[_0x566d35(0x186)](_0x1cd1e3);return _0x9fa395[_0x566d35(0x17e)]({'role':_0x566d35(0x189)}),_0x9fa395;});}[_0xff1d94(0x186)](_0x1a1f19){const _0xf2cf94=_0xff1d94,_0x1fb873=this[_0xf2cf94(0x180)],_0x5e0d03=_0x1fb873[_0xf2cf94(0x17d)][_0xf2cf94(0x17c)](_0xf2cf94(0x184)),_0x4232c1=new _0x1a1f19(_0x1fb873[_0xf2cf94(0x182)]);return _0x4232c1[_0xf2cf94(0x17e)]({'label':_0x42bb2c(_0x1fb873[_0xf2cf94(0x182)],_0xf2cf94(0x190)),'icon':_0x216d0c,'isToggleable':!0x0}),_0x4232c1[_0xf2cf94(0x19a)](_0xf2cf94(0x18e))['to'](_0x5e0d03),_0x4232c1[_0xf2cf94(0x19a)](_0xf2cf94(0x196))['to'](_0x5e0d03,_0xf2cf94(0x19b),_0x71e4fd=>!!_0x71e4fd),this[_0xf2cf94(0x19e)](_0x4232c1,_0xf2cf94(0x188),()=>{const _0x4c729e=_0xf2cf94;_0x5e0d03[_0x4c729e(0x188)]();}),_0x4232c1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe503d2=_0x3d09;function _0x3d09(_0x2c990c,_0x1174ad){const _0x37dccc=_0x37dc();return _0x3d09=function(_0x3d09c0,_0x2a1e2a){_0x3d09c0=_0x3d09c0-0x9b;let _0x14bd0c=_0x37dccc[_0x3d09c0];return _0x14bd0c;},_0x3d09(_0x2c990c,_0x1174ad);}(function(_0x14fae1,_0x555b3d){const _0x26eb61=_0x3d09,_0x3c292d=_0x14fae1();while(!![]){try{const _0x5757bf=parseInt(_0x26eb61(0x9f))/0x1*(parseInt(_0x26eb61(0xaa))/0x2)+parseInt(_0x26eb61(0xa9))/0x3+-parseInt(_0x26eb61(0x9e))/0x4+parseInt(_0x26eb61(0xa6))/0x5+-parseInt(_0x26eb61(0xa7))/0x6*(parseInt(_0x26eb61(0xa4))/0x7)+parseInt(_0x26eb61(0xa2))/0x8+-parseInt(_0x26eb61(0x9d))/0x9;if(_0x5757bf===_0x555b3d)break;else _0x3c292d['push'](_0x3c292d['shift']());}catch(_0x1500b1){_0x3c292d['push'](_0x3c292d['shift']());}}}(_0x37dc,0x25ff5));function _0x37dc(){const _0x19eff1=['26339kgSFwb','isVisible','execute','1951008RNplDa','plugins','623moHYJL','view','1441430otzIxk','6774agfEsR','AITabs','52401UDyXbn','4tjXfEC','editor','bind','value','isEnabled','get','1379799FpBQqU','771512DjjvAl'];_0x37dc=function(){return _0x19eff1;};return _0x37dc();}import{Command as _0x9647ac}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x9647ac{constructor(_0xa0fbc1){const _0x3e3b67=_0x3d09;super(_0xa0fbc1);const _0x214806=_0xa0fbc1[_0x3e3b67(0xa3)][_0x3e3b67(0x9c)](_0x3e3b67(0xa8))[_0x3e3b67(0xa5)];this[_0x3e3b67(0xac)](_0x3e3b67(0xad))['to'](_0x214806,_0x3e3b67(0xa0)),this[_0x3e3b67(0x9b)]=!0x0;}[_0xe503d2(0xa1)](){const _0x54896a=_0xe503d2,_0x3b3544=this[_0x54896a(0xab)][_0x54896a(0xa3)][_0x54896a(0x9c)](_0x54896a(0xa8))[_0x54896a(0xa5)];_0x3b3544[_0x54896a(0xa0)]=!_0x3b3544[_0x54896a(0xa0)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2c4289=_0x438c;(function(_0x5bacd8,_0x33288f){var _0x27e8c2=_0x438c,_0x31319=_0x5bacd8();while(!![]){try{var _0x1c1d1e=-parseInt(_0x27e8c2(0xb5))/0x1*(-parseInt(_0x27e8c2(0xbc))/0x2)+-parseInt(_0x27e8c2(0xae))/0x3*(parseInt(_0x27e8c2(0xba))/0x4)+parseInt(_0x27e8c2(0xbd))/0x5*(parseInt(_0x27e8c2(0xb6))/0x6)+parseInt(_0x27e8c2(0xbf))/0x7+parseInt(_0x27e8c2(0xbe))/0x8+parseInt(_0x27e8c2(0xb0))/0x9*(parseInt(_0x27e8c2(0xb8))/0xa)+-parseInt(_0x27e8c2(0xb1))/0xb;if(_0x1c1d1e===_0x33288f)break;else _0x31319['push'](_0x31319['shift']());}catch(_0x52aca5){_0x31319['push'](_0x31319['shift']());}}}(_0x4f85,0x33503));import{Plugin as _0x48c6d7}from'ckeditor5/src/core.js';function _0x4f85(){var _0x3f7079=['ai.quickActions','requires','AIQuickActions','317672tbQhRS','6IInBgp','define','551690nxoToj','pluginName','168qMkRWy','isPremiumPlugin','2MGKlJv','730465sXHTPI','1595648XRlwIW','2808008rFqrPU','isOfficialPlugin','15693GhwXuT','config','9zpwhwJ','7586183ssZqqg'];_0x4f85=function(){return _0x3f7079;};return _0x4f85();}import{AIQuickActionsUI as _0x55ddef}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x49b210}from'./aiquickactionsediting.js';import{AIActions as _0x5b7544}from'../aiactions/aiactions.js';function _0x438c(_0x463cf7,_0x19c266){var _0x4f859a=_0x4f85();return _0x438c=function(_0x438c1a,_0x395250){_0x438c1a=_0x438c1a-0xad;var _0x56041c=_0x4f859a[_0x438c1a];return _0x56041c;},_0x438c(_0x463cf7,_0x19c266);}export class AIQuickActions extends _0x48c6d7{static get[_0x2c4289(0xb3)](){return[_0x55ddef,_0x49b210,_0x5b7544];}static get[_0x2c4289(0xb9)](){var _0xb1f016=_0x2c4289;return _0xb1f016(0xb4);}static get[_0x2c4289(0xad)](){return!0x0;}static get[_0x2c4289(0xbb)](){return!0x0;}constructor(_0x508f18){var _0x4f27b3=_0x2c4289;super(_0x508f18),_0x508f18[_0x4f27b3(0xaf)][_0x4f27b3(0xb7)](_0x4f27b3(0xb2),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x390620=_0x4367;(function(_0x17c541,_0x4c979a){const _0x24b5be=_0x4367,_0x5c6356=_0x17c541();while(!![]){try{const _0x32e3e4=-parseInt(_0x24b5be(0x136))/0x1*(parseInt(_0x24b5be(0x14b))/0x2)+parseInt(_0x24b5be(0x115))/0x3+parseInt(_0x24b5be(0x148))/0x4+parseInt(_0x24b5be(0x130))/0x5+parseInt(_0x24b5be(0x11a))/0x6+-parseInt(_0x24b5be(0x11d))/0x7+-parseInt(_0x24b5be(0x13f))/0x8*(parseInt(_0x24b5be(0x128))/0x9);if(_0x32e3e4===_0x4c979a)break;else _0x5c6356['push'](_0x5c6356['shift']());}catch(_0x3e542b){_0x5c6356['push'](_0x5c6356['shift']());}}}(_0x7ded,0x20c93));function _0x4367(_0x51e995,_0x1e8fc0){const _0x7ded08=_0x7ded();return _0x4367=function(_0x43674f,_0x421e67){_0x43674f=_0x43674f-0x10e;let _0x3eeac9=_0x7ded08[_0x43674f];return _0x3eeac9;},_0x4367(_0x51e995,_0x1e8fc0);}function _0x7ded(){const _0x5cc854=['log','122CVrjrP','getSelectedBlocks','model','ask-ai','chat','getLimitElement','CHAT','change','491904sSICOh','prompt','_handleAIActionsAction','displayedPrompt','ai-quick-actions-plugin-not-found','552582uXzXJu','executeAction','startConversation','330960OOvKqh','execute','type','parent','other','_handleAIChatAction','editor','schema','get','args','actionName','1559835AcWElf','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','icon','AIReviewMode','AIActions','_expandSelectionIfCollapsed','focusPromptInput','isCollapsed','461375WYxDbZ','AITabs','REVIEW','addSelectionToChatContext','setSelection','locale','3814TCVJWT','removeSelectionFromChatContext','AIChatController','isVisible','view','plugins','_handleAIActionsActionLabel','_handleAIReviewAction','label','8rvbsPC','document','sendMessage','ACTION','has','AIChat','activateTab','handleAIReviewAction','selection','956800bwBHlx','activeTab'];_0x7ded=function(){return _0x5cc854;};return _0x7ded();}import{Command as _0x43618}from'ckeditor5/src/core.js';import{CKEditorError as _0x3edd68,first as _0x5e7a82}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x975839}from'./aiquickactionsui.js';import{getTranslation as _0x1eb2f5}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x43618{[_0x390620(0x11e)](_0x3c4ef2){const _0x180e9f=_0x390620;switch(this[_0x180e9f(0x12d)](),_0x3c4ef2[_0x180e9f(0x11f)]){case _0x975839[_0x180e9f(0x113)]:if(!this[_0x180e9f(0x123)][_0x180e9f(0x13b)][_0x180e9f(0x143)](_0x180e9f(0x144))){const _0x396ff7=_0x1eb2f5(this[_0x180e9f(0x123)][_0x180e9f(0x135)],_0x180e9f(0x129),_0x180e9f(0x144));throw new _0x3edd68(_0x180e9f(0x119),this[_0x180e9f(0x123)],{'errorMessage':_0x396ff7});}this[_0x180e9f(0x122)](_0x3c4ef2);break;case _0x975839[_0x180e9f(0x142)]:if(!this[_0x180e9f(0x123)][_0x180e9f(0x13b)][_0x180e9f(0x143)](_0x180e9f(0x12c))){const _0x54c13f=_0x1eb2f5(this[_0x180e9f(0x123)][_0x180e9f(0x135)],_0x180e9f(0x129),_0x180e9f(0x12c));throw new _0x3edd68(_0x180e9f(0x119),this[_0x180e9f(0x123)],{'errorMessage':_0x54c13f});}this[_0x180e9f(0x117)](_0x3c4ef2);break;case _0x975839[_0x180e9f(0x132)]:if(!this[_0x180e9f(0x123)][_0x180e9f(0x13b)][_0x180e9f(0x143)](_0x180e9f(0x12b))){const _0x1776dd=_0x1eb2f5(this[_0x180e9f(0x123)][_0x180e9f(0x135)],_0x180e9f(0x129),_0x180e9f(0x12b));throw new _0x3edd68(_0x180e9f(0x119),this[_0x180e9f(0x123)],{'errorMessage':_0x1776dd});}this[_0x180e9f(0x13d)](_0x3c4ef2);}}async[_0x390620(0x122)](_0x4c3e4d){const _0x3d7fb5=_0x390620,_0x3b1d27=this[_0x3d7fb5(0x123)][_0x3d7fb5(0x13b)][_0x3d7fb5(0x125)](_0x3d7fb5(0x144)),_0xc4fb0=this[_0x3d7fb5(0x123)][_0x3d7fb5(0x13b)][_0x3d7fb5(0x125)](_0x3d7fb5(0x138)),_0x5f487f=this[_0x3d7fb5(0x123)][_0x3d7fb5(0x13b)][_0x3d7fb5(0x125)](_0x3d7fb5(0x131))[_0x3d7fb5(0x13a)];if(_0x5f487f[_0x3d7fb5(0x139)]||(_0x5f487f[_0x3d7fb5(0x139)]=!0x0),_0x3d7fb5(0x111)!==_0x5f487f[_0x3d7fb5(0x149)]&&_0x5f487f[_0x3d7fb5(0x145)](_0x3d7fb5(0x111)),_0x3d7fb5(0x110)===_0x4c3e4d['id'])_0xc4fb0[_0x3d7fb5(0x137)](),await _0x3b1d27[_0x3d7fb5(0x133)](),_0x3b1d27[_0x3d7fb5(0x12e)]();else await _0x3b1d27[_0x3d7fb5(0x11c)](),_0xc4fb0[_0x3d7fb5(0x137)](),await _0x3b1d27[_0x3d7fb5(0x133)](),_0x3b1d27[_0x3d7fb5(0x12e)](),await _0x3b1d27[_0x3d7fb5(0x141)]({'message':_0x4c3e4d[_0x3d7fb5(0x116)]||_0x4c3e4d[_0x3d7fb5(0x118)],'attributes':{'quickActionData':{'id':_0x4c3e4d['id']},'displayedPrompt':_0x4c3e4d[_0x3d7fb5(0x118)]}});}[_0x390620(0x12d)](){const _0x2e27c8=_0x390620,_0x44cdfa=this[_0x2e27c8(0x123)],_0x55292a=_0x44cdfa[_0x2e27c8(0x10f)][_0x2e27c8(0x140)][_0x2e27c8(0x147)];if(!_0x55292a[_0x2e27c8(0x12f)])return;const _0x464050=_0x5e7a82(_0x55292a[_0x2e27c8(0x10e)]())||_0x44cdfa[_0x2e27c8(0x10f)][_0x2e27c8(0x124)][_0x2e27c8(0x112)](_0x55292a);_0x44cdfa[_0x2e27c8(0x10f)][_0x2e27c8(0x114)](_0x3d3518=>{const _0x3fd13d=_0x2e27c8;_0x3d3518[_0x3fd13d(0x134)](_0x464050,'in');});}[_0x390620(0x13c)](_0x467a24){const _0x3e34b8=_0x390620;return _0x467a24[_0x3e34b8(0x120)]?.[_0x3e34b8(0x13e)]&&_0x3e34b8(0x121)!==_0x467a24[_0x3e34b8(0x120)]?.['id']?_0x467a24[_0x3e34b8(0x120)][_0x3e34b8(0x13e)]+':\x20'+_0x467a24[_0x3e34b8(0x118)]:_0x467a24[_0x3e34b8(0x118)];}async[_0x390620(0x117)](_0x48e939){const _0x58adf8=_0x390620,_0x50e072=this[_0x58adf8(0x123)][_0x58adf8(0x13b)][_0x58adf8(0x125)](_0x58adf8(0x12c)),_0x1f432c=_0x48e939[_0x58adf8(0x116)]?{'userMessage':_0x48e939[_0x58adf8(0x116)],'model':_0x48e939[_0x58adf8(0x10f)]}:{'actionName':_0x48e939[_0x58adf8(0x127)]||_0x48e939['id'],'args':_0x48e939[_0x58adf8(0x126)]},_0x8e24a5=this[_0x58adf8(0x13c)](_0x48e939);await _0x50e072[_0x58adf8(0x11b)](_0x1f432c,_0x8e24a5,_0x48e939[_0x58adf8(0x12a)]);}async[_0x390620(0x13d)](_0x19a49b){const _0x546273=_0x390620;console[_0x546273(0x14a)](_0x546273(0x146),_0x19a49b);}}
|